@wishbone-media/spark 0.43.0 → 0.45.0

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,11 +1,11 @@
1
- import { ref as ke, reactive as Et, watch as et, onMounted as Gt, nextTick as fa, onUnmounted as Fn, createElementBlock as P, openBlock as T, createElementVNode as _, Fragment as ze, renderList as st, toDisplayString as xe, withDirectives as Qt, createCommentVNode as he, createTextVNode as qe, vModelText as po, vModelSelect as pa, vShow as ar, computed as Q, shallowRef as ma, getCurrentScope as ga, onScopeDispose as ha, shallowReadonly as un, unref as ne, resolveComponent as Ue, normalizeClass as _e, createVNode as oe, renderSlot as Ke, createBlock as Me, resolveDynamicComponent as vt, markRaw as wn, Transition as ir, withCtx as we, normalizeProps as va, mergeProps as wt, Teleport as lr, TransitionGroup as Tn, inject as ao, onUpdated as cr, provide as ya, resolveDirective as ba, useSlots as Bo, normalizeStyle as ss, withModifiers as Xe, toHandlers as ur, h as rs } from "vue";
1
+ import { ref as ke, reactive as Et, watch as et, onMounted as Gt, nextTick as da, onUnmounted as Fn, createElementBlock as P, openBlock as T, createElementVNode as _, Fragment as ze, renderList as st, toDisplayString as xe, withDirectives as Qt, createCommentVNode as he, createTextVNode as qe, vModelText as po, vModelSelect as fa, vShow as ar, computed as Q, shallowRef as pa, getCurrentScope as ma, onScopeDispose as ga, shallowReadonly as un, unref as ne, resolveComponent as Ue, normalizeClass as _e, createVNode as oe, renderSlot as Ke, createBlock as Me, resolveDynamicComponent as vt, markRaw as wn, Transition as ir, withCtx as we, normalizeProps as ha, mergeProps as wt, Teleport as lr, TransitionGroup as Tn, inject as ao, onUpdated as cr, provide as va, resolveDirective as ya, useSlots as Bo, normalizeStyle as ss, withModifiers as Xe, toHandlers as ur, h as rs } from "vue";
2
2
  import { icon as Wt, library as dr } from "@fortawesome/fontawesome-svg-core";
3
3
  import { FontAwesomeIcon as Zn } from "@fortawesome/vue-fontawesome";
4
- import { faArrowUpRightFromSquare as xa, faCopy as wa, faCircleDot as fr, faEyeDropper as pr, faAnglesLeft as mr, faAnglesRight as gr, faStar as hr, faSpinnerThird as vr, faCircle as Sa, faFile as Mo, faCalendar as yr, faArrowUp as br, faArrowDown as xr, faPlus as wr, faCircleCheck as ka, faInbox as Ea, faCloudArrowUp as Ta, faCloudDownload as Ca, faBolt as _a, faUndo as $a, faEye as Ma, faSignOut as La, faXmark as Lo, faTrash as Sr, faTimes as Oa, faStreetView as Pa, faSortUp as Aa, faSortDown as Ra, faSort as Fa, faScaleBalanced as Ia, faSatelliteDish as Da, faLayerPlus as ja, faLaptopMobile as Ha, faInfoCircle as Va, faGripDotsVertical as kr, faGearComplex as za, faFlag as Na, faFaceSmileWink as Ba, faFaceSmileRelaxed as qa, faExclamationTriangle as Wa, faEllipsisVertical as Ua, faEllipsis as Za, faEdit as Ga, faComments as Ya, faCircleXmark as Xa, faCircleUser as Ka, faChevronUp as Ja, faChevronRight as Er, faChevronLeft as Tr, faChevronDown as Cr, faCheckCircle as Qa, faCheck as Oo, faBullhorn as ei, faBellRing as ti, faBarsSort as ni, faArrowRightToLine as oi, faArrowLeftToLine as si } from "@fortawesome/pro-regular-svg-icons";
4
+ import { faArrowUpRightFromSquare as ba, faCopy as xa, faCircleDot as fr, faEyeDropper as pr, faAnglesLeft as mr, faAnglesRight as gr, faStar as wa, faSpinnerThird as hr, faCircle as Sa, faFile as Mo, faCalendar as vr, faArrowUp as yr, faArrowDown as br, faPlus as xr, faCircleCheck as ka, faInbox as Ea, faCloudArrowUp as Ta, faCloudDownload as Ca, faBolt as _a, faUndo as $a, faEye as Ma, faSignOut as La, faXmark as Lo, faTrash as wr, faTimes as Oa, faStreetView as Pa, faSortUp as Aa, faSortDown as Ra, faSort as Fa, faScaleBalanced as Ia, faSatelliteDish as Da, faLayerPlus as ja, faLaptopMobile as Ha, faInfoCircle as Va, faGripDotsVertical as Sr, faGearComplex as za, faFlag as Na, faFaceSmileWink as Ba, faFaceSmileRelaxed as qa, faExclamationTriangle as Wa, faEllipsisVertical as Ua, faEllipsis as Za, faEdit as Ga, faComments as Ya, faCircleXmark as Xa, faCircleUser as Ka, faChevronUp as Ja, faChevronRight as kr, faChevronLeft as Er, faChevronDown as Tr, faCheckCircle as Qa, faCheck as Oo, faBullhorn as ei, faBellRing as ti, faBarsSort as ni, faArrowRightToLine as oi, faArrowLeftToLine as si } from "@fortawesome/pro-regular-svg-icons";
5
5
  import { faSortUp as ri, faSortDown as ai, faSort as ii } from "@fortawesome/pro-duotone-svg-icons";
6
6
  import { defineStore as In } from "pinia";
7
7
  import { useRoute as Dt, useRouter as Tt, onBeforeRouteLeave as li } from "vue-router";
8
- import { TransitionRoot as _r, Dialog as $r, TransitionChild as Kn, DialogPanel as Mr } from "@headlessui/vue";
8
+ import { TransitionRoot as Cr, Dialog as _r, TransitionChild as Kn, DialogPanel as $r } from "@headlessui/vue";
9
9
  import mo from "nprogress";
10
10
  import { range as ci, get as zt, find as ui, has as di } from "lodash";
11
11
  import { HotTable as fi } from "@handsontable/vue3";
@@ -13,7 +13,7 @@ import "handsontable/styles/handsontable.css";
13
13
  import "handsontable/styles/ht-theme-classic.css";
14
14
  import { registerPlugin as Vn, AutoColumnSize as pi, CopyPaste as mi, StretchColumns as gi, NestedHeaders as hi } from "handsontable/plugins";
15
15
  import { registerAllCellTypes as vi } from "handsontable/cellTypes";
16
- import { useDebounceFn as Lr, watchDebounced as as } from "@vueuse/core";
16
+ import { useDebounceFn as Mr, watchDebounced as as } from "@vueuse/core";
17
17
  import { registerRenderer as yi, baseRenderer as bi } from "handsontable/renderers";
18
18
  import vn from "axios";
19
19
  function xi(e, t) {
@@ -27,10 +27,10 @@ const wi = (e) => {
27
27
  p.set("callback", a + ".maps." + l), xi(n, "https://maps.googleapis.com/maps/api/js?" + p), d[l] = m, n.onerror = () => t = g(Error(r + " could not load.")), n.nonce = i.querySelector("script[nonce]")?.nonce || "", i.head.append(n);
28
28
  }));
29
29
  d[s] ? console.warn(r + " only loads once. Ignoring:", e) : d[s] = (m, ...g) => u.add(m) && y().then(() => d[s](m, ...g));
30
- }, Si = (e) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`, ki = (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.`, Ei = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", Ti = "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.", Or = process.env.NODE_ENV !== "production", qo = Or ? (e) => {
30
+ }, Si = (e) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`, ki = (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.`, Ei = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", Ti = "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.", Lr = process.env.NODE_ENV !== "production", qo = Lr ? (e) => {
31
31
  console.warn(`[@googlemaps/js-api-loader] ${e}`);
32
32
  } : () => {
33
- }, Ci = Or ? (e) => {
33
+ }, Ci = Lr ? (e) => {
34
34
  console.info(`[@googlemaps/js-api-loader] ${e}`);
35
35
  } : () => {
36
36
  }, _i = process.env.NODE_ENV !== "production";
@@ -74,7 +74,7 @@ const Pi = { class: "spark-address-input" }, Ai = ["disabled"], Ri = ["selected"
74
74
  "stroke-linecap": "round",
75
75
  "stroke-linejoin": "round",
76
76
  d: "M12 4v16m8-8H4"
77
- }, zi = ["disabled"], Ni = { class: "mt-3 grid grid-cols-2 gap-2" }, Bi = ["disabled"], qi = ["disabled"], Wi = ["disabled"], Ui = ["value"], Zi = ["disabled"], Gi = { class: "col-span-2 text-right" }, Yi = ["disabled"], Ip = {
77
+ }, zi = ["disabled"], Ni = { class: "mt-3 grid grid-cols-2 gap-2" }, Bi = ["disabled"], qi = ["disabled"], Wi = ["disabled"], Ui = ["value"], Zi = ["disabled"], Gi = { class: "col-span-2 text-right" }, Yi = ["disabled"], Dp = {
78
78
  __name: "SparkAddressInput",
79
79
  props: {
80
80
  modelValue: {
@@ -206,7 +206,7 @@ const Pi = { class: "spark-address-input" }, Ai = ["disabled"], Ri = ["selected"
206
206
  return Gt(() => {
207
207
  r.value === "autocomplete" && p();
208
208
  }), et(r, async (v) => {
209
- v === "autocomplete" && (await fa(), p());
209
+ v === "autocomplete" && (await da(), p());
210
210
  }), Fn(() => {
211
211
  i = !0, l && (l.removeEventListener("gmp-select", y), l = null);
212
212
  }), (v, k) => (T(), P("div", Pi, [
@@ -316,7 +316,7 @@ const Pi = { class: "spark-address-input" }, Ai = ["disabled"], Ri = ["selected"
316
316
  value: x
317
317
  }, xe(x), 9, Ui))), 128))
318
318
  ], 40, Wi), [
319
- [pa, c.state]
319
+ [fa, c.state]
320
320
  ]),
321
321
  Qt(_("input", {
322
322
  "onUpdate:modelValue": k[6] || (k[6] = (x) => c.postcode = x),
@@ -368,7 +368,7 @@ function on(e) {
368
368
  function jn(e) {
369
369
  return e.split("-")[1];
370
370
  }
371
- function Pr(e) {
371
+ function Or(e) {
372
372
  return e === "x" ? "y" : "x";
373
373
  }
374
374
  function Wo(e) {
@@ -379,7 +379,7 @@ function qt(e) {
379
379
  return t === "t" || t === "b" ? "y" : "x";
380
380
  }
381
381
  function Uo(e) {
382
- return Pr(qt(e));
382
+ return Or(qt(e));
383
383
  }
384
384
  function Ki(e, t, n) {
385
385
  n === void 0 && (n = !1);
@@ -425,7 +425,7 @@ function ol(e) {
425
425
  ...e
426
426
  };
427
427
  }
428
- function Ar(e) {
428
+ function Pr(e) {
429
429
  return typeof e != "number" ? ol(e) : {
430
430
  top: e,
431
431
  right: e,
@@ -515,7 +515,7 @@ async function sl(e, t) {
515
515
  elementContext: d = "floating",
516
516
  altBoundary: u = !1,
517
517
  padding: p = 0
518
- } = Dn(t, e), y = Ar(p), g = l[u ? d === "floating" ? "reference" : "floating" : d], h = eo(await a.getClippingRect({
518
+ } = Dn(t, e), y = Pr(p), g = l[u ? d === "floating" ? "reference" : "floating" : d], h = eo(await a.getClippingRect({
519
519
  element: (n = await (a.isElement == null ? void 0 : a.isElement(g))) == null || n ? g : g.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)),
520
520
  boundary: c,
521
521
  rootBoundary: f,
@@ -626,7 +626,7 @@ const rl = 50, al = async (e, t, n) => {
626
626
  } = Dn(e, t) || {};
627
627
  if (c == null)
628
628
  return {};
629
- const d = Ar(f), u = {
629
+ const d = Pr(f), u = {
630
630
  x: n,
631
631
  y: o
632
632
  }, p = Uo(r), y = Wo(p), m = await s.getDimensions(c), g = p === "y", h = g ? "top" : "left", b = g ? "bottom" : "right", v = g ? "clientHeight" : "clientWidth", k = a.reference[y] + a.reference[p] - u[p] - a.floating[y], x = u[p] - a.reference[p], L = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
@@ -805,7 +805,7 @@ const dl = function(e) {
805
805
  } = Dn(e, t), f = {
806
806
  x: n,
807
807
  y: o
808
- }, d = await a.detectOverflow(t, c), u = qt(on(r)), p = Pr(u);
808
+ }, d = await a.detectOverflow(t, c), u = qt(on(r)), p = Or(u);
809
809
  let y = f[p], m = f[u];
810
810
  if (s) {
811
811
  const h = p === "y" ? "top" : "left", b = p === "y" ? "bottom" : "right", v = y + d[h], k = y - d[b];
@@ -931,14 +931,14 @@ function Ut(e) {
931
931
  );
932
932
  return ds(t) ? t.host : t;
933
933
  }
934
- function Rr(e) {
934
+ function Ar(e) {
935
935
  const t = Ut(e);
936
- return kn(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : jt(t) && Hn(t) ? t : Rr(t);
936
+ return kn(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : jt(t) && Hn(t) ? t : Ar(t);
937
937
  }
938
938
  function Pn(e, t, n) {
939
939
  var o;
940
940
  t === void 0 && (t = []), n === void 0 && (n = !0);
941
- const r = Rr(e), a = r === ((o = e.ownerDocument) == null ? void 0 : o.body), s = pt(r);
941
+ const r = Ar(e), a = r === ((o = e.ownerDocument) == null ? void 0 : o.body), s = pt(r);
942
942
  if (a) {
943
943
  const l = Fo(s);
944
944
  return t.concat(s, s.visualViewport || [], Hn(r) ? r : [], l && n ? Pn(l) : []);
@@ -948,7 +948,7 @@ function Pn(e, t, n) {
948
948
  function Fo(e) {
949
949
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
950
950
  }
951
- function Fr(e) {
951
+ function Rr(e) {
952
952
  const t = kt(e);
953
953
  let n = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0;
954
954
  const r = jt(e), a = r ? e.offsetWidth : n, s = r ? e.offsetHeight : o, l = Jn(n) !== a || Jn(o) !== s;
@@ -969,7 +969,7 @@ function yn(e) {
969
969
  width: o,
970
970
  height: r,
971
971
  $: a
972
- } = Fr(t);
972
+ } = Rr(t);
973
973
  let s = (a ? Jn(n.width) : n.width) / o, l = (a ? Jn(n.height) : n.height) / r;
974
974
  return (!s || !Number.isFinite(s)) && (s = 1), (!l || !Number.isFinite(l)) && (l = 1), {
975
975
  x: s,
@@ -977,7 +977,7 @@ function yn(e) {
977
977
  };
978
978
  }
979
979
  const vl = /* @__PURE__ */ Mt(0);
980
- function Ir(e) {
980
+ function Fr(e) {
981
981
  const t = pt(e);
982
982
  return !Yo() || !t.visualViewport ? vl : {
983
983
  x: t.visualViewport.offsetLeft,
@@ -992,7 +992,7 @@ function sn(e, t, n, o) {
992
992
  const r = e.getBoundingClientRect(), a = Xo(e);
993
993
  let s = Mt(1);
994
994
  t && (o ? St(o) && (s = yn(o)) : s = yn(e));
995
- const l = yl(a, n, o) ? Ir(a) : Mt(0);
995
+ const l = yl(a, n, o) ? Fr(a) : Mt(0);
996
996
  let i = (r.left + l.x) / s.x, c = (r.top + l.y) / s.y, f = r.width / s.x, d = r.height / s.y;
997
997
  if (a) {
998
998
  const u = pt(a), p = o && St(o) ? pt(o) : o;
@@ -1013,7 +1013,7 @@ function uo(e, t) {
1013
1013
  const n = co(e).scrollLeft;
1014
1014
  return t ? t.left + n : sn(Lt(e)).left + n;
1015
1015
  }
1016
- function Dr(e, t) {
1016
+ function Ir(e, t) {
1017
1017
  const n = e.getBoundingClientRect(), o = n.left + t.scrollLeft - uo(e, n), r = n.top + t.scrollTop;
1018
1018
  return {
1019
1019
  x: o,
@@ -1039,7 +1039,7 @@ function bl(e) {
1039
1039
  const p = sn(o);
1040
1040
  c = yn(o), f.x = p.x + o.clientLeft, f.y = p.y + o.clientTop;
1041
1041
  }
1042
- const u = s && !d && !a ? Dr(s, i) : Mt(0);
1042
+ const u = s && !d && !a ? Ir(s, i) : Mt(0);
1043
1043
  return {
1044
1044
  width: n.width * c.x,
1045
1045
  height: n.height * c.y,
@@ -1100,7 +1100,7 @@ function ps(e, t, n) {
1100
1100
  else if (St(t))
1101
1101
  o = kl(t, n);
1102
1102
  else {
1103
- const r = Ir(e);
1103
+ const r = Fr(e);
1104
1104
  o = {
1105
1105
  x: t.x - r.x,
1106
1106
  y: t.y - r.y,
@@ -1110,9 +1110,9 @@ function ps(e, t, n) {
1110
1110
  }
1111
1111
  return eo(o);
1112
1112
  }
1113
- function jr(e, t) {
1113
+ function Dr(e, t) {
1114
1114
  const n = Ut(e);
1115
- return n === t || !St(n) || kn(n) ? !1 : kt(n).position === "fixed" || jr(n, t);
1115
+ return n === t || !St(n) || kn(n) ? !1 : kt(n).position === "fixed" || Dr(n, t);
1116
1116
  }
1117
1117
  function El(e, t) {
1118
1118
  const n = t.get(e);
@@ -1123,7 +1123,7 @@ function El(e, t) {
1123
1123
  let s = a ? Ut(e) : e;
1124
1124
  for (; St(s) && !kn(s); ) {
1125
1125
  const l = kt(s), i = Go(s);
1126
- !i && l.position === "fixed" && (r = null), (a ? !i && !r : !i && l.position === "static" && !!r && (r.position === "absolute" || r.position === "fixed") || Hn(s) && !i && jr(e, s)) ? o = o.filter((f) => f !== s) : r = l, s = Ut(s);
1126
+ !i && l.position === "fixed" && (r = null), (a ? !i && !r : !i && l.position === "static" && !!r && (r.position === "absolute" || r.position === "fixed") || Hn(s) && !i && Dr(e, s)) ? o = o.filter((f) => f !== s) : r = l, s = Ut(s);
1127
1127
  }
1128
1128
  return t.set(e, o), o;
1129
1129
  }
@@ -1151,7 +1151,7 @@ function Cl(e) {
1151
1151
  const {
1152
1152
  width: t,
1153
1153
  height: n
1154
- } = Fr(e);
1154
+ } = Rr(e);
1155
1155
  return {
1156
1156
  width: t,
1157
1157
  height: n
@@ -1173,7 +1173,7 @@ function _l(e, t, n) {
1173
1173
  i.x = p.x + t.clientLeft, i.y = p.y + t.clientTop;
1174
1174
  } else r && c();
1175
1175
  a && !o && r && c();
1176
- const f = r && !o && !a ? Dr(r, l) : Mt(0), d = s.left + l.scrollLeft - i.x - f.x, u = s.top + l.scrollTop - i.y - f.y;
1176
+ const f = r && !o && !a ? Ir(r, l) : Mt(0), d = s.left + l.scrollLeft - i.x - f.x, u = s.top + l.scrollTop - i.y - f.y;
1177
1177
  return {
1178
1178
  x: d,
1179
1179
  y: u,
@@ -1192,7 +1192,7 @@ function ms(e, t) {
1192
1192
  let n = e.offsetParent;
1193
1193
  return Lt(e) === n && (n = n.ownerDocument.body), n;
1194
1194
  }
1195
- function Hr(e, t) {
1195
+ function jr(e, t) {
1196
1196
  const n = pt(e);
1197
1197
  if (lo(e))
1198
1198
  return n;
@@ -1211,7 +1211,7 @@ function Hr(e, t) {
1211
1211
  return o && kn(o) && ho(o) && !Go(o) ? n : o || hl(e) || n;
1212
1212
  }
1213
1213
  const $l = async function(e) {
1214
- const t = this.getOffsetParent || Hr, n = this.getDimensions, o = await n(e.floating);
1214
+ const t = this.getOffsetParent || jr, n = this.getDimensions, o = await n(e.floating);
1215
1215
  return {
1216
1216
  reference: _l(e.reference, await t(e.floating), e.strategy),
1217
1217
  floating: {
@@ -1229,7 +1229,7 @@ const Ll = {
1229
1229
  convertOffsetParentRelativeRectToViewportRelativeRect: bl,
1230
1230
  getDocumentElement: Lt,
1231
1231
  getClippingRect: Tl,
1232
- getOffsetParent: Hr,
1232
+ getOffsetParent: jr,
1233
1233
  getElementRects: $l,
1234
1234
  getClientRects: xl,
1235
1235
  getDimensions: Cl,
@@ -1237,7 +1237,7 @@ const Ll = {
1237
1237
  isElement: St,
1238
1238
  isRTL: Ml
1239
1239
  };
1240
- function Vr(e, t) {
1240
+ function Hr(e, t) {
1241
1241
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
1242
1242
  }
1243
1243
  function Ol(e, t) {
@@ -1271,7 +1271,7 @@ function Ol(e, t) {
1271
1271
  s(!1, 1e-7);
1272
1272
  }, 1e3);
1273
1273
  }
1274
- M === 1 && !Vr(c, e.getBoundingClientRect()) && s(), k = !1;
1274
+ M === 1 && !Hr(c, e.getBoundingClientRect()) && s(), k = !1;
1275
1275
  }
1276
1276
  try {
1277
1277
  n = new IntersectionObserver(x, {
@@ -1313,7 +1313,7 @@ function Pl(e, t, n, o) {
1313
1313
  i && g();
1314
1314
  function g() {
1315
1315
  const h = sn(e);
1316
- m && !Vr(m, h) && n(), m = h, y = requestAnimationFrame(g);
1316
+ m && !Hr(m, h) && n(), m = h, y = requestAnimationFrame(g);
1317
1317
  }
1318
1318
  return n(), () => {
1319
1319
  var h;
@@ -1322,7 +1322,7 @@ function Pl(e, t, n, o) {
1322
1322
  }), d?.(), (h = p) == null || h.disconnect(), p = null, i && cancelAnimationFrame(y);
1323
1323
  };
1324
1324
  }
1325
- const zr = dl, Nr = fl, Br = ll, Al = il, qr = (e, t, n) => {
1325
+ const Vr = dl, zr = fl, Nr = ll, Al = il, Br = (e, t, n) => {
1326
1326
  const o = /* @__PURE__ */ new Map(), r = {
1327
1327
  platform: Ll,
1328
1328
  ...n
@@ -1348,7 +1348,7 @@ function Io(e) {
1348
1348
  function dn(e) {
1349
1349
  return typeof e == "function" ? e() : ne(e);
1350
1350
  }
1351
- function Wr(e) {
1351
+ function qr(e) {
1352
1352
  return {
1353
1353
  name: "arrow",
1354
1354
  options: e,
@@ -1361,11 +1361,11 @@ function Wr(e) {
1361
1361
  }
1362
1362
  };
1363
1363
  }
1364
- function Ur(e) {
1364
+ function Wr(e) {
1365
1365
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
1366
1366
  }
1367
1367
  function gs(e, t) {
1368
- const n = Ur(e);
1368
+ const n = Wr(e);
1369
1369
  return Math.round(t * n) / n;
1370
1370
  }
1371
1371
  function Fl(e, t, n) {
@@ -1382,7 +1382,7 @@ function Fl(e, t, n) {
1382
1382
  }), i = Q(() => {
1383
1383
  var M;
1384
1384
  return (M = dn(n.transform)) != null ? M : !0;
1385
- }), c = Q(() => Io(e.value)), f = Q(() => Io(t.value)), d = ke(0), u = ke(0), p = ke(l.value), y = ke(s.value), m = ma({}), g = ke(!1), h = Q(() => {
1385
+ }), c = Q(() => Io(e.value)), f = Q(() => Io(t.value)), d = ke(0), u = ke(0), p = ke(l.value), y = ke(s.value), m = pa({}), g = ke(!1), h = Q(() => {
1386
1386
  const M = {
1387
1387
  position: p.value,
1388
1388
  left: "0",
@@ -1394,7 +1394,7 @@ function Fl(e, t, n) {
1394
1394
  return i.value ? {
1395
1395
  ...M,
1396
1396
  transform: "translate(" + ee + "px, " + ye + "px)",
1397
- ...Ur(f.value) >= 1.5 && {
1397
+ ...Wr(f.value) >= 1.5 && {
1398
1398
  willChange: "transform"
1399
1399
  }
1400
1400
  } : {
@@ -1408,7 +1408,7 @@ function Fl(e, t, n) {
1408
1408
  if (c.value == null || f.value == null)
1409
1409
  return;
1410
1410
  const M = r.value;
1411
- qr(c.value, f.value, {
1411
+ Br(c.value, f.value, {
1412
1412
  middleware: a.value,
1413
1413
  placement: s.value,
1414
1414
  strategy: l.value
@@ -1438,7 +1438,7 @@ function Fl(e, t, n) {
1438
1438
  flush: "sync"
1439
1439
  }), et(r, L, {
1440
1440
  flush: "sync"
1441
- }), ga() && ha(k), {
1441
+ }), ma() && ga(k), {
1442
1442
  x: un(d),
1443
1443
  y: un(u),
1444
1444
  strategy: un(p),
@@ -1470,10 +1470,10 @@ function Il(e) {
1470
1470
  }
1471
1471
  return t;
1472
1472
  }
1473
- async function Zr(e, t, n) {
1474
- const o = t.querySelector(`.${to}`), r = [zr(n.offset ?? 8), Br(), Nr({ padding: 8 })];
1475
- o && r.push(Wr({ element: o, padding: 5 }));
1476
- const { x: a, y: s, placement: l, middlewareData: i } = await qr(e, t, {
1473
+ async function Ur(e, t, n) {
1474
+ const o = t.querySelector(`.${to}`), r = [Vr(n.offset ?? 8), Nr(), zr({ padding: 8 })];
1475
+ o && r.push(qr({ element: o, padding: 5 }));
1476
+ const { x: a, y: s, placement: l, middlewareData: i } = await Br(e, t, {
1477
1477
  placement: n.placement || "top",
1478
1478
  strategy: "fixed",
1479
1479
  middleware: r
@@ -1504,7 +1504,7 @@ function Dl(e) {
1504
1504
  clearTimeout(t.hideTimeout);
1505
1505
  }), o.addEventListener("mouseleave", () => {
1506
1506
  Ko(e);
1507
- })), Zr(e, o, t.config);
1507
+ })), Ur(e, o, t.config);
1508
1508
  }, n);
1509
1509
  }
1510
1510
  function Ko(e) {
@@ -1520,13 +1520,13 @@ function vo(e) {
1520
1520
  const t = () => Dl(e), n = () => Ko(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
- function Gr(e) {
1523
+ function Zr(e) {
1524
1524
  const t = e.__sparkTooltip;
1525
1525
  t?.listeners && (e.removeEventListener("mouseenter", t.listeners.onShow), e.removeEventListener("mouseleave", t.listeners.onHide), e.removeEventListener("focus", t.listeners.onShow), e.removeEventListener("blur", t.listeners.onHide));
1526
1526
  }
1527
1527
  function jl(e) {
1528
1528
  const t = e.__sparkTooltip;
1529
- t && (clearTimeout(t.showTimeout), clearTimeout(t.hideTimeout), Gr(e), t.tooltipEl && (t.tooltipEl.remove(), t.tooltipEl = null), delete e.__sparkTooltip);
1529
+ t && (clearTimeout(t.showTimeout), clearTimeout(t.hideTimeout), Zr(e), t.tooltipEl && (t.tooltipEl.remove(), t.tooltipEl = null), delete e.__sparkTooltip);
1530
1530
  }
1531
1531
  const Hl = {
1532
1532
  mounted(e, t) {
@@ -1548,9 +1548,9 @@ const Hl = {
1548
1548
  const a = document.createElement("div");
1549
1549
  a.className = to, o.tooltipEl.appendChild(a);
1550
1550
  }
1551
- Zr(e, o.tooltipEl, n);
1551
+ Ur(e, o.tooltipEl, n);
1552
1552
  }
1553
- n.content && !o.listeners ? vo(e) : !n.content && o.listeners && (Ko(e), Gr(e), o.listeners = null);
1553
+ n.content && !o.listeners ? vo(e) : !n.content && o.listeners && (Ko(e), Zr(e), o.listeners = null);
1554
1554
  },
1555
1555
  unmounted(e) {
1556
1556
  jl(e);
@@ -1559,6 +1559,11 @@ const Hl = {
1559
1559
  function Vl(e) {
1560
1560
  e.directive("spark-tooltip", Hl);
1561
1561
  }
1562
+ var zl = {
1563
+ prefix: "fas",
1564
+ iconName: "star",
1565
+ icon: [576, 512, [11088, 61446], "f005", "M309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3 309.5-18.9z"]
1566
+ };
1562
1567
  const Ie = {
1563
1568
  farArrowLeftToLine: si,
1564
1569
  farArrowRightToLine: oi,
@@ -1567,9 +1572,9 @@ const Ie = {
1567
1572
  farBullhorn: ei,
1568
1573
  farCheck: Oo,
1569
1574
  farCheckCircle: Qa,
1570
- farChevronDown: Cr,
1571
- farChevronLeft: Tr,
1572
- farChevronRight: Er,
1575
+ farChevronDown: Tr,
1576
+ farChevronLeft: Er,
1577
+ farChevronRight: kr,
1573
1578
  farChevronUp: Ja,
1574
1579
  farCircleUser: Ka,
1575
1580
  farCircleXmark: Xa,
@@ -1582,7 +1587,7 @@ const Ie = {
1582
1587
  farFaceSmileWink: Ba,
1583
1588
  farFlag: Na,
1584
1589
  farGearComplex: za,
1585
- farGripDotsVertical: kr,
1590
+ farGripDotsVertical: Sr,
1586
1591
  farInfoCircle: Va,
1587
1592
  farLaptopMobile: Ha,
1588
1593
  farLayerPlus: ja,
@@ -1593,7 +1598,7 @@ const Ie = {
1593
1598
  farSortUp: Aa,
1594
1599
  farStreetView: Pa,
1595
1600
  farTimes: Oa,
1596
- farTrash: Sr,
1601
+ farTrash: wr,
1597
1602
  farXmark: Lo,
1598
1603
  farSignOut: La,
1599
1604
  farEye: Ma,
@@ -1607,55 +1612,55 @@ const Ie = {
1607
1612
  fadSortDown: ai,
1608
1613
  fadSortUp: ri,
1609
1614
  // Additional icons for FormKit genesis replacement
1610
- farPlus: wr,
1611
- farArrowDown: xr,
1612
- farArrowUp: br,
1613
- farCalendar: yr,
1615
+ farPlus: xr,
1616
+ farArrowDown: br,
1617
+ farArrowUp: yr,
1618
+ farCalendar: vr,
1614
1619
  farFile: Mo,
1615
1620
  farCircle: Sa,
1616
- farSpinner: vr,
1617
- farStar: hr,
1621
+ farSpinner: hr,
1622
+ farStar: wa,
1618
1623
  farAnglesRight: gr,
1619
1624
  farAnglesLeft: mr,
1620
1625
  farEyeDropper: pr,
1621
1626
  farCircleDot: fr,
1622
- farCopy: wa,
1623
- farArrowUpRightFromSquare: xa
1624
- }, Dp = Object.fromEntries(
1627
+ farCopy: xa,
1628
+ farArrowUpRightFromSquare: ba
1629
+ }, jp = Object.fromEntries(
1625
1630
  Object.entries(Ie).map(([e, t]) => {
1626
1631
  const n = Wt(t);
1627
1632
  return [e, n?.html?.[0] || ""];
1628
1633
  })
1629
- ), zl = {
1630
- add: wr,
1631
- arrowDown: xr,
1632
- arrowUp: br,
1634
+ ), Nl = {
1635
+ add: xr,
1636
+ arrowDown: br,
1637
+ arrowUp: yr,
1633
1638
  check: Oo,
1634
1639
  close: Lo,
1635
1640
  checkboxDecorator: Oo,
1636
- date: yr,
1637
- dragHandle: kr,
1641
+ date: vr,
1642
+ dragHandle: Sr,
1638
1643
  fileItem: Mo,
1639
1644
  fileRemove: Lo,
1640
1645
  noFiles: Mo,
1641
1646
  radioDecorator: fr,
1642
1647
  // Circle with dot for radio indicator
1643
- select: Cr,
1644
- spinner: vr,
1645
- star: hr,
1646
- trash: Sr,
1648
+ select: Tr,
1649
+ spinner: hr,
1650
+ star: zl,
1651
+ trash: wr,
1647
1652
  fastForward: gr,
1648
- right: Er,
1649
- left: Tr,
1653
+ right: kr,
1654
+ left: Er,
1650
1655
  rewind: mr,
1651
1656
  color: pr
1652
- }, jp = Object.fromEntries(
1653
- Object.entries(zl).map(([e, t]) => {
1657
+ }, Hp = Object.fromEntries(
1658
+ Object.entries(Nl).map(([e, t]) => {
1654
1659
  const n = Wt(t);
1655
1660
  return [e, n?.html?.[0] || ""];
1656
1661
  })
1657
1662
  );
1658
- function Hp(e) {
1663
+ function Vp(e) {
1659
1664
  const t = Ie[e];
1660
1665
  if (t) {
1661
1666
  const n = Wt(t);
@@ -1663,16 +1668,16 @@ function Hp(e) {
1663
1668
  }
1664
1669
  return Promise.resolve(void 0);
1665
1670
  }
1666
- function Vp(e) {
1671
+ function zp(e) {
1667
1672
  Object.assign(Ie, e), dr.add(...Object.values(e));
1668
1673
  }
1669
- function zp(e) {
1674
+ function Np(e) {
1670
1675
  dr.add(...Object.values(Ie)), e.component("FontAwesomeIcon", Zn), Vl(e);
1671
1676
  }
1672
- const Nl = { class: "flex items-center" }, Bl = { class: "shrink-0 self-start" }, ql = { class: "ml-3" }, Wl = {
1677
+ const Bl = { class: "flex items-center" }, ql = { class: "shrink-0 self-start" }, Wl = { class: "ml-3" }, Ul = {
1673
1678
  key: 0,
1674
1679
  class: "ml-auto pl-3 pt-1 self-start"
1675
- }, Ul = { class: "-mx-1.5 -my-1.5" }, fn = {
1680
+ }, Zl = { class: "-mx-1.5 -my-1.5" }, fn = {
1676
1681
  __name: "SparkAlert",
1677
1682
  props: {
1678
1683
  type: {
@@ -1713,18 +1718,18 @@ const Nl = { class: "flex items-center" }, Bl = { class: "shrink-0 self-start" }
1713
1718
  return T(), P("div", {
1714
1719
  class: _e(["rounded-md border p-4", n.value])
1715
1720
  }, [
1716
- _("div", Nl, [
1717
- _("div", Bl, [
1721
+ _("div", Bl, [
1722
+ _("div", ql, [
1718
1723
  oe(i, {
1719
1724
  icon: ne(Ie)[r.value],
1720
1725
  class: _e(o.value)
1721
1726
  }, null, 8, ["icon", "class"])
1722
1727
  ]),
1723
- _("div", ql, [
1728
+ _("div", Wl, [
1724
1729
  Ke(s.$slots, "default")
1725
1730
  ]),
1726
- e.closeable ? (T(), P("div", Wl, [
1727
- _("div", Ul, [
1731
+ e.closeable ? (T(), P("div", Ul, [
1732
+ _("div", Zl, [
1728
1733
  _("button", {
1729
1734
  type: "button",
1730
1735
  class: _e(["inline-flex rounded-md px-2 py-1.5", a.value]),
@@ -1789,7 +1794,7 @@ const Nl = { class: "flex items-center" }, Bl = { class: "shrink-0 self-start" }
1789
1794
  href: "https://tabula.letsbolt.io",
1790
1795
  icon: "farCompass"
1791
1796
  }
1792
- ], Yr = In("sparkAppSelector", () => {
1797
+ ], Gr = In("sparkAppSelector", () => {
1793
1798
  const e = Et({
1794
1799
  apps: [...yo]
1795
1800
  }), t = (a = {}) => {
@@ -1835,7 +1840,7 @@ const Nl = { class: "flex items-center" }, Bl = { class: "shrink-0 self-start" }
1835
1840
  return s ? s.icon : "";
1836
1841
  }
1837
1842
  };
1838
- }), Xr = In("sparkApp", () => {
1843
+ }), Yr = In("sparkApp", () => {
1839
1844
  const e = Et({
1840
1845
  app: "",
1841
1846
  homeRoute: "dashboard",
@@ -1848,16 +1853,16 @@ const Nl = { class: "flex items-center" }, Bl = { class: "shrink-0 self-start" }
1848
1853
  e.app = n.app || "", e.homeRoute = n.homeRoute ?? "dashboard", e.showBrandSelector = n.showBrandSelector ?? !0, e.showAppSelector = n.showAppSelector ?? !0;
1849
1854
  }
1850
1855
  };
1851
- }), Zl = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, Gl = { class: "flex flex-1 flex-col" }, Yl = { class: "divide-y divide-gray-200" }, Xl = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, Kl = { class: "ml-auto flex items-center" }, Jl = ["href", "onClick"], Ql = { class: "gap-y-1" }, ec = { class: "text-base text-gray-800 flex items-center" }, tc = { class: "font-medium" }, nc = {
1856
+ }), Gl = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, Yl = { class: "flex flex-1 flex-col" }, Xl = { class: "divide-y divide-gray-200" }, Kl = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, Jl = { class: "ml-auto flex items-center" }, Ql = ["href", "onClick"], ec = { class: "gap-y-1" }, tc = { class: "text-base text-gray-800 flex items-center" }, nc = { class: "font-medium" }, oc = {
1852
1857
  key: 0,
1853
1858
  class: "inline-flex items-center rounded-full bg-green-100 px-1.5 py-0.5 text-xs font-medium text-green-700 ml-1"
1854
- }, oc = { class: "text-sm text-gray-500" }, sc = { class: "ml-auto flex items-center" }, rc = { class: "mt-auto" }, ac = {
1859
+ }, sc = { class: "text-sm text-gray-500" }, rc = { class: "ml-auto flex items-center" }, ac = { class: "mt-auto" }, ic = {
1855
1860
  key: 0,
1856
1861
  class: "p-6"
1857
- }, ic = {
1862
+ }, lc = {
1858
1863
  key: 1,
1859
1864
  class: "bg-gray-50 p-6"
1860
- }, lc = {
1865
+ }, cc = {
1861
1866
  __name: "SparkAppSelector",
1862
1867
  props: {
1863
1868
  bottomSlot: {
@@ -1871,7 +1876,7 @@ const Nl = { class: "flex items-center" }, Bl = { class: "shrink-0 self-start" }
1871
1876
  },
1872
1877
  emits: ["close", "select"],
1873
1878
  setup(e, { emit: t }) {
1874
- const n = t, o = Yr(), r = Xr(), a = Q(() => {
1879
+ const n = t, o = Gr(), r = Yr(), a = Q(() => {
1875
1880
  const l = r.state.app;
1876
1881
  return o.state.apps.map((i) => ({
1877
1882
  ...i,
@@ -1882,12 +1887,12 @@ const Nl = { class: "flex items-center" }, Bl = { class: "shrink-0 self-start" }
1882
1887
  };
1883
1888
  return (l, i) => {
1884
1889
  const c = Ue("font-awesome-icon");
1885
- return T(), P("div", Zl, [
1886
- _("div", Gl, [
1887
- _("div", Yl, [
1888
- _("div", Xl, [
1890
+ return T(), P("div", Gl, [
1891
+ _("div", Yl, [
1892
+ _("div", Xl, [
1893
+ _("div", Kl, [
1889
1894
  i[1] || (i[1] = _("div", null, "Mr Group Network", -1)),
1890
- _("div", Kl, [
1895
+ _("div", Jl, [
1891
1896
  oe(c, {
1892
1897
  icon: ne(Ie).farTimes,
1893
1898
  class: "h-[15px] w-[15px] shrink-0 text-gray-400 cursor-pointer",
@@ -1902,29 +1907,29 @@ const Nl = { class: "flex items-center" }, Bl = { class: "shrink-0 self-start" }
1902
1907
  class: _e([f.current ? "bg-gray-50" : "hover:bg-gray-50", "flex px-[22px] py-[15px] cursor-pointer"]),
1903
1908
  onClick: (d) => f.current ? d.preventDefault() : s(f)
1904
1909
  }, [
1905
- _("div", Ql, [
1906
- _("div", ec, [
1907
- _("div", tc, xe(f.name), 1),
1908
- f.current ? (T(), P("span", nc, " Active ")) : he("", !0)
1910
+ _("div", ec, [
1911
+ _("div", tc, [
1912
+ _("div", nc, xe(f.name), 1),
1913
+ f.current ? (T(), P("span", oc, " Active ")) : he("", !0)
1909
1914
  ]),
1910
- _("div", oc, xe(f.description), 1)
1915
+ _("div", sc, xe(f.description), 1)
1911
1916
  ]),
1912
- _("div", sc, [
1917
+ _("div", rc, [
1913
1918
  oe(c, {
1914
1919
  class: _e([f.current ? "text-gray-700" : "text-gray-400", "h-5 w-5 shrink-0"]),
1915
1920
  icon: ne(Ie)[f.icon]
1916
1921
  }, null, 8, ["class", "icon"])
1917
1922
  ])
1918
- ], 10, Jl))), 128)),
1923
+ ], 10, Ql))), 128)),
1919
1924
  i[2] || (i[2] = _("div", null, null, -1))
1920
1925
  ]),
1921
- _("div", rc, [
1922
- l.$slots.bottom || e.bottomSlot ? (T(), P("div", ac, [
1926
+ _("div", ac, [
1927
+ l.$slots.bottom || e.bottomSlot ? (T(), P("div", ic, [
1923
1928
  Ke(l.$slots, "bottom", {}, () => [
1924
1929
  e.bottomSlot ? (T(), Me(vt(e.bottomSlot), { key: 0 })) : he("", !0)
1925
1930
  ])
1926
1931
  ])) : he("", !0),
1927
- l.$slots.footer || e.footerSlot ? (T(), P("div", ic, [
1932
+ l.$slots.footer || e.footerSlot ? (T(), P("div", lc, [
1928
1933
  Ke(l.$slots, "footer", {}, () => [
1929
1934
  e.footerSlot ? (T(), Me(vt(e.footerSlot), { key: 0 })) : he("", !0)
1930
1935
  ])
@@ -1934,14 +1939,14 @@ const Nl = { class: "flex items-center" }, Bl = { class: "shrink-0 self-start" }
1934
1939
  ]);
1935
1940
  };
1936
1941
  }
1937
- }, Kr = {
1942
+ }, Xr = {
1938
1943
  success: 5e3,
1939
1944
  info: 5e3,
1940
1945
  warning: 5e3,
1941
1946
  danger: 0
1942
1947
  // sticky by default
1943
1948
  }, ys = ["top-left", "top-right", "center", "bottom-left", "bottom-right"];
1944
- function cc() {
1949
+ function uc() {
1945
1950
  const e = Et({
1946
1951
  isVisible: !1,
1947
1952
  type: "info",
@@ -1977,7 +1982,7 @@ function cc() {
1977
1982
  persistent: v = !1
1978
1983
  } = u;
1979
1984
  e.type = p, e.message = y, e.component = m ? wn(m) : null, e.props = g, e.closeable = h, e.persistent = v, e.isVisible = !0;
1980
- const k = b !== null ? b : Kr[p];
1985
+ const k = b !== null ? b : Xr[p];
1981
1986
  e.duration = k, k > 0 && l(k);
1982
1987
  },
1983
1988
  hide: s,
@@ -1997,7 +2002,7 @@ function cc() {
1997
2002
  }
1998
2003
  };
1999
2004
  }
2000
- class uc {
2005
+ class dc {
2001
2006
  constructor() {
2002
2007
  this.outlets = /* @__PURE__ */ new Map(), this.toastState = Et({
2003
2008
  toasts: [],
@@ -2015,7 +2020,7 @@ class uc {
2015
2020
  * @returns {Object} Notification outlet instance
2016
2021
  */
2017
2022
  getOutlet(t = "default") {
2018
- return this.outlets.has(t) || this.outlets.set(t, cc()), this.outlets.get(t);
2023
+ return this.outlets.has(t) || this.outlets.set(t, uc()), this.outlets.get(t);
2019
2024
  }
2020
2025
  /**
2021
2026
  * Show a banner notification in the specified outlet
@@ -2118,7 +2123,7 @@ class uc {
2118
2123
  closeable: s = !0,
2119
2124
  duration: l = null,
2120
2125
  position: i = null
2121
- } = t, c = ++this._toastIdCounter, f = i && ys.includes(i) ? i : this.toastState.defaultPosition, d = l !== null ? l : Kr[n], u = {
2126
+ } = t, c = ++this._toastIdCounter, f = i && ys.includes(i) ? i : this.toastState.defaultPosition, d = l !== null ? l : Xr[n], u = {
2122
2127
  id: c,
2123
2128
  type: n,
2124
2129
  message: o,
@@ -2211,7 +2216,7 @@ class uc {
2211
2216
  n && (n.timeout && clearTimeout(n.timeout), this._toastTimers.delete(t));
2212
2217
  }
2213
2218
  }
2214
- const Qe = new uc(), Np = {
2219
+ const Qe = new dc(), Bp = {
2215
2220
  __name: "SparkNotificationOutlet",
2216
2221
  props: {
2217
2222
  name: {
@@ -2270,7 +2275,7 @@ const Qe = new uc(), Np = {
2270
2275
  onMouseleave: l
2271
2276
  }, {
2272
2277
  default: we(() => [
2273
- o.value.state.component ? (T(), Me(vt(o.value.state.component), va(wt({ key: 0 }, o.value.state.props)), null, 16)) : (T(), P(ze, { key: 1 }, [
2278
+ o.value.state.component ? (T(), Me(vt(o.value.state.component), ha(wt({ key: 0 }, o.value.state.props)), null, 16)) : (T(), P(ze, { key: 1 }, [
2274
2279
  qe(xe(o.value.state.message), 1)
2275
2280
  ], 64))
2276
2281
  ]),
@@ -2280,7 +2285,7 @@ const Qe = new uc(), Np = {
2280
2285
  _: 1
2281
2286
  }));
2282
2287
  }
2283
- }, dc = { class: "fixed top-4 left-4 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, fc = { class: "fixed top-4 right-4 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, pc = { class: "fixed top-[40%] left-1/2 -translate-x-1/2 -translate-y-1/2 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, mc = { class: "fixed bottom-4 left-4 z-[2000] flex flex-col-reverse gap-3 max-w-sm w-full pointer-events-none" }, gc = { class: "fixed bottom-4 right-4 z-[2000] flex flex-col-reverse gap-3 max-w-sm w-full pointer-events-none" }, Bp = {
2288
+ }, fc = { class: "fixed top-4 left-4 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, pc = { class: "fixed top-4 right-4 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, mc = { class: "fixed top-[40%] left-1/2 -translate-x-1/2 -translate-y-1/2 z-[2000] flex flex-col gap-3 max-w-sm w-full pointer-events-none" }, gc = { class: "fixed bottom-4 left-4 z-[2000] flex flex-col-reverse gap-3 max-w-sm w-full pointer-events-none" }, hc = { class: "fixed bottom-4 right-4 z-[2000] flex flex-col-reverse gap-3 max-w-sm w-full pointer-events-none" }, qp = {
2284
2289
  __name: "SparkToastContainer",
2285
2290
  setup(e) {
2286
2291
  const t = Qe.toastState, n = Q(() => t.toasts.filter((f) => f.position === "top-left")), o = Q(() => t.toasts.filter((f) => f.position === "top-right")), r = Q(() => t.toasts.filter((f) => f.position === "center")), a = Q(
@@ -2295,7 +2300,7 @@ const Qe = new uc(), Np = {
2295
2300
  Qe.resumeToast(f);
2296
2301
  };
2297
2302
  return (f, d) => (T(), Me(lr, { to: "body" }, [
2298
- _("div", dc, [
2303
+ _("div", fc, [
2299
2304
  oe(Tn, {
2300
2305
  "enter-active-class": "transition-all duration-300 ease-out",
2301
2306
  "enter-from-class": "opacity-0 -translate-x-4",
@@ -2331,7 +2336,7 @@ const Qe = new uc(), Np = {
2331
2336
  _: 1
2332
2337
  })
2333
2338
  ]),
2334
- _("div", fc, [
2339
+ _("div", pc, [
2335
2340
  oe(Tn, {
2336
2341
  "enter-active-class": "transition-all duration-300 ease-out",
2337
2342
  "enter-from-class": "opacity-0 translate-x-4",
@@ -2367,7 +2372,7 @@ const Qe = new uc(), Np = {
2367
2372
  _: 1
2368
2373
  })
2369
2374
  ]),
2370
- _("div", pc, [
2375
+ _("div", mc, [
2371
2376
  oe(Tn, {
2372
2377
  "enter-active-class": "transition-all duration-300 ease-out",
2373
2378
  "enter-from-class": "opacity-0 scale-95",
@@ -2403,7 +2408,7 @@ const Qe = new uc(), Np = {
2403
2408
  _: 1
2404
2409
  })
2405
2410
  ]),
2406
- _("div", mc, [
2411
+ _("div", gc, [
2407
2412
  oe(Tn, {
2408
2413
  "enter-active-class": "transition-all duration-300 ease-out",
2409
2414
  "enter-from-class": "opacity-0 -translate-x-4",
@@ -2439,7 +2444,7 @@ const Qe = new uc(), Np = {
2439
2444
  _: 1
2440
2445
  })
2441
2446
  ]),
2442
- _("div", gc, [
2447
+ _("div", hc, [
2443
2448
  oe(Tn, {
2444
2449
  "enter-active-class": "transition-all duration-300 ease-out",
2445
2450
  "enter-from-class": "opacity-0 translate-x-4",
@@ -2477,7 +2482,7 @@ const Qe = new uc(), Np = {
2477
2482
  ])
2478
2483
  ]));
2479
2484
  }
2480
- }, Jr = In(
2485
+ }, Kr = In(
2481
2486
  "brandFilter",
2482
2487
  () => {
2483
2488
  const e = Et({
@@ -2521,27 +2526,27 @@ const Qe = new uc(), Np = {
2521
2526
  paths: ["state.brands"]
2522
2527
  }
2523
2528
  }
2524
- ), hc = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, vc = { class: "flex flex-1 flex-col" }, yc = { class: "divide-y divide-gray-200" }, bc = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, xc = { class: "ml-auto flex items-center" }, wc = {
2529
+ ), vc = { class: "flex grow flex-col gap-y-5 overflow-y-auto bg-white rounded-lg" }, yc = { class: "flex flex-1 flex-col" }, bc = { class: "divide-y divide-gray-200" }, xc = { class: "flex px-[22px] py-2.5 text-[12px] items-center" }, wc = { class: "ml-auto flex items-center" }, Sc = {
2525
2530
  key: 0,
2526
2531
  class: "flex px-[22px] py-[15px] text-gray-500 text-sm"
2527
- }, Sc = ["onClick"], kc = { class: "w-full gap-y-1 flex justify-between" }, Ec = { class: "flex flex-col" }, Tc = { class: "flex items-center" }, Cc = { class: "font-medium text-base text-gray-900" }, _c = {
2532
+ }, kc = ["onClick"], Ec = { class: "w-full gap-y-1 flex justify-between" }, Tc = { class: "flex flex-col" }, Cc = { class: "flex items-center" }, _c = { class: "font-medium text-base text-gray-900" }, $c = {
2528
2533
  key: 0,
2529
2534
  class: "inline-flex items-center rounded-full bg-green-100 px-1.5 py-0.5 text-xs font-medium text-green-800 ml-1"
2530
- }, $c = { class: "text-sm text-gray-500 font-normal" }, Mc = { class: "flex items-center" }, Lc = ["src", "alt"], Oc = {
2535
+ }, Mc = { class: "text-sm text-gray-500 font-normal" }, Lc = { class: "flex items-center" }, Oc = ["src", "alt"], Pc = {
2531
2536
  __name: "SparkBrandSelector",
2532
2537
  emits: ["close", "select"],
2533
2538
  setup(e, { emit: t }) {
2534
- const n = t, o = Jr(), r = (a) => {
2539
+ const n = t, o = Kr(), r = (a) => {
2535
2540
  n("select", a);
2536
2541
  };
2537
2542
  return (a, s) => {
2538
2543
  const l = Ue("font-awesome-icon");
2539
- return T(), P("div", hc, [
2540
- _("div", vc, [
2541
- _("div", yc, [
2542
- _("div", bc, [
2544
+ return T(), P("div", vc, [
2545
+ _("div", yc, [
2546
+ _("div", bc, [
2547
+ _("div", xc, [
2543
2548
  s[1] || (s[1] = _("div", null, "Filter by Brand", -1)),
2544
- _("div", xc, [
2549
+ _("div", wc, [
2545
2550
  oe(l, {
2546
2551
  icon: ne(Ie).farTimes,
2547
2552
  class: "size-4 text-gray-400 cursor-pointer",
@@ -2549,29 +2554,29 @@ const Qe = new uc(), Np = {
2549
2554
  }, null, 8, ["icon"])
2550
2555
  ])
2551
2556
  ]),
2552
- ne(o).allBrands.length === 0 ? (T(), P("div", wc, " No brands configured ")) : he("", !0),
2557
+ ne(o).allBrands.length === 0 ? (T(), P("div", Sc, " No brands configured ")) : he("", !0),
2553
2558
  (T(!0), P(ze, null, st(ne(o).allBrands, (i) => (T(), P("div", {
2554
2559
  key: i.id,
2555
2560
  class: _e([i.current ? "bg-gray-50" : "hover:bg-gray-50", "flex px-[22px] py-[15px] cursor-pointer"]),
2556
2561
  onClick: (c) => r(i)
2557
2562
  }, [
2558
- _("div", kc, [
2559
- _("div", Ec, [
2560
- _("div", Tc, [
2561
- _("div", Cc, xe(i.name), 1),
2562
- i.current ? (T(), P("span", _c, " Current ")) : he("", !0)
2563
+ _("div", Ec, [
2564
+ _("div", Tc, [
2565
+ _("div", Cc, [
2566
+ _("div", _c, xe(i.name), 1),
2567
+ i.current ? (T(), P("span", $c, " Current ")) : he("", !0)
2563
2568
  ]),
2564
- _("div", $c, xe(i.current ? "Current Brand" : "Change to"), 1)
2569
+ _("div", Mc, xe(i.current ? "Current Brand" : "Change to"), 1)
2565
2570
  ]),
2566
- _("div", Mc, [
2571
+ _("div", Lc, [
2567
2572
  _("img", {
2568
2573
  src: i.logo,
2569
2574
  alt: `${i.name} logo`,
2570
2575
  class: "h-8 w-auto"
2571
- }, null, 8, Lc)
2576
+ }, null, 8, Oc)
2572
2577
  ])
2573
2578
  ])
2574
- ], 10, Sc))), 128)),
2579
+ ], 10, kc))), 128)),
2575
2580
  s[2] || (s[2] = _("div", null, null, -1))
2576
2581
  ]),
2577
2582
  s[3] || (s[3] = _("div", { class: "mt-auto" }, null, -1))
@@ -2579,7 +2584,7 @@ const Qe = new uc(), Np = {
2579
2584
  ]);
2580
2585
  };
2581
2586
  }
2582
- }, Pc = ["disabled"], mt = {
2587
+ }, Ac = ["disabled"], mt = {
2583
2588
  __name: "SparkButton",
2584
2589
  props: {
2585
2590
  size: {
@@ -2689,16 +2694,16 @@ const Qe = new uc(), Np = {
2689
2694
  onClick: c[0] || (c[0] = (f) => i.$emit("click"))
2690
2695
  }, [
2691
2696
  Ke(i.$slots, "default")
2692
- ], 10, Pc));
2697
+ ], 10, Ac));
2693
2698
  }
2694
- }, Qr = {
2699
+ }, Jr = {
2695
2700
  __name: "SparkButtonGroup",
2696
2701
  setup(e) {
2697
2702
  const t = ke(null), n = ke(0);
2698
2703
  function o() {
2699
2704
  n.value = t.value?.children.length || 0;
2700
2705
  }
2701
- return Gt(o), cr(o), ya("buttonGroup", {
2706
+ return Gt(o), cr(o), va("buttonGroup", {
2702
2707
  isInGroup: !0,
2703
2708
  getButtonIndex: (s) => t.value ? Array.from(t.value.children).indexOf(s) : -1,
2704
2709
  getButtonCount: () => n.value
@@ -2710,13 +2715,13 @@ const Qe = new uc(), Np = {
2710
2715
  Ke(s.$slots, "default")
2711
2716
  ], 512));
2712
2717
  }
2713
- }, Ac = { class: "flex flex-col divide-y divide-gray-300 rounded-lg border border-gray-300 text-gray-700 bg-gray-100" }, Rc = {
2718
+ }, Rc = { class: "flex flex-col divide-y divide-gray-300 rounded-lg border border-gray-300 text-gray-700 bg-gray-100" }, Fc = {
2714
2719
  key: 0,
2715
2720
  class: "px-[30px] py-5"
2716
- }, Fc = {
2721
+ }, Ic = {
2717
2722
  key: 1,
2718
2723
  class: "p-5"
2719
- }, qp = {
2724
+ }, Wp = {
2720
2725
  __name: "SparkCard",
2721
2726
  props: {
2722
2727
  padded: {
@@ -2730,8 +2735,8 @@ const Qe = new uc(), Np = {
2730
2735
  },
2731
2736
  setup(e) {
2732
2737
  const t = e;
2733
- return (n, o) => (T(), P("div", Ac, [
2734
- n.$slots.header ? (T(), P("div", Rc, [
2738
+ return (n, o) => (T(), P("div", Rc, [
2739
+ n.$slots.header ? (T(), P("div", Fc, [
2735
2740
  Ke(n.$slots, "header")
2736
2741
  ])) : he("", !0),
2737
2742
  _("div", {
@@ -2739,12 +2744,12 @@ const Qe = new uc(), Np = {
2739
2744
  }, [
2740
2745
  Ke(n.$slots, "default")
2741
2746
  ], 2),
2742
- n.$slots.footer ? (T(), P("div", Fc, [
2747
+ n.$slots.footer ? (T(), P("div", Ic, [
2743
2748
  Ke(n.$slots, "footer")
2744
2749
  ])) : he("", !0)
2745
2750
  ]));
2746
2751
  }
2747
- }, Wp = {
2752
+ }, Up = {
2748
2753
  __name: "SparkEntityBadge",
2749
2754
  props: {
2750
2755
  /** Display text */
@@ -2848,7 +2853,7 @@ const Qe = new uc(), Np = {
2848
2853
  }
2849
2854
  }
2850
2855
  return (m, g) => {
2851
- const h = Ue("font-awesome-icon"), b = ba("spark-tooltip");
2856
+ const h = Ue("font-awesome-icon"), b = ya("spark-tooltip");
2852
2857
  return Qt((T(), Me(vt(d.value ? "a" : "span"), {
2853
2858
  href: u.value || void 0,
2854
2859
  target: d.value && e.openNew ? "_blank" : void 0,
@@ -2893,7 +2898,7 @@ const It = function(e) {
2893
2898
  let o = t.firstChild;
2894
2899
  return !o || o instanceof HTMLElement ? o : ((n = document.createElement("div")).appendChild(o), n);
2895
2900
  };
2896
- const Ic = function(e) {
2901
+ const Dc = function(e) {
2897
2902
  if (!(e && e instanceof Element && e.offsetParent)) return !1;
2898
2903
  let t = !1, n = !1;
2899
2904
  if (e.scrollWidth > e.clientWidth) {
@@ -2906,7 +2911,7 @@ const Ic = function(e) {
2906
2911
  }
2907
2912
  return t || n;
2908
2913
  }, nn = function(e, t = void 0) {
2909
- return !e || e === document.body || t && e === t ? null : Ic(e) ? e : nn(e.parentElement, t);
2914
+ return !e || e === document.body || t && e === t ? null : Dc(e) ? e : nn(e.parentElement, t);
2910
2915
  };
2911
2916
  const bs = (e = !0, t = "--f-scrollbar-compensate", n = "--f-body-margin", o = "hide-scrollbar") => {
2912
2917
  const r = document, a = r.body, s = r.documentElement;
@@ -2964,9 +2969,9 @@ function An(e, t) {
2964
2969
  return typeof a == "function" ? `${a}` == `${s}` : xs(a) && xs(s) ? An(a, s) : a === s;
2965
2970
  });
2966
2971
  }
2967
- const ea = function(e) {
2972
+ const Qr = function(e) {
2968
2973
  for (const t of oo) t.getState() === ct.Running && t.tick(bo ? e - bo : 0);
2969
- bo = e, bn = window.requestAnimationFrame(ea);
2974
+ bo = e, bn = window.requestAnimationFrame(Qr);
2970
2975
  };
2971
2976
  var ct, Bt, gn;
2972
2977
  (function(e) {
@@ -3029,7 +3034,7 @@ function Zt() {
3029
3034
  var N, F;
3030
3035
  return N = j, F = V, M.has(N) && M.set(N, M.get(N).filter((J) => J !== F)), ae;
3031
3036
  }, start: function(j) {
3032
- return An(g, h) || (e = ct.Initializing, y = Object.assign({}, g), oo.add(this), bn || (bn = window.requestAnimationFrame(ea)), ye(j)), ae;
3037
+ return An(g, h) || (e = ct.Initializing, y = Object.assign({}, g), oo.add(this), bn || (bn = window.requestAnimationFrame(Qr)), ye(j)), ae;
3033
3038
  }, pause: function() {
3034
3039
  return m && (clearTimeout(m), m = null), e === ct.Running && (e = ct.Paused, ee("pause", g)), ae;
3035
3040
  }, end: Le, tick: function(j) {
@@ -3104,7 +3109,7 @@ function ws(e) {
3104
3109
  function Ss(e) {
3105
3110
  return Jo(e, "targetTouches");
3106
3111
  }
3107
- function ta(e) {
3112
+ function ea(e) {
3108
3113
  return Jo(e, "changedTouches");
3109
3114
  }
3110
3115
  function Nt(e) {
@@ -3117,10 +3122,10 @@ function Bn(e) {
3117
3122
  }
3118
3123
  const ks = (e) => {
3119
3124
  e.cancelable && e.preventDefault();
3120
- }, Vt = { passive: !1 }, Dc = { panThreshold: 5, swipeThreshold: 3, ignore: ["textarea", "input", "select", "[contenteditable]", "[data-selectable]", "[data-draggable]"] };
3125
+ }, Vt = { passive: !1 }, jc = { panThreshold: 5, swipeThreshold: 3, ignore: ["textarea", "input", "select", "[contenteditable]", "[data-selectable]", "[data-draggable]"] };
3121
3126
  let qn = !1, $n = !0;
3122
3127
  const En = (e, t) => {
3123
- let n, o, r, a, s, l = Object.assign(Object.assign({}, Dc), t), i = [], c = [], f = [], d = !1, u = !1, p = !1, y = !1, m = 0, g = 0, h = 0, b = 0, v = 0, k = 0, x = 0, L = 0, M = 0, ee = [];
3128
+ let n, o, r, a, s, l = Object.assign(Object.assign({}, jc), t), i = [], c = [], f = [], d = !1, u = !1, p = !1, y = !1, m = 0, g = 0, h = 0, b = 0, v = 0, k = 0, x = 0, L = 0, M = 0, ee = [];
3124
3129
  const ye = /* @__PURE__ */ new Map();
3125
3130
  function le(W) {
3126
3131
  const ve = Bn(c), pe = Bn(f), ie = ve && pe ? ve / pe : 0, Ee = Math.abs(x) > Math.abs(L) ? x : L, De = { srcEvent: n, isPanRecognized: d, isSwipeRecognized: u, firstTouch: i, previousTouch: f, currentTouch: c, deltaX: h, deltaY: b, offsetX: v, offsetY: k, velocityX: x, velocityY: L, velocity: Ee, angle: M, axis: r, scale: ie, center: o };
@@ -3170,7 +3175,7 @@ const En = (e, t) => {
3170
3175
  }
3171
3176
  function N(W) {
3172
3177
  if (n = W, !i.length) return;
3173
- const ve = Ss(W), pe = ta(W);
3178
+ const ve = Ss(W), pe = ea(W);
3174
3179
  if (g = ve.length, o = Nt(pe), pe.length && ae(Nt(pe)), f = [...c], c = [...ve], i = [...ve], g > 0) le("end"), d = !1, u = !1, ee = [];
3175
3180
  else {
3176
3181
  const ie = l.swipeThreshold;
@@ -3525,7 +3530,7 @@ const jo = (e, t = {}, n = {}) => {
3525
3530
  let C = Object.assign({}, m), O = ve(V() ? H.scale : y.scale);
3526
3531
  const Z = i.getCurrentVelocities(), Y = Le(), te = (((D = (E = E || {}).currentTouch) === null || D === void 0 ? void 0 : D.length) || 0) > 1, K = E.velocityX || 0, ce = E.velocityY || 0;
3527
3532
  let Te = E.center;
3528
- E.srcEvent && (Te = Nt(ta(E.srcEvent)));
3533
+ E.srcEvent && (Te = Nt(ea(E.srcEvent)));
3529
3534
  let Ce = E.deltaX || 0, $e = E.deltaY || 0;
3530
3535
  switch (w) {
3531
3536
  case se.MoveRight:
@@ -4219,7 +4224,7 @@ const so = (e, t = {}, n = {}) => {
4219
4224
  if (!G || (function(me, be) {
4220
4225
  var Ae, He, Be;
4221
4226
  if (!(u && y && r && be && Fe(be) && be !== "tween")) return !1;
4222
- for (const da of N) if (y - da.dim > 0.5) return !1;
4227
+ for (const ua of N) if (y - ua.dim > 0.5) return !1;
4223
4228
  if (m > 0.5 || g > 0.5) return;
4224
4229
  const Ge = F.length;
4225
4230
  let Ye = me > M ? 1 : -1;
@@ -4420,7 +4425,7 @@ const en = function(e = "", t = "", n = "") {
4420
4425
  const Ms = { tpl: (e) => `<img class="f-panzoom__content"
4421
4426
  ${e.srcset ? 'data-lazy-srcset="{{srcset}}"' : ""}
4422
4427
  ${e.sizes ? 'data-lazy-sizes="{{sizes}}"' : ""}
4423
- data-lazy-src="{{src}}" alt="{{alt}}" />` }, jc = () => {
4428
+ data-lazy-src="{{src}}" alt="{{alt}}" />` }, Hc = () => {
4424
4429
  let e;
4425
4430
  function t(f, d) {
4426
4431
  const u = e?.getOptions().Zoomable;
@@ -4492,7 +4497,7 @@ const Ms = { tpl: (e) => `<img class="f-panzoom__content"
4492
4497
  e = void 0;
4493
4498
  }, execute: c };
4494
4499
  };
4495
- const Ls = { syncOnChange: !1, syncOnClick: !0, syncOnHover: !1 }, na = () => {
4500
+ const Ls = { syncOnChange: !1, syncOnClick: !0, syncOnHover: !1 }, ta = () => {
4496
4501
  let e, t;
4497
4502
  function n() {
4498
4503
  const p = e?.getOptions().Sync;
@@ -4564,7 +4569,7 @@ const Ls = { syncOnChange: !1, syncOnClick: !0, syncOnHover: !1 }, na = () => {
4564
4569
  return t;
4565
4570
  } };
4566
4571
  };
4567
- const Os = { showLoading: !0, preload: 1 }, Cn = "is-lazyloading", wo = "is-lazyloaded", Ps = "has-lazyerror", oa = () => {
4572
+ const Os = { showLoading: !0, preload: 1 }, Cn = "is-lazyloading", wo = "is-lazyloaded", Ps = "has-lazyerror", na = () => {
4568
4573
  let e;
4569
4574
  function t() {
4570
4575
  const r = e?.getOptions().Lazyload;
@@ -4612,7 +4617,7 @@ const Os = { showLoading: !0, preload: 1 }, Cn = "is-lazyloading", wo = "is-lazy
4612
4617
  e?.off("render", o), e = void 0;
4613
4618
  } };
4614
4619
  };
4615
- const As = '<svg width="24" height="24" viewBox="0 0 24 24" tabindex="-1">', Rs = "</svg>", Fs = { prevTpl: As + '<path d="M15 3l-9 9 9 9"></path>' + Rs, nextTpl: As + '<path d="M9 3l9 9-9 9"></path>' + Rs }, Hc = () => {
4620
+ const As = '<svg width="24" height="24" viewBox="0 0 24 24" tabindex="-1">', Rs = "</svg>", Fs = { prevTpl: As + '<path d="M15 3l-9 9 9 9"></path>' + Rs, nextTpl: As + '<path d="M9 3l9 9-9 9"></path>' + Rs }, Vc = () => {
4616
4621
  let e, t, n;
4617
4622
  function o() {
4618
4623
  const l = e?.getOptions().Arrows;
@@ -4640,13 +4645,13 @@ const As = '<svg width="24" height="24" viewBox="0 0 24 24" tabindex="-1">', Rs
4640
4645
  a(), e?.off(["change", "refresh"], s), e = void 0;
4641
4646
  } };
4642
4647
  };
4643
- const sa = '<circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/>', So = '<g><line x1="11" y1="8" x2="11" y2="14"></line></g>' + sa, Vc = { 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", sa], zoomIn: ["zoomIn", "ZOOM_IN", So], toggleFull: ["toggleFull", "TOGGLE_FULL", So], iterateZoom: ["iterateZoom", "ITERATE_ZOOM", So], 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>'] }, ts = {};
4644
- for (const [e, t] of Object.entries(Vc)) ts[e] = { tpl: `<button data-panzoom-action="${t[0]}" class="f-button" title="{{${t[1]}}}"><svg>${t[2]}</svg></button>` };
4648
+ const oa = '<circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/>', So = '<g><line x1="11" y1="8" x2="11" y2="14"></line></g>' + oa, zc = { 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", oa], zoomIn: ["zoomIn", "ZOOM_IN", So], toggleFull: ["toggleFull", "TOGGLE_FULL", So], iterateZoom: ["iterateZoom", "ITERATE_ZOOM", So], 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>'] }, ts = {};
4649
+ for (const [e, t] of Object.entries(zc)) ts[e] = { tpl: `<button data-panzoom-action="${t[0]}" class="f-button" title="{{${t[1]}}}"><svg>${t[2]}</svg></button>` };
4645
4650
  var Is;
4646
4651
  (function(e) {
4647
4652
  e.Left = "left", e.middle = "middle", e.right = "right";
4648
4653
  })(Is || (Is = {}));
4649
- const Ds = 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>' } }, ts), js = { absolute: !1, display: { left: [], middle: ["zoomIn", "zoomOut", "toggle1to1", "rotateCCW", "rotateCW", "flipX", "flipY", "reset"], right: [] }, enabled: "auto", items: {} }, ra = () => {
4654
+ const Ds = 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>' } }, ts), js = { absolute: !1, display: { left: [], middle: ["zoomIn", "zoomOut", "toggle1to1", "rotateCCW", "rotateCW", "flipX", "flipY", "reset"], right: [] }, enabled: "auto", items: {} }, sa = () => {
4650
4655
  let e, t;
4651
4656
  function n(r) {
4652
4657
  const a = e?.getOptions().Toolbar;
@@ -4705,7 +4710,7 @@ const Ds = Object.assign({ counter: { tpl: '<div class="f-counter"><span data-ca
4705
4710
  return !!t;
4706
4711
  } };
4707
4712
  };
4708
- const Hs = { autoStart: !0, pauseOnHover: !0, showProgressbar: !0, timeout: 2e3 }, zc = () => {
4713
+ const Hs = { autoStart: !0, pauseOnHover: !0, showProgressbar: !0, timeout: 2e3 }, Nc = () => {
4709
4714
  let e, t, n = !1, o = !1, r = !1, a = null;
4710
4715
  function s(x) {
4711
4716
  const L = e?.getOptions().Autoplay;
@@ -4806,7 +4811,7 @@ const Hs = { autoStart: !0, pauseOnHover: !0, showProgressbar: !0, timeout: 2e3
4806
4811
  };
4807
4812
  const ko = { Carousel: { Lazyload: { showLoading: !1 } }, minCount: 2, showOnStart: !0, thumbTpl: '<button aria-label="Slide to #{{page}}"><img draggable="false" alt="{{alt}}" data-lazy-src="{{src}}" /></button>', type: "modern" };
4808
4813
  let Eo;
4809
- const Nc = () => {
4814
+ const Bc = () => {
4810
4815
  let e, t, n, o, r, a = 0, s = 0, l = !0;
4811
4816
  function i(j) {
4812
4817
  const V = e?.getOptions().Thumbs;
@@ -4885,7 +4890,7 @@ const Nc = () => {
4885
4890
  a = ge("width"), s = ge("clip-width");
4886
4891
  })(), J = 4 * (a - s)), F && F.getTotalSlideDim() <= F.getViewportDim() - J ? 1 / 0 : 1;
4887
4892
  } }, ko.Carousel || {}, i("Carousel") || {});
4888
- t = Eo(n, N, { Sync: na, Lazyload: oa }), t.on("ready", () => {
4893
+ t = Eo(n, N, { Sync: ta, Lazyload: na }), t.on("ready", () => {
4889
4894
  ue(n, "is-syncing"), e?.emit("thumbs:ready"), f() && e?.on("render", x);
4890
4895
  }), t.on("destroy", () => {
4891
4896
  e?.emit("thumbs:destroy");
@@ -4986,7 +4991,7 @@ const Nc = () => {
4986
4991
  return i("type");
4987
4992
  }, isEnabled: c };
4988
4993
  };
4989
- const Vs = { autosize: !1, iframeAttr: { allow: "autoplay; fullscreen", scrolling: "auto" }, preload: !1 }, Bc = () => {
4994
+ const Vs = { autosize: !1, iframeAttr: { allow: "autoplay; fullscreen", scrolling: "auto" }, preload: !1 }, qc = () => {
4990
4995
  let e;
4991
4996
  function t() {
4992
4997
  const s = e?.getOptions().Html;
@@ -5084,7 +5089,7 @@ const zs = (e, t = {}) => {
5084
5089
  let a = r + "", s = e.match(/#t=((.*)?\d+s)/);
5085
5090
  return s && (a += `#t=${s[1]}`), a;
5086
5091
  }, Ns = { autoplay: !1, html5videoTpl: `<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">
5087
- <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 } }, qc = () => {
5092
+ <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 } }, Wc = () => {
5088
5093
  let e, t = !1;
5089
5094
  function n() {
5090
5095
  const u = e?.getOptions().Video;
@@ -5226,7 +5231,7 @@ const zs = (e, t = {}) => {
5226
5231
  e?.off("addSlide", a), e?.off("attachSlideEl", s), e?.off("detachSlideEl", l), e?.off("ready", c), e?.off("change", i), e?.off("settle", c), e?.off("refresh", d), window.removeEventListener("message", r), e = void 0;
5227
5232
  } };
5228
5233
  };
5229
- const Bs = { 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>' }, qs = "in-fullscreen-mode", Wc = () => {
5234
+ const Bs = { 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>' }, qs = "in-fullscreen-mode", Uc = () => {
5230
5235
  let e;
5231
5236
  function t(f) {
5232
5237
  const d = e?.getOptions().Fullscreen;
@@ -5282,7 +5287,7 @@ const Bs = { autoStart: !1, btnTpl: '<button data-fullscreen-action="toggle" cla
5282
5287
  e?.off("initPlugins", n), e?.off("ready", o), e?.off("click", r);
5283
5288
  }, exit: i, inFullscreen: s, request: l, toggle: c };
5284
5289
  };
5285
- let gt, aa, Ho = !1, Vo = !1, Mn = !1, zo = !1;
5290
+ let gt, ra, Ho = !1, Vo = !1, Mn = !1, zo = !1;
5286
5291
  const fo = () => {
5287
5292
  const e = new URL(document.URL).hash, t = e.slice(1).split("-"), n = t[t.length - 1], o = n && /^\+?\d+$/.test(n) && parseInt(t.pop() || "1", 10) || 1;
5288
5293
  return { urlHash: e, urlSlug: t.join("-"), urlIndex: o };
@@ -5304,7 +5309,7 @@ const fo = () => {
5304
5309
  if (!r || !o) return "";
5305
5310
  let a = parseInt(r.index + "", 10) + 1, s = r.slug ? `#${r.slug}` : `#${o}-${a}`;
5306
5311
  return (((n = (t = e.getCarousel()) === null || t === void 0 ? void 0 : t.getPages()) === null || n === void 0 ? void 0 : n.length) || 0) < 2 && (s = `#${o}`), s;
5307
- }, Uc = () => {
5312
+ }, Zc = () => {
5308
5313
  if (!gt || Mn) return;
5309
5314
  const e = gt?.getInstance(), t = e?.getCarousel(), { urlSlug: n, urlIndex: o } = fo(), r = e?.getOptions().Hash;
5310
5315
  if (r !== !1) {
@@ -5316,9 +5321,9 @@ const fo = () => {
5316
5321
  ns();
5317
5322
  }
5318
5323
  }, Us = () => {
5319
- gt && (aa = setTimeout(() => {
5324
+ gt && (ra = setTimeout(() => {
5320
5325
  Ho = !0, ns(), Ho = !1;
5321
- }, 300), window.addEventListener("hashchange", Uc, !1));
5326
+ }, 300), window.addEventListener("hashchange", Zc, !1));
5322
5327
  };
5323
5328
  let On;
5324
5329
  function Co() {
@@ -5375,7 +5380,7 @@ const Xn = () => {
5375
5380
  }
5376
5381
  }
5377
5382
  return { init: function(a) {
5378
- clearTimeout(aa), e = a, e.on("ready", n), e.on("close", r);
5383
+ clearTimeout(ra), e = a, e.on("ready", n), e.on("close", r);
5379
5384
  }, destroy: function() {
5380
5385
  e?.off("ready", n), e?.off("close", r);
5381
5386
  const a = e?.getCarousel();
@@ -5385,33 +5390,33 @@ const Xn = () => {
5385
5390
  Xn.getInfoFromURL = fo, Xn.startFromUrl = ns, Xn.setup = function(e) {
5386
5391
  gt || (gt = e, Gn() && (/complete|interactive|loaded/.test(document.readyState) ? Us() : document.addEventListener("DOMContentLoaded", Us)));
5387
5392
  };
5388
- const Zc = Object.assign(Object.assign({}, es), { 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" });
5389
- const ia = '<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>';
5390
- ra().add("close", { tpl: ia });
5393
+ const Gc = Object.assign(Object.assign({}, es), { 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" });
5394
+ const aa = '<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>';
5395
+ sa().add("close", { tpl: aa });
5391
5396
  const $t = (e) => {
5392
5397
  e.cancelable && e.preventDefault();
5393
5398
  }, Zs = (e = null, t = "", n) => {
5394
5399
  if (!e || !e.parentElement || !t) return void (n && n());
5395
- la(e);
5400
+ ia(e);
5396
5401
  const o = (r) => {
5397
5402
  r.target === e && e.dataset.animationName && (e.removeEventListener("animationend", o), delete e.dataset.animationName, n && n(), e.classList.remove(t));
5398
5403
  };
5399
5404
  e.dataset.animationName = t, e.addEventListener("animationend", o), ue(e, t);
5400
- }, la = (e) => {
5405
+ }, ia = (e) => {
5401
5406
  e && e.dispatchEvent(new CustomEvent("animationend", { bubbles: !1, cancelable: !0, currentTarget: e }));
5402
5407
  };
5403
5408
  var Ze;
5404
5409
  (function(e) {
5405
5410
  e[e.Init = 0] = "Init", e[e.Ready = 1] = "Ready", e[e.Closing = 2] = "Closing", e[e.Destroyed = 3] = "Destroyed";
5406
5411
  })(Ze || (Ze = {}));
5407
- const Rn = { ajax: null, backdropClick: "close", Carousel: {}, closeButton: "auto", closeButtonTpl: ia, closeExisting: !1, delegateEl: void 0, dragToClose: !0, fadeEffect: !0, groupAll: !1, groupAttr: "data-fancybox", hideClass: "f-fadeOut", hideScrollbar: !0, id: void 0, idle: !1, keyboard: { Escape: "close", Delete: "close", Backspace: "close", PageUp: "next", PageDown: "prev", ArrowUp: "prev", ArrowDown: "next", ArrowRight: "next", ArrowLeft: "prev" }, l10n: Zc, mainClass: "", mainStyle: {}, mainTpl: `<dialog class="fancybox__dialog">
5412
+ const Rn = { ajax: null, backdropClick: "close", Carousel: {}, closeButton: "auto", closeButtonTpl: aa, closeExisting: !1, delegateEl: void 0, dragToClose: !0, fadeEffect: !0, groupAll: !1, groupAttr: "data-fancybox", hideClass: "f-fadeOut", hideScrollbar: !0, id: void 0, idle: !1, keyboard: { Escape: "close", Delete: "close", Backspace: "close", PageUp: "next", PageDown: "prev", ArrowUp: "prev", ArrowDown: "next", ArrowRight: "next", ArrowLeft: "prev" }, l10n: Gc, mainClass: "", mainStyle: {}, mainTpl: `<dialog class="fancybox__dialog">
5408
5413
  <div class="fancybox__container" tabindex="0" aria-label="{{MODAL}}">
5409
5414
  <div class="fancybox__backdrop"></div>
5410
5415
  <div class="fancybox__carousel"></div>
5411
5416
  </div>
5412
5417
  </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 }, At = /* @__PURE__ */ new Map();
5413
- let Gc = 0;
5414
- const Gs = "with-fancybox", Yc = () => {
5418
+ let Yc = 0;
5419
+ const Gs = "with-fancybox", Xc = () => {
5415
5420
  let e, t, n, o, r, a, s, l = Ze.Init, i = Object.assign({}, Rn), c = -1, f = {}, d = [], u = !1, p = !0, y = 0;
5416
5421
  function m(A, ...U) {
5417
5422
  let re = i[A];
@@ -5757,7 +5762,7 @@ const Gs = "with-fancybox", Yc = () => {
5757
5762
  }
5758
5763
  }
5759
5764
  const te = E?.htmlEl || ((B = E?.panzoomRef) === null || B === void 0 ? void 0 : B.getWrapper());
5760
- te && la(te), !Z && O && te && (Y = !0, Zs(te, O, () => {
5765
+ te && ia(te), !Z && O && te && (Y = !0, Zs(te, O, () => {
5761
5766
  Je();
5762
5767
  })), Z || Y ? setTimeout(() => {
5763
5768
  Je();
@@ -5790,7 +5795,7 @@ const Gs = "with-fancybox", Yc = () => {
5790
5795
  }, getState: function() {
5791
5796
  return l;
5792
5797
  }, init: function(A = [], U = {}) {
5793
- l !== Ze.Init && (We.destroy(), l = Ze.Init), i = ft({}, Rn, U), c = m("id") || "fancybox-" + ++Gc;
5798
+ l !== Ze.Init && (We.destroy(), l = Ze.Init), i = ft({}, Rn, U), c = m("id") || "fancybox-" + ++Yc;
5794
5799
  const re = At.get(c);
5795
5800
  if (re && re.destroy(), At.set(c, We), b("init"), (function() {
5796
5801
  for (const [B, w] of Object.entries(Object.assign(Object.assign({}, Ne.Plugins), i.plugins || {}))) if (B && !f[B] && w instanceof Function) {
@@ -5829,7 +5834,7 @@ const Gs = "with-fancybox", Yc = () => {
5829
5834
  const B = ft({}, { Autoplay: { autoStart: !1, pauseOnHover: !1, progressbarParentEl: (w) => {
5830
5835
  const E = w.getContainer();
5831
5836
  return E?.querySelector(".f-carousel__toolbar [data-autoplay-action]") || E;
5832
- } }, Fullscreen: { el: t }, Toolbar: { absolute: !0, items: { counter: { tpl: '<div class="f-counter"><span data-fancybox-page></span>/<span data-fancybox-pages></span></div>' } }, display: { left: ["counter"], right: ["toggleFull", "autoplay", "fullscreen", "thumbs", "close"] } }, Video: { autoplay: !0 }, Thumbs: { minCount: 2, Carousel: { classes: { container: "fancybox__thumbs" } } }, classes: { container: "fancybox__carousel", viewport: "fancybox__viewport", slide: "fancybox__slide" }, spinnerTpl: '<div class="f-spinner" data-fancybox-close></div>', dragFree: !1, slidesPerPage: 1, plugins: { Sync: na, Arrows: Hc, Lazyload: oa, Zoomable: jc, Html: Bc, Video: qc, Autoplay: zc, Fullscreen: Wc, Thumbs: Nc, Toolbar: ra } }, m("Carousel") || {}, { slides: d, enabled: !0, initialPage: m("startIndex") || 0, l10n: m("l10n") });
5837
+ } }, Fullscreen: { el: t }, Toolbar: { absolute: !0, items: { counter: { tpl: '<div class="f-counter"><span data-fancybox-page></span>/<span data-fancybox-pages></span></div>' } }, display: { left: ["counter"], right: ["toggleFull", "autoplay", "fullscreen", "thumbs", "close"] } }, Video: { autoplay: !0 }, Thumbs: { minCount: 2, Carousel: { classes: { container: "fancybox__thumbs" } } }, classes: { container: "fancybox__carousel", viewport: "fancybox__viewport", slide: "fancybox__slide" }, spinnerTpl: '<div class="f-spinner" data-fancybox-close></div>', dragFree: !1, slidesPerPage: 1, plugins: { Sync: ta, Arrows: Vc, Lazyload: na, Zoomable: Hc, Html: qc, Video: Wc, Autoplay: Nc, Fullscreen: Uc, Thumbs: Bc, Toolbar: sa } }, m("Carousel") || {}, { slides: d, enabled: !0, initialPage: m("startIndex") || 0, l10n: m("l10n") });
5833
5838
  o = so(n, B), b("initCarousel", o), o.on("*", (w, E, ...D) => {
5834
5839
  b(`Carousel.${E}`, w, ...D);
5835
5840
  }), o.on("attachSlideEl", k), o.on("detachSlideEl", x), o.on("contentLoading", le), o.on("contentReady", Le), o.on("ready", ee), o.on("change", M), o.on("settle", ye), o.on("thumbs:ready", ae), o.on("thumbs:destroy", ae), o.init();
@@ -5973,7 +5978,7 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
5973
5978
  var e;
5974
5979
  return ((e = Ne.getInstance()) === null || e === void 0 ? void 0 : e.getSlide()) || void 0;
5975
5980
  }, show: function(e = [], t = {}) {
5976
- return Ys(), Yc().init(e, t);
5981
+ return Ys(), Xc().init(e, t);
5977
5982
  }, unbind: function(e, t, n) {
5978
5983
  if (!Gn()) return;
5979
5984
  let o = document.body, r = null, a = "[data-fancybox]";
@@ -5982,7 +5987,7 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
5982
5987
  const c = Ne.openers.get(s) || /* @__PURE__ */ new Map(), f = c.get(l) || /* @__PURE__ */ new Map();
5983
5988
  f && i && f.delete(i), f.size && i || c.delete(l), c.size || (Ne.openers.delete(s), s.removeEventListener("click", Ne.fromEvent));
5984
5989
  })(o, r, a);
5985
- } }, Xc = {
5990
+ } }, Kc = {
5986
5991
  __name: "SparkFancybox",
5987
5992
  props: {
5988
5993
  /** Fancybox configuration options */
@@ -6015,7 +6020,7 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6015
6020
  Ke(a.$slots, "default")
6016
6021
  ], 512));
6017
6022
  }
6018
- }, Kc = ["innerHTML"], Jc = { key: 1 }, Up = {
6023
+ }, Jc = ["innerHTML"], Qc = { key: 1 }, Zp = {
6019
6024
  __name: "SparkTooltip",
6020
6025
  props: {
6021
6026
  /** Tooltip text (alternative to #content slot) */
@@ -6063,8 +6068,8 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6063
6068
  const t = e, n = Bo(), o = ke(null), r = ke(null), a = ke(null), s = ke(!1);
6064
6069
  let l = null, i = null;
6065
6070
  const c = Q(() => t.interactive ? typeof t.delay == "number" ? 150 : Math.max(t.delay.hide ?? 0, 150) : typeof t.delay == "number" ? 0 : t.delay.hide ?? 0), f = Q(() => {
6066
- const v = [zr(t.offset), Br(), Nr({ padding: 8 })];
6067
- return t.showArrow && v.push(Wr({ element: a, padding: 5 })), v;
6071
+ const v = [Vr(t.offset), Nr(), zr({ padding: 8 })];
6072
+ return t.showArrow && v.push(qr({ element: a, padding: 5 })), v;
6068
6073
  }), {
6069
6074
  floatingStyles: d,
6070
6075
  middlewareData: u,
@@ -6133,7 +6138,7 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6133
6138
  e.html ? (T(), P("span", {
6134
6139
  key: 0,
6135
6140
  innerHTML: e.content
6136
- }, null, 8, Kc)) : (T(), P("span", Jc, xe(e.content), 1))
6141
+ }, null, 8, Jc)) : (T(), P("span", Qc, xe(e.content), 1))
6137
6142
  ]),
6138
6143
  e.showArrow ? (T(), P("div", {
6139
6144
  key: 0,
@@ -6149,22 +6154,22 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6149
6154
  ]))
6150
6155
  ], 64));
6151
6156
  }
6152
- }, Qc = {
6157
+ }, eu = {
6153
6158
  key: 0,
6154
6159
  class: "block text-sm font-medium text-gray-700 mb-2"
6155
- }, eu = { key: 0 }, tu = { class: "text-sm text-gray-600 mb-2" }, nu = {
6160
+ }, tu = { key: 0 }, nu = { class: "text-sm text-gray-600 mb-2" }, ou = {
6156
6161
  key: 1,
6157
6162
  class: "flex items-center justify-center gap-3"
6158
- }, ou = { class: "text-gray-700" }, su = {
6163
+ }, su = { class: "text-gray-700" }, ru = {
6159
6164
  key: 0,
6160
6165
  class: "absolute inset-0 flex items-center justify-center bg-blue-50/80 rounded-md pointer-events-none"
6161
- }, ru = {
6166
+ }, au = {
6162
6167
  key: 3,
6163
6168
  class: "flex justify-end mt-4"
6164
- }, au = {
6169
+ }, iu = {
6165
6170
  key: 4,
6166
6171
  class: "text-sm text-gray-500 mt-1"
6167
- }, Zp = {
6172
+ }, Gp = {
6168
6173
  __name: "SparkFileDragUpload",
6169
6174
  props: {
6170
6175
  uploadUrl: {
@@ -6320,7 +6325,7 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6320
6325
  }), (b, v) => {
6321
6326
  const k = Ue("FormKit"), x = Ue("font-awesome-icon");
6322
6327
  return T(), P("div", null, [
6323
- e.label ? (T(), P("label", Qc, xe(e.label), 1)) : he("", !0),
6328
+ e.label ? (T(), P("label", eu, xe(e.label), 1)) : he("", !0),
6324
6329
  e.variant === "dashed" ? (T(), P("div", {
6325
6330
  key: 1,
6326
6331
  class: _e(["border-2 border-dashed border-gray-300 rounded-lg p-8 text-center transition-colors", {
@@ -6342,12 +6347,12 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6342
6347
  "outer-class": "hidden",
6343
6348
  onInput: y
6344
6349
  }, null, 8, ["name", "accept", "disabled"]),
6345
- s.value ? (T(), P("div", nu, [
6350
+ s.value ? (T(), P("div", ou, [
6346
6351
  oe(x, {
6347
6352
  icon: ne(Ie).farFile,
6348
6353
  class: "text-2xl text-gray-500"
6349
6354
  }, null, 8, ["icon"]),
6350
- _("span", ou, xe(s.value.name), 1),
6355
+ _("span", su, xe(s.value.name), 1),
6351
6356
  oe(mt, {
6352
6357
  variant: "secondary",
6353
6358
  size: "sm",
@@ -6360,12 +6365,12 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6360
6365
  ]),
6361
6366
  _: 1
6362
6367
  })
6363
- ])) : (T(), P("div", eu, [
6368
+ ])) : (T(), P("div", tu, [
6364
6369
  oe(x, {
6365
6370
  icon: e.icon,
6366
6371
  class: "text-4xl text-gray-400 mb-3"
6367
6372
  }, null, 8, ["icon"]),
6368
- _("p", tu, xe(e.dropText), 1),
6373
+ _("p", nu, xe(e.dropText), 1),
6369
6374
  oe(mt, {
6370
6375
  variant: "secondary",
6371
6376
  onClick: m
@@ -6393,11 +6398,11 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6393
6398
  disabled: e.disabled || l.value,
6394
6399
  onInput: y
6395
6400
  }, null, 8, ["name", "accept", "disabled"]),
6396
- i.value ? (T(), P("div", su, [...v[0] || (v[0] = [
6401
+ i.value ? (T(), P("div", ru, [...v[0] || (v[0] = [
6397
6402
  _("span", { class: "text-sm text-blue-600 font-medium" }, "Drop file here", -1)
6398
6403
  ])])) : he("", !0)
6399
6404
  ], 34)),
6400
- e.showUploadButton ? (T(), P("div", ru, [
6405
+ e.showUploadButton ? (T(), P("div", au, [
6401
6406
  oe(mt, {
6402
6407
  size: "lg",
6403
6408
  disabled: !s.value || l.value,
@@ -6414,20 +6419,20 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6414
6419
  _: 1
6415
6420
  }, 8, ["disabled"])
6416
6421
  ])) : he("", !0),
6417
- l.value && !e.showUploadButton ? (T(), P("p", au, xe(e.uploadingText), 1)) : he("", !0)
6422
+ l.value && !e.showUploadButton ? (T(), P("p", iu, xe(e.uploadingText), 1)) : he("", !0)
6418
6423
  ]);
6419
6424
  };
6420
6425
  }
6421
- }, iu = {
6426
+ }, lu = {
6422
6427
  key: 0,
6423
6428
  class: "block text-sm font-medium text-gray-700 mb-2"
6424
- }, lu = ["href", "data-caption"], cu = ["src", "alt"], uu = ["disabled"], du = {
6429
+ }, cu = ["href", "data-caption"], uu = ["src", "alt"], du = ["disabled"], fu = {
6425
6430
  key: 0,
6426
6431
  class: "absolute inset-0 flex items-center justify-center bg-blue-50/80 rounded-md pointer-events-none"
6427
- }, fu = {
6432
+ }, pu = {
6428
6433
  key: 3,
6429
6434
  class: "text-sm text-gray-500 mt-1"
6430
- }, Gp = {
6435
+ }, Yp = {
6431
6436
  __name: "SparkImageUpload",
6432
6437
  props: {
6433
6438
  modelValue: {
@@ -6466,6 +6471,10 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6466
6471
  type: Boolean,
6467
6472
  default: !1
6468
6473
  },
6474
+ circle: {
6475
+ type: Boolean,
6476
+ default: !1
6477
+ },
6469
6478
  responseParser: {
6470
6479
  type: Function,
6471
6480
  default: (e) => e.data.url || e.data
@@ -6541,8 +6550,8 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6541
6550
  return (y, m) => {
6542
6551
  const g = Ue("font-awesome-icon"), h = Ue("FormKit");
6543
6552
  return T(), P("div", null, [
6544
- e.label ? (T(), P("label", iu, xe(e.label), 1)) : he("", !0),
6545
- e.modelValue ? (T(), Me(Xc, {
6553
+ e.label ? (T(), P("label", lu, xe(e.label), 1)) : he("", !0),
6554
+ e.modelValue ? (T(), Me(Kc, {
6546
6555
  key: 1,
6547
6556
  class: "mb-2 relative inline-block"
6548
6557
  }, {
@@ -6557,10 +6566,11 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6557
6566
  alt: e.label || "Image preview",
6558
6567
  class: _e([
6559
6568
  e.height,
6560
- "w-auto object-contain border border-gray-300 rounded-md cursor-pointer hover:opacity-80 transition-opacity"
6569
+ e.circle ? "aspect-square object-cover rounded-full" : "w-auto object-contain rounded-md",
6570
+ "border border-gray-300 cursor-pointer hover:opacity-80 transition-opacity"
6561
6571
  ])
6562
- }, null, 10, cu)
6563
- ], 8, lu),
6572
+ }, null, 10, uu)
6573
+ ], 8, cu),
6564
6574
  _("button", {
6565
6575
  type: "button",
6566
6576
  class: "absolute -top-2 -right-2 w-5 h-5 bg-white/80 hover:bg-white text-gray-500 hover:text-gray-700 rounded-full flex items-center justify-center shadow-sm border border-gray-200",
@@ -6571,7 +6581,7 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6571
6581
  icon: ne(Ie).farXmark,
6572
6582
  class: "text-xs"
6573
6583
  }, null, 8, ["icon"])
6574
- ], 8, uu)
6584
+ ], 8, du)
6575
6585
  ]),
6576
6586
  _: 1
6577
6587
  })) : he("", !0),
@@ -6592,18 +6602,18 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6592
6602
  disabled: e.disabled || a.value,
6593
6603
  onInput: u
6594
6604
  }, null, 8, ["name", "accept", "disabled"]),
6595
- s.value ? (T(), P("div", du, [...m[0] || (m[0] = [
6605
+ s.value ? (T(), P("div", fu, [...m[0] || (m[0] = [
6596
6606
  _("span", { class: "text-sm text-blue-600 font-medium" }, "Drop image here", -1)
6597
6607
  ])])) : he("", !0)
6598
6608
  ], 34)),
6599
- a.value ? (T(), P("p", fu, "Uploading...")) : he("", !0)
6609
+ a.value ? (T(), P("p", pu, "Uploading...")) : he("", !0)
6600
6610
  ]);
6601
6611
  };
6602
6612
  }
6603
- }, pu = { class: "px-4 pt-5 pb-4 sm:p-6" }, mu = {
6613
+ }, mu = { class: "px-4 pt-5 pb-4 sm:p-6" }, gu = {
6604
6614
  key: 0,
6605
6615
  class: "text-lg font-medium text-gray-900"
6606
- }, gu = {
6616
+ }, hu = {
6607
6617
  __name: "SparkModalDialog",
6608
6618
  props: {
6609
6619
  title: {
@@ -6680,7 +6690,7 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6680
6690
  })[t.type]);
6681
6691
  return (i, c) => {
6682
6692
  const f = Ue("font-awesome-icon");
6683
- return T(), P("div", pu, [
6693
+ return T(), P("div", mu, [
6684
6694
  a.value ? (T(), P("div", {
6685
6695
  key: 0,
6686
6696
  class: _e(["mx-auto flex size-12 items-center justify-center rounded-full", s.value])
@@ -6693,7 +6703,7 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6693
6703
  _("div", {
6694
6704
  class: _e(["text-center", { "mt-3 sm:mt-5": a.value }])
6695
6705
  }, [
6696
- e.title ? (T(), P("h3", mu, xe(e.title), 1)) : he("", !0),
6706
+ e.title ? (T(), P("h3", gu, xe(e.title), 1)) : he("", !0),
6697
6707
  e.message ? (T(), P("div", {
6698
6708
  key: 1,
6699
6709
  class: _e([{ "mt-2": e.title }, "text-sm text-gray-500"])
@@ -6717,7 +6727,7 @@ const Ne = { Plugins: { Hash: Xn }, version: "6.1.13", openers: /* @__PURE__ */
6717
6727
  };
6718
6728
  }
6719
6729
  };
6720
- class hu {
6730
+ class vu {
6721
6731
  constructor() {
6722
6732
  this.state = Et({
6723
6733
  isVisible: !1,
@@ -6754,7 +6764,7 @@ class hu {
6754
6764
  confirmVariant: i = "primary"
6755
6765
  } = t;
6756
6766
  this.show(
6757
- gu,
6767
+ hu,
6758
6768
  {
6759
6769
  title: o,
6760
6770
  message: r,
@@ -6775,15 +6785,15 @@ class hu {
6775
6785
  );
6776
6786
  });
6777
6787
  }
6778
- const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto" }, yu = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, bu = {
6788
+ const Rt = new vu(), yu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto" }, bu = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, xu = {
6779
6789
  __name: "SparkModalContainer",
6780
6790
  setup(e) {
6781
- return (t, n) => (T(), Me(ne(_r), {
6791
+ return (t, n) => (T(), Me(ne(Cr), {
6782
6792
  as: "template",
6783
6793
  show: ne(Rt).state.isVisible
6784
6794
  }, {
6785
6795
  default: we(() => [
6786
- oe(ne($r), {
6796
+ oe(ne(_r), {
6787
6797
  class: "relative z-1000",
6788
6798
  onClose: ne(Rt).hide
6789
6799
  }, {
@@ -6802,8 +6812,8 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
6802
6812
  ])]),
6803
6813
  _: 1
6804
6814
  }),
6805
- _("div", vu, [
6806
- _("div", yu, [
6815
+ _("div", yu, [
6816
+ _("div", bu, [
6807
6817
  oe(ne(Kn), {
6808
6818
  as: "template",
6809
6819
  enter: "ease-out duration-300",
@@ -6814,7 +6824,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
6814
6824
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
6815
6825
  }, {
6816
6826
  default: we(() => [
6817
- oe(ne(Mr), { class: "relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:min-w-lg sm:max-w-max" }, {
6827
+ oe(ne($r), { class: "relative transform overflow-hidden rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:min-w-lg sm:max-w-max" }, {
6818
6828
  default: we(() => [
6819
6829
  (T(), Me(vt(ne(Rt).state.content), wt(ne(Rt).state.props, ur(ne(Rt).state.eventHandlers)), null, 16))
6820
6830
  ]),
@@ -6832,7 +6842,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
6832
6842
  _: 1
6833
6843
  }, 8, ["show"]));
6834
6844
  }
6835
- }, xu = { class: "fixed inset-0 flex" }, Ks = {
6845
+ }, wu = { class: "fixed inset-0 flex" }, Ks = {
6836
6846
  __name: "SparkOverlay",
6837
6847
  props: {
6838
6848
  position: {
@@ -6856,12 +6866,12 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
6856
6866
  }, r = e, a = t, s = Q(() => o[r.overlayInstance.state.size] || o.md), l = () => {
6857
6867
  r.overlayInstance.close(), a("close");
6858
6868
  };
6859
- return (i, c) => (T(), Me(ne(_r), {
6869
+ return (i, c) => (T(), Me(ne(Cr), {
6860
6870
  show: e.overlayInstance.state.isVisible,
6861
6871
  as: "template"
6862
6872
  }, {
6863
6873
  default: we(() => [
6864
- oe(ne($r), {
6874
+ oe(ne(_r), {
6865
6875
  "initial-focus": n.value,
6866
6876
  class: "relative z-1000",
6867
6877
  onClose: l
@@ -6881,7 +6891,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
6881
6891
  ])]),
6882
6892
  _: 1
6883
6893
  }),
6884
- _("div", xu, [
6894
+ _("div", wu, [
6885
6895
  oe(ne(Kn), {
6886
6896
  as: "template",
6887
6897
  enter: "transition ease-in-out duration-150 transform",
@@ -6892,7 +6902,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
6892
6902
  "leave-to": e.position === "left" ? "-translate-x-full opacity-0" : "translate-x-full opacity-0"
6893
6903
  }, {
6894
6904
  default: we(() => [
6895
- oe(ne(Mr), {
6905
+ oe(ne($r), {
6896
6906
  ref_key: "panelRef",
6897
6907
  ref: n,
6898
6908
  class: _e([
@@ -6917,7 +6927,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
6917
6927
  _: 1
6918
6928
  }, 8, ["show"]));
6919
6929
  }
6920
- }, wu = ["disabled", "onClick"], Yp = {
6930
+ }, Su = ["disabled", "onClick"], Xp = {
6921
6931
  __name: "SparkSubNav",
6922
6932
  props: {
6923
6933
  /**
@@ -7019,7 +7029,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7019
7029
  isActive: s,
7020
7030
  isDisabled: l,
7021
7031
  navigate: i
7022
- }) : n.layout === "horizontal" ? (T(), Me(Qr, {
7032
+ }) : n.layout === "horizontal" ? (T(), Me(Jr, {
7023
7033
  key: 1,
7024
7034
  class: "isolate"
7025
7035
  }, {
@@ -7068,16 +7078,16 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7068
7078
  key: 2,
7069
7079
  class: _e(y(h))
7070
7080
  }, xe(h.badge), 3)) : he("", !0)
7071
- ], 10, wu))), 128))
7081
+ ], 10, Su))), 128))
7072
7082
  ], 2));
7073
7083
  }
7074
- }, Su = (e) => {
7084
+ }, ku = (e) => {
7075
7085
  if (e.includes(".")) {
7076
7086
  const t = e.split(".");
7077
7087
  e = t[t.length - 1];
7078
7088
  }
7079
7089
  return e.replace(/_/g, " ");
7080
- }, ku = (e, t, n) => {
7090
+ }, Eu = (e, t, n) => {
7081
7091
  const o = t.querySelector(".relative");
7082
7092
  if (!o || o.querySelector(".spark-table-head-sorting"))
7083
7093
  return;
@@ -7092,12 +7102,12 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7092
7102
  sortedBy: "asc"
7093
7103
  }));
7094
7104
  });
7095
- }, Eu = (e, t, n) => {
7105
+ }, Tu = (e, t, n) => {
7096
7106
  if (t.querySelector(".spark-table-head-filter"))
7097
7107
  return;
7098
7108
  const o = document.createElement("div"), r = document.createElement("input");
7099
7109
  r.type = "text", r.placeholder = "Filter...", o.className = "spark-table-head-filter", o.appendChild(r);
7100
- const a = Lr(async (s, l) => {
7110
+ const a = Mr(async (s, l) => {
7101
7111
  const i = l.target.value, c = `filter[${s}]`;
7102
7112
  if (i)
7103
7113
  return n.params[c] && n.params[c] === i ? void 0 : n.methods.applyParams({
@@ -7107,19 +7117,19 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7107
7117
  await n.methods.removeParam(c);
7108
7118
  }, 200);
7109
7119
  r.addEventListener("keyup", (s) => a(e, s)), t.appendChild(o);
7110
- }, Tu = (e, t, n) => {
7120
+ }, Cu = (e, t, n) => {
7111
7121
  e.classList.add("spark-table-head"), n && n.columnSort && e.classList.add("can-sort"), n && n.columnFilter && e.classList.add("can-filter"), e.querySelector(".relative").classList.add("spark-table-head-title-wrapper");
7112
7122
  const r = e.querySelector(".colHeader");
7113
- r.classList.add("spark-table-head-title"), r.innerHTML = Su(t);
7114
- }, Cu = (e, t, n) => {
7123
+ r.classList.add("spark-table-head-title"), r.innerHTML = ku(t);
7124
+ }, _u = (e, t, n) => {
7115
7125
  if (typeof e != "number")
7116
7126
  return e;
7117
7127
  if (e < 0)
7118
7128
  return;
7119
7129
  let o = 2;
7120
7130
  const r = n.methods.colToProp(e), a = n.methods.getSettingsForProp(r);
7121
- t.childElementCount === 1 && ((!a || !a.columnSort) && o--, (!a || !a.columnFilter) && o--, a && a.columnSort && ku(r, t, n), a && a.columnFilter && Eu(r, t, n)), (t.childElementCount === o || o === 0) && Tu(t, r, a);
7122
- }, _u = (e) => {
7131
+ t.childElementCount === 1 && ((!a || !a.columnSort) && o--, (!a || !a.columnFilter) && o--, a && a.columnSort && Eu(r, t, n), a && a.columnFilter && Tu(r, t, n)), (t.childElementCount === o || o === 0) && Cu(t, r, a);
7132
+ }, $u = (e) => {
7123
7133
  if (!e.hotInstance || !e.hotInstance.rootElement)
7124
7134
  return;
7125
7135
  const t = e.params.orderBy, n = e.params.sortedBy, o = e.hotInstance.rootElement.querySelectorAll("thead th.can-sort .relative");
@@ -7129,7 +7139,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7129
7139
  const a = r.closest("th"), s = Array.from(a.parentElement.children).indexOf(a);
7130
7140
  e.methods.colToProp(s) === t && r.classList.add(n);
7131
7141
  });
7132
- }, $u = (e) => (t, n, o, r, a, s, l) => {
7142
+ }, Mu = (e) => (t, n, o, r, a, s, l) => {
7133
7143
  n.innerHTML = "", n.classList.add("spark-table-cell-actions");
7134
7144
  const c = (l.rendererConfig || {}).actions || [];
7135
7145
  if (c.length === 0)
@@ -7172,7 +7182,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7172
7182
  purple: "bg-purple-100 text-purple-800",
7173
7183
  pink: "bg-pink-100 text-pink-800",
7174
7184
  indigo: "bg-indigo-100 text-indigo-800"
7175
- }, Mu = (e) => (t, n, o, r, a, s, l) => {
7185
+ }, Lu = (e) => (t, n, o, r, a, s, l) => {
7176
7186
  if (n.innerHTML = "", n.classList.add("spark-table-cell-badge"), !s)
7177
7187
  return;
7178
7188
  const c = (l.rendererConfig || {}).colorMap || {}, f = c[s] || c[s?.toLowerCase()] || "gray", d = Js[f] || Js.gray, u = document.createElement("span");
@@ -7194,7 +7204,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7194
7204
  blue: { bg: "bg-blue-100", text: "text-blue-500" },
7195
7205
  gray: { bg: "bg-gray-100", text: "text-gray-500" },
7196
7206
  purple: { bg: "bg-purple-100", text: "text-purple-500" }
7197
- }, Lu = (e) => {
7207
+ }, Ou = (e) => {
7198
7208
  if (e == null || e === "")
7199
7209
  return !1;
7200
7210
  if (typeof e == "boolean")
@@ -7206,9 +7216,9 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7206
7216
  return t === "1" || t === "yes" || t === "true";
7207
7217
  }
7208
7218
  return !1;
7209
- }, Ou = (e) => (t, n, o, r, a, s, l) => {
7219
+ }, Pu = (e) => (t, n, o, r, a, s, l) => {
7210
7220
  n.innerHTML = "", n.classList.add("spark-table-cell-boolean");
7211
- const i = l.rendererConfig || {}, c = Lu(s), f = c ? i.trueIcon || "check" : i.falseIcon || "xmark", d = c ? i.trueColor || "green" : i.falseColor || "red", u = i.size || 32, p = i.iconPrefix || "far", y = Qs[d] || Qs.gray;
7221
+ const i = l.rendererConfig || {}, c = Ou(s), f = c ? i.trueIcon || "check" : i.falseIcon || "xmark", d = c ? i.trueColor || "green" : i.falseColor || "red", u = i.size || 32, p = i.iconPrefix || "far", y = Qs[d] || Qs.gray;
7212
7222
  n.dataset.copyValue = c ? "true" : "false";
7213
7223
  const m = document.createElement("div");
7214
7224
  m.classList.add(
@@ -7223,7 +7233,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7223
7233
  g.innerHTML = Wt({ prefix: p, iconName: f }).html, g.classList.add("flex", "items-center", "justify-center");
7224
7234
  const h = Math.round(u * 0.5);
7225
7235
  g.style.fontSize = `${h}px`, m.appendChild(g), n.appendChild(m);
7226
- }, Pu = (e, t = 2) => {
7236
+ }, Au = (e, t = 2) => {
7227
7237
  const n = Number(e);
7228
7238
  if (isNaN(n)) return null;
7229
7239
  const o = n < 0, a = Math.abs(n).toLocaleString("en-AU", {
@@ -7231,21 +7241,21 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7231
7241
  maximumFractionDigits: t
7232
7242
  });
7233
7243
  return o ? `-$${a}` : `$${a}`;
7234
- }, Au = (e) => (t, n, o, r, a, s, l) => {
7244
+ }, Ru = (e) => (t, n, o, r, a, s, l) => {
7235
7245
  n.innerHTML = "", n.classList.add("spark-table-cell-currency");
7236
7246
  const i = l.rendererConfig || {}, { decimals: c = 2, emptyText: f = "" } = i;
7237
7247
  if (s == null || s === "") {
7238
7248
  n.textContent = f;
7239
7249
  return;
7240
7250
  }
7241
- const d = Pu(s, c);
7251
+ const d = Au(s, c);
7242
7252
  if (d === null) {
7243
7253
  n.textContent = f;
7244
7254
  return;
7245
7255
  }
7246
7256
  const u = document.createElement("span");
7247
7257
  u.textContent = d, n.appendChild(u);
7248
- }, Ru = (e) => (t, n, o, r, a, s, l) => {
7258
+ }, Fu = (e) => (t, n, o, r, a, s, l) => {
7249
7259
  if (n.innerHTML = "", n.classList.add("spark-table-cell-link"), !s)
7250
7260
  return;
7251
7261
  const i = l.rendererConfig || {}, c = t.getSourceDataAtRow(t.toPhysicalRow(o));
@@ -7259,7 +7269,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7259
7269
  sm: "h-6 w-6",
7260
7270
  md: "h-8 w-8",
7261
7271
  lg: "h-12 w-12"
7262
- }, Fu = (e) => (t, n, o, r, a, s, l) => {
7272
+ }, Iu = (e) => (t, n, o, r, a, s, l) => {
7263
7273
  if (n.innerHTML = "", n.classList.add("spark-table-cell-image"), !s)
7264
7274
  return;
7265
7275
  const i = l.rendererConfig || {}, c = t.getSourceDataAtRow(t.toPhysicalRow(o)), f = i.size || "md", d = er[f] || er.md, u = i.rounded !== !1, p = i.lightbox || !1, y = i.group || "table-images";
@@ -7271,7 +7281,7 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7271
7281
  h.href = s, h.setAttribute("data-fancybox", y), m && h.setAttribute("data-caption", m), g.classList.add("cursor-pointer", "hover:opacity-80", "transition-opacity"), h.appendChild(g), n.appendChild(h);
7272
7282
  } else
7273
7283
  n.appendChild(g);
7274
- }, Iu = (e) => (t, n, o, r, a, s, l) => {
7284
+ }, Du = (e) => (t, n, o, r, a, s, l) => {
7275
7285
  if (n.innerHTML = "", n.classList.add("spark-table-cell-date"), !s)
7276
7286
  return;
7277
7287
  const i = l.rendererConfig || {}, c = i.format || "short", f = i.locale || "en-US";
@@ -7282,27 +7292,27 @@ const Rt = new hu(), vu = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
7282
7292
  year: "numeric",
7283
7293
  month: "long",
7284
7294
  day: "numeric"
7285
- }) : c === "relative" ? d = Du(p) : c === "datetime" ? d = p.toLocaleString(f) : d = p.toLocaleDateString(f);
7295
+ }) : c === "relative" ? d = ju(p) : c === "datetime" ? d = p.toLocaleString(f) : d = p.toLocaleDateString(f);
7286
7296
  } catch (p) {
7287
7297
  console.error("Error formatting date:", p), d = s;
7288
7298
  }
7289
7299
  const u = document.createElement("span");
7290
7300
  u.textContent = d, n.appendChild(u);
7291
7301
  };
7292
- function Du(e) {
7302
+ function ju(e) {
7293
7303
  const n = /* @__PURE__ */ new Date() - e, o = Math.floor(Math.abs(n) / 1e3), r = Math.floor(o / 60), a = Math.floor(r / 60), s = Math.floor(a / 24), l = Math.floor(s / 30), i = Math.floor(s / 365), c = n > 0;
7294
7304
  return o < 60 ? c ? "just now" : "in a moment" : r < 60 ? c ? `${r} minute${r > 1 ? "s" : ""} ago` : `in ${r} minute${r > 1 ? "s" : ""}` : a < 24 ? c ? `${a} hour${a > 1 ? "s" : ""} ago` : `in ${a} hour${a > 1 ? "s" : ""}` : s < 30 ? c ? `${s} day${s > 1 ? "s" : ""} ago` : `in ${s} day${s > 1 ? "s" : ""}` : l < 12 ? c ? `${l} month${l > 1 ? "s" : ""} ago` : `in ${l} month${l > 1 ? "s" : ""}` : c ? `${i} year${i > 1 ? "s" : ""} ago` : `in ${i} year${i > 1 ? "s" : ""}`;
7295
7305
  }
7296
- const ju = (e) => {
7306
+ const Hu = (e) => {
7297
7307
  const t = ["th", "st", "nd", "rd"], n = e % 100;
7298
7308
  return e + (t[(n - 20) % 10] || t[n] || t[0]);
7299
- }, ht = (e, t = 2) => String(e).padStart(t, "0"), _o = /* @__PURE__ */ new Map(), Hu = (e, t) => {
7309
+ }, ht = (e, t = 2) => String(e).padStart(t, "0"), _o = /* @__PURE__ */ new Map(), Vu = (e, t) => {
7300
7310
  const n = `${e}:${JSON.stringify(t)}`;
7301
7311
  return _o.has(n) || _o.set(n, new Intl.DateTimeFormat(e, t)), _o.get(n);
7302
7312
  }, _n = (e, t, n, o) => {
7303
- const s = Hu(t, n).formatToParts(e).find((l) => l.type === o);
7313
+ const s = Vu(t, n).formatToParts(e).find((l) => l.type === o);
7304
7314
  return s ? s.value : "";
7305
- }, Vu = (e) => e.epochMilliseconds !== void 0 ? new Date(e.epochMilliseconds) : new Date(
7315
+ }, zu = (e) => e.epochMilliseconds !== void 0 ? new Date(e.epochMilliseconds) : new Date(
7306
7316
  e.year,
7307
7317
  e.month - 1,
7308
7318
  e.day,
@@ -7310,7 +7320,7 @@ const ju = (e) => {
7310
7320
  e.minute || 0,
7311
7321
  e.second || 0,
7312
7322
  e.millisecond || 0
7313
- ), zu = (e) => {
7323
+ ), Nu = (e) => {
7314
7324
  const t = e.hour || 0, n = t % 12 || 12, o = t >= 12;
7315
7325
  return {
7316
7326
  year: e.year,
@@ -7333,8 +7343,8 @@ const ju = (e) => {
7333
7343
  return "";
7334
7344
  const n = Math.round(e.offsetNanoseconds / 6e10), o = n >= 0 ? "+" : "-", r = Math.abs(n), a = Math.floor(r / 60), s = r % 60;
7335
7345
  return t ? `${o}${ht(a)}:${ht(s)}` : `${o}${ht(a)}${ht(s)}`;
7336
- }, Nu = (e, t) => {
7337
- const n = zu(e), o = Vu(e), r = n.dayOfWeek === 7 ? 0 : n.dayOfWeek;
7346
+ }, Bu = (e, t) => {
7347
+ const n = Nu(e), o = zu(e), r = n.dayOfWeek === 7 ? 0 : n.dayOfWeek;
7338
7348
  return [
7339
7349
  // Year
7340
7350
  ["YYYY", () => String(n.year)],
@@ -7346,7 +7356,7 @@ const ju = (e) => {
7346
7356
  ["M", () => String(n.month)],
7347
7357
  // Day of month
7348
7358
  ["DD", () => ht(n.day)],
7349
- ["Do", () => ju(n.day)],
7359
+ ["Do", () => Hu(n.day)],
7350
7360
  ["D", () => String(n.day)],
7351
7361
  // Day of week
7352
7362
  ["dddd", () => _n(o, t, { weekday: "long" }, "weekday")],
@@ -7380,7 +7390,7 @@ const ju = (e) => {
7380
7390
  ["x", () => String(e.epochMilliseconds ?? o.getTime())],
7381
7391
  ["X", () => String(Math.floor((e.epochMilliseconds ?? o.getTime()) / 1e3))]
7382
7392
  ];
7383
- }, Bu = (e, t, n = {}) => {
7393
+ }, qu = (e, t, n = {}) => {
7384
7394
  const { locale: o = "en-US" } = n;
7385
7395
  if (!e)
7386
7396
  return "";
@@ -7396,20 +7406,20 @@ const ju = (e) => {
7396
7406
  } catch (i) {
7397
7407
  return console.error("Failed to parse date string:", e, i), e;
7398
7408
  }
7399
- const a = Nu(r, o), s = a.map(([i]) => i).join("|"), l = new RegExp(`\\[([^\\]]+)\\]|(${s})`, "g");
7409
+ const a = Bu(r, o), s = a.map(([i]) => i).join("|"), l = new RegExp(`\\[([^\\]]+)\\]|(${s})`, "g");
7400
7410
  return t.replace(l, (i, c, f) => {
7401
7411
  if (c !== void 0)
7402
7412
  return c;
7403
7413
  const d = a.find(([u]) => u === f);
7404
7414
  return d ? d[1]() : i;
7405
7415
  });
7406
- }, qu = (e, t = {}) => {
7416
+ }, Wu = (e, t = {}) => {
7407
7417
  const { fromTimezone: n, toTimezone: o } = t;
7408
7418
  if (!e)
7409
7419
  return null;
7410
7420
  const r = e.replace(" ", "T");
7411
7421
  return n && o ? Temporal.PlainDateTime.from(r).toZonedDateTime(n).withTimeZone(o) : n ? Temporal.PlainDateTime.from(r).toZonedDateTime(n) : Temporal.PlainDateTime.from(r);
7412
- }, Wu = (e) => (t, n, o, r, a, s, l) => {
7422
+ }, Uu = (e) => (t, n, o, r, a, s, l) => {
7413
7423
  n.innerHTML = "", n.classList.add("spark-table-cell-datetime");
7414
7424
  const i = l.rendererConfig || {}, {
7415
7425
  format: c = "DD MMM YYYY, HH:mm",
@@ -7423,22 +7433,22 @@ const ju = (e) => {
7423
7433
  return;
7424
7434
  }
7425
7435
  try {
7426
- const y = qu(s, { fromTimezone: f, toTimezone: d });
7436
+ const y = Wu(s, { fromTimezone: f, toTimezone: d });
7427
7437
  if (!y) {
7428
7438
  n.textContent = p;
7429
7439
  return;
7430
7440
  }
7431
- const m = Bu(y, c, { locale: u }), g = document.createElement("span");
7441
+ const m = qu(y, c, { locale: u }), g = document.createElement("span");
7432
7442
  g.textContent = m, n.appendChild(g);
7433
7443
  } catch (y) {
7434
7444
  console.error("Error formatting datetime:", y, { value: s, format: c }), n.textContent = s;
7435
7445
  }
7436
- }, Uu = /* @__PURE__ */ new Map(), Pt = (e, t) => {
7446
+ }, Zu = /* @__PURE__ */ new Map(), Pt = (e, t) => {
7437
7447
  yi(e, (n, o, r, a, s, l, i) => {
7438
7448
  bi.apply(null, [n, o, r, a, s, l, i]), t(n, o, r, a, s, l, i);
7439
- }), Uu.set(e, t);
7440
- }, Zu = (e) => {
7441
- Pt("spark.actions", $u(e)), Pt("spark.badge", Mu()), Pt("spark.boolean", Ou()), Pt("spark.currency", Au()), Pt("spark.link", Ru()), Pt("spark.image", Fu()), Pt("spark.date", Iu()), Pt("spark.datetime", Wu()), Pt("style.capitalize", (t, n, o, r, a, s) => {
7449
+ }), Zu.set(e, t);
7450
+ }, Gu = (e) => {
7451
+ Pt("spark.actions", Mu(e)), Pt("spark.badge", Lu()), Pt("spark.boolean", Pu()), Pt("spark.currency", Ru()), Pt("spark.link", Fu()), Pt("spark.image", Iu()), Pt("spark.date", Du()), Pt("spark.datetime", Uu()), Pt("style.capitalize", (t, n, o, r, a, s) => {
7442
7452
  if (!s || s.length === 0) {
7443
7453
  n.innerText = "";
7444
7454
  return;
@@ -7446,8 +7456,8 @@ const ju = (e) => {
7446
7456
  const l = document.createElement("span");
7447
7457
  l.innerHTML = s, l.classList.add("capitalize"), n.replaceChildren(l);
7448
7458
  });
7449
- }, Gu = () => {
7450
- }, Yu = (e, t = {}) => {
7459
+ }, Yu = () => {
7460
+ }, Xu = (e, t = {}) => {
7451
7461
  const n = Tt(), o = Dt(), r = t.namespace, a = r === null, s = t.syncToRoute !== !1, l = t.persistToStorage === !0, i = t.restoreOnMount !== !1, c = t.storageTTL || 7, f = a ? `spark-table:${o.path}` : `spark-table:${r}`, d = (v, k = "") => {
7452
7462
  const x = {};
7453
7463
  return Object.keys(v).forEach((L) => {
@@ -7555,7 +7565,7 @@ const ju = (e) => {
7555
7565
  loadFromStorage: p,
7556
7566
  clearStorage: y
7557
7567
  };
7558
- }, Xu = { class: "flex items-center gap-4 py-3" }, Ku = { class: "shrink-0" }, Ju = { class: "text-sm text-gray-700" }, Qu = { class: "font-medium" }, ed = { class: "font-medium" }, td = { class: "font-medium" }, nd = {
7568
+ }, Ku = { class: "flex items-center gap-4 py-3" }, Ju = { class: "shrink-0" }, Qu = { class: "text-sm text-gray-700" }, ed = { class: "font-medium" }, td = { class: "font-medium" }, nd = { class: "font-medium" }, od = {
7559
7569
  __name: "SparkTablePaginationDetails",
7560
7570
  props: {
7561
7571
  sparkTable: {
@@ -7566,28 +7576,28 @@ const ju = (e) => {
7566
7576
  setup(e) {
7567
7577
  const t = e;
7568
7578
  return (n, o) => (T(), P("div", null, [
7569
- _("div", Xu, [
7570
- _("div", Ku, [
7571
- _("div", Ju, [
7579
+ _("div", Ku, [
7580
+ _("div", Ju, [
7581
+ _("div", Qu, [
7572
7582
  o[0] || (o[0] = qe(" Showing ", -1)),
7573
- _("span", Qu, xe(t.sparkTable.response.meta.from), 1),
7583
+ _("span", ed, xe(t.sparkTable.response.meta.from), 1),
7574
7584
  o[1] || (o[1] = qe(" to ", -1)),
7575
- _("span", ed, xe(t.sparkTable.response.meta.to), 1),
7585
+ _("span", td, xe(t.sparkTable.response.meta.to), 1),
7576
7586
  o[2] || (o[2] = qe(" of ", -1)),
7577
- _("span", td, xe(t.sparkTable.response.meta.total), 1),
7587
+ _("span", nd, xe(t.sparkTable.response.meta.total), 1),
7578
7588
  o[3] || (o[3] = qe(" results ", -1))
7579
7589
  ])
7580
7590
  ])
7581
7591
  ])
7582
7592
  ]));
7583
7593
  }
7584
- }, od = { class: "flex items-center gap-4 px-4 py-3" }, sd = {
7594
+ }, sd = { class: "flex items-center gap-4 px-4 py-3" }, rd = {
7585
7595
  key: 0,
7586
7596
  class: "shrink-0 ml-auto"
7587
- }, rd = {
7597
+ }, ad = {
7588
7598
  class: "isolate inline-flex -space-x-px rounded-md shadow-xs bg-white",
7589
7599
  "aria-label": "Pagination"
7590
- }, ad = ["onClick"], id = {
7600
+ }, id = ["onClick"], ld = {
7591
7601
  __name: "SparkTablePaginationPaging",
7592
7602
  props: {
7593
7603
  sparkTable: {
@@ -7612,10 +7622,10 @@ const ju = (e) => {
7612
7622
  return (f, d) => {
7613
7623
  const u = Ue("font-awesome-icon");
7614
7624
  return T(), P("div", null, [
7615
- _("div", od, [
7616
- l.value.length > 1 ? (T(), P("div", sd, [
7625
+ _("div", sd, [
7626
+ l.value.length > 1 ? (T(), P("div", rd, [
7617
7627
  _("div", null, [
7618
- _("nav", rd, [
7628
+ _("nav", ad, [
7619
7629
  _("a", {
7620
7630
  class: _e([c.value ? "" : "disabled", "relative inline-flex items-center rounded-l-md px-2 py-[9px] text-gray-400 ring-1 ring-gray-300 ring-inset hover:bg-gray-50 focus:z-20 focus:outline-offset-0"]),
7621
7631
  href: "#",
@@ -7634,7 +7644,7 @@ const ju = (e) => {
7634
7644
  e.sparkTable.params.page === p ? "z-10 text-white bg-primary-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 hover:bg-primary-600" : "text-gray-900 hover:bg-gray-50 ring-gray-300 focus:z-20 focus:outline-offset-0"
7635
7645
  ]),
7636
7646
  onClick: (y) => a(p)
7637
- }, xe(p), 11, ad))), 128)),
7647
+ }, xe(p), 11, id))), 128)),
7638
7648
  _("a", {
7639
7649
  class: _e([i.value ? "" : "disabled", "relative inline-flex items-center rounded-r-md px-2 py-[9px] text-gray-400 ring-1 ring-gray-300 ring-inset hover:bg-gray-50 focus:z-20 focus:outline-offset-0"]),
7640
7650
  href: "#",
@@ -7657,7 +7667,7 @@ const ju = (e) => {
7657
7667
  for (const [o, r] of t)
7658
7668
  n[o] = r;
7659
7669
  return n;
7660
- }, ld = { class: "spark-table-pagination-per-page" }, cd = {
7670
+ }, cd = { class: "spark-table-pagination-per-page" }, ud = {
7661
7671
  __name: "SparkTablePaginationPerPage",
7662
7672
  props: {
7663
7673
  sparkTable: {
@@ -7678,7 +7688,7 @@ const ju = (e) => {
7678
7688
  };
7679
7689
  return (s, l) => {
7680
7690
  const i = Ue("FormKit");
7681
- return T(), P("div", ld, [
7691
+ return T(), P("div", cd, [
7682
7692
  oe(i, {
7683
7693
  "model-value": e.sparkTable.params.limit,
7684
7694
  type: "select",
@@ -7691,7 +7701,7 @@ const ju = (e) => {
7691
7701
  ]);
7692
7702
  };
7693
7703
  }
7694
- }, ud = /* @__PURE__ */ an(cd, [["__scopeId", "data-v-9ef8544b"]]), nr = {
7704
+ }, dd = /* @__PURE__ */ an(ud, [["__scopeId", "data-v-9ef8544b"]]), nr = {
7695
7705
  __name: "SparkTableToolbar",
7696
7706
  props: {
7697
7707
  position: {
@@ -7712,7 +7722,7 @@ const ju = (e) => {
7712
7722
  Ke(a.$slots, "default")
7713
7723
  ], 2)) : he("", !0);
7714
7724
  }
7715
- }, dd = { class: "spark-table-search" }, fd = {
7725
+ }, fd = { class: "spark-table-search" }, pd = {
7716
7726
  __name: "SparkTableSearch",
7717
7727
  props: {
7718
7728
  /** SparkTable instance object */
@@ -7735,7 +7745,7 @@ const ju = (e) => {
7735
7745
  t.sparkTable.params[o] ? n.value = t.sparkTable.params[o] : t.config.initialValue && (n.value = t.config.initialValue, t.sparkTable.methods.applyParams({
7736
7746
  [o]: t.config.initialValue
7737
7747
  }));
7738
- const r = Lr((s) => {
7748
+ const r = Mr((s) => {
7739
7749
  s ? t.sparkTable.methods.applyParams({
7740
7750
  page: 1,
7741
7751
  [o]: s
@@ -7752,7 +7762,7 @@ const ju = (e) => {
7752
7762
  }
7753
7763
  ), (s, l) => {
7754
7764
  const i = Ue("FormKit");
7755
- return T(), P("div", dd, [
7765
+ return T(), P("div", fd, [
7756
7766
  oe(i, wt({
7757
7767
  modelValue: n.value,
7758
7768
  "onUpdate:modelValue": l[0] || (l[0] = (c) => n.value = c),
@@ -7766,7 +7776,7 @@ const ju = (e) => {
7766
7776
  ]);
7767
7777
  };
7768
7778
  }
7769
- }, pd = /* @__PURE__ */ an(fd, [["__scopeId", "data-v-18795b8f"]]), md = { class: "spark-table-filter-select" }, gd = {
7779
+ }, md = /* @__PURE__ */ an(pd, [["__scopeId", "data-v-18795b8f"]]), gd = { class: "spark-table-filter-select" }, hd = {
7770
7780
  __name: "SparkTableFilterSelect",
7771
7781
  props: {
7772
7782
  /** SparkTable instance object */
@@ -7799,7 +7809,7 @@ const ju = (e) => {
7799
7809
  }
7800
7810
  ), (s, l) => {
7801
7811
  const i = Ue("FormKit");
7802
- return T(), P("div", md, [
7812
+ return T(), P("div", gd, [
7803
7813
  oe(i, wt({
7804
7814
  modelValue: n.value,
7805
7815
  "onUpdate:modelValue": l[0] || (l[0] = (c) => n.value = c),
@@ -7813,10 +7823,10 @@ const ju = (e) => {
7813
7823
  ]);
7814
7824
  };
7815
7825
  }
7816
- }, hd = /* @__PURE__ */ an(gd, [["__scopeId", "data-v-79c78a5b"]]), vd = { class: "spark-table-filter-buttons" }, yd = {
7826
+ }, vd = /* @__PURE__ */ an(hd, [["__scopeId", "data-v-79c78a5b"]]), yd = { class: "spark-table-filter-buttons" }, bd = {
7817
7827
  key: 0,
7818
7828
  class: "spark-table-filter-buttons-label"
7819
- }, bd = {
7829
+ }, xd = {
7820
7830
  __name: "SparkTableFilterButtons",
7821
7831
  props: {
7822
7832
  /** SparkTable instance object */
@@ -7847,9 +7857,9 @@ const ju = (e) => {
7847
7857
  (l) => {
7848
7858
  (l == null || l === "") && n.value ? n.value = null : l !== n.value && (n.value = l);
7849
7859
  }
7850
- ), (l, i) => (T(), P("div", vd, [
7851
- ne(o) ? (T(), P("span", yd, xe(ne(o)), 1)) : he("", !0),
7852
- oe(Qr, { class: "isolate" }, {
7860
+ ), (l, i) => (T(), P("div", yd, [
7861
+ ne(o) ? (T(), P("span", bd, xe(ne(o)), 1)) : he("", !0),
7862
+ oe(Jr, { class: "isolate" }, {
7853
7863
  default: we(() => [
7854
7864
  (T(!0), P(ze, null, st(e.config.options, (c) => (T(), Me(mt, {
7855
7865
  key: c.value,
@@ -7868,7 +7878,7 @@ const ju = (e) => {
7868
7878
  })
7869
7879
  ]));
7870
7880
  }
7871
- }, xd = /* @__PURE__ */ an(bd, [["__scopeId", "data-v-0eb19c63"]]), wd = { class: "spark-table-date-picker" }, Sd = {
7881
+ }, wd = /* @__PURE__ */ an(xd, [["__scopeId", "data-v-0eb19c63"]]), Sd = { class: "spark-table-date-picker" }, kd = {
7872
7882
  __name: "SparkTableDatePicker",
7873
7883
  props: {
7874
7884
  /** SparkTable instance object */
@@ -7903,7 +7913,7 @@ const ju = (e) => {
7903
7913
  }
7904
7914
  ), (s, l) => {
7905
7915
  const i = Ue("FormKit");
7906
- return T(), P("div", wd, [
7916
+ return T(), P("div", Sd, [
7907
7917
  (T(), Me(i, wt({
7908
7918
  key: a.value,
7909
7919
  modelValue: n.value,
@@ -7921,7 +7931,7 @@ const ju = (e) => {
7921
7931
  ]);
7922
7932
  };
7923
7933
  }
7924
- }, kd = /* @__PURE__ */ an(Sd, [["__scopeId", "data-v-44ef9cb8"]]), Ed = { class: "spark-table-reset" }, Td = { key: 1 }, Cd = {
7934
+ }, Ed = /* @__PURE__ */ an(kd, [["__scopeId", "data-v-44ef9cb8"]]), Td = { class: "spark-table-reset" }, Cd = { key: 1 }, _d = {
7925
7935
  __name: "SparkTableReset",
7926
7936
  props: {
7927
7937
  /** SparkTable instance object */
@@ -7959,7 +7969,7 @@ const ju = (e) => {
7959
7969
  };
7960
7970
  return (o, r) => {
7961
7971
  const a = Ue("font-awesome-icon");
7962
- return T(), P("div", Ed, [
7972
+ return T(), P("div", Td, [
7963
7973
  oe(mt, {
7964
7974
  variant: "secondary",
7965
7975
  "button-class": "px-3.5",
@@ -7972,23 +7982,23 @@ const ju = (e) => {
7972
7982
  icon: ["far", e.config.icon],
7973
7983
  class: _e({ "mr-1.5": e.config.label })
7974
7984
  }, null, 8, ["icon", "class"])) : he("", !0),
7975
- e.config.label ? (T(), P("span", Td, xe(e.config.label), 1)) : he("", !0)
7985
+ e.config.label ? (T(), P("span", Cd, xe(e.config.label), 1)) : he("", !0)
7976
7986
  ]),
7977
7987
  _: 1
7978
7988
  })
7979
7989
  ]);
7980
7990
  };
7981
7991
  }
7982
- }, _d = /* @__PURE__ */ an(Cd, [["__scopeId", "data-v-6df5499a"]]), $d = { class: "spark-table" }, Md = {
7992
+ }, $d = /* @__PURE__ */ an(_d, [["__scopeId", "data-v-6df5499a"]]), Md = { class: "spark-table" }, Ld = {
7983
7993
  key: 1,
7984
7994
  class: "pt-5"
7985
- }, Ld = {
7995
+ }, Od = {
7986
7996
  key: 2,
7987
7997
  class: "flex flex-col items-center justify-center py-16 text-gray-500 rounded-md border border-gray-300 bg-white"
7988
- }, Od = { class: "flex items-center gap-x-3 ml-auto" }, No = {
7998
+ }, Pd = { class: "flex items-center gap-x-3 ml-auto" }, No = {
7989
7999
  perPages: [15, 30, 50, 100, 200, 500],
7990
8000
  limit: 15
7991
- }, Pd = {
8001
+ }, Ad = {
7992
8002
  page: 1,
7993
8003
  limit: No.limit
7994
8004
  }, or = {
@@ -8001,7 +8011,7 @@ const ju = (e) => {
8001
8011
  tableClassName: "spark-table-table",
8002
8012
  readOnlyCellClassName: "read-only",
8003
8013
  licenseKey: "non-commercial-and-evaluation"
8004
- }, Xp = {
8014
+ }, Kp = {
8005
8015
  __name: "SparkTable",
8006
8016
  props: {
8007
8017
  url: {
@@ -8027,7 +8037,7 @@ const ju = (e) => {
8027
8037
  params: {
8028
8038
  type: Object,
8029
8039
  default() {
8030
- return Pd;
8040
+ return Ad;
8031
8041
  }
8032
8042
  },
8033
8043
  options: {
@@ -8072,11 +8082,11 @@ const ju = (e) => {
8072
8082
  const r = n, a = ao("axios"), s = ke(null), l = ke(!1), i = ke(null);
8073
8083
  let c = !1;
8074
8084
  const f = {
8075
- search: pd,
8076
- filterSelect: hd,
8077
- filterButtons: xd,
8078
- datePicker: kd,
8079
- reset: _d
8085
+ search: md,
8086
+ filterSelect: vd,
8087
+ filterButtons: wd,
8088
+ datePicker: Ed,
8089
+ reset: $d
8080
8090
  }, d = Et({
8081
8091
  hotInstance: null,
8082
8092
  url: Q(() => o.url),
@@ -8162,10 +8172,10 @@ const ju = (e) => {
8162
8172
  ...or,
8163
8173
  nestedHeaders: zt(o.settings, "nestedHeaders", []),
8164
8174
  ...!zt(o.settings, "nestedHeaders") && {
8165
- afterGetColHeader: (g, h) => Cu(g, h, d)
8175
+ afterGetColHeader: (g, h) => _u(g, h, d)
8166
8176
  },
8167
- afterChange: (g, h) => Gu(),
8168
- afterRender: () => _u(d),
8177
+ afterChange: (g, h) => Yu(),
8178
+ afterRender: () => $u(d),
8169
8179
  beforeStretchingColumnWidth: (g, h) => {
8170
8180
  const v = zt(o.settings, "columns", [])[h];
8171
8181
  return v && v.width !== void 0 ? v.width : g;
@@ -8214,7 +8224,7 @@ const ju = (e) => {
8214
8224
  { deep: !0, flush: "sync" }
8215
8225
  ), o.syncToRoute || o.persistToStorage) {
8216
8226
  const g = typeof o.syncToRoute == "string";
8217
- Yu(d, {
8227
+ Xu(d, {
8218
8228
  namespace: g ? o.syncToRoute : null,
8219
8229
  syncToRoute: !!o.syncToRoute,
8220
8230
  persistToStorage: o.persistToStorage
@@ -8241,7 +8251,7 @@ const ju = (e) => {
8241
8251
  await d.methods.loadTable(), r("ready");
8242
8252
  }), Fn(() => {
8243
8253
  c = !0;
8244
- }), Zu(d), t({
8254
+ }), Gu(d), t({
8245
8255
  refresh: () => d.methods.loadTable(),
8246
8256
  getParams: () => d.methods.getParams(),
8247
8257
  getParam: (g) => d.methods.getParam(g),
@@ -8255,7 +8265,7 @@ const ju = (e) => {
8255
8265
  table: s
8256
8266
  }), (g, h) => {
8257
8267
  const b = Ue("font-awesome-icon");
8258
- return T(), P("div", $d, [
8268
+ return T(), P("div", Md, [
8259
8269
  d.computed.ready && m.value && m.value.length ? (T(), Me(nr, {
8260
8270
  key: 0,
8261
8271
  position: "header"
@@ -8274,7 +8284,7 @@ const ju = (e) => {
8274
8284
  })
8275
8285
  ]),
8276
8286
  _: 3
8277
- })) : (T(), P("div", Md)),
8287
+ })) : (T(), P("div", Ld)),
8278
8288
  Qt(oe(ne(fi), {
8279
8289
  ref_key: "table",
8280
8290
  ref: s,
@@ -8283,7 +8293,7 @@ const ju = (e) => {
8283
8293
  }, null, 8, ["settings"]), [
8284
8294
  [ar, !u.value]
8285
8295
  ]),
8286
- u.value ? (T(), P("div", Ld, [
8296
+ u.value ? (T(), P("div", Od, [
8287
8297
  oe(b, {
8288
8298
  icon: ne(Ie).farInbox,
8289
8299
  class: "size-12 mb-4 text-gray-300"
@@ -8295,17 +8305,17 @@ const ju = (e) => {
8295
8305
  position: "footer"
8296
8306
  }, {
8297
8307
  default: we(() => [
8298
- u.value ? he("", !0) : (T(), Me(nd, {
8308
+ u.value ? he("", !0) : (T(), Me(od, {
8299
8309
  key: 0,
8300
8310
  "spark-table": d
8301
8311
  }, null, 8, ["spark-table"])),
8302
- _("div", Od, [
8303
- u.value ? he("", !0) : (T(), Me(id, {
8312
+ _("div", Pd, [
8313
+ u.value ? he("", !0) : (T(), Me(ld, {
8304
8314
  key: 0,
8305
8315
  "spark-table": d,
8306
8316
  onPaginate: d.methods.applyParams
8307
8317
  }, null, 8, ["spark-table", "onPaginate"])),
8308
- oe(ud, {
8318
+ oe(dd, {
8309
8319
  "spark-table": d,
8310
8320
  onPaginate: d.methods.applyParams
8311
8321
  }, null, 8, ["spark-table", "onPaginate"]),
@@ -8349,7 +8359,7 @@ function sr() {
8349
8359
  }
8350
8360
  };
8351
8361
  }
8352
- class Ad {
8362
+ class Rd {
8353
8363
  constructor() {
8354
8364
  this.left = sr(), this.right = sr();
8355
8365
  }
@@ -8381,37 +8391,37 @@ class Ad {
8381
8391
  this.left.close(), this.right.close();
8382
8392
  };
8383
8393
  }
8384
- const Jt = new Ad(), Rd = (e) => {
8394
+ const Jt = new Rd(), Fd = (e) => {
8385
8395
  const t = document.cookie.match(new RegExp(`(^| )${e}=([^;]+)`));
8386
8396
  return t ? t[2] : null;
8387
- }, Fd = (e, t, n = {}) => {
8397
+ }, Id = (e, t, n = {}) => {
8388
8398
  const {
8389
8399
  maxAge: o = 31536e3,
8390
8400
  // 365 days in seconds
8391
- domain: r = ca(),
8401
+ domain: r = la(),
8392
8402
  secure: a = !0,
8393
8403
  sameSite: s = "Lax",
8394
8404
  path: l = "/"
8395
8405
  } = n;
8396
8406
  let i = `${e}=${t}; max-age=${o}; path=${l}; samesite=${s}`;
8397
8407
  r && (i += `; domain=${r}`), a && (i += "; secure"), document.cookie = i;
8398
- }, Id = (e, t = {}) => {
8399
- const { domain: n = ca(), path: o = "/" } = t;
8408
+ }, Dd = (e, t = {}) => {
8409
+ const { domain: n = la(), path: o = "/" } = t;
8400
8410
  let r = `${e}=; max-age=0; path=${o}`;
8401
8411
  n && (r += `; domain=${n}`), document.cookie = r;
8402
- }, ca = () => {
8412
+ }, la = () => {
8403
8413
  const e = window.location.hostname;
8404
8414
  return e === "localhost" ? "localhost" : e.endsWith(".test") || e.endsWith(".io") ? "." + e.split(".").slice(-2).join(".") : e.endsWith(".com.au") ? "." + e.split(".").slice(-3).join(".") : e;
8405
- }, ua = [];
8406
- function Dd(e) {
8407
- ua.push(e);
8415
+ }, ca = [];
8416
+ function jd(e) {
8417
+ ca.push(e);
8408
8418
  }
8409
- function jd() {
8410
- ua.forEach((e) => e());
8419
+ function Hd() {
8420
+ ca.forEach((e) => e());
8411
8421
  }
8412
- function Kp(e) {
8422
+ function Jp(e) {
8413
8423
  let t = !1;
8414
- return Dd(() => {
8424
+ return jd(() => {
8415
8425
  t = !1;
8416
8426
  }), {
8417
8427
  bootstrapApp: async () => {
@@ -8460,10 +8470,10 @@ const $o = "bolt-next-token", Ft = In("auth", () => {
8460
8470
  }), t = (c = {}) => {
8461
8471
  c.endpoints && Object.assign(e.endpoints, c.endpoints), c.routes && Object.assign(e.routes, c.routes), c.devCredentials && Object.assign(e.devCredentials, c.devCredentials), c.callbacks && Object.assign(e.callbacks, c.callbacks), c.overrideToken && (e.overrideToken = c.overrideToken);
8462
8472
  }, n = (c) => {
8463
- Fd($o, c), e.token = c;
8473
+ Id($o, c), e.token = c;
8464
8474
  }, o = () => {
8465
- Id($o), e.token = null;
8466
- }, r = () => Rd($o), a = async (c) => {
8475
+ Dd($o), e.token = null;
8476
+ }, r = () => Fd($o), a = async (c) => {
8467
8477
  const f = await vn.post(e.endpoints.login, c), d = f.headers.authorization;
8468
8478
  return n(d), e.user = f.data, e.callbacks.onLoginSuccess && await e.callbacks.onLoginSuccess(f.data), f.data;
8469
8479
  }, s = async () => {
@@ -8480,7 +8490,7 @@ const $o = "bolt-next-token", Ft = In("auth", () => {
8480
8490
  } catch (c) {
8481
8491
  throw e.callbacks.onLogoutError && await e.callbacks.onLogoutError(c), c;
8482
8492
  } finally {
8483
- o(), e.user = null, jd();
8493
+ o(), e.user = null, Hd();
8484
8494
  }
8485
8495
  }, l = async () => {
8486
8496
  const c = e.overrideToken || r();
@@ -8511,7 +8521,7 @@ const $o = "bolt-next-token", Ft = In("auth", () => {
8511
8521
  getTokenCookie: r
8512
8522
  };
8513
8523
  });
8514
- function Hd(e = {}) {
8524
+ function Vd(e = {}) {
8515
8525
  const t = vn.create({
8516
8526
  baseURL: e.baseURL || "",
8517
8527
  timeout: e.timeout || 3e4,
@@ -8552,24 +8562,24 @@ function Hd(e = {}) {
8552
8562
  ), t;
8553
8563
  }
8554
8564
  let hn = null;
8555
- function Jp(e, t = {}) {
8556
- return hn = Hd(t), e.provide("axios", hn), e.config.globalProperties.$axios = hn, hn;
8565
+ function Qp(e, t = {}) {
8566
+ return hn = Vd(t), e.provide("axios", hn), e.config.globalProperties.$axios = hn, hn;
8557
8567
  }
8558
8568
  function ro() {
8559
8569
  if (!hn)
8560
8570
  throw new Error("Axios instance not initialized. Call setupAxios() first.");
8561
8571
  return hn;
8562
8572
  }
8563
- function Vd(e) {
8573
+ function zd(e) {
8564
8574
  return e?.status !== 422 ? null : e.data?.errors || null;
8565
8575
  }
8566
8576
  function rr(e) {
8567
8577
  return e?.status === 422 ? e.data?.message || "Please fix the validation errors." : e?.data?.message || "An error occurred.";
8568
8578
  }
8569
- function zd(e) {
8579
+ function Nd(e) {
8570
8580
  return e?.status === 422;
8571
8581
  }
8572
- function Qp(e = {}) {
8582
+ function em(e = {}) {
8573
8583
  const {
8574
8584
  endpoint: t = null,
8575
8585
  successMessage: n = "Saved successfully!",
@@ -8603,8 +8613,8 @@ function Qp(e = {}) {
8603
8613
  const L = x.response;
8604
8614
  if (l && await l(x) === !0)
8605
8615
  return { success: !1, data: null, error: x };
8606
- if (zd(L)) {
8607
- const M = Vd(L);
8616
+ if (Nd(L)) {
8617
+ const M = zd(L);
8608
8618
  M && v && c && v.setErrors([], M), f && (Qe.show({
8609
8619
  type: "danger",
8610
8620
  message: rr(L)
@@ -8639,7 +8649,7 @@ function Qp(e = {}) {
8639
8649
  ...t ? { submitCrud: m } : {}
8640
8650
  };
8641
8651
  }
8642
- function em(e, t = {}) {
8652
+ function tm(e, t = {}) {
8643
8653
  const { queryParams: n = "", fetchFn: o = null, fetchOnCreate: r = !1 } = t, a = Dt(), s = ke(null), l = ke(null), i = Q(() => a.params.id ?? null), c = Q(() => i.value !== null);
8644
8654
  async function f() {
8645
8655
  if (!(!r && !c.value)) {
@@ -8672,7 +8682,7 @@ function em(e, t = {}) {
8672
8682
  (r || c.value) && f();
8673
8683
  }), { data: s, error: l, resourceId: i, isEditMode: c, fetch: f, handleSuccess: d };
8674
8684
  }
8675
- function tm(e, t = {}) {
8685
+ function nm(e, t = {}) {
8676
8686
  const { endpoint: n, successMessage: o, errorMessage: r, onSuccess: a, onError: s } = t;
8677
8687
  async function l(i) {
8678
8688
  try {
@@ -8693,7 +8703,7 @@ function tm(e, t = {}) {
8693
8703
  }
8694
8704
  return { handleDelete: l };
8695
8705
  }
8696
- function nm(e = {}) {
8706
+ function om(e = {}) {
8697
8707
  const { items: t = [], defaultId: n = null, syncToQuery: o = !1 } = e, r = o === !0 ? "tab" : o || null, a = Tt(), s = Dt(), l = ke(t.map(i));
8698
8708
  function i(b) {
8699
8709
  return {
@@ -8791,31 +8801,31 @@ function nm(e = {}) {
8791
8801
  };
8792
8802
  }
8793
8803
  const xn = /* @__PURE__ */ new Map();
8794
- let Nd = 0;
8795
- function Bd() {
8804
+ let Bd = 0;
8805
+ function qd() {
8796
8806
  for (const e of xn.values())
8797
8807
  if (e.isDirty)
8798
8808
  return !0;
8799
8809
  return !1;
8800
8810
  }
8801
- function qd() {
8811
+ function Wd() {
8802
8812
  for (const e of xn.values())
8803
8813
  if (e.isDirty && e.message)
8804
8814
  return e.message;
8805
8815
  return null;
8806
8816
  }
8807
- function Wd() {
8817
+ function Ud() {
8808
8818
  for (const e of xn.values())
8809
8819
  e.isDirty = !1;
8810
8820
  }
8811
- function om(e = {}) {
8821
+ function sm(e = {}) {
8812
8822
  const {
8813
8823
  message: t = "You have unsaved changes. Leave anyway?",
8814
8824
  title: n = "Unsaved Changes",
8815
8825
  confirmText: o = "Leave",
8816
8826
  cancelText: r = "Stay",
8817
8827
  useRouteGuard: a = !0
8818
- } = e, s = `form-${++Nd}`, l = ke(!1);
8828
+ } = e, s = `form-${++Bd}`, l = ke(!1);
8819
8829
  xn.set(s, {
8820
8830
  isDirty: !1,
8821
8831
  message: t
@@ -8858,7 +8868,7 @@ function om(e = {}) {
8858
8868
  disableBrowserWarning: y
8859
8869
  };
8860
8870
  }
8861
- const sm = [
8871
+ const rm = [
8862
8872
  { label: "Australian Capital Territory", value: "ACT" },
8863
8873
  { label: "New South Wales", value: "NSW" },
8864
8874
  { label: "Northern Territory", value: "NT" },
@@ -8867,26 +8877,26 @@ const sm = [
8867
8877
  { label: "Tasmania", value: "TAS" },
8868
8878
  { label: "Victoria", value: "VIC" },
8869
8879
  { label: "Western Australia", value: "WA" }
8870
- ], Ud = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Zd = { class: "flex flex-1 flex-col min-h-0" }, Gd = { class: "flex-shrink-0 flex items-center pb-8" }, Yd = {
8880
+ ], Zd = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Gd = { class: "flex flex-1 flex-col min-h-0" }, Yd = { class: "flex-shrink-0 flex items-center pb-8" }, Xd = {
8871
8881
  role: "list",
8872
8882
  class: "flex-1 overflow-y-auto"
8873
- }, Xd = ["href", "onClick"], Kd = {
8883
+ }, Kd = ["href", "onClick"], Jd = {
8874
8884
  key: 2,
8875
8885
  class: "w-full flex justify-center"
8876
- }, Jd = {
8886
+ }, Qd = {
8877
8887
  key: 0,
8878
8888
  class: "mt-[5px] flex flex-col gap-[5px]"
8879
- }, Qd = ["href", "onClick"], ef = {
8889
+ }, ef = ["href", "onClick"], tf = {
8880
8890
  key: 1,
8881
8891
  class: "text-[13px]"
8882
- }, tf = { class: "flex-shrink-0 mt-auto" }, nf = {
8892
+ }, nf = { class: "flex-shrink-0 mt-auto" }, of = {
8883
8893
  key: 0,
8884
8894
  role: "list",
8885
8895
  class: "flex flex-col gap-[5px]"
8886
- }, of = ["href", "onClick"], sf = {
8896
+ }, sf = ["href", "onClick"], rf = {
8887
8897
  key: 1,
8888
8898
  class: "text-[13px]"
8889
- }, rf = { class: "p-[10px] flex-shrink-0" }, af = { class: "flex flex-1 items-center gap-x-6" }, lf = { class: "relative flex flex-1 items-center gap-4" }, cf = { class: "cursor-pointer" }, uf = ["src"], df = { class: "ml-auto" }, ff = { class: "mr-[10px] pb-[10px] flex-1 flex flex-col" }, rm = {
8899
+ }, af = { class: "p-[10px] flex-shrink-0" }, lf = { class: "flex flex-1 items-center gap-x-6" }, cf = { class: "relative flex flex-1 items-center gap-4" }, uf = { class: "cursor-pointer" }, df = ["src"], ff = { class: "ml-auto" }, pf = { class: "mr-[10px] pb-[10px] flex-1 flex flex-col" }, am = {
8890
8900
  __name: "SparkDefaultContainer",
8891
8901
  props: {
8892
8902
  appStore: {
@@ -8908,16 +8918,16 @@ const sm = [
8908
8918
  () => n.mainNavStore.state.menu.filter((h) => !h.footerSection)
8909
8919
  ), i = Q(
8910
8920
  () => n.mainNavStore.state.menu.filter((h) => h.footerSection).flatMap((h) => h.children || [])
8911
- ), c = Jr(), f = Yr(), d = Q(() => f.getAppIcon(n.appStore.state.app)), u = Q(() => a.meta.hideBrandSelector === !0 ? !1 : n.appStore.state.showBrandSelector), p = () => {
8921
+ ), c = Kr(), f = Gr(), d = Q(() => f.getAppIcon(n.appStore.state.app)), u = Q(() => a.meta.hideBrandSelector === !0 ? !1 : n.appStore.state.showBrandSelector), p = () => {
8912
8922
  const h = {};
8913
- r["app-selector-bottom"] ? h.bottomSlot = () => rs("div", {}, r["app-selector-bottom"]()) : n.appSelectorSlots.bottomSlot && (h.bottomSlot = n.appSelectorSlots.bottomSlot), r["app-selector-footer"] ? h.footerSlot = () => rs("div", {}, r["app-selector-footer"]()) : n.appSelectorSlots.footerSlot && (h.footerSlot = n.appSelectorSlots.footerSlot), Jt.showRight(lc, h, {
8923
+ r["app-selector-bottom"] ? h.bottomSlot = () => rs("div", {}, r["app-selector-bottom"]()) : n.appSelectorSlots.bottomSlot && (h.bottomSlot = n.appSelectorSlots.bottomSlot), r["app-selector-footer"] ? h.footerSlot = () => rs("div", {}, r["app-selector-footer"]()) : n.appSelectorSlots.footerSlot && (h.footerSlot = n.appSelectorSlots.footerSlot), Jt.showRight(cc, h, {
8914
8924
  select: () => {
8915
8925
  Jt.closeRight();
8916
8926
  }
8917
8927
  });
8918
8928
  }, y = () => {
8919
8929
  Jt.showLeft(
8920
- Oc,
8930
+ Pc,
8921
8931
  {},
8922
8932
  {
8923
8933
  select: (h) => {
@@ -8932,9 +8942,9 @@ const sm = [
8932
8942
  _("div", {
8933
8943
  class: _e([m.value, "fixed inset-y-0 flex transition-all z-100"])
8934
8944
  }, [
8935
- _("div", Ud, [
8936
- _("nav", Zd, [
8937
- _("div", Gd, [
8945
+ _("div", Zd, [
8946
+ _("nav", Gd, [
8947
+ _("div", Yd, [
8938
8948
  _("a", {
8939
8949
  class: "grid w-[40px] h-[40px] place-items-center rounded-md bg-primary-600 text-white text-[13px] cursor-pointer",
8940
8950
  onClick: b[0] || (b[0] = Xe((x) => e.mainNavStore.goto(e.appStore.state.homeRoute), ["prevent"]))
@@ -8950,7 +8960,7 @@ const sm = [
8950
8960
  onClick: b[1] || (b[1] = Xe((x) => e.mainNavStore.goto(e.appStore.state.homeRoute), ["prevent"]))
8951
8961
  }, xe(e.appStore.state.app), 1))
8952
8962
  ]),
8953
- _("ul", Yd, [
8963
+ _("ul", Xd, [
8954
8964
  (T(!0), P(ze, null, st(l.value, (x) => (T(), P("li", {
8955
8965
  key: x.name,
8956
8966
  class: _e({ "mt-[10px]": x.children })
@@ -8968,7 +8978,7 @@ const sm = [
8968
8978
  icon: ne(Ie)[x.icon],
8969
8979
  class: _e([[(s(x), "text-gray-400")], "size-4"])
8970
8980
  }, null, 8, ["icon", "class"])) : he("", !0),
8971
- e.mainNavStore.state.collapsed ? x?.children ? (T(), P("div", Kd, [...b[6] || (b[6] = [
8981
+ e.mainNavStore.state.collapsed ? x?.children ? (T(), P("div", Jd, [...b[6] || (b[6] = [
8972
8982
  _("div", { class: "w-[10px] h-px bg-gray-400" }, null, -1)
8973
8983
  ])])) : he("", !0) : (T(), P("span", {
8974
8984
  key: 1,
@@ -8979,8 +8989,8 @@ const sm = [
8979
8989
  "text-gray-500": x?.children
8980
8990
  })
8981
8991
  }, xe(x.name), 3))
8982
- ], 10, Xd),
8983
- x.children ? (T(), P("ul", Jd, [
8992
+ ], 10, Kd),
8993
+ x.children ? (T(), P("ul", Qd, [
8984
8994
  (T(!0), P(ze, null, st(x.children, (L) => (T(), P("li", {
8985
8995
  key: L.name
8986
8996
  }, [
@@ -8994,14 +9004,14 @@ const sm = [
8994
9004
  icon: ne(Ie)[L.icon],
8995
9005
  class: _e([[(s(L), "text-gray-400")], "size-4"])
8996
9006
  }, null, 8, ["icon", "class"])) : he("", !0),
8997
- e.mainNavStore.state.collapsed ? he("", !0) : (T(), P("span", ef, xe(L.name), 1))
8998
- ], 10, Qd)
9007
+ e.mainNavStore.state.collapsed ? he("", !0) : (T(), P("span", tf, xe(L.name), 1))
9008
+ ], 10, ef)
8999
9009
  ]))), 128))
9000
9010
  ])) : he("", !0)
9001
9011
  ], 2))), 128))
9002
9012
  ]),
9003
- _("div", tf, [
9004
- i.value.length ? (T(), P("ul", nf, [
9013
+ _("div", nf, [
9014
+ i.value.length ? (T(), P("ul", of, [
9005
9015
  (T(!0), P(ze, null, st(i.value, (x) => (T(), P("li", {
9006
9016
  key: x.name
9007
9017
  }, [
@@ -9015,8 +9025,8 @@ const sm = [
9015
9025
  icon: ne(Ie)[x.icon],
9016
9026
  class: _e([[(s(x), "text-gray-400")], "size-4"])
9017
9027
  }, null, 8, ["icon", "class"])) : he("", !0),
9018
- e.mainNavStore.state.collapsed ? he("", !0) : (T(), P("span", sf, xe(x.name), 1))
9019
- ], 10, of)
9028
+ e.mainNavStore.state.collapsed ? he("", !0) : (T(), P("span", rf, xe(x.name), 1))
9029
+ ], 10, sf)
9020
9030
  ]))), 128))
9021
9031
  ])) : he("", !0),
9022
9032
  Ke(h.$slots, "sidebar-footer"),
@@ -9037,11 +9047,11 @@ const sm = [
9037
9047
  _("div", {
9038
9048
  class: _e([g.value, "h-full transition-all flex flex-col"])
9039
9049
  }, [
9040
- _("div", rf, [
9041
- _("div", af, [
9042
- _("div", lf, [
9050
+ _("div", af, [
9051
+ _("div", lf, [
9052
+ _("div", cf, [
9043
9053
  Ke(h.$slots, "header-left", {}, () => [
9044
- _("div", cf, [
9054
+ _("div", uf, [
9045
9055
  oe(v, {
9046
9056
  icon: ne(Ie).farBarsSort,
9047
9057
  class: "size-5",
@@ -9060,10 +9070,10 @@ const sm = [
9060
9070
  src: ne(c).currentBrand.logo,
9061
9071
  alt: "",
9062
9072
  class: "h-[30px] w-auto"
9063
- }, null, 8, uf)) : he("", !0)
9073
+ }, null, 8, df)) : he("", !0)
9064
9074
  ])) : he("", !0)
9065
9075
  ]),
9066
- _("div", df, [
9076
+ _("div", ff, [
9067
9077
  Ke(h.$slots, "header-right", {}, () => [
9068
9078
  e.appStore.state.showAppSelector ? (T(), P("button", {
9069
9079
  key: 0,
@@ -9081,7 +9091,7 @@ const sm = [
9081
9091
  ])
9082
9092
  ])
9083
9093
  ]),
9084
- _("main", ff, [
9094
+ _("main", pf, [
9085
9095
  oe(k)
9086
9096
  ])
9087
9097
  ], 2),
@@ -9095,28 +9105,28 @@ const sm = [
9095
9105
  "overlay-instance": ne(Jt).right,
9096
9106
  onClose: b[5] || (b[5] = (x) => o("overlayClose", "right"))
9097
9107
  }, null, 8, ["overlay-instance"]),
9098
- oe(ne(bu))
9108
+ oe(ne(xu))
9099
9109
  ], 64);
9100
9110
  };
9101
9111
  }
9102
- }, pf = {}, mf = { class: "h-full" };
9103
- function gf(e, t) {
9112
+ }, mf = {}, gf = { class: "h-full" };
9113
+ function hf(e, t) {
9104
9114
  const n = Ue("router-view");
9105
- return T(), P("main", mf, [
9115
+ return T(), P("main", gf, [
9106
9116
  oe(n)
9107
9117
  ]);
9108
9118
  }
9109
- const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid place-content-center relative" }, vf = { class: "absolute top-8 left-8" }, yf = ["src"], bf = {
9119
+ const im = /* @__PURE__ */ an(mf, [["render", hf]]), vf = { class: "h-full grid place-content-center relative" }, yf = { class: "absolute top-8 left-8" }, bf = ["src"], xf = {
9110
9120
  key: 1,
9111
9121
  width: "59",
9112
9122
  height: "23",
9113
9123
  viewBox: "0 0 59 23",
9114
9124
  fill: "none",
9115
9125
  xmlns: "http://www.w3.org/2000/svg"
9116
- }, xf = { class: "max-w-sm grid gap-y-1 -mt-8" }, wf = { class: "mb-7" }, Sf = { class: "text-gray-600" }, kf = { class: "grid grid-flow-col justify-between mt-1 mb-4" }, Ef = {
9126
+ }, wf = { class: "max-w-sm grid gap-y-1 -mt-8" }, Sf = { class: "mb-7" }, kf = { class: "text-gray-600" }, Ef = { class: "grid grid-flow-col justify-between mt-1 mb-4" }, Tf = {
9117
9127
  key: 0,
9118
9128
  class: "text-red-600 text-sm mb-2"
9119
- }, Tf = { key: 0 }, Cf = { key: 1 }, _f = {
9129
+ }, Cf = { key: 0 }, _f = { key: 1 }, $f = {
9120
9130
  __name: "SparkLoginView",
9121
9131
  props: {
9122
9132
  logo: {
@@ -9133,7 +9143,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9133
9143
  }
9134
9144
  },
9135
9145
  setup(e) {
9136
- const t = Tt(), n = Dt(), o = Xr(), r = Ft(), a = e, s = ke(!1), l = ke(""), i = async (c) => {
9146
+ const t = Tt(), n = Dt(), o = Yr(), r = Ft(), a = e, s = ke(!1), l = ke(""), i = async (c) => {
9137
9147
  s.value = !0, l.value = "";
9138
9148
  try {
9139
9149
  await r.login(c);
@@ -9154,14 +9164,14 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9154
9164
  };
9155
9165
  return (c, f) => {
9156
9166
  const d = Ue("FormKit"), u = Ue("router-link");
9157
- return T(), P("div", hf, [
9158
- _("div", vf, [
9167
+ return T(), P("div", vf, [
9168
+ _("div", yf, [
9159
9169
  a.logo ? (T(), P("img", {
9160
9170
  key: 0,
9161
9171
  src: a.logo,
9162
9172
  alt: "Logo",
9163
9173
  class: "h-[23px] w-auto"
9164
- }, null, 8, yf)) : (T(), P("svg", bf, [...f[0] || (f[0] = [
9174
+ }, null, 8, bf)) : (T(), P("svg", xf, [...f[0] || (f[0] = [
9165
9175
  _("path", {
9166
9176
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
9167
9177
  fill: "#1C64F2"
@@ -9180,10 +9190,10 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9180
9190
  }, null, -1)
9181
9191
  ])]))
9182
9192
  ]),
9183
- _("div", xf, [
9184
- _("div", wf, [
9193
+ _("div", wf, [
9194
+ _("div", Sf, [
9185
9195
  f[1] || (f[1] = _("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Log in", -1)),
9186
- _("p", Sf, " Welcome back" + xe(ne(o).state.app ? ` to ${ne(o).state.app}` : "") + "! Please enter your details. ", 1)
9196
+ _("p", kf, " Welcome back" + xe(ne(o).state.app ? ` to ${ne(o).state.app}` : "") + "! Please enter your details. ", 1)
9187
9197
  ]),
9188
9198
  oe(d, {
9189
9199
  type: "form",
@@ -9209,7 +9219,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9209
9219
  "outer-class": "max-w-full",
9210
9220
  value: ne(r).state.devCredentials.password
9211
9221
  }, null, 8, ["value"]),
9212
- _("div", kf, [
9222
+ _("div", Ef, [
9213
9223
  f[3] || (f[3] = _("span", null, null, -1)),
9214
9224
  oe(u, {
9215
9225
  to: a.forgotPasswordRoute,
@@ -9221,7 +9231,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9221
9231
  _: 1
9222
9232
  }, 8, ["to"])
9223
9233
  ]),
9224
- l.value ? (T(), P("div", Ef, xe(l.value), 1)) : he("", !0),
9234
+ l.value ? (T(), P("div", Tf, xe(l.value), 1)) : he("", !0),
9225
9235
  oe(ne(mt), {
9226
9236
  type: "submit",
9227
9237
  size: "xl",
@@ -9229,7 +9239,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9229
9239
  "button-class": "w-full mb-2"
9230
9240
  }, {
9231
9241
  default: we(() => [
9232
- s.value ? (T(), P("span", Cf, "Signing in...")) : (T(), P("span", Tf, "Sign in"))
9242
+ s.value ? (T(), P("span", _f, "Signing in...")) : (T(), P("span", Cf, "Sign in"))
9233
9243
  ]),
9234
9244
  _: 1
9235
9245
  }, 8, ["disabled"])
@@ -9240,7 +9250,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9240
9250
  ]);
9241
9251
  };
9242
9252
  }
9243
- }, $f = {
9253
+ }, Mf = {
9244
9254
  __name: "SparkLogoutView",
9245
9255
  props: {
9246
9256
  defaultRedirect: {
@@ -9256,20 +9266,20 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9256
9266
  a && a.startsWith("http") ? window.location.href = a : await t.push(a || r.defaultRedirect);
9257
9267
  }), (a, s) => (T(), P("span"));
9258
9268
  }
9259
- }, Mf = { class: "h-full grid place-content-center relative" }, Lf = { class: "absolute top-8 left-8" }, Of = ["src"], Pf = {
9269
+ }, Lf = { class: "h-full grid place-content-center relative" }, Of = { class: "absolute top-8 left-8" }, Pf = ["src"], Af = {
9260
9270
  key: 1,
9261
9271
  width: "59",
9262
9272
  height: "23",
9263
9273
  viewBox: "0 0 59 23",
9264
9274
  fill: "none",
9265
9275
  xmlns: "http://www.w3.org/2000/svg"
9266
- }, Af = { class: "max-w-sm grid gap-y-1 -mt-8" }, Rf = {
9276
+ }, Rf = { class: "max-w-sm grid gap-y-1 -mt-8" }, Ff = {
9267
9277
  key: 0,
9268
9278
  class: "text-red-600 text-sm mb-2"
9269
- }, Ff = {
9279
+ }, If = {
9270
9280
  key: 1,
9271
9281
  class: "text-green-600 text-sm mb-2"
9272
- }, If = { key: 0 }, Df = { key: 1 }, jf = {
9282
+ }, Df = { key: 0 }, jf = { key: 1 }, Hf = {
9273
9283
  __name: "SparkForgotPasswordView",
9274
9284
  props: {
9275
9285
  logo: {
@@ -9294,14 +9304,14 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9294
9304
  };
9295
9305
  return (l, i) => {
9296
9306
  const c = Ue("FormKit"), f = Ue("router-link");
9297
- return T(), P("div", Mf, [
9298
- _("div", Lf, [
9307
+ return T(), P("div", Lf, [
9308
+ _("div", Of, [
9299
9309
  n.logo ? (T(), P("img", {
9300
9310
  key: 0,
9301
9311
  src: n.logo,
9302
9312
  alt: "Logo",
9303
9313
  class: "h-[23px] w-auto"
9304
- }, null, 8, Of)) : (T(), P("svg", Pf, [...i[0] || (i[0] = [
9314
+ }, null, 8, Pf)) : (T(), P("svg", Af, [...i[0] || (i[0] = [
9305
9315
  _("path", {
9306
9316
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
9307
9317
  fill: "#1C64F2"
@@ -9320,7 +9330,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9320
9330
  }, null, -1)
9321
9331
  ])]))
9322
9332
  ]),
9323
- _("div", Af, [
9333
+ _("div", Rf, [
9324
9334
  i[2] || (i[2] = _("div", { class: "mb-7" }, [
9325
9335
  _("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Reset password"),
9326
9336
  _("p", { class: "text-gray-600" }, " Enter your email and we'll send you a link to reset your password. ")
@@ -9339,8 +9349,8 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9339
9349
  validation: "required|email",
9340
9350
  "outer-class": "max-w-full"
9341
9351
  }),
9342
- r.value ? (T(), P("div", Rf, xe(r.value), 1)) : he("", !0),
9343
- a.value ? (T(), P("div", Ff, xe(a.value), 1)) : he("", !0),
9352
+ r.value ? (T(), P("div", Ff, xe(r.value), 1)) : he("", !0),
9353
+ a.value ? (T(), P("div", If, xe(a.value), 1)) : he("", !0),
9344
9354
  oe(ne(mt), {
9345
9355
  type: "submit",
9346
9356
  size: "xl",
@@ -9348,7 +9358,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9348
9358
  "button-class": "w-full mb-2"
9349
9359
  }, {
9350
9360
  default: we(() => [
9351
- o.value ? (T(), P("span", Df, "Sending...")) : (T(), P("span", If, "Send reset link"))
9361
+ o.value ? (T(), P("span", jf, "Sending...")) : (T(), P("span", Df, "Send reset link"))
9352
9362
  ]),
9353
9363
  _: 1
9354
9364
  }, 8, ["disabled"]),
@@ -9368,17 +9378,17 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9368
9378
  ]);
9369
9379
  };
9370
9380
  }
9371
- }, Hf = { class: "h-full grid place-content-center relative" }, Vf = { class: "absolute top-8 left-8" }, zf = ["src"], Nf = {
9381
+ }, Vf = { class: "h-full grid place-content-center relative" }, zf = { class: "absolute top-8 left-8" }, Nf = ["src"], Bf = {
9372
9382
  key: 1,
9373
9383
  width: "59",
9374
9384
  height: "23",
9375
9385
  viewBox: "0 0 59 23",
9376
9386
  fill: "none",
9377
9387
  xmlns: "http://www.w3.org/2000/svg"
9378
- }, Bf = { class: "max-w-sm grid gap-y-1 -mt-8" }, qf = {
9388
+ }, qf = { class: "max-w-sm grid gap-y-1 -mt-8" }, Wf = {
9379
9389
  key: 0,
9380
9390
  class: "text-red-600 text-sm mb-2"
9381
- }, Wf = { key: 0 }, Uf = { key: 1 }, Zf = {
9391
+ }, Uf = { key: 0 }, Zf = { key: 1 }, Gf = {
9382
9392
  __name: "SparkResetPasswordView",
9383
9393
  props: {
9384
9394
  logo: {
@@ -9408,14 +9418,14 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9408
9418
  };
9409
9419
  return (i, c) => {
9410
9420
  const f = Ue("FormKit");
9411
- return T(), P("div", Hf, [
9412
- _("div", Vf, [
9421
+ return T(), P("div", Vf, [
9422
+ _("div", zf, [
9413
9423
  r.logo ? (T(), P("img", {
9414
9424
  key: 0,
9415
9425
  src: r.logo,
9416
9426
  alt: "Logo",
9417
9427
  class: "h-[23px] w-auto"
9418
- }, null, 8, zf)) : (T(), P("svg", Nf, [...c[0] || (c[0] = [
9428
+ }, null, 8, Nf)) : (T(), P("svg", Bf, [...c[0] || (c[0] = [
9419
9429
  _("path", {
9420
9430
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
9421
9431
  fill: "#1C64F2"
@@ -9434,7 +9444,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9434
9444
  }, null, -1)
9435
9445
  ])]))
9436
9446
  ]),
9437
- _("div", Bf, [
9447
+ _("div", qf, [
9438
9448
  c[1] || (c[1] = _("div", { class: "mb-7" }, [
9439
9449
  _("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Set new password"),
9440
9450
  _("p", { class: "text-gray-600" }, "Enter your new password below.")
@@ -9461,7 +9471,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9461
9471
  validation: "required|confirm:password",
9462
9472
  "outer-class": "max-w-full"
9463
9473
  }),
9464
- s.value ? (T(), P("div", qf, xe(s.value), 1)) : he("", !0),
9474
+ s.value ? (T(), P("div", Wf, xe(s.value), 1)) : he("", !0),
9465
9475
  oe(ne(mt), {
9466
9476
  type: "submit",
9467
9477
  size: "xl",
@@ -9469,7 +9479,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9469
9479
  "button-class": "w-full mb-2"
9470
9480
  }, {
9471
9481
  default: we(() => [
9472
- a.value ? (T(), P("span", Uf, "Resetting...")) : (T(), P("span", Wf, "Reset password"))
9482
+ a.value ? (T(), P("span", Zf, "Resetting...")) : (T(), P("span", Uf, "Reset password"))
9473
9483
  ]),
9474
9484
  _: 1
9475
9485
  }, 8, ["disabled"])
@@ -9480,14 +9490,14 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9480
9490
  ]);
9481
9491
  };
9482
9492
  }
9483
- }, Gf = { class: "h-full grid place-content-center relative" }, Yf = { class: "absolute top-8 left-8" }, Xf = ["src"], Kf = {
9493
+ }, Yf = { class: "h-full grid place-content-center relative" }, Xf = { class: "absolute top-8 left-8" }, Kf = ["src"], Jf = {
9484
9494
  key: 1,
9485
9495
  width: "59",
9486
9496
  height: "23",
9487
9497
  viewBox: "0 0 59 23",
9488
9498
  fill: "none",
9489
9499
  xmlns: "http://www.w3.org/2000/svg"
9490
- }, Jf = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Qf = { class: "flex gap-4 justify-center" }, ep = {
9500
+ }, Qf = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, ep = { class: "flex gap-4 justify-center" }, tp = {
9491
9501
  __name: "SparkError403View",
9492
9502
  props: {
9493
9503
  logo: {
@@ -9503,14 +9513,14 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9503
9513
  const t = Tt(), n = e, o = () => {
9504
9514
  t.push(n.homeRoute);
9505
9515
  };
9506
- return (r, a) => (T(), P("div", Gf, [
9507
- _("div", Yf, [
9516
+ return (r, a) => (T(), P("div", Yf, [
9517
+ _("div", Xf, [
9508
9518
  n.logo ? (T(), P("img", {
9509
9519
  key: 0,
9510
9520
  src: n.logo,
9511
9521
  alt: "Logo",
9512
9522
  class: "h-[23px] w-auto"
9513
- }, null, 8, Xf)) : (T(), P("svg", Kf, [...a[0] || (a[0] = [
9523
+ }, null, 8, Kf)) : (T(), P("svg", Jf, [...a[0] || (a[0] = [
9514
9524
  _("path", {
9515
9525
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
9516
9526
  fill: "#1C64F2"
@@ -9529,7 +9539,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9529
9539
  }, null, -1)
9530
9540
  ])]))
9531
9541
  ]),
9532
- _("div", Jf, [
9542
+ _("div", Qf, [
9533
9543
  a[2] || (a[2] = _("div", null, [
9534
9544
  _("div", { class: "text-primary-600 text-7xl font-bold mb-4" }, "403"),
9535
9545
  _("h1", { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, "Access Forbidden"),
@@ -9539,7 +9549,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9539
9549
  qe(" If you believe this is an error, please contact your administrator. ")
9540
9550
  ])
9541
9551
  ], -1)),
9542
- _("div", Qf, [
9552
+ _("div", ep, [
9543
9553
  oe(ne(mt), {
9544
9554
  size: "lg",
9545
9555
  onClick: o
@@ -9553,14 +9563,14 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9553
9563
  ])
9554
9564
  ]));
9555
9565
  }
9556
- }, tp = { class: "h-full grid place-content-center relative" }, np = { class: "absolute top-8 left-8" }, op = ["src"], sp = {
9566
+ }, np = { class: "h-full grid place-content-center relative" }, op = { class: "absolute top-8 left-8" }, sp = ["src"], rp = {
9557
9567
  key: 1,
9558
9568
  width: "59",
9559
9569
  height: "23",
9560
9570
  viewBox: "0 0 59 23",
9561
9571
  fill: "none",
9562
9572
  xmlns: "http://www.w3.org/2000/svg"
9563
- }, rp = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, ap = { class: "flex gap-4 justify-center" }, ip = {
9573
+ }, ap = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, ip = { class: "flex gap-4 justify-center" }, lp = {
9564
9574
  __name: "SparkError404View",
9565
9575
  props: {
9566
9576
  logo: {
@@ -9576,14 +9586,14 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9576
9586
  const t = Tt(), n = e, o = () => {
9577
9587
  t.push(n.homeRoute);
9578
9588
  };
9579
- return (r, a) => (T(), P("div", tp, [
9580
- _("div", np, [
9589
+ return (r, a) => (T(), P("div", np, [
9590
+ _("div", op, [
9581
9591
  n.logo ? (T(), P("img", {
9582
9592
  key: 0,
9583
9593
  src: n.logo,
9584
9594
  alt: "Logo",
9585
9595
  class: "h-[23px] w-auto"
9586
- }, null, 8, op)) : (T(), P("svg", sp, [...a[0] || (a[0] = [
9596
+ }, null, 8, sp)) : (T(), P("svg", rp, [...a[0] || (a[0] = [
9587
9597
  _("path", {
9588
9598
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
9589
9599
  fill: "#1C64F2"
@@ -9602,13 +9612,13 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9602
9612
  }, null, -1)
9603
9613
  ])]))
9604
9614
  ]),
9605
- _("div", rp, [
9615
+ _("div", ap, [
9606
9616
  a[2] || (a[2] = _("div", null, [
9607
9617
  _("div", { class: "text-primary-600 text-7xl font-bold mb-4" }, "404"),
9608
9618
  _("h1", { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, "Page Not Found"),
9609
9619
  _("p", { class: "text-gray-600" }, "The page you're looking for doesn't exist or has been moved.")
9610
9620
  ], -1)),
9611
- _("div", ap, [
9621
+ _("div", ip, [
9612
9622
  oe(ne(mt), {
9613
9623
  size: "lg",
9614
9624
  onClick: o
@@ -9622,14 +9632,14 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9622
9632
  ])
9623
9633
  ]));
9624
9634
  }
9625
- }, lp = { class: "h-full grid place-content-center relative" }, cp = { class: "absolute top-8 left-8" }, up = ["src"], dp = {
9635
+ }, cp = { class: "h-full grid place-content-center relative" }, up = { class: "absolute top-8 left-8" }, dp = ["src"], fp = {
9626
9636
  key: 1,
9627
9637
  width: "59",
9628
9638
  height: "23",
9629
9639
  viewBox: "0 0 59 23",
9630
9640
  fill: "none",
9631
9641
  xmlns: "http://www.w3.org/2000/svg"
9632
- }, fp = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, pp = { class: "text-primary-600 text-7xl font-bold mb-4" }, mp = { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, gp = { class: "text-gray-600" }, hp = { class: "flex gap-4 justify-center" }, im = {
9642
+ }, pp = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, mp = { class: "text-primary-600 text-7xl font-bold mb-4" }, gp = { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, hp = { class: "text-gray-600" }, vp = { class: "flex gap-4 justify-center" }, lm = {
9633
9643
  __name: "SparkErrorGeneralView",
9634
9644
  props: {
9635
9645
  logo: {
@@ -9657,14 +9667,14 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9657
9667
  const t = Tt(), n = e, o = () => {
9658
9668
  t.push(n.homeRoute);
9659
9669
  };
9660
- return (r, a) => (T(), P("div", lp, [
9661
- _("div", cp, [
9670
+ return (r, a) => (T(), P("div", cp, [
9671
+ _("div", up, [
9662
9672
  n.logo ? (T(), P("img", {
9663
9673
  key: 0,
9664
9674
  src: n.logo,
9665
9675
  alt: "Logo",
9666
9676
  class: "h-[23px] w-auto"
9667
- }, null, 8, up)) : (T(), P("svg", dp, [...a[0] || (a[0] = [
9677
+ }, null, 8, dp)) : (T(), P("svg", fp, [...a[0] || (a[0] = [
9668
9678
  _("path", {
9669
9679
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
9670
9680
  fill: "#1C64F2"
@@ -9683,13 +9693,13 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9683
9693
  }, null, -1)
9684
9694
  ])]))
9685
9695
  ]),
9686
- _("div", fp, [
9696
+ _("div", pp, [
9687
9697
  _("div", null, [
9688
- _("div", pp, xe(n.errorCode || "Error"), 1),
9689
- _("h1", mp, xe(n.title || "Something went wrong"), 1),
9690
- _("p", gp, xe(n.message || "An unexpected error occurred. Please try again later."), 1)
9698
+ _("div", mp, xe(n.errorCode || "Error"), 1),
9699
+ _("h1", gp, xe(n.title || "Something went wrong"), 1),
9700
+ _("p", hp, xe(n.message || "An unexpected error occurred. Please try again later."), 1)
9691
9701
  ]),
9692
- _("div", hp, [
9702
+ _("div", vp, [
9693
9703
  oe(ne(mt), {
9694
9704
  size: "lg",
9695
9705
  onClick: o
@@ -9704,7 +9714,7 @@ const am = /* @__PURE__ */ an(pf, [["render", gf]]), hf = { class: "h-full grid
9704
9714
  ]));
9705
9715
  }
9706
9716
  };
9707
- function lm(e = {}) {
9717
+ function cm(e = {}) {
9708
9718
  const {
9709
9719
  loginPath: t = "/login",
9710
9720
  logoutPath: n = "/logout",
@@ -9717,41 +9727,41 @@ function lm(e = {}) {
9717
9727
  {
9718
9728
  path: t,
9719
9729
  name: "login",
9720
- component: _f,
9730
+ component: $f,
9721
9731
  props: { logo: a, defaultRedirect: s },
9722
9732
  meta: { auth: !1 }
9723
9733
  },
9724
9734
  {
9725
9735
  path: n,
9726
9736
  name: "logout",
9727
- component: $f,
9737
+ component: Mf,
9728
9738
  props: { defaultRedirect: t },
9729
9739
  meta: { auth: !1 }
9730
9740
  },
9731
9741
  {
9732
9742
  path: o,
9733
9743
  name: "forgot-password",
9734
- component: jf,
9744
+ component: Hf,
9735
9745
  props: { logo: a, loginRoute: t },
9736
9746
  meta: { auth: !1 }
9737
9747
  },
9738
9748
  {
9739
9749
  path: r,
9740
9750
  name: "password-reset",
9741
- component: Zf,
9751
+ component: Gf,
9742
9752
  props: { logo: a, loginRoute: t },
9743
9753
  meta: { auth: !1 }
9744
9754
  }
9745
9755
  ];
9746
9756
  }
9747
- function cm(e, t = {}) {
9757
+ function um(e, t = {}) {
9748
9758
  const { defaultAuthenticatedRoute: n = "/dashboard" } = t;
9749
9759
  e.beforeEach(async (o, r, a) => {
9750
9760
  const s = Ft();
9751
- s.state.ready || await s.fetchUser(), vp(o, a, s, n);
9761
+ s.state.ready || await s.fetchUser(), yp(o, a, s, n);
9752
9762
  });
9753
9763
  }
9754
- function vp(e, t, n, o) {
9764
+ function yp(e, t, n, o) {
9755
9765
  const r = e.meta.auth !== !1, a = n.check;
9756
9766
  if (n.state.overrideToken && e.path === "/logout") {
9757
9767
  t({ path: o });
@@ -9789,27 +9799,27 @@ function vp(e, t, n, o) {
9789
9799
  t();
9790
9800
  }
9791
9801
  }
9792
- function um(e = {}) {
9802
+ function dm(e = {}) {
9793
9803
  const { forbiddenPath: t = "/error/403", logo: n = "", homeRoute: o = "/dashboard" } = e;
9794
9804
  return {
9795
9805
  path: t,
9796
9806
  name: "error-403",
9797
- component: ep,
9807
+ component: tp,
9798
9808
  props: { logo: n, homeRoute: o },
9799
9809
  meta: { auth: !1 }
9800
9810
  };
9801
9811
  }
9802
- function dm(e = {}) {
9812
+ function fm(e = {}) {
9803
9813
  const { logo: t = "", homeRoute: n = "/dashboard" } = e;
9804
9814
  return {
9805
9815
  path: "/:pathMatch(.*)*",
9806
9816
  name: "error-404",
9807
- component: ip,
9817
+ component: lp,
9808
9818
  props: { logo: t, homeRoute: n },
9809
9819
  meta: { auth: !1 }
9810
9820
  };
9811
9821
  }
9812
- function fm(e, t) {
9822
+ function pm(e, t) {
9813
9823
  e.beforeResolve(async (n) => {
9814
9824
  if (n.meta.auth !== !1) {
9815
9825
  const o = Ft();
@@ -9817,7 +9827,7 @@ function fm(e, t) {
9817
9827
  }
9818
9828
  });
9819
9829
  }
9820
- function pm(e, t = {}) {
9830
+ function mm(e, t = {}) {
9821
9831
  const {
9822
9832
  title: n = "Unsaved Changes",
9823
9833
  message: o = "You have unsaved changes. Leave anyway?",
@@ -9825,21 +9835,21 @@ function pm(e, t = {}) {
9825
9835
  cancelText: a = "Stay"
9826
9836
  } = t;
9827
9837
  e.beforeEach(async (s, l, i) => {
9828
- if (!Bd()) {
9838
+ if (!qd()) {
9829
9839
  i();
9830
9840
  return;
9831
9841
  }
9832
- const c = qd() || o;
9842
+ const c = Wd() || o;
9833
9843
  await Rt.confirm({
9834
9844
  title: n,
9835
9845
  message: c,
9836
9846
  confirmText: r,
9837
9847
  cancelText: a,
9838
9848
  type: "warning"
9839
- }) ? (Wd(), i()) : i(!1);
9849
+ }) ? (Ud(), i()) : i(!1);
9840
9850
  });
9841
9851
  }
9842
- const mm = In("sparkNav", () => {
9852
+ const gm = In("sparkNav", () => {
9843
9853
  const e = Et({
9844
9854
  menu: [],
9845
9855
  collapsed: !1,
@@ -9895,90 +9905,90 @@ const mm = In("sparkNav", () => {
9895
9905
  };
9896
9906
  });
9897
9907
  export {
9898
- sm as AUSTRALIAN_STATES,
9908
+ rm as AUSTRALIAN_STATES,
9899
9909
  Ie as Icons,
9900
- Ip as SparkAddressInput,
9910
+ Dp as SparkAddressInput,
9901
9911
  fn as SparkAlert,
9902
- lc as SparkAppSelector,
9903
- Oc as SparkBrandSelector,
9912
+ cc as SparkAppSelector,
9913
+ Pc as SparkBrandSelector,
9904
9914
  mt as SparkButton,
9905
- Qr as SparkButtonGroup,
9906
- qp as SparkCard,
9907
- rm as SparkDefaultContainer,
9908
- Wp as SparkEntityBadge,
9909
- ep as SparkError403View,
9910
- ip as SparkError404View,
9911
- im as SparkErrorGeneralView,
9912
- Xc as SparkFancybox,
9913
- Zp as SparkFileDragUpload,
9914
- jf as SparkForgotPasswordView,
9915
- Gp as SparkImageUpload,
9916
- _f as SparkLoginView,
9917
- $f as SparkLogoutView,
9918
- bu as SparkModalContainer,
9919
- gu as SparkModalDialog,
9920
- Np as SparkNotificationOutlet,
9915
+ Jr as SparkButtonGroup,
9916
+ Wp as SparkCard,
9917
+ am as SparkDefaultContainer,
9918
+ Up as SparkEntityBadge,
9919
+ tp as SparkError403View,
9920
+ lp as SparkError404View,
9921
+ lm as SparkErrorGeneralView,
9922
+ Kc as SparkFancybox,
9923
+ Gp as SparkFileDragUpload,
9924
+ Hf as SparkForgotPasswordView,
9925
+ Yp as SparkImageUpload,
9926
+ $f as SparkLoginView,
9927
+ Mf as SparkLogoutView,
9928
+ xu as SparkModalContainer,
9929
+ hu as SparkModalDialog,
9930
+ Bp as SparkNotificationOutlet,
9921
9931
  Ks as SparkOverlay,
9922
- am as SparkPublicContainer,
9923
- Zf as SparkResetPasswordView,
9924
- Yp as SparkSubNav,
9925
- Xp as SparkTable,
9926
- kd as SparkTableDatePicker,
9927
- xd as SparkTableFilterButtons,
9928
- hd as SparkTableFilterSelect,
9929
- nd as SparkTablePaginationDetails,
9930
- id as SparkTablePaginationPaging,
9931
- ud as SparkTablePaginationPerPage,
9932
- _d as SparkTableReset,
9933
- pd as SparkTableSearch,
9932
+ im as SparkPublicContainer,
9933
+ Gf as SparkResetPasswordView,
9934
+ Xp as SparkSubNav,
9935
+ Kp as SparkTable,
9936
+ Ed as SparkTableDatePicker,
9937
+ wd as SparkTableFilterButtons,
9938
+ vd as SparkTableFilterSelect,
9939
+ od as SparkTablePaginationDetails,
9940
+ ld as SparkTablePaginationPaging,
9941
+ dd as SparkTablePaginationPerPage,
9942
+ $d as SparkTableReset,
9943
+ md as SparkTableSearch,
9934
9944
  nr as SparkTableToolbar,
9935
- Bp as SparkToastContainer,
9936
- Up as SparkTooltip,
9937
- Vp as addIcons,
9938
- Wd as clearAllDirtyForms,
9939
- um as create403Route,
9940
- dm as create404Route,
9941
- lm as createAuthRoutes,
9942
- Hd as createAxiosInstance,
9943
- Kp as createBootstrapService,
9944
- Cu as customiseHeader,
9945
- Id as deleteCookie,
9946
- jp as formKitGenesisOverride,
9947
- Hp as formKitIconLoader,
9948
- Dp as formKitIcons,
9949
- Bu as formatTemporal,
9945
+ qp as SparkToastContainer,
9946
+ Zp as SparkTooltip,
9947
+ zp as addIcons,
9948
+ Ud as clearAllDirtyForms,
9949
+ dm as create403Route,
9950
+ fm as create404Route,
9951
+ cm as createAuthRoutes,
9952
+ Vd as createAxiosInstance,
9953
+ Jp as createBootstrapService,
9954
+ _u as customiseHeader,
9955
+ Dd as deleteCookie,
9956
+ Hp as formKitGenesisOverride,
9957
+ Vp as formKitIconLoader,
9958
+ jp as formKitIcons,
9959
+ qu as formatTemporal,
9950
9960
  ro as getAxiosInstance,
9951
- Rd as getCookie,
9952
- qd as getDirtyFormMessage,
9953
- ca as getDomain,
9961
+ Fd as getCookie,
9962
+ Wd as getDirtyFormMessage,
9963
+ la as getDomain,
9954
9964
  rr as getFormLevelMessage,
9955
- Bd as hasAnyDirtyForm,
9956
- zd as isValidationError,
9957
- qu as parseDatetime,
9958
- Vd as parseLaravelErrors,
9959
- Su as renderHeaderTitle,
9960
- Fd as setCookie,
9961
- cm as setupAuthGuards,
9962
- Jp as setupAxios,
9963
- fm as setupBootstrapGuard,
9964
- pm as setupDirtyFormGuard,
9965
- zp as setupFontAwesome,
9965
+ qd as hasAnyDirtyForm,
9966
+ Nd as isValidationError,
9967
+ Wu as parseDatetime,
9968
+ zd as parseLaravelErrors,
9969
+ ku as renderHeaderTitle,
9970
+ Id as setCookie,
9971
+ um as setupAuthGuards,
9972
+ Qp as setupAxios,
9973
+ pm as setupBootstrapGuard,
9974
+ mm as setupDirtyFormGuard,
9975
+ Np as setupFontAwesome,
9966
9976
  Vl as setupTooltip,
9967
9977
  Rt as sparkModalService,
9968
9978
  Qe as sparkNotificationService,
9969
9979
  Jt as sparkOverlayService,
9970
- Gu as updateRow,
9971
- em as useCrudResource,
9972
- om as useFormDirtyGuard,
9973
- Qp as useFormSubmission,
9980
+ Yu as updateRow,
9981
+ tm as useCrudResource,
9982
+ sm as useFormDirtyGuard,
9983
+ em as useFormSubmission,
9974
9984
  Oi as useGooglePlaces,
9975
- Yr as useSparkAppSelectorStore,
9976
- Xr as useSparkAppStore,
9985
+ Gr as useSparkAppSelectorStore,
9986
+ Yr as useSparkAppStore,
9977
9987
  Ft as useSparkAuthStore,
9978
- Jr as useSparkBrandFilterStore,
9979
- mm as useSparkNavStore,
9988
+ Kr as useSparkBrandFilterStore,
9989
+ gm as useSparkNavStore,
9980
9990
  sr as useSparkOverlay,
9981
- Yu as useSparkTableRouteSync,
9982
- nm as useSubNavigation,
9983
- tm as useTableDelete
9991
+ Xu as useSparkTableRouteSync,
9992
+ om as useSubNavigation,
9993
+ nm as useTableDelete
9984
9994
  };