@dcrackel/meyersquaredui 1.0.111 → 1.0.112
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.
|
@@ -4,7 +4,7 @@ const S = (r, e) => {
|
|
|
4
4
|
for (const [a, o] of e)
|
|
5
5
|
t[a] = o;
|
|
6
6
|
return t;
|
|
7
|
-
},
|
|
7
|
+
}, gt = {
|
|
8
8
|
name: "BaseText",
|
|
9
9
|
props: {
|
|
10
10
|
tag: {
|
|
@@ -56,7 +56,7 @@ const S = (r, e) => {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
-
function
|
|
59
|
+
function pt(r, e, t, a, o, s) {
|
|
60
60
|
return f(), me(Ye(t.tag), {
|
|
61
61
|
class: T(s.textClasses)
|
|
62
62
|
}, {
|
|
@@ -66,7 +66,7 @@ function gt(r, e, t, a, o, s) {
|
|
|
66
66
|
_: 3
|
|
67
67
|
}, 8, ["class"]);
|
|
68
68
|
}
|
|
69
|
-
const B = /* @__PURE__ */ S(
|
|
69
|
+
const B = /* @__PURE__ */ S(gt, [["render", pt]]), ft = {
|
|
70
70
|
name: "Icon",
|
|
71
71
|
props: {
|
|
72
72
|
icon: {
|
|
@@ -515,22 +515,22 @@ function Ot(r, e, t, a) {
|
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
517
|
return new (t || (t = Promise))(function(s, n) {
|
|
518
|
-
function d(
|
|
518
|
+
function d(g) {
|
|
519
519
|
try {
|
|
520
|
-
h(a.next(
|
|
521
|
-
} catch (
|
|
522
|
-
n(
|
|
520
|
+
h(a.next(g));
|
|
521
|
+
} catch (p) {
|
|
522
|
+
n(p);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
function l(
|
|
525
|
+
function l(g) {
|
|
526
526
|
try {
|
|
527
|
-
h(a.throw(
|
|
528
|
-
} catch (
|
|
529
|
-
n(
|
|
527
|
+
h(a.throw(g));
|
|
528
|
+
} catch (p) {
|
|
529
|
+
n(p);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function h(
|
|
533
|
-
|
|
532
|
+
function h(g) {
|
|
533
|
+
g.done ? s(g.value) : o(g.value).then(d, l);
|
|
534
534
|
}
|
|
535
535
|
h((a = a.apply(r, [])).next());
|
|
536
536
|
});
|
|
@@ -585,8 +585,8 @@ class X {
|
|
|
585
585
|
* const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
|
|
586
586
|
* ```
|
|
587
587
|
*/
|
|
588
|
-
constructor({ apiKey: e, authReferrerPolicy: t, channel: a, client: o, id: s = Te, language: n, libraries: d = [], mapIds: l, nonce: h, region:
|
|
589
|
-
if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = t, this.channel = a, this.client = o, this.id = s || Te, this.language = n, this.libraries = d, this.mapIds = l, this.nonce = h, this.region =
|
|
588
|
+
constructor({ apiKey: e, authReferrerPolicy: t, channel: a, client: o, id: s = Te, language: n, libraries: d = [], mapIds: l, nonce: h, region: g, retries: p = 3, url: x = "https://maps.googleapis.com/maps/api/js", version: k }) {
|
|
589
|
+
if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = t, this.channel = a, this.client = o, this.id = s || Te, this.language = n, this.libraries = d, this.mapIds = l, this.nonce = h, this.region = g, this.retries = p, this.url = x, this.version = k, X.instance) {
|
|
590
590
|
if (!Nt(this.options, X.instance.options))
|
|
591
591
|
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(X.instance.options)}`);
|
|
592
592
|
return X.instance;
|
|
@@ -683,8 +683,8 @@ class X {
|
|
|
683
683
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
684
684
|
(s) => !a[s] && delete a[s]
|
|
685
685
|
), !((t = (e = window == null ? void 0 : window.google) === null || e === void 0 ? void 0 : e.maps) === null || t === void 0) && t.importLibrary || ((s) => {
|
|
686
|
-
let n, d, l, h = "The Google Maps JavaScript API",
|
|
687
|
-
w = w[
|
|
686
|
+
let n, d, l, h = "The Google Maps JavaScript API", g = "google", p = "importLibrary", x = "__ib__", k = document, w = window;
|
|
687
|
+
w = w[g] || (w[g] = {});
|
|
688
688
|
const C = w.maps || (w.maps = {}), _ = /* @__PURE__ */ new Set(), z = new URLSearchParams(), E = () => (
|
|
689
689
|
// @ts-ignore
|
|
690
690
|
n || (n = new Promise((L, R) => Ot(this, void 0, void 0, function* () {
|
|
@@ -692,10 +692,10 @@ class X {
|
|
|
692
692
|
yield d = k.createElement("script"), d.id = this.id, z.set("libraries", [..._] + "");
|
|
693
693
|
for (l in s)
|
|
694
694
|
z.set(l.replace(/[A-Z]/g, (V) => "_" + V[0].toLowerCase()), s[l]);
|
|
695
|
-
z.set("callback",
|
|
695
|
+
z.set("callback", g + ".maps." + x), d.src = this.url + "?" + z, C[x] = L, d.onerror = () => n = R(Error(h + " could not load.")), d.nonce = this.nonce || ((O = k.querySelector("script[nonce]")) === null || O === void 0 ? void 0 : O.nonce) || "", k.head.append(d);
|
|
696
696
|
})))
|
|
697
697
|
);
|
|
698
|
-
C[
|
|
698
|
+
C[p] ? console.warn(h + " only loads once. Ignoring:", s) : C[p] = (L, ...R) => _.add(L) && E().then(() => C[p](L, ...R));
|
|
699
699
|
})(a);
|
|
700
700
|
const o = this.libraries.map((s) => this.importLibrary(s));
|
|
701
701
|
o.length || o.push(this.importLibrary("core")), Promise.all(o).then(() => this.callback(), (s) => {
|
|
@@ -1034,9 +1034,9 @@ const Me = [
|
|
|
1034
1034
|
const t = I(), a = I(!1), o = I(), s = I(), n = I(!1);
|
|
1035
1035
|
re(ee, o), re(te, s), re(et, n);
|
|
1036
1036
|
const d = () => {
|
|
1037
|
-
const
|
|
1038
|
-
Object.keys(
|
|
1039
|
-
|
|
1037
|
+
const p = { ...r };
|
|
1038
|
+
Object.keys(p).forEach((w) => {
|
|
1039
|
+
p[w] === void 0 && delete p[w];
|
|
1040
1040
|
});
|
|
1041
1041
|
const x = (w) => {
|
|
1042
1042
|
var C;
|
|
@@ -1050,11 +1050,11 @@ const Me = [
|
|
|
1050
1050
|
fullscreenControlOptions: x(r.fullscreenControlPosition),
|
|
1051
1051
|
disableDefaultUI: r.disableDefaultUi
|
|
1052
1052
|
};
|
|
1053
|
-
return { ...
|
|
1053
|
+
return { ...p, ...k };
|
|
1054
1054
|
}, l = H(
|
|
1055
1055
|
[s, o],
|
|
1056
|
-
([
|
|
1057
|
-
const k =
|
|
1056
|
+
([p, x]) => {
|
|
1057
|
+
const k = p, w = x;
|
|
1058
1058
|
k && w && (k.event.addListenerOnce(w, "tilesloaded", () => {
|
|
1059
1059
|
n.value = !0;
|
|
1060
1060
|
}), setTimeout(l, 0));
|
|
@@ -1062,13 +1062,13 @@ const Me = [
|
|
|
1062
1062
|
{ immediate: !0 }
|
|
1063
1063
|
), h = () => {
|
|
1064
1064
|
try {
|
|
1065
|
-
const { apiKey:
|
|
1066
|
-
Le = new X({ apiKey:
|
|
1067
|
-
} catch (
|
|
1068
|
-
console.error(
|
|
1065
|
+
const { apiKey: p, region: x, version: k, language: w, libraries: C, nonce: _ } = r;
|
|
1066
|
+
Le = new X({ apiKey: p, region: x, version: k, language: w, libraries: C, nonce: _ });
|
|
1067
|
+
} catch (p) {
|
|
1068
|
+
console.error(p);
|
|
1069
1069
|
}
|
|
1070
|
-
},
|
|
1071
|
-
s.value = W(
|
|
1070
|
+
}, g = (p) => {
|
|
1071
|
+
s.value = W(p.maps), o.value = W(new p.maps.Map(t.value, d()));
|
|
1072
1072
|
const x = Dt(s.value);
|
|
1073
1073
|
s.value[ye] = x, Me.forEach((w) => {
|
|
1074
1074
|
var C;
|
|
@@ -1089,10 +1089,10 @@ const Me = [
|
|
|
1089
1089
|
);
|
|
1090
1090
|
};
|
|
1091
1091
|
return Qe(() => {
|
|
1092
|
-
r.apiPromise && r.apiPromise instanceof Promise ? r.apiPromise.then(
|
|
1092
|
+
r.apiPromise && r.apiPromise instanceof Promise ? r.apiPromise.then(g) : (h(), Le.load().then(g));
|
|
1093
1093
|
}), $(() => {
|
|
1094
|
-
var
|
|
1095
|
-
n.value = !1, o.value && ((
|
|
1094
|
+
var p;
|
|
1095
|
+
n.value = !1, o.value && ((p = s.value) == null || p.event.clearInstanceListeners(o.value));
|
|
1096
1096
|
}), { mapRef: t, ready: a, map: o, api: s, mapTilesLoaded: n };
|
|
1097
1097
|
}
|
|
1098
1098
|
}), Ft = (r, e) => {
|
|
@@ -1163,12 +1163,12 @@ const q = /* @__PURE__ */ Ht(Wt), je = ["click", "drag", "dragend", "dragstart",
|
|
|
1163
1163
|
},
|
|
1164
1164
|
emits: je,
|
|
1165
1165
|
setup(r, { emit: e, expose: t, slots: a }) {
|
|
1166
|
-
const o = Q(r, "options"), s = Q(r, "pinOptions"), n = I(), d = P(ee, I()), l = P(te, I()), h = P(Se, I()),
|
|
1166
|
+
const o = Q(r, "options"), s = Q(r, "pinOptions"), n = I(), d = P(ee, I()), l = P(te, I()), h = P(Se, I()), g = ce(
|
|
1167
1167
|
() => !!(h.value && l.value && n.value instanceof google.maps.marker.AdvancedMarkerElement)
|
|
1168
1168
|
);
|
|
1169
1169
|
return H(
|
|
1170
1170
|
[d, o, s],
|
|
1171
|
-
async (
|
|
1171
|
+
async (p, [x, k, w]) => {
|
|
1172
1172
|
var C, _, z;
|
|
1173
1173
|
const E = !q(o.value, k) || !q(s.value, w) || d.value !== x;
|
|
1174
1174
|
if (!d.value || !l.value || !E)
|
|
@@ -1179,9 +1179,9 @@ const q = /* @__PURE__ */ Ht(Wt), je = ["click", "drag", "dragend", "dragstart",
|
|
|
1179
1179
|
Object.assign(n.value, {
|
|
1180
1180
|
content: s.value ? new R(s.value).element : V,
|
|
1181
1181
|
...N
|
|
1182
|
-
}),
|
|
1182
|
+
}), g.value && ((C = h.value) == null || C.removeMarker(n.value), (_ = h.value) == null || _.addMarker(n.value));
|
|
1183
1183
|
} else
|
|
1184
|
-
s.value && (o.value.content = new R(s.value).element), n.value = W(new L(o.value)),
|
|
1184
|
+
s.value && (o.value.content = new R(s.value).element), n.value = W(new L(o.value)), g.value ? (z = h.value) == null || z.addMarker(n.value) : n.value.map = d.value, je.forEach((O) => {
|
|
1185
1185
|
var V;
|
|
1186
1186
|
(V = n.value) == null || V.addListener(O, (N) => e(O, N));
|
|
1187
1187
|
});
|
|
@@ -1190,11 +1190,11 @@ const q = /* @__PURE__ */ Ht(Wt), je = ["click", "drag", "dragend", "dragstart",
|
|
|
1190
1190
|
immediate: !0
|
|
1191
1191
|
}
|
|
1192
1192
|
), $(() => {
|
|
1193
|
-
var
|
|
1194
|
-
n.value && ((
|
|
1193
|
+
var p, x;
|
|
1194
|
+
n.value && ((p = l.value) == null || p.event.clearInstanceListeners(n.value), g.value ? (x = h.value) == null || x.removeMarker(n.value) : n.value.map = null);
|
|
1195
1195
|
}), re(_e, n), t({ marker: n }), () => {
|
|
1196
|
-
var
|
|
1197
|
-
return (
|
|
1196
|
+
var p;
|
|
1197
|
+
return (p = a.default) == null ? void 0 : p.call(a);
|
|
1198
1198
|
};
|
|
1199
1199
|
}
|
|
1200
1200
|
}), qt = (r) => r === "Marker", Yt = (r) => r === ye, ie = (r, e, t, a) => {
|
|
@@ -1203,9 +1203,9 @@ const q = /* @__PURE__ */ Ht(Wt), je = ["click", "drag", "dragend", "dragstart",
|
|
|
1203
1203
|
);
|
|
1204
1204
|
return H(
|
|
1205
1205
|
[s, t],
|
|
1206
|
-
(h, [
|
|
1206
|
+
(h, [g, p]) => {
|
|
1207
1207
|
var x, k, w;
|
|
1208
|
-
const C = !q(t.value,
|
|
1208
|
+
const C = !q(t.value, p) || s.value !== g;
|
|
1209
1209
|
!s.value || !n.value || !C || (o.value ? (o.value.setOptions(t.value), l.value && ((x = d.value) == null || x.removeMarker(o.value), (k = d.value) == null || k.addMarker(o.value))) : (qt(r) ? o.value = W(
|
|
1210
1210
|
new n.value[r](t.value)
|
|
1211
1211
|
) : Yt(r) ? o.value = W(
|
|
@@ -1224,8 +1224,8 @@ const q = /* @__PURE__ */ Ht(Wt), je = ["click", "drag", "dragend", "dragstart",
|
|
|
1224
1224
|
immediate: !0
|
|
1225
1225
|
}
|
|
1226
1226
|
), $(() => {
|
|
1227
|
-
var h,
|
|
1228
|
-
o.value && ((h = n.value) == null || h.event.clearInstanceListeners(o.value), l.value ? (
|
|
1227
|
+
var h, g;
|
|
1228
|
+
o.value && ((h = n.value) == null || h.event.clearInstanceListeners(o.value), l.value ? (g = d.value) == null || g.removeMarker(o.value) : o.value.setMap(null));
|
|
1229
1229
|
}), o;
|
|
1230
1230
|
}, Pe = [
|
|
1231
1231
|
"animation_changed",
|
|
@@ -1346,28 +1346,28 @@ U({
|
|
|
1346
1346
|
setup(r, { emit: e }) {
|
|
1347
1347
|
const t = I(null), a = P(ee, I()), o = P(te, I()), s = P(et, I(!1)), n = H(
|
|
1348
1348
|
[s, o, t],
|
|
1349
|
-
([h,
|
|
1350
|
-
|
|
1349
|
+
([h, g, p]) => {
|
|
1350
|
+
g && h && p && (d(r.position), e("content:loaded"), setTimeout(n, 0));
|
|
1351
1351
|
},
|
|
1352
1352
|
{ immediate: !0 }
|
|
1353
1353
|
), d = (h) => {
|
|
1354
1354
|
if (a.value && o.value && t.value) {
|
|
1355
|
-
const
|
|
1356
|
-
a.value.controls[
|
|
1355
|
+
const g = o.value.ControlPosition[h];
|
|
1356
|
+
a.value.controls[g].push(t.value);
|
|
1357
1357
|
}
|
|
1358
1358
|
}, l = (h) => {
|
|
1359
1359
|
if (a.value && o.value) {
|
|
1360
|
-
let
|
|
1361
|
-
const
|
|
1362
|
-
a.value.controls[
|
|
1363
|
-
x === t.value && (
|
|
1364
|
-
}),
|
|
1360
|
+
let g = null;
|
|
1361
|
+
const p = o.value.ControlPosition[h];
|
|
1362
|
+
a.value.controls[p].forEach((x, k) => {
|
|
1363
|
+
x === t.value && (g = k);
|
|
1364
|
+
}), g !== null && a.value.controls[p].removeAt(g);
|
|
1365
1365
|
}
|
|
1366
1366
|
};
|
|
1367
1367
|
return $(() => l(r.position)), H(
|
|
1368
1368
|
() => r.position,
|
|
1369
|
-
(h,
|
|
1370
|
-
l(
|
|
1369
|
+
(h, g) => {
|
|
1370
|
+
l(g), d(h);
|
|
1371
1371
|
}
|
|
1372
1372
|
), H(
|
|
1373
1373
|
() => r.index,
|
|
@@ -1392,12 +1392,12 @@ U({
|
|
|
1392
1392
|
emits: [...De, "update:modelValue"],
|
|
1393
1393
|
setup(r, { slots: e, emit: t, expose: a }) {
|
|
1394
1394
|
const o = I(), s = I(), n = P(ee, I()), d = P(te, I()), l = P(_e, I());
|
|
1395
|
-
let h,
|
|
1396
|
-
const
|
|
1395
|
+
let h, g = r.modelValue;
|
|
1396
|
+
const p = ce(() => {
|
|
1397
1397
|
var C;
|
|
1398
1398
|
return (C = e.default) == null ? void 0 : C.call(e).some((_) => _.type !== Je);
|
|
1399
1399
|
}), x = (C) => {
|
|
1400
|
-
|
|
1400
|
+
g = C, t("update:modelValue", C);
|
|
1401
1401
|
}, k = (C) => {
|
|
1402
1402
|
o.value && (o.value.open({ map: n.value, anchor: l.value, ...C }), x(!0));
|
|
1403
1403
|
}, w = () => {
|
|
@@ -1411,15 +1411,15 @@ U({
|
|
|
1411
1411
|
const R = !q(_, E) || n.value !== z;
|
|
1412
1412
|
n.value && d.value && R && (o.value ? (o.value.setOptions({
|
|
1413
1413
|
..._,
|
|
1414
|
-
content:
|
|
1414
|
+
content: p.value ? s.value : _.content
|
|
1415
1415
|
}), l.value || k()) : (o.value = W(
|
|
1416
1416
|
new d.value.InfoWindow({
|
|
1417
1417
|
..._,
|
|
1418
|
-
content:
|
|
1418
|
+
content: p.value ? s.value : _.content
|
|
1419
1419
|
})
|
|
1420
1420
|
), l.value && (h = l.value.addListener("click", () => {
|
|
1421
1421
|
k();
|
|
1422
|
-
})), (!l.value ||
|
|
1422
|
+
})), (!l.value || g) && k(), De.forEach((O) => {
|
|
1423
1423
|
var V;
|
|
1424
1424
|
(V = o.value) == null || V.addListener(O, (N) => t(O, N));
|
|
1425
1425
|
}), (L = o.value) == null || L.addListener("closeclick", () => x(!1))));
|
|
@@ -1430,13 +1430,13 @@ U({
|
|
|
1430
1430
|
), H(
|
|
1431
1431
|
() => r.modelValue,
|
|
1432
1432
|
(C) => {
|
|
1433
|
-
C !==
|
|
1433
|
+
C !== g && (C ? k() : w());
|
|
1434
1434
|
}
|
|
1435
1435
|
);
|
|
1436
1436
|
}), $(() => {
|
|
1437
1437
|
var C;
|
|
1438
1438
|
h && h.remove(), o.value && ((C = d.value) == null || C.event.clearInstanceListeners(o.value), w());
|
|
1439
|
-
}), a({ infoWindow: o, open: k, close: w }), { infoWindow: o, infoWindowRef: s, hasSlotContent:
|
|
1439
|
+
}), a({ infoWindow: o, open: k, close: w }), { infoWindow: o, infoWindowRef: s, hasSlotContent: p, open: k, close: w };
|
|
1440
1440
|
}
|
|
1441
1441
|
});
|
|
1442
1442
|
const Re = [
|
|
@@ -1518,16 +1518,16 @@ class Ae {
|
|
|
1518
1518
|
throw new Error("Data not yet indexed - call index.finish().");
|
|
1519
1519
|
const { ids: s, coords: n, nodeSize: d } = this, l = [0, s.length - 1, 0], h = [];
|
|
1520
1520
|
for (; l.length; ) {
|
|
1521
|
-
const
|
|
1522
|
-
if (
|
|
1523
|
-
for (let _ = x; _ <=
|
|
1521
|
+
const g = l.pop() || 0, p = l.pop() || 0, x = l.pop() || 0;
|
|
1522
|
+
if (p - x <= d) {
|
|
1523
|
+
for (let _ = x; _ <= p; _++) {
|
|
1524
1524
|
const z = n[2 * _], E = n[2 * _ + 1];
|
|
1525
1525
|
z >= e && z <= a && E >= t && E <= o && h.push(s[_]);
|
|
1526
1526
|
}
|
|
1527
1527
|
continue;
|
|
1528
1528
|
}
|
|
1529
|
-
const k = x +
|
|
1530
|
-
w >= e && w <= a && C >= t && C <= o && h.push(s[k]), (
|
|
1529
|
+
const k = x + p >> 1, w = n[2 * k], C = n[2 * k + 1];
|
|
1530
|
+
w >= e && w <= a && C >= t && C <= o && h.push(s[k]), (g === 0 ? e <= w : t <= C) && (l.push(x), l.push(k - 1), l.push(1 - g)), (g === 0 ? a >= w : o >= C) && (l.push(k + 1), l.push(p), l.push(1 - g));
|
|
1531
1531
|
}
|
|
1532
1532
|
return h;
|
|
1533
1533
|
}
|
|
@@ -1543,14 +1543,14 @@ class Ae {
|
|
|
1543
1543
|
throw new Error("Data not yet indexed - call index.finish().");
|
|
1544
1544
|
const { ids: o, coords: s, nodeSize: n } = this, d = [0, o.length - 1, 0], l = [], h = a * a;
|
|
1545
1545
|
for (; d.length; ) {
|
|
1546
|
-
const
|
|
1547
|
-
if (
|
|
1548
|
-
for (let _ = x; _ <=
|
|
1546
|
+
const g = d.pop() || 0, p = d.pop() || 0, x = d.pop() || 0;
|
|
1547
|
+
if (p - x <= n) {
|
|
1548
|
+
for (let _ = x; _ <= p; _++)
|
|
1549
1549
|
Fe(s[2 * _], s[2 * _ + 1], e, t) <= h && l.push(o[_]);
|
|
1550
1550
|
continue;
|
|
1551
1551
|
}
|
|
1552
|
-
const k = x +
|
|
1553
|
-
Fe(w, C, e, t) <= h && l.push(o[k]), (
|
|
1552
|
+
const k = x + p >> 1, w = s[2 * k], C = s[2 * k + 1];
|
|
1553
|
+
Fe(w, C, e, t) <= h && l.push(o[k]), (g === 0 ? e - a <= w : t - a <= C) && (d.push(x), d.push(k - 1), d.push(1 - g)), (g === 0 ? e + a >= w : t + a >= C) && (d.push(k + 1), d.push(p), d.push(1 - g));
|
|
1554
1554
|
}
|
|
1555
1555
|
return l;
|
|
1556
1556
|
}
|
|
@@ -1564,7 +1564,7 @@ function ke(r, e, t, a, o, s) {
|
|
|
1564
1564
|
function tt(r, e, t, a, o, s) {
|
|
1565
1565
|
for (; o > a; ) {
|
|
1566
1566
|
if (o - a > 600) {
|
|
1567
|
-
const h = o - a + 1,
|
|
1567
|
+
const h = o - a + 1, g = t - a + 1, p = Math.log(h), x = 0.5 * Math.exp(2 * p / 3), k = 0.5 * Math.sqrt(p * x * (h - x) / h) * (g - h / 2 < 0 ? -1 : 1), w = Math.max(a, Math.floor(t - g * x / h + k)), C = Math.min(o, Math.floor(t + (h - g) * x / h + k));
|
|
1568
1568
|
tt(r, e, t, w, C, s);
|
|
1569
1569
|
}
|
|
1570
1570
|
const n = e[2 * t + s];
|
|
@@ -1627,7 +1627,7 @@ class rt {
|
|
|
1627
1627
|
const h = e[l];
|
|
1628
1628
|
if (!h.geometry)
|
|
1629
1629
|
continue;
|
|
1630
|
-
const [
|
|
1630
|
+
const [g, p] = h.geometry.coordinates, x = Ge(ge(g)), k = Ge(pe(p));
|
|
1631
1631
|
n.push(
|
|
1632
1632
|
x,
|
|
1633
1633
|
k,
|
|
@@ -1658,15 +1658,15 @@ class rt {
|
|
|
1658
1658
|
if (e[2] - e[0] >= 360)
|
|
1659
1659
|
a = -180, s = 180;
|
|
1660
1660
|
else if (a > s) {
|
|
1661
|
-
const
|
|
1662
|
-
return
|
|
1661
|
+
const p = this.getClusters([a, o, 180, n], t), x = this.getClusters([-180, o, s, n], t);
|
|
1662
|
+
return p.concat(x);
|
|
1663
1663
|
}
|
|
1664
|
-
const d = this.trees[this._limitZoom(t)], l = d.range(
|
|
1665
|
-
for (const
|
|
1666
|
-
const x = this.stride *
|
|
1667
|
-
|
|
1664
|
+
const d = this.trees[this._limitZoom(t)], l = d.range(ge(a), pe(n), ge(s), pe(o)), h = d.data, g = [];
|
|
1665
|
+
for (const p of l) {
|
|
1666
|
+
const x = this.stride * p;
|
|
1667
|
+
g.push(h[x + Y] > 1 ? Ve(h, x, this.clusterProps) : this.points[h[x + Z]]);
|
|
1668
1668
|
}
|
|
1669
|
-
return
|
|
1669
|
+
return g;
|
|
1670
1670
|
}
|
|
1671
1671
|
getChildren(e) {
|
|
1672
1672
|
const t = this._getOriginId(e), a = this._getOriginZoom(e), o = "No cluster with the specified id.", s = this.trees[a];
|
|
@@ -1675,14 +1675,14 @@ class rt {
|
|
|
1675
1675
|
const n = s.data;
|
|
1676
1676
|
if (t * this.stride >= n.length)
|
|
1677
1677
|
throw new Error(o);
|
|
1678
|
-
const d = this.options.radius / (this.options.extent * Math.pow(2, a - 1)), l = n[t * this.stride], h = n[t * this.stride + 1],
|
|
1679
|
-
for (const x of
|
|
1678
|
+
const d = this.options.radius / (this.options.extent * Math.pow(2, a - 1)), l = n[t * this.stride], h = n[t * this.stride + 1], g = s.within(l, h, d), p = [];
|
|
1679
|
+
for (const x of g) {
|
|
1680
1680
|
const k = x * this.stride;
|
|
1681
|
-
n[k + we] === e &&
|
|
1681
|
+
n[k + we] === e && p.push(n[k + Y] > 1 ? Ve(n, k, this.clusterProps) : this.points[n[k + Z]]);
|
|
1682
1682
|
}
|
|
1683
|
-
if (
|
|
1683
|
+
if (p.length === 0)
|
|
1684
1684
|
throw new Error(o);
|
|
1685
|
-
return
|
|
1685
|
+
return p;
|
|
1686
1686
|
}
|
|
1687
1687
|
getLeaves(e, t, a) {
|
|
1688
1688
|
t = t || 10, a = a || 0;
|
|
@@ -1690,31 +1690,31 @@ class rt {
|
|
|
1690
1690
|
return this._appendLeaves(o, e, t, a, 0), o;
|
|
1691
1691
|
}
|
|
1692
1692
|
getTile(e, t, a) {
|
|
1693
|
-
const o = this.trees[this._limitZoom(e)], s = Math.pow(2, e), { extent: n, radius: d } = this.options, l = d / n, h = (a - l) / s,
|
|
1693
|
+
const o = this.trees[this._limitZoom(e)], s = Math.pow(2, e), { extent: n, radius: d } = this.options, l = d / n, h = (a - l) / s, g = (a + 1 + l) / s, p = {
|
|
1694
1694
|
features: []
|
|
1695
1695
|
};
|
|
1696
1696
|
return this._addTileFeatures(
|
|
1697
|
-
o.range((t - l) / s, h, (t + 1 + l) / s,
|
|
1697
|
+
o.range((t - l) / s, h, (t + 1 + l) / s, g),
|
|
1698
1698
|
o.data,
|
|
1699
1699
|
t,
|
|
1700
1700
|
a,
|
|
1701
1701
|
s,
|
|
1702
|
-
|
|
1702
|
+
p
|
|
1703
1703
|
), t === 0 && this._addTileFeatures(
|
|
1704
|
-
o.range(1 - l / s, h, 1,
|
|
1704
|
+
o.range(1 - l / s, h, 1, g),
|
|
1705
1705
|
o.data,
|
|
1706
1706
|
s,
|
|
1707
1707
|
a,
|
|
1708
1708
|
s,
|
|
1709
|
-
|
|
1709
|
+
p
|
|
1710
1710
|
), t === s - 1 && this._addTileFeatures(
|
|
1711
|
-
o.range(0, h, l / s,
|
|
1711
|
+
o.range(0, h, l / s, g),
|
|
1712
1712
|
o.data,
|
|
1713
1713
|
-1,
|
|
1714
1714
|
a,
|
|
1715
1715
|
s,
|
|
1716
|
-
|
|
1717
|
-
),
|
|
1716
|
+
p
|
|
1717
|
+
), p.features.length ? p : null;
|
|
1718
1718
|
}
|
|
1719
1719
|
getClusterExpansionZoom(e) {
|
|
1720
1720
|
let t = this._getOriginZoom(e) - 1;
|
|
@@ -1744,22 +1744,22 @@ class rt {
|
|
|
1744
1744
|
_addTileFeatures(e, t, a, o, s, n) {
|
|
1745
1745
|
for (const d of e) {
|
|
1746
1746
|
const l = d * this.stride, h = t[l + Y] > 1;
|
|
1747
|
-
let
|
|
1747
|
+
let g, p, x;
|
|
1748
1748
|
if (h)
|
|
1749
|
-
|
|
1749
|
+
g = ot(t, l, this.clusterProps), p = t[l], x = t[l + 1];
|
|
1750
1750
|
else {
|
|
1751
1751
|
const C = this.points[t[l + Z]];
|
|
1752
|
-
|
|
1752
|
+
g = C.properties;
|
|
1753
1753
|
const [_, z] = C.geometry.coordinates;
|
|
1754
|
-
|
|
1754
|
+
p = ge(_), x = pe(z);
|
|
1755
1755
|
}
|
|
1756
1756
|
const k = {
|
|
1757
1757
|
type: 1,
|
|
1758
1758
|
geometry: [[
|
|
1759
|
-
Math.round(this.options.extent * (
|
|
1759
|
+
Math.round(this.options.extent * (p * s - a)),
|
|
1760
1760
|
Math.round(this.options.extent * (x * s - o))
|
|
1761
1761
|
]],
|
|
1762
|
-
tags:
|
|
1762
|
+
tags: g
|
|
1763
1763
|
};
|
|
1764
1764
|
let w;
|
|
1765
1765
|
h || this.options.generateId ? w = t[l + Z] : w = this.points[t[l + Z]].id, w !== void 0 && (k.id = w), n.features.push(k);
|
|
@@ -1769,38 +1769,38 @@ class rt {
|
|
|
1769
1769
|
return Math.max(this.options.minZoom, Math.min(Math.floor(+e), this.options.maxZoom + 1));
|
|
1770
1770
|
}
|
|
1771
1771
|
_cluster(e, t) {
|
|
1772
|
-
const { radius: a, extent: o, reduce: s, minPoints: n } = this.options, d = a / (o * Math.pow(2, t)), l = e.data, h = [],
|
|
1773
|
-
for (let
|
|
1774
|
-
if (l[
|
|
1772
|
+
const { radius: a, extent: o, reduce: s, minPoints: n } = this.options, d = a / (o * Math.pow(2, t)), l = e.data, h = [], g = this.stride;
|
|
1773
|
+
for (let p = 0; p < l.length; p += g) {
|
|
1774
|
+
if (l[p + J] <= t)
|
|
1775
1775
|
continue;
|
|
1776
|
-
l[
|
|
1777
|
-
const x = l[
|
|
1776
|
+
l[p + J] = t;
|
|
1777
|
+
const x = l[p], k = l[p + 1], w = e.within(l[p], l[p + 1], d), C = l[p + Y];
|
|
1778
1778
|
let _ = C;
|
|
1779
1779
|
for (const z of w) {
|
|
1780
|
-
const E = z *
|
|
1780
|
+
const E = z * g;
|
|
1781
1781
|
l[E + J] > t && (_ += l[E + Y]);
|
|
1782
1782
|
}
|
|
1783
1783
|
if (_ > C && _ >= n) {
|
|
1784
1784
|
let z = x * C, E = k * C, L, R = -1;
|
|
1785
|
-
const O = ((
|
|
1785
|
+
const O = ((p / g | 0) << 5) + (t + 1) + this.points.length;
|
|
1786
1786
|
for (const V of w) {
|
|
1787
|
-
const N = V *
|
|
1787
|
+
const N = V * g;
|
|
1788
1788
|
if (l[N + J] <= t)
|
|
1789
1789
|
continue;
|
|
1790
1790
|
l[N + J] = t;
|
|
1791
1791
|
const he = l[N + Y];
|
|
1792
|
-
z += l[N] * he, E += l[N + 1] * he, l[N + we] = O, s && (L || (L = this._map(l,
|
|
1792
|
+
z += l[N] * he, E += l[N + 1] * he, l[N + we] = O, s && (L || (L = this._map(l, p, !0), R = this.clusterProps.length, this.clusterProps.push(L)), s(L, this._map(l, N)));
|
|
1793
1793
|
}
|
|
1794
|
-
l[
|
|
1794
|
+
l[p + we] = O, h.push(z / _, E / _, 1 / 0, O, -1, _), s && h.push(R);
|
|
1795
1795
|
} else {
|
|
1796
|
-
for (let z = 0; z <
|
|
1797
|
-
h.push(l[
|
|
1796
|
+
for (let z = 0; z < g; z++)
|
|
1797
|
+
h.push(l[p + z]);
|
|
1798
1798
|
if (_ > 1)
|
|
1799
1799
|
for (const z of w) {
|
|
1800
|
-
const E = z *
|
|
1800
|
+
const E = z * g;
|
|
1801
1801
|
if (!(l[E + J] <= t)) {
|
|
1802
1802
|
l[E + J] = t;
|
|
1803
|
-
for (let L = 0; L <
|
|
1803
|
+
for (let L = 0; L < g; L++)
|
|
1804
1804
|
h.push(l[E + L]);
|
|
1805
1805
|
}
|
|
1806
1806
|
}
|
|
@@ -1845,10 +1845,10 @@ function ot(r, e, t) {
|
|
|
1845
1845
|
point_count_abbreviated: o
|
|
1846
1846
|
});
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1848
|
+
function ge(r) {
|
|
1849
1849
|
return r / 360 + 0.5;
|
|
1850
1850
|
}
|
|
1851
|
-
function
|
|
1851
|
+
function pe(r) {
|
|
1852
1852
|
const e = Math.sin(r * Math.PI / 180), t = 0.5 - 0.25 * Math.log((1 + e) / (1 - e)) / Math.PI;
|
|
1853
1853
|
return t < 0 ? 0 : t > 1 ? 1 : t;
|
|
1854
1854
|
}
|
|
@@ -2155,16 +2155,16 @@ class is {
|
|
|
2155
2155
|
if (j.isAdvancedMarkerAvailable(o)) {
|
|
2156
2156
|
const h = document.createElement("div");
|
|
2157
2157
|
h.innerHTML = s;
|
|
2158
|
-
const
|
|
2159
|
-
|
|
2160
|
-
const
|
|
2158
|
+
const g = h.firstElementChild;
|
|
2159
|
+
g.setAttribute("transform", "translate(0 25)");
|
|
2160
|
+
const p = {
|
|
2161
2161
|
map: o,
|
|
2162
2162
|
position: t,
|
|
2163
2163
|
zIndex: d,
|
|
2164
2164
|
title: n,
|
|
2165
|
-
content:
|
|
2165
|
+
content: g
|
|
2166
2166
|
};
|
|
2167
|
-
return new google.maps.marker.AdvancedMarkerElement(
|
|
2167
|
+
return new google.maps.marker.AdvancedMarkerElement(p);
|
|
2168
2168
|
}
|
|
2169
2169
|
const l = {
|
|
2170
2170
|
position: t,
|
|
@@ -2342,14 +2342,14 @@ U({
|
|
|
2342
2342
|
var l;
|
|
2343
2343
|
const h = !q(s, d) || t.value !== n;
|
|
2344
2344
|
if (t.value && a.value && h) {
|
|
2345
|
-
const
|
|
2346
|
-
if (
|
|
2347
|
-
const
|
|
2348
|
-
|
|
2345
|
+
const g = structuredClone(s);
|
|
2346
|
+
if (g.data && !(g.data instanceof a.value.MVCArray)) {
|
|
2347
|
+
const p = a.value.LatLng;
|
|
2348
|
+
g.data = (l = g.data) == null ? void 0 : l.map((x) => x instanceof p || "location" in x && (x.location instanceof p || x.location === null) ? x : "location" in x ? { ...x, location: new p(x.location) } : new p(x));
|
|
2349
2349
|
}
|
|
2350
|
-
e.value ? e.value.setOptions(
|
|
2350
|
+
e.value ? e.value.setOptions(g) : e.value = W(
|
|
2351
2351
|
new a.value.visualization.HeatmapLayer({
|
|
2352
|
-
...
|
|
2352
|
+
...g,
|
|
2353
2353
|
map: t.value
|
|
2354
2354
|
})
|
|
2355
2355
|
);
|
|
@@ -2429,7 +2429,7 @@ function ms(r, e, t, a, o, s) {
|
|
|
2429
2429
|
}, 8, ["api-key", "class", "center", "zoom"])
|
|
2430
2430
|
]);
|
|
2431
2431
|
}
|
|
2432
|
-
const hs = /* @__PURE__ */ S(us, [["render", ms]]),
|
|
2432
|
+
const hs = /* @__PURE__ */ S(us, [["render", ms]]), gs = {
|
|
2433
2433
|
name: "ProgressTracker",
|
|
2434
2434
|
components: {
|
|
2435
2435
|
BaseText: B
|
|
@@ -2440,6 +2440,10 @@ const hs = /* @__PURE__ */ S(us, [["render", ms]]), ps = {
|
|
|
2440
2440
|
required: !0,
|
|
2441
2441
|
default: 0
|
|
2442
2442
|
},
|
|
2443
|
+
highlightPhase: {
|
|
2444
|
+
type: Number,
|
|
2445
|
+
default: null
|
|
2446
|
+
},
|
|
2443
2447
|
isEventComplete: {
|
|
2444
2448
|
type: Boolean,
|
|
2445
2449
|
default: !1
|
|
@@ -2475,10 +2479,10 @@ const hs = /* @__PURE__ */ S(us, [["render", ms]]), ps = {
|
|
|
2475
2479
|
r <= this.currentPhase && this.$emit("phase-clicked", r);
|
|
2476
2480
|
}
|
|
2477
2481
|
}
|
|
2478
|
-
},
|
|
2482
|
+
}, ps = { class: "flex items-center justify-between w-full" }, fs = ["onMouseover", "onClick"];
|
|
2479
2483
|
function bs(r, e, t, a, o, s) {
|
|
2480
2484
|
const n = v("BaseText");
|
|
2481
|
-
return f(), b("div",
|
|
2485
|
+
return f(), b("div", ps, [
|
|
2482
2486
|
(f(!0), b(M, null, G(t.phases, (d, l) => (f(), b("div", {
|
|
2483
2487
|
key: l,
|
|
2484
2488
|
class: T(["flex w-full items-center flex-grow", {
|
|
@@ -2507,10 +2511,10 @@ function bs(r, e, t, a, o, s) {
|
|
|
2507
2511
|
c(n, {
|
|
2508
2512
|
tag: "p",
|
|
2509
2513
|
size: "sm",
|
|
2510
|
-
weight: t.
|
|
2514
|
+
weight: t.highlightPhase === l ? "bold" : "normal",
|
|
2511
2515
|
class: T(["mt-2 transition-all duration-300", {
|
|
2512
|
-
"font-bold text-accent": s.isPhaseActive(l),
|
|
2513
|
-
"text-gray-600": !s.isPhaseActive(l),
|
|
2516
|
+
"font-bold text-accent": s.isPhaseActive(l) || t.highlightPhase === l,
|
|
2517
|
+
"text-gray-600": !s.isPhaseActive(l) && t.highlightPhase !== l,
|
|
2514
2518
|
"hover:text-accent": o.hoveredPhase === l && l <= t.currentPhase
|
|
2515
2519
|
}])
|
|
2516
2520
|
}, {
|
|
@@ -2530,7 +2534,7 @@ function bs(r, e, t, a, o, s) {
|
|
|
2530
2534
|
], 42, fs))), 128))
|
|
2531
2535
|
]);
|
|
2532
2536
|
}
|
|
2533
|
-
const Xi = /* @__PURE__ */ S(
|
|
2537
|
+
const Xi = /* @__PURE__ */ S(gs, [["render", bs]]), Ie = "data:image/png;base64,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", ys = {
|
|
2534
2538
|
name: "PageHeader",
|
|
2535
2539
|
components: {
|
|
2536
2540
|
SearchBox: $e,
|
|
@@ -2580,7 +2584,7 @@ function Es(r, e, t, a, o, s) {
|
|
|
2580
2584
|
i("section", vs, [
|
|
2581
2585
|
i("div", {
|
|
2582
2586
|
class: "w-[150px] h-[150px] bg-primary flex-shrink-0 flex items-center justify-center",
|
|
2583
|
-
onClick: e[0] || (e[0] = (
|
|
2587
|
+
onClick: e[0] || (e[0] = (g) => s.handlePageChange("Home"))
|
|
2584
2588
|
}, [
|
|
2585
2589
|
i("img", {
|
|
2586
2590
|
src: o.logo,
|
|
@@ -2603,7 +2607,7 @@ function Es(r, e, t, a, o, s) {
|
|
|
2603
2607
|
tag: "p",
|
|
2604
2608
|
weight: "normal",
|
|
2605
2609
|
class: "border-b-2 border-primary hover:border-accent pb-2 duration-300 ease-in-out",
|
|
2606
|
-
onClick: e[1] || (e[1] = (
|
|
2610
|
+
onClick: e[1] || (e[1] = (g) => s.handlePageChange("TournamentList"))
|
|
2607
2611
|
}, {
|
|
2608
2612
|
default: m(() => e[8] || (e[8] = [
|
|
2609
2613
|
u("Tournaments")
|
|
@@ -2616,7 +2620,7 @@ function Es(r, e, t, a, o, s) {
|
|
|
2616
2620
|
tag: "p",
|
|
2617
2621
|
weight: "normal",
|
|
2618
2622
|
class: "border-b-2 border-primary hover:border-accent pb-2 duration-300 ease-in-out",
|
|
2619
|
-
onClick: e[2] || (e[2] = (
|
|
2623
|
+
onClick: e[2] || (e[2] = (g) => s.handlePageChange("ClubList"))
|
|
2620
2624
|
}, {
|
|
2621
2625
|
default: m(() => e[9] || (e[9] = [
|
|
2622
2626
|
u("Clubs")
|
|
@@ -2629,7 +2633,7 @@ function Es(r, e, t, a, o, s) {
|
|
|
2629
2633
|
tag: "p",
|
|
2630
2634
|
weight: "normal",
|
|
2631
2635
|
class: "border-b-2 border-primary hover:border-accent pb-2 duration-300 ease-in-out",
|
|
2632
|
-
onClick: e[3] || (e[3] = (
|
|
2636
|
+
onClick: e[3] || (e[3] = (g) => s.handlePageChange("Leaderboard"))
|
|
2633
2637
|
}, {
|
|
2634
2638
|
default: m(() => e[10] || (e[10] = [
|
|
2635
2639
|
u("Leaderboard")
|
|
@@ -2642,7 +2646,7 @@ function Es(r, e, t, a, o, s) {
|
|
|
2642
2646
|
tag: "p",
|
|
2643
2647
|
weight: "normal",
|
|
2644
2648
|
class: "border-b-2 border-primary hover:border-accent pb-2 duration-300 ease-in-out",
|
|
2645
|
-
onClick: e[4] || (e[4] = (
|
|
2649
|
+
onClick: e[4] || (e[4] = (g) => s.handlePageChange("ContactUs"))
|
|
2646
2650
|
}, {
|
|
2647
2651
|
default: m(() => e[11] || (e[11] = [
|
|
2648
2652
|
u("Contact")
|
|
@@ -2667,13 +2671,13 @@ function Es(r, e, t, a, o, s) {
|
|
|
2667
2671
|
src: o.logo,
|
|
2668
2672
|
alt: "Logo",
|
|
2669
2673
|
class: "h-6 w-9",
|
|
2670
|
-
onClick: e[5] || (e[5] = (
|
|
2674
|
+
onClick: e[5] || (e[5] = (g) => s.handlePageChange("Home"))
|
|
2671
2675
|
}, null, 8, Bs),
|
|
2672
2676
|
c(h, {
|
|
2673
2677
|
icon: "fa-bars",
|
|
2674
2678
|
color: "secondary",
|
|
2675
2679
|
size: "xl",
|
|
2676
|
-
onClick: e[6] || (e[6] = (
|
|
2680
|
+
onClick: e[6] || (e[6] = (g) => s.openMenu(g))
|
|
2677
2681
|
})
|
|
2678
2682
|
])
|
|
2679
2683
|
]),
|
|
@@ -2684,9 +2688,9 @@ function Es(r, e, t, a, o, s) {
|
|
|
2684
2688
|
}, ["stop"]))
|
|
2685
2689
|
}, [
|
|
2686
2690
|
i("ul", null, [
|
|
2687
|
-
(f(!0), b(M, null, G(o.items, (
|
|
2688
|
-
key:
|
|
2689
|
-
onClick: (
|
|
2691
|
+
(f(!0), b(M, null, G(o.items, (g) => (f(), b("li", {
|
|
2692
|
+
key: g.label,
|
|
2693
|
+
onClick: (p) => s.handlePageChange(g.value),
|
|
2690
2694
|
class: "px-2 py-2 cursor-pointer hover:bg-hoverColor justify-end flex"
|
|
2691
2695
|
}, [
|
|
2692
2696
|
c(d, {
|
|
@@ -2697,12 +2701,12 @@ function Es(r, e, t, a, o, s) {
|
|
|
2697
2701
|
class: "mt-0.5"
|
|
2698
2702
|
}, {
|
|
2699
2703
|
default: m(() => [
|
|
2700
|
-
u(y(
|
|
2704
|
+
u(y(g.label), 1)
|
|
2701
2705
|
]),
|
|
2702
2706
|
_: 2
|
|
2703
2707
|
}, 1024),
|
|
2704
2708
|
c(h, {
|
|
2705
|
-
icon:
|
|
2709
|
+
icon: g.icon,
|
|
2706
2710
|
type: "fa-solid",
|
|
2707
2711
|
size: "sm",
|
|
2708
2712
|
color: "accent",
|
|
@@ -3218,15 +3222,15 @@ const tl = /* @__PURE__ */ S(ir, [["render", ur]]), mr = "data:image/png;base64,
|
|
|
3218
3222
|
this.$emit("search", r);
|
|
3219
3223
|
}
|
|
3220
3224
|
}
|
|
3221
|
-
},
|
|
3225
|
+
}, gr = { class: "hidden md:block" }, pr = { class: "max-w-7xl mx-auto px-4 py-2" }, fr = { class: "w-full hidden md:flex" }, br = ["src"], yr = { class: "flex w-full items-center" }, xr = { class: "hidden lg:flex w-1/3 pl-20 mb-3 mt-1" }, vr = { class: "ml-8 w-2/3 flex justify-around" };
|
|
3222
3226
|
function wr(r, e, t, a, o, s) {
|
|
3223
3227
|
const n = v("SearchBox"), d = v("BaseText");
|
|
3224
|
-
return f(), b("div",
|
|
3228
|
+
return f(), b("div", gr, [
|
|
3225
3229
|
e[11] || (e[11] = i("div", { class: "slideDown slideUp" }, null, -1)),
|
|
3226
3230
|
Xe(i("nav", {
|
|
3227
3231
|
class: T(["md:fixed top-0 left-0 w-full bg-white shadow-md z-50", [o.showNav ? "animate-slideDown" : "animate-slideUp"]])
|
|
3228
3232
|
}, [
|
|
3229
|
-
i("div",
|
|
3233
|
+
i("div", pr, [
|
|
3230
3234
|
i("section", fr, [
|
|
3231
3235
|
i("div", {
|
|
3232
3236
|
class: "w-[150px] h-[50px] flex-shrink-0 flex items-center justify-center",
|
|
@@ -3954,10 +3958,10 @@ function Xr(r, e, t, a, o, s) {
|
|
|
3954
3958
|
i("div", {
|
|
3955
3959
|
class: T(s.gridClasses)
|
|
3956
3960
|
}, [
|
|
3957
|
-
t.items.length > 0 ? (f(!0), b(M, { key: 0 }, G(t.items, (h,
|
|
3958
|
-
key:
|
|
3961
|
+
t.items.length > 0 ? (f(!0), b(M, { key: 0 }, G(t.items, (h, g) => (f(), me(Ye(t.cardComponent), {
|
|
3962
|
+
key: g,
|
|
3959
3963
|
data: h,
|
|
3960
|
-
index:
|
|
3964
|
+
index: g,
|
|
3961
3965
|
isLoading: t.isLoading,
|
|
3962
3966
|
onGridCardClick: s.handleTournamentCardClick
|
|
3963
3967
|
}, null, 40, ["data", "index", "isLoading", "onGridCardClick"]))), 128)) : A("", !0),
|
|
@@ -4065,7 +4069,7 @@ const dt = /* @__PURE__ */ S($r, [["render", to]]), so = {
|
|
|
4065
4069
|
}, ro = ["src"], oo = { class: "rounded-full bg-accent h-5 w-5 absolute flex justify-center ml-9 mt-9 md:ml-12 md:mt-12" }, no = { class: "flex flex-col justify-center flex-grow" }, ao = { class: "hidden md:flex flex-col" }, io = { class: "flex md:hidden flex-col" }, lo = { class: "flex items-center" }, co = { class: "hidden md:flex flex-col" }, uo = { class: "flex" }, mo = {
|
|
4066
4070
|
key: 0,
|
|
4067
4071
|
class: "flex"
|
|
4068
|
-
}, ho = { class: "flex flex-col md:hidden" },
|
|
4072
|
+
}, ho = { class: "flex flex-col md:hidden" }, go = { class: "flex" }, po = {
|
|
4069
4073
|
key: 0,
|
|
4070
4074
|
class: "flex"
|
|
4071
4075
|
}, fo = {
|
|
@@ -4196,7 +4200,7 @@ function bo(r, e, t, a, o, s) {
|
|
|
4196
4200
|
])) : A("", !0)
|
|
4197
4201
|
]),
|
|
4198
4202
|
i("section", ho, [
|
|
4199
|
-
i("div",
|
|
4203
|
+
i("div", go, [
|
|
4200
4204
|
c(n, {
|
|
4201
4205
|
tag: "p",
|
|
4202
4206
|
size: "xs",
|
|
@@ -4220,7 +4224,7 @@ function bo(r, e, t, a, o, s) {
|
|
|
4220
4224
|
_: 1
|
|
4221
4225
|
})
|
|
4222
4226
|
]),
|
|
4223
|
-
t.showHRRating ? (f(), b("div",
|
|
4227
|
+
t.showHRRating ? (f(), b("div", po, [
|
|
4224
4228
|
c(n, {
|
|
4225
4229
|
tag: "p",
|
|
4226
4230
|
size: "xs",
|
|
@@ -4320,7 +4324,7 @@ function ko(r, e, t, a, o, s) {
|
|
|
4320
4324
|
weight: "",
|
|
4321
4325
|
title: "",
|
|
4322
4326
|
class: T(["mr-10 border-b-2 hover:border-accent pb-2 duration-300 ease-in-out", o.selectedTab === h ? "border-accent" : "border-white"]),
|
|
4323
|
-
onClick: (
|
|
4327
|
+
onClick: (g) => s.selectTab(h)
|
|
4324
4328
|
}, {
|
|
4325
4329
|
default: m(() => [
|
|
4326
4330
|
u(y(l.Name), 1)
|
|
@@ -4862,7 +4866,7 @@ const ll = /* @__PURE__ */ S(Ko, [["render", an]]), ln = {
|
|
|
4862
4866
|
key: 0,
|
|
4863
4867
|
class: "max-w-72 p-2 bg-secondary rounded-lg flex flex-col items-start"
|
|
4864
4868
|
}, cn = { class: "flex flex-col m-auto justify-center mb-4 items-center w-[130px]" }, un = ["src"], mn = { class: "flex flex-col md:flex-row justify-center md:justify-around -mt-2 border-b border-borderGray z-10 pb-2 mb-2" }, hn = { class: "flex items-center justify-center" };
|
|
4865
|
-
function
|
|
4869
|
+
function gn(r, e, t, a, o, s) {
|
|
4866
4870
|
const n = v("FencerCardSkeleton"), d = v("BaseText");
|
|
4867
4871
|
return f(), b(M, null, [
|
|
4868
4872
|
t.isLoading ? (f(), b("div", dn, [
|
|
@@ -4931,7 +4935,7 @@ function pn(r, e, t, a, o, s) {
|
|
|
4931
4935
|
]))
|
|
4932
4936
|
], 64);
|
|
4933
4937
|
}
|
|
4934
|
-
const qe = /* @__PURE__ */ S(ln, [["render",
|
|
4938
|
+
const qe = /* @__PURE__ */ S(ln, [["render", gn]]), pn = {
|
|
4935
4939
|
name: "PhotoCard",
|
|
4936
4940
|
props: {
|
|
4937
4941
|
data: {
|
|
@@ -4949,7 +4953,7 @@ function yn(r, e, t, a, o, s) {
|
|
|
4949
4953
|
}, null, 8, bn)
|
|
4950
4954
|
]);
|
|
4951
4955
|
}
|
|
4952
|
-
const dl = /* @__PURE__ */ S(
|
|
4956
|
+
const dl = /* @__PURE__ */ S(pn, [["render", yn]]), xn = {
|
|
4953
4957
|
name: "RatingSystemAnnouncement",
|
|
4954
4958
|
components: { BaseText: B }
|
|
4955
4959
|
}, vn = { class: "w-full flex justify-center mx-auto mt-10 mb-20" }, wn = { class: "max-w-[1200px] w-full flex justify-center mx-auto mt-8 flex-col" }, kn = { class: "w-full flex py-4 md:pb-10 ml-2 md:ml-0 mb-4 justify-center" }, Cn = { class: "flex" }, _n = { class: "md:w-1/2 flex justify-center" };
|
|
@@ -5488,7 +5492,7 @@ const ul = /* @__PURE__ */ S(ta, [["render", ca]]), ua = {
|
|
|
5488
5492
|
this.$emit("grid-card-click", this.data);
|
|
5489
5493
|
}
|
|
5490
5494
|
}
|
|
5491
|
-
}, ma = { class: "flex pt-1" }, ha = { class: "relative w-24 h-16 md:w-32 md:h-20 mr-3" },
|
|
5495
|
+
}, ma = { class: "flex pt-1" }, ha = { class: "relative w-24 h-16 md:w-32 md:h-20 mr-3" }, ga = ["src", "alt"], pa = {
|
|
5492
5496
|
key: 0,
|
|
5493
5497
|
src: "https://meyersquaredimages.com/images/banners/m2-white.png",
|
|
5494
5498
|
alt: "Hosted M²",
|
|
@@ -5518,8 +5522,8 @@ function La(r, e, t, a, o, s) {
|
|
|
5518
5522
|
src: s.tournamentImage,
|
|
5519
5523
|
alt: s.imageAltText,
|
|
5520
5524
|
class: "w-full h-full object-cover rounded-lg"
|
|
5521
|
-
}, null, 8,
|
|
5522
|
-
t.data.HostedOnM2 ? (f(), b("img",
|
|
5525
|
+
}, null, 8, ga),
|
|
5526
|
+
t.data.HostedOnM2 ? (f(), b("img", pa)) : A("", !0)
|
|
5523
5527
|
]),
|
|
5524
5528
|
i("div", fa, [
|
|
5525
5529
|
i("div", ba, [
|
|
@@ -6141,7 +6145,7 @@ const di = /* @__PURE__ */ S($a, [["render", li]]), ci = {
|
|
|
6141
6145
|
this.$emit("changePage", r);
|
|
6142
6146
|
}
|
|
6143
6147
|
}
|
|
6144
|
-
}, ui = { class: "hidden md:flex flex-col bg-primary" }, mi = { class: "w-full hidden md:flex" }, hi = { class: "w-1/3" },
|
|
6148
|
+
}, ui = { class: "hidden md:flex flex-col bg-primary" }, mi = { class: "w-full hidden md:flex" }, hi = { class: "w-1/3" }, gi = { class: "items-center w-full flex justify-center" }, pi = ["src"], fi = { class: "w-1/3 flex flex-col" }, bi = { class: "w-full flex justify-around" }, yi = { class: "flex w-1/3" }, xi = { class: "flex w-1/3" }, vi = { class: "flex items-center w-1/3" }, wi = { class: "w-full flex justify-around" }, ki = { class: "flex items-center w-1/3" }, Ci = { class: "flex items-center w-1/3" }, _i = { class: "flex items-center w-1/3" }, Si = { class: "w-full flex justify-around" }, Ai = { class: "flex items-center w-1/3" }, zi = { class: "flex items-center w-1/3" }, Bi = { class: "flex w-1/3" }, Ii = { class: "w-1/3 flex flex-col" }, Ei = { class: "w-full flex justify-end" }, Ti = { class: "w-30 mr-16" }, Li = { class: "w-full flex justify-end mt-12" }, Mi = { class: "w-48 mr-16" }, ji = { class: "h-32 border border-t mt-10 pb-10 border-lineGrey flex flex-col justify-center items-center" }, Pi = { class: "flex md:hidden flex-col items-center bg-primary pb-10" }, Oi = { class: "w-full flex flex-col items-center" }, Ni = { class: "w-full max-w-xs flex justify-between items-center" }, Di = { class: "flex justify-center w-1/2" }, Ri = ["src"], Fi = { class: "flex flex-col w-1/2" }, Gi = { class: "w-full flex flex-col items-center" }, Vi = { class: "w-full max-w-xs flex flex-col items-center pt-8 px-6" }, Ui = { class: "w-full max-w-xs flex flex-col items-center pt-8" }, Hi = { class: "flex justify-center" };
|
|
6145
6149
|
function Wi(r, e, t, a, o, s) {
|
|
6146
6150
|
const n = v("BaseText"), d = v("InputField"), l = v("Icon");
|
|
6147
6151
|
return f(), b(M, null, [
|
|
@@ -6149,12 +6153,12 @@ function Wi(r, e, t, a, o, s) {
|
|
|
6149
6153
|
e[25] || (e[25] = i("div", { class: "h-20" }, null, -1)),
|
|
6150
6154
|
i("section", mi, [
|
|
6151
6155
|
i("div", hi, [
|
|
6152
|
-
i("div",
|
|
6156
|
+
i("div", gi, [
|
|
6153
6157
|
i("img", {
|
|
6154
6158
|
src: o.logo,
|
|
6155
6159
|
alt: "Logo",
|
|
6156
6160
|
class: "w-[71px] h-[56px]"
|
|
6157
|
-
}, null, 8,
|
|
6161
|
+
}, null, 8, pi)
|
|
6158
6162
|
])
|
|
6159
6163
|
]),
|
|
6160
6164
|
i("div", fi, [
|
|
@@ -6649,7 +6653,7 @@ const Ki = /* @__PURE__ */ S(ci, [["render", Wi]]), qi = {
|
|
|
6649
6653
|
}
|
|
6650
6654
|
}, Yi = { class: "m-0 w-full bg-secondary" };
|
|
6651
6655
|
function Zi(r, e, t, a, o, s) {
|
|
6652
|
-
const n = v("PageHeader"), d = v("HeroBanner"), l = v("ScrollNav"), h = v("GridLayout"),
|
|
6656
|
+
const n = v("PageHeader"), d = v("HeroBanner"), l = v("ScrollNav"), h = v("GridLayout"), g = v("SingleButtonBanner"), p = v("RatingSystemAnnouncement"), x = v("DoubleButtonBanner"), k = v("Footer");
|
|
6653
6657
|
return f(), b(M, null, [
|
|
6654
6658
|
i("div", Yi, [
|
|
6655
6659
|
c(n, { onChangePage: s.changePage }, null, 8, ["onChangePage"]),
|
|
@@ -6670,13 +6674,13 @@ function Zi(r, e, t, a, o, s) {
|
|
|
6670
6674
|
onGridClick: e[0] || (e[0] = (w) => s.changePage("tournaments")),
|
|
6671
6675
|
onGridCardClick: s.handleGridCardClick
|
|
6672
6676
|
}, null, 8, ["cardComponent", "items", "isLoading", "onGridCardClick"]),
|
|
6673
|
-
c(
|
|
6677
|
+
c(g, {
|
|
6674
6678
|
buttonLabel: "Learn More",
|
|
6675
6679
|
description: "Look for a Club? <br> We can help.",
|
|
6676
6680
|
imageUrl: "https://meyersquared.com/images/banners/largebanner03.jpg",
|
|
6677
6681
|
onHandleButtonClick: e[1] || (e[1] = (w) => s.changePage("clubs"))
|
|
6678
6682
|
}),
|
|
6679
|
-
c(
|
|
6683
|
+
c(p),
|
|
6680
6684
|
c(x, {
|
|
6681
6685
|
title: "How Does Meyer Squared work?",
|
|
6682
6686
|
"button-label-two": "Run a tournament",
|
|
@@ -6699,7 +6703,7 @@ function Zi(r, e, t, a, o, s) {
|
|
|
6699
6703
|
c(k, { onChangePage: s.changePage }, null, 8, ["onChangePage"])
|
|
6700
6704
|
], 64);
|
|
6701
6705
|
}
|
|
6702
|
-
const
|
|
6706
|
+
const gl = /* @__PURE__ */ S(qi, [["render", Zi]]);
|
|
6703
6707
|
export {
|
|
6704
6708
|
Ke as ArticleCard,
|
|
6705
6709
|
K as BaseButton,
|
|
@@ -6717,7 +6721,7 @@ export {
|
|
|
6717
6721
|
lt as GridLayout,
|
|
6718
6722
|
nl as GridTabs,
|
|
6719
6723
|
Ga as HeroBanner,
|
|
6720
|
-
|
|
6724
|
+
gl as HomePage,
|
|
6721
6725
|
$i as HostColumn,
|
|
6722
6726
|
F as Icon,
|
|
6723
6727
|
be as InputField,
|