@wishbone-media/spark 0.12.0 → 0.13.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
@@ -42,13 +42,13 @@ const B = {
42
42
  farXmark: pn,
43
43
  farSignOut: fn
44
44
  };
45
- function Qa(e) {
45
+ function ei(e) {
46
46
  Object.assign(B, e), Rt.add(...Object.values(e));
47
47
  }
48
- function ei(e) {
48
+ function ti(e) {
49
49
  Rt.add(...Object.values(B)), e.component("FontAwesomeIcon", dn);
50
50
  }
51
- const Wn = { class: "flex items-center" }, Gn = { class: "shrink-0 self-start" }, Jn = { class: "ml-3" }, Kn = { class: "ml-auto pl-3 pt-1 self-start" }, Xn = { class: "-mx-1.5 -my-1.5" }, ti = {
51
+ const Wn = { class: "flex items-center" }, Gn = { class: "shrink-0 self-start" }, Jn = { class: "ml-3" }, Kn = { class: "ml-auto pl-3 pt-1 self-start" }, Xn = { class: "-mx-1.5 -my-1.5" }, ni = {
52
52
  __name: "SparkAlert",
53
53
  props: {
54
54
  type: {
@@ -513,7 +513,7 @@ const Wn = { class: "flex items-center" }, Gn = { class: "shrink-0 self-start" }
513
513
  M(l.$slots, "default")
514
514
  ], 10, Ls));
515
515
  }
516
- }, ni = {
516
+ }, si = {
517
517
  __name: "SparkButtonGroup",
518
518
  setup(e) {
519
519
  const t = q(null);
@@ -535,7 +535,7 @@ const Wn = { class: "flex items-center" }, Gn = { class: "shrink-0 self-start" }
535
535
  }, Hs = {
536
536
  key: 1,
537
537
  class: "p-5"
538
- }, si = {
538
+ }, ri = {
539
539
  __name: "SparkCard",
540
540
  props: {
541
541
  padded: {
@@ -640,7 +640,7 @@ const pe = new Fs(), Bs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
640
640
  }, Ps = { class: "px-4 pt-5 pb-4 sm:p-6" }, Ms = {
641
641
  key: 0,
642
642
  class: "text-lg font-medium text-gray-900"
643
- }, ri = {
643
+ }, oi = {
644
644
  __name: "SparkModalDialog",
645
645
  props: {
646
646
  title: {
@@ -815,7 +815,7 @@ const pe = new Fs(), Bs = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
815
815
  ])
816
816
  }, {
817
817
  default: R(() => [
818
- (m(), Z($e(e.overlayInstance.state.content), _t({ ...n.$attrs, ...e.overlayInstance.state.props }, kt(e.overlayInstance.state.eventHandlers)), null, 16))
818
+ (m(), Z($e(e.overlayInstance.state.content), _t(e.overlayInstance.state.props, kt(e.overlayInstance.state.eventHandlers)), null, 16))
819
819
  ]),
820
820
  _: 1
821
821
  }, 8, ["class"])
@@ -840,7 +840,7 @@ function at() {
840
840
  }), t = () => {
841
841
  e.isVisible = !e.isVisible;
842
842
  }, n = () => {
843
- e.isVisible = !1, e.eventHandlers = {};
843
+ e.isVisible = !1, e.content = null, e.props = {}, e.eventHandlers = {};
844
844
  }, s = () => {
845
845
  e.isVisible = !0;
846
846
  }, r = (a, i = {}, l = {}) => {
@@ -880,16 +880,19 @@ class js {
880
880
  const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is = { class: "flex flex-1 flex-col" }, zs = {
881
881
  class: "flex flex-1 flex-col gap-y-7",
882
882
  role: "list"
883
- }, qs = { role: "list" }, Zs = { class: "flex items-center pb-8" }, Ws = ["href", "onClick"], Gs = {
883
+ }, qs = { class: "flex flex-1 flex-col" }, Zs = {
884
+ role: "list",
885
+ class: "flex flex-1 flex-col"
886
+ }, Ws = { class: "flex items-center pb-8" }, Gs = ["href", "onClick"], Js = {
884
887
  key: 2,
885
888
  class: "w-full flex justify-center"
886
- }, Js = {
889
+ }, Ks = {
887
890
  key: 0,
888
891
  class: "mt-[5px] flex flex-col gap-[5px]"
889
- }, Ks = ["href", "onClick"], Xs = {
892
+ }, Xs = ["href", "onClick"], Ys = {
890
893
  key: 1,
891
894
  class: "text-[13px]"
892
- }, Ys = { class: "mt-auto" }, Qs = { class: "p-[10px] flex-shrink-0" }, er = { class: "flex flex-1 items-center gap-x-6" }, tr = { class: "relative flex flex-1 items-center gap-4" }, nr = { class: "cursor-pointer" }, sr = ["src"], rr = { class: "ml-auto" }, or = { class: "mr-[10px] pb-[10px] flex-1 flex flex-col" }, oi = {
895
+ }, Qs = { class: "mt-auto" }, er = { class: "p-[10px] flex-shrink-0" }, tr = { class: "flex flex-1 items-center gap-x-6" }, nr = { class: "relative flex flex-1 items-center gap-4" }, sr = { class: "cursor-pointer" }, rr = ["src"], or = { class: "ml-auto" }, ar = { class: "mr-[10px] pb-[10px] flex-1 flex flex-col" }, ai = {
893
896
  __name: "SparkDefaultContainer",
894
897
  props: {
895
898
  appStore: {
@@ -929,9 +932,9 @@ const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is =
929
932
  f("div", Ds, [
930
933
  f("nav", Is, [
931
934
  f("ul", zs, [
932
- f("li", null, [
933
- f("ul", qs, [
934
- f("li", Zs, [
935
+ f("li", qs, [
936
+ f("ul", Zs, [
937
+ f("li", Ws, [
935
938
  f("a", {
936
939
  class: "grid w-[40px] h-[40px] place-items-center rounded-md bg-primary-600 text-white text-[13px] cursor-pointer",
937
940
  onClick: h[0] || (h[0] = fe((p) => e.mainNavStore.goto(e.appStore.state.homeRoute), ["prevent"]))
@@ -950,7 +953,8 @@ const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is =
950
953
  (m(!0), g(ie, null, me(e.mainNavStore.state.menu, (p) => (m(), g("li", {
951
954
  key: p.name,
952
955
  class: k({
953
- "mt-[10px]": p.children
956
+ "mt-[10px]": p.children,
957
+ "mt-auto": p.footerSection
954
958
  })
955
959
  }, [
956
960
  f("a", {
@@ -966,7 +970,7 @@ const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is =
966
970
  icon: b(B)[p.icon],
967
971
  class: k([[(p.current, "text-gray-400")], "size-4"])
968
972
  }, null, 8, ["icon", "class"])) : _("", !0),
969
- e.mainNavStore.state.collapsed ? p?.children ? (m(), g("div", Gs, [...h[4] || (h[4] = [
973
+ e.mainNavStore.state.collapsed ? p?.children ? (m(), g("div", Js, [...h[4] || (h[4] = [
970
974
  f("div", { class: "w-[10px] h-px bg-gray-400" }, null, -1)
971
975
  ])])) : _("", !0) : (m(), g("span", {
972
976
  key: 1,
@@ -977,8 +981,8 @@ const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is =
977
981
  "text-gray-500": p?.children
978
982
  })
979
983
  }, O(p.name), 3))
980
- ], 10, Ws),
981
- p.children ? (m(), g("ul", Js, [
984
+ ], 10, Gs),
985
+ p.children ? (m(), g("ul", Ks, [
982
986
  (m(!0), g(ie, null, me(p.children, (w) => (m(), g("li", {
983
987
  key: w.name
984
988
  }, [
@@ -992,14 +996,14 @@ const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is =
992
996
  icon: b(B)[w.icon],
993
997
  class: k([[(w.current, "text-gray-400")], "size-4"])
994
998
  }, null, 8, ["icon", "class"])) : _("", !0),
995
- e.mainNavStore.state.collapsed ? _("", !0) : (m(), g("span", Xs, O(w.name), 1))
996
- ], 10, Ks)
999
+ e.mainNavStore.state.collapsed ? _("", !0) : (m(), g("span", Ys, O(w.name), 1))
1000
+ ], 10, Xs)
997
1001
  ]))), 128))
998
1002
  ])) : _("", !0)
999
1003
  ], 2))), 128))
1000
1004
  ])
1001
1005
  ]),
1002
- f("li", Ys, [
1006
+ f("li", Qs, [
1003
1007
  M(c.$slots, "sidebar-footer"),
1004
1008
  f("a", {
1005
1009
  class: "font-medium grid place-content-center gap-x-3 rounded-md h-10 p-2.5 text-gray-800 text-[13px] hover:bg-gray-100 transition-all duration-300 ease-in-out",
@@ -1019,11 +1023,11 @@ const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is =
1019
1023
  f("div", {
1020
1024
  class: k([u.value, "h-full transition-all flex flex-col"])
1021
1025
  }, [
1022
- f("div", Qs, [
1023
- f("div", er, [
1024
- f("div", tr, [
1026
+ f("div", er, [
1027
+ f("div", tr, [
1028
+ f("div", nr, [
1025
1029
  M(c.$slots, "header-left", {}, () => [
1026
- f("div", nr, [
1030
+ f("div", sr, [
1027
1031
  C(x, {
1028
1032
  icon: b(B).farBarsSort,
1029
1033
  class: "size-5",
@@ -1042,10 +1046,10 @@ const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is =
1042
1046
  src: b(s).currentBrand.logo,
1043
1047
  alt: "",
1044
1048
  class: "h-[30px] w-auto"
1045
- }, null, 8, sr)) : _("", !0)
1049
+ }, null, 8, rr)) : _("", !0)
1046
1050
  ])) : _("", !0)
1047
1051
  ]),
1048
- f("div", rr, [
1052
+ f("div", or, [
1049
1053
  M(c.$slots, "header-right", {}, () => [
1050
1054
  e.appStore.state.showAppSelector ? (m(), g("button", {
1051
1055
  key: 0,
@@ -1063,7 +1067,7 @@ const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is =
1063
1067
  ])
1064
1068
  ])
1065
1069
  ]),
1066
- f("main", or, [
1070
+ f("main", ar, [
1067
1071
  C(E)
1068
1072
  ])
1069
1073
  ], 2),
@@ -1081,42 +1085,42 @@ const Q = new js(), Ds = { class: "flex grow m-2.5 p-[10px] rounded-lg" }, Is =
1081
1085
  ], 64);
1082
1086
  };
1083
1087
  }
1084
- }, ar = (e, t) => {
1088
+ }, ir = (e, t) => {
1085
1089
  const n = e.__vccOpts || e;
1086
1090
  for (const [s, r] of t)
1087
1091
  n[s] = r;
1088
1092
  return n;
1089
- }, ir = {}, lr = { class: "h-full" };
1090
- function cr(e, t) {
1093
+ }, lr = {}, cr = { class: "h-full" };
1094
+ function ur(e, t) {
1091
1095
  const n = U("router-view");
1092
- return m(), g("main", lr, [
1096
+ return m(), g("main", cr, [
1093
1097
  C(n)
1094
1098
  ]);
1095
1099
  }
1096
- const ai = /* @__PURE__ */ ar(ir, [["render", cr]]);
1100
+ const ii = /* @__PURE__ */ ir(lr, [["render", ur]]);
1097
1101
  function Ht(e, t) {
1098
1102
  return function() {
1099
1103
  return e.apply(t, arguments);
1100
1104
  };
1101
1105
  }
1102
- const { toString: ur } = Object.prototype, { getPrototypeOf: Ge } = Object, { iterator: Te, toStringTag: Ft } = Symbol, He = /* @__PURE__ */ ((e) => (t) => {
1103
- const n = ur.call(t);
1106
+ const { toString: dr } = Object.prototype, { getPrototypeOf: Ge } = Object, { iterator: Te, toStringTag: Ft } = Symbol, He = /* @__PURE__ */ ((e) => (t) => {
1107
+ const n = dr.call(t);
1104
1108
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
1105
1109
  })(/* @__PURE__ */ Object.create(null)), D = (e) => (e = e.toLowerCase(), (t) => He(t) === e), Fe = (e) => (t) => typeof t === e, { isArray: ce } = Array, le = Fe("undefined");
1106
1110
  function ye(e) {
1107
1111
  return e !== null && !le(e) && e.constructor !== null && !le(e.constructor) && V(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1108
1112
  }
1109
1113
  const Bt = D("ArrayBuffer");
1110
- function dr(e) {
1114
+ function fr(e) {
1111
1115
  let t;
1112
1116
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Bt(e.buffer), t;
1113
1117
  }
1114
- const fr = Fe("string"), V = Fe("function"), Vt = Fe("number"), we = (e) => e !== null && typeof e == "object", pr = (e) => e === !0 || e === !1, ke = (e) => {
1118
+ const pr = Fe("string"), V = Fe("function"), Vt = Fe("number"), we = (e) => e !== null && typeof e == "object", hr = (e) => e === !0 || e === !1, ke = (e) => {
1115
1119
  if (He(e) !== "object")
1116
1120
  return !1;
1117
1121
  const t = Ge(e);
1118
1122
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ft in e) && !(Te in e);
1119
- }, hr = (e) => {
1123
+ }, mr = (e) => {
1120
1124
  if (!we(e) || ye(e))
1121
1125
  return !1;
1122
1126
  try {
@@ -1124,11 +1128,11 @@ const fr = Fe("string"), V = Fe("function"), Vt = Fe("number"), we = (e) => e !=
1124
1128
  } catch {
1125
1129
  return !1;
1126
1130
  }
1127
- }, mr = D("Date"), gr = D("File"), yr = D("Blob"), wr = D("FileList"), br = (e) => we(e) && V(e.pipe), xr = (e) => {
1131
+ }, gr = D("Date"), yr = D("File"), wr = D("Blob"), br = D("FileList"), xr = (e) => we(e) && V(e.pipe), Sr = (e) => {
1128
1132
  let t;
1129
1133
  return e && (typeof FormData == "function" && e instanceof FormData || V(e.append) && ((t = He(e)) === "formdata" || // detect form-data instance
1130
1134
  t === "object" && V(e.toString) && e.toString() === "[object FormData]"));
1131
- }, Sr = D("URLSearchParams"), [Cr, vr, _r, kr] = ["ReadableStream", "Request", "Response", "Headers"].map(D), Rr = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1135
+ }, Cr = D("URLSearchParams"), [vr, _r, kr, Rr] = ["ReadableStream", "Request", "Response", "Headers"].map(D), Er = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1132
1136
  function be(e, t, { allOwnKeys: n = !1 } = {}) {
1133
1137
  if (e === null || typeof e > "u")
1134
1138
  return;
@@ -1166,13 +1170,13 @@ function ze() {
1166
1170
  arguments[r] && be(arguments[r], s);
1167
1171
  return n;
1168
1172
  }
1169
- const Er = (e, t, n, { allOwnKeys: s } = {}) => (be(t, (r, o) => {
1173
+ const $r = (e, t, n, { allOwnKeys: s } = {}) => (be(t, (r, o) => {
1170
1174
  n && V(r) ? e[o] = Ht(r, n) : e[o] = r;
1171
- }, { allOwnKeys: s }), e), $r = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ar = (e, t, n, s) => {
1175
+ }, { allOwnKeys: s }), e), Ar = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Lr = (e, t, n, s) => {
1172
1176
  e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
1173
1177
  value: t.prototype
1174
1178
  }), n && Object.assign(e.prototype, n);
1175
- }, Lr = (e, t, n, s) => {
1179
+ }, Or = (e, t, n, s) => {
1176
1180
  let r, o, a;
1177
1181
  const i = {};
1178
1182
  if (t = t || {}, e == null) return t;
@@ -1182,11 +1186,11 @@ const Er = (e, t, n, { allOwnKeys: s } = {}) => (be(t, (r, o) => {
1182
1186
  e = n !== !1 && Ge(e);
1183
1187
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
1184
1188
  return t;
1185
- }, Or = (e, t, n) => {
1189
+ }, Tr = (e, t, n) => {
1186
1190
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
1187
1191
  const s = e.indexOf(t, n);
1188
1192
  return s !== -1 && s === n;
1189
- }, Tr = (e) => {
1193
+ }, Hr = (e) => {
1190
1194
  if (!e) return null;
1191
1195
  if (ce(e)) return e;
1192
1196
  let t = e.length;
@@ -1195,31 +1199,31 @@ const Er = (e, t, n, { allOwnKeys: s } = {}) => (be(t, (r, o) => {
1195
1199
  for (; t-- > 0; )
1196
1200
  n[t] = e[t];
1197
1201
  return n;
1198
- }, Hr = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ge(Uint8Array)), Fr = (e, t) => {
1202
+ }, Fr = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ge(Uint8Array)), Br = (e, t) => {
1199
1203
  const s = (e && e[Te]).call(e);
1200
1204
  let r;
1201
1205
  for (; (r = s.next()) && !r.done; ) {
1202
1206
  const o = r.value;
1203
1207
  t.call(e, o[0], o[1]);
1204
1208
  }
1205
- }, Br = (e, t) => {
1209
+ }, Vr = (e, t) => {
1206
1210
  let n;
1207
1211
  const s = [];
1208
1212
  for (; (n = e.exec(t)) !== null; )
1209
1213
  s.push(n);
1210
1214
  return s;
1211
- }, Vr = D("HTMLFormElement"), Nr = (e) => e.toLowerCase().replace(
1215
+ }, Nr = D("HTMLFormElement"), Pr = (e) => e.toLowerCase().replace(
1212
1216
  /[-_\s]([a-z\d])(\w*)/g,
1213
1217
  function(n, s, r) {
1214
1218
  return s.toUpperCase() + r;
1215
1219
  }
1216
- ), it = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Pr = D("RegExp"), Mt = (e, t) => {
1220
+ ), it = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Mr = D("RegExp"), Mt = (e, t) => {
1217
1221
  const n = Object.getOwnPropertyDescriptors(e), s = {};
1218
1222
  be(n, (r, o) => {
1219
1223
  let a;
1220
1224
  (a = t(r, o, e)) !== !1 && (s[o] = a || r);
1221
1225
  }), Object.defineProperties(e, s);
1222
- }, Mr = (e) => {
1226
+ }, Ur = (e) => {
1223
1227
  Mt(e, (t, n) => {
1224
1228
  if (V(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
1225
1229
  return !1;
@@ -1234,19 +1238,19 @@ const Er = (e, t, n, { allOwnKeys: s } = {}) => (be(t, (r, o) => {
1234
1238
  });
1235
1239
  }
1236
1240
  });
1237
- }, Ur = (e, t) => {
1241
+ }, jr = (e, t) => {
1238
1242
  const n = {}, s = (r) => {
1239
1243
  r.forEach((o) => {
1240
1244
  n[o] = !0;
1241
1245
  });
1242
1246
  };
1243
1247
  return ce(e) ? s(e) : s(String(e).split(t)), n;
1244
- }, jr = () => {
1245
- }, Dr = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1246
- function Ir(e) {
1248
+ }, Dr = () => {
1249
+ }, Ir = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1250
+ function zr(e) {
1247
1251
  return !!(e && V(e.append) && e[Ft] === "FormData" && e[Te]);
1248
1252
  }
1249
- const zr = (e) => {
1253
+ const qr = (e) => {
1250
1254
  const t = new Array(10), n = (s, r) => {
1251
1255
  if (we(s)) {
1252
1256
  if (t.indexOf(s) >= 0)
@@ -1265,72 +1269,72 @@ const zr = (e) => {
1265
1269
  return s;
1266
1270
  };
1267
1271
  return n(e, 0);
1268
- }, qr = D("AsyncFunction"), Zr = (e) => e && (we(e) || V(e)) && V(e.then) && V(e.catch), Ut = ((e, t) => e ? setImmediate : t ? ((n, s) => (ee.addEventListener("message", ({ source: r, data: o }) => {
1272
+ }, Zr = D("AsyncFunction"), Wr = (e) => e && (we(e) || V(e)) && V(e.then) && V(e.catch), Ut = ((e, t) => e ? setImmediate : t ? ((n, s) => (ee.addEventListener("message", ({ source: r, data: o }) => {
1269
1273
  r === ee && o === n && s.length && s.shift()();
1270
1274
  }, !1), (r) => {
1271
1275
  s.push(r), ee.postMessage(n, "*");
1272
1276
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
1273
1277
  typeof setImmediate == "function",
1274
1278
  V(ee.postMessage)
1275
- ), Wr = typeof queueMicrotask < "u" ? queueMicrotask.bind(ee) : typeof process < "u" && process.nextTick || Ut, Gr = (e) => e != null && V(e[Te]), d = {
1279
+ ), Gr = typeof queueMicrotask < "u" ? queueMicrotask.bind(ee) : typeof process < "u" && process.nextTick || Ut, Jr = (e) => e != null && V(e[Te]), d = {
1276
1280
  isArray: ce,
1277
1281
  isArrayBuffer: Bt,
1278
1282
  isBuffer: ye,
1279
- isFormData: xr,
1280
- isArrayBufferView: dr,
1281
- isString: fr,
1283
+ isFormData: Sr,
1284
+ isArrayBufferView: fr,
1285
+ isString: pr,
1282
1286
  isNumber: Vt,
1283
- isBoolean: pr,
1287
+ isBoolean: hr,
1284
1288
  isObject: we,
1285
1289
  isPlainObject: ke,
1286
- isEmptyObject: hr,
1287
- isReadableStream: Cr,
1288
- isRequest: vr,
1289
- isResponse: _r,
1290
- isHeaders: kr,
1290
+ isEmptyObject: mr,
1291
+ isReadableStream: vr,
1292
+ isRequest: _r,
1293
+ isResponse: kr,
1294
+ isHeaders: Rr,
1291
1295
  isUndefined: le,
1292
- isDate: mr,
1293
- isFile: gr,
1294
- isBlob: yr,
1295
- isRegExp: Pr,
1296
+ isDate: gr,
1297
+ isFile: yr,
1298
+ isBlob: wr,
1299
+ isRegExp: Mr,
1296
1300
  isFunction: V,
1297
- isStream: br,
1298
- isURLSearchParams: Sr,
1299
- isTypedArray: Hr,
1300
- isFileList: wr,
1301
+ isStream: xr,
1302
+ isURLSearchParams: Cr,
1303
+ isTypedArray: Fr,
1304
+ isFileList: br,
1301
1305
  forEach: be,
1302
1306
  merge: ze,
1303
- extend: Er,
1304
- trim: Rr,
1305
- stripBOM: $r,
1306
- inherits: Ar,
1307
- toFlatObject: Lr,
1307
+ extend: $r,
1308
+ trim: Er,
1309
+ stripBOM: Ar,
1310
+ inherits: Lr,
1311
+ toFlatObject: Or,
1308
1312
  kindOf: He,
1309
1313
  kindOfTest: D,
1310
- endsWith: Or,
1311
- toArray: Tr,
1312
- forEachEntry: Fr,
1313
- matchAll: Br,
1314
- isHTMLForm: Vr,
1314
+ endsWith: Tr,
1315
+ toArray: Hr,
1316
+ forEachEntry: Br,
1317
+ matchAll: Vr,
1318
+ isHTMLForm: Nr,
1315
1319
  hasOwnProperty: it,
1316
1320
  hasOwnProp: it,
1317
1321
  // an alias to avoid ESLint no-prototype-builtins detection
1318
1322
  reduceDescriptors: Mt,
1319
- freezeMethods: Mr,
1320
- toObjectSet: Ur,
1321
- toCamelCase: Nr,
1322
- noop: jr,
1323
- toFiniteNumber: Dr,
1323
+ freezeMethods: Ur,
1324
+ toObjectSet: jr,
1325
+ toCamelCase: Pr,
1326
+ noop: Dr,
1327
+ toFiniteNumber: Ir,
1324
1328
  findKey: Nt,
1325
1329
  global: ee,
1326
1330
  isContextDefined: Pt,
1327
- isSpecCompliantForm: Ir,
1328
- toJSONObject: zr,
1329
- isAsyncFn: qr,
1330
- isThenable: Zr,
1331
+ isSpecCompliantForm: zr,
1332
+ toJSONObject: qr,
1333
+ isAsyncFn: Zr,
1334
+ isThenable: Wr,
1331
1335
  setImmediate: Ut,
1332
- asap: Wr,
1333
- isIterable: Gr
1336
+ asap: Gr,
1337
+ isIterable: Jr
1334
1338
  };
1335
1339
  function S(e, t, n, s, r) {
1336
1340
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), s && (this.request = s), r && (this.response = r, this.status = r.status ? r.status : null);
@@ -1384,7 +1388,7 @@ S.from = (e, t, n, s, r, o) => {
1384
1388
  const i = e && e.message ? e.message : "Error", l = t == null && e ? e.code : t;
1385
1389
  return S.call(a, i, l, n, s, r), e && a.cause == null && Object.defineProperty(a, "cause", { value: e, configurable: !0 }), a.name = e && e.name || "Error", o && Object.assign(a, o), a;
1386
1390
  };
1387
- const Jr = null;
1391
+ const Kr = null;
1388
1392
  function qe(e) {
1389
1393
  return d.isPlainObject(e) || d.isArray(e);
1390
1394
  }
@@ -1396,10 +1400,10 @@ function lt(e, t, n) {
1396
1400
  return r = It(r), !n && o ? "[" + r + "]" : r;
1397
1401
  }).join(n ? "." : "") : t;
1398
1402
  }
1399
- function Kr(e) {
1403
+ function Xr(e) {
1400
1404
  return d.isArray(e) && !e.some(qe);
1401
1405
  }
1402
- const Xr = d.toFlatObject(d, {}, null, function(t) {
1406
+ const Yr = d.toFlatObject(d, {}, null, function(t) {
1403
1407
  return /^is[A-Z]/.test(t);
1404
1408
  });
1405
1409
  function Be(e, t, n) {
@@ -1430,7 +1434,7 @@ function Be(e, t, n) {
1430
1434
  if (p && !y && typeof p == "object") {
1431
1435
  if (d.endsWith(w, "{}"))
1432
1436
  w = s ? w : w.slice(0, -2), p = JSON.stringify(p);
1433
- else if (d.isArray(p) && Kr(p) || (d.isFileList(p) || d.endsWith(w, "[]")) && ($ = d.toArray(p)))
1437
+ else if (d.isArray(p) && Xr(p) || (d.isFileList(p) || d.endsWith(w, "[]")) && ($ = d.toArray(p)))
1434
1438
  return w = It(w), $.forEach(function(L, F) {
1435
1439
  !(d.isUndefined(L) || L === null) && t.append(
1436
1440
  // eslint-disable-next-line no-nested-ternary
@@ -1441,7 +1445,7 @@ function Be(e, t, n) {
1441
1445
  }
1442
1446
  return qe(p) ? !0 : (t.append(lt(y, w, o), u(p)), !1);
1443
1447
  }
1444
- const h = [], x = Object.assign(Xr, {
1448
+ const h = [], x = Object.assign(Yr, {
1445
1449
  defaultVisitor: c,
1446
1450
  convertValue: u,
1447
1451
  isVisitable: qe
@@ -1494,13 +1498,13 @@ zt.toString = function(t) {
1494
1498
  return n(r[0]) + "=" + n(r[1]);
1495
1499
  }, "").join("&");
1496
1500
  };
1497
- function Yr(e) {
1501
+ function Qr(e) {
1498
1502
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
1499
1503
  }
1500
1504
  function qt(e, t, n) {
1501
1505
  if (!t)
1502
1506
  return e;
1503
- const s = n && n.encode || Yr;
1507
+ const s = n && n.encode || Qr;
1504
1508
  d.isFunction(n) && (n = {
1505
1509
  serialize: n
1506
1510
  });
@@ -1570,27 +1574,27 @@ const Zt = {
1570
1574
  silentJSONParsing: !0,
1571
1575
  forcedJSONParsing: !0,
1572
1576
  clarifyTimeoutError: !1
1573
- }, Qr = typeof URLSearchParams < "u" ? URLSearchParams : Je, eo = typeof FormData < "u" ? FormData : null, to = typeof Blob < "u" ? Blob : null, no = {
1577
+ }, eo = typeof URLSearchParams < "u" ? URLSearchParams : Je, to = typeof FormData < "u" ? FormData : null, no = typeof Blob < "u" ? Blob : null, so = {
1574
1578
  isBrowser: !0,
1575
1579
  classes: {
1576
- URLSearchParams: Qr,
1577
- FormData: eo,
1578
- Blob: to
1580
+ URLSearchParams: eo,
1581
+ FormData: to,
1582
+ Blob: no
1579
1583
  },
1580
1584
  protocols: ["http", "https", "file", "blob", "url", "data"]
1581
- }, Ke = typeof window < "u" && typeof document < "u", Ze = typeof navigator == "object" && navigator || void 0, so = Ke && (!Ze || ["ReactNative", "NativeScript", "NS"].indexOf(Ze.product) < 0), ro = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1582
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", oo = Ke && window.location.href || "http://localhost", ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1585
+ }, Ke = typeof window < "u" && typeof document < "u", Ze = typeof navigator == "object" && navigator || void 0, ro = Ke && (!Ze || ["ReactNative", "NativeScript", "NS"].indexOf(Ze.product) < 0), oo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1586
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ao = Ke && window.location.href || "http://localhost", io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1583
1587
  __proto__: null,
1584
1588
  hasBrowserEnv: Ke,
1585
- hasStandardBrowserEnv: so,
1586
- hasStandardBrowserWebWorkerEnv: ro,
1589
+ hasStandardBrowserEnv: ro,
1590
+ hasStandardBrowserWebWorkerEnv: oo,
1587
1591
  navigator: Ze,
1588
- origin: oo
1592
+ origin: ao
1589
1593
  }, Symbol.toStringTag, { value: "Module" })), H = {
1590
- ...ao,
1591
- ...no
1594
+ ...io,
1595
+ ...so
1592
1596
  };
1593
- function io(e, t) {
1597
+ function lo(e, t) {
1594
1598
  return Be(e, new H.classes.URLSearchParams(), {
1595
1599
  visitor: function(n, s, r, o) {
1596
1600
  return H.isNode && d.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
@@ -1598,10 +1602,10 @@ function io(e, t) {
1598
1602
  ...t
1599
1603
  });
1600
1604
  }
1601
- function lo(e) {
1605
+ function co(e) {
1602
1606
  return d.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
1603
1607
  }
1604
- function co(e) {
1608
+ function uo(e) {
1605
1609
  const t = {}, n = Object.keys(e);
1606
1610
  let s;
1607
1611
  const r = n.length;
@@ -1615,17 +1619,17 @@ function Wt(e) {
1615
1619
  let a = n[o++];
1616
1620
  if (a === "__proto__") return !0;
1617
1621
  const i = Number.isFinite(+a), l = o >= n.length;
1618
- return a = !a && d.isArray(r) ? r.length : a, l ? (d.hasOwnProp(r, a) ? r[a] = [r[a], s] : r[a] = s, !i) : ((!r[a] || !d.isObject(r[a])) && (r[a] = []), t(n, s, r[a], o) && d.isArray(r[a]) && (r[a] = co(r[a])), !i);
1622
+ return a = !a && d.isArray(r) ? r.length : a, l ? (d.hasOwnProp(r, a) ? r[a] = [r[a], s] : r[a] = s, !i) : ((!r[a] || !d.isObject(r[a])) && (r[a] = []), t(n, s, r[a], o) && d.isArray(r[a]) && (r[a] = uo(r[a])), !i);
1619
1623
  }
1620
1624
  if (d.isFormData(e) && d.isFunction(e.entries)) {
1621
1625
  const n = {};
1622
1626
  return d.forEachEntry(e, (s, r) => {
1623
- t(lo(s), r, n, 0);
1627
+ t(co(s), r, n, 0);
1624
1628
  }), n;
1625
1629
  }
1626
1630
  return null;
1627
1631
  }
1628
- function uo(e, t, n) {
1632
+ function fo(e, t, n) {
1629
1633
  if (d.isString(e))
1630
1634
  try {
1631
1635
  return (t || JSON.parse)(e), d.trim(e);
@@ -1651,7 +1655,7 @@ const xe = {
1651
1655
  let i;
1652
1656
  if (o) {
1653
1657
  if (s.indexOf("application/x-www-form-urlencoded") > -1)
1654
- return io(t, this.formSerializer).toString();
1658
+ return lo(t, this.formSerializer).toString();
1655
1659
  if ((i = d.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
1656
1660
  const l = this.env && this.env.FormData;
1657
1661
  return Be(
@@ -1661,7 +1665,7 @@ const xe = {
1661
1665
  );
1662
1666
  }
1663
1667
  }
1664
- return o || r ? (n.setContentType("application/json", !1), uo(t)) : t;
1668
+ return o || r ? (n.setContentType("application/json", !1), fo(t)) : t;
1665
1669
  }],
1666
1670
  transformResponse: [function(t) {
1667
1671
  const n = this.transitional || xe.transitional, s = n && n.forcedJSONParsing, r = this.responseType === "json";
@@ -1704,7 +1708,7 @@ const xe = {
1704
1708
  d.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
1705
1709
  xe.headers[e] = {};
1706
1710
  });
1707
- const fo = d.toObjectSet([
1711
+ const po = d.toObjectSet([
1708
1712
  "age",
1709
1713
  "authorization",
1710
1714
  "content-length",
@@ -1722,12 +1726,12 @@ const fo = d.toObjectSet([
1722
1726
  "referer",
1723
1727
  "retry-after",
1724
1728
  "user-agent"
1725
- ]), po = (e) => {
1729
+ ]), ho = (e) => {
1726
1730
  const t = {};
1727
1731
  let n, s, r;
1728
1732
  return e && e.split(`
1729
1733
  `).forEach(function(a) {
1730
- r = a.indexOf(":"), n = a.substring(0, r).trim().toLowerCase(), s = a.substring(r + 1).trim(), !(!n || t[n] && fo[n]) && (n === "set-cookie" ? t[n] ? t[n].push(s) : t[n] = [s] : t[n] = t[n] ? t[n] + ", " + s : s);
1734
+ r = a.indexOf(":"), n = a.substring(0, r).trim().toLowerCase(), s = a.substring(r + 1).trim(), !(!n || t[n] && po[n]) && (n === "set-cookie" ? t[n] ? t[n].push(s) : t[n] = [s] : t[n] = t[n] ? t[n] + ", " + s : s);
1731
1735
  }), t;
1732
1736
  }, dt = Symbol("internals");
1733
1737
  function he(e) {
@@ -1736,14 +1740,14 @@ function he(e) {
1736
1740
  function Re(e) {
1737
1741
  return e === !1 || e == null ? e : d.isArray(e) ? e.map(Re) : String(e);
1738
1742
  }
1739
- function ho(e) {
1743
+ function mo(e) {
1740
1744
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1741
1745
  let s;
1742
1746
  for (; s = n.exec(e); )
1743
1747
  t[s[1]] = s[2];
1744
1748
  return t;
1745
1749
  }
1746
- const mo = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1750
+ const go = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1747
1751
  function Ue(e, t, n, s, r) {
1748
1752
  if (d.isFunction(s))
1749
1753
  return s.call(this, t, n);
@@ -1754,10 +1758,10 @@ function Ue(e, t, n, s, r) {
1754
1758
  return s.test(t);
1755
1759
  }
1756
1760
  }
1757
- function go(e) {
1761
+ function yo(e) {
1758
1762
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, s) => n.toUpperCase() + s);
1759
1763
  }
1760
- function yo(e, t) {
1764
+ function wo(e, t) {
1761
1765
  const n = d.toCamelCase(" " + t);
1762
1766
  ["get", "set", "has"].forEach((s) => {
1763
1767
  Object.defineProperty(e, s + n, {
@@ -1784,8 +1788,8 @@ let N = class {
1784
1788
  const a = (i, l) => d.forEach(i, (u, c) => o(u, c, l));
1785
1789
  if (d.isPlainObject(t) || t instanceof this.constructor)
1786
1790
  a(t, n);
1787
- else if (d.isString(t) && (t = t.trim()) && !mo(t))
1788
- a(po(t), n);
1791
+ else if (d.isString(t) && (t = t.trim()) && !go(t))
1792
+ a(ho(t), n);
1789
1793
  else if (d.isObject(t) && d.isIterable(t)) {
1790
1794
  let i = {}, l, u;
1791
1795
  for (const c of t) {
@@ -1806,7 +1810,7 @@ let N = class {
1806
1810
  if (!n)
1807
1811
  return r;
1808
1812
  if (n === !0)
1809
- return ho(r);
1813
+ return mo(r);
1810
1814
  if (d.isFunction(n))
1811
1815
  return n.call(this, r, s);
1812
1816
  if (d.isRegExp(n))
@@ -1850,7 +1854,7 @@ let N = class {
1850
1854
  n[a] = Re(r), delete n[o];
1851
1855
  return;
1852
1856
  }
1853
- const i = t ? go(o) : String(o).trim();
1857
+ const i = t ? yo(o) : String(o).trim();
1854
1858
  i !== o && delete n[o], n[i] = Re(r), s[i] = !0;
1855
1859
  }), this;
1856
1860
  }
@@ -1889,7 +1893,7 @@ let N = class {
1889
1893
  }).accessors, r = this.prototype;
1890
1894
  function o(a) {
1891
1895
  const i = he(a);
1892
- s[i] || (yo(r, a), s[i] = !0);
1896
+ s[i] || (wo(r, a), s[i] = !0);
1893
1897
  }
1894
1898
  return d.isArray(t) ? t.forEach(o) : o(t), this;
1895
1899
  }
@@ -1931,11 +1935,11 @@ function Jt(e, t, n) {
1931
1935
  n
1932
1936
  ));
1933
1937
  }
1934
- function wo(e) {
1938
+ function bo(e) {
1935
1939
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
1936
1940
  return t && t[1] || "";
1937
1941
  }
1938
- function bo(e, t) {
1942
+ function xo(e, t) {
1939
1943
  e = e || 10;
1940
1944
  const n = new Array(e), s = new Array(e);
1941
1945
  let r = 0, o = 0, a;
@@ -1951,7 +1955,7 @@ function bo(e, t) {
1951
1955
  return E ? Math.round(x * 1e3 / E) : void 0;
1952
1956
  };
1953
1957
  }
1954
- function xo(e, t) {
1958
+ function So(e, t) {
1955
1959
  let n = 0, s = 1e3 / t, r, o;
1956
1960
  const a = (u, c = Date.now()) => {
1957
1961
  n = c, r = null, o && (clearTimeout(o), o = null), e(...u);
@@ -1965,8 +1969,8 @@ function xo(e, t) {
1965
1969
  }
1966
1970
  const Le = (e, t, n = 3) => {
1967
1971
  let s = 0;
1968
- const r = bo(50, 250);
1969
- return xo((o) => {
1972
+ const r = xo(50, 250);
1973
+ return So((o) => {
1970
1974
  const a = o.loaded, i = o.lengthComputable ? o.total : void 0, l = a - s, u = r(l), c = a <= i;
1971
1975
  s = a;
1972
1976
  const h = {
@@ -1989,10 +1993,10 @@ const Le = (e, t, n = 3) => {
1989
1993
  total: e,
1990
1994
  loaded: s
1991
1995
  }), t[1]];
1992
- }, pt = (e) => (...t) => d.asap(() => e(...t)), So = H.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, H.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1996
+ }, pt = (e) => (...t) => d.asap(() => e(...t)), Co = H.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, H.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1993
1997
  new URL(H.origin),
1994
1998
  H.navigator && /(msie|trident)/i.test(H.navigator.userAgent)
1995
- ) : () => !0, Co = H.hasStandardBrowserEnv ? (
1999
+ ) : () => !0, vo = H.hasStandardBrowserEnv ? (
1996
2000
  // Standard browser envs support document.cookie
1997
2001
  {
1998
2002
  write(e, t, n, s, r, o, a) {
@@ -2021,15 +2025,15 @@ const Le = (e, t, n = 3) => {
2021
2025
  }
2022
2026
  }
2023
2027
  );
2024
- function vo(e) {
2028
+ function _o(e) {
2025
2029
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
2026
2030
  }
2027
- function _o(e, t) {
2031
+ function ko(e, t) {
2028
2032
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
2029
2033
  }
2030
2034
  function Kt(e, t, n) {
2031
- let s = !vo(t);
2032
- return e && (s || n == !1) ? _o(e, t) : t;
2035
+ let s = !_o(t);
2036
+ return e && (s || n == !1) ? ko(e, t) : t;
2033
2037
  }
2034
2038
  const ht = (e) => e instanceof N ? { ...e } : e;
2035
2039
  function ne(e, t) {
@@ -2112,12 +2116,12 @@ const Xt = (e) => {
2112
2116
  });
2113
2117
  }
2114
2118
  }
2115
- if (H.hasStandardBrowserEnv && (s && d.isFunction(s) && (s = s(t)), s || s !== !1 && So(t.url))) {
2116
- const l = r && o && Co.read(o);
2119
+ if (H.hasStandardBrowserEnv && (s && d.isFunction(s) && (s = s(t)), s || s !== !1 && Co(t.url))) {
2120
+ const l = r && o && vo.read(o);
2117
2121
  l && a.set(r, l);
2118
2122
  }
2119
2123
  return t;
2120
- }, ko = typeof XMLHttpRequest < "u", Ro = ko && function(e) {
2124
+ }, Ro = typeof XMLHttpRequest < "u", Eo = Ro && function(e) {
2121
2125
  return new Promise(function(n, s) {
2122
2126
  const r = Xt(e);
2123
2127
  let o = r.data;
@@ -2168,14 +2172,14 @@ const Xt = (e) => {
2168
2172
  }), d.isUndefined(r.withCredentials) || (y.withCredentials = !!r.withCredentials), i && i !== "json" && (y.responseType = r.responseType), u && ([x, p] = Le(u, !0), y.addEventListener("progress", x)), l && y.upload && ([h, E] = Le(l), y.upload.addEventListener("progress", h), y.upload.addEventListener("loadend", E)), (r.cancelToken || r.signal) && (c = (L) => {
2169
2173
  y && (s(!L || L.type ? new ue(null, e, y) : L), y.abort(), y = null);
2170
2174
  }, r.cancelToken && r.cancelToken.subscribe(c), r.signal && (r.signal.aborted ? c() : r.signal.addEventListener("abort", c)));
2171
- const T = wo(r.url);
2175
+ const T = bo(r.url);
2172
2176
  if (T && H.protocols.indexOf(T) === -1) {
2173
2177
  s(new S("Unsupported protocol " + T + ":", S.ERR_BAD_REQUEST, e));
2174
2178
  return;
2175
2179
  }
2176
2180
  y.send(o || null);
2177
2181
  });
2178
- }, Eo = (e, t) => {
2182
+ }, $o = (e, t) => {
2179
2183
  const { length: n } = e = e ? e.filter(Boolean) : [];
2180
2184
  if (t || n) {
2181
2185
  let s = new AbortController(), r;
@@ -2198,7 +2202,7 @@ const Xt = (e) => {
2198
2202
  const { signal: l } = s;
2199
2203
  return l.unsubscribe = () => d.asap(i), l;
2200
2204
  }
2201
- }, $o = function* (e, t) {
2205
+ }, Ao = function* (e, t) {
2202
2206
  let n = e.byteLength;
2203
2207
  if (n < t) {
2204
2208
  yield e;
@@ -2207,10 +2211,10 @@ const Xt = (e) => {
2207
2211
  let s = 0, r;
2208
2212
  for (; s < n; )
2209
2213
  r = s + t, yield e.slice(s, r), s = r;
2210
- }, Ao = async function* (e, t) {
2211
- for await (const n of Lo(e))
2212
- yield* $o(n, t);
2213
- }, Lo = async function* (e) {
2214
+ }, Lo = async function* (e, t) {
2215
+ for await (const n of Oo(e))
2216
+ yield* Ao(n, t);
2217
+ }, Oo = async function* (e) {
2214
2218
  if (e[Symbol.asyncIterator]) {
2215
2219
  yield* e;
2216
2220
  return;
@@ -2227,7 +2231,7 @@ const Xt = (e) => {
2227
2231
  await t.cancel();
2228
2232
  }
2229
2233
  }, mt = (e, t, n, s) => {
2230
- const r = Ao(e, t);
2234
+ const r = Lo(e, t);
2231
2235
  let o = 0, a, i = (l) => {
2232
2236
  a || (a = !0, s && s(l));
2233
2237
  };
@@ -2255,7 +2259,7 @@ const Xt = (e) => {
2255
2259
  }, {
2256
2260
  highWaterMark: 2
2257
2261
  });
2258
- }, gt = 64 * 1024, { isFunction: _e } = d, Oo = (({ Request: e, Response: t }) => ({
2262
+ }, gt = 64 * 1024, { isFunction: _e } = d, To = (({ Request: e, Response: t }) => ({
2259
2263
  Request: e,
2260
2264
  Response: t
2261
2265
  }))(d.global), {
@@ -2267,10 +2271,10 @@ const Xt = (e) => {
2267
2271
  } catch {
2268
2272
  return !1;
2269
2273
  }
2270
- }, To = (e) => {
2274
+ }, Ho = (e) => {
2271
2275
  e = d.merge.call({
2272
2276
  skipUndefined: !0
2273
- }, Oo, e);
2277
+ }, To, e);
2274
2278
  const { fetch: t, Request: n, Response: s } = e, r = t ? _e(t) : typeof fetch == "function", o = _e(n), a = _e(s);
2275
2279
  if (!r)
2276
2280
  return !1;
@@ -2329,7 +2333,7 @@ const Xt = (e) => {
2329
2333
  fetchOptions: Ye
2330
2334
  } = Xt(p), Qe = t || fetch;
2331
2335
  P = P ? (P + "").toLowerCase() : "text";
2332
- let Ce = Eo([T, L && L.toAbortSignal()], F), de = null;
2336
+ let Ce = $o([T, L && L.toAbortSignal()], F), de = null;
2333
2337
  const Y = Ce && Ce.unsubscribe && (() => {
2334
2338
  Ce.unsubscribe();
2335
2339
  });
@@ -2399,22 +2403,22 @@ const Xt = (e) => {
2399
2403
  ) : S.from(I, I && I.code, p, de);
2400
2404
  }
2401
2405
  };
2402
- }, Ho = /* @__PURE__ */ new Map(), Yt = (e) => {
2406
+ }, Fo = /* @__PURE__ */ new Map(), Yt = (e) => {
2403
2407
  let t = e && e.env || {};
2404
2408
  const { fetch: n, Request: s, Response: r } = t, o = [
2405
2409
  s,
2406
2410
  r,
2407
2411
  n
2408
2412
  ];
2409
- let a = o.length, i = a, l, u, c = Ho;
2413
+ let a = o.length, i = a, l, u, c = Fo;
2410
2414
  for (; i--; )
2411
- l = o[i], u = c.get(l), u === void 0 && c.set(l, u = i ? /* @__PURE__ */ new Map() : To(t)), c = u;
2415
+ l = o[i], u = c.get(l), u === void 0 && c.set(l, u = i ? /* @__PURE__ */ new Map() : Ho(t)), c = u;
2412
2416
  return u;
2413
2417
  };
2414
2418
  Yt();
2415
2419
  const Xe = {
2416
- http: Jr,
2417
- xhr: Ro,
2420
+ http: Kr,
2421
+ xhr: Eo,
2418
2422
  fetch: {
2419
2423
  get: Yt
2420
2424
  }
@@ -2428,8 +2432,8 @@ d.forEach(Xe, (e, t) => {
2428
2432
  Object.defineProperty(e, "adapterName", { value: t });
2429
2433
  }
2430
2434
  });
2431
- const xt = (e) => `- ${e}`, Fo = (e) => d.isFunction(e) || e === null || e === !1;
2432
- function Bo(e, t) {
2435
+ const xt = (e) => `- ${e}`, Bo = (e) => d.isFunction(e) || e === null || e === !1;
2436
+ function Vo(e, t) {
2433
2437
  e = d.isArray(e) ? e : [e];
2434
2438
  const { length: n } = e;
2435
2439
  let s, r;
@@ -2437,7 +2441,7 @@ function Bo(e, t) {
2437
2441
  for (let a = 0; a < n; a++) {
2438
2442
  s = e[a];
2439
2443
  let i;
2440
- if (r = s, !Fo(s) && (r = Xe[(i = String(s)).toLowerCase()], r === void 0))
2444
+ if (r = s, !Bo(s) && (r = Xe[(i = String(s)).toLowerCase()], r === void 0))
2441
2445
  throw new S(`Unknown adapter '${i}'`);
2442
2446
  if (r && (d.isFunction(r) || (r = r.get(t))))
2443
2447
  break;
@@ -2462,7 +2466,7 @@ const Qt = {
2462
2466
  * Resolve an adapter from a list of adapter names or functions.
2463
2467
  * @type {Function}
2464
2468
  */
2465
- getAdapter: Bo,
2469
+ getAdapter: Vo,
2466
2470
  /**
2467
2471
  * Exposes all known adapters
2468
2472
  * @type {Object<string, Function|Object>}
@@ -2519,7 +2523,7 @@ Ve.transitional = function(t, n, s) {
2519
2523
  Ve.spelling = function(t) {
2520
2524
  return (n, s) => (console.warn(`${s} is likely a misspelling of ${t}`), !0);
2521
2525
  };
2522
- function Vo(e, t, n) {
2526
+ function No(e, t, n) {
2523
2527
  if (typeof e != "object")
2524
2528
  throw new S("options must be an object", S.ERR_BAD_OPTION_VALUE);
2525
2529
  const s = Object.keys(e);
@@ -2537,7 +2541,7 @@ function Vo(e, t, n) {
2537
2541
  }
2538
2542
  }
2539
2543
  const Ee = {
2540
- assertOptions: Vo,
2544
+ assertOptions: No,
2541
2545
  validators: Ve
2542
2546
  }, z = Ee.validators;
2543
2547
  let te = class {
@@ -2664,7 +2668,7 @@ d.forEach(["post", "put", "patch"], function(t) {
2664
2668
  }
2665
2669
  te.prototype[t] = n(), te.prototype[t + "Form"] = n(!0);
2666
2670
  });
2667
- let No = class tn {
2671
+ let Po = class tn {
2668
2672
  constructor(t) {
2669
2673
  if (typeof t != "function")
2670
2674
  throw new TypeError("executor must be a function.");
@@ -2737,12 +2741,12 @@ let No = class tn {
2737
2741
  };
2738
2742
  }
2739
2743
  };
2740
- function Po(e) {
2744
+ function Mo(e) {
2741
2745
  return function(n) {
2742
2746
  return e.apply(null, n);
2743
2747
  };
2744
2748
  }
2745
- function Mo(e) {
2749
+ function Uo(e) {
2746
2750
  return d.isObject(e) && e.isAxiosError === !0;
2747
2751
  }
2748
2752
  const We = {
@@ -2828,7 +2832,7 @@ function nn(e) {
2828
2832
  const v = nn(xe);
2829
2833
  v.Axios = te;
2830
2834
  v.CanceledError = ue;
2831
- v.CancelToken = No;
2835
+ v.CancelToken = Po;
2832
2836
  v.isCancel = Gt;
2833
2837
  v.VERSION = en;
2834
2838
  v.toFormData = Be;
@@ -2837,8 +2841,8 @@ v.Cancel = v.CanceledError;
2837
2841
  v.all = function(t) {
2838
2842
  return Promise.all(t);
2839
2843
  };
2840
- v.spread = Po;
2841
- v.isAxiosError = Mo;
2844
+ v.spread = Mo;
2845
+ v.isAxiosError = Uo;
2842
2846
  v.mergeConfig = ne;
2843
2847
  v.AxiosHeaders = N;
2844
2848
  v.formToJSON = (e) => Wt(d.isHTMLForm(e) ? new FormData(e) : e);
@@ -2846,26 +2850,26 @@ v.getAdapter = Qt.getAdapter;
2846
2850
  v.HttpStatusCode = We;
2847
2851
  v.default = v;
2848
2852
  const {
2849
- Axios: ci,
2850
- AxiosError: ui,
2851
- CanceledError: di,
2852
- isCancel: fi,
2853
- CancelToken: pi,
2854
- VERSION: hi,
2855
- all: mi,
2856
- Cancel: gi,
2857
- isAxiosError: yi,
2858
- spread: wi,
2859
- toFormData: bi,
2860
- AxiosHeaders: xi,
2861
- HttpStatusCode: Si,
2862
- formToJSON: Ci,
2863
- getAdapter: vi,
2864
- mergeConfig: _i
2865
- } = v, Uo = (e) => {
2853
+ Axios: ui,
2854
+ AxiosError: di,
2855
+ CanceledError: fi,
2856
+ isCancel: pi,
2857
+ CancelToken: hi,
2858
+ VERSION: mi,
2859
+ all: gi,
2860
+ Cancel: yi,
2861
+ isAxiosError: wi,
2862
+ spread: bi,
2863
+ toFormData: xi,
2864
+ AxiosHeaders: Si,
2865
+ HttpStatusCode: Ci,
2866
+ formToJSON: vi,
2867
+ getAdapter: _i,
2868
+ mergeConfig: ki
2869
+ } = v, jo = (e) => {
2866
2870
  const t = document.cookie.match(new RegExp(`(^| )${e}=([^;]+)`));
2867
2871
  return t ? t[2] : null;
2868
- }, jo = (e, t, n = {}) => {
2872
+ }, Do = (e, t, n = {}) => {
2869
2873
  const {
2870
2874
  maxAge: s = 31536e3,
2871
2875
  // 365 days in seconds
@@ -2876,7 +2880,7 @@ const {
2876
2880
  } = n;
2877
2881
  let l = `${e}=${t}; max-age=${s}; path=${i}; samesite=${a}`;
2878
2882
  r && (l += `; domain=${r}`), o && (l += "; secure"), document.cookie = l;
2879
- }, Do = (e, t = {}) => {
2883
+ }, Io = (e, t = {}) => {
2880
2884
  const { domain: n = sn(), path: s = "/" } = t;
2881
2885
  let r = `${e}=; max-age=0; path=${s}`;
2882
2886
  n && (r += `; domain=${n}`), document.cookie = r;
@@ -2919,10 +2923,10 @@ const {
2919
2923
  }), t = (u = {}) => {
2920
2924
  u.endpoints && Object.assign(e.endpoints, u.endpoints), u.routes && Object.assign(e.routes, u.routes), u.devCredentials && Object.assign(e.devCredentials, u.devCredentials), u.callbacks && Object.assign(e.callbacks, u.callbacks), u.overrideToken && (e.overrideToken = u.overrideToken);
2921
2925
  }, n = (u) => {
2922
- jo(Ie, u), e.token = u;
2926
+ Do(Ie, u), e.token = u;
2923
2927
  }, s = () => {
2924
- Do(Ie), e.token = null;
2925
- }, r = () => Uo(Ie), o = async (u) => {
2928
+ Io(Ie), e.token = null;
2929
+ }, r = () => jo(Ie), o = async (u) => {
2926
2930
  const c = await v.post(e.endpoints.login, u), h = c.headers.authorization;
2927
2931
  return n(h), e.user = c.data, e.callbacks.onLoginSuccess && await e.callbacks.onLoginSuccess(c.data), c.data;
2928
2932
  }, a = async () => {
@@ -2969,17 +2973,17 @@ const {
2969
2973
  clearTokenCookie: s,
2970
2974
  getTokenCookie: r
2971
2975
  };
2972
- }), Io = { class: "h-full grid place-content-center relative" }, zo = { class: "absolute top-8 left-8" }, qo = ["src"], Zo = {
2976
+ }), zo = { class: "h-full grid place-content-center relative" }, qo = { class: "absolute top-8 left-8" }, Zo = ["src"], Wo = {
2973
2977
  key: 1,
2974
2978
  width: "59",
2975
2979
  height: "23",
2976
2980
  viewBox: "0 0 59 23",
2977
2981
  fill: "none",
2978
2982
  xmlns: "http://www.w3.org/2000/svg"
2979
- }, Wo = { class: "max-w-sm grid gap-y-1 -mt-8" }, Go = { class: "mb-7" }, Jo = { class: "text-gray-600" }, Ko = { class: "grid grid-flow-col justify-between mt-1 mb-4" }, Xo = {
2983
+ }, Go = { class: "max-w-sm grid gap-y-1 -mt-8" }, Jo = { class: "mb-7" }, Ko = { class: "text-gray-600" }, Xo = { class: "grid grid-flow-col justify-between mt-1 mb-4" }, Yo = {
2980
2984
  key: 0,
2981
2985
  class: "text-red-600 text-sm mb-2"
2982
- }, Yo = { key: 0 }, Qo = { key: 1 }, ea = {
2986
+ }, Qo = { key: 0 }, ea = { key: 1 }, ta = {
2983
2987
  __name: "SparkLoginView",
2984
2988
  props: {
2985
2989
  logo: {
@@ -3017,14 +3021,14 @@ const {
3017
3021
  };
3018
3022
  return (u, c) => {
3019
3023
  const h = U("FormKit"), x = U("router-link");
3020
- return m(), g("div", Io, [
3021
- f("div", zo, [
3024
+ return m(), g("div", zo, [
3025
+ f("div", qo, [
3022
3026
  o.logo ? (m(), g("img", {
3023
3027
  key: 0,
3024
3028
  src: o.logo,
3025
3029
  alt: "Logo",
3026
3030
  class: "h-[23px] w-auto"
3027
- }, null, 8, qo)) : (m(), g("svg", Zo, [...c[0] || (c[0] = [
3031
+ }, null, 8, Zo)) : (m(), g("svg", Wo, [...c[0] || (c[0] = [
3028
3032
  f("path", {
3029
3033
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3030
3034
  fill: "#1C64F2"
@@ -3043,10 +3047,10 @@ const {
3043
3047
  }, null, -1)
3044
3048
  ])]))
3045
3049
  ]),
3046
- f("div", Wo, [
3047
- f("div", Go, [
3050
+ f("div", Go, [
3051
+ f("div", Jo, [
3048
3052
  c[1] || (c[1] = f("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Log in", -1)),
3049
- f("p", Jo, " Welcome back" + O(b(s).state.app ? ` to ${b(s).state.app}` : "") + "! Please enter your details. ", 1)
3053
+ f("p", Ko, " Welcome back" + O(b(s).state.app ? ` to ${b(s).state.app}` : "") + "! Please enter your details. ", 1)
3050
3054
  ]),
3051
3055
  C(h, {
3052
3056
  type: "form",
@@ -3072,7 +3076,7 @@ const {
3072
3076
  "outer-class": "max-w-full",
3073
3077
  value: b(r).state.devCredentials.password
3074
3078
  }, null, 8, ["value"]),
3075
- f("div", Ko, [
3079
+ f("div", Xo, [
3076
3080
  c[3] || (c[3] = f("span", null, null, -1)),
3077
3081
  C(x, {
3078
3082
  to: o.forgotPasswordRoute,
@@ -3084,7 +3088,7 @@ const {
3084
3088
  _: 1
3085
3089
  }, 8, ["to"])
3086
3090
  ]),
3087
- i.value ? (m(), g("div", Xo, O(i.value), 1)) : _("", !0),
3091
+ i.value ? (m(), g("div", Yo, O(i.value), 1)) : _("", !0),
3088
3092
  C(b(oe), {
3089
3093
  type: "submit",
3090
3094
  size: "xl",
@@ -3092,7 +3096,7 @@ const {
3092
3096
  "button-class": "w-full mb-2"
3093
3097
  }, {
3094
3098
  default: R(() => [
3095
- a.value ? (m(), g("span", Qo, "Signing in...")) : (m(), g("span", Yo, "Sign in"))
3099
+ a.value ? (m(), g("span", ea, "Signing in...")) : (m(), g("span", Qo, "Sign in"))
3096
3100
  ]),
3097
3101
  _: 1
3098
3102
  }, 8, ["disabled"])
@@ -3103,7 +3107,7 @@ const {
3103
3107
  ]);
3104
3108
  };
3105
3109
  }
3106
- }, ta = {
3110
+ }, na = {
3107
3111
  __name: "SparkLogoutView",
3108
3112
  props: {
3109
3113
  defaultRedirect: {
@@ -3119,20 +3123,20 @@ const {
3119
3123
  o && o.startsWith("http") ? window.location.href = o : await t.push(o || r.defaultRedirect);
3120
3124
  }), (o, a) => null;
3121
3125
  }
3122
- }, na = { class: "h-full grid place-content-center relative" }, sa = { class: "absolute top-8 left-8" }, ra = ["src"], oa = {
3126
+ }, sa = { class: "h-full grid place-content-center relative" }, ra = { class: "absolute top-8 left-8" }, oa = ["src"], aa = {
3123
3127
  key: 1,
3124
3128
  width: "59",
3125
3129
  height: "23",
3126
3130
  viewBox: "0 0 59 23",
3127
3131
  fill: "none",
3128
3132
  xmlns: "http://www.w3.org/2000/svg"
3129
- }, aa = { class: "max-w-sm grid gap-y-1 -mt-8" }, ia = {
3133
+ }, ia = { class: "max-w-sm grid gap-y-1 -mt-8" }, la = {
3130
3134
  key: 0,
3131
3135
  class: "text-red-600 text-sm mb-2"
3132
- }, la = {
3136
+ }, ca = {
3133
3137
  key: 1,
3134
3138
  class: "text-green-600 text-sm mb-2"
3135
- }, ca = { key: 0 }, ua = { key: 1 }, da = {
3139
+ }, ua = { key: 0 }, da = { key: 1 }, fa = {
3136
3140
  __name: "SparkForgotPasswordView",
3137
3141
  props: {
3138
3142
  logo: {
@@ -3157,14 +3161,14 @@ const {
3157
3161
  };
3158
3162
  return (i, l) => {
3159
3163
  const u = U("FormKit"), c = U("router-link");
3160
- return m(), g("div", na, [
3161
- f("div", sa, [
3164
+ return m(), g("div", sa, [
3165
+ f("div", ra, [
3162
3166
  n.logo ? (m(), g("img", {
3163
3167
  key: 0,
3164
3168
  src: n.logo,
3165
3169
  alt: "Logo",
3166
3170
  class: "h-[23px] w-auto"
3167
- }, null, 8, ra)) : (m(), g("svg", oa, [...l[0] || (l[0] = [
3171
+ }, null, 8, oa)) : (m(), g("svg", aa, [...l[0] || (l[0] = [
3168
3172
  f("path", {
3169
3173
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3170
3174
  fill: "#1C64F2"
@@ -3183,7 +3187,7 @@ const {
3183
3187
  }, null, -1)
3184
3188
  ])]))
3185
3189
  ]),
3186
- f("div", aa, [
3190
+ f("div", ia, [
3187
3191
  l[2] || (l[2] = f("div", { class: "mb-7" }, [
3188
3192
  f("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Reset password"),
3189
3193
  f("p", { class: "text-gray-600" }, " Enter your email and we'll send you a link to reset your password. ")
@@ -3202,8 +3206,8 @@ const {
3202
3206
  validation: "required|email",
3203
3207
  "outer-class": "max-w-full"
3204
3208
  }),
3205
- r.value ? (m(), g("div", ia, O(r.value), 1)) : _("", !0),
3206
- o.value ? (m(), g("div", la, O(o.value), 1)) : _("", !0),
3209
+ r.value ? (m(), g("div", la, O(r.value), 1)) : _("", !0),
3210
+ o.value ? (m(), g("div", ca, O(o.value), 1)) : _("", !0),
3207
3211
  C(b(oe), {
3208
3212
  type: "submit",
3209
3213
  size: "xl",
@@ -3211,7 +3215,7 @@ const {
3211
3215
  "button-class": "w-full mb-2"
3212
3216
  }, {
3213
3217
  default: R(() => [
3214
- s.value ? (m(), g("span", ua, "Sending...")) : (m(), g("span", ca, "Send reset link"))
3218
+ s.value ? (m(), g("span", da, "Sending...")) : (m(), g("span", ua, "Send reset link"))
3215
3219
  ]),
3216
3220
  _: 1
3217
3221
  }, 8, ["disabled"]),
@@ -3231,17 +3235,17 @@ const {
3231
3235
  ]);
3232
3236
  };
3233
3237
  }
3234
- }, fa = { class: "h-full grid place-content-center relative" }, pa = { class: "absolute top-8 left-8" }, ha = ["src"], ma = {
3238
+ }, pa = { class: "h-full grid place-content-center relative" }, ha = { class: "absolute top-8 left-8" }, ma = ["src"], ga = {
3235
3239
  key: 1,
3236
3240
  width: "59",
3237
3241
  height: "23",
3238
3242
  viewBox: "0 0 59 23",
3239
3243
  fill: "none",
3240
3244
  xmlns: "http://www.w3.org/2000/svg"
3241
- }, ga = { class: "max-w-sm grid gap-y-1 -mt-8" }, ya = {
3245
+ }, ya = { class: "max-w-sm grid gap-y-1 -mt-8" }, wa = {
3242
3246
  key: 0,
3243
3247
  class: "text-red-600 text-sm mb-2"
3244
- }, wa = { key: 0 }, ba = { key: 1 }, xa = {
3248
+ }, ba = { key: 0 }, xa = { key: 1 }, Sa = {
3245
3249
  __name: "SparkResetPasswordView",
3246
3250
  props: {
3247
3251
  logo: {
@@ -3271,14 +3275,14 @@ const {
3271
3275
  };
3272
3276
  return (l, u) => {
3273
3277
  const c = U("FormKit");
3274
- return m(), g("div", fa, [
3275
- f("div", pa, [
3278
+ return m(), g("div", pa, [
3279
+ f("div", ha, [
3276
3280
  r.logo ? (m(), g("img", {
3277
3281
  key: 0,
3278
3282
  src: r.logo,
3279
3283
  alt: "Logo",
3280
3284
  class: "h-[23px] w-auto"
3281
- }, null, 8, ha)) : (m(), g("svg", ma, [...u[0] || (u[0] = [
3285
+ }, null, 8, ma)) : (m(), g("svg", ga, [...u[0] || (u[0] = [
3282
3286
  f("path", {
3283
3287
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3284
3288
  fill: "#1C64F2"
@@ -3297,7 +3301,7 @@ const {
3297
3301
  }, null, -1)
3298
3302
  ])]))
3299
3303
  ]),
3300
- f("div", ga, [
3304
+ f("div", ya, [
3301
3305
  u[1] || (u[1] = f("div", { class: "mb-7" }, [
3302
3306
  f("h1", { class: "text-4xl text-gray-900 semibold tracking-tight mb-3" }, "Set new password"),
3303
3307
  f("p", { class: "text-gray-600" }, " Enter your new password below. ")
@@ -3324,7 +3328,7 @@ const {
3324
3328
  validation: "required|confirm:password",
3325
3329
  "outer-class": "max-w-full"
3326
3330
  }),
3327
- a.value ? (m(), g("div", ya, O(a.value), 1)) : _("", !0),
3331
+ a.value ? (m(), g("div", wa, O(a.value), 1)) : _("", !0),
3328
3332
  C(b(oe), {
3329
3333
  type: "submit",
3330
3334
  size: "xl",
@@ -3332,7 +3336,7 @@ const {
3332
3336
  "button-class": "w-full mb-2"
3333
3337
  }, {
3334
3338
  default: R(() => [
3335
- o.value ? (m(), g("span", ba, "Resetting...")) : (m(), g("span", wa, "Reset password"))
3339
+ o.value ? (m(), g("span", xa, "Resetting...")) : (m(), g("span", ba, "Reset password"))
3336
3340
  ]),
3337
3341
  _: 1
3338
3342
  }, 8, ["disabled"])
@@ -3343,14 +3347,14 @@ const {
3343
3347
  ]);
3344
3348
  };
3345
3349
  }
3346
- }, Sa = { class: "h-full grid place-content-center relative" }, Ca = { class: "absolute top-8 left-8" }, va = ["src"], _a = {
3350
+ }, Ca = { class: "h-full grid place-content-center relative" }, va = { class: "absolute top-8 left-8" }, _a = ["src"], ka = {
3347
3351
  key: 1,
3348
3352
  width: "59",
3349
3353
  height: "23",
3350
3354
  viewBox: "0 0 59 23",
3351
3355
  fill: "none",
3352
3356
  xmlns: "http://www.w3.org/2000/svg"
3353
- }, ka = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Ra = { class: "flex gap-4 justify-center" }, Ea = {
3357
+ }, Ra = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Ea = { class: "flex gap-4 justify-center" }, $a = {
3354
3358
  __name: "SparkError403View",
3355
3359
  props: {
3356
3360
  logo: {
@@ -3366,14 +3370,14 @@ const {
3366
3370
  const t = re(), n = e, s = () => {
3367
3371
  t.push(n.homeRoute);
3368
3372
  };
3369
- return (r, o) => (m(), g("div", Sa, [
3370
- f("div", Ca, [
3373
+ return (r, o) => (m(), g("div", Ca, [
3374
+ f("div", va, [
3371
3375
  n.logo ? (m(), g("img", {
3372
3376
  key: 0,
3373
3377
  src: n.logo,
3374
3378
  alt: "Logo",
3375
3379
  class: "h-[23px] w-auto"
3376
- }, null, 8, va)) : (m(), g("svg", _a, [...o[0] || (o[0] = [
3380
+ }, null, 8, _a)) : (m(), g("svg", ka, [...o[0] || (o[0] = [
3377
3381
  f("path", {
3378
3382
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3379
3383
  fill: "#1C64F2"
@@ -3392,7 +3396,7 @@ const {
3392
3396
  }, null, -1)
3393
3397
  ])]))
3394
3398
  ]),
3395
- f("div", ka, [
3399
+ f("div", Ra, [
3396
3400
  o[2] || (o[2] = f("div", null, [
3397
3401
  f("div", { class: "text-primary-600 text-7xl font-bold mb-4" }, "403"),
3398
3402
  f("h1", { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, " Access Forbidden "),
@@ -3402,7 +3406,7 @@ const {
3402
3406
  J(" If you believe this is an error, please contact your administrator. ")
3403
3407
  ])
3404
3408
  ], -1)),
3405
- f("div", Ra, [
3409
+ f("div", Ea, [
3406
3410
  C(b(oe), {
3407
3411
  onClick: s,
3408
3412
  size: "lg"
@@ -3416,14 +3420,14 @@ const {
3416
3420
  ])
3417
3421
  ]));
3418
3422
  }
3419
- }, $a = { class: "h-full grid place-content-center relative" }, Aa = { class: "absolute top-8 left-8" }, La = ["src"], Oa = {
3423
+ }, Aa = { class: "h-full grid place-content-center relative" }, La = { class: "absolute top-8 left-8" }, Oa = ["src"], Ta = {
3420
3424
  key: 1,
3421
3425
  width: "59",
3422
3426
  height: "23",
3423
3427
  viewBox: "0 0 59 23",
3424
3428
  fill: "none",
3425
3429
  xmlns: "http://www.w3.org/2000/svg"
3426
- }, Ta = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Ha = { class: "flex gap-4 justify-center" }, Fa = {
3430
+ }, Ha = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Fa = { class: "flex gap-4 justify-center" }, Ba = {
3427
3431
  __name: "SparkError404View",
3428
3432
  props: {
3429
3433
  logo: {
@@ -3439,14 +3443,14 @@ const {
3439
3443
  const t = re(), n = e, s = () => {
3440
3444
  t.push(n.homeRoute);
3441
3445
  };
3442
- return (r, o) => (m(), g("div", $a, [
3443
- f("div", Aa, [
3446
+ return (r, o) => (m(), g("div", Aa, [
3447
+ f("div", La, [
3444
3448
  n.logo ? (m(), g("img", {
3445
3449
  key: 0,
3446
3450
  src: n.logo,
3447
3451
  alt: "Logo",
3448
3452
  class: "h-[23px] w-auto"
3449
- }, null, 8, La)) : (m(), g("svg", Oa, [...o[0] || (o[0] = [
3453
+ }, null, 8, Oa)) : (m(), g("svg", Ta, [...o[0] || (o[0] = [
3450
3454
  f("path", {
3451
3455
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3452
3456
  fill: "#1C64F2"
@@ -3465,13 +3469,13 @@ const {
3465
3469
  }, null, -1)
3466
3470
  ])]))
3467
3471
  ]),
3468
- f("div", Ta, [
3472
+ f("div", Ha, [
3469
3473
  o[2] || (o[2] = f("div", null, [
3470
3474
  f("div", { class: "text-primary-600 text-7xl font-bold mb-4" }, "404"),
3471
3475
  f("h1", { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, " Page Not Found "),
3472
3476
  f("p", { class: "text-gray-600" }, " The page you're looking for doesn't exist or has been moved. ")
3473
3477
  ], -1)),
3474
- f("div", Ha, [
3478
+ f("div", Fa, [
3475
3479
  C(b(oe), {
3476
3480
  onClick: s,
3477
3481
  size: "lg"
@@ -3485,14 +3489,14 @@ const {
3485
3489
  ])
3486
3490
  ]));
3487
3491
  }
3488
- }, Ba = { class: "h-full grid place-content-center relative" }, Va = { class: "absolute top-8 left-8" }, Na = ["src"], Pa = {
3492
+ }, Va = { class: "h-full grid place-content-center relative" }, Na = { class: "absolute top-8 left-8" }, Pa = ["src"], Ma = {
3489
3493
  key: 1,
3490
3494
  width: "59",
3491
3495
  height: "23",
3492
3496
  viewBox: "0 0 59 23",
3493
3497
  fill: "none",
3494
3498
  xmlns: "http://www.w3.org/2000/svg"
3495
- }, Ma = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, Ua = { class: "text-primary-600 text-7xl font-bold mb-4" }, ja = { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, Da = { class: "text-gray-600" }, Ia = { class: "flex gap-4 justify-center" }, ki = {
3499
+ }, Ua = { class: "max-w-lg grid gap-y-6 text-center -mt-8" }, ja = { class: "text-primary-600 text-7xl font-bold mb-4" }, Da = { class: "text-3xl text-gray-900 font-semibold tracking-tight mb-3" }, Ia = { class: "text-gray-600" }, za = { class: "flex gap-4 justify-center" }, Ri = {
3496
3500
  __name: "SparkErrorGeneralView",
3497
3501
  props: {
3498
3502
  logo: {
@@ -3520,14 +3524,14 @@ const {
3520
3524
  const t = re(), n = e, s = () => {
3521
3525
  t.push(n.homeRoute);
3522
3526
  };
3523
- return (r, o) => (m(), g("div", Ba, [
3524
- f("div", Va, [
3527
+ return (r, o) => (m(), g("div", Va, [
3528
+ f("div", Na, [
3525
3529
  n.logo ? (m(), g("img", {
3526
3530
  key: 0,
3527
3531
  src: n.logo,
3528
3532
  alt: "Logo",
3529
3533
  class: "h-[23px] w-auto"
3530
- }, null, 8, Na)) : (m(), g("svg", Pa, [...o[0] || (o[0] = [
3534
+ }, null, 8, Pa)) : (m(), g("svg", Ma, [...o[0] || (o[0] = [
3531
3535
  f("path", {
3532
3536
  d: "M49.2029 17.1264V8.03835H44.0829V5.22235H58.0989V8.03835H52.9629V17.1264H49.2029Z",
3533
3537
  fill: "#1C64F2"
@@ -3546,13 +3550,13 @@ const {
3546
3550
  }, null, -1)
3547
3551
  ])]))
3548
3552
  ]),
3549
- f("div", Ma, [
3553
+ f("div", Ua, [
3550
3554
  f("div", null, [
3551
- f("div", Ua, O(n.errorCode || "Error"), 1),
3552
- f("h1", ja, O(n.title || "Something went wrong"), 1),
3553
- f("p", Da, O(n.message || "An unexpected error occurred. Please try again later."), 1)
3555
+ f("div", ja, O(n.errorCode || "Error"), 1),
3556
+ f("h1", Da, O(n.title || "Something went wrong"), 1),
3557
+ f("p", Ia, O(n.message || "An unexpected error occurred. Please try again later."), 1)
3554
3558
  ]),
3555
- f("div", Ia, [
3559
+ f("div", za, [
3556
3560
  C(b(oe), {
3557
3561
  onClick: s,
3558
3562
  size: "lg"
@@ -3567,7 +3571,7 @@ const {
3567
3571
  ]));
3568
3572
  }
3569
3573
  };
3570
- function Ri(e = {}) {
3574
+ function Ei(e = {}) {
3571
3575
  const {
3572
3576
  loginPath: t = "/login",
3573
3577
  logoutPath: n = "/logout",
@@ -3580,41 +3584,41 @@ function Ri(e = {}) {
3580
3584
  {
3581
3585
  path: t,
3582
3586
  name: "login",
3583
- component: ea,
3587
+ component: ta,
3584
3588
  props: { logo: o, defaultRedirect: a },
3585
3589
  meta: { auth: !1 }
3586
3590
  },
3587
3591
  {
3588
3592
  path: n,
3589
3593
  name: "logout",
3590
- component: ta,
3594
+ component: na,
3591
3595
  props: { defaultRedirect: t },
3592
3596
  meta: { auth: !1 }
3593
3597
  },
3594
3598
  {
3595
3599
  path: s,
3596
3600
  name: "forgot-password",
3597
- component: da,
3601
+ component: fa,
3598
3602
  props: { logo: o, loginRoute: t },
3599
3603
  meta: { auth: !1 }
3600
3604
  },
3601
3605
  {
3602
3606
  path: r,
3603
3607
  name: "password-reset",
3604
- component: xa,
3608
+ component: Sa,
3605
3609
  props: { logo: o, loginRoute: t },
3606
3610
  meta: { auth: !1 }
3607
3611
  }
3608
3612
  ];
3609
3613
  }
3610
- function Ei(e, t = {}) {
3614
+ function $i(e, t = {}) {
3611
3615
  const { defaultAuthenticatedRoute: n = "/dashboard" } = t;
3612
3616
  e.beforeEach(async (s, r, o) => {
3613
3617
  const a = K();
3614
- a.state.ready || await a.fetchUser(), za(s, o, a, n);
3618
+ a.state.ready || await a.fetchUser(), qa(s, o, a, n);
3615
3619
  });
3616
3620
  }
3617
- function za(e, t, n, s) {
3621
+ function qa(e, t, n, s) {
3618
3622
  const r = e.meta.auth !== !1, o = n.check;
3619
3623
  if (n.state.overrideToken && e.path === "/logout") {
3620
3624
  t({ path: s });
@@ -3652,7 +3656,7 @@ function za(e, t, n, s) {
3652
3656
  t();
3653
3657
  }
3654
3658
  }
3655
- function $i(e = {}) {
3659
+ function Ai(e = {}) {
3656
3660
  const {
3657
3661
  forbiddenPath: t = "/error/403",
3658
3662
  logo: n = "",
@@ -3661,12 +3665,12 @@ function $i(e = {}) {
3661
3665
  return {
3662
3666
  path: t,
3663
3667
  name: "error-403",
3664
- component: Ea,
3668
+ component: $a,
3665
3669
  props: { logo: n, homeRoute: s },
3666
3670
  meta: { auth: !1 }
3667
3671
  };
3668
3672
  }
3669
- function Ai(e = {}) {
3673
+ function Li(e = {}) {
3670
3674
  const {
3671
3675
  logo: t = "",
3672
3676
  homeRoute: n = "/dashboard"
@@ -3674,12 +3678,12 @@ function Ai(e = {}) {
3674
3678
  return {
3675
3679
  path: "/:pathMatch(.*)*",
3676
3680
  name: "error-404",
3677
- component: Fa,
3681
+ component: Ba,
3678
3682
  props: { logo: t, homeRoute: n },
3679
3683
  meta: { auth: !1 }
3680
3684
  };
3681
3685
  }
3682
- function qa(e = {}) {
3686
+ function Za(e = {}) {
3683
3687
  const t = v.create({
3684
3688
  baseURL: e.baseURL || "",
3685
3689
  timeout: e.timeout || 3e4,
@@ -3719,11 +3723,11 @@ function qa(e = {}) {
3719
3723
  }
3720
3724
  ), t;
3721
3725
  }
3722
- function Li(e, t = {}) {
3723
- const n = qa(t);
3726
+ function Oi(e, t = {}) {
3727
+ const n = Za(t);
3724
3728
  return e.provide("axios", n), e.config.globalProperties.$axios = n, n;
3725
3729
  }
3726
- const Oi = ge("sparkNav", () => {
3730
+ const Ti = ge("sparkNav", () => {
3727
3731
  const e = se({
3728
3732
  menu: [],
3729
3733
  collapsed: !1,
@@ -3780,38 +3784,38 @@ const Oi = ge("sparkNav", () => {
3780
3784
  });
3781
3785
  export {
3782
3786
  B as Icons,
3783
- ti as SparkAlert,
3787
+ ni as SparkAlert,
3784
3788
  ps as SparkAppSelector,
3785
3789
  As as SparkBrandSelector,
3786
3790
  oe as SparkButton,
3787
- ni as SparkButtonGroup,
3788
- si as SparkCard,
3789
- oi as SparkDefaultContainer,
3790
- Ea as SparkError403View,
3791
- Fa as SparkError404View,
3792
- ki as SparkErrorGeneralView,
3793
- da as SparkForgotPasswordView,
3794
- ea as SparkLoginView,
3795
- ta as SparkLogoutView,
3791
+ si as SparkButtonGroup,
3792
+ ri as SparkCard,
3793
+ ai as SparkDefaultContainer,
3794
+ $a as SparkError403View,
3795
+ Ba as SparkError404View,
3796
+ Ri as SparkErrorGeneralView,
3797
+ fa as SparkForgotPasswordView,
3798
+ ta as SparkLoginView,
3799
+ na as SparkLogoutView,
3796
3800
  Ns as SparkModalContainer,
3797
- ri as SparkModalDialog,
3801
+ oi as SparkModalDialog,
3798
3802
  ot as SparkOverlay,
3799
- ai as SparkPublicContainer,
3800
- xa as SparkResetPasswordView,
3801
- Qa as addIcons,
3802
- $i as create403Route,
3803
- Ai as create404Route,
3804
- Ri as createAuthRoutes,
3805
- qa as createAxiosInstance,
3806
- Ei as setupAuthGuards,
3807
- Li as setupAxios,
3808
- ei as setupFontAwesome,
3803
+ ii as SparkPublicContainer,
3804
+ Sa as SparkResetPasswordView,
3805
+ ei as addIcons,
3806
+ Ai as create403Route,
3807
+ Li as create404Route,
3808
+ Ei as createAuthRoutes,
3809
+ Za as createAxiosInstance,
3810
+ $i as setupAuthGuards,
3811
+ Oi as setupAxios,
3812
+ ti as setupFontAwesome,
3809
3813
  pe as sparkModalService,
3810
3814
  Q as sparkOverlayService,
3811
3815
  Lt as useSparkAppSelectorStore,
3812
3816
  Ot as useSparkAppStore,
3813
3817
  K as useSparkAuthStore,
3814
3818
  Tt as useSparkBrandFilterStore,
3815
- Oi as useSparkNavStore,
3819
+ Ti as useSparkNavStore,
3816
3820
  at as useSparkOverlay
3817
3821
  };