@bagelink/vue 1.15.352 → 1.15.356

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/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as tu from "vue";
2
- import { Comment as sc, Fragment as _e, Teleport as m4, Text as uc, Transition as Dr, TransitionGroup as dc, computed as x, createApp as vs, createBlock as se, createCommentVNode as F, createElementBlock as S, createElementVNode as M, createSlots as cc, createTextVNode as ze, createVNode as re, defineComponent as Ee, effectScope as g4, getCurrentInstance as Co, getCurrentScope as p3, guardReactiveProps as yn, h as vt, inject as Pr, isMemoSame as v4, isRef as so, isVNode as T1, markRaw as h3, mergeModels as rn, mergeProps as ct, nextTick as at, normalizeClass as ue, normalizeProps as _n, normalizeStyle as ye, onBeforeUnmount as ta, onBeforeUpdate as L4, onMounted as je, onScopeDispose as m3, onUnmounted as Bt, onUpdated as fc, openBlock as _, popScopeId as b4, provide as Eo, pushScopeId as y4, reactive as xo, ref as B, renderList as Me, renderSlot as be, resolveComponent as dn, resolveDirective as on, resolveDynamicComponent as Rt, shallowReactive as _4, shallowRef as na, toDisplayString as ie, toHandlers as w4, toRaw as $4, toValue as He, unref as b, useAttrs as pc, useCssVars as g3, useId as S4, useModel as Vt, useSlots as Ct, vModelCheckbox as Ls, vModelDynamic as C4, vModelRadio as E4, vModelText as uo, vShow as co, watch as De, watchEffect as v3, withCtx as Ce, withDirectives as Ke, withKeys as Nt, withModifiers as nt, withScopeId as x4 } from "vue";
2
+ import { Comment as sc, Fragment as _e, Teleport as m4, Text as uc, Transition as Dr, TransitionGroup as dc, computed as x, createApp as vs, createBlock as se, createCommentVNode as F, createElementBlock as S, createElementVNode as M, createSlots as cc, createTextVNode as ze, createVNode as re, defineComponent as Ee, effectScope as g4, getCurrentInstance as Co, getCurrentScope as p3, guardReactiveProps as yn, h as vt, inject as Pr, isMemoSame as v4, isRef as so, isVNode as T1, markRaw as h3, mergeModels as rn, mergeProps as ct, nextTick as at, normalizeClass as ue, normalizeProps as _n, normalizeStyle as ye, onBeforeUnmount as ta, onBeforeUpdate as L4, onMounted as je, onScopeDispose as m3, onUnmounted as Rt, onUpdated as fc, openBlock as _, popScopeId as b4, provide as Eo, pushScopeId as y4, reactive as xo, ref as R, renderList as Me, renderSlot as be, resolveComponent as dn, resolveDirective as on, resolveDynamicComponent as Ot, shallowReactive as _4, shallowRef as na, toDisplayString as ie, toHandlers as w4, toRaw as $4, toValue as He, unref as b, useAttrs as pc, useCssVars as g3, useId as S4, useModel as Vt, useSlots as Ct, vModelCheckbox as Ls, vModelDynamic as C4, vModelRadio as E4, vModelText as uo, vShow as co, watch as De, watchEffect as v3, withCtx as Ce, withDirectives as Ke, withKeys as Ft, withModifiers as Qe, withScopeId as x4 } from "vue";
3
3
  import { RouterLink as L3, useRoute as ki, useRouter as k4 } from "vue-router";
4
4
  var M1 = Object.defineProperty, hc = (e, t) => {
5
5
  let n = {};
@@ -27,7 +27,7 @@ var M1 = Object.defineProperty, hc = (e, t) => {
27
27
  },
28
28
  emits: ["update:open"],
29
29
  setup(e, { emit: t }) {
30
- const n = e, a = t, r = B(!!n.open), o = B(r.value), i = x({
30
+ const n = e, a = t, r = R(!!n.open), o = R(r.value), i = x({
31
31
  get: () => r.value,
32
32
  set: (f) => {
33
33
  r.value = f, a("update:open", f);
@@ -77,7 +77,7 @@ var M1 = Object.defineProperty, hc = (e, t) => {
77
77
  __name: "AddressSearch",
78
78
  emits: ["addressSelected"],
79
79
  setup(e, { emit: t }) {
80
- const n = t, { $t: a } = Tt(), r = B(""), o = B([]), i = B();
80
+ const n = t, { $t: a } = Tt(), r = R(""), o = R([]), i = R();
81
81
  function s(u) {
82
82
  n("addressSelected", u), o.value = [], r.value = "";
83
83
  }
@@ -378,13 +378,13 @@ ${n.event.url}`), `https://calendar.google.com/calendar/render?${m.toString()}`;
378
378
  if (n.md) return "md";
379
379
  if (n.lg) return "lg";
380
380
  if (n.xl) return "xl";
381
- }), c = B(!1);
381
+ }), c = R(!1);
382
382
  function f() {
383
383
  c.value = window.innerWidth <= 910;
384
384
  }
385
385
  je(() => {
386
386
  f(), window.addEventListener("resize", f);
387
- }), Bt(() => {
387
+ }), Rt(() => {
388
388
  window.removeEventListener("resize", f);
389
389
  });
390
390
  async function p(v) {
@@ -413,7 +413,7 @@ ${n.event.url}`), `https://calendar.google.com/calendar/render?${m.toString()}`;
413
413
  }), m = Ct();
414
414
  return (v, y) => {
415
415
  const w = on("ripple");
416
- return Ke((_(), se(Rt(g.value), ct(L.value, {
416
+ return Ke((_(), se(Ot(g.value), ct(L.value, {
417
417
  disabled: e.disabled,
418
418
  class: ["bgl_btn", [{
419
419
  "bgl_btn-icon": e.icon && !b(m).default && !e.value,
@@ -440,8 +440,8 @@ ${n.event.url}`), `https://calendar.google.com/calendar/render?${m.toString()}`;
440
440
  }, u.value]],
441
441
  style: b(s),
442
442
  tabindex: e.disabled ? -1 : 0,
443
- onClick: nt(p, ["stop"]),
444
- onKeydown: [Nt(p, ["enter"]), Nt(p, ["space"])]
443
+ onClick: Qe(p, ["stop"]),
444
+ onKeydown: [Ft(p, ["enter"]), Ft(p, ["space"])]
445
445
  }), {
446
446
  default: Ce(() => [e.loading ? (_(), se(b(vo), {
447
447
  key: 0,
@@ -507,7 +507,7 @@ ${n.event.url}`), `https://calendar.google.com/calendar/render?${m.toString()}`;
507
507
  icon: {}
508
508
  },
509
509
  setup(e) {
510
- const t = e, n = Ct(), a = x(() => t.type ? t.type : t.error ? "error" : t.warning ? "warning" : t.success ? "success" : "info"), r = B(!1), o = {
510
+ const t = e, n = Ct(), a = x(() => t.type ? t.type : t.error ? "error" : t.warning ? "warning" : t.success ? "success" : "info"), r = R(!1), o = {
511
511
  info: "info",
512
512
  success: "check_circle",
513
513
  warning: "warning",
@@ -647,7 +647,7 @@ function Z4() {
647
647
  return typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
648
648
  }
649
649
  function lr(e) {
650
- const t = B(e.enabled === !1 || Z4() ? 1 : 0);
650
+ const t = R(e.enabled === !1 || Z4() ? 1 : 0);
651
651
  let n = null, a = 0, r = !1;
652
652
  function o() {
653
653
  if (r) return;
@@ -673,7 +673,7 @@ function lr(e) {
673
673
  for (const s of i) s.isIntersecting && (o(), n?.disconnect());
674
674
  }, { threshold: 0.25 }), e.el.value ? n.observe(e.el.value) : o();
675
675
  }
676
- }), Bt(() => {
676
+ }), Rt(() => {
677
677
  n?.disconnect(), cancelAnimationFrame(a);
678
678
  }), { progress: t };
679
679
  }
@@ -719,7 +719,7 @@ var X4 = [
719
719
  }
720
720
  },
721
721
  setup(e) {
722
- const t = e, n = B(), { progress: a } = lr({
722
+ const t = e, n = R(), { progress: a } = lr({
723
723
  el: n,
724
724
  enabled: t.animated,
725
725
  duration: 700
@@ -830,7 +830,7 @@ var X4 = [
830
830
  function a() {
831
831
  return n.above ? "above" : n.below ? "below" : n.prefer;
832
832
  }
833
- const r = B(), o = B(a()), i = B(0), s = x(() => ({ "--bgl-tip-shift-x": `${i.value}px` }));
833
+ const r = R(), o = R(a()), i = R(0), s = x(() => ({ "--bgl-tip-shift-x": `${i.value}px` }));
834
834
  function l() {
835
835
  const c = r.value, f = c?.parentElement;
836
836
  if (!c || !f) return;
@@ -1253,7 +1253,7 @@ function zg(e, t = {}) {
1253
1253
  const q = z.charCodeAt(0);
1254
1254
  return q >= 97 && q <= 122 || q >= 65 && q <= 90 || q >= 48 && q <= 57 || q === 95 || q === 36 || q === 45;
1255
1255
  }
1256
- function R(z) {
1256
+ function B(z) {
1257
1257
  return W(z, te);
1258
1258
  }
1259
1259
  function A(z) {
@@ -1299,7 +1299,7 @@ function zg(e, t = {}) {
1299
1299
  function G(z) {
1300
1300
  L(z);
1301
1301
  let q = "", ve = "";
1302
- for (; q = R(z); ) ve += q;
1302
+ for (; q = B(z); ) ve += q;
1303
1303
  const Te = z.currentChar();
1304
1304
  if (Te && Te !== "}" && Te !== Ea && Te !== ca && Te !== nn && Te !== " ") {
1305
1305
  const Ge = Ie(z);
@@ -2932,7 +2932,7 @@ var g8 = /* @__NO_SIDE_EFFECTS__ */ () => {
2932
2932
  return e && (t = Y3(e)[rf]) ? { [rf]: t } : null;
2933
2933
  };
2934
2934
  function Nl(e = {}) {
2935
- const { __root: t, __injectWithOption: n } = e, a = t === void 0, r = e.flatJson, o = aa ? B : na;
2935
+ const { __root: t, __injectWithOption: n } = e, a = t === void 0, r = e.flatJson, o = aa ? R : na;
2936
2936
  let i = pt(e.inheritLocale) ? e.inheritLocale : !0;
2937
2937
  const s = o(t && i ? t.locale.value : Ve(e.locale) ? e.locale : fi), l = o(t && i ? t.fallbackLocale.value : Ve(e.fallbackLocale) || kt(e.fallbackLocale) || st(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s.value), u = o(Cc(s.value, e)), d = o(st(e.datetimeFormats) ? e.datetimeFormats : { [s.value]: {} }), c = o(st(e.numberFormats) ? e.numberFormats : { [s.value]: {} });
2938
2938
  let f = t ? t.missingWarn : pt(e.missingWarn) || fo(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : pt(e.fallbackWarn) || fo(e.fallbackWarn) ? e.fallbackWarn : !0, h = t ? t.fallbackRoot : pt(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, L = St(e.missing) ? e.missing : null, m = St(e.missing) ? sf(e.missing) : null, v = St(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : pt(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, w = !!e.escapeParameter;
@@ -2986,7 +2986,7 @@ function Nl(e = {}) {
2986
2986
  function te() {
2987
2987
  return St(v) ? v : null;
2988
2988
  }
2989
- function R($e) {
2989
+ function B($e) {
2990
2990
  v = $e, E.postTranslation = $e;
2991
2991
  }
2992
2992
  function A() {
@@ -2998,7 +2998,7 @@ function Nl(e = {}) {
2998
2998
  function j($e, Pe) {
2999
2999
  return $e !== "translate" || !Pe.resolvedMessage;
3000
3000
  }
3001
- const X = ($e, Pe, Fe, Qe, ht, Wt) => {
3001
+ const X = ($e, Pe, Fe, et, ht, Wt) => {
3002
3002
  N();
3003
3003
  let Mt;
3004
3004
  try {
@@ -3020,7 +3020,7 @@ function Nl(e = {}) {
3020
3020
  groupId: `${Fe}:${gn}`
3021
3021
  });
3022
3022
  }
3023
- return t && h ? Qe(t) : ht(gn);
3023
+ return t && h ? et(t) : ht(gn);
3024
3024
  } else {
3025
3025
  if (Wt(Mt)) return Mt;
3026
3026
  throw cn(wt.UNEXPECTED_RETURN_TYPE);
@@ -3030,9 +3030,9 @@ function Nl(e = {}) {
3030
3030
  return X((Pe) => Reflect.apply(nf, null, [Pe, ...$e]), () => rd(...$e), "translate", (Pe) => Reflect.apply(Pe.t, Pe, [...$e]), (Pe) => Pe, (Pe) => Ve(Pe));
3031
3031
  }
3032
3032
  function oe(...$e) {
3033
- const [Pe, Fe, Qe] = $e;
3034
- if (Qe && !ut(Qe)) throw cn(wt.INVALID_ARGUMENT);
3035
- return fe(Pe, Fe, Ht({ resolvedMessage: !0 }, Qe || {}));
3033
+ const [Pe, Fe, et] = $e;
3034
+ if (et && !ut(et)) throw cn(wt.INVALID_ARGUMENT);
3035
+ return fe(Pe, Fe, Ht({ resolvedMessage: !0 }, et || {}));
3036
3036
  }
3037
3037
  function G(...$e) {
3038
3038
  return X((Pe) => Reflect.apply(K1, null, [Pe, ...$e]), () => nd(...$e), "datetime format", (Pe) => Reflect.apply(Pe.d, Pe, [...$e]), () => "", (Pe) => Ve(Pe) || kt(Pe));
@@ -3051,11 +3051,11 @@ function Nl(e = {}) {
3051
3051
  function K(...$e) {
3052
3052
  return X((Pe) => {
3053
3053
  let Fe;
3054
- const Qe = Pe;
3054
+ const et = Pe;
3055
3055
  try {
3056
- Qe.processor = de, Fe = Reflect.apply(nf, null, [Qe, ...$e]);
3056
+ et.processor = de, Fe = Reflect.apply(nf, null, [et, ...$e]);
3057
3057
  } finally {
3058
- Qe.processor = null;
3058
+ et.processor = null;
3059
3059
  }
3060
3060
  return Fe;
3061
3061
  }, () => rd(...$e), "translate", (Pe) => Pe[id](...$e), (Pe) => [af(Pe)], (Pe) => kt(Pe));
@@ -3072,9 +3072,9 @@ function Nl(e = {}) {
3072
3072
  function Ae($e, Pe) {
3073
3073
  return X(() => {
3074
3074
  if (!$e) return !1;
3075
- const Fe = Ve(Pe) ? Pe : s.value, Qe = Ve(Pe) ? [Fe] : td(E, l.value, Fe);
3076
- for (let ht = 0; ht < Qe.length; ht++) {
3077
- const Wt = ne(Qe[ht]);
3075
+ const Fe = Ve(Pe) ? Pe : s.value, et = Ve(Pe) ? [Fe] : td(E, l.value, Fe);
3076
+ for (let ht = 0; ht < et.length; ht++) {
3077
+ const Wt = ne(et[ht]);
3078
3078
  let Mt = E.messageResolver(Wt, $e);
3079
3079
  if (Mt === null && (Mt = Wt[$e]), Wn(Mt) || Bn(Mt) || Ve(Mt)) return !0;
3080
3080
  }
@@ -3084,8 +3084,8 @@ function Nl(e = {}) {
3084
3084
  function Ne($e) {
3085
3085
  let Pe = null;
3086
3086
  const Fe = td(E, l.value, s.value);
3087
- for (let Qe = 0; Qe < Fe.length; Qe++) {
3088
- const ht = u.value[Fe[Qe]] || {}, Wt = E.messageResolver(ht, $e);
3087
+ for (let et = 0; et < Fe.length; et++) {
3088
+ const ht = u.value[Fe[et]] || {}, Wt = E.messageResolver(ht, $e);
3089
3089
  if (Wt != null) {
3090
3090
  Pe = Wt;
3091
3091
  break;
@@ -3103,7 +3103,7 @@ function Nl(e = {}) {
3103
3103
  function Q($e, Pe) {
3104
3104
  if (r) {
3105
3105
  const Fe = { [$e]: Pe };
3106
- for (const Qe in Fe) Hn(Fe, Qe) && pi(Fe[Qe]);
3106
+ for (const et in Fe) Hn(Fe, et) && pi(Fe[et]);
3107
3107
  Pe = Fe[$e];
3108
3108
  }
3109
3109
  u.value[$e] = Pe, E.messages = u.value;
@@ -3112,7 +3112,7 @@ function Nl(e = {}) {
3112
3112
  u.value[$e] = u.value[$e] || {};
3113
3113
  const Fe = { [$e]: Pe };
3114
3114
  if (r)
3115
- for (const Qe in Fe) Hn(Fe, Qe) && pi(Fe[Qe]);
3115
+ for (const et in Fe) Hn(Fe, et) && pi(Fe[et]);
3116
3116
  Pe = Fe[$e], hl(Pe, u.value[$e]), E.messages = u.value;
3117
3117
  }
3118
3118
  function z($e) {
@@ -3202,7 +3202,7 @@ function Nl(e = {}) {
3202
3202
  setLocaleMessage: Q,
3203
3203
  mergeLocaleMessage: ae,
3204
3204
  getPostTranslationHandler: te,
3205
- setPostTranslationHandler: R,
3205
+ setPostTranslationHandler: B,
3206
3206
  getMissingHandler: A,
3207
3207
  setMissingHandler: Y,
3208
3208
  [G3]: pe
@@ -3962,7 +3962,7 @@ function W8(e, t, n) {
3962
3962
  const r = n;
3963
3963
  r[za] && r[za](a), a.on("*", xr);
3964
3964
  }
3965
- }, t), Bt(() => {
3965
+ }, t), Rt(() => {
3966
3966
  const r = n;
3967
3967
  process.env.NODE_ENV !== "production" && (a && a.off("*", xr), r[Er] && r[Er](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3968
3968
  const o = r[Yr];
@@ -6208,10 +6208,10 @@ var hL = {
6208
6208
  left: 36
6209
6209
  };
6210
6210
  function ap(e, t) {
6211
- const n = B(0), a = x(() => typeof t.height == "number" ? t.height : t.height.value), r = x(() => ({
6211
+ const n = R(0), a = x(() => typeof t.height == "number" ? t.height : t.height.value), r = x(() => ({
6212
6212
  ...hL,
6213
6213
  ...t.padding
6214
- })), o = x(() => Math.max(0, n.value - r.value.left - r.value.right)), i = x(() => Math.max(0, a.value - r.value.top - r.value.bottom)), s = B(!1);
6214
+ })), o = x(() => Math.max(0, n.value - r.value.left - r.value.right)), i = x(() => Math.max(0, a.value - r.value.top - r.value.bottom)), s = R(!1);
6215
6215
  function l() {
6216
6216
  typeof document > "u" || (s.value = (e.value?.closest("[dir]")?.getAttribute("dir") || document.documentElement.dir) === "rtl" || document.documentElement.lang === "he");
6217
6217
  }
@@ -6220,7 +6220,7 @@ function ap(e, t) {
6220
6220
  l(), e.value && (n.value = e.value.clientWidth || 0, u = new ResizeObserver((c) => {
6221
6221
  for (const f of c) n.value = f.contentRect.width;
6222
6222
  }), u.observe(e.value));
6223
- }), Bt(() => u?.disconnect()), {
6223
+ }), Rt(() => u?.disconnect()), {
6224
6224
  width: n,
6225
6225
  height: a,
6226
6226
  pad: r,
@@ -6311,7 +6311,7 @@ var mL = ["width", "height"], gL = { key: 0 }, vL = ["id", "y2"], LL = ["stop-co
6311
6311
  }
6312
6312
  },
6313
6313
  setup(e) {
6314
- const t = e, n = B(), { width: a, height: r, pad: o, innerWidth: i, innerHeight: s, flipX: l, isRTL: u } = ap(n, { height: x(() => t.height) }), { progress: d } = lr({
6314
+ const t = e, n = R(), { width: a, height: r, pad: o, innerWidth: i, innerHeight: s, flipX: l, isRTL: u } = ap(n, { height: x(() => t.height) }), { progress: d } = lr({
6315
6315
  el: n,
6316
6316
  enabled: t.animated,
6317
6317
  duration: 700
@@ -6366,8 +6366,8 @@ var mL = ["width", "height"], gL = { key: 0 }, vL = ["id", "y2"], LL = ["stop-co
6366
6366
  areaPath: pe
6367
6367
  };
6368
6368
  });
6369
- }), E = x(() => t.area || g.value), C = x(() => E.value && t.gradient !== !1), N = ys(), I = (D) => `${N}-grad-${D}`, O = x(() => Math.max(1, Math.ceil(f.value.length / t.maxLabels))), W = x(() => (i.value + s.value) * 2), U = x(() => W.value * (1 - d.value)), H = B(null), te = B(0);
6370
- function R(D) {
6369
+ }), E = x(() => t.area || g.value), C = x(() => E.value && t.gradient !== !1), N = ys(), I = (D) => `${N}-grad-${D}`, O = x(() => Math.max(1, Math.ceil(f.value.length / t.maxLabels))), W = x(() => (i.value + s.value) * 2), U = x(() => W.value * (1 - d.value)), H = R(null), te = R(0);
6370
+ function B(D) {
6371
6371
  if (!f.value.length) return;
6372
6372
  Mi(D, te);
6373
6373
  const P = n.value;
@@ -6395,7 +6395,7 @@ var mL = ["width", "height"], gL = { key: 0 }, vL = ["id", "y2"], LL = ["stop-co
6395
6395
  ref: n,
6396
6396
  class: "bgl-chart w-100p relative",
6397
6397
  style: ye({ height: `${b(r)}px` }),
6398
- onMousemove: R,
6398
+ onMousemove: B,
6399
6399
  onMouseleave: A
6400
6400
  }, [b(a) ? (_(), S("svg", {
6401
6401
  key: 0,
@@ -6531,7 +6531,7 @@ var mL = ["width", "height"], gL = { key: 0 }, vL = ["id", "y2"], LL = ["stop-co
6531
6531
  }
6532
6532
  },
6533
6533
  setup(e) {
6534
- const t = e, n = B(), { width: a, height: r, pad: o, innerWidth: i, innerHeight: s, flipX: l } = ap(n, { height: x(() => t.height) }), { progress: u } = lr({
6534
+ const t = e, n = R(), { width: a, height: r, pad: o, innerWidth: i, innerHeight: s, flipX: l } = ap(n, { height: x(() => t.height) }), { progress: u } = lr({
6535
6535
  el: n,
6536
6536
  enabled: t.animated,
6537
6537
  duration: 700
@@ -6568,7 +6568,7 @@ var mL = ["width", "height"], gL = { key: 0 }, vL = ["id", "y2"], LL = ["stop-co
6568
6568
  });
6569
6569
  });
6570
6570
  }), Y;
6571
- }), k = x(() => Math.max(1, Math.ceil(c.value.length / t.maxLabels))), E = ys("bar"), C = x(() => [...new Set($.value.map((Y) => Y.color))]), N = (Y) => `${E}-${C.value.indexOf(Y)}`, I = B(null), O = B(0);
6571
+ }), k = x(() => Math.max(1, Math.ceil(c.value.length / t.maxLabels))), E = ys("bar"), C = x(() => [...new Set($.value.map((Y) => Y.color))]), N = (Y) => `${E}-${C.value.indexOf(Y)}`, I = R(null), O = R(0);
6572
6572
  function W(Y) {
6573
6573
  if (!c.value.length) return;
6574
6574
  Mi(Y, O);
@@ -6587,7 +6587,7 @@ var mL = ["width", "height"], gL = { key: 0 }, vL = ["id", "y2"], LL = ["stop-co
6587
6587
  name: Y.name,
6588
6588
  color: Qt(Y.color, j),
6589
6589
  value: Gt(Y.points[I.value]?.y ?? 0, p.value)
6590
- }))), R = x(() => I.value == null || !t.stacked ? null : Gt(g.value[I.value] ?? 0, p.value)), A = rp(O, a);
6590
+ }))), B = x(() => I.value == null || !t.stacked ? null : Gt(g.value[I.value] ?? 0, p.value)), A = rp(O, a);
6591
6591
  return (Y, j) => (_(), S("div", PL, [M("div", {
6592
6592
  ref_key: "el",
6593
6593
  ref: n,
@@ -6651,7 +6651,7 @@ var mL = ["width", "height"], gL = { key: 0 }, vL = ["id", "y2"], LL = ["stop-co
6651
6651
  style: ye(b(A)),
6652
6652
  label: H.value,
6653
6653
  rows: te.value,
6654
- total: R.value
6654
+ total: B.value
6655
6655
  }, null, 8, [
6656
6656
  "style",
6657
6657
  "label",
@@ -6741,7 +6741,7 @@ var ZL = [
6741
6741
  }
6742
6742
  },
6743
6743
  setup(e) {
6744
- const t = e, { $t: n } = Tt(), a = B(), { progress: r } = lr({
6744
+ const t = e, { $t: n } = Tt(), a = R(), { progress: r } = lr({
6745
6745
  el: a,
6746
6746
  enabled: t.animated,
6747
6747
  duration: 700
@@ -6759,11 +6759,11 @@ var ZL = [
6759
6759
  const k = l.value, E = u.value, C = k, N = k, I = E + (k - E) * 0.68;
6760
6760
  let O = -Math.PI / 2;
6761
6761
  return t.data.map((W, U) => {
6762
- const H = Math.max(0, W.value) / s.value, te = H * Math.PI * 2 * r.value, R = O;
6762
+ const H = Math.max(0, W.value) / s.value, te = H * Math.PI * 2 * r.value, B = O;
6763
6763
  O += te;
6764
- const A = R + te / 2, Y = W.color ? Qt(W.color) : t.mode === "multi" ? Qt(void 0, U) : gc(t.color, t.data.length, U), j = H * 100, X = !!t.labels && H >= t.labelMinShare;
6764
+ const A = B + te / 2, Y = W.color ? Qt(W.color) : t.mode === "multi" ? Qt(void 0, U) : gc(t.color, t.data.length, U), j = H * 100, X = !!t.labels && H >= t.labelMinShare;
6765
6765
  return {
6766
- d: YL(C, N, k, E, R, te),
6766
+ d: YL(C, N, k, E, B, te),
6767
6767
  color: Y,
6768
6768
  label: W.label,
6769
6769
  value: W.value,
@@ -6776,7 +6776,7 @@ var ZL = [
6776
6776
  tagPct: X && t.labels !== "value" ? `${j.toFixed(0)}%` : ""
6777
6777
  };
6778
6778
  });
6779
- }), c = x(() => t.centerValue !== void 0 ? String(t.centerValue) : t.showTotal ? Gt(s.value, o.value) : ""), f = B(null), p = B(0), h = B(0);
6779
+ }), c = x(() => t.centerValue !== void 0 ? String(t.centerValue) : t.showTotal ? Gt(s.value, o.value) : ""), f = R(null), p = R(0), h = R(0);
6780
6780
  function g(k) {
6781
6781
  f.value = k;
6782
6782
  }
@@ -6918,7 +6918,7 @@ var ZL = [
6918
6918
  }
6919
6919
  },
6920
6920
  setup(e) {
6921
- const t = e, n = B(), { progress: a } = lr({
6921
+ const t = e, n = R(), { progress: a } = lr({
6922
6922
  el: n,
6923
6923
  enabled: t.animated,
6924
6924
  duration: 700
@@ -6931,11 +6931,11 @@ var ZL = [
6931
6931
  color: Qt(U.color, H)
6932
6932
  }))), l = x(() => i.value ? (t.stages ?? []).map((U, H) => ({
6933
6933
  label: String(U),
6934
- value: (t.series ?? []).reduce((te, R) => te + (R.data[H] ?? 0), 0)
6934
+ value: (t.series ?? []).reduce((te, B) => te + (B.data[H] ?? 0), 0)
6935
6935
  })) : t.data ?? []), u = x(() => {
6936
6936
  const U = l.value[0]?.value || 1;
6937
6937
  return l.value.map((H, te) => {
6938
- const R = l.value[te - 1]?.value, A = H.color ? Qt(H.color) : t.mode === "multi" ? Qt(void 0, te) : gc(t.color, l.value.length, te), Y = H.value / U * 100, j = R ? H.value / R * 100 : 100, X = te === 0, fe = [`<b>${Gt(H.value, r.value)}</b>`];
6938
+ const B = l.value[te - 1]?.value, A = H.color ? Qt(H.color) : t.mode === "multi" ? Qt(void 0, te) : gc(t.color, l.value.length, te), Y = H.value / U * 100, j = B ? H.value / B * 100 : 100, X = te === 0, fe = [`<b>${Gt(H.value, r.value)}</b>`];
6939
6939
  !X && t.fromTop && fe.push(`${Y.toFixed(1)}% of top`), !X && t.fromPrev && fe.push(`${j.toFixed(1)}% from previous`), i.value && (t.series ?? []).forEach((G) => {
6940
6940
  const D = G.data[te] ?? 0;
6941
6941
  D > 0 && fe.push(`<span style="opacity:.7">${G.name}:</span> ${Gt(D, r.value)}`);
@@ -6973,14 +6973,14 @@ var ZL = [
6973
6973
  function g(U) {
6974
6974
  return (Gi / 2 - Sb) * U * a.value + 0.4;
6975
6975
  }
6976
- function L(U, H, te, R, A, Y) {
6976
+ function L(U, H, te, B, A, Y) {
6977
6977
  const j = (U + H) / 2;
6978
- return `M ${h(U, te)} L ${h(U, R)} C ${h(j, R)} ${h(j, Y)} ${h(H, Y)} L ${h(H, A)} C ${h(j, A)} ${h(j, te)} ${h(U, te)} Z`;
6978
+ return `M ${h(U, te)} L ${h(U, B)} C ${h(j, B)} ${h(j, Y)} ${h(H, Y)} L ${h(H, A)} C ${h(j, A)} ${h(j, te)} ${h(U, te)} Z`;
6979
6979
  }
6980
6980
  const m = x(() => {
6981
6981
  const U = t.bandHeight;
6982
6982
  return u.value.map((H, te) => {
6983
- const R = u.value[te + 1] ?? H, A = te * U, Y = (te + 1) * U, j = g(H.frac), X = g(R.frac);
6983
+ const B = u.value[te + 1] ?? H, A = te * U, Y = (te + 1) * U, j = g(H.frac), X = g(B.frac);
6984
6984
  return {
6985
6985
  ...H,
6986
6986
  path: L(A, Y, -j, j, -X, X),
@@ -6990,8 +6990,8 @@ var ZL = [
6990
6990
  }), v = x(() => {
6991
6991
  if (!i.value) return [];
6992
6992
  const U = t.bandHeight, H = t.series ?? [], te = [];
6993
- return u.value.forEach((R, A) => {
6994
- const Y = A === u.value.length - 1, j = u.value[A + 1] ?? R, X = A * U, fe = (A + 1) * U, oe = R.value || 1, G = j.value || 1, D = -g(R.frac), P = g(R.frac) * 2, ee = -g(j.frac), de = g(j.frac) * 2;
6993
+ return u.value.forEach((B, A) => {
6994
+ const Y = A === u.value.length - 1, j = u.value[A + 1] ?? B, X = A * U, fe = (A + 1) * U, oe = B.value || 1, G = j.value || 1, D = -g(B.frac), P = g(B.frac) * 2, ee = -g(j.frac), de = g(j.frac) * 2;
6995
6995
  let K = 0, Se = 0;
6996
6996
  H.forEach((Ie, pe) => {
6997
6997
  const Ae = (Ie.data[A] ?? 0) / oe, Ne = Y ? Ae : (Ie.data[A + 1] ?? 0) / G, xe = D + K * P, ne = D + (K + Ae) * P, Q = ee + Se * de, ae = ee + (Se + Ne) * de;
@@ -7002,7 +7002,7 @@ var ZL = [
7002
7002
  });
7003
7003
  });
7004
7004
  }), te;
7005
- }), y = B(null), w = B(0), $ = B(0);
7005
+ }), y = R(null), w = R(0), $ = R(0);
7006
7006
  function k(U) {
7007
7007
  y.value = U;
7008
7008
  }
@@ -7045,8 +7045,8 @@ var ZL = [
7045
7045
  viewBox: `0 0 ${f.value} ${p.value}`,
7046
7046
  style: ye(d.value ? { height: `${e.bandHeight * 3}px` } : { height: `${p.value}px` }),
7047
7047
  preserveAspectRatio: "none"
7048
- }, [e.gradient && !i.value ? (_(), S("defs", db, [(_(!0), S(_e, null, Me(m.value, (R, A) => (_(), S("linearGradient", {
7049
- id: R.gradId,
7048
+ }, [e.gradient && !i.value ? (_(), S("defs", db, [(_(!0), S(_e, null, Me(m.value, (B, A) => (_(), S("linearGradient", {
7049
+ id: B.gradId,
7050
7050
  key: A,
7051
7051
  x1: 0,
7052
7052
  y1: 0,
@@ -7054,25 +7054,25 @@ var ZL = [
7054
7054
  y2: d.value ? 1 : 0
7055
7055
  }, [M("stop", {
7056
7056
  offset: "0%",
7057
- "stop-color": `color-mix(in srgb, ${R.color} 78%, black)`
7057
+ "stop-color": `color-mix(in srgb, ${B.color} 78%, black)`
7058
7058
  }, null, 8, fb), M("stop", {
7059
7059
  offset: "100%",
7060
- "stop-color": R.color
7061
- }, null, 8, pb)], 8, cb))), 128))])) : F("", !0), i.value ? (_(), S(_e, { key: 2 }, [(_(!0), S(_e, null, Me(v.value, (R) => (_(), S("path", {
7062
- key: R.key,
7063
- d: R.path,
7064
- fill: R.color,
7060
+ "stop-color": B.color
7061
+ }, null, 8, pb)], 8, cb))), 128))])) : F("", !0), i.value ? (_(), S(_e, { key: 2 }, [(_(!0), S(_e, null, Me(v.value, (B) => (_(), S("path", {
7062
+ key: B.key,
7063
+ d: B.path,
7064
+ fill: B.color,
7065
7065
  class: "bgl-funnel__sub"
7066
- }, null, 8, mb))), 128)), (_(!0), S(_e, null, Me(m.value, (R, A) => (_(), S("path", {
7066
+ }, null, 8, mb))), 128)), (_(!0), S(_e, null, Me(m.value, (B, A) => (_(), S("path", {
7067
7067
  key: `hit${A}`,
7068
- d: R.path,
7068
+ d: B.path,
7069
7069
  fill: "transparent",
7070
7070
  class: "bgl-funnel__hit",
7071
7071
  onMouseenter: (Y) => k(A)
7072
- }, null, 40, gb))), 128))], 64)) : (_(!0), S(_e, { key: 1 }, Me(m.value, (R, A) => (_(), S("path", {
7072
+ }, null, 40, gb))), 128))], 64)) : (_(!0), S(_e, { key: 1 }, Me(m.value, (B, A) => (_(), S("path", {
7073
7073
  key: A,
7074
- d: R.path,
7075
- fill: e.gradient ? `url(#${R.gradId})` : R.color,
7074
+ d: B.path,
7075
+ fill: e.gradient ? `url(#${B.gradId})` : B.color,
7076
7076
  class: ue(["bgl-funnel__seg", { "opacity-5": y.value != null && y.value !== A }]),
7077
7077
  onMouseenter: (Y) => k(A)
7078
7078
  }, null, 42, hb))), 128))], 12, ub)),
@@ -7095,36 +7095,36 @@ var ZL = [
7095
7095
  "total",
7096
7096
  "stats"
7097
7097
  ])) : F("", !0),
7098
- M("div", vb, [(_(!0), S(_e, null, Me(m.value, (R, A) => (_(), S("div", {
7098
+ M("div", vb, [(_(!0), S(_e, null, Me(m.value, (B, A) => (_(), S("div", {
7099
7099
  key: A,
7100
7100
  class: "bgl-funnel__tick p-05",
7101
7101
  style: ye(d.value ? { flex: "1 1 0" } : { height: `${e.bandHeight}px` })
7102
7102
  }, [M("span", {
7103
7103
  class: "bgl-funnel__name ellipsis-1 txt12 light opacity-6",
7104
- title: R.label
7105
- }, ie(R.label), 9, Lb), M("span", bb, ie(R.display), 1)], 4))), 128))])
7104
+ title: B.label
7105
+ }, ie(B.label), 9, Lb), M("span", bb, ie(B.display), 1)], 4))), 128))])
7106
7106
  ], 32)) : F("", !0),
7107
- e.flow && i.value ? (_(), S("ul", yb, [(_(!0), S(_e, null, Me(s.value, (R, A) => (_(), S("li", {
7107
+ e.flow && i.value ? (_(), S("ul", yb, [(_(!0), S(_e, null, Me(s.value, (B, A) => (_(), S("li", {
7108
7108
  key: A,
7109
7109
  class: "flex align-items-center"
7110
7110
  }, [M("span", {
7111
7111
  class: "bgl-funnel__dot",
7112
- style: ye({ background: R.color })
7113
- }, null, 4), ze(ie(R.name), 1)]))), 128))])) : F("", !0),
7114
- e.flow ? F("", !0) : (_(!0), S(_e, { key: 2 }, Me(u.value, (R, A) => (_(), S("div", {
7112
+ style: ye({ background: B.color })
7113
+ }, null, 4), ze(ie(B.name), 1)]))), 128))])) : F("", !0),
7114
+ e.flow ? F("", !0) : (_(!0), S(_e, { key: 2 }, Me(u.value, (B, A) => (_(), S("div", {
7115
7115
  key: A,
7116
7116
  class: "bgl-funnel__stage"
7117
7117
  }, [M("span", {
7118
7118
  class: "bgl-funnel__name txt-0875rem ellipsis-1",
7119
- title: R.label
7120
- }, ie(R.label), 9, _b), M("div", wb, [Ke((_(), S("div", {
7119
+ title: B.label
7120
+ }, ie(B.label), 9, _b), M("div", wb, [Ke((_(), S("div", {
7121
7121
  class: "bgl-funnel__bar flex flex-center",
7122
7122
  style: ye({
7123
- width: `${Math.max(4, R.fromTop)}%`,
7124
- background: R.barFill
7123
+ width: `${Math.max(4, B.fromTop)}%`,
7124
+ background: B.barFill
7125
7125
  })
7126
- }, [M("span", $b, ie(R.display), 1)], 4)), [[te, {
7127
- content: R.tip,
7126
+ }, [M("span", $b, ie(B.display), 1)], 4)), [[te, {
7127
+ content: B.tip,
7128
7128
  html: !0
7129
7129
  }]])])]))), 128))
7130
7130
  ], 2);
@@ -7175,7 +7175,7 @@ var ZL = [
7175
7175
  }
7176
7176
  },
7177
7177
  setup(e) {
7178
- const t = e, n = B(), { progress: a } = lr({
7178
+ const t = e, n = R(), { progress: a } = lr({
7179
7179
  el: n,
7180
7180
  enabled: t.animated,
7181
7181
  duration: 700
@@ -7606,7 +7606,7 @@ var Nb = ["transform"], Ob = [
7606
7606
  y: 0,
7607
7607
  width: 928,
7608
7608
  height: 412
7609
- }, n = e, a = B(), r = B(), { progress: o } = lr({
7609
+ }, n = e, a = R(), r = R(), { progress: o } = lr({
7610
7610
  el: a,
7611
7611
  enabled: n.animated,
7612
7612
  duration: 700
@@ -7648,7 +7648,7 @@ var Nb = ["transform"], Ob = [
7648
7648
  fill: d(de),
7649
7649
  hasData: de != null && de > 0
7650
7650
  };
7651
- })), f = B(null), p = B(0), h = B(0);
7651
+ })), f = R(null), p = R(0), h = R(0);
7652
7652
  function g(D) {
7653
7653
  I.value || (f.value = D);
7654
7654
  }
@@ -7666,7 +7666,7 @@ var Nb = ["transform"], Ob = [
7666
7666
  name: v.value.label,
7667
7667
  color: v.value.fill,
7668
7668
  value: Gt(v.value.value, i.value)
7669
- }] : []), w = Tc(p, h), $ = x(() => Gt(0, i.value)), k = x(() => Gt(l.value, i.value)), E = B(1), C = B(0), N = B(0), I = B(!1), O = B(null), W = x(() => `translate(${C.value} ${N.value}) scale(${E.value})`), U = x(() => E.value > Rr + 1e-3);
7669
+ }] : []), w = Tc(p, h), $ = x(() => Gt(0, i.value)), k = x(() => Gt(l.value, i.value)), E = R(1), C = R(0), N = R(0), I = R(!1), O = R(null), W = x(() => `translate(${C.value} ${N.value}) scale(${E.value})`), U = x(() => E.value > Rr + 1e-3);
7670
7670
  function H(D, P, ee) {
7671
7671
  return Math.min(ee, Math.max(P, D));
7672
7672
  }
@@ -7689,7 +7689,7 @@ var Nb = ["transform"], Ob = [
7689
7689
  y: Se.y
7690
7690
  };
7691
7691
  }
7692
- function R(D, P, ee) {
7692
+ function B(D, P, ee) {
7693
7693
  const de = H(ee, Rr, yf);
7694
7694
  if (de === E.value) return;
7695
7695
  const { x: K, y: Se } = te(D, P), Ie = de / E.value;
@@ -7699,13 +7699,13 @@ var Nb = ["transform"], Ob = [
7699
7699
  if (!n.zoomable) return;
7700
7700
  D.preventDefault();
7701
7701
  const P = D.deltaY < 0 ? qi : 1 / qi;
7702
- R(D.clientX, D.clientY, E.value * P);
7702
+ B(D.clientX, D.clientY, E.value * P);
7703
7703
  }
7704
7704
  function Y(D) {
7705
7705
  const P = r.value;
7706
7706
  if (!P) return;
7707
7707
  const ee = P.getBoundingClientRect();
7708
- R(ee.left + ee.width / 2, ee.top + ee.height / 2, E.value * D);
7708
+ B(ee.left + ee.width / 2, ee.top + ee.height / 2, E.value * D);
7709
7709
  }
7710
7710
  function j() {
7711
7711
  E.value = Rr, C.value = 0, N.value = 0;
@@ -7774,7 +7774,7 @@ var Nb = ["transform"], Ob = [
7774
7774
  e.zoomable ? (_(), S("div", {
7775
7775
  key: 0,
7776
7776
  class: "bgl-map__zoom flex column gap-025 absolute bottom-05 end-025 z-1 p-025 round bg-box shadow-10 border",
7777
- onPointerdown: P[2] || (P[2] = nt(() => {
7777
+ onPointerdown: P[2] || (P[2] = Qe(() => {
7778
7778
  }, ["stop"]))
7779
7779
  }, [
7780
7780
  re(Le, {
@@ -7862,7 +7862,7 @@ var Nb = ["transform"], Ob = [
7862
7862
  }
7863
7863
  },
7864
7864
  setup(e) {
7865
- const t = e, n = B(), { progress: a } = lr({
7865
+ const t = e, n = R(), { progress: a } = lr({
7866
7866
  el: n,
7867
7867
  enabled: t.animated,
7868
7868
  duration: 700
@@ -8024,7 +8024,7 @@ var Nb = ["transform"], Ob = [
8024
8024
  }), s = x(() => n.href !== void 0 && n.href !== "" ? "a" : n.to !== void 0 && n.to !== "" ? "router-link" : "div"), l = x(() => !!(n.title || t.header || t["header-action"] || t["top-start"] || t["top-end"])), u = x(() => !!(t.footer || t["bottom-start"] || t["bottom-end"]));
8025
8025
  return (d, c) => {
8026
8026
  const f = on("ripple");
8027
- return Ke((_(), se(Rt(s.value), ct(i.value, {
8027
+ return Ke((_(), se(Ot(s.value), ct(i.value, {
8028
8028
  class: ["bgl_card", [{
8029
8029
  thin: e.thin,
8030
8030
  "border bg-transparent": e.outline,
@@ -12502,7 +12502,7 @@ var cy = /* @__PURE__ */ Ee({
12502
12502
  }
12503
12503
  },
12504
12504
  setup(e) {
12505
- const t = e, n = x(() => t.icon ?? t.name), { isMobile: a } = Fi(), r = x(() => a.value && t.mobileSize !== void 0 ? t.mobileSize : t.size), o = x(() => t.fontAwesome && (cd.includes(n.value) || ml.includes(n.value)) ? "font-awesome" : op.includes(n.value) ? "material" : cd.includes(n.value) || ml.includes(n.value) ? "font-awesome" : "material"), i = x(() => ml.includes(n.value)), s = B(!0), l = B(!0), u = B(!0);
12505
+ const t = e, n = x(() => t.icon ?? t.name), { isMobile: a } = Fi(), r = x(() => a.value && t.mobileSize !== void 0 ? t.mobileSize : t.size), o = x(() => t.fontAwesome && (cd.includes(n.value) || ml.includes(n.value)) ? "font-awesome" : op.includes(n.value) ? "material" : cd.includes(n.value) || ml.includes(n.value) ? "font-awesome" : "material"), i = x(() => ml.includes(n.value)), s = R(!0), l = R(!0), u = R(!0);
12506
12506
  function d() {
12507
12507
  return typeof document > "u" ? null : document.fonts ?? null;
12508
12508
  }
@@ -12689,7 +12689,7 @@ var cy = /* @__PURE__ */ Ee({
12689
12689
  rounded: { type: [Boolean, Number] }
12690
12690
  },
12691
12691
  setup(e) {
12692
- const t = e, { imageSrc: n, loadingError: a } = Sh(() => t.src ?? t.pathKey ?? t.modelValue), r = B(!1);
12692
+ const t = e, { imageSrc: n, loadingError: a } = Sh(() => t.src ?? t.pathKey ?? t.modelValue), r = R(!1);
12693
12693
  De(n, () => {
12694
12694
  r.value = !1;
12695
12695
  });
@@ -13407,9 +13407,9 @@ function n_(e, t) {
13407
13407
  };
13408
13408
  }
13409
13409
  function cp(e) {
13410
- const t = na(null), n = Jy(t), a = B([]), r = na(e);
13410
+ const t = na(null), n = Jy(t), a = R([]), r = na(e);
13411
13411
  return {
13412
- state: B({
13412
+ state: R({
13413
13413
  start: 0,
13414
13414
  end: 10
13415
13415
  }),
@@ -13537,7 +13537,7 @@ var i_ = ["src", "title"], l_ = [
13537
13537
  title: {}
13538
13538
  },
13539
13539
  setup(e, { expose: t }) {
13540
- const n = e, a = x(() => n.src?.split(".").pop()?.split("?").shift()?.toLowerCase() ?? "mp4"), r = B(), o = x(() => n.src?.includes("youtube.com/shorts/") ?? !1), i = x(() => o.value ? "9/16" : n.aspectRatio?.replace(":", "/") ?? "16/9"), s = B();
13540
+ const n = e, a = x(() => n.src?.split(".").pop()?.split("?").shift()?.toLowerCase() ?? "mp4"), r = R(), o = x(() => n.src?.includes("youtube.com/shorts/") ?? !1), i = x(() => o.value ? "9/16" : n.aspectRatio?.replace(":", "/") ?? "16/9"), s = R();
13541
13541
  function l() {
13542
13542
  s.value?.play();
13543
13543
  }
@@ -13616,7 +13616,7 @@ var i_ = ["src", "title"], l_ = [
13616
13616
  },
13617
13617
  emits: ["close", "eventClick"],
13618
13618
  setup(e, { emit: t }) {
13619
- const n = e, a = t, { scrollY: r, scrollX: o, innerHeight: i, innerWidth: s } = Fi(), l = B(), u = x(() => {
13619
+ const n = e, a = t, { scrollY: r, scrollX: o, innerHeight: i, innerWidth: s } = Fi(), l = R(), u = x(() => {
13620
13620
  if (n.position) {
13621
13621
  let { top: p, left: h } = n.position;
13622
13622
  return p -= 80, p = Math.max(r.value + 10, Math.min(p, i.value + r.value - 150 - 10)), h = Math.max(o.value + 10, Math.min(h, s.value + o.value - 400 - 10)), {
@@ -13689,7 +13689,7 @@ var i_ = ["src", "title"], l_ = [
13689
13689
  "openPopover"
13690
13690
  ],
13691
13691
  setup(e, { emit: t }) {
13692
- const n = e, a = t, r = Ct(), { t: o } = Tt(), i = B(null);
13692
+ const n = e, a = t, r = Ct(), { t: o } = Tt(), i = R(null);
13693
13693
  function s() {
13694
13694
  try {
13695
13695
  return dr().global.locale.value;
@@ -13722,7 +13722,7 @@ var i_ = ["src", "title"], l_ = [
13722
13722
  });
13723
13723
  }
13724
13724
  return Array.from(v.values());
13725
- }), d = B(!1);
13725
+ }), d = R(!1);
13726
13726
  function c() {
13727
13727
  if (!i.value) return;
13728
13728
  const g = i.value, L = g.querySelectorAll(".agenda-day-group"), m = g.getBoundingClientRect().top;
@@ -13790,7 +13790,7 @@ var i_ = ["src", "title"], l_ = [
13790
13790
  u.value.some((L) => L.date.getTime() >= g - 864e5) && (d.value = !0, at(() => h(/* @__PURE__ */ new Date(), "instant", "nearest")));
13791
13791
  }), je(() => {
13792
13792
  i.value?.addEventListener("scroll", c);
13793
- }), Bt(() => {
13793
+ }), Rt(() => {
13794
13794
  i.value?.removeEventListener("scroll", c);
13795
13795
  }), (g, L) => (_(), S("div", {
13796
13796
  ref_key: "containerRef",
@@ -13815,8 +13815,8 @@ var i_ = ["src", "title"], l_ = [
13815
13815
  ], 2), (_(!0), S(_e, null, Me(m.events, (v) => (_(), S("article", {
13816
13816
  key: v.id,
13817
13817
  class: "agenda-event-row grid gap-05 hover pe-1",
13818
- onClick: nt((y) => f(v, y), ["stop"])
13819
- }, [M("div", __, ie(b(Ot)(v.start_time, { format: "HH:mm" })), 1), re(b(Wa), {
13818
+ onClick: Qe((y) => f(v, y), ["stop"])
13819
+ }, [M("div", __, ie(b(Nt)(v.start_time, { format: "HH:mm" })), 1), re(b(Wa), {
13820
13820
  class: "agenda-event-card overflow-hidden transition py-025 px-075 my-025",
13821
13821
  frame: "",
13822
13822
  style: ye({ "--event-color": v.color || "var(--bgl-primary)" })
@@ -13840,13 +13840,13 @@ var i_ = ["src", "title"], l_ = [
13840
13840
  const n = e, a = t, r = Ct(), o = {
13841
13841
  start: 0,
13842
13842
  end: 24
13843
- }, i = B({
13843
+ }, i = R({
13844
13844
  isDragging: !1,
13845
13845
  start: null,
13846
13846
  end: null,
13847
13847
  startTime: null,
13848
13848
  endTime: null
13849
- }), s = B(0), l = B(!1), u = B(null), d = x(() => {
13849
+ }), s = R(0), l = R(!1), u = R(null), d = x(() => {
13850
13850
  const v = [];
13851
13851
  for (let y = o.start; y < o.end; y++) for (let w = 0; w < 60; w += Ro) v.push({
13852
13852
  hour: y,
@@ -13913,10 +13913,10 @@ var i_ = ["src", "title"], l_ = [
13913
13913
  }
13914
13914
  return je(() => {
13915
13915
  document.addEventListener("mousedown", p), f(), u.value = setInterval(f, 6e4);
13916
- }), Bt(() => {
13916
+ }), Rt(() => {
13917
13917
  document.removeEventListener("mousedown", p), document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", g), u.value && clearInterval(u.value);
13918
13918
  }), (v, y) => (_(), S("div", k_, [
13919
- M("div", T_, [y[0] || (y[0] = M("div", null, null, -1)), M("div", null, ie(b(Ot)(e.startDate)), 1)]),
13919
+ M("div", T_, [y[0] || (y[0] = M("div", null, null, -1)), M("div", null, ie(b(Nt)(e.startDate)), 1)]),
13920
13920
  M("div", M_, [M("div", {
13921
13921
  class: "time-slots dayGrid border-end relative",
13922
13922
  onMousedown: p
@@ -13938,8 +13938,8 @@ var i_ = ["src", "title"], l_ = [
13938
13938
  height: `${w.height}px`,
13939
13939
  backgroundColor: w.color || "var(--bgl-primary)"
13940
13940
  }),
13941
- onClick: nt(($) => m(w, $), ["stop"])
13942
- }, [M("div", I_, [M("div", N_, ie(w.title), 1), M("div", O_, ie(b(Ot)(new Date(w.start_time), { format: "HH:mm" })) + " - " + ie(b(Ot)(new Date(w.end_time), { format: "HH:mm" })), 1)])], 12, P_))), 128))]),
13941
+ onClick: Qe(($) => m(w, $), ["stop"])
13942
+ }, [M("div", I_, [M("div", N_, ie(w.title), 1), M("div", O_, ie(b(Nt)(new Date(w.start_time), { format: "HH:mm" })) + " - " + ie(b(Nt)(new Date(w.end_time), { format: "HH:mm" })), 1)])], 12, P_))), 128))]),
13943
13943
  i.value.isDragging && i.value.start && i.value.end ? (_(), S("div", {
13944
13944
  key: 0,
13945
13945
  class: "drag-preview absolute bg-primary-tint pointer-events-none z-1",
@@ -13949,7 +13949,7 @@ var i_ = ["src", "title"], l_ = [
13949
13949
  left: "10px",
13950
13950
  right: "10px"
13951
13951
  })
13952
- }, [M("div", R_, ie(i.value.startTime ? b(Ot)(i.value.startTime, { format: "HH:mm" }) : "") + " - " + ie(i.value.endTime ? b(Ot)(i.value.endTime, { format: "HH:mm" }) : ""), 1)], 4)) : F("", !0)
13952
+ }, [M("div", R_, ie(i.value.startTime ? b(Nt)(i.value.startTime, { format: "HH:mm" }) : "") + " - " + ie(i.value.endTime ? b(Nt)(i.value.endTime, { format: "HH:mm" }) : ""), 1)], 4)) : F("", !0)
13953
13953
  ], 32)]),
13954
13954
  y[2] || (y[2] = M("div", { class: "border-bottom me-1" }, null, -1))
13955
13955
  ]));
@@ -14030,12 +14030,12 @@ var i_ = ["src", "title"], l_ = [
14030
14030
  today: c.isToday,
14031
14031
  "other-month": !c.isCurrentMonth
14032
14032
  }])
14033
- }, [M("div", U_, ie(b(Ot)(c.date, { format: "DD" })), 1), M("div", W_, [b(o) ? (_(), S(_e, { key: 0 }, [c.events.length > 0 ? (_(), S("div", j_)) : F("", !0)], 64)) : (_(!0), S(_e, { key: 1 }, Me(c.events, (f) => (_(), S("div", {
14033
+ }, [M("div", U_, ie(b(Nt)(c.date, { format: "DD" })), 1), M("div", W_, [b(o) ? (_(), S(_e, { key: 0 }, [c.events.length > 0 ? (_(), S("div", j_)) : F("", !0)], 64)) : (_(!0), S(_e, { key: 1 }, Me(c.events, (f) => (_(), S("div", {
14034
14034
  key: f.id,
14035
14035
  class: "event-item",
14036
14036
  style: ye({ backgroundColor: f.color || "var(--bgl-primary)" }),
14037
- onClick: nt((p) => l(f, p), ["stop"])
14038
- }, [M("div", q_, ie(f.title), 1), M("div", Y_, ie(b(Ot)(f.start_time, "HH:mm")), 1)], 12, G_))), 128))])], 2))), 128))])]));
14037
+ onClick: Qe((p) => l(f, p), ["stop"])
14038
+ }, [M("div", q_, ie(f.title), 1), M("div", Y_, ie(b(Nt)(f.start_time, "HH:mm")), 1)], 12, G_))), 128))])], 2))), 128))])]));
14039
14039
  }
14040
14040
  }), X_ = /* @__PURE__ */ Re(Z_, [["__scopeId", "data-v-0abf6d19"]]), K_ = { class: "w-100p overflow-hidden m_overflow h-100p grid" }, J_ = ["onMousedown"], Q_ = ["onClick"], ew = { class: "overflow-hidden color-white p-025 txt12 h-100p flex gap-1 flex-wrap" }, tw = { class: "white-space ellipsis-1" }, nw = { class: "txt10 opacity-8 user-select-none" }, aw = { class: "color-primary txt-12 p-025" }, Yt = 60, On = 60, Zi = 30, rw = /* @__PURE__ */ Ee({
14041
14041
  __name: "WeekView",
@@ -14063,7 +14063,7 @@ var i_ = ["src", "title"], l_ = [
14063
14063
  const n = e, a = t, r = Ct(), o = {
14064
14064
  start: 0,
14065
14065
  end: 24
14066
- }, i = x(() => !!r.eventCreate || Object.prototype.hasOwnProperty.call(a, "eventCreate")), s = B({
14066
+ }, i = x(() => !!r.eventCreate || Object.prototype.hasOwnProperty.call(a, "eventCreate")), s = R({
14067
14067
  isDragging: !1,
14068
14068
  startDay: -1,
14069
14069
  endDay: -1,
@@ -14071,7 +14071,7 @@ var i_ = ["src", "title"], l_ = [
14071
14071
  end: void 0,
14072
14072
  startTime: void 0,
14073
14073
  endTime: void 0
14074
- }), l = B([]), u = B({
14074
+ }), l = R([]), u = R({
14075
14075
  isDragging: !1,
14076
14076
  mode: "add",
14077
14077
  dayIndex: -1,
@@ -14203,7 +14203,7 @@ var i_ = ["src", "title"], l_ = [
14203
14203
  }
14204
14204
  a("availabilityChange", l.value), u.value.isDragging = !1, document.removeEventListener("mousemove", L), document.removeEventListener("mouseup", m);
14205
14205
  }
14206
- const v = B(0), y = B(!1), w = B(), $ = B(), k = B(), E = B([]), C = B(), N = B();
14206
+ const v = R(0), y = R(!1), w = R(), $ = R(), k = R(), E = R([]), C = R(), N = R();
14207
14207
  function I(oe) {
14208
14208
  if (!C.value) return 0;
14209
14209
  const G = oe - C.value.getBoundingClientRect().top;
@@ -14281,7 +14281,7 @@ var i_ = ["src", "title"], l_ = [
14281
14281
  y: oe.clientY - ee.top
14282
14282
  };
14283
14283
  const de = A(oe.clientY, G);
14284
- s.value.startTime = de, document.addEventListener("mousemove", te), document.addEventListener("mouseup", R);
14284
+ s.value.startTime = de, document.addEventListener("mousemove", te), document.addEventListener("mouseup", B);
14285
14285
  }
14286
14286
  function te(oe) {
14287
14287
  if (!i.value || !s.value.isDragging || !s.value.start || !E.value.length || !k.value || !C.value) return;
@@ -14305,7 +14305,7 @@ var i_ = ["src", "title"], l_ = [
14305
14305
  s.value.endTime = P;
14306
14306
  }
14307
14307
  }
14308
- function R() {
14308
+ function B() {
14309
14309
  if (!i.value || !s.value.isDragging || !s.value.startTime || !s.value.endTime) return;
14310
14310
  let oe = new Date(s.value.startTime), G = new Date(s.value.endTime);
14311
14311
  G < oe && ([oe, G] = [G, oe]), a("eventCreate", {
@@ -14319,7 +14319,7 @@ var i_ = ["src", "title"], l_ = [
14319
14319
  end: void 0,
14320
14320
  startTime: void 0,
14321
14321
  endTime: void 0
14322
- }, document.removeEventListener("mousemove", te), document.removeEventListener("mouseup", R);
14322
+ }, document.removeEventListener("mousemove", te), document.removeEventListener("mouseup", B);
14323
14323
  }
14324
14324
  function A(oe, G) {
14325
14325
  if (!C.value) return new Date(G);
@@ -14356,8 +14356,8 @@ var i_ = ["src", "title"], l_ = [
14356
14356
  Y(), w.value = setInterval(Y, 6e4), at(() => {
14357
14357
  fe(6);
14358
14358
  });
14359
- }), Bt(() => {
14360
- document.removeEventListener("mousemove", te), document.removeEventListener("mouseup", R), document.removeEventListener("mousemove", L), document.removeEventListener("mouseup", m), w.value && clearInterval(w.value);
14359
+ }), Rt(() => {
14360
+ document.removeEventListener("mousemove", te), document.removeEventListener("mouseup", B), document.removeEventListener("mousemove", L), document.removeEventListener("mouseup", m), w.value && clearInterval(w.value);
14361
14361
  }), (oe, G) => (_(), S("div", K_, [
14362
14362
  M("div", {
14363
14363
  ref_key: "calendarGrid",
@@ -14366,10 +14366,10 @@ var i_ = ["src", "title"], l_ = [
14366
14366
  }, [G[1] || (G[1] = M("div", null, null, -1)), (_(!0), S(_e, null, Me(d.value, (D) => (_(), S("div", {
14367
14367
  key: D.toISOString(),
14368
14368
  class: "day-header p-05 txt-center m_txt12"
14369
- }, [ze(ie(b(Ot)(D, { format: "DDD" })) + " ", 1), M("span", { class: ue(["txt-12 round p-025", {
14369
+ }, [ze(ie(b(Nt)(D, { format: "DDD" })) + " ", 1), M("span", { class: ue(["txt-12 round p-025", {
14370
14370
  "color-gray": D.toDateString() !== (/* @__PURE__ */ new Date()).toDateString(),
14371
14371
  "bg-primary color-white": D.toDateString() === (/* @__PURE__ */ new Date()).toDateString()
14372
- }]) }, ie(b(Ot)(D, { format: "DD" })), 3)]))), 128))], 512),
14372
+ }]) }, ie(b(Nt)(D, { format: "DD" })), 3)]))), 128))], 512),
14373
14373
  M("div", {
14374
14374
  ref_key: "scrollableContainer",
14375
14375
  ref: N,
@@ -14438,10 +14438,10 @@ var i_ = ["src", "title"], l_ = [
14438
14438
  width: `${ee.width}%`,
14439
14439
  backgroundColor: ee.color || "var(--bgl-primary)"
14440
14440
  }),
14441
- onMousedown: G[0] || (G[0] = nt(() => {
14441
+ onMousedown: G[0] || (G[0] = Qe(() => {
14442
14442
  }, ["stop"])),
14443
- onClick: nt((de) => j(ee, de), ["stop"])
14444
- }, [M("div", ew, [M("div", tw, ie(ee.title), 1), M("div", nw, ie(b(Ot)(ee.start_time, { format: "HH:mm" })) + " - " + ie(b(Ot)(ee.end_time, { format: "HH:mm" })), 1)])], 44, Q_))), 128))
14443
+ onClick: Qe((de) => j(ee, de), ["stop"])
14444
+ }, [M("div", ew, [M("div", tw, ie(ee.title), 1), M("div", nw, ie(b(Nt)(ee.start_time, { format: "HH:mm" })) + " - " + ie(b(Nt)(ee.end_time, { format: "HH:mm" })), 1)])], 44, Q_))), 128))
14445
14445
  ], 40, J_))), 128)),
14446
14446
  i.value && s.value.isDragging && s.value.start && s.value.end && W.value ? (_(), S("div", {
14447
14447
  key: 1,
@@ -14452,7 +14452,7 @@ var i_ = ["src", "title"], l_ = [
14452
14452
  width: `${E.value[s.value.startDay]?.offsetWidth || 100}px`,
14453
14453
  height: `${W.value.height}px`
14454
14454
  })
14455
- }, [M("div", aw, ie(s.value.startTime ? b(Ot)(s.value.startTime, { format: "HH:mm" }) : "") + " - " + ie(s.value.endTime ? b(Ot)(s.value.endTime, { format: "HH:mm" }) : ""), 1)], 4)) : F("", !0)
14455
+ }, [M("div", aw, ie(s.value.startTime ? b(Nt)(s.value.startTime, { format: "HH:mm" }) : "") + " - " + ie(s.value.endTime ? b(Nt)(s.value.endTime, { format: "HH:mm" }) : ""), 1)], 4)) : F("", !0)
14456
14456
  ], 512)], 512),
14457
14457
  G[3] || (G[3] = M("div", { class: "border-bottom me-1" }, null, -1))
14458
14458
  ]));
@@ -14486,7 +14486,7 @@ var i_ = ["src", "title"], l_ = [
14486
14486
  "availabilityChange"
14487
14487
  ],
14488
14488
  setup(e, { expose: t, emit: n }) {
14489
- const a = e, r = n, { t: o } = Tt(), i = B(new Date(a.startDate)), s = B(a.view), l = B(), u = B(!1), d = B(), c = {
14489
+ const a = e, r = n, { t: o } = Tt(), i = R(new Date(a.startDate)), s = R(a.view), l = R(), u = R(!1), d = R(), c = {
14490
14490
  Week: ow,
14491
14491
  Month: X_,
14492
14492
  Day: F_,
@@ -14566,7 +14566,7 @@ var i_ = ["src", "title"], l_ = [
14566
14566
  }), je(() => {
14567
14567
  r("ready", g.value);
14568
14568
  }), (N, I) => (_(), S("div", iw, [
14569
- M("div", lw, [M("h3", sw, [M("b", null, ie(b(Ot)(i.value, "MMMM")), 1), ze(" " + ie(b(Ot)(i.value, "YYYY")), 1)]), M("div", uw, [e.viewSwitcher === "tabs" ? (_(), se(b(Vs), {
14569
+ M("div", lw, [M("h3", sw, [M("b", null, ie(b(Nt)(i.value, "MMMM")), 1), ze(" " + ie(b(Nt)(i.value, "YYYY")), 1)]), M("div", uw, [e.viewSwitcher === "tabs" ? (_(), se(b(Vs), {
14570
14570
  key: 0,
14571
14571
  size: "sm",
14572
14572
  "model-value": s.value,
@@ -14616,7 +14616,7 @@ var i_ = ["src", "title"], l_ = [
14616
14616
  onClick: I[3] || (I[3] = (O) => L(b(ma)(i.value, { [p[s.value]]: 1 })))
14617
14617
  }, null, 8, ["disabled"])
14618
14618
  ])])]),
14619
- (_(), se(Rt(c[s.value]), {
14619
+ (_(), se(Ot(c[s.value]), {
14620
14620
  events: e.events,
14621
14621
  "start-date": i.value,
14622
14622
  "week-start": e.weekStart,
@@ -14733,7 +14733,7 @@ ${c}}` : p.map(([h, g]) => `${h}: ${typeof g == "object" && g !== null ? o(g, d
14733
14733
  if (!Ml(f, p)) return;
14734
14734
  } else if (!p) return;
14735
14735
  }
14736
- const { $el: h, children: g, class: L, id: m, transform: v, validate: y, onUpdate: w, slots: $, required: k, label: E, placeholder: C, disabled: N, defaultValue: I, ...O } = u, W = u.id ? "get" in (f || {}) ? f?.get(u.id) : Ml(f, u.id) : void 0, U = v ? m ? v(W, f) : v(f) : W, H = h0(O, W, f), te = typeof c == "string" && fw.has(c), R = typeof c == "string" && pw.has(c), A = {
14736
+ const { $el: h, children: g, class: L, id: m, transform: v, validate: y, onUpdate: w, slots: $, required: k, label: E, placeholder: C, disabled: N, defaultValue: I, ...O } = u, W = u.id ? "get" in (f || {}) ? f?.get(u.id) : Ml(f, u.id) : void 0, U = v ? m ? v(W, f) : v(f) : W, H = h0(O, W, f), te = typeof c == "string" && fw.has(c), B = typeof c == "string" && pw.has(c), A = {
14737
14737
  ...H,
14738
14738
  required: k,
14739
14739
  label: E,
@@ -14753,7 +14753,7 @@ ${c}}` : p.map(([h, g]) => `${h}: ${typeof g == "object" && g !== null ? o(g, d
14753
14753
  }
14754
14754
  if (t === "form" ? (A.modelValue = W, A["onUpdate:modelValue"] = (X) => {
14755
14755
  a?.(u, X);
14756
- }) : te || (R ? A.src = U : mw(c) ? A.value = U != null ? String(U) : U : A.modelValue = U), Object.keys(A).forEach((X) => {
14756
+ }) : te || (B ? A.src = U : mw(c) ? A.value = U != null ? String(U) : U : A.modelValue = U), Object.keys(A).forEach((X) => {
14757
14757
  A[X] === void 0 && delete A[X];
14758
14758
  }), u.options) if (Array.isArray(u.options)) A.options = u.options;
14759
14759
  else if (typeof u.options == "function") {
@@ -14811,10 +14811,10 @@ function Lw(e) {
14811
14811
  created_at: "Created Date",
14812
14812
  updated_at: "Last Update"
14813
14813
  }, n = e.id;
14814
- return n in t && ((!e.label || e.label === zi(e.id)) && (e.label = t[n]), e.transform || (e.transform = (a) => a && Ot(a, "DD.MM.YY HH:mm"))), e;
14814
+ return n in t && ((!e.label || e.label === zi(e.id)) && (e.label = t[n]), e.transform || (e.transform = (a) => a && Nt(a, "DD.MM.YY HH:mm"))), e;
14815
14815
  }
14816
14816
  function _p(e) {
14817
- const t = B(""), n = B("ASC"), a = B("loading"), r = B([]);
14817
+ const t = R(""), n = R("ASC"), a = R("loading"), r = R([]);
14818
14818
  function o() {
14819
14819
  try {
14820
14820
  a.value = "loading";
@@ -14830,7 +14830,7 @@ function _p(e) {
14830
14830
  id: g,
14831
14831
  label: g === "created_at" ? "Created Date" : g === "updated_at" ? "Last Update" : zi(g),
14832
14832
  $el: "div",
14833
- transform: (L) => ["created_at", "updated_at"].includes(g) ? L && Ot(L, "DD.MM.YY HH:mm") : L
14833
+ transform: (L) => ["created_at", "updated_at"].includes(g) ? L && Nt(L, "DD.MM.YY HH:mm") : L
14834
14834
  }));
14835
14835
  } else r.value = [];
14836
14836
  a.value = "loaded";
@@ -14915,11 +14915,11 @@ var bw = { class: "data-preview" }, yw = {
14915
14915
  includeUnset: t.includeUnset,
14916
14916
  onUpdateModelValue: void 0
14917
14917
  });
14918
- return (s, l) => (_(), S("div", bw, [b(a) && b(a).length > 0 ? (_(!0), S(_e, { key: 0 }, Me(b(a), (u) => (_(), se(Rt(b(i)(u, b(n))), { key: u.id }))), 128)) : (_(), S("div", yw, " No data to display "))]));
14918
+ return (s, l) => (_(), S("div", bw, [b(a) && b(a).length > 0 ? (_(!0), S(_e, { key: 0 }, Me(b(a), (u) => (_(), se(Ot(b(i)(u, b(n))), { key: u.id }))), 128)) : (_(), S("div", yw, " No data to display "))]));
14919
14919
  }
14920
14920
  }), VW = /* @__PURE__ */ Re(_w, [["__scopeId", "data-v-a2c2c662"]]);
14921
14921
  function Fl(e = {}) {
14922
- const t = B(!1), n = B(null), a = B(null), r = B(null), o = B(null), i = typeof window < "u";
14922
+ const t = R(!1), n = R(null), a = R(null), r = R(null), o = R(null), i = typeof window < "u";
14923
14923
  if (i && !document.getElementById("draggable-style")) {
14924
14924
  const D = document.createElement("style");
14925
14925
  D.id = "draggable-style", D.textContent = `
@@ -15017,7 +15017,7 @@ function Fl(e = {}) {
15017
15017
  const ee = P.getBoundingClientRect();
15018
15018
  d = ee.left, c = ee.top, a.value = $(P), a.value && (a.value.style.left = `${d}px`, a.value.style.top = `${c}px`), s.mode === "line" && (r.value = k(P)), P.classList.add(s.dragClass), f = s.mode === "ghost" ? N(P) : I(P), s.onStart?.(D), i && (document.body.style.userSelect = "none", document.body.style.webkitUserSelect = "none", document.body.style.cursor = "grabbing", window.addEventListener("blur", U), document.addEventListener("mousemove", Y), document.addEventListener("mouseup", j), document.addEventListener("keydown", H));
15019
15019
  }
15020
- function R(D) {
15020
+ function B(D) {
15021
15021
  let P = D.parentElement;
15022
15022
  for (; P; ) {
15023
15023
  const { overflow: ee, overflowY: de } = window.getComputedStyle(P);
@@ -15028,7 +15028,7 @@ function Fl(e = {}) {
15028
15028
  }
15029
15029
  function A(D) {
15030
15030
  n.value && (h && cancelAnimationFrame(h), h = requestAnimationFrame(() => {
15031
- const P = R(n.value), ee = P.getBoundingClientRect(), de = 50, K = Math.min(20, ee.height * 0.1), { scrollTop: Se } = P, Ie = P.scrollHeight - P.clientHeight;
15031
+ const P = B(n.value), ee = P.getBoundingClientRect(), de = 50, K = Math.min(20, ee.height * 0.1), { scrollTop: Se } = P, Ie = P.scrollHeight - P.clientHeight;
15032
15032
  D.clientY - ee.top < de ? P.scrollTop = Math.max(0, Se - K) : ee.bottom - D.clientY < de && (P.scrollTop = Math.min(Ie, Se + K));
15033
15033
  }));
15034
15034
  }
@@ -15128,7 +15128,7 @@ function Fl(e = {}) {
15128
15128
  }), U();
15129
15129
  };
15130
15130
  }
15131
- return Bt(() => {
15131
+ return Rt(() => {
15132
15132
  p?.();
15133
15133
  }), {
15134
15134
  isDragging: t,
@@ -15137,7 +15137,7 @@ function Fl(e = {}) {
15137
15137
  };
15138
15138
  }
15139
15139
  function ww(e) {
15140
- const t = B(), n = B(null), a = x(() => e.selectedItems.value), r = x(() => e.selectable === !0 && Array.isArray(e.selectedItems.value)), o = x(() => e.data.value);
15140
+ const t = R(), n = R(null), a = x(() => e.selectedItems.value), r = x(() => e.selectable === !0 && Array.isArray(e.selectedItems.value)), o = x(() => e.data.value);
15141
15141
  function i() {
15142
15142
  if (t.value === void 0) return;
15143
15143
  if (!o.value) {
@@ -15186,7 +15186,7 @@ function ww(e) {
15186
15186
  };
15187
15187
  }
15188
15188
  function $w(e) {
15189
- const t = B(null), { list: n, containerProps: a, wrapperProps: r, scrollTo: o } = n_(x(() => [{ __isHeader: !0 }, ...He(e.data)]), {
15189
+ const t = R(null), { list: n, containerProps: a, wrapperProps: r, scrollTo: o } = n_(x(() => [{ __isHeader: !0 }, ...He(e.data)]), {
15190
15190
  itemHeight: e.itemHeight,
15191
15191
  overscan: 10
15192
15192
  }), i = x(() => n.value.filter((l) => !l.data.__isHeader));
@@ -15279,7 +15279,7 @@ var Sw = { class: "row first-row" }, Cw = {
15279
15279
  onLastItemVisible: () => {
15280
15280
  a("lastItemVisible"), n.onLastItemVisible?.();
15281
15281
  }
15282
- }), O = x(() => !!n.sortable), W = x(() => typeof n.sortable == "object" && n.sortable?.handle ? n.sortable.handle : ".drag-handle-col"), U = B(), { initDraggableContainer: H } = Fl({
15282
+ }), O = x(() => !!n.sortable), W = x(() => typeof n.sortable == "object" && n.sortable?.handle ? n.sortable.handle : ".drag-handle-col"), U = R(), { initDraggableContainer: H } = Fl({
15283
15283
  handle: W.value,
15284
15284
  mode: "line",
15285
15285
  items: n.data,
@@ -15301,7 +15301,7 @@ var Sw = { class: "row first-row" }, Cw = {
15301
15301
  De(() => n.data, te, { deep: !0 }), De(O, (G) => {
15302
15302
  G && at(te);
15303
15303
  }), je(te);
15304
- function R(G, D) {
15304
+ function B(G, D) {
15305
15305
  const { renderField: P } = yp({
15306
15306
  mode: "table",
15307
15307
  getFormData: () => D
@@ -15335,7 +15335,7 @@ var Sw = { class: "row first-row" }, Cw = {
15335
15335
  ref_key: "allSelectorEl",
15336
15336
  ref: m,
15337
15337
  type: "checkbox",
15338
- onClick: D[0] || (D[0] = nt(() => {
15338
+ onClick: D[0] || (D[0] = Qe(() => {
15339
15339
  }, ["stop"])),
15340
15340
  onChange: D[1] || (D[1] = (P) => b(w)(P))
15341
15341
  }, null, 544)])) : F("", !0),
@@ -15363,7 +15363,7 @@ var Sw = { class: "row first-row" }, Cw = {
15363
15363
  size: 1.2,
15364
15364
  class: "drag-handle-col grab"
15365
15365
  })])) : F("", !0),
15366
- b(L) ? (_(), S("td", Aw, [M("div", { onClick: D[3] || (D[3] = nt(() => {
15366
+ b(L) ? (_(), S("td", Aw, [M("div", { onClick: D[3] || (D[3] = Qe(() => {
15367
15367
  }, ["stop"])) }, [Ke(M("input", {
15368
15368
  "onUpdate:modelValue": D[2] || (D[2] = (ee) => l.value = ee),
15369
15369
  type: "checkbox",
@@ -15376,7 +15376,7 @@ var Sw = { class: "row first-row" }, Cw = {
15376
15376
  key: 0,
15377
15377
  row: P,
15378
15378
  field: ee
15379
- }, void 0, !0) : (_(), S("div", Pw, [(_(), se(Rt(R(ee, P))))]))]))), 128))
15379
+ }, void 0, !0) : (_(), S("div", Pw, [(_(), se(Ot(B(ee, P))))]))]))), 128))
15380
15380
  ], 10, Tw))), 128)), n.onLastItemVisible !== void 0 ? (_(), S("tr", {
15381
15381
  key: 0,
15382
15382
  ref_key: "lastItemEl",
@@ -15413,7 +15413,7 @@ var Sw = { class: "row first-row" }, Cw = {
15413
15413
  "end"
15414
15414
  ],
15415
15415
  setup(e, { emit: t }) {
15416
- const n = e, a = t, r = B(), { initDraggableContainer: o } = Fl({
15416
+ const n = e, a = t, r = R(), { initDraggableContainer: o } = Fl({
15417
15417
  group: n.group,
15418
15418
  handle: n.handle,
15419
15419
  mode: n.mode,
@@ -15468,7 +15468,7 @@ var Rw = {
15468
15468
  },
15469
15469
  emits: ["addFiles"],
15470
15470
  setup(e, { emit: t }) {
15471
- const n = e, a = t, r = B(!1), o = B(0);
15471
+ const n = e, a = t, r = R(!1), o = R(0);
15472
15472
  function i(c) {
15473
15473
  n.disabled || (c.preventDefault(), c.stopPropagation(), o.value++, r.value = !0);
15474
15474
  }
@@ -15747,15 +15747,15 @@ var Yw = 50, Cp = async (e, t, n) => {
15747
15747
  }, p = Pc(r), h = Dc(p), g = await i.getDimensions(u), L = p === "y", m = L ? "top" : "left", v = L ? "bottom" : "right", y = L ? "clientHeight" : "clientWidth", w = o.reference[h] + o.reference[p] - f[p] - o.floating[h], $ = f[p] - o.reference[p], k = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u));
15748
15748
  let E = k ? k[y] : 0;
15749
15749
  (!E || !await (i.isElement == null ? void 0 : i.isElement(k))) && (E = s.floating[y] || o.floating[h]);
15750
- const C = w / 2 - $ / 2, N = E / 2 - g[h] / 2 - 1, I = kr(c[m], N), O = kr(c[v], N), W = I, U = E - g[h] - O, H = E / 2 - g[h] / 2 + C, te = pd(W, H, U), R = !l.arrow && Qn(r) != null && H !== te && o.reference[h] / 2 - (H < W ? I : O) - g[h] / 2 < 0, A = R ? H < W ? H - W : H - U : 0;
15750
+ const C = w / 2 - $ / 2, N = E / 2 - g[h] / 2 - 1, I = kr(c[m], N), O = kr(c[v], N), W = I, U = E - g[h] - O, H = E / 2 - g[h] / 2 + C, te = pd(W, H, U), B = !l.arrow && Qn(r) != null && H !== te && o.reference[h] / 2 - (H < W ? I : O) - g[h] / 2 < 0, A = B ? H < W ? H - W : H - U : 0;
15751
15751
  return {
15752
15752
  [p]: f[p] + A,
15753
15753
  data: {
15754
15754
  [p]: te,
15755
15755
  centerOffset: H - te - A,
15756
- ...R && { alignmentOffset: A }
15756
+ ...B && { alignmentOffset: A }
15757
15757
  },
15758
- reset: R
15758
+ reset: B
15759
15759
  };
15760
15760
  }
15761
15761
  });
@@ -15834,8 +15834,8 @@ var Ep = function(e) {
15834
15834
  },
15835
15835
  reset: { placement: te }
15836
15836
  };
15837
- let R = (W = I.filter((A) => A.overflows[0] <= 0).sort((A, Y) => A.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : W.placement;
15838
- if (!R) switch (p) {
15837
+ let B = (W = I.filter((A) => A.overflows[0] <= 0).sort((A, Y) => A.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : W.placement;
15838
+ if (!B) switch (p) {
15839
15839
  case "bestFit": {
15840
15840
  var U;
15841
15841
  const A = (U = I.filter((Y) => {
@@ -15845,14 +15845,14 @@ var Ep = function(e) {
15845
15845
  }
15846
15846
  return !0;
15847
15847
  }).map((Y) => [Y.placement, Y.overflows.filter((j) => j > 0).reduce((j, X) => j + X, 0)]).sort((Y, j) => Y[1] - j[1])[0]) == null ? void 0 : U[0];
15848
- A && (R = A);
15848
+ A && (B = A);
15849
15849
  break;
15850
15850
  }
15851
15851
  case "initialPlacement":
15852
- R = s;
15852
+ B = s;
15853
15853
  break;
15854
15854
  }
15855
- if (r !== R) return { reset: { placement: R } };
15855
+ if (r !== B) return { reset: { placement: B } };
15856
15856
  }
15857
15857
  return {};
15858
15858
  }
@@ -16387,9 +16387,9 @@ var v$ = {
16387
16387
  }),
16388
16388
  emits: /* @__PURE__ */ rn(["show", "hide"], ["update:shown"]),
16389
16389
  setup(e, { expose: t, emit: n }) {
16390
- const a = e, r = n, o = Vt(e, "shown"), i = B(o.value), s = B(null), l = B(null);
16390
+ const a = e, r = n, o = Vt(e, "shown"), i = R(o.value), s = R(null), l = R(null);
16391
16391
  let u = !1;
16392
- const d = `bgl-dd-${S4()}`, c = B("body"), { isMobile: f } = Fi(), p = x(() => a.disablePlacement && f.value), h = f, g = x(() => h.value ? a.triggers.map((xe) => xe === "hover" ? "click" : xe) : a.triggers), L = x(() => g.value.includes("click")), m = x(() => g.value.includes("hover")), v = x(() => a.popperTriggers.length > 0 ? a.popperTriggers.includes("hover") : a.triggers.includes("hover") && !h.value), y = x(() => {
16392
+ const d = `bgl-dd-${S4()}`, c = R("body"), { isMobile: f } = Fi(), p = x(() => a.disablePlacement && f.value), h = f, g = x(() => h.value ? a.triggers.map((xe) => xe === "hover" ? "click" : xe) : a.triggers), L = x(() => g.value.includes("click")), m = x(() => g.value.includes("hover")), v = x(() => a.popperTriggers.length > 0 ? a.popperTriggers.includes("hover") : a.triggers.includes("hover") && !h.value), y = x(() => {
16393
16393
  if (a.icon !== void 0 && a.icon !== "") return a.icon;
16394
16394
  if (a.value === void 0 || a.value === "") return "more_vert";
16395
16395
  }), w = x(() => a.delay !== void 0 ? typeof a.delay == "number" ? {
@@ -16466,7 +16466,7 @@ var v$ = {
16466
16466
  }
16467
16467
  }
16468
16468
  const te = C;
16469
- function R() {
16469
+ function B() {
16470
16470
  N();
16471
16471
  }
16472
16472
  De(o, (xe) => {
@@ -16544,7 +16544,7 @@ var v$ = {
16544
16544
  Ne(), fe(), a.showGroup && $.get(a.showGroup)?.delete(N), E() && l.value?.hidePopover();
16545
16545
  }), t({
16546
16546
  show: te,
16547
- hide: R,
16547
+ hide: B,
16548
16548
  shown: o
16549
16549
  }), (xe, ne) => (_(), S("div", $$, [e.referenceEl ? F("", !0) : (_(), S("div", ct({
16550
16550
  key: 0,
@@ -16558,7 +16558,7 @@ var v$ = {
16558
16558
  onKeydown: P
16559
16559
  }), [be(xe.$slots, "trigger", {
16560
16560
  show: b(te),
16561
- hide: R,
16561
+ hide: B,
16562
16562
  shown: o.value,
16563
16563
  triggerAttrs: {
16564
16564
  "aria-haspopup": "menu",
@@ -16612,7 +16612,7 @@ var v$ = {
16612
16612
  class: ue(["bgl-dropdown__content overflow-hidden", { "display-flex column bgl-dropdown__content--card": a.card }]),
16613
16613
  style: { "border-radius": "calc(var(--bgl-card-border-radius) * 0.7)" }
16614
16614
  }, [be(xe.$slots, "default", {
16615
- hide: R,
16615
+ hide: B,
16616
16616
  show: b(te),
16617
16617
  shown: o.value
16618
16618
  })], 2)], 34)) : F("", !0)], 8, ["to"]))]));
@@ -16868,7 +16868,7 @@ var P$ = ["width", "height"], I$ = [
16868
16868
  const k = (u[$.id] ?? 1) + 1;
16869
16869
  u[$.id] = k, await n.loadMore?.($.id, k);
16870
16870
  }
16871
- const f = B(null), p = B(null);
16871
+ const f = R(null), p = R(null);
16872
16872
  function h($, k) {
16873
16873
  n.draggable && (f.value = {
16874
16874
  item: $,
@@ -16908,7 +16908,7 @@ var P$ = ["width", "height"], I$ = [
16908
16908
  return ($, k) => (_(), S("div", B$, [(_(!0), S(_e, null, Me(l.value, (E) => (_(), S("div", {
16909
16909
  key: E.id,
16910
16910
  class: ue(["bgl-kanban-col column display-flex", { "is-dragover": p.value === E.id }]),
16911
- onDragover: nt((C) => e.draggable && (p.value = E.id), ["prevent"]),
16911
+ onDragover: Qe((C) => e.draggable && (p.value = E.id), ["prevent"]),
16912
16912
  onDragleave: (C) => p.value === E.id && (p.value = null),
16913
16913
  onDrop: (C) => L(E)
16914
16914
  }, [M("div", V$, [be($.$slots, "column-header", {
@@ -16940,7 +16940,7 @@ var P$ = ["width", "height"], I$ = [
16940
16940
  draggable: e.draggable || void 0,
16941
16941
  onDragstart: (I) => h(C, E.id),
16942
16942
  onDragend: g,
16943
- onDrop: nt((I) => L(E, N), ["stop"]),
16943
+ onDrop: Qe((I) => L(E, N), ["stop"]),
16944
16944
  onClick: (I) => a("card-click", C, E.id)
16945
16945
  }, [be($.$slots, "card", {
16946
16946
  item: C,
@@ -17441,7 +17441,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17441
17441
  }),
17442
17442
  emits: /* @__PURE__ */ rn(["change", "save"], ["update:modelValue"]),
17443
17443
  setup(e, { emit: t }) {
17444
- const n = e, a = t, r = Vt(e, "modelValue"), o = B(N([...r.value])), { $t: i } = Tt(), s = Co(), l = x(() => !!s?.vnode.props?.onSave), u = x(() => de.value > 0 ? `${g.value.filter} (${de.value})` : g.value.filter), d = x(() => n.inline ? {} : {
17444
+ const n = e, a = t, r = Vt(e, "modelValue"), o = R(N([...r.value])), { $t: i } = Tt(), s = Co(), l = x(() => !!s?.vnode.props?.onSave), u = x(() => de.value > 0 ? `${g.value.filter} (${de.value})` : g.value.filter), d = x(() => n.inline ? {} : {
17445
17445
  flat: !0,
17446
17446
  placement: n.placement,
17447
17447
  icon: "filter_alt",
@@ -17700,7 +17700,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17700
17700
  if (!z) return;
17701
17701
  const q = { ...z };
17702
17702
  if (Q.field !== void 0 && (q.field = Q.field), Q.op !== void 0 && (q.op = Q.op), Q.value !== void 0) {
17703
- const ve = R(q.field);
17703
+ const ve = B(q.field);
17704
17704
  q.value = Array.isArray(Q.value) ? Q.value.map((Te) => O(Te, ve)) : O(Q.value, ve);
17705
17705
  }
17706
17706
  Q.connector !== void 0 && (q.connector = Q.connector), ae[ne] = q, o.value = ae, f();
@@ -17724,7 +17724,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17724
17724
  function te() {
17725
17725
  L.clear(), o.value = [], r.value = [], a("change", []);
17726
17726
  }
17727
- function R(ne) {
17727
+ function B(ne) {
17728
17728
  return n.fields.find((Q) => Q.value === ne)?.type || "string";
17729
17729
  }
17730
17730
  function A(ne) {
@@ -17806,11 +17806,11 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17806
17806
  const ae = K(ne);
17807
17807
  ae >= 0 && W(ae, { connector: Q });
17808
17808
  }
17809
- return (ne, Q) => (_(), se(Rt(n.inline ? "div" : b(fn)), ct(d.value, { class: ["filter-query-wrap", {
17809
+ return (ne, Q) => (_(), se(Ot(n.inline ? "div" : b(fn)), ct(d.value, { class: ["filter-query-wrap", {
17810
17810
  "filter-query-inline": n.inline,
17811
17811
  "filter-query-desktop-mobile": n.inline || n.desktopLayoutOnMobile
17812
17812
  }] }), {
17813
- default: Ce(() => [(_(), se(Rt(n.inline ? "div" : b(Wa)), { class: ue({ "p-05": !n.inline }) }, {
17813
+ default: Ce(() => [(_(), se(Ot(n.inline ? "div" : b(Wa)), { class: ue({ "p-05": !n.inline }) }, {
17814
17814
  default: Ce(() => [M("div", oS, [m.value.length === 0 ? (_(), S("div", iS, [re(b(Be), { name: "info" }), M("div", lS, ie(g.value.noActiveFilters), 1)])) : F("", !0), re(dc, { name: "condition" }, {
17815
17815
  default: Ce(() => [(_(!0), S(_e, null, Me(m.value, (ae, z) => (_(), S("div", {
17816
17816
  key: ae.id,
@@ -17866,7 +17866,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17866
17866
  "onUpdate:modelValue"
17867
17867
  ])) : (_(), S(_e, { key: 2 }, [re(b(wn), {
17868
17868
  "model-value": ae.operator,
17869
- options: y(R(ae.field), !!$(ae.field), E(ae.field), ae.field),
17869
+ options: y(B(ae.field), !!$(ae.field), E(ae.field), ae.field),
17870
17870
  class: "m-0 light-input borderHover",
17871
17871
  "onUpdate:modelValue": (q) => Ie(ae.id, q)
17872
17872
  }, null, 8, [
@@ -17877,7 +17877,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17877
17877
  key: `${ae.id}-${ae.field}-between`,
17878
17878
  class: "flex gap-025 align-items-center between-inputs"
17879
17879
  }, [
17880
- R(ae.field) === "date" ? (_(), se(b(ao), {
17880
+ B(ae.field) === "date" ? (_(), se(b(ao), {
17881
17881
  key: 0,
17882
17882
  "model-value": P(ae, 0),
17883
17883
  placeholder: g.value.placeholders.from,
@@ -17891,7 +17891,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17891
17891
  key: 1,
17892
17892
  "model-value": P(ae, 0),
17893
17893
  placeholder: "0",
17894
- type: R(ae.field) === "number" ? "number" : "text",
17894
+ type: B(ae.field) === "number" ? "number" : "text",
17895
17895
  class: "m-0 light-input borderHover",
17896
17896
  "onUpdate:modelValue": (q) => ee(ae.id, 0, q)
17897
17897
  }, null, 8, [
@@ -17900,7 +17900,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17900
17900
  "onUpdate:modelValue"
17901
17901
  ])),
17902
17902
  Q[1] || (Q[1] = M("span", { class: "opacity-4 txt-12" }, "–", -1)),
17903
- R(ae.field) === "date" ? (_(), se(b(ao), {
17903
+ B(ae.field) === "date" ? (_(), se(b(ao), {
17904
17904
  key: 2,
17905
17905
  "model-value": P(ae, 1),
17906
17906
  placeholder: g.value.placeholders.to,
@@ -17914,7 +17914,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17914
17914
  key: 3,
17915
17915
  "model-value": P(ae, 1),
17916
17916
  placeholder: "0",
17917
- type: R(ae.field) === "number" ? "number" : "text",
17917
+ type: B(ae.field) === "number" ? "number" : "text",
17918
17918
  class: "m-0 light-input borderHover",
17919
17919
  "onUpdate:modelValue": (q) => ee(ae.id, 1, q)
17920
17920
  }, null, 8, [
@@ -17959,7 +17959,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17959
17959
  "options",
17960
17960
  "placeholder",
17961
17961
  "onUpdate:modelValue"
17962
- ])) : R(ae.field) === "boolean" ? (_(), se(b(wn), {
17962
+ ])) : B(ae.field) === "boolean" ? (_(), se(b(wn), {
17963
17963
  key: `${ae.id}-${ae.field}-bool`,
17964
17964
  "model-value": oe(ae.value),
17965
17965
  options: I.value,
@@ -17971,7 +17971,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17971
17971
  "options",
17972
17972
  "placeholder",
17973
17973
  "onUpdate:modelValue"
17974
- ])) : R(ae.field) === "date" ? (_(), se(b(ao), {
17974
+ ])) : B(ae.field) === "date" ? (_(), se(b(ao), {
17975
17975
  key: `${ae.id}-${ae.field}-date`,
17976
17976
  "model-value": ae.value,
17977
17977
  placeholder: g.value.placeholders.selectDate,
@@ -17981,7 +17981,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
17981
17981
  "model-value",
17982
17982
  "placeholder",
17983
17983
  "onUpdate:modelValue"
17984
- ])) : R(ae.field) === "number" ? (_(), se(b(it), {
17984
+ ])) : B(ae.field) === "number" ? (_(), se(b(it), {
17985
17985
  key: `${ae.id}-${ae.field}-number`,
17986
17986
  "model-value": ae.value,
17987
17987
  placeholder: "0",
@@ -18080,7 +18080,7 @@ var oS = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
18080
18080
  },
18081
18081
  emits: ["update:open"],
18082
18082
  setup(e, { expose: t, emit: n }) {
18083
- const a = n, r = B(e.open);
18083
+ const a = n, r = R(e.open);
18084
18084
  De(() => e.open, (i) => {
18085
18085
  r.value = i;
18086
18086
  });
@@ -18160,7 +18160,7 @@ var bS = {
18160
18160
  },
18161
18161
  emits: ["update:modelValue"],
18162
18162
  setup(e, { emit: t }) {
18163
- const n = e, { shellClass: a, shellStyle: r } = qt(n), o = t, i = Ct(), { $t: s } = Tt(), l = B(Array.isArray(n.modelValue) ? [...n.modelValue] : []), u = B(Array.from({ length: l.value.length }, () => !0)), d = x(() => l.value.some((O) => O != null && O !== "")), c = x(() => {
18163
+ const n = e, { shellClass: a, shellStyle: r } = qt(n), o = t, i = Ct(), { $t: s } = Tt(), l = R(Array.isArray(n.modelValue) ? [...n.modelValue] : []), u = R(Array.from({ length: l.value.length }, () => !0)), d = x(() => l.value.some((O) => O != null && O !== "")), c = x(() => {
18164
18164
  const O = Ue(n.itemLabel);
18165
18165
  return typeof O == "string" && O.length > 0 ? O : s("arrayInput.item");
18166
18166
  }), f = [
@@ -18285,7 +18285,7 @@ var bS = {
18285
18285
  }, [Ke(re(b(Le), {
18286
18286
  flat: "",
18287
18287
  icon: "delete",
18288
- onClick: (R) => y(te)
18288
+ onClick: (B) => y(te)
18289
18289
  }, null, 8, ["onClick"]), [[U, b(Ue)(e.deleteTooltip || "Delete")]])], 2)) : F("", !0)], 2))), 128)),
18290
18290
  e.collapsible ? (_(), se(Ow, {
18291
18291
  key: 3,
@@ -18419,7 +18419,7 @@ var bS = {
18419
18419
  }
18420
18420
  }), un = /* @__PURE__ */ Re(IS, [["__scopeId", "data-v-2a832462"]]);
18421
18421
  function NS(e = "dark") {
18422
- const t = B(null), n = B(!1), a = B(e), r = (f) => f === "dark" ? "atom-one-dark" : f === "light" ? "atom-one-light" : f, o = (f) => `https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.0/styles/${f}.min.css`, i = (f) => {
18422
+ const t = R(null), n = R(!1), a = R(e), r = (f) => f === "dark" ? "atom-one-dark" : f === "light" ? "atom-one-light" : f, o = (f) => `https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.0/styles/${f}.min.css`, i = (f) => {
18423
18423
  document.querySelectorAll('link[rel="stylesheet"]').forEach((p) => {
18424
18424
  p instanceof HTMLLinkElement && p.href.includes("/styles/") && p.href.includes("highlight.js") && p.href !== f && p.parentElement?.removeChild(p);
18425
18425
  });
@@ -18560,7 +18560,7 @@ var OS = {
18560
18560
  function s(C) {
18561
18561
  return typeof C == "string" ? C : typeof C == "object" ? JSON.stringify(C, null, 2) : "";
18562
18562
  }
18563
- const l = B(s(n.modelValue)), u = x(() => !!l.value?.trim()), d = B(), c = B(!1), { loaded: f, loadHighlight: p, highlightCode: h, setTheme: g } = NS(n.theme), L = x(() => {
18563
+ const l = R(s(n.modelValue)), u = x(() => !!l.value?.trim()), d = R(), c = R(!1), { loaded: f, loadHighlight: p, highlightCode: h, setTheme: g } = NS(n.theme), L = x(() => {
18564
18564
  if (n.singleLine) return;
18565
18565
  const C = n.height;
18566
18566
  return C.match(/^\d+$/) ? `${C}px` : C;
@@ -18686,7 +18686,7 @@ var OS = {
18686
18686
  },
18687
18687
  emits: ["update:modelValue"],
18688
18688
  setup(e, { emit: t }) {
18689
- const n = e, a = t, { shellClass: r, shellStyle: o } = qt(n), i = x(() => !!l.value), { $t: s } = Tt(), l = B(n.modelValue);
18689
+ const n = e, a = t, { shellClass: r, shellStyle: o } = qt(n), i = x(() => !!l.value), { $t: s } = Tt(), l = R(n.modelValue);
18690
18690
  return De(() => l.value, (u) => {
18691
18691
  a("update:modelValue", u);
18692
18692
  }), (u, d) => (_(), S("div", {
@@ -19089,7 +19089,7 @@ var Up = class gd {
19089
19089
  },
19090
19090
  emits: ["update:modelValue"],
19091
19091
  setup(e, { emit: t }) {
19092
- const n = e, a = t, r = B(null), o = x(() => He(n.highlightedDates)), i = x(() => He(n.disabledDates)), s = x(() => He(n.allowedDates)), l = B(/* @__PURE__ */ new Date()), u = B("days"), d = new Up(n.firstDayOfWeek, n.locale);
19092
+ const n = e, a = t, r = R(null), o = x(() => He(n.highlightedDates)), i = x(() => He(n.disabledDates)), s = x(() => He(n.allowedDates)), l = R(/* @__PURE__ */ new Date()), u = R("days"), d = new Up(n.firstDayOfWeek, n.locale);
19093
19093
  function c(ne) {
19094
19094
  if (!ne) return null;
19095
19095
  const Q = typeof ne == "string" ? new Date(ne) : ne;
@@ -19134,7 +19134,7 @@ var Up = class gd {
19134
19134
  }
19135
19135
  function $() {
19136
19136
  const ne = x(() => {
19137
- const Fe = l.value.getFullYear(), Qe = l.value.getMonth(), ht = d.getCalendarMonthSplitInWeeks(Fe, Qe);
19137
+ const Fe = l.value.getFullYear(), et = l.value.getMonth(), ht = d.getCalendarMonthSplitInWeeks(Fe, et);
19138
19138
  for (; ht.length < 6; ) {
19139
19139
  const Wt = ht[ht.length - 1], Mt = Wt[Wt.length - 1], gn = new Date(Mt.getFullYear(), Mt.getMonth(), Mt.getDate() + 1), ua = d.getCalendarWeekDateObjects(gn);
19140
19140
  ht.push(ua);
@@ -19147,22 +19147,22 @@ var Up = class gd {
19147
19147
  month: d.getLocalizedNameOfMonth(l.value, "long"),
19148
19148
  year: d.getLocalizedDateString(l.value).split("/").pop()
19149
19149
  }
19150
- })), ae = x(() => Array.from({ length: 12 }, (Fe, Qe) => {
19151
- const ht = new Date(Q.value.year, Qe, 1);
19150
+ })), ae = x(() => Array.from({ length: 12 }, (Fe, et) => {
19151
+ const ht = new Date(Q.value.year, et, 1);
19152
19152
  return {
19153
19153
  name: d.getLocalizedNameOfMonth(ht, "short"),
19154
- value: Qe,
19155
- disabled: g(Q.value.year, Qe)
19154
+ value: et,
19155
+ disabled: g(Q.value.year, et)
19156
19156
  };
19157
19157
  })), z = x(() => {
19158
19158
  const Fe = Q.value.year - 10;
19159
- return Array.from({ length: 18 }, (Qe, ht) => ({
19159
+ return Array.from({ length: 18 }, (et, ht) => ({
19160
19160
  value: Fe + ht,
19161
19161
  disabled: L(Fe + ht)
19162
19162
  }));
19163
19163
  }), q = x(() => {
19164
19164
  const Fe = /* @__PURE__ */ new Date();
19165
- return Fe.setDate(Fe.getDate() - Fe.getDay() + (n.firstDayOfWeek === Wl.MONDAY ? 1 : 0)), Array.from({ length: 7 }, (Qe, ht) => {
19165
+ return Fe.setDate(Fe.getDate() - Fe.getDay() + (n.firstDayOfWeek === Wl.MONDAY ? 1 : 0)), Array.from({ length: 7 }, (et, ht) => {
19166
19166
  const Wt = new Date(Fe);
19167
19167
  return Wt.setDate(Fe.getDate() + ht), d.getLocalizedNameOfWeekday(Wt, "short");
19168
19168
  });
@@ -19178,15 +19178,15 @@ var Up = class gd {
19178
19178
  isRangeEnd: (Fe) => n.range && w(Fe, y.value),
19179
19179
  isInRange: (Fe) => {
19180
19180
  if (!n.range || !Fe || !v.value) return !1;
19181
- const Qe = Te.value;
19182
- if (!Qe) return !1;
19183
- const ht = v.value < Qe ? v.value : Qe, Wt = v.value < Qe ? Qe : v.value, Mt = new Date(Fe.getFullYear(), Fe.getMonth(), Fe.getDate()), gn = new Date(ht.getFullYear(), ht.getMonth(), ht.getDate()), ua = new Date(Wt.getFullYear(), Wt.getMonth(), Wt.getDate());
19181
+ const et = Te.value;
19182
+ if (!et) return !1;
19183
+ const ht = v.value < et ? v.value : et, Wt = v.value < et ? et : v.value, Mt = new Date(Fe.getFullYear(), Fe.getMonth(), Fe.getDate()), gn = new Date(ht.getFullYear(), ht.getMonth(), ht.getDate()), ua = new Date(Wt.getFullYear(), Wt.getMonth(), Wt.getDate());
19184
19184
  return Mt > gn && Mt < ua;
19185
19185
  },
19186
19186
  isToday: (Fe) => Fe ? d.dateIsToday(Fe) : !1,
19187
19187
  isNotInMonth: (Fe) => d.isTrailingOrLeadingDate(Fe, l.value.getMonth()),
19188
- isHighlighted: x(() => (Fe) => !Fe || !Array.isArray(o.value) || !o.value.length ? !1 : o.value.some((Qe) => {
19189
- const ht = c(Qe);
19188
+ isHighlighted: x(() => (Fe) => !Fe || !Array.isArray(o.value) || !o.value.length ? !1 : o.value.some((et) => {
19189
+ const ht = c(et);
19190
19190
  return ht ? Fe.getFullYear() === ht.getFullYear() && Fe.getMonth() === ht.getMonth() && Fe.getDate() === ht.getDate() : !1;
19191
19191
  }))
19192
19192
  };
@@ -19235,7 +19235,7 @@ var Up = class gd {
19235
19235
  function C(ne) {
19236
19236
  n.enableTime ? a("update:modelValue", ne.toISOString()) : a("update:modelValue", oi.date(ne));
19237
19237
  }
19238
- const { currentMonthDays: N, currentMonthValue: I, months: O, years: W, weekDays: U, isSelected: H, isRangeStart: te, isRangeEnd: R, isInRange: A, isToday: Y, isNotInMonth: j, isHighlighted: X } = $(), { selectMonth: fe, selectYear: oe, previousMonth: G, nextMonth: D, previousYear: P, nextYear: ee } = k(), { hours: de, minutes: K, handleHourInput: Se, handleMinuteInput: Ie } = E();
19238
+ const { currentMonthDays: N, currentMonthValue: I, months: O, years: W, weekDays: U, isSelected: H, isRangeStart: te, isRangeEnd: B, isInRange: A, isToday: Y, isNotInMonth: j, isHighlighted: X } = $(), { selectMonth: fe, selectYear: oe, previousMonth: G, nextMonth: D, previousYear: P, nextYear: ee } = k(), { hours: de, minutes: K, handleHourInput: Se, handleMinuteInput: Ie } = E();
19239
19239
  function pe(ne) {
19240
19240
  return oi.date(ne);
19241
19241
  }
@@ -19322,7 +19322,7 @@ var Up = class gd {
19322
19322
  class: ue(["day aspect-ratio-1 flex align-items-center justify-content-center pointer round txt14 p-0", {
19323
19323
  selected: b(H)(ae),
19324
19324
  "range-start": b(te)(ae),
19325
- "range-end": b(R)(ae),
19325
+ "range-end": b(B)(ae),
19326
19326
  "in-range": b(A)(ae),
19327
19327
  today: b(Y)(ae),
19328
19328
  disabled: b(h)(ae),
@@ -19439,25 +19439,25 @@ var Up = class gd {
19439
19439
  }),
19440
19440
  emits: ["update:modelValue"],
19441
19441
  setup(e) {
19442
- const t = e, n = x(() => t.editMode && !t.disabled), { $t: a } = Tt(), { shellClass: r, shellStyle: o } = qt(t), i = Vt(e, "modelValue"), s = B(""), l = B(!0), u = B(!1), d = B(!1);
19442
+ const t = e, n = x(() => t.editMode && !t.disabled), { $t: a } = Tt(), { shellClass: r, shellStyle: o } = qt(t), i = Vt(e, "modelValue"), s = R(""), l = R(!0), u = R(!1), d = R(!1);
19443
19443
  let c = !1;
19444
- const f = B(null), p = B(null);
19444
+ const f = R(null), p = R(null);
19445
19445
  function h(H) {
19446
- return H === void 0 || H === "" ? "" : Ot(H, { format: t.enableTime ? "DD.MM.YY HH:mm" : "DD.MM.YY" });
19446
+ return H === void 0 || H === "" ? "" : Nt(H, { format: t.enableTime ? "DD.MM.YY HH:mm" : "DD.MM.YY" });
19447
19447
  }
19448
19448
  function g(H) {
19449
19449
  if (t.range) {
19450
- const te = H ?? {}, R = h(te.start), A = h(te.end);
19451
- return !R && !A ? "" : `${R}${uu}${A}`;
19450
+ const te = H ?? {}, B = h(te.start), A = h(te.end);
19451
+ return !B && !A ? "" : `${B}${uu}${A}`;
19452
19452
  }
19453
19453
  return h(H);
19454
19454
  }
19455
19455
  function L(H) {
19456
19456
  const te = new Date(H);
19457
19457
  if (!Number.isNaN(te.getTime())) return te;
19458
- const R = H.split(/[/.-]/);
19459
- if (R.length === 3) {
19460
- const [A, Y, j] = R.map((X) => Number.parseInt(X, 10));
19458
+ const B = H.split(/[/.-]/);
19459
+ if (B.length === 3) {
19460
+ const [A, Y, j] = B.map((X) => Number.parseInt(X, 10));
19461
19461
  if (!Number.isNaN(A) && !Number.isNaN(Y) && !Number.isNaN(j)) {
19462
19462
  const X = new Date(j, Y - 1, A);
19463
19463
  if (X.getFullYear() === j && X.getMonth() === Y - 1 && X.getDate() === A) return X;
@@ -19473,8 +19473,8 @@ var Up = class gd {
19473
19473
  if (typeof H == "string" && H.includes("T")) {
19474
19474
  const te = /^(\d{4}-\d{2}-\d{2})/.exec(H)?.[1];
19475
19475
  if (te) return te;
19476
- const R = new Date(H);
19477
- if (!Number.isNaN(R.getTime())) return oi.date(R);
19476
+ const B = new Date(H);
19477
+ if (!Number.isNaN(B.getTime())) return oi.date(B);
19478
19478
  }
19479
19479
  return H instanceof Date ? oi.date(H) : H;
19480
19480
  }
@@ -19490,8 +19490,8 @@ var Up = class gd {
19490
19490
  }
19491
19491
  function $(H) {
19492
19492
  const te = H.replace(/[^\d.]/g, "").split(".");
19493
- let R = te.slice(0, 3).join(".");
19494
- return (R.length === 2 && !R.includes(".") || R.length === 5 && te.length === 2) && (R += "."), R;
19493
+ let B = te.slice(0, 3).join(".");
19494
+ return (B.length === 2 && !B.includes(".") || B.length === 5 && te.length === 2) && (B += "."), B;
19495
19495
  }
19496
19496
  function k(H) {
19497
19497
  const te = H.target;
@@ -19499,16 +19499,16 @@ var Up = class gd {
19499
19499
  E(te);
19500
19500
  return;
19501
19501
  }
19502
- const R = $(te.value);
19503
- s.value = R, te.value !== R && (te.value = R);
19504
- const A = L(R);
19505
- A !== null ? (i.value = m(A), l.value = !0) : R.length === 0 ? (i.value = void 0, l.value = !0) : l.value = !1;
19502
+ const B = $(te.value);
19503
+ s.value = B, te.value !== B && (te.value = B);
19504
+ const A = L(B);
19505
+ A !== null ? (i.value = m(A), l.value = !0) : B.length === 0 ? (i.value = void 0, l.value = !0) : l.value = !1;
19506
19506
  }
19507
19507
  function E(H) {
19508
- const [te = "", R = ""] = H.value.split(/\s*-\s*/, 2), A = $(te), Y = $(R), j = /-/.test(H.value), X = Y || j ? `${A}${uu}${Y}` : A;
19508
+ const [te = "", B = ""] = H.value.split(/\s*-\s*/, 2), A = $(te), Y = $(B), j = /-/.test(H.value), X = Y || j ? `${A}${uu}${Y}` : A;
19509
19509
  s.value = X, H.value !== X && (H.value = X);
19510
- const fe = te ? L(A) : null, oe = R ? L(Y) : null;
19511
- if (te && !fe || R && !oe) {
19510
+ const fe = te ? L(A) : null, oe = B ? L(Y) : null;
19511
+ if (te && !fe || B && !oe) {
19512
19512
  l.value = !1;
19513
19513
  return;
19514
19514
  }
@@ -19533,7 +19533,7 @@ var Up = class gd {
19533
19533
  }, 100);
19534
19534
  }
19535
19535
  function I(H) {
19536
- const { key: te, shiftKey: R } = H;
19536
+ const { key: te, shiftKey: B } = H;
19537
19537
  if (te === "Escape")
19538
19538
  d.value = !1, u.value = !1, s.value = y() ? g(i.value) : "", l.value = !0;
19539
19539
  else if (te === "Enter")
@@ -19541,7 +19541,7 @@ var Up = class gd {
19541
19541
  else if (!t.range && (te === "ArrowUp" || te === "ArrowDown")) {
19542
19542
  H.preventDefault();
19543
19543
  const A = i.value !== void 0 ? new Date(i.value) : /* @__PURE__ */ new Date(), Y = te === "ArrowUp" ? 1 : -1;
19544
- R ? A.setMonth(A.getMonth() + Y) : A.setDate(A.getDate() + Y), i.value = m(A), s.value = g(A);
19544
+ B ? A.setMonth(A.getMonth() + Y) : A.setDate(A.getDate() + Y), i.value = m(A), s.value = g(A);
19545
19545
  }
19546
19546
  }
19547
19547
  function O() {
@@ -19587,7 +19587,7 @@ var Up = class gd {
19587
19587
  class: "date-picker-container"
19588
19588
  }, [re(b(it), {
19589
19589
  modelValue: s.value,
19590
- "onUpdate:modelValue": te[0] || (te[0] = (R) => s.value = R),
19590
+ "onUpdate:modelValue": te[0] || (te[0] = (B) => s.value = B),
19591
19591
  iconStart: "calendar",
19592
19592
  placeholder: e.underlined ? " " : b(Ue)(e.placeholder) || U.value,
19593
19593
  required: e.underlined ? !1 : e.required,
@@ -19604,7 +19604,7 @@ var Up = class gd {
19604
19604
  onInput: k,
19605
19605
  onFocus: C,
19606
19606
  onBlur: N,
19607
- onClick: te[1] || (te[1] = nt(() => {
19607
+ onClick: te[1] || (te[1] = Qe(() => {
19608
19608
  }, ["stop"])),
19609
19609
  onKeydown: I,
19610
19610
  onIconClick: O
@@ -19627,11 +19627,11 @@ var Up = class gd {
19627
19627
  ref_key: "calendarRef",
19628
19628
  ref: p,
19629
19629
  class: "date-picker-popup",
19630
- onClick: te[3] || (te[3] = nt(() => {
19630
+ onClick: te[3] || (te[3] = Qe(() => {
19631
19631
  }, ["stop"]))
19632
19632
  }, [re(oC, {
19633
19633
  modelValue: i.value,
19634
- "onUpdate:modelValue": te[2] || (te[2] = (R) => i.value = R),
19634
+ "onUpdate:modelValue": te[2] || (te[2] = (B) => i.value = B),
19635
19635
  min: e.min,
19636
19636
  max: e.max,
19637
19637
  mode: e.mode,
@@ -19798,15 +19798,15 @@ var fC = ["title"], pC = ["for"], hC = {
19798
19798
  "teleworm.us",
19799
19799
  "nbmbb.com",
19800
19800
  "poplk.com"
19801
- ], d = B(""), c = B(null), f = B(""), p = B(!1), h = /* @__PURE__ */ new Map(), g = B();
19801
+ ], d = R(""), c = R(null), f = R(""), p = R(!1), h = /* @__PURE__ */ new Map(), g = R();
19802
19802
  function L(H) {
19803
19803
  if (H) {
19804
19804
  if (!Xr.test(H)) return s("email.invalidEmail");
19805
19805
  if (a.preventFakeEmails && H.includes("@")) {
19806
19806
  const [, te] = H.split("@");
19807
19807
  if (te) {
19808
- const R = te.toLowerCase();
19809
- if (u.includes(R)) return s("email.disposableEmail");
19808
+ const B = te.toLowerCase();
19809
+ if (u.includes(B)) return s("email.disposableEmail");
19810
19810
  }
19811
19811
  }
19812
19812
  if (f.value) return f.value;
@@ -19833,7 +19833,7 @@ var fC = ["title"], pC = ["for"], hC = {
19833
19833
  headers: { "Content-Type": "application/json" }
19834
19834
  });
19835
19835
  if (!te.ok) throw new Error("Validation service unavailable");
19836
- const R = await te.json(), A = R.status === "valid" || R.has_mx === !0;
19836
+ const B = await te.json(), A = B.status === "valid" || B.has_mx === !0;
19837
19837
  h.set(H, A), A ? g.value?.setCustomValidity("") : (f.value = s("email.invalidDomain"), g.value?.setCustomValidity(f.value));
19838
19838
  } catch {
19839
19839
  } finally {
@@ -19851,7 +19851,7 @@ var fC = ["title"], pC = ["for"], hC = {
19851
19851
  }
19852
19852
  }
19853
19853
  if (!H.includes("@")) return;
19854
- const [te, R] = H.split("@"), A = R.toLowerCase();
19854
+ const [te, B] = H.split("@"), A = B.toLowerCase();
19855
19855
  if (l.includes(A)) {
19856
19856
  c.value = null;
19857
19857
  return;
@@ -19866,14 +19866,14 @@ var fC = ["title"], pC = ["for"], hC = {
19866
19866
  c.value && (d.value = c.value, c.value = null, r("update:modelValue", d.value), m());
19867
19867
  }
19868
19868
  function k(H, te) {
19869
- const R = [];
19870
- for (let A = 0; A <= H.length; A++) R[A] = [A];
19871
- for (let A = 0; A <= te.length; A++) R[0][A] = A;
19869
+ const B = [];
19870
+ for (let A = 0; A <= H.length; A++) B[A] = [A];
19871
+ for (let A = 0; A <= te.length; A++) B[0][A] = A;
19872
19872
  for (let A = 1; A <= H.length; A++) for (let Y = 1; Y <= te.length; Y++) {
19873
19873
  const j = H[A - 1] === te[Y - 1] ? 0 : 1;
19874
- R[A][Y] = Math.min(R[A - 1][Y] + 1, R[A][Y - 1] + 1, R[A - 1][Y - 1] + j);
19874
+ B[A][Y] = Math.min(B[A - 1][Y] + 1, B[A][Y - 1] + 1, B[A - 1][Y - 1] + j);
19875
19875
  }
19876
- return R[H.length][te.length];
19876
+ return B[H.length][te.length];
19877
19877
  }
19878
19878
  const E = /* @__PURE__ */ mo(() => y(d.value), 1e3);
19879
19879
  function C() {
@@ -19894,7 +19894,7 @@ var fC = ["title"], pC = ["for"], hC = {
19894
19894
  return je(() => {
19895
19895
  a.autofocus && setTimeout(() => g.value?.focus(), 10);
19896
19896
  }), (H, te) => {
19897
- const R = on("pattern");
19897
+ const B = on("pattern");
19898
19898
  return _(), S("div", {
19899
19899
  class: ue(["bagel-input text-input", [
19900
19900
  b(o),
@@ -19919,7 +19919,7 @@ var fC = ["title"], pC = ["for"], hC = {
19919
19919
  c.value ? (_(), S("span", {
19920
19920
  key: 1,
19921
19921
  class: "pointer nowrap inline-block ms-auto color-red txt-10px p-0",
19922
- onClick: nt($, ["prevent"])
19922
+ onClick: Qe($, ["prevent"])
19923
19923
  }, ie(b(s)("email.didYouMean", { suggestion: c.value })), 1)) : F("", !0),
19924
19924
  p.value ? (_(), S("span", LC, ie(b(s)("email.validating")), 1)) : F("", !0)
19925
19925
  ])),
@@ -19941,7 +19941,7 @@ var fC = ["title"], pC = ["for"], hC = {
19941
19941
  onFocus: te[1] || (te[1] = (...A) => e.onFocus && e.onFocus(...A)),
19942
19942
  onInput: C
19943
19943
  }), null, 16, bC), [[uo, d.value], [
19944
- R,
19944
+ B,
19945
19945
  void 0,
19946
19946
  "lower"
19947
19947
  ]]),
@@ -19973,7 +19973,7 @@ var fC = ["title"], pC = ["for"], hC = {
19973
19973
  },
19974
19974
  emits: ["update:modelValue"],
19975
19975
  setup(e, { emit: t }) {
19976
- const n = t, a = B(null), r = B(""), o = B("material"), i = B(80), s = `icon-picker-${Math.random().toString(36).slice(2)}`;
19976
+ const n = t, a = R(null), r = R(""), o = R("material"), i = R(80), s = `icon-picker-${Math.random().toString(36).slice(2)}`;
19977
19977
  let l;
19978
19978
  const u = [
19979
19979
  {
@@ -20035,7 +20035,7 @@ var fC = ["title"], pC = ["for"], hC = {
20035
20035
  icon: "close",
20036
20036
  size: 0.9,
20037
20037
  class: "opacity-5 hover-opacity-10",
20038
- onClick: nt(L, ["stop"])
20038
+ onClick: Qe(L, ["stop"])
20039
20039
  })) : F("", !0),
20040
20040
  re(b(Be), {
20041
20041
  icon: y ? "expand_less" : "expand_more",
@@ -20107,7 +20107,7 @@ var fC = ["title"], pC = ["for"], hC = {
20107
20107
  }),
20108
20108
  emits: ["update:modelValue"],
20109
20109
  setup(e, { expose: t }) {
20110
- const n = e, { maxLength: a, placeholder: r, label: o, showFormatting: i, rtl: s } = n, { shellClass: l, shellStyle: u } = qt(n), d = Vt(e, "modelValue"), c = B(), f = `markdown-editor-${Math.random().toString(36).substring(2, 9)}`, p = x(() => d.value.length);
20110
+ const n = e, { maxLength: a, placeholder: r, label: o, showFormatting: i, rtl: s } = n, { shellClass: l, shellStyle: u } = qt(n), d = Vt(e, "modelValue"), c = R(), f = `markdown-editor-${Math.random().toString(36).substring(2, 9)}`, p = x(() => d.value.length);
20111
20111
  function h(g) {
20112
20112
  const L = c.value?.$el.querySelector("textarea"), m = d.value, v = L?.selectionStart ?? m.length, y = L?.selectionEnd ?? m.length, w = m.slice(0, v), $ = m.slice(y), k = m.slice(v, y);
20113
20113
  let E = "";
@@ -20280,7 +20280,7 @@ var fC = ["title"], pC = ["for"], hC = {
20280
20280
  maxWidth: e.maxWidth,
20281
20281
  labelColor: e.labelColor,
20282
20282
  labelActiveColor: e.labelActiveColor
20283
- }), r = t, o = B();
20283
+ }), r = t, o = R();
20284
20284
  je(() => {
20285
20285
  const w = e.modelValue !== void 0 ? Number.parseFloat(`${e.modelValue}`) : void 0, $ = e.defaultValue !== void 0 ? Number.parseFloat(`${e.defaultValue}`) : void 0;
20286
20286
  o.value = w ?? $;
@@ -20314,7 +20314,7 @@ var fC = ["title"], pC = ["for"], hC = {
20314
20314
  const [$, k] = g.value.format(w).split("."), E = $.replace(/,/g, "").length, C = e.padZero && e.padZero > E ? "0".repeat(e.padZero - E) : "";
20315
20315
  return k ? `${C}${$}.${k}` : `${C}${$}`;
20316
20316
  }
20317
- const m = B("");
20317
+ const m = R("");
20318
20318
  function v() {
20319
20319
  const w = m.value.replace(/[^\d.-]/g, "");
20320
20320
  if ([
@@ -20396,7 +20396,7 @@ var fC = ["title"], pC = ["for"], hC = {
20396
20396
  autocorrect: "off",
20397
20397
  spellcheck: "false",
20398
20398
  onInput: v,
20399
- onKeydown: [Nt(nt(p, ["prevent"]), ["up"]), Nt(nt(h, ["prevent"]), ["down"])]
20399
+ onKeydown: [Ft(Qe(p, ["prevent"]), ["up"]), Ft(Qe(h, ["prevent"]), ["down"])]
20400
20400
  }, null, 42, zC), [[
20401
20401
  uo,
20402
20402
  m.value,
@@ -20472,7 +20472,7 @@ var fC = ["title"], pC = ["for"], hC = {
20472
20472
  }), s = x(() => {
20473
20473
  const m = { ...o.value ?? {} };
20474
20474
  return i.value && (m["--bgl-otp-digit-color"] = i.value), n.size && (m["--bgl-otp-digit-size"] = n.size), n.mobileSize && (m["--bgl-otp-digit-mobile-size"] = n.mobileSize), Object.keys(m).length > 0 ? m : void 0;
20475
- }), l = B(), u = B((n.default ?? n.modelValue ?? "").replace(/\D/g, "").slice(0, n.digitCount));
20475
+ }), l = R(), u = R((n.default ?? n.modelValue ?? "").replace(/\D/g, "").slice(0, n.digitCount));
20476
20476
  De(() => n.modelValue, (m) => {
20477
20477
  const v = (m ?? "").replace(/\D/g, "").slice(0, n.digitCount);
20478
20478
  v !== u.value && (u.value = v);
@@ -20480,7 +20480,7 @@ var fC = ["title"], pC = ["for"], hC = {
20480
20480
  const d = x(() => {
20481
20481
  const m = u.value.split("");
20482
20482
  return Array.from({ length: n.digitCount }, (v, y) => m[y] ?? "");
20483
- }), c = x(() => u.value.length > 0), f = x(() => Math.min(u.value.length, n.digitCount - 1)), p = B(!1);
20483
+ }), c = x(() => u.value.length > 0), f = x(() => Math.min(u.value.length, n.digitCount - 1)), p = R(!1);
20484
20484
  function h(m) {
20485
20485
  const v = m.replace(/\D/g, "").slice(0, n.digitCount);
20486
20486
  u.value = v, a("update:modelValue", v), v.length === n.digitCount && a("complete", v);
@@ -21953,7 +21953,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
21953
21953
  const C = l.value === k.value;
21954
21954
  return d.value.some((N) => N.value === l.value) ? C ? 0 : -1 : E === d.value.findIndex((N) => !(n.disabled || N.disabled)) ? 0 : -1;
21955
21955
  }
21956
- const s = x(() => n.groupName || n.id || Math.random().toString(36).substring(2, 15)), l = Vt(e, "modelValue"), u = B([]), d = x(() => (Array.isArray(n.options) ? n.options : u.value).map((k) => px(k))), c = B(null), f = B("90px");
21956
+ const s = x(() => n.groupName || n.id || Math.random().toString(36).substring(2, 15)), l = Vt(e, "modelValue"), u = R([]), d = x(() => (Array.isArray(n.options) ? n.options : u.value).map((k) => px(k))), c = R(null), f = R("90px");
21957
21957
  let p;
21958
21958
  function h() {
21959
21959
  const k = c.value, E = d.value.length;
@@ -21979,7 +21979,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
21979
21979
  immediate: !0,
21980
21980
  deep: !0
21981
21981
  });
21982
- const L = B(!1), m = x(() => ({
21982
+ const L = R(!1), m = x(() => ({
21983
21983
  "bagel-input": !0,
21984
21984
  "radio-group": !0,
21985
21985
  ...r.value,
@@ -22142,11 +22142,11 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22142
22142
  },
22143
22143
  emits: ["update:modelValue"],
22144
22144
  setup(e, { emit: t }) {
22145
- const n = e, a = t, { min: r = 0, max: o = 100, step: i = 1, multiRange: s = !1, formatValue: l = ($) => $.toString() } = n, u = B(null), d = B(!1);
22145
+ const n = e, a = t, { min: r = 0, max: o = 100, step: i = 1, multiRange: s = !1, formatValue: l = ($) => $.toString() } = n, u = R(null), d = R(!1);
22146
22146
  je(() => {
22147
22147
  n.rtl === void 0 && u.value && (d.value = getComputedStyle(u.value).direction === "rtl");
22148
22148
  });
22149
- const c = B(Array.isArray(n.modelValue) ? n.modelValue[0] : n.modelValue ?? r), f = B(Array.isArray(n.modelValue) ? n.modelValue[1] : o), p = x(() => Math.min(Math.max(c.value, r), s ? f.value : o)), h = x(() => Math.max(Math.min(f.value, o), c.value)), g = x(() => (p.value - r) / (o - r) * 100), L = x(() => (h.value - r) / (o - r) * 100);
22149
+ const c = R(Array.isArray(n.modelValue) ? n.modelValue[0] : n.modelValue ?? r), f = R(Array.isArray(n.modelValue) ? n.modelValue[1] : o), p = x(() => Math.min(Math.max(c.value, r), s ? f.value : o)), h = x(() => Math.max(Math.min(f.value, o), c.value)), g = x(() => (p.value - r) / (o - r) * 100), L = x(() => (h.value - r) / (o - r) * 100);
22150
22150
  De(() => n.modelValue, ($) => {
22151
22151
  Array.isArray($) && s ? (c.value = $[0] ?? r, f.value = $[1] ?? o) : Array.isArray($) || (c.value = $ ?? r, f.value = o);
22152
22152
  }, { immediate: !0 });
@@ -22309,7 +22309,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22309
22309
  },
22310
22310
  emits: ["update:modelValue"],
22311
22311
  setup(e, { emit: t }) {
22312
- const n = e, a = t, { $t: r } = Tt(), { shellClass: o, shellStyle: i } = qt(n), s = (R) => typeof R == "function", l = B(), u = B(), d = B([]), c = (R) => br(R), f = x(() => d.value.length), p = B(""), h = B(), g = B(!1), L = B(!1), m = x(() => Ue(n.placeholder) ?? r("select.placeholder")), v = x(() => ({
22312
+ const n = e, a = t, { $t: r } = Tt(), { shellClass: o, shellStyle: i } = qt(n), s = (B) => typeof B == "function", l = R(), u = R(), d = R([]), c = (B) => br(B), f = x(() => d.value.length), p = R(""), h = R(), g = R(!1), L = R(!1), m = x(() => Ue(n.placeholder) ?? r("select.placeholder")), v = x(() => ({
22313
22313
  "selectinput-btn--xs": n.size === "xs",
22314
22314
  "selectinput-btn--s": n.size === "s",
22315
22315
  "selectinput-btn--l": n.size === "l",
@@ -22318,7 +22318,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22318
22318
  "selectinput-btn--thin": n.thin,
22319
22319
  outline: n.outline,
22320
22320
  border: n.border
22321
- })), y = x(() => f.value === 0 ? m.value : f.value > 4 ? `${d.value.slice(0, 4).map((R) => Qo(R)).join(", ")}... +${f.value - 4}` : d.value.map((R) => Qo(R)).join(", ")), w = x(() => n.searchPlaceholder ?? y.value ?? r("select.search")), { results: $, isLoading: k } = mW({
22321
+ })), y = x(() => f.value === 0 ? m.value : f.value > 4 ? `${d.value.slice(0, 4).map((B) => Qo(B)).join(", ")}... +${f.value - 4}` : d.value.map((B) => Qo(B)).join(", ")), w = x(() => n.searchPlaceholder ?? y.value ?? r("select.search")), { results: $, isLoading: k } = mW({
22322
22322
  searchTerm: () => p.value,
22323
22323
  serverSearch: s(n.options) ? n.options : void 0,
22324
22324
  items: () => Array.isArray(n.options) ? n.options : [],
@@ -22328,25 +22328,25 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22328
22328
  "value"
22329
22329
  ],
22330
22330
  minChars: s(n.options) ? 0 : 2
22331
- }), E = B(-1), C = B();
22332
- function N(R) {
22331
+ }), E = R(-1), C = R();
22332
+ function N(B) {
22333
22333
  if (!L.value) {
22334
22334
  L.value = !0, setTimeout(() => {
22335
- N(R);
22335
+ N(B);
22336
22336
  }, 210);
22337
22337
  return;
22338
22338
  }
22339
- R === "up" ? E.value = E.value > 0 ? E.value - 1 : $.value.length - 1 : R === "down" && (E.value = E.value < $.value.length - 1 ? E.value + 1 : 0), setTimeout(() => {
22339
+ B === "up" ? E.value = E.value > 0 ? E.value - 1 : $.value.length - 1 : B === "down" && (E.value = E.value < $.value.length - 1 ? E.value + 1 : 0), setTimeout(() => {
22340
22340
  const A = C.value?.children[E.value];
22341
22341
  A ? A.focus() : E.value = -1;
22342
22342
  }, 10);
22343
22343
  }
22344
- const I = (R) => d.value.find((A) => c(R) === c(A)) !== void 0;
22344
+ const I = (B) => d.value.find((A) => c(B) === c(A)) !== void 0;
22345
22345
  function O() {
22346
22346
  if (!C.value || f.value === 0) return;
22347
- const R = $.value.findIndex((Y) => I(Y));
22348
- if (R === -1) return;
22349
- const A = C.value.children[R];
22347
+ const B = $.value.findIndex((Y) => I(Y));
22348
+ if (B === -1) return;
22349
+ const A = C.value.children[B];
22350
22350
  A && A.scrollIntoView({
22351
22351
  block: "center",
22352
22352
  behavior: "instant"
@@ -22355,59 +22355,59 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22355
22355
  function W() {
22356
22356
  L.value = !0;
22357
22357
  }
22358
- function U(R) {
22358
+ function U(B) {
22359
22359
  g.value = !0;
22360
- const A = d.value.findIndex((j) => c(j) === c(R));
22360
+ const A = d.value.findIndex((j) => c(j) === c(B));
22361
22361
  if (A > -1) d.value.splice(A, 1);
22362
22362
  else if (n.multiselect) {
22363
22363
  const j = [...d.value];
22364
- j.push(R), d.value = j;
22365
- } else d.value.splice(0, f.value, R);
22364
+ j.push(B), d.value = j;
22365
+ } else d.value.splice(0, f.value, B);
22366
22366
  const Y = document.activeElement;
22367
22367
  Y && C.value?.contains(Y) && Y.blur(), n.multiselect || (L.value = !1, setTimeout(() => {
22368
22368
  u.value?.focus();
22369
22369
  }, 0)), H();
22370
22370
  }
22371
22371
  function H() {
22372
- if (n.multiselect) a("update:modelValue", d.value.map(c).filter((R) => R != null));
22372
+ if (n.multiselect) a("update:modelValue", d.value.map(c).filter((B) => B != null));
22373
22373
  else {
22374
- const [R] = d.value;
22375
- a("update:modelValue", c(R));
22374
+ const [B] = d.value;
22375
+ a("update:modelValue", c(B));
22376
22376
  }
22377
22377
  }
22378
- function te(R, A) {
22379
- if (R.length !== A.length) return !1;
22380
- const Y = R.map(c).filter((X) => X != null).map(String).sort(), j = A.map(c).filter((X) => X != null).map(String).sort();
22378
+ function te(B, A) {
22379
+ if (B.length !== A.length) return !1;
22380
+ const Y = B.map(c).filter((X) => X != null).map(String).sort(), j = A.map(c).filter((X) => X != null).map(String).sort();
22381
22381
  return Y.every((X, fe) => X === j[fe]);
22382
22382
  }
22383
- return De(() => n.modelValue, (R) => {
22383
+ return De(() => n.modelValue, (B) => {
22384
22384
  if (n.multiselect) {
22385
- const A = Array.isArray(R) ? R : R != null ? [R] : [];
22385
+ const A = Array.isArray(B) ? B : B != null ? [B] : [];
22386
22386
  te(A, d.value) || d.value.splice(0, f.value, ...A);
22387
- } else if (R == null)
22387
+ } else if (B == null)
22388
22388
  d.value.length > 0 && (d.value = []);
22389
22389
  else {
22390
- const A = Array.isArray(R) ? R[0] : R, Y = Array.isArray(n.options) ? n.options.find((j) => c(j) === c(A)) ?? A : A;
22390
+ const A = Array.isArray(B) ? B[0] : B, Y = Array.isArray(n.options) ? n.options.find((j) => c(j) === c(A)) ?? A : A;
22391
22391
  Y != null && !I(Y) && (d.value = [Y]);
22392
22392
  }
22393
- }, { immediate: !0 }), De(() => L.value, (R) => {
22394
- R && (E.value = -1, setTimeout(() => {
22393
+ }, { immediate: !0 }), De(() => L.value, (B) => {
22394
+ B && (E.value = -1, setTimeout(() => {
22395
22395
  O();
22396
22396
  }, 10));
22397
22397
  }), De(() => n.options, () => {
22398
- const R = n.options;
22399
- Array.isArray(R) && d.value.forEach((A, Y) => {
22400
- const j = R.find((X) => c(X) === c(A));
22398
+ const B = n.options;
22399
+ Array.isArray(B) && d.value.forEach((A, Y) => {
22400
+ const j = B.find((X) => c(X) === c(A));
22401
22401
  j === void 0 ? d.value.splice(Y, 1) : d.value.splice(Y, 1, j);
22402
22402
  });
22403
22403
  }, {
22404
22404
  deep: !0,
22405
22405
  immediate: !0
22406
- }), De(() => $.value, (R) => {
22407
- s(n.options) && R.length > 0 && d.value.forEach((A, Y) => {
22406
+ }), De(() => $.value, (B) => {
22407
+ s(n.options) && B.length > 0 && d.value.forEach((A, Y) => {
22408
22408
  const j = c(A);
22409
22409
  if (typeof A != "object" || !A.label) {
22410
- const X = R.find((fe) => c(fe) === j);
22410
+ const X = B.find((fe) => c(fe) === j);
22411
22411
  X !== void 0 && d.value.splice(Y, 1, X);
22412
22412
  }
22413
22413
  });
@@ -22415,13 +22415,13 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22415
22415
  deep: !0,
22416
22416
  immediate: !0
22417
22417
  }), je(() => {
22418
- const R = n.options;
22419
- if (n.modelValue == null && n.defaultValue !== void 0 && Array.isArray(R)) {
22420
- const A = R.find((Y) => c(Y) === c(n.defaultValue));
22418
+ const B = n.options;
22419
+ if (n.modelValue == null && n.defaultValue !== void 0 && Array.isArray(B)) {
22420
+ const A = B.find((Y) => c(Y) === c(n.defaultValue));
22421
22421
  if (A === void 0) return;
22422
22422
  d.value = [A];
22423
22423
  }
22424
- }), (R, A) => (_(), se(b(fn), {
22424
+ }), (B, A) => (_(), se(b(fn), {
22425
22425
  ref_key: "dropdown",
22426
22426
  ref: h,
22427
22427
  shown: L.value,
@@ -22435,7 +22435,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22435
22435
  }]]),
22436
22436
  style: ye(b(i)),
22437
22437
  "no-auto-focus": "",
22438
- onClick: A[12] || (A[12] = nt(() => {
22438
+ onClick: A[12] || (A[12] = Qe(() => {
22439
22439
  }, ["stop"]))
22440
22440
  }, {
22441
22441
  trigger: Ce(() => [M("label", null, [
@@ -22452,7 +22452,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22452
22452
  thin: e.thin,
22453
22453
  onInput: A[1] || (A[1] = (Y) => g.value = !1),
22454
22454
  onClick: W,
22455
- onKeydown: [A[2] || (A[2] = Nt(nt((Y) => N("down"), ["prevent"]), ["down"])), A[3] || (A[3] = Nt(nt((Y) => N("up"), ["prevent"]), ["up"]))]
22455
+ onKeydown: [A[2] || (A[2] = Ft(Qe((Y) => N("down"), ["prevent"]), ["down"])), A[3] || (A[3] = Ft(Qe((Y) => N("up"), ["prevent"]), ["up"]))]
22456
22456
  }, null, 8, [
22457
22457
  "modelValue",
22458
22458
  "placeholder",
@@ -22465,7 +22465,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22465
22465
  type: "button",
22466
22466
  class: ue(["selectinput-btn", [{ isEmpty: f.value === 0 }, v.value]]),
22467
22467
  onClick: A[5] || (A[5] = (Y) => L.value = !L.value),
22468
- onKeydown: [A[6] || (A[6] = Nt(nt((Y) => N("down"), ["prevent"]), ["down"])), A[7] || (A[7] = Nt(nt((Y) => N("up"), ["prevent"]), ["up"]))]
22468
+ onKeydown: [A[6] || (A[6] = Ft(Qe((Y) => N("down"), ["prevent"]), ["down"])), A[7] || (A[7] = Ft(Qe((Y) => N("up"), ["prevent"]), ["up"]))]
22469
22469
  }, [
22470
22470
  e.icon ? (_(), se(b(Be), {
22471
22471
  key: 0,
@@ -22515,7 +22515,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22515
22515
  class: "p-05",
22516
22516
  frame: "",
22517
22517
  style: ye({ width: e.fullWidth ? "100%" : "auto" }),
22518
- onClick: A[10] || (A[10] = nt(() => {
22518
+ onClick: A[10] || (A[10] = Qe(() => {
22519
22519
  }, ["stop"]))
22520
22520
  }, {
22521
22521
  default: Ce(() => [M("div", {
@@ -22530,9 +22530,9 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22530
22530
  "aria-selected": I(Y),
22531
22531
  onClick: (X) => U(Y),
22532
22532
  onKeydown: [
22533
- Nt((X) => U(Y), ["enter"]),
22534
- A[8] || (A[8] = Nt(nt((X) => N("down"), ["prevent"]), ["down"])),
22535
- A[9] || (A[9] = Nt(nt((X) => N("up"), ["prevent"]), ["up"]))
22533
+ Ft((X) => U(Y), ["enter"]),
22534
+ A[8] || (A[8] = Ft(Qe((X) => N("down"), ["prevent"]), ["down"])),
22535
+ A[9] || (A[9] = Ft(Qe((X) => N("up"), ["prevent"]), ["up"]))
22536
22536
  ]
22537
22537
  }, [e.multiselect ? (_(), S(_e, { key: 0 }, [I(Y) ? (_(), se(b(Be), {
22538
22538
  key: 0,
@@ -22547,7 +22547,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22547
22547
  key: 0,
22548
22548
  icon: b(Kr)(Y),
22549
22549
  size: 1
22550
- }, null, 8, ["icon"])) : F("", !0), M("span", Hx, [M("span", Ux, ie(b(Qo)(Y)), 1), b(Yf)(Y) ? (_(), S("span", Wx, ie(b(Yf)(Y)), 1)) : F("", !0)])])], 42, Vx))), 128)), b($).length === 0 ? (_(), S("p", jx, " No options found ")) : F("", !0)], 2), be(R.$slots, "last", {}, void 0, !0)]),
22550
+ }, null, 8, ["icon"])) : F("", !0), M("span", Hx, [M("span", Ux, ie(b(Qo)(Y)), 1), b(Yf)(Y) ? (_(), S("span", Wx, ie(b(Yf)(Y)), 1)) : F("", !0)])])], 42, Vx))), 128)), b($).length === 0 ? (_(), S("p", jx, " No options found ")) : F("", !0)], 2), be(B.$slots, "last", {}, void 0, !0)]),
22551
22551
  _: 3
22552
22552
  }, 8, ["style"])]),
22553
22553
  _: 3
@@ -22645,7 +22645,7 @@ var hx = ["aria-labelledby"], mx = ["id"], gx = { key: 0 }, vx = ["for"], Lx = [
22645
22645
  return;
22646
22646
  }
22647
22647
  }
22648
- }), l = B(), u = B();
22648
+ }), l = R(), u = R();
22649
22649
  vV(() => l.value, () => u.value, a.validate, a.getFormData);
22650
22650
  const d = x(() => {
22651
22651
  let m = Number(a.rows) || 1;
@@ -24093,7 +24093,7 @@ var r2 = 64 * 1024, { isFunction: Xi } = he, GT = (e) => encodeURIComponent(e).r
24093
24093
  };
24094
24094
  return async (m) => {
24095
24095
  let { url: v, method: y, data: w, signal: $, cancelToken: k, timeout: E, onDownloadProgress: C, onUploadProgress: N, responseType: I, headers: O, withCredentials: W = "same-origin", fetchOptions: U, maxContentLength: H, maxBodyLength: te } = y5(m);
24096
- const R = he.isNumber(H) && H > -1, A = he.isNumber(te) && te > -1, Y = (D) => he.hasOwnProp(m, D) ? m[D] : void 0;
24096
+ const B = he.isNumber(H) && H > -1, A = he.isNumber(te) && te > -1, Y = (D) => he.hasOwnProp(m, D) ? m[D] : void 0;
24097
24097
  let j = r || fetch;
24098
24098
  I = I ? (I + "").toLowerCase() : "text";
24099
24099
  let X = zT([$, k && k.toAbortSignal()], E), fe = null;
@@ -24114,7 +24114,7 @@ var r2 = 64 * 1024, { isFunction: Xi } = he, GT = (e) => encodeURIComponent(e).r
24114
24114
  password: o2(pe.password)
24115
24115
  }), (pe.username || pe.password) && (pe.username = "", pe.password = "", v = pe.href);
24116
24116
  }
24117
- if (D && (O.delete("authorization"), O.set("Authorization", "Basic " + btoa(GT((D.username || "") + ":" + (D.password || ""))))), R && typeof v == "string" && v.startsWith("data:") && jT(v) > H)
24117
+ if (D && (O.delete("authorization"), O.set("Authorization", "Basic " + btoa(GT((D.username || "") + ":" + (D.password || ""))))), B && typeof v == "string" && v.startsWith("data:") && jT(v) > H)
24118
24118
  throw new qe("maxContentLength size of " + H + " exceeded", qe.ERR_BAD_RESPONSE, m, fe);
24119
24119
  if (A && y !== "get" && y !== "head") {
24120
24120
  const pe = await L(O, w);
@@ -24149,12 +24149,12 @@ var r2 = 64 * 1024, { isFunction: Xi } = he, GT = (e) => encodeURIComponent(e).r
24149
24149
  };
24150
24150
  fe = l && new o(v, de);
24151
24151
  let K = await (l ? j(fe, U) : j(v, de));
24152
- if (R) {
24152
+ if (B) {
24153
24153
  const pe = he.toFiniteNumber(K.headers.get("content-length"));
24154
24154
  if (pe != null && pe > H) throw new qe("maxContentLength size of " + H + " exceeded", qe.ERR_BAD_RESPONSE, m, fe);
24155
24155
  }
24156
24156
  const Se = p && (I === "stream" || I === "response");
24157
- if (p && K.body && (C || R || Se && oe)) {
24157
+ if (p && K.body && (C || B || Se && oe)) {
24158
24158
  const pe = {};
24159
24159
  [
24160
24160
  "status",
@@ -24166,7 +24166,7 @@ var r2 = 64 * 1024, { isFunction: Xi } = he, GT = (e) => encodeURIComponent(e).r
24166
24166
  const Ae = he.toFiniteNumber(K.headers.get("content-length")), [Ne, xe] = C && e2(Ae, jl(t2(C), !0)) || [];
24167
24167
  let ne = 0;
24168
24168
  const Q = (ae) => {
24169
- if (R && (ne = ae, ne > H))
24169
+ if (B && (ne = ae, ne > H))
24170
24170
  throw new qe("maxContentLength size of " + H + " exceeded", qe.ERR_BAD_RESPONSE, m, fe);
24171
24171
  Ne && Ne(ae);
24172
24172
  };
@@ -24176,7 +24176,7 @@ var r2 = 64 * 1024, { isFunction: Xi } = he, GT = (e) => encodeURIComponent(e).r
24176
24176
  }
24177
24177
  I = I || "text";
24178
24178
  let Ie = await h[he.findKey(h, I) || "text"](K, m);
24179
- if (R && !p && !Se) {
24179
+ if (B && !p && !Se) {
24180
24180
  let pe;
24181
24181
  if (Ie != null && (typeof Ie.byteLength == "number" ? pe = Ie.byteLength : typeof Ie.size == "number" ? pe = Ie.size : typeof Ie == "string" && (pe = typeof a == "function" ? new a().encode(Ie).byteLength : Ie.length)), typeof pe == "number" && pe > H) throw new qe("maxContentLength size of " + H + " exceeded", qe.ERR_BAD_RESPONSE, m, fe);
24182
24182
  }
@@ -24678,7 +24678,7 @@ const yl = {
24678
24678
  list: async (e) => Xa.get("/files", { params: { dir_path: e } })
24679
24679
  };
24680
24680
  function rM(e = {}) {
24681
- const t = e.namespace || "default", n = B([]), a = B([]), r = B([]), o = x(() => {
24681
+ const t = e.namespace || "default", n = R([]), a = R([]), r = R([]), o = x(() => {
24682
24682
  const c = a.value.map((f) => f.path_key);
24683
24683
  return [...r.value, ...c];
24684
24684
  }), i = (c) => URL.createObjectURL(c);
@@ -24842,7 +24842,7 @@ var oM = ["data-field"], iM = { key: 0 }, lM = { key: 0 }, sM = ["name"], uM = {
24842
24842
  if (N == null) return r("upload.dropPlaceholder");
24843
24843
  const I = Ue(N);
24844
24844
  return I != null && I !== "" ? I : r("upload.dropPlaceholder");
24845
- }), v = x(() => !s.value.length && !i.value.length || !!n.multiple), y = (N) => vd.test(N), w = B(!1);
24845
+ }), v = x(() => !s.value.length && !i.value.length || !!n.multiple), y = (N) => vd.test(N), w = R(!1);
24846
24846
  function $(N, I = !1) {
24847
24847
  N.preventDefault(), N.stopPropagation(), n.disabled || (w.value = I);
24848
24848
  }
@@ -25428,7 +25428,7 @@ var MM = { class: "table-grid-selector p-075" }, AM = { class: "txt-center mb-07
25428
25428
  __name: "TableGridSelector",
25429
25429
  emits: ["insert", "openAdvanced"],
25430
25430
  setup(e, { emit: t }) {
25431
- const n = t, a = B(0), r = B(0), o = x(() => {
25431
+ const n = t, a = R(0), r = R(0), o = x(() => {
25432
25432
  const c = [];
25433
25433
  for (let f = 1; f <= NM; f++) for (let p = 1; p <= OM; p++) c.push({
25434
25434
  row: f,
@@ -26158,12 +26158,12 @@ function JM(e) {
26158
26158
  for (; v.firstChild; ) I.appendChild(v.firstChild);
26159
26159
  v.parentNode?.replaceChild(I, v);
26160
26160
  try {
26161
- const O = h.doc.createRange(), W = (te, R, A) => {
26162
- if (te === R) return A;
26161
+ const O = h.doc.createRange(), W = (te, B, A) => {
26162
+ if (te === B) return A;
26163
26163
  if (te.nodeType === Node.TEXT_NODE) {
26164
26164
  const Y = h.doc.createTreeWalker(A, NodeFilter.SHOW_TEXT, null);
26165
26165
  let j = 0;
26166
- const X = h.doc.createTreeWalker(R, NodeFilter.SHOW_TEXT, null);
26166
+ const X = h.doc.createTreeWalker(B, NodeFilter.SHOW_TEXT, null);
26167
26167
  let fe = X.nextNode();
26168
26168
  for (; fe && fe !== te; )
26169
26169
  j++, fe = X.nextNode();
@@ -27162,7 +27162,7 @@ var oA = { key: 0 }, iA = {
27162
27162
  },
27163
27163
  emits: ["update:modelValue"],
27164
27164
  setup(e, { expose: t, emit: n }) {
27165
- const a = e, r = n, { shellClass: o, shellStyle: i } = qt(a), s = x(() => !!a.modelValue?.trim()), l = pc(), u = B(), d = nA(), c = B(!1), f = B(!1), p = eA(d.state, d.state.debug);
27165
+ const a = e, r = n, { shellClass: o, shellStyle: i } = qt(a), s = x(() => !!a.modelValue?.trim()), l = pc(), u = R(), d = nA(), c = R(!1), f = R(!1), p = eA(d.state, d.state.debug);
27166
27166
  function h(V, T, Z = []) {
27167
27167
  const { doc: J } = d.state;
27168
27168
  if (!J) return;
@@ -27176,14 +27176,14 @@ var oA = { key: 0 }, iA = {
27176
27176
  for (; we.firstChild; ) ke.appendChild(we.firstChild);
27177
27177
  we.parentNode?.replaceChild(ke, we);
27178
27178
  }
27179
- Z.forEach((et) => ke.classList.remove(et)), T && ke.classList.add(T), ke.classList.length || ke.removeAttribute("class");
27179
+ Z.forEach((tt) => ke.classList.remove(tt)), T && ke.classList.add(T), ke.classList.length || ke.removeAttribute("class");
27180
27180
  const Je = J.createRange();
27181
27181
  Je.selectNodeContents(ke), Je.collapse(!1), ce?.removeAllRanges(), ce?.addRange(Je), d.state.range = Je.cloneRange(), ae(J, !0);
27182
27182
  }
27183
27183
  const g = {
27184
27184
  execute: p.execute,
27185
27185
  setBlock: h
27186
- }, L = B(0), m = x(() => (L.value, typeof document < "u" && getComputedStyle(document.documentElement).getPropertyValue("--bgl-input-color").trim() || "#000")), v = x(() => (L.value, typeof document < "u" ? document.documentElement.classList.contains("bgl-dark-mode") : !1)), y = x(() => {
27186
+ }, L = R(0), m = x(() => (L.value, typeof document < "u" && getComputedStyle(document.documentElement).getPropertyValue("--bgl-input-color").trim() || "#000")), v = x(() => (L.value, typeof document < "u" ? document.documentElement.classList.contains("bgl-dark-mode") : !1)), y = x(() => {
27187
27187
  if (v.value) return a.textColor || "#1a1a1a";
27188
27188
  const V = m.value;
27189
27189
  return a.textColor || (V && V.length > 0 && V !== "#000" ? V : "inherit");
@@ -27237,16 +27237,16 @@ var oA = { key: 0 }, iA = {
27237
27237
  ].forEach((T) => {
27238
27238
  V.includes(T) || V.push(T);
27239
27239
  }), V;
27240
- }), I = B(!1), O = B({
27240
+ }), I = R(!1), O = R({
27241
27241
  url: "",
27242
27242
  openInNewTab: !0
27243
- }), W = B(!1), U = B({
27243
+ }), W = R(!1), U = R({
27244
27244
  message: "",
27245
27245
  x: 0,
27246
27246
  y: 0
27247
27247
  });
27248
27248
  let H = null;
27249
- const te = B(!1), R = B({
27249
+ const te = R(!1), B = R({
27250
27250
  src: "",
27251
27251
  alt: "",
27252
27252
  width: "",
@@ -27258,17 +27258,17 @@ var oA = { key: 0 }, iA = {
27258
27258
  linkNewTab: !1
27259
27259
  });
27260
27260
  let A = null;
27261
- const Y = B(!1), j = B({
27261
+ const Y = R(!1), j = R({
27262
27262
  src: "",
27263
27263
  width: "560",
27264
27264
  height: "315",
27265
27265
  alt: ""
27266
27266
  });
27267
27267
  let X = null;
27268
- const fe = B(!1), oe = B({
27268
+ const fe = R(!1), oe = R({
27269
27269
  top: 0,
27270
27270
  left: 0
27271
- }), G = B(null), D = B(!1), P = B({
27271
+ }), G = R(null), D = R(!1), P = R({
27272
27272
  src: "",
27273
27273
  width: "",
27274
27274
  autoplay: !1,
@@ -27282,7 +27282,7 @@ var oA = { key: 0 }, iA = {
27282
27282
  showCaption: !1
27283
27283
  });
27284
27284
  let ee = null;
27285
- const de = B(!1), K = B({
27285
+ const de = R(!1), K = R({
27286
27286
  rows: 3,
27287
27287
  cols: 3,
27288
27288
  width: 100,
@@ -27300,10 +27300,10 @@ var oA = { key: 0 }, iA = {
27300
27300
  fixedLayout: !0,
27301
27301
  alignment: "left",
27302
27302
  direction: "ltr"
27303
- }), Se = B(!1), Ie = B({
27303
+ }), Se = R(!1), Ie = R({
27304
27304
  x: 0,
27305
27305
  y: 0
27306
- }), pe = B(null);
27306
+ }), pe = R(null);
27307
27307
  let Ae = null;
27308
27308
  const Ne = x(() => {
27309
27309
  const V = K.value;
@@ -27519,7 +27519,7 @@ var oA = { key: 0 }, iA = {
27519
27519
  }
27520
27520
  if (V) {
27521
27521
  const Z = V.tagName === "IMG" ? V : V.querySelector("img"), J = V.querySelector("figcaption"), ce = V.getAttribute("data-credit") || Z?.getAttribute("data-credit") || "", me = (V.tagName === "IMG" ? Z : V)?.getAttribute("data-align") || "full", ge = Z?.closest("a"), we = ge?.getAttribute("href") || "", ke = ge?.getAttribute("target") === "_blank";
27522
- R.value = {
27522
+ B.value = {
27523
27523
  src: Z?.src || "",
27524
27524
  alt: Z?.alt || "",
27525
27525
  width: Z?.getAttribute("data-width") || Z?.style.width || "",
@@ -27530,7 +27530,7 @@ var oA = { key: 0 }, iA = {
27530
27530
  link: we,
27531
27531
  linkNewTab: ke
27532
27532
  };
27533
- } else R.value = {
27533
+ } else B.value = {
27534
27534
  src: "",
27535
27535
  alt: "",
27536
27536
  width: "",
@@ -27544,36 +27544,36 @@ var oA = { key: 0 }, iA = {
27544
27544
  te.value = !0;
27545
27545
  }
27546
27546
  }
27547
- function Qe() {
27548
- if (!R.value.src || !A) return;
27547
+ function et() {
27548
+ if (!B.value.src || !A) return;
27549
27549
  const { doc: V } = d.state;
27550
27550
  if (!V) return;
27551
27551
  const { existingImage: T } = A, Z = V.createElement("img");
27552
- Z.src = R.value.src, Z.alt = R.value.alt || "", R.value.width ? (Z.setAttribute("data-width", R.value.width), R.value.width.includes("%") || R.value.width.includes("px") || R.value.width.includes("vw") || R.value.width.includes("rem") || R.value.width.includes("em") ? Z.style.width = R.value.width : Z.style.width = `${R.value.width}px`) : Z.style.width = R.value.align === "start" || R.value.align === "end" ? "45%" : "100%", R.value.height ? (Z.setAttribute("data-height", R.value.height), R.value.height.includes("%") || R.value.height.includes("px") || R.value.height.includes("vh") || R.value.height.includes("rem") || R.value.height.includes("em") || R.value.height === "auto" ? Z.style.height = R.value.height : Z.style.height = `${R.value.height}px`) : Z.style.height = "auto";
27552
+ Z.src = B.value.src, Z.alt = B.value.alt || "", B.value.width ? (Z.setAttribute("data-width", B.value.width), B.value.width.includes("%") || B.value.width.includes("px") || B.value.width.includes("vw") || B.value.width.includes("rem") || B.value.width.includes("em") ? Z.style.width = B.value.width : Z.style.width = `${B.value.width}px`) : Z.style.width = B.value.align === "start" || B.value.align === "end" ? "45%" : "100%", B.value.height ? (Z.setAttribute("data-height", B.value.height), B.value.height.includes("%") || B.value.height.includes("px") || B.value.height.includes("vh") || B.value.height.includes("rem") || B.value.height.includes("em") || B.value.height === "auto" ? Z.style.height = B.value.height : Z.style.height = `${B.value.height}px`) : Z.style.height = "auto";
27553
27553
  function J() {
27554
27554
  const we = V.createElement("figcaption");
27555
27555
  let ke = "";
27556
- return R.value.figcaption && R.value.alt && (ke = `<strong class="alt-text">${R.value.alt}</strong>`), R.value.credit && (ke += `${ke ? " • " : ""}<span class="photo-credit">${R.value.credit}</span>`), we.innerHTML = ke, we;
27556
+ return B.value.figcaption && B.value.alt && (ke = `<strong class="alt-text">${B.value.alt}</strong>`), B.value.credit && (ke += `${ke ? " • " : ""}<span class="photo-credit">${B.value.credit}</span>`), we.innerHTML = ke, we;
27557
27557
  }
27558
27558
  function ce() {
27559
- const we = R.value.link?.trim();
27559
+ const we = B.value.link?.trim();
27560
27560
  if (!we) return Z;
27561
27561
  const ke = V.createElement("a");
27562
- return ke.setAttribute("href", we), R.value.linkNewTab && (ke.setAttribute("target", "_blank"), ke.setAttribute("rel", "noopener noreferrer")), ke.appendChild(Z), ke;
27562
+ return ke.setAttribute("href", we), B.value.linkNewTab && (ke.setAttribute("target", "_blank"), ke.setAttribute("rel", "noopener noreferrer")), ke.appendChild(Z), ke;
27563
27563
  }
27564
27564
  let me;
27565
27565
  if (T) if (T.tagName.toLowerCase() === "img") {
27566
27566
  const we = V.createElement("figure");
27567
- we.className = "image-figure", R.value.credit && we.setAttribute("data-credit", R.value.credit), we.appendChild(ce()), (R.value.figcaption && R.value.alt || R.value.credit) && we.appendChild(J()), T.parentNode?.replaceChild(we, T), me = we;
27567
+ we.className = "image-figure", B.value.credit && we.setAttribute("data-credit", B.value.credit), we.appendChild(ce()), (B.value.figcaption && B.value.alt || B.value.credit) && we.appendChild(J()), T.parentNode?.replaceChild(we, T), me = we;
27568
27568
  } else
27569
- T.innerHTML = "", R.value.credit && T.setAttribute("data-credit", R.value.credit), T.appendChild(ce()), (R.value.figcaption && R.value.alt || R.value.credit) && T.appendChild(J()), me = T;
27569
+ T.innerHTML = "", B.value.credit && T.setAttribute("data-credit", B.value.credit), T.appendChild(ce()), (B.value.figcaption && B.value.alt || B.value.credit) && T.appendChild(J()), me = T;
27570
27570
  else {
27571
27571
  const we = V.createElement("figure");
27572
- we.className = "image-figure", R.value.credit && we.setAttribute("data-credit", R.value.credit), we.appendChild(ce()), (R.value.figcaption && R.value.alt || R.value.credit) && we.appendChild(J()), me = we;
27572
+ we.className = "image-figure", B.value.credit && we.setAttribute("data-credit", B.value.credit), we.appendChild(ce()), (B.value.figcaption && B.value.alt || B.value.credit) && we.appendChild(J()), me = we;
27573
27573
  const { selection: ke, range: Je } = A;
27574
27574
  Je.collapse(!1), Je.insertNode(me), Je.setStartAfter(me), Je.collapse(!0), ke.removeAllRanges(), ke.addRange(Je);
27575
27575
  }
27576
- const ge = R.value.align || "full";
27576
+ const ge = B.value.align || "full";
27577
27577
  me.classList.remove("align-full", "align-start", "align-end"), me.classList.add(`align-${ge}`), me.setAttribute("data-align", ge), ae(V), te.value = !1, A = null;
27578
27578
  }
27579
27579
  function ht(V = null) {
@@ -27741,10 +27741,10 @@ var oA = { key: 0 }, iA = {
27741
27741
  ge.className = "video-placeholder", ge.style.aspectRatio = Z.replace(":", "/");
27742
27742
  const we = P.value.src.includes("youtube.com") || P.value.src.includes("youtu.be"), ke = P.value.src.includes("vimeo.com"), Je = V.createElement("div");
27743
27743
  Je.className = "video-placeholder-icon";
27744
- const et = V.createElement("div");
27745
- et.className = "video-placeholder-description";
27744
+ const tt = V.createElement("div");
27745
+ tt.className = "video-placeholder-description";
27746
27746
  let $t = "video";
27747
- if (we ? $t = "YouTube video" : ke && ($t = "Vimeo video"), et.textContent = $t, we) {
27747
+ if (we ? $t = "YouTube video" : ke && ($t = "Vimeo video"), tt.textContent = $t, we) {
27748
27748
  let Et = "";
27749
27749
  if (P.value.src.includes("youtube.com/watch?v=") ? Et = P.value.src.split("watch?v=")[1]?.split("&")[0] : P.value.src.includes("youtu.be/") ? Et = P.value.src.split("youtu.be/")[1]?.split("?")[0] : P.value.src.includes("youtube.com/shorts/") && (Et = P.value.src.split("shorts/")[1]?.split("?")[0]), Et) {
27750
27750
  ge.classList.add("has-thumbnail");
@@ -27755,9 +27755,9 @@ var oA = { key: 0 }, iA = {
27755
27755
  const vn = V.createElement("div");
27756
27756
  vn.className = "video-overlay-icon", Ca.appendChild(vn), ge.appendChild(Ca);
27757
27757
  } else
27758
- ge.appendChild(Je), ge.appendChild(et);
27758
+ ge.appendChild(Je), ge.appendChild(tt);
27759
27759
  } else
27760
- ge.appendChild(Je), ge.appendChild(et);
27760
+ ge.appendChild(Je), ge.appendChild(tt);
27761
27761
  we && P.value.src.includes("youtube.com/shorts/") && me.classList.add("vid_short"), me.appendChild(ge), ce.appendChild(me);
27762
27762
  let mt;
27763
27763
  if (T ? (mt = T, mt.innerHTML = "") : (mt = V.createElement("figure"), mt.className = "video-figure"), mt.appendChild(ce), P.value.showCaption && P.value.caption) {
@@ -27803,8 +27803,8 @@ var oA = { key: 0 }, iA = {
27803
27803
  if (Z && Z.rows.length >= 2) {
27804
27804
  const we = Z.rows[0], ke = Z.rows[1];
27805
27805
  if (we.cells.length > 0 && ke.cells.length > 0) {
27806
- const Je = we.cells[0], et = ke.cells[0], $t = getComputedStyle(Je).backgroundColor, mt = getComputedStyle(et).backgroundColor;
27807
- $t !== mt && (ce = !0, me = mt, ge = getComputedStyle(et).color);
27806
+ const Je = we.cells[0], tt = ke.cells[0], $t = getComputedStyle(Je).backgroundColor, mt = getComputedStyle(tt).backgroundColor;
27807
+ $t !== mt && (ce = !0, me = mt, ge = getComputedStyle(tt).color);
27808
27808
  }
27809
27809
  }
27810
27810
  K.value = {
@@ -27968,7 +27968,7 @@ var oA = { key: 0 }, iA = {
27968
27968
  }), T.querySelectorAll('.video-container[data-component="BglVideo"]').forEach((Z) => {
27969
27969
  const J = Z, ce = J.getAttribute("data-video-src") || "";
27970
27970
  if (!ce) return;
27971
- const me = J.getAttribute("data-autoplay") === "true", ge = J.getAttribute("data-mute") === "true", we = J.getAttribute("data-controls") !== "false", ke = J.getAttribute("data-loop") === "true", Je = J.getAttribute("data-aspect-ratio") || "16:9", et = J.getAttribute("data-width") || "", $t = et ? `width: ${/[%pxvwemr]/.test(et) ? et : `${et}px`};` : "width: 100%;", [mt, Et] = Je.split(":").map(Number), En = mt && Et ? `${Et / mt * 100}%` : "56.25%", Ca = (Lt) => {
27971
+ const me = J.getAttribute("data-autoplay") === "true", ge = J.getAttribute("data-mute") === "true", we = J.getAttribute("data-controls") !== "false", ke = J.getAttribute("data-loop") === "true", Je = J.getAttribute("data-aspect-ratio") || "16:9", tt = J.getAttribute("data-width") || "", $t = tt ? `width: ${/[%pxvwemr]/.test(tt) ? tt : `${tt}px`};` : "width: 100%;", [mt, Et] = Je.split(":").map(Number), En = mt && Et ? `${Et / mt * 100}%` : "56.25%", Ca = (Lt) => {
27972
27972
  const da = document.createElement("div");
27973
27973
  da.style.cssText = `${$t} position: relative; padding-bottom: ${En}; height: 0; overflow: hidden;`;
27974
27974
  const ln = document.createElement("iframe");
@@ -28018,8 +28018,8 @@ var oA = { key: 0 }, iA = {
28018
28018
  const ke = we.cells[ce];
28019
28019
  if (ke) {
28020
28020
  ke.innerHTML.trim() && (T.innerHTML += `<br>${ke.innerHTML}`);
28021
- const Je = Number.parseInt(T.getAttribute("rowspan") || "1"), et = Number.parseInt(ke.getAttribute("rowspan") || "1");
28022
- T.setAttribute("rowspan", (Je + et).toString()), ke.remove(), ae(V);
28021
+ const Je = Number.parseInt(T.getAttribute("rowspan") || "1"), tt = Number.parseInt(ke.getAttribute("rowspan") || "1");
28022
+ T.setAttribute("rowspan", (Je + tt).toString()), ke.remove(), ae(V);
28023
28023
  }
28024
28024
  }
28025
28025
  }
@@ -28036,9 +28036,9 @@ var oA = { key: 0 }, iA = {
28036
28036
  }
28037
28037
  } else if (me > 1) {
28038
28038
  T.setAttribute("rowspan", "1");
28039
- const ge = T.parentElement, we = Array.from(ge.cells).indexOf(T), ke = Z.querySelector("tbody") || Z, Je = Array.from(ke.querySelectorAll("tr")), et = Je.indexOf(ge);
28039
+ const ge = T.parentElement, we = Array.from(ge.cells).indexOf(T), ke = Z.querySelector("tbody") || Z, Je = Array.from(ke.querySelectorAll("tr")), tt = Je.indexOf(ge);
28040
28040
  for (let $t = 1; $t < me; $t++) {
28041
- const mt = Je[et + $t];
28041
+ const mt = Je[tt + $t];
28042
28042
  if (mt) {
28043
28043
  const Et = V.createElement(T.tagName.toLowerCase());
28044
28044
  Et.innerHTML = "&nbsp;", Et.style.cssText = T.style.cssText, we < mt.cells.length ? mt.insertBefore(Et, mt.cells[we]) : mt.appendChild(Et);
@@ -28122,7 +28122,7 @@ var oA = { key: 0 }, iA = {
28122
28122
  }, Se.value = !0);
28123
28123
  }
28124
28124
  const Js = x(() => d.state.debug), S1 = x(() => xe.test(a.modelValue)), C1 = x(() => a.fullHeight ? "100%" : typeof a.height == "number" ? `${a.height}px` : typeof a.height == "string" ? a.height : "240px");
28125
- Bt(() => {
28125
+ Rt(() => {
28126
28126
  d.cleanup();
28127
28127
  });
28128
28128
  function Io(V) {
@@ -28180,8 +28180,8 @@ var oA = { key: 0 }, iA = {
28180
28180
  if (ke.parentNode === V.body && ke.textContent?.trim() && ke.nodeType === Node.TEXT_NODE) {
28181
28181
  const Je = V.createElement("p");
28182
28182
  Je.dir = V.body.dir || "ltr";
28183
- const { textContent: et } = ke;
28184
- Je.textContent = et;
28183
+ const { textContent: tt } = ke;
28184
+ Je.textContent = tt;
28185
28185
  try {
28186
28186
  ke.parentNode.replaceChild(Je, ke);
28187
28187
  } catch {
@@ -28197,8 +28197,8 @@ var oA = { key: 0 }, iA = {
28197
28197
  for (let ke = 0; ke < we.length; ke++) {
28198
28198
  const Je = we[ke];
28199
28199
  if (!Je.textContent?.trim() || Je.innerHTML === "<br>") {
28200
- const et = ke === we.length - 1, $t = ke > 0 ? we[ke - 1] : null;
28201
- $t && (!$t.textContent?.trim() || $t.innerHTML === "<br>") && !et && Je.remove();
28200
+ const tt = ke === we.length - 1, $t = ke > 0 ? we[ke - 1] : null;
28201
+ $t && (!$t.textContent?.trim() || $t.innerHTML === "<br>") && !tt && Je.remove();
28202
28202
  }
28203
28203
  }
28204
28204
  } finally {
@@ -28230,27 +28230,27 @@ var oA = { key: 0 }, iA = {
28230
28230
  we.nodeType === Node.TEXT_NODE && (we = we.parentElement);
28231
28231
  const ke = we.closest("li"), Je = we.closest("ul, ol");
28232
28232
  if (ke || Je) return;
28233
- let et = ge.startContainer;
28234
- if (et.nodeType === Node.TEXT_NODE && (et = et.parentElement), et = et.closest("p,h1,h2,h3,h4,h5,h6"), !et) return;
28235
- const $t = !et.textContent?.trim(), mt = et.previousElementSibling, Et = mt && mt.tagName === "P" && !mt.textContent?.trim();
28233
+ let tt = ge.startContainer;
28234
+ if (tt.nodeType === Node.TEXT_NODE && (tt = tt.parentElement), tt = tt.closest("p,h1,h2,h3,h4,h5,h6"), !tt) return;
28235
+ const $t = !tt.textContent?.trim(), mt = tt.previousElementSibling, Et = mt && mt.tagName === "P" && !mt.textContent?.trim();
28236
28236
  if ($t && Et) {
28237
28237
  ce.preventDefault();
28238
28238
  return;
28239
28239
  }
28240
- const En = xe.test(et.textContent || "");
28240
+ const En = xe.test(tt.textContent || "");
28241
28241
  ce.preventDefault(), ce.stopPropagation();
28242
28242
  const Ca = ge.startContainer.textContent?.substring(0, ge.startOffset) || "", vn = ge.startContainer.textContent?.substring(ge.startOffset) || "";
28243
28243
  a.debug;
28244
28244
  const Lt = V.createElement("p");
28245
28245
  if (Lt.dir = En ? "rtl" : V.body.dir || "ltr", ge.startContainer.nodeType === Node.TEXT_NODE && vn.trim()) {
28246
28246
  const ln = ge.startContainer, { parentElement: eu } = ln;
28247
- if (ln.textContent = Ca, vn.trim()) if (eu && eu !== et) {
28247
+ if (ln.textContent = Ca, vn.trim()) if (eu && eu !== tt) {
28248
28248
  const k1 = eu.cloneNode(!1);
28249
28249
  k1.textContent = vn, Lt.appendChild(k1);
28250
28250
  } else Lt.textContent = vn;
28251
28251
  else Lt.innerHTML = "<br>";
28252
28252
  } else Lt.innerHTML = "<br>";
28253
- et.parentNode?.insertBefore(Lt, et.nextSibling);
28253
+ tt.parentNode?.insertBefore(Lt, tt.nextSibling);
28254
28254
  const da = V.createRange();
28255
28255
  da.selectNodeContents(Lt), da.collapse(!0), me.removeAllRanges(), me.addRange(da), ae(V);
28256
28256
  }
@@ -28281,14 +28281,14 @@ var oA = { key: 0 }, iA = {
28281
28281
  subtree: !1
28282
28282
  }), V.body.dataset.observers || (V.body.dataset.observers = "mutation"), V.addEventListener("click", (ce) => {
28283
28283
  const me = ce.target, ge = me.closest("a"), we = me.closest("table"), ke = me.closest("figure");
28284
- let Je = null, et = null, $t = null;
28285
- if (ke?.querySelector(".video-container, video") ? Je = ke : me.closest(".video-figure") ? Je = me.closest(".video-figure") : ke?.querySelector("img") ? et = ke : me.closest(".image-figure") ? et = me.closest(".image-figure") : me.tagName === "IMG" ? et = me : ke?.querySelector("iframe") ? $t = ke : me.closest(".embed-figure") ? $t = me.closest(".embed-figure") : me.tagName === "VIDEO" ? Je = me : me.tagName === "IFRAME" && ($t = me), V.querySelectorAll(".media-selected").forEach((mt) => {
28284
+ let Je = null, tt = null, $t = null;
28285
+ if (ke?.querySelector(".video-container, video") ? Je = ke : me.closest(".video-figure") ? Je = me.closest(".video-figure") : ke?.querySelector("img") ? tt = ke : me.closest(".image-figure") ? tt = me.closest(".image-figure") : me.tagName === "IMG" ? tt = me : ke?.querySelector("iframe") ? $t = ke : me.closest(".embed-figure") ? $t = me.closest(".embed-figure") : me.tagName === "VIDEO" ? Je = me : me.tagName === "IFRAME" && ($t = me), V.querySelectorAll(".media-selected").forEach((mt) => {
28286
28286
  mt.classList.remove("media-selected");
28287
28287
  }), !we) {
28288
28288
  if (Je)
28289
28289
  ce.preventDefault(), ce.stopPropagation(), Je.classList.add("media-selected"), gn(Je);
28290
- else if (et)
28291
- ce.preventDefault(), ce.stopPropagation(), et.classList.add("media-selected"), Fe(et);
28290
+ else if (tt)
28291
+ ce.preventDefault(), ce.stopPropagation(), tt.classList.add("media-selected"), Fe(tt);
28292
28292
  else if ($t)
28293
28293
  ce.preventDefault(), ce.stopPropagation(), $t.classList.add("media-selected"), ht($t);
28294
28294
  else if (ge && ge.href) {
@@ -28722,9 +28722,9 @@ var oA = { key: 0 }, iA = {
28722
28722
  commands: p
28723
28723
  });
28724
28724
  const x1 = x({
28725
- get: () => R.value.src,
28725
+ get: () => B.value.src,
28726
28726
  set: (V) => {
28727
- !V || R.value.src === V || (R.value.src = Zn(V) ?? V);
28727
+ !V || B.value.src === V || (B.value.src = Zn(V) ?? V);
28728
28728
  }
28729
28729
  });
28730
28730
  return (V, T) => {
@@ -28767,7 +28767,7 @@ var oA = { key: 0 }, iA = {
28767
28767
  thin: "",
28768
28768
  flat: "",
28769
28769
  tabindex: "-1",
28770
- onMousedown: T[0] || (T[0] = nt(() => {
28770
+ onMousedown: T[0] || (T[0] = Qe(() => {
28771
28771
  }, ["prevent"])),
28772
28772
  onClick: (ce) => J.action(g)
28773
28773
  }, null, 8, [
@@ -28902,7 +28902,7 @@ var oA = { key: 0 }, iA = {
28902
28902
  })
28903
28903
  }, [M("div", {
28904
28904
  class: "context-menu-content",
28905
- onClick: T[18] || (T[18] = nt(() => {
28905
+ onClick: T[18] || (T[18] = Qe(() => {
28906
28906
  }, ["stop"]))
28907
28907
  }, [M("div", sA, [T[82] || (T[82] = M("span", null, "Table Actions", -1)), M("button", {
28908
28908
  class: "close-btn",
@@ -29063,7 +29063,7 @@ var oA = { key: 0 }, iA = {
29063
29063
  label: "URL",
29064
29064
  type: "url",
29065
29065
  placeholder: "https://example.com",
29066
- onKeydown: Nt(rt, ["enter"])
29066
+ onKeydown: Ft(rt, ["enter"])
29067
29067
  }, null, 8, ["modelValue"]), re(b(Le), {
29068
29068
  icon: "open_in_new",
29069
29069
  class: "mb-05 radius-1",
@@ -29112,8 +29112,8 @@ var oA = { key: 0 }, iA = {
29112
29112
  re(b(Le), {
29113
29113
  class: "ms-auto",
29114
29114
  value: b(A)?.existingImage ? "Save Changes" : "Insert Image",
29115
- disabled: !R.value.src,
29116
- onClick: Qe
29115
+ disabled: !B.value.src,
29116
+ onClick: et
29117
29117
  }, null, 8, ["value", "disabled"])
29118
29118
  ])]),
29119
29119
  default: Ce(() => [
@@ -29122,38 +29122,38 @@ var oA = { key: 0 }, iA = {
29122
29122
  "onUpdate:modelValue": T[23] || (T[23] = (J) => x1.value = J),
29123
29123
  label: "Image",
29124
29124
  type: "image",
29125
- onKeydown: Nt(Qe, ["enter"])
29125
+ onKeydown: Ft(et, ["enter"])
29126
29126
  }, null, 8, ["modelValue"]),
29127
29127
  re(it, {
29128
- modelValue: R.value.src,
29129
- "onUpdate:modelValue": T[24] || (T[24] = (J) => R.value.src = J),
29128
+ modelValue: B.value.src,
29129
+ "onUpdate:modelValue": T[24] || (T[24] = (J) => B.value.src = J),
29130
29130
  label: "Image URL",
29131
29131
  type: "url",
29132
29132
  placeholder: "https://example.com/image.jpg",
29133
- onKeydown: Nt(Qe, ["enter"])
29133
+ onKeydown: Ft(et, ["enter"])
29134
29134
  }, null, 8, ["modelValue"]),
29135
29135
  re(it, {
29136
- modelValue: R.value.alt,
29137
- "onUpdate:modelValue": T[25] || (T[25] = (J) => R.value.alt = J),
29136
+ modelValue: B.value.alt,
29137
+ "onUpdate:modelValue": T[25] || (T[25] = (J) => B.value.alt = J),
29138
29138
  label: "Alt Text",
29139
29139
  placeholder: "Describe the image"
29140
29140
  }, null, 8, ["modelValue"]),
29141
29141
  M("div", fA, [re(it, {
29142
- modelValue: R.value.width,
29143
- "onUpdate:modelValue": T[26] || (T[26] = (J) => R.value.width = J),
29142
+ modelValue: B.value.width,
29143
+ "onUpdate:modelValue": T[26] || (T[26] = (J) => B.value.width = J),
29144
29144
  label: "Width",
29145
29145
  placeholder: "100% or 500px or auto",
29146
29146
  help: "Examples: 100%, 500px, auto"
29147
29147
  }, null, 8, ["modelValue"]), re(it, {
29148
- modelValue: R.value.height,
29149
- "onUpdate:modelValue": T[27] || (T[27] = (J) => R.value.height = J),
29148
+ modelValue: B.value.height,
29149
+ "onUpdate:modelValue": T[27] || (T[27] = (J) => B.value.height = J),
29150
29150
  label: "Height",
29151
29151
  placeholder: "auto or 300px",
29152
29152
  help: "Examples: auto, 300px"
29153
29153
  }, null, 8, ["modelValue"])]),
29154
29154
  re(wn, {
29155
- modelValue: R.value.align,
29156
- "onUpdate:modelValue": T[28] || (T[28] = (J) => R.value.align = J),
29155
+ modelValue: B.value.align,
29156
+ "onUpdate:modelValue": T[28] || (T[28] = (J) => B.value.align = J),
29157
29157
  label: "Alignment",
29158
29158
  options: [
29159
29159
  {
@@ -29172,28 +29172,28 @@ var oA = { key: 0 }, iA = {
29172
29172
  help: "Full width fills the container. Start/End float the image so text flows alongside."
29173
29173
  }, null, 8, ["modelValue"]),
29174
29174
  re(it, {
29175
- modelValue: R.value.credit,
29176
- "onUpdate:modelValue": T[29] || (T[29] = (J) => R.value.credit = J),
29175
+ modelValue: B.value.credit,
29176
+ "onUpdate:modelValue": T[29] || (T[29] = (J) => B.value.credit = J),
29177
29177
  label: "Photo Credit",
29178
29178
  placeholder: "Photographer name (optional)"
29179
29179
  }, null, 8, ["modelValue"]),
29180
29180
  re(it, {
29181
- modelValue: R.value.link,
29182
- "onUpdate:modelValue": T[30] || (T[30] = (J) => R.value.link = J),
29181
+ modelValue: B.value.link,
29182
+ "onUpdate:modelValue": T[30] || (T[30] = (J) => B.value.link = J),
29183
29183
  label: "Link URL",
29184
29184
  type: "url",
29185
29185
  placeholder: "https://example.com (optional)",
29186
29186
  help: "Make the image clickable by linking it to a URL"
29187
29187
  }, null, 8, ["modelValue"]),
29188
- R.value.link ? (_(), se(un, {
29188
+ B.value.link ? (_(), se(un, {
29189
29189
  key: 0,
29190
- modelValue: R.value.linkNewTab,
29191
- "onUpdate:modelValue": T[31] || (T[31] = (J) => R.value.linkNewTab = J),
29190
+ modelValue: B.value.linkNewTab,
29191
+ "onUpdate:modelValue": T[31] || (T[31] = (J) => B.value.linkNewTab = J),
29192
29192
  label: "Open link in new tab"
29193
29193
  }, null, 8, ["modelValue"])) : F("", !0),
29194
29194
  re(un, {
29195
- modelValue: R.value.figcaption,
29196
- "onUpdate:modelValue": T[32] || (T[32] = (J) => R.value.figcaption = J),
29195
+ modelValue: B.value.figcaption,
29196
+ "onUpdate:modelValue": T[32] || (T[32] = (J) => B.value.figcaption = J),
29197
29197
  label: "Show alt text as caption",
29198
29198
  help: "Photo credit will always be shown if provided"
29199
29199
  }, null, 8, ["modelValue"])
@@ -29236,7 +29236,7 @@ var oA = { key: 0 }, iA = {
29236
29236
  label: "Embed URL or Code",
29237
29237
  type: "url",
29238
29238
  placeholder: "YouTube URL, embed URL, or paste iframe code",
29239
- onKeydown: Nt(Mt, ["enter"])
29239
+ onKeydown: Ft(Mt, ["enter"])
29240
29240
  }, null, 8, ["modelValue"]),
29241
29241
  M("div", hA, [re(it, {
29242
29242
  modelValue: j.value.width,
@@ -29295,7 +29295,7 @@ var oA = { key: 0 }, iA = {
29295
29295
  type: "url",
29296
29296
  placeholder: "Paste YouTube URL, video file URL, or iframe embed code...",
29297
29297
  class: ue({ error: P.value.src && !ua(P.value.src) }),
29298
- onKeydown: Nt(Po, ["enter"])
29298
+ onKeydown: Ft(Po, ["enter"])
29299
29299
  }, null, 8, ["modelValue", "class"]),
29300
29300
  P.value.src && !ua(P.value.src) ? (_(), S("div", vA, [re(b(Be), { name: "warning" }), T[93] || (T[93] = M("p", { class: "txt12" }, " Please enter a valid video URL or iframe embed code ", -1))])) : F("", !0),
29301
29301
  re(it, {
@@ -30149,7 +30149,7 @@ var VA = class xd extends BA {
30149
30149
  }),
30150
30150
  emits: ["update:modelValue", "update:file"],
30151
30151
  setup(e, { expose: t }) {
30152
- const n = e, { shellClass: a, shellStyle: r } = qt(n), o = Vt(e, "modelValue"), i = Vt(e, "file"), s = B(), l = B(), u = B(!0);
30152
+ const n = e, { shellClass: a, shellStyle: r } = qt(n), o = Vt(e, "modelValue"), i = Vt(e, "file"), s = R(), l = R(), u = R(!0);
30153
30153
  function d() {
30154
30154
  l.value?.clear(), u.value = !0, o.value = void 0;
30155
30155
  }
@@ -30182,7 +30182,7 @@ var VA = class xd extends BA {
30182
30182
  const E = l.value?.toData();
30183
30183
  E && (E.pop(), l.value?.fromData(E));
30184
30184
  }
30185
- const L = B({
30185
+ const L = R({
30186
30186
  penColor: "rgb(0, 0, 0)",
30187
30187
  backgroundColor: "rgba(0,0,0,0)"
30188
30188
  }), m = x(() => ({
@@ -30246,7 +30246,7 @@ var VA = class xd extends BA {
30246
30246
  class: ue(["bagel-input bgl_input signature-pad relative", [b(a), { "has-value": !u.value }]]),
30247
30247
  style: ye(b(r)),
30248
30248
  tabindex: "-1",
30249
- onTouchmove: C[0] || (C[0] = nt(() => {
30249
+ onTouchmove: C[0] || (C[0] = Qe(() => {
30250
30250
  }, ["prevent"]))
30251
30251
  }, [
30252
30252
  e.label ? (_(), S("label", zA, ie(e.label), 1)) : F("", !0),
@@ -30664,7 +30664,7 @@ var uD = ["evt"], bn = function(t, n) {
30664
30664
  Ri.pluginEvent.bind(Ze)(t, n, Sa({
30665
30665
  dragEl: Oe,
30666
30666
  parentEl: Pt,
30667
- ghostEl: tt,
30667
+ ghostEl: nt,
30668
30668
  rootEl: xt,
30669
30669
  nextEl: vr,
30670
30670
  lastDownEl: wl,
@@ -30707,7 +30707,7 @@ function sn(e) {
30707
30707
  newDraggableIndex: Ka
30708
30708
  }, e));
30709
30709
  }
30710
- var Oe, Pt, tt, xt, vr, wl, It, Ja, Jr, Tn, ni, Ka, Ji, Kt, qr = !1, Kl = !1, Jl = [], pr, Gn, yu, _u, w2, $2, qo, Vr, ai, ri = !1, Qi = !1, $l, en, wu = [], kd = !1, Ql = [], Rs = typeof document < "u", el = k5, S2 = Oi || qa ? "cssFloat" : "float", dD = Rs && !eD && !k5 && "draggable" in document.createElement("div"), I5 = (function() {
30710
+ var Oe, Pt, nt, xt, vr, wl, It, Ja, Jr, Tn, ni, Ka, Ji, Kt, qr = !1, Kl = !1, Jl = [], pr, Gn, yu, _u, w2, $2, qo, Vr, ai, ri = !1, Qi = !1, $l, en, wu = [], kd = !1, Ql = [], Rs = typeof document < "u", el = k5, S2 = Oi || qa ? "cssFloat" : "float", dD = Rs && !eD && !k5 && "draggable" in document.createElement("div"), I5 = (function() {
30711
30711
  if (Rs) {
30712
30712
  if (qa) return !1;
30713
30713
  var e = document.createElement("x");
@@ -30749,9 +30749,9 @@ var Oe, Pt, tt, xt, vr, wl, It, Ja, Jr, Tn, ni, Ka, Ji, Kt, qr = !1, Kl = !1, Jl
30749
30749
  var a = {}, r = t.group;
30750
30750
  (!r || _l(r) != "object") && (r = { name: r }), a.name = r.name, a.checkPull = n(r.pull, !0), a.checkPut = n(r.put), a.revertClone = r.revertClone, t.group = a;
30751
30751
  }, R5 = function() {
30752
- !I5 && tt && Ye(tt, "display", "none");
30752
+ !I5 && nt && Ye(nt, "display", "none");
30753
30753
  }, B5 = function() {
30754
- !I5 && tt && Ye(tt, "display", "");
30754
+ !I5 && nt && Ye(nt, "display", "");
30755
30755
  };
30756
30756
  Rs && document.addEventListener("click", function(e) {
30757
30757
  if (Kl)
@@ -30946,12 +30946,12 @@ Ze.prototype = /** @lends Sortable.prototype */
30946
30946
  },
30947
30947
  _onTouchMove: function(t) {
30948
30948
  if (pr) {
30949
- var n = this.options, a = n.fallbackTolerance, r = n.fallbackOffset, o = t.touches ? t.touches[0] : t, i = tt && ro(tt, !0), s = tt && i && i.a, l = tt && i && i.d, u = el && en && _2(en), d = (o.clientX - pr.clientX + r.x) / (s || 1) + (u ? u[0] - wu[0] : 0) / (s || 1), c = (o.clientY - pr.clientY + r.y) / (l || 1) + (u ? u[1] - wu[1] : 0) / (l || 1);
30949
+ var n = this.options, a = n.fallbackTolerance, r = n.fallbackOffset, o = t.touches ? t.touches[0] : t, i = nt && ro(nt, !0), s = nt && i && i.a, l = nt && i && i.d, u = el && en && _2(en), d = (o.clientX - pr.clientX + r.x) / (s || 1) + (u ? u[0] - wu[0] : 0) / (s || 1), c = (o.clientY - pr.clientY + r.y) / (l || 1) + (u ? u[1] - wu[1] : 0) / (l || 1);
30950
30950
  if (!Ze.active && !qr) {
30951
30951
  if (a && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < a) return;
30952
30952
  this._onDragStart(t, !0);
30953
30953
  }
30954
- if (tt) {
30954
+ if (nt) {
30955
30955
  i ? (i.e += d - (yu || 0), i.f += c - (_u || 0)) : i = {
30956
30956
  a: 1,
30957
30957
  b: 0,
@@ -30961,19 +30961,19 @@ Ze.prototype = /** @lends Sortable.prototype */
30961
30961
  f: c
30962
30962
  };
30963
30963
  var f = "matrix(".concat(i.a, ",").concat(i.b, ",").concat(i.c, ",").concat(i.d, ",").concat(i.e, ",").concat(i.f, ")");
30964
- Ye(tt, "webkitTransform", f), Ye(tt, "mozTransform", f), Ye(tt, "msTransform", f), Ye(tt, "transform", f), yu = d, _u = c, Gn = o;
30964
+ Ye(nt, "webkitTransform", f), Ye(nt, "mozTransform", f), Ye(nt, "msTransform", f), Ye(nt, "transform", f), yu = d, _u = c, Gn = o;
30965
30965
  }
30966
30966
  t.cancelable && t.preventDefault();
30967
30967
  }
30968
30968
  },
30969
30969
  _appendGhost: function() {
30970
- if (!tt) {
30970
+ if (!nt) {
30971
30971
  var t = this.options.fallbackOnBody ? document.body : xt, n = jt(Oe, !0, el, !0, t), a = this.options;
30972
30972
  if (el) {
30973
30973
  for (en = t; Ye(en, "position") === "static" && Ye(en, "transform") === "none" && en !== document; ) en = en.parentNode;
30974
30974
  en !== document.body && en !== document.documentElement ? (en === document && (en = La()), n.top += en.scrollTop, n.left += en.scrollLeft) : en = La(), wu = _2(en);
30975
30975
  }
30976
- tt = Oe.cloneNode(!0), kn(tt, a.ghostClass, !1), kn(tt, a.fallbackClass, !0), kn(tt, a.dragClass, !0), Ye(tt, "transition", ""), Ye(tt, "transform", ""), Ye(tt, "box-sizing", "border-box"), Ye(tt, "margin", 0), Ye(tt, "top", n.top), Ye(tt, "left", n.left), Ye(tt, "width", n.width), Ye(tt, "height", n.height), Ye(tt, "opacity", "0.8"), Ye(tt, "position", el ? "absolute" : "fixed"), Ye(tt, "zIndex", "100000"), Ye(tt, "pointerEvents", "none"), Ze.ghost = tt, t.appendChild(tt), Ye(tt, "transform-origin", w2 / parseInt(tt.style.width) * 100 + "% " + $2 / parseInt(tt.style.height) * 100 + "%");
30976
+ nt = Oe.cloneNode(!0), kn(nt, a.ghostClass, !1), kn(nt, a.fallbackClass, !0), kn(nt, a.dragClass, !0), Ye(nt, "transition", ""), Ye(nt, "transform", ""), Ye(nt, "box-sizing", "border-box"), Ye(nt, "margin", 0), Ye(nt, "top", n.top), Ye(nt, "left", n.left), Ye(nt, "width", n.width), Ye(nt, "height", n.height), Ye(nt, "opacity", "0.8"), Ye(nt, "position", el ? "absolute" : "fixed"), Ye(nt, "zIndex", "100000"), Ye(nt, "pointerEvents", "none"), Ze.ghost = nt, t.appendChild(nt), Ye(nt, "transform-origin", w2 / parseInt(nt.style.width) * 100 + "% " + $2 / parseInt(nt.style.height) * 100 + "%");
30977
30977
  }
30978
30978
  },
30979
30979
  _onDragStart: function(t, n) {
@@ -31053,15 +31053,15 @@ Ze.prototype = /** @lends Sortable.prototype */
31053
31053
  var H = Rn(Oe);
31054
31054
  do
31055
31055
  H -= k, U = Pt.children[H];
31056
- while (U && (Ye(U, "display") === "none" || U === tt));
31056
+ while (U && (Ye(U, "display") === "none" || U === nt));
31057
31057
  }
31058
31058
  if (k === 0 || U === a) return v(!1);
31059
31059
  Vr = a, ai = k;
31060
- var te = a.nextElementSibling, R = !1;
31061
- R = k === 1;
31062
- var A = tl(xt, n, Oe, r, a, o, t, R);
31060
+ var te = a.nextElementSibling, B = !1;
31061
+ B = k === 1;
31062
+ var A = tl(xt, n, Oe, r, a, o, t, B);
31063
31063
  if (A !== !1)
31064
- return (A === 1 || A === -1) && (R = A === 1), kd = !0, setTimeout(mD, 30), m(), R && !te ? n.appendChild(Oe) : a.parentNode.insertBefore(Oe, R ? te : a), O && D5(O, 0, W - O.scrollTop), Pt = Oe.parentNode, E !== void 0 && !Qi && ($l = Math.abs(E - jt(a)[I])), y(), v(!0);
31064
+ return (A === 1 || A === -1) && (B = A === 1), kd = !0, setTimeout(mD, 30), m(), B && !te ? n.appendChild(Oe) : a.parentNode.insertBefore(Oe, B ? te : a), O && D5(O, 0, W - O.scrollTop), Pt = Oe.parentNode, E !== void 0 && !Qi && ($l = Math.abs(E - jt(a)[I])), y(), v(!0);
31065
31065
  }
31066
31066
  if (n.contains(Oe)) return v(!1);
31067
31067
  }
@@ -31081,7 +31081,7 @@ Ze.prototype = /** @lends Sortable.prototype */
31081
31081
  this._nulling();
31082
31082
  return;
31083
31083
  }
31084
- qr = !1, Qi = !1, ri = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Td(this.cloneId), Td(this._dragStartId), this.nativeDraggable && (ft(document, "drop", this), ft(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ei && Ye(document.body, "user-select", ""), Ye(Oe, "transform", ""), t && (qo && (t.cancelable && t.preventDefault(), !a.dropBubble && t.stopPropagation()), tt && tt.parentNode && tt.parentNode.removeChild(tt), (xt === Pt || Kt && Kt.lastPutMode !== "clone") && It && It.parentNode && It.parentNode.removeChild(It), Oe && (this.nativeDraggable && ft(Oe, "dragend", this), $u(Oe), Oe.style["will-change"] = "", qo && !qr && kn(Oe, Kt ? Kt.options.ghostClass : this.options.ghostClass, !1), kn(Oe, this.options.chosenClass, !1), sn({
31084
+ qr = !1, Qi = !1, ri = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Td(this.cloneId), Td(this._dragStartId), this.nativeDraggable && (ft(document, "drop", this), ft(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ei && Ye(document.body, "user-select", ""), Ye(Oe, "transform", ""), t && (qo && (t.cancelable && t.preventDefault(), !a.dropBubble && t.stopPropagation()), nt && nt.parentNode && nt.parentNode.removeChild(nt), (xt === Pt || Kt && Kt.lastPutMode !== "clone") && It && It.parentNode && It.parentNode.removeChild(It), Oe && (this.nativeDraggable && ft(Oe, "dragend", this), $u(Oe), Oe.style["will-change"] = "", qo && !qr && kn(Oe, Kt ? Kt.options.ghostClass : this.options.ghostClass, !1), kn(Oe, this.options.chosenClass, !1), sn({
31085
31085
  sortable: this,
31086
31086
  name: "unchoose",
31087
31087
  toEl: Pt,
@@ -31128,7 +31128,7 @@ Ze.prototype = /** @lends Sortable.prototype */
31128
31128
  }), this.save()))), this._nulling();
31129
31129
  },
31130
31130
  _nulling: function() {
31131
- bn("nulling", this), xt = Oe = Pt = tt = vr = It = wl = Ja = pr = Gn = qo = Tn = Ka = Jr = ni = Vr = ai = Kt = Ji = Ze.dragged = Ze.ghost = Ze.clone = Ze.active = null, Ql.forEach(function(t) {
31131
+ bn("nulling", this), xt = Oe = Pt = nt = vr = It = wl = Ja = pr = Gn = qo = Tn = Ka = Jr = ni = Vr = ai = Kt = Ji = Ze.dragged = Ze.ghost = Ze.clone = Ze.active = null, Ql.forEach(function(t) {
31132
31132
  t.checked = !0;
31133
31133
  }), Ql.length = yu = _u = 0;
31134
31134
  },
@@ -31289,7 +31289,7 @@ Ze.create = function(e, t) {
31289
31289
  return new Ze(e, t);
31290
31290
  };
31291
31291
  Ze.version = QA;
31292
- var Ft = [], Yo, Md, Ad = !1, Su, Cu, es, Zo;
31292
+ var Bt = [], Yo, Md, Ad = !1, Su, Cu, es, Zo;
31293
31293
  function wD() {
31294
31294
  function e() {
31295
31295
  this.defaults = {
@@ -31314,7 +31314,7 @@ function wD() {
31314
31314
  this.sortable.nativeDraggable ? ft(document, "dragover", this._handleAutoScroll) : (ft(document, "pointermove", this._handleFallbackAutoScroll), ft(document, "touchmove", this._handleFallbackAutoScroll), ft(document, "mousemove", this._handleFallbackAutoScroll)), C2(), Cl(), rD();
31315
31315
  },
31316
31316
  nulling: function() {
31317
- es = Md = Yo = Ad = Zo = Su = Cu = null, Ft.length = 0;
31317
+ es = Md = Yo = Ad = Zo = Su = Cu = null, Bt.length = 0;
31318
31318
  },
31319
31319
  _handleFallbackAutoScroll: function(n) {
31320
31320
  this._handleAutoScroll(n, !0);
@@ -31342,9 +31342,9 @@ function wD() {
31342
31342
  });
31343
31343
  }
31344
31344
  function Cl() {
31345
- Ft.forEach(function(e) {
31345
+ Bt.forEach(function(e) {
31346
31346
  clearInterval(e.pid);
31347
- }), Ft = [];
31347
+ }), Bt = [];
31348
31348
  }
31349
31349
  function C2() {
31350
31350
  clearInterval(Zo);
@@ -31358,12 +31358,12 @@ var Eu = A5(function(e, t, n, a) {
31358
31358
  var p = f, h = jt(p), g = h.top, L = h.bottom, m = h.left, v = h.right, y = h.width, w = h.height, $ = void 0, k = void 0, E = p.scrollWidth, C = p.scrollHeight, N = Ye(p), I = p.scrollLeft, O = p.scrollTop;
31359
31359
  p === l ? ($ = y < E && (N.overflowX === "auto" || N.overflowX === "scroll" || N.overflowX === "visible"), k = w < C && (N.overflowY === "auto" || N.overflowY === "scroll" || N.overflowY === "visible")) : ($ = y < E && (N.overflowX === "auto" || N.overflowX === "scroll"), k = w < C && (N.overflowY === "auto" || N.overflowY === "scroll"));
31360
31360
  var W = $ && (Math.abs(v - r) <= i && I + y < E) - (Math.abs(m - r) <= i && !!I), U = k && (Math.abs(L - o) <= i && O + w < C) - (Math.abs(g - o) <= i && !!O);
31361
- if (!Ft[c])
31362
- for (var H = 0; H <= c; H++) Ft[H] || (Ft[H] = {});
31363
- (Ft[c].vx != W || Ft[c].vy != U || Ft[c].el !== p) && (Ft[c].el = p, Ft[c].vx = W, Ft[c].vy = U, clearInterval(Ft[c].pid), (W != 0 || U != 0) && (u = !0, Ft[c].pid = setInterval((function() {
31361
+ if (!Bt[c])
31362
+ for (var H = 0; H <= c; H++) Bt[H] || (Bt[H] = {});
31363
+ (Bt[c].vx != W || Bt[c].vy != U || Bt[c].el !== p) && (Bt[c].el = p, Bt[c].vx = W, Bt[c].vy = U, clearInterval(Bt[c].pid), (W != 0 || U != 0) && (u = !0, Bt[c].pid = setInterval((function() {
31364
31364
  a && this.layer === 0 && Ze.active._onTouchMove(es);
31365
- var te = Ft[this.layer].vy ? Ft[this.layer].vy * s : 0, R = Ft[this.layer].vx ? Ft[this.layer].vx * s : 0;
31366
- typeof d == "function" && d.call(Ze.dragged.parentNode[Dn], R, te, e, es, Ft[this.layer].el) !== "continue" || D5(Ft[this.layer].el, R, te);
31365
+ var te = Bt[this.layer].vy ? Bt[this.layer].vy * s : 0, B = Bt[this.layer].vx ? Bt[this.layer].vx * s : 0;
31366
+ typeof d == "function" && d.call(Ze.dragged.parentNode[Dn], B, te, e, es, Bt[this.layer].el) !== "continue" || D5(Bt[this.layer].el, B, te);
31367
31367
  }).bind({ layer: c }), 24))), c++;
31368
31368
  } while (t.bubbleScroll && f !== l && (f = er(f, !1)));
31369
31369
  Ad = u;
@@ -31495,7 +31495,7 @@ var Dd = [
31495
31495
  ...Pd.map((e) => e.toLowerCase())
31496
31496
  ],
31497
31497
  setup(e, { emit: t, slots: n, attrs: a }) {
31498
- const r = B(!1), o = B(!1), i = B(0), s = B(0), l = B([]), u = B(null), d = B(null), c = x(() => e.list ? e.list : e.modelValue), f = Co();
31498
+ const r = R(!1), o = R(!1), i = R(0), s = R(0), l = R([]), u = R(null), d = R(null), c = x(() => e.list ? e.list : e.modelValue), f = Co();
31499
31499
  function p() {
31500
31500
  return e.component ? dn(e.component) : e.tag;
31501
31501
  }
@@ -31603,7 +31603,7 @@ var Dd = [
31603
31603
  }
31604
31604
  return de;
31605
31605
  }
31606
- function R(G, D) {
31606
+ function B(G, D) {
31607
31607
  const P = [...D.to.children].filter((K) => K.style.display !== "none");
31608
31608
  if (P.length === 0) return 0;
31609
31609
  const ee = P.indexOf(D.related), de = G.component.getVmIndex(ee);
@@ -31636,7 +31636,7 @@ var Dd = [
31636
31636
  function X(G, D) {
31637
31637
  const P = e.move;
31638
31638
  if (!P || !c.value) return !0;
31639
- const ee = te(G), de = u.value, K = R(ee, G);
31639
+ const ee = te(G), de = u.value, K = B(ee, G);
31640
31640
  return de && Object.assign(de, { futureIndex: K }), P(Object.assign({}, G, {
31641
31641
  relatedContext: ee,
31642
31642
  draggedContext: de
@@ -31686,7 +31686,7 @@ var Dd = [
31686
31686
  sortableInstance: d,
31687
31687
  getRelatedContextFromMoveEvent: te,
31688
31688
  getTargetedComponent: H,
31689
- computeFutureIndex: R
31689
+ computeFutureIndex: B
31690
31690
  };
31691
31691
  },
31692
31692
  render() {
@@ -31717,7 +31717,7 @@ var Dd = [
31717
31717
  setup(e, { emit: t }) {
31718
31718
  const n = e, a = t;
31719
31719
  let r, o;
31720
- const i = B(n.modelValue), s = n.meta.doc_meta.fields.find((g) => g.fieldname === n.fieldname), l = n.meta.links.find((g) => g.id === s?.options);
31720
+ const i = R(n.modelValue), s = n.meta.doc_meta.fields.find((g) => g.fieldname === n.fieldname), l = n.meta.links.find((g) => g.id === s?.options);
31721
31721
  function u(g, L, m) {
31722
31722
  const v = [...n.modelValue];
31723
31723
  v[L][m] = g, a("update:modelValue", v);
@@ -40858,7 +40858,7 @@ var RI = {
40858
40858
  "paste"
40859
40859
  ],
40860
40860
  setup(e, { emit: t }) {
40861
- const n = e, { shellClass: a, shellStyle: r } = qt(n), o = t, { $t: i } = Tt(), s = B(n.modelValue ?? ""), l = B(""), u = B(), d = B(), c = B(!1), f = B(null), p = B(!0);
40861
+ const n = e, { shellClass: a, shellStyle: r } = qt(n), o = t, { $t: i } = Tt(), s = R(n.modelValue ?? ""), l = R(""), u = R(), d = R(), c = R(!1), f = R(null), p = R(!0);
40862
40862
  De(() => s.value, (A) => {
40863
40863
  o("update:modelValue", A);
40864
40864
  }), De(() => n.modelValue, (A) => {
@@ -40984,7 +40984,7 @@ var RI = {
40984
40984
  const A = s.value;
40985
40985
  return !!(A && String(A).length > 0);
40986
40986
  });
40987
- function R() {
40987
+ function B() {
40988
40988
  setTimeout(() => d.value?.focus(), 100);
40989
40989
  }
40990
40990
  return je(I), (A, Y) => {
@@ -41009,7 +41009,7 @@ var RI = {
41009
41009
  "onUpdate:shown": Y[2] || (Y[2] = (X) => c.value = X),
41010
41010
  placement: "bottom-start",
41011
41011
  disabled: U.value,
41012
- onShow: R
41012
+ onShow: B
41013
41013
  }, {
41014
41014
  trigger: Ce(() => [M("span", {
41015
41015
  class: "flex gap-05 country-code-display",
@@ -41129,7 +41129,7 @@ const nl = {
41129
41129
  detach: async (e) => Ki().delete(`/files/attachments/${e}`)
41130
41130
  };
41131
41131
  function sj(e) {
41132
- const t = B([]), n = B(!1), a = B(!1);
41132
+ const t = R([]), n = R(!1), a = R(!1);
41133
41133
  async function r() {
41134
41134
  const d = He(e.recordId);
41135
41135
  if (!d) {
@@ -41238,7 +41238,7 @@ var JI = [
41238
41238
  },
41239
41239
  emits: ["message", "load"],
41240
41240
  setup(e, { expose: t, emit: n }) {
41241
- const a = n, r = B();
41241
+ const a = n, r = R();
41242
41242
  function o(u) {
41243
41243
  a("message", u.data);
41244
41244
  }
@@ -41283,7 +41283,7 @@ function eN() {
41283
41283
  size: "0",
41284
41284
  collapsedSize: "0"
41285
41285
  };
41286
- return B({
41286
+ return R({
41287
41287
  start: { ...e },
41288
41288
  end: { ...e },
41289
41289
  top: { ...e },
@@ -41296,8 +41296,8 @@ function e1() {
41296
41296
  const t = () => {
41297
41297
  };
41298
41298
  return {
41299
- isOpen: B(!0),
41300
- isMobile: B(!1),
41299
+ isOpen: R(!0),
41300
+ isMobile: R(!1),
41301
41301
  toggleMenu: t,
41302
41302
  closeOnMobile: t,
41303
41303
  sidebarWidth: "260px",
@@ -41467,7 +41467,7 @@ var sN = {
41467
41467
  const K = localStorage.getItem(n.storageKey);
41468
41468
  return K === null ? void 0 : K === "true";
41469
41469
  }
41470
- const i = B(!1), s = B(!1);
41470
+ const i = R(!1), s = R(!1);
41471
41471
  let l;
41472
41472
  const u = n.sidebarCardStyle ? Z5 : Qc;
41473
41473
  function d(K = {}) {
@@ -41480,7 +41480,7 @@ var sN = {
41480
41480
  ...K
41481
41481
  };
41482
41482
  }
41483
- const c = B({
41483
+ const c = R({
41484
41484
  start: d({
41485
41485
  present: !!(r.start || r.sidebar),
41486
41486
  open: n.open ?? o() ?? n.defaultOpen,
@@ -41562,7 +41562,7 @@ var sN = {
41562
41562
  return (K === "start" || K === "end") && !O(K) ? !1 : Se.present && !W(K);
41563
41563
  }
41564
41564
  const te = x(() => ({ gridTemplateColumns: `${U("start")} minmax(0, 1fr) ${U("end")}` }));
41565
- function R(K, Se) {
41565
+ function B(K, Se) {
41566
41566
  if (!K) return Se;
41567
41567
  const Ie = Number.parseFloat(K);
41568
41568
  return Number.isFinite(Ie) ? Ie : Se;
@@ -41572,10 +41572,10 @@ var sN = {
41572
41572
  return !!Se.resizable && Se.open && H(K);
41573
41573
  }
41574
41574
  let Y = null, j = 0, X = 0;
41575
- const fe = B(!1);
41575
+ const fe = R(!1);
41576
41576
  function oe(K) {
41577
41577
  if (!Y) return;
41578
- const Se = c.value[Y], Ie = R(Se.minSize, 0), pe = R(Se.maxSize, window.innerWidth), Ae = typeof document < "u" && document.dir === "rtl", Ne = K.clientX - j, xe = Ae ? -1 : 1, ne = Y === "start" ? 1 : -1, Q = `${Math.min(pe, Math.max(Ie, X + Ne * xe * ne))}px`;
41578
+ const Se = c.value[Y], Ie = B(Se.minSize, 0), pe = B(Se.maxSize, window.innerWidth), Ae = typeof document < "u" && document.dir === "rtl", Ne = K.clientX - j, xe = Ae ? -1 : 1, ne = Y === "start" ? 1 : -1, Q = `${Math.min(pe, Math.max(Ie, X + Ne * xe * ne))}px`;
41579
41579
  g(Y, { size: Q }), a("resize", {
41580
41580
  side: Y,
41581
41581
  size: Q
@@ -41585,7 +41585,7 @@ var sN = {
41585
41585
  Y = null, fe.value = !1, document.body.style.cursor = "", document.body.style.userSelect = "", window.removeEventListener("pointermove", oe), window.removeEventListener("pointerup", G);
41586
41586
  }
41587
41587
  function D(K, Se) {
41588
- Y = K, j = Se.clientX, X = R(c.value[K].size, 0), fe.value = !0, document.body.style.cursor = "ew-resize", document.body.style.userSelect = "none", window.addEventListener("pointermove", oe), window.addEventListener("pointerup", G);
41588
+ Y = K, j = Se.clientX, X = B(c.value[K].size, 0), fe.value = !0, document.body.style.cursor = "ew-resize", document.body.style.userSelect = "none", window.addEventListener("pointermove", oe), window.addEventListener("pointerup", G);
41589
41589
  }
41590
41590
  const P = x(() => ({
41591
41591
  "--bgl-region-top": U("top"),
@@ -41611,7 +41611,7 @@ var sN = {
41611
41611
  toggleBottom: E
41612
41612
  }), je(() => {
41613
41613
  p(), window.addEventListener("resize", h);
41614
- }), Bt(() => {
41614
+ }), Rt(() => {
41615
41615
  window.removeEventListener("resize", h), clearTimeout(l), window.removeEventListener("pointermove", oe), window.removeEventListener("pointerup", G);
41616
41616
  });
41617
41617
  const de = x(() => ({
@@ -41644,7 +41644,7 @@ var sN = {
41644
41644
  setRegion: L
41645
41645
  })), () => [be(K.$slots, "sidebar", _n(yn(de.value)), void 0, !0)], !0), Ke(M("div", {
41646
41646
  class: "region-resize region-resize--start",
41647
- onPointerdown: Se[0] || (Se[0] = nt((Ie) => D("start", Ie), ["prevent"]))
41647
+ onPointerdown: Se[0] || (Se[0] = Qe((Ie) => D("start", Ie), ["prevent"]))
41648
41648
  }, [...Se[2] || (Se[2] = [M("div", { class: "region-resize-bar" }, null, -1)])], 544), [[co, A("start")]])], 2),
41649
41649
  M("main", uN, [be(K.$slots, "header", _n(yn(de.value)), void 0, !0), M("div", dN, [be(K.$slots, "default", _n(yn(de.value)), void 0, !0)])]),
41650
41650
  M("div", { class: ue(["region-box region-box--end", { "region-box--flow": H("end") }]) }, [be(K.$slots, "end", _n(yn({
@@ -41653,7 +41653,7 @@ var sN = {
41653
41653
  setRegion: m
41654
41654
  })), () => [be(K.$slots, "aside", _n(yn({ isMobile: i.value })), void 0, !0)], !0), Ke(M("div", {
41655
41655
  class: "region-resize region-resize--end",
41656
- onPointerdown: Se[1] || (Se[1] = nt((Ie) => D("end", Ie), ["prevent"]))
41656
+ onPointerdown: Se[1] || (Se[1] = Qe((Ie) => D("end", Ie), ["prevent"]))
41657
41657
  }, [...Se[3] || (Se[3] = [M("div", { class: "region-resize-bar" }, null, -1)])], 544), [[co, A("end")]])], 2)
41658
41658
  ], 6),
41659
41659
  c.value.bottom.present ? (_(), S("div", cN, [be(K.$slots, "bottom", _n(yn({
@@ -41692,7 +41692,7 @@ var sN = {
41692
41692
  t.side,
41693
41693
  t.height,
41694
41694
  t.mode
41695
- ], i), Bt(() => o.value({
41695
+ ], i), Rt(() => o.value({
41696
41696
  present: !1,
41697
41697
  open: !1
41698
41698
  }));
@@ -41708,7 +41708,7 @@ var sN = {
41708
41708
  })
41709
41709
  }, [
41710
41710
  M("div", pN, [be(l.$slots, "brand", {}, void 0, !0)]),
41711
- M("div", hN, [(_(!0), S(_e, null, Me(e.navLinks, (d) => (_(), se(Rt(d.to ? b(L3) : d.href ? "a" : "button"), {
41711
+ M("div", hN, [(_(!0), S(_e, null, Me(e.navLinks, (d) => (_(), se(Ot(d.to ? b(L3) : d.href ? "a" : "button"), {
41712
41712
  key: d.label,
41713
41713
  to: d.to,
41714
41714
  href: d.href,
@@ -41752,7 +41752,7 @@ var sN = {
41752
41752
  const c = d.to;
41753
41753
  return d.activeRoutes?.length ? d.activeRoutes.some((f) => f === "/" ? n.path === f : n.path === f || n.path.startsWith(`${f}/`)) : c ? d.exact || c === "/" ? n.path === c : n.path === c || n.path.startsWith(`${c}/`) : !1;
41754
41754
  }
41755
- const o = x(() => t.link.children?.some(r) ?? !1), i = x(() => r(t.link)), s = x(() => i.value || a.value && o.value), l = B(o.value);
41755
+ const o = x(() => t.link.children?.some(r) ?? !1), i = x(() => r(t.link)), s = x(() => i.value || a.value && o.value), l = R(o.value);
41756
41756
  De(o, (d) => {
41757
41757
  d && (l.value = !0);
41758
41758
  }), De(() => t.realOpen, (d) => {
@@ -41916,7 +41916,7 @@ var sN = {
41916
41916
  }
41917
41917
  },
41918
41918
  setup(e) {
41919
- const t = e, n = ki(), a = B(!1), { isOpen: r, isMobile: o, sidebarWidth: i, toggleMenu: s, closeOnMobile: l, setStart: u } = e1(), d = x(() => r.value || a.value), c = x(() => t.card ? Z5 : Qc);
41919
+ const t = e, n = ki(), a = R(!1), { isOpen: r, isMobile: o, sidebarWidth: i, toggleMenu: s, closeOnMobile: l, setStart: u } = e1(), d = x(() => r.value || a.value), c = x(() => t.card ? Z5 : Qc);
41920
41920
  De([
41921
41921
  x(() => t.card ? `calc(${i} - ${a0})` : i),
41922
41922
  x(() => t.card ? `calc(${c.value} - ${a0})` : c.value),
@@ -42151,7 +42151,7 @@ function zN() {
42151
42151
  return `panel-${++VN}`;
42152
42152
  }
42153
42153
  function HN(e) {
42154
- const { containerEl: t, breakpoint: n, mobileDirection: a } = e, r = B(!1), o = na([]), i = x(() => r.value ? a : e.directionProp.value);
42154
+ const { containerEl: t, breakpoint: n, mobileDirection: a } = e, r = R(!1), o = na([]), i = x(() => r.value ? a : e.directionProp.value);
42155
42155
  let s = null;
42156
42156
  function l() {
42157
42157
  t.value && (s?.disconnect(), s = new ResizeObserver((m) => {
@@ -42181,9 +42181,9 @@ function HN(e) {
42181
42181
  const v = {
42182
42182
  id: m.id,
42183
42183
  config: m,
42184
- size: B(m.defaultSize),
42185
- collapsed: B(r.value ? m.collapseOnMobile : !1),
42186
- el: B(null)
42184
+ size: R(m.defaultSize),
42185
+ collapsed: R(r.value ? m.collapseOnMobile : !1),
42186
+ el: R(null)
42187
42187
  };
42188
42188
  return o.value = [...o.value, v], v;
42189
42189
  }
@@ -42288,7 +42288,7 @@ var UN = { class: "panel__content" }, WN = /* @__PURE__ */ Ee({
42288
42288
  setup(e, { expose: t, emit: n }) {
42289
42289
  const a = e, r = n, o = Pr(K5);
42290
42290
  if (!o) throw new Error("<Panel> must be used inside a <Resizable>");
42291
- const i = a.id ?? zN(), s = na(null), l = B(null), u = x({
42291
+ const i = a.id ?? zN(), s = na(null), l = R(null), u = x({
42292
42292
  get: () => a.collapsed ?? s.value?.collapsed.value ?? !1,
42293
42293
  set(m) {
42294
42294
  s.value && (s.value.collapsed.value = m), r("update:collapsed", m);
@@ -42313,7 +42313,7 @@ var UN = { class: "panel__content" }, WN = /* @__PURE__ */ Ee({
42313
42313
  hideOnMobile: a.hideOnMobile ?? !1
42314
42314
  };
42315
42315
  s.value = o.registerPanel(m), s.value.el.value = l.value, a.collapsed !== void 0 && (s.value.collapsed.value = a.collapsed), o.syncPanelOrder();
42316
- }), Bt(() => {
42316
+ }), Rt(() => {
42317
42317
  o.unregisterPanel(i);
42318
42318
  });
42319
42319
  const d = x(() => s.value?.size.value ?? a.defaultSize), c = x(() => u.value), f = x(() => o.direction.value === "horizontal"), p = x(() => o.isMobile.value && a.hideOnMobile), h = x(() => {
@@ -42386,13 +42386,13 @@ var UN = { class: "panel__content" }, WN = /* @__PURE__ */ Ee({
42386
42386
  breakpoint: { default: 910 }
42387
42387
  },
42388
42388
  setup(e) {
42389
- const t = e, n = B(), { context: a, observe: r, disconnect: o } = HN({
42389
+ const t = e, n = R(), { context: a, observe: r, disconnect: o } = HN({
42390
42390
  directionProp: x(() => t.horizontal ? "horizontal" : "vertical"),
42391
42391
  mobileDirection: x(() => t.mobileVertical || !t.horizontal ? "vertical" : "horizontal").value,
42392
42392
  breakpoint: t.breakpoint,
42393
42393
  containerEl: n
42394
42394
  });
42395
- Eo(K5, a), je(r), Bt(o);
42395
+ Eo(K5, a), je(r), Rt(o);
42396
42396
  const i = x(() => a.direction.value === "horizontal");
42397
42397
  return (s, l) => (_(), S("div", {
42398
42398
  ref_key: "containerEl",
@@ -42409,7 +42409,7 @@ var UN = { class: "panel__content" }, WN = /* @__PURE__ */ Ee({
42409
42409
  },
42410
42410
  emits: ["update:open"],
42411
42411
  setup(e, { emit: t }) {
42412
- const n = e, a = t, r = Ct(), o = B(n.open), i = /* @__PURE__ */ mo(() => {
42412
+ const n = e, a = t, r = Ct(), o = R(n.open), i = /* @__PURE__ */ mo(() => {
42413
42413
  o.value = !o.value, a("update:open", o.value);
42414
42414
  });
42415
42415
  return (s, l) => {
@@ -42497,7 +42497,7 @@ var UN = { class: "panel__content" }, WN = /* @__PURE__ */ Ee({
42497
42497
  },
42498
42498
  emits: ["update:modelValue"],
42499
42499
  setup(e, { emit: t }) {
42500
- const n = e, a = t, r = B();
42500
+ const n = e, a = t, r = R();
42501
42501
  function o(i) {
42502
42502
  r.value = i, a("update:modelValue", r.value);
42503
42503
  const s = n.router;
@@ -42574,7 +42574,7 @@ var QN = { class: "bgl_tabs" }, eO = { key: 0 }, tO = /* @__PURE__ */ Ee({
42574
42574
  modelValue: u.value,
42575
42575
  "onUpdate:modelValue": p[0] || (p[0] = (h) => u.value = h),
42576
42576
  group: b(i)
42577
- }), null, 16, ["modelValue", "group"])], 2), b(s) ? (_(), S("div", eO, [b(r)[b(s)] ? be(f.$slots, b(s), { key: 0 }) : b(s) ? (_(), se(Rt(b(c)), { key: 1 })) : F("", !0)])) : F("", !0)]));
42577
+ }), null, 16, ["modelValue", "group"])], 2), b(s) ? (_(), S("div", eO, [b(r)[b(s)] ? be(f.$slots, b(s), { key: 0 }) : b(s) ? (_(), se(Ot(b(c)), { key: 1 })) : F("", !0)])) : F("", !0)]));
42578
42578
  }
42579
42579
  }), _j = tO, nO = { class: "bgl-tl-rail flex-column align-items-center flex-shrink-0" }, aO = {
42580
42580
  key: 1,
@@ -42688,7 +42688,7 @@ var QN = { class: "bgl_tabs" }, eO = { key: 0 }, tO = /* @__PURE__ */ Ee({
42688
42688
  setup(e, { emit: t }) {
42689
42689
  const n = e, a = t, { currentTab: r } = n1(n.group);
42690
42690
  r.value = n.modelValue || (typeof n.tabs[0] == "string" ? n.tabs[0] : n.tabs[0]?.value);
42691
- const o = B(void 0), i = B([]);
42691
+ const o = R(void 0), i = R([]);
42692
42692
  let s;
42693
42693
  function l(p, h) {
42694
42694
  const g = p.getBoundingClientRect(), L = h.getBoundingClientRect(), m = L.left - g.left + p.scrollLeft, v = L.width;
@@ -42931,7 +42931,7 @@ var QN = { class: "bgl_tabs" }, eO = { key: 0 }, tO = /* @__PURE__ */ Ee({
42931
42931
  style: g.value
42932
42932
  }), [
42933
42933
  k.$slots.start ? (_(), S("div", gO, [be(k.$slots, "start")])) : F("", !0),
42934
- Ke((_(), se(Rt(w.value), ct($.value, { class: ["flex flex-grow-1 gap-075 align-items-center list-item", {
42934
+ Ke((_(), se(Ot(w.value), ct($.value, { class: ["flex flex-grow-1 gap-075 align-items-center list-item", {
42935
42935
  "py-075": !t.thin,
42936
42936
  "py-05": t.thin
42937
42937
  }] }), {
@@ -42995,7 +42995,7 @@ var EO = /* @__PURE__ */ Re(_O, [["render", CO]]), xO = ["id"], kO = '<svg width
42995
42995
  },
42996
42996
  emits: ["select"],
42997
42997
  setup(e, { emit: t }) {
42998
- const n = e, a = t, r = B(), o = B(), i = B([]), s = B(Math.random().toString(36).slice(2, 10));
42998
+ const n = e, a = t, r = R(), o = R(), i = R([]), s = R(Math.random().toString(36).slice(2, 10));
42999
42999
  async function l() {
43000
43000
  await Hs(TO), r.value = await is("L"), o.value || (o.value = r.value.map(s.value, {
43001
43001
  center: n.center,
@@ -43039,7 +43039,7 @@ var EO = /* @__PURE__ */ Re(_O, [["render", CO]]), xO = ["id"], kO = '<svg width
43039
43039
  d(r.value);
43040
43040
  }
43041
43041
  }
43042
- return De(() => n.markers, f, { immediate: !0 }), De(() => n.center, (p) => o.value?.setView(p, n.zoom), { immediate: !0 }), je(l), Bt(() => {
43042
+ return De(() => n.markers, f, { immediate: !0 }), De(() => n.center, (p) => o.value?.setView(p, n.zoom), { immediate: !0 }), je(l), Rt(() => {
43043
43043
  i.value.forEach((p) => p.remove()), o.value?.remove(), o.value = void 0;
43044
43044
  }), (p, h) => (_(), S("div", {
43045
43045
  id: s.value,
@@ -43132,7 +43132,7 @@ var EO = /* @__PURE__ */ Re(_O, [["render", CO]]), xO = ["id"], kO = '<svg width
43132
43132
  homeTo: { default: "/" }
43133
43133
  },
43134
43134
  setup(e) {
43135
- const t = B(!0);
43135
+ const t = R(!0);
43136
43136
  function n() {
43137
43137
  t.value = window.innerWidth <= 910;
43138
43138
  const r = localStorage.getItem("navOpen");
@@ -43152,12 +43152,12 @@ var EO = /* @__PURE__ */ Re(_O, [["render", CO]]), xO = ["id"], kO = '<svg width
43152
43152
  "aria-label": "Toggle Navigation",
43153
43153
  tabindex: "0",
43154
43154
  onClick: a,
43155
- onKeypress: Nt(a, ["enter"])
43155
+ onKeypress: Ft(a, ["enter"])
43156
43156
  }, [re(b(Be), {
43157
43157
  icon: "chevron_right",
43158
43158
  class: "top-arrow"
43159
43159
  })], 32),
43160
- M("div", RO, [M("div", BO, [M("div", FO, [(_(!0), S(_e, null, Me(e.links, (i) => (_(), se(Rt(i.to ? "router-link" : "div"), {
43160
+ M("div", RO, [M("div", BO, [M("div", FO, [(_(!0), S(_e, null, Me(e.links, (i) => (_(), se(Ot(i.to ? "router-link" : "div"), {
43161
43161
  key: i.label,
43162
43162
  class: "nav-button",
43163
43163
  to: i.to,
@@ -43165,7 +43165,7 @@ var EO = /* @__PURE__ */ Re(_O, [["render", CO]]), xO = ["id"], kO = '<svg width
43165
43165
  }, {
43166
43166
  default: Ce(() => [re(b(Be), { icon: i.icon }, null, 8, ["icon"]), M("div", VO, ie(b(Ue)(i.label)), 1)]),
43167
43167
  _: 2
43168
- }, 1032, ["to", "onClick"]))), 128))])]), M("div", zO, [(_(!0), S(_e, null, Me(e.footerLinks, (i) => (_(), se(Rt(i.to ? "router-link" : "div"), {
43168
+ }, 1032, ["to", "onClick"]))), 128))])]), M("div", zO, [(_(!0), S(_e, null, Me(e.footerLinks, (i) => (_(), se(Ot(i.to ? "router-link" : "div"), {
43169
43169
  key: i.label,
43170
43170
  class: "nav-button",
43171
43171
  to: i.to,
@@ -43234,7 +43234,7 @@ var EO = /* @__PURE__ */ Re(_O, [["render", CO]]), xO = ["id"], kO = '<svg width
43234
43234
  const w = Number(br(Array.isArray(y) ? y[0] : y));
43235
43235
  !Number.isNaN(w) && w > 0 && (r.value = w, a.value = 1);
43236
43236
  }
43237
- const s = B(), l = B(0), u = B(0), d = x(() => t.totalPages !== void 0 ? t.totalPages : Math.max(1, Math.ceil(t.totalItems / r.value)));
43237
+ const s = R(), l = R(0), u = R(0), d = x(() => t.totalPages !== void 0 ? t.totalPages : Math.max(1, Math.ceil(t.totalItems / r.value)));
43238
43238
  De([
43239
43239
  () => a.value,
43240
43240
  () => r.value,
@@ -43454,7 +43454,7 @@ var EO = /* @__PURE__ */ Re(_O, [["render", CO]]), xO = ["id"], kO = '<svg width
43454
43454
  const o = [...r.matched].reverse().find((i) => i.meta?.persistOnChildNav);
43455
43455
  return o ? o.path : r.matched[r.matched.length - 1]?.path ?? r.path;
43456
43456
  }
43457
- const n = B(null), a = ki();
43457
+ const n = R(null), a = ki();
43458
43458
  return De(() => a.fullPath, async () => {
43459
43459
  if (a.hash) return;
43460
43460
  await at();
@@ -43475,7 +43475,7 @@ var EO = /* @__PURE__ */ Re(_O, [["render", CO]]), xO = ["id"], kO = '<svg width
43475
43475
  mode: "out-in",
43476
43476
  appear: ""
43477
43477
  }, {
43478
- default: Ce(() => [(_(), se(Rt(s), { key: t(l) }))]),
43478
+ default: Ce(() => [(_(), se(Ot(s), { key: t(l) }))]),
43479
43479
  _: 2
43480
43480
  }, 1024)) : be(r.$slots, "default", { key: 0 }, () => [M("div", lR, [re(vo)])], !0)]),
43481
43481
  _: 3
@@ -43583,7 +43583,7 @@ function dR(e, t, n, a, r, o, i, s) {
43583
43583
  };
43584
43584
  }
43585
43585
  function cR(e, t) {
43586
- const n = B([]), a = B(/* @__PURE__ */ new Map()), r = B(!1), o = B(null), i = B(0), s = B(0), l = x(() => {
43586
+ const n = R([]), a = R(/* @__PURE__ */ new Map()), r = R(!1), o = R(null), i = R(0), s = R(0), l = x(() => {
43587
43587
  const m = e.value.length ? new Set(e.value.flatMap(($) => Object.keys($))) : /* @__PURE__ */ new Set(), v = t(), y = new Map((v || []).map(($) => [$.key, $])), w = /* @__PURE__ */ new Set([...m, ...v?.map(($) => $.key) || []]);
43588
43588
  return Array.from(w).map(($) => {
43589
43589
  const k = y.get($);
@@ -43626,7 +43626,7 @@ function cR(e, t) {
43626
43626
  const y = m.target.closest("th");
43627
43627
  s.value = a.value.get(v) ?? y?.getBoundingClientRect().width ?? 0, document.addEventListener("mousemove", h), document.addEventListener("mouseup", g);
43628
43628
  }
43629
- return Bt(() => {
43629
+ return Rt(() => {
43630
43630
  document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", g);
43631
43631
  }), {
43632
43632
  columns: l,
@@ -43641,7 +43641,7 @@ function cR(e, t) {
43641
43641
  };
43642
43642
  }
43643
43643
  function fR(e) {
43644
- const t = B(!1), n = B(null), a = B(null);
43644
+ const t = R(!1), n = R(null), a = R(null);
43645
43645
  function r(l, u) {
43646
43646
  n.value = {
43647
43647
  row: l,
@@ -43669,7 +43669,7 @@ function fR(e) {
43669
43669
  col: e.value.length - 1
43670
43670
  };
43671
43671
  }
43672
- return window.addEventListener("mouseup", i), Bt(() => {
43672
+ return window.addEventListener("mouseup", i), Rt(() => {
43673
43673
  window.removeEventListener("mouseup", i);
43674
43674
  }), {
43675
43675
  isSelecting: t,
@@ -43682,7 +43682,7 @@ function fR(e) {
43682
43682
  };
43683
43683
  }
43684
43684
  function pR(e, t, n, a) {
43685
- const r = B(null), o = B("asc");
43685
+ const r = R(null), o = R("asc");
43686
43686
  function i(s) {
43687
43687
  if (!t.value.find((d) => d.key === s)?.sortable) return;
43688
43688
  r.value === s ? o.value = o.value === "desc" ? "asc" : "desc" : (r.value = s, o.value = "desc");
@@ -43705,7 +43705,7 @@ function pR(e, t, n, a) {
43705
43705
  };
43706
43706
  }
43707
43707
  function hR(e, t, n, a) {
43708
- const r = B([]), o = B([]), i = x(() => r.value.length > 0), s = x(() => o.value.length > 0);
43708
+ const r = R([]), o = R([]), i = x(() => r.value.length > 0), s = x(() => o.value.length > 0);
43709
43709
  function l() {
43710
43710
  return {
43711
43711
  rows: JSON.parse(JSON.stringify(e.value)),
@@ -43778,8 +43778,8 @@ var mR = ["value"], gR = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
43778
43778
  class: "spreadsheet-input",
43779
43779
  onInput: n[0] || (n[0] = (a) => t.$emit("updateCell", e.rowIndex, e.col.key, a.target.value)),
43780
43780
  onBlur: n[1] || (n[1] = (a) => t.$emit("stopEditing", !1)),
43781
- onKeydown: [n[2] || (n[2] = Nt(nt((a) => t.$emit("stopEditing", !1), ["prevent"]), ["enter"])), n[3] || (n[3] = Nt(nt((a) => t.$emit("stopEditing", !0), ["prevent"]), ["esc"]))],
43782
- onMousedown: n[4] || (n[4] = nt(() => {
43781
+ onKeydown: [n[2] || (n[2] = Ft(Qe((a) => t.$emit("stopEditing", !1), ["prevent"]), ["enter"])), n[3] || (n[3] = Ft(Qe((a) => t.$emit("stopEditing", !0), ["prevent"]), ["esc"]))],
43782
+ onMousedown: n[4] || (n[4] = Qe(() => {
43783
43783
  }, ["stop"]))
43784
43784
  }, null, 40, mR), M("span", gR, ie(b(zd)(e.row[e.col.key], e.col.format)), 1)], 64)) : e.col.format === "image" ? (_(), S("div", vR, [M("img", {
43785
43785
  class: "w-100p h-100p contain radius-05",
@@ -43790,7 +43790,7 @@ var mR = ["value"], gR = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
43790
43790
  modelValue: !!e.row[e.col.key],
43791
43791
  disabled: !e.editable,
43792
43792
  "onUpdate:modelValue": n[5] || (n[5] = (a) => t.$emit("updateCell", e.rowIndex, e.col.key, !!a)),
43793
- onMousedown: n[6] || (n[6] = nt(() => {
43793
+ onMousedown: n[6] || (n[6] = Qe(() => {
43794
43794
  }, ["stop"]))
43795
43795
  }, null, 8, ["modelValue", "disabled"])) : (_(), S("span", bR, ie(b(zd)(e.row[e.col.key], e.col.format)), 1));
43796
43796
  }
@@ -43878,7 +43878,7 @@ var mR = ["value"], gR = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
43878
43878
  }, null, 8, ["class"])) : F("", !0),
43879
43879
  M("div", {
43880
43880
  class: "resize-handle",
43881
- onMousedown: nt((c) => l.$emit("resizeStart", c, d.key), ["stop"])
43881
+ onMousedown: Qe((c) => l.$emit("resizeStart", c, d.key), ["stop"])
43882
43882
  }, null, 40, ER)
43883
43883
  ])], 4))), 128))])]), M("tbody", null, [(_(!0), S(_e, null, Me(e.rows, (d, c, f, p) => {
43884
43884
  const h = [
@@ -43949,20 +43949,20 @@ var mR = ["value"], gR = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
43949
43949
  },
43950
43950
  emits: ["update:modelValue"],
43951
43951
  setup(e, { emit: t }) {
43952
- const n = t, { $t: a } = Tt(), { wrapText: r } = cV({ wrapText: !1 }), o = B(e.modelValue ? e.modelValue.map((pe) => Vd({ ...pe })) : []);
43952
+ const n = t, { $t: a } = Tt(), { wrapText: r } = cV({ wrapText: !1 }), o = R(e.modelValue ? e.modelValue.map((pe) => Vd({ ...pe })) : []);
43953
43953
  De(() => e.modelValue, (pe) => {
43954
43954
  o.value = pe ? pe.map((Ae) => Vd({ ...Ae })) : [];
43955
43955
  });
43956
43956
  function i() {
43957
43957
  n("update:modelValue", o.value.map((pe) => uR({ ...pe })));
43958
43958
  }
43959
- const { columns: s, fixedColumns: l, scrollableColumns: u, columnOptions: d, visibleColumns: c, columnWidths: f, isCellEditable: p, createEmptyRow: h, handleResizeStart: g } = cR(o, () => e.columnConfig), { sortColumn: L, sortDirection: m, sortByColumn: v } = pR(o, s, c, i), { selectionStart: y, selectionEnd: w, handleMouseDown: $, handleMouseOver: k, handleMouseUp: E, selectEntireRow: C } = fR(s), { canUndo: N, canRedo: I, saveState: O, undo: W, redo: U } = hR(o, y, w, i), { copySelection: H, pasteSelection: te } = dR(o, s, y, w, O, p, h, i), R = B(null), A = B(null), Y = B(/* @__PURE__ */ new Map());
43959
+ const { columns: s, fixedColumns: l, scrollableColumns: u, columnOptions: d, visibleColumns: c, columnWidths: f, isCellEditable: p, createEmptyRow: h, handleResizeStart: g } = cR(o, () => e.columnConfig), { sortColumn: L, sortDirection: m, sortByColumn: v } = pR(o, s, c, i), { selectionStart: y, selectionEnd: w, handleMouseDown: $, handleMouseOver: k, handleMouseUp: E, selectEntireRow: C } = fR(s), { canUndo: N, canRedo: I, saveState: O, undo: W, redo: U } = hR(o, y, w, i), { copySelection: H, pasteSelection: te } = dR(o, s, y, w, O, p, h, i), B = R(null), A = R(null), Y = R(/* @__PURE__ */ new Map());
43960
43960
  function j(pe, Ae) {
43961
43961
  pe?.$el instanceof HTMLInputElement ? Y.value.set(Ae, pe.$el) : pe instanceof HTMLInputElement ? Y.value.set(Ae, pe) : Y.value.delete(Ae);
43962
43962
  }
43963
43963
  function X(pe, Ae, Ne) {
43964
43964
  const xe = s.value[Ae]?.key;
43965
- xe && (Ne !== void 0 && !p(xe) || (R.value = {
43965
+ xe && (Ne !== void 0 && !p(xe) || (B.value = {
43966
43966
  row: pe,
43967
43967
  col: Ae
43968
43968
  }, A.value = o.value[pe][xe]?.toString() ?? "", Ne !== void 0 && G(pe, xe, Ne), at(() => {
@@ -43971,11 +43971,11 @@ var mR = ["value"], gR = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
43971
43971
  })));
43972
43972
  }
43973
43973
  function fe(pe = !1) {
43974
- if (pe && R.value && A.value !== null) {
43975
- const { row: Ae, col: Ne } = R.value, xe = s.value[Ne]?.key;
43974
+ if (pe && B.value && A.value !== null) {
43975
+ const { row: Ae, col: Ne } = B.value, xe = s.value[Ne]?.key;
43976
43976
  xe && (o.value[Ae][xe] = A.value);
43977
43977
  }
43978
- R.value = null, A.value = null;
43978
+ B.value = null, A.value = null;
43979
43979
  }
43980
43980
  function oe(pe = !1) {
43981
43981
  at(() => {
@@ -43991,7 +43991,7 @@ var mR = ["value"], gR = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
43991
43991
  const ne = J5(Ne, xe?.format);
43992
43992
  o.value[pe][Ae] = ne ?? xe?.defaultValue ?? (xe?.format === "boolean" ? !1 : ""), i();
43993
43993
  }
43994
- const D = B(""), P = B(null);
43994
+ const D = R(""), P = R(null);
43995
43995
  function ee() {
43996
43996
  const pe = P.value?.$el?.querySelector("input");
43997
43997
  return document.activeElement === pe;
@@ -44005,10 +44005,10 @@ var mR = ["value"], gR = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
44005
44005
  s.value.length && (O("row"), o.value.push(h()), i());
44006
44006
  }
44007
44007
  function Se(pe, Ae, Ne) {
44008
- !(R.value?.row === Ae && R.value?.col === Ne) && (pe.key.length === 1 && !pe.ctrlKey && !pe.metaKey || pe.key === "Enter") && (pe.preventDefault(), X(Ae, Ne, pe.key.length === 1 ? pe.key : void 0));
44008
+ !(B.value?.row === Ae && B.value?.col === Ne) && (pe.key.length === 1 && !pe.ctrlKey && !pe.metaKey || pe.key === "Enter") && (pe.preventDefault(), X(Ae, Ne, pe.key.length === 1 ? pe.key : void 0));
44009
44009
  }
44010
44010
  function Ie(pe) {
44011
- if (!(R.value || ee()) && (pe.ctrlKey || pe.metaKey))
44011
+ if (!(B.value || ee()) && (pe.ctrlKey || pe.metaKey))
44012
44012
  switch (pe.key.toLowerCase()) {
44013
44013
  case "c":
44014
44014
  pe.preventDefault(), H();
@@ -44116,7 +44116,7 @@ var mR = ["value"], gR = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
44116
44116
  "sort-direction": b(m),
44117
44117
  "selection-start": b(y),
44118
44118
  "selection-end": b(w),
44119
- "editing-cell": R.value,
44119
+ "editing-cell": B.value,
44120
44120
  "base-column-index": 0,
44121
44121
  "wrap-text": b(r),
44122
44122
  class: "sticky z-2 start-0 bg-white",
@@ -44156,7 +44156,7 @@ var mR = ["value"], gR = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
44156
44156
  "sort-direction": b(m),
44157
44157
  "selection-start": b(y),
44158
44158
  "selection-end": b(w),
44159
- "editing-cell": R.value,
44159
+ "editing-cell": B.value,
44160
44160
  "base-column-index": b(l).length,
44161
44161
  "wrap-text": b(r),
44162
44162
  onSortColumn: b(v),
@@ -44883,13 +44883,13 @@ function QR({ swiper: e, extendParams: t, on: n, emit: a, params: r }) {
44883
44883
  e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", O), e.el.removeEventListener("pointerleave", W));
44884
44884
  }, te = () => {
44885
44885
  ba().addEventListener("visibilitychange", I);
44886
- }, R = () => {
44886
+ }, B = () => {
44887
44887
  ba().removeEventListener("visibilitychange", I);
44888
44888
  };
44889
44889
  n("init", () => {
44890
44890
  e.params.autoplay.enabled && (U(), te(), k());
44891
44891
  }), n("destroy", () => {
44892
- H(), R(), e.autoplay.running && E();
44892
+ H(), B(), e.autoplay.running && E();
44893
44893
  }), n("_freeModeStaticRelease", () => {
44894
44894
  (p || g) && N();
44895
44895
  }), n("_freeModeNoMomentumRelease", () => {
@@ -45161,8 +45161,8 @@ function aB({ swiper: e, extendParams: t, on: n }) {
45161
45161
  Math.abs(O) < 1e-3 && (O = 0), Math.abs(I) < 1e-3 && (I = 0), Math.abs(C) < 1e-3 && (C = 0), Math.abs(k) < 1e-3 && (k = 0), Math.abs(E) < 1e-3 && (E = 0), Math.abs(W) < 1e-3 && (W = 0);
45162
45162
  const U = `translate3d(${O}px,${I}px,${C}px) rotateX(${g(E)}deg) rotateY(${g(k)}deg) scale(${W})`, H = zs(u, v);
45163
45163
  if (H.style.transform = U, v.style.zIndex = -Math.abs(Math.round($)) + 1, u.slideShadows) {
45164
- let te = d ? v.querySelector(".swiper-slide-shadow-left") : v.querySelector(".swiper-slide-shadow-top"), R = d ? v.querySelector(".swiper-slide-shadow-right") : v.querySelector(".swiper-slide-shadow-bottom");
45165
- te || (te = Li("coverflow", v, d ? "left" : "top")), R || (R = Li("coverflow", v, d ? "right" : "bottom")), te && (te.style.opacity = $ > 0 ? $ : 0), R && (R.style.opacity = -$ > 0 ? -$ : 0);
45164
+ let te = d ? v.querySelector(".swiper-slide-shadow-left") : v.querySelector(".swiper-slide-shadow-top"), B = d ? v.querySelector(".swiper-slide-shadow-right") : v.querySelector(".swiper-slide-shadow-bottom");
45165
+ te || (te = Li("coverflow", v, d ? "left" : "top")), B || (B = Li("coverflow", v, d ? "right" : "bottom")), te && (te.style.opacity = $ > 0 ? $ : 0), B && (B.style.opacity = -$ > 0 ? -$ : 0);
45166
45166
  }
45167
45167
  }
45168
45168
  },
@@ -45469,11 +45469,11 @@ function fB() {
45469
45469
  const W = getComputedStyle(O), U = O.style.transform, H = O.style.webkitTransform;
45470
45470
  if (U && (O.style.transform = "none"), H && (O.style.webkitTransform = "none"), n.roundLengths) C = e.isHorizontal() ? Hd(O, "width", !0) : Hd(O, "height", !0);
45471
45471
  else {
45472
- const te = t(W, "width"), R = t(W, "padding-left"), A = t(W, "padding-right"), Y = t(W, "margin-left"), j = t(W, "margin-right"), X = W.getPropertyValue("box-sizing");
45472
+ const te = t(W, "width"), B = t(W, "padding-left"), A = t(W, "padding-right"), Y = t(W, "margin-left"), j = t(W, "margin-right"), X = W.getPropertyValue("box-sizing");
45473
45473
  if (X && X === "border-box") C = te + Y + j;
45474
45474
  else {
45475
45475
  const { clientWidth: fe, offsetWidth: oe } = O;
45476
- C = te + R + A + Y + j + (oe - fe);
45476
+ C = te + B + A + Y + j + (oe - fe);
45477
45477
  }
45478
45478
  }
45479
45479
  U && (O.style.transform = U), H && (O.style.webkitTransform = H), n.roundLengths && (C = Math.floor(C));
@@ -45490,8 +45490,8 @@ function fB() {
45490
45490
  if (n.slidesPerView === "auto") {
45491
45491
  H = 1;
45492
45492
  let te = 0;
45493
- for (let R = p.length - 1; R >= 0 && (te += p[R] + (R < p.length - 1 ? y : 0), te <= v); R -= 1)
45494
- H = p.length - R;
45493
+ for (let B = p.length - 1; B >= 0 && (te += p[B] + (B < p.length - 1 ? y : 0), te <= v); B -= 1)
45494
+ H = p.length - B;
45495
45495
  } else H = Math.floor(n.slidesPerView);
45496
45496
  W = Math.max(d - H, 0);
45497
45497
  }
@@ -46062,18 +46062,18 @@ function zB({ slideRealIndex: e, slideTo: t = !0, direction: n, setTranslate: a,
46062
46062
  typeof r > "u" ? r = l.getSlideIndex(u.find((A) => A.classList.contains(p.slideActiveClass))) : O = r;
46063
46063
  const W = n === "next" || !n, U = n === "prev" || !n;
46064
46064
  let H = 0, te = 0;
46065
- const R = (k ? u[r].column : r) + (v && typeof a > "u" ? -y / 2 + 0.5 : 0);
46066
- if (R < $) {
46067
- H = Math.max($ - R, w);
46068
- for (let A = 0; A < $ - R; A += 1) {
46065
+ const B = (k ? u[r].column : r) + (v && typeof a > "u" ? -y / 2 + 0.5 : 0);
46066
+ if (B < $) {
46067
+ H = Math.max($ - B, w);
46068
+ for (let A = 0; A < $ - B; A += 1) {
46069
46069
  const Y = A - Math.floor(A / N) * N;
46070
46070
  if (k) {
46071
46071
  const j = N - Y - 1;
46072
46072
  for (let X = u.length - 1; X >= 0; X -= 1) u[X].column === j && E.push(X);
46073
46073
  } else E.push(N - Y - 1);
46074
46074
  }
46075
- } else if (R + y > N - $) {
46076
- te = Math.max(R - (N - $ * 2), w), I && (te = Math.max(te, y - N + m + 1));
46075
+ } else if (B + y > N - $) {
46076
+ te = Math.max(B - (N - $ * 2), w), I && (te = Math.max(te, y - N + m + 1));
46077
46077
  for (let A = 0; A < te; A += 1) {
46078
46078
  const Y = A - Math.floor(A / N) * N;
46079
46079
  k ? u.forEach((j, X) => {
@@ -47716,7 +47716,7 @@ var yF = {
47716
47716
  "zoomChange"
47717
47717
  ],
47718
47718
  setup(e, { slots: t, emit: n }) {
47719
- const { tag: a, wrapperTag: r } = e, o = B("swiper"), i = B(null), s = B(!1), l = B(!1), u = B(null), d = B(null), c = B(null), f = { value: [] }, p = { value: [] }, h = B(null), g = B(null), L = B(null), m = B(null), { params: v, passedParams: y } = c0(e, !1);
47719
+ const { tag: a, wrapperTag: r } = e, o = R("swiper"), i = R(null), s = R(!1), l = R(!1), u = R(null), d = R(null), c = R(null), f = { value: [] }, p = { value: [] }, h = R(null), g = R(null), L = R(null), m = R(null), { params: v, passedParams: y } = c0(e, !1);
47720
47720
  Ru(t, f, p), c.value = y, p.value = f.value;
47721
47721
  const w = () => {
47722
47722
  Ru(t, f, p), s.value = !0;
@@ -47840,7 +47840,7 @@ var yF = {
47840
47840
  },
47841
47841
  setup(e, { slots: t }) {
47842
47842
  let n = !1;
47843
- const { swiperRef: a } = e, r = B(null), o = B("swiper-slide"), i = B(!1);
47843
+ const { swiperRef: a } = e, r = R(null), o = R("swiper-slide"), i = R(!1);
47844
47844
  function s(d, c, f) {
47845
47845
  c === r.value && (o.value = f);
47846
47846
  }
@@ -48006,7 +48006,7 @@ var yF = {
48006
48006
  speed: 800,
48007
48007
  effect: "fade"
48008
48008
  }
48009
- }, i = B(null), s = B(!0), l = B(!1), u = B(a.index ?? a.initialSlide ?? 0);
48009
+ }, i = R(null), s = R(!0), l = R(!1), u = R(a.index ?? a.initialSlide ?? 0);
48010
48010
  let d = !1;
48011
48011
  const c = x(() => {
48012
48012
  const $ = {};
@@ -48256,12 +48256,12 @@ var Dj = /* @__PURE__ */ Re(CF, [["render", xF]]), kF = class {
48256
48256
  },
48257
48257
  emits: ["update:zoom"],
48258
48258
  setup(e, { expose: t, emit: n }) {
48259
- const a = n, r = B(), o = B(1), i = B(1), s = B(0), l = B(0), u = B(0), d = B(0), c = B(0), f = B(0), p = B(e.zoom ?? 1), h = x({
48259
+ const a = n, r = R(), o = R(1), i = R(1), s = R(0), l = R(0), u = R(0), d = R(0), c = R(0), f = R(0), p = R(e.zoom ?? 1), h = x({
48260
48260
  get: () => e.zoom ?? p.value,
48261
48261
  set: (Q) => {
48262
48262
  p.value = Q, a("update:zoom", p.value);
48263
48263
  }
48264
- }), g = B(1), L = B(0), m = B(0), v = B("y"), y = B(!1), w = B(-1), $ = B(-1), k = B(0), E = B(!0), C = B(), N = B(), I = B(0), O = B(0), W = B(0), U = B(), H = x(() => ({
48264
+ }), g = R(1), L = R(0), m = R(0), v = R("y"), y = R(!1), w = R(-1), $ = R(-1), k = R(0), E = R(!0), C = R(), N = R(), I = R(0), O = R(0), W = R(0), U = R(), H = x(() => ({
48265
48265
  transform: [`translate(${o.value * d.value}px, ${i.value * f.value}px)`, `scale(${g.value})`].join(" "),
48266
48266
  transformOrigin: "50% 50%"
48267
48267
  }));
@@ -48273,7 +48273,7 @@ var Dj = /* @__PURE__ */ Re(CF, [["render", xF]]), kF = class {
48273
48273
  h.value = 1, E.value = !0, u.value = 0, c.value = 0;
48274
48274
  }
48275
48275
  t({ reset: te });
48276
- function R(Q) {
48276
+ function B(Q) {
48277
48277
  if (e.disabled) return;
48278
48278
  let ae = h.value * Q;
48279
48279
  if (e.zoomingElastic) {
@@ -48314,7 +48314,7 @@ var Dj = /* @__PURE__ */ Re(CF, [["render", xF]]), kF = class {
48314
48314
  fe(), E.value = h.value === 1, !E.value && (Math.abs(I.value) > 0.1 || Math.abs(O.value) > 0.1) ? (U.value && cancelAnimationFrame(U.value), j()) : (I.value = 0, O.value = 0);
48315
48315
  }, 50);
48316
48316
  function fe() {
48317
- if (h.value < e.minScale ? h.value = e.minScale : h.value > e.maxScale && R(e.maxScale / h.value), e.limitTranslation) {
48317
+ if (h.value < e.minScale ? h.value = e.minScale : h.value > e.maxScale && B(e.maxScale / h.value), e.limitTranslation) {
48318
48318
  const Q = oe();
48319
48319
  Math.abs(u.value) > Q.x && (u.value *= Q.x / Math.abs(u.value)), Math.abs(c.value) > Q.y && (c.value *= Q.y / Math.abs(c.value));
48320
48320
  }
@@ -48333,7 +48333,7 @@ var Dj = /* @__PURE__ */ Re(CF, [["render", xF]]), kF = class {
48333
48333
  Math.abs(Q.deltaY) === 120 ? ae - L.value > 50 && (D(Q.deltaY), L.value = ae) : (ae - m.value > 50 && (v.value = Q.deltaX > Q.deltaY ? "x" : "y", v.value === "y" && D(Q.deltaY)), m.value = ae);
48334
48334
  }
48335
48335
  function D(Q) {
48336
- R(1.15 ** (Q / 120)), X();
48336
+ B(1.15 ** (Q / 120)), X();
48337
48337
  }
48338
48338
  function P(Q) {
48339
48339
  pe(), y.value = !0, w.value = Q.clientX, $.value = Q.clientY, W.value = Date.now(), I.value = 0, O.value = 0, U.value && (cancelAnimationFrame(U.value), U.value = void 0), document.addEventListener("mousemove", de), document.addEventListener("mouseup", ee);
@@ -48363,7 +48363,7 @@ var Dj = /* @__PURE__ */ Re(CF, [["render", xF]]), kF = class {
48363
48363
  else if (Q.touches.length === 2) {
48364
48364
  Q.stopPropagation();
48365
48365
  const ae = Q.touches[0].clientX - Q.touches[1].clientX, z = Q.touches[0].clientY - Q.touches[1].clientY, q = Math.sqrt(ae * ae + z * z);
48366
- R(q / k.value), k.value = q;
48366
+ B(q / k.value), k.value = q;
48367
48367
  }
48368
48368
  }
48369
48369
  function pe() {
@@ -48381,13 +48381,13 @@ var Dj = /* @__PURE__ */ Re(CF, [["render", xF]]), kF = class {
48381
48381
  }
48382
48382
  je(() => {
48383
48383
  N.value = new kF(), r.value && N.value.attach(r.value), e.doubleClickToZoom && (N.value.onDoubleTap(xe), r.value && r.value.addEventListener("dblclick", xe)), window.addEventListener("resize", ne), ne(), pe(), Ae();
48384
- }), Bt(() => {
48384
+ }), Rt(() => {
48385
48385
  r.value && (N.value?.detach(r.value), e.doubleClickToZoom && r.value.removeEventListener("dblclick", xe)), window.removeEventListener("resize", ne), C.value && window.cancelAnimationFrame(C.value), U.value && window.cancelAnimationFrame(U.value);
48386
48386
  });
48387
48387
  function xe(Q) {
48388
48388
  Q.clientX > 0 && (w.value = Q.clientX, $.value = Q.clientY);
48389
48389
  const ae = Math.min(2.5, e.maxScale / 2 + 0.5), z = e.maxScale;
48390
- h.value === 1 ? R(ae) : h.value < z - 0.1 ? R(z / h.value) : te();
48390
+ h.value === 1 ? B(ae) : h.value < z - 0.1 ? B(z / h.value) : te();
48391
48391
  }
48392
48392
  function ne() {
48393
48393
  if (r.value) {
@@ -48509,7 +48509,7 @@ function Pj(e) {
48509
48509
  };
48510
48510
  }
48511
48511
  function Fi() {
48512
- const e = B(0), t = B(!1), n = B(0), a = B(0), r = B(0), o = B(null), i = B(null), s = B(0), l = B(0);
48512
+ const e = R(0), t = R(!1), n = R(0), a = R(0), r = R(0), o = R(null), i = R(null), s = R(0), l = R(0);
48513
48513
  function u() {
48514
48514
  s.value = n.value, l.value = a.value, e.value = window.innerWidth, t.value = window.innerWidth <= 910, n.value = window.scrollY, a.value = window.scrollX, r.value = window.innerHeight;
48515
48515
  const d = 10;
@@ -48517,7 +48517,7 @@ function Fi() {
48517
48517
  }
48518
48518
  return je(() => {
48519
48519
  window.addEventListener("resize", u), window.addEventListener("scroll", u), u();
48520
- }), Bt(() => {
48520
+ }), Rt(() => {
48521
48521
  window.removeEventListener("resize", u), window.removeEventListener("scroll", u);
48522
48522
  }), {
48523
48523
  innerWidth: e,
@@ -48727,7 +48727,7 @@ function gh(e, t, n) {
48727
48727
  };
48728
48728
  }
48729
48729
  var OF = gh(/* @__PURE__ */ new Date(), "en-US"), RF = Object.keys(OF).sort((e, t) => t.length - e.length), BF = new RegExp(RF.join("|"), "g");
48730
- function Ot(e, t) {
48730
+ function Nt(e, t) {
48731
48731
  if (!e) return "";
48732
48732
  let n, a, r, o = {};
48733
48733
  if (typeof t == "string" ? n = t : t && typeof t == "object" && (n = t.format, a = t.locale, r = t.tz, o = t), n === "ISO" || n === "ISO8601") {
@@ -48769,7 +48769,7 @@ function Ot(e, t) {
48769
48769
  return "";
48770
48770
  }
48771
48771
  }
48772
- const zj = Ot;
48772
+ const zj = Nt;
48773
48773
  var FF = {
48774
48774
  omitExtraWLInCodeBlocks: !1,
48775
48775
  noHeaderId: !1,
@@ -49902,7 +49902,7 @@ function JF(e, t) {
49902
49902
  const n = Array.from(new Set((e ?? []).flatMap(Object.keys))).map((a) => ({
49903
49903
  id: a,
49904
49904
  label: a === "created_at" ? "Created Date" : a === "updated_at" ? "Last Update" : zi(a),
49905
- transform: (r) => ["created_at", "updated_at"].includes(a) ? r && Ot(r, "DD.MM.YY HH:mm") : r
49905
+ transform: (r) => ["created_at", "updated_at"].includes(a) ? r && Nt(r, "DD.MM.YY HH:mm") : r
49906
49906
  }));
49907
49907
  return t ? n.filter((a) => t.includes(a.id) || !a.id) : n;
49908
49908
  }
@@ -50048,7 +50048,7 @@ function aV(e) {
50048
50048
  }));
50049
50049
  }
50050
50050
  function Qj() {
50051
- const e = B(!1);
50051
+ const e = R(!1);
50052
50052
  async function t() {
50053
50053
  return e.value || (await Hs("https://cdn.jsdelivr.net/npm/xlsx/dist/xlsx.full.min.js"), e.value = !0), window.XLSX;
50054
50054
  }
@@ -50206,7 +50206,7 @@ async function sV(e) {
50206
50206
  return await lV(e, t), URL.createObjectURL(t);
50207
50207
  }
50208
50208
  function Sh(e) {
50209
- const t = B(void 0), n = B(!1);
50209
+ const t = R(void 0), n = R(!1);
50210
50210
  async function a() {
50211
50211
  n.value = !1;
50212
50212
  const r = Zn(He(e));
@@ -50241,7 +50241,7 @@ function uV() {
50241
50241
  function dV(e, t = null) {
50242
50242
  if (!(e in Qr)) {
50243
50243
  const n = qd ? localStorage.getItem(e) : null;
50244
- Qr[e] = B(n !== null ? JSON.parse(n) : t), De(Qr[e], (a) => {
50244
+ Qr[e] = R(n !== null ? JSON.parse(n) : t), De(Qr[e], (a) => {
50245
50245
  qd && localStorage.setItem(e, JSON.stringify(a));
50246
50246
  });
50247
50247
  }
@@ -50254,7 +50254,7 @@ function cV(e) {
50254
50254
  }
50255
50255
  var Ch = 1e3, fV = 60 * Ch;
50256
50256
  function eG(e, t = {}) {
50257
- const { interval: n = 30 * Ch, inactivityThreshold: a = 5 * fV, pauseInBackground: r = !0 } = t, { idle: o } = t_(a), i = B(!0), s = B(null), l = () => !r || document.visibilityState === "visible", u = () => {
50257
+ const { interval: n = 30 * Ch, inactivityThreshold: a = 5 * fV, pauseInBackground: r = !0 } = t, { idle: o } = t_(a), i = R(!0), s = R(null), l = () => !r || document.visibilityState === "visible", u = () => {
50258
50258
  i.value = !1, s.value !== null && (clearTimeout(s.value), s.value = null);
50259
50259
  }, d = () => {
50260
50260
  s.value !== null && (clearTimeout(s.value), s.value = null);
@@ -50276,7 +50276,7 @@ function eG(e, t = {}) {
50276
50276
  }
50277
50277
  return je(() => {
50278
50278
  document.addEventListener("visibilitychange", p), c();
50279
- }), Bt(() => {
50279
+ }), Rt(() => {
50280
50280
  document.removeEventListener("visibilitychange", p), u();
50281
50281
  }), {
50282
50282
  isPolling: i,
@@ -50287,14 +50287,14 @@ function eG(e, t = {}) {
50287
50287
  };
50288
50288
  }
50289
50289
  function tG() {
50290
- const e = B(!1);
50290
+ const e = R(!1);
50291
50291
  let t;
50292
50292
  function n(a) {
50293
50293
  e.value = a.matches;
50294
50294
  }
50295
50295
  return je(() => {
50296
50296
  typeof window > "u" || !window.matchMedia || (t = window.matchMedia("(prefers-reduced-motion: reduce)"), e.value = t.matches, t.addEventListener("change", n));
50297
- }), Bt(() => {
50297
+ }), Rt(() => {
50298
50298
  t?.removeEventListener("change", n);
50299
50299
  }), e;
50300
50300
  }
@@ -50316,21 +50316,21 @@ function nG(e) {
50316
50316
  } });
50317
50317
  }
50318
50318
  function aG(e) {
50319
- const t = B(0), n = B(0);
50319
+ const t = R(0), n = R(0);
50320
50320
  let a = null;
50321
50321
  return je(() => {
50322
50322
  e.value && (a = new ResizeObserver((r) => {
50323
50323
  for (const o of r)
50324
50324
  t.value = o.contentRect.width, n.value = o.contentRect.height;
50325
50325
  }), a.observe(e.value), t.value = e.value.clientWidth, n.value = e.value.clientHeight);
50326
- }), Bt(() => {
50326
+ }), Rt(() => {
50327
50327
  a && (a.disconnect(), a = null);
50328
50328
  }), {
50329
50329
  width: t,
50330
50330
  height: n
50331
50331
  };
50332
50332
  }
50333
- var Jn = B([
50333
+ var Jn = R([
50334
50334
  {
50335
50335
  value: "dark",
50336
50336
  class: "bgl-dark-mode",
@@ -50351,7 +50351,7 @@ var Jn = B([
50351
50351
  icon: "settings_input_component",
50352
50352
  label: "System Default"
50353
50353
  }
50354
- ]), _0 = "color-mode", Xn = B("system"), Yd = B(!1), s1 = B(!1), ls = B(!1), u1 = typeof window < "u";
50354
+ ]), _0 = "color-mode", Xn = R("system"), Yd = R(!1), s1 = R(!1), ls = R(!1), u1 = typeof window < "u";
50355
50355
  function hV() {
50356
50356
  return s1.value && u1 && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches;
50357
50357
  }
@@ -50472,7 +50472,7 @@ var yV = {
50472
50472
  },
50473
50473
  emits: ["update:open", "close"],
50474
50474
  setup(e, { expose: t, emit: n }) {
50475
- const a = e, r = x(() => a.grip ?? a.position === "bottom"), o = n, i = B(null), s = B(!1), l = B(!0), u = x(() => bV[a.width]), d = x(() => a.position === "left" ? "dialog-left ms-1 me-auto mt-1 mb-1 height-100-2 m_m-0 m_h-100vh m_max-h-100vh m_radius-0" : a.position === "right" ? "dialog-right me-1 ms-auto mt-1 mb-1 height-100-2 m_m-0 m_h-100vh m_max-h-100vh m_radius-0" : a.position === "top" ? "dialog-top mx-auto mt-1 mb-auto" : a.position === "bottom" ? "dialog-bottom mx-auto mb-1 mt-auto" : "dialog-center mx-auto");
50475
+ const a = e, r = x(() => a.grip ?? a.position === "bottom"), o = n, i = R(null), s = R(!1), l = R(!0), u = x(() => bV[a.width]), d = x(() => a.position === "left" ? "dialog-left ms-1 me-auto mt-1 mb-1 height-100-2 m_m-0 m_h-100vh m_max-h-100vh m_radius-0" : a.position === "right" ? "dialog-right me-1 ms-auto mt-1 mb-1 height-100-2 m_m-0 m_h-100vh m_max-h-100vh m_radius-0" : a.position === "top" ? "dialog-top mx-auto mt-1 mb-auto" : a.position === "bottom" ? "dialog-bottom mx-auto mb-1 mt-auto" : "dialog-center mx-auto");
50476
50476
  De(() => a.open, (L) => {
50477
50477
  L ? (i.value?.showModal(), s.value = !1, l.value = !1, setTimeout(() => {
50478
50478
  l.value = !0;
@@ -50512,7 +50512,7 @@ var yV = {
50512
50512
  class: "grid grid-dialog max-height-100-2",
50513
50513
  tabindex: "-1",
50514
50514
  autofocus: "",
50515
- onClick: m[0] || (m[0] = nt(() => {
50515
+ onClick: m[0] || (m[0] = Qe(() => {
50516
50516
  }, ["stop"]))
50517
50517
  }, [
50518
50518
  r.value ? (_(), S("div", yV)) : F("", !0),
@@ -50725,7 +50725,7 @@ var yV = {
50725
50725
  return { ...j };
50726
50726
  }
50727
50727
  }
50728
- const p = B(d(a.modelValue)), h = B({}), g = B(!1), L = B("idle"), m = B();
50728
+ const p = R(d(a.modelValue)), h = R({}), g = R(!1), L = R("idle"), m = R();
50729
50729
  let v = !1;
50730
50730
  De(() => a.modelValue, (j) => {
50731
50731
  v || (p.value = d(j));
@@ -50856,7 +50856,7 @@ var yV = {
50856
50856
  function te(j) {
50857
50857
  return typeof j == "string" && a.components?.[j] != null ? a.components[j] : j;
50858
50858
  }
50859
- function R(j) {
50859
+ function B(j) {
50860
50860
  return j._component != null;
50861
50861
  }
50862
50862
  function A() {
@@ -50957,7 +50957,7 @@ var yV = {
50957
50957
  key: 1,
50958
50958
  ref_for: !0
50959
50959
  }, U(G, oe), { "create-item": () => "" }), {
50960
- default: Ce(({ item: D }) => [(_(), se(Rt(O(G._config.schema)), {
50960
+ default: Ce(({ item: D }) => [(_(), se(Ot(O(G._config.schema)), {
50961
50961
  "model-value": D.value,
50962
50962
  "onUpdate:modelValue": (P) => {
50963
50963
  D.value = P;
@@ -50968,7 +50968,7 @@ var yV = {
50968
50968
  key: 2,
50969
50969
  ref_for: !0
50970
50970
  }, U(G, oe), { "create-item": () => c(G) }), {
50971
- default: Ce(({ item: D }) => [(_(), se(Rt(te(G._config.schema)), {
50971
+ default: Ce(({ item: D }) => [(_(), se(Ot(te(G._config.schema)), {
50972
50972
  modelValue: D.value,
50973
50973
  "onUpdate:modelValue": (P) => D.value = P
50974
50974
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))]),
@@ -50977,17 +50977,17 @@ var yV = {
50977
50977
  key: 3,
50978
50978
  ref_for: !0
50979
50979
  }, U(G, oe), { "create-item": () => "" }), {
50980
- default: Ce(({ item: D }) => [(_(), se(Rt(O(G._config.itemType)), {
50980
+ default: Ce(({ item: D }) => [(_(), se(Ot(O(G._config.itemType)), {
50981
50981
  "model-value": D.value,
50982
50982
  "onUpdate:modelValue": (P) => {
50983
50983
  D.value = P;
50984
50984
  }
50985
50985
  }, null, 8, ["model-value", "onUpdate:modelValue"]))]),
50986
50986
  _: 2
50987
- }, 1040)) : R(G) ? (_(), se(Rt(te(G._component.component)), ct({
50987
+ }, 1040)) : B(G) ? (_(), se(Ot(te(G._component.component)), ct({
50988
50988
  key: 4,
50989
50989
  ref_for: !0
50990
- }, H(G, oe)), null, 16)) : (_(), se(Rt(O(G)), ct({
50990
+ }, H(G, oe)), null, 16)) : (_(), se(Ot(O(G)), ct({
50991
50991
  key: 5,
50992
50992
  ref_for: !0
50993
50993
  }, U(G, oe)), null, 16))])], 2))), 128)),
@@ -51038,7 +51038,7 @@ var yV = {
51038
51038
  },
51039
51039
  emits: ["update:open", "resolve"],
51040
51040
  setup(e, { emit: t }) {
51041
- const n = e, a = t, { $t: r } = Tt(), o = B({ ...n.modelValue || {} }), i = B(!1), s = B(!1), l = B(null), u = B(), d = x(() => typeof n.onDelete == "function");
51041
+ const n = e, a = t, { $t: r } = Tt(), o = R({ ...n.modelValue || {} }), i = R(!1), s = R(!1), l = R(null), u = R(), d = x(() => typeof n.onDelete == "function");
51042
51042
  async function c() {
51043
51043
  if (!i.value) {
51044
51044
  if (!u.value?.validate()) {
@@ -52351,7 +52351,7 @@ var az = { class: "multi-step-form" }, rz = { class: "step-progress" }, oz = ["o
52351
52351
  "validationError"
52352
52352
  ],
52353
52353
  setup(e, { expose: t, emit: n }) {
52354
- const a = e, r = n, { $t: o } = Tt(), i = Ct(), s = x(() => Object.keys(i)), l = B({ ...a.modelValue || {} }), u = B(a.currentStep != null && a.currentStep !== "" ? a.currentStep : Object.keys(a.schema)[0]);
52354
+ const a = e, r = n, { $t: o } = Tt(), i = Ct(), s = x(() => Object.keys(i)), l = R({ ...a.modelValue || {} }), u = R(a.currentStep != null && a.currentStep !== "" ? a.currentStep : Object.keys(a.schema)[0]);
52355
52355
  let d = !1;
52356
52356
  De(() => a.modelValue, (W) => {
52357
52357
  d || (l.value = { ...W || {} });
@@ -52367,7 +52367,7 @@ var az = { class: "multi-step-form" }, rz = { class: "step-progress" }, oz = ["o
52367
52367
  function c(W, U) {
52368
52368
  const H = U.split(".");
52369
52369
  let te = W;
52370
- for (const R of H) te = te?.[R];
52370
+ for (const B of H) te = te?.[B];
52371
52371
  return te;
52372
52372
  }
52373
52373
  function f(W, U) {
@@ -52375,7 +52375,7 @@ var az = { class: "multi-step-form" }, rz = { class: "step-progress" }, oz = ["o
52375
52375
  try {
52376
52376
  const H = Ul(W);
52377
52377
  if (H.length === 0) return !0;
52378
- let te = !0, R = null;
52378
+ let te = !0, B = null;
52379
52379
  for (let A = 0; A < H.length; A++) {
52380
52380
  const Y = H[A], j = c(U, Y.field), { op: X, value: fe, connector: oe } = Y;
52381
52381
  let G = !1;
@@ -52413,7 +52413,7 @@ var az = { class: "multi-step-form" }, rz = { class: "step-progress" }, oz = ["o
52413
52413
  default:
52414
52414
  G = !1;
52415
52415
  }
52416
- A === 0 ? (te = G, R = G) : (oe === "or" ? te = (R ?? !1) || G : oe === "and" && (te = (R ?? !1) && G), R = te);
52416
+ A === 0 ? (te = G, B = G) : (oe === "or" ? te = (B ?? !1) || G : oe === "and" && (te = (B ?? !1) && G), B = te);
52417
52417
  }
52418
52418
  return te;
52419
52419
  } catch {
@@ -52426,7 +52426,7 @@ var az = { class: "multi-step-form" }, rz = { class: "step-progress" }, oz = ["o
52426
52426
  const h = x(() => Object.entries(a.schema).filter(([, W]) => p(W)).map(([W, U]) => ({
52427
52427
  key: W,
52428
52428
  schema: U
52429
- }))), g = x(() => h.value.findIndex((W) => W.key === u.value)), L = x(() => g.value === 0), m = x(() => g.value === h.value.length - 1), v = x(() => h.value[g.value]?.schema), y = B({});
52429
+ }))), g = x(() => h.value.findIndex((W) => W.key === u.value)), L = x(() => g.value === 0), m = x(() => g.value === h.value.length - 1), v = x(() => h.value[g.value]?.schema), y = R({});
52430
52430
  function w(W) {
52431
52431
  return W._hidden ? !1 : W._condition == null ? !0 : f(W._condition, l.value);
52432
52432
  }
@@ -52442,13 +52442,13 @@ var az = { class: "multi-step-form" }, rz = { class: "step-progress" }, oz = ["o
52442
52442
  const W = {}, U = v.value._fields;
52443
52443
  for (const [H, te] of Object.entries(U)) {
52444
52444
  if (te._type === "display" || !w(te)) continue;
52445
- const R = $(H), A = te._config;
52446
- if (A.required === !0 && k(R)) {
52445
+ const B = $(H), A = te._config;
52446
+ if (A.required === !0 && k(B)) {
52447
52447
  W[H] = `${typeof A.label == "string" ? A.label : H} is required`;
52448
52448
  continue;
52449
52449
  }
52450
- if (te._validations && !k(R)) for (const Y of te._validations) {
52451
- const j = Y(R);
52450
+ if (te._validations && !k(B)) for (const Y of te._validations) {
52451
+ const j = Y(B);
52452
52452
  if (j !== !0) {
52453
52453
  W[H] = j;
52454
52454
  break;
@@ -52503,7 +52503,7 @@ var az = { class: "multi-step-form" }, rz = { class: "step-progress" }, oz = ["o
52503
52503
  active: H.key === u.value,
52504
52504
  completed: te < g.value
52505
52505
  }]),
52506
- onClick: (R) => N(H.key)
52506
+ onClick: (B) => N(H.key)
52507
52507
  }, [M("div", iz, ie(te + 1), 1), M("div", lz, ie(C(H.key, H.schema)), 1)], 10, oz))), 128))]),
52508
52508
  v.value != null ? (_(), S("div", sz, [
52509
52509
  v.value._label ? (_(), S("h2", uz, ie(v.value._label), 1)) : F("", !0),
@@ -52667,11 +52667,11 @@ var Lz = { class: "form-flow-player" }, bz = { class: "ffp-stage" }, yz = {
52667
52667
  "complete"
52668
52668
  ],
52669
52669
  setup(e, { expose: t, emit: n }) {
52670
- const a = e, r = n, { $t: o } = Tt(), i = Ct(), s = x(() => Object.keys(i).filter((A) => A !== "nav" && A !== "primary-label" && A !== "step" && A !== "empty")), l = B("next"), u = x(() => a.animated ? l.value === "prev" ? "ffp-slide-prev" : "ffp-slide-next" : ""), d = B({ ...a.modelValue || {} });
52670
+ const a = e, r = n, { $t: o } = Tt(), i = Ct(), s = x(() => Object.keys(i).filter((A) => A !== "nav" && A !== "primary-label" && A !== "step" && A !== "empty")), l = R("next"), u = x(() => a.animated ? l.value === "prev" ? "ffp-slide-prev" : "ffp-slide-next" : ""), d = R({ ...a.modelValue || {} });
52671
52671
  De(d, (A) => r("update:modelValue", A), { deep: !0 }), De(() => a.modelValue, (A) => {
52672
52672
  A && A !== d.value && (d.value = { ...A });
52673
52673
  }, { deep: !0 });
52674
- const c = B(Jd(a.structure)), f = B([]);
52674
+ const c = R(Jd(a.structure)), f = R([]);
52675
52675
  De(() => a.structure, () => {
52676
52676
  c.value = Jd(a.structure), f.value = [];
52677
52677
  }, { deep: !0 }), De(c, (A) => {
@@ -52698,7 +52698,7 @@ var Lz = { class: "form-flow-player" }, bz = { class: "ffp-stage" }, yz = {
52698
52698
  return A ? JV(A.schema) : null;
52699
52699
  }), L = x(() => c.value ? f1(a.structure, c.value, d.value) : null), m = x(() => L.value === null), v = x(() => f.value.length > 0), y = x(() => A0(a.structure, c.value, d.value));
52700
52700
  De(y, (A) => r("progress", A), { immediate: !0 });
52701
- const w = B(null), $ = B(!1);
52701
+ const w = R(null), $ = R(!1);
52702
52702
  function k(A) {
52703
52703
  w.value = A;
52704
52704
  }
@@ -52724,11 +52724,11 @@ var Lz = { class: "form-flow-player" }, bz = { class: "ffp-stage" }, yz = {
52724
52724
  }
52725
52725
  const N = x(() => a.autoAdvance && gz(p.value)), I = x(() => vz(p.value));
52726
52726
  let O = null;
52727
- const W = B(null);
52727
+ const W = R(null);
52728
52728
  function U() {
52729
52729
  O && (clearTimeout(O), O = null);
52730
52730
  }
52731
- const H = B(I.value ? d.value[I.value] : void 0);
52731
+ const H = R(I.value ? d.value[I.value] : void 0);
52732
52732
  De(c, () => {
52733
52733
  U(), W.value = null, H.value = I.value ? d.value[I.value] : void 0;
52734
52734
  }, { flush: "sync" }), De(() => I.value ? d.value[I.value] : void 0, (A) => {
@@ -52740,7 +52740,7 @@ var Lz = { class: "form-flow-player" }, bz = { class: "ffp-stage" }, yz = {
52740
52740
  const A = f.value.pop();
52741
52741
  A && (l.value = "prev", c.value = A);
52742
52742
  }
52743
- const R = x(() => f.value.length + 1);
52743
+ const B = x(() => f.value.length + 1);
52744
52744
  return t({
52745
52745
  formData: d,
52746
52746
  currentKey: c,
@@ -52784,7 +52784,7 @@ var Lz = { class: "form-flow-player" }, bz = { class: "ffp-stage" }, yz = {
52784
52784
  submitting: $.value,
52785
52785
  goBack: te,
52786
52786
  goPrimary: C,
52787
- stepPosition: R.value,
52787
+ stepPosition: B.value,
52788
52788
  progress: y.value,
52789
52789
  currentKey: c.value,
52790
52790
  autoAdvances: N.value
@@ -52797,7 +52797,7 @@ var Lz = { class: "form-flow-player" }, bz = { class: "ffp-stage" }, yz = {
52797
52797
  disabled: !v.value,
52798
52798
  onClick: te
52799
52799
  }, null, 8, ["value", "disabled"]),
52800
- e.hideCounter ? F("", !0) : (_(), S("span", $z, ie(R.value), 1)),
52800
+ e.hideCounter ? F("", !0) : (_(), S("span", $z, ie(B.value), 1)),
52801
52801
  m.value ? (_(), se(Le, {
52802
52802
  key: 1,
52803
52803
  class: "ffp-nav-btn",
@@ -54007,7 +54007,7 @@ function Hz(e, t, n, a, r, o) {
54007
54007
  "aria-hidden": e.shown ? "false" : "true",
54008
54008
  tabindex: e.autoHide ? 0 : void 0,
54009
54009
  "data-popper-placement": e.result ? e.result.placement : void 0,
54010
- onKeyup: t[2] || (t[2] = Nt((s) => e.autoHide && e.$emit("hide"), ["esc"]))
54010
+ onKeyup: t[2] || (t[2] = Ft((s) => e.autoHide && e.$emit("hide"), ["esc"]))
54011
54011
  }, [M("div", {
54012
54012
  class: "v-popper__backdrop",
54013
54013
  onClick: t[0] || (t[0] = (s) => e.autoHide && e.$emit("hide"))
@@ -54458,7 +54458,7 @@ function om(e, t, n) {
54458
54458
  var Wu, wi, eH = 0;
54459
54459
  function tH() {
54460
54460
  if (Wu) return;
54461
- wi = B([]), Wu = vs({
54461
+ wi = R([]), Wu = vs({
54462
54462
  name: "VTooltipDirectiveApp",
54463
54463
  setup() {
54464
54464
  return { directives: wi };
@@ -54477,7 +54477,7 @@ function tH() {
54477
54477
  }
54478
54478
  function nH(e, t, n) {
54479
54479
  tH();
54480
- const a = B(om(e, t, n)), r = B(!1), o = {
54480
+ const a = R(om(e, t, n)), r = R(!1), o = {
54481
54481
  id: eH++,
54482
54482
  options: a,
54483
54483
  shown: r
@@ -54584,71 +54584,73 @@ var iH = {
54584
54584
  }, gH = { class: "file-info txt-white flex m_block align-items-start gap-025" }, vH = { class: "txt-start" }, LH = { class: "mx-0 light" }, bH = { class: "semi word-break-all" }, yH = { class: "mx-0" }, _H = { class: "semi" }, wH = /* @__PURE__ */ Ee({
54585
54585
  __name: "Lightbox",
54586
54586
  setup(e, { expose: t }) {
54587
- const n = B(!1), a = B([]), r = B(0), o = x(() => a.value[r.value]), i = B(1), s = x(() => i.value === 1), l = x(() => ({
54588
- allowTouchMove: i.value === 1,
54589
- touchRatio: i.value === 1 ? 1 : 0,
54590
- simulateTouch: i.value === 1
54587
+ const n = R(!1), a = R(null), r = R([]), o = R(0), i = x(() => r.value[o.value]), s = R(1), l = x(() => s.value === 1), u = x(() => ({
54588
+ allowTouchMove: s.value === 1,
54589
+ touchRatio: s.value === 1 ? 1 : 0,
54590
+ simulateTouch: s.value === 1
54591
54591
  }));
54592
- function u(f, p) {
54593
- n.value = !0, a.value = p || [f], r.value = a.value.findIndex((h) => {
54594
- const g = f.src !== void 0 && f.src !== null && f.src !== "" && h.src === f.src, L = f.pathKey !== void 0 && f.pathKey !== null && f.pathKey !== "" && h.pathKey === f.pathKey;
54595
- return g || L;
54596
- }), r.value === -1 && (r.value = 0), i.value = 1;
54592
+ function d(p, h) {
54593
+ n.value = !0, r.value = h || [p], o.value = r.value.findIndex((g) => {
54594
+ const L = p.src !== void 0 && p.src !== null && p.src !== "" && g.src === p.src, m = p.pathKey !== void 0 && p.pathKey !== null && p.pathKey !== "" && g.pathKey === p.pathKey;
54595
+ return L || m;
54596
+ }), o.value === -1 && (o.value = 0), s.value = 1;
54597
54597
  }
54598
- function d() {
54598
+ function c() {
54599
54599
  n.value = !1;
54600
54600
  }
54601
- t1(d, n);
54602
- function c(f) {
54603
- r.value = f, i.value = 1;
54601
+ t1(c, n);
54602
+ function f(p) {
54603
+ o.value = p, s.value = 1;
54604
54604
  }
54605
- return De(() => n.value, (f) => {
54606
- f ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
54607
- }), De(() => r.value, () => {
54608
- i.value = 1;
54605
+ return De(() => n.value, async (p) => {
54606
+ p ? (document.body.style.overflow = "hidden", await at(), a.value?.open || a.value?.showModal()) : (document.body.style.overflow = "", a.value?.open && a.value.close());
54607
+ }), De(() => o.value, () => {
54608
+ s.value = 1;
54609
54609
  }), t({
54610
- open: u,
54611
- close: d
54612
- }), (f, p) => (_(), se(Dr, { name: "fade" }, {
54613
- default: Ce(() => [n.value ? (_(), S("div", {
54610
+ open: d,
54611
+ close: c
54612
+ }), (p, h) => (_(), se(Dr, { name: "fade" }, {
54613
+ default: Ce(() => [n.value ? (_(), S("dialog", {
54614
54614
  key: 0,
54615
+ ref_key: "dialogRef",
54616
+ ref: a,
54615
54617
  class: "bgl-lightbox-overlay",
54616
- onKeydown: Nt(d, ["esc"])
54618
+ onCancel: Qe(c, ["prevent"])
54617
54619
  }, [
54618
54620
  M("div", {
54619
54621
  class: "flex start w-100 space-between p-025 z-9",
54620
- onClick: d
54622
+ onClick: c
54621
54623
  }, [
54622
54624
  re(b(Le), {
54623
54625
  flat: "",
54624
54626
  class: "color-white",
54625
54627
  icon: "close",
54626
- onClick: d
54628
+ onClick: c
54627
54629
  }),
54628
- o.value?.enableZoom && o.value?.type === "image" ? (_(), S("div", dH, [
54630
+ i.value?.enableZoom && i.value?.type === "image" ? (_(), S("div", dH, [
54629
54631
  re(b(Le), {
54630
54632
  flat: "",
54631
54633
  class: "color-white",
54632
54634
  icon: "remove",
54633
- disabled: i.value === 1,
54634
- onClick: p[0] || (p[0] = (h) => i.value--)
54635
+ disabled: s.value === 1,
54636
+ onClick: h[0] || (h[0] = (g) => s.value--)
54635
54637
  }, null, 8, ["disabled"]),
54636
54638
  re(b(Le), {
54637
54639
  flat: "",
54638
54640
  class: "color-white",
54639
54641
  icon: "zoom_in",
54640
- disabled: i.value === 1,
54641
- onClick: p[1] || (p[1] = (h) => i.value = 1)
54642
+ disabled: s.value === 1,
54643
+ onClick: h[1] || (h[1] = (g) => s.value = 1)
54642
54644
  }, null, 8, ["disabled"]),
54643
54645
  re(b(Le), {
54644
54646
  flat: "",
54645
54647
  class: "color-white",
54646
54648
  icon: "add",
54647
- disabled: i.value === 3,
54648
- onClick: p[2] || (p[2] = (h) => i.value++)
54649
+ disabled: s.value === 3,
54650
+ onClick: h[2] || (h[2] = (g) => s.value++)
54649
54651
  }, null, 8, ["disabled"])
54650
54652
  ])) : F("", !0),
54651
- o.value?.openFile && o.value?.src ? (_(), se(b(Le), {
54653
+ i.value?.openFile && i.value?.src ? (_(), se(b(Le), {
54652
54654
  key: 1,
54653
54655
  class: "color-white",
54654
54656
  round: "",
@@ -54656,10 +54658,10 @@ var iH = {
54656
54658
  flat: "",
54657
54659
  iconEnd: "arrow_outward",
54658
54660
  value: "$t:lightbox.openFile",
54659
- href: o.value?.src,
54661
+ href: i.value?.src,
54660
54662
  target: "_blank"
54661
54663
  }, null, 8, ["href"])) : F("", !0),
54662
- o.value?.download && o.value?.src ? (_(), se(b(Le), {
54664
+ i.value?.download && i.value?.src ? (_(), se(b(Le), {
54663
54665
  key: 2,
54664
54666
  class: "color-white",
54665
54667
  round: "",
@@ -54667,55 +54669,55 @@ var iH = {
54667
54669
  flat: "",
54668
54670
  icon: "download",
54669
54671
  value: "Download File",
54670
- onClick: p[3] || (p[3] = (h) => b($h)(o.value?.src))
54672
+ onClick: h[3] || (h[3] = (g) => b($h)(i.value?.src))
54671
54673
  })) : F("", !0),
54672
- !o.value?.openFile && !o.value?.download ? (_(), S("div", cH)) : F("", !0)
54674
+ !i.value?.openFile && !i.value?.download ? (_(), S("div", cH)) : F("", !0)
54673
54675
  ]),
54674
- a.value && a.value.length > 0 ? (_(), se(b(SF), {
54676
+ r.value && r.value.length > 0 ? (_(), se(b(SF), {
54675
54677
  key: 0,
54676
- index: r.value,
54677
- "onUpdate:index": p[6] || (p[6] = (h) => r.value = h),
54678
- items: a.value,
54679
- "initial-slide": r.value,
54680
- class: ue(["bgl-lightbox-swiper", { zoomed: i.value > 1 }]),
54681
- navigation: a.value.length > 1,
54682
- "grab-cursor": s.value,
54678
+ index: o.value,
54679
+ "onUpdate:index": h[6] || (h[6] = (g) => o.value = g),
54680
+ items: r.value,
54681
+ "initial-slide": o.value,
54682
+ class: ue(["bgl-lightbox-swiper", { zoomed: s.value > 1 }]),
54683
+ navigation: r.value.length > 1,
54684
+ "grab-cursor": l.value,
54683
54685
  keyboard: !0,
54684
54686
  loop: !1,
54685
54687
  speed: 400,
54686
54688
  "slides-per-view": 1,
54687
54689
  "space-between": 0,
54688
54690
  effect: "slide",
54689
- "advanced-options": l.value,
54690
- onClick: p[7] || (p[7] = nt(() => {
54691
+ "advanced-options": u.value,
54692
+ onClick: h[7] || (h[7] = Qe(() => {
54691
54693
  }, ["stop"]))
54692
54694
  }, {
54693
- default: Ce(({ item: h }) => [M("div", fH, [h.type === "image" ? (_(), se(b(MF), {
54695
+ default: Ce(({ item: g }) => [M("div", fH, [g.type === "image" ? (_(), se(b(MF), {
54694
54696
  key: 0,
54695
- zoom: i.value,
54696
- "onUpdate:zoom": p[4] || (p[4] = (g) => i.value = g),
54697
- disabled: !h?.enableZoom,
54697
+ zoom: s.value,
54698
+ "onUpdate:zoom": h[4] || (h[4] = (L) => s.value = L),
54699
+ disabled: !g?.enableZoom,
54698
54700
  "mouse-wheel-to-zoom": !1,
54699
54701
  "double-click-to-zoom": !0,
54700
54702
  "max-scale": 5,
54701
54703
  "min-scale": 1,
54702
54704
  "aspect-ratio": 0,
54703
54705
  "limit-translation": !0,
54704
- onClick: p[5] || (p[5] = nt(() => {
54706
+ onClick: h[5] || (h[5] = Qe(() => {
54705
54707
  }, ["stop"]))
54706
54708
  }, {
54707
- default: Ce(() => [re(uH, { src: h?.src }, null, 8, ["src"])]),
54709
+ default: Ce(() => [re(uH, { src: g?.src }, null, 8, ["src"])]),
54708
54710
  _: 2
54709
- }, 1032, ["zoom", "disabled"])) : h?.type === "video" && h?.src ? (_(), se(b(bp), {
54711
+ }, 1032, ["zoom", "disabled"])) : g?.type === "video" && g?.src ? (_(), se(b(bp), {
54710
54712
  key: 1,
54711
- src: h?.src,
54713
+ src: g?.src,
54712
54714
  autoplay: "",
54713
54715
  controls: "",
54714
54716
  class: "lightbox-video"
54715
- }, null, 8, ["src"])) : h?.type === "pdf" && h?.src ? (_(), S("div", pH, [M("embed", {
54716
- src: b(_h)(h?.src),
54717
+ }, null, 8, ["src"])) : g?.type === "pdf" && g?.src ? (_(), S("div", pH, [M("embed", {
54718
+ src: b(_h)(g?.src),
54717
54719
  type: "application/pdf",
54718
- title: h?.name
54720
+ title: g?.name
54719
54721
  }, null, 8, hH)])) : (_(), S("div", mH, [M("div", gH, [
54720
54722
  re(b(Be), {
54721
54723
  class: "m-0 m_none",
@@ -54730,10 +54732,10 @@ var iH = {
54730
54732
  weight: "2"
54731
54733
  }),
54732
54734
  M("div", vH, [
54733
- M("p", LH, [p[9] || (p[9] = ze(" File: ", -1)), M("span", bH, ie(h?.name), 1)]),
54734
- M("p", yH, [p[10] || (p[10] = ze(" Type: ", -1)), M("span", _H, ie(h?.type), 1)]),
54735
+ M("p", LH, [h[9] || (h[9] = ze(" File: ", -1)), M("span", bH, ie(g?.name), 1)]),
54736
+ M("p", yH, [h[10] || (h[10] = ze(" Type: ", -1)), M("span", _H, ie(g?.type), 1)]),
54735
54737
  re(b(Le), {
54736
- href: h?.src,
54738
+ href: g?.src,
54737
54739
  target: "_blank",
54738
54740
  round: "",
54739
54741
  thin: "",
@@ -54742,15 +54744,15 @@ var iH = {
54742
54744
  }, null, 8, ["href"])
54743
54745
  ])
54744
54746
  ])]))])]),
54745
- "prev-button": Ce(({ prev: h }) => [re(b(Le), {
54747
+ "prev-button": Ce(({ prev: g }) => [re(b(Le), {
54746
54748
  icon: "arrow_back",
54747
54749
  color: "black",
54748
- onClick: h
54750
+ onClick: g
54749
54751
  }, null, 8, ["onClick"])]),
54750
- "next-button": Ce(({ next: h }) => [re(b(Le), {
54752
+ "next-button": Ce(({ next: g }) => [re(b(Le), {
54751
54753
  icon: "arrow_forward",
54752
54754
  color: "black",
54753
- onClick: h
54755
+ onClick: g
54754
54756
  }, null, 8, ["onClick"])]),
54755
54757
  _: 1
54756
54758
  }, 8, [
@@ -54762,28 +54764,28 @@ var iH = {
54762
54764
  "grab-cursor",
54763
54765
  "advanced-options"
54764
54766
  ])) : F("", !0),
54765
- a.value && a.value.length > 1 ? (_(), S("div", {
54767
+ r.value && r.value.length > 1 ? (_(), S("div", {
54766
54768
  key: 1,
54767
54769
  class: "lightbox-thumbnails",
54768
- onClick: p[8] || (p[8] = nt(() => {
54770
+ onClick: h[8] || (h[8] = Qe(() => {
54769
54771
  }, ["stop"]))
54770
- }, [(_(!0), S(_e, null, Me(a.value, (h, g) => (_(), S(_e, { key: g }, [h.type === "image" ? (_(), se(b(Bl), {
54772
+ }, [(_(!0), S(_e, null, Me(r.value, (g, L) => (_(), S(_e, { key: L }, [g.type === "image" ? (_(), se(b(Bl), {
54771
54773
  key: 0,
54772
- class: ue(["thumbnail", { active: r.value === g }]),
54773
- src: h.src,
54774
+ class: ue(["thumbnail", { active: o.value === L }]),
54775
+ src: g.src,
54774
54776
  alt: "",
54775
- onClick: nt((L) => c(g), ["stop"])
54777
+ onClick: Qe((m) => f(L), ["stop"])
54776
54778
  }, null, 8, [
54777
54779
  "src",
54778
54780
  "class",
54779
54781
  "onClick"
54780
54782
  ])) : (_(), se(b(Be), {
54781
54783
  key: 1,
54782
- class: ue(["thumbnail thumbnail-icon", { active: r.value === g }]),
54784
+ class: ue(["thumbnail thumbnail-icon", { active: o.value === L }]),
54783
54785
  icon: "description",
54784
- onClick: nt((L) => c(g), ["stop"])
54786
+ onClick: Qe((m) => f(L), ["stop"])
54785
54787
  }, null, 8, ["class", "onClick"]))], 64))), 128))])) : F("", !0)
54786
- ], 32)) : F("", !0)]),
54788
+ ], 544)) : F("", !0)]),
54787
54789
  _: 1
54788
54790
  }));
54789
54791
  }
@@ -55144,7 +55146,7 @@ var jH = gm, vm = Ee({
55144
55146
  }
55145
55147
  }), GH = /* @__PURE__ */ ze(" × ");
55146
55148
  function qH(e, t) {
55147
- return _(), se(Rt(e.buttonComponent), ct({
55149
+ return _(), se(Ot(e.buttonComponent), ct({
55148
55150
  "aria-label": e.ariaLabel,
55149
55151
  class: e.classes
55150
55152
  }, e.$attrs), {
@@ -55259,7 +55261,7 @@ var uU = _m, wm = Ee({
55259
55261
  } }
55260
55262
  });
55261
55263
  function dU(e, t) {
55262
- return _(), se(Rt(e.component), { class: ue(e.iconClasses) }, {
55264
+ return _(), se(Ot(e.component), { class: ue(e.iconClasses) }, {
55263
55265
  default: Ce(() => [ze(ie(e.customIconChildren), 1)]),
55264
55266
  _: 1
55265
55267
  }, 8, ["class"]);
@@ -55396,7 +55398,7 @@ function fU(e, t) {
55396
55398
  M("div", {
55397
55399
  role: e.accessibility.toastRole || "alert",
55398
55400
  class: ue(e.bodyClasses)
55399
- }, [typeof e.content == "string" ? (_(), S(_e, { key: 0 }, [ze(ie(e.content), 1)], 2112)) : (_(), se(Rt(e.getVueComponentFromObj(e.content)), ct({
55401
+ }, [typeof e.content == "string" ? (_(), S(_e, { key: 0 }, [ze(ie(e.content), 1)], 2112)) : (_(), se(Ot(e.getVueComponentFromObj(e.content)), ct({
55400
55402
  key: 1,
55401
55403
  "toast-id": e.id
55402
55404
  }, e.hasProp(e.content, "props") ? e.content.props : {}, w4(e.hasProp(e.content, "listeners") ? e.content.listeners : {}), { onCloseToast: e.closeToast }), null, 16, ["toast-id", "onCloseToast"]))], 10, cU),
@@ -55406,7 +55408,7 @@ function fU(e, t) {
55406
55408
  "class-names": e.closeButtonClassName,
55407
55409
  "show-on-hover": e.showCloseButtonOnHover,
55408
55410
  "aria-label": e.accessibility.closeButtonLabel,
55409
- onClick: nt(e.closeToast, ["stop"])
55411
+ onClick: Qe(e.closeToast, ["stop"])
55410
55412
  }, null, 8, [
55411
55413
  "component",
55412
55414
  "class-names",
@@ -58407,12 +58409,12 @@ function hW(e) {
58407
58409
  function mW(e, t) {
58408
58410
  let n, a;
58409
58411
  const r = Array.isArray(e), o = typeof e == "function", i = typeof e == "object" && e !== null && "value" in e && !("items" in e);
58410
- r || o || i ? (a = B(""), n = {
58412
+ r || o || i ? (a = R(""), n = {
58411
58413
  items: e,
58412
58414
  searchTerm: a,
58413
58415
  ...t
58414
58416
  }) : n = e;
58415
- const { searchTerm: s, minChars: l = 2, serverSearch: u, debounceMs: d = 300 } = n, c = B(!1), f = B([]);
58417
+ const { searchTerm: s, minChars: l = 2, serverSearch: u, debounceMs: d = 300 } = n, c = R(!1), f = R([]);
58416
58418
  let p = null;
58417
58419
  u && De(() => He(s), async (y) => {
58418
58420
  p !== null && clearTimeout(p);
@@ -58618,7 +58620,7 @@ export {
58618
58620
  MG as filterRef,
58619
58621
  jm as findElementById,
58620
58622
  zj as fmtDate,
58621
- Ot as formatDate,
58623
+ Nt as formatDate,
58622
58624
  p0 as formatString,
58623
58625
  JV as fromJSONSchema,
58624
58626
  Tl as fuzzyMatch,