doph-js 0.1.23 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dophJs.js CHANGED
@@ -1,4 +1,4 @@
1
- import { useSlots as sn, computed as H, h as co, openBlock as w, createBlock as q, unref as K, ref as te, createElementBlock as Y, Fragment as ut, normalizeClass as pe, renderSlot as X, createCommentVNode as le, normalizeStyle as me, resolveDynamicComponent as Be, toDisplayString as ke, withDirectives as Bt, createElementVNode as Z, vModelText as lo, withCtx as ee, createTextVNode as Xe, Transition as Ro, withModifiers as Fe, resolveComponent as Os, createVNode as gt, renderList as Fn, pushScopeId as Es, popScopeId as Ls, reactive as Vn, getCurrentInstance as Fo, watch as rt, onUnmounted as Vo, mergeProps as Et, shallowRef as Zt, defineComponent as Wo, toRefs as Bs, onMounted as Wn, watchPostEffect as Ns, useCssVars as Hs, resolveDirective as jo, Teleport as Uo, nextTick as Yo, TransitionGroup as qo, vModelCheckbox as As } from "vue";
1
+ import { useSlots as sn, computed as H, h as co, openBlock as S, createBlock as q, unref as K, ref as te, createElementBlock as Y, Fragment as ut, normalizeClass as pe, renderSlot as X, createCommentVNode as le, normalizeStyle as me, resolveDynamicComponent as Be, toDisplayString as ke, withDirectives as Bt, createElementVNode as Z, vModelText as lo, withCtx as ee, createTextVNode as Xe, Transition as Ro, withModifiers as Fe, resolveComponent as Os, createVNode as gt, renderList as Fn, pushScopeId as Es, popScopeId as Ls, reactive as Vn, getCurrentInstance as Fo, watch as rt, onUnmounted as Vo, mergeProps as Et, shallowRef as Zt, defineComponent as Wo, toRefs as Bs, onMounted as Wn, watchPostEffect as Ns, useCssVars as Hs, resolveDirective as jo, Teleport as Uo, nextTick as Yo, TransitionGroup as qo, vModelCheckbox as As } from "vue";
2
2
  const wt = {
3
3
  __name: "DIcon",
4
4
  props: {
@@ -29,7 +29,7 @@ const wt = {
29
29
  },
30
30
  n.component ? co(n.component) : t
31
31
  ));
32
- return (l, c) => (w(), q(K(i)));
32
+ return (l, c) => (S(), q(K(i)));
33
33
  }
34
34
  }, Ve = {
35
35
  state: {},
@@ -68,15 +68,15 @@ const zs = { key: 1 }, ht = {
68
68
  },
69
69
  emits: ["click", "contextmenu"],
70
70
  setup(e, { expose: n, emit: t }) {
71
- const o = e, s = sn(), r = te(null), i = H(() => o.icon ? Ve.getters.getIcon(o.icon) : null), l = (u) => {
72
- t("click", u);
73
- }, c = (u) => {
74
- t("contextmenu", u);
75
- }, a = H(() => o.scale === "large" ? "button-lg" : o.scale === "small" ? "button-sm" : ""), d = (u) => !!s[u], f = H(() => d("default") ? "" : o.scale === "large" ? "d-button-lg-icon" : o.scale === "small" ? "d-button-sm-icon" : "d-button-icon");
71
+ const o = e, s = sn(), r = te(null), i = H(() => o.icon ? Ve.getters.getIcon(o.icon) : null), l = (f) => {
72
+ t("click", f);
73
+ }, c = (f) => {
74
+ t("contextmenu", f);
75
+ }, a = H(() => o.scale === "large" ? "button-lg" : o.scale === "small" ? "button-sm" : ""), d = (f) => !!s[f], u = H(() => d("default") ? "" : o.scale === "large" ? "d-button-lg-icon" : o.scale === "small" ? "d-button-sm-icon" : "d-button-icon");
76
76
  return n({
77
77
  elementSize: () => Xo(r)
78
- }), (u, _) => (w(), Y(ut, null, [
79
- i.value ? le("", !0) : (w(), Y("div", {
78
+ }), (f, h) => (S(), Y(ut, null, [
79
+ i.value ? le("", !0) : (S(), Y("div", {
80
80
  key: 0,
81
81
  ref_key: "el",
82
82
  ref: r,
@@ -84,24 +84,24 @@ const zs = { key: 1 }, ht = {
84
84
  onContextmenu: c,
85
85
  class: pe(["button", [o.class, a.value].join(" ")])
86
86
  }, [
87
- X(u.$slots, "default")
87
+ X(f.$slots, "default")
88
88
  ], 34)),
89
- i.value ? (w(), Y("div", {
89
+ i.value ? (S(), Y("div", {
90
90
  key: 1,
91
91
  ref_key: "el",
92
92
  ref: r,
93
93
  onClick: l,
94
94
  onContextmenu: c,
95
- class: pe(["button button-ext", [o.class, a.value, f.value].join(" ")]),
95
+ class: pe(["button button-ext", [o.class, a.value, u.value].join(" ")]),
96
96
  style: me(o.style)
97
97
  }, [
98
- o.icon ? (w(), q(Be(wt), {
98
+ o.icon ? (S(), q(Be(wt), {
99
99
  key: 0,
100
100
  component: i.value,
101
101
  color: "inherit"
102
102
  }, null, 8, ["component"])) : le("", !0),
103
- K(s).default ? (w(), Y("div", zs, [
104
- X(u.$slots, "default")
103
+ K(s).default ? (S(), Y("div", zs, [
104
+ X(f.$slots, "default")
105
105
  ])) : le("", !0)
106
106
  ], 38)) : le("", !0)
107
107
  ], 64));
@@ -144,9 +144,9 @@ const Ct = (e, n) => {
144
144
  n("update:modelValue", r);
145
145
  }
146
146
  });
147
- return (r, i) => t.post ? t.post.click ? (w(), Y("div", Fs, [
147
+ return (r, i) => t.post ? t.post.click ? (S(), Y("div", Fs, [
148
148
  Z("div", Vs, [
149
- t.label ? (w(), Y("div", Ws, ke(t.label), 1)) : le("", !0),
149
+ t.label ? (S(), Y("div", Ws, ke(t.label), 1)) : le("", !0),
150
150
  Bt(Z("input", {
151
151
  class: pe(["d-input-post-field", o.value]),
152
152
  "onUpdate:modelValue": i[1] || (i[1] = (l) => s.value = l),
@@ -157,7 +157,7 @@ const Ct = (e, n) => {
157
157
  [lo, s.value]
158
158
  ])
159
159
  ]),
160
- t.post.label ? (w(), q(ht, {
160
+ t.post.label ? (S(), q(ht, {
161
161
  key: 0,
162
162
  scale: t.scale,
163
163
  class: pe(["d-input-post-button", t.post.class]),
@@ -168,15 +168,15 @@ const Ct = (e, n) => {
168
168
  Xe(ke(t.post.label), 1)
169
169
  ]),
170
170
  _: 1
171
- }, 8, ["scale", "onClick", "icon", "class"])) : (w(), q(ht, {
171
+ }, 8, ["scale", "onClick", "icon", "class"])) : (S(), q(ht, {
172
172
  key: 1,
173
173
  scale: t.scale,
174
174
  class: pe(["d-input-post-button", t.post.class]),
175
175
  onClick: t.post.click,
176
176
  icon: t.post.icon
177
177
  }, null, 8, ["scale", "onClick", "icon", "class"]))
178
- ])) : le("", !0) : (w(), Y("div", Ms, [
179
- t.label ? (w(), Y("div", Ps, ke(t.label), 1)) : le("", !0),
178
+ ])) : le("", !0) : (S(), Y("div", Ms, [
179
+ t.label ? (S(), Y("div", Ps, ke(t.label), 1)) : le("", !0),
180
180
  Bt(Z("input", {
181
181
  "onUpdate:modelValue": i[0] || (i[0] = (l) => s.value = l),
182
182
  type: "text",
@@ -195,7 +195,7 @@ const Ct = (e, n) => {
195
195
  },
196
196
  setup(e) {
197
197
  const n = e;
198
- return (t, o) => (w(), Y("div", {
198
+ return (t, o) => (S(), Y("div", {
199
199
  class: pe(["badge", n.class])
200
200
  }, [
201
201
  X(t.$slots, "default")
@@ -241,11 +241,11 @@ const Ct = (e, n) => {
241
241
  }), o = (c, a) => {
242
242
  const { width: d } = getComputedStyle(c);
243
243
  c.style.width = d, c.style.position = "absolute", c.style.visibility = "hidden", c.style.height = "";
244
- let { height: f } = getComputedStyle(c);
245
- return c.style.width = a.width, c.style.position = a.position, c.style.visibility = a.visibility, c.style.height = qe, c.style.overflow = "hidden", a.height && a.height !== qe ? a.height : f;
246
- }, s = (c, a, d, f, p) => {
247
- const u = c.animate(f, p);
248
- c.style.height = a.height, u.onfinish = () => {
244
+ let { height: u } = getComputedStyle(c);
245
+ return c.style.width = a.width, c.style.position = a.position, c.style.visibility = a.visibility, c.style.height = qe, c.style.overflow = "hidden", a.height && a.height !== qe ? a.height : u;
246
+ }, s = (c, a, d, u, p) => {
247
+ const f = c.animate(u, p);
248
+ c.style.height = a.height, f.onfinish = () => {
249
249
  c.style.overflow = a.overflow, d();
250
250
  };
251
251
  }, r = (c, a) => [
@@ -270,15 +270,15 @@ const Ct = (e, n) => {
270
270
  marginBottom: a.marginBottom
271
271
  }
272
272
  ], i = (c, a) => {
273
- const d = c, f = t(d), p = o(d, f), u = r(p, f), _ = { duration: n.duration, easing: n.easingEnter };
274
- s(d, f, a, u, _);
273
+ const d = c, u = t(d), p = o(d, u), f = r(p, u), h = { duration: n.duration, easing: n.easingEnter };
274
+ s(d, u, a, f, h);
275
275
  }, l = (c, a) => {
276
- const d = c, f = t(d), { height: p } = getComputedStyle(d);
276
+ const d = c, u = t(d), { height: p } = getComputedStyle(d);
277
277
  d.style.height = p, d.style.overflow = "hidden";
278
- const u = r(p, f).reverse(), _ = { duration: n.duration, easing: n.easingLeave };
279
- s(d, f, a, u, _);
278
+ const f = r(p, u).reverse(), h = { duration: n.duration, easing: n.easingLeave };
279
+ s(d, u, a, f, h);
280
280
  };
281
- return (c, a) => (w(), q(Ro, {
281
+ return (c, a) => (S(), q(Ro, {
282
282
  css: !1,
283
283
  onEnter: i,
284
284
  onLeave: l
@@ -333,7 +333,7 @@ const Ct = (e, n) => {
333
333
  n.transferData !== void 0 && (Jt.data = n.transferData, c.dataTransfer.setData("text", "")), o.value = !0;
334
334
  }
335
335
  };
336
- return (l, c) => (w(), q(Be(e.tag), {
336
+ return (l, c) => (S(), q(Be(e.tag), {
337
337
  draggable: n.draggable,
338
338
  onDrag: c[0] || (c[0] = (a) => i(K(he).drag, a)),
339
339
  onDragstart: c[1] || (c[1] = Fe((a) => i(K(he).dragstart, a), ["stop"])),
@@ -343,7 +343,7 @@ const Ct = (e, n) => {
343
343
  }, {
344
344
  default: ee(() => [
345
345
  X(l.$slots, "default", { transferData: s.value }),
346
- e.hideImageHtml ? (w(), Y("div", {
346
+ e.hideImageHtml ? (S(), Y("div", {
347
347
  key: 0,
348
348
  style: me(r.value)
349
349
  }, [
@@ -357,7 +357,7 @@ const Ct = (e, n) => {
357
357
  }, 40, ["draggable"]));
358
358
  }
359
359
  };
360
- const Zs = (e) => (Es("data-v-af05c6bf"), e = e(), Ls(), e), Js = { key: 1 }, Qs = /* @__PURE__ */ Zs(() => /* @__PURE__ */ Z("div", { class: "tree-divider" }, null, -1)), er = [
360
+ const Zs = (e) => (Es("data-v-0d4af1dd"), e = e(), Ls(), e), Js = { key: 1 }, Qs = /* @__PURE__ */ Zs(() => /* @__PURE__ */ Z("div", { class: "tree-divider" }, null, -1)), er = [
361
361
  Qs
362
362
  ], tr = { key: 2 }, nr = { class: "tree-divider-header" }, or = { class: "item-title" }, sr = {
363
363
  key: 0,
@@ -379,24 +379,27 @@ const Zs = (e) => (Es("data-v-af05c6bf"), e = e(), Ls(), e), Js = { key: 1 }, Qs
379
379
  n("nodeclick", { event: m, model: t.model });
380
380
  }, d = (m) => {
381
381
  n("nodeclick", m);
382
- }, f = H(() => (M.actions.isItemSelected(t.treeId, t.model.id) ? "selected" : "") + (s.value ? "node-over " : "") + (r.value ? "node-top " : "") + (i.value ? "node-bottom " : "")), p = H(() => t.search ? !1 : t.model.draggable === !0), u = (m) => {
382
+ }, u = H(() => (M.actions.isItemSelected(t.treeId, t.model.id) ? "selected" : "") + (s.value ? "node-over " : "") + (r.value ? "node-top " : "") + (i.value ? "node-bottom " : "")), p = H(() => t.search ? !1 : t.model.draggable === !0), f = (m) => {
383
+ n("nodedrop", { e: m, mode: t.model });
383
384
  let v = Jt.data;
385
+ if (v === void 0 || v.model === void 0)
386
+ return !1;
384
387
  if (v.model.id === t.model.id || M.actions.isChildOfParent(t.treeId, t.items, t.model.id, v.model.id) || M.actions.isParentOfChild(t.treeId, t.items, v.model.id, t.model.id))
385
388
  return s.value = !1, r.value = !1, i.value = !1, !1;
386
389
  if (!M.state.trees[t.treeId].transfer && v.id !== t.treeId)
387
390
  return !1;
388
391
  let x = "";
389
392
  r.value ? x = "before" : i.value ? x = "after" : x = "inside", M.actions.moveTreeNode(v.id, t.treeId, t.items, v.model.id, t.model.id, x), s.value = !1, r.value = !1, i.value = !1;
390
- }, _ = (m) => {
391
- n("nodedragover", m, t.model);
393
+ }, h = (m) => {
394
+ n("nodedragover", { e: m, model: t.model });
392
395
  let v = Jt.data;
393
396
  if (v === void 0 || v.model === void 0 || v.model.id === t.model.id || M.actions.isChildOfParent(t.treeId, t.items, t.model.id, v.model.id) || M.actions.isParentOfChild(t.treeId, t.items, v.model.id, t.model.id))
394
397
  return !1;
395
398
  const x = m.y, k = o.value.getBoundingClientRect().top, A = o.value.getBoundingClientRect().height, z = A / 3;
396
399
  x > k && x <= k + z ? (s.value = !1, r.value = !0, i.value = !1) : x < k + A && x >= k + A - z ? (s.value = !1, r.value = !1, i.value = !0) : (s.value = !0, r.value = !1, i.value = !1);
397
- }, h = () => {
400
+ }, y = () => {
398
401
  s.value = !1, r.value = !1, i.value = !1;
399
- }, S = H(() => t.model.title.startsWith("-")), D = H(() => {
402
+ }, w = H(() => t.model.title.startsWith("-")), D = H(() => {
400
403
  if (t.model.title.startsWith("-")) {
401
404
  let [m, ...v] = t.model.title.split(" ");
402
405
  return v = v.join(" "), v;
@@ -405,19 +408,19 @@ const Zs = (e) => (Es("data-v-af05c6bf"), e = e(), Ls(), e), Js = { key: 1 }, Qs
405
408
  });
406
409
  return (m, v) => {
407
410
  const x = Os("d-tree-item", !0);
408
- return K(M).actions.beforeItem(t.treeId, e.model) ? S.value && !D.value ? (w(), Y("li", Js, er)) : S.value && D.value ? (w(), Y("li", tr, [
411
+ return K(M).actions.beforeItem(t.treeId, e.model) ? w.value && !D.value ? (S(), Y("li", Js, er)) : w.value && D.value ? (S(), Y("li", tr, [
409
412
  Z("div", nr, ke(K(M).actions.renderTitle(t.treeId, D.value)), 1)
410
- ])) : (w(), q(Ks, {
413
+ ])) : (S(), q(Ks, {
411
414
  key: 3,
412
415
  tag: "li",
413
416
  class: "tree-item",
414
417
  "transfer-data": { id: t.treeId, model: t.model },
415
418
  draggable: p.value,
416
- onDrop: Fe(u, ["stop"]),
419
+ onDrop: Fe(f, ["stop"]),
417
420
  onDragenter: v[0] || (v[0] = Fe(() => {
418
421
  }, ["prevent"])),
419
- onDragover: Fe(_, ["prevent", "stop"]),
420
- onDragleave: Fe(h, ["prevent"])
422
+ onDragover: Fe(h, ["prevent", "stop"]),
423
+ onDragleave: Fe(y, ["prevent"])
421
424
  }, {
422
425
  default: ee(() => {
423
426
  var k, A;
@@ -425,25 +428,25 @@ const Zs = (e) => (Es("data-v-af05c6bf"), e = e(), Ls(), e), Js = { key: 1 }, Qs
425
428
  Z("div", {
426
429
  ref_key: "node",
427
430
  ref: o,
428
- class: pe(f.value),
431
+ class: pe(u.value),
429
432
  onClick: a
430
433
  }, [
431
434
  Z("div", null, [
432
- t.model.icons && t.model.icons.pre && l.value && !t.search && !S.value ? (w(), q(Be(wt), {
435
+ t.model.icons && t.model.icons.pre && l.value && !t.search && !w.value ? (S(), q(Be(wt), {
433
436
  key: 0,
434
437
  component: K(Ve).getters.getIcon(t.model.icons.pre.component),
435
438
  size: 18,
436
439
  color: t.model.icons.pre.color ? t.model.icons.pre.color : "inherit",
437
440
  class: pe(c.value ? "tree-open-pre" : "")
438
441
  }, null, 8, ["component", "color", "class"])) : le("", !0),
439
- t.model.icons && t.model.icons.pre && !l.value && !t.search && !S.value ? (w(), q(Be(wt), {
442
+ t.model.icons && t.model.icons.pre && !l.value && !t.search && !w.value ? (S(), q(Be(wt), {
440
443
  key: 1,
441
444
  component: K(Ve).getters.getIcon(t.model.icons.pre.component),
442
445
  size: 18,
443
446
  color: "rgba(0,0,0,0)",
444
447
  class: pe(c.value ? "tree-open-pre" : "")
445
448
  }, null, 8, ["component", "class"])) : le("", !0),
446
- t.model.icons && t.model.icons.icon && !S.value ? (w(), q(Be(wt), {
449
+ t.model.icons && t.model.icons.icon && !w.value ? (S(), q(Be(wt), {
447
450
  key: 2,
448
451
  component: K(Ve).getters.getIcon(t.model.icons.icon.component),
449
452
  color: t.model.icons.icon.color ? t.model.icons.icon.color : "inherit",
@@ -451,12 +454,12 @@ const Zs = (e) => (Es("data-v-af05c6bf"), e = e(), Ls(), e), Js = { key: 1 }, Qs
451
454
  className: t.model.icons.icon.class ? t.model.icons.icon.class : null
452
455
  }, null, 8, ["component", "color", "size", "className"])) : le("", !0),
453
456
  Z("div", or, [
454
- S.value ? (w(), Y("div", sr)) : le("", !0),
455
- S.value ? le("", !0) : (w(), Y("div", rr, ke(K(M).actions.renderTitle(t.treeId, t.model.title)), 1))
457
+ w.value ? (S(), Y("div", sr)) : le("", !0),
458
+ w.value ? le("", !0) : (S(), Y("div", rr, ke(K(M).actions.renderTitle(t.treeId, t.model.title)), 1))
456
459
  ])
457
460
  ]),
458
461
  Z("div", ir, [
459
- ((k = t.model.badge) == null ? void 0 : k.value) !== void 0 && !S.value ? (w(), q(Be(Ys), {
462
+ ((k = t.model.badge) == null ? void 0 : k.value) !== void 0 && !w.value ? (S(), q(Be(Ys), {
460
463
  key: 0,
461
464
  class: pe([(A = t.model.badge) == null ? void 0 : A.class, "badge-sm"])
462
465
  }, {
@@ -465,7 +468,7 @@ const Zs = (e) => (Es("data-v-af05c6bf"), e = e(), Ls(), e), Js = { key: 1 }, Qs
465
468
  ]),
466
469
  _: 1
467
470
  }, 8, ["class"])) : le("", !0),
468
- t.model.icons && t.model.icons.post && l.value && !t.search && !S.value ? (w(), q(Be(wt), {
471
+ t.model.icons && t.model.icons.post && l.value && !t.search && !w.value ? (S(), q(Be(wt), {
469
472
  key: 1,
470
473
  component: K(Ve).getters.getIcon(t.model.icons.post.component),
471
474
  size: 20,
@@ -476,8 +479,8 @@ const Zs = (e) => (Es("data-v-af05c6bf"), e = e(), Ls(), e), Js = { key: 1 }, Qs
476
479
  ], 2),
477
480
  gt(qs, null, {
478
481
  default: ee(() => [
479
- l.value && c.value && !t.search ? (w(), Y("ul", cr, [
480
- (w(!0), Y(ut, null, Fn(e.model.children, (z) => (w(), q(x, {
482
+ l.value && c.value && !t.search ? (S(), Y("ul", cr, [
483
+ (S(!0), Y(ut, null, Fn(e.model.children, (z) => (S(), q(x, {
481
484
  class: "tree-item",
482
485
  key: z.id,
483
486
  model: z,
@@ -493,10 +496,10 @@ const Zs = (e) => (Es("data-v-af05c6bf"), e = e(), Ls(), e), Js = { key: 1 }, Qs
493
496
  ];
494
497
  }),
495
498
  _: 1
496
- }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (w(), Y(ut, { key: 0 }, [], 64));
499
+ }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"])) : (S(), Y(ut, { key: 0 }, [], 64));
497
500
  };
498
501
  }
499
- }, ar = /* @__PURE__ */ Ct(lr, [["__scopeId", "data-v-af05c6bf"]]);
502
+ }, ar = /* @__PURE__ */ Ct(lr, [["__scopeId", "data-v-0d4af1dd"]]);
500
503
  function dr(e) {
501
504
  return e = e || /* @__PURE__ */ new Map(), {
502
505
  /**
@@ -654,18 +657,18 @@ const Ie = dr(), M = {
654
657
  emits: Object.keys(he),
655
658
  setup(e, { expose: n, emit: t }) {
656
659
  let o = Vn({});
657
- const s = te("false"), r = te(null), i = /* @__PURE__ */ new Set(), l = H(() => s.value && o), c = (d, f) => {
658
- o = Jt.data, t(d, f, o), d === he.dragenter && (i.size || f.target === r.value) && i.add(f.target), d === he.dragleave && i.delete(f.target), d === he.drop && i.clear(), s.value = !!i.size;
660
+ const s = te("false"), r = te(null), i = /* @__PURE__ */ new Set(), l = H(() => s.value && o), c = (d, u) => {
661
+ o = Jt.data, t(d, u, o), d === he.dragenter && (i.size || u.target === r.value) && i.add(u.target), d === he.dragleave && i.delete(u.target), d === he.drop && i.clear(), s.value = !!i.size;
659
662
  };
660
663
  return n({
661
664
  elementSize: () => Xo(r)
662
- }), (d, f) => (w(), q(Be(e.tag), {
665
+ }), (d, u) => (S(), q(Be(e.tag), {
663
666
  ref_key: "el",
664
667
  ref: r,
665
- onDragenter: f[0] || (f[0] = (p) => c(K(he).dragenter, p)),
666
- onDragleave: f[1] || (f[1] = (p) => c(K(he).dragleave, p)),
667
- onDragover: f[2] || (f[2] = Fe((p) => c(K(he).dragover, p), ["prevent"])),
668
- onDrop: f[3] || (f[3] = Fe((p) => c(K(he).drop, p), ["prevent"]))
668
+ onDragenter: u[0] || (u[0] = (p) => c(K(he).dragenter, p)),
669
+ onDragleave: u[1] || (u[1] = (p) => c(K(he).dragleave, p)),
670
+ onDragover: u[2] || (u[2] = Fe((p) => c(K(he).dragover, p), ["prevent"])),
671
+ onDrop: u[3] || (u[3] = Fe((p) => c(K(he).drop, p), ["prevent"]))
669
672
  }, {
670
673
  default: ee(() => [
671
674
  X(d.$slots, "default", { transferData: l.value })
@@ -693,36 +696,38 @@ const Ie = dr(), M = {
693
696
  search: String
694
697
  // строка поиска
695
698
  },
696
- emits: ["select", "collapse", "expand", "move", "over"],
699
+ emits: ["select", "collapse", "expand", "move", "over", "drop"],
697
700
  setup(e, { expose: n, emit: t }) {
698
701
  const o = e, s = te(null), r = Fo().uid;
699
702
  M.actions.initTreeStore(r, o.noSelect, o.multiSelect, o.expanded, o.transfer, o.renderTitle, o.beforeItem);
700
- const i = (u, _) => {
701
- console.log(u, _);
703
+ const i = (h, y) => {
704
+ console.log(h, y);
702
705
  };
703
- Ie.on(`expand-${r}`, (u) => {
704
- t("expand", u);
705
- }), Ie.on(`collapse-${r}`, (u) => {
706
- t("collapse", u);
707
- }), Ie.on(`move-${r}`, (u) => {
708
- t("move", u);
706
+ Ie.on(`expand-${r}`, (h) => {
707
+ t("expand", h);
708
+ }), Ie.on(`collapse-${r}`, (h) => {
709
+ t("collapse", h);
710
+ }), Ie.on(`move-${r}`, (h) => {
711
+ t("move", h);
709
712
  });
710
- const l = H(() => o.search ? M.actions.deepSearchByTitle(o.items, o.search) : o.items), c = (u = null) => {
711
- M.mutations.setItemSelect(r, u.model), M.actions.toggleItem(r, u.model), t("select", u);
712
- }, a = (u = null) => {
713
- t("over", u);
713
+ const l = H(() => o.search ? M.actions.deepSearchByTitle(o.items, o.search) : o.items), c = (h = null) => {
714
+ M.mutations.setItemSelect(r, h.model), M.actions.toggleItem(r, h.model), t("select", h);
715
+ }, a = (h = null) => {
716
+ t("over", h);
717
+ }, d = (h = null) => {
718
+ t("drop", h);
714
719
  };
715
720
  return n({
716
721
  elementSize: () => s.value.elementSize(),
717
722
  expandAll: () => {
718
- for (let u = 0; u < o.items.length; u++)
719
- o.items[u].expanded = !0;
723
+ for (let h = 0; h < o.items.length; h++)
724
+ o.items[h].expanded = !0;
720
725
  },
721
726
  collapseAll: () => {
722
- for (let u = 0; u < o.items.length; u++)
723
- o.items[u].expanded = !1;
727
+ for (let h = 0; h < o.items.length; h++)
728
+ o.items[h].expanded = !1;
724
729
  }
725
- }), (u, _) => (w(), q(ur, {
730
+ }), (h, y) => (S(), q(ur, {
726
731
  ref_key: "treeRef",
727
732
  ref: s,
728
733
  class: "tree",
@@ -730,14 +735,15 @@ const Ie = dr(), M = {
730
735
  onDrop: Fe(i, ["stop"])
731
736
  }, {
732
737
  default: ee(() => [
733
- (w(!0), Y(ut, null, Fn(l.value, (h) => (w(), q(ar, {
734
- key: h.id,
735
- model: h,
738
+ (S(!0), Y(ut, null, Fn(l.value, (w) => (S(), q(ar, {
739
+ key: w.id,
740
+ model: w,
736
741
  treeId: K(r),
737
742
  items: o.items,
738
743
  search: o.search,
739
744
  onNodeclick: c,
740
- onNodedragover: a
745
+ onNodedragover: a,
746
+ onNodedrop: d
741
747
  }, null, 8, ["model", "treeId", "items", "search"]))), 128))
742
748
  ]),
743
749
  _: 1
@@ -751,7 +757,7 @@ const fr = {
751
757
  },
752
758
  setup(e) {
753
759
  const n = e;
754
- return (t, o) => (w(), q(Go, {
760
+ return (t, o) => (S(), q(Go, {
755
761
  class: "accordion",
756
762
  items: n.items,
757
763
  "no-select": !0
@@ -792,10 +798,10 @@ const fr = {
792
798
  },
793
799
  setup(e) {
794
800
  const n = e, t = H(() => {
795
- const { fixed: o, zIndex: s, minWidth: r, height: i, paddingLeft: l, transitionDuration: c, transitionTimingFunction: a } = n, d = o ? "fixed" : "static", f = n.useMinWidthLayout ? `min-width:${r}px;` : "";
796
- return `position:${d};z-index:${s};${f}height:${i}px;padding-left:${l}px;transition-duration:${c}ms;transition-timing-function:${a};`;
801
+ const { fixed: o, zIndex: s, minWidth: r, height: i, paddingLeft: l, transitionDuration: c, transitionTimingFunction: a } = n, d = o ? "fixed" : "static", u = n.useMinWidthLayout ? `min-width:${r}px;` : "";
802
+ return `position:${d};z-index:${s};${u}height:${i}px;padding-left:${l}px;transition-duration:${c}ms;transition-timing-function:${a};`;
797
803
  });
798
- return (o, s) => (w(), Y("header", {
804
+ return (o, s) => (S(), Y("header", {
799
805
  class: "d-layout-header",
800
806
  style: me(t.value)
801
807
  }, [
@@ -841,10 +847,10 @@ const fr = {
841
847
  },
842
848
  setup(e) {
843
849
  const n = e, t = H(() => {
844
- const { fixed: o, top: s, zIndex: r, minWidth: i, height: l, paddingLeft: c, transitionDuration: a, transitionTimingFunction: d } = n, f = o ? "fixed" : "static", p = n.useMinWidthLayout ? `min-width: ${i}px;` : "";
845
- return `position:${f};top:${s}px;z-index:${r};${p}height:${l}px;padding-left:${c}px;transition-duration:${a}ms;transition-timing-function:${d};`;
850
+ const { fixed: o, top: s, zIndex: r, minWidth: i, height: l, paddingLeft: c, transitionDuration: a, transitionTimingFunction: d } = n, u = o ? "fixed" : "static", p = n.useMinWidthLayout ? `min-width: ${i}px;` : "";
851
+ return `position:${u};top:${s}px;z-index:${r};${p}height:${l}px;padding-left:${c}px;transition-duration:${a}ms;transition-timing-function:${d};`;
846
852
  });
847
- return (o, s) => (w(), Y("div", {
853
+ return (o, s) => (S(), Y("div", {
848
854
  class: "d-layout-tab",
849
855
  style: me(t.value)
850
856
  }, [
@@ -886,10 +892,10 @@ const fr = {
886
892
  },
887
893
  setup(e) {
888
894
  const n = e, t = H(() => {
889
- const { fixed: o, zIndex: s, minWidth: r, height: i, paddingLeft: l, transitionDuration: c, transitionTimingFunction: a } = n, d = o ? "fixed" : "static", f = n.useMinWidthLayout ? `min-width:${r}px;` : "";
890
- return `position:${d};z-index:${s};${f}height:${i}px;padding-left:${l}px;transition-duration:${c}ms;transition-timing-function:${a};`;
895
+ const { fixed: o, zIndex: s, minWidth: r, height: i, paddingLeft: l, transitionDuration: c, transitionTimingFunction: a } = n, d = o ? "fixed" : "static", u = n.useMinWidthLayout ? `min-width:${r}px;` : "";
896
+ return `position:${d};z-index:${s};${u}height:${i}px;padding-left:${l}px;transition-duration:${c}ms;transition-timing-function:${a};`;
891
897
  });
892
- return (o, s) => (w(), Y("footer", {
898
+ return (o, s) => (S(), Y("footer", {
893
899
  class: "d-layout-footer",
894
900
  style: me(t.value)
895
901
  }, [
@@ -929,7 +935,7 @@ const fr = {
929
935
  const { zIndex: o, width: s, paddingTop: r, transitionDuration: i, transitionTimingFunction: l } = n;
930
936
  return `z-index:${o};width:${s}px;padding-top:${r}px;transition-duration:${i}ms;transition-timing-function:${l};`;
931
937
  });
932
- return (o, s) => (w(), Y("aside", {
938
+ return (o, s) => (S(), Y("aside", {
933
939
  class: "d-layout-sidebar",
934
940
  style: me(t.value)
935
941
  }, [
@@ -966,7 +972,7 @@ const fr = {
966
972
  const { paddingTop: o, paddingBottom: s, paddingLeft: r, transitionDuration: i, transitionTimingFunction: l } = n, c = `overflow:${n.overflowHidden ? "hidden" : "visible"};`;
967
973
  return `padding-top:${o}px;padding-bottom:${s}px;padding-left:${r}px;${c}transition-duration:${i}ms;transition-timing-function:${l};`;
968
974
  });
969
- return (o, s) => (w(), Y("main", {
975
+ return (o, s) => (S(), Y("main", {
970
976
  style: me(t.value),
971
977
  class: "d-layout-content"
972
978
  }, [
@@ -982,8 +988,8 @@ function yr(e) {
982
988
  }
983
989
  function r() {
984
990
  var d;
985
- const f = ((d = document.scrollingElement) === null || d === void 0 ? void 0 : d.scrollLeft) || 0;
986
- s(f);
991
+ const u = ((d = document.scrollingElement) === null || d === void 0 ? void 0 : d.scrollLeft) || 0;
992
+ s(u);
987
993
  }
988
994
  function i() {
989
995
  r();
@@ -1100,7 +1106,7 @@ const br = 1001, _r = 999, wr = 998, zc = {
1100
1106
  transitionDuration: k,
1101
1107
  transitionTimingFunction: A
1102
1108
  };
1103
- }), a = H(() => t.mode === "vertical"), d = H(() => t.isMobile || a.value ? 1003 : 1e3), f = H({
1109
+ }), a = H(() => t.mode === "vertical"), d = H(() => t.isMobile || a.value ? 1003 : 1e3), u = H({
1104
1110
  get() {
1105
1111
  return t.sidebarCollapse;
1106
1112
  },
@@ -1111,23 +1117,23 @@ const br = 1001, _r = 999, wr = 998, zc = {
1111
1117
  function p() {
1112
1118
  n("sidebar-mask-click");
1113
1119
  }
1114
- const u = H(() => t.isMobile && !f.value), _ = H(() => {
1120
+ const f = H(() => t.isMobile && !u.value), h = H(() => {
1115
1121
  const { transitionDuration: k, transitionTimingFunction: A } = t;
1116
1122
  return `background-color:${t.maskBg};transition-duration:${k}ms;transition-timing-function:${A};`;
1117
- }), h = H(() => {
1118
- const { sidebarWidth: k, sidebarCollapsedWidth: A } = t, z = t.isMobile ? 0 : A, V = f.value ? z : k;
1123
+ }), y = H(() => {
1124
+ const { sidebarWidth: k, sidebarCollapsedWidth: A } = t, z = t.isMobile ? 0 : A, V = u.value ? z : k;
1119
1125
  return t.sidebarVisible ? V : 0;
1120
- }), S = H(() => t.isMobile ? 0 : h.value), D = H(() => a.value ? S.value : 0), m = H(
1126
+ }), w = H(() => t.isMobile ? 0 : y.value), D = H(() => a.value ? w.value : 0), m = H(
1121
1127
  () => !t.isMobile && !a.value && t.headerVisible ? t.headerHeight : 0
1122
1128
  ), v = H(() => {
1123
1129
  let k = 0;
1124
1130
  return t.fixedHeaderAndTab && (t.headerVisible && (k += t.headerHeight), t.tabVisible && (k += t.tabHeight)), k;
1125
1131
  }), x = H(() => t.fixedFooter && t.footerVisible ? t.footerHeight : 0);
1126
- return (k, A) => (w(), Y("div", {
1132
+ return (k, A) => (S(), Y("div", {
1127
1133
  class: "d-layout",
1128
1134
  style: me(o.value)
1129
1135
  }, [
1130
- e.headerVisible ? (w(), q(pr, Et({ key: 0 }, c.value, {
1136
+ e.headerVisible ? (S(), q(pr, Et({ key: 0 }, c.value, {
1131
1137
  fixed: e.fixedHeaderAndTab,
1132
1138
  "z-index": br,
1133
1139
  "min-width": e.minWidth,
@@ -1140,13 +1146,13 @@ const br = 1001, _r = 999, wr = 998, zc = {
1140
1146
  ]),
1141
1147
  _: 3
1142
1148
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : le("", !0),
1143
- e.tabVisible ? (w(), q(mr, Et({ key: 1 }, c.value, {
1149
+ e.tabVisible ? (S(), q(mr, Et({ key: 1 }, c.value, {
1144
1150
  fixed: e.fixedHeaderAndTab,
1145
1151
  "z-index": _r,
1146
1152
  "min-width": e.minWidth,
1147
1153
  top: e.headerHeight,
1148
1154
  height: e.tabHeight,
1149
- "padding-left": S.value,
1155
+ "padding-left": w.value,
1150
1156
  style: i.value
1151
1157
  }), {
1152
1158
  default: ee(() => [
@@ -1154,9 +1160,9 @@ const br = 1001, _r = 999, wr = 998, zc = {
1154
1160
  ]),
1155
1161
  _: 3
1156
1162
  }, 16, ["fixed", "min-width", "top", "height", "padding-left", "style"])) : le("", !0),
1157
- e.sidebarVisible ? (w(), q(hr, Et({ key: 2 }, c.value, {
1163
+ e.sidebarVisible ? (S(), q(hr, Et({ key: 2 }, c.value, {
1158
1164
  "z-index": d.value,
1159
- width: h.value,
1165
+ width: y.value,
1160
1166
  "padding-top": m.value
1161
1167
  }), {
1162
1168
  default: ee(() => [
@@ -1164,16 +1170,16 @@ const br = 1001, _r = 999, wr = 998, zc = {
1164
1170
  ]),
1165
1171
  _: 3
1166
1172
  }, 16, ["z-index", "width", "padding-top"])) : le("", !0),
1167
- u.value ? (w(), Y("div", {
1173
+ f.value ? (S(), Y("div", {
1168
1174
  key: 3,
1169
1175
  class: "d-layout-sidebar-mask",
1170
- style: me(_.value),
1176
+ style: me(h.value),
1171
1177
  onClick: p
1172
1178
  }, null, 4)) : le("", !0),
1173
1179
  gt(vr, Et(c.value, {
1174
1180
  "padding-top": v.value,
1175
1181
  "padding-bottom": x.value,
1176
- "padding-left": S.value,
1182
+ "padding-left": w.value,
1177
1183
  "overflow-hidden": e.addMainOverflowHidden
1178
1184
  }), {
1179
1185
  default: ee(() => [
@@ -1181,12 +1187,12 @@ const br = 1001, _r = 999, wr = 998, zc = {
1181
1187
  ]),
1182
1188
  _: 3
1183
1189
  }, 16, ["padding-top", "padding-bottom", "padding-left", "overflow-hidden"]),
1184
- e.footerVisible ? (w(), q(gr, Et({ key: 4 }, c.value, {
1190
+ e.footerVisible ? (S(), q(gr, Et({ key: 4 }, c.value, {
1185
1191
  fixed: e.fixedFooter,
1186
1192
  "z-index": wr,
1187
1193
  "min-width": e.minWidth,
1188
1194
  height: e.footerHeight,
1189
- "padding-left": S.value,
1195
+ "padding-left": w.value,
1190
1196
  style: l.value
1191
1197
  }), {
1192
1198
  default: ee(() => [
@@ -1260,9 +1266,9 @@ function ye(e, n) {
1260
1266
  const Ne = (e, n) => {
1261
1267
  const { o: t, u: o, _: s } = e;
1262
1268
  let r = t, i;
1263
- const l = (d, f) => {
1264
- const p = r, u = d, _ = f || (o ? !o(p, u) : p !== u);
1265
- return (_ || s) && (r = u, i = p), [r, _, i];
1269
+ const l = (d, u) => {
1270
+ const p = r, f = d, h = u || (o ? !o(p, f) : p !== f);
1271
+ return (h || s) && (r = f, i = p), [r, h, i];
1266
1272
  };
1267
1273
  return [n ? (d) => l(n(r, i), d) : l, (d) => [r, !!d, i]];
1268
1274
  }, zt = () => typeof window < "u", Ko = zt() && Node.ELEMENT_NODE, { toString: Sr, hasOwnProperty: yn } = Object.prototype, Je = (e) => e === void 0, rn = (e) => e === null, xr = (e) => Je(e) || rn(e) ? `${e}` : Sr.call(e).replace(/^\[object (.+)\]$/, "$1").toLowerCase(), it = (e) => typeof e == "number", ct = (e) => typeof e == "string", Un = (e) => typeof e == "boolean", ze = (e) => typeof e == "function", Oe = (e) => Array.isArray(e), Nt = (e) => typeof e == "object" && !Oe(e) && !rn(e), cn = (e) => {
@@ -1300,11 +1306,11 @@ const Ne = (e, n) => {
1300
1306
  const d = c[a];
1301
1307
  if (e === d)
1302
1308
  return !0;
1303
- const f = Oe(d);
1304
- if (d && (On(d) || f)) {
1309
+ const u = Oe(d);
1310
+ if (d && (On(d) || u)) {
1305
1311
  const p = e[a];
1306
- let u = p;
1307
- f && !Oe(p) ? u = [] : !f && !On(p) && (u = {}), e[a] = ae(u, d);
1312
+ let f = p;
1313
+ u && !Oe(p) ? f = [] : !u && !On(p) && (f = {}), e[a] = ae(f, d);
1308
1314
  } else
1309
1315
  e[a] = d;
1310
1316
  });
@@ -1423,21 +1429,21 @@ const Ne = (e, n) => {
1423
1429
  }, () => o(n)];
1424
1430
  }, Jn = (e, n) => {
1425
1431
  let t, o, s, r = $e;
1426
- const { g: i, v: l, p: c } = n || {}, a = function(_) {
1427
- r(), Nn(t), t = o = void 0, r = $e, e.apply(this, _);
1428
- }, d = (u) => c && o ? c(o, u) : u, f = () => {
1432
+ const { g: i, v: l, p: c } = n || {}, a = function(h) {
1433
+ r(), Nn(t), t = o = void 0, r = $e, e.apply(this, h);
1434
+ }, d = (f) => c && o ? c(o, f) : f, u = () => {
1429
1435
  r !== $e && a(d(s) || s);
1430
1436
  }, p = function() {
1431
- const _ = vt(arguments), h = ze(i) ? i() : i;
1432
- if (it(h) && h >= 0) {
1433
- const D = ze(l) ? l() : l, m = it(D) && D >= 0, v = h > 0 ? en : ts, x = h > 0 ? Nn : es, A = d(_) || _, z = a.bind(0, A);
1437
+ const h = vt(arguments), y = ze(i) ? i() : i;
1438
+ if (it(y) && y >= 0) {
1439
+ const D = ze(l) ? l() : l, m = it(D) && D >= 0, v = y > 0 ? en : ts, x = y > 0 ? Nn : es, A = d(h) || h, z = a.bind(0, A);
1434
1440
  r();
1435
- const V = v(z, h);
1436
- r = () => x(V), m && !t && (t = en(f, D)), o = s = A;
1441
+ const V = v(z, y);
1442
+ r = () => x(V), m && !t && (t = en(u, D)), o = s = A;
1437
1443
  } else
1438
- a(_);
1444
+ a(h);
1439
1445
  };
1440
- return p.m = f, p;
1446
+ return p.m = u, p;
1441
1447
  }, Hr = {
1442
1448
  opacity: 1,
1443
1449
  zIndex: 1
@@ -1501,11 +1507,11 @@ const Mr = () => {
1501
1507
  passive: i,
1502
1508
  capture: l
1503
1509
  } : l;
1504
- return G(rs(n), (f) => {
1505
- const p = c ? (u) => {
1506
- e.removeEventListener(f, p, l), t && t(u);
1510
+ return G(rs(n), (u) => {
1511
+ const p = c ? (f) => {
1512
+ e.removeEventListener(u, p, l), t && t(f);
1507
1513
  } : t;
1508
- re(a, Pr.bind(null, e, f, p, l)), e.addEventListener(f, p, d);
1514
+ re(a, Pr.bind(null, e, u, p, l)), e.addEventListener(u, p, d);
1509
1515
  }), Ue.bind(0, a);
1510
1516
  }, is = (e) => e.stopPropagation(), cs = (e) => e.preventDefault(), Rr = {
1511
1517
  x: 0,
@@ -1641,7 +1647,7 @@ const ko = (e, n, t, o) => {
1641
1647
  }, ko.bind(0, e, t, o, !0)), [c] = l(), a = ci(t), d = {
1642
1648
  x: c.x === 0,
1643
1649
  y: c.y === 0
1644
- }, f = {
1650
+ }, u = {
1645
1651
  elements: {
1646
1652
  host: null,
1647
1653
  padding: !a,
@@ -1655,7 +1661,7 @@ const ko = (e, n, t, o) => {
1655
1661
  nativeScrollbarsOverlaid: !1,
1656
1662
  body: null
1657
1663
  }
1658
- }, p = ae({}, Fr), u = ae.bind(0, {}, p), _ = ae.bind(0, {}, f), h = {
1664
+ }, p = ae({}, Fr), f = ae.bind(0, {}, p), h = ae.bind(0, {}, u), y = {
1659
1665
  k: c,
1660
1666
  I: d,
1661
1667
  A: a,
@@ -1665,24 +1671,24 @@ const ko = (e, n, t, o) => {
1665
1671
  Y: ai(t, o),
1666
1672
  j: s.bind(0, "z"),
1667
1673
  N: s.bind(0, "r"),
1668
- q: _,
1669
- F: (m) => ae(f, m) && _(),
1670
- G: u,
1671
- X: (m) => ae(p, m) && u(),
1672
- U: ae({}, f),
1674
+ q: h,
1675
+ F: (m) => ae(u, m) && h(),
1676
+ G: f,
1677
+ X: (m) => ae(p, m) && f(),
1678
+ U: ae({}, u),
1673
1679
  W: ae({}, p)
1674
- }, S = window.addEventListener, D = Jn((m) => r(m ? "z" : "r"), {
1680
+ }, w = window.addEventListener, D = Jn((m) => r(m ? "z" : "r"), {
1675
1681
  g: 33,
1676
1682
  v: 99
1677
1683
  });
1678
- if (we(t, "style"), je(t), S("resize", D.bind(0, !1)), !a && (!d.x || !d.y)) {
1684
+ if (we(t, "style"), je(t), w("resize", D.bind(0, !1)), !a && (!d.x || !d.y)) {
1679
1685
  let m;
1680
- S("resize", () => {
1686
+ w("resize", () => {
1681
1687
  const v = yt()[oo];
1682
- m = m || v && v.R(), m && m(h, i, D.bind(0, !0));
1688
+ m = m || v && v.R(), m && m(y, i, D.bind(0, !0));
1683
1689
  });
1684
1690
  }
1685
- return h;
1691
+ return y;
1686
1692
  }, xe = () => ($n || ($n = di()), $n), so = (e, n) => ze(n) ? n.apply(0, e) : n, ui = (e, n, t, o) => {
1687
1693
  const s = Je(o) ? t : o;
1688
1694
  return so(e, s) || n.apply(0, e);
@@ -1690,8 +1696,8 @@ const ko = (e, n, t, o) => {
1690
1696
  const s = Je(o) ? t : o, r = so(e, s);
1691
1697
  return !!r && (Lt(r) ? r : n.apply(0, e));
1692
1698
  }, fi = (e, n, t) => {
1693
- const { nativeScrollbarsOverlaid: o, body: s } = t || {}, { I: r, A: i } = xe(), { nativeScrollbarsOverlaid: l, body: c } = n, a = o ?? l, d = Je(s) ? c : s, f = (r.x || r.y) && a, p = e && (rn(d) ? !i : d);
1694
- return !!f || !!p;
1699
+ const { nativeScrollbarsOverlaid: o, body: s } = t || {}, { I: r, A: i } = xe(), { nativeScrollbarsOverlaid: l, body: c } = n, a = o ?? l, d = Je(s) ? c : s, u = (r.x || r.y) && a, p = e && (rn(d) ? !i : d);
1700
+ return !!u || !!p;
1695
1701
  }, ro = /* @__PURE__ */ new WeakMap(), pi = (e, n) => {
1696
1702
  ro.set(e, n);
1697
1703
  }, mi = (e) => {
@@ -1704,24 +1710,24 @@ const ko = (e, n, t, o) => {
1704
1710
  }, Ut = "tabindex", Yt = pt.bind(0, ""), kn = (e) => {
1705
1711
  Ce(Ze(e), Gn(e)), je(e);
1706
1712
  }, gi = (e) => {
1707
- const n = xe(), { q: t, A: o } = n, s = yt()[oo], r = s && s.T, { elements: i } = t(), { host: l, padding: c, viewport: a, content: d } = i, f = Lt(e), p = f ? {} : e, { elements: u } = p, { host: _, padding: h, viewport: S, content: D } = u || {}, m = f ? e : p.target, v = Qt(m, "textarea"), x = m.ownerDocument, k = x.documentElement, A = m === x.body, z = x.defaultView, V = ui.bind(0, [m]), W = vs.bind(0, [m]), ne = so.bind(0, [m]), y = V.bind(0, Yt, a), L = W.bind(0, Yt, d), g = y(S), b = g === m, $ = b && A, C = !b && L(D), P = !b && Lt(g) && g === C, N = P && !!ne(d), O = N ? y() : g, I = N ? C : L(), j = $ ? k : P ? O : g, J = v ? V(Yt, l, _) : m, T = $ ? j : J, E = P ? I : C, B = x.activeElement, U = !b && z.top === z && B === m, F = {
1713
+ const n = xe(), { q: t, A: o } = n, s = yt()[oo], r = s && s.T, { elements: i } = t(), { host: l, padding: c, viewport: a, content: d } = i, u = Lt(e), p = u ? {} : e, { elements: f } = p, { host: h, padding: y, viewport: w, content: D } = f || {}, m = u ? e : p.target, v = Qt(m, "textarea"), x = m.ownerDocument, k = x.documentElement, A = m === x.body, z = x.defaultView, V = ui.bind(0, [m]), W = vs.bind(0, [m]), ne = so.bind(0, [m]), b = V.bind(0, Yt, a), L = W.bind(0, Yt, d), g = b(w), _ = g === m, $ = _ && A, C = !_ && L(D), P = !_ && Lt(g) && g === C, N = P && !!ne(d), O = N ? b() : g, I = N ? C : L(), j = $ ? k : P ? O : g, J = v ? V(Yt, l, h) : m, T = $ ? j : J, E = P ? I : C, B = x.activeElement, U = !_ && z.top === z && B === m, F = {
1708
1714
  Z: m,
1709
1715
  J: T,
1710
1716
  K: j,
1711
- tt: !b && W(Yt, c, h),
1717
+ tt: !_ && W(Yt, c, y),
1712
1718
  nt: E,
1713
- ot: !b && !o && r && r(n),
1719
+ ot: !_ && !o && r && r(n),
1714
1720
  st: $ ? k : j,
1715
1721
  et: $ ? x : j,
1716
1722
  ct: z,
1717
1723
  rt: x,
1718
1724
  lt: v,
1719
1725
  it: A,
1720
- ut: f,
1721
- ft: b,
1726
+ ut: u,
1727
+ ft: _,
1722
1728
  dt: P,
1723
- _t: (fe, be) => $r(j, b ? He : tt, b ? be : fe),
1724
- ht: (fe, be, _e) => ft(j, b ? He : tt, b ? be : fe, _e)
1729
+ _t: (fe, be) => $r(j, _ ? He : tt, _ ? be : fe),
1730
+ ht: (fe, be, _e) => ft(j, _ ? He : tt, _ ? be : fe, _e)
1725
1731
  }, oe = De(F).reduce((fe, be) => {
1726
1732
  const _e = F[be];
1727
1733
  return re(fe, _e && Lt(_e) && !Ze(_e) ? _e : !1);
@@ -1731,13 +1737,13 @@ const ko = (e, n, t, o) => {
1731
1737
  let lt = v ? ce : Gn([ge, Q, se, de, ce].find((fe) => ie(fe) === !1));
1732
1738
  const bt = $ ? ce : ge || Q;
1733
1739
  return [F, () => {
1734
- ve(de, He, b ? "viewport" : "host"), ve(se, Hn, ""), ve(ge, bo, ""), b || ve(Q, tt, "");
1735
- const fe = A && !b ? Ke(Ze(m), us) : $e;
1740
+ ve(de, He, _ ? "viewport" : "host"), ve(se, Hn, ""), ve(ge, bo, ""), _ || ve(Q, tt, "");
1741
+ const fe = A && !_ ? Ke(Ze(m), us) : $e;
1736
1742
  if (Qe && (ao(ce, de), re(Te, () => {
1737
1743
  ao(de, ce), je(de);
1738
- })), Ce(bt, lt), Ce(de, se), Ce(se || de, !b && Q), Ce(Q, ge), re(Te, () => {
1744
+ })), Ce(bt, lt), Ce(de, se), Ce(se || de, !_ && Q), Ce(Q, ge), re(Te, () => {
1739
1745
  fe(), we(se, Hn), we(ge, bo), we(Q, fs), we(Q, ps), we(Q, tt), ie(ge) && kn(ge), ie(Q) && kn(Q), ie(se) && kn(se);
1740
- }), o && !b && (ft(Q, tt, ms, !0), re(Te, we.bind(0, Q, tt))), Ee && (Tr(Q, Ee), re(Te, je.bind(0, Ee))), U) {
1746
+ }), o && !_ && (ft(Q, tt, ms, !0), re(Te, we.bind(0, Q, tt))), Ee && (Tr(Q, Ee), re(Te, je.bind(0, Ee))), U) {
1741
1747
  const be = ve(Q, Ut);
1742
1748
  ve(Q, Ut, "-1"), Q.focus();
1743
1749
  const _e = () => be ? ve(Q, Ut, be) : we(Q, Ut), Le = ue(x, "pointerdown keydown", () => {
@@ -1764,28 +1770,28 @@ const ko = (e, n, t, o) => {
1764
1770
  u: Nr,
1765
1771
  o: mo()
1766
1772
  }, mo.bind(0, s, "padding", ""));
1767
- return (d, f, p) => {
1768
- let [u, _] = a(p);
1769
- const { A: h, Y: S } = xe(), { yt: D } = t(), { wt: m, bt: v, St: x } = d, [k, A] = f("paddingAbsolute");
1770
- (m || _ || !S && v) && ([u, _] = c(p));
1771
- const V = !l && (A || x || _);
1773
+ return (d, u, p) => {
1774
+ let [f, h] = a(p);
1775
+ const { A: y, Y: w } = xe(), { yt: D } = t(), { wt: m, bt: v, St: x } = d, [k, A] = u("paddingAbsolute");
1776
+ (m || h || !w && v) && ([f, h] = c(p));
1777
+ const V = !l && (A || x || h);
1772
1778
  if (V) {
1773
- const W = !k || !r && !h, ne = u.r + u.l, y = u.t + u.b, L = {
1779
+ const W = !k || !r && !y, ne = f.r + f.l, b = f.t + f.b, L = {
1774
1780
  marginRight: W && !D ? -ne : 0,
1775
- marginBottom: W ? -y : 0,
1781
+ marginBottom: W ? -b : 0,
1776
1782
  marginLeft: W && D ? -ne : 0,
1777
- top: W ? -u.t : 0,
1778
- right: W ? D ? -u.r : "auto" : 0,
1779
- left: W ? D ? "auto" : -u.l : 0,
1783
+ top: W ? -f.t : 0,
1784
+ right: W ? D ? -f.r : "auto" : 0,
1785
+ left: W ? D ? "auto" : -f.l : 0,
1780
1786
  width: W ? `calc(100% + ${ne}px)` : ""
1781
1787
  }, g = {
1782
- paddingTop: W ? u.t : 0,
1783
- paddingRight: W ? u.r : 0,
1784
- paddingBottom: W ? u.b : 0,
1785
- paddingLeft: W ? u.l : 0
1788
+ paddingTop: W ? f.t : 0,
1789
+ paddingRight: W ? f.r : 0,
1790
+ paddingBottom: W ? f.b : 0,
1791
+ paddingLeft: W ? f.l : 0
1786
1792
  };
1787
1793
  ye(r || i, L), ye(i, g), o({
1788
- tt: u,
1794
+ tt: f,
1789
1795
  $t: !W,
1790
1796
  P: r ? g : ae({}, L, g)
1791
1797
  });
@@ -1816,20 +1822,20 @@ const ko = (e, n, t, o) => {
1816
1822
  h: o.h > t ? o.h : 0
1817
1823
  };
1818
1824
  }, Xt = (e) => e.indexOf(_s) === 0, wi = (e, n) => {
1819
- const [t, o] = n, { J: s, tt: r, K: i, ot: l, ft: c, ht: a, it: d, ct: f } = e, { k: p, Y: u, A: _, I: h } = xe(), S = yt()[oo], D = !c && !_ && (h.x || h.y), m = d && c, [v, x] = Ne(qt, nn.bind(0, i)), [k, A] = Ne(qt, tn.bind(0, i)), [z, V] = Ne(qt), [W, ne] = Ne(qt), [y] = Ne(bi), L = (N, O) => {
1825
+ const [t, o] = n, { J: s, tt: r, K: i, ot: l, ft: c, ht: a, it: d, ct: u } = e, { k: p, Y: f, A: h, I: y } = xe(), w = yt()[oo], D = !c && !h && (y.x || y.y), m = d && c, [v, x] = Ne(qt, nn.bind(0, i)), [k, A] = Ne(qt, tn.bind(0, i)), [z, V] = Ne(qt), [W, ne] = Ne(qt), [b] = Ne(bi), L = (N, O) => {
1820
1826
  if (ye(i, {
1821
1827
  height: ""
1822
1828
  }), O) {
1823
- const { $t: I, tt: R } = t(), { Ct: j, M: J } = N, T = nn(s), E = Kt(s), B = ye(i, "boxSizing") === "content-box", U = I || B ? R.b + R.t : 0, F = !(h.x && B);
1829
+ const { $t: I, tt: R } = t(), { Ct: j, M: J } = N, T = nn(s), E = Kt(s), B = ye(i, "boxSizing") === "content-box", U = I || B ? R.b + R.t : 0, F = !(y.x && B);
1824
1830
  ye(i, {
1825
1831
  height: E.h + T.h + (j.x && F ? J.x : 0) - U
1826
1832
  });
1827
1833
  }
1828
1834
  }, g = (N, O) => {
1829
- const I = !_ && !N ? yi : 0, R = (ie, ce, de) => {
1835
+ const I = !h && !N ? yi : 0, R = (ie, ce, de) => {
1830
1836
  const se = ye(i, ie), ge = (O ? O[ie] : se) === "scroll";
1831
- return [se, ge, ge && !_ ? ce ? I : de : 0, ce && !!I];
1832
- }, [j, J, T, E] = R("overflowX", h.x, p.x), [B, U, F, oe] = R("overflowY", h.y, p.y);
1837
+ return [se, ge, ge && !h ? ce ? I : de : 0, ce && !!I];
1838
+ }, [j, J, T, E] = R("overflowX", y.x, p.x), [B, U, F, oe] = R("overflowY", y.y, p.y);
1833
1839
  return {
1834
1840
  Ot: {
1835
1841
  x: j,
@@ -1848,7 +1854,7 @@ const ko = (e, n, t, o) => {
1848
1854
  y: oe
1849
1855
  }
1850
1856
  };
1851
- }, b = (N, O, I, R) => {
1857
+ }, _ = (N, O, I, R) => {
1852
1858
  const j = (U, F) => {
1853
1859
  const oe = Xt(U), ie = F && oe && U.replace(`${_s}-`, "") || "";
1854
1860
  return [F && !oe ? U : "", Xt(ie) ? "hidden" : ie];
@@ -1857,11 +1863,11 @@ const ko = (e, n, t, o) => {
1857
1863
  }, $ = (N, O, I, R) => {
1858
1864
  const { M: j, D: J } = N, { x: T, y: E } = J, { x: B, y: U } = j, { P: F } = t(), oe = O ? "marginLeft" : "marginRight", ie = O ? "paddingLeft" : "paddingRight", ce = F[oe], de = F.marginBottom, se = F[ie], Q = F.paddingBottom;
1859
1865
  R.width = `calc(100% + ${U + -1 * ce}px)`, R[oe] = -U + ce, R.marginBottom = -B + de, I && (R[ie] = se + (E ? U : 0), R.paddingBottom = Q + (T ? B : 0));
1860
- }, [C, P] = S ? S.L(D, u, i, l, t, g, $) : [() => D, () => [$e]];
1866
+ }, [C, P] = w ? w.L(D, f, i, l, t, g, $) : [() => D, () => [$e]];
1861
1867
  return (N, O, I) => {
1862
- const { wt: R, Tt: j, bt: J, xt: T, vt: E, St: B } = N, { gt: U, yt: F } = t(), [oe, ie] = O("showNativeOverlaidScrollbars"), [ce, de] = O("overflow"), se = oe && h.x && h.y, Q = !c && !u && (R || J || j || ie || E), ge = Xt(ce.x), Ee = Xt(ce.y), Te = ge || Ee;
1868
+ const { wt: R, Tt: j, bt: J, xt: T, vt: E, St: B } = N, { gt: U, yt: F } = t(), [oe, ie] = O("showNativeOverlaidScrollbars"), [ce, de] = O("overflow"), se = oe && y.x && y.y, Q = !c && !f && (R || J || j || ie || E), ge = Xt(ce.x), Ee = Xt(ce.y), Te = ge || Ee;
1863
1869
  let Qe = x(I), lt = A(I), bt = V(I), _t = ne(I), fe;
1864
- if (ie && _ && a(ms, Wr, !se), Q && (fe = g(se), L(fe, U)), R || T || J || B || ie) {
1870
+ if (ie && h && a(ms, Wr, !se), Q && (fe = g(se), L(fe, U)), R || T || J || B || ie) {
1865
1871
  Te && a(Dt, kt, !1);
1866
1872
  const [Ye, et] = P(se, F, fe), [Pe, Vt] = Qe = v(I), [Re, Ot] = lt = k(I), at = Kt(i);
1867
1873
  let hn = Re, vn = at;
@@ -1870,8 +1876,8 @@ const ko = (e, n, t, o) => {
1870
1876
  w: nt(Mn(Re.w, hn.w) + Pe.w),
1871
1877
  h: nt(Mn(Re.h, hn.h) + Pe.h)
1872
1878
  }, io = {
1873
- w: nt((m ? f.innerWidth : vn.w + nt(at.w - Re.w)) + Pe.w),
1874
- h: nt((m ? f.innerHeight + Pe.h : vn.h + nt(at.h - Re.h)) + Pe.h)
1879
+ w: nt((m ? u.innerWidth : vn.w + nt(at.w - Re.w)) + Pe.w),
1880
+ h: nt((m ? u.innerHeight + Pe.h : vn.h + nt(at.h - Re.h)) + Pe.h)
1875
1881
  };
1876
1882
  _t = W(io), bt = z(_i(Is, io), I);
1877
1883
  }
@@ -1887,11 +1893,11 @@ const ko = (e, n, t, o) => {
1887
1893
  width: "",
1888
1894
  overflowY: "",
1889
1895
  overflowX: ""
1890
- }, et = b(se, Me, ce, Ye), Pe = C(et, un, pn, F);
1896
+ }, et = _(se, Me, ce, Ye), Pe = C(et, un, pn, F);
1891
1897
  c || $(et, F, Pe, Ye), Q && L(et, U), c ? (ve(s, fs, Ye.overflowX), ve(s, ps, Ye.overflowY)) : ye(i, Ye);
1892
1898
  }
1893
1899
  ft(s, He, kt, Rt), ft(r, Hn, jr, Rt), c || ft(i, tt, Dt, Te);
1894
- const [gn, Ft] = y(g(se).Ot);
1900
+ const [gn, Ft] = b(g(se).Ot);
1895
1901
  return o({
1896
1902
  Ot: gn,
1897
1903
  zt: {
@@ -1917,8 +1923,8 @@ const ko = (e, n, t, o) => {
1917
1923
  }), o;
1918
1924
  }, Si = (e, n) => {
1919
1925
  const { Z: t, K: o, ht: s, ft: r } = e, { A: i, I: l, Y: c } = xe(), a = !i && (l.x || l.y), d = [hi(e, n), vi(e, n), wi(e, n)];
1920
- return (f, p, u) => {
1921
- const _ = Co(ae({
1926
+ return (u, p, f) => {
1927
+ const h = Co(ae({
1922
1928
  wt: !1,
1923
1929
  xt: !1,
1924
1930
  St: !1,
@@ -1929,12 +1935,12 @@ const ko = (e, n, t, o) => {
1929
1935
  Tt: !1,
1930
1936
  bt: !1,
1931
1937
  Pt: !1
1932
- }, p), {}, u), h = a || !c, S = h && Ae(o), D = h && Ge(o);
1938
+ }, p), {}, f), y = a || !c, w = y && Ae(o), D = y && Ge(o);
1933
1939
  s("", on, !0);
1934
- let m = _;
1940
+ let m = h;
1935
1941
  return G(d, (v) => {
1936
- m = Co(m, v(m, f, !!u) || {}, u);
1937
- }), Ae(o, S), Ge(o, D), s("", on), r || (Ae(t, 0), Ge(t, 0)), m;
1942
+ m = Co(m, v(m, u, !!f) || {}, f);
1943
+ }), Ae(o, w), Ge(o, D), s("", on), r || (Ae(t, 0), Ge(t, 0)), m;
1938
1944
  };
1939
1945
  }, xi = (e, n, t) => {
1940
1946
  let o, s = !1;
@@ -1944,18 +1950,18 @@ const ko = (e, n, t, o) => {
1944
1950
  if (t) {
1945
1951
  const c = t.reduce((a, d) => {
1946
1952
  if (d) {
1947
- const [f, p] = d, u = p && f && (l ? l(f) : Jo(f, e));
1948
- u && u.length && p && ct(p) && re(a, [u, p.trim()], !0);
1953
+ const [u, p] = d, f = p && u && (l ? l(u) : Jo(u, e));
1954
+ f && f.length && p && ct(p) && re(a, [f, p.trim()], !0);
1949
1955
  }
1950
1956
  return a;
1951
1957
  }, []);
1952
1958
  G(c, (a) => G(a[0], (d) => {
1953
- const f = a[1], p = o.get(d) || [];
1959
+ const u = a[1], p = o.get(d) || [];
1954
1960
  if (e.contains(d)) {
1955
- const _ = ue(d, f, (h) => {
1956
- s ? (_(), o.delete(d)) : n(h);
1961
+ const h = ue(d, u, (y) => {
1962
+ s ? (h(), o.delete(d)) : n(y);
1957
1963
  });
1958
- o.set(d, re(p, _));
1964
+ o.set(d, re(p, h));
1959
1965
  } else
1960
1966
  Ue(p), o.delete(d);
1961
1967
  }));
@@ -1964,32 +1970,32 @@ const ko = (e, n, t, o) => {
1964
1970
  return t && (o = /* @__PURE__ */ new WeakMap(), i()), [r, i];
1965
1971
  }, Io = (e, n, t, o) => {
1966
1972
  let s = !1;
1967
- const { Mt: r, Dt: i, Rt: l, kt: c, Bt: a, Vt: d } = o || {}, f = Jn(() => {
1973
+ const { Mt: r, Dt: i, Rt: l, kt: c, Bt: a, Vt: d } = o || {}, u = Jn(() => {
1968
1974
  s && t(!0);
1969
1975
  }, {
1970
1976
  g: 33,
1971
1977
  v: 99
1972
- }), [p, u] = xi(e, f, l), _ = r || [], h = i || [], S = _.concat(h), D = (v, x) => {
1978
+ }), [p, f] = xi(e, u, l), h = r || [], y = i || [], w = h.concat(y), D = (v, x) => {
1973
1979
  const k = a || $e, A = d || $e, z = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Set();
1974
1980
  let W = !1, ne = !1;
1975
- if (G(v, (y) => {
1976
- const { attributeName: L, target: g, type: b, oldValue: $, addedNodes: C, removedNodes: P } = y, N = b === "attributes", O = b === "childList", I = e === g, R = N && ct(L) ? ve(g, L) : 0, j = R !== 0 && $ !== R, J = Yn(h, L) > -1 && j;
1981
+ if (G(v, (b) => {
1982
+ const { attributeName: L, target: g, type: _, oldValue: $, addedNodes: C, removedNodes: P } = b, N = _ === "attributes", O = _ === "childList", I = e === g, R = N && ct(L) ? ve(g, L) : 0, j = R !== 0 && $ !== R, J = Yn(y, L) > -1 && j;
1977
1983
  if (n && (O || !I)) {
1978
- const T = !N, E = N && j, B = E && c && Qt(g, c), F = (B ? !k(g, L, $, R) : T || E) && !A(y, !!B, e, o);
1984
+ const T = !N, E = N && j, B = E && c && Qt(g, c), F = (B ? !k(g, L, $, R) : T || E) && !A(b, !!B, e, o);
1979
1985
  G(C, (oe) => z.add(oe)), G(P, (oe) => z.add(oe)), ne = ne || F;
1980
1986
  }
1981
1987
  !n && I && j && !k(g, L, $, R) && (V.add(L), W = W || J);
1982
- }), z.size > 0 && u((y) => vt(z).reduce((L, g) => (re(L, Jo(y, g)), Qt(g, y) ? re(L, g) : L), [])), n)
1988
+ }), z.size > 0 && f((b) => vt(z).reduce((L, g) => (re(L, Jo(b, g)), Qt(g, b) ? re(L, g) : L), [])), n)
1983
1989
  return !x && ne && t(!1), [!1];
1984
1990
  if (V.size > 0 || W) {
1985
- const y = [vt(V), W];
1986
- return !x && t.apply(0, y), y;
1991
+ const b = [vt(V), W];
1992
+ return !x && t.apply(0, b), b;
1987
1993
  }
1988
1994
  }, m = new Lr((v) => D(v));
1989
1995
  return m.observe(e, {
1990
1996
  attributes: !0,
1991
1997
  attributeOldValue: !0,
1992
- attributeFilter: S,
1998
+ attributeFilter: w,
1993
1999
  subtree: n,
1994
2000
  childList: n,
1995
2001
  characterData: n
@@ -1997,57 +2003,57 @@ const ko = (e, n, t, o) => {
1997
2003
  s && (p(), m.disconnect(), s = !1);
1998
2004
  }, () => {
1999
2005
  if (s) {
2000
- f.m();
2006
+ u.m();
2001
2007
  const v = m.takeRecords();
2002
2008
  return !qn(v) && D(v, !0);
2003
2009
  }
2004
2010
  }];
2005
2011
  }, Gt = 3333333, ws = (e, n, t) => {
2006
- const { Yt: o = !1, Pt: s = !1 } = t || {}, r = yt()[ri], { V: i } = xe(), c = Qo(`<div class="${to}"><div class="${Yr}"></div></div>`)[0], a = c.firstChild, d = Ht.bind(0, e), [f] = Ne({
2012
+ const { Yt: o = !1, Pt: s = !1 } = t || {}, r = yt()[ri], { V: i } = xe(), c = Qo(`<div class="${to}"><div class="${Yr}"></div></div>`)[0], a = c.firstChild, d = Ht.bind(0, e), [u] = Ne({
2007
2013
  o: void 0,
2008
2014
  _: !0,
2009
- u: (h, S) => !(!h || !$t(h) && $t(S))
2010
- }), p = (h) => {
2011
- const S = Oe(h) && h.length > 0 && Nt(h[0]), D = !S && Un(h[0]);
2015
+ u: (y, w) => !(!y || !$t(y) && $t(w))
2016
+ }), p = (y) => {
2017
+ const w = Oe(y) && y.length > 0 && Nt(y[0]), D = !w && Un(y[0]);
2012
2018
  let m = !1, v = !1, x = !0;
2013
- if (S) {
2014
- const [k, , A] = f(h.pop().contentRect), z = $t(k), V = $t(A);
2019
+ if (w) {
2020
+ const [k, , A] = u(y.pop().contentRect), z = $t(k), V = $t(A);
2015
2021
  m = !A && !!V || !z, v = !V && z, x = !m;
2016
2022
  } else
2017
- D ? [, x] = h : v = h === !0;
2023
+ D ? [, x] = y : v = y === !0;
2018
2024
  if (o && x) {
2019
- const k = D ? h[0] : Ht(c);
2025
+ const k = D ? y[0] : Ht(c);
2020
2026
  Ae(c, k ? i.n ? -Gt : i.i ? 0 : Gt : Gt), Ge(c, Gt);
2021
2027
  }
2022
2028
  m || n({
2023
2029
  wt: !D,
2024
- jt: D ? h : void 0,
2030
+ jt: D ? y : void 0,
2025
2031
  Pt: !!v
2026
2032
  });
2027
- }, u = [];
2028
- let _ = s ? p : !1;
2033
+ }, f = [];
2034
+ let h = s ? p : !1;
2029
2035
  return [() => {
2030
- Ue(u), je(c);
2036
+ Ue(f), je(c);
2031
2037
  }, () => {
2032
2038
  if (xt) {
2033
- const h = new xt(p);
2034
- h.observe(a), re(u, () => {
2035
- h.disconnect();
2039
+ const y = new xt(p);
2040
+ y.observe(a), re(f, () => {
2041
+ y.disconnect();
2036
2042
  });
2037
2043
  } else if (r) {
2038
- const [h, S] = r.O(a, p, s);
2039
- _ = h, re(u, S);
2044
+ const [y, w] = r.O(a, p, s);
2045
+ h = y, re(f, w);
2040
2046
  }
2041
2047
  if (o) {
2042
- const [h] = Ne({
2048
+ const [y] = Ne({
2043
2049
  o: void 0
2044
2050
  }, d);
2045
- re(u, ue(c, "scroll", (S) => {
2046
- const D = h(), [m, v, x] = D;
2047
- v && (Zn(a, "ltr rtl"), m ? Ke(a, "rtl") : Ke(a, "ltr"), p([!!m, v, x])), is(S);
2051
+ re(f, ue(c, "scroll", (w) => {
2052
+ const D = y(), [m, v, x] = D;
2053
+ v && (Zn(a, "ltr rtl"), m ? Ke(a, "rtl") : Ke(a, "ltr"), p([!!m, v, x])), is(w);
2048
2054
  }));
2049
2055
  }
2050
- _ && (Ke(c, Ur), re(u, ue(c, "animationstart", _, {
2056
+ h && (Ke(c, Ur), re(f, ue(c, "animationstart", h, {
2051
2057
  C: !!xt
2052
2058
  }))), (xt || r) && Ce(e, c);
2053
2059
  }];
@@ -2057,8 +2063,8 @@ const ko = (e, n, t, o) => {
2057
2063
  o: !1
2058
2064
  }), i = (c, a) => {
2059
2065
  if (c) {
2060
- const d = r($i(c)), [, f] = d;
2061
- if (f)
2066
+ const d = r($i(c)), [, u] = d;
2067
+ if (u)
2062
2068
  return !a && n(d), [d];
2063
2069
  }
2064
2070
  }, l = (c, a) => {
@@ -2076,8 +2082,8 @@ const ko = (e, n, t, o) => {
2076
2082
  });
2077
2083
  else {
2078
2084
  const c = () => {
2079
- const f = At(o);
2080
- i(f);
2085
+ const u = At(o);
2086
+ i(u);
2081
2087
  }, [a, d] = ws(o, c);
2082
2088
  re(s, a), d(), c();
2083
2089
  }
@@ -2088,21 +2094,21 @@ const ko = (e, n, t, o) => {
2088
2094
  }];
2089
2095
  }, Oo = `[${He}]`, Di = `[${tt}]`, Dn = ["tabindex"], Eo = ["wrap", "cols", "rows"], Tn = ["id", "class", "style", "open"], Ti = (e, n, t) => {
2090
2096
  let o, s, r;
2091
- const { J: i, K: l, nt: c, lt: a, ft: d, _t: f, ht: p } = e, { Y: u } = xe(), [_] = Ne({
2097
+ const { J: i, K: l, nt: c, lt: a, ft: d, _t: u, ht: p } = e, { Y: f } = xe(), [h] = Ne({
2092
2098
  u: os,
2093
2099
  o: {
2094
2100
  w: 0,
2095
2101
  h: 0
2096
2102
  }
2097
2103
  }, () => {
2098
- const $ = f(Dt, kt), C = f(xn, ""), P = C && Ae(l), N = C && Ge(l);
2104
+ const $ = u(Dt, kt), C = u(xn, ""), P = C && Ae(l), N = C && Ge(l);
2099
2105
  p(Dt, kt), p(xn, ""), p("", on, !0);
2100
2106
  const O = tn(c), I = tn(l), R = nn(l);
2101
2107
  return p(Dt, kt, $), p(xn, "", C), p("", on), Ae(l, P), Ge(l, N), {
2102
2108
  w: I.w + O.w + R.w,
2103
2109
  h: I.h + O.h + R.h
2104
2110
  };
2105
- }), h = a ? Eo : Tn.concat(Eo), S = Jn(t, {
2111
+ }), y = a ? Eo : Tn.concat(Eo), w = Jn(t, {
2106
2112
  g: () => o,
2107
2113
  v: () => s,
2108
2114
  p($, C) {
@@ -2124,7 +2130,7 @@ const ko = (e, n, t, o) => {
2124
2130
  gt: P
2125
2131
  }), !C && t(O), O;
2126
2132
  }, v = ({ wt: $, jt: C, Pt: P }) => {
2127
- const N = !$ || P ? t : S;
2133
+ const N = !$ || P ? t : w;
2128
2134
  let O = !1;
2129
2135
  if (C) {
2130
2136
  const [I, R] = C;
@@ -2138,24 +2144,24 @@ const ko = (e, n, t, o) => {
2138
2144
  St: O
2139
2145
  });
2140
2146
  }, x = ($, C) => {
2141
- const [, P] = _(), N = {
2147
+ const [, P] = h(), N = {
2142
2148
  bt: P
2143
2149
  };
2144
- return P && !C && ($ ? t : S)(N), N;
2150
+ return P && !C && ($ ? t : w)(N), N;
2145
2151
  }, k = ($, C, P) => {
2146
2152
  const N = {
2147
2153
  Tt: C
2148
2154
  };
2149
- return C ? !P && S(N) : d || D($), N;
2150
- }, [A, z, V] = c || !u ? ki(i, m) : [$e, $e, $e], [W, ne] = d ? [$e, $e] : ws(i, v, {
2155
+ return C ? !P && w(N) : d || D($), N;
2156
+ }, [A, z, V] = c || !f ? ki(i, m) : [$e, $e, $e], [W, ne] = d ? [$e, $e] : ws(i, v, {
2151
2157
  Pt: !0,
2152
2158
  Yt: !0
2153
- }), [y, L] = Io(i, !1, k, {
2159
+ }), [b, L] = Io(i, !1, k, {
2154
2160
  Dt: Tn,
2155
2161
  Mt: Tn.concat(Dn)
2156
2162
  });
2157
2163
  let g;
2158
- const b = d && xt && new xt(($) => {
2164
+ const _ = d && xt && new xt(($) => {
2159
2165
  const C = $[$.length - 1].contentRect, P = $t(C), O = !$t(g) && P;
2160
2166
  v({
2161
2167
  wt: !0,
@@ -2163,16 +2169,16 @@ const ko = (e, n, t, o) => {
2163
2169
  }), g = C;
2164
2170
  });
2165
2171
  return [() => {
2166
- A(), W(), r && r[0](), b && b.disconnect(), y();
2172
+ A(), W(), r && r[0](), _ && _.disconnect(), b();
2167
2173
  }, () => {
2168
- b && b.observe(i), D(), ne(), z();
2174
+ _ && _.observe(i), D(), ne(), z();
2169
2175
  }, () => {
2170
2176
  const $ = {}, C = L(), P = V(), N = r && r[1]();
2171
2177
  return C && ae($, k.apply(0, re(C, !0))), P && ae($, m.apply(0, re(P, !0))), N && ae($, x.apply(0, re(N, !0))), $;
2172
2178
  }, ($) => {
2173
2179
  const [C] = $("update.ignoreMutation"), [P, N] = $("update.attributes"), [O, I] = $("update.elementEvents"), [R, j] = $("update.debounce"), J = I || N, T = (E) => ze(C) && C(E);
2174
2180
  if (J && (r && (r[1](), r[0]()), r = Io(c || l, !0, x, {
2175
- Mt: h.concat(P || []),
2181
+ Mt: y.concat(P || []),
2176
2182
  Rt: O,
2177
2183
  kt: Oo,
2178
2184
  Vt: (E, B) => {
@@ -2180,7 +2186,7 @@ const ko = (e, n, t, o) => {
2180
2186
  return (!B && F && !d ? Dr(U, Oo, Di) : !1) || !!St(U, `.${Se}`) || !!T(E);
2181
2187
  }
2182
2188
  })), j)
2183
- if (S.m(), Oe(R)) {
2189
+ if (w.m(), Oe(R)) {
2184
2190
  const E = R[0], B = R[1];
2185
2191
  o = it(E) && E, s = it(B) && B;
2186
2192
  } else
@@ -2219,18 +2225,18 @@ const ko = (e, n, t, o) => {
2219
2225
  gt: !1,
2220
2226
  yt: Ht(e.J)
2221
2227
  }), Ii = (e, n) => {
2222
- const t = zn(n, {}), [o, s, r] = eo(), [i, l, c] = gi(e), a = bs(Ci(i)), [d, f] = a, p = Si(i, a), u = (v, x, k) => {
2228
+ const t = zn(n, {}), [o, s, r] = eo(), [i, l, c] = gi(e), a = bs(Ci(i)), [d, u] = a, p = Si(i, a), f = (v, x, k) => {
2223
2229
  const z = De(v).some((V) => !!v[V]) || !Xn(x) || k;
2224
2230
  return z && r("u", [v, x, k]), z;
2225
- }, [_, h, S, D] = Ti(i, f, (v) => u(p(t, v), {}, !1)), m = d.bind(0);
2231
+ }, [h, y, w, D] = Ti(i, u, (v) => f(p(t, v), {}, !1)), m = d.bind(0);
2226
2232
  return m.Nt = (v) => o("u", v), m.qt = () => {
2227
2233
  const { Z: v, K: x, rt: k, it: A } = i, z = A ? k.documentElement : v, V = Ae(z), W = Ge(z);
2228
- h(), l(), Ae(x, V), Ge(x, W);
2234
+ y(), l(), Ae(x, V), Ge(x, W);
2229
2235
  }, m.Ft = i, [(v, x) => {
2230
2236
  const k = zn(n, v, x);
2231
- return D(k), u(p(k, S(), x), v, !!x);
2237
+ return D(k), f(p(k, w(), x), v, !!x);
2232
2238
  }, m, () => {
2233
- s(), _(), c();
2239
+ s(), h(), c();
2234
2240
  }];
2235
2241
  }, { round: Bo } = Math, Oi = (e) => {
2236
2242
  const { width: n, height: t } = We(e), { w: o, h: s } = At(e);
@@ -2250,14 +2256,14 @@ const ko = (e, n, t, o) => {
2250
2256
  }), {
2251
2257
  $: !0
2252
2258
  }), Ni = (e, n, t, o, s, r, i) => {
2253
- const { V: l } = xe(), { Gt: c, Xt: a, Ut: d } = o, f = `scroll${i ? "Left" : "Top"}`, p = `client${i ? "X" : "Y"}`, u = i ? "width" : "height", _ = i ? "left" : "top", h = i ? "w" : "h", S = i ? "x" : "y", D = (m, v) => (x) => {
2254
- const { Et: k } = r(), A = At(a)[h] - At(c)[h], V = v * x / A * k[S], ne = Ht(d) && i ? l.n || l.i ? 1 : -1 : 1;
2255
- s[f] = m + V * ne;
2259
+ const { V: l } = xe(), { Gt: c, Xt: a, Ut: d } = o, u = `scroll${i ? "Left" : "Top"}`, p = `client${i ? "X" : "Y"}`, f = i ? "width" : "height", h = i ? "left" : "top", y = i ? "w" : "h", w = i ? "x" : "y", D = (m, v) => (x) => {
2260
+ const { Et: k } = r(), A = At(a)[y] - At(c)[y], V = v * x / A * k[w], ne = Ht(d) && i ? l.n || l.i ? 1 : -1 : 1;
2261
+ s[u] = m + V * ne;
2256
2262
  };
2257
2263
  return ue(a, "pointerdown", (m) => {
2258
2264
  const v = St(m.target, `.${no}`) === c, x = v ? c : a;
2259
2265
  if (ft(n, He, yo, !0), Ei(m, e, v)) {
2260
- const k = !v && m.shiftKey, A = () => We(c), z = () => We(a), V = (O, I) => (O || A())[_] - (I || z())[_], W = D(s[f] || 0, 1 / Oi(s)[S]), ne = m[p], y = A(), L = z(), g = y[u], b = V(y, L) + g / 2, $ = ne - L[_], C = v ? 0 : $ - b, P = (O) => {
2266
+ const k = !v && m.shiftKey, A = () => We(c), z = () => We(a), V = (O, I) => (O || A())[h] - (I || z())[h], W = D(s[u] || 0, 1 / Oi(s)[w]), ne = m[p], b = A(), L = z(), g = b[f], _ = V(b, L) + g / 2, $ = ne - L[h], C = v ? 0 : $ - _, P = (O) => {
2261
2267
  Ue(N), x.releasePointerCapture(O.pointerId);
2262
2268
  }, N = [ft.bind(0, n, He, yo), ue(t, No, P), ue(t, "selectstart", (O) => cs(O), {
2263
2269
  S: !1
@@ -2284,35 +2290,35 @@ const ko = (e, n, t, o) => {
2284
2290
  o.cancel();
2285
2291
  };
2286
2292
  }, Ai = (e, n) => (t, o, s, r, i, l, c) => {
2287
- const { Ut: a } = t, [d, f] = dt(333), p = !!i.scrollBy;
2288
- let u = !0;
2293
+ const { Ut: a } = t, [d, u] = dt(333), p = !!i.scrollBy;
2294
+ let f = !0;
2289
2295
  return Ue.bind(0, [ue(a, "pointerenter", () => {
2290
2296
  o(wo, !0);
2291
2297
  }), ue(a, "pointerleave pointercancel", () => {
2292
2298
  o(wo);
2293
- }), ue(a, "wheel", (_) => {
2294
- const { deltaX: h, deltaY: S, deltaMode: D } = _;
2295
- p && u && D === 0 && Ze(a) === r && i.scrollBy({
2296
- left: h,
2297
- top: S,
2299
+ }), ue(a, "wheel", (h) => {
2300
+ const { deltaX: y, deltaY: w, deltaMode: D } = h;
2301
+ p && f && D === 0 && Ze(a) === r && i.scrollBy({
2302
+ left: y,
2303
+ top: w,
2298
2304
  behavior: "smooth"
2299
- }), u = !1, o($o, !0), d(() => {
2300
- u = !0, o($o);
2301
- }), cs(_);
2305
+ }), f = !1, o($o, !0), d(() => {
2306
+ f = !0, o($o);
2307
+ }), cs(h);
2302
2308
  }, {
2303
2309
  S: !1,
2304
2310
  $: !0
2305
- }), Bi(a, s), Ni(e, r, s, t, i, n, c), Hi(t, l, c), f]);
2311
+ }), Bi(a, s), Ni(e, r, s, t, i, n, c), Hi(t, l, c), u]);
2306
2312
  }, { min: Pn, max: Ho, abs: zi, round: Mi } = Math, Ss = (e, n, t, o) => {
2307
2313
  if (o) {
2308
- const l = t ? "x" : "y", { Et: c, zt: a } = o, d = a[l], f = c[l];
2309
- return Ho(0, Pn(1, d / (d + f)));
2314
+ const l = t ? "x" : "y", { Et: c, zt: a } = o, d = a[l], u = c[l];
2315
+ return Ho(0, Pn(1, d / (d + u)));
2310
2316
  }
2311
2317
  const s = t ? "width" : "height", r = We(e)[s], i = We(n)[s];
2312
2318
  return Ho(0, Pn(1, r / i));
2313
2319
  }, Pi = (e, n, t, o, s, r) => {
2314
- const { V: i } = xe(), l = r ? "x" : "y", c = r ? "Left" : "Top", { Et: a } = o, d = Mi(a[l]), f = zi(t[`scroll${c}`]), p = r && s, u = i.i ? f : d - f, h = Pn(1, (p ? u : f) / d), S = Ss(e, n, r);
2315
- return 1 / S * (1 - S) * h;
2320
+ const { V: i } = xe(), l = r ? "x" : "y", c = r ? "Left" : "Top", { Et: a } = o, d = Mi(a[l]), u = zi(t[`scroll${c}`]), p = r && s, f = i.i ? u : d - u, y = Pn(1, (p ? f : u) / d), w = Ss(e, n, r);
2321
+ return 1 / w * (1 - w) * y;
2316
2322
  }, Ri = (e) => `${Math.max(0, e - 0.5)}px`, Ao = (e, n, t, o) => e.animate({
2317
2323
  transform: [Tt("0px", o), Tt(Ri(t), o)]
2318
2324
  }, {
@@ -2322,7 +2328,7 @@ const ko = (e, n, t, o) => {
2322
2328
  source: e,
2323
2329
  axis: n
2324
2330
  }) : null, Fi = (e, n, t) => {
2325
- const { q: o, H: s } = xe(), { scrollbars: r } = o(), { slot: i } = r, { rt: l, Z: c, J: a, K: d, ut: f, st: p, it: u, ft: _ } = n, { scrollbars: h } = f ? {} : e, { slot: S } = h || {}, D = /* @__PURE__ */ new Map(), m = zo(p, "x"), v = zo(p, "y"), x = vs([c, a, d], () => _ && u ? c : a, i, S), k = (T) => _ && !u && Ze(T) === d, A = () => {
2331
+ const { q: o, H: s } = xe(), { scrollbars: r } = o(), { slot: i } = r, { rt: l, Z: c, J: a, K: d, ut: u, st: p, it: f, ft: h } = n, { scrollbars: y } = u ? {} : e, { slot: w } = y || {}, D = /* @__PURE__ */ new Map(), m = zo(p, "x"), v = zo(p, "y"), x = vs([c, a, d], () => h && f ? c : a, i, w), k = (T) => h && !f && Ze(T) === d, A = () => {
2326
2332
  D.forEach((T) => {
2327
2333
  (T || []).forEach((E) => {
2328
2334
  E.cancel();
@@ -2352,26 +2358,26 @@ const ko = (e, n, t, o) => {
2352
2358
  transform: ce === ce ? Tt(`${(100 * ce).toFixed(3)}%`, B) : ""
2353
2359
  }];
2354
2360
  });
2355
- }, y = (T) => {
2361
+ }, b = (T) => {
2356
2362
  const { Ut: E } = T, B = k(E) && E;
2357
2363
  return [B, {
2358
2364
  transform: B ? Tt([`${Ae(p)}px`, `${Ge(p)}px`]) : ""
2359
2365
  }];
2360
- }, L = [], g = [], b = [], $ = (T, E, B) => {
2366
+ }, L = [], g = [], _ = [], $ = (T, E, B) => {
2361
2367
  const U = Un(B), F = U ? B : !0, oe = U ? !B : !0;
2362
- F && z(g, T, E), oe && z(b, T, E);
2368
+ F && z(g, T, E), oe && z(_, T, E);
2363
2369
  }, C = (T) => {
2364
- W(g, T, !0), W(b, T);
2370
+ W(g, T, !0), W(_, T);
2365
2371
  }, P = (T) => {
2366
- ne(g, T, !0), ne(b, T);
2372
+ ne(g, T, !0), ne(_, T);
2367
2373
  }, N = () => {
2368
- !v && !v && (_ && V(g, y), _ && V(b, y));
2374
+ !v && !v && (h && V(g, b), h && V(_, b));
2369
2375
  }, O = ({ Et: T }) => {
2370
- A(), b.concat(g).forEach(({ Ut: E }) => {
2376
+ A(), _.concat(g).forEach(({ Ut: E }) => {
2371
2377
  k(E) && D.set(E, [Ao(E, m, T.x, !0), Ao(E, v, T.y)]);
2372
2378
  });
2373
2379
  }, I = (T) => {
2374
- const E = T ? Zr : Jr, B = T ? g : b, U = qn(B) ? _o : "", F = pt(`${Se} ${E} ${U}`), oe = pt(gs), ie = pt(no), ce = {
2380
+ const E = T ? Zr : Jr, B = T ? g : _, U = qn(B) ? _o : "", F = pt(`${Se} ${E} ${U}`), oe = pt(gs), ie = pt(no), ce = {
2375
2381
  Ut: F,
2376
2382
  Xt: oe,
2377
2383
  Gt: ie
@@ -2380,7 +2386,7 @@ const ko = (e, n, t, o) => {
2380
2386
  A(), D.clear();
2381
2387
  }, je.bind(0, F), t(ce, $, l, a, p, T ? m : v, T)]), ce;
2382
2388
  }, R = I.bind(0, !0), j = I.bind(0, !1), J = () => {
2383
- Ce(x, g[0].Ut), Ce(x, b[0].Ut), en(() => {
2389
+ Ce(x, g[0].Ut), Ce(x, _[0].Ut), en(() => {
2384
2390
  $(_o);
2385
2391
  }, 300);
2386
2392
  };
@@ -2398,92 +2404,92 @@ const ko = (e, n, t, o) => {
2398
2404
  },
2399
2405
  cn: {
2400
2406
  B: v,
2401
- nn: b,
2407
+ nn: _,
2402
2408
  sn: j,
2403
- en: V.bind(0, b)
2409
+ en: V.bind(0, _)
2404
2410
  }
2405
2411
  }, J, Ue.bind(0, L)];
2406
2412
  }, Vi = (e, n, t, o) => {
2407
2413
  let s, r, i, l, c, a = 0;
2408
- const d = bs({}), [f] = d, [p, u] = dt(), [_, h] = dt(), [S, D] = dt(100), [m, v] = dt(100), [x, k] = dt(100), [A, z] = dt(() => a), [V, W, ne] = Fi(e, t.Ft, Ai(n, t)), { J: y, et: L, it: g } = t.Ft, { Qt: b, Wt: $, Zt: C, Jt: P, Kt: N } = V, O = (T) => {
2409
- b(An, T, !0), b(An, T, !1);
2414
+ const d = bs({}), [u] = d, [p, f] = dt(), [h, y] = dt(), [w, D] = dt(100), [m, v] = dt(100), [x, k] = dt(100), [A, z] = dt(() => a), [V, W, ne] = Fi(e, t.Ft, Ai(n, t)), { J: b, et: L, it: g } = t.Ft, { Qt: _, Wt: $, Zt: C, Jt: P, Kt: N } = V, O = (T) => {
2415
+ _(An, T, !0), _(An, T, !1);
2410
2416
  }, I = (T, E) => {
2411
2417
  if (z(), T)
2412
- b(xo);
2418
+ _(xo);
2413
2419
  else {
2414
- const B = () => b(xo, !0);
2420
+ const B = () => _(xo, !0);
2415
2421
  a > 0 && !E ? A(B) : B();
2416
2422
  }
2417
2423
  }, R = () => {
2418
2424
  l = r, l && I(!0);
2419
- }, j = [D, z, v, k, h, u, ne, ue(y, "pointerover", R, {
2425
+ }, j = [D, z, v, k, y, f, ne, ue(b, "pointerover", R, {
2420
2426
  C: !0
2421
- }), ue(y, "pointerenter", R), ue(y, "pointerleave", () => {
2427
+ }), ue(b, "pointerenter", R), ue(b, "pointerleave", () => {
2422
2428
  l = !1, r && I(!1);
2423
- }), ue(y, "pointermove", () => {
2429
+ }), ue(b, "pointermove", () => {
2424
2430
  s && p(() => {
2425
2431
  D(), I(!0), m(() => {
2426
2432
  s && I(!1);
2427
2433
  });
2428
2434
  });
2429
2435
  }), ue(L, "scroll", (T) => {
2430
- _(() => {
2431
- C(t()), i && I(!0), S(() => {
2436
+ h(() => {
2437
+ C(t()), i && I(!0), w(() => {
2432
2438
  i && !l && I(!1);
2433
2439
  });
2434
2440
  }), o(T), N();
2435
- })], J = f.bind(0);
2441
+ })], J = u.bind(0);
2436
2442
  return J.Ft = V, J.qt = W, [(T, E, B) => {
2437
2443
  const { Ht: U, Lt: F, It: oe, St: ie, Pt: ce } = B, { I: de } = xe(), se = zn(n, T, E), Q = t(), { Et: ge, Ot: Ee, yt: Te, At: Qe } = Q, [lt, bt] = se("showNativeOverlaidScrollbars"), [_t, fe] = se("scrollbars.theme"), [be, _e] = se("scrollbars.visibility"), [Le, Pt] = se("scrollbars.autoHide"), [un, fn] = se("scrollbars.autoHideSuspend"), [pn] = se("scrollbars.autoHideDelay"), [mn, Me] = se("scrollbars.dragScroll"), [Rt, gn] = se("scrollbars.clickScroll"), Ft = ce && !E, Ye = U || F || ie, et = oe || _e, Pe = lt && de.x && de.y, Vt = (Re, Ot) => {
2438
2444
  const at = be === "visible" || be === "auto" && Re === "scroll";
2439
- return b(Qr, at, Ot), at;
2445
+ return _(Qr, at, Ot), at;
2440
2446
  };
2441
- if (a = pn, bt && b(Gr, Pe), fe && (b(c), b(_t, !0), c = _t), (fn || Ft) && (un && Ft && (Qe.x || Qe.y) ? (O(!1), x(() => j.push(ue(L, "scroll", O.bind(0, !0), {
2447
+ if (a = pn, bt && _(Gr, Pe), fe && (_(c), _(_t, !0), c = _t), (fn || Ft) && (un && Ft && (Qe.x || Qe.y) ? (O(!1), x(() => j.push(ue(L, "scroll", O.bind(0, !0), {
2442
2448
  C: !0
2443
- })))) : O(!0)), Pt && (s = Le === "move", r = Le === "leave", i = Le !== "never", I(!i, !0)), Me && b(ni, mn), gn && b(ti, Rt), et) {
2449
+ })))) : O(!0)), Pt && (s = Le === "move", r = Le === "leave", i = Le !== "never", I(!i, !0)), Me && _(ni, mn), gn && _(ti, Rt), et) {
2444
2450
  const Re = Vt(Ee.x, !0), Ot = Vt(Ee.y, !1);
2445
- b(ei, !(Re && Ot));
2451
+ _(ei, !(Re && Ot));
2446
2452
  }
2447
- Ye && ($(Q), C(Q), P(Q), N(), b(So, !ge.x, !0), b(So, !ge.y, !1), b(Kr, Te && !g));
2453
+ Ye && ($(Q), C(Q), P(Q), N(), _(So, !ge.x, !0), _(So, !ge.y, !1), _(Kr, Te && !g));
2448
2454
  }, J, Ue.bind(0, j)];
2449
2455
  }, xs = (e, n, t) => {
2450
2456
  ze(e) && e(n || void 0, t || void 0);
2451
2457
  }, st = (e, n, t) => {
2452
2458
  const { G: o, q: s, j: r, N: i } = xe(), l = yt(), c = Lt(e), a = c ? e : e.target, d = ys(a);
2453
2459
  if (n && !d) {
2454
- let f = !1;
2460
+ let u = !1;
2455
2461
  const p = (g) => {
2456
- const b = yt()[si], $ = b && b.O;
2462
+ const _ = yt()[si], $ = _ && _.O;
2457
2463
  return $ ? $(g, !0) : g;
2458
- }, u = ae({}, o(), p(n)), [_, h, S] = eo(t), [D, m, v] = Ii(e, u), [x, k, A] = Vi(e, u, m, (g) => S("scroll", [L, g])), z = (g, b) => D(g, !!b), V = z.bind(0, {}, !0), W = r(V), ne = i(V), y = (g) => {
2459
- mi(a), W(), ne(), A(), v(), f = !0, S("destroyed", [L, !!g]), h();
2464
+ }, f = ae({}, o(), p(n)), [h, y, w] = eo(t), [D, m, v] = Ii(e, f), [x, k, A] = Vi(e, f, m, (g) => w("scroll", [L, g])), z = (g, _) => D(g, !!_), V = z.bind(0, {}, !0), W = r(V), ne = i(V), b = (g) => {
2465
+ mi(a), W(), ne(), A(), v(), u = !0, w("destroyed", [L, !!g]), y();
2460
2466
  }, L = {
2461
- options(g, b) {
2467
+ options(g, _) {
2462
2468
  if (g) {
2463
- const $ = b ? o() : {}, C = ls(u, ae($, p(g)));
2464
- Xn(C) || (ae(u, C), z(C));
2469
+ const $ = _ ? o() : {}, C = ls(f, ae($, p(g)));
2470
+ Xn(C) || (ae(f, C), z(C));
2465
2471
  }
2466
- return ae({}, u);
2472
+ return ae({}, f);
2467
2473
  },
2468
- on: _,
2469
- off: (g, b) => {
2470
- g && b && h(g, b);
2474
+ on: h,
2475
+ off: (g, _) => {
2476
+ g && _ && y(g, _);
2471
2477
  },
2472
2478
  state() {
2473
- const { zt: g, Et: b, Ot: $, At: C, tt: P, $t: N, yt: O } = m();
2479
+ const { zt: g, Et: _, Ot: $, At: C, tt: P, $t: N, yt: O } = m();
2474
2480
  return ae({}, {
2475
2481
  overflowEdge: g,
2476
- overflowAmount: b,
2482
+ overflowAmount: _,
2477
2483
  overflowStyle: $,
2478
2484
  hasOverflow: C,
2479
2485
  padding: P,
2480
2486
  paddingAbsolute: N,
2481
2487
  directionRTL: O,
2482
- destroyed: f
2488
+ destroyed: u
2483
2489
  });
2484
2490
  },
2485
2491
  elements() {
2486
- const { Z: g, J: b, tt: $, K: C, nt: P, st: N, et: O } = m.Ft, { tn: I, cn: R } = k.Ft, j = (T) => {
2492
+ const { Z: g, J: _, tt: $, K: C, nt: P, st: N, et: O } = m.Ft, { tn: I, cn: R } = k.Ft, j = (T) => {
2487
2493
  const { Gt: E, Xt: B, Ut: U } = T;
2488
2494
  return {
2489
2495
  scrollbar: U,
@@ -2501,7 +2507,7 @@ const ko = (e, n, t, o) => {
2501
2507
  };
2502
2508
  return ae({}, {
2503
2509
  target: g,
2504
- host: b,
2510
+ host: _,
2505
2511
  padding: $ || C,
2506
2512
  viewport: C,
2507
2513
  content: P || C,
@@ -2512,13 +2518,13 @@ const ko = (e, n, t, o) => {
2512
2518
  });
2513
2519
  },
2514
2520
  update: (g) => z({}, g),
2515
- destroy: y.bind(0)
2521
+ destroy: b.bind(0)
2516
2522
  };
2517
- return m.Nt((g, b, $) => {
2518
- x(b, $, g);
2519
- }), pi(a, L), G(De(l), (g) => xs(l[g], 0, L)), fi(m.Ft.it, s().cancel, !c && e.cancel) ? (y(!0), L) : (m.qt(), k.qt(), S("initialized", [L]), m.Nt((g, b, $) => {
2523
+ return m.Nt((g, _, $) => {
2524
+ x(_, $, g);
2525
+ }), pi(a, L), G(De(l), (g) => xs(l[g], 0, L)), fi(m.Ft.it, s().cancel, !c && e.cancel) ? (b(!0), L) : (m.qt(), k.qt(), w("initialized", [L]), m.Nt((g, _, $) => {
2520
2526
  const { wt: C, St: P, vt: N, Ht: O, Lt: I, It: R, bt: j, Tt: J } = g;
2521
- S("updated", [L, {
2527
+ w("updated", [L, {
2522
2528
  updateHints: {
2523
2529
  sizeChanged: C,
2524
2530
  directionChanged: P,
@@ -2529,7 +2535,7 @@ const ko = (e, n, t, o) => {
2529
2535
  contentMutation: j,
2530
2536
  hostMutation: J
2531
2537
  },
2532
- changedOptions: b,
2538
+ changedOptions: _,
2533
2539
  force: $
2534
2540
  }]);
2535
2541
  }), L.update(!0), L);
@@ -2544,7 +2550,7 @@ st.valid = (e) => {
2544
2550
  return On(t) && !!ys(t.target);
2545
2551
  };
2546
2552
  st.env = () => {
2547
- const { k: e, I: n, A: t, V: o, Y: s, H: r, B: i, U: l, W: c, q: a, F: d, G: f, X: p } = xe();
2553
+ const { k: e, I: n, A: t, V: o, Y: s, H: r, B: i, U: l, W: c, q: a, F: d, G: u, X: p } = xe();
2548
2554
  return ae({}, {
2549
2555
  scrollbarsSize: e,
2550
2556
  scrollbarsOverlaid: n,
@@ -2557,7 +2563,7 @@ st.env = () => {
2557
2563
  staticDefaultOptions: c,
2558
2564
  getDefaultInitialization: a,
2559
2565
  setDefaultInitialization: d,
2560
- getDefaultOptions: f,
2566
+ getDefaultOptions: u,
2561
2567
  setDefaultOptions: p
2562
2568
  });
2563
2569
  };
@@ -2643,30 +2649,30 @@ const Wi = () => {
2643
2649
  updated: "osUpdated",
2644
2650
  destroyed: "osDestroyed",
2645
2651
  scroll: "osScroll"
2646
- }, { element: r, options: i, events: l, defer: c } = Bs(o), a = Zt(null), d = Zt(null), f = te(), p = te(!1), [u, _] = $s({ options: i, events: f, defer: c });
2652
+ }, { element: r, options: i, events: l, defer: c } = Bs(o), a = Zt(null), d = Zt(null), u = te(), p = te(!1), [f, h] = $s({ options: i, events: u, defer: c });
2647
2653
  return n({
2648
- osInstance: _,
2654
+ osInstance: h,
2649
2655
  getElement: () => a.value
2650
2656
  }), Wn(() => {
2651
2657
  p.value = !0;
2652
- }), Ns((h) => {
2653
- const { value: S } = a, { value: D } = d;
2654
- p.value && S && D && (u({
2655
- target: S,
2658
+ }), Ns((y) => {
2659
+ const { value: w } = a, { value: D } = d;
2660
+ p.value && w && D && (f({
2661
+ target: w,
2656
2662
  elements: {
2657
2663
  viewport: D,
2658
2664
  content: D
2659
2665
  }
2660
- }), h(() => {
2666
+ }), y(() => {
2661
2667
  var m;
2662
- return (m = _()) == null ? void 0 : m.destroy();
2668
+ return (m = h()) == null ? void 0 : m.destroy();
2663
2669
  }));
2664
2670
  }), rt(
2665
2671
  () => K(l),
2666
- (h) => {
2667
- const S = h || {};
2668
- f.value = Object.keys(s).reduce((D, m) => {
2669
- const v = S[m];
2672
+ (y) => {
2673
+ const w = y || {};
2674
+ u.value = Object.keys(s).reduce((D, m) => {
2675
+ const v = w[m];
2670
2676
  return D[m] = [
2671
2677
  (...x) => t(
2672
2678
  s[m],
@@ -2677,20 +2683,20 @@ const Wi = () => {
2677
2683
  }, {});
2678
2684
  },
2679
2685
  { deep: !0, immediate: !0 }
2680
- ), (h, S) => (w(), q(Be(K(r)), {
2686
+ ), (y, w) => (S(), q(Be(K(r)), {
2681
2687
  "data-overlayscrollbars-initialize": "",
2682
2688
  ref_key: "elementRef",
2683
2689
  ref: a
2684
2690
  }, {
2685
2691
  default: ee(() => [
2686
- p.value ? (w(), Y("div", {
2692
+ p.value ? (S(), Y("div", {
2687
2693
  key: 0,
2688
2694
  ref_key: "slotRef",
2689
2695
  ref: d,
2690
2696
  "data-overlayscrollbars-contents": ""
2691
2697
  }, [
2692
- X(h.$slots, "default")
2693
- ], 512)) : X(h.$slots, "default", { key: 1 })
2698
+ X(y.$slots, "default")
2699
+ ], 512)) : X(y.$slots, "default", { key: 1 })
2694
2700
  ]),
2695
2701
  _: 3
2696
2702
  }, 512));
@@ -2750,7 +2756,7 @@ const Ui = {
2750
2756
  autoHide: n.autoHide
2751
2757
  }
2752
2758
  });
2753
- }), (o, s) => (w(), q(K(ji), {
2759
+ }), (o, s) => (S(), q(K(ji), {
2754
2760
  class: "os-vue",
2755
2761
  ref_key: "osRef",
2756
2762
  ref: t,
@@ -2795,10 +2801,10 @@ const Yi = { class: "modal-dialog" }, qi = { class: "modal-content" }, Xi = { cl
2795
2801
  hide: l
2796
2802
  }), (c, a) => {
2797
2803
  const d = jo("keydown");
2798
- return w(), q(Uo, { to: "body" }, [
2804
+ return S(), q(Uo, { to: "body" }, [
2799
2805
  gt(Ro, { name: "fade" }, {
2800
2806
  default: ee(() => [
2801
- r.value ? Bt((w(), Y("div", {
2807
+ r.value ? Bt((S(), Y("div", {
2802
2808
  key: 0,
2803
2809
  ref_key: "modalRef",
2804
2810
  ref: s,
@@ -2872,7 +2878,7 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
2872
2878
  const t = e;
2873
2879
  return n({
2874
2880
  returnValue: () => !0
2875
- }), (s, r) => (w(), q(ks, { show: !0 }, {
2881
+ }), (s, r) => (S(), q(ks, { show: !0 }, {
2876
2882
  "modal-title": ee(() => [
2877
2883
  Xe(ke(t.title), 1)
2878
2884
  ]),
@@ -2904,7 +2910,7 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
2904
2910
  const t = e;
2905
2911
  return n({
2906
2912
  returnValue: () => !0
2907
- }), (s, r) => (w(), q(ks, { show: !0 }, {
2913
+ }), (s, r) => (S(), q(ks, { show: !0 }, {
2908
2914
  "modal-title": ee(() => [
2909
2915
  Xe(ke(t.title), 1)
2910
2916
  ]),
@@ -2955,8 +2961,8 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
2955
2961
  const i = () => {
2956
2962
  Ie.emit("menu-show-request"), r.value = !0;
2957
2963
  }, l = () => {
2958
- var f;
2959
- (f = s.value) == null || f.collapseAll(), r.value = !1;
2964
+ var u;
2965
+ (u = s.value) == null || u.collapseAll(), r.value = !1;
2960
2966
  }, c = () => r.value;
2961
2967
  Ie.on("menu-show-request", () => {
2962
2968
  l();
@@ -2966,13 +2972,13 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
2966
2972
  elementSize: () => s.value.elementSize(),
2967
2973
  isShowed: c
2968
2974
  });
2969
- const d = (f) => {
2970
- t("select", f), f.model.children || l();
2975
+ const d = (u) => {
2976
+ t("select", u), u.model.children || l();
2971
2977
  };
2972
- return (f, p) => {
2973
- const u = jo("click-outside");
2974
- return w(), q(Uo, { to: "body" }, [
2975
- K(r) ? Bt((w(), q(Go, {
2978
+ return (u, p) => {
2979
+ const f = jo("click-outside");
2980
+ return S(), q(Uo, { to: "body" }, [
2981
+ K(r) ? Bt((S(), q(Go, {
2976
2982
  key: 0,
2977
2983
  ref_key: "treeRef",
2978
2984
  ref: s,
@@ -2984,7 +2990,7 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
2984
2990
  "render-title": o.renderItemTitle,
2985
2991
  "before-item": o.beforeItem
2986
2992
  }, null, 8, ["items", "no-select", "class", "style", "render-title", "before-item"])), [
2987
- [u, () => l()]
2993
+ [f, () => l()]
2988
2994
  ]) : le("", !0)
2989
2995
  ]);
2990
2996
  };
@@ -3004,24 +3010,24 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
3004
3010
  },
3005
3011
  emits: ["select", "click"],
3006
3012
  setup(e, { expose: n, emit: t }) {
3007
- const o = e, s = sn(), r = te(null), i = te(null), l = te(0), c = te(0), a = (u) => {
3008
- if (t("click", u), r.value.isShowed()) {
3013
+ const o = e, s = sn(), r = te(null), i = te(null), l = te(0), c = te(0), a = (f) => {
3014
+ if (t("click", f), r.value.isShowed()) {
3009
3015
  r.value.hide();
3010
3016
  return;
3011
3017
  }
3012
3018
  r.value.show(), Yo(() => {
3013
- const _ = r.value.elementSize(), h = i.value.elementSize(), S = window.innerWidth, D = window.innerHeight;
3014
- l.value = S - (h.x + h.width) < _.width ? h.left - _.width + h.width : h.left, c.value = D - (h.y + h.height) < _.height ? h.top - _.height - 5 : h.height + h.top + 5;
3019
+ const h = r.value.elementSize(), y = i.value.elementSize(), w = window.innerWidth, D = window.innerHeight;
3020
+ l.value = w - (y.x + y.width) < h.width ? y.left - h.width + y.width : y.left, c.value = D - (y.y + y.height) < h.height ? y.top - h.height - 5 : y.height + y.top + 5;
3015
3021
  });
3016
- }, d = (u) => {
3017
- t("select", u);
3018
- }, f = H(() => ({ left: l.value + "px", top: c.value + "px", ...o.menuStyle }));
3022
+ }, d = (f) => {
3023
+ t("select", f);
3024
+ }, u = H(() => ({ left: l.value + "px", top: c.value + "px", ...o.menuStyle }));
3019
3025
  n({
3020
3026
  show: a
3021
3027
  });
3022
- const p = (u) => !!s[u];
3023
- return (u, _) => (w(), Y("div", oc, [
3024
- p("default") ? (w(), q(ht, {
3028
+ const p = (f) => !!s[f];
3029
+ return (f, h) => (S(), Y("div", oc, [
3030
+ p("default") ? (S(), q(ht, {
3025
3031
  key: 0,
3026
3032
  ref_key: "buttonRef",
3027
3033
  ref: i,
@@ -3030,10 +3036,10 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
3030
3036
  onClick: Fe(a, ["stop", "prevent"])
3031
3037
  }, {
3032
3038
  default: ee(() => [
3033
- X(u.$slots, "default")
3039
+ X(f.$slots, "default")
3034
3040
  ]),
3035
3041
  _: 3
3036
- }, 8, ["class", "icon", "onClick"])) : (w(), q(ht, {
3042
+ }, 8, ["class", "icon", "onClick"])) : (S(), q(ht, {
3037
3043
  key: 1,
3038
3044
  ref_key: "buttonRef",
3039
3045
  ref: i,
@@ -3046,7 +3052,7 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
3046
3052
  ref: r,
3047
3053
  items: o.items,
3048
3054
  class: "dropdown-menu",
3049
- style: me(f.value),
3055
+ style: me(u.value),
3050
3056
  "no-select": !0,
3051
3057
  onSelect: d,
3052
3058
  "render-item-title": o.renderItemTitle,
@@ -3068,15 +3074,15 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
3068
3074
  top: i.value + "px"
3069
3075
  })), c = (d) => {
3070
3076
  s.value.show(), Yo(() => {
3071
- const f = s.value.elementSize(), p = window.innerWidth, u = window.innerHeight;
3072
- r.value = p - d.pageX < f.width ? d.pageX - f.width : d.pageX, i.value = u - d.pageY < f.height ? d.pageY - f.height : d.pageY;
3077
+ const u = s.value.elementSize(), p = window.innerWidth, f = window.innerHeight;
3078
+ r.value = p - d.pageX < u.width ? d.pageX - u.width : d.pageX, i.value = f - d.pageY < u.height ? d.pageY - u.height : d.pageY;
3073
3079
  });
3074
3080
  }, a = (d) => {
3075
3081
  t("select", d);
3076
3082
  };
3077
3083
  return n({
3078
3084
  show: c
3079
- }), (d, f) => (w(), q(Ts, {
3085
+ }), (d, u) => (S(), q(Ts, {
3080
3086
  ref_key: "dMenuRef",
3081
3087
  ref: s,
3082
3088
  onSelect: a,
@@ -3090,14 +3096,14 @@ const Qi = { style: { display: "flex", "flex-direction": "row", "justify-content
3090
3096
  }
3091
3097
  }, sc = {}, rc = { class: "d-panel" };
3092
3098
  function ic(e, n) {
3093
- return w(), Y("div", rc, [
3099
+ return S(), Y("div", rc, [
3094
3100
  X(e.$slots, "default")
3095
3101
  ]);
3096
3102
  }
3097
3103
  const cc = /* @__PURE__ */ Ct(sc, [["render", ic]]), lc = { class: "card-header" }, ac = { class: "modal-title" }, dc = { class: "card-body" }, uc = { class: "card-footer" }, Wc = {
3098
3104
  __name: "DCard",
3099
3105
  setup(e) {
3100
- return (n, t) => (w(), q(cc, { class: "d-card" }, {
3106
+ return (n, t) => (S(), q(cc, { class: "d-card" }, {
3101
3107
  default: ee(() => [
3102
3108
  Z("div", lc, [
3103
3109
  Z("h5", ac, [
@@ -3203,7 +3209,7 @@ const Cn = "[-+]?[0-9]*.?[0-9]+", Mo = [
3203
3209
  }, s = () => {
3204
3210
  n("after-leave");
3205
3211
  };
3206
- return (r, i) => (w(), q(qo, {
3212
+ return (r, i) => (S(), q(qo, {
3207
3213
  tag: "span",
3208
3214
  css: !1,
3209
3215
  onEnter: t,
@@ -3225,7 +3231,7 @@ const Cn = "[-+]?[0-9]*.?[0-9]+", Mo = [
3225
3231
  },
3226
3232
  setup(e) {
3227
3233
  const n = e;
3228
- return (t, o) => (w(), q(qo, {
3234
+ return (t, o) => (S(), q(qo, {
3229
3235
  tag: "span",
3230
3236
  name: n.name
3231
3237
  }, {
@@ -3311,27 +3317,27 @@ const Cn = "[-+]?[0-9]*.?[0-9]+", Mo = [
3311
3317
  const t = e, o = {
3312
3318
  IDLE: 0,
3313
3319
  DESTROYED: 2
3314
- }, s = te([]), r = te(null), i = te(fc.get("velocity")), l = H(() => t.animationType === "velocity"), c = H(() => l.value ? bc : _c), a = H(() => s.value.filter((y) => y.state !== o.DESTROYED)), d = H(() => gc(t.width)), f = H(() => {
3315
- const { x: y, y: L } = yc(t.position), g = d.value.value, b = d.value.type, $ = {
3316
- width: g + b
3320
+ }, s = te([]), r = te(null), i = te(fc.get("velocity")), l = H(() => t.animationType === "velocity"), c = H(() => l.value ? bc : _c), a = H(() => s.value.filter((b) => b.state !== o.DESTROYED)), d = H(() => gc(t.width)), u = H(() => {
3321
+ const { x: b, y: L } = yc(t.position), g = d.value.value, _ = d.value.type, $ = {
3322
+ width: g + _
3317
3323
  };
3318
- return L && ($[L] = "0px"), y && (y === "center" ? $.left = `calc(50% - ${+g / 2}${b})` : $[y] = "0px"), $;
3319
- }), p = H(() => "bottom" in f.value), u = (y) => {
3320
- n("click", y), t.closeOnClick && x(y);
3321
- }, _ = () => {
3322
- var y;
3323
- t.pauseOnHover && ((y = r.value) == null || y.pause());
3324
+ return L && ($[L] = "0px"), b && (b === "center" ? $.left = `calc(50% - ${+g / 2}${_})` : $[b] = "0px"), $;
3325
+ }), p = H(() => "bottom" in u.value), f = (b) => {
3326
+ n("click", b), t.closeOnClick && x(b);
3324
3327
  }, h = () => {
3325
- var y;
3326
- t.pauseOnHover && ((y = r.value) == null || y.resume());
3327
- }, S = (y) => {
3328
- if (y.group || (y.group = ""), y.data || (y.data = {}), t.group !== y.group)
3328
+ var b;
3329
+ t.pauseOnHover && ((b = r.value) == null || b.pause());
3330
+ }, y = () => {
3331
+ var b;
3332
+ t.pauseOnHover && ((b = r.value) == null || b.resume());
3333
+ }, w = (b) => {
3334
+ if (b.group || (b.group = ""), b.data || (b.data = {}), t.group !== b.group)
3329
3335
  return;
3330
- if (y.clean || y.clear) {
3336
+ if (b.clean || b.clear) {
3331
3337
  A();
3332
3338
  return;
3333
3339
  }
3334
- const L = typeof y.duration == "number" ? y.duration : t.duration, g = typeof y.speed == "number" ? y.speed : t.speed, b = typeof y.ignoreDuplicates == "boolean" ? y.ignoreDuplicates : t.ignoreDuplicates, { title: $, text: C, type: P, data: N, id: O } = y, I = {
3340
+ const L = typeof b.duration == "number" ? b.duration : t.duration, g = typeof b.speed == "number" ? b.speed : t.speed, _ = typeof b.ignoreDuplicates == "boolean" ? b.ignoreDuplicates : t.ignoreDuplicates, { title: $, text: C, type: P, data: N, id: O } = b, I = {
3335
3341
  id: O || hc(),
3336
3342
  title: $,
3337
3343
  text: C,
@@ -3344,77 +3350,77 @@ const Cn = "[-+]?[0-9]*.?[0-9]+", Mo = [
3344
3350
  L >= 0 && (r.value = new pc(() => x(I), I.length, I));
3345
3351
  const R = t.reverse ? !p.value : p.value;
3346
3352
  let j = -1;
3347
- const J = a.value.some((E) => E.title === y.title && E.text === y.text);
3348
- (!b || !J) && (R ? (s.value.push(I), n("start", I), a.value.length > t.max && (j = 0)) : (s.value.unshift(I), n("start", I), a.value.length > t.max && (j = a.value.length - 1)), j !== -1 && x(a.value[j]));
3349
- }, D = (y) => {
3350
- k(y);
3351
- }, m = (y) => [
3353
+ const J = a.value.some((E) => E.title === b.title && E.text === b.text);
3354
+ (!_ || !J) && (R ? (s.value.push(I), n("start", I), a.value.length > t.max && (j = 0)) : (s.value.unshift(I), n("start", I), a.value.length > t.max && (j = a.value.length - 1)), j !== -1 && x(a.value[j]));
3355
+ }, D = (b) => {
3356
+ k(b);
3357
+ }, m = (b) => [
3352
3358
  "d-notification-template",
3353
3359
  t.classes,
3354
- y.type || ""
3355
- ], v = (y) => l.value ? void 0 : { transition: `all ${y.speed}ms` }, x = (y) => {
3356
- clearTimeout(y.timer), y.state = o.DESTROYED, ne(), n("destroy", y);
3357
- }, k = (y) => {
3358
- const L = s.value.find((g) => g.id === y);
3360
+ b.type || ""
3361
+ ], v = (b) => l.value ? void 0 : { transition: `all ${b.speed}ms` }, x = (b) => {
3362
+ clearTimeout(b.timer), b.state = o.DESTROYED, ne(), n("destroy", b);
3363
+ }, k = (b) => {
3364
+ const L = s.value.find((g) => g.id === b);
3359
3365
  L && x(L);
3360
3366
  }, A = () => {
3361
3367
  a.value.forEach(x);
3362
- }, z = (y, L) => {
3363
- var b;
3364
- const g = (b = t.animation) == null ? void 0 : b[y];
3368
+ }, z = (b, L) => {
3369
+ var _;
3370
+ const g = (_ = t.animation) == null ? void 0 : _[b];
3365
3371
  return typeof g == "function" ? g(L) : g;
3366
- }, V = (y, L) => {
3372
+ }, V = (b, L) => {
3367
3373
  if (!l.value)
3368
3374
  return;
3369
- const g = z("enter", y);
3370
- i.value(y, g, {
3375
+ const g = z("enter", b);
3376
+ i.value(b, g, {
3371
3377
  duration: t.speed,
3372
3378
  complete: L
3373
3379
  });
3374
- }, W = (y, L) => {
3380
+ }, W = (b, L) => {
3375
3381
  if (!l.value)
3376
3382
  return;
3377
- const g = z("leave", y);
3378
- i.value(y, g, {
3383
+ const g = z("leave", b);
3384
+ i.value(b, g, {
3379
3385
  duration: t.speed,
3380
3386
  complete: L
3381
3387
  });
3382
3388
  };
3383
3389
  function ne() {
3384
- s.value = s.value.filter((y) => y.state !== o.DESTROYED);
3390
+ s.value = s.value.filter((b) => b.state !== o.DESTROYED);
3385
3391
  }
3386
3392
  return Wn(() => {
3387
- Ie.on("notification-add", S), Ie.on("notification-close", D);
3388
- }), (y, L) => (w(), Y("div", {
3393
+ Ie.on("notification-add", w), Ie.on("notification-close", D);
3394
+ }), (b, L) => (S(), Y("div", {
3389
3395
  class: "d-notification-group",
3390
- style: me(f.value)
3396
+ style: me(u.value)
3391
3397
  }, [
3392
- (w(), q(Be(c.value), {
3398
+ (S(), q(Be(c.value), {
3393
3399
  name: e.animationName,
3394
3400
  onEnter: V,
3395
3401
  onLeave: W,
3396
3402
  onAfterLeave: ne
3397
3403
  }, {
3398
3404
  default: ee(() => [
3399
- (w(!0), Y(ut, null, Fn(a.value, (g) => (w(), Y("div", {
3405
+ (S(!0), Y(ut, null, Fn(a.value, (g) => (S(), Y("div", {
3400
3406
  key: g.id,
3401
3407
  class: "d-notification-wrapper",
3402
3408
  style: me(v(g)),
3403
3409
  "data-id": g.id,
3404
- onMouseenter: _,
3405
- onMouseleave: h
3410
+ onMouseenter: h,
3411
+ onMouseleave: y
3406
3412
  }, [
3407
- X(y.$slots, "body", {
3413
+ X(b.$slots, "body", {
3408
3414
  class: pe([e.classes, g.type]),
3409
3415
  item: g,
3410
3416
  close: () => x(g)
3411
3417
  }, () => [
3412
3418
  Z("div", {
3413
3419
  class: pe(m(g)),
3414
- onClick: (b) => u(g)
3420
+ onClick: (_) => f(g)
3415
3421
  }, [
3416
- e.dangerouslySetInnerHtml ? (w(), Y(ut, { key: 0 }, [
3417
- g.title ? (w(), Y("div", {
3422
+ e.dangerouslySetInnerHtml ? (S(), Y(ut, { key: 0 }, [
3423
+ g.title ? (S(), Y("div", {
3418
3424
  key: 0,
3419
3425
  class: "d-notification-title",
3420
3426
  innerHTML: g.timer
@@ -3423,8 +3429,8 @@ const Cn = "[-+]?[0-9]*.?[0-9]+", Mo = [
3423
3429
  class: "notification-content",
3424
3430
  innerHTML: g.text
3425
3431
  }, null, 8, $c)
3426
- ], 64)) : (w(), Y(ut, { key: 1 }, [
3427
- g.title ? (w(), Y("div", kc, ke(g.title), 1)) : le("", !0),
3432
+ ], 64)) : (S(), Y(ut, { key: 1 }, [
3433
+ g.title ? (S(), Y("div", kc, ke(g.title), 1)) : le("", !0),
3428
3434
  Z("div", Dc, ke(g.text), 1)
3429
3435
  ], 64))
3430
3436
  ], 10, Sc)
@@ -3447,7 +3453,7 @@ const Cn = "[-+]?[0-9]*.?[0-9]+", Mo = [
3447
3453
  emits: ["click"],
3448
3454
  setup(e, { emit: n }) {
3449
3455
  const t = e, o = H(() => t.icon ? Ve.getters.getIcon(t.icon) : null);
3450
- return (s, r) => (w(), Y("div", {
3456
+ return (s, r) => (S(), Y("div", {
3451
3457
  class: pe(["d-info-progress", t.type ? `d-info-progress-${t.type}` : null]),
3452
3458
  style: me(t.style),
3453
3459
  onClick: r[0] || (r[0] = (i) => {
@@ -3456,7 +3462,7 @@ const Cn = "[-+]?[0-9]*.?[0-9]+", Mo = [
3456
3462
  }, [
3457
3463
  Z("div", Tc, [
3458
3464
  Z("div", Cc, [
3459
- t.icon ? (w(), q(Be(wt), {
3465
+ t.icon ? (S(), q(Be(wt), {
3460
3466
  key: 0,
3461
3467
  component: o.value,
3462
3468
  color: "inherit",
@@ -3496,7 +3502,7 @@ const Cn = "[-+]?[0-9]*.?[0-9]+", Mo = [
3496
3502
  n("update:modelValue", i);
3497
3503
  }
3498
3504
  });
3499
- return (i, l) => (w(), Y("div", Ec, [
3505
+ return (i, l) => (S(), Y("div", Ec, [
3500
3506
  Bt(Z("input", {
3501
3507
  "onUpdate:modelValue": l[0] || (l[0] = (c) => r.value = c),
3502
3508
  id: `i-${K(s)}`,