@kong-ui-public/entities-shared 3.64.0 → 3.65.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,8 +1,8 @@
1
- import { defineComponent as X, resolveComponent as x, openBlock as c, createBlock as I, createSlots as fe, withCtx as m, createVNode as E, unref as d, normalizeClass as ne, createElementBlock as T, normalizeStyle as bn, resolveDynamicComponent as ve, createCommentVNode as w, createElementVNode as K, toDisplayString as $, Fragment as ae, renderList as ue, computed as A, createTextVNode as L, useId as kn, useSlots as Ue, ref as q, renderSlot as U, normalizeProps as Cn, guardReactiveProps as Tn, mergeProps as Fe, useCssVars as qt, watch as pe, inject as Ut, watchEffect as $n, onMounted as De, onBeforeMount as ut, withModifiers as Re, Teleport as Dt, onUnmounted as Sn, withDirectives as Te, vShow as $e, withKeys as jt, warn as An, useTemplateRef as In, onBeforeUnmount as En } from "vue";
1
+ import { defineComponent as X, resolveComponent as N, openBlock as c, createBlock as I, createSlots as fe, withCtx as m, createVNode as E, unref as d, normalizeClass as ne, createElementBlock as T, normalizeStyle as bn, resolveDynamicComponent as ve, createCommentVNode as R, createElementVNode as K, toDisplayString as $, Fragment as ae, renderList as ue, computed as A, createTextVNode as L, useId as kn, useSlots as Ue, ref as q, renderSlot as U, normalizeProps as Cn, guardReactiveProps as Tn, mergeProps as Fe, useCssVars as qt, watch as pe, inject as Ut, watchEffect as $n, onMounted as De, onBeforeMount as ut, withModifiers as Re, Teleport as Dt, onUnmounted as Sn, withDirectives as Te, vShow as $e, withKeys as jt, warn as An, useTemplateRef as In, onBeforeUnmount as En } from "vue";
2
2
  import { CloseIcon as zt, LanguageShellIcon as ht, LanguageBashIcon as bt, InfoIcon as Vt, BookIcon as Yt, AddIcon as Ht, FilterIcon as kt, ChevronDownIcon as _n, CopyIcon as Wt, VisibilityOffIcon as On, VisibilityIcon as Rn } from "@kong/icons";
3
3
  import { createReusableTemplate as wn } from "@vueuse/core";
4
4
  import { c as V, _ as ie, S as Bn, C as J, a as we, b as ke, E as Kn, I as Nn, d as je, D as xn, e as Fn, f as Pn, g as se, P as Ln, h as Mn } from "./_plugin-vue_export-helper-U0Lgy2iX.js";
5
- import { F as bs, i as ks, j as Cs } from "./_plugin-vue_export-helper-U0Lgy2iX.js";
5
+ import { F as ks, i as Cs, j as Ts } from "./_plugin-vue_export-helper-U0Lgy2iX.js";
6
6
  import { BadgeMethodAppearances as qn, KExternalLink as Un, KButton as Ct, KTruncate as Dn, KBadge as jn } from "@kong/kongponents";
7
7
  import { createHighlighterCoreSync as zn } from "@shikijs/core";
8
8
  import { createJavaScriptRegexEngine as Vn } from "@shikijs/engine-javascript";
@@ -15,7 +15,7 @@ import Xn from "@shikijs/themes/material-theme-darker";
15
15
  import Qn from "@shikijs/themes/catppuccin-latte";
16
16
  import { useRouter as Zn } from "vue-router";
17
17
  var ea = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e.Secret = "secret", e.RedisConfiguration = "redis configuration", e))(ea || {}), ta = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ta || {});
18
- const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
18
+ const Ml = ["json", "yaml", "terraform", "deck"], Tt = [
19
19
  "primary",
20
20
  "secondary"
21
21
  ], na = "#ecfcff", aa = "#f1f0ff", ia = "#f9fafb", ra = "#ecfffb", oa = "#6f28ff", la = "#3a3f51", $t = "#00abd2", sa = "#6f28ff", ca = "#0044f4", ua = "#6c7489", da = "#3a3f51", fa = "#afb7c5", pa = "#0044f4", St = "#007d60", ma = "#828a9e", Gt = "16px", Ee = "20px", ya = "24px", At = "8px", It = "12px", ga = {
@@ -61,14 +61,14 @@ const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
61
61
  }
62
62
  };
63
63
  return (r, o) => {
64
- const l = x("KButton"), f = x("KCard"), u = x("router-link");
64
+ const l = N("KButton"), f = N("KCard"), u = N("router-link");
65
65
  return c(), I(f, {
66
66
  class: "kong-ui-onboarding-card",
67
67
  "data-testid": "onboarding-card"
68
68
  }, fe({
69
69
  title: m(() => [
70
70
  K("span", ga, $(e.title), 1),
71
- e.subtitle ? (c(), T("div", va, $(e.subtitle), 1)) : w("", !0)
71
+ e.subtitle ? (c(), T("div", va, $(e.subtitle), 1)) : R("", !0)
72
72
  ]),
73
73
  default: m(() => [
74
74
  E(d(n), null, {
@@ -90,10 +90,10 @@ const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
90
90
  decorative: "",
91
91
  size: `var(--kui-icon-size-50, ${d(ya)})`
92
92
  }, null, 8, ["color", "size"]))
93
- ], 4)) : w("", !0),
93
+ ], 4)) : R("", !0),
94
94
  K("div", ha, [
95
95
  K("div", ba, $(s.title), 1),
96
- s.description ? (c(), T("div", ka, $(s.description), 1)) : w("", !0)
96
+ s.description ? (c(), T("div", ka, $(s.description), 1)) : R("", !0)
97
97
  ]),
98
98
  s.appendIcon ? (c(), I(ve(s.appendIcon), {
99
99
  key: 1,
@@ -101,7 +101,7 @@ const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
101
101
  color: `var(--kui-icon-color-neutral, ${d(ma)})`,
102
102
  decorative: "",
103
103
  size: `var(--kui-icon-size-30, ${d(Gt)})`
104
- }, null, 8, ["color", "size"])) : w("", !0)
104
+ }, null, 8, ["color", "size"])) : R("", !0)
105
105
  ]),
106
106
  _: 2
107
107
  }, 1032, ["class"])
@@ -173,7 +173,7 @@ const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
173
173
  ]), 1024);
174
174
  };
175
175
  }
176
- }), Ml = /* @__PURE__ */ ie(Aa, [["__scopeId", "data-v-10c7d0b0"]]), Ia = {
176
+ }), ql = /* @__PURE__ */ ie(Aa, [["__scopeId", "data-v-10c7d0b0"]]), Ia = {
177
177
  key: 0,
178
178
  class: "config-card-fieldset-title"
179
179
  }, Ea = /* @__PURE__ */ X({
@@ -203,7 +203,7 @@ const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
203
203
  default: m(() => [
204
204
  e.isArrayItem ? (c(), T("legend", Ia, [
205
205
  K("b", null, $(l.value), 1)
206
- ])) : w("", !0),
206
+ ])) : R("", !0),
207
207
  (c(!0), T(ae, null, ue(Object.keys(o.value), (s, g) => (c(), I(Xt, {
208
208
  key: `${i.value}-property-${g}`,
209
209
  item: {
@@ -216,7 +216,10 @@ const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
216
216
  _: 1
217
217
  }, 8, ["class"]));
218
218
  }
219
- }), Jt = /* @__PURE__ */ ie(Ea, [["__scopeId", "data-v-5baf64ca"]]), _a = /* @__PURE__ */ X({
219
+ }), Jt = /* @__PURE__ */ ie(Ea, [["__scopeId", "data-v-5baf64ca"]]), _a = {
220
+ key: 3,
221
+ class: "navigation-subtitle"
222
+ }, Oa = /* @__PURE__ */ X({
220
223
  __name: "InternalLinkItem",
221
224
  props: {
222
225
  item: {
@@ -228,22 +231,37 @@ const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
228
231
  setup(e) {
229
232
  const { i18n: { t } } = V.useI18n();
230
233
  return (n, a) => {
231
- const i = x("KButton");
234
+ const i = N("router-link"), r = N("KButton"), o = N("KSkeleton");
232
235
  return c(), T("div", null, [
233
- E(i, {
236
+ e.item.to ? (c(), I(i, {
237
+ key: 0,
238
+ class: "navigation-link",
239
+ to: e.item.to
240
+ }, {
241
+ default: m(() => [
242
+ L($(e.item.value || d(t)("baseConfigCard.commonFields.link")), 1)
243
+ ]),
244
+ _: 1
245
+ }, 8, ["to"])) : (c(), I(r, {
246
+ key: 1,
234
247
  appearance: "tertiary",
235
248
  class: "navigation-button",
236
- onClick: a[0] || (a[0] = (r) => n.$emit("navigation-click", e.item))
249
+ onClick: a[0] || (a[0] = (l) => n.$emit("navigation-click", e.item))
237
250
  }, {
238
251
  default: m(() => [
239
252
  L($(e.item.value || d(t)("baseConfigCard.commonFields.link")), 1)
240
253
  ]),
241
254
  _: 1
242
- })
255
+ })),
256
+ e.item.subtitleLoading ? (c(), I(o, {
257
+ key: 2,
258
+ "data-testid": "navigation-subtitle-loader",
259
+ type: "spinner"
260
+ })) : e.item.subtitle ? (c(), T("div", _a, $(e.item.subtitle), 1)) : R("", !0)
243
261
  ]);
244
262
  };
245
263
  }
246
- }), Oa = /* @__PURE__ */ ie(_a, [["__scopeId", "data-v-2feb8c2e"]]), Ra = /* @__PURE__ */ X({
264
+ }), Ra = /* @__PURE__ */ ie(Oa, [["__scopeId", "data-v-6996418f"]]), wa = /* @__PURE__ */ X({
247
265
  __name: "StatusBadge",
248
266
  props: {
249
267
  status: {
@@ -254,7 +272,7 @@ const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
254
272
  setup(e) {
255
273
  const { i18n: { t } } = V.useI18n();
256
274
  return (n, a) => {
257
- const i = x("KBadge");
275
+ const i = N("KBadge");
258
276
  return c(), I(i, {
259
277
  appearance: e.status ? "success" : "neutral"
260
278
  }, {
@@ -267,7 +285,7 @@ const Ll = ["json", "yaml", "terraform", "deck"], Tt = [
267
285
  }
268
286
  });
269
287
  let We = null;
270
- function wa() {
288
+ function Ba() {
271
289
  return We || (We = zn({
272
290
  langs: [Yn, Hn, Wn, Gn, Jn],
273
291
  themes: [Xn, Qn],
@@ -280,21 +298,21 @@ function wa() {
280
298
  }
281
299
  })), We;
282
300
  }
283
- function Ba(e, t) {
284
- return wa().codeToHtml(e, t);
301
+ function Ka(e, t) {
302
+ return Ba().codeToHtml(e, t);
285
303
  }
286
304
  function Ae({ codeElement: e, code: t, language: n }) {
287
- t.length > Bn || (e.innerHTML = Ba(t, {
305
+ t.length > Bn || (e.innerHTML = Ka(t, {
288
306
  lang: n,
289
307
  themes: { light: "catppuccin-latte", dark: "material-theme-darker" },
290
308
  structure: "inline"
291
309
  }));
292
310
  }
293
- const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["data-testid"], Pa = { key: 1 }, La = ["data-testid"], Ma = ["data-testid"], qa = ["data-testid"], Ua = ["data-testid"], Da = {
311
+ const Na = ["data-testid"], xa = ["data-testid"], Fa = ["data-testid"], Pa = ["data-testid"], La = { key: 1 }, Ma = ["data-testid"], qa = ["data-testid"], Ua = ["data-testid"], Da = ["data-testid"], ja = {
294
312
  name: "ConfigCardItem",
295
- components: { JsonCardItem: Jt, StatusBadge: Ra, InternalLinkItem: Oa }
296
- }, ja = /* @__PURE__ */ X({
297
- ...Da,
313
+ components: { JsonCardItem: Jt, StatusBadge: wa, InternalLinkItem: Ra }
314
+ }, za = /* @__PURE__ */ X({
315
+ ...ja,
298
316
  props: {
299
317
  item: {
300
318
  type: Object,
@@ -445,9 +463,9 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
445
463
  text: n.item.value
446
464
  };
447
465
  }
448
- }), k = q(), N = q(), { isTruncated: v } = V.useTruncationDetector(k), { isTruncated: b } = V.useTruncationDetector(N);
466
+ }), k = q(), x = q(), { isTruncated: v } = V.useTruncationDetector(k), { isTruncated: b } = V.useTruncationDetector(x);
449
467
  return (B, D) => {
450
- const Q = x("KTooltip"), _ = x("KLabel"), O = x("KBadge"), S = x("KCopy");
468
+ const Q = N("KTooltip"), _ = N("KLabel"), O = N("KBadge"), S = N("KCopy");
451
469
  return c(), T("div", {
452
470
  class: ne(["config-card-details-row", { "json-array-item": p.value, "json-item": g.value && u.value }])
453
471
  }, [
@@ -482,13 +500,13 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
482
500
  U(B.$slots, "label-tooltip", {}, () => [
483
501
  L($(e.item.tooltip), 1)
484
502
  ], !0)
485
- ], 8, Na)
503
+ ], 8, xa)
486
504
  ]),
487
505
  key: "0"
488
506
  } : void 0
489
507
  ]), 1024)
490
508
  ], !0)
491
- ], 10, Ka),
509
+ ], 10, Na),
492
510
  K("div", {
493
511
  class: ne(["config-card-details-value", { "json-item-value": g.value && u.value, "slim-value": e.slim }]),
494
512
  "data-testid": `${e.item.key}-property-value`
@@ -496,7 +514,7 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
496
514
  U(B.$slots, e.item.key, {
497
515
  rowValue: e.item.value
498
516
  }, () => [
499
- u.value ? (c(), T("div", Pa, [
517
+ u.value ? (c(), T("div", La, [
500
518
  (c(), I(ve(y.value.tag), Cn(Tn(y.value.attrs)), {
501
519
  default: m(() => [
502
520
  y.value.additionalComponent === "KBadge" ? (c(), T("div", {
@@ -515,7 +533,7 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
515
533
  ]),
516
534
  _: 2
517
535
  }, 1032, ["data-testid", "tooltip"]))), 128))
518
- ], 8, La)) : y.value.additionalComponent === "KCopy" ? (c(), T("div", {
536
+ ], 8, Ma)) : y.value.additionalComponent === "KCopy" ? (c(), T("div", {
519
537
  key: 1,
520
538
  class: "copy-uuid-array",
521
539
  "data-testid": `${e.item.key}-copy-uuid-array`
@@ -525,7 +543,7 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
525
543
  "data-testid": `${e.item.key}-copy-uuid-${P}`,
526
544
  text: M
527
545
  }), null, 16, ["data-testid", "text"]))), 128))
528
- ], 8, Ma)) : y.value.additionalComponent === "KMethodBadge" ? (c(), T("div", {
546
+ ], 8, qa)) : y.value.additionalComponent === "KMethodBadge" ? (c(), T("div", {
529
547
  key: 2,
530
548
  class: "method-badge-array",
531
549
  "data-testid": `${e.item.key}-badge-methods`
@@ -541,7 +559,7 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
541
559
  ]),
542
560
  _: 2
543
561
  }, 1032, ["appearance", "data-testid"]))), 128))
544
- ], 8, qa)) : y.value.additionalComponent === "JsonCardItem" ? (c(), T("div", {
562
+ ], 8, Ua)) : y.value.additionalComponent === "JsonCardItem" ? (c(), T("div", {
545
563
  key: 3,
546
564
  "data-testid": `${n.item.key}-json-array-content`
547
565
  }, [
@@ -551,14 +569,14 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
551
569
  "is-array-item": "",
552
570
  item: M
553
571
  }, null, 8, ["index", "item"]))), 128))
554
- ], 8, Ua)) : (c(), I(Q, {
572
+ ], 8, Da)) : (c(), I(Q, {
555
573
  key: 4,
556
574
  text: d(b) ? e.item.value : ""
557
575
  }, {
558
576
  default: m(() => [
559
577
  K("span", {
560
578
  ref_key: "textContent",
561
- ref: N,
579
+ ref: x,
562
580
  class: ne(["attrs-data-text", { truncated: e.truncated }])
563
581
  }, $(y.value.text), 3)
564
582
  ]),
@@ -570,13 +588,13 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
570
588
  ])) : (c(), T("div", {
571
589
  key: 0,
572
590
  "data-testid": `${e.item.key}-no-value`
573
- }, " – ", 8, Fa))
591
+ }, " – ", 8, Pa))
574
592
  ], !0)
575
- ], 10, xa)
593
+ ], 10, Fa)
576
594
  ], 2);
577
595
  };
578
596
  }
579
- }), Xt = /* @__PURE__ */ ie(ja, [["__scopeId", "data-v-9dbcd619"]]), za = { class: "json-config config-card-code-block" }, Va = {
597
+ }), Xt = /* @__PURE__ */ ie(za, [["__scopeId", "data-v-9dbcd619"]]), Va = { class: "json-config config-card-code-block" }, Ya = {
580
598
  key: 0,
581
599
  class: "json-endpoint"
582
600
  }, Qt = /* @__PURE__ */ X({
@@ -622,9 +640,9 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
622
640
  return i.length < 2 ? 0 : 41 + (t.requestMethod === "post" ? i[i.length - 1] : i[i.length - 2]).length;
623
641
  });
624
642
  return (i, r) => {
625
- const o = x("KBadge"), l = x("KCodeBlock");
626
- return c(), T("div", za, [
627
- e.fetcherUrl ? (c(), T("div", Va, [
643
+ const o = N("KBadge"), l = N("KCodeBlock");
644
+ return c(), T("div", Va, [
645
+ e.fetcherUrl ? (c(), T("div", Ya, [
628
646
  E(o, { appearance: e.requestMethod }, {
629
647
  default: m(() => [
630
648
  L($(e.requestMethod), 1)
@@ -639,7 +657,7 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
639
657
  "single-line": "",
640
658
  theme: "dark"
641
659
  }, null, 8, ["code", "max-height"])
642
- ])) : w("", !0),
660
+ ])) : R("", !0),
643
661
  e.entityRecord ? (c(), I(l, {
644
662
  key: 1,
645
663
  id: "json-codeblock",
@@ -651,7 +669,7 @@ const Ka = ["data-testid"], Na = ["data-testid"], xa = ["data-testid"], Fa = ["d
651
669
  "max-height": d(we),
652
670
  theme: "dark",
653
671
  onCodeBlockRender: d(Ae)
654
- }, null, 8, ["class", "code", "copy-code", "max-height", "onCodeBlockRender"])) : w("", !0)
672
+ }, null, 8, ["class", "code", "copy-code", "max-height", "onCodeBlockRender"])) : R("", !0)
655
673
  ]);
656
674
  };
657
675
  }
@@ -705,16 +723,16 @@ function ze(e, t) {
705
723
  representTagName: t.representTagName ?? (() => e)
706
724
  };
707
725
  }
708
- var Ya = oe("tag:yaml.org,2002:str", {
726
+ var Ha = oe("tag:yaml.org,2002:str", {
709
727
  resolve: (e) => e,
710
728
  identify: (e) => typeof e == "string"
711
- }), Ha = [
729
+ }), Wa = [
712
730
  "",
713
731
  "~",
714
732
  "null",
715
733
  "Null",
716
734
  "NULL"
717
- ], Wa = oe("tag:yaml.org,2002:null", {
735
+ ], Ga = oe("tag:yaml.org,2002:null", {
718
736
  implicit: !0,
719
737
  implicitFirstChars: [
720
738
  "",
@@ -722,22 +740,22 @@ var Ya = oe("tag:yaml.org,2002:str", {
722
740
  "n",
723
741
  "N"
724
742
  ],
725
- resolve: (e) => Ha.indexOf(e) !== -1 ? null : W,
743
+ resolve: (e) => Wa.indexOf(e) !== -1 ? null : W,
726
744
  identify: (e) => e === null,
727
745
  represent: () => "null"
728
- }), Ga = oe("tag:yaml.org,2002:null", {
746
+ }), Ja = oe("tag:yaml.org,2002:null", {
729
747
  implicit: !0,
730
748
  implicitFirstChars: ["n"],
731
749
  resolve: (e, t) => e === "null" || t && e === "" ? null : W,
732
750
  identify: (e) => e === null,
733
751
  represent: () => "null"
734
- }), Ja = [
752
+ }), Xa = [
735
753
  "",
736
754
  "~",
737
755
  "null",
738
756
  "Null",
739
757
  "NULL"
740
- ], Xa = oe("tag:yaml.org,2002:null", {
758
+ ], Qa = oe("tag:yaml.org,2002:null", {
741
759
  implicit: !0,
742
760
  implicitFirstChars: [
743
761
  "",
@@ -745,18 +763,18 @@ var Ya = oe("tag:yaml.org,2002:str", {
745
763
  "n",
746
764
  "N"
747
765
  ],
748
- resolve: (e) => Ja.indexOf(e) !== -1 ? null : W,
766
+ resolve: (e) => Xa.indexOf(e) !== -1 ? null : W,
749
767
  identify: (e) => e === null,
750
768
  represent: () => "null"
751
- }), Qa = [
769
+ }), Za = [
752
770
  "true",
753
771
  "True",
754
772
  "TRUE"
755
- ], Za = [
773
+ ], ei = [
756
774
  "false",
757
775
  "False",
758
776
  "FALSE"
759
- ], ei = oe("tag:yaml.org,2002:bool", {
777
+ ], ti = oe("tag:yaml.org,2002:bool", {
760
778
  implicit: !0,
761
779
  implicitFirstChars: [
762
780
  "t",
@@ -764,16 +782,16 @@ var Ya = oe("tag:yaml.org,2002:str", {
764
782
  "f",
765
783
  "F"
766
784
  ],
767
- resolve: (e) => Qa.indexOf(e) !== -1 ? !0 : Za.indexOf(e) !== -1 ? !1 : W,
785
+ resolve: (e) => Za.indexOf(e) !== -1 ? !0 : ei.indexOf(e) !== -1 ? !1 : W,
768
786
  identify: (e) => Object.prototype.toString.call(e) === "[object Boolean]",
769
787
  represent: (e) => e ? "true" : "false"
770
- }), ti = ["true"], ni = ["false"], ai = oe("tag:yaml.org,2002:bool", {
788
+ }), ni = ["true"], ai = ["false"], ii = oe("tag:yaml.org,2002:bool", {
771
789
  implicit: !0,
772
790
  implicitFirstChars: ["t", "f"],
773
- resolve: (e) => ti.indexOf(e) !== -1 ? !0 : ni.indexOf(e) !== -1 ? !1 : W,
791
+ resolve: (e) => ni.indexOf(e) !== -1 ? !0 : ai.indexOf(e) !== -1 ? !1 : W,
774
792
  identify: (e) => Object.prototype.toString.call(e) === "[object Boolean]",
775
793
  represent: (e) => e ? "true" : "false"
776
- }), ii = [
794
+ }), ri = [
777
795
  "true",
778
796
  "True",
779
797
  "TRUE",
@@ -785,7 +803,7 @@ var Ya = oe("tag:yaml.org,2002:str", {
785
803
  "on",
786
804
  "On",
787
805
  "ON"
788
- ], ri = [
806
+ ], oi = [
789
807
  "false",
790
808
  "False",
791
809
  "FALSE",
@@ -797,7 +815,7 @@ var Ya = oe("tag:yaml.org,2002:str", {
797
815
  "off",
798
816
  "Off",
799
817
  "OFF"
800
- ], oi = oe("tag:yaml.org,2002:bool", {
818
+ ], li = oe("tag:yaml.org,2002:bool", {
801
819
  implicit: !0,
802
820
  implicitFirstChars: [
803
821
  "y",
@@ -811,19 +829,19 @@ var Ya = oe("tag:yaml.org,2002:str", {
811
829
  "o",
812
830
  "O"
813
831
  ],
814
- resolve: (e) => ii.indexOf(e) !== -1 ? !0 : ri.indexOf(e) !== -1 ? !1 : W,
832
+ resolve: (e) => ri.indexOf(e) !== -1 ? !0 : oi.indexOf(e) !== -1 ? !1 : W,
815
833
  identify: (e) => Object.prototype.toString.call(e) === "[object Boolean]",
816
834
  represent: (e) => e ? "true" : "false"
817
- }), li = /* @__PURE__ */ new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"), si = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
818
- function ci(e) {
835
+ }), si = /* @__PURE__ */ new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$"), ci = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
836
+ function ui(e) {
819
837
  let t = e, n = 1;
820
838
  return (t[0] === "-" || t[0] === "+") && (t[0] === "-" && (n = -1), t = t.slice(1)), t.startsWith("0b") ? n * parseInt(t.slice(2), 2) : t.startsWith("0o") ? n * parseInt(t.slice(2), 8) : t.startsWith("0x") ? n * parseInt(t.slice(2), 16) : n * parseInt(t, 10);
821
839
  }
822
- function ui(e, t) {
840
+ function di(e, t) {
823
841
  if (t) {
824
- if (!si.test(e)) return W;
825
- } else if (!li.test(e)) return W;
826
- const n = ci(e);
842
+ if (!ci.test(e)) return W;
843
+ } else if (!si.test(e)) return W;
844
+ const n = ui(e);
827
845
  return Number.isFinite(n) ? n : W;
828
846
  }
829
847
  var Zt = oe("tag:yaml.org,2002:int", {
@@ -833,29 +851,29 @@ var Zt = oe("tag:yaml.org,2002:int", {
833
851
  "+",
834
852
  ..."0123456789"
835
853
  ],
836
- resolve: ui,
854
+ resolve: di,
837
855
  identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf("e") < 0,
838
856
  represent: (e) => e.toString(10)
839
- }), di = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)$"), fi = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
840
- function pi(e) {
857
+ }), fi = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)$"), pi = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
858
+ function mi(e) {
841
859
  let t = e, n = 1;
842
860
  return (t[0] === "-" || t[0] === "+") && (t[0] === "-" && (n = -1), t = t.slice(1)), t.startsWith("0b") ? n * parseInt(t.slice(2), 2) : t.startsWith("0o") ? n * parseInt(t.slice(2), 8) : t.startsWith("0x") ? n * parseInt(t.slice(2), 16) : n * parseInt(t, 10);
843
861
  }
844
- function mi(e, t) {
862
+ function yi(e, t) {
845
863
  if (t) {
846
- if (!fi.test(e)) return W;
847
- } else if (!di.test(e)) return W;
848
- const n = pi(e);
864
+ if (!pi.test(e)) return W;
865
+ } else if (!fi.test(e)) return W;
866
+ const n = mi(e);
849
867
  return Number.isFinite(n) ? n : W;
850
868
  }
851
- var yi = oe("tag:yaml.org,2002:int", {
869
+ var gi = oe("tag:yaml.org,2002:int", {
852
870
  implicit: !0,
853
871
  implicitFirstChars: ["-", ..."0123456789"],
854
- resolve: mi,
872
+ resolve: yi,
855
873
  identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf("e") < 0,
856
874
  represent: (e) => e.toString(10)
857
- }), gi = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");
858
- function vi(e) {
875
+ }), vi = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");
876
+ function hi(e) {
859
877
  let t = e.replace(/_/g, ""), n = 1;
860
878
  if ((t[0] === "-" || t[0] === "+") && (t[0] === "-" && (n = -1), t = t.slice(1)), t.startsWith("0b")) return n * parseInt(t.slice(2), 2);
861
879
  if (t.startsWith("0x")) return n * parseInt(t.slice(2), 16);
@@ -866,9 +884,9 @@ function vi(e) {
866
884
  }
867
885
  return t !== "0" && t[0] === "0" ? n * parseInt(t, 8) : n * parseInt(t, 10);
868
886
  }
869
- function hi(e) {
870
- if (!gi.test(e)) return W;
871
- const t = vi(e);
887
+ function bi(e) {
888
+ if (!vi.test(e)) return W;
889
+ const t = hi(e);
872
890
  return Number.isFinite(t) ? t : W;
873
891
  }
874
892
  var Ze = oe("tag:yaml.org,2002:int", {
@@ -878,20 +896,20 @@ var Ze = oe("tag:yaml.org,2002:int", {
878
896
  "+",
879
897
  ..."0123456789"
880
898
  ],
881
- resolve: hi,
899
+ resolve: bi,
882
900
  identify: (e) => Number.isInteger(e) && !Object.is(e, -0) && e.toString(10).indexOf("e") < 0,
883
901
  represent: (e) => e.toString(10)
884
- }), bi = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), ki = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
885
- function Ci(e) {
886
- if (!bi.test(e)) return W;
902
+ }), ki = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), Ci = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
903
+ function Ti(e) {
904
+ if (!ki.test(e)) return W;
887
905
  let t = e.toLowerCase();
888
906
  const n = t[0] === "-" ? -1 : 1;
889
907
  if ("+-".includes(t[0]) && (t = t.slice(1)), t === ".inf") return n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
890
908
  if (t === ".nan") return NaN;
891
909
  const a = n * parseFloat(t);
892
- return Number.isFinite(a) || ki.test(e) ? a : W;
910
+ return Number.isFinite(a) || Ci.test(e) ? a : W;
893
911
  }
894
- function Ti(e) {
912
+ function $i(e) {
895
913
  if (isNaN(e)) return ".nan";
896
914
  if (e === Number.POSITIVE_INFINITY) return ".inf";
897
915
  if (e === Number.NEGATIVE_INFINITY) return "-.inf";
@@ -907,13 +925,13 @@ var en = oe("tag:yaml.org,2002:float", {
907
925
  ".",
908
926
  ..."0123456789"
909
927
  ],
910
- resolve: Ci,
928
+ resolve: Ti,
911
929
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
912
- represent: Ti
913
- }), $i = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"), Si = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
914
- function Ai(e, t) {
930
+ represent: $i
931
+ }), Si = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$"), Ai = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
932
+ function Ii(e, t) {
915
933
  if (t) {
916
- if (!Si.test(e)) return W;
934
+ if (!Ai.test(e)) return W;
917
935
  let a = e.toLowerCase();
918
936
  const i = a[0] === "-" ? -1 : 1;
919
937
  if ("+-".includes(a[0]) && (a = a.slice(1)), a === ".inf") return i === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
@@ -921,11 +939,11 @@ function Ai(e, t) {
921
939
  const r = i * parseFloat(a);
922
940
  return Number.isFinite(r) ? r : W;
923
941
  }
924
- if (!$i.test(e)) return W;
942
+ if (!Si.test(e)) return W;
925
943
  const n = Number(e);
926
944
  return Number.isFinite(n) ? n : W;
927
945
  }
928
- function Ii(e) {
946
+ function Ei(e) {
929
947
  if (isNaN(e)) return ".nan";
930
948
  if (e === Number.POSITIVE_INFINITY) return ".inf";
931
949
  if (e === Number.NEGATIVE_INFINITY) return "-.inf";
@@ -933,15 +951,15 @@ function Ii(e) {
933
951
  const t = e.toString(10);
934
952
  return /^[-+]?[0-9]+e/.test(t) ? t.replace("e", ".e") : t;
935
953
  }
936
- var Ei = oe("tag:yaml.org,2002:float", {
954
+ var _i = oe("tag:yaml.org,2002:float", {
937
955
  implicit: !0,
938
956
  implicitFirstChars: ["-", ..."0123456789"],
939
- resolve: Ai,
957
+ resolve: Ii,
940
958
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
941
- represent: Ii
942
- }), _i = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), Oi = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
943
- function Ri(e) {
944
- if (!_i.test(e)) return W;
959
+ represent: Ei
960
+ }), Oi = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), Ri = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
961
+ function wi(e) {
962
+ if (!Oi.test(e)) return W;
945
963
  let t = e.toLowerCase().replace(/_/g, "");
946
964
  const n = t[0] === "-" ? -1 : 1;
947
965
  if ("+-".includes(t[0]) && (t = t.slice(1)), t === ".inf") return n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
@@ -951,9 +969,9 @@ function Ri(e) {
951
969
  for (const i of t.split(":")) a = a * 60 + Number(i);
952
970
  a *= n;
953
971
  } else a = n * parseFloat(t);
954
- return Number.isFinite(a) || Oi.test(e) ? a : W;
972
+ return Number.isFinite(a) || Ri.test(e) ? a : W;
955
973
  }
956
- function wi(e) {
974
+ function Bi(e) {
957
975
  if (isNaN(e)) return ".nan";
958
976
  if (e === Number.POSITIVE_INFINITY) return ".inf";
959
977
  if (e === Number.NEGATIVE_INFINITY) return "-.inf";
@@ -969,39 +987,39 @@ var et = oe("tag:yaml.org,2002:float", {
969
987
  ".",
970
988
  ..."0123456789"
971
989
  ],
972
- resolve: Ri,
990
+ resolve: wi,
973
991
  identify: (e) => typeof e == "number" && (!Number.isInteger(e) || Object.is(e, -0) || e.toString(10).indexOf("e") >= 0),
974
- represent: wi
975
- }), Bi = oe("tag:yaml.org,2002:merge", {
992
+ represent: Bi
993
+ }), Ki = oe("tag:yaml.org,2002:merge", {
976
994
  implicit: !0,
977
995
  implicitFirstChars: ["<"],
978
996
  resolve: (e, t) => e === "<<" || t && e === "" ? "<<" : W,
979
997
  identify: () => !1
980
- }), Ki = /^[A-Za-z0-9+/]*={0,2}$/;
981
- function Ni(e) {
998
+ }), Ni = /^[A-Za-z0-9+/]*={0,2}$/;
999
+ function xi(e) {
982
1000
  const t = e.replace(/\s/g, "");
983
- if (t.length % 4 !== 0 || !Ki.test(t)) return W;
1001
+ if (t.length % 4 !== 0 || !Ni.test(t)) return W;
984
1002
  const n = atob(t), a = new Uint8Array(n.length);
985
1003
  for (let i = 0; i < n.length; i++) a[i] = n.charCodeAt(i);
986
1004
  return a;
987
1005
  }
988
- function xi(e) {
1006
+ function Fi(e) {
989
1007
  let t = "";
990
1008
  for (let n = 0; n < e.length; n++) t += String.fromCharCode(e[n]);
991
1009
  return btoa(t);
992
1010
  }
993
- var Fi = oe("tag:yaml.org,2002:binary", {
994
- resolve: Ni,
1011
+ var Pi = oe("tag:yaml.org,2002:binary", {
1012
+ resolve: xi,
995
1013
  identify: (e) => Object.prototype.toString.call(e) === "[object Uint8Array]",
996
- represent: xi
997
- }), Pi = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Li = /* @__PURE__ */ new RegExp("^([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]))?))?$");
1014
+ represent: Fi
1015
+ }), Li = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Mi = /* @__PURE__ */ new RegExp("^([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]))?))?$");
998
1016
  function Et(e, t, n, a = 0, i = 0, r = 0, o = 0) {
999
1017
  const l = new Date(Date.UTC(e, t, n, a, i, r, o));
1000
1018
  return l.setUTCFullYear(e, t, n), l;
1001
1019
  }
1002
- function Mi(e) {
1003
- let t = Pi.exec(e);
1004
- if (t === null && (t = Li.exec(e)), t === null) return W;
1020
+ function qi(e) {
1021
+ let t = Li.exec(e);
1022
+ if (t === null && (t = Mi.exec(e)), t === null) return W;
1005
1023
  const n = +t[1], a = +t[2] - 1, i = +t[3];
1006
1024
  if (!t[4]) {
1007
1025
  const s = Et(n, a, i);
@@ -1025,13 +1043,13 @@ function Mi(e) {
1025
1043
  }
1026
1044
  return u;
1027
1045
  }
1028
- var qi = oe("tag:yaml.org,2002:timestamp", {
1046
+ var Ui = oe("tag:yaml.org,2002:timestamp", {
1029
1047
  implicit: !0,
1030
1048
  implicitFirstChars: [..."0123456789"],
1031
- resolve: Mi,
1049
+ resolve: qi,
1032
1050
  identify: (e) => e instanceof Date,
1033
1051
  represent: (e) => e.toISOString()
1034
- }), Ui = dt("tag:yaml.org,2002:seq", {
1052
+ }), Di = dt("tag:yaml.org,2002:seq", {
1035
1053
  create: () => [],
1036
1054
  addItem: (e, t) => {
1037
1055
  e.push(t);
@@ -1043,12 +1061,12 @@ function Ve(e) {
1043
1061
  const t = Object.getPrototypeOf(e);
1044
1062
  return t === null || t === Object.prototype;
1045
1063
  }
1046
- function Di(e, t) {
1064
+ function ji(e, t) {
1047
1065
  const n = {};
1048
1066
  for (const a of t) e[a] !== void 0 && (n[a] = e[a]);
1049
1067
  return n;
1050
1068
  }
1051
- var ji = dt("tag:yaml.org,2002:omap", {
1069
+ var zi = dt("tag:yaml.org,2002:omap", {
1052
1070
  create: () => ({
1053
1071
  list: [],
1054
1072
  seen: /* @__PURE__ */ new Set()
@@ -1067,7 +1085,7 @@ var ji = dt("tag:yaml.org,2002:omap", {
1067
1085
  },
1068
1086
  finalize: (e) => e.list,
1069
1087
  identify: () => !1
1070
- }), zi = dt("tag:yaml.org,2002:pairs", {
1088
+ }), Vi = dt("tag:yaml.org,2002:pairs", {
1071
1089
  create: () => [],
1072
1090
  addItem: (e, t) => {
1073
1091
  if (t instanceof Map)
@@ -1077,7 +1095,7 @@ var ji = dt("tag:yaml.org,2002:omap", {
1077
1095
  return a.length !== 1 ? "cannot resolve a pairs item" : (e.push([a[0], n[a[0]]]), "");
1078
1096
  },
1079
1097
  identify: () => !1
1080
- }), Vi = ze("tag:yaml.org,2002:map", {
1098
+ }), Yi = ze("tag:yaml.org,2002:map", {
1081
1099
  create: () => ({}),
1082
1100
  identify: Ve,
1083
1101
  represent: (e) => {
@@ -1101,7 +1119,7 @@ var ji = dt("tag:yaml.org,2002:omap", {
1101
1119
  const n = String(t);
1102
1120
  return Object.prototype.hasOwnProperty.call(e, n) ? e[n] : null;
1103
1121
  }
1104
- }), Yi = ze("tag:yaml.org,2002:set", {
1122
+ }), Hi = ze("tag:yaml.org,2002:set", {
1105
1123
  create: () => /* @__PURE__ */ new Set(),
1106
1124
  identify: (e) => e instanceof Set,
1107
1125
  represent: (e) => {
@@ -1114,21 +1132,21 @@ var ji = dt("tag:yaml.org,2002:omap", {
1114
1132
  keys: (e) => e.keys(),
1115
1133
  get: () => null
1116
1134
  });
1117
- function Hi() {
1135
+ function Wi() {
1118
1136
  return {
1119
1137
  scalar: /* @__PURE__ */ Object.create(null),
1120
1138
  sequence: /* @__PURE__ */ Object.create(null),
1121
1139
  mapping: /* @__PURE__ */ Object.create(null)
1122
1140
  };
1123
1141
  }
1124
- function Wi() {
1142
+ function Gi() {
1125
1143
  return {
1126
1144
  scalar: [],
1127
1145
  sequence: [],
1128
1146
  mapping: []
1129
1147
  };
1130
1148
  }
1131
- function Gi(e) {
1149
+ function Ji(e) {
1132
1150
  const t = [];
1133
1151
  for (const n of e) {
1134
1152
  let a = t.length;
@@ -1178,7 +1196,7 @@ var Ye = class tn {
1178
1196
  exact;
1179
1197
  prefix;
1180
1198
  constructor(t) {
1181
- const n = Gi(t), a = [], i = Hi(), r = Wi();
1199
+ const n = Ji(t), a = [], i = Wi(), r = Gi();
1182
1200
  for (const s of n) {
1183
1201
  if (s.nodeKind === "scalar" && s.implicit) {
1184
1202
  if (s.matchByTagPrefix) throw new Error("Implicit scalar tags cannot match by tag prefix");
@@ -1256,37 +1274,37 @@ var Ye = class tn {
1256
1274
  return new tn([...this.tags, ...n]);
1257
1275
  }
1258
1276
  }, ft = new Ye([
1259
- Ya,
1260
- Ui,
1261
- Vi
1277
+ Ha,
1278
+ Di,
1279
+ Yi
1262
1280
  ]);
1263
1281
  new Ye([
1264
1282
  ...ft.tags,
1265
- Ga,
1266
- ai,
1267
- yi,
1268
- Ei
1283
+ Ja,
1284
+ ii,
1285
+ gi,
1286
+ _i
1269
1287
  ]);
1270
1288
  new Ye([
1271
1289
  ...ft.tags,
1272
- Wa,
1273
- ei,
1290
+ Ga,
1291
+ ti,
1274
1292
  Zt,
1275
1293
  en
1276
1294
  ]);
1277
- var Ji = new Ye([
1295
+ var Xi = new Ye([
1278
1296
  ...ft.tags,
1279
- Xa,
1280
- oi,
1297
+ Qa,
1298
+ li,
1281
1299
  Ze,
1282
1300
  et,
1283
- qi,
1284
- Bi,
1285
- Fi,
1286
- ji,
1301
+ Ui,
1302
+ Ki,
1303
+ Pi,
1287
1304
  zi,
1288
- Yi
1289
- ]), Xi = Ji.withTags({
1305
+ Vi,
1306
+ Hi
1307
+ ]), Qi = Xi.withTags({
1290
1308
  ...Ze,
1291
1309
  resolve: (e, t, n) => {
1292
1310
  const a = Ze.resolve(e, t, n);
@@ -1351,7 +1369,7 @@ ze("tag:yaml.org,2002:map", {
1351
1369
  return Object.prototype.hasOwnProperty.call(e, n) ? e[n] : null;
1352
1370
  }
1353
1371
  });
1354
- var Qi = {
1372
+ var Zi = {
1355
1373
  maxLength: 79,
1356
1374
  indent: 1,
1357
1375
  linesBefore: 3,
@@ -1368,10 +1386,10 @@ function Ge(e, t, n, a, i) {
1368
1386
  function Je(e, t) {
1369
1387
  return " ".repeat(Math.max(t - e.length, 0)) + e;
1370
1388
  }
1371
- function Zi(e, t) {
1389
+ function er(e, t) {
1372
1390
  if (!e.buffer) return null;
1373
1391
  const n = {
1374
- ...Qi,
1392
+ ...Zi,
1375
1393
  ...t
1376
1394
  }, a = /\r?\n|\r|\0/g, i = [0], r = [];
1377
1395
  let o, l = -1;
@@ -1402,7 +1420,7 @@ function Ot(e, t) {
1402
1420
 
1403
1421
  ${e.mark.snippet}`), `${e.reason} ${n}`) : e.reason;
1404
1422
  }
1405
- var er = class nn extends Error {
1423
+ var tr = class nn extends Error {
1406
1424
  reason;
1407
1425
  mark;
1408
1426
  /**
@@ -1435,7 +1453,7 @@ var er = class nn extends Error {
1435
1453
  line: r,
1436
1454
  column: n - o
1437
1455
  };
1438
- throw l.snippet = Zi(l), new nn(a, l);
1456
+ throw l.snippet = er(l), new nn(a, l);
1439
1457
  }
1440
1458
  };
1441
1459
  function Rt(e) {
@@ -1481,9 +1499,9 @@ function Rt(e) {
1481
1499
  return "";
1482
1500
  }
1483
1501
  }
1484
- var tr = new Array(256), nr = new Array(256);
1502
+ var nr = new Array(256), ar = new Array(256);
1485
1503
  for (let e = 0; e < 256; e++)
1486
- tr[e] = Rt(e) ? 1 : 0, nr[e] = Rt(e);
1504
+ nr[e] = Rt(e) ? 1 : 0, ar[e] = Rt(e);
1487
1505
  Object.assign(/* @__PURE__ */ Object.create(null), {
1488
1506
  "!": "!",
1489
1507
  "!!": "tag:yaml.org,2002:"
@@ -1504,7 +1522,7 @@ var Le = class {
1504
1522
  literal = !1;
1505
1523
  folded = !1;
1506
1524
  }, be = /* @__PURE__ */ Symbol("INVALID");
1507
- function ar(e) {
1525
+ function ir(e) {
1508
1526
  const t = new Set([
1509
1527
  e.defaultScalarTag,
1510
1528
  e.defaultSequenceTag,
@@ -1525,7 +1543,7 @@ function ar(e) {
1525
1543
  }))
1526
1544
  ];
1527
1545
  }
1528
- function ir(e, t) {
1546
+ function rr(e, t) {
1529
1547
  for (let n = 0, a = e.representTypes.length; n < a; n += 1) {
1530
1548
  const { tag: i, implicitTag: r } = e.representTypes[n];
1531
1549
  if (i.identify(t)) {
@@ -1550,10 +1568,10 @@ function _e(e, t) {
1550
1568
  anchor: s.anchor
1551
1569
  };
1552
1570
  }
1553
- const n = ir(e, t);
1571
+ const n = rr(e, t);
1554
1572
  if (!n) {
1555
1573
  if (t === void 0 || e.skipInvalid) return be;
1556
- throw new er(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`);
1574
+ throw new tr(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`);
1557
1575
  }
1558
1576
  const { tag: a, tagName: i, implicitTag: r } = n, o = r ? i : an(i);
1559
1577
  if (a.nodeKind === "scalar") {
@@ -1601,9 +1619,9 @@ function _e(e, t) {
1601
1619
  }
1602
1620
  return u;
1603
1621
  }
1604
- function rr(e, t, n = {}) {
1622
+ function or(e, t, n = {}) {
1605
1623
  const a = _e({
1606
- representTypes: ar(t),
1624
+ representTypes: ir(t),
1607
1625
  noRefs: n.noRefs ?? !1,
1608
1626
  skipInvalid: n.skipInvalid ?? !1,
1609
1627
  refs: /* @__PURE__ */ new Map(),
@@ -1614,10 +1632,10 @@ function rr(e, t, n = {}) {
1614
1632
  directives: []
1615
1633
  }];
1616
1634
  }
1617
- var or = /* @__PURE__ */ Symbol("visit:break"), rn = /* @__PURE__ */ Symbol("visit:skip");
1635
+ var lr = /* @__PURE__ */ Symbol("visit:break"), rn = /* @__PURE__ */ Symbol("visit:skip");
1618
1636
  function qe(e, t, n) {
1619
1637
  const a = t(e, n);
1620
- if (a === or) return !0;
1638
+ if (a === lr) return !0;
1621
1639
  if (a === rn) return !1;
1622
1640
  const i = n.depth + 1;
1623
1641
  switch (e.kind) {
@@ -1643,14 +1661,14 @@ function qe(e, t, n) {
1643
1661
  }
1644
1662
  return !1;
1645
1663
  }
1646
- function lr(e, t) {
1664
+ function sr(e, t) {
1647
1665
  for (const n of e) if (n.contents && qe(n.contents, t, {
1648
1666
  depth: 0,
1649
1667
  parent: null,
1650
1668
  isKey: !1
1651
1669
  })) return;
1652
1670
  }
1653
- var pt = 65279, sr = 9, Ce = 10, on = 13, cr = 32, ur = 33, ln = 34, tt = 35, dr = 37, fr = 38, sn = 39, pr = 42, nt = 44, mt = 45, Be = 58, mr = 61, yr = 62, cn = 63, gr = 64, at = 91, it = 93, vr = 96, rt = 123, hr = 124, ot = 125, le = {};
1671
+ var pt = 65279, cr = 9, Ce = 10, on = 13, ur = 32, dr = 33, ln = 34, tt = 35, fr = 37, pr = 38, sn = 39, mr = 42, nt = 44, mt = 45, Be = 58, yr = 61, gr = 62, cn = 63, vr = 64, at = 91, it = 93, hr = 96, rt = 123, br = 124, ot = 125, le = {};
1654
1672
  le[0] = "\\0";
1655
1673
  le[7] = "\\a";
1656
1674
  le[8] = "\\b";
@@ -1680,10 +1698,10 @@ var yt = {
1680
1698
  forceQuotes: !1,
1681
1699
  tagBeforeAnchor: !1
1682
1700
  };
1683
- function br(e) {
1701
+ function kr(e) {
1684
1702
  return e.style.tagged ? e.tag : an(e.tag);
1685
1703
  }
1686
- function kr(e) {
1704
+ function Cr(e) {
1687
1705
  const t = {
1688
1706
  ...yt,
1689
1707
  ...e
@@ -1693,7 +1711,7 @@ function kr(e) {
1693
1711
  defaultScalarTagName: t.schema.defaultScalarTag.tagName
1694
1712
  };
1695
1713
  }
1696
- function Cr(e) {
1714
+ function Tr(e) {
1697
1715
  const t = e.toString(16).toUpperCase(), n = e <= 255 ? "x" : "u", a = e <= 255 ? 2 : 4;
1698
1716
  return `\\${n}${"0".repeat(a - t.length)}${t}`;
1699
1717
  }
@@ -1714,7 +1732,7 @@ function lt(e, t) {
1714
1732
  return `
1715
1733
  ${" ".repeat(e.indent * t)}`;
1716
1734
  }
1717
- function Tr(e, t) {
1735
+ function $r(e, t) {
1718
1736
  const n = e.indent * Math.max(1, t);
1719
1737
  return {
1720
1738
  indent: n,
@@ -1723,9 +1741,9 @@ function Tr(e, t) {
1723
1741
  };
1724
1742
  }
1725
1743
  function Ie(e) {
1726
- return e === cr || e === sr;
1744
+ return e === ur || e === cr;
1727
1745
  }
1728
- function $r(e) {
1746
+ function Sr(e) {
1729
1747
  const t = e.charCodeAt(0);
1730
1748
  if (t !== mt && t !== 46 || e.charCodeAt(1) !== t || e.charCodeAt(2) !== t) return !1;
1731
1749
  if (e.length === 3) return !0;
@@ -1742,19 +1760,19 @@ function st(e, t, n) {
1742
1760
  const a = Bt(e), i = a && !Ie(e);
1743
1761
  return (n ? a : a && e !== nt && e !== at && e !== it && e !== rt && e !== ot) && e !== tt && !(t === Be && !i) || Bt(t) && !Ie(t) && e === tt || t === Be && i && (n || e !== nt && e !== at && e !== it && e !== rt && e !== ot);
1744
1762
  }
1745
- function Sr(e) {
1746
- return Ke(e) && e !== pt && !Ie(e) && e !== mt && e !== cn && e !== Be && e !== nt && e !== at && e !== it && e !== rt && e !== ot && e !== tt && e !== fr && e !== pr && e !== ur && e !== hr && e !== mr && e !== yr && e !== sn && e !== ln && e !== dr && e !== gr && e !== vr;
1763
+ function Ar(e) {
1764
+ return Ke(e) && e !== pt && !Ie(e) && e !== mt && e !== cn && e !== Be && e !== nt && e !== at && e !== it && e !== rt && e !== ot && e !== tt && e !== pr && e !== mr && e !== dr && e !== br && e !== yr && e !== gr && e !== sn && e !== ln && e !== fr && e !== vr && e !== hr;
1747
1765
  }
1748
- function Ar(e, t) {
1766
+ function Ir(e, t) {
1749
1767
  const n = Se(e, 0);
1750
- if (Sr(n)) return !0;
1768
+ if (Ar(n)) return !0;
1751
1769
  if (e.length > 1 && (n === mt || n === cn || n === Be)) {
1752
1770
  const a = Se(e, 1);
1753
1771
  return !Ie(a) && st(a, n, t);
1754
1772
  }
1755
1773
  return !1;
1756
1774
  }
1757
- function Ir(e) {
1775
+ function Er(e) {
1758
1776
  return !Ie(e) && e !== Be;
1759
1777
  }
1760
1778
  function Se(e, t) {
@@ -1766,11 +1784,11 @@ function un(e) {
1766
1784
  return /^\n* /.test(e);
1767
1785
  }
1768
1786
  var Ne = 1, Oe = 2, gt = 3, vt = 4, ge = 5;
1769
- function Er(e, t, n, a, i, r) {
1787
+ function _r(e, t, n, a, i, r) {
1770
1788
  const { blockIndent: o, lineWidth: l } = n;
1771
1789
  let f, u = 0, s = -1, g = !1, p = !1;
1772
1790
  const h = l !== -1;
1773
- let F = -1, y = !$r(t) && Ar(t, r) && Ir(Se(t, t.length - 1));
1791
+ let F = -1, y = !Sr(t) && Ir(t, r) && Er(Se(t, t.length - 1));
1774
1792
  if (a || i) for (f = 0; f < t.length; u >= 65536 ? f += 2 : f++) {
1775
1793
  if (u = Se(t, f), !Ke(u)) return ge;
1776
1794
  y = y && st(u, s, r), s = u;
@@ -1786,7 +1804,7 @@ function Er(e, t, n, a, i, r) {
1786
1804
  }
1787
1805
  return !g && !p ? y && !i ? Ne : e.quoteStyle === "double" ? ge : Oe : o > 9 && un(t) ? ge : p ? vt : gt;
1788
1806
  }
1789
- function _r(e, t, n) {
1807
+ function Or(e, t, n) {
1790
1808
  const { indent: a, blockIndent: i, lineWidth: r } = n;
1791
1809
  switch (t) {
1792
1810
  case Ne:
@@ -1796,12 +1814,12 @@ function _r(e, t, n) {
1796
1814
  case gt:
1797
1815
  return "|" + Kt(e, i) + xt(wt(e, a));
1798
1816
  case vt:
1799
- return ">" + Kt(e, i) + xt(wt(Rr(e, r), a));
1817
+ return ">" + Kt(e, i) + xt(wt(wr(e, r), a));
1800
1818
  case ge:
1801
- return `"${wr(e)}"`;
1819
+ return `"${Br(e)}"`;
1802
1820
  }
1803
1821
  }
1804
- function Or(e, t, n, a, i) {
1822
+ function Rr(e, t, n, a, i) {
1805
1823
  const r = a || !i;
1806
1824
  if (t.style.singleQuoted) return Oe;
1807
1825
  if (t.style.doubleQuoted) return ge;
@@ -1812,7 +1830,7 @@ function Or(e, t, n, a, i) {
1812
1830
  const o = t.value;
1813
1831
  if (o.length === 0)
1814
1832
  return t.style.tagged || e.schema.resolveImplicitScalarTag(o).tag.tagName === t.tag ? Ne : e.quoteStyle === "double" ? ge : Oe;
1815
- const l = Er(e, o, n, r, e.forceQuotes && !a, i);
1833
+ const l = _r(e, o, n, r, e.forceQuotes && !a, i);
1816
1834
  return l === Ne && !t.style.tagged && e.schema.resolveImplicitScalarTag(o).tag.tagName !== t.tag ? e.quoteStyle === "double" ? ge : Oe : l;
1817
1835
  }
1818
1836
  function Kt(e, t) {
@@ -1846,7 +1864,7 @@ function xt(e) {
1846
1864
  function xe(e) {
1847
1865
  return e === " " || e === " ";
1848
1866
  }
1849
- function Rr(e, t) {
1867
+ function wr(e, t) {
1850
1868
  const n = /(\n+)([^\n]*)/g;
1851
1869
  let a = e.indexOf(`
1852
1870
  `);
@@ -1871,7 +1889,7 @@ ${e.slice(i, r)}`, i = r + 1), o = l;
1871
1889
  `, e.length - i > t && o > i ? f += `${e.slice(i, o)}
1872
1890
  ${e.slice(o + 1)}` : f += e.slice(i), f.slice(1);
1873
1891
  }
1874
- function wr(e) {
1892
+ function Br(e) {
1875
1893
  let t = "", n = 0;
1876
1894
  for (let a = 0; a < e.length; n >= 65536 ? a += 2 : a++) {
1877
1895
  n = Se(e, a);
@@ -1884,11 +1902,11 @@ function wr(e) {
1884
1902
  t += e[a], n >= 65536 && (t += e[a + 1]);
1885
1903
  continue;
1886
1904
  }
1887
- t += Cr(n);
1905
+ t += Tr(n);
1888
1906
  }
1889
1907
  return t;
1890
1908
  }
1891
- function Br(e, t, n) {
1909
+ function Kr(e, t, n) {
1892
1910
  let a = "";
1893
1911
  for (let r = 0, o = n.items.length; r < o; r += 1) {
1894
1912
  const l = ye(e, t, n.items[r], {});
@@ -1909,7 +1927,7 @@ function Pt(e, t, n, a) {
1909
1927
  }
1910
1928
  return i;
1911
1929
  }
1912
- function Kr(e, t, n) {
1930
+ function Nr(e, t, n) {
1913
1931
  let a = "";
1914
1932
  const i = dn(e, n.items);
1915
1933
  for (const { key: o, value: l } of i) {
@@ -1939,7 +1957,7 @@ function dn(e, t) {
1939
1957
  }
1940
1958
  return n;
1941
1959
  }
1942
- function Nr(e, t, n, a) {
1960
+ function xr(e, t, n, a) {
1943
1961
  let i = "";
1944
1962
  const r = dn(e, n.items);
1945
1963
  for (let o = 0, l = r.length; o < l; o += 1) {
@@ -1960,8 +1978,8 @@ function Nr(e, t, n, a) {
1960
1978
  block: !0,
1961
1979
  compact: F,
1962
1980
  isblockseq: F && !ct(e, s, t + 1)
1963
- }), k = u.kind === "scalar" && u.value === "" && p !== "" && p.charCodeAt(p.length - 1) !== sn && p.charCodeAt(p.length - 1) !== ln, N = !F && (u.kind === "alias" || k) ? " " : "";
1964
- y === "" || Ce === y.charCodeAt(0) ? f += `${N}:` : f += `${N}: `, f += y, i += f;
1981
+ }), k = u.kind === "scalar" && u.value === "" && p !== "" && p.charCodeAt(p.length - 1) !== sn && p.charCodeAt(p.length - 1) !== ln, x = !F && (u.kind === "alias" || k) ? " " : "";
1982
+ y === "" || Ce === y.charCodeAt(0) ? f += `${x}:` : f += `${x}: `, f += y, i += f;
1965
1983
  }
1966
1984
  return i;
1967
1985
  }
@@ -1976,24 +1994,24 @@ function ye(e, t, n, a) {
1976
1994
  ct(e, n, t) && (l = !1);
1977
1995
  let u, s = n.style.tagged;
1978
1996
  const g = i && (n.kind === "mapping" || n.kind === "sequence") && !n.style.flow && n.items.length !== 0;
1979
- if (n.kind === "mapping") g ? u = Nr(e, t, n, l) : u = Kr(e, t, n);
1980
- else if (n.kind === "sequence") g ? e.seqNoIndent && !o && t > 0 ? u = Pt(e, t - 1, n, l) : u = Pt(e, t, n, l) : u = Br(e, t, n);
1997
+ if (n.kind === "mapping") g ? u = xr(e, t, n, l) : u = Nr(e, t, n);
1998
+ else if (n.kind === "sequence") g ? e.seqNoIndent && !o && t > 0 ? u = Pt(e, t - 1, n, l) : u = Pt(e, t, n, l) : u = Kr(e, t, n);
1981
1999
  else {
1982
- const p = Tr(e, t), h = Or(e, n, p, r, i);
1983
- u = _r(n.value, h, p), s = n.style.tagged || h !== Ne && n.tag !== e.defaultScalarTagName;
2000
+ const p = $r(e, t), h = Rr(e, n, p, r, i);
2001
+ u = Or(n.value, h, p), s = n.style.tagged || h !== Ne && n.tag !== e.defaultScalarTagName;
1984
2002
  }
1985
2003
  if (g && l && t > 0 && e.indent > 2 && (u = `${" ".repeat(e.indent - 2)}${u}`), s || f) {
1986
- const p = [], h = s ? br(n) : null, F = f ? `&${n.anchor}` : null;
2004
+ const p = [], h = s ? kr(n) : null, F = f ? `&${n.anchor}` : null;
1987
2005
  e.tagBeforeAnchor ? (h !== null && p.push(h), F !== null && p.push(F)) : (F !== null && p.push(F), h !== null && p.push(h));
1988
2006
  const y = u === "" || u.charCodeAt(0) === Ce ? "" : " ";
1989
2007
  u = `${p.join(" ")}${y}${u}`;
1990
2008
  }
1991
2009
  return u;
1992
2010
  }
1993
- function xr(e) {
2011
+ function Fr(e) {
1994
2012
  return (e.kind === "sequence" || e.kind === "mapping") && !e.style.flow && e.items.length !== 0 && !e.style.tagged && e.anchor === void 0;
1995
2013
  }
1996
- function Fr(e) {
2014
+ function Pr(e) {
1997
2015
  let t = e;
1998
2016
  for (; (t.kind === "sequence" || t.kind === "mapping") && !t.style.flow && t.items.length !== 0; ) t = t.kind === "sequence" ? t.items[t.items.length - 1] : t.items[t.items.length - 1].value;
1999
2017
  if (t.kind !== "scalar" || !(t.style.literal || t.style.folded)) return !1;
@@ -2003,7 +2021,7 @@ function Fr(e) {
2003
2021
  `) || n === `
2004
2022
  `;
2005
2023
  }
2006
- function Pr(e) {
2024
+ function Lr(e) {
2007
2025
  let t = "";
2008
2026
  for (const n of e.directives) {
2009
2027
  if (n.kind === "yaml") {
@@ -2017,11 +2035,11 @@ function Pr(e) {
2017
2035
  }
2018
2036
  return t;
2019
2037
  }
2020
- function Lr(e, t) {
2021
- const n = kr(t);
2038
+ function Mr(e, t) {
2039
+ const n = Cr(t);
2022
2040
  let a = "", i = !1;
2023
2041
  for (let r = 0; r < e.length; r += 1) {
2024
- const o = e[r], l = Pr(o), f = l !== "", u = o.explicitStart || f || r > 0 && !i;
2042
+ const o = e[r], l = Lr(o), f = l !== "", u = o.explicitStart || f || r > 0 && !i;
2025
2043
  if (a += l, o.contents === null)
2026
2044
  u && (a += `---
2027
2045
  `);
@@ -2029,7 +2047,7 @@ function Lr(e, t) {
2029
2047
  const s = ye(n, 0, o.contents, {
2030
2048
  block: !0,
2031
2049
  compact: !0
2032
- }), g = s === "" ? "" : f || xr(o.contents) ? `
2050
+ }), g = s === "" ? "" : f || Fr(o.contents) ? `
2033
2051
  ` : " ";
2034
2052
  a += `---${g}${s}
2035
2053
  `;
@@ -2038,14 +2056,14 @@ function Lr(e, t) {
2038
2056
  compact: !0
2039
2057
  }) + `
2040
2058
  `;
2041
- i = o.explicitEnd || o.contents !== null && Fr(o.contents), i && (a += `...
2059
+ i = o.explicitEnd || o.contents !== null && Pr(o.contents), i && (a += `...
2042
2060
  `);
2043
2061
  }
2044
2062
  return a;
2045
2063
  }
2046
- var Mr = {
2064
+ var qr = {
2047
2065
  ...yt,
2048
- schema: Xi,
2066
+ schema: Qi,
2049
2067
  skipInvalid: !1,
2050
2068
  noRefs: !1,
2051
2069
  flowLevel: -1,
@@ -2054,27 +2072,27 @@ var Mr = {
2054
2072
  };
2055
2073
  function fn(e, t = {}) {
2056
2074
  const n = {
2057
- ...Mr,
2075
+ ...qr,
2058
2076
  ...t
2059
- }, a = rr(e, n.schema, {
2077
+ }, a = or(e, n.schema, {
2060
2078
  noRefs: n.noRefs,
2061
2079
  skipInvalid: n.skipInvalid
2062
2080
  });
2063
- return n.flowLevel >= 0 && lr(a, (i, r) => {
2081
+ return n.flowLevel >= 0 && sr(a, (i, r) => {
2064
2082
  if (!(r.depth < n.flowLevel))
2065
2083
  return i.style.flow = !0, rn;
2066
- }), n.transform(a), Lr(a, {
2067
- ...Di(n, Object.keys(yt)),
2084
+ }), n.transform(a), Mr(a, {
2085
+ ...ji(n, Object.keys(yt)),
2068
2086
  schema: n.schema
2069
2087
  });
2070
2088
  }
2071
- const qr = /* @__PURE__ */ X({
2089
+ const Ur = /* @__PURE__ */ X({
2072
2090
  __name: "DeckCallout",
2073
2091
  emits: ["click-cta", "dismiss"],
2074
2092
  setup(e) {
2075
2093
  const { i18n: { t }, i18nT: n } = V.useI18n();
2076
2094
  return (a, i) => {
2077
- const r = x("KAlert");
2095
+ const r = N("KAlert");
2078
2096
  return c(), I(r, {
2079
2097
  class: "deck-callout",
2080
2098
  dismissible: "",
@@ -2096,7 +2114,7 @@ const qr = /* @__PURE__ */ X({
2096
2114
  });
2097
2115
  };
2098
2116
  }
2099
- }), Ur = /* @__PURE__ */ ie(qr, [["__scopeId", "data-v-0bf1334c"]]), pn = /* @__PURE__ */ X({
2117
+ }), Dr = /* @__PURE__ */ ie(Ur, [["__scopeId", "data-v-0bf1334c"]]), pn = /* @__PURE__ */ X({
2100
2118
  inheritAttrs: !1,
2101
2119
  __name: "YamlCodeBlock",
2102
2120
  props: {
@@ -2139,13 +2157,13 @@ const qr = /* @__PURE__ */ X({
2139
2157
  i.value = "dismissed", a("deck-callout:dismiss");
2140
2158
  }
2141
2159
  return (u, s) => {
2142
- const g = x("KCodeBlock");
2160
+ const g = N("KCodeBlock");
2143
2161
  return c(), T(ae, null, [
2144
- n.deckCalloutPreferenceKey && i.value === "visible" ? (c(), I(Ur, {
2162
+ n.deckCalloutPreferenceKey && i.value === "visible" ? (c(), I(Dr, {
2145
2163
  key: 0,
2146
2164
  onClickCta: s[0] || (s[0] = (p) => u.$emit("deck-callout:click-cta")),
2147
2165
  onDismiss: s[1] || (s[1] = (p) => f())
2148
- })) : w("", !0),
2166
+ })) : R("", !0),
2149
2167
  K("div", Fe({ class: "yaml-config config-card-code-block" }, u.$attrs), [
2150
2168
  n.entityRecord ? (c(), I(g, {
2151
2169
  key: 0,
@@ -2157,12 +2175,12 @@ const qr = /* @__PURE__ */ X({
2157
2175
  "max-height": d(we),
2158
2176
  theme: "dark",
2159
2177
  onCodeBlockRender: d(Ae)
2160
- }, null, 8, ["code", "copy-code", "max-height", "onCodeBlockRender"])) : w("", !0)
2178
+ }, null, 8, ["code", "copy-code", "max-height", "onCodeBlockRender"])) : R("", !0)
2161
2179
  ], 16)
2162
2180
  ], 64);
2163
2181
  };
2164
2182
  }
2165
- }), Dr = { class: "terraform-config config-card-code-block" }, te = " ", Lt = "TF_MULTILINE_EOT", Qe = "cloud_gateway_addon", mn = /* @__PURE__ */ X({
2183
+ }), jr = { class: "terraform-config config-card-code-block" }, te = " ", Lt = "TF_MULTILINE_EOT", Qe = "cloud_gateway_addon", mn = /* @__PURE__ */ X({
2166
2184
  __name: "TerraformCodeBlock",
2167
2185
  props: {
2168
2186
  /** A record to indicate the entity's configuration, the visible code content (may be redacted) */
@@ -2209,15 +2227,15 @@ ${v}${Lt}`;
2209
2227
  }
2210
2228
  return `"${y.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
2211
2229
  }, l = (y, k) => {
2212
- const N = te;
2230
+ const x = te;
2213
2231
  let v = "";
2214
- return typeof y == "string" ? v += `${N}${k} = ${o(y, N)}
2215
- ` : v += `${N}${k} = ${String(y ?? "")}
2232
+ return typeof y == "string" ? v += `${x}${k} = ${o(y, x)}
2233
+ ` : v += `${x}${k} = ${String(y ?? "")}
2216
2234
  `, v;
2217
- }, f = (y, k, N = "") => {
2235
+ }, f = (y, k, x = "") => {
2218
2236
  if (typeof y != "object")
2219
2237
  return "Invalid object";
2220
- const v = te + N;
2238
+ const v = te + x;
2221
2239
  let b = "";
2222
2240
  if (k && (b += `${v}${k} = {
2223
2241
  `), y === null)
@@ -2231,10 +2249,10 @@ ${v}${Lt}`;
2231
2249
  `;
2232
2250
  return k ? b += `${v}}
2233
2251
  ` : b;
2234
- }, u = (y, k, N = "") => {
2252
+ }, u = (y, k, x = "") => {
2235
2253
  if (!Array.isArray(y))
2236
2254
  return "Invalid array";
2237
- const v = te + N;
2255
+ const v = te + x;
2238
2256
  let b = "";
2239
2257
  k && (y.length === 0 ? b += `${v}${k} = [` : b += `${v}${k} = [
2240
2258
  `);
@@ -2249,12 +2267,12 @@ ${v}${Lt}`;
2249
2267
  `), b;
2250
2268
  }, s = (y) => y.replace(/\$\{/g, () => "$${"), g = (y) => {
2251
2269
  let k = "";
2252
- for (const [N, v] of Object.entries(y))
2253
- Array.isArray(v) ? k += u(v, N) : typeof v == "object" ? k += f(v, N) : k += l(v, N);
2270
+ for (const [x, v] of Object.entries(y))
2271
+ Array.isArray(v) ? k += u(v, x) : typeof v == "object" ? k += f(v, x) : k += l(v, x);
2254
2272
  return s(k);
2255
2273
  }, p = (y) => {
2256
- const k = Object.fromEntries(Object.entries(y).filter(([, B]) => B != null)), N = y.config ? Object.fromEntries(Object.entries(y?.config).filter(([, B]) => B != null)) : void 0;
2257
- if (N && (k.config = N), Object.keys(k).length === 0)
2274
+ const k = Object.fromEntries(Object.entries(y).filter(([, B]) => B != null)), x = y.config ? Object.fromEntries(Object.entries(y?.config).filter(([, B]) => B != null)) : void 0;
2275
+ if (x && (k.config = x), Object.keys(k).length === 0)
2258
2276
  return "";
2259
2277
  delete k.id;
2260
2278
  let v = "", b = "";
@@ -2280,9 +2298,9 @@ ${v}${Lt}`;
2280
2298
  `, v;
2281
2299
  }, h = A(() => p(t.entityRecord)), F = A(() => p(t.unredactedRecord || t.entityRecord));
2282
2300
  return (y, k) => {
2283
- const N = x("KCodeBlock");
2284
- return c(), T("div", Dr, [
2285
- t.entityRecord ? (c(), I(N, {
2301
+ const x = N("KCodeBlock");
2302
+ return c(), T("div", jr, [
2303
+ t.entityRecord ? (c(), I(x, {
2286
2304
  key: 0,
2287
2305
  id: "terraform-codeblock",
2288
2306
  code: h.value,
@@ -2292,11 +2310,11 @@ ${v}${Lt}`;
2292
2310
  "max-height": d(we),
2293
2311
  theme: "dark",
2294
2312
  onCodeBlockRender: d(Ae)
2295
- }, null, 8, ["code", "copy-code", "max-height", "onCodeBlockRender"])) : w("", !0)
2313
+ }, null, 8, ["code", "copy-code", "max-height", "onCodeBlockRender"])) : R("", !0)
2296
2314
  ]);
2297
2315
  };
2298
2316
  }
2299
- }), jr = /* @__PURE__ */ X({
2317
+ }), zr = /* @__PURE__ */ X({
2300
2318
  __name: "GeneratePatModal",
2301
2319
  props: {
2302
2320
  visible: { type: Boolean },
@@ -2327,7 +2345,7 @@ ${v}${Lt}`;
2327
2345
  }
2328
2346
  };
2329
2347
  return (p, h) => {
2330
- const F = x("KInput"), y = x("KSelect"), k = x("KAlert"), N = x("KButton"), v = x("KModal");
2348
+ const F = N("KInput"), y = N("KSelect"), k = N("KAlert"), x = N("KButton"), v = N("KModal");
2331
2349
  return c(), I(v, {
2332
2350
  class: "generate-pat-modal",
2333
2351
  "max-width": "640px",
@@ -2337,7 +2355,7 @@ ${v}${Lt}`;
2337
2355
  onProceed: g
2338
2356
  }, {
2339
2357
  "footer-actions": m(() => [
2340
- E(N, {
2358
+ E(x, {
2341
2359
  appearance: "tertiary",
2342
2360
  onClick: s
2343
2361
  }, {
@@ -2346,7 +2364,7 @@ ${v}${Lt}`;
2346
2364
  ]),
2347
2365
  _: 1
2348
2366
  }),
2349
- E(N, {
2367
+ E(x, {
2350
2368
  appearance: "primary",
2351
2369
  disabled: !r.value || l.value,
2352
2370
  onClick: g
@@ -2378,16 +2396,16 @@ ${v}${Lt}`;
2378
2396
  key: 0,
2379
2397
  appearance: "danger",
2380
2398
  message: f.value
2381
- }, null, 8, ["message"])) : w("", !0)
2399
+ }, null, 8, ["message"])) : R("", !0)
2382
2400
  ]),
2383
2401
  _: 1
2384
2402
  }, 8, ["title", "visible"]);
2385
2403
  };
2386
2404
  }
2387
- }), zr = /* @__PURE__ */ ie(jr, [["__scopeId", "data-v-be3cd315"]]), Vr = { class: "step-title" }, Yr = {
2405
+ }), Vr = /* @__PURE__ */ ie(zr, [["__scopeId", "data-v-be3cd315"]]), Yr = { class: "step-title" }, Hr = {
2388
2406
  key: 3,
2389
2407
  class: "konnect-pat-actions"
2390
- }, Hr = { class: "step-title" }, Wr = { class: "customization-secret-advise" }, Gr = /* @__PURE__ */ X({
2408
+ }, Wr = { class: "step-title" }, Gr = { class: "customization-secret-advise" }, Jr = /* @__PURE__ */ X({
2391
2409
  __name: "DeckCodeBlockInternal",
2392
2410
  props: {
2393
2411
  app: {},
@@ -2423,7 +2441,7 @@ ${v}${Lt}`;
2423
2441
  };
2424
2442
  return fn(D, { quoteStyle: "double" }).trim();
2425
2443
  }, F = A(() => h(n.entityRecord)), y = A(() => h(n.unredactedRecord || n.entityRecord)), k = A(() => g.value === "bash" ? `export DECK_KONNECT_TOKEN='${o.value || "YOUR_KONNECT_PAT"}'` : `$env:DECK_KONNECT_TOKEN = "${o.value || "YOUR_KONNECT_PAT"}"`);
2426
- function N(v) {
2444
+ function x(v) {
2427
2445
  o.value = v, u.value = !1;
2428
2446
  }
2429
2447
  return $n(() => {
@@ -2438,7 +2456,7 @@ ${F.value}
2438
2456
  ${y.value}
2439
2457
  '@ | ${v}`);
2440
2458
  }), (v, b) => {
2441
- const B = x("KSelect"), D = x("KBadge"), Q = x("KCodeBlock"), _ = x("KAlert"), O = x("KButton");
2459
+ const B = N("KSelect"), D = N("KBadge"), Q = N("KCodeBlock"), _ = N("KAlert"), O = N("KButton");
2442
2460
  return c(), T(ae, null, [
2443
2461
  K("div", Fe({ class: "deck-config config-card-code-block" }, v.$attrs), [
2444
2462
  E(B, {
@@ -2456,8 +2474,8 @@ ${y.value}
2456
2474
  ]),
2457
2475
  _: 1
2458
2476
  }, 8, ["modelValue"]),
2459
- K("div", Vr, $(d(r)("deckCodeBlock.steps.step_1")), 1),
2460
- e.isCustomizing ? w("", !0) : (c(), I(d(i), {
2477
+ K("div", Yr, $(d(r)("deckCodeBlock.steps.step_1")), 1),
2478
+ e.isCustomizing ? R("", !0) : (c(), I(d(i), {
2461
2479
  key: 0,
2462
2480
  "data-testid": `deck-hint-${e.app}`,
2463
2481
  keypath: `deckCodeBlock.hint.${e.app}`,
@@ -2497,7 +2515,7 @@ ${y.value}
2497
2515
  "single-line": "",
2498
2516
  theme: e.isCustomizing ? "light" : "dark",
2499
2517
  onCodeBlockRender: d(Ae)
2500
- }, null, 8, ["class", "code", "language", "theme", "onCodeBlockRender"])) : w("", !0),
2518
+ }, null, 8, ["class", "code", "language", "theme", "onCodeBlockRender"])) : R("", !0),
2501
2519
  o.value ? (c(), I(_, {
2502
2520
  key: 2,
2503
2521
  class: "copy-konnect-pat-alert"
@@ -2506,7 +2524,7 @@ ${y.value}
2506
2524
  L($(d(r)("deckCodeBlock.customization.copy_pat")), 1)
2507
2525
  ]),
2508
2526
  _: 1
2509
- })) : n.isCustomizing && n.generateKonnectPat ? (c(), T("div", Yr, [
2527
+ })) : n.isCustomizing && n.generateKonnectPat ? (c(), T("div", Hr, [
2510
2528
  E(O, {
2511
2529
  appearance: "secondary",
2512
2530
  "data-testid": "generate-konnect-pat-button",
@@ -2518,8 +2536,8 @@ ${y.value}
2518
2536
  _: 1
2519
2537
  }),
2520
2538
  K("div", null, $(d(r)("deckCodeBlock.customization.reuse_pat")), 1)
2521
- ])) : w("", !0),
2522
- K("div", Hr, $(d(r)("deckCodeBlock.steps.step_2")), 1),
2539
+ ])) : R("", !0),
2540
+ K("div", Wr, $(d(r)("deckCodeBlock.steps.step_2")), 1),
2523
2541
  n.entityRecord && !n.isCustomizing ? (c(), I(Q, {
2524
2542
  key: 4,
2525
2543
  id: "deck-codeblock",
@@ -2532,7 +2550,7 @@ ${y.value}
2532
2550
  theme: e.isCustomizing ? "light" : "dark",
2533
2551
  onCodeBlockRender: d(Ae)
2534
2552
  }, null, 8, ["class", "code", "copy-code", "language", "max-height", "theme", "onCodeBlockRender"])) : n.entityRecord && n.isCustomizing && d(t) ? (c(), T(ae, { key: 5 }, [
2535
- K("div", Wr, $(d(r)("deckCodeBlock.customization.secret_advise")), 1),
2553
+ K("div", Gr, $(d(r)("deckCodeBlock.customization.secret_advise")), 1),
2536
2554
  (c(), I(ve(d(t)), {
2537
2555
  modelValue: f.value,
2538
2556
  "onUpdate:modelValue": b[2] || (b[2] = (S) => f.value = S),
@@ -2547,19 +2565,19 @@ ${y.value}
2547
2565
  ]),
2548
2566
  _: 1
2549
2567
  })
2550
- ], 64)) : w("", !0)
2568
+ ], 64)) : R("", !0)
2551
2569
  ], 16),
2552
- n.isCustomizing && n.generateKonnectPat ? (c(), I(zr, {
2570
+ n.isCustomizing && n.generateKonnectPat ? (c(), I(Vr, {
2553
2571
  key: 0,
2554
2572
  "generate-konnect-pat": n.generateKonnectPat,
2555
2573
  visible: u.value,
2556
2574
  onDismiss: b[3] || (b[3] = (S) => u.value = !1),
2557
- onGenerated: N
2558
- }, null, 8, ["generate-konnect-pat", "visible"])) : w("", !0)
2575
+ onGenerated: x
2576
+ }, null, 8, ["generate-konnect-pat", "visible"])) : R("", !0)
2559
2577
  ], 64);
2560
2578
  };
2561
2579
  }
2562
- }), Mt = /* @__PURE__ */ ie(Gr, [["__scopeId", "data-v-81758ed8"]]), yn = /* @__PURE__ */ X({
2580
+ }), Mt = /* @__PURE__ */ ie(Jr, [["__scopeId", "data-v-81758ed8"]]), yn = /* @__PURE__ */ X({
2563
2581
  inheritAttrs: !1,
2564
2582
  __name: "DeckCodeBlock",
2565
2583
  props: {
@@ -2581,7 +2599,7 @@ ${y.value}
2581
2599
  return t.customizationOptions.generateKonnectPat;
2582
2600
  });
2583
2601
  return (i, r) => {
2584
- const o = x("KModal");
2602
+ const o = N("KModal");
2585
2603
  return c(), T(ae, null, [
2586
2604
  t.entityRecord ? (c(), I(Mt, Fe({ key: 0 }, i.$attrs, {
2587
2605
  app: t.app,
@@ -2592,7 +2610,7 @@ ${y.value}
2592
2610
  "kong-admin-api-url": t.app === "kongManager" ? t.kongAdminApiUrl : void 0,
2593
2611
  "unredacted-record": t.unredactedRecord,
2594
2612
  workspace: t.workspace || void 0
2595
- }), null, 16, ["app", "control-plane-name", "entity-record", "entity-type", "geo-api-server-url", "kong-admin-api-url", "unredacted-record", "workspace"])) : w("", !0),
2613
+ }), null, 16, ["app", "control-plane-name", "entity-record", "entity-type", "geo-api-server-url", "kong-admin-api-url", "unredacted-record", "workspace"])) : R("", !0),
2596
2614
  t.entityRecord ? (c(), I(o, {
2597
2615
  key: 1,
2598
2616
  "action-button-appearance": "tertiary",
@@ -2619,17 +2637,17 @@ ${y.value}
2619
2637
  }, null, 8, ["app", "control-plane-name", "entity-record", "entity-type", "generate-konnect-pat", "geo-api-server-url", "kong-admin-api-url", "unredacted-record", "workspace"])
2620
2638
  ]),
2621
2639
  _: 1
2622
- }, 8, ["action-button-text", "title", "visible"])) : w("", !0)
2640
+ }, 8, ["action-button-text", "title", "visible"])) : R("", !0)
2623
2641
  ], 64);
2624
2642
  };
2625
2643
  }
2626
- }), Jr = {
2644
+ }), Xr = {
2627
2645
  key: 0,
2628
2646
  class: "config-card-display-form"
2629
- }, Xr = ["data-testid"], Qr = {
2647
+ }, Qr = ["data-testid"], Zr = {
2630
2648
  key: 0,
2631
2649
  class: "config-card-prop-section-title"
2632
- }, Zr = /* @__PURE__ */ X({
2650
+ }, eo = /* @__PURE__ */ X({
2633
2651
  __name: "ConfigCardDisplay",
2634
2652
  props: {
2635
2653
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2732,13 +2750,13 @@ ${y.value}
2732
2750
  () => t.entityType
2733
2751
  );
2734
2752
  return (p, h) => (c(), T(ae, null, [
2735
- e.format === "structured" ? (c(), T("div", Jr, [
2753
+ e.format === "structured" ? (c(), T("div", Xr, [
2736
2754
  (c(!0), T(ae, null, ue(e.propListTypes, (F) => (c(), T("div", {
2737
2755
  key: `config-card-details-${F}-props`,
2738
2756
  class: ne(`config-card-details-${F}-props`),
2739
2757
  "data-testid": `config-card-details-${F}-props`
2740
2758
  }, [
2741
- F !== "basic" ? (c(), T("div", Qr, $(F === "advanced" ? d(a)("baseConfigCard.sections.advanced") : F === "plugin" ? d(a)("baseConfigCard.sections.plugin") : d(a)("baseConfigCard.sections.policy")), 1)) : w("", !0),
2759
+ F !== "basic" ? (c(), T("div", Zr, $(F === "advanced" ? d(a)("baseConfigCard.sections.advanced") : F === "plugin" ? d(a)("baseConfigCard.sections.plugin") : d(a)("baseConfigCard.sections.policy")), 1)) : R("", !0),
2742
2760
  (c(!0), T(ae, null, ue(e.propertyCollections[F], (y) => U(p.$slots, `config-card-item-${y.key}`, { row: y }, () => [
2743
2761
  (c(), I(Xt, {
2744
2762
  key: y.key,
@@ -2764,8 +2782,8 @@ ${y.value}
2764
2782
  } : void 0
2765
2783
  ]), 1032, ["item"]))
2766
2784
  ], !0)), 256))
2767
- ], 10, Xr))), 128))
2768
- ])) : w("", !0),
2785
+ ], 10, Qr))), 128))
2786
+ ])) : R("", !0),
2769
2787
  e.format === "json" && o.value ? (c(), I(Qt, {
2770
2788
  key: 1,
2771
2789
  config: t.config,
@@ -2773,21 +2791,21 @@ ${y.value}
2773
2791
  "fetcher-url": f.value,
2774
2792
  "request-method": "get",
2775
2793
  "unredacted-record": l.value
2776
- }, null, 8, ["config", "entity-record", "fetcher-url", "unredacted-record"])) : w("", !0),
2794
+ }, null, 8, ["config", "entity-record", "fetcher-url", "unredacted-record"])) : R("", !0),
2777
2795
  e.format === "yaml" && o.value ? (c(), I(pn, {
2778
2796
  key: 2,
2779
2797
  "deck-callout-preference-key": d(u) ? d(g) : void 0,
2780
2798
  "entity-record": o.value,
2781
2799
  "unredacted-record": l.value,
2782
2800
  "onDeckCallout:clickCta": h[0] || (h[0] = (F) => p.$emit("request-deck-format"))
2783
- }, null, 8, ["deck-callout-preference-key", "entity-record", "unredacted-record"])) : w("", !0),
2801
+ }, null, 8, ["deck-callout-preference-key", "entity-record", "unredacted-record"])) : R("", !0),
2784
2802
  e.format === "terraform" && o.value ? (c(), I(mn, {
2785
2803
  key: 3,
2786
2804
  "entity-record": o.value,
2787
2805
  "entity-type": t.entityType,
2788
2806
  "sub-entity-type": t.subEntityType,
2789
2807
  "unredacted-record": l.value
2790
- }, null, 8, ["entity-record", "entity-type", "sub-entity-type", "unredacted-record"])) : w("", !0),
2808
+ }, null, 8, ["entity-record", "entity-type", "sub-entity-type", "unredacted-record"])) : R("", !0),
2791
2809
  e.format === "deck" && o.value ? (c(), I(yn, {
2792
2810
  key: 4,
2793
2811
  app: e.config.app,
@@ -2801,16 +2819,16 @@ ${y.value}
2801
2819
  "unredacted-record": l.value,
2802
2820
  workspace: e.config.workspace || void 0,
2803
2821
  onCustomizationClose: h[1] || (h[1] = (F) => p.$emit("deck-customization:close"))
2804
- }, null, 8, ["app", "control-plane-name", "customization-options", "entity-record", "entity-type", "geo-api-server-url", "is-customization-modal-visible", "kong-admin-api-url", "unredacted-record", "workspace"])) : w("", !0)
2822
+ }, null, 8, ["app", "control-plane-name", "customization-options", "entity-record", "entity-type", "geo-api-server-url", "is-customization-modal-visible", "kong-admin-api-url", "unredacted-record", "workspace"])) : R("", !0)
2805
2823
  ], 64));
2806
2824
  }
2807
- }), eo = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-83075649"]]), to = {
2825
+ }), to = /* @__PURE__ */ ie(eo, [["__scopeId", "data-v-83075649"]]), no = {
2808
2826
  class: "config-card-title",
2809
2827
  "data-testid": "config-card-title"
2810
- }, no = { class: "config-card-actions" }, ao = { class: "row" }, io = ["href"], ro = {
2828
+ }, ao = { class: "config-card-actions" }, io = { class: "row" }, ro = ["href"], oo = {
2811
2829
  key: 2,
2812
2830
  class: "config-card-details-section"
2813
- }, oo = /* @__PURE__ */ X({
2831
+ }, lo = /* @__PURE__ */ X({
2814
2832
  __name: "EntityBaseConfigCard",
2815
2833
  props: {
2816
2834
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3049,10 +3067,10 @@ ${y.value}
3049
3067
  // the last property displayed
3050
3068
  section: se.Basic
3051
3069
  }
3052
- }, N = q(!1), v = q(!1), b = q(""), B = q({}), D = q(null), Q = A(() => {
3070
+ }, x = q(!1), v = q(!1), b = q(""), B = q({}), D = q(null), Q = A(() => {
3053
3071
  if (!(!a.codeBlockRecordResolver || D.value == null))
3054
3072
  return a.codeBlockRecordResolver(D.value);
3055
- }), _ = q(!1), { redactByConfigSchema: O, redactByApiSchema: S, isObjectRecord: M, getApiSchemaField: P } = V.useHelpers(), R = A(() => {
3073
+ }), _ = q(!1), { redactByConfigSchema: O, redactByApiSchema: S, isObjectRecord: M, getApiSchemaField: P } = V.useHelpers(), w = A(() => {
3056
3074
  const C = Q.value || B.value;
3057
3075
  let j = C;
3058
3076
  if (M(C) && Array.isArray(l?.value?.fields)) {
@@ -3146,10 +3164,10 @@ ${y.value}
3146
3164
  let C = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3147
3165
  return a.config.app === "konnect" && (C = C.replace(/{controlPlaneId}/gi, a.config?.controlPlaneId || "")), C.replace(/\/{workspace}/gi, a.config?.workspace ? `/${a.config.workspace}` : "").replace(/{id}/gi, a.config.entityId);
3148
3166
  });
3149
- return pe(N, (C) => {
3167
+ return pe(x, (C) => {
3150
3168
  n("loading", C);
3151
3169
  }, { immediate: !0 }), ut(async () => {
3152
- v.value = !1, N.value = !0;
3170
+ v.value = !1, x.value = !0;
3153
3171
  try {
3154
3172
  const { data: C } = await f.get(Pe.value);
3155
3173
  if (D.value = C, a.dataKey)
@@ -3166,16 +3184,16 @@ ${y.value}
3166
3184
  const j = r(C);
3167
3185
  b.value = j.startsWith("code") ? i("baseConfigCard.errors.load") : j, v.value = !0, n("fetch:error", C);
3168
3186
  } finally {
3169
- N.value = !1;
3187
+ x.value = !1;
3170
3188
  }
3171
3189
  }), (C, j) => {
3172
- const Y = x("KCheckbox"), z = x("KLabel"), H = x("KSelect"), Z = x("KButton"), ee = x("KSkeleton"), gn = x("KEmptyState"), vn = x("KCard");
3190
+ const Y = N("KCheckbox"), z = N("KLabel"), H = N("KSelect"), Z = N("KButton"), ee = N("KSkeleton"), gn = N("KEmptyState"), vn = N("KCard");
3173
3191
  return c(), I(vn, {
3174
3192
  class: "kong-ui-entity-base-config-card",
3175
3193
  "title-tag": e.titleTag
3176
3194
  }, fe({
3177
3195
  actions: m(() => [
3178
- K("div", no, [
3196
+ K("div", ao, [
3179
3197
  U(C.$slots, "actions", {}, void 0, !0),
3180
3198
  h.value !== "structured" ? (c(), I(Y, {
3181
3199
  key: 0,
@@ -3191,8 +3209,8 @@ ${y.value}
3191
3209
  placement: "top"
3192
3210
  }
3193
3211
  }
3194
- }, null, 8, ["modelValue", "label", "label-attributes"])) : w("", !0),
3195
- K("div", ao, [
3212
+ }, null, 8, ["modelValue", "label", "label-attributes"])) : R("", !0),
3213
+ K("div", io, [
3196
3214
  E(z, {
3197
3215
  class: "config-format-select-label",
3198
3216
  "data-testid": "config-format-select-label"
@@ -3221,7 +3239,7 @@ ${y.value}
3221
3239
  L($(d(i)("baseConfigCard.actions.deck_customize")), 1)
3222
3240
  ]),
3223
3241
  _: 1
3224
- })) : w("", !0),
3242
+ })) : R("", !0),
3225
3243
  e.configCardDoc ? (c(), I(Z, {
3226
3244
  key: 2,
3227
3245
  appearance: "tertiary",
@@ -3237,14 +3255,14 @@ ${y.value}
3237
3255
  E(d(Yt), {
3238
3256
  size: `var(--kui-icon-size-40, ${d(Ee)})`
3239
3257
  }, null, 8, ["size"])
3240
- ], 8, io)
3258
+ ], 8, ro)
3241
3259
  ]),
3242
3260
  _: 1
3243
- })) : w("", !0)
3261
+ })) : R("", !0)
3244
3262
  ])
3245
3263
  ]),
3246
3264
  default: m(() => [
3247
- N.value ? (c(), I(ee, {
3265
+ x.value ? (c(), I(ee, {
3248
3266
  key: 0,
3249
3267
  "data-testid": "config-card-loader",
3250
3268
  "table-columns": 2,
@@ -3258,11 +3276,11 @@ ${y.value}
3258
3276
  K("h3", null, $(b.value), 1)
3259
3277
  ]),
3260
3278
  _: 1
3261
- })) : (c(), T("div", ro, [
3262
- E(eo, {
3279
+ })) : (c(), T("div", oo, [
3280
+ E(to, {
3263
3281
  "code-block-record": Q.value,
3264
3282
  "code-block-record-formatter": e.codeBlockRecordFormatter,
3265
- "code-block-record-redacted": _.value ? void 0 : R.value,
3283
+ "code-block-record-redacted": _.value ? void 0 : w.value,
3266
3284
  config: e.config,
3267
3285
  "entity-type": e.entityType,
3268
3286
  "fetcher-url": Pe.value,
@@ -3290,7 +3308,7 @@ ${y.value}
3290
3308
  e.hideTitle ? void 0 : {
3291
3309
  name: "title",
3292
3310
  fn: m(() => [
3293
- K("span", to, [
3311
+ K("span", no, [
3294
3312
  U(C.$slots, "title", {}, () => [
3295
3313
  L($(d(i)("baseConfigCard.title")), 1)
3296
3314
  ], !0)
@@ -3301,10 +3319,10 @@ ${y.value}
3301
3319
  ]), 1032, ["title-tag"]);
3302
3320
  };
3303
3321
  }
3304
- }), ql = /* @__PURE__ */ ie(oo, [["__scopeId", "data-v-9d8e57f1"]]), lo = ["novalidate"], so = {
3322
+ }), Ul = /* @__PURE__ */ ie(lo, [["__scopeId", "data-v-9d8e57f1"]]), so = ["novalidate"], co = {
3305
3323
  key: 0,
3306
3324
  class: "button-customize-deck-wrapper"
3307
- }, co = /* @__PURE__ */ X({
3325
+ }, uo = /* @__PURE__ */ X({
3308
3326
  __name: "EntityBaseForm",
3309
3327
  props: {
3310
3328
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3464,7 +3482,7 @@ ${y.value}
3464
3482
  const a = Ut(Ln, q(!1)), i = n, r = e, o = Zn(), { i18n: { t: l } } = V.useI18n(), { getMessageFromError: f } = V.useErrors(), { axiosInstance: u } = V.useAxios(r.config?.axiosRequestConfig), s = q(!1), g = A(() => !!r.editId), p = q(!1), h = q(""), F = A(() => r.canSubmit === !1 || r.isReadonly), y = q(!1), k = A(() => {
3465
3483
  let P = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3466
3484
  return r.config.app === "konnect" && (P = P.replace(/{controlPlaneId}/gi, r.config?.controlPlaneId || "")), P = P.replace(/\/{workspace}/gi, r.config?.workspace ? `/${r.config.workspace}` : ""), r.editId ? (P = P.replace(/{id}/gi, r.editId), P) : (P = P.replace(/\/{id}/gi, ""), P);
3467
- }), N = q(!1), {
3485
+ }), x = q(!1), {
3468
3486
  isDeckEnabled: v,
3469
3487
  deckCustomizationOptions: b,
3470
3488
  deckCalloutPreferenceKey: B
@@ -3497,11 +3515,11 @@ ${y.value}
3497
3515
  title: l("baseForm.configuration.deck"),
3498
3516
  hash: "#deck"
3499
3517
  });
3500
- const R = new Set(r.tabsToHide.map((G) => `#${G}`));
3501
- return P.filter((G) => !R.has(G.hash));
3518
+ const w = new Set(r.tabsToHide.map((G) => `#${G}`));
3519
+ return P.filter((G) => !w.has(G.hash));
3502
3520
  }), M = q(S.value[0]?.hash);
3503
3521
  return pe(S, (P) => {
3504
- P.some((R) => R.hash === M.value) || (M.value = P[0]?.hash);
3522
+ P.some((w) => w.hash === M.value) || (M.value = P[0]?.hash);
3505
3523
  }), pe(() => s.value, (P) => {
3506
3524
  i("loading", P);
3507
3525
  }, { immediate: !0 }), ut(async () => {
@@ -3511,8 +3529,8 @@ ${y.value}
3511
3529
  const { data: P } = await u.get(k.value);
3512
3530
  i("fetch:success", P);
3513
3531
  } catch (P) {
3514
- const R = f(P);
3515
- h.value = R.startsWith("code") ? l("baseForm.errors.edit") : R, p.value = !0, i("fetch:error", P);
3532
+ const w = f(P);
3533
+ h.value = w.startsWith("code") ? l("baseForm.errors.edit") : w, p.value = !0, i("fetch:error", P);
3516
3534
  } finally {
3517
3535
  s.value = !1;
3518
3536
  }
@@ -3520,8 +3538,8 @@ ${y.value}
3520
3538
  viewConfig: D,
3521
3539
  formCancel: _,
3522
3540
  formSubmit: O
3523
- }), (P, R) => {
3524
- const G = x("KSkeleton"), de = x("KEmptyState"), he = x("KAlert"), ce = x("KButton"), He = x("KTabs"), Pe = x("KSlideout");
3541
+ }), (P, w) => {
3542
+ const G = N("KSkeleton"), de = N("KEmptyState"), he = N("KAlert"), ce = N("KButton"), He = N("KTabs"), Pe = N("KSlideout");
3525
3543
  return c(), I(ve(e.wrapperComponent), {
3526
3544
  class: ne(["kong-ui-entity-base-form", {
3527
3545
  "new-form-layout": d(a) && e.entityType === d(ke).Plugin
@@ -3556,8 +3574,8 @@ ${y.value}
3556
3574
  class: "form-error",
3557
3575
  "data-testid": "form-error",
3558
3576
  message: e.errorMessage
3559
- }, null, 8, ["message"])) : w("", !0),
3560
- e.hideActions ? w("", !0) : (c(), I(Dt, {
3577
+ }, null, 8, ["message"])) : R("", !0),
3578
+ e.hideActions ? R("", !0) : (c(), I(Dt, {
3561
3579
  key: 1,
3562
3580
  disabled: !e.actionTeleportTarget,
3563
3581
  to: e.actionTeleportTarget
@@ -3570,7 +3588,7 @@ ${y.value}
3570
3588
  E(ce, {
3571
3589
  appearance: "tertiary",
3572
3590
  "data-testid": `${e.entityType}-${g.value ? "edit" : "create"}-form-view-configuration`,
3573
- onClick: R[0] || (R[0] = (C) => D())
3591
+ onClick: w[0] || (w[0] = (C) => D())
3574
3592
  }, {
3575
3593
  default: m(() => [
3576
3594
  L($(y.value ? d(l)("baseForm.actions.hideConfiguration") : d(l)("baseForm.actions.viewConfiguration")), 1)
@@ -3582,7 +3600,7 @@ ${y.value}
3582
3600
  "data-testid": `${e.entityType}-${g.value ? "edit" : "create"}-form-cancel`,
3583
3601
  disabled: e.isReadonly,
3584
3602
  type: "reset",
3585
- onClick: R[1] || (R[1] = (C) => !!e.actionTeleportTarget && _())
3603
+ onClick: w[1] || (w[1] = (C) => !!e.actionTeleportTarget && _())
3586
3604
  }, {
3587
3605
  default: m(() => [
3588
3606
  L($(e.cancelButtonText ?? d(l)("baseForm.actions.cancel")), 1)
@@ -3594,7 +3612,7 @@ ${y.value}
3594
3612
  "data-testid": `${e.entityType}-${g.value ? "edit" : "create"}-form-submit`,
3595
3613
  disabled: F.value,
3596
3614
  type: "submit",
3597
- onClick: R[2] || (R[2] = (C) => !!e.actionTeleportTarget && O())
3615
+ onClick: w[2] || (w[2] = (C) => !!e.actionTeleportTarget && O())
3598
3616
  }, {
3599
3617
  default: m(() => [
3600
3618
  L($(e.saveButtonText ?? d(l)("baseForm.actions.save")), 1)
@@ -3604,7 +3622,7 @@ ${y.value}
3604
3622
  ], !0)
3605
3623
  ], 2)
3606
3624
  ], 8, ["disabled", "to"]))
3607
- ], 40, lo)),
3625
+ ], 40, so)),
3608
3626
  E(Pe, {
3609
3627
  "close-on-blur": !1,
3610
3628
  "data-testid": "form-view-configuration-slideout",
@@ -3612,7 +3630,7 @@ ${y.value}
3612
3630
  "offset-top": e.slidoutTopOffset,
3613
3631
  title: d(l)("baseForm.configuration.title"),
3614
3632
  visible: y.value,
3615
- onClose: R[8] || (R[8] = (C) => D())
3633
+ onClose: w[8] || (w[8] = (C) => D())
3616
3634
  }, {
3617
3635
  default: m(() => [
3618
3636
  K("div", null, [
@@ -3622,10 +3640,10 @@ ${y.value}
3622
3640
  ]),
3623
3641
  E(He, {
3624
3642
  modelValue: M.value,
3625
- "onUpdate:modelValue": R[6] || (R[6] = (C) => M.value = C),
3643
+ "onUpdate:modelValue": w[6] || (w[6] = (C) => M.value = C),
3626
3644
  "data-testid": "form-view-configuration-slideout-tabs",
3627
3645
  tabs: S.value,
3628
- onChange: R[7] || (R[7] = (C) => i("codeBlockTabChange", C.replace("#", "")))
3646
+ onChange: w[7] || (w[7] = (C) => i("codeBlockTabChange", C.replace("#", "")))
3629
3647
  }, {
3630
3648
  json: m(() => [
3631
3649
  E(Qt, {
@@ -3639,7 +3657,7 @@ ${y.value}
3639
3657
  E(pn, {
3640
3658
  "deck-callout-preference-key": d(v) ? d(B) : void 0,
3641
3659
  "entity-record": r.formFields,
3642
- "onDeckCallout:clickCta": R[3] || (R[3] = (C) => M.value = "#deck")
3660
+ "onDeckCallout:clickCta": w[3] || (w[3] = (C) => M.value = "#deck")
3643
3661
  }, null, 8, ["deck-callout-preference-key", "entity-record"])
3644
3662
  ]),
3645
3663
  terraform: m(() => [
@@ -3650,18 +3668,18 @@ ${y.value}
3650
3668
  }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])
3651
3669
  ]),
3652
3670
  deck: m(() => [
3653
- d(b) ? (c(), T("div", so, [
3671
+ d(b) ? (c(), T("div", co, [
3654
3672
  E(ce, {
3655
3673
  appearance: "secondary",
3656
3674
  class: "button-customize-deck",
3657
- onClick: R[4] || (R[4] = (C) => N.value = !0)
3675
+ onClick: w[4] || (w[4] = (C) => x.value = !0)
3658
3676
  }, {
3659
3677
  default: m(() => [
3660
3678
  L($(d(l)("baseConfigCard.actions.deck_customize")), 1)
3661
3679
  ]),
3662
3680
  _: 1
3663
3681
  })
3664
- ])) : w("", !0),
3682
+ ])) : R("", !0),
3665
3683
  E(yn, {
3666
3684
  app: e.config.app,
3667
3685
  "control-plane-name": e.config.app === "konnect" ? e.config.controlPlaneName : void 0,
@@ -3669,10 +3687,10 @@ ${y.value}
3669
3687
  "entity-record": r.formFields,
3670
3688
  "entity-type": r.slideoutDeckEntityType ?? e.entityType,
3671
3689
  "geo-api-server-url": e.config.app === "konnect" ? e.config.geoApiServerUrl : void 0,
3672
- "is-customization-modal-visible": N.value,
3690
+ "is-customization-modal-visible": x.value,
3673
3691
  "kong-admin-api-url": e.config.app === "kongManager" ? e.config.apiBaseUrl : void 0,
3674
3692
  workspace: e.config.workspace || void 0,
3675
- onCustomizationClose: R[5] || (R[5] = (C) => N.value = !1)
3693
+ onCustomizationClose: w[5] || (w[5] = (C) => x.value = !1)
3676
3694
  }, null, 8, ["app", "control-plane-name", "customization-options", "entity-record", "entity-type", "geo-api-server-url", "is-customization-modal-visible", "kong-admin-api-url", "workspace"])
3677
3695
  ]),
3678
3696
  _: 1
@@ -3685,7 +3703,7 @@ ${y.value}
3685
3703
  }, 8, ["class"]);
3686
3704
  };
3687
3705
  }
3688
- }), Ul = /* @__PURE__ */ ie(co, [["__scopeId", "data-v-b3590221"]]), uo = ["data-truncate"], fo = /* @__PURE__ */ X({
3706
+ }), Dl = /* @__PURE__ */ ie(uo, [["__scopeId", "data-v-b3590221"]]), fo = ["data-truncate"], po = /* @__PURE__ */ X({
3689
3707
  __name: "EntityBaseTableCell",
3690
3708
  props: {
3691
3709
  keyName: {
@@ -3712,21 +3730,21 @@ ${y.value}
3712
3730
  }, f = () => {
3713
3731
  let k = n.value?.clientWidth || 0;
3714
3732
  if (n.value && "getComputedStyle" in window) {
3715
- const N = window.getComputedStyle(n.value);
3716
- k -= (parseFloat(N.paddingLeft) || 0) + (parseFloat(N.paddingRight) || 0);
3733
+ const x = window.getComputedStyle(n.value);
3734
+ k -= (parseFloat(x.paddingLeft) || 0) + (parseFloat(x.paddingRight) || 0);
3717
3735
  }
3718
3736
  s.value = a.value?.getBoundingClientRect().width || 0, g.value = k, p.value = u.value?.innerText || "";
3719
3737
  }, u = q({}), s = q(0), g = q(0), p = q(""), h = A(() => [a.value, n.value]), F = pe(
3720
3738
  h,
3721
3739
  (k) => {
3722
3740
  if (r.value && (l(), "ResizeObserver" in window && window)) {
3723
- o = new ResizeObserver((N) => {
3741
+ o = new ResizeObserver((x) => {
3724
3742
  window.requestAnimationFrame(() => {
3725
- !Array.isArray(N) || !N.length || f();
3743
+ !Array.isArray(x) || !x.length || f();
3726
3744
  });
3727
3745
  });
3728
- for (const N of k)
3729
- N && o.observe(N);
3746
+ for (const x of k)
3747
+ x && o.observe(x);
3730
3748
  }
3731
3749
  },
3732
3750
  { immediate: !0, flush: "post", deep: !0 }
@@ -3735,8 +3753,8 @@ ${y.value}
3735
3753
  f();
3736
3754
  }), Sn(() => {
3737
3755
  F();
3738
- }), (k, N) => {
3739
- const v = x("KTooltip");
3756
+ }), (k, x) => {
3757
+ const v = N("KTooltip");
3740
3758
  return c(), T("span", {
3741
3759
  ref_key: "contentRef",
3742
3760
  ref: u,
@@ -3756,17 +3774,17 @@ ${y.value}
3756
3774
  ]),
3757
3775
  _: 3
3758
3776
  }, 8, ["text"])
3759
- ], 8, uo)) : U(k.$slots, "default", { key: 1 }, void 0, !0)
3777
+ ], 8, fo)) : U(k.$slots, "default", { key: 1 }, void 0, !0)
3760
3778
  ], 512);
3761
3779
  };
3762
3780
  }
3763
- }), po = /* @__PURE__ */ ie(fo, [["__scopeId", "data-v-a3a65cac"]]), mo = { class: "toolbar-container" }, yo = {
3781
+ }), mo = /* @__PURE__ */ ie(po, [["__scopeId", "data-v-a3a65cac"]]), yo = { class: "toolbar-container" }, go = {
3764
3782
  key: 0,
3765
3783
  class: "toolbar-button-container"
3766
- }, go = {
3784
+ }, vo = {
3767
3785
  key: 0,
3768
3786
  class: "hidden"
3769
- }, vo = /* @__PURE__ */ X({
3787
+ }, ho = /* @__PURE__ */ X({
3770
3788
  __name: "EntityBaseTable",
3771
3789
  props: {
3772
3790
  // table header configuration
@@ -3922,12 +3940,12 @@ ${y.value}
3922
3940
  }), o = A(() => n.cacheIdentifier || n.preferencesStorageKey), l = A(() => {
3923
3941
  const S = [];
3924
3942
  return Object.keys(n.tableHeaders).forEach((P) => {
3925
- const R = n.tableHeaders[P];
3943
+ const w = n.tableHeaders[P];
3926
3944
  S.push({
3927
- label: R.label ?? P,
3945
+ label: w.label ?? P,
3928
3946
  key: P,
3929
- sortable: R.sortable ?? !1,
3930
- hidable: R.hidable ?? !0
3947
+ sortable: w.sortable ?? !1,
3948
+ hidable: w.hidable ?? !0
3931
3949
  });
3932
3950
  }), n.enableEntityActions && S.push({
3933
3951
  key: "actions",
@@ -3957,7 +3975,7 @@ ${y.value}
3957
3975
  a("click:row", M);
3958
3976
  }), k = (S) => {
3959
3977
  a("sort", S);
3960
- }, { hideTableToolbar: N, handleStateChange: v } = V.useTableState(() => n.query), { setTablePreferences: b, getTablePreferences: B } = Mn(), D = q(B(o.value, n.defaultTablePreferences)), Q = A(() => {
3978
+ }, { hideTableToolbar: x, handleStateChange: v } = V.useTableState(() => n.query), { setTablePreferences: b, getTablePreferences: B } = Mn(), D = q(B(o.value, n.defaultTablePreferences)), Q = A(() => {
3961
3979
  const S = B(o.value);
3962
3980
  return {
3963
3981
  ...n.initialFetcherParams,
@@ -3973,8 +3991,8 @@ ${y.value}
3973
3991
  ...n.paginationAttributes
3974
3992
  }));
3975
3993
  return (S, M) => {
3976
- const P = x("KTableData"), R = x("KCard");
3977
- return c(), I(R, {
3994
+ const P = N("KTableData"), w = N("KCard");
3995
+ return c(), I(w, {
3978
3996
  class: "kong-ui-entity-base-table",
3979
3997
  title: e.title,
3980
3998
  "title-tag": e.titleTag
@@ -3999,7 +4017,7 @@ ${y.value}
3999
4017
  headers: l.value,
4000
4018
  "hide-pagination": e.hidePagination,
4001
4019
  "hide-pagination-when-optional": e.hidePaginationWhenOptional,
4002
- "hide-toolbar": e.hideToolbar ?? d(N),
4020
+ "hide-toolbar": e.hideToolbar ?? d(x),
4003
4021
  "initial-fetcher-params": Q.value,
4004
4022
  loading: e.isLoading,
4005
4023
  "pagination-attributes": O.value,
@@ -4017,11 +4035,11 @@ ${y.value}
4017
4035
  "onUpdate:tablePreferences": _
4018
4036
  }, fe({
4019
4037
  toolbar: m(() => [
4020
- K("div", mo, [
4038
+ K("div", yo, [
4021
4039
  U(S.$slots, "toolbar-filter", {}, void 0, !0),
4022
- S.$slots["toolbar-button"] ? (c(), T("div", yo, [
4040
+ S.$slots["toolbar-button"] ? (c(), T("div", go, [
4023
4041
  U(S.$slots, "toolbar-button", {}, void 0, !0)
4024
- ])) : w("", !0)
4042
+ ])) : R("", !0)
4025
4043
  ])
4026
4044
  ]),
4027
4045
  "action-items": m(({ row: G }) => [
@@ -4039,7 +4057,7 @@ ${y.value}
4039
4057
  ue(e.tableHeaders, (G, de) => ({
4040
4058
  name: de,
4041
4059
  fn: m(({ row: he, rowValue: ce }) => [
4042
- E(po, {
4060
+ E(mo, {
4043
4061
  "key-name": String(de),
4044
4062
  "row-el": s(he),
4045
4063
  tooltip: G.tooltip
@@ -4065,24 +4083,24 @@ ${y.value}
4065
4083
  key: "1"
4066
4084
  }
4067
4085
  ]), 1032, ["cache-identifier", "client-sort", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "error", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "headers", "hide-pagination", "hide-pagination-when-optional", "hide-toolbar", "initial-fetcher-params", "loading", "pagination-attributes", "row-key", "search-input", "sort-handler-function", "sortable", "table-preferences", "onRow:click"]),
4068
- S.$slots["outside-actions"] && d(N) ? (c(), T("div", go, [
4086
+ S.$slots["outside-actions"] && d(x) ? (c(), T("div", vo, [
4069
4087
  U(S.$slots, "outside-actions", {}, void 0, !0)
4070
- ])) : w("", !0)
4088
+ ])) : R("", !0)
4071
4089
  ]),
4072
4090
  _: 3
4073
4091
  }, 8, ["title", "title-tag"]);
4074
4092
  };
4075
4093
  }
4076
- }), Dl = /* @__PURE__ */ ie(vo, [["__scopeId", "data-v-09e101d4"]]), ho = {
4094
+ }), jl = /* @__PURE__ */ ie(ho, [["__scopeId", "data-v-09e101d4"]]), bo = {
4077
4095
  key: 0,
4078
4096
  class: "kong-ui-entity-delete-error"
4079
- }, bo = {
4097
+ }, ko = {
4080
4098
  key: 1,
4081
4099
  class: "description"
4082
- }, ko = {
4100
+ }, Co = {
4083
4101
  key: 2,
4084
4102
  class: "extra"
4085
- }, Co = /* @__PURE__ */ X({
4103
+ }, To = /* @__PURE__ */ X({
4086
4104
  __name: "EntityDeleteModal",
4087
4105
  props: {
4088
4106
  visible: {
@@ -4146,7 +4164,7 @@ ${y.value}
4146
4164
  i("proceed");
4147
4165
  };
4148
4166
  return (u, s) => {
4149
- const g = x("KAlert"), p = x("KPrompt");
4167
+ const g = N("KAlert"), p = N("KPrompt");
4150
4168
  return c(), I(p, {
4151
4169
  "action-button-appearance": "danger",
4152
4170
  "action-button-disabled": e.actionPending || e.confirmDisabled,
@@ -4164,14 +4182,14 @@ ${y.value}
4164
4182
  K("div", {
4165
4183
  class: ne(["body", { "body-stacked-copy": e.stackedCopy }])
4166
4184
  }, [
4167
- e.error ? (c(), T("div", ho, [
4185
+ e.error ? (c(), T("div", bo, [
4168
4186
  E(g, { appearance: "danger" }, {
4169
4187
  default: m(() => [
4170
4188
  L($(e.error), 1)
4171
4189
  ]),
4172
4190
  _: 1
4173
4191
  })
4174
- ])) : w("", !0),
4192
+ ])) : R("", !0),
4175
4193
  U(u.$slots, "message", {}, () => [
4176
4194
  E(d(n), {
4177
4195
  class: "message",
@@ -4192,24 +4210,24 @@ ${y.value}
4192
4210
  } : void 0
4193
4211
  ]), 1032, ["keypath"])
4194
4212
  ], !0),
4195
- a.description || u.$slots.description ? (c(), T("div", bo, [
4213
+ a.description || u.$slots.description ? (c(), T("div", ko, [
4196
4214
  U(u.$slots, "description", {}, () => [
4197
4215
  K("p", null, $(a.description), 1)
4198
4216
  ], !0)
4199
- ])) : w("", !0),
4200
- u.$slots.extra ? (c(), T("div", ko, [
4217
+ ])) : R("", !0),
4218
+ u.$slots.extra ? (c(), T("div", Co, [
4201
4219
  U(u.$slots, "extra", {}, void 0, !0)
4202
- ])) : w("", !0)
4220
+ ])) : R("", !0)
4203
4221
  ], 2)
4204
4222
  ]),
4205
4223
  _: 3
4206
4224
  }, 8, ["action-button-disabled", "class", "confirmation-prompt", "confirmation-text", "title", "visible"]);
4207
4225
  };
4208
4226
  }
4209
- }), jl = /* @__PURE__ */ ie(Co, [["__scopeId", "data-v-61f55f42"]]), To = {
4227
+ }), zl = /* @__PURE__ */ ie(To, [["__scopeId", "data-v-61f55f42"]]), $o = {
4210
4228
  key: 1,
4211
4229
  class: "kong-ui-entity-filter"
4212
- }, $o = { class: "kong-ui-entity-filter-menu" }, So = ["data-testid"], Ao = ["onClick", "onKeydown"], Io = { class: "menu-item-indicator" }, Eo = { class: "menu-item-body" }, _o = ["for"], Oo = { class: "menu-item-buttons" }, Ro = { class: "filter-clear-button-container" }, wo = /* @__PURE__ */ X({
4230
+ }, So = { class: "kong-ui-entity-filter-menu" }, Ao = ["data-testid"], Io = ["onClick", "onKeydown"], Eo = { class: "menu-item-indicator" }, _o = { class: "menu-item-body" }, Oo = ["for"], Ro = { class: "menu-item-buttons" }, wo = { class: "filter-clear-button-container" }, Bo = /* @__PURE__ */ X({
4213
4231
  __name: "EntityFilter",
4214
4232
  props: {
4215
4233
  // filter config, either exact match or fuzzy match
@@ -4255,7 +4273,7 @@ ${y.value}
4255
4273
  i("update:modelValue", _);
4256
4274
  }, h = () => {
4257
4275
  p("");
4258
- }, F = (_) => `filter-${_}`, y = (_) => (a.config.schema?.[_]?.values ?? []).map((O) => typeof O == "string" ? { value: O, label: O } : O), k = (_) => a.config.schema?.[_]?.type ?? "text", N = (_) => {
4276
+ }, F = (_) => `filter-${_}`, y = (_) => (a.config.schema?.[_]?.values ?? []).map((O) => typeof O == "string" ? { value: O, label: O } : O), k = (_) => a.config.schema?.[_]?.type ?? "text", x = (_) => {
4259
4277
  o.value = {
4260
4278
  ...o.value,
4261
4279
  [_]: ""
@@ -4272,7 +4290,7 @@ ${y.value}
4272
4290
  o.value[_] = O ? O.custom ? String(O.label) : String(O.value) : "";
4273
4291
  };
4274
4292
  return (_, O) => {
4275
- const S = x("KInput"), M = x("KButton"), P = x("KSelect");
4293
+ const S = N("KInput"), M = N("KButton"), P = N("KSelect");
4276
4294
  return e.config.isExactMatch ? (c(), I(S, {
4277
4295
  key: 0,
4278
4296
  autocomplete: "off",
@@ -4296,7 +4314,7 @@ ${y.value}
4296
4314
  ])
4297
4315
  ]),
4298
4316
  _: 1
4299
- }, 8, ["model-value", "placeholder"])) : (c(), T("div", To, [
4317
+ }, 8, ["model-value", "placeholder"])) : (c(), T("div", $o, [
4300
4318
  E(M, {
4301
4319
  appearance: "tertiary",
4302
4320
  "data-testid": "filter-button",
@@ -4314,56 +4332,56 @@ ${y.value}
4314
4332
  }, null, 512), [
4315
4333
  [$e, r.value]
4316
4334
  ]),
4317
- Te(K("div", $o, [
4318
- (c(!0), T(ae, null, ue(u.value, (R) => (c(), T("div", {
4319
- key: R.value,
4335
+ Te(K("div", So, [
4336
+ (c(!0), T(ae, null, ue(u.value, (w) => (c(), T("div", {
4337
+ key: w.value,
4320
4338
  class: "kong-ui-entity-filter-menu-item",
4321
- "data-testid": R.value
4339
+ "data-testid": w.value
4322
4340
  }, [
4323
4341
  K("span", {
4324
- class: ne(["menu-item-title", { expanded: l.value.has(R.value) }]),
4342
+ class: ne(["menu-item-title", { expanded: l.value.has(w.value) }]),
4325
4343
  role: "button",
4326
4344
  tabindex: "0",
4327
- onClick: (G) => g(R.value),
4328
- onKeydown: jt((G) => g(R.value), ["enter"])
4345
+ onClick: (G) => g(w.value),
4346
+ onKeydown: jt((G) => g(w.value), ["enter"])
4329
4347
  }, [
4330
- L($(R.label) + " ", 1),
4331
- Te(K("span", Io, null, 512), [
4332
- [$e, f.value.includes(R.value)]
4348
+ L($(w.label) + " ", 1),
4349
+ Te(K("span", Eo, null, 512), [
4350
+ [$e, f.value.includes(w.value)]
4333
4351
  ]),
4334
4352
  E(d(_n), {
4335
- class: ne(["menu-item-expand-icon", { expanded: l.value.has(R.value) }]),
4353
+ class: ne(["menu-item-expand-icon", { expanded: l.value.has(w.value) }]),
4336
4354
  color: `var(--kui-color-text-neutral-weak, ${d(fa)})`
4337
4355
  }, null, 8, ["class", "color"])
4338
- ], 42, Ao),
4339
- Te(K("div", Eo, [
4356
+ ], 42, Io),
4357
+ Te(K("div", _o, [
4340
4358
  K("label", {
4341
4359
  class: "menu-item-label",
4342
- for: F(R.value)
4343
- }, $(d(n)("filter.fieldLabel")), 9, _o),
4344
- e.config.schema?.[R.value]?.type === "select" ? (c(), I(P, {
4360
+ for: F(w.value)
4361
+ }, $(d(n)("filter.fieldLabel")), 9, Oo),
4362
+ e.config.schema?.[w.value]?.type === "select" ? (c(), I(P, {
4345
4363
  key: 0,
4346
- id: F(R.value),
4347
- "enable-filtering": B(R.value),
4348
- "enable-item-creation": e.config.schema?.[R.value]?.enableItemCreation,
4349
- "filter-function": (G) => D(R.value, G),
4350
- items: y(R.value),
4351
- "model-value": o.value[R.value],
4364
+ id: F(w.value),
4365
+ "enable-filtering": B(w.value),
4366
+ "enable-item-creation": e.config.schema?.[w.value]?.enableItemCreation,
4367
+ "filter-function": (G) => D(w.value, G),
4368
+ items: y(w.value),
4369
+ "model-value": o.value[w.value],
4352
4370
  placeholder: d(n)("filter.selectPlaceholder"),
4353
- onChange: (G) => Q(R.value, G)
4371
+ onChange: (G) => Q(w.value, G)
4354
4372
  }, null, 8, ["id", "enable-filtering", "enable-item-creation", "filter-function", "items", "model-value", "placeholder", "onChange"])) : (c(), I(S, {
4355
4373
  key: 1,
4356
- id: F(R.value),
4357
- modelValue: o.value[R.value],
4358
- "onUpdate:modelValue": (G) => o.value[R.value] = G,
4374
+ id: F(w.value),
4375
+ modelValue: o.value[w.value],
4376
+ "onUpdate:modelValue": (G) => o.value[w.value] = G,
4359
4377
  autocomplete: "off",
4360
4378
  placeholder: d(n)("filter.inputPlaceholder"),
4361
- type: k(R.value)
4379
+ type: k(w.value)
4362
4380
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4363
4381
  ], 512), [
4364
- [$e, l.value.has(R.value)]
4382
+ [$e, l.value.has(w.value)]
4365
4383
  ]),
4366
- Te(K("div", Oo, [
4384
+ Te(K("div", Ro, [
4367
4385
  E(M, {
4368
4386
  appearance: "tertiary",
4369
4387
  "data-testid": "apply-filter",
@@ -4379,7 +4397,7 @@ ${y.value}
4379
4397
  appearance: "tertiary",
4380
4398
  "data-testid": "clear-filter",
4381
4399
  size: "small",
4382
- onClick: (G) => N(R.value)
4400
+ onClick: (G) => x(w.value)
4383
4401
  }, {
4384
4402
  default: m(() => [
4385
4403
  L($(d(n)("filter.clearButtonText")), 1)
@@ -4387,10 +4405,10 @@ ${y.value}
4387
4405
  _: 1
4388
4406
  }, 8, ["onClick"])
4389
4407
  ], 512), [
4390
- [$e, l.value.has(R.value)]
4408
+ [$e, l.value.has(w.value)]
4391
4409
  ])
4392
- ], 8, So))), 128)),
4393
- K("div", Ro, [
4410
+ ], 8, Ao))), 128)),
4411
+ K("div", wo, [
4394
4412
  E(M, {
4395
4413
  appearance: "tertiary",
4396
4414
  size: "small",
@@ -4408,7 +4426,7 @@ ${y.value}
4408
4426
  ]));
4409
4427
  };
4410
4428
  }
4411
- }), zl = /* @__PURE__ */ ie(wo, [["__scopeId", "data-v-10015be6"]]), Vl = /* @__PURE__ */ X({
4429
+ }), Vl = /* @__PURE__ */ ie(Bo, [["__scopeId", "data-v-10015be6"]]), Yl = /* @__PURE__ */ X({
4412
4430
  __name: "EntityToggleModal",
4413
4431
  props: {
4414
4432
  visible: {
@@ -4457,7 +4475,7 @@ ${y.value}
4457
4475
  }
4458
4476
  };
4459
4477
  return (g, p) => {
4460
- const h = x("KPrompt");
4478
+ const h = N("KPrompt");
4461
4479
  return c(), I(Dt, { to: "body" }, [
4462
4480
  E(h, {
4463
4481
  "action-button-disabled": o.value,
@@ -4487,7 +4505,7 @@ ${y.value}
4487
4505
  ]);
4488
4506
  };
4489
4507
  }
4490
- }), Yl = /* @__PURE__ */ X({
4508
+ }), Hl = /* @__PURE__ */ X({
4491
4509
  __name: "PermissionsWrapper",
4492
4510
  props: {
4493
4511
  /**
@@ -4515,35 +4533,35 @@ ${y.value}
4515
4533
  }, { immediate: !0 }), (i, r) => a.value ? U(i.$slots, "default", {
4516
4534
  key: 0,
4517
4535
  isAllowed: n.value
4518
- }) : w("", !0);
4536
+ }) : R("", !0);
4519
4537
  }
4520
4538
  }), re = [];
4521
4539
  for (let e = 0; e < 256; ++e)
4522
4540
  re.push((e + 256).toString(16).slice(1));
4523
- function Bo(e, t = 0) {
4541
+ function Ko(e, t = 0) {
4524
4542
  return (re[e[t + 0]] + re[e[t + 1]] + re[e[t + 2]] + re[e[t + 3]] + "-" + re[e[t + 4]] + re[e[t + 5]] + "-" + re[e[t + 6]] + re[e[t + 7]] + "-" + re[e[t + 8]] + re[e[t + 9]] + "-" + re[e[t + 10]] + re[e[t + 11]] + re[e[t + 12]] + re[e[t + 13]] + re[e[t + 14]] + re[e[t + 15]]).toLowerCase();
4525
4543
  }
4526
- const Ko = new Uint8Array(16);
4527
- function No() {
4528
- return crypto.getRandomValues(Ko);
4529
- }
4530
- function xo(e, t, n) {
4531
- return crypto.randomUUID ? crypto.randomUUID() : Fo(e);
4544
+ const No = new Uint8Array(16);
4545
+ function xo() {
4546
+ return crypto.getRandomValues(No);
4532
4547
  }
4533
4548
  function Fo(e, t, n) {
4549
+ return crypto.randomUUID ? crypto.randomUUID() : Po(e);
4550
+ }
4551
+ function Po(e, t, n) {
4534
4552
  e = e || {};
4535
- const a = e.random ?? e.rng?.() ?? No();
4553
+ const a = e.random ?? e.rng?.() ?? xo();
4536
4554
  if (a.length < 16)
4537
4555
  throw new Error("Random bytes length must be >= 16");
4538
- return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Bo(a);
4556
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ko(a);
4539
4557
  }
4540
- const Po = ["aria-labelledby"], Lo = { class: "form-section-wrapper" }, Mo = {
4558
+ const Lo = ["aria-labelledby"], Mo = { class: "form-section-wrapper" }, qo = {
4541
4559
  key: 1,
4542
4560
  class: "form-section-description"
4543
- }, qo = {
4561
+ }, Uo = {
4544
4562
  key: 2,
4545
4563
  class: "form-section-footer"
4546
- }, Uo = { class: "form-section-content" }, Do = /* @__PURE__ */ X({
4564
+ }, Do = { class: "form-section-content" }, jo = /* @__PURE__ */ X({
4547
4565
  __name: "EntityFormSection",
4548
4566
  props: {
4549
4567
  title: {
@@ -4572,14 +4590,14 @@ const Po = ["aria-labelledby"], Lo = { class: "form-section-wrapper" }, Mo = {
4572
4590
  }
4573
4591
  },
4574
4592
  setup(e) {
4575
- const t = Ue(), n = xo();
4593
+ const t = Ue(), n = Fo();
4576
4594
  return (a, i) => (c(), T("div", {
4577
4595
  "aria-labelledby": e.title ? d(n) : void 0,
4578
4596
  class: ne(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4579
4597
  role: "group"
4580
4598
  }, [
4581
- K("div", Lo, [
4582
- e.hideInfoHeader ? w("", !0) : (c(), T("div", {
4599
+ K("div", Mo, [
4600
+ e.hideInfoHeader ? R("", !0) : (c(), T("div", {
4583
4601
  key: 0,
4584
4602
  class: ne(["form-section-info", { sticky: e.stickyInfoHeader }])
4585
4603
  }, [
@@ -4592,41 +4610,41 @@ const Po = ["aria-labelledby"], Lo = { class: "form-section-wrapper" }, Mo = {
4592
4610
  L($(e.title), 1)
4593
4611
  ]),
4594
4612
  _: 1
4595
- }, 8, ["id"])) : w("", !0),
4596
- e.description || d(t).description ? (c(), T("div", Mo, [
4613
+ }, 8, ["id"])) : R("", !0),
4614
+ e.description || d(t).description ? (c(), T("div", qo, [
4597
4615
  U(a.$slots, "description", {}, () => [
4598
4616
  K("p", null, $(e.description), 1)
4599
4617
  ], !0)
4600
- ])) : w("", !0),
4601
- d(t).footer ? (c(), T("div", qo, [
4618
+ ])) : R("", !0),
4619
+ d(t).footer ? (c(), T("div", Uo, [
4602
4620
  U(a.$slots, "footer", {}, void 0, !0)
4603
- ])) : w("", !0)
4621
+ ])) : R("", !0)
4604
4622
  ], 2)),
4605
- K("div", Uo, [
4623
+ K("div", Do, [
4606
4624
  U(a.$slots, "default", {}, void 0, !0)
4607
4625
  ])
4608
4626
  ])
4609
- ], 10, Po));
4627
+ ], 10, Lo));
4610
4628
  }
4611
- }), Hl = /* @__PURE__ */ ie(Do, [["__scopeId", "data-v-ccd29028"]]), jo = { class: "header" }, zo = {
4629
+ }), Wl = /* @__PURE__ */ ie(jo, [["__scopeId", "data-v-ccd29028"]]), zo = { class: "header" }, Vo = {
4612
4630
  key: 0,
4613
4631
  class: "step",
4614
4632
  "data-testid": "form-block-step"
4615
- }, Vo = { class: "header-content" }, Yo = {
4633
+ }, Yo = { class: "header-content" }, Ho = {
4616
4634
  class: "header-title",
4617
4635
  "data-testid": "header-title"
4618
- }, Ho = {
4636
+ }, Wo = {
4619
4637
  key: 0,
4620
4638
  class: "header-description",
4621
4639
  "data-testid": "header-description"
4622
- }, Wo = {
4640
+ }, Go = {
4623
4641
  key: 1,
4624
4642
  class: "header-extra",
4625
4643
  "data-testid": "header-extra"
4626
- }, Go = {
4644
+ }, Jo = {
4627
4645
  class: "content",
4628
4646
  "data-testid": "form-block-content"
4629
- }, Jo = /* @__PURE__ */ X({
4647
+ }, Xo = /* @__PURE__ */ X({
4630
4648
  __name: "EntityFormBlock",
4631
4649
  props: {
4632
4650
  step: { default: () => {
@@ -4641,40 +4659,40 @@ const Po = ["aria-labelledby"], Lo = { class: "form-section-wrapper" }, Mo = {
4641
4659
  stepped: e.step !== void 0 || t.step
4642
4660
  }])
4643
4661
  }, [
4644
- K("header", jo, [
4645
- e.step !== void 0 || t.step ? (c(), T("div", zo, [
4662
+ K("header", zo, [
4663
+ e.step !== void 0 || t.step ? (c(), T("div", Vo, [
4646
4664
  U(n.$slots, "step", {}, () => [
4647
4665
  L($(e.step), 1)
4648
4666
  ], !0)
4649
- ])) : w("", !0),
4650
- K("div", Vo, [
4651
- K("h2", Yo, [
4667
+ ])) : R("", !0),
4668
+ K("div", Yo, [
4669
+ K("h2", Ho, [
4652
4670
  U(n.$slots, "title", {}, () => [
4653
4671
  L($(e.title), 1)
4654
4672
  ], !0)
4655
4673
  ]),
4656
- e.description || t.description ? (c(), T("div", Ho, [
4674
+ e.description || t.description ? (c(), T("div", Wo, [
4657
4675
  U(n.$slots, "description", {}, () => [
4658
4676
  L($(e.description), 1)
4659
4677
  ], !0)
4660
- ])) : w("", !0)
4678
+ ])) : R("", !0)
4661
4679
  ]),
4662
- t.extra ? (c(), T("div", Wo, [
4680
+ t.extra ? (c(), T("div", Go, [
4663
4681
  U(n.$slots, "extra", {}, void 0, !0)
4664
- ])) : w("", !0)
4682
+ ])) : R("", !0)
4665
4683
  ]),
4666
- K("div", Go, [
4684
+ K("div", Jo, [
4667
4685
  U(n.$slots, "default", {}, void 0, !0)
4668
4686
  ])
4669
4687
  ], 2));
4670
4688
  }
4671
- }), Wl = /* @__PURE__ */ ie(Jo, [["__scopeId", "data-v-7dd2f21d"]]), Xo = {
4689
+ }), Gl = /* @__PURE__ */ ie(Xo, [["__scopeId", "data-v-7dd2f21d"]]), Qo = {
4672
4690
  class: "kong-ui-public-entity-link",
4673
4691
  "data-testid": "entity-link-parent"
4674
- }, Qo = {
4692
+ }, Zo = {
4675
4693
  key: 0,
4676
4694
  class: "deleted-entity"
4677
- }, Zo = { key: 1 }, el = ["onClick"], tl = /* @__PURE__ */ X({
4695
+ }, el = { key: 1 }, tl = ["onClick"], nl = /* @__PURE__ */ X({
4678
4696
  __name: "EntityLink",
4679
4697
  props: {
4680
4698
  entityLinkData: {
@@ -4704,9 +4722,9 @@ const Po = ["aria-labelledby"], Lo = { class: "form-section-wrapper" }, Mo = {
4704
4722
  }, 1800));
4705
4723
  };
4706
4724
  return (g, p) => {
4707
- const h = x("KTooltip"), F = x("KExternalLink"), y = x("KClipboardProvider");
4708
- return c(), T("div", Xo, [
4709
- l.value ? (c(), T("div", Qo, $(u.value), 1)) : f.value ? f.value ? (c(), I(F, {
4725
+ const h = N("KTooltip"), F = N("KExternalLink"), y = N("KClipboardProvider");
4726
+ return c(), T("div", Qo, [
4727
+ l.value ? (c(), T("div", Zo, $(u.value), 1)) : f.value ? f.value ? (c(), I(F, {
4710
4728
  key: 2,
4711
4729
  class: "entity-link",
4712
4730
  "hide-icon": !e.newWindow,
@@ -4728,7 +4746,7 @@ const Po = ["aria-labelledby"], Lo = { class: "form-section-wrapper" }, Mo = {
4728
4746
  }, 8, ["text"])
4729
4747
  ]),
4730
4748
  _: 1
4731
- }, 8, ["hide-icon", "href", "target"])) : w("", !0) : (c(), T("div", Zo, $(" – "))),
4749
+ }, 8, ["hide-icon", "href", "target"])) : R("", !0) : (c(), T("div", el, $(" – "))),
4732
4750
  f.value && e.allowCopy ? (c(), I(h, {
4733
4751
  key: o.value,
4734
4752
  class: "copy-uuid-tooltip",
@@ -4741,7 +4759,7 @@ const Po = ["aria-labelledby"], Lo = { class: "form-section-wrapper" }, Mo = {
4741
4759
  default: m(({ copyToClipboard: k }) => [
4742
4760
  K("span", {
4743
4761
  class: "entity-link-copy-id",
4744
- onClick: Re((N) => s(k), ["stop"])
4762
+ onClick: Re((x) => s(k), ["stop"])
4745
4763
  }, [
4746
4764
  E(d(Wt), {
4747
4765
  class: "copy-icon",
@@ -4749,44 +4767,44 @@ const Po = ["aria-labelledby"], Lo = { class: "form-section-wrapper" }, Mo = {
4749
4767
  "data-testid": "copy-id",
4750
4768
  size: `var(--kui-icon-size-30, ${d(Gt)})`
4751
4769
  }, null, 8, ["color", "size"])
4752
- ], 8, el)
4770
+ ], 8, tl)
4753
4771
  ]),
4754
4772
  _: 1
4755
4773
  })
4756
4774
  ]),
4757
4775
  _: 1
4758
- }, 8, ["text"])) : w("", !0)
4776
+ }, 8, ["text"])) : R("", !0)
4759
4777
  ]);
4760
4778
  };
4761
4779
  }
4762
- }), Gl = /* @__PURE__ */ ie(tl, [["__scopeId", "data-v-6668aea9"]]), nl = { class: "kong-ui-public-entity-empty-state" }, al = { class: "entity-empty-state-content" }, il = {
4780
+ }), Jl = /* @__PURE__ */ ie(nl, [["__scopeId", "data-v-6668aea9"]]), al = { class: "kong-ui-public-entity-empty-state" }, il = { class: "entity-empty-state-content" }, rl = {
4763
4781
  key: 0,
4764
4782
  class: "empty-state-image"
4765
- }, rl = {
4783
+ }, ol = {
4766
4784
  key: 1,
4767
4785
  class: "entity-empty-state-title"
4768
- }, ol = {
4786
+ }, ll = {
4769
4787
  key: 2,
4770
4788
  class: "entity-empty-state-description"
4771
- }, ll = {
4789
+ }, sl = {
4772
4790
  key: 3,
4773
4791
  class: "entity-empty-state-pricing"
4774
- }, sl = {
4792
+ }, cl = {
4775
4793
  key: 0,
4776
4794
  class: "entity-empty-state-message"
4777
- }, cl = {
4795
+ }, ul = {
4778
4796
  key: 1,
4779
4797
  class: "entity-empty-state-action"
4780
- }, ul = {
4798
+ }, dl = {
4781
4799
  key: 2,
4782
4800
  class: "entity-empty-state-card-container"
4783
- }, dl = {
4801
+ }, fl = {
4784
4802
  key: 0,
4785
4803
  class: "feature-icon"
4786
- }, fl = { class: "card-header" }, pl = ["title"], ml = {
4804
+ }, pl = { class: "card-header" }, ml = ["title"], yl = {
4787
4805
  key: 3,
4788
4806
  class: "entity-empty-state-bottom-container"
4789
- }, yl = /* @__PURE__ */ X({
4807
+ }, gl = /* @__PURE__ */ X({
4790
4808
  __name: "EntityEmptyState",
4791
4809
  props: {
4792
4810
  appearance: {
@@ -4832,13 +4850,13 @@ const Po = ["aria-labelledby"], Lo = { class: "form-section-wrapper" }, Mo = {
4832
4850
  a.value = await t.canCreate();
4833
4851
  }), De(() => An(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
4834
4852
  Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) => {
4835
- const f = x("KCard");
4836
- return c(), T("div", nl, [
4837
- K("div", al, [
4838
- o.$slots.image ? (c(), T("div", il, [
4853
+ const f = N("KCard");
4854
+ return c(), T("div", al, [
4855
+ K("div", il, [
4856
+ o.$slots.image ? (c(), T("div", rl, [
4839
4857
  U(o.$slots, "image", {}, void 0, !0)
4840
- ])) : w("", !0),
4841
- e.title || o.$slots.title ? (c(), T("div", rl, [
4858
+ ])) : R("", !0),
4859
+ e.title || o.$slots.title ? (c(), T("div", ol, [
4842
4860
  K("h1", {
4843
4861
  class: ne(r.value)
4844
4862
  }, [
@@ -4846,13 +4864,13 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
4846
4864
  L($(e.title), 1)
4847
4865
  ], !0)
4848
4866
  ], 2)
4849
- ])) : w("", !0),
4850
- e.description || o.$slots.default ? (c(), T("div", ol, [
4867
+ ])) : R("", !0),
4868
+ e.description || o.$slots.default ? (c(), T("div", ll, [
4851
4869
  U(o.$slots, "default", {}, () => [
4852
4870
  K("p", null, $(e.description), 1)
4853
4871
  ], !0)
4854
- ])) : w("", !0),
4855
- e.pricing || o.$slots.pricing ? (c(), T("div", ll, [
4872
+ ])) : R("", !0),
4873
+ e.pricing || o.$slots.pricing ? (c(), T("div", sl, [
4856
4874
  K("p", null, [
4857
4875
  K("b", null, $(d(n)("emptyState.pricingTitle")), 1),
4858
4876
  l[2] || (l[2] = L()),
@@ -4860,12 +4878,12 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
4860
4878
  L($(e.pricing), 1)
4861
4879
  ], !0)
4862
4880
  ])
4863
- ])) : w("", !0)
4881
+ ])) : R("", !0)
4864
4882
  ]),
4865
- o.$slots.message ? (c(), T("div", sl, [
4883
+ o.$slots.message ? (c(), T("div", cl, [
4866
4884
  U(o.$slots, "message", {}, void 0, !0)
4867
- ])) : w("", !0),
4868
- i.value || e.learnMore || o.$slots.actions ? (c(), T("div", cl, [
4885
+ ])) : R("", !0),
4886
+ i.value || e.learnMore || o.$slots.actions ? (c(), T("div", ul, [
4869
4887
  U(o.$slots, "actions", {}, () => [
4870
4888
  i.value ? (c(), I(d(Ct), {
4871
4889
  key: 0,
@@ -4879,7 +4897,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
4879
4897
  L(" " + $(e.actionButtonText), 1)
4880
4898
  ]),
4881
4899
  _: 1
4882
- }, 8, ["size"])) : w("", !0),
4900
+ }, 8, ["size"])) : R("", !0),
4883
4901
  e.learnMore ? (c(), I(d(Ct), {
4884
4902
  key: 1,
4885
4903
  appearance: "secondary",
@@ -4892,43 +4910,43 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
4892
4910
  L(" " + $(d(n)("emptyState.learnMore")), 1)
4893
4911
  ]),
4894
4912
  _: 1
4895
- }, 8, ["size"])) : w("", !0)
4913
+ }, 8, ["size"])) : R("", !0)
4896
4914
  ], !0)
4897
- ])) : w("", !0),
4898
- e.features.length ? (c(), T("div", ul, [
4915
+ ])) : R("", !0),
4916
+ e.features.length ? (c(), T("div", dl, [
4899
4917
  (c(!0), T(ae, null, ue(e.features, (u, s) => (c(), I(f, {
4900
4918
  key: `feature-${s}-card`,
4901
4919
  class: "entity-empty-state-card"
4902
4920
  }, {
4903
4921
  title: m(() => [
4904
- o.$slots[`feature-${s}-icon`] ? (c(), T("div", dl, [
4922
+ o.$slots[`feature-${s}-icon`] ? (c(), T("div", fl, [
4905
4923
  U(o.$slots, `feature-${s}-icon`, {}, void 0, !0)
4906
- ])) : w("", !0),
4907
- K("div", fl, $(u.title), 1)
4924
+ ])) : R("", !0),
4925
+ K("div", pl, $(u.title), 1)
4908
4926
  ]),
4909
4927
  default: m(() => [
4910
4928
  K("div", {
4911
4929
  title: u.description
4912
- }, $(u.description), 9, pl)
4930
+ }, $(u.description), 9, ml)
4913
4931
  ]),
4914
4932
  _: 2
4915
4933
  }, 1024))), 128))
4916
- ])) : w("", !0),
4917
- o.$slots.bottom ? (c(), T("div", ml, [
4934
+ ])) : R("", !0),
4935
+ o.$slots.bottom ? (c(), T("div", yl, [
4918
4936
  U(o.$slots, "bottom", {}, void 0, !0)
4919
- ])) : w("", !0)
4937
+ ])) : R("", !0)
4920
4938
  ]);
4921
4939
  };
4922
4940
  }
4923
- }), Jl = /* @__PURE__ */ ie(yl, [["__scopeId", "data-v-0b2e9081"]]), gl = {
4941
+ }), Xl = /* @__PURE__ */ ie(gl, [["__scopeId", "data-v-0b2e9081"]]), vl = {
4924
4942
  key: 0,
4925
4943
  class: "sensitive-input-error-message",
4926
4944
  "data-testid": "sensitive-input-error-message"
4927
- }, vl = { class: "sensitive-input-textarea-actions" }, hl = {
4945
+ }, hl = { class: "sensitive-input-textarea-actions" }, bl = {
4928
4946
  key: 2,
4929
4947
  class: "sensitive-input-hint",
4930
4948
  "data-testid": "sensitive-input-hint"
4931
- }, bl = { class: "sensitive-input-hint-text" }, kl = "••••••••••••••", Cl = /* @__PURE__ */ X({
4949
+ }, kl = { class: "sensitive-input-hint-text" }, Cl = "••••••••••••••", Tl = /* @__PURE__ */ X({
4932
4950
  __name: "SensitiveInput",
4933
4951
  props: {
4934
4952
  modelValue: { default: "" },
@@ -4952,7 +4970,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
4952
4970
  qt((O) => ({
4953
4971
  v26360682: Q.value
4954
4972
  }));
4955
- const a = n, { i18n: { t: i } } = V.useI18n(), r = q(e.mode === "edit" ? "masked" : "editing"), o = q(!1), l = q(!1), f = A(() => r.value === "masked"), u = kl, s = A(() => e.placeholder ?? i("sensitiveInput.placeholder")), g = A(() => e.labels?.rotateLabel ?? i("sensitiveInput.rotateKey")), p = A(() => e.labels?.generateLabel ?? i("sensitiveInput.generateKey")), h = A(() => e.labels?.hintLabel ?? i("sensitiveInput.oneTimeHint")), F = A(() => f.value || o.value ? "text" : "password");
4973
+ const a = n, { i18n: { t: i } } = V.useI18n(), r = q(e.mode === "edit" ? "masked" : "editing"), o = q(!1), l = q(!1), f = A(() => r.value === "masked"), u = Cl, s = A(() => e.placeholder ?? i("sensitiveInput.placeholder")), g = A(() => e.labels?.rotateLabel ?? i("sensitiveInput.rotateKey")), p = A(() => e.labels?.generateLabel ?? i("sensitiveInput.generateKey")), h = A(() => e.labels?.hintLabel ?? i("sensitiveInput.oneTimeHint")), F = A(() => f.value || o.value ? "text" : "password");
4956
4974
  pe(() => e.showOneTimeHint, (O) => {
4957
4975
  O && (o.value = !0);
4958
4976
  }, { immediate: !0 });
@@ -4965,7 +4983,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
4965
4983
  /** Switch to the editable state programmatically, WITHOUT emitting `rotate`. */
4966
4984
  enterEditing: () => k(!1)
4967
4985
  });
4968
- const N = () => {
4986
+ const x = () => {
4969
4987
  o.value = !o.value;
4970
4988
  }, v = async () => {
4971
4989
  if (!(!e.generator || l.value)) {
@@ -4991,14 +5009,14 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
4991
5009
  }), En(() => {
4992
5010
  B?.disconnect(), D !== void 0 && window.cancelAnimationFrame(D);
4993
5011
  }), (O, S) => {
4994
- const M = x("KButton"), P = x("KInput"), R = x("KTextArea"), G = x("KClipboardProvider");
5012
+ const M = N("KButton"), P = N("KInput"), w = N("KTextArea"), G = N("KClipboardProvider");
4995
5013
  return c(), T("div", {
4996
5014
  ref_key: "rootElement",
4997
5015
  ref: b,
4998
5016
  class: "kong-ui-public-sensitive-input"
4999
5017
  }, [
5000
5018
  e.multiline ? (c(), T(ae, { key: 1 }, [
5001
- E(R, {
5019
+ E(w, {
5002
5020
  autocomplete: "off",
5003
5021
  "character-limit": !1,
5004
5022
  "data-testid": "sensitive-input",
@@ -5022,8 +5040,8 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
5022
5040
  key: "0"
5023
5041
  } : void 0
5024
5042
  ]), 1032, ["disabled", "error", "help", "label", "label-attributes", "model-value", "placeholder", "readonly", "required"]),
5025
- e.error && e.errorMessage ? (c(), T("p", gl, $(e.errorMessage), 1)) : w("", !0),
5026
- K("div", vl, [
5043
+ e.error && e.errorMessage ? (c(), T("p", vl, $(e.errorMessage), 1)) : R("", !0),
5044
+ K("div", hl, [
5027
5045
  f.value ? (c(), I(M, {
5028
5046
  key: 0,
5029
5047
  appearance: "tertiary",
@@ -5049,7 +5067,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
5049
5067
  L($(p.value), 1)
5050
5068
  ]),
5051
5069
  _: 1
5052
- }, 8, ["disabled"])) : w("", !0)
5070
+ }, 8, ["disabled"])) : R("", !0)
5053
5071
  ])
5054
5072
  ], 64)) : (c(), I(P, {
5055
5073
  key: 0,
@@ -5095,7 +5113,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
5095
5113
  L($(p.value), 1)
5096
5114
  ]),
5097
5115
  _: 1
5098
- }, 8, ["disabled"])) : w("", !0),
5116
+ }, 8, ["disabled"])) : R("", !0),
5099
5117
  (c(), I(ve(o.value ? d(On) : d(Rn)), {
5100
5118
  "aria-label": o.value ? d(i)("sensitiveInput.hideKey") : d(i)("sensitiveInput.showKey"),
5101
5119
  class: "sensitive-input-toggle",
@@ -5104,8 +5122,8 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
5104
5122
  role: "button",
5105
5123
  size: `var(--kui-icon-size-40, ${d(Ee)})`,
5106
5124
  tabindex: "0",
5107
- onClick: N,
5108
- onKeydown: jt(Re(N, ["prevent"]), ["enter", "space"])
5125
+ onClick: x,
5126
+ onKeydown: jt(Re(x, ["prevent"]), ["enter", "space"])
5109
5127
  }, null, 40, ["aria-label", "size", "onKeydown"]))
5110
5128
  ], 64))
5111
5129
  ]),
@@ -5119,13 +5137,13 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
5119
5137
  key: "0"
5120
5138
  } : void 0
5121
5139
  ]), 1032, ["disabled", "error", "error-message", "help", "label", "label-attributes", "model-value", "placeholder", "readonly", "required", "type"])),
5122
- e.showOneTimeHint ? (c(), T("div", hl, [
5140
+ e.showOneTimeHint ? (c(), T("div", bl, [
5123
5141
  E(d(Vt), {
5124
5142
  class: "sensitive-input-hint-icon",
5125
5143
  color: `var(--kui-color-text-info, ${d(ca)})`,
5126
5144
  size: `var(--kui-icon-size-40, ${d(Ee)})`
5127
5145
  }, null, 8, ["color", "size"]),
5128
- K("span", bl, $(h.value), 1),
5146
+ K("span", kl, $(h.value), 1),
5129
5147
  E(G, null, {
5130
5148
  default: m(({ copyToClipboard: de }) => [
5131
5149
  E(M, {
@@ -5147,12 +5165,12 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
5147
5165
  ]),
5148
5166
  _: 1
5149
5167
  })
5150
- ])) : w("", !0),
5168
+ ])) : R("", !0),
5151
5169
  U(O.$slots, "alert", {}, void 0, !0)
5152
5170
  ], 512);
5153
5171
  };
5154
5172
  }
5155
- }), Xl = /* @__PURE__ */ ie(Cl, [["__scopeId", "data-v-66fa7fb5"]]), Tl = { key: 1 }, Ql = /* @__PURE__ */ X({
5173
+ }), Ql = /* @__PURE__ */ ie(Tl, [["__scopeId", "data-v-66fa7fb5"]]), $l = { key: 1 }, Zl = /* @__PURE__ */ X({
5156
5174
  __name: "TableTags",
5157
5175
  props: {
5158
5176
  /** The tags to display in the table */
@@ -5193,68 +5211,68 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (o, l) =>
5193
5211
  }, 1032, ["max-width"]))), 128))
5194
5212
  ]),
5195
5213
  _: 1
5196
- })) : (c(), T("span", Tl, "-"));
5214
+ })) : (c(), T("span", $l, "-"));
5197
5215
  }
5198
- }), { useAxios: Zl, useDeleteUrlBuilder: es, useBaseEntityDeckOptions: ts, useBaseFormDeckOptions: ns, useErrors: as, useExternalLinkCreator: is, useFetchUrlBuilder: rs, useFetcher: os, useFetcherCacheKey: ls, useDebouncedFilter: ss, useStringHelpers: cs, useHelpers: us, useGatewayFeatureSupported: ds, useTruncationDetector: fs, useValidators: ps, useSchema: ms, useSchemaProvider: ys, useTableState: gs } = V;
5216
+ }), { useAxios: es, useDeleteUrlBuilder: ts, useBaseEntityDeckOptions: ns, useBaseFormDeckOptions: as, useErrors: is, useExternalLinkCreator: rs, useFetchUrlBuilder: os, useFetcher: ls, useFetcherCacheKey: ss, useDebouncedFilter: cs, useStringHelpers: us, useHelpers: ds, useGatewayFeatureSupported: fs, useTruncationDetector: ps, useValidators: ms, useSchema: ys, useSchemaProvider: gs, useTableState: vs } = V;
5199
5217
  export {
5200
5218
  Tt as Appearances,
5201
- Ll as BASE_FORM_CONFIG_TABS,
5219
+ Ml as BASE_FORM_CONFIG_TABS,
5202
5220
  we as CONFIG_CARD_CODE_BLOCK_MAX_HEIGHT,
5203
5221
  Pn as CONFIG_CARD_FORMATS,
5204
- eo as ConfigCardDisplay,
5222
+ to as ConfigCardDisplay,
5205
5223
  Xt as ConfigCardItem,
5206
5224
  se as ConfigurationSchemaSection,
5207
5225
  J as ConfigurationSchemaType,
5208
5226
  xn as DECK_COMMAND_EDITOR_KEY,
5209
5227
  Fn as DECK_COMMAND_EDITOR_MISSING_WARNING,
5210
5228
  yn as DeckCodeBlock,
5211
- ql as EntityBaseConfigCard,
5212
- Ul as EntityBaseForm,
5229
+ Ul as EntityBaseConfigCard,
5230
+ Dl as EntityBaseForm,
5213
5231
  ta as EntityBaseFormType,
5214
- Dl as EntityBaseTable,
5215
- jl as EntityDeleteModal,
5216
- Jl as EntityEmptyState,
5217
- zl as EntityFilter,
5218
- Wl as EntityFormBlock,
5219
- Hl as EntityFormSection,
5220
- Gl as EntityLink,
5221
- Vl as EntityToggleModal,
5232
+ jl as EntityBaseTable,
5233
+ zl as EntityDeleteModal,
5234
+ Xl as EntityEmptyState,
5235
+ Vl as EntityFilter,
5236
+ Gl as EntityFormBlock,
5237
+ Wl as EntityFormSection,
5238
+ Jl as EntityLink,
5239
+ Yl as EntityToggleModal,
5222
5240
  ea as EntityTypes,
5223
5241
  Kn as EventGatewayTypesArray,
5224
- bs as FetcherStatus,
5225
- zr as GeneratePatModal,
5242
+ ks as FetcherStatus,
5243
+ Vr as GeneratePatModal,
5226
5244
  Nn as IdentityTypesArray,
5227
- Oa as InternalLinkItem,
5245
+ Ra as InternalLinkItem,
5228
5246
  Qt as JsonCodeBlock,
5229
- Ml as OnboardingCard,
5247
+ ql as OnboardingCard,
5230
5248
  Ln as PLUGIN_FORM_LAYOUT_STATE,
5231
- Yl as PermissionsWrapper,
5249
+ Hl as PermissionsWrapper,
5232
5250
  Bn as SHIKI_MAX_HIGHLIGHT_LENGTH,
5233
- Xl as SensitiveInput,
5234
- ks as SupportedEntityDeckArray,
5251
+ Ql as SensitiveInput,
5252
+ Cs as SupportedEntityDeckArray,
5235
5253
  ke as SupportedEntityType,
5236
5254
  je as SupportedEntityTypesArray,
5237
- Ql as TableTags,
5255
+ Zl as TableTags,
5238
5256
  mn as TerraformCodeBlock,
5239
5257
  pn as YamlCodeBlock,
5240
5258
  Ae as highlightCodeBlock,
5241
- Cs as isSupportedDeckEntityType,
5242
- Zl as useAxios,
5243
- ts as useBaseEntityDeckOptions,
5244
- ns as useBaseFormDeckOptions,
5245
- ss as useDebouncedFilter,
5246
- es as useDeleteUrlBuilder,
5247
- as as useErrors,
5248
- is as useExternalLinkCreator,
5249
- rs as useFetchUrlBuilder,
5250
- os as useFetcher,
5251
- ls as useFetcherCacheKey,
5252
- ds as useGatewayFeatureSupported,
5253
- us as useHelpers,
5254
- ms as useSchema,
5255
- ys as useSchemaProvider,
5256
- cs as useStringHelpers,
5257
- gs as useTableState,
5258
- fs as useTruncationDetector,
5259
- ps as useValidators
5259
+ Ts as isSupportedDeckEntityType,
5260
+ es as useAxios,
5261
+ ns as useBaseEntityDeckOptions,
5262
+ as as useBaseFormDeckOptions,
5263
+ cs as useDebouncedFilter,
5264
+ ts as useDeleteUrlBuilder,
5265
+ is as useErrors,
5266
+ rs as useExternalLinkCreator,
5267
+ os as useFetchUrlBuilder,
5268
+ ls as useFetcher,
5269
+ ss as useFetcherCacheKey,
5270
+ fs as useGatewayFeatureSupported,
5271
+ ds as useHelpers,
5272
+ ys as useSchema,
5273
+ gs as useSchemaProvider,
5274
+ us as useStringHelpers,
5275
+ vs as useTableState,
5276
+ ps as useTruncationDetector,
5277
+ ms as useValidators
5260
5278
  };