@kong-ui-public/app-layout 0.20.2 → 0.20.3-pr.624.269fc80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/app-layout.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as re, useCssVars as ot, useSlots as st, computed as w, reactive as
|
|
1
|
+
import { defineComponent as re, useCssVars as ot, useSlots as st, computed as w, reactive as Be, onMounted as ze, openBlock as m, createElementBlock as F, createElementVNode as k, renderSlot as A, createCommentVNode as M, toDisplayString as ke, resolveComponent as Ie, normalizeClass as ne, createBlock as Q, resolveDynamicComponent as pn, withCtx as z, withKeys as mn, createVNode as ct, Fragment as Oe, renderList as Le, ref as q, watch as Me, onUnmounted as gn, Comment as yn, cloneVNode as _n, onBeforeUnmount as Kt, unref as wn, nextTick as Tn, withModifiers as Sn, pushScopeId as lt, popScopeId as ut, watchEffect as kn, toRef as In, createSlots as Rt, createTextVNode as rt, createStaticVNode as On } from "vue";
|
|
2
2
|
const Cn = { class: "kong-ui-app-navbar" }, Nn = { class: "header-content" }, xn = { class: "mobile-header-left" }, En = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "app-navbar-logo"
|
|
5
|
-
}, Fn = { class: "navbar-content" }, An = { class: "navbar-content-left" }, $n = { class: "navbar-content-center" }, Dn = { class: "navbar-content-right" },
|
|
5
|
+
}, Fn = { class: "navbar-content" }, An = { class: "navbar-content-left" }, $n = { class: "navbar-content-center" }, Dn = { class: "navbar-content-right" }, Rn = /* @__PURE__ */ re({
|
|
6
6
|
__name: "AppNavbar",
|
|
7
7
|
props: {
|
|
8
8
|
topOffset: {
|
|
@@ -22,13 +22,13 @@ const Cn = { class: "kong-ui-app-navbar" }, Nn = { class: "header-content" }, xn
|
|
|
22
22
|
setup(n) {
|
|
23
23
|
const t = n;
|
|
24
24
|
ot((o) => ({
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
"
|
|
25
|
+
"504340bc": f.value.top,
|
|
26
|
+
"31fdd1ea": f.value.zIndex,
|
|
27
|
+
"23e9cb5a": f.value.left,
|
|
28
|
+
d856edbc: l.marginRight,
|
|
29
|
+
"53daa64c": l.width
|
|
30
30
|
}));
|
|
31
|
-
const a = st(), r = w(() => !!a.logo), l =
|
|
31
|
+
const a = st(), r = w(() => !!a.logo), l = Be({
|
|
32
32
|
marginRight: "0",
|
|
33
33
|
width: "0"
|
|
34
34
|
});
|
|
@@ -70,7 +70,7 @@ const ie = (n, t) => {
|
|
|
70
70
|
for (const [r, l] of t)
|
|
71
71
|
a[r] = l;
|
|
72
72
|
return a;
|
|
73
|
-
},
|
|
73
|
+
}, Bn = /* @__PURE__ */ ie(Rn, [["__scopeId", "data-v-19ca63a4"]]), Ln = ["title"], at = 99, Mn = /* @__PURE__ */ re({
|
|
74
74
|
__name: "ItemBadge",
|
|
75
75
|
props: {
|
|
76
76
|
count: {
|
|
@@ -88,13 +88,13 @@ const ie = (n, t) => {
|
|
|
88
88
|
}, ke(a.value), 9, Ln)) : M("", !0);
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
|
-
const Pn = /* @__PURE__ */ ie(Mn, [["__scopeId", "data-v-
|
|
91
|
+
const Pn = /* @__PURE__ */ ie(Mn, [["__scopeId", "data-v-97e30521"]]), Zn = ["data-testid"], jn = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], Hn = {
|
|
92
92
|
key: 0,
|
|
93
93
|
class: "sidebar-item-icon"
|
|
94
94
|
}, Kn = { class: "sidebar-item-name-container" }, zn = { class: "sidebar-item-name has-tooltip" }, Vn = {
|
|
95
95
|
key: 2,
|
|
96
96
|
class: "sidebar-item-label truncate-text truncate-18"
|
|
97
|
-
}, Gn = ["id"],
|
|
97
|
+
}, Gn = ["id"], Un = /* @__PURE__ */ re({
|
|
98
98
|
__name: "SidebarItem",
|
|
99
99
|
props: {
|
|
100
100
|
item: {
|
|
@@ -141,10 +141,9 @@ const Pn = /* @__PURE__ */ ie(Mn, [["__scopeId", "data-v-9e48c714"]]), Zn = ["da
|
|
|
141
141
|
}, [
|
|
142
142
|
n.item.icon ? (m(), F("div", Hn, [
|
|
143
143
|
ct(E, {
|
|
144
|
-
color: n.item.active || n.item.expanded ? "var(--white, #fff)" : "#B5BECD",
|
|
145
144
|
icon: String(n.item.icon),
|
|
146
145
|
size: "20"
|
|
147
|
-
}, null, 8, ["
|
|
146
|
+
}, null, 8, ["icon"])
|
|
148
147
|
])) : M("", !0),
|
|
149
148
|
k("div", Kn, [
|
|
150
149
|
(n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (m(), F("div", {
|
|
@@ -194,7 +193,7 @@ const Pn = /* @__PURE__ */ ie(Mn, [["__scopeId", "data-v-9e48c714"]]), Zn = ["da
|
|
|
194
193
|
};
|
|
195
194
|
}
|
|
196
195
|
});
|
|
197
|
-
const
|
|
196
|
+
const Bt = /* @__PURE__ */ ie(Un, [["__scopeId", "data-v-aa7b9a27"]]);
|
|
198
197
|
/*!
|
|
199
198
|
* tabbable 6.2.0
|
|
200
199
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -210,7 +209,7 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
210
209
|
a === void 0 && (a = !0);
|
|
211
210
|
var l = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), f = l === "" || l === "true", o = f || a && t && n(t.parentNode);
|
|
212
211
|
return o;
|
|
213
|
-
},
|
|
212
|
+
}, Wn = function(t) {
|
|
214
213
|
var a, r = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
|
|
215
214
|
return r === "" || r === "true";
|
|
216
215
|
}, Gt = function(t, a, r) {
|
|
@@ -218,7 +217,7 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
218
217
|
return [];
|
|
219
218
|
var l = Array.prototype.slice.apply(t.querySelectorAll(Pe));
|
|
220
219
|
return a && fe.call(t, Pe) && l.unshift(t), l = l.filter(r), l;
|
|
221
|
-
},
|
|
220
|
+
}, Ut = function n(t, a, r) {
|
|
222
221
|
for (var l = [], f = Array.from(t); f.length; ) {
|
|
223
222
|
var o = f.shift();
|
|
224
223
|
if (!je(o, !1))
|
|
@@ -244,15 +243,15 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
244
243
|
}
|
|
245
244
|
}
|
|
246
245
|
return l;
|
|
247
|
-
},
|
|
246
|
+
}, Wt = function(t) {
|
|
248
247
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
249
248
|
}, de = function(t) {
|
|
250
249
|
if (!t)
|
|
251
250
|
throw new Error("No node provided");
|
|
252
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
251
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Wn(t)) && !Wt(t) ? 0 : t.tabIndex;
|
|
253
252
|
}, qn = function(t, a) {
|
|
254
253
|
var r = de(t);
|
|
255
|
-
return r < 0 && a && !
|
|
254
|
+
return r < 0 && a && !Wt(t) ? 0 : r;
|
|
256
255
|
}, Yn = function(t, a) {
|
|
257
256
|
return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
|
|
258
257
|
}, qt = function(t) {
|
|
@@ -367,7 +366,7 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
367
366
|
}, cr = function(t, a) {
|
|
368
367
|
a = a || {};
|
|
369
368
|
var r;
|
|
370
|
-
return a.getShadowRoot ? r =
|
|
369
|
+
return a.getShadowRoot ? r = Ut([t], a.includeContainer, {
|
|
371
370
|
filter: it.bind(null, a),
|
|
372
371
|
flatten: !1,
|
|
373
372
|
getShadowRoot: a.getShadowRoot,
|
|
@@ -376,7 +375,7 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
376
375
|
}, lr = function(t, a) {
|
|
377
376
|
a = a || {};
|
|
378
377
|
var r;
|
|
379
|
-
return a.getShadowRoot ? r =
|
|
378
|
+
return a.getShadowRoot ? r = Ut([t], a.includeContainer, {
|
|
380
379
|
filter: He.bind(null, a),
|
|
381
380
|
flatten: !0,
|
|
382
381
|
getShadowRoot: a.getShadowRoot
|
|
@@ -728,7 +727,7 @@ var Zt = {
|
|
|
728
727
|
}, T = function(s) {
|
|
729
728
|
var u = De(s);
|
|
730
729
|
g(u, s) >= 0 || Se(f.clickOutsideDeactivates, s) || Se(f.allowOutsideClick, s) || (s.preventDefault(), s.stopImmediatePropagation());
|
|
731
|
-
},
|
|
730
|
+
}, B = function() {
|
|
732
731
|
if (o.active)
|
|
733
732
|
return Zt.activateTrap(l, v), o.delayInitialFocusTimer = f.delayInitialFocus ? jt(function() {
|
|
734
733
|
S(C());
|
|
@@ -745,7 +744,7 @@ var Zt = {
|
|
|
745
744
|
capture: !0,
|
|
746
745
|
passive: !1
|
|
747
746
|
}), v;
|
|
748
|
-
},
|
|
747
|
+
}, U = function() {
|
|
749
748
|
if (o.active)
|
|
750
749
|
return r.removeEventListener("focusin", P, !0), r.removeEventListener("mousedown", Z, !0), r.removeEventListener("touchstart", Z, !0), r.removeEventListener("click", T, !0), r.removeEventListener("keydown", G, !0), v;
|
|
751
750
|
}, J = function(s) {
|
|
@@ -756,7 +755,7 @@ var Zt = {
|
|
|
756
755
|
});
|
|
757
756
|
});
|
|
758
757
|
u && S(C());
|
|
759
|
-
}, Y = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(J) : void 0,
|
|
758
|
+
}, Y = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(J) : void 0, W = function() {
|
|
760
759
|
Y && (Y.disconnect(), o.active && !o.paused && o.containers.map(function(s) {
|
|
761
760
|
Y.observe(s, {
|
|
762
761
|
subtree: !0,
|
|
@@ -777,7 +776,7 @@ var Zt = {
|
|
|
777
776
|
var u = h(s, "onActivate"), d = h(s, "onPostActivate"), p = h(s, "checkCanFocusTrap");
|
|
778
777
|
p || $(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, u == null || u();
|
|
779
778
|
var _ = function() {
|
|
780
|
-
p && $(),
|
|
779
|
+
p && $(), B(), W(), d == null || d();
|
|
781
780
|
};
|
|
782
781
|
return p ? (p(o.containers.concat()).then(_, _), this) : (_(), this);
|
|
783
782
|
},
|
|
@@ -789,7 +788,7 @@ var Zt = {
|
|
|
789
788
|
onPostDeactivate: f.onPostDeactivate,
|
|
790
789
|
checkCanReturnFocus: f.checkCanReturnFocus
|
|
791
790
|
}, s);
|
|
792
|
-
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0,
|
|
791
|
+
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, U(), o.active = !1, o.paused = !1, W(), Zt.deactivateTrap(l, v);
|
|
793
792
|
var d = h(u, "onDeactivate"), p = h(u, "onPostDeactivate"), _ = h(u, "checkCanReturnFocus"), N = h(u, "returnFocus", "returnFocusOnDeactivate");
|
|
794
793
|
d == null || d();
|
|
795
794
|
var x = function() {
|
|
@@ -803,19 +802,19 @@ var Zt = {
|
|
|
803
802
|
if (o.paused || !o.active)
|
|
804
803
|
return this;
|
|
805
804
|
var u = h(s, "onPause"), d = h(s, "onPostPause");
|
|
806
|
-
return o.paused = !0, u == null || u(),
|
|
805
|
+
return o.paused = !0, u == null || u(), U(), W(), d == null || d(), this;
|
|
807
806
|
},
|
|
808
807
|
unpause: function(s) {
|
|
809
808
|
if (!o.paused || !o.active)
|
|
810
809
|
return this;
|
|
811
810
|
var u = h(s, "onUnpause"), d = h(s, "onPostUnpause");
|
|
812
|
-
return o.paused = !1, u == null || u(), $(),
|
|
811
|
+
return o.paused = !1, u == null || u(), $(), B(), W(), d == null || d(), this;
|
|
813
812
|
},
|
|
814
813
|
updateContainerElements: function(s) {
|
|
815
814
|
var u = [].concat(s).filter(Boolean);
|
|
816
815
|
return o.containers = u.map(function(d) {
|
|
817
816
|
return typeof d == "string" ? r.querySelector(d) : d;
|
|
818
|
-
}), o.active && $(),
|
|
817
|
+
}), o.active && $(), W(), this;
|
|
819
818
|
}
|
|
820
819
|
}, v.updateContainerElements(t), v;
|
|
821
820
|
};
|
|
@@ -928,16 +927,16 @@ function Yt() {
|
|
|
928
927
|
}
|
|
929
928
|
};
|
|
930
929
|
}
|
|
931
|
-
var
|
|
930
|
+
var Re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
932
931
|
function Tr(n) {
|
|
933
932
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
934
933
|
}
|
|
935
934
|
var Ke = { exports: {} };
|
|
936
935
|
Ke.exports;
|
|
937
936
|
(function(n, t) {
|
|
938
|
-
var a = 200, r = "__lodash_hash_undefined__", l = 9007199254740991, f = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", h = "[object Date]", g = "[object Error]", E = "[object Function]", C = "[object GeneratorFunction]", $ = "[object Map]", S = "[object Number]", I = "[object Object]", V = "[object Promise]", Z = "[object RegExp]", P = "[object Set]", ee = "[object String]", G = "[object Symbol]", T = "[object WeakMap]",
|
|
939
|
-
y[f] = y[o] = y[
|
|
940
|
-
var se = typeof
|
|
937
|
+
var a = 200, r = "__lodash_hash_undefined__", l = 9007199254740991, f = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", h = "[object Date]", g = "[object Error]", E = "[object Function]", C = "[object GeneratorFunction]", $ = "[object Map]", S = "[object Number]", I = "[object Object]", V = "[object Promise]", Z = "[object RegExp]", P = "[object Set]", ee = "[object String]", G = "[object Symbol]", T = "[object WeakMap]", B = "[object ArrayBuffer]", U = "[object DataView]", J = "[object Float32Array]", Y = "[object Float64Array]", W = "[object Int8Array]", O = "[object Int16Array]", s = "[object Int32Array]", u = "[object Uint8Array]", d = "[object Uint8ClampedArray]", p = "[object Uint16Array]", _ = "[object Uint32Array]", N = /[\\^$.*+?()[\]{}|]/g, x = /\w*$/, L = /^\[object .+?Constructor\]$/, D = /^(?:0|[1-9]\d*)$/, y = {};
|
|
938
|
+
y[f] = y[o] = y[B] = y[U] = y[v] = y[h] = y[J] = y[Y] = y[W] = y[O] = y[s] = y[$] = y[S] = y[I] = y[Z] = y[P] = y[ee] = y[G] = y[u] = y[d] = y[p] = y[_] = !0, y[g] = y[E] = y[T] = !1;
|
|
939
|
+
var se = typeof Re == "object" && Re && Re.Object === Object && Re, te = typeof self == "object" && self && self.Object === Object && self, j = se || te || Function("return this")(), ye = t && !t.nodeType && t, ve = ye && !0 && n && !n.nodeType && n, _e = ve && ve.exports === ye;
|
|
941
940
|
function Jt(e, i) {
|
|
942
941
|
return e.set(i[0], i[1]), e;
|
|
943
942
|
}
|
|
@@ -950,14 +949,14 @@ Ke.exports;
|
|
|
950
949
|
return e;
|
|
951
950
|
}
|
|
952
951
|
function ta(e, i) {
|
|
953
|
-
for (var c = -1, b = i.length,
|
|
954
|
-
e[
|
|
952
|
+
for (var c = -1, b = i.length, R = e.length; ++c < b; )
|
|
953
|
+
e[R + c] = i[c];
|
|
955
954
|
return e;
|
|
956
955
|
}
|
|
957
956
|
function ft(e, i, c, b) {
|
|
958
|
-
var
|
|
959
|
-
for (b && H && (c = e[++
|
|
960
|
-
c = i(c, e[
|
|
957
|
+
var R = -1, H = e ? e.length : 0;
|
|
958
|
+
for (b && H && (c = e[++R]); ++R < H; )
|
|
959
|
+
c = i(c, e[R], R, e);
|
|
961
960
|
return c;
|
|
962
961
|
}
|
|
963
962
|
function aa(e, i) {
|
|
@@ -979,8 +978,8 @@ Ke.exports;
|
|
|
979
978
|
}
|
|
980
979
|
function bt(e) {
|
|
981
980
|
var i = -1, c = Array(e.size);
|
|
982
|
-
return e.forEach(function(b,
|
|
983
|
-
c[++i] = [
|
|
981
|
+
return e.forEach(function(b, R) {
|
|
982
|
+
c[++i] = [R, b];
|
|
984
983
|
}), c;
|
|
985
984
|
}
|
|
986
985
|
function Ve(e, i) {
|
|
@@ -999,7 +998,7 @@ Ke.exports;
|
|
|
999
998
|
return e ? "Symbol(src)_1." + e : "";
|
|
1000
999
|
}(), mt = ia.toString, oe = Ne.hasOwnProperty, xe = Ne.toString, oa = RegExp(
|
|
1001
1000
|
"^" + mt.call(oe).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1002
|
-
), gt = _e ? j.Buffer : void 0, yt = j.Symbol, _t = j.Uint8Array, sa = Ve(Object.getPrototypeOf, Object), ca = Object.create, la = Ne.propertyIsEnumerable, ua = ra.splice, wt = Object.getOwnPropertySymbols, da = gt ? gt.isBuffer : void 0, fa = Ve(Object.keys, Object),
|
|
1001
|
+
), gt = _e ? j.Buffer : void 0, yt = j.Symbol, _t = j.Uint8Array, sa = Ve(Object.getPrototypeOf, Object), ca = Object.create, la = Ne.propertyIsEnumerable, ua = ra.splice, wt = Object.getOwnPropertySymbols, da = gt ? gt.isBuffer : void 0, fa = Ve(Object.keys, Object), Ue = pe(j, "DataView"), we = pe(j, "Map"), We = pe(j, "Promise"), qe = pe(j, "Set"), Ye = pe(j, "WeakMap"), Te = pe(Object, "create"), va = ue(Ue), ba = ue(we), ha = ue(We), pa = ue(qe), ma = ue(Ye), Tt = yt ? yt.prototype : void 0, St = Tt ? Tt.valueOf : void 0;
|
|
1003
1002
|
function ce(e) {
|
|
1004
1003
|
var i = -1, c = e ? e.length : 0;
|
|
1005
1004
|
for (this.clear(); ++i < c; ) {
|
|
@@ -1095,10 +1094,10 @@ Ke.exports;
|
|
|
1095
1094
|
function Da(e) {
|
|
1096
1095
|
return this.__data__.delete(e);
|
|
1097
1096
|
}
|
|
1098
|
-
function
|
|
1097
|
+
function Ra(e) {
|
|
1099
1098
|
return this.__data__.get(e);
|
|
1100
1099
|
}
|
|
1101
|
-
function
|
|
1100
|
+
function Ba(e) {
|
|
1102
1101
|
return this.__data__.has(e);
|
|
1103
1102
|
}
|
|
1104
1103
|
function La(e, i) {
|
|
@@ -1111,11 +1110,11 @@ Ke.exports;
|
|
|
1111
1110
|
}
|
|
1112
1111
|
return c.set(e, i), this;
|
|
1113
1112
|
}
|
|
1114
|
-
he.prototype.clear = $a, he.prototype.delete = Da, he.prototype.get =
|
|
1113
|
+
he.prototype.clear = $a, he.prototype.delete = Da, he.prototype.get = Ra, he.prototype.has = Ba, he.prototype.set = La;
|
|
1115
1114
|
function Ma(e, i) {
|
|
1116
|
-
var c = Qe(e) || ln(e) ? aa(e.length, String) : [], b = c.length,
|
|
1115
|
+
var c = Qe(e) || ln(e) ? aa(e.length, String) : [], b = c.length, R = !!b;
|
|
1117
1116
|
for (var H in e)
|
|
1118
|
-
(i || oe.call(e, H)) && !(
|
|
1117
|
+
(i || oe.call(e, H)) && !(R && (H == "length" || rn(H, b))) && c.push(H);
|
|
1119
1118
|
return c;
|
|
1120
1119
|
}
|
|
1121
1120
|
function kt(e, i, c) {
|
|
@@ -1131,9 +1130,9 @@ Ke.exports;
|
|
|
1131
1130
|
function Pa(e, i) {
|
|
1132
1131
|
return e && It(i, et(i), e);
|
|
1133
1132
|
}
|
|
1134
|
-
function Xe(e, i, c, b,
|
|
1133
|
+
function Xe(e, i, c, b, R, H, X) {
|
|
1135
1134
|
var K;
|
|
1136
|
-
if (b && (K = H ? b(e,
|
|
1135
|
+
if (b && (K = H ? b(e, R, H, X) : b(e)), K !== void 0)
|
|
1137
1136
|
return K;
|
|
1138
1137
|
if (!Ae(e))
|
|
1139
1138
|
return e;
|
|
@@ -1204,11 +1203,11 @@ Ke.exports;
|
|
|
1204
1203
|
var c = i ? Je(e.buffer) : e.buffer;
|
|
1205
1204
|
return new e.constructor(c, e.byteOffset, e.byteLength);
|
|
1206
1205
|
}
|
|
1207
|
-
function
|
|
1206
|
+
function Ua(e, i, c) {
|
|
1208
1207
|
var b = i ? c(bt(e), !0) : bt(e);
|
|
1209
1208
|
return ft(b, Jt, new e.constructor());
|
|
1210
1209
|
}
|
|
1211
|
-
function
|
|
1210
|
+
function Wa(e) {
|
|
1212
1211
|
var i = new e.constructor(e.source, x.exec(e));
|
|
1213
1212
|
return i.lastIndex = e.lastIndex, i;
|
|
1214
1213
|
}
|
|
@@ -1231,8 +1230,8 @@ Ke.exports;
|
|
|
1231
1230
|
}
|
|
1232
1231
|
function It(e, i, c, b) {
|
|
1233
1232
|
c || (c = {});
|
|
1234
|
-
for (var
|
|
1235
|
-
var X = i[
|
|
1233
|
+
for (var R = -1, H = i.length; ++R < H; ) {
|
|
1234
|
+
var X = i[R], K = b ? b(c[X], e[X], X, c, e) : void 0;
|
|
1236
1235
|
kt(c, X, K === void 0 ? e[X] : K);
|
|
1237
1236
|
}
|
|
1238
1237
|
return c;
|
|
@@ -1252,12 +1251,12 @@ Ke.exports;
|
|
|
1252
1251
|
return Ka(c) ? c : void 0;
|
|
1253
1252
|
}
|
|
1254
1253
|
var Ot = wt ? Ve(wt, Object) : bn, le = Ha;
|
|
1255
|
-
(
|
|
1254
|
+
(Ue && le(new Ue(new ArrayBuffer(1))) != U || we && le(new we()) != $ || We && le(We.resolve()) != V || qe && le(new qe()) != P || Ye && le(new Ye()) != T) && (le = function(e) {
|
|
1256
1255
|
var i = xe.call(e), c = i == I ? e.constructor : void 0, b = c ? ue(c) : void 0;
|
|
1257
1256
|
if (b)
|
|
1258
1257
|
switch (b) {
|
|
1259
1258
|
case va:
|
|
1260
|
-
return
|
|
1259
|
+
return U;
|
|
1261
1260
|
case ba:
|
|
1262
1261
|
return $;
|
|
1263
1262
|
case ha:
|
|
@@ -1277,18 +1276,18 @@ Ke.exports;
|
|
|
1277
1276
|
return typeof e.constructor == "function" && !Ct(e) ? Za(sa(e)) : {};
|
|
1278
1277
|
}
|
|
1279
1278
|
function nn(e, i, c, b) {
|
|
1280
|
-
var
|
|
1279
|
+
var R = e.constructor;
|
|
1281
1280
|
switch (i) {
|
|
1282
|
-
case
|
|
1281
|
+
case B:
|
|
1283
1282
|
return Je(e);
|
|
1284
1283
|
case v:
|
|
1285
1284
|
case h:
|
|
1286
|
-
return new
|
|
1287
|
-
case
|
|
1285
|
+
return new R(+e);
|
|
1286
|
+
case U:
|
|
1288
1287
|
return Ga(e, b);
|
|
1289
1288
|
case J:
|
|
1290
1289
|
case Y:
|
|
1291
|
-
case
|
|
1290
|
+
case W:
|
|
1292
1291
|
case O:
|
|
1293
1292
|
case s:
|
|
1294
1293
|
case u:
|
|
@@ -1297,12 +1296,12 @@ Ke.exports;
|
|
|
1297
1296
|
case _:
|
|
1298
1297
|
return Xa(e, b);
|
|
1299
1298
|
case $:
|
|
1300
|
-
return
|
|
1299
|
+
return Ua(e, b, c);
|
|
1301
1300
|
case S:
|
|
1302
1301
|
case ee:
|
|
1303
|
-
return new
|
|
1302
|
+
return new R(e);
|
|
1304
1303
|
case Z:
|
|
1305
|
-
return
|
|
1304
|
+
return Wa(e);
|
|
1306
1305
|
case P:
|
|
1307
1306
|
return qa(e, b, c);
|
|
1308
1307
|
case G:
|
|
@@ -1456,16 +1455,16 @@ const kr = /* @__PURE__ */ Tr(Sr), Ir = {
|
|
|
1456
1455
|
setup(n, { emit: t }) {
|
|
1457
1456
|
const a = n;
|
|
1458
1457
|
ot((s) => ({
|
|
1459
|
-
"
|
|
1460
|
-
"
|
|
1461
|
-
|
|
1462
|
-
"
|
|
1463
|
-
"
|
|
1464
|
-
"
|
|
1465
|
-
"
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
"
|
|
1458
|
+
"0af5264e": o.value.mobileHeight,
|
|
1459
|
+
"733e958e": o.value.mobileTop,
|
|
1460
|
+
d6ef92cc: n.zIndex,
|
|
1461
|
+
"3b428a68": o.value.height,
|
|
1462
|
+
"25bb81d0": o.value.top,
|
|
1463
|
+
"555f0224": h.value.marginTop,
|
|
1464
|
+
"7fd8c0e8": v.value.display,
|
|
1465
|
+
54185682: v.value.minHeight,
|
|
1466
|
+
"00c1145f": g.value.top,
|
|
1467
|
+
"65f065a4": g.value.zIndex
|
|
1469
1468
|
}));
|
|
1470
1469
|
const r = st(), l = w(() => !!r.header), f = w(() => !!r.top), o = w(() => ({
|
|
1471
1470
|
mobileTop: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : a.topOffset ? `${a.topOffset}px` : "0",
|
|
@@ -1503,13 +1502,13 @@ const kr = /* @__PURE__ */ Tr(Sr), Ir = {
|
|
|
1503
1502
|
});
|
|
1504
1503
|
const { debounce: ee } = Yt(), G = ee(() => {
|
|
1505
1504
|
S.value && T.value !== (window == null ? void 0 : window.innerWidth) && (T.value = window == null ? void 0 : window.innerWidth, I(!1));
|
|
1506
|
-
}, 200), T = q(),
|
|
1507
|
-
|
|
1508
|
-
}, Y = q(null),
|
|
1505
|
+
}, 200), T = q(), B = q(!1), U = q(), J = () => {
|
|
1506
|
+
B.value || (B.value = !0, clearTimeout(U.value), U.value = setTimeout(() => B.value = !1, 1300));
|
|
1507
|
+
}, Y = q(null), W = w(() => S.value && a.mobileEnabled), O = async (s) => {
|
|
1509
1508
|
var u, d;
|
|
1510
1509
|
s ? (await Tn(), await new Promise((p) => setTimeout(p, 300)), (u = Y.value) == null || u.activate()) : (d = Y.value) == null || d.deactivate();
|
|
1511
1510
|
};
|
|
1512
|
-
return Me(
|
|
1511
|
+
return Me(W, async (s) => {
|
|
1513
1512
|
s ? await O(!0) : await O(!1);
|
|
1514
1513
|
}, { immediate: !0 }), ze(() => {
|
|
1515
1514
|
T.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", G), window.addEventListener("resize", J);
|
|
@@ -1535,7 +1534,7 @@ const kr = /* @__PURE__ */ Tr(Sr), Ir = {
|
|
|
1535
1534
|
"no-sidebar-header": !l.value,
|
|
1536
1535
|
"mobile-header-hidden": n.mobileEnabled && (!l.value || !n.mobileHeaderVisible),
|
|
1537
1536
|
"mobile-disabled": !n.mobileEnabled,
|
|
1538
|
-
"disable-transitions":
|
|
1537
|
+
"disable-transitions": B.value
|
|
1539
1538
|
}]),
|
|
1540
1539
|
tabindex: "-1"
|
|
1541
1540
|
}, [
|
|
@@ -1548,7 +1547,7 @@ const kr = /* @__PURE__ */ Tr(Sr), Ir = {
|
|
|
1548
1547
|
])) : M("", !0),
|
|
1549
1548
|
k("nav", Nr, [
|
|
1550
1549
|
C.value.length ? (m(), F("ul", xr, [
|
|
1551
|
-
(m(!0), F(Oe, null, Le(C.value, (d) => (m(), Q(
|
|
1550
|
+
(m(!0), F(Oe, null, Le(C.value, (d) => (m(), Q(Bt, {
|
|
1552
1551
|
key: d.name,
|
|
1553
1552
|
item: d,
|
|
1554
1553
|
onClick: P
|
|
@@ -1556,7 +1555,7 @@ const kr = /* @__PURE__ */ Tr(Sr), Ir = {
|
|
|
1556
1555
|
])) : M("", !0),
|
|
1557
1556
|
C.value.length && $.value.length ? (m(), F("div", Er)) : M("", !0),
|
|
1558
1557
|
$.value.length ? (m(), F("ul", Fr, [
|
|
1559
|
-
(m(!0), F(Oe, null, Le($.value, (d) => (m(), Q(
|
|
1558
|
+
(m(!0), F(Oe, null, Le($.value, (d) => (m(), Q(Bt, {
|
|
1560
1559
|
key: d.name,
|
|
1561
1560
|
item: d,
|
|
1562
1561
|
onClick: P
|
|
@@ -1574,8 +1573,8 @@ const kr = /* @__PURE__ */ Tr(Sr), Ir = {
|
|
|
1574
1573
|
], 64));
|
|
1575
1574
|
}
|
|
1576
1575
|
});
|
|
1577
|
-
const Dr = /* @__PURE__ */ ie($r, [["__scopeId", "data-v-
|
|
1578
|
-
|
|
1576
|
+
const Dr = /* @__PURE__ */ ie($r, [["__scopeId", "data-v-c7cf14c5"]]), dt = (n) => (lt("data-v-025d1560"), n = n(), ut(), n), Rr = ["aria-label", "onClick"], Br = /* @__PURE__ */ dt(() => /* @__PURE__ */ k("span", { class: "line" }, null, -1)), Lr = /* @__PURE__ */ dt(() => /* @__PURE__ */ k("span", { class: "line" }, null, -1)), Mr = /* @__PURE__ */ dt(() => /* @__PURE__ */ k("span", { class: "line" }, null, -1)), Pr = [
|
|
1577
|
+
Br,
|
|
1579
1578
|
Lr,
|
|
1580
1579
|
Mr
|
|
1581
1580
|
], Zr = /* @__PURE__ */ re({
|
|
@@ -1600,16 +1599,16 @@ const Dr = /* @__PURE__ */ ie($r, [["__scopeId", "data-v-6daf9f02"]]), dt = (n)
|
|
|
1600
1599
|
href: "#",
|
|
1601
1600
|
role: "button",
|
|
1602
1601
|
onClick: Sn(l, ["prevent"])
|
|
1603
|
-
}, Pr, 10,
|
|
1602
|
+
}, Pr, 10, Rr));
|
|
1604
1603
|
}
|
|
1605
1604
|
});
|
|
1606
|
-
const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-
|
|
1605
|
+
const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-025d1560"]]), Hr = "0px", Kr = "16px", zr = (n) => (lt("data-v-bf6a615f"), n = n(), ut(), n), Vr = { id: "kong-ui-app-layout-notification" }, Gr = { class: "mobile-logo" }, Ur = {
|
|
1607
1606
|
key: 0,
|
|
1608
1607
|
class: "navbar-logo"
|
|
1609
|
-
},
|
|
1608
|
+
}, Wr = {
|
|
1610
1609
|
class: "kong-ui-app-layout-main",
|
|
1611
1610
|
"data-testid": "kong-ui-app-layout-main"
|
|
1612
|
-
},
|
|
1611
|
+
}, qr = { class: "kong-ui-app-layout-content" }, Yr = { class: "kong-ui-app-layout-content-inner" }, Xr = /* @__PURE__ */ zr(() => /* @__PURE__ */ k("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), Jr = /* @__PURE__ */ re({
|
|
1613
1612
|
__name: "AppLayout",
|
|
1614
1613
|
props: {
|
|
1615
1614
|
hideDefaultSlot: {
|
|
@@ -1643,10 +1642,10 @@ const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-33b3f7c3"]]), Hr = (n)
|
|
|
1643
1642
|
setup(n, { emit: t }) {
|
|
1644
1643
|
const a = n;
|
|
1645
1644
|
ot((T) => ({
|
|
1646
|
-
"
|
|
1647
|
-
"
|
|
1645
|
+
"2267861a": V.value,
|
|
1646
|
+
"064bdbb4": Z.value
|
|
1648
1647
|
}));
|
|
1649
|
-
const r = st(), l =
|
|
1648
|
+
const r = st(), l = Be({
|
|
1650
1649
|
navbarLeft: w(() => !!r["navbar-left"]),
|
|
1651
1650
|
navbarCenter: w(() => !!r["navbar-center"]),
|
|
1652
1651
|
navbarRight: w(() => !!r["navbar-right"]),
|
|
@@ -1655,9 +1654,9 @@ const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-33b3f7c3"]]), Hr = (n)
|
|
|
1655
1654
|
sidebarHeader: w(() => !!r["sidebar-header"]),
|
|
1656
1655
|
sidebarTop: w(() => !!r["sidebar-top"]),
|
|
1657
1656
|
sidebarFooter: w(() => !!r["sidebar-footer"])
|
|
1658
|
-
}), f = w(() => a.hideDefaultSlot), o =
|
|
1657
|
+
}), f = w(() => a.hideDefaultSlot), o = Be({
|
|
1659
1658
|
hidden: w(() => a.navbarHidden)
|
|
1660
|
-
}), v =
|
|
1659
|
+
}), v = Be({
|
|
1661
1660
|
topItems: w(() => a.sidebarTopItems),
|
|
1662
1661
|
bottomItems: w(() => a.sidebarBottomItems),
|
|
1663
1662
|
open: w(() => a.sidebarOpen),
|
|
@@ -1670,42 +1669,42 @@ const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-33b3f7c3"]]), Hr = (n)
|
|
|
1670
1669
|
kn(() => {
|
|
1671
1670
|
g.value = In(v, "open").value || !1;
|
|
1672
1671
|
});
|
|
1673
|
-
const C = q(0), $ = q(60), S = q(0), I = w(() => o.hidden ? S.value : $.value + S.value), V = w(() => `${I.value}px`), Z = w(() => v.hidden || o.hidden ?
|
|
1672
|
+
const C = q(0), $ = q(60), S = q(0), I = w(() => o.hidden ? S.value : $.value + S.value), V = w(() => `${I.value}px`), Z = w(() => v.hidden || o.hidden ? Hr : Kr), { debounce: P } = Yt(), ee = P((T = !1) => {
|
|
1674
1673
|
if (T || C.value !== (window == null ? void 0 : window.innerWidth)) {
|
|
1675
1674
|
C.value = window == null ? void 0 : window.innerWidth;
|
|
1676
|
-
const
|
|
1677
|
-
|
|
1675
|
+
const B = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
1676
|
+
B && (S.value = B.offsetHeight);
|
|
1678
1677
|
}
|
|
1679
1678
|
}, 200), G = q();
|
|
1680
1679
|
return ze(() => {
|
|
1681
|
-
var
|
|
1682
|
-
(
|
|
1680
|
+
var B, U;
|
|
1681
|
+
(B = document == null ? void 0 : document.body) == null || B.classList.add("kong-ui-app-layout-body"), (U = document == null ? void 0 : document.documentElement) == null || U.classList.add("kong-ui-app-layout-html"), C.value = window == null ? void 0 : window.innerWidth, ee(!0);
|
|
1683
1682
|
const T = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
|
|
1684
1683
|
T && (G.value = new ResizeObserver((J) => {
|
|
1685
1684
|
window.requestAnimationFrame(() => {
|
|
1686
1685
|
if (!(!Array.isArray(J) || !J.length))
|
|
1687
1686
|
for (const Y of J) {
|
|
1688
|
-
const
|
|
1689
|
-
S.value !==
|
|
1687
|
+
const W = Y.contentRect.height;
|
|
1688
|
+
S.value !== W && (S.value = W);
|
|
1690
1689
|
}
|
|
1691
1690
|
});
|
|
1692
1691
|
}), G.value.observe(T)), window.addEventListener("resize", ee);
|
|
1693
1692
|
}), Kt(() => {
|
|
1694
1693
|
G.value && G.value.disconnect(), window.removeEventListener("resize", ee);
|
|
1695
|
-
}), (T,
|
|
1694
|
+
}), (T, B) => (m(), F("div", {
|
|
1696
1695
|
class: ne(["kong-ui-app-layout", [
|
|
1697
1696
|
{ "navbar-hidden": o.hidden },
|
|
1698
1697
|
{ "sidebar-hidden": v.hidden }
|
|
1699
1698
|
]])
|
|
1700
1699
|
}, [
|
|
1701
|
-
k("div",
|
|
1700
|
+
k("div", Vr, [
|
|
1702
1701
|
A(T.$slots, "notification", {}, void 0, !0)
|
|
1703
1702
|
]),
|
|
1704
|
-
o.hidden ? M("", !0) : (m(), Q(
|
|
1703
|
+
o.hidden ? M("", !0) : (m(), Q(Bn, {
|
|
1705
1704
|
key: String(v.hidden),
|
|
1706
1705
|
"left-offset": v.hidden ? 0 : void 0,
|
|
1707
1706
|
"top-offset": S.value
|
|
1708
|
-
},
|
|
1707
|
+
}, Rt({
|
|
1709
1708
|
"mobile-sidebar-toggle": z(() => [
|
|
1710
1709
|
v.hidden ? M("", !0) : (m(), Q(jr, {
|
|
1711
1710
|
key: 0,
|
|
@@ -1718,7 +1717,7 @@ const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-33b3f7c3"]]), Hr = (n)
|
|
|
1718
1717
|
l.navbarMobileLogo ? {
|
|
1719
1718
|
name: "mobile-logo",
|
|
1720
1719
|
fn: z(() => [
|
|
1721
|
-
k("div",
|
|
1720
|
+
k("div", Gr, [
|
|
1722
1721
|
A(T.$slots, "navbar-mobile-logo", {}, void 0, !0)
|
|
1723
1722
|
])
|
|
1724
1723
|
]),
|
|
@@ -1727,7 +1726,7 @@ const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-33b3f7c3"]]), Hr = (n)
|
|
|
1727
1726
|
l.navbarLogo ? {
|
|
1728
1727
|
name: "logo",
|
|
1729
1728
|
fn: z(() => [
|
|
1730
|
-
v.hidden ? (m(), F("div",
|
|
1729
|
+
v.hidden ? (m(), F("div", Ur, [
|
|
1731
1730
|
A(T.$slots, "navbar-logo", {}, void 0, !0)
|
|
1732
1731
|
])) : M("", !0)
|
|
1733
1732
|
]),
|
|
@@ -1767,7 +1766,7 @@ const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-33b3f7c3"]]), Hr = (n)
|
|
|
1767
1766
|
"top-offset": S.value,
|
|
1768
1767
|
onClick: h,
|
|
1769
1768
|
onToggle: E
|
|
1770
|
-
},
|
|
1769
|
+
}, Rt({ _: 2 }, [
|
|
1771
1770
|
l.sidebarHeader ? {
|
|
1772
1771
|
name: "header",
|
|
1773
1772
|
fn: z(() => [
|
|
@@ -1790,10 +1789,10 @@ const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-33b3f7c3"]]), Hr = (n)
|
|
|
1790
1789
|
key: "2"
|
|
1791
1790
|
} : void 0
|
|
1792
1791
|
]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
|
|
1793
|
-
k("main",
|
|
1794
|
-
k("div",
|
|
1795
|
-
k("div",
|
|
1796
|
-
|
|
1792
|
+
k("main", Wr, [
|
|
1793
|
+
k("div", qr, [
|
|
1794
|
+
k("div", Yr, [
|
|
1795
|
+
Xr,
|
|
1797
1796
|
A(T.$slots, "app-error", {}, void 0, !0),
|
|
1798
1797
|
f.value ? M("", !0) : A(T.$slots, "default", { key: 0 }, void 0, !0)
|
|
1799
1798
|
])
|
|
@@ -1802,7 +1801,7 @@ const jr = /* @__PURE__ */ ie(Zr, [["__scopeId", "data-v-33b3f7c3"]]), Hr = (n)
|
|
|
1802
1801
|
], 2));
|
|
1803
1802
|
}
|
|
1804
1803
|
});
|
|
1805
|
-
const
|
|
1804
|
+
const Qr = /* @__PURE__ */ ie(Jr, [["__scopeId", "data-v-bf6a615f"]]), ei = /* @__PURE__ */ re({
|
|
1806
1805
|
__name: "AccountDropdown",
|
|
1807
1806
|
props: {
|
|
1808
1807
|
options: {
|
|
@@ -1853,50 +1852,50 @@ const Xr = /* @__PURE__ */ ie(Yr, [["__scopeId", "data-v-c2f48dd9"]]), Jr = /* @
|
|
|
1853
1852
|
};
|
|
1854
1853
|
}
|
|
1855
1854
|
});
|
|
1856
|
-
const
|
|
1855
|
+
const bi = /* @__PURE__ */ ie(ei, [["__scopeId", "data-v-e23c42c4"]]), ti = {}, ai = {
|
|
1857
1856
|
fill: "none",
|
|
1858
1857
|
height: "130",
|
|
1859
1858
|
width: "130",
|
|
1860
1859
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1861
|
-
},
|
|
1862
|
-
|
|
1860
|
+
}, ni = /* @__PURE__ */ On('<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), ri = [
|
|
1861
|
+
ni
|
|
1863
1862
|
];
|
|
1864
|
-
function
|
|
1865
|
-
return m(), F("svg",
|
|
1863
|
+
function ii(n, t) {
|
|
1864
|
+
return m(), F("svg", ai, ri);
|
|
1866
1865
|
}
|
|
1867
|
-
const
|
|
1866
|
+
const oi = /* @__PURE__ */ ie(ti, [["render", ii]]), Xt = (n) => (lt("data-v-ace4c061"), n = n(), ut(), n), si = { class: "kong-ui-app-error" }, ci = { class: "banana-icon" }, li = { class: "kong-ui-app-error-content" }, ui = /* @__PURE__ */ Xt(() => /* @__PURE__ */ k("h2", null, "An unexpected error has occurred", -1)), di = /* @__PURE__ */ Xt(() => /* @__PURE__ */ k("p", null, [
|
|
1868
1867
|
/* @__PURE__ */ rt("Go back to the previous page or "),
|
|
1869
1868
|
/* @__PURE__ */ k("a", { href: "/" }, "return home"),
|
|
1870
1869
|
/* @__PURE__ */ rt(".")
|
|
1871
|
-
], -1)),
|
|
1870
|
+
], -1)), fi = /* @__PURE__ */ re({
|
|
1872
1871
|
__name: "AppError",
|
|
1873
1872
|
setup(n) {
|
|
1874
|
-
return (t, a) => (m(), F("section",
|
|
1875
|
-
k("div",
|
|
1876
|
-
ct(
|
|
1873
|
+
return (t, a) => (m(), F("section", si, [
|
|
1874
|
+
k("div", ci, [
|
|
1875
|
+
ct(oi)
|
|
1877
1876
|
]),
|
|
1878
|
-
k("div",
|
|
1877
|
+
k("div", li, [
|
|
1879
1878
|
A(t.$slots, "default", {}, () => [
|
|
1880
|
-
|
|
1881
|
-
|
|
1879
|
+
ui,
|
|
1880
|
+
di
|
|
1882
1881
|
], !0)
|
|
1883
1882
|
])
|
|
1884
1883
|
]));
|
|
1885
1884
|
}
|
|
1886
1885
|
});
|
|
1887
|
-
const
|
|
1886
|
+
const hi = /* @__PURE__ */ ie(fi, [["__scopeId", "data-v-ace4c061"]]), pi = {
|
|
1888
1887
|
// Customize Vue plugin options as desired
|
|
1889
1888
|
// Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
|
|
1890
1889
|
install: (n, t = {}) => {
|
|
1891
|
-
n.component(t.name || "AppLayout",
|
|
1890
|
+
n.component(t.name || "AppLayout", Qr);
|
|
1892
1891
|
}
|
|
1893
1892
|
};
|
|
1894
1893
|
export {
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1894
|
+
bi as AccountDropdown,
|
|
1895
|
+
hi as AppError,
|
|
1896
|
+
Qr as AppLayout,
|
|
1897
|
+
Bn as AppNavbar,
|
|
1899
1898
|
Dr as AppSidebar,
|
|
1900
1899
|
jr as SidebarToggle,
|
|
1901
|
-
|
|
1900
|
+
pi as default
|
|
1902
1901
|
};
|
package/dist/app-layout.umd.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function(M,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(M=typeof globalThis<"u"?globalThis:M||self,t(M["kong-ui-public-app-layout"]={},M.Vue))})(this,function(M,t){"use strict";const
|
|
1
|
+
(function(M,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(M=typeof globalThis<"u"?globalThis:M||self,t(M["kong-ui-public-app-layout"]={},M.Vue))})(this,function(M,t){"use strict";const At={class:"kong-ui-app-navbar"},Ft={class:"header-content"},$t={class:"mobile-header-left"},Dt={key:0,class:"app-navbar-logo"},Vt={class:"navbar-content"},Rt={class:"navbar-content-left"},Lt={class:"navbar-content-center"},Mt={class:"navbar-content-right"},Pt=t.defineComponent({__name:"AppNavbar",props:{topOffset:{type:Number,default:0},leftOffset:{type:Number,default:240},zIndex:{type:Number,default:3}},setup(r){const n=r;t.useCssVars(c=>({"504340bc":p.value.top,"31fdd1ea":p.value.zIndex,"23e9cb5a":p.value.left,d856edbc:d.marginRight,"53daa64c":d.width}));const a=t.useSlots(),o=t.computed(()=>!!a.logo),d=t.reactive({marginRight:"0",width:"0"});t.onMounted(()=>{var c,b;(b=(c=document==null?void 0:document.querySelector(".kong-ui-app-navbar .app-navbar-logo"))==null?void 0:c.children)!=null&&b.length?(d.marginRight="32px",d.width="calc(240px - 32px)"):(d.marginRight="0",d.width="0")});const p=t.computed(()=>({top:n.topOffset?`${n.topOffset}px`:"0",left:n.leftOffset?`${n.leftOffset}px`:"0",zIndex:n.zIndex}));return(c,b)=>(t.openBlock(),t.createElementBlock("header",At,[t.createElementVNode("div",Ft,[t.createElementVNode("div",$t,[t.renderSlot(c.$slots,"mobile-sidebar-toggle"),t.renderSlot(c.$slots,"mobile-logo")]),o.value?(t.openBlock(),t.createElementBlock("div",Dt,[t.renderSlot(c.$slots,"logo")])):t.createCommentVNode("",!0),t.createElementVNode("div",Vt,[t.createElementVNode("div",Rt,[t.renderSlot(c.$slots,"left")]),t.createElementVNode("div",Lt,[t.renderSlot(c.$slots,"center")]),t.createElementVNode("div",Mt,[t.renderSlot(c.$slots,"right")])])])]))}}),xr="",q=(r,n)=>{const a=r.__vccOpts||r;for(const[o,d]of n)a[o]=d;return a},Ke=q(Pt,[["__scopeId","data-v-19ca63a4"]]),Zt=["title"],Be=99,jt=t.defineComponent({__name:"ItemBadge",props:{count:{type:Number,required:!0,default:void 0}},setup(r){const n=r,a=t.computed(()=>n.count?n.count>Be?`${Be}+`:n.count.toString():"");return(o,d)=>a.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"item-badge",title:(r.count||0)>Be?String(r.count):void 0},t.toDisplayString(a.value),9,Zt)):t.createCommentVNode("",!0)}}),Ar="",Ht=q(jt,[["__scopeId","data-v-97e30521"]]),Kt=["data-testid"],zt=["aria-controls","aria-expanded","href","target","onClick","onKeypress"],Ut={key:0,class:"sidebar-item-icon"},Gt={class:"sidebar-item-name-container"},Wt={class:"sidebar-item-name has-tooltip"},qt={key:2,class:"sidebar-item-label truncate-text truncate-18"},Yt=["id"],Xt=t.defineComponent({__name:"SidebarItem",props:{item:{type:Object,required:!0},subnavItem:{type:Boolean,default:!1}},emits:["click"],setup(r,{emit:n}){const a=r,o=t.computed(()=>typeof a.item.to!="string"?!1:!!a.item.newWindow||!!a.item.external||a.item.to.startsWith("http")),d=t.computed(()=>!a.item.to||typeof a.item.to!="string"||!a.item.newWindow?!1:a.item.newWindow&&(a.item.to.startsWith("http")||a.item.to.startsWith("/"))),p=t.computed(()=>a.subnavItem&&a.item.badgeCount!==void 0),c=h=>{n("click",h)},b=(h,g,I)=>{c(g),typeof I=="function"&&(h.preventDefault(),I())};return(h,g)=>{var k;const I=t.resolveComponent("KIcon"),C=t.resolveComponent("KTooltip"),B=t.resolveComponent("SidebarItem",!0);return t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass([r.subnavItem?"sidebar-item-secondary":"sidebar-item-primary",{expanded:r.item.expanded},{active:r.item.active}]),"data-testid":r.item.testId?`sidebar-item-${r.item.testId}`:void 0},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value?"div":"router-link"),{custom:o.value?void 0:!0,to:!o.value&&!d.value?r.item.to:void 0},{default:t.withCtx(S=>{var P,D;return[t.createElementVNode("a",{"aria-controls":(P=r.item.items)!=null&&P.length&&r.item.expanded?`subnav-${r.item.key}`:void 0,"aria-expanded":(D=r.item.items)!=null&&D.length&&r.item.expanded?!0:void 0,class:t.normalizeClass(["sidebar-item-link",{"sidebar-item-external-link":d.value,"router-link":!o.value}]),href:o.value?String(r.item.to||"#"):S==null?void 0:S.href,target:d.value?"_blank":void 0,onClick:$=>b($,r.item,S==null?void 0:S.navigate),onKeypress:t.withKeys($=>b($,r.item,S==null?void 0:S.navigate),["enter"])},[t.createElementVNode("div",{class:t.normalizeClass(["sidebar-item-display",{"has-label":!!r.item.label&&r.item.expanded,"has-badge":p.value}])},[r.item.icon?(t.openBlock(),t.createElementBlock("div",Ut,[t.createVNode(I,{icon:String(r.item.icon),size:"20"},null,8,["icon"])])):t.createCommentVNode("",!0),t.createElementVNode("div",Gt,[(r.subnavItem?r.item.name.length<25:r.item.name.length<18)?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["sidebar-item-name truncate-text",[r.subnavItem?"has-badge-max-width truncate-24":"truncate-17"]])},t.toDisplayString(r.item.name),3)):(t.openBlock(),t.createBlock(C,{key:1,class:"sidebar-item-tooltip",label:r.item.name,placement:"right","position-fixed":""},{default:t.withCtx(()=>[t.createElementVNode("div",Wt,[t.createElementVNode("span",{class:t.normalizeClass(["truncate-text",[r.subnavItem?"truncate-18":"truncate-17",{"has-badge-max-width":p.value}]])},t.toDisplayString(r.item.name),3)])]),_:1},8,["label"])),r.item.label&&r.item.expanded?(t.openBlock(),t.createElementBlock("div",qt,t.toDisplayString(r.item.label),1)):t.createCommentVNode("",!0)]),p.value?(t.openBlock(),t.createBlock(Ht,{key:1,count:r.item.badgeCount},null,8,["count"])):t.createCommentVNode("",!0)],2)],42,zt)]}),_:1},8,["custom","to"])),(k=r.item.items)!=null&&k.length&&r.item.expanded?(t.openBlock(),t.createElementBlock("ul",{key:0,id:`subnav-${r.item.key}`,class:"level-secondary"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.item.items,S=>(t.openBlock(),t.createBlock(B,{key:S.name,item:S,"subnav-item":!0,onClick:P=>c(S)},null,8,["item","onClick"]))),128))],8,Yt)):t.createCommentVNode("",!0)],10,Kt)}}}),Fr="",$r="",ze=q(Xt,[["__scopeId","data-v-aa7b9a27"]]);/*!
|
|
2
2
|
* tabbable 6.2.0
|
|
3
3
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
-
*/var
|
|
4
|
+
*/var Ue=["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])"],he=Ue.join(","),Ge=typeof Element>"u",J=Ge?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ve=!Ge&&Element.prototype.getRootNode?function(r){var n;return r==null||(n=r.getRootNode)===null||n===void 0?void 0:n.call(r)}:function(r){return r==null?void 0:r.ownerDocument},ge=function r(n,a){var o;a===void 0&&(a=!0);var d=n==null||(o=n.getAttribute)===null||o===void 0?void 0:o.call(n,"inert"),p=d===""||d==="true",c=p||a&&n&&r(n.parentNode);return c},Jt=function(n){var a,o=n==null||(a=n.getAttribute)===null||a===void 0?void 0:a.call(n,"contenteditable");return o===""||o==="true"},We=function(n,a,o){if(ge(n))return[];var d=Array.prototype.slice.apply(n.querySelectorAll(he));return a&&J.call(n,he)&&d.unshift(n),d=d.filter(o),d},qe=function r(n,a,o){for(var d=[],p=Array.from(n);p.length;){var c=p.shift();if(!ge(c,!1))if(c.tagName==="SLOT"){var b=c.assignedElements(),h=b.length?b:c.children,g=r(h,!0,o);o.flatten?d.push.apply(d,g):d.push({scopeParent:c,candidates:g})}else{var I=J.call(c,he);I&&o.filter(c)&&(a||!n.includes(c))&&d.push(c);var C=c.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(c),B=!ge(C,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(C&&B){var k=r(C===!0?c.children:C.children,!0,o);o.flatten?d.push.apply(d,k):d.push({scopeParent:c,candidates:k})}else p.unshift.apply(p,c.children)}}return d},Ye=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},Q=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||Jt(n))&&!Ye(n)?0:n.tabIndex},Qt=function(n,a){var o=Q(n);return o<0&&a&&!Ye(n)?0:o},en=function(n,a){return n.tabIndex===a.tabIndex?n.documentOrder-a.documentOrder:n.tabIndex-a.tabIndex},Xe=function(n){return n.tagName==="INPUT"},tn=function(n){return Xe(n)&&n.type==="hidden"},nn=function(n){var a=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(o){return o.tagName==="SUMMARY"});return a},an=function(n,a){for(var o=0;o<n.length;o++)if(n[o].checked&&n[o].form===a)return n[o]},rn=function(n){if(!n.name)return!0;var a=n.form||ve(n),o=function(b){return a.querySelectorAll('input[type="radio"][name="'+b+'"]')},d;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")d=o(window.CSS.escape(n.name));else try{d=o(n.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 p=an(d,n.form);return!p||p===n},on=function(n){return Xe(n)&&n.type==="radio"},cn=function(n){return on(n)&&!rn(n)},ln=function(n){var a,o=n&&ve(n),d=(a=o)===null||a===void 0?void 0:a.host,p=!1;if(o&&o!==n){var c,b,h;for(p=!!((c=d)!==null&&c!==void 0&&(b=c.ownerDocument)!==null&&b!==void 0&&b.contains(d)||n!=null&&(h=n.ownerDocument)!==null&&h!==void 0&&h.contains(n));!p&&d;){var g,I,C;o=ve(d),d=(g=o)===null||g===void 0?void 0:g.host,p=!!((I=d)!==null&&I!==void 0&&(C=I.ownerDocument)!==null&&C!==void 0&&C.contains(d))}}return p},Je=function(n){var a=n.getBoundingClientRect(),o=a.width,d=a.height;return o===0&&d===0},sn=function(n,a){var o=a.displayCheck,d=a.getShadowRoot;if(getComputedStyle(n).visibility==="hidden")return!0;var p=J.call(n,"details>summary:first-of-type"),c=p?n.parentElement:n;if(J.call(c,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof d=="function"){for(var b=n;n;){var h=n.parentElement,g=ve(n);if(h&&!h.shadowRoot&&d(h)===!0)return Je(n);n.assignedSlot?n=n.assignedSlot:!h&&g!==n.ownerDocument?n=g.host:n=h}n=b}if(ln(n))return!n.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return Je(n);return!1},dn=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var a=n.parentElement;a;){if(a.tagName==="FIELDSET"&&a.disabled){for(var o=0;o<a.children.length;o++){var d=a.children.item(o);if(d.tagName==="LEGEND")return J.call(a,"fieldset[disabled] *")?!0:!d.contains(n)}return!0}a=a.parentElement}return!1},ye=function(n,a){return!(a.disabled||ge(a)||tn(a)||sn(a,n)||nn(a)||dn(a))},Oe=function(n,a){return!(cn(a)||Q(a)<0||!ye(n,a))},un=function(n){var a=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(a)||a>=0)},fn=function r(n){var a=[],o=[];return n.forEach(function(d,p){var c=!!d.scopeParent,b=c?d.scopeParent:d,h=Qt(b,c),g=c?r(d.candidates):b;h===0?c?a.push.apply(a,g):a.push(b):o.push({documentOrder:p,tabIndex:h,item:d,isScope:c,content:g})}),o.sort(en).reduce(function(d,p){return p.isScope?d.push.apply(d,p.content):d.push(p.content),d},[]).concat(a)},pn=function(n,a){a=a||{};var o;return a.getShadowRoot?o=qe([n],a.includeContainer,{filter:Oe.bind(null,a),flatten:!1,getShadowRoot:a.getShadowRoot,shadowRootFilter:un}):o=We(n,a.includeContainer,Oe.bind(null,a)),fn(o)},bn=function(n,a){a=a||{};var o;return a.getShadowRoot?o=qe([n],a.includeContainer,{filter:ye.bind(null,a),flatten:!0,getShadowRoot:a.getShadowRoot}):o=We(n,a.includeContainer,ye.bind(null,a)),o},re=function(n,a){if(a=a||{},!n)throw new Error("No node provided");return J.call(n,he)===!1?!1:Oe(a,n)},mn=Ue.concat("iframe").join(","),xe=function(n,a){if(a=a||{},!n)throw new Error("No node provided");return J.call(n,mn)===!1?!1:ye(a,n)};/*!
|
|
5
5
|
* focus-trap 7.5.2
|
|
6
6
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
-
*/function Qe(r,n){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);n&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(r,d).enumerable})),a.push.apply(a,o)}return a}function et(r){for(var n=1;n<arguments.length;n++){var a=arguments[n]!=null?arguments[n]:{};n%2?Qe(Object(a),!0).forEach(function(o){hn(r,o,a[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):Qe(Object(a)).forEach(function(o){Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(a,o))})}return r}function hn(r,n,a){return n=gn(n),n in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a,r}function vn(r,n){if(typeof r!="object"||r===null)return r;var a=r[Symbol.toPrimitive];if(a!==void 0){var o=a.call(r,n||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)}function gn(r){var n=vn(r,"string");return typeof n=="symbol"?n:String(n)}var tt={activateTrap:function(n,a){if(n.length>0){var o=n[n.length-1];o!==a&&o.pause()}var d=n.indexOf(a);d===-1||n.splice(d,1),n.push(a)},deactivateTrap:function(n,a){var o=n.indexOf(a);o!==-1&&n.splice(o,1),n.length>0&&n[n.length-1].unpause()}},yn=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},_n=function(n){return(n==null?void 0:n.key)==="Escape"||(n==null?void 0:n.key)==="Esc"||(n==null?void 0:n.keyCode)===27},de=function(n){return(n==null?void 0:n.key)==="Tab"||(n==null?void 0:n.keyCode)===9},wn=function(n){return de(n)&&!n.shiftKey},kn=function(n){return de(n)&&n.shiftKey},nt=function(n){return setTimeout(n,0)},at=function(n,a){var o=-1;return n.every(function(d,p){return a(d)?(o=p,!1):!0}),o},ue=function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),d=1;d<a;d++)o[d-1]=arguments[d];return typeof n=="function"?n.apply(void 0,o):n},_e=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},Sn=[],Tn=function(n,a){var o=(a==null?void 0:a.document)||document,d=(a==null?void 0:a.trapStack)||Sn,p=et({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:wn,isKeyBackward:kn},a),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,h=function(l,u,f){return l&&l[u]!==void 0?l[u]:p[f||u]},g=function(l,u){var f=typeof(u==null?void 0:u.composedPath)=="function"?u.composedPath():void 0;return c.containerGroups.findIndex(function(v){var _=v.container,N=v.tabbableNodes;return _.contains(l)||(f==null?void 0:f.includes(_))||N.find(function(E){return E===l})})},I=function(l){var u=p[l];if(typeof u=="function"){for(var f=arguments.length,v=new Array(f>1?f-1:0),_=1;_<f;_++)v[_-1]=arguments[_];u=u.apply(void 0,v)}if(u===!0&&(u=void 0),!u){if(u===void 0||u===!1)return u;throw new Error("`".concat(l,"` was specified but was not a node, or did not return a node"))}var N=u;if(typeof u=="string"&&(N=o.querySelector(u),!N))throw new Error("`".concat(l,"` as selector refers to no known node"));return N},C=function(){var l=I("initialFocus");if(l===!1)return!1;if(l===void 0||!xe(l,p.tabbableOptions))if(g(o.activeElement)>=0)l=o.activeElement;else{var u=c.tabbableGroups[0],f=u&&u.firstTabbableNode;l=f||I("fallbackFocus")}if(!l)throw new Error("Your focus-trap needs to have at least one focusable element");return l},B=function(){if(c.containerGroups=c.containers.map(function(l){var u=pn(l,p.tabbableOptions),f=bn(l,p.tabbableOptions),v=u.length>0?u[0]:void 0,_=u.length>0?u[u.length-1]:void 0,N=f.find(function(O){return re(O)}),E=f.slice().reverse().find(function(O){return re(O)}),
|
|
7
|
+
*/function Qe(r,n){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);n&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(r,d).enumerable})),a.push.apply(a,o)}return a}function et(r){for(var n=1;n<arguments.length;n++){var a=arguments[n]!=null?arguments[n]:{};n%2?Qe(Object(a),!0).forEach(function(o){hn(r,o,a[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):Qe(Object(a)).forEach(function(o){Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(a,o))})}return r}function hn(r,n,a){return n=gn(n),n in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a,r}function vn(r,n){if(typeof r!="object"||r===null)return r;var a=r[Symbol.toPrimitive];if(a!==void 0){var o=a.call(r,n||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)}function gn(r){var n=vn(r,"string");return typeof n=="symbol"?n:String(n)}var tt={activateTrap:function(n,a){if(n.length>0){var o=n[n.length-1];o!==a&&o.pause()}var d=n.indexOf(a);d===-1||n.splice(d,1),n.push(a)},deactivateTrap:function(n,a){var o=n.indexOf(a);o!==-1&&n.splice(o,1),n.length>0&&n[n.length-1].unpause()}},yn=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},_n=function(n){return(n==null?void 0:n.key)==="Escape"||(n==null?void 0:n.key)==="Esc"||(n==null?void 0:n.keyCode)===27},de=function(n){return(n==null?void 0:n.key)==="Tab"||(n==null?void 0:n.keyCode)===9},wn=function(n){return de(n)&&!n.shiftKey},kn=function(n){return de(n)&&n.shiftKey},nt=function(n){return setTimeout(n,0)},at=function(n,a){var o=-1;return n.every(function(d,p){return a(d)?(o=p,!1):!0}),o},ue=function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),d=1;d<a;d++)o[d-1]=arguments[d];return typeof n=="function"?n.apply(void 0,o):n},_e=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},Sn=[],Tn=function(n,a){var o=(a==null?void 0:a.document)||document,d=(a==null?void 0:a.trapStack)||Sn,p=et({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:wn,isKeyBackward:kn},a),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,h=function(l,u,f){return l&&l[u]!==void 0?l[u]:p[f||u]},g=function(l,u){var f=typeof(u==null?void 0:u.composedPath)=="function"?u.composedPath():void 0;return c.containerGroups.findIndex(function(v){var _=v.container,N=v.tabbableNodes;return _.contains(l)||(f==null?void 0:f.includes(_))||N.find(function(E){return E===l})})},I=function(l){var u=p[l];if(typeof u=="function"){for(var f=arguments.length,v=new Array(f>1?f-1:0),_=1;_<f;_++)v[_-1]=arguments[_];u=u.apply(void 0,v)}if(u===!0&&(u=void 0),!u){if(u===void 0||u===!1)return u;throw new Error("`".concat(l,"` was specified but was not a node, or did not return a node"))}var N=u;if(typeof u=="string"&&(N=o.querySelector(u),!N))throw new Error("`".concat(l,"` as selector refers to no known node"));return N},C=function(){var l=I("initialFocus");if(l===!1)return!1;if(l===void 0||!xe(l,p.tabbableOptions))if(g(o.activeElement)>=0)l=o.activeElement;else{var u=c.tabbableGroups[0],f=u&&u.firstTabbableNode;l=f||I("fallbackFocus")}if(!l)throw new Error("Your focus-trap needs to have at least one focusable element");return l},B=function(){if(c.containerGroups=c.containers.map(function(l){var u=pn(l,p.tabbableOptions),f=bn(l,p.tabbableOptions),v=u.length>0?u[0]:void 0,_=u.length>0?u[u.length-1]:void 0,N=f.find(function(O){return re(O)}),E=f.slice().reverse().find(function(O){return re(O)}),F=!!u.find(function(O){return Q(O)>0});return{container:l,tabbableNodes:u,focusableNodes:f,posTabIndexesFound:F,firstTabbableNode:v,lastTabbableNode:_,firstDomTabbableNode:N,lastDomTabbableNode:E,nextTabbableNode:function(y){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,W=u.indexOf(y);return W<0?ee?f.slice(f.indexOf(y)+1).find(function(V){return re(V)}):f.slice(0,f.indexOf(y)).reverse().find(function(V){return re(V)}):u[W+(ee?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(l){return l.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!I("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(l){return l.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.")},k=function T(l){if(l!==!1&&l!==o.activeElement){if(!l||!l.focus){T(C());return}l.focus({preventScroll:!!p.preventScroll}),c.mostRecentlyFocusedNode=l,yn(l)&&l.select()}},S=function(l){var u=I("setReturnFocus",l);return u||(u===!1?!1:l)},P=function(l){var u=l.target,f=l.event,v=l.isBackward,_=v===void 0?!1:v;u=u||_e(f),B();var N=null;if(c.tabbableGroups.length>0){var E=g(u,f),F=E>=0?c.containerGroups[E]:void 0;if(E<0)_?N=c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:N=c.tabbableGroups[0].firstTabbableNode;else if(_){var O=at(c.tabbableGroups,function(oe){var pe=oe.firstTabbableNode;return u===pe});if(O<0&&(F.container===u||xe(u,p.tabbableOptions)&&!re(u,p.tabbableOptions)&&!F.nextTabbableNode(u,!1))&&(O=E),O>=0){var y=O===0?c.tabbableGroups.length-1:O-1,ee=c.tabbableGroups[y];N=Q(u)>=0?ee.lastTabbableNode:ee.lastDomTabbableNode}else de(f)||(N=F.nextTabbableNode(u,!1))}else{var W=at(c.tabbableGroups,function(oe){var pe=oe.lastTabbableNode;return u===pe});if(W<0&&(F.container===u||xe(u,p.tabbableOptions)&&!re(u,p.tabbableOptions)&&!F.nextTabbableNode(u))&&(W=E),W>=0){var V=W===c.tabbableGroups.length-1?0:W+1,fe=c.tabbableGroups[V];N=Q(u)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else de(f)||(N=F.nextTabbableNode(u))}}else N=I("fallbackFocus");return N},D=function(l){var u=_e(l);if(!(g(u,l)>=0)){if(ue(p.clickOutsideDeactivates,l)){b.deactivate({returnFocus:p.returnFocusOnDeactivate});return}ue(p.allowOutsideClick,l)||l.preventDefault()}},$=function(l){var u=_e(l),f=g(u,l)>=0;if(f||u instanceof Document)f&&(c.mostRecentlyFocusedNode=u);else{l.stopImmediatePropagation();var v,_=!0;if(c.mostRecentlyFocusedNode)if(Q(c.mostRecentlyFocusedNode)>0){var N=g(c.mostRecentlyFocusedNode),E=c.containerGroups[N].tabbableNodes;if(E.length>0){var F=E.findIndex(function(O){return O===c.mostRecentlyFocusedNode});F>=0&&(p.isKeyForward(c.recentNavEvent)?F+1<E.length&&(v=E[F+1],_=!1):F-1>=0&&(v=E[F-1],_=!1))}}else c.containerGroups.some(function(O){return O.tabbableNodes.some(function(y){return Q(y)>0})})||(_=!1);else _=!1;_&&(v=P({target:c.mostRecentlyFocusedNode,isBackward:p.isKeyBackward(c.recentNavEvent)})),k(v||c.mostRecentlyFocusedNode||C())}c.recentNavEvent=void 0},G=function(l){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.recentNavEvent=l;var f=P({event:l,isBackward:u});f&&(de(l)&&l.preventDefault(),k(f))},Z=function(l){if(_n(l)&&ue(p.escapeDeactivates,l)!==!1){l.preventDefault(),b.deactivate();return}(p.isKeyForward(l)||p.isKeyBackward(l))&&G(l,p.isKeyBackward(l))},w=function(l){var u=_e(l);g(u,l)>=0||ue(p.clickOutsideDeactivates,l)||ue(p.allowOutsideClick,l)||(l.preventDefault(),l.stopImmediatePropagation())},A=function(){if(c.active)return tt.activateTrap(d,b),c.delayInitialFocusTimer=p.delayInitialFocus?nt(function(){k(C())}):k(C()),o.addEventListener("focusin",$,!0),o.addEventListener("mousedown",D,{capture:!0,passive:!1}),o.addEventListener("touchstart",D,{capture:!0,passive:!1}),o.addEventListener("click",w,{capture:!0,passive:!1}),o.addEventListener("keydown",Z,{capture:!0,passive:!1}),b},j=function(){if(c.active)return o.removeEventListener("focusin",$,!0),o.removeEventListener("mousedown",D,!0),o.removeEventListener("touchstart",D,!0),o.removeEventListener("click",w,!0),o.removeEventListener("keydown",Z,!0),b},U=function(l){var u=l.some(function(f){var v=Array.from(f.removedNodes);return v.some(function(_){return _===c.mostRecentlyFocusedNode})});u&&k(C())},K=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(U):void 0,H=function(){K&&(K.disconnect(),c.active&&!c.paused&&c.containers.map(function(l){K.observe(l,{subtree:!0,childList:!0})}))};return b={get active(){return c.active},get paused(){return c.paused},activate:function(l){if(c.active)return this;var u=h(l,"onActivate"),f=h(l,"onPostActivate"),v=h(l,"checkCanFocusTrap");v||B(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=o.activeElement,u==null||u();var _=function(){v&&B(),A(),H(),f==null||f()};return v?(v(c.containers.concat()).then(_,_),this):(_(),this)},deactivate:function(l){if(!c.active)return this;var u=et({onDeactivate:p.onDeactivate,onPostDeactivate:p.onPostDeactivate,checkCanReturnFocus:p.checkCanReturnFocus},l);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,j(),c.active=!1,c.paused=!1,H(),tt.deactivateTrap(d,b);var f=h(u,"onDeactivate"),v=h(u,"onPostDeactivate"),_=h(u,"checkCanReturnFocus"),N=h(u,"returnFocus","returnFocusOnDeactivate");f==null||f();var E=function(){nt(function(){N&&k(S(c.nodeFocusedBeforeActivation)),v==null||v()})};return N&&_?(_(S(c.nodeFocusedBeforeActivation)).then(E,E),this):(E(),this)},pause:function(l){if(c.paused||!c.active)return this;var u=h(l,"onPause"),f=h(l,"onPostPause");return c.paused=!0,u==null||u(),j(),H(),f==null||f(),this},unpause:function(l){if(!c.paused||!c.active)return this;var u=h(l,"onUnpause"),f=h(l,"onPostUnpause");return c.paused=!1,u==null||u(),B(),A(),H(),f==null||f(),this},updateContainerElements:function(l){var u=[].concat(l).filter(Boolean);return c.containers=u.map(function(f){return typeof f=="string"?o.querySelector(f):f}),c.active&&B(),H(),this}},b.updateContainerElements(n),b};/*!
|
|
8
8
|
* focus-trap-vue v4.0.1
|
|
9
9
|
* (c) 2023 Eduardo San Martin Morote
|
|
10
10
|
* @license MIT
|
|
11
|
-
*/function Ar(r){return r}const Cn={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},Nn=t.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},Cn),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(r,{slots:n,emit:a}){let o;const d=t.ref(null),p=t.computed(()=>{const b=d.value;return b&&(b instanceof HTMLElement?b:b.$el)});function c(){return o||(o=Tn(p.value,{escapeDeactivates:r.escapeDeactivates,allowOutsideClick:r.allowOutsideClick,returnFocusOnDeactivate:r.returnFocusOnDeactivate,clickOutsideDeactivates:r.clickOutsideDeactivates,onActivate:()=>{a("update:active",!0),a("activate")},onDeactivate:()=>{a("update:active",!1),a("deactivate")},onPostActivate:()=>a("postActivate"),onPostDeactivate:()=>a("postDeactivate"),initialFocus:r.initialFocus,fallbackFocus:r.fallbackFocus,tabbableOptions:r.tabbableOptions,delayInitialFocus:r.delayInitialFocus}))}return t.onMounted(()=>{t.watch(()=>r.active,b=>{b&&p.value?c().activate():o&&(o.deactivate(),(!p.value||p.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),t.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){c().activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!n.default)return null;const b=n.default().filter(g=>g.type!==t.Comment);return!b||!b.length||b.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),b):t.cloneVNode(b[0],{ref:d})}}}});function rt(){return{debounce:(n,a)=>{let o;return(...d)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{n(...d)},a)}}}}var we=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function En(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var ke={exports:{}};ke.exports,function(r,n){var a=200,o="__lodash_hash_undefined__",d=9007199254740991,p="[object Arguments]",c="[object Array]",b="[object Boolean]",h="[object Date]",g="[object Error]",I="[object Function]",C="[object GeneratorFunction]",B="[object Map]",k="[object Number]",S="[object Object]",P="[object Promise]",$="[object RegExp]",D="[object Set]",U="[object String]",Z="[object Symbol]",w="[object WeakMap]",F="[object ArrayBuffer]",j="[object DataView]",G="[object Float32Array]",K="[object Float64Array]",H="[object Int8Array]",T="[object Int16Array]",l="[object Int32Array]",u="[object Uint8Array]",f="[object Uint8ClampedArray]",v="[object Uint16Array]",_="[object Uint32Array]",N=/[\\^$.*+?()[\]{}|]/g,E=/\w*$/,A=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,y={};y[p]=y[c]=y[F]=y[j]=y[b]=y[h]=y[G]=y[K]=y[H]=y[T]=y[l]=y[B]=y[k]=y[S]=y[$]=y[D]=y[U]=y[Z]=y[u]=y[f]=y[v]=y[_]=!0,y[g]=y[I]=y[w]=!1;var ee=typeof we=="object"&&we&&we.Object===Object&&we,W=typeof self=="object"&&self&&self.Object===Object&&self,V=ee||W||Function("return this")(),fe=n&&!n.nodeType&&n,oe=fe&&!0&&r&&!r.nodeType&&r,pe=oe&&oe.exports===fe;function fa(e,i){return e.set(i[0],i[1]),e}function pa(e,i){return e.add(i),e}function ba(e,i){for(var s=-1,m=e?e.length:0;++s<m&&i(e[s],s,e)!==!1;);return e}function ma(e,i){for(var s=-1,m=i.length,x=e.length;++s<m;)e[x+s]=i[s];return e}function st(e,i,s,m){var x=-1,R=e?e.length:0;for(m&&R&&(s=e[++x]);++x<R;)s=i(s,e[x],x,e);return s}function ha(e,i){for(var s=-1,m=Array(e);++s<e;)m[s]=i(s);return m}function va(e,i){return e==null?void 0:e[i]}function dt(e){var i=!1;if(e!=null&&typeof e.toString!="function")try{i=!!(e+"")}catch{}return i}function ut(e){var i=-1,s=Array(e.size);return e.forEach(function(m,x){s[++i]=[x,m]}),s}function Ae(e,i){return function(s){return e(i(s))}}function ft(e){var i=-1,s=Array(e.size);return e.forEach(function(m){s[++i]=m}),s}var ga=Array.prototype,ya=Function.prototype,Se=Object.prototype,De=V["__core-js_shared__"],pt=function(){var e=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),bt=ya.toString,X=Se.hasOwnProperty,Te=Se.toString,_a=RegExp("^"+bt.call(X).replace(N,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mt=pe?V.Buffer:void 0,ht=V.Symbol,vt=V.Uint8Array,wa=Ae(Object.getPrototypeOf,Object),ka=Object.create,Sa=Se.propertyIsEnumerable,Ta=ga.splice,gt=Object.getOwnPropertySymbols,Ca=mt?mt.isBuffer:void 0,Na=Ae(Object.keys,Object),$e=le(V,"DataView"),be=le(V,"Map"),Ve=le(V,"Promise"),Re=le(V,"Set"),Le=le(V,"WeakMap"),me=le(Object,"create"),Ea=ae($e),Ia=ae(be),Ba=ae(Ve),Oa=ae(Re),xa=ae(Le),yt=ht?ht.prototype:void 0,_t=yt?yt.valueOf:void 0;function te(e){var i=-1,s=e?e.length:0;for(this.clear();++i<s;){var m=e[i];this.set(m[0],m[1])}}function Fa(){this.__data__=me?me(null):{}}function Aa(e){return this.has(e)&&delete this.__data__[e]}function Da(e){var i=this.__data__;if(me){var s=i[e];return s===o?void 0:s}return X.call(i,e)?i[e]:void 0}function $a(e){var i=this.__data__;return me?i[e]!==void 0:X.call(i,e)}function Va(e,i){var s=this.__data__;return s[e]=me&&i===void 0?o:i,this}te.prototype.clear=Fa,te.prototype.delete=Aa,te.prototype.get=Da,te.prototype.has=$a,te.prototype.set=Va;function Y(e){var i=-1,s=e?e.length:0;for(this.clear();++i<s;){var m=e[i];this.set(m[0],m[1])}}function Ra(){this.__data__=[]}function La(e){var i=this.__data__,s=Ce(i,e);if(s<0)return!1;var m=i.length-1;return s==m?i.pop():Ta.call(i,s,1),!0}function Ma(e){var i=this.__data__,s=Ce(i,e);return s<0?void 0:i[s][1]}function Pa(e){return Ce(this.__data__,e)>-1}function Za(e,i){var s=this.__data__,m=Ce(s,e);return m<0?s.push([e,i]):s[m][1]=i,this}Y.prototype.clear=Ra,Y.prototype.delete=La,Y.prototype.get=Ma,Y.prototype.has=Pa,Y.prototype.set=Za;function ie(e){var i=-1,s=e?e.length:0;for(this.clear();++i<s;){var m=e[i];this.set(m[0],m[1])}}function ja(){this.__data__={hash:new te,map:new(be||Y),string:new te}}function Ha(e){return Ne(this,e).delete(e)}function Ka(e){return Ne(this,e).get(e)}function za(e){return Ne(this,e).has(e)}function Ga(e,i){return Ne(this,e).set(e,i),this}ie.prototype.clear=ja,ie.prototype.delete=Ha,ie.prototype.get=Ka,ie.prototype.has=za,ie.prototype.set=Ga;function ce(e){this.__data__=new Y(e)}function Ua(){this.__data__=new Y}function Wa(e){return this.__data__.delete(e)}function qa(e){return this.__data__.get(e)}function Ya(e){return this.__data__.has(e)}function Xa(e,i){var s=this.__data__;if(s instanceof Y){var m=s.__data__;if(!be||m.length<a-1)return m.push([e,i]),this;s=this.__data__=new ie(m)}return s.set(e,i),this}ce.prototype.clear=Ua,ce.prototype.delete=Wa,ce.prototype.get=qa,ce.prototype.has=Ya,ce.prototype.set=Xa;function Ja(e,i){var s=Ze(e)||kr(e)?ha(e.length,String):[],m=s.length,x=!!m;for(var R in e)(i||X.call(e,R))&&!(x&&(R=="length"||gr(R,m)))&&s.push(R);return s}function wt(e,i,s){var m=e[i];(!(X.call(e,i)&&Ct(m,s))||s===void 0&&!(i in e))&&(e[i]=s)}function Ce(e,i){for(var s=e.length;s--;)if(Ct(e[s][0],i))return s;return-1}function Qa(e,i){return e&&kt(i,je(i),e)}function Me(e,i,s,m,x,R,z){var L;if(m&&(L=R?m(e,x,R,z):m(e)),L!==void 0)return L;if(!Ee(e))return e;var It=Ze(e);if(It){if(L=mr(e),!i)return fr(e,L)}else{var se=ne(e),Bt=se==I||se==C;if(Tr(e))return or(e,i);if(se==S||se==p||Bt&&!R){if(dt(e))return R?e:{};if(L=hr(Bt?{}:e),!i)return pr(e,Qa(L,e))}else{if(!y[se])return R?e:{};L=vr(e,se,Me,i)}}z||(z=new ce);var Ot=z.get(e);if(Ot)return Ot;if(z.set(e,L),!It)var xt=s?br(e):je(e);return ba(xt||e,function(He,Ie){xt&&(Ie=He,He=e[Ie]),wt(L,Ie,Me(He,i,s,m,Ie,e,z))}),L}function er(e){return Ee(e)?ka(e):{}}function tr(e,i,s){var m=i(e);return Ze(e)?m:ma(m,s(e))}function nr(e){return Te.call(e)}function ar(e){if(!Ee(e)||_r(e))return!1;var i=Et(e)||dt(e)?_a:A;return i.test(ae(e))}function rr(e){if(!Tt(e))return Na(e);var i=[];for(var s in Object(e))X.call(e,s)&&s!="constructor"&&i.push(s);return i}function or(e,i){if(i)return e.slice();var s=new e.constructor(e.length);return e.copy(s),s}function Pe(e){var i=new e.constructor(e.byteLength);return new vt(i).set(new vt(e)),i}function ir(e,i){var s=i?Pe(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.byteLength)}function cr(e,i,s){var m=i?s(ut(e),!0):ut(e);return st(m,fa,new e.constructor)}function lr(e){var i=new e.constructor(e.source,E.exec(e));return i.lastIndex=e.lastIndex,i}function sr(e,i,s){var m=i?s(ft(e),!0):ft(e);return st(m,pa,new e.constructor)}function dr(e){return _t?Object(_t.call(e)):{}}function ur(e,i){var s=i?Pe(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function fr(e,i){var s=-1,m=e.length;for(i||(i=Array(m));++s<m;)i[s]=e[s];return i}function kt(e,i,s,m){s||(s={});for(var x=-1,R=i.length;++x<R;){var z=i[x],L=m?m(s[z],e[z],z,s,e):void 0;wt(s,z,L===void 0?e[z]:L)}return s}function pr(e,i){return kt(e,St(e),i)}function br(e){return tr(e,je,St)}function Ne(e,i){var s=e.__data__;return yr(i)?s[typeof i=="string"?"string":"hash"]:s.map}function le(e,i){var s=va(e,i);return ar(s)?s:void 0}var St=gt?Ae(gt,Object):Er,ne=nr;($e&&ne(new $e(new ArrayBuffer(1)))!=j||be&&ne(new be)!=B||Ve&&ne(Ve.resolve())!=P||Re&&ne(new Re)!=D||Le&&ne(new Le)!=w)&&(ne=function(e){var i=Te.call(e),s=i==S?e.constructor:void 0,m=s?ae(s):void 0;if(m)switch(m){case Ea:return j;case Ia:return B;case Ba:return P;case Oa:return D;case xa:return w}return i});function mr(e){var i=e.length,s=e.constructor(i);return i&&typeof e[0]=="string"&&X.call(e,"index")&&(s.index=e.index,s.input=e.input),s}function hr(e){return typeof e.constructor=="function"&&!Tt(e)?er(wa(e)):{}}function vr(e,i,s,m){var x=e.constructor;switch(i){case F:return Pe(e);case b:case h:return new x(+e);case j:return ir(e,m);case G:case K:case H:case T:case l:case u:case f:case v:case _:return ur(e,m);case B:return cr(e,m,s);case k:case U:return new x(e);case $:return lr(e);case D:return sr(e,m,s);case Z:return dr(e)}}function gr(e,i){return i=i??d,!!i&&(typeof e=="number"||O.test(e))&&e>-1&&e%1==0&&e<i}function yr(e){var i=typeof e;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?e!=="__proto__":e===null}function _r(e){return!!pt&&pt in e}function Tt(e){var i=e&&e.constructor,s=typeof i=="function"&&i.prototype||Se;return e===s}function ae(e){if(e!=null){try{return bt.call(e)}catch{}try{return e+""}catch{}}return""}function wr(e){return Me(e,!0,!0)}function Ct(e,i){return e===i||e!==e&&i!==i}function kr(e){return Sr(e)&&X.call(e,"callee")&&(!Sa.call(e,"callee")||Te.call(e)==p)}var Ze=Array.isArray;function Nt(e){return e!=null&&Cr(e.length)&&!Et(e)}function Sr(e){return Nr(e)&&Nt(e)}var Tr=Ca||Ir;function Et(e){var i=Ee(e)?Te.call(e):"";return i==I||i==C}function Cr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=d}function Ee(e){var i=typeof e;return!!e&&(i=="object"||i=="function")}function Nr(e){return!!e&&typeof e=="object"}function je(e){return Nt(e)?Ja(e):rr(e)}function Er(){return[]}function Ir(){return!1}r.exports=wr}(ke,ke.exports);var In=ke.exports;const Bn=En(In),On={key:0,class:"sidebar-header"},xn={class:"sidebar-content-container"},Fn={key:0,class:"sidebar-top"},An={"aria-label":"Main menu"},Dn={key:0,class:"level-primary top-items"},$n={key:1,class:"sidebar-level-divider",role:"separator"},Vn={key:2,class:"level-primary bottom-items"},Rn={class:"sidebar-footer"},Ln=t.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:2},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(r,{emit:n}){const a=r;t.useCssVars(l=>({"160797d0":c.value.mobileHeight,"721527f8":c.value.mobileTop,"054b3490":r.zIndex,"6b0e6816":c.value.height,"31cc2e74":c.value.top,"16bd691a":h.value.marginTop,"08886e32":b.value.display,"1d2550ee":b.value.minHeight,ed4e7e56:g.value.top,"377644f8":g.value.zIndex}));const o=t.useSlots(),d=t.computed(()=>!!o.header),p=t.computed(()=>!!o.top),c=t.computed(()=>({mobileTop:a.mobileTopOffset&&a.mobileEnabled?`${a.mobileTopOffset}px`:a.topOffset?`${a.topOffset}px`:"0",top:a.topOffset?`${a.topOffset}px`:"0",mobileHeight:a.mobileTopOffset&&a.mobileEnabled?`calc(100% - ${a.mobileTopOffset}px)`:"100%",height:a.topOffset?`calc(100% - ${a.topOffset}px)`:"100%"})),b=t.computed(()=>({display:!a.mobileHeaderVisible&&a.mobileEnabled?"none":"flex",minHeight:`${a.headerHeight}px`})),h=t.computed(()=>({marginTop:d.value?`${a.headerHeight}px`:"0"})),g=t.computed(()=>({top:a.mobileTopOffset&&a.mobileEnabled?`${a.mobileTopOffset}px`:"0",zIndex:a.mobileOverlayZIndex!==null?a.mobileOverlayZIndex:a.zIndex>1?a.zIndex-1:1})),I=l=>Bn(l).map(f=>{var v,_,N;if(f){(!f.key||!((v=f.key)!=null&&v.trim()))&&(f.key=String(f.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!f.testId||!((_=f.testId)!=null&&_.trim()))&&(f.testId=String(f.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const E of f.items||[])E.parentKey=f.key,(!E.testId||!((N=E.testId)!=null&&N.trim()))&&(E.testId=String(E.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return f}),C=t.computed(()=>a.topItems.length?I(a.topItems):[]),B=t.computed(()=>a.bottomItems.length?I(a.bottomItems):[]),k=t.ref(a.open),S=l=>{var u,f;k.value!==l&&(k.value=l,n("toggle",l)),l?(u=document==null?void 0:document.body)==null||u.classList.add("kong-ui-app-sidebar-open"):(f=document==null?void 0:document.body)==null||f.classList.remove("kong-ui-app-sidebar-open"),$.value=!1},P=()=>{a.mobileOverlayCloseOnClick&&S(!1)},$=t.ref(!1),D=l=>{$.value=!0,n("click",l),setTimeout(()=>{S(!1)},a.mobileCloseDelay)};t.watch(()=>a.open,l=>{S(l)});const{debounce:U}=rt(),Z=U(()=>{k.value&&w.value!==(window==null?void 0:window.innerWidth)&&(w.value=window==null?void 0:window.innerWidth,S(!1))},200),w=t.ref(),F=t.ref(!1),j=t.ref(),G=()=>{F.value||(F.value=!0,clearTimeout(j.value),j.value=setTimeout(()=>F.value=!1,1300))},K=t.ref(null),H=t.computed(()=>k.value&&a.mobileEnabled),T=async l=>{var u,f;l?(await t.nextTick(),await new Promise(v=>setTimeout(v,300)),(u=K.value)==null||u.activate()):(f=K.value)==null||f.deactivate()};return t.watch(H,async l=>{l?await T(!0):await T(!1)},{immediate:!0}),t.onMounted(()=>{w.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",Z),window.addEventListener("resize",G)}),t.onBeforeUnmount(()=>{window.removeEventListener("resize",Z),window.removeEventListener("resize",G)}),(l,u)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[k.value&&r.mobileOverlay&&r.mobileEnabled?(t.openBlock(),t.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:P})):t.createCommentVNode("",!0),t.createVNode(t.unref(Nn),{ref_key:"focusTrap",ref:K,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:t.withCtx(()=>[t.createElementVNode("aside",{class:t.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":k.value,"no-sidebar-header":!d.value,"mobile-header-hidden":r.mobileEnabled&&(!d.value||!r.mobileHeaderVisible),"mobile-disabled":!r.mobileEnabled,"disable-transitions":F.value}]),tabindex:"-1"},[d.value?(t.openBlock(),t.createElementBlock("div",On,[t.renderSlot(l.$slots,"header",{},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",xn,[p.value?(t.openBlock(),t.createElementBlock("div",Fn,[t.renderSlot(l.$slots,"top",{},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("nav",An,[C.value.length?(t.openBlock(),t.createElementBlock("ul",Dn,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C.value,f=>(t.openBlock(),t.createBlock(ze,{key:f.name,item:f,onClick:D},null,8,["item"]))),128))])):t.createCommentVNode("",!0),C.value.length&&B.value.length?(t.openBlock(),t.createElementBlock("div",$n)):t.createCommentVNode("",!0),B.value.length?(t.openBlock(),t.createElementBlock("ul",Vn,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(B.value,f=>(t.openBlock(),t.createBlock(ze,{key:f.name,item:f,onClick:D},null,8,["item"]))),128))])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Rn,[t.renderSlot(l.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),Dr="",$r="",ot=q(Ln,[["__scopeId","data-v-6daf9f02"]]),Fe=r=>(t.pushScopeId("data-v-33b3f7c3"),r=r(),t.popScopeId(),r),Mn=["aria-label","onClick"],Pn=[Fe(()=>t.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>t.createElementVNode("span",{class:"line"},null,-1)),Fe(()=>t.createElementVNode("span",{class:"line"},null,-1))],Zn=t.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(r,{emit:n}){const a=r,o=t.ref(a.active||!1),d=()=>{o.value=!o.value,n("toggle",o.value)};return t.watch(()=>a.active,p=>{o.value=p}),(p,c)=>(t.openBlock(),t.createElementBlock("a",{"aria-haspopup":"true","aria-label":o.value?"Close Main Menu":"Open Main Menu",class:t.normalizeClass(["sidebar-menu-toggle",{active:o.value}]),href:"#",role:"button",onClick:t.withModifiers(d,["prevent"])},Pn,10,Mn))}}),Mr="",it=q(Zn,[["__scopeId","data-v-33b3f7c3"]]),jn=r=>(t.pushScopeId("data-v-c2f48dd9"),r=r(),t.popScopeId(),r),Hn={id:"kong-ui-app-layout-notification"},Kn={class:"mobile-logo"},zn={key:0,class:"navbar-logo"},Gn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},Un={class:"kong-ui-app-layout-content"},Wn={class:"kong-ui-app-layout-content-inner"},qn=jn(()=>t.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),Yn=t.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:()=>[]}},emits:["sidebar-click"],setup(r,{emit:n}){const a=r;t.useCssVars(w=>({"3e6a8290":P.value,"593090fa":$.value}));const o=t.useSlots(),d=t.reactive({navbarLeft:t.computed(()=>!!o["navbar-left"]),navbarCenter:t.computed(()=>!!o["navbar-center"]),navbarRight:t.computed(()=>!!o["navbar-right"]),navbarLogo:t.computed(()=>!!o["navbar-logo"]),navbarMobileLogo:t.computed(()=>!!o["navbar-mobile-logo"]),sidebarHeader:t.computed(()=>!!o["sidebar-header"]),sidebarTop:t.computed(()=>!!o["sidebar-top"]),sidebarFooter:t.computed(()=>!!o["sidebar-footer"])}),p=t.computed(()=>a.hideDefaultSlot),c=t.reactive({hidden:t.computed(()=>a.navbarHidden)}),b=t.reactive({topItems:t.computed(()=>a.sidebarTopItems),bottomItems:t.computed(()=>a.sidebarBottomItems),open:t.computed(()=>a.sidebarOpen),hidden:t.computed(()=>a.sidebarHidden)}),h=w=>{n("sidebar-click",w)},g=t.ref(!1),I=w=>{g.value=w};t.watchEffect(()=>{g.value=t.toRef(b,"open").value||!1});const C=t.ref(0),B=t.ref(60),k=t.ref(0),S=t.computed(()=>c.hidden?k.value:B.value+k.value),P=t.computed(()=>`${S.value}px`),$=t.computed(()=>b.hidden||c.hidden?"0":"16px"),{debounce:D}=rt(),U=D((w=!1)=>{if(w||C.value!==(window==null?void 0:window.innerWidth)){C.value=window==null?void 0:window.innerWidth;const F=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");F&&(k.value=F.offsetHeight)}},200),Z=t.ref();return t.onMounted(()=>{var F,j;(F=document==null?void 0:document.body)==null||F.classList.add("kong-ui-app-layout-body"),(j=document==null?void 0:document.documentElement)==null||j.classList.add("kong-ui-app-layout-html"),C.value=window==null?void 0:window.innerWidth,U(!0);const w=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");w&&(Z.value=new ResizeObserver(G=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(G)||!G.length))for(const K of G){const H=K.contentRect.height;k.value!==H&&(k.value=H)}})}),Z.value.observe(w)),window.addEventListener("resize",U)}),t.onBeforeUnmount(()=>{Z.value&&Z.value.disconnect(),window.removeEventListener("resize",U)}),(w,F)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":c.hidden},{"sidebar-hidden":b.hidden}]])},[t.createElementVNode("div",Hn,[t.renderSlot(w.$slots,"notification",{},void 0,!0)]),c.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(Ke,{key:String(b.hidden),"left-offset":b.hidden?0:void 0,"top-offset":k.value},t.createSlots({"mobile-sidebar-toggle":t.withCtx(()=>[b.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(it,{key:0,active:g.value,onToggle:I},null,8,["active"]))]),_:2},[d.navbarMobileLogo?{name:"mobile-logo",fn:t.withCtx(()=>[t.createElementVNode("div",Kn,[t.renderSlot(w.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,d.navbarLogo?{name:"logo",fn:t.withCtx(()=>[b.hidden?(t.openBlock(),t.createElementBlock("div",zn,[t.renderSlot(w.$slots,"navbar-logo",{},void 0,!0)])):t.createCommentVNode("",!0)]),key:"1"}:void 0,d.navbarLeft?{name:"left",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,d.navbarCenter?{name:"center",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,d.navbarRight?{name:"right",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),b.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(ot,{key:1,"bottom-items":b.bottomItems,"header-height":B.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":S.value,open:g.value,"top-items":b.topItems,"top-offset":k.value,onClick:h,onToggle:I},t.createSlots({_:2},[d.sidebarHeader?{name:"header",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,d.sidebarTop?{name:"top",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,d.sidebarFooter?{name:"footer",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),t.createElementVNode("main",Gn,[t.createElementVNode("div",Un,[t.createElementVNode("div",Wn,[qn,t.renderSlot(w.$slots,"app-error",{},void 0,!0),p.value?t.createCommentVNode("",!0):t.renderSlot(w.$slots,"default",{key:0},void 0,!0)])])])],2))}}),Pr="",Zr="",ct=q(Yn,[["__scopeId","data-v-c2f48dd9"]]),Xn=t.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(r){return(n,a)=>{const o=t.resolveComponent("KDropdownItem"),d=t.resolveComponent("KDropdownMenu");return t.openBlock(),t.createBlock(d,{class:"account-dropdown","kpop-attributes":{placement:"bottomStart"},label:r.userInitials,size:"small",width:r.width},{items:t.withCtx(({handleSelection:p})=>[t.renderSlot(n.$slots,"default",{},()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.options,c=>(t.openBlock(),t.createBlock(o,{key:c.value,class:t.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:b=>p(c)},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default",{option:c},()=>[t.createTextVNode(t.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["label","width"])}}}),jr="",Jn=q(Xn,[["__scopeId","data-v-6e34d3da"]]),Qn={},ea={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"},ta=[t.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 na(r,n){return t.openBlock(),t.createElementBlock("svg",ea,ta)}const aa=q(Qn,[["render",na]]),lt=r=>(t.pushScopeId("data-v-ff05f71e"),r=r(),t.popScopeId(),r),ra={class:"kong-ui-app-error"},oa={class:"banana-icon"},ia={class:"kong-ui-app-error-content"},ca=lt(()=>t.createElementVNode("h2",null,"An unexpected error has occurred",-1)),la=lt(()=>t.createElementVNode("p",null,[t.createTextVNode("Go back to the previous page or "),t.createElementVNode("a",{href:"/"},"return home"),t.createTextVNode(".")],-1)),sa=t.defineComponent({__name:"AppError",setup(r){return(n,a)=>(t.openBlock(),t.createElementBlock("section",ra,[t.createElementVNode("div",oa,[t.createVNode(aa)]),t.createElementVNode("div",ia,[t.renderSlot(n.$slots,"default",{},()=>[ca,la],!0)])]))}}),Kr="",zr="",da=q(sa,[["__scopeId","data-v-ff05f71e"]]),ua={install:(r,n={})=>{r.component(n.name||"AppLayout",ct)}};M.AccountDropdown=Jn,M.AppError=da,M.AppLayout=ct,M.AppNavbar=Ke,M.AppSidebar=ot,M.SidebarToggle=it,M.default=ua,Object.defineProperties(M,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
11
|
+
*/function Dr(r){return r}const Cn={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},Nn=t.defineComponent({props:Object.assign({active:{type:Boolean,default:!0}},Cn),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(r,{slots:n,emit:a}){let o;const d=t.ref(null),p=t.computed(()=>{const b=d.value;return b&&(b instanceof HTMLElement?b:b.$el)});function c(){return o||(o=Tn(p.value,{escapeDeactivates:r.escapeDeactivates,allowOutsideClick:r.allowOutsideClick,returnFocusOnDeactivate:r.returnFocusOnDeactivate,clickOutsideDeactivates:r.clickOutsideDeactivates,onActivate:()=>{a("update:active",!0),a("activate")},onDeactivate:()=>{a("update:active",!1),a("deactivate")},onPostActivate:()=>a("postActivate"),onPostDeactivate:()=>a("postDeactivate"),initialFocus:r.initialFocus,fallbackFocus:r.fallbackFocus,tabbableOptions:r.tabbableOptions,delayInitialFocus:r.delayInitialFocus}))}return t.onMounted(()=>{t.watch(()=>r.active,b=>{b&&p.value?c().activate():o&&(o.deactivate(),(!p.value||p.value.nodeType===Node.COMMENT_NODE)&&(o=null))},{immediate:!0,flush:"post"})}),t.onUnmounted(()=>{o&&o.deactivate(),o=null}),{activate(){c().activate()},deactivate(){o&&o.deactivate()},renderImpl(){if(!n.default)return null;const b=n.default().filter(g=>g.type!==t.Comment);return!b||!b.length||b.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),b):t.cloneVNode(b[0],{ref:d})}}}});function rt(){return{debounce:(n,a)=>{let o;return(...d)=>{clearTimeout(o),o=window==null?void 0:window.setTimeout(()=>{n(...d)},a)}}}}var we=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function En(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var ke={exports:{}};ke.exports,function(r,n){var a=200,o="__lodash_hash_undefined__",d=9007199254740991,p="[object Arguments]",c="[object Array]",b="[object Boolean]",h="[object Date]",g="[object Error]",I="[object Function]",C="[object GeneratorFunction]",B="[object Map]",k="[object Number]",S="[object Object]",P="[object Promise]",D="[object RegExp]",$="[object Set]",G="[object String]",Z="[object Symbol]",w="[object WeakMap]",A="[object ArrayBuffer]",j="[object DataView]",U="[object Float32Array]",K="[object Float64Array]",H="[object Int8Array]",T="[object Int16Array]",l="[object Int32Array]",u="[object Uint8Array]",f="[object Uint8ClampedArray]",v="[object Uint16Array]",_="[object Uint32Array]",N=/[\\^$.*+?()[\]{}|]/g,E=/\w*$/,F=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,y={};y[p]=y[c]=y[A]=y[j]=y[b]=y[h]=y[U]=y[K]=y[H]=y[T]=y[l]=y[B]=y[k]=y[S]=y[D]=y[$]=y[G]=y[Z]=y[u]=y[f]=y[v]=y[_]=!0,y[g]=y[I]=y[w]=!1;var ee=typeof we=="object"&&we&&we.Object===Object&&we,W=typeof self=="object"&&self&&self.Object===Object&&self,V=ee||W||Function("return this")(),fe=n&&!n.nodeType&&n,oe=fe&&!0&&r&&!r.nodeType&&r,pe=oe&&oe.exports===fe;function ba(e,i){return e.set(i[0],i[1]),e}function ma(e,i){return e.add(i),e}function ha(e,i){for(var s=-1,m=e?e.length:0;++s<m&&i(e[s],s,e)!==!1;);return e}function va(e,i){for(var s=-1,m=i.length,x=e.length;++s<m;)e[x+s]=i[s];return e}function st(e,i,s,m){var x=-1,R=e?e.length:0;for(m&&R&&(s=e[++x]);++x<R;)s=i(s,e[x],x,e);return s}function ga(e,i){for(var s=-1,m=Array(e);++s<e;)m[s]=i(s);return m}function ya(e,i){return e==null?void 0:e[i]}function dt(e){var i=!1;if(e!=null&&typeof e.toString!="function")try{i=!!(e+"")}catch{}return i}function ut(e){var i=-1,s=Array(e.size);return e.forEach(function(m,x){s[++i]=[x,m]}),s}function Fe(e,i){return function(s){return e(i(s))}}function ft(e){var i=-1,s=Array(e.size);return e.forEach(function(m){s[++i]=m}),s}var _a=Array.prototype,wa=Function.prototype,Se=Object.prototype,$e=V["__core-js_shared__"],pt=function(){var e=/[^.]+$/.exec($e&&$e.keys&&$e.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),bt=wa.toString,X=Se.hasOwnProperty,Te=Se.toString,ka=RegExp("^"+bt.call(X).replace(N,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mt=pe?V.Buffer:void 0,ht=V.Symbol,vt=V.Uint8Array,Sa=Fe(Object.getPrototypeOf,Object),Ta=Object.create,Ca=Se.propertyIsEnumerable,Na=_a.splice,gt=Object.getOwnPropertySymbols,Ea=mt?mt.isBuffer:void 0,Ia=Fe(Object.keys,Object),De=le(V,"DataView"),be=le(V,"Map"),Ve=le(V,"Promise"),Re=le(V,"Set"),Le=le(V,"WeakMap"),me=le(Object,"create"),Ba=ae(De),Oa=ae(be),xa=ae(Ve),Aa=ae(Re),Fa=ae(Le),yt=ht?ht.prototype:void 0,_t=yt?yt.valueOf:void 0;function te(e){var i=-1,s=e?e.length:0;for(this.clear();++i<s;){var m=e[i];this.set(m[0],m[1])}}function $a(){this.__data__=me?me(null):{}}function Da(e){return this.has(e)&&delete this.__data__[e]}function Va(e){var i=this.__data__;if(me){var s=i[e];return s===o?void 0:s}return X.call(i,e)?i[e]:void 0}function Ra(e){var i=this.__data__;return me?i[e]!==void 0:X.call(i,e)}function La(e,i){var s=this.__data__;return s[e]=me&&i===void 0?o:i,this}te.prototype.clear=$a,te.prototype.delete=Da,te.prototype.get=Va,te.prototype.has=Ra,te.prototype.set=La;function Y(e){var i=-1,s=e?e.length:0;for(this.clear();++i<s;){var m=e[i];this.set(m[0],m[1])}}function Ma(){this.__data__=[]}function Pa(e){var i=this.__data__,s=Ce(i,e);if(s<0)return!1;var m=i.length-1;return s==m?i.pop():Na.call(i,s,1),!0}function Za(e){var i=this.__data__,s=Ce(i,e);return s<0?void 0:i[s][1]}function ja(e){return Ce(this.__data__,e)>-1}function Ha(e,i){var s=this.__data__,m=Ce(s,e);return m<0?s.push([e,i]):s[m][1]=i,this}Y.prototype.clear=Ma,Y.prototype.delete=Pa,Y.prototype.get=Za,Y.prototype.has=ja,Y.prototype.set=Ha;function ie(e){var i=-1,s=e?e.length:0;for(this.clear();++i<s;){var m=e[i];this.set(m[0],m[1])}}function Ka(){this.__data__={hash:new te,map:new(be||Y),string:new te}}function za(e){return Ne(this,e).delete(e)}function Ua(e){return Ne(this,e).get(e)}function Ga(e){return Ne(this,e).has(e)}function Wa(e,i){return Ne(this,e).set(e,i),this}ie.prototype.clear=Ka,ie.prototype.delete=za,ie.prototype.get=Ua,ie.prototype.has=Ga,ie.prototype.set=Wa;function ce(e){this.__data__=new Y(e)}function qa(){this.__data__=new Y}function Ya(e){return this.__data__.delete(e)}function Xa(e){return this.__data__.get(e)}function Ja(e){return this.__data__.has(e)}function Qa(e,i){var s=this.__data__;if(s instanceof Y){var m=s.__data__;if(!be||m.length<a-1)return m.push([e,i]),this;s=this.__data__=new ie(m)}return s.set(e,i),this}ce.prototype.clear=qa,ce.prototype.delete=Ya,ce.prototype.get=Xa,ce.prototype.has=Ja,ce.prototype.set=Qa;function er(e,i){var s=Ze(e)||Tr(e)?ga(e.length,String):[],m=s.length,x=!!m;for(var R in e)(i||X.call(e,R))&&!(x&&(R=="length"||_r(R,m)))&&s.push(R);return s}function wt(e,i,s){var m=e[i];(!(X.call(e,i)&&Ct(m,s))||s===void 0&&!(i in e))&&(e[i]=s)}function Ce(e,i){for(var s=e.length;s--;)if(Ct(e[s][0],i))return s;return-1}function tr(e,i){return e&&kt(i,je(i),e)}function Me(e,i,s,m,x,R,z){var L;if(m&&(L=R?m(e,x,R,z):m(e)),L!==void 0)return L;if(!Ee(e))return e;var It=Ze(e);if(It){if(L=vr(e),!i)return br(e,L)}else{var se=ne(e),Bt=se==I||se==C;if(Nr(e))return cr(e,i);if(se==S||se==p||Bt&&!R){if(dt(e))return R?e:{};if(L=gr(Bt?{}:e),!i)return mr(e,tr(L,e))}else{if(!y[se])return R?e:{};L=yr(e,se,Me,i)}}z||(z=new ce);var Ot=z.get(e);if(Ot)return Ot;if(z.set(e,L),!It)var xt=s?hr(e):je(e);return ha(xt||e,function(He,Ie){xt&&(Ie=He,He=e[Ie]),wt(L,Ie,Me(He,i,s,m,Ie,e,z))}),L}function nr(e){return Ee(e)?Ta(e):{}}function ar(e,i,s){var m=i(e);return Ze(e)?m:va(m,s(e))}function rr(e){return Te.call(e)}function or(e){if(!Ee(e)||kr(e))return!1;var i=Et(e)||dt(e)?ka:F;return i.test(ae(e))}function ir(e){if(!Tt(e))return Ia(e);var i=[];for(var s in Object(e))X.call(e,s)&&s!="constructor"&&i.push(s);return i}function cr(e,i){if(i)return e.slice();var s=new e.constructor(e.length);return e.copy(s),s}function Pe(e){var i=new e.constructor(e.byteLength);return new vt(i).set(new vt(e)),i}function lr(e,i){var s=i?Pe(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.byteLength)}function sr(e,i,s){var m=i?s(ut(e),!0):ut(e);return st(m,ba,new e.constructor)}function dr(e){var i=new e.constructor(e.source,E.exec(e));return i.lastIndex=e.lastIndex,i}function ur(e,i,s){var m=i?s(ft(e),!0):ft(e);return st(m,ma,new e.constructor)}function fr(e){return _t?Object(_t.call(e)):{}}function pr(e,i){var s=i?Pe(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function br(e,i){var s=-1,m=e.length;for(i||(i=Array(m));++s<m;)i[s]=e[s];return i}function kt(e,i,s,m){s||(s={});for(var x=-1,R=i.length;++x<R;){var z=i[x],L=m?m(s[z],e[z],z,s,e):void 0;wt(s,z,L===void 0?e[z]:L)}return s}function mr(e,i){return kt(e,St(e),i)}function hr(e){return ar(e,je,St)}function Ne(e,i){var s=e.__data__;return wr(i)?s[typeof i=="string"?"string":"hash"]:s.map}function le(e,i){var s=ya(e,i);return or(s)?s:void 0}var St=gt?Fe(gt,Object):Br,ne=rr;(De&&ne(new De(new ArrayBuffer(1)))!=j||be&&ne(new be)!=B||Ve&&ne(Ve.resolve())!=P||Re&&ne(new Re)!=$||Le&&ne(new Le)!=w)&&(ne=function(e){var i=Te.call(e),s=i==S?e.constructor:void 0,m=s?ae(s):void 0;if(m)switch(m){case Ba:return j;case Oa:return B;case xa:return P;case Aa:return $;case Fa:return w}return i});function vr(e){var i=e.length,s=e.constructor(i);return i&&typeof e[0]=="string"&&X.call(e,"index")&&(s.index=e.index,s.input=e.input),s}function gr(e){return typeof e.constructor=="function"&&!Tt(e)?nr(Sa(e)):{}}function yr(e,i,s,m){var x=e.constructor;switch(i){case A:return Pe(e);case b:case h:return new x(+e);case j:return lr(e,m);case U:case K:case H:case T:case l:case u:case f:case v:case _:return pr(e,m);case B:return sr(e,m,s);case k:case G:return new x(e);case D:return dr(e);case $:return ur(e,m,s);case Z:return fr(e)}}function _r(e,i){return i=i??d,!!i&&(typeof e=="number"||O.test(e))&&e>-1&&e%1==0&&e<i}function wr(e){var i=typeof e;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?e!=="__proto__":e===null}function kr(e){return!!pt&&pt in e}function Tt(e){var i=e&&e.constructor,s=typeof i=="function"&&i.prototype||Se;return e===s}function ae(e){if(e!=null){try{return bt.call(e)}catch{}try{return e+""}catch{}}return""}function Sr(e){return Me(e,!0,!0)}function Ct(e,i){return e===i||e!==e&&i!==i}function Tr(e){return Cr(e)&&X.call(e,"callee")&&(!Ca.call(e,"callee")||Te.call(e)==p)}var Ze=Array.isArray;function Nt(e){return e!=null&&Er(e.length)&&!Et(e)}function Cr(e){return Ir(e)&&Nt(e)}var Nr=Ea||Or;function Et(e){var i=Ee(e)?Te.call(e):"";return i==I||i==C}function Er(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=d}function Ee(e){var i=typeof e;return!!e&&(i=="object"||i=="function")}function Ir(e){return!!e&&typeof e=="object"}function je(e){return Nt(e)?er(e):ir(e)}function Br(){return[]}function Or(){return!1}r.exports=Sr}(ke,ke.exports);var In=ke.exports;const Bn=En(In),On={key:0,class:"sidebar-header"},xn={class:"sidebar-content-container"},An={key:0,class:"sidebar-top"},Fn={"aria-label":"Main menu"},$n={key:0,class:"level-primary top-items"},Dn={key:1,class:"sidebar-level-divider",role:"separator"},Vn={key:2,class:"level-primary bottom-items"},Rn={class:"sidebar-footer"},Ln=t.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:2},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(r,{emit:n}){const a=r;t.useCssVars(l=>({"0af5264e":c.value.mobileHeight,"733e958e":c.value.mobileTop,d6ef92cc:r.zIndex,"3b428a68":c.value.height,"25bb81d0":c.value.top,"555f0224":h.value.marginTop,"7fd8c0e8":b.value.display,54185682:b.value.minHeight,"00c1145f":g.value.top,"65f065a4":g.value.zIndex}));const o=t.useSlots(),d=t.computed(()=>!!o.header),p=t.computed(()=>!!o.top),c=t.computed(()=>({mobileTop:a.mobileTopOffset&&a.mobileEnabled?`${a.mobileTopOffset}px`:a.topOffset?`${a.topOffset}px`:"0",top:a.topOffset?`${a.topOffset}px`:"0",mobileHeight:a.mobileTopOffset&&a.mobileEnabled?`calc(100% - ${a.mobileTopOffset}px)`:"100%",height:a.topOffset?`calc(100% - ${a.topOffset}px)`:"100%"})),b=t.computed(()=>({display:!a.mobileHeaderVisible&&a.mobileEnabled?"none":"flex",minHeight:`${a.headerHeight}px`})),h=t.computed(()=>({marginTop:d.value?`${a.headerHeight}px`:"0"})),g=t.computed(()=>({top:a.mobileTopOffset&&a.mobileEnabled?`${a.mobileTopOffset}px`:"0",zIndex:a.mobileOverlayZIndex!==null?a.mobileOverlayZIndex:a.zIndex>1?a.zIndex-1:1})),I=l=>Bn(l).map(f=>{var v,_,N;if(f){(!f.key||!((v=f.key)!=null&&v.trim()))&&(f.key=String(f.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-")),(!f.testId||!((_=f.testId)!=null&&_.trim()))&&(f.testId=String(f.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"));for(const E of f.items||[])E.parentKey=f.key,(!E.testId||!((N=E.testId)!=null&&N.trim()))&&(E.testId=String(E.name||"").trim().toLowerCase().replace(/[^[a-z]/gi,"-"))}return f}),C=t.computed(()=>a.topItems.length?I(a.topItems):[]),B=t.computed(()=>a.bottomItems.length?I(a.bottomItems):[]),k=t.ref(a.open),S=l=>{var u,f;k.value!==l&&(k.value=l,n("toggle",l)),l?(u=document==null?void 0:document.body)==null||u.classList.add("kong-ui-app-sidebar-open"):(f=document==null?void 0:document.body)==null||f.classList.remove("kong-ui-app-sidebar-open"),D.value=!1},P=()=>{a.mobileOverlayCloseOnClick&&S(!1)},D=t.ref(!1),$=l=>{D.value=!0,n("click",l),setTimeout(()=>{S(!1)},a.mobileCloseDelay)};t.watch(()=>a.open,l=>{S(l)});const{debounce:G}=rt(),Z=G(()=>{k.value&&w.value!==(window==null?void 0:window.innerWidth)&&(w.value=window==null?void 0:window.innerWidth,S(!1))},200),w=t.ref(),A=t.ref(!1),j=t.ref(),U=()=>{A.value||(A.value=!0,clearTimeout(j.value),j.value=setTimeout(()=>A.value=!1,1300))},K=t.ref(null),H=t.computed(()=>k.value&&a.mobileEnabled),T=async l=>{var u,f;l?(await t.nextTick(),await new Promise(v=>setTimeout(v,300)),(u=K.value)==null||u.activate()):(f=K.value)==null||f.deactivate()};return t.watch(H,async l=>{l?await T(!0):await T(!1)},{immediate:!0}),t.onMounted(()=>{w.value=window==null?void 0:window.innerWidth,window.addEventListener("resize",Z),window.addEventListener("resize",U)}),t.onBeforeUnmount(()=>{window.removeEventListener("resize",Z),window.removeEventListener("resize",U)}),(l,u)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[k.value&&r.mobileOverlay&&r.mobileEnabled?(t.openBlock(),t.createElementBlock("div",{key:0,class:"kong-ui-app-sidebar-overlay",onClick:P})):t.createCommentVNode("",!0),t.createVNode(t.unref(Nn),{ref_key:"focusTrap",ref:K,active:!1,"allow-outside-click":"","fallback-focus":".kong-ui-app-sidebar"},{default:t.withCtx(()=>[t.createElementVNode("aside",{class:t.normalizeClass(["kong-ui-app-sidebar",{"sidebar-open":k.value,"no-sidebar-header":!d.value,"mobile-header-hidden":r.mobileEnabled&&(!d.value||!r.mobileHeaderVisible),"mobile-disabled":!r.mobileEnabled,"disable-transitions":A.value}]),tabindex:"-1"},[d.value?(t.openBlock(),t.createElementBlock("div",On,[t.renderSlot(l.$slots,"header",{},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",xn,[p.value?(t.openBlock(),t.createElementBlock("div",An,[t.renderSlot(l.$slots,"top",{},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("nav",Fn,[C.value.length?(t.openBlock(),t.createElementBlock("ul",$n,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C.value,f=>(t.openBlock(),t.createBlock(ze,{key:f.name,item:f,onClick:$},null,8,["item"]))),128))])):t.createCommentVNode("",!0),C.value.length&&B.value.length?(t.openBlock(),t.createElementBlock("div",Dn)):t.createCommentVNode("",!0),B.value.length?(t.openBlock(),t.createElementBlock("ul",Vn,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(B.value,f=>(t.openBlock(),t.createBlock(ze,{key:f.name,item:f,onClick:$},null,8,["item"]))),128))])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Rn,[t.renderSlot(l.$slots,"footer",{},void 0,!0)])],2)]),_:3},512)],64))}}),Vr="",Rr="",ot=q(Ln,[["__scopeId","data-v-c7cf14c5"]]),Ae=r=>(t.pushScopeId("data-v-025d1560"),r=r(),t.popScopeId(),r),Mn=["aria-label","onClick"],Pn=[Ae(()=>t.createElementVNode("span",{class:"line"},null,-1)),Ae(()=>t.createElementVNode("span",{class:"line"},null,-1)),Ae(()=>t.createElementVNode("span",{class:"line"},null,-1))],Zn=t.defineComponent({__name:"SidebarToggle",props:{active:{type:Boolean,default:!1}},emits:["toggle"],setup(r,{emit:n}){const a=r,o=t.ref(a.active||!1),d=()=>{o.value=!o.value,n("toggle",o.value)};return t.watch(()=>a.active,p=>{o.value=p}),(p,c)=>(t.openBlock(),t.createElementBlock("a",{"aria-haspopup":"true","aria-label":o.value?"Close Main Menu":"Open Main Menu",class:t.normalizeClass(["sidebar-menu-toggle",{active:o.value}]),href:"#",role:"button",onClick:t.withModifiers(d,["prevent"])},Pn,10,Mn))}}),Zr="",it=q(Zn,[["__scopeId","data-v-025d1560"]]),jn="0px",Hn="16px",Kn=r=>(t.pushScopeId("data-v-bf6a615f"),r=r(),t.popScopeId(),r),zn={id:"kong-ui-app-layout-notification"},Un={class:"mobile-logo"},Gn={key:0,class:"navbar-logo"},Wn={class:"kong-ui-app-layout-main","data-testid":"kong-ui-app-layout-main"},qn={class:"kong-ui-app-layout-content"},Yn={class:"kong-ui-app-layout-content-inner"},Xn=Kn(()=>t.createElementVNode("div",{id:"kong-ui-app-layout-teleport-default-slot"},null,-1)),Jn=t.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:()=>[]}},emits:["sidebar-click"],setup(r,{emit:n}){const a=r;t.useCssVars(w=>({"2267861a":P.value,"064bdbb4":D.value}));const o=t.useSlots(),d=t.reactive({navbarLeft:t.computed(()=>!!o["navbar-left"]),navbarCenter:t.computed(()=>!!o["navbar-center"]),navbarRight:t.computed(()=>!!o["navbar-right"]),navbarLogo:t.computed(()=>!!o["navbar-logo"]),navbarMobileLogo:t.computed(()=>!!o["navbar-mobile-logo"]),sidebarHeader:t.computed(()=>!!o["sidebar-header"]),sidebarTop:t.computed(()=>!!o["sidebar-top"]),sidebarFooter:t.computed(()=>!!o["sidebar-footer"])}),p=t.computed(()=>a.hideDefaultSlot),c=t.reactive({hidden:t.computed(()=>a.navbarHidden)}),b=t.reactive({topItems:t.computed(()=>a.sidebarTopItems),bottomItems:t.computed(()=>a.sidebarBottomItems),open:t.computed(()=>a.sidebarOpen),hidden:t.computed(()=>a.sidebarHidden)}),h=w=>{n("sidebar-click",w)},g=t.ref(!1),I=w=>{g.value=w};t.watchEffect(()=>{g.value=t.toRef(b,"open").value||!1});const C=t.ref(0),B=t.ref(60),k=t.ref(0),S=t.computed(()=>c.hidden?k.value:B.value+k.value),P=t.computed(()=>`${S.value}px`),D=t.computed(()=>b.hidden||c.hidden?jn:Hn),{debounce:$}=rt(),G=$((w=!1)=>{if(w||C.value!==(window==null?void 0:window.innerWidth)){C.value=window==null?void 0:window.innerWidth;const A=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");A&&(k.value=A.offsetHeight)}},200),Z=t.ref();return t.onMounted(()=>{var A,j;(A=document==null?void 0:document.body)==null||A.classList.add("kong-ui-app-layout-body"),(j=document==null?void 0:document.documentElement)==null||j.classList.add("kong-ui-app-layout-html"),C.value=window==null?void 0:window.innerWidth,G(!0);const w=document==null?void 0:document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");w&&(Z.value=new ResizeObserver(U=>{window.requestAnimationFrame(()=>{if(!(!Array.isArray(U)||!U.length))for(const K of U){const H=K.contentRect.height;k.value!==H&&(k.value=H)}})}),Z.value.observe(w)),window.addEventListener("resize",G)}),t.onBeforeUnmount(()=>{Z.value&&Z.value.disconnect(),window.removeEventListener("resize",G)}),(w,A)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["kong-ui-app-layout",[{"navbar-hidden":c.hidden},{"sidebar-hidden":b.hidden}]])},[t.createElementVNode("div",zn,[t.renderSlot(w.$slots,"notification",{},void 0,!0)]),c.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(Ke,{key:String(b.hidden),"left-offset":b.hidden?0:void 0,"top-offset":k.value},t.createSlots({"mobile-sidebar-toggle":t.withCtx(()=>[b.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(it,{key:0,active:g.value,onToggle:I},null,8,["active"]))]),_:2},[d.navbarMobileLogo?{name:"mobile-logo",fn:t.withCtx(()=>[t.createElementVNode("div",Un,[t.renderSlot(w.$slots,"navbar-mobile-logo",{},void 0,!0)])]),key:"0"}:void 0,d.navbarLogo?{name:"logo",fn:t.withCtx(()=>[b.hidden?(t.openBlock(),t.createElementBlock("div",Gn,[t.renderSlot(w.$slots,"navbar-logo",{},void 0,!0)])):t.createCommentVNode("",!0)]),key:"1"}:void 0,d.navbarLeft?{name:"left",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"navbar-left",{},void 0,!0)]),key:"2"}:void 0,d.navbarCenter?{name:"center",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"navbar-center",{},void 0,!0)]),key:"3"}:void 0,d.navbarRight?{name:"right",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"navbar-right",{},void 0,!0)]),key:"4"}:void 0]),1032,["left-offset","top-offset"])),b.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(ot,{key:1,"bottom-items":b.bottomItems,"header-height":B.value,"mobile-enabled":"","mobile-header-visible":!1,"mobile-top-offset":S.value,open:g.value,"top-items":b.topItems,"top-offset":k.value,onClick:h,onToggle:I},t.createSlots({_:2},[d.sidebarHeader?{name:"header",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"sidebar-header",{},void 0,!0)]),key:"0"}:void 0,d.sidebarTop?{name:"top",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"sidebar-top",{},void 0,!0)]),key:"1"}:void 0,d.sidebarFooter?{name:"footer",fn:t.withCtx(()=>[t.renderSlot(w.$slots,"sidebar-footer",{},void 0,!0)]),key:"2"}:void 0]),1032,["bottom-items","header-height","mobile-top-offset","open","top-items","top-offset"])),t.createElementVNode("main",Wn,[t.createElementVNode("div",qn,[t.createElementVNode("div",Yn,[Xn,t.renderSlot(w.$slots,"app-error",{},void 0,!0),p.value?t.createCommentVNode("",!0):t.renderSlot(w.$slots,"default",{key:0},void 0,!0)])])])],2))}}),jr="",Hr="",ct=q(Jn,[["__scopeId","data-v-bf6a615f"]]),Qn=t.defineComponent({__name:"AccountDropdown",props:{options:{type:Array,required:!0},width:{type:String,default:"240"},userInitials:{type:String,required:!0,default:" "}},setup(r){return(n,a)=>{const o=t.resolveComponent("KDropdownItem"),d=t.resolveComponent("KDropdownMenu");return t.openBlock(),t.createBlock(d,{class:"account-dropdown","kpop-attributes":{placement:"bottomStart"},label:r.userInitials,size:"small",width:r.width},{items:t.withCtx(({handleSelection:p})=>[t.renderSlot(n.$slots,"default",{},()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.options,c=>(t.openBlock(),t.createBlock(o,{key:c.value,class:t.normalizeClass({"has-divider":c.hasDivider}),"data-testid":"select-"+c.value,"has-divider":c.hasDivider,onClick:b=>p(c)},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default",{option:c},()=>[t.createTextVNode(t.toDisplayString(c.label),1)],!0)]),_:2},1032,["class","data-testid","has-divider","onClick"]))),128))],!0)]),_:3},8,["label","width"])}}}),Kr="",ea=q(Qn,[["__scopeId","data-v-e23c42c4"]]),ta={},na={fill:"none",height:"130",width:"130",xmlns:"http://www.w3.org/2000/svg"},aa=[t.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 ra(r,n){return t.openBlock(),t.createElementBlock("svg",na,aa)}const oa=q(ta,[["render",ra]]),lt=r=>(t.pushScopeId("data-v-ace4c061"),r=r(),t.popScopeId(),r),ia={class:"kong-ui-app-error"},ca={class:"banana-icon"},la={class:"kong-ui-app-error-content"},sa=lt(()=>t.createElementVNode("h2",null,"An unexpected error has occurred",-1)),da=lt(()=>t.createElementVNode("p",null,[t.createTextVNode("Go back to the previous page or "),t.createElementVNode("a",{href:"/"},"return home"),t.createTextVNode(".")],-1)),ua=t.defineComponent({__name:"AppError",setup(r){return(n,a)=>(t.openBlock(),t.createElementBlock("section",ia,[t.createElementVNode("div",ca,[t.createVNode(oa)]),t.createElementVNode("div",la,[t.renderSlot(n.$slots,"default",{},()=>[sa,da],!0)])]))}}),Ur="",Gr="",fa=q(ua,[["__scopeId","data-v-ace4c061"]]),pa={install:(r,n={})=>{r.component(n.name||"AppLayout",ct)}};M.AccountDropdown=ea,M.AppError=fa,M.AppLayout=ct,M.AppNavbar=Ke,M.AppSidebar=ot,M.SidebarToggle=it,M.default=pa,Object.defineProperties(M,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.kong-ui-app-navbar[data-v-b7131fb2]{background:transparent;background:var(--kong-ui-app-navbar-background, transparent);left:0;position:fixed;right:0;top:var(--e7993570);z-index:var(--591d67a5)}@media (min-width: 1024px){.kong-ui-app-navbar[data-v-b7131fb2]{left:var(--0b950b18)}}.kong-ui-app-navbar .header-content[data-v-b7131fb2]{align-items:center;display:flex;height:60px;justify-content:space-between;padding:0 16px}.kong-ui-app-navbar .app-navbar-logo[data-v-b7131fb2]{align-items:center;display:flex;height:100%;justify-content:flex-start;margin-right:var(--74170388);max-width:var(--482efd74);min-width:var(--482efd74)}.kong-ui-app-navbar .mobile-header-left[data-v-b7131fb2]{display:inline-flex;gap:16px}@media (min-width: 1024px){.kong-ui-app-navbar .mobile-header-left[data-v-b7131fb2]{display:none}}.kong-ui-app-navbar .app-navbar-links[data-v-b7131fb2],.kong-ui-app-navbar[data-v-b7131fb2] .app-navbar-links,.kong-ui-app-navbar .app-navbar-links[data-v-b7131fb2-s]{align-items:center;display:flex;height:100%}.kong-ui-app-navbar .app-navbar-links a[data-v-b7131fb2],.kong-ui-app-navbar[data-v-b7131fb2] .app-navbar-links a,.kong-ui-app-navbar .app-navbar-links[data-v-b7131fb2-s] a{align-items:center;align-self:stretch;border-bottom:4px solid transparent;color:#fff;color:var(--white, #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-b7131fb2],.kong-ui-app-navbar[data-v-b7131fb2] .app-navbar-links a,.kong-ui-app-navbar .app-navbar-links[data-v-b7131fb2-s] a{font-size:16px;padding:0 16px}}.kong-ui-app-navbar .app-navbar-links a.router-link-active[data-v-b7131fb2],.kong-ui-app-navbar .app-navbar-links a.active[data-v-b7131fb2],.kong-ui-app-navbar[data-v-b7131fb2] .app-navbar-links a.router-link-active,.kong-ui-app-navbar[data-v-b7131fb2] .app-navbar-links a.active,.kong-ui-app-navbar .app-navbar-links[data-v-b7131fb2-s] a.router-link-active,.kong-ui-app-navbar .app-navbar-links[data-v-b7131fb2-s] a.active{border-color:#84e5ae;border-color:var(--green-300, #84E5AE);font-weight:600!important}.kong-ui-app-navbar .navbar-content[data-v-b7131fb2]{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-b7131fb2]{gap:16px}}.kong-ui-app-navbar .navbar-content-left[data-v-b7131fb2],.kong-ui-app-navbar .navbar-content-center[data-v-b7131fb2],.kong-ui-app-navbar .navbar-content-right[data-v-b7131fb2]{align-items:center;display:flex;flex:1;gap:16px;height:100%}.kong-ui-app-navbar .navbar-content-left[data-v-b7131fb2]{justify-content:flex-start}.kong-ui-app-navbar .navbar-content-center[data-v-b7131fb2]{justify-content:center}.kong-ui-app-navbar .navbar-content-right[data-v-b7131fb2]{justify-content:flex-end}.item-badge[data-v-9e48c714]{background-color:#d44324;background-color:var(--red-500, #D44324);border-radius:16px;color:#fff;color:var(--white, #fff);font-size:12px;font-weight:400;line-height:1.1;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:#a3b6d9;color:var(--steel-300, #A3B6D9);cursor:pointer;display:flex;font-size:14px;font-weight:500;justify-content:space-between;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 .kong-icon.kong-icon-brain svg path[stroke-width="2"],.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link .kong-icon.kong-icon-brain svg path[stroke-width="2"]{stroke:currentColor}.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:#84e5ae;color:var(--green-300, #84E5AE)}.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:#84e5ae;color:var(--green-300, #84E5AE)}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:hover .kong-icon.kong-icon-brain svg path[stroke-width="2"],.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:focus-visible .kong-icon.kong-icon-brain svg path[stroke-width="2"],.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:hover .kong-icon.kong-icon-brain svg path[stroke-width="2"],.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:focus-visible .kong-icon.kong-icon-brain svg path[stroke-width="2"]{stroke:#84e5ae;stroke:var(--green-300, #84E5AE)}.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{outline:1px solid #A3B6D9;outline:1px solid var(--steel-300, #A3B6D9)}.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:#84e5ae;color:var(--green-300, #84E5AE)}.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:700!important}.kong-ui-app-sidebar .sidebar-item-primary ul.level-secondary,.kong-ui-app-sidebar .sidebar-item-secondary ul.level-secondary{border-top:1px solid rgba(0,0,0,.1);border-top:1px solid var(--black-10, rgba(0, 0, 0, .1));padding:4px 0 12px}.sidebar-item-primary[data-v-a431310f]{border:1px solid transparent}.sidebar-item-primary.active[data-v-a431310f],.sidebar-item-primary.expanded[data-v-a431310f]{background-color:#ffffff1a;border-color:#ffffff1a;border-radius:4px}.sidebar-item-primary>a[data-v-a431310f],.sidebar-item-primary>div>a[data-v-a431310f]{border-radius:4px}.sidebar-item-primary>a>.sidebar-item-display.has-label[data-v-a431310f],.sidebar-item-primary>div>a>.sidebar-item-display.has-label[data-v-a431310f]{padding-bottom:12px;padding-top:12px}.sidebar-item-secondary[data-v-a431310f]{margin-bottom:4px}.sidebar-item-secondary[data-v-a431310f]:last-of-type{margin-bottom:0}.sidebar-item-secondary a[data-v-a431310f]{background-color:transparent;border-left:4px solid transparent;color:#dae3f2!important;color:var(--steel-200, #DAE3F2)!important;font-size:14px;min-height:40px!important;transition:all .1s ease-in-out!important}.sidebar-item-secondary a[data-v-a431310f]:hover,.sidebar-item-secondary a[data-v-a431310f]:focus-visible{background-color:#ffffff0d}.sidebar-item-secondary a>.sidebar-item-display.has-badge[data-v-a431310f]{justify-content:space-between}.sidebar-item-secondary a>.sidebar-item-display.has-badge .has-badge-max-width[data-v-a431310f]{max-width:134px!important}.sidebar-item-secondary.active>a[data-v-a431310f]{background-color:#ffffff1a;border-left:4px solid #84E5AE;border-left:4px solid var(--green-300, #84E5AE);color:#fff!important;color:var(--white, #fff)!important;font-weight:600!important}.sidebar-item-display[data-v-a431310f]{align-items:center;display:flex;height:100%;padding:0 16px;width:100%}.sidebar-item-display .sidebar-item-name-container[data-v-a431310f]{line-height:1.3;-webkit-user-select:none;user-select:none}.sidebar-item-display .sidebar-item-name-container .truncate-text[data-v-a431310f]{height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-17[data-v-a431310f]{max-width:17ch}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-18[data-v-a431310f]{max-width:18ch}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-24[data-v-a431310f]{max-width:24ch}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name[data-v-a431310f]{align-items:center;display:flex}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name.has-tooltip[data-v-a431310f]{height:100%}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name.has-tooltip span[data-v-a431310f]{height:auto;min-width:0}.sidebar-item-display .sidebar-item-label[data-v-a431310f]{color:#a3b6d9;color:var(--steel-300, #A3B6D9);font-size:12px;margin-top:4px}.sidebar-item-display .sidebar-item-icon[data-v-a431310f]{align-items:center;display:flex;line-height:0;padding-right:14px}.kong-ui-app-sidebar[data-v-6daf9f02]{background:linear-gradient(180deg,#001740 0%,#073382 100%);background:var(--kong-ui-app-layout-background, linear-gradient(180deg, #001740 0%, #073382 100%));display:flex;flex-direction:column;height:var(--160797d0);left:-100%;position:fixed;top:var(--721527f8);transition:left .2s ease-in-out;width:100%;z-index:var(--054b3490)}@media (min-width: 640px){.kong-ui-app-sidebar[data-v-6daf9f02]{max-width:240px;width:240px}}@media (min-width: 1024px){.kong-ui-app-sidebar[data-v-6daf9f02]{background:transparent;background:var(--kong-ui-app-sidebar-background, transparent);height:var(--6b0e6816);left:0;top:var(--31cc2e74)}}.kong-ui-app-sidebar.sidebar-open[data-v-6daf9f02],.kong-ui-app-sidebar.mobile-disabled[data-v-6daf9f02]{left:0}.kong-ui-app-sidebar.mobile-disabled[data-v-6daf9f02]{width:240px}.kong-ui-app-sidebar.disable-transitions[data-v-6daf9f02]{animation:none!important;transition:none!important}.kong-ui-app-sidebar .sidebar-content-container[data-v-6daf9f02]{display:flex;flex-direction:column;height:100%;margin-top:var(--16bd691a);overflow-x:hidden;overflow-y:scroll;padding-top:8px;scrollbar-color:transparent transparent;scrollbar-gutter:stable both-edges;scrollbar-width:thin}@supports (overflow: overlay){.kong-ui-app-sidebar .sidebar-content-container[data-v-6daf9f02]{overflow-y:overlay}}.kong-ui-app-sidebar .sidebar-content-container[data-v-6daf9f02]::-webkit-scrollbar{height:8px;opacity:1;width:8px}.kong-ui-app-sidebar .sidebar-content-container[data-v-6daf9f02]::-webkit-scrollbar-thumb{background:transparent;border-radius:8px}.kong-ui-app-sidebar .sidebar-content-container[data-v-6daf9f02]::-webkit-scrollbar-track{background:transparent}.kong-ui-app-sidebar .sidebar-content-container[data-v-6daf9f02]:hover{scrollbar-color:#7d91b3 transparent;scrollbar-color:var(--steel-400, #7d91b3) transparent;scrollbar-gutter:stable both-edges;scrollbar-width:thin}.kong-ui-app-sidebar .sidebar-content-container[data-v-6daf9f02]:hover::-webkit-scrollbar-thumb{background:#7d91b3;background:var(--steel-400, #7d91b3)}.kong-ui-app-sidebar .sidebar-content-container[data-v-6daf9f02]:hover::-webkit-scrollbar-track{background:transparent}.kong-ui-app-sidebar .sidebar-footer[data-v-6daf9f02]{align-items:center;color:#a3b6d9;color:var(--steel-300, #A3B6D9);display:flex;font-weight:500;width:100%}.kong-ui-app-sidebar[data-v-6daf9f02] .k-dropdown-item{font-size:14px;line-height:1.3}@media (max-width: 1023px){.mobile-header-hidden .sidebar-content-container[data-v-6daf9f02],.no-sidebar-header .sidebar-content-container[data-v-6daf9f02]{margin-top:0!important}}.sidebar-level-divider[data-v-6daf9f02]{background-color:#ffffff80;height:1px;margin:24px auto;min-height:1px;width:calc(100% - 32px)}.sidebar-header[data-v-6daf9f02]{align-items:center;background:transparent;background:var(--kong-ui-app-sidebar-header-background, transparent);color:#fff;display:var(--08886e32);left:0;min-height:var(--1d2550ee);padding:0 16px;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;z-index:1}@media (min-width: 1024px){.sidebar-header[data-v-6daf9f02]{display:flex}}.sidebar-header[data-v-6daf9f02]>*{display:flex}.sidebar-header[data-v-6daf9f02]>a{text-decoration:none}.sidebar-header[data-v-6daf9f02]>a:focus-visible{border-radius:4px;outline:1px solid #A3B6D9;outline:1px solid var(--steel-300, #A3B6D9)}.sidebar-header[data-v-6daf9f02]:after{background-image:linear-gradient(#001740,rgba(120,120,84,0));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-6daf9f02]{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-6daf9f02]{align-items:center;display:flex;font-size:14px;justify-content:space-between;line-height:1.3;text-decoration:none}.sidebar-item-external-link[data-v-6daf9f02]:focus-visible{outline:1px solid #A3B6D9!important;outline:1px solid var(--steel-300, #A3B6D9)!important}.sidebar-item-external-link[data-v-6daf9f02] .kong-icon{display:inline-flex;margin-bottom:-7px}.kong-ui-app-sidebar-overlay[data-v-6daf9f02]{background-color:#0b172d99;bottom:0;left:0;position:fixed;right:0;top:var(--ed4e7e56);z-index:var(--377644f8)}@media (min-width: 1024px){.kong-ui-app-sidebar-overlay[data-v-6daf9f02]{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-33b3f7c3]{border-radius:3px;padding:0 4px;position:relative;transition:all .3s ease-in-out}.sidebar-menu-toggle[data-v-33b3f7c3]:focus-visible{outline:1px solid #1155cb;outline:1px solid var(--kong-ui-app-sidebar-mobile-icon-color, var(--blue-500, #1155cb))}@media (min-width: 1024px){.sidebar-menu-toggle[data-v-33b3f7c3]{display:none}}.sidebar-menu-toggle .line[data-v-33b3f7c3]{background-color:#fff;background-color:var(--kong-ui-app-sidebar-mobile-icon-color, var(--white, #fff));border-radius:4px;display:block;height:2px;margin:6px auto;transition:all .3s ease-in-out;width:24px}.sidebar-menu-toggle.active .line[data-v-33b3f7c3]:nth-child(2){opacity:0}.sidebar-menu-toggle.active .line[data-v-33b3f7c3]:nth-child(1){transform:translateY(8px) rotate(45deg)}.sidebar-menu-toggle.active .line[data-v-33b3f7c3]: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{--font-family-sans: Inter, Helvetica, Arial, sans-serif;--font-family-mono: Fira Mono, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;--font-weight-normal: 400;--KInputLabelWeight: 600;--KongAuthFontFamily: Inter, Helvetica, Arial, sans-serif;--KongAuthFontWeight: 400}html.kong-ui-app-layout-html{font-size:10px;-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:#f8f8fa;background-color:var(--grey-100, #f8f8fa);color:#0b172d;color:var(--black-500, #0b172d);font-family:Inter,Helvetica,Arial,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;line-height:1.5}#app{height:100%}.kong-auth-element{--font-family-sans: Inter, Helvetica, Arial, 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-c2f48dd9]{background:linear-gradient(180deg,#001740 0%,#073382 100%);background:var(--kong-ui-app-layout-background, linear-gradient(180deg, #001740 0%, #073382 100%));bottom:0;display:flex;flex-direction:column;font-family:Inter,Helvetica,Arial,sans-serif;height:100%;left:0;overflow:hidden;position:fixed;right:0;top:0;width:100%}.kong-ui-app-layout[data-v-c2f48dd9] .kong-ui-app-navbar .mobile-logo{align-items:center;display:flex}@media (min-width: 1024px){.kong-ui-app-layout[data-v-c2f48dd9] .kong-ui-app-navbar .mobile-logo{display:none}}.kong-ui-app-layout[data-v-c2f48dd9] .kong-ui-app-navbar .mobile-logo>*{align-items:center;display:flex}.kong-ui-app-layout[data-v-c2f48dd9] .kong-ui-app-navbar .mobile-logo a{text-decoration:none}.kong-ui-app-layout .kong-ui-app-layout-main[data-v-c2f48dd9]{align-items:stretch;background-color:#f8f8fa;background-color:var(--grey-100, #f8f8fa);box-shadow:-30px 174px 250px #0023db;box-shadow:var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db);display:flex;flex-grow:1;height:100%;margin-top:var(--3e6a8290);overflow:auto;position:relative;width:100%}@media (min-width: 1024px){.kong-ui-app-layout .kong-ui-app-layout-main[data-v-c2f48dd9]{border-top-left-radius:var(--593090fa);margin-left:240px;width:calc(100% - 240px)}}.kong-ui-app-layout .kong-ui-app-layout-main.full-width[data-v-c2f48dd9]{margin-left:0}.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content[data-v-c2f48dd9]{position:relative;width:100%}.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content-inner[data-v-c2f48dd9]{padding:16px;padding:var(--kong-ui-app-layout-content-padding, 16px)}@media (min-width: 1024px){.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content-inner[data-v-c2f48dd9]{padding:32px;padding:var(--kong-ui-app-layout-content-padding, 32px)}}.kong-ui-app-layout.navbar-hidden .kong-ui-app-layout-main[data-v-c2f48dd9]{margin-top:0}.kong-ui-app-layout.sidebar-hidden .kong-ui-app-layout-main[data-v-c2f48dd9]{margin-left:0;width:100%}.kong-ui-app-layout #kong-ui-app-layout-notification[data-v-c2f48dd9]{left:0;position:fixed;right:0;top:0;z-index:1}.kong-ui-app-layout #kong-ui-app-layout-notification[data-v-c2f48dd9] .k-alert{border-radius:0!important}.account-dropdown[data-v-6e34d3da]{display:flex;margin-right:4px}.account-dropdown[data-v-6e34d3da] .k-button.primary,.account-dropdown[data-v-6e34d3da] .k-button.primary:hover:not(:disabled){background-color:#9396fc;background-color:var(--kong-ui-account-dropdown-background, var(--purple-300, #9396FC));color:#fff;color:var(--kong-ui-account-dropdown-color, var(--white, #fff));font-size:11px;height:24px;justify-content:center;padding:0;-webkit-user-select:none;user-select:none;width:24px}.account-dropdown[data-v-6e34d3da] .k-button.primary:active,.account-dropdown[data-v-6e34d3da] .k-button.primary:hover:not(:disabled):active{background-color:#9396fc;background-color:var(--kong-ui-account-dropdown-background, var(--purple-300, #9396FC))}.account-dropdown[data-v-6e34d3da] .k-dropdown-popover{top:10px!important}.kong-ui-app-error[data-v-ff05f71e]{align-items:center;background-color:#fff;border-top:3px solid #169fcc;border-top:3px solid var(--teal-300, #169fcc);display:flex;flex-direction:column;margin:32px auto 0;padding-bottom:48px;width:100%}@media (min-width: 640px){.kong-ui-app-error[data-v-ff05f71e]{width:80%}}@media (min-width: 1024px){.kong-ui-app-error[data-v-ff05f71e]{max-width:840px}}.kong-ui-app-error .banana-icon[data-v-ff05f71e]{animation-delay:.75s;margin:32px auto 24px}.kong-ui-app-error .kong-ui-app-error-content[data-v-ff05f71e]{animation:.75s cubic-bezier(.785,.135,.15,.86) forwards fadeIn-ff05f71e;opacity:0;padding:0 16px}@media (min-width: 768px){.kong-ui-app-error .kong-ui-app-error-content[data-v-ff05f71e]{padding:0 36px}}@media (prefers-reduced-motion){.kong-ui-app-error .kong-ui-app-error-content[data-v-ff05f71e]{animation:none;opacity:1}}@keyframes fadeIn-ff05f71e{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.kong-ui-app-error .kong-ui-app-error-content{color:#6f7787;color:var(--grey-500, #6f7787);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:#0b172d;color:var(--black-500, #0b172d);font-size:32px;font-weight:600;margin-bottom:16px;margin-top:0}
|
|
1
|
+
.kong-ui-app-navbar[data-v-19ca63a4]{background:rgba(0,0,0,0);background:var(--kong-ui-app-navbar-background, rgba(0, 0, 0, 0));left:0;position:fixed;right:0;top:var(--504340bc);z-index:var(--31fdd1ea)}@media (min-width: 1024px){.kong-ui-app-navbar[data-v-19ca63a4]{left:var(--23e9cb5a)}}.kong-ui-app-navbar .header-content[data-v-19ca63a4]{align-items:center;display:flex;height:60px;justify-content:space-between;padding:0 16px}.kong-ui-app-navbar .app-navbar-logo[data-v-19ca63a4]{align-items:center;display:flex;height:100%;justify-content:flex-start;margin-right:var(--d856edbc);max-width:var(--53daa64c);min-width:var(--53daa64c)}.kong-ui-app-navbar .mobile-header-left[data-v-19ca63a4]{display:inline-flex;gap:16px}@media (min-width: 1024px){.kong-ui-app-navbar .mobile-header-left[data-v-19ca63a4]{display:none}}.kong-ui-app-navbar .app-navbar-links[data-v-19ca63a4],.kong-ui-app-navbar[data-v-19ca63a4] .app-navbar-links,.kong-ui-app-navbar .app-navbar-links[data-v-19ca63a4-s]{align-items:center;display:flex;height:100%}.kong-ui-app-navbar .app-navbar-links a[data-v-19ca63a4],.kong-ui-app-navbar[data-v-19ca63a4] .app-navbar-links a,.kong-ui-app-navbar .app-navbar-links[data-v-19ca63a4-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-19ca63a4],.kong-ui-app-navbar[data-v-19ca63a4] .app-navbar-links a,.kong-ui-app-navbar .app-navbar-links[data-v-19ca63a4-s] a{font-size:16px;padding:0 16px}}.kong-ui-app-navbar .app-navbar-links a.router-link-active[data-v-19ca63a4],.kong-ui-app-navbar .app-navbar-links a.active[data-v-19ca63a4],.kong-ui-app-navbar[data-v-19ca63a4] .app-navbar-links a.router-link-active,.kong-ui-app-navbar[data-v-19ca63a4] .app-navbar-links a.active,.kong-ui-app-navbar .app-navbar-links[data-v-19ca63a4-s] a.router-link-active,.kong-ui-app-navbar .app-navbar-links[data-v-19ca63a4-s] a.active{border-color:#84e5ae;font-weight:600!important}.kong-ui-app-navbar .navbar-content[data-v-19ca63a4]{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-19ca63a4]{gap:16px}}.kong-ui-app-navbar .navbar-content-left[data-v-19ca63a4],.kong-ui-app-navbar .navbar-content-center[data-v-19ca63a4],.kong-ui-app-navbar .navbar-content-right[data-v-19ca63a4]{align-items:center;display:flex;flex:1;gap:16px;height:100%}.kong-ui-app-navbar .navbar-content-left[data-v-19ca63a4]{justify-content:flex-start}.kong-ui-app-navbar .navbar-content-center[data-v-19ca63a4]{justify-content:center}.kong-ui-app-navbar .navbar-content-right[data-v-19ca63a4]{justify-content:flex-end}.item-badge[data-v-97e30521]{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:#afb7c5;cursor:pointer;display:flex;font-size:14px;font-weight:500;justify-content:space-between;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 .kong-icon.kong-icon-brain svg path[stroke-width="2"],.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link .kong-icon.kong-icon-brain svg path[stroke-width="2"]{stroke:currentColor}.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:#84e5ae}.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:#84e5ae}.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:hover .kong-icon.kong-icon-brain svg path[stroke-width="2"],.kong-ui-app-sidebar .sidebar-item-primary a.sidebar-item-link:focus-visible .kong-icon.kong-icon-brain svg path[stroke-width="2"],.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:hover .kong-icon.kong-icon-brain svg path[stroke-width="2"],.kong-ui-app-sidebar .sidebar-item-secondary a.sidebar-item-link:focus-visible .kong-icon.kong-icon-brain svg path[stroke-width="2"]{stroke:#84e5ae}.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{outline:1px solid #afb7c5}.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:#84e5ae}.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:700!important}.kong-ui-app-sidebar .sidebar-item-primary ul.level-secondary,.kong-ui-app-sidebar .sidebar-item-secondary ul.level-secondary{border-top:1px solid rgba(175,183,197,.1);padding:4px 0 12px}.sidebar-item-primary[data-v-aa7b9a27]{border:1px solid transparent}.sidebar-item-primary.active[data-v-aa7b9a27],.sidebar-item-primary.expanded[data-v-aa7b9a27]{background-color:#ffffff1a;border-color:#ffffff1a;border-radius:4px}.sidebar-item-primary>a[data-v-aa7b9a27],.sidebar-item-primary>div>a[data-v-aa7b9a27]{border-radius:4px}.sidebar-item-primary>a>.sidebar-item-display.has-label[data-v-aa7b9a27],.sidebar-item-primary>div>a>.sidebar-item-display.has-label[data-v-aa7b9a27]{padding-bottom:12px;padding-top:12px}.sidebar-item-secondary[data-v-aa7b9a27]{margin-bottom:4px}.sidebar-item-secondary[data-v-aa7b9a27]:last-of-type{margin-bottom:0}.sidebar-item-secondary a[data-v-aa7b9a27]{background-color:transparent;border-left:4px solid rgba(0,0,0,0);color:#afb7c5!important;font-size:14px;min-height:40px!important;transition:all .1s ease-in-out!important}.sidebar-item-secondary a[data-v-aa7b9a27]:hover,.sidebar-item-secondary a[data-v-aa7b9a27]:focus-visible{background-color:#ffffff0d}.sidebar-item-secondary a>.sidebar-item-display.has-badge[data-v-aa7b9a27]{justify-content:space-between}.sidebar-item-secondary a>.sidebar-item-display.has-badge .has-badge-max-width[data-v-aa7b9a27]{max-width:134px!important}.sidebar-item-secondary.active>a[data-v-aa7b9a27]{background-color:#ffffff1a;border-left:4px solid #84E5AE;color:#fff!important;font-weight:600!important}.sidebar-item-display[data-v-aa7b9a27]{align-items:center;display:flex;height:100%;padding:0 16px;width:100%}.sidebar-item-display .sidebar-item-name-container[data-v-aa7b9a27]{line-height:16px;-webkit-user-select:none;user-select:none}.sidebar-item-display .sidebar-item-name-container .truncate-text[data-v-aa7b9a27]{height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-17[data-v-aa7b9a27]{max-width:17ch}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-18[data-v-aa7b9a27]{max-width:18ch}.sidebar-item-display .sidebar-item-name-container .truncate-text.truncate-24[data-v-aa7b9a27]{max-width:24ch}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name[data-v-aa7b9a27]{align-items:center;display:flex}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name.has-tooltip[data-v-aa7b9a27]{height:100%}.sidebar-item-display .sidebar-item-name-container .sidebar-item-name.has-tooltip span[data-v-aa7b9a27]{height:auto;min-width:0px}.sidebar-item-display .sidebar-item-label[data-v-aa7b9a27]{color:#afb7c5;font-size:12px;margin-top:4px}.sidebar-item-display .sidebar-item-icon[data-v-aa7b9a27]{align-items:center;display:flex;line-height:0;padding-right:12px}.kong-ui-app-sidebar[data-v-c7cf14c5]{background:linear-gradient(180deg,#001740 0%,#073382 100%);background:var(--kong-ui-app-layout-background, linear-gradient(180deg, #001740 0%, #073382 100%));display:flex;flex-direction:column;height:var(--0af5264e);left:-100%;position:fixed;top:var(--733e958e);transition:left .2s ease-in-out;width:100%;z-index:var(--d6ef92cc)}@media (min-width: 640px){.kong-ui-app-sidebar[data-v-c7cf14c5]{max-width:240px;width:240px}}@media (min-width: 1024px){.kong-ui-app-sidebar[data-v-c7cf14c5]{background:transparent;background:var(--kong-ui-app-sidebar-background, transparent);height:var(--3b428a68);left:0;top:var(--25bb81d0)}}.kong-ui-app-sidebar.sidebar-open[data-v-c7cf14c5],.kong-ui-app-sidebar.mobile-disabled[data-v-c7cf14c5]{left:0}.kong-ui-app-sidebar.mobile-disabled[data-v-c7cf14c5]{width:240px}.kong-ui-app-sidebar.disable-transitions[data-v-c7cf14c5]{animation:none!important;transition:none!important}.kong-ui-app-sidebar .sidebar-content-container[data-v-c7cf14c5]{display:flex;flex-direction:column;height:100%;margin-top:var(--555f0224);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-c7cf14c5]{overflow-y:overlay}}.kong-ui-app-sidebar .sidebar-content-container[data-v-c7cf14c5]::-webkit-scrollbar{height:8px;opacity:1;width:8px}.kong-ui-app-sidebar .sidebar-content-container[data-v-c7cf14c5]::-webkit-scrollbar-thumb{background:rgba(0,0,0,0);border-radius:8px}.kong-ui-app-sidebar .sidebar-content-container[data-v-c7cf14c5]::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.kong-ui-app-sidebar .sidebar-content-container[data-v-c7cf14c5]: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-c7cf14c5]:hover::-webkit-scrollbar-thumb{background:#6c7489}.kong-ui-app-sidebar .sidebar-content-container[data-v-c7cf14c5]:hover::-webkit-scrollbar-track{background:rgba(0,0,0,0)}.kong-ui-app-sidebar .sidebar-footer[data-v-c7cf14c5]{align-items:center;color:#afb7c5;display:flex;font-weight:500;width:100%}.kong-ui-app-sidebar[data-v-c7cf14c5] .k-dropdown-item{font-size:14px;line-height:20px}@media (max-width: 1023px){.mobile-header-hidden .sidebar-content-container[data-v-c7cf14c5],.no-sidebar-header .sidebar-content-container[data-v-c7cf14c5]{margin-top:0!important}}.sidebar-level-divider[data-v-c7cf14c5]{background-color:#ffffff80;height:1px;margin:24px auto;min-height:1px;width:calc(100% - 32px)}.sidebar-header[data-v-c7cf14c5]{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(--7fd8c0e8);left:0;min-height:var(--54185682);padding:0 16px;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;z-index:1}@media (min-width: 1024px){.sidebar-header[data-v-c7cf14c5]{display:flex}}.sidebar-header[data-v-c7cf14c5]>*{display:flex}.sidebar-header[data-v-c7cf14c5]>a{text-decoration:none}.sidebar-header[data-v-c7cf14c5]>a:focus-visible{border-radius:4px;outline:1px solid #afb7c5}.sidebar-header[data-v-c7cf14c5]:after{background-image:linear-gradient(#001740,rgba(120,120,84,0));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-c7cf14c5]{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-c7cf14c5]{align-items:center;display:flex;font-size:14px;justify-content:space-between;line-height:20px;text-decoration:none}.sidebar-item-external-link[data-v-c7cf14c5]:focus-visible{outline:1px solid #afb7c5!important}.sidebar-item-external-link[data-v-c7cf14c5] .kong-icon{display:inline-flex;margin-bottom:-7px}.kong-ui-app-sidebar-overlay[data-v-c7cf14c5]{background-color:#0b172d99;bottom:0;left:0;position:fixed;right:0;top:var(--00c1145f);z-index:var(--65f065a4)}@media (min-width: 1024px){.kong-ui-app-sidebar-overlay[data-v-c7cf14c5]{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-025d1560]{border-radius:4px;padding:0 4px;position:relative;transition:all .3s ease-in-out}.sidebar-menu-toggle[data-v-025d1560]: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-025d1560]{display:none}}.sidebar-menu-toggle .line[data-v-025d1560]{background-color:#fff;background-color:var(--kong-ui-app-sidebar-mobile-icon-color, #ffffff);border-radius:4px;display:block;height:2px;margin:6px auto;transition:all .3s ease-in-out;width:24px}.sidebar-menu-toggle.active .line[data-v-025d1560]:nth-child(2){opacity:0}.sidebar-menu-toggle.active .line[data-v-025d1560]:nth-child(1){transform:translateY(8px) rotate(45deg)}.sidebar-menu-toggle.active .line[data-v-025d1560]: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{--font-family-sans: Inter, Roboto, Helvetica, sans-serif;--font-family-mono: JetBrains Mono, Consolas, monospace;--font-weight-normal: 400;--KInputLabelWeight: 600;--KongAuthFontFamily: Inter, Roboto, Helvetica, sans-serif;--KongAuthFontWeight: 400}html.kong-ui-app-layout-html{font-size:10px;-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:#f9fafb;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-sans: 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-bf6a615f]{background:linear-gradient(180deg,#001740 0%,#073382 100%);background:var(--kong-ui-app-layout-background, linear-gradient(180deg, #001740 0%, #073382 100%));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-bf6a615f] .kong-ui-app-navbar .mobile-logo{align-items:center;display:flex}@media (min-width: 1024px){.kong-ui-app-layout[data-v-bf6a615f] .kong-ui-app-navbar .mobile-logo{display:none}}.kong-ui-app-layout[data-v-bf6a615f] .kong-ui-app-navbar .mobile-logo>*{align-items:center;display:flex}.kong-ui-app-layout[data-v-bf6a615f] .kong-ui-app-navbar .mobile-logo a{text-decoration:none}.kong-ui-app-layout .kong-ui-app-layout-main[data-v-bf6a615f]{align-items:stretch;background-color:#f9fafb;box-shadow:-30px 174px 250px #0023db;box-shadow:var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db);display:flex;flex-grow:1;height:100%;margin-top:var(--2267861a);overflow:auto;position:relative;width:100%}@media (min-width: 1024px){.kong-ui-app-layout .kong-ui-app-layout-main[data-v-bf6a615f]{border-top-left-radius:var(--064bdbb4);margin-left:240px;width:calc(100% - 240px)}}.kong-ui-app-layout .kong-ui-app-layout-main.full-width[data-v-bf6a615f]{margin-left:0}.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content[data-v-bf6a615f]{position:relative;width:100%}.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content-inner[data-v-bf6a615f]{padding:16px;padding:var(--kong-ui-app-layout-content-padding, 16px)}@media (min-width: 1024px){.kong-ui-app-layout .kong-ui-app-layout-main .kong-ui-app-layout-content-inner[data-v-bf6a615f]{padding:32px;padding:var(--kong-ui-app-layout-content-padding, 32px)}}.kong-ui-app-layout.navbar-hidden .kong-ui-app-layout-main[data-v-bf6a615f]{margin-top:0}.kong-ui-app-layout.sidebar-hidden .kong-ui-app-layout-main[data-v-bf6a615f]{margin-left:0;width:100%}.kong-ui-app-layout #kong-ui-app-layout-notification[data-v-bf6a615f]{left:0;position:fixed;right:0;top:0;z-index:1}.kong-ui-app-layout #kong-ui-app-layout-notification[data-v-bf6a615f] .k-alert{border-radius:0!important}.account-dropdown[data-v-e23c42c4]{display:flex;margin-right:4px}.account-dropdown[data-v-e23c42c4] .k-button.primary,.account-dropdown[data-v-e23c42c4] .k-button.primary:hover:not(:disabled){background-color:#0044f4;background-color:var(--kong-ui-account-dropdown-background, #0044f4);color:#fff;color:var(--kong-ui-account-dropdown-color, #ffffff);font-size:12px;height:24px;justify-content:center;padding:0;-webkit-user-select:none;user-select:none;width:24px}.account-dropdown[data-v-e23c42c4] .k-button.primary:active,.account-dropdown[data-v-e23c42c4] .k-button.primary:hover:not(:disabled):active{background-color:#9396fc;background-color:var(--kong-ui-account-dropdown-background, #9396FC)}.account-dropdown[data-v-e23c42c4] .k-dropdown-popover{top:10px!important}.kong-ui-app-error[data-v-ace4c061]{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-ace4c061]{width:80%}}@media (min-width: 1024px){.kong-ui-app-error[data-v-ace4c061]{max-width:840px}}.kong-ui-app-error .banana-icon[data-v-ace4c061]{animation-delay:.75s;margin:32px auto 24px}.kong-ui-app-error .kong-ui-app-error-content[data-v-ace4c061]{animation:.75s cubic-bezier(.785,.135,.15,.86) forwards fadeIn-ace4c061;opacity:0;padding:0 16px}@media (min-width: 768px){.kong-ui-app-error .kong-ui-app-error-content[data-v-ace4c061]{padding:0 32px}}@media (prefers-reduced-motion){.kong-ui-app-error .kong-ui-app-error-content[data-v-ace4c061]{animation:none;opacity:1}}@keyframes fadeIn-ace4c061{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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoE,QAAQ,EAAmB,MAAM,KAAK,CAAA;AAIjH,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AppLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoE,QAAQ,EAAmB,MAAM,KAAK,CAAA;AAIjH,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmlBxE,wBAA8G;AAE9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/app-layout",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.3-pr.624.269fc80.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/app-layout.umd.js",
|
|
6
6
|
"module": "./dist/app-layout.es.js",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"lodash.clonedeep": "^4.5.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
+
"@kong/design-tokens": "^1.7.1",
|
|
33
34
|
"@kong/kongponents": "^8.91.1",
|
|
34
35
|
"@types/lodash.clonedeep": "^4.5.7",
|
|
35
36
|
"vue": "^3.3.4",
|