@pubinfo/core 2.0.10 → 2.0.11

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.
Files changed (35) hide show
  1. package/dist/{AppSetting-BSoYpkRZ.js → AppSetting-CMpNBlQc.js} +15 -15
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CAa3EMSp.js → HCheckList.vue_vue_type_script_setup_true_lang-C6P1ydHt.js} +1 -1
  3. package/dist/{HToggle-BzVR0bLl.js → HToggle-CHtRZAou.js} +1 -1
  4. package/dist/HeaderThinMenu-Moc7VP7Y.js +4 -0
  5. package/dist/{PreferencesContent-C0Irwod9.js → PreferencesContent-DIXXC38B.js} +4 -4
  6. package/dist/{SettingBreadcrumb-FxiCGBqR.js → SettingBreadcrumb-BjB0GM9T.js} +3 -3
  7. package/dist/{SettingCopyright-EGGRbHFG.js → SettingCopyright-CuFMDBfS.js} +2 -2
  8. package/dist/{SettingEnableTransition-BHKBM1uO.js → SettingEnableTransition-D3EtQLgG.js} +2 -2
  9. package/dist/{SettingHome-BB1ls5yd.js → SettingHome-BKlvF3WY.js} +2 -2
  10. package/dist/{SettingMenu-DCvlAmwH.js → SettingMenu-BkStOtR-.js} +3 -3
  11. package/dist/{SettingMode-syols6sY.js → SettingMode-BS9Wy6Mz.js} +1 -1
  12. package/dist/{SettingNavSearch-Ddd1meDS.js → SettingNavSearch-SaawGh7a.js} +2 -2
  13. package/dist/{SettingOther-BTPdri49.js → SettingOther-CAT38ecY.js} +2 -2
  14. package/dist/{SettingPage-CxrIsUsX.js → SettingPage-BAfP9dqM.js} +2 -2
  15. package/dist/{SettingTabbar-C922bBUd.js → SettingTabbar-Ysqa0n6W.js} +3 -3
  16. package/dist/{SettingThemes-iIWQf5il.js → SettingThemes-CsZRq0SI.js} +1 -1
  17. package/dist/{SettingToolbar-tAwMrpIK.js → SettingToolbar-CD_RIfGa.js} +2 -2
  18. package/dist/{SettingTopbar-B2V5Iz54.js → SettingTopbar-BFFdv4Yb.js} +3 -3
  19. package/dist/{SettingWidthMode-4g2w8E_k.js → SettingWidthMode-BIUimDhl.js} +1 -1
  20. package/dist/{colors-DcNahOIw.js → colors-CaM5gI4b.js} +1 -1
  21. package/dist/index--uFimSjO.js +4 -0
  22. package/dist/{index-CKa-pYMj.js → index-Bgv7RWxh.js} +2 -2
  23. package/dist/{index-CfmJOkc2.js → index-C9GkmLho.js} +942 -932
  24. package/dist/{index-1S8d_H5N.js → index-CSVmA2GR.js} +2 -2
  25. package/dist/{index-rsEQ6CYG.js → index-C_s8Qt78.js} +4 -4
  26. package/dist/{index-DZoZssaF.js → index-Cv6Xl5EV.js} +1 -1
  27. package/dist/{index-DdpFFd2P.js → index-DWjWJWRj.js} +2 -2
  28. package/dist/{index-DlaLC65A.js → index-lnxCi5Hk.js} +1 -1
  29. package/dist/{index-Cjb0FUf5.js → index-pQQjVA76.js} +2 -2
  30. package/dist/index.js +1 -1
  31. package/dist/{pick-BkKVNeiK.js → pick-DQM9Mp68.js} +1 -1
  32. package/package.json +5 -5
  33. package/src/features/stores/modules/route.ts +23 -1
  34. package/dist/HeaderThinMenu-DYB6NE31.js +0 -4
  35. package/dist/index-C-duTBTb.js +0 -4
@@ -1,6 +1,6 @@
1
1
  import { defineStore as ra, createPinia as BU } from "pinia";
2
2
  import * as kw from "vue";
3
- import { ref as Y, computed as q, toRaw as Oi, watch as le, getCurrentInstance as aa, hasInjectionContext as wF, inject as ye, getCurrentScope as kF, onScopeDispose as OF, isRef as ia, shallowRef as ue, onMounted as je, nextTick as wt, shallowReadonly as NU, toValue as xt, watchEffect as Ge, unref as O, reactive as It, createApp as r4, h as He, defineComponent as ee, createVNode as d, Fragment as ge, isVNode as Yi, Comment as zF, Text as jF, provide as qe, onBeforeUnmount as Rt, triggerRef as IU, cloneVNode as a4, render as fr, onBeforeMount as RU, onUpdated as i4, Teleport as Ra, Transition as hn, onUnmounted as kt, TransitionGroup as Xi, withDirectives as Un, vShow as mr, useSlots as Qi, createElementBlock as U, openBlock as A, createElementVNode as B, createCommentVNode as oe, renderSlot as fe, createTextVNode as be, toDisplayString as he, createBlock as ae, resolveDynamicComponent as es, mergeProps as At, withCtx as te, normalizeClass as de, normalizeStyle as Dn, markRaw as Ae, mergeModels as UU, useModel as Ow, renderList as dt, resolveComponent as St, normalizeProps as Ps, guardReactiveProps as $s, createStaticVNode as WU, defineAsyncComponent as ts, KeepAlive as GU, toRefs as Ua, watchPostEffect as YU, onBeforeUpdate as xF, withModifiers as cn, withKeys as jo, vModelText as XU, toHandlers as QU, createSlots as SF, useCssVars as ZU, pushScopeId as JU, popScopeId as KU, withScopeId as eW, toRef as tW, readonly as nW, customRef as rW } from "vue";
3
+ import { ref as Y, computed as L, toRaw as Oi, watch as le, getCurrentInstance as aa, hasInjectionContext as wF, inject as ye, getCurrentScope as kF, onScopeDispose as OF, isRef as ia, shallowRef as ue, onMounted as je, nextTick as wt, shallowReadonly as NU, toValue as xt, watchEffect as Ge, unref as O, reactive as It, createApp as r4, h as He, defineComponent as ee, createVNode as d, Fragment as ge, isVNode as Yi, Comment as zF, Text as jF, provide as qe, onBeforeUnmount as Rt, triggerRef as IU, cloneVNode as a4, render as fr, onBeforeMount as RU, onUpdated as i4, Teleport as Ra, Transition as hn, onUnmounted as kt, TransitionGroup as Xi, withDirectives as Un, vShow as mr, useSlots as Qi, createElementBlock as U, openBlock as A, createElementVNode as B, createCommentVNode as oe, renderSlot as fe, createTextVNode as be, toDisplayString as he, createBlock as ae, resolveDynamicComponent as es, mergeProps as At, withCtx as te, normalizeClass as de, normalizeStyle as Dn, markRaw as Ae, mergeModels as UU, useModel as Ow, renderList as dt, resolveComponent as St, normalizeProps as Ps, guardReactiveProps as $s, createStaticVNode as WU, defineAsyncComponent as ts, KeepAlive as GU, toRefs as Ua, watchPostEffect as YU, onBeforeUpdate as xF, withModifiers as cn, withKeys as jo, vModelText as XU, toHandlers as QU, createSlots as SF, useCssVars as ZU, pushScopeId as JU, popScopeId as KU, withScopeId as eW, toRef as tW, readonly as nW, customRef as rW } from "vue";
4
4
  import { createRouter as aW, createWebHashHistory as iW, useRoute as Ut, useRouter as $n } from "vue-router";
5
5
  import { createAlova as oW } from "alova";
6
6
  import sW from "alova/vue";
@@ -1469,7 +1469,7 @@ function print() { __p += __j.call(arguments, '') }
1469
1469
  const j4 = ra(
1470
1470
  pn.IFRAME,
1471
1471
  () => {
1472
- const t = Y(!1), e = Y([]), n = Y([]), r = q(() => e.value.filter((l) => l.isOpen));
1472
+ const t = Y(!1), e = Y([]), n = Y([]), r = L(() => e.value.filter((l) => l.isOpen));
1473
1473
  async function a(l, c) {
1474
1474
  for (const u of l)
1475
1475
  u.meta.iframe && !u.meta.link && (_s(u.meta.iframe) && (u.meta.iframe = await u.meta.iframe(Oi(c))), e.value.push({
@@ -1971,7 +1971,7 @@ function to(t, e) {
1971
1971
  const bJ = to(), MFe = to(), qo = to(), TFe = to(), HFe = to(), AFe = to();
1972
1972
  function EFe() {
1973
1973
  const t = Wt();
1974
- return { isDark: q({
1974
+ return { isDark: L({
1975
1975
  get() {
1976
1976
  return t.settings.app.colorScheme === "dark";
1977
1977
  },
@@ -2147,7 +2147,7 @@ function SJ(t, e, n) {
2147
2147
  } finally {
2148
2148
  s && m === h && (s.value = !1), p = !0;
2149
2149
  }
2150
- }, { flush: o }), i ? q(() => (u.value = !0, f.value)) : f;
2150
+ }, { flush: o }), i ? L(() => (u.value = !0, f.value)) : f;
2151
2151
  }
2152
2152
  const Za = ou ? window : void 0, PJ = ou ? window.document : void 0, fV = ou ? window.navigator : void 0;
2153
2153
  function Ln(t) {
@@ -2158,7 +2158,7 @@ function Ln(t) {
2158
2158
  function Pr(...t) {
2159
2159
  const e = [], n = () => {
2160
2160
  e.forEach((s) => s()), e.length = 0;
2161
- }, r = (s, l, c, u) => (s.addEventListener(l, c, u), () => s.removeEventListener(l, c, u)), a = q(() => {
2161
+ }, r = (s, l, c, u) => (s.addEventListener(l, c, u), () => s.removeEventListener(l, c, u)), a = L(() => {
2162
2162
  const s = Do(xt(t[0])).filter((l) => l != null);
2163
2163
  return s.every((l) => typeof l != "string") ? s : void 0;
2164
2164
  }), i = xJ(
@@ -2200,14 +2200,14 @@ function $J() {
2200
2200
  // @__NO_SIDE_EFFECTS__
2201
2201
  function no(t) {
2202
2202
  const e = /* @__PURE__ */ $J();
2203
- return q(() => (e.value, !!t()));
2203
+ return L(() => (e.value, !!t()));
2204
2204
  }
2205
2205
  function _J(t, e, n = {}) {
2206
2206
  const { window: r = Za, ...a } = n;
2207
2207
  let i;
2208
2208
  const o = /* @__PURE__ */ no(() => r && "MutationObserver" in r), s = () => {
2209
2209
  i && (i.disconnect(), i = void 0);
2210
- }, l = q(() => {
2210
+ }, l = L(() => {
2211
2211
  const h = xt(t), g = Do(h).map(Ln).filter(wJ);
2212
2212
  return new Set(g);
2213
2213
  }), c = le(
@@ -2247,7 +2247,7 @@ function TJ(t, e = {}) {
2247
2247
  return;
2248
2248
  }
2249
2249
  a.value && (o.value = n.matchMedia(xt(t)), s.value = o.value.matches);
2250
- }), Pr(o, "change", l, { passive: !0 }), q(() => s.value);
2250
+ }), Pr(o, "change", l, { passive: !0 }), L(() => s.value);
2251
2251
  }
2252
2252
  // @__NO_SIDE_EFFECTS__
2253
2253
  function lk(t, e = {}) {
@@ -2286,7 +2286,7 @@ function HJ(t = {}) {
2286
2286
  source: r,
2287
2287
  copiedDuring: a = 1500,
2288
2288
  legacy: i = !1
2289
- } = t, o = /* @__PURE__ */ no(() => e && "clipboard" in e), s = /* @__PURE__ */ lk("clipboard-read"), l = /* @__PURE__ */ lk("clipboard-write"), c = q(() => o.value || i), u = ue(""), f = ue(!1), h = qd(() => f.value = !1, a, { immediate: !1 });
2289
+ } = t, o = /* @__PURE__ */ no(() => e && "clipboard" in e), s = /* @__PURE__ */ lk("clipboard-read"), l = /* @__PURE__ */ lk("clipboard-write"), c = L(() => o.value || i), u = ue(""), f = ue(!1), h = qd(() => f.value = !1, a, { immediate: !1 });
2290
2290
  async function g() {
2291
2291
  let w = !(o.value && y(s.value));
2292
2292
  if (!w)
@@ -2333,7 +2333,7 @@ function AJ(t) {
2333
2333
  return TJ("(prefers-color-scheme: dark)", t);
2334
2334
  }
2335
2335
  function ck(t, e, n = {}) {
2336
- const { window: r = Za, initialValue: a, observe: i = !1 } = n, o = ue(a), s = q(() => {
2336
+ const { window: r = Za, initialValue: a, observe: i = !1 } = n, o = ue(a), s = L(() => {
2337
2337
  var c;
2338
2338
  return Ln(e) || ((c = r?.document) == null ? void 0 : c.documentElement);
2339
2339
  });
@@ -2368,7 +2368,7 @@ function EJ(t, e, n = {}) {
2368
2368
  let i;
2369
2369
  const o = /* @__PURE__ */ no(() => r && "ResizeObserver" in r), s = () => {
2370
2370
  i && (i.disconnect(), i = void 0);
2371
- }, l = q(() => {
2371
+ }, l = L(() => {
2372
2372
  const f = xt(t);
2373
2373
  return Array.isArray(f) ? f.map((h) => Ln(h)) : [Ln(f)];
2374
2374
  }), c = le(
@@ -2390,7 +2390,7 @@ function EJ(t, e, n = {}) {
2390
2390
  };
2391
2391
  }
2392
2392
  function qJ(t, e = { width: 0, height: 0 }, n = {}) {
2393
- const { window: r = Za, box: a = "content-box" } = n, i = q(() => {
2393
+ const { window: r = Za, box: a = "content-box" } = n, i = L(() => {
2394
2394
  var f, h;
2395
2395
  return (h = (f = Ln(t)) == null ? void 0 : f.namespaceURI) == null ? void 0 : h.includes("svg");
2396
2396
  }), o = ue(e.width), s = ue(e.height), { stop: l } = EJ(
@@ -2441,10 +2441,10 @@ function DJ(t, e = {}) {
2441
2441
  const {
2442
2442
  document: n = PJ,
2443
2443
  autoExit: r = !1
2444
- } = e, a = q(() => {
2444
+ } = e, a = L(() => {
2445
2445
  var w;
2446
2446
  return (w = Ln(t)) != null ? w : n?.documentElement;
2447
- }), i = ue(!1), o = q(() => [
2447
+ }), i = ue(!1), o = L(() => [
2448
2448
  "requestFullscreen",
2449
2449
  "webkitRequestFullscreen",
2450
2450
  "webkitEnterFullscreen",
@@ -2452,14 +2452,14 @@ function DJ(t, e = {}) {
2452
2452
  "webkitRequestFullScreen",
2453
2453
  "mozRequestFullScreen",
2454
2454
  "msRequestFullscreen"
2455
- ].find((w) => n && w in n || a.value && w in a.value)), s = q(() => [
2455
+ ].find((w) => n && w in n || a.value && w in a.value)), s = L(() => [
2456
2456
  "exitFullscreen",
2457
2457
  "webkitExitFullscreen",
2458
2458
  "webkitExitFullScreen",
2459
2459
  "webkitCancelFullScreen",
2460
2460
  "mozCancelFullScreen",
2461
2461
  "msExitFullscreen"
2462
- ].find((w) => n && w in n || a.value && w in a.value)), l = q(() => [
2462
+ ].find((w) => n && w in n || a.value && w in a.value)), l = L(() => [
2463
2463
  "fullScreen",
2464
2464
  "webkitIsFullScreen",
2465
2465
  "webkitDisplayingFullscreen",
@@ -2573,7 +2573,7 @@ function FJ(t = {}) {
2573
2573
  if (y = y.toLowerCase(), y in r && (y = r[y]), !(y in l))
2574
2574
  if (/[+_-]/.test(y)) {
2575
2575
  const j = y.split(/[+_-]/g).map((S) => S.trim());
2576
- l[y] = q(() => j.map((S) => xt(p[S])).every(Boolean));
2576
+ l[y] = L(() => j.map((S) => xt(p[S])).every(Boolean));
2577
2577
  } else
2578
2578
  l[y] = ue(!1);
2579
2579
  const z = Reflect.get(v, y, w);
@@ -2618,33 +2618,33 @@ function VJ() {
2618
2618
  for (T += P[$]; r.test(P[++$]); )
2619
2619
  T += P[$];
2620
2620
  else if (P[$] === '"') {
2621
- let E = $;
2621
+ let q = $;
2622
2622
  for (; $ < P.length; ) {
2623
2623
  if (P[++$] === '"') {
2624
- $++, E = 0;
2624
+ $++, q = 0;
2625
2625
  break;
2626
2626
  }
2627
2627
  P[$] === "\\" ? T += P[++$] : T += P[$];
2628
2628
  }
2629
- if (E)
2630
- throw new TypeError(`Unterminated quote at ${E}: ${a}`);
2629
+ if (q)
2630
+ throw new TypeError(`Unterminated quote at ${q}: ${a}`);
2631
2631
  }
2632
2632
  if (!T)
2633
2633
  throw new TypeError(`Missing parameter name at ${$}: ${a}`);
2634
2634
  return T;
2635
2635
  }
2636
2636
  for (; $ < P.length; ) {
2637
- const T = P[$], E = i[T];
2638
- if (E)
2639
- yield { type: E, index: $++, value: T };
2637
+ const T = P[$], q = i[T];
2638
+ if (q)
2639
+ yield { type: q, index: $++, value: T };
2640
2640
  else if (T === "\\")
2641
2641
  yield { type: "ESCAPED", index: $++, value: P[$++] };
2642
2642
  else if (T === ":") {
2643
- const L = C();
2644
- yield { type: "PARAM", index: $, value: L };
2643
+ const D = C();
2644
+ yield { type: "PARAM", index: $, value: D };
2645
2645
  } else if (T === "*") {
2646
- const L = C();
2647
- yield { type: "WILDCARD", index: $, value: L };
2646
+ const D = C();
2647
+ yield { type: "WILDCARD", index: $, value: D };
2648
2648
  } else
2649
2649
  yield { type: "CHAR", index: $, value: P[$++] };
2650
2650
  }
@@ -2688,44 +2688,44 @@ function VJ() {
2688
2688
  Zn.TokenData = u;
2689
2689
  function f(k, P = {}) {
2690
2690
  const { encodePath: $ = e } = P, C = new c(l(k));
2691
- function T(L) {
2692
- const D = [];
2691
+ function T(D) {
2692
+ const E = [];
2693
2693
  for (; ; ) {
2694
2694
  const _ = C.text();
2695
- _ && D.push({ type: "text", value: $(_) });
2695
+ _ && E.push({ type: "text", value: $(_) });
2696
2696
  const M = C.tryConsume("PARAM");
2697
2697
  if (M) {
2698
- D.push({
2698
+ E.push({
2699
2699
  type: "param",
2700
2700
  name: M
2701
2701
  });
2702
2702
  continue;
2703
2703
  }
2704
- const I = C.tryConsume("WILDCARD");
2705
- if (I) {
2706
- D.push({
2704
+ const N = C.tryConsume("WILDCARD");
2705
+ if (N) {
2706
+ E.push({
2707
2707
  type: "wildcard",
2708
- name: I
2708
+ name: N
2709
2709
  });
2710
2710
  continue;
2711
2711
  }
2712
2712
  if (C.tryConsume("{")) {
2713
- D.push({
2713
+ E.push({
2714
2714
  type: "group",
2715
2715
  tokens: T("}")
2716
2716
  });
2717
2717
  continue;
2718
2718
  }
2719
- return C.consume(L), D;
2719
+ return C.consume(D), E;
2720
2720
  }
2721
2721
  }
2722
- const E = T("END");
2723
- return new u(E);
2722
+ const q = T("END");
2723
+ return new u(q);
2724
2724
  }
2725
2725
  function h(k, P = {}) {
2726
- const { encode: $ = encodeURIComponent, delimiter: C = t } = P, T = k instanceof u ? k : f(k, P), E = g(T.tokens, C, $);
2727
- return function(D = {}) {
2728
- const [_, ...M] = E(D);
2726
+ const { encode: $ = encodeURIComponent, delimiter: C = t } = P, T = k instanceof u ? k : f(k, P), q = g(T.tokens, C, $);
2727
+ return function(E = {}) {
2728
+ const [_, ...M] = q(E);
2729
2729
  if (M.length)
2730
2730
  throw new TypeError(`Missing parameters: ${M.join(", ")}`);
2731
2731
  return _;
@@ -2734,12 +2734,12 @@ function VJ() {
2734
2734
  function g(k, P, $) {
2735
2735
  const C = k.map((T) => m(T, P, $));
2736
2736
  return (T) => {
2737
- const E = [""];
2738
- for (const L of C) {
2739
- const [D, ..._] = L(T);
2740
- E[0] += D, E.push(..._);
2737
+ const q = [""];
2738
+ for (const D of C) {
2739
+ const [E, ..._] = D(T);
2740
+ q[0] += E, q.push(..._);
2741
2741
  }
2742
- return E;
2742
+ return q;
2743
2743
  };
2744
2744
  }
2745
2745
  function m(k, P, $) {
@@ -2747,59 +2747,59 @@ function VJ() {
2747
2747
  return () => [k.value];
2748
2748
  if (k.type === "group") {
2749
2749
  const T = g(k.tokens, P, $);
2750
- return (E) => {
2751
- const [L, ...D] = T(E);
2752
- return D.length ? [""] : [L];
2750
+ return (q) => {
2751
+ const [D, ...E] = T(q);
2752
+ return E.length ? [""] : [D];
2753
2753
  };
2754
2754
  }
2755
2755
  const C = $ || e;
2756
2756
  return k.type === "wildcard" && $ !== !1 ? (T) => {
2757
- const E = T[k.name];
2758
- if (E == null)
2757
+ const q = T[k.name];
2758
+ if (q == null)
2759
2759
  return ["", k.name];
2760
- if (!Array.isArray(E) || E.length === 0)
2760
+ if (!Array.isArray(q) || q.length === 0)
2761
2761
  throw new TypeError(`Expected "${k.name}" to be a non-empty array`);
2762
2762
  return [
2763
- E.map((L, D) => {
2764
- if (typeof L != "string")
2765
- throw new TypeError(`Expected "${k.name}/${D}" to be a string`);
2766
- return C(L);
2763
+ q.map((D, E) => {
2764
+ if (typeof D != "string")
2765
+ throw new TypeError(`Expected "${k.name}/${E}" to be a string`);
2766
+ return C(D);
2767
2767
  }).join(P)
2768
2768
  ];
2769
2769
  } : (T) => {
2770
- const E = T[k.name];
2771
- if (E == null)
2770
+ const q = T[k.name];
2771
+ if (q == null)
2772
2772
  return ["", k.name];
2773
- if (typeof E != "string")
2773
+ if (typeof q != "string")
2774
2774
  throw new TypeError(`Expected "${k.name}" to be a string`);
2775
- return [C(E)];
2775
+ return [C(q)];
2776
2776
  };
2777
2777
  }
2778
2778
  function p(k, P = {}) {
2779
- const { decode: $ = decodeURIComponent, delimiter: C = t } = P, { regexp: T, keys: E } = v(k, P), L = E.map((D) => $ === !1 ? e : D.type === "param" ? $ : (_) => _.split(C).map($));
2779
+ const { decode: $ = decodeURIComponent, delimiter: C = t } = P, { regexp: T, keys: q } = v(k, P), D = q.map((E) => $ === !1 ? e : E.type === "param" ? $ : (_) => _.split(C).map($));
2780
2780
  return function(_) {
2781
2781
  const M = T.exec(_);
2782
2782
  if (!M)
2783
2783
  return !1;
2784
- const I = M[0], W = /* @__PURE__ */ Object.create(null);
2784
+ const N = M[0], W = /* @__PURE__ */ Object.create(null);
2785
2785
  for (let G = 1; G < M.length; G++) {
2786
2786
  if (M[G] === void 0)
2787
2787
  continue;
2788
- const J = E[G - 1], Q = L[G - 1];
2788
+ const J = q[G - 1], Q = D[G - 1];
2789
2789
  W[J.name] = Q(M[G]);
2790
2790
  }
2791
- return { path: I, params: W };
2791
+ return { path: N, params: W };
2792
2792
  };
2793
2793
  }
2794
2794
  function v(k, P = {}) {
2795
- const { delimiter: $ = t, end: C = !0, sensitive: T = !1, trailing: E = !0 } = P, L = [], D = [], _ = T ? "" : "i", I = (Array.isArray(k) ? k : [k]).map((J) => J instanceof u ? J : f(J, P));
2796
- for (const { tokens: J } of I)
2795
+ const { delimiter: $ = t, end: C = !0, sensitive: T = !1, trailing: q = !0 } = P, D = [], E = [], _ = T ? "" : "i", N = (Array.isArray(k) ? k : [k]).map((J) => J instanceof u ? J : f(J, P));
2796
+ for (const { tokens: J } of N)
2797
2797
  for (const Q of y(J, 0, [])) {
2798
- const V = w(Q, $, L);
2799
- D.push(V);
2798
+ const V = w(Q, $, D);
2799
+ E.push(V);
2800
2800
  }
2801
- let W = `^(?:${D.join("|")})`;
2802
- return E && (W += `(?:${s($)}$)?`), W += C ? "$" : `(?=${s($)}|$)`, { regexp: new RegExp(W, _), keys: L };
2801
+ let W = `^(?:${E.join("|")})`;
2802
+ return q && (W += `(?:${s($)}$)?`), W += C ? "$" : `(?=${s($)}|$)`, { regexp: new RegExp(W, _), keys: D };
2803
2803
  }
2804
2804
  function* y(k, P, $) {
2805
2805
  if (P === k.length)
@@ -2807,24 +2807,24 @@ function VJ() {
2807
2807
  const C = k[P];
2808
2808
  if (C.type === "group") {
2809
2809
  const T = $.slice();
2810
- for (const E of y(C.tokens, 0, T))
2811
- yield* y(k, P + 1, E);
2810
+ for (const q of y(C.tokens, 0, T))
2811
+ yield* y(k, P + 1, q);
2812
2812
  } else
2813
2813
  $.push(C);
2814
2814
  yield* y(k, P + 1, $);
2815
2815
  }
2816
2816
  function w(k, P, $) {
2817
- let C = "", T = "", E = !0;
2818
- for (let L = 0; L < k.length; L++) {
2819
- const D = k[L];
2820
- if (D.type === "text") {
2821
- C += s(D.value), T += D.value, E || (E = D.value.includes(P));
2817
+ let C = "", T = "", q = !0;
2818
+ for (let D = 0; D < k.length; D++) {
2819
+ const E = k[D];
2820
+ if (E.type === "text") {
2821
+ C += s(E.value), T += E.value, q || (q = E.value.includes(P));
2822
2822
  continue;
2823
2823
  }
2824
- if (D.type === "param" || D.type === "wildcard") {
2825
- if (!E && !T)
2826
- throw new TypeError(`Missing text after "${D.name}": ${a}`);
2827
- D.type === "param" ? C += `(${z(P, E ? "" : T)}+)` : C += "([\\s\\S]+)", $.push(D), T = "", E = !1;
2824
+ if (E.type === "param" || E.type === "wildcard") {
2825
+ if (!q && !T)
2826
+ throw new TypeError(`Missing text after "${E.name}": ${a}`);
2827
+ E.type === "param" ? C += `(${z(P, q ? "" : T)}+)` : C += "([\\s\\S]+)", $.push(E), T = "", q = !1;
2828
2828
  continue;
2829
2829
  }
2830
2830
  }
@@ -2839,11 +2839,11 @@ function VJ() {
2839
2839
  return o($.value);
2840
2840
  if ($.type === "group")
2841
2841
  return `{${$.tokens.map(P).join("")}}`;
2842
- const L = S($.name) && x(T[C + 1]) ? $.name : JSON.stringify($.name);
2842
+ const D = S($.name) && x(T[C + 1]) ? $.name : JSON.stringify($.name);
2843
2843
  if ($.type === "param")
2844
- return `:${L}`;
2844
+ return `:${D}`;
2845
2845
  if ($.type === "wildcard")
2846
- return `*${L}`;
2846
+ return `*${D}`;
2847
2847
  throw new TypeError(`Unexpected token: ${$}`);
2848
2848
  }).join("");
2849
2849
  }
@@ -5114,7 +5114,7 @@ const Il = [
5114
5114
  {
5115
5115
  path: "profile",
5116
5116
  name: "Profile",
5117
- component: () => import("./index-rsEQ6CYG.js"),
5117
+ component: () => import("./index-C_s8Qt78.js"),
5118
5118
  meta: {
5119
5119
  title: "个人中心",
5120
5120
  icon: "i-iconamoon-profile-duotone"
@@ -26073,7 +26073,7 @@ function Rke(t, e, n, r) {
26073
26073
  const a9 = "anticon", gB = Symbol("GlobalFormContextKey"), Uke = (t) => {
26074
26074
  qe(gB, t);
26075
26075
  }, bVe = () => ye(gB, {
26076
- validateMessages: q(() => {
26076
+ validateMessages: L(() => {
26077
26077
  })
26078
26078
  }), Wke = () => ({
26079
26079
  iconPrefixCls: String,
@@ -26128,12 +26128,12 @@ const a9 = "anticon", gB = Symbol("GlobalFormContextKey"), Uke = (t) => {
26128
26128
  wave: bt()
26129
26129
  }), i9 = Symbol("configProvider"), bB = {
26130
26130
  getPrefixCls: (t, e) => e || (t ? `ant-${t}` : "ant"),
26131
- iconPrefixCls: q(() => a9),
26132
- getPopupContainer: q(() => () => document.body),
26133
- direction: q(() => "ltr")
26131
+ iconPrefixCls: L(() => a9),
26132
+ getPopupContainer: L(() => () => document.body),
26133
+ direction: L(() => "ltr")
26134
26134
  }, ju = () => ye(i9, bB), Gke = (t) => qe(i9, t), vB = Symbol("DisabledContextKey"), o9 = () => ye(vB, Y(void 0)), Yke = (t) => {
26135
26135
  const e = o9();
26136
- return qe(vB, q(() => {
26136
+ return qe(vB, L(() => {
26137
26137
  var n;
26138
26138
  return (n = t.value) !== null && n !== void 0 ? n : e.value;
26139
26139
  })), t;
@@ -26347,7 +26347,7 @@ const a9 = "anticon", gB = Symbol("GlobalFormContextKey"), Uke = (t) => {
26347
26347
  let {
26348
26348
  slots: n
26349
26349
  } = e;
26350
- const r = ye("localeData", {}), a = q(() => {
26350
+ const r = ye("localeData", {}), a = L(() => {
26351
26351
  const {
26352
26352
  componentName: o = "global",
26353
26353
  defaultLocale: s
@@ -26355,7 +26355,7 @@ const a9 = "anticon", gB = Symbol("GlobalFormContextKey"), Uke = (t) => {
26355
26355
  antLocale: c
26356
26356
  } = r, u = o && c ? c[o] : {};
26357
26357
  return F(F({}, typeof l == "function" ? l() : l), u || {});
26358
- }), i = q(() => {
26358
+ }), i = L(() => {
26359
26359
  const {
26360
26360
  antLocale: o
26361
26361
  } = r, s = o && o.locale;
@@ -26371,7 +26371,7 @@ const a9 = "anticon", gB = Symbol("GlobalFormContextKey"), Uke = (t) => {
26371
26371
  });
26372
26372
  function s9(t, e, n) {
26373
26373
  const r = ye("localeData", {});
26374
- return [q(() => {
26374
+ return [L(() => {
26375
26375
  const {
26376
26376
  antLocale: i
26377
26377
  } = r, o = O(e) || Ba[t || "global"], s = t && i ? i[t] : {};
@@ -26790,8 +26790,8 @@ const zOe = (t, e, n, r) => {
26790
26790
  };
26791
26791
  function jOe(t, e) {
26792
26792
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Y({});
26793
- const r = xu(), a = q(() => F({}, ...e.value)), i = q(() => xc(a.value)), o = q(() => xc(n.value.override || Lq));
26794
- return jB("token", q(() => [n.value.salt || "", t.value.id, i.value, o.value]), () => {
26793
+ const r = xu(), a = L(() => F({}, ...e.value)), i = L(() => xc(a.value)), o = L(() => xc(n.value.override || Lq));
26794
+ return jB("token", L(() => [n.value.salt || "", t.value.id, i.value, o.value]), () => {
26795
26795
  const {
26796
26796
  salt: l = "",
26797
26797
  override: c = Lq,
@@ -27265,12 +27265,12 @@ const l2 = function(t) {
27265
27265
  h = F(F({}, h), C), f += `${k}${$}`;
27266
27266
  } else {
27267
27267
  let x = function(P, $) {
27268
- process.env.NODE_ENV !== "production" && (typeof S != "object" || !S?.[NB]) && [IOe, ROe, ...u].forEach((E) => E(P, $, {
27268
+ process.env.NODE_ENV !== "production" && (typeof S != "object" || !S?.[NB]) && [IOe, ROe, ...u].forEach((q) => q(P, $, {
27269
27269
  path: s,
27270
27270
  hashId: i,
27271
27271
  parentSelectors: a
27272
27272
  }));
27273
- const C = P.replace(/[A-Z]/g, (E) => `-${E.toLowerCase()}`);
27273
+ const C = P.replace(/[A-Z]/g, (q) => `-${q.toLowerCase()}`);
27274
27274
  let T = $;
27275
27275
  !xOe[P] && typeof T == "number" && T !== 0 && (T = `${T}px`), P === "animationName" && $?._keyframe && (g($), T = $.getName(i)), f += `${C}:${T};`;
27276
27276
  };
@@ -27293,7 +27293,7 @@ function ZOe(t, e) {
27293
27293
  return l9(`${t.join("%")}${e}`);
27294
27294
  }
27295
27295
  function c2(t, e) {
27296
- const n = xu(), r = q(() => t.value.token._tokenKey), a = q(() => [r.value, ...t.value.path]);
27296
+ const n = xu(), r = L(() => t.value.token._tokenKey), a = L(() => [r.value, ...t.value.path]);
27297
27297
  let i = Nq;
27298
27298
  return process.env.NODE_ENV !== "production" && n.value.mock !== void 0 && (i = n.value.mock === "client"), jB(
27299
27299
  "style",
@@ -27924,10 +27924,10 @@ const yVe = {
27924
27924
  });
27925
27925
  function da(t, e, n) {
27926
27926
  return (r) => {
27927
- const a = q(() => r?.value), [i, o, s] = Ls(), {
27927
+ const a = L(() => r?.value), [i, o, s] = Ls(), {
27928
27928
  getPrefixCls: l,
27929
27929
  iconPrefixCls: c
27930
- } = ju(), u = q(() => l()), f = q(() => ({
27930
+ } = ju(), u = L(() => l()), f = L(() => ({
27931
27931
  theme: i.value,
27932
27932
  token: o.value,
27933
27933
  hashId: s.value,
@@ -27937,7 +27937,7 @@ function da(t, e, n) {
27937
27937
  // Link
27938
27938
  "&": mze(o.value)
27939
27939
  }]);
27940
- const h = q(() => ({
27940
+ const h = L(() => ({
27941
27941
  theme: i.value,
27942
27942
  token: o.value,
27943
27943
  hashId: s.value,
@@ -28016,28 +28016,28 @@ const vze = TB(lze), GB = {
28016
28016
  let {
28017
28017
  slots: n
28018
28018
  } = e;
28019
- return yze(q(() => t.value)), () => {
28019
+ return yze(L(() => t.value)), () => {
28020
28020
  var r;
28021
28021
  return (r = n.default) === null || r === void 0 ? void 0 : r.call(n);
28022
28022
  };
28023
28023
  }
28024
28024
  });
28025
28025
  function Ls() {
28026
- const t = ye(YB, q(() => d2.value || GB)), e = q(() => `${JOe}-${t.value.hashed || ""}`), n = q(() => t.value.theme || vze), r = jOe(n, q(() => [_u, t.value.token]), q(() => ({
28026
+ const t = ye(YB, L(() => d2.value || GB)), e = L(() => `${JOe}-${t.value.hashed || ""}`), n = L(() => t.value.theme || vze), r = jOe(n, L(() => [_u, t.value.token]), L(() => ({
28027
28027
  salt: e.value,
28028
28028
  override: F({
28029
28029
  override: t.value.token
28030
28030
  }, t.value.components),
28031
28031
  formatToken: uze
28032
28032
  })));
28033
- return [n, q(() => r.value[0]), q(() => t.value.hashed ? r.value[1] : "")];
28033
+ return [n, L(() => r.value[0]), L(() => t.value.hashed ? r.value[1] : "")];
28034
28034
  }
28035
28035
  const f9 = ee({
28036
28036
  compatConfig: {
28037
28037
  MODE: 3
28038
28038
  },
28039
28039
  setup() {
28040
- const [, t] = Ls(), e = q(() => new Tt(t.value.colorBgBase).toHsl().l < 0.5 ? {
28040
+ const [, t] = Ls(), e = L(() => new Tt(t.value.colorBgBase).toHsl().l < 0.5 ? {
28041
28041
  opacity: 0.65
28042
28042
  } : {});
28043
28043
  return () => d("svg", {
@@ -28093,7 +28093,7 @@ const XB = ee({
28093
28093
  MODE: 3
28094
28094
  },
28095
28095
  setup() {
28096
- const [, t] = Ls(), e = q(() => {
28096
+ const [, t] = Ls(), e = L(() => {
28097
28097
  const {
28098
28098
  colorFill: n,
28099
28099
  colorFillTertiary: r,
@@ -28289,43 +28289,43 @@ function xze(t) {
28289
28289
  }
28290
28290
  const ZB = Symbol("SizeContextKey"), JB = () => ye(ZB, Y(void 0)), Sze = (t) => {
28291
28291
  const e = JB();
28292
- return qe(ZB, q(() => t.value || e.value)), t;
28292
+ return qe(ZB, L(() => t.value || e.value)), t;
28293
28293
  }, Xn = (t, e) => {
28294
28294
  const n = JB(), r = o9(), a = ye(i9, F(F({}, bB), {
28295
28295
  renderEmpty: (k) => He(QB, {
28296
28296
  componentName: k
28297
28297
  })
28298
- })), i = q(() => a.getPrefixCls(t, e.prefixCls)), o = q(() => {
28298
+ })), i = L(() => a.getPrefixCls(t, e.prefixCls)), o = L(() => {
28299
28299
  var k, P;
28300
28300
  return (k = e.direction) !== null && k !== void 0 ? k : (P = a.direction) === null || P === void 0 ? void 0 : P.value;
28301
- }), s = q(() => {
28301
+ }), s = L(() => {
28302
28302
  var k;
28303
28303
  return (k = e.iconPrefixCls) !== null && k !== void 0 ? k : a.iconPrefixCls.value;
28304
- }), l = q(() => a.getPrefixCls()), c = q(() => {
28304
+ }), l = L(() => a.getPrefixCls()), c = L(() => {
28305
28305
  var k;
28306
28306
  return (k = a.autoInsertSpaceInButton) === null || k === void 0 ? void 0 : k.value;
28307
- }), u = a.renderEmpty, f = a.space, h = a.pageHeader, g = a.form, m = q(() => {
28307
+ }), u = a.renderEmpty, f = a.space, h = a.pageHeader, g = a.form, m = L(() => {
28308
28308
  var k, P;
28309
28309
  return (k = e.getTargetContainer) !== null && k !== void 0 ? k : (P = a.getTargetContainer) === null || P === void 0 ? void 0 : P.value;
28310
- }), p = q(() => {
28310
+ }), p = L(() => {
28311
28311
  var k, P, $;
28312
28312
  return (P = (k = e.getContainer) !== null && k !== void 0 ? k : e.getPopupContainer) !== null && P !== void 0 ? P : ($ = a.getPopupContainer) === null || $ === void 0 ? void 0 : $.value;
28313
- }), v = q(() => {
28313
+ }), v = L(() => {
28314
28314
  var k, P;
28315
28315
  return (k = e.dropdownMatchSelectWidth) !== null && k !== void 0 ? k : (P = a.dropdownMatchSelectWidth) === null || P === void 0 ? void 0 : P.value;
28316
- }), y = q(() => {
28316
+ }), y = L(() => {
28317
28317
  var k;
28318
28318
  return (e.virtual === void 0 ? ((k = a.virtual) === null || k === void 0 ? void 0 : k.value) !== !1 : e.virtual !== !1) && v.value !== !1;
28319
- }), w = q(() => e.size || n.value), z = q(() => {
28319
+ }), w = L(() => e.size || n.value), z = L(() => {
28320
28320
  var k, P, $;
28321
28321
  return (k = e.autocomplete) !== null && k !== void 0 ? k : ($ = (P = a.input) === null || P === void 0 ? void 0 : P.value) === null || $ === void 0 ? void 0 : $.autocomplete;
28322
- }), j = q(() => {
28322
+ }), j = L(() => {
28323
28323
  var k;
28324
28324
  return (k = e.disabled) !== null && k !== void 0 ? k : r.value;
28325
- }), S = q(() => {
28325
+ }), S = L(() => {
28326
28326
  var k;
28327
28327
  return (k = e.csp) !== null && k !== void 0 ? k : a.csp;
28328
- }), x = q(() => {
28328
+ }), x = L(() => {
28329
28329
  var k, P;
28330
28330
  return (k = e.wave) !== null && k !== void 0 ? k : (P = a.wave) === null || P === void 0 ? void 0 : P.value;
28331
28331
  });
@@ -28477,7 +28477,7 @@ const zVe = (t) => t !== void 0 && (t === "topLeft" || t === "topRight") ? "slid
28477
28477
  };
28478
28478
  qe(aN, {
28479
28479
  inTriggerContext: e.inTriggerContext,
28480
- shouldRender: q(() => {
28480
+ shouldRender: L(() => {
28481
28481
  const {
28482
28482
  sPopupVisible: n,
28483
28483
  popupRef: r,
@@ -28493,11 +28493,11 @@ const zVe = (t) => t !== void 0 && (t === "topLeft" || t === "topRight") ? "slid
28493
28493
  inTriggerContext: !1
28494
28494
  });
28495
28495
  const t = ye(aN, {
28496
- shouldRender: q(() => !1),
28496
+ shouldRender: L(() => !1),
28497
28497
  inTriggerContext: !1
28498
28498
  });
28499
28499
  return {
28500
- shouldRender: q(() => t.shouldRender.value || t.inTriggerContext === !1)
28500
+ shouldRender: L(() => t.shouldRender.value || t.inTriggerContext === !1)
28501
28501
  };
28502
28502
  }, oN = ee({
28503
28503
  compatConfig: {
@@ -28581,7 +28581,7 @@ function Tze() {
28581
28581
  return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth;
28582
28582
  }
28583
28583
  function Hze(t) {
28584
- const e = q(() => !!t && !!t.value);
28584
+ const e = L(() => !!t && !!t.value);
28585
28585
  Uq += 1;
28586
28586
  const n = `${Mze}_${Uq}`;
28587
28587
  Ge((r) => {
@@ -28655,7 +28655,7 @@ const Ql = xn(), Wq = (t) => {
28655
28655
  };
28656
28656
  return i4(() => {
28657
28657
  h(), u();
28658
- }), Hze(q(() => t.autoLock && t.visible && xn() && (r.value === document.body || r.value === s))), je(() => {
28658
+ }), Hze(L(() => t.autoLock && t.visible && xn() && (r.value === document.body || r.value === s))), je(() => {
28659
28659
  let g = !1;
28660
28660
  le([() => t.visible, () => t.getContainer], (m, p) => {
28661
28661
  let [v, y] = m, [w, z] = p;
@@ -28958,7 +28958,7 @@ const Vze = (t) => {
28958
28958
  isFirstItem: zi(),
28959
28959
  isLastItem: zi()
28960
28960
  }), Mu = lN(null), Rze = (t, e) => {
28961
- const n = Mu.useInject(), r = q(() => {
28961
+ const n = Mu.useInject(), r = L(() => {
28962
28962
  if (!n || Ms(n)) return "";
28963
28963
  const {
28964
28964
  compactDirection: a,
@@ -28973,8 +28973,8 @@ const Vze = (t) => {
28973
28973
  });
28974
28974
  });
28975
28975
  return {
28976
- compactSize: q(() => n?.compactSize),
28977
- compactDirection: q(() => n?.compactDirection),
28976
+ compactSize: L(() => n?.compactSize),
28977
+ compactDirection: L(() => n?.compactDirection),
28978
28978
  compactItemClassnames: r
28979
28979
  };
28980
28980
  }, xVe = ee({
@@ -29023,7 +29023,7 @@ const Vze = (t) => {
29023
29023
  const {
29024
29024
  prefixCls: a,
29025
29025
  direction: i
29026
- } = Xn("space-compact", t), o = Mu.useInject(), [s, l] = Nze(a), c = q(() => st(a.value, l.value, {
29026
+ } = Xn("space-compact", t), o = Mu.useInject(), [s, l] = Nze(a), c = L(() => st(a.value, l.value, {
29027
29027
  [`${a.value}-rtl`]: i.value === "rtl",
29028
29028
  [`${a.value}-block`]: t.block,
29029
29029
  [`${a.value}-vertical`]: t.direction === "vertical"
@@ -29397,12 +29397,12 @@ const bje = ee({
29397
29397
  } = P;
29398
29398
  s($ ? k.offsetLeft : H1(-parseFloat(C))), c($ ? k.offsetTop : H1(-parseFloat(T))), f(k.offsetWidth), g(k.offsetHeight);
29399
29399
  const {
29400
- borderTopLeftRadius: E,
29401
- borderTopRightRadius: L,
29402
- borderBottomLeftRadius: D,
29400
+ borderTopLeftRadius: q,
29401
+ borderTopRightRadius: D,
29402
+ borderBottomLeftRadius: E,
29403
29403
  borderBottomRightRadius: _
29404
29404
  } = P;
29405
- i([E, L, _, D].map((M) => H1(parseFloat(M))));
29405
+ i([q, D, _, E].map((M) => H1(parseFloat(M))));
29406
29406
  }
29407
29407
  let y, w, z;
29408
29408
  const j = () => {
@@ -29491,7 +29491,7 @@ const wje = ee({
29491
29491
  const r = aa(), {
29492
29492
  prefixCls: a,
29493
29493
  wave: i
29494
- } = Xn("wave", t), [, o] = hje(a), s = yje(q(() => st(a.value, o.value)), i);
29494
+ } = Xn("wave", t), [, o] = hje(a), s = yje(L(() => st(a.value, o.value)), i);
29495
29495
  let l;
29496
29496
  const c = () => {
29497
29497
  Oc(r).removeEventListener("click", l, !0);
@@ -30061,9 +30061,9 @@ const Pje = (t) => {
30061
30061
  direction: a
30062
30062
  } = Xn("btn-group", t), [, , i] = Ls();
30063
30063
  mN.useProvide(It({
30064
- size: q(() => t.size)
30064
+ size: L(() => t.size)
30065
30065
  }));
30066
- const o = q(() => {
30066
+ const o = L(() => {
30067
30067
  const {
30068
30068
  size: s
30069
30069
  } = t;
@@ -30123,15 +30123,15 @@ const Ha = ee({
30123
30123
  autoInsertSpaceInButton: s,
30124
30124
  direction: l,
30125
30125
  size: c
30126
- } = Xn("btn", t), [u, f] = Vje(o), h = mN.useInject(), g = o9(), m = q(() => {
30126
+ } = Xn("btn", t), [u, f] = Vje(o), h = mN.useInject(), g = o9(), m = L(() => {
30127
30127
  var _;
30128
30128
  return (_ = t.disabled) !== null && _ !== void 0 ? _ : g.value;
30129
30129
  }), p = ue(null), v = ue(void 0);
30130
30130
  let y = !1;
30131
- const w = ue(!1), z = ue(!1), j = q(() => s.value !== !1), {
30131
+ const w = ue(!1), z = ue(!1), j = L(() => s.value !== !1), {
30132
30132
  compactSize: S,
30133
30133
  compactItemClassnames: x
30134
- } = Rze(o, l), k = q(() => typeof t.loading == "object" && t.loading.delay ? t.loading.delay || !0 : !!t.loading);
30134
+ } = Rze(o, l), k = L(() => typeof t.loading == "object" && t.loading.delay ? t.loading.delay || !0 : !!t.loading);
30135
30135
  le(k, (_) => {
30136
30136
  clearTimeout(v.value), typeof k.value == "number" ? v.value = setTimeout(() => {
30137
30137
  w.value = _;
@@ -30139,11 +30139,11 @@ const Ha = ee({
30139
30139
  }, {
30140
30140
  immediate: !0
30141
30141
  });
30142
- const P = q(() => {
30142
+ const P = L(() => {
30143
30143
  const {
30144
30144
  type: _,
30145
30145
  shape: M = "default",
30146
- ghost: I,
30146
+ ghost: N,
30147
30147
  block: W,
30148
30148
  danger: G
30149
30149
  } = t, J = o.value, Q = {
@@ -30158,7 +30158,7 @@ const Ha = ee({
30158
30158
  [`${J}-${_}`]: _,
30159
30159
  [`${J}-${R}`]: R,
30160
30160
  [`${J}-loading`]: w.value,
30161
- [`${J}-background-ghost`]: I && !bl(_),
30161
+ [`${J}-background-ghost`]: N && !bl(_),
30162
30162
  [`${J}-two-chinese-chars`]: z.value && j.value,
30163
30163
  [`${J}-block`]: W,
30164
30164
  [`${J}-dangerous`]: !!G,
@@ -30178,11 +30178,11 @@ const Ha = ee({
30178
30178
  a("click", _);
30179
30179
  }, T = (_) => {
30180
30180
  a("mousedown", _);
30181
- }, E = (_, M) => {
30182
- const I = M ? " " : "";
30181
+ }, q = (_, M) => {
30182
+ const N = M ? " " : "";
30183
30183
  if (_.type === jF) {
30184
30184
  let W = _.children.trim();
30185
- return rD(W) && (W = W.split("").join(I)), d("span", null, [W]);
30185
+ return rD(W) && (W = W.split("").join(N)), d("span", null, [W]);
30186
30186
  }
30187
30187
  return _;
30188
30188
  };
@@ -30202,16 +30202,16 @@ const Ha = ee({
30202
30202
  }), () => {
30203
30203
  var _, M;
30204
30204
  const {
30205
- icon: I = (_ = n.icon) === null || _ === void 0 ? void 0 : _.call(n)
30205
+ icon: N = (_ = n.icon) === null || _ === void 0 ? void 0 : _.call(n)
30206
30206
  } = t, W = lr((M = n.default) === null || M === void 0 ? void 0 : M.call(n));
30207
- y = W.length === 1 && !I && !bl(t.type);
30207
+ y = W.length === 1 && !N && !bl(t.type);
30208
30208
  const {
30209
30209
  type: G,
30210
30210
  htmlType: J,
30211
30211
  href: Q,
30212
30212
  title: V,
30213
30213
  target: R
30214
- } = t, X = w.value ? "loading" : I, H = F(F({}, r), {
30214
+ } = t, X = w.value ? "loading" : N, H = F(F({}, r), {
30215
30215
  title: V,
30216
30216
  disabled: m.value,
30217
30217
  class: [P.value, r.class, {
@@ -30221,21 +30221,21 @@ const Ha = ee({
30221
30221
  onMousedown: T
30222
30222
  });
30223
30223
  m.value || delete H.disabled;
30224
- const N = I && !w.value ? I : d(Oje, {
30225
- existIcon: !!I,
30224
+ const I = N && !w.value ? N : d(Oje, {
30225
+ existIcon: !!N,
30226
30226
  prefixCls: o.value,
30227
30227
  loading: !!w.value
30228
- }, null), K = W.map((re) => E(re, y && j.value));
30228
+ }, null), K = W.map((re) => q(re, y && j.value));
30229
30229
  if (Q !== void 0)
30230
30230
  return u(d("a", me(me({}, H), {}, {
30231
30231
  href: Q,
30232
30232
  target: R,
30233
30233
  ref: p
30234
- }), [N, K]));
30234
+ }), [I, K]));
30235
30235
  let ie = d("button", me(me({}, H), {}, {
30236
30236
  ref: p,
30237
30237
  type: J
30238
- }), [N, K]);
30238
+ }), [I, K]);
30239
30239
  if (!bl(G)) {
30240
30240
  const re = /* @__PURE__ */ function() {
30241
30241
  return ie;
@@ -30334,7 +30334,7 @@ const Uje = zu(Jl), Tu = ee({
30334
30334
  attrs: n,
30335
30335
  slots: r
30336
30336
  } = e, a, i = !1;
30337
- const o = q(() => t.duration === void 0 ? 4.5 : t.duration), s = () => {
30337
+ const o = L(() => t.duration === void 0 ? 4.5 : t.duration), s = () => {
30338
30338
  o.value && !i && (a = setTimeout(() => {
30339
30339
  c();
30340
30340
  }, o.value * 1e3));
@@ -30418,7 +30418,7 @@ const _c = ee({
30418
30418
  expose: r,
30419
30419
  slots: a
30420
30420
  } = e;
30421
- const i = /* @__PURE__ */ new Map(), o = Y([]), s = q(() => {
30421
+ const i = /* @__PURE__ */ new Map(), o = Y([]), s = L(() => {
30422
30422
  const {
30423
30423
  prefixCls: u,
30424
30424
  animation: f = "fade"
@@ -30538,7 +30538,7 @@ _c.newInstance = function(e, n) {
30538
30538
  let {
30539
30539
  attrs: w
30540
30540
  } = y;
30541
- const z = ue(), j = q(() => Ct.getPrefixCls(a, s)), [, S] = f(j);
30541
+ const z = ue(), j = L(() => Ct.getPrefixCls(a, s)), [, S] = f(j);
30542
30542
  return je(() => {
30543
30543
  n({
30544
30544
  notice(x) {
@@ -30587,7 +30587,7 @@ const Xje = ee({
30587
30587
  attrs: n,
30588
30588
  slots: r
30589
30589
  } = e;
30590
- const a = /* @__PURE__ */ new Map(), i = q(() => t.notices), o = q(() => {
30590
+ const a = /* @__PURE__ */ new Map(), i = L(() => t.notices), o = L(() => {
30591
30591
  let u = t.transitionName;
30592
30592
  if (!u && t.animation)
30593
30593
  switch (typeof t.animation) {
@@ -30617,7 +30617,7 @@ const Xje = ee({
30617
30617
  h && (u[h] = u[h] || [], u[h].push(f));
30618
30618
  }), l.value = u;
30619
30619
  });
30620
- const c = q(() => Object.keys(l.value));
30620
+ const c = L(() => Object.keys(l.value));
30621
30621
  return () => {
30622
30622
  var u;
30623
30623
  const {
@@ -30633,37 +30633,37 @@ const Xje = ee({
30633
30633
  holderCallback: C
30634
30634
  } = k;
30635
30635
  const T = P === i.value.length - 1 ? $.updateMark : void 0, {
30636
- key: E,
30637
- userPassKey: L
30636
+ key: q,
30637
+ userPassKey: D
30638
30638
  } = $, {
30639
- content: D
30639
+ content: E
30640
30640
  } = $, _ = F(F(F({
30641
30641
  prefixCls: f,
30642
30642
  closeIcon: typeof h == "function" ? h({
30643
30643
  prefixCls: f
30644
30644
  }) : h
30645
30645
  }, $), $.props), {
30646
- key: E,
30647
- noticeKey: L || E,
30646
+ key: q,
30647
+ noticeKey: D || q,
30648
30648
  updateMark: T,
30649
30649
  onClose: (M) => {
30650
- var I;
30651
- s(M), (I = $.onClose) === null || I === void 0 || I.call($);
30650
+ var N;
30651
+ s(M), (N = $.onClose) === null || N === void 0 || N.call($);
30652
30652
  },
30653
30653
  onClick: $.onClick
30654
30654
  });
30655
30655
  return C ? d("div", {
30656
- key: E,
30656
+ key: q,
30657
30657
  class: `${f}-hook-holder`,
30658
30658
  ref: (M) => {
30659
- typeof E > "u" || (M ? (a.set(E, M), C(M, _)) : a.delete(E));
30659
+ typeof q > "u" || (M ? (a.set(q, M), C(M, _)) : a.delete(q));
30660
30660
  }
30661
30661
  }, null) : d(Tu, me(me({}, _), {}, {
30662
30662
  class: st(_.class, t.hashId)
30663
30663
  }), {
30664
- default: () => [typeof D == "function" ? D({
30664
+ default: () => [typeof E == "function" ? E({
30665
30665
  prefixCls: f
30666
- }) : D]
30666
+ }) : E]
30667
30667
  });
30668
30668
  }), S = {
30669
30669
  [f]: 1,
@@ -30972,7 +30972,7 @@ ee({
30972
30972
  var a;
30973
30973
  const {
30974
30974
  getPrefixCls: i
30975
- } = ju(), o = q(() => t.prefixCls || i("message")), [, s] = g9(o);
30975
+ } = ju(), o = L(() => t.prefixCls || i("message")), [, s] = g9(o);
30976
30976
  return d(Tu, me(me({}, r), {}, {
30977
30977
  prefixCls: o.value,
30978
30978
  class: st(s.value, `${o.value}-notice-pure-panel`),
@@ -31008,7 +31008,7 @@ const nxe = 8, rxe = 3, axe = ee({
31008
31008
  const {
31009
31009
  getPrefixCls: i,
31010
31010
  getPopupContainer: o
31011
- } = Xn("message", t), s = q(() => i("message", t.prefixCls)), [, l] = g9(s), c = () => {
31011
+ } = Xn("message", t), s = L(() => i("message", t.prefixCls)), [, l] = g9(s), c = () => {
31012
31012
  var p;
31013
31013
  const v = (p = t.top) !== null && p !== void 0 ? p : nxe;
31014
31014
  return {
@@ -31556,7 +31556,7 @@ ee({
31556
31556
  setup(t) {
31557
31557
  const {
31558
31558
  getPrefixCls: e
31559
- } = Xn("notification", t), n = q(() => t.prefixCls || e("notification")), r = q(() => `${n.value}-notice`), [, a] = b9(n);
31559
+ } = Xn("notification", t), n = L(() => t.prefixCls || e("notification")), r = L(() => `${n.value}-notice`), [, a] = b9(n);
31560
31560
  return () => d(Tu, me(me({}, t), {}, {
31561
31561
  prefixCls: n.value,
31562
31562
  class: st(a.value, `${r.value}-pure-panel`),
@@ -31651,7 +31651,7 @@ const uD = 24, wxe = 4.5, kxe = ee({
31651
31651
  const {
31652
31652
  getPrefixCls: r,
31653
31653
  getPopupContainer: a
31654
- } = Xn("notification", t), i = q(() => t.prefixCls || r("notification")), o = (h) => {
31654
+ } = Xn("notification", t), i = L(() => t.prefixCls || r("notification")), o = (h) => {
31655
31655
  var g, m;
31656
31656
  return _N(h, (g = t.top) !== null && g !== void 0 ? g : uD, (m = t.bottom) !== null && m !== void 0 ? m : uD);
31657
31657
  }, [, s] = b9(i), l = () => st(s.value, {
@@ -31896,7 +31896,7 @@ function Mxe(t, e) {
31896
31896
  }
31897
31897
  const Txe = (t) => {
31898
31898
  const [e, n] = Ls();
31899
- return c2(q(() => ({
31899
+ return c2(L(() => ({
31900
31900
  theme: e.value,
31901
31901
  token: n.value,
31902
31902
  hashId: "",
@@ -31910,8 +31910,8 @@ const Txe = (t) => {
31910
31910
  }]);
31911
31911
  };
31912
31912
  function Hxe(t, e) {
31913
- const n = q(() => t?.value || {}), r = q(() => n.value.inherit === !1 || !e?.value ? GB : e.value);
31914
- return q(() => {
31913
+ const n = L(() => t?.value || {}), r = L(() => n.value.inherit === !1 || !e?.value ? GB : e.value);
31914
+ return L(() => {
31915
31915
  if (!t?.value)
31916
31916
  return e?.value;
31917
31917
  const i = F({}, r.value.components);
@@ -31963,21 +31963,21 @@ const qxe = (t) => {
31963
31963
  } = e;
31964
31964
  const r = ju(), a = (_, M) => {
31965
31965
  const {
31966
- prefixCls: I = "ant"
31966
+ prefixCls: N = "ant"
31967
31967
  } = t;
31968
31968
  if (M) return M;
31969
- const W = I || r.getPrefixCls("");
31969
+ const W = N || r.getPrefixCls("");
31970
31970
  return _ ? `${W}-${_}` : W;
31971
- }, i = q(() => t.iconPrefixCls || r.iconPrefixCls.value || a9), o = q(() => i.value !== r.iconPrefixCls.value), s = q(() => {
31971
+ }, i = L(() => t.iconPrefixCls || r.iconPrefixCls.value || a9), o = L(() => i.value !== r.iconPrefixCls.value), s = L(() => {
31972
31972
  var _;
31973
31973
  return t.csp || ((_ = r.csp) === null || _ === void 0 ? void 0 : _.value);
31974
- }), l = Txe(i), c = Hxe(q(() => t.theme), q(() => {
31974
+ }), l = Txe(i), c = Hxe(L(() => t.theme), L(() => {
31975
31975
  var _;
31976
31976
  return (_ = r.theme) === null || _ === void 0 ? void 0 : _.value;
31977
- })), u = (_) => (t.renderEmpty || n.renderEmpty || r.renderEmpty || xze)(_), f = q(() => {
31977
+ })), u = (_) => (t.renderEmpty || n.renderEmpty || r.renderEmpty || xze)(_), f = L(() => {
31978
31978
  var _, M;
31979
31979
  return (_ = t.autoInsertSpaceInButton) !== null && _ !== void 0 ? _ : (M = r.autoInsertSpaceInButton) === null || M === void 0 ? void 0 : M.value;
31980
- }), h = q(() => {
31980
+ }), h = L(() => {
31981
31981
  var _;
31982
31982
  return t.locale || ((_ = r.locale) === null || _ === void 0 ? void 0 : _.value);
31983
31983
  });
@@ -31986,40 +31986,40 @@ const qxe = (t) => {
31986
31986
  }, {
31987
31987
  immediate: !0
31988
31988
  });
31989
- const g = q(() => {
31989
+ const g = L(() => {
31990
31990
  var _;
31991
31991
  return t.direction || ((_ = r.direction) === null || _ === void 0 ? void 0 : _.value);
31992
- }), m = q(() => {
31992
+ }), m = L(() => {
31993
31993
  var _, M;
31994
31994
  return (_ = t.space) !== null && _ !== void 0 ? _ : (M = r.space) === null || M === void 0 ? void 0 : M.value;
31995
- }), p = q(() => {
31995
+ }), p = L(() => {
31996
31996
  var _, M;
31997
31997
  return (_ = t.virtual) !== null && _ !== void 0 ? _ : (M = r.virtual) === null || M === void 0 ? void 0 : M.value;
31998
- }), v = q(() => {
31998
+ }), v = L(() => {
31999
31999
  var _, M;
32000
32000
  return (_ = t.dropdownMatchSelectWidth) !== null && _ !== void 0 ? _ : (M = r.dropdownMatchSelectWidth) === null || M === void 0 ? void 0 : M.value;
32001
- }), y = q(() => {
32001
+ }), y = L(() => {
32002
32002
  var _;
32003
32003
  return t.getTargetContainer !== void 0 ? t.getTargetContainer : (_ = r.getTargetContainer) === null || _ === void 0 ? void 0 : _.value;
32004
- }), w = q(() => {
32004
+ }), w = L(() => {
32005
32005
  var _;
32006
32006
  return t.getPopupContainer !== void 0 ? t.getPopupContainer : (_ = r.getPopupContainer) === null || _ === void 0 ? void 0 : _.value;
32007
- }), z = q(() => {
32007
+ }), z = L(() => {
32008
32008
  var _;
32009
32009
  return t.pageHeader !== void 0 ? t.pageHeader : (_ = r.pageHeader) === null || _ === void 0 ? void 0 : _.value;
32010
- }), j = q(() => {
32010
+ }), j = L(() => {
32011
32011
  var _;
32012
32012
  return t.input !== void 0 ? t.input : (_ = r.input) === null || _ === void 0 ? void 0 : _.value;
32013
- }), S = q(() => {
32013
+ }), S = L(() => {
32014
32014
  var _;
32015
32015
  return t.pagination !== void 0 ? t.pagination : (_ = r.pagination) === null || _ === void 0 ? void 0 : _.value;
32016
- }), x = q(() => {
32016
+ }), x = L(() => {
32017
32017
  var _;
32018
32018
  return t.form !== void 0 ? t.form : (_ = r.form) === null || _ === void 0 ? void 0 : _.value;
32019
- }), k = q(() => {
32019
+ }), k = L(() => {
32020
32020
  var _;
32021
32021
  return t.select !== void 0 ? t.select : (_ = r.select) === null || _ === void 0 ? void 0 : _.value;
32022
- }), P = q(() => t.componentSize), $ = q(() => t.componentDisabled), C = q(() => {
32022
+ }), P = L(() => t.componentSize), $ = L(() => t.componentDisabled), C = L(() => {
32023
32023
  var _, M;
32024
32024
  return (_ = t.wave) !== null && _ !== void 0 ? _ : (M = r.wave) === null || M === void 0 ? void 0 : M.value;
32025
32025
  }), T = {
@@ -32032,7 +32032,7 @@ const qxe = (t) => {
32032
32032
  dropdownMatchSelectWidth: v,
32033
32033
  getPrefixCls: a,
32034
32034
  iconPrefixCls: i,
32035
- theme: q(() => {
32035
+ theme: L(() => {
32036
32036
  var _, M;
32037
32037
  return (_ = c.value) !== null && _ !== void 0 ? _ : (M = r.theme) === null || M === void 0 ? void 0 : M.value;
32038
32038
  }),
@@ -32046,34 +32046,34 @@ const qxe = (t) => {
32046
32046
  select: k,
32047
32047
  componentSize: P,
32048
32048
  componentDisabled: $,
32049
- transformCellText: q(() => t.transformCellText),
32049
+ transformCellText: L(() => t.transformCellText),
32050
32050
  wave: C
32051
- }, E = q(() => {
32051
+ }, q = L(() => {
32052
32052
  const _ = c.value || {}, {
32053
32053
  algorithm: M,
32054
- token: I
32054
+ token: N
32055
32055
  } = _, W = Axe(_, ["algorithm", "token"]), G = M && (!Array.isArray(M) || M.length > 0) ? TB(M) : void 0;
32056
32056
  return F(F({}, W), {
32057
32057
  theme: G,
32058
- token: F(F({}, _u), I)
32058
+ token: F(F({}, _u), N)
32059
32059
  });
32060
- }), L = q(() => {
32060
+ }), D = L(() => {
32061
32061
  var _, M;
32062
- let I = {};
32063
- return h.value && (I = ((_ = h.value.Form) === null || _ === void 0 ? void 0 : _.defaultValidateMessages) || ((M = Ba.Form) === null || M === void 0 ? void 0 : M.defaultValidateMessages) || {}), t.form && t.form.validateMessages && (I = F(F({}, I), t.form.validateMessages)), I;
32062
+ let N = {};
32063
+ return h.value && (N = ((_ = h.value.Form) === null || _ === void 0 ? void 0 : _.defaultValidateMessages) || ((M = Ba.Form) === null || M === void 0 ? void 0 : M.defaultValidateMessages) || {}), t.form && t.form.validateMessages && (N = F(F({}, N), t.form.validateMessages)), N;
32064
32064
  });
32065
32065
  Gke(T), Uke({
32066
- validateMessages: L
32066
+ validateMessages: D
32067
32067
  }), Sze(P), Yke($);
32068
- const D = (_) => {
32069
- var M, I;
32070
- let W = o.value ? l((M = n.default) === null || M === void 0 ? void 0 : M.call(n)) : (I = n.default) === null || I === void 0 ? void 0 : I.call(n);
32068
+ const E = (_) => {
32069
+ var M, N;
32070
+ let W = o.value ? l((M = n.default) === null || M === void 0 ? void 0 : M.call(n)) : (N = n.default) === null || N === void 0 ? void 0 : N.call(n);
32071
32071
  if (t.theme) {
32072
32072
  const G = /* @__PURE__ */ function() {
32073
32073
  return W;
32074
32074
  }();
32075
32075
  W = d(wze, {
32076
- value: E.value
32076
+ value: q.value
32077
32077
  }, {
32078
32078
  default: () => [G]
32079
32079
  });
@@ -32092,7 +32092,7 @@ const qxe = (t) => {
32092
32092
  rtl: g.value === "rtl"
32093
32093
  }));
32094
32094
  }), () => d(wB, {
32095
- children: (_, M, I) => D(I)
32095
+ children: (_, M, N) => E(N)
32096
32096
  }, null);
32097
32097
  }
32098
32098
  });
@@ -32258,7 +32258,7 @@ const Lxe = (t) => {
32258
32258
  const {
32259
32259
  prefixCls: a,
32260
32260
  direction: i
32261
- } = Xn("divider", t), [o, s] = Fxe(a), l = q(() => t.orientation === "left" && t.orientationMargin != null), c = q(() => t.orientation === "right" && t.orientationMargin != null), u = q(() => {
32261
+ } = Xn("divider", t), [o, s] = Fxe(a), l = L(() => t.orientation === "left" && t.orientationMargin != null), c = L(() => t.orientation === "right" && t.orientationMargin != null), u = L(() => {
32262
32262
  const {
32263
32263
  type: g,
32264
32264
  dashed: m,
@@ -32274,14 +32274,14 @@ const Lxe = (t) => {
32274
32274
  [`${v}-no-default-orientation-margin-left`]: l.value,
32275
32275
  [`${v}-no-default-orientation-margin-right`]: c.value
32276
32276
  };
32277
- }), f = q(() => {
32277
+ }), f = L(() => {
32278
32278
  const g = typeof t.orientationMargin == "number" ? `${t.orientationMargin}px` : t.orientationMargin;
32279
32279
  return F(F({}, l.value && {
32280
32280
  marginLeft: g
32281
32281
  }), c.value && {
32282
32282
  marginRight: g
32283
32283
  });
32284
- }), h = q(() => t.orientation.length > 0 ? "-" + t.orientation : t.orientation);
32284
+ }), h = L(() => t.orientation.length > 0 ? "-" + t.orientation : t.orientation);
32285
32285
  return () => {
32286
32286
  var g;
32287
32287
  const m = lr((g = n.default) === null || g === void 0 ? void 0 : g.call(n));
@@ -32444,7 +32444,7 @@ const Uxe = {
32444
32444
  });
32445
32445
  }
32446
32446
  });
32447
- const l = Y(), c = q(() => {
32447
+ const l = Y(), c = L(() => {
32448
32448
  const {
32449
32449
  width: h,
32450
32450
  height: g
@@ -32475,9 +32475,9 @@ const Uxe = {
32475
32475
  onMousedown: $,
32476
32476
  onMouseup: C,
32477
32477
  visible: T,
32478
- modalRender: E = r.modalRender,
32479
- destroyOnClose: L,
32480
- motionName: D
32478
+ modalRender: q = r.modalRender,
32479
+ destroyOnClose: D,
32480
+ motionName: E
32481
32481
  } = t;
32482
32482
  let _;
32483
32483
  y && (_ = d("div", {
@@ -32490,8 +32490,8 @@ const Uxe = {
32490
32490
  class: `${v}-title`,
32491
32491
  id: z
32492
32492
  }, [w])]));
32493
- let I;
32494
- j && (I = d("button", {
32493
+ let N;
32494
+ j && (N = d("button", {
32495
32495
  type: "button",
32496
32496
  onClick: x,
32497
32497
  "aria-label": "Close",
@@ -32501,16 +32501,16 @@ const Uxe = {
32501
32501
  }, null)]));
32502
32502
  const W = d("div", {
32503
32503
  class: `${v}-content`
32504
- }, [I, M, d("div", me({
32504
+ }, [N, M, d("div", me({
32505
32505
  class: `${v}-body`,
32506
32506
  style: k
32507
- }, P), [(p = r.default) === null || p === void 0 ? void 0 : p.call(r)]), _]), G = nN(D);
32507
+ }, P), [(p = r.default) === null || p === void 0 ? void 0 : p.call(r)]), _]), G = nN(E);
32508
32508
  return d(hn, me(me({}, G), {}, {
32509
32509
  onBeforeEnter: u,
32510
32510
  onAfterEnter: () => f(!0),
32511
32511
  onAfterLeave: () => f(!1)
32512
32512
  }), {
32513
- default: () => [T || !L ? Un(d("div", me(me({}, a), {}, {
32513
+ default: () => [T || !D ? Un(d("div", me(me({}, a), {}, {
32514
32514
  ref: s,
32515
32515
  key: "dialog-element",
32516
32516
  role: "document",
@@ -32522,7 +32522,7 @@ const Uxe = {
32522
32522
  tabindex: 0,
32523
32523
  ref: i,
32524
32524
  style: Wxe
32525
- }, [E ? E({
32525
+ }, [q ? q({
32526
32526
  originVNode: W
32527
32527
  }) : W]), d("div", {
32528
32528
  tabindex: 0,
@@ -32642,13 +32642,13 @@ const Uxe = {
32642
32642
  wrapStyle: $,
32643
32643
  closable: C,
32644
32644
  maskProps: T,
32645
- maskStyle: E,
32646
- transitionName: L,
32647
- animation: D,
32645
+ maskStyle: q,
32646
+ transitionName: D,
32647
+ animation: E,
32648
32648
  wrapProps: _,
32649
32649
  title: M = r.title
32650
32650
  } = t, {
32651
- style: I,
32651
+ style: N,
32652
32652
  class: W
32653
32653
  } = n;
32654
32654
  return d("div", me({
@@ -32661,7 +32661,7 @@ const Uxe = {
32661
32661
  motionName: dD(y, j, S),
32662
32662
  style: F({
32663
32663
  zIndex: x
32664
- }, E),
32664
+ }, q),
32665
32665
  maskProps: T
32666
32666
  }, null), d("div", me({
32667
32667
  tabIndex: -1,
@@ -32677,7 +32677,7 @@ const Uxe = {
32677
32677
  display: s.value ? null : "none"
32678
32678
  })
32679
32679
  }, _), [d(Gxe, me(me({}, KB(t, ["scrollLocker"])), {}, {
32680
- style: I,
32680
+ style: N,
32681
32681
  class: W,
32682
32682
  onMousedown: g,
32683
32683
  onMouseup: m,
@@ -32688,7 +32688,7 @@ const Uxe = {
32688
32688
  visible: z,
32689
32689
  onClose: u,
32690
32690
  onVisibleChanged: c,
32691
- motionName: dD(y, L, D)
32691
+ motionName: dD(y, D, E)
32692
32692
  }), r)])]);
32693
32693
  };
32694
32694
  }
@@ -33406,12 +33406,12 @@ const LN = ee({
33406
33406
  content: $,
33407
33407
  direction: C,
33408
33408
  closeIcon: T,
33409
- modalRender: E,
33410
- focusTriggerAfterClose: L,
33411
- rootPrefixCls: D,
33409
+ modalRender: q,
33410
+ focusTriggerAfterClose: D,
33411
+ rootPrefixCls: E,
33412
33412
  bodyStyle: _,
33413
33413
  wrapClassName: M,
33414
- footer: I
33414
+ footer: N
33415
33415
  } = t;
33416
33416
  let W = a;
33417
33417
  if (!a && a !== null)
@@ -33428,20 +33428,20 @@ const LN = ee({
33428
33428
  default:
33429
33429
  W = d(ca, null, null);
33430
33430
  }
33431
- const G = t.okType || "primary", J = t.prefixCls || "ant-modal", Q = `${J}-confirm`, V = n.style || {}, R = w ?? x === "confirm", X = t.autoFocusButton === null ? !1 : t.autoFocusButton || "ok", H = `${J}-confirm`, N = st(H, `${H}-${t.type}`, {
33431
+ const G = t.okType || "primary", J = t.prefixCls || "ant-modal", Q = `${J}-confirm`, V = n.style || {}, R = w ?? x === "confirm", X = t.autoFocusButton === null ? !1 : t.autoFocusButton || "ok", H = `${J}-confirm`, I = st(H, `${H}-${t.type}`, {
33432
33432
  [`${H}-rtl`]: C === "rtl"
33433
33433
  }, n.class), K = r.value, ie = R && d(bD, {
33434
33434
  actionFn: i,
33435
33435
  close: s,
33436
33436
  autofocus: X === "cancel",
33437
33437
  buttonProps: y,
33438
- prefixCls: `${D}-btn`
33438
+ prefixCls: `${E}-btn`
33439
33439
  }, {
33440
33440
  default: () => [ai(t.cancelText) || K.cancelText]
33441
33441
  });
33442
33442
  return d(dn, {
33443
33443
  prefixCls: J,
33444
- class: N,
33444
+ class: I,
33445
33445
  wrapClassName: st({
33446
33446
  [`${H}-centered`]: !!g
33447
33447
  }, M),
@@ -33451,8 +33451,8 @@ const LN = ee({
33451
33451
  open: k,
33452
33452
  title: "",
33453
33453
  footer: "",
33454
- transitionName: Sc(D, "zoom", t.transitionName),
33455
- maskTransitionName: Sc(D, "fade", t.maskTransitionName),
33454
+ transitionName: Sc(E, "zoom", t.transitionName),
33455
+ maskTransitionName: Sc(E, "fade", t.maskTransitionName),
33456
33456
  mask: j,
33457
33457
  maskClosable: S,
33458
33458
  maskStyle: p,
@@ -33466,8 +33466,8 @@ const LN = ee({
33466
33466
  getContainer: m,
33467
33467
  closable: c,
33468
33468
  closeIcon: T,
33469
- modalRender: E,
33470
- focusTriggerAfterClose: L
33469
+ modalRender: q,
33470
+ focusTriggerAfterClose: D
33471
33471
  }, {
33472
33472
  default: () => [d("div", {
33473
33473
  class: `${Q}-body-wrapper`
@@ -33477,7 +33477,7 @@ const LN = ee({
33477
33477
  class: `${Q}-title`
33478
33478
  }, [ai(P)]), d("div", {
33479
33479
  class: `${Q}-content`
33480
- }, [ai($)])]), I !== void 0 ? ai(I) : d("div", {
33480
+ }, [ai($)])]), N !== void 0 ? ai(N) : d("div", {
33481
33481
  class: `${Q}-btns`
33482
33482
  }, [ie, d(bD, {
33483
33483
  type: G,
@@ -33485,7 +33485,7 @@ const LN = ee({
33485
33485
  close: s,
33486
33486
  autofocus: X === "ok",
33487
33487
  buttonProps: v,
33488
- prefixCls: `${D}-btn`
33488
+ prefixCls: `${E}-btn`
33489
33489
  }, {
33490
33490
  default: () => [ai(l) || (R ? K.okText : K.justOkText)]
33491
33491
  })])])]
@@ -33591,7 +33591,7 @@ const lSe = () => ({
33591
33591
  expose: n
33592
33592
  } = e;
33593
33593
  var r;
33594
- const a = q(() => t.open), i = q(() => t.config), {
33594
+ const a = L(() => t.open), i = L(() => t.config), {
33595
33595
  direction: o,
33596
33596
  getPrefixCls: s
33597
33597
  } = ju(), l = s("modal"), c = s(), u = () => {
@@ -33680,7 +33680,7 @@ function dSe() {
33680
33680
  h.value = z, u.value ? v(z) : e.value = [...e.value, () => v(z)];
33681
33681
  }
33682
33682
  };
33683
- }, r = q(() => ({
33683
+ }, r = L(() => ({
33684
33684
  info: n(VN),
33685
33685
  success: n(BN),
33686
33686
  error: n(NN),
@@ -33856,8 +33856,8 @@ const Wt = ra(
33856
33856
  (M) => {
33857
33857
  if (!a.value)
33858
33858
  return;
33859
- const I = y2(M);
33860
- if (y2(n.value).includes(I.at(0))) {
33859
+ const N = y2(M);
33860
+ if (y2(n.value).includes(N.at(0))) {
33861
33861
  if (ut.session.has("userSettingIsGod"))
33862
33862
  return;
33863
33863
  dn.confirm({
@@ -33874,8 +33874,8 @@ const Wt = ra(
33874
33874
  }
33875
33875
  });
33876
33876
  } else {
33877
- const G = or(M, I.at(0));
33878
- YZ(e.value, I.at(0), G);
33877
+ const G = or(M, N.at(0));
33878
+ YZ(e.value, N.at(0), G);
33879
33879
  }
33880
33880
  },
33881
33881
  {
@@ -33887,10 +33887,10 @@ const Wt = ra(
33887
33887
  () => e.value.app.lightTheme,
33888
33888
  () => e.value.app.darkTheme
33889
33889
  ],
33890
- ([M, I, W]) => {
33890
+ ([M, N, W]) => {
33891
33891
  switch (M === "" && (M = /* @__PURE__ */ AJ() ? "dark" : "light"), M) {
33892
33892
  case "light":
33893
- document.documentElement.classList.remove("dark"), document.body.setAttribute("data-theme", I);
33893
+ document.documentElement.classList.remove("dark"), document.body.setAttribute("data-theme", N);
33894
33894
  break;
33895
33895
  case "dark":
33896
33896
  document.documentElement.classList.add("dark"), document.body.setAttribute("data-theme", W);
@@ -33938,16 +33938,16 @@ const Wt = ra(
33938
33938
  c.value = M;
33939
33939
  }
33940
33940
  const f = Y([]);
33941
- function h(M, I) {
33941
+ function h(M, N) {
33942
33942
  const W = f.value.findIndex((G) => G.fullPath === M);
33943
- W > -1 ? f.value[W].title = I : f.value.push({
33943
+ W > -1 ? f.value[W].title = N : f.value.push({
33944
33944
  fullPath: M,
33945
- title: I
33945
+ title: N
33946
33946
  });
33947
33947
  }
33948
33948
  function g(M) {
33949
- const I = f.value.findIndex((W) => W.fullPath === M);
33950
- I > -1 && f.value.splice(I, 1);
33949
+ const N = f.value.findIndex((W) => W.fullPath === M);
33950
+ N > -1 && f.value.splice(N, 1);
33951
33951
  }
33952
33952
  const m = Y("pc");
33953
33953
  function p(M) {
@@ -33980,8 +33980,8 @@ const Wt = ra(
33980
33980
  function S(M) {
33981
33981
  j.value = M ?? !j.value;
33982
33982
  }
33983
- function x(M, I = !1) {
33984
- e.value = Fl(M, I ? t : e.value);
33983
+ function x(M, N = !1) {
33984
+ e.value = Fl(M, N ? t : e.value);
33985
33985
  }
33986
33986
  function k(M) {
33987
33987
  r.value = Fl(M, t);
@@ -33993,25 +33993,25 @@ const Wt = ra(
33993
33993
  a.value = M;
33994
33994
  }
33995
33995
  async function C() {
33996
- const I = (await hSe())?.data?.content;
33997
- I && x(JSON.parse(I || "{}"), !0);
33996
+ const N = (await hSe())?.data?.content;
33997
+ N && x(JSON.parse(N || "{}"), !0);
33998
33998
  }
33999
33999
  async function T() {
34000
- const I = (await pSe())?.data?.content;
34001
- I && P(JSON.parse(I || "{}"));
34000
+ const N = (await pSe())?.data?.content;
34001
+ N && P(JSON.parse(N || "{}"));
34002
34002
  }
34003
- async function E() {
34004
- const I = (await mSe())?.data?.content;
34005
- I && k(JSON.parse(I || "{}"));
34003
+ async function q() {
34004
+ const N = (await mSe())?.data?.content;
34005
+ N && k(JSON.parse(N || "{}"));
34006
34006
  }
34007
- async function L() {
34007
+ async function D() {
34008
34008
  await Promise.all([
34009
34009
  C(),
34010
- E(),
34010
+ q(),
34011
34011
  T()
34012
34012
  ]), $(!0);
34013
34013
  }
34014
- async function D(M) {
34014
+ async function E(M) {
34015
34015
  await fSe({
34016
34016
  content: JSON.stringify(M)
34017
34017
  }), P(M);
@@ -34043,8 +34043,8 @@ const Wt = ra(
34043
34043
  userSettings: n,
34044
34044
  updateUserSettings: P,
34045
34045
  setGlobaleSettingsFlag: $,
34046
- getPreferencesAll: L,
34047
- setPreferencesSetting: D,
34046
+ getPreferencesAll: D,
34047
+ setPreferencesSetting: E,
34048
34048
  resetSettings: _
34049
34049
  };
34050
34050
  }
@@ -34201,7 +34201,7 @@ const Wt = ra(
34201
34201
  orgId: "",
34202
34202
  permissions: [],
34203
34203
  department: ""
34204
- }), n = q(() => !!e.token), r = q(() => {
34204
+ }), n = L(() => !!e.token), r = L(() => {
34205
34205
  let h;
34206
34206
  return e.orgId ? h = c1(e.orgList, ["orgId", e.orgId])?.orgName : h = c1(e.orgList, ["main", !0])?.orgName, h || "";
34207
34207
  });
@@ -34277,164 +34277,174 @@ const Wt = ra(
34277
34277
  ), oo = ra(
34278
34278
  pn.ROUTE,
34279
34279
  () => {
34280
- const t = Jee(), e = Wt(), n = Pn(), r = ei(), a = Y(!1), i = Y([]), o = Y([]), s = Y([]), l = Y([]), c = q(() => {
34281
- const { app: P, menu: $ } = e.settings;
34282
- return P.enablePermission && !$.showWithoutPermission;
34280
+ const t = Jee(), e = Wt(), n = Pn(), r = ei(), a = Y(!1), i = Y([]), o = Y([]), s = Y([]), l = Y([]), c = L(() => {
34281
+ const { app: $, menu: C } = e.settings;
34282
+ return $.enablePermission && !C.showWithoutPermission;
34283
34283
  });
34284
- function u(P, $) {
34285
- const { title: C, icon: T, activeIcon: E, breadcrumb: L = !0 } = ll(P.meta, {});
34284
+ function u($, C) {
34285
+ const { title: T, icon: q, activeIcon: D, breadcrumb: E = !0 } = ll($.meta, {});
34286
34286
  return {
34287
- path: ll($, P.path),
34288
- title: C,
34289
- icon: T,
34290
- activeIcon: E,
34291
- hide: !L
34287
+ path: ll(C, $.path),
34288
+ title: T,
34289
+ icon: q,
34290
+ activeIcon: D,
34291
+ hide: !E
34292
34292
  };
34293
34293
  }
34294
- function f(P, $, C, T) {
34295
- const E = Lt(T), L = u(P, $);
34296
- E.push(L);
34297
- function D(J) {
34298
- return SZ(J, "children") ? IZ(J, "children") : J;
34294
+ function f($, C, T, q) {
34295
+ const D = Lt(q), E = u($, C);
34296
+ D.push(E);
34297
+ function _(Q) {
34298
+ return SZ(Q, "children") ? IZ(Q, "children") : Q;
34299
34299
  }
34300
- const _ = {
34301
- path: $,
34300
+ const M = {
34301
+ path: C,
34302
34302
  meta: {
34303
- auth: C,
34304
- breadcrumbNeste: E
34303
+ auth: T,
34304
+ breadcrumbNeste: D
34305
34305
  }
34306
- }, M = Oi(P), I = Lt(M), W = D(I);
34307
- return ek(W, _);
34308
- }
34309
- function h(P) {
34310
- return P.children && (P.children = g(
34311
- P.children,
34312
- [u(P)],
34313
- P.path,
34314
- P.meta?.auth
34315
- )), P;
34316
- }
34317
- function g(P, $ = [], C = "", T) {
34318
- return Oi(P).reduce((E, L) => {
34319
- const D = wn(C, L.path), _ = ll(L.meta?.auth, T), M = f(
34320
- L,
34321
- D,
34306
+ }, N = Oi($), W = Lt(N), G = _(W);
34307
+ return ek(G, M);
34308
+ }
34309
+ function h($) {
34310
+ return $.children && ($.children = g(
34311
+ $.children,
34312
+ [u($)],
34313
+ $.path,
34314
+ $.meta?.auth
34315
+ )), $;
34316
+ }
34317
+ function g($, C = [], T = "", q) {
34318
+ return Oi($).reduce((D, E) => {
34319
+ const _ = wn(T, E.path), M = ll(E.meta?.auth, q), N = f(
34320
+ E,
34322
34321
  _,
34323
- $
34322
+ M,
34323
+ C
34324
34324
  );
34325
- return E.push(M), L.children && g(
34326
- L.children,
34327
- M?.meta?.breadcrumbNeste,
34328
- D,
34329
- _
34330
- ).forEach((W) => {
34331
- E.some((G) => G.path === W.path) ? E.forEach((G, J) => {
34332
- G.path === W.path && (E[J] = W);
34333
- }) : E.push(W);
34334
- }), E;
34325
+ return D.push(N), E.children && g(
34326
+ E.children,
34327
+ N?.meta?.breadcrumbNeste,
34328
+ _,
34329
+ M
34330
+ ).forEach((G) => {
34331
+ D.some((J) => J.path === G.path) ? D.forEach((J, Q) => {
34332
+ J.path === G.path && (D[Q] = G);
34333
+ }) : D.push(G);
34334
+ }), D;
34335
34335
  }, []);
34336
34336
  }
34337
- const m = q(() => {
34338
- const P = [];
34339
- return i.value.length && (i.value.forEach(($) => {
34340
- if (or($, "meta.isDev", !1)) {
34341
- qo(`开发模式应用"${$.meta?.title}"的子路由将不会被注册到vue-router中`);
34337
+ const m = L(() => {
34338
+ const $ = [];
34339
+ return i.value.length && (i.value.forEach((C) => {
34340
+ if (or(C, "meta.isDev", !1)) {
34341
+ qo(`开发模式应用"${C.meta?.title}"的子路由将不会被注册到vue-router中`);
34342
34342
  return;
34343
34343
  }
34344
- if ($.children?.length) {
34345
- let C = Lt($.children);
34346
- C = C.map((T) => ek(
34347
- T,
34344
+ if (C.children?.length) {
34345
+ let T = Lt(C.children);
34346
+ T = T.map((q) => ek(
34347
+ q,
34348
34348
  {
34349
34349
  meta: {
34350
34350
  auth: ll(
34351
- T.meta?.auth,
34352
- $.meta?.auth
34351
+ q.meta?.auth,
34352
+ C.meta?.auth
34353
34353
  )
34354
34354
  }
34355
34355
  }
34356
- )), P.push(...C);
34356
+ )), $.push(...T);
34357
34357
  }
34358
- }), P.forEach(($) => h($))), P;
34359
- }), p = q(() => {
34360
- const $ = [...ete()];
34361
- return $.forEach((C) => h(C)), $;
34358
+ }), $.forEach((C) => h(C))), $;
34359
+ }), p = L(() => {
34360
+ const C = [...ete()];
34361
+ return C.forEach((T) => h(T)), C;
34362
34362
  });
34363
- function v(P, $) {
34364
- if (La($.meta?.auth))
34363
+ function v($, C) {
34364
+ if (La(C.meta?.auth))
34365
34365
  return !0;
34366
- const C = $.meta.auth;
34367
- return Oi(P).some((T) => as(C) ? C !== "" ? C === T : !0 : Ot(C) ? C.length !== 0 ? C.includes(T) : !0 : !1);
34368
- }
34369
- function y(P, $) {
34370
- const C = [];
34371
- return P.forEach((T) => {
34372
- if (v($, T)) {
34373
- const E = Lt(T);
34374
- E.children && E.children.length > 0 ? (E.children = y(E.children, $), (E.children.length || or(E, "meta.isDev", !1)) && C.push(E)) : (or(E, "meta.isDev", !1) && (E.children = []), C.push(E));
34366
+ const T = C.meta.auth;
34367
+ return Oi($).some((q) => as(T) ? T !== "" ? T === q : !0 : Ot(T) ? T.length !== 0 ? T.includes(q) : !0 : !1);
34368
+ }
34369
+ function y($, C) {
34370
+ const T = [];
34371
+ return $.forEach((q) => {
34372
+ if (v(C, q)) {
34373
+ const D = Lt(q);
34374
+ D.children && D.children.length > 0 ? (D.children = y(D.children, C), (D.children.length || or(D, "meta.isDev", !1)) && T.push(D)) : (or(D, "meta.isDev", !1) && (D.children = []), T.push(D));
34375
34375
  }
34376
- }), C;
34377
- }
34378
- const w = q(() => {
34379
- let P;
34380
- return c.value ? P = y(i.value, n.user.permissions) : P = Lt(i.value), P;
34381
- });
34382
- function z(P) {
34383
- const $ = cu();
34384
- return P.map((C) => (C.children && C.children.length > 0 && C.children.forEach((T, E, L) => {
34385
- if (T.meta?.singleMenu) {
34386
- const { name: D, ..._ } = T;
34387
- L[E] = {
34388
- ..._,
34389
- component: $,
34376
+ }), T;
34377
+ }
34378
+ const w = L(() => {
34379
+ let $;
34380
+ return c.value ? $ = y(i.value, n.user.permissions) : $ = Lt(i.value), $;
34381
+ });
34382
+ function z($) {
34383
+ const C = cu();
34384
+ return $.map((T) => (T.children && T.children.length > 0 && T.children.forEach((q, D, E) => {
34385
+ if (q.meta?.singleMenu) {
34386
+ const { name: _, ...M } = q;
34387
+ E[D] = {
34388
+ ...M,
34389
+ component: C,
34390
34390
  children: [
34391
34391
  {
34392
34392
  path: "",
34393
- name: D,
34394
- component: T.component,
34393
+ name: _,
34394
+ component: q.component,
34395
34395
  meta: {
34396
- title: T.meta.title,
34396
+ title: q.meta.title,
34397
34397
  sidebar: !1,
34398
34398
  breadcrumb: !1
34399
34399
  }
34400
34400
  }
34401
34401
  ]
34402
- }, delete L[E].meta.singleMenu;
34402
+ }, delete E[D].meta.singleMenu;
34403
34403
  }
34404
- T.component || (T.component = $), C.meta?.provider && (T.meta = {
34405
- ...T.meta ?? {},
34406
- provider: C.meta.provider
34404
+ q.component || (q.component = C), T.meta?.provider && (q.meta = {
34405
+ ...q.meta ?? {},
34406
+ provider: T.meta.provider
34407
34407
  });
34408
- }), C)), P;
34408
+ }), T)), $;
34409
34409
  }
34410
- function j(P) {
34411
- return P.length ? P.filter(($) => ($.children && $.children.length > 0 && ($.children = j($.children)), $?.meta?.enabled !== !1)) : [];
34410
+ function j($) {
34411
+ return $.length ? $.filter((C) => (C.children && C.children.length > 0 && (C.children = j(C.children)), C?.meta?.enabled !== !1)) : [];
34412
34412
  }
34413
34413
  async function S() {
34414
- const P = await Zee({ needAll: !c.value });
34415
- if (P.success) {
34416
- o.value = P?.data ?? [];
34417
- const $ = z(j(Lt(t))), C = P.data?.map((E) => {
34418
- if (E.type === nt.APP) {
34419
- const L = $.find((D) => D.meta?.auth === E.code);
34420
- return L && or(L, "meta.isDev", !1) && qo(`静态应用"${L.meta?.title}"处于开发模式,将在TopMode中显示开发状态`), L;
34414
+ const $ = await Zee({ needAll: !c.value });
34415
+ if ($.success) {
34416
+ o.value = $?.data ?? [];
34417
+ const C = z(j(Lt(t))), T = $.data?.map((D) => {
34418
+ if (D.type === nt.APP) {
34419
+ const E = C.find((_) => _.meta?.auth === D.code);
34420
+ return E && or(E, "meta.isDev", !1) && qo(`静态应用"${E.meta?.title}"处于开发模式,将在TopMode中显示开发状态`), E;
34421
34421
  }
34422
- return E.type === nt.DYNAMIC_APP ? (E.meta?.isDev && qo(`动态应用"${E.name}"处于开发模式,将在TopMode中显示开发状态`), Yd([E])[0]) : E.type === nt.MICRO_APP ? Yd([E])[0] : !1;
34423
- }).filter((E) => !!E) ?? [], T = $.filter((E) => {
34424
- const { auth: L } = E.meta ?? {};
34425
- return as(L) ? !P.data?.map((D) => D.code).includes(L) : !0;
34422
+ return D.type === nt.DYNAMIC_APP ? (D.meta?.isDev && qo(`动态应用"${D.name}"处于开发模式,将在TopMode中显示开发状态`), Yd([D])[0]) : D.type === nt.MICRO_APP ? Yd([D])[0] : !1;
34423
+ }).filter((D) => !!D) ?? [], q = C.filter((D) => {
34424
+ const { auth: E } = D.meta ?? {};
34425
+ return as(E) ? !$.data?.map((_) => _.code).includes(E) : !0;
34426
34426
  });
34427
- i.value = [...C, ...T];
34427
+ i.value = x(
34428
+ [...T, ...q],
34429
+ $.data ?? []
34430
+ );
34428
34431
  }
34429
34432
  e.settings.app.enablePermission && await n.getPermissions(), a.value = !0, e.settings.tabbar.enable && r.initPermanentTab();
34430
34433
  }
34431
- function x(P) {
34432
- l.value = P;
34434
+ function x($, C) {
34435
+ const T = new Map(C.map((E, _) => [E.code, _])), q = $.filter((E) => T.has(E.meta?.auth)), D = $.filter((E) => !T.has(E.meta?.auth));
34436
+ return q.sort((E, _) => {
34437
+ const M = T.get(E.meta.auth) ?? 1 / 0, N = T.get(_.meta.auth) ?? 1 / 0;
34438
+ return M - N;
34439
+ }), [...q, ...D];
34440
+ }
34441
+ function k($) {
34442
+ l.value = $;
34433
34443
  }
34434
- function k(P = !1) {
34435
- a.value = !1, i.value = [], s.value = [], l.value.forEach(($) => {
34436
- P || $();
34437
- }), l.value = P ? l.value.filter(($) => $.system) : [];
34444
+ function P($ = !1) {
34445
+ a.value = !1, i.value = [], s.value = [], l.value.forEach((C) => {
34446
+ $ || C();
34447
+ }), l.value = $ ? l.value.filter((C) => C.system) : [];
34438
34448
  }
34439
34449
  return {
34440
34450
  isGenerate: a,
@@ -34444,8 +34454,8 @@ const Wt = ra(
34444
34454
  flatSystemRoutes: p,
34445
34455
  remoteRoutesRaw: o,
34446
34456
  generateRoutes: S,
34447
- setCurrentRemoveRoutes: x,
34448
- removeRoutes: k
34457
+ setCurrentRemoveRoutes: k,
34458
+ removeRoutes: P
34449
34459
  };
34450
34460
  }
34451
34461
  ), Hu = ra(
@@ -34478,7 +34488,7 @@ const Wt = ra(
34478
34488
  );
34479
34489
  },
34480
34490
  []
34481
- ), o = q(() => {
34491
+ ), o = L(() => {
34482
34492
  const g = i.value.filter((m) => !or(m, "meta.isDev", !1));
34483
34493
  if (g.length > 0)
34484
34494
  if (g.length > 1) {
@@ -34489,7 +34499,7 @@ const Wt = ra(
34489
34499
  return or(i.value[0], "meta.isDev", !1) ? [] : i.value[0].children;
34490
34500
  else
34491
34501
  return [];
34492
- }), s = q(() => o.value.length > 0 ? l(o.value[0]) : "/");
34502
+ }), s = L(() => o.value.length > 0 ? l(o.value[0]) : "/");
34493
34503
  function l(g, m = "") {
34494
34504
  let p = "";
34495
34505
  if (g.children && g.children.length > 0) {
@@ -34501,7 +34511,7 @@ const Wt = ra(
34501
34511
  p = wn(m, g.path);
34502
34512
  return p;
34503
34513
  }
34504
- const c = q(() => {
34514
+ const c = L(() => {
34505
34515
  const g = [];
34506
34516
  return i.value.forEach((m) => {
34507
34517
  g.push(...u(m.children));
@@ -36272,17 +36282,17 @@ ne.asn1.ASN1Util = new function() {
36272
36282
  if (x == "tag") {
36273
36283
  var T = t[x];
36274
36284
  if (Object.prototype.toString.call(T) === "[object Array]" && T.length == 3) {
36275
- var E = j(T[2]);
36285
+ var q = j(T[2]);
36276
36286
  return new z({
36277
36287
  tag: T[0],
36278
36288
  explicit: T[1],
36279
- obj: E
36289
+ obj: q
36280
36290
  });
36281
36291
  } else {
36282
- var L = {};
36283
- if (T.explicit !== void 0 && (L.explicit = T.explicit), T.tag !== void 0 && (L.tag = T.tag), T.obj === void 0)
36292
+ var D = {};
36293
+ if (T.explicit !== void 0 && (D.explicit = T.explicit), T.tag !== void 0 && (D.tag = T.tag), T.obj === void 0)
36284
36294
  throw "obj shall be specified for 'tag'.";
36285
- return L.obj = j(T.obj), new z(L);
36295
+ return D.obj = j(T.obj), new z(D);
36286
36296
  }
36287
36297
  }
36288
36298
  }, this.jsonToASN1HEX = function(t) {
@@ -38306,13 +38316,13 @@ const s$e = ee({
38306
38316
  size: { default: "1rem" }
38307
38317
  },
38308
38318
  setup(t) {
38309
- const e = t, { loadIcon: n } = uI(), r = q(() => e.name.indexOf("i-") === 0 ? e.async ? "svg" : "css" : e.name.includes(":") && !e.name.startsWith("antd:") ? "svg" : e.name.startsWith("antd:") ? "antd" : "custom"), a = q(() => {
38319
+ const e = t, { loadIcon: n } = uI(), r = L(() => e.name.indexOf("i-") === 0 ? e.async ? "svg" : "css" : e.name.includes(":") && !e.name.startsWith("antd:") ? "svg" : e.name.startsWith("antd:") ? "antd" : "custom"), a = L(() => {
38310
38320
  if (e.name.indexOf("i-") === 0) {
38311
38321
  let m = e.name;
38312
38322
  return e.async && (m = m.replace("i-", "")), m;
38313
38323
  }
38314
38324
  return e.name.startsWith("antd:") ? e.name.replace("antd:", "") : e.name;
38315
- }), i = q(() => e.box === void 0 ? "null" : ["square", "prism"].includes(e.box) ? e.box : "null"), o = q(() => i.value === "square" ? f$e : i.value === "prism" ? c$e : "i"), s = ue(void 0);
38325
+ }), i = L(() => e.box === void 0 ? "null" : ["square", "prism"].includes(e.box) ? e.box : "null"), o = L(() => i.value === "square" ? f$e : i.value === "prism" ? c$e : "i"), s = ue(void 0);
38316
38326
  function l(m) {
38317
38327
  const p = f(m), v = `${p.name}${p.ext || ".svg"}`, y = p.prefix || void 0;
38318
38328
  return { fileName: v, moduleId: y };
@@ -38375,7 +38385,7 @@ const s$e = ee({
38375
38385
  }
38376
38386
  return { prefix: p, name: v, ext: y };
38377
38387
  }
38378
- const h = q(() => {
38388
+ const h = L(() => {
38379
38389
  const m = [];
38380
38390
  if (e.flip)
38381
38391
  switch (e.flip) {
@@ -38396,7 +38406,7 @@ const s$e = ee({
38396
38406
  "--pubinfo-icon-transform": ""
38397
38407
  };
38398
38408
  return e.color && (p["--pubinfo-icon-color"] = e.color), e.size && (p["--pubinfo-icon-size"] = typeof e.size == "number" ? `${e.size}px` : e.size), m.length && (p["--pubinfo-icon-transform"] = m.join(" ")), p.verticalAlign = "top", p;
38399
- }), g = q(() => {
38409
+ }), g = L(() => {
38400
38410
  if (i.value !== "null") {
38401
38411
  const m = {
38402
38412
  "--pubinfo-box-background": "",
@@ -38787,7 +38797,7 @@ function x9() {
38787
38797
  return c;
38788
38798
  },
38789
38799
  most_guessable_match_sequence: function(l, c, u) {
38790
- var f, h, g, m, p, v, y, w, z, j, S, x, k, P, $, C, T, E, L, D, _, M, I;
38800
+ var f, h, g, m, p, v, y, w, z, j, S, x, k, P, $, C, T, q, D, E, _, M, N;
38791
38801
  for (u == null && (u = !1), x = l.length, S = function() {
38792
38802
  var W, G, J;
38793
38803
  for (J = [], W = 0, G = x; 0 <= G ? W < G : W > G; 0 <= G ? ++W : --W)
@@ -38820,10 +38830,10 @@ function x9() {
38820
38830
  }()
38821
38831
  }, M = /* @__PURE__ */ function(W) {
38822
38832
  return function(G, J) {
38823
- var Q, V, R, X, H, N;
38824
- X = G.j, H = W.estimate_guesses(G, l), J > 1 && (H *= P.pi[G.i - 1][J - 1]), R = W.factorial(J) * H, u || (R += Math.pow(e, J - 1)), N = P.g[X];
38825
- for (V in N)
38826
- if (Q = N[V], !(V > J) && Q <= R)
38833
+ var Q, V, R, X, H, I;
38834
+ X = G.j, H = W.estimate_guesses(G, l), J > 1 && (H *= P.pi[G.i - 1][J - 1]), R = W.factorial(J) * H, u || (R += Math.pow(e, J - 1)), I = P.g[X];
38835
+ for (V in I)
38836
+ if (Q = I[V], !(V > J) && Q <= R)
38827
38837
  return;
38828
38838
  return P.g[X][J] = R, P.m[X][J] = G, P.pi[X][J] = H;
38829
38839
  };
@@ -38832,10 +38842,10 @@ function x9() {
38832
38842
  var J, Q, V, R, X, H;
38833
38843
  for (z = j(0, G), M(z, 1), X = [], J = H = 1, R = G; 1 <= R ? H <= R : H >= R; J = 1 <= R ? ++H : --H)
38834
38844
  z = j(J, G), X.push(function() {
38835
- var N, K;
38836
- N = P.m[J - 1], K = [];
38837
- for (Q in N)
38838
- V = N[Q], Q = parseInt(Q), V.pattern !== "bruteforce" && K.push(M(z, Q + 1));
38845
+ var I, K;
38846
+ I = P.m[J - 1], K = [];
38847
+ for (Q in I)
38848
+ V = I[Q], Q = parseInt(Q), V.pattern !== "bruteforce" && K.push(M(z, Q + 1));
38839
38849
  return K;
38840
38850
  }());
38841
38851
  return X;
@@ -38851,17 +38861,17 @@ function x9() {
38851
38861
  };
38852
38862
  }(), _ = /* @__PURE__ */ function(W) {
38853
38863
  return function(G) {
38854
- var J, Q, V, R, X, H, N;
38855
- H = [], R = G - 1, X = void 0, V = 1 / 0, N = P.g[R];
38856
- for (Q in N)
38857
- J = N[Q], J < V && (X = Q, V = J);
38864
+ var J, Q, V, R, X, H, I;
38865
+ H = [], R = G - 1, X = void 0, V = 1 / 0, I = P.g[R];
38866
+ for (Q in I)
38867
+ J = I[Q], J < V && (X = Q, V = J);
38858
38868
  for (; R >= 0; )
38859
38869
  z = P.m[R][X], H.unshift(z), R = z.i - 1, X--;
38860
38870
  return H;
38861
38871
  };
38862
- }(), g = D = 0, E = x; 0 <= E ? D < E : D > E; g = 0 <= E ? ++D : --D) {
38863
- for (L = S[g], I = 0, y = L.length; I < y; I++)
38864
- if (z = L[I], z.i > 0)
38872
+ }(), g = E = 0, q = x; 0 <= q ? E < q : E > q; g = 0 <= q ? ++E : --E) {
38873
+ for (D = S[g], N = 0, y = D.length; N < y; N++)
38874
+ if (z = D[N], z.i > 0)
38865
38875
  for (m in P.m[z.i - 1])
38866
38876
  m = parseInt(m), M(z, m + 1);
38867
38877
  else
@@ -39084,17 +39094,17 @@ function y$e() {
39084
39094
  return this.sorted(w);
39085
39095
  },
39086
39096
  dictionary_match: function(m, p) {
39087
- var v, y, w, z, j, S, x, k, P, $, C, T, E, L;
39097
+ var v, y, w, z, j, S, x, k, P, $, C, T, q, D;
39088
39098
  p == null && (p = i), j = [], z = m.length, k = m.toLowerCase();
39089
39099
  for (v in p)
39090
39100
  for ($ = p[v], y = S = 0, C = z; 0 <= C ? S < C : S > C; y = 0 <= C ? ++S : --S)
39091
- for (w = x = T = y, E = z; T <= E ? x < E : x > E; w = T <= E ? ++x : --x)
39092
- k.slice(y, +w + 1 || 9e9) in $ && (L = k.slice(y, +w + 1 || 9e9), P = $[L], j.push({
39101
+ for (w = x = T = y, q = z; T <= q ? x < q : x > q; w = T <= q ? ++x : --x)
39102
+ k.slice(y, +w + 1 || 9e9) in $ && (D = k.slice(y, +w + 1 || 9e9), P = $[D], j.push({
39093
39103
  pattern: "dictionary",
39094
39104
  i: y,
39095
39105
  j: w,
39096
39106
  token: m.slice(y, +w + 1 || 9e9),
39097
- matched_word: L,
39107
+ matched_word: D,
39098
39108
  rank: P,
39099
39109
  dictionary_name: v,
39100
39110
  reversed: !1,
@@ -39118,75 +39128,75 @@ function y$e() {
39118
39128
  $ = {};
39119
39129
  for (w in p)
39120
39130
  P = p[w], x = function() {
39121
- var C, T, E;
39122
- for (E = [], T = 0, C = P.length; T < C; T++)
39123
- k = P[T], k in j && E.push(k);
39124
- return E;
39131
+ var C, T, q;
39132
+ for (q = [], T = 0, C = P.length; T < C; T++)
39133
+ k = P[T], k in j && q.push(k);
39134
+ return q;
39125
39135
  }(), x.length > 0 && ($[w] = x);
39126
39136
  return $;
39127
39137
  },
39128
39138
  enumerate_l33t_subs: function(m) {
39129
- var p, v, y, w, z, j, S, x, k, P, $, C, T, E, L;
39139
+ var p, v, y, w, z, j, S, x, k, P, $, C, T, q, D;
39130
39140
  for (z = function() {
39131
- var D;
39132
- D = [];
39141
+ var E;
39142
+ E = [];
39133
39143
  for (w in m)
39134
- D.push(w);
39135
- return D;
39136
- }(), L = [[]], v = function(D) {
39137
- var _, M, I, W, G, J, Q, V;
39138
- for (M = [], G = {}, J = 0, W = D.length; J < W; J++)
39139
- Q = D[J], _ = function() {
39144
+ E.push(w);
39145
+ return E;
39146
+ }(), D = [[]], v = function(E) {
39147
+ var _, M, N, W, G, J, Q, V;
39148
+ for (M = [], G = {}, J = 0, W = E.length; J < W; J++)
39149
+ Q = E[J], _ = function() {
39140
39150
  var R, X, H;
39141
39151
  for (H = [], V = X = 0, R = Q.length; X < R; V = ++X)
39142
39152
  w = Q[V], H.push([w, V]);
39143
39153
  return H;
39144
- }(), _.sort(), I = function() {
39154
+ }(), _.sort(), N = function() {
39145
39155
  var R, X, H;
39146
39156
  for (H = [], V = X = 0, R = _.length; X < R; V = ++X)
39147
39157
  w = _[V], H.push(w + "," + V);
39148
39158
  return H;
39149
- }().join("-"), I in G || (G[I] = !0, M.push(Q));
39159
+ }().join("-"), N in G || (G[N] = !0, M.push(Q));
39150
39160
  return M;
39151
- }, y = function(D) {
39152
- var _, M, I, W, G, J, Q, V, R, X, H, N, K, ie, re, ce;
39153
- if (D.length) {
39154
- for (M = D[0], K = D.slice(1), Q = [], H = m[M], V = 0, G = H.length; V < G; V++)
39155
- for (W = H[V], R = 0, J = L.length; R < J; R++) {
39156
- for (ie = L[R], _ = -1, I = X = 0, N = ie.length; 0 <= N ? X < N : X > N; I = 0 <= N ? ++X : --X)
39157
- if (ie[I][0] === W) {
39158
- _ = I;
39161
+ }, y = function(E) {
39162
+ var _, M, N, W, G, J, Q, V, R, X, H, I, K, ie, re, ce;
39163
+ if (E.length) {
39164
+ for (M = E[0], K = E.slice(1), Q = [], H = m[M], V = 0, G = H.length; V < G; V++)
39165
+ for (W = H[V], R = 0, J = D.length; R < J; R++) {
39166
+ for (ie = D[R], _ = -1, N = X = 0, I = ie.length; 0 <= I ? X < I : X > I; N = 0 <= I ? ++X : --X)
39167
+ if (ie[N][0] === W) {
39168
+ _ = N;
39159
39169
  break;
39160
39170
  }
39161
39171
  _ === -1 ? (ce = ie.concat([[W, M]]), Q.push(ce)) : (re = ie.slice(0), re.splice(_, 1), re.push([W, M]), Q.push(ie), Q.push(re));
39162
39172
  }
39163
- return L = v(Q), y(K);
39173
+ return D = v(Q), y(K);
39164
39174
  }
39165
- }, y(z), E = [], k = 0, S = L.length; k < S; k++) {
39166
- for (C = L[k], T = {}, P = 0, x = C.length; P < x; P++)
39175
+ }, y(z), q = [], k = 0, S = D.length; k < S; k++) {
39176
+ for (C = D[k], T = {}, P = 0, x = C.length; P < x; P++)
39167
39177
  $ = C[P], j = $[0], p = $[1], T[j] = p;
39168
- E.push(T);
39178
+ q.push(T);
39169
39179
  }
39170
- return E;
39180
+ return q;
39171
39181
  },
39172
39182
  l33t_match: function(m, p, v) {
39173
- var y, w, z, j, S, x, k, P, $, C, T, E, L, D, _, M;
39174
- for (p == null && (p = i), v == null && (v = a), k = [], C = this.enumerate_l33t_subs(this.relevant_l33t_subtable(m, v)), P = 0, z = C.length; P < z && (E = C[P], !this.empty(E)); P++)
39175
- for (D = this.translate(m, E), T = this.dictionary_match(D, p), $ = 0, j = T.length; $ < j; $++)
39183
+ var y, w, z, j, S, x, k, P, $, C, T, q, D, E, _, M;
39184
+ for (p == null && (p = i), v == null && (v = a), k = [], C = this.enumerate_l33t_subs(this.relevant_l33t_subtable(m, v)), P = 0, z = C.length; P < z && (q = C[P], !this.empty(q)); P++)
39185
+ for (E = this.translate(m, q), T = this.dictionary_match(E, p), $ = 0, j = T.length; $ < j; $++)
39176
39186
  if (S = T[$], _ = m.slice(S.i, +S.j + 1 || 9e9), _.toLowerCase() !== S.matched_word) {
39177
39187
  x = {};
39178
- for (L in E)
39179
- y = E[L], _.indexOf(L) !== -1 && (x[L] = y);
39188
+ for (D in q)
39189
+ y = q[D], _.indexOf(D) !== -1 && (x[D] = y);
39180
39190
  S.l33t = !0, S.token = _, S.sub = x, S.sub_display = function() {
39181
- var I;
39182
- I = [];
39191
+ var N;
39192
+ N = [];
39183
39193
  for (w in x)
39184
- M = x[w], I.push(w + " -> " + M);
39185
- return I;
39194
+ M = x[w], N.push(w + " -> " + M);
39195
+ return N;
39186
39196
  }().join(", "), k.push(S);
39187
39197
  }
39188
- return this.sorted(k.filter(function(I) {
39189
- return I.token.length > 1;
39198
+ return this.sorted(k.filter(function(N) {
39199
+ return N.token.length > 1;
39190
39200
  }));
39191
39201
  },
39192
39202
  spatial_match: function(m, p) {
@@ -39198,13 +39208,13 @@ function y$e() {
39198
39208
  },
39199
39209
  SHIFTED_RX: /[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/,
39200
39210
  spatial_match_helper: function(m, p, v) {
39201
- var y, w, z, j, S, x, k, P, $, C, T, E, L, D, _;
39211
+ var y, w, z, j, S, x, k, P, $, C, T, q, D, E, _;
39202
39212
  for (T = [], k = 0; k < m.length - 1; )
39203
- for (P = k + 1, $ = null, _ = 0, (v === "qwerty" || v === "dvorak") && this.SHIFTED_RX.exec(m.charAt(k)) ? D = 1 : D = 0; ; ) {
39204
- if (L = m.charAt(P - 1), S = !1, x = -1, j = -1, w = p[L] || [], P < m.length) {
39205
- for (z = m.charAt(P), E = 0, C = w.length; E < C; E++)
39206
- if (y = w[E], j += 1, y && y.indexOf(z) !== -1) {
39207
- S = !0, x = j, y.indexOf(z) === 1 && (D += 1), $ !== x && (_ += 1, $ = x);
39213
+ for (P = k + 1, $ = null, _ = 0, (v === "qwerty" || v === "dvorak") && this.SHIFTED_RX.exec(m.charAt(k)) ? E = 1 : E = 0; ; ) {
39214
+ if (D = m.charAt(P - 1), S = !1, x = -1, j = -1, w = p[D] || [], P < m.length) {
39215
+ for (z = m.charAt(P), q = 0, C = w.length; q < C; q++)
39216
+ if (y = w[q], j += 1, y && y.indexOf(z) !== -1) {
39217
+ S = !0, x = j, y.indexOf(z) === 1 && (E += 1), $ !== x && (_ += 1, $ = x);
39208
39218
  break;
39209
39219
  }
39210
39220
  }
@@ -39218,7 +39228,7 @@ function y$e() {
39218
39228
  token: m.slice(k, P),
39219
39229
  graph: v,
39220
39230
  turns: _,
39221
- shifted_count: D
39231
+ shifted_count: E
39222
39232
  }), k = P;
39223
39233
  break;
39224
39234
  }
@@ -39226,9 +39236,9 @@ function y$e() {
39226
39236
  return T;
39227
39237
  },
39228
39238
  repeat_match: function(m) {
39229
- var p, v, y, w, z, j, S, x, k, P, $, C, T, E, L;
39230
- for (E = [], z = /(.+)\1+/g, P = /(.+?)\1+/g, $ = /^(.+?)\1+$/, k = 0; k < m.length && (z.lastIndex = P.lastIndex = k, j = z.exec(m), C = P.exec(m), j != null); )
39231
- j[0].length > C[0].length ? (T = j, w = $.exec(T[0])[1]) : (T = C, w = T[1]), L = [T.index, T.index + T[0].length - 1], S = L[0], x = L[1], p = g.most_guessable_match_sequence(w, this.omnimatch(w)), y = p.sequence, v = p.guesses, E.push({
39239
+ var p, v, y, w, z, j, S, x, k, P, $, C, T, q, D;
39240
+ for (q = [], z = /(.+)\1+/g, P = /(.+?)\1+/g, $ = /^(.+?)\1+$/, k = 0; k < m.length && (z.lastIndex = P.lastIndex = k, j = z.exec(m), C = P.exec(m), j != null); )
39241
+ j[0].length > C[0].length ? (T = j, w = $.exec(T[0])[1]) : (T = C, w = T[1]), D = [T.index, T.index + T[0].length - 1], S = D[0], x = D[1], p = g.most_guessable_match_sequence(w, this.omnimatch(w)), y = p.sequence, v = p.guesses, q.push({
39232
39242
  pattern: "repeat",
39233
39243
  i: S,
39234
39244
  j: x,
@@ -39238,7 +39248,7 @@ function y$e() {
39238
39248
  base_matches: y,
39239
39249
  repeat_count: T[0].length / w.length
39240
39250
  }), k = x + 1;
39241
- return E;
39251
+ return q;
39242
39252
  },
39243
39253
  MAX_DELTA: 5,
39244
39254
  sequence_match: function(m) {
@@ -39247,15 +39257,15 @@ function y$e() {
39247
39257
  return [];
39248
39258
  for (k = /* @__PURE__ */ function(P) {
39249
39259
  return function($, C, T) {
39250
- var E, L, D, _;
39251
- if ((C - $ > 1 || Math.abs(T) === 1) && 0 < (E = Math.abs(T)) && E <= P.MAX_DELTA)
39252
- return _ = m.slice($, +C + 1 || 9e9), /^[a-z]+$/.test(_) ? (L = "lower", D = 26) : /^[A-Z]+$/.test(_) ? (L = "upper", D = 26) : /^\d+$/.test(_) ? (L = "digits", D = 10) : (L = "unicode", D = 26), x.push({
39260
+ var q, D, E, _;
39261
+ if ((C - $ > 1 || Math.abs(T) === 1) && 0 < (q = Math.abs(T)) && q <= P.MAX_DELTA)
39262
+ return _ = m.slice($, +C + 1 || 9e9), /^[a-z]+$/.test(_) ? (D = "lower", E = 26) : /^[A-Z]+$/.test(_) ? (D = "upper", E = 26) : /^\d+$/.test(_) ? (D = "digits", E = 10) : (D = "unicode", E = 26), x.push({
39253
39263
  pattern: "sequence",
39254
39264
  i: $,
39255
39265
  j: C,
39256
39266
  token: m.slice($, +C + 1 || 9e9),
39257
- sequence_name: L,
39258
- sequence_space: D,
39267
+ sequence_name: D,
39268
+ sequence_space: E,
39259
39269
  ascending: T > 0
39260
39270
  });
39261
39271
  };
@@ -39279,17 +39289,17 @@ function y$e() {
39279
39289
  return this.sorted(v);
39280
39290
  },
39281
39291
  date_match: function(m) {
39282
- var p, v, y, w, z, j, S, x, k, P, $, C, T, E, L, D, _, M, I, W, G, J, Q, V, R, X, H, N, K, ie, re, ce, Pe, Oe;
39283
- for (C = [], T = /^\d{4,8}$/, E = /^(\d{1,4})([\s\/\\_.-])(\d{1,2})\2(\d{1,4})$/, j = _ = 0, G = m.length - 4; 0 <= G ? _ <= G : _ >= G; j = 0 <= G ? ++_ : --_)
39292
+ var p, v, y, w, z, j, S, x, k, P, $, C, T, q, D, E, _, M, N, W, G, J, Q, V, R, X, H, I, K, ie, re, ce, Pe, Oe;
39293
+ for (C = [], T = /^\d{4,8}$/, q = /^(\d{1,4})([\s\/\\_.-])(\d{1,2})\2(\d{1,4})$/, j = _ = 0, G = m.length - 4; 0 <= G ? _ <= G : _ >= G; j = 0 <= G ? ++_ : --_)
39284
39294
  for (S = M = J = j + 3, Q = j + 7; (J <= Q ? M <= Q : M >= Q) && !(S >= m.length); S = J <= Q ? ++M : --M)
39285
39295
  if (Oe = m.slice(j, +S + 1 || 9e9), !!T.exec(Oe)) {
39286
- for (y = [], V = n[Oe.length], I = 0, P = V.length; I < P; I++)
39287
- R = V[I], x = R[0], k = R[1], z = this.map_ints_to_dmy([parseInt(Oe.slice(0, x)), parseInt(Oe.slice(x, k)), parseInt(Oe.slice(k))]), z != null && y.push(z);
39296
+ for (y = [], V = n[Oe.length], N = 0, P = V.length; N < P; N++)
39297
+ R = V[N], x = R[0], k = R[1], z = this.map_ints_to_dmy([parseInt(Oe.slice(0, x)), parseInt(Oe.slice(x, k)), parseInt(Oe.slice(k))]), z != null && y.push(z);
39288
39298
  if (y.length > 0) {
39289
- for (p = y[0], L = function(Le) {
39299
+ for (p = y[0], D = function(Le) {
39290
39300
  return Math.abs(Le.year - g.REFERENCE_YEAR);
39291
- }, D = L(y[0]), X = y.slice(1), W = 0, $ = X.length; W < $; W++)
39292
- v = X[W], w = L(v), w < D && (H = [v, w], p = H[0], D = H[1]);
39301
+ }, E = D(y[0]), X = y.slice(1), W = 0, $ = X.length; W < $; W++)
39302
+ v = X[W], w = D(v), w < E && (H = [v, w], p = H[0], E = H[1]);
39293
39303
  C.push({
39294
39304
  pattern: "date",
39295
39305
  token: Oe,
@@ -39302,9 +39312,9 @@ function y$e() {
39302
39312
  });
39303
39313
  }
39304
39314
  }
39305
- for (j = ce = 0, N = m.length - 6; 0 <= N ? ce <= N : ce >= N; j = 0 <= N ? ++ce : --ce)
39315
+ for (j = ce = 0, I = m.length - 6; 0 <= I ? ce <= I : ce >= I; j = 0 <= I ? ++ce : --ce)
39306
39316
  for (S = Pe = K = j + 5, ie = j + 9; (K <= ie ? Pe <= ie : Pe >= ie) && !(S >= m.length); S = K <= ie ? ++Pe : --Pe)
39307
- Oe = m.slice(j, +S + 1 || 9e9), re = E.exec(Oe), re != null && (z = this.map_ints_to_dmy([parseInt(re[1]), parseInt(re[3]), parseInt(re[4])]), z != null && C.push({
39317
+ Oe = m.slice(j, +S + 1 || 9e9), re = q.exec(Oe), re != null && (z = this.map_ints_to_dmy([parseInt(re[1]), parseInt(re[3]), parseInt(re[4])]), z != null && C.push({
39308
39318
  pattern: "date",
39309
39319
  token: Oe,
39310
39320
  i: j,
@@ -39325,25 +39335,25 @@ function y$e() {
39325
39335
  }));
39326
39336
  },
39327
39337
  map_ints_to_dmy: function(m) {
39328
- var p, v, y, w, z, j, S, x, k, P, $, C, T, E, L, D;
39338
+ var p, v, y, w, z, j, S, x, k, P, $, C, T, q, D, E;
39329
39339
  if (!(m[1] > 31 || m[1] <= 0)) {
39330
- for (S = 0, x = 0, L = 0, j = 0, y = m.length; j < y; j++) {
39340
+ for (S = 0, x = 0, D = 0, j = 0, y = m.length; j < y; j++) {
39331
39341
  if (v = m[j], 99 < v && v < e || v > t)
39332
39342
  return;
39333
- v > 31 && (x += 1), v > 12 && (S += 1), v <= 0 && (L += 1);
39343
+ v > 31 && (x += 1), v > 12 && (S += 1), v <= 0 && (D += 1);
39334
39344
  }
39335
- if (!(x >= 2 || S === 3 || L >= 2)) {
39345
+ if (!(x >= 2 || S === 3 || D >= 2)) {
39336
39346
  for (P = [[m[2], m.slice(0, 2)], [m[0], m.slice(1, 3)]], k = 0, w = P.length; k < w; k++)
39337
- if (C = P[k], D = C[0], E = C[1], e <= D && D <= t)
39338
- return p = this.map_ints_to_dm(E), p != null ? {
39339
- year: D,
39347
+ if (C = P[k], E = C[0], q = C[1], e <= E && E <= t)
39348
+ return p = this.map_ints_to_dm(q), p != null ? {
39349
+ year: E,
39340
39350
  month: p.month,
39341
39351
  day: p.day
39342
39352
  } : void 0;
39343
39353
  for ($ = 0, z = P.length; $ < z; $++)
39344
- if (T = P[$], D = T[0], E = T[1], p = this.map_ints_to_dm(E), p != null)
39345
- return D = this.two_to_four_digit_year(D), {
39346
- year: D,
39354
+ if (T = P[$], E = T[0], q = T[1], p = this.map_ints_to_dm(q), p != null)
39355
+ return E = this.two_to_four_digit_year(E), {
39356
+ year: E,
39347
39357
  month: p.month,
39348
39358
  day: p.day
39349
39359
  };
@@ -39569,7 +39579,7 @@ const C$e = Ae({ name: "ant-design-close-circle-twotone", render: _$e }), M$e =
39569
39579
  }),
39570
39580
  emits: ["update:modelValue", "update:validate"],
39571
39581
  setup(t) {
39572
- const e = Ow(t, "modelValue"), n = Ow(t, "validate"), r = q(() => j$e(e.value));
39582
+ const e = Ow(t, "modelValue"), n = Ow(t, "validate"), r = L(() => j$e(e.value));
39573
39583
  function a(o) {
39574
39584
  return () => e.value === "" ? !1 : Array.isArray(r.value.sequence) ? r.value.sequence.every((s) => s?.pattern !== o) : !1;
39575
39585
  }
@@ -39692,7 +39702,7 @@ const C$e = Ae({ name: "ant-design-close-circle-twotone", render: _$e }), M$e =
39692
39702
  {
39693
39703
  path: "/change-password/:changePassWordToken",
39694
39704
  name: "ChangePassword",
39695
- component: () => import("./index-DdpFFd2P.js"),
39705
+ component: () => import("./index-DWjWJWRj.js"),
39696
39706
  // 特殊处理changelog-password路由,不允许直接访问
39697
39707
  // 其实应该移入到鉴权组路由,但是会导致需要频繁挂载销毁路由
39698
39708
  beforeEnter: (t) => La(t.params.changePassWordToken) ? { name: "Login" } : !0,
@@ -39704,7 +39714,7 @@ const C$e = Ae({ name: "ant-design-close-circle-twotone", render: _$e }), M$e =
39704
39714
  {
39705
39715
  path: "/change-organization/:orgId",
39706
39716
  name: "ChangeOrganization",
39707
- component: () => import("./index-Cjb0FUf5.js"),
39717
+ component: () => import("./index-pQQjVA76.js"),
39708
39718
  beforeEnter: (t) => {
39709
39719
  const e = Pn();
39710
39720
  return La(t.params.orgId) || t.params.orgId !== e.user.orgId ? { name: "Login" } : !0;
@@ -39758,7 +39768,7 @@ function B$e(t) {
39758
39768
  const JD = {
39759
39769
  path: "/not-permission",
39760
39770
  name: "NotPermission",
39761
- component: () => import("./index-DZoZssaF.js"),
39771
+ component: () => import("./index-Cv6Xl5EV.js"),
39762
39772
  meta: {
39763
39773
  whiteList: !0,
39764
39774
  title: "无权限访问"
@@ -40030,7 +40040,7 @@ const n_e = Ae({ name: "line-md-loading-twotone-loop", render: t_e }), r_e = { c
40030
40040
  disabled: { type: Boolean, default: !1 }
40031
40041
  },
40032
40042
  setup(t) {
40033
- const e = t, n = q(() => [
40043
+ const e = t, n = L(() => [
40034
40044
  "focus:outline-none focus-visible:outline-0 cursor-pointer disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",
40035
40045
  e.block ? "w-full flex justify-center items-center" : "inline-flex items-center",
40036
40046
  e.outline ? "shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark:bg-dark hover:not-disabled:bg-ui-primary/10 dark:hover:not-disabled:bg-ui-primary/10 focus-visible:ring-2" : "shadow-sm text-ui-text bg-ui-primary hover:bg-ui-primary/75 disabled:bg-ui-primary/90 focus-visible:ring-inset focus-visible:ring-2"
@@ -40180,15 +40190,15 @@ const b_e = Ae({ name: "ri-external-link-fill", render: g_e }), v_e = { class: "
40180
40190
  name: "LayoutContent",
40181
40191
  __name: "index",
40182
40192
  setup(t) {
40183
- const e = Ut(), { settingsStore: n, keepAliveStore: r } = De(), a = q(() => !!e.meta.iframe), i = q(() => !!e.meta.link);
40193
+ const e = Ut(), { settingsStore: n, keepAliveStore: r } = De(), a = L(() => !!e.meta.iframe), i = L(() => !!e.meta.link);
40184
40194
  function o(l, { slots: c }) {
40185
40195
  return c?.default?.();
40186
40196
  }
40187
- const s = q(() => {
40197
+ const s = L(() => {
40188
40198
  const l = e.matched?.[0]?.meta?.provider;
40189
40199
  return l ? typeof l == "function" ? ts(l) : l : o;
40190
40200
  });
40191
- return q(() => !!e.meta?.cache), le(
40201
+ return L(() => !!e.meta?.cache), le(
40192
40202
  () => e.name,
40193
40203
  (l, c) => {
40194
40204
  l && e.meta?.cache && r.add(String(l));
@@ -40291,7 +40301,7 @@ const S_e = Ae({ name: "ri-copyright-line", render: x_e }), P_e = {
40291
40301
  showTitle: { type: Boolean, default: !0 }
40292
40302
  },
40293
40303
  setup(t) {
40294
- const { settingsStore: e, appTitle: n } = De(), r = q(() => ({
40304
+ const { settingsStore: e, appTitle: n } = De(), r = L(() => ({
40295
40305
  ...e.settings.home.enable && { name: "Home" }
40296
40306
  }));
40297
40307
  return (a, i) => {
@@ -40330,7 +40340,7 @@ const S_e = Ae({ name: "ri-copyright-line", render: x_e }), P_e = {
40330
40340
  items: {}
40331
40341
  },
40332
40342
  setup(t) {
40333
- const e = t, n = q(() => e.items.filter((r) => !r?.hide));
40343
+ const e = t, n = L(() => e.items.filter((r) => !r?.hide));
40334
40344
  return (r, a) => {
40335
40345
  const i = St("VMenu");
40336
40346
  return A(), ae(i, At({
@@ -40708,7 +40718,7 @@ function yI(t, e, n) {
40708
40718
  window.addEventListener(t, e, n), r(() => window.removeEventListener(t, e, n));
40709
40719
  });
40710
40720
  }
40711
- function bCe(t, e, n = q(() => !0)) {
40721
+ function bCe(t, e, n = L(() => !0)) {
40712
40722
  function r(i, o) {
40713
40723
  if (!n.value || i.defaultPrevented) return;
40714
40724
  let s = o(i);
@@ -40870,10 +40880,10 @@ var xI = ((t) => (t[t.None = 1] = "None", t[t.InitialFocus = 2] = "InitialFocus"
40870
40880
  let ko = Object.assign(ee({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: Y(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(t, { attrs: e, slots: n, expose: r }) {
40871
40881
  let a = Y(null);
40872
40882
  r({ el: a, $el: a });
40873
- let i = q(() => ti(a)), o = Y(!1);
40874
- je(() => o.value = !0), kt(() => o.value = !1), xCe({ ownerDocument: i }, q(() => o.value && !!(t.features & 16)));
40875
- let s = SCe({ ownerDocument: i, container: a, initialFocus: q(() => t.initialFocus) }, q(() => o.value && !!(t.features & 2)));
40876
- PCe({ ownerDocument: i, container: a, containers: t.containers, previousActiveElement: s }, q(() => o.value && !!(t.features & 8)));
40883
+ let i = L(() => ti(a)), o = Y(!1);
40884
+ je(() => o.value = !0), kt(() => o.value = !1), xCe({ ownerDocument: i }, L(() => o.value && !!(t.features & 16)));
40885
+ let s = SCe({ ownerDocument: i, container: a, initialFocus: L(() => t.initialFocus) }, L(() => o.value && !!(t.features & 2)));
40886
+ PCe({ ownerDocument: i, container: a, containers: t.containers, previousActiveElement: s }, L(() => o.value && !!(t.features & 8)));
40877
40887
  let l = zCe();
40878
40888
  function c(g) {
40879
40889
  let m = $e(a);
@@ -41070,7 +41080,7 @@ _a.subscribe(() => {
41070
41080
  }
41071
41081
  });
41072
41082
  function ACe(t, e, n) {
41073
- let r = $Ce(_a), a = q(() => {
41083
+ let r = $Ce(_a), a = L(() => {
41074
41084
  let i = t.value ? r.value.get(t.value) : void 0;
41075
41085
  return i ? i.count > 0 : !1;
41076
41086
  });
@@ -41160,7 +41170,7 @@ function VCe({ slot: t = Y({}), name: e = "Description", props: n = {} } = {}) {
41160
41170
  o !== -1 && r.value.splice(o, 1);
41161
41171
  };
41162
41172
  }
41163
- return qe(_I, { register: a, slot: t, name: e, props: n }), q(() => r.value.length > 0 ? r.value.join(" ") : void 0);
41173
+ return qe(_I, { register: a, slot: t, name: e, props: n }), L(() => r.value.length > 0 ? r.value.join(" ") : void 0);
41164
41174
  }
41165
41175
  let BCe = ee({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: null } }, setup(t, { attrs: e, slots: n }) {
41166
41176
  var r;
@@ -41191,7 +41201,7 @@ function rL(t, e) {
41191
41201
  return n <= 0 ? M2.delete(t) : M2.set(t, n), n;
41192
41202
  }
41193
41203
  let CI = ee({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(t, { slots: e, attrs: n }) {
41194
- let r = Y(null), a = q(() => ti(r)), i = qCe(), o = ye(MI, null), s = Y(i === !0 || o == null ? NCe(r.value) : o.resolveTarget());
41204
+ let r = Y(null), a = L(() => ti(r)), i = qCe(), o = ye(MI, null), s = Y(i === !0 || o == null ? NCe(r.value) : o.resolveTarget());
41195
41205
  s.value && rL(s.value, (h) => h + 1);
41196
41206
  let l = Y(!1);
41197
41207
  je(() => {
@@ -41256,39 +41266,39 @@ let $l = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", _9 = ee({ name: "Dialog", inher
41256
41266
  je(() => {
41257
41267
  l.value = !0;
41258
41268
  });
41259
- let c = !1, u = q(() => t.role === "dialog" || t.role === "alertdialog" ? t.role : (c || (c = !0, console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), f = Y(0), h = $9(), g = q(() => t.open === $l && h !== null ? (h.value & ln.Open) === ln.Open : t.open), m = Y(null), p = q(() => ti(m));
41269
+ let c = !1, u = L(() => t.role === "dialog" || t.role === "alertdialog" ? t.role : (c || (c = !0, console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), f = Y(0), h = $9(), g = L(() => t.open === $l && h !== null ? (h.value & ln.Open) === ln.Open : t.open), m = Y(null), p = L(() => ti(m));
41260
41270
  if (a({ el: m, $el: m }), !(t.open !== $l || h !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
41261
41271
  if (typeof g.value != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${g.value === $l ? void 0 : t.open}`);
41262
- let v = q(() => l.value && g.value ? 0 : 1), y = q(() => v.value === 0), w = q(() => f.value > 1), z = ye(H2, null) !== null, [j, S] = RCe(), { resolveContainers: x, mainTreeNodeRef: k, MainTreeNode: P } = ECe({ portals: j, defaultContainers: [q(() => {
41272
+ let v = L(() => l.value && g.value ? 0 : 1), y = L(() => v.value === 0), w = L(() => f.value > 1), z = ye(H2, null) !== null, [j, S] = RCe(), { resolveContainers: x, mainTreeNodeRef: k, MainTreeNode: P } = ECe({ portals: j, defaultContainers: [L(() => {
41263
41273
  var Q;
41264
- return (Q = I.panelRef.value) != null ? Q : m.value;
41265
- })] }), $ = q(() => w.value ? "parent" : "leaf"), C = q(() => h !== null ? (h.value & ln.Closing) === ln.Closing : !1), T = q(() => z || C.value ? !1 : y.value), E = q(() => {
41274
+ return (Q = N.panelRef.value) != null ? Q : m.value;
41275
+ })] }), $ = L(() => w.value ? "parent" : "leaf"), C = L(() => h !== null ? (h.value & ln.Closing) === ln.Closing : !1), T = L(() => z || C.value ? !1 : y.value), q = L(() => {
41266
41276
  var Q, V, R;
41267
41277
  return (R = Array.from((V = (Q = p.value) == null ? void 0 : Q.querySelectorAll("body > *")) != null ? V : []).find((X) => X.id === "headlessui-portal-root" ? !1 : X.contains($e(k)) && X instanceof HTMLElement)) != null ? R : null;
41268
41278
  });
41269
- nL(E, T);
41270
- let L = q(() => w.value ? !0 : y.value), D = q(() => {
41279
+ nL(q, T);
41280
+ let D = L(() => w.value ? !0 : y.value), E = L(() => {
41271
41281
  var Q, V, R;
41272
41282
  return (R = Array.from((V = (Q = p.value) == null ? void 0 : Q.querySelectorAll("[data-headlessui-portal]")) != null ? V : []).find((X) => X.contains($e(k)) && X instanceof HTMLElement)) != null ? R : null;
41273
41283
  });
41274
- nL(D, L), LCe({ type: "Dialog", enabled: q(() => v.value === 0), element: m, onUpdate: (Q, V) => {
41284
+ nL(E, D), LCe({ type: "Dialog", enabled: L(() => v.value === 0), element: m, onUpdate: (Q, V) => {
41275
41285
  if (V === "Dialog") return Kt(Q, { [C2.Add]: () => f.value += 1, [C2.Remove]: () => f.value -= 1 });
41276
41286
  } });
41277
- let _ = VCe({ name: "DialogDescription", slot: q(() => ({ open: g.value })) }), M = Y(null), I = { titleId: M, panelRef: Y(null), dialogState: v, setTitleId(Q) {
41287
+ let _ = VCe({ name: "DialogDescription", slot: L(() => ({ open: g.value })) }), M = Y(null), N = { titleId: M, panelRef: Y(null), dialogState: v, setTitleId(Q) {
41278
41288
  M.value !== Q && (M.value = Q);
41279
41289
  }, close() {
41280
41290
  e("close", !1);
41281
41291
  } };
41282
- qe(H2, I);
41283
- let W = q(() => !(!y.value || w.value));
41292
+ qe(H2, N);
41293
+ let W = L(() => !(!y.value || w.value));
41284
41294
  bCe(x, (Q, V) => {
41285
- Q.preventDefault(), I.close(), wt(() => V?.focus());
41295
+ Q.preventDefault(), N.close(), wt(() => V?.focus());
41286
41296
  }, W);
41287
- let G = q(() => !(w.value || v.value !== 0));
41297
+ let G = L(() => !(w.value || v.value !== 0));
41288
41298
  zI((o = p.value) == null ? void 0 : o.defaultView, "keydown", (Q) => {
41289
- G.value && (Q.defaultPrevented || Q.key === vn.Escape && (Q.preventDefault(), Q.stopPropagation(), I.close()));
41299
+ G.value && (Q.defaultPrevented || Q.key === vn.Escape && (Q.preventDefault(), Q.stopPropagation(), N.close()));
41290
41300
  });
41291
- let J = q(() => !(C.value || v.value !== 0 || z));
41301
+ let J = L(() => !(C.value || v.value !== 0 || z));
41292
41302
  return ACe(p, J, (Q) => {
41293
41303
  var V;
41294
41304
  return { containers: [...(V = Q.containers) != null ? V : [], x] };
@@ -41298,8 +41308,8 @@ let $l = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", _9 = ee({ name: "Dialog", inher
41298
41308
  if (!V) return;
41299
41309
  let R = new ResizeObserver((X) => {
41300
41310
  for (let H of X) {
41301
- let N = H.target.getBoundingClientRect();
41302
- N.x === 0 && N.y === 0 && N.width === 0 && N.height === 0 && I.close();
41311
+ let I = H.target.getBoundingClientRect();
41312
+ I.x === 0 && I.y === 0 && I.width === 0 && I.height === 0 && N.close();
41303
41313
  }
41304
41314
  });
41305
41315
  R.observe(V), Q(() => R.disconnect());
@@ -41381,7 +41391,7 @@ function Is(t) {
41381
41391
  }
41382
41392
  let T9 = Symbol("TabsSSRContext"), QCe = ee({ name: "TabGroup", emits: { change: (t) => !0 }, props: { as: { type: [Object, String], default: "template" }, selectedIndex: { type: [Number], default: null }, defaultIndex: { type: [Number], default: 0 }, vertical: { type: [Boolean], default: !1 }, manual: { type: [Boolean], default: !1 } }, inheritAttrs: !1, setup(t, { slots: e, attrs: n, emit: r }) {
41383
41393
  var a;
41384
- let i = Y((a = t.selectedIndex) != null ? a : t.defaultIndex), o = Y([]), s = Y([]), l = q(() => t.selectedIndex !== null), c = q(() => l.value ? t.selectedIndex : i.value);
41394
+ let i = Y((a = t.selectedIndex) != null ? a : t.defaultIndex), o = Y([]), s = Y([]), l = L(() => t.selectedIndex !== null), c = L(() => l.value ? t.selectedIndex : i.value);
41385
41395
  function u(p) {
41386
41396
  var v;
41387
41397
  let y = di(f.tabs.value, $e), w = di(f.panels.value, $e), z = y.filter((j) => {
@@ -41398,10 +41408,10 @@ let T9 = Symbol("TabsSSRContext"), QCe = ee({ name: "TabGroup", emits: { change:
41398
41408
  x === -1 && (x = f.selectedIndex.value), i.value = x, f.tabs.value = y, f.panels.value = w;
41399
41409
  }
41400
41410
  }
41401
- let f = { selectedIndex: q(() => {
41411
+ let f = { selectedIndex: L(() => {
41402
41412
  var p, v;
41403
41413
  return (v = (p = i.value) != null ? p : t.defaultIndex) != null ? v : null;
41404
- }), orientation: q(() => t.vertical ? "vertical" : "horizontal"), activation: q(() => t.manual ? "manual" : "auto"), tabs: o, panels: s, setSelectedIndex(p) {
41414
+ }), orientation: L(() => t.vertical ? "vertical" : "horizontal"), activation: L(() => t.manual ? "manual" : "auto"), tabs: o, panels: s, setSelectedIndex(p) {
41405
41415
  c.value !== p && r("change", p), l.value || u(p);
41406
41416
  }, registerTab(p) {
41407
41417
  var v;
@@ -41424,8 +41434,8 @@ let T9 = Symbol("TabsSSRContext"), QCe = ee({ name: "TabGroup", emits: { change:
41424
41434
  let h = Y({ tabs: [], panels: [] }), g = Y(!1);
41425
41435
  je(() => {
41426
41436
  g.value = !0;
41427
- }), qe(T9, q(() => g.value ? null : h.value));
41428
- let m = q(() => t.selectedIndex);
41437
+ }), qe(T9, L(() => g.value ? null : h.value));
41438
+ let m = L(() => t.selectedIndex);
41429
41439
  return je(() => {
41430
41440
  le([m], () => {
41431
41441
  var p;
@@ -41455,16 +41465,16 @@ let T9 = Symbol("TabsSSRContext"), QCe = ee({ name: "TabGroup", emits: { change:
41455
41465
  var a;
41456
41466
  let i = (a = t.id) != null ? a : `headlessui-tabs-tab-${qr()}`, o = Is("Tab"), s = Y(null);
41457
41467
  r({ el: s, $el: s }), je(() => o.registerTab(s)), kt(() => o.unregisterTab(s));
41458
- let l = ye(T9), c = q(() => {
41468
+ let l = ye(T9), c = L(() => {
41459
41469
  if (l.value) {
41460
41470
  let w = l.value.tabs.indexOf(i);
41461
41471
  return w === -1 ? l.value.tabs.push(i) - 1 : w;
41462
41472
  }
41463
41473
  return -1;
41464
- }), u = q(() => {
41474
+ }), u = L(() => {
41465
41475
  let w = o.tabs.value.indexOf(s);
41466
41476
  return w === -1 ? c.value : w;
41467
- }), f = q(() => u.value === o.selectedIndex.value);
41477
+ }), f = L(() => u.value === o.selectedIndex.value);
41468
41478
  function h(w) {
41469
41479
  var z;
41470
41480
  let j = w();
@@ -41504,7 +41514,7 @@ let T9 = Symbol("TabsSSRContext"), QCe = ee({ name: "TabGroup", emits: { change:
41504
41514
  function v(w) {
41505
41515
  w.preventDefault();
41506
41516
  }
41507
- let y = vCe(q(() => ({ as: t.as, type: e.type })), s);
41517
+ let y = vCe(L(() => ({ as: t.as, type: e.type })), s);
41508
41518
  return () => {
41509
41519
  var w, z;
41510
41520
  let j = { selected: f.value, disabled: (w = t.disabled) != null ? w : !1 }, { ...S } = t, x = { ref: s, onKeydown: g, onMousedown: v, onClick: p, id: i, role: "tab", type: y.value, "aria-controls": (z = $e(o.panels.value[u.value])) == null ? void 0 : z.id, "aria-selected": f.value, tabIndex: f.value ? 0 : -1, disabled: t.disabled ? !0 : void 0 };
@@ -41522,16 +41532,16 @@ ee({ name: "TabPanel", props: { as: { type: [Object, String], default: "div" },
41522
41532
  var a;
41523
41533
  let i = (a = t.id) != null ? a : `headlessui-tabs-panel-${qr()}`, o = Is("TabPanel"), s = Y(null);
41524
41534
  r({ el: s, $el: s }), je(() => o.registerPanel(s)), kt(() => o.unregisterPanel(s));
41525
- let l = ye(T9), c = q(() => {
41535
+ let l = ye(T9), c = L(() => {
41526
41536
  if (l.value) {
41527
41537
  let h = l.value.panels.indexOf(i);
41528
41538
  return h === -1 ? l.value.panels.push(i) - 1 : h;
41529
41539
  }
41530
41540
  return -1;
41531
- }), u = q(() => {
41541
+ }), u = L(() => {
41532
41542
  let h = o.panels.value.indexOf(s);
41533
41543
  return h === -1 ? c.value : h;
41534
- }), f = q(() => u.value === o.selectedIndex.value);
41544
+ }), f = L(() => u.value === o.selectedIndex.value);
41535
41545
  return () => {
41536
41546
  var h;
41537
41547
  let g = { selected: f.value }, { tabIndex: m, ...p } = t, v = { ref: s, id: i, role: "tabpanel", "aria-labelledby": (h = $e(o.tabs.value[u.value])) == null ? void 0 : h.id, tabIndex: f.value ? m : -1 };
@@ -41621,14 +41631,14 @@ let EI = Ni.RenderStrategy, Ia = ee({ props: { as: { type: [Object, String], def
41621
41631
  i.value &= ~ln.Closing, e("afterLeave");
41622
41632
  }
41623
41633
  if (!nMe() && wCe()) return () => He(Vu, { ...t, onBeforeEnter: o, onAfterEnter: s, onBeforeLeave: l, onAfterLeave: c }, r);
41624
- let u = Y(null), f = q(() => t.unmount ? Yr.Unmount : Yr.Hidden);
41634
+ let u = Y(null), f = L(() => t.unmount ? Yr.Unmount : Yr.Hidden);
41625
41635
  a({ el: u, $el: u });
41626
41636
  let { show: h, appear: g } = rMe(), { register: m, unregister: p } = aMe(), v = Y(h.value ? "visible" : "hidden"), y = { value: !0 }, w = qr(), z = { value: !1 }, j = AI(() => {
41627
41637
  !z.value && v.value !== "hidden" && (v.value = "hidden", p(w), c());
41628
41638
  });
41629
41639
  je(() => {
41630
- let L = m(w);
41631
- kt(L);
41640
+ let D = m(w);
41641
+ kt(D);
41632
41642
  }), Ge(() => {
41633
41643
  if (f.value === Yr.Hidden && w) {
41634
41644
  if (h.value && v.value !== "visible") {
@@ -41642,35 +41652,35 @@ let EI = Ni.RenderStrategy, Ia = ee({ props: { as: { type: [Object, String], def
41642
41652
  je(() => {
41643
41653
  Ge(() => {
41644
41654
  if (v.value === "visible") {
41645
- let L = $e(u);
41646
- if (L instanceof Comment && L.data === "") throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
41655
+ let D = $e(u);
41656
+ if (D instanceof Comment && D.data === "") throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
41647
41657
  }
41648
41658
  });
41649
41659
  });
41650
- function E(L) {
41651
- let D = y.value && !g.value, _ = $e(u);
41652
- !_ || !(_ instanceof HTMLElement) || D || (z.value = !0, h.value && o(), h.value || l(), L(h.value ? aL(_, S, x, k, P, (M) => {
41660
+ function q(D) {
41661
+ let E = y.value && !g.value, _ = $e(u);
41662
+ !_ || !(_ instanceof HTMLElement) || E || (z.value = !0, h.value && o(), h.value || l(), D(h.value ? aL(_, S, x, k, P, (M) => {
41653
41663
  z.value = !1, M === A2.Finished && s();
41654
41664
  }) : aL(_, $, C, T, P, (M) => {
41655
41665
  z.value = !1, M === A2.Finished && (Fu(j) || (v.value = "hidden", p(w), c()));
41656
41666
  })));
41657
41667
  }
41658
41668
  return je(() => {
41659
- le([h], (L, D, _) => {
41660
- E(_), y.value = !1;
41669
+ le([h], (D, E, _) => {
41670
+ q(_), y.value = !1;
41661
41671
  }, { immediate: !0 });
41662
- }), qe(A9, j), kCe(q(() => Kt(v.value, { visible: ln.Open, hidden: ln.Closed }) | i.value)), () => {
41663
- let { appear: L, show: D, enter: _, enterFrom: M, enterTo: I, entered: W, leave: G, leaveFrom: J, leaveTo: Q, ...V } = t, R = { ref: u }, X = { ...V, ...g.value && h.value && Bs.isServer ? { class: de([n.class, V.class, ...S, ...x]) } : {} };
41672
+ }), qe(A9, j), kCe(L(() => Kt(v.value, { visible: ln.Open, hidden: ln.Closed }) | i.value)), () => {
41673
+ let { appear: D, show: E, enter: _, enterFrom: M, enterTo: N, entered: W, leave: G, leaveFrom: J, leaveTo: Q, ...V } = t, R = { ref: u }, X = { ...V, ...g.value && h.value && Bs.isServer ? { class: de([n.class, V.class, ...S, ...x]) } : {} };
41664
41674
  return $t({ theirProps: X, ourProps: R, slot: {}, slots: r, attrs: n, features: EI, visible: v.value === "visible", name: "TransitionChild" });
41665
41675
  };
41666
41676
  } }), iMe = Ia, Vu = ee({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: n, slots: r }) {
41667
- let a = $9(), i = q(() => t.show === null && a !== null ? (a.value & ln.Open) === ln.Open : t.show);
41677
+ let a = $9(), i = L(() => t.show === null && a !== null ? (a.value & ln.Open) === ln.Open : t.show);
41668
41678
  Ge(() => {
41669
41679
  if (![!0, !1].includes(i.value)) throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.');
41670
41680
  });
41671
41681
  let o = Y(i.value ? "visible" : "hidden"), s = AI(() => {
41672
41682
  o.value = "hidden";
41673
- }), l = Y(!0), c = { show: i, appear: q(() => t.appear || !l.value) };
41683
+ }), l = Y(!0), c = { show: i, appear: L(() => t.appear || !l.value) };
41674
41684
  return je(() => {
41675
41685
  Ge(() => {
41676
41686
  l.value = !1, i.value ? o.value = "visible" : Fu(s) || (o.value = "hidden");
@@ -41723,14 +41733,14 @@ const qI = Ae({ name: "carbon-close", render: sMe }), lMe = { class: "fixed inse
41723
41733
  leave: "ease-in-out duration-500",
41724
41734
  leaveFrom: "opacity-100",
41725
41735
  leaveTo: "opacity-0"
41726
- }), o = q(() => ({
41736
+ }), o = L(() => ({
41727
41737
  enter: "ease-out duration-300",
41728
41738
  enterFrom: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
41729
41739
  enterTo: "opacity-100 translate-y-0 sm:scale-100",
41730
41740
  leave: "ease-in duration-200",
41731
41741
  leaveFrom: "opacity-100 translate-y-0 sm:scale-100",
41732
41742
  leaveTo: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
41733
- })), s = q({
41743
+ })), s = L({
41734
41744
  get() {
41735
41745
  return n.modelValue;
41736
41746
  },
@@ -42665,13 +42675,13 @@ const STe = () => {
42665
42675
  const S = c || bs, x = u || bs, k = [], P = [];
42666
42676
  let $ = !1, C = !1;
42667
42677
  if (Be(j, (T) => {
42668
- const { attributeName: E, target: L, type: D, oldValue: _, addedNodes: M, removedNodes: I } = T, W = D === "attributes", G = D === "childList", J = t === L, Q = W && E, V = Q && W9(L, E || ""), R = Rs(V) ? V : null, X = Q && _ !== R, H = BI(p, E) && X;
42678
+ const { attributeName: q, target: D, type: E, oldValue: _, addedNodes: M, removedNodes: N } = T, W = E === "attributes", G = E === "childList", J = t === D, Q = W && q, V = Q && W9(D, q || ""), R = Rs(V) ? V : null, X = Q && _ !== R, H = BI(p, q) && X;
42669
42679
  if (e && (G || !J)) {
42670
- const N = W && X, K = N && l && D2(L, l), re = (K ? !S(L, E, _, R) : !W || N) && !x(T, !!K, t, r);
42671
- Be(M, (ce) => it(k, ce)), Be(I, (ce) => it(k, ce)), C = C || re;
42680
+ const I = W && X, K = I && l && D2(D, l), re = (K ? !S(D, q, _, R) : !W || I) && !x(T, !!K, t, r);
42681
+ Be(M, (ce) => it(k, ce)), Be(N, (ce) => it(k, ce)), C = C || re;
42672
42682
  }
42673
- !e && J && X && !S(L, E, _, R) && (it(P, E), $ = $ || H);
42674
- }), g((T) => q2(k).reduce((E, L) => (it(E, nR(T, L)), D2(L, T) ? it(E, L) : E), [])), e)
42683
+ !e && J && X && !S(D, q, _, R) && (it(P, q), $ = $ || H);
42684
+ }), g((T) => q2(k).reduce((q, D) => (it(q, nR(T, D)), D2(D, T) ? it(q, D) : q), [])), e)
42675
42685
  return !z && C && n(!1), [!1];
42676
42686
  if (!qc(P) || $) {
42677
42687
  const T = [q2(P), $];
@@ -42785,54 +42795,54 @@ const OR = (t, e, n) => {
42785
42795
  w: Le.w + ke.w,
42786
42796
  h: Le.h + ke.h
42787
42797
  };
42788
- }), E = Dc(r, {
42798
+ }), q = Dc(r, {
42789
42799
  p: () => a,
42790
42800
  v: () => i,
42791
- m(H, N) {
42792
- const [K] = H, [ie] = N;
42801
+ m(H, I) {
42802
+ const [K] = H, [ie] = I;
42793
42803
  return [gs(Gn(K), Gn(ie)).reduce((re, ce) => (re[ce] = K[ce] || ie[ce], re), {})];
42794
42804
  }
42795
- }), L = (H) => {
42796
- const N = k(g);
42805
+ }), D = (H) => {
42806
+ const I = k(g);
42797
42807
  Fe(H, {
42798
- $t: c !== N
42808
+ $t: c !== I
42799
42809
  }), Fe(P, {
42800
- B: N
42801
- }), c = N;
42802
- }, D = (H, N) => {
42810
+ B: I
42811
+ }), c = I;
42812
+ }, E = (H, I) => {
42803
42813
  const [K, ie] = H, re = {
42804
42814
  Ct: ie
42805
42815
  };
42806
42816
  return Fe(P, {
42807
42817
  Ot: K
42808
- }), N || r(re), re;
42809
- }, _ = ({ _t: H, ft: N }) => {
42810
- const ie = !(H && !N) && $.U ? E : r, re = {
42811
- _t: H || N,
42812
- ft: N
42818
+ }), I || r(re), re;
42819
+ }, _ = ({ _t: H, ft: I }) => {
42820
+ const ie = !(H && !I) && $.U ? q : r, re = {
42821
+ _t: H || I,
42822
+ ft: I
42813
42823
  };
42814
- L(re), ie(re);
42815
- }, M = (H, N) => {
42824
+ D(re), ie(re);
42825
+ }, M = (H, I) => {
42816
42826
  const [, K] = T(), ie = {
42817
42827
  xt: K
42818
42828
  };
42819
- return L(ie), K && !N && (H ? r : E)(ie), ie;
42820
- }, I = (H, N, K) => {
42829
+ return D(ie), K && !I && (H ? r : q)(ie), ie;
42830
+ }, N = (H, I, K) => {
42821
42831
  const ie = {
42822
- Ht: N
42832
+ Ht: I
42823
42833
  };
42824
- return L(ie), N && !K && E(ie), ie;
42825
- }, [W, G] = y ? $Te(m, D) : [], J = !w && OR(m, _, {
42834
+ return D(ie), I && !K && q(ie), ie;
42835
+ }, [W, G] = y ? $Te(m, E) : [], J = !w && OR(m, _, {
42826
42836
  ft: !0
42827
- }), [Q, V] = zL(m, !1, I, {
42837
+ }), [Q, V] = zL(m, !1, N, {
42828
42838
  ct: h,
42829
42839
  et: h
42830
42840
  }), R = w && bi && new bi((H) => {
42831
- const N = H[H.length - 1].contentRect;
42841
+ const I = H[H.length - 1].contentRect;
42832
42842
  _({
42833
42843
  _t: !0,
42834
- ft: cR(N, l)
42835
- }), l = N;
42844
+ ft: cR(I, l)
42845
+ }), l = I;
42836
42846
  }), X = Dc(() => {
42837
42847
  const [, H] = T();
42838
42848
  r({
@@ -42844,16 +42854,16 @@ const OR = (t, e, n) => {
42844
42854
  });
42845
42855
  return [() => {
42846
42856
  R && R.observe(m);
42847
- const H = J && J(), N = W && W(), K = Q(), ie = $.G((re) => {
42848
- re ? E({
42857
+ const H = J && J(), I = W && W(), K = Q(), ie = $.G((re) => {
42858
+ re ? q({
42849
42859
  Et: re
42850
42860
  }) : X();
42851
42861
  });
42852
42862
  return () => {
42853
- R && R.disconnect(), H && H(), N && N(), s && s(), K(), ie();
42863
+ R && R.disconnect(), H && H(), I && I(), s && s(), K(), ie();
42854
42864
  };
42855
- }, ({ zt: H, Tt: N, It: K }) => {
42856
- const ie = {}, [re] = H("update.ignoreMutation"), [ce, Pe] = H("update.attributes"), [Oe, Le] = H("update.elementEvents"), [ke, Ne] = H("update.debounce"), Qe = Le || Pe, Re = N || K, zt = (Ue) => Qn(re) && re(Ue);
42865
+ }, ({ zt: H, Tt: I, It: K }) => {
42866
+ const ie = {}, [re] = H("update.ignoreMutation"), [ce, Pe] = H("update.attributes"), [Oe, Le] = H("update.elementEvents"), [ke, Ne] = H("update.debounce"), Qe = Le || Pe, Re = I || K, zt = (Ue) => Qn(re) && re(Ue);
42857
42867
  if (Qe) {
42858
42868
  o && o(), s && s();
42859
42869
  const [Ue, Ze] = zL(y || p, !0, M, {
@@ -42868,15 +42878,15 @@ const OR = (t, e, n) => {
42868
42878
  s = Ue(), o = Ze;
42869
42879
  }
42870
42880
  if (Ne)
42871
- if (E.O(), Wn(ke)) {
42881
+ if (q.O(), Wn(ke)) {
42872
42882
  const Ue = ke[0], Ze = ke[1];
42873
42883
  a = _r(Ue) && Ue, i = _r(Ze) && Ze;
42874
42884
  } else _r(ke) ? (a = ke, i = !1) : (a = !1, i = !1);
42875
42885
  if (Re) {
42876
42886
  const Ue = V(), Ze = G && G(), Je = o && o();
42877
- Ue && Fe(ie, I(Ue[0], Ue[1], Re)), Ze && Fe(ie, D(Ze[0], Re)), Je && Fe(ie, M(Je[0], Re));
42887
+ Ue && Fe(ie, N(Ue[0], Ue[1], Re)), Ze && Fe(ie, E(Ze[0], Re)), Je && Fe(ie, M(Je[0], Re));
42878
42888
  }
42879
- return L(ie), ie;
42889
+ return D(ie), ie;
42880
42890
  }, P];
42881
42891
  }, zR = (t, e) => Qn(e) ? e.apply(0, t) : e, CTe = (t, e, n, r) => {
42882
42892
  const a = V9(r) ? n : r;
@@ -42928,15 +42938,15 @@ const OR = (t, e, n) => {
42928
42938
  const [X, H] = V(R);
42929
42939
  ys(X, H);
42930
42940
  });
42931
- }, E = (Q, V, R) => {
42932
- const X = Iu(R), H = X ? R : !0, N = X ? !R : !0;
42933
- H && C(j, Q, V), N && C(S, Q, V);
42934
- }, L = () => {
42941
+ }, q = (Q, V, R) => {
42942
+ const X = Iu(R), H = X ? R : !0, I = X ? !R : !0;
42943
+ H && C(j, Q, V), I && C(S, Q, V);
42944
+ }, D = () => {
42935
42945
  const Q = $(), V = (R) => (X) => [X.Lt, {
42936
42946
  [a]: V2(R) + ""
42937
42947
  }];
42938
42948
  T(j, V(Q.x)), T(S, V(Q.y));
42939
- }, D = () => {
42949
+ }, E = () => {
42940
42950
  if (!$o) {
42941
42951
  const { Dt: Q } = n, V = fL(Q, un(m)), R = (X) => (H) => [H.Lt, {
42942
42952
  [i]: V2(X) + ""
@@ -42950,8 +42960,8 @@ const OR = (t, e, n) => {
42950
42960
  T(j, R(V.x)), T(S, R(V.y)), $o && (j.forEach(P.x.kt), S.forEach(P.y.kt));
42951
42961
  }, M = () => {
42952
42962
  if (v && !p) {
42953
- const { Rt: Q, Dt: V } = n, R = td(V), X = fL(V, un(m)), H = (N) => {
42954
- const { Lt: K } = N, ie = vs(K) === h && K, re = (ce, Pe, Oe) => {
42963
+ const { Rt: Q, Dt: V } = n, R = td(V), X = fL(V, un(m)), H = (I) => {
42964
+ const { Lt: K } = I, ie = vs(K) === h && K, re = (ce, Pe, Oe) => {
42955
42965
  const Le = Pe * ce;
42956
42966
  return sR(Oe ? Le : -Le);
42957
42967
  };
@@ -42964,20 +42974,20 @@ const OR = (t, e, n) => {
42964
42974
  };
42965
42975
  T(j, H), T(S, H);
42966
42976
  }
42967
- }, I = (Q) => {
42968
- const V = Q ? "x" : "y", X = $i(`${gn} ${Q ? fTe : mTe}`), H = $i(vR), N = $i(J9), K = {
42977
+ }, N = (Q) => {
42978
+ const V = Q ? "x" : "y", X = $i(`${gn} ${Q ? fTe : mTe}`), H = $i(vR), I = $i(J9), K = {
42969
42979
  Lt: X,
42970
42980
  Ut: H,
42971
- Mt: N
42981
+ Mt: I
42972
42982
  }, ie = P[V];
42973
- return it(Q ? j : S, K), it(z, [Yt(X, H), Yt(H, N), we(Ri, X), ie && ie.kt(K), r(K, E, Q)]), K;
42974
- }, W = we(I, !0), G = we(I, !1), J = () => (Yt(x, j[0].Lt), Yt(x, S[0].Lt), we(fn, z));
42983
+ return it(Q ? j : S, K), it(z, [Yt(X, H), Yt(H, I), we(Ri, X), ie && ie.kt(K), r(K, q, Q)]), K;
42984
+ }, W = we(N, !0), G = we(N, !1), J = () => (Yt(x, j[0].Lt), Yt(x, S[0].Lt), we(fn, z));
42975
42985
  return W(), G(), [{
42976
- Pt: L,
42977
- Nt: D,
42986
+ Pt: D,
42987
+ Nt: E,
42978
42988
  qt: _,
42979
42989
  Bt: M,
42980
- Ft: E,
42990
+ Ft: q,
42981
42991
  jt: {
42982
42992
  Xt: j,
42983
42993
  Yt: W,
@@ -42997,18 +43007,18 @@ const OR = (t, e, n) => {
42997
43007
  top: k.y
42998
43008
  });
42999
43009
  }, S = () => {
43000
- const k = "pointerup pointercancel lostpointercapture", P = `client${o ? "X" : "Y"}`, $ = o ? Uu : Wu, C = o ? "left" : "top", T = o ? "w" : "h", E = o ? "x" : "y", L = (_, M) => (I) => {
43001
- const { Rt: W } = n, G = _i(m)[T] - _i(p)[T], Q = M * I / G * W[E];
43010
+ const k = "pointerup pointercancel lostpointercapture", P = `client${o ? "X" : "Y"}`, $ = o ? Uu : Wu, C = o ? "left" : "top", T = o ? "w" : "h", q = o ? "x" : "y", D = (_, M) => (N) => {
43011
+ const { Rt: W } = n, G = _i(m)[T] - _i(p)[T], Q = M * N / G * W[q];
43002
43012
  sr(u, {
43003
- [E]: _ + Q
43013
+ [q]: _ + Q
43004
43014
  });
43005
- }, D = [];
43015
+ }, E = [];
43006
43016
  return Xe(m, "pointerdown", (_) => {
43007
- const M = yi(_.target, `.${J9}`) === p, I = M ? p : m, W = t.scrollbars, G = W[M ? "dragScroll" : "clickScroll"], { button: J, isPrimary: Q, pointerType: V } = _, { pointers: R } = W;
43017
+ const M = yi(_.target, `.${J9}`) === p, N = M ? p : m, W = t.scrollbars, G = W[M ? "dragScroll" : "clickScroll"], { button: J, isPrimary: Q, pointerType: V } = _, { pointers: R } = W;
43008
43018
  if (J === 0 && Q && G && (R || []).includes(V)) {
43009
- fn(D), z();
43010
- const H = !M && (_.shiftKey || G === "instant"), N = we(ed, p), K = we(ed, m), ie = (Ve, Ke) => (Ve || N())[C] - (Ke || K())[C], re = E2(ed(u)[$]) / _i(u)[T] || 1, ce = L(un(u)[E], 1 / re), Pe = _[P], Oe = N(), Le = K(), ke = Oe[$], Ne = ie(Oe, Le) + ke / 2, Qe = Pe - Le[C], Re = M ? 0 : Qe - Ne, zt = (Ve) => {
43011
- fn(Je), I.releasePointerCapture(Ve.pointerId);
43019
+ fn(E), z();
43020
+ const H = !M && (_.shiftKey || G === "instant"), I = we(ed, p), K = we(ed, m), ie = (Ve, Ke) => (Ve || I())[C] - (Ke || K())[C], re = E2(ed(u)[$]) / _i(u)[T] || 1, ce = D(un(u)[q], 1 / re), Pe = _[P], Oe = I(), Le = K(), ke = Oe[$], Ne = ie(Oe, Le) + ke / 2, Qe = Pe - Le[C], Re = M ? 0 : Qe - Ne, zt = (Ve) => {
43021
+ fn(Je), N.releasePointerCapture(Ve.pointerId);
43012
43022
  }, Ue = M || H, Ze = h(), Je = [Xe(f, k, zt), Xe(f, "selectstart", (Ve) => N2(Ve), {
43013
43023
  T: !1
43014
43024
  }), Xe(m, k, zt), Ue && Xe(m, "pointermove", (Ve) => ce(Re + (Ve[P] - Pe))), Ue && (() => {
@@ -43020,7 +43030,7 @@ const OR = (t, e, n) => {
43020
43030
  };
43021
43031
  (Tc(ft.x) > 3 || Tc(ft.y) > 3) && (h(), sr(u, Ve), j(ft), w(Ze));
43022
43032
  })];
43023
- if (I.setPointerCapture(_.pointerId), H)
43033
+ if (N.setPointerCapture(_.pointerId), H)
43024
43034
  ce(Re);
43025
43035
  else if (!M) {
43026
43036
  const Ve = Us(OTe);
@@ -43028,7 +43038,7 @@ const OR = (t, e, n) => {
43028
43038
  const Ke = Ve(ce, Re, ke, (ft) => {
43029
43039
  ft ? Ze() : it(Je, Ze);
43030
43040
  });
43031
- it(Je, Ke), it(D, we(Ke, !0));
43041
+ it(Je, Ke), it(E, we(Ke, !0));
43032
43042
  }
43033
43043
  }
43034
43044
  }
@@ -43072,72 +43082,72 @@ const OR = (t, e, n) => {
43072
43082
  }), S(), y, z]);
43073
43083
  }, ATe = (t, e, n, r, a, i) => {
43074
43084
  let o, s, l, c, u, f = bs, h = 0;
43075
- const g = ["mouse", "pen"], m = (V) => g.includes(V.pointerType), [p, v] = vi(), [y, w] = vi(100), [z, j] = vi(100), [S, x] = vi(() => h), [k, P] = TTe(t, a, r, HTe(e, a, r, (V) => m(V) && W())), { vt: $, Kt: C, bt: T } = a, { Ft: E, Pt: L, Nt: D, qt: _, Bt: M } = k, I = (V, R) => {
43085
+ const g = ["mouse", "pen"], m = (V) => g.includes(V.pointerType), [p, v] = vi(), [y, w] = vi(100), [z, j] = vi(100), [S, x] = vi(() => h), [k, P] = TTe(t, a, r, HTe(e, a, r, (V) => m(V) && W())), { vt: $, Kt: C, bt: T } = a, { Ft: q, Pt: D, Nt: E, qt: _, Bt: M } = k, N = (V, R) => {
43076
43086
  if (x(), V)
43077
- E(vL);
43087
+ q(vL);
43078
43088
  else {
43079
- const X = we(E, vL, !0);
43089
+ const X = we(q, vL, !0);
43080
43090
  h > 0 && !R ? S(X) : X();
43081
43091
  }
43082
43092
  }, W = () => {
43083
- (l ? !o : !c) && (I(!0), y(() => {
43084
- I(!1);
43093
+ (l ? !o : !c) && (N(!0), y(() => {
43094
+ N(!1);
43085
43095
  }));
43086
43096
  }, G = (V) => {
43087
- E(W2, V, !0), E(W2, V, !1);
43097
+ q(W2, V, !0), q(W2, V, !1);
43088
43098
  }, J = (V) => {
43089
- m(V) && (o = l, l && I(!0));
43099
+ m(V) && (o = l, l && N(!0));
43090
43100
  }, Q = [x, w, j, v, () => f(), Xe($, "pointerover", J, {
43091
43101
  A: !0
43092
43102
  }), Xe($, "pointerenter", J), Xe($, "pointerleave", (V) => {
43093
- m(V) && (o = !1, l && I(!1));
43103
+ m(V) && (o = !1, l && N(!1));
43094
43104
  }), Xe($, "pointermove", (V) => {
43095
43105
  m(V) && s && W();
43096
43106
  }), Xe(C, "scroll", (V) => {
43097
43107
  p(() => {
43098
- D(), W();
43108
+ E(), W();
43099
43109
  }), i(V), M();
43100
43110
  })];
43101
43111
  return [() => we(fn, it(Q, P())), ({ zt: V, It: R, Qt: X, Zt: H }) => {
43102
- const { tn: N, nn: K, sn: ie, en: re } = H || {}, { $t: ce, ft: Pe } = X || {}, { B: Oe } = n, { k: Le } = yr(), { cn: ke, j: Ne } = r, [Qe, Re] = V("showNativeOverlaidScrollbars"), [zt, Ue] = V("scrollbars.theme"), [Ze, Je] = V("scrollbars.visibility"), [Ve, Ke] = V("scrollbars.autoHide"), [ft, uo] = V("scrollbars.autoHideSuspend"), [Xs] = V("scrollbars.autoHideDelay"), [Qs, Zs] = V("scrollbars.dragScroll"), [Js, Ks] = V("scrollbars.clickScroll"), [Fr, fo] = V("overflow"), n1 = Pe && !R, r1 = Ne.x || Ne.y, a1 = N || K || re || ce || R, i1 = ie || Je || fo, _n = Qe && Le.x && Le.y, el = (ri, mo, tl) => {
43112
+ const { tn: I, nn: K, sn: ie, en: re } = H || {}, { $t: ce, ft: Pe } = X || {}, { B: Oe } = n, { k: Le } = yr(), { cn: ke, j: Ne } = r, [Qe, Re] = V("showNativeOverlaidScrollbars"), [zt, Ue] = V("scrollbars.theme"), [Ze, Je] = V("scrollbars.visibility"), [Ve, Ke] = V("scrollbars.autoHide"), [ft, uo] = V("scrollbars.autoHideSuspend"), [Xs] = V("scrollbars.autoHideDelay"), [Qs, Zs] = V("scrollbars.dragScroll"), [Js, Ks] = V("scrollbars.clickScroll"), [Fr, fo] = V("overflow"), n1 = Pe && !R, r1 = Ne.x || Ne.y, a1 = I || K || re || ce || R, i1 = ie || Je || fo, _n = Qe && Le.x && Le.y, el = (ri, mo, tl) => {
43103
43113
  const nl = ri.includes(Ii) && (Ze === Sr || Ze === "auto" && mo === Ii);
43104
- return E(hTe, nl, tl), nl;
43114
+ return q(hTe, nl, tl), nl;
43105
43115
  };
43106
43116
  if (h = Xs, n1 && (ft && r1 ? (G(!1), f(), z(() => {
43107
43117
  f = Xe(C, "scroll", we(G, !0), {
43108
43118
  A: !0
43109
43119
  });
43110
- })) : G(!0)), Re && E(uTe, _n), Ue && (E(u), E(zt, !0), u = zt), uo && !ft && G(!0), Ke && (s = Ve === "move", l = Ve === "leave", c = Ve === "never", I(c, !0)), Zs && E(bTe, Qs), Ks && E(gTe, !!Js), i1) {
43120
+ })) : G(!0)), Re && q(uTe, _n), Ue && (q(u), q(zt, !0), u = zt), uo && !ft && G(!0), Ke && (s = Ve === "move", l = Ve === "leave", c = Ve === "never", N(c, !0)), Zs && q(bTe, Qs), Ks && q(gTe, !!Js), i1) {
43111
43121
  const ri = el(Fr.x, ke.x, !0), mo = el(Fr.y, ke.y, !1);
43112
- E(pTe, !(ri && mo));
43122
+ q(pTe, !(ri && mo));
43113
43123
  }
43114
- a1 && (D(), L(), M(), re && _(), E(bL, !Ne.x, !0), E(bL, !Ne.y, !1), E(dTe, Oe && !T));
43124
+ a1 && (E(), D(), M(), re && _(), q(bL, !Ne.x, !0), q(bL, !Ne.y, !1), q(dTe, Oe && !T));
43115
43125
  }, {}, k];
43116
43126
  }, ETe = (t) => {
43117
43127
  const e = yr(), { K: n, U: r } = e, { elements: a } = n(), { padding: i, viewport: o, content: s } = a, l = Ec(t), c = l ? {} : t, { elements: u } = c, { padding: f, viewport: h, content: g } = u || {}, m = l ? t : c.target, p = rR(m), v = m.ownerDocument, y = v.documentElement, w = () => v.defaultView || Qt, z = we(CTe, [m]), j = we(jR, [m]), S = we($i, ""), x = we(z, S, o), k = we(j, S, s), P = (ke) => {
43118
43128
  const Ne = _i(ke), Qe = Fc(ke), Re = hr(ke, I9), zt = hr(ke, R9);
43119
43129
  return Qe.w - Ne.w > 0 && !wi(Re) || Qe.h - Ne.h > 0 && !wi(zt);
43120
- }, $ = x(h), C = $ === m, T = C && p, E = !C && k(g), L = !C && $ === E, D = T ? y : $, _ = T ? D : m, M = !C && j(S, i, f), I = !L && E, W = [I, D, M, _].map((ke) => Ec(ke) && !vs(ke) && ke), G = (ke) => ke && BI(W, ke), J = !G(D) && P(D) ? D : m, Q = T ? y : D, R = {
43130
+ }, $ = x(h), C = $ === m, T = C && p, q = !C && k(g), D = !C && $ === q, E = T ? y : $, _ = T ? E : m, M = !C && j(S, i, f), N = !D && q, W = [N, E, M, _].map((ke) => Ec(ke) && !vs(ke) && ke), G = (ke) => ke && BI(W, ke), J = !G(E) && P(E) ? E : m, Q = T ? y : E, R = {
43121
43131
  dt: m,
43122
43132
  vt: _,
43123
- L: D,
43133
+ L: E,
43124
43134
  rn: M,
43125
- ht: I,
43135
+ ht: N,
43126
43136
  gt: Q,
43127
- Kt: T ? v : D,
43137
+ Kt: T ? v : E,
43128
43138
  ln: p ? y : J,
43129
43139
  Gt: v,
43130
43140
  bt: p,
43131
43141
  At: l,
43132
43142
  V: C,
43133
43143
  an: w,
43134
- wt: (ke) => Y9(D, jr, ke),
43135
- yt: (ke, Ne) => Lc(D, jr, ke, Ne),
43144
+ wt: (ke) => Y9(E, jr, ke),
43145
+ yt: (ke, Ne) => Lc(E, jr, ke, Ne),
43136
43146
  St: () => Lc(Q, jr, iTe, !0)
43137
- }, { dt: X, vt: H, rn: N, L: K, ht: ie } = R, re = [() => {
43147
+ }, { dt: X, vt: H, rn: I, L: K, ht: ie } = R, re = [() => {
43138
43148
  er(H, [Zr, nd]), er(X, nd), p && er(y, [nd, Zr]);
43139
43149
  }];
43140
- let ce = L2([ie, K, N, H, X].find((ke) => ke && !G(ke)));
43150
+ let ce = L2([ie, K, I, H, X].find((ke) => ke && !G(ke)));
43141
43151
  const Pe = T ? X : ie || K, Oe = we(fn, re);
43142
43152
  return [R, () => {
43143
43153
  const ke = w(), Ne = F2(), Qe = (Je) => {
@@ -43146,9 +43156,9 @@ const OR = (t, e, n) => {
43146
43156
  I: !0,
43147
43157
  T: !1
43148
43158
  }), zt = "tabindex", Ue = W9(K, zt), Ze = Re(Ne);
43149
- return zr(H, Zr, C ? "" : tTe), zr(N, U2, ""), zr(K, jr, ""), zr(ie, pL, ""), C || (zr(K, zt, Ue || "-1"), p && zr(y, hL, "")), Yt(Pe, ce), Yt(H, N), Yt(N || H, !C && K), Yt(K, ie), it(re, [Ze, () => {
43159
+ return zr(H, Zr, C ? "" : tTe), zr(I, U2, ""), zr(K, jr, ""), zr(ie, pL, ""), C || (zr(K, zt, Ue || "-1"), p && zr(y, hL, "")), Yt(Pe, ce), Yt(H, I), Yt(I || H, !C && K), Yt(K, ie), it(re, [Ze, () => {
43150
43160
  const Je = F2(), Ve = G(K), Ke = Ve && Je === K ? X : Je, ft = Re(Ke);
43151
- er(N, U2), er(ie, pL), er(K, jr), p && er(y, hL), Ue ? zr(K, zt, Ue) : er(K, zt), G(ie) && Qe(ie), Ve && Qe(K), G(N) && Qe(N), I2(Ke), ft();
43161
+ er(I, U2), er(ie, pL), er(K, jr), p && er(y, hL), Ue ? zr(K, zt, Ue) : er(K, zt), G(ie) && Qe(ie), Ve && Qe(K), G(I) && Qe(I), I2(Ke), ft();
43152
43162
  }]), r && !C && (G9(K, jr, bR), it(re, we(er, K, jr))), I2(!C && p && Ne === X && ke.top === ke ? K : Ne), Ze(), ce = 0, Oe;
43153
43163
  }, Oe];
43154
43164
  }, qTe = ({ ht: t }) => ({ Qt: e, un: n, It: r }) => {
@@ -43224,7 +43234,7 @@ const OR = (t, e, n) => {
43224
43234
  }
43225
43235
  };
43226
43236
  z(!0);
43227
- const H = un(l), N = u(oTe, !0), K = Xe(s, Ii, (Oe) => {
43237
+ const H = un(l), I = u(oTe, !0), K = Xe(s, Ii, (Oe) => {
43228
43238
  const Le = un(l);
43229
43239
  Oe.isTrusted && Le.x === H.x && Le.y === H.y && uR(Oe);
43230
43240
  }, {
@@ -43234,7 +43244,7 @@ const OR = (t, e, n) => {
43234
43244
  sr(l, {
43235
43245
  x: 0,
43236
43246
  y: 0
43237
- }), N();
43247
+ }), I();
43238
43248
  const ie = un(l), re = Fc(l);
43239
43249
  sr(l, {
43240
43250
  x: re.w,
@@ -43251,17 +43261,17 @@ const OR = (t, e, n) => {
43251
43261
  M: Pe
43252
43262
  };
43253
43263
  }, S = (R, X) => {
43254
- const H = Qt.devicePixelRatio % 1 !== 0 ? 1 : 0, N = {
43264
+ const H = Qt.devicePixelRatio % 1 !== 0 ? 1 : 0, I = {
43255
43265
  w: m(R.w - X.w),
43256
43266
  h: m(R.h - X.h)
43257
43267
  };
43258
43268
  return {
43259
- w: N.w > H ? N.w : 0,
43260
- h: N.h > H ? N.h : 0
43269
+ w: I.w > H ? I.w : 0,
43270
+ h: I.h > H ? I.h : 0
43261
43271
  };
43262
43272
  }, x = (R, X) => {
43263
- const H = (N, K, ie, re) => {
43264
- const ce = N === Sr ? En : wTe(N), Pe = wi(N), Oe = wi(ie);
43273
+ const H = (I, K, ie, re) => {
43274
+ const ce = I === Sr ? En : wTe(I), Pe = wi(I), Oe = wi(ie);
43265
43275
  return !K && !re ? En : Pe && Oe ? Sr : Pe ? K && re ? ce : K ? Sr : En : K ? ce : Oe && re ? Sr : En;
43266
43276
  };
43267
43277
  return {
@@ -43269,36 +43279,36 @@ const OR = (t, e, n) => {
43269
43279
  y: H(X.y, R.y, X.x, R.x)
43270
43280
  };
43271
43281
  }, k = (R) => {
43272
- const X = (N) => [Sr, En, Ii].map((K) => V(G2(K), N)), H = X(!0).concat(X()).join(" ");
43273
- u(H), u(Gn(R).map((N) => V(R[N], N === "x")).join(" "), !0);
43274
- }, [P, $] = sn(y, we(Q9, i)), [C, T] = sn(y, we(Fc, i)), [E, L] = sn(y), [D] = sn(w), [_, M] = sn(y), [I] = sn(w), [W] = sn({
43282
+ const X = (I) => [Sr, En, Ii].map((K) => V(G2(K), I)), H = X(!0).concat(X()).join(" ");
43283
+ u(H), u(Gn(R).map((I) => V(R[I], I === "x")).join(" "), !0);
43284
+ }, [P, $] = sn(y, we(Q9, i)), [C, T] = sn(y, we(Fc, i)), [q, D] = sn(y), [E] = sn(w), [_, M] = sn(y), [N] = sn(w), [W] = sn({
43275
43285
  i: (R, X) => Gu(R, X, v),
43276
43286
  o: {}
43277
43287
  }, () => ZMe(i) ? hr(i, v) : {}), [G, J] = sn({
43278
43288
  i: (R, X) => rc(R.D, X.D) && rc(R.M, X.M),
43279
43289
  o: fR()
43280
43290
  }), Q = Us(yR), V = (R, X) => `${X ? nTe : rTe}${NMe(R)}`;
43281
- return ({ zt: R, Qt: X, un: H, It: N }, { _n: K }) => {
43291
+ return ({ zt: R, Qt: X, un: H, It: I }, { _n: K }) => {
43282
43292
  const { _t: ie, Ht: re, xt: ce, $t: Pe, ft: Oe, Et: Le } = X || {}, ke = Q && Q.R(t, e, H, n, R), { X: Ne, Y: Qe, W: Re } = ke || {}, [zt, Ue] = yTe(R, n), [Ze, Je] = R("overflow"), Ve = wi(Ze.x), Ke = wi(Ze.y), ft = ie || K || ce || Pe || Le || Ue;
43283
- let uo = $(N), Xs = T(N), Qs = L(N), Zs = M(N);
43293
+ let uo = $(I), Xs = T(I), Qs = D(I), Zs = M(I);
43284
43294
  if (Ue && h && u(bR, !zt), ft) {
43285
43295
  Y9(r, Zr, ic) && z(!0);
43286
- const yw = Qe && Qe(), [rl] = uo = P(N), [al] = Xs = C(N), il = lR(i), ol = g && QMe(f()), VU = {
43296
+ const yw = Qe && Qe(), [rl] = uo = P(I), [al] = Xs = C(I), il = lR(i), ol = g && QMe(f()), VU = {
43287
43297
  w: m(al.w + rl.w),
43288
43298
  h: m(al.h + rl.h)
43289
43299
  }, ww = {
43290
43300
  w: m((ol ? ol.w : il.w + m(il.w - al.w)) + rl.w),
43291
43301
  h: m((ol ? ol.h : il.h + m(il.h - al.h)) + rl.h)
43292
43302
  };
43293
- yw && yw(), Zs = _(ww), Qs = E(S(VU, ww), N);
43303
+ yw && yw(), Zs = _(ww), Qs = q(S(VU, ww), I);
43294
43304
  }
43295
- const [Js, Ks] = Zs, [Fr, fo] = Qs, [n1, r1] = Xs, [a1, i1] = uo, [_n, el] = D({
43305
+ const [Js, Ks] = Zs, [Fr, fo] = Qs, [n1, r1] = Xs, [a1, i1] = uo, [_n, el] = E({
43296
43306
  x: Fr.w > 0,
43297
43307
  y: Fr.h > 0
43298
- }), ri = Ve && Ke && (_n.x || _n.y) || Ve && _n.x && !_n.y || Ke && _n.y && !_n.x, mo = K || Pe || Le || i1 || r1 || Ks || fo || Je || Ue || ft || re && g, [tl, nl] = W(N), vw = Pe || Oe || nl || el || N, [qU, DU] = vw ? G(j(tl), N) : J();
43308
+ }), ri = Ve && Ke && (_n.x || _n.y) || Ve && _n.x && !_n.y || Ke && _n.y && !_n.x, mo = K || Pe || Le || i1 || r1 || Ks || fo || Je || Ue || ft || re && g, [tl, nl] = W(I), vw = Pe || Oe || nl || el || I, [qU, DU] = vw ? G(j(tl), I) : J();
43299
43309
  let ho = x(_n, Ze);
43300
43310
  z(!1), mo && (k(ho), ho = kTe(i, _n), Re && Ne && (Ne(ho, n1, a1), ys(i, Re(ho))));
43301
- const [LU, FU] = I(ho);
43311
+ const [LU, FU] = N(ho);
43302
43312
  return Lc(r, Zr, ic, ri), Lc(a, U2, ic, ri), Fe(e, {
43303
43313
  cn: LU,
43304
43314
  Vt: {
@@ -43368,28 +43378,28 @@ const OR = (t, e, n) => {
43368
43378
  }), [p, v, , y] = ATe(t, e, m, c, u, a), w = (j) => Gn(j).some((S) => !!j[S]), z = (j, S) => {
43369
43379
  if (n())
43370
43380
  return !1;
43371
- const { pn: x, It: k, Tt: P, vn: $ } = j, C = x || {}, T = !!k || !i, E = {
43381
+ const { pn: x, It: k, Tt: P, vn: $ } = j, C = x || {}, T = !!k || !i, q = {
43372
43382
  zt: OL(e, C, T),
43373
43383
  pn: C,
43374
43384
  It: T
43375
43385
  };
43376
43386
  if ($)
43377
- return v(E), !1;
43378
- const L = S || g(Fe({}, E, {
43387
+ return v(q), !1;
43388
+ const D = S || g(Fe({}, q, {
43379
43389
  Tt: P
43380
- })), D = l(Fe({}, E, {
43390
+ })), E = l(Fe({}, q, {
43381
43391
  un: m,
43382
- Qt: L
43392
+ Qt: D
43383
43393
  }));
43384
- v(Fe({}, E, {
43385
- Qt: L,
43386
- Zt: D
43394
+ v(Fe({}, q, {
43395
+ Qt: D,
43396
+ Zt: E
43387
43397
  }));
43388
- const _ = w(L), M = w(D), I = _ || M || !U9(C) || T;
43389
- return i = !0, I && r(j, {
43390
- Qt: L,
43391
- Zt: D
43392
- }), I;
43398
+ const _ = w(D), M = w(E), N = _ || M || !U9(C) || T;
43399
+ return i = !0, N && r(j, {
43400
+ Qt: D,
43401
+ Zt: E
43402
+ }), N;
43393
43403
  };
43394
43404
  return [() => {
43395
43405
  const { ln: j, gt: S, St: x } = u, k = un(j), P = [h(), s(), p()], $ = x();
@@ -43410,22 +43420,22 @@ const OR = (t, e, n) => {
43410
43420
  if (e && !o) {
43411
43421
  let s = !1;
43412
43422
  const l = [], c = {}, u = (C) => {
43413
- const T = ZI(C), E = Us(eTe);
43414
- return E ? E(T, !0) : T;
43423
+ const T = ZI(C), q = Us(eTe);
43424
+ return q ? q(T, !0) : T;
43415
43425
  }, f = Fe({}, r(), u(e)), [h, g, m] = R2(), [p, v, y] = R2(n), w = (C, T) => {
43416
43426
  y(C, T), m(C, T);
43417
- }, [z, j, S, x, k] = VTe(t, f, () => s, ({ pn: C, It: T }, { Qt: E, Zt: L }) => {
43418
- const { _t: D, $t: _, Ct: M, xt: I, Ht: W, ft: G } = E, { tn: J, nn: Q, sn: V, en: R } = L;
43427
+ }, [z, j, S, x, k] = VTe(t, f, () => s, ({ pn: C, It: T }, { Qt: q, Zt: D }) => {
43428
+ const { _t: E, $t: _, Ct: M, xt: N, Ht: W, ft: G } = q, { tn: J, nn: Q, sn: V, en: R } = D;
43419
43429
  w("updated", [$, {
43420
43430
  updateHints: {
43421
- sizeChanged: !!D,
43431
+ sizeChanged: !!E,
43422
43432
  directionChanged: !!_,
43423
43433
  heightIntrinsicChanged: !!M,
43424
43434
  overflowEdgeChanged: !!J,
43425
43435
  overflowAmountChanged: !!Q,
43426
43436
  overflowStyleChanged: !!V,
43427
43437
  scrollCoordinatesChanged: !!R,
43428
- contentMutation: !!I,
43438
+ contentMutation: !!N,
43429
43439
  hostMutation: !!W,
43430
43440
  appear: !!G
43431
43441
  },
@@ -43437,9 +43447,9 @@ const OR = (t, e, n) => {
43437
43447
  }, $ = {
43438
43448
  options(C, T) {
43439
43449
  if (C) {
43440
- const E = T ? r() : {}, L = wR(f, Fe(E, u(C)));
43441
- U9(L) || (Fe(f, L), j({
43442
- pn: L
43450
+ const q = T ? r() : {}, D = wR(f, Fe(q, u(C)));
43451
+ U9(D) || (Fe(f, D), j({
43452
+ pn: D
43443
43453
  }));
43444
43454
  }
43445
43455
  return Fe({}, f);
@@ -43449,24 +43459,24 @@ const OR = (t, e, n) => {
43449
43459
  C && T && v(C, T);
43450
43460
  },
43451
43461
  state() {
43452
- const { gn: C, hn: T } = S(), { B: E } = C, { Vt: L, Rt: D, cn: _, j: M, rn: I, fn: W, Dt: G } = T;
43462
+ const { gn: C, hn: T } = S(), { B: q } = C, { Vt: D, Rt: E, cn: _, j: M, rn: N, fn: W, Dt: G } = T;
43453
43463
  return Fe({}, {
43454
- overflowEdge: L,
43455
- overflowAmount: D,
43464
+ overflowEdge: D,
43465
+ overflowAmount: E,
43456
43466
  overflowStyle: _,
43457
43467
  hasOverflow: M,
43458
43468
  scrollCoordinates: {
43459
43469
  start: G.D,
43460
43470
  end: G.M
43461
43471
  },
43462
- padding: I,
43472
+ padding: N,
43463
43473
  paddingAbsolute: W,
43464
- directionRTL: E,
43474
+ directionRTL: q,
43465
43475
  destroyed: s
43466
43476
  });
43467
43477
  },
43468
43478
  elements() {
43469
- const { dt: C, vt: T, rn: E, L, ht: D, gt: _, Kt: M } = x.bn, { jt: I, Jt: W } = x.wn, G = (Q) => {
43479
+ const { dt: C, vt: T, rn: q, L: D, ht: E, gt: _, Kt: M } = x.bn, { jt: N, Jt: W } = x.wn, G = (Q) => {
43470
43480
  const { Mt: V, Ut: R, Lt: X } = Q;
43471
43481
  return {
43472
43482
  scrollbar: X,
@@ -43487,12 +43497,12 @@ const OR = (t, e, n) => {
43487
43497
  return Fe({}, {
43488
43498
  target: C,
43489
43499
  host: T,
43490
- padding: E || L,
43491
- viewport: L,
43492
- content: D || L,
43500
+ padding: q || D,
43501
+ viewport: D,
43502
+ content: E || D,
43493
43503
  scrollOffsetElement: _,
43494
43504
  scrollEventElement: M,
43495
- scrollbarHorizontal: J(I),
43505
+ scrollbarHorizontal: J(N),
43496
43506
  scrollbarVertical: J(W)
43497
43507
  });
43498
43508
  },
@@ -43703,14 +43713,14 @@ const ITe = () => {
43703
43713
  leave: "ease-in-out duration-500",
43704
43714
  leaveFrom: "opacity-100",
43705
43715
  leaveTo: "opacity-0"
43706
- }), o = q(() => ({
43716
+ }), o = L(() => ({
43707
43717
  enter: "transform transition ease-in-out duration-300",
43708
43718
  leave: "transform transition ease-in-out duration-200",
43709
43719
  enterFrom: n.side === "left" ? "-translate-x-full" : "translate-x-full",
43710
43720
  enterTo: "translate-x-0",
43711
43721
  leaveFrom: "translate-x-0",
43712
43722
  leaveTo: n.side === "left" ? "-translate-x-full" : "translate-x-full"
43713
- })), s = q({
43723
+ })), s = L({
43714
43724
  get() {
43715
43725
  return n.modelValue;
43716
43726
  },
@@ -43817,7 +43827,7 @@ const ITe = () => {
43817
43827
  name: "Preferences",
43818
43828
  __name: "index",
43819
43829
  setup(t, { expose: e }) {
43820
- const n = ts(() => import("./PreferencesContent-C0Irwod9.js")), [r, a] = /* @__PURE__ */ su(!1);
43830
+ const n = ts(() => import("./PreferencesContent-DIXXC38B.js")), [r, a] = /* @__PURE__ */ su(!1);
43821
43831
  return e({
43822
43832
  open: () => a()
43823
43833
  }), (i, o) => {
@@ -43893,7 +43903,7 @@ const rHe = /* @__PURE__ */ ee({
43893
43903
  name: "SearchBar",
43894
43904
  __name: "SearchBar",
43895
43905
  setup(t) {
43896
- const { settingsStore: e } = De(), { toggle: n } = nw(), r = q(() => {
43906
+ const { settingsStore: e } = De(), { toggle: n } = nw(), r = L(() => {
43897
43907
  const a = {
43898
43908
  side: "ring-1 ",
43899
43909
  head: "bg-[var(--g-header-menu-active-bg)]",
@@ -43932,7 +43942,7 @@ const rHe = /* @__PURE__ */ ee({
43932
43942
  },
43933
43943
  emits: ["update:modelValue", "change"],
43934
43944
  setup(t, { emit: e }) {
43935
- const n = t, r = e, a = q({
43945
+ const n = t, r = e, a = L({
43936
43946
  get() {
43937
43947
  return n.options.findIndex((o) => o.value === n.modelValue);
43938
43948
  },
@@ -44481,7 +44491,7 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44481
44491
  leave: "ease-in-out duration-500",
44482
44492
  leaveFrom: "opacity-100",
44483
44493
  leaveTo: "opacity-0"
44484
- }), a = q(() => ({
44494
+ }), a = L(() => ({
44485
44495
  enter: "ease-out duration-300",
44486
44496
  enterFrom: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
44487
44497
  enterTo: "opacity-100 translate-y-0 sm:scale-100",
@@ -44490,23 +44500,23 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44490
44500
  leaveTo: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
44491
44501
  })), i = $n(), { settingsStore: o, routeStore: s, tabbarStore: l, generateTitle: c } = De(), { isShow: u, searchType: f, activePanelId: h, toggle: g, close: m, registerPanel: p, unregisterPanel: v, setPanelPriority: y } = nw(), w = Symbol("global-search-panel"), z = Y(!1);
44492
44502
  p(w, n.priority), kt(() => {
44493
- v(w), z.value && (Te.unbind("alt+s", E), Te.unbind("esc", L), z.value = !1), Te.unbind("up", G), Te.unbind("down", J), Te.unbind("enter", Q);
44503
+ v(w), z.value && (Te.unbind("alt+s", q), Te.unbind("esc", D), z.value = !1), Te.unbind("up", G), Te.unbind("down", J), Te.unbind("enter", Q);
44494
44504
  }), le(() => n.priority, (H) => y(w, H));
44495
- const j = q(() => h.value === w), S = Y(""), x = Y([]), k = Y(-1), P = Y(), $ = Y(), C = Y([]);
44505
+ const j = L(() => h.value === w), S = Y(""), x = Y([]), k = Y(-1), P = Y(), $ = Y(), C = Y([]);
44496
44506
  xF(() => {
44497
44507
  C.value = [];
44498
44508
  });
44499
- const T = q(() => {
44509
+ const T = L(() => {
44500
44510
  let H = [];
44501
- return H = x.value.filter((N) => {
44511
+ return H = x.value.filter((I) => {
44502
44512
  let K = !1;
44503
- return c(N.title).toString().includes(S.value) && (K = !0), N.path.includes(S.value) && (K = !0), N.breadcrumb.some((ie) => c(ie.title).toString().includes(S.value)) && (K = !0), K;
44513
+ return c(I.title).toString().includes(S.value) && (K = !0), I.path.includes(S.value) && (K = !0), I.breadcrumb.some((ie) => c(ie.title).toString().includes(S.value)) && (K = !0), K;
44504
44514
  }), H;
44505
44515
  });
44506
44516
  le(
44507
44517
  [() => u.value, () => j.value],
44508
- ([H, N]) => {
44509
- if (!N) {
44518
+ ([H, I]) => {
44519
+ if (!I) {
44510
44520
  Te.unbind("up", G), Te.unbind("down", J), Te.unbind("enter", Q);
44511
44521
  return;
44512
44522
  }
@@ -44519,27 +44529,27 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44519
44529
  !j.value || !u.value || (k.value = -1, V());
44520
44530
  }
44521
44531
  );
44522
- function E(H) {
44532
+ function q(H) {
44523
44533
  o.settings.navSearch.enable && o.settings.navSearch.enableHotkeys && (H.preventDefault(), _(), u.value = !0);
44524
44534
  }
44525
- function L(H) {
44535
+ function D(H) {
44526
44536
  o.settings.navSearch.enable && o.settings.navSearch.enableHotkeys && (H.preventDefault(), u.value = !1);
44527
44537
  }
44528
44538
  le(
44529
44539
  () => j.value,
44530
44540
  (H) => {
44531
- H && !z.value ? (Te("alt+s", E), Te("esc", L), z.value = !0, _()) : !H && z.value && (Te.unbind("alt+s", E), Te.unbind("esc", L), z.value = !1);
44541
+ H && !z.value ? (Te("alt+s", q), Te("esc", D), z.value = !0, _()) : !H && z.value && (Te.unbind("alt+s", q), Te.unbind("esc", D), z.value = !1);
44532
44542
  },
44533
44543
  { immediate: !0 }
44534
44544
  );
44535
- function D(H) {
44545
+ function E(H) {
44536
44546
  j.value && (P.value.focus(), _(H));
44537
44547
  }
44538
44548
  function _(H = "menu") {
44539
44549
  switch (x.value = [], H) {
44540
44550
  case "menu":
44541
- s.routes.forEach((N) => {
44542
- N.children && I(N.children);
44551
+ s.routes.forEach((I) => {
44552
+ I.children && N(I.children);
44543
44553
  });
44544
44554
  break;
44545
44555
  case "tab":
@@ -44548,19 +44558,19 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44548
44558
  }
44549
44559
  }
44550
44560
  function M(H) {
44551
- let N = !0;
44552
- return H.children?.every((K) => K.meta?.sidebar === !1) && (N = !1), N;
44561
+ let I = !0;
44562
+ return H.children?.every((K) => K.meta?.sidebar === !1) && (I = !1), I;
44553
44563
  }
44554
- function I(H, N, K, ie) {
44564
+ function N(H, I, K, ie) {
44555
44565
  H.forEach((re) => {
44556
44566
  if (re.meta?.sidebar !== !1) {
44557
44567
  const ce = Lt(ie) || [];
44558
44568
  re.children && M(re) ? (ce.push({
44559
44569
  title: re.meta?.title
44560
- }), I(re.children, wn(N, re.path), re.meta?.icon ?? K, ce)) : (ce.push({
44570
+ }), N(re.children, wn(I, re.path), re.meta?.icon ?? K, ce)) : (ce.push({
44561
44571
  title: re.meta?.title
44562
44572
  }), x.value.push({
44563
- path: wn(N, re.path),
44573
+ path: wn(I, re.path),
44564
44574
  icon: re.meta?.icon ?? K,
44565
44575
  title: re.meta?.title,
44566
44576
  link: re.meta?.link,
@@ -44570,11 +44580,11 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44570
44580
  });
44571
44581
  }
44572
44582
  function W(H) {
44573
- H.forEach((N) => {
44583
+ H.forEach((I) => {
44574
44584
  x.value.push({
44575
- icon: N.icon,
44576
- title: N.title,
44577
- path: N.fullPath,
44585
+ icon: I.icon,
44586
+ title: I.title,
44587
+ path: I.fullPath,
44578
44588
  breadcrumb: []
44579
44589
  });
44580
44590
  });
@@ -44591,19 +44601,19 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44591
44601
  function V() {
44592
44602
  if (j.value && $.value) {
44593
44603
  const H = $.value.osInstance().elements().content;
44594
- let N = 0;
44604
+ let I = 0;
44595
44605
  if (k.value !== -1) {
44596
- N = H.scrollTop;
44606
+ I = H.scrollTop;
44597
44607
  const K = C.value.find((Pe) => Number.parseInt(Pe.dataset.index) === k.value)?.offsetTop ?? 0, ie = C.value.find((Pe) => Number.parseInt(Pe.dataset.index) === k.value)?.clientHeight ?? 0, re = H.scrollTop, ce = H.clientHeight;
44598
- K + ie > re + ce ? N = K + ie - ce : K <= re && (N = K);
44608
+ K + ie > re + ce ? I = K + ie - ce : K <= re && (I = K);
44599
44609
  }
44600
44610
  H.scrollTo({
44601
- top: N
44611
+ top: I
44602
44612
  });
44603
44613
  }
44604
44614
  }
44605
- function R(H, N) {
44606
- N ? window.open(N, "_blank") : i.push(H), j.value && m();
44615
+ function R(H, I) {
44616
+ I ? window.open(I, "_blank") : i.push(H), j.value && m();
44607
44617
  }
44608
44618
  function X(H) {
44609
44619
  u.value || _(H), g(H);
@@ -44615,7 +44625,7 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44615
44625
  }
44616
44626
  ), e({
44617
44627
  toggle: X
44618
- }), (H, N) => {
44628
+ }), (H, I) => {
44619
44629
  const K = aHe, ie = E9;
44620
44630
  return j.value ? (A(), ae(O(Vu), {
44621
44631
  key: 0,
@@ -44626,11 +44636,11 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44626
44636
  d(O(_9), {
44627
44637
  "initial-focus": P.value,
44628
44638
  class: "fixed inset-0 z-2000 flex",
44629
- onClose: N[4] || (N[4] = (re) => O(u) && X())
44639
+ onClose: I[4] || (I[4] = (re) => O(u) && X())
44630
44640
  }, {
44631
44641
  default: te(() => [
44632
44642
  d(O(Ia), At({ as: "template" }, r.value), {
44633
- default: te(() => N[5] || (N[5] = [
44643
+ default: te(() => I[5] || (I[5] = [
44634
44644
  B("div", { class: "fixed inset-0 bg-stone-200/75 backdrop-blur-sm transition-opacity dark:bg-stone-8/75" }, null, -1)
44635
44645
  ])),
44636
44646
  _: 1,
@@ -44645,15 +44655,15 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44645
44655
  O(o).settings.tabbar.enable ? (A(), ae(K, {
44646
44656
  key: 0,
44647
44657
  modelValue: O(f),
44648
- "onUpdate:modelValue": N[0] || (N[0] = (re) => ia(f) ? f.value = re : null),
44658
+ "onUpdate:modelValue": I[0] || (I[0] = (re) => ia(f) ? f.value = re : null),
44649
44659
  options: [
44650
44660
  { label: "搜索导航菜单", value: "menu" },
44651
44661
  { label: "搜索标签页", value: "tab" }
44652
44662
  ],
44653
44663
  class: "mb-4 flex!",
44654
- onClick: N[1] || (N[1] = cn(() => {
44664
+ onClick: I[1] || (I[1] = cn(() => {
44655
44665
  }, ["stop"])),
44656
- onChange: D
44666
+ onChange: E
44657
44667
  }, null, 8, ["modelValue"])) : oe("", !0),
44658
44668
  B("div", DHe, [
44659
44669
  B("div", LHe, [
@@ -44664,11 +44674,11 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44664
44674
  Un(B("input", {
44665
44675
  ref_key: "searchInputRef",
44666
44676
  ref: P,
44667
- "onUpdate:modelValue": N[2] || (N[2] = (re) => S.value = re),
44677
+ "onUpdate:modelValue": I[2] || (I[2] = (re) => S.value = re),
44668
44678
  placeholder: "搜索页面,支持标题、URL模糊查询",
44669
44679
  class: "w-full border-0 rounded-md bg-transparent px-3 text-base text-dark dark:text-white focus:outline-none placeholder-stone-4 dark:placeholder-stone-5",
44670
44680
  onKeydown: [
44671
- N[3] || (N[3] = jo((re) => X(), ["esc"])),
44681
+ I[3] || (I[3] = jo((re) => X(), ["esc"])),
44672
44682
  jo(cn(G, ["prevent"]), ["up"]),
44673
44683
  jo(cn(J, ["prevent"]), ["down"]),
44674
44684
  jo(cn(Q, ["prevent"]), ["enter"])
@@ -44725,7 +44735,7 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44725
44735
  ])
44726
44736
  ], 42, VHe))), 128)) : (A(), U("div", IHe, [
44727
44737
  d(O(_He), { text: "40px" }),
44728
- N[6] || (N[6] = B("p", {
44738
+ I[6] || (I[6] = B("p", {
44729
44739
  "m-2": "",
44730
44740
  "text-base": ""
44731
44741
  }, " 没有找到你想要的 ", -1))
@@ -44745,7 +44755,7 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44745
44755
  ]),
44746
44756
  _: 1
44747
44757
  }),
44748
- N[7] || (N[7] = B("span", null, he("访问"), -1))
44758
+ I[7] || (I[7] = B("span", null, he("访问"), -1))
44749
44759
  ]),
44750
44760
  B("div", GHe, [
44751
44761
  d(ie, null, {
@@ -44760,18 +44770,18 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44760
44770
  ]),
44761
44771
  _: 1
44762
44772
  }),
44763
- N[8] || (N[8] = B("span", null, he("切换"), -1))
44773
+ I[8] || (I[8] = B("span", null, he("切换"), -1))
44764
44774
  ])
44765
44775
  ]),
44766
44776
  O(o).settings.navSearch.enableHotkeys ? (A(), U("div", YHe, [
44767
44777
  d(ie, null, {
44768
- default: te(() => N[9] || (N[9] = [
44778
+ default: te(() => I[9] || (I[9] = [
44769
44779
  be(" ESC ")
44770
44780
  ])),
44771
44781
  _: 1,
44772
44782
  __: [9]
44773
44783
  }),
44774
- N[10] || (N[10] = B("span", null, he("退出"), -1))
44784
+ I[10] || (I[10] = B("span", null, he("退出"), -1))
44775
44785
  ])) : oe("", !0)
44776
44786
  ])) : oe("", !0)
44777
44787
  ])
@@ -44806,7 +44816,7 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44806
44816
  dropdownMenuRender: { type: Function, default: ({ Home: t, Preferences: e, Hotkeys: n, Org: r, Profile: a, Password: i, Logout: o, Divider: s }) => [t, e, s, n, s, r, a, i, o] }
44807
44817
  },
44808
44818
  setup(t) {
44809
- const e = t, n = $n(), { settingsStore: r, userStore: a, generateTitle: i } = De(), o = Y(), s = Y(), l = q(() => ({
44819
+ const e = t, n = $n(), { settingsStore: r, userStore: a, generateTitle: i } = De(), o = Y(), s = Y(), l = L(() => ({
44810
44820
  Home: {
44811
44821
  key: "home",
44812
44822
  label: i(r.settings.home.title),
@@ -44864,7 +44874,7 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44864
44874
  Divider: {
44865
44875
  key: "divider"
44866
44876
  }
44867
- })), c = q(() => e.dropdownMenuRender?.(l.value)), u = Y(!1);
44877
+ })), c = L(() => e.dropdownMenuRender?.(l.value)), u = Y(!1);
44868
44878
  return le(() => a.user.avatar, () => {
44869
44879
  u.value && (u.value = !1);
44870
44880
  }), (f, h) => {
@@ -44921,7 +44931,7 @@ const AR = /* @__PURE__ */ Ie(CHe, [["render", THe], ["__scopeId", "data-v-a495f
44921
44931
  name: "LayoutHeaderMenu",
44922
44932
  __name: "HeaderMenu",
44923
44933
  setup(t) {
44924
- const e = ts(() => import("./index-C-duTBTb.js")), n = ts(() => import("./HeaderThinMenu-DYB6NE31.js")), { settingsStore: r } = De();
44934
+ const e = ts(() => import("./index--uFimSjO.js")), n = ts(() => import("./HeaderThinMenu-Moc7VP7Y.js")), { settingsStore: r } = De();
44925
44935
  return (a, i) => O(r).settings.menu.menuMode === "head" ? (A(), ae(O(e), { key: 0 })) : O(r).settings.menu.menuMode === "only-head" ? (A(), ae(O(n), { key: 1 })) : oe("", !0);
44926
44936
  }
44927
44937
  }), tAe = { key: 0 }, nAe = { class: "header-container" }, rAe = { class: "main" }, aAe = /* @__PURE__ */ ee({
@@ -45015,7 +45025,7 @@ const mAe = Ae({ name: "lets-icons-book-open-duotone-line", render: fAe }), hAe
45015
45025
  name: "SettingBar",
45016
45026
  __name: "index",
45017
45027
  setup(t) {
45018
- const e = ts(() => import("./AppSetting-BSoYpkRZ.js")), { settingsStore: n, isDev: r } = De();
45028
+ const e = ts(() => import("./AppSetting-CMpNBlQc.js")), { settingsStore: n, isDev: r } = De();
45019
45029
  function a() {
45020
45030
  window.open("http://124.223.184.245:10000/docs/");
45021
45031
  }
@@ -45069,7 +45079,7 @@ const yAe = { class: "relative inline-flex" }, wAe = {
45069
45079
  value: { type: [String, Number, Boolean] }
45070
45080
  },
45071
45081
  setup(t) {
45072
- const e = t, n = q(() => {
45082
+ const e = t, n = L(() => {
45073
45083
  switch (typeof e.value) {
45074
45084
  case "string":
45075
45085
  return e.value.length > 0;
@@ -45153,8 +45163,8 @@ function OAe() {
45153
45163
  f ? P = p + e.y + (e.y_space + e.height) * $ : P = e.y + (m - x) / 2 + (e.y_space + e.height) * $;
45154
45164
  for (let C = 0; C < e.cols; C++) {
45155
45165
  f ? k = v + e.x + (g - j) / 2 + (e.width + e.x_space) * C : k = e.x + (g - j) / 2 + (e.width + e.x_space) * C;
45156
- const T = document.createElement("div"), E = document.createTextNode(e.text);
45157
- T.appendChild(E), T.id = e.prefix + $ + C, T.style.transform = `rotate(-${e.angle}deg)`, T.style.visibility = "", T.style.position = "absolute", T.style.left = `${k}px`, T.style.top = `${P}px`, T.style.overflow = "hidden", T.style.zIndex = "9999999", T.style.opacity = `${e.alpha}`, T.style.fontSize = e.fontsize, T.style.fontFamily = e.font, T.style.color = e.color, T.style.textAlign = "center", T.style.width = `${e.width}px`, T.style.height = `${e.height}px`, T.style.display = "block", T.style.userSelect = "none", w?.appendChild(T);
45166
+ const T = document.createElement("div"), q = document.createTextNode(e.text);
45167
+ T.appendChild(q), T.id = e.prefix + $ + C, T.style.transform = `rotate(-${e.angle}deg)`, T.style.visibility = "", T.style.position = "absolute", T.style.left = `${k}px`, T.style.top = `${P}px`, T.style.overflow = "hidden", T.style.zIndex = "9999999", T.style.opacity = `${e.alpha}`, T.style.fontSize = e.fontsize, T.style.fontFamily = e.font, T.style.color = e.color, T.style.textAlign = "center", T.style.width = `${e.width}px`, T.style.height = `${e.height}px`, T.style.display = "block", T.style.userSelect = "none", w?.appendChild(T);
45158
45168
  }
45159
45169
  }
45160
45170
  if (e.monitor) {
@@ -45199,13 +45209,13 @@ const ow = "rootMenu", zAe = ["title"], jAe = /* @__PURE__ */ ee({
45199
45209
  expand: { type: Boolean, default: !1 }
45200
45210
  },
45201
45211
  setup(t, { expose: e }) {
45202
- const n = t, r = ye(ow), { generateTitle: a } = De(), i = Y(), o = q(() => n.subMenu ? r.subMenus[n.uniqueKey[n.uniqueKey.length - 1]]?.active : r.activeIndex === n.uniqueKey[n.uniqueKey.length - 1]), s = q(() => o.value && (!n.subMenu || r.isMenuPopup)), l = q(() => {
45212
+ const n = t, r = ye(ow), { generateTitle: a } = De(), i = Y(), o = L(() => n.subMenu ? r.subMenus[n.uniqueKey[n.uniqueKey.length - 1]]?.active : r.activeIndex === n.uniqueKey[n.uniqueKey.length - 1]), s = L(() => o.value && (!n.subMenu || r.isMenuPopup)), l = L(() => {
45203
45213
  let g;
45204
45214
  return n.item.meta?.icon && (g = n.item.meta.icon), o.value && (n.item.meta?.activeIcon === "system-point" ? g = "system-point" : n.item.meta?.activeIcon && (g = n.item.meta.activeIcon)), g;
45205
- }), c = q(() => n.item.meta?.iconOptions), u = q(() => {
45215
+ }), c = L(() => n.item.meta?.iconOptions), u = L(() => {
45206
45216
  const g = c.value?.boxType;
45207
45217
  return g && g !== "null" ? g : void 0;
45208
- }), f = q(() => c.value?.iconColor || void 0), h = q(() => r.isMenuPopup ? "" : `padding-left: ${32 * (n.level ?? 0)}px`);
45218
+ }), f = L(() => c.value?.iconColor || void 0), h = L(() => r.isMenuPopup ? "" : `padding-left: ${32 * (n.level ?? 0)}px`);
45209
45219
  return e({
45210
45220
  ref: i
45211
45221
  }), (g, m) => {
@@ -45294,7 +45304,7 @@ const ow = "rootMenu", zAe = ["title"], jAe = /* @__PURE__ */ ee({
45294
45304
  level: { default: 0 }
45295
45305
  },
45296
45306
  setup(t) {
45297
- const e = t, n = e.menu.path ?? JSON.stringify(e.menu), r = ue(), a = ue(), i = ye(ow), o = q(() => i.openedMenus.includes(e.uniqueKey[e.uniqueKey.length - 1])), s = q(() => i.isMenuPopup ? {
45307
+ const e = t, n = e.menu.path ?? JSON.stringify(e.menu), r = ue(), a = ue(), i = ye(ow), o = L(() => i.openedMenus.includes(e.uniqueKey[e.uniqueKey.length - 1])), s = L(() => i.isMenuPopup ? {
45298
45308
  enter(m) {
45299
45309
  m.offsetHeight > window.innerHeight && (m.style.height = `${window.innerHeight}px`);
45300
45310
  },
@@ -45326,7 +45336,7 @@ const ow = "rootMenu", zAe = ["title"], jAe = /* @__PURE__ */ ee({
45326
45336
  afterLeave(m) {
45327
45337
  m.style.overflow = "", m.style.maxHeight = "";
45328
45338
  }
45329
- }), l = q(() => i.isMenuPopup ? {
45339
+ }), l = L(() => i.isMenuPopup ? {
45330
45340
  enterActiveClass: "ease-in-out duration-300",
45331
45341
  enterFromClass: "opacity-0 translate-x-4",
45332
45342
  enterToClass: "opacity-100",
@@ -45340,7 +45350,7 @@ const ow = "rootMenu", zAe = ["title"], jAe = /* @__PURE__ */ ee({
45340
45350
  leaveActiveClass: "ease-in-out duration-300",
45341
45351
  leaveFromClass: "opacity-100",
45342
45352
  leaveToClass: "opacity-0"
45343
- }), c = q(() => {
45353
+ }), c = L(() => {
45344
45354
  let m = !0;
45345
45355
  return e.menu.children ? e.menu.children.every((p) => p.meta?.sidebar === !1) && (m = !1) : m = !1, m;
45346
45356
  });
@@ -45437,7 +45447,7 @@ const ow = "rootMenu", zAe = ["title"], jAe = /* @__PURE__ */ ee({
45437
45447
  rounded: { type: Boolean, default: !1 }
45438
45448
  },
45439
45449
  setup(t) {
45440
- const e = t, n = $n(), r = Y(e.value), a = Y({}), i = Y({}), o = Y(e.defaultOpeneds.slice(0)), s = Y([]), l = q(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse);
45450
+ const e = t, n = $n(), r = Y(e.value), a = Y({}), i = Y({}), o = Y(e.defaultOpeneds.slice(0)), s = Y([]), l = L(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse);
45441
45451
  function c(v = [], y = []) {
45442
45452
  v.forEach((w) => {
45443
45453
  const z = w.path ?? JSON.stringify(w);
@@ -45614,7 +45624,7 @@ const ow = "rootMenu", zAe = ["title"], jAe = /* @__PURE__ */ ee({
45614
45624
  function i(s) {
45615
45625
  a.value = s.target.scrollTop;
45616
45626
  }
45617
- const o = q(() => n.mode === "mobile" || ["side", "head", "single"].includes(n.settings.menu.menuMode) && r.sidebarMenus.length !== 0 && !(n.settings.menu.subMenuOnlyOneHide && r.sidebarMenus.length === 1 && (!r.sidebarMenus[0].children || r.sidebarMenus[0]?.children.every((s) => s.meta?.sidebar === !1))));
45627
+ const o = L(() => n.mode === "mobile" || ["side", "head", "single"].includes(n.settings.menu.menuMode) && r.sidebarMenus.length !== 0 && !(n.settings.menu.subMenuOnlyOneHide && r.sidebarMenus.length === 1 && (!r.sidebarMenus[0].children || r.sidebarMenus[0]?.children.every((s) => s.meta?.sidebar === !1))));
45618
45628
  return (s, l) => O(o) ? (A(), U("div", {
45619
45629
  key: 0,
45620
45630
  class: de(["sub-sidebar-container", {
@@ -45891,7 +45901,7 @@ const TL = 140, UAe = 70, WAe = /* @__PURE__ */ ee({
45891
45901
  },
45892
45902
  emits: ["scroll", "resized"],
45893
45903
  setup(t, { expose: e, emit: n }) {
45894
- const r = t, a = n, i = Y(), o = Y(), s = Y(), l = Y(), c = Y(), u = Y(), f = Y(!1), h = q(() => r.scroll === "horizontal" || r.scroll === "both"), g = q(() => r.scroll === "vertical" || r.scroll === "both"), m = It({
45904
+ const r = t, a = n, i = Y(), o = Y(), s = Y(), l = Y(), c = Y(), u = Y(), f = Y(!1), h = L(() => r.scroll === "horizontal" || r.scroll === "both"), g = L(() => r.scroll === "vertical" || r.scroll === "both"), m = It({
45895
45905
  show: !1,
45896
45906
  size: 0,
45897
45907
  sizeRaw: 0,
@@ -45920,57 +45930,57 @@ const TL = 140, UAe = 70, WAe = /* @__PURE__ */ ee({
45920
45930
  function k(H = !1) {
45921
45931
  if (!i.value)
45922
45932
  return;
45923
- let N = h.value, K = g.value;
45924
- const ie = N && (v !== i.value.scrollWidth || w !== i.value.offsetWidth), re = g && (y !== i.value.scrollHeight || z !== i.value.offsetHeight);
45933
+ let I = h.value, K = g.value;
45934
+ const ie = I && (v !== i.value.scrollWidth || w !== i.value.offsetWidth), re = g && (y !== i.value.scrollHeight || z !== i.value.offsetHeight);
45925
45935
  if (!H && !ie && !re)
45926
45936
  return;
45927
45937
  const ce = window.getComputedStyle(i.value);
45928
- (ce.overflow === "hidden" || ce.overflowX === "hidden") && (N = !1), (ce.overflow === "hidden" || ce.overflowY === "hidden") && (K = !1), m.show = N, p.show = K, x(), w = i.value.offsetWidth, z = i.value.offsetHeight, v = i.value.scrollWidth, y = i.value.scrollHeight, a("resized", v, y);
45938
+ (ce.overflow === "hidden" || ce.overflowX === "hidden") && (I = !1), (ce.overflow === "hidden" || ce.overflowY === "hidden") && (K = !1), m.show = I, p.show = K, x(), w = i.value.offsetWidth, z = i.value.offsetHeight, v = i.value.scrollWidth, y = i.value.scrollHeight, a("resized", v, y);
45929
45939
  }
45930
45940
  function P(H) {
45931
- var N;
45932
- r.scroll == "horizontal" && (H.deltaMode == 0 && ((N = i.value) == null || N.scrollTo({
45941
+ var I;
45942
+ r.scroll == "horizontal" && (H.deltaMode == 0 && ((I = i.value) == null || I.scrollTo({
45933
45943
  left: i.value.scrollLeft + (H.deltaY > 0 ? TL : -140),
45934
45944
  behavior: "smooth"
45935
45945
  })), H.preventDefault(), H.stopPropagation());
45936
45946
  }
45937
45947
  function $(H) {
45938
- var N;
45939
- H.deltaMode == 0 && ((N = i.value) == null || N.scrollTo({
45948
+ var I;
45949
+ H.deltaMode == 0 && ((I = i.value) == null || I.scrollTo({
45940
45950
  left: i.value.scrollLeft + (H.deltaY > 0 ? TL : -140),
45941
45951
  behavior: "smooth"
45942
45952
  }), H.preventDefault(), H.stopPropagation());
45943
45953
  }
45944
45954
  function C(H) {
45945
- var N;
45946
- H.deltaMode == 0 && ((N = i.value) == null || N.scrollTo({
45955
+ var I;
45956
+ H.deltaMode == 0 && ((I = i.value) == null || I.scrollTo({
45947
45957
  top: i.value.scrollTop + (H.deltaY > 0 ? UAe : -70),
45948
45958
  behavior: "smooth"
45949
45959
  }), H.preventDefault(), H.stopPropagation());
45950
45960
  }
45951
- let T = 0, E = 0, L = 0, D = 0;
45961
+ let T = 0, q = 0, D = 0, E = 0;
45952
45962
  const _ = CL({
45953
45963
  onDown(H) {
45954
- return !s.value || !c.value ? !1 : (T = H.offsetX, E = H.x - H.offsetX - c.value.offsetLeft, H.preventDefault(), f.value = !0, !0);
45964
+ return !s.value || !c.value ? !1 : (T = H.offsetX, q = H.x - H.offsetX - c.value.offsetLeft, H.preventDefault(), f.value = !0, !0);
45955
45965
  },
45956
- onMove(H, N, K) {
45957
- i.value && s.value && (G(K.x - T - E), K.preventDefault(), K.stopPropagation());
45966
+ onMove(H, I, K) {
45967
+ i.value && s.value && (G(K.x - T - q), K.preventDefault(), K.stopPropagation());
45958
45968
  },
45959
45969
  onUp() {
45960
45970
  f.value = !1;
45961
45971
  }
45962
45972
  }), M = CL({
45963
45973
  onDown(H) {
45964
- return !l.value || !u.value ? !1 : (L = H.offsetY, D = H.y - H.offsetY - u.value.offsetTop, H.preventDefault(), f.value = !0, !0);
45974
+ return !l.value || !u.value ? !1 : (D = H.offsetY, E = H.y - H.offsetY - u.value.offsetTop, H.preventDefault(), f.value = !0, !0);
45965
45975
  },
45966
- onMove(H, N, K) {
45967
- i.value && l.value && (J(K.y - L - D), K.preventDefault(), K.stopPropagation());
45976
+ onMove(H, I, K) {
45977
+ i.value && l.value && (J(K.y - D - E), K.preventDefault(), K.stopPropagation());
45968
45978
  },
45969
45979
  onUp() {
45970
45980
  f.value = !1;
45971
45981
  }
45972
45982
  });
45973
- function I(H) {
45983
+ function N(H) {
45974
45984
  i.value && (i.value.scrollLeft = H / 100 * (i.value.scrollWidth - i.value.offsetWidth));
45975
45985
  }
45976
45986
  function W(H) {
@@ -46009,9 +46019,9 @@ const TL = 140, UAe = 70, WAe = /* @__PURE__ */ ee({
46009
46019
  getScrollContainer() {
46010
46020
  return i.value;
46011
46021
  },
46012
- scrollTo(H, N) {
46022
+ scrollTo(H, I) {
46013
46023
  var K;
46014
- (K = i.value) == null || K.scrollTo(H, N);
46024
+ (K = i.value) == null || K.scrollTo(H, I);
46015
46025
  },
46016
46026
  scrollToTop() {
46017
46027
  var H;
@@ -46021,7 +46031,7 @@ const TL = 140, UAe = 70, WAe = /* @__PURE__ */ ee({
46021
46031
  var H;
46022
46032
  (H = i.value) == null || H.scrollTo(i.value.scrollWidth, i.value.scrollHeight);
46023
46033
  }
46024
- }), (H, N) => (A(), U("div", {
46034
+ }), (H, I) => (A(), U("div", {
46025
46035
  ref_key: "scrollrect",
46026
46036
  ref: o,
46027
46037
  class: de([
@@ -46052,7 +46062,7 @@ const TL = 140, UAe = 70, WAe = /* @__PURE__ */ ee({
46052
46062
  m.show ? fe(H.$slots, "scrollBarX", {
46053
46063
  key: 0,
46054
46064
  scrollBarValue: m,
46055
- onScroll: I
46065
+ onScroll: N
46056
46066
  }, () => [
46057
46067
  B("div", {
46058
46068
  ref_key: "scrollBarRefX",
@@ -46066,7 +46076,7 @@ const TL = 140, UAe = 70, WAe = /* @__PURE__ */ ee({
46066
46076
  ref_key: "scrollBarThumbRefX",
46067
46077
  ref: c,
46068
46078
  style: Dn({ left: `${m.pos}%`, width: `${m.size}%` }),
46069
- onMousedown: N[0] || (N[0] = //@ts-ignore
46079
+ onMousedown: I[0] || (I[0] = //@ts-ignore
46070
46080
  (...K) => O(_) && O(_)(...K)),
46071
46081
  onWheel: $
46072
46082
  }, null, 36)
@@ -46090,7 +46100,7 @@ const TL = 140, UAe = 70, WAe = /* @__PURE__ */ ee({
46090
46100
  ref_key: "scrollBarThumbRefY",
46091
46101
  ref: u,
46092
46102
  style: Dn({ top: `${p.pos}%`, height: `${p.size}%` }),
46093
- onMousedown: N[1] || (N[1] = //@ts-ignore
46103
+ onMousedown: I[1] || (I[1] = //@ts-ignore
46094
46104
  (...K) => O(M) && O(M)(...K)),
46095
46105
  onWheel: C
46096
46106
  }, null, 36)
@@ -46287,47 +46297,47 @@ const aEe = /* @__PURE__ */ sw(KAe, [["render", rEe]]), iEe = { class: "mx-item-
46287
46297
  };
46288
46298
  qe("menuItemInstance", P), je(() => {
46289
46299
  k.isMenuItemDataCollectedFlag() ? wt(() => {
46290
- let L = 0;
46291
- const D = k.getElement();
46292
- if (D) {
46300
+ let D = 0;
46301
+ const E = k.getElement();
46302
+ if (E) {
46293
46303
  let _ = 0;
46294
- for (let M = 0; M < D.children.length; M++) {
46295
- const I = D.children[M];
46296
- if (I.getAttribute("data-type") === "ContextMenuItem") {
46297
- if (I === w.value) {
46298
- L = _;
46304
+ for (let M = 0; M < E.children.length; M++) {
46305
+ const N = E.children[M];
46306
+ if (N.getAttribute("data-type") === "ContextMenuItem") {
46307
+ if (N === w.value) {
46308
+ D = _;
46299
46309
  break;
46300
46310
  }
46301
46311
  _++;
46302
46312
  }
46303
46313
  }
46304
46314
  }
46305
- k.addChildMenuItem(P, L);
46315
+ k.addChildMenuItem(P, D);
46306
46316
  }) : k.addChildMenuItem(P);
46307
46317
  }), Rt(() => {
46308
46318
  k.removeChildMenuItem(P);
46309
46319
  });
46310
- function $(L) {
46320
+ function $(D) {
46311
46321
  if (!l.value) {
46312
- if (L) {
46313
- const D = L.target;
46314
- if (D.classList.contains("mx-context-no-clickable") || z.value.ignoreClickClassName && D.classList.contains(z.value.ignoreClickClassName))
46322
+ if (D) {
46323
+ const E = D.target;
46324
+ if (E.classList.contains("mx-context-no-clickable") || z.value.ignoreClickClassName && E.classList.contains(z.value.ignoreClickClassName))
46315
46325
  return;
46316
- if (z.value.clickCloseClassName && D.classList.contains(z.value.clickCloseClassName)) {
46317
- L.stopPropagation(), x(r.rawMenuItem);
46326
+ if (z.value.clickCloseClassName && E.classList.contains(z.value.clickCloseClassName)) {
46327
+ D.stopPropagation(), x(r.rawMenuItem);
46318
46328
  return;
46319
46329
  }
46320
46330
  }
46321
- p.value ? s.value ? (typeof i.value == "function" && i.value(L), a("click", L)) : v.value || C() : (typeof i.value == "function" && i.value(L), a("click", L), o.value && x(r.rawMenuItem));
46331
+ p.value ? s.value ? (typeof i.value == "function" && i.value(D), a("click", D)) : v.value || C() : (typeof i.value == "function" && i.value(D), a("click", D), o.value && x(r.rawMenuItem));
46322
46332
  }
46323
46333
  }
46324
- function C(L) {
46325
- y.value = !1, k.checkCloseOtherSubMenuTimeOut() || k.closeOtherSubMenu(), l.value || (k.markActiveMenuItem(P), p.value && (L || k.markThisOpenedByKeyBoard(), k.addOpenedSubMenu(T), v.value = !0, wt(() => a("subMenuOpen", P))));
46334
+ function C(D) {
46335
+ y.value = !1, k.checkCloseOtherSubMenuTimeOut() || k.closeOtherSubMenu(), l.value || (k.markActiveMenuItem(P), p.value && (D || k.markThisOpenedByKeyBoard(), k.addOpenedSubMenu(T), v.value = !0, wt(() => a("subMenuOpen", P))));
46326
46336
  }
46327
46337
  function T() {
46328
46338
  y.value = !1, v.value = !1, a("subMenuClose", P);
46329
46339
  }
46330
- function E() {
46340
+ function q() {
46331
46341
  return {
46332
46342
  disabled: l.value,
46333
46343
  label: u.value,
@@ -46345,7 +46355,7 @@ const aEe = /* @__PURE__ */ sw(KAe, [["render", rEe]]), iEe = { class: "mx-item-
46345
46355
  closeMenu: x
46346
46356
  };
46347
46357
  }
46348
- return e(P), (L, D) => O(c) ? oe("", !0) : (A(), U("div", {
46358
+ return e(P), (D, E) => O(c) ? oe("", !0) : (A(), U("div", {
46349
46359
  key: 0,
46350
46360
  class: "mx-context-menu-item-wrapper",
46351
46361
  ref_key: "menuItemRef",
@@ -46354,11 +46364,11 @@ const aEe = /* @__PURE__ */ sw(KAe, [["render", rEe]]), iEe = { class: "mx-item-
46354
46364
  }, [
46355
46365
  O(j)("itemRender") ? (A(), ae(O(tr), {
46356
46366
  key: 0,
46357
- vnode: () => O(S)("itemRender", E())
46367
+ vnode: () => O(S)("itemRender", q())
46358
46368
  }, null, 8, ["vnode"])) : t.customRender ? (A(), ae(O(tr), {
46359
46369
  key: 1,
46360
46370
  vnode: t.customRender,
46361
- data: E()
46371
+ data: q()
46362
46372
  }, null, 8, ["vnode", "data"])) : (A(), U("div", {
46363
46373
  key: 2,
46364
46374
  class: de([
@@ -46371,7 +46381,7 @@ const aEe = /* @__PURE__ */ sw(KAe, [["render", rEe]]), iEe = { class: "mx-item-
46371
46381
  onClick: $,
46372
46382
  onMouseenter: C
46373
46383
  }, [
46374
- fe(L.$slots, "default", {}, () => [
46384
+ fe(D.$slots, "default", {}, () => [
46375
46385
  B("div", iEe, [
46376
46386
  B("div", {
46377
46387
  class: de([
@@ -46379,10 +46389,10 @@ const aEe = /* @__PURE__ */ sw(KAe, [["render", rEe]]), iEe = { class: "mx-item-
46379
46389
  t.preserveIconWidth ? "preserve-width" : ""
46380
46390
  ])
46381
46391
  }, [
46382
- fe(L.$slots, "icon", {}, () => [
46392
+ fe(D.$slots, "icon", {}, () => [
46383
46393
  O(j)("itemIconRender") ? (A(), ae(O(tr), {
46384
46394
  key: 0,
46385
- vnode: () => O(S)("itemIconRender", E())
46395
+ vnode: () => O(S)("itemIconRender", q())
46386
46396
  }, null, 8, ["vnode"])) : typeof t.svgIcon == "string" && t.svgIcon ? (A(), U("svg", At({
46387
46397
  key: 1,
46388
46398
  class: "icon svg"
@@ -46397,18 +46407,18 @@ const aEe = /* @__PURE__ */ sw(KAe, [["render", rEe]]), iEe = { class: "mx-item-
46397
46407
  class: de(O(f) + " icon " + O(h) + " " + O(z).iconFontClass)
46398
46408
  }, null, 2)) : oe("", !0)
46399
46409
  ]),
46400
- t.checked ? fe(L.$slots, "check", { key: 0 }, () => [
46410
+ t.checked ? fe(D.$slots, "check", { key: 0 }, () => [
46401
46411
  O(j)("itemCheckRender") ? (A(), ae(O(tr), {
46402
46412
  key: 0,
46403
- vnode: () => O(S)("itemCheckRender", E())
46413
+ vnode: () => O(S)("itemCheckRender", q())
46404
46414
  }, null, 8, ["vnode"])) : oe("", !0),
46405
46415
  d(JAe)
46406
46416
  ]) : oe("", !0)
46407
46417
  ], 2),
46408
- fe(L.$slots, "label", {}, () => [
46418
+ fe(D.$slots, "label", {}, () => [
46409
46419
  O(j)("itemLabelRender") ? (A(), ae(O(tr), {
46410
46420
  key: 0,
46411
- vnode: () => O(S)("itemLabelRender", E())
46421
+ vnode: () => O(S)("itemLabelRender", q())
46412
46422
  }, null, 8, ["vnode"])) : typeof O(u) == "string" ? (A(), U("span", sEe, he(O(u)), 1)) : (A(), ae(O(tr), {
46413
46423
  key: 2,
46414
46424
  vnode: O(u),
@@ -46417,24 +46427,24 @@ const aEe = /* @__PURE__ */ sw(KAe, [["render", rEe]]), iEe = { class: "mx-item-
46417
46427
  ])
46418
46428
  ]),
46419
46429
  B("div", lEe, [
46420
- O(m) || L.$slots.shortcut ? fe(L.$slots, "shortcut", { key: 0 }, () => [
46430
+ O(m) || D.$slots.shortcut ? fe(D.$slots, "shortcut", { key: 0 }, () => [
46421
46431
  O(j)("itemShortcutRender") ? (A(), ae(O(tr), {
46422
46432
  key: 0,
46423
- vnode: () => O(S)("itemShortcutRender", E())
46433
+ vnode: () => O(S)("itemShortcutRender", q())
46424
46434
  }, null, 8, ["vnode"])) : oe("", !0),
46425
46435
  B("span", cEe, he(O(m)), 1)
46426
46436
  ]) : oe("", !0),
46427
- O(g) ? fe(L.$slots, "rightArrow", { key: 1 }, () => [
46437
+ O(g) ? fe(D.$slots, "rightArrow", { key: 1 }, () => [
46428
46438
  O(j)("itemRightArrowRender") ? (A(), ae(O(tr), {
46429
46439
  key: 0,
46430
- vnode: () => O(S)("itemRightArrowRender", E())
46440
+ vnode: () => O(S)("itemRightArrowRender", q())
46431
46441
  }, null, 8, ["vnode"])) : oe("", !0),
46432
46442
  d(aEe)
46433
46443
  ]) : oe("", !0)
46434
46444
  ])
46435
46445
  ])
46436
46446
  ], 34)),
46437
- fe(L.$slots, "submenu", {
46447
+ fe(D.$slots, "submenu", {
46438
46448
  context: P,
46439
46449
  show: v.value
46440
46450
  })
@@ -46550,7 +46560,7 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46550
46560
  return;
46551
46561
  j.focus();
46552
46562
  const X = j.getElement();
46553
- X && ((R = m.value) == null || R.scrollTo(0, Math.min(Math.max(-M.value, -X.offsetTop - X.offsetHeight + I.value), 0)));
46563
+ X && ((R = m.value) == null || R.scrollTo(0, Math.min(Math.max(-M.value, -X.offsetTop - X.offsetHeight + N.value), 0)));
46554
46564
  }
46555
46565
  function $() {
46556
46566
  w(C);
@@ -46558,7 +46568,7 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46558
46568
  const C = {
46559
46569
  isTopLevel: () => s.getParentContext() === null,
46560
46570
  closeSelfAndActiveParent: () => {
46561
- const V = L.getParentContext();
46571
+ const V = D.getParentContext();
46562
46572
  if (V) {
46563
46573
  V.closeOtherSubMenu();
46564
46574
  const R = V.getSubMenuInstanceContext();
@@ -46569,7 +46579,7 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46569
46579
  },
46570
46580
  closeCurrentSubMenu: () => {
46571
46581
  var V;
46572
- return (V = L.getParentContext()) == null ? void 0 : V.closeOtherSubMenu();
46582
+ return (V = D.getParentContext()) == null ? void 0 : V.closeOtherSubMenu();
46573
46583
  },
46574
46584
  moveCurrentItemFirst: () => k(!0),
46575
46585
  moveCurrentItemLast: () => k(!1),
@@ -46579,8 +46589,8 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46579
46589
  openCurrentItemSubMenu: () => j ? j?.showSubMenu() : !1,
46580
46590
  triggerCurrentItemClick: (V) => j?.click(V)
46581
46591
  };
46582
- let T = !1, E = !1;
46583
- const L = {
46592
+ let T = !1, q = !1;
46593
+ const D = {
46584
46594
  zIndex: c + 1,
46585
46595
  container: s.container,
46586
46596
  adjustPadding: l.value.adjustPadding || ir.defaultAdjustPadding,
@@ -46622,13 +46632,13 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46622
46632
  T = !0;
46623
46633
  },
46624
46634
  isOpenedByKeyBoardFlag: () => T ? (T = !1, !0) : !1,
46625
- isMenuItemDataCollectedFlag: () => E,
46635
+ isMenuItemDataCollectedFlag: () => q,
46626
46636
  getElement: () => v.value || null,
46627
46637
  getParentContext: () => s,
46628
46638
  getSubMenuInstanceContext: () => C
46629
46639
  };
46630
- qe("menuContext", L);
46631
- const D = {
46640
+ qe("menuContext", D);
46641
+ const E = {
46632
46642
  getChildItem: (V) => z[V],
46633
46643
  getMenuDimensions: () => p.value ? {
46634
46644
  width: p.value.offsetWidth,
@@ -46648,19 +46658,19 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46648
46658
  adjustPosition: () => {
46649
46659
  J();
46650
46660
  },
46651
- getMaxHeight: () => I.value,
46661
+ getMaxHeight: () => N.value,
46652
46662
  getPosition: () => G.value,
46653
46663
  setPosition: (V, R) => {
46654
46664
  G.value.x = V, G.value.y = R;
46655
46665
  }
46656
46666
  }, _ = ye("menuItemInstance", void 0);
46657
- _ && (_.getSubMenuInstance = () => D);
46658
- const M = Y(0), I = Y(0), W = Y(!1), G = Y({ x: 0, y: 0 });
46667
+ _ && (_.getSubMenuInstance = () => E);
46668
+ const M = Y(0), N = Y(0), W = Y(!1), G = Y({ x: 0, y: 0 });
46659
46669
  function J() {
46660
46670
  wt(() => {
46661
46671
  const V = v.value, R = p.value;
46662
46672
  if (V && R && m.value) {
46663
- const { container: X } = s, H = u?.() ?? 0, N = f?.() ?? 0, K = getComputedStyle(R), ie = parseFloat(K.paddingLeft), re = parseFloat(K.paddingTop), ce = N > 0 ? re : 0, Pe = document.documentElement.scrollHeight / h(), Oe = document.documentElement.scrollWidth / h(), Le = Math.min(Oe, X.offsetWidth), ke = Math.min(Pe, X.offsetHeight);
46673
+ const { container: X } = s, H = u?.() ?? 0, I = f?.() ?? 0, K = getComputedStyle(R), ie = parseFloat(K.paddingLeft), re = parseFloat(K.paddingTop), ce = I > 0 ? re : 0, Pe = document.documentElement.scrollHeight / h(), Oe = document.documentElement.scrollWidth / h(), Le = Math.min(Oe, X.offsetWidth), ke = Math.min(Pe, X.offsetHeight);
46664
46674
  let Ne = Io(V, X), Qe = No(V, X);
46665
46675
  r.direction.includes("l") ? G.value.x -= V.offsetWidth + ie : r.direction.includes("r") ? G.value.x += H + ie : (G.value.x += H / 2, G.value.x -= (V.offsetWidth + ie) / 2), r.direction.includes("t") ? G.value.y -= (V.offsetHeight + re * 2) / h() : r.direction.includes("b") ? G.value.y -= re / h() : G.value.y -= (V.offsetHeight + re) / 2 / h(), wt(() => {
46666
46676
  var Re, zt;
@@ -46677,14 +46687,14 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46677
46687
  const Ke = Ve, ft = Qe;
46678
46688
  Ke > ft ? G.value.y -= ft - ce : G.value.y -= Ke - ce;
46679
46689
  }
46680
- I.value = ke - (G.value.y + re);
46690
+ N.value = ke - (G.value.y + re);
46681
46691
  } else
46682
- I.value = Ze || 0;
46692
+ N.value = Ze || 0;
46683
46693
  });
46684
46694
  }
46685
46695
  V?.focus({
46686
46696
  preventScroll: !0
46687
- }), s.isOpenedByKeyBoardFlag() && k(!0), E = !0;
46697
+ }), s.isOpenedByKeyBoardFlag() && k(!0), q = !0;
46688
46698
  });
46689
46699
  }
46690
46700
  function Q() {
@@ -46706,7 +46716,7 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46706
46716
  }), Rt(() => {
46707
46717
  i.value = !1, _ && (_.getSubMenuInstance = () => {
46708
46718
  });
46709
- }), e(D), (V, R) => {
46719
+ }), e(E), (V, R) => {
46710
46720
  const X = St("ContextSubMenu", !0);
46711
46721
  return i.value ? (A(), ae(Ra, {
46712
46722
  key: 0,
@@ -46742,7 +46752,7 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46742
46752
  ref_key: "scrollRectRef",
46743
46753
  ref: m,
46744
46754
  scroll: "vertical",
46745
- maxHeight: I.value,
46755
+ maxHeight: N.value,
46746
46756
  containerClass: "mx-context-menu-scroll"
46747
46757
  }, {
46748
46758
  default: te(() => [
@@ -46752,7 +46762,7 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46752
46762
  ref: v
46753
46763
  }, [
46754
46764
  fe(V.$slots, "default", {}, () => [
46755
- (A(!0), U(ge, null, dt(t.items, (H, N) => (A(), U(ge, { key: N }, [
46765
+ (A(!0), U(ge, null, dt(t.items, (H, I) => (A(), U(ge, { key: I }, [
46756
46766
  H.hidden !== !0 && H.divided === "up" ? (A(), ae(Ro, { key: 0 })) : oe("", !0),
46757
46767
  H.hidden !== !0 && H.divided === "self" ? (A(), ae(Ro, { key: 1 })) : (A(), ae(lw, {
46758
46768
  key: 2,
@@ -46890,7 +46900,7 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46890
46900
  const y = Y();
46891
46901
  qe("globalSetCurrentSubMenu", (x) => y.value = x), qe("globalGetMenuHostId", c.value.id);
46892
46902
  function w(x) {
46893
- var k, P, $, C, T, E, L, D, _, M, I, W, G;
46903
+ var k, P, $, C, T, q, D, E, _, M, N, W, G;
46894
46904
  let J = !0;
46895
46905
  switch (x.key) {
46896
46906
  case "Escape": {
@@ -46907,14 +46917,14 @@ const Ro = /* @__PURE__ */ sw(uEe, [["render", fEe]]), cw = /* @__PURE__ */ ee({
46907
46917
  (T = y.value) == null || T.moveCurrentItemFirst();
46908
46918
  break;
46909
46919
  case "End":
46910
- (E = y.value) == null || E.moveCurrentItemLast();
46920
+ (q = y.value) == null || q.moveCurrentItemLast();
46911
46921
  break;
46912
46922
  case "ArrowLeft": {
46913
- (L = y.value) != null && L.closeSelfAndActiveParent() || (_ = (D = s.value).onKeyFocusMoveLeft) == null || _.call(D);
46923
+ (D = y.value) != null && D.closeSelfAndActiveParent() || (_ = (E = s.value).onKeyFocusMoveLeft) == null || _.call(E);
46914
46924
  break;
46915
46925
  }
46916
46926
  case "ArrowRight":
46917
- (M = y.value) != null && M.openCurrentItemSubMenu() || (W = (I = s.value).onKeyFocusMoveRight) == null || W.call(I);
46927
+ (M = y.value) != null && M.openCurrentItemSubMenu() || (W = (N = s.value).onKeyFocusMoveRight) == null || W.call(N);
46918
46928
  break;
46919
46929
  case "Enter":
46920
46930
  (G = y.value) == null || G.triggerCurrentItemClick(x);
@@ -48162,23 +48172,23 @@ pe.prototype = /** @lends Sortable.prototype */
48162
48172
  return y(), n.insertBefore(se, S), lt = n, z(), w(!0);
48163
48173
  } else if (r.parentNode === n) {
48164
48174
  i = vt(r);
48165
- var x = 0, k, P = se.parentNode !== n, $ = !CEe(se.animated && se.toRect || a, r.animated && r.toRect || i, g), C = g ? "top" : "left", T = DL(r, "top", "top") || DL(se, "top", "top"), E = T ? T.scrollTop : void 0;
48175
+ var x = 0, k, P = se.parentNode !== n, $ = !CEe(se.animated && se.toRect || a, r.animated && r.toRect || i, g), C = g ? "top" : "left", T = DL(r, "top", "top") || DL(se, "top", "top"), q = T ? T.scrollTop : void 0;
48166
48176
  li !== r && (k = i[C], Xo = !1, Al = !$ && s.invertSwap || P), x = DEe(e, r, i, g, $ ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Al, li === r);
48167
- var L;
48177
+ var D;
48168
48178
  if (x !== 0) {
48169
- var D = yn(se);
48179
+ var E = yn(se);
48170
48180
  do
48171
- D -= x, L = lt.children[D];
48172
- while (L && (ve(L, "display") === "none" || L === ze));
48181
+ E -= x, D = lt.children[E];
48182
+ while (D && (ve(D, "display") === "none" || D === ze));
48173
48183
  }
48174
- if (x === 0 || L === r)
48184
+ if (x === 0 || D === r)
48175
48185
  return w(!1);
48176
48186
  li = r, Yo = x;
48177
48187
  var _ = r.nextElementSibling, M = !1;
48178
48188
  M = x === 1;
48179
- var I = ql(et, n, se, a, r, i, e, M);
48180
- if (I !== !1)
48181
- return (I === 1 || I === -1) && (M = I === 1), Y2 = !0, setTimeout(AEe, 30), y(), M && !_ ? n.appendChild(se) : r.parentNode.insertBefore(se, M ? _ : r), T && XR(T, 0, E - T.scrollTop), lt = se.parentNode, k !== void 0 && !Al && (lc = Math.abs(k - vt(r)[C])), z(), w(!0);
48189
+ var N = ql(et, n, se, a, r, i, e, M);
48190
+ if (N !== !1)
48191
+ return (N === 1 || N === -1) && (M = N === 1), Y2 = !0, setTimeout(AEe, 30), y(), M && !_ ? n.appendChild(se) : r.parentNode.insertBefore(se, M ? _ : r), T && XR(T, 0, q - T.scrollTop), lt = se.parentNode, k !== void 0 && !Al && (lc = Math.abs(k - vt(r)[C])), z(), w(!0);
48182
48192
  }
48183
48193
  if (n.contains(se))
48184
48194
  return w(!1);
@@ -48511,11 +48521,11 @@ var gd = YR(function(t, e, n, r) {
48511
48521
  do {
48512
48522
  var g = h, m = vt(g), p = m.top, v = m.bottom, y = m.left, w = m.right, z = m.width, j = m.height, S = void 0, x = void 0, k = g.scrollWidth, P = g.scrollHeight, $ = ve(g), C = g.scrollLeft, T = g.scrollTop;
48513
48523
  g === l ? (S = z < k && ($.overflowX === "auto" || $.overflowX === "scroll" || $.overflowX === "visible"), x = j < P && ($.overflowY === "auto" || $.overflowY === "scroll" || $.overflowY === "visible")) : (S = z < k && ($.overflowX === "auto" || $.overflowX === "scroll"), x = j < P && ($.overflowY === "auto" || $.overflowY === "scroll"));
48514
- var E = S && (Math.abs(w - a) <= o && C + z < k) - (Math.abs(y - a) <= o && !!C), L = x && (Math.abs(v - i) <= o && T + j < P) - (Math.abs(p - i) <= o && !!T);
48524
+ var q = S && (Math.abs(w - a) <= o && C + z < k) - (Math.abs(y - a) <= o && !!C), D = x && (Math.abs(v - i) <= o && T + j < P) - (Math.abs(p - i) <= o && !!T);
48515
48525
  if (!gt[f])
48516
- for (var D = 0; D <= f; D++)
48517
- gt[D] || (gt[D] = {});
48518
- (gt[f].vx != E || gt[f].vy != L || gt[f].el !== g) && (gt[f].el = g, gt[f].vx = E, gt[f].vy = L, clearInterval(gt[f].pid), (E != 0 || L != 0) && (c = !0, gt[f].pid = setInterval((function() {
48526
+ for (var E = 0; E <= f; E++)
48527
+ gt[E] || (gt[E] = {});
48528
+ (gt[f].vx != q || gt[f].vy != D || gt[f].el !== g) && (gt[f].el = g, gt[f].vx = q, gt[f].vy = D, clearInterval(gt[f].pid), (q != 0 || D != 0) && (c = !0, gt[f].pid = setInterval((function() {
48519
48529
  r && this.layer === 0 && pe.active._onTouchMove(Uc);
48520
48530
  var _ = gt[this.layer].vy ? gt[this.layer].vy * s : 0, M = gt[this.layer].vx ? gt[this.layer].vx * s : 0;
48521
48531
  typeof u == "function" && u.call(pe.dragged.parentNode[Xt], M, _, t, Uc, gt[this.layer].el) !== "continue" || XR(gt[this.layer].el, M, _);
@@ -48669,7 +48679,7 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
48669
48679
  name: "TabbarMoreAction",
48670
48680
  __name: "MoreAction",
48671
48681
  setup(t) {
48672
- const e = $n(), { settingsStore: n, tabbarStore: r, generateTitle: a, routeStore: i } = De(), o = q9(), s = q(() => o.getId()), l = Y(), { toggle: c } = nw(), u = Y(!1);
48682
+ const e = $n(), { settingsStore: n, tabbarStore: r, generateTitle: a, routeStore: i } = De(), o = q9(), s = L(() => o.getId()), l = Y(), { toggle: c } = nw(), u = Y(!1);
48673
48683
  le(() => l.value, (w) => {
48674
48684
  w && new pe(l.value.$el, {
48675
48685
  animation: 200,
@@ -48721,7 +48731,7 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
48721
48731
  let $ = P?.meta?.iconOptions;
48722
48732
  return !$ && P?.meta?.breadcrumbNeste?.length && ($ = [...P.meta.breadcrumbNeste].reverse().find((T) => T?.iconOptions)?.iconOptions), $;
48723
48733
  }
48724
- const p = q(() => r.list.reduce((w, z) => (w[z.tabId] = m(z), w), {}));
48734
+ const p = L(() => r.list.reduce((w, z) => (w[z.tabId] = m(z), w), {}));
48725
48735
  function v(w) {
48726
48736
  const z = w?.boxType;
48727
48737
  return z && z !== "null" ? z : void 0;
@@ -48870,23 +48880,23 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
48870
48880
  name: "Tabbar",
48871
48881
  __name: "index",
48872
48882
  setup(t) {
48873
- ZU((D) => ({
48883
+ ZU((E) => ({
48874
48884
  d6744b78: O(p),
48875
48885
  d60d78b0: O(v)
48876
48886
  }));
48877
- const e = Ut(), n = $n(), { settingsStore: r, tabbarStore: a, generateTitle: i, routeStore: o } = De(), s = q9(), l = D9(), c = FJ({ reactive: !0 }), u = q(() => s.getId()), f = q(() => a.list.length > 1 && (s.checkCloseOtherSide() || s.checkCloseLeftSide() || s.checkCloseRightSide())), h = Y(), g = Y(), m = ue([]);
48887
+ const e = Ut(), n = $n(), { settingsStore: r, tabbarStore: a, generateTitle: i, routeStore: o } = De(), s = q9(), l = D9(), c = FJ({ reactive: !0 }), u = L(() => s.getId()), f = L(() => a.list.length > 1 && (s.checkCloseOtherSide() || s.checkCloseLeftSide() || s.checkCloseRightSide())), h = Y(), g = Y(), m = ue([]);
48878
48888
  xF(() => {
48879
48889
  m.value = [];
48880
48890
  });
48881
- const p = q(() => {
48882
- const D = a.list.findIndex((M) => M.tabId === u.value);
48883
- if (D === -1 || !h.value || !m.value.length)
48891
+ const p = L(() => {
48892
+ const E = a.list.findIndex((M) => M.tabId === u.value);
48893
+ if (E === -1 || !h.value || !m.value.length)
48884
48894
  return "0px";
48885
- const _ = m.value.find((M) => Number.parseInt(M.dataset.index) === D);
48895
+ const _ = m.value.find((M) => Number.parseInt(M.dataset.index) === E);
48886
48896
  return _ ? `${h.value.offsetWidth - (_.getBoundingClientRect().right || 0)}px` : "0px";
48887
- }), v = q(() => {
48888
- const D = a.list.findIndex((M) => M.tabId === u.value);
48889
- return D === -1 || !m.value.length ? "0px" : `${m.value.find((M) => Number.parseInt(M.dataset.index) === D)?.offsetWidth || 0}px`;
48897
+ }), v = L(() => {
48898
+ const E = a.list.findIndex((M) => M.tabId === u.value);
48899
+ return E === -1 || !m.value.length ? "0px" : `${m.value.find((M) => Number.parseInt(M.dataset.index) === E)?.offsetWidth || 0}px`;
48890
48900
  }), y = Y(!1);
48891
48901
  let w;
48892
48902
  je(() => {
@@ -48902,21 +48912,21 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
48902
48912
  onEnd: () => {
48903
48913
  y.value = !1;
48904
48914
  },
48905
- onUpdate: (D) => {
48906
- D.newIndex !== void 0 && D.oldIndex !== void 0 && a.sort(D.newIndex, D.oldIndex);
48915
+ onUpdate: (E) => {
48916
+ E.newIndex !== void 0 && E.oldIndex !== void 0 && a.sort(E.newIndex, E.oldIndex);
48907
48917
  }
48908
48918
  });
48909
48919
  }), le([
48910
48920
  () => r.mode
48911
- ], (D) => {
48921
+ ], (E) => {
48912
48922
  wt(() => {
48913
- w?.option("disabled", D[0] === "mobile");
48923
+ w?.option("disabled", E[0] === "mobile");
48914
48924
  });
48915
48925
  }, {
48916
48926
  immediate: !0
48917
- }), le(() => e.fullPath, (D, _) => {
48918
- r.settings.tabbar.enable && D !== _ && a.add(e).then(() => {
48919
- const M = a.list.findIndex((I) => I.tabId === u.value);
48927
+ }), le(() => e.fullPath, (E, _) => {
48928
+ r.settings.tabbar.enable && E !== _ && a.add(e).then(() => {
48929
+ const M = a.list.findIndex((N) => N.tabId === u.value);
48920
48930
  M !== -1 && m.value[M] && (x(m.value[M].offsetLeft), z());
48921
48931
  });
48922
48932
  }, {
@@ -48939,21 +48949,21 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
48939
48949
  zIndex: 2e3
48940
48950
  }));
48941
48951
  }
48942
- function S(D) {
48952
+ function S(E) {
48943
48953
  h.value.scrollBy({
48944
- left: D.deltaY || D.detail
48954
+ left: E.deltaY || E.detail
48945
48955
  });
48946
48956
  }
48947
- function x(D) {
48957
+ function x(E) {
48948
48958
  h.value.scrollTo({
48949
- left: D - 50,
48959
+ left: E - 50,
48950
48960
  behavior: "smooth"
48951
48961
  });
48952
48962
  }
48953
- function k(D, _) {
48954
- D.preventDefault(), gEe.showContextMenu({
48955
- x: D.x,
48956
- y: D.y,
48963
+ function k(E, _) {
48964
+ E.preventDefault(), gEe.showContextMenu({
48965
+ x: E.x,
48966
+ y: E.y,
48957
48967
  zIndex: 1050,
48958
48968
  iconFontClass: "",
48959
48969
  customClass: "tabbar-contextmenu",
@@ -49013,47 +49023,47 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
49013
49023
  ]
49014
49024
  });
49015
49025
  }
49016
- function P(D, _, M) {
49026
+ function P(E, _, M) {
49017
49027
  M === "system-point" && (M = "");
49018
- let I;
49019
- return (!D && _ || D && !M) && (I = _), D && M && (I = M), I;
49020
- }
49021
- function $(D) {
49022
- return D.split(/[?#]/)[0];
49023
- }
49024
- function C(D) {
49025
- const I = [...n.resolve(D.fullPath).matched].reverse().find((V) => V?.meta?.iconOptions);
49026
- if (I?.meta?.iconOptions)
49027
- return I.meta.iconOptions;
49028
- const W = $(D.fullPath), G = [...o.flatSystemRoutes, ...o.flatRoutes];
49029
- let J = D.routeName ? G.find((V) => V.name === D.routeName) : void 0;
49028
+ let N;
49029
+ return (!E && _ || E && !M) && (N = _), E && M && (N = M), N;
49030
+ }
49031
+ function $(E) {
49032
+ return E.split(/[?#]/)[0];
49033
+ }
49034
+ function C(E) {
49035
+ const N = [...n.resolve(E.fullPath).matched].reverse().find((V) => V?.meta?.iconOptions);
49036
+ if (N?.meta?.iconOptions)
49037
+ return N.meta.iconOptions;
49038
+ const W = $(E.fullPath), G = [...o.flatSystemRoutes, ...o.flatRoutes];
49039
+ let J = E.routeName ? G.find((V) => V.name === E.routeName) : void 0;
49030
49040
  J || (J = G.find((V) => V.path === W));
49031
49041
  let Q = J?.meta?.iconOptions;
49032
49042
  return !Q && J?.meta?.breadcrumbNeste?.length && (Q = [...J.meta.breadcrumbNeste].reverse().find((R) => R?.iconOptions)?.iconOptions), Q;
49033
49043
  }
49034
- const T = q(() => a.list.reduce((D, _) => (D[_.tabId] = C(_), D), {}));
49035
- function E(D) {
49036
- const _ = D?.boxType;
49044
+ const T = L(() => a.list.reduce((E, _) => (E[_.tabId] = C(_), E), {}));
49045
+ function q(E) {
49046
+ const _ = E?.boxType;
49037
49047
  return _ && _ !== "null" ? _ : void 0;
49038
49048
  }
49039
- function L(D) {
49040
- return D?.iconColor || void 0;
49049
+ function D(E) {
49050
+ return E?.iconColor || void 0;
49041
49051
  }
49042
49052
  return je(() => {
49043
- Te("alt+left,alt+right,alt+w,alt+1,alt+2,alt+3,alt+4,alt+5,alt+6,alt+7,alt+8,alt+9,alt+0", (D, _) => {
49053
+ Te("alt+left,alt+right,alt+w,alt+1,alt+2,alt+3,alt+4,alt+5,alt+6,alt+7,alt+8,alt+9,alt+0", (E, _) => {
49044
49054
  if (r.settings.tabbar.enable && r.settings.tabbar.enableHotkeys)
49045
- switch (D.preventDefault(), _.key) {
49055
+ switch (E.preventDefault(), _.key) {
49046
49056
  // 切换到当前标签页紧邻的上一个标签页
49047
49057
  case "alt+left":
49048
49058
  if (a.list[0].tabId !== u.value) {
49049
- const M = a.list.findIndex((I) => I.tabId === u.value);
49059
+ const M = a.list.findIndex((N) => N.tabId === u.value);
49050
49060
  n.push(a.list[M - 1].fullPath);
49051
49061
  }
49052
49062
  break;
49053
49063
  // 切换到当前标签页紧邻的下一个标签页
49054
49064
  case "alt+right":
49055
49065
  if (a.list.at(-1)?.tabId !== u.value) {
49056
- const M = a.list.findIndex((I) => I.tabId === u.value);
49066
+ const M = a.list.findIndex((N) => N.tabId === u.value);
49057
49067
  n.push(a.list[M + 1].fullPath);
49058
49068
  }
49059
49069
  break;
@@ -49083,7 +49093,7 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
49083
49093
  });
49084
49094
  }), kt(() => {
49085
49095
  Te.unbind("alt+left,alt+right,alt+w,alt+1,alt+2,alt+3,alt+4,alt+5,alt+6,alt+7,alt+8,alt+9,alt+0");
49086
- }), (D, _) => (A(), U("div", gqe, [
49096
+ }), (E, _) => (A(), U("div", gqe, [
49087
49097
  B("div", {
49088
49098
  ref_key: "tabsRef",
49089
49099
  ref: h,
@@ -49101,12 +49111,12 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
49101
49111
  class: de(["tab-container", { dragging: O(y) }])
49102
49112
  }, {
49103
49113
  default: te(() => [
49104
- (A(!0), U(ge, null, dt(O(a).list, (M, I) => (A(), U("div", {
49114
+ (A(!0), U(ge, null, dt(O(a).list, (M, N) => (A(), U("div", {
49105
49115
  key: O(r).settings.tabbar.mergeTabsBy === "routeName" && M.routeName ? M.routeName : M.tabId,
49106
49116
  ref_for: !0,
49107
49117
  ref_key: "tabRef",
49108
49118
  ref: m,
49109
- "data-index": I,
49119
+ "data-index": N,
49110
49120
  class: de(["tab", {
49111
49121
  "tab-ontop": O(r).settings.topbar.switchTabbarAndToolbar,
49112
49122
  actived: M.tabId === O(u),
@@ -49125,22 +49135,22 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
49125
49135
  class: "title"
49126
49136
  }, [
49127
49137
  O(r).settings.tabbar.enableIcon && P(M.tabId === O(u), M.icon, M.activeIcon) ? (A(), U(ge, { key: 0 }, [
49128
- E(O(T)[M.tabId]) ? (A(), ae(O(qt), {
49138
+ q(O(T)[M.tabId]) ? (A(), ae(O(qt), {
49129
49139
  key: 0,
49130
49140
  small: "",
49131
49141
  name: P(M.tabId === O(u), M.icon, M.activeIcon),
49132
- box: E(O(T)[M.tabId]),
49142
+ box: q(O(T)[M.tabId]),
49133
49143
  size: 16,
49134
49144
  angle: O(T)[M.tabId]?.angle,
49135
49145
  background: O(T)[M.tabId]?.background,
49136
49146
  radius: O(T)[M.tabId]?.radius,
49137
- color: (P(M.tabId === O(u), M.icon, M.activeIcon) || "").startsWith("antd:") ? L(O(T)[M.tabId]) || "#ffffff" : void 0,
49147
+ color: (P(M.tabId === O(u), M.icon, M.activeIcon) || "").startsWith("antd:") ? D(O(T)[M.tabId]) || "#ffffff" : void 0,
49138
49148
  class: "icon"
49139
49149
  }, null, 8, ["name", "box", "angle", "background", "radius", "color"])) : (A(), ae(O(qt), {
49140
49150
  key: 1,
49141
49151
  name: P(M.tabId === O(u), M.icon, M.activeIcon),
49142
49152
  size: 16,
49143
- color: (P(M.tabId === O(u), M.icon, M.activeIcon) || "").startsWith("antd:") ? L(O(T)[M.tabId]) : void 0,
49153
+ color: (P(M.tabId === O(u), M.icon, M.activeIcon) || "").startsWith("antd:") ? D(O(T)[M.tabId]) : void 0,
49144
49154
  class: "icon"
49145
49155
  }, null, 8, ["name", "color"]))
49146
49156
  ], 64)) : oe("", !0),
@@ -49163,8 +49173,8 @@ const iqe = Ae({ name: "ri-arrow-down-s-fill", render: aqe }), oqe = { class: "h
49163
49173
  }, [
49164
49174
  d(O(aU), { text: "10px" })
49165
49175
  ], 40, wqe)) : oe("", !0),
49166
- Un(B("div", { class: "hotkey-number" }, he(I + 1), 513), [
49167
- [mr, O(c).alt && I < 9]
49176
+ Un(B("div", { class: "hotkey-number" }, he(N + 1), 513), [
49177
+ [mr, O(c).alt && N < 9]
49168
49178
  ]),
49169
49179
  _[3] || (_[3] = B("div", { class: "drag-handle" }, null, -1))
49170
49180
  ])
@@ -49429,7 +49439,7 @@ const Yqe = Ae({ name: "fluent-star-16-regular", render: Gqe }), Xqe = {
49429
49439
  name: "Toolbar",
49430
49440
  __name: "index",
49431
49441
  setup(t) {
49432
- const e = Ut(), n = $n(), { settingsStore: r, menuStore: a, generateTitle: i } = De(), o = q(() => r.mode === "mobile" || ["side", "head", "single"].includes(r.settings.menu.menuMode) && r.settings.menu.enableSubMenuCollapseButton && !(r.settings.menu.subMenuOnlyOneHide && a.sidebarMenus.length === 1 && (!a.sidebarMenus[0].children || a.sidebarMenus[0]?.children.every((v) => v.meta?.sidebar === !1)))), s = q(
49442
+ const e = Ut(), n = $n(), { settingsStore: r, menuStore: a, generateTitle: i } = De(), o = L(() => r.mode === "mobile" || ["side", "head", "single"].includes(r.settings.menu.menuMode) && r.settings.menu.enableSubMenuCollapseButton && !(r.settings.menu.subMenuOnlyOneHide && a.sidebarMenus.length === 1 && (!a.sidebarMenus[0].children || a.sidebarMenus[0]?.children.every((v) => v.meta?.sidebar === !1)))), s = L(
49433
49443
  () => r.mode === "pc" && r.settings.breadcrumb.enable
49434
49444
  );
49435
49445
  function l() {
@@ -49438,7 +49448,7 @@ const Yqe = Ae({ name: "fluent-star-16-regular", render: Gqe }), Xqe = {
49438
49448
  title: i(r.settings.home.title)
49439
49449
  };
49440
49450
  }
49441
- const c = q(() => {
49451
+ const c = L(() => {
49442
49452
  const v = [];
49443
49453
  if (r.settings.home.enable && v.push(l()), e.name !== "Home" && r.settings.breadcrumb.enableMainMenu && !["single"].includes(r.settings.menu.menuMode)) {
49444
49454
  const y = a.allMenus.findIndex((w) => w.children.some((z) => e.fullPath.indexOf(`${z.path}/`) === 0 || e.fullPath === z.path));
@@ -49463,7 +49473,7 @@ const Yqe = Ae({ name: "fluent-star-16-regular", render: Gqe }), Xqe = {
49463
49473
  function u(v) {
49464
49474
  return mV.compile(v)(e.params);
49465
49475
  }
49466
- const f = q(() => {
49476
+ const f = L(() => {
49467
49477
  const v = Lt(a.allMenus), y = h(
49468
49478
  v,
49469
49479
  (w) => w?.meta?.sidebar !== !1
@@ -49589,7 +49599,7 @@ const Yqe = Ae({ name: "fluent-star-16-regular", render: Gqe }), Xqe = {
49589
49599
  name: "Topbar",
49590
49600
  __name: "index",
49591
49601
  setup(t) {
49592
- const { settingsStore: e } = De(), n = q(() => !(e.settings.menu.menuMode === "head" && !e.settings.menu.enableSubMenuCollapseButton && !e.settings.favorites.enable && !e.settings.breadcrumb.enable || e.settings.menu.menuMode === "only-head" && !e.settings.favorites.enable && !e.settings.breadcrumb.enable)), r = Y(0), a = Y(!1), i = ck("--g-tabbar-height", document.documentElement || document.body), o = ck("--g-toolbar-height", document.documentElement || document.body), s = q(() => {
49602
+ const { settingsStore: e } = De(), n = L(() => !(e.settings.menu.menuMode === "head" && !e.settings.menu.enableSubMenuCollapseButton && !e.settings.favorites.enable && !e.settings.breadcrumb.enable || e.settings.menu.menuMode === "only-head" && !e.settings.favorites.enable && !e.settings.breadcrumb.enable)), r = Y(0), a = Y(!1), i = ck("--g-tabbar-height", document.documentElement || document.body), o = ck("--g-toolbar-height", document.documentElement || document.body), s = L(() => {
49593
49603
  const c = e.settings.tabbar.enable ? Number.parseInt(i.value) : 0, u = n.value ? Number.parseInt(o.value) : 0;
49594
49604
  return c + u;
49595
49605
  });
@@ -49623,10 +49633,10 @@ function bd(t, e = document.documentElement) {
49623
49633
  return getComputedStyle(e).getPropertyValue(t).trim();
49624
49634
  }
49625
49635
  function rDe() {
49626
- const { settingsStore: t, menuStore: e } = De(), n = q(() => {
49636
+ const { settingsStore: t, menuStore: e } = De(), n = L(() => {
49627
49637
  const a = t.settings.menu.menuMode, i = t.mode !== "mobile", o = a === "single", s = ["head", "only-head"].includes(a);
49628
49638
  return o || s && i ? "0px" : bd("--g-main-sidebar-width");
49629
- }), r = q(() => {
49639
+ }), r = L(() => {
49630
49640
  let a = bd("--g-sub-sidebar-width");
49631
49641
  const i = t.settings.menu.subMenuCollapse, o = t.settings.menu.subMenuOnlyOneHide, s = t.settings.menu.menuMode, l = t.mode !== "mobile", c = ["only-side", "only-head"].includes(s);
49632
49642
  return i && l && (a = bd("--g-sub-sidebar-collapse-width")), c && l && (a = "0px"), o && e.sidebarMenus.length === 1 && (!e.sidebarMenus[0].children || e.sidebarMenus[0]?.children.every((u) => u.meta?.sidebar === !1)) && (a = "0px"), a;
@@ -49737,7 +49747,7 @@ const sDe = { class: "wrapper" }, lDe = { class: "main" }, cDe = /* @__PURE__ */
49737
49747
  name: "Layout",
49738
49748
  __name: "Layout",
49739
49749
  setup(t) {
49740
- const e = Ut(), { auth: n } = Ad(), r = q(() => e.matched.every((s) => n(s.meta.auth ?? ""))), { settingsStore: a } = De(), { mainSidebarActualWidth: i, subSidebarActualWidth: o } = rDe();
49750
+ const e = Ut(), { auth: n } = Ad(), r = L(() => e.matched.every((s) => n(s.meta.auth ?? ""))), { settingsStore: a } = De(), { mainSidebarActualWidth: i, subSidebarActualWidth: o } = rDe();
49741
49751
  return aDe(), oDe(), le(() => a.settings.menu.subMenuCollapse, (s) => {
49742
49752
  a.mode === "mobile" && (s ? document.body.classList.remove("overflow-hidden") : document.body.classList.add("overflow-hidden"));
49743
49753
  }), le(() => e.path, () => {
@@ -49956,7 +49966,7 @@ const fDe = Ae({ name: "solar-widget-5-bold-duotone", render: dDe }), mDe = "dat
49956
49966
  let p;
49957
49967
  return !h && g || h && !m ? p = g : h && m && (p = m), p;
49958
49968
  }
49959
- const o = Y(), { width: s } = qJ(o), l = Y(0), c = q(() => l.value === n.allMenus.length - 1);
49969
+ const o = Y(), { width: s } = qJ(o), l = Y(0), c = L(() => l.value === n.allMenus.length - 1);
49960
49970
  function u(h, g) {
49961
49971
  const m = h + l.value + 1;
49962
49972
  a(m, g);
@@ -50376,14 +50386,14 @@ const LDe = (t) => ({
50376
50386
  }, g = pw(a), m = hw(g), p = await o.getDimensions(c), v = g === "y", y = v ? "top" : "left", w = v ? "bottom" : "right", z = v ? "clientHeight" : "clientWidth", j = i.reference[m] + i.reference[g] - h[g] - i.floating[m], S = h[g] - i.reference[g], x = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
50377
50387
  let k = x ? x[z] : 0;
50378
50388
  (!k || !await (o.isElement == null ? void 0 : o.isElement(x))) && (k = s.floating[z] || i.floating[m]);
50379
- const P = j / 2 - S / 2, $ = k / 2 - p[m] / 2 - 1, C = Os(f[y], $), T = Os(f[w], $), E = C, L = k - p[m] - T, D = k / 2 - p[m] / 2 + P, _ = J2(E, D, L), M = !l.arrow && In(a) != null && D !== _ && i.reference[m] / 2 - (D < E ? C : T) - p[m] / 2 < 0, I = M ? D < E ? D - E : D - L : 0;
50389
+ const P = j / 2 - S / 2, $ = k / 2 - p[m] / 2 - 1, C = Os(f[y], $), T = Os(f[w], $), q = C, D = k - p[m] - T, E = k / 2 - p[m] / 2 + P, _ = J2(q, E, D), M = !l.arrow && In(a) != null && E !== _ && i.reference[m] / 2 - (E < q ? C : T) - p[m] / 2 < 0, N = M ? E < q ? E - q : E - D : 0;
50380
50390
  return {
50381
- [g]: h[g] + I,
50391
+ [g]: h[g] + N,
50382
50392
  data: {
50383
50393
  [g]: _,
50384
- centerOffset: D - _ - I,
50394
+ centerOffset: E - _ - N,
50385
50395
  ...M && {
50386
- alignmentOffset: I
50396
+ alignmentOffset: N
50387
50397
  }
50388
50398
  },
50389
50399
  reset: M
@@ -50439,7 +50449,7 @@ const VDe = function(t) {
50439
50449
  const T = In(C.placement);
50440
50450
  return [C.placement, T && u ? (
50441
50451
  // Check along the mainAxis and main crossAxis side.
50442
- C.overflows.slice(0, 2).reduce((E, L) => E + L, 0)
50452
+ C.overflows.slice(0, 2).reduce((q, D) => q + D, 0)
50443
50453
  ) : (
50444
50454
  // Check only the mainAxis.
50445
50455
  C.overflows[0]
@@ -50490,33 +50500,33 @@ const VDe = function(t) {
50490
50500
  const k = [s, ...S], P = await Zu(e, v), $ = [];
50491
50501
  let C = ((r = i.flip) == null ? void 0 : r.overflows) || [];
50492
50502
  if (u && $.push(P[y]), f) {
50493
- const D = dU(a, o, j);
50494
- $.push(P[D[0]], P[D[1]]);
50503
+ const E = dU(a, o, j);
50504
+ $.push(P[E[0]], P[E[1]]);
50495
50505
  }
50496
50506
  if (C = [...C, {
50497
50507
  placement: a,
50498
50508
  overflows: $
50499
- }], !$.every((D) => D <= 0)) {
50500
- var T, E;
50501
- const D = (((T = i.flip) == null ? void 0 : T.index) || 0) + 1, _ = k[D];
50509
+ }], !$.every((E) => E <= 0)) {
50510
+ var T, q;
50511
+ const E = (((T = i.flip) == null ? void 0 : T.index) || 0) + 1, _ = k[E];
50502
50512
  if (_ && (!(f === "alignment" ? w !== $r(_) : !1) || // We leave the current main axis only if every placement on that axis
50503
50513
  // overflows the main axis.
50504
50514
  C.every((W) => W.overflows[0] > 0 && $r(W.placement) === w)))
50505
50515
  return {
50506
50516
  data: {
50507
- index: D,
50517
+ index: E,
50508
50518
  overflows: C
50509
50519
  },
50510
50520
  reset: {
50511
50521
  placement: _
50512
50522
  }
50513
50523
  };
50514
- let M = (E = C.filter((I) => I.overflows[0] <= 0).sort((I, W) => I.overflows[1] - W.overflows[1])[0]) == null ? void 0 : E.placement;
50524
+ let M = (q = C.filter((N) => N.overflows[0] <= 0).sort((N, W) => N.overflows[1] - W.overflows[1])[0]) == null ? void 0 : q.placement;
50515
50525
  if (!M)
50516
50526
  switch (g) {
50517
50527
  case "bestFit": {
50518
- var L;
50519
- const I = (L = C.filter((W) => {
50528
+ var D;
50529
+ const N = (D = C.filter((W) => {
50520
50530
  if (x) {
50521
50531
  const G = $r(W.placement);
50522
50532
  return G === w || // Create a bias to the `y` side axis due to horizontal
@@ -50524,8 +50534,8 @@ const VDe = function(t) {
50524
50534
  G === "y";
50525
50535
  }
50526
50536
  return !0;
50527
- }).map((W) => [W.placement, W.overflows.filter((G) => G > 0).reduce((G, J) => G + J, 0)]).sort((W, G) => W[1] - G[1])[0]) == null ? void 0 : L[0];
50528
- I && (M = I);
50537
+ }).map((W) => [W.placement, W.overflows.filter((G) => G > 0).reduce((G, J) => G + J, 0)]).sort((W, G) => W[1] - G[1])[0]) == null ? void 0 : D[0];
50538
+ N && (M = N);
50529
50539
  break;
50530
50540
  }
50531
50541
  case "initialPlacement":
@@ -50672,8 +50682,8 @@ const RDe = function(t) {
50672
50682
  const w = p - u.top - u.bottom, z = m - u.left - u.right, j = Os(p - u[v], w), S = Os(m - u[y], z), x = !e.middlewareData.shift;
50673
50683
  let k = j, P = S;
50674
50684
  if ((n = e.middlewareData.shift) != null && n.enabled.x && (P = z), (r = e.middlewareData.shift) != null && r.enabled.y && (k = w), x && !h) {
50675
- const C = Oa(u.left, 0), T = Oa(u.right, 0), E = Oa(u.top, 0), L = Oa(u.bottom, 0);
50676
- g ? P = m - 2 * (C !== 0 || T !== 0 ? C + T : Oa(u.left, u.right)) : k = p - 2 * (E !== 0 || L !== 0 ? E + L : Oa(u.top, u.bottom));
50685
+ const C = Oa(u.left, 0), T = Oa(u.right, 0), q = Oa(u.top, 0), D = Oa(u.bottom, 0);
50686
+ g ? P = m - 2 * (C !== 0 || T !== 0 ? C + T : Oa(u.left, u.right)) : k = p - 2 * (q !== 0 || D !== 0 ? q + D : Oa(u.top, u.bottom));
50677
50687
  }
50678
50688
  await l({
50679
50689
  ...e,
@@ -52654,7 +52664,7 @@ function LLe() {
52654
52664
  var FLe = LLe();
52655
52665
  const Kn = /* @__PURE__ */ lu(FLe);
52656
52666
  function VLe(t = null, e) {
52657
- const n = qLe(t), r = q({
52667
+ const n = qLe(t), r = L({
52658
52668
  set: (i) => i ? Kn.start() : Kn.done(),
52659
52669
  get: () => typeof n.value == "number" && n.value < 1
52660
52670
  }), a = Kn.set;
@@ -52907,7 +52917,7 @@ function KLe() {
52907
52917
  }
52908
52918
  function eFe({ store: t }) {
52909
52919
  if (t.$id === pn.FAVORITES) {
52910
- const e = t, n = q(() => Pn().user.account), r = Wt();
52920
+ const e = t, n = L(() => Pn().user.account), r = Wt();
52911
52921
  le(
52912
52922
  () => e.list,
52913
52923
  () => {
@@ -52966,7 +52976,7 @@ function rFe() {
52966
52976
  }
52967
52977
  function aFe({ store: t }) {
52968
52978
  if (t.$id === pn.TABBAR) {
52969
- const e = t, n = q(() => Pn().user.account), r = Wt();
52979
+ const e = t, n = L(() => Pn().user.account), r = Wt();
52970
52980
  le(
52971
52981
  () => e.list,
52972
52982
  () => {
@@ -53137,7 +53147,7 @@ function qVe(t) {
53137
53147
  {
53138
53148
  path: "/:all(.*)*",
53139
53149
  name: "NotFound",
53140
- component: () => import("./index-DlaLC65A.js"),
53150
+ component: () => import("./index-lnxCi5Hk.js"),
53141
53151
  meta: { title: "找不到页面" }
53142
53152
  }
53143
53153
  ]