maz-ui 3.28.1 → 3.28.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/components/MazDialog.mjs +1 -1
  2. package/components/MazDialogPromise.d.ts +2 -2
  3. package/components/MazDialogPromise.mjs +1 -1
  4. package/components/MazPicker.mjs +1 -1
  5. package/components/MazSlider.mjs +13 -13
  6. package/components/assets/MazAccordion.css +1 -1
  7. package/components/assets/MazDialog.css +1 -1
  8. package/components/assets/MazDialogPromise.css +1 -1
  9. package/components/assets/MazPickerTime.css +1 -1
  10. package/components/assets/MazSlider.css +1 -1
  11. package/components/chunks/{MazBtn-ihybeYfj.mjs → MazBtn-1GfXytgO.mjs} +2 -2
  12. package/components/chunks/{MazBtn-75uMWztZ.mjs → MazBtn-XVOvUDSP.mjs} +2 -2
  13. package/components/chunks/{MazBtn-aeOcptVQ.mjs → MazBtn-v6ANLVfx.mjs} +2 -2
  14. package/components/chunks/{MazDialog-4hwbB9Pu.mjs → MazDialog-txglnMfN.mjs} +53 -46
  15. package/components/chunks/{MazDialogPromise-S5KZWzcc.mjs → MazDialogPromise-YMK741ph.mjs} +78 -71
  16. package/components/chunks/{MazInput-ygxp70-3.mjs → MazInput-BJnR_H4m.mjs} +2 -2
  17. package/components/chunks/{MazPicker--SpH1ACw.mjs → MazPicker-DBOTnZbk.mjs} +2 -2
  18. package/components/chunks/{MazPickerCalendar-dq57Doac.mjs → MazPickerCalendar-flhTDFlr.mjs} +3 -3
  19. package/components/chunks/{MazPickerHeader-vADXyCp_.mjs → MazPickerHeader-s-Vi7Luu.mjs} +1 -1
  20. package/components/chunks/{MazPickerMonthSwitcher-aeRVlsoy.mjs → MazPickerMonthSwitcher-3XcYjNB4.mjs} +2 -2
  21. package/components/chunks/{MazPickerShortcuts-2IhArlZ9.mjs → MazPickerShortcuts-7wPe2QOq.mjs} +2 -2
  22. package/components/chunks/{MazPickerTime-ImYGbQI8.mjs → MazPickerTime-BnE9Z2o_.mjs} +4 -4
  23. package/components/chunks/{MazPickerYearSwitcher-pXTsByr2.mjs → MazPickerYearSwitcher-QcFW_c-2.mjs} +3 -3
  24. package/components/chunks/{MazSpinner-QH5vPuqi.mjs → MazSpinner-3qW6Rw_y.mjs} +1 -1
  25. package/components/chunks/{MazSpinner-o8W7u7BZ.mjs → MazSpinner-DIsY_F3o.mjs} +1 -1
  26. package/components/chunks/{MazSpinner-qBW8Wt2P.mjs → MazSpinner-U4RTXx9S.mjs} +1 -1
  27. package/modules/chunks/{MazBtn-BjjqJeyy.cjs → MazBtn-5jYVOHi5.cjs} +1 -1
  28. package/modules/chunks/{MazBtn-i7A6854I.mjs → MazBtn-zKfVjg-f.mjs} +2 -2
  29. package/modules/chunks/{MazIcon-mZNgyUkv.cjs → MazIcon-O-Sd2-b9.cjs} +1 -1
  30. package/modules/chunks/{MazIcon-_zmW6Z2N.mjs → MazIcon-osQoIva8.mjs} +1 -1
  31. package/modules/chunks/{MazSpinner-mn9MhxbV.cjs → MazSpinner-ElCcZG5D.cjs} +1 -1
  32. package/modules/chunks/{MazSpinner-zUQyynC3.mjs → MazSpinner-IpRhoOeg.mjs} +1 -1
  33. package/modules/chunks/{index-DCZgntsf.cjs → index-f0w7PwtX.cjs} +2 -2
  34. package/modules/chunks/{index-ezXyG63J.mjs → index-f8XjDm3D.mjs} +168 -163
  35. package/modules/index.cjs +1 -1
  36. package/modules/index.mjs +1 -1
  37. package/nuxt/index.json +1 -1
  38. package/package.json +1 -1
  39. package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -0
  40. package/types/components/MazDialogPromise.vue.d.ts +2 -2
  41. package/types/modules/composables/index.d.ts +1 -1
  42. /package/{types/modules/composables → components/MazDialogPromise}/use-maz-dialog-promise.d.ts +0 -0
@@ -1,10 +1,10 @@
1
- var Qe = Object.defineProperty;
2
- var Je = (s, e, t) => e in s ? Qe(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
- var a = (s, e, t) => (Je(s, typeof e != "symbol" ? e + "" : e, t), t);
1
+ var Ge = Object.defineProperty;
2
+ var Qe = (s, e, t) => e in s ? Ge(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
+ var a = (s, e, t) => (Qe(s, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import "../assets/index.css";
5
- import { inject as et, createVNode as P, render as ee, nextTick as He, defineComponent as $e, defineAsyncComponent as w, onBeforeMount as tt, ref as h, computed as g, onMounted as Ee, onBeforeUnmount as De, openBlock as z, createElementBlock as Z, normalizeClass as re, withModifiers as $, withKeys as st, withDirectives as be, unref as L, vShow as we, createCommentVNode as H, createElementVNode as E, Transition as Me, withCtx as ne, watch as it, createBlock as U, resolveDynamicComponent as ot, toDisplayString as pe, createTextVNode as nt, normalizeStyle as rt } from "vue";
5
+ import { inject as Je, createVNode as H, render as ee, nextTick as He, defineComponent as $e, defineAsyncComponent as w, onBeforeMount as et, ref as h, computed as g, onMounted as Ee, onBeforeUnmount as tt, openBlock as z, createElementBlock as Z, normalizeClass as re, withModifiers as D, withKeys as st, withDirectives as be, unref as T, vShow as we, createCommentVNode as $, createElementVNode as I, Transition as De, withCtx as ne, watch as it, createBlock as U, resolveDynamicComponent as ot, toDisplayString as pe, createTextVNode as nt, normalizeStyle as rt } from "vue";
6
6
  function Le(s, e) {
7
- const t = et(s, e);
7
+ const t = Je(s, e);
8
8
  if (!t)
9
9
  throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${s}`);
10
10
  return t;
@@ -20,19 +20,19 @@ function ns(s, e) {
20
20
  function at(s) {
21
21
  return !!s;
22
22
  }
23
- function Be(s, e) {
23
+ function Me(s, e) {
24
24
  let t = e == null ? void 0 : e.element;
25
25
  function i() {
26
26
  t && ee(null, t);
27
27
  }
28
- const o = P(
28
+ const o = H(
29
29
  s,
30
30
  { ...e == null ? void 0 : e.props, ...e != null && e.addDestroyInProps ? { destroy: i } : {} },
31
31
  e == null ? void 0 : e.children
32
32
  );
33
33
  return e != null && e.app ? (o.appContext = e.app._context, t ? ee(o, t) : typeof document < "u" && (t = document.createElement("div"), ee(o, t))) : (t = t ?? document.body, ee(o, t)), { vNode: o, destroy: i, el: t };
34
34
  }
35
- function D() {
35
+ function M() {
36
36
  return typeof document < "u";
37
37
  }
38
38
  class lt {
@@ -83,13 +83,13 @@ class lt {
83
83
  this.callback = e, this.options = {
84
84
  ...this.defaultOptions,
85
85
  ...t
86
- }, D() && this.start();
86
+ }, M() && this.start();
87
87
  }
88
88
  get element() {
89
89
  return this.options.element ?? document.body;
90
90
  }
91
91
  start() {
92
- if (!D()) {
92
+ if (!M()) {
93
93
  console.warn("[IdleTimeout](start) you should run this method on client side");
94
94
  return;
95
95
  }
@@ -108,7 +108,7 @@ class lt {
108
108
  this.isDestroy = !1, this.isIdle = !1, this.remainingTime = 0, this.resetTimeout(), this.callback({ isIdle: this.isIdle });
109
109
  }
110
110
  destroy() {
111
- if (!D()) {
111
+ if (!M()) {
112
112
  console.warn("[IdleTimeout](destroy) you should run this method on client side");
113
113
  return;
114
114
  }
@@ -157,10 +157,10 @@ class ct {
157
157
  this.callback = e, this.options = {
158
158
  ...this.defaultOptions,
159
159
  ...t
160
- }, this.eventHandlerFunction = this.eventHandler.bind(this), D() && this.start();
160
+ }, this.eventHandlerFunction = this.eventHandler.bind(this), M() && this.start();
161
161
  }
162
162
  start() {
163
- if (!D()) {
163
+ if (!M()) {
164
164
  console.warn("[UserVisibility](start) you should run this method on client side");
165
165
  return;
166
166
  }
@@ -238,8 +238,8 @@ function as(s) {
238
238
  return t ? t % 32 + 127461 : void 0;
239
239
  }).filter(at).map((e) => String.fromCodePoint(e)).join("");
240
240
  }
241
- const ae = "__vue_click_away__", Fe = () => document.ontouchstart === null ? "touchstart" : "click", Ne = async (s, e) => {
242
- _e(s);
241
+ const ae = "__vue_click_away__", Be = () => document.ontouchstart === null ? "touchstart" : "click", Fe = async (s, e) => {
242
+ Ne(s);
243
243
  const t = e.instance, i = e.value, o = typeof i == "function";
244
244
  if (!o)
245
245
  throw new Error("[maz-ui](vClickOutside) the callback should be a function");
@@ -247,22 +247,22 @@ const ae = "__vue_click_away__", Fe = () => document.ontouchstart === null ? "to
247
247
  if ((!s || !s.contains(d.target)) && i && o)
248
248
  return i.call(t, d);
249
249
  };
250
- const m = Fe();
250
+ const m = Be();
251
251
  document.addEventListener(m, s[ae], !1);
252
- }, _e = (s) => {
253
- const e = Fe();
252
+ }, Ne = (s) => {
253
+ const e = Be();
254
254
  document.removeEventListener(e, s[ae], !1), delete s[ae];
255
255
  }, ut = (s, e) => {
256
- e.value !== e.oldValue && Ne(s, e);
257
- }, qe = {
258
- mounted: Ne,
256
+ e.value !== e.oldValue && Fe(s, e);
257
+ }, _e = {
258
+ mounted: Fe,
259
259
  updated: ut,
260
- unmounted: _e
260
+ unmounted: Ne
261
261
  }, ls = {
262
262
  install: (s) => {
263
- s.directive("click-outside", qe);
263
+ s.directive("click-outside", _e);
264
264
  }
265
- }, Ue = (s, e, t, i) => {
265
+ }, qe = (s, e, t, i) => {
266
266
  s.stopPropagation();
267
267
  const { handler: o, exclude: m } = t.value;
268
268
  let d = !1;
@@ -270,24 +270,24 @@ const ae = "__vue_click_away__", Fe = () => document.ontouchstart === null ? "to
270
270
  for (const l of m)
271
271
  d || (d = i.context.$refs[l].contains(s.target));
272
272
  !e.contains(s.target) && !d && i.context[o]();
273
- }, Ve = () => document.ontouchstart === null ? "touchstart" : "click", mt = (s, e, t) => {
274
- const i = Ve();
273
+ }, Ue = () => document.ontouchstart === null ? "touchstart" : "click", mt = (s, e, t) => {
274
+ const i = Ue();
275
275
  document.removeEventListener(
276
276
  i,
277
- (o) => Ue(o, s, e, t)
277
+ (o) => qe(o, s, e, t)
278
278
  );
279
279
  }, dt = (s, e, t) => {
280
- const i = Ve();
280
+ const i = Ue();
281
281
  document.addEventListener(
282
282
  i,
283
- (o) => Ue(o, s, e, t)
283
+ (o) => qe(o, s, e, t)
284
284
  );
285
- }, je = {
285
+ }, Ve = {
286
286
  mounted: dt,
287
287
  unmounted: mt
288
288
  }, cs = {
289
289
  install: (s) => {
290
- s.directive("closable", je);
290
+ s.directive("closable", Ve);
291
291
  }
292
292
  }, ht = `
293
293
  .maz-zoom-img {
@@ -553,7 +553,7 @@ class vt {
553
553
  }
554
554
  }
555
555
  let te;
556
- const Re = {
556
+ const je = {
557
557
  created(s, e) {
558
558
  te = new vt(e), te.create(s);
559
559
  },
@@ -565,7 +565,7 @@ const Re = {
565
565
  }
566
566
  }, us = {
567
567
  install(s) {
568
- s.directive("zoom-img", Re);
568
+ s.directive("zoom-img", je);
569
569
  }
570
570
  }, ft = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", ze = {
571
571
  baseClass: "m-lazy-img",
@@ -581,7 +581,7 @@ const Re = {
581
581
  threshold: 0.1
582
582
  }
583
583
  };
584
- class We {
584
+ class Re {
585
585
  constructor(e = {}) {
586
586
  a(this, "observers", []);
587
587
  a(this, "defaultOptions", ze);
@@ -739,7 +739,7 @@ let se;
739
739
  const gt = {
740
740
  created(s, e) {
741
741
  const t = typeof e.value == "object" ? e.value : {};
742
- se = new We(t), se.add(s, e);
742
+ se = new Re(t), se.add(s, e);
743
743
  },
744
744
  updated(s, e) {
745
745
  se.update(s, e);
@@ -756,7 +756,7 @@ const gt = {
756
756
  ...ze.observerOptions,
757
757
  ...e.observerOptions
758
758
  }
759
- }, i = new We(t);
759
+ }, i = new Re(t);
760
760
  s.directive(pt, {
761
761
  created: i.add.bind(i),
762
762
  updated: i.update.bind(i),
@@ -779,24 +779,24 @@ const gt = {
779
779
  },
780
780
  emits: ["close", "previous", "next", "before-close"],
781
781
  setup(s, { emit: e }) {
782
- const t = e, i = w(() => import("./MazSpinner-zUQyynC3.mjs")), o = w(() => import("./x-mark-pPwcH6Hz.mjs")), m = w(() => import("./chevron-left-48sF6neb.mjs"));
782
+ const t = e, i = w(() => import("./MazSpinner-IpRhoOeg.mjs")), o = w(() => import("./x-mark-pPwcH6Hz.mjs")), m = w(() => import("./chevron-left-48sF6neb.mjs"));
783
783
  let d;
784
- tt(async () => {
784
+ et(async () => {
785
785
  d = await import("vue-scrollto");
786
786
  });
787
- const l = s, f = h(!1), p = h(!1), y = h(!1), v = h(!1), M = h(!1), I = h(!1), T = h(!1), C = h(l.clickedElement instanceof HTMLImageElement), G = h(l.src), B = h(l.alt), F = h(), c = h(), k = g(
788
- () => C.value && l.animated && !l.scaleAnimation
787
+ const l = s, f = h(!1), E = h(!1), p = h(!1), v = h(!1), L = h(!1), y = h(!1), k = h(!1), S = h(l.clickedElement instanceof HTMLImageElement), G = h(l.src), B = h(l.alt), F = h(), c = h(), A = g(
788
+ () => S.value && l.animated && !l.scaleAnimation
789
789
  ), N = g(
790
- () => (C.value || !l.animated) && !l.scaleAnimation
791
- ), _ = h(!1), le = g(() => I.value ? `--is-zoomed maz-cursor-zoom-in maz-max-w-[none] ${_.value ? "maz-h-screen maz-w-auto" : "maz-h-auto maz-w-screen"}` : `cursor-zoom-out ${_.value ? "maz-w-screen maz-h-screen --is-landscape" : "maz-h-screen maz-w-auto"}`);
790
+ () => (S.value || !l.animated) && !l.scaleAnimation
791
+ ), _ = h(!1), le = g(() => y.value ? `--is-zoomed maz-cursor-zoom-in maz-max-w-[none] ${_.value ? "maz-h-screen maz-w-auto" : "maz-h-auto maz-w-screen"}` : `cursor-zoom-out ${_.value ? "maz-w-screen maz-h-screen --is-landscape" : "maz-h-screen maz-w-auto"}`);
792
792
  function ce() {
793
- p.value = !0, y.value = !1, v.value = !0;
793
+ E.value = !0, p.value = !1, v.value = !0;
794
794
  }
795
795
  function q() {
796
796
  t("before-close"), f.value = !1;
797
797
  }
798
798
  function Q(r) {
799
- r.key === "Escape" && (r.preventDefault(), q()), (r.key === "ArrowLeft" || r.key === "ArrowRight") && (r.preventDefault(), S(r.key === "ArrowRight"));
799
+ r.key === "Escape" && (r.preventDefault(), q()), (r.key === "ArrowLeft" || r.key === "ArrowRight") && (r.preventDefault(), O(r.key === "ArrowRight"));
800
800
  }
801
801
  function ue() {
802
802
  document.documentElement.classList.add("--m-fullscreen-open");
@@ -813,32 +813,32 @@ const gt = {
813
813
  async function de(r, n) {
814
814
  r.classList.remove(l.openInstanceClass), n.classList.add(l.openInstanceClass);
815
815
  const u = n.getAttribute("data-src"), b = n.getAttribute("data-alt");
816
- B.value = b ?? void 0, u && (G.value = u), p.value = !1, await X(300), p.value || (y.value = !0);
816
+ B.value = b ?? void 0, u && (G.value = u), E.value = !1, await X(300), E.value || (p.value = !0);
817
817
  }
818
- function S(r) {
818
+ function O(r) {
819
819
  const n = document.querySelector(
820
820
  `.m-fullscreen-img-instance.${l.openInstanceClass}`
821
821
  );
822
822
  if (n) {
823
- const u = W(), b = u.indexOf(n), O = r ? b + 1 : b - 1, A = u[J(u, O)];
824
- A && de(n, A), t(r ? "next" : "previous");
823
+ const u = W(), b = u.indexOf(n), P = r ? b + 1 : b - 1, x = u[J(u, P)];
824
+ x && de(n, x), t(r ? "next" : "previous");
825
825
  }
826
826
  }
827
827
  async function he(r) {
828
828
  const n = r.target;
829
- n.style.width = `${n.clientWidth}px`, n.style.height = `${n.clientHeight}px`, await X(0), I.value = !I.value, n.style.removeProperty("width"), n.style.removeProperty("height"), await X(0);
830
- const u = n.clientWidth / r.clientY, O = window.innerWidth / u - window.innerHeight / 2;
829
+ n.style.width = `${n.clientWidth}px`, n.style.height = `${n.clientHeight}px`, await X(0), y.value = !y.value, n.style.removeProperty("width"), n.style.removeProperty("height"), await X(0);
830
+ const u = n.clientWidth / r.clientY, P = window.innerWidth / u - window.innerHeight / 2;
831
831
  d.scrollTo(n, 200, {
832
832
  container: n.parentElement,
833
833
  easing: "linear",
834
- offset: I.value ? O : 0
834
+ offset: y.value ? P : 0
835
835
  });
836
836
  }
837
837
  Ee(async () => {
838
- await He(), document.addEventListener("keydown", Q), f.value = !0, y.value = !0, ue(), M.value = W().length > 1, c.value && (_.value = l.clickedElementBounds.height < l.clickedElementBounds.width);
838
+ await He(), document.addEventListener("keydown", Q), f.value = !0, p.value = !0, ue(), L.value = W().length > 1, c.value && (_.value = l.clickedElementBounds.height < l.clickedElementBounds.width);
839
839
  });
840
840
  function K() {
841
- c.value && (T.value = !0, c.value.style.removeProperty("margin-left"), c.value.style.removeProperty("margin-right"), c.value.style.opacity = "0.5", c.value.style.width = `${l.clickedElementBounds.width}px`, c.value.style.height = `${l.clickedElementBounds.height}px`, c.value.style.top = `${l.clickedElementBounds.top}px`, c.value.style.left = `${l.clickedElementBounds.left}px`);
841
+ c.value && (k.value = !0, c.value.style.removeProperty("margin-left"), c.value.style.removeProperty("margin-right"), c.value.style.opacity = "0.5", c.value.style.width = `${l.clickedElementBounds.width}px`, c.value.style.height = `${l.clickedElementBounds.height}px`, c.value.style.top = `${l.clickedElementBounds.top}px`, c.value.style.left = `${l.clickedElementBounds.left}px`);
842
842
  }
843
843
  async function ve() {
844
844
  if (await X(0), c.value) {
@@ -846,84 +846,84 @@ const gt = {
846
846
  const r = window.innerWidth, n = window.innerHeight, u = l.clickedElementBounds.height, b = l.clickedElementBounds.width;
847
847
  if (_.value) {
848
848
  c.value.style.left = "0px";
849
- const O = u * r / b, A = (n - O) / 2;
850
- c.value.style.top = `${A <= 0 ? 0 : A}px`;
849
+ const P = u * r / b, x = (n - P) / 2;
850
+ c.value.style.top = `${x <= 0 ? 0 : x}px`;
851
851
  } else {
852
852
  c.value.style.top = "0px";
853
- const O = b * n / u, A = (r - O) / 2;
854
- c.value.style.left = `${A <= 0 ? 0 : A}px`;
853
+ const P = b * n / u, x = (r - P) / 2;
854
+ c.value.style.left = `${x <= 0 ? 0 : x}px`;
855
855
  }
856
856
  }
857
857
  }
858
858
  function Y() {
859
- c.value && (c.value.style.removeProperty("top"), c.value.style.removeProperty("left"), c.value.style.marginLeft = "auto", c.value.style.marginRight = "auto", c.value.style.removeProperty("opacity")), T.value = !1;
859
+ c.value && (c.value.style.removeProperty("top"), c.value.style.removeProperty("left"), c.value.style.marginLeft = "auto", c.value.style.marginRight = "auto", c.value.style.removeProperty("opacity")), k.value = !1;
860
860
  }
861
861
  function fe() {
862
862
  if (c.value) {
863
863
  const { left: r, top: n } = c.value.getBoundingClientRect();
864
- c.value.style.left = `${r}px`, c.value.style.top = `${n}px`, c.value.style.width = `${c.value.width}px`, c.value.style.height = `${c.value.height}px`, T.value = !0;
864
+ c.value.style.left = `${r}px`, c.value.style.top = `${n}px`, c.value.style.width = `${c.value.width}px`, c.value.style.height = `${c.value.height}px`, k.value = !0;
865
865
  }
866
866
  }
867
867
  function ge() {
868
868
  var r, n;
869
869
  t("close"), (r = F.value) == null || r.remove(), (n = l.destroy) == null || n.call(l);
870
870
  }
871
- return De(() => {
871
+ return tt(() => {
872
872
  document.removeEventListener("keydown", Q), me();
873
873
  }), (r, n) => (z(), Z("div", {
874
874
  ref_key: "FullscreenImgElement",
875
875
  ref: F,
876
876
  role: "button",
877
- class: re(["m-fullscreen-img", { "--animation-active": T.value }]),
877
+ class: re(["m-fullscreen-img", { "--animation-active": k.value }]),
878
878
  tabindex: "0",
879
- onClick: $(q, ["self"]),
880
- onKeypress: st($(q, ["prevent"]), ["esc"])
879
+ onClick: D(q, ["self"]),
880
+ onKeypress: st(D(q, ["prevent"]), ["esc"])
881
881
  }, [
882
- be(P(
883
- L(i),
882
+ be(H(
883
+ T(i),
884
884
  { class: "m-fullscreen-img-loader maz-h-16" },
885
885
  null,
886
886
  512
887
887
  /* NEED_PATCH */
888
888
  ), [
889
- [we, y.value]
889
+ [we, p.value]
890
890
  ]),
891
- v.value && M.value ? (z(), Z("button", {
891
+ v.value && L.value ? (z(), Z("button", {
892
892
  key: 0,
893
893
  type: "button",
894
894
  class: "m-fullscreen-btn --next",
895
- onClick: n[0] || (n[0] = $((u) => S(!0), ["stop"]))
895
+ onClick: n[0] || (n[0] = D((u) => O(!0), ["stop"]))
896
896
  }, [
897
- P(L(m), { class: "maz-rotate-90 maz-text-2xl" })
898
- ])) : H("v-if", !0),
899
- f.value && v.value && M.value ? (z(), Z("button", {
897
+ H(T(m), { class: "maz-rotate-90 maz-text-2xl" })
898
+ ])) : $("v-if", !0),
899
+ f.value && v.value && L.value ? (z(), Z("button", {
900
900
  key: 1,
901
901
  type: "button",
902
902
  class: "m-fullscreen-btn --previous",
903
- onClick: n[1] || (n[1] = $((u) => S(!1), ["stop"]))
903
+ onClick: n[1] || (n[1] = D((u) => O(!1), ["stop"]))
904
904
  }, [
905
- P(L(m), { class: "maz-text-2xl" })
906
- ])) : H("v-if", !0),
907
- E("button", {
905
+ H(T(m), { class: "maz-text-2xl" })
906
+ ])) : $("v-if", !0),
907
+ I("button", {
908
908
  type: "button",
909
909
  class: "m-fullscreen-btn --close",
910
910
  onClick: q
911
911
  }, [
912
- P(L(o), { class: "maz-text-2xl" })
912
+ H(T(o), { class: "maz-text-2xl" })
913
913
  ]),
914
- E("div", bt, [
915
- P(Me, {
914
+ I("div", bt, [
915
+ H(De, {
916
916
  name: N.value ? void 0 : "maz-scale-fade",
917
- onBeforeEnter: n[3] || (n[3] = (u) => k.value && K()),
918
- onEnter: n[4] || (n[4] = (u) => k.value && ve()),
919
- onAfterEnter: n[5] || (n[5] = (u) => k.value && Y()),
920
- onBeforeLeave: n[6] || (n[6] = (u) => k.value && fe()),
921
- onLeave: n[7] || (n[7] = (u) => k.value && K()),
917
+ onBeforeEnter: n[3] || (n[3] = (u) => A.value && K()),
918
+ onEnter: n[4] || (n[4] = (u) => A.value && ve()),
919
+ onAfterEnter: n[5] || (n[5] = (u) => A.value && Y()),
920
+ onBeforeLeave: n[6] || (n[6] = (u) => A.value && fe()),
921
+ onLeave: n[7] || (n[7] = (u) => A.value && K()),
922
922
  onAfterLeave: ge,
923
923
  persisted: ""
924
924
  }, {
925
925
  default: ne(() => [
926
- be(E("img", {
926
+ be(I("img", {
927
927
  id: "ZvImgElement",
928
928
  ref_key: "ImgElement",
929
929
  ref: c,
@@ -943,12 +943,12 @@ const gt = {
943
943
  ])
944
944
  ], 42, yt));
945
945
  }
946
- }), Ke = (s, e) => {
946
+ }), We = (s, e) => {
947
947
  const t = s.__vccOpts || s;
948
948
  for (const [i, o] of e)
949
949
  t[i] = o;
950
950
  return t;
951
- }, Et = /* @__PURE__ */ Ke(zt, [["__scopeId", "data-v-d0c959c7"]]), Ae = "m-fullscreen-is-open";
951
+ }, Et = /* @__PURE__ */ We(zt, [["__scopeId", "data-v-d0c959c7"]]), Ae = "m-fullscreen-is-open";
952
952
  class Lt {
953
953
  constructor() {
954
954
  a(this, "options");
@@ -1003,7 +1003,7 @@ class Lt {
1003
1003
  e.removeEventListener("mouseenter", this.mouseEnterListener), e.removeEventListener("mouseleave", this.mouseLeaveListener), e.removeEventListener("click", this.renderPreviewListener), e.classList.remove("m-fullscreen-img-instance"), e.style.cursor = "";
1004
1004
  }
1005
1005
  renderPreview(e) {
1006
- return e.classList.add(Ae), Be(Et, {
1006
+ return e.classList.add(Ae), Me(Et, {
1007
1007
  props: {
1008
1008
  ...this.options,
1009
1009
  openInstanceClass: Ae,
@@ -1021,7 +1021,7 @@ class Lt {
1021
1021
  }
1022
1022
  }
1023
1023
  let ie;
1024
- const Ye = {
1024
+ const Ke = {
1025
1025
  mounted(s, e) {
1026
1026
  return ie = new Lt(), ie.create(s, e);
1027
1027
  },
@@ -1033,20 +1033,20 @@ const Ye = {
1033
1033
  }
1034
1034
  }, ds = {
1035
1035
  install(s) {
1036
- s.directive("fullscreen-img", Ye);
1036
+ s.directive("fullscreen-img", Ke);
1037
1037
  }
1038
1038
  }, It = [
1039
1039
  {
1040
1040
  name: "click-outside",
1041
- directive: qe
1041
+ directive: _e
1042
1042
  },
1043
1043
  {
1044
1044
  name: "closable",
1045
- directive: je
1045
+ directive: Ve
1046
1046
  },
1047
1047
  {
1048
1048
  name: "zoom-img",
1049
- directive: Re
1049
+ directive: je
1050
1050
  },
1051
1051
  {
1052
1052
  name: "lazy-img",
@@ -1054,7 +1054,7 @@ const Ye = {
1054
1054
  },
1055
1055
  {
1056
1056
  name: "fullscreen-img",
1057
- directive: Ye
1057
+ directive: Ke
1058
1058
  }
1059
1059
  ], hs = {
1060
1060
  install(s) {
@@ -1139,7 +1139,7 @@ const Ye = {
1139
1139
  }
1140
1140
  function d() {
1141
1141
  o || (o = setInterval(() => {
1142
- i.value -= t, i.value <= 0 && (p(), e == null || e());
1142
+ i.value -= t, i.value <= 0 && (E(), e == null || e());
1143
1143
  }, t));
1144
1144
  }
1145
1145
  function l() {
@@ -1148,17 +1148,15 @@ const Ye = {
1148
1148
  function f() {
1149
1149
  !o && i.value > 0 && d();
1150
1150
  }
1151
- function p() {
1151
+ function E() {
1152
1152
  i.value = s, l();
1153
1153
  }
1154
- return De(() => {
1155
- p();
1156
- }), {
1154
+ return {
1157
1155
  remainingTime: i,
1158
1156
  start: m,
1159
1157
  pause: l,
1160
1158
  resume: f,
1161
- stop: p
1159
+ stop: E
1162
1160
  };
1163
1161
  }, Mt = { class: "m-toast__message-wrapper" }, Bt = { class: "m-toast__message" }, Ft = { class: "maz-flex maz-items-center maz-gap-2" }, Nt = { key: 0 }, _t = { class: "progress-bar maz-absolute maz-inset-x-0 maz-bottom-0 maz-h-1" }, qt = /* @__PURE__ */ $e({
1164
1162
  __name: "MazToast",
@@ -1182,7 +1180,7 @@ const Ye = {
1182
1180
  },
1183
1181
  emits: ["close", "click", "open"],
1184
1182
  setup(s, { emit: e }) {
1185
- const t = w(() => import("./MazBtn-i7A6854I.mjs")), i = w(() => import("./x-mark-pPwcH6Hz.mjs")), o = w(
1183
+ const t = w(() => import("./MazBtn-zKfVjg-f.mjs")), i = w(() => import("./x-mark-pPwcH6Hz.mjs")), o = w(
1186
1184
  () => import("./arrow-top-right-on-square-JGWhrxDH.mjs")
1187
1185
  ), m = w(
1188
1186
  () => import("./exclamation-triangle-KCpIguWV.mjs")
@@ -1190,7 +1188,7 @@ const Ye = {
1190
1188
  () => import("./exclamation-circle-AoEMgPzE.mjs")
1191
1189
  ), l = w(
1192
1190
  () => import("./information-circle-5aSd26ke.mjs")
1193
- ), f = w(() => import("./check-circle-JGd6LGss.mjs")), p = w(() => import("./link-CVsbXQMi.mjs")), y = h(), v = s, M = g(() => {
1191
+ ), f = w(() => import("./check-circle-JGd6LGss.mjs")), E = w(() => import("./link-CVsbXQMi.mjs")), p = h(), v = s, L = g(() => {
1194
1192
  switch (v.type) {
1195
1193
  case "danger":
1196
1194
  return m;
@@ -1203,7 +1201,7 @@ const Ye = {
1203
1201
  default:
1204
1202
  return;
1205
1203
  }
1206
- }), I = e, T = g(() => v.position.includes("top") ? "top" : "bottom"), C = g(() => v.position.includes("left") ? "left" : v.position.includes("right") ? "right" : "center"), G = g(() => C.value !== "center" ? C.value === "right" ? "m-slide-right" : "m-slide-left" : T.value === "top" ? "m-slide-top" : "m-slide-bottom"), B = h(!1), F = h(!1), c = h(), k = `m-toast-container --${T.value} --${C.value}`, N = `.${k.replaceAll(" ", ".")}`, { start: _, stop: le, pause: ce, resume: q, remainingTime: Q } = Dt({
1204
+ }), y = e, k = g(() => v.position.includes("top") ? "top" : "bottom"), S = g(() => v.position.includes("left") ? "left" : v.position.includes("right") ? "right" : "center"), G = g(() => S.value !== "center" ? S.value === "right" ? "m-slide-right" : "m-slide-left" : k.value === "top" ? "m-slide-top" : "m-slide-bottom"), B = h(!1), F = h(!1), c = h(), A = `m-toast-container --${k.value} --${S.value}`, N = `.${A.replaceAll(" ", ".")}`, { start: _, stop: le, pause: ce, resume: q, remainingTime: Q } = Dt({
1207
1205
  callback: Y,
1208
1206
  timeout: v.timeout
1209
1207
  });
@@ -1211,7 +1209,7 @@ const Ye = {
1211
1209
  const r = document.querySelector(N);
1212
1210
  if (!r && !r) {
1213
1211
  const n = document.body, u = document.createElement("div");
1214
- u.className = k, n.append(u);
1212
+ u.className = A, n.append(u);
1215
1213
  }
1216
1214
  }
1217
1215
  function me() {
@@ -1224,7 +1222,7 @@ const Ye = {
1224
1222
  return;
1225
1223
  }
1226
1224
  const r = document.querySelector(N);
1227
- y.value && r && r.prepend(y.value), F.value = !0, _();
1225
+ p.value && r && r.prepend(p.value), F.value = !0, _();
1228
1226
  }
1229
1227
  const J = h("100%");
1230
1228
  function de() {
@@ -1250,12 +1248,12 @@ const Ye = {
1250
1248
  }
1251
1249
  }
1252
1250
  );
1253
- function S(r) {
1254
- I("click", r), v.persistent || Y();
1251
+ function O(r) {
1252
+ y("click", r), v.persistent || Y();
1255
1253
  }
1256
1254
  async function he(r, n) {
1257
1255
  var u;
1258
- B.value = !0, await r(), B.value = !1, (u = v.action) != null && u.closeToast && S(n);
1256
+ B.value = !0, await r(), B.value = !1, (u = v.action) != null && u.closeToast && O(n);
1259
1257
  }
1260
1258
  function K(r) {
1261
1259
  v.noPauseOnHover || (r ? ce() : q());
@@ -1267,44 +1265,44 @@ const Ye = {
1267
1265
  ve(), F.value = !1;
1268
1266
  }
1269
1267
  function fe() {
1270
- I("open");
1268
+ y("open");
1271
1269
  }
1272
1270
  function ge() {
1273
1271
  var n;
1274
- I("close"), (n = y.value) == null || n.remove();
1272
+ y("close"), (n = p.value) == null || n.remove();
1275
1273
  const r = document.querySelector(N);
1276
1274
  r && !(r != null && r.hasChildNodes()) && r.remove();
1277
1275
  }
1278
1276
  return Ee(() => {
1279
1277
  ue(), W();
1280
- }), (r, n) => (z(), U(Me, {
1278
+ }), (r, n) => (z(), U(De, {
1281
1279
  name: G.value,
1282
1280
  onAfterLeave: ge,
1283
1281
  onAfterEnter: fe,
1284
1282
  persisted: ""
1285
1283
  }, {
1286
1284
  default: ne(() => [
1287
- be(E(
1285
+ be(I(
1288
1286
  "button",
1289
1287
  {
1290
1288
  ref_key: "Toaster",
1291
- ref: y,
1292
- class: re(["m-toast", [`--${s.type}`, `--${T.value}`, `--${C.value}`, { "maz-pb-1": s.timeout }]]),
1289
+ ref: p,
1290
+ class: re(["m-toast", [`--${s.type}`, `--${k.value}`, `--${S.value}`, { "maz-pb-1": s.timeout }]]),
1293
1291
  role: "alert",
1294
1292
  onMouseover: n[2] || (n[2] = (u) => K(!0)),
1295
1293
  onMouseleave: n[3] || (n[3] = (u) => K(!1)),
1296
- onClick: n[4] || (n[4] = $((u) => {
1294
+ onClick: n[4] || (n[4] = D((u) => {
1297
1295
  var b;
1298
- return s.link && !((b = s.link) != null && b.closeToast) ? void 0 : S(u);
1296
+ return s.link && !((b = s.link) != null && b.closeToast) ? void 0 : O(u);
1299
1297
  }, ["stop"]))
1300
1298
  },
1301
1299
  [
1302
- M.value ? (z(), U(ot(M.value), {
1300
+ L.value ? (z(), U(ot(L.value), {
1303
1301
  key: 0,
1304
1302
  class: "maz-text-2xl"
1305
- })) : H("v-if", !0),
1306
- E("div", Mt, [
1307
- E(
1303
+ })) : $("v-if", !0),
1304
+ I("div", Mt, [
1305
+ I(
1308
1306
  "p",
1309
1307
  Bt,
1310
1308
  pe(s.message),
@@ -1312,14 +1310,14 @@ const Ye = {
1312
1310
  /* TEXT */
1313
1311
  )
1314
1312
  ]),
1315
- s.action ? (z(), U(L(t), {
1313
+ s.action ? (z(), U(T(t), {
1316
1314
  key: 1,
1317
1315
  "data-test": "action-btn",
1318
1316
  color: s.type,
1319
1317
  pastel: "",
1320
1318
  loading: B.value,
1321
1319
  size: "sm",
1322
- onClick: n[0] || (n[0] = $((u) => he(s.action.func, u), ["stop"]))
1320
+ onClick: n[0] || (n[0] = D((u) => he(s.action.func, u), ["stop"]))
1323
1321
  }, {
1324
1322
  default: ne(() => [
1325
1323
  nt(
@@ -1330,8 +1328,8 @@ const Ye = {
1330
1328
  ]),
1331
1329
  _: 1
1332
1330
  /* STABLE */
1333
- }, 8, ["color", "loading"])) : H("v-if", !0),
1334
- s.link ? (z(), U(L(t), {
1331
+ }, 8, ["color", "loading"])) : $("v-if", !0),
1332
+ s.link ? (z(), U(T(t), {
1335
1333
  key: 2,
1336
1334
  "data-test": "link-btn",
1337
1335
  color: s.type,
@@ -1343,18 +1341,18 @@ const Ye = {
1343
1341
  default: ne(() => {
1344
1342
  var u;
1345
1343
  return [
1346
- E("div", Ft, [
1344
+ I("div", Ft, [
1347
1345
  s.link.text ? (z(), Z(
1348
1346
  "span",
1349
1347
  Nt,
1350
1348
  pe(s.link.text),
1351
1349
  1
1352
1350
  /* TEXT */
1353
- )) : H("v-if", !0),
1354
- ((u = s.link) == null ? void 0 : u.target) == "_blank" ? (z(), U(L(o), {
1351
+ )) : $("v-if", !0),
1352
+ ((u = s.link) == null ? void 0 : u.target) == "_blank" ? (z(), U(T(o), {
1355
1353
  key: 1,
1356
1354
  class: "maz-text-xl"
1357
- })) : (z(), U(L(p), {
1355
+ })) : (z(), U(T(E), {
1358
1356
  key: 2,
1359
1357
  class: "maz-text-xl"
1360
1358
  }))
@@ -1363,16 +1361,16 @@ const Ye = {
1363
1361
  }),
1364
1362
  _: 1
1365
1363
  /* STABLE */
1366
- }, 8, ["color", "href", "target"])) : H("v-if", !0),
1367
- s.persistent ? H("v-if", !0) : (z(), Z("button", {
1364
+ }, 8, ["color", "href", "target"])) : $("v-if", !0),
1365
+ s.persistent ? $("v-if", !0) : (z(), Z("button", {
1368
1366
  key: 3,
1369
1367
  class: "--close",
1370
- onClick: n[1] || (n[1] = $((u) => S(u), ["stop"]))
1368
+ onClick: n[1] || (n[1] = D((u) => O(u), ["stop"]))
1371
1369
  }, [
1372
- P(L(i), { class: "--icon maz-text-xl" })
1370
+ H(T(i), { class: "--icon maz-text-xl" })
1373
1371
  ])),
1374
- E("div", _t, [
1375
- E(
1372
+ I("div", _t, [
1373
+ I(
1376
1374
  "div",
1377
1375
  {
1378
1376
  style: rt({
@@ -1396,7 +1394,7 @@ const Ye = {
1396
1394
  /* STABLE */
1397
1395
  }, 8, ["name"]));
1398
1396
  }
1399
- }), Ut = /* @__PURE__ */ Ke(qt, [["__scopeId", "data-v-ee210f61"]]), Vt = {
1397
+ }), Ut = /* @__PURE__ */ We(qt, [["__scopeId", "data-v-ee210f61"]]), Vt = {
1400
1398
  position: "bottom-right",
1401
1399
  timeout: 1e4,
1402
1400
  persistent: !1
@@ -1412,7 +1410,7 @@ class jt {
1412
1410
  ...this.globalOptions,
1413
1411
  ...t
1414
1412
  };
1415
- Be(Ut, {
1413
+ Me(Ut, {
1416
1414
  props: o,
1417
1415
  app: this.app
1418
1416
  });
@@ -1508,14 +1506,21 @@ class Qt {
1508
1506
  f && d.push(f);
1509
1507
  }
1510
1508
  for (const l of d) {
1511
- const f = l.getAttribute("data-maz-aos-once"), p = typeof f == "string" ? f === "true" : this.options.animation.once;
1509
+ const f = l.getAttribute("data-maz-aos-once"), E = typeof f == "string" ? f === "true" : this.options.animation.once;
1512
1510
  if (typeof this.options.observer.threshold == "number" && i.intersectionRatio > this.options.observer.threshold) {
1513
- const y = l.getAttribute("data-maz-aos-duration"), v = l.getAttribute("data-maz-aos-delay");
1514
- y || (l.style.transitionDuration = `${this.options.animation.duration}ms`, setTimeout(() => {
1511
+ const p = l.getAttribute("data-maz-aos-duration"), v = l.getAttribute("data-maz-aos-delay");
1512
+ if (p || (l.style.transitionDuration = `${this.options.animation.duration}ms`, setTimeout(() => {
1515
1513
  l.style.transitionDuration = "0";
1516
1514
  }, 1e3)), v || (l.style.transitionDelay = `${this.options.animation.delay}ms`, setTimeout(() => {
1517
1515
  l.style.transitionDelay = "0";
1518
- }, 1e3)), l.classList.add("maz-aos-animate"), p && t.unobserve(l);
1516
+ }, 1e3)), l.classList.add("maz-aos-animate"), E) {
1517
+ const L = l.getAttribute("data-maz-aos-anchor");
1518
+ if (L) {
1519
+ const y = document.querySelector(L);
1520
+ y && t.unobserve(y);
1521
+ }
1522
+ t.unobserve(l);
1523
+ }
1519
1524
  } else
1520
1525
  l.classList.remove("maz-aos-animate");
1521
1526
  }
@@ -1536,7 +1541,7 @@ class Qt {
1536
1541
  }
1537
1542
  }
1538
1543
  runAnimations() {
1539
- if (D())
1544
+ if (M())
1540
1545
  return this.handleObserver();
1541
1546
  console.warn("[MazAos](runAnimations) should be executed on client side");
1542
1547
  }
@@ -1544,7 +1549,7 @@ class Qt {
1544
1549
  let oe;
1545
1550
  const ps = {
1546
1551
  install: (s, e) => {
1547
- oe = new Qt(e), s.provide("aos", oe), D() && (e != null && e.router ? e.router.afterEach(async () => {
1552
+ oe = new Qt(e), s.provide("aos", oe), M() && (e != null && e.router ? e.router.afterEach(async () => {
1548
1553
  oe.runAnimations();
1549
1554
  }) : oe.runAnimations());
1550
1555
  }
@@ -1555,7 +1560,7 @@ const ps = {
1555
1560
  storageThemeValueDark: "dark",
1556
1561
  storageThemeValueLight: "light",
1557
1562
  storageThemeValueSystem: "system"
1558
- }, R = h("system"), x = h("system");
1563
+ }, R = h("system"), C = h("system");
1559
1564
  function Ie({
1560
1565
  darkClass: s,
1561
1566
  lightClass: e,
@@ -1564,7 +1569,7 @@ function Ie({
1564
1569
  setLocalStorageValue: o = !0,
1565
1570
  setSelectedTheme: m = !0
1566
1571
  }) {
1567
- document.documentElement.classList.remove(e), document.documentElement.classList.add(s), R.value = i, m && (x.value = i), o && (localStorage[t] = i);
1572
+ document.documentElement.classList.remove(e), document.documentElement.classList.add(s), R.value = i, m && (C.value = i), o && (localStorage[t] = i);
1568
1573
  }
1569
1574
  function Te({
1570
1575
  darkClass: s,
@@ -1574,15 +1579,15 @@ function Te({
1574
1579
  setLocalStorageValue: o = !0,
1575
1580
  setSelectedTheme: m = !0
1576
1581
  }) {
1577
- document.documentElement.classList.remove(s), document.documentElement.classList.add(e), R.value = i, m && (x.value = i), o && (localStorage[t] = i);
1582
+ document.documentElement.classList.remove(s), document.documentElement.classList.add(e), R.value = i, m && (C.value = i), o && (localStorage[t] = i);
1578
1583
  }
1579
- function Xe(s) {
1580
- document.documentElement.classList.remove(s.darkClass), document.documentElement.classList.remove(s.lightClass), R.value = s.storageThemeValueSystem, x.value = s.storageThemeValueSystem, s.setLocalStorageValue && (localStorage[s.storageThemeKey] = s.storageThemeValueSystem), Ze({ ...s, setSelectedTheme: !1 });
1584
+ function Ye(s) {
1585
+ document.documentElement.classList.remove(s.darkClass), document.documentElement.classList.remove(s.lightClass), R.value = s.storageThemeValueSystem, C.value = s.storageThemeValueSystem, s.setLocalStorageValue && (localStorage[s.storageThemeKey] = s.storageThemeValueSystem), Xe({ ...s, setSelectedTheme: !1 });
1581
1586
  }
1582
1587
  function Se() {
1583
1588
  return window.matchMedia("(prefers-color-scheme: dark)").matches;
1584
1589
  }
1585
- function Ze(s) {
1590
+ function Xe(s) {
1586
1591
  localStorage[s.storageThemeKey] === s.storageThemeValueDark || !(s.storageThemeKey in localStorage) && Se() || localStorage[s.storageThemeKey] === s.storageThemeValueSystem && Se() ? Ie({
1587
1592
  ...s,
1588
1593
  setLocalStorageValue: !1,
@@ -1597,7 +1602,7 @@ function Oe({
1597
1602
  shouldSetDarkMode: s,
1598
1603
  ...e
1599
1604
  }) {
1600
- return typeof s != "boolean" ? Xe(e) : s ? Ie(e) : Te(e);
1605
+ return typeof s != "boolean" ? Ye(e) : s ? Ie(e) : Te(e);
1601
1606
  }
1602
1607
  function Jt(s) {
1603
1608
  return R.value === s.storageThemeValueDark ? Te(s) : Ie(s);
@@ -1606,20 +1611,20 @@ function ys(s = Ce) {
1606
1611
  const e = {
1607
1612
  ...Ce,
1608
1613
  ...s
1609
- }, t = g(() => x.value === e.storageThemeValueDark), i = g(() => x.value === e.storageThemeValueLight), o = g(() => x.value === e.storageThemeValueSystem);
1614
+ }, t = g(() => C.value === e.storageThemeValueDark), i = g(() => C.value === e.storageThemeValueLight), o = g(() => C.value === e.storageThemeValueSystem);
1610
1615
  return Ee(() => {
1611
- localStorage[e.storageThemeKey] && (R.value = localStorage[e.storageThemeKey], x.value = localStorage[e.storageThemeKey]);
1616
+ localStorage[e.storageThemeKey] && (R.value = localStorage[e.storageThemeKey], C.value = localStorage[e.storageThemeKey]);
1612
1617
  }), {
1613
- autoSetTheme: () => Ze(e),
1618
+ autoSetTheme: () => Xe(e),
1614
1619
  toggleTheme: () => Jt(e),
1615
- setSystemTheme: () => Xe({ ...e, setLocalStorageValue: !0 }),
1620
+ setSystemTheme: () => Ye({ ...e, setLocalStorageValue: !0 }),
1616
1621
  setDarkTheme: () => Oe({ ...e, shouldSetDarkMode: !0 }),
1617
1622
  setLightTheme: () => Oe({ ...e, shouldSetDarkMode: !1 }),
1618
1623
  hasDarkTheme: t,
1619
1624
  hasLightTheme: i,
1620
1625
  hasSystemTheme: o,
1621
1626
  theme: R,
1622
- selectedTheme: x
1627
+ selectedTheme: C
1623
1628
  };
1624
1629
  }
1625
1630
  const bs = ({
@@ -1644,16 +1649,16 @@ const bs = ({
1644
1649
  reject: i
1645
1650
  }
1646
1651
  ];
1647
- }), Ge = (s) => (j.value = j.value.filter(({ id: e }) => e !== s), j.value), Pe = (s, e, t = !1) => {
1652
+ }), Ze = (s) => (j.value = j.value.filter(({ id: e }) => e !== s), j.value), Pe = (s, e, t = !1) => {
1648
1653
  var i;
1649
1654
  e && ((i = e[s]) == null || i.call(e, t), e.isActive = !1, setTimeout(() => {
1650
- Ge(e.id);
1655
+ Ze(e.id);
1651
1656
  }, 500));
1652
1657
  }, Ts = () => ({
1653
1658
  confirmDialogData: es,
1654
1659
  dialogState: j,
1655
1660
  showDialogAndWaitChoice: ts,
1656
- removeDialogFromState: Ge,
1661
+ removeDialogFromState: Ze,
1657
1662
  rejectDialog: (s, e = !1) => Pe("reject", s, e),
1658
1663
  resolveDialog: (s, e = !1) => Pe("resolve", s, e)
1659
1664
  });
@@ -1676,20 +1681,20 @@ export {
1676
1681
  jt as T,
1677
1682
  ct as U,
1678
1683
  Zt as W,
1679
- Ke as _,
1680
- D as a,
1684
+ We as _,
1685
+ M as a,
1681
1686
  hs as b,
1682
1687
  as as c,
1683
1688
  ns as d,
1684
- qe as e,
1689
+ _e as e,
1685
1690
  ms as f,
1686
- Re as g,
1691
+ je as g,
1687
1692
  us as h,
1688
1693
  Le as i,
1689
- Ye as j,
1694
+ Ke as j,
1690
1695
  ds as k,
1691
- je as l,
1692
- Be as m,
1696
+ Ve as l,
1697
+ Me as m,
1693
1698
  cs as n,
1694
1699
  vs as o,
1695
1700
  ls as p,