doph-js 0.0.76 → 0.0.78

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,5 +1,5 @@
1
- import { useSlots as Mn, computed as R, h as io, openBlock as O, createBlock as rt, unref as tt, ref as ot, createElementBlock as j, Fragment as nn, normalizeClass as At, renderSlot as et, createCommentVNode as lt, resolveDynamicComponent as qt, createElementVNode as gt, toDisplayString as Xt, withDirectives as on, normalizeStyle as Bt, vModelText as bs, Transition as No, withCtx as it, withModifiers as Mt, resolveComponent as ws, createTextVNode as oe, createVNode as ce, renderList as Pn, pushScopeId as _s, popScopeId as Ss, reactive as Rn, getCurrentInstance as xs, watch as re, onUnmounted as Ao, mergeProps as Te, shallowRef as je, defineComponent as Mo, toRefs as $s, onMounted as Po, watchPostEffect as Ds, useCssVars as ks, resolveDirective as Fn, Teleport as Ts, nextTick as Ro } from "vue";
2
- const Ce = {
1
+ import { useSlots as Mn, computed as R, h as io, openBlock as C, createBlock as ot, unref as et, ref as st, createElementBlock as G, Fragment as nn, normalizeClass as At, renderSlot as X, createCommentVNode as lt, resolveDynamicComponent as qt, createElementVNode as dt, toDisplayString as Xt, withDirectives as on, normalizeStyle as Bt, vModelText as bs, Transition as No, withCtx as rt, withModifiers as Mt, resolveComponent as ws, createTextVNode as oe, createVNode as ce, renderList as Pn, pushScopeId as _s, popScopeId as Ss, reactive as Rn, getCurrentInstance as xs, watch as re, onUnmounted as Ao, mergeProps as Ce, shallowRef as je, defineComponent as Mo, toRefs as $s, onMounted as Po, watchPostEffect as Ds, useCssVars as ks, resolveDirective as Fn, Teleport as Ts, nextTick as Ro } from "vue";
2
+ const Ie = {
3
3
  __name: "DIcon",
4
4
  props: {
5
5
  component: [Object, String],
@@ -29,7 +29,7 @@ const Ce = {
29
29
  },
30
30
  e.component ? io(e.component) : n
31
31
  ));
32
- return (a, c) => (O(), rt(tt(i)));
32
+ return (a, c) => (C(), ot(et(i)));
33
33
  }
34
34
  }, Yt = {
35
35
  state: {},
@@ -58,15 +58,15 @@ const Ce = {
58
58
  },
59
59
  emits: ["click", "contextmenu"],
60
60
  setup(t, { expose: e, emit: n }) {
61
- const o = t, s = Mn(), r = ot(null), i = R(() => o.icon ? Yt.getters.getIcon(o.icon) : null), a = (d) => {
61
+ const o = t, s = Mn(), r = st(null), i = R(() => o.icon ? Yt.getters.getIcon(o.icon) : null), a = (d) => {
62
62
  n("click", d);
63
63
  }, c = (d) => {
64
64
  n("contextmenu", d);
65
65
  };
66
66
  return e({
67
67
  elementSize: () => r.value.getBoundingClientRect()
68
- }), (d, f) => (O(), j(nn, null, [
69
- i.value ? lt("", !0) : (O(), j("div", {
68
+ }), (d, f) => (C(), G(nn, null, [
69
+ i.value ? lt("", !0) : (C(), G("div", {
70
70
  key: 0,
71
71
  ref_key: "el",
72
72
  ref: r,
@@ -74,9 +74,9 @@ const Ce = {
74
74
  onContextmenu: c,
75
75
  class: At(["button", o.class])
76
76
  }, [
77
- et(d.$slots, "default")
77
+ X(d.$slots, "default")
78
78
  ], 34)),
79
- i.value ? (O(), j("div", {
79
+ i.value ? (C(), G("div", {
80
80
  key: 1,
81
81
  ref_key: "el",
82
82
  ref: r,
@@ -84,19 +84,19 @@ const Ce = {
84
84
  onContextmenu: c,
85
85
  class: At(["button button-ext", o.class])
86
86
  }, [
87
- o.icon ? (O(), rt(qt(Ce), {
87
+ o.icon ? (C(), ot(qt(Ie), {
88
88
  key: 0,
89
89
  component: i.value,
90
90
  color: "inherit"
91
91
  }, null, 8, ["component"])) : lt("", !0),
92
- tt(s).default ? (O(), j("div", Cs, [
93
- et(d.$slots, "default")
92
+ et(s).default ? (C(), G("div", Cs, [
93
+ X(d.$slots, "default")
94
94
  ])) : lt("", !0)
95
95
  ], 34)) : lt("", !0)
96
96
  ], 64));
97
97
  }
98
98
  };
99
- const Le = (t, e) => {
99
+ const De = (t, e) => {
100
100
  const n = t.__vccOpts || t;
101
101
  for (const [o, s] of e)
102
102
  n[o] = s;
@@ -119,9 +119,9 @@ const Le = (t, e) => {
119
119
  e("update:modelValue", r);
120
120
  }
121
121
  });
122
- return (r, i) => (O(), j("div", Is, [
123
- gt("div", Os, Xt(n.label), 1),
124
- on(gt("input", {
122
+ return (r, i) => (C(), G("div", Is, [
123
+ dt("div", Os, Xt(n.label), 1),
124
+ on(dt("input", {
125
125
  "onUpdate:modelValue": i[0] || (i[0] = (a) => s.value = a),
126
126
  type: "text",
127
127
  class: At(o.value),
@@ -132,17 +132,17 @@ const Le = (t, e) => {
132
132
  ])
133
133
  ]));
134
134
  }
135
- }, Gi = /* @__PURE__ */ Le(Bs, [["__scopeId", "data-v-11679fd8"]]), Ls = {
135
+ }, oc = /* @__PURE__ */ De(Bs, [["__scopeId", "data-v-11679fd8"]]), Ls = {
136
136
  __name: "DBadge",
137
137
  props: {
138
138
  class: String
139
139
  },
140
140
  setup(t) {
141
141
  const e = t;
142
- return (n, o) => (O(), j("div", {
142
+ return (n, o) => (C(), G("div", {
143
143
  class: At(["badge", e.class])
144
144
  }, [
145
- et(n.$slots, "default")
145
+ X(n.$slots, "default")
146
146
  ], 2));
147
147
  }
148
148
  }, Ut = "0px", zs = {
@@ -222,20 +222,20 @@ const Le = (t, e) => {
222
222
  const p = r(u, f).reverse(), v = { duration: e.duration, easing: e.easingLeave };
223
223
  s(d, f, l, p, v);
224
224
  };
225
- return (c, l) => (O(), rt(No, {
225
+ return (c, l) => (C(), ot(No, {
226
226
  css: !1,
227
227
  onEnter: i,
228
228
  onLeave: a
229
229
  }, {
230
- default: it(() => [
231
- et(c.$slots, "default")
230
+ default: rt(() => [
231
+ X(c.$slots, "default")
232
232
  ]),
233
233
  _: 3
234
234
  }));
235
235
  }
236
236
  }, Ke = {
237
237
  data: void 0
238
- }, Wn = (t) => t.reduce((e, n) => (e[n] = n) && e, {}), pt = Wn([
238
+ }, Wn = (t) => t.reduce((e, n) => (e[n] = n) && e, {}), mt = Wn([
239
239
  "drag",
240
240
  "dragend",
241
241
  "dragenter",
@@ -267,9 +267,9 @@ const Le = (t, e) => {
267
267
  tag: { type: String, default: "div" }
268
268
  },
269
269
  setup(t) {
270
- const e = t, n = Mn(), o = ot(!1), s = R(() => o && e.transferData), r = R(() => ({ position: "fixed", top: "-1000px" })), i = (a, c) => {
270
+ const e = t, n = Mn(), o = st(!1), s = R(() => o && e.transferData), r = R(() => ({ position: "fixed", top: "-1000px" })), i = (a, c) => {
271
271
  const l = c.dataTransfer;
272
- if ([pt.dragenter, pt.dragover].includes(a) && e.dropEffect && (l.dropEffect = e.dropEffect), a === pt.dragstart) {
272
+ if ([mt.dragenter, mt.dragover].includes(a) && e.dropEffect && (l.dropEffect = e.dropEffect), a === mt.dragstart) {
273
273
  if (e.effectAllowed && (l.effectAllowed = e.effectAllowed), e.image || n.image) {
274
274
  let d;
275
275
  e.image ? (d = new Image(), d.src = e.image) : n.image && (d = n.image[0].elm), l.setDragImage && l.setDragImage(d, e.imageXOffset, e.imageYOffset);
@@ -277,22 +277,22 @@ const Le = (t, e) => {
277
277
  e.transferData !== void 0 && (Ke.data = e.transferData, c.dataTransfer.setData("text", "")), o.value = !0;
278
278
  }
279
279
  };
280
- return (a, c) => (O(), rt(qt(t.tag), {
280
+ return (a, c) => (C(), ot(qt(t.tag), {
281
281
  draggable: e.draggable,
282
- onDrag: c[0] || (c[0] = (l) => i(tt(pt).drag, l)),
283
- onDragstart: c[1] || (c[1] = Mt((l) => i(tt(pt).dragstart, l), ["stop"])),
284
- onDragenter: c[2] || (c[2] = (l) => i(tt(pt).dragenter, l)),
285
- onDragleave: c[3] || (c[3] = (l) => i(tt(pt).dragleave, l)),
286
- onDragend: c[4] || (c[4] = (l) => i(tt(pt).dragend, l))
282
+ onDrag: c[0] || (c[0] = (l) => i(et(mt).drag, l)),
283
+ onDragstart: c[1] || (c[1] = Mt((l) => i(et(mt).dragstart, l), ["stop"])),
284
+ onDragenter: c[2] || (c[2] = (l) => i(et(mt).dragenter, l)),
285
+ onDragleave: c[3] || (c[3] = (l) => i(et(mt).dragleave, l)),
286
+ onDragend: c[4] || (c[4] = (l) => i(et(mt).dragend, l))
287
287
  }, {
288
- default: it(() => [
289
- et(a.$slots, "default", { transferData: s.value }),
290
- t.hideImageHtml ? (O(), j("div", {
288
+ default: rt(() => [
289
+ X(a.$slots, "default", { transferData: s.value }),
290
+ t.hideImageHtml ? (C(), G("div", {
291
291
  key: 0,
292
292
  style: Bt(r.value)
293
293
  }, [
294
- et(a.$slots, "image", { transferData: s.value })
295
- ], 4)) : et(a.$slots, "image", {
294
+ X(a.$slots, "image", { transferData: s.value })
295
+ ], 4)) : X(a.$slots, "image", {
296
296
  key: 1,
297
297
  transferData: s.value
298
298
  })
@@ -301,7 +301,7 @@ const Le = (t, e) => {
301
301
  }, 40, ["draggable"]));
302
302
  }
303
303
  };
304
- const Ms = (t) => (_s("data-v-6804865f"), t = t(), Ss(), t), Ps = { key: 0 }, Rs = /* @__PURE__ */ Ms(() => /* @__PURE__ */ gt("div", { class: "tree-divider" }, null, -1)), Fs = [
304
+ const Ms = (t) => (_s("data-v-6804865f"), t = t(), Ss(), t), Ps = { key: 0 }, Rs = /* @__PURE__ */ Ms(() => /* @__PURE__ */ dt("div", { class: "tree-divider" }, null, -1)), Fs = [
305
305
  Rs
306
306
  ], Ws = { key: 1 }, Vs = { class: "tree-divider-header" }, Us = { class: "item-title" }, qs = {
307
307
  key: 0,
@@ -319,7 +319,7 @@ const Ms = (t) => (_s("data-v-6804865f"), t = t(), Ss(), t), Ps = { key: 0 }, Rs
319
319
  },
320
320
  emits: ["nodedrop", "nodedragover", "nodedragleave", "nodeclick"],
321
321
  setup(t, { emit: e }) {
322
- const n = t, o = ot(null), s = ot(!1), r = ot(!1), i = ot(!1), a = R(() => n.model.children && n.model.children.length), c = R(() => (M.actions.isTreeExpanded(n.treeId) && (n.model.expanded = n.model.expanded === void 0 ? !0 : n.model.expanded), n.model.expanded)), l = (m) => {
322
+ const n = t, o = st(null), s = st(!1), r = st(!1), i = st(!1), a = R(() => n.model.children && n.model.children.length), c = R(() => (M.actions.isTreeExpanded(n.treeId) && (n.model.expanded = n.model.expanded === void 0 ? !0 : n.model.expanded), n.model.expanded)), l = (m) => {
323
323
  e("nodeclick", { event: m, model: n.model });
324
324
  }, d = (m) => {
325
325
  e("nodeclick", m);
@@ -348,9 +348,9 @@ const Ms = (t) => (_s("data-v-6804865f"), t = t(), Ss(), t), Ps = { key: 0 }, Rs
348
348
  });
349
349
  return (m, g) => {
350
350
  const S = ws("d-tree-item", !0);
351
- return b.value && !D.value ? (O(), j("li", Ps, Fs)) : b.value && D.value ? (O(), j("li", Ws, [
352
- gt("div", Vs, Xt(tt(M).actions.renderTitle(n.treeId, D.value)), 1)
353
- ])) : (O(), rt(As, {
351
+ return b.value && !D.value ? (C(), G("li", Ps, Fs)) : b.value && D.value ? (C(), G("li", Ws, [
352
+ dt("div", Vs, Xt(et(M).actions.renderTitle(n.treeId, D.value)), 1)
353
+ ])) : (C(), ot(As, {
354
354
  key: 2,
355
355
  tag: "li",
356
356
  class: "tree-item",
@@ -362,55 +362,55 @@ const Ms = (t) => (_s("data-v-6804865f"), t = t(), Ss(), t), Ps = { key: 0 }, Rs
362
362
  onDragover: Mt(v, ["prevent", "stop"]),
363
363
  onDragleave: Mt(h, ["prevent"])
364
364
  }, {
365
- default: it(() => {
365
+ default: rt(() => {
366
366
  var _, L;
367
367
  return [
368
- gt("div", {
368
+ dt("div", {
369
369
  ref_key: "node",
370
370
  ref: o,
371
371
  class: At(f.value),
372
372
  onClick: l
373
373
  }, [
374
- gt("div", null, [
375
- n.model.icons && n.model.icons.pre && a.value && !n.search && !b.value ? (O(), rt(qt(Ce), {
374
+ dt("div", null, [
375
+ n.model.icons && n.model.icons.pre && a.value && !n.search && !b.value ? (C(), ot(qt(Ie), {
376
376
  key: 0,
377
- component: tt(Yt).getters.getIcon(n.model.icons.pre.component),
377
+ component: et(Yt).getters.getIcon(n.model.icons.pre.component),
378
378
  size: 18,
379
379
  color: n.model.icons.pre.color ? n.model.icons.pre.color : "inherit",
380
380
  class: At(c.value ? "tree-open-pre" : "")
381
381
  }, null, 8, ["component", "color", "class"])) : lt("", !0),
382
- n.model.icons && n.model.icons.pre && !a.value && !n.search && !b.value ? (O(), rt(qt(Ce), {
382
+ n.model.icons && n.model.icons.pre && !a.value && !n.search && !b.value ? (C(), ot(qt(Ie), {
383
383
  key: 1,
384
- component: tt(Yt).getters.getIcon(n.model.icons.pre.component),
384
+ component: et(Yt).getters.getIcon(n.model.icons.pre.component),
385
385
  size: 18,
386
386
  color: "rgba(0,0,0,0)",
387
387
  class: At(c.value ? "tree-open-pre" : "")
388
388
  }, null, 8, ["component", "class"])) : lt("", !0),
389
- n.model.icons && n.model.icons.icon && !b.value ? (O(), rt(qt(Ce), {
389
+ n.model.icons && n.model.icons.icon && !b.value ? (C(), ot(qt(Ie), {
390
390
  key: 2,
391
- component: tt(Yt).getters.getIcon(n.model.icons.icon.component),
391
+ component: et(Yt).getters.getIcon(n.model.icons.icon.component),
392
392
  color: n.model.icons.icon.color ? n.model.icons.icon.color : "inherit",
393
393
  size: n.model.icons.icon.size ? n.model.icons.icon.size : null,
394
394
  className: n.model.icons.icon.class ? n.model.icons.icon.class : null
395
395
  }, null, 8, ["component", "color", "size", "className"])) : lt("", !0),
396
- gt("div", Us, [
397
- b.value ? (O(), j("div", qs)) : lt("", !0),
398
- b.value ? lt("", !0) : (O(), j("div", Ys, Xt(tt(M).actions.renderTitle(n.treeId, n.model.title)), 1))
396
+ dt("div", Us, [
397
+ b.value ? (C(), G("div", qs)) : lt("", !0),
398
+ b.value ? lt("", !0) : (C(), G("div", Ys, Xt(et(M).actions.renderTitle(n.treeId, n.model.title)), 1))
399
399
  ])
400
400
  ]),
401
- gt("div", Xs, [
402
- ((_ = n.model.badge) == null ? void 0 : _.value) !== void 0 && !b.value ? (O(), rt(qt(Ls), {
401
+ dt("div", Xs, [
402
+ ((_ = n.model.badge) == null ? void 0 : _.value) !== void 0 && !b.value ? (C(), ot(qt(Ls), {
403
403
  key: 0,
404
404
  class: At([(L = n.model.badge) == null ? void 0 : L.class, "badge-sm"])
405
405
  }, {
406
- default: it(() => [
406
+ default: rt(() => [
407
407
  oe(Xt(n.model.badge.value), 1)
408
408
  ]),
409
409
  _: 1
410
410
  }, 8, ["class"])) : lt("", !0),
411
- n.model.icons && n.model.icons.post && a.value && !n.search && !b.value ? (O(), rt(qt(Ce), {
411
+ n.model.icons && n.model.icons.post && a.value && !n.search && !b.value ? (C(), ot(qt(Ie), {
412
412
  key: 1,
413
- component: tt(Yt).getters.getIcon(n.model.icons.post.component),
413
+ component: et(Yt).getters.getIcon(n.model.icons.post.component),
414
414
  size: 20,
415
415
  color: n.model.icons.post.color ? n.model.icons.post.color : "inherit",
416
416
  class: At(c.value ? "tree-open-post" : "")
@@ -418,9 +418,9 @@ const Ms = (t) => (_s("data-v-6804865f"), t = t(), Ss(), t), Ps = { key: 0 }, Rs
418
418
  ])
419
419
  ], 2),
420
420
  ce(zs, null, {
421
- default: it(() => [
422
- a.value && c.value && !n.search ? (O(), j("ul", js, [
423
- (O(!0), j(nn, null, Pn(t.model.children, (z) => (O(), rt(S, {
421
+ default: rt(() => [
422
+ a.value && c.value && !n.search ? (C(), G("ul", js, [
423
+ (C(!0), G(nn, null, Pn(t.model.children, (z) => (C(), ot(S, {
424
424
  class: "tree-item",
425
425
  key: z.id,
426
426
  model: z,
@@ -439,7 +439,7 @@ const Ms = (t) => (_s("data-v-6804865f"), t = t(), Ss(), t), Ps = { key: 0 }, Rs
439
439
  }, 8, ["transfer-data", "draggable", "onDrop", "onDragover", "onDragleave"]));
440
440
  };
441
441
  }
442
- }, Ks = /* @__PURE__ */ Le(Gs, [["__scopeId", "data-v-6804865f"]]);
442
+ }, Ks = /* @__PURE__ */ De(Gs, [["__scopeId", "data-v-6804865f"]]);
443
443
  function Zs(t) {
444
444
  return t = t || /* @__PURE__ */ new Map(), {
445
445
  /**
@@ -591,24 +591,24 @@ const Rt = Zs(), M = {
591
591
  props: {
592
592
  tag: { type: String, default: "div" }
593
593
  },
594
- emits: Object.keys(pt),
594
+ emits: Object.keys(mt),
595
595
  setup(t, { expose: e, emit: n }) {
596
596
  let o = Rn({});
597
- const s = ot("false"), r = ot(null), i = /* @__PURE__ */ new Set(), a = R(() => s.value && o), c = (d, f) => {
598
- o = Ke.data, n(d, f, o), d === pt.dragenter && (i.size || f.target === r.value) && i.add(f.target), d === pt.dragleave && i.delete(f.target), d === pt.drop && i.clear(), s.value = !!i.size;
597
+ const s = st("false"), r = st(null), i = /* @__PURE__ */ new Set(), a = R(() => s.value && o), c = (d, f) => {
598
+ o = Ke.data, n(d, f, o), d === mt.dragenter && (i.size || f.target === r.value) && i.add(f.target), d === mt.dragleave && i.delete(f.target), d === mt.drop && i.clear(), s.value = !!i.size;
599
599
  };
600
600
  return e({
601
601
  elementSize: () => r.value.getBoundingClientRect()
602
- }), (d, f) => (O(), rt(qt(t.tag), {
602
+ }), (d, f) => (C(), ot(qt(t.tag), {
603
603
  ref_key: "el",
604
604
  ref: r,
605
- onDragenter: f[0] || (f[0] = (u) => c(tt(pt).dragenter, u)),
606
- onDragleave: f[1] || (f[1] = (u) => c(tt(pt).dragleave, u)),
607
- onDragover: f[2] || (f[2] = Mt((u) => c(tt(pt).dragover, u), ["prevent"])),
608
- onDrop: f[3] || (f[3] = Mt((u) => c(tt(pt).drop, u), ["prevent"]))
605
+ onDragenter: f[0] || (f[0] = (u) => c(et(mt).dragenter, u)),
606
+ onDragleave: f[1] || (f[1] = (u) => c(et(mt).dragleave, u)),
607
+ onDragover: f[2] || (f[2] = Mt((u) => c(et(mt).dragover, u), ["prevent"])),
608
+ onDrop: f[3] || (f[3] = Mt((u) => c(et(mt).drop, u), ["prevent"]))
609
609
  }, {
610
- default: it(() => [
611
- et(d.$slots, "default", { transferData: a.value })
610
+ default: rt(() => [
611
+ X(d.$slots, "default", { transferData: a.value })
612
612
  ]),
613
613
  _: 3
614
614
  }, 544));
@@ -633,7 +633,7 @@ const Rt = Zs(), M = {
633
633
  },
634
634
  emits: ["select", "collapse", "expand", "move"],
635
635
  setup(t, { expose: e, emit: n }) {
636
- const o = t, s = ot(null), r = xs().uid;
636
+ const o = t, s = st(null), r = xs().uid;
637
637
  M.actions.initTreeStore(r, o.noSelect, o.multiSelect, o.expanded, o.transfer, o.renderTitle);
638
638
  const i = (d, f) => {
639
639
  console.log(d, f);
@@ -650,18 +650,18 @@ const Rt = Zs(), M = {
650
650
  };
651
651
  return e({
652
652
  elementSize: () => s.value.elementSize()
653
- }), (d, f) => (O(), rt(Js, {
653
+ }), (d, f) => (C(), ot(Js, {
654
654
  ref_key: "treeRef",
655
655
  ref: s,
656
656
  class: "tree",
657
657
  tag: "ul",
658
658
  onDrop: Mt(i, ["stop"])
659
659
  }, {
660
- default: it(() => [
661
- (O(!0), j(nn, null, Pn(a.value, (u) => (O(), rt(Ks, {
660
+ default: rt(() => [
661
+ (C(!0), G(nn, null, Pn(a.value, (u) => (C(), ot(Ks, {
662
662
  key: u.id,
663
663
  model: u,
664
- treeId: tt(r),
664
+ treeId: et(r),
665
665
  items: o.items,
666
666
  search: o.search,
667
667
  onNodeclick: c
@@ -678,13 +678,13 @@ const Qs = {
678
678
  },
679
679
  setup(t) {
680
680
  const e = t;
681
- return (n, o) => (O(), rt(Vn, {
681
+ return (n, o) => (C(), ot(Vn, {
682
682
  class: "accordion",
683
683
  items: e.items,
684
684
  "no-select": !0
685
685
  }, null, 8, ["items"]));
686
686
  }
687
- }, Ki = /* @__PURE__ */ Le(Qs, [["__scopeId", "data-v-4c920528"]]), tr = {
687
+ }, sc = /* @__PURE__ */ De(Qs, [["__scopeId", "data-v-4c920528"]]), tr = {
688
688
  __name: "DLayoutHeader",
689
689
  props: {
690
690
  fixed: {
@@ -722,11 +722,11 @@ const Qs = {
722
722
  const { fixed: o, zIndex: s, minWidth: r, height: i, paddingLeft: a, transitionDuration: c, transitionTimingFunction: l } = e, d = o ? "fixed" : "static", f = e.useMinWidthLayout ? `min-width:${r}px;` : "";
723
723
  return `position:${d};z-index:${s};${f}height:${i}px;padding-left:${a}px;transition-duration:${c}ms;transition-timing-function:${l};`;
724
724
  });
725
- return (o, s) => (O(), j("header", {
725
+ return (o, s) => (C(), G("header", {
726
726
  class: "d-layout-header",
727
727
  style: Bt(n.value)
728
728
  }, [
729
- et(o.$slots, "default")
729
+ X(o.$slots, "default")
730
730
  ], 4));
731
731
  }
732
732
  }, er = {
@@ -771,11 +771,11 @@ const Qs = {
771
771
  const { fixed: o, top: s, zIndex: r, minWidth: i, height: a, paddingLeft: c, transitionDuration: l, transitionTimingFunction: d } = e, f = o ? "fixed" : "static", u = e.useMinWidthLayout ? `min-width: ${i}px;` : "";
772
772
  return `position:${f};top:${s}px;z-index:${r};${u}height:${a}px;padding-left:${c}px;transition-duration:${l}ms;transition-timing-function:${d};`;
773
773
  });
774
- return (o, s) => (O(), j("div", {
774
+ return (o, s) => (C(), G("div", {
775
775
  class: "d-layout-tab",
776
776
  style: Bt(n.value)
777
777
  }, [
778
- et(o.$slots, "default")
778
+ X(o.$slots, "default")
779
779
  ], 4));
780
780
  }
781
781
  }, nr = {
@@ -816,11 +816,11 @@ const Qs = {
816
816
  const { fixed: o, zIndex: s, minWidth: r, height: i, paddingLeft: a, transitionDuration: c, transitionTimingFunction: l } = e, d = o ? "fixed" : "static", f = e.useMinWidthLayout ? `min-width:${r}px;` : "";
817
817
  return `position:${d};z-index:${s};${f}height:${i}px;padding-left:${a}px;transition-duration:${c}ms;transition-timing-function:${l};`;
818
818
  });
819
- return (o, s) => (O(), j("footer", {
819
+ return (o, s) => (C(), G("footer", {
820
820
  class: "d-layout-footer",
821
821
  style: Bt(n.value)
822
822
  }, [
823
- et(o.$slots, "default")
823
+ X(o.$slots, "default")
824
824
  ], 4));
825
825
  }
826
826
  }, or = {
@@ -856,11 +856,11 @@ const Qs = {
856
856
  const { zIndex: o, width: s, paddingTop: r, transitionDuration: i, transitionTimingFunction: a } = e;
857
857
  return `z-index:${o};width:${s}px;padding-top:${r}px;transition-duration:${i}ms;transition-timing-function:${a};`;
858
858
  });
859
- return (o, s) => (O(), j("aside", {
859
+ return (o, s) => (C(), G("aside", {
860
860
  class: "d-layout-sidebar",
861
861
  style: Bt(n.value)
862
862
  }, [
863
- et(o.$slots, "default")
863
+ X(o.$slots, "default")
864
864
  ], 4));
865
865
  }
866
866
  }, sr = {
@@ -893,16 +893,16 @@ const Qs = {
893
893
  const { paddingTop: o, paddingBottom: s, paddingLeft: r, transitionDuration: i, transitionTimingFunction: a } = e, c = `overflow:${e.overflowHidden ? "hidden" : "visible"};`;
894
894
  return `padding-top:${o}px;padding-bottom:${s}px;padding-left:${r}px;${c}transition-duration:${i}ms;transition-timing-function:${a};`;
895
895
  });
896
- return (o, s) => (O(), j("main", {
896
+ return (o, s) => (C(), G("main", {
897
897
  style: Bt(n.value),
898
898
  class: "d-layout-content"
899
899
  }, [
900
- et(o.$slots, "default")
900
+ X(o.$slots, "default")
901
901
  ], 4));
902
902
  }
903
903
  };
904
904
  function rr(t) {
905
- const e = ot(0), n = R(() => `transform: translateX(${-e.value}px);`);
905
+ const e = st(0), n = R(() => `transform: translateX(${-e.value}px);`);
906
906
  let o = !1;
907
907
  function s(d) {
908
908
  e.value = d;
@@ -930,7 +930,7 @@ function rr(t) {
930
930
  c();
931
931
  }), n;
932
932
  }
933
- const ir = 1001, cr = 999, lr = 998, Zi = {
933
+ const ir = 1001, cr = 999, lr = 998, rc = {
934
934
  __name: "DLayoutAdmin",
935
935
  props: {
936
936
  mode: {
@@ -1050,11 +1050,11 @@ const ir = 1001, cr = 999, lr = 998, Zi = {
1050
1050
  let _ = 0;
1051
1051
  return n.fixedHeaderAndTab && (n.headerVisible && (_ += n.headerHeight), n.tabVisible && (_ += n.tabHeight)), _;
1052
1052
  }), S = R(() => n.fixedFooter && n.footerVisible ? n.footerHeight : 0);
1053
- return (_, L) => (O(), j("div", {
1053
+ return (_, L) => (C(), G("div", {
1054
1054
  class: "d-layout",
1055
1055
  style: Bt(o.value)
1056
1056
  }, [
1057
- t.headerVisible ? (O(), rt(tr, Te({ key: 0 }, c.value, {
1057
+ t.headerVisible ? (C(), ot(tr, Ce({ key: 0 }, c.value, {
1058
1058
  fixed: t.fixedHeaderAndTab,
1059
1059
  "z-index": ir,
1060
1060
  "min-width": t.minWidth,
@@ -1062,12 +1062,12 @@ const ir = 1001, cr = 999, lr = 998, Zi = {
1062
1062
  "padding-left": D.value,
1063
1063
  style: i.value
1064
1064
  }), {
1065
- default: it(() => [
1066
- et(_.$slots, "header")
1065
+ default: rt(() => [
1066
+ X(_.$slots, "header")
1067
1067
  ]),
1068
1068
  _: 3
1069
1069
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : lt("", !0),
1070
- t.tabVisible ? (O(), rt(er, Te({ key: 1 }, c.value, {
1070
+ t.tabVisible ? (C(), ot(er, Ce({ key: 1 }, c.value, {
1071
1071
  fixed: t.fixedHeaderAndTab,
1072
1072
  "z-index": cr,
1073
1073
  "min-width": t.minWidth,
@@ -1076,39 +1076,39 @@ const ir = 1001, cr = 999, lr = 998, Zi = {
1076
1076
  "padding-left": b.value,
1077
1077
  style: i.value
1078
1078
  }), {
1079
- default: it(() => [
1080
- et(_.$slots, "tab")
1079
+ default: rt(() => [
1080
+ X(_.$slots, "tab")
1081
1081
  ]),
1082
1082
  _: 3
1083
1083
  }, 16, ["fixed", "min-width", "top", "height", "padding-left", "style"])) : lt("", !0),
1084
- t.sidebarVisible ? (O(), rt(or, Te({ key: 2 }, c.value, {
1084
+ t.sidebarVisible ? (C(), ot(or, Ce({ key: 2 }, c.value, {
1085
1085
  "z-index": d.value,
1086
1086
  width: h.value,
1087
1087
  "padding-top": m.value
1088
1088
  }), {
1089
- default: it(() => [
1090
- et(_.$slots, "sidebar")
1089
+ default: rt(() => [
1090
+ X(_.$slots, "sidebar")
1091
1091
  ]),
1092
1092
  _: 3
1093
1093
  }, 16, ["z-index", "width", "padding-top"])) : lt("", !0),
1094
- p.value ? (O(), j("div", {
1094
+ p.value ? (C(), G("div", {
1095
1095
  key: 3,
1096
1096
  class: "d-layout-sidebar-mask",
1097
1097
  style: Bt(v.value),
1098
1098
  onClick: u
1099
1099
  }, null, 4)) : lt("", !0),
1100
- ce(sr, Te(c.value, {
1100
+ ce(sr, Ce(c.value, {
1101
1101
  "padding-top": g.value,
1102
1102
  "padding-bottom": S.value,
1103
1103
  "padding-left": b.value,
1104
1104
  "overflow-hidden": t.addMainOverflowHidden
1105
1105
  }), {
1106
- default: it(() => [
1107
- et(_.$slots, "default")
1106
+ default: rt(() => [
1107
+ X(_.$slots, "default")
1108
1108
  ]),
1109
1109
  _: 3
1110
1110
  }, 16, ["padding-top", "padding-bottom", "padding-left", "overflow-hidden"]),
1111
- t.footerVisible ? (O(), rt(nr, Te({ key: 4 }, c.value, {
1111
+ t.footerVisible ? (C(), ot(nr, Ce({ key: 4 }, c.value, {
1112
1112
  fixed: t.fixedFooter,
1113
1113
  "z-index": lr,
1114
1114
  "min-width": t.minWidth,
@@ -1116,8 +1116,8 @@ const ir = 1001, cr = 999, lr = 998, Zi = {
1116
1116
  "padding-left": b.value,
1117
1117
  style: a.value
1118
1118
  }), {
1119
- default: it(() => [
1120
- et(_.$slots, "footer")
1119
+ default: rt(() => [
1120
+ X(_.$slots, "footer")
1121
1121
  ]),
1122
1122
  _: 3
1123
1123
  }, 16, ["fixed", "min-width", "height", "padding-left", "style"])) : lt("", !0)
@@ -1142,7 +1142,7 @@ const ir = 1001, cr = 999, lr = 998, Zi = {
1142
1142
  ne.state.theme = ne.state.theme === "dark" ? "light" : "dark", document.documentElement.setAttribute("class", ne.state.theme);
1143
1143
  }
1144
1144
  }
1145
- }, Ji = {
1145
+ }, ic = {
1146
1146
  __name: "DConfigProvider",
1147
1147
  props: {
1148
1148
  theme: {
@@ -1152,7 +1152,7 @@ const ir = 1001, cr = 999, lr = 998, Zi = {
1152
1152
  },
1153
1153
  setup(t) {
1154
1154
  const e = t;
1155
- return ne.mutations.setTheme(e.theme), (n, o) => et(n.$slots, "default");
1155
+ return ne.mutations.setTheme(e.theme), (n, o) => X(n.$slots, "default");
1156
1156
  }
1157
1157
  };
1158
1158
  /*!
@@ -1192,11 +1192,11 @@ const It = (t, e) => {
1192
1192
  return (v || s) && (r = p, i = u), [r, v, i];
1193
1193
  };
1194
1194
  return [e ? (d) => a(e(r, i), d) : a, (d) => [r, !!d, i]];
1195
- }, ze = () => typeof window < "u", Fo = ze() && Node.ELEMENT_NODE, { toString: ar, hasOwnProperty: vn } = Object.prototype, Zt = (t) => t === void 0, sn = (t) => t === null, dr = (t) => Zt(t) || sn(t) ? `${t}` : ar.call(t).replace(/^\[object (.+)\]$/, "$1").toLowerCase(), ie = (t) => typeof t == "number", le = (t) => typeof t == "string", Un = (t) => typeof t == "boolean", Lt = (t) => typeof t == "function", kt = (t) => Array.isArray(t), Oe = (t) => typeof t == "object" && !kt(t) && !sn(t), rn = (t) => {
1195
+ }, ze = () => typeof window < "u", Fo = ze() && Node.ELEMENT_NODE, { toString: ar, hasOwnProperty: vn } = Object.prototype, Zt = (t) => t === void 0, sn = (t) => t === null, dr = (t) => Zt(t) || sn(t) ? `${t}` : ar.call(t).replace(/^\[object (.+)\]$/, "$1").toLowerCase(), ie = (t) => typeof t == "number", le = (t) => typeof t == "string", Un = (t) => typeof t == "boolean", Lt = (t) => typeof t == "function", kt = (t) => Array.isArray(t), Ee = (t) => typeof t == "object" && !kt(t) && !sn(t), rn = (t) => {
1196
1196
  const e = !!t && t.length, n = ie(e) && e > -1 && e % 1 == 0;
1197
- return kt(t) || !Lt(t) && n ? e > 0 && Oe(t) ? e - 1 in t : !0 : !1;
1197
+ return kt(t) || !Lt(t) && n ? e > 0 && Ee(t) ? e - 1 in t : !0 : !1;
1198
1198
  }, Tn = (t) => {
1199
- if (!t || !Oe(t) || dr(t) !== "object")
1199
+ if (!t || !Ee(t) || dr(t) !== "object")
1200
1200
  return !1;
1201
1201
  let e;
1202
1202
  const n = "constructor", o = t[n], s = o && o.prototype, r = vn.call(t, n), i = s && vn.call(s, "isPrototypeOf");
@@ -1205,18 +1205,18 @@ const It = (t, e) => {
1205
1205
  for (e in t)
1206
1206
  ;
1207
1207
  return Zt(e) || vn.call(t, e);
1208
- }, Ie = (t) => {
1208
+ }, Oe = (t) => {
1209
1209
  const e = HTMLElement;
1210
1210
  return t ? e ? t instanceof e : t.nodeType === Fo : !1;
1211
1211
  }, cn = (t) => {
1212
1212
  const e = Element;
1213
1213
  return t ? e ? t instanceof e : t.nodeType === Fo : !1;
1214
- }, qn = (t, e, n) => t.indexOf(e, n), J = (t, e, n) => (!n && !le(e) && rn(e) ? Array.prototype.push.apply(t, e) : t.push(e), t), ge = (t) => {
1214
+ }, qn = (t, e, n) => t.indexOf(e, n), Q = (t, e, n) => (!n && !le(e) && rn(e) ? Array.prototype.push.apply(t, e) : t.push(e), t), ge = (t) => {
1215
1215
  const e = Array.from, n = [];
1216
1216
  return e && t ? e(t) : (t instanceof Set ? t.forEach((o) => {
1217
- J(n, o);
1217
+ Q(n, o);
1218
1218
  }) : q(t, (o) => {
1219
- J(n, o);
1219
+ Q(n, o);
1220
1220
  }), n);
1221
1221
  }, Yn = (t) => !!t && t.length === 0, Wt = (t, e, n) => {
1222
1222
  q(t, (s) => s && s.apply(void 0, e || [])), !n && (t.length = 0);
@@ -1244,7 +1244,7 @@ const It = (t, e) => {
1244
1244
  if (Zt(o))
1245
1245
  return n ? n[t] : e;
1246
1246
  n && (le(o) || ie(o)) && (n[t] = o);
1247
- }, mt = (t, e, n) => {
1247
+ }, gt = (t, e, n) => {
1248
1248
  if (Zt(n))
1249
1249
  return t ? t.getAttribute(e) : null;
1250
1250
  t && t.setAttribute(e, n);
@@ -1252,17 +1252,17 @@ const It = (t, e) => {
1252
1252
  t && t.removeAttribute(e);
1253
1253
  }, fe = (t, e, n, o) => {
1254
1254
  if (n) {
1255
- const s = mt(t, e) || "", r = new Set(s.split(" "));
1255
+ const s = gt(t, e) || "", r = new Set(s.split(" "));
1256
1256
  r[o ? "add" : "delete"](n);
1257
1257
  const i = ge(r).join(" ").trim();
1258
- mt(t, e, i);
1258
+ gt(t, e, i);
1259
1259
  }
1260
1260
  }, ur = (t, e, n) => {
1261
- const o = mt(t, e) || "";
1261
+ const o = gt(t, e) || "";
1262
1262
  return new Set(o.split(" ")).has(n);
1263
1263
  }, Et = (t, e) => Wo("scrollLeft", 0, t, e), jt = (t, e) => Wo("scrollTop", 0, t, e), Cn = ze() && Element.prototype, Vo = (t, e) => {
1264
1264
  const n = [], o = e ? cn(e) ? e : null : document;
1265
- return o ? J(n, o.querySelectorAll(t)) : n;
1265
+ return o ? Q(n, o.querySelectorAll(t)) : n;
1266
1266
  }, fr = (t, e) => {
1267
1267
  const n = e ? cn(e) ? e : null : document;
1268
1268
  return n ? n.querySelector(t) : null;
@@ -1303,7 +1303,7 @@ const It = (t, e) => {
1303
1303
  }
1304
1304
  }, pe = (t) => {
1305
1305
  const e = document.createElement("div");
1306
- return t && mt(e, "class", t), e;
1306
+ return t && gt(e, "class", t), e;
1307
1307
  }, Uo = (t) => {
1308
1308
  const e = pe();
1309
1309
  return e.innerHTML = t.trim(), q(jn(e), (n) => Ft(n));
@@ -1316,12 +1316,12 @@ const It = (t, e) => {
1316
1316
  const r = s.replace(/-/g, "");
1317
1317
  return !(e = [t, s + t, r + n, In(r) + n].find((a) => o[a] !== void 0));
1318
1318
  }), bn[t] = e || "";
1319
- }, De = (t) => {
1319
+ }, ke = (t) => {
1320
1320
  if (ze()) {
1321
1321
  let e = yn[t] || window[t];
1322
1322
  return ln(yn, t) || (q(vr, (n) => (e = e || window[n + In(t)], !e)), yn[t] = e), e;
1323
1323
  }
1324
- }, br = De("MutationObserver"), lo = De("IntersectionObserver"), we = De("ResizeObserver"), qo = De("cancelAnimationFrame"), Yo = De("requestAnimationFrame"), On = De("ScrollTimeline"), Je = ze() && window.setTimeout, En = ze() && window.clearTimeout, wr = /[^\x20\t\r\n\f]+/g, Xo = (t, e, n) => {
1324
+ }, br = ke("MutationObserver"), lo = ke("IntersectionObserver"), we = ke("ResizeObserver"), qo = ke("cancelAnimationFrame"), Yo = ke("requestAnimationFrame"), On = ke("ScrollTimeline"), Je = ze() && window.setTimeout, En = ze() && window.clearTimeout, wr = /[^\x20\t\r\n\f]+/g, Xo = (t, e, n) => {
1325
1325
  const o = t && t.classList;
1326
1326
  let s, r = 0, i = !1;
1327
1327
  if (o && e && le(e)) {
@@ -1377,7 +1377,7 @@ const It = (t, e) => {
1377
1377
  Zt(o[e]) ? o.setProperty(e, n) : o[e] = xr(e, n);
1378
1378
  } catch {
1379
1379
  }
1380
- }, Ee = (t) => ht(t, "direction") === "rtl", fo = (t, e, n) => {
1380
+ }, Be = (t) => ht(t, "direction") === "rtl", fo = (t, e, n) => {
1381
1381
  const o = e ? `${e}-` : "", s = n ? `-${n}` : "", r = `${o}top${s}`, i = `${o}right${s}`, a = `${o}bottom${s}`, c = `${o}left${s}`, l = ht(t, [r, i, a, c]);
1382
1382
  return {
1383
1383
  t: Re(l[r], !0),
@@ -1388,7 +1388,7 @@ const It = (t, e) => {
1388
1388
  }, $e = (t, e) => `translate${kt(t) ? `(${t[0]},${t[1]})` : `${e ? "X" : "Y"}(${t})`}`, { round: po } = Math, Jn = {
1389
1389
  w: 0,
1390
1390
  h: 0
1391
- }, Be = (t) => t ? {
1391
+ }, Le = (t) => t ? {
1392
1392
  w: t.offsetWidth,
1393
1393
  h: t.offsetHeight
1394
1394
  } : Jn, Xe = (t) => t ? {
@@ -1422,7 +1422,7 @@ const Dr = () => {
1422
1422
  q(Ko(e), (s) => {
1423
1423
  t.removeEventListener(s, n, o);
1424
1424
  });
1425
- }, dt = (t, e, n, o) => {
1425
+ }, ut = (t, e, n, o) => {
1426
1426
  var s;
1427
1427
  const r = Dr(), i = (s = r && o && o.S) != null ? s : r, a = o && o.$ || !1, c = o && o.C || !1, l = [], d = r ? {
1428
1428
  passive: i,
@@ -1432,7 +1432,7 @@ const Dr = () => {
1432
1432
  const u = c ? (p) => {
1433
1433
  t.removeEventListener(f, u, a), n && n(p);
1434
1434
  } : n;
1435
- J(l, kr.bind(null, t, f, u, a)), t.addEventListener(f, u, d);
1435
+ Q(l, kr.bind(null, t, f, u, a)), t.addEventListener(f, u, d);
1436
1436
  }), Wt.bind(0, l);
1437
1437
  }, Zo = (t) => t.stopPropagation(), Jo = (t) => t.preventDefault(), Tr = {
1438
1438
  x: 0,
@@ -1467,7 +1467,7 @@ const Dr = () => {
1467
1467
  const a = xt(r), c = [];
1468
1468
  return q(a, (l) => {
1469
1469
  const d = r[l];
1470
- d && J(c, o(l, d));
1470
+ d && Q(c, o(l, d));
1471
1471
  }), Wt.bind(0, c);
1472
1472
  }, s = (r, i) => {
1473
1473
  const a = e.get(r);
@@ -1507,7 +1507,7 @@ const Dr = () => {
1507
1507
  const n = {}, o = xt(e).concat(xt(t));
1508
1508
  return q(o, (s) => {
1509
1509
  const r = t[s], i = e[s];
1510
- if (Oe(r) && Oe(i))
1510
+ if (Ee(r) && Ee(i))
1511
1511
  ct(n[s] = {}, Qo(r, i)), Xn(n[s]) && delete n[s];
1512
1512
  else if (ln(e, s) && i !== r) {
1513
1513
  let a = !0;
@@ -1524,14 +1524,14 @@ const Dr = () => {
1524
1524
  return q(kt(t) ? t : [t], (n) => {
1525
1525
  const o = xt(n);
1526
1526
  q(o, (s) => {
1527
- J(e, cs[s] = n[s]);
1527
+ Q(e, cs[s] = n[s]);
1528
1528
  });
1529
1529
  }), e;
1530
1530
  }, qr = "__osOptionsValidationPlugin", Yr = "__osSizeObserverPlugin", no = "__osScrollbarsHidingPlugin", Xr = "__osClickScrollPlugin";
1531
1531
  let xn;
1532
1532
  const xo = (t, e, n, o) => {
1533
1533
  Dt(t, e);
1534
- const s = Xe(e), r = Be(e), i = tn(n);
1534
+ const s = Xe(e), r = Le(e), i = tn(n);
1535
1535
  return o && Ft(e), {
1536
1536
  x: r.h - s.h + i.h,
1537
1537
  y: r.w - s.w + i.w
@@ -1615,7 +1615,7 @@ const xo = (t, e, n, o) => {
1615
1615
  return oo(t, s) || e.apply(0, t);
1616
1616
  }, ls = (t, e, n, o) => {
1617
1617
  const s = Zt(o) ? n : o, r = oo(t, s);
1618
- return !!r && (Ie(r) ? r : e.apply(0, t));
1618
+ return !!r && (Oe(r) ? r : e.apply(0, t));
1619
1619
  }, Qr = (t, e, n) => {
1620
1620
  const { nativeScrollbarsOverlaid: o, body: s } = n || {}, { I: r, A: i } = _t(), { nativeScrollbarsOverlaid: a, body: c } = e, l = o ?? a, d = Zt(s) ? c : s, f = (r.x || r.y) && l, u = t && (sn(d) ? !i : d);
1621
1621
  return !!f || !!u;
@@ -1631,12 +1631,12 @@ const xo = (t, e, n, o) => {
1631
1631
  }, We = "tabindex", Ve = pe.bind(0, ""), $n = (t) => {
1632
1632
  Dt(Kt(t), jn(t)), Ft(t);
1633
1633
  }, ni = (t) => {
1634
- const e = _t(), { q: n, A: o } = e, s = he()[no], r = s && s.T, { elements: i } = n(), { host: a, padding: c, viewport: l, content: d } = i, f = Ie(t), u = f ? {} : t, { elements: p } = u, { host: v, padding: h, viewport: b, content: D } = p || {}, m = f ? t : u.target, g = Ze(m, "textarea"), S = m.ownerDocument, _ = S.documentElement, L = m === S.body, z = S.defaultView, P = Jr.bind(0, [m]), W = ls.bind(0, [m]), st = oo.bind(0, [m]), Y = P.bind(0, Ve, l), F = W.bind(0, Ve, d), w = Y(b), y = w === m, x = y && L, k = !y && F(D), H = !y && Ie(w) && w === k, B = H && !!st(d), T = B ? Y() : w, E = B ? k : F(), U = x ? _ : H ? T : w, G = g ? P(Ve, a, v) : m, $ = x ? U : G, C = H ? E : k, I = S.activeElement, V = !y && z.top === z && I === m, N = {
1634
+ const e = _t(), { q: n, A: o } = e, s = he()[no], r = s && s.T, { elements: i } = n(), { host: a, padding: c, viewport: l, content: d } = i, f = Oe(t), u = f ? {} : t, { elements: p } = u, { host: v, padding: h, viewport: b, content: D } = p || {}, m = f ? t : u.target, g = Ze(m, "textarea"), S = m.ownerDocument, _ = S.documentElement, L = m === S.body, z = S.defaultView, P = Jr.bind(0, [m]), W = ls.bind(0, [m]), it = oo.bind(0, [m]), Y = P.bind(0, Ve, l), F = W.bind(0, Ve, d), w = Y(b), y = w === m, x = y && L, k = !y && F(D), H = !y && Oe(w) && w === k, B = H && !!it(d), T = B ? Y() : w, E = B ? k : F(), U = x ? _ : H ? T : w, K = g ? P(Ve, a, v) : m, $ = x ? U : K, I = H ? E : k, O = S.activeElement, V = !y && z.top === z && O === m, N = {
1635
1635
  Z: m,
1636
1636
  J: $,
1637
1637
  K: U,
1638
1638
  tt: !y && W(Ve, c, h),
1639
- nt: C,
1639
+ nt: I,
1640
1640
  ot: !y && !o && r && r(e),
1641
1641
  st: x ? _ : U,
1642
1642
  et: x ? S : U,
@@ -1647,32 +1647,32 @@ const xo = (t, e, n, o) => {
1647
1647
  ut: f,
1648
1648
  ft: y,
1649
1649
  dt: H,
1650
- _t: (ut, vt) => ur(U, y ? Ot : te, y ? vt : ut),
1651
- ht: (ut, vt, yt) => fe(U, y ? Ot : te, y ? vt : ut, yt)
1652
- }, K = xt(N).reduce((ut, vt) => {
1650
+ _t: (ft, vt) => ur(U, y ? Ot : te, y ? vt : ft),
1651
+ ht: (ft, vt, yt) => fe(U, y ? Ot : te, y ? vt : ft, yt)
1652
+ }, Z = xt(N).reduce((ft, vt) => {
1653
1653
  const yt = N[vt];
1654
- return J(ut, yt && Ie(yt) && !Kt(yt) ? yt : !1);
1655
- }, []), Q = (ut) => ut ? qn(K, ut) > -1 : null, { Z: nt, J: at, tt: Z, K: X, nt: ft, ot: Tt } = N, $t = [() => {
1654
+ return Q(ft, yt && Oe(yt) && !Kt(yt) ? yt : !1);
1655
+ }, []), tt = (ft) => ft ? qn(Z, ft) > -1 : null, { Z: nt, J: at, tt: J, K: j, nt: pt, ot: Tt } = N, $t = [() => {
1656
1656
  bt(at, Ot), bt(at, _n), bt(nt, _n), L && (bt(_, Ot), bt(_, _n));
1657
- }], Jt = g && Q(at);
1658
- let ae = g ? nt : jn([ft, X, Z, at, nt].find((ut) => Q(ut) === !1));
1659
- const ve = x ? nt : ft || X;
1657
+ }], Jt = g && tt(at);
1658
+ let ae = g ? nt : jn([pt, j, J, at, nt].find((ft) => tt(ft) === !1));
1659
+ const ve = x ? nt : pt || j;
1660
1660
  return [N, () => {
1661
- mt(at, Ot, y ? "viewport" : "host"), mt(Z, Bn, ""), mt(ft, vo, ""), y || mt(X, te, "");
1662
- const ut = L && !y ? Gt(Kt(m), ns) : St;
1663
- if (Jt && (co(nt, at), J($t, () => {
1661
+ gt(at, Ot, y ? "viewport" : "host"), gt(J, Bn, ""), gt(pt, vo, ""), y || gt(j, te, "");
1662
+ const ft = L && !y ? Gt(Kt(m), ns) : St;
1663
+ if (Jt && (co(nt, at), Q($t, () => {
1664
1664
  co(at, nt), Ft(at);
1665
- })), Dt(ve, ae), Dt(at, Z), Dt(Z || at, !y && X), Dt(X, ft), J($t, () => {
1666
- ut(), bt(Z, Bn), bt(ft, vo), bt(X, os), bt(X, ss), bt(X, te), Q(ft) && $n(ft), Q(X) && $n(X), Q(Z) && $n(Z);
1667
- }), o && !y && (fe(X, te, rs, !0), J($t, bt.bind(0, X, te))), Tt && (mr(X, Tt), J($t, Ft.bind(0, Tt))), V) {
1668
- const vt = mt(X, We);
1669
- mt(X, We, "-1"), X.focus();
1670
- const yt = () => vt ? mt(X, We, vt) : bt(X, We), Ct = dt(S, "pointerdown keydown", () => {
1665
+ })), Dt(ve, ae), Dt(at, J), Dt(J || at, !y && j), Dt(j, pt), Q($t, () => {
1666
+ ft(), bt(J, Bn), bt(pt, vo), bt(j, os), bt(j, ss), bt(j, te), tt(pt) && $n(pt), tt(j) && $n(j), tt(J) && $n(J);
1667
+ }), o && !y && (fe(j, te, rs, !0), Q($t, bt.bind(0, j, te))), Tt && (mr(j, Tt), Q($t, Ft.bind(0, Tt))), V) {
1668
+ const vt = gt(j, We);
1669
+ gt(j, We, "-1"), j.focus();
1670
+ const yt = () => vt ? gt(j, We, vt) : bt(j, We), Ct = ut(S, "pointerdown keydown", () => {
1671
1671
  yt(), Ct();
1672
1672
  });
1673
- J($t, [yt, Ct]);
1673
+ Q($t, [yt, Ct]);
1674
1674
  } else
1675
- I && I.focus && I.focus();
1675
+ O && O.focus && O.focus();
1676
1676
  ae = 0;
1677
1677
  }, Wt.bind(0, $t)];
1678
1678
  }, oi = (t, e) => {
@@ -1697,14 +1697,14 @@ const xo = (t, e, n, o) => {
1697
1697
  (m || v || !b && g) && ([p, v] = c(u));
1698
1698
  const P = !a && (L || S || v);
1699
1699
  if (P) {
1700
- const W = !_ || !r && !h, st = p.r + p.l, Y = p.t + p.b, F = {
1701
- marginRight: W && !D ? -st : 0,
1700
+ const W = !_ || !r && !h, it = p.r + p.l, Y = p.t + p.b, F = {
1701
+ marginRight: W && !D ? -it : 0,
1702
1702
  marginBottom: W ? -Y : 0,
1703
- marginLeft: W && D ? -st : 0,
1703
+ marginLeft: W && D ? -it : 0,
1704
1704
  top: W ? -p.t : 0,
1705
1705
  right: W ? D ? -p.r : "auto" : 0,
1706
1706
  left: W ? D ? "auto" : -p.l : 0,
1707
- width: W ? `calc(100% + ${st}px)` : ""
1707
+ width: W ? `calc(100% + ${it}px)` : ""
1708
1708
  }, w = {
1709
1709
  paddingTop: W ? p.t : 0,
1710
1710
  paddingRight: W ? p.r : 0,
@@ -1743,27 +1743,27 @@ const xo = (t, e, n, o) => {
1743
1743
  h: o.h > n ? o.h : 0
1744
1744
  };
1745
1745
  }, qe = (t) => t.indexOf(us) === 0, li = (t, e) => {
1746
- const [n, o] = e, { J: s, tt: r, K: i, ot: a, ft: c, ht: l, it: d, ct: f } = t, { k: u, Y: p, A: v, I: h } = _t(), b = he()[no], D = !c && !v && (h.x || h.y), m = d && c, [g, S] = It(Ue, tn.bind(0, i)), [_, L] = It(Ue, Qe.bind(0, i)), [z, P] = It(Ue), [W, st] = It(Ue), [Y] = It(ii), F = (B, T) => {
1746
+ const [n, o] = e, { J: s, tt: r, K: i, ot: a, ft: c, ht: l, it: d, ct: f } = t, { k: u, Y: p, A: v, I: h } = _t(), b = he()[no], D = !c && !v && (h.x || h.y), m = d && c, [g, S] = It(Ue, tn.bind(0, i)), [_, L] = It(Ue, Qe.bind(0, i)), [z, P] = It(Ue), [W, it] = It(Ue), [Y] = It(ii), F = (B, T) => {
1747
1747
  if (ht(i, {
1748
1748
  height: ""
1749
1749
  }), T) {
1750
- const { $t: E, tt: A } = n(), { Ct: U, M: G } = B, $ = tn(s), C = Xe(s), I = ht(i, "boxSizing") === "content-box", V = E || I ? A.b + A.t : 0, N = !(h.x && I);
1750
+ const { $t: E, tt: A } = n(), { Ct: U, M: K } = B, $ = tn(s), I = Xe(s), O = ht(i, "boxSizing") === "content-box", V = E || O ? A.b + A.t : 0, N = !(h.x && O);
1751
1751
  ht(i, {
1752
- height: C.h + $.h + (U.x && N ? G.x : 0) - V
1752
+ height: I.h + $.h + (U.x && N ? K.x : 0) - V
1753
1753
  });
1754
1754
  }
1755
1755
  }, w = (B, T) => {
1756
- const E = !v && !B ? ri : 0, A = (Q, nt, at) => {
1757
- const Z = ht(i, Q), ft = (T ? T[Q] : Z) === "scroll";
1758
- return [Z, ft, ft && !v ? nt ? E : at : 0, nt && !!E];
1759
- }, [U, G, $, C] = A("overflowX", h.x, u.x), [I, V, N, K] = A("overflowY", h.y, u.y);
1756
+ const E = !v && !B ? ri : 0, A = (tt, nt, at) => {
1757
+ const J = ht(i, tt), pt = (T ? T[tt] : J) === "scroll";
1758
+ return [J, pt, pt && !v ? nt ? E : at : 0, nt && !!E];
1759
+ }, [U, K, $, I] = A("overflowX", h.x, u.x), [O, V, N, Z] = A("overflowY", h.y, u.y);
1760
1760
  return {
1761
1761
  Ot: {
1762
1762
  x: U,
1763
- y: I
1763
+ y: O
1764
1764
  },
1765
1765
  Ct: {
1766
- x: G,
1766
+ x: K,
1767
1767
  y: V
1768
1768
  },
1769
1769
  M: {
@@ -1771,28 +1771,28 @@ const xo = (t, e, n, o) => {
1771
1771
  y: N
1772
1772
  },
1773
1773
  D: {
1774
- x: C,
1775
- y: K
1774
+ x: I,
1775
+ y: Z
1776
1776
  }
1777
1777
  };
1778
1778
  }, y = (B, T, E, A) => {
1779
1779
  const U = (V, N) => {
1780
- const K = qe(V), Q = N && K && V.replace(`${us}-`, "") || "";
1781
- return [N && !K ? V : "", qe(Q) ? "hidden" : Q];
1782
- }, [G, $] = U(E.x, T.x), [C, I] = U(E.y, T.y);
1783
- return A.overflowX = $ && C ? $ : G, A.overflowY = I && G ? I : C, w(B, A);
1780
+ const Z = qe(V), tt = N && Z && V.replace(`${us}-`, "") || "";
1781
+ return [N && !Z ? V : "", qe(tt) ? "hidden" : tt];
1782
+ }, [K, $] = U(E.x, T.x), [I, O] = U(E.y, T.y);
1783
+ return A.overflowX = $ && I ? $ : K, A.overflowY = O && K ? O : I, w(B, A);
1784
1784
  }, x = (B, T, E, A) => {
1785
- const { M: U, D: G } = B, { x: $, y: C } = G, { x: I, y: V } = U, { P: N } = n(), K = T ? "marginLeft" : "marginRight", Q = T ? "paddingLeft" : "paddingRight", nt = N[K], at = N.marginBottom, Z = N[Q], X = N.paddingBottom;
1786
- A.width = `calc(100% + ${V + -1 * nt}px)`, A[K] = -V + nt, A.marginBottom = -I + at, E && (A[Q] = Z + (C ? V : 0), A.paddingBottom = X + ($ ? I : 0));
1785
+ const { M: U, D: K } = B, { x: $, y: I } = K, { x: O, y: V } = U, { P: N } = n(), Z = T ? "marginLeft" : "marginRight", tt = T ? "paddingLeft" : "paddingRight", nt = N[Z], at = N.marginBottom, J = N[tt], j = N.paddingBottom;
1786
+ A.width = `calc(100% + ${V + -1 * nt}px)`, A[Z] = -V + nt, A.marginBottom = -O + at, E && (A[tt] = J + (I ? V : 0), A.paddingBottom = j + ($ ? O : 0));
1787
1787
  }, [k, H] = b ? b.L(D, p, i, a, n, w, x) : [() => D, () => [St]];
1788
1788
  return (B, T, E) => {
1789
- const { wt: A, Tt: U, bt: G, xt: $, vt: C, St: I } = B, { gt: V, yt: N } = n(), [K, Q] = T("showNativeOverlaidScrollbars"), [nt, at] = T("overflow"), Z = K && h.x && h.y, X = !c && !p && (A || G || U || Q || C), ft = qe(nt.x), Tt = qe(nt.y), $t = ft || Tt;
1790
- let Jt = S(E), ae = L(E), ve = P(E), ye = st(E), ut;
1791
- if (Q && v && l(rs, Or, !Z), X && (ut = w(Z), F(ut, V)), A || $ || G || I || Q) {
1789
+ const { wt: A, Tt: U, bt: K, xt: $, vt: I, St: O } = B, { gt: V, yt: N } = n(), [Z, tt] = T("showNativeOverlaidScrollbars"), [nt, at] = T("overflow"), J = Z && h.x && h.y, j = !c && !p && (A || K || U || tt || I), pt = qe(nt.x), Tt = qe(nt.y), $t = pt || Tt;
1790
+ let Jt = S(E), ae = L(E), ve = P(E), ye = it(E), ft;
1791
+ if (tt && v && l(rs, Or, !J), j && (ft = w(J), F(ft, V)), A || $ || K || O || tt) {
1792
1792
  $t && l(xe, Se, !1);
1793
- const [Vt, Qt] = H(Z, N, ut), [Ht, Pe] = Jt = g(E), [Nt, ke] = ae = _(E), de = Xe(i);
1793
+ const [Vt, Qt] = H(J, N, ft), [Ht, Pe] = Jt = g(E), [Nt, Te] = ae = _(E), de = Xe(i);
1794
1794
  let gn = Nt, hn = de;
1795
- Vt(), (ke || Pe || Q) && Qt && !Z && k(Qt, Nt, Ht, N) && (hn = Xe(i), gn = Qe(i));
1795
+ Vt(), (Te || Pe || tt) && Qt && !J && k(Qt, Nt, Ht, N) && (hn = Xe(i), gn = Qe(i));
1796
1796
  const ys = {
1797
1797
  w: ee(Hn(Nt.w, gn.w) + Ht.w),
1798
1798
  h: ee(Hn(Nt.h, gn.h) + Ht.h)
@@ -1805,8 +1805,8 @@ const xo = (t, e, n, o) => {
1805
1805
  const [vt, yt] = ye, [Ct, Ne] = ve, [dn, un] = ae, [fn, pn] = Jt, zt = {
1806
1806
  x: Ct.w > 0,
1807
1807
  y: Ct.h > 0
1808
- }, Ae = ft && Tt && (zt.x || zt.y) || ft && zt.x && !zt.y || Tt && zt.y && !zt.x;
1809
- if ($ || I || pn || un || yt || Ne || at || Q || X) {
1808
+ }, Ae = pt && Tt && (zt.x || zt.y) || pt && zt.x && !zt.y || Tt && zt.y && !zt.x;
1809
+ if ($ || O || pn || un || yt || Ne || at || tt || j) {
1810
1810
  const Vt = {
1811
1811
  marginRight: 0,
1812
1812
  marginBottom: 0,
@@ -1814,11 +1814,11 @@ const xo = (t, e, n, o) => {
1814
1814
  width: "",
1815
1815
  overflowY: "",
1816
1816
  overflowX: ""
1817
- }, Qt = y(Z, zt, nt, Vt), Ht = k(Qt, dn, fn, N);
1818
- c || x(Qt, N, Ht, Vt), X && F(Qt, V), c ? (mt(s, os, Vt.overflowX), mt(s, ss, Vt.overflowY)) : ht(i, Vt);
1817
+ }, Qt = y(J, zt, nt, Vt), Ht = k(Qt, dn, fn, N);
1818
+ c || x(Qt, N, Ht, Vt), j && F(Qt, V), c ? (gt(s, os, Vt.overflowX), gt(s, ss, Vt.overflowY)) : ht(i, Vt);
1819
1819
  }
1820
1820
  fe(s, Ot, Se, Ae), fe(r, Bn, Er, Ae), c || fe(i, te, xe, $t);
1821
- const [mn, Me] = Y(w(Z).Ot);
1821
+ const [mn, Me] = Y(w(J).Ot);
1822
1822
  return o({
1823
1823
  Ot: mn,
1824
1824
  zt: {
@@ -1872,17 +1872,17 @@ const xo = (t, e, n, o) => {
1872
1872
  const c = n.reduce((l, d) => {
1873
1873
  if (d) {
1874
1874
  const [f, u] = d, p = u && f && (a ? a(f) : Vo(f, t));
1875
- p && p.length && u && le(u) && J(l, [p, u.trim()], !0);
1875
+ p && p.length && u && le(u) && Q(l, [p, u.trim()], !0);
1876
1876
  }
1877
1877
  return l;
1878
1878
  }, []);
1879
1879
  q(c, (l) => q(l[0], (d) => {
1880
1880
  const f = l[1], u = o.get(d) || [];
1881
1881
  if (t.contains(d)) {
1882
- const v = dt(d, f, (h) => {
1882
+ const v = ut(d, f, (h) => {
1883
1883
  s ? (v(), o.delete(d)) : e(h);
1884
1884
  });
1885
- o.set(d, J(u, v));
1885
+ o.set(d, Q(u, v));
1886
1886
  } else
1887
1887
  Wt(u), o.delete(d);
1888
1888
  }));
@@ -1898,16 +1898,16 @@ const xo = (t, e, n, o) => {
1898
1898
  v: 99
1899
1899
  }), [u, p] = di(t, f, a), v = r || [], h = i || [], b = v.concat(h), D = (g, S) => {
1900
1900
  const _ = l || St, L = d || St, z = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
1901
- let W = !1, st = !1;
1901
+ let W = !1, it = !1;
1902
1902
  if (q(g, (Y) => {
1903
- const { attributeName: F, target: w, type: y, oldValue: x, addedNodes: k, removedNodes: H } = Y, B = y === "attributes", T = y === "childList", E = t === w, A = B && le(F) ? mt(w, F) : 0, U = A !== 0 && x !== A, G = qn(h, F) > -1 && U;
1903
+ const { attributeName: F, target: w, type: y, oldValue: x, addedNodes: k, removedNodes: H } = Y, B = y === "attributes", T = y === "childList", E = t === w, A = B && le(F) ? gt(w, F) : 0, U = A !== 0 && x !== A, K = qn(h, F) > -1 && U;
1904
1904
  if (e && (T || !E)) {
1905
- const $ = !B, C = B && U, I = C && c && Ze(w, c), N = (I ? !_(w, F, x, A) : $ || C) && !L(Y, !!I, t, o);
1906
- q(k, (K) => z.add(K)), q(H, (K) => z.add(K)), st = st || N;
1905
+ const $ = !B, I = B && U, O = I && c && Ze(w, c), N = (O ? !_(w, F, x, A) : $ || I) && !L(Y, !!O, t, o);
1906
+ q(k, (Z) => z.add(Z)), q(H, (Z) => z.add(Z)), it = it || N;
1907
1907
  }
1908
- !e && E && U && !_(w, F, x, A) && (P.add(F), W = W || G);
1909
- }), z.size > 0 && p((Y) => ge(z).reduce((F, w) => (J(F, Vo(Y, w)), Ze(w, Y) ? J(F, w) : F), [])), e)
1910
- return !S && st && n(!1), [!1];
1908
+ !e && E && U && !_(w, F, x, A) && (P.add(F), W = W || K);
1909
+ }), z.size > 0 && p((Y) => ge(z).reduce((F, w) => (Q(F, Vo(Y, w)), Ze(w, Y) ? Q(F, w) : F), [])), e)
1910
+ return !S && it && n(!1), [!1];
1911
1911
  if (P.size > 0 || W) {
1912
1912
  const Y = [ge(P), W];
1913
1913
  return !S && n.apply(0, Y), Y;
@@ -1930,12 +1930,12 @@ const xo = (t, e, n, o) => {
1930
1930
  }
1931
1931
  }];
1932
1932
  }, Ye = 3333333, fs = (t, e, n) => {
1933
- const { Yt: o = !1, Pt: s = !1 } = n || {}, r = he()[Yr], { V: i } = _t(), c = Uo(`<div class="${to}"><div class="${Lr}"></div></div>`)[0], l = c.firstChild, d = Ee.bind(0, t), [f] = It({
1933
+ const { Yt: o = !1, Pt: s = !1 } = n || {}, r = he()[Yr], { V: i } = _t(), c = Uo(`<div class="${to}"><div class="${Lr}"></div></div>`)[0], l = c.firstChild, d = Be.bind(0, t), [f] = It({
1934
1934
  o: void 0,
1935
1935
  _: !0,
1936
1936
  u: (h, b) => !(!h || !_e(h) && _e(b))
1937
1937
  }), u = (h) => {
1938
- const b = kt(h) && h.length > 0 && Oe(h[0]), D = !b && Un(h[0]);
1938
+ const b = kt(h) && h.length > 0 && Ee(h[0]), D = !b && Un(h[0]);
1939
1939
  let m = !1, g = !1, S = !0;
1940
1940
  if (b) {
1941
1941
  const [_, , L] = f(h.pop().contentRect), z = _e(_), P = _e(L);
@@ -1943,7 +1943,7 @@ const xo = (t, e, n, o) => {
1943
1943
  } else
1944
1944
  D ? [, S] = h : g = h === !0;
1945
1945
  if (o && S) {
1946
- const _ = D ? h[0] : Ee(c);
1946
+ const _ = D ? h[0] : Be(c);
1947
1947
  Et(c, _ ? i.n ? -Ye : i.i ? 0 : Ye : Ye), jt(c, Ye);
1948
1948
  }
1949
1949
  m || e({
@@ -1958,23 +1958,23 @@ const xo = (t, e, n, o) => {
1958
1958
  }, () => {
1959
1959
  if (we) {
1960
1960
  const h = new we(u);
1961
- h.observe(l), J(p, () => {
1961
+ h.observe(l), Q(p, () => {
1962
1962
  h.disconnect();
1963
1963
  });
1964
1964
  } else if (r) {
1965
1965
  const [h, b] = r.O(l, u, s);
1966
- v = h, J(p, b);
1966
+ v = h, Q(p, b);
1967
1967
  }
1968
1968
  if (o) {
1969
1969
  const [h] = It({
1970
1970
  o: void 0
1971
1971
  }, d);
1972
- J(p, dt(c, "scroll", (b) => {
1972
+ Q(p, ut(c, "scroll", (b) => {
1973
1973
  const D = h(), [m, g, S] = D;
1974
1974
  g && (Kn(l, "ltr rtl"), m ? Gt(l, "rtl") : Gt(l, "ltr"), u([!!m, g, S])), Zo(b);
1975
1975
  }));
1976
1976
  }
1977
- v && (Gt(c, Br), J(p, dt(c, "animationstart", v, {
1977
+ v && (Gt(c, Br), Q(p, ut(c, "animationstart", v, {
1978
1978
  C: !!we
1979
1979
  }))), (we || r) && Dt(t, c);
1980
1980
  }];
@@ -1998,15 +1998,15 @@ const xo = (t, e, n, o) => {
1998
1998
  if (lo)
1999
1999
  n = new lo((c) => a(c), {
2000
2000
  root: t
2001
- }), n.observe(o), J(s, () => {
2001
+ }), n.observe(o), Q(s, () => {
2002
2002
  n.disconnect();
2003
2003
  });
2004
2004
  else {
2005
2005
  const c = () => {
2006
- const f = Be(o);
2006
+ const f = Le(o);
2007
2007
  i(f);
2008
2008
  }, [l, d] = fs(o, c);
2009
- J(s, l), d(), c();
2009
+ Q(s, l), d(), c();
2010
2010
  }
2011
2011
  Dt(t, o);
2012
2012
  }, () => {
@@ -2039,8 +2039,8 @@ const xo = (t, e, n, o) => {
2039
2039
  }), D = (x) => {
2040
2040
  q(x || Dn, (k) => {
2041
2041
  if (qn(Dn, k) > -1) {
2042
- const H = mt(i, k);
2043
- le(H) ? mt(a, k, H) : bt(a, k);
2042
+ const H = gt(i, k);
2043
+ le(H) ? gt(a, k, H) : bt(a, k);
2044
2044
  }
2045
2045
  });
2046
2046
  }, m = (x, k) => {
@@ -2074,7 +2074,7 @@ const xo = (t, e, n, o) => {
2074
2074
  Tt: k
2075
2075
  };
2076
2076
  return k ? !H && b(B) : d || D(x), B;
2077
- }, [L, z, P] = c || !p ? fi(i, m) : [St, St, St], [W, st] = d ? [St, St] : fs(i, g, {
2077
+ }, [L, z, P] = c || !p ? fi(i, m) : [St, St, St], [W, it] = d ? [St, St] : fs(i, g, {
2078
2078
  Pt: !0,
2079
2079
  Yt: !0
2080
2080
  }), [Y, F] = To(i, !1, _, {
@@ -2092,24 +2092,24 @@ const xo = (t, e, n, o) => {
2092
2092
  return [() => {
2093
2093
  L(), W(), r && r[0](), y && y.disconnect(), Y();
2094
2094
  }, () => {
2095
- y && y.observe(i), D(), st(), z();
2095
+ y && y.observe(i), D(), it(), z();
2096
2096
  }, () => {
2097
2097
  const x = {}, k = F(), H = P(), B = r && r[1]();
2098
- return k && ct(x, _.apply(0, J(k, !0))), H && ct(x, m.apply(0, J(H, !0))), B && ct(x, S.apply(0, J(B, !0))), x;
2098
+ return k && ct(x, _.apply(0, Q(k, !0))), H && ct(x, m.apply(0, Q(H, !0))), B && ct(x, S.apply(0, Q(B, !0))), x;
2099
2099
  }, (x) => {
2100
- const [k] = x("update.ignoreMutation"), [H, B] = x("update.attributes"), [T, E] = x("update.elementEvents"), [A, U] = x("update.debounce"), G = E || B, $ = (C) => Lt(k) && k(C);
2101
- if (G && (r && (r[1](), r[0]()), r = To(c || a, !0, S, {
2100
+ const [k] = x("update.ignoreMutation"), [H, B] = x("update.attributes"), [T, E] = x("update.elementEvents"), [A, U] = x("update.debounce"), K = E || B, $ = (I) => Lt(k) && k(I);
2101
+ if (K && (r && (r[1](), r[0]()), r = To(c || a, !0, S, {
2102
2102
  Mt: h.concat(H || []),
2103
2103
  Rt: T,
2104
2104
  kt: Co,
2105
- Vt: (C, I) => {
2106
- const { target: V, attributeName: N } = C;
2107
- return (!I && N && !d ? pr(V, Co, pi) : !1) || !!be(V, `.${wt}`) || !!$(C);
2105
+ Vt: (I, O) => {
2106
+ const { target: V, attributeName: N } = I;
2107
+ return (!O && N && !d ? pr(V, Co, pi) : !1) || !!be(V, `.${wt}`) || !!$(I);
2108
2108
  }
2109
2109
  })), U)
2110
2110
  if (b.m(), kt(A)) {
2111
- const C = A[0], I = A[1];
2112
- o = ie(C) && C, s = ie(I) && I;
2111
+ const I = A[0], O = A[1];
2112
+ o = ie(I) && I, s = ie(O) && O;
2113
2113
  } else
2114
2114
  ie(A) ? (o = A, s = !1) : (o = !1, s = !1);
2115
2115
  }];
@@ -2144,7 +2144,7 @@ const xo = (t, e, n, o) => {
2144
2144
  y: !1
2145
2145
  },
2146
2146
  gt: !1,
2147
- yt: Ee(t.J)
2147
+ yt: Be(t.J)
2148
2148
  }), hi = (t, e) => {
2149
2149
  const n = zn(e, {}), [o, s, r] = Qn(), [i, a, c] = ni(t), l = ds(gi(i)), [d, f] = l, u = ai(i, l), p = (g, S, _) => {
2150
2150
  const z = xt(g).some((P) => !!g[P]) || !Xn(S) || _;
@@ -2160,7 +2160,7 @@ const xo = (t, e, n, o) => {
2160
2160
  s(), v(), c();
2161
2161
  }];
2162
2162
  }, { round: Eo } = Math, vi = (t) => {
2163
- const { width: e, height: n } = Pt(t), { w: o, h: s } = Be(t);
2163
+ const { width: e, height: n } = Pt(t), { w: o, h: s } = Le(t);
2164
2164
  return {
2165
2165
  x: Eo(e) / o || 1,
2166
2166
  y: Eo(n) / s || 1
@@ -2171,32 +2171,32 @@ const xo = (t, e, n, o) => {
2171
2171
  }, Bo = "pointerup pointerleave pointercancel lostpointercapture", bi = (t) => ({
2172
2172
  transform: [$e("0%", t), $e("-100%", t)],
2173
2173
  [t ? "left" : "top"]: ["0%", "100%"]
2174
- }), wi = (t, e) => dt(t, "mousedown", dt.bind(0, e, "click", Zo, {
2174
+ }), wi = (t, e) => ut(t, "mousedown", ut.bind(0, e, "click", Zo, {
2175
2175
  C: !0,
2176
2176
  $: !0
2177
2177
  }), {
2178
2178
  $: !0
2179
2179
  }), _i = (t, e, n, o, s, r, i) => {
2180
2180
  const { V: a } = _t(), { Gt: c, Xt: l, Ut: d } = o, f = `scroll${i ? "Left" : "Top"}`, u = `client${i ? "X" : "Y"}`, p = i ? "width" : "height", v = i ? "left" : "top", h = i ? "w" : "h", b = i ? "x" : "y", D = (m, g) => (S) => {
2181
- const { Et: _ } = r(), L = Be(l)[h] - Be(c)[h], P = g * S / L * _[b], st = Ee(d) && i ? a.n || a.i ? 1 : -1 : 1;
2182
- s[f] = m + P * st;
2181
+ const { Et: _ } = r(), L = Le(l)[h] - Le(c)[h], P = g * S / L * _[b], it = Be(d) && i ? a.n || a.i ? 1 : -1 : 1;
2182
+ s[f] = m + P * it;
2183
2183
  };
2184
- return dt(l, "pointerdown", (m) => {
2184
+ return ut(l, "pointerdown", (m) => {
2185
2185
  const g = be(m.target, `.${eo}`) === c, S = g ? c : l;
2186
2186
  if (fe(e, Ot, ho, !0), yi(m, t, g)) {
2187
- const _ = !g && m.shiftKey, L = () => Pt(c), z = () => Pt(l), P = (T, E) => (T || L())[v] - (E || z())[v], W = D(s[f] || 0, 1 / vi(s)[b]), st = m[u], Y = L(), F = z(), w = Y[p], y = P(Y, F) + w / 2, x = st - F[v], k = g ? 0 : x - y, H = (T) => {
2187
+ const _ = !g && m.shiftKey, L = () => Pt(c), z = () => Pt(l), P = (T, E) => (T || L())[v] - (E || z())[v], W = D(s[f] || 0, 1 / vi(s)[b]), it = m[u], Y = L(), F = z(), w = Y[p], y = P(Y, F) + w / 2, x = it - F[v], k = g ? 0 : x - y, H = (T) => {
2188
2188
  Wt(B), S.releasePointerCapture(T.pointerId);
2189
- }, B = [fe.bind(0, e, Ot, ho), dt(n, Bo, H), dt(n, "selectstart", (T) => Jo(T), {
2189
+ }, B = [fe.bind(0, e, Ot, ho), ut(n, Bo, H), ut(n, "selectstart", (T) => Jo(T), {
2190
2190
  S: !1
2191
- }), dt(l, Bo, H), dt(l, "pointermove", (T) => {
2192
- const E = T[u] - st;
2191
+ }), ut(l, Bo, H), ut(l, "pointermove", (T) => {
2192
+ const E = T[u] - it;
2193
2193
  (g || _) && W(k + E);
2194
2194
  })];
2195
2195
  if (_)
2196
2196
  W(k);
2197
2197
  else if (!g) {
2198
2198
  const T = he()[Xr];
2199
- T && J(B, T.O(W, P, k, w, x));
2199
+ T && Q(B, T.O(W, P, k, w, x));
2200
2200
  }
2201
2201
  S.setPointerCapture(m.pointerId);
2202
2202
  }
@@ -2213,11 +2213,11 @@ const xo = (t, e, n, o) => {
2213
2213
  }, xi = (t, e) => (n, o, s, r, i, a, c) => {
2214
2214
  const { Ut: l } = n, [d, f] = ue(333), u = !!i.scrollBy;
2215
2215
  let p = !0;
2216
- return Wt.bind(0, [dt(l, "pointerenter", () => {
2216
+ return Wt.bind(0, [ut(l, "pointerenter", () => {
2217
2217
  o(bo, !0);
2218
- }), dt(l, "pointerleave pointercancel", () => {
2218
+ }), ut(l, "pointerleave pointercancel", () => {
2219
2219
  o(bo);
2220
- }), dt(l, "wheel", (v) => {
2220
+ }), ut(l, "wheel", (v) => {
2221
2221
  const { deltaX: h, deltaY: b, deltaMode: D } = v;
2222
2222
  u && p && D === 0 && Kt(l) === r && i.scrollBy({
2223
2223
  left: h,
@@ -2251,62 +2251,62 @@ const xo = (t, e, n, o) => {
2251
2251
  }) : null, Ci = (t, e, n) => {
2252
2252
  const { q: o, H: s } = _t(), { scrollbars: r } = o(), { slot: i } = r, { rt: a, Z: c, J: l, K: d, ut: f, st: u, it: p, ft: v } = e, { scrollbars: h } = f ? {} : t, { slot: b } = h || {}, D = /* @__PURE__ */ new Map(), m = Ho(u, "x"), g = Ho(u, "y"), S = ls([c, l, d], () => v && p ? c : l, i, b), _ = ($) => v && !p && Kt($) === d, L = () => {
2253
2253
  D.forEach(($) => {
2254
- ($ || []).forEach((C) => {
2255
- C.cancel();
2254
+ ($ || []).forEach((I) => {
2255
+ I.cancel();
2256
2256
  });
2257
2257
  });
2258
- }, z = ($, C, I) => {
2259
- const V = I ? Gt : Kn;
2258
+ }, z = ($, I, O) => {
2259
+ const V = O ? Gt : Kn;
2260
2260
  q($, (N) => {
2261
- V(N.Ut, C);
2261
+ V(N.Ut, I);
2262
2262
  });
2263
- }, P = ($, C) => {
2264
- q($, (I) => {
2265
- const [V, N] = C(I);
2263
+ }, P = ($, I) => {
2264
+ q($, (O) => {
2265
+ const [V, N] = I(O);
2266
2266
  ht(V, N);
2267
2267
  });
2268
- }, W = ($, C, I) => {
2268
+ }, W = ($, I, O) => {
2269
2269
  P($, (V) => {
2270
- const { Gt: N, Xt: K } = V;
2270
+ const { Gt: N, Xt: Z } = V;
2271
2271
  return [N, {
2272
- [I ? "width" : "height"]: `${(100 * ps(N, K, I, C)).toFixed(3)}%`
2272
+ [O ? "width" : "height"]: `${(100 * ps(N, Z, O, I)).toFixed(3)}%`
2273
2273
  }];
2274
2274
  });
2275
- }, st = ($, C, I) => {
2275
+ }, it = ($, I, O) => {
2276
2276
  !g && !g && P($, (V) => {
2277
- const { Gt: N, Xt: K, Ut: Q } = V, nt = ki(N, K, u, C, Ee(Q), I);
2277
+ const { Gt: N, Xt: Z, Ut: tt } = V, nt = ki(N, Z, u, I, Be(tt), O);
2278
2278
  return [N, {
2279
- transform: nt === nt ? $e(`${(100 * nt).toFixed(3)}%`, I) : ""
2279
+ transform: nt === nt ? $e(`${(100 * nt).toFixed(3)}%`, O) : ""
2280
2280
  }];
2281
2281
  });
2282
2282
  }, Y = ($) => {
2283
- const { Ut: C } = $, I = _(C) && C;
2284
- return [I, {
2285
- transform: I ? $e([`${Et(u)}px`, `${jt(u)}px`]) : ""
2283
+ const { Ut: I } = $, O = _(I) && I;
2284
+ return [O, {
2285
+ transform: O ? $e([`${Et(u)}px`, `${jt(u)}px`]) : ""
2286
2286
  }];
2287
- }, F = [], w = [], y = [], x = ($, C, I) => {
2288
- const V = Un(I), N = V ? I : !0, K = V ? !I : !0;
2289
- N && z(w, $, C), K && z(y, $, C);
2287
+ }, F = [], w = [], y = [], x = ($, I, O) => {
2288
+ const V = Un(O), N = V ? O : !0, Z = V ? !O : !0;
2289
+ N && z(w, $, I), Z && z(y, $, I);
2290
2290
  }, k = ($) => {
2291
2291
  W(w, $, !0), W(y, $);
2292
2292
  }, H = ($) => {
2293
- st(w, $, !0), st(y, $);
2293
+ it(w, $, !0), it(y, $);
2294
2294
  }, B = () => {
2295
2295
  !g && !g && (v && P(w, Y), v && P(y, Y));
2296
2296
  }, T = ({ Et: $ }) => {
2297
- L(), y.concat(w).forEach(({ Ut: C }) => {
2298
- _(C) && D.set(C, [zo(C, m, $.x, !0), zo(C, g, $.y)]);
2297
+ L(), y.concat(w).forEach(({ Ut: I }) => {
2298
+ _(I) && D.set(I, [zo(I, m, $.x, !0), zo(I, g, $.y)]);
2299
2299
  });
2300
2300
  }, E = ($) => {
2301
- const C = $ ? Mr : Pr, I = $ ? w : y, V = Yn(I) ? yo : "", N = pe(`${wt} ${C} ${V}`), K = pe(is), Q = pe(eo), nt = {
2301
+ const I = $ ? Mr : Pr, O = $ ? w : y, V = Yn(O) ? yo : "", N = pe(`${wt} ${I} ${V}`), Z = pe(is), tt = pe(eo), nt = {
2302
2302
  Ut: N,
2303
- Xt: K,
2304
- Gt: Q
2303
+ Xt: Z,
2304
+ Gt: tt
2305
2305
  };
2306
- return s || Gt(N, Hr), Dt(N, K), Dt(K, Q), J(I, nt), J(F, [() => {
2306
+ return s || Gt(N, Hr), Dt(N, Z), Dt(Z, tt), Q(O, nt), Q(F, [() => {
2307
2307
  L(), D.clear();
2308
2308
  }, Ft.bind(0, N), n(nt, x, a, l, u, $ ? m : g, $)]), nt;
2309
- }, A = E.bind(0, !0), U = E.bind(0, !1), G = () => {
2309
+ }, A = E.bind(0, !0), U = E.bind(0, !1), K = () => {
2310
2310
  Dt(S, w[0].Ut), Dt(S, y[0].Ut), Je(() => {
2311
2311
  x(yo);
2312
2312
  }, 300);
@@ -2329,61 +2329,61 @@ const xo = (t, e, n, o) => {
2329
2329
  sn: U,
2330
2330
  en: P.bind(0, y)
2331
2331
  }
2332
- }, G, Wt.bind(0, F)];
2332
+ }, K, Wt.bind(0, F)];
2333
2333
  }, Ii = (t, e, n, o) => {
2334
2334
  let s, r, i, a, c, l = 0;
2335
- const d = ds({}), [f] = d, [u, p] = ue(), [v, h] = ue(), [b, D] = ue(100), [m, g] = ue(100), [S, _] = ue(100), [L, z] = ue(() => l), [P, W, st] = Ci(t, n.Ft, xi(e, n)), { J: Y, et: F, it: w } = n.Ft, { Qt: y, Wt: x, Zt: k, Jt: H, Kt: B } = P, T = ($) => {
2335
+ const d = ds({}), [f] = d, [u, p] = ue(), [v, h] = ue(), [b, D] = ue(100), [m, g] = ue(100), [S, _] = ue(100), [L, z] = ue(() => l), [P, W, it] = Ci(t, n.Ft, xi(e, n)), { J: Y, et: F, it: w } = n.Ft, { Qt: y, Wt: x, Zt: k, Jt: H, Kt: B } = P, T = ($) => {
2336
2336
  y(Ln, $, !0), y(Ln, $, !1);
2337
- }, E = ($, C) => {
2337
+ }, E = ($, I) => {
2338
2338
  if (z(), $)
2339
2339
  y(_o);
2340
2340
  else {
2341
- const I = () => y(_o, !0);
2342
- l > 0 && !C ? L(I) : I();
2341
+ const O = () => y(_o, !0);
2342
+ l > 0 && !I ? L(O) : O();
2343
2343
  }
2344
2344
  }, A = () => {
2345
2345
  a = r, a && E(!0);
2346
- }, U = [D, z, g, _, h, p, st, dt(Y, "pointerover", A, {
2346
+ }, U = [D, z, g, _, h, p, it, ut(Y, "pointerover", A, {
2347
2347
  C: !0
2348
- }), dt(Y, "pointerenter", A), dt(Y, "pointerleave", () => {
2348
+ }), ut(Y, "pointerenter", A), ut(Y, "pointerleave", () => {
2349
2349
  a = !1, r && E(!1);
2350
- }), dt(Y, "pointermove", () => {
2350
+ }), ut(Y, "pointermove", () => {
2351
2351
  s && u(() => {
2352
2352
  D(), E(!0), m(() => {
2353
2353
  s && E(!1);
2354
2354
  });
2355
2355
  });
2356
- }), dt(F, "scroll", ($) => {
2356
+ }), ut(F, "scroll", ($) => {
2357
2357
  v(() => {
2358
2358
  k(n()), i && E(!0), b(() => {
2359
2359
  i && !a && E(!1);
2360
2360
  });
2361
2361
  }), o($), B();
2362
- })], G = f.bind(0);
2363
- return G.Ft = P, G.qt = W, [($, C, I) => {
2364
- const { Ht: V, Lt: N, It: K, St: Q, Pt: nt } = I, { I: at } = _t(), Z = zn(e, $, C), X = n(), { Et: ft, Ot: Tt, yt: $t, At: Jt } = X, [ae, ve] = Z("showNativeOverlaidScrollbars"), [ye, ut] = Z("scrollbars.theme"), [vt, yt] = Z("scrollbars.visibility"), [Ct, Ne] = Z("scrollbars.autoHide"), [dn, un] = Z("scrollbars.autoHideSuspend"), [fn] = Z("scrollbars.autoHideDelay"), [pn, zt] = Z("scrollbars.dragScroll"), [Ae, mn] = Z("scrollbars.clickScroll"), Me = nt && !C, Vt = V || N || Q, Qt = K || yt, Ht = ae && at.x && at.y, Pe = (Nt, ke) => {
2362
+ })], K = f.bind(0);
2363
+ return K.Ft = P, K.qt = W, [($, I, O) => {
2364
+ const { Ht: V, Lt: N, It: Z, St: tt, Pt: nt } = O, { I: at } = _t(), J = zn(e, $, I), j = n(), { Et: pt, Ot: Tt, yt: $t, At: Jt } = j, [ae, ve] = J("showNativeOverlaidScrollbars"), [ye, ft] = J("scrollbars.theme"), [vt, yt] = J("scrollbars.visibility"), [Ct, Ne] = J("scrollbars.autoHide"), [dn, un] = J("scrollbars.autoHideSuspend"), [fn] = J("scrollbars.autoHideDelay"), [pn, zt] = J("scrollbars.dragScroll"), [Ae, mn] = J("scrollbars.clickScroll"), Me = nt && !I, Vt = V || N || tt, Qt = Z || yt, Ht = ae && at.x && at.y, Pe = (Nt, Te) => {
2365
2365
  const de = vt === "visible" || vt === "auto" && Nt === "scroll";
2366
- return y(Rr, de, ke), de;
2366
+ return y(Rr, de, Te), de;
2367
2367
  };
2368
- if (l = fn, ve && y(Nr, Ht), ut && (y(c), y(ye, !0), c = ye), (un || Me) && (dn && Me && (Jt.x || Jt.y) ? (T(!1), S(() => U.push(dt(F, "scroll", T.bind(0, !0), {
2368
+ if (l = fn, ve && y(Nr, Ht), ft && (y(c), y(ye, !0), c = ye), (un || Me) && (dn && Me && (Jt.x || Jt.y) ? (T(!1), S(() => U.push(ut(F, "scroll", T.bind(0, !0), {
2369
2369
  C: !0
2370
2370
  })))) : T(!0)), Ne && (s = Ct === "move", r = Ct === "leave", i = Ct !== "never", E(!i, !0)), zt && y(Vr, pn), mn && y(Wr, Ae), Qt) {
2371
- const Nt = Pe(Tt.x, !0), ke = Pe(Tt.y, !1);
2372
- y(Fr, !(Nt && ke));
2371
+ const Nt = Pe(Tt.x, !0), Te = Pe(Tt.y, !1);
2372
+ y(Fr, !(Nt && Te));
2373
2373
  }
2374
- Vt && (x(X), k(X), H(X), B(), y(wo, !ft.x, !0), y(wo, !ft.y, !1), y(Ar, $t && !w));
2375
- }, G, Wt.bind(0, U)];
2374
+ Vt && (x(j), k(j), H(j), B(), y(wo, !pt.x, !0), y(wo, !pt.y, !1), y(Ar, $t && !w));
2375
+ }, K, Wt.bind(0, U)];
2376
2376
  }, ms = (t, e, n) => {
2377
2377
  Lt(t) && t(e || void 0, n || void 0);
2378
2378
  }, se = (t, e, n) => {
2379
- const { G: o, q: s, j: r, N: i } = _t(), a = he(), c = Ie(t), l = c ? t : t.target, d = as(l);
2379
+ const { G: o, q: s, j: r, N: i } = _t(), a = he(), c = Oe(t), l = c ? t : t.target, d = as(l);
2380
2380
  if (e && !d) {
2381
2381
  let f = !1;
2382
2382
  const u = (w) => {
2383
2383
  const y = he()[qr], x = y && y.O;
2384
2384
  return x ? x(w, !0) : w;
2385
- }, p = ct({}, o(), u(e)), [v, h, b] = Qn(n), [D, m, g] = hi(t, p), [S, _, L] = Ii(t, p, m, (w) => b("scroll", [F, w])), z = (w, y) => D(w, !!y), P = z.bind(0, {}, !0), W = r(P), st = i(P), Y = (w) => {
2386
- ei(l), W(), st(), L(), g(), f = !0, b("destroyed", [F, !!w]), h();
2385
+ }, p = ct({}, o(), u(e)), [v, h, b] = Qn(n), [D, m, g] = hi(t, p), [S, _, L] = Ii(t, p, m, (w) => b("scroll", [F, w])), z = (w, y) => D(w, !!y), P = z.bind(0, {}, !0), W = r(P), it = i(P), Y = (w) => {
2386
+ ei(l), W(), it(), L(), g(), f = !0, b("destroyed", [F, !!w]), h();
2387
2387
  }, F = {
2388
2388
  options(w, y) {
2389
2389
  if (w) {
@@ -2411,17 +2411,17 @@ const xo = (t, e, n, o) => {
2411
2411
  },
2412
2412
  elements() {
2413
2413
  const { Z: w, J: y, tt: x, K: k, nt: H, st: B, et: T } = m.Ft, { tn: E, cn: A } = _.Ft, U = ($) => {
2414
- const { Gt: C, Xt: I, Ut: V } = $;
2414
+ const { Gt: I, Xt: O, Ut: V } = $;
2415
2415
  return {
2416
2416
  scrollbar: V,
2417
- track: I,
2418
- handle: C
2417
+ track: O,
2418
+ handle: I
2419
2419
  };
2420
- }, G = ($) => {
2421
- const { nn: C, sn: I } = $, V = U(C[0]);
2420
+ }, K = ($) => {
2421
+ const { nn: I, sn: O } = $, V = U(I[0]);
2422
2422
  return ct({}, V, {
2423
2423
  clone: () => {
2424
- const N = U(I());
2424
+ const N = U(O());
2425
2425
  return S({}, !0, {}), N;
2426
2426
  }
2427
2427
  });
@@ -2434,8 +2434,8 @@ const xo = (t, e, n, o) => {
2434
2434
  content: H || k,
2435
2435
  scrollOffsetElement: B,
2436
2436
  scrollEventElement: T,
2437
- scrollbarHorizontal: G(E),
2438
- scrollbarVertical: G(A)
2437
+ scrollbarHorizontal: K(E),
2438
+ scrollbarVertical: K(A)
2439
2439
  });
2440
2440
  },
2441
2441
  update: (w) => z({}, w),
@@ -2444,7 +2444,7 @@ const xo = (t, e, n, o) => {
2444
2444
  return m.Nt((w, y, x) => {
2445
2445
  S(y, x, w);
2446
2446
  }), ti(l, F), q(xt(a), (w) => ms(a[w], 0, F)), Qr(m.Ft.it, s().cancel, !c && t.cancel) ? (Y(!0), F) : (m.qt(), _.qt(), b("initialized", [F]), m.Nt((w, y, x) => {
2447
- const { wt: k, St: H, vt: B, Ht: T, Lt: E, It: A, bt: U, Tt: G } = w;
2447
+ const { wt: k, St: H, vt: B, Ht: T, Lt: E, It: A, bt: U, Tt: K } = w;
2448
2448
  b("updated", [F, {
2449
2449
  updateHints: {
2450
2450
  sizeChanged: k,
@@ -2454,7 +2454,7 @@ const xo = (t, e, n, o) => {
2454
2454
  overflowAmountChanged: E,
2455
2455
  overflowStyleChanged: A,
2456
2456
  contentMutation: U,
2457
- hostMutation: G
2457
+ hostMutation: K
2458
2458
  },
2459
2459
  changedOptions: y,
2460
2460
  force: x
@@ -2515,7 +2515,7 @@ const Oi = () => {
2515
2515
  return re(
2516
2516
  () => {
2517
2517
  var c;
2518
- return tt((c = r.value) == null ? void 0 : c.defer);
2518
+ return et((c = r.value) == null ? void 0 : c.defer);
2519
2519
  },
2520
2520
  (c) => {
2521
2521
  s = c;
@@ -2524,7 +2524,7 @@ const Oi = () => {
2524
2524
  ), re(
2525
2525
  () => {
2526
2526
  var c;
2527
- return tt((c = r.value) == null ? void 0 : c.options);
2527
+ return et((c = r.value) == null ? void 0 : c.options);
2528
2528
  },
2529
2529
  (c) => {
2530
2530
  n = c, se.valid(e) && e.options(n || {}, !0);
@@ -2533,7 +2533,7 @@ const Oi = () => {
2533
2533
  ), re(
2534
2534
  () => {
2535
2535
  var c;
2536
- return tt((c = r.value) == null ? void 0 : c.events);
2536
+ return et((c = r.value) == null ? void 0 : c.events);
2537
2537
  },
2538
2538
  (c) => {
2539
2539
  o = c, se.valid(e) && e.on(
@@ -2568,7 +2568,7 @@ const Oi = () => {
2568
2568
  updated: "osUpdated",
2569
2569
  destroyed: "osDestroyed",
2570
2570
  scroll: "osScroll"
2571
- }, { element: r, options: i, events: a, defer: c } = $s(o), l = je(null), d = je(null), f = ot(), u = ot(!1), [p, v] = gs({ options: i, events: f, defer: c });
2571
+ }, { element: r, options: i, events: a, defer: c } = $s(o), l = je(null), d = je(null), f = st(), u = st(!1), [p, v] = gs({ options: i, events: f, defer: c });
2572
2572
  return e({
2573
2573
  osInstance: v,
2574
2574
  getElement: () => l.value
@@ -2587,7 +2587,7 @@ const Oi = () => {
2587
2587
  return (m = v()) == null ? void 0 : m.destroy();
2588
2588
  }));
2589
2589
  }), re(
2590
- () => tt(a),
2590
+ () => et(a),
2591
2591
  (h) => {
2592
2592
  const b = h || {};
2593
2593
  f.value = Object.keys(s).reduce((D, m) => {
@@ -2602,25 +2602,25 @@ const Oi = () => {
2602
2602
  }, {});
2603
2603
  },
2604
2604
  { deep: !0, immediate: !0 }
2605
- ), (h, b) => (O(), rt(qt(tt(r)), {
2605
+ ), (h, b) => (C(), ot(qt(et(r)), {
2606
2606
  "data-overlayscrollbars-initialize": "",
2607
2607
  ref_key: "elementRef",
2608
2608
  ref: l
2609
2609
  }, {
2610
- default: it(() => [
2611
- u.value ? (O(), j("div", {
2610
+ default: rt(() => [
2611
+ u.value ? (C(), G("div", {
2612
2612
  key: 0,
2613
2613
  ref_key: "slotRef",
2614
2614
  ref: d,
2615
2615
  "data-overlayscrollbars-contents": ""
2616
2616
  }, [
2617
- et(h.$slots, "default")
2618
- ], 512)) : et(h.$slots, "default", { key: 1 })
2617
+ X(h.$slots, "default")
2618
+ ], 512)) : X(h.$slots, "default", { key: 1 })
2619
2619
  ]),
2620
2620
  _: 3
2621
2621
  }, 512));
2622
2622
  }
2623
- }), Qi = {
2623
+ }), cc = {
2624
2624
  __name: "DScrollProvider",
2625
2625
  props: {
2626
2626
  autoHide: {
@@ -2630,7 +2630,7 @@ const Oi = () => {
2630
2630
  // 'never', 'scroll', 'leave' and 'move' - когда гасить
2631
2631
  },
2632
2632
  setup(t) {
2633
- const e = t, n = ot(null), [o, s] = gs({
2633
+ const e = t, n = st(null), [o, s] = gs({
2634
2634
  defer: !0,
2635
2635
  events: {
2636
2636
  initialized: () => {
@@ -2654,7 +2654,7 @@ const Oi = () => {
2654
2654
  autoHide: e.autoHide
2655
2655
  }
2656
2656
  });
2657
- }), Po(() => o(document.body)), (r, i) => et(r.$slots, "default");
2657
+ }), Po(() => o(document.body)), (r, i) => X(r.$slots, "default");
2658
2658
  }
2659
2659
  };
2660
2660
  const Bi = {
@@ -2667,7 +2667,7 @@ const Bi = {
2667
2667
  // 'never', 'scroll', 'leave' and 'move' - когда гасить
2668
2668
  },
2669
2669
  setup(t) {
2670
- const e = t, n = ot(null);
2670
+ const e = t, n = st(null);
2671
2671
  return re(() => ne.state.theme, (o) => {
2672
2672
  n.value.osInstance().options({
2673
2673
  scrollbars: {
@@ -2675,7 +2675,7 @@ const Bi = {
2675
2675
  autoHide: e.autoHide
2676
2676
  }
2677
2677
  });
2678
- }), (o, s) => (O(), rt(tt(Ei), {
2678
+ }), (o, s) => (C(), ot(et(Ei), {
2679
2679
  class: "os-vue",
2680
2680
  ref_key: "osRef",
2681
2681
  ref: n,
@@ -2688,13 +2688,13 @@ const Bi = {
2688
2688
  events: {},
2689
2689
  defer: ""
2690
2690
  }, {
2691
- default: it(() => [
2692
- et(o.$slots, "default", {}, void 0, !0)
2691
+ default: rt(() => [
2692
+ X(o.$slots, "default", {}, void 0, !0)
2693
2693
  ]),
2694
2694
  _: 3
2695
2695
  }, 8, ["options"]));
2696
2696
  }
2697
- }, tc = /* @__PURE__ */ Le(Bi, [["__scopeId", "data-v-9b322173"]]);
2697
+ }, lc = /* @__PURE__ */ De(Bi, [["__scopeId", "data-v-9b322173"]]);
2698
2698
  const Li = { class: "modal-dialog" }, zi = { class: "modal-content" }, Hi = { class: "modal-header" }, Ni = { class: "modal-title" }, Ai = { class: "modal-body" }, Mi = { class: "modal-footer" }, Pi = {
2699
2699
  __name: "DModal",
2700
2700
  props: {
@@ -2708,7 +2708,7 @@ const Li = { class: "modal-dialog" }, zi = { class: "modal-content" }, Hi = { cl
2708
2708
  ks((c) => ({
2709
2709
  "558e9e46": o.width
2710
2710
  }));
2711
- const s = ot(null), r = ot(!1);
2711
+ const s = st(null), r = st(!1);
2712
2712
  r.value = o == null ? void 0 : o.show;
2713
2713
  const i = () => {
2714
2714
  r.value = !0, n("open", s);
@@ -2720,27 +2720,27 @@ const Li = { class: "modal-dialog" }, zi = { class: "modal-content" }, Hi = { cl
2720
2720
  hide: a
2721
2721
  }), (c, l) => {
2722
2722
  const d = Fn("keydown");
2723
- return O(), rt(Ts, { to: "body" }, [
2723
+ return C(), ot(Ts, { to: "body" }, [
2724
2724
  ce(No, { name: "fade" }, {
2725
- default: it(() => [
2726
- r.value ? on((O(), j("div", {
2725
+ default: rt(() => [
2726
+ r.value ? on((C(), G("div", {
2727
2727
  key: 0,
2728
2728
  ref_key: "modalRef",
2729
2729
  ref: s,
2730
2730
  class: "modal"
2731
2731
  }, [
2732
- gt("div", Li, [
2733
- gt("div", zi, [
2734
- gt("div", Hi, [
2735
- gt("h5", Ni, [
2736
- et(c.$slots, "modal-title", {}, void 0, !0)
2732
+ dt("div", Li, [
2733
+ dt("div", zi, [
2734
+ dt("div", Hi, [
2735
+ dt("h5", Ni, [
2736
+ X(c.$slots, "modal-title", {}, void 0, !0)
2737
2737
  ])
2738
2738
  ]),
2739
- gt("div", Ai, [
2740
- et(c.$slots, "default", {}, void 0, !0)
2739
+ dt("div", Ai, [
2740
+ X(c.$slots, "default", {}, void 0, !0)
2741
2741
  ]),
2742
- gt("div", Mi, [
2743
- et(c.$slots, "modal-footer", {}, void 0, !0)
2742
+ dt("div", Mi, [
2743
+ X(c.$slots, "modal-footer", {}, void 0, !0)
2744
2744
  ])
2745
2745
  ])
2746
2746
  ])
@@ -2753,7 +2753,7 @@ const Li = { class: "modal-dialog" }, zi = { class: "modal-content" }, Hi = { cl
2753
2753
  ]);
2754
2754
  };
2755
2755
  }
2756
- }, hs = /* @__PURE__ */ Le(Pi, [["__scopeId", "data-v-82cadd63"]]), me = je();
2756
+ }, hs = /* @__PURE__ */ De(Pi, [["__scopeId", "data-v-82cadd63"]]), me = je();
2757
2757
  function An(t) {
2758
2758
  t === void 0 && (t = me.value.comp.returnValue()), me.value.resolve(t), me.value = null;
2759
2759
  }
@@ -2778,7 +2778,7 @@ Mo({
2778
2778
  transitionAttrs: Object
2779
2779
  },
2780
2780
  setup() {
2781
- const t = ot();
2781
+ const t = st();
2782
2782
  return re(t, () => {
2783
2783
  me.value && (me.value.comp = t.value);
2784
2784
  }), {
@@ -2797,19 +2797,19 @@ const Ri = { style: { display: "flex", "flex-direction": "row", "justify-content
2797
2797
  const n = t;
2798
2798
  return e({
2799
2799
  returnValue: () => !0
2800
- }), (s, r) => (O(), rt(hs, { show: !0 }, {
2801
- "modal-title": it(() => [
2800
+ }), (s, r) => (C(), ot(hs, { show: !0 }, {
2801
+ "modal-title": rt(() => [
2802
2802
  oe(Xt(n.title), 1)
2803
2803
  ]),
2804
- default: it(() => [
2804
+ default: rt(() => [
2805
2805
  oe(Xt(n.message), 1)
2806
2806
  ]),
2807
- "modal-footer": it(() => [
2808
- gt("div", Ri, [
2807
+ "modal-footer": rt(() => [
2808
+ dt("div", Ri, [
2809
2809
  ce(Ge, {
2810
- onClick: r[0] || (r[0] = (i) => tt(An)())
2810
+ onClick: r[0] || (r[0] = (i) => et(An)())
2811
2811
  }, {
2812
- default: it(() => [
2812
+ default: rt(() => [
2813
2813
  oe("Закрыть")
2814
2814
  ]),
2815
2815
  _: 1
@@ -2829,28 +2829,28 @@ const Ri = { style: { display: "flex", "flex-direction": "row", "justify-content
2829
2829
  const n = t;
2830
2830
  return e({
2831
2831
  returnValue: () => !0
2832
- }), (s, r) => (O(), rt(hs, { show: !0 }, {
2833
- "modal-title": it(() => [
2832
+ }), (s, r) => (C(), ot(hs, { show: !0 }, {
2833
+ "modal-title": rt(() => [
2834
2834
  oe(Xt(n.title), 1)
2835
2835
  ]),
2836
- default: it(() => [
2836
+ default: rt(() => [
2837
2837
  oe(Xt(n.message), 1)
2838
2838
  ]),
2839
- "modal-footer": it(() => [
2840
- gt("div", Wi, [
2839
+ "modal-footer": rt(() => [
2840
+ dt("div", Wi, [
2841
2841
  ce(Ge, {
2842
- onClick: r[0] || (r[0] = (i) => tt(An)())
2842
+ onClick: r[0] || (r[0] = (i) => et(An)())
2843
2843
  }, {
2844
- default: it(() => [
2844
+ default: rt(() => [
2845
2845
  oe("Да")
2846
2846
  ]),
2847
2847
  _: 1
2848
2848
  }),
2849
2849
  ce(Ge, {
2850
2850
  class: "button-red",
2851
- onClick: r[1] || (r[1] = (i) => tt(An)(!1))
2851
+ onClick: r[1] || (r[1] = (i) => et(An)(!1))
2852
2852
  }, {
2853
- default: it(() => [
2853
+ default: rt(() => [
2854
2854
  oe("Нет")
2855
2855
  ]),
2856
2856
  _: 1
@@ -2860,7 +2860,7 @@ const Ri = { style: { display: "flex", "flex-direction": "row", "justify-content
2860
2860
  _: 1
2861
2861
  }));
2862
2862
  }
2863
- }, Ui = { class: "dropdown" }, ec = {
2863
+ }, Ui = { class: "dropdown" }, ac = {
2864
2864
  __name: "DDropdown",
2865
2865
  props: {
2866
2866
  class: String,
@@ -2872,7 +2872,7 @@ const Ri = { style: { display: "flex", "flex-direction": "row", "justify-content
2872
2872
  },
2873
2873
  emits: ["click"],
2874
2874
  setup(t, { expose: e, emit: n }) {
2875
- const o = t, s = ot(null), r = ot(null), i = ot(!1), a = ot(0), c = ot(0), l = () => {
2875
+ const o = t, s = st(null), r = st(null), i = st(!1), a = st(0), c = st(0), l = () => {
2876
2876
  Rt.emit("menu-show-request"), i.value = !i.value, Ro(() => {
2877
2877
  const p = s.value.elementSize(), v = r.value.elementSize(), h = window.innerWidth, b = window.innerHeight;
2878
2878
  a.value = h - (v.x + v.width) < p.width ? v.width - p.width : 0, c.value = b - (v.y + v.height) < p.height ? -p.height : v.height + 10;
@@ -2893,7 +2893,7 @@ const Ri = { style: { display: "flex", "flex-direction": "row", "justify-content
2893
2893
  hide: u
2894
2894
  }), (p, v) => {
2895
2895
  const h = Fn("click-outside");
2896
- return O(), j("div", Ui, [
2896
+ return C(), G("div", Ui, [
2897
2897
  ce(Ge, {
2898
2898
  ref_key: "buttonRef",
2899
2899
  ref: r,
@@ -2901,8 +2901,8 @@ const Ri = { style: { display: "flex", "flex-direction": "row", "justify-content
2901
2901
  icon: o.icon,
2902
2902
  onClick: Mt(l, ["stop", "prevent"])
2903
2903
  }, {
2904
- default: it(() => [
2905
- et(p.$slots, "default")
2904
+ default: rt(() => [
2905
+ X(p.$slots, "default")
2906
2906
  ]),
2907
2907
  _: 3
2908
2908
  }, 8, ["class", "icon", "onClick"]),
@@ -2920,14 +2920,14 @@ const Ri = { style: { display: "flex", "flex-direction": "row", "justify-content
2920
2920
  ]);
2921
2921
  };
2922
2922
  }
2923
- }, nc = {
2923
+ }, dc = {
2924
2924
  __name: "DContextMenu",
2925
2925
  props: {
2926
2926
  items: Array
2927
2927
  },
2928
2928
  emits: ["click"],
2929
2929
  setup(t, { expose: e, emit: n }) {
2930
- const o = t, s = ot(null), r = ot(!1), i = ot(0), a = ot(0), c = R(() => ({
2930
+ const o = t, s = st(null), r = st(!1), i = st(0), a = st(0), c = R(() => ({
2931
2931
  left: i.value + "px",
2932
2932
  top: a.value + "px",
2933
2933
  display: r.value && o.items.length > 0 ? "block" : "none"
@@ -2950,7 +2950,7 @@ const Ri = { style: { display: "flex", "flex-direction": "row", "justify-content
2950
2950
  hide: d
2951
2951
  }), (u, p) => {
2952
2952
  const v = Fn("click-outside");
2953
- return on((O(), rt(Vn, {
2953
+ return on((C(), ot(Vn, {
2954
2954
  ref_key: "menuRef",
2955
2955
  ref: s,
2956
2956
  items: o.items,
@@ -2967,33 +2967,59 @@ const Ri = { style: { display: "flex", "flex-direction": "row", "justify-content
2967
2967
  }, qi = ["onClick"], Yi = {
2968
2968
  key: 1,
2969
2969
  class: "hr"
2970
- }, Xi = { key: 2 }, oc = {
2970
+ }, Xi = { key: 2 }, uc = {
2971
2971
  __name: "DContextMenuItem",
2972
2972
  props: {
2973
2973
  item: Object
2974
2974
  },
2975
2975
  setup(t) {
2976
2976
  const e = t;
2977
- return (n, o) => (O(!0), j(nn, null, Pn(e.items, (s) => (O(), j("li", {
2977
+ return (n, o) => (C(!0), G(nn, null, Pn(e.items, (s) => (C(), G("li", {
2978
2978
  key: s.id
2979
2979
  }, [
2980
- s.type === void 0 ? (O(), j("a", {
2980
+ s.type === void 0 ? (C(), G("a", {
2981
2981
  key: 0,
2982
2982
  onClick: Mt((r) => n.clickContext(r, s), ["prevent"]),
2983
2983
  href: "#"
2984
2984
  }, Xt(s.name), 9, qi)) : lt("", !0),
2985
- s.type === "divider" ? (O(), j("hr", Yi)) : lt("", !0),
2986
- s ? (O(), j("ul", Xi)) : lt("", !0)
2985
+ s.type === "divider" ? (C(), G("hr", Yi)) : lt("", !0),
2986
+ s ? (C(), G("ul", Xi)) : lt("", !0)
2987
2987
  ]))), 128));
2988
2988
  }
2989
+ }, ji = {}, Gi = { class: "d-panel" };
2990
+ function Ki(t, e) {
2991
+ return C(), G("div", Gi, [
2992
+ X(t.$slots, "default")
2993
+ ]);
2994
+ }
2995
+ const Zi = /* @__PURE__ */ De(ji, [["render", Ki]]), Ji = { class: "card-header" }, Qi = { class: "modal-title" }, tc = { class: "card-body" }, ec = { class: "card-footer" }, fc = {
2996
+ __name: "DCard",
2997
+ setup(t) {
2998
+ return (e, n) => (C(), ot(Zi, { class: "d-card" }, {
2999
+ default: rt(() => [
3000
+ dt("div", Ji, [
3001
+ dt("h5", Qi, [
3002
+ X(e.$slots, "title")
3003
+ ])
3004
+ ]),
3005
+ dt("div", tc, [
3006
+ X(e.$slots, "default")
3007
+ ]),
3008
+ dt("div", ec, [
3009
+ X(e.$slots, "footer")
3010
+ ])
3011
+ ]),
3012
+ _: 3
3013
+ }));
3014
+ }
2989
3015
  };
2990
- async function sc(t, e) {
3016
+ async function pc(t, e) {
2991
3017
  return await vs(Fi, { title: t, message: e });
2992
3018
  }
2993
- async function rc(t, e) {
3019
+ async function mc(t, e) {
2994
3020
  return await vs(Vi, { title: t, message: e });
2995
3021
  }
2996
- const ic = {
3022
+ const gc = {
2997
3023
  mounted: function(t, e) {
2998
3024
  t.clickOutsideEvent = function(n) {
2999
3025
  t === n.target || t.contains(n.target) || e.value(n, t);
@@ -3004,36 +3030,38 @@ const ic = {
3004
3030
  }
3005
3031
  };
3006
3032
  export {
3007
- Ki as DAccordion,
3033
+ sc as DAccordion,
3008
3034
  Fi as DAlertDialog,
3009
3035
  Ls as DBadge,
3010
3036
  Ge as DButton,
3037
+ fc as DCard,
3011
3038
  zs as DCollapse,
3012
- Ji as DConfigProvider,
3039
+ ic as DConfigProvider,
3013
3040
  Vi as DConfirmDialog,
3014
- nc as DContextMenu,
3015
- oc as DContextMenuItem,
3016
- ec as DDropdown,
3041
+ dc as DContextMenu,
3042
+ uc as DContextMenuItem,
3043
+ ac as DDropdown,
3017
3044
  ne as DGlobalStore,
3018
- Ce as DIcon,
3045
+ Ie as DIcon,
3019
3046
  Yt as DIconStore,
3020
- Gi as DInput,
3021
- Zi as DLayoutAdmin,
3047
+ oc as DInput,
3048
+ rc as DLayoutAdmin,
3022
3049
  sr as DLayoutContent,
3023
3050
  nr as DLayoutFooter,
3024
3051
  tr as DLayoutHeader,
3025
3052
  or as DLayoutSidebar,
3026
3053
  er as DLayoutTab,
3027
3054
  hs as DModal,
3028
- tc as DScroll,
3029
- Qi as DScrollProvider,
3055
+ Zi as DPanel,
3056
+ lc as DScroll,
3057
+ cc as DScrollProvider,
3030
3058
  Ke as DTransferStore,
3031
3059
  Vn as DTree,
3032
3060
  Ks as DTreeItem,
3033
3061
  M as DTreeStore,
3034
- sc as alert,
3035
- ic as clickOutside,
3036
- rc as confirm,
3062
+ pc as alert,
3063
+ gc as clickOutside,
3064
+ mc as confirm,
3037
3065
  Rt as emitter,
3038
3066
  Zs as eventsBus
3039
3067
  };