@das-fed/upf-ui 6.4.0-dev.299 → 6.4.0-dev.301

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 (29) hide show
  1. package/esm-map.json +2 -1
  2. package/front-end/i18n/front-end-page/dasui_en-US.js +7 -3
  3. package/front-end/i18n/front-end-page/dasui_zh-CN.js +7 -3
  4. package/front-end/i18n/front-end-page/dasui_zh-MO.js +7 -3
  5. package/package.json +7 -7
  6. package/packages/components/form-item/index.js +351 -349
  7. package/packages/components/form-item/index.js.gz +0 -0
  8. package/packages/components/form-item/style.css +1 -1
  9. package/packages/components/form-item/style.css.gz +0 -0
  10. package/packages/components/index.d.ts +1 -0
  11. package/packages/components/index.js +1 -0
  12. package/packages/components/infinite-scroll/i18n/index.d.ts +27 -0
  13. package/packages/components/infinite-scroll/index.d.ts +322 -0
  14. package/packages/components/infinite-scroll/index.js +2067 -0
  15. package/packages/components/infinite-scroll/index.js.gz +0 -0
  16. package/packages/components/infinite-scroll/src/index.vue.d.ts +199 -0
  17. package/packages/components/infinite-scroll/src/type.d.ts +61 -0
  18. package/packages/components/infinite-scroll/style.css +1 -0
  19. package/packages/components/infinite-scroll/style.css.gz +0 -0
  20. package/packages/components/input/index.js +354 -353
  21. package/packages/components/input/index.js.gz +0 -0
  22. package/packages/components/text-tooltip/index.js +643 -642
  23. package/packages/components/text-tooltip/index.js.gz +0 -0
  24. package/packages/components/text-tooltip/src/type.d.ts +5 -3
  25. package/packages/components/tree/index.js +1385 -1376
  26. package/packages/components/tree/index.js.gz +0 -0
  27. package/packages/components/tree-v2/index.js +6 -5
  28. package/packages/components/tree-v2/index.js.gz +0 -0
  29. package/release-meta.json +4 -4
@@ -1,7 +1,7 @@
1
1
  import { withInstall as Ss } from "@das-fed/upf-utils/with-install/index";
2
- import { defineComponent as Eo, useCssVars as Os, useAttrs as $n, computed as K, ref as J, onMounted as To, onBeforeMount as Cs, openBlock as ht, createBlock as $o, unref as Bt, mergeProps as In, withCtx as Dt, createVNode as lo, createElementVNode as Re, normalizeClass as ze, renderSlot as ee, createElementBlock as St, Fragment as He, createTextVNode as Ln, toDisplayString as Pe, createCommentVNode as Lt, normalizeStyle as Ve, nextTick as be, Teleport as Es, getCurrentScope as Ts, onScopeDispose as $s, getCurrentInstance as Hn, watch as qt, createSlots as Is, withDirectives as Ls } from "vue";
2
+ import { defineComponent as Eo, useCssVars as Cs, useAttrs as $n, computed as K, ref as J, onMounted as To, onBeforeMount as Os, openBlock as ht, createBlock as $o, unref as Bt, mergeProps as In, withCtx as Dt, createVNode as lo, createElementVNode as Re, normalizeClass as ze, renderSlot as ee, createElementBlock as St, Fragment as Me, createTextVNode as Ln, toDisplayString as Pe, createCommentVNode as Lt, normalizeStyle as Ve, nextTick as be, Teleport as Es, getCurrentScope as Ts, onScopeDispose as $s, getCurrentInstance as Mn, watch as qt, createSlots as Is, withDirectives as Ls } from "vue";
3
3
  import "element-plus/es/components/input/style/css";
4
- import { ElTooltip as Hs, ElInput as Ms } from "element-plus";
4
+ import { ElTooltip as Ms, ElInput as Hs } from "element-plus";
5
5
  import { currentLang as No, t as ks, setI18nRule as As } from "@das-fed/upf-web/packages/i18n/index";
6
6
  import { DasScrollbar as Rs } from "@das-fed/upf-ui/packages/components/scrollbar/index";
7
7
  import "element-plus/es/components/tooltip/style/css";
@@ -29,7 +29,7 @@ const Vs = {
29
29
  },
30
30
  emits: ["show", "hide"],
31
31
  setup(t, { expose: e, emit: o }) {
32
- Os((v) => ({
32
+ Cs((v) => ({
33
33
  v65704ba4: u.value
34
34
  }));
35
35
  const n = t, s = o, r = $n(), l = K(() => {
@@ -39,24 +39,24 @@ const Vs = {
39
39
  a.value = v.target.scrollHeight > v.target.clientHeight;
40
40
  }, w = (v) => {
41
41
  s("show", v), window.addEventListener("wheel", g);
42
- }, C = (v) => {
42
+ }, O = (v) => {
43
43
  s("hide", v), window.removeEventListener("wheel", g);
44
44
  }, g = (v) => {
45
45
  const E = document.querySelector('[id^="el-popper-container"]');
46
46
  if (!E) return;
47
- const y = E.querySelector(".das-ui-tooltip-popper");
48
- if (!y) return;
49
- const m = v.clientX, S = v.clientY, O = y == null ? void 0 : y.getBoundingClientRect();
50
- y && m >= O.left && m <= O.right && S >= O.top && S <= O.bottom || (y.style.display = "none", y.style.opacity = "0", be(() => {
51
- C();
47
+ const b = E.querySelector(".das-ui-tooltip-popper");
48
+ if (!b) return;
49
+ const m = v.clientX, S = v.clientY, C = b == null ? void 0 : b.getBoundingClientRect();
50
+ b && m >= C.left && m <= C.right && S >= C.top && S <= C.bottom || (b.style.display = "none", b.style.opacity = "0", be(() => {
51
+ O();
52
52
  }));
53
53
  };
54
54
  return To(() => {
55
- }), Cs(() => {
55
+ }), Os(() => {
56
56
  window.removeEventListener("wheel", g);
57
57
  }), e({
58
58
  $tooltipRef: c
59
- }), (v, E) => (ht(), $o(Bt(Hs), In({
59
+ }), (v, E) => (ht(), $o(Bt(Ms), In({
60
60
  ref_key: "$tooltipRef",
61
61
  ref: c,
62
62
  class: "das-ui-tooltip",
@@ -68,7 +68,7 @@ const Vs = {
68
68
  "show-after": 100
69
69
  }, v.$attrs, {
70
70
  onShow: w,
71
- onHide: C
71
+ onHide: O
72
72
  }), {
73
73
  content: Dt(() => [
74
74
  lo(Bt(Rs), null, {
@@ -81,7 +81,7 @@ const Vs = {
81
81
  [
82
82
  ee(v.$slots, "content", {}, void 0, !0),
83
83
  d.value && !v.$slots.content ? (ht(), St(
84
- He,
84
+ Me,
85
85
  { key: 0 },
86
86
  [
87
87
  Ln(
@@ -104,7 +104,7 @@ const Vs = {
104
104
  ]),
105
105
  default: Dt(() => [
106
106
  l.value ? (ht(), St("span", Vs, " ")) : (ht(), St(
107
- He,
107
+ Me,
108
108
  { key: 1 },
109
109
  [
110
110
  Lt(" 默认 slot 内容 "),
@@ -113,7 +113,7 @@ const Vs = {
113
113
  "div",
114
114
  {
115
115
  key: 0,
116
- onMouseenter: E[0] || (E[0] = (y) => f(y)),
116
+ onMouseenter: E[0] || (E[0] = (b) => f(b)),
117
117
  class: ze(`das-tooltip-text-wrap ${t.customClass}`),
118
118
  style: Ve({ width: n.textWidth })
119
119
  },
@@ -132,7 +132,7 @@ const Vs = {
132
132
  38
133
133
  /* CLASS, STYLE, NEED_HYDRATION */
134
134
  )) : (ht(), St(
135
- He,
135
+ Me,
136
136
  { key: 1 },
137
137
  [
138
138
  Lt(" 当没有 text 且没有 slot 内容时,提供一个占位元素避免 ElOnlyChild 错误 "),
@@ -157,12 +157,12 @@ const Vs = {
157
157
  /* FORWARDED */
158
158
  }, 16, ["disabled", "effect", "placement", "popper-class"]));
159
159
  }
160
- }), Mn = (t, e) => {
160
+ }), Hn = (t, e) => {
161
161
  const o = t.__vccOpts || t;
162
162
  for (const [n, s] of e)
163
163
  o[n] = s;
164
164
  return o;
165
- }, _s = /* @__PURE__ */ Mn(Ws, [["__scopeId", "data-v-e1652f58"]]), Ns = /* @__PURE__ */ Eo({
165
+ }, _s = /* @__PURE__ */ Hn(Ws, [["__scopeId", "data-v-e1652f58"]]), Ns = /* @__PURE__ */ Eo({
166
166
  __name: "index",
167
167
  props: {
168
168
  getEl: {},
@@ -199,26 +199,26 @@ const Vs = {
199
199
  "white-space": "break-spaces"
200
200
  }), a = () => {
201
201
  const u = (S = 0) => {
202
- const O = document.createElement("div");
202
+ const C = document.createElement("div");
203
203
  for (let [V, L] of Object.entries({
204
204
  ...r.value,
205
205
  ...c.value,
206
206
  width: S + "px"
207
207
  }))
208
- O.style[V] = L;
209
- const H = document.createElement("span");
208
+ C.style[V] = L;
209
+ const M = document.createElement("span");
210
210
  for (let [V, L] of Object.entries(c.value))
211
- H.style[V] = L;
212
- H.textContent = e.errorLabel, O.appendChild(H), document.body.appendChild(O);
213
- const D = O.offsetHeight, _ = H.offsetWidth;
214
- return document.body.removeChild(O), { height: D, textWidth: _ };
211
+ M.style[V] = L;
212
+ M.textContent = e.errorLabel, C.appendChild(M), document.body.appendChild(C);
213
+ const D = C.offsetHeight, _ = M.offsetWidth;
214
+ return document.body.removeChild(C), { height: D, textWidth: _ };
215
215
  }, i = () => {
216
- const S = document.documentElement.clientHeight, H = document.documentElement.scrollHeight - S;
217
- return S - H;
218
- }, d = e.getEl(), f = (d == null ? void 0 : d.clientWidth) ?? 0, w = u(f), C = w.textWidth;
219
- e.errorWidth ? n.value = e.errorWidth : C > f ? n.value = C + 2 + 8 + "px" : n.value = f + "px";
220
- const { left: g = 0, bottom: v = 0, height: E = 0 } = (d == null ? void 0 : d.getBoundingClientRect()) ?? {}, y = i(), m = w.height;
221
- s.value.y = Math.ceil(v + m) >= y ? v - E - m : v, s.value.x = g;
216
+ const S = document.documentElement.clientHeight, M = document.documentElement.scrollHeight - S;
217
+ return S - M;
218
+ }, d = e.getEl(), f = (d == null ? void 0 : d.clientWidth) ?? 0, w = u(f), O = w.textWidth;
219
+ e.errorWidth ? n.value = e.errorWidth : O > f ? n.value = O + 2 + 8 + "px" : n.value = f + "px";
220
+ const { left: g = 0, bottom: v = 0, height: E = 0 } = (d == null ? void 0 : d.getBoundingClientRect()) ?? {}, b = i(), m = w.height;
221
+ s.value.y = Math.ceil(v + m) >= b ? v - E - m : v, s.value.x = g;
222
222
  };
223
223
  return To(async () => {
224
224
  await be(), a();
@@ -256,17 +256,17 @@ const Vs = {
256
256
  *
257
257
  * Released under the MIT license.
258
258
  */
259
- const Ct = (t, e) => {
259
+ const Ot = (t, e) => {
260
260
  const { o, u: n, _: s } = t;
261
261
  let r = o, l;
262
262
  const c = (i, d) => {
263
- const f = r, w = i, C = d || (n ? !n(f, w) : f !== w);
264
- return (C || s) && (r = w, l = f), [r, C, l];
263
+ const f = r, w = i, O = d || (n ? !n(f, w) : f !== w);
264
+ return (O || s) && (r = w, l = f), [r, O, l];
265
265
  };
266
266
  return [e ? (i) => c(e(r, l), i) : c, (i) => [r, !!i, l]];
267
- }, Io = typeof window < "u", bt = Io ? window : {}, Me = Math.max, Fs = Math.min, io = Math.round, kn = bt.cancelAnimationFrame, An = bt.requestAnimationFrame, ao = bt.setTimeout, uo = bt.clearTimeout, Fe = (t) => typeof bt[t] < "u" ? bt[t] : void 0, Us = Fe("MutationObserver"), Fo = Fe("IntersectionObserver"), Be = Fe("ResizeObserver"), fo = Fe("ScrollTimeline"), Rn = Io && Node.ELEMENT_NODE, { toString: js, hasOwnProperty: oo } = Object.prototype, Xs = /^\[object (.+)\]$/, Se = (t) => t === void 0, Ue = (t) => t === null, Ys = (t) => Se(t) || Ue(t) ? `${t}` : js.call(t).replace(Xs, "$1").toLowerCase(), Ht = (t) => typeof t == "number", je = (t) => typeof t == "string", zn = (t) => typeof t == "boolean", Mt = (t) => typeof t == "function", Tt = (t) => Array.isArray(t), xe = (t) => typeof t == "object" && !Tt(t) && !Ue(t), Xe = (t) => {
268
- const e = !!t && t.length, o = Ht(e) && e > -1 && e % 1 == 0;
269
- return Tt(t) || !Mt(t) && o ? e > 0 && xe(t) ? e - 1 in t : !0 : !1;
267
+ }, Io = typeof window < "u", bt = Io ? window : {}, He = Math.max, Fs = Math.min, io = Math.round, kn = bt.cancelAnimationFrame, An = bt.requestAnimationFrame, ao = bt.setTimeout, uo = bt.clearTimeout, Fe = (t) => typeof bt[t] < "u" ? bt[t] : void 0, Us = Fe("MutationObserver"), Fo = Fe("IntersectionObserver"), Be = Fe("ResizeObserver"), fo = Fe("ScrollTimeline"), Rn = Io && Node.ELEMENT_NODE, { toString: js, hasOwnProperty: oo } = Object.prototype, Xs = /^\[object (.+)\]$/, Se = (t) => t === void 0, Ue = (t) => t === null, Ys = (t) => Se(t) || Ue(t) ? `${t}` : js.call(t).replace(Xs, "$1").toLowerCase(), Mt = (t) => typeof t == "number", je = (t) => typeof t == "string", zn = (t) => typeof t == "boolean", Ht = (t) => typeof t == "function", Tt = (t) => Array.isArray(t), xe = (t) => typeof t == "object" && !Tt(t) && !Ue(t), Xe = (t) => {
268
+ const e = !!t && t.length, o = Mt(e) && e > -1 && e % 1 == 0;
269
+ return Tt(t) || !Ht(t) && o ? e > 0 && xe(t) ? e - 1 in t : !0 : !1;
270
270
  }, De = (t) => {
271
271
  if (!t || !xe(t) || Ys(t) !== "object")
272
272
  return !1;
@@ -307,28 +307,28 @@ const Ze = (t, e) => t.indexOf(e) >= 0, kt = (t, e) => t.concat(e), ot = (t, e,
307
307
  let e;
308
308
  const o = t ? ao : An, n = t ? uo : kn;
309
309
  return [(s) => {
310
- n(e), e = o(s, Mt(t) ? t() : t);
310
+ n(e), e = o(s, Ht(t) ? t() : t);
311
311
  }, () => n(e)];
312
312
  }, Yn = (t, e) => {
313
313
  let o, n, s, r = Et;
314
- const { v: l, p: c, S: a } = e || {}, u = function(C) {
315
- r(), uo(o), o = n = void 0, r = Et, t.apply(this, C);
314
+ const { v: l, p: c, S: a } = e || {}, u = function(O) {
315
+ r(), uo(o), o = n = void 0, r = Et, t.apply(this, O);
316
316
  }, i = (w) => a && n ? a(n, w) : w, d = () => {
317
317
  r !== Et && u(i(s) || s);
318
318
  }, f = function() {
319
- const C = Kt(arguments), g = Mt(l) ? l() : l;
320
- if (Ht(g) && g >= 0) {
321
- const E = Mt(c) ? c() : c, y = Ht(E) && E >= 0, m = g > 0 ? ao : An, S = g > 0 ? uo : kn, H = i(C) || C, D = u.bind(0, H);
319
+ const O = Kt(arguments), g = Ht(l) ? l() : l;
320
+ if (Mt(g) && g >= 0) {
321
+ const E = Ht(c) ? c() : c, b = Mt(E) && E >= 0, m = g > 0 ? ao : An, S = g > 0 ? uo : kn, M = i(O) || O, D = u.bind(0, M);
322
322
  r();
323
323
  const _ = m(D, g);
324
- r = () => S(_), y && !o && (o = ao(d, E)), n = s = H;
324
+ r = () => S(_), b && !o && (o = ao(d, E)), n = s = M;
325
325
  } else
326
- u(C);
326
+ u(O);
327
327
  };
328
328
  return f.m = d, f;
329
329
  }, Zn = (t, e) => Object.prototype.hasOwnProperty.call(t, e), At = (t) => t ? Object.keys(t) : [], Y = (t, e, o, n, s, r, l) => {
330
330
  const c = [e, o, n, s, r, l];
331
- return (typeof t != "object" || Ue(t)) && !Mt(t) && (t = {}), Z(c, (a) => {
331
+ return (typeof t != "object" || Ue(t)) && !Ht(t) && (t = {}), Z(c, (a) => {
332
332
  Z(a, (u, i) => {
333
333
  const d = a[i];
334
334
  if (t === d)
@@ -336,26 +336,26 @@ const Ze = (t, e) => t.indexOf(e) >= 0, kt = (t, e) => t.concat(e), ot = (t, e,
336
336
  const f = Tt(d);
337
337
  if (d && De(d)) {
338
338
  const w = t[i];
339
- let C = w;
340
- f && !Tt(w) ? C = [] : !f && !De(w) && (C = {}), t[i] = Y(C, d);
339
+ let O = w;
340
+ f && !Tt(w) ? O = [] : !f && !De(w) && (O = {}), t[i] = Y(O, d);
341
341
  } else
342
342
  t[i] = f ? d.slice() : d;
343
343
  });
344
344
  }), t;
345
345
  }, qn = (t, e) => Z(Y({}, t), (o, n, s) => {
346
346
  o === void 0 ? delete s[n] : o && De(o) && (s[n] = qn(o));
347
- }), Ho = (t) => {
347
+ }), Mo = (t) => {
348
348
  for (const e in t)
349
349
  return !1;
350
350
  return !0;
351
- }, ho = (t, e, o) => Me(t, Fs(e, o)), Yt = (t) => Kt(new Set((Tt(t) ? t : (t || "").split(" ")).filter((e) => e))), Qe = (t, e) => t && t.getAttribute(e), Ot = (t, e, o) => {
351
+ }, ho = (t, e, o) => He(t, Fs(e, o)), Yt = (t) => Kt(new Set((Tt(t) ? t : (t || "").split(" ")).filter((e) => e))), Qe = (t, e) => t && t.getAttribute(e), Ct = (t, e, o) => {
352
352
  Z(Yt(e), (n) => {
353
353
  t && t.setAttribute(n, o || "");
354
354
  });
355
355
  }, It = (t, e) => {
356
356
  Z(Yt(e), (o) => t && t.removeAttribute(o));
357
357
  }, Ke = (t, e) => {
358
- const o = Yt(Qe(t, e)), n = W(Ot, t, e), s = (r, l) => {
358
+ const o = Yt(Qe(t, e)), n = W(Ct, t, e), s = (r, l) => {
359
359
  const c = new Set(o);
360
360
  return Z(Yt(r), (a) => c[l](a)), Kt(c).join(" ");
361
361
  };
@@ -371,9 +371,9 @@ const Ze = (t, e) => t.indexOf(e) >= 0, kt = (t, e) => t.concat(e), ot = (t, e,
371
371
  Ke(t, e).O(o);
372
372
  }, we = (t, e, o) => (Ke(t, e).$(o), W(Gn, t, e, o)), ke = (t, e, o, n) => {
373
373
  (n ? we : Gn)(t, e, o);
374
- }, qs = (t, e, o) => Ke(t, e).C(o), Qn = (t) => Ke(t, "class"), Mo = (t, e) => {
374
+ }, qs = (t, e, o) => Ke(t, e).C(o), Qn = (t) => Ke(t, "class"), Ho = (t, e) => {
375
375
  Qn(t).O(e);
376
- }, We = (t, e) => (Qn(t).$(e), W(Mo, t, e)), jo = Io && Element.prototype, Kn = (t, e) => {
376
+ }, We = (t, e) => (Qn(t).$(e), W(Ho, t, e)), jo = Io && Element.prototype, Kn = (t, e) => {
377
377
  const o = [], n = e ? Ye(e) && e : document;
378
378
  return n ? ot(o, n.querySelectorAll(t)) : o;
379
379
  }, Gs = (t, e) => {
@@ -399,7 +399,7 @@ const Ze = (t, e) => t.indexOf(e) >= 0, kt = (t, e) => t.concat(e), ot = (t, e,
399
399
  return Et;
400
400
  }, yt = (t, e) => Jn(t, null, e), Xo = (t, e) => Jn(ae(t), t && t.nextSibling, e), ne = (t) => {
401
401
  const e = document.createElement("div");
402
- return Ot(e, "class", t), e;
402
+ return Ct(e, "class", t), e;
403
403
  }, ts = (t) => {
404
404
  const e = ne();
405
405
  return e.innerHTML = t.trim(), Z(mo(e), (o) => Nt(o));
@@ -410,7 +410,7 @@ const Ze = (t, e) => t.indexOf(e) >= 0, kt = (t, e) => t.concat(e), ot = (t, e,
410
410
  function ue(t, e) {
411
411
  t && Z(e, (o, n) => {
412
412
  try {
413
- const s = t.style, r = Ht(o) ? go(o) : (o || "") + "";
413
+ const s = t.style, r = Mt(o) ? go(o) : (o || "") + "";
414
414
  Ks.test(n) ? s.setProperty(n, r) : s[n] = r;
415
415
  } catch {
416
416
  }
@@ -474,11 +474,11 @@ const _t = (t) => Gt(t, "direction") === "rtl", qo = (t, e, o) => {
474
474
  y: e.top + bt.scrollY
475
475
  } : er;
476
476
  }, _e = (t, e, o) => o ? o.n ? -t + 0 : o.i ? e - t : t : t, Ko = (t, e) => [_e(0, t, e), _e(t, t, e)], Jo = (t, e, o) => ho(0, 1, _e(t, e, o) / e || 0), Ft = (t, e) => {
477
- const { x: o, y: n } = Ht(e) ? {
477
+ const { x: o, y: n } = Mt(e) ? {
478
478
  x: e,
479
479
  y: e
480
480
  } : e || {};
481
- Ht(o) && (t.scrollLeft = o), Ht(n) && (t.scrollTop = n);
481
+ Mt(o) && (t.scrollLeft = o), Mt(n) && (t.scrollTop = n);
482
482
  }, de = (t) => ({
483
483
  x: t.scrollLeft,
484
484
  y: t.scrollTop
@@ -499,7 +499,7 @@ const _t = (t) => Gt(t, "direction") === "rtl", qo = (t, e, o) => {
499
499
  if (je(r)) {
500
500
  const u = e.get(r) || /* @__PURE__ */ new Set();
501
501
  return e.set(r, u), tn((i) => {
502
- Mt(i) && u.add(i);
502
+ Ht(i) && u.add(i);
503
503
  }, l), W(o, r, l);
504
504
  }
505
505
  zn(l) && l && o();
@@ -515,7 +515,7 @@ const _t = (t) => Gt(t, "direction") === "rtl", qo = (t, e, o) => {
515
515
  };
516
516
  return n(t || {}), [n, o, s];
517
517
  }, en = (t) => JSON.stringify(t, (e, o) => {
518
- if (Mt(o))
518
+ if (Ht(o))
519
519
  throw 0;
520
520
  return o;
521
521
  }), on = (t, e) => t ? `${e}`.split(".").reduce((o, n) => o && Zn(o, n) ? o[n] : void 0, t) : void 0, or = {
@@ -546,7 +546,7 @@ const _t = (t) => Gt(t, "direction") === "rtl", qo = (t, e, o) => {
546
546
  return Z(n, (s) => {
547
547
  const r = t[s], l = e[s];
548
548
  if (xe(r) && xe(l))
549
- Y(o[s] = {}, ns(r, l)), Ho(o[s]) && delete o[s];
549
+ Y(o[s] = {}, ns(r, l)), Mo(o[s]) && delete o[s];
550
550
  else if (Zn(e, s) && l !== r) {
551
551
  let c = !0;
552
552
  if (Tt(r) || Tt(l))
@@ -557,7 +557,7 @@ const _t = (t) => Gt(t, "direction") === "rtl", qo = (t, e, o) => {
557
557
  c && (o[s] = l);
558
558
  }
559
559
  }), o;
560
- }, nn = (t, e, o) => (n) => [on(t, n), o || on(e, n) !== void 0], Oe = "data-overlayscrollbars", ss = "os-environment", nr = `${ss}-scrollbar-hidden`, ro = `${Oe}-initialize`, gt = Oe, rs = `${gt}-overflow-x`, cs = `${gt}-overflow-y`, ls = "overflowVisible", sr = "scrollbarPressed", wo = "updating", rr = "body", Vt = `${Oe}-viewport`, cr = "arrange", is = "scrollbarHidden", re = ls, So = `${Oe}-padding`, lr = re, sn = `${Oe}-content`, zo = "os-size-observer", ir = `${zo}-appear`, ar = `${zo}-listener`, ur = "os-trinsic-observer", dr = "os-theme-none", vt = "os-scrollbar", fr = `${vt}-rtl`, pr = `${vt}-horizontal`, hr = `${vt}-vertical`, as = `${vt}-track`, Po = `${vt}-handle`, vr = `${vt}-visible`, mr = `${vt}-cornerless`, rn = `${vt}-interaction`, cn = `${vt}-unusable`, Oo = `${vt}-auto-hide`, ln = `${Oo}-hidden`, an = `${vt}-wheel`, gr = `${as}-interactive`, yr = `${Po}-interactive`, us = {}, ds = {}, br = (t) => {
560
+ }, nn = (t, e, o) => (n) => [on(t, n), o || on(e, n) !== void 0], Ce = "data-overlayscrollbars", ss = "os-environment", nr = `${ss}-scrollbar-hidden`, ro = `${Ce}-initialize`, gt = Ce, rs = `${gt}-overflow-x`, cs = `${gt}-overflow-y`, ls = "overflowVisible", sr = "scrollbarPressed", wo = "updating", rr = "body", Vt = `${Ce}-viewport`, cr = "arrange", is = "scrollbarHidden", re = ls, So = `${Ce}-padding`, lr = re, sn = `${Ce}-content`, zo = "os-size-observer", ir = `${zo}-appear`, ar = `${zo}-listener`, ur = "os-trinsic-observer", dr = "os-theme-none", vt = "os-scrollbar", fr = `${vt}-rtl`, pr = `${vt}-horizontal`, hr = `${vt}-vertical`, as = `${vt}-track`, Po = `${vt}-handle`, vr = `${vt}-visible`, mr = `${vt}-cornerless`, rn = `${vt}-interaction`, cn = `${vt}-unusable`, Co = `${vt}-auto-hide`, ln = `${Co}-hidden`, an = `${vt}-wheel`, gr = `${as}-interactive`, yr = `${Po}-interactive`, us = {}, ds = {}, br = (t) => {
561
561
  Z(t, (e) => Z(e, (o, n) => {
562
562
  us[n] = e[n];
563
563
  }));
@@ -585,30 +585,30 @@ const _t = (t) => Gt(t, "direction") === "rtl", qo = (t, e, o) => {
585
585
  y: c
586
586
  }
587
587
  };
588
- }, Or = (t, e, o, n) => {
588
+ }, Cr = (t, e, o, n) => {
589
589
  const s = e.x || e.y, r = (i, d) => {
590
- const f = Ne(i), w = f && s ? "hidden" : "", C = d && f && i.replace(`${Un}-`, "") || w;
591
- return [d && !f ? i : "", Ne(C) ? "hidden" : C];
590
+ const f = Ne(i), w = f && s ? "hidden" : "", O = d && f && i.replace(`${Un}-`, "") || w;
591
+ return [d && !f ? i : "", Ne(O) ? "hidden" : O];
592
592
  }, [l, c] = r(o.x, e.x), [a, u] = r(o.y, e.y);
593
593
  return n[qe] = c && a ? c : l, n[Ge] = u && l ? u : a, ps(t, n);
594
- }, Vo = "__osScrollbarsHidingPlugin", Cr = "__osClickScrollPlugin";
594
+ }, Vo = "__osScrollbarsHidingPlugin", Or = "__osClickScrollPlugin";
595
595
  let co;
596
596
  const Er = () => {
597
- const t = (m, S, O, H) => {
597
+ const t = (m, S, C, M) => {
598
598
  yt(m, S);
599
- const D = es(S), _ = ye(S), V = Ao(O);
600
- return H && Nt(S), {
599
+ const D = es(S), _ = ye(S), V = Ao(C);
600
+ return M && Nt(S), {
601
601
  x: _.h - D.h + V.h,
602
602
  y: _.w - D.w + V.w
603
603
  };
604
604
  }, e = (m) => {
605
605
  let S = !1;
606
- const O = We(m, nr);
606
+ const C = We(m, nr);
607
607
  try {
608
608
  S = Gt(m, "scrollbar-width") === "none" || Gt(m, "display", "::-webkit-scrollbar") === "none";
609
609
  } catch {
610
610
  }
611
- return O(), S;
611
+ return C(), S;
612
612
  }, o = (m, S) => {
613
613
  ue(m, {
614
614
  [qe]: ie,
@@ -617,22 +617,22 @@ const Er = () => {
617
617
  }), Ft(m, {
618
618
  x: 0
619
619
  });
620
- const O = so(m), H = so(S);
620
+ const C = so(m), M = so(S);
621
621
  Ft(m, {
622
622
  x: -999
623
623
  });
624
624
  const D = so(S);
625
625
  return {
626
- i: O.x === H.x,
627
- n: H.x !== D.x
626
+ i: C.x === M.x,
627
+ n: M.x !== D.x
628
628
  };
629
- }, { body: n } = document, r = ts(`<div class="${ss}"><div></div></div>`)[0], l = r.firstChild, [c, , a] = xo(), [u, i] = Ct({
629
+ }, { body: n } = document, r = ts(`<div class="${ss}"><div></div></div>`)[0], l = r.firstChild, [c, , a] = xo(), [u, i] = Ot({
630
630
  o: t(n, r, l),
631
631
  u: Xn
632
632
  }, W(t, n, r, l, !0)), [d] = i(), f = e(r), w = {
633
633
  x: d.x === 0,
634
634
  y: d.y === 0
635
- }, C = {
635
+ }, O = {
636
636
  elements: {
637
637
  host: null,
638
638
  padding: !f,
@@ -646,7 +646,7 @@ const Er = () => {
646
646
  nativeScrollbarsOverlaid: !1,
647
647
  body: null
648
648
  }
649
- }, g = Y({}, or), v = W(Y, {}, g), E = W(Y, {}, C), y = {
649
+ }, g = Y({}, or), v = W(Y, {}, g), E = W(Y, {}, O), b = {
650
650
  P: d,
651
651
  T: w,
652
652
  L: f,
@@ -654,21 +654,21 @@ const Er = () => {
654
654
  K: o(r, l),
655
655
  Z: W(c, "r"),
656
656
  G: E,
657
- tt: (m) => Y(C, m) && E(),
657
+ tt: (m) => Y(O, m) && E(),
658
658
  nt: v,
659
659
  ot: (m) => Y(g, m) && v(),
660
- st: Y({}, C),
660
+ st: Y({}, O),
661
661
  et: Y({}, g)
662
662
  };
663
663
  return It(r, "style"), Nt(r), bt.addEventListener("resize", () => {
664
664
  let m;
665
665
  if (!f && (!w.x || !w.y)) {
666
666
  const S = fe(Vo);
667
- m = !!(S ? S.Y() : Et)(y, u);
667
+ m = !!(S ? S.Y() : Et)(b, u);
668
668
  }
669
669
  a("r", [m]);
670
- }), y;
671
- }, wt = () => (co || (co = Er()), co), Bo = (t, e) => Mt(e) ? e.apply(0, t) : e, Tr = (t, e, o, n) => {
670
+ }), b;
671
+ }, wt = () => (co || (co = Er()), co), Bo = (t, e) => Ht(e) ? e.apply(0, t) : e, Tr = (t, e, o, n) => {
672
672
  const s = Se(n) ? o : n;
673
673
  return Bo(t, s) || e.apply(0, t);
674
674
  }, hs = (t, e, o, n) => {
@@ -681,7 +681,7 @@ const Er = () => {
681
681
  Do.set(t, e);
682
682
  }, Lr = (t) => {
683
683
  Do.delete(t);
684
- }, vs = (t) => Do.get(t), Hr = (t, e, o) => {
684
+ }, vs = (t) => Do.get(t), Mr = (t, e, o) => {
685
685
  let n = !1;
686
686
  const s = o ? /* @__PURE__ */ new WeakMap() : !1, r = () => {
687
687
  n = !0;
@@ -694,10 +694,10 @@ const Er = () => {
694
694
  Z(a, (u) => Z(u[0], (i) => {
695
695
  const d = u[1], f = s.get(i) || [];
696
696
  if (t.contains(i) && d) {
697
- const C = rt(i, d, (g) => {
698
- n ? (C(), s.delete(i)) : e(g);
697
+ const O = rt(i, d, (g) => {
698
+ n ? (O(), s.delete(i)) : e(g);
699
699
  });
700
- s.set(i, ot(f, C));
700
+ s.set(i, ot(f, O));
701
701
  } else
702
702
  xt(f), s.delete(i);
703
703
  }));
@@ -709,26 +709,26 @@ const Er = () => {
709
709
  const { ct: r, rt: l, lt: c, it: a, ut: u, ft: i } = n || {}, d = Yn(() => s && o(!0), {
710
710
  v: 33,
711
711
  p: 99
712
- }), [f, w] = Hr(t, d, c), C = r || [], g = l || [], v = kt(C, g), E = (m, S) => {
712
+ }), [f, w] = Mr(t, d, c), O = r || [], g = l || [], v = kt(O, g), E = (m, S) => {
713
713
  if (!po(S)) {
714
- const O = u || Et, H = i || Et, D = [], _ = [];
714
+ const C = u || Et, M = i || Et, D = [], _ = [];
715
715
  let V = !1, L = !1;
716
716
  if (Z(S, ($) => {
717
- const { attributeName: R, target: M, type: h, oldValue: z, addedNodes: U, removedNodes: F } = $, k = h === "attributes", j = h === "childList", q = t === M, st = k && R, tt = st && Qe(M, R || "") || null, T = st && z !== tt, Q = Ze(g, R) && T;
717
+ const { attributeName: R, target: H, type: h, oldValue: z, addedNodes: U, removedNodes: F } = $, k = h === "attributes", j = h === "childList", q = t === H, st = k && R, tt = st && Qe(H, R || "") || null, T = st && z !== tt, Q = Ze(g, R) && T;
718
718
  if (e && (j || !q)) {
719
- const nt = k && T, it = nt && a && vo(M, a), b = (it ? !O(M, R, z, tt) : !k || nt) && !H($, !!it, t, n);
720
- Z(U, (x) => ot(D, x)), Z(F, (x) => ot(D, x)), L = L || b;
719
+ const nt = k && T, lt = nt && a && vo(H, a), y = (lt ? !C(H, R, z, tt) : !k || nt) && !M($, !!lt, t, n);
720
+ Z(U, (x) => ot(D, x)), Z(F, (x) => ot(D, x)), L = L || y;
721
721
  }
722
- !e && q && T && !O(M, R, z, tt) && (ot(_, R), V = V || Q);
723
- }), w(($) => Uo(D).reduce((R, M) => (ot(R, Kn($, M)), vo(M, $) ? ot(R, M) : R), [])), e)
722
+ !e && q && T && !C(H, R, z, tt) && (ot(_, R), V = V || Q);
723
+ }), w(($) => Uo(D).reduce((R, H) => (ot(R, Kn($, H)), vo(H, $) ? ot(R, H) : R), [])), e)
724
724
  return !m && L && o(!1), [!1];
725
725
  if (!po(_) || V) {
726
726
  const $ = [Uo(_), V];
727
727
  return !m && o.apply(0, $), $;
728
728
  }
729
729
  }
730
- }, y = new Us(W(E, !1));
731
- return [() => (y.observe(t, {
730
+ }, b = new Us(W(E, !1));
731
+ return [() => (b.observe(t, {
732
732
  attributes: !0,
733
733
  attributeOldValue: !0,
734
734
  attributeFilter: v,
@@ -736,61 +736,61 @@ const Er = () => {
736
736
  childList: e,
737
737
  characterData: e
738
738
  }), s = !0, () => {
739
- s && (f(), y.disconnect(), s = !1);
739
+ s && (f(), b.disconnect(), s = !1);
740
740
  }), () => {
741
741
  if (s)
742
- return d.m(), E(!0, y.takeRecords());
742
+ return d.m(), E(!0, b.takeRecords());
743
743
  }];
744
744
  }, ms = (t, e, o) => {
745
- const { _t: s, dt: r } = o || {}, l = fe(wr), { K: c } = wt(), a = W(_t, t), [u] = Ct({
745
+ const { _t: s, dt: r } = o || {}, l = fe(wr), { K: c } = wt(), a = W(_t, t), [u] = Ot({
746
746
  o: !1,
747
747
  _: !0
748
748
  });
749
749
  return () => {
750
- const i = [], f = ts(`<div class="${zo}"><div class="${ar}"></div></div>`)[0], w = f.firstChild, C = (g) => {
750
+ const i = [], f = ts(`<div class="${zo}"><div class="${ar}"></div></div>`)[0], w = f.firstChild, O = (g) => {
751
751
  const v = g instanceof ResizeObserverEntry, E = !v && Tt(g);
752
- let y = !1, m = !1, S = !0;
752
+ let b = !1, m = !1, S = !0;
753
753
  if (v) {
754
- const [O, , H] = u(g.contentRect), D = bo(O), _ = os(O, H);
755
- m = !H || _, y = !m && !D, S = !y;
754
+ const [C, , M] = u(g.contentRect), D = bo(C), _ = os(C, M);
755
+ m = !M || _, b = !m && !D, S = !b;
756
756
  } else E ? [, S] = g : m = g === !0;
757
757
  if (s && S) {
758
- const O = E ? g[0] : _t(f);
758
+ const C = E ? g[0] : _t(f);
759
759
  Ft(f, {
760
- x: _e(3333333, 3333333, O && c),
760
+ x: _e(3333333, 3333333, C && c),
761
761
  y: 3333333
762
762
  });
763
763
  }
764
- y || e({
764
+ b || e({
765
765
  vt: E ? g : void 0,
766
766
  ht: !E,
767
767
  dt: m
768
768
  });
769
769
  };
770
770
  if (Be) {
771
- const g = new Be((v) => C(v.pop()));
771
+ const g = new Be((v) => O(v.pop()));
772
772
  g.observe(w), ot(i, () => {
773
773
  g.disconnect();
774
774
  });
775
775
  } else if (l) {
776
- const [g, v] = l(w, C, r);
776
+ const [g, v] = l(w, O, r);
777
777
  ot(i, kt([We(f, ir), rt(f, "animationstart", g)], v));
778
778
  } else
779
779
  return Et;
780
780
  if (s) {
781
- const [g] = Ct({
781
+ const [g] = Ot({
782
782
  o: void 0
783
783
  }, a);
784
784
  ot(i, rt(f, "scroll", (v) => {
785
- const E = g(), [y, m, S] = E;
786
- m && (Mo(w, "ltr rtl"), We(w, y ? "rtl" : "ltr"), C([!!y, m, S])), Ro(v);
785
+ const E = g(), [b, m, S] = E;
786
+ m && (Ho(w, "ltr rtl"), We(w, b ? "rtl" : "ltr"), O([!!b, m, S])), Ro(v);
787
787
  }));
788
788
  }
789
789
  return W(xt, ot(i, yt(t, f)));
790
790
  };
791
- }, Mr = (t, e) => {
791
+ }, Hr = (t, e) => {
792
792
  let o;
793
- const n = (a) => a.h === 0 || a.isIntersecting || a.intersectionRatio > 0, s = ne(ur), [r] = Ct({
793
+ const n = (a) => a.h === 0 || a.isIntersecting || a.intersectionRatio > 0, s = ne(ur), [r] = Ot({
794
794
  o: !1
795
795
  }), l = (a, u) => {
796
796
  if (a) {
@@ -817,176 +817,176 @@ const Er = () => {
817
817
  }, () => o && c(!0, o.takeRecords())];
818
818
  }, kr = (t, e, o, n) => {
819
819
  let s, r, l, c, a, u;
820
- const { L: i } = wt(), d = `[${gt}]`, f = `[${Vt}]`, w = ["tabindex"], C = ["wrap", "cols", "rows"], g = ["id", "class", "style", "open"], { gt: v, bt: E, D: y, wt: m, St: S, V: O, yt: H, Ot: D } = t, _ = {
820
+ const { L: i } = wt(), d = `[${gt}]`, f = `[${Vt}]`, w = ["tabindex"], O = ["wrap", "cols", "rows"], g = ["id", "class", "style", "open"], { gt: v, bt: E, D: b, wt: m, St: S, V: C, yt: M, Ot: D } = t, _ = {
821
821
  $t: !1,
822
822
  N: _t(v)
823
- }, V = wt(), L = fe(Vo), [$] = Ct({
823
+ }, V = wt(), L = fe(Vo), [$] = Ot({
824
824
  u: jn,
825
825
  o: {
826
826
  w: 0,
827
827
  h: 0
828
828
  }
829
829
  }, () => {
830
- const p = L && L.M(t, e, _, V, o).W, b = H(re), x = !O && H(cr), I = x && de(y);
831
- D(re), O && D(wo, !0);
832
- const A = x && p && p()[0], P = yo(m), B = yo(y), N = Ao(y);
833
- return D(re, b), O && D(wo), A && A(), Ft(y, I), {
830
+ const p = L && L.M(t, e, _, V, o).W, y = M(re), x = !C && M(cr), I = x && de(b);
831
+ D(re), C && D(wo, !0);
832
+ const A = x && p && p()[0], P = yo(m), B = yo(b), N = Ao(b);
833
+ return D(re, y), C && D(wo), A && A(), Ft(b, I), {
834
834
  w: B.w + P.w + N.w,
835
835
  h: B.h + P.h + N.h
836
836
  };
837
- }), R = S ? C : kt(g, C), M = Yn(n, {
837
+ }), R = S ? O : kt(g, O), H = Yn(n, {
838
838
  v: () => s,
839
839
  p: () => r,
840
- S(p, b) {
841
- const [x] = p, [I] = b;
840
+ S(p, y) {
841
+ const [x] = p, [I] = y;
842
842
  return [kt(At(x), At(I)).reduce((A, P) => (A[P] = x[P] || I[P], A), {})];
843
843
  }
844
844
  }), h = (p) => {
845
- if (O) {
846
- const b = _t(v);
845
+ if (C) {
846
+ const y = _t(v);
847
847
  Y(p, {
848
- Ct: u !== b
848
+ Ct: u !== y
849
849
  }), Y(_, {
850
- N: b
851
- }), u = b;
850
+ N: y
851
+ }), u = y;
852
852
  }
853
853
  }, z = (p) => {
854
- Z(p || w, (b) => {
855
- if (Ze(w, b)) {
856
- const x = Qe(E, b);
857
- je(x) ? Ot(y, b, x) : It(y, b);
854
+ Z(p || w, (y) => {
855
+ if (Ze(w, y)) {
856
+ const x = Qe(E, y);
857
+ je(x) ? Ct(b, y, x) : It(b, y);
858
858
  }
859
859
  });
860
- }, U = (p, b) => {
860
+ }, U = (p, y) => {
861
861
  const [x, I] = p, A = {
862
862
  xt: I
863
863
  };
864
864
  return Y(_, {
865
865
  $t: x
866
- }), !b && n(A), A;
867
- }, F = ({ ht: p, vt: b, dt: x }) => {
868
- const A = !(p && !x && !b) && i ? M : n, [P, B] = b || [], N = {
866
+ }), !y && n(A), A;
867
+ }, F = ({ ht: p, vt: y, dt: x }) => {
868
+ const A = !(p && !x && !y) && i ? H : n, [P, B] = y || [], N = {
869
869
  ht: p || x,
870
870
  dt: x,
871
871
  Ct: B
872
872
  };
873
- h(N), b && Y(_, {
873
+ h(N), y && Y(_, {
874
874
  N: P
875
875
  }), A(N);
876
- }, k = (p, b) => {
876
+ }, k = (p, y) => {
877
877
  const [, x] = $(), I = {
878
878
  Ht: x
879
879
  };
880
- return h(I), x && !b && (p ? n : M)(I), I;
881
- }, j = (p, b, x) => {
880
+ return h(I), x && !y && (p ? n : H)(I), I;
881
+ }, j = (p, y, x) => {
882
882
  const I = {
883
- It: b
883
+ It: y
884
884
  };
885
- return h(I), b && !x ? M(I) : O || z(p), I;
886
- }, { Z: q } = V, [st, tt] = m ? Mr(E, U) : [], T = !O && ms(E, F, {
885
+ return h(I), y && !x ? H(I) : C || z(p), I;
886
+ }, { Z: q } = V, [st, tt] = m ? Hr(E, U) : [], T = !C && ms(E, F, {
887
887
  dt: !0,
888
888
  _t: !0
889
889
  }), [Q, nt] = un(E, !1, j, {
890
890
  rt: g,
891
891
  ct: kt(g, w)
892
- }), it = O && Be && new Be((p) => {
893
- const b = p[p.length - 1].contentRect;
892
+ }), lt = C && Be && new Be((p) => {
893
+ const y = p[p.length - 1].contentRect;
894
894
  F({
895
895
  ht: !0,
896
- dt: os(b, a)
897
- }), a = b;
896
+ dt: os(y, a)
897
+ }), a = y;
898
898
  });
899
899
  return [() => {
900
- z(), it && it.observe(E);
901
- const p = T && T(), b = st && st(), x = Q(), I = q((A) => {
900
+ z(), lt && lt.observe(E);
901
+ const p = T && T(), y = st && st(), x = Q(), I = q((A) => {
902
902
  const [, P] = $();
903
- M({
903
+ H({
904
904
  zt: A,
905
905
  Ht: P
906
906
  });
907
907
  });
908
908
  return () => {
909
- it && it.disconnect(), p && p(), b && b(), c && c(), x(), I();
909
+ lt && lt.disconnect(), p && p(), y && y(), c && c(), x(), I();
910
910
  };
911
- }, ({ Et: p, At: b, Tt: x }) => {
912
- const I = {}, [A] = p("update.ignoreMutation"), [P, B] = p("update.attributes"), [N, G] = p("update.elementEvents"), [at, dt] = p("update.debounce"), et = G || B, ut = b || x, Ut = (X) => Mt(A) && A(X);
911
+ }, ({ Et: p, At: y, Tt: x }) => {
912
+ const I = {}, [A] = p("update.ignoreMutation"), [P, B] = p("update.attributes"), [N, G] = p("update.elementEvents"), [at, dt] = p("update.debounce"), et = G || B, ut = y || x, Ut = (X) => Ht(A) && A(X);
913
913
  if (et) {
914
914
  l && l(), c && c();
915
- const [X, lt] = un(m || y, !0, k, {
915
+ const [X, it] = un(m || b, !0, k, {
916
916
  ct: kt(R, P || []),
917
917
  lt: N,
918
918
  it: d,
919
919
  ft: (ft, pt) => {
920
920
  const { target: ct, attributeName: mt } = ft;
921
- return (!pt && mt && !O ? Qs(ct, d, f) : !1) || !!oe(ct, `.${vt}`) || !!Ut(ft);
921
+ return (!pt && mt && !C ? Qs(ct, d, f) : !1) || !!oe(ct, `.${vt}`) || !!Ut(ft);
922
922
  }
923
923
  });
924
- c = X(), l = lt;
924
+ c = X(), l = it;
925
925
  }
926
926
  if (dt)
927
- if (M.m(), Tt(at)) {
928
- const X = at[0], lt = at[1];
929
- s = Ht(X) && X, r = Ht(lt) && lt;
930
- } else Ht(at) ? (s = at, r = !1) : (s = !1, r = !1);
927
+ if (H.m(), Tt(at)) {
928
+ const X = at[0], it = at[1];
929
+ s = Mt(X) && X, r = Mt(it) && it;
930
+ } else Mt(at) ? (s = at, r = !1) : (s = !1, r = !1);
931
931
  if (ut) {
932
- const X = nt(), lt = tt && tt(), ft = l && l();
933
- X && Y(I, j(X[0], X[1], ut)), lt && Y(I, U(lt[0], ut)), ft && Y(I, k(ft[0], ut));
932
+ const X = nt(), it = tt && tt(), ft = l && l();
933
+ X && Y(I, j(X[0], X[1], ut)), it && Y(I, U(it[0], ut)), ft && Y(I, k(ft[0], ut));
934
934
  }
935
935
  return h(I), I;
936
936
  }, _];
937
937
  }, Ar = (t, e, o, n) => {
938
- const { G: s, K: r } = wt(), { scrollbars: l } = s(), { slot: c } = l, { gt: a, bt: u, D: i, Dt: d, kt: f, Rt: w, V: C } = e, { scrollbars: g } = d ? {} : t, { slot: v } = g || {}, E = /* @__PURE__ */ new Map(), y = (p) => fo && new fo({
938
+ const { G: s, K: r } = wt(), { scrollbars: l } = s(), { slot: c } = l, { gt: a, bt: u, D: i, Dt: d, kt: f, Rt: w, V: O } = e, { scrollbars: g } = d ? {} : t, { slot: v } = g || {}, E = /* @__PURE__ */ new Map(), b = (p) => fo && new fo({
939
939
  source: f,
940
940
  axis: p
941
- }), m = y("x"), S = y("y"), O = hs([a, u, i], () => C && w ? a : u, c, v), H = (p, b) => {
942
- if (b) {
943
- const N = p ? ce : le, { Mt: G, Vt: at } = b, dt = se(at)[N], et = se(G)[N];
941
+ }), m = b("x"), S = b("y"), C = hs([a, u, i], () => O && w ? a : u, c, v), M = (p, y) => {
942
+ if (y) {
943
+ const N = p ? ce : le, { Mt: G, Vt: at } = y, dt = se(at)[N], et = se(G)[N];
944
944
  return ho(0, 1, dt / et || 0);
945
945
  }
946
946
  const x = p ? "x" : "y", { Lt: I, Pt: A } = o, P = A[x], B = I[x];
947
947
  return ho(0, 1, P / (P + B) || 0);
948
- }, D = (p, b, x, I) => {
949
- const A = H(x, p);
950
- return 1 / A * (1 - A) * (I ? 1 - b : b) || 0;
951
- }, _ = (p, b) => Y(p, b ? {
948
+ }, D = (p, y, x, I) => {
949
+ const A = M(x, p);
950
+ return 1 / A * (1 - A) * (I ? 1 - y : y) || 0;
951
+ }, _ = (p, y) => Y(p, y ? {
952
952
  clear: ["left"]
953
953
  } : {}), V = (p) => {
954
- E.forEach((b, x) => {
955
- (p ? Ze(Pn(p), x) : !0) && (Z(b || [], (A) => {
954
+ E.forEach((y, x) => {
955
+ (p ? Ze(Pn(p), x) : !0) && (Z(y || [], (A) => {
956
956
  A && A.cancel();
957
957
  }), E.delete(x));
958
958
  });
959
- }, L = (p, b, x, I) => {
960
- const A = E.get(p) || [], P = A.find((B) => B && B.timeline === b);
959
+ }, L = (p, y, x, I) => {
960
+ const A = E.get(p) || [], P = A.find((B) => B && B.timeline === y);
961
961
  P ? P.effect = new KeyframeEffect(p, x, {
962
962
  composite: I
963
963
  }) : E.set(p, kt(A, [p.animate(x, {
964
- timeline: b,
964
+ timeline: y,
965
965
  composite: I
966
966
  })]));
967
- }, $ = (p, b, x) => {
968
- const I = x ? We : Mo;
967
+ }, $ = (p, y, x) => {
968
+ const I = x ? We : Ho;
969
969
  Z(p, (A) => {
970
- I(A.Ut, b);
970
+ I(A.Ut, y);
971
971
  });
972
- }, R = (p, b) => {
972
+ }, R = (p, y) => {
973
973
  Z(p, (x) => {
974
- const [I, A] = b(x);
974
+ const [I, A] = y(x);
975
975
  ue(I, A);
976
976
  });
977
- }, M = (p, b) => {
977
+ }, H = (p, y) => {
978
978
  R(p, (x) => {
979
979
  const { Vt: I } = x;
980
980
  return [I, {
981
- [b ? ce : le]: Zo(H(b))
981
+ [y ? ce : le]: Zo(M(y))
982
982
  }];
983
983
  });
984
- }, h = (p, b) => {
985
- const { Lt: x } = o, I = b ? x.x : x.y, A = (P, B, N) => no(Zo(D(P, Jo(B, I, N), b, N)), b);
984
+ }, h = (p, y) => {
985
+ const { Lt: x } = o, I = y ? x.x : x.y, A = (P, B, N) => no(Zo(D(P, Jo(B, I, N), y, N)), y);
986
986
  if (m && S)
987
987
  Z(p, (P) => {
988
- const { Ut: B, Vt: N } = P, G = b && _t(B) && r;
989
- L(N, b ? m : S, _({
988
+ const { Ut: B, Vt: N } = P, G = y && _t(B) && r;
989
+ L(N, y ? m : S, _({
990
990
  transform: Ko(I, G).map((at) => A(P, at, G))
991
991
  }, G));
992
992
  });
@@ -995,27 +995,27 @@ const Er = () => {
995
995
  R(p, (B) => {
996
996
  const { Vt: N, Ut: G } = B;
997
997
  return [N, {
998
- transform: A(B, b ? P.x : P.y, b && _t(G) && r)
998
+ transform: A(B, y ? P.x : P.y, y && _t(G) && r)
999
999
  }];
1000
1000
  });
1001
1001
  }
1002
- }, z = (p) => C && !w && ae(p) === i, U = [], F = [], k = [], j = (p, b, x) => {
1002
+ }, z = (p) => O && !w && ae(p) === i, U = [], F = [], k = [], j = (p, y, x) => {
1003
1003
  const I = zn(x), A = I ? x : !0, P = I ? !x : !0;
1004
- A && $(F, p, b), P && $(k, p, b);
1004
+ A && $(F, p, y), P && $(k, p, y);
1005
1005
  }, q = () => {
1006
- M(F, !0), M(k);
1006
+ H(F, !0), H(k);
1007
1007
  }, st = () => {
1008
1008
  h(F, !0), h(k);
1009
1009
  }, tt = () => {
1010
- if (C) {
1011
- const { Lt: p } = o, b = 0.5;
1010
+ if (O) {
1011
+ const { Lt: p } = o, y = 0.5;
1012
1012
  if (m && S)
1013
1013
  Z(kt(k, F), ({ Ut: x }) => {
1014
1014
  if (z(x)) {
1015
1015
  const I = (A, P, B) => {
1016
1016
  const N = B && _t(x) && r;
1017
1017
  L(x, A, _({
1018
- transform: Ko(P - b, N).map((G) => no(go(G), B))
1018
+ transform: Ko(P - y, N).map((G) => no(go(G), B))
1019
1019
  }, N), "add");
1020
1020
  };
1021
1021
  I(m, p.x, !0), I(S, p.y);
@@ -1045,7 +1045,7 @@ const Er = () => {
1045
1045
  Vt: A
1046
1046
  };
1047
1047
  return ot(p ? F : k, P), ot(U, [yt(x, I), yt(I, A), W(Nt, x), V, n(P, j, h, p)]), P;
1048
- }, Q = W(T, !0), nt = W(T, !1), it = () => (yt(O, F[0].Ut), yt(O, k[0].Ut), W(xt, U));
1048
+ }, Q = W(T, !0), nt = W(T, !1), lt = () => (yt(C, F[0].Ut), yt(C, k[0].Ut), W(xt, U));
1049
1049
  return Q(), nt(), [{
1050
1050
  Bt: q,
1051
1051
  Nt: st,
@@ -1063,32 +1063,32 @@ const Er = () => {
1063
1063
  Xt: nt,
1064
1064
  Yt: W(R, k)
1065
1065
  }
1066
- }, it];
1066
+ }, lt];
1067
1067
  }, Rr = (t, e, o) => {
1068
1068
  const { bt: n, kt: s, Kt: r } = e;
1069
1069
  return (l, c, a, u) => {
1070
- const { Ut: i, Mt: d, Vt: f } = l, [w, C] = Pt(333), [g, v] = Pt(), E = W(a, [l], u), y = !!s.scrollBy, m = `client${u ? "X" : "Y"}`, S = u ? ce : le, O = u ? "left" : "top", H = u ? "w" : "h", D = u ? "x" : "y", _ = ($) => $.propertyName.indexOf(S) > -1, V = () => {
1071
- const $ = "pointerup pointerleave pointercancel lostpointercapture", R = (M, h) => (z) => {
1072
- const { Lt: U } = o, F = ye(d)[H] - ye(f)[H], j = h * z / F * U[D];
1070
+ const { Ut: i, Mt: d, Vt: f } = l, [w, O] = Pt(333), [g, v] = Pt(), E = W(a, [l], u), b = !!s.scrollBy, m = `client${u ? "X" : "Y"}`, S = u ? ce : le, C = u ? "left" : "top", M = u ? "w" : "h", D = u ? "x" : "y", _ = ($) => $.propertyName.indexOf(S) > -1, V = () => {
1071
+ const $ = "pointerup pointerleave pointercancel lostpointercapture", R = (H, h) => (z) => {
1072
+ const { Lt: U } = o, F = ye(d)[M] - ye(f)[M], j = h * z / F * U[D];
1073
1073
  Ft(s, {
1074
- [D]: M + j
1074
+ [D]: H + j
1075
1075
  });
1076
1076
  };
1077
- return rt(d, "pointerdown", (M) => {
1078
- const h = oe(M.target, `.${Po}`) === f, z = h ? f : d, U = t.scrollbars, { button: F, isPrimary: k, pointerType: j } = M, { pointers: q } = U;
1077
+ return rt(d, "pointerdown", (H) => {
1078
+ const h = oe(H.target, `.${Po}`) === f, z = h ? f : d, U = t.scrollbars, { button: F, isPrimary: k, pointerType: j } = H, { pointers: q } = U;
1079
1079
  if (F === 0 && k && U[h ? "dragScroll" : "clickScroll"] && (q || []).includes(j)) {
1080
- const tt = !h && M.shiftKey, T = W(se, f), Q = W(se, d), nt = (et, ut) => (et || T())[O] - (ut || Q())[O], it = io(se(s)[S]) / ye(s)[H] || 1, p = R(de(s)[D] || 0, 1 / it), b = M[m], x = T(), I = Q(), A = x[S], P = nt(x, I) + A / 2, B = b - I[O], N = h ? 0 : B - P, G = (et) => {
1080
+ const tt = !h && H.shiftKey, T = W(se, f), Q = W(se, d), nt = (et, ut) => (et || T())[C] - (ut || Q())[C], lt = io(se(s)[S]) / ye(s)[M] || 1, p = R(de(s)[D] || 0, 1 / lt), y = H[m], x = T(), I = Q(), A = x[S], P = nt(x, I) + A / 2, B = y - I[C], N = h ? 0 : B - P, G = (et) => {
1081
1081
  xt(dt), z.releasePointerCapture(et.pointerId);
1082
1082
  }, dt = [we(n, gt, sr), rt(r, $, G), rt(r, "selectstart", (et) => Qo(et), {
1083
1083
  H: !1
1084
1084
  }), rt(d, $, G), rt(d, "pointermove", (et) => {
1085
- const ut = et[m] - b;
1085
+ const ut = et[m] - y;
1086
1086
  (h || tt) && p(N + ut);
1087
1087
  })];
1088
- if (z.setPointerCapture(M.pointerId), tt)
1088
+ if (z.setPointerCapture(H.pointerId), tt)
1089
1089
  p(N);
1090
1090
  else if (!h) {
1091
- const et = fe(Cr);
1091
+ const et = fe(Or);
1092
1092
  et && ot(dt, et(p, nt, N, A, B));
1093
1093
  }
1094
1094
  }
@@ -1100,10 +1100,10 @@ const Er = () => {
1100
1100
  }), rt(i, "pointerleave pointercancel", () => {
1101
1101
  c(rn, !1);
1102
1102
  }), rt(i, "wheel", ($) => {
1103
- const { deltaX: R, deltaY: M, deltaMode: h } = $;
1104
- y && L && h === 0 && ae(i) === n && s.scrollBy({
1103
+ const { deltaX: R, deltaY: H, deltaMode: h } = $;
1104
+ b && L && h === 0 && ae(i) === n && s.scrollBy({
1105
1105
  left: R,
1106
- top: M,
1106
+ top: H,
1107
1107
  behavior: "smooth"
1108
1108
  }), L = !1, c(an, !0), w(() => {
1109
1109
  L = !0, c(an);
@@ -1125,12 +1125,12 @@ const Er = () => {
1125
1125
  I: !0
1126
1126
  }), {
1127
1127
  I: !0
1128
- }), V(), C, v]);
1128
+ }), V(), O, v]);
1129
1129
  };
1130
1130
  }, zr = (t, e, o, n, s, r) => {
1131
1131
  let l, c, a, u, i, d = Et, f = 0;
1132
- const [w, C] = Pt(), [g, v] = Pt(), [E, y] = Pt(100), [m, S] = Pt(100), [O, H] = Pt(100), [D, _] = Pt(() => f), [V, L] = Ar(t, s, n, Rr(e, s, n)), { bt: $, Zt: R, Rt: M } = s, { Ft: h, Bt: z, Nt: U, jt: F } = V, k = (T) => {
1133
- h(Oo, T, !0), h(Oo, T, !1);
1132
+ const [w, O] = Pt(), [g, v] = Pt(), [E, b] = Pt(100), [m, S] = Pt(100), [C, M] = Pt(100), [D, _] = Pt(() => f), [V, L] = Ar(t, s, n, Rr(e, s, n)), { bt: $, Zt: R, Rt: H } = s, { Ft: h, Bt: z, Nt: U, jt: F } = V, k = (T) => {
1133
+ h(Co, T, !0), h(Co, T, !1);
1134
1134
  }, j = (T, Q) => {
1135
1135
  if (_(), T)
1136
1136
  h(ln);
@@ -1140,13 +1140,13 @@ const Er = () => {
1140
1140
  }
1141
1141
  }, q = (T) => T.pointerType === "mouse", st = (T) => {
1142
1142
  q(T) && (u = c, u && j(!0));
1143
- }, tt = [y, _, S, H, v, C, () => d(), rt($, "pointerover", st, {
1143
+ }, tt = [b, _, S, M, v, O, () => d(), rt($, "pointerover", st, {
1144
1144
  A: !0
1145
1145
  }), rt($, "pointerenter", st), rt($, "pointerleave", (T) => {
1146
1146
  q(T) && (u = !1, c && j(!1));
1147
1147
  }), rt($, "pointermove", (T) => {
1148
1148
  q(T) && l && w(() => {
1149
- y(), j(!0), m(() => {
1149
+ b(), j(!0), m(() => {
1150
1150
  l && j(!1);
1151
1151
  });
1152
1152
  });
@@ -1157,52 +1157,52 @@ const Er = () => {
1157
1157
  });
1158
1158
  }), r(T), F();
1159
1159
  })];
1160
- return [() => W(xt, ot(tt, L())), ({ Et: T, Tt: Q, Gt: nt, Qt: it }) => {
1161
- const { tn: p, nn: b, sn: x } = it || {}, { Ct: I, dt: A } = nt || {}, { N: P } = o, { T: B } = wt(), { k: N, en: G } = n, [at, dt] = T("showNativeOverlaidScrollbars"), [et, ut] = T("scrollbars.theme"), [Ut, X] = T("scrollbars.visibility"), [lt, ft] = T("scrollbars.autoHide"), [pt, ct] = T("scrollbars.autoHideSuspend"), [mt] = T("scrollbars.autoHideDelay"), [jt, Jt] = T("scrollbars.dragScroll"), [$t, Xt] = T("scrollbars.clickScroll"), [Rt, to] = T("overflow"), zt = A && !Q, eo = G.x || G.y, pe = p || b || I || Q, Ee = x || X || to, Te = at && B.x && B.y, he = (ve, te, Wo) => {
1160
+ return [() => W(xt, ot(tt, L())), ({ Et: T, Tt: Q, Gt: nt, Qt: lt }) => {
1161
+ const { tn: p, nn: y, sn: x } = lt || {}, { Ct: I, dt: A } = nt || {}, { N: P } = o, { T: B } = wt(), { k: N, en: G } = n, [at, dt] = T("showNativeOverlaidScrollbars"), [et, ut] = T("scrollbars.theme"), [Ut, X] = T("scrollbars.visibility"), [it, ft] = T("scrollbars.autoHide"), [pt, ct] = T("scrollbars.autoHideSuspend"), [mt] = T("scrollbars.autoHideDelay"), [jt, Jt] = T("scrollbars.dragScroll"), [$t, Xt] = T("scrollbars.clickScroll"), [Rt, to] = T("overflow"), zt = A && !Q, eo = G.x || G.y, pe = p || y || I || Q, Ee = x || X || to, Te = at && B.x && B.y, he = (ve, te, Wo) => {
1162
1162
  const _o = ve.includes("scroll") && (Ut === "visible" || Ut === "auto" && te === "scroll");
1163
1163
  return h(vr, _o, Wo), _o;
1164
1164
  };
1165
- if (f = mt, zt && (pt && eo ? (k(!1), d(), O(() => {
1165
+ if (f = mt, zt && (pt && eo ? (k(!1), d(), C(() => {
1166
1166
  d = rt(R, "scroll", W(k, !0), {
1167
1167
  A: !0
1168
1168
  });
1169
- })) : k(!0)), dt && h(dr, Te), ut && (h(i), h(et, !0), i = et), ct && !pt && k(!0), ft && (l = lt === "move", c = lt === "leave", a = lt !== "never", j(!a, !0)), Jt && h(yr, jt), Xt && h(gr, $t), Ee) {
1169
+ })) : k(!0)), dt && h(dr, Te), ut && (h(i), h(et, !0), i = et), ct && !pt && k(!0), ft && (l = it === "move", c = it === "leave", a = it !== "never", j(!a, !0)), Jt && h(yr, jt), Xt && h(gr, $t), Ee) {
1170
1170
  const ve = he(Rt.x, N.x, !0), te = he(Rt.y, N.y, !1);
1171
1171
  h(mr, !(ve && te));
1172
1172
  }
1173
- pe && (z(), U(), F(), h(cn, !G.x, !0), h(cn, !G.y, !1), h(fr, P && !M));
1173
+ pe && (z(), U(), F(), h(cn, !G.x, !0), h(cn, !G.y, !1), h(fr, P && !H));
1174
1174
  }, {}, V];
1175
1175
  }, Pr = (t) => {
1176
- const e = wt(), { G: o, L: n } = e, { elements: s } = o(), { host: r, padding: l, viewport: c, content: a } = s, u = ge(t), i = u ? {} : t, { elements: d } = i, { host: f, padding: w, viewport: C, content: g } = d || {}, v = u ? t : i.target, E = vo(v, "textarea"), y = v.ownerDocument, m = y.documentElement, S = v === y.body, O = y.defaultView, H = () => y.activeElement, D = (X) => {
1176
+ const e = wt(), { G: o, L: n } = e, { elements: s } = o(), { host: r, padding: l, viewport: c, content: a } = s, u = ge(t), i = u ? {} : t, { elements: d } = i, { host: f, padding: w, viewport: O, content: g } = d || {}, v = u ? t : i.target, E = vo(v, "textarea"), b = v.ownerDocument, m = b.documentElement, S = v === b.body, C = b.defaultView, M = () => b.activeElement, D = (X) => {
1177
1177
  X && X.focus && X.focus();
1178
- }, _ = W(Tr, [v]), V = W(hs, [v]), L = W(Bo, [v]), $ = W(ne, ""), R = W(_, $, c), M = W(V, $, a), h = R(C), z = h === v, U = z && S, F = !z && M(g), k = !z && ge(h) && h === F, j = k && !!L(a), q = j ? R() : h, st = j ? F : M(), T = U ? m : k ? q : h, Q = E ? _($, r, f) : v, nt = U ? T : Q, it = k ? st : F, p = {
1178
+ }, _ = W(Tr, [v]), V = W(hs, [v]), L = W(Bo, [v]), $ = W(ne, ""), R = W(_, $, c), H = W(V, $, a), h = R(O), z = h === v, U = z && S, F = !z && H(g), k = !z && ge(h) && h === F, j = k && !!L(a), q = j ? R() : h, st = j ? F : H(), T = U ? m : k ? q : h, Q = E ? _($, r, f) : v, nt = U ? T : Q, lt = k ? st : F, p = {
1179
1179
  gt: v,
1180
1180
  bt: nt,
1181
1181
  D: T,
1182
1182
  cn: !z && V($, l, w),
1183
- wt: it,
1183
+ wt: lt,
1184
1184
  kt: U ? m : T,
1185
- Zt: U ? y : T,
1185
+ Zt: U ? b : T,
1186
1186
  rn: S ? m : v,
1187
- ln: O,
1188
- Kt: y,
1187
+ ln: C,
1188
+ Kt: b,
1189
1189
  St: E,
1190
1190
  Rt: S,
1191
1191
  Dt: u,
1192
1192
  V: z,
1193
1193
  an: k,
1194
1194
  yt: (X) => qs(T, z ? gt : Vt, X),
1195
- Ot: (X, lt) => ke(T, z ? gt : Vt, X, lt)
1196
- }, b = At(p).reduce((X, lt) => {
1197
- const ft = p[lt];
1195
+ Ot: (X, it) => ke(T, z ? gt : Vt, X, it)
1196
+ }, y = At(p).reduce((X, it) => {
1197
+ const ft = p[it];
1198
1198
  return ot(X, ft && ge(ft) && !ae(ft) ? ft : !1);
1199
- }, []), x = (X) => X ? Ze(b, X) : null, { gt: I, bt: A, cn: P, D: B, wt: N } = p, G = [() => {
1199
+ }, []), x = (X) => X ? Ze(y, X) : null, { gt: I, bt: A, cn: P, D: B, wt: N } = p, G = [() => {
1200
1200
  It(A, [gt, ro]), It(I, ro), S && It(m, [ro, gt]);
1201
1201
  }], at = E && x(A);
1202
1202
  let dt = E ? I : mo([N, B, P, A, I].find((X) => x(X) === !1));
1203
1203
  const et = U ? I : N || B, ut = W(xt, G);
1204
1204
  return [p, () => {
1205
- const X = H(), lt = (ct) => {
1205
+ const X = M(), it = (ct) => {
1206
1206
  yt(ae(ct), mo(ct)), Nt(ct);
1207
1207
  }, ft = (ct) => ct ? rt(ct, "focusin focusout focus blur", (mt) => {
1208
1208
  Ro(mt), mt.stopImmediatePropagation();
@@ -1210,15 +1210,15 @@ const Er = () => {
1210
1210
  I: !0,
1211
1211
  H: !1
1212
1212
  }) : Et, pt = ft(X);
1213
- if (Ot(A, gt, z ? "viewport" : "host"), Ot(P, So, ""), Ot(N, sn, ""), z || (Ot(B, Vt, ""), S && we(m, gt, rr)), at && (Xo(I, A), ot(G, () => {
1213
+ if (Ct(A, gt, z ? "viewport" : "host"), Ct(P, So, ""), Ct(N, sn, ""), z || (Ct(B, Vt, ""), S && we(m, gt, rr)), at && (Xo(I, A), ot(G, () => {
1214
1214
  Xo(A, I), Nt(A);
1215
1215
  })), yt(et, dt), yt(A, P), yt(P || A, !z && B), yt(B, N), ot(G, [pt, () => {
1216
- const ct = H(), mt = ft(ct);
1217
- It(P, So), It(N, sn), It(B, [rs, cs, Vt]), x(N) && lt(N), x(B) && lt(B), x(P) && lt(P), D(ct), mt();
1218
- }]), n && !z && (we(B, Vt, is), ot(G, W(It, B, Vt))), !z && O.top === O && X === v) {
1216
+ const ct = M(), mt = ft(ct);
1217
+ It(P, So), It(N, sn), It(B, [rs, cs, Vt]), x(N) && it(N), x(B) && it(B), x(P) && it(P), D(ct), mt();
1218
+ }]), n && !z && (we(B, Vt, is), ot(G, W(It, B, Vt))), !z && C.top === C && X === v) {
1219
1219
  const ct = "tabindex", mt = Qe(B, ct);
1220
- Ot(B, ct, "-1"), D(B);
1221
- const jt = () => mt ? Ot(B, ct, mt) : It(B, ct), Jt = rt(y, "pointerdown keydown", () => {
1220
+ Ct(B, ct, "-1"), D(B);
1221
+ const jt = () => mt ? Ct(B, ct, mt) : It(B, ct), Jt = rt(b, "pointerdown keydown", () => {
1222
1222
  jt(), Jt();
1223
1223
  });
1224
1224
  ot(G, [jt, Jt]);
@@ -1232,86 +1232,86 @@ const Er = () => {
1232
1232
  [le]: r && "100%"
1233
1233
  });
1234
1234
  }, Br = ({ bt: t, cn: e, D: o, V: n }, s) => {
1235
- const [r, l] = Ct({
1235
+ const [r, l] = Ot({
1236
1236
  u: Zs,
1237
1237
  o: qo()
1238
1238
  }, W(qo, t, "padding", ""));
1239
1239
  return ({ Et: c, Gt: a, un: u, Tt: i }) => {
1240
1240
  let [d, f] = l(i);
1241
- const { L: w } = wt(), { ht: C, Ht: g, Ct: v } = a || {}, { N: E } = u, [y, m] = c("paddingAbsolute");
1242
- (C || f || (i || g)) && ([d, f] = r(i));
1243
- const O = !n && (m || v || f);
1244
- if (O) {
1245
- const H = !y || !e && !w, D = d.r + d.l, _ = d.t + d.b, V = {
1246
- [Nn]: H && !E ? -D : 0,
1247
- [Fn]: H ? -_ : 0,
1248
- [_n]: H && E ? -D : 0,
1249
- top: H ? -d.t : 0,
1250
- right: H ? E ? -d.r : "auto" : 0,
1251
- left: H ? E ? "auto" : -d.l : 0,
1252
- [ce]: H && `calc(100% + ${D}px)`
1241
+ const { L: w } = wt(), { ht: O, Ht: g, Ct: v } = a || {}, { N: E } = u, [b, m] = c("paddingAbsolute");
1242
+ (O || f || (i || g)) && ([d, f] = r(i));
1243
+ const C = !n && (m || v || f);
1244
+ if (C) {
1245
+ const M = !b || !e && !w, D = d.r + d.l, _ = d.t + d.b, V = {
1246
+ [Nn]: M && !E ? -D : 0,
1247
+ [Fn]: M ? -_ : 0,
1248
+ [_n]: M && E ? -D : 0,
1249
+ top: M ? -d.t : 0,
1250
+ right: M ? E ? -d.r : "auto" : 0,
1251
+ left: M ? E ? "auto" : -d.l : 0,
1252
+ [ce]: M && `calc(100% + ${D}px)`
1253
1253
  }, L = {
1254
- [Vn]: H ? d.t : 0,
1255
- [Bn]: H ? d.r : 0,
1256
- [Wn]: H ? d.b : 0,
1257
- [Dn]: H ? d.l : 0
1254
+ [Vn]: M ? d.t : 0,
1255
+ [Bn]: M ? d.r : 0,
1256
+ [Wn]: M ? d.b : 0,
1257
+ [Dn]: M ? d.l : 0
1258
1258
  };
1259
1259
  ue(e || o, V), ue(o, L), Y(s, {
1260
1260
  cn: d,
1261
- fn: !H,
1261
+ fn: !M,
1262
1262
  j: e ? L : Y({}, V, L)
1263
1263
  });
1264
1264
  }
1265
1265
  return {
1266
- _n: O
1266
+ _n: C
1267
1267
  };
1268
1268
  };
1269
1269
  }, Dr = (t, e) => {
1270
- const o = wt(), { bt: n, cn: s, D: r, V: l, Ot: c, Rt: a, ln: u } = t, { L: i } = o, d = a && l, f = W(Me, 0), w = {
1270
+ const o = wt(), { bt: n, cn: s, D: r, V: l, Ot: c, Rt: a, ln: u } = t, { L: i } = o, d = a && l, f = W(He, 0), w = {
1271
1271
  u: jn,
1272
1272
  o: {
1273
1273
  w: 0,
1274
1274
  h: 0
1275
1275
  }
1276
- }, C = {
1276
+ }, O = {
1277
1277
  u: Xn,
1278
1278
  o: {
1279
1279
  x: ie,
1280
1280
  y: ie
1281
1281
  }
1282
1282
  }, g = (L, $) => {
1283
- const R = bt.devicePixelRatio % 1 !== 0 ? 1 : 0, M = {
1283
+ const R = bt.devicePixelRatio % 1 !== 0 ? 1 : 0, H = {
1284
1284
  w: f(L.w - $.w),
1285
1285
  h: f(L.h - $.h)
1286
1286
  };
1287
1287
  return {
1288
- w: M.w > R ? M.w : 0,
1289
- h: M.h > R ? M.h : 0
1288
+ w: H.w > R ? H.w : 0,
1289
+ h: H.h > R ? H.h : 0
1290
1290
  };
1291
- }, [v, E] = Ct(w, W(Ao, r)), [y, m] = Ct(w, W(yo, r)), [S, O] = Ct(w), [H, D] = Ct(w), [_] = Ct(C), V = fe(Vo);
1292
- return ({ Et: L, Gt: $, un: R, Tt: M }, { _n: h }) => {
1293
- const { ht: z, Ht: U, Ct: F, zt: k } = $ || {}, j = V && V.M(t, e, R, o, L), { q, W: st, X: tt } = j || {}, [T, Q] = Sr(L, o), [nt, it] = L("overflow"), p = z || h || U || F || k || Q, b = Ne(nt.x), x = Ne(nt.y), I = b || x;
1294
- let A = E(M), P = m(M), B = O(M), N = D(M), G;
1291
+ }, [v, E] = Ot(w, W(Ao, r)), [b, m] = Ot(w, W(yo, r)), [S, C] = Ot(w), [M, D] = Ot(w), [_] = Ot(O), V = fe(Vo);
1292
+ return ({ Et: L, Gt: $, un: R, Tt: H }, { _n: h }) => {
1293
+ const { ht: z, Ht: U, Ct: F, zt: k } = $ || {}, j = V && V.M(t, e, R, o, L), { q, W: st, X: tt } = j || {}, [T, Q] = Sr(L, o), [nt, lt] = L("overflow"), p = z || h || U || F || k || Q, y = Ne(nt.x), x = Ne(nt.y), I = y || x;
1294
+ let A = E(H), P = m(H), B = C(H), N = D(H), G;
1295
1295
  if (Q && i && c(is, !T), p) {
1296
1296
  I && c(re, !1);
1297
- const [$t, Xt] = st ? st(G) : [], [Rt, to] = A = v(M), [zt, eo] = P = y(M), pe = es(r), Ee = zt, Te = pe;
1297
+ const [$t, Xt] = st ? st(G) : [], [Rt, to] = A = v(H), [zt, eo] = P = b(H), pe = es(r), Ee = zt, Te = pe;
1298
1298
  $t && $t(), (eo || to || Q) && Xt && !T && q && q(Xt, zt, Rt);
1299
1299
  const he = tr(u), ve = {
1300
- w: f(Me(zt.w, Ee.w) + Rt.w),
1301
- h: f(Me(zt.h, Ee.h) + Rt.h)
1300
+ w: f(He(zt.w, Ee.w) + Rt.w),
1301
+ h: f(He(zt.h, Ee.h) + Rt.h)
1302
1302
  }, te = {
1303
1303
  w: f((d ? he.w : Te.w + f(pe.w - zt.w)) + Rt.w),
1304
1304
  h: f((d ? he.h : Te.h + f(pe.h - zt.h)) + Rt.h)
1305
1305
  };
1306
- N = H(te), B = S(g(ve, te), M);
1306
+ N = M(te), B = S(g(ve, te), H);
1307
1307
  }
1308
- const [at, dt] = N, [et, ut] = B, [Ut, X] = P, [lt, ft] = A, pt = {
1308
+ const [at, dt] = N, [et, ut] = B, [Ut, X] = P, [it, ft] = A, pt = {
1309
1309
  x: et.w > 0,
1310
1310
  y: et.h > 0
1311
- }, ct = b && x && (pt.x || pt.y) || b && pt.x && !pt.y || x && pt.y && !pt.x;
1312
- if (h || F || k || ft || X || dt || ut || it || Q || p) {
1313
- const $t = {}, Xt = Or(t, pt, nt, $t);
1314
- tt && tt(Xt, R, !!q && q(Xt, Ut, lt), $t), l ? (Ot(n, rs, $t[qe]), Ot(n, cs, $t[Ge])) : ue(r, $t);
1311
+ }, ct = y && x && (pt.x || pt.y) || y && pt.x && !pt.y || x && pt.y && !pt.x;
1312
+ if (h || F || k || ft || X || dt || ut || lt || Q || p) {
1313
+ const $t = {}, Xt = Cr(t, pt, nt, $t);
1314
+ tt && tt(Xt, R, !!q && q(Xt, Ut, it), $t), l ? (Ct(n, rs, $t[qe]), Ct(n, cs, $t[Ge])) : ue(r, $t);
1315
1315
  }
1316
1316
  ke(n, gt, ls, ct), ke(s, So, lr, ct), l || ke(r, Vt, re, I);
1317
1317
  const [jt, Jt] = _(ps(t).k);
@@ -1374,35 +1374,35 @@ const Er = () => {
1374
1374
  }), v(), Ft(l, g), !c && Ft(r, 0), w;
1375
1375
  }, s, e, n];
1376
1376
  }, _r = (t, e, o, n) => {
1377
- const s = nn(e, {}), [r, l, c, a, u] = Wr(t), [i, d, f] = kr(a, c, s, (y) => {
1378
- E({}, y);
1379
- }), [w, C, , g] = zr(t, e, f, c, a, n), v = (y) => At(y).some((m) => !!y[m]), E = (y, m) => {
1380
- const { dn: S, Tt: O, At: H, vn: D } = y, _ = S || {}, V = !!O, L = {
1377
+ const s = nn(e, {}), [r, l, c, a, u] = Wr(t), [i, d, f] = kr(a, c, s, (b) => {
1378
+ E({}, b);
1379
+ }), [w, O, , g] = zr(t, e, f, c, a, n), v = (b) => At(b).some((m) => !!b[m]), E = (b, m) => {
1380
+ const { dn: S, Tt: C, At: M, vn: D } = b, _ = S || {}, V = !!C, L = {
1381
1381
  Et: nn(e, _, V),
1382
1382
  dn: _,
1383
1383
  Tt: V
1384
1384
  };
1385
1385
  if (D)
1386
- return C(L), !1;
1386
+ return O(L), !1;
1387
1387
  const $ = m || d(Y({}, L, {
1388
- At: H
1388
+ At: M
1389
1389
  })), R = l(Y({}, L, {
1390
1390
  un: f,
1391
1391
  Gt: $
1392
1392
  }));
1393
- C(Y({}, L, {
1393
+ O(Y({}, L, {
1394
1394
  Gt: $,
1395
1395
  Qt: R
1396
1396
  }));
1397
- const M = v($), h = v(R), z = M || h || !Ho(_) || V;
1398
- return z && o(y, {
1397
+ const H = v($), h = v(R), z = H || h || !Mo(_) || V;
1398
+ return z && o(b, {
1399
1399
  Gt: $,
1400
1400
  Qt: R
1401
1401
  }), z;
1402
1402
  };
1403
1403
  return [() => {
1404
- const { rn: y, D: m } = a, S = de(y), O = [i(), r(), w()];
1405
- return Ft(m, S), W(xt, O);
1404
+ const { rn: b, D: m } = a, S = de(b), C = [i(), r(), w()];
1405
+ return Ft(m, S), W(xt, C);
1406
1406
  }, E, () => ({
1407
1407
  hn: f,
1408
1408
  pn: c
@@ -1417,11 +1417,11 @@ const Er = () => {
1417
1417
  const a = [], u = {}, i = (L) => {
1418
1418
  const $ = qn(L), R = fe(xr);
1419
1419
  return R ? R($, !0) : $;
1420
- }, d = Y({}, n(), i(e)), [f, w, C] = xo(), [g, v, E] = xo(o), y = (L, $) => {
1421
- E(L, $), C(L, $);
1422
- }, [m, S, O, H, D] = _r(t, d, ({ dn: L, Tt: $ }, { Gt: R, Qt: M }) => {
1423
- const { ht: h, Ct: z, xt: U, Ht: F, It: k, dt: j } = R, { tn: q, nn: st, sn: tt } = M;
1424
- y("updated", [V, {
1420
+ }, d = Y({}, n(), i(e)), [f, w, O] = xo(), [g, v, E] = xo(o), b = (L, $) => {
1421
+ E(L, $), O(L, $);
1422
+ }, [m, S, C, M, D] = _r(t, d, ({ dn: L, Tt: $ }, { Gt: R, Qt: H }) => {
1423
+ const { ht: h, Ct: z, xt: U, Ht: F, It: k, dt: j } = R, { tn: q, nn: st, sn: tt } = H;
1424
+ b("updated", [V, {
1425
1425
  updateHints: {
1426
1426
  sizeChanged: !!h,
1427
1427
  directionChanged: !!z,
@@ -1436,14 +1436,14 @@ const Er = () => {
1436
1436
  changedOptions: L || {},
1437
1437
  force: !!$
1438
1438
  }]);
1439
- }, (L) => y("scroll", [V, L])), _ = (L) => {
1440
- Lr(r), xt(a), c = !0, y("destroyed", [V, L]), w(), v();
1439
+ }, (L) => b("scroll", [V, L])), _ = (L) => {
1440
+ Lr(r), xt(a), c = !0, b("destroyed", [V, L]), w(), v();
1441
1441
  }, V = {
1442
1442
  options(L, $) {
1443
1443
  if (L) {
1444
- const R = $ ? n() : {}, M = ns(d, Y(R, i(L)));
1445
- Ho(M) || (Y(d, M), S({
1446
- dn: M
1444
+ const R = $ ? n() : {}, H = ns(d, Y(R, i(L)));
1445
+ Mo(H) || (Y(d, H), S({
1446
+ dn: H
1447
1447
  }));
1448
1448
  }
1449
1449
  return Y({}, d);
@@ -1453,9 +1453,9 @@ const Er = () => {
1453
1453
  L && $ && v(L, $);
1454
1454
  },
1455
1455
  state() {
1456
- const { hn: L, pn: $ } = O(), { N: R } = L, { Pt: M, Lt: h, k: z, en: U, cn: F, fn: k } = $;
1456
+ const { hn: L, pn: $ } = C(), { N: R } = L, { Pt: H, Lt: h, k: z, en: U, cn: F, fn: k } = $;
1457
1457
  return Y({}, {
1458
- overflowEdge: M,
1458
+ overflowEdge: H,
1459
1459
  overflowAmount: h,
1460
1460
  overflowStyle: z,
1461
1461
  hasOverflow: U,
@@ -1466,7 +1466,7 @@ const Er = () => {
1466
1466
  });
1467
1467
  },
1468
1468
  elements() {
1469
- const { gt: L, bt: $, cn: R, D: M, wt: h, kt: z, Zt: U } = H.gn, { qt: F, Jt: k } = H.bn, j = (st) => {
1469
+ const { gt: L, bt: $, cn: R, D: H, wt: h, kt: z, Zt: U } = M.gn, { qt: F, Jt: k } = M.bn, j = (st) => {
1470
1470
  const { Vt: tt, Mt: T, Ut: Q } = st;
1471
1471
  return {
1472
1472
  scrollbar: Q,
@@ -1487,9 +1487,9 @@ const Er = () => {
1487
1487
  return Y({}, {
1488
1488
  target: L,
1489
1489
  host: $,
1490
- padding: R || M,
1491
- viewport: M,
1492
- content: h || M,
1490
+ padding: R || H,
1491
+ viewport: H,
1492
+ content: h || H,
1493
1493
  scrollOffsetElement: z,
1494
1494
  scrollEventElement: U,
1495
1495
  scrollbarHorizontal: q(F),
@@ -1503,7 +1503,7 @@ const Er = () => {
1503
1503
  destroy: W(_, !1),
1504
1504
  plugin: (L) => u[At(L)[0]]
1505
1505
  };
1506
- return ot(a, [D]), Ir(r, V), fs(us, Qt, [V, f, u]), $r(H.gn.Rt, !s && t.cancel) ? (_(!0), V) : (ot(a, m()), y("initialized", [V]), V.update(!0), V);
1506
+ return ot(a, [D]), Ir(r, V), fs(us, Qt, [V, f, u]), $r(M.gn.Rt, !s && t.cancel) ? (_(!0), V) : (ot(a, m()), b("initialized", [V]), V.update(!0), V);
1507
1507
  }
1508
1508
  return l;
1509
1509
  };
@@ -1512,7 +1512,7 @@ Qt.plugin = (t) => {
1512
1512
  return br(o), e ? n : n[0];
1513
1513
  };
1514
1514
  Qt.valid = (t) => {
1515
- const e = t && t.elements, o = Mt(e) && e();
1515
+ const e = t && t.elements, o = Ht(e) && e();
1516
1516
  return De(o) && !!vs(o.target);
1517
1517
  };
1518
1518
  Qt.env = () => {
@@ -1531,9 +1531,9 @@ Qt.env = () => {
1531
1531
  setDefaultOptions: i
1532
1532
  });
1533
1533
  };
1534
- const Ae = J(999999), Ie = J(380), Nr = "var(--upf-text-tooltip-text, var(--upf-text-primary, #212121))", Co = "var(--upf-text-tooltip-bg, var(--upf-bg-elevated, #ffffff))", dn = "var(--upf-text-tooltip-border, var(--upf-border-color, #D9D9D9))", Fr = "var(--upf-border-radius, 4px)", fn = "var(--upf-text-tooltip-shadow-color, rgba(38, 38, 38, 0.16))", Ur = "var(--upf-text-tooltip-scrollbar-thumb, var(--upf-text-disabled, #B2B2B2))", pn = "var(--upf-text-tooltip-scrollbar-thumb-hover, var(--upf-text-secondary, #666666))", jr = "var(--upf-text-tooltip-scrollbar-padding, 1px)", hn = (t) => {
1534
+ const Ae = J(999999), Ie = J(380), Nr = "var(--upf-text-tooltip-text, var(--upf-text-primary, #212121))", Oo = "var(--upf-text-tooltip-bg, var(--upf-bg-elevated, #ffffff))", dn = "var(--upf-text-tooltip-border, var(--upf-border-color, #D9D9D9))", Fr = "var(--upf-border-radius, 4px)", fn = "var(--upf-text-tooltip-shadow-color, rgba(38, 38, 38, 0.16))", Ur = "var(--upf-text-tooltip-scrollbar-thumb, var(--upf-text-disabled, #B2B2B2))", pn = "var(--upf-text-tooltip-scrollbar-thumb-hover, var(--upf-text-secondary, #666666))", jr = "var(--upf-text-tooltip-scrollbar-padding, 1px)", hn = (t) => {
1535
1535
  const e = document.createElement("span"), o = document.createElement("span");
1536
- return e.style.position = "absolute", e.style.width = "0", e.style.height = "0", e.style.pointerEvents = "none", e.style.zIndex = "2", o.style.position = "absolute", o.style.width = "0", o.style.height = "0", o.style.pointerEvents = "none", t === "top" ? (e.style.borderLeft = "7px solid transparent", e.style.borderRight = "7px solid transparent", e.style.borderBottom = `7px solid ${dn}`, e.style.top = "-7px", o.style.borderLeft = "6px solid transparent", o.style.borderRight = "6px solid transparent", o.style.borderBottom = `6px solid ${Co}`, o.style.top = "1px", o.style.left = "-6px") : (e.style.borderLeft = "7px solid transparent", e.style.borderRight = "7px solid transparent", e.style.borderTop = `7px solid ${dn}`, e.style.bottom = "-7px", o.style.borderLeft = "6px solid transparent", o.style.borderRight = "6px solid transparent", o.style.borderTop = `6px solid ${Co}`, o.style.bottom = "1px", o.style.left = "-6px"), e.appendChild(o), e;
1536
+ return e.style.position = "absolute", e.style.width = "0", e.style.height = "0", e.style.pointerEvents = "none", e.style.zIndex = "2", o.style.position = "absolute", o.style.width = "0", o.style.height = "0", o.style.pointerEvents = "none", t === "top" ? (e.style.borderLeft = "7px solid transparent", e.style.borderRight = "7px solid transparent", e.style.borderBottom = `7px solid ${dn}`, e.style.top = "-7px", o.style.borderLeft = "6px solid transparent", o.style.borderRight = "6px solid transparent", o.style.borderBottom = `6px solid ${Oo}`, o.style.top = "1px", o.style.left = "-6px") : (e.style.borderLeft = "7px solid transparent", e.style.borderRight = "7px solid transparent", e.style.borderTop = `7px solid ${dn}`, e.style.bottom = "-7px", o.style.borderLeft = "6px solid transparent", o.style.borderRight = "6px solid transparent", o.style.borderTop = `6px solid ${Oo}`, o.style.bottom = "1px", o.style.left = "-6px"), e.appendChild(o), e;
1537
1537
  }, Xr = () => {
1538
1538
  zs("das-ui-text", [
1539
1539
  {
@@ -1556,7 +1556,7 @@ const Ae = J(999999), Ie = J(380), Nr = "var(--upf-text-tooltip-text, var(--upf-
1556
1556
  padding: "10px",
1557
1557
  "font-size": "12px",
1558
1558
  color: Nr,
1559
- background: Co,
1559
+ background: Oo,
1560
1560
  // border: `1px solid ${tooltipBorderVar}`,
1561
1561
  "border-radius": Fr,
1562
1562
  "line-height": 1.5,
@@ -1613,7 +1613,7 @@ const me = () => {
1613
1613
  let o = t;
1614
1614
  return e.target && (typeof e.target == "string" && (o = t.querySelector(e.target) || document.querySelector(e.target)), typeof e.target == "function" && (o = await e.target(t))), o || t;
1615
1615
  }, gn = (t, e) => {
1616
- t.dataset.customContent = (e == null ? void 0 : e.customContent) || "";
1616
+ t.dataset.customContent = (e == null ? void 0 : e.customContent) || "", t.dataset.customContentMode = (e == null ? void 0 : e.contentMode) || "html";
1617
1617
  }, Yr = {
1618
1618
  beforeMount() {
1619
1619
  Xr();
@@ -1633,27 +1633,28 @@ const me = () => {
1633
1633
  gn(c, n);
1634
1634
  let u = !0;
1635
1635
  a.contains("das-ui-text-context") || a.add("das-ui-text-context"), c.onmouseenter = (i) => {
1636
- const f = i.composedPath()[0], { x: w, y: C, width: g, height: v, top: E, left: y, bottom: m, right: S } = f.getBoundingClientRect(), O = window.getComputedStyle(f, null), H = parseFloat(O.getPropertyValue("padding-left"));
1636
+ const f = i.composedPath()[0], { x: w, y: O, width: g, height: v, top: E, left: b, bottom: m, right: S } = f.getBoundingClientRect(), C = window.getComputedStyle(f, null), M = parseFloat(C.getPropertyValue("padding-left"));
1637
1637
  Ae.value = Ps().nextZIndex();
1638
1638
  const D = document.createRange();
1639
1639
  D.setStart(c, 0);
1640
1640
  let _ = s ? c.childNodes.length : 1;
1641
1641
  D.setEnd(c, _);
1642
- const V = parseFloat(O.paddingRight), L = parseFloat(O.paddingLeft), $ = D.getBoundingClientRect(), R = Math.round($.width), M = Math.round(c.getBoundingClientRect().width) - V - L, h = R > M, z = l && (Math.ceil(c.scrollHeight) > Math.ceil(c.clientHeight) || Math.ceil($.height) > Math.ceil(c.clientHeight));
1642
+ const V = parseFloat(C.paddingRight), L = parseFloat(C.paddingLeft), $ = D.getBoundingClientRect(), R = Math.round($.width), H = Math.round(c.getBoundingClientRect().width) - V - L, h = R > H, z = l && (Math.ceil(c.scrollHeight) > Math.ceil(c.clientHeight) || Math.ceil($.height) > Math.ceil(c.clientHeight));
1643
1643
  if (h || z) {
1644
1644
  const F = (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) - S;
1645
1645
  setTimeout(async () => {
1646
1646
  let k = document.getElementById("das-ui-text-tooltip");
1647
1647
  if (!k) {
1648
- k = document.createElement("div"), k.style.cssText = `left: ${w + H}px;`, k.style.zIndex = `${Ae.value}`, k.setAttribute("id", "das-ui-text-tooltip");
1648
+ k = document.createElement("div"), k.style.cssText = `left: ${w + M}px;`, k.style.zIndex = `${Ae.value}`, k.setAttribute("id", "das-ui-text-tooltip");
1649
1649
  const T = document.createElement("div");
1650
1650
  T.setAttribute("id", "das-ui-text-tooltip-context"), T && (T.style.wordBreak = No.value == "zh-CN" ? "break-all" : "normal"), T.addEventListener("mouseover", gs);
1651
1651
  const Q = document.createElement("div");
1652
1652
  Q.setAttribute("id", "tooltip-scroll-content"), T.appendChild(Q), k.appendChild(T), document.body.appendChild(k);
1653
- const nt = "os-theme-dark das-scrollbar", it = document.getElementById("tooltip-scroll-content");
1654
- if (it) {
1655
- it.innerHTML = c.dataset.customContent || c.innerHTML;
1656
- const p = {
1653
+ const nt = "os-theme-dark das-scrollbar", lt = document.getElementById("tooltip-scroll-content");
1654
+ if (lt) {
1655
+ const p = c.dataset.customContent || "";
1656
+ c.dataset.customContentMode === "text" ? lt.textContent = p || c.textContent || "" : lt.innerHTML = p || c.innerHTML;
1657
+ const y = {
1657
1658
  scrollbars: {
1658
1659
  autoHide: "leave",
1659
1660
  autoHideDelay: 0,
@@ -1662,8 +1663,8 @@ const me = () => {
1662
1663
  overflow: { y: "scroll" }
1663
1664
  };
1664
1665
  c.dataset.customContent ? ys.value = setTimeout(() => {
1665
- Qt(T, p);
1666
- }, 10) : Qt(T, p);
1666
+ Qt(T, y);
1667
+ }, 10) : Qt(T, y);
1667
1668
  }
1668
1669
  }
1669
1670
  const j = k.querySelector('[data-tooltip-arrow="true"]');
@@ -1671,10 +1672,10 @@ const me = () => {
1671
1672
  const q = hn("bottom");
1672
1673
  if (q.setAttribute("data-tooltip-arrow", "true"), q.style.left = "14px", F + g <= Ie.value) {
1673
1674
  let T = k.offsetWidth >= Ie.value ? Ie.value : k.offsetWidth;
1674
- k.style.cssText = `left: ${w + H - T / 4}px;`, k.style.zIndex = `${Ae.value}`, q.style.left = `${T / 2}px`;
1675
+ k.style.cssText = `left: ${w + M - T / 4}px;`, k.style.zIndex = `${Ae.value}`, q.style.left = `${T / 2}px`;
1675
1676
  }
1676
1677
  k.appendChild(q);
1677
- let st = c.dataset.customContent && No.value != "zh-CN" ? k.offsetHeight - 10 : k.offsetHeight, tt = C - 10 - st;
1678
+ let st = c.dataset.customContent && No.value != "zh-CN" ? k.offsetHeight - 10 : k.offsetHeight, tt = O - 10 - st;
1678
1679
  if (tt * 1 < 0) {
1679
1680
  k.style.top = `${m + 5}px`, q.remove();
1680
1681
  const T = hn("top");
@@ -1758,17 +1759,17 @@ function ws(t) {
1758
1759
  return Ts() ? ($s(t), !0) : !1;
1759
1760
  }
1760
1761
  function tc(t, e = !0) {
1761
- Hn() ? To(t) : e ? t() : be(t);
1762
+ Mn() ? To(t) : e ? t() : be(t);
1762
1763
  }
1763
1764
  function Zt(t) {
1764
1765
  var e;
1765
1766
  const o = xs(t);
1766
1767
  return (e = o == null ? void 0 : o.$el) != null ? e : o;
1767
1768
  }
1768
- const Ce = bs ? window : void 0;
1769
+ const Oe = bs ? window : void 0;
1769
1770
  function Wt(...t) {
1770
1771
  let e, o, n, s;
1771
- if (Qr(t[0]) || Array.isArray(t[0]) ? ([o, n, s] = t, e = Ce) : [e, o, n, s] = t, !e)
1772
+ if (Qr(t[0]) || Array.isArray(t[0]) ? ([o, n, s] = t, e = Oe) : [e, o, n, s] = t, !e)
1772
1773
  return Kr;
1773
1774
  Array.isArray(o) || (o = [o]), Array.isArray(n) || (n = [n]);
1774
1775
  const r = [], l = () => {
@@ -1786,17 +1787,17 @@ function ec(t, e = !1) {
1786
1787
  }
1787
1788
  const wn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Sn = "__vueuse_ssr_handlers__";
1788
1789
  wn[Sn] = wn[Sn] || {};
1789
- var On = Object.getOwnPropertySymbols, oc = Object.prototype.hasOwnProperty, nc = Object.prototype.propertyIsEnumerable, sc = (t, e) => {
1790
+ var Cn = Object.getOwnPropertySymbols, oc = Object.prototype.hasOwnProperty, nc = Object.prototype.propertyIsEnumerable, sc = (t, e) => {
1790
1791
  var o = {};
1791
1792
  for (var n in t)
1792
1793
  oc.call(t, n) && e.indexOf(n) < 0 && (o[n] = t[n]);
1793
- if (t != null && On)
1794
- for (var n of On(t))
1794
+ if (t != null && Cn)
1795
+ for (var n of Cn(t))
1795
1796
  e.indexOf(n) < 0 && nc.call(t, n) && (o[n] = t[n]);
1796
1797
  return o;
1797
1798
  };
1798
1799
  function rc(t, e, o = {}) {
1799
- const n = o, { window: s = Ce } = n, r = sc(n, ["window"]);
1800
+ const n = o, { window: s = Oe } = n, r = sc(n, ["window"]);
1800
1801
  let l;
1801
1802
  const c = ec(() => s && "ResizeObserver" in s), a = () => {
1802
1803
  l && (l.disconnect(), l = void 0);
@@ -1811,7 +1812,7 @@ function rc(t, e, o = {}) {
1811
1812
  };
1812
1813
  }
1813
1814
  function cc(t, e = { width: 0, height: 0 }, o = {}) {
1814
- const { window: n = Ce, box: s = "content-box" } = o, r = K(() => {
1815
+ const { window: n = Oe, box: s = "content-box" } = o, r = K(() => {
1815
1816
  var a, u;
1816
1817
  return (u = (a = Zt(t)) == null ? void 0 : a.namespaceURI) == null ? void 0 : u.includes("svg");
1817
1818
  }), l = J(e.width), c = J(e.height);
@@ -1855,7 +1856,7 @@ function ic(t = {}) {
1855
1856
  touch: o = !0,
1856
1857
  resetOnTouchEnds: n = !1,
1857
1858
  initialValue: s = { x: 0, y: 0 },
1858
- window: r = Ce,
1859
+ window: r = Oe,
1859
1860
  eventFilter: l
1860
1861
  } = t, c = J(s.x), a = J(s.y), u = J(null), i = (g) => {
1861
1862
  e === "page" ? (c.value = g.pageX, a.value = g.pageY) : e === "client" ? (c.value = g.clientX, a.value = g.clientY) : e === "movement" && (c.value = g.movementX, a.value = g.movementY), u.value = "mouse";
@@ -1866,8 +1867,8 @@ function ic(t = {}) {
1866
1867
  const v = g.touches[0];
1867
1868
  e === "page" ? (c.value = v.pageX, a.value = v.pageY) : e === "client" && (c.value = v.clientX, a.value = v.clientY), u.value = "touch";
1868
1869
  }
1869
- }, w = (g) => l === void 0 ? i(g) : l(() => i(g), {}), C = (g) => l === void 0 ? f(g) : l(() => f(g), {});
1870
- return r && (Wt(r, "mousemove", w, { passive: !0 }), Wt(r, "dragover", w, { passive: !0 }), o && e !== "movement" && (Wt(r, "touchstart", C, { passive: !0 }), Wt(r, "touchmove", C, { passive: !0 }), n && Wt(r, "touchend", d, { passive: !0 }))), {
1870
+ }, w = (g) => l === void 0 ? i(g) : l(() => i(g), {}), O = (g) => l === void 0 ? f(g) : l(() => f(g), {});
1871
+ return r && (Wt(r, "mousemove", w, { passive: !0 }), Wt(r, "dragover", w, { passive: !0 }), o && e !== "movement" && (Wt(r, "touchstart", O, { passive: !0 }), Wt(r, "touchmove", O, { passive: !0 }), n && Wt(r, "touchend", d, { passive: !0 }))), {
1871
1872
  x: c,
1872
1873
  y: a,
1873
1874
  sourceType: u
@@ -1876,8 +1877,8 @@ function ic(t = {}) {
1876
1877
  function ac(t, e = {}) {
1877
1878
  const {
1878
1879
  handleOutside: o = !0,
1879
- window: n = Ce
1880
- } = e, { x: s, y: r, sourceType: l } = ic(e), c = J(t ?? (n == null ? void 0 : n.document.body)), a = J(0), u = J(0), i = J(0), d = J(0), f = J(0), w = J(0), C = J(!0);
1880
+ window: n = Oe
1881
+ } = e, { x: s, y: r, sourceType: l } = ic(e), c = J(t ?? (n == null ? void 0 : n.document.body)), a = J(0), u = J(0), i = J(0), d = J(0), f = J(0), w = J(0), O = J(!0);
1881
1882
  let g = () => {
1882
1883
  };
1883
1884
  return n && (g = qt([c, s, r], () => {
@@ -1886,15 +1887,15 @@ function ac(t, e = {}) {
1886
1887
  return;
1887
1888
  const {
1888
1889
  left: E,
1889
- top: y,
1890
+ top: b,
1890
1891
  width: m,
1891
1892
  height: S
1892
1893
  } = v.getBoundingClientRect();
1893
- i.value = E + n.pageXOffset, d.value = y + n.pageYOffset, f.value = S, w.value = m;
1894
- const O = s.value - i.value, H = r.value - d.value;
1895
- C.value = m === 0 || S === 0 || O < 0 || H < 0 || O > m || H > S, (o || !C.value) && (a.value = O, u.value = H);
1894
+ i.value = E + n.pageXOffset, d.value = b + n.pageYOffset, f.value = S, w.value = m;
1895
+ const C = s.value - i.value, M = r.value - d.value;
1896
+ O.value = m === 0 || S === 0 || C < 0 || M < 0 || C > m || M > S, (o || !O.value) && (a.value = C, u.value = M);
1896
1897
  }, { immediate: !0 }), Wt(document, "mouseleave", () => {
1897
- C.value = !0;
1898
+ O.value = !0;
1898
1899
  })), {
1899
1900
  x: s,
1900
1901
  y: r,
@@ -1905,14 +1906,14 @@ function ac(t, e = {}) {
1905
1906
  elementPositionY: d,
1906
1907
  elementHeight: f,
1907
1908
  elementWidth: w,
1908
- isOutside: C,
1909
+ isOutside: O,
1909
1910
  stop: g
1910
1911
  };
1911
1912
  }
1912
- var Cn;
1913
+ var On;
1913
1914
  (function(t) {
1914
1915
  t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
1915
- })(Cn || (Cn = {}));
1916
+ })(On || (On = {}));
1916
1917
  var uc = Object.defineProperty, En = Object.getOwnPropertySymbols, dc = Object.prototype.hasOwnProperty, fc = Object.prototype.propertyIsEnumerable, Tn = (t, e, o) => e in t ? uc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, pc = (t, e) => {
1917
1918
  for (var o in e)
1918
1919
  dc.call(e, o) && Tn(t, o, e[o]);
@@ -1956,7 +1957,7 @@ function vc({
1956
1957
  placeholder: o
1957
1958
  }) {
1958
1959
  var i;
1959
- const n = (i = Hn()) == null ? void 0 : i.props, s = K(() => {
1960
+ const n = (i = Mn()) == null ? void 0 : i.props, s = K(() => {
1960
1961
  var d;
1961
1962
  return (d = t.value) == null ? void 0 : d.ref;
1962
1963
  }), { focused: r } = lc(s), l = J(!1), c = K(() => l.value && !r.value && n.isTitle), a = K(() => e.value ? e.value : o.value), u = async () => {
@@ -2024,7 +2025,7 @@ const mc = {
2024
2025
  "--das-input-border-color": (h = bn[l.value]) == null ? void 0 : h.color,
2025
2026
  "--das-input-message-color": (z = bn[l.value]) == null ? void 0 : z.color
2026
2027
  };
2027
- }), C = K(() => s.style ? [w.value, s.style] : w.value), g = K(() => s.class ? [v.value, s.class] : v.value), v = K(() => [
2028
+ }), O = K(() => s.style ? [w.value, s.style] : w.value), g = K(() => s.class ? [v.value, s.class] : v.value), v = K(() => [
2028
2029
  "das-ui-input",
2029
2030
  `das-ui-input--border-type-${n.borderType}`,
2030
2031
  {
@@ -2032,19 +2033,19 @@ const mc = {
2032
2033
  "das-ui-input--disabled": n.disabled,
2033
2034
  "das-ui-textarea": n.type === "textarea"
2034
2035
  }
2035
- ]), E = o, y = K({
2036
+ ]), E = o, b = K({
2036
2037
  get: () => n.modelValue,
2037
2038
  set: (h) => E("update:modelValue", h)
2038
- }), m = J(null), S = J(), { isOutside: O } = ac(K(() => {
2039
+ }), m = J(null), S = J(), { isOutside: C } = ac(K(() => {
2039
2040
  var h;
2040
2041
  return (h = S.value) == null ? void 0 : h.$el;
2041
- })), H = K(() => !O.value && n.errorMode === "overlay"), D = K(() => n.type === "textarea" ? n.showWordLimit : n.showTextWordLimit), _ = K(() => n.isView || n.disabled), V = K(() => _.value ? n.noSetDefaultVal ? "" : "-" : r.value ?? ""), { showToolTip: L, tooltipContent: $ } = vc({
2042
+ })), M = K(() => !C.value && n.errorMode === "overlay"), D = K(() => n.type === "textarea" ? n.showWordLimit : n.showTextWordLimit), _ = K(() => n.isView || n.disabled), V = K(() => _.value ? n.noSetDefaultVal ? "" : "-" : r.value ?? ""), { showToolTip: L, tooltipContent: $ } = vc({
2042
2043
  elInputRef: S,
2043
- inputValue: y,
2044
+ inputValue: b,
2044
2045
  placeholder: r
2045
- }), { width: R } = cc(m), M = (h) => {
2046
+ }), { width: R } = cc(m), H = (h) => {
2046
2047
  let z = h + "";
2047
- n.type !== "textarea" && n.filterSpace && (z = z.trim()), y.value = z, E("change", z);
2048
+ n.type !== "textarea" && n.filterSpace && (z = z.trim()), b.value = z, E("change", z);
2048
2049
  };
2049
2050
  return e({
2050
2051
  elInputRef: S
@@ -2053,7 +2054,7 @@ const mc = {
2053
2054
  {
2054
2055
  ref_key: "containerRef",
2055
2056
  ref: m,
2056
- style: Ve(C.value),
2057
+ style: Ve(O.value),
2057
2058
  class: ze(g.value)
2058
2059
  },
2059
2060
  [
@@ -2065,13 +2066,13 @@ const mc = {
2065
2066
  content: Bt($)
2066
2067
  }, {
2067
2068
  default: Dt(() => [
2068
- lo(Bt(Ms), In({
2069
+ lo(Bt(Hs), In({
2069
2070
  ref_key: "elInputRef",
2070
2071
  ref: S
2071
2072
  }, f.value, {
2072
2073
  size: d.value,
2073
- modelValue: y.value,
2074
- "onUpdate:modelValue": z[0] || (z[0] = (U) => y.value = U),
2074
+ modelValue: b.value,
2075
+ "onUpdate:modelValue": z[0] || (z[0] = (U) => b.value = U),
2075
2076
  placeholder: V.value,
2076
2077
  disabled: t.disabled,
2077
2078
  readonly: t.isView,
@@ -2079,7 +2080,7 @@ const mc = {
2079
2080
  autosize: n.autosize,
2080
2081
  showWordLimit: D.value,
2081
2082
  maxlength: n.maxlength,
2082
- onChange: M
2083
+ onChange: H
2083
2084
  }), Is({
2084
2085
  _: 2
2085
2086
  /* DYNAMIC */
@@ -2120,7 +2121,7 @@ const mc = {
2120
2121
  /* FORWARDED */
2121
2122
  }, 8, ["disabled", "content"]),
2122
2123
  t.error && t.errorLabel ? (ht(), St(
2123
- He,
2124
+ Me,
2124
2125
  { key: 0 },
2125
2126
  [
2126
2127
  t.errorMode === "default" ? (ht(), St("div", mc, [
@@ -2138,7 +2139,7 @@ const mc = {
2138
2139
  [Bt(Yr)]
2139
2140
  ]) : Lt("v-if", !0)
2140
2141
  ])) : Lt("v-if", !0),
2141
- H.value ? (ht(), $o(Ns, {
2142
+ M.value ? (ht(), $o(Ns, {
2142
2143
  key: 1,
2143
2144
  errorLabel: t.errorLabel,
2144
2145
  errorWidth: `${Bt(R)}`,
@@ -2157,14 +2158,14 @@ const mc = {
2157
2158
  /* CLASS, STYLE */
2158
2159
  ));
2159
2160
  }
2160
- }), bc = /* @__PURE__ */ Mn(yc, [["__scopeId", "data-v-2a267b60"]]), xc = {
2161
+ }), bc = /* @__PURE__ */ Hn(yc, [["__scopeId", "data-v-2a267b60"]]), xc = {
2161
2162
  共: { "zh-CN": "共", en: "Total", "zh-MO": "共", _appCode: "framework" },
2162
2163
  项: { "zh-CN": "项", en: "Item", "zh-MO": "項", _appCode: "framework" },
2163
2164
  请输入: { "zh-CN": "请输入", en: "Please enter", "zh-MO": "請輸入", _appCode: "framework" }
2164
2165
  };
2165
2166
  As(xc);
2166
- const Hc = Ss(bc);
2167
+ const Mc = Ss(bc);
2167
2168
  export {
2168
- Hc as DasInput,
2169
- Hc as default
2169
+ Mc as DasInput,
2170
+ Mc as default
2170
2171
  };