@kong-ui-public/app-layout 3.0.4 → 3.0.5
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.
package/dist/app-layout.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ee, resolveComponent as be, openBlock as h, createBlock as W, withCtx as D, renderSlot as
|
|
1
|
+
import { defineComponent as ee, resolveComponent as be, openBlock as h, createBlock as W, withCtx as D, renderSlot as C, createElementBlock as g, Fragment as Ce, renderList as Ne, normalizeClass as ne, createTextVNode as lt, toDisplayString as Y, computed as w, createSlots as Ze, createVNode as Ee, createCommentVNode as O, createElementVNode as T, createStaticVNode as gn, pushScopeId as Ge, popScopeId as We, useCssVars as dt, useSlots as ft, reactive as Pe, onMounted as qe, resolveDynamicComponent as Lt, withKeys as yn, unref as zt, ref as G, watch as je, onUnmounted as wn, Comment as _n, cloneVNode as Tn, onBeforeUnmount as Vt, nextTick as kn, withModifiers as Sn, watchEffect as In, toRef as On } from "vue";
|
|
2
2
|
const Cn = /* @__PURE__ */ ee({
|
|
3
3
|
__name: "AccountDropdown",
|
|
4
4
|
props: {
|
|
@@ -27,7 +27,7 @@ const Cn = /* @__PURE__ */ ee({
|
|
|
27
27
|
width: a.width
|
|
28
28
|
}, {
|
|
29
29
|
items: D(({ handleSelection: d }) => [
|
|
30
|
-
|
|
30
|
+
C(t.$slots, "default", {}, () => [
|
|
31
31
|
(h(!0), g(Ce, null, Ne(a.options, (o) => (h(), W(n, {
|
|
32
32
|
key: o.value,
|
|
33
33
|
class: ne({ "has-divider": o.hasDivider }),
|
|
@@ -36,7 +36,7 @@ const Cn = /* @__PURE__ */ ee({
|
|
|
36
36
|
onClick: (v) => d(o)
|
|
37
37
|
}, {
|
|
38
38
|
default: D(() => [
|
|
39
|
-
|
|
39
|
+
C(t.$slots, "default", { option: o }, () => [
|
|
40
40
|
lt(Y(o.label), 1)
|
|
41
41
|
], !0)
|
|
42
42
|
]),
|
|
@@ -137,14 +137,14 @@ const Cn = /* @__PURE__ */ ee({
|
|
|
137
137
|
width: "100"
|
|
138
138
|
})
|
|
139
139
|
])) : (h(), g("div", Rn, [
|
|
140
|
-
a.description ? (h(), g("p", Bn, Y(a.description), 1)) :
|
|
140
|
+
a.description ? (h(), g("p", Bn, Y(a.description), 1)) : O("", !0),
|
|
141
141
|
n.$slots.default ? (h(), g("div", Ln, [
|
|
142
|
-
|
|
143
|
-
])) :
|
|
144
|
-
n.$slots["divider-section"] ? (h(), g("hr", Mn)) :
|
|
142
|
+
C(n.$slots, "default", {}, void 0, !0)
|
|
143
|
+
])) : O("", !0),
|
|
144
|
+
n.$slots["divider-section"] ? (h(), g("hr", Mn)) : O("", !0),
|
|
145
145
|
n.$slots["divider-section"] ? (h(), g("div", Pn, [
|
|
146
|
-
|
|
147
|
-
])) :
|
|
146
|
+
C(n.$slots, "divider-section", {}, void 0, !0)
|
|
147
|
+
])) : O("", !0)
|
|
148
148
|
]))
|
|
149
149
|
]),
|
|
150
150
|
_: 2
|
|
@@ -164,13 +164,13 @@ const Cn = /* @__PURE__ */ ee({
|
|
|
164
164
|
key: 0,
|
|
165
165
|
class: ne(["about-section-timestamps", { "has-actions": n.$slots.actions }])
|
|
166
166
|
}, [
|
|
167
|
-
a.created ? (h(), g("span", En, Y(a.createdLabel) + ": " + Y(a.created), 1)) :
|
|
168
|
-
a.created && r.value ? (h(), g("span", An, "->")) :
|
|
169
|
-
r.value ? (h(), g("span", Fn, Y(a.modifiedLabel) + ": " + Y(a.modified), 1)) :
|
|
170
|
-
], 2)) :
|
|
167
|
+
a.created ? (h(), g("span", En, Y(a.createdLabel) + ": " + Y(a.created), 1)) : O("", !0),
|
|
168
|
+
a.created && r.value ? (h(), g("span", An, "->")) : O("", !0),
|
|
169
|
+
r.value ? (h(), g("span", Fn, Y(a.modifiedLabel) + ": " + Y(a.modified), 1)) : O("", !0)
|
|
170
|
+
], 2)) : O("", !0),
|
|
171
171
|
n.$slots.actions ? (h(), g("div", xn, [
|
|
172
|
-
|
|
173
|
-
])) :
|
|
172
|
+
C(n.$slots, "actions", {}, void 0, !0)
|
|
173
|
+
])) : O("", !0)
|
|
174
174
|
])
|
|
175
175
|
]),
|
|
176
176
|
key: "1"
|
|
@@ -201,7 +201,7 @@ const Vn = /* @__PURE__ */ te(jn, [["render", zn]]), Gt = (a) => (Ge("data-v-5cb
|
|
|
201
201
|
Ee(Vn)
|
|
202
202
|
]),
|
|
203
203
|
T("div", qn, [
|
|
204
|
-
|
|
204
|
+
C(t.$slots, "default", {}, () => [
|
|
205
205
|
Xn,
|
|
206
206
|
Yn
|
|
207
207
|
], !0)
|
|
@@ -252,21 +252,21 @@ const Vn = /* @__PURE__ */ te(jn, [["render", zn]]), Gt = (a) => (Ge("data-v-5cb
|
|
|
252
252
|
return (o, v) => (h(), g("header", Qn, [
|
|
253
253
|
T("div", er, [
|
|
254
254
|
T("div", tr, [
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
C(o.$slots, "mobile-sidebar-toggle"),
|
|
256
|
+
C(o.$slots, "mobile-logo")
|
|
257
257
|
]),
|
|
258
258
|
n.value ? (h(), g("div", ar, [
|
|
259
|
-
|
|
260
|
-
])) :
|
|
259
|
+
C(o.$slots, "logo")
|
|
260
|
+
])) : O("", !0),
|
|
261
261
|
T("div", nr, [
|
|
262
262
|
T("div", rr, [
|
|
263
|
-
|
|
263
|
+
C(o.$slots, "left")
|
|
264
264
|
]),
|
|
265
265
|
T("div", ir, [
|
|
266
|
-
|
|
266
|
+
C(o.$slots, "center")
|
|
267
267
|
]),
|
|
268
268
|
T("div", or, [
|
|
269
|
-
|
|
269
|
+
C(o.$slots, "right")
|
|
270
270
|
])
|
|
271
271
|
])
|
|
272
272
|
])
|
|
@@ -287,7 +287,7 @@ const Vn = /* @__PURE__ */ te(jn, [["render", zn]]), Gt = (a) => (Ge("data-v-5cb
|
|
|
287
287
|
key: 0,
|
|
288
288
|
class: "item-badge",
|
|
289
289
|
title: (a.count || 0) > st ? String(a.count) : void 0
|
|
290
|
-
}, Y(r.value), 9, lr)) :
|
|
290
|
+
}, Y(r.value), 9, lr)) : O("", !0);
|
|
291
291
|
}
|
|
292
292
|
}), dr = /* @__PURE__ */ te(ur, [["__scopeId", "data-v-912b1a1b"]]), fr = "#ffffff", vr = "#000933", br = "#000933", hr = "#ffffff", pr = "0px", mr = "4px", gr = "20px", yr = ["data-testid"], wr = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], _r = {
|
|
293
293
|
key: 0,
|
|
@@ -341,8 +341,11 @@ const Vn = /* @__PURE__ */ te(jn, [["render", zn]]), Gt = (a) => (Ge("data-v-5cb
|
|
|
341
341
|
class: ne(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-badge": o.value }])
|
|
342
342
|
}, [
|
|
343
343
|
a.item.icon !== void 0 && typeof a.item.icon != "string" ? (h(), g("div", _r, [
|
|
344
|
-
(h(), W(Lt(a.item.icon), {
|
|
345
|
-
|
|
344
|
+
a.item.icon ? (h(), W(Lt(a.item.icon), {
|
|
345
|
+
key: 0,
|
|
346
|
+
size: zt(gr)
|
|
347
|
+
}, null, 8, ["size"])) : O("", !0)
|
|
348
|
+
])) : O("", !0),
|
|
346
349
|
T("div", Tr, [
|
|
347
350
|
(a.subnavItem ? a.item.name.length < 25 : a.item.name.length < 18) ? (h(), g("div", {
|
|
348
351
|
key: 0,
|
|
@@ -363,12 +366,12 @@ const Vn = /* @__PURE__ */ te(jn, [["render", zn]]), Gt = (a) => (Ge("data-v-5cb
|
|
|
363
366
|
]),
|
|
364
367
|
_: 1
|
|
365
368
|
}, 8, ["label"])),
|
|
366
|
-
a.item.label && a.item.expanded ? (h(), g("div", Sr, Y(a.item.label), 1)) :
|
|
369
|
+
a.item.label && a.item.expanded ? (h(), g("div", Sr, Y(a.item.label), 1)) : O("", !0)
|
|
367
370
|
]),
|
|
368
371
|
o.value ? (h(), W(dr, {
|
|
369
372
|
key: 1,
|
|
370
373
|
count: a.item.badgeCount
|
|
371
|
-
}, null, 8, ["count"])) :
|
|
374
|
+
}, null, 8, ["count"])) : O("", !0)
|
|
372
375
|
], 2)
|
|
373
376
|
], 42, wr)
|
|
374
377
|
];
|
|
@@ -386,11 +389,11 @@ const Vn = /* @__PURE__ */ te(jn, [["render", zn]]), Gt = (a) => (Ge("data-v-5cb
|
|
|
386
389
|
"subnav-item": !0,
|
|
387
390
|
onClick: (P) => v(y)
|
|
388
391
|
}, null, 8, ["item", "onClick"]))), 128))
|
|
389
|
-
], 8, Ir)) :
|
|
392
|
+
], 8, Ir)) : O("", !0)
|
|
390
393
|
], 10, yr);
|
|
391
394
|
};
|
|
392
395
|
}
|
|
393
|
-
}), Mt = /* @__PURE__ */ te(Or, [["__scopeId", "data-v-
|
|
396
|
+
}), Mt = /* @__PURE__ */ te(Or, [["__scopeId", "data-v-23e15edb"]]);
|
|
394
397
|
/*!
|
|
395
398
|
* tabbable 6.2.0
|
|
396
399
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -1720,7 +1723,7 @@ const ni = /* @__PURE__ */ ti(ai), ri = {
|
|
|
1720
1723
|
key: 0,
|
|
1721
1724
|
class: "kong-ui-app-sidebar-overlay",
|
|
1722
1725
|
onClick: q
|
|
1723
|
-
})) :
|
|
1726
|
+
})) : O("", !0),
|
|
1724
1727
|
Ee(zt(ei), {
|
|
1725
1728
|
ref_key: "focusTrap",
|
|
1726
1729
|
ref: Z,
|
|
@@ -1740,12 +1743,12 @@ const ni = /* @__PURE__ */ ti(ai), ri = {
|
|
|
1740
1743
|
tabindex: "-1"
|
|
1741
1744
|
}, [
|
|
1742
1745
|
d.value ? (h(), g("div", ri, [
|
|
1743
|
-
|
|
1744
|
-
])) :
|
|
1746
|
+
C(s.$slots, "header", {}, void 0, !0)
|
|
1747
|
+
])) : O("", !0),
|
|
1745
1748
|
T("div", ii, [
|
|
1746
1749
|
o.value ? (h(), g("div", oi, [
|
|
1747
|
-
|
|
1748
|
-
])) :
|
|
1750
|
+
C(s.$slots, "top", {}, void 0, !0)
|
|
1751
|
+
])) : O("", !0),
|
|
1749
1752
|
T("nav", si, [
|
|
1750
1753
|
x.value.length ? (h(), g("ul", ci, [
|
|
1751
1754
|
(h(!0), g(Ce, null, Ne(x.value, (f) => (h(), W(Mt, {
|
|
@@ -1753,19 +1756,19 @@ const ni = /* @__PURE__ */ ti(ai), ri = {
|
|
|
1753
1756
|
item: f,
|
|
1754
1757
|
onClick: ae
|
|
1755
1758
|
}, null, 8, ["item"]))), 128))
|
|
1756
|
-
])) :
|
|
1757
|
-
x.value.length && M.value.length ? (h(), g("div", li)) :
|
|
1759
|
+
])) : O("", !0),
|
|
1760
|
+
x.value.length && M.value.length ? (h(), g("div", li)) : O("", !0),
|
|
1758
1761
|
M.value.length ? (h(), g("ul", ui, [
|
|
1759
1762
|
(h(!0), g(Ce, null, Ne(M.value, (f) => (h(), W(Mt, {
|
|
1760
1763
|
key: f.name,
|
|
1761
1764
|
item: f,
|
|
1762
1765
|
onClick: ae
|
|
1763
1766
|
}, null, 8, ["item"]))), 128))
|
|
1764
|
-
])) :
|
|
1767
|
+
])) : O("", !0)
|
|
1765
1768
|
])
|
|
1766
1769
|
]),
|
|
1767
1770
|
T("div", di, [
|
|
1768
|
-
|
|
1771
|
+
C(s.$slots, "footer", {}, void 0, !0)
|
|
1769
1772
|
])
|
|
1770
1773
|
], 2)
|
|
1771
1774
|
]),
|
|
@@ -1904,15 +1907,15 @@ const ni = /* @__PURE__ */ ti(ai), ri = {
|
|
|
1904
1907
|
]])
|
|
1905
1908
|
}, [
|
|
1906
1909
|
T("div", Ti, [
|
|
1907
|
-
|
|
1910
|
+
C($.$slots, "notification", {}, void 0, !0)
|
|
1908
1911
|
]),
|
|
1909
|
-
v.hidden ?
|
|
1912
|
+
v.hidden ? O("", !0) : (h(), W(cr, {
|
|
1910
1913
|
key: String(p.hidden),
|
|
1911
1914
|
"left-offset": p.hidden ? 0 : void 0,
|
|
1912
1915
|
"top-offset": y.value
|
|
1913
1916
|
}, Ze({
|
|
1914
1917
|
"mobile-sidebar-toggle": D(() => [
|
|
1915
|
-
p.hidden ?
|
|
1918
|
+
p.hidden ? O("", !0) : (h(), W(wi, {
|
|
1916
1919
|
key: 0,
|
|
1917
1920
|
active: F.value,
|
|
1918
1921
|
onToggle: N
|
|
@@ -1924,7 +1927,7 @@ const ni = /* @__PURE__ */ ti(ai), ri = {
|
|
|
1924
1927
|
name: "mobile-logo",
|
|
1925
1928
|
fn: D(() => [
|
|
1926
1929
|
T("div", ki, [
|
|
1927
|
-
|
|
1930
|
+
C($.$slots, "navbar-mobile-logo", {}, void 0, !0)
|
|
1928
1931
|
])
|
|
1929
1932
|
]),
|
|
1930
1933
|
key: "0"
|
|
@@ -1933,34 +1936,34 @@ const ni = /* @__PURE__ */ ti(ai), ri = {
|
|
|
1933
1936
|
name: "logo",
|
|
1934
1937
|
fn: D(() => [
|
|
1935
1938
|
p.hidden ? (h(), g("div", Si, [
|
|
1936
|
-
|
|
1937
|
-
])) :
|
|
1939
|
+
C($.$slots, "navbar-logo", {}, void 0, !0)
|
|
1940
|
+
])) : O("", !0)
|
|
1938
1941
|
]),
|
|
1939
1942
|
key: "1"
|
|
1940
1943
|
} : void 0,
|
|
1941
1944
|
d.navbarLeft ? {
|
|
1942
1945
|
name: "left",
|
|
1943
1946
|
fn: D(() => [
|
|
1944
|
-
|
|
1947
|
+
C($.$slots, "navbar-left", {}, void 0, !0)
|
|
1945
1948
|
]),
|
|
1946
1949
|
key: "2"
|
|
1947
1950
|
} : void 0,
|
|
1948
1951
|
d.navbarCenter ? {
|
|
1949
1952
|
name: "center",
|
|
1950
1953
|
fn: D(() => [
|
|
1951
|
-
|
|
1954
|
+
C($.$slots, "navbar-center", {}, void 0, !0)
|
|
1952
1955
|
]),
|
|
1953
1956
|
key: "3"
|
|
1954
1957
|
} : void 0,
|
|
1955
1958
|
d.navbarRight ? {
|
|
1956
1959
|
name: "right",
|
|
1957
1960
|
fn: D(() => [
|
|
1958
|
-
|
|
1961
|
+
C($.$slots, "navbar-right", {}, void 0, !0)
|
|
1959
1962
|
]),
|
|
1960
1963
|
key: "4"
|
|
1961
1964
|
} : void 0
|
|
1962
1965
|
]), 1032, ["left-offset", "top-offset"])),
|
|
1963
|
-
p.hidden ?
|
|
1966
|
+
p.hidden ? O("", !0) : (h(), W(vi, {
|
|
1964
1967
|
key: 1,
|
|
1965
1968
|
"bottom-items": p.bottomItems,
|
|
1966
1969
|
"header-height": M.value,
|
|
@@ -1976,21 +1979,21 @@ const ni = /* @__PURE__ */ ti(ai), ri = {
|
|
|
1976
1979
|
d.sidebarHeader ? {
|
|
1977
1980
|
name: "header",
|
|
1978
1981
|
fn: D(() => [
|
|
1979
|
-
|
|
1982
|
+
C($.$slots, "sidebar-header", {}, void 0, !0)
|
|
1980
1983
|
]),
|
|
1981
1984
|
key: "0"
|
|
1982
1985
|
} : void 0,
|
|
1983
1986
|
d.sidebarTop ? {
|
|
1984
1987
|
name: "top",
|
|
1985
1988
|
fn: D(() => [
|
|
1986
|
-
|
|
1989
|
+
C($.$slots, "sidebar-top", {}, void 0, !0)
|
|
1987
1990
|
]),
|
|
1988
1991
|
key: "1"
|
|
1989
1992
|
} : void 0,
|
|
1990
1993
|
d.sidebarFooter ? {
|
|
1991
1994
|
name: "footer",
|
|
1992
1995
|
fn: D(() => [
|
|
1993
|
-
|
|
1996
|
+
C($.$slots, "sidebar-footer", {}, void 0, !0)
|
|
1994
1997
|
]),
|
|
1995
1998
|
key: "2"
|
|
1996
1999
|
} : void 0
|
|
@@ -1999,8 +2002,8 @@ const ni = /* @__PURE__ */ ti(ai), ri = {
|
|
|
1999
2002
|
T("div", Oi, [
|
|
2000
2003
|
T("div", Ci, [
|
|
2001
2004
|
$i,
|
|
2002
|
-
|
|
2003
|
-
o.value ?
|
|
2005
|
+
C($.$slots, "app-error", {}, void 0, !0),
|
|
2006
|
+
o.value ? O("", !0) : C($.$slots, "default", { key: 0 }, void 0, !0)
|
|
2004
2007
|
])
|
|
2005
2008
|
])
|
|
2006
2009
|
])
|
|
@@ -2056,32 +2059,32 @@ const ni = /* @__PURE__ */ ti(ai), ri = {
|
|
|
2056
2059
|
Ne(l.value, (p) => ({
|
|
2057
2060
|
name: p,
|
|
2058
2061
|
fn: D(() => [
|
|
2059
|
-
|
|
2062
|
+
C(d.$slots, p, {}, void 0, !0)
|
|
2060
2063
|
])
|
|
2061
2064
|
}))
|
|
2062
2065
|
]), 1032, ["items"])
|
|
2063
|
-
])) :
|
|
2066
|
+
])) : O("", !0),
|
|
2064
2067
|
T("div", Ri, [
|
|
2065
2068
|
T("div", Bi, [
|
|
2066
2069
|
d.$slots["title-before"] ? (h(), g("div", Li, [
|
|
2067
|
-
|
|
2068
|
-
])) :
|
|
2070
|
+
C(d.$slots, "title-before", {}, void 0, !0)
|
|
2071
|
+
])) : O("", !0),
|
|
2069
2072
|
T("h1", {
|
|
2070
2073
|
class: "page-header-title",
|
|
2071
2074
|
"data-testid": "page-header-title",
|
|
2072
2075
|
title: a.title
|
|
2073
2076
|
}, Y(a.title), 9, Mi),
|
|
2074
2077
|
d.$slots["title-after"] ? (h(), g("div", Pi, [
|
|
2075
|
-
|
|
2076
|
-
])) :
|
|
2078
|
+
C(d.$slots, "title-after", {}, void 0, !0)
|
|
2079
|
+
])) : O("", !0)
|
|
2077
2080
|
]),
|
|
2078
2081
|
d.$slots.actions ? (h(), g("div", Zi, [
|
|
2079
|
-
|
|
2080
|
-
])) :
|
|
2082
|
+
C(d.$slots, "actions", {}, void 0, !0)
|
|
2083
|
+
])) : O("", !0)
|
|
2081
2084
|
]),
|
|
2082
2085
|
d.$slots.below ? (h(), g("div", ji, [
|
|
2083
|
-
|
|
2084
|
-
])) :
|
|
2086
|
+
C(d.$slots, "below", {}, void 0, !0)
|
|
2087
|
+
])) : O("", !0)
|
|
2085
2088
|
]);
|
|
2086
2089
|
};
|
|
2087
2090
|
}
|
package/dist/app-layout.umd.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function(R,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(R=typeof globalThis<"u"?globalThis:R||self,e(R["kong-ui-public-app-layout"]={},R.Vue))})(this,function(R,e){"use strict";const Ft=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(n){return(a,r)=>{const o=e.resolveComponent("KDropdownItem"),d=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(d,{class:"account-dropdown","kpop-attributes":{placement:"bottomStart"},"trigger-text":n.userInitials,width:n.width},{items:e.withCtx(({handleSelection:f})=>[e.renderSlot(a.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,c=>(e.openBlock(),e.createBlock(o,{key:c.value,class:e.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:p=>f(c)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{option:c},()=>[e.createTextVNode(e.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),H=(n,a)=>{const r=n.__vccOpts||n;for(const[o,d]of a)r[o]=d;return r},xt=H(Ft,[["__scopeId","data-v-7bab0343"]]),Dt={class:"about-section-title","data-testid":"about-section-title"},Vt={class:"about-section-header-end"},Rt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Lt={key:1,class:"about-section-timestamps-arrow"},Mt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Pt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Zt={key:0,"data-testid":"about-section-loading-skeleton"},jt={key:1},Kt={key:0,class:"about-section-description","data-testid":"about-section-description"},Ht={key:1,class:"about-section-content","data-testid":"about-section-content"},zt={key:2,"data-testid":"about-divider-section-separator"},Ut={key:3,class:"about-divider-section","data-testid":"about-divider-section"},Gt=H(e.defineComponent({__name:"AppAboutSection",props:{title:{type:String,default:""},description:{type:String,default:""},created:{type:String,default:""},createdLabel:{type:String,default:"Created"},modified:{type:String,default:""},modifiedLabel:{type:String,default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(n){const a=n,r=e.computed(()=>!!a.modified&&a.modified!==a.created);return(o,d)=>{const f=e.resolveComponent("KSkeletonBox"),c=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(c,{class:"kong-ui-app-about-section"},e.createSlots({default:e.withCtx(()=>[n.isLoading?(e.openBlock(),e.createElementBlock("div",Zt,[e.createVNode(f,{height:"2",width:"100"}),e.createVNode(f,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",jt,[n.description?(e.openBlock(),e.createElementBlock("p",Kt,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createElementBlock("div",Ht,[e.renderSlot(o.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",zt)):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",Ut,[e.renderSlot(o.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[n.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Dt,e.toDisplayString(n.title),1)]),key:"0"}:void 0,o.$slots.actions||n.created||n.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Vt,[n.created||n.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":o.$slots.actions}])},[n.created?(e.openBlock(),e.createElementBlock("span",Rt,e.toDisplayString(n.createdLabel)+": "+e.toDisplayString(n.created),1)):e.createCommentVNode("",!0),n.created&&r.value?(e.openBlock(),e.createElementBlock("span",Lt,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Mt,e.toDisplayString(n.modifiedLabel)+": "+e.toDisplayString(n.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",Pt,[e.renderSlot(o.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-d01c666d"]]),Wt={},qt={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"},Xt=[e.createStaticVNode('<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)];function Yt(n,a){return e.openBlock(),e.createElementBlock("svg",qt,Xt)}const Jt=H(Wt,[["render",Yt]]),ze=n=>(e.pushScopeId("data-v-5cbccc66"),n=n(),e.popScopeId(),n),Qt={class:"kong-ui-app-error"},ea={class:"banana-icon"},ta={class:"kong-ui-app-error-content"},aa=ze(()=>e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),na=ze(()=>e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1)),oa=H(e.defineComponent({__name:"AppError",setup(n){return(a,r)=>(e.openBlock(),e.createElementBlock("section",Qt,[e.createElementVNode("div",ea,[e.createVNode(Jt)]),e.createElementVNode("div",ta,[e.renderSlot(a.$slots,"default",{},()=>[aa,na],!0)])]))}}),[["__scopeId","data-v-5cbccc66"]]),ra={class:"kong-ui-app-navbar"},ia={class:"header-content"},ca={class:"mobile-header-left"},sa={key:0,class:"app-navbar-logo"},la={class:"navbar-content"},da={class:"navbar-content-left"},ua={class:"navbar-content-center"},fa={class:"navbar-content-right"},Ue=H(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(n){e.useCssVars(c=>({d96d0598:f.value.top,"05b18f8e":f.value.zIndex,"543b3ff0":f.value.left,"247c8fd0":d.marginRight,"278e63f0":d.width}));const a=n,r=e.useSlots(),o=e.computed(()=>!!r.logo),d=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,p;(p=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&p.length?(d.marginRight="32px",d.width="calc(240px - 32px)"):(d.marginRight="0",d.width="0")});const f=e.computed(()=>({top:a.topOffset?`${a.topOffset}px`:"0",left:a.leftOffset?`${a.leftOffset}px`:"0",zIndex:a.zIndex}));return(c,p)=>(e.openBlock(),e.createElementBlock("header",ra,[e.createElementVNode("div",ia,[e.createElementVNode("div",ca,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),o.value?(e.openBlock(),e.createElementBlock("div",sa,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",la,[e.createElementVNode("div",da,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",ua,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",fa,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-beca6ea9"]]),ma=["title"],$e=99,pa=H(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(n){const a=n,r=e.computed(()=>a.count?a.count>$e?`${$e}+`:a.count.toString():"");return(o,d)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(n.count||0)>$e?String(n.count):void 0},e.toDisplayString(r.value),9,ma)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-912b1a1b"]]),ba="#ffffff",ha="#000933",ga="#000933",va="#ffffff",ya="0px",ka="4px",wa="20px",_a=["data-testid"],Sa=["aria-controls","aria-expanded","href","target","onClick","onKeypress"],Ca={key:0,class:"sidebar-item-icon"},Ea={class:"sidebar-item-name-container"},Na={class:"sidebar-item-name has-tooltip"},Ta={key:2,class:"sidebar-item-label truncate-text truncate-18"},Ba=["id"],Ge=H(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(n,{emit:a}){const r=a,o=n,d=e.computed(()=>typeof o.item.to!="string"?!1:!!o.item.newWindow||!!o.item.external||o.item.to.startsWith("http")),f=e.computed(()=>!o.item.to||typeof o.item.to!="string"||!o.item.newWindow?!1:o.item.newWindow&&(o.item.to.startsWith("http")||o.item.to.startsWith("/"))),c=e.computed(()=>o.subnavItem&&o.item.badgeCount!==void 0),p=w=>{r("click",w)},h=(w,T,C)=>{p(T),typeof C=="function"&&(w.preventDefault(),C())};return(w,T)=>{var A;const C=e.resolveComponent("KTooltip"),B=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([n.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:n.item.expanded},{active:n.item.active}]),"data-testid":n.item.testId?`sidebar-item-${n.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.value?"div":"router-link"),{custom:d.value?void 0:!0,to:!d.value&&!f.value?n.item.to:void 0},{default:e.withCtx(v=>{var F,j;return[e.createElementVNode("a",{"aria-controls":(F=n.item.items)!=null&&F.length&&n.item.expanded?`subnav-${n.item.key}`:void 0,"aria-expanded":(j=n.item.items)!=null&&j.length&&n.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":f.value,"router-link":!d.value}]),href:d.value?String(n.item.to||"#"):v==null?void 0:v.href,target:f.value?"_blank":void 0,onClick:I=>h(I,n.item,v==null?void 0:v.navigate),onKeypress:e.withKeys(I=>h(I,n.item,v==null?void 0:v.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!n.item.label&&n.item.expanded,"has-badge":c.value}])},[n.item.icon!==void 0&&typeof n.item.icon!="string"?(e.openBlock(),e.createElementBlock("div",Ca,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.item.icon),{size:e.unref(wa)},null,8,["size"]))])):e.createCommentVNode("",!0),e.createElementVNode("div",Ea,[(n.subnavItem?n.item.name.length<25:n.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[n.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},e.toDisplayString(n.item.name),3)):(e.openBlock(),e.createBlock(C,{key:1,class:"sidebar-item-tooltip",label:n.item.name,placement:"right","position-fixed":""},{default:e.withCtx(()=>[e.createElementVNode("div",Na,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[n.subnavItem?"truncate-18":"truncate-17",{"has-badge-max-width":c.value}]])},e.toDisplayString(n.item.name),3)])]),_:1},8,["label"])),n.item.label&&n.item.expanded?(e.openBlock(),e.createElementBlock("div",Ta,e.toDisplayString(n.item.label),1)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createBlock(pa,{key:1,count:n.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,Sa)]}),_:1},8,["custom","to"])),(A=n.item.items)!=null&&A.length&&n.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${n.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.items,v=>(e.openBlock(),e.createBlock(B,{key:v.name,item:v,"subnav-item":!0,onClick:F=>p(v)},null,8,["item","onClick"]))),128))],8,Ba)):e.createCommentVNode("",!0)],10,_a)}}}),[["__scopeId","data-v-bf7140dd"]]);/*!
|
|
1
|
+
(function(R,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(R=typeof globalThis<"u"?globalThis:R||self,e(R["kong-ui-public-app-layout"]={},R.Vue))})(this,function(R,e){"use strict";const Ft=e.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(n){return(a,r)=>{const o=e.resolveComponent("KDropdownItem"),d=e.resolveComponent("KDropdown");return e.openBlock(),e.createBlock(d,{class:"account-dropdown","kpop-attributes":{placement:"bottomStart"},"trigger-text":n.userInitials,width:n.width},{items:e.withCtx(({handleSelection:f})=>[e.renderSlot(a.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.options,c=>(e.openBlock(),e.createBlock(o,{key:c.value,class:e.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:p=>f(c)},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{option:c},()=>[e.createTextVNode(e.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["trigger-text","width"])}}}),H=(n,a)=>{const r=n.__vccOpts||n;for(const[o,d]of a)r[o]=d;return r},xt=H(Ft,[["__scopeId","data-v-7bab0343"]]),Dt={class:"about-section-title","data-testid":"about-section-title"},Vt={class:"about-section-header-end"},Rt={key:0,class:"about-section-timestamps-created","data-testid":"about-section-timestamps-created"},Lt={key:1,class:"about-section-timestamps-arrow"},Mt={key:2,class:"about-section-timestamps-modified","data-testid":"about-section-timestamps-modified"},Pt={key:1,class:"about-section-actions","data-testid":"about-section-actions"},Zt={key:0,"data-testid":"about-section-loading-skeleton"},jt={key:1},Kt={key:0,class:"about-section-description","data-testid":"about-section-description"},Ht={key:1,class:"about-section-content","data-testid":"about-section-content"},zt={key:2,"data-testid":"about-divider-section-separator"},Ut={key:3,class:"about-divider-section","data-testid":"about-divider-section"},Gt=H(e.defineComponent({__name:"AppAboutSection",props:{title:{type:String,default:""},description:{type:String,default:""},created:{type:String,default:""},createdLabel:{type:String,default:"Created"},modified:{type:String,default:""},modifiedLabel:{type:String,default:"Modified"},isLoading:{type:Boolean,default:!1}},setup(n){const a=n,r=e.computed(()=>!!a.modified&&a.modified!==a.created);return(o,d)=>{const f=e.resolveComponent("KSkeletonBox"),c=e.resolveComponent("KCard");return e.openBlock(),e.createBlock(c,{class:"kong-ui-app-about-section"},e.createSlots({default:e.withCtx(()=>[n.isLoading?(e.openBlock(),e.createElementBlock("div",Zt,[e.createVNode(f,{height:"2",width:"100"}),e.createVNode(f,{height:"2",width:"100"})])):(e.openBlock(),e.createElementBlock("div",jt,[n.description?(e.openBlock(),e.createElementBlock("p",Kt,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),o.$slots.default?(e.openBlock(),e.createElementBlock("div",Ht,[e.renderSlot(o.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("hr",zt)):e.createCommentVNode("",!0),o.$slots["divider-section"]?(e.openBlock(),e.createElementBlock("div",Ut,[e.renderSlot(o.$slots,"divider-section",{},void 0,!0)])):e.createCommentVNode("",!0)]))]),_:2},[n.title?{name:"title",fn:e.withCtx(()=>[e.createElementVNode("span",Dt,e.toDisplayString(n.title),1)]),key:"0"}:void 0,o.$slots.actions||n.created||n.modified?{name:"actions",fn:e.withCtx(()=>[e.createElementVNode("div",Vt,[n.created||n.modified?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["about-section-timestamps",{"has-actions":o.$slots.actions}])},[n.created?(e.openBlock(),e.createElementBlock("span",Rt,e.toDisplayString(n.createdLabel)+": "+e.toDisplayString(n.created),1)):e.createCommentVNode("",!0),n.created&&r.value?(e.openBlock(),e.createElementBlock("span",Lt,"->")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Mt,e.toDisplayString(n.modifiedLabel)+": "+e.toDisplayString(n.modified),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",Pt,[e.renderSlot(o.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)])]),key:"1"}:void 0]),1024)}}}),[["__scopeId","data-v-d01c666d"]]),Wt={},qt={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"},Xt=[e.createStaticVNode('<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)];function Yt(n,a){return e.openBlock(),e.createElementBlock("svg",qt,Xt)}const Jt=H(Wt,[["render",Yt]]),ze=n=>(e.pushScopeId("data-v-5cbccc66"),n=n(),e.popScopeId(),n),Qt={class:"kong-ui-app-error"},ea={class:"banana-icon"},ta={class:"kong-ui-app-error-content"},aa=ze(()=>e.createElementVNode("h2",null,"An unexpected error has occurred",-1)),na=ze(()=>e.createElementVNode("p",null,[e.createTextVNode("Go back to the previous page or "),e.createElementVNode("a",{href:"/"},"return home"),e.createTextVNode(".")],-1)),oa=H(e.defineComponent({__name:"AppError",setup(n){return(a,r)=>(e.openBlock(),e.createElementBlock("section",Qt,[e.createElementVNode("div",ea,[e.createVNode(Jt)]),e.createElementVNode("div",ta,[e.renderSlot(a.$slots,"default",{},()=>[aa,na],!0)])]))}}),[["__scopeId","data-v-5cbccc66"]]),ra={class:"kong-ui-app-navbar"},ia={class:"header-content"},ca={class:"mobile-header-left"},sa={key:0,class:"app-navbar-logo"},la={class:"navbar-content"},da={class:"navbar-content-left"},ua={class:"navbar-content-center"},fa={class:"navbar-content-right"},Ue=H(e.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(n){e.useCssVars(c=>({d96d0598:f.value.top,"05b18f8e":f.value.zIndex,"543b3ff0":f.value.left,"247c8fd0":d.marginRight,"278e63f0":d.width}));const a=n,r=e.useSlots(),o=e.computed(()=>!!r.logo),d=e.reactive({marginRight:"0",width:"0"});e.onMounted(()=>{var c,p;(p=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&p.length?(d.marginRight="32px",d.width="calc(240px - 32px)"):(d.marginRight="0",d.width="0")});const f=e.computed(()=>({top:a.topOffset?`${a.topOffset}px`:"0",left:a.leftOffset?`${a.leftOffset}px`:"0",zIndex:a.zIndex}));return(c,p)=>(e.openBlock(),e.createElementBlock("header",ra,[e.createElementVNode("div",ia,[e.createElementVNode("div",ca,[e.renderSlot(c.$slots,"mobile-sidebar-toggle"),e.renderSlot(c.$slots,"mobile-logo")]),o.value?(e.openBlock(),e.createElementBlock("div",sa,[e.renderSlot(c.$slots,"logo")])):e.createCommentVNode("",!0),e.createElementVNode("div",la,[e.createElementVNode("div",da,[e.renderSlot(c.$slots,"left")]),e.createElementVNode("div",ua,[e.renderSlot(c.$slots,"center")]),e.createElementVNode("div",fa,[e.renderSlot(c.$slots,"right")])])])]))}}),[["__scopeId","data-v-beca6ea9"]]),ma=["title"],$e=99,pa=H(e.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(n){const a=n,r=e.computed(()=>a.count?a.count>$e?`${$e}+`:a.count.toString():"");return(o,d)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"item-badge",title:(n.count||0)>$e?String(n.count):void 0},e.toDisplayString(r.value),9,ma)):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-912b1a1b"]]),ba="#ffffff",ha="#000933",ga="#000933",va="#ffffff",ya="0px",ka="4px",wa="20px",Sa=["data-testid"],_a=["aria-controls","aria-expanded","href","target","onClick","onKeypress"],Ca={key:0,class:"sidebar-item-icon"},Ea={class:"sidebar-item-name-container"},Na={class:"sidebar-item-name has-tooltip"},Ta={key:2,class:"sidebar-item-label truncate-text truncate-18"},Ba=["id"],Ge=H(e.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(n,{emit:a}){const r=a,o=n,d=e.computed(()=>typeof o.item.to!="string"?!1:!!o.item.newWindow||!!o.item.external||o.item.to.startsWith("http")),f=e.computed(()=>!o.item.to||typeof o.item.to!="string"||!o.item.newWindow?!1:o.item.newWindow&&(o.item.to.startsWith("http")||o.item.to.startsWith("/"))),c=e.computed(()=>o.subnavItem&&o.item.badgeCount!==void 0),p=w=>{r("click",w)},h=(w,T,C)=>{p(T),typeof C=="function"&&(w.preventDefault(),C())};return(w,T)=>{var A;const C=e.resolveComponent("KTooltip"),B=e.resolveComponent("SidebarItem",!0);return e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([n.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:n.item.expanded},{active:n.item.active}]),"data-testid":n.item.testId?`sidebar-item-${n.item.testId}`:void 0},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.value?"div":"router-link"),{custom:d.value?void 0:!0,to:!d.value&&!f.value?n.item.to:void 0},{default:e.withCtx(v=>{var F,j;return[e.createElementVNode("a",{"aria-controls":(F=n.item.items)!=null&&F.length&&n.item.expanded?`subnav-${n.item.key}`:void 0,"aria-expanded":(j=n.item.items)!=null&&j.length&&n.item.expanded?!0:void 0,class:e.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":f.value,"router-link":!d.value}]),href:d.value?String(n.item.to||"#"):v==null?void 0:v.href,target:f.value?"_blank":void 0,onClick:I=>h(I,n.item,v==null?void 0:v.navigate),onKeypress:e.withKeys(I=>h(I,n.item,v==null?void 0:v.navigate),["enter"])},[e.createElementVNode("div",{class:e.normalizeClass(["sidebar-item-display",{"has-label":!!n.item.label&&n.item.expanded,"has-badge":c.value}])},[n.item.icon!==void 0&&typeof n.item.icon!="string"?(e.openBlock(),e.createElementBlock("div",Ca,[n.item.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.item.icon),{key:0,size:e.unref(wa)},null,8,["size"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Ea,[(n.subnavItem?n.item.name.length<25:n.item.name.length<18)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["sidebar-item-name truncate-text",[n.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},e.toDisplayString(n.item.name),3)):(e.openBlock(),e.createBlock(C,{key:1,class:"sidebar-item-tooltip",label:n.item.name,placement:"right","position-fixed":""},{default:e.withCtx(()=>[e.createElementVNode("div",Na,[e.createElementVNode("span",{class:e.normalizeClass(["truncate-text",[n.subnavItem?"truncate-18":"truncate-17",{"has-badge-max-width":c.value}]])},e.toDisplayString(n.item.name),3)])]),_:1},8,["label"])),n.item.label&&n.item.expanded?(e.openBlock(),e.createElementBlock("div",Ta,e.toDisplayString(n.item.label),1)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createBlock(pa,{key:1,count:n.item.badgeCount},null,8,["count"])):e.createCommentVNode("",!0)],2)],42,_a)]}),_:1},8,["custom","to"])),(A=n.item.items)!=null&&A.length&&n.item.expanded?(e.openBlock(),e.createElementBlock("ul",{key:0,id:`subnav-${n.item.key}`,class:"level-secondary"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.item.items,v=>(e.openBlock(),e.createBlock(B,{key:v.name,item:v,"subnav-item":!0,onClick:F=>p(v)},null,8,["item","onClick"]))),128))],8,Ba)):e.createCommentVNode("",!0)],10,Sa)}}}),[["__scopeId","data-v-23e15edb"]]);/*!
|
|
2
2
|
* tabbable 6.2.0
|
|
3
3
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
4
|
*/var We=["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=We.join(","),qe=typeof Element>"u",Q=qe?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ve=!qe&&Element.prototype.getRootNode?function(n){var a;return n==null||(a=n.getRootNode)===null||a===void 0?void 0:a.call(n)}:function(n){return n==null?void 0:n.ownerDocument},ye=function n(a,r){var o;r===void 0&&(r=!0);var d=a==null||(o=a.getAttribute)===null||o===void 0?void 0:o.call(a,"inert"),f=d===""||d==="true",c=f||r&&a&&n(a.parentNode);return c},Ia=function(a){var r,o=a==null||(r=a.getAttribute)===null||r===void 0?void 0:r.call(a,"contenteditable");return o===""||o==="true"},Xe=function(a,r,o){if(ye(a))return[];var d=Array.prototype.slice.apply(a.querySelectorAll(ge));return r&&Q.call(a,ge)&&d.unshift(a),d=d.filter(o),d},Ye=function n(a,r,o){for(var d=[],f=Array.from(a);f.length;){var c=f.shift();if(!ye(c,!1))if(c.tagName==="SLOT"){var p=c.assignedElements(),h=p.length?p:c.children,w=n(h,!0,o);o.flatten?d.push.apply(d,w):d.push({scopeParent:c,candidates:w})}else{var T=Q.call(c,ge);T&&o.filter(c)&&(r||!a.includes(c))&&d.push(c);var C=c.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(c),B=!ye(C,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(C&&B){var A=n(C===!0?c.children:C.children,!0,o);o.flatten?d.push.apply(d,A):d.push({scopeParent:c,candidates:A})}else f.unshift.apply(f,c.children)}}return d},Je=function(a){return!isNaN(parseInt(a.getAttribute("tabindex"),10))},ee=function(a){if(!a)throw new Error("No node provided");return a.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(a.tagName)||Ia(a))&&!Je(a)?0:a.tabIndex},$a=function(a,r){var o=ee(a);return o<0&&r&&!Je(a)?0:o},Oa=function(a,r){return a.tabIndex===r.tabIndex?a.documentOrder-r.documentOrder:a.tabIndex-r.tabIndex},Qe=function(a){return a.tagName==="INPUT"},Aa=function(a){return Qe(a)&&a.type==="hidden"},Fa=function(a){var r=a.tagName==="DETAILS"&&Array.prototype.slice.apply(a.children).some(function(o){return o.tagName==="SUMMARY"});return r},xa=function(a,r){for(var o=0;o<a.length;o++)if(a[o].checked&&a[o].form===r)return a[o]},Da=function(a){if(!a.name)return!0;var r=a.form||ve(a),o=function(p){return r.querySelectorAll('input[type="radio"][name="'+p+'"]')},d;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")d=o(window.CSS.escape(a.name));else try{d=o(a.name)}catch(c){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",c.message),!1}var f=xa(d,a.form);return!f||f===a},Va=function(a){return Qe(a)&&a.type==="radio"},Ra=function(a){return Va(a)&&!Da(a)},La=function(a){var r,o=a&&ve(a),d=(r=o)===null||r===void 0?void 0:r.host,f=!1;if(o&&o!==a){var c,p,h;for(f=!!((c=d)!==null&&c!==void 0&&(p=c.ownerDocument)!==null&&p!==void 0&&p.contains(d)||a!=null&&(h=a.ownerDocument)!==null&&h!==void 0&&h.contains(a));!f&&d;){var w,T,C;o=ve(d),d=(w=o)===null||w===void 0?void 0:w.host,f=!!((T=d)!==null&&T!==void 0&&(C=T.ownerDocument)!==null&&C!==void 0&&C.contains(d))}}return f},et=function(a){var r=a.getBoundingClientRect(),o=r.width,d=r.height;return o===0&&d===0},Ma=function(a,r){var o=r.displayCheck,d=r.getShadowRoot;if(getComputedStyle(a).visibility==="hidden")return!0;var f=Q.call(a,"details>summary:first-of-type"),c=f?a.parentElement:a;if(Q.call(c,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof d=="function"){for(var p=a;a;){var h=a.parentElement,w=ve(a);if(h&&!h.shadowRoot&&d(h)===!0)return et(a);a.assignedSlot?a=a.assignedSlot:!h&&w!==a.ownerDocument?a=w.host:a=h}a=p}if(La(a))return!a.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return et(a);return!1},Pa=function(a){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(a.tagName))for(var r=a.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var o=0;o<r.children.length;o++){var d=r.children.item(o);if(d.tagName==="LEGEND")return Q.call(r,"fieldset[disabled] *")?!0:!d.contains(a)}return!0}r=r.parentElement}return!1},ke=function(a,r){return!(r.disabled||ye(r)||Aa(r)||Ma(r,a)||Fa(r)||Pa(r))},Oe=function(a,r){return!(Ra(r)||ee(r)<0||!ke(a,r))},Za=function(a){var r=parseInt(a.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},ja=function n(a){var r=[],o=[];return a.forEach(function(d,f){var c=!!d.scopeParent,p=c?d.scopeParent:d,h=$a(p,c),w=c?n(d.candidates):p;h===0?c?r.push.apply(r,w):r.push(p):o.push({documentOrder:f,tabIndex:h,item:d,isScope:c,content:w})}),o.sort(Oa).reduce(function(d,f){return f.isScope?d.push.apply(d,f.content):d.push(f.content),d},[]).concat(r)},Ka=function(a,r){r=r||{};var o;return r.getShadowRoot?o=Ye([a],r.includeContainer,{filter:Oe.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Za}):o=Xe(a,r.includeContainer,Oe.bind(null,r)),ja(o)},Ha=function(a,r){r=r||{};var o;return r.getShadowRoot?o=Ye([a],r.includeContainer,{filter:ke.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):o=Xe(a,r.includeContainer,ke.bind(null,r)),o},re=function(a,r){if(r=r||{},!a)throw new Error("No node provided");return Q.call(a,ge)===!1?!1:Oe(r,a)},za=We.concat("iframe").join(","),Ae=function(a,r){if(r=r||{},!a)throw new Error("No node provided");return Q.call(a,za)===!1?!1:ke(r,a)};/*!
|
|
5
5
|
* focus-trap 7.5.4
|
|
6
6
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
-
*/function tt(n,a){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),r.push.apply(r,o)}return r}function at(n){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?tt(Object(r),!0).forEach(function(o){Ua(n,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))})}return n}function Ua(n,a,r){return a=Wa(a),a in n?Object.defineProperty(n,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[a]=r,n}function Ga(n,a){if(typeof n!="object"||n===null)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var o=r.call(n,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function Wa(n){var a=Ga(n,"string");return typeof a=="symbol"?a:String(a)}var nt={activateTrap:function(a,r){if(a.length>0){var o=a[a.length-1];o!==r&&o.pause()}var d=a.indexOf(r);d===-1||a.splice(d,1),a.push(r)},deactivateTrap:function(a,r){var o=a.indexOf(r);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},qa=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},Xa=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},de=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},Ya=function(a){return de(a)&&!a.shiftKey},Ja=function(a){return de(a)&&a.shiftKey},ot=function(a){return setTimeout(a,0)},rt=function(a,r){var o=-1;return a.every(function(d,f){return r(d)?(o=f,!1):!0}),o},ue=function(a){for(var r=arguments.length,o=new Array(r>1?r-1:0),d=1;d<r;d++)o[d-1]=arguments[d];return typeof a=="function"?a.apply(void 0,o):a},we=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},Qa=[],en=function(a,r){var o=(r==null?void 0:r.document)||document,d=(r==null?void 0:r.trapStack)||Qa,f=at({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Ya,isKeyBackward:Ja},r),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},p,h=function(s,u,m){return s&&s[u]!==void 0?s[u]:f[m||u]},w=function(s,u){var m=typeof(u==null?void 0:u.composedPath)=="function"?u.composedPath():void 0;return c.containerGroups.findIndex(function(y){var _=y.container,E=y.tabbableNodes;return _.contains(s)||(m==null?void 0:m.includes(_))||E.find(function(N){return N===s})})},T=function(s){var u=f[s];if(typeof u=="function"){for(var m=arguments.length,y=new Array(m>1?m-1:0),_=1;_<m;_++)y[_-1]=arguments[_];u=u.apply(void 0,y)}if(u===!0&&(u=void 0),!u){if(u===void 0||u===!1)return u;throw new Error("`".concat(s,"` was specified but was not a node, or did not return a node"))}var E=u;if(typeof u=="string"&&(E=o.querySelector(u),!E))throw new Error("`".concat(s,"` as selector refers to no known node"));return E},C=function(){var s=T("initialFocus");if(s===!1)return!1;if(s===void 0||!Ae(s,f.tabbableOptions))if(w(o.activeElement)>=0)s=o.activeElement;else{var u=c.tabbableGroups[0],m=u&&u.firstTabbableNode;s=m||T("fallbackFocus")}if(!s)throw new Error("Your focus-trap needs to have at least one focusable element");return s},B=function(){if(c.containerGroups=c.containers.map(function(s){var u=Ka(s,f.tabbableOptions),m=Ha(s,f.tabbableOptions),y=u.length>0?u[0]:void 0,_=u.length>0?u[u.length-1]:void 0,E=m.find(function(g){return re(g)}),N=m.slice().reverse().find(function(g){return re(g)}),D=!!u.find(function(g){return ee(g)>0});return{container:s,tabbableNodes:u,focusableNodes:m,posTabIndexesFound:D,firstTabbableNode:y,lastTabbableNode:_,firstDomTabbableNode:E,lastDomTabbableNode:N,nextTabbableNode:function(W){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,$=u.indexOf(W);return $<0?te?m.slice(m.indexOf(W)+1).find(function(Y){return re(Y)}):m.slice(0,m.indexOf(W)).reverse().find(function(Y){return re(Y)}):u[$+(te?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(s){return s.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(s){return s.posTabIndexesFound})&&c.containerGroups.length>1)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.")},A=function k(s){var u=s.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?k(u.shadowRoot):u},v=function k(s){if(s!==!1&&s!==A(document)){if(!s||!s.focus){k(C());return}s.focus({preventScroll:!!f.preventScroll}),c.mostRecentlyFocusedNode=s,qa(s)&&s.select()}},F=function(s){var u=T("setReturnFocus",s);return u||(u===!1?!1:s)},j=function(s){var u=s.target,m=s.event,y=s.isBackward,_=y===void 0?!1:y;u=u||we(m),B();var E=null;if(c.tabbableGroups.length>0){var N=w(u,m),D=N>=0?c.containerGroups[N]:void 0;if(N<0)_?E=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:E=c.tabbableGroups[0].firstTabbableNode;else if(_){var g=rt(c.tabbableGroups,function(me){var pe=me.firstTabbableNode;return u===pe});if(g<0&&(D.container===u||Ae(u,f.tabbableOptions)&&!re(u,f.tabbableOptions)&&!D.nextTabbableNode(u,!1))&&(g=N),g>=0){var W=g===0?c.tabbableGroups.length-1:g-1,te=c.tabbableGroups[W];E=ee(u)>=0?te.lastTabbableNode:te.lastDomTabbableNode}else de(m)||(E=D.nextTabbableNode(u,!1))}else{var $=rt(c.tabbableGroups,function(me){var pe=me.lastTabbableNode;return u===pe});if($<0&&(D.container===u||Ae(u,f.tabbableOptions)&&!re(u,f.tabbableOptions)&&!D.nextTabbableNode(u))&&($=N),$>=0){var Y=$===c.tabbableGroups.length-1?0:$+1,fe=c.tabbableGroups[Y];E=ee(u)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else de(m)||(E=D.nextTabbableNode(u))}}else E=T("fallbackFocus");return E},I=function(s){var u=we(s);if(!(w(u,s)>=0)){if(ue(f.clickOutsideDeactivates,s)){p.deactivate({returnFocus:f.returnFocusOnDeactivate});return}ue(f.allowOutsideClick,s)||s.preventDefault()}},G=function(s){var u=we(s),m=w(u,s)>=0;if(m||u instanceof Document)m&&(c.mostRecentlyFocusedNode=u);else{s.stopImmediatePropagation();var y,_=!0;if(c.mostRecentlyFocusedNode)if(ee(c.mostRecentlyFocusedNode)>0){var E=w(c.mostRecentlyFocusedNode),N=c.containerGroups[E].tabbableNodes;if(N.length>0){var D=N.findIndex(function(g){return g===c.mostRecentlyFocusedNode});D>=0&&(f.isKeyForward(c.recentNavEvent)?D+1<N.length&&(y=N[D+1],_=!1):D-1>=0&&(y=N[D-1],_=!1))}}else c.containerGroups.some(function(g){return g.tabbableNodes.some(function(W){return ee(W)>0})})||(_=!1);else _=!1;_&&(y=j({target:c.mostRecentlyFocusedNode,isBackward:f.isKeyBackward(c.recentNavEvent)})),v(y||c.mostRecentlyFocusedNode||C())}c.recentNavEvent=void 0},X=function(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=s;var m=j({event:s,isBackward:u});m&&(de(s)&&s.preventDefault(),v(m))},z=function(s){if(Xa(s)&&ue(f.escapeDeactivates,s)!==!1){s.preventDefault(),p.deactivate();return}(f.isKeyForward(s)||f.isKeyBackward(s))&&X(s,f.isKeyBackward(s))},U=function(s){var u=we(s);w(u,s)>=0||ue(f.clickOutsideDeactivates,s)||ue(f.allowOutsideClick,s)||(s.preventDefault(),s.stopImmediatePropagation())},V=function(){if(c.active)return nt.activateTrap(d,p),c.delayInitialFocusTimer=f.delayInitialFocus?ot(function(){v(C())}):v(C()),o.addEventListener("focusin",G,!0),o.addEventListener("mousedown",I,{capture:!0,passive:!1}),o.addEventListener("touchstart",I,{capture:!0,passive:!1}),o.addEventListener("click",U,{capture:!0,passive:!1}),o.addEventListener("keydown",z,{capture:!0,passive:!1}),p},P=function(){if(c.active)return o.removeEventListener("focusin",G,!0),o.removeEventListener("mousedown",I,!0),o.removeEventListener("touchstart",I,!0),o.removeEventListener("click",U,!0),o.removeEventListener("keydown",z,!0),p},S=function(s){var u=s.some(function(m){var y=Array.from(m.removedNodes);return y.some(function(_){return _===c.mostRecentlyFocusedNode})});u&&v(C())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(S):void 0,Z=function(){x&&(x.disconnect(),c.active&&!c.paused&&c.containers.map(function(s){x.observe(s,{subtree:!0,childList:!0})}))};return p={get active(){return c.active},get paused(){return c.paused},activate:function(s){if(c.active)return this;var u=h(s,"onActivate"),m=h(s,"onPostActivate"),y=h(s,"checkCanFocusTrap");y||B(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=o.activeElement,u==null||u();var _=function(){y&&B(),V(),Z(),m==null||m()};return y?(y(c.containers.concat()).then(_,_),this):(_(),this)},deactivate:function(s){if(!c.active)return this;var u=at({onDeactivate:f.onDeactivate,onPostDeactivate:f.onPostDeactivate,checkCanReturnFocus:f.checkCanReturnFocus},s);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,P(),c.active=!1,c.paused=!1,Z(),nt.deactivateTrap(d,p);var m=h(u,"onDeactivate"),y=h(u,"onPostDeactivate"),_=h(u,"checkCanReturnFocus"),E=h(u,"returnFocus","returnFocusOnDeactivate");m==null||m();var N=function(){ot(function(){E&&v(F(c.nodeFocusedBeforeActivation)),y==null||y()})};return E&&_?(_(F(c.nodeFocusedBeforeActivation)).then(N,N),this):(N(),this)},pause:function(s){if(c.paused||!c.active)return this;var u=h(s,"onPause"),m=h(s,"onPostPause");return c.paused=!0,u==null||u(),P(),Z(),m==null||m(),this},unpause:function(s){if(!c.paused||!c.active)return this;var u=h(s,"onUnpause"),m=h(s,"onPostUnpause");return c.paused=!1,u==null||u(),B(),V(),Z(),m==null||m(),this},updateContainerElements:function(s){var u=[].concat(s).filter(Boolean);return c.containers=u.map(function(m){return typeof m=="string"?o.querySelector(m):m}),c.active&&B(),Z(),this}},p.updateContainerElements(a),p};/*!
|
|
7
|
+
*/function tt(n,a){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);a&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),r.push.apply(r,o)}return r}function at(n){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?tt(Object(r),!0).forEach(function(o){Ua(n,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))})}return n}function Ua(n,a,r){return a=Wa(a),a in n?Object.defineProperty(n,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[a]=r,n}function Ga(n,a){if(typeof n!="object"||n===null)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var o=r.call(n,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function Wa(n){var a=Ga(n,"string");return typeof a=="symbol"?a:String(a)}var nt={activateTrap:function(a,r){if(a.length>0){var o=a[a.length-1];o!==r&&o.pause()}var d=a.indexOf(r);d===-1||a.splice(d,1),a.push(r)},deactivateTrap:function(a,r){var o=a.indexOf(r);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},qa=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},Xa=function(a){return(a==null?void 0:a.key)==="Escape"||(a==null?void 0:a.key)==="Esc"||(a==null?void 0:a.keyCode)===27},de=function(a){return(a==null?void 0:a.key)==="Tab"||(a==null?void 0:a.keyCode)===9},Ya=function(a){return de(a)&&!a.shiftKey},Ja=function(a){return de(a)&&a.shiftKey},ot=function(a){return setTimeout(a,0)},rt=function(a,r){var o=-1;return a.every(function(d,f){return r(d)?(o=f,!1):!0}),o},ue=function(a){for(var r=arguments.length,o=new Array(r>1?r-1:0),d=1;d<r;d++)o[d-1]=arguments[d];return typeof a=="function"?a.apply(void 0,o):a},we=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},Qa=[],en=function(a,r){var o=(r==null?void 0:r.document)||document,d=(r==null?void 0:r.trapStack)||Qa,f=at({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Ya,isKeyBackward:Ja},r),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},p,h=function(s,u,m){return s&&s[u]!==void 0?s[u]:f[m||u]},w=function(s,u){var m=typeof(u==null?void 0:u.composedPath)=="function"?u.composedPath():void 0;return c.containerGroups.findIndex(function(y){var S=y.container,E=y.tabbableNodes;return S.contains(s)||(m==null?void 0:m.includes(S))||E.find(function(N){return N===s})})},T=function(s){var u=f[s];if(typeof u=="function"){for(var m=arguments.length,y=new Array(m>1?m-1:0),S=1;S<m;S++)y[S-1]=arguments[S];u=u.apply(void 0,y)}if(u===!0&&(u=void 0),!u){if(u===void 0||u===!1)return u;throw new Error("`".concat(s,"` was specified but was not a node, or did not return a node"))}var E=u;if(typeof u=="string"&&(E=o.querySelector(u),!E))throw new Error("`".concat(s,"` as selector refers to no known node"));return E},C=function(){var s=T("initialFocus");if(s===!1)return!1;if(s===void 0||!Ae(s,f.tabbableOptions))if(w(o.activeElement)>=0)s=o.activeElement;else{var u=c.tabbableGroups[0],m=u&&u.firstTabbableNode;s=m||T("fallbackFocus")}if(!s)throw new Error("Your focus-trap needs to have at least one focusable element");return s},B=function(){if(c.containerGroups=c.containers.map(function(s){var u=Ka(s,f.tabbableOptions),m=Ha(s,f.tabbableOptions),y=u.length>0?u[0]:void 0,S=u.length>0?u[u.length-1]:void 0,E=m.find(function(g){return re(g)}),N=m.slice().reverse().find(function(g){return re(g)}),D=!!u.find(function(g){return ee(g)>0});return{container:s,tabbableNodes:u,focusableNodes:m,posTabIndexesFound:D,firstTabbableNode:y,lastTabbableNode:S,firstDomTabbableNode:E,lastDomTabbableNode:N,nextTabbableNode:function(W){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,$=u.indexOf(W);return $<0?te?m.slice(m.indexOf(W)+1).find(function(Y){return re(Y)}):m.slice(0,m.indexOf(W)).reverse().find(function(Y){return re(Y)}):u[$+(te?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(s){return s.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(s){return s.posTabIndexesFound})&&c.containerGroups.length>1)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.")},A=function k(s){var u=s.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?k(u.shadowRoot):u},v=function k(s){if(s!==!1&&s!==A(document)){if(!s||!s.focus){k(C());return}s.focus({preventScroll:!!f.preventScroll}),c.mostRecentlyFocusedNode=s,qa(s)&&s.select()}},F=function(s){var u=T("setReturnFocus",s);return u||(u===!1?!1:s)},j=function(s){var u=s.target,m=s.event,y=s.isBackward,S=y===void 0?!1:y;u=u||we(m),B();var E=null;if(c.tabbableGroups.length>0){var N=w(u,m),D=N>=0?c.containerGroups[N]:void 0;if(N<0)S?E=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:E=c.tabbableGroups[0].firstTabbableNode;else if(S){var g=rt(c.tabbableGroups,function(me){var pe=me.firstTabbableNode;return u===pe});if(g<0&&(D.container===u||Ae(u,f.tabbableOptions)&&!re(u,f.tabbableOptions)&&!D.nextTabbableNode(u,!1))&&(g=N),g>=0){var W=g===0?c.tabbableGroups.length-1:g-1,te=c.tabbableGroups[W];E=ee(u)>=0?te.lastTabbableNode:te.lastDomTabbableNode}else de(m)||(E=D.nextTabbableNode(u,!1))}else{var $=rt(c.tabbableGroups,function(me){var pe=me.lastTabbableNode;return u===pe});if($<0&&(D.container===u||Ae(u,f.tabbableOptions)&&!re(u,f.tabbableOptions)&&!D.nextTabbableNode(u))&&($=N),$>=0){var Y=$===c.tabbableGroups.length-1?0:$+1,fe=c.tabbableGroups[Y];E=ee(u)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else de(m)||(E=D.nextTabbableNode(u))}}else E=T("fallbackFocus");return E},I=function(s){var u=we(s);if(!(w(u,s)>=0)){if(ue(f.clickOutsideDeactivates,s)){p.deactivate({returnFocus:f.returnFocusOnDeactivate});return}ue(f.allowOutsideClick,s)||s.preventDefault()}},G=function(s){var u=we(s),m=w(u,s)>=0;if(m||u instanceof Document)m&&(c.mostRecentlyFocusedNode=u);else{s.stopImmediatePropagation();var y,S=!0;if(c.mostRecentlyFocusedNode)if(ee(c.mostRecentlyFocusedNode)>0){var E=w(c.mostRecentlyFocusedNode),N=c.containerGroups[E].tabbableNodes;if(N.length>0){var D=N.findIndex(function(g){return g===c.mostRecentlyFocusedNode});D>=0&&(f.isKeyForward(c.recentNavEvent)?D+1<N.length&&(y=N[D+1],S=!1):D-1>=0&&(y=N[D-1],S=!1))}}else c.containerGroups.some(function(g){return g.tabbableNodes.some(function(W){return ee(W)>0})})||(S=!1);else S=!1;S&&(y=j({target:c.mostRecentlyFocusedNode,isBackward:f.isKeyBackward(c.recentNavEvent)})),v(y||c.mostRecentlyFocusedNode||C())}c.recentNavEvent=void 0},X=function(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=s;var m=j({event:s,isBackward:u});m&&(de(s)&&s.preventDefault(),v(m))},z=function(s){if(Xa(s)&&ue(f.escapeDeactivates,s)!==!1){s.preventDefault(),p.deactivate();return}(f.isKeyForward(s)||f.isKeyBackward(s))&&X(s,f.isKeyBackward(s))},U=function(s){var u=we(s);w(u,s)>=0||ue(f.clickOutsideDeactivates,s)||ue(f.allowOutsideClick,s)||(s.preventDefault(),s.stopImmediatePropagation())},V=function(){if(c.active)return nt.activateTrap(d,p),c.delayInitialFocusTimer=f.delayInitialFocus?ot(function(){v(C())}):v(C()),o.addEventListener("focusin",G,!0),o.addEventListener("mousedown",I,{capture:!0,passive:!1}),o.addEventListener("touchstart",I,{capture:!0,passive:!1}),o.addEventListener("click",U,{capture:!0,passive:!1}),o.addEventListener("keydown",z,{capture:!0,passive:!1}),p},P=function(){if(c.active)return o.removeEventListener("focusin",G,!0),o.removeEventListener("mousedown",I,!0),o.removeEventListener("touchstart",I,!0),o.removeEventListener("click",U,!0),o.removeEventListener("keydown",z,!0),p},_=function(s){var u=s.some(function(m){var y=Array.from(m.removedNodes);return y.some(function(S){return S===c.mostRecentlyFocusedNode})});u&&v(C())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(_):void 0,Z=function(){x&&(x.disconnect(),c.active&&!c.paused&&c.containers.map(function(s){x.observe(s,{subtree:!0,childList:!0})}))};return p={get active(){return c.active},get paused(){return c.paused},activate:function(s){if(c.active)return this;var u=h(s,"onActivate"),m=h(s,"onPostActivate"),y=h(s,"checkCanFocusTrap");y||B(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=o.activeElement,u==null||u();var S=function(){y&&B(),V(),Z(),m==null||m()};return y?(y(c.containers.concat()).then(S,S),this):(S(),this)},deactivate:function(s){if(!c.active)return this;var u=at({onDeactivate:f.onDeactivate,onPostDeactivate:f.onPostDeactivate,checkCanReturnFocus:f.checkCanReturnFocus},s);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,P(),c.active=!1,c.paused=!1,Z(),nt.deactivateTrap(d,p);var m=h(u,"onDeactivate"),y=h(u,"onPostDeactivate"),S=h(u,"checkCanReturnFocus"),E=h(u,"returnFocus","returnFocusOnDeactivate");m==null||m();var N=function(){ot(function(){E&&v(F(c.nodeFocusedBeforeActivation)),y==null||y()})};return E&&S?(S(F(c.nodeFocusedBeforeActivation)).then(N,N),this):(N(),this)},pause:function(s){if(c.paused||!c.active)return this;var u=h(s,"onPause"),m=h(s,"onPostPause");return c.paused=!0,u==null||u(),P(),Z(),m==null||m(),this},unpause:function(s){if(!c.paused||!c.active)return this;var u=h(s,"onUnpause"),m=h(s,"onPostUnpause");return c.paused=!1,u==null||u(),B(),V(),Z(),m==null||m(),this},updateContainerElements:function(s){var u=[].concat(s).filter(Boolean);return c.containers=u.map(function(m){return typeof m=="string"?o.querySelector(m):m}),c.active&&B(),Z(),this}},p.updateContainerElements(a),p};/*!
|
|
8
8
|
* focus-trap-vue v4.0.2
|
|
9
9
|
* (c) 2023 Eduardo San Martin Morote
|
|
10
10
|
* @license MIT
|
|
11
|
-
*/function cr(n){return n}const tn={escapeDeactivates:{type:Boolean,default:!0},returnFocusOnDeactivate:{type:Boolean,default:!0},allowOutsideClick:{type:[Boolean,Function],default:!0},clickOutsideDeactivates:[Boolean,Function],initialFocus:[String,Function,Boolean],fallbackFocus:[String,Function],checkCanFocusTrap:Function,checkCanReturnFocus:Function,delayInitialFocus:{type:Boolean,default:!0},document:Object,preventScroll:Boolean,setReturnFocus:[Object,String,Boolean,Function],tabbableOptions:Object},an=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},tn),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(n,{slots:a,emit:r}){let o;const d=e.ref(null),f=e.computed(()=>{const p=d.value;return p&&(p instanceof HTMLElement?p:p.$el)});function c(){return o||(o=en(f.value,{escapeDeactivates:n.escapeDeactivates,allowOutsideClick:n.allowOutsideClick,returnFocusOnDeactivate:n.returnFocusOnDeactivate,clickOutsideDeactivates:n.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:n.initialFocus,fallbackFocus:n.fallbackFocus,tabbableOptions:n.tabbableOptions,delayInitialFocus:n.delayInitialFocus,preventScroll:n.preventScroll}))}return e.onMounted(()=>{e.watch(()=>n.active,p=>{p&&f.value?c().activate():o&&(o.deactivate(),(!f.value||f.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){c().activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!a.default)return null;const p=a.default().filter(w=>w.type!==e.Comment);return!p||!p.length||p.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),p):e.cloneVNode(p[0],{ref:d})}}}});function it(){return{debounce:(a,r)=>{let o;return(...d)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{a(...d)},r)}}}}var _e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nn(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Se={exports:{}};Se.exports,function(n,a){var r=200,o="__lodash_hash_undefined__",d=9007199254740991,f="[object Arguments]",c="[object Array]",p="[object Boolean]",h="[object Date]",w="[object Error]",T="[object Function]",C="[object GeneratorFunction]",B="[object Map]",A="[object Number]",v="[object Object]",F="[object Promise]",j="[object RegExp]",I="[object Set]",G="[object String]",X="[object Symbol]",z="[object WeakMap]",U="[object ArrayBuffer]",V="[object DataView]",P="[object Float32Array]",S="[object Float64Array]",x="[object Int8Array]",Z="[object Int16Array]",k="[object Int32Array]",s="[object Uint8Array]",u="[object Uint8ClampedArray]",m="[object Uint16Array]",y="[object Uint32Array]",_=/[\\^$.*+?()[\]{}|]/g,E=/\w*$/,N=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,g={};g[f]=g[c]=g[U]=g[V]=g[p]=g[h]=g[P]=g[S]=g[x]=g[Z]=g[k]=g[B]=g[A]=g[v]=g[j]=g[I]=g[G]=g[X]=g[s]=g[u]=g[m]=g[y]=!0,g[w]=g[T]=g[z]=!1;var W=typeof _e=="object"&&_e&&_e.Object===Object&&_e,te=typeof self=="object"&&self&&self.Object===Object&&self,$=W||te||Function("return this")(),Y=a&&!a.nodeType&&a,fe=Y&&!0&&n&&!n.nodeType&&n,me=fe&&fe.exports===Y;function pe(t,i){return t.set(i[0],i[1]),t}function Ln(t,i){return t.add(i),t}function Mn(t,i){for(var l=-1,b=t?t.length:0;++l<b&&i(t[l],l,t)!==!1;);return t}function Pn(t,i){for(var l=-1,b=i.length,O=t.length;++l<b;)t[O+l]=i[l];return t}function dt(t,i,l,b){var O=-1,L=t?t.length:0;for(b&&L&&(l=t[++O]);++O<L;)l=i(l,t[O],O,t);return l}function Zn(t,i){for(var l=-1,b=Array(t);++l<t;)b[l]=i(l);return b}function jn(t,i){return t==null?void 0:t[i]}function ut(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function ft(t){var i=-1,l=Array(t.size);return t.forEach(function(b,O){l[++i]=[O,b]}),l}function xe(t,i){return function(l){return t(i(l))}}function mt(t){var i=-1,l=Array(t.size);return t.forEach(function(b){l[++i]=b}),l}var Kn=Array.prototype,Hn=Function.prototype,Ce=Object.prototype,De=$["__core-js_shared__"],pt=function(){var t=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),bt=Hn.toString,J=Ce.hasOwnProperty,Ee=Ce.toString,zn=RegExp("^"+bt.call(J).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ht=me?$.Buffer:void 0,gt=$.Symbol,vt=$.Uint8Array,Un=xe(Object.getPrototypeOf,Object),Gn=Object.create,Wn=Ce.propertyIsEnumerable,qn=Kn.splice,yt=Object.getOwnPropertySymbols,Xn=ht?ht.isBuffer:void 0,Yn=xe(Object.keys,Object),Ve=se($,"DataView"),be=se($,"Map"),Re=se($,"Promise"),Le=se($,"Set"),Me=se($,"WeakMap"),he=se(Object,"create"),Jn=oe(Ve),Qn=oe(be),eo=oe(Re),to=oe(Le),ao=oe(Me),kt=gt?gt.prototype:void 0,wt=kt?kt.valueOf:void 0;function ae(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var b=t[i];this.set(b[0],b[1])}}function no(){this.__data__=he?he(null):{}}function oo(t){return this.has(t)&&delete this.__data__[t]}function ro(t){var i=this.__data__;if(he){var l=i[t];return l===o?void 0:l}return J.call(i,t)?i[t]:void 0}function io(t){var i=this.__data__;return he?i[t]!==void 0:J.call(i,t)}function co(t,i){var l=this.__data__;return l[t]=he&&i===void 0?o:i,this}ae.prototype.clear=no,ae.prototype.delete=oo,ae.prototype.get=ro,ae.prototype.has=io,ae.prototype.set=co;function q(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var b=t[i];this.set(b[0],b[1])}}function so(){this.__data__=[]}function lo(t){var i=this.__data__,l=Ne(i,t);if(l<0)return!1;var b=i.length-1;return l==b?i.pop():qn.call(i,l,1),!0}function uo(t){var i=this.__data__,l=Ne(i,t);return l<0?void 0:i[l][1]}function fo(t){return Ne(this.__data__,t)>-1}function mo(t,i){var l=this.__data__,b=Ne(l,t);return b<0?l.push([t,i]):l[b][1]=i,this}q.prototype.clear=so,q.prototype.delete=lo,q.prototype.get=uo,q.prototype.has=fo,q.prototype.set=mo;function ie(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var b=t[i];this.set(b[0],b[1])}}function po(){this.__data__={hash:new ae,map:new(be||q),string:new ae}}function bo(t){return Te(this,t).delete(t)}function ho(t){return Te(this,t).get(t)}function go(t){return Te(this,t).has(t)}function vo(t,i){return Te(this,t).set(t,i),this}ie.prototype.clear=po,ie.prototype.delete=bo,ie.prototype.get=ho,ie.prototype.has=go,ie.prototype.set=vo;function ce(t){this.__data__=new q(t)}function yo(){this.__data__=new q}function ko(t){return this.__data__.delete(t)}function wo(t){return this.__data__.get(t)}function _o(t){return this.__data__.has(t)}function So(t,i){var l=this.__data__;if(l instanceof q){var b=l.__data__;if(!be||b.length<r-1)return b.push([t,i]),this;l=this.__data__=new ie(b)}return l.set(t,i),this}ce.prototype.clear=yo,ce.prototype.delete=ko,ce.prototype.get=wo,ce.prototype.has=_o,ce.prototype.set=So;function Co(t,i){var l=je(t)||Wo(t)?Zn(t.length,String):[],b=l.length,O=!!b;for(var L in t)(i||J.call(t,L))&&!(O&&(L=="length"||Ho(L,b)))&&l.push(L);return l}function _t(t,i,l){var b=t[i];(!(J.call(t,i)&&Nt(b,l))||l===void 0&&!(i in t))&&(t[i]=l)}function Ne(t,i){for(var l=t.length;l--;)if(Nt(t[l][0],i))return l;return-1}function Eo(t,i){return t&&St(i,Ke(i),t)}function Pe(t,i,l,b,O,L,K){var M;if(b&&(M=L?b(t,O,L,K):b(t)),M!==void 0)return M;if(!Be(t))return t;var It=je(t);if(It){if(M=Zo(t),!i)return Lo(t,M)}else{var le=ne(t),$t=le==T||le==C;if(Xo(t))return Oo(t,i);if(le==v||le==f||$t&&!L){if(ut(t))return L?t:{};if(M=jo($t?{}:t),!i)return Mo(t,Eo(M,t))}else{if(!g[le])return L?t:{};M=Ko(t,le,Pe,i)}}K||(K=new ce);var Ot=K.get(t);if(Ot)return Ot;if(K.set(t,M),!It)var At=l?Po(t):Ke(t);return Mn(At||t,function(He,Ie){At&&(Ie=He,He=t[Ie]),_t(M,Ie,Pe(He,i,l,b,Ie,t,K))}),M}function No(t){return Be(t)?Gn(t):{}}function To(t,i,l){var b=i(t);return je(t)?b:Pn(b,l(t))}function Bo(t){return Ee.call(t)}function Io(t){if(!Be(t)||Uo(t))return!1;var i=Bt(t)||ut(t)?zn:N;return i.test(oe(t))}function $o(t){if(!Et(t))return Yn(t);var i=[];for(var l in Object(t))J.call(t,l)&&l!="constructor"&&i.push(l);return i}function Oo(t,i){if(i)return t.slice();var l=new t.constructor(t.length);return t.copy(l),l}function Ze(t){var i=new t.constructor(t.byteLength);return new vt(i).set(new vt(t)),i}function Ao(t,i){var l=i?Ze(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.byteLength)}function Fo(t,i,l){var b=i?l(ft(t),!0):ft(t);return dt(b,pe,new t.constructor)}function xo(t){var i=new t.constructor(t.source,E.exec(t));return i.lastIndex=t.lastIndex,i}function Do(t,i,l){var b=i?l(mt(t),!0):mt(t);return dt(b,Ln,new t.constructor)}function Vo(t){return wt?Object(wt.call(t)):{}}function Ro(t,i){var l=i?Ze(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.length)}function Lo(t,i){var l=-1,b=t.length;for(i||(i=Array(b));++l<b;)i[l]=t[l];return i}function St(t,i,l,b){l||(l={});for(var O=-1,L=i.length;++O<L;){var K=i[O],M=b?b(l[K],t[K],K,l,t):void 0;_t(l,K,M===void 0?t[K]:M)}return l}function Mo(t,i){return St(t,Ct(t),i)}function Po(t){return To(t,Ke,Ct)}function Te(t,i){var l=t.__data__;return zo(i)?l[typeof i=="string"?"string":"hash"]:l.map}function se(t,i){var l=jn(t,i);return Io(l)?l:void 0}var Ct=yt?xe(yt,Object):Qo,ne=Bo;(Ve&&ne(new Ve(new ArrayBuffer(1)))!=V||be&&ne(new be)!=B||Re&&ne(Re.resolve())!=F||Le&&ne(new Le)!=I||Me&&ne(new Me)!=z)&&(ne=function(t){var i=Ee.call(t),l=i==v?t.constructor:void 0,b=l?oe(l):void 0;if(b)switch(b){case Jn:return V;case Qn:return B;case eo:return F;case to:return I;case ao:return z}return i});function Zo(t){var i=t.length,l=t.constructor(i);return i&&typeof t[0]=="string"&&J.call(t,"index")&&(l.index=t.index,l.input=t.input),l}function jo(t){return typeof t.constructor=="function"&&!Et(t)?No(Un(t)):{}}function Ko(t,i,l,b){var O=t.constructor;switch(i){case U:return Ze(t);case p:case h:return new O(+t);case V:return Ao(t,b);case P:case S:case x:case Z:case k:case s:case u:case m:case y:return Ro(t,b);case B:return Fo(t,b,l);case A:case G:return new O(t);case j:return xo(t);case I:return Do(t,b,l);case X:return Vo(t)}}function Ho(t,i){return i=i??d,!!i&&(typeof t=="number"||D.test(t))&&t>-1&&t%1==0&&t<i}function zo(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Uo(t){return!!pt&&pt in t}function Et(t){var i=t&&t.constructor,l=typeof i=="function"&&i.prototype||Ce;return t===l}function oe(t){if(t!=null){try{return bt.call(t)}catch{}try{return t+""}catch{}}return""}function Go(t){return Pe(t,!0,!0)}function Nt(t,i){return t===i||t!==t&&i!==i}function Wo(t){return qo(t)&&J.call(t,"callee")&&(!Wn.call(t,"callee")||Ee.call(t)==f)}var je=Array.isArray;function Tt(t){return t!=null&&Yo(t.length)&&!Bt(t)}function qo(t){return Jo(t)&&Tt(t)}var Xo=Xn||er;function Bt(t){var i=Be(t)?Ee.call(t):"";return i==T||i==C}function Yo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=d}function Be(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function Jo(t){return!!t&&typeof t=="object"}function Ke(t){return Tt(t)?Co(t):$o(t)}function Qo(){return[]}function er(){return!1}n.exports=Go}(Se,Se.exports);var on=Se.exports;const rn=nn(on),cn={key:0,class:"sidebar-header"},sn={class:"sidebar-content-container"},ln={key:0,class:"sidebar-top"},dn={"aria-label":"Main menu"},un={key:0,class:"level-primary top-items"},fn={key:1,class:"sidebar-level-divider",role:"separator"},mn={key:2,class:"level-primary bottom-items"},pn={class:"sidebar-footer"},ct=H(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:3},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(n,{emit:a}){e.useCssVars(s=>({"23c53c20":p.value.mobileHeight,"3460a0fc":p.value.mobileTop,"1cf2af88":n.zIndex,f1bfd3c4:p.value.height,83239084:p.value.top,"23dc8fdc":w.value.marginTop,"249a1c3a":h.value.display,"4fcba391":h.value.minHeight,"14e46dcd":T.value.top,"4aabd500":T.value.zIndex}));const r=a,o=n,d=e.useSlots(),f=e.computed(()=>!!d.header),c=e.computed(()=>!!d.top),p=e.computed(()=>({mobileTop:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:o.topOffset?`${o.topOffset}px`:"0",top:o.topOffset?`${o.topOffset}px`:"0",mobileHeight:o.mobileTopOffset&&o.mobileEnabled?`calc(100% - ${o.mobileTopOffset}px)`:"100%",height:o.topOffset?`calc(100% - ${o.topOffset}px)`:"100%"})),h=e.computed(()=>({display:!o.mobileHeaderVisible&&o.mobileEnabled?"none":"flex",minHeight:`${o.headerHeight}px`})),w=e.computed(()=>({marginTop:f.value?`${o.headerHeight}px`:"0"})),T=e.computed(()=>({top:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:"0",zIndex:o.mobileOverlayZIndex!==null?o.mobileOverlayZIndex:o.zIndex>1?o.zIndex-1:1})),C=s=>rn(s).map(m=>{var y,_,E;if(m){(!m.key||!((y=m.key)!=null&&y.trim()))&&(m.key=String(m.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!m.testId||!((_=m.testId)!=null&&_.trim()))&&(m.testId=String(m.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const N of m.items||[])N.parentKey=m.key,(!N.testId||!((E=N.testId)!=null&&E.trim()))&&(N.testId=String(N.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return m}),B=e.computed(()=>o.topItems.length?C(o.topItems):[]),A=e.computed(()=>o.bottomItems.length?C(o.bottomItems):[]),v=e.ref(o.open),F=s=>{var u,m;v.value!==s&&(v.value=s,r("toggle",s)),s?(u=document==null?void 0:document.body)==null||u.classList.add("kong-ui-app-sidebar-open"):(m=document==null?void 0:document.body)==null||m.classList.remove("kong-ui-app-sidebar-open"),I.value=!1},j=()=>{o.mobileOverlayCloseOnClick&&F(!1)},I=e.ref(!1),G=s=>{I.value=!0,r("click",s),setTimeout(()=>{F(!1)},o.mobileCloseDelay)};e.watch(()=>o.open,s=>{F(s)});const{debounce:X}=it(),z=X(()=>{v.value&&U.value!==(window==null?void 0:window.innerWidth)&&(U.value=window==null?void 0:window.innerWidth,F(!1))},200),U=e.ref(),V=e.ref(!1),P=e.ref(),S=()=>{V.value||(V.value=!0,clearTimeout(P.value),P.value=setTimeout(()=>V.value=!1,1300))},x=e.ref(null),Z=e.computed(()=>v.value&&o.mobileEnabled),k=async s=>{var u,m;s?(await e.nextTick(),await new Promise(y=>setTimeout(y,300)),(u=x.value)==null||u.activate()):(m=x.value)==null||m.deactivate()};return e.watch(Z,async s=>{s?await k(!0):await k(!1)},{immediate:!0}),e.onMounted(()=>{U.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",z),window.addEventListener("resize",S)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",z),window.removeEventListener("resize",S)}),(s,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[v.value&&n.mobileOverlay&&n.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:j})):e.createCommentVNode("",!0),e.createVNode(e.unref(an),{ref_key:"focusTrap",ref:x,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:e.withCtx(()=>[e.createElementVNode("aside",{class:e.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":v.value,"no-sidebar-header":!f.value,"mobile-header-hidden":n.mobileEnabled&&(!f.value||!n.mobileHeaderVisible),"mobile-disabled":!n.mobileEnabled,"disable-transitions":V.value}]),tabindex:"-1"},[f.value?(e.openBlock(),e.createElementBlock("div",cn,[e.renderSlot(s.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",sn,[c.value?(e.openBlock(),e.createElementBlock("div",ln,[e.renderSlot(s.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",dn,[B.value.length?(e.openBlock(),e.createElementBlock("ul",un,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,m=>(e.openBlock(),e.createBlock(Ge,{key:m.name,item:m,onClick:G},null,8,["item"]))),128))])):e.createCommentVNode("",!0),B.value.length&&A.value.length?(e.openBlock(),e.createElementBlock("div",fn)):e.createCommentVNode("",!0),A.value.length?(e.openBlock(),e.createElementBlock("ul",mn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,m=>(e.openBlock(),e.createBlock(Ge,{key:m.name,item:m,onClick:G},null,8,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",pn,[e.renderSlot(s.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),[["__scopeId","data-v-34c2833b"]]),Fe=n=>(e.pushScopeId("data-v-b411bcf5"),n=n(),e.popScopeId(),n),bn=["aria-label"],hn=[Fe(()=>e.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>e.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>e.createElementVNode("span",{class:"line"},null,-1))],st=H(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(n,{emit:a}){const r=a,o=n,d=e.ref(o.active||!1),f=c=>{c.preventDefault(),d.value=!d.value,r("toggle",d.value)};return e.watch(()=>o.active,c=>{d.value=c}),(c,p)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":d.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:d.value}]),href:"#",role:"button",onClick:e.withModifiers(f,["prevent"])},hn,10,bn))}}),[["__scopeId","data-v-b411bcf5"]]),gn=n=>(e.pushScopeId("data-v-7129ca7f"),n=n(),e.popScopeId(),n),vn={id:"kong-ui-app-layout-notification"},yn={class:"mobile-logo"},kn={key:0,class:"navbar-logo"},wn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},_n={class:"kong-ui-app-layout-content"},Sn={class:"kong-ui-app-layout-content-inner"},Cn=gn(()=>e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),lt=H(e.defineComponent({__name:"AppLayout",props:{hideDefaultSlot:{type:Boolean,default:!1},navbarHidden:{type:Boolean,default:!1},sidebarHidden:{type:Boolean,default:!1},sidebarOpen:{type:Boolean,default:!1},sidebarTopItems:{type:Array,default:()=>[]},sidebarBottomItems:{type:Array,default:()=>[]},theme:{type:String,default:"light",validator:n=>["light","dark"].includes(n)}},emits:["sidebar-click"],setup(n,{emit:a}){e.useCssVars(S=>({"328394ce":I.value,"42bdeb84":G.value,"31e8409c":j.value,"4fa4ed00":X.value,"4802d273":z.value}));const r=n,o=a,d=e.useSlots(),f=e.reactive({navbarLeft:e.computed(()=>!!d["navbar-left"]),navbarCenter:e.computed(()=>!!d["navbar-center"]),navbarRight:e.computed(()=>!!d["navbar-right"]),navbarLogo:e.computed(()=>!!d["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!d["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!d["sidebar-header"]),sidebarTop:e.computed(()=>!!d["sidebar-top"]),sidebarFooter:e.computed(()=>!!d["sidebar-footer"])}),c=e.computed(()=>r.hideDefaultSlot),p=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),h=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),w=S=>{o("sidebar-click",S)},T=e.ref(!1),C=S=>{T.value=S};e.watchEffect(()=>{T.value=e.toRef(h,"open").value||!1});const B=e.ref(0),A=e.ref(60),v=e.ref(0),F=e.computed(()=>p.hidden?v.value:A.value+v.value),j=e.computed(()=>r.theme==="light"?ga:va),I=e.computed(()=>r.theme==="light"?ba:ha),G=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),X=e.computed(()=>`${F.value}px`),z=e.computed(()=>h.hidden||p.hidden?ya:ka),{debounce:U}=it(),V=U((S=!1)=>{if(S||B.value!==(window==null?void 0:window.innerWidth)){B.value=window==null?void 0:window.innerWidth;const x=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");x&&(v.value=x.offsetHeight)}},200),P=e.ref();return e.onMounted(()=>{var x,Z;(x=document==null?void 0:document.body)==null||x.classList.add("kong-ui-app-layout-body"),(Z=document==null?void 0:document.documentElement)==null||Z.classList.add("kong-ui-app-layout-html"),B.value=window==null?void 0:window.innerWidth,V(!0);const S=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");S&&(P.value=new ResizeObserver(k=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(k)||!k.length))for(const s of k){const u=s.contentRect.height;v.value!==u&&(v.value=u)}})}),P.value.observe(S)),window.addEventListener("resize",V)}),e.onBeforeUnmount(()=>{P.value&&P.value.disconnect(),window.removeEventListener("resize",V)}),(S,x)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":p.hidden},{"sidebar-hidden":h.hidden}]])},[e.createElementVNode("div",vn,[e.renderSlot(S.$slots,"notification",{},void 0,!0)]),p.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ue,{key:String(h.hidden),"left-offset":h.hidden?0:void 0,"top-offset":v.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[h.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(st,{key:0,active:T.value,onToggle:C},null,8,["active"]))]),_:2},[f.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",yn,[e.renderSlot(S.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,f.navbarLogo?{name:"logo",fn:e.withCtx(()=>[h.hidden?(e.openBlock(),e.createElementBlock("div",kn,[e.renderSlot(S.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,f.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,f.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,f.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),h.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ct,{key:1,"bottom-items":h.bottomItems,"header-height":A.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":F.value,open:T.value,"top-items":h.topItems,"top-offset":v.value,onClick:w,onToggle:C},e.createSlots({_:2},[f.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,f.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,f.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(S.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",wn,[e.createElementVNode("div",_n,[e.createElementVNode("div",Sn,[Cn,e.renderSlot(S.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(S.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-7129ca7f"]]),En=n=>(e.pushScopeId("data-v-d7e33427"),n=n(),e.popScopeId(),n),Nn={class:"kong-ui-app-page-header"},Tn={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},Bn=En(()=>e.createElementVNode("span",{class:"page-header-breadcrumb-divider"},"/",-1)),In={class:"page-header-title-section"},$n={class:"page-header-title-wrapper"},On={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},An=["title"],Fn={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},xn={key:0,class:"page-header-actions","data-testid":"page-header-actions"},Dn={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},Vn=H(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,required:!0},breadcrumbs:{type:Array,default:()=>[]}},setup(n){const a=n,r=e.computed(()=>{var f;return!!((f=a.breadcrumbs)!=null&&f.length)}),o=(f,c)=>f.key||`breadcrumb-${c}`,d=e.computed(()=>a.breadcrumbs.map((f,c)=>`icon-${o(f,c)}`)||[]);return(f,c)=>{const p=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",Nn,[r.value?(e.openBlock(),e.createElementBlock("div",Tn,[e.createVNode(p,{items:n.breadcrumbs},e.createSlots({divider:e.withCtx(()=>[Bn]),_:2},[e.renderList(d.value,h=>({name:h,fn:e.withCtx(()=>[e.renderSlot(f.$slots,h,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",In,[e.createElementVNode("div",$n,[f.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",On,[e.renderSlot(f.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("h1",{class:"page-header-title","data-testid":"page-header-title",title:n.title},e.toDisplayString(n.title),9,An),f.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Fn,[e.renderSlot(f.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),f.$slots.actions?(e.openBlock(),e.createElementBlock("div",xn,[e.renderSlot(f.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),f.$slots.below?(e.openBlock(),e.createElementBlock("div",Dn,[e.renderSlot(f.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-d7e33427"]]),Rn={install:(n,a={})=>{n.component(a.name||"AppLayout",lt)}};R.AccountDropdown=xt,R.AppAboutSection=Gt,R.AppError=oa,R.AppLayout=lt,R.AppNavbar=Ue,R.AppPageHeader=Vn,R.AppSidebar=ct,R.SidebarToggle=st,R.default=Rn,Object.defineProperties(R,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
11
|
+
*/function cr(n){return n}const tn={escapeDeactivates:{type:Boolean,default:!0},returnFocusOnDeactivate:{type:Boolean,default:!0},allowOutsideClick:{type:[Boolean,Function],default:!0},clickOutsideDeactivates:[Boolean,Function],initialFocus:[String,Function,Boolean],fallbackFocus:[String,Function],checkCanFocusTrap:Function,checkCanReturnFocus:Function,delayInitialFocus:{type:Boolean,default:!0},document:Object,preventScroll:Boolean,setReturnFocus:[Object,String,Boolean,Function],tabbableOptions:Object},an=e.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},tn),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(n,{slots:a,emit:r}){let o;const d=e.ref(null),f=e.computed(()=>{const p=d.value;return p&&(p instanceof HTMLElement?p:p.$el)});function c(){return o||(o=en(f.value,{escapeDeactivates:n.escapeDeactivates,allowOutsideClick:n.allowOutsideClick,returnFocusOnDeactivate:n.returnFocusOnDeactivate,clickOutsideDeactivates:n.clickOutsideDeactivates,onActivate:()=>{r("update:active",!0),r("activate")},onDeactivate:()=>{r("update:active",!1),r("deactivate")},onPostActivate:()=>r("postActivate"),onPostDeactivate:()=>r("postDeactivate"),initialFocus:n.initialFocus,fallbackFocus:n.fallbackFocus,tabbableOptions:n.tabbableOptions,delayInitialFocus:n.delayInitialFocus,preventScroll:n.preventScroll}))}return e.onMounted(()=>{e.watch(()=>n.active,p=>{p&&f.value?c().activate():o&&(o.deactivate(),(!f.value||f.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),e.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){c().activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!a.default)return null;const p=a.default().filter(w=>w.type!==e.Comment);return!p||!p.length||p.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),p):e.cloneVNode(p[0],{ref:d})}}}});function it(){return{debounce:(a,r)=>{let o;return(...d)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{a(...d)},r)}}}}var Se=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nn(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var _e={exports:{}};_e.exports,function(n,a){var r=200,o="__lodash_hash_undefined__",d=9007199254740991,f="[object Arguments]",c="[object Array]",p="[object Boolean]",h="[object Date]",w="[object Error]",T="[object Function]",C="[object GeneratorFunction]",B="[object Map]",A="[object Number]",v="[object Object]",F="[object Promise]",j="[object RegExp]",I="[object Set]",G="[object String]",X="[object Symbol]",z="[object WeakMap]",U="[object ArrayBuffer]",V="[object DataView]",P="[object Float32Array]",_="[object Float64Array]",x="[object Int8Array]",Z="[object Int16Array]",k="[object Int32Array]",s="[object Uint8Array]",u="[object Uint8ClampedArray]",m="[object Uint16Array]",y="[object Uint32Array]",S=/[\\^$.*+?()[\]{}|]/g,E=/\w*$/,N=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,g={};g[f]=g[c]=g[U]=g[V]=g[p]=g[h]=g[P]=g[_]=g[x]=g[Z]=g[k]=g[B]=g[A]=g[v]=g[j]=g[I]=g[G]=g[X]=g[s]=g[u]=g[m]=g[y]=!0,g[w]=g[T]=g[z]=!1;var W=typeof Se=="object"&&Se&&Se.Object===Object&&Se,te=typeof self=="object"&&self&&self.Object===Object&&self,$=W||te||Function("return this")(),Y=a&&!a.nodeType&&a,fe=Y&&!0&&n&&!n.nodeType&&n,me=fe&&fe.exports===Y;function pe(t,i){return t.set(i[0],i[1]),t}function Ln(t,i){return t.add(i),t}function Mn(t,i){for(var l=-1,b=t?t.length:0;++l<b&&i(t[l],l,t)!==!1;);return t}function Pn(t,i){for(var l=-1,b=i.length,O=t.length;++l<b;)t[O+l]=i[l];return t}function dt(t,i,l,b){var O=-1,L=t?t.length:0;for(b&&L&&(l=t[++O]);++O<L;)l=i(l,t[O],O,t);return l}function Zn(t,i){for(var l=-1,b=Array(t);++l<t;)b[l]=i(l);return b}function jn(t,i){return t==null?void 0:t[i]}function ut(t){var i=!1;if(t!=null&&typeof t.toString!="function")try{i=!!(t+"")}catch{}return i}function ft(t){var i=-1,l=Array(t.size);return t.forEach(function(b,O){l[++i]=[O,b]}),l}function xe(t,i){return function(l){return t(i(l))}}function mt(t){var i=-1,l=Array(t.size);return t.forEach(function(b){l[++i]=b}),l}var Kn=Array.prototype,Hn=Function.prototype,Ce=Object.prototype,De=$["__core-js_shared__"],pt=function(){var t=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),bt=Hn.toString,J=Ce.hasOwnProperty,Ee=Ce.toString,zn=RegExp("^"+bt.call(J).replace(S,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ht=me?$.Buffer:void 0,gt=$.Symbol,vt=$.Uint8Array,Un=xe(Object.getPrototypeOf,Object),Gn=Object.create,Wn=Ce.propertyIsEnumerable,qn=Kn.splice,yt=Object.getOwnPropertySymbols,Xn=ht?ht.isBuffer:void 0,Yn=xe(Object.keys,Object),Ve=se($,"DataView"),be=se($,"Map"),Re=se($,"Promise"),Le=se($,"Set"),Me=se($,"WeakMap"),he=se(Object,"create"),Jn=oe(Ve),Qn=oe(be),eo=oe(Re),to=oe(Le),ao=oe(Me),kt=gt?gt.prototype:void 0,wt=kt?kt.valueOf:void 0;function ae(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var b=t[i];this.set(b[0],b[1])}}function no(){this.__data__=he?he(null):{}}function oo(t){return this.has(t)&&delete this.__data__[t]}function ro(t){var i=this.__data__;if(he){var l=i[t];return l===o?void 0:l}return J.call(i,t)?i[t]:void 0}function io(t){var i=this.__data__;return he?i[t]!==void 0:J.call(i,t)}function co(t,i){var l=this.__data__;return l[t]=he&&i===void 0?o:i,this}ae.prototype.clear=no,ae.prototype.delete=oo,ae.prototype.get=ro,ae.prototype.has=io,ae.prototype.set=co;function q(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var b=t[i];this.set(b[0],b[1])}}function so(){this.__data__=[]}function lo(t){var i=this.__data__,l=Ne(i,t);if(l<0)return!1;var b=i.length-1;return l==b?i.pop():qn.call(i,l,1),!0}function uo(t){var i=this.__data__,l=Ne(i,t);return l<0?void 0:i[l][1]}function fo(t){return Ne(this.__data__,t)>-1}function mo(t,i){var l=this.__data__,b=Ne(l,t);return b<0?l.push([t,i]):l[b][1]=i,this}q.prototype.clear=so,q.prototype.delete=lo,q.prototype.get=uo,q.prototype.has=fo,q.prototype.set=mo;function ie(t){var i=-1,l=t?t.length:0;for(this.clear();++i<l;){var b=t[i];this.set(b[0],b[1])}}function po(){this.__data__={hash:new ae,map:new(be||q),string:new ae}}function bo(t){return Te(this,t).delete(t)}function ho(t){return Te(this,t).get(t)}function go(t){return Te(this,t).has(t)}function vo(t,i){return Te(this,t).set(t,i),this}ie.prototype.clear=po,ie.prototype.delete=bo,ie.prototype.get=ho,ie.prototype.has=go,ie.prototype.set=vo;function ce(t){this.__data__=new q(t)}function yo(){this.__data__=new q}function ko(t){return this.__data__.delete(t)}function wo(t){return this.__data__.get(t)}function So(t){return this.__data__.has(t)}function _o(t,i){var l=this.__data__;if(l instanceof q){var b=l.__data__;if(!be||b.length<r-1)return b.push([t,i]),this;l=this.__data__=new ie(b)}return l.set(t,i),this}ce.prototype.clear=yo,ce.prototype.delete=ko,ce.prototype.get=wo,ce.prototype.has=So,ce.prototype.set=_o;function Co(t,i){var l=je(t)||Wo(t)?Zn(t.length,String):[],b=l.length,O=!!b;for(var L in t)(i||J.call(t,L))&&!(O&&(L=="length"||Ho(L,b)))&&l.push(L);return l}function St(t,i,l){var b=t[i];(!(J.call(t,i)&&Nt(b,l))||l===void 0&&!(i in t))&&(t[i]=l)}function Ne(t,i){for(var l=t.length;l--;)if(Nt(t[l][0],i))return l;return-1}function Eo(t,i){return t&&_t(i,Ke(i),t)}function Pe(t,i,l,b,O,L,K){var M;if(b&&(M=L?b(t,O,L,K):b(t)),M!==void 0)return M;if(!Be(t))return t;var It=je(t);if(It){if(M=Zo(t),!i)return Lo(t,M)}else{var le=ne(t),$t=le==T||le==C;if(Xo(t))return Oo(t,i);if(le==v||le==f||$t&&!L){if(ut(t))return L?t:{};if(M=jo($t?{}:t),!i)return Mo(t,Eo(M,t))}else{if(!g[le])return L?t:{};M=Ko(t,le,Pe,i)}}K||(K=new ce);var Ot=K.get(t);if(Ot)return Ot;if(K.set(t,M),!It)var At=l?Po(t):Ke(t);return Mn(At||t,function(He,Ie){At&&(Ie=He,He=t[Ie]),St(M,Ie,Pe(He,i,l,b,Ie,t,K))}),M}function No(t){return Be(t)?Gn(t):{}}function To(t,i,l){var b=i(t);return je(t)?b:Pn(b,l(t))}function Bo(t){return Ee.call(t)}function Io(t){if(!Be(t)||Uo(t))return!1;var i=Bt(t)||ut(t)?zn:N;return i.test(oe(t))}function $o(t){if(!Et(t))return Yn(t);var i=[];for(var l in Object(t))J.call(t,l)&&l!="constructor"&&i.push(l);return i}function Oo(t,i){if(i)return t.slice();var l=new t.constructor(t.length);return t.copy(l),l}function Ze(t){var i=new t.constructor(t.byteLength);return new vt(i).set(new vt(t)),i}function Ao(t,i){var l=i?Ze(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.byteLength)}function Fo(t,i,l){var b=i?l(ft(t),!0):ft(t);return dt(b,pe,new t.constructor)}function xo(t){var i=new t.constructor(t.source,E.exec(t));return i.lastIndex=t.lastIndex,i}function Do(t,i,l){var b=i?l(mt(t),!0):mt(t);return dt(b,Ln,new t.constructor)}function Vo(t){return wt?Object(wt.call(t)):{}}function Ro(t,i){var l=i?Ze(t.buffer):t.buffer;return new t.constructor(l,t.byteOffset,t.length)}function Lo(t,i){var l=-1,b=t.length;for(i||(i=Array(b));++l<b;)i[l]=t[l];return i}function _t(t,i,l,b){l||(l={});for(var O=-1,L=i.length;++O<L;){var K=i[O],M=b?b(l[K],t[K],K,l,t):void 0;St(l,K,M===void 0?t[K]:M)}return l}function Mo(t,i){return _t(t,Ct(t),i)}function Po(t){return To(t,Ke,Ct)}function Te(t,i){var l=t.__data__;return zo(i)?l[typeof i=="string"?"string":"hash"]:l.map}function se(t,i){var l=jn(t,i);return Io(l)?l:void 0}var Ct=yt?xe(yt,Object):Qo,ne=Bo;(Ve&&ne(new Ve(new ArrayBuffer(1)))!=V||be&&ne(new be)!=B||Re&&ne(Re.resolve())!=F||Le&&ne(new Le)!=I||Me&&ne(new Me)!=z)&&(ne=function(t){var i=Ee.call(t),l=i==v?t.constructor:void 0,b=l?oe(l):void 0;if(b)switch(b){case Jn:return V;case Qn:return B;case eo:return F;case to:return I;case ao:return z}return i});function Zo(t){var i=t.length,l=t.constructor(i);return i&&typeof t[0]=="string"&&J.call(t,"index")&&(l.index=t.index,l.input=t.input),l}function jo(t){return typeof t.constructor=="function"&&!Et(t)?No(Un(t)):{}}function Ko(t,i,l,b){var O=t.constructor;switch(i){case U:return Ze(t);case p:case h:return new O(+t);case V:return Ao(t,b);case P:case _:case x:case Z:case k:case s:case u:case m:case y:return Ro(t,b);case B:return Fo(t,b,l);case A:case G:return new O(t);case j:return xo(t);case I:return Do(t,b,l);case X:return Vo(t)}}function Ho(t,i){return i=i??d,!!i&&(typeof t=="number"||D.test(t))&&t>-1&&t%1==0&&t<i}function zo(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Uo(t){return!!pt&&pt in t}function Et(t){var i=t&&t.constructor,l=typeof i=="function"&&i.prototype||Ce;return t===l}function oe(t){if(t!=null){try{return bt.call(t)}catch{}try{return t+""}catch{}}return""}function Go(t){return Pe(t,!0,!0)}function Nt(t,i){return t===i||t!==t&&i!==i}function Wo(t){return qo(t)&&J.call(t,"callee")&&(!Wn.call(t,"callee")||Ee.call(t)==f)}var je=Array.isArray;function Tt(t){return t!=null&&Yo(t.length)&&!Bt(t)}function qo(t){return Jo(t)&&Tt(t)}var Xo=Xn||er;function Bt(t){var i=Be(t)?Ee.call(t):"";return i==T||i==C}function Yo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=d}function Be(t){var i=typeof t;return!!t&&(i=="object"||i=="function")}function Jo(t){return!!t&&typeof t=="object"}function Ke(t){return Tt(t)?Co(t):$o(t)}function Qo(){return[]}function er(){return!1}n.exports=Go}(_e,_e.exports);var on=_e.exports;const rn=nn(on),cn={key:0,class:"sidebar-header"},sn={class:"sidebar-content-container"},ln={key:0,class:"sidebar-top"},dn={"aria-label":"Main menu"},un={key:0,class:"level-primary top-items"},fn={key:1,class:"sidebar-level-divider",role:"separator"},mn={key:2,class:"level-primary bottom-items"},pn={class:"sidebar-footer"},ct=H(e.defineComponent({__name:"AppSidebar",props:{topItems:{type:Array,default:()=>[]},bottomItems:{type:Array,default:()=>[]},headerHeight:{type:Number,default:60},topOffset:{type:Number,default:0},zIndex:{type:Number,default:3},open:{type:Boolean,default:!1},mobileEnabled:{type:Boolean,default:!1},mobileTopOffset:{type:Number,default:0},mobileHeaderVisible:{type:Boolean,default:!1},mobileCloseDelay:{type:Number,default:350},mobileOverlay:{type:Boolean,default:!0},mobileOverlayZIndex:{type:Number,default:null},mobileOverlayCloseOnClick:{type:Boolean,default:!0}},emits:["click","toggle"],setup(n,{emit:a}){e.useCssVars(s=>({"23c53c20":p.value.mobileHeight,"3460a0fc":p.value.mobileTop,"1cf2af88":n.zIndex,f1bfd3c4:p.value.height,83239084:p.value.top,"23dc8fdc":w.value.marginTop,"249a1c3a":h.value.display,"4fcba391":h.value.minHeight,"14e46dcd":T.value.top,"4aabd500":T.value.zIndex}));const r=a,o=n,d=e.useSlots(),f=e.computed(()=>!!d.header),c=e.computed(()=>!!d.top),p=e.computed(()=>({mobileTop:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:o.topOffset?`${o.topOffset}px`:"0",top:o.topOffset?`${o.topOffset}px`:"0",mobileHeight:o.mobileTopOffset&&o.mobileEnabled?`calc(100% - ${o.mobileTopOffset}px)`:"100%",height:o.topOffset?`calc(100% - ${o.topOffset}px)`:"100%"})),h=e.computed(()=>({display:!o.mobileHeaderVisible&&o.mobileEnabled?"none":"flex",minHeight:`${o.headerHeight}px`})),w=e.computed(()=>({marginTop:f.value?`${o.headerHeight}px`:"0"})),T=e.computed(()=>({top:o.mobileTopOffset&&o.mobileEnabled?`${o.mobileTopOffset}px`:"0",zIndex:o.mobileOverlayZIndex!==null?o.mobileOverlayZIndex:o.zIndex>1?o.zIndex-1:1})),C=s=>rn(s).map(m=>{var y,S,E;if(m){(!m.key||!((y=m.key)!=null&&y.trim()))&&(m.key=String(m.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!m.testId||!((S=m.testId)!=null&&S.trim()))&&(m.testId=String(m.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const N of m.items||[])N.parentKey=m.key,(!N.testId||!((E=N.testId)!=null&&E.trim()))&&(N.testId=String(N.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return m}),B=e.computed(()=>o.topItems.length?C(o.topItems):[]),A=e.computed(()=>o.bottomItems.length?C(o.bottomItems):[]),v=e.ref(o.open),F=s=>{var u,m;v.value!==s&&(v.value=s,r("toggle",s)),s?(u=document==null?void 0:document.body)==null||u.classList.add("kong-ui-app-sidebar-open"):(m=document==null?void 0:document.body)==null||m.classList.remove("kong-ui-app-sidebar-open"),I.value=!1},j=()=>{o.mobileOverlayCloseOnClick&&F(!1)},I=e.ref(!1),G=s=>{I.value=!0,r("click",s),setTimeout(()=>{F(!1)},o.mobileCloseDelay)};e.watch(()=>o.open,s=>{F(s)});const{debounce:X}=it(),z=X(()=>{v.value&&U.value!==(window==null?void 0:window.innerWidth)&&(U.value=window==null?void 0:window.innerWidth,F(!1))},200),U=e.ref(),V=e.ref(!1),P=e.ref(),_=()=>{V.value||(V.value=!0,clearTimeout(P.value),P.value=setTimeout(()=>V.value=!1,1300))},x=e.ref(null),Z=e.computed(()=>v.value&&o.mobileEnabled),k=async s=>{var u,m;s?(await e.nextTick(),await new Promise(y=>setTimeout(y,300)),(u=x.value)==null||u.activate()):(m=x.value)==null||m.deactivate()};return e.watch(Z,async s=>{s?await k(!0):await k(!1)},{immediate:!0}),e.onMounted(()=>{U.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",z),window.addEventListener("resize",_)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",z),window.removeEventListener("resize",_)}),(s,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[v.value&&n.mobileOverlay&&n.mobileEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:j})):e.createCommentVNode("",!0),e.createVNode(e.unref(an),{ref_key:"focusTrap",ref:x,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:e.withCtx(()=>[e.createElementVNode("aside",{class:e.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":v.value,"no-sidebar-header":!f.value,"mobile-header-hidden":n.mobileEnabled&&(!f.value||!n.mobileHeaderVisible),"mobile-disabled":!n.mobileEnabled,"disable-transitions":V.value}]),tabindex:"-1"},[f.value?(e.openBlock(),e.createElementBlock("div",cn,[e.renderSlot(s.$slots,"header",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",sn,[c.value?(e.openBlock(),e.createElementBlock("div",ln,[e.renderSlot(s.$slots,"top",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("nav",dn,[B.value.length?(e.openBlock(),e.createElementBlock("ul",un,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,m=>(e.openBlock(),e.createBlock(Ge,{key:m.name,item:m,onClick:G},null,8,["item"]))),128))])):e.createCommentVNode("",!0),B.value.length&&A.value.length?(e.openBlock(),e.createElementBlock("div",fn)):e.createCommentVNode("",!0),A.value.length?(e.openBlock(),e.createElementBlock("ul",mn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(A.value,m=>(e.openBlock(),e.createBlock(Ge,{key:m.name,item:m,onClick:G},null,8,["item"]))),128))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",pn,[e.renderSlot(s.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),[["__scopeId","data-v-34c2833b"]]),Fe=n=>(e.pushScopeId("data-v-b411bcf5"),n=n(),e.popScopeId(),n),bn=["aria-label"],hn=[Fe(()=>e.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>e.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>e.createElementVNode("span",{class:"line"},null,-1))],st=H(e.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(n,{emit:a}){const r=a,o=n,d=e.ref(o.active||!1),f=c=>{c.preventDefault(),d.value=!d.value,r("toggle",d.value)};return e.watch(()=>o.active,c=>{d.value=c}),(c,p)=>(e.openBlock(),e.createElementBlock("a",{"aria-haspopup":"true","aria-label":d.value?"Close Main Menu":"Open Main Menu",class:e.normalizeClass(["sidebar-menu-toggle",{active:d.value}]),href:"#",role:"button",onClick:e.withModifiers(f,["prevent"])},hn,10,bn))}}),[["__scopeId","data-v-b411bcf5"]]),gn=n=>(e.pushScopeId("data-v-7129ca7f"),n=n(),e.popScopeId(),n),vn={id:"kong-ui-app-layout-notification"},yn={class:"mobile-logo"},kn={key:0,class:"navbar-logo"},wn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},Sn={class:"kong-ui-app-layout-content"},_n={class:"kong-ui-app-layout-content-inner"},Cn=gn(()=>e.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),lt=H(e.defineComponent({__name:"AppLayout",props:{hideDefaultSlot:{type:Boolean,default:!1},navbarHidden:{type:Boolean,default:!1},sidebarHidden:{type:Boolean,default:!1},sidebarOpen:{type:Boolean,default:!1},sidebarTopItems:{type:Array,default:()=>[]},sidebarBottomItems:{type:Array,default:()=>[]},theme:{type:String,default:"light",validator:n=>["light","dark"].includes(n)}},emits:["sidebar-click"],setup(n,{emit:a}){e.useCssVars(_=>({"328394ce":I.value,"42bdeb84":G.value,"31e8409c":j.value,"4fa4ed00":X.value,"4802d273":z.value}));const r=n,o=a,d=e.useSlots(),f=e.reactive({navbarLeft:e.computed(()=>!!d["navbar-left"]),navbarCenter:e.computed(()=>!!d["navbar-center"]),navbarRight:e.computed(()=>!!d["navbar-right"]),navbarLogo:e.computed(()=>!!d["navbar-logo"]),navbarMobileLogo:e.computed(()=>!!d["navbar-mobile-logo"]),sidebarHeader:e.computed(()=>!!d["sidebar-header"]),sidebarTop:e.computed(()=>!!d["sidebar-top"]),sidebarFooter:e.computed(()=>!!d["sidebar-footer"])}),c=e.computed(()=>r.hideDefaultSlot),p=e.reactive({hidden:e.computed(()=>r.navbarHidden)}),h=e.reactive({topItems:e.computed(()=>r.sidebarTopItems),bottomItems:e.computed(()=>r.sidebarBottomItems),open:e.computed(()=>r.sidebarOpen),hidden:e.computed(()=>r.sidebarHidden)}),w=_=>{o("sidebar-click",_)},T=e.ref(!1),C=_=>{T.value=_};e.watchEffect(()=>{T.value=e.toRef(h,"open").value||!1});const B=e.ref(0),A=e.ref(60),v=e.ref(0),F=e.computed(()=>p.hidden?v.value:A.value+v.value),j=e.computed(()=>r.theme==="light"?ga:va),I=e.computed(()=>r.theme==="light"?ba:ha),G=e.computed(()=>r.theme==="light"?"var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)":"none"),X=e.computed(()=>`${F.value}px`),z=e.computed(()=>h.hidden||p.hidden?ya:ka),{debounce:U}=it(),V=U((_=!1)=>{if(_||B.value!==(window==null?void 0:window.innerWidth)){B.value=window==null?void 0:window.innerWidth;const x=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");x&&(v.value=x.offsetHeight)}},200),P=e.ref();return e.onMounted(()=>{var x,Z;(x=document==null?void 0:document.body)==null||x.classList.add("kong-ui-app-layout-body"),(Z=document==null?void 0:document.documentElement)==null||Z.classList.add("kong-ui-app-layout-html"),B.value=window==null?void 0:window.innerWidth,V(!0);const _=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");_&&(P.value=new ResizeObserver(k=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(k)||!k.length))for(const s of k){const u=s.contentRect.height;v.value!==u&&(v.value=u)}})}),P.value.observe(_)),window.addEventListener("resize",V)}),e.onBeforeUnmount(()=>{P.value&&P.value.disconnect(),window.removeEventListener("resize",V)}),(_,x)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":p.hidden},{"sidebar-hidden":h.hidden}]])},[e.createElementVNode("div",vn,[e.renderSlot(_.$slots,"notification",{},void 0,!0)]),p.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ue,{key:String(h.hidden),"left-offset":h.hidden?0:void 0,"top-offset":v.value},e.createSlots({"mobile-sidebar-toggle":e.withCtx(()=>[h.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(st,{key:0,active:T.value,onToggle:C},null,8,["active"]))]),_:2},[f.navbarMobileLogo?{name:"mobile-logo",fn:e.withCtx(()=>[e.createElementVNode("div",yn,[e.renderSlot(_.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,f.navbarLogo?{name:"logo",fn:e.withCtx(()=>[h.hidden?(e.openBlock(),e.createElementBlock("div",kn,[e.renderSlot(_.$slots,"navbar-logo",{},void 0,!0)])):e.createCommentVNode("",!0)]),key:"1"}:void 0,f.navbarLeft?{name:"left",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,f.navbarCenter?{name:"center",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,f.navbarRight?{name:"right",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),h.hidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ct,{key:1,"bottom-items":h.bottomItems,"header-height":A.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":F.value,open:T.value,"top-items":h.topItems,"top-offset":v.value,onClick:w,onToggle:C},e.createSlots({_:2},[f.sidebarHeader?{name:"header",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,f.sidebarTop?{name:"top",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,f.sidebarFooter?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),e.createElementVNode("main",wn,[e.createElementVNode("div",Sn,[e.createElementVNode("div",_n,[Cn,e.renderSlot(_.$slots,"app-error",{},void 0,!0),c.value?e.createCommentVNode("",!0):e.renderSlot(_.$slots,"default",{key:0},void 0,!0)])])])],2))}}),[["__scopeId","data-v-7129ca7f"]]),En=n=>(e.pushScopeId("data-v-d7e33427"),n=n(),e.popScopeId(),n),Nn={class:"kong-ui-app-page-header"},Tn={key:0,class:"page-header-breadcrumbs","data-testid":"page-header-breadcrumbs"},Bn=En(()=>e.createElementVNode("span",{class:"page-header-breadcrumb-divider"},"/",-1)),In={class:"page-header-title-section"},$n={class:"page-header-title-wrapper"},On={key:0,class:"page-header-title-before","data-testid":"page-header-title-before"},An=["title"],Fn={key:1,class:"page-header-title-after","data-testid":"page-header-title-after"},xn={key:0,class:"page-header-actions","data-testid":"page-header-actions"},Dn={key:1,class:"page-header-section-below","data-testid":"page-header-section-below"},Vn=H(e.defineComponent({__name:"AppPageHeader",props:{title:{type:String,required:!0},breadcrumbs:{type:Array,default:()=>[]}},setup(n){const a=n,r=e.computed(()=>{var f;return!!((f=a.breadcrumbs)!=null&&f.length)}),o=(f,c)=>f.key||`breadcrumb-${c}`,d=e.computed(()=>a.breadcrumbs.map((f,c)=>`icon-${o(f,c)}`)||[]);return(f,c)=>{const p=e.resolveComponent("KBreadcrumbs");return e.openBlock(),e.createElementBlock("div",Nn,[r.value?(e.openBlock(),e.createElementBlock("div",Tn,[e.createVNode(p,{items:n.breadcrumbs},e.createSlots({divider:e.withCtx(()=>[Bn]),_:2},[e.renderList(d.value,h=>({name:h,fn:e.withCtx(()=>[e.renderSlot(f.$slots,h,{},void 0,!0)])}))]),1032,["items"])])):e.createCommentVNode("",!0),e.createElementVNode("div",In,[e.createElementVNode("div",$n,[f.$slots["title-before"]?(e.openBlock(),e.createElementBlock("div",On,[e.renderSlot(f.$slots,"title-before",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("h1",{class:"page-header-title","data-testid":"page-header-title",title:n.title},e.toDisplayString(n.title),9,An),f.$slots["title-after"]?(e.openBlock(),e.createElementBlock("div",Fn,[e.renderSlot(f.$slots,"title-after",{},void 0,!0)])):e.createCommentVNode("",!0)]),f.$slots.actions?(e.openBlock(),e.createElementBlock("div",xn,[e.renderSlot(f.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),f.$slots.below?(e.openBlock(),e.createElementBlock("div",Dn,[e.renderSlot(f.$slots,"below",{},void 0,!0)])):e.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-d7e33427"]]),Rn={install:(n,a={})=>{n.component(a.name||"AppLayout",lt)}};R.AccountDropdown=xt,R.AppAboutSection=Gt,R.AppError=oa,R.AppLayout=lt,R.AppNavbar=Ue,R.AppPageHeader=Vn,R.AppSidebar=ct,R.SidebarToggle=st,R.default=Rn,Object.defineProperties(R,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.account-dropdown[data-v-7bab0343]{display:flex;margin-right:4px}.account-dropdown[data-v-7bab0343] .k-button.primary,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled){background-color:#9396fc;background-color:var(--kong-ui-account-dropdown-background, #9396FC);border-radius:100px;color:#000933;color:var(--kong-ui-account-dropdown-color, #000933);font-size:12px;height:24px;justify-content:center;padding:0;-webkit-user-select:none;user-select:none;width:24px}.account-dropdown[data-v-7bab0343] .k-button.primary:hover,.account-dropdown[data-v-7bab0343] .k-button.primary:focus,.account-dropdown[data-v-7bab0343] .k-button.primary:active,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled):hover,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled):focus,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled):active{background-color:#9396fc!important;background-color:var(--kong-ui-account-dropdown-background, #9396FC)!important}.account-dropdown[data-v-7bab0343] .k-button.primary:focus-visible,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled):focus-visible{border-radius:100px;outline:1px solid #bee2ff!important;outline-offset:2px}.account-dropdown[data-v-7bab0343] .k-dropdown-popover{top:11px!important}.kong-ui-app-about-section .about-section-title[data-v-d01c666d]{color:#000933;font-size:16px;font-weight:700;letter-spacing:-.24px;line-height:20px}.kong-ui-app-about-section .about-section-header-end[data-v-d01c666d]{display:flex}.kong-ui-app-about-section .about-section-header-end .about-section-timestamps[data-v-d01c666d]{align-self:center;color:#6c7489;flex-direction:column;font-size:12px;line-height:16px;margin-bottom:12px}@media (min-width: 768px){.kong-ui-app-about-section .about-section-header-end .about-section-timestamps[data-v-d01c666d]{flex-direction:row;margin-bottom:0}}.kong-ui-app-about-section .about-section-header-end .about-section-timestamps.has-actions[data-v-d01c666d]{margin-right:16px}.kong-ui-app-about-section .about-section-header-end .about-section-timestamps .about-section-timestamps-arrow[data-v-d01c666d]{line-height:20px;margin-left:8px;margin-right:8px}.kong-ui-app-about-section .about-section-description[data-v-d01c666d]{color:#000933;font-size:14px;line-height:20px;margin-bottom:20px;margin-top:0}.kong-ui-app-about-section .about-section-content[data-v-d01c666d]{align-items:flex-start;align-self:stretch;color:#6c7489;column-gap:20px;display:flex;flex-wrap:wrap;font-size:14px;line-height:20px;padding:0;row-gap:6px}.kong-ui-app-about-section .about-divider-section[data-v-d01c666d]{color:#6c7489;display:flex;flex-direction:column;flex-wrap:wrap;font-size:14px;line-height:20px;row-gap:12px}.kong-ui-app-about-section[data-v-d01c666d] hr,.kong-ui-app-about-section hr[data-v-d01c666d]{background-color:#e0e4ea;border:none;height:1px;margin:0;width:100%}.kong-ui-app-about-section hr[data-v-d01c666d]{margin-bottom:12px;margin-top:12px}.kong-ui-app-about-section.kong-card.border{border-radius:4px;padding:20px}.kong-ui-app-about-section.kong-card.border .k-card-header{align-items:baseline;margin-bottom:0!important}@media (max-width: 768px){.kong-ui-app-about-section.kong-card.border .k-card-header{flex-direction:column}.kong-ui-app-about-section.kong-card.border .k-card-header .k-card-actions{margin-left:unset}}.kong-ui-app-error[data-v-5cbccc66]{align-items:center;background-color:#fff;border-top:2px solid #00abd2;display:flex;flex-direction:column;margin:32px auto 0;padding-bottom:48px;width:100%}@media (min-width: 640px){.kong-ui-app-error[data-v-5cbccc66]{width:80%}}@media (min-width: 1024px){.kong-ui-app-error[data-v-5cbccc66]{max-width:840px}}.kong-ui-app-error .banana-icon[data-v-5cbccc66]{animation-delay:.75s;margin:32px auto 24px}.kong-ui-app-error .kong-ui-app-error-content[data-v-5cbccc66]{animation:.75s cubic-bezier(.785,.135,.15,.86) forwards fadeIn-5cbccc66;opacity:0;padding:0 16px}@media (min-width: 768px){.kong-ui-app-error .kong-ui-app-error-content[data-v-5cbccc66]{padding:0 32px}}@media (prefers-reduced-motion){.kong-ui-app-error .kong-ui-app-error-content[data-v-5cbccc66]{animation:none;opacity:1}}@keyframes fadeIn-5cbccc66{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.kong-ui-app-error .kong-ui-app-error-content{color:#6c7489;font-size:16px;text-align:center}.kong-ui-app-error .kong-ui-app-error-content h1,.kong-ui-app-error .kong-ui-app-error-content h2,.kong-ui-app-error .kong-ui-app-error-content h3,.kong-ui-app-error .kong-ui-app-error-content h4{color:#000933;font-size:32px;font-weight:600;margin-bottom:16px;margin-top:0}.kong-ui-app-navbar[data-v-beca6ea9]{background:#000933;background:var(--kong-ui-app-navbar-background, #000933);left:0;position:fixed;right:0;top:var(--d96d0598);z-index:var(--05b18f8e)}@media (min-width: 1024px){.kong-ui-app-navbar[data-v-beca6ea9]{left:var(--543b3ff0)}}.kong-ui-app-navbar .header-content[data-v-beca6ea9]{align-items:center;display:flex;height:60px;justify-content:space-between;padding:0 16px}.kong-ui-app-navbar .app-navbar-logo[data-v-beca6ea9]{align-items:center;display:flex;height:100%;justify-content:flex-start;margin-right:var(--247c8fd0);max-width:var(--278e63f0);min-width:var(--278e63f0);padding-left:16px}.kong-ui-app-navbar .mobile-header-left[data-v-beca6ea9]{display:inline-flex;gap:16px}@media (min-width: 1024px){.kong-ui-app-navbar .mobile-header-left[data-v-beca6ea9]{display:none}}.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9],.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s]{align-items:center;display:flex;height:100%}.kong-ui-app-navbar .app-navbar-links a[data-v-beca6ea9],.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links a,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s] a{align-items:center;align-self:stretch;border-bottom:4px solid transparent;color:#fff;display:flex;font-size:14px;font-weight:500;padding:0 8px;text-decoration:none;transition:all .2s ease-in-out;white-space:nowrap}@media (min-width: 768px){.kong-ui-app-navbar .app-navbar-links a[data-v-beca6ea9],.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links a,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s] a{font-size:16px;padding:0 16px}}.kong-ui-app-navbar .app-navbar-links a.router-link-active[data-v-beca6ea9],.kong-ui-app-navbar .app-navbar-links a.active[data-v-beca6ea9],.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links a.router-link-active,.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links a.active,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s] a.router-link-active,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s] a.active{border-color:#84e5ae;font-weight:600!important}.kong-ui-app-navbar .navbar-content[data-v-beca6ea9]{align-items:center;display:flex;flex-direction:row;gap:8px;height:100%;justify-content:space-between;width:100%}@media (min-width: 768px){.kong-ui-app-navbar .navbar-content[data-v-beca6ea9]{gap:16px}}.kong-ui-app-navbar .navbar-content-left[data-v-beca6ea9],.kong-ui-app-navbar .navbar-content-center[data-v-beca6ea9],.kong-ui-app-navbar .navbar-content-right[data-v-beca6ea9]{align-items:center;display:flex;flex:1;gap:16px;height:100%}.kong-ui-app-navbar .navbar-content-left[data-v-beca6ea9]{justify-content:flex-start}.kong-ui-app-navbar .navbar-content-center[data-v-beca6ea9]{justify-content:center}.kong-ui-app-navbar .navbar-content-right[data-v-beca6ea9]{justify-content:flex-end}.item-badge[data-v-912b1a1b]{background-color:#d60027;border-radius:16px;color:#fff;font-size:12px;font-weight:500;line-height:16px;max-width:36px;overflow:hidden;padding:2px 6px;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;white-space:nowrap}.kong-ui-app-sidebar .sidebar-item-primary,.kong-ui-app-sidebar .sidebar-item-secondary{cursor:pointer;display:flex;flex-direction:column;position:relative;white-space:nowrap}.kong-ui-app-sidebar .sidebar-item-primary:last-of-type,.kong-ui-app-sidebar .sidebar-item-secondary:last-of-type{margin-bottom:0}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link{align-items:center;color:#bee2ff;cursor:pointer;display:flex;font-size:14px;font-weight:500;justify-content:space-between;line-height:20px;min-height:48px;text-decoration:none;transition:color .2s ease-out}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link svg:not(.profile-icon) path,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link svg:not(.profile-icon) path{color:currentColor;fill:currentColor;transition:all .2s ease-out}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:focus-visible,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:focus-visible{color:#eefaff!important}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:focus-visible svg,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:focus-visible svg{color:#eefaff}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:focus-visible,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:focus-visible{box-shadow:0 0 0 1px #fff9 inset;outline:none}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link .sidebar-item-tooltip,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link .sidebar-item-tooltip{align-items:center;display:flex;height:100%}.kong-ui-app-sidebar .sidebar-item-primary.active>a,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a,.kong-ui-app-sidebar .sidebar-item-secondary.active>a,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a{color:#00fabe}.kong-ui-app-sidebar .sidebar-item-primary.active>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-primary.active>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary.active>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary.active>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a.sidebar-item-link:hover{color:#00fabe!important}.kong-ui-app-sidebar .sidebar-item-primary.active>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-primary.active>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary.active>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-secondary.active>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a.sidebar-item-link:hover svg{color:#00fabe}.kong-ui-app-sidebar .sidebar-item-primary.active>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-secondary.active>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a .sidebar-item-name{font-weight:500!important}.kong-ui-app-sidebar .sidebar-item-primary ul.level-secondary,.kong-ui-app-sidebar .sidebar-item-secondary ul.level-secondary{padding:0;position:relative}.kong-ui-app-sidebar .sidebar-item-primary ul.level-secondary:before,.kong-ui-app-sidebar .sidebar-item-secondary ul.level-secondary:before{background-color:#ffffff1f;content:"";height:1px;left:1px;position:absolute;right:1px;top:0}.sidebar-item-primary[data-v-bf7140dd]{overflow:hidden}.sidebar-item-primary.active[data-v-bf7140dd],.sidebar-item-primary.expanded[data-v-bf7140dd]{background-color:#ffffff1f;border-radius:6px;box-shadow:0 0 0 1px #ffffff1f inset}.sidebar-item-primary>a[data-v-bf7140dd],.sidebar-item-primary>div>a[data-v-bf7140dd]{border-radius:6px}.sidebar-item-primary>a>.sidebar-item-display.has-label[data-v-bf7140dd],.sidebar-item-primary>div>a>.sidebar-item-display.has-label[data-v-bf7140dd]{padding-bottom:12px;padding-top:12px}.sidebar-item-secondary[data-v-bf7140dd]{margin-bottom:4px}.sidebar-item-secondary[data-v-bf7140dd]:last-of-type{margin-bottom:0}.sidebar-item-secondary:last-of-type a[data-v-bf7140dd]{border-bottom-right-radius:6px}.sidebar-item-secondary a[data-v-bf7140dd]{background-color:#0000;color:#bee2ff!important;font-size:14px;line-height:20px;min-height:40px!important;transition:all .1s ease-in-out!important}.sidebar-item-secondary a>.sidebar-item-display.has-badge[data-v-bf7140dd]{justify-content:space-between}.sidebar-item-secondary a>.sidebar-item-display.has-badge .has-badge-max-width[data-v-bf7140dd]{max-width:134px!important}.sidebar-item-secondary.active>a[data-v-bf7140dd]{box-shadow:4px 0 #00fabe inset;color:#00fabe!important;font-weight:500!important}.sidebar-item-secondary.active>a[data-v-bf7140dd]:focus-visible{box-shadow:4px 0 #00fabe inset,0 0 0 1px #fff9 inset}.sidebar-item-display[data-v-bf7140dd]{align-items:center;display:flex;gap:8px;height:100%;padding:0 16px;width:100%}.sidebar-item-display .sidebar-item-name-container[data-v-bf7140dd]{line-height:16px;-webkit-user-select:none;user-select:none}.sidebar-item-display .sidebar-item-name-container .truncate-text[data-v-bf7140dd]{height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-17[data-v-bf7140dd]{max-width:17ch}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-18[data-v-bf7140dd]{max-width:18ch}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-24[data-v-bf7140dd]{max-width:24ch}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name[data-v-bf7140dd]{align-items:center;display:flex}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name.has-tooltip[data-v-bf7140dd]{height:100%}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name.has-tooltip span[data-v-bf7140dd]{height:auto;min-width:0}.sidebar-item-display .sidebar-item-label[data-v-bf7140dd]{color:#bee2ff;font-size:12px;margin-top:4px}.sidebar-item-display .sidebar-item-icon[data-v-bf7140dd]{align-items:center;display:flex;line-height:0}.kong-ui-app-sidebar[data-v-34c2833b]{background:#000933;display:flex;flex-direction:column;height:var(--23c53c20);left:-100%;position:fixed;top:var(--3460a0fc);transition:left .2s ease-in-out;width:100%;z-index:var(--1cf2af88)}@media (min-width: 640px){.kong-ui-app-sidebar[data-v-34c2833b]{max-width:240px;width:240px}}@media (min-width: 1024px){.kong-ui-app-sidebar[data-v-34c2833b]{height:var(--f1bfd3c4);left:0;top:var(--83239084)}}.kong-ui-app-sidebar.sidebar-open[data-v-34c2833b],.kong-ui-app-sidebar.mobile-disabled[data-v-34c2833b]{left:0}.kong-ui-app-sidebar.mobile-disabled[data-v-34c2833b]{width:240px}.kong-ui-app-sidebar.disable-transitions[data-v-34c2833b]{animation:none!important;transition:none!important}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]{display:flex;flex-direction:column;height:100%;margin-top:var(--23dc8fdc);overflow-x:hidden;overflow-y:scroll;padding-top:8px;scrollbar-color:rgba(0,0,0,0) rgba(0,0,0,0);scrollbar-gutter:stable both-edges;scrollbar-width:thin}@supports (overflow: overlay){.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]{overflow-y:overlay}}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]::-webkit-scrollbar{height:8px;opacity:1;width:8px}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]::-webkit-scrollbar-thumb{background:rgba(0,0,0,0);border-radius:8px}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]:hover{scrollbar-color:#6c7489 rgba(0,0,0,0);scrollbar-gutter:stable both-edges;scrollbar-width:thin}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]:hover::-webkit-scrollbar-thumb{background:#6c7489}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]:hover::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.kong-ui-app-sidebar .sidebar-footer[data-v-34c2833b]{align-items:center;color:#afb7c5;display:flex;font-weight:500;position:relative;width:100%}.kong-ui-app-sidebar .sidebar-footer[data-v-34c2833b]:before{background-image:linear-gradient(transparent,#000933);content:"";display:block;height:8px;left:50%;margin-top:-8px;position:absolute;top:0;transform:translate(-50%);width:calc(100% - 16px);z-index:1}.kong-ui-app-sidebar[data-v-34c2833b] .k-dropdown-item{font-size:14px;line-height:20px}@media (max-width: 1023px){.mobile-header-hidden .sidebar-content-container[data-v-34c2833b],.no-sidebar-header .sidebar-content-container[data-v-34c2833b]{margin-top:0!important}}.sidebar-level-divider[data-v-34c2833b]{background-color:#ffffff3d;height:1px;margin:24px auto;min-height:1px;width:calc(100% - 32px)}.sidebar-header[data-v-34c2833b]{align-items:center;background:rgba(0,0,0,0);background:var(--kong-ui-app-sidebar-header-background, rgba(0, 0, 0, 0));color:#fff;display:var(--249a1c3a);left:0;min-height:var(--4fcba391);padding:0 16px 0 32px;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;z-index:1}@media (min-width: 1024px){.sidebar-header[data-v-34c2833b]{display:flex}}.sidebar-header[data-v-34c2833b]>*{display:flex}.sidebar-header[data-v-34c2833b]>a{text-decoration:none}.sidebar-header[data-v-34c2833b]>a:focus-visible{border-radius:6px;outline:1px solid #afb7c5}.sidebar-header[data-v-34c2833b]:after{background-image:linear-gradient(#000933,transparent);bottom:0;content:"";display:block;height:8px;left:50%;margin-bottom:-8px;position:absolute;transform:translate(-50%);width:calc(100% - 16px);z-index:1}.sidebar-top[data-v-34c2833b]{align-items:center;color:#fff;display:flex;margin:0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.sidebar-item-external-link[data-v-34c2833b]{align-items:center;display:flex;font-size:14px;justify-content:space-between;line-height:20px;text-decoration:none}.sidebar-item-external-link[data-v-34c2833b]:focus-visible{outline:1px solid #afb7c5!important}.sidebar-item-external-link[data-v-34c2833b] .kui-icon{display:inline-flex;margin-bottom:-7px}.kong-ui-app-sidebar-overlay[data-v-34c2833b]{background-color:#0b172d99;bottom:0;left:0;position:fixed;right:0;top:var(--14e46dcd);z-index:var(--4aabd500)}@media (min-width: 1024px){.kong-ui-app-sidebar-overlay[data-v-34c2833b]{display:none!important}}.kong-ui-app-sidebar .level-primary,.kong-ui-app-sidebar .level-secondary{list-style:none;margin:0;padding:0}.kong-ui-app-sidebar .level-primary{display:flex;flex-direction:column;padding:0 8px}.kong-ui-app-sidebar .level-primary:last-of-type{margin-bottom:32px}body.kong-ui-app-sidebar-open{overflow:hidden}@media (min-width: 1024px){body.kong-ui-app-sidebar-open{overflow:auto}}.sidebar-menu-toggle[data-v-b411bcf5]{border-radius:4px;padding:0 4px;position:relative;transition:all .3s ease-in-out}.sidebar-menu-toggle[data-v-b411bcf5]:focus-visible{outline:1px solid #0044f4;outline:1px solid var(--kong-ui-app-sidebar-mobile-icon-color, #0044f4)}@media (min-width: 1024px){.sidebar-menu-toggle[data-v-b411bcf5]{display:none}}.sidebar-menu-toggle .line[data-v-b411bcf5]{background-color:#fff;background-color:var(--kong-ui-app-sidebar-mobile-icon-color, #ffffff);border-radius:6px;display:block;height:2px;margin:6px auto;transition:all .3s ease-in-out;width:24px}.sidebar-menu-toggle.active .line[data-v-b411bcf5]:nth-child(2){opacity:0}.sidebar-menu-toggle.active .line[data-v-b411bcf5]:nth-child(1){transform:translateY(8px) rotate(45deg)}.sidebar-menu-toggle.active .line[data-v-b411bcf5]:nth-child(3){transform:translateY(-8px) rotate(-45deg)}.kong-ui-app-layout-html,.kong-ui-app-layout-body,.kong-ui-app-sidebar,.kong-ui-app-navbar{--KInputLabelWeight: 600;--KongAuthFontFamily: Inter, Roboto, Helvetica, sans-serif;--KongAuthFontWeight: 400}html.kong-ui-app-layout-html{-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}html.kong-ui-app-layout-html,body.kong-ui-app-layout-body{height:100%;height:100vh;margin:0;overflow:hidden;overscroll-behavior-y:none;padding:0;width:100%}body.kong-ui-app-layout-body{background-color:#fff;color:#000933;font-family:Inter,Roboto,Helvetica,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;line-height:24px}#app{height:100%}.kong-auth-element{font-family:Inter,Roboto,Helvetica,sans-serif!important}.kong-auth-element .kong-auth-login-form .alert.danger .k-alert-msg{white-space:pre-line}.kong-ui-app-layout[data-v-7129ca7f]{background:#000933;bottom:0;display:flex;flex-direction:column;font-family:Inter,Roboto,Helvetica,sans-serif;height:100%;left:0;overflow:hidden;position:fixed;right:0;top:0;width:100%}.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .mobile-logo{align-items:center;display:flex}@media (min-width: 1024px){.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .mobile-logo{display:none}}.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .mobile-logo>*{align-items:center;display:flex}.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .mobile-logo a{text-decoration:none}.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .navbar-logo{display:none}@media (min-width: 1024px){.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .navbar-logo{display:block}}.kong-ui-app-layout .kong-ui-app-layout-main[data-v-7129ca7f]{align-items:stretch;background-color:var(--328394ce);box-shadow:var(--42bdeb84);color:var(--31e8409c);display:flex;flex-grow:1;height:100%;margin-top:var(--4fa4ed00);overflow:auto;position:relative;width:100%}@media (min-width: 1024px){.kong-ui-app-layout .kong-ui-app-layout-main[data-v-7129ca7f]{border-top-left-radius:var(--4802d273);margin-left:240px;width:calc(100% - 240px)}}.kong-ui-app-layout .kong-ui-app-layout-main.full-width[data-v-7129ca7f]{margin-left:0}.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content[data-v-7129ca7f]{position:relative;width:100%}.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content-inner[data-v-7129ca7f]{padding:20px 20px 64px;padding:var(--kong-ui-app-layout-content-padding-top, 20px) var(--kong-ui-app-layout-content-padding-x, 20px) var(--kong-ui-app-layout-content-padding-bottom, 64px)}.kong-ui-app-layout.navbar-hidden .kong-ui-app-layout-main[data-v-7129ca7f]{margin-top:0}.kong-ui-app-layout.sidebar-hidden .kong-ui-app-layout-main[data-v-7129ca7f]{margin-left:0;width:100%}.kong-ui-app-layout #kong-ui-app-layout-notification[data-v-7129ca7f]{left:0;position:fixed;right:0;top:0;z-index:1}.kong-ui-app-layout #kong-ui-app-layout-notification[data-v-7129ca7f] .k-alert{border-radius:0!important}.kong-ui-app-page-header[data-v-d7e33427]{margin-bottom:20px}.kong-ui-app-page-header .page-header-breadcrumb-divider[data-v-d7e33427]{color:#afb7c5}.kong-ui-app-page-header .page-header-title-section[data-v-d7e33427]{align-items:center;display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;min-height:44.5px}.kong-ui-app-page-header .page-header-title-section .page-header-title-wrapper[data-v-d7e33427]{align-items:baseline;display:flex;min-width:0}.kong-ui-app-page-header .page-header-title-section .page-header-title-wrapper .page-header-title-before[data-v-d7e33427]{align-self:center;display:inline-flex;margin-right:8px}.kong-ui-app-page-header .page-header-title-section .page-header-title-wrapper .page-header-title-after[data-v-d7e33427]{align-self:center;display:inline-flex;margin-left:16px}.kong-ui-app-page-header .page-header-title-section .page-header-title-wrapper .page-header-title[data-v-d7e33427]{color:#000933;font-size:24px;font-weight:700;line-height:32px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-app-page-header .page-header-section-below[data-v-d7e33427]{margin-top:8px;width:100%}.kong-ui-app-page-header[data-v-d7e33427] .k-breadcrumbs{margin-bottom:0}@media (min-width: 640px){.kong-ui-app-page-header .page-header-title-section[data-v-d7e33427]{flex-wrap:nowrap}.kong-ui-app-page-header .page-header-section-below[data-v-d7e33427]{margin-top:unset}}
|
|
1
|
+
.account-dropdown[data-v-7bab0343]{display:flex;margin-right:4px}.account-dropdown[data-v-7bab0343] .k-button.primary,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled){background-color:#9396fc;background-color:var(--kong-ui-account-dropdown-background, #9396FC);border-radius:100px;color:#000933;color:var(--kong-ui-account-dropdown-color, #000933);font-size:12px;height:24px;justify-content:center;padding:0;-webkit-user-select:none;user-select:none;width:24px}.account-dropdown[data-v-7bab0343] .k-button.primary:hover,.account-dropdown[data-v-7bab0343] .k-button.primary:focus,.account-dropdown[data-v-7bab0343] .k-button.primary:active,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled):hover,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled):focus,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled):active{background-color:#9396fc!important;background-color:var(--kong-ui-account-dropdown-background, #9396FC)!important}.account-dropdown[data-v-7bab0343] .k-button.primary:focus-visible,.account-dropdown[data-v-7bab0343] .k-button.primary:hover:not(:disabled):focus-visible{border-radius:100px;outline:1px solid #bee2ff!important;outline-offset:2px}.account-dropdown[data-v-7bab0343] .k-dropdown-popover{top:11px!important}.kong-ui-app-about-section .about-section-title[data-v-d01c666d]{color:#000933;font-size:16px;font-weight:700;letter-spacing:-.24px;line-height:20px}.kong-ui-app-about-section .about-section-header-end[data-v-d01c666d]{display:flex}.kong-ui-app-about-section .about-section-header-end .about-section-timestamps[data-v-d01c666d]{align-self:center;color:#6c7489;flex-direction:column;font-size:12px;line-height:16px;margin-bottom:12px}@media (min-width: 768px){.kong-ui-app-about-section .about-section-header-end .about-section-timestamps[data-v-d01c666d]{flex-direction:row;margin-bottom:0}}.kong-ui-app-about-section .about-section-header-end .about-section-timestamps.has-actions[data-v-d01c666d]{margin-right:16px}.kong-ui-app-about-section .about-section-header-end .about-section-timestamps .about-section-timestamps-arrow[data-v-d01c666d]{line-height:20px;margin-left:8px;margin-right:8px}.kong-ui-app-about-section .about-section-description[data-v-d01c666d]{color:#000933;font-size:14px;line-height:20px;margin-bottom:20px;margin-top:0}.kong-ui-app-about-section .about-section-content[data-v-d01c666d]{align-items:flex-start;align-self:stretch;color:#6c7489;column-gap:20px;display:flex;flex-wrap:wrap;font-size:14px;line-height:20px;padding:0;row-gap:6px}.kong-ui-app-about-section .about-divider-section[data-v-d01c666d]{color:#6c7489;display:flex;flex-direction:column;flex-wrap:wrap;font-size:14px;line-height:20px;row-gap:12px}.kong-ui-app-about-section[data-v-d01c666d] hr,.kong-ui-app-about-section hr[data-v-d01c666d]{background-color:#e0e4ea;border:none;height:1px;margin:0;width:100%}.kong-ui-app-about-section hr[data-v-d01c666d]{margin-bottom:12px;margin-top:12px}.kong-ui-app-about-section.kong-card.border{border-radius:4px;padding:20px}.kong-ui-app-about-section.kong-card.border .k-card-header{align-items:baseline;margin-bottom:0!important}@media (max-width: 768px){.kong-ui-app-about-section.kong-card.border .k-card-header{flex-direction:column}.kong-ui-app-about-section.kong-card.border .k-card-header .k-card-actions{margin-left:unset}}.kong-ui-app-error[data-v-5cbccc66]{align-items:center;background-color:#fff;border-top:2px solid #00abd2;display:flex;flex-direction:column;margin:32px auto 0;padding-bottom:48px;width:100%}@media (min-width: 640px){.kong-ui-app-error[data-v-5cbccc66]{width:80%}}@media (min-width: 1024px){.kong-ui-app-error[data-v-5cbccc66]{max-width:840px}}.kong-ui-app-error .banana-icon[data-v-5cbccc66]{animation-delay:.75s;margin:32px auto 24px}.kong-ui-app-error .kong-ui-app-error-content[data-v-5cbccc66]{animation:.75s cubic-bezier(.785,.135,.15,.86) forwards fadeIn-5cbccc66;opacity:0;padding:0 16px}@media (min-width: 768px){.kong-ui-app-error .kong-ui-app-error-content[data-v-5cbccc66]{padding:0 32px}}@media (prefers-reduced-motion){.kong-ui-app-error .kong-ui-app-error-content[data-v-5cbccc66]{animation:none;opacity:1}}@keyframes fadeIn-5cbccc66{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.kong-ui-app-error .kong-ui-app-error-content{color:#6c7489;font-size:16px;text-align:center}.kong-ui-app-error .kong-ui-app-error-content h1,.kong-ui-app-error .kong-ui-app-error-content h2,.kong-ui-app-error .kong-ui-app-error-content h3,.kong-ui-app-error .kong-ui-app-error-content h4{color:#000933;font-size:32px;font-weight:600;margin-bottom:16px;margin-top:0}.kong-ui-app-navbar[data-v-beca6ea9]{background:#000933;background:var(--kong-ui-app-navbar-background, #000933);left:0;position:fixed;right:0;top:var(--d96d0598);z-index:var(--05b18f8e)}@media (min-width: 1024px){.kong-ui-app-navbar[data-v-beca6ea9]{left:var(--543b3ff0)}}.kong-ui-app-navbar .header-content[data-v-beca6ea9]{align-items:center;display:flex;height:60px;justify-content:space-between;padding:0 16px}.kong-ui-app-navbar .app-navbar-logo[data-v-beca6ea9]{align-items:center;display:flex;height:100%;justify-content:flex-start;margin-right:var(--247c8fd0);max-width:var(--278e63f0);min-width:var(--278e63f0);padding-left:16px}.kong-ui-app-navbar .mobile-header-left[data-v-beca6ea9]{display:inline-flex;gap:16px}@media (min-width: 1024px){.kong-ui-app-navbar .mobile-header-left[data-v-beca6ea9]{display:none}}.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9],.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s]{align-items:center;display:flex;height:100%}.kong-ui-app-navbar .app-navbar-links a[data-v-beca6ea9],.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links a,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s] a{align-items:center;align-self:stretch;border-bottom:4px solid transparent;color:#fff;display:flex;font-size:14px;font-weight:500;padding:0 8px;text-decoration:none;transition:all .2s ease-in-out;white-space:nowrap}@media (min-width: 768px){.kong-ui-app-navbar .app-navbar-links a[data-v-beca6ea9],.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links a,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s] a{font-size:16px;padding:0 16px}}.kong-ui-app-navbar .app-navbar-links a.router-link-active[data-v-beca6ea9],.kong-ui-app-navbar .app-navbar-links a.active[data-v-beca6ea9],.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links a.router-link-active,.kong-ui-app-navbar[data-v-beca6ea9] .app-navbar-links a.active,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s] a.router-link-active,.kong-ui-app-navbar .app-navbar-links[data-v-beca6ea9-s] a.active{border-color:#84e5ae;font-weight:600!important}.kong-ui-app-navbar .navbar-content[data-v-beca6ea9]{align-items:center;display:flex;flex-direction:row;gap:8px;height:100%;justify-content:space-between;width:100%}@media (min-width: 768px){.kong-ui-app-navbar .navbar-content[data-v-beca6ea9]{gap:16px}}.kong-ui-app-navbar .navbar-content-left[data-v-beca6ea9],.kong-ui-app-navbar .navbar-content-center[data-v-beca6ea9],.kong-ui-app-navbar .navbar-content-right[data-v-beca6ea9]{align-items:center;display:flex;flex:1;gap:16px;height:100%}.kong-ui-app-navbar .navbar-content-left[data-v-beca6ea9]{justify-content:flex-start}.kong-ui-app-navbar .navbar-content-center[data-v-beca6ea9]{justify-content:center}.kong-ui-app-navbar .navbar-content-right[data-v-beca6ea9]{justify-content:flex-end}.item-badge[data-v-912b1a1b]{background-color:#d60027;border-radius:16px;color:#fff;font-size:12px;font-weight:500;line-height:16px;max-width:36px;overflow:hidden;padding:2px 6px;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;white-space:nowrap}.kong-ui-app-sidebar .sidebar-item-primary,.kong-ui-app-sidebar .sidebar-item-secondary{cursor:pointer;display:flex;flex-direction:column;position:relative;white-space:nowrap}.kong-ui-app-sidebar .sidebar-item-primary:last-of-type,.kong-ui-app-sidebar .sidebar-item-secondary:last-of-type{margin-bottom:0}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link{align-items:center;color:#bee2ff;cursor:pointer;display:flex;font-size:14px;font-weight:500;justify-content:space-between;line-height:20px;min-height:48px;text-decoration:none;transition:color .2s ease-out}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link svg:not(.profile-icon) path,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link svg:not(.profile-icon) path{color:currentColor;fill:currentColor;transition:all .2s ease-out}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:focus-visible,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:focus-visible{color:#eefaff!important}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:focus-visible svg,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:focus-visible svg{color:#eefaff}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:focus-visible,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:focus-visible{box-shadow:0 0 0 1px #fff9 inset;outline:none}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link .sidebar-item-tooltip,.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link .sidebar-item-tooltip{align-items:center;display:flex;height:100%}.kong-ui-app-sidebar .sidebar-item-primary.active>a,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a,.kong-ui-app-sidebar .sidebar-item-secondary.active>a,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a{color:#00fabe}.kong-ui-app-sidebar .sidebar-item-primary.active>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-primary.active>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary.active>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary.active>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a.sidebar-item-link:hover,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a.sidebar-item-link,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a.sidebar-item-link:hover{color:#00fabe!important}.kong-ui-app-sidebar .sidebar-item-primary.active>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-primary.active>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary.active>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-secondary.active>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a.sidebar-item-link:hover svg,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a.sidebar-item-link svg,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a.sidebar-item-link:hover svg{color:#00fabe}.kong-ui-app-sidebar .sidebar-item-primary.active>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-primary.active>div>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-primary.expanded>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-primary.expanded>div>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-secondary.active>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-secondary.active>div>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>a .sidebar-item-name,.kong-ui-app-sidebar .sidebar-item-secondary.expanded>div>a .sidebar-item-name{font-weight:500!important}.kong-ui-app-sidebar .sidebar-item-primary ul.level-secondary,.kong-ui-app-sidebar .sidebar-item-secondary ul.level-secondary{padding:0;position:relative}.kong-ui-app-sidebar .sidebar-item-primary ul.level-secondary:before,.kong-ui-app-sidebar .sidebar-item-secondary ul.level-secondary:before{background-color:#ffffff1f;content:"";height:1px;left:1px;position:absolute;right:1px;top:0}.sidebar-item-primary[data-v-23e15edb]{overflow:hidden}.sidebar-item-primary.active[data-v-23e15edb],.sidebar-item-primary.expanded[data-v-23e15edb]{background-color:#ffffff1f;border-radius:6px;box-shadow:0 0 0 1px #ffffff1f inset}.sidebar-item-primary>a[data-v-23e15edb],.sidebar-item-primary>div>a[data-v-23e15edb]{border-radius:6px}.sidebar-item-primary>a>.sidebar-item-display.has-label[data-v-23e15edb],.sidebar-item-primary>div>a>.sidebar-item-display.has-label[data-v-23e15edb]{padding-bottom:12px;padding-top:12px}.sidebar-item-secondary[data-v-23e15edb]{margin-bottom:4px}.sidebar-item-secondary[data-v-23e15edb]:last-of-type{margin-bottom:0}.sidebar-item-secondary:last-of-type a[data-v-23e15edb]{border-bottom-right-radius:6px}.sidebar-item-secondary a[data-v-23e15edb]{background-color:#0000;color:#bee2ff!important;font-size:14px;line-height:20px;min-height:40px!important;transition:all .1s ease-in-out!important}.sidebar-item-secondary a>.sidebar-item-display.has-badge[data-v-23e15edb]{justify-content:space-between}.sidebar-item-secondary a>.sidebar-item-display.has-badge .has-badge-max-width[data-v-23e15edb]{max-width:134px!important}.sidebar-item-secondary.active>a[data-v-23e15edb]{box-shadow:4px 0 #00fabe inset;color:#00fabe!important;font-weight:500!important}.sidebar-item-secondary.active>a[data-v-23e15edb]:focus-visible{box-shadow:4px 0 #00fabe inset,0 0 0 1px #fff9 inset}.sidebar-item-display[data-v-23e15edb]{align-items:center;display:flex;gap:8px;height:100%;padding:0 16px;width:100%}.sidebar-item-display .sidebar-item-name-container[data-v-23e15edb]{line-height:16px;-webkit-user-select:none;user-select:none}.sidebar-item-display .sidebar-item-name-container .truncate-text[data-v-23e15edb]{height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-17[data-v-23e15edb]{max-width:17ch}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-18[data-v-23e15edb]{max-width:18ch}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-24[data-v-23e15edb]{max-width:24ch}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name[data-v-23e15edb]{align-items:center;display:flex}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name.has-tooltip[data-v-23e15edb]{height:100%}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name.has-tooltip span[data-v-23e15edb]{height:auto;min-width:0}.sidebar-item-display .sidebar-item-label[data-v-23e15edb]{color:#bee2ff;font-size:12px;margin-top:4px}.sidebar-item-display .sidebar-item-icon[data-v-23e15edb]{align-items:center;display:flex;line-height:0}.kong-ui-app-sidebar[data-v-34c2833b]{background:#000933;display:flex;flex-direction:column;height:var(--23c53c20);left:-100%;position:fixed;top:var(--3460a0fc);transition:left .2s ease-in-out;width:100%;z-index:var(--1cf2af88)}@media (min-width: 640px){.kong-ui-app-sidebar[data-v-34c2833b]{max-width:240px;width:240px}}@media (min-width: 1024px){.kong-ui-app-sidebar[data-v-34c2833b]{height:var(--f1bfd3c4);left:0;top:var(--83239084)}}.kong-ui-app-sidebar.sidebar-open[data-v-34c2833b],.kong-ui-app-sidebar.mobile-disabled[data-v-34c2833b]{left:0}.kong-ui-app-sidebar.mobile-disabled[data-v-34c2833b]{width:240px}.kong-ui-app-sidebar.disable-transitions[data-v-34c2833b]{animation:none!important;transition:none!important}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]{display:flex;flex-direction:column;height:100%;margin-top:var(--23dc8fdc);overflow-x:hidden;overflow-y:scroll;padding-top:8px;scrollbar-color:rgba(0,0,0,0) rgba(0,0,0,0);scrollbar-gutter:stable both-edges;scrollbar-width:thin}@supports (overflow: overlay){.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]{overflow-y:overlay}}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]::-webkit-scrollbar{height:8px;opacity:1;width:8px}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]::-webkit-scrollbar-thumb{background:rgba(0,0,0,0);border-radius:8px}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]:hover{scrollbar-color:#6c7489 rgba(0,0,0,0);scrollbar-gutter:stable both-edges;scrollbar-width:thin}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]:hover::-webkit-scrollbar-thumb{background:#6c7489}.kong-ui-app-sidebar .sidebar-content-container[data-v-34c2833b]:hover::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.kong-ui-app-sidebar .sidebar-footer[data-v-34c2833b]{align-items:center;color:#afb7c5;display:flex;font-weight:500;position:relative;width:100%}.kong-ui-app-sidebar .sidebar-footer[data-v-34c2833b]:before{background-image:linear-gradient(transparent,#000933);content:"";display:block;height:8px;left:50%;margin-top:-8px;position:absolute;top:0;transform:translate(-50%);width:calc(100% - 16px);z-index:1}.kong-ui-app-sidebar[data-v-34c2833b] .k-dropdown-item{font-size:14px;line-height:20px}@media (max-width: 1023px){.mobile-header-hidden .sidebar-content-container[data-v-34c2833b],.no-sidebar-header .sidebar-content-container[data-v-34c2833b]{margin-top:0!important}}.sidebar-level-divider[data-v-34c2833b]{background-color:#ffffff3d;height:1px;margin:24px auto;min-height:1px;width:calc(100% - 32px)}.sidebar-header[data-v-34c2833b]{align-items:center;background:rgba(0,0,0,0);background:var(--kong-ui-app-sidebar-header-background, rgba(0, 0, 0, 0));color:#fff;display:var(--249a1c3a);left:0;min-height:var(--4fcba391);padding:0 16px 0 32px;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;z-index:1}@media (min-width: 1024px){.sidebar-header[data-v-34c2833b]{display:flex}}.sidebar-header[data-v-34c2833b]>*{display:flex}.sidebar-header[data-v-34c2833b]>a{text-decoration:none}.sidebar-header[data-v-34c2833b]>a:focus-visible{border-radius:6px;outline:1px solid #afb7c5}.sidebar-header[data-v-34c2833b]:after{background-image:linear-gradient(#000933,transparent);bottom:0;content:"";display:block;height:8px;left:50%;margin-bottom:-8px;position:absolute;transform:translate(-50%);width:calc(100% - 16px);z-index:1}.sidebar-top[data-v-34c2833b]{align-items:center;color:#fff;display:flex;margin:0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.sidebar-item-external-link[data-v-34c2833b]{align-items:center;display:flex;font-size:14px;justify-content:space-between;line-height:20px;text-decoration:none}.sidebar-item-external-link[data-v-34c2833b]:focus-visible{outline:1px solid #afb7c5!important}.sidebar-item-external-link[data-v-34c2833b] .kui-icon{display:inline-flex;margin-bottom:-7px}.kong-ui-app-sidebar-overlay[data-v-34c2833b]{background-color:#0b172d99;bottom:0;left:0;position:fixed;right:0;top:var(--14e46dcd);z-index:var(--4aabd500)}@media (min-width: 1024px){.kong-ui-app-sidebar-overlay[data-v-34c2833b]{display:none!important}}.kong-ui-app-sidebar .level-primary,.kong-ui-app-sidebar .level-secondary{list-style:none;margin:0;padding:0}.kong-ui-app-sidebar .level-primary{display:flex;flex-direction:column;padding:0 8px}.kong-ui-app-sidebar .level-primary:last-of-type{margin-bottom:32px}body.kong-ui-app-sidebar-open{overflow:hidden}@media (min-width: 1024px){body.kong-ui-app-sidebar-open{overflow:auto}}.sidebar-menu-toggle[data-v-b411bcf5]{border-radius:4px;padding:0 4px;position:relative;transition:all .3s ease-in-out}.sidebar-menu-toggle[data-v-b411bcf5]:focus-visible{outline:1px solid #0044f4;outline:1px solid var(--kong-ui-app-sidebar-mobile-icon-color, #0044f4)}@media (min-width: 1024px){.sidebar-menu-toggle[data-v-b411bcf5]{display:none}}.sidebar-menu-toggle .line[data-v-b411bcf5]{background-color:#fff;background-color:var(--kong-ui-app-sidebar-mobile-icon-color, #ffffff);border-radius:6px;display:block;height:2px;margin:6px auto;transition:all .3s ease-in-out;width:24px}.sidebar-menu-toggle.active .line[data-v-b411bcf5]:nth-child(2){opacity:0}.sidebar-menu-toggle.active .line[data-v-b411bcf5]:nth-child(1){transform:translateY(8px) rotate(45deg)}.sidebar-menu-toggle.active .line[data-v-b411bcf5]:nth-child(3){transform:translateY(-8px) rotate(-45deg)}.kong-ui-app-layout-html,.kong-ui-app-layout-body,.kong-ui-app-sidebar,.kong-ui-app-navbar{--KInputLabelWeight: 600;--KongAuthFontFamily: Inter, Roboto, Helvetica, sans-serif;--KongAuthFontWeight: 400}html.kong-ui-app-layout-html{-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}html.kong-ui-app-layout-html,body.kong-ui-app-layout-body{height:100%;height:100vh;margin:0;overflow:hidden;overscroll-behavior-y:none;padding:0;width:100%}body.kong-ui-app-layout-body{background-color:#fff;color:#000933;font-family:Inter,Roboto,Helvetica,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;line-height:24px}#app{height:100%}.kong-auth-element{font-family:Inter,Roboto,Helvetica,sans-serif!important}.kong-auth-element .kong-auth-login-form .alert.danger .k-alert-msg{white-space:pre-line}.kong-ui-app-layout[data-v-7129ca7f]{background:#000933;bottom:0;display:flex;flex-direction:column;font-family:Inter,Roboto,Helvetica,sans-serif;height:100%;left:0;overflow:hidden;position:fixed;right:0;top:0;width:100%}.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .mobile-logo{align-items:center;display:flex}@media (min-width: 1024px){.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .mobile-logo{display:none}}.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .mobile-logo>*{align-items:center;display:flex}.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .mobile-logo a{text-decoration:none}.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .navbar-logo{display:none}@media (min-width: 1024px){.kong-ui-app-layout[data-v-7129ca7f] .kong-ui-app-navbar .navbar-logo{display:block}}.kong-ui-app-layout .kong-ui-app-layout-main[data-v-7129ca7f]{align-items:stretch;background-color:var(--328394ce);box-shadow:var(--42bdeb84);color:var(--31e8409c);display:flex;flex-grow:1;height:100%;margin-top:var(--4fa4ed00);overflow:auto;position:relative;width:100%}@media (min-width: 1024px){.kong-ui-app-layout .kong-ui-app-layout-main[data-v-7129ca7f]{border-top-left-radius:var(--4802d273);margin-left:240px;width:calc(100% - 240px)}}.kong-ui-app-layout .kong-ui-app-layout-main.full-width[data-v-7129ca7f]{margin-left:0}.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content[data-v-7129ca7f]{position:relative;width:100%}.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content-inner[data-v-7129ca7f]{padding:20px 20px 64px;padding:var(--kong-ui-app-layout-content-padding-top, 20px) var(--kong-ui-app-layout-content-padding-x, 20px) var(--kong-ui-app-layout-content-padding-bottom, 64px)}.kong-ui-app-layout.navbar-hidden .kong-ui-app-layout-main[data-v-7129ca7f]{margin-top:0}.kong-ui-app-layout.sidebar-hidden .kong-ui-app-layout-main[data-v-7129ca7f]{margin-left:0;width:100%}.kong-ui-app-layout #kong-ui-app-layout-notification[data-v-7129ca7f]{left:0;position:fixed;right:0;top:0;z-index:1}.kong-ui-app-layout #kong-ui-app-layout-notification[data-v-7129ca7f] .k-alert{border-radius:0!important}.kong-ui-app-page-header[data-v-d7e33427]{margin-bottom:20px}.kong-ui-app-page-header .page-header-breadcrumb-divider[data-v-d7e33427]{color:#afb7c5}.kong-ui-app-page-header .page-header-title-section[data-v-d7e33427]{align-items:center;display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;min-height:44.5px}.kong-ui-app-page-header .page-header-title-section .page-header-title-wrapper[data-v-d7e33427]{align-items:baseline;display:flex;min-width:0}.kong-ui-app-page-header .page-header-title-section .page-header-title-wrapper .page-header-title-before[data-v-d7e33427]{align-self:center;display:inline-flex;margin-right:8px}.kong-ui-app-page-header .page-header-title-section .page-header-title-wrapper .page-header-title-after[data-v-d7e33427]{align-self:center;display:inline-flex;margin-left:16px}.kong-ui-app-page-header .page-header-title-section .page-header-title-wrapper .page-header-title[data-v-d7e33427]{color:#000933;font-size:24px;font-weight:700;line-height:32px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-app-page-header .page-header-section-below[data-v-d7e33427]{margin-top:8px;width:100%}.kong-ui-app-page-header[data-v-d7e33427] .k-breadcrumbs{margin-bottom:0}@media (min-width: 640px){.kong-ui-app-page-header .page-header-title-section[data-v-d7e33427]{flex-wrap:nowrap}.kong-ui-app-page-header .page-header-section-below[data-v-d7e33427]{margin-top:unset}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/SidebarItem.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/SidebarItem.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AA0V3E,wBAgBG"}
|