@kong-ui-public/app-layout 4.3.1 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { defineComponent as ee, resolveComponent as he, openBlock as p, createBlock as X, withCtx as R, renderSlot as I, createElementBlock as w, Fragment as $e, renderList as Te, normalizeClass as re, createTextVNode as lt, toDisplayString as q, computed as k, createSlots as Ze, createVNode as Ne, createCommentVNode as C, createElementVNode as O, createStaticVNode as vn, useCssVars as dt, useSlots as Ge, reactive as je, onMounted as qe, resolveDynamicComponent as bn, withKeys as hn, ref as W, watch as Ke, onUnmounted as pn, Comment as mn, cloneVNode as gn, nextTick as Rt, onBeforeUnmount as Ht, unref as yn, withModifiers as wn, watchEffect as kn, toRef as Tn } from "vue";
2
- const Sn = /* @__PURE__ */ ee({
1
+ import { defineComponent as te, resolveComponent as he, openBlock as p, createBlock as Y, withCtx as D, renderSlot as S, createElementBlock as w, Fragment as $e, renderList as Te, normalizeClass as re, createTextVNode as lt, toDisplayString as X, computed as k, createSlots as Ke, createVNode as Ne, createCommentVNode as C, createElementVNode as I, createStaticVNode as vn, useCssVars as dt, useSlots as Ge, reactive as Ze, onMounted as qe, resolveDynamicComponent as bn, withKeys as hn, ref as V, watch as Ae, onUnmounted as pn, Comment as mn, cloneVNode as gn, nextTick as Rt, onBeforeUnmount as Ht, unref as yn, withModifiers as wn, watchEffect as kn, toRef as Tn } from "vue";
2
+ const Sn = /* @__PURE__ */ te({
3
3
  __name: "AccountDropdown",
4
4
  props: {
5
5
  options: {
@@ -19,25 +19,25 @@ const Sn = /* @__PURE__ */ ee({
19
19
  },
20
20
  setup(n) {
21
21
  return (t, r) => {
22
- const a = he("KDropdownItem"), l = he("KDropdown");
23
- return p(), X(l, {
22
+ const a = he("KDropdownItem"), c = he("KDropdown");
23
+ return p(), Y(c, {
24
24
  class: "account-dropdown",
25
25
  "kpop-attributes": { placement: "bottom-end" },
26
26
  "trigger-text": n.userInitials,
27
27
  width: n.width
28
28
  }, {
29
- items: R(({ handleSelection: u }) => [
30
- I(t.$slots, "default", {}, () => [
31
- (p(!0), w($e, null, Te(n.options, (o) => (p(), X(a, {
29
+ items: D(({ handleSelection: u }) => [
30
+ S(t.$slots, "default", {}, () => [
31
+ (p(!0), w($e, null, Te(n.options, (o) => (p(), Y(a, {
32
32
  key: o.value,
33
33
  class: re({ "has-divider": o.hasDivider }),
34
34
  "data-testid": "select-" + o.value,
35
35
  "has-divider": o.hasDivider,
36
36
  onClick: (v) => u(o)
37
37
  }, {
38
- default: R(() => [
39
- I(t.$slots, "default", { option: o }, () => [
40
- lt(q(o.label), 1)
38
+ default: D(() => [
39
+ S(t.$slots, "default", { option: o }, () => [
40
+ lt(X(o.label), 1)
41
41
  ], !0)
42
42
  ]),
43
43
  _: 2
@@ -48,12 +48,12 @@ const Sn = /* @__PURE__ */ ee({
48
48
  }, 8, ["trigger-text", "width"]);
49
49
  };
50
50
  }
51
- }), te = (n, t) => {
51
+ }), ae = (n, t) => {
52
52
  const r = n.__vccOpts || n;
53
- for (const [a, l] of t)
54
- r[a] = l;
53
+ for (const [a, c] of t)
54
+ r[a] = c;
55
55
  return r;
56
- }, Ci = /* @__PURE__ */ te(Sn, [["__scopeId", "data-v-b33191a2"]]), _n = {
56
+ }, Ci = /* @__PURE__ */ ae(Sn, [["__scopeId", "data-v-b33191a2"]]), _n = {
57
57
  class: "about-section-title",
58
58
  "data-testid": "about-section-title"
59
59
  }, In = { class: "about-section-header-end" }, On = {
@@ -89,7 +89,7 @@ const Sn = /* @__PURE__ */ ee({
89
89
  key: 3,
90
90
  class: "about-divider-section",
91
91
  "data-testid": "about-divider-section"
92
- }, Bn = /* @__PURE__ */ ee({
92
+ }, Bn = /* @__PURE__ */ te({
93
93
  __name: "AppAboutSection",
94
94
  props: {
95
95
  title: {
@@ -123,13 +123,13 @@ const Sn = /* @__PURE__ */ ee({
123
123
  },
124
124
  setup(n) {
125
125
  const t = n, r = k(() => !!t.modified && t.modified !== t.created);
126
- return (a, l) => {
126
+ return (a, c) => {
127
127
  const u = he("KSkeletonBox"), o = he("KCard");
128
- return p(), X(o, {
128
+ return p(), Y(o, {
129
129
  class: "kong-ui-app-about-section",
130
130
  "title-tag": "h2"
131
- }, Ze({
132
- default: R(() => [
131
+ }, Ke({
132
+ default: D(() => [
133
133
  n.isLoading ? (p(), w("div", Nn, [
134
134
  Ne(u, {
135
135
  height: "2",
@@ -140,13 +140,13 @@ const Sn = /* @__PURE__ */ ee({
140
140
  width: "100"
141
141
  })
142
142
  ])) : (p(), w("div", An, [
143
- n.description ? (p(), w("p", Fn, q(n.description), 1)) : C("", !0),
143
+ n.description ? (p(), w("p", Fn, X(n.description), 1)) : C("", !0),
144
144
  a.$slots.default ? (p(), w("div", xn, [
145
- I(a.$slots, "default", {}, void 0, !0)
145
+ S(a.$slots, "default", {}, void 0, !0)
146
146
  ])) : C("", !0),
147
147
  a.$slots["divider-section"] ? (p(), w("hr", Dn)) : C("", !0),
148
148
  a.$slots["divider-section"] ? (p(), w("div", Rn, [
149
- I(a.$slots, "divider-section", {}, void 0, !0)
149
+ S(a.$slots, "divider-section", {}, void 0, !0)
150
150
  ])) : C("", !0)
151
151
  ]))
152
152
  ]),
@@ -154,25 +154,25 @@ const Sn = /* @__PURE__ */ ee({
154
154
  }, [
155
155
  n.title ? {
156
156
  name: "title",
157
- fn: R(() => [
158
- O("span", _n, q(n.title), 1)
157
+ fn: D(() => [
158
+ I("span", _n, X(n.title), 1)
159
159
  ]),
160
160
  key: "0"
161
161
  } : void 0,
162
162
  a.$slots.actions || n.created || n.modified ? {
163
163
  name: "actions",
164
- fn: R(() => [
165
- O("div", In, [
164
+ fn: D(() => [
165
+ I("div", In, [
166
166
  n.created || n.modified ? (p(), w("div", {
167
167
  key: 0,
168
168
  class: re(["about-section-timestamps", { "has-actions": a.$slots.actions }])
169
169
  }, [
170
- n.created ? (p(), w("span", On, q(n.createdLabel) + ": " + q(n.created), 1)) : C("", !0),
170
+ n.created ? (p(), w("span", On, X(n.createdLabel) + ": " + X(n.created), 1)) : C("", !0),
171
171
  n.created && r.value ? (p(), w("span", Cn, "->")) : C("", !0),
172
- r.value ? (p(), w("span", $n, q(n.modifiedLabel) + ": " + q(n.modified), 1)) : C("", !0)
172
+ r.value ? (p(), w("span", $n, X(n.modifiedLabel) + ": " + X(n.modified), 1)) : C("", !0)
173
173
  ], 2)) : C("", !0),
174
174
  a.$slots.actions ? (p(), w("div", En, [
175
- I(a.$slots, "actions", {}, void 0, !0)
175
+ S(a.$slots, "actions", {}, void 0, !0)
176
176
  ])) : C("", !0)
177
177
  ])
178
178
  ]),
@@ -181,7 +181,7 @@ const Sn = /* @__PURE__ */ ee({
181
181
  ]), 1024);
182
182
  };
183
183
  }
184
- }), $i = /* @__PURE__ */ te(Bn, [["__scopeId", "data-v-521dcc27"]]), Ln = {}, Mn = {
184
+ }), $i = /* @__PURE__ */ ae(Bn, [["__scopeId", "data-v-521dcc27"]]), Ln = {}, Mn = {
185
185
  fill: "none",
186
186
  height: "130",
187
187
  width: "130",
@@ -192,29 +192,29 @@ function Pn(n, t) {
192
192
  vn('<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)
193
193
  ]));
194
194
  }
195
- const jn = /* @__PURE__ */ te(Ln, [["render", Pn]]), Zn = { class: "kong-ui-app-error" }, Kn = { class: "banana-icon" }, Hn = { class: "kong-ui-app-error-content" }, Un = /* @__PURE__ */ ee({
195
+ const jn = /* @__PURE__ */ ae(Ln, [["render", Pn]]), Zn = { class: "kong-ui-app-error" }, Kn = { class: "banana-icon" }, Hn = { class: "kong-ui-app-error-content" }, Un = /* @__PURE__ */ te({
196
196
  __name: "AppError",
197
197
  setup(n) {
198
198
  return (t, r) => (p(), w("section", Zn, [
199
- O("div", Kn, [
199
+ I("div", Kn, [
200
200
  Ne(jn)
201
201
  ]),
202
- O("div", Hn, [
203
- I(t.$slots, "default", {}, () => [
204
- r[0] || (r[0] = O("h2", null, "An unexpected error has occurred", -1)),
205
- r[1] || (r[1] = O("p", null, [
202
+ I("div", Hn, [
203
+ S(t.$slots, "default", {}, () => [
204
+ r[0] || (r[0] = I("h2", null, "An unexpected error has occurred", -1)),
205
+ r[1] || (r[1] = I("p", null, [
206
206
  lt("Go back to the previous page or "),
207
- O("a", { href: "/" }, "return home"),
207
+ I("a", { href: "/" }, "return home"),
208
208
  lt(".")
209
209
  ], -1))
210
210
  ], !0)
211
211
  ])
212
212
  ]));
213
213
  }
214
- }), Ei = /* @__PURE__ */ te(Un, [["__scopeId", "data-v-8e17f434"]]), Wn = { class: "kong-ui-app-navbar" }, zn = { class: "header-content" }, Vn = { class: "mobile-header-left" }, Gn = {
214
+ }), Ei = /* @__PURE__ */ ae(Un, [["__scopeId", "data-v-8e17f434"]]), Wn = { class: "kong-ui-app-navbar" }, zn = { class: "header-content" }, Vn = { class: "mobile-header-left" }, Gn = {
215
215
  key: 0,
216
216
  class: "app-navbar-logo"
217
- }, qn = { class: "navbar-content" }, Xn = { class: "navbar-content-left" }, Yn = { class: "navbar-content-center" }, Jn = { class: "navbar-content-right" }, Qn = /* @__PURE__ */ ee({
217
+ }, qn = { class: "navbar-content" }, Xn = { class: "navbar-content-left" }, Yn = { class: "navbar-content-center" }, Jn = { class: "navbar-content-right" }, Qn = /* @__PURE__ */ te({
218
218
  __name: "AppNavbar",
219
219
  props: {
220
220
  topOffset: {
@@ -236,16 +236,16 @@ const jn = /* @__PURE__ */ te(Ln, [["render", Pn]]), Zn = { class: "kong-ui-app-
236
236
  "27c93a10": u.value.top,
237
237
  "0f284bf5": u.value.zIndex,
238
238
  d1659a78: u.value.left,
239
- "3d9232e8": l.marginRight,
240
- "038c3c78": l.width
239
+ "3d9232e8": c.marginRight,
240
+ "038c3c78": c.width
241
241
  }));
242
- const t = n, r = Ge(), a = k(() => !!r.logo), l = je({
242
+ const t = n, r = Ge(), a = k(() => !!r.logo), c = Ze({
243
243
  marginRight: "0",
244
244
  width: "0"
245
245
  });
246
246
  qe(() => {
247
247
  var o, v;
248
- (v = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && v.length ? (l.marginRight = "32px", l.width = "calc(240px - 32px)") : (l.marginRight = "0", l.width = "0");
248
+ (v = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && v.length ? (c.marginRight = "32px", c.width = "calc(240px - 32px)") : (c.marginRight = "0", c.width = "0");
249
249
  });
250
250
  const u = k(() => ({
251
251
  top: t.topOffset ? `${t.topOffset}px` : "0",
@@ -253,29 +253,29 @@ const jn = /* @__PURE__ */ te(Ln, [["render", Pn]]), Zn = { class: "kong-ui-app-
253
253
  zIndex: t.zIndex
254
254
  }));
255
255
  return (o, v) => (p(), w("header", Wn, [
256
- O("div", zn, [
257
- O("div", Vn, [
258
- I(o.$slots, "mobile-sidebar-toggle"),
259
- I(o.$slots, "mobile-logo")
256
+ I("div", zn, [
257
+ I("div", Vn, [
258
+ S(o.$slots, "mobile-sidebar-toggle"),
259
+ S(o.$slots, "mobile-logo")
260
260
  ]),
261
261
  a.value ? (p(), w("div", Gn, [
262
- I(o.$slots, "logo")
262
+ S(o.$slots, "logo")
263
263
  ])) : C("", !0),
264
- O("div", qn, [
265
- O("div", Xn, [
266
- I(o.$slots, "left")
264
+ I("div", qn, [
265
+ I("div", Xn, [
266
+ S(o.$slots, "left")
267
267
  ]),
268
- O("div", Yn, [
269
- I(o.$slots, "center")
268
+ I("div", Yn, [
269
+ S(o.$slots, "center")
270
270
  ]),
271
- O("div", Jn, [
272
- I(o.$slots, "right")
271
+ I("div", Jn, [
272
+ S(o.$slots, "right")
273
273
  ])
274
274
  ])
275
275
  ])
276
276
  ]));
277
277
  }
278
- }), er = /* @__PURE__ */ te(Qn, [["__scopeId", "data-v-2f6fc50f"]]), tr = ["title"], st = 99, ar = /* @__PURE__ */ ee({
278
+ }), er = /* @__PURE__ */ ae(Qn, [["__scopeId", "data-v-2f6fc50f"]]), tr = ["title"], st = 99, ar = /* @__PURE__ */ te({
279
279
  __name: "ItemBadge",
280
280
  props: {
281
281
  count: {
@@ -286,19 +286,19 @@ const jn = /* @__PURE__ */ te(Ln, [["render", Pn]]), Zn = { class: "kong-ui-app-
286
286
  },
287
287
  setup(n) {
288
288
  const t = n, r = k(() => t.count ? t.count > st ? `${st}+` : t.count.toString() : "");
289
- return (a, l) => r.value ? (p(), w("div", {
289
+ return (a, c) => r.value ? (p(), w("div", {
290
290
  key: 0,
291
291
  class: "item-badge",
292
292
  title: (n.count || 0) > st ? String(n.count) : void 0
293
- }, q(r.value), 9, tr)) : C("", !0);
293
+ }, X(r.value), 9, tr)) : C("", !0);
294
294
  }
295
- }), nr = /* @__PURE__ */ te(ar, [["__scopeId", "data-v-afb0d903"]]), rr = ["data-testid"], ir = ["aria-controls", "aria-current", "aria-expanded", "href", "target", "onClick", "onKeypress"], or = {
295
+ }), nr = /* @__PURE__ */ ae(ar, [["__scopeId", "data-v-afb0d903"]]), rr = ["data-testid"], ir = ["aria-controls", "aria-current", "aria-expanded", "href", "target", "onClick", "onKeypress"], or = {
296
296
  key: 0,
297
297
  class: "sidebar-item-icon"
298
298
  }, sr = { class: "sidebar-item-name-container" }, cr = { class: "sidebar-item-name has-tooltip" }, lr = {
299
299
  key: 2,
300
300
  class: "sidebar-item-label truncate-text truncate-18"
301
- }, ur = ["id"], dr = /* @__PURE__ */ ee({
301
+ }, ur = ["id"], dr = /* @__PURE__ */ te({
302
302
  __name: "SidebarItem",
303
303
  props: {
304
304
  item: {
@@ -313,64 +313,64 @@ const jn = /* @__PURE__ */ te(Ln, [["render", Pn]]), Zn = { class: "kong-ui-app-
313
313
  },
314
314
  emits: ["click"],
315
315
  setup(n, { emit: t }) {
316
- const r = t, a = n, l = k(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), u = k(() => !a.item.to || typeof a.item.to != "string" || !a.item.newWindow ? !1 : a.item.newWindow && (a.item.to.startsWith("http") || a.item.to.startsWith("/"))), o = k(() => a.subnavItem && a.item.badgeCount !== void 0), v = (g) => {
317
- r("click", g);
318
- }, y = (g, F, E) => {
319
- v(F), typeof E == "function" && (g.preventDefault(), E());
316
+ const r = t, a = n, c = k(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), u = k(() => !a.item.to || typeof a.item.to != "string" || !a.item.newWindow ? !1 : a.item.newWindow && (a.item.to.startsWith("http") || a.item.to.startsWith("/"))), o = k(() => a.subnavItem && a.item.badgeCount !== void 0), v = (_) => {
317
+ r("click", _);
318
+ }, m = (_, A, N) => {
319
+ v(A), typeof N == "function" && (_.preventDefault(), N());
320
320
  };
321
- return (g, F) => {
322
- var L;
323
- const E = he("KTooltip"), D = he("SidebarItem", !0);
321
+ return (_, A) => {
322
+ var R;
323
+ const N = he("KTooltip"), x = he("SidebarItem", !0);
324
324
  return p(), w("li", {
325
325
  class: re([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
326
326
  "data-testid": n.item.testId ? `sidebar-item-${n.item.testId}` : void 0
327
327
  }, [
328
- (p(), X(bn(l.value ? "div" : "router-link"), {
329
- custom: l.value ? void 0 : !0,
330
- to: !l.value && !u.value ? n.item.to : void 0
328
+ (p(), Y(bn(c.value ? "div" : "router-link"), {
329
+ custom: c.value ? void 0 : !0,
330
+ to: !c.value && !u.value ? n.item.to : void 0
331
331
  }, {
332
- default: R((S) => {
333
- var x, z;
332
+ default: D((y) => {
333
+ var M, q;
334
334
  return [
335
- O("a", {
336
- "aria-controls": (x = n.item.items) != null && x.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
335
+ I("a", {
336
+ "aria-controls": (M = n.item.items) != null && M.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
337
337
  "aria-current": n.item.active ? "page" : void 0,
338
- "aria-expanded": (z = n.item.items) != null && z.length && n.item.expanded ? !0 : void 0,
339
- class: re(["sidebar-item-link", { "sidebar-item-external-link": u.value, "router-link": !l.value }]),
340
- href: l.value ? String(n.item.to || "#") : S == null ? void 0 : S.href,
338
+ "aria-expanded": (q = n.item.items) != null && q.length && n.item.expanded ? !0 : void 0,
339
+ class: re(["sidebar-item-link", { "sidebar-item-external-link": u.value, "router-link": !c.value }]),
340
+ href: c.value ? String(n.item.to || "#") : y == null ? void 0 : y.href,
341
341
  target: u.value ? "_blank" : void 0,
342
- onClick: (M) => y(M, n.item, S == null ? void 0 : S.navigate),
343
- onKeypress: hn((M) => y(M, n.item, S == null ? void 0 : S.navigate), ["enter"])
342
+ onClick: (B) => m(B, n.item, y == null ? void 0 : y.navigate),
343
+ onKeypress: hn((B) => m(B, n.item, y == null ? void 0 : y.navigate), ["enter"])
344
344
  }, [
345
- O("div", {
345
+ I("div", {
346
346
  class: re(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": o.value }])
347
347
  }, [
348
- g.$slots[`sidebar-icon-${n.item.key}`] ? (p(), w("div", or, [
349
- n.subnavItem ? C("", !0) : I(g.$slots, `sidebar-icon-${n.item.key}`, { key: 0 }, void 0, !0)
348
+ _.$slots[`sidebar-icon-${n.item.key}`] ? (p(), w("div", or, [
349
+ n.subnavItem ? C("", !0) : S(_.$slots, `sidebar-icon-${n.item.key}`, { key: 0 }, void 0, !0)
350
350
  ])) : C("", !0),
351
- O("div", sr, [
351
+ I("div", sr, [
352
352
  (n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (p(), w("div", {
353
353
  key: 0,
354
354
  class: re(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
355
- }, q(n.item.name), 3)) : (p(), X(E, {
355
+ }, X(n.item.name), 3)) : (p(), Y(N, {
356
356
  key: 1,
357
357
  class: "sidebar-item-tooltip",
358
358
  placement: "right",
359
359
  "position-fixed": "",
360
360
  text: n.item.name
361
361
  }, {
362
- default: R(() => [
363
- O("div", cr, [
364
- O("span", {
362
+ default: D(() => [
363
+ I("div", cr, [
364
+ I("span", {
365
365
  class: re(["truncate-text", [n.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
366
- }, q(n.item.name), 3)
366
+ }, X(n.item.name), 3)
367
367
  ])
368
368
  ]),
369
369
  _: 1
370
370
  }, 8, ["text"])),
371
- n.item.label && n.item.expanded ? (p(), w("div", lr, q(n.item.label), 1)) : C("", !0)
371
+ n.item.label && n.item.expanded ? (p(), w("div", lr, X(n.item.label), 1)) : C("", !0)
372
372
  ]),
373
- o.value ? (p(), X(nr, {
373
+ o.value ? (p(), Y(nr, {
374
374
  key: 1,
375
375
  count: n.item.badgeCount
376
376
  }, null, 8, ["count"])) : C("", !0)
@@ -380,22 +380,22 @@ const jn = /* @__PURE__ */ te(Ln, [["render", Pn]]), Zn = { class: "kong-ui-app-
380
380
  }),
381
381
  _: 3
382
382
  }, 8, ["custom", "to"])),
383
- (L = n.item.items) != null && L.length && n.item.expanded ? (p(), w("ul", {
383
+ (R = n.item.items) != null && R.length && n.item.expanded ? (p(), w("ul", {
384
384
  key: 0,
385
385
  id: `subnav-${n.item.key}`,
386
386
  class: "level-secondary"
387
387
  }, [
388
- (p(!0), w($e, null, Te(n.item.items, (S) => (p(), X(D, {
389
- key: S.name,
390
- item: S,
388
+ (p(!0), w($e, null, Te(n.item.items, (y) => (p(), Y(x, {
389
+ key: y.name,
390
+ item: y,
391
391
  "subnav-item": !0,
392
- onClick: (x) => v(S)
392
+ onClick: (M) => v(y)
393
393
  }, null, 8, ["item", "onClick"]))), 128))
394
394
  ], 8, ur)) : C("", !0)
395
395
  ], 10, rr);
396
396
  };
397
397
  }
398
- }), Bt = /* @__PURE__ */ te(dr, [["__scopeId", "data-v-4153f40a"]]);
398
+ }), Bt = /* @__PURE__ */ ae(dr, [["__scopeId", "data-v-4153f40a"]]);
399
399
  /*!
400
400
  * tabbable 6.2.0
401
401
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -409,7 +409,7 @@ var Ut = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
409
409
  }, We = function n(t, r) {
410
410
  var a;
411
411
  r === void 0 && (r = !0);
412
- var l = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), u = l === "" || l === "true", o = u || r && t && n(t.parentNode);
412
+ var c = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), u = c === "" || c === "true", o = u || r && t && n(t.parentNode);
413
413
  return o;
414
414
  }, fr = function(t) {
415
415
  var r, a = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
@@ -417,34 +417,34 @@ var Ut = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
417
417
  }, zt = function(t, r, a) {
418
418
  if (We(t))
419
419
  return [];
420
- var l = Array.prototype.slice.apply(t.querySelectorAll(He));
421
- return r && pe.call(t, He) && l.unshift(t), l = l.filter(a), l;
420
+ var c = Array.prototype.slice.apply(t.querySelectorAll(He));
421
+ return r && pe.call(t, He) && c.unshift(t), c = c.filter(a), c;
422
422
  }, Vt = function n(t, r, a) {
423
- for (var l = [], u = Array.from(t); u.length; ) {
423
+ for (var c = [], u = Array.from(t); u.length; ) {
424
424
  var o = u.shift();
425
425
  if (!We(o, !1))
426
426
  if (o.tagName === "SLOT") {
427
- var v = o.assignedElements(), y = v.length ? v : o.children, g = n(y, !0, a);
428
- a.flatten ? l.push.apply(l, g) : l.push({
427
+ var v = o.assignedElements(), m = v.length ? v : o.children, _ = n(m, !0, a);
428
+ a.flatten ? c.push.apply(c, _) : c.push({
429
429
  scopeParent: o,
430
- candidates: g
430
+ candidates: _
431
431
  });
432
432
  } else {
433
- var F = pe.call(o, He);
434
- F && a.filter(o) && (r || !t.includes(o)) && l.push(o);
435
- var E = o.shadowRoot || // check for an undisclosed shadow
436
- typeof a.getShadowRoot == "function" && a.getShadowRoot(o), D = !We(E, !1) && (!a.shadowRootFilter || a.shadowRootFilter(o));
437
- if (E && D) {
438
- var L = n(E === !0 ? o.children : E.children, !0, a);
439
- a.flatten ? l.push.apply(l, L) : l.push({
433
+ var A = pe.call(o, He);
434
+ A && a.filter(o) && (r || !t.includes(o)) && c.push(o);
435
+ var N = o.shadowRoot || // check for an undisclosed shadow
436
+ typeof a.getShadowRoot == "function" && a.getShadowRoot(o), x = !We(N, !1) && (!a.shadowRootFilter || a.shadowRootFilter(o));
437
+ if (N && x) {
438
+ var R = n(N === !0 ? o.children : N.children, !0, a);
439
+ a.flatten ? c.push.apply(c, R) : c.push({
440
440
  scopeParent: o,
441
- candidates: L
441
+ candidates: R
442
442
  });
443
443
  } else
444
444
  u.unshift.apply(u, o.children);
445
445
  }
446
446
  }
447
- return l;
447
+ return c;
448
448
  }, Gt = function(t) {
449
449
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
450
450
  }, be = function(t) {
@@ -474,48 +474,48 @@ var Ut = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
474
474
  return !0;
475
475
  var r = t.form || Ue(t), a = function(v) {
476
476
  return r.querySelectorAll('input[type="radio"][name="' + v + '"]');
477
- }, l;
477
+ }, c;
478
478
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
479
- l = a(window.CSS.escape(t.name));
479
+ c = a(window.CSS.escape(t.name));
480
480
  else
481
481
  try {
482
- l = a(t.name);
482
+ c = a(t.name);
483
483
  } catch (o) {
484
484
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
485
485
  }
486
- var u = mr(l, t.form);
486
+ var u = mr(c, t.form);
487
487
  return !u || u === t;
488
488
  }, yr = function(t) {
489
489
  return qt(t) && t.type === "radio";
490
490
  }, wr = function(t) {
491
491
  return yr(t) && !gr(t);
492
492
  }, kr = function(t) {
493
- var r, a = t && Ue(t), l = (r = a) === null || r === void 0 ? void 0 : r.host, u = !1;
493
+ var r, a = t && Ue(t), c = (r = a) === null || r === void 0 ? void 0 : r.host, u = !1;
494
494
  if (a && a !== t) {
495
- var o, v, y;
496
- for (u = !!((o = l) !== null && o !== void 0 && (v = o.ownerDocument) !== null && v !== void 0 && v.contains(l) || t != null && (y = t.ownerDocument) !== null && y !== void 0 && y.contains(t)); !u && l; ) {
497
- var g, F, E;
498
- a = Ue(l), l = (g = a) === null || g === void 0 ? void 0 : g.host, u = !!((F = l) !== null && F !== void 0 && (E = F.ownerDocument) !== null && E !== void 0 && E.contains(l));
495
+ var o, v, m;
496
+ for (u = !!((o = c) !== null && o !== void 0 && (v = o.ownerDocument) !== null && v !== void 0 && v.contains(c) || t != null && (m = t.ownerDocument) !== null && m !== void 0 && m.contains(t)); !u && c; ) {
497
+ var _, A, N;
498
+ a = Ue(c), c = (_ = a) === null || _ === void 0 ? void 0 : _.host, u = !!((A = c) !== null && A !== void 0 && (N = A.ownerDocument) !== null && N !== void 0 && N.contains(c));
499
499
  }
500
500
  }
501
501
  return u;
502
502
  }, Lt = function(t) {
503
- var r = t.getBoundingClientRect(), a = r.width, l = r.height;
504
- return a === 0 && l === 0;
503
+ var r = t.getBoundingClientRect(), a = r.width, c = r.height;
504
+ return a === 0 && c === 0;
505
505
  }, Tr = function(t, r) {
506
- var a = r.displayCheck, l = r.getShadowRoot;
506
+ var a = r.displayCheck, c = r.getShadowRoot;
507
507
  if (getComputedStyle(t).visibility === "hidden")
508
508
  return !0;
509
509
  var u = pe.call(t, "details>summary:first-of-type"), o = u ? t.parentElement : t;
510
510
  if (pe.call(o, "details:not([open]) *"))
511
511
  return !0;
512
512
  if (!a || a === "full" || a === "legacy-full") {
513
- if (typeof l == "function") {
513
+ if (typeof c == "function") {
514
514
  for (var v = t; t; ) {
515
- var y = t.parentElement, g = Ue(t);
516
- if (y && !y.shadowRoot && l(y) === !0)
515
+ var m = t.parentElement, _ = Ue(t);
516
+ if (m && !m.shadowRoot && c(m) === !0)
517
517
  return Lt(t);
518
- t.assignedSlot ? t = t.assignedSlot : !y && g !== t.ownerDocument ? t = g.host : t = y;
518
+ t.assignedSlot ? t = t.assignedSlot : !m && _ !== t.ownerDocument ? t = _.host : t = m;
519
519
  }
520
520
  t = v;
521
521
  }
@@ -531,9 +531,9 @@ var Ut = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
531
531
  for (var r = t.parentElement; r; ) {
532
532
  if (r.tagName === "FIELDSET" && r.disabled) {
533
533
  for (var a = 0; a < r.children.length; a++) {
534
- var l = r.children.item(a);
535
- if (l.tagName === "LEGEND")
536
- return pe.call(r, "fieldset[disabled] *") ? !0 : !l.contains(t);
534
+ var c = r.children.item(a);
535
+ if (c.tagName === "LEGEND")
536
+ return pe.call(r, "fieldset[disabled] *") ? !0 : !c.contains(t);
537
537
  }
538
538
  return !0;
539
539
  }
@@ -553,17 +553,17 @@ var Ut = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
553
553
  return !!(isNaN(r) || r >= 0);
554
554
  }, Ir = function n(t) {
555
555
  var r = [], a = [];
556
- return t.forEach(function(l, u) {
557
- var o = !!l.scopeParent, v = o ? l.scopeParent : l, y = vr(v, o), g = o ? n(l.candidates) : v;
558
- y === 0 ? o ? r.push.apply(r, g) : r.push(v) : a.push({
556
+ return t.forEach(function(c, u) {
557
+ var o = !!c.scopeParent, v = o ? c.scopeParent : c, m = vr(v, o), _ = o ? n(c.candidates) : v;
558
+ m === 0 ? o ? r.push.apply(r, _) : r.push(v) : a.push({
559
559
  documentOrder: u,
560
- tabIndex: y,
561
- item: l,
560
+ tabIndex: m,
561
+ item: c,
562
562
  isScope: o,
563
- content: g
563
+ content: _
564
564
  });
565
- }), a.sort(br).reduce(function(l, u) {
566
- return u.isScope ? l.push.apply(l, u.content) : l.push(u.content), l;
565
+ }), a.sort(br).reduce(function(c, u) {
566
+ return u.isScope ? c.push.apply(c, u.content) : c.push(u.content), c;
567
567
  }, []).concat(r);
568
568
  }, Or = function(t, r) {
569
569
  r = r || {};
@@ -607,8 +607,8 @@ function Mt(n, t) {
607
607
  var r = Object.keys(n);
608
608
  if (Object.getOwnPropertySymbols) {
609
609
  var a = Object.getOwnPropertySymbols(n);
610
- t && (a = a.filter(function(l) {
611
- return Object.getOwnPropertyDescriptor(n, l).enumerable;
610
+ t && (a = a.filter(function(c) {
611
+ return Object.getOwnPropertyDescriptor(n, c).enumerable;
612
612
  })), r.push.apply(r, a);
613
613
  }
614
614
  return r;
@@ -644,8 +644,8 @@ var jt = {
644
644
  var a = t[t.length - 1];
645
645
  a !== r && a.pause();
646
646
  }
647
- var l = t.indexOf(r);
648
- l === -1 || t.splice(l, 1), t.push(r);
647
+ var c = t.indexOf(r);
648
+ c === -1 || t.splice(c, 1), t.push(r);
649
649
  },
650
650
  deactivateTrap: function(t, r) {
651
651
  var a = t.indexOf(r);
@@ -665,17 +665,17 @@ var jt = {
665
665
  return setTimeout(t, 0);
666
666
  }, Kt = function(t, r) {
667
667
  var a = -1;
668
- return t.every(function(l, u) {
669
- return r(l) ? (a = u, !1) : !0;
668
+ return t.every(function(c, u) {
669
+ return r(c) ? (a = u, !1) : !0;
670
670
  }), a;
671
671
  }, Ce = function(t) {
672
- for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), l = 1; l < r; l++)
673
- a[l - 1] = arguments[l];
672
+ for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
673
+ a[c - 1] = arguments[c];
674
674
  return typeof t == "function" ? t.apply(void 0, a) : t;
675
- }, Me = function(t) {
675
+ }, Pe = function(t) {
676
676
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
677
677
  }, Br = [], Lr = function(t, r) {
678
- var a = (r == null ? void 0 : r.document) || document, l = (r == null ? void 0 : r.trapStack) || Br, u = Pt({
678
+ var a = (r == null ? void 0 : r.document) || document, c = (r == null ? void 0 : r.trapStack) || Br, u = Pt({
679
679
  returnFocusOnDeactivate: !0,
680
680
  escapeDeactivates: !0,
681
681
  delayInitialFocus: !0,
@@ -717,21 +717,21 @@ var jt = {
717
717
  delayInitialFocusTimer: void 0,
718
718
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
719
719
  recentNavEvent: void 0
720
- }, v, y = function(d, s, f) {
720
+ }, v, m = function(d, s, f) {
721
721
  return d && d[s] !== void 0 ? d[s] : u[f || s];
722
- }, g = function(d, s) {
722
+ }, _ = function(d, s) {
723
723
  var f = typeof (s == null ? void 0 : s.composedPath) == "function" ? s.composedPath() : void 0;
724
724
  return o.containerGroups.findIndex(function(b) {
725
- var T = b.container, N = b.tabbableNodes;
725
+ var T = b.container, E = b.tabbableNodes;
726
726
  return T.contains(d) || // fall back to explicit tabbable search which will take into consideration any
727
727
  // web components if the `tabbableOptions.getShadowRoot` option was used for
728
728
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
729
729
  // look inside web components even if open)
730
- (f == null ? void 0 : f.includes(T)) || N.find(function(A) {
731
- return A === d;
730
+ (f == null ? void 0 : f.includes(T)) || E.find(function(F) {
731
+ return F === d;
732
732
  });
733
733
  });
734
- }, F = function(d) {
734
+ }, A = function(d) {
735
735
  var s = u[d];
736
736
  if (typeof s == "function") {
737
737
  for (var f = arguments.length, b = new Array(f > 1 ? f - 1 : 0), T = 1; T < f; T++)
@@ -743,39 +743,39 @@ var jt = {
743
743
  return s;
744
744
  throw new Error("`".concat(d, "` was specified but was not a node, or did not return a node"));
745
745
  }
746
- var N = s;
747
- if (typeof s == "string" && (N = a.querySelector(s), !N))
746
+ var E = s;
747
+ if (typeof s == "string" && (E = a.querySelector(s), !E))
748
748
  throw new Error("`".concat(d, "` as selector refers to no known node"));
749
- return N;
750
- }, E = function() {
751
- var d = F("initialFocus");
749
+ return E;
750
+ }, N = function() {
751
+ var d = A("initialFocus");
752
752
  if (d === !1)
753
753
  return !1;
754
754
  if (d === void 0 || !ct(d, u.tabbableOptions))
755
- if (g(a.activeElement) >= 0)
755
+ if (_(a.activeElement) >= 0)
756
756
  d = a.activeElement;
757
757
  else {
758
758
  var s = o.tabbableGroups[0], f = s && s.firstTabbableNode;
759
- d = f || F("fallbackFocus");
759
+ d = f || A("fallbackFocus");
760
760
  }
761
761
  if (!d)
762
762
  throw new Error("Your focus-trap needs to have at least one focusable element");
763
763
  return d;
764
- }, D = function() {
764
+ }, x = function() {
765
765
  if (o.containerGroups = o.containers.map(function(d) {
766
- var s = Or(d, u.tabbableOptions), f = Cr(d, u.tabbableOptions), b = s.length > 0 ? s[0] : void 0, T = s.length > 0 ? s[s.length - 1] : void 0, N = f.find(function(P) {
767
- return ke(P);
768
- }), A = f.slice().reverse().find(function(P) {
769
- return ke(P);
770
- }), m = !!s.find(function(P) {
771
- return be(P) > 0;
766
+ var s = Or(d, u.tabbableOptions), f = Cr(d, u.tabbableOptions), b = s.length > 0 ? s[0] : void 0, T = s.length > 0 ? s[s.length - 1] : void 0, E = f.find(function(L) {
767
+ return ke(L);
768
+ }), F = f.slice().reverse().find(function(L) {
769
+ return ke(L);
770
+ }), g = !!s.find(function(L) {
771
+ return be(L) > 0;
772
772
  });
773
773
  return {
774
774
  container: d,
775
775
  tabbableNodes: s,
776
776
  focusableNodes: f,
777
777
  /** True if at least one node with positive `tabindex` was found in this container. */
778
- posTabIndexesFound: m,
778
+ posTabIndexesFound: g,
779
779
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
780
780
  firstTabbableNode: b,
781
781
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
@@ -788,9 +788,9 @@ var jt = {
788
788
  // "close enough most of the time" alternative for positive tabindexes which should generally
789
789
  // be avoided anyway...
790
790
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
791
- firstDomTabbableNode: N,
791
+ firstDomTabbableNode: E,
792
792
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
793
- lastDomTabbableNode: A,
793
+ lastDomTabbableNode: F,
794
794
  /**
795
795
  * Finds the __tabbable__ node that follows the given node in the specified direction,
796
796
  * in this container, if any.
@@ -800,72 +800,72 @@ var jt = {
800
800
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
801
801
  */
802
802
  nextTabbableNode: function(ie) {
803
- var Z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, Q = s.indexOf(ie);
804
- return Q < 0 ? Z ? f.slice(f.indexOf(ie) + 1).find(function(le) {
803
+ var H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ee = s.indexOf(ie);
804
+ return ee < 0 ? H ? f.slice(f.indexOf(ie) + 1).find(function(le) {
805
805
  return ke(le);
806
806
  }) : f.slice(0, f.indexOf(ie)).reverse().find(function(le) {
807
807
  return ke(le);
808
- }) : s[Q + (Z ? 1 : -1)];
808
+ }) : s[ee + (H ? 1 : -1)];
809
809
  }
810
810
  };
811
811
  }), o.tabbableGroups = o.containerGroups.filter(function(d) {
812
812
  return d.tabbableNodes.length > 0;
813
- }), o.tabbableGroups.length <= 0 && !F("fallbackFocus"))
813
+ }), o.tabbableGroups.length <= 0 && !A("fallbackFocus"))
814
814
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
815
815
  if (o.containerGroups.find(function(d) {
816
816
  return d.posTabIndexesFound;
817
817
  }) && o.containerGroups.length > 1)
818
818
  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.");
819
- }, L = function(d) {
819
+ }, R = function(d) {
820
820
  var s = d.activeElement;
821
821
  if (s)
822
- return s.shadowRoot && s.shadowRoot.activeElement !== null ? L(s.shadowRoot) : s;
823
- }, S = function(d) {
824
- if (d !== !1 && d !== L(document)) {
822
+ return s.shadowRoot && s.shadowRoot.activeElement !== null ? R(s.shadowRoot) : s;
823
+ }, y = function(d) {
824
+ if (d !== !1 && d !== R(document)) {
825
825
  if (!d || !d.focus) {
826
- S(E());
826
+ y(N());
827
827
  return;
828
828
  }
829
829
  d.focus({
830
830
  preventScroll: !!u.preventScroll
831
831
  }), o.mostRecentlyFocusedNode = d, Fr(d) && d.select();
832
832
  }
833
- }, x = function(d) {
834
- var s = F("setReturnFocus", d);
833
+ }, M = function(d) {
834
+ var s = A("setReturnFocus", d);
835
835
  return s || (s === !1 ? !1 : d);
836
- }, z = function(d) {
836
+ }, q = function(d) {
837
837
  var s = d.target, f = d.event, b = d.isBackward, T = b === void 0 ? !1 : b;
838
- s = s || Me(f), D();
839
- var N = null;
838
+ s = s || Pe(f), x();
839
+ var E = null;
840
840
  if (o.tabbableGroups.length > 0) {
841
- var A = g(s, f), m = A >= 0 ? o.containerGroups[A] : void 0;
842
- if (A < 0)
843
- T ? N = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : N = o.tabbableGroups[0].firstTabbableNode;
841
+ var F = _(s, f), g = F >= 0 ? o.containerGroups[F] : void 0;
842
+ if (F < 0)
843
+ T ? E = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : E = o.tabbableGroups[0].firstTabbableNode;
844
844
  else if (T) {
845
- var P = Kt(o.tabbableGroups, function(Se) {
845
+ var L = Kt(o.tabbableGroups, function(Se) {
846
846
  var _e = Se.firstTabbableNode;
847
847
  return s === _e;
848
848
  });
849
- if (P < 0 && (m.container === s || ct(s, u.tabbableOptions) && !ke(s, u.tabbableOptions) && !m.nextTabbableNode(s, !1)) && (P = A), P >= 0) {
850
- var ie = P === 0 ? o.tabbableGroups.length - 1 : P - 1, Z = o.tabbableGroups[ie];
851
- N = be(s) >= 0 ? Z.lastTabbableNode : Z.lastDomTabbableNode;
852
- } else Ee(f) || (N = m.nextTabbableNode(s, !1));
849
+ if (L < 0 && (g.container === s || ct(s, u.tabbableOptions) && !ke(s, u.tabbableOptions) && !g.nextTabbableNode(s, !1)) && (L = F), L >= 0) {
850
+ var ie = L === 0 ? o.tabbableGroups.length - 1 : L - 1, H = o.tabbableGroups[ie];
851
+ E = be(s) >= 0 ? H.lastTabbableNode : H.lastDomTabbableNode;
852
+ } else Ee(f) || (E = g.nextTabbableNode(s, !1));
853
853
  } else {
854
- var Q = Kt(o.tabbableGroups, function(Se) {
854
+ var ee = Kt(o.tabbableGroups, function(Se) {
855
855
  var _e = Se.lastTabbableNode;
856
856
  return s === _e;
857
857
  });
858
- if (Q < 0 && (m.container === s || ct(s, u.tabbableOptions) && !ke(s, u.tabbableOptions) && !m.nextTabbableNode(s)) && (Q = A), Q >= 0) {
859
- var le = Q === o.tabbableGroups.length - 1 ? 0 : Q + 1, Ae = o.tabbableGroups[le];
860
- N = be(s) >= 0 ? Ae.firstTabbableNode : Ae.firstDomTabbableNode;
861
- } else Ee(f) || (N = m.nextTabbableNode(s));
858
+ if (ee < 0 && (g.container === s || ct(s, u.tabbableOptions) && !ke(s, u.tabbableOptions) && !g.nextTabbableNode(s)) && (ee = F), ee >= 0) {
859
+ var le = ee === o.tabbableGroups.length - 1 ? 0 : ee + 1, Fe = o.tabbableGroups[le];
860
+ E = be(s) >= 0 ? Fe.firstTabbableNode : Fe.firstDomTabbableNode;
861
+ } else Ee(f) || (E = g.nextTabbableNode(s));
862
862
  }
863
863
  } else
864
- N = F("fallbackFocus");
865
- return N;
866
- }, M = function(d) {
867
- var s = Me(d);
868
- if (!(g(s, d) >= 0)) {
864
+ E = A("fallbackFocus");
865
+ return E;
866
+ }, B = function(d) {
867
+ var s = Pe(d);
868
+ if (!(_(s, d) >= 0)) {
869
869
  if (Ce(u.clickOutsideDeactivates, d)) {
870
870
  v.deactivate({
871
871
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
@@ -880,8 +880,8 @@ var jt = {
880
880
  }
881
881
  Ce(u.allowOutsideClick, d) || d.preventDefault();
882
882
  }
883
- }, ae = function(d) {
884
- var s = Me(d), f = g(s, d) >= 0;
883
+ }, ne = function(d) {
884
+ var s = Pe(d), f = _(s, d) >= 0;
885
885
  if (f || s instanceof Document)
886
886
  f && (o.mostRecentlyFocusedNode = s);
887
887
  else {
@@ -889,75 +889,75 @@ var jt = {
889
889
  var b, T = !0;
890
890
  if (o.mostRecentlyFocusedNode)
891
891
  if (be(o.mostRecentlyFocusedNode) > 0) {
892
- var N = g(o.mostRecentlyFocusedNode), A = o.containerGroups[N].tabbableNodes;
893
- if (A.length > 0) {
894
- var m = A.findIndex(function(P) {
895
- return P === o.mostRecentlyFocusedNode;
892
+ var E = _(o.mostRecentlyFocusedNode), F = o.containerGroups[E].tabbableNodes;
893
+ if (F.length > 0) {
894
+ var g = F.findIndex(function(L) {
895
+ return L === o.mostRecentlyFocusedNode;
896
896
  });
897
- m >= 0 && (u.isKeyForward(o.recentNavEvent) ? m + 1 < A.length && (b = A[m + 1], T = !1) : m - 1 >= 0 && (b = A[m - 1], T = !1));
897
+ g >= 0 && (u.isKeyForward(o.recentNavEvent) ? g + 1 < F.length && (b = F[g + 1], T = !1) : g - 1 >= 0 && (b = F[g - 1], T = !1));
898
898
  }
899
899
  } else
900
- o.containerGroups.some(function(P) {
901
- return P.tabbableNodes.some(function(ie) {
900
+ o.containerGroups.some(function(L) {
901
+ return L.tabbableNodes.some(function(ie) {
902
902
  return be(ie) > 0;
903
903
  });
904
904
  }) || (T = !1);
905
905
  else
906
906
  T = !1;
907
- T && (b = z({
907
+ T && (b = q({
908
908
  // move FROM the MRU node, not event-related node (which will be the node that is
909
909
  // outside the trap causing the focus escape we're trying to fix)
910
910
  target: o.mostRecentlyFocusedNode,
911
911
  isBackward: u.isKeyBackward(o.recentNavEvent)
912
- })), S(b || o.mostRecentlyFocusedNode || E());
912
+ })), y(b || o.mostRecentlyFocusedNode || N());
913
913
  }
914
914
  o.recentNavEvent = void 0;
915
915
  }, ce = function(d) {
916
916
  var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
917
917
  o.recentNavEvent = d;
918
- var f = z({
918
+ var f = q({
919
919
  event: d,
920
920
  isBackward: s
921
921
  });
922
- f && (Ee(d) && d.preventDefault(), S(f));
923
- }, Y = function(d) {
924
- (u.isKeyForward(d) || u.isKeyBackward(d)) && ce(d, u.isKeyBackward(d));
922
+ f && (Ee(d) && d.preventDefault(), y(f));
925
923
  }, J = function(d) {
924
+ (u.isKeyForward(d) || u.isKeyBackward(d)) && ce(d, u.isKeyBackward(d));
925
+ }, Q = function(d) {
926
926
  xr(d) && Ce(u.escapeDeactivates, d) !== !1 && (d.preventDefault(), v.deactivate());
927
- }, K = function(d) {
928
- var s = Me(d);
929
- g(s, d) >= 0 || Ce(u.clickOutsideDeactivates, d) || Ce(u.allowOutsideClick, d) || (d.preventDefault(), d.stopImmediatePropagation());
927
+ }, Z = function(d) {
928
+ var s = Pe(d);
929
+ _(s, d) >= 0 || Ce(u.clickOutsideDeactivates, d) || Ce(u.allowOutsideClick, d) || (d.preventDefault(), d.stopImmediatePropagation());
930
930
  }, G = function() {
931
931
  if (o.active)
932
- return jt.activateTrap(l, v), o.delayInitialFocusTimer = u.delayInitialFocus ? Zt(function() {
933
- S(E());
934
- }) : S(E()), a.addEventListener("focusin", ae, !0), a.addEventListener("mousedown", M, {
932
+ return jt.activateTrap(c, v), o.delayInitialFocusTimer = u.delayInitialFocus ? Zt(function() {
933
+ y(N());
934
+ }) : y(N()), a.addEventListener("focusin", ne, !0), a.addEventListener("mousedown", B, {
935
935
  capture: !0,
936
936
  passive: !1
937
- }), a.addEventListener("touchstart", M, {
937
+ }), a.addEventListener("touchstart", B, {
938
938
  capture: !0,
939
939
  passive: !1
940
- }), a.addEventListener("click", K, {
940
+ }), a.addEventListener("click", Z, {
941
941
  capture: !0,
942
942
  passive: !1
943
- }), a.addEventListener("keydown", Y, {
943
+ }), a.addEventListener("keydown", J, {
944
944
  capture: !0,
945
945
  passive: !1
946
- }), a.addEventListener("keydown", J), v;
947
- }, V = function() {
946
+ }), a.addEventListener("keydown", Q), v;
947
+ }, O = function() {
948
948
  if (o.active)
949
- return a.removeEventListener("focusin", ae, !0), a.removeEventListener("mousedown", M, !0), a.removeEventListener("touchstart", M, !0), a.removeEventListener("click", K, !0), a.removeEventListener("keydown", Y, !0), a.removeEventListener("keydown", J), v;
950
- }, ne = function(d) {
949
+ return a.removeEventListener("focusin", ne, !0), a.removeEventListener("mousedown", B, !0), a.removeEventListener("touchstart", B, !0), a.removeEventListener("click", Z, !0), a.removeEventListener("keydown", J, !0), a.removeEventListener("keydown", Q), v;
950
+ }, P = function(d) {
951
951
  var s = d.some(function(f) {
952
952
  var b = Array.from(f.removedNodes);
953
953
  return b.some(function(T) {
954
954
  return T === o.mostRecentlyFocusedNode;
955
955
  });
956
956
  });
957
- s && S(E());
958
- }, $ = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(ne) : void 0, B = function() {
959
- $ && ($.disconnect(), o.active && !o.paused && o.containers.map(function(d) {
960
- $.observe(d, {
957
+ s && y(N());
958
+ }, U = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(P) : void 0, K = function() {
959
+ U && (U.disconnect(), o.active && !o.paused && o.containers.map(function(d) {
960
+ U.observe(d, {
961
961
  subtree: !0,
962
962
  childList: !0
963
963
  });
@@ -973,10 +973,10 @@ var jt = {
973
973
  activate: function(d) {
974
974
  if (o.active)
975
975
  return this;
976
- var s = y(d, "onActivate"), f = y(d, "onPostActivate"), b = y(d, "checkCanFocusTrap");
977
- b || D(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = a.activeElement, s == null || s();
976
+ var s = m(d, "onActivate"), f = m(d, "onPostActivate"), b = m(d, "checkCanFocusTrap");
977
+ b || x(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = a.activeElement, s == null || s();
978
978
  var T = function() {
979
- b && D(), G(), B(), f == null || f();
979
+ b && x(), G(), K(), f == null || f();
980
980
  };
981
981
  return b ? (b(o.containers.concat()).then(T, T), this) : (T(), this);
982
982
  },
@@ -988,33 +988,33 @@ var jt = {
988
988
  onPostDeactivate: u.onPostDeactivate,
989
989
  checkCanReturnFocus: u.checkCanReturnFocus
990
990
  }, d);
991
- clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, V(), o.active = !1, o.paused = !1, B(), jt.deactivateTrap(l, v);
992
- var f = y(s, "onDeactivate"), b = y(s, "onPostDeactivate"), T = y(s, "checkCanReturnFocus"), N = y(s, "returnFocus", "returnFocusOnDeactivate");
991
+ clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, O(), o.active = !1, o.paused = !1, K(), jt.deactivateTrap(c, v);
992
+ var f = m(s, "onDeactivate"), b = m(s, "onPostDeactivate"), T = m(s, "checkCanReturnFocus"), E = m(s, "returnFocus", "returnFocusOnDeactivate");
993
993
  f == null || f();
994
- var A = function() {
994
+ var F = function() {
995
995
  Zt(function() {
996
- N && S(x(o.nodeFocusedBeforeActivation)), b == null || b();
996
+ E && y(M(o.nodeFocusedBeforeActivation)), b == null || b();
997
997
  });
998
998
  };
999
- return N && T ? (T(x(o.nodeFocusedBeforeActivation)).then(A, A), this) : (A(), this);
999
+ return E && T ? (T(M(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
1000
1000
  },
1001
1001
  pause: function(d) {
1002
1002
  if (o.paused || !o.active)
1003
1003
  return this;
1004
- var s = y(d, "onPause"), f = y(d, "onPostPause");
1005
- return o.paused = !0, s == null || s(), V(), B(), f == null || f(), this;
1004
+ var s = m(d, "onPause"), f = m(d, "onPostPause");
1005
+ return o.paused = !0, s == null || s(), O(), K(), f == null || f(), this;
1006
1006
  },
1007
1007
  unpause: function(d) {
1008
1008
  if (!o.paused || !o.active)
1009
1009
  return this;
1010
- var s = y(d, "onUnpause"), f = y(d, "onPostUnpause");
1011
- return o.paused = !1, s == null || s(), D(), G(), B(), f == null || f(), this;
1010
+ var s = m(d, "onUnpause"), f = m(d, "onPostUnpause");
1011
+ return o.paused = !1, s == null || s(), x(), G(), K(), f == null || f(), this;
1012
1012
  },
1013
1013
  updateContainerElements: function(d) {
1014
1014
  var s = [].concat(d).filter(Boolean);
1015
1015
  return o.containers = s.map(function(f) {
1016
1016
  return typeof f == "string" ? a.querySelector(f) : f;
1017
- }), o.active && D(), B(), this;
1017
+ }), o.active && x(), K(), this;
1018
1018
  }
1019
1019
  }, v.updateContainerElements(t), v;
1020
1020
  };
@@ -1049,7 +1049,7 @@ const Mr = {
1049
1049
  preventScroll: Boolean,
1050
1050
  setReturnFocus: [Object, String, Boolean, Function],
1051
1051
  tabbableOptions: Object
1052
- }, Pr = ee({
1052
+ }, Pr = te({
1053
1053
  props: Object.assign({
1054
1054
  active: {
1055
1055
  // TODO: could be options for activate but what about the options for deactivating?
@@ -1069,8 +1069,8 @@ const Mr = {
1069
1069
  },
1070
1070
  setup(n, { slots: t, emit: r }) {
1071
1071
  let a;
1072
- const l = W(null), u = k(() => {
1073
- const v = l.value;
1072
+ const c = V(null), u = k(() => {
1073
+ const v = c.value;
1074
1074
  return v && (v instanceof HTMLElement ? v : v.$el);
1075
1075
  });
1076
1076
  function o() {
@@ -1095,7 +1095,7 @@ const Mr = {
1095
1095
  }));
1096
1096
  }
1097
1097
  return qe(() => {
1098
- Ke(() => n.active, (v) => {
1098
+ Ae(() => n.active, (v) => {
1099
1099
  v && u.value ? o().activate() : a && (a.deactivate(), (!u.value || u.value.nodeType === Node.COMMENT_NODE) && (a = null));
1100
1100
  }, { immediate: !0, flush: "post" });
1101
1101
  }), pn(() => {
@@ -1110,8 +1110,8 @@ const Mr = {
1110
1110
  renderImpl() {
1111
1111
  if (!t.default)
1112
1112
  return null;
1113
- const v = t.default().filter((g) => g.type !== mn);
1114
- return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : gn(v[0], { ref: l });
1113
+ const v = t.default().filter((_) => _.type !== mn);
1114
+ return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : gn(v[0], { ref: c });
1115
1115
  }
1116
1116
  };
1117
1117
  }
@@ -1120,24 +1120,24 @@ function Xt() {
1120
1120
  return {
1121
1121
  debounce: (t, r) => {
1122
1122
  let a;
1123
- return (...l) => {
1123
+ return (...c) => {
1124
1124
  clearTimeout(a), a = window == null ? void 0 : window.setTimeout(() => {
1125
- t(...l);
1125
+ t(...c);
1126
1126
  }, r);
1127
1127
  };
1128
1128
  }
1129
1129
  };
1130
1130
  }
1131
- var Pe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1131
+ var je = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1132
1132
  function jr(n) {
1133
1133
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
1134
1134
  }
1135
1135
  var Ve = { exports: {} };
1136
1136
  Ve.exports;
1137
1137
  (function(n, t) {
1138
- var r = 200, a = "__lodash_hash_undefined__", l = 9007199254740991, u = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", y = "[object Date]", g = "[object Error]", F = "[object Function]", E = "[object GeneratorFunction]", D = "[object Map]", L = "[object Number]", S = "[object Object]", x = "[object Promise]", z = "[object RegExp]", M = "[object Set]", ae = "[object String]", ce = "[object Symbol]", Y = "[object WeakMap]", J = "[object ArrayBuffer]", K = "[object DataView]", G = "[object Float32Array]", V = "[object Float64Array]", ne = "[object Int8Array]", $ = "[object Int16Array]", B = "[object Int32Array]", _ = "[object Uint8Array]", d = "[object Uint8ClampedArray]", s = "[object Uint16Array]", f = "[object Uint32Array]", b = /[\\^$.*+?()[\]{}|]/g, T = /\w*$/, N = /^\[object .+?Constructor\]$/, A = /^(?:0|[1-9]\d*)$/, m = {};
1139
- m[u] = m[o] = m[J] = m[K] = m[v] = m[y] = m[G] = m[V] = m[ne] = m[$] = m[B] = m[D] = m[L] = m[S] = m[z] = m[M] = m[ae] = m[ce] = m[_] = m[d] = m[s] = m[f] = !0, m[g] = m[F] = m[Y] = !1;
1140
- var P = typeof Pe == "object" && Pe && Pe.Object === Object && Pe, ie = typeof self == "object" && self && self.Object === Object && self, Z = P || ie || Function("return this")(), Q = t && !t.nodeType && t, le = Q && !0 && n && !n.nodeType && n, Ae = le && le.exports === Q;
1138
+ var r = 200, a = "__lodash_hash_undefined__", c = 9007199254740991, u = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", m = "[object Date]", _ = "[object Error]", A = "[object Function]", N = "[object GeneratorFunction]", x = "[object Map]", R = "[object Number]", y = "[object Object]", M = "[object Promise]", q = "[object RegExp]", B = "[object Set]", ne = "[object String]", ce = "[object Symbol]", J = "[object WeakMap]", Q = "[object ArrayBuffer]", Z = "[object DataView]", G = "[object Float32Array]", O = "[object Float64Array]", P = "[object Int8Array]", U = "[object Int16Array]", K = "[object Int32Array]", $ = "[object Uint8Array]", d = "[object Uint8ClampedArray]", s = "[object Uint16Array]", f = "[object Uint32Array]", b = /[\\^$.*+?()[\]{}|]/g, T = /\w*$/, E = /^\[object .+?Constructor\]$/, F = /^(?:0|[1-9]\d*)$/, g = {};
1139
+ g[u] = g[o] = g[Q] = g[Z] = g[v] = g[m] = g[G] = g[O] = g[P] = g[U] = g[K] = g[x] = g[R] = g[y] = g[q] = g[B] = g[ne] = g[ce] = g[$] = g[d] = g[s] = g[f] = !0, g[_] = g[A] = g[J] = !1;
1140
+ var L = typeof je == "object" && je && je.Object === Object && je, ie = typeof self == "object" && self && self.Object === Object && self, H = L || ie || Function("return this")(), ee = t && !t.nodeType && t, le = ee && !0 && n && !n.nodeType && n, Fe = le && le.exports === ee;
1141
1141
  function Se(e, i) {
1142
1142
  return e.set(i[0], i[1]), e;
1143
1143
  }
@@ -1145,23 +1145,23 @@ Ve.exports;
1145
1145
  return e.add(i), e;
1146
1146
  }
1147
1147
  function Yt(e, i) {
1148
- for (var c = -1, h = e ? e.length : 0; ++c < h && i(e[c], c, e) !== !1; )
1148
+ for (var l = -1, h = e ? e.length : 0; ++l < h && i(e[l], l, e) !== !1; )
1149
1149
  ;
1150
1150
  return e;
1151
1151
  }
1152
1152
  function Jt(e, i) {
1153
- for (var c = -1, h = i.length, j = e.length; ++c < h; )
1154
- e[j + c] = i[c];
1153
+ for (var l = -1, h = i.length, j = e.length; ++l < h; )
1154
+ e[j + l] = i[l];
1155
1155
  return e;
1156
1156
  }
1157
- function ft(e, i, c, h) {
1158
- for (var j = -1, H = e ? e.length : 0; ++j < H; )
1159
- c = i(c, e[j], j, e);
1160
- return c;
1157
+ function ft(e, i, l, h) {
1158
+ for (var j = -1, W = e ? e.length : 0; ++j < W; )
1159
+ l = i(l, e[j], j, e);
1160
+ return l;
1161
1161
  }
1162
1162
  function Qt(e, i) {
1163
- for (var c = -1, h = Array(e); ++c < e; )
1164
- h[c] = i(c);
1163
+ for (var l = -1, h = Array(e); ++l < e; )
1164
+ h[l] = i(l);
1165
1165
  return h;
1166
1166
  }
1167
1167
  function ea(e, i) {
@@ -1177,31 +1177,31 @@ Ve.exports;
1177
1177
  return i;
1178
1178
  }
1179
1179
  function bt(e) {
1180
- var i = -1, c = Array(e.size);
1180
+ var i = -1, l = Array(e.size);
1181
1181
  return e.forEach(function(h, j) {
1182
- c[++i] = [j, h];
1183
- }), c;
1182
+ l[++i] = [j, h];
1183
+ }), l;
1184
1184
  }
1185
1185
  function Xe(e, i) {
1186
- return function(c) {
1187
- return e(i(c));
1186
+ return function(l) {
1187
+ return e(i(l));
1188
1188
  };
1189
1189
  }
1190
1190
  function ht(e) {
1191
- var i = -1, c = Array(e.size);
1191
+ var i = -1, l = Array(e.size);
1192
1192
  return e.forEach(function(h) {
1193
- c[++i] = h;
1194
- }), c;
1193
+ l[++i] = h;
1194
+ }), l;
1195
1195
  }
1196
- var ta = Array.prototype, aa = Function.prototype, Fe = Object.prototype, Ye = Z["__core-js_shared__"], pt = function() {
1196
+ var ta = Array.prototype, aa = Function.prototype, xe = Object.prototype, Ye = H["__core-js_shared__"], pt = function() {
1197
1197
  var e = /[^.]+$/.exec(Ye && Ye.keys && Ye.keys.IE_PROTO || "");
1198
1198
  return e ? "Symbol(src)_1." + e : "";
1199
- }(), mt = aa.toString, ue = Fe.hasOwnProperty, xe = Fe.toString, na = RegExp(
1199
+ }(), mt = aa.toString, ue = xe.hasOwnProperty, De = xe.toString, na = RegExp(
1200
1200
  "^" + mt.call(ue).replace(b, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1201
- ), gt = Ae ? Z.Buffer : void 0, yt = Z.Symbol, wt = Z.Uint8Array, ra = Xe(Object.getPrototypeOf, Object), ia = Object.create, oa = Fe.propertyIsEnumerable, sa = ta.splice, kt = Object.getOwnPropertySymbols, ca = gt ? gt.isBuffer : void 0, la = Xe(Object.keys, Object), Je = ye(Z, "DataView"), Ie = ye(Z, "Map"), Qe = ye(Z, "Promise"), et = ye(Z, "Set"), tt = ye(Z, "WeakMap"), Oe = ye(Object, "create"), ua = ve(Je), da = ve(Ie), fa = ve(Qe), va = ve(et), ba = ve(tt), Tt = yt ? yt.prototype : void 0, St = Tt ? Tt.valueOf : void 0;
1201
+ ), gt = Fe ? H.Buffer : void 0, yt = H.Symbol, wt = H.Uint8Array, ra = Xe(Object.getPrototypeOf, Object), ia = Object.create, oa = xe.propertyIsEnumerable, sa = ta.splice, kt = Object.getOwnPropertySymbols, ca = gt ? gt.isBuffer : void 0, la = Xe(Object.keys, Object), Je = ye(H, "DataView"), Ie = ye(H, "Map"), Qe = ye(H, "Promise"), et = ye(H, "Set"), tt = ye(H, "WeakMap"), Oe = ye(Object, "create"), ua = ve(Je), da = ve(Ie), fa = ve(Qe), va = ve(et), ba = ve(tt), Tt = yt ? yt.prototype : void 0, St = Tt ? Tt.valueOf : void 0;
1202
1202
  function de(e) {
1203
- var i = -1, c = e ? e.length : 0;
1204
- for (this.clear(); ++i < c; ) {
1203
+ var i = -1, l = e ? e.length : 0;
1204
+ for (this.clear(); ++i < l; ) {
1205
1205
  var h = e[i];
1206
1206
  this.set(h[0], h[1]);
1207
1207
  }
@@ -1215,8 +1215,8 @@ Ve.exports;
1215
1215
  function ma(e) {
1216
1216
  var i = this.__data__;
1217
1217
  if (Oe) {
1218
- var c = i[e];
1219
- return c === a ? void 0 : c;
1218
+ var l = i[e];
1219
+ return l === a ? void 0 : l;
1220
1220
  }
1221
1221
  return ue.call(i, e) ? i[e] : void 0;
1222
1222
  }
@@ -1225,13 +1225,13 @@ Ve.exports;
1225
1225
  return Oe ? i[e] !== void 0 : ue.call(i, e);
1226
1226
  }
1227
1227
  function ya(e, i) {
1228
- var c = this.__data__;
1229
- return c[e] = Oe && i === void 0 ? a : i, this;
1228
+ var l = this.__data__;
1229
+ return l[e] = Oe && i === void 0 ? a : i, this;
1230
1230
  }
1231
1231
  de.prototype.clear = ha, de.prototype.delete = pa, de.prototype.get = ma, de.prototype.has = ga, de.prototype.set = ya;
1232
1232
  function oe(e) {
1233
- var i = -1, c = e ? e.length : 0;
1234
- for (this.clear(); ++i < c; ) {
1233
+ var i = -1, l = e ? e.length : 0;
1234
+ for (this.clear(); ++i < l; ) {
1235
1235
  var h = e[i];
1236
1236
  this.set(h[0], h[1]);
1237
1237
  }
@@ -1240,27 +1240,27 @@ Ve.exports;
1240
1240
  this.__data__ = [];
1241
1241
  }
1242
1242
  function ka(e) {
1243
- var i = this.__data__, c = De(i, e);
1244
- if (c < 0)
1243
+ var i = this.__data__, l = Re(i, e);
1244
+ if (l < 0)
1245
1245
  return !1;
1246
1246
  var h = i.length - 1;
1247
- return c == h ? i.pop() : sa.call(i, c, 1), !0;
1247
+ return l == h ? i.pop() : sa.call(i, l, 1), !0;
1248
1248
  }
1249
1249
  function Ta(e) {
1250
- var i = this.__data__, c = De(i, e);
1251
- return c < 0 ? void 0 : i[c][1];
1250
+ var i = this.__data__, l = Re(i, e);
1251
+ return l < 0 ? void 0 : i[l][1];
1252
1252
  }
1253
1253
  function Sa(e) {
1254
- return De(this.__data__, e) > -1;
1254
+ return Re(this.__data__, e) > -1;
1255
1255
  }
1256
1256
  function _a(e, i) {
1257
- var c = this.__data__, h = De(c, e);
1258
- return h < 0 ? c.push([e, i]) : c[h][1] = i, this;
1257
+ var l = this.__data__, h = Re(l, e);
1258
+ return h < 0 ? l.push([e, i]) : l[h][1] = i, this;
1259
1259
  }
1260
1260
  oe.prototype.clear = wa, oe.prototype.delete = ka, oe.prototype.get = Ta, oe.prototype.has = Sa, oe.prototype.set = _a;
1261
1261
  function me(e) {
1262
- var i = -1, c = e ? e.length : 0;
1263
- for (this.clear(); ++i < c; ) {
1262
+ var i = -1, l = e ? e.length : 0;
1263
+ for (this.clear(); ++i < l; ) {
1264
1264
  var h = e[i];
1265
1265
  this.set(h[0], h[1]);
1266
1266
  }
@@ -1273,16 +1273,16 @@ Ve.exports;
1273
1273
  };
1274
1274
  }
1275
1275
  function Oa(e) {
1276
- return Re(this, e).delete(e);
1276
+ return Be(this, e).delete(e);
1277
1277
  }
1278
1278
  function Ca(e) {
1279
- return Re(this, e).get(e);
1279
+ return Be(this, e).get(e);
1280
1280
  }
1281
1281
  function $a(e) {
1282
- return Re(this, e).has(e);
1282
+ return Be(this, e).has(e);
1283
1283
  }
1284
1284
  function Ea(e, i) {
1285
- return Re(this, e).set(e, i), this;
1285
+ return Be(this, e).set(e, i), this;
1286
1286
  }
1287
1287
  me.prototype.clear = Ia, me.prototype.delete = Oa, me.prototype.get = Ca, me.prototype.has = $a, me.prototype.set = Ea;
1288
1288
  function ge(e) {
@@ -1301,140 +1301,140 @@ Ve.exports;
1301
1301
  return this.__data__.has(e);
1302
1302
  }
1303
1303
  function Da(e, i) {
1304
- var c = this.__data__;
1305
- if (c instanceof oe) {
1306
- var h = c.__data__;
1304
+ var l = this.__data__;
1305
+ if (l instanceof oe) {
1306
+ var h = l.__data__;
1307
1307
  if (!Ie || h.length < r - 1)
1308
1308
  return h.push([e, i]), this;
1309
- c = this.__data__ = new me(h);
1309
+ l = this.__data__ = new me(h);
1310
1310
  }
1311
- return c.set(e, i), this;
1311
+ return l.set(e, i), this;
1312
1312
  }
1313
1313
  ge.prototype.clear = Na, ge.prototype.delete = Aa, ge.prototype.get = Fa, ge.prototype.has = xa, ge.prototype.set = Da;
1314
1314
  function Ra(e, i) {
1315
- var c = rt(e) || on(e) ? Qt(e.length, String) : [], h = c.length, j = !!h;
1316
- for (var H in e)
1317
- ue.call(e, H) && !(j && (H == "length" || tn(H, h))) && c.push(H);
1318
- return c;
1315
+ var l = rt(e) || on(e) ? Qt(e.length, String) : [], h = l.length, j = !!h;
1316
+ for (var W in e)
1317
+ ue.call(e, W) && !(j && (W == "length" || tn(W, h))) && l.push(W);
1318
+ return l;
1319
1319
  }
1320
- function _t(e, i, c) {
1320
+ function _t(e, i, l) {
1321
1321
  var h = e[i];
1322
- (!(ue.call(e, i) && $t(h, c)) || c === void 0 && !(i in e)) && (e[i] = c);
1322
+ (!(ue.call(e, i) && $t(h, l)) || l === void 0 && !(i in e)) && (e[i] = l);
1323
1323
  }
1324
- function De(e, i) {
1325
- for (var c = e.length; c--; )
1326
- if ($t(e[c][0], i))
1327
- return c;
1324
+ function Re(e, i) {
1325
+ for (var l = e.length; l--; )
1326
+ if ($t(e[l][0], i))
1327
+ return l;
1328
1328
  return -1;
1329
1329
  }
1330
1330
  function Ba(e, i) {
1331
1331
  return e && It(i, it(i), e);
1332
1332
  }
1333
- function at(e, i, c, h, j, H, se) {
1334
- var U;
1335
- if (h && (U = H ? h(e, j, H, se) : h(e)), U !== void 0)
1336
- return U;
1337
- if (!Be(e))
1333
+ function at(e, i, l, h, j, W, se) {
1334
+ var z;
1335
+ if (h && (z = W ? h(e, j, W, se) : h(e)), z !== void 0)
1336
+ return z;
1337
+ if (!Le(e))
1338
1338
  return e;
1339
1339
  var At = rt(e);
1340
1340
  if (At) {
1341
- if (U = Ja(e), !i)
1342
- return qa(e, U);
1341
+ if (z = Ja(e), !i)
1342
+ return qa(e, z);
1343
1343
  } else {
1344
- var we = fe(e), Ft = we == F || we == E;
1344
+ var we = fe(e), Ft = we == A || we == N;
1345
1345
  if (cn(e))
1346
1346
  return Ka(e, i);
1347
- if (we == S || we == u || Ft && !H) {
1347
+ if (we == y || we == u || Ft && !W) {
1348
1348
  if (vt(e))
1349
- return H ? e : {};
1350
- if (U = Qa(Ft ? {} : e), !i)
1351
- return Xa(e, Ba(U, e));
1349
+ return W ? e : {};
1350
+ if (z = Qa(Ft ? {} : e), !i)
1351
+ return Xa(e, Ba(z, e));
1352
1352
  } else {
1353
- if (!m[we])
1354
- return H ? e : {};
1355
- U = en(e, we, at, i);
1353
+ if (!g[we])
1354
+ return W ? e : {};
1355
+ z = en(e, we, at, i);
1356
1356
  }
1357
1357
  }
1358
1358
  se || (se = new ge());
1359
1359
  var xt = se.get(e);
1360
1360
  if (xt)
1361
1361
  return xt;
1362
- if (se.set(e, U), !At)
1363
- var Dt = c ? Ya(e) : it(e);
1364
- return Yt(Dt || e, function(ot, Le) {
1365
- Dt && (Le = ot, ot = e[Le]), _t(U, Le, at(ot, i, c, h, Le, e, se));
1366
- }), U;
1362
+ if (se.set(e, z), !At)
1363
+ var Dt = l ? Ya(e) : it(e);
1364
+ return Yt(Dt || e, function(ot, Me) {
1365
+ Dt && (Me = ot, ot = e[Me]), _t(z, Me, at(ot, i, l, h, Me, e, se));
1366
+ }), z;
1367
1367
  }
1368
1368
  function La(e) {
1369
- return Be(e) ? ia(e) : {};
1369
+ return Le(e) ? ia(e) : {};
1370
1370
  }
1371
- function Ma(e, i, c) {
1371
+ function Ma(e, i, l) {
1372
1372
  var h = i(e);
1373
- return rt(e) ? h : Jt(h, c(e));
1373
+ return rt(e) ? h : Jt(h, l(e));
1374
1374
  }
1375
1375
  function Pa(e) {
1376
- return xe.call(e);
1376
+ return De.call(e);
1377
1377
  }
1378
1378
  function ja(e) {
1379
- if (!Be(e) || nn(e))
1379
+ if (!Le(e) || nn(e))
1380
1380
  return !1;
1381
- var i = Nt(e) || vt(e) ? na : N;
1381
+ var i = Nt(e) || vt(e) ? na : E;
1382
1382
  return i.test(ve(e));
1383
1383
  }
1384
1384
  function Za(e) {
1385
1385
  if (!Ct(e))
1386
1386
  return la(e);
1387
1387
  var i = [];
1388
- for (var c in Object(e))
1389
- ue.call(e, c) && c != "constructor" && i.push(c);
1388
+ for (var l in Object(e))
1389
+ ue.call(e, l) && l != "constructor" && i.push(l);
1390
1390
  return i;
1391
1391
  }
1392
1392
  function Ka(e, i) {
1393
1393
  if (i)
1394
1394
  return e.slice();
1395
- var c = new e.constructor(e.length);
1396
- return e.copy(c), c;
1395
+ var l = new e.constructor(e.length);
1396
+ return e.copy(l), l;
1397
1397
  }
1398
1398
  function nt(e) {
1399
1399
  var i = new e.constructor(e.byteLength);
1400
1400
  return new wt(i).set(new wt(e)), i;
1401
1401
  }
1402
1402
  function Ha(e, i) {
1403
- var c = i ? nt(e.buffer) : e.buffer;
1404
- return new e.constructor(c, e.byteOffset, e.byteLength);
1403
+ var l = i ? nt(e.buffer) : e.buffer;
1404
+ return new e.constructor(l, e.byteOffset, e.byteLength);
1405
1405
  }
1406
- function Ua(e, i, c) {
1407
- var h = i ? c(bt(e), !0) : bt(e);
1406
+ function Ua(e, i, l) {
1407
+ var h = i ? l(bt(e), !0) : bt(e);
1408
1408
  return ft(h, Se, new e.constructor());
1409
1409
  }
1410
1410
  function Wa(e) {
1411
1411
  var i = new e.constructor(e.source, T.exec(e));
1412
1412
  return i.lastIndex = e.lastIndex, i;
1413
1413
  }
1414
- function za(e, i, c) {
1415
- var h = i ? c(ht(e), !0) : ht(e);
1414
+ function za(e, i, l) {
1415
+ var h = i ? l(ht(e), !0) : ht(e);
1416
1416
  return ft(h, _e, new e.constructor());
1417
1417
  }
1418
1418
  function Va(e) {
1419
1419
  return St ? Object(St.call(e)) : {};
1420
1420
  }
1421
1421
  function Ga(e, i) {
1422
- var c = i ? nt(e.buffer) : e.buffer;
1423
- return new e.constructor(c, e.byteOffset, e.length);
1422
+ var l = i ? nt(e.buffer) : e.buffer;
1423
+ return new e.constructor(l, e.byteOffset, e.length);
1424
1424
  }
1425
1425
  function qa(e, i) {
1426
- var c = -1, h = e.length;
1427
- for (i || (i = Array(h)); ++c < h; )
1428
- i[c] = e[c];
1426
+ var l = -1, h = e.length;
1427
+ for (i || (i = Array(h)); ++l < h; )
1428
+ i[l] = e[l];
1429
1429
  return i;
1430
1430
  }
1431
- function It(e, i, c, h) {
1432
- c || (c = {});
1433
- for (var j = -1, H = i.length; ++j < H; ) {
1434
- var se = i[j], U = void 0;
1435
- _t(c, se, U === void 0 ? e[se] : U);
1431
+ function It(e, i, l, h) {
1432
+ l || (l = {});
1433
+ for (var j = -1, W = i.length; ++j < W; ) {
1434
+ var se = i[j], z = void 0;
1435
+ _t(l, se, z === void 0 ? e[se] : z);
1436
1436
  }
1437
- return c;
1437
+ return l;
1438
1438
  }
1439
1439
  function Xa(e, i) {
1440
1440
  return It(e, Ot(e), i);
@@ -1442,74 +1442,74 @@ Ve.exports;
1442
1442
  function Ya(e) {
1443
1443
  return Ma(e, it, Ot);
1444
1444
  }
1445
- function Re(e, i) {
1446
- var c = e.__data__;
1447
- return an(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
1445
+ function Be(e, i) {
1446
+ var l = e.__data__;
1447
+ return an(i) ? l[typeof i == "string" ? "string" : "hash"] : l.map;
1448
1448
  }
1449
1449
  function ye(e, i) {
1450
- var c = ea(e, i);
1451
- return ja(c) ? c : void 0;
1450
+ var l = ea(e, i);
1451
+ return ja(l) ? l : void 0;
1452
1452
  }
1453
1453
  var Ot = kt ? Xe(kt, Object) : dn, fe = Pa;
1454
- (Je && fe(new Je(new ArrayBuffer(1))) != K || Ie && fe(new Ie()) != D || Qe && fe(Qe.resolve()) != x || et && fe(new et()) != M || tt && fe(new tt()) != Y) && (fe = function(e) {
1455
- var i = xe.call(e), c = i == S ? e.constructor : void 0, h = c ? ve(c) : void 0;
1454
+ (Je && fe(new Je(new ArrayBuffer(1))) != Z || Ie && fe(new Ie()) != x || Qe && fe(Qe.resolve()) != M || et && fe(new et()) != B || tt && fe(new tt()) != J) && (fe = function(e) {
1455
+ var i = De.call(e), l = i == y ? e.constructor : void 0, h = l ? ve(l) : void 0;
1456
1456
  if (h)
1457
1457
  switch (h) {
1458
1458
  case ua:
1459
- return K;
1459
+ return Z;
1460
1460
  case da:
1461
- return D;
1462
- case fa:
1463
1461
  return x;
1464
- case va:
1462
+ case fa:
1465
1463
  return M;
1464
+ case va:
1465
+ return B;
1466
1466
  case ba:
1467
- return Y;
1467
+ return J;
1468
1468
  }
1469
1469
  return i;
1470
1470
  });
1471
1471
  function Ja(e) {
1472
- var i = e.length, c = e.constructor(i);
1473
- return i && typeof e[0] == "string" && ue.call(e, "index") && (c.index = e.index, c.input = e.input), c;
1472
+ var i = e.length, l = e.constructor(i);
1473
+ return i && typeof e[0] == "string" && ue.call(e, "index") && (l.index = e.index, l.input = e.input), l;
1474
1474
  }
1475
1475
  function Qa(e) {
1476
1476
  return typeof e.constructor == "function" && !Ct(e) ? La(ra(e)) : {};
1477
1477
  }
1478
- function en(e, i, c, h) {
1478
+ function en(e, i, l, h) {
1479
1479
  var j = e.constructor;
1480
1480
  switch (i) {
1481
- case J:
1481
+ case Q:
1482
1482
  return nt(e);
1483
1483
  case v:
1484
- case y:
1484
+ case m:
1485
1485
  return new j(+e);
1486
- case K:
1486
+ case Z:
1487
1487
  return Ha(e, h);
1488
1488
  case G:
1489
- case V:
1490
- case ne:
1489
+ case O:
1490
+ case P:
1491
+ case U:
1492
+ case K:
1491
1493
  case $:
1492
- case B:
1493
- case _:
1494
1494
  case d:
1495
1495
  case s:
1496
1496
  case f:
1497
1497
  return Ga(e, h);
1498
- case D:
1499
- return Ua(e, h, c);
1500
- case L:
1501
- case ae:
1498
+ case x:
1499
+ return Ua(e, h, l);
1500
+ case R:
1501
+ case ne:
1502
1502
  return new j(e);
1503
- case z:
1503
+ case q:
1504
1504
  return Wa(e);
1505
- case M:
1506
- return za(e, h, c);
1505
+ case B:
1506
+ return za(e, h, l);
1507
1507
  case ce:
1508
1508
  return Va(e);
1509
1509
  }
1510
1510
  }
1511
1511
  function tn(e, i) {
1512
- return i = i ?? l, !!i && (typeof e == "number" || A.test(e)) && e > -1 && e % 1 == 0 && e < i;
1512
+ return i = i ?? c, !!i && (typeof e == "number" || F.test(e)) && e > -1 && e % 1 == 0 && e < i;
1513
1513
  }
1514
1514
  function an(e) {
1515
1515
  var i = typeof e;
@@ -1519,8 +1519,8 @@ Ve.exports;
1519
1519
  return !!pt && pt in e;
1520
1520
  }
1521
1521
  function Ct(e) {
1522
- var i = e && e.constructor, c = typeof i == "function" && i.prototype || Fe;
1523
- return e === c;
1522
+ var i = e && e.constructor, l = typeof i == "function" && i.prototype || xe;
1523
+ return e === l;
1524
1524
  }
1525
1525
  function ve(e) {
1526
1526
  if (e != null) {
@@ -1542,7 +1542,7 @@ Ve.exports;
1542
1542
  return e === i || e !== e && i !== i;
1543
1543
  }
1544
1544
  function on(e) {
1545
- return sn(e) && ue.call(e, "callee") && (!oa.call(e, "callee") || xe.call(e) == u);
1545
+ return sn(e) && ue.call(e, "callee") && (!oa.call(e, "callee") || De.call(e) == u);
1546
1546
  }
1547
1547
  var rt = Array.isArray;
1548
1548
  function Et(e) {
@@ -1553,13 +1553,13 @@ Ve.exports;
1553
1553
  }
1554
1554
  var cn = ca || fn;
1555
1555
  function Nt(e) {
1556
- var i = Be(e) ? xe.call(e) : "";
1557
- return i == F || i == E;
1556
+ var i = Le(e) ? De.call(e) : "";
1557
+ return i == A || i == N;
1558
1558
  }
1559
1559
  function ln(e) {
1560
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= l;
1560
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= c;
1561
1561
  }
1562
- function Be(e) {
1562
+ function Le(e) {
1563
1563
  var i = typeof e;
1564
1564
  return !!e && (i == "object" || i == "function");
1565
1565
  }
@@ -1594,7 +1594,7 @@ const Kr = /* @__PURE__ */ jr(Zr), Hr = {
1594
1594
  }, qr = {
1595
1595
  key: 2,
1596
1596
  class: "level-primary bottom-items"
1597
- }, Xr = { class: "sidebar-footer" }, Yr = /* @__PURE__ */ ee({
1597
+ }, Xr = { class: "sidebar-footer" }, Yr = /* @__PURE__ */ te({
1598
1598
  __name: "AppSidebar",
1599
1599
  props: {
1600
1600
  topItems: {
@@ -1659,61 +1659,61 @@ const Kr = /* @__PURE__ */ jr(Zr), Hr = {
1659
1659
  "096ef197": n.zIndex,
1660
1660
  "7a10f32f": v.value.height,
1661
1661
  "7da84766": v.value.top,
1662
- "1e6146be": g.value.marginTop,
1663
- "5b6aa028": _.value,
1664
- "178af94b": y.value.display,
1665
- "49f98062": y.value.minHeight,
1666
- "548fea1c": F.value.top,
1667
- c0ba7b5e: F.value.zIndex
1662
+ "1e6146be": _.value.marginTop,
1663
+ "5b6aa028": $.value,
1664
+ "178af94b": m.value.display,
1665
+ "49f98062": m.value.minHeight,
1666
+ "548fea1c": A.value.top,
1667
+ c0ba7b5e: A.value.zIndex
1668
1668
  }));
1669
- const r = t, a = n, l = Ge(), u = k(() => !!l.header), o = k(() => !!l.top), v = k(() => ({
1669
+ const r = t, a = n, c = Ge(), u = k(() => !!c.header), o = k(() => !!c.top), v = k(() => ({
1670
1670
  mobileTop: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : a.topOffset ? `${a.topOffset}px` : "0",
1671
1671
  top: a.topOffset ? `${a.topOffset}px` : "0",
1672
1672
  mobileHeight: a.mobileTopOffset && a.mobileEnabled ? `calc(100% - ${a.mobileTopOffset}px)` : "100%",
1673
1673
  height: a.topOffset ? `calc(100% - ${a.topOffset}px)` : "100%"
1674
- })), y = k(() => ({
1674
+ })), m = k(() => ({
1675
1675
  display: !a.mobileHeaderVisible && a.mobileEnabled ? "none" : "flex",
1676
1676
  minHeight: `${a.headerHeight}px`
1677
- })), g = k(() => ({
1677
+ })), _ = k(() => ({
1678
1678
  marginTop: u.value ? `${a.headerHeight}px` : "0"
1679
- })), F = k(() => ({
1679
+ })), A = k(() => ({
1680
1680
  top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
1681
1681
  zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
1682
- })), E = (s) => Kr(s).map((b) => {
1683
- var T, N, A;
1682
+ })), N = (s) => Kr(s).map((b) => {
1683
+ var T, E, F;
1684
1684
  if (b) {
1685
- (!b.key || !((T = b.key) != null && T.trim())) && (b.key = String(b.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!b.testId || !((N = b.testId) != null && N.trim())) && (b.testId = String(b.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1686
- for (const m of b.items || [])
1687
- m.parentKey = b.key, (!m.testId || !((A = m.testId) != null && A.trim())) && (m.testId = String(m.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1685
+ (!b.key || !((T = b.key) != null && T.trim())) && (b.key = String(b.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!b.testId || !((E = b.testId) != null && E.trim())) && (b.testId = String(b.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1686
+ for (const g of b.items || [])
1687
+ g.parentKey = b.key, (!g.testId || !((F = g.testId) != null && F.trim())) && (g.testId = String(g.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1688
1688
  }
1689
1689
  return b;
1690
- }), D = k(() => a.topItems.length ? E(a.topItems) : []), L = k(() => a.bottomItems.length ? E(a.bottomItems) : []), S = W(a.open), x = (s) => {
1690
+ }), x = k(() => a.topItems.length ? N(a.topItems) : []), R = k(() => a.bottomItems.length ? N(a.bottomItems) : []), y = V(a.open), M = (s) => {
1691
1691
  var f, b;
1692
- S.value !== s && (S.value = s, r("toggle", s)), s ? (f = document == null ? void 0 : document.body) == null || f.classList.add("kong-ui-app-sidebar-open") : (b = document == null ? void 0 : document.body) == null || b.classList.remove("kong-ui-app-sidebar-open"), M.value = !1;
1693
- }, z = () => {
1694
- a.mobileOverlayCloseOnClick && x(!1);
1695
- }, M = W(!1), ae = (s) => {
1696
- M.value = !0, r("click", s), setTimeout(() => {
1697
- x(!1);
1692
+ y.value !== s && (y.value = s, r("toggle", s)), s ? (f = document == null ? void 0 : document.body) == null || f.classList.add("kong-ui-app-sidebar-open") : (b = document == null ? void 0 : document.body) == null || b.classList.remove("kong-ui-app-sidebar-open"), B.value = !1;
1693
+ }, q = () => {
1694
+ a.mobileOverlayCloseOnClick && M(!1);
1695
+ }, B = V(!1), ne = (s) => {
1696
+ B.value = !0, r("click", s), setTimeout(() => {
1697
+ M(!1);
1698
1698
  }, a.mobileCloseDelay);
1699
1699
  };
1700
- Ke(() => a.open, (s) => {
1701
- x(s);
1700
+ Ae(() => a.open, (s) => {
1701
+ M(s);
1702
1702
  });
1703
- const { debounce: ce } = Xt(), Y = ce(() => {
1704
- S.value && J.value !== (window == null ? void 0 : window.innerWidth) && (J.value = window == null ? void 0 : window.innerWidth, x(!1));
1705
- }, 200), J = W(), K = W(!1), G = W(), V = () => {
1706
- K.value || (K.value = !0, clearTimeout(G.value), G.value = setTimeout(() => K.value = !1, 1300));
1707
- }, ne = W(null), $ = k(() => S.value && a.mobileEnabled), B = async (s) => {
1703
+ const { debounce: ce } = Xt(), J = ce(() => {
1704
+ y.value && Q.value !== (window == null ? void 0 : window.innerWidth) && (Q.value = window == null ? void 0 : window.innerWidth, M(!1));
1705
+ }, 200), Q = V(), Z = V(!1), G = V(), O = () => {
1706
+ Z.value || (Z.value = !0, clearTimeout(G.value), G.value = setTimeout(() => Z.value = !1, 1300));
1707
+ }, P = V(null), U = k(() => y.value && a.mobileEnabled), K = async (s) => {
1708
1708
  var f, b;
1709
- s ? (await Rt(), await new Promise((T) => setTimeout(T, 300)), (f = ne.value) == null || f.activate()) : (b = ne.value) == null || b.deactivate();
1709
+ s ? (await Rt(), await new Promise((T) => setTimeout(T, 300)), (f = P.value) == null || f.activate()) : (b = P.value) == null || b.deactivate();
1710
1710
  };
1711
- Ke($, async (s) => {
1712
- s ? await B(!0) : await B(!1);
1711
+ Ae(U, async (s) => {
1712
+ s ? await K(!0) : await K(!1);
1713
1713
  }, { immediate: !0 });
1714
- const _ = W("0px"), d = () => {
1715
- var m;
1716
- if (!(/Mac|iPhone|iPod|iPad/i.test(navigator == null ? void 0 : navigator.platform) || /macOS|Mac|iPhone|iPod|iPad/i.test((m = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : m.platform)))
1714
+ const $ = V("0px"), d = () => {
1715
+ var g;
1716
+ if (!(/Mac|iPhone|iPod|iPad/i.test(navigator == null ? void 0 : navigator.platform) || /macOS|Mac|iPhone|iPod|iPad/i.test((g = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : g.platform)))
1717
1717
  return;
1718
1718
  const f = document.createElement("div");
1719
1719
  f.style.visibility = "hidden", f.style.width = "100px", document.body.appendChild(f);
@@ -1721,74 +1721,74 @@ const Kr = /* @__PURE__ */ jr(Zr), Hr = {
1721
1721
  f.style.overflow = "scroll";
1722
1722
  const T = document.createElement("div");
1723
1723
  T.style.width = "100%", f.appendChild(T);
1724
- const N = T.offsetWidth;
1725
- f.parentNode && f.parentNode.removeChild(f), b - N === 0 && (_.value = "8px");
1724
+ const E = T.offsetWidth;
1725
+ f.parentNode && f.parentNode.removeChild(f), b - E === 0 && ($.value = "8px");
1726
1726
  };
1727
1727
  return qe(async () => {
1728
- J.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", Y), window.addEventListener("resize", V), await Rt(), d();
1728
+ Q.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", J), window.addEventListener("resize", O), await Rt(), d();
1729
1729
  }), Ht(() => {
1730
- window.removeEventListener("resize", Y), window.removeEventListener("resize", V);
1730
+ window.removeEventListener("resize", J), window.removeEventListener("resize", O);
1731
1731
  }), (s, f) => (p(), w($e, null, [
1732
- S.value && n.mobileOverlay && n.mobileEnabled ? (p(), w("div", {
1732
+ y.value && n.mobileOverlay && n.mobileEnabled ? (p(), w("div", {
1733
1733
  key: 0,
1734
1734
  class: "kong-ui-app-sidebar-overlay",
1735
- onClick: z
1735
+ onClick: q
1736
1736
  })) : C("", !0),
1737
1737
  Ne(yn(Pr), {
1738
1738
  ref_key: "focusTrap",
1739
- ref: ne,
1739
+ ref: P,
1740
1740
  active: !1,
1741
1741
  "allow-outside-click": "",
1742
1742
  "fallback-focus": ".kong-ui-app-sidebar"
1743
1743
  }, {
1744
- default: R(() => [
1745
- O("aside", {
1744
+ default: D(() => [
1745
+ I("aside", {
1746
1746
  class: re(["kong-ui-app-sidebar", {
1747
- "sidebar-open": S.value,
1747
+ "sidebar-open": y.value,
1748
1748
  "no-sidebar-header": !u.value,
1749
1749
  "mobile-header-hidden": n.mobileEnabled && (!u.value || !n.mobileHeaderVisible),
1750
1750
  "mobile-disabled": !n.mobileEnabled,
1751
- "disable-transitions": K.value
1751
+ "disable-transitions": Z.value
1752
1752
  }]),
1753
1753
  tabindex: "-1"
1754
1754
  }, [
1755
1755
  u.value ? (p(), w("div", Hr, [
1756
- I(s.$slots, "header", {}, void 0, !0)
1756
+ S(s.$slots, "header", {}, void 0, !0)
1757
1757
  ])) : C("", !0),
1758
- O("div", Ur, [
1758
+ I("div", Ur, [
1759
1759
  o.value ? (p(), w("div", Wr, [
1760
- I(s.$slots, "top", {}, void 0, !0)
1760
+ S(s.$slots, "top", {}, void 0, !0)
1761
1761
  ])) : C("", !0),
1762
- O("nav", zr, [
1763
- D.value.length ? (p(), w("ul", Vr, [
1764
- (p(!0), w($e, null, Te(D.value, (b) => (p(), X(Bt, {
1762
+ I("nav", zr, [
1763
+ x.value.length ? (p(), w("ul", Vr, [
1764
+ (p(!0), w($e, null, Te(x.value, (b) => (p(), Y(Bt, {
1765
1765
  key: b.name,
1766
1766
  item: b,
1767
- onClick: ae
1767
+ onClick: ne
1768
1768
  }, {
1769
- [`sidebar-icon-${b.key}`]: R(() => [
1770
- I(s.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1769
+ [`sidebar-icon-${b.key}`]: D(() => [
1770
+ S(s.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1771
1771
  ]),
1772
1772
  _: 2
1773
1773
  }, 1032, ["item"]))), 128))
1774
1774
  ])) : C("", !0),
1775
- D.value.length && L.value.length ? (p(), w("div", Gr)) : C("", !0),
1776
- L.value.length ? (p(), w("ul", qr, [
1777
- (p(!0), w($e, null, Te(L.value, (b) => (p(), X(Bt, {
1775
+ x.value.length && R.value.length ? (p(), w("div", Gr)) : C("", !0),
1776
+ R.value.length ? (p(), w("ul", qr, [
1777
+ (p(!0), w($e, null, Te(R.value, (b) => (p(), Y(Bt, {
1778
1778
  key: b.name,
1779
1779
  item: b,
1780
- onClick: ae
1780
+ onClick: ne
1781
1781
  }, {
1782
- [`sidebar-icon-${b.key}`]: R(() => [
1783
- I(s.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1782
+ [`sidebar-icon-${b.key}`]: D(() => [
1783
+ S(s.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1784
1784
  ]),
1785
1785
  _: 2
1786
1786
  }, 1032, ["item"]))), 128))
1787
1787
  ])) : C("", !0)
1788
1788
  ])
1789
1789
  ]),
1790
- O("div", Xr, [
1791
- I(s.$slots, "footer", {}, void 0, !0)
1790
+ I("div", Xr, [
1791
+ S(s.$slots, "footer", {}, void 0, !0)
1792
1792
  ])
1793
1793
  ], 2)
1794
1794
  ]),
@@ -1796,7 +1796,7 @@ const Kr = /* @__PURE__ */ jr(Zr), Hr = {
1796
1796
  }, 512)
1797
1797
  ], 64));
1798
1798
  }
1799
- }), Jr = /* @__PURE__ */ te(Yr, [["__scopeId", "data-v-c9dc6d28"]]), Qr = ["aria-label"], ei = /* @__PURE__ */ ee({
1799
+ }), Jr = /* @__PURE__ */ ae(Yr, [["__scopeId", "data-v-c9dc6d28"]]), Qr = ["aria-label"], ei = /* @__PURE__ */ te({
1800
1800
  __name: "SidebarToggle",
1801
1801
  props: {
1802
1802
  active: {
@@ -1806,31 +1806,31 @@ const Kr = /* @__PURE__ */ jr(Zr), Hr = {
1806
1806
  },
1807
1807
  emits: ["toggle"],
1808
1808
  setup(n, { emit: t }) {
1809
- const r = t, a = n, l = W(a.active || !1), u = (o) => {
1810
- o.preventDefault(), l.value = !l.value, r("toggle", l.value);
1809
+ const r = t, a = n, c = V(a.active || !1), u = (o) => {
1810
+ o.preventDefault(), c.value = !c.value, r("toggle", c.value);
1811
1811
  };
1812
- return Ke(() => a.active, (o) => {
1813
- l.value = o;
1812
+ return Ae(() => a.active, (o) => {
1813
+ c.value = o;
1814
1814
  }), (o, v) => (p(), w("a", {
1815
1815
  "aria-haspopup": "true",
1816
- "aria-label": l.value ? "Close Main Menu" : "Open Main Menu",
1817
- class: re(["sidebar-menu-toggle", { active: l.value }]),
1816
+ "aria-label": c.value ? "Close Main Menu" : "Open Main Menu",
1817
+ class: re(["sidebar-menu-toggle", { active: c.value }]),
1818
1818
  href: "#",
1819
1819
  role: "button",
1820
1820
  onClick: wn(u, ["prevent"])
1821
1821
  }, v[0] || (v[0] = [
1822
- O("span", { class: "line" }, null, -1),
1823
- O("span", { class: "line" }, null, -1),
1824
- O("span", { class: "line" }, null, -1)
1822
+ I("span", { class: "line" }, null, -1),
1823
+ I("span", { class: "line" }, null, -1),
1824
+ I("span", { class: "line" }, null, -1)
1825
1825
  ]), 10, Qr));
1826
1826
  }
1827
- }), ti = /* @__PURE__ */ te(ei, [["__scopeId", "data-v-fbde70e6"]]), ai = "#ffffff", ni = "#000933", ri = "#000933", ii = "#ffffff", oi = "0px", si = "4px", ci = { id: "kong-ui-app-layout-notification" }, li = { class: "mobile-logo" }, ui = {
1827
+ }), ti = /* @__PURE__ */ ae(ei, [["__scopeId", "data-v-fbde70e6"]]), ai = "#ffffff", ni = "#000933", ri = "#000933", ii = "#ffffff", oi = "0px", si = "4px", ci = { id: "kong-ui-app-layout-notification" }, li = { class: "mobile-logo" }, ui = {
1828
1828
  key: 0,
1829
1829
  class: "navbar-logo"
1830
1830
  }, di = {
1831
1831
  class: "kong-ui-app-layout-main",
1832
1832
  "data-testid": "kong-ui-app-layout-main"
1833
- }, fi = { class: "kong-ui-app-layout-content" }, vi = { class: "kong-ui-app-layout-content-inner" }, bi = /* @__PURE__ */ ee({
1833
+ }, fi = { class: "kong-ui-app-layout-content" }, vi = { class: "kong-ui-app-layout-content-inner" }, bi = /* @__PURE__ */ te({
1834
1834
  __name: "AppLayout",
1835
1835
  props: {
1836
1836
  hideDefaultSlot: {
@@ -1865,180 +1865,179 @@ const Kr = /* @__PURE__ */ jr(Zr), Hr = {
1865
1865
  validator: (n) => ["light", "dark"].includes(n)
1866
1866
  }
1867
1867
  },
1868
- emits: ["sidebar-click"],
1869
- setup(n, { expose: t, emit: r }) {
1870
- dt(($) => ({
1871
- "4c517e79": ae.value,
1872
- "20fb316f": ce.value,
1873
- "3ef33407": M.value,
1874
- "932a612a": Y.value,
1875
- dfc422c4: J.value
1868
+ emits: ["sidebar-click", "update:topOffset"],
1869
+ setup(n, { emit: t }) {
1870
+ dt((O) => ({
1871
+ "2235c6e4": B.value,
1872
+ "29d04344": ne.value,
1873
+ "3d470f48": q.value,
1874
+ "81803d80": ce.value,
1875
+ "64da7a33": J.value
1876
1876
  }));
1877
- const a = n, l = r, u = Ge(), o = je({
1878
- navbarLeft: k(() => !!u["navbar-left"]),
1879
- navbarCenter: k(() => !!u["navbar-center"]),
1880
- navbarRight: k(() => !!u["navbar-right"]),
1881
- navbarLogo: k(() => !!u["navbar-logo"]),
1882
- navbarMobileLogo: k(() => !!u["navbar-mobile-logo"]),
1883
- sidebarHeader: k(() => !!u["sidebar-header"]),
1884
- sidebarTop: k(() => !!u["sidebar-top"]),
1885
- sidebarFooter: k(() => !!u["sidebar-footer"])
1886
- }), v = k(() => a.hideDefaultSlot), y = je({
1887
- hidden: k(() => a.navbarHidden)
1888
- }), g = je({
1889
- topItems: k(() => a.sidebarTopItems),
1890
- bottomItems: k(() => a.sidebarBottomItems),
1891
- open: k(() => a.sidebarOpen),
1892
- hidden: k(() => a.sidebarHidden)
1893
- }), F = ($) => {
1894
- l("sidebar-click", $);
1895
- }, E = W(!1), D = ($) => {
1896
- E.value = $;
1877
+ const r = n, a = t, c = Ge(), u = Ze({
1878
+ navbarLeft: k(() => !!c["navbar-left"]),
1879
+ navbarCenter: k(() => !!c["navbar-center"]),
1880
+ navbarRight: k(() => !!c["navbar-right"]),
1881
+ navbarLogo: k(() => !!c["navbar-logo"]),
1882
+ navbarMobileLogo: k(() => !!c["navbar-mobile-logo"]),
1883
+ sidebarHeader: k(() => !!c["sidebar-header"]),
1884
+ sidebarTop: k(() => !!c["sidebar-top"]),
1885
+ sidebarFooter: k(() => !!c["sidebar-footer"])
1886
+ }), o = k(() => r.hideDefaultSlot), v = Ze({
1887
+ hidden: k(() => r.navbarHidden)
1888
+ }), m = Ze({
1889
+ topItems: k(() => r.sidebarTopItems),
1890
+ bottomItems: k(() => r.sidebarBottomItems),
1891
+ open: k(() => r.sidebarOpen),
1892
+ hidden: k(() => r.sidebarHidden)
1893
+ }), _ = (O) => {
1894
+ a("sidebar-click", O);
1895
+ }, A = V(!1), N = (O) => {
1896
+ A.value = O;
1897
1897
  };
1898
1898
  kn(() => {
1899
- E.value = Tn(g, "open").value || !1;
1899
+ A.value = Tn(m, "open").value || !1;
1900
1900
  });
1901
- const L = W(0), S = W(60), x = W(0), z = k(() => y.hidden ? x.value : S.value + x.value), M = k(() => a.theme === "light" ? ri : ii), ae = k(() => a.theme === "light" ? ai : ni), ce = k(() => a.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), Y = k(() => `${z.value}px`), J = k(() => g.hidden || y.hidden ? oi : si), { debounce: K } = Xt(), G = K(($ = !1) => {
1902
- if ($ || L.value !== (window == null ? void 0 : window.innerWidth)) {
1903
- L.value = window == null ? void 0 : window.innerWidth;
1904
- const B = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1905
- B && (x.value = B.offsetHeight);
1901
+ const x = V(0), R = V(60), y = V(0), M = k(() => v.hidden ? y.value : R.value + y.value), q = k(() => r.theme === "light" ? ri : ii), B = k(() => r.theme === "light" ? ai : ni), ne = k(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), ce = k(() => `${M.value}px`), J = k(() => m.hidden || v.hidden ? oi : si), { debounce: Q } = Xt(), Z = Q((O = !1) => {
1902
+ if (O || x.value !== (window == null ? void 0 : window.innerWidth)) {
1903
+ x.value = window == null ? void 0 : window.innerWidth;
1904
+ const P = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1905
+ P && (y.value = P.offsetHeight);
1906
1906
  }
1907
- }, 200), V = W(), ne = k(() => x.value);
1908
- return t({
1909
- /** Expose the computed top offset */
1910
- topOffset: ne
1911
- }), qe(() => {
1912
- var B, _;
1913
- (B = document == null ? void 0 : document.body) == null || B.classList.add("kong-ui-app-layout-body"), (_ = document == null ? void 0 : document.documentElement) == null || _.classList.add("kong-ui-app-layout-html"), L.value = window == null ? void 0 : window.innerWidth, G(!0);
1914
- const $ = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1915
- $ && (V.value = new ResizeObserver((d) => {
1907
+ }, 200), G = V();
1908
+ return Ae(y, (O) => {
1909
+ a("update:topOffset", O || 0);
1910
+ }, { immediate: !0 }), qe(() => {
1911
+ var P, U;
1912
+ (P = document == null ? void 0 : document.body) == null || P.classList.add("kong-ui-app-layout-body"), (U = document == null ? void 0 : document.documentElement) == null || U.classList.add("kong-ui-app-layout-html"), x.value = window == null ? void 0 : window.innerWidth, Z(!0);
1913
+ const O = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1914
+ O && (G.value = new ResizeObserver((K) => {
1916
1915
  window.requestAnimationFrame(() => {
1917
- if (!(!Array.isArray(d) || !d.length))
1918
- for (const s of d) {
1919
- const f = s.contentRect.height;
1920
- x.value !== f && (x.value = f);
1916
+ if (!(!Array.isArray(K) || !K.length))
1917
+ for (const $ of K) {
1918
+ const d = $.contentRect.height;
1919
+ y.value !== d && (y.value = d);
1921
1920
  }
1922
1921
  });
1923
- }), V.value.observe($)), window.addEventListener("resize", G);
1922
+ }), G.value.observe(O)), window.addEventListener("resize", Z);
1924
1923
  }), Ht(() => {
1925
- V.value && V.value.disconnect(), window.removeEventListener("resize", G);
1926
- }), ($, B) => (p(), w("div", {
1924
+ G.value && G.value.disconnect(), window.removeEventListener("resize", Z);
1925
+ }), (O, P) => (p(), w("div", {
1927
1926
  class: re(["kong-ui-app-layout", [
1928
- { "navbar-hidden": y.hidden },
1929
- { "sidebar-hidden": g.hidden }
1927
+ { "navbar-hidden": v.hidden },
1928
+ { "sidebar-hidden": m.hidden }
1930
1929
  ]])
1931
1930
  }, [
1932
- O("div", ci, [
1933
- I($.$slots, "notification", {}, void 0, !0)
1931
+ I("div", ci, [
1932
+ S(O.$slots, "notification", {}, void 0, !0)
1934
1933
  ]),
1935
- y.hidden ? C("", !0) : (p(), X(er, {
1936
- key: String(g.hidden),
1937
- "left-offset": g.hidden ? 0 : void 0,
1938
- "top-offset": x.value
1939
- }, Ze({
1940
- "mobile-sidebar-toggle": R(() => [
1941
- g.hidden ? C("", !0) : (p(), X(ti, {
1934
+ v.hidden ? C("", !0) : (p(), Y(er, {
1935
+ key: String(m.hidden),
1936
+ "left-offset": m.hidden ? 0 : void 0,
1937
+ "top-offset": y.value
1938
+ }, Ke({
1939
+ "mobile-sidebar-toggle": D(() => [
1940
+ m.hidden ? C("", !0) : (p(), Y(ti, {
1942
1941
  key: 0,
1943
- active: E.value,
1944
- onToggle: D
1942
+ active: A.value,
1943
+ onToggle: N
1945
1944
  }, null, 8, ["active"]))
1946
1945
  ]),
1947
1946
  _: 2
1948
1947
  }, [
1949
- o.navbarMobileLogo ? {
1948
+ u.navbarMobileLogo ? {
1950
1949
  name: "mobile-logo",
1951
- fn: R(() => [
1952
- O("div", li, [
1953
- I($.$slots, "navbar-mobile-logo", {}, void 0, !0)
1950
+ fn: D(() => [
1951
+ I("div", li, [
1952
+ S(O.$slots, "navbar-mobile-logo", {}, void 0, !0)
1954
1953
  ])
1955
1954
  ]),
1956
1955
  key: "0"
1957
1956
  } : void 0,
1958
- o.navbarLogo ? {
1957
+ u.navbarLogo ? {
1959
1958
  name: "logo",
1960
- fn: R(() => [
1961
- g.hidden ? (p(), w("div", ui, [
1962
- I($.$slots, "navbar-logo", {}, void 0, !0)
1959
+ fn: D(() => [
1960
+ m.hidden ? (p(), w("div", ui, [
1961
+ S(O.$slots, "navbar-logo", {}, void 0, !0)
1963
1962
  ])) : C("", !0)
1964
1963
  ]),
1965
1964
  key: "1"
1966
1965
  } : void 0,
1967
- o.navbarLeft ? {
1966
+ u.navbarLeft ? {
1968
1967
  name: "left",
1969
- fn: R(() => [
1970
- I($.$slots, "navbar-left", {}, void 0, !0)
1968
+ fn: D(() => [
1969
+ S(O.$slots, "navbar-left", {}, void 0, !0)
1971
1970
  ]),
1972
1971
  key: "2"
1973
1972
  } : void 0,
1974
- o.navbarCenter ? {
1973
+ u.navbarCenter ? {
1975
1974
  name: "center",
1976
- fn: R(() => [
1977
- I($.$slots, "navbar-center", {}, void 0, !0)
1975
+ fn: D(() => [
1976
+ S(O.$slots, "navbar-center", {}, void 0, !0)
1978
1977
  ]),
1979
1978
  key: "3"
1980
1979
  } : void 0,
1981
- o.navbarRight ? {
1980
+ u.navbarRight ? {
1982
1981
  name: "right",
1983
- fn: R(() => [
1984
- I($.$slots, "navbar-right", {}, void 0, !0)
1982
+ fn: D(() => [
1983
+ S(O.$slots, "navbar-right", {}, void 0, !0)
1985
1984
  ]),
1986
1985
  key: "4"
1987
1986
  } : void 0
1988
1987
  ]), 1032, ["left-offset", "top-offset"])),
1989
- g.hidden ? C("", !0) : (p(), X(Jr, {
1988
+ m.hidden ? C("", !0) : (p(), Y(Jr, {
1990
1989
  key: 1,
1991
- "bottom-items": g.bottomItems,
1992
- "header-height": S.value,
1990
+ "bottom-items": m.bottomItems,
1991
+ "header-height": R.value,
1993
1992
  "mobile-enabled": "",
1994
1993
  "mobile-header-visible": !1,
1995
- "mobile-top-offset": z.value,
1996
- open: E.value,
1997
- "top-items": g.topItems,
1998
- "top-offset": x.value,
1999
- onClick: F,
2000
- onToggle: D
2001
- }, Ze({ _: 2 }, [
2002
- o.sidebarHeader ? {
1994
+ "mobile-top-offset": M.value,
1995
+ open: A.value,
1996
+ "top-items": m.topItems,
1997
+ "top-offset": y.value,
1998
+ onClick: _,
1999
+ onToggle: N
2000
+ }, Ke({ _: 2 }, [
2001
+ u.sidebarHeader ? {
2003
2002
  name: "header",
2004
- fn: R(() => [
2005
- I($.$slots, "sidebar-header", {}, void 0, !0)
2003
+ fn: D(() => [
2004
+ S(O.$slots, "sidebar-header", {}, void 0, !0)
2006
2005
  ]),
2007
2006
  key: "0"
2008
2007
  } : void 0,
2009
- o.sidebarTop ? {
2008
+ u.sidebarTop ? {
2010
2009
  name: "top",
2011
- fn: R(() => [
2012
- I($.$slots, "sidebar-top", {}, void 0, !0)
2010
+ fn: D(() => [
2011
+ S(O.$slots, "sidebar-top", {}, void 0, !0)
2013
2012
  ]),
2014
2013
  key: "1"
2015
2014
  } : void 0,
2016
- o.sidebarFooter ? {
2015
+ u.sidebarFooter ? {
2017
2016
  name: "footer",
2018
- fn: R(() => [
2019
- I($.$slots, "sidebar-footer", {}, void 0, !0)
2017
+ fn: D(() => [
2018
+ S(O.$slots, "sidebar-footer", {}, void 0, !0)
2020
2019
  ]),
2021
2020
  key: "2"
2022
2021
  } : void 0,
2023
- Te([...g.topItems || [], ...g.bottomItems || []], (_) => ({
2024
- name: `sidebar-icon-${_.key}`,
2025
- fn: R(() => [
2026
- I($.$slots, `sidebar-icon-${_.key}`, {}, void 0, !0)
2022
+ Te([...m.topItems || [], ...m.bottomItems || []], (U) => ({
2023
+ name: `sidebar-icon-${U.key}`,
2024
+ fn: D(() => [
2025
+ S(O.$slots, `sidebar-icon-${U.key}`, {}, void 0, !0)
2027
2026
  ])
2028
2027
  }))
2029
2028
  ]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
2030
- O("main", di, [
2031
- O("div", fi, [
2032
- O("div", vi, [
2033
- B[0] || (B[0] = O("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)),
2034
- I($.$slots, "app-error", {}, void 0, !0),
2035
- v.value ? C("", !0) : I($.$slots, "default", { key: 0 }, void 0, !0)
2029
+ I("main", di, [
2030
+ I("div", fi, [
2031
+ I("div", vi, [
2032
+ P[0] || (P[0] = I("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)),
2033
+ S(O.$slots, "app-error", {}, void 0, !0),
2034
+ o.value ? C("", !0) : S(O.$slots, "default", { key: 0 }, void 0, !0)
2036
2035
  ])
2037
2036
  ])
2038
2037
  ])
2039
2038
  ], 2));
2040
2039
  }
2041
- }), hi = /* @__PURE__ */ te(bi, [["__scopeId", "data-v-15a40b60"]]), pi = { class: "kong-ui-app-page-header" }, mi = {
2040
+ }), hi = /* @__PURE__ */ ae(bi, [["__scopeId", "data-v-8e8c270a"]]), pi = { class: "kong-ui-app-page-header" }, mi = {
2042
2041
  key: 0,
2043
2042
  class: "page-header-breadcrumbs",
2044
2043
  "data-testid": "page-header-breadcrumbs"
@@ -2058,7 +2057,7 @@ const Kr = /* @__PURE__ */ jr(Zr), Hr = {
2058
2057
  key: 1,
2059
2058
  class: "page-header-section-below",
2060
2059
  "data-testid": "page-header-section-below"
2061
- }, Ii = /* @__PURE__ */ ee({
2060
+ }, Ii = /* @__PURE__ */ te({
2062
2061
  __name: "AppPageHeader",
2063
2062
  props: {
2064
2063
  title: {
@@ -2075,7 +2074,7 @@ const Kr = /* @__PURE__ */ jr(Zr), Hr = {
2075
2074
  const t = n, r = Ge(), a = k(() => {
2076
2075
  var u;
2077
2076
  return !!((u = t.breadcrumbs) != null && u.length);
2078
- }), l = k(() => Object.keys(r).filter((u) => u.startsWith("icon-")));
2077
+ }), c = k(() => Object.keys(r).filter((u) => u.startsWith("icon-")));
2079
2078
  return (u, o) => {
2080
2079
  const v = he("KBreadcrumbs");
2081
2080
  return p(), w("div", pi, [
@@ -2083,40 +2082,40 @@ const Kr = /* @__PURE__ */ jr(Zr), Hr = {
2083
2082
  Ne(v, {
2084
2083
  "item-max-width": "150",
2085
2084
  items: n.breadcrumbs
2086
- }, Ze({ _: 2 }, [
2087
- Te(l.value, (y) => ({
2088
- name: y,
2089
- fn: R(() => [
2090
- I(u.$slots, y, {}, void 0, !0)
2085
+ }, Ke({ _: 2 }, [
2086
+ Te(c.value, (m) => ({
2087
+ name: m,
2088
+ fn: D(() => [
2089
+ S(u.$slots, m, {}, void 0, !0)
2091
2090
  ])
2092
2091
  }))
2093
2092
  ]), 1032, ["items"])
2094
2093
  ])) : C("", !0),
2095
- O("div", gi, [
2096
- O("div", yi, [
2094
+ I("div", gi, [
2095
+ I("div", yi, [
2097
2096
  u.$slots["title-before"] ? (p(), w("div", wi, [
2098
- I(u.$slots, "title-before", {}, void 0, !0)
2097
+ S(u.$slots, "title-before", {}, void 0, !0)
2099
2098
  ])) : C("", !0),
2100
- O("h1", {
2099
+ I("h1", {
2101
2100
  class: "page-header-title",
2102
2101
  "data-testid": "page-header-title",
2103
2102
  title: n.title
2104
- }, q(n.title), 9, ki),
2103
+ }, X(n.title), 9, ki),
2105
2104
  u.$slots["title-after"] ? (p(), w("div", Ti, [
2106
- I(u.$slots, "title-after", {}, void 0, !0)
2105
+ S(u.$slots, "title-after", {}, void 0, !0)
2107
2106
  ])) : C("", !0)
2108
2107
  ]),
2109
2108
  u.$slots.actions ? (p(), w("div", Si, [
2110
- I(u.$slots, "actions", {}, void 0, !0)
2109
+ S(u.$slots, "actions", {}, void 0, !0)
2111
2110
  ])) : C("", !0)
2112
2111
  ]),
2113
2112
  u.$slots.below ? (p(), w("div", _i, [
2114
- I(u.$slots, "below", {}, void 0, !0)
2113
+ S(u.$slots, "below", {}, void 0, !0)
2115
2114
  ])) : C("", !0)
2116
2115
  ]);
2117
2116
  };
2118
2117
  }
2119
- }), Ni = /* @__PURE__ */ te(Ii, [["__scopeId", "data-v-204b7f98"]]), Ai = {
2118
+ }), Ni = /* @__PURE__ */ ae(Ii, [["__scopeId", "data-v-204b7f98"]]), Ai = {
2120
2119
  // Customize Vue plugin options as desired
2121
2120
  // Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
2122
2121
  install: (n, t = {}) => {