@kong-ui-public/app-layout 4.7.0 → 4.7.1-pr.2439.d4011e268.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,7 +1,7 @@
1
- import { defineComponent as Q, resolveComponent as me, createBlock as z, openBlock as p, withCtx as R, renderSlot as S, createElementBlock as _, Fragment as be, renderList as he, normalizeClass as ne, createTextVNode as Ae, toDisplayString as U, computed as T, createSlots as We, createVNode as Ne, createCommentVNode as O, createElementVNode as $, createStaticVNode as hn, useCssVars as bt, reactive as He, useSlots as Ye, onMounted as Je, resolveDynamicComponent as ze, withKeys as mn, ref as J, watch as Fe, onUnmounted as gn, Comment as yn, cloneVNode as wn, nextTick as Mt, onBeforeUnmount as Wt, unref as Gt, withModifiers as kn, watchEffect as _n, toRef as Tn } from "vue";
2
- import { ChevronRightIcon as Sn } from "@kong/icons";
3
- import { HeaderTags as In } from "@kong/kongponents";
4
- const On = /* @__PURE__ */ Q({
1
+ import { defineComponent as re, resolveComponent as ve, createBlock as K, openBlock as b, withCtx as B, renderSlot as T, createElementBlock as w, Fragment as Oe, renderList as we, normalizeClass as oe, createTextVNode as Re, toDisplayString as Y, computed as _, createSlots as Ue, createVNode as xe, createCommentVNode as I, createElementVNode as O, createStaticVNode as mn, useCssVars as pt, reactive as Ge, useSlots as Je, onMounted as Qe, resolveDynamicComponent as $e, withKeys as gn, ref as ee, watch as Be, onUnmounted as yn, Comment as wn, cloneVNode as kn, nextTick as Pt, onBeforeUnmount as Ut, unref as ge, withModifiers as _n, watchEffect as Tn, toRef as Cn } from "vue";
2
+ import { ChevronRightIcon as Wt, ChevronDownIcon as In } from "@kong/icons";
3
+ import { KButton as Sn, HeaderTags as On } from "@kong/kongponents";
4
+ const $n = /* @__PURE__ */ re({
5
5
  __name: "AccountDropdown",
6
6
  props: {
7
7
  options: {
@@ -21,25 +21,25 @@ const On = /* @__PURE__ */ Q({
21
21
  },
22
22
  setup(n) {
23
23
  return (t, r) => {
24
- const a = me("KDropdownItem"), s = me("KDropdown");
25
- return p(), z(s, {
24
+ const a = ve("KDropdownItem"), s = ve("KDropdown");
25
+ return b(), K(s, {
26
26
  class: "account-dropdown",
27
27
  "kpop-attributes": { placement: "bottom-end" },
28
28
  "trigger-text": n.userInitials,
29
29
  width: n.width
30
30
  }, {
31
- items: R(({ handleSelection: u }) => [
32
- S(t.$slots, "default", {}, () => [
33
- (p(!0), _(be, null, he(n.options, (o) => (p(), z(a, {
31
+ items: B(({ handleSelection: u }) => [
32
+ T(t.$slots, "default", {}, () => [
33
+ (b(!0), w(Oe, null, we(n.options, (o) => (b(), K(a, {
34
34
  key: o.value,
35
- class: ne({ "has-divider": o.hasDivider }),
35
+ class: oe({ "has-divider": o.hasDivider }),
36
36
  "data-testid": "select-" + o.value,
37
37
  "has-divider": o.hasDivider,
38
- onClick: (f) => u(o)
38
+ onClick: (v) => u(o)
39
39
  }, {
40
- default: R(() => [
41
- S(t.$slots, "default", { option: o }, () => [
42
- Ae(U(o.label), 1)
40
+ default: B(() => [
41
+ T(t.$slots, "default", { option: o }, () => [
42
+ Re(Y(o.label), 1)
43
43
  ], !0)
44
44
  ]),
45
45
  _: 2
@@ -50,48 +50,48 @@ const On = /* @__PURE__ */ Q({
50
50
  }, 8, ["trigger-text", "width"]);
51
51
  };
52
52
  }
53
- }), ee = (n, t) => {
53
+ }), ie = (n, t) => {
54
54
  const r = n.__vccOpts || n;
55
55
  for (const [a, s] of t)
56
56
  r[a] = s;
57
57
  return r;
58
- }, Ki = /* @__PURE__ */ ee(On, [["__scopeId", "data-v-b33191a2"]]), $n = {
58
+ }, Wi = /* @__PURE__ */ ie($n, [["__scopeId", "data-v-b33191a2"]]), En = {
59
59
  class: "about-section-title",
60
60
  "data-testid": "about-section-title"
61
- }, Cn = { class: "about-section-header-end" }, En = {
61
+ }, An = { class: "about-section-header-end" }, Fn = {
62
62
  key: 0,
63
63
  class: "about-section-timestamps-created",
64
64
  "data-testid": "about-section-timestamps-created"
65
- }, An = {
65
+ }, Nn = {
66
66
  key: 1,
67
67
  class: "about-section-timestamps-arrow"
68
- }, Nn = {
68
+ }, Dn = {
69
69
  key: 2,
70
70
  class: "about-section-timestamps-modified",
71
71
  "data-testid": "about-section-timestamps-modified"
72
- }, Fn = {
72
+ }, Rn = {
73
73
  key: 1,
74
74
  class: "about-section-actions",
75
75
  "data-testid": "about-section-actions"
76
- }, Dn = {
76
+ }, xn = {
77
77
  key: 0,
78
78
  "data-testid": "about-section-loading-skeleton"
79
- }, Rn = { key: 1 }, xn = {
79
+ }, Bn = { key: 1 }, Ln = {
80
80
  key: 0,
81
81
  class: "about-section-description",
82
82
  "data-testid": "about-section-description"
83
- }, Bn = {
83
+ }, Mn = {
84
84
  key: 1,
85
85
  class: "about-section-content",
86
86
  "data-testid": "about-section-content"
87
- }, Ln = {
87
+ }, Pn = {
88
88
  key: 2,
89
89
  "data-testid": "about-divider-section-separator"
90
- }, Mn = {
90
+ }, jn = {
91
91
  key: 3,
92
92
  class: "about-divider-section",
93
93
  "data-testid": "about-divider-section"
94
- }, Pn = /* @__PURE__ */ Q({
94
+ }, Kn = /* @__PURE__ */ re({
95
95
  __name: "AppAboutSection",
96
96
  props: {
97
97
  title: { default: "" },
@@ -103,42 +103,42 @@ const On = /* @__PURE__ */ Q({
103
103
  isLoading: { type: Boolean, default: !1 }
104
104
  },
105
105
  setup(n) {
106
- const t = n, r = T(() => !!t.modified && t.modified !== t.created);
106
+ const t = n, r = _(() => !!t.modified && t.modified !== t.created);
107
107
  return (a, s) => {
108
- const u = me("KSkeletonBox"), o = me("KCard");
109
- return p(), z(o, {
108
+ const u = ve("KSkeletonBox"), o = ve("KCard");
109
+ return b(), K(o, {
110
110
  class: "kong-ui-app-about-section",
111
111
  "title-tag": "h2"
112
- }, We({
113
- default: R(() => [
114
- a.isLoading ? (p(), _("div", Dn, [
115
- Ne(u, {
112
+ }, Ue({
113
+ default: B(() => [
114
+ a.isLoading ? (b(), w("div", xn, [
115
+ xe(u, {
116
116
  height: "2",
117
117
  width: "100"
118
118
  }),
119
- Ne(u, {
119
+ xe(u, {
120
120
  height: "2",
121
121
  width: "100"
122
122
  })
123
- ])) : (p(), _("div", Rn, [
124
- a.description ? (p(), _("p", xn, U(a.description), 1)) : O("", !0),
125
- a.$slots.default ? (p(), _("div", Bn, [
126
- S(a.$slots, "default", {}, void 0, !0)
127
- ])) : O("", !0),
128
- a.$slots["divider-section"] ? (p(), _("hr", Ln)) : O("", !0),
129
- a.$slots["divider-section"] ? (p(), _("div", Mn, [
130
- S(a.$slots, "divider-section", {}, void 0, !0)
131
- ])) : O("", !0)
123
+ ])) : (b(), w("div", Bn, [
124
+ a.description ? (b(), w("p", Ln, Y(a.description), 1)) : I("", !0),
125
+ a.$slots.default ? (b(), w("div", Mn, [
126
+ T(a.$slots, "default", {}, void 0, !0)
127
+ ])) : I("", !0),
128
+ a.$slots["divider-section"] ? (b(), w("hr", Pn)) : I("", !0),
129
+ a.$slots["divider-section"] ? (b(), w("div", jn, [
130
+ T(a.$slots, "divider-section", {}, void 0, !0)
131
+ ])) : I("", !0)
132
132
  ]))
133
133
  ]),
134
134
  _: 2
135
135
  }, [
136
136
  a.$slots.title || a.title ? {
137
137
  name: "title",
138
- fn: R(() => [
139
- $("span", $n, [
140
- S(a.$slots, "title", {}, () => [
141
- Ae(U(a.title), 1)
138
+ fn: B(() => [
139
+ O("span", En, [
140
+ T(a.$slots, "title", {}, () => [
141
+ Re(Y(a.title), 1)
142
142
  ], !0)
143
143
  ])
144
144
  ]),
@@ -146,19 +146,19 @@ const On = /* @__PURE__ */ Q({
146
146
  } : void 0,
147
147
  a.$slots.actions || a.created || a.modified ? {
148
148
  name: "actions",
149
- fn: R(() => [
150
- $("div", Cn, [
151
- a.created || a.modified ? (p(), _("div", {
149
+ fn: B(() => [
150
+ O("div", An, [
151
+ a.created || a.modified ? (b(), w("div", {
152
152
  key: 0,
153
- class: ne(["about-section-timestamps", { "has-actions": a.$slots.actions }])
153
+ class: oe(["about-section-timestamps", { "has-actions": a.$slots.actions }])
154
154
  }, [
155
- a.created ? (p(), _("span", En, U(a.createdLabel) + ": " + U(a.created), 1)) : O("", !0),
156
- a.created && r.value ? (p(), _("span", An, "->")) : O("", !0),
157
- r.value ? (p(), _("span", Nn, U(a.modifiedLabel) + ": " + U(a.modified), 1)) : O("", !0)
158
- ], 2)) : O("", !0),
159
- a.$slots.actions ? (p(), _("div", Fn, [
160
- S(a.$slots, "actions", {}, void 0, !0)
161
- ])) : O("", !0)
155
+ a.created ? (b(), w("span", Fn, Y(a.createdLabel) + ": " + Y(a.created), 1)) : I("", !0),
156
+ a.created && r.value ? (b(), w("span", Nn, "->")) : I("", !0),
157
+ r.value ? (b(), w("span", Dn, Y(a.modifiedLabel) + ": " + Y(a.modified), 1)) : I("", !0)
158
+ ], 2)) : I("", !0),
159
+ a.$slots.actions ? (b(), w("div", Rn, [
160
+ T(a.$slots, "actions", {}, void 0, !0)
161
+ ])) : I("", !0)
162
162
  ])
163
163
  ]),
164
164
  key: "1"
@@ -166,40 +166,40 @@ const On = /* @__PURE__ */ Q({
166
166
  ]), 1024);
167
167
  };
168
168
  }
169
- }), Hi = /* @__PURE__ */ ee(Pn, [["__scopeId", "data-v-f5864a9c"]]), jn = {}, Zn = {
169
+ }), Vi = /* @__PURE__ */ ie(Kn, [["__scopeId", "data-v-f5864a9c"]]), Zn = {}, Hn = {
170
170
  fill: "none",
171
171
  height: "130",
172
172
  width: "130",
173
173
  xmlns: "http://www.w3.org/2000/svg"
174
174
  };
175
- function Kn(n, t) {
176
- return p(), _("svg", Zn, t[0] || (t[0] = [
177
- hn('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>', 5)
175
+ function zn(n, t) {
176
+ return b(), w("svg", Hn, t[0] || (t[0] = [
177
+ mn('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>', 5)
178
178
  ]));
179
179
  }
180
- const Hn = /* @__PURE__ */ ee(jn, [["render", Kn]]), zn = { class: "kong-ui-app-error" }, Wn = { class: "banana-icon" }, Gn = { class: "kong-ui-app-error-content" }, Un = /* @__PURE__ */ Q({
180
+ const Gn = /* @__PURE__ */ ie(Zn, [["render", zn]]), Un = { class: "kong-ui-app-error" }, Wn = { class: "banana-icon" }, Vn = { class: "kong-ui-app-error-content" }, qn = /* @__PURE__ */ re({
181
181
  __name: "AppError",
182
182
  setup(n) {
183
- return (t, r) => (p(), _("section", zn, [
184
- $("div", Wn, [
185
- Ne(Hn)
183
+ return (t, r) => (b(), w("section", Un, [
184
+ O("div", Wn, [
185
+ xe(Gn)
186
186
  ]),
187
- $("div", Gn, [
188
- S(t.$slots, "default", {}, () => [
189
- r[0] || (r[0] = $("h2", null, "An unexpected error has occurred", -1)),
190
- r[1] || (r[1] = $("p", null, [
191
- Ae("Go back to the previous page or "),
192
- $("a", { href: "/" }, "return home"),
193
- Ae(".")
187
+ O("div", Vn, [
188
+ T(t.$slots, "default", {}, () => [
189
+ r[0] || (r[0] = O("h2", null, "An unexpected error has occurred", -1)),
190
+ r[1] || (r[1] = O("p", null, [
191
+ Re("Go back to the previous page or "),
192
+ O("a", { href: "/" }, "return home"),
193
+ Re(".")
194
194
  ], -1))
195
195
  ], !0)
196
196
  ])
197
197
  ]));
198
198
  }
199
- }), zi = /* @__PURE__ */ ee(Un, [["__scopeId", "data-v-b6d8dc55"]]), Vn = { class: "kong-ui-app-navbar" }, qn = { class: "header-content" }, Xn = { class: "mobile-header-left" }, Yn = {
199
+ }), qi = /* @__PURE__ */ ie(qn, [["__scopeId", "data-v-b6d8dc55"]]), Xn = { class: "kong-ui-app-navbar" }, Yn = { class: "header-content" }, Jn = { class: "mobile-header-left" }, Qn = {
200
200
  key: 0,
201
201
  class: "app-navbar-logo"
202
- }, Jn = { class: "navbar-content" }, Qn = { class: "navbar-content-left" }, er = { class: "navbar-content-center" }, tr = { class: "navbar-content-right" }, ar = /* @__PURE__ */ Q({
202
+ }, er = { class: "navbar-content" }, tr = { class: "navbar-content-left" }, ar = { class: "navbar-content-center" }, nr = { class: "navbar-content-right" }, rr = /* @__PURE__ */ re({
203
203
  __name: "AppNavbar",
204
204
  props: {
205
205
  topOffset: {
@@ -217,50 +217,50 @@ const Hn = /* @__PURE__ */ ee(jn, [["render", Kn]]), zn = { class: "kong-ui-app-
217
217
  }
218
218
  },
219
219
  setup(n) {
220
- bt((o) => ({
220
+ pt((o) => ({
221
221
  "27c93a10": u.value.top,
222
222
  "0f284bf5": u.value.zIndex,
223
223
  d1659a78: u.value.left,
224
224
  "3d9232e8": s.marginRight,
225
225
  "038c3c78": s.width
226
226
  }));
227
- const t = n, r = Ye(), a = T(() => !!r.logo), s = He({
227
+ const t = n, r = Je(), a = _(() => !!r.logo), s = Ge({
228
228
  marginRight: "0",
229
229
  width: "0"
230
230
  });
231
- Je(() => {
232
- var o, f;
233
- (f = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && f.length ? (s.marginRight = "32px", s.width = "calc(240px - 32px)") : (s.marginRight = "0", s.width = "0");
231
+ Qe(() => {
232
+ var o, v;
233
+ (v = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && v.length ? (s.marginRight = "32px", s.width = "calc(240px - 32px)") : (s.marginRight = "0", s.width = "0");
234
234
  });
235
- const u = T(() => ({
235
+ const u = _(() => ({
236
236
  top: t.topOffset ? `${t.topOffset}px` : "0",
237
237
  left: t.leftOffset ? `${t.leftOffset}px` : "0",
238
238
  zIndex: t.zIndex
239
239
  }));
240
- return (o, f) => (p(), _("header", Vn, [
241
- $("div", qn, [
242
- $("div", Xn, [
243
- S(o.$slots, "mobile-sidebar-toggle"),
244
- S(o.$slots, "mobile-logo")
240
+ return (o, v) => (b(), w("header", Xn, [
241
+ O("div", Yn, [
242
+ O("div", Jn, [
243
+ T(o.$slots, "mobile-sidebar-toggle"),
244
+ T(o.$slots, "mobile-logo")
245
245
  ]),
246
- a.value ? (p(), _("div", Yn, [
247
- S(o.$slots, "logo")
248
- ])) : O("", !0),
249
- $("div", Jn, [
250
- $("div", Qn, [
251
- S(o.$slots, "left")
246
+ a.value ? (b(), w("div", Qn, [
247
+ T(o.$slots, "logo")
248
+ ])) : I("", !0),
249
+ O("div", er, [
250
+ O("div", tr, [
251
+ T(o.$slots, "left")
252
252
  ]),
253
- $("div", er, [
254
- S(o.$slots, "center")
253
+ O("div", ar, [
254
+ T(o.$slots, "center")
255
255
  ]),
256
- $("div", tr, [
257
- S(o.$slots, "right")
256
+ O("div", nr, [
257
+ T(o.$slots, "right")
258
258
  ])
259
259
  ])
260
260
  ])
261
261
  ]));
262
262
  }
263
- }), nr = /* @__PURE__ */ ee(ar, [["__scopeId", "data-v-2f6fc50f"]]), rr = ["title"], ut = 99, ir = /* @__PURE__ */ Q({
263
+ }), ir = /* @__PURE__ */ ie(rr, [["__scopeId", "data-v-2f6fc50f"]]), or = "#ffffff", sr = "#000933", lr = "#000933", cr = "#ffffff", ur = "0px", dr = "4px", fr = "640px", vr = "16px", br = "#bee2ff", pr = ["title"], dt = 99, hr = /* @__PURE__ */ re({
264
264
  __name: "ItemBadge",
265
265
  props: {
266
266
  count: {
@@ -270,20 +270,20 @@ const Hn = /* @__PURE__ */ ee(jn, [["render", Kn]]), zn = { class: "kong-ui-app-
270
270
  }
271
271
  },
272
272
  setup(n) {
273
- const t = n, r = T(() => t.count ? t.count > ut ? `${ut}+` : t.count.toString() : "");
274
- return (a, s) => r.value ? (p(), _("div", {
273
+ const t = n, r = _(() => t.count ? t.count > dt ? `${dt}+` : t.count.toString() : "");
274
+ return (a, s) => r.value ? (b(), w("div", {
275
275
  key: 0,
276
276
  class: "item-badge",
277
- title: (n.count || 0) > ut ? String(n.count) : void 0
278
- }, U(r.value), 9, rr)) : O("", !0);
277
+ title: (n.count || 0) > dt ? String(n.count) : void 0
278
+ }, Y(r.value), 9, pr)) : I("", !0);
279
279
  }
280
- }), or = /* @__PURE__ */ ee(ir, [["__scopeId", "data-v-afb0d903"]]), sr = ["data-testid"], cr = ["aria-controls", "aria-current", "aria-expanded", "href", "target", "onClick", "onKeypress"], lr = {
280
+ }), mr = /* @__PURE__ */ ie(hr, [["__scopeId", "data-v-afb0d903"]]), gr = ["data-testid"], yr = ["aria-controls", "aria-current", "aria-expanded", "href", "target", "onClick", "onKeypress"], wr = {
281
281
  key: 0,
282
282
  class: "sidebar-item-icon"
283
- }, ur = { class: "sidebar-item-name-container" }, dr = { class: "sidebar-item-name has-tooltip" }, fr = {
283
+ }, kr = { class: "sidebar-item-name-container" }, _r = { class: "sidebar-item-name has-tooltip" }, Tr = {
284
284
  key: 2,
285
285
  class: "sidebar-item-label truncate-text truncate-18"
286
- }, vr = ["id"], br = /* @__PURE__ */ Q({
286
+ }, Cr = ["id"], Ir = /* @__PURE__ */ re({
287
287
  __name: "SidebarItem",
288
288
  props: {
289
289
  item: {
@@ -298,167 +298,167 @@ const Hn = /* @__PURE__ */ ee(jn, [["render", Kn]]), zn = { class: "kong-ui-app-
298
298
  },
299
299
  emits: ["click"],
300
300
  setup(n, { emit: t }) {
301
- const r = t, a = n, s = T(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), u = T(() => !a.item.to || typeof a.item.to != "string" || !a.item.newWindow ? !1 : a.item.newWindow && (a.item.to.startsWith("http") || a.item.to.startsWith("/"))), o = T(() => a.subnavItem && a.item.badgeCount !== void 0 && a.item.badgeCount !== 0), f = (E) => {
301
+ const r = t, a = n, s = _(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), u = _(() => !a.item.to || typeof a.item.to != "string" || !a.item.newWindow ? !1 : a.item.newWindow && (a.item.to.startsWith("http") || a.item.to.startsWith("/"))), o = _(() => a.subnavItem && a.item.badgeCount !== void 0 && a.item.badgeCount !== 0), v = (E) => {
302
302
  r("click", E);
303
- }, g = (E, F, N) => {
304
- f(F), typeof N == "function" && (E.preventDefault(), N());
303
+ }, y = (E, x, R) => {
304
+ v(x), typeof R == "function" && (E.preventDefault(), R());
305
305
  };
306
- return (E, F) => {
307
- var L;
308
- const N = me("KTooltip"), x = me("SidebarItem", !0);
309
- return p(), _("li", {
310
- class: ne([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
306
+ return (E, x) => {
307
+ var j;
308
+ const R = ve("KTooltip"), M = ve("SidebarItem", !0);
309
+ return b(), w("li", {
310
+ class: oe([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
311
311
  "data-testid": n.item.testId ? `sidebar-item-${n.item.testId}` : void 0
312
312
  }, [
313
- (p(), z(ze(s.value ? "div" : "router-link"), {
313
+ (b(), K($e(s.value ? "div" : "router-link"), {
314
314
  custom: s.value ? void 0 : !0,
315
315
  to: !s.value && !u.value ? n.item.to : void 0
316
316
  }, {
317
- default: R((I) => {
318
- var Z, P;
317
+ default: B((C) => {
318
+ var W, V;
319
319
  return [
320
- $("a", {
321
- "aria-controls": (Z = n.item.items) != null && Z.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
320
+ O("a", {
321
+ "aria-controls": (W = n.item.items) != null && W.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
322
322
  "aria-current": n.item.active ? "page" : void 0,
323
- "aria-expanded": (P = n.item.items) != null && P.length && n.item.expanded ? !0 : void 0,
324
- class: ne(["sidebar-item-link", { "sidebar-item-external-link": u.value, "router-link": !s.value }]),
325
- href: s.value ? String(n.item.to || "#") : I == null ? void 0 : I.href,
323
+ "aria-expanded": (V = n.item.items) != null && V.length && n.item.expanded ? !0 : void 0,
324
+ class: oe(["sidebar-item-link", { "sidebar-item-external-link": u.value, "router-link": !s.value }]),
325
+ href: s.value ? String(n.item.to || "#") : C == null ? void 0 : C.href,
326
326
  target: u.value ? "_blank" : void 0,
327
- onClick: (B) => g(B, n.item, I == null ? void 0 : I.navigate),
328
- onKeypress: mn((B) => g(B, n.item, I == null ? void 0 : I.navigate), ["enter"])
327
+ onClick: (L) => y(L, n.item, C == null ? void 0 : C.navigate),
328
+ onKeypress: gn((L) => y(L, n.item, C == null ? void 0 : C.navigate), ["enter"])
329
329
  }, [
330
- $("div", {
331
- class: ne(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": o.value }])
330
+ O("div", {
331
+ class: oe(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": o.value }])
332
332
  }, [
333
- E.$slots[`sidebar-icon-${n.item.key}`] ? (p(), _("div", lr, [
334
- n.subnavItem ? O("", !0) : S(E.$slots, `sidebar-icon-${n.item.key}`, { key: 0 }, void 0, !0)
335
- ])) : O("", !0),
336
- $("div", ur, [
337
- (n.subnavItem && !o.value ? n.item.name.length < 25 : n.item.name.length < 18) ? (p(), _("div", {
333
+ E.$slots[`sidebar-icon-${n.item.key}`] ? (b(), w("div", wr, [
334
+ n.subnavItem ? I("", !0) : T(E.$slots, `sidebar-icon-${n.item.key}`, { key: 0 }, void 0, !0)
335
+ ])) : I("", !0),
336
+ O("div", kr, [
337
+ (n.subnavItem && !o.value ? n.item.name.length < 25 : n.item.name.length < 18) ? (b(), w("div", {
338
338
  key: 0,
339
- class: ne(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
340
- }, U(n.item.name), 3)) : (p(), z(N, {
339
+ class: oe(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
340
+ }, Y(n.item.name), 3)) : (b(), K(R, {
341
341
  key: 1,
342
342
  class: "sidebar-item-tooltip",
343
343
  placement: "right",
344
344
  "position-fixed": "",
345
345
  text: n.item.name
346
346
  }, {
347
- default: R(() => [
348
- $("div", dr, [
349
- $("span", {
350
- class: ne(["truncate-text", [n.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
351
- }, U(n.item.name), 3)
347
+ default: B(() => [
348
+ O("div", _r, [
349
+ O("span", {
350
+ class: oe(["truncate-text", [n.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
351
+ }, Y(n.item.name), 3)
352
352
  ])
353
353
  ]),
354
354
  _: 1
355
355
  }, 8, ["text"])),
356
- n.item.label && n.item.expanded ? (p(), _("div", fr, U(n.item.label), 1)) : O("", !0)
356
+ n.item.label && n.item.expanded ? (b(), w("div", Tr, Y(n.item.label), 1)) : I("", !0)
357
357
  ]),
358
- o.value ? (p(), z(or, {
358
+ o.value ? (b(), K(mr, {
359
359
  key: 1,
360
360
  count: n.item.badgeCount
361
- }, null, 8, ["count"])) : O("", !0)
361
+ }, null, 8, ["count"])) : I("", !0)
362
362
  ], 2)
363
- ], 42, cr)
363
+ ], 42, yr)
364
364
  ];
365
365
  }),
366
366
  _: 3
367
367
  }, 8, ["custom", "to"])),
368
- (L = n.item.items) != null && L.length && n.item.expanded ? (p(), _("ul", {
368
+ (j = n.item.items) != null && j.length && n.item.expanded ? (b(), w("ul", {
369
369
  key: 0,
370
370
  id: `subnav-${n.item.key}`,
371
371
  class: "level-secondary"
372
372
  }, [
373
- (p(!0), _(be, null, he(n.item.items, (I) => (p(), z(x, {
374
- key: I.name,
375
- item: I,
373
+ (b(!0), w(Oe, null, we(n.item.items, (C) => (b(), K(M, {
374
+ key: C.name,
375
+ item: C,
376
376
  "subnav-item": !0,
377
- onClick: (Z) => f(I)
377
+ onClick: (W) => v(C)
378
378
  }, null, 8, ["item", "onClick"]))), 128))
379
- ], 8, vr)) : O("", !0)
380
- ], 10, sr);
379
+ ], 8, Cr)) : I("", !0)
380
+ ], 10, gr);
381
381
  };
382
382
  }
383
- }), Pt = /* @__PURE__ */ ee(br, [["__scopeId", "data-v-d0b5bc3d"]]);
383
+ }), jt = /* @__PURE__ */ ie(Ir, [["__scopeId", "data-v-d0b5bc3d"]]);
384
384
  /*!
385
385
  * tabbable 6.2.0
386
386
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
387
387
  */
388
- var Ut = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Ge = /* @__PURE__ */ Ut.join(","), Vt = typeof Element > "u", ge = Vt ? function() {
389
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Ue = !Vt && Element.prototype.getRootNode ? function(n) {
388
+ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], We = /* @__PURE__ */ Vt.join(","), qt = typeof Element > "u", ke = qt ? function() {
389
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Ve = !qt && Element.prototype.getRootNode ? function(n) {
390
390
  var t;
391
391
  return n == null || (t = n.getRootNode) === null || t === void 0 ? void 0 : t.call(n);
392
392
  } : function(n) {
393
393
  return n == null ? void 0 : n.ownerDocument;
394
- }, Ve = function n(t, r) {
394
+ }, qe = function n(t, r) {
395
395
  var a;
396
396
  r === void 0 && (r = !0);
397
397
  var s = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), u = s === "" || s === "true", o = u || r && t && n(t.parentNode);
398
398
  return o;
399
- }, pr = function(t) {
399
+ }, Sr = function(t) {
400
400
  var r, a = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
401
401
  return a === "" || a === "true";
402
- }, qt = function(t, r, a) {
403
- if (Ve(t))
402
+ }, Xt = function(t, r, a) {
403
+ if (qe(t))
404
404
  return [];
405
- var s = Array.prototype.slice.apply(t.querySelectorAll(Ge));
406
- return r && ge.call(t, Ge) && s.unshift(t), s = s.filter(a), s;
407
- }, Xt = function n(t, r, a) {
405
+ var s = Array.prototype.slice.apply(t.querySelectorAll(We));
406
+ return r && ke.call(t, We) && s.unshift(t), s = s.filter(a), s;
407
+ }, Yt = function n(t, r, a) {
408
408
  for (var s = [], u = Array.from(t); u.length; ) {
409
409
  var o = u.shift();
410
- if (!Ve(o, !1))
410
+ if (!qe(o, !1))
411
411
  if (o.tagName === "SLOT") {
412
- var f = o.assignedElements(), g = f.length ? f : o.children, E = n(g, !0, a);
412
+ var v = o.assignedElements(), y = v.length ? v : o.children, E = n(y, !0, a);
413
413
  a.flatten ? s.push.apply(s, E) : s.push({
414
414
  scopeParent: o,
415
415
  candidates: E
416
416
  });
417
417
  } else {
418
- var F = ge.call(o, Ge);
419
- F && a.filter(o) && (r || !t.includes(o)) && s.push(o);
420
- var N = o.shadowRoot || // check for an undisclosed shadow
421
- typeof a.getShadowRoot == "function" && a.getShadowRoot(o), x = !Ve(N, !1) && (!a.shadowRootFilter || a.shadowRootFilter(o));
422
- if (N && x) {
423
- var L = n(N === !0 ? o.children : N.children, !0, a);
424
- a.flatten ? s.push.apply(s, L) : s.push({
418
+ var x = ke.call(o, We);
419
+ x && a.filter(o) && (r || !t.includes(o)) && s.push(o);
420
+ var R = o.shadowRoot || // check for an undisclosed shadow
421
+ typeof a.getShadowRoot == "function" && a.getShadowRoot(o), M = !qe(R, !1) && (!a.shadowRootFilter || a.shadowRootFilter(o));
422
+ if (R && M) {
423
+ var j = n(R === !0 ? o.children : R.children, !0, a);
424
+ a.flatten ? s.push.apply(s, j) : s.push({
425
425
  scopeParent: o,
426
- candidates: L
426
+ candidates: j
427
427
  });
428
428
  } else
429
429
  u.unshift.apply(u, o.children);
430
430
  }
431
431
  }
432
432
  return s;
433
- }, Yt = function(t) {
433
+ }, Jt = function(t) {
434
434
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
435
- }, pe = function(t) {
435
+ }, ye = function(t) {
436
436
  if (!t)
437
437
  throw new Error("No node provided");
438
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || pr(t)) && !Yt(t) ? 0 : t.tabIndex;
439
- }, hr = function(t, r) {
440
- var a = pe(t);
441
- return a < 0 && r && !Yt(t) ? 0 : a;
442
- }, mr = function(t, r) {
438
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Sr(t)) && !Jt(t) ? 0 : t.tabIndex;
439
+ }, Or = function(t, r) {
440
+ var a = ye(t);
441
+ return a < 0 && r && !Jt(t) ? 0 : a;
442
+ }, $r = function(t, r) {
443
443
  return t.tabIndex === r.tabIndex ? t.documentOrder - r.documentOrder : t.tabIndex - r.tabIndex;
444
- }, Jt = function(t) {
444
+ }, Qt = function(t) {
445
445
  return t.tagName === "INPUT";
446
- }, gr = function(t) {
447
- return Jt(t) && t.type === "hidden";
448
- }, yr = function(t) {
446
+ }, Er = function(t) {
447
+ return Qt(t) && t.type === "hidden";
448
+ }, Ar = function(t) {
449
449
  var r = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(a) {
450
450
  return a.tagName === "SUMMARY";
451
451
  });
452
452
  return r;
453
- }, wr = function(t, r) {
453
+ }, Fr = function(t, r) {
454
454
  for (var a = 0; a < t.length; a++)
455
455
  if (t[a].checked && t[a].form === r)
456
456
  return t[a];
457
- }, kr = function(t) {
457
+ }, Nr = function(t) {
458
458
  if (!t.name)
459
459
  return !0;
460
- var r = t.form || Ue(t), a = function(f) {
461
- return r.querySelectorAll('input[type="radio"][name="' + f + '"]');
460
+ var r = t.form || Ve(t), a = function(v) {
461
+ return r.querySelectorAll('input[type="radio"][name="' + v + '"]');
462
462
  }, s;
463
463
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
464
464
  s = a(window.CSS.escape(t.name));
@@ -468,138 +468,138 @@ var Ut = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
468
468
  } catch (o) {
469
469
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
470
470
  }
471
- var u = wr(s, t.form);
471
+ var u = Fr(s, t.form);
472
472
  return !u || u === t;
473
- }, _r = function(t) {
474
- return Jt(t) && t.type === "radio";
475
- }, Tr = function(t) {
476
- return _r(t) && !kr(t);
477
- }, Sr = function(t) {
478
- var r, a = t && Ue(t), s = (r = a) === null || r === void 0 ? void 0 : r.host, u = !1;
473
+ }, Dr = function(t) {
474
+ return Qt(t) && t.type === "radio";
475
+ }, Rr = function(t) {
476
+ return Dr(t) && !Nr(t);
477
+ }, xr = function(t) {
478
+ var r, a = t && Ve(t), s = (r = a) === null || r === void 0 ? void 0 : r.host, u = !1;
479
479
  if (a && a !== t) {
480
- var o, f, g;
481
- for (u = !!((o = s) !== null && o !== void 0 && (f = o.ownerDocument) !== null && f !== void 0 && f.contains(s) || t != null && (g = t.ownerDocument) !== null && g !== void 0 && g.contains(t)); !u && s; ) {
482
- var E, F, N;
483
- a = Ue(s), s = (E = a) === null || E === void 0 ? void 0 : E.host, u = !!((F = s) !== null && F !== void 0 && (N = F.ownerDocument) !== null && N !== void 0 && N.contains(s));
480
+ var o, v, y;
481
+ for (u = !!((o = s) !== null && o !== void 0 && (v = o.ownerDocument) !== null && v !== void 0 && v.contains(s) || t != null && (y = t.ownerDocument) !== null && y !== void 0 && y.contains(t)); !u && s; ) {
482
+ var E, x, R;
483
+ a = Ve(s), s = (E = a) === null || E === void 0 ? void 0 : E.host, u = !!((x = s) !== null && x !== void 0 && (R = x.ownerDocument) !== null && R !== void 0 && R.contains(s));
484
484
  }
485
485
  }
486
486
  return u;
487
- }, jt = function(t) {
487
+ }, Kt = function(t) {
488
488
  var r = t.getBoundingClientRect(), a = r.width, s = r.height;
489
489
  return a === 0 && s === 0;
490
- }, Ir = function(t, r) {
490
+ }, Br = function(t, r) {
491
491
  var a = r.displayCheck, s = r.getShadowRoot;
492
492
  if (getComputedStyle(t).visibility === "hidden")
493
493
  return !0;
494
- var u = ge.call(t, "details>summary:first-of-type"), o = u ? t.parentElement : t;
495
- if (ge.call(o, "details:not([open]) *"))
494
+ var u = ke.call(t, "details>summary:first-of-type"), o = u ? t.parentElement : t;
495
+ if (ke.call(o, "details:not([open]) *"))
496
496
  return !0;
497
497
  if (!a || a === "full" || a === "legacy-full") {
498
498
  if (typeof s == "function") {
499
- for (var f = t; t; ) {
500
- var g = t.parentElement, E = Ue(t);
501
- if (g && !g.shadowRoot && s(g) === !0)
502
- return jt(t);
503
- t.assignedSlot ? t = t.assignedSlot : !g && E !== t.ownerDocument ? t = E.host : t = g;
499
+ for (var v = t; t; ) {
500
+ var y = t.parentElement, E = Ve(t);
501
+ if (y && !y.shadowRoot && s(y) === !0)
502
+ return Kt(t);
503
+ t.assignedSlot ? t = t.assignedSlot : !y && E !== t.ownerDocument ? t = E.host : t = y;
504
504
  }
505
- t = f;
505
+ t = v;
506
506
  }
507
- if (Sr(t))
507
+ if (xr(t))
508
508
  return !t.getClientRects().length;
509
509
  if (a !== "legacy-full")
510
510
  return !0;
511
511
  } else if (a === "non-zero-area")
512
- return jt(t);
512
+ return Kt(t);
513
513
  return !1;
514
- }, Or = function(t) {
514
+ }, Lr = function(t) {
515
515
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
516
516
  for (var r = t.parentElement; r; ) {
517
517
  if (r.tagName === "FIELDSET" && r.disabled) {
518
518
  for (var a = 0; a < r.children.length; a++) {
519
519
  var s = r.children.item(a);
520
520
  if (s.tagName === "LEGEND")
521
- return ge.call(r, "fieldset[disabled] *") ? !0 : !s.contains(t);
521
+ return ke.call(r, "fieldset[disabled] *") ? !0 : !s.contains(t);
522
522
  }
523
523
  return !0;
524
524
  }
525
525
  r = r.parentElement;
526
526
  }
527
527
  return !1;
528
- }, qe = function(t, r) {
528
+ }, Xe = function(t, r) {
529
529
  return !(r.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
530
530
  // because we're limited in the type of selectors we can use in JSDom (see related
531
531
  // note related to `candidateSelectors`)
532
- Ve(r) || gr(r) || Ir(r, t) || // For a details element with a summary, the summary element gets the focus
533
- yr(r) || Or(r));
534
- }, ft = function(t, r) {
535
- return !(Tr(r) || pe(r) < 0 || !qe(t, r));
536
- }, $r = function(t) {
532
+ qe(r) || Er(r) || Br(r, t) || // For a details element with a summary, the summary element gets the focus
533
+ Ar(r) || Lr(r));
534
+ }, vt = function(t, r) {
535
+ return !(Rr(r) || ye(r) < 0 || !Xe(t, r));
536
+ }, Mr = function(t) {
537
537
  var r = parseInt(t.getAttribute("tabindex"), 10);
538
538
  return !!(isNaN(r) || r >= 0);
539
- }, Cr = function n(t) {
539
+ }, Pr = function n(t) {
540
540
  var r = [], a = [];
541
541
  return t.forEach(function(s, u) {
542
- var o = !!s.scopeParent, f = o ? s.scopeParent : s, g = hr(f, o), E = o ? n(s.candidates) : f;
543
- g === 0 ? o ? r.push.apply(r, E) : r.push(f) : a.push({
542
+ var o = !!s.scopeParent, v = o ? s.scopeParent : s, y = Or(v, o), E = o ? n(s.candidates) : v;
543
+ y === 0 ? o ? r.push.apply(r, E) : r.push(v) : a.push({
544
544
  documentOrder: u,
545
- tabIndex: g,
545
+ tabIndex: y,
546
546
  item: s,
547
547
  isScope: o,
548
548
  content: E
549
549
  });
550
- }), a.sort(mr).reduce(function(s, u) {
550
+ }), a.sort($r).reduce(function(s, u) {
551
551
  return u.isScope ? s.push.apply(s, u.content) : s.push(u.content), s;
552
552
  }, []).concat(r);
553
- }, Er = function(t, r) {
553
+ }, jr = function(t, r) {
554
554
  r = r || {};
555
555
  var a;
556
- return r.getShadowRoot ? a = Xt([t], r.includeContainer, {
557
- filter: ft.bind(null, r),
556
+ return r.getShadowRoot ? a = Yt([t], r.includeContainer, {
557
+ filter: vt.bind(null, r),
558
558
  flatten: !1,
559
559
  getShadowRoot: r.getShadowRoot,
560
- shadowRootFilter: $r
561
- }) : a = qt(t, r.includeContainer, ft.bind(null, r)), Cr(a);
562
- }, Ar = function(t, r) {
560
+ shadowRootFilter: Mr
561
+ }) : a = Xt(t, r.includeContainer, vt.bind(null, r)), Pr(a);
562
+ }, Kr = function(t, r) {
563
563
  r = r || {};
564
564
  var a;
565
- return r.getShadowRoot ? a = Xt([t], r.includeContainer, {
566
- filter: qe.bind(null, r),
565
+ return r.getShadowRoot ? a = Yt([t], r.includeContainer, {
566
+ filter: Xe.bind(null, r),
567
567
  flatten: !0,
568
568
  getShadowRoot: r.getShadowRoot
569
- }) : a = qt(t, r.includeContainer, qe.bind(null, r)), a;
570
- }, Te = function(t, r) {
569
+ }) : a = Xt(t, r.includeContainer, Xe.bind(null, r)), a;
570
+ }, Se = function(t, r) {
571
571
  if (r = r || {}, !t)
572
572
  throw new Error("No node provided");
573
- return ge.call(t, Ge) === !1 ? !1 : ft(r, t);
574
- }, Nr = /* @__PURE__ */ Ut.concat("iframe").join(","), dt = function(t, r) {
573
+ return ke.call(t, We) === !1 ? !1 : vt(r, t);
574
+ }, Zr = /* @__PURE__ */ Vt.concat("iframe").join(","), ft = function(t, r) {
575
575
  if (r = r || {}, !t)
576
576
  throw new Error("No node provided");
577
- return ge.call(t, Nr) === !1 ? !1 : qe(r, t);
577
+ return ke.call(t, Zr) === !1 ? !1 : Xe(r, t);
578
578
  };
579
579
  /*!
580
580
  * focus-trap 7.6.5
581
581
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
582
582
  */
583
- function vt(n, t) {
583
+ function bt(n, t) {
584
584
  (t == null || t > n.length) && (t = n.length);
585
585
  for (var r = 0, a = Array(t); r < t; r++) a[r] = n[r];
586
586
  return a;
587
587
  }
588
- function Fr(n) {
589
- if (Array.isArray(n)) return vt(n);
588
+ function Hr(n) {
589
+ if (Array.isArray(n)) return bt(n);
590
590
  }
591
- function Dr(n, t, r) {
592
- return (t = Mr(t)) in n ? Object.defineProperty(n, t, {
591
+ function zr(n, t, r) {
592
+ return (t = qr(t)) in n ? Object.defineProperty(n, t, {
593
593
  value: r,
594
594
  enumerable: !0,
595
595
  configurable: !0,
596
596
  writable: !0
597
597
  }) : n[t] = r, n;
598
598
  }
599
- function Rr(n) {
599
+ function Gr(n) {
600
600
  if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null) return Array.from(n);
601
601
  }
602
- function xr() {
602
+ function Ur() {
603
603
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
604
604
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
605
605
  }
@@ -613,21 +613,21 @@ function Zt(n, t) {
613
613
  }
614
614
  return r;
615
615
  }
616
- function Kt(n) {
616
+ function Ht(n) {
617
617
  for (var t = 1; t < arguments.length; t++) {
618
618
  var r = arguments[t] != null ? arguments[t] : {};
619
619
  t % 2 ? Zt(Object(r), !0).forEach(function(a) {
620
- Dr(n, a, r[a]);
620
+ zr(n, a, r[a]);
621
621
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(r)) : Zt(Object(r)).forEach(function(a) {
622
622
  Object.defineProperty(n, a, Object.getOwnPropertyDescriptor(r, a));
623
623
  });
624
624
  }
625
625
  return n;
626
626
  }
627
- function Br(n) {
628
- return Fr(n) || Rr(n) || Pr(n) || xr();
627
+ function Wr(n) {
628
+ return Hr(n) || Gr(n) || Xr(n) || Ur();
629
629
  }
630
- function Lr(n, t) {
630
+ function Vr(n, t) {
631
631
  if (typeof n != "object" || !n) return n;
632
632
  var r = n[Symbol.toPrimitive];
633
633
  if (r !== void 0) {
@@ -637,18 +637,18 @@ function Lr(n, t) {
637
637
  }
638
638
  return (t === "string" ? String : Number)(n);
639
639
  }
640
- function Mr(n) {
641
- var t = Lr(n, "string");
640
+ function qr(n) {
641
+ var t = Vr(n, "string");
642
642
  return typeof t == "symbol" ? t : t + "";
643
643
  }
644
- function Pr(n, t) {
644
+ function Xr(n, t) {
645
645
  if (n) {
646
- if (typeof n == "string") return vt(n, t);
646
+ if (typeof n == "string") return bt(n, t);
647
647
  var r = {}.toString.call(n).slice(8, -1);
648
- return r === "Object" && n.constructor && (r = n.constructor.name), r === "Map" || r === "Set" ? Array.from(n) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? vt(n, t) : void 0;
648
+ return r === "Object" && n.constructor && (r = n.constructor.name), r === "Map" || r === "Set" ? Array.from(n) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? bt(n, t) : void 0;
649
649
  }
650
650
  }
651
- var Ht = {
651
+ var zt = {
652
652
  activateTrap: function(t, r) {
653
653
  if (t.length > 0) {
654
654
  var a = t[t.length - 1];
@@ -661,31 +661,31 @@ var Ht = {
661
661
  var a = t.indexOf(r);
662
662
  a !== -1 && t.splice(a, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
663
663
  }
664
- }, jr = function(t) {
664
+ }, Yr = function(t) {
665
665
  return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
666
- }, Zr = function(t) {
666
+ }, Jr = function(t) {
667
667
  return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
668
- }, Ee = function(t) {
668
+ }, De = function(t) {
669
669
  return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
670
- }, Kr = function(t) {
671
- return Ee(t) && !t.shiftKey;
672
- }, Hr = function(t) {
673
- return Ee(t) && t.shiftKey;
674
- }, zt = function(t) {
670
+ }, Qr = function(t) {
671
+ return De(t) && !t.shiftKey;
672
+ }, ei = function(t) {
673
+ return De(t) && t.shiftKey;
674
+ }, Gt = function(t) {
675
675
  return setTimeout(t, 0);
676
- }, Ce = function(t) {
676
+ }, Ne = function(t) {
677
677
  for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
678
678
  a[s - 1] = arguments[s];
679
679
  return typeof t == "function" ? t.apply(void 0, a) : t;
680
- }, je = function(t) {
680
+ }, He = function(t) {
681
681
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
682
- }, zr = [], Wr = function(t, r) {
683
- var a = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) || zr, u = Kt({
682
+ }, ti = [], ai = function(t, r) {
683
+ var a = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) || ti, u = Ht({
684
684
  returnFocusOnDeactivate: !0,
685
685
  escapeDeactivates: !0,
686
686
  delayInitialFocus: !0,
687
- isKeyForward: Kr,
688
- isKeyBackward: Hr
687
+ isKeyForward: Qr,
688
+ isKeyBackward: ei
689
689
  }, r), o = {
690
690
  // containers given to createFocusTrap()
691
691
  // @type {Array<HTMLElement>}
@@ -723,74 +723,74 @@ var Ht = {
723
723
  delayInitialFocusTimer: void 0,
724
724
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
725
725
  recentNavEvent: void 0
726
- }, f, g = function(l, d, y) {
727
- return l && l[d] !== void 0 ? l[d] : u[y || d];
728
- }, E = function(l, d) {
729
- var y = typeof (d == null ? void 0 : d.composedPath) == "function" ? d.composedPath() : void 0;
730
- return o.containerGroups.findIndex(function(v) {
731
- var w = v.container, b = v.tabbableNodes;
732
- return w.contains(l) || // fall back to explicit tabbable search which will take into consideration any
726
+ }, v, y = function(c, f, m) {
727
+ return c && c[f] !== void 0 ? c[f] : u[m || f];
728
+ }, E = function(c, f) {
729
+ var m = typeof (f == null ? void 0 : f.composedPath) == "function" ? f.composedPath() : void 0;
730
+ return o.containerGroups.findIndex(function(A) {
731
+ var F = A.container, D = A.tabbableNodes;
732
+ return F.contains(c) || // fall back to explicit tabbable search which will take into consideration any
733
733
  // web components if the `tabbableOptions.getShadowRoot` option was used for
734
734
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
735
735
  // look inside web components even if open)
736
- (y == null ? void 0 : y.includes(w)) || b.find(function(k) {
737
- return k === l;
736
+ (m == null ? void 0 : m.includes(F)) || D.find(function(S) {
737
+ return S === c;
738
738
  });
739
739
  });
740
- }, F = function(l) {
741
- var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, y = d.hasFallback, v = y === void 0 ? !1 : y, w = d.params, b = w === void 0 ? [] : w, k = u[l];
742
- if (typeof k == "function" && (k = k.apply(void 0, Br(b))), k === !0 && (k = void 0), !k) {
743
- if (k === void 0 || k === !1)
744
- return k;
745
- throw new Error("`".concat(l, "` was specified but was not a node, or did not return a node"));
740
+ }, x = function(c) {
741
+ var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = f.hasFallback, A = m === void 0 ? !1 : m, F = f.params, D = F === void 0 ? [] : F, S = u[c];
742
+ if (typeof S == "function" && (S = S.apply(void 0, Wr(D))), S === !0 && (S = void 0), !S) {
743
+ if (S === void 0 || S === !1)
744
+ return S;
745
+ throw new Error("`".concat(c, "` was specified but was not a node, or did not return a node"));
746
746
  }
747
- var m = k;
748
- if (typeof k == "string") {
747
+ var d = S;
748
+ if (typeof S == "string") {
749
749
  try {
750
- m = a.querySelector(k);
751
- } catch (D) {
752
- throw new Error("`".concat(l, '` appears to be an invalid selector; error="').concat(D.message, '"'));
750
+ d = a.querySelector(S);
751
+ } catch (g) {
752
+ throw new Error("`".concat(c, '` appears to be an invalid selector; error="').concat(g.message, '"'));
753
753
  }
754
- if (!m && !v)
755
- throw new Error("`".concat(l, "` as selector refers to no known node"));
754
+ if (!d && !A)
755
+ throw new Error("`".concat(c, "` as selector refers to no known node"));
756
756
  }
757
- return m;
758
- }, N = function() {
759
- var l = F("initialFocus", {
757
+ return d;
758
+ }, R = function() {
759
+ var c = x("initialFocus", {
760
760
  hasFallback: !0
761
761
  });
762
- if (l === !1)
762
+ if (c === !1)
763
763
  return !1;
764
- if (l === void 0 || l && !dt(l, u.tabbableOptions))
764
+ if (c === void 0 || c && !ft(c, u.tabbableOptions))
765
765
  if (E(a.activeElement) >= 0)
766
- l = a.activeElement;
766
+ c = a.activeElement;
767
767
  else {
768
- var d = o.tabbableGroups[0], y = d && d.firstTabbableNode;
769
- l = y || F("fallbackFocus");
768
+ var f = o.tabbableGroups[0], m = f && f.firstTabbableNode;
769
+ c = m || x("fallbackFocus");
770
770
  }
771
- else l === null && (l = F("fallbackFocus"));
772
- if (!l)
771
+ else c === null && (c = x("fallbackFocus"));
772
+ if (!c)
773
773
  throw new Error("Your focus-trap needs to have at least one focusable element");
774
- return l;
775
- }, x = function() {
776
- if (o.containerGroups = o.containers.map(function(l) {
777
- var d = Er(l, u.tabbableOptions), y = Ar(l, u.tabbableOptions), v = d.length > 0 ? d[0] : void 0, w = d.length > 0 ? d[d.length - 1] : void 0, b = y.find(function(D) {
778
- return Te(D);
779
- }), k = y.slice().reverse().find(function(D) {
780
- return Te(D);
781
- }), m = !!d.find(function(D) {
782
- return pe(D) > 0;
774
+ return c;
775
+ }, M = function() {
776
+ if (o.containerGroups = o.containers.map(function(c) {
777
+ var f = jr(c, u.tabbableOptions), m = Kr(c, u.tabbableOptions), A = f.length > 0 ? f[0] : void 0, F = f.length > 0 ? f[f.length - 1] : void 0, D = m.find(function(g) {
778
+ return Se(g);
779
+ }), S = m.slice().reverse().find(function(g) {
780
+ return Se(g);
781
+ }), d = !!f.find(function(g) {
782
+ return ye(g) > 0;
783
783
  });
784
784
  return {
785
- container: l,
786
- tabbableNodes: d,
787
- focusableNodes: y,
785
+ container: c,
786
+ tabbableNodes: f,
787
+ focusableNodes: m,
788
788
  /** True if at least one node with positive `tabindex` was found in this container. */
789
- posTabIndexesFound: m,
789
+ posTabIndexesFound: d,
790
790
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
791
- firstTabbableNode: v,
791
+ firstTabbableNode: A,
792
792
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
793
- lastTabbableNode: w,
793
+ lastTabbableNode: F,
794
794
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
795
795
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
796
796
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -799,9 +799,9 @@ var Ht = {
799
799
  // "close enough most of the time" alternative for positive tabindexes which should generally
800
800
  // be avoided anyway...
801
801
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
802
- firstDomTabbableNode: b,
802
+ firstDomTabbableNode: D,
803
803
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
804
- lastDomTabbableNode: k,
804
+ lastDomTabbableNode: S,
805
805
  /**
806
806
  * Finds the __tabbable__ node that follows the given node in the specified direction,
807
807
  * in this container, if any.
@@ -810,77 +810,77 @@ var Ht = {
810
810
  * in reverse.
811
811
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
812
812
  */
813
- nextTabbableNode: function(M) {
814
- var G = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ae = d.indexOf(M);
815
- return ae < 0 ? G ? y.slice(y.indexOf(M) + 1).find(function(le) {
816
- return Te(le);
817
- }) : y.slice(0, y.indexOf(M)).reverse().find(function(le) {
818
- return Te(le);
819
- }) : d[ae + (G ? 1 : -1)];
813
+ nextTabbableNode: function(k) {
814
+ var h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, H = f.indexOf(k);
815
+ return H < 0 ? h ? m.slice(m.indexOf(k) + 1).find(function(P) {
816
+ return Se(P);
817
+ }) : m.slice(0, m.indexOf(k)).reverse().find(function(P) {
818
+ return Se(P);
819
+ }) : f[H + (h ? 1 : -1)];
820
820
  }
821
821
  };
822
- }), o.tabbableGroups = o.containerGroups.filter(function(l) {
823
- return l.tabbableNodes.length > 0;
824
- }), o.tabbableGroups.length <= 0 && !F("fallbackFocus"))
822
+ }), o.tabbableGroups = o.containerGroups.filter(function(c) {
823
+ return c.tabbableNodes.length > 0;
824
+ }), o.tabbableGroups.length <= 0 && !x("fallbackFocus"))
825
825
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
826
- if (o.containerGroups.find(function(l) {
827
- return l.posTabIndexesFound;
826
+ if (o.containerGroups.find(function(c) {
827
+ return c.posTabIndexesFound;
828
828
  }) && o.containerGroups.length > 1)
829
829
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
830
- }, L = function(l) {
831
- var d = l.activeElement;
832
- if (d)
833
- return d.shadowRoot && d.shadowRoot.activeElement !== null ? L(d.shadowRoot) : d;
834
- }, I = function(l) {
835
- if (l !== !1 && l !== L(document)) {
836
- if (!l || !l.focus) {
837
- I(N());
830
+ }, j = function(c) {
831
+ var f = c.activeElement;
832
+ if (f)
833
+ return f.shadowRoot && f.shadowRoot.activeElement !== null ? j(f.shadowRoot) : f;
834
+ }, C = function(c) {
835
+ if (c !== !1 && c !== j(document)) {
836
+ if (!c || !c.focus) {
837
+ C(R());
838
838
  return;
839
839
  }
840
- l.focus({
840
+ c.focus({
841
841
  preventScroll: !!u.preventScroll
842
- }), o.mostRecentlyFocusedNode = l, jr(l) && l.select();
842
+ }), o.mostRecentlyFocusedNode = c, Yr(c) && c.select();
843
843
  }
844
- }, Z = function(l) {
845
- var d = F("setReturnFocus", {
846
- params: [l]
844
+ }, W = function(c) {
845
+ var f = x("setReturnFocus", {
846
+ params: [c]
847
847
  });
848
- return d || (d === !1 ? !1 : l);
849
- }, P = function(l) {
850
- var d = l.target, y = l.event, v = l.isBackward, w = v === void 0 ? !1 : v;
851
- d = d || je(y), x();
852
- var b = null;
848
+ return f || (f === !1 ? !1 : c);
849
+ }, V = function(c) {
850
+ var f = c.target, m = c.event, A = c.isBackward, F = A === void 0 ? !1 : A;
851
+ f = f || He(m), M();
852
+ var D = null;
853
853
  if (o.tabbableGroups.length > 0) {
854
- var k = E(d, y), m = k >= 0 ? o.containerGroups[k] : void 0;
855
- if (k < 0)
856
- w ? b = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : b = o.tabbableGroups[0].firstTabbableNode;
857
- else if (w) {
858
- var D = o.tabbableGroups.findIndex(function(Se) {
859
- var Ie = Se.firstTabbableNode;
860
- return d === Ie;
854
+ var S = E(f, m), d = S >= 0 ? o.containerGroups[S] : void 0;
855
+ if (S < 0)
856
+ F ? D = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : D = o.tabbableGroups[0].firstTabbableNode;
857
+ else if (F) {
858
+ var g = o.tabbableGroups.findIndex(function(le) {
859
+ var Ee = le.firstTabbableNode;
860
+ return f === Ee;
861
861
  });
862
- if (D < 0 && (m.container === d || dt(d, u.tabbableOptions) && !Te(d, u.tabbableOptions) && !m.nextTabbableNode(d, !1)) && (D = k), D >= 0) {
863
- var M = D === 0 ? o.tabbableGroups.length - 1 : D - 1, G = o.tabbableGroups[M];
864
- b = pe(d) >= 0 ? G.lastTabbableNode : G.lastDomTabbableNode;
865
- } else Ee(y) || (b = m.nextTabbableNode(d, !1));
862
+ if (g < 0 && (d.container === f || ft(f, u.tabbableOptions) && !Se(f, u.tabbableOptions) && !d.nextTabbableNode(f, !1)) && (g = S), g >= 0) {
863
+ var k = g === 0 ? o.tabbableGroups.length - 1 : g - 1, h = o.tabbableGroups[k];
864
+ D = ye(f) >= 0 ? h.lastTabbableNode : h.lastDomTabbableNode;
865
+ } else De(m) || (D = d.nextTabbableNode(f, !1));
866
866
  } else {
867
- var ae = o.tabbableGroups.findIndex(function(Se) {
868
- var Ie = Se.lastTabbableNode;
869
- return d === Ie;
867
+ var H = o.tabbableGroups.findIndex(function(le) {
868
+ var Ee = le.lastTabbableNode;
869
+ return f === Ee;
870
870
  });
871
- if (ae < 0 && (m.container === d || dt(d, u.tabbableOptions) && !Te(d, u.tabbableOptions) && !m.nextTabbableNode(d)) && (ae = k), ae >= 0) {
872
- var le = ae === o.tabbableGroups.length - 1 ? 0 : ae + 1, De = o.tabbableGroups[le];
873
- b = pe(d) >= 0 ? De.firstTabbableNode : De.firstDomTabbableNode;
874
- } else Ee(y) || (b = m.nextTabbableNode(d));
871
+ if (H < 0 && (d.container === f || ft(f, u.tabbableOptions) && !Se(f, u.tabbableOptions) && !d.nextTabbableNode(f)) && (H = S), H >= 0) {
872
+ var P = H === o.tabbableGroups.length - 1 ? 0 : H + 1, X = o.tabbableGroups[P];
873
+ D = ye(f) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
874
+ } else De(m) || (D = d.nextTabbableNode(f));
875
875
  }
876
876
  } else
877
- b = F("fallbackFocus");
878
- return b;
879
- }, B = function(l) {
880
- var d = je(l);
881
- if (!(E(d, l) >= 0)) {
882
- if (Ce(u.clickOutsideDeactivates, l)) {
883
- f.deactivate({
877
+ D = x("fallbackFocus");
878
+ return D;
879
+ }, L = function(c) {
880
+ var f = He(c);
881
+ if (!(E(f, c) >= 0)) {
882
+ if (Ne(u.clickOutsideDeactivates, c)) {
883
+ v.deactivate({
884
884
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
885
885
  // which will result in the outside click setting focus to the node
886
886
  // that was clicked (and if not focusable, to "nothing"); by setting
@@ -891,166 +891,166 @@ var Ht = {
891
891
  });
892
892
  return;
893
893
  }
894
- Ce(u.allowOutsideClick, l) || l.preventDefault();
894
+ Ne(u.allowOutsideClick, c) || c.preventDefault();
895
895
  }
896
- }, re = function(l) {
897
- var d = je(l), y = E(d, l) >= 0;
898
- if (y || d instanceof Document)
899
- y && (o.mostRecentlyFocusedNode = d);
896
+ }, se = function(c) {
897
+ var f = He(c), m = E(f, c) >= 0;
898
+ if (m || f instanceof Document)
899
+ m && (o.mostRecentlyFocusedNode = f);
900
900
  else {
901
- l.stopImmediatePropagation();
902
- var v, w = !0;
901
+ c.stopImmediatePropagation();
902
+ var A, F = !0;
903
903
  if (o.mostRecentlyFocusedNode)
904
- if (pe(o.mostRecentlyFocusedNode) > 0) {
905
- var b = E(o.mostRecentlyFocusedNode), k = o.containerGroups[b].tabbableNodes;
906
- if (k.length > 0) {
907
- var m = k.findIndex(function(D) {
908
- return D === o.mostRecentlyFocusedNode;
904
+ if (ye(o.mostRecentlyFocusedNode) > 0) {
905
+ var D = E(o.mostRecentlyFocusedNode), S = o.containerGroups[D].tabbableNodes;
906
+ if (S.length > 0) {
907
+ var d = S.findIndex(function(g) {
908
+ return g === o.mostRecentlyFocusedNode;
909
909
  });
910
- m >= 0 && (u.isKeyForward(o.recentNavEvent) ? m + 1 < k.length && (v = k[m + 1], w = !1) : m - 1 >= 0 && (v = k[m - 1], w = !1));
910
+ d >= 0 && (u.isKeyForward(o.recentNavEvent) ? d + 1 < S.length && (A = S[d + 1], F = !1) : d - 1 >= 0 && (A = S[d - 1], F = !1));
911
911
  }
912
912
  } else
913
- o.containerGroups.some(function(D) {
914
- return D.tabbableNodes.some(function(M) {
915
- return pe(M) > 0;
913
+ o.containerGroups.some(function(g) {
914
+ return g.tabbableNodes.some(function(k) {
915
+ return ye(k) > 0;
916
916
  });
917
- }) || (w = !1);
917
+ }) || (F = !1);
918
918
  else
919
- w = !1;
920
- w && (v = P({
919
+ F = !1;
920
+ F && (A = V({
921
921
  // move FROM the MRU node, not event-related node (which will be the node that is
922
922
  // outside the trap causing the focus escape we're trying to fix)
923
923
  target: o.mostRecentlyFocusedNode,
924
924
  isBackward: u.isKeyBackward(o.recentNavEvent)
925
- })), I(v || o.mostRecentlyFocusedNode || N());
925
+ })), C(A || o.mostRecentlyFocusedNode || R());
926
926
  }
927
927
  o.recentNavEvent = void 0;
928
- }, ie = function(l) {
929
- var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
930
- o.recentNavEvent = l;
931
- var y = P({
932
- event: l,
933
- isBackward: d
928
+ }, de = function(c) {
929
+ var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
930
+ o.recentNavEvent = c;
931
+ var m = V({
932
+ event: c,
933
+ isBackward: f
934
934
  });
935
- y && (Ee(l) && l.preventDefault(), I(y));
936
- }, te = function(l) {
937
- (u.isKeyForward(l) || u.isKeyBackward(l)) && ie(l, u.isKeyBackward(l));
938
- }, oe = function(l) {
939
- Zr(l) && Ce(u.escapeDeactivates, l) !== !1 && (l.preventDefault(), f.deactivate());
940
- }, V = function(l) {
941
- var d = je(l);
942
- E(d, l) >= 0 || Ce(u.clickOutsideDeactivates, l) || Ce(u.allowOutsideClick, l) || (l.preventDefault(), l.stopImmediatePropagation());
943
- }, q = function() {
935
+ m && (De(c) && c.preventDefault(), C(m));
936
+ }, q = function(c) {
937
+ (u.isKeyForward(c) || u.isKeyBackward(c)) && de(c, u.isKeyBackward(c));
938
+ }, ne = function(c) {
939
+ Jr(c) && Ne(u.escapeDeactivates, c) !== !1 && (c.preventDefault(), v.deactivate());
940
+ }, te = function(c) {
941
+ var f = He(c);
942
+ E(f, c) >= 0 || Ne(u.clickOutsideDeactivates, c) || Ne(u.allowOutsideClick, c) || (c.preventDefault(), c.stopImmediatePropagation());
943
+ }, ae = function() {
944
944
  if (o.active)
945
- return Ht.activateTrap(s, f), o.delayInitialFocusTimer = u.delayInitialFocus ? zt(function() {
946
- I(N());
947
- }) : I(N()), a.addEventListener("focusin", re, !0), a.addEventListener("mousedown", B, {
945
+ return zt.activateTrap(s, v), o.delayInitialFocusTimer = u.delayInitialFocus ? Gt(function() {
946
+ C(R());
947
+ }) : C(R()), a.addEventListener("focusin", se, !0), a.addEventListener("mousedown", L, {
948
948
  capture: !0,
949
949
  passive: !1
950
- }), a.addEventListener("touchstart", B, {
950
+ }), a.addEventListener("touchstart", L, {
951
951
  capture: !0,
952
952
  passive: !1
953
- }), a.addEventListener("click", V, {
953
+ }), a.addEventListener("click", te, {
954
954
  capture: !0,
955
955
  passive: !1
956
- }), a.addEventListener("keydown", te, {
956
+ }), a.addEventListener("keydown", q, {
957
957
  capture: !0,
958
958
  passive: !1
959
- }), a.addEventListener("keydown", oe), f;
960
- }, C = function() {
959
+ }), a.addEventListener("keydown", ne), v;
960
+ }, N = function() {
961
961
  if (o.active)
962
- return a.removeEventListener("focusin", re, !0), a.removeEventListener("mousedown", B, !0), a.removeEventListener("touchstart", B, !0), a.removeEventListener("click", V, !0), a.removeEventListener("keydown", te, !0), a.removeEventListener("keydown", oe), f;
963
- }, K = function(l) {
964
- var d = l.some(function(y) {
965
- var v = Array.from(y.removedNodes);
966
- return v.some(function(w) {
967
- return w === o.mostRecentlyFocusedNode;
962
+ return a.removeEventListener("focusin", se, !0), a.removeEventListener("mousedown", L, !0), a.removeEventListener("touchstart", L, !0), a.removeEventListener("click", te, !0), a.removeEventListener("keydown", q, !0), a.removeEventListener("keydown", ne), v;
963
+ }, z = function(c) {
964
+ var f = c.some(function(m) {
965
+ var A = Array.from(m.removedNodes);
966
+ return A.some(function(F) {
967
+ return F === o.mostRecentlyFocusedNode;
968
968
  });
969
969
  });
970
- d && I(N());
971
- }, W = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(K) : void 0, H = function() {
972
- W && (W.disconnect(), o.active && !o.paused && o.containers.map(function(l) {
973
- W.observe(l, {
970
+ f && C(R());
971
+ }, G = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(z) : void 0, Z = function() {
972
+ G && (G.disconnect(), o.active && !o.paused && o.containers.map(function(c) {
973
+ G.observe(c, {
974
974
  subtree: !0,
975
975
  childList: !0
976
976
  });
977
977
  }));
978
978
  };
979
- return f = {
979
+ return v = {
980
980
  get active() {
981
981
  return o.active;
982
982
  },
983
983
  get paused() {
984
984
  return o.paused;
985
985
  },
986
- activate: function(l) {
986
+ activate: function(c) {
987
987
  if (o.active)
988
988
  return this;
989
- var d = g(l, "onActivate"), y = g(l, "onPostActivate"), v = g(l, "checkCanFocusTrap");
990
- v || x(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = L(a), d == null || d();
991
- var w = function() {
992
- v && x(), q(), H(), y == null || y();
989
+ var f = y(c, "onActivate"), m = y(c, "onPostActivate"), A = y(c, "checkCanFocusTrap");
990
+ A || M(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = j(a), f == null || f();
991
+ var F = function() {
992
+ A && M(), ae(), Z(), m == null || m();
993
993
  };
994
- return v ? (v(o.containers.concat()).then(w, w), this) : (w(), this);
994
+ return A ? (A(o.containers.concat()).then(F, F), this) : (F(), this);
995
995
  },
996
- deactivate: function(l) {
996
+ deactivate: function(c) {
997
997
  if (!o.active)
998
998
  return this;
999
- var d = Kt({
999
+ var f = Ht({
1000
1000
  onDeactivate: u.onDeactivate,
1001
1001
  onPostDeactivate: u.onPostDeactivate,
1002
1002
  checkCanReturnFocus: u.checkCanReturnFocus
1003
- }, l);
1004
- clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, C(), o.active = !1, o.paused = !1, H(), Ht.deactivateTrap(s, f);
1005
- var y = g(d, "onDeactivate"), v = g(d, "onPostDeactivate"), w = g(d, "checkCanReturnFocus"), b = g(d, "returnFocus", "returnFocusOnDeactivate");
1006
- y == null || y();
1007
- var k = function() {
1008
- zt(function() {
1009
- b && I(Z(o.nodeFocusedBeforeActivation)), v == null || v();
1003
+ }, c);
1004
+ clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, N(), o.active = !1, o.paused = !1, Z(), zt.deactivateTrap(s, v);
1005
+ var m = y(f, "onDeactivate"), A = y(f, "onPostDeactivate"), F = y(f, "checkCanReturnFocus"), D = y(f, "returnFocus", "returnFocusOnDeactivate");
1006
+ m == null || m();
1007
+ var S = function() {
1008
+ Gt(function() {
1009
+ D && C(W(o.nodeFocusedBeforeActivation)), A == null || A();
1010
1010
  });
1011
1011
  };
1012
- return b && w ? (w(Z(o.nodeFocusedBeforeActivation)).then(k, k), this) : (k(), this);
1012
+ return D && F ? (F(W(o.nodeFocusedBeforeActivation)).then(S, S), this) : (S(), this);
1013
1013
  },
1014
- pause: function(l) {
1015
- return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, l)) : this;
1014
+ pause: function(c) {
1015
+ return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, c)) : this;
1016
1016
  },
1017
- unpause: function(l) {
1018
- return o.active ? (o.manuallyPaused = !1, s[s.length - 1] !== this ? this : this._setPausedState(!1, l)) : this;
1017
+ unpause: function(c) {
1018
+ return o.active ? (o.manuallyPaused = !1, s[s.length - 1] !== this ? this : this._setPausedState(!1, c)) : this;
1019
1019
  },
1020
- updateContainerElements: function(l) {
1021
- var d = [].concat(l).filter(Boolean);
1022
- return o.containers = d.map(function(y) {
1023
- return typeof y == "string" ? a.querySelector(y) : y;
1024
- }), o.active && x(), H(), this;
1020
+ updateContainerElements: function(c) {
1021
+ var f = [].concat(c).filter(Boolean);
1022
+ return o.containers = f.map(function(m) {
1023
+ return typeof m == "string" ? a.querySelector(m) : m;
1024
+ }), o.active && M(), Z(), this;
1025
1025
  }
1026
- }, Object.defineProperties(f, {
1026
+ }, Object.defineProperties(v, {
1027
1027
  _isManuallyPaused: {
1028
1028
  value: function() {
1029
1029
  return o.manuallyPaused;
1030
1030
  }
1031
1031
  },
1032
1032
  _setPausedState: {
1033
- value: function(l, d) {
1034
- if (o.paused === l)
1033
+ value: function(c, f) {
1034
+ if (o.paused === c)
1035
1035
  return this;
1036
- if (o.paused = l, l) {
1037
- var y = g(d, "onPause"), v = g(d, "onPostPause");
1038
- y == null || y(), C(), H(), v == null || v();
1036
+ if (o.paused = c, c) {
1037
+ var m = y(f, "onPause"), A = y(f, "onPostPause");
1038
+ m == null || m(), N(), Z(), A == null || A();
1039
1039
  } else {
1040
- var w = g(d, "onUnpause"), b = g(d, "onPostUnpause");
1041
- w == null || w(), x(), q(), H(), b == null || b();
1040
+ var F = y(f, "onUnpause"), D = y(f, "onPostUnpause");
1041
+ F == null || F(), M(), ae(), Z(), D == null || D();
1042
1042
  }
1043
1043
  return this;
1044
1044
  }
1045
1045
  }
1046
- }), f.updateContainerElements(t), f;
1046
+ }), v.updateContainerElements(t), v;
1047
1047
  };
1048
1048
  /*!
1049
1049
  * focus-trap-vue v4.0.3
1050
1050
  * (c) 2025 Eduardo San Martin Morote
1051
1051
  * @license MIT
1052
1052
  */
1053
- const Gr = {
1053
+ const ni = {
1054
1054
  escapeDeactivates: {
1055
1055
  type: Boolean,
1056
1056
  default: !0
@@ -1076,7 +1076,7 @@ const Gr = {
1076
1076
  preventScroll: Boolean,
1077
1077
  setReturnFocus: [Object, String, Boolean, Function],
1078
1078
  tabbableOptions: Object
1079
- }, Ur = Q({
1079
+ }, ri = re({
1080
1080
  name: "FocusTrap",
1081
1081
  props: Object.assign({
1082
1082
  active: {
@@ -1084,7 +1084,7 @@ const Gr = {
1084
1084
  type: Boolean,
1085
1085
  default: !0
1086
1086
  }
1087
- }, Gr),
1087
+ }, ni),
1088
1088
  emits: [
1089
1089
  "update:active",
1090
1090
  "activate",
@@ -1097,12 +1097,12 @@ const Gr = {
1097
1097
  },
1098
1098
  setup(n, { slots: t, emit: r }) {
1099
1099
  let a;
1100
- const s = J(null), u = T(() => {
1101
- const f = s.value;
1102
- return f && (f instanceof HTMLElement ? f : f.$el);
1100
+ const s = ee(null), u = _(() => {
1101
+ const v = s.value;
1102
+ return v && (v instanceof HTMLElement ? v : v.$el);
1103
1103
  });
1104
1104
  function o() {
1105
- return a || (a = Wr(u.value, {
1105
+ return a || (a = ai(u.value, {
1106
1106
  escapeDeactivates: n.escapeDeactivates,
1107
1107
  allowOutsideClick: n.allowOutsideClick,
1108
1108
  returnFocusOnDeactivate: n.returnFocusOnDeactivate,
@@ -1122,11 +1122,11 @@ const Gr = {
1122
1122
  preventScroll: n.preventScroll
1123
1123
  }));
1124
1124
  }
1125
- return Je(() => {
1126
- Fe(() => n.active, (f) => {
1127
- f && u.value ? o().activate() : a && (a.deactivate(), (!u.value || u.value.nodeType === Node.COMMENT_NODE) && (a = null));
1125
+ return Qe(() => {
1126
+ Be(() => n.active, (v) => {
1127
+ v && u.value ? o().activate() : a && (a.deactivate(), (!u.value || u.value.nodeType === Node.COMMENT_NODE) && (a = null));
1128
1128
  }, { immediate: !0, flush: "post" });
1129
- }), gn(() => {
1129
+ }), yn(() => {
1130
1130
  a && a.deactivate(), a = null;
1131
1131
  }), {
1132
1132
  activate() {
@@ -1138,13 +1138,13 @@ const Gr = {
1138
1138
  renderImpl() {
1139
1139
  if (!t.default)
1140
1140
  return null;
1141
- const f = t.default().filter((E) => E.type !== yn);
1142
- return !f || !f.length || f.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), f) : wn(f[0], { ref: s });
1141
+ const v = t.default().filter((E) => E.type !== wn);
1142
+ return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : kn(v[0], { ref: s });
1143
1143
  }
1144
1144
  };
1145
1145
  }
1146
1146
  });
1147
- function Qt() {
1147
+ function ea() {
1148
1148
  return {
1149
1149
  debounce: (t, r) => {
1150
1150
  let a;
@@ -1156,46 +1156,46 @@ function Qt() {
1156
1156
  }
1157
1157
  };
1158
1158
  }
1159
- var Ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1160
- function Vr(n) {
1159
+ var ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1160
+ function ii(n) {
1161
1161
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
1162
1162
  }
1163
- var Xe = { exports: {} };
1164
- Xe.exports;
1163
+ var Ye = { exports: {} };
1164
+ Ye.exports;
1165
1165
  (function(n, t) {
1166
- var r = 200, a = "__lodash_hash_undefined__", s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", f = "[object Boolean]", g = "[object Date]", E = "[object Error]", F = "[object Function]", N = "[object GeneratorFunction]", x = "[object Map]", L = "[object Number]", I = "[object Object]", Z = "[object Promise]", P = "[object RegExp]", B = "[object Set]", re = "[object String]", ie = "[object Symbol]", te = "[object WeakMap]", oe = "[object ArrayBuffer]", V = "[object DataView]", q = "[object Float32Array]", C = "[object Float64Array]", K = "[object Int8Array]", W = "[object Int16Array]", H = "[object Int32Array]", A = "[object Uint8Array]", l = "[object Uint8ClampedArray]", d = "[object Uint16Array]", y = "[object Uint32Array]", v = /[\\^$.*+?()[\]{}|]/g, w = /\w*$/, b = /^\[object .+?Constructor\]$/, k = /^(?:0|[1-9]\d*)$/, m = {};
1167
- m[u] = m[o] = m[oe] = m[V] = m[f] = m[g] = m[q] = m[C] = m[K] = m[W] = m[H] = m[x] = m[L] = m[I] = m[P] = m[B] = m[re] = m[ie] = m[A] = m[l] = m[d] = m[y] = !0, m[E] = m[F] = m[te] = !1;
1168
- var D = typeof Ze == "object" && Ze && Ze.Object === Object && Ze, M = typeof self == "object" && self && self.Object === Object && self, G = D || M || Function("return this")(), ae = t && !t.nodeType && t, le = ae && !0 && n && !n.nodeType && n, De = le && le.exports === ae;
1169
- function Se(e, i) {
1166
+ var r = 200, a = "__lodash_hash_undefined__", s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", y = "[object Date]", E = "[object Error]", x = "[object Function]", R = "[object GeneratorFunction]", M = "[object Map]", j = "[object Number]", C = "[object Object]", W = "[object Promise]", V = "[object RegExp]", L = "[object Set]", se = "[object String]", de = "[object Symbol]", q = "[object WeakMap]", ne = "[object ArrayBuffer]", te = "[object DataView]", ae = "[object Float32Array]", N = "[object Float64Array]", z = "[object Int8Array]", G = "[object Int16Array]", Z = "[object Int32Array]", $ = "[object Uint8Array]", c = "[object Uint8ClampedArray]", f = "[object Uint16Array]", m = "[object Uint32Array]", A = /[\\^$.*+?()[\]{}|]/g, F = /\w*$/, D = /^\[object .+?Constructor\]$/, S = /^(?:0|[1-9]\d*)$/, d = {};
1167
+ d[u] = d[o] = d[ne] = d[te] = d[v] = d[y] = d[ae] = d[N] = d[z] = d[G] = d[Z] = d[M] = d[j] = d[C] = d[V] = d[L] = d[se] = d[de] = d[$] = d[c] = d[f] = d[m] = !0, d[E] = d[x] = d[q] = !1;
1168
+ var g = typeof ze == "object" && ze && ze.Object === Object && ze, k = typeof self == "object" && self && self.Object === Object && self, h = g || k || Function("return this")(), H = t && !t.nodeType && t, P = H && !0 && n && !n.nodeType && n, X = P && P.exports === H;
1169
+ function le(e, i) {
1170
1170
  return e.set(i[0], i[1]), e;
1171
1171
  }
1172
- function Ie(e, i) {
1172
+ function Ee(e, i) {
1173
1173
  return e.add(i), e;
1174
1174
  }
1175
- function ea(e, i) {
1176
- for (var c = -1, h = e ? e.length : 0; ++c < h && i(e[c], c, e) !== !1; )
1175
+ function ta(e, i) {
1176
+ for (var l = -1, p = e ? e.length : 0; ++l < p && i(e[l], l, e) !== !1; )
1177
1177
  ;
1178
1178
  return e;
1179
1179
  }
1180
- function ta(e, i) {
1181
- for (var c = -1, h = i.length, j = e.length; ++c < h; )
1182
- e[j + c] = i[c];
1180
+ function aa(e, i) {
1181
+ for (var l = -1, p = i.length, U = e.length; ++l < p; )
1182
+ e[U + l] = i[l];
1183
1183
  return e;
1184
1184
  }
1185
- function pt(e, i, c, h) {
1186
- for (var j = -1, X = e ? e.length : 0; ++j < X; )
1187
- c = i(c, e[j], j, e);
1188
- return c;
1189
- }
1190
- function aa(e, i) {
1191
- for (var c = -1, h = Array(e); ++c < e; )
1192
- h[c] = i(c);
1193
- return h;
1185
+ function ht(e, i, l, p) {
1186
+ for (var U = -1, J = e ? e.length : 0; ++U < J; )
1187
+ l = i(l, e[U], U, e);
1188
+ return l;
1194
1189
  }
1195
1190
  function na(e, i) {
1191
+ for (var l = -1, p = Array(e); ++l < e; )
1192
+ p[l] = i(l);
1193
+ return p;
1194
+ }
1195
+ function ra(e, i) {
1196
1196
  return e == null ? void 0 : e[i];
1197
1197
  }
1198
- function ht(e) {
1198
+ function mt(e) {
1199
1199
  var i = !1;
1200
1200
  if (e != null && typeof e.toString != "function")
1201
1201
  try {
@@ -1204,356 +1204,356 @@ Xe.exports;
1204
1204
  }
1205
1205
  return i;
1206
1206
  }
1207
- function mt(e) {
1208
- var i = -1, c = Array(e.size);
1209
- return e.forEach(function(h, j) {
1210
- c[++i] = [j, h];
1211
- }), c;
1212
- }
1213
- function Qe(e, i) {
1214
- return function(c) {
1215
- return e(i(c));
1207
+ function gt(e) {
1208
+ var i = -1, l = Array(e.size);
1209
+ return e.forEach(function(p, U) {
1210
+ l[++i] = [U, p];
1211
+ }), l;
1212
+ }
1213
+ function et(e, i) {
1214
+ return function(l) {
1215
+ return e(i(l));
1216
1216
  };
1217
1217
  }
1218
- function gt(e) {
1219
- var i = -1, c = Array(e.size);
1220
- return e.forEach(function(h) {
1221
- c[++i] = h;
1222
- }), c;
1218
+ function yt(e) {
1219
+ var i = -1, l = Array(e.size);
1220
+ return e.forEach(function(p) {
1221
+ l[++i] = p;
1222
+ }), l;
1223
1223
  }
1224
- var ra = Array.prototype, ia = Function.prototype, Re = Object.prototype, et = G["__core-js_shared__"], yt = function() {
1225
- var e = /[^.]+$/.exec(et && et.keys && et.keys.IE_PROTO || "");
1224
+ var ia = Array.prototype, oa = Function.prototype, Le = Object.prototype, tt = h["__core-js_shared__"], wt = function() {
1225
+ var e = /[^.]+$/.exec(tt && tt.keys && tt.keys.IE_PROTO || "");
1226
1226
  return e ? "Symbol(src)_1." + e : "";
1227
- }(), wt = ia.toString, ue = Re.hasOwnProperty, xe = Re.toString, oa = RegExp(
1228
- "^" + wt.call(ue).replace(v, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1229
- ), kt = De ? G.Buffer : void 0, _t = G.Symbol, Tt = G.Uint8Array, sa = Qe(Object.getPrototypeOf, Object), ca = Object.create, la = Re.propertyIsEnumerable, ua = ra.splice, St = Object.getOwnPropertySymbols, da = kt ? kt.isBuffer : void 0, fa = Qe(Object.keys, Object), tt = ke(G, "DataView"), Oe = ke(G, "Map"), at = ke(G, "Promise"), nt = ke(G, "Set"), rt = ke(G, "WeakMap"), $e = ke(Object, "create"), va = ve(tt), ba = ve(Oe), pa = ve(at), ha = ve(nt), ma = ve(rt), It = _t ? _t.prototype : void 0, Ot = It ? It.valueOf : void 0;
1230
- function de(e) {
1231
- var i = -1, c = e ? e.length : 0;
1232
- for (this.clear(); ++i < c; ) {
1233
- var h = e[i];
1234
- this.set(h[0], h[1]);
1227
+ }(), kt = oa.toString, fe = Le.hasOwnProperty, Me = Le.toString, sa = RegExp(
1228
+ "^" + kt.call(fe).replace(A, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1229
+ ), _t = X ? h.Buffer : void 0, Tt = h.Symbol, Ct = h.Uint8Array, la = et(Object.getPrototypeOf, Object), ca = Object.create, ua = Le.propertyIsEnumerable, da = ia.splice, It = Object.getOwnPropertySymbols, fa = _t ? _t.isBuffer : void 0, va = et(Object.keys, Object), at = Ce(h, "DataView"), Ae = Ce(h, "Map"), nt = Ce(h, "Promise"), rt = Ce(h, "Set"), it = Ce(h, "WeakMap"), Fe = Ce(Object, "create"), ba = he(at), pa = he(Ae), ha = he(nt), ma = he(rt), ga = he(it), St = Tt ? Tt.prototype : void 0, Ot = St ? St.valueOf : void 0;
1230
+ function be(e) {
1231
+ var i = -1, l = e ? e.length : 0;
1232
+ for (this.clear(); ++i < l; ) {
1233
+ var p = e[i];
1234
+ this.set(p[0], p[1]);
1235
1235
  }
1236
1236
  }
1237
- function ga() {
1238
- this.__data__ = $e ? $e(null) : {};
1237
+ function ya() {
1238
+ this.__data__ = Fe ? Fe(null) : {};
1239
1239
  }
1240
- function ya(e) {
1240
+ function wa(e) {
1241
1241
  return this.has(e) && delete this.__data__[e];
1242
1242
  }
1243
- function wa(e) {
1243
+ function ka(e) {
1244
1244
  var i = this.__data__;
1245
- if ($e) {
1246
- var c = i[e];
1247
- return c === a ? void 0 : c;
1245
+ if (Fe) {
1246
+ var l = i[e];
1247
+ return l === a ? void 0 : l;
1248
1248
  }
1249
- return ue.call(i, e) ? i[e] : void 0;
1249
+ return fe.call(i, e) ? i[e] : void 0;
1250
1250
  }
1251
- function ka(e) {
1251
+ function _a(e) {
1252
1252
  var i = this.__data__;
1253
- return $e ? i[e] !== void 0 : ue.call(i, e);
1254
- }
1255
- function _a(e, i) {
1256
- var c = this.__data__;
1257
- return c[e] = $e && i === void 0 ? a : i, this;
1258
- }
1259
- de.prototype.clear = ga, de.prototype.delete = ya, de.prototype.get = wa, de.prototype.has = ka, de.prototype.set = _a;
1260
- function se(e) {
1261
- var i = -1, c = e ? e.length : 0;
1262
- for (this.clear(); ++i < c; ) {
1263
- var h = e[i];
1264
- this.set(h[0], h[1]);
1253
+ return Fe ? i[e] !== void 0 : fe.call(i, e);
1254
+ }
1255
+ function Ta(e, i) {
1256
+ var l = this.__data__;
1257
+ return l[e] = Fe && i === void 0 ? a : i, this;
1258
+ }
1259
+ be.prototype.clear = ya, be.prototype.delete = wa, be.prototype.get = ka, be.prototype.has = _a, be.prototype.set = Ta;
1260
+ function ce(e) {
1261
+ var i = -1, l = e ? e.length : 0;
1262
+ for (this.clear(); ++i < l; ) {
1263
+ var p = e[i];
1264
+ this.set(p[0], p[1]);
1265
1265
  }
1266
1266
  }
1267
- function Ta() {
1267
+ function Ca() {
1268
1268
  this.__data__ = [];
1269
1269
  }
1270
- function Sa(e) {
1271
- var i = this.__data__, c = Be(i, e);
1272
- if (c < 0)
1270
+ function Ia(e) {
1271
+ var i = this.__data__, l = Pe(i, e);
1272
+ if (l < 0)
1273
1273
  return !1;
1274
- var h = i.length - 1;
1275
- return c == h ? i.pop() : ua.call(i, c, 1), !0;
1274
+ var p = i.length - 1;
1275
+ return l == p ? i.pop() : da.call(i, l, 1), !0;
1276
1276
  }
1277
- function Ia(e) {
1278
- var i = this.__data__, c = Be(i, e);
1279
- return c < 0 ? void 0 : i[c][1];
1277
+ function Sa(e) {
1278
+ var i = this.__data__, l = Pe(i, e);
1279
+ return l < 0 ? void 0 : i[l][1];
1280
1280
  }
1281
1281
  function Oa(e) {
1282
- return Be(this.__data__, e) > -1;
1282
+ return Pe(this.__data__, e) > -1;
1283
1283
  }
1284
1284
  function $a(e, i) {
1285
- var c = this.__data__, h = Be(c, e);
1286
- return h < 0 ? c.push([e, i]) : c[h][1] = i, this;
1287
- }
1288
- se.prototype.clear = Ta, se.prototype.delete = Sa, se.prototype.get = Ia, se.prototype.has = Oa, se.prototype.set = $a;
1289
- function ye(e) {
1290
- var i = -1, c = e ? e.length : 0;
1291
- for (this.clear(); ++i < c; ) {
1292
- var h = e[i];
1293
- this.set(h[0], h[1]);
1285
+ var l = this.__data__, p = Pe(l, e);
1286
+ return p < 0 ? l.push([e, i]) : l[p][1] = i, this;
1287
+ }
1288
+ ce.prototype.clear = Ca, ce.prototype.delete = Ia, ce.prototype.get = Sa, ce.prototype.has = Oa, ce.prototype.set = $a;
1289
+ function _e(e) {
1290
+ var i = -1, l = e ? e.length : 0;
1291
+ for (this.clear(); ++i < l; ) {
1292
+ var p = e[i];
1293
+ this.set(p[0], p[1]);
1294
1294
  }
1295
1295
  }
1296
- function Ca() {
1296
+ function Ea() {
1297
1297
  this.__data__ = {
1298
- hash: new de(),
1299
- map: new (Oe || se)(),
1300
- string: new de()
1298
+ hash: new be(),
1299
+ map: new (Ae || ce)(),
1300
+ string: new be()
1301
1301
  };
1302
1302
  }
1303
- function Ea(e) {
1304
- return Le(this, e).delete(e);
1305
- }
1306
1303
  function Aa(e) {
1307
- return Le(this, e).get(e);
1304
+ return je(this, e).delete(e);
1305
+ }
1306
+ function Fa(e) {
1307
+ return je(this, e).get(e);
1308
1308
  }
1309
1309
  function Na(e) {
1310
- return Le(this, e).has(e);
1310
+ return je(this, e).has(e);
1311
1311
  }
1312
- function Fa(e, i) {
1313
- return Le(this, e).set(e, i), this;
1312
+ function Da(e, i) {
1313
+ return je(this, e).set(e, i), this;
1314
1314
  }
1315
- ye.prototype.clear = Ca, ye.prototype.delete = Ea, ye.prototype.get = Aa, ye.prototype.has = Na, ye.prototype.set = Fa;
1316
- function we(e) {
1317
- this.__data__ = new se(e);
1315
+ _e.prototype.clear = Ea, _e.prototype.delete = Aa, _e.prototype.get = Fa, _e.prototype.has = Na, _e.prototype.set = Da;
1316
+ function Te(e) {
1317
+ this.__data__ = new ce(e);
1318
1318
  }
1319
- function Da() {
1320
- this.__data__ = new se();
1319
+ function Ra() {
1320
+ this.__data__ = new ce();
1321
1321
  }
1322
- function Ra(e) {
1322
+ function xa(e) {
1323
1323
  return this.__data__.delete(e);
1324
1324
  }
1325
- function xa(e) {
1325
+ function Ba(e) {
1326
1326
  return this.__data__.get(e);
1327
1327
  }
1328
- function Ba(e) {
1328
+ function La(e) {
1329
1329
  return this.__data__.has(e);
1330
1330
  }
1331
- function La(e, i) {
1332
- var c = this.__data__;
1333
- if (c instanceof se) {
1334
- var h = c.__data__;
1335
- if (!Oe || h.length < r - 1)
1336
- return h.push([e, i]), this;
1337
- c = this.__data__ = new ye(h);
1331
+ function Ma(e, i) {
1332
+ var l = this.__data__;
1333
+ if (l instanceof ce) {
1334
+ var p = l.__data__;
1335
+ if (!Ae || p.length < r - 1)
1336
+ return p.push([e, i]), this;
1337
+ l = this.__data__ = new _e(p);
1338
1338
  }
1339
- return c.set(e, i), this;
1339
+ return l.set(e, i), this;
1340
1340
  }
1341
- we.prototype.clear = Da, we.prototype.delete = Ra, we.prototype.get = xa, we.prototype.has = Ba, we.prototype.set = La;
1342
- function Ma(e, i) {
1343
- var c = st(e) || ln(e) ? aa(e.length, String) : [], h = c.length, j = !!h;
1344
- for (var X in e)
1345
- ue.call(e, X) && !(j && (X == "length" || rn(X, h))) && c.push(X);
1346
- return c;
1341
+ Te.prototype.clear = Ra, Te.prototype.delete = xa, Te.prototype.get = Ba, Te.prototype.has = La, Te.prototype.set = Ma;
1342
+ function Pa(e, i) {
1343
+ var l = lt(e) || un(e) ? na(e.length, String) : [], p = l.length, U = !!p;
1344
+ for (var J in e)
1345
+ fe.call(e, J) && !(U && (J == "length" || on(J, p))) && l.push(J);
1346
+ return l;
1347
1347
  }
1348
- function $t(e, i, c) {
1349
- var h = e[i];
1350
- (!(ue.call(e, i) && Nt(h, c)) || c === void 0 && !(i in e)) && (e[i] = c);
1348
+ function $t(e, i, l) {
1349
+ var p = e[i];
1350
+ (!(fe.call(e, i) && Nt(p, l)) || l === void 0 && !(i in e)) && (e[i] = l);
1351
1351
  }
1352
- function Be(e, i) {
1353
- for (var c = e.length; c--; )
1354
- if (Nt(e[c][0], i))
1355
- return c;
1352
+ function Pe(e, i) {
1353
+ for (var l = e.length; l--; )
1354
+ if (Nt(e[l][0], i))
1355
+ return l;
1356
1356
  return -1;
1357
1357
  }
1358
- function Pa(e, i) {
1359
- return e && Ct(i, ct(i), e);
1358
+ function ja(e, i) {
1359
+ return e && Et(i, ct(i), e);
1360
1360
  }
1361
- function it(e, i, c, h, j, X, ce) {
1362
- var Y;
1363
- if (h && (Y = X ? h(e, j, X, ce) : h(e)), Y !== void 0)
1364
- return Y;
1365
- if (!Me(e))
1361
+ function ot(e, i, l, p, U, J, ue) {
1362
+ var Q;
1363
+ if (p && (Q = J ? p(e, U, J, ue) : p(e)), Q !== void 0)
1364
+ return Q;
1365
+ if (!Ke(e))
1366
1366
  return e;
1367
- var Rt = st(e);
1368
- if (Rt) {
1369
- if (Y = tn(e), !i)
1370
- return Ja(e, Y);
1367
+ var xt = lt(e);
1368
+ if (xt) {
1369
+ if (Q = an(e), !i)
1370
+ return Qa(e, Q);
1371
1371
  } else {
1372
- var _e = fe(e), xt = _e == F || _e == N;
1373
- if (dn(e))
1374
- return Wa(e, i);
1375
- if (_e == I || _e == u || xt && !X) {
1376
- if (ht(e))
1377
- return X ? e : {};
1378
- if (Y = an(xt ? {} : e), !i)
1379
- return Qa(e, Pa(Y, e));
1372
+ var Ie = pe(e), Bt = Ie == x || Ie == R;
1373
+ if (fn(e))
1374
+ return Ua(e, i);
1375
+ if (Ie == C || Ie == u || Bt && !J) {
1376
+ if (mt(e))
1377
+ return J ? e : {};
1378
+ if (Q = nn(Bt ? {} : e), !i)
1379
+ return en(e, ja(Q, e));
1380
1380
  } else {
1381
- if (!m[_e])
1382
- return X ? e : {};
1383
- Y = nn(e, _e, it, i);
1381
+ if (!d[Ie])
1382
+ return J ? e : {};
1383
+ Q = rn(e, Ie, ot, i);
1384
1384
  }
1385
1385
  }
1386
- ce || (ce = new we());
1387
- var Bt = ce.get(e);
1388
- if (Bt)
1389
- return Bt;
1390
- if (ce.set(e, Y), !Rt)
1391
- var Lt = c ? en(e) : ct(e);
1392
- return ea(Lt || e, function(lt, Pe) {
1393
- Lt && (Pe = lt, lt = e[Pe]), $t(Y, Pe, it(lt, i, c, h, Pe, e, ce));
1394
- }), Y;
1395
- }
1396
- function ja(e) {
1397
- return Me(e) ? ca(e) : {};
1398
- }
1399
- function Za(e, i, c) {
1400
- var h = i(e);
1401
- return st(e) ? h : ta(h, c(e));
1386
+ ue || (ue = new Te());
1387
+ var Lt = ue.get(e);
1388
+ if (Lt)
1389
+ return Lt;
1390
+ if (ue.set(e, Q), !xt)
1391
+ var Mt = l ? tn(e) : ct(e);
1392
+ return ta(Mt || e, function(ut, Ze) {
1393
+ Mt && (Ze = ut, ut = e[Ze]), $t(Q, Ze, ot(ut, i, l, p, Ze, e, ue));
1394
+ }), Q;
1402
1395
  }
1403
1396
  function Ka(e) {
1404
- return xe.call(e);
1397
+ return Ke(e) ? ca(e) : {};
1398
+ }
1399
+ function Za(e, i, l) {
1400
+ var p = i(e);
1401
+ return lt(e) ? p : aa(p, l(e));
1405
1402
  }
1406
1403
  function Ha(e) {
1407
- if (!Me(e) || sn(e))
1408
- return !1;
1409
- var i = Dt(e) || ht(e) ? oa : b;
1410
- return i.test(ve(e));
1404
+ return Me.call(e);
1411
1405
  }
1412
1406
  function za(e) {
1413
- if (!At(e))
1414
- return fa(e);
1407
+ if (!Ke(e) || ln(e))
1408
+ return !1;
1409
+ var i = Rt(e) || mt(e) ? sa : D;
1410
+ return i.test(he(e));
1411
+ }
1412
+ function Ga(e) {
1413
+ if (!Ft(e))
1414
+ return va(e);
1415
1415
  var i = [];
1416
- for (var c in Object(e))
1417
- ue.call(e, c) && c != "constructor" && i.push(c);
1416
+ for (var l in Object(e))
1417
+ fe.call(e, l) && l != "constructor" && i.push(l);
1418
1418
  return i;
1419
1419
  }
1420
- function Wa(e, i) {
1420
+ function Ua(e, i) {
1421
1421
  if (i)
1422
1422
  return e.slice();
1423
- var c = new e.constructor(e.length);
1424
- return e.copy(c), c;
1423
+ var l = new e.constructor(e.length);
1424
+ return e.copy(l), l;
1425
1425
  }
1426
- function ot(e) {
1426
+ function st(e) {
1427
1427
  var i = new e.constructor(e.byteLength);
1428
- return new Tt(i).set(new Tt(e)), i;
1428
+ return new Ct(i).set(new Ct(e)), i;
1429
1429
  }
1430
- function Ga(e, i) {
1431
- var c = i ? ot(e.buffer) : e.buffer;
1432
- return new e.constructor(c, e.byteOffset, e.byteLength);
1430
+ function Wa(e, i) {
1431
+ var l = i ? st(e.buffer) : e.buffer;
1432
+ return new e.constructor(l, e.byteOffset, e.byteLength);
1433
1433
  }
1434
- function Ua(e, i, c) {
1435
- var h = i ? c(mt(e), !0) : mt(e);
1436
- return pt(h, Se, new e.constructor());
1434
+ function Va(e, i, l) {
1435
+ var p = i ? l(gt(e), !0) : gt(e);
1436
+ return ht(p, le, new e.constructor());
1437
1437
  }
1438
- function Va(e) {
1439
- var i = new e.constructor(e.source, w.exec(e));
1438
+ function qa(e) {
1439
+ var i = new e.constructor(e.source, F.exec(e));
1440
1440
  return i.lastIndex = e.lastIndex, i;
1441
1441
  }
1442
- function qa(e, i, c) {
1443
- var h = i ? c(gt(e), !0) : gt(e);
1444
- return pt(h, Ie, new e.constructor());
1442
+ function Xa(e, i, l) {
1443
+ var p = i ? l(yt(e), !0) : yt(e);
1444
+ return ht(p, Ee, new e.constructor());
1445
1445
  }
1446
- function Xa(e) {
1446
+ function Ya(e) {
1447
1447
  return Ot ? Object(Ot.call(e)) : {};
1448
1448
  }
1449
- function Ya(e, i) {
1450
- var c = i ? ot(e.buffer) : e.buffer;
1451
- return new e.constructor(c, e.byteOffset, e.length);
1452
- }
1453
1449
  function Ja(e, i) {
1454
- var c = -1, h = e.length;
1455
- for (i || (i = Array(h)); ++c < h; )
1456
- i[c] = e[c];
1450
+ var l = i ? st(e.buffer) : e.buffer;
1451
+ return new e.constructor(l, e.byteOffset, e.length);
1452
+ }
1453
+ function Qa(e, i) {
1454
+ var l = -1, p = e.length;
1455
+ for (i || (i = Array(p)); ++l < p; )
1456
+ i[l] = e[l];
1457
1457
  return i;
1458
1458
  }
1459
- function Ct(e, i, c, h) {
1460
- c || (c = {});
1461
- for (var j = -1, X = i.length; ++j < X; ) {
1462
- var ce = i[j], Y = void 0;
1463
- $t(c, ce, Y === void 0 ? e[ce] : Y);
1459
+ function Et(e, i, l, p) {
1460
+ l || (l = {});
1461
+ for (var U = -1, J = i.length; ++U < J; ) {
1462
+ var ue = i[U], Q = void 0;
1463
+ $t(l, ue, Q === void 0 ? e[ue] : Q);
1464
1464
  }
1465
- return c;
1465
+ return l;
1466
1466
  }
1467
- function Qa(e, i) {
1468
- return Ct(e, Et(e), i);
1469
- }
1470
- function en(e) {
1471
- return Za(e, ct, Et);
1472
- }
1473
- function Le(e, i) {
1474
- var c = e.__data__;
1475
- return on(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
1476
- }
1477
- function ke(e, i) {
1478
- var c = na(e, i);
1479
- return Ha(c) ? c : void 0;
1480
- }
1481
- var Et = St ? Qe(St, Object) : bn, fe = Ka;
1482
- (tt && fe(new tt(new ArrayBuffer(1))) != V || Oe && fe(new Oe()) != x || at && fe(at.resolve()) != Z || nt && fe(new nt()) != B || rt && fe(new rt()) != te) && (fe = function(e) {
1483
- var i = xe.call(e), c = i == I ? e.constructor : void 0, h = c ? ve(c) : void 0;
1484
- if (h)
1485
- switch (h) {
1486
- case va:
1487
- return V;
1467
+ function en(e, i) {
1468
+ return Et(e, At(e), i);
1469
+ }
1470
+ function tn(e) {
1471
+ return Za(e, ct, At);
1472
+ }
1473
+ function je(e, i) {
1474
+ var l = e.__data__;
1475
+ return sn(i) ? l[typeof i == "string" ? "string" : "hash"] : l.map;
1476
+ }
1477
+ function Ce(e, i) {
1478
+ var l = ra(e, i);
1479
+ return za(l) ? l : void 0;
1480
+ }
1481
+ var At = It ? et(It, Object) : pn, pe = Ha;
1482
+ (at && pe(new at(new ArrayBuffer(1))) != te || Ae && pe(new Ae()) != M || nt && pe(nt.resolve()) != W || rt && pe(new rt()) != L || it && pe(new it()) != q) && (pe = function(e) {
1483
+ var i = Me.call(e), l = i == C ? e.constructor : void 0, p = l ? he(l) : void 0;
1484
+ if (p)
1485
+ switch (p) {
1488
1486
  case ba:
1489
- return x;
1487
+ return te;
1490
1488
  case pa:
1491
- return Z;
1489
+ return M;
1492
1490
  case ha:
1493
- return B;
1491
+ return W;
1494
1492
  case ma:
1495
- return te;
1493
+ return L;
1494
+ case ga:
1495
+ return q;
1496
1496
  }
1497
1497
  return i;
1498
1498
  });
1499
- function tn(e) {
1500
- var i = e.length, c = e.constructor(i);
1501
- return i && typeof e[0] == "string" && ue.call(e, "index") && (c.index = e.index, c.input = e.input), c;
1502
- }
1503
1499
  function an(e) {
1504
- return typeof e.constructor == "function" && !At(e) ? ja(sa(e)) : {};
1500
+ var i = e.length, l = e.constructor(i);
1501
+ return i && typeof e[0] == "string" && fe.call(e, "index") && (l.index = e.index, l.input = e.input), l;
1502
+ }
1503
+ function nn(e) {
1504
+ return typeof e.constructor == "function" && !Ft(e) ? Ka(la(e)) : {};
1505
1505
  }
1506
- function nn(e, i, c, h) {
1507
- var j = e.constructor;
1506
+ function rn(e, i, l, p) {
1507
+ var U = e.constructor;
1508
1508
  switch (i) {
1509
- case oe:
1510
- return ot(e);
1509
+ case ne:
1510
+ return st(e);
1511
+ case v:
1512
+ case y:
1513
+ return new U(+e);
1514
+ case te:
1515
+ return Wa(e, p);
1516
+ case ae:
1517
+ case N:
1518
+ case z:
1519
+ case G:
1520
+ case Z:
1521
+ case $:
1522
+ case c:
1511
1523
  case f:
1512
- case g:
1513
- return new j(+e);
1524
+ case m:
1525
+ return Ja(e, p);
1526
+ case M:
1527
+ return Va(e, p, l);
1528
+ case j:
1529
+ case se:
1530
+ return new U(e);
1514
1531
  case V:
1515
- return Ga(e, h);
1516
- case q:
1517
- case C:
1518
- case K:
1519
- case W:
1520
- case H:
1521
- case A:
1522
- case l:
1523
- case d:
1524
- case y:
1525
- return Ya(e, h);
1526
- case x:
1527
- return Ua(e, h, c);
1532
+ return qa(e);
1528
1533
  case L:
1529
- case re:
1530
- return new j(e);
1531
- case P:
1532
- return Va(e);
1533
- case B:
1534
- return qa(e, h, c);
1535
- case ie:
1536
- return Xa(e);
1534
+ return Xa(e, p, l);
1535
+ case de:
1536
+ return Ya(e);
1537
1537
  }
1538
1538
  }
1539
- function rn(e, i) {
1540
- return i = i ?? s, !!i && (typeof e == "number" || k.test(e)) && e > -1 && e % 1 == 0 && e < i;
1539
+ function on(e, i) {
1540
+ return i = i ?? s, !!i && (typeof e == "number" || S.test(e)) && e > -1 && e % 1 == 0 && e < i;
1541
1541
  }
1542
- function on(e) {
1542
+ function sn(e) {
1543
1543
  var i = typeof e;
1544
1544
  return i == "string" || i == "number" || i == "symbol" || i == "boolean" ? e !== "__proto__" : e === null;
1545
1545
  }
1546
- function sn(e) {
1547
- return !!yt && yt in e;
1546
+ function ln(e) {
1547
+ return !!wt && wt in e;
1548
1548
  }
1549
- function At(e) {
1550
- var i = e && e.constructor, c = typeof i == "function" && i.prototype || Re;
1551
- return e === c;
1549
+ function Ft(e) {
1550
+ var i = e && e.constructor, l = typeof i == "function" && i.prototype || Le;
1551
+ return e === l;
1552
1552
  }
1553
- function ve(e) {
1553
+ function he(e) {
1554
1554
  if (e != null) {
1555
1555
  try {
1556
- return wt.call(e);
1556
+ return kt.call(e);
1557
1557
  } catch {
1558
1558
  }
1559
1559
  try {
@@ -1564,62 +1564,62 @@ Xe.exports;
1564
1564
  return "";
1565
1565
  }
1566
1566
  function cn(e) {
1567
- return it(e, !0, !0);
1567
+ return ot(e, !0, !0);
1568
1568
  }
1569
1569
  function Nt(e, i) {
1570
1570
  return e === i || e !== e && i !== i;
1571
1571
  }
1572
- function ln(e) {
1573
- return un(e) && ue.call(e, "callee") && (!la.call(e, "callee") || xe.call(e) == u);
1574
- }
1575
- var st = Array.isArray;
1576
- function Ft(e) {
1577
- return e != null && fn(e.length) && !Dt(e);
1578
- }
1579
1572
  function un(e) {
1580
- return vn(e) && Ft(e);
1573
+ return dn(e) && fe.call(e, "callee") && (!ua.call(e, "callee") || Me.call(e) == u);
1581
1574
  }
1582
- var dn = da || pn;
1575
+ var lt = Array.isArray;
1583
1576
  function Dt(e) {
1584
- var i = Me(e) ? xe.call(e) : "";
1585
- return i == F || i == N;
1577
+ return e != null && vn(e.length) && !Rt(e);
1578
+ }
1579
+ function dn(e) {
1580
+ return bn(e) && Dt(e);
1581
+ }
1582
+ var fn = fa || hn;
1583
+ function Rt(e) {
1584
+ var i = Ke(e) ? Me.call(e) : "";
1585
+ return i == x || i == R;
1586
1586
  }
1587
- function fn(e) {
1587
+ function vn(e) {
1588
1588
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= s;
1589
1589
  }
1590
- function Me(e) {
1590
+ function Ke(e) {
1591
1591
  var i = typeof e;
1592
1592
  return !!e && (i == "object" || i == "function");
1593
1593
  }
1594
- function vn(e) {
1594
+ function bn(e) {
1595
1595
  return !!e && typeof e == "object";
1596
1596
  }
1597
1597
  function ct(e) {
1598
- return Ft(e) ? Ma(e) : za(e);
1598
+ return Dt(e) ? Pa(e) : Ga(e);
1599
1599
  }
1600
- function bn() {
1600
+ function pn() {
1601
1601
  return [];
1602
1602
  }
1603
- function pn() {
1603
+ function hn() {
1604
1604
  return !1;
1605
1605
  }
1606
1606
  n.exports = cn;
1607
- })(Xe, Xe.exports);
1608
- var qr = Xe.exports;
1609
- const Xr = /* @__PURE__ */ Vr(qr), Yr = {
1607
+ })(Ye, Ye.exports);
1608
+ var oi = Ye.exports;
1609
+ const si = /* @__PURE__ */ ii(oi), li = {
1610
1610
  key: 0,
1611
1611
  class: "sidebar-header"
1612
- }, Jr = { class: "sidebar-content-container" }, Qr = {
1612
+ }, ci = { class: "sidebar-content-container" }, ui = {
1613
1613
  key: 0,
1614
1614
  class: "sidebar-top"
1615
- }, ei = { "aria-label": "Main menu" }, ti = ["id"], ai = ["aria-labelledby"], ni = {
1615
+ }, di = { "aria-label": "Main menu" }, fi = ["id"], vi = ["aria-labelledby"], bi = {
1616
1616
  key: 1,
1617
1617
  class: "sidebar-level-divider",
1618
1618
  role: "separator"
1619
- }, ri = {
1619
+ }, pi = {
1620
1620
  key: 2,
1621
1621
  class: "level-primary bottom-items"
1622
- }, ii = { class: "sidebar-footer" }, Ke = "_ungrouped", oi = /* @__PURE__ */ Q({
1622
+ }, hi = { class: "sidebar-footer" }, me = "_ungrouped", mi = /* @__PURE__ */ re({
1623
1623
  __name: "AppSidebar",
1624
1624
  props: {
1625
1625
  topItems: {
@@ -1630,6 +1630,10 @@ const Xr = /* @__PURE__ */ Vr(qr), Yr = {
1630
1630
  type: Array,
1631
1631
  default: () => []
1632
1632
  },
1633
+ groupConfig: {
1634
+ type: Object,
1635
+ default: () => ({})
1636
+ },
1633
1637
  headerHeight: {
1634
1638
  type: Number,
1635
1639
  default: 60
@@ -1676,173 +1680,234 @@ const Xr = /* @__PURE__ */ Vr(qr), Yr = {
1676
1680
  default: !0
1677
1681
  }
1678
1682
  },
1679
- emits: ["click", "toggle"],
1683
+ emits: ["click", "toggle", "toggle-collapse"],
1680
1684
  setup(n, { emit: t }) {
1681
- bt((v) => ({
1682
- f4fb3cae: f.value.mobileHeight,
1683
- "0a139013": f.value.mobileTop,
1684
- "52aa6542": n.zIndex,
1685
- "30e65667": f.value.height,
1686
- "546c0415": f.value.top,
1687
- f7e0f72e: E.value.marginTop,
1688
- "1392bb60": d.value,
1689
- "633f46fa": g.value.display,
1690
- bdfa14cc: g.value.minHeight,
1691
- 50713838: F.value.top,
1692
- 74679389: F.value.zIndex
1685
+ pt((d) => ({
1686
+ "6bcd667e": v.value.mobileHeight,
1687
+ "0e3b880a": v.value.mobileTop,
1688
+ "7fe48b47": n.zIndex,
1689
+ "811d1902": v.value.height,
1690
+ "7f03bdfd": v.value.top,
1691
+ a2b1835e: E.value.marginTop,
1692
+ "638f1f10": D.value,
1693
+ "5ceb799b": y.value.display,
1694
+ "8d89a69c": y.value.minHeight,
1695
+ "315477cc": x.value.top,
1696
+ c671d2be: x.value.zIndex
1693
1697
  }));
1694
- const r = t, a = n, s = Ye(), u = T(() => !!s.header), o = T(() => !!s.top), f = T(() => ({
1698
+ const r = t, a = n, s = Je(), u = _(() => !!s.header), o = _(() => !!s.top), v = _(() => ({
1695
1699
  mobileTop: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : a.topOffset ? `${a.topOffset}px` : "0",
1696
1700
  top: a.topOffset ? `${a.topOffset}px` : "0",
1697
1701
  mobileHeight: a.mobileTopOffset && a.mobileEnabled ? `calc(100% - ${a.mobileTopOffset}px)` : "100%",
1698
1702
  height: a.topOffset ? `calc(100% - ${a.topOffset}px)` : "100%"
1699
- })), g = T(() => ({
1703
+ })), y = _(() => ({
1700
1704
  display: !a.mobileHeaderVisible && a.mobileEnabled ? "none" : "flex",
1701
1705
  minHeight: `${a.headerHeight}px`
1702
- })), E = T(() => ({
1706
+ })), E = _(() => ({
1703
1707
  marginTop: u.value ? `${a.headerHeight}px` : "0"
1704
- })), F = T(() => ({
1708
+ })), x = _(() => ({
1705
1709
  top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
1706
1710
  zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
1707
- })), N = (v) => Xr(v).map((b) => {
1708
- var k, m, D;
1709
- if (b) {
1710
- (!b.key || !((k = b.key) != null && k.trim())) && (b.key = String(b.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!b.testId || !((m = b.testId) != null && m.trim())) && (b.testId = String(b.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1711
- for (const M of b.items || [])
1712
- M.parentKey = b.key, (!M.testId || !((D = M.testId) != null && D.trim())) && (M.testId = String(M.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1711
+ })), R = (d) => si(d).map((k) => {
1712
+ var h, H, P;
1713
+ if (k) {
1714
+ (!k.key || !((h = k.key) != null && h.trim())) && (k.key = String(k.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!k.testId || !((H = k.testId) != null && H.trim())) && (k.testId = String(k.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1715
+ for (const X of k.items || [])
1716
+ X.parentKey = k.key, (!X.testId || !((P = X.testId) != null && P.trim())) && (X.testId = String(X.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1713
1717
  }
1714
- return b;
1715
- }), x = T(() => a.topItems.length ? N(a.topItems) : []), L = T(() => a.bottomItems.length ? N(a.bottomItems) : []), I = (v = "") => v.trim().replace(" ", "").replace(/[^a-z0-9]+/gi, "-").toLowerCase(), Z = T(() => {
1716
- var w;
1717
- const v = /* @__PURE__ */ new Map();
1718
- v.set(Ke, []);
1719
- for (const b of x.value) {
1720
- const k = b.group || Ke;
1721
- v.has(k) || v.set(k, []), (w = v.get(k)) == null || w.push(b);
1718
+ return k;
1719
+ }), M = _(() => a.topItems.length ? R(a.topItems) : []), j = _(() => a.bottomItems.length ? R(a.bottomItems) : []), C = (d = "") => d.trim().replace(" ", "").replace(/[^a-z0-9]+/gi, "-").toLowerCase(), W = _(() => {
1720
+ var g;
1721
+ const d = /* @__PURE__ */ new Map();
1722
+ d.set(me, []);
1723
+ for (const k of M.value) {
1724
+ const h = k.group || me;
1725
+ d.has(h) || d.set(h, []), (g = d.get(h)) == null || g.push(k);
1722
1726
  }
1723
- return v;
1724
- }), P = J(a.open), B = (v) => {
1725
- var w, b;
1726
- P.value !== v && (P.value = v, r("toggle", v)), v ? (w = document == null ? void 0 : document.body) == null || w.classList.add("kong-ui-app-sidebar-open") : (b = document == null ? void 0 : document.body) == null || b.classList.remove("kong-ui-app-sidebar-open"), ie.value = !1;
1727
- }, re = () => {
1728
- a.mobileOverlayCloseOnClick && B(!1);
1729
- }, ie = J(!1), te = (v) => {
1730
- ie.value = !0, r("click", v), setTimeout(() => {
1731
- B(!1);
1727
+ return d;
1728
+ }), V = (d = "") => {
1729
+ if (d === me || !d.trim())
1730
+ return null;
1731
+ const g = {
1732
+ label: d,
1733
+ collapsible: !1,
1734
+ collapsed: !1
1735
+ };
1736
+ let k = d.trim().replace(" ", "");
1737
+ return k = k.charAt(0).toLowerCase() + k.slice(1), d && a.groupConfig && (a.groupConfig[d] || a.groupConfig[k]) ? a.groupConfig[d] || a.groupConfig[k] : g;
1738
+ }, L = (d) => {
1739
+ var g;
1740
+ return !!((g = V(d)) != null && g.collapsible);
1741
+ }, se = (d) => {
1742
+ var g;
1743
+ return !!((g = V(d)) != null && g.collapsed);
1744
+ }, de = (d, g, k) => {
1745
+ const h = V(d);
1746
+ h && (h.collapsed = g), k(), r("toggle-collapse", d, h);
1747
+ }, q = ee(a.open), ne = (d) => {
1748
+ var g, k;
1749
+ q.value !== d && (q.value = d, r("toggle", d)), d ? (g = document == null ? void 0 : document.body) == null || g.classList.add("kong-ui-app-sidebar-open") : (k = document == null ? void 0 : document.body) == null || k.classList.remove("kong-ui-app-sidebar-open"), ae.value = !1;
1750
+ }, te = () => {
1751
+ a.mobileOverlayCloseOnClick && ne(!1);
1752
+ }, ae = ee(!1), N = (d) => {
1753
+ ae.value = !0, r("click", d), setTimeout(() => {
1754
+ ne(!1);
1732
1755
  }, a.mobileCloseDelay);
1733
1756
  };
1734
- Fe(() => a.open, (v) => {
1735
- B(v);
1757
+ Be(() => a.open, (d) => {
1758
+ ne(d);
1736
1759
  });
1737
- const { debounce: oe } = Qt(), V = oe(() => {
1738
- P.value && q.value !== (window == null ? void 0 : window.innerWidth) && (q.value = window == null ? void 0 : window.innerWidth, B(!1));
1739
- }, 200), q = J(), C = J(!1), K = J(), W = () => {
1740
- C.value || (C.value = !0, clearTimeout(K.value), K.value = setTimeout(() => C.value = !1, 1300));
1741
- }, H = J(null), A = T(() => P.value && a.mobileEnabled), l = async (v) => {
1742
- var w, b;
1743
- v ? (await Mt(), await new Promise((k) => setTimeout(k, 300)), (w = H.value) == null || w.activate()) : (b = H.value) == null || b.deactivate();
1760
+ const { debounce: z } = ea(), G = z(() => {
1761
+ q.value && Z.value !== (window == null ? void 0 : window.innerWidth) && (Z.value = window == null ? void 0 : window.innerWidth, ne(!1));
1762
+ }, 200), Z = ee(), $ = ee(!1), c = ee(), f = () => {
1763
+ $.value || ($.value = !0, clearTimeout(c.value), c.value = setTimeout(() => $.value = !1, 1300));
1764
+ }, m = ee(null), A = _(() => q.value && a.mobileEnabled), F = async (d) => {
1765
+ var g, k;
1766
+ d ? (await Pt(), await new Promise((h) => setTimeout(h, 300)), (g = m.value) == null || g.activate()) : (k = m.value) == null || k.deactivate();
1744
1767
  };
1745
- Fe(A, async (v) => {
1746
- v ? await l(!0) : await l(!1);
1768
+ Be(A, async (d) => {
1769
+ d ? await F(!0) : await F(!1);
1747
1770
  }, { immediate: !0 });
1748
- const d = J("0px"), y = () => {
1749
- var M;
1750
- if (!(/Mac|iPhone|iPod|iPad/i.test(navigator == null ? void 0 : navigator.platform) || /macOS|Mac|iPhone|iPod|iPad/i.test((M = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : M.platform)))
1771
+ const D = ee("0px"), S = () => {
1772
+ var X;
1773
+ if (!(/Mac|iPhone|iPod|iPad/i.test(navigator == null ? void 0 : navigator.platform) || /macOS|Mac|iPhone|iPod|iPad/i.test((X = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : X.platform)))
1751
1774
  return;
1752
- const w = document.createElement("div");
1753
- w.style.visibility = "hidden", w.style.width = "100px", document.body.appendChild(w);
1754
- const b = w.offsetWidth;
1755
- w.style.overflow = "scroll";
1756
- const k = document.createElement("div");
1757
- k.style.width = "100%", w.appendChild(k);
1758
- const m = k.offsetWidth;
1759
- w.parentNode && w.parentNode.removeChild(w), b - m === 0 && (d.value = "8px");
1775
+ const g = document.createElement("div");
1776
+ g.style.visibility = "hidden", g.style.width = "100px", document.body.appendChild(g);
1777
+ const k = g.offsetWidth;
1778
+ g.style.overflow = "scroll";
1779
+ const h = document.createElement("div");
1780
+ h.style.width = "100%", g.appendChild(h);
1781
+ const H = h.offsetWidth;
1782
+ g.parentNode && g.parentNode.removeChild(g), k - H === 0 && (D.value = "8px");
1760
1783
  };
1761
- return Je(async () => {
1762
- q.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", V), window.addEventListener("resize", W), await Mt(), y();
1763
- }), Wt(() => {
1764
- window.removeEventListener("resize", V), window.removeEventListener("resize", W);
1765
- }), (v, w) => (p(), _(be, null, [
1766
- P.value && n.mobileOverlay && n.mobileEnabled ? (p(), _("div", {
1767
- key: 0,
1768
- class: "kong-ui-app-sidebar-overlay",
1769
- onClick: re
1770
- })) : O("", !0),
1771
- Ne(Gt(Ur), {
1772
- ref_key: "focusTrap",
1773
- ref: H,
1774
- active: !1,
1775
- "allow-outside-click": "",
1776
- "fallback-focus": ".kong-ui-app-sidebar"
1777
- }, {
1778
- default: R(() => [
1779
- $("aside", {
1780
- class: ne(["kong-ui-app-sidebar", {
1781
- "sidebar-open": P.value,
1782
- "no-sidebar-header": !u.value,
1783
- "mobile-header-hidden": n.mobileEnabled && (!u.value || !n.mobileHeaderVisible),
1784
- "mobile-disabled": !n.mobileEnabled,
1785
- "disable-transitions": C.value
1786
- }]),
1787
- tabindex: "-1"
1788
- }, [
1789
- u.value ? (p(), _("div", Yr, [
1790
- S(v.$slots, "header", {}, void 0, !0)
1791
- ])) : O("", !0),
1792
- $("div", Jr, [
1793
- o.value ? (p(), _("div", Qr, [
1794
- S(v.$slots, "top", {}, void 0, !0)
1795
- ])) : O("", !0),
1796
- $("nav", ei, [
1797
- Z.value.size > 0 ? (p(!0), _(be, { key: 0 }, he(Z.value, ([b, k]) => (p(), _(be, { key: b }, [
1798
- b !== Ke ? (p(), _("div", {
1799
- key: 0,
1800
- id: `level-primary-group-${I(b)}`,
1801
- class: "level-primary-group-name",
1802
- "data-testid": "level-primary-group-name",
1803
- role: "presentation"
1804
- }, U(b), 9, ti)) : O("", !0),
1805
- $("ul", {
1806
- "aria-labelledby": b !== Ke ? `level-primary-group-${I(b)}` : void 0,
1807
- class: "level-primary top-items"
1808
- }, [
1809
- (p(!0), _(be, null, he(k, (m) => (p(), z(Pt, {
1810
- key: m.name,
1811
- item: m,
1812
- onClick: te
1784
+ return Qe(async () => {
1785
+ if (Z.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", G), window.addEventListener("resize", f), a.groupConfig) {
1786
+ for (const d in a.groupConfig)
1787
+ if (window.matchMedia(`(max-width: ${fr})`).matches) {
1788
+ const g = a.groupConfig[d];
1789
+ g.collapsed = !1;
1790
+ }
1791
+ }
1792
+ await Pt(), S();
1793
+ }), Ut(() => {
1794
+ window.removeEventListener("resize", G), window.removeEventListener("resize", f);
1795
+ }), (d, g) => {
1796
+ const k = ve("KCollapse");
1797
+ return b(), w(Oe, null, [
1798
+ q.value && n.mobileOverlay && n.mobileEnabled ? (b(), w("div", {
1799
+ key: 0,
1800
+ class: "kong-ui-app-sidebar-overlay",
1801
+ onClick: te
1802
+ })) : I("", !0),
1803
+ xe(ge(ri), {
1804
+ ref_key: "focusTrap",
1805
+ ref: m,
1806
+ active: !1,
1807
+ "allow-outside-click": "",
1808
+ "fallback-focus": ".kong-ui-app-sidebar"
1809
+ }, {
1810
+ default: B(() => [
1811
+ O("aside", {
1812
+ class: oe(["kong-ui-app-sidebar", {
1813
+ "sidebar-open": q.value,
1814
+ "no-sidebar-header": !u.value,
1815
+ "mobile-header-hidden": n.mobileEnabled && (!u.value || !n.mobileHeaderVisible),
1816
+ "mobile-disabled": !n.mobileEnabled,
1817
+ "disable-transitions": $.value
1818
+ }]),
1819
+ tabindex: "-1"
1820
+ }, [
1821
+ u.value ? (b(), w("div", li, [
1822
+ T(d.$slots, "header", {}, void 0, !0)
1823
+ ])) : I("", !0),
1824
+ O("div", ci, [
1825
+ o.value ? (b(), w("div", ui, [
1826
+ T(d.$slots, "top", {}, void 0, !0)
1827
+ ])) : I("", !0),
1828
+ O("nav", di, [
1829
+ W.value.size > 0 ? (b(!0), w(Oe, { key: 0 }, we(W.value, ([h, H]) => (b(), K(k, {
1830
+ key: h,
1831
+ class: oe(["level-primary-group-collapse", {
1832
+ "not-collapsible": !L(h),
1833
+ ungrouped: h === me
1834
+ }]),
1835
+ "data-testid": h === me ? "level-primary-group-collapse-ungrouped" : `level-primary-group-collapse-${h}`,
1836
+ "model-value": L(h) && se(h) || !1
1837
+ }, {
1838
+ trigger: B(({ isCollapsed: P, toggle: X }) => [
1839
+ (b(), K($e(L(h) ? ge(Sn) : "div"), {
1840
+ appearance: L(h) ? "none" : void 0,
1841
+ class: "level-primary-group-collapse-trigger",
1842
+ onClick: (le) => L(h) ? de(h, P, X) : void 0
1843
+ }, {
1844
+ default: B(() => {
1845
+ var le;
1846
+ return [
1847
+ h !== me ? (b(), w("div", {
1848
+ key: 0,
1849
+ id: `level-primary-group-${C(h)}`,
1850
+ class: "level-primary-group-name",
1851
+ "data-testid": "level-primary-group-name",
1852
+ role: "presentation"
1853
+ }, Y(((le = V(h)) == null ? void 0 : le.label) || h), 9, fi)) : I("", !0),
1854
+ L(h) ? (b(), K($e(P ? ge(Wt) : ge(In)), {
1855
+ key: 1,
1856
+ class: "level-primary-group-collapse-icon",
1857
+ color: ge(br),
1858
+ "data-testid": "level-primary-group-collapse-icon",
1859
+ size: ge(vr)
1860
+ }, null, 8, ["color", "size"])) : I("", !0)
1861
+ ];
1862
+ }),
1863
+ _: 2
1864
+ }, 1032, ["appearance", "onClick"]))
1865
+ ]),
1866
+ default: B(() => [
1867
+ O("ul", {
1868
+ "aria-labelledby": h !== me ? `level-primary-group-${C(h)}` : void 0,
1869
+ class: "level-primary top-items"
1870
+ }, [
1871
+ (b(!0), w(Oe, null, we(H, (P) => (b(), K(jt, {
1872
+ key: P.name,
1873
+ item: P,
1874
+ onClick: N
1875
+ }, {
1876
+ [`sidebar-icon-${P.key}`]: B(() => [
1877
+ T(d.$slots, `sidebar-icon-${P.key}`, {}, void 0, !0)
1878
+ ]),
1879
+ _: 2
1880
+ }, 1032, ["item"]))), 128))
1881
+ ], 8, vi)
1882
+ ]),
1883
+ _: 2
1884
+ }, 1032, ["class", "data-testid", "model-value"]))), 128)) : I("", !0),
1885
+ W.value.size > 0 && j.value.length ? (b(), w("div", bi)) : I("", !0),
1886
+ j.value.length ? (b(), w("ul", pi, [
1887
+ (b(!0), w(Oe, null, we(j.value, (h) => (b(), K(jt, {
1888
+ key: h.name,
1889
+ item: h,
1890
+ onClick: N
1813
1891
  }, {
1814
- [`sidebar-icon-${m.key}`]: R(() => [
1815
- S(v.$slots, `sidebar-icon-${m.key}`, {}, void 0, !0)
1892
+ [`sidebar-icon-${h.key}`]: B(() => [
1893
+ T(d.$slots, `sidebar-icon-${h.key}`, {}, void 0, !0)
1816
1894
  ]),
1817
1895
  _: 2
1818
1896
  }, 1032, ["item"]))), 128))
1819
- ], 8, ai)
1820
- ], 64))), 128)) : O("", !0),
1821
- Z.value.size > 0 && L.value.length ? (p(), _("div", ni)) : O("", !0),
1822
- L.value.length ? (p(), _("ul", ri, [
1823
- (p(!0), _(be, null, he(L.value, (b) => (p(), z(Pt, {
1824
- key: b.name,
1825
- item: b,
1826
- onClick: te
1827
- }, {
1828
- [`sidebar-icon-${b.key}`]: R(() => [
1829
- S(v.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1830
- ]),
1831
- _: 2
1832
- }, 1032, ["item"]))), 128))
1833
- ])) : O("", !0)
1897
+ ])) : I("", !0)
1898
+ ])
1899
+ ]),
1900
+ O("div", hi, [
1901
+ T(d.$slots, "footer", {}, void 0, !0)
1834
1902
  ])
1835
- ]),
1836
- $("div", ii, [
1837
- S(v.$slots, "footer", {}, void 0, !0)
1838
- ])
1839
- ], 2)
1840
- ]),
1841
- _: 3
1842
- }, 512)
1843
- ], 64));
1903
+ ], 2)
1904
+ ]),
1905
+ _: 3
1906
+ }, 512)
1907
+ ], 64);
1908
+ };
1844
1909
  }
1845
- }), si = /* @__PURE__ */ ee(oi, [["__scopeId", "data-v-2505f054"]]), ci = ["aria-label"], li = /* @__PURE__ */ Q({
1910
+ }), gi = /* @__PURE__ */ ie(mi, [["__scopeId", "data-v-5b5da4f0"]]), yi = ["aria-label"], wi = /* @__PURE__ */ re({
1846
1911
  __name: "SidebarToggle",
1847
1912
  props: {
1848
1913
  active: {
@@ -1852,31 +1917,31 @@ const Xr = /* @__PURE__ */ Vr(qr), Yr = {
1852
1917
  },
1853
1918
  emits: ["toggle"],
1854
1919
  setup(n, { emit: t }) {
1855
- const r = t, a = n, s = J(a.active || !1), u = (o) => {
1920
+ const r = t, a = n, s = ee(a.active || !1), u = (o) => {
1856
1921
  o.preventDefault(), s.value = !s.value, r("toggle", s.value);
1857
1922
  };
1858
- return Fe(() => a.active, (o) => {
1923
+ return Be(() => a.active, (o) => {
1859
1924
  s.value = o;
1860
- }), (o, f) => (p(), _("a", {
1925
+ }), (o, v) => (b(), w("a", {
1861
1926
  "aria-haspopup": "true",
1862
1927
  "aria-label": s.value ? "Close Main Menu" : "Open Main Menu",
1863
- class: ne(["sidebar-menu-toggle", { active: s.value }]),
1928
+ class: oe(["sidebar-menu-toggle", { active: s.value }]),
1864
1929
  href: "#",
1865
1930
  role: "button",
1866
- onClick: kn(u, ["prevent"])
1867
- }, f[0] || (f[0] = [
1868
- $("span", { class: "line" }, null, -1),
1869
- $("span", { class: "line" }, null, -1),
1870
- $("span", { class: "line" }, null, -1)
1871
- ]), 10, ci));
1872
- }
1873
- }), ui = /* @__PURE__ */ ee(li, [["__scopeId", "data-v-cbb41bbd"]]), di = "#ffffff", fi = "#000933", vi = "#000933", bi = "#ffffff", pi = "0px", hi = "4px", mi = { id: "kong-ui-app-layout-notification" }, gi = { class: "mobile-logo" }, yi = {
1931
+ onClick: _n(u, ["prevent"])
1932
+ }, v[0] || (v[0] = [
1933
+ O("span", { class: "line" }, null, -1),
1934
+ O("span", { class: "line" }, null, -1),
1935
+ O("span", { class: "line" }, null, -1)
1936
+ ]), 10, yi));
1937
+ }
1938
+ }), ki = /* @__PURE__ */ ie(wi, [["__scopeId", "data-v-cbb41bbd"]]), _i = { id: "kong-ui-app-layout-notification" }, Ti = { class: "mobile-logo" }, Ci = {
1874
1939
  key: 0,
1875
1940
  class: "navbar-logo"
1876
- }, wi = {
1941
+ }, Ii = {
1877
1942
  class: "kong-ui-app-layout-main",
1878
1943
  "data-testid": "kong-ui-app-layout-main"
1879
- }, ki = { class: "kong-ui-app-layout-content" }, _i = { class: "kong-ui-app-layout-content-inner" }, Ti = /* @__PURE__ */ Q({
1944
+ }, Si = { class: "kong-ui-app-layout-content" }, Oi = { class: "kong-ui-app-layout-content-inner" }, $i = /* @__PURE__ */ re({
1880
1945
  __name: "AppLayout",
1881
1946
  props: {
1882
1947
  hideDefaultSlot: {
@@ -1905,205 +1970,211 @@ const Xr = /* @__PURE__ */ Vr(qr), Yr = {
1905
1970
  type: Array,
1906
1971
  default: () => []
1907
1972
  },
1973
+ groupConfig: {
1974
+ type: Object,
1975
+ default: () => ({})
1976
+ },
1908
1977
  theme: {
1909
1978
  type: String,
1910
1979
  default: "light",
1911
1980
  validator: (n) => ["light", "dark"].includes(n)
1912
1981
  }
1913
1982
  },
1914
- emits: ["sidebar-click", "update:topOffset"],
1983
+ emits: ["sidebar-click", "update:topOffset", "toggle-collapse"],
1915
1984
  setup(n, { emit: t }) {
1916
- bt((C) => ({
1917
- "2235c6e4": B.value,
1918
- "29d04344": re.value,
1919
- "3d470f48": P.value,
1920
- "81803d80": ie.value,
1921
- "64da7a33": te.value
1985
+ pt((N) => ({
1986
+ "182e1cec": L.value,
1987
+ "40b2f580": se.value,
1988
+ "27bb1858": V.value,
1989
+ "7516233c": de.value,
1990
+ "2c991da2": q.value
1922
1991
  }));
1923
- const r = n, a = t, s = Ye(), u = He({
1924
- navbarLeft: T(() => !!s["navbar-left"]),
1925
- navbarCenter: T(() => !!s["navbar-center"]),
1926
- navbarRight: T(() => !!s["navbar-right"]),
1927
- navbarLogo: T(() => !!s["navbar-logo"]),
1928
- navbarMobileLogo: T(() => !!s["navbar-mobile-logo"]),
1929
- sidebarHeader: T(() => !!s["sidebar-header"]),
1930
- sidebarTop: T(() => !!s["sidebar-top"]),
1931
- sidebarFooter: T(() => !!s["sidebar-footer"])
1932
- }), o = T(() => r.hideDefaultSlot), f = He({
1933
- hidden: T(() => r.navbarHidden)
1934
- }), g = He({
1935
- topItems: T(() => r.sidebarTopItems),
1936
- bottomItems: T(() => r.sidebarBottomItems),
1937
- open: T(() => r.sidebarOpen),
1938
- hidden: T(() => r.sidebarHidden)
1939
- }), E = (C) => {
1940
- a("sidebar-click", C);
1941
- }, F = J(!1), N = (C) => {
1942
- F.value = C;
1992
+ const r = n, a = t, s = Je(), u = Ge({
1993
+ navbarLeft: _(() => !!s["navbar-left"]),
1994
+ navbarCenter: _(() => !!s["navbar-center"]),
1995
+ navbarRight: _(() => !!s["navbar-right"]),
1996
+ navbarLogo: _(() => !!s["navbar-logo"]),
1997
+ navbarMobileLogo: _(() => !!s["navbar-mobile-logo"]),
1998
+ sidebarHeader: _(() => !!s["sidebar-header"]),
1999
+ sidebarTop: _(() => !!s["sidebar-top"]),
2000
+ sidebarFooter: _(() => !!s["sidebar-footer"])
2001
+ }), o = _(() => r.hideDefaultSlot), v = Ge({
2002
+ hidden: _(() => r.navbarHidden)
2003
+ }), y = Ge({
2004
+ topItems: _(() => r.sidebarTopItems),
2005
+ bottomItems: _(() => r.sidebarBottomItems),
2006
+ open: _(() => r.sidebarOpen),
2007
+ hidden: _(() => r.sidebarHidden)
2008
+ }), E = (N) => {
2009
+ a("sidebar-click", N);
2010
+ }, x = ee(!1), R = (N) => {
2011
+ x.value = N;
1943
2012
  };
1944
- _n(() => {
1945
- F.value = Tn(g, "open").value || !1;
2013
+ Tn(() => {
2014
+ x.value = Cn(y, "open").value || !1;
1946
2015
  });
1947
- const x = J(0), L = J(60), I = J(0), Z = T(() => f.hidden ? I.value : L.value + I.value), P = T(() => r.theme === "light" ? vi : bi), B = T(() => r.theme === "light" ? di : fi), re = T(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), ie = T(() => `${Z.value}px`), te = T(() => g.hidden || f.hidden ? pi : hi), { debounce: oe } = Qt(), V = oe((C = !1) => {
1948
- if (C || x.value !== (window == null ? void 0 : window.innerWidth)) {
1949
- x.value = window == null ? void 0 : window.innerWidth;
1950
- const K = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1951
- K && (I.value = K.offsetHeight);
2016
+ const M = ee(0), j = ee(60), C = ee(0), W = _(() => v.hidden ? C.value : j.value + C.value), V = _(() => r.theme === "light" ? lr : cr), L = _(() => r.theme === "light" ? or : sr), se = _(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), de = _(() => `${W.value}px`), q = _(() => y.hidden || v.hidden ? ur : dr), { debounce: ne } = ea(), te = ne((N = !1) => {
2017
+ if (N || M.value !== (window == null ? void 0 : window.innerWidth)) {
2018
+ M.value = window == null ? void 0 : window.innerWidth;
2019
+ const z = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
2020
+ z && (C.value = z.offsetHeight);
1952
2021
  }
1953
- }, 200), q = J();
1954
- return Fe(I, (C) => {
1955
- a("update:topOffset", C || 0);
1956
- }, { immediate: !0 }), Je(() => {
1957
- var K, W;
1958
- (K = document == null ? void 0 : document.body) == null || K.classList.add("kong-ui-app-layout-body"), (W = document == null ? void 0 : document.documentElement) == null || W.classList.add("kong-ui-app-layout-html"), x.value = window == null ? void 0 : window.innerWidth, V(!0);
1959
- const C = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1960
- C && (q.value = new ResizeObserver((H) => {
2022
+ }, 200), ae = ee();
2023
+ return Be(C, (N) => {
2024
+ a("update:topOffset", N || 0);
2025
+ }, { immediate: !0 }), Qe(() => {
2026
+ var z, G;
2027
+ (z = document == null ? void 0 : document.body) == null || z.classList.add("kong-ui-app-layout-body"), (G = document == null ? void 0 : document.documentElement) == null || G.classList.add("kong-ui-app-layout-html"), M.value = window == null ? void 0 : window.innerWidth, te(!0);
2028
+ const N = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
2029
+ N && (ae.value = new ResizeObserver((Z) => {
1961
2030
  window.requestAnimationFrame(() => {
1962
- if (!(!Array.isArray(H) || !H.length))
1963
- for (const A of H) {
1964
- const l = A.contentRect.height;
1965
- I.value !== l && (I.value = l);
2031
+ if (!(!Array.isArray(Z) || !Z.length))
2032
+ for (const $ of Z) {
2033
+ const c = $.contentRect.height;
2034
+ C.value !== c && (C.value = c);
1966
2035
  }
1967
2036
  });
1968
- }), q.value.observe(C)), window.addEventListener("resize", V);
1969
- }), Wt(() => {
1970
- q.value && q.value.disconnect(), window.removeEventListener("resize", V);
1971
- }), (C, K) => (p(), _("div", {
1972
- class: ne(["kong-ui-app-layout", [
1973
- { "navbar-hidden": f.hidden },
1974
- { "sidebar-hidden": g.hidden }
2037
+ }), ae.value.observe(N)), window.addEventListener("resize", te);
2038
+ }), Ut(() => {
2039
+ ae.value && ae.value.disconnect(), window.removeEventListener("resize", te);
2040
+ }), (N, z) => (b(), w("div", {
2041
+ class: oe(["kong-ui-app-layout", [
2042
+ { "navbar-hidden": v.hidden },
2043
+ { "sidebar-hidden": y.hidden }
1975
2044
  ]])
1976
2045
  }, [
1977
- $("div", mi, [
1978
- S(C.$slots, "notification", {}, void 0, !0)
2046
+ O("div", _i, [
2047
+ T(N.$slots, "notification", {}, void 0, !0)
1979
2048
  ]),
1980
- f.hidden ? O("", !0) : (p(), z(nr, {
1981
- key: String(g.hidden),
1982
- "left-offset": g.hidden ? 0 : void 0,
1983
- "top-offset": I.value
1984
- }, We({
1985
- "mobile-sidebar-toggle": R(() => [
1986
- g.hidden ? O("", !0) : (p(), z(ui, {
2049
+ v.hidden ? I("", !0) : (b(), K(ir, {
2050
+ key: String(y.hidden),
2051
+ "left-offset": y.hidden ? 0 : void 0,
2052
+ "top-offset": C.value
2053
+ }, Ue({
2054
+ "mobile-sidebar-toggle": B(() => [
2055
+ y.hidden ? I("", !0) : (b(), K(ki, {
1987
2056
  key: 0,
1988
- active: F.value,
1989
- onToggle: N
2057
+ active: x.value,
2058
+ onToggle: R
1990
2059
  }, null, 8, ["active"]))
1991
2060
  ]),
1992
2061
  _: 2
1993
2062
  }, [
1994
2063
  u.navbarMobileLogo ? {
1995
2064
  name: "mobile-logo",
1996
- fn: R(() => [
1997
- $("div", gi, [
1998
- S(C.$slots, "navbar-mobile-logo", {}, void 0, !0)
2065
+ fn: B(() => [
2066
+ O("div", Ti, [
2067
+ T(N.$slots, "navbar-mobile-logo", {}, void 0, !0)
1999
2068
  ])
2000
2069
  ]),
2001
2070
  key: "0"
2002
2071
  } : void 0,
2003
2072
  u.navbarLogo ? {
2004
2073
  name: "logo",
2005
- fn: R(() => [
2006
- g.hidden ? (p(), _("div", yi, [
2007
- S(C.$slots, "navbar-logo", {}, void 0, !0)
2008
- ])) : O("", !0)
2074
+ fn: B(() => [
2075
+ y.hidden ? (b(), w("div", Ci, [
2076
+ T(N.$slots, "navbar-logo", {}, void 0, !0)
2077
+ ])) : I("", !0)
2009
2078
  ]),
2010
2079
  key: "1"
2011
2080
  } : void 0,
2012
2081
  u.navbarLeft ? {
2013
2082
  name: "left",
2014
- fn: R(() => [
2015
- S(C.$slots, "navbar-left", {}, void 0, !0)
2083
+ fn: B(() => [
2084
+ T(N.$slots, "navbar-left", {}, void 0, !0)
2016
2085
  ]),
2017
2086
  key: "2"
2018
2087
  } : void 0,
2019
2088
  u.navbarCenter ? {
2020
2089
  name: "center",
2021
- fn: R(() => [
2022
- S(C.$slots, "navbar-center", {}, void 0, !0)
2090
+ fn: B(() => [
2091
+ T(N.$slots, "navbar-center", {}, void 0, !0)
2023
2092
  ]),
2024
2093
  key: "3"
2025
2094
  } : void 0,
2026
2095
  u.navbarRight ? {
2027
2096
  name: "right",
2028
- fn: R(() => [
2029
- S(C.$slots, "navbar-right", {}, void 0, !0)
2097
+ fn: B(() => [
2098
+ T(N.$slots, "navbar-right", {}, void 0, !0)
2030
2099
  ]),
2031
2100
  key: "4"
2032
2101
  } : void 0
2033
2102
  ]), 1032, ["left-offset", "top-offset"])),
2034
- g.hidden ? O("", !0) : (p(), z(si, {
2103
+ y.hidden ? I("", !0) : (b(), K(gi, {
2035
2104
  key: 1,
2036
- "bottom-items": g.bottomItems,
2037
- "header-height": L.value,
2105
+ "bottom-items": y.bottomItems,
2106
+ "group-config": n.groupConfig,
2107
+ "header-height": j.value,
2038
2108
  "mobile-enabled": "",
2039
2109
  "mobile-header-visible": !1,
2040
- "mobile-top-offset": Z.value,
2041
- open: F.value,
2042
- "top-items": g.topItems,
2043
- "top-offset": I.value,
2110
+ "mobile-top-offset": W.value,
2111
+ open: x.value,
2112
+ "top-items": y.topItems,
2113
+ "top-offset": C.value,
2044
2114
  onClick: E,
2045
- onToggle: N
2046
- }, We({ _: 2 }, [
2115
+ onToggle: R,
2116
+ onToggleCollapse: z[0] || (z[0] = (G, Z) => a("toggle-collapse", G, Z))
2117
+ }, Ue({ _: 2 }, [
2047
2118
  u.sidebarHeader ? {
2048
2119
  name: "header",
2049
- fn: R(() => [
2050
- S(C.$slots, "sidebar-header", {}, void 0, !0)
2120
+ fn: B(() => [
2121
+ T(N.$slots, "sidebar-header", {}, void 0, !0)
2051
2122
  ]),
2052
2123
  key: "0"
2053
2124
  } : void 0,
2054
2125
  u.sidebarTop ? {
2055
2126
  name: "top",
2056
- fn: R(() => [
2057
- S(C.$slots, "sidebar-top", {}, void 0, !0)
2127
+ fn: B(() => [
2128
+ T(N.$slots, "sidebar-top", {}, void 0, !0)
2058
2129
  ]),
2059
2130
  key: "1"
2060
2131
  } : void 0,
2061
2132
  u.sidebarFooter ? {
2062
2133
  name: "footer",
2063
- fn: R(() => [
2064
- S(C.$slots, "sidebar-footer", {}, void 0, !0)
2134
+ fn: B(() => [
2135
+ T(N.$slots, "sidebar-footer", {}, void 0, !0)
2065
2136
  ]),
2066
2137
  key: "2"
2067
2138
  } : void 0,
2068
- he([...g.topItems || [], ...g.bottomItems || []], (W) => ({
2069
- name: `sidebar-icon-${W.key}`,
2070
- fn: R(() => [
2071
- S(C.$slots, `sidebar-icon-${W.key}`, {}, void 0, !0)
2139
+ we([...y.topItems || [], ...y.bottomItems || []], (G) => ({
2140
+ name: `sidebar-icon-${G.key}`,
2141
+ fn: B(() => [
2142
+ T(N.$slots, `sidebar-icon-${G.key}`, {}, void 0, !0)
2072
2143
  ])
2073
2144
  }))
2074
- ]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
2075
- $("main", wi, [
2076
- $("div", ki, [
2077
- $("div", _i, [
2078
- K[0] || (K[0] = $("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)),
2079
- S(C.$slots, "app-error", {}, void 0, !0),
2080
- o.value ? O("", !0) : S(C.$slots, "default", { key: 0 }, void 0, !0)
2145
+ ]), 1032, ["bottom-items", "group-config", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
2146
+ O("main", Ii, [
2147
+ O("div", Si, [
2148
+ O("div", Oi, [
2149
+ z[1] || (z[1] = O("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)),
2150
+ T(N.$slots, "app-error", {}, void 0, !0),
2151
+ o.value ? I("", !0) : T(N.$slots, "default", { key: 0 }, void 0, !0)
2081
2152
  ])
2082
2153
  ])
2083
2154
  ])
2084
2155
  ], 2));
2085
2156
  }
2086
- }), Si = /* @__PURE__ */ ee(Ti, [["__scopeId", "data-v-8e8c270a"]]), Ii = { class: "kong-ui-app-page-header" }, Oi = {
2157
+ }), Ei = /* @__PURE__ */ ie($i, [["__scopeId", "data-v-81828fa2"]]), Ai = { class: "kong-ui-app-page-header" }, Fi = {
2087
2158
  key: 0,
2088
2159
  class: "page-header-breadcrumbs",
2089
2160
  "data-testid": "page-header-breadcrumbs"
2090
- }, $i = { class: "page-header-title-section" }, Ci = { class: "page-header-title-wrapper" }, Ei = {
2161
+ }, Ni = { class: "page-header-title-section" }, Di = { class: "page-header-title-wrapper" }, Ri = {
2091
2162
  key: 0,
2092
2163
  class: "page-header-title-before",
2093
2164
  "data-testid": "page-header-title-before"
2094
- }, Ai = ["title"], Ni = {
2165
+ }, xi = ["title"], Bi = {
2095
2166
  key: 1,
2096
2167
  class: "page-header-title-after",
2097
2168
  "data-testid": "page-header-title-after"
2098
- }, Fi = {
2169
+ }, Li = {
2099
2170
  key: 0,
2100
2171
  class: "page-header-actions",
2101
2172
  "data-testid": "page-header-actions"
2102
- }, Di = {
2173
+ }, Mi = {
2103
2174
  key: 1,
2104
2175
  class: "page-header-section-below",
2105
2176
  "data-testid": "page-header-section-below"
2106
- }, Ri = /* @__PURE__ */ Q({
2177
+ }, Pi = /* @__PURE__ */ re({
2107
2178
  __name: "AppPageHeader",
2108
2179
  props: {
2109
2180
  title: {
@@ -2117,59 +2188,59 @@ const Xr = /* @__PURE__ */ Vr(qr), Yr = {
2117
2188
  }
2118
2189
  },
2119
2190
  setup(n) {
2120
- const t = n, r = Ye(), a = T(() => {
2191
+ const t = n, r = Je(), a = _(() => {
2121
2192
  var u;
2122
2193
  return !!((u = t.breadcrumbs) != null && u.length);
2123
- }), s = T(() => Object.keys(r).filter((u) => u.startsWith("icon-")));
2194
+ }), s = _(() => Object.keys(r).filter((u) => u.startsWith("icon-")));
2124
2195
  return (u, o) => {
2125
- const f = me("KBreadcrumbs");
2126
- return p(), _("div", Ii, [
2127
- a.value ? (p(), _("div", Oi, [
2128
- Ne(f, {
2196
+ const v = ve("KBreadcrumbs");
2197
+ return b(), w("div", Ai, [
2198
+ a.value ? (b(), w("div", Fi, [
2199
+ xe(v, {
2129
2200
  "item-max-width": "150",
2130
2201
  items: n.breadcrumbs
2131
- }, We({ _: 2 }, [
2132
- he(s.value, (g) => ({
2133
- name: g,
2134
- fn: R(() => [
2135
- S(u.$slots, g, {}, void 0, !0)
2202
+ }, Ue({ _: 2 }, [
2203
+ we(s.value, (y) => ({
2204
+ name: y,
2205
+ fn: B(() => [
2206
+ T(u.$slots, y, {}, void 0, !0)
2136
2207
  ])
2137
2208
  }))
2138
2209
  ]), 1032, ["items"])
2139
- ])) : O("", !0),
2140
- $("div", $i, [
2141
- $("div", Ci, [
2142
- u.$slots["title-before"] ? (p(), _("div", Ei, [
2143
- S(u.$slots, "title-before", {}, void 0, !0)
2144
- ])) : O("", !0),
2145
- $("h1", {
2210
+ ])) : I("", !0),
2211
+ O("div", Ni, [
2212
+ O("div", Di, [
2213
+ u.$slots["title-before"] ? (b(), w("div", Ri, [
2214
+ T(u.$slots, "title-before", {}, void 0, !0)
2215
+ ])) : I("", !0),
2216
+ O("h1", {
2146
2217
  class: "page-header-title",
2147
2218
  "data-testid": "page-header-title",
2148
2219
  title: n.title
2149
- }, U(n.title), 9, Ai),
2150
- u.$slots["title-after"] ? (p(), _("div", Ni, [
2151
- S(u.$slots, "title-after", {}, void 0, !0)
2152
- ])) : O("", !0)
2220
+ }, Y(n.title), 9, xi),
2221
+ u.$slots["title-after"] ? (b(), w("div", Bi, [
2222
+ T(u.$slots, "title-after", {}, void 0, !0)
2223
+ ])) : I("", !0)
2153
2224
  ]),
2154
- u.$slots.actions ? (p(), _("div", Fi, [
2155
- S(u.$slots, "actions", {}, void 0, !0)
2156
- ])) : O("", !0)
2225
+ u.$slots.actions ? (b(), w("div", Li, [
2226
+ T(u.$slots, "actions", {}, void 0, !0)
2227
+ ])) : I("", !0)
2157
2228
  ]),
2158
- u.$slots.below ? (p(), _("div", Di, [
2159
- S(u.$slots, "below", {}, void 0, !0)
2160
- ])) : O("", !0)
2229
+ u.$slots.below ? (b(), w("div", Mi, [
2230
+ T(u.$slots, "below", {}, void 0, !0)
2231
+ ])) : I("", !0)
2161
2232
  ]);
2162
2233
  };
2163
2234
  }
2164
- }), Wi = /* @__PURE__ */ ee(Ri, [["__scopeId", "data-v-204b7f98"]]), xi = { class: "app-page-info-section-default-header" }, Bi = {
2235
+ }), Xi = /* @__PURE__ */ ie(Pi, [["__scopeId", "data-v-204b7f98"]]), ji = { class: "app-page-info-section-default-header" }, Ki = {
2165
2236
  key: 1,
2166
2237
  class: "app-page-info-section-description",
2167
2238
  "data-testid": "app-page-info-section-description"
2168
- }, Li = {
2239
+ }, Zi = {
2169
2240
  key: 0,
2170
2241
  class: "app-page-info-section-content",
2171
2242
  "data-testid": "app-page-info-section-content"
2172
- }, Mi = /* @__PURE__ */ Q({
2243
+ }, Hi = /* @__PURE__ */ re({
2173
2244
  __name: "AppPageInfoSection",
2174
2245
  props: {
2175
2246
  collapsible: {
@@ -2187,66 +2258,66 @@ const Xr = /* @__PURE__ */ Vr(qr), Yr = {
2187
2258
  titleTag: {
2188
2259
  type: String,
2189
2260
  default: "div",
2190
- validator: (n) => In.includes(n)
2261
+ validator: (n) => On.includes(n)
2191
2262
  }
2192
2263
  },
2193
2264
  setup(n) {
2194
- return (t, r) => (p(), z(ze(n.collapsible ? "details" : "div"), {
2265
+ return (t, r) => (b(), K($e(n.collapsible ? "details" : "div"), {
2195
2266
  class: "app-page-info-section",
2196
2267
  "data-testid": "app-page-info-section"
2197
2268
  }, {
2198
- default: R(() => [
2199
- (p(), z(ze(n.collapsible ? "summary" : "div"), {
2269
+ default: B(() => [
2270
+ (b(), K($e(n.collapsible ? "summary" : "div"), {
2200
2271
  class: "app-page-info-section-header",
2201
2272
  "data-testid": "app-page-info-section-header"
2202
2273
  }, {
2203
- default: R(() => [
2204
- S(t.$slots, "header", {}, () => [
2205
- $("div", xi, [
2206
- n.title ? (p(), z(ze(n.titleTag), {
2274
+ default: B(() => [
2275
+ T(t.$slots, "header", {}, () => [
2276
+ O("div", ji, [
2277
+ n.title ? (b(), K($e(n.titleTag), {
2207
2278
  key: 0,
2208
2279
  class: "app-page-info-section-title",
2209
2280
  "data-testid": "app-page-info-section-title"
2210
2281
  }, {
2211
- default: R(() => [
2212
- Ae(U(n.title), 1)
2282
+ default: B(() => [
2283
+ Re(Y(n.title), 1)
2213
2284
  ]),
2214
2285
  _: 1
2215
- })) : O("", !0),
2216
- n.description ? (p(), _("div", Bi, U(n.description), 1)) : O("", !0)
2286
+ })) : I("", !0),
2287
+ n.description ? (b(), w("div", Ki, Y(n.description), 1)) : I("", !0)
2217
2288
  ])
2218
2289
  ]),
2219
- n.collapsible ? (p(), z(Gt(Sn), {
2290
+ n.collapsible ? (b(), K(ge(Wt), {
2220
2291
  key: 0,
2221
2292
  class: "app-page-info-section-chevron-icon",
2222
2293
  decorative: ""
2223
- })) : t.$slots.actions ? S(t.$slots, "actions", { key: 1 }) : O("", !0)
2294
+ })) : t.$slots.actions ? T(t.$slots, "actions", { key: 1 }) : I("", !0)
2224
2295
  ]),
2225
2296
  _: 3
2226
2297
  })),
2227
- t.$slots.default ? (p(), _("div", Li, [
2228
- S(t.$slots, "default")
2229
- ])) : O("", !0)
2298
+ t.$slots.default ? (b(), w("div", Zi, [
2299
+ T(t.$slots, "default")
2300
+ ])) : I("", !0)
2230
2301
  ]),
2231
2302
  _: 3
2232
2303
  }));
2233
2304
  }
2234
- }), Gi = /* @__PURE__ */ ee(Mi, [["__scopeId", "data-v-62f17e32"]]), Ui = {
2305
+ }), Yi = /* @__PURE__ */ ie(Hi, [["__scopeId", "data-v-62f17e32"]]), Ji = {
2235
2306
  // Customize Vue plugin options as desired
2236
2307
  // Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
2237
2308
  install: (n, t = {}) => {
2238
- n.component(t.name || "AppLayout", Si);
2309
+ n.component(t.name || "AppLayout", Ei);
2239
2310
  }
2240
2311
  };
2241
2312
  export {
2242
- Ki as AccountDropdown,
2243
- Hi as AppAboutSection,
2244
- zi as AppError,
2245
- Si as AppLayout,
2246
- nr as AppNavbar,
2247
- Wi as AppPageHeader,
2248
- Gi as AppPageInfoSection,
2249
- si as AppSidebar,
2250
- ui as SidebarToggle,
2251
- Ui as default
2313
+ Wi as AccountDropdown,
2314
+ Vi as AppAboutSection,
2315
+ qi as AppError,
2316
+ Ei as AppLayout,
2317
+ ir as AppNavbar,
2318
+ Xi as AppPageHeader,
2319
+ Yi as AppPageInfoSection,
2320
+ gi as AppSidebar,
2321
+ ki as SidebarToggle,
2322
+ Ji as default
2252
2323
  };