@wishbone-media/spark 1.3.0 → 1.3.1

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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ref as ke, reactive as _t, watch as et, onMounted as Xt, nextTick as fr, onUnmounted as an, openBlock as C, createElementBlock as P, createElementVNode as T, Fragment as Ve, renderList as rt, toDisplayString as Se, createTextVNode as Ue, createCommentVNode as ie, withDirectives as en, vModelText as ho, vModelSelect as wa, vShow as pr, computed as te, shallowRef as Sa, getCurrentScope as ka, onScopeDispose as Ca, shallowReadonly as dn, unref as K, resolveComponent as Ge, normalizeClass as Ee, createVNode as oe, renderSlot as Ze, createBlock as Me, resolveDynamicComponent as bt, markRaw as wn, Transition as mr, withCtx as we, normalizeProps as Ea, mergeProps as Ct, Teleport as gr, TransitionGroup as Tn, inject as Rn, onUpdated as hr, provide as vr, defineComponent as Ta, useSlots as co, resolveDirective as _a, normalizeStyle as Po, withModifiers as Qe, shallowReactive as yr, toHandlers as br, h as is } from "vue";
1
+ import { ref as ke, reactive as _t, watch as et, onMounted as Xt, nextTick as Zo, onUnmounted as an, openBlock as C, createElementBlock as P, createElementVNode as T, Fragment as Ve, renderList as rt, toDisplayString as Se, createTextVNode as Ue, createCommentVNode as ie, withDirectives as en, vModelText as ho, vModelSelect as wa, vShow as pr, computed as te, shallowRef as Sa, getCurrentScope as ka, onScopeDispose as Ca, shallowReadonly as dn, unref as K, resolveComponent as Ge, normalizeClass as Ee, createVNode as oe, renderSlot as Ze, createBlock as Me, resolveDynamicComponent as bt, markRaw as wn, Transition as mr, withCtx as we, normalizeProps as Ea, mergeProps as Ct, Teleport as gr, TransitionGroup as Tn, inject as Rn, onUpdated as hr, provide as vr, defineComponent as Ta, useSlots as co, resolveDirective as _a, normalizeStyle as Po, withModifiers as Qe, shallowReactive as yr, toHandlers as br, h as ls } from "vue";
2
2
  import { icon as Zt, library as xr } from "@fortawesome/fontawesome-svg-core";
3
3
  import { FontAwesomeIcon as On } from "@fortawesome/vue-fontawesome";
4
4
  import { faArrowUpRightFromSquare as $a, faCopy as La, faCircleDot as wr, faEyeDropper as Sr, faAnglesLeft as kr, faAnglesRight as Cr, faStar as Ma, faSpinnerThird as Er, faCircle as Oa, faFile as Ao, faCalendar as Tr, faArrowUp as _r, faArrowDown as $r, faPlus as Lr, faCircleCheck as Pa, faInbox as Aa, faCloudArrowUp as Ra, faCloudDownload as Ia, faBolt as Fa, faUndo as Da, faLock as ja, faEyeSlash as Va, faEye as Ha, faSignOut as za, faXmark as Ro, faTrash as Mr, faTimes as Ba, faStreetView as Na, faSortUp as qa, faSortDown as Wa, faSort as Ua, faScaleBalanced as Za, faSatelliteDish as Ga, faLayerPlus as Ya, faLaptopMobile as Xa, faInfoCircle as Ka, faGripDotsVertical as Or, faGearComplex as Ja, faFlag as Qa, faFaceSmileWink as ei, faFaceSmileRelaxed as ti, faExclamationTriangle as ni, faEllipsisVertical as oi, faEllipsis as si, faEdit as ri, faComments as ai, faCircleXmark as ii, faCircleUser as li, faChevronUp as ci, faChevronRight as Pr, faChevronLeft as Ar, faChevronDown as Rr, faCheckCircle as ui, faCheck as Io, faBullhorn as di, faBellRing as fi, faBarsSort as pi, faArrowRightToLine as mi, faArrowLeftToLine as gi } from "@fortawesome/pro-regular-svg-icons";
@@ -13,7 +13,7 @@ import "handsontable/styles/handsontable.css";
13
13
  import "handsontable/styles/ht-theme-classic.css";
14
14
  import { registerPlugin as Bn, AutoColumnSize as Ci, CopyPaste as Ei, StretchColumns as Ti, NestedHeaders as _i } from "handsontable/plugins";
15
15
  import { registerAllCellTypes as $i } from "handsontable/cellTypes";
16
- import { useDebounceFn as jr, watchDebounced as ls } from "@vueuse/core";
16
+ import { useDebounceFn as jr, watchDebounced as cs } from "@vueuse/core";
17
17
  import { registerRenderer as Li, baseRenderer as Mi } from "handsontable/renderers";
18
18
  import vn from "axios";
19
19
  function Oi(e, t) {
@@ -27,7 +27,7 @@ const Pi = (e) => {
27
27
  f.set("callback", a + ".maps." + c), Oi(n, "https://maps.googleapis.com/maps/api/js?" + f), p[c] = m, n.onerror = () => t = w(Error(s + " could not load.")), n.nonce = u.querySelector("script[nonce]")?.nonce || "", u.head.append(n);
28
28
  }));
29
29
  p[r] ? console.warn(s + " only loads once. Ignoring:", e) : p[r] = (m, ...w) => i.add(m) && h().then(() => p[r](m, ...w));
30
- }, Ai = (e) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`, Ri = (e) => `The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`, Ii = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", Fi = "There already is a script loading the Google Maps JavaScript API, and no google.maps.importLibrary function is defined. @googlemaps/js-api-loader will proceed to bootstrap the API with the specified options, but the existing script might cause problems using the API. Make sure to remove the script loading the API.", Vr = process.env.NODE_ENV !== "production", Zo = Vr ? (e) => {
30
+ }, Ai = (e) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`, Ri = (e) => `The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`, Ii = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", Fi = "There already is a script loading the Google Maps JavaScript API, and no google.maps.importLibrary function is defined. @googlemaps/js-api-loader will proceed to bootstrap the API with the specified options, but the existing script might cause problems using the API. Make sure to remove the script loading the API.", Vr = process.env.NODE_ENV !== "production", Go = Vr ? (e) => {
31
31
  console.warn(`[@googlemaps/js-api-loader] ${e}`);
32
32
  } : () => {
33
33
  }, Di = Vr ? (e) => {
@@ -37,24 +37,24 @@ const Pi = (e) => {
37
37
  let Fo = !1;
38
38
  function Vi(e) {
39
39
  if (Fo) {
40
- Zo(Ai(e));
40
+ Go(Ai(e));
41
41
  return;
42
42
  }
43
43
  zi(e), Fo = !0;
44
44
  }
45
45
  async function Hi(e) {
46
- if (Fo || Zo(Ii), !window?.google?.maps?.importLibrary)
46
+ if (Fo || Go(Ii), !window?.google?.maps?.importLibrary)
47
47
  throw new Error("google.maps.importLibrary is not installed.");
48
48
  return await google.maps.importLibrary(e);
49
49
  }
50
50
  function zi(e) {
51
51
  const t = !!window.google?.maps?.importLibrary;
52
- t ? Di(Ri(e)) : ji && document.querySelector('script[src*="maps.googleapis.com/maps/api/js"]') && Zo(Fi), t || Pi(e);
52
+ t ? Di(Ri(e)) : ji && document.querySelector('script[src*="maps.googleapis.com/maps/api/js"]') && Go(Fi), t || Pi(e);
53
53
  }
54
- let cs = !1, Nn = null;
54
+ let us = !1, Nn = null;
55
55
  function Bi() {
56
56
  async function e(t) {
57
- return Nn || (cs || (Vi({ key: t, v: "weekly" }), cs = !0), Nn = Hi("places"), Nn);
57
+ return Nn || (us || (Vi({ key: t, v: "weekly" }), us = !0), Nn = Hi("places"), Nn);
58
58
  }
59
59
  return { loadPlaces: e };
60
60
  }
@@ -206,7 +206,7 @@ const Ni = { class: "spark-address-input" }, qi = ["disabled"], Wi = ["selected"
206
206
  return Xt(() => {
207
207
  s.value === "autocomplete" && f();
208
208
  }), et(s, async (y) => {
209
- y === "autocomplete" && (await fr(), f());
209
+ y === "autocomplete" && (await Zo(), f());
210
210
  }), an(() => {
211
211
  u = !0, c && (c.removeEventListener("gmp-select", h), c = null);
212
212
  }), (y, b) => (C(), P("div", Ni, [
@@ -371,19 +371,19 @@ function Hn(e) {
371
371
  function Hr(e) {
372
372
  return e === "x" ? "y" : "x";
373
373
  }
374
- function Go(e) {
374
+ function Yo(e) {
375
375
  return e === "y" ? "height" : "width";
376
376
  }
377
377
  function Ut(e) {
378
378
  const t = e[0];
379
379
  return t === "t" || t === "b" ? "y" : "x";
380
380
  }
381
- function Yo(e) {
381
+ function Xo(e) {
382
382
  return Hr(Ut(e));
383
383
  }
384
384
  function ll(e, t, n) {
385
385
  n === void 0 && (n = !1);
386
- const o = Hn(e), s = Yo(e), a = Go(s);
386
+ const o = Hn(e), s = Xo(e), a = Yo(s);
387
387
  let r = s === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
388
388
  return t.reference[a] > t.floating[a] && (r = to(r)), [r, to(r)];
389
389
  }
@@ -394,12 +394,12 @@ function cl(e) {
394
394
  function jo(e) {
395
395
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
396
396
  }
397
- const us = ["left", "right"], ds = ["right", "left"], ul = ["top", "bottom"], dl = ["bottom", "top"];
397
+ const ds = ["left", "right"], fs = ["right", "left"], ul = ["top", "bottom"], dl = ["bottom", "top"];
398
398
  function fl(e, t, n) {
399
399
  switch (e) {
400
400
  case "top":
401
401
  case "bottom":
402
- return n ? t ? ds : us : t ? us : ds;
402
+ return n ? t ? fs : ds : t ? ds : fs;
403
403
  case "left":
404
404
  case "right":
405
405
  return t ? ul : dl;
@@ -451,12 +451,12 @@ function no(e) {
451
451
  y: n
452
452
  };
453
453
  }
454
- function fs(e, t, n) {
454
+ function ps(e, t, n) {
455
455
  let {
456
456
  reference: o,
457
457
  floating: s
458
458
  } = e;
459
- const a = Ut(t), r = Yo(t), c = Go(r), u = sn(t), d = a === "y", l = o.x + o.width / 2 - s.width / 2, p = o.y + o.height / 2 - s.height / 2, i = o[c] / 2 - s[c] / 2;
459
+ const a = Ut(t), r = Xo(t), c = Yo(r), u = sn(t), d = a === "y", l = o.x + o.width / 2 - s.width / 2, p = o.y + o.height / 2 - s.height / 2, i = o[c] / 2 - s[c] / 2;
460
460
  let f;
461
461
  switch (u) {
462
462
  case "top":
@@ -561,7 +561,7 @@ const hl = 50, vl = async (e, t, n) => {
561
561
  }), {
562
562
  x: l,
563
563
  y: p
564
- } = fs(d, o, u), i = o, f = 0;
564
+ } = ps(d, o, u), i = o, f = 0;
565
565
  const h = {};
566
566
  for (let m = 0; m < a.length; m++) {
567
567
  const w = a[m];
@@ -599,7 +599,7 @@ const hl = 50, vl = async (e, t, n) => {
599
599
  }) : _.rects), {
600
600
  x: l,
601
601
  y: p
602
- } = fs(d, i, u)), m = -1);
602
+ } = ps(d, i, u)), m = -1);
603
603
  }
604
604
  return {
605
605
  x: l,
@@ -629,7 +629,7 @@ const hl = 50, vl = async (e, t, n) => {
629
629
  const p = zr(l), i = {
630
630
  x: n,
631
631
  y: o
632
- }, f = Yo(s), h = Go(f), m = await r.getDimensions(d), w = f === "y", g = w ? "top" : "left", v = w ? "bottom" : "right", y = w ? "clientHeight" : "clientWidth", b = a.reference[h] + a.reference[f] - i[f] - a.floating[h], x = i[f] - a.reference[f], _ = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
632
+ }, f = Xo(s), h = Yo(f), m = await r.getDimensions(d), w = f === "y", g = w ? "top" : "left", v = w ? "bottom" : "right", y = w ? "clientHeight" : "clientWidth", b = a.reference[h] + a.reference[f] - i[f] - a.floating[h], x = i[f] - a.reference[f], _ = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
633
633
  let $ = _ ? _[y] : 0;
634
634
  (!$ || !await (r.isElement == null ? void 0 : r.isElement(_))) && ($ = c.floating[y] || a.floating[h]);
635
635
  const ne = b / 2 - x / 2, de = $ / 2 - m[h] / 2 - 1, Q = Sn(p[g], de), $e = Sn(p[v], de), ae = Q, j = $ - m[h] - $e, V = $ / 2 - m[h] / 2 + ne, q = Do(ae, V, j), I = !u.arrow && Hn(s) != null && V !== q && a.reference[h] / 2 - (V < ae ? Q : $e) - m[h] / 2 < 0, se = I ? V < ae ? V - ae : V - j : 0;
@@ -838,7 +838,7 @@ function uo() {
838
838
  return typeof window < "u";
839
839
  }
840
840
  function ln(e) {
841
- return Xo(e) ? (e.nodeName || "").toLowerCase() : "#document";
841
+ return Ko(e) ? (e.nodeName || "").toLowerCase() : "#document";
842
842
  }
843
843
  function gt(e) {
844
844
  var t;
@@ -846,9 +846,9 @@ function gt(e) {
846
846
  }
847
847
  function Pt(e) {
848
848
  var t;
849
- return (t = (Xo(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
849
+ return (t = (Ko(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
850
850
  }
851
- function Xo(e) {
851
+ function Ko(e) {
852
852
  return uo() ? e instanceof Node || e instanceof gt(e).Node : !1;
853
853
  }
854
854
  function Et(e) {
@@ -857,7 +857,7 @@ function Et(e) {
857
857
  function Ht(e) {
858
858
  return uo() ? e instanceof HTMLElement || e instanceof gt(e).HTMLElement : !1;
859
859
  }
860
- function ps(e) {
860
+ function ms(e) {
861
861
  return !uo() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof gt(e).ShadowRoot;
862
862
  }
863
863
  function zn(e) {
@@ -886,14 +886,14 @@ function fo(e) {
886
886
  }
887
887
  const El = /transform|translate|scale|rotate|perspective|filter/, Tl = /paint|layout|strict|content/, Kt = (e) => !!e && e !== "none";
888
888
  let yo;
889
- function Ko(e) {
889
+ function Jo(e) {
890
890
  const t = Et(e) ? Tt(e) : e;
891
- return Kt(t.transform) || Kt(t.translate) || Kt(t.scale) || Kt(t.rotate) || Kt(t.perspective) || !Jo() && (Kt(t.backdropFilter) || Kt(t.filter)) || El.test(t.willChange || "") || Tl.test(t.contain || "");
891
+ return Kt(t.transform) || Kt(t.translate) || Kt(t.scale) || Kt(t.rotate) || Kt(t.perspective) || !Qo() && (Kt(t.backdropFilter) || Kt(t.filter)) || El.test(t.willChange || "") || Tl.test(t.contain || "");
892
892
  }
893
893
  function _l(e) {
894
894
  let t = Gt(e);
895
895
  for (; Ht(t) && !kn(t); ) {
896
- if (Ko(t))
896
+ if (Jo(t))
897
897
  return t;
898
898
  if (fo(t))
899
899
  return null;
@@ -901,7 +901,7 @@ function _l(e) {
901
901
  }
902
902
  return null;
903
903
  }
904
- function Jo() {
904
+ function Qo() {
905
905
  return yo == null && (yo = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), yo;
906
906
  }
907
907
  function kn(e) {
@@ -926,10 +926,10 @@ function Gt(e) {
926
926
  // Step into the shadow DOM of the parent of a slotted node.
927
927
  e.assignedSlot || // DOM Element detected.
928
928
  e.parentNode || // ShadowRoot detected.
929
- ps(e) && e.host || // Fallback.
929
+ ms(e) && e.host || // Fallback.
930
930
  Pt(e)
931
931
  );
932
- return ps(t) ? t.host : t;
932
+ return ms(t) ? t.host : t;
933
933
  }
934
934
  function Br(e) {
935
935
  const t = Gt(e);
@@ -958,11 +958,11 @@ function Nr(e) {
958
958
  $: c
959
959
  };
960
960
  }
961
- function Qo(e) {
961
+ function es(e) {
962
962
  return Et(e) ? e : e.contextElement;
963
963
  }
964
964
  function yn(e) {
965
- const t = Qo(e);
965
+ const t = es(e);
966
966
  if (!Ht(t))
967
967
  return Ot(1);
968
968
  const n = t.getBoundingClientRect(), {
@@ -979,7 +979,7 @@ function yn(e) {
979
979
  const $l = /* @__PURE__ */ Ot(0);
980
980
  function qr(e) {
981
981
  const t = gt(e);
982
- return !Jo() || !t.visualViewport ? $l : {
982
+ return !Qo() || !t.visualViewport ? $l : {
983
983
  x: t.visualViewport.offsetLeft,
984
984
  y: t.visualViewport.offsetTop
985
985
  };
@@ -989,7 +989,7 @@ function Ll(e, t, n) {
989
989
  }
990
990
  function rn(e, t, n, o) {
991
991
  t === void 0 && (t = !1), n === void 0 && (n = !1);
992
- const s = e.getBoundingClientRect(), a = Qo(e);
992
+ const s = e.getBoundingClientRect(), a = es(e);
993
993
  let r = Ot(1);
994
994
  t && (o ? Et(o) && (r = yn(o)) : r = yn(e));
995
995
  const c = Ll(a, n, o) ? qr(a) : Ot(0);
@@ -1061,20 +1061,20 @@ function Pl(e) {
1061
1061
  y: c
1062
1062
  };
1063
1063
  }
1064
- const ms = 25;
1064
+ const gs = 25;
1065
1065
  function Al(e, t) {
1066
1066
  const n = gt(e), o = Pt(e), s = n.visualViewport;
1067
1067
  let a = o.clientWidth, r = o.clientHeight, c = 0, u = 0;
1068
1068
  if (s) {
1069
1069
  a = s.width, r = s.height;
1070
- const l = Jo();
1070
+ const l = Qo();
1071
1071
  (!l || l && t === "fixed") && (c = s.offsetLeft, u = s.offsetTop);
1072
1072
  }
1073
1073
  const d = mo(o);
1074
1074
  if (d <= 0) {
1075
1075
  const l = o.ownerDocument, p = l.body, i = getComputedStyle(p), f = l.compatMode === "CSS1Compat" && parseFloat(i.marginLeft) + parseFloat(i.marginRight) || 0, h = Math.abs(o.clientWidth - p.clientWidth - f);
1076
- h <= ms && (a -= h);
1077
- } else d <= ms && (a += d);
1076
+ h <= gs && (a -= h);
1077
+ } else d <= gs && (a += d);
1078
1078
  return {
1079
1079
  width: a,
1080
1080
  height: r,
@@ -1091,7 +1091,7 @@ function Rl(e, t) {
1091
1091
  y: d
1092
1092
  };
1093
1093
  }
1094
- function gs(e, t, n) {
1094
+ function hs(e, t, n) {
1095
1095
  let o;
1096
1096
  if (t === "viewport")
1097
1097
  o = Al(e, n);
@@ -1122,7 +1122,7 @@ function Il(e, t) {
1122
1122
  const a = Tt(e).position === "fixed";
1123
1123
  let r = a ? Gt(e) : e;
1124
1124
  for (; Et(r) && !kn(r); ) {
1125
- const c = Tt(r), u = Ko(r);
1125
+ const c = Tt(r), u = Jo(r);
1126
1126
  !u && c.position === "fixed" && (s = null), (a ? !u && !s : !u && c.position === "static" && !!s && (s.position === "absolute" || s.position === "fixed") || zn(r) && !u && Ur(e, r)) ? o = o.filter((l) => l !== r) : s = c, r = Gt(r);
1127
1127
  }
1128
1128
  return t.set(e, o), o;
@@ -1134,10 +1134,10 @@ function Fl(e) {
1134
1134
  rootBoundary: o,
1135
1135
  strategy: s
1136
1136
  } = e;
1137
- const r = [...n === "clippingAncestors" ? fo(t) ? [] : Il(t, this._c) : [].concat(n), o], c = gs(t, r[0], s);
1137
+ const r = [...n === "clippingAncestors" ? fo(t) ? [] : Il(t, this._c) : [].concat(n), o], c = hs(t, r[0], s);
1138
1138
  let u = c.top, d = c.right, l = c.bottom, p = c.left;
1139
1139
  for (let i = 1; i < r.length; i++) {
1140
- const f = gs(t, r[i], s);
1140
+ const f = hs(t, r[i], s);
1141
1141
  u = nn(f.top, u), d = Sn(f.right, d), l = Sn(f.bottom, l), p = nn(f.left, p);
1142
1142
  }
1143
1143
  return {
@@ -1184,7 +1184,7 @@ function jl(e, t, n) {
1184
1184
  function bo(e) {
1185
1185
  return Tt(e).position === "static";
1186
1186
  }
1187
- function hs(e, t) {
1187
+ function vs(e, t) {
1188
1188
  if (!Ht(e) || Tt(e).position === "fixed")
1189
1189
  return null;
1190
1190
  if (t)
@@ -1205,10 +1205,10 @@ function Zr(e, t) {
1205
1205
  }
1206
1206
  return n;
1207
1207
  }
1208
- let o = hs(e, t);
1208
+ let o = vs(e, t);
1209
1209
  for (; o && Cl(o) && bo(o); )
1210
- o = hs(o, t);
1211
- return o && kn(o) && bo(o) && !Ko(o) ? n : o || _l(e) || n;
1210
+ o = vs(o, t);
1211
+ return o && kn(o) && bo(o) && !Jo(o) ? n : o || _l(e) || n;
1212
1212
  }
1213
1213
  const Vl = async function(e) {
1214
1214
  const t = this.getOffsetParent || Zr, n = this.getDimensions, o = await n(e.floating);
@@ -1294,7 +1294,7 @@ function Nl(e, t, n, o) {
1294
1294
  elementResize: r = typeof ResizeObserver == "function",
1295
1295
  layoutShift: c = typeof IntersectionObserver == "function",
1296
1296
  animationFrame: u = !1
1297
- } = o, d = Qo(e), l = s || a ? [...d ? In(d) : [], ...t ? In(t) : []] : [];
1297
+ } = o, d = es(e), l = s || a ? [...d ? In(d) : [], ...t ? In(t) : []] : [];
1298
1298
  l.forEach((g) => {
1299
1299
  s && g.addEventListener("scroll", n, {
1300
1300
  passive: !0
@@ -1341,7 +1341,7 @@ function Wl(e) {
1341
1341
  function Ho(e) {
1342
1342
  if (Wl(e)) {
1343
1343
  const t = e.$el;
1344
- return Xo(t) && ln(t) === "#comment" ? null : t;
1344
+ return Ko(t) && ln(t) === "#comment" ? null : t;
1345
1345
  }
1346
1346
  return e;
1347
1347
  }
@@ -1364,7 +1364,7 @@ function Qr(e) {
1364
1364
  function ea(e) {
1365
1365
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
1366
1366
  }
1367
- function vs(e, t) {
1367
+ function ys(e, t) {
1368
1368
  const n = ea(e);
1369
1369
  return Math.round(t * n) / n;
1370
1370
  }
@@ -1390,7 +1390,7 @@ function Ul(e, t, n) {
1390
1390
  };
1391
1391
  if (!l.value)
1392
1392
  return $;
1393
- const ne = vs(l.value, p.value), de = vs(l.value, i.value);
1393
+ const ne = ys(l.value, p.value), de = ys(l.value, i.value);
1394
1394
  return u.value ? {
1395
1395
  ...$,
1396
1396
  transform: "translate(" + ne + "px, " + de + "px)",
@@ -1449,8 +1449,8 @@ function Ul(e, t, n) {
1449
1449
  update: y
1450
1450
  };
1451
1451
  }
1452
- const ys = "spark-tooltip", oo = "spark-tooltip-arrow";
1453
- function bs(e) {
1452
+ const bs = "spark-tooltip", oo = "spark-tooltip-arrow";
1453
+ function xs(e) {
1454
1454
  return e ? typeof e == "string" ? { content: e } : {
1455
1455
  content: "",
1456
1456
  placement: "top",
@@ -1464,7 +1464,7 @@ function bs(e) {
1464
1464
  }
1465
1465
  function Zl(e) {
1466
1466
  const t = document.createElement("div");
1467
- if (t.className = e.interactive ? `${ys} spark-tooltip-interactive` : ys, t.setAttribute("role", "tooltip"), e.html ? t.innerHTML = e.content : t.textContent = e.content, e.arrow) {
1467
+ if (t.className = e.interactive ? `${bs} spark-tooltip-interactive` : bs, t.setAttribute("role", "tooltip"), e.html ? t.innerHTML = e.content : t.textContent = e.content, e.arrow) {
1468
1468
  const n = document.createElement("div");
1469
1469
  n.className = oo, t.appendChild(n);
1470
1470
  }
@@ -1503,11 +1503,11 @@ function Gl(e) {
1503
1503
  o.style.position = "fixed", o.style.top = "0", o.style.left = "0", document.body.appendChild(o), t.tooltipEl = o, t.config.interactive && (o.addEventListener("mouseenter", () => {
1504
1504
  clearTimeout(t.hideTimeout);
1505
1505
  }), o.addEventListener("mouseleave", () => {
1506
- es(e);
1506
+ ts(e);
1507
1507
  })), ta(e, o, t.config);
1508
1508
  }, n);
1509
1509
  }
1510
- function es(e) {
1510
+ function ts(e) {
1511
1511
  const t = e.__sparkTooltip;
1512
1512
  if (!t) return;
1513
1513
  clearTimeout(t.showTimeout);
@@ -1517,7 +1517,7 @@ function es(e) {
1517
1517
  }, n);
1518
1518
  }
1519
1519
  function xo(e) {
1520
- const t = () => Gl(e), n = () => es(e);
1520
+ const t = () => Gl(e), n = () => ts(e);
1521
1521
  e.addEventListener("mouseenter", t), e.addEventListener("mouseleave", n), e.addEventListener("focus", t), e.addEventListener("blur", n), e.__sparkTooltip.listeners = { onShow: t, onHide: n };
1522
1522
  }
1523
1523
  function na(e) {
@@ -1530,11 +1530,11 @@ function Yl(e) {
1530
1530
  }
1531
1531
  const Xl = {
1532
1532
  mounted(e, t) {
1533
- const n = bs(t.value);
1533
+ const n = xs(t.value);
1534
1534
  e.__sparkTooltip = { config: n, tooltipEl: null, showTimeout: null, hideTimeout: null }, n.content && xo(e);
1535
1535
  },
1536
1536
  updated(e, t) {
1537
- const n = bs(t.value), o = e.__sparkTooltip;
1537
+ const n = xs(t.value), o = e.__sparkTooltip;
1538
1538
  if (!o) {
1539
1539
  e.__sparkTooltip = { config: n, tooltipEl: null, showTimeout: null, hideTimeout: null }, n.content && xo(e);
1540
1540
  return;
@@ -1550,7 +1550,7 @@ const Xl = {
1550
1550
  }
1551
1551
  ta(e, o.tooltipEl, n);
1552
1552
  }
1553
- n.content && !o.listeners ? xo(e) : !n.content && o.listeners && (es(e), na(e), o.listeners = null);
1553
+ n.content && !o.listeners ? xo(e) : !n.content && o.listeners && (ts(e), na(e), o.listeners = null);
1554
1554
  },
1555
1555
  unmounted(e) {
1556
1556
  Yl(e);
@@ -1947,7 +1947,7 @@ const ec = { class: "flex items-center" }, tc = { class: "shrink-0 self-start" }
1947
1947
  warning: 5e3,
1948
1948
  danger: 0
1949
1949
  // sticky by default
1950
- }, xs = ["top-left", "top-right", "center", "bottom-left", "bottom-right"];
1950
+ }, ws = ["top-left", "top-right", "center", "bottom-left", "bottom-right"];
1951
1951
  function wc() {
1952
1952
  const e = _t({
1953
1953
  isVisible: !1,
@@ -2102,7 +2102,7 @@ class Sc {
2102
2102
  * @param {boolean} options.newestOnTop - Whether newest toasts appear on top (default: true)
2103
2103
  */
2104
2104
  configureToasts(t = {}) {
2105
- t.maxToasts !== void 0 && (this.toastState.maxToasts = t.maxToasts), t.defaultPosition !== void 0 && xs.includes(t.defaultPosition) && (this.toastState.defaultPosition = t.defaultPosition), t.newestOnTop !== void 0 && (this.toastState.newestOnTop = t.newestOnTop);
2105
+ t.maxToasts !== void 0 && (this.toastState.maxToasts = t.maxToasts), t.defaultPosition !== void 0 && ws.includes(t.defaultPosition) && (this.toastState.defaultPosition = t.defaultPosition), t.newestOnTop !== void 0 && (this.toastState.newestOnTop = t.newestOnTop);
2106
2106
  }
2107
2107
  /**
2108
2108
  * Show a toast notification
@@ -2125,7 +2125,7 @@ class Sc {
2125
2125
  closeable: r = !0,
2126
2126
  duration: c = null,
2127
2127
  position: u = null
2128
- } = t, d = ++this._toastIdCounter, l = u && xs.includes(u) ? u : this.toastState.defaultPosition, p = c !== null ? c : ra[n], i = {
2128
+ } = t, d = ++this._toastIdCounter, l = u && ws.includes(u) ? u : this.toastState.defaultPosition, p = c !== null ? c : ra[n], i = {
2129
2129
  id: d,
2130
2130
  type: n,
2131
2131
  message: o,
@@ -2248,7 +2248,7 @@ const nt = new Sc(), em = {
2248
2248
  et(
2249
2249
  () => [o.value.state.isVisible, s.value],
2250
2250
  async ([d]) => {
2251
- d && (await fr(), a.value?.$el?.scrollIntoView({ behavior: "smooth", block: "nearest" }));
2251
+ d && (await Zo(), a.value?.$el?.scrollIntoView({ behavior: "smooth", block: "nearest" }));
2252
2252
  }
2253
2253
  ), Xt(() => {
2254
2254
  t.clearOnRouteChange && (n.meta.preserveNotifications || o.value.state.isVisible && (o.value.state.persistent || o.value.state.shownOnPath && o.value.state.shownOnPath !== n.path && o.value.hide()));
@@ -3028,7 +3028,7 @@ const Kc = function(e) {
3028
3028
  }, on = function(e, t = void 0) {
3029
3029
  return !e || e === document.body || t && e === t ? null : Kc(e) ? e : on(e.parentElement, t);
3030
3030
  };
3031
- const ws = (e = !0, t = "--f-scrollbar-compensate", n = "--f-body-margin", o = "hide-scrollbar") => {
3031
+ const Ss = (e = !0, t = "--f-scrollbar-compensate", n = "--f-body-margin", o = "hide-scrollbar") => {
3032
3032
  const s = document, a = s.body, r = s.documentElement;
3033
3033
  if (e) {
3034
3034
  if (a.classList.contains(o)) return;
@@ -3074,14 +3074,14 @@ const lt = (e, t = "", n) => {
3074
3074
  o && e.classList.toggle(o, n || !1);
3075
3075
  });
3076
3076
  };
3077
- function Ss(e) {
3077
+ function ks(e) {
3078
3078
  return ot(e) || Array.isArray(e);
3079
3079
  }
3080
3080
  function Fn(e, t) {
3081
3081
  const n = Object.keys(e), o = Object.keys(t);
3082
3082
  return n.length === o.length && n.every((s) => {
3083
3083
  const a = e[s], r = t[s];
3084
- return typeof a == "function" ? `${a}` == `${r}` : Ss(a) && Ss(r) ? Fn(a, r) : a === r;
3084
+ return typeof a == "function" ? `${a}` == `${r}` : ks(a) && ks(r) ? Fn(a, r) : a === r;
3085
3085
  });
3086
3086
  }
3087
3087
  const la = function(e) {
@@ -3213,19 +3213,19 @@ Yt.destroy = () => {
3213
3213
  function Pn(e) {
3214
3214
  return typeof TouchEvent < "u" && e instanceof TouchEvent;
3215
3215
  }
3216
- function ts(e, t) {
3216
+ function ns(e, t) {
3217
3217
  const n = [], o = Pn(e) ? e[t] : e instanceof MouseEvent && (t === "changedTouches" || e.type !== "mouseup") ? [e] : [];
3218
3218
  for (const s of o) n.push({ x: s.clientX, y: s.clientY, ts: Date.now() });
3219
3219
  return n;
3220
3220
  }
3221
- function ks(e) {
3222
- return ts(e, "touches");
3223
- }
3224
3221
  function Cs(e) {
3225
- return ts(e, "targetTouches");
3222
+ return ns(e, "touches");
3223
+ }
3224
+ function Es(e) {
3225
+ return ns(e, "targetTouches");
3226
3226
  }
3227
3227
  function ca(e) {
3228
- return ts(e, "changedTouches");
3228
+ return ns(e, "changedTouches");
3229
3229
  }
3230
3230
  function qt(e) {
3231
3231
  const t = e[0], n = e[1] || t;
@@ -3235,7 +3235,7 @@ function Wn(e) {
3235
3235
  const t = e[0], n = e[1] || e[0];
3236
3236
  return t && n ? -1 * Math.sqrt((n.x - t.x) * (n.x - t.x) + (n.y - t.y) * (n.y - t.y)) : 0;
3237
3237
  }
3238
- const Es = (e) => {
3238
+ const Ts = (e) => {
3239
3239
  e.cancelable && e.preventDefault();
3240
3240
  }, Bt = { passive: !1 }, Jc = { panThreshold: 5, swipeThreshold: 3, ignore: ["textarea", "input", "select", "[contenteditable]", "[data-selectable]", "[data-draggable]"] };
3241
3241
  let Un = !1, $n = !0;
@@ -3267,17 +3267,17 @@ const Cn = (e, t) => {
3267
3267
  } else Un = !0;
3268
3268
  if (typeof MouseEvent < "u" && W instanceof MouseEvent) {
3269
3269
  if (!W.buttons || W.button !== 0) return;
3270
- Es(W);
3270
+ Ts(W);
3271
3271
  }
3272
- W instanceof MouseEvent && (window.addEventListener("mousemove", V), window.addEventListener("mouseup", q)), window.addEventListener("blur", I), n = W, d = Cs(W), u = [...d], l = [], w = d.length, o = qt(d), w === 1 && (p = !1, i = !1, f = !1), w && ae(qt(d));
3272
+ W instanceof MouseEvent && (window.addEventListener("mousemove", V), window.addEventListener("mouseup", q)), window.addEventListener("blur", I), n = W, d = Es(W), u = [...d], l = [], w = d.length, o = qt(d), w === 1 && (p = !1, i = !1, f = !1), w && ae(qt(d));
3273
3273
  const be = Date.now(), he = be - (m || be);
3274
3274
  h = he > 0 && he <= 250 && w === 1, m = be, clearTimeout(a), Q("start");
3275
3275
  }
3276
3276
  function V(W) {
3277
3277
  var be;
3278
3278
  if (!u.length || W.defaultPrevented || $e(W) === !1) return;
3279
- n = W, l = [...d], d = ks(W);
3280
- const he = qt(l), le = qt(ks(W));
3279
+ n = W, l = [...d], d = Cs(W);
3280
+ const he = qt(l), le = qt(Cs(W));
3281
3281
  if (ae(le), w = d.length, o = le, l.length === d.length ? (g = le.x - he.x, v = le.y - he.y) : (g = 0, v = 0), u.length) {
3282
3282
  const Te = qt(u);
3283
3283
  y = le.x - Te.x, b = le.y - Te.y;
@@ -3290,7 +3290,7 @@ const Cn = (e, t) => {
3290
3290
  }
3291
3291
  function q(W) {
3292
3292
  if (n = W, !u.length) return;
3293
- const be = Cs(W), he = ca(W);
3293
+ const be = Es(W), he = ca(W);
3294
3294
  if (w = be.length, o = qt(he), he.length && ae(qt(he)), l = [...d], d = [...be], u = [...be], w > 0) Q("end"), p = !1, i = !1, ne = [];
3295
3295
  else {
3296
3296
  const le = c.swipeThreshold;
@@ -3309,7 +3309,7 @@ const Cn = (e, t) => {
3309
3309
  }
3310
3310
  function ve(W) {
3311
3311
  const be = W.target;
3312
- Un = !1, be && !W.defaultPrevented && ($n || (Es(W), W.stopPropagation()));
3312
+ Un = !1, be && !W.defaultPrevented && ($n || (Ts(W), W.stopPropagation()));
3313
3313
  }
3314
3314
  const ge = { init: function() {
3315
3315
  return e && (e.addEventListener("click", ve, Bt), e.addEventListener("mousedown", j, Bt), e.addEventListener("touchstart", j, Bt), e.addEventListener("touchmove", V, Bt), e.addEventListener("touchend", q), e.addEventListener("touchcancel", q)), ge;
@@ -3325,18 +3325,18 @@ const Cn = (e, t) => {
3325
3325
  return ge;
3326
3326
  };
3327
3327
  Cn.isClickAllowed = () => $n;
3328
- const ns = { IMAGE_ERROR: "This image couldn't be loaded. <br /> Please try again later.", MOVE_UP: "Move up", MOVE_DOWN: "Move down", MOVE_LEFT: "Move left", MOVE_RIGHT: "Move right", ZOOM_IN: "Zoom in", ZOOM_OUT: "Zoom out", TOGGLE_FULL: "Toggle zoom level", TOGGLE_1TO1: "Toggle zoom level", ITERATE_ZOOM: "Toggle zoom level", ROTATE_CCW: "Rotate counterclockwise", ROTATE_CW: "Rotate clockwise", FLIP_X: "Flip horizontally", FLIP_Y: "Flip vertically", RESET: "Reset", TOGGLE_FS: "Toggle fullscreen" };
3328
+ const os = { IMAGE_ERROR: "This image couldn't be loaded. <br /> Please try again later.", MOVE_UP: "Move up", MOVE_DOWN: "Move down", MOVE_LEFT: "Move left", MOVE_RIGHT: "Move right", ZOOM_IN: "Zoom in", ZOOM_OUT: "Zoom out", TOGGLE_FULL: "Toggle zoom level", TOGGLE_1TO1: "Toggle zoom level", ITERATE_ZOOM: "Toggle zoom level", ROTATE_CCW: "Rotate counterclockwise", ROTATE_CW: "Rotate clockwise", FLIP_X: "Flip horizontally", FLIP_Y: "Flip vertically", RESET: "Reset", TOGGLE_FS: "Toggle fullscreen" };
3329
3329
  const Jt = (e) => {
3330
3330
  e.cancelable && e.preventDefault();
3331
3331
  }, ct = (e, t = 1e4) => (e = parseFloat(e + "") || 0, Math.round((e + Number.EPSILON) * t) / t), Lt = (e) => e instanceof HTMLImageElement;
3332
- var re, Ts;
3332
+ var re, _s;
3333
3333
  (function(e) {
3334
3334
  e.Reset = "reset", e.Zoom = "zoom", e.ZoomIn = "zoomIn", e.ZoomOut = "zoomOut", e.ZoomTo = "zoomTo", e.ToggleCover = "toggleCover", e.ToggleFull = "toggleFull", e.ToggleMax = "toggleMax", e.IterateZoom = "iterateZoom", e.Pan = "pan", e.Swipe = "swipe", e.Move = "move", e.MoveLeft = "moveLeft", e.MoveRight = "moveRight", e.MoveUp = "moveUp", e.MoveDown = "moveDown", e.RotateCCW = "rotateCCW", e.RotateCW = "rotateCW", e.FlipX = "flipX", e.FlipY = "flipY", e.ToggleFS = "toggleFS";
3335
3335
  })(re || (re = {})), (function(e) {
3336
3336
  e.Cover = "cover", e.Full = "full", e.Max = "max";
3337
- })(Ts || (Ts = {}));
3338
- const kt = { x: 0, y: 0, scale: 1, angle: 0, flipX: 1, flipY: 1 }, zo = { bounds: !0, classes: { container: "f-panzoom", wrapper: "f-panzoom__wrapper", content: "f-panzoom__content", viewport: "f-panzoom__viewport" }, clickAction: re.ToggleFull, dblClickAction: !1, gestures: {}, height: "auto", l10n: ns, maxScale: 4, minScale: 1, mouseMoveFactor: 1, panMode: "drag", protected: !1, singleClickAction: !1, spinnerTpl: '<div class="f-spinner"></div>', wheelAction: re.Zoom, width: "auto" };
3339
- let Zn, _s = 0, $s = 0, Gn = 0;
3337
+ })(_s || (_s = {}));
3338
+ const kt = { x: 0, y: 0, scale: 1, angle: 0, flipX: 1, flipY: 1 }, zo = { bounds: !0, classes: { container: "f-panzoom", wrapper: "f-panzoom__wrapper", content: "f-panzoom__content", viewport: "f-panzoom__viewport" }, clickAction: re.ToggleFull, dblClickAction: !1, gestures: {}, height: "auto", l10n: os, maxScale: 4, minScale: 1, mouseMoveFactor: 1, panMode: "drag", protected: !1, singleClickAction: !1, spinnerTpl: '<div class="f-spinner"></div>', wheelAction: re.Zoom, width: "auto" };
3339
+ let Zn, $s = 0, Ls = 0, Gn = 0;
3340
3340
  const Bo = (e, t = {}, n = {}) => {
3341
3341
  let o, s, a, r, c, u, d, l, p = 0, i = Object.assign(Object.assign({}, zo), t), f = {}, h = Object.assign({}, kt), m = Object.assign({}, kt);
3342
3342
  const w = [];
@@ -3368,8 +3368,8 @@ const Bo = (e, t = {}, n = {}) => {
3368
3368
  let J = G * (E > 0 ? 1.5 : 0.5);
3369
3369
  if (O === re.Zoom) {
3370
3370
  const ee = Math.abs(S.deltaY) < 100 && Math.abs(S.deltaX) < 100;
3371
- if (B - $s < (ee ? 200 : 45)) return void Jt(S);
3372
- $s = B;
3371
+ if (B - Ls < (ee ? 200 : 45)) return void Jt(S);
3372
+ Ls = B;
3373
3373
  const fe = se(), ye = W();
3374
3374
  if (ct(J) < ct(fe) && ct(G) <= ct(fe) ? (Gn += Math.abs(E), J = fe) : ct(J) > ct(ye) && ct(G) >= ct(ye) ? (Gn += Math.abs(E), J = ye) : (Gn = 0, J = Pe(fe, J, ye)), Gn > 7) return;
3375
3375
  }
@@ -3415,8 +3415,8 @@ const Bo = (e, t = {}, n = {}) => {
3415
3415
  if (!o?.contains(D)) return;
3416
3416
  const J = { srcEvent: S };
3417
3417
  if (Te(g("clickAction"), J), g("dblClickAction")) {
3418
- const ee = Date.now(), fe = ee - (_s || ee);
3419
- _s = ee, fe > 0 && fe <= 250 ? (Zn && (clearTimeout(Zn), Zn = void 0), Te(g("dblClickAction"), J)) : Zn = setTimeout(() => {
3418
+ const ee = Date.now(), fe = ee - ($s || ee);
3419
+ $s = ee, fe > 0 && fe <= 250 ? (Zn && (clearTimeout(Zn), Zn = void 0), Te(g("dblClickAction"), J)) : Zn = setTimeout(() => {
3420
3420
  Te(g("singleClickAction"), J);
3421
3421
  }, 250);
3422
3422
  }
@@ -3929,20 +3929,20 @@ const Bo = (e, t = {}, n = {}) => {
3929
3929
  }, toggleFS: ce, updateControls: le, version: "6.1.14", willZoomIn: $t, willZoomOut: wt };
3930
3930
  return U;
3931
3931
  };
3932
- Bo.l10n = { en_EN: ns }, Bo.getDefaults = () => zo;
3932
+ Bo.l10n = { en_EN: os }, Bo.getDefaults = () => zo;
3933
3933
  const ko = (e, t) => {
3934
3934
  let n = [];
3935
3935
  return e.childNodes.forEach((o) => {
3936
3936
  o.nodeType !== Node.ELEMENT_NODE || t && !o.matches(t) || n.push(o);
3937
3937
  }), n;
3938
3938
  };
3939
- const os = Object.assign(Object.assign({}, ns), { ERROR: "Something went wrong. <br /> Please try again later.", NEXT: "Next page", PREV: "Previous page", GOTO: "Go to page #%d", DOWNLOAD: "Download", TOGGLE_FULLSCREEN: "Toggle full-screen mode", TOGGLE_EXPAND: "Toggle full-size mode", TOGGLE_THUMBS: "Toggle thumbnails", TOGGLE_AUTOPLAY: "Toggle slideshow" });
3939
+ const ss = Object.assign(Object.assign({}, os), { ERROR: "Something went wrong. <br /> Please try again later.", NEXT: "Next page", PREV: "Previous page", GOTO: "Go to page #%d", DOWNLOAD: "Download", TOGGLE_FULLSCREEN: "Toggle full-screen mode", TOGGLE_EXPAND: "Toggle full-size mode", TOGGLE_THUMBS: "Toggle thumbnails", TOGGLE_AUTOPLAY: "Toggle slideshow" });
3940
3940
  const Qt = (e) => {
3941
3941
  e.cancelable && e.preventDefault();
3942
- }, Ln = { adaptiveHeight: !1, center: !0, classes: { container: "f-carousel", isEnabled: "is-enabled", isLTR: "is-ltr", isRTL: "is-rtl", isHorizontal: "is-horizontal", isVertical: "is-vertical", hasAdaptiveHeight: "has-adaptive-height", viewport: "f-carousel__viewport", slide: "f-carousel__slide", isSelected: "is-selected" }, dragFree: !1, enabled: !0, errorTpl: '<div class="f-html">{{ERROR}}</div>', fill: !0, infinite: !0, initialPage: 0, l10n: os, rtl: !1, slides: [], slidesPerPage: "auto", spinnerTpl: '<div class="f-spinner"></div>', transition: "fade", tween: { clamp: !0, mass: 1, tension: 160, friction: 25, restDelta: 1, restSpeed: 1, velocity: 0 }, vertical: !1 };
3943
- let Ls, Co, Ms = 0;
3942
+ }, Ln = { adaptiveHeight: !1, center: !0, classes: { container: "f-carousel", isEnabled: "is-enabled", isLTR: "is-ltr", isRTL: "is-rtl", isHorizontal: "is-horizontal", isVertical: "is-vertical", hasAdaptiveHeight: "has-adaptive-height", viewport: "f-carousel__viewport", slide: "f-carousel__slide", isSelected: "is-selected" }, dragFree: !1, enabled: !0, errorTpl: '<div class="f-html">{{ERROR}}</div>', fill: !0, infinite: !0, initialPage: 0, l10n: ss, rtl: !1, slides: [], slidesPerPage: "auto", spinnerTpl: '<div class="f-spinner"></div>', transition: "fade", tween: { clamp: !0, mass: 1, tension: 160, friction: 25, restDelta: 1, restSpeed: 1, velocity: 0 }, vertical: !1 };
3943
+ let Ms, Co, Os = 0;
3944
3944
  const ao = (e, t = {}, n = {}) => {
3945
- Ms++;
3945
+ Os++;
3946
3946
  let o, s, a, r, c, u = 0, d = Object.assign({}, Ln), l = Object.assign({}, Ln), p = {}, i = null, f = null, h = 0, m = 0, w = 0, g = !1, v = !1, y = !1, b = "height", x = 0, _ = !0, $ = 0, ne = 0, de = 0, Q = 0, $e = "*", ae = [], j = [];
3947
3947
  const V = /* @__PURE__ */ new Set();
3948
3948
  let q = [], I = [], se = 0, ve = 0, ge = 0;
@@ -4038,7 +4038,7 @@ const ao = (e, t = {}, n = {}) => {
4038
4038
  }
4039
4039
  }
4040
4040
  function De(k) {
4041
- Ls = k;
4041
+ Ms = k;
4042
4042
  }
4043
4043
  function at() {
4044
4044
  W("gestures") === !1 ? o && (o.destroy(), o = void 0) : o || (function() {
@@ -4352,7 +4352,7 @@ const ao = (e, t = {}, n = {}) => {
4352
4352
  if (!F) return;
4353
4353
  let H = k.captionEl || R.querySelector(".f-caption");
4354
4354
  !H && F instanceof HTMLElement && F.classList.contains("f-caption") && (H = F), H || (H = document.createElement("div"), me(H, "f-caption"), Fe(F) ? H.innerHTML = be(F + "") : F instanceof HTMLElement && (F.parentElement && (F = F.cloneNode(!0)), H.append(F)));
4355
- const z = `f-caption-${Ms}_${k.index}`;
4355
+ const z = `f-caption-${Os}_${k.index}`;
4356
4356
  H.setAttribute("id", z), H.dataset.selectable = "true", me(R, "has-caption"), R.setAttribute("aria-labelledby", z), k.captionEl = H, R.insertAdjacentElement("beforeend", H);
4357
4357
  }
4358
4358
  function _e(k, M = {}) {
@@ -4368,9 +4368,9 @@ const ao = (e, t = {}, n = {}) => {
4368
4368
  const Ke = I.length;
4369
4369
  let Je = pe > $ ? 1 : -1;
4370
4370
  pe = g ? (pe % Ke + Ke) % Ke : Pe(0, pe, Ke - 1), v && (Je *= -1);
4371
- const it = (Ae = I[$]) === null || Ae === void 0 ? void 0 : Ae.slides[0], ft = it?.index, ze = (He = I[pe]) === null || He === void 0 ? void 0 : He.slides[0], st = ze?.index, as = (We = I[pe]) === null || We === void 0 ? void 0 : We.pos;
4372
- if (st === void 0 || ft === void 0 || ft === st || x === as || Math.abs(h - (ze?.dim || 0)) > 1) return !1;
4373
- _ = !1, s.pause(), E(), me(i, "in-transition"), x = ne = as;
4371
+ const it = (Ae = I[$]) === null || Ae === void 0 ? void 0 : Ae.slides[0], ft = it?.index, ze = (He = I[pe]) === null || He === void 0 ? void 0 : He.slides[0], st = ze?.index, is = (We = I[pe]) === null || We === void 0 ? void 0 : We.pos;
4372
+ if (st === void 0 || ft === void 0 || ft === st || x === is || Math.abs(h - (ze?.dim || 0)) > 1) return !1;
4373
+ _ = !1, s.pause(), E(), me(i, "in-transition"), x = ne = is;
4374
4374
  const cn = U(it), un = U(ze);
4375
4375
  return wt(), cn && (V.add(ft), cn.style.transform = "", cn.addEventListener("animationend", O), tt(cn, l.classes.isSelected), cn.inert = !1, me(cn, `f-${xe}Out to-${Je > 0 ? "next" : "prev"}`)), un && (V.add(st), un.style.transform = "", un.addEventListener("animationend", O), me(un, l.classes.isSelected), un.inert = !1, me(un, `f-${xe}In from-${Je > 0 ? "prev" : "next"}`)), Le(), !0;
4376
4376
  })(k, X)) return;
@@ -4451,7 +4451,7 @@ const ao = (e, t = {}, n = {}) => {
4451
4451
  }, getGapDim: zt, getGestures: function() {
4452
4452
  return o;
4453
4453
  }, getLastMouseMove: function() {
4454
- return Ls;
4454
+ return Ms;
4455
4455
  }, getOption: function(k) {
4456
4456
  return W(k);
4457
4457
  }, getOptions: function() {
@@ -4557,18 +4557,18 @@ const ao = (e, t = {}, n = {}) => {
4557
4557
  }, version: "6.1.14" };
4558
4558
  return Ce;
4559
4559
  };
4560
- ao.l10n = { en_EN: os }, ao.getDefaults = () => Ln;
4560
+ ao.l10n = { en_EN: ss }, ao.getDefaults = () => Ln;
4561
4561
  const tn = function(e = "", t = "", n = "") {
4562
4562
  return e.split(t).join(n);
4563
4563
  };
4564
- const Os = { tpl: (e) => `<img class="f-panzoom__content"
4564
+ const Ps = { tpl: (e) => `<img class="f-panzoom__content"
4565
4565
  ${e.srcset ? 'data-lazy-srcset="{{srcset}}"' : ""}
4566
4566
  ${e.sizes ? 'data-lazy-sizes="{{sizes}}"' : ""}
4567
4567
  data-lazy-src="{{src}}" alt="{{alt}}" />` }, Qc = () => {
4568
4568
  let e;
4569
4569
  function t(l, p) {
4570
4570
  const i = e?.getOptions().Zoomable;
4571
- let f = (ot(i) ? Object.assign(Object.assign({}, Os), i) : Os)[l];
4571
+ let f = (ot(i) ? Object.assign(Object.assign({}, Ps), i) : Ps)[l];
4572
4572
  return f && typeof f == "function" && p ? f(p) : f;
4573
4573
  }
4574
4574
  function n() {
@@ -4636,11 +4636,11 @@ const Os = { tpl: (e) => `<img class="f-panzoom__content"
4636
4636
  e = void 0;
4637
4637
  }, execute: d };
4638
4638
  };
4639
- const Ps = { syncOnChange: !1, syncOnClick: !0, syncOnHover: !1 }, ua = () => {
4639
+ const As = { syncOnChange: !1, syncOnClick: !0, syncOnHover: !1 }, ua = () => {
4640
4640
  let e, t;
4641
4641
  function n() {
4642
4642
  const f = e?.getOptions().Sync;
4643
- return ot(f) ? Object.assign(Object.assign({}, Ps), f) : Ps;
4643
+ return ot(f) ? Object.assign(Object.assign({}, As), f) : As;
4644
4644
  }
4645
4645
  function o(f) {
4646
4646
  var h, m, w;
@@ -4708,11 +4708,11 @@ const Ps = { syncOnChange: !1, syncOnClick: !0, syncOnHover: !1 }, ua = () => {
4708
4708
  return t;
4709
4709
  } };
4710
4710
  };
4711
- const As = { showLoading: !0, preload: 1 }, Yn = "is-lazyloading", Rs = "is-lazyloaded", Is = "has-lazyerror", da = () => {
4711
+ const Rs = { showLoading: !0, preload: 1 }, Yn = "is-lazyloading", Is = "is-lazyloaded", Fs = "has-lazyerror", da = () => {
4712
4712
  let e;
4713
4713
  function t() {
4714
4714
  const s = e?.getOptions().Lazyload;
4715
- return ot(s) ? Object.assign(Object.assign({}, As), s) : As;
4715
+ return ot(s) ? Object.assign(Object.assign({}, Rs), s) : Rs;
4716
4716
  }
4717
4717
  function n(s) {
4718
4718
  var a;
@@ -4728,12 +4728,12 @@ const As = { showLoading: !0, preload: 1 }, Yn = "is-lazyloading", Rs = "is-lazy
4728
4728
  if (m) {
4729
4729
  const v = (a = l.parentElement) === null || a === void 0 ? void 0 : a.classList.contains("f-panzoom__wrapper");
4730
4730
  c.showLoading && e?.showLoading(s), l.addEventListener("load", () => {
4731
- e?.hideLoading(s), tt(l, Is), l instanceof HTMLImageElement ? l.decode().finally(() => {
4732
- tt(l, Yn), me(l, Rs);
4731
+ e?.hideLoading(s), tt(l, Fs), l instanceof HTMLImageElement ? l.decode().finally(() => {
4732
+ tt(l, Yn), me(l, Is);
4733
4733
  }).catch(() => {
4734
- }) : (tt(l, Yn), me(l, Rs)), v || e == null || e.emit("lazyLoad:loaded", s, l, g);
4734
+ }) : (tt(l, Yn), me(l, Is)), v || e == null || e.emit("lazyLoad:loaded", s, l, g);
4735
4735
  }), l.addEventListener("error", () => {
4736
- e?.hideLoading(s), tt(l, Yn), me(l, Is), v || e == null || e.emit("lazyLoad:error", s, l, g);
4736
+ e?.hideLoading(s), tt(l, Yn), me(l, Fs), v || e == null || e.emit("lazyLoad:error", s, l, g);
4737
4737
  }), l.classList.add("f-lazyload"), l.classList.add(Yn), v || e == null || e.emit("lazyLoad:load", s, l, g), p && (l.src = p), i && (l.srcset = i), f && (l.sizes = f);
4738
4738
  } else w && (l.style.backgroundImage = `url('${h}')`);
4739
4739
  delete l.dataset.lazySrc, delete l.dataset.lazySrcset, delete l.dataset.lazySizes, delete l.dataset.lazyBg;
@@ -4755,12 +4755,12 @@ const As = { showLoading: !0, preload: 1 }, Yn = "is-lazyloading", Rs = "is-lazy
4755
4755
  e?.off("render", o), e = void 0;
4756
4756
  } };
4757
4757
  };
4758
- const Fs = '<svg width="24" height="24" viewBox="0 0 24 24" tabindex="-1">', Ds = "</svg>", js = { prevTpl: Fs + '<path d="M15 3l-9 9 9 9"></path>' + Ds, nextTpl: Fs + '<path d="M9 3l9 9-9 9"></path>' + Ds }, eu = () => {
4758
+ const Ds = '<svg width="24" height="24" viewBox="0 0 24 24" tabindex="-1">', js = "</svg>", Vs = { prevTpl: Ds + '<path d="M15 3l-9 9 9 9"></path>' + js, nextTpl: Ds + '<path d="M9 3l9 9-9 9"></path>' + js }, eu = () => {
4759
4759
  let e, t, n;
4760
4760
  function o(r) {
4761
4761
  const c = (function() {
4762
4762
  const l = e?.getOptions().Arrows;
4763
- return ot(l) ? Object.assign(Object.assign({}, js), l) : js;
4763
+ return ot(l) ? Object.assign(Object.assign({}, Vs), l) : Vs;
4764
4764
  })(), u = `<button data-carousel-go-${r} tabindex="0" class="f-button is-arrow is-${r}" title="{{${r.toUpperCase()}}}">` + c[`${r}Tpl`] + "</button>", d = jt(e.localize(u)) || void 0;
4765
4765
  return d && me(d, c[`${r}Class`]), d;
4766
4766
  }
@@ -4781,20 +4781,20 @@ const Fs = '<svg width="24" height="24" viewBox="0 0 24 24" tabindex="-1">', Ds
4781
4781
  s(), e?.off(["change", "refresh"], a), e = void 0;
4782
4782
  } };
4783
4783
  };
4784
- const fa = '<circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/>', Eo = '<g><line x1="11" y1="8" x2="11" y2="14"></line></g>' + fa, Vs = { moveLeft: ["moveLeft", "MOVE_LEFT", '<path d="M5 12h14M5 12l6 6M5 12l6-6"/>'], moveRight: ["moveRight", "MOVE_RIGHT", '<path d="M5 12h14M13 18l6-6M13 6l6 6"/>'], moveUp: ["moveUp", "MOVE_UP", '<path d="M12 5v14M18 11l-6-6M6 11l6-6"/>'], moveDown: ["moveDown", "MOVE_DOWN", '<path d="M12 5v14M18 13l-6 6M6 13l6 6"/>'], zoomOut: ["zoomOut", "ZOOM_OUT", fa], zoomIn: ["zoomIn", "ZOOM_IN", Eo], toggleFull: ["toggleFull", "TOGGLE_FULL", Eo], iterateZoom: ["iterateZoom", "ITERATE_ZOOM", Eo], toggle1to1: ["toggleFull", "TOGGLE_FULL", '<path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/>'], rotateCCW: ["rotateCCW", "ROTATE_CCW", '<path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/>'], rotateCW: ["rotateCW", "ROTATE_CW", '<path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/>'], flipX: ["flipX", "FLIP_X", '<path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/>'], flipY: ["flipY", "FLIP_Y", '<path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/>'], reset: ["reset", "RESET", '<path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/>'], toggleFS: ["toggleFS", "TOGGLE_FS", '<g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g>'] }, ss = {};
4785
- for (const e of Object.keys(Vs)) {
4786
- const t = Vs[e];
4787
- ss[e] = { tpl: `<button data-panzoom-action="${t[0]}" class="f-button" title="{{${t[1]}}}"><svg>${t[2]}</svg></button>` };
4784
+ const fa = '<circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/>', Eo = '<g><line x1="11" y1="8" x2="11" y2="14"></line></g>' + fa, Hs = { moveLeft: ["moveLeft", "MOVE_LEFT", '<path d="M5 12h14M5 12l6 6M5 12l6-6"/>'], moveRight: ["moveRight", "MOVE_RIGHT", '<path d="M5 12h14M13 18l6-6M13 6l6 6"/>'], moveUp: ["moveUp", "MOVE_UP", '<path d="M12 5v14M18 11l-6-6M6 11l6-6"/>'], moveDown: ["moveDown", "MOVE_DOWN", '<path d="M12 5v14M18 13l-6 6M6 13l6 6"/>'], zoomOut: ["zoomOut", "ZOOM_OUT", fa], zoomIn: ["zoomIn", "ZOOM_IN", Eo], toggleFull: ["toggleFull", "TOGGLE_FULL", Eo], iterateZoom: ["iterateZoom", "ITERATE_ZOOM", Eo], toggle1to1: ["toggleFull", "TOGGLE_FULL", '<path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/>'], rotateCCW: ["rotateCCW", "ROTATE_CCW", '<path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/>'], rotateCW: ["rotateCW", "ROTATE_CW", '<path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/>'], flipX: ["flipX", "FLIP_X", '<path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/>'], flipY: ["flipY", "FLIP_Y", '<path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/>'], reset: ["reset", "RESET", '<path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/>'], toggleFS: ["toggleFS", "TOGGLE_FS", '<g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g>'] }, rs = {};
4785
+ for (const e of Object.keys(Hs)) {
4786
+ const t = Hs[e];
4787
+ rs[e] = { tpl: `<button data-panzoom-action="${t[0]}" class="f-button" title="{{${t[1]}}}"><svg>${t[2]}</svg></button>` };
4788
4788
  }
4789
- var Hs;
4789
+ var zs;
4790
4790
  (function(e) {
4791
4791
  e.Left = "left", e.middle = "middle", e.right = "right";
4792
- })(Hs || (Hs = {}));
4793
- const zs = Object.assign({ counter: { tpl: '<div class="f-counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>' }, download: { tpl: '<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>' }, autoplay: { tpl: '<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>' }, thumbs: { tpl: '<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>' } }, ss), Bs = { absolute: !1, display: { left: [], middle: ["zoomIn", "zoomOut", "toggle1to1", "rotateCCW", "rotateCW", "flipX", "flipY", "reset"], right: [] }, enabled: "auto", items: {} }, pa = () => {
4792
+ })(zs || (zs = {}));
4793
+ const Bs = Object.assign({ counter: { tpl: '<div class="f-counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>' }, download: { tpl: '<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>' }, autoplay: { tpl: '<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>' }, thumbs: { tpl: '<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>' } }, rs), Ns = { absolute: !1, display: { left: [], middle: ["zoomIn", "zoomOut", "toggle1to1", "rotateCCW", "rotateCW", "flipX", "flipY", "reset"], right: [] }, enabled: "auto", items: {} }, pa = () => {
4794
4794
  let e, t;
4795
4795
  function n(s) {
4796
4796
  const a = e?.getOptions().Toolbar;
4797
- let r = (ot(a) ? Object.assign(Object.assign({}, Bs), a) : Bs)[s];
4797
+ let r = (ot(a) ? Object.assign(Object.assign({}, Ns), a) : Ns)[s];
4798
4798
  return r && typeof r == "function" && e ? r(e) : r;
4799
4799
  }
4800
4800
  function o() {
@@ -4810,14 +4810,14 @@ const zs = Object.assign({ counter: { tpl: '<div class="f-counter"><span data-ca
4810
4810
  const p = ((s = e.getPlugins().Thumbs) === null || s === void 0 ? void 0 : s.isEnabled()) || !1, i = u && e.getPlugins().Autoplay || !1, f = e.getPlugins().Fullscreen && (document.fullscreenEnabled || document.webkitFullscreenEnabled);
4811
4811
  if (r === "auto" && (r = d), !r) return;
4812
4812
  t = a.querySelector(".f-carousel__toolbar") || void 0, t || (t = document.createElement("div"), me(t, "f-carousel__toolbar"));
4813
- const h = n("display"), m = mt({}, zs, n("items"));
4813
+ const h = n("display"), m = mt({}, Bs, n("items"));
4814
4814
  for (const w of ["left", "middle", "right"]) {
4815
4815
  const g = h[w] || [], v = document.createElement("div");
4816
4816
  me(v, `f-carousel__toolbar__column is-${w}`);
4817
4817
  for (const y of g) {
4818
4818
  let b;
4819
4819
  if (Fe(y)) {
4820
- if (y === "counter" && !u || y === "autoplay" && !i || ss[y] && !d || y === "fullscreen" && !f || y === "thumbs" && !p || y === "download" && !l) continue;
4820
+ if (y === "counter" && !u || y === "autoplay" && !i || rs[y] && !d || y === "fullscreen" && !f || y === "thumbs" && !p || y === "download" && !l) continue;
4821
4821
  b = m[y];
4822
4822
  }
4823
4823
  if (ot(y) && (b = y), b && b.tpl) {
@@ -4844,16 +4844,16 @@ const zs = Object.assign({ counter: { tpl: '<div class="f-counter"><span data-ca
4844
4844
  }, destroy: function() {
4845
4845
  e?.off("initSlides", o), tt(e?.getContainer(), "has-toolbar has-absolute-toolbar"), t?.remove(), t = void 0;
4846
4846
  }, add: function(s, a) {
4847
- zs[s] = a;
4847
+ Bs[s] = a;
4848
4848
  }, isEnabled: function() {
4849
4849
  return !!t;
4850
4850
  } };
4851
4851
  };
4852
- const Ns = { autoStart: !0, pauseOnHover: !0, showProgressbar: !0, timeout: 2e3 }, tu = () => {
4852
+ const qs = { autoStart: !0, pauseOnHover: !0, showProgressbar: !0, timeout: 2e3 }, tu = () => {
4853
4853
  let e, t, n = !1, o = !1, s = !1, a = null;
4854
4854
  function r(x) {
4855
4855
  const _ = e?.getOptions().Autoplay;
4856
- let $ = (ot(_) ? Object.assign(Object.assign({}, Ns), _) : Ns)[x];
4856
+ let $ = (ot(_) ? Object.assign(Object.assign({}, qs), _) : qs)[x];
4857
4857
  return $ && typeof $ == "function" && e ? $(e) : $;
4858
4858
  }
4859
4859
  function c() {
@@ -5130,11 +5130,11 @@ const nu = () => {
5130
5130
  return u("type");
5131
5131
  }, isEnabled: d };
5132
5132
  };
5133
- const qs = { autosize: !1, iframeAttr: { allow: "autoplay; fullscreen", scrolling: "auto" }, preload: !1 }, ou = () => {
5133
+ const Ws = { autosize: !1, iframeAttr: { allow: "autoplay; fullscreen", scrolling: "auto" }, preload: !1 }, ou = () => {
5134
5134
  let e;
5135
5135
  function t() {
5136
5136
  const f = e?.getOptions().Html;
5137
- return ot(f) ? mt({}, qs, f) : qs;
5137
+ return ot(f) ? mt({}, Ws, f) : Ws;
5138
5138
  }
5139
5139
  function n() {
5140
5140
  return e?.getOptions().Html !== !1;
@@ -5236,7 +5236,7 @@ const qs = { autosize: !1, iframeAttr: { allow: "autoplay; fullscreen", scrollin
5236
5236
  e?.off("addSlide", c), e?.off("attachSlideEl", u), e?.off("detachSlideEl", d), e?.off("refresh", l), e = void 0;
5237
5237
  } };
5238
5238
  };
5239
- const Ws = (e, t = {}) => {
5239
+ const Us = (e, t = {}) => {
5240
5240
  const n = new URL(e), o = new URLSearchParams(n.search), s = new URLSearchParams();
5241
5241
  for (const [c, u] of [...o, ...Object.entries(t)]) {
5242
5242
  let d = u + "";
@@ -5247,12 +5247,12 @@ const Ws = (e, t = {}) => {
5247
5247
  }
5248
5248
  let a = s + "", r = e.match(/#t=((.*)?\d+s)/);
5249
5249
  return r && (a += `#t=${r[1]}`), a;
5250
- }, Us = { autoplay: !1, html5videoTpl: `<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">
5250
+ }, Zs = { autoplay: !1, html5videoTpl: `<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">
5251
5251
  <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn't support embedded videos.</video>`, iframeAttr: { allow: "autoplay; fullscreen", scrolling: "no", referrerPolicy: "strict-origin-when-cross-origin", credentialless: "" }, vimeo: { byline: 1, color: "00adef", controls: 1, dnt: 1, muted: 0 }, youtube: { controls: 1, enablejsapi: 1, nocookie: 1, rel: 0, fs: 1 } }, su = () => {
5252
5252
  let e, t = !1;
5253
5253
  function n() {
5254
5254
  const i = e?.getOptions().Video;
5255
- return ot(i) ? Object.assign(Object.assign({}, Us), i) : Us;
5255
+ return ot(i) ? Object.assign(Object.assign({}, Zs), i) : Zs;
5256
5256
  }
5257
5257
  function o() {
5258
5258
  var i;
@@ -5282,14 +5282,14 @@ const Ws = (e, t = {}) => {
5282
5282
  if (!m || m === "youtube") {
5283
5283
  const w = h.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i);
5284
5284
  if (w) {
5285
- const g = Object.assign(Object.assign({}, n().youtube), f.youtube || {}), v = `www.youtube${g.nocookie ? "-nocookie" : ""}.com`, y = Ws(h, g), b = encodeURIComponent(w[2]);
5285
+ const g = Object.assign(Object.assign({}, n().youtube), f.youtube || {}), v = `www.youtube${g.nocookie ? "-nocookie" : ""}.com`, y = Us(h, g), b = encodeURIComponent(w[2]);
5286
5286
  f.videoId = b, f.src = `https://${v}/embed/${b}?${y}`, f.thumb = f.thumb || `https://i.ytimg.com/vi/${b}/mqdefault.jpg`, m = "youtube";
5287
5287
  }
5288
5288
  }
5289
5289
  if (!m || m === "vimeo") {
5290
5290
  const w = h.match(/^.+vimeo.com\/(?:\/)?(video\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/);
5291
5291
  if (w) {
5292
- const g = Object.assign(Object.assign({}, n().vimeo), f.vimeo || {}), v = Ws(h, g), y = encodeURIComponent(w[2]), b = w[5] || "";
5292
+ const g = Object.assign(Object.assign({}, n().vimeo), f.vimeo || {}), v = Us(h, g), y = encodeURIComponent(w[2]), b = w[5] || "";
5293
5293
  f.videoId = y, f.src = `https://player.vimeo.com/video/${y}?${b ? `h=${b}${v ? "&" : ""}` : ""}${v}`, m = "vimeo";
5294
5294
  }
5295
5295
  }
@@ -5390,11 +5390,11 @@ const Ws = (e, t = {}) => {
5390
5390
  e?.off("addSlide", a), e?.off("attachSlideEl", r), e?.off("detachSlideEl", c), e?.off("ready", d), e?.off("change", u), e?.off("settle", d), e?.off("refresh", p), window.removeEventListener("message", s), e = void 0;
5391
5391
  } };
5392
5392
  };
5393
- const Zs = { autoStart: !1, btnTpl: '<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>' }, Gs = "in-fullscreen-mode", ru = () => {
5393
+ const Gs = { autoStart: !1, btnTpl: '<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>' }, Ys = "in-fullscreen-mode", ru = () => {
5394
5394
  let e;
5395
5395
  function t(l) {
5396
5396
  const p = e?.getOptions().Fullscreen;
5397
- let i = (ot(p) ? Object.assign(Object.assign({}, Zs), p) : Zs)[l];
5397
+ let i = (ot(p) ? Object.assign(Object.assign({}, Gs), p) : Gs)[l];
5398
5398
  return i && typeof i == "function" && e ? i(e) : i;
5399
5399
  }
5400
5400
  function n() {
@@ -5422,7 +5422,7 @@ const Zs = { autoStart: !1, btnTpl: '<button data-fullscreen-action="toggle" cla
5422
5422
  const p = document;
5423
5423
  let i;
5424
5424
  return l || (l = p.documentElement), p.fullscreenEnabled ? i = l.requestFullscreen() : p.webkitFullscreenEnabled && (i = l.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)), i && i.then(() => {
5425
- l.classList.add(Gs);
5425
+ l.classList.add(Ys);
5426
5426
  }), i;
5427
5427
  }
5428
5428
  function u() {
@@ -5430,7 +5430,7 @@ const Zs = { autoStart: !1, btnTpl: '<button data-fullscreen-action="toggle" cla
5430
5430
  let p;
5431
5431
  return l.fullscreenEnabled ? p = l.fullscreenElement && l.exitFullscreen() : l.webkitFullscreenEnabled && (p = l.webkitFullscreenElement && l.webkitExitFullscreen()), p && p.then(() => {
5432
5432
  var i;
5433
- (i = a()) === null || i === void 0 || i.classList.remove(Gs);
5433
+ (i = a()) === null || i === void 0 || i.classList.remove(Ys);
5434
5434
  }), p;
5435
5435
  }
5436
5436
  function d() {
@@ -5453,7 +5453,7 @@ const go = () => {
5453
5453
  }, $o = () => {
5454
5454
  const e = ht?.getInstance(), t = e?.getState();
5455
5455
  return !(!e || t !== 0 && t !== 1);
5456
- }, rs = () => {
5456
+ }, as = () => {
5457
5457
  if (!ht || $o()) return;
5458
5458
  const { urlSlug: e, urlIndex: t } = go();
5459
5459
  if (!e) return;
@@ -5462,7 +5462,7 @@ const go = () => {
5462
5462
  }, Kn = (e) => {
5463
5463
  const t = e.getOptions().Hash, n = e.getSlide();
5464
5464
  return n && (n.slug || n.fancybox || (ot(t) ? t.slug : "")) || "";
5465
- }, Ys = (e) => {
5465
+ }, Xs = (e) => {
5466
5466
  var t, n;
5467
5467
  const o = Kn(e), s = e.getSlide();
5468
5468
  if (!s || !o) return "";
@@ -5477,11 +5477,11 @@ const go = () => {
5477
5477
  for (const r of a || []) if (r.slug === n || (r.fancybox === n || ot(s) && s.slug === n) && r.index === o - 1) return qo = !1, void t.goTo(r.index);
5478
5478
  Wo = !0, e.close(), Wo = !1;
5479
5479
  }
5480
- rs();
5480
+ as();
5481
5481
  }
5482
- }, Xs = () => {
5482
+ }, Ks = () => {
5483
5483
  ht && (ma = setTimeout(() => {
5484
- No = !0, rs(), No = !1;
5484
+ No = !0, as(), No = !1;
5485
5485
  }, 300), window.addEventListener("hashchange", au, !1));
5486
5486
  };
5487
5487
  let An;
@@ -5501,7 +5501,7 @@ const Jn = () => {
5501
5501
  if (!r || !e.getSlide()) return;
5502
5502
  const c = Kn(e);
5503
5503
  if (!c) return;
5504
- const { urlHash: u, urlSlug: d } = go(), l = Ys(e);
5504
+ const { urlHash: u, urlSlug: d } = go(), l = Xs(e);
5505
5505
  u !== l && (t = u), history.scrollRestoration && !An && (An = history.scrollRestoration, history.scrollRestoration = "manual", window.addEventListener("beforeunload", Lo)), r.on("change", o);
5506
5506
  const p = c !== d;
5507
5507
  try {
@@ -5511,7 +5511,7 @@ const Jn = () => {
5511
5511
  }
5512
5512
  function o() {
5513
5513
  if (!e || !e.isTopMost() || e.getOptions().Hash === !1 || !e.getSlide() || !Kn(e)) return;
5514
- const a = Ys(e);
5514
+ const a = Xs(e);
5515
5515
  Mn = !0;
5516
5516
  try {
5517
5517
  window.history.replaceState({}, document.title, window.location.pathname + window.location.search + a);
@@ -5546,15 +5546,15 @@ const Jn = () => {
5546
5546
  a && a.off("change", o), e = void 0, ht?.getInstance() || (Lo(), window.removeEventListener("beforeunload", Lo));
5547
5547
  } };
5548
5548
  };
5549
- Jn.getInfoFromURL = go, Jn.startFromUrl = rs, Jn.setup = function(e) {
5550
- ht || (ht = e, Xn() && (/complete|interactive|loaded/.test(document.readyState) ? Xs() : document.addEventListener("DOMContentLoaded", Xs)));
5549
+ Jn.getInfoFromURL = go, Jn.startFromUrl = as, Jn.setup = function(e) {
5550
+ ht || (ht = e, Xn() && (/complete|interactive|loaded/.test(document.readyState) ? Ks() : document.addEventListener("DOMContentLoaded", Ks)));
5551
5551
  };
5552
- const iu = Object.assign(Object.assign({}, os), { CLOSE: "Close", NEXT: "Next", PREV: "Previous", MODAL: "You can close this modal content with the ESC key", ELEMENT_NOT_FOUND: "HTML Element Not Found", IFRAME_ERROR: "Error Loading Page", NO_CAPTION: "No Caption", TOGGLE_SIDEBAR: "Toggle sidebar" });
5552
+ const iu = Object.assign(Object.assign({}, ss), { CLOSE: "Close", NEXT: "Next", PREV: "Previous", MODAL: "You can close this modal content with the ESC key", ELEMENT_NOT_FOUND: "HTML Element Not Found", IFRAME_ERROR: "Error Loading Page", NO_CAPTION: "No Caption", TOGGLE_SIDEBAR: "Toggle sidebar" });
5553
5553
  const ga = '<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24"><path d="M19.286 4.714 4.714 19.286M4.714 4.714l14.572 14.572" /></svg></button>';
5554
5554
  pa().add("close", { tpl: ga });
5555
5555
  const Mt = (e) => {
5556
5556
  e.cancelable && e.preventDefault();
5557
- }, Ks = (e = null, t = "", n) => {
5557
+ }, Js = (e = null, t = "", n) => {
5558
5558
  if (!e || !e.parentElement || !t) return void (n && n());
5559
5559
  ha(e);
5560
5560
  const o = (s) => {
@@ -5575,7 +5575,7 @@ const Dn = { ajax: null, backdropClick: "close", Carousel: {}, closeButton: "aut
5575
5575
  </div>
5576
5576
  </dialog>`, modal: !0, on: {}, parentEl: void 0, placeFocusBack: !0, showClass: "f-zoomInUp", startIndex: 0, sync: void 0, theme: "dark", triggerEl: void 0, triggerEvent: void 0, zoomEffect: !0 }, It = /* @__PURE__ */ new Map();
5577
5577
  let lu = 0;
5578
- const Js = "with-fancybox", cu = () => {
5578
+ const Qs = "with-fancybox", cu = () => {
5579
5579
  let e, t, n, o, s, a, r, c = Ye.Init, u = Object.assign({}, Dn), d = -1, l = {}, p = [], i = !1, f = !0, h = 0;
5580
5580
  function m(A, ...Z) {
5581
5581
  let ce = u[A];
@@ -5800,7 +5800,7 @@ const Js = "with-fancybox", cu = () => {
5800
5800
  return void ce.spring({ tension: 215, friction: 25, restDelta: 1e-3, restSpeed: 1e-3, maxSpeed: 1 / 0 }).from(N).to({ x: S, y: L, scale: B }).start();
5801
5801
  }
5802
5802
  const U = Z?.getContent() || A.htmlEl;
5803
- U && Ks(U, m("showClass", A));
5803
+ U && Js(U, m("showClass", A));
5804
5804
  }
5805
5805
  function be() {
5806
5806
  var A;
@@ -5918,7 +5918,7 @@ const Js = "with-fancybox", cu = () => {
5918
5918
  }
5919
5919
  }
5920
5920
  const J = S?.htmlEl || ((N = S?.panzoomRef) === null || N === void 0 ? void 0 : N.getWrapper());
5921
- J && ha(J), !O && E && J && (G = !0, Ks(J, E, () => {
5921
+ J && ha(J), !O && E && J && (G = !0, Js(J, E, () => {
5922
5922
  Xe();
5923
5923
  })), O || G ? setTimeout(() => {
5924
5924
  Xe();
@@ -5931,7 +5931,7 @@ const Js = "with-fancybox", cu = () => {
5931
5931
  const S = le();
5932
5932
  v("destroy"), (Z = (A = m("sync")) === null || A === void 0 ? void 0 : A.getPlugins().Autoplay) === null || Z === void 0 || Z.resume(), (N = (ce = m("sync")) === null || ce === void 0 ? void 0 : ce.getPlugins().Autoscroll) === null || N === void 0 || N.resume(), e instanceof HTMLDialogElement && e.close(), (U = o?.getContainer()) === null || U === void 0 || U.classList.remove("is-idle"), o?.destroy();
5933
5933
  for (const L of Object.values(l)) L?.destroy();
5934
- if (l = {}, e?.remove(), e = void 0, t = void 0, o = void 0, It.delete(d), !It.size && (ws(!1), document.documentElement.classList.remove(Js), m("placeFocusBack") && S && !S.closest("[inert]"))) try {
5934
+ if (l = {}, e?.remove(), e = void 0, t = void 0, o = void 0, It.delete(d), !It.size && (Ss(!1), document.documentElement.classList.remove(Qs), m("placeFocusBack") && S && !S.closest("[inert]"))) try {
5935
5935
  S?.focus({ preventScroll: !0 });
5936
5936
  } catch {
5937
5937
  }
@@ -5983,7 +5983,7 @@ const Js = "with-fancybox", cu = () => {
5983
5983
  h && ye - h < 300 ? J && Mt(E) : (h = ye, v("wheel", E, fe), E.defaultPrevented || (G === "close" ? dt(E) : G === "slide" && o && !on(O) && (Mt(E), o[fe > 0 ? "prev" : "next"]())));
5984
5984
  }, { capture: !0, passive: !1 }), e.addEventListener("cancel", (E) => {
5985
5985
  dt(E);
5986
- }), N.append(e), It.size === 1 && (m("hideScrollbar") && ws(!0), document.documentElement.classList.add(Js)), v("initLayout"), e instanceof HTMLDialogElement && (m("modal") ? e.showModal() : e.show());
5986
+ }), N.append(e), It.size === 1 && (m("hideScrollbar") && Ss(!0), document.documentElement.classList.add(Qs)), v("initLayout"), e instanceof HTMLDialogElement && (m("modal") ? e.showModal() : e.show());
5987
5987
  })(), (function() {
5988
5988
  if (n = e?.querySelector(".fancybox__carousel") || void 0, !n) return;
5989
5989
  n.fancybox = Be;
@@ -6014,13 +6014,13 @@ const Js = "with-fancybox", cu = () => {
6014
6014
  } };
6015
6015
  return Be;
6016
6016
  };
6017
- function Qs() {
6017
+ function er() {
6018
6018
  for (const e of Object.values(qe.Plugins)) {
6019
6019
  const t = e.setup;
6020
6020
  typeof t == "function" && t(qe);
6021
6021
  }
6022
6022
  }
6023
- function er(e, t = {}) {
6023
+ function tr(e, t = {}) {
6024
6024
  var n, o, s;
6025
6025
  if (!(e && e instanceof Element)) return;
6026
6026
  let a, r, c, u, d = {};
@@ -6073,7 +6073,7 @@ const qe = { Plugins: { Hash: Jn }, version: "6.1.14", openers: /* @__PURE__ */
6073
6073
  e instanceof Element && (s = e), Fe(e) && Fe(t) ? (a = e, r = t) : Fe(t) && Fe(n) ? (a = t, r = n) : Fe(t) ? r = t : Fe(e) && (r = e), typeof t == "object" && (c = t || {}), typeof n == "object" && (c = n || {}), typeof o == "object" && (c = o || {}), (function(u, d, l, p = {}) {
6074
6074
  if (!(u && u instanceof Element && l)) return;
6075
6075
  const i = qe.openers.get(u) || /* @__PURE__ */ new Map(), f = i.get(d) || /* @__PURE__ */ new Map();
6076
- f.set(l, p), i.set(d, f), qe.openers.set(u, i), i.size === 1 && u.addEventListener("click", qe.fromEvent), Qs();
6076
+ f.set(l, p), i.set(d, f), qe.openers.set(u, i), i.size === 1 && u.addEventListener("click", qe.fromEvent), er();
6077
6077
  })(s, a, r, c);
6078
6078
  }, close: function(e = !0, ...t) {
6079
6079
  if (e) for (const n of It.values()) n.close(...t);
@@ -6096,7 +6096,7 @@ const qe = { Plugins: { Hash: Jn }, version: "6.1.14", openers: /* @__PURE__ */
6096
6096
  const s = o.dataset.fancyboxDelegate || "", a = document.querySelectorAll(`[data-fancybox="${s}"]`), r = parseInt(o.dataset.fancyboxIndex || "", 10) || 0;
6097
6097
  t = a[r] || a[0], mt(n, { delegateEl: o, startIndex: r });
6098
6098
  }
6099
- return er(t, n);
6099
+ return tr(t, n);
6100
6100
  }, fromNodes: function(e, t) {
6101
6101
  t = mt({}, Dn, t || {});
6102
6102
  const n = [], o = (s) => s instanceof HTMLImageElement ? s : s instanceof HTMLElement ? s.querySelector("img:not([aria-hidden])") : void 0;
@@ -6117,7 +6117,7 @@ const qe = { Plugins: { Hash: Jn }, version: "6.1.14", openers: /* @__PURE__ */
6117
6117
  const h = s.querySelector((l ? `${l} ` : "") + r);
6118
6118
  if (h && h.matches(i)) return qe.fromTriggerEl(h, c);
6119
6119
  }
6120
- }, fromTriggerEl: er, getCarousel: function() {
6120
+ }, fromTriggerEl: tr, getCarousel: function() {
6121
6121
  var e;
6122
6122
  return ((e = qe.getInstance()) === null || e === void 0 ? void 0 : e.getCarousel()) || void 0;
6123
6123
  }, getDefaults: function() {
@@ -6134,7 +6134,7 @@ const qe = { Plugins: { Hash: Jn }, version: "6.1.14", openers: /* @__PURE__ */
6134
6134
  var e;
6135
6135
  return ((e = qe.getInstance()) === null || e === void 0 ? void 0 : e.getSlide()) || void 0;
6136
6136
  }, show: function(e = [], t = {}) {
6137
- return Qs(), cu().init(e, t);
6137
+ return er(), cu().init(e, t);
6138
6138
  }, unbind: function(e, t, n) {
6139
6139
  if (!Xn()) return;
6140
6140
  let o = document.body, s = null, a = "[data-fancybox]";
@@ -7375,7 +7375,7 @@ const vt = new Mu(), Ou = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7375
7375
  i.event && e.methods.fireEvent(i.event, l), i.handler && typeof i.handler == "function" && i.handler(l);
7376
7376
  }), p.appendChild(f);
7377
7377
  }), n.appendChild(p);
7378
- }, tr = {
7378
+ }, nr = {
7379
7379
  green: "bg-green-100 text-green-800",
7380
7380
  red: "bg-red-100 text-red-800",
7381
7381
  yellow: "bg-yellow-100 text-yellow-800",
@@ -7387,7 +7387,7 @@ const vt = new Mu(), Ou = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7387
7387
  }, Bu = (e) => (t, n, o, s, a, r, c) => {
7388
7388
  if (n.innerHTML = "", n.classList.add("spark-table-cell-badge"), !r)
7389
7389
  return;
7390
- const d = (c.rendererConfig || {}).colorMap || {}, l = d[r] || d[r?.toLowerCase()] || "gray", p = tr[l] || tr.gray, i = document.createElement("span");
7390
+ const d = (c.rendererConfig || {}).colorMap || {}, l = d[r] || d[r?.toLowerCase()] || "gray", p = nr[l] || nr.gray, i = document.createElement("span");
7391
7391
  i.classList.add(
7392
7392
  "inline-flex",
7393
7393
  "items-center",
@@ -7399,7 +7399,7 @@ const vt = new Mu(), Ou = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7399
7399
  "capitalize",
7400
7400
  ...p.split(" ")
7401
7401
  ), i.textContent = r, n.appendChild(i);
7402
- }, nr = {
7402
+ }, or = {
7403
7403
  green: { bg: "bg-green-100", text: "text-green-500" },
7404
7404
  red: { bg: "bg-red-100", text: "text-red-500" },
7405
7405
  yellow: { bg: "bg-yellow-100", text: "text-yellow-500" },
@@ -7420,7 +7420,7 @@ const vt = new Mu(), Ou = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7420
7420
  return !1;
7421
7421
  }, qu = (e) => (t, n, o, s, a, r, c) => {
7422
7422
  n.innerHTML = "", n.classList.add("spark-table-cell-boolean");
7423
- const u = c.rendererConfig || {}, d = Nu(r), l = d ? u.trueIcon || "check" : u.falseIcon || "xmark", p = d ? u.trueColor || "green" : u.falseColor || "red", i = u.size || 32, f = u.iconPrefix || "far", h = nr[p] || nr.gray;
7423
+ const u = c.rendererConfig || {}, d = Nu(r), l = d ? u.trueIcon || "check" : u.falseIcon || "xmark", p = d ? u.trueColor || "green" : u.falseColor || "red", i = u.size || 32, f = u.iconPrefix || "far", h = or[p] || or.gray;
7424
7424
  n.dataset.copyValue = d ? "true" : "false";
7425
7425
  const m = document.createElement("div");
7426
7426
  m.classList.add(
@@ -7467,14 +7467,14 @@ const vt = new Mu(), Ou = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7467
7467
  p.href = l, p.textContent = r, p.classList.add("text-primary-600", "hover:text-primary-900", "hover:underline"), u.target && (p.target = u.target), u.rel && (p.rel = u.rel), p.addEventListener("click", (i) => {
7468
7468
  i.stopPropagation();
7469
7469
  }), n.appendChild(p);
7470
- }, or = {
7470
+ }, sr = {
7471
7471
  sm: "h-6 w-6",
7472
7472
  md: "h-8 w-8",
7473
7473
  lg: "h-12 w-12"
7474
7474
  }, Gu = (e) => (t, n, o, s, a, r, c) => {
7475
7475
  if (n.innerHTML = "", n.classList.add("spark-table-cell-image"), !r)
7476
7476
  return;
7477
- const u = c.rendererConfig || {}, d = t.getSourceDataAtRow(t.toPhysicalRow(o)), l = u.size || "md", p = or[l] || or.md, i = u.rounded !== !1, f = u.lightbox || !1, h = u.group || "table-images";
7477
+ const u = c.rendererConfig || {}, d = t.getSourceDataAtRow(t.toPhysicalRow(o)), l = u.size || "md", p = sr[l] || sr.md, i = u.rounded !== !1, f = u.lightbox || !1, h = u.group || "table-images";
7478
7478
  let m = u.alt || "";
7479
7479
  typeof u.alt == "string" && d[u.alt] && (m = d[u.alt]);
7480
7480
  const w = document.createElement("img");
@@ -7540,7 +7540,7 @@ const Ku = (e) => {
7540
7540
  isPM: o,
7541
7541
  quarter: Math.ceil(e.month / 3)
7542
7542
  };
7543
- }, sr = (e, t = !0) => {
7543
+ }, rr = (e, t = !0) => {
7544
7544
  if (!e.offsetNanoseconds && e.offsetNanoseconds !== 0)
7545
7545
  return "";
7546
7546
  const n = Math.round(e.offsetNanoseconds / 6e10), o = n >= 0 ? "+" : "-", s = Math.abs(n), a = Math.floor(s / 60), r = s % 60;
@@ -7584,8 +7584,8 @@ const Ku = (e) => {
7584
7584
  ["A", () => n.isPM ? "PM" : "AM"],
7585
7585
  ["a", () => n.isPM ? "pm" : "am"],
7586
7586
  // Timezone offset
7587
- ["ZZ", () => sr(e, !1)],
7588
- ["Z", () => sr(e, !0)],
7587
+ ["ZZ", () => rr(e, !1)],
7588
+ ["Z", () => rr(e, !0)],
7589
7589
  // Quarter
7590
7590
  ["Q", () => String(n.quarter)],
7591
7591
  // Unix timestamp
@@ -7903,7 +7903,7 @@ const Ku = (e) => {
7903
7903
  ]);
7904
7904
  };
7905
7905
  }
7906
- }, kd = /* @__PURE__ */ En(Sd, [["__scopeId", "data-v-9ef8544b"]]), rr = {
7906
+ }, kd = /* @__PURE__ */ En(Sd, [["__scopeId", "data-v-9ef8544b"]]), ar = {
7907
7907
  __name: "SparkTableToolbar",
7908
7908
  props: {
7909
7909
  position: {
@@ -8203,7 +8203,7 @@ const Ku = (e) => {
8203
8203
  }, qd = {
8204
8204
  page: 1,
8205
8205
  limit: Uo.limit
8206
- }, ar = {
8206
+ }, ir = {
8207
8207
  colHeaders: !0,
8208
8208
  filters: !1,
8209
8209
  stretchH: "all",
@@ -8256,7 +8256,7 @@ const Ku = (e) => {
8256
8256
  settings: {
8257
8257
  type: Object,
8258
8258
  default() {
8259
- return ar;
8259
+ return ir;
8260
8260
  }
8261
8261
  },
8262
8262
  plugins: {
@@ -8394,7 +8394,7 @@ const Ku = (e) => {
8394
8394
  (x) => typeof x.wordWrap == "object" && x.wordWrap?.maxLines
8395
8395
  ), b = o.settings.afterRenderer;
8396
8396
  return {
8397
- ...ar,
8397
+ ...ir,
8398
8398
  nestedHeaders: Nt(o.settings, "nestedHeaders", []),
8399
8399
  ...!Nt(o.settings, "nestedHeaders") && {
8400
8400
  afterGetColHeader: (x, _) => Vu(x, _, i)
@@ -8467,13 +8467,13 @@ const Ku = (e) => {
8467
8467
  persistToStorage: o.persistToStorage
8468
8468
  });
8469
8469
  }
8470
- return ls(
8470
+ return cs(
8471
8471
  () => o.params,
8472
8472
  async () => {
8473
8473
  i.params.page = 1, await i.methods.loadTable();
8474
8474
  },
8475
8475
  { debounce: 50, maxWait: 1e3 }
8476
- ), ls(
8476
+ ), cs(
8477
8477
  () => i.params,
8478
8478
  async () => {
8479
8479
  await i.methods.loadTable();
@@ -8506,7 +8506,7 @@ const Ku = (e) => {
8506
8506
  class: "spark-table",
8507
8507
  style: Po(s.value)
8508
8508
  }, [
8509
- i.computed.ready && w.value && w.value.length ? (C(), Me(rr, {
8509
+ i.computed.ready && w.value && w.value.length ? (C(), Me(ar, {
8510
8510
  key: 0,
8511
8511
  position: "header"
8512
8512
  }, {
@@ -8540,7 +8540,7 @@ const Ku = (e) => {
8540
8540
  }, null, 8, ["icon"]),
8541
8541
  v[0] || (v[0] = T("p", { class: "text-sm" }, "No records found", -1))
8542
8542
  ])) : ie("", !0),
8543
- i.computed.ready ? (C(), Me(rr, {
8543
+ i.computed.ready ? (C(), Me(ar, {
8544
8544
  key: 3,
8545
8545
  position: "footer"
8546
8546
  }, {
@@ -8572,7 +8572,7 @@ const Ku = (e) => {
8572
8572
  };
8573
8573
  }
8574
8574
  }, Ud = 1e3;
8575
- function ir() {
8575
+ function lr() {
8576
8576
  const e = _t({
8577
8577
  isVisible: !1,
8578
8578
  content: null,
@@ -8599,7 +8599,9 @@ function ir() {
8599
8599
  o = { action: "show", args: [] };
8600
8600
  return;
8601
8601
  }
8602
- e.isVisible || (e.isVisible = !0, a() ? d("entering") : n = "open");
8602
+ e.isVisible || (e.isVisible = !0, a() ? (d("entering"), Zo(() => {
8603
+ n === "entering" && l("open");
8604
+ })) : n = "open");
8603
8605
  }, i = () => {
8604
8606
  if (a() && r()) {
8605
8607
  o = { action: "close" };
@@ -8649,7 +8651,7 @@ function ir() {
8649
8651
  }
8650
8652
  };
8651
8653
  }
8652
- const lr = (e, t) => ({
8654
+ const cr = (e, t) => ({
8653
8655
  ...e,
8654
8656
  close: () => {
8655
8657
  e.close?.(), t();
@@ -8657,13 +8659,13 @@ const lr = (e, t) => ({
8657
8659
  });
8658
8660
  class Zd {
8659
8661
  constructor() {
8660
- this.left = ir(), this.right = ir();
8662
+ this.left = lr(), this.right = lr();
8661
8663
  }
8662
8664
  showLeft = (t, n = {}, o = {}, s = {}) => {
8663
- this.left.show(t, n, lr(o, this.closeLeft), s);
8665
+ this.left.show(t, n, cr(o, this.closeLeft), s);
8664
8666
  };
8665
8667
  showRight = (t, n = {}, o = {}, s = {}) => {
8666
- this.right.show(t, n, lr(o, this.closeRight), s);
8668
+ this.right.show(t, n, cr(o, this.closeRight), s);
8667
8669
  };
8668
8670
  closeLeft = () => {
8669
8671
  this.left.close();
@@ -8857,7 +8859,7 @@ function lo() {
8857
8859
  function ef(e) {
8858
8860
  return e?.status !== 422 ? null : e.data?.errors || null;
8859
8861
  }
8860
- function cr(e) {
8862
+ function ur(e) {
8861
8863
  return e?.status === 422 ? e.data?.message || "Please fix the validation errors." : e?.data?.message || "An error occurred.";
8862
8864
  }
8863
8865
  function tf(e) {
@@ -8901,12 +8903,12 @@ function dm(e = {}) {
8901
8903
  const $ = ef(_);
8902
8904
  $ && y && d && y.setErrors([], $), l && nt.show({
8903
8905
  type: "danger",
8904
- message: cr(_)
8906
+ message: ur(_)
8905
8907
  });
8906
8908
  } else
8907
8909
  nt.show({
8908
8910
  type: "danger",
8909
- message: cr(_)
8911
+ message: ur(_)
8910
8912
  });
8911
8913
  return { success: !1, data: null, error: x };
8912
8914
  } finally {
@@ -9204,7 +9206,7 @@ const hm = [
9204
9206
  () => n.mainNavStore.state.menu.filter((g) => g.footerSection).flatMap((g) => g.children || [])
9205
9207
  ), d = aa(), l = oa(), p = te(() => l.getAppIcon(n.appStore.state.app)), i = te(() => a.meta.hideBrandSelector === !0 ? !1 : n.appStore.state.showBrandSelector), f = () => {
9206
9208
  const g = {};
9207
- s["app-selector-bottom"] ? g.bottomSlot = () => is("div", {}, s["app-selector-bottom"]()) : n.appSelectorSlots.bottomSlot && (g.bottomSlot = n.appSelectorSlots.bottomSlot), s["app-selector-footer"] ? g.footerSlot = () => is("div", {}, s["app-selector-footer"]()) : n.appSelectorSlots.footerSlot && (g.footerSlot = n.appSelectorSlots.footerSlot), Ft.showRight(
9209
+ s["app-selector-bottom"] ? g.bottomSlot = () => ls("div", {}, s["app-selector-bottom"]()) : n.appSelectorSlots.bottomSlot && (g.bottomSlot = n.appSelectorSlots.bottomSlot), s["app-selector-footer"] ? g.footerSlot = () => ls("div", {}, s["app-selector-footer"]()) : n.appSelectorSlots.footerSlot && (g.footerSlot = n.appSelectorSlots.footerSlot), Ft.showRight(
9208
9210
  xc,
9209
9211
  g,
9210
9212
  {
@@ -10157,10 +10159,10 @@ function Em(e, t = {}) {
10157
10159
  }) ? (rf(), u()) : u(!1);
10158
10160
  });
10159
10161
  }
10160
- function ur(e) {
10162
+ function dr(e) {
10161
10163
  return e !== void 0 && e !== !1;
10162
10164
  }
10163
- function dr(e, t, n) {
10165
+ function fr(e, t, n) {
10164
10166
  const o = e.props.iconHandler;
10165
10167
  if (!o) return;
10166
10168
  const s = `_raw${t.charAt(0).toUpperCase()}${t.slice(1)}`;
@@ -10177,12 +10179,12 @@ function dr(e, t, n) {
10177
10179
  }
10178
10180
  function Tm() {
10179
10181
  return function(t) {
10180
- t.props.type === "password" && (t.addProps(["toggleVisibility", "showPrefixLock"]), ur(t.props.toggleVisibility) && (dr(t, "suffixIcon", "farEyeSlash"), t.addProps(["onSuffixIconClick"]), t.props.onSuffixIconClick = (n) => {
10182
+ t.props.type === "password" && (t.addProps(["toggleVisibility", "showPrefixLock"]), dr(t.props.toggleVisibility) && (fr(t, "suffixIcon", "farEyeSlash"), t.addProps(["onSuffixIconClick"]), t.props.onSuffixIconClick = (n) => {
10181
10183
  const o = document.getElementById(n.props.id);
10182
10184
  if (!o) return;
10183
10185
  const s = o.type === "password";
10184
10186
  o.type = s ? "text" : "password", n.props.suffixIcon = s ? "farEye" : "farEyeSlash";
10185
- }), ur(t.props.showPrefixLock) && dr(t, "prefixIcon", "farLock"));
10187
+ }), dr(t.props.showPrefixLock) && fr(t, "prefixIcon", "farLock"));
10186
10188
  };
10187
10189
  }
10188
10190
  const _m = jn("sparkNav", () => {
@@ -10277,7 +10279,7 @@ export {
10277
10279
  kd as SparkTablePaginationPerPage,
10278
10280
  Hd as SparkTableReset,
10279
10281
  Td as SparkTableSearch,
10280
- rr as SparkTableToolbar,
10282
+ ar as SparkTableToolbar,
10281
10283
  tm as SparkToastContainer,
10282
10284
  sm as SparkTooltip,
10283
10285
  Jp as addIcons,
@@ -10298,7 +10300,7 @@ export {
10298
10300
  Gd as getCookie,
10299
10301
  sf as getDirtyFormMessage,
10300
10302
  ya as getDomain,
10301
- cr as getFormLevelMessage,
10303
+ ur as getFormLevelMessage,
10302
10304
  of as hasAnyDirtyForm,
10303
10305
  tf as isValidationError,
10304
10306
  od as parseDatetime,
@@ -10324,7 +10326,7 @@ export {
10324
10326
  Dt as useSparkAuthStore,
10325
10327
  aa as useSparkBrandFilterStore,
10326
10328
  _m as useSparkNavStore,
10327
- ir as useSparkOverlay,
10329
+ lr as useSparkOverlay,
10328
10330
  ld as useSparkTableRouteSync,
10329
10331
  mm as useSubNavigation,
10330
10332
  pm as useTableDelete