@dcrackel/meyersquaredui 1.0.252 → 1.0.254

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.
@@ -1,4 +1,4 @@
1
- import { createBlock as E, openBlock as u, resolveDynamicComponent as Ae, normalizeClass as S, withCtx as h, renderSlot as _e, createElementBlock as g, resolveComponent as y, createElementVNode as n, createVNode as l, createTextVNode as m, toDisplayString as p, createCommentVNode as w, Fragment as I, renderList as z, defineComponent as H, ref as L, provide as ie, watch as J, onMounted as Xe, onBeforeUnmount as se, toRef as $, inject as R, computed as he, markRaw as W, Comment as $e, normalizeProps as mt, guardReactiveProps as ht, withModifiers as F, withDirectives as et, vShow as gt, normalizeStyle as Y, vModelText as pt, createStaticVNode as pe, Transition as ft } from "vue";
1
+ import { createBlock as E, openBlock as u, resolveDynamicComponent as Ae, normalizeClass as S, withCtx as h, renderSlot as _e, createElementBlock as g, resolveComponent as y, createElementVNode as n, createVNode as l, createTextVNode as m, toDisplayString as f, createCommentVNode as w, Fragment as I, renderList as z, defineComponent as H, ref as L, provide as ie, watch as J, onMounted as Xe, onBeforeUnmount as se, toRef as $, inject as R, computed as he, markRaw as W, Comment as $e, normalizeProps as mt, guardReactiveProps as ht, withModifiers as F, withDirectives as et, vShow as gt, normalizeStyle as Y, vModelText as ft, createStaticVNode as fe, Transition as pt } from "vue";
2
2
  const C = (r, e) => {
3
3
  const t = r.__vccOpts || r;
4
4
  for (const [i, a] of e)
@@ -276,7 +276,7 @@ function St(r, e, t, i, a, s) {
276
276
  weight: t.weight
277
277
  }, {
278
278
  default: h(() => [
279
- m(p(t.label), 1)
279
+ m(f(t.label), 1)
280
280
  ]),
281
281
  _: 1
282
282
  }, 8, ["color", "hoverColor", "size", "weight"]),
@@ -462,7 +462,7 @@ function Ot(r, e, t, i, a, s) {
462
462
  weight: t.boldText ? "bold" : "normal"
463
463
  }, {
464
464
  default: h(() => [
465
- m(p(a.selectedItem), 1)
465
+ m(f(a.selectedItem), 1)
466
466
  ]),
467
467
  _: 1
468
468
  }, 8, ["weight"]),
@@ -475,13 +475,13 @@ function Ot(r, e, t, i, a, s) {
475
475
  ]),
476
476
  a.dropdownOpen ? (u(), g("div", zt, [
477
477
  n("ul", null, [
478
- (u(!0), g(I, null, z(t.items, (d, f) => (u(), g("li", {
478
+ (u(!0), g(I, null, z(t.items, (d, p) => (u(), g("li", {
479
479
  key: d,
480
480
  onClick: (b) => s.selectWeapon(d),
481
481
  class: S([
482
482
  "px-4 py-2 cursor-pointer hover:bg-hoverColor",
483
- f === 0 ? "rounded-t-lg" : "",
484
- f === t.items.length - 1 ? "rounded-b-lg" : ""
483
+ p === 0 ? "rounded-t-lg" : "",
484
+ p === t.items.length - 1 ? "rounded-b-lg" : ""
485
485
  ])
486
486
  }, [
487
487
  l(o, {
@@ -491,7 +491,7 @@ function Ot(r, e, t, i, a, s) {
491
491
  weight: "bold"
492
492
  }, {
493
493
  default: h(() => [
494
- m(p(d), 1)
494
+ m(f(d), 1)
495
495
  ]),
496
496
  _: 2
497
497
  }, 1024)
@@ -503,7 +503,7 @@ function Ot(r, e, t, i, a, s) {
503
503
  n("ul", null, [
504
504
  (u(!0), g(I, null, z(t.items, (d) => (u(), g("li", {
505
505
  key: d,
506
- onClick: (f) => s.selectWeapon(d),
506
+ onClick: (p) => s.selectWeapon(d),
507
507
  class: "px-4 py-2 cursor-pointer hover:bg-hoverColor"
508
508
  }, [
509
509
  l(o, {
@@ -513,7 +513,7 @@ function Ot(r, e, t, i, a, s) {
513
513
  weight: "bold"
514
514
  }, {
515
515
  default: h(() => [
516
- m(p(d), 1)
516
+ m(f(d), 1)
517
517
  ]),
518
518
  _: 2
519
519
  }, 1024)
@@ -582,7 +582,7 @@ function Qt(r, e, t, i, a, s) {
582
582
  color: "secondary"
583
583
  }, {
584
584
  default: h(() => [
585
- m(p(s.monthYear), 1)
585
+ m(f(s.monthYear), 1)
586
586
  ]),
587
587
  _: 1
588
588
  }),
@@ -606,7 +606,7 @@ function Qt(r, e, t, i, a, s) {
606
606
  color: "secondary"
607
607
  }, {
608
608
  default: h(() => [
609
- m(p(c), 1)
609
+ m(f(c), 1)
610
610
  ]),
611
611
  _: 2
612
612
  }, 1024)
@@ -618,7 +618,7 @@ function Qt(r, e, t, i, a, s) {
618
618
  }))), 128)),
619
619
  (u(!0), g(I, null, z(s.daysInMonth, (c, d) => (u(), g("div", {
620
620
  key: "day-" + c,
621
- onClick: (f) => s.dayClicked(c),
621
+ onClick: (p) => s.dayClicked(c),
622
622
  class: S(["flex justify-center items-center cursor-pointer p-2 rounded-full", {
623
623
  "bg-accent text-white": s.hasTournament(c),
624
624
  "hover:bg-gray-200": s.hasTournament(c),
@@ -632,7 +632,7 @@ function Qt(r, e, t, i, a, s) {
632
632
  color: "secondary"
633
633
  }, {
634
634
  default: h(() => [
635
- m(p(c), 1)
635
+ m(f(c), 1)
636
636
  ]),
637
637
  _: 2
638
638
  }, 1024)
@@ -688,22 +688,22 @@ function Jt(r, e, t, i) {
688
688
  return new (t || (t = Promise))(function(s, o) {
689
689
  function c(b) {
690
690
  try {
691
- f(i.next(b));
691
+ p(i.next(b));
692
692
  } catch (x) {
693
693
  o(x);
694
694
  }
695
695
  }
696
696
  function d(b) {
697
697
  try {
698
- f(i.throw(b));
698
+ p(i.throw(b));
699
699
  } catch (x) {
700
700
  o(x);
701
701
  }
702
702
  }
703
- function f(b) {
703
+ function p(b) {
704
704
  b.done ? s(b.value) : a(b.value).then(c, d);
705
705
  }
706
- f((i = i.apply(r, [])).next());
706
+ p((i = i.apply(r, [])).next());
707
707
  });
708
708
  }
709
709
  var Wt = function r(e, t) {
@@ -756,8 +756,8 @@ class te {
756
756
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
757
757
  * ```
758
758
  */
759
- constructor({ apiKey: e, authReferrerPolicy: t, channel: i, client: a, id: s = je, language: o, libraries: c = [], mapIds: d, nonce: f, region: b, retries: x = 3, url: v = "https://maps.googleapis.com/maps/api/js", version: k }) {
760
- if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = t, this.channel = i, this.client = a, this.id = s || je, this.language = o, this.libraries = c, this.mapIds = d, this.nonce = f, this.region = b, this.retries = x, this.url = v, this.version = k, te.instance) {
759
+ constructor({ apiKey: e, authReferrerPolicy: t, channel: i, client: a, id: s = je, language: o, libraries: c = [], mapIds: d, nonce: p, region: b, retries: x = 3, url: v = "https://maps.googleapis.com/maps/api/js", version: k }) {
760
+ if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = t, this.channel = i, this.client = a, this.id = s || je, this.language = o, this.libraries = c, this.mapIds = d, this.nonce = p, this.region = b, this.retries = x, this.url = v, this.version = k, te.instance) {
761
761
  if (!Wt(this.options, te.instance.options))
762
762
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(te.instance.options)}`);
763
763
  return te.instance;
@@ -854,7 +854,7 @@ class te {
854
854
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
855
855
  (s) => !i[s] && delete i[s]
856
856
  ), !((t = (e = window == null ? void 0 : window.google) === null || e === void 0 ? void 0 : e.maps) === null || t === void 0) && t.importLibrary || ((s) => {
857
- let o, c, d, f = "The Google Maps JavaScript API", b = "google", x = "importLibrary", v = "__ib__", k = document, A = window;
857
+ let o, c, d, p = "The Google Maps JavaScript API", b = "google", x = "importLibrary", v = "__ib__", k = document, A = window;
858
858
  A = A[b] || (A[b] = {});
859
859
  const T = A.maps || (A.maps = {}), B = /* @__PURE__ */ new Set(), N = new URLSearchParams(), P = () => (
860
860
  // @ts-ignore
@@ -863,10 +863,10 @@ class te {
863
863
  yield c = k.createElement("script"), c.id = this.id, N.set("libraries", [...B] + "");
864
864
  for (d in s)
865
865
  N.set(d.replace(/[A-Z]/g, (V) => "_" + V[0].toLowerCase()), s[d]);
866
- N.set("callback", b + ".maps." + v), c.src = this.url + "?" + N, T[v] = O, c.onerror = () => o = Q(Error(f + " could not load.")), c.nonce = this.nonce || ((D = k.querySelector("script[nonce]")) === null || D === void 0 ? void 0 : D.nonce) || "", k.head.append(c);
866
+ N.set("callback", b + ".maps." + v), c.src = this.url + "?" + N, T[v] = O, c.onerror = () => o = Q(Error(p + " could not load.")), c.nonce = this.nonce || ((D = k.querySelector("script[nonce]")) === null || D === void 0 ? void 0 : D.nonce) || "", k.head.append(c);
867
867
  })))
868
868
  );
869
- T[x] ? console.warn(f + " only loads once. Ignoring:", s) : T[x] = (O, ...Q) => B.add(O) && P().then(() => T[x](O, ...Q));
869
+ T[x] ? console.warn(p + " only loads once. Ignoring:", s) : T[x] = (O, ...Q) => B.add(O) && P().then(() => T[x](O, ...Q));
870
870
  })(i);
871
871
  const a = this.libraries.map((s) => this.importLibrary(s));
872
872
  a.length || a.push(this.importLibrary("core")), Promise.all(a).then(() => this.callback(), (s) => {
@@ -1231,7 +1231,7 @@ const Me = [
1231
1231
  }), setTimeout(d, 0));
1232
1232
  },
1233
1233
  { immediate: !0 }
1234
- ), f = () => {
1234
+ ), p = () => {
1235
1235
  try {
1236
1236
  const { apiKey: x, region: v, version: k, language: A, libraries: T, nonce: B } = r;
1237
1237
  Oe = new te({ apiKey: x, region: v, version: k, language: A, libraries: T, nonce: B });
@@ -1254,13 +1254,13 @@ const Me = [
1254
1254
  var P, O, Q;
1255
1255
  const { center: D, zoom: V, ...q } = c();
1256
1256
  (P = a.value) == null || P.setOptions(q), T !== void 0 && T !== N && ((O = a.value) == null || O.setZoom(T));
1257
- const fe = !B || A.lng !== B.lng || A.lat !== B.lat;
1258
- A && fe && ((Q = a.value) == null || Q.panTo(A));
1257
+ const pe = !B || A.lng !== B.lng || A.lat !== B.lat;
1258
+ A && pe && ((Q = a.value) == null || Q.panTo(A));
1259
1259
  }
1260
1260
  );
1261
1261
  };
1262
1262
  return Xe(() => {
1263
- r.apiPromise && r.apiPromise instanceof Promise ? r.apiPromise.then(b) : (f(), Oe.load().then(b));
1263
+ r.apiPromise && r.apiPromise instanceof Promise ? r.apiPromise.then(b) : (p(), Oe.load().then(b));
1264
1264
  }), se(() => {
1265
1265
  var x;
1266
1266
  o.value = !1, a.value && ((x = s.value) == null || x.event.clearInstanceListeners(a.value));
@@ -1334,8 +1334,8 @@ const Z = /* @__PURE__ */ er(tr), Re = ["click", "drag", "dragend", "dragstart",
1334
1334
  },
1335
1335
  emits: Re,
1336
1336
  setup(r, { emit: e, expose: t, slots: i }) {
1337
- const a = $(r, "options"), s = $(r, "pinOptions"), o = L(), c = R(oe, L()), d = R(ae, L()), f = R(Ie, L()), b = he(
1338
- () => !!(f.value && d.value && o.value instanceof google.maps.marker.AdvancedMarkerElement)
1337
+ const a = $(r, "options"), s = $(r, "pinOptions"), o = L(), c = R(oe, L()), d = R(ae, L()), p = R(Ie, L()), b = he(
1338
+ () => !!(p.value && d.value && o.value instanceof google.maps.marker.AdvancedMarkerElement)
1339
1339
  );
1340
1340
  return J(
1341
1341
  [c, a, s],
@@ -1350,9 +1350,9 @@ const Z = /* @__PURE__ */ er(tr), Re = ["click", "drag", "dragend", "dragstart",
1350
1350
  Object.assign(o.value, {
1351
1351
  content: s.value ? new Q(s.value).element : V,
1352
1352
  ...q
1353
- }), b.value && ((T = f.value) == null || T.removeMarker(o.value), (B = f.value) == null || B.addMarker(o.value));
1353
+ }), b.value && ((T = p.value) == null || T.removeMarker(o.value), (B = p.value) == null || B.addMarker(o.value));
1354
1354
  } else
1355
- s.value && (a.value.content = new Q(s.value).element), o.value = W(new O(a.value)), b.value ? (N = f.value) == null || N.addMarker(o.value) : o.value.map = c.value, Re.forEach((D) => {
1355
+ s.value && (a.value.content = new Q(s.value).element), o.value = W(new O(a.value)), b.value ? (N = p.value) == null || N.addMarker(o.value) : o.value.map = c.value, Re.forEach((D) => {
1356
1356
  var V;
1357
1357
  (V = o.value) == null || V.addListener(D, (q) => e(D, q));
1358
1358
  });
@@ -1362,7 +1362,7 @@ const Z = /* @__PURE__ */ er(tr), Re = ["click", "drag", "dragend", "dragstart",
1362
1362
  }
1363
1363
  ), se(() => {
1364
1364
  var x, v;
1365
- o.value && ((x = d.value) == null || x.event.clearInstanceListeners(o.value), b.value ? (v = f.value) == null || v.removeMarker(o.value) : o.value.map = null);
1365
+ o.value && ((x = d.value) == null || x.event.clearInstanceListeners(o.value), b.value ? (v = p.value) == null || v.removeMarker(o.value) : o.value.map = null);
1366
1366
  }), ie(Be, o), t({ marker: o }), () => {
1367
1367
  var x;
1368
1368
  return (x = i.default) == null ? void 0 : x.call(i);
@@ -1374,7 +1374,7 @@ const Z = /* @__PURE__ */ er(tr), Re = ["click", "drag", "dragend", "dragstart",
1374
1374
  );
1375
1375
  return J(
1376
1376
  [s, t],
1377
- (f, [b, x]) => {
1377
+ (p, [b, x]) => {
1378
1378
  var v, k, A;
1379
1379
  const T = !Z(t.value, x) || s.value !== b;
1380
1380
  !s.value || !o.value || !T || (a.value ? (a.value.setOptions(t.value), d.value && ((v = c.value) == null || v.removeMarker(a.value), (k = c.value) == null || k.addMarker(a.value))) : (sr(r) ? a.value = W(
@@ -1395,8 +1395,8 @@ const Z = /* @__PURE__ */ er(tr), Re = ["click", "drag", "dragend", "dragstart",
1395
1395
  immediate: !0
1396
1396
  }
1397
1397
  ), se(() => {
1398
- var f, b;
1399
- a.value && ((f = o.value) == null || f.event.clearInstanceListeners(a.value), d.value ? (b = c.value) == null || b.removeMarker(a.value) : a.value.setMap(null));
1398
+ var p, b;
1399
+ a.value && ((p = o.value) == null || p.event.clearInstanceListeners(a.value), d.value ? (b = c.value) == null || b.removeMarker(a.value) : a.value.setMap(null));
1400
1400
  }), a;
1401
1401
  }, De = [
1402
1402
  "animation_changed",
@@ -1517,19 +1517,19 @@ H({
1517
1517
  setup(r, { emit: e }) {
1518
1518
  const t = L(null), i = R(oe, L()), a = R(ae, L()), s = R(rt, L(!1)), o = J(
1519
1519
  [s, a, t],
1520
- ([f, b, x]) => {
1521
- b && f && x && (c(r.position), e("content:loaded"), setTimeout(o, 0));
1520
+ ([p, b, x]) => {
1521
+ b && p && x && (c(r.position), e("content:loaded"), setTimeout(o, 0));
1522
1522
  },
1523
1523
  { immediate: !0 }
1524
- ), c = (f) => {
1524
+ ), c = (p) => {
1525
1525
  if (i.value && a.value && t.value) {
1526
- const b = a.value.ControlPosition[f];
1526
+ const b = a.value.ControlPosition[p];
1527
1527
  i.value.controls[b].push(t.value);
1528
1528
  }
1529
- }, d = (f) => {
1529
+ }, d = (p) => {
1530
1530
  if (i.value && a.value) {
1531
1531
  let b = null;
1532
- const x = a.value.ControlPosition[f];
1532
+ const x = a.value.ControlPosition[p];
1533
1533
  i.value.controls[x].forEach((v, k) => {
1534
1534
  v === t.value && (b = k);
1535
1535
  }), b !== null && i.value.controls[x].removeAt(b);
@@ -1537,13 +1537,13 @@ H({
1537
1537
  };
1538
1538
  return se(() => d(r.position)), J(
1539
1539
  () => r.position,
1540
- (f, b) => {
1541
- d(b), c(f);
1540
+ (p, b) => {
1541
+ d(b), c(p);
1542
1542
  }
1543
1543
  ), J(
1544
1544
  () => r.index,
1545
- (f) => {
1546
- f && t.value && (t.value.index = r.index);
1545
+ (p) => {
1546
+ p && t.value && (t.value.index = r.index);
1547
1547
  }
1548
1548
  ), { controlRef: t };
1549
1549
  }
@@ -1563,7 +1563,7 @@ H({
1563
1563
  emits: [...Ue, "update:modelValue"],
1564
1564
  setup(r, { slots: e, emit: t, expose: i }) {
1565
1565
  const a = L(), s = L(), o = R(oe, L()), c = R(ae, L()), d = R(Be, L());
1566
- let f, b = r.modelValue;
1566
+ let p, b = r.modelValue;
1567
1567
  const x = he(() => {
1568
1568
  var T;
1569
1569
  return (T = e.default) == null ? void 0 : T.call(e).some((B) => B.type !== $e);
@@ -1588,7 +1588,7 @@ H({
1588
1588
  ...B,
1589
1589
  content: x.value ? s.value : B.content
1590
1590
  })
1591
- ), d.value && (f = d.value.addListener("click", () => {
1591
+ ), d.value && (p = d.value.addListener("click", () => {
1592
1592
  k();
1593
1593
  })), (!d.value || b) && k(), Ue.forEach((D) => {
1594
1594
  var V;
@@ -1606,7 +1606,7 @@ H({
1606
1606
  );
1607
1607
  }), se(() => {
1608
1608
  var T;
1609
- f && f.remove(), a.value && ((T = c.value) == null || T.event.clearInstanceListeners(a.value), A());
1609
+ p && p.remove(), a.value && ((T = c.value) == null || T.event.clearInstanceListeners(a.value), A());
1610
1610
  }), i({ infoWindow: a, open: k, close: A }), { infoWindow: a, infoWindowRef: s, hasSlotContent: x, open: k, close: A };
1611
1611
  }
1612
1612
  });
@@ -1687,20 +1687,20 @@ class Ee {
1687
1687
  range(e, t, i, a) {
1688
1688
  if (!this._finished)
1689
1689
  throw new Error("Data not yet indexed - call index.finish().");
1690
- const { ids: s, coords: o, nodeSize: c } = this, d = [0, s.length - 1, 0], f = [];
1690
+ const { ids: s, coords: o, nodeSize: c } = this, d = [0, s.length - 1, 0], p = [];
1691
1691
  for (; d.length; ) {
1692
1692
  const b = d.pop() || 0, x = d.pop() || 0, v = d.pop() || 0;
1693
1693
  if (x - v <= c) {
1694
1694
  for (let B = v; B <= x; B++) {
1695
1695
  const N = o[2 * B], P = o[2 * B + 1];
1696
- N >= e && N <= i && P >= t && P <= a && f.push(s[B]);
1696
+ N >= e && N <= i && P >= t && P <= a && p.push(s[B]);
1697
1697
  }
1698
1698
  continue;
1699
1699
  }
1700
1700
  const k = v + x >> 1, A = o[2 * k], T = o[2 * k + 1];
1701
- A >= e && A <= i && T >= t && T <= a && f.push(s[k]), (b === 0 ? e <= A : t <= T) && (d.push(v), d.push(k - 1), d.push(1 - b)), (b === 0 ? i >= A : a >= T) && (d.push(k + 1), d.push(x), d.push(1 - b));
1701
+ A >= e && A <= i && T >= t && T <= a && p.push(s[k]), (b === 0 ? e <= A : t <= T) && (d.push(v), d.push(k - 1), d.push(1 - b)), (b === 0 ? i >= A : a >= T) && (d.push(k + 1), d.push(x), d.push(1 - b));
1702
1702
  }
1703
- return f;
1703
+ return p;
1704
1704
  }
1705
1705
  /**
1706
1706
  * Search the index for items within a given radius.
@@ -1712,16 +1712,16 @@ class Ee {
1712
1712
  within(e, t, i) {
1713
1713
  if (!this._finished)
1714
1714
  throw new Error("Data not yet indexed - call index.finish().");
1715
- const { ids: a, coords: s, nodeSize: o } = this, c = [0, a.length - 1, 0], d = [], f = i * i;
1715
+ const { ids: a, coords: s, nodeSize: o } = this, c = [0, a.length - 1, 0], d = [], p = i * i;
1716
1716
  for (; c.length; ) {
1717
1717
  const b = c.pop() || 0, x = c.pop() || 0, v = c.pop() || 0;
1718
1718
  if (x - v <= o) {
1719
1719
  for (let B = v; B <= x; B++)
1720
- Ve(s[2 * B], s[2 * B + 1], e, t) <= f && d.push(a[B]);
1720
+ Ve(s[2 * B], s[2 * B + 1], e, t) <= p && d.push(a[B]);
1721
1721
  continue;
1722
1722
  }
1723
1723
  const k = v + x >> 1, A = s[2 * k], T = s[2 * k + 1];
1724
- Ve(A, T, e, t) <= f && d.push(a[k]), (b === 0 ? e - i <= A : t - i <= T) && (c.push(v), c.push(k - 1), c.push(1 - b)), (b === 0 ? e + i >= A : t + i >= T) && (c.push(k + 1), c.push(x), c.push(1 - b));
1724
+ Ve(A, T, e, t) <= p && d.push(a[k]), (b === 0 ? e - i <= A : t - i <= T) && (c.push(v), c.push(k - 1), c.push(1 - b)), (b === 0 ? e + i >= A : t + i >= T) && (c.push(k + 1), c.push(x), c.push(1 - b));
1725
1725
  }
1726
1726
  return d;
1727
1727
  }
@@ -1735,7 +1735,7 @@ function ke(r, e, t, i, a, s) {
1735
1735
  function st(r, e, t, i, a, s) {
1736
1736
  for (; a > i; ) {
1737
1737
  if (a - i > 600) {
1738
- const f = a - i + 1, b = t - i + 1, x = Math.log(f), v = 0.5 * Math.exp(2 * x / 3), k = 0.5 * Math.sqrt(x * v * (f - v) / f) * (b - f / 2 < 0 ? -1 : 1), A = Math.max(i, Math.floor(t - b * v / f + k)), T = Math.min(a, Math.floor(t + (f - b) * v / f + k));
1738
+ const p = a - i + 1, b = t - i + 1, x = Math.log(p), v = 0.5 * Math.exp(2 * x / 3), k = 0.5 * Math.sqrt(x * v * (p - v) / p) * (b - p / 2 < 0 ? -1 : 1), A = Math.max(i, Math.floor(t - b * v / p + k)), T = Math.min(a, Math.floor(t + (p - b) * v / p + k));
1739
1739
  st(r, e, t, A, T, s);
1740
1740
  }
1741
1741
  const o = e[2 * t + s];
@@ -1795,10 +1795,10 @@ class at {
1795
1795
  t && console.time(s), this.points = e;
1796
1796
  const o = [];
1797
1797
  for (let d = 0; d < e.length; d++) {
1798
- const f = e[d];
1799
- if (!f.geometry)
1798
+ const p = e[d];
1799
+ if (!p.geometry)
1800
1800
  continue;
1801
- const [b, x] = f.geometry.coordinates, v = He(be(b)), k = He(ye(x));
1801
+ const [b, x] = p.geometry.coordinates, v = He(be(b)), k = He(ye(x));
1802
1802
  o.push(
1803
1803
  v,
1804
1804
  k,
@@ -1816,8 +1816,8 @@ class at {
1816
1816
  let c = this.trees[a + 1] = this._createTree(o);
1817
1817
  t && console.timeEnd(s);
1818
1818
  for (let d = a; d >= i; d--) {
1819
- const f = +Date.now();
1820
- c = this.trees[d] = this._createTree(this._cluster(c, d)), t && console.log("z%d: %d clusters in %dms", d, c.numItems, +Date.now() - f);
1819
+ const p = +Date.now();
1820
+ c = this.trees[d] = this._createTree(this._cluster(c, d)), t && console.log("z%d: %d clusters in %dms", d, c.numItems, +Date.now() - p);
1821
1821
  }
1822
1822
  return t && console.timeEnd("total time"), this;
1823
1823
  }
@@ -1832,10 +1832,10 @@ class at {
1832
1832
  const x = this.getClusters([i, a, 180, o], t), v = this.getClusters([-180, a, s, o], t);
1833
1833
  return x.concat(v);
1834
1834
  }
1835
- const c = this.trees[this._limitZoom(t)], d = c.range(be(i), ye(o), be(s), ye(a)), f = c.data, b = [];
1835
+ const c = this.trees[this._limitZoom(t)], d = c.range(be(i), ye(o), be(s), ye(a)), p = c.data, b = [];
1836
1836
  for (const x of d) {
1837
1837
  const v = this.stride * x;
1838
- b.push(f[v + G] > 1 ? Je(f, v, this.clusterProps) : this.points[f[v + X]]);
1838
+ b.push(p[v + G] > 1 ? Je(p, v, this.clusterProps) : this.points[p[v + X]]);
1839
1839
  }
1840
1840
  return b;
1841
1841
  }
@@ -1846,7 +1846,7 @@ class at {
1846
1846
  const o = s.data;
1847
1847
  if (t * this.stride >= o.length)
1848
1848
  throw new Error(a);
1849
- const c = this.options.radius / (this.options.extent * Math.pow(2, i - 1)), d = o[t * this.stride], f = o[t * this.stride + 1], b = s.within(d, f, c), x = [];
1849
+ const c = this.options.radius / (this.options.extent * Math.pow(2, i - 1)), d = o[t * this.stride], p = o[t * this.stride + 1], b = s.within(d, p, c), x = [];
1850
1850
  for (const v of b) {
1851
1851
  const k = v * this.stride;
1852
1852
  o[k + Se] === e && x.push(o[k + G] > 1 ? Je(o, k, this.clusterProps) : this.points[o[k + X]]);
@@ -1861,25 +1861,25 @@ class at {
1861
1861
  return this._appendLeaves(a, e, t, i, 0), a;
1862
1862
  }
1863
1863
  getTile(e, t, i) {
1864
- const a = this.trees[this._limitZoom(e)], s = Math.pow(2, e), { extent: o, radius: c } = this.options, d = c / o, f = (i - d) / s, b = (i + 1 + d) / s, x = {
1864
+ const a = this.trees[this._limitZoom(e)], s = Math.pow(2, e), { extent: o, radius: c } = this.options, d = c / o, p = (i - d) / s, b = (i + 1 + d) / s, x = {
1865
1865
  features: []
1866
1866
  };
1867
1867
  return this._addTileFeatures(
1868
- a.range((t - d) / s, f, (t + 1 + d) / s, b),
1868
+ a.range((t - d) / s, p, (t + 1 + d) / s, b),
1869
1869
  a.data,
1870
1870
  t,
1871
1871
  i,
1872
1872
  s,
1873
1873
  x
1874
1874
  ), t === 0 && this._addTileFeatures(
1875
- a.range(1 - d / s, f, 1, b),
1875
+ a.range(1 - d / s, p, 1, b),
1876
1876
  a.data,
1877
1877
  s,
1878
1878
  i,
1879
1879
  s,
1880
1880
  x
1881
1881
  ), t === s - 1 && this._addTileFeatures(
1882
- a.range(0, f, d / s, b),
1882
+ a.range(0, p, d / s, b),
1883
1883
  a.data,
1884
1884
  -1,
1885
1885
  i,
@@ -1914,9 +1914,9 @@ class at {
1914
1914
  }
1915
1915
  _addTileFeatures(e, t, i, a, s, o) {
1916
1916
  for (const c of e) {
1917
- const d = c * this.stride, f = t[d + G] > 1;
1917
+ const d = c * this.stride, p = t[d + G] > 1;
1918
1918
  let b, x, v;
1919
- if (f)
1919
+ if (p)
1920
1920
  b = nt(t, d, this.clusterProps), x = t[d], v = t[d + 1];
1921
1921
  else {
1922
1922
  const T = this.points[t[d + X]];
@@ -1933,14 +1933,14 @@ class at {
1933
1933
  tags: b
1934
1934
  };
1935
1935
  let A;
1936
- f || this.options.generateId ? A = t[d + X] : A = this.points[t[d + X]].id, A !== void 0 && (k.id = A), o.features.push(k);
1936
+ p || this.options.generateId ? A = t[d + X] : A = this.points[t[d + X]].id, A !== void 0 && (k.id = A), o.features.push(k);
1937
1937
  }
1938
1938
  }
1939
1939
  _limitZoom(e) {
1940
1940
  return Math.max(this.options.minZoom, Math.min(Math.floor(+e), this.options.maxZoom + 1));
1941
1941
  }
1942
1942
  _cluster(e, t) {
1943
- const { radius: i, extent: a, reduce: s, minPoints: o } = this.options, c = i / (a * Math.pow(2, t)), d = e.data, f = [], b = this.stride;
1943
+ const { radius: i, extent: a, reduce: s, minPoints: o } = this.options, c = i / (a * Math.pow(2, t)), d = e.data, p = [], b = this.stride;
1944
1944
  for (let x = 0; x < d.length; x += b) {
1945
1945
  if (d[x + ee] <= t)
1946
1946
  continue;
@@ -1959,25 +1959,25 @@ class at {
1959
1959
  if (d[q + ee] <= t)
1960
1960
  continue;
1961
1961
  d[q + ee] = t;
1962
- const fe = d[q + G];
1963
- N += d[q] * fe, P += d[q + 1] * fe, d[q + Se] = D, s && (O || (O = this._map(d, x, !0), Q = this.clusterProps.length, this.clusterProps.push(O)), s(O, this._map(d, q)));
1962
+ const pe = d[q + G];
1963
+ N += d[q] * pe, P += d[q + 1] * pe, d[q + Se] = D, s && (O || (O = this._map(d, x, !0), Q = this.clusterProps.length, this.clusterProps.push(O)), s(O, this._map(d, q)));
1964
1964
  }
1965
- d[x + Se] = D, f.push(N / B, P / B, 1 / 0, D, -1, B), s && f.push(Q);
1965
+ d[x + Se] = D, p.push(N / B, P / B, 1 / 0, D, -1, B), s && p.push(Q);
1966
1966
  } else {
1967
1967
  for (let N = 0; N < b; N++)
1968
- f.push(d[x + N]);
1968
+ p.push(d[x + N]);
1969
1969
  if (B > 1)
1970
1970
  for (const N of A) {
1971
1971
  const P = N * b;
1972
1972
  if (!(d[P + ee] <= t)) {
1973
1973
  d[P + ee] = t;
1974
1974
  for (let O = 0; O < b; O++)
1975
- f.push(d[P + O]);
1975
+ p.push(d[P + O]);
1976
1976
  }
1977
1977
  }
1978
1978
  }
1979
1979
  }
1980
- return f;
1980
+ return p;
1981
1981
  }
1982
1982
  // get index of the point from which the cluster originated
1983
1983
  _getOriginId(e) {
@@ -2214,7 +2214,7 @@ class gr extends lt {
2214
2214
  });
2215
2215
  }
2216
2216
  }
2217
- class pr extends mr {
2217
+ class fr extends mr {
2218
2218
  constructor(e) {
2219
2219
  var { maxZoom: t, radius: i = 60, viewportPadding: a = 60 } = e, s = ze(e, ["maxZoom", "radius", "viewportPadding"]);
2220
2220
  super({ maxZoom: t, viewportPadding: a }), this.superCluster = new at(Object.assign({ maxZoom: this.maxZoom, radius: i }, s)), this.state = { zoom: -1, view: [0, 0, 0, 0] };
@@ -2262,7 +2262,7 @@ class pr extends mr {
2262
2262
  });
2263
2263
  }
2264
2264
  }
2265
- class fr {
2265
+ class pr {
2266
2266
  constructor(e, t) {
2267
2267
  this.markers = { sum: e.length };
2268
2268
  const i = t.map((s) => s.count), a = i.reduce((s, o) => s + o, 0);
@@ -2324,9 +2324,9 @@ class br {
2324
2324
  <text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${e}</text>
2325
2325
  </svg>`, o = `Cluster of ${e} markers`, c = Number(google.maps.Marker.MAX_ZINDEX) + e;
2326
2326
  if (M.isAdvancedMarkerAvailable(a)) {
2327
- const f = document.createElement("div");
2328
- f.innerHTML = s;
2329
- const b = f.firstElementChild;
2327
+ const p = document.createElement("div");
2328
+ p.innerHTML = s;
2329
+ const b = p.firstElementChild;
2330
2330
  b.setAttribute("transform", "translate(0 25)");
2331
2331
  const x = {
2332
2332
  map: a,
@@ -2424,7 +2424,7 @@ class wr extends Ne {
2424
2424
  this.markers.forEach((e) => M.setMap(e, null)), this.clusters.forEach((e) => e.delete()), this.clusters = [];
2425
2425
  }
2426
2426
  renderClusters() {
2427
- const e = new fr(this.markers, this.clusters), t = this.getMap();
2427
+ const e = new pr(this.markers, this.clusters), t = this.getMap();
2428
2428
  this.clusters.forEach((i) => {
2429
2429
  i.markers.length === 1 ? i.marker = i.markers[0] : (i.marker = this.renderer.render(i, e, t), i.markers.forEach((a) => M.setMap(a, null)), this.onClusterClick && i.marker.addListener(
2430
2430
  "click",
@@ -2456,12 +2456,12 @@ H({
2456
2456
  map: s.value,
2457
2457
  // Better perf than the default `SuperClusterAlgorithm`. See:
2458
2458
  // https://github.com/googlemaps/js-markerclusterer/pull/640
2459
- algorithm: new pr(r.options.algorithmOptions ?? {}),
2459
+ algorithm: new fr(r.options.algorithmOptions ?? {}),
2460
2460
  ...r.options
2461
2461
  })
2462
2462
  ), Ke.forEach((c) => {
2463
2463
  var d;
2464
- (d = a.value) == null || d.addListener(c, (f) => e(c, f));
2464
+ (d = a.value) == null || d.addListener(c, (p) => e(c, p));
2465
2465
  }));
2466
2466
  },
2467
2467
  {
@@ -2487,7 +2487,7 @@ H({
2487
2487
  setup(r, { slots: e, emit: t, expose: i }) {
2488
2488
  const a = L(), s = he(() => {
2489
2489
  var d;
2490
- return (d = e.default) == null ? void 0 : d.call(e).some((f) => f.type !== $e);
2490
+ return (d = e.default) == null ? void 0 : d.call(e).some((p) => p.type !== $e);
2491
2491
  }), o = he(() => ({
2492
2492
  ...r.options,
2493
2493
  element: a.value
@@ -2511,8 +2511,8 @@ H({
2511
2511
  [t, () => r.options],
2512
2512
  ([a, s], [o, c]) => {
2513
2513
  var d;
2514
- const f = !Z(s, c) || t.value !== o;
2515
- if (t.value && i.value && f) {
2514
+ const p = !Z(s, c) || t.value !== o;
2515
+ if (t.value && i.value && p) {
2516
2516
  const b = structuredClone(s);
2517
2517
  if (b.data && !(b.data instanceof i.value.MVCArray)) {
2518
2518
  const x = i.value.LatLng;
@@ -2562,22 +2562,33 @@ const vr = {
2562
2562
  }
2563
2563
  },
2564
2564
  data() {
2565
- return {
2566
- center: this.coordinates
2567
- };
2565
+ return {};
2566
+ },
2567
+ watch: {
2568
+ resolvedCenter: {
2569
+ deep: !0,
2570
+ handler(r) {
2571
+ var e;
2572
+ !r || !((e = this.$refs.gmap) != null && e.map) || this.$refs.gmap.map.setCenter({ lat: r.lat, lng: r.lng });
2573
+ }
2574
+ }
2568
2575
  },
2569
2576
  computed: {
2570
- resolvedCenter() {
2571
- return this.center || this.coordinates;
2572
- },
2573
2577
  mapClasses() {
2574
2578
  return this.isFullWidth ? "w-full h-80 mx-auto" : "w-72 h-80 mx-auto";
2579
+ },
2580
+ resolvedCenter() {
2581
+ return this.center ?? this.coordinates;
2582
+ },
2583
+ resolvedCenterKey() {
2584
+ const r = this.resolvedCenter;
2585
+ return r ? `${r.lat},${r.lng}` : "nocenter";
2575
2586
  }
2576
2587
  },
2577
2588
  methods: {
2578
2589
  openMap() {
2579
2590
  window.open(
2580
- `https://www.google.com/maps/search/?api=1&query=${this.center.lat},${this.center.lng}`,
2591
+ `https://www.google.com/maps/search/?api=1&query=${this.resolvedCenter.lat},${this.resolvedCenter.lng}`,
2581
2592
  "_blank"
2582
2593
  );
2583
2594
  }
@@ -2586,7 +2597,9 @@ const vr = {
2586
2597
  function Cr(r, e, t, i, a, s) {
2587
2598
  const o = y("AdvancedMarker"), c = y("GoogleMap");
2588
2599
  return u(), g("div", null, [
2589
- l(c, {
2600
+ (u(), E(c, {
2601
+ ref: "gmap",
2602
+ key: s.resolvedCenterKey,
2590
2603
  "api-key": t.apiKey,
2591
2604
  class: S(s.mapClasses),
2592
2605
  mapId: "M2-Map1",
@@ -2600,12 +2613,13 @@ function Cr(r, e, t, i, a, s) {
2600
2613
  onClick: e[0] || (e[0] = (d) => s.openMap())
2601
2614
  }, {
2602
2615
  default: h(() => [
2603
- l(o, {
2616
+ (u(), E(o, {
2617
+ key: s.resolvedCenterKey,
2604
2618
  options: { position: s.resolvedCenter }
2605
- }, null, 8, ["options"])
2619
+ }, null, 8, ["options"]))
2606
2620
  ]),
2607
2621
  _: 1
2608
- }, 8, ["api-key", "class", "center", "zoom"])
2622
+ }, 8, ["api-key", "class", "center", "zoom"]))
2609
2623
  ]);
2610
2624
  }
2611
2625
  const Sr = /* @__PURE__ */ C(vr, [["render", Cr]]), Ar = {
@@ -2682,9 +2696,9 @@ function Tr(r, e, t, i, a, s) {
2682
2696
  (u(!0), g(I, null, z(t.phases, (c, d) => (u(), g("div", {
2683
2697
  key: d,
2684
2698
  class: S(s.getPhaseClass(d)),
2685
- onMouseover: (f) => s.handleMouseOver(d),
2686
- onMouseout: e[0] || (e[0] = (...f) => s.handleMouseOut && s.handleMouseOut(...f)),
2687
- onClick: (f) => s.handlePhaseClick(d)
2699
+ onMouseover: (p) => s.handleMouseOver(d),
2700
+ onMouseout: e[0] || (e[0] = (...p) => s.handleMouseOut && s.handleMouseOut(...p)),
2701
+ onClick: (p) => s.handlePhaseClick(d)
2688
2702
  }, [
2689
2703
  n("div", {
2690
2704
  class: S(["flex flex-col items-center", { "hover:cursor-pointer": d <= t.currentPhase, "hover:cursor-default": d > t.currentPhase }])
@@ -2716,7 +2730,7 @@ function Tr(r, e, t, i, a, s) {
2716
2730
  }])
2717
2731
  }, {
2718
2732
  default: h(() => [
2719
- m(p(c.label), 1)
2733
+ m(f(c.label), 1)
2720
2734
  ]),
2721
2735
  _: 2
2722
2736
  }, 1032, ["weight", "class"])
@@ -2772,7 +2786,7 @@ function zr(r, e, t, i, a, s) {
2772
2786
  onClick: s.navigateToTournamentDetail
2773
2787
  }, {
2774
2788
  default: h(() => [
2775
- m(p(t.tournamentName), 1)
2789
+ m(f(t.tournamentName), 1)
2776
2790
  ]),
2777
2791
  _: 1
2778
2792
  }, 8, ["onClick"]),
@@ -2788,7 +2802,7 @@ function zr(r, e, t, i, a, s) {
2788
2802
  class: "pb-0.5 ml-4 mt-4 text-sm md:text-xl whitespace-nowrap"
2789
2803
  }, {
2790
2804
  default: h(() => [
2791
- m(p(t.eventName), 1)
2805
+ m(f(t.eventName), 1)
2792
2806
  ]),
2793
2807
  _: 1
2794
2808
  }),
@@ -2804,7 +2818,7 @@ function zr(r, e, t, i, a, s) {
2804
2818
  class: "pb-0.5 ml-4 mt-4 text-sm md:text-xl whitespace-nowrap"
2805
2819
  }, {
2806
2820
  default: h(() => [
2807
- m(p(t.currentStep), 1)
2821
+ m(f(t.currentStep), 1)
2808
2822
  ]),
2809
2823
  _: 1
2810
2824
  })
@@ -2814,7 +2828,7 @@ function zr(r, e, t, i, a, s) {
2814
2828
  class: "mt-2 mb-8 mx-2 md:mx-0 text-sm md:text-md pr-8 md:ml-0"
2815
2829
  }, {
2816
2830
  default: h(() => [
2817
- m(p(t.detailMessage), 1)
2831
+ m(f(t.detailMessage), 1)
2818
2832
  ]),
2819
2833
  _: 1
2820
2834
  })
@@ -2888,7 +2902,7 @@ function Dr(r, e, t, i, a, s) {
2888
2902
  weight: "bold"
2889
2903
  }, {
2890
2904
  default: h(() => [
2891
- m(p(s.fullName), 1)
2905
+ m(f(s.fullName), 1)
2892
2906
  ]),
2893
2907
  _: 1
2894
2908
  }),
@@ -2899,7 +2913,7 @@ function Dr(r, e, t, i, a, s) {
2899
2913
  class: "text-nowrap"
2900
2914
  }, {
2901
2915
  default: h(() => [
2902
- m(p(s.clubName), 1)
2916
+ m(f(s.clubName), 1)
2903
2917
  ]),
2904
2918
  _: 1
2905
2919
  })
@@ -2956,7 +2970,7 @@ function Jr(r, e, t, i, a, s) {
2956
2970
  weight: "bold"
2957
2971
  }, {
2958
2972
  default: h(() => [
2959
- m(p(s.fencer1Name), 1)
2973
+ m(f(s.fencer1Name), 1)
2960
2974
  ]),
2961
2975
  _: 1
2962
2976
  })
@@ -2980,7 +2994,7 @@ function Jr(r, e, t, i, a, s) {
2980
2994
  weight: "bold"
2981
2995
  }, {
2982
2996
  default: h(() => [
2983
- m(p(s.fencer2Name), 1)
2997
+ m(f(s.fencer2Name), 1)
2984
2998
  ]),
2985
2999
  _: 1
2986
3000
  })
@@ -3048,7 +3062,7 @@ function ts(r, e, t, i, a, s) {
3048
3062
  class: "font-sourceCodePro tracking-[0.03em] uppercase"
3049
3063
  }, {
3050
3064
  default: h(() => [
3051
- m(p(t.eventName), 1)
3065
+ m(f(t.eventName), 1)
3052
3066
  ]),
3053
3067
  _: 1
3054
3068
  })
@@ -3148,7 +3162,7 @@ function ls(r, e, t, i, a, s) {
3148
3162
  class: "text-nowrap overflow-hidden"
3149
3163
  }, {
3150
3164
  default: h(() => [
3151
- m(p(s.fullName), 1)
3165
+ m(f(s.fullName), 1)
3152
3166
  ]),
3153
3167
  _: 1
3154
3168
  })
@@ -3161,7 +3175,7 @@ function ls(r, e, t, i, a, s) {
3161
3175
  class: "text-nowrap -mt-1 overflow-hidden"
3162
3176
  }, {
3163
3177
  default: h(() => [
3164
- m(p(s.clubName), 1)
3178
+ m(f(s.clubName), 1)
3165
3179
  ]),
3166
3180
  _: 1
3167
3181
  })
@@ -3213,9 +3227,9 @@ const ds = /* @__PURE__ */ C(rs, [["render", ls]]), Le = "data:image/png;base64,
3213
3227
  beforeUnmount() {
3214
3228
  document.removeEventListener("click", this.handleClickOutside);
3215
3229
  }
3216
- }, us = { class: "border-b border-lineGrey w-full bg-primary m-0 z-10" }, ms = { class: "w-full hidden md:flex" }, hs = ["src"], gs = { class: "flex w-full items-center border-r border-l border-lineGrey" }, ps = { class: "hidden lg:flex w-1/3 pl-20 mb-3 mt-1" }, fs = { class: "ml-8 w-2/3 flex justify-around" }, bs = { class: "w-[150px] h-[150px] bg-primary flex-shrink-0 flex items-center justify-center" }, ys = { class: "w-full flex md:hidden fixed top-0 z-50 bg-primary" }, xs = { class: "py-2 px-6 flex justify-between w-full" }, ws = ["src"], vs = ["onClick"];
3230
+ }, us = { class: "border-b border-lineGrey w-full bg-primary m-0 z-10" }, ms = { class: "w-full hidden md:flex" }, hs = ["src"], gs = { class: "flex w-full items-center border-r border-l border-lineGrey" }, fs = { class: "hidden lg:flex w-1/3 pl-20 mb-3 mt-1" }, ps = { class: "ml-8 w-2/3 flex justify-around" }, bs = { class: "w-[150px] h-[150px] bg-primary flex-shrink-0 flex items-center justify-center" }, ys = { class: "w-full flex md:hidden fixed top-0 z-50 bg-primary" }, xs = { class: "py-2 px-6 flex justify-between w-full" }, ws = ["src"], vs = ["onClick"];
3217
3231
  function Cs(r, e, t, i, a, s) {
3218
- const o = y("SearchBox"), c = y("BaseText"), d = y("BaseButton"), f = y("Icon");
3232
+ const o = y("SearchBox"), c = y("BaseText"), d = y("BaseButton"), p = y("Icon");
3219
3233
  return u(), g("header", us, [
3220
3234
  n("section", ms, [
3221
3235
  n("div", {
@@ -3229,14 +3243,14 @@ function Cs(r, e, t, i, a, s) {
3229
3243
  }, null, 8, hs)
3230
3244
  ]),
3231
3245
  n("section", gs, [
3232
- n("div", ps, [
3246
+ n("div", fs, [
3233
3247
  l(o, {
3234
3248
  class: "w-24 md:w-32 lg:w-52 xl:w-64",
3235
3249
  "text-size": "text-xl",
3236
3250
  onSearch: s.onSearch
3237
3251
  }, null, 8, ["onSearch"])
3238
3252
  ]),
3239
- n("nav", fs, [
3253
+ n("nav", ps, [
3240
3254
  l(c, {
3241
3255
  color: "secondary",
3242
3256
  size: "xl",
@@ -3315,7 +3329,7 @@ function Cs(r, e, t, i, a, s) {
3315
3329
  class: "h-6 w-9",
3316
3330
  onClick: e[6] || (e[6] = (b) => s.handlePageChange("Home"))
3317
3331
  }, null, 8, ws),
3318
- l(f, {
3332
+ l(p, {
3319
3333
  icon: "fa-bars",
3320
3334
  color: "secondary",
3321
3335
  size: "xl",
@@ -3343,11 +3357,11 @@ function Cs(r, e, t, i, a, s) {
3343
3357
  class: "mt-0"
3344
3358
  }, {
3345
3359
  default: h(() => [
3346
- m(p(b.label), 1)
3360
+ m(f(b.label), 1)
3347
3361
  ]),
3348
3362
  _: 2
3349
3363
  }, 1024),
3350
- l(f, {
3364
+ l(p, {
3351
3365
  icon: b.icon,
3352
3366
  type: "fa-solid",
3353
3367
  size: "sm",
@@ -3394,10 +3408,10 @@ function Ts(r, e, t, i, a, s) {
3394
3408
  tag: "p",
3395
3409
  weight: "normal",
3396
3410
  class: S(["mr-10 border-b-2 hover:border-accent pb-2 duration-300 ease-in-out text-sm md:text-lg", a.selectedTab === d ? "border-accent" : "border-white"]),
3397
- onClick: (f) => s.selectTab(d)
3411
+ onClick: (p) => s.selectTab(d)
3398
3412
  }, {
3399
3413
  default: h(() => [
3400
- m(p(c.label), 1)
3414
+ m(f(c.label), 1)
3401
3415
  ]),
3402
3416
  _: 2
3403
3417
  }, 1032, ["class", "onClick"])
@@ -3415,7 +3429,14 @@ const jm = /* @__PURE__ */ C(As, [["render", Ts]]), Bs = {
3415
3429
  },
3416
3430
  address: {
3417
3431
  type: [String, Object],
3418
- default: { Name: "Test Location", City: "Delaware", State: "OH", Address1: "123 Anywhere", Zip: 43015, Coordinates: "40.2828592,-83.1118049" }
3432
+ default: {
3433
+ Name: "Test Location",
3434
+ City: "Delaware",
3435
+ State: "OH",
3436
+ Address1: "123 Anywhere",
3437
+ Zip: 43015,
3438
+ Coordinates: "39.972096,-83.0011635"
3439
+ }
3419
3440
  },
3420
3441
  organizerPortrait: {
3421
3442
  type: String,
@@ -3439,9 +3460,14 @@ const jm = /* @__PURE__ */ C(As, [["render", Ts]]), Bs = {
3439
3460
  }
3440
3461
  },
3441
3462
  computed: {
3442
- getCordinates() {
3443
- const [r, e] = this.address.Coordinates.split(",").map(Number);
3444
- return { lat: r, lng: e };
3463
+ coordinates() {
3464
+ const r = this.address && this.address.Coordinates;
3465
+ if (!r) return null;
3466
+ const [e, t] = String(r).split(",").map(Number);
3467
+ return !Number.isFinite(e) || !Number.isFinite(t) ? null : { lat: e, lng: t };
3468
+ },
3469
+ coordinatesKey() {
3470
+ return this.address && this.address.Coordinates ? String(this.address.Coordinates) : "no-coords";
3445
3471
  }
3446
3472
  },
3447
3473
  methods: {
@@ -3451,7 +3477,7 @@ const jm = /* @__PURE__ */ C(As, [["render", Ts]]), Bs = {
3451
3477
  }
3452
3478
  }, Is = { class: "md:w-80 m-2 flex flex-col mb-20" }, Es = { class: "bg-white p-4 rounded-lg" }, zs = { class: "flex flex-col space-y-4" }, Ns = { class: "flex items-center" }, Ls = ["src"], Ps = { class: "pl-2" }, js = { class: "flex justify-between space-x-8 w-full px-4" }, Os = { class: "flex items-center space-x-2" }, Ms = { class: "flex items-center space-x-2" }, Rs = { class: "flex justify-center" }, Ds = { class: "mt-10 bg-white p-4 rounded-lg" }, qs = { class: "flex mb-4" }, Fs = { class: "mr-3" };
3453
3479
  function Us(r, e, t, i, a, s) {
3454
- const o = y("BaseText"), c = y("Icon"), d = y("BaseButton"), f = y("Mapbox");
3480
+ const o = y("BaseText"), c = y("Icon"), d = y("BaseButton"), p = y("Mapbox");
3455
3481
  return u(), g("aside", Is, [
3456
3482
  n("section", Es, [
3457
3483
  n("div", zs, [
@@ -3480,7 +3506,7 @@ function Us(r, e, t, i, a, s) {
3480
3506
  class: "mt-1"
3481
3507
  }, {
3482
3508
  default: h(() => [
3483
- m(p(t.organizerName), 1)
3509
+ m(f(t.organizerName), 1)
3484
3510
  ]),
3485
3511
  _: 1
3486
3512
  })
@@ -3498,7 +3524,7 @@ function Us(r, e, t, i, a, s) {
3498
3524
  size: "sm"
3499
3525
  }, {
3500
3526
  default: h(() => [
3501
- m(p(t.fencersGoing) + " Going", 1)
3527
+ m(f(t.fencersGoing) + " Going", 1)
3502
3528
  ]),
3503
3529
  _: 1
3504
3530
  })
@@ -3514,7 +3540,7 @@ function Us(r, e, t, i, a, s) {
3514
3540
  size: "sm"
3515
3541
  }, {
3516
3542
  default: h(() => [
3517
- m(p(t.bookmarksCount) + " Bookmarked", 1)
3543
+ m(f(t.bookmarksCount) + " Bookmarked", 1)
3518
3544
  ]),
3519
3545
  _: 1
3520
3546
  })
@@ -3551,7 +3577,7 @@ function Us(r, e, t, i, a, s) {
3551
3577
  class: ""
3552
3578
  }, {
3553
3579
  default: h(() => [
3554
- m(p(t.address.Name), 1)
3580
+ m(f(t.address.Name), 1)
3555
3581
  ]),
3556
3582
  _: 1
3557
3583
  }),
@@ -3562,16 +3588,17 @@ function Us(r, e, t, i, a, s) {
3562
3588
  class: ""
3563
3589
  }, {
3564
3590
  default: h(() => [
3565
- m(p(t.address.Address1) + ", " + p(t.address.City) + " " + p(t.address.State), 1)
3591
+ m(f(t.address.Address1) + ", " + f(t.address.City) + " " + f(t.address.State), 1)
3566
3592
  ]),
3567
3593
  _: 1
3568
3594
  })
3569
3595
  ])
3570
3596
  ]),
3571
- l(f, {
3597
+ s.coordinates ? (u(), E(p, {
3572
3598
  apiKey: t.apiKey,
3573
- coordinates: s.getCordinates
3574
- }, null, 8, ["apiKey", "coordinates"])
3599
+ coordinates: s.coordinates,
3600
+ key: s.coordinatesKey
3601
+ }, null, 8, ["apiKey", "coordinates"])) : w("", !0)
3575
3602
  ])
3576
3603
  ]);
3577
3604
  }
@@ -3631,7 +3658,7 @@ function Ys(r, e, t, i, a, s) {
3631
3658
  placeholder: "By Name",
3632
3659
  color: "secondary",
3633
3660
  modelValue: a.searchQuery,
3634
- "onUpdate:modelValue": e[0] || (e[0] = (f) => a.searchQuery = f),
3661
+ "onUpdate:modelValue": e[0] || (e[0] = (p) => a.searchQuery = p),
3635
3662
  class: "px-2 py-1 focus:outline-none placeholder:text-sm lg:placeholder:text-sm w-full",
3636
3663
  onInput: s.selectSearch
3637
3664
  }, null, 8, ["modelValue", "onInput"])
@@ -3723,7 +3750,7 @@ function eo(r, e, t, i, a, s) {
3723
3750
  n("nav", $s, [
3724
3751
  (u(!0), g(I, null, z(t.filters, (d) => (u(), E(o, {
3725
3752
  key: d,
3726
- onClick: (f) => s.onFilterSelect(d),
3753
+ onClick: (p) => s.onFilterSelect(d),
3727
3754
  class: S(["cursor-pointer border-b-2 pb-1 duration-300 ease-in-out px-4 md:p-0", {
3728
3755
  "border-accent": a.selectedFilter === d,
3729
3756
  "hover:border-accent": a.selectedFilter !== d,
@@ -3735,7 +3762,7 @@ function eo(r, e, t, i, a, s) {
3735
3762
  weight: "bold"
3736
3763
  }, {
3737
3764
  default: h(() => [
3738
- m(p(d), 1)
3765
+ m(f(d), 1)
3739
3766
  ]),
3740
3767
  _: 2
3741
3768
  }, 1032, ["onClick", "class"]))), 128)),
@@ -3981,7 +4008,7 @@ const mo = /* @__PURE__ */ C(ro, [["render", uo], ["__scopeId", "data-v-07413d1f
3981
4008
  this.isMobile = window.innerWidth < 768;
3982
4009
  }
3983
4010
  }
3984
- }, go = { class: "relative w-full md:border-b md:border-l md:border-r border-lineGrey" }, po = ["src"], fo = { class: "hidden w-full md:flex absolute inset-0 justify-between items-end" }, bo = { class: "w-1/2 p-4 bg-opacity-50 rounded-lg" }, yo = { class: "flex justify-between mb-4 w-full" }, xo = { class: "flex items-center space-x-4 w-1/2" }, wo = ["src"], vo = {
4011
+ }, go = { class: "relative w-full md:border-b md:border-l md:border-r border-lineGrey" }, fo = ["src"], po = { class: "hidden w-full md:flex absolute inset-0 justify-between items-end" }, bo = { class: "w-1/2 p-4 bg-opacity-50 rounded-lg" }, yo = { class: "flex justify-between mb-4 w-full" }, xo = { class: "flex items-center space-x-4 w-1/2" }, wo = ["src"], vo = {
3985
4012
  key: 1,
3986
4013
  class: "flex justify-center text-left w-full px-6 mt-12"
3987
4014
  }, Co = { class: "w-full" }, So = { class: "md:hidden w-full flex justify-center mt-10" }, Ao = { class: "w-full md:w-2/3 flex-col justify-center pl-2" }, ko = { class: "flex" };
@@ -4001,8 +4028,8 @@ function _o(r, e, t, i, a, s) {
4001
4028
  alt: "Hero Image",
4002
4029
  class: S(["w-full h-full object-cover object-top", t.bannerImageHeight]),
4003
4030
  loading: "lazy"
4004
- }, null, 10, po)),
4005
- n("section", fo, [
4031
+ }, null, 10, fo)),
4032
+ n("section", po, [
4006
4033
  n("div", bo, [
4007
4034
  l(o, {
4008
4035
  color: "secondary",
@@ -4012,7 +4039,7 @@ function _o(r, e, t, i, a, s) {
4012
4039
  class: "mb-2"
4013
4040
  }, {
4014
4041
  default: h(() => [
4015
- m(p(s.formattedDate), 1)
4042
+ m(f(s.formattedDate), 1)
4016
4043
  ]),
4017
4044
  _: 1
4018
4045
  }),
@@ -4024,7 +4051,7 @@ function _o(r, e, t, i, a, s) {
4024
4051
  class: "mb-4"
4025
4052
  }, {
4026
4053
  default: h(() => [
4027
- m(p(t.title), 1)
4054
+ m(f(t.title), 1)
4028
4055
  ]),
4029
4056
  _: 1
4030
4057
  }),
@@ -4056,7 +4083,7 @@ function _o(r, e, t, i, a, s) {
4056
4083
  weight: "bold"
4057
4084
  }, {
4058
4085
  default: h(() => [
4059
- m(p(t.hostingClubName), 1)
4086
+ m(f(t.hostingClubName), 1)
4060
4087
  ]),
4061
4088
  _: 1
4062
4089
  })
@@ -4076,7 +4103,7 @@ function _o(r, e, t, i, a, s) {
4076
4103
  class: "mb-2"
4077
4104
  }, {
4078
4105
  default: h(() => [
4079
- m(p(s.formattedDate), 1)
4106
+ m(f(s.formattedDate), 1)
4080
4107
  ]),
4081
4108
  _: 1
4082
4109
  }),
@@ -4088,7 +4115,7 @@ function _o(r, e, t, i, a, s) {
4088
4115
  class: "mb-2"
4089
4116
  }, {
4090
4117
  default: h(() => [
4091
- m(p(t.title), 1)
4118
+ m(f(t.title), 1)
4092
4119
  ]),
4093
4120
  _: 1
4094
4121
  })
@@ -4107,7 +4134,7 @@ function _o(r, e, t, i, a, s) {
4107
4134
  class: ""
4108
4135
  }, {
4109
4136
  default: h(() => [
4110
- m(p(s.formattedDate), 1)
4137
+ m(f(s.formattedDate), 1)
4111
4138
  ]),
4112
4139
  _: 1
4113
4140
  }),
@@ -4119,7 +4146,7 @@ function _o(r, e, t, i, a, s) {
4119
4146
  class: "mb-1"
4120
4147
  }, {
4121
4148
  default: h(() => [
4122
- m(p(t.title), 1)
4149
+ m(f(t.title), 1)
4123
4150
  ]),
4124
4151
  _: 1
4125
4152
  }),
@@ -4144,7 +4171,7 @@ function _o(r, e, t, i, a, s) {
4144
4171
  weight: "bold"
4145
4172
  }, {
4146
4173
  default: h(() => [
4147
- m(p(t.hostingClubName), 1)
4174
+ m(f(t.hostingClubName), 1)
4148
4175
  ]),
4149
4176
  _: 1
4150
4177
  })
@@ -4242,7 +4269,7 @@ function Po(r, e, t, i, a, s) {
4242
4269
  class: "mb-4"
4243
4270
  }, {
4244
4271
  default: h(() => [
4245
- m(p(t.title), 1)
4272
+ m(f(t.title), 1)
4246
4273
  ]),
4247
4274
  _: 1
4248
4275
  }),
@@ -4266,7 +4293,7 @@ function Po(r, e, t, i, a, s) {
4266
4293
  class: "mb-0 w-1/2"
4267
4294
  }, {
4268
4295
  default: h(() => [
4269
- m(p(t.title), 1)
4296
+ m(f(t.title), 1)
4270
4297
  ]),
4271
4298
  _: 1
4272
4299
  }),
@@ -4278,7 +4305,7 @@ function Po(r, e, t, i, a, s) {
4278
4305
  class: "w-6/12 mt-1 mb-1"
4279
4306
  }, {
4280
4307
  default: h(() => [
4281
- m(p(t.description), 1)
4308
+ m(f(t.description), 1)
4282
4309
  ]),
4283
4310
  _: 1
4284
4311
  })
@@ -4404,7 +4431,7 @@ function Mo(r, e, t, i, a, s) {
4404
4431
  class: "mt-1 block w-full h-52 p-2 border border-secondary rounded-md focus:ring-accent focus:border-accent resize-none placeholder-primary",
4405
4432
  placeholder: "Enter your message"
4406
4433
  }, null, 512), [
4407
- [pt, a.formData.message]
4434
+ [ft, a.formData.message]
4408
4435
  ])
4409
4436
  ]),
4410
4437
  e[9] || (e[9] = n("div", { class: "flex justify-end" }, [
@@ -4605,7 +4632,7 @@ const dt = /* @__PURE__ */ C(Ro, [["render", qo], ["__scopeId", "data-v-22381b4e
4605
4632
  class: "w-full flex justify-center pb-28 pt-10 md:pt-14"
4606
4633
  };
4607
4634
  function Jo(r, e, t, i, a, s) {
4608
- const o = y("BaseText"), c = y("Icon"), d = y("Tooltip"), f = y("BaseButton");
4635
+ const o = y("BaseText"), c = y("Icon"), d = y("Tooltip"), p = y("BaseButton");
4609
4636
  return u(), g("section", {
4610
4637
  class: S(t.topBoxClass)
4611
4638
  }, [
@@ -4624,7 +4651,7 @@ function Jo(r, e, t, i, a, s) {
4624
4651
  weight: "bold"
4625
4652
  }, {
4626
4653
  default: h(() => [
4627
- m(p(t.title), 1)
4654
+ m(f(t.title), 1)
4628
4655
  ]),
4629
4656
  _: 1
4630
4657
  }),
@@ -4638,7 +4665,7 @@ function Jo(r, e, t, i, a, s) {
4638
4665
  class: "mt-2"
4639
4666
  }, {
4640
4667
  default: h(() => [
4641
- m(p(t.description), 1)
4668
+ m(f(t.description), 1)
4642
4669
  ]),
4643
4670
  _: 1
4644
4671
  })) : w("", !0),
@@ -4693,7 +4720,7 @@ function Jo(r, e, t, i, a, s) {
4693
4720
  class: "w-full flex justify-center mt-4"
4694
4721
  }, {
4695
4722
  default: h(() => [
4696
- m(p(t.noResultsMsg), 1)
4723
+ m(f(t.noResultsMsg), 1)
4697
4724
  ]),
4698
4725
  _: 1
4699
4726
  })
@@ -4702,7 +4729,7 @@ function Jo(r, e, t, i, a, s) {
4702
4729
  ], 2)
4703
4730
  ], 2),
4704
4731
  !t.whiteStyle && t.moreButtonLabel ? (u(), g("div", Ho, [
4705
- l(f, {
4732
+ l(p, {
4706
4733
  backgroundColor: "secondary",
4707
4734
  border: "primary",
4708
4735
  size: "xs",
@@ -4720,7 +4747,7 @@ const ct = /* @__PURE__ */ C(Fo, [["render", Jo]]), Wo = {
4720
4747
  }, Ko = { class: "flex items-center p-4 border-b last:border-b-0 animate-pulse w-full" };
4721
4748
  function Yo(r, e, t, i, a, s) {
4722
4749
  return u(), g("section", Ko, e[0] || (e[0] = [
4723
- pe('<div class="w-[50px] h-[50px] md:w-[70px] md:h-[70px] rounded-full bg-gray-300 mr-4 flex-shrink-0"></div><div class="flex flex-col flex-grow"><div class="hidden md:flex flex-col"><div class="w-44 h-7 bg-gray-300 rounded mb-2"></div><div class="w-64 h-4 bg-gray-300 rounded"></div></div><div class="flex md:hidden flex-col"><div class="w-1/2 h-4 bg-gray-300 rounded mb-1"></div><div class="w-1/2 h-3 bg-gray-300 rounded"></div></div></div><div class="flex items-center ml-4"><div class="hidden md:flex flex-col items-end"><div class="flex mb-1 justify-between"><div class="w-20 h-6 bg-gray-300 rounded mr-1"></div></div><div class="flex mb-1 justify-between"><div class="w-20 h-6 bg-gray-300 rounded mr-1"></div></div></div><div class="flex md:hidden flex-col items-end"><div class="flex mb-1"><div class="w-10 h-3 bg-gray-300 rounded mr-1"></div></div></div></div>', 3)
4750
+ fe('<div class="w-[50px] h-[50px] md:w-[70px] md:h-[70px] rounded-full bg-gray-300 mr-4 flex-shrink-0"></div><div class="flex flex-col flex-grow"><div class="hidden md:flex flex-col"><div class="w-44 h-7 bg-gray-300 rounded mb-2"></div><div class="w-64 h-4 bg-gray-300 rounded"></div></div><div class="flex md:hidden flex-col"><div class="w-1/2 h-4 bg-gray-300 rounded mb-1"></div><div class="w-1/2 h-3 bg-gray-300 rounded"></div></div></div><div class="flex items-center ml-4"><div class="hidden md:flex flex-col items-end"><div class="flex mb-1 justify-between"><div class="w-20 h-6 bg-gray-300 rounded mr-1"></div></div><div class="flex mb-1 justify-between"><div class="w-20 h-6 bg-gray-300 rounded mr-1"></div></div></div><div class="flex md:hidden flex-col items-end"><div class="flex mb-1"><div class="w-10 h-3 bg-gray-300 rounded mr-1"></div></div></div></div>', 3)
4724
4751
  ]));
4725
4752
  }
4726
4753
  const Zo = /* @__PURE__ */ C(Wo, [["render", Yo]]), Go = {
@@ -4814,7 +4841,7 @@ function ua(r, e, t, i, a, s) {
4814
4841
  class: "text-white"
4815
4842
  }, {
4816
4843
  default: h(() => [
4817
- m(p(s.Position), 1)
4844
+ m(f(s.Position), 1)
4818
4845
  ]),
4819
4846
  _: 1
4820
4847
  })
@@ -4827,7 +4854,7 @@ function ua(r, e, t, i, a, s) {
4827
4854
  weight: "bold"
4828
4855
  }, {
4829
4856
  default: h(() => [
4830
- m(p(s.displayName), 1)
4857
+ m(f(s.displayName), 1)
4831
4858
  ]),
4832
4859
  _: 1
4833
4860
  }),
@@ -4837,7 +4864,7 @@ function ua(r, e, t, i, a, s) {
4837
4864
  weight: "normal"
4838
4865
  }, {
4839
4866
  default: h(() => [
4840
- m(p(s.clubName), 1)
4867
+ m(f(s.clubName), 1)
4841
4868
  ]),
4842
4869
  _: 1
4843
4870
  })
@@ -4849,7 +4876,7 @@ function ua(r, e, t, i, a, s) {
4849
4876
  weight: "bold"
4850
4877
  }, {
4851
4878
  default: h(() => [
4852
- m(p(s.displayName), 1)
4879
+ m(f(s.displayName), 1)
4853
4880
  ]),
4854
4881
  _: 1
4855
4882
  }),
@@ -4859,7 +4886,7 @@ function ua(r, e, t, i, a, s) {
4859
4886
  weight: "normal"
4860
4887
  }, {
4861
4888
  default: h(() => [
4862
- m(p(s.clubName), 1)
4889
+ m(f(s.clubName), 1)
4863
4890
  ]),
4864
4891
  _: 1
4865
4892
  })
@@ -4887,7 +4914,7 @@ function ua(r, e, t, i, a, s) {
4887
4914
  class: "text-accent ml-2"
4888
4915
  }, {
4889
4916
  default: h(() => [
4890
- m(p(s.m2Rating), 1)
4917
+ m(f(s.m2Rating), 1)
4891
4918
  ]),
4892
4919
  _: 1
4893
4920
  })
@@ -4912,7 +4939,7 @@ function ua(r, e, t, i, a, s) {
4912
4939
  class: "text-accent ml-2"
4913
4940
  }, {
4914
4941
  default: h(() => [
4915
- m(p(s.HEMARating), 1)
4942
+ m(f(s.HEMARating), 1)
4916
4943
  ]),
4917
4944
  _: 1
4918
4945
  })
@@ -4939,7 +4966,7 @@ function ua(r, e, t, i, a, s) {
4939
4966
  class: "text-accent ml-2"
4940
4967
  }, {
4941
4968
  default: h(() => [
4942
- m(p(s.m2Rating), 1)
4969
+ m(f(s.m2Rating), 1)
4943
4970
  ]),
4944
4971
  _: 1
4945
4972
  })
@@ -4964,7 +4991,7 @@ function ua(r, e, t, i, a, s) {
4964
4991
  class: "text-accent ml-2"
4965
4992
  }, {
4966
4993
  default: h(() => [
4967
- m(p(s.HEMARating), 1)
4994
+ m(f(s.HEMARating), 1)
4968
4995
  ]),
4969
4996
  _: 1
4970
4997
  })
@@ -5031,9 +5058,9 @@ const Ye = /* @__PURE__ */ C(Go, [["render", ua]]), ma = {
5031
5058
  })).sort((t, i) => t.PoolPosition - i.PoolPosition);
5032
5059
  }
5033
5060
  }
5034
- }, ha = { class: "w-full rounded-lg" }, ga = { class: "max-w-[1200px] w-full flex justify-between mx-auto py-4 md:py-8 pl-4 pr-4 rounded-tr-lg rounded-tl-lg" }, pa = { class: "flex" }, fa = { class: "max-w-[1200px] md:w-full flex mx-2 md:mx-auto pt-4 pb-4 pl-4 bg-white rounded-tr-lg rounded-tl-lg" };
5061
+ }, ha = { class: "w-full rounded-lg" }, ga = { class: "max-w-[1200px] w-full flex justify-between mx-auto py-4 md:py-8 pl-4 pr-4 rounded-tr-lg rounded-tl-lg" }, fa = { class: "flex" }, pa = { class: "max-w-[1200px] md:w-full flex mx-2 md:mx-auto pt-4 pb-4 pl-4 bg-white rounded-tr-lg rounded-tl-lg" };
5035
5062
  function ba(r, e, t, i, a, s) {
5036
- const o = y("BaseText"), c = y("Icon"), d = y("Tooltip"), f = y("GridLayout");
5063
+ const o = y("BaseText"), c = y("Icon"), d = y("Tooltip"), p = y("GridLayout");
5037
5064
  return u(), g("div", ha, [
5038
5065
  n("div", ga, [
5039
5066
  l(o, {
@@ -5044,11 +5071,11 @@ function ba(r, e, t, i, a, s) {
5044
5071
  class: "text-sm md:text-xl"
5045
5072
  }, {
5046
5073
  default: h(() => [
5047
- m(p(`Fencers in ${s.currentPool}`), 1)
5074
+ m(f(`Fencers in ${s.currentPool}`), 1)
5048
5075
  ]),
5049
5076
  _: 1
5050
5077
  }),
5051
- n("div", pa, [
5078
+ n("div", fa, [
5052
5079
  l(o, {
5053
5080
  color: "primary",
5054
5081
  size: "",
@@ -5057,7 +5084,7 @@ function ba(r, e, t, i, a, s) {
5057
5084
  class: "text-sm md:text-xl"
5058
5085
  }, {
5059
5086
  default: h(() => [
5060
- m(p(`${s.currentPoolStrength} Strength Indicator`), 1)
5087
+ m(f(`${s.currentPoolStrength} Strength Indicator`), 1)
5061
5088
  ]),
5062
5089
  _: 1
5063
5090
  }),
@@ -5078,7 +5105,7 @@ function ba(r, e, t, i, a, s) {
5078
5105
  }, 8, ["text"])
5079
5106
  ])
5080
5107
  ]),
5081
- n("div", fa, [
5108
+ n("div", pa, [
5082
5109
  (u(!0), g(I, null, z(t.pools, (b, x) => (u(), g("span", {
5083
5110
  key: b.PoolId
5084
5111
  }, [
@@ -5092,13 +5119,13 @@ function ba(r, e, t, i, a, s) {
5092
5119
  onClick: (v) => s.selectTab(x)
5093
5120
  }, {
5094
5121
  default: h(() => [
5095
- m(p(b.Name), 1)
5122
+ m(f(b.Name), 1)
5096
5123
  ]),
5097
5124
  _: 2
5098
5125
  }, 1032, ["class", "onClick"])
5099
5126
  ]))), 128))
5100
5127
  ]),
5101
- l(f, {
5128
+ l(p, {
5102
5129
  cardComponent: s.FencerListCard,
5103
5130
  items: s.mappedPersons,
5104
5131
  maxColumns: 1,
@@ -5207,7 +5234,7 @@ function Ia(r, e, t, i, a, s) {
5207
5234
  color: "primary"
5208
5235
  }, {
5209
5236
  default: h(() => [
5210
- m(p(t.bout.customStatus), 1)
5237
+ m(f(t.bout.customStatus), 1)
5211
5238
  ]),
5212
5239
  _: 1
5213
5240
  })
@@ -5234,7 +5261,7 @@ function Ia(r, e, t, i, a, s) {
5234
5261
  weight: "bold"
5235
5262
  }, {
5236
5263
  default: h(() => [
5237
- m(p(s.fencer1Name), 1)
5264
+ m(f(s.fencer1Name), 1)
5238
5265
  ]),
5239
5266
  _: 1
5240
5267
  }),
@@ -5243,7 +5270,7 @@ function Ia(r, e, t, i, a, s) {
5243
5270
  color: "primary"
5244
5271
  }, {
5245
5272
  default: h(() => [
5246
- m(p(s.fencer1Team), 1)
5273
+ m(f(s.fencer1Team), 1)
5247
5274
  ]),
5248
5275
  _: 1
5249
5276
  })
@@ -5255,7 +5282,7 @@ function Ia(r, e, t, i, a, s) {
5255
5282
  class: "align-middle pr-3 pt-0.5"
5256
5283
  }, {
5257
5284
  default: h(() => [
5258
- m(p(s.fencer1Score), 1)
5285
+ m(f(s.fencer1Score), 1)
5259
5286
  ]),
5260
5287
  _: 1
5261
5288
  })
@@ -5268,7 +5295,7 @@ function Ia(r, e, t, i, a, s) {
5268
5295
  class: "font-sourceCodePro"
5269
5296
  }, {
5270
5297
  default: h(() => [
5271
- m(p(s.displayTime), 1)
5298
+ m(f(s.displayTime), 1)
5272
5299
  ]),
5273
5300
  _: 1
5274
5301
  })
@@ -5283,7 +5310,7 @@ function Ia(r, e, t, i, a, s) {
5283
5310
  class: "pl-3 pt-0.5"
5284
5311
  }, {
5285
5312
  default: h(() => [
5286
- m(p(s.fencer2Score), 1)
5313
+ m(f(s.fencer2Score), 1)
5287
5314
  ]),
5288
5315
  _: 1
5289
5316
  }),
@@ -5296,7 +5323,7 @@ function Ia(r, e, t, i, a, s) {
5296
5323
  class: "text-right"
5297
5324
  }, {
5298
5325
  default: h(() => [
5299
- m(p(s.fencer2Name), 1)
5326
+ m(f(s.fencer2Name), 1)
5300
5327
  ]),
5301
5328
  _: 1
5302
5329
  }),
@@ -5306,7 +5333,7 @@ function Ia(r, e, t, i, a, s) {
5306
5333
  class: "text-right"
5307
5334
  }, {
5308
5335
  default: h(() => [
5309
- m(p(s.fencer2Team), 1)
5336
+ m(f(s.fencer2Team), 1)
5310
5337
  ]),
5311
5338
  _: 1
5312
5339
  })
@@ -5431,7 +5458,7 @@ function Ja(r, e, t, i, a, s) {
5431
5458
  class: "pb-1"
5432
5459
  }, {
5433
5460
  default: h(() => [
5434
- m(p(t.bout.customStatus), 1)
5461
+ m(f(t.bout.customStatus), 1)
5435
5462
  ]),
5436
5463
  _: 1
5437
5464
  })
@@ -5452,7 +5479,7 @@ function Ja(r, e, t, i, a, s) {
5452
5479
  weight: "bold"
5453
5480
  }, {
5454
5481
  default: h(() => [
5455
- m(p(s.fencer1Name), 1)
5482
+ m(f(s.fencer1Name), 1)
5456
5483
  ]),
5457
5484
  _: 1
5458
5485
  }),
@@ -5461,7 +5488,7 @@ function Ja(r, e, t, i, a, s) {
5461
5488
  color: "primary"
5462
5489
  }, {
5463
5490
  default: h(() => [
5464
- m(p(s.fencer1Club), 1)
5491
+ m(f(s.fencer1Club), 1)
5465
5492
  ]),
5466
5493
  _: 1
5467
5494
  })
@@ -5474,7 +5501,7 @@ function Ja(r, e, t, i, a, s) {
5474
5501
  class: "pr-4 -mt-1"
5475
5502
  }, {
5476
5503
  default: h(() => [
5477
- m(p(s.fencer1Score), 1)
5504
+ m(f(s.fencer1Score), 1)
5478
5505
  ]),
5479
5506
  _: 1
5480
5507
  }),
@@ -5486,7 +5513,7 @@ function Ja(r, e, t, i, a, s) {
5486
5513
  class: "font-sourceCodePro"
5487
5514
  }, {
5488
5515
  default: h(() => [
5489
- m(p(s.displayTime), 1)
5516
+ m(f(s.displayTime), 1)
5490
5517
  ]),
5491
5518
  _: 1
5492
5519
  })
@@ -5498,7 +5525,7 @@ function Ja(r, e, t, i, a, s) {
5498
5525
  class: "pl-4 -mt-1"
5499
5526
  }, {
5500
5527
  default: h(() => [
5501
- m(p(s.fencer2Score), 1)
5528
+ m(f(s.fencer2Score), 1)
5502
5529
  ]),
5503
5530
  _: 1
5504
5531
  })
@@ -5518,7 +5545,7 @@ function Ja(r, e, t, i, a, s) {
5518
5545
  weight: "bold"
5519
5546
  }, {
5520
5547
  default: h(() => [
5521
- m(p(s.fencer2Name), 1)
5548
+ m(f(s.fencer2Name), 1)
5522
5549
  ]),
5523
5550
  _: 1
5524
5551
  }),
@@ -5527,7 +5554,7 @@ function Ja(r, e, t, i, a, s) {
5527
5554
  color: "primary"
5528
5555
  }, {
5529
5556
  default: h(() => [
5530
- m(p(s.fencer2Club), 1)
5557
+ m(f(s.fencer2Club), 1)
5531
5558
  ]),
5532
5559
  _: 1
5533
5560
  })
@@ -5620,21 +5647,21 @@ function an(r, e, t, i, a, s) {
5620
5647
  isWaiting: !0
5621
5648
  }, null, 8, ["hostingClubColors"])) : w("", !0)
5622
5649
  ])),
5623
- (u(!0), g(I, null, z(s.activeBouts, (f) => (u(), g("div", {
5624
- key: f.BoutId,
5650
+ (u(!0), g(I, null, z(s.activeBouts, (p) => (u(), g("div", {
5651
+ key: p.BoutId,
5625
5652
  class: "w-full md:w-3/4 md:my-4"
5626
5653
  }, [
5627
5654
  a.isMobile ? w("", !0) : (u(), E(o, {
5628
5655
  key: 0,
5629
- bout: f,
5656
+ bout: p,
5630
5657
  hostingClubColors: t.hostingClubColors,
5631
- timerStatus: f.TimerStatus
5658
+ timerStatus: p.TimerStatus
5632
5659
  }, null, 8, ["bout", "hostingClubColors", "timerStatus"])),
5633
5660
  a.isMobile ? (u(), E(c, {
5634
5661
  key: 1,
5635
- bout: f,
5662
+ bout: p,
5636
5663
  hostingClubColors: t.hostingClubColors,
5637
- timerStatus: f.TimerStatus
5664
+ timerStatus: p.TimerStatus
5638
5665
  }, null, 8, ["bout", "hostingClubColors", "timerStatus"])) : w("", !0)
5639
5666
  ]))), 128))
5640
5667
  ])
@@ -5667,7 +5694,7 @@ function an(r, e, t, i, a, s) {
5667
5694
  weight: "bold"
5668
5695
  }, {
5669
5696
  default: h(() => [
5670
- m(p(s.remainingBoutsCount), 1)
5697
+ m(f(s.remainingBoutsCount), 1)
5671
5698
  ]),
5672
5699
  _: 1
5673
5700
  })
@@ -5675,18 +5702,18 @@ function an(r, e, t, i, a, s) {
5675
5702
  ]),
5676
5703
  e[2] || (e[2] = n("div", { class: "border-b border-dropdownSelect mb-5" }, null, -1)),
5677
5704
  n("div", tn, [
5678
- (u(!0), g(I, null, z(s.markedUpcomingBouts, (f) => (u(), g("div", {
5679
- key: f.BoutId,
5705
+ (u(!0), g(I, null, z(s.markedUpcomingBouts, (p) => (u(), g("div", {
5706
+ key: p.BoutId,
5680
5707
  class: "w-full md:w-3/4 md:my-4"
5681
5708
  }, [
5682
5709
  a.isMobile ? w("", !0) : (u(), E(o, {
5683
5710
  key: 0,
5684
- bout: f,
5711
+ bout: p,
5685
5712
  hostingClubColors: t.hostingClubColors
5686
5713
  }, null, 8, ["bout", "hostingClubColors"])),
5687
5714
  a.isMobile ? (u(), E(c, {
5688
5715
  key: 1,
5689
- bout: f,
5716
+ bout: p,
5690
5717
  hostingClubColors: t.hostingClubColors
5691
5718
  }, null, 8, ["bout", "hostingClubColors"])) : w("", !0)
5692
5719
  ]))), 128))
@@ -5723,18 +5750,18 @@ function an(r, e, t, i, a, s) {
5723
5750
  ]),
5724
5751
  e[5] || (e[5] = n("div", { class: "hidden md:block border-b border-dropdownSelect mb-5" }, null, -1)),
5725
5752
  n("div", on, [
5726
- (u(!0), g(I, null, z(s.completedBouts, (f) => (u(), g("div", {
5727
- key: f.BoutId,
5753
+ (u(!0), g(I, null, z(s.completedBouts, (p) => (u(), g("div", {
5754
+ key: p.BoutId,
5728
5755
  class: "w-full md:w-3/4 md:my-4"
5729
5756
  }, [
5730
5757
  a.isMobile ? w("", !0) : (u(), E(o, {
5731
5758
  key: 0,
5732
- bout: f,
5759
+ bout: p,
5733
5760
  hostingClubColors: t.hostingClubColors
5734
5761
  }, null, 8, ["bout", "hostingClubColors"])),
5735
5762
  a.isMobile ? (u(), E(c, {
5736
5763
  key: 1,
5737
- bout: f,
5764
+ bout: p,
5738
5765
  hostingClubColors: t.hostingClubColors
5739
5766
  }, null, 8, ["bout", "hostingClubColors"])) : w("", !0)
5740
5767
  ]))), 128))
@@ -5808,7 +5835,7 @@ const Qm = /* @__PURE__ */ C(Ka, [["render", an]]), nn = {
5808
5835
  return { bg: "", text: "" };
5809
5836
  },
5810
5837
  getStats(r) {
5811
- const e = this.bouts.filter((d) => (d.Person1Id === r.PersonId || d.Person2Id === r.PersonId) && d.Status === "Completed"), t = e.filter((d) => d.Person1Id === r.PersonId && d.Score1 > d.Score2 || d.Person2Id === r.PersonId && d.Score2 > d.Score1).length, i = e.filter((d) => d.Person1Id === r.PersonId && d.Score1 < d.Score2 || d.Person2Id === r.PersonId && d.Score2 < d.Score1).length, a = e.reduce((d, f) => d + (f.Person1Id === r.PersonId ? f.Score1 : f.Score2), 0), s = e.reduce((d, f) => d + (f.Person1Id === r.PersonId ? f.Score2 : f.Score1), 0), o = a - s;
5838
+ const e = this.bouts.filter((d) => (d.Person1Id === r.PersonId || d.Person2Id === r.PersonId) && d.Status === "Completed"), t = e.filter((d) => d.Person1Id === r.PersonId && d.Score1 > d.Score2 || d.Person2Id === r.PersonId && d.Score2 > d.Score1).length, i = e.filter((d) => d.Person1Id === r.PersonId && d.Score1 < d.Score2 || d.Person2Id === r.PersonId && d.Score2 < d.Score1).length, a = e.reduce((d, p) => d + (p.Person1Id === r.PersonId ? p.Score1 : p.Score2), 0), s = e.reduce((d, p) => d + (p.Person1Id === r.PersonId ? p.Score2 : p.Score1), 0), o = a - s;
5812
5839
  return {
5813
5840
  WP: `${e.length > 0 ? (t / e.length * 100).toFixed(0) : "0.00"}%`,
5814
5841
  HS: a,
@@ -5831,10 +5858,10 @@ const Qm = /* @__PURE__ */ C(Ka, [["render", an]]), nn = {
5831
5858
  }, gn = {
5832
5859
  key: 3,
5833
5860
  class: "bg-primary rounded-md md:rounded-lg table-cell text-center align-middle h-6 w-6 md:h-10 md:w-10"
5834
- }, pn = {
5861
+ }, fn = {
5835
5862
  key: 4,
5836
5863
  class: "bg-primary rounded-md md:rounded-lg table-cell text-center align-middle h-6 w-6 md:h-10 md:w-10"
5837
- }, fn = {
5864
+ }, pn = {
5838
5865
  key: 5,
5839
5866
  class: "bg-primary rounded-md md:rounded-lg able-cell text-center align-middle h-6 w-6 md:h-10 md:w-10"
5840
5867
  }, bn = { class: "border border-primary rounded-md md:rounded-lg text-right align-middle px-1 md:px-4 w-auto" }, yn = { class: "bg-primary rounded-md md:rounded-lg text-center align-middle h-6 w-6 md:h-10 md:w-10" }, xn = ["rowspan"], wn = {
@@ -5875,7 +5902,7 @@ function kn(r, e, t, i, a, s) {
5875
5902
  ]),
5876
5903
  e[7] || (e[7] = n("th", { class: "w-1" }, null, -1)),
5877
5904
  e[8] || (e[8] = n("th", { class: "bg-primary rounded-md md:rounded-lg px-1 py-1 md:px-4 md:py-2" }, null, -1)),
5878
- (u(!0), g(I, null, z(s.participants, (d, f) => (u(), g("th", {
5905
+ (u(!0), g(I, null, z(s.participants, (d, p) => (u(), g("th", {
5879
5906
  key: d.PersonId,
5880
5907
  class: "bg-primary rounded-md md:rounded-lg text-center align-middle"
5881
5908
  }, [
@@ -5886,7 +5913,7 @@ function kn(r, e, t, i, a, s) {
5886
5913
  class: "text-xs md:text-sm"
5887
5914
  }, {
5888
5915
  default: h(() => [
5889
- m(p(f + 1), 1)
5916
+ m(f(p + 1), 1)
5890
5917
  ]),
5891
5918
  _: 2
5892
5919
  }, 1024)
@@ -5934,7 +5961,7 @@ function kn(r, e, t, i, a, s) {
5934
5961
  __: [4]
5935
5962
  })
5936
5963
  ])) : w("", !0),
5937
- a.showStats ? (u(), g("th", pn, [
5964
+ a.showStats ? (u(), g("th", fn, [
5938
5965
  l(o, {
5939
5966
  size: "",
5940
5967
  weight: "bold",
@@ -5948,7 +5975,7 @@ function kn(r, e, t, i, a, s) {
5948
5975
  __: [5]
5949
5976
  })
5950
5977
  ])) : w("", !0),
5951
- a.showStats ? (u(), g("th", fn, [
5978
+ a.showStats ? (u(), g("th", pn, [
5952
5979
  l(o, {
5953
5980
  size: "",
5954
5981
  weight: "bold",
@@ -5965,7 +5992,7 @@ function kn(r, e, t, i, a, s) {
5965
5992
  ])
5966
5993
  ]),
5967
5994
  n("tbody", null, [
5968
- (u(!0), g(I, null, z(s.participants, (d, f) => (u(), g("tr", {
5995
+ (u(!0), g(I, null, z(s.participants, (d, p) => (u(), g("tr", {
5969
5996
  key: d.PersonId,
5970
5997
  class: "even:bg-gray-200 odd:bg-white"
5971
5998
  }, [
@@ -5976,7 +6003,7 @@ function kn(r, e, t, i, a, s) {
5976
6003
  class: "hidden md:block text-xs md:text-sm min-w-48"
5977
6004
  }, {
5978
6005
  default: h(() => [
5979
- m(p(d.DisplayName), 1)
6006
+ m(f(d.DisplayName), 1)
5980
6007
  ]),
5981
6008
  _: 2
5982
6009
  }, 1024),
@@ -5986,7 +6013,7 @@ function kn(r, e, t, i, a, s) {
5986
6013
  class: "bock md:hidden text-xs md:text-sm"
5987
6014
  }, {
5988
6015
  default: h(() => [
5989
- m(p(s.getFencerShortName(d.DisplayName)), 1)
6016
+ m(f(s.getFencerShortName(d.DisplayName)), 1)
5990
6017
  ]),
5991
6018
  _: 2
5992
6019
  }, 1024)
@@ -6000,7 +6027,7 @@ function kn(r, e, t, i, a, s) {
6000
6027
  class: "text-xs md:text-sm"
6001
6028
  }, {
6002
6029
  default: h(() => [
6003
- m(p(f + 1), 1)
6030
+ m(f(p + 1), 1)
6004
6031
  ]),
6005
6032
  _: 2
6006
6033
  }, 1024)
@@ -6018,13 +6045,13 @@ function kn(r, e, t, i, a, s) {
6018
6045
  size: ""
6019
6046
  }, {
6020
6047
  default: h(() => [
6021
- m(p(s.getScore(d.PersonId, b.PersonId)), 1)
6048
+ m(f(s.getScore(d.PersonId, b.PersonId)), 1)
6022
6049
  ]),
6023
6050
  _: 2
6024
6051
  }, 1032, ["class"])
6025
6052
  ], 2)) : w("", !0)
6026
6053
  ], 2))), 128)),
6027
- f === 0 ? (u(), g("td", {
6054
+ p === 0 ? (u(), g("td", {
6028
6055
  key: 0,
6029
6056
  rowspan: s.participants.length,
6030
6057
  class: "md:hidden bg-primary cursor-pointer rounded-xl",
@@ -6045,7 +6072,7 @@ function kn(r, e, t, i, a, s) {
6045
6072
  class: "text-xs md:text-sm"
6046
6073
  }, {
6047
6074
  default: h(() => [
6048
- m(p(s.getStats(d).WP), 1)
6075
+ m(f(s.getStats(d).WP), 1)
6049
6076
  ]),
6050
6077
  _: 2
6051
6078
  }, 1024)
@@ -6057,7 +6084,7 @@ function kn(r, e, t, i, a, s) {
6057
6084
  class: "text-xs md:text-sm"
6058
6085
  }, {
6059
6086
  default: h(() => [
6060
- m(p(s.getStats(d).W) + "/" + p(s.getStats(d).L), 1)
6087
+ m(f(s.getStats(d).W) + "/" + f(s.getStats(d).L), 1)
6061
6088
  ]),
6062
6089
  _: 2
6063
6090
  }, 1024)
@@ -6069,7 +6096,7 @@ function kn(r, e, t, i, a, s) {
6069
6096
  class: "text-xs md:text-sm"
6070
6097
  }, {
6071
6098
  default: h(() => [
6072
- m(p(s.getStats(d).HS), 1)
6099
+ m(f(s.getStats(d).HS), 1)
6073
6100
  ]),
6074
6101
  _: 2
6075
6102
  }, 1024)
@@ -6081,7 +6108,7 @@ function kn(r, e, t, i, a, s) {
6081
6108
  class: "text-xs md:text-sm"
6082
6109
  }, {
6083
6110
  default: h(() => [
6084
- m(p(s.getStats(d).HR), 1)
6111
+ m(f(s.getStats(d).HR), 1)
6085
6112
  ]),
6086
6113
  _: 2
6087
6114
  }, 1024)
@@ -6093,7 +6120,7 @@ function kn(r, e, t, i, a, s) {
6093
6120
  class: "text-xs md:text-sm"
6094
6121
  }, {
6095
6122
  default: h(() => [
6096
- m(p(s.getStats(d).IND), 1)
6123
+ m(f(s.getStats(d).IND), 1)
6097
6124
  ]),
6098
6125
  _: 2
6099
6126
  }, 1024)
@@ -6108,7 +6135,7 @@ const Vm = /* @__PURE__ */ C(nn, [["render", kn]]), _n = {
6108
6135
  }, Tn = { class: "w-full bg-secondary rounded-lg flex flex-col items-start animate-pulse" };
6109
6136
  function Bn(r, e, t, i, a, s) {
6110
6137
  return u(), g("div", Tn, e[0] || (e[0] = [
6111
- pe('<div class="w-full h-40 bg-gray-200 rounded-t-md mb-4"></div><div class="w-3/4 h-6 bg-gray-200 rounded mb-2"></div><div class="w-full h-4 bg-gray-200 rounded mb-2"></div><div class="w-full h-4 bg-gray-200 rounded mb-2"></div><div class="w-1/2 h-4 bg-gray-200 rounded mb-4"></div><div class="w-full flex justify-end"><div class="w-1/4 h-4 bg-gray-200 rounded"></div></div>', 6)
6138
+ fe('<div class="w-full h-40 bg-gray-200 rounded-t-md mb-4"></div><div class="w-3/4 h-6 bg-gray-200 rounded mb-2"></div><div class="w-full h-4 bg-gray-200 rounded mb-2"></div><div class="w-full h-4 bg-gray-200 rounded mb-2"></div><div class="w-1/2 h-4 bg-gray-200 rounded mb-4"></div><div class="w-full flex justify-end"><div class="w-1/4 h-4 bg-gray-200 rounded"></div></div>', 6)
6112
6139
  ]));
6113
6140
  }
6114
6141
  const In = /* @__PURE__ */ C(_n, [["render", Bn]]), En = {
@@ -6174,7 +6201,7 @@ function Pn(r, e, t, i, a, s) {
6174
6201
  class: "mb-2"
6175
6202
  }, {
6176
6203
  default: h(() => [
6177
- m(p(s.articleTitle), 1)
6204
+ m(f(s.articleTitle), 1)
6178
6205
  ]),
6179
6206
  _: 1
6180
6207
  }),
@@ -6185,7 +6212,7 @@ function Pn(r, e, t, i, a, s) {
6185
6212
  class: "mb-4 h-20"
6186
6213
  }, {
6187
6214
  default: h(() => [
6188
- m(p(s.truncatedDescription), 1)
6215
+ m(f(s.truncatedDescription), 1)
6189
6216
  ]),
6190
6217
  _: 1
6191
6218
  }),
@@ -6266,7 +6293,7 @@ function Vn(r, e, t, i, a, s) {
6266
6293
  weight: "bold"
6267
6294
  }, {
6268
6295
  default: h(() => [
6269
- m(p(t.data.Name), 1)
6296
+ m(f(t.data.Name), 1)
6270
6297
  ]),
6271
6298
  _: 1
6272
6299
  }),
@@ -6278,7 +6305,7 @@ function Vn(r, e, t, i, a, s) {
6278
6305
  class: "mb-2"
6279
6306
  }, {
6280
6307
  default: h(() => [
6281
- m(p(s.addressCity) + " | " + p(s.addressState), 1)
6308
+ m(f(s.addressCity) + " | " + f(s.addressState), 1)
6282
6309
  ]),
6283
6310
  _: 1
6284
6311
  })
@@ -6293,7 +6320,7 @@ function Vn(r, e, t, i, a, s) {
6293
6320
  class: "hidden md:flex"
6294
6321
  }, {
6295
6322
  default: h(() => [
6296
- m(p(t.data.Name), 1)
6323
+ m(f(t.data.Name), 1)
6297
6324
  ]),
6298
6325
  _: 1
6299
6326
  }),
@@ -6305,7 +6332,7 @@ function Vn(r, e, t, i, a, s) {
6305
6332
  class: "hidden md:flex justify-start"
6306
6333
  }, {
6307
6334
  default: h(() => [
6308
- m(p(s.addressCity) + " | " + p(s.addressState), 1)
6335
+ m(f(s.addressCity) + " | " + f(s.addressState), 1)
6309
6336
  ]),
6310
6337
  _: 1
6311
6338
  }),
@@ -6334,7 +6361,7 @@ function Vn(r, e, t, i, a, s) {
6334
6361
  class: "md:text-sm w-40"
6335
6362
  }, {
6336
6363
  default: h(() => [
6337
- m(" M2 Active Members: " + p(t.data.MemberCount), 1)
6364
+ m(" M2 Active Members: " + f(t.data.MemberCount), 1)
6338
6365
  ]),
6339
6366
  _: 1
6340
6367
  })
@@ -6355,7 +6382,7 @@ function Vn(r, e, t, i, a, s) {
6355
6382
  class: "md:text-sm w-40"
6356
6383
  }, {
6357
6384
  default: h(() => [
6358
- m(" Hosted: " + p(t.data.HostedTournamentsCount) + " Tournaments ", 1)
6385
+ m(" Hosted: " + f(t.data.HostedTournamentsCount) + " Tournaments ", 1)
6359
6386
  ]),
6360
6387
  _: 1
6361
6388
  })
@@ -6416,7 +6443,7 @@ function Kn(r, e, t, i, a, s) {
6416
6443
  class: "mb-2"
6417
6444
  }, {
6418
6445
  default: h(() => [
6419
- m(p(s.displayName), 1)
6446
+ m(f(s.displayName), 1)
6420
6447
  ]),
6421
6448
  _: 1
6422
6449
  }),
@@ -6427,7 +6454,7 @@ function Kn(r, e, t, i, a, s) {
6427
6454
  class: "text-accent"
6428
6455
  }, {
6429
6456
  default: h(() => [
6430
- m("M2: " + p(s.m2Rating), 1)
6457
+ m("M2: " + f(s.m2Rating), 1)
6431
6458
  ]),
6432
6459
  _: 1
6433
6460
  })
@@ -6465,16 +6492,16 @@ function oi(r, e, t, i, a, s) {
6465
6492
  __: [1]
6466
6493
  }),
6467
6494
  n("ul", Xn, [
6468
- (u(!0), g(I, null, z(t.cart.Items, (f, b) => (u(), g("li", {
6495
+ (u(!0), g(I, null, z(t.cart.Items, (p, b) => (u(), g("li", {
6469
6496
  key: b,
6470
6497
  class: "flex items-center"
6471
6498
  }, [
6472
6499
  n("div", $n, [
6473
- f.ItemType !== "Fee" ? (u(), E(c, {
6500
+ p.ItemType !== "Fee" ? (u(), E(c, {
6474
6501
  key: 0,
6475
6502
  icon: "fa-circle-xmark",
6476
6503
  class: "hover:text-accent cursor-pointer",
6477
- onClick: (x) => r.$emit("remove-from-cart", f)
6504
+ onClick: (x) => r.$emit("remove-from-cart", p)
6478
6505
  }, null, 8, ["onClick"])) : w("", !0)
6479
6506
  ]),
6480
6507
  n("div", ei, [
@@ -6483,8 +6510,8 @@ function oi(r, e, t, i, a, s) {
6483
6510
  color: "primary"
6484
6511
  }, {
6485
6512
  default: h(() => [
6486
- m(p(f.Description) + " ", 1),
6487
- f.SelectedOption ? (u(), g("span", ti, "- " + p(f.SelectedOption), 1)) : w("", !0)
6513
+ m(f(p.Description) + " ", 1),
6514
+ p.SelectedOption ? (u(), g("span", ti, "- " + f(p.SelectedOption), 1)) : w("", !0)
6488
6515
  ]),
6489
6516
  _: 2
6490
6517
  }, 1024)
@@ -6495,7 +6522,7 @@ function oi(r, e, t, i, a, s) {
6495
6522
  color: "primary"
6496
6523
  }, {
6497
6524
  default: h(() => [
6498
- m("$" + p(parseFloat(f.Amount).toFixed(2)), 1)
6525
+ m("$" + f(parseFloat(p.Amount).toFixed(2)), 1)
6499
6526
  ]),
6500
6527
  _: 2
6501
6528
  }, 1024)
@@ -6520,7 +6547,7 @@ function oi(r, e, t, i, a, s) {
6520
6547
  color: "primary"
6521
6548
  }, {
6522
6549
  default: h(() => [
6523
- m("$" + p(s.getCartTotal.toFixed(2)), 1)
6550
+ m("$" + f(s.getCartTotal.toFixed(2)), 1)
6524
6551
  ]),
6525
6552
  _: 1
6526
6553
  })
@@ -6533,7 +6560,7 @@ function oi(r, e, t, i, a, s) {
6533
6560
  hoverColor: "secondary",
6534
6561
  border: "primary",
6535
6562
  class: "mt-4 w-full",
6536
- onButtonClick: e[0] || (e[0] = (f) => r.$emit("checkout-click"))
6563
+ onButtonClick: e[0] || (e[0] = (p) => r.$emit("checkout-click"))
6537
6564
  })
6538
6565
  ]);
6539
6566
  }
@@ -6549,10 +6576,24 @@ const Wm = /* @__PURE__ */ C(Yn, [["render", oi]]), ai = {
6549
6576
  computed: {
6550
6577
  weaponIcon() {
6551
6578
  const r = this.data.Weapon.Name.toLowerCase();
6552
- return r === "military saber" ? "fa-saber" : r === "sword & buckler" ? "fa-swordandbuckler" : `fa-${r.toLowerCase()}`;
6579
+ return r === "military saber" ? "fa-saber" : r === "single rapier" ? "fa-rapier" : r === "sword & buckler" ? "fa-swordandbuckler" : `fa-${r.toLowerCase()}`;
6553
6580
  },
6554
6581
  showMoreOrLive() {
6555
6582
  return this.data.Status === "de" || this.data.Status === "live";
6583
+ },
6584
+ eventCutoffRaw() {
6585
+ return this.data.EventCutoff ?? this.data.EventCutOff ?? this.data.eventCutoff ?? this.data.event_cutoff;
6586
+ },
6587
+ eventCutoff() {
6588
+ const r = Number(this.eventCutoffRaw);
6589
+ return Number.isFinite(r) && r > 0 ? r : null;
6590
+ },
6591
+ participantsCount() {
6592
+ const r = Number(this.data.ParticipantsCount);
6593
+ return Number.isFinite(r) && r >= 0 ? r : 0;
6594
+ },
6595
+ participantsLine() {
6596
+ return this.eventCutoff ? `${this.participantsCount} of ${this.eventCutoff} Fencers Registered` : `${this.participantsCount} Fencers Registered`;
6556
6597
  }
6557
6598
  },
6558
6599
  methods: {
@@ -6563,7 +6604,7 @@ const Wm = /* @__PURE__ */ C(Yn, [["render", oi]]), ai = {
6563
6604
  }, ni = { class: "flex space-x-4 w-full cursor-pointer" }, ii = { class: "w-10 pt-1 md:pt-0" }, li = { class: "h-10 w-10 rounded-full flex justify-center items-center border border-accent z-1" }, di = {
6564
6605
  key: 0,
6565
6606
  class: "h-6 w-6 bg-accent rounded-full -mt-4 ml-7 pt-1 z-10 absolute items-center"
6566
- }, ci = { class: "flex w-full flex-col md:flex-row" }, ui = { class: "flex flex-col pl-2 items-start flex-grow" }, mi = { class: "flex flex-col md:flex-row" }, hi = { class: "flex row mt-1 md:mt-0" }, gi = { class: "flex row mt-1 md:mt-0" }, pi = { class: "w-full md:w-20 flex justify-end md:pt-3" }, fi = { class: "flex border-b border-white hover:border-accent md:h-8" }, bi = { class: "hidden md:flex" }, yi = {
6607
+ }, ci = { class: "flex w-full flex-col md:flex-row" }, ui = { class: "flex flex-col pl-2 items-start flex-grow" }, mi = { class: "flex flex-col md:flex-row" }, hi = { class: "flex row mt-1 md:mt-0" }, gi = { class: "flex row mt-1 md:mt-0" }, fi = { class: "w-full md:w-20 flex justify-end md:pt-3" }, pi = { class: "flex border-b border-white hover:border-accent md:h-8" }, bi = { class: "hidden md:flex" }, yi = {
6567
6608
  key: 0,
6568
6609
  class: "flex"
6569
6610
  }, xi = {
@@ -6574,7 +6615,7 @@ function vi(r, e, t, i, a, s) {
6574
6615
  const o = y("Icon"), c = y("BaseText"), d = y("icon");
6575
6616
  return u(), g("div", {
6576
6617
  class: "p-2 w-full border-b md:py-6 last:border-b-0",
6577
- onClick: e[0] || (e[0] = (...f) => s.handleCardClick && s.handleCardClick(...f))
6618
+ onClick: e[0] || (e[0] = (...p) => s.handleCardClick && s.handleCardClick(...p))
6578
6619
  }, [
6579
6620
  n("div", ni, [
6580
6621
  n("section", ii, [
@@ -6595,7 +6636,7 @@ function vi(r, e, t, i, a, s) {
6595
6636
  class: "text-center"
6596
6637
  }, {
6597
6638
  default: h(() => [
6598
- m(p(t.data.Rating), 1)
6639
+ m(f(t.data.Rating), 1)
6599
6640
  ]),
6600
6641
  _: 1
6601
6642
  })
@@ -6609,7 +6650,7 @@ function vi(r, e, t, i, a, s) {
6609
6650
  weight: "bold"
6610
6651
  }, {
6611
6652
  default: h(() => [
6612
- m(p(t.data.EventName), 1)
6653
+ m(f(t.data.EventName), 1)
6613
6654
  ]),
6614
6655
  _: 1
6615
6656
  }),
@@ -6628,7 +6669,7 @@ function vi(r, e, t, i, a, s) {
6628
6669
  weight: "normal"
6629
6670
  }, {
6630
6671
  default: h(() => [
6631
- m(p(t.data.Date) + " | " + p(t.data.StartTime), 1)
6672
+ m(f(t.data.Date) + " | " + f(t.data.StartTime), 1)
6632
6673
  ]),
6633
6674
  _: 1
6634
6675
  })
@@ -6647,15 +6688,15 @@ function vi(r, e, t, i, a, s) {
6647
6688
  weight: "normal"
6648
6689
  }, {
6649
6690
  default: h(() => [
6650
- m(p(t.data.ParticipantsCount) + " Fencers Registered", 1)
6691
+ m(f(s.participantsLine), 1)
6651
6692
  ]),
6652
6693
  _: 1
6653
6694
  })
6654
6695
  ])
6655
6696
  ])
6656
6697
  ]),
6657
- n("section", pi, [
6658
- n("div", fi, [
6698
+ n("section", fi, [
6699
+ n("div", pi, [
6659
6700
  n("div", bi, [
6660
6701
  s.showMoreOrLive ? (u(), g("div", yi, [
6661
6702
  l(o, {
@@ -6780,7 +6821,7 @@ function ji(r, e, t, i, a, s) {
6780
6821
  class: "text-center"
6781
6822
  }, {
6782
6823
  default: h(() => [
6783
- m(p(t.data.Rating), 1)
6824
+ m(f(t.data.Rating), 1)
6784
6825
  ]),
6785
6826
  _: 1
6786
6827
  })
@@ -6795,7 +6836,7 @@ function ji(r, e, t, i, a, s) {
6795
6836
  weight: "bold"
6796
6837
  }, {
6797
6838
  default: h(() => [
6798
- m(p(t.data.EventName), 1)
6839
+ m(f(t.data.EventName), 1)
6799
6840
  ]),
6800
6841
  _: 1
6801
6842
  }),
@@ -6805,7 +6846,7 @@ function ji(r, e, t, i, a, s) {
6805
6846
  weight: "bold"
6806
6847
  }, {
6807
6848
  default: h(() => [
6808
- m("$" + p(t.data.EventPrice), 1)
6849
+ m("$" + f(t.data.EventPrice), 1)
6809
6850
  ]),
6810
6851
  _: 1
6811
6852
  })
@@ -6824,7 +6865,7 @@ function ji(r, e, t, i, a, s) {
6824
6865
  size: "xs"
6825
6866
  }, {
6826
6867
  default: h(() => [
6827
- m(p(t.data.Date) + " | " + p(t.data.StartTime), 1)
6868
+ m(f(t.data.Date) + " | " + f(t.data.StartTime), 1)
6828
6869
  ]),
6829
6870
  _: 1
6830
6871
  })
@@ -6842,7 +6883,7 @@ function ji(r, e, t, i, a, s) {
6842
6883
  size: "xs"
6843
6884
  }, {
6844
6885
  default: h(() => [
6845
- m(p(t.data.ParticipantsCount) + " Fencers Registered", 1)
6886
+ m(f(t.data.ParticipantsCount) + " Fencers Registered", 1)
6846
6887
  ]),
6847
6888
  _: 1
6848
6889
  })
@@ -6870,7 +6911,7 @@ const Ym = /* @__PURE__ */ C(Ci, [["render", ji]]), Oi = {
6870
6911
  }, Mi = { class: "max-w-48 mr-4 md:mr-2 items-center animate-pulse" };
6871
6912
  function Ri(r, e, t, i, a, s) {
6872
6913
  return u(), g("section", Mi, e[0] || (e[0] = [
6873
- pe('<div class="flex flex-col m-auto justify-center mb-4 items-center w-[130px]"><div class="w-[120px] h-[120px] md:w-32 md:h-32 rounded-full bg-gray-300"></div></div><div class="flex flex-col md:flex-row justify-center md:justify-around -mt-2 border-b border-borderGray z-10 pb-2 mb-2"><div class="flex items-center justify-around w-full"><div class="w-8 h-4 bg-gray-300 rounded mr-1"></div><div class="w-8 h-4 bg-gray-300 rounded"></div></div></div><div class="text-center"><div class="w-32 h-6 bg-gray-300 rounded mb-2 mx-auto"></div><div class="w-40 h-4 bg-gray-200 rounded mb-2 mx-auto"></div></div>', 3)
6914
+ fe('<div class="flex flex-col m-auto justify-center mb-4 items-center w-[130px]"><div class="w-[120px] h-[120px] md:w-32 md:h-32 rounded-full bg-gray-300"></div></div><div class="flex flex-col md:flex-row justify-center md:justify-around -mt-2 border-b border-borderGray z-10 pb-2 mb-2"><div class="flex items-center justify-around w-full"><div class="w-8 h-4 bg-gray-300 rounded mr-1"></div><div class="w-8 h-4 bg-gray-300 rounded"></div></div></div><div class="text-center"><div class="w-32 h-6 bg-gray-300 rounded mb-2 mx-auto"></div><div class="w-40 h-4 bg-gray-200 rounded mb-2 mx-auto"></div></div>', 3)
6874
6915
  ]));
6875
6916
  }
6876
6917
  const Di = /* @__PURE__ */ C(Oi, [["render", Ri]]), qi = {
@@ -6961,7 +7002,7 @@ function Ji(r, e, t, i, a, s) {
6961
7002
  class: "text-accent"
6962
7003
  }, {
6963
7004
  default: h(() => [
6964
- m(p(s.m2Rating), 1)
7005
+ m(f(s.m2Rating), 1)
6965
7006
  ]),
6966
7007
  _: 1
6967
7008
  })
@@ -6974,7 +7015,7 @@ function Ji(r, e, t, i, a, s) {
6974
7015
  class: "text-center pb-1"
6975
7016
  }, {
6976
7017
  default: h(() => [
6977
- m(p(s.displayName), 1)
7018
+ m(f(s.displayName), 1)
6978
7019
  ]),
6979
7020
  _: 1
6980
7021
  }),
@@ -6985,7 +7026,7 @@ function Ji(r, e, t, i, a, s) {
6985
7026
  class: "text-center h-10"
6986
7027
  }, {
6987
7028
  default: h(() => [
6988
- m(p(s.clubName), 1)
7029
+ m(f(s.clubName), 1)
6989
7030
  ]),
6990
7031
  _: 1
6991
7032
  })
@@ -7063,7 +7104,7 @@ function al(r, e, t, i, a, s) {
7063
7104
  class: "text-center font-sourceCodePro"
7064
7105
  }, {
7065
7106
  default: h(() => [
7066
- m(p(t.index), 1)
7107
+ m(f(t.index), 1)
7067
7108
  ]),
7068
7109
  _: 1
7069
7110
  })
@@ -7076,7 +7117,7 @@ function al(r, e, t, i, a, s) {
7076
7117
  class: "min-w-52"
7077
7118
  }, {
7078
7119
  default: h(() => [
7079
- m(p(s.FencerName), 1)
7120
+ m(f(s.FencerName), 1)
7080
7121
  ]),
7081
7122
  _: 1
7082
7123
  })
@@ -7088,7 +7129,7 @@ function al(r, e, t, i, a, s) {
7088
7129
  weight: t.data.isHeader ? "bold" : "normal"
7089
7130
  }, {
7090
7131
  default: h(() => [
7091
- m(p(t.data.Club), 1)
7132
+ m(f(t.data.Club), 1)
7092
7133
  ]),
7093
7134
  _: 1
7094
7135
  }, 8, ["weight"])
@@ -7101,7 +7142,7 @@ function al(r, e, t, i, a, s) {
7101
7142
  weight: t.data.isHeader ? "bold" : "normal"
7102
7143
  }, {
7103
7144
  default: h(() => [
7104
- m(p(t.data.WP), 1)
7145
+ m(f(t.data.WP), 1)
7105
7146
  ]),
7106
7147
  _: 1
7107
7148
  }, 8, ["weight"])
@@ -7113,7 +7154,7 @@ function al(r, e, t, i, a, s) {
7113
7154
  weight: "bold"
7114
7155
  }, {
7115
7156
  default: h(() => [
7116
- m(p(t.data.Wins), 1)
7157
+ m(f(t.data.Wins), 1)
7117
7158
  ]),
7118
7159
  _: 1
7119
7160
  })) : w("", !0),
@@ -7123,7 +7164,7 @@ function al(r, e, t, i, a, s) {
7123
7164
  weight: "normal"
7124
7165
  }, {
7125
7166
  default: h(() => [
7126
- m(p(t.data.Wins) + "/" + p(t.data.Losses), 1)
7167
+ m(f(t.data.Wins) + "/" + f(t.data.Losses), 1)
7127
7168
  ]),
7128
7169
  _: 1
7129
7170
  }))
@@ -7134,7 +7175,7 @@ function al(r, e, t, i, a, s) {
7134
7175
  weight: t.data.isHeader ? "bold" : "normal"
7135
7176
  }, {
7136
7177
  default: h(() => [
7137
- m(p(t.data.HS), 1)
7178
+ m(f(t.data.HS), 1)
7138
7179
  ]),
7139
7180
  _: 1
7140
7181
  }, 8, ["weight"])
@@ -7145,7 +7186,7 @@ function al(r, e, t, i, a, s) {
7145
7186
  weight: t.data.isHeader ? "bold" : "normal"
7146
7187
  }, {
7147
7188
  default: h(() => [
7148
- m(p(t.data.HR), 1)
7189
+ m(f(t.data.HR), 1)
7149
7190
  ]),
7150
7191
  _: 1
7151
7192
  }, 8, ["weight"])
@@ -7156,7 +7197,7 @@ function al(r, e, t, i, a, s) {
7156
7197
  weight: t.data.isHeader ? "bold" : "normal"
7157
7198
  }, {
7158
7199
  default: h(() => [
7159
- m(p(t.data.IND), 1)
7200
+ m(f(t.data.IND), 1)
7160
7201
  ]),
7161
7202
  _: 1
7162
7203
  }, 8, ["weight"])
@@ -7230,7 +7271,7 @@ function ul(r, e, t, i, a, s) {
7230
7271
  class: "whitespace-nowrap overflow-hidden"
7231
7272
  }, {
7232
7273
  default: h(() => [
7233
- m(p(s.formattedName), 1)
7274
+ m(f(s.formattedName), 1)
7234
7275
  ]),
7235
7276
  _: 1
7236
7277
  }, 8, ["color"]),
@@ -7239,7 +7280,7 @@ function ul(r, e, t, i, a, s) {
7239
7280
  size: "2xl"
7240
7281
  }, {
7241
7282
  default: h(() => [
7242
- m(p(t.club), 1)
7283
+ m(f(t.club), 1)
7243
7284
  ]),
7244
7285
  _: 1
7245
7286
  }, 8, ["color"])
@@ -7261,7 +7302,7 @@ const ml = /* @__PURE__ */ C(cl, [["render", ul]]), hl = {
7261
7302
  }
7262
7303
  }
7263
7304
  }, gl = { class: "flex w-full" };
7264
- function pl(r, e, t, i, a, s) {
7305
+ function fl(r, e, t, i, a, s) {
7265
7306
  var c, d;
7266
7307
  const o = y("FencerName");
7267
7308
  return u(), g("div", gl, [
@@ -7279,7 +7320,7 @@ function pl(r, e, t, i, a, s) {
7279
7320
  }, null, 8, ["fullName", "club", "assignedColor"])
7280
7321
  ]);
7281
7322
  }
7282
- const Xm = /* @__PURE__ */ C(hl, [["render", pl]]), fl = {
7323
+ const Xm = /* @__PURE__ */ C(hl, [["render", fl]]), pl = {
7283
7324
  name: "FencerPit",
7284
7325
  components: { BaseText: _ },
7285
7326
  props: {
@@ -7333,7 +7374,7 @@ function Cl(r, e, t, i, a, s) {
7333
7374
  color: "secondary"
7334
7375
  }, {
7335
7376
  default: h(() => [
7336
- m(p(s.pitText(d)), 1)
7377
+ m(f(s.pitText(d)), 1)
7337
7378
  ]),
7338
7379
  _: 2
7339
7380
  }, 1024)
@@ -7348,9 +7389,9 @@ function Cl(r, e, t, i, a, s) {
7348
7389
  class: "p-2 pl-4"
7349
7390
  }, {
7350
7391
  default: h(() => {
7351
- var f;
7392
+ var p;
7352
7393
  return [
7353
- m(p((f = c.Person1) == null ? void 0 : f.DisplayName), 1)
7394
+ m(f((p = c.Person1) == null ? void 0 : p.DisplayName), 1)
7354
7395
  ];
7355
7396
  }),
7356
7397
  _: 2
@@ -7364,7 +7405,7 @@ function Cl(r, e, t, i, a, s) {
7364
7405
  color: "secondary"
7365
7406
  }, {
7366
7407
  default: h(() => [
7367
- m(p(s.pitText(d)), 1)
7408
+ m(f(s.pitText(d)), 1)
7368
7409
  ]),
7369
7410
  _: 2
7370
7411
  }, 1024)
@@ -7379,9 +7420,9 @@ function Cl(r, e, t, i, a, s) {
7379
7420
  class: "p-2 pr-4"
7380
7421
  }, {
7381
7422
  default: h(() => {
7382
- var f;
7423
+ var p;
7383
7424
  return [
7384
- m(p((f = c.Person2) == null ? void 0 : f.DisplayName), 1)
7425
+ m(f((p = c.Person2) == null ? void 0 : p.DisplayName), 1)
7385
7426
  ];
7386
7427
  }),
7387
7428
  _: 2
@@ -7391,7 +7432,7 @@ function Cl(r, e, t, i, a, s) {
7391
7432
  ]))), 128))
7392
7433
  ]);
7393
7434
  }
7394
- const $m = /* @__PURE__ */ C(fl, [["render", Cl]]), Sl = {
7435
+ const $m = /* @__PURE__ */ C(pl, [["render", Cl]]), Sl = {
7395
7436
  name: "FencerScore",
7396
7437
  components: { BaseText: _ },
7397
7438
  props: {
@@ -7418,7 +7459,7 @@ function _l(r, e, t, i, a, s) {
7418
7459
  class: ""
7419
7460
  }, {
7420
7461
  default: h(() => [
7421
- m(p(t.score), 1)
7462
+ m(f(t.score), 1)
7422
7463
  ]),
7423
7464
  _: 1
7424
7465
  })
@@ -7498,7 +7539,7 @@ function El(r, e, t, i, a, s) {
7498
7539
  class: "pt-6"
7499
7540
  }, {
7500
7541
  default: h(() => [
7501
- m(p(t.ringName), 1)
7542
+ m(f(t.ringName), 1)
7502
7543
  ]),
7503
7544
  _: 1
7504
7545
  }),
@@ -7511,7 +7552,7 @@ function El(r, e, t, i, a, s) {
7511
7552
  size: "9xl"
7512
7553
  }, {
7513
7554
  default: h(() => [
7514
- m(p(s.formattedTime), 1)
7555
+ m(f(s.formattedTime), 1)
7515
7556
  ]),
7516
7557
  _: 1
7517
7558
  })) : w("", !0),
@@ -7521,7 +7562,7 @@ function El(r, e, t, i, a, s) {
7521
7562
  class: "-mt-4 pb-2"
7522
7563
  }, {
7523
7564
  default: h(() => [
7524
- m(p(t.directorName), 1)
7565
+ m(f(t.directorName), 1)
7525
7566
  ]),
7526
7567
  _: 1
7527
7568
  })
@@ -7564,7 +7605,7 @@ function Pl(r, e, t, i, a, s) {
7564
7605
  class: "mt-5"
7565
7606
  }, {
7566
7607
  default: h(() => [
7567
- m(p(t.ringName), 1)
7608
+ m(f(t.ringName), 1)
7568
7609
  ]),
7569
7610
  _: 1
7570
7611
  }),
@@ -7575,7 +7616,7 @@ function Pl(r, e, t, i, a, s) {
7575
7616
  size: "12xl"
7576
7617
  }, {
7577
7618
  default: h(() => [
7578
- m(p(s.formattedPasses), 1)
7619
+ m(f(s.formattedPasses), 1)
7579
7620
  ]),
7580
7621
  _: 1
7581
7622
  }),
@@ -7585,7 +7626,7 @@ function Pl(r, e, t, i, a, s) {
7585
7626
  class: ""
7586
7627
  }, {
7587
7628
  default: h(() => [
7588
- m(p(t.directorName), 1)
7629
+ m(f(t.directorName), 1)
7589
7630
  ]),
7590
7631
  _: 1
7591
7632
  })
@@ -7697,7 +7738,7 @@ function Ql(r, e, t, i, a, s) {
7697
7738
  color: "secondary font-sourceCodePro"
7698
7739
  }, {
7699
7740
  default: h(() => [
7700
- m(p(t.position), 1)
7741
+ m(f(t.position), 1)
7701
7742
  ]),
7702
7743
  _: 1
7703
7744
  })
@@ -7712,7 +7753,7 @@ function Ql(r, e, t, i, a, s) {
7712
7753
  class: "w-28 truncate text-nowrap overflow-hidden"
7713
7754
  }, {
7714
7755
  default: h(() => [
7715
- m(p(s.name), 1)
7756
+ m(f(s.name), 1)
7716
7757
  ]),
7717
7758
  _: 1
7718
7759
  })
@@ -7732,7 +7773,7 @@ function Ql(r, e, t, i, a, s) {
7732
7773
  class: "font-sourceCodePro"
7733
7774
  }, {
7734
7775
  default: h(() => [
7735
- m(p(t.score), 1)
7776
+ m(f(t.score), 1)
7736
7777
  ]),
7737
7778
  _: 1
7738
7779
  }, 8, ["color"])) : w("", !0)
@@ -7917,7 +7958,7 @@ function Jl(r, e, t, i, a, s) {
7917
7958
  color: "primary"
7918
7959
  }, {
7919
7960
  default: h(() => [
7920
- m(p(t.roundName), 1)
7961
+ m(f(t.roundName), 1)
7921
7962
  ]),
7922
7963
  _: 1
7923
7964
  })
@@ -7932,7 +7973,7 @@ function Jl(r, e, t, i, a, s) {
7932
7973
  weight: "bold"
7933
7974
  }, {
7934
7975
  default: h(() => [
7935
- m(p(t.roundName), 1)
7976
+ m(f(t.roundName), 1)
7936
7977
  ]),
7937
7978
  _: 1
7938
7979
  })
@@ -8137,7 +8178,7 @@ function Zl(r, e, t, i, a, s) {
8137
8178
  color: "primary"
8138
8179
  }, {
8139
8180
  default: h(() => [
8140
- m(p(t.roundName), 1)
8181
+ m(f(t.roundName), 1)
8141
8182
  ]),
8142
8183
  _: 1
8143
8184
  })
@@ -8151,7 +8192,7 @@ function Zl(r, e, t, i, a, s) {
8151
8192
  color: "primary"
8152
8193
  }, {
8153
8194
  default: h(() => [
8154
- m(p(t.roundName), 1)
8195
+ m(f(t.roundName), 1)
8155
8196
  ]),
8156
8197
  _: 1
8157
8198
  })
@@ -8167,7 +8208,7 @@ function Zl(r, e, t, i, a, s) {
8167
8208
  }, null, 8, ["fencer", "score", "position", "color", "scoreColor", "highlight"])
8168
8209
  ]),
8169
8210
  e[0] || (e[0] = n("div", { class: "pt-1 bg-primary" }, null, -1)),
8170
- l(ft, {
8211
+ l(pt, {
8171
8212
  "enter-active-class": "slideIn",
8172
8213
  "leave-active-class": "slideOut"
8173
8214
  }, {
@@ -8182,7 +8223,7 @@ function Zl(r, e, t, i, a, s) {
8182
8223
  class: "font-sourceCodePro"
8183
8224
  }, {
8184
8225
  default: h(() => [
8185
- m(p(s.displayTime), 1)
8226
+ m(f(s.displayTime), 1)
8186
8227
  ]),
8187
8228
  _: 1
8188
8229
  })
@@ -8393,7 +8434,7 @@ const od = /* @__PURE__ */ C($l, [["render", sd], ["__scopeId", "data-v-ea7240d9
8393
8434
  methods: {}
8394
8435
  };
8395
8436
  function nd(r, e, t, i, a, s) {
8396
- const o = y("BaseText"), c = y("TableauBoutCard"), d = y("TableauActiveBoutCard"), f = y("TableauLines");
8437
+ const o = y("BaseText"), c = y("TableauBoutCard"), d = y("TableauActiveBoutCard"), p = y("TableauLines");
8397
8438
  return u(), g("section", null, [
8398
8439
  t.roundName !== "Third Place" && t.roundName !== "Final" ? (u(), g("div", {
8399
8440
  key: 0,
@@ -8404,7 +8445,7 @@ function nd(r, e, t, i, a, s) {
8404
8445
  color: "primary"
8405
8446
  }, {
8406
8447
  default: h(() => [
8407
- m(p(t.roundName), 1)
8448
+ m(f(t.roundName), 1)
8408
8449
  ]),
8409
8450
  _: 1
8410
8451
  })
@@ -8427,7 +8468,7 @@ function nd(r, e, t, i, a, s) {
8427
8468
  roundName: t.roundName,
8428
8469
  bracketSize: t.bracketSize
8429
8470
  }, null, 8, ["bout", "hostingClubColors", "roundName", "bracketSize"])) : w("", !0),
8430
- l(f, {
8471
+ l(p, {
8431
8472
  roundName: t.roundName,
8432
8473
  bracketSize: t.bracketSize,
8433
8474
  opacity: b.Status === "Active" ? "opacity-0" : "opacity-100"
@@ -8505,7 +8546,7 @@ function cd(r, e, t, i, a, s) {
8505
8546
  const th = /* @__PURE__ */ C(ld, [["render", cd]]), ud = {
8506
8547
  name: "RatingSystemAnnouncement",
8507
8548
  components: { BaseText: _ }
8508
- }, md = { class: "w-full flex justify-center mx-auto mt-10 mb-20" }, hd = { class: "max-w-[1200px] w-full flex justify-center mx-auto mt-8 flex-col" }, gd = { class: "w-full flex py-4 md:pb-10 ml-2 md:ml-0 mb-4 justify-center" }, pd = { class: "flex" }, fd = { class: "md:w-1/2 flex justify-center" };
8549
+ }, md = { class: "w-full flex justify-center mx-auto mt-10 mb-20" }, hd = { class: "max-w-[1200px] w-full flex justify-center mx-auto mt-8 flex-col" }, gd = { class: "w-full flex py-4 md:pb-10 ml-2 md:ml-0 mb-4 justify-center" }, fd = { class: "flex" }, pd = { class: "md:w-1/2 flex justify-center" };
8509
8550
  function bd(r, e, t, i, a, s) {
8510
8551
  const o = y("BaseText");
8511
8552
  return u(), g("section", md, [
@@ -8525,7 +8566,7 @@ function bd(r, e, t, i, a, s) {
8525
8566
  __: [0]
8526
8567
  })
8527
8568
  ]),
8528
- n("div", pd, [
8569
+ n("div", fd, [
8529
8570
  e[2] || (e[2] = n("div", { class: "w-1/2 hidden md:flex justify-end mr-10" }, [
8530
8571
  n("img", {
8531
8572
  src: "https://meyersquaredimages.com/images/trophy.png",
@@ -8533,7 +8574,7 @@ function bd(r, e, t, i, a, s) {
8533
8574
  class: "w-96 h-96 rounded-lg"
8534
8575
  })
8535
8576
  ], -1)),
8536
- n("div", fd, [
8577
+ n("div", pd, [
8537
8578
  l(o, {
8538
8579
  color: "primary",
8539
8580
  size: "md",
@@ -8614,7 +8655,7 @@ function vd(r, e, t, i, a, s) {
8614
8655
  iconSize: "xl",
8615
8656
  iconType: c.Type === "Web" ? "fa-solid" : "fa-brands",
8616
8657
  align: "between",
8617
- onButtonClick: (f) => s.openLink(c.Link)
8658
+ onButtonClick: (p) => s.openLink(c.Link)
8618
8659
  }, null, 8, ["label", "iconName", "iconType", "onButtonClick"])
8619
8660
  ]))), 128))
8620
8661
  ]);
@@ -8628,7 +8669,7 @@ function Ad(r, e, t, i, a, s) {
8628
8669
  key: o,
8629
8670
  class: "animate-pulse"
8630
8671
  }, e[0] || (e[0] = [
8631
- pe('<section class="hidden md:block"><div class="w-full h-52 bg-gray-300 mb-2 rounded-md"></div><div class="w-3/4 h-6 bg-gray-300 mb-1 rounded"></div><div class="w-2/3 h-4 bg-gray-300 mb-2 rounded"></div><div class="flex items-center mb-1"><div class="w-6 h-6 bg-gray-300 rounded-full mr-3"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div><div class="flex items-center"><div class="w-6 h-6 bg-gray-300 rounded-full mr-3"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div></section><section class="md:hidden flex-col items-start gap-2 border-b border-borderGray"><div class="flex flex-row"><div class="w-28 h-16 bg-gray-300 rounded-md"></div><div class="flex flex-col h-16 justify-center pl-2"><div class="w-3/4 h-6 bg-gray-300 rounded mb-1"></div><div class="w-1/2 h-4 bg-gray-300 rounded"></div></div></div><div class="flex justify-between pt-4 pb-2"><div class="flex justify-start w-5/12"><div class="w-2 h-2 bg-gray-300 rounded-full mr-1"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div><div class="flex justify-start mb-1 w-7/12"><div class="w-2 h-2 bg-gray-300 rounded-full mr-1"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div></div></section>', 2)
8672
+ fe('<section class="hidden md:block"><div class="w-full h-52 bg-gray-300 mb-2 rounded-md"></div><div class="w-3/4 h-6 bg-gray-300 mb-1 rounded"></div><div class="w-2/3 h-4 bg-gray-300 mb-2 rounded"></div><div class="flex items-center mb-1"><div class="w-6 h-6 bg-gray-300 rounded-full mr-3"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div><div class="flex items-center"><div class="w-6 h-6 bg-gray-300 rounded-full mr-3"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div></section><section class="md:hidden flex-col items-start gap-2 border-b border-borderGray"><div class="flex flex-row"><div class="w-28 h-16 bg-gray-300 rounded-md"></div><div class="flex flex-col h-16 justify-center pl-2"><div class="w-3/4 h-6 bg-gray-300 rounded mb-1"></div><div class="w-1/2 h-4 bg-gray-300 rounded"></div></div></div><div class="flex justify-between pt-4 pb-2"><div class="flex justify-start w-5/12"><div class="w-2 h-2 bg-gray-300 rounded-full mr-1"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div><div class="flex justify-start mb-1 w-7/12"><div class="w-2 h-2 bg-gray-300 rounded-full mr-1"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div></div></section>', 2)
8632
8673
  ]))), 64))
8633
8674
  ]);
8634
8675
  }
@@ -8721,7 +8762,7 @@ function Hd(r, e, t, i, a, s) {
8721
8762
  t.isLoading ? w("", !0) : (u(), g("div", {
8722
8763
  key: 1,
8723
8764
  class: "w-full md:w-full md:mb-8 border border-secondary hover:border-accent hover:cursor-pointer p-2 rounded-lg overflow-hidden",
8724
- onClick: e[2] || (e[2] = (...f) => s.onCardClick && s.onCardClick(...f))
8765
+ onClick: e[2] || (e[2] = (...p) => s.onCardClick && s.onCardClick(...p))
8725
8766
  }, [
8726
8767
  n("section", Bd, [
8727
8768
  n("div", Id, [
@@ -8729,7 +8770,7 @@ function Hd(r, e, t, i, a, s) {
8729
8770
  src: s.image,
8730
8771
  alt: "Tournament Image",
8731
8772
  class: "w-full h-full object-cover mb-2 rounded-md",
8732
- onError: e[0] || (e[0] = (...f) => s.imageError && s.imageError(...f)),
8773
+ onError: e[0] || (e[0] = (...p) => s.imageError && s.imageError(...p)),
8733
8774
  style: Y(s.fallbackStyle)
8734
8775
  }, null, 44, Ed),
8735
8776
  t.data.HostedOnM2 ? (u(), g("img", zd)) : w("", !0)
@@ -8741,7 +8782,7 @@ function Hd(r, e, t, i, a, s) {
8741
8782
  class: "mb-1"
8742
8783
  }, {
8743
8784
  default: h(() => [
8744
- m(p(s.title), 1)
8785
+ m(f(s.title), 1)
8745
8786
  ]),
8746
8787
  _: 1
8747
8788
  }),
@@ -8752,7 +8793,7 @@ function Hd(r, e, t, i, a, s) {
8752
8793
  class: "mb-2"
8753
8794
  }, {
8754
8795
  default: h(() => [
8755
- m(p(s.location), 1)
8796
+ m(f(s.location), 1)
8756
8797
  ]),
8757
8798
  _: 1
8758
8799
  }),
@@ -8772,7 +8813,7 @@ function Hd(r, e, t, i, a, s) {
8772
8813
  class: ""
8773
8814
  }, {
8774
8815
  default: h(() => [
8775
- m(p(s.startDate) + " to " + p(s.endDate), 1)
8816
+ m(f(s.startDate) + " to " + f(s.endDate), 1)
8776
8817
  ]),
8777
8818
  _: 1
8778
8819
  })
@@ -8792,7 +8833,7 @@ function Hd(r, e, t, i, a, s) {
8792
8833
  class: ""
8793
8834
  }, {
8794
8835
  default: h(() => [
8795
- m(p(s.numberOfFencers) + " Registered Fencers", 1)
8836
+ m(f(s.numberOfFencers) + " Registered Fencers", 1)
8796
8837
  ]),
8797
8838
  _: 1
8798
8839
  })
@@ -8813,7 +8854,7 @@ function Hd(r, e, t, i, a, s) {
8813
8854
  class: ""
8814
8855
  }, {
8815
8856
  default: h(() => [
8816
- m(p(s.numberOfFencers) + " Bookmarked", 1)
8857
+ m(f(s.numberOfFencers) + " Bookmarked", 1)
8817
8858
  ]),
8818
8859
  _: 1
8819
8860
  })
@@ -8825,7 +8866,7 @@ function Hd(r, e, t, i, a, s) {
8825
8866
  src: s.image,
8826
8867
  alt: "Tournament Image",
8827
8868
  class: "w-28 h-16 object-cover rounded-md",
8828
- onError: e[1] || (e[1] = (...f) => s.imageError && s.imageError(...f)),
8869
+ onError: e[1] || (e[1] = (...p) => s.imageError && s.imageError(...p)),
8829
8870
  style: Y(s.fallbackStyle)
8830
8871
  }, null, 44, qd),
8831
8872
  n("div", Fd, [
@@ -8836,7 +8877,7 @@ function Hd(r, e, t, i, a, s) {
8836
8877
  class: "mb-1"
8837
8878
  }, {
8838
8879
  default: h(() => [
8839
- m(p(s.title), 1)
8880
+ m(f(s.title), 1)
8840
8881
  ]),
8841
8882
  _: 1
8842
8883
  }),
@@ -8847,7 +8888,7 @@ function Hd(r, e, t, i, a, s) {
8847
8888
  class: "mb-1"
8848
8889
  }, {
8849
8890
  default: h(() => [
8850
- m(p(s.location), 1)
8891
+ m(f(s.location), 1)
8851
8892
  ]),
8852
8893
  _: 1
8853
8894
  })
@@ -8867,7 +8908,7 @@ function Hd(r, e, t, i, a, s) {
8867
8908
  class: ""
8868
8909
  }, {
8869
8910
  default: h(() => [
8870
- m(p(s.numberOfFencers) + " Registered", 1)
8911
+ m(f(s.numberOfFencers) + " Registered", 1)
8871
8912
  ]),
8872
8913
  _: 1
8873
8914
  })
@@ -8885,7 +8926,7 @@ function Hd(r, e, t, i, a, s) {
8885
8926
  class: ""
8886
8927
  }, {
8887
8928
  default: h(() => [
8888
- m(p(s.startDate) + " to " + p(s.endDate), 1)
8929
+ m(f(s.startDate) + " to " + f(s.endDate), 1)
8889
8930
  ]),
8890
8931
  _: 1
8891
8932
  })
@@ -8933,12 +8974,12 @@ const Jd = /* @__PURE__ */ C(_d, [["render", Hd]]), Wd = {
8933
8974
  }
8934
8975
  }, Kd = { class: "p-4 w-full border-b md:py-6 last:border-b-0 flex items-center space-x-4" }, Yd = { class: "w-16 h-16 flex-shrink-0" }, Zd = ["src", "alt"], Gd = { class: "flex items-center justify-between w-full pr-2" }, Xd = { class: "flex flex-col flex-grow" }, $d = { class: "flex items-center space-x-4" }, ec = { class: "border border-primary rounded-lg h-10 flex justify-center items-center w-20 pl-4 pt-1" }, tc = { class: "flex-shrink-0" };
8935
8976
  function rc(r, e, t, i, a, s) {
8936
- var f, b, x, v;
8977
+ var p, b, x, v;
8937
8978
  const o = y("BaseText"), c = y("BasicDropDown"), d = y("BaseButton");
8938
8979
  return u(), g("div", Kd, [
8939
8980
  n("div", Yd, [
8940
8981
  n("img", {
8941
- src: (b = (f = t.data.Images) == null ? void 0 : f[0]) == null ? void 0 : b.URL,
8982
+ src: (b = (p = t.data.Images) == null ? void 0 : p[0]) == null ? void 0 : b.URL,
8942
8983
  alt: ((v = (x = t.data.Images) == null ? void 0 : x[0]) == null ? void 0 : v.AltText) || t.data.Name,
8943
8984
  class: "object-cover w-full h-full rounded-lg"
8944
8985
  }, null, 8, Zd)
@@ -8951,7 +8992,7 @@ function rc(r, e, t, i, a, s) {
8951
8992
  weight: "bold"
8952
8993
  }, {
8953
8994
  default: h(() => [
8954
- m(p(t.data.Name), 1)
8995
+ m(f(t.data.Name), 1)
8955
8996
  ]),
8956
8997
  _: 1
8957
8998
  }),
@@ -8961,7 +9002,7 @@ function rc(r, e, t, i, a, s) {
8961
9002
  class: "mt-1"
8962
9003
  }, {
8963
9004
  default: h(() => [
8964
- m(p(t.data.Description), 1)
9005
+ m(f(t.data.Description), 1)
8965
9006
  ]),
8966
9007
  _: 1
8967
9008
  })
@@ -8973,7 +9014,7 @@ function rc(r, e, t, i, a, s) {
8973
9014
  weight: "bold"
8974
9015
  }, {
8975
9016
  default: h(() => [
8976
- m("$" + p(t.data.Amount), 1)
9017
+ m("$" + f(t.data.Amount), 1)
8977
9018
  ]),
8978
9019
  _: 1
8979
9020
  }),
@@ -9105,15 +9146,15 @@ function mc(r, e, t, i, a, s) {
9105
9146
  const oh = /* @__PURE__ */ C(sc, [["render", mc]]), hc = {
9106
9147
  name: "SkeletonTournamentCard"
9107
9148
  }, gc = { class: "flex flex-col md:bg-white w-full border-b pb-2 mb-2 pl-1 pt-1 cursor-pointer last:border-b-0" };
9108
- function pc(r, e, t, i, a, s) {
9149
+ function fc(r, e, t, i, a, s) {
9109
9150
  return u(), g("section", gc, e[0] || (e[0] = [
9110
- pe('<div class="flex pt-1 w-full"><div class="w-24 md:w-32"><div class="relative w-24 h-16 md:w-32 md:h-20 mr-3 bg-gray-300 animate-pulse rounded-lg"></div></div><div class="flex flex-col pl-2"><div class="flex items-center mb-2 w-full"><div class="h-6 w-48 bg-gray-300 animate-pulse rounded"></div></div><div class="hidden md:flex items-center text-sm text-gray-600 mb-2"><div class="h-4 w-64 bg-gray-300 animate-pulse rounded"></div></div></div></div><div class="hidden md:flex mt-3 mb-1"><div class="flex flex-row w-full"><div class="flex items-center mr-10"><div class="h-4 w-16 bg-gray-300 animate-pulse rounded"></div></div><div class="flex items-center"><div class="h-4 w-32 bg-gray-300 animate-pulse rounded"></div></div></div></div><div class="flex flex-col md:hidden mt-2"><div class="flex items-center pb-2"><div class="h-4 w-28 bg-gray-300 animate-pulse rounded"></div></div><div class="flex flex-row"><div class="flex items-center mr-4"><div class="h-4 w-20 bg-gray-300 animate-pulse rounded"></div></div><div class="flex items-center"><div class="h-4 w-24 bg-gray-300 animate-pulse rounded"></div></div></div></div>', 3)
9151
+ fe('<div class="flex pt-1 w-full"><div class="w-24 md:w-32"><div class="relative w-24 h-16 md:w-32 md:h-20 mr-3 bg-gray-300 animate-pulse rounded-lg"></div></div><div class="flex flex-col pl-2"><div class="flex items-center mb-2 w-full"><div class="h-6 w-48 bg-gray-300 animate-pulse rounded"></div></div><div class="hidden md:flex items-center text-sm text-gray-600 mb-2"><div class="h-4 w-64 bg-gray-300 animate-pulse rounded"></div></div></div></div><div class="hidden md:flex mt-3 mb-1"><div class="flex flex-row w-full"><div class="flex items-center mr-10"><div class="h-4 w-16 bg-gray-300 animate-pulse rounded"></div></div><div class="flex items-center"><div class="h-4 w-32 bg-gray-300 animate-pulse rounded"></div></div></div></div><div class="flex flex-col md:hidden mt-2"><div class="flex items-center pb-2"><div class="h-4 w-28 bg-gray-300 animate-pulse rounded"></div></div><div class="flex flex-row"><div class="flex items-center mr-4"><div class="h-4 w-20 bg-gray-300 animate-pulse rounded"></div></div><div class="flex items-center"><div class="h-4 w-24 bg-gray-300 animate-pulse rounded"></div></div></div></div>', 3)
9111
9152
  ]));
9112
9153
  }
9113
- const fc = /* @__PURE__ */ C(hc, [["render", pc]]), bc = {
9154
+ const pc = /* @__PURE__ */ C(hc, [["render", fc]]), bc = {
9114
9155
  name: "TournamentListCard",
9115
9156
  components: {
9116
- TournamentListCardSkeleton: fc,
9157
+ TournamentListCardSkeleton: pc,
9117
9158
  BaseText: _,
9118
9159
  Icon: j
9119
9160
  },
@@ -9200,7 +9241,7 @@ function Dc(r, e, t, i, a, s) {
9200
9241
  t.isLoading ? w("", !0) : (u(), g("section", {
9201
9242
  key: 1,
9202
9243
  class: "flex flex-col md:bg-white w-full border-b pb-2 mb-2 pl-1 pt-1 cursor-pointer last:border-b-0",
9203
- onClick: e[0] || (e[0] = (...f) => s.handleCardClick && s.handleCardClick(...f))
9244
+ onClick: e[0] || (e[0] = (...p) => s.handleCardClick && s.handleCardClick(...p))
9204
9245
  }, [
9205
9246
  n("div", xc, [
9206
9247
  n("div", wc, [
@@ -9220,7 +9261,7 @@ function Dc(r, e, t, i, a, s) {
9220
9261
  weight: "bold"
9221
9262
  }, {
9222
9263
  default: h(() => [
9223
- m(p(s.tournamentName), 1)
9264
+ m(f(s.tournamentName), 1)
9224
9265
  ]),
9225
9266
  _: 1
9226
9267
  })
@@ -9233,7 +9274,7 @@ function Dc(r, e, t, i, a, s) {
9233
9274
  weight: "normal"
9234
9275
  }, {
9235
9276
  default: h(() => [
9236
- m(p(s.addressName), 1)
9277
+ m(f(s.addressName), 1)
9237
9278
  ]),
9238
9279
  _: 1
9239
9280
  })
@@ -9257,7 +9298,7 @@ function Dc(r, e, t, i, a, s) {
9257
9298
  weight: "normal"
9258
9299
  }, {
9259
9300
  default: h(() => [
9260
- m(p(s.participants) + " signed up", 1)
9301
+ m(f(s.participants) + " signed up", 1)
9261
9302
  ]),
9262
9303
  _: 1
9263
9304
  })
@@ -9278,7 +9319,7 @@ function Dc(r, e, t, i, a, s) {
9278
9319
  class: ""
9279
9320
  }, {
9280
9321
  default: h(() => [
9281
- m(p(s.participants) + " Bookmarked", 1)
9322
+ m(f(s.participants) + " Bookmarked", 1)
9282
9323
  ]),
9283
9324
  _: 1
9284
9325
  })
@@ -9298,7 +9339,7 @@ function Dc(r, e, t, i, a, s) {
9298
9339
  weight: "normal"
9299
9340
  }, {
9300
9341
  default: h(() => [
9301
- m(p(s.startDate) + " | " + p(s.startTime), 1)
9342
+ m(f(s.startDate) + " | " + f(s.startTime), 1)
9302
9343
  ]),
9303
9344
  _: 1
9304
9345
  })
@@ -9314,7 +9355,7 @@ function Dc(r, e, t, i, a, s) {
9314
9355
  weight: "normal"
9315
9356
  }, {
9316
9357
  default: h(() => [
9317
- m(p(s.addressName), 1)
9358
+ m(f(s.addressName), 1)
9318
9359
  ]),
9319
9360
  _: 1
9320
9361
  })
@@ -9335,7 +9376,7 @@ function Dc(r, e, t, i, a, s) {
9335
9376
  weight: "normal"
9336
9377
  }, {
9337
9378
  default: h(() => [
9338
- m(p(s.participants) + " signed up", 1)
9379
+ m(f(s.participants) + " signed up", 1)
9339
9380
  ]),
9340
9381
  _: 1
9341
9382
  })
@@ -9356,7 +9397,7 @@ function Dc(r, e, t, i, a, s) {
9356
9397
  class: ""
9357
9398
  }, {
9358
9399
  default: h(() => [
9359
- m(p(s.participants) + " Bookmarked", 1)
9400
+ m(f(s.participants) + " Bookmarked", 1)
9360
9401
  ]),
9361
9402
  _: 1
9362
9403
  })
@@ -9376,7 +9417,7 @@ function Dc(r, e, t, i, a, s) {
9376
9417
  weight: "normal"
9377
9418
  }, {
9378
9419
  default: h(() => [
9379
- m(p(s.startDate) + " | " + p(s.startTime), 1)
9420
+ m(f(s.startDate) + " | " + f(s.startTime), 1)
9380
9421
  ]),
9381
9422
  _: 1
9382
9423
  })
@@ -9478,7 +9519,7 @@ function Wc(r, e, t, i, a, s) {
9478
9519
  class: "mb-4"
9479
9520
  }, {
9480
9521
  default: h(() => [
9481
- m(p(t.title), 1)
9522
+ m(f(t.title), 1)
9482
9523
  ]),
9483
9524
  _: 1
9484
9525
  }),
@@ -9490,7 +9531,7 @@ function Wc(r, e, t, i, a, s) {
9490
9531
  class: "mb-6"
9491
9532
  }, {
9492
9533
  default: h(() => [
9493
- m(p(t.description), 1)
9534
+ m(f(t.description), 1)
9494
9535
  ]),
9495
9536
  _: 1
9496
9537
  }),
@@ -9512,7 +9553,7 @@ function Wc(r, e, t, i, a, s) {
9512
9553
  class: "mb-2 w-40 mt-16"
9513
9554
  }, {
9514
9555
  default: h(() => [
9515
- m(p(t.title), 1)
9556
+ m(f(t.title), 1)
9516
9557
  ]),
9517
9558
  _: 1
9518
9559
  }),
@@ -9524,7 +9565,7 @@ function Wc(r, e, t, i, a, s) {
9524
9565
  class: "mb-2 w-48"
9525
9566
  }, {
9526
9567
  default: h(() => [
9527
- m(p(t.description), 1)
9568
+ m(f(t.description), 1)
9528
9569
  ]),
9529
9570
  _: 1
9530
9571
  }),
@@ -9596,7 +9637,7 @@ function eu(r, e, t, i, a, s) {
9596
9637
  }])
9597
9638
  }, {
9598
9639
  default: h(() => [
9599
- m(p(c), 1)
9640
+ m(f(c), 1)
9600
9641
  ]),
9601
9642
  _: 2
9602
9643
  }, 1032, ["onClick", "class"])
@@ -9701,7 +9742,7 @@ const au = /* @__PURE__ */ C(tu, [["render", ou]]), nu = {
9701
9742
  }
9702
9743
  }
9703
9744
  }, iu = { class: "max-w-[1200px] mx-auto" }, lu = { class: "relative w-full h-3/4 flex justify-center bg-primary m-0" }, du = { class: "relative w-full border-b border-l border-r border-lineGrey" }, cu = { class: "hidden md:flex h-80 justify-between items-center p-14" }, uu = { class: "text-left text-white max-w-lg w-96" }, mu = { class: "flex flex-col w-1/3 align-right" }, hu = { class: "flex justify-center md:hidden text-left bg-primary w-full" }, gu = { class: "w-full px-6 py-8 text-center flex flex-col justify-center items-center" };
9704
- function pu(r, e, t, i, a, s) {
9745
+ function fu(r, e, t, i, a, s) {
9705
9746
  const o = y("BaseText"), c = y("BaseButton");
9706
9747
  return u(), g("section", iu, [
9707
9748
  e[2] || (e[2] = n("section", { class: "hidden md:flex border-t border-lineGrey w-full bg-primary" }, [
@@ -9722,7 +9763,7 @@ function pu(r, e, t, i, a, s) {
9722
9763
  class: "mb-4"
9723
9764
  }, {
9724
9765
  default: h(() => [
9725
- m(p(t.title), 1)
9766
+ m(f(t.title), 1)
9726
9767
  ]),
9727
9768
  _: 1
9728
9769
  })
@@ -9776,7 +9817,7 @@ function pu(r, e, t, i, a, s) {
9776
9817
  class: "mb-2"
9777
9818
  }, {
9778
9819
  default: h(() => [
9779
- m(p(t.title), 1)
9820
+ m(f(t.title), 1)
9780
9821
  ]),
9781
9822
  _: 1
9782
9823
  }),
@@ -9788,7 +9829,7 @@ function pu(r, e, t, i, a, s) {
9788
9829
  class: "mb-6"
9789
9830
  }, {
9790
9831
  default: h(() => [
9791
- m(p(t.description), 1)
9832
+ m(f(t.description), 1)
9792
9833
  ]),
9793
9834
  _: 1
9794
9835
  }),
@@ -9824,7 +9865,7 @@ function pu(r, e, t, i, a, s) {
9824
9865
  ])
9825
9866
  ]);
9826
9867
  }
9827
- const fu = /* @__PURE__ */ C(nu, [["render", pu]]), bu = {
9868
+ const pu = /* @__PURE__ */ C(nu, [["render", fu]]), bu = {
9828
9869
  name: "Footer",
9829
9870
  components: { Icon: j, InputField: xe, BaseButton: U, BaseText: _ },
9830
9871
  data() {
@@ -9858,7 +9899,7 @@ function Xu(r, e, t, i, a, s) {
9858
9899
  n("div", ku, [
9859
9900
  n("a", {
9860
9901
  href: "#",
9861
- onClick: e[0] || (e[0] = F((f) => s.pageChange("tournaments"), ["prevent"]))
9902
+ onClick: e[0] || (e[0] = F((p) => s.pageChange("tournaments"), ["prevent"]))
9862
9903
  }, [
9863
9904
  l(o, {
9864
9905
  color: "secondary",
@@ -9878,7 +9919,7 @@ function Xu(r, e, t, i, a, s) {
9878
9919
  n("div", _u, [
9879
9920
  n("a", {
9880
9921
  href: "#",
9881
- onClick: e[1] || (e[1] = F((f) => s.pageChange("clubs"), ["prevent"]))
9922
+ onClick: e[1] || (e[1] = F((p) => s.pageChange("clubs"), ["prevent"]))
9882
9923
  }, [
9883
9924
  l(o, {
9884
9925
  color: "secondary",
@@ -9899,7 +9940,7 @@ function Xu(r, e, t, i, a, s) {
9899
9940
  n("div", Tu, [
9900
9941
  n("a", {
9901
9942
  href: "#",
9902
- onClick: e[2] || (e[2] = F((f) => s.pageChange("leaderboard"), ["prevent"]))
9943
+ onClick: e[2] || (e[2] = F((p) => s.pageChange("leaderboard"), ["prevent"]))
9903
9944
  }, [
9904
9945
  l(o, {
9905
9946
  color: "secondary",
@@ -9921,7 +9962,7 @@ function Xu(r, e, t, i, a, s) {
9921
9962
  n("div", Iu, [
9922
9963
  n("a", {
9923
9964
  href: "#",
9924
- onClick: e[3] || (e[3] = F((f) => s.pageChange("tournaments"), ["prevent"]))
9965
+ onClick: e[3] || (e[3] = F((p) => s.pageChange("tournaments"), ["prevent"]))
9925
9966
  }, [
9926
9967
  l(o, {
9927
9968
  color: "secondary",
@@ -9941,7 +9982,7 @@ function Xu(r, e, t, i, a, s) {
9941
9982
  n("div", Eu, [
9942
9983
  n("a", {
9943
9984
  href: "#",
9944
- onClick: e[4] || (e[4] = F((f) => s.pageChange("clubs"), ["prevent"]))
9985
+ onClick: e[4] || (e[4] = F((p) => s.pageChange("clubs"), ["prevent"]))
9945
9986
  }, [
9946
9987
  l(o, {
9947
9988
  color: "secondary",
@@ -9961,7 +10002,7 @@ function Xu(r, e, t, i, a, s) {
9961
10002
  n("div", zu, [
9962
10003
  n("a", {
9963
10004
  href: "#",
9964
- onClick: e[5] || (e[5] = F((f) => s.pageChange("leaderboard"), ["prevent"]))
10005
+ onClick: e[5] || (e[5] = F((p) => s.pageChange("leaderboard"), ["prevent"]))
9965
10006
  }, [
9966
10007
  l(o, {
9967
10008
  color: "secondary",
@@ -9983,7 +10024,7 @@ function Xu(r, e, t, i, a, s) {
9983
10024
  n("div", Lu, [
9984
10025
  n("a", {
9985
10026
  href: "#",
9986
- onClick: e[6] || (e[6] = F((f) => s.pageChange("tournaments"), ["prevent"]))
10027
+ onClick: e[6] || (e[6] = F((p) => s.pageChange("tournaments"), ["prevent"]))
9987
10028
  }, [
9988
10029
  l(o, {
9989
10030
  color: "secondary",
@@ -10003,7 +10044,7 @@ function Xu(r, e, t, i, a, s) {
10003
10044
  n("div", Pu, [
10004
10045
  n("a", {
10005
10046
  href: "#",
10006
- onClick: e[7] || (e[7] = F((f) => s.pageChange("clubs"), ["prevent"]))
10047
+ onClick: e[7] || (e[7] = F((p) => s.pageChange("clubs"), ["prevent"]))
10007
10048
  }, [
10008
10049
  l(o, {
10009
10050
  color: "secondary",
@@ -10023,7 +10064,7 @@ function Xu(r, e, t, i, a, s) {
10023
10064
  n("div", ju, [
10024
10065
  n("a", {
10025
10066
  href: "#",
10026
- onClick: e[8] || (e[8] = F((f) => s.pageChange("leaderboard"), ["prevent"]))
10067
+ onClick: e[8] || (e[8] = F((p) => s.pageChange("leaderboard"), ["prevent"]))
10027
10068
  }, [
10028
10069
  l(o, {
10029
10070
  color: "secondary",
@@ -10144,7 +10185,7 @@ function Xu(r, e, t, i, a, s) {
10144
10185
  n("div", Wu, [
10145
10186
  n("a", {
10146
10187
  href: "#",
10147
- onClick: e[9] || (e[9] = F((f) => s.pageChange("tournaments"), ["prevent"]))
10188
+ onClick: e[9] || (e[9] = F((p) => s.pageChange("tournaments"), ["prevent"]))
10148
10189
  }, [
10149
10190
  l(o, {
10150
10191
  color: "secondary",
@@ -10162,7 +10203,7 @@ function Xu(r, e, t, i, a, s) {
10162
10203
  ]),
10163
10204
  n("a", {
10164
10205
  href: "#",
10165
- onClick: e[10] || (e[10] = F((f) => s.pageChange("tournaments"), ["prevent"]))
10206
+ onClick: e[10] || (e[10] = F((p) => s.pageChange("tournaments"), ["prevent"]))
10166
10207
  }, [
10167
10208
  l(o, {
10168
10209
  color: "secondary",
@@ -10180,7 +10221,7 @@ function Xu(r, e, t, i, a, s) {
10180
10221
  ]),
10181
10222
  n("a", {
10182
10223
  href: "#",
10183
- onClick: e[11] || (e[11] = F((f) => s.pageChange("tournaments"), ["prevent"]))
10224
+ onClick: e[11] || (e[11] = F((p) => s.pageChange("tournaments"), ["prevent"]))
10184
10225
  }, [
10185
10226
  l(o, {
10186
10227
  color: "secondary",
@@ -10312,21 +10353,21 @@ function om(r, e, t, i, a, s) {
10312
10353
  weight: "bold"
10313
10354
  }, {
10314
10355
  default: h(() => [
10315
- m(p(s.poolName) + " - " + p(s.ringName), 1)
10356
+ m(f(s.poolName) + " - " + f(s.ringName), 1)
10316
10357
  ]),
10317
10358
  _: 1
10318
10359
  }),
10319
10360
  l(o, { color: "primary" }, {
10320
10361
  default: h(() => [
10321
- m(p(s.directorName), 1)
10362
+ m(f(s.directorName), 1)
10322
10363
  ]),
10323
10364
  _: 1
10324
10365
  })
10325
10366
  ]),
10326
10367
  e[0] || (e[0] = n("hr", { class: "border border-accent mb-4" }, null, -1)),
10327
10368
  n("div", sm, [
10328
- (u(!0), g(I, null, z(s.fencers, (d, f) => (u(), E(c, {
10329
- key: d.id || f,
10369
+ (u(!0), g(I, null, z(s.fencers, (d, p) => (u(), E(c, {
10370
+ key: d.id || p,
10330
10371
  fencer: d,
10331
10372
  large: t.large,
10332
10373
  poolVariant: !0
@@ -10418,7 +10459,7 @@ const ih = /* @__PURE__ */ C(nm, [["render", im]]), lm = {
10418
10459
  return r === 1 && e !== 11 ? `${(a = this.fencer) == null ? void 0 : a.Place}st` : r === 2 && e !== 12 ? `${(s = this.fencer) == null ? void 0 : s.Place}nd` : r === 3 && e !== 13 ? `${(o = this.fencer) == null ? void 0 : o.Place}rd` : `${(c = this.fencer) == null ? void 0 : c.Place}th`;
10419
10460
  }
10420
10461
  }
10421
- }, dm = { class: "flex rounded-lg shadow-lg bg-white" }, cm = { class: "border-r border-orange bg-orange rounded-tl-lg rounded-bl-lg w-10 items-center text-center pl-1 pt-4" }, um = { class: "flex items-center w-full py-2" }, mm = ["src"], hm = ["src"], gm = { class: "flex flex-col flex-grow ml-3" }, pm = { class: "border-r border-orange bg-orange rounded-tl-lg rounded-bl-lg w-10 items-center text-center pl-1 pt-1" }, fm = { class: "flex items-center w-full pb-0.5" }, bm = { class: "flex flex-col flex-grow ml-3" };
10462
+ }, dm = { class: "flex rounded-lg shadow-lg bg-white" }, cm = { class: "border-r border-orange bg-orange rounded-tl-lg rounded-bl-lg w-10 items-center text-center pl-1 pt-4" }, um = { class: "flex items-center w-full py-2" }, mm = ["src"], hm = ["src"], gm = { class: "flex flex-col flex-grow ml-3" }, fm = { class: "border-r border-orange bg-orange rounded-tl-lg rounded-bl-lg w-10 items-center text-center pl-1 pt-1" }, pm = { class: "flex items-center w-full pb-0.5" }, bm = { class: "flex flex-col flex-grow ml-3" };
10422
10463
  function ym(r, e, t, i, a, s) {
10423
10464
  const o = y("BaseText");
10424
10465
  return u(), g("div", dm, [
@@ -10431,7 +10472,7 @@ function ym(r, e, t, i, a, s) {
10431
10472
  class: "bg-orange"
10432
10473
  }, {
10433
10474
  default: h(() => [
10434
- m(p(t.fencer.Place), 1)
10475
+ m(f(t.fencer.Place), 1)
10435
10476
  ]),
10436
10477
  _: 1
10437
10478
  })
@@ -10455,7 +10496,7 @@ function ym(r, e, t, i, a, s) {
10455
10496
  class: ""
10456
10497
  }, {
10457
10498
  default: h(() => [
10458
- m(p(s.fullName), 1)
10499
+ m(f(s.fullName), 1)
10459
10500
  ]),
10460
10501
  _: 1
10461
10502
  }),
@@ -10466,7 +10507,7 @@ function ym(r, e, t, i, a, s) {
10466
10507
  class: "text-nowrap"
10467
10508
  }, {
10468
10509
  default: h(() => [
10469
- m(p(s.clubName), 1)
10510
+ m(f(s.clubName), 1)
10470
10511
  ]),
10471
10512
  _: 1
10472
10513
  })
@@ -10474,7 +10515,7 @@ function ym(r, e, t, i, a, s) {
10474
10515
  e[0] || (e[0] = n("div", { class: "text-right" }, null, -1))
10475
10516
  ])
10476
10517
  ], 64)) : (u(), g(I, { key: 1 }, [
10477
- n("div", pm, [
10518
+ n("div", fm, [
10478
10519
  l(o, {
10479
10520
  size: "2xl",
10480
10521
  color: "secondary",
@@ -10482,12 +10523,12 @@ function ym(r, e, t, i, a, s) {
10482
10523
  class: "bg-orange"
10483
10524
  }, {
10484
10525
  default: h(() => [
10485
- m(p(t.fencer.Place), 1)
10526
+ m(f(t.fencer.Place), 1)
10486
10527
  ]),
10487
10528
  _: 1
10488
10529
  })
10489
10530
  ]),
10490
- n("div", fm, [
10531
+ n("div", pm, [
10491
10532
  n("div", bm, [
10492
10533
  l(o, {
10493
10534
  size: "",
@@ -10496,7 +10537,7 @@ function ym(r, e, t, i, a, s) {
10496
10537
  class: ""
10497
10538
  }, {
10498
10539
  default: h(() => [
10499
- m(p(s.fullName), 1)
10540
+ m(f(s.fullName), 1)
10500
10541
  ]),
10501
10542
  _: 1
10502
10543
  }),
@@ -10507,7 +10548,7 @@ function ym(r, e, t, i, a, s) {
10507
10548
  class: "-mt-0.5"
10508
10549
  }, {
10509
10550
  default: h(() => [
10510
- m(p(s.clubName), 1)
10551
+ m(f(s.clubName), 1)
10511
10552
  ]),
10512
10553
  _: 1
10513
10554
  })
@@ -10590,9 +10631,9 @@ function Sm(r, e, t, i, a, s) {
10590
10631
  key: d,
10591
10632
  class: "flex flex-col gap-2 w-64"
10592
10633
  }, [
10593
- (u(!0), g(I, null, z(c, (f) => (u(), E(o, {
10594
- key: `${f.PersonId}-${f.Place}`,
10595
- fencer: f,
10634
+ (u(!0), g(I, null, z(c, (p) => (u(), E(o, {
10635
+ key: `${p.PersonId}-${p.Place}`,
10636
+ fencer: p,
10596
10637
  large: !1
10597
10638
  }, null, 8, ["fencer"]))), 128))
10598
10639
  ]))), 128))
@@ -10605,7 +10646,7 @@ const lh = /* @__PURE__ */ C(wm, [["render", Sm]]), Am = {
10605
10646
  RatingSystemAnnouncement: yd,
10606
10647
  BaseText: _,
10607
10648
  Footer: $u,
10608
- DoubleButtonBanner: fu,
10649
+ DoubleButtonBanner: pu,
10609
10650
  SingleButtonBanner: au,
10610
10651
  GridLayout: ct,
10611
10652
  ArticleCard: Ze,
@@ -10692,7 +10733,7 @@ const lh = /* @__PURE__ */ C(wm, [["render", Sm]]), Am = {
10692
10733
  }
10693
10734
  }, km = { class: "m-0 w-full bg-secondary" };
10694
10735
  function _m(r, e, t, i, a, s) {
10695
- const o = y("PageHeader"), c = y("HeroBanner"), d = y("ScrollNav"), f = y("GridLayout"), b = y("SingleButtonBanner"), x = y("RatingSystemAnnouncement"), v = y("DoubleButtonBanner"), k = y("Footer");
10736
+ const o = y("PageHeader"), c = y("HeroBanner"), d = y("ScrollNav"), p = y("GridLayout"), b = y("SingleButtonBanner"), x = y("RatingSystemAnnouncement"), v = y("DoubleButtonBanner"), k = y("Footer");
10696
10737
  return u(), g(I, null, [
10697
10738
  n("div", km, [
10698
10739
  l(o, { onChangePage: s.changePage }, null, 8, ["onChangePage"]),
@@ -10703,7 +10744,7 @@ function _m(r, e, t, i, a, s) {
10703
10744
  imageSrc: t.imageSrc
10704
10745
  }, null, 8, ["title", "buttonLabel", "description", "imageSrc"]),
10705
10746
  l(d, { buffer: 200 }),
10706
- l(f, {
10747
+ l(p, {
10707
10748
  cardComponent: a.TournamentCard,
10708
10749
  items: s.limitedTournaments,
10709
10750
  maxColumns: 3,
@@ -10727,7 +10768,7 @@ function _m(r, e, t, i, a, s) {
10727
10768
  onHandleButtonClickOne: e[2] || (e[2] = (A) => s.changePage("submitresults")),
10728
10769
  onHandleButtonClickTwo: e[3] || (e[3] = (A) => s.changePage("runtournament"))
10729
10770
  }),
10730
- l(f, {
10771
+ l(p, {
10731
10772
  cardComponent: s.ArticleCard,
10732
10773
  items: t.articles,
10733
10774
  maxColumns: 3,
@@ -10756,7 +10797,7 @@ export {
10756
10797
  Hm as ClubListCard,
10757
10798
  Jm as ClubMember,
10758
10799
  Fm as ContactUsForm,
10759
- fu as DoubleButtonBanner,
10800
+ pu as DoubleButtonBanner,
10760
10801
  Ym as EventCartCard,
10761
10802
  Km as EventListCard,
10762
10803
  Ge as FencerCard,