@mjsz-vbr-elements/extended 2.13.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +618 -622
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.14.0 - 22/01/2025, 12:41:41
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { ref as j, isRef as
|
|
9
|
-
import { currentWeekStartEnd as
|
|
10
|
-
import { Image as Me, I18NProvider as fe, ErrorProvider as
|
|
11
|
-
import { format as Q, convert as
|
|
12
|
-
import { useError as
|
|
13
|
-
import { COLUMNS_SCHEDULE as
|
|
14
|
-
import { SORT_STATE_DESCEND as
|
|
8
|
+
import { ref as j, isRef as de, watch as se, getCurrentScope as fr, onScopeDispose as yr, toValue as U, readonly as wr, onMounted as gt, nextTick as ze, getCurrentInstance as Bt, reactive as le, shallowRef as Pe, computed as A, toRefs as xr, renderSlot as ge, normalizeProps as $e, guardReactiveProps as Ce, unref as d, openBlock as p, createElementBlock as _, createElementVNode as u, normalizeClass as V, createTextVNode as oe, toDisplayString as w, Fragment as R, createVNode as $, createCommentVNode as M, createBlock as G, withCtx as T, renderList as H, toRef as _r, useTemplateRef as kr, provide as zr, useId as Sr, inject as Ir, onUnmounted as $r, Transition as Cr, triggerRef as Nr, isMemoSame as Tr, mergeProps as Ar, toHandlers as Er, withModifiers as Dr, defineCustomElement as he } from "vue";
|
|
9
|
+
import { currentWeekStartEnd as _t, subtractDays as qt, addDays as Ht, isBefore as ut, isAfter as pt, startOfMonth as et, endOfMonth as tt, rawConvert as Lr, convertGamePeriodResults as Pr, gameProps as Mr, COLUMNS_STANDINGS_SHORT as jr } from "@mjsz-vbr-elements/core";
|
|
10
|
+
import { Image as Me, I18NProvider as fe, ErrorProvider as Ne, ErrorNotice as Te, LoadingIndicator as Wt, FetchMoreObserver as Or, BaseSelect as me, StatisticsTable as Jt, Paginator as Gr, AdditionalStandingsText as je, ResponsiveTable as Rr, DataTable as Yr, FloatingPanel as Ur } from "@mjsz-vbr-elements/core/components";
|
|
11
|
+
import { format as Q, convert as Ke, isBefore as Kr, isAfter as Xt, offsetName as Ve, getLocalTimezone as Fe, externalGameLinkResolver as mt, WidgetError as Qt, InvalidSeasonName as Oe, sortGames as Zt, convertPhaseName as Vr, rawConvert as Fr, playerName as Br, teamName as qr, scheduleOptionalRowClass as Hr, convertTimesMinToMinSec as Wr, convertTimesSecToMin as Jr, externalTeamLinkResolver as Xr, sortByDomNode as Qr } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { useError as Be, useServices as ee, useI18n as ce, useSort as Zr, usePage as ea, useLazyLoadingState as ta, fetchVBRData as ra, useVisibilityChange as aa, useColumns as oa } from "@mjsz-vbr-elements/core/composables";
|
|
13
|
+
import { COLUMNS_SCHEDULE as er, COLUMNS_STANDINGS_P_3 as ia, COLUMNS_FIELD_PLAYERS as Ee, COLUMNS_FIELD_PLAYERS_PENALTY as na, COLUMNS_GOALIES as kt, COLUMNS_TEAMS_FAIRPLAY as sa, COLUMNS_TEAMS_PENALTY_KILLING as la, COLUMNS_TEAMS_POWERPLAY as ca, COLUMNS_SCORING_EFFICIENCY as da } from "@mjsz-vbr-elements/core/columns";
|
|
14
|
+
import { SORT_STATE_DESCEND as X } from "@mjsz-vbr-elements/core/constants";
|
|
15
15
|
const ga = "Schedule", ua = "Application form", pa = { report: "Report", video: "Video", season: "Season", seasons: "Seasons", section: "Section", sections: "Sections", phases: "Phases", phasesDivision: "Phases (phase-Name=division)", noPhases: "No Phases", teams: "Teams", filterName: "Filter by Name", players: "Players", month: "Month", homeOrAway: "Home or Away", home: "Home", away: "Away", schedule: "Schedule", standings: "Standings", playerStats: "Player Statistics", teamStats: "Team Statistics", championships: "Championships", championshipName: "Championship Name (Championship-Name):", championshipId: "Championship Identifier (Championship-id):", seasonId: "Season Identifier (season-Id):" }, ma = { points: "Points", goals: "Goals", assists: "Assists", penalties: "Penalties", goalies: "Goalies", goaliesLimit: "Goalies under 40%", teamAttendance: "Attendance", teamFairplay: "Fairplay", teamPenaltyKilling: "Penalty Killing", teamPowerplay: "Powerplay", teamScoringEfficiency: "Scoring Efficiency" }, va = { Negyeddöntő1: "Quarterfinal 1", Negyeddöntő2: "Quarterfinal 2", Negyeddöntő3: "Quarterfinal 3", Negyeddöntő4: "Quarterfinal 4", Elődöntő1: "Semifinal 1", Elődöntő2: "Semifinal 2", Döntő: "Final" }, ba = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, ha = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, fa = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again" }, ye = {
|
|
16
16
|
schedule: ga,
|
|
17
17
|
registration: ua,
|
|
@@ -35,30 +35,30 @@ function $a(t, e) {
|
|
|
35
35
|
return e.value = { firstGame: t.firstGame, lastGame: t.lastGame }, Lr(t.games, Pr);
|
|
36
36
|
}
|
|
37
37
|
const q = /* @__PURE__ */ new Date(), De = (/* @__PURE__ */ new Map()).set(Se, () => ({ min: q, max: q, month: null, id: null })).set(Ge, () => ({
|
|
38
|
-
min:
|
|
39
|
-
max:
|
|
38
|
+
min: _t().startDate,
|
|
39
|
+
max: _t().endDate,
|
|
40
40
|
month: null,
|
|
41
41
|
id: null
|
|
42
42
|
})).set(ve, (t = null) => {
|
|
43
|
-
const { year: e, month: r } =
|
|
43
|
+
const { year: e, month: r } = zt(t);
|
|
44
44
|
return {
|
|
45
|
-
min:
|
|
46
|
-
max:
|
|
45
|
+
min: St(new Date(e, r, 1), !0),
|
|
46
|
+
max: It(new Date(e, r, 1), !0),
|
|
47
47
|
id: `${e}-${r}`
|
|
48
48
|
};
|
|
49
49
|
}).set(Ie, (t = null) => {
|
|
50
|
-
const { year: e, month: r } =
|
|
50
|
+
const { year: e, month: r } = zt(t);
|
|
51
51
|
return {
|
|
52
|
-
min:
|
|
53
|
-
max:
|
|
52
|
+
min: St(new Date(e, r, 1)),
|
|
53
|
+
max: It(new Date(e, r, 1)),
|
|
54
54
|
id: `${e}-${r}`
|
|
55
55
|
};
|
|
56
|
-
}), Ca = (/* @__PURE__ */ new Map()).set(Se, () => []).set(ve, (t, e) =>
|
|
57
|
-
function Ta(t, e, r) {
|
|
58
|
-
return gt(t, e) ? [] : ut(t, r) ? [e, r] : [e, t];
|
|
59
|
-
}
|
|
56
|
+
}), Ca = (/* @__PURE__ */ new Map()).set(Se, () => []).set(ve, (t, e) => Na(qt(q, 1), t, e)).set(Ie, (t, e) => Ta(Ht(q, 1), t, e)).set(Ge, () => []);
|
|
60
57
|
function Na(t, e, r) {
|
|
61
|
-
return
|
|
58
|
+
return ut(t, e) ? [] : pt(t, r) ? [e, r] : [e, t];
|
|
59
|
+
}
|
|
60
|
+
function Ta(t, e, r) {
|
|
61
|
+
return ut(t, e) ? [e, r] : pt(t, r) ? [] : [t, r];
|
|
62
62
|
}
|
|
63
63
|
function Aa(t, e, r, a = "hu") {
|
|
64
64
|
t = new Date(t), e = new Date(e);
|
|
@@ -79,33 +79,33 @@ function Aa(t, e, r, a = "hu") {
|
|
|
79
79
|
}
|
|
80
80
|
return o;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function zt(t) {
|
|
83
83
|
if (!t)
|
|
84
84
|
return { year: q.getFullYear(), month: q.getMonth() };
|
|
85
85
|
const [e, r] = t.split("-");
|
|
86
86
|
return { year: e, month: r };
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function St(t, e) {
|
|
89
89
|
if (e)
|
|
90
|
-
return
|
|
91
|
-
const r =
|
|
92
|
-
return
|
|
90
|
+
return et(t);
|
|
91
|
+
const r = Ht(q, 1);
|
|
92
|
+
return ut(et(t), r) ? r : et(t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function It(t, e = !1) {
|
|
95
95
|
if (e) {
|
|
96
|
-
const r =
|
|
97
|
-
return
|
|
96
|
+
const r = qt(q, 1);
|
|
97
|
+
return pt(tt(t), r) ? r : tt(t);
|
|
98
98
|
}
|
|
99
|
-
return
|
|
99
|
+
return tt(t);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function nt(t) {
|
|
102
102
|
return fr() ? (yr(t), !0) : !1;
|
|
103
103
|
}
|
|
104
|
-
const
|
|
104
|
+
const st = typeof window < "u" && typeof document < "u";
|
|
105
105
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
106
|
-
const Ea = (t) => typeof t < "u", Da = Object.prototype.toString, La = (t) => Da.call(t) === "[object Object]",
|
|
106
|
+
const Ea = (t) => typeof t < "u", Da = Object.prototype.toString, La = (t) => Da.call(t) === "[object Object]", W = () => {
|
|
107
107
|
};
|
|
108
|
-
function
|
|
108
|
+
function vt(t, e) {
|
|
109
109
|
function r(...a) {
|
|
110
110
|
return new Promise((o, i) => {
|
|
111
111
|
Promise.resolve(t(() => e.apply(this, a), { fn: e, thisArg: this, args: a })).then(o).catch(i);
|
|
@@ -113,39 +113,39 @@ function mt(t, e) {
|
|
|
113
113
|
}
|
|
114
114
|
return r;
|
|
115
115
|
}
|
|
116
|
-
const
|
|
116
|
+
const tr = (t) => t();
|
|
117
117
|
function Pa(t, e = {}) {
|
|
118
|
-
let r, a, o =
|
|
118
|
+
let r, a, o = W;
|
|
119
119
|
const i = (s) => {
|
|
120
|
-
clearTimeout(s), o(), o =
|
|
120
|
+
clearTimeout(s), o(), o = W;
|
|
121
121
|
};
|
|
122
122
|
return (s) => {
|
|
123
123
|
const l = U(t), c = U(e.maxWait);
|
|
124
|
-
return r && i(r), l <= 0 || c !== void 0 && c <= 0 ? (a && (i(a), a = null), Promise.resolve(s())) : new Promise((
|
|
125
|
-
o = e.rejectOnCancel ? m :
|
|
126
|
-
r && i(r), a = null,
|
|
124
|
+
return r && i(r), l <= 0 || c !== void 0 && c <= 0 ? (a && (i(a), a = null), Promise.resolve(s())) : new Promise((g, m) => {
|
|
125
|
+
o = e.rejectOnCancel ? m : g, c && !a && (a = setTimeout(() => {
|
|
126
|
+
r && i(r), a = null, g(s());
|
|
127
127
|
}, c)), r = setTimeout(() => {
|
|
128
|
-
a && i(a), a = null,
|
|
128
|
+
a && i(a), a = null, g(s());
|
|
129
129
|
}, l);
|
|
130
130
|
});
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
function Ma(...t) {
|
|
134
|
-
let e = 0, r, a = !0, o =
|
|
135
|
-
!
|
|
136
|
-
const
|
|
137
|
-
r && (clearTimeout(r), r = void 0, o(), o =
|
|
134
|
+
let e = 0, r, a = !0, o = W, i, n, s, l, c;
|
|
135
|
+
!de(t[0]) && typeof t[0] == "object" ? { delay: n, trailing: s = !0, leading: l = !0, rejectOnCancel: c = !1 } = t[0] : [n, s = !0, l = !0, c = !1] = t;
|
|
136
|
+
const g = () => {
|
|
137
|
+
r && (clearTimeout(r), r = void 0, o(), o = W);
|
|
138
138
|
};
|
|
139
139
|
return (f) => {
|
|
140
140
|
const v = U(n), S = Date.now() - e, h = () => i = f();
|
|
141
|
-
return
|
|
141
|
+
return g(), v <= 0 ? (e = Date.now(), h()) : (S > v && (l || !a) ? (e = Date.now(), h()) : s && (i = new Promise((C, x) => {
|
|
142
142
|
o = c ? x : C, r = setTimeout(() => {
|
|
143
|
-
e = Date.now(), a = !0, C(h()),
|
|
143
|
+
e = Date.now(), a = !0, C(h()), g();
|
|
144
144
|
}, Math.max(0, v - S));
|
|
145
145
|
})), !l && !r && (r = setTimeout(() => a = !0, v)), a = !1, i);
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
function ja(t =
|
|
148
|
+
function ja(t = tr) {
|
|
149
149
|
const e = j(!0);
|
|
150
150
|
function r() {
|
|
151
151
|
e.value = !1;
|
|
@@ -158,37 +158,37 @@ function ja(t = er) {
|
|
|
158
158
|
};
|
|
159
159
|
return { isActive: wr(e), pause: r, resume: a, eventFilter: o };
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function lt(t, e = !1, r = "Timeout") {
|
|
162
162
|
return new Promise((a, o) => {
|
|
163
163
|
setTimeout(e ? () => o(r) : a, t);
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
function Oa(t) {
|
|
167
|
-
return
|
|
167
|
+
return Bt();
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function $t(t) {
|
|
170
170
|
return Array.isArray(t) ? t : [t];
|
|
171
171
|
}
|
|
172
172
|
function Ga(t, e = 200, r = {}) {
|
|
173
|
-
return
|
|
173
|
+
return vt(
|
|
174
174
|
Pa(e, r),
|
|
175
175
|
t
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
178
|
function Ra(t, e = 200, r = !1, a = !0, o = !1) {
|
|
179
|
-
return
|
|
179
|
+
return vt(
|
|
180
180
|
Ma(e, r, a, o),
|
|
181
181
|
t
|
|
182
182
|
);
|
|
183
183
|
}
|
|
184
184
|
function Ya(t, e, r = {}) {
|
|
185
185
|
const {
|
|
186
|
-
eventFilter: a =
|
|
186
|
+
eventFilter: a = tr,
|
|
187
187
|
...o
|
|
188
188
|
} = r;
|
|
189
|
-
return
|
|
189
|
+
return se(
|
|
190
190
|
t,
|
|
191
|
-
|
|
191
|
+
vt(
|
|
192
192
|
a,
|
|
193
193
|
e
|
|
194
194
|
),
|
|
@@ -210,13 +210,13 @@ function Ua(t, e, r = {}) {
|
|
|
210
210
|
), pause: n, resume: s, isActive: l };
|
|
211
211
|
}
|
|
212
212
|
function Ka(t, e = !0, r) {
|
|
213
|
-
Oa() ?
|
|
213
|
+
Oa() ? gt(t, r) : e ? t() : ze(t);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function ct(t, e = !1) {
|
|
216
216
|
function r(m, { flush: f = "sync", deep: v = !1, timeout: S, throwOnTimeout: h } = {}) {
|
|
217
217
|
let C = null;
|
|
218
218
|
const z = [new Promise((y) => {
|
|
219
|
-
C =
|
|
219
|
+
C = se(
|
|
220
220
|
t,
|
|
221
221
|
(b) => {
|
|
222
222
|
m(b) !== e && (C ? C() : ze(() => C == null ? void 0 : C()), y(b));
|
|
@@ -229,16 +229,16 @@ function lt(t, e = !1) {
|
|
|
229
229
|
);
|
|
230
230
|
})];
|
|
231
231
|
return S != null && z.push(
|
|
232
|
-
|
|
232
|
+
lt(S, h).then(() => U(t)).finally(() => C == null ? void 0 : C())
|
|
233
233
|
), Promise.race(z);
|
|
234
234
|
}
|
|
235
235
|
function a(m, f) {
|
|
236
|
-
if (!
|
|
236
|
+
if (!de(m))
|
|
237
237
|
return r((b) => b === m, f);
|
|
238
238
|
const { flush: v = "sync", deep: S = !1, timeout: h, throwOnTimeout: C } = f ?? {};
|
|
239
239
|
let x = null;
|
|
240
240
|
const y = [new Promise((b) => {
|
|
241
|
-
x =
|
|
241
|
+
x = se(
|
|
242
242
|
[t, m],
|
|
243
243
|
([I, E]) => {
|
|
244
244
|
e !== (I === E) && (x ? x() : ze(() => x == null ? void 0 : x()), b(I));
|
|
@@ -251,7 +251,7 @@ function lt(t, e = !1) {
|
|
|
251
251
|
);
|
|
252
252
|
})];
|
|
253
253
|
return h != null && y.push(
|
|
254
|
-
|
|
254
|
+
lt(h, C).then(() => U(t)).finally(() => (x == null || x(), U(t)))
|
|
255
255
|
), Promise.race(y);
|
|
256
256
|
}
|
|
257
257
|
function o(m) {
|
|
@@ -273,9 +273,9 @@ function lt(t, e = !1) {
|
|
|
273
273
|
}, f);
|
|
274
274
|
}
|
|
275
275
|
function c(m) {
|
|
276
|
-
return
|
|
276
|
+
return g(1, m);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function g(m = 1, f) {
|
|
279
279
|
let v = -1;
|
|
280
280
|
return r(() => (v += 1, v >= m), f);
|
|
281
281
|
}
|
|
@@ -283,9 +283,9 @@ function lt(t, e = !1) {
|
|
|
283
283
|
toMatch: r,
|
|
284
284
|
toContains: l,
|
|
285
285
|
changed: c,
|
|
286
|
-
changedTimes:
|
|
286
|
+
changedTimes: g,
|
|
287
287
|
get not() {
|
|
288
|
-
return
|
|
288
|
+
return ct(t, !e);
|
|
289
289
|
}
|
|
290
290
|
} : {
|
|
291
291
|
toMatch: r,
|
|
@@ -295,16 +295,16 @@ function lt(t, e = !1) {
|
|
|
295
295
|
toBeNaN: s,
|
|
296
296
|
toBeUndefined: n,
|
|
297
297
|
changed: c,
|
|
298
|
-
changedTimes:
|
|
298
|
+
changedTimes: g,
|
|
299
299
|
get not() {
|
|
300
|
-
return
|
|
300
|
+
return ct(t, !e);
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
303
|
}
|
|
304
|
-
function
|
|
305
|
-
return
|
|
304
|
+
function Va(t) {
|
|
305
|
+
return ct(t);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Ct(t, e = 1e3, r = {}) {
|
|
308
308
|
const {
|
|
309
309
|
immediate: a = !0,
|
|
310
310
|
immediateCallback: o = !1
|
|
@@ -318,22 +318,22 @@ function $t(t, e = 1e3, r = {}) {
|
|
|
318
318
|
n.value = !1, s();
|
|
319
319
|
}
|
|
320
320
|
function c() {
|
|
321
|
-
const
|
|
322
|
-
|
|
321
|
+
const g = U(e);
|
|
322
|
+
g <= 0 || (n.value = !0, o && t(), s(), n.value && (i = setInterval(t, g)));
|
|
323
323
|
}
|
|
324
|
-
if (a &&
|
|
325
|
-
const
|
|
326
|
-
n.value &&
|
|
324
|
+
if (a && st && c(), de(e) || typeof e == "function") {
|
|
325
|
+
const g = se(e, () => {
|
|
326
|
+
n.value && st && c();
|
|
327
327
|
});
|
|
328
|
-
|
|
328
|
+
nt(g);
|
|
329
329
|
}
|
|
330
|
-
return
|
|
330
|
+
return nt(l), {
|
|
331
331
|
isActive: n,
|
|
332
332
|
pause: l,
|
|
333
333
|
resume: c
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
|
-
const
|
|
336
|
+
const bt = st ? window : void 0;
|
|
337
337
|
function ue(t) {
|
|
338
338
|
var e;
|
|
339
339
|
const r = U(t);
|
|
@@ -341,65 +341,65 @@ function ue(t) {
|
|
|
341
341
|
}
|
|
342
342
|
function Re(...t) {
|
|
343
343
|
let e, r, a, o;
|
|
344
|
-
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, a, o] = t, e =
|
|
345
|
-
return
|
|
346
|
-
r =
|
|
344
|
+
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, a, o] = t, e = bt) : [e, r, a, o] = t, !e)
|
|
345
|
+
return W;
|
|
346
|
+
r = $t(r), a = $t(a);
|
|
347
347
|
const i = [], n = () => {
|
|
348
|
-
i.forEach((
|
|
349
|
-
}, s = (
|
|
348
|
+
i.forEach((g) => g()), i.length = 0;
|
|
349
|
+
}, s = (g, m, f, v) => (g.addEventListener(m, f, v), () => g.removeEventListener(m, f, v)), l = se(
|
|
350
350
|
() => [ue(e), U(o)],
|
|
351
|
-
([
|
|
352
|
-
if (n(), !
|
|
351
|
+
([g, m]) => {
|
|
352
|
+
if (n(), !g)
|
|
353
353
|
return;
|
|
354
354
|
const f = La(m) ? { ...m } : m;
|
|
355
355
|
i.push(
|
|
356
|
-
...r.flatMap((v) => a.map((S) => s(
|
|
356
|
+
...r.flatMap((v) => a.map((S) => s(g, v, S, f)))
|
|
357
357
|
);
|
|
358
358
|
},
|
|
359
359
|
{ immediate: !0, flush: "post" }
|
|
360
360
|
), c = () => {
|
|
361
361
|
l(), n();
|
|
362
362
|
};
|
|
363
|
-
return
|
|
363
|
+
return nt(c), c;
|
|
364
364
|
}
|
|
365
365
|
function be(t, e) {
|
|
366
366
|
const {
|
|
367
367
|
interrupt: r = !0,
|
|
368
|
-
onError: a =
|
|
369
|
-
onFinished: o =
|
|
368
|
+
onError: a = W,
|
|
369
|
+
onFinished: o = W,
|
|
370
370
|
signal: i
|
|
371
371
|
} = {}, n = {
|
|
372
372
|
aborted: "aborted",
|
|
373
373
|
fulfilled: "fulfilled",
|
|
374
374
|
pending: "pending",
|
|
375
375
|
rejected: "rejected"
|
|
376
|
-
}, s = Array.from(Array.from({ length: t.length }), () => ({ state: n.pending, data: null })), l =
|
|
376
|
+
}, s = Array.from(Array.from({ length: t.length }), () => ({ state: n.pending, data: null })), l = le(s), c = j(-1);
|
|
377
377
|
if (!t || t.length === 0)
|
|
378
378
|
return o(), {
|
|
379
379
|
activeIndex: c,
|
|
380
380
|
result: l
|
|
381
381
|
};
|
|
382
|
-
function
|
|
382
|
+
function g(m, f) {
|
|
383
383
|
c.value++, l[c.value].data = f, l[c.value].state = m;
|
|
384
384
|
}
|
|
385
385
|
return t.reduce((m, f) => m.then((v) => {
|
|
386
386
|
var S;
|
|
387
387
|
if (i != null && i.aborted) {
|
|
388
|
-
|
|
388
|
+
g(n.aborted, new Error("aborted"));
|
|
389
389
|
return;
|
|
390
390
|
}
|
|
391
391
|
if (((S = l[c.value]) == null ? void 0 : S.state) === n.rejected && r) {
|
|
392
392
|
o();
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
|
-
const h = f(v).then((C) => (
|
|
396
|
-
return i ? Promise.race([h,
|
|
397
|
-
}).catch((v) => i != null && i.aborted ? (
|
|
395
|
+
const h = f(v).then((C) => (g(n.fulfilled, C), c.value === t.length - 1 && o(), C));
|
|
396
|
+
return i ? Promise.race([h, Fa(i)]) : h;
|
|
397
|
+
}).catch((v) => i != null && i.aborted ? (g(n.aborted, v), v) : (g(n.rejected, v), a(), v)), Promise.resolve()), {
|
|
398
398
|
activeIndex: c,
|
|
399
399
|
result: l
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
|
-
function
|
|
402
|
+
function Fa(t) {
|
|
403
403
|
return new Promise((e, r) => {
|
|
404
404
|
const a = new Error("aborted");
|
|
405
405
|
t.aborted ? r(a) : t.addEventListener("abort", () => r(a), { once: !0 });
|
|
@@ -409,29 +409,29 @@ function Ba(t, e, r) {
|
|
|
409
409
|
const {
|
|
410
410
|
immediate: a = !0,
|
|
411
411
|
delay: o = 0,
|
|
412
|
-
onError: i =
|
|
413
|
-
onSuccess: n =
|
|
412
|
+
onError: i = W,
|
|
413
|
+
onSuccess: n = W,
|
|
414
414
|
resetOnExecute: s = !0,
|
|
415
415
|
shallow: l = !0,
|
|
416
416
|
throwError: c
|
|
417
|
-
} = r ?? {},
|
|
417
|
+
} = r ?? {}, g = l ? Pe(e) : j(e), m = j(!1), f = j(!1), v = Pe(void 0);
|
|
418
418
|
async function S(x = 0, ...z) {
|
|
419
|
-
s && (
|
|
419
|
+
s && (g.value = e), v.value = void 0, m.value = !1, f.value = !0, x > 0 && await lt(x);
|
|
420
420
|
const y = typeof t == "function" ? t(...z) : t;
|
|
421
421
|
try {
|
|
422
422
|
const b = await y;
|
|
423
|
-
|
|
423
|
+
g.value = b, m.value = !0, n(b);
|
|
424
424
|
} catch (b) {
|
|
425
425
|
if (v.value = b, i(b), c)
|
|
426
426
|
throw b;
|
|
427
427
|
} finally {
|
|
428
428
|
f.value = !1;
|
|
429
429
|
}
|
|
430
|
-
return
|
|
430
|
+
return g.value;
|
|
431
431
|
}
|
|
432
432
|
a && S(o);
|
|
433
433
|
const h = {
|
|
434
|
-
state:
|
|
434
|
+
state: g,
|
|
435
435
|
isReady: m,
|
|
436
436
|
isLoading: f,
|
|
437
437
|
error: v,
|
|
@@ -439,7 +439,7 @@ function Ba(t, e, r) {
|
|
|
439
439
|
};
|
|
440
440
|
function C() {
|
|
441
441
|
return new Promise((x, z) => {
|
|
442
|
-
|
|
442
|
+
Va(f).toBe(!1).then(() => x(h)).catch(z);
|
|
443
443
|
});
|
|
444
444
|
}
|
|
445
445
|
return {
|
|
@@ -452,13 +452,13 @@ function Ba(t, e, r) {
|
|
|
452
452
|
function qa(t) {
|
|
453
453
|
return JSON.parse(JSON.stringify(t));
|
|
454
454
|
}
|
|
455
|
-
const
|
|
456
|
-
function
|
|
455
|
+
const Nt = 1;
|
|
456
|
+
function Ha(t, e = {}) {
|
|
457
457
|
const {
|
|
458
458
|
throttle: r = 0,
|
|
459
459
|
idle: a = 200,
|
|
460
|
-
onStop: o =
|
|
461
|
-
onScroll: i =
|
|
460
|
+
onStop: o = W,
|
|
461
|
+
onScroll: i = W,
|
|
462
462
|
offset: n = {
|
|
463
463
|
left: 0,
|
|
464
464
|
right: 0,
|
|
@@ -470,8 +470,8 @@ function Wa(t, e = {}) {
|
|
|
470
470
|
passive: !0
|
|
471
471
|
},
|
|
472
472
|
behavior: l = "auto",
|
|
473
|
-
window: c =
|
|
474
|
-
onError:
|
|
473
|
+
window: c = bt,
|
|
474
|
+
onError: g = (k) => {
|
|
475
475
|
console.error(k);
|
|
476
476
|
}
|
|
477
477
|
} = e, m = j(0), f = j(0), v = A({
|
|
@@ -490,26 +490,26 @@ function Wa(t, e = {}) {
|
|
|
490
490
|
}
|
|
491
491
|
});
|
|
492
492
|
function h(k, P) {
|
|
493
|
-
var D,
|
|
493
|
+
var D, J, ne, te;
|
|
494
494
|
if (!c)
|
|
495
495
|
return;
|
|
496
|
-
const
|
|
497
|
-
if (!
|
|
496
|
+
const F = U(t);
|
|
497
|
+
if (!F)
|
|
498
498
|
return;
|
|
499
|
-
(
|
|
499
|
+
(ne = F instanceof Document ? c.document.body : F) == null || ne.scrollTo({
|
|
500
500
|
top: (D = U(P)) != null ? D : S.value,
|
|
501
|
-
left: (
|
|
501
|
+
left: (J = U(k)) != null ? J : v.value,
|
|
502
502
|
behavior: U(l)
|
|
503
503
|
});
|
|
504
|
-
const
|
|
505
|
-
v != null && (m.value =
|
|
504
|
+
const N = ((te = F == null ? void 0 : F.document) == null ? void 0 : te.documentElement) || (F == null ? void 0 : F.documentElement) || F;
|
|
505
|
+
v != null && (m.value = N.scrollLeft), S != null && (f.value = N.scrollTop);
|
|
506
506
|
}
|
|
507
|
-
const C = j(!1), x =
|
|
507
|
+
const C = j(!1), x = le({
|
|
508
508
|
left: !0,
|
|
509
509
|
right: !1,
|
|
510
510
|
top: !0,
|
|
511
511
|
bottom: !1
|
|
512
|
-
}), z =
|
|
512
|
+
}), z = le({
|
|
513
513
|
left: !1,
|
|
514
514
|
right: !1,
|
|
515
515
|
top: !1,
|
|
@@ -520,14 +520,14 @@ function Wa(t, e = {}) {
|
|
|
520
520
|
var P;
|
|
521
521
|
if (!c)
|
|
522
522
|
return;
|
|
523
|
-
const D = ((P = k == null ? void 0 : k.document) == null ? void 0 : P.documentElement) || (k == null ? void 0 : k.documentElement) || ue(k), { display:
|
|
524
|
-
z.left =
|
|
525
|
-
const O =
|
|
526
|
-
|
|
523
|
+
const D = ((P = k == null ? void 0 : k.document) == null ? void 0 : P.documentElement) || (k == null ? void 0 : k.documentElement) || ue(k), { display: J, flexDirection: ne, direction: te } = getComputedStyle(D), F = te === "rtl" ? -1 : 1, N = D.scrollLeft;
|
|
524
|
+
z.left = N < m.value, z.right = N > m.value;
|
|
525
|
+
const O = N * F <= (n.left || 0), ae = N * F + D.clientWidth >= D.scrollWidth - (n.right || 0) - Nt;
|
|
526
|
+
J === "flex" && ne === "row-reverse" ? (x.left = ae, x.right = O) : (x.left = O, x.right = ae), m.value = N;
|
|
527
527
|
let B = D.scrollTop;
|
|
528
528
|
k === c.document && !B && (B = c.document.body.scrollTop), z.top = B < f.value, z.bottom = B > f.value;
|
|
529
|
-
const re = B <= (n.top || 0),
|
|
530
|
-
|
|
529
|
+
const re = B <= (n.top || 0), Ze = B + D.clientHeight >= D.scrollHeight - (n.bottom || 0) - Nt;
|
|
530
|
+
J === "flex" && ne === "column-reverse" ? (x.top = Ze, x.bottom = re) : (x.top = re, x.bottom = Ze), f.value = B;
|
|
531
531
|
}, E = (k) => {
|
|
532
532
|
var P;
|
|
533
533
|
if (!c)
|
|
@@ -547,7 +547,7 @@ function Wa(t, e = {}) {
|
|
|
547
547
|
return;
|
|
548
548
|
I(k);
|
|
549
549
|
} catch (k) {
|
|
550
|
-
|
|
550
|
+
g(k);
|
|
551
551
|
}
|
|
552
552
|
}), Re(
|
|
553
553
|
t,
|
|
@@ -566,18 +566,18 @@ function Wa(t, e = {}) {
|
|
|
566
566
|
}
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function rr(t = "history", e = {}) {
|
|
570
570
|
const {
|
|
571
571
|
initialValue: r = {},
|
|
572
572
|
removeNullishValues: a = !0,
|
|
573
573
|
removeFalsyValues: o = !1,
|
|
574
574
|
write: i = !0,
|
|
575
575
|
writeMode: n = "replace",
|
|
576
|
-
window: s =
|
|
576
|
+
window: s = bt
|
|
577
577
|
} = e;
|
|
578
578
|
if (!s)
|
|
579
|
-
return
|
|
580
|
-
const l =
|
|
579
|
+
return le(r);
|
|
580
|
+
const l = le({});
|
|
581
581
|
function c() {
|
|
582
582
|
if (t === "history")
|
|
583
583
|
return s.location.search || "";
|
|
@@ -587,7 +587,7 @@ function tr(t = "history", e = {}) {
|
|
|
587
587
|
} else
|
|
588
588
|
return (s.location.hash || "").replace(/^#/, "");
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function g(y) {
|
|
591
591
|
const b = y.toString();
|
|
592
592
|
if (t === "history")
|
|
593
593
|
return `${b ? `?${b}` : ""}${s.location.hash || ""}`;
|
|
@@ -622,11 +622,11 @@ function tr(t = "history", e = {}) {
|
|
|
622
622
|
v(), b && f(y), n === "replace" ? s.history.replaceState(
|
|
623
623
|
s.history.state,
|
|
624
624
|
s.document.title,
|
|
625
|
-
s.location.pathname +
|
|
625
|
+
s.location.pathname + g(y)
|
|
626
626
|
) : s.history.pushState(
|
|
627
627
|
s.history.state,
|
|
628
628
|
s.document.title,
|
|
629
|
-
s.location.pathname +
|
|
629
|
+
s.location.pathname + g(y)
|
|
630
630
|
), S();
|
|
631
631
|
}
|
|
632
632
|
function C() {
|
|
@@ -637,16 +637,16 @@ function tr(t = "history", e = {}) {
|
|
|
637
637
|
const z = m();
|
|
638
638
|
return z.keys().next().value ? f(z) : Object.assign(l, r), l;
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Wa(t, e, r, a = {}) {
|
|
641
641
|
var o, i, n;
|
|
642
642
|
const {
|
|
643
643
|
clone: s = !1,
|
|
644
644
|
passive: l = !1,
|
|
645
645
|
eventName: c,
|
|
646
|
-
deep:
|
|
646
|
+
deep: g = !1,
|
|
647
647
|
defaultValue: m,
|
|
648
648
|
shouldEmit: f
|
|
649
|
-
} = a, v =
|
|
649
|
+
} = a, v = Bt(), S = r || (v == null ? void 0 : v.emit) || ((o = v == null ? void 0 : v.$emit) == null ? void 0 : o.bind(v)) || ((n = (i = v == null ? void 0 : v.proxy) == null ? void 0 : i.$emit) == null ? void 0 : n.bind(v == null ? void 0 : v.proxy));
|
|
650
650
|
let h = c;
|
|
651
651
|
e || (e = "modelValue"), h = h || `update:${e.toString()}`;
|
|
652
652
|
const C = (y) => s ? typeof s == "function" ? s(y) : qa(y) : y, x = () => Ea(t[e]) ? C(t[e]) : m, z = (y) => {
|
|
@@ -655,17 +655,17 @@ function Ha(t, e, r, a = {}) {
|
|
|
655
655
|
if (l) {
|
|
656
656
|
const y = x(), b = j(y);
|
|
657
657
|
let I = !1;
|
|
658
|
-
return
|
|
658
|
+
return se(
|
|
659
659
|
() => t[e],
|
|
660
660
|
(E) => {
|
|
661
661
|
I || (I = !0, b.value = C(E), ze(() => I = !1));
|
|
662
662
|
}
|
|
663
|
-
),
|
|
663
|
+
), se(
|
|
664
664
|
b,
|
|
665
665
|
(E) => {
|
|
666
|
-
!I && (E !== t[e] ||
|
|
666
|
+
!I && (E !== t[e] || g) && z(E);
|
|
667
667
|
},
|
|
668
|
-
{ deep:
|
|
668
|
+
{ deep: g }
|
|
669
669
|
), b;
|
|
670
670
|
} else
|
|
671
671
|
return A({
|
|
@@ -677,10 +677,10 @@ function Ha(t, e, r, a = {}) {
|
|
|
677
677
|
}
|
|
678
678
|
});
|
|
679
679
|
}
|
|
680
|
-
function
|
|
680
|
+
function ht(t, e, r = {}) {
|
|
681
681
|
const a = {};
|
|
682
682
|
for (const o in t)
|
|
683
|
-
a[o] =
|
|
683
|
+
a[o] = Wa(
|
|
684
684
|
t,
|
|
685
685
|
o,
|
|
686
686
|
e,
|
|
@@ -714,10 +714,10 @@ function K(t) {
|
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var Ja = /* @__PURE__ */ K(function(e, r) {
|
|
718
718
|
return Number(e) + Number(r);
|
|
719
719
|
});
|
|
720
|
-
function
|
|
720
|
+
function qe(t, e) {
|
|
721
721
|
switch (t) {
|
|
722
722
|
case 0:
|
|
723
723
|
return function() {
|
|
@@ -756,30 +756,30 @@ function Be(t, e) {
|
|
|
756
756
|
return e.apply(this, arguments);
|
|
757
757
|
};
|
|
758
758
|
case 9:
|
|
759
|
-
return function(r, a, o, i, n, s, l, c,
|
|
759
|
+
return function(r, a, o, i, n, s, l, c, g) {
|
|
760
760
|
return e.apply(this, arguments);
|
|
761
761
|
};
|
|
762
762
|
case 10:
|
|
763
|
-
return function(r, a, o, i, n, s, l, c,
|
|
763
|
+
return function(r, a, o, i, n, s, l, c, g, m) {
|
|
764
764
|
return e.apply(this, arguments);
|
|
765
765
|
};
|
|
766
766
|
default:
|
|
767
767
|
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function ar(t, e, r) {
|
|
771
771
|
return function() {
|
|
772
772
|
for (var a = [], o = 0, i = t, n = 0, s = !1; n < e.length || o < arguments.length; ) {
|
|
773
773
|
var l;
|
|
774
774
|
n < e.length && (!L(e[n]) || o >= arguments.length) ? l = e[n] : (l = arguments[o], o += 1), a[n] = l, L(l) ? s = !0 : i -= 1, n += 1;
|
|
775
775
|
}
|
|
776
|
-
return !s && i <= 0 ? r.apply(this, a) :
|
|
776
|
+
return !s && i <= 0 ? r.apply(this, a) : qe(Math.max(0, i), ar(t, a, r));
|
|
777
777
|
};
|
|
778
778
|
}
|
|
779
|
-
var
|
|
780
|
-
return e === 1 ? Y(r) :
|
|
779
|
+
var Xa = /* @__PURE__ */ K(function(e, r) {
|
|
780
|
+
return e === 1 ? Y(r) : qe(e, ar(e, [], r));
|
|
781
781
|
});
|
|
782
|
-
function
|
|
782
|
+
function ft(t) {
|
|
783
783
|
return function e(r, a, o) {
|
|
784
784
|
switch (arguments.length) {
|
|
785
785
|
case 0:
|
|
@@ -813,7 +813,7 @@ function ht(t) {
|
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
815
|
}
|
|
816
|
-
const
|
|
816
|
+
const He = Array.isArray || function(e) {
|
|
817
817
|
return e != null && e.length >= 0 && Object.prototype.toString.call(e) === "[object Array]";
|
|
818
818
|
};
|
|
819
819
|
function Qa(t) {
|
|
@@ -824,7 +824,7 @@ function Za(t, e, r) {
|
|
|
824
824
|
if (arguments.length === 0)
|
|
825
825
|
return r();
|
|
826
826
|
var a = arguments[arguments.length - 1];
|
|
827
|
-
if (!
|
|
827
|
+
if (!He(a)) {
|
|
828
828
|
for (var o = 0; o < t.length; ) {
|
|
829
829
|
if (typeof a[t[o]] == "function")
|
|
830
830
|
return a[t[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
|
|
@@ -846,12 +846,12 @@ const Tt = {
|
|
|
846
846
|
return this.xf["@@transducer/result"](t);
|
|
847
847
|
}
|
|
848
848
|
};
|
|
849
|
-
function
|
|
849
|
+
function At(t) {
|
|
850
850
|
for (var e = [], r; !(r = t.next()).done; )
|
|
851
851
|
e.push(r.value);
|
|
852
852
|
return e;
|
|
853
853
|
}
|
|
854
|
-
function
|
|
854
|
+
function Et(t, e, r) {
|
|
855
855
|
for (var a = 0, o = r.length; a < o; ) {
|
|
856
856
|
if (t(e, r[a]))
|
|
857
857
|
return !0;
|
|
@@ -869,16 +869,16 @@ function Ye(t, e) {
|
|
|
869
869
|
function to(t, e) {
|
|
870
870
|
return t === e ? t !== 0 || 1 / t === 1 / e : t !== t && e !== e;
|
|
871
871
|
}
|
|
872
|
-
const
|
|
873
|
-
var
|
|
874
|
-
return
|
|
875
|
-
return
|
|
872
|
+
const rt = typeof Object.is == "function" ? Object.is : to;
|
|
873
|
+
var Dt = Object.prototype.toString, or = /* @__PURE__ */ function() {
|
|
874
|
+
return Dt.call(arguments) === "[object Arguments]" ? function(e) {
|
|
875
|
+
return Dt.call(e) === "[object Arguments]";
|
|
876
876
|
} : function(e) {
|
|
877
877
|
return Ye("callee", e);
|
|
878
878
|
};
|
|
879
879
|
}(), ro = !/* @__PURE__ */ {
|
|
880
880
|
toString: null
|
|
881
|
-
}.propertyIsEnumerable("toString"),
|
|
881
|
+
}.propertyIsEnumerable("toString"), Lt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Pt = /* @__PURE__ */ function() {
|
|
882
882
|
return arguments.propertyIsEnumerable("length");
|
|
883
883
|
}(), ao = function(e, r) {
|
|
884
884
|
for (var a = 0; a < e.length; ) {
|
|
@@ -887,35 +887,35 @@ var Et = Object.prototype.toString, ar = /* @__PURE__ */ function() {
|
|
|
887
887
|
a += 1;
|
|
888
888
|
}
|
|
889
889
|
return !1;
|
|
890
|
-
},
|
|
890
|
+
}, dt = /* @__PURE__ */ Y(typeof Object.keys == "function" && !Pt ? function(e) {
|
|
891
891
|
return Object(e) !== e ? [] : Object.keys(e);
|
|
892
892
|
} : function(e) {
|
|
893
893
|
if (Object(e) !== e)
|
|
894
894
|
return [];
|
|
895
|
-
var r, a, o = [], i =
|
|
895
|
+
var r, a, o = [], i = Pt && or(e);
|
|
896
896
|
for (r in e)
|
|
897
897
|
Ye(r, e) && (!i || r !== "length") && (o[o.length] = r);
|
|
898
898
|
if (ro)
|
|
899
|
-
for (a =
|
|
900
|
-
r =
|
|
899
|
+
for (a = Lt.length - 1; a >= 0; )
|
|
900
|
+
r = Lt[a], Ye(r, e) && !ao(o, r) && (o[o.length] = r), a -= 1;
|
|
901
901
|
return o;
|
|
902
|
-
}),
|
|
902
|
+
}), Mt = /* @__PURE__ */ Y(function(e) {
|
|
903
903
|
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
|
904
904
|
});
|
|
905
|
-
function
|
|
906
|
-
var o =
|
|
905
|
+
function jt(t, e, r, a) {
|
|
906
|
+
var o = At(t), i = At(e);
|
|
907
907
|
function n(s, l) {
|
|
908
|
-
return
|
|
908
|
+
return yt(s, l, r.slice(), a.slice());
|
|
909
909
|
}
|
|
910
|
-
return !
|
|
911
|
-
return !
|
|
910
|
+
return !Et(function(s, l) {
|
|
911
|
+
return !Et(n, l, s);
|
|
912
912
|
}, i, o);
|
|
913
913
|
}
|
|
914
|
-
function
|
|
915
|
-
if (
|
|
914
|
+
function yt(t, e, r, a) {
|
|
915
|
+
if (rt(t, e))
|
|
916
916
|
return !0;
|
|
917
|
-
var o =
|
|
918
|
-
if (o !==
|
|
917
|
+
var o = Mt(t);
|
|
918
|
+
if (o !== Mt(e))
|
|
919
919
|
return !1;
|
|
920
920
|
if (typeof t["fantasy-land/equals"] == "function" || typeof e["fantasy-land/equals"] == "function")
|
|
921
921
|
return typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e) && typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t);
|
|
@@ -931,11 +931,11 @@ function ft(t, e, r, a) {
|
|
|
931
931
|
case "Boolean":
|
|
932
932
|
case "Number":
|
|
933
933
|
case "String":
|
|
934
|
-
if (!(typeof t == typeof e &&
|
|
934
|
+
if (!(typeof t == typeof e && rt(t.valueOf(), e.valueOf())))
|
|
935
935
|
return !1;
|
|
936
936
|
break;
|
|
937
937
|
case "Date":
|
|
938
|
-
if (!
|
|
938
|
+
if (!rt(t.valueOf(), e.valueOf()))
|
|
939
939
|
return !1;
|
|
940
940
|
break;
|
|
941
941
|
case "Error":
|
|
@@ -952,9 +952,9 @@ function ft(t, e, r, a) {
|
|
|
952
952
|
}
|
|
953
953
|
switch (o) {
|
|
954
954
|
case "Map":
|
|
955
|
-
return t.size !== e.size ? !1 :
|
|
955
|
+
return t.size !== e.size ? !1 : jt(t.entries(), e.entries(), r.concat([t]), a.concat([e]));
|
|
956
956
|
case "Set":
|
|
957
|
-
return t.size !== e.size ? !1 :
|
|
957
|
+
return t.size !== e.size ? !1 : jt(t.values(), e.values(), r.concat([t]), a.concat([e]));
|
|
958
958
|
case "Arguments":
|
|
959
959
|
case "Array":
|
|
960
960
|
case "Object":
|
|
@@ -978,20 +978,20 @@ function ft(t, e, r, a) {
|
|
|
978
978
|
default:
|
|
979
979
|
return !1;
|
|
980
980
|
}
|
|
981
|
-
var n =
|
|
982
|
-
if (n.length !==
|
|
981
|
+
var n = dt(t);
|
|
982
|
+
if (n.length !== dt(e).length)
|
|
983
983
|
return !1;
|
|
984
984
|
var s = r.concat([t]), l = a.concat([e]);
|
|
985
985
|
for (i = n.length - 1; i >= 0; ) {
|
|
986
986
|
var c = n[i];
|
|
987
|
-
if (!(Ye(c, e) &&
|
|
987
|
+
if (!(Ye(c, e) && yt(e[c], t[c], s, l)))
|
|
988
988
|
return !1;
|
|
989
989
|
i -= 1;
|
|
990
990
|
}
|
|
991
991
|
return !0;
|
|
992
992
|
}
|
|
993
993
|
var oo = /* @__PURE__ */ K(function(e, r) {
|
|
994
|
-
return
|
|
994
|
+
return yt(e, r, [], []);
|
|
995
995
|
});
|
|
996
996
|
function io(t, e) {
|
|
997
997
|
for (var r = 0, a = e.length, o = Array(a); r < a; )
|
|
@@ -1017,36 +1017,36 @@ var lo = /* @__PURE__ */ function() {
|
|
|
1017
1017
|
return function(r) {
|
|
1018
1018
|
return new lo(e, r);
|
|
1019
1019
|
};
|
|
1020
|
-
},
|
|
1020
|
+
}, wt = /* @__PURE__ */ K(/* @__PURE__ */ Za(["fantasy-land/map", "map"], co, function(e, r) {
|
|
1021
1021
|
switch (Object.prototype.toString.call(r)) {
|
|
1022
1022
|
case "[object Function]":
|
|
1023
|
-
return
|
|
1023
|
+
return Xa(r.length, function() {
|
|
1024
1024
|
return e.call(this, r.apply(this, arguments));
|
|
1025
1025
|
});
|
|
1026
1026
|
case "[object Object]":
|
|
1027
1027
|
return no(function(a, o) {
|
|
1028
1028
|
return a[o] = e(r[o]), a;
|
|
1029
|
-
}, {},
|
|
1029
|
+
}, {}, dt(r));
|
|
1030
1030
|
default:
|
|
1031
1031
|
return io(e, r);
|
|
1032
1032
|
}
|
|
1033
1033
|
}));
|
|
1034
|
-
const
|
|
1034
|
+
const ir = Number.isInteger || function(e) {
|
|
1035
1035
|
return e << 0 === e;
|
|
1036
1036
|
};
|
|
1037
1037
|
function We(t) {
|
|
1038
1038
|
return Object.prototype.toString.call(t) === "[object String]";
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function Je(t, e) {
|
|
1041
1041
|
var r = t < 0 ? e.length + t : t;
|
|
1042
1042
|
return We(e) ? e.charAt(r) : e[r];
|
|
1043
1043
|
}
|
|
1044
|
-
var
|
|
1044
|
+
var ie = /* @__PURE__ */ K(function(e, r) {
|
|
1045
1045
|
if (r != null)
|
|
1046
|
-
return
|
|
1046
|
+
return ir(e) ? Je(e, r) : r[e];
|
|
1047
1047
|
}), go = /* @__PURE__ */ Y(function(e) {
|
|
1048
|
-
return
|
|
1049
|
-
}),
|
|
1048
|
+
return He(e) ? !0 : !e || typeof e != "object" || We(e) ? !1 : e.length === 0 ? !0 : e.length > 0 ? e.hasOwnProperty(0) && e.hasOwnProperty(e.length - 1) : !1;
|
|
1049
|
+
}), Ot = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
1050
1050
|
function uo(t, e, r) {
|
|
1051
1051
|
return function(o, i, n) {
|
|
1052
1052
|
if (go(n))
|
|
@@ -1055,8 +1055,8 @@ function uo(t, e, r) {
|
|
|
1055
1055
|
return i;
|
|
1056
1056
|
if (typeof n["fantasy-land/reduce"] == "function")
|
|
1057
1057
|
return e(o, i, n, "fantasy-land/reduce");
|
|
1058
|
-
if (n[
|
|
1059
|
-
return r(o, i, n[
|
|
1058
|
+
if (n[Ot] != null)
|
|
1059
|
+
return r(o, i, n[Ot]());
|
|
1060
1060
|
if (typeof n.next == "function")
|
|
1061
1061
|
return r(o, i, n);
|
|
1062
1062
|
if (typeof n.reduce == "function")
|
|
@@ -1075,7 +1075,7 @@ function po(t, e, r) {
|
|
|
1075
1075
|
return t["@@transducer/result"](e);
|
|
1076
1076
|
}
|
|
1077
1077
|
var mo = /* @__PURE__ */ K(function(e, r) {
|
|
1078
|
-
return
|
|
1078
|
+
return qe(e.length, function() {
|
|
1079
1079
|
return e.apply(r, arguments);
|
|
1080
1080
|
});
|
|
1081
1081
|
});
|
|
@@ -1107,7 +1107,7 @@ var ho = /* @__PURE__ */ uo(po, bo, vo), fo = /* @__PURE__ */ function() {
|
|
|
1107
1107
|
function yo(t) {
|
|
1108
1108
|
return new fo(t);
|
|
1109
1109
|
}
|
|
1110
|
-
var
|
|
1110
|
+
var nr = /* @__PURE__ */ ft(function(t, e, r) {
|
|
1111
1111
|
return ho(typeof t == "function" ? yo(t) : t, e, r);
|
|
1112
1112
|
});
|
|
1113
1113
|
function wo(t, e) {
|
|
@@ -1115,48 +1115,48 @@ function wo(t, e) {
|
|
|
1115
1115
|
return e.call(this, t.apply(this, arguments));
|
|
1116
1116
|
};
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function sr(t, e) {
|
|
1119
1119
|
return function() {
|
|
1120
1120
|
var r = arguments.length;
|
|
1121
1121
|
if (r === 0)
|
|
1122
1122
|
return e();
|
|
1123
1123
|
var a = arguments[r - 1];
|
|
1124
|
-
return
|
|
1124
|
+
return He(a) || typeof a[t] != "function" ? e.apply(this, arguments) : a[t].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
|
|
1125
1125
|
};
|
|
1126
1126
|
}
|
|
1127
|
-
var xo = /* @__PURE__ */
|
|
1127
|
+
var xo = /* @__PURE__ */ ft(/* @__PURE__ */ sr("slice", function(e, r, a) {
|
|
1128
1128
|
return Array.prototype.slice.call(a, e, r);
|
|
1129
|
-
})), _o = /* @__PURE__ */ Y(/* @__PURE__ */
|
|
1129
|
+
})), _o = /* @__PURE__ */ Y(/* @__PURE__ */ sr("tail", /* @__PURE__ */ xo(1, 1 / 0)));
|
|
1130
1130
|
function Ae() {
|
|
1131
1131
|
if (arguments.length === 0)
|
|
1132
1132
|
throw new Error("pipe requires at least one argument");
|
|
1133
|
-
return
|
|
1133
|
+
return qe(arguments[0].length, nr(wo, arguments[0], _o(arguments)));
|
|
1134
1134
|
}
|
|
1135
1135
|
var ko = /* @__PURE__ */ Y(function(e) {
|
|
1136
1136
|
return We(e) ? e.split("").reverse().join("") : Array.prototype.slice.call(e, 0).reverse();
|
|
1137
1137
|
});
|
|
1138
|
-
function
|
|
1138
|
+
function xt() {
|
|
1139
1139
|
if (arguments.length === 0)
|
|
1140
1140
|
throw new Error("compose requires at least one argument");
|
|
1141
1141
|
return Ae.apply(this, ko(arguments));
|
|
1142
1142
|
}
|
|
1143
1143
|
var Z = /* @__PURE__ */ Y(function(t) {
|
|
1144
|
-
return
|
|
1145
|
-
}),
|
|
1144
|
+
return Je(0, t);
|
|
1145
|
+
}), lr = /* @__PURE__ */ ft(function(e, r, a) {
|
|
1146
1146
|
var o = e(r), i = e(a);
|
|
1147
1147
|
return o > i ? -1 : o < i ? 1 : 0;
|
|
1148
1148
|
}), zo = /* @__PURE__ */ Y(function(t) {
|
|
1149
|
-
return
|
|
1149
|
+
return Je(-1, t);
|
|
1150
1150
|
});
|
|
1151
1151
|
function So(t) {
|
|
1152
1152
|
var e = Object.prototype.toString.call(t);
|
|
1153
1153
|
return e === "[object Uint8ClampedArray]" || e === "[object Int8Array]" || e === "[object Uint8Array]" || e === "[object Int16Array]" || e === "[object Uint16Array]" || e === "[object Int32Array]" || e === "[object Uint32Array]" || e === "[object Float32Array]" || e === "[object Float64Array]" || e === "[object BigInt64Array]" || e === "[object BigUint64Array]";
|
|
1154
1154
|
}
|
|
1155
1155
|
var Io = /* @__PURE__ */ Y(function(e) {
|
|
1156
|
-
return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() :
|
|
1156
|
+
return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : He(e) ? [] : We(e) ? "" : so(e) ? {} : or(e) ? /* @__PURE__ */ function() {
|
|
1157
1157
|
return arguments;
|
|
1158
1158
|
}() : So(e) ? e.constructor.from("") : void 0;
|
|
1159
|
-
}),
|
|
1159
|
+
}), at = /* @__PURE__ */ Y(function(e) {
|
|
1160
1160
|
return e != null && oo(e, Io(e));
|
|
1161
1161
|
});
|
|
1162
1162
|
function $o(t, e) {
|
|
@@ -1164,29 +1164,29 @@ function $o(t, e) {
|
|
|
1164
1164
|
if (r == null)
|
|
1165
1165
|
return;
|
|
1166
1166
|
var o = t[a];
|
|
1167
|
-
|
|
1167
|
+
ir(o) ? r = Je(o, r) : r = r[o];
|
|
1168
1168
|
}
|
|
1169
1169
|
return r;
|
|
1170
1170
|
}
|
|
1171
|
-
var
|
|
1171
|
+
var Gt = /* @__PURE__ */ nr(Ja, 0), Co = /* @__PURE__ */ K(function(e, r) {
|
|
1172
1172
|
for (var a = {}, o = {}, i = 0, n = e.length; i < n; )
|
|
1173
1173
|
o[e[i]] = 1, i += 1;
|
|
1174
1174
|
for (var s in r)
|
|
1175
1175
|
o.hasOwnProperty(s) || (a[s] = r[s]);
|
|
1176
1176
|
return a;
|
|
1177
|
-
}),
|
|
1177
|
+
}), cr = /* @__PURE__ */ K($o), dr = /* @__PURE__ */ K(function(e, r) {
|
|
1178
1178
|
for (var a = {}, o = 0; o < e.length; )
|
|
1179
1179
|
e[o] in r && (a[e[o]] = r[e[o]]), o += 1;
|
|
1180
1180
|
return a;
|
|
1181
|
-
}), dr = /* @__PURE__ */ K(function(e, r) {
|
|
1182
|
-
return Array.prototype.slice.call(r, 0).sort(e);
|
|
1183
1181
|
}), gr = /* @__PURE__ */ K(function(e, r) {
|
|
1182
|
+
return Array.prototype.slice.call(r, 0).sort(e);
|
|
1183
|
+
}), Ue = /* @__PURE__ */ K(function(e, r) {
|
|
1184
1184
|
return Array.prototype.slice.call(r, 0).sort(function(a, o) {
|
|
1185
1185
|
var i = e(a), n = e(o);
|
|
1186
1186
|
return i < n ? -1 : i > n ? 1 : 0;
|
|
1187
1187
|
});
|
|
1188
1188
|
});
|
|
1189
|
-
const
|
|
1189
|
+
const Rt = 20, No = {
|
|
1190
1190
|
__name: "DataProvider",
|
|
1191
1191
|
props: {
|
|
1192
1192
|
locale: {
|
|
@@ -1207,10 +1207,10 @@ const Gt = 20, To = {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
},
|
|
1209
1209
|
setup(t) {
|
|
1210
|
-
const e = t, { timezone: r, locale: a } = xr(e), { onError: o } =
|
|
1210
|
+
const e = t, { timezone: r, locale: a } = xr(e), { onError: o } = Be(), i = rr("history"), n = j(i.panel || Se), s = j(null), l = j(0), c = Pe({
|
|
1211
1211
|
firstGame: q,
|
|
1212
1212
|
lastGame: q
|
|
1213
|
-
}),
|
|
1213
|
+
}), g = Pe({
|
|
1214
1214
|
min: Q(q, "YYYY-MM-DD"),
|
|
1215
1215
|
max: Q(q, "YYYY-MM-DD")
|
|
1216
1216
|
}), {
|
|
@@ -1223,15 +1223,15 @@ const Gt = 20, To = {
|
|
|
1223
1223
|
apiKey: e.apiKey,
|
|
1224
1224
|
params: A(() => ({
|
|
1225
1225
|
seasonId: e.seasonId,
|
|
1226
|
-
firstDate:
|
|
1227
|
-
lastDate:
|
|
1226
|
+
firstDate: g.value.min,
|
|
1227
|
+
lastDate: g.value.max
|
|
1228
1228
|
})),
|
|
1229
1229
|
resetOnExecute: !0
|
|
1230
1230
|
},
|
|
1231
1231
|
transform: (b) => $a(b, c),
|
|
1232
1232
|
onError: o
|
|
1233
1233
|
}), S = A(
|
|
1234
|
-
() =>
|
|
1234
|
+
() => Ke(m.value).schedule(r.value, a.value).more(0, l.value * Rt + Rt).groupByDays().value()
|
|
1235
1235
|
), h = A(
|
|
1236
1236
|
() => Aa(
|
|
1237
1237
|
...Ca.get(n.value)(c.value.firstGame, c.value.lastGame),
|
|
@@ -1239,11 +1239,11 @@ const Gt = 20, To = {
|
|
|
1239
1239
|
a.value
|
|
1240
1240
|
)
|
|
1241
1241
|
);
|
|
1242
|
-
|
|
1242
|
+
se(
|
|
1243
1243
|
n,
|
|
1244
1244
|
async (b) => {
|
|
1245
1245
|
const { min: I, max: E, id: k } = De.get(b)(i.month);
|
|
1246
|
-
|
|
1246
|
+
g.value = { min: Q(I, "YYYY-MM-DD"), max: Q(E, "YYYY-MM-DD") }, s.value = k, await v(), i.month || y();
|
|
1247
1247
|
},
|
|
1248
1248
|
{
|
|
1249
1249
|
immediate: !0
|
|
@@ -1254,7 +1254,7 @@ const Gt = 20, To = {
|
|
|
1254
1254
|
}
|
|
1255
1255
|
function x(b) {
|
|
1256
1256
|
const { min: I, max: E, id: k } = De.get(n.value)(b.id);
|
|
1257
|
-
s.value = k, i.month = k,
|
|
1257
|
+
s.value = k, i.month = k, g.value = {
|
|
1258
1258
|
min: Q(I, "YYYY-MM-DD"),
|
|
1259
1259
|
max: Q(E, "YYYY-MM-DD")
|
|
1260
1260
|
}, l.value = 0, v();
|
|
@@ -1268,19 +1268,19 @@ const Gt = 20, To = {
|
|
|
1268
1268
|
return;
|
|
1269
1269
|
const { firstGame: b, lastGame: I } = c.value;
|
|
1270
1270
|
if (Kr(q, b)) {
|
|
1271
|
-
const { min: P, max: D, id:
|
|
1272
|
-
return
|
|
1271
|
+
const { min: P, max: D, id: J } = De.get(n.value)((E = Z(h.value)) == null ? void 0 : E.id);
|
|
1272
|
+
return g.value = { min: Q(P, "YYYY-MM-DD"), max: Q(D, "YYYY-MM-DD") }, s.value = J, v();
|
|
1273
1273
|
}
|
|
1274
1274
|
if (Xt(q, I)) {
|
|
1275
|
-
const { min: P, max: D, id:
|
|
1276
|
-
|
|
1275
|
+
const { min: P, max: D, id: J } = De.get(n.value)((k = zo(h.value)) == null ? void 0 : k.id);
|
|
1276
|
+
g.value = { min: Q(P, "YYYY-MM-DD"), max: Q(D, "YYYY-MM-DD") }, s.value = J, v();
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
1279
|
return (b, I) => ge(b.$slots, "default", $e(Ce({
|
|
1280
1280
|
today: d(q),
|
|
1281
1281
|
months: h.value,
|
|
1282
1282
|
isLoading: d(f),
|
|
1283
|
-
datesFilter:
|
|
1283
|
+
datesFilter: g.value,
|
|
1284
1284
|
selectedMonth: s.value,
|
|
1285
1285
|
selectedPanel: n.value,
|
|
1286
1286
|
games: S.value,
|
|
@@ -1289,7 +1289,7 @@ const Gt = 20, To = {
|
|
|
1289
1289
|
changePanel: C
|
|
1290
1290
|
})));
|
|
1291
1291
|
}
|
|
1292
|
-
},
|
|
1292
|
+
}, To = {
|
|
1293
1293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1294
1294
|
viewBox: "0 0 24 24",
|
|
1295
1295
|
fill: "none",
|
|
@@ -1299,8 +1299,8 @@ const Gt = 20, To = {
|
|
|
1299
1299
|
"stroke-linejoin": "round"
|
|
1300
1300
|
};
|
|
1301
1301
|
function Ao(t, e) {
|
|
1302
|
-
return p(), _("svg",
|
|
1303
|
-
|
|
1302
|
+
return p(), _("svg", To, e[0] || (e[0] = [
|
|
1303
|
+
u("rect", {
|
|
1304
1304
|
x: "2",
|
|
1305
1305
|
y: "3",
|
|
1306
1306
|
width: "20",
|
|
@@ -1308,13 +1308,13 @@ function Ao(t, e) {
|
|
|
1308
1308
|
rx: "2",
|
|
1309
1309
|
ry: "2"
|
|
1310
1310
|
}, null, -1),
|
|
1311
|
-
|
|
1311
|
+
u("line", {
|
|
1312
1312
|
x1: "8",
|
|
1313
1313
|
y1: "21",
|
|
1314
1314
|
x2: "16",
|
|
1315
1315
|
y2: "21"
|
|
1316
1316
|
}, null, -1),
|
|
1317
|
-
|
|
1317
|
+
u("line", {
|
|
1318
1318
|
x1: "12",
|
|
1319
1319
|
y1: "17",
|
|
1320
1320
|
x2: "12",
|
|
@@ -1333,23 +1333,23 @@ const Eo = { render: Ao }, Do = {
|
|
|
1333
1333
|
};
|
|
1334
1334
|
function Lo(t, e) {
|
|
1335
1335
|
return p(), _("svg", Do, e[0] || (e[0] = [
|
|
1336
|
-
|
|
1337
|
-
|
|
1336
|
+
u("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1),
|
|
1337
|
+
u("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1338
1338
|
]));
|
|
1339
1339
|
}
|
|
1340
1340
|
const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"], Oo = { class: "is-info is-text-sm" }, Go = { class: "is-home-team is-text-base" }, Ro = { class: "is-team-name-short" }, Yo = { class: "is-team-name-long" }, Uo = ["href", "target"], Ko = {
|
|
1341
1341
|
key: 0,
|
|
1342
1342
|
class: "is-text-xl is-text-bold"
|
|
1343
|
-
},
|
|
1343
|
+
}, Vo = {
|
|
1344
1344
|
key: 1,
|
|
1345
1345
|
class: "is-text-xl is-text-bold"
|
|
1346
|
-
},
|
|
1346
|
+
}, Fo = {
|
|
1347
1347
|
key: 2,
|
|
1348
1348
|
class: "is-text-xl is-text-bold"
|
|
1349
1349
|
}, Bo = {
|
|
1350
1350
|
key: 0,
|
|
1351
1351
|
class: "is-text-sm is-info is-whitespace-nowrap"
|
|
1352
|
-
}, qo = { class: "is-away-team is-text-base" },
|
|
1352
|
+
}, qo = { class: "is-away-team is-text-base" }, Ho = { key: 0 }, Wo = { class: "is-team-name-short" }, Jo = { class: "is-team-name-long" }, Xo = {
|
|
1353
1353
|
__name: "Item",
|
|
1354
1354
|
props: {
|
|
1355
1355
|
game: {
|
|
@@ -1366,7 +1366,7 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1366
1366
|
},
|
|
1367
1367
|
gameLink: {
|
|
1368
1368
|
type: Function,
|
|
1369
|
-
default:
|
|
1369
|
+
default: W
|
|
1370
1370
|
},
|
|
1371
1371
|
target: {
|
|
1372
1372
|
type: String,
|
|
@@ -1374,11 +1374,11 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1374
1374
|
}
|
|
1375
1375
|
},
|
|
1376
1376
|
setup(t) {
|
|
1377
|
-
const { t: e } =
|
|
1377
|
+
const { t: e } = ce();
|
|
1378
1378
|
return (r, a) => (p(), _("div", {
|
|
1379
|
-
class:
|
|
1379
|
+
class: V(["card-item", { "is-optional": t.game.optional }])
|
|
1380
1380
|
}, [
|
|
1381
|
-
|
|
1381
|
+
u("div", Mo, [
|
|
1382
1382
|
oe(w(t.game.gameName) + " - " + w(t.game.championshipName) + " - " + w(t.game.divisionName) + " - " + w(t.game.location.locationName) + " ", 1),
|
|
1383
1383
|
t.game.broadcast ? (p(), _(R, { key: 0 }, [
|
|
1384
1384
|
a[0] || (a[0] = oe(" - ")),
|
|
@@ -1387,7 +1387,7 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1387
1387
|
], 64)) : M("", !0),
|
|
1388
1388
|
t.game.video ? (p(), _(R, { key: 1 }, [
|
|
1389
1389
|
a[2] || (a[2] = oe(" - ")),
|
|
1390
|
-
|
|
1390
|
+
u("a", {
|
|
1391
1391
|
href: t.game.video,
|
|
1392
1392
|
target: "_blank"
|
|
1393
1393
|
}, [
|
|
@@ -1395,42 +1395,42 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1395
1395
|
], 8, jo)
|
|
1396
1396
|
], 64)) : M("", !0)
|
|
1397
1397
|
]),
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1398
|
+
u("div", Oo, w(d(Q)(t.game.gameDate, "L LT", null, t.locale)) + " (" + w(d(Ve)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
|
|
1399
|
+
u("div", Go, [
|
|
1400
|
+
u("span", Ro, w(t.game.homeTeam.shortName), 1),
|
|
1401
|
+
u("span", Yo, w(t.game.homeTeam.longName), 1),
|
|
1402
1402
|
(p(), G(d(Me), {
|
|
1403
1403
|
key: t.game.homeTeam.id,
|
|
1404
1404
|
class: "is-logo-image",
|
|
1405
1405
|
src: t.game.homeTeam.logo
|
|
1406
1406
|
}, null, 8, ["src"]))
|
|
1407
1407
|
]),
|
|
1408
|
-
|
|
1409
|
-
class:
|
|
1408
|
+
u("div", {
|
|
1409
|
+
class: V(["is-game-data", [{ "is-live": t.game.gameStatus === 1 }]])
|
|
1410
1410
|
}, [
|
|
1411
|
-
|
|
1411
|
+
u("a", {
|
|
1412
1412
|
href: t.gameLink(t.game),
|
|
1413
1413
|
target: t.target
|
|
1414
1414
|
}, [
|
|
1415
1415
|
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (p(), _("span", Ko, w(t.game.homeTeamScore) + " - " + w(t.game.awayTeamScore), 1)) : M("", !0),
|
|
1416
|
-
t.game.gameStatus === 3 ? (p(), _("span",
|
|
1417
|
-
t.game.gameStatus === 4 ? (p(), _("span",
|
|
1416
|
+
t.game.gameStatus === 3 ? (p(), _("span", Vo, w(d(e)("game.status.jury")), 1)) : M("", !0),
|
|
1417
|
+
t.game.gameStatus === 4 ? (p(), _("span", Fo, w(d(e)("game.status.delayed")), 1)) : M("", !0)
|
|
1418
1418
|
], 8, Uo),
|
|
1419
1419
|
t.game.gameStatus > 0 ? (p(), _("div", Bo, w(t.game.periodResults), 1)) : M("", !0)
|
|
1420
1420
|
], 2),
|
|
1421
|
-
|
|
1422
|
-
Array.isArray(t.game.awayTeam) ? (p(), _("span",
|
|
1421
|
+
u("div", qo, [
|
|
1422
|
+
Array.isArray(t.game.awayTeam) ? (p(), _("span", Ho, "Torna")) : M("", !0),
|
|
1423
1423
|
(p(), G(d(Me), {
|
|
1424
1424
|
key: t.game.awayTeam.id,
|
|
1425
1425
|
class: "is-logo-image",
|
|
1426
1426
|
src: t.game.awayTeam.logo
|
|
1427
1427
|
}, null, 8, ["src"])),
|
|
1428
|
-
|
|
1429
|
-
|
|
1428
|
+
u("span", Wo, w(t.game.awayTeam.shortName), 1),
|
|
1429
|
+
u("span", Jo, w(t.game.awayTeam.longName), 1)
|
|
1430
1430
|
])
|
|
1431
1431
|
], 2));
|
|
1432
1432
|
}
|
|
1433
|
-
}, xe = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .6275rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-standings-selector-title-weight: 700;--vbr-widget-standings-selector-title-transform: uppercase;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-subtitle-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-subtitle-padding: .25em .625em;--vbr-widget-standings-selector-subtitle-color: var(--vbr-widget-primary-color-500);--vbr-widget-standings-selector-subtitle-border-color: var(--vbr-widget-primary-color-200)}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s linear(0,.009,.035 2.1%,.141,.281 6.7%,.723 12.9%,.938 16.7%,1.017,1.077,1.121,1.149 24.3%,1.159,1.163,1.161,1.154 29.9%,1.129 32.8%,1.051 39.6%,1.017 43.1%,.991,.977 51%,.974 53.8%,.975 57.1%,.997 69.8%,1.003 76.9%,1.004 83.8%,1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", Xe = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Je = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, Qo = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", _e = (t, e) => {
|
|
1433
|
+
}, xe = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .6275rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s linear(0,.009,.035 2.1%,.141,.281 6.7%,.723 12.9%,.938 16.7%,1.017,1.077,1.121,1.149 24.3%,1.159,1.163,1.161,1.154 29.9%,1.129 32.8%,1.051 39.6%,1.017 43.1%,.991,.977 51%,.974 53.8%,.975 57.1%,.997 69.8%,1.003 76.9%,1.004 83.8%,1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", Xe = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Qe = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, Qo = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", _e = (t, e) => {
|
|
1434
1434
|
const r = t.__vccOpts || t;
|
|
1435
1435
|
for (const [a, o] of e)
|
|
1436
1436
|
r[a] = o;
|
|
@@ -1459,25 +1459,25 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1459
1459
|
...Mr
|
|
1460
1460
|
},
|
|
1461
1461
|
setup(t) {
|
|
1462
|
-
const e = t, r = { en: ye, hu: we }, a = j(Fe()), o = A(() => e.isGameTargetExternal ? "_blank" : "_self"), i = (n) =>
|
|
1462
|
+
const e = t, r = { en: ye, hu: we }, a = j(Fe()), o = A(() => e.isGameTargetExternal ? "_blank" : "_self"), i = (n) => mt(e.externalGameResolver || "/game/id/{id}", n);
|
|
1463
1463
|
return (n, s) => (p(), G(d(fe), {
|
|
1464
1464
|
locale: e.locale,
|
|
1465
1465
|
messages: r
|
|
1466
1466
|
}, {
|
|
1467
|
-
default:
|
|
1468
|
-
$(d(
|
|
1469
|
-
default:
|
|
1470
|
-
|
|
1467
|
+
default: T(({ t: l }) => [
|
|
1468
|
+
$(d(Ne), null, {
|
|
1469
|
+
default: T(({ error: c, hasError: g }) => [
|
|
1470
|
+
g ? (p(), G(d(Te), {
|
|
1471
1471
|
key: 0,
|
|
1472
1472
|
error: c
|
|
1473
1473
|
}, null, 8, ["error"])) : M("", !0),
|
|
1474
|
-
$(
|
|
1474
|
+
$(No, {
|
|
1475
1475
|
locale: e.locale,
|
|
1476
1476
|
timezone: a.value,
|
|
1477
1477
|
"season-id": t.seasonId,
|
|
1478
1478
|
"api-key": t.apiKey
|
|
1479
1479
|
}, {
|
|
1480
|
-
default:
|
|
1480
|
+
default: T(({
|
|
1481
1481
|
games: m,
|
|
1482
1482
|
months: f,
|
|
1483
1483
|
isLoading: v,
|
|
@@ -1487,43 +1487,43 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1487
1487
|
setMonth: x,
|
|
1488
1488
|
changePanel: z
|
|
1489
1489
|
}) => [
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
class:
|
|
1490
|
+
u("div", Zo, [
|
|
1491
|
+
u("button", {
|
|
1492
|
+
class: V(["tab-button", { "is-active": S === d(ve) }]),
|
|
1493
1493
|
onClick: (y) => z(d(ve))
|
|
1494
1494
|
}, w(l("calendar.gamesPlayed")), 11, ei),
|
|
1495
|
-
|
|
1496
|
-
class:
|
|
1495
|
+
u("button", {
|
|
1496
|
+
class: V(["tab-button", { "is-active": S === d(Se) }]),
|
|
1497
1497
|
onClick: (y) => z(d(Se))
|
|
1498
1498
|
}, w(l("calendar.todaysGames")), 11, ti),
|
|
1499
|
-
|
|
1500
|
-
class:
|
|
1499
|
+
u("button", {
|
|
1500
|
+
class: V(["tab-button", { "is-active": S === d(Ie) }]),
|
|
1501
1501
|
onClick: (y) => z(d(Ie))
|
|
1502
1502
|
}, w(l("calendar.nextGames")), 11, ri),
|
|
1503
|
-
|
|
1504
|
-
class:
|
|
1503
|
+
u("button", {
|
|
1504
|
+
class: V(["tab-button", { "is-active": S === d(Ge) }]),
|
|
1505
1505
|
onClick: (y) => z(d(Ge))
|
|
1506
1506
|
}, w(l("calendar.weekGames")), 11, ai)
|
|
1507
1507
|
]),
|
|
1508
|
-
|
|
1509
|
-
(p(!0), _(R, null,
|
|
1508
|
+
u("div", oi, [
|
|
1509
|
+
(p(!0), _(R, null, H(f, (y) => (p(), _("button", {
|
|
1510
1510
|
key: y.id,
|
|
1511
1511
|
type: "button",
|
|
1512
|
-
class:
|
|
1512
|
+
class: V({ "is-active": h === y.id }),
|
|
1513
1513
|
disabled: v,
|
|
1514
1514
|
onClick: (b) => x(y)
|
|
1515
1515
|
}, w(y.name), 11, ii))), 128))
|
|
1516
1516
|
]),
|
|
1517
1517
|
m.totalItems === 0 && !v ? (p(), _("div", ni, w(l("calendar.noGame")), 1)) : M("", !0),
|
|
1518
|
-
|
|
1518
|
+
u("div", null, [
|
|
1519
1519
|
v ? (p(), G(d(Wt), { key: 0 })) : M("", !0),
|
|
1520
|
-
(p(!0), _(R, null,
|
|
1520
|
+
(p(!0), _(R, null, H(m.rows, (y, b) => (p(), _("div", {
|
|
1521
1521
|
key: b,
|
|
1522
1522
|
"data-gamedate": b
|
|
1523
1523
|
}, [
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
(p(!0), _(R, null,
|
|
1524
|
+
u("span", li, w(d(Q)(new Date(b), "LL dddd", a.value, t.locale)), 1),
|
|
1525
|
+
u("div", ci, [
|
|
1526
|
+
(p(!0), _(R, null, H(y, (I) => (p(), G(Xo, {
|
|
1527
1527
|
key: I.id,
|
|
1528
1528
|
game: I,
|
|
1529
1529
|
locale: t.locale,
|
|
@@ -1539,8 +1539,8 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1539
1539
|
options: { rootMargin: "400px" },
|
|
1540
1540
|
onIntersect: C
|
|
1541
1541
|
}, {
|
|
1542
|
-
default:
|
|
1543
|
-
|
|
1542
|
+
default: T(() => [
|
|
1543
|
+
u("button", { onClick: C }, w(l("calendar.more")), 9, di)
|
|
1544
1544
|
]),
|
|
1545
1545
|
_: 2
|
|
1546
1546
|
}, 1032, ["onIntersect"])) : M("", !0)
|
|
@@ -1554,14 +1554,16 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1554
1554
|
_: 1
|
|
1555
1555
|
}, 8, ["locale"]));
|
|
1556
1556
|
}
|
|
1557
|
-
}, ui = /* @__PURE__ */ _e(gi, [["styles", [xe, Xe,
|
|
1558
|
-
function pi(t, e) {
|
|
1559
|
-
var
|
|
1560
|
-
e.championships =
|
|
1557
|
+
}, ui = /* @__PURE__ */ _e(gi, [["styles", [xe, Xe, Qe, Qo]]]), ke = "schedule", ot = "standings", pe = "players", Le = "teams";
|
|
1558
|
+
function pi(t, e, r = null) {
|
|
1559
|
+
var i, n, s, l;
|
|
1560
|
+
e.championships = Ue(ie("sectionId"))(t), e.selectedChampionshipId = (n = (i = e.championships) == null ? void 0 : i[0]) == null ? void 0 : n.sectionId;
|
|
1561
|
+
const a = Ue(ie("phaseId"))(((s = t == null ? void 0 : t[0]) == null ? void 0 : s.phases) ?? []), o = a.findIndex((c) => c.phaseId === Number(r));
|
|
1562
|
+
e.phaseId = o > -1 ? Number(r) : (l = a[0]) == null ? void 0 : l.phaseId;
|
|
1561
1563
|
}
|
|
1562
1564
|
const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1563
1565
|
api: "/v2/games-list",
|
|
1564
|
-
columns:
|
|
1566
|
+
columns: er,
|
|
1565
1567
|
sort: {}
|
|
1566
1568
|
}).set("standings", {
|
|
1567
1569
|
api: "/v2/standings",
|
|
@@ -1572,7 +1574,7 @@ const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1572
1574
|
columns: Ee,
|
|
1573
1575
|
sort: {
|
|
1574
1576
|
sortTarget: "points",
|
|
1575
|
-
orders: [{ target: "points", direction:
|
|
1577
|
+
orders: [{ target: "points", direction: X }]
|
|
1576
1578
|
}
|
|
1577
1579
|
}).set("goals", {
|
|
1578
1580
|
api: "/v2/players-stats",
|
|
@@ -1580,8 +1582,8 @@ const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1580
1582
|
sort: {
|
|
1581
1583
|
sortTarget: "goals",
|
|
1582
1584
|
orders: [
|
|
1583
|
-
{ target: "goals", direction:
|
|
1584
|
-
{ target: "assists", direction:
|
|
1585
|
+
{ target: "goals", direction: X },
|
|
1586
|
+
{ target: "assists", direction: X }
|
|
1585
1587
|
]
|
|
1586
1588
|
}
|
|
1587
1589
|
}).set("assists", {
|
|
@@ -1590,8 +1592,8 @@ const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1590
1592
|
sort: {
|
|
1591
1593
|
sortTarget: "assists",
|
|
1592
1594
|
orders: [
|
|
1593
|
-
{ target: "assists", direction:
|
|
1594
|
-
{ target: "goals", direction:
|
|
1595
|
+
{ target: "assists", direction: X },
|
|
1596
|
+
{ target: "goals", direction: X }
|
|
1595
1597
|
]
|
|
1596
1598
|
}
|
|
1597
1599
|
}).set("plusminus", {
|
|
@@ -1599,61 +1601,61 @@ const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1599
1601
|
columns: Ee,
|
|
1600
1602
|
sort: {
|
|
1601
1603
|
sortTarget: "plusMinus",
|
|
1602
|
-
orders: [{ target: "plusMinus", direction:
|
|
1604
|
+
orders: [{ target: "plusMinus", direction: X }]
|
|
1603
1605
|
}
|
|
1604
1606
|
}).set("playerspenalties", {
|
|
1605
1607
|
api: "/v2/players-penalty",
|
|
1606
1608
|
columns: na,
|
|
1607
1609
|
sort: {
|
|
1608
1610
|
sortTarget: "pim",
|
|
1609
|
-
orders: [{ target: "pim", direction:
|
|
1611
|
+
orders: [{ target: "pim", direction: X }]
|
|
1610
1612
|
}
|
|
1611
1613
|
}).set("goalies", {
|
|
1612
1614
|
api: "/v2/players-goalie",
|
|
1613
1615
|
params: { more: !0 },
|
|
1614
|
-
columns:
|
|
1616
|
+
columns: kt,
|
|
1615
1617
|
sort: {
|
|
1616
1618
|
sortTarget: "svsPercent",
|
|
1617
|
-
orders: [{ target: "svsPercent", direction:
|
|
1619
|
+
orders: [{ target: "svsPercent", direction: X }]
|
|
1618
1620
|
}
|
|
1619
1621
|
}).set("goaliesunderlimit", {
|
|
1620
1622
|
api: "/v2/players-goalie",
|
|
1621
1623
|
params: { less: !0 },
|
|
1622
|
-
columns:
|
|
1624
|
+
columns: kt,
|
|
1623
1625
|
sort: {
|
|
1624
1626
|
sortTarget: "svsPercent",
|
|
1625
|
-
orders: [{ target: "svsPercent", direction:
|
|
1627
|
+
orders: [{ target: "svsPercent", direction: X }]
|
|
1626
1628
|
}
|
|
1627
1629
|
}).set("teamFairplay", {
|
|
1628
1630
|
api: "/v2/team-fairplay",
|
|
1629
1631
|
columns: sa,
|
|
1630
1632
|
sort: {
|
|
1631
1633
|
sortTarget: "pim",
|
|
1632
|
-
orders: [{ target: "pim", direction:
|
|
1634
|
+
orders: [{ target: "pim", direction: X }]
|
|
1633
1635
|
}
|
|
1634
1636
|
}).set("teamPenaltiKilling", {
|
|
1635
1637
|
api: "/v2/team-powerplay",
|
|
1636
1638
|
columns: la,
|
|
1637
1639
|
sort: {
|
|
1638
1640
|
sortTarget: "pkPercent",
|
|
1639
|
-
orders: [{ target: "pkPercent", direction:
|
|
1641
|
+
orders: [{ target: "pkPercent", direction: X }]
|
|
1640
1642
|
}
|
|
1641
1643
|
}).set("teamPowerplay", {
|
|
1642
1644
|
api: "/v2/team-powerplay",
|
|
1643
1645
|
columns: ca,
|
|
1644
1646
|
sort: {
|
|
1645
1647
|
sortTarget: "ppPercent",
|
|
1646
|
-
orders: [{ target: "ppPercent", direction:
|
|
1648
|
+
orders: [{ target: "ppPercent", direction: X }]
|
|
1647
1649
|
}
|
|
1648
1650
|
}).set("teamScoringEfficiency", {
|
|
1649
1651
|
api: "/v2/team-scoring-efficiency",
|
|
1650
1652
|
columns: da,
|
|
1651
1653
|
sort: {
|
|
1652
1654
|
sortTarget: "sp",
|
|
1653
|
-
orders: [{ target: "sp", direction:
|
|
1655
|
+
orders: [{ target: "sp", direction: X }]
|
|
1654
1656
|
}
|
|
1655
1657
|
});
|
|
1656
|
-
function
|
|
1658
|
+
function Yt(t) {
|
|
1657
1659
|
return [
|
|
1658
1660
|
{
|
|
1659
1661
|
name: t("report.points"),
|
|
@@ -1685,7 +1687,7 @@ function Rt(t) {
|
|
|
1685
1687
|
}
|
|
1686
1688
|
];
|
|
1687
1689
|
}
|
|
1688
|
-
function
|
|
1690
|
+
function Ut(t) {
|
|
1689
1691
|
return [
|
|
1690
1692
|
// {
|
|
1691
1693
|
// name: t('report.teamAttendance'),
|
|
@@ -1711,11 +1713,11 @@ function Yt(t) {
|
|
|
1711
1713
|
}
|
|
1712
1714
|
function vi(t, e) {
|
|
1713
1715
|
if (t.length === 0)
|
|
1714
|
-
throw new
|
|
1716
|
+
throw new Qt(Oe.message, Oe.options);
|
|
1715
1717
|
e.seasons = bi(t), e.championshipId || (e.championshipId = Z(e.seasons).championshipId);
|
|
1716
1718
|
}
|
|
1717
1719
|
function bi(t) {
|
|
1718
|
-
return
|
|
1720
|
+
return xt(gr(lr(ie("seasonName"))), wt(dr(["championshipId", "seasonName"])))(t);
|
|
1719
1721
|
}
|
|
1720
1722
|
const hi = {
|
|
1721
1723
|
__name: "DataProvider",
|
|
@@ -1743,10 +1745,14 @@ const hi = {
|
|
|
1743
1745
|
timezone: {
|
|
1744
1746
|
type: String,
|
|
1745
1747
|
default: ""
|
|
1748
|
+
},
|
|
1749
|
+
initialPhaseId: {
|
|
1750
|
+
type: [Number, String],
|
|
1751
|
+
default: ""
|
|
1746
1752
|
}
|
|
1747
1753
|
},
|
|
1748
1754
|
setup(t) {
|
|
1749
|
-
const e = t, r =
|
|
1755
|
+
const e = t, r = rr("history"), a = le({
|
|
1750
1756
|
loading: !1,
|
|
1751
1757
|
seasons: [],
|
|
1752
1758
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1758,19 +1764,19 @@ const hi = {
|
|
|
1758
1764
|
selectedPanel: ke,
|
|
1759
1765
|
api: "/v2/games-list",
|
|
1760
1766
|
apiParams: {},
|
|
1761
|
-
columns:
|
|
1767
|
+
columns: er,
|
|
1762
1768
|
sort: null,
|
|
1763
1769
|
report: "points"
|
|
1764
|
-
}), o = _r(e, "timezone"), { onError: i } =
|
|
1770
|
+
}), o = _r(e, "timezone"), { onError: i } = Be(), { sort: n, change: s } = Zr({
|
|
1765
1771
|
sortTarget: "",
|
|
1766
1772
|
orders: []
|
|
1767
|
-
}), { page: l, change: c } = ea(), { t:
|
|
1773
|
+
}), { page: l, change: c } = ea(), { t: g } = ce(), { isLoading: m, execute: f } = ee({
|
|
1768
1774
|
options: {
|
|
1769
1775
|
path: "/v2/championship-seasons",
|
|
1770
1776
|
apiKey: e.apiKey,
|
|
1771
1777
|
params: { championshipName: e.championshipName }
|
|
1772
1778
|
},
|
|
1773
|
-
transform: (
|
|
1779
|
+
transform: (N) => vi(N, a),
|
|
1774
1780
|
onError: i
|
|
1775
1781
|
}), { isLoading: v, execute: S } = ee({
|
|
1776
1782
|
options: {
|
|
@@ -1778,7 +1784,7 @@ const hi = {
|
|
|
1778
1784
|
apiKey: e.apiKey,
|
|
1779
1785
|
params: A(() => ({ championshipId: a.championshipId }))
|
|
1780
1786
|
},
|
|
1781
|
-
transform: (
|
|
1787
|
+
transform: (N) => pi(N, a, e.initialPhaseId),
|
|
1782
1788
|
onError: i
|
|
1783
1789
|
}), {
|
|
1784
1790
|
isLoading: h,
|
|
@@ -1791,50 +1797,50 @@ const hi = {
|
|
|
1791
1797
|
resetOnExecute: !0,
|
|
1792
1798
|
params: A(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1793
1799
|
},
|
|
1794
|
-
transform: (
|
|
1800
|
+
transform: (N) => Zt(N),
|
|
1795
1801
|
onError: i
|
|
1796
1802
|
}), z = ta([v, m, h], { delay: 1e3 });
|
|
1797
1803
|
be([f, S, x]);
|
|
1798
1804
|
const y = A(
|
|
1799
|
-
() => a.selectedPanel === pe ?
|
|
1805
|
+
() => a.selectedPanel === pe ? Yt(g) : Ut(g)
|
|
1800
1806
|
), b = A(() => {
|
|
1801
|
-
const
|
|
1802
|
-
return
|
|
1807
|
+
const N = a.championships.find((O) => O.sectionId === a.selectedChampionshipId);
|
|
1808
|
+
return Vr(Ue(ie("phaseId"))((N == null ? void 0 : N.phases) ?? []));
|
|
1803
1809
|
}), I = A(() => a.selectedPanel === ke ? 0 : e.limit), E = A(
|
|
1804
|
-
() =>
|
|
1810
|
+
() => Fr(
|
|
1805
1811
|
C.value,
|
|
1806
1812
|
Br,
|
|
1807
1813
|
qr,
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1814
|
+
Hr,
|
|
1815
|
+
Wr(["mip"]),
|
|
1816
|
+
Jr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1811
1817
|
)
|
|
1812
|
-
), k = A(() =>
|
|
1813
|
-
function P(
|
|
1814
|
-
a.championshipId =
|
|
1818
|
+
), k = A(() => Ke(d(E)).sorted(n).addContinuousIndex().schedule(d(o), d(e.locale)).pagination(d(l), I.value).value());
|
|
1819
|
+
function P(N) {
|
|
1820
|
+
a.championshipId = N, r.championshipId = N, be([S, x]);
|
|
1815
1821
|
}
|
|
1816
|
-
function D(
|
|
1822
|
+
function D(N) {
|
|
1817
1823
|
var O;
|
|
1818
|
-
a.selectedChampionshipId =
|
|
1824
|
+
a.selectedChampionshipId = N, a.phaseId = ((O = b.value[0]) == null ? void 0 : O.phaseId) ?? null, x();
|
|
1819
1825
|
}
|
|
1820
|
-
function
|
|
1821
|
-
a.phaseId =
|
|
1826
|
+
function J(N) {
|
|
1827
|
+
a.phaseId = N, x();
|
|
1822
1828
|
}
|
|
1823
|
-
function
|
|
1829
|
+
function ne(N) {
|
|
1824
1830
|
var ae, B;
|
|
1825
|
-
a.selectedPanel =
|
|
1826
|
-
let O =
|
|
1827
|
-
|
|
1831
|
+
a.selectedPanel = N;
|
|
1832
|
+
let O = N;
|
|
1833
|
+
N === pe && (O = (ae = Z(Yt(W))) == null ? void 0 : ae.value), N === Le && (O = (B = Z(Ut(W))) == null ? void 0 : B.value), a.report = O, F(O);
|
|
1828
1834
|
}
|
|
1829
|
-
function te(
|
|
1830
|
-
|
|
1835
|
+
function te(N) {
|
|
1836
|
+
F(N);
|
|
1831
1837
|
}
|
|
1832
|
-
function
|
|
1838
|
+
function F(N) {
|
|
1833
1839
|
var ae, B;
|
|
1834
|
-
const O = mi.get(
|
|
1840
|
+
const O = mi.get(N);
|
|
1835
1841
|
a.api = O.api, a.apiParams = O.params, a.columns = O.columns, n.sortTarget = ((ae = O.sort) == null ? void 0 : ae.sortTarget) ?? "", n.orders = ((B = O.sort) == null ? void 0 : B.orders) ?? [], x(), c(1);
|
|
1836
1842
|
}
|
|
1837
|
-
return (
|
|
1843
|
+
return (N, O) => ge(N.$slots, "default", $e(Ce({
|
|
1838
1844
|
...a,
|
|
1839
1845
|
sort: d(n),
|
|
1840
1846
|
page: d(l),
|
|
@@ -1843,8 +1849,8 @@ const hi = {
|
|
|
1843
1849
|
games: k.value,
|
|
1844
1850
|
reports: y.value,
|
|
1845
1851
|
onSort: d(s),
|
|
1846
|
-
changePanel:
|
|
1847
|
-
changePhase:
|
|
1852
|
+
changePanel: ne,
|
|
1853
|
+
changePhase: J,
|
|
1848
1854
|
changeSeason: P,
|
|
1849
1855
|
onChangeReport: te,
|
|
1850
1856
|
onPaginatorChange: d(c),
|
|
@@ -1868,17 +1874,17 @@ const hi = {
|
|
|
1868
1874
|
},
|
|
1869
1875
|
emits: ["update:championshipId"],
|
|
1870
1876
|
setup(t, { emit: e }) {
|
|
1871
|
-
const r = t, a = e, { t: o } =
|
|
1877
|
+
const r = t, a = e, { t: o } = ce(), { championshipId: i } = ht(r, a);
|
|
1872
1878
|
return (n, s) => (p(), _("div", fi, [
|
|
1873
|
-
|
|
1874
|
-
|
|
1879
|
+
u("div", null, [
|
|
1880
|
+
u("label", yi, w(d(o)("selection.season")), 1),
|
|
1875
1881
|
$(d(me), {
|
|
1876
1882
|
id: "season",
|
|
1877
1883
|
modelValue: d(i),
|
|
1878
|
-
"onUpdate:modelValue": s[0] || (s[0] = (l) =>
|
|
1884
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => de(i) ? i.value = l : null)
|
|
1879
1885
|
}, {
|
|
1880
|
-
default:
|
|
1881
|
-
(p(!0), _(R, null,
|
|
1886
|
+
default: T(() => [
|
|
1887
|
+
(p(!0), _(R, null, H(t.seasons, (l) => (p(), _("option", {
|
|
1882
1888
|
key: l.championshipId,
|
|
1883
1889
|
value: l.championshipId
|
|
1884
1890
|
}, w(l.seasonName), 9, wi))), 128))
|
|
@@ -1900,7 +1906,7 @@ const hi = {
|
|
|
1900
1906
|
}, Si = ["value"], Ii = { key: 0 }, $i = {
|
|
1901
1907
|
for: "report",
|
|
1902
1908
|
class: "label"
|
|
1903
|
-
}, Ci = ["value"],
|
|
1909
|
+
}, Ci = ["value"], Ni = {
|
|
1904
1910
|
__name: "Selector",
|
|
1905
1911
|
props: {
|
|
1906
1912
|
phases: {
|
|
@@ -1926,19 +1932,19 @@ const hi = {
|
|
|
1926
1932
|
},
|
|
1927
1933
|
emits: ["update:phaseId", "update:report"],
|
|
1928
1934
|
setup(t, { emit: e }) {
|
|
1929
|
-
const r = t, a = e, { t: o } =
|
|
1935
|
+
const r = t, a = e, { t: o } = ce(), { phaseId: i, report: n } = ht(r, a);
|
|
1930
1936
|
return (s, l) => (p(), _("div", _i, [
|
|
1931
|
-
|
|
1932
|
-
|
|
1937
|
+
u("div", null, [
|
|
1938
|
+
u("label", ki, w(d(o)("selection.phases")), 1),
|
|
1933
1939
|
$(d(me), {
|
|
1934
1940
|
id: "phases",
|
|
1935
1941
|
modelValue: d(i),
|
|
1936
|
-
"onUpdate:modelValue": l[0] || (l[0] = (c) =>
|
|
1942
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null),
|
|
1937
1943
|
disabled: d(i) === null
|
|
1938
1944
|
}, {
|
|
1939
|
-
default:
|
|
1945
|
+
default: T(() => [
|
|
1940
1946
|
d(i) === null ? (p(), _("option", zi, w(d(o)("selection.noPhases")), 1)) : M("", !0),
|
|
1941
|
-
(p(!0), _(R, null,
|
|
1947
|
+
(p(!0), _(R, null, H(t.phases, (c) => (p(), _("option", {
|
|
1942
1948
|
key: c.phaseId,
|
|
1943
1949
|
value: c.phaseId
|
|
1944
1950
|
}, w(c.phaseName), 9, Si))), 128))
|
|
@@ -1947,24 +1953,24 @@ const hi = {
|
|
|
1947
1953
|
}, 8, ["modelValue", "disabled"])
|
|
1948
1954
|
]),
|
|
1949
1955
|
t.isReportsVisible ? (p(), _("div", Ii, [
|
|
1950
|
-
|
|
1956
|
+
u("label", $i, w(d(o)("selection.report")), 1),
|
|
1951
1957
|
$(d(me), {
|
|
1952
1958
|
id: "report",
|
|
1953
1959
|
modelValue: d(n),
|
|
1954
|
-
"onUpdate:modelValue": l[1] || (l[1] = (c) =>
|
|
1960
|
+
"onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
|
|
1955
1961
|
}, {
|
|
1956
|
-
default:
|
|
1957
|
-
(p(!0), _(R, null,
|
|
1962
|
+
default: T(() => [
|
|
1963
|
+
(p(!0), _(R, null, H(t.reports, ({ value: c, name: g }) => (p(), _("option", {
|
|
1958
1964
|
key: c,
|
|
1959
1965
|
value: c
|
|
1960
|
-
}, w(
|
|
1966
|
+
}, w(g), 9, Ci))), 128))
|
|
1961
1967
|
]),
|
|
1962
1968
|
_: 1
|
|
1963
1969
|
}, 8, ["modelValue"])
|
|
1964
1970
|
])) : M("", !0)
|
|
1965
1971
|
]));
|
|
1966
1972
|
}
|
|
1967
|
-
}, ur = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", pr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", mr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background-color:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Ni = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Ai = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Ei = { class: "section-selector" }, Di = ["onClick"], Li = { class: "section-selector" }, Pi = ["onClick"], Mi = ["onClick"], ji = ["onClick"], Oi = ["onClick"], Gi = {
|
|
1973
|
+
}, ur = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", pr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", mr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Ti = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Ai = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Ei = { class: "section-selector" }, Di = ["onClick"], Li = { class: "section-selector" }, Pi = ["onClick"], Mi = ["onClick"], ji = ["onClick"], Oi = ["onClick"], Gi = {
|
|
1968
1974
|
__name: "Championship.ce",
|
|
1969
1975
|
props: {
|
|
1970
1976
|
locale: {
|
|
@@ -1990,19 +1996,23 @@ const hi = {
|
|
|
1990
1996
|
limit: {
|
|
1991
1997
|
type: Number,
|
|
1992
1998
|
default: 20
|
|
1999
|
+
},
|
|
2000
|
+
initialPhaseId: {
|
|
2001
|
+
type: [Number, String],
|
|
2002
|
+
default: ""
|
|
1993
2003
|
}
|
|
1994
2004
|
},
|
|
1995
2005
|
setup(t) {
|
|
1996
|
-
const e = t, r = j(null), a = j(Fe()), o = A(() =>
|
|
2006
|
+
const e = t, r = j(null), a = j(Fe()), o = A(() => Ve(/* @__PURE__ */ new Date(), d(a), e.locale)), i = { en: ye, hu: we }, n = (l) => mt(e.externalGameResolver, l), s = (l) => Xr(e.externalTeamResolver, l);
|
|
1997
2007
|
return (l, c) => (p(), _("div", null, [
|
|
1998
2008
|
$(d(fe), {
|
|
1999
2009
|
locale: e.locale,
|
|
2000
2010
|
messages: i
|
|
2001
2011
|
}, {
|
|
2002
|
-
default:
|
|
2003
|
-
$(d(
|
|
2004
|
-
default:
|
|
2005
|
-
f ? (p(), G(d(
|
|
2012
|
+
default: T(({ t: g }) => [
|
|
2013
|
+
$(d(Ne), null, {
|
|
2014
|
+
default: T(({ error: m, hasError: f }) => [
|
|
2015
|
+
f ? (p(), G(d(Te), {
|
|
2006
2016
|
key: 0,
|
|
2007
2017
|
error: m
|
|
2008
2018
|
}, null, 8, ["error"])) : M("", !0),
|
|
@@ -2010,9 +2020,10 @@ const hi = {
|
|
|
2010
2020
|
locale: t.locale,
|
|
2011
2021
|
timezone: a.value,
|
|
2012
2022
|
"championship-name": t.championshipName,
|
|
2013
|
-
limit: t.limit
|
|
2023
|
+
limit: t.limit,
|
|
2024
|
+
"initial-phase-id": t.initialPhaseId
|
|
2014
2025
|
}, {
|
|
2015
|
-
default:
|
|
2026
|
+
default: T(({
|
|
2016
2027
|
sort: v,
|
|
2017
2028
|
page: S,
|
|
2018
2029
|
games: h,
|
|
@@ -2026,11 +2037,11 @@ const hi = {
|
|
|
2026
2037
|
selectedPanel: k,
|
|
2027
2038
|
championships: P,
|
|
2028
2039
|
championshipId: D,
|
|
2029
|
-
selectedChampionshipId:
|
|
2030
|
-
onSort:
|
|
2040
|
+
selectedChampionshipId: J,
|
|
2041
|
+
onSort: ne,
|
|
2031
2042
|
changePanel: te,
|
|
2032
|
-
changePhase:
|
|
2033
|
-
changeSeason:
|
|
2043
|
+
changePhase: F,
|
|
2044
|
+
changeSeason: N,
|
|
2034
2045
|
onChangeReport: O,
|
|
2035
2046
|
onPaginatorChange: ae,
|
|
2036
2047
|
changeChampionship: B
|
|
@@ -2038,43 +2049,43 @@ const hi = {
|
|
|
2038
2049
|
$(xi, {
|
|
2039
2050
|
seasons: b,
|
|
2040
2051
|
"championship-id": D,
|
|
2041
|
-
"onUpdate:championshipId":
|
|
2052
|
+
"onUpdate:championshipId": N
|
|
2042
2053
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2043
|
-
|
|
2044
|
-
(p(!0), _(R, null,
|
|
2054
|
+
u("div", Ei, [
|
|
2055
|
+
(p(!0), _(R, null, H(P, (re) => (p(), _("button", {
|
|
2045
2056
|
key: re.phaseId,
|
|
2046
|
-
class:
|
|
2047
|
-
onClick: (
|
|
2057
|
+
class: V(["tab-button", { "is-active": re.sectionId === J }]),
|
|
2058
|
+
onClick: (Ze) => B(re.sectionId)
|
|
2048
2059
|
}, w(re.sectionName), 11, Di))), 128))
|
|
2049
2060
|
]),
|
|
2050
|
-
$(
|
|
2061
|
+
$(Ni, {
|
|
2051
2062
|
phases: C,
|
|
2052
2063
|
"phase-id": z,
|
|
2053
2064
|
reports: I,
|
|
2054
2065
|
report: x,
|
|
2055
2066
|
"is-reports-visible": k === d(pe) || k === d(Le),
|
|
2056
|
-
"onUpdate:phaseId":
|
|
2067
|
+
"onUpdate:phaseId": F,
|
|
2057
2068
|
"onUpdate:report": O
|
|
2058
2069
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
class:
|
|
2070
|
+
u("div", Li, [
|
|
2071
|
+
u("button", {
|
|
2072
|
+
class: V(["tab-button", { "is-active": k === d(ke) }]),
|
|
2062
2073
|
onClick: (re) => te(d(ke))
|
|
2063
|
-
}, w(
|
|
2064
|
-
|
|
2065
|
-
class:
|
|
2066
|
-
onClick: (re) => te(d(
|
|
2067
|
-
}, w(
|
|
2068
|
-
|
|
2069
|
-
class:
|
|
2074
|
+
}, w(g("selection.schedule")), 11, Pi),
|
|
2075
|
+
u("button", {
|
|
2076
|
+
class: V(["tab-button", { "is-active": k === d(ot) }]),
|
|
2077
|
+
onClick: (re) => te(d(ot))
|
|
2078
|
+
}, w(g("selection.standings")), 11, Mi),
|
|
2079
|
+
u("button", {
|
|
2080
|
+
class: V(["tab-button", { "is-active": k === d(pe) }]),
|
|
2070
2081
|
onClick: (re) => te(d(pe))
|
|
2071
|
-
}, w(
|
|
2072
|
-
|
|
2073
|
-
class:
|
|
2082
|
+
}, w(g("selection.playerStats")), 11, ji),
|
|
2083
|
+
u("button", {
|
|
2084
|
+
class: V(["tab-button", { "is-active": k === d(Le) }]),
|
|
2074
2085
|
onClick: (re) => te(d(Le))
|
|
2075
|
-
}, w(
|
|
2086
|
+
}, w(g("selection.teamStats")), 11, Oi)
|
|
2076
2087
|
]),
|
|
2077
|
-
$(d(
|
|
2088
|
+
$(d(Jt), {
|
|
2078
2089
|
columns: y,
|
|
2079
2090
|
rows: h.rows,
|
|
2080
2091
|
sort: v,
|
|
@@ -2084,7 +2095,7 @@ const hi = {
|
|
|
2084
2095
|
"external-game-resolver": n,
|
|
2085
2096
|
"append-to": r.value,
|
|
2086
2097
|
"hide-columns": k === d(ke) ? "broadcast" : "",
|
|
2087
|
-
onSort:
|
|
2098
|
+
onSort: ne
|
|
2088
2099
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
2089
2100
|
k === d(pe) ? (p(), G(d(Gr), {
|
|
2090
2101
|
key: 0,
|
|
@@ -2094,7 +2105,7 @@ const hi = {
|
|
|
2094
2105
|
"range-length": 5,
|
|
2095
2106
|
onChange: ae
|
|
2096
2107
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : M("", !0),
|
|
2097
|
-
k === d(
|
|
2108
|
+
k === d(ot) ? (p(), _(R, { key: 1 }, [
|
|
2098
2109
|
$(d(je), {
|
|
2099
2110
|
rows: h.rows,
|
|
2100
2111
|
"additional-key": "inheritedPoints"
|
|
@@ -2106,8 +2117,8 @@ const hi = {
|
|
|
2106
2117
|
], 64)) : M("", !0)
|
|
2107
2118
|
]),
|
|
2108
2119
|
_: 2
|
|
2109
|
-
}, 1032, ["locale", "timezone", "championship-name", "limit"]),
|
|
2110
|
-
|
|
2120
|
+
}, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id"]),
|
|
2121
|
+
u("div", {
|
|
2111
2122
|
ref_key: "tooltipContainer",
|
|
2112
2123
|
ref: r
|
|
2113
2124
|
}, null, 512)
|
|
@@ -2119,7 +2130,7 @@ const hi = {
|
|
|
2119
2130
|
}, 8, ["locale"])
|
|
2120
2131
|
]));
|
|
2121
2132
|
}
|
|
2122
|
-
}, Ri = /* @__PURE__ */ _e(Gi, [["styles", [xe, Xe,
|
|
2133
|
+
}, Ri = /* @__PURE__ */ _e(Gi, [["styles", [xe, Xe, Qe, ur, pr, mr, vr, Ti, Ai]]]), Yi = {
|
|
2123
2134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2124
2135
|
viewBox: "0 0 24 24",
|
|
2125
2136
|
fill: "none",
|
|
@@ -2130,10 +2141,10 @@ const hi = {
|
|
|
2130
2141
|
};
|
|
2131
2142
|
function Ui(t, e) {
|
|
2132
2143
|
return p(), _("svg", Yi, e[0] || (e[0] = [
|
|
2133
|
-
|
|
2144
|
+
u("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2134
2145
|
]));
|
|
2135
2146
|
}
|
|
2136
|
-
const Ki = { render: Ui },
|
|
2147
|
+
const Ki = { render: Ui }, Vi = {
|
|
2137
2148
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2138
2149
|
viewBox: "0 0 24 24",
|
|
2139
2150
|
fill: "none",
|
|
@@ -2142,12 +2153,12 @@ const Ki = { render: Ui }, Fi = {
|
|
|
2142
2153
|
"stroke-linecap": "round",
|
|
2143
2154
|
"stroke-linejoin": "round"
|
|
2144
2155
|
};
|
|
2145
|
-
function
|
|
2146
|
-
return p(), _("svg",
|
|
2147
|
-
|
|
2156
|
+
function Fi(t, e) {
|
|
2157
|
+
return p(), _("svg", Vi, e[0] || (e[0] = [
|
|
2158
|
+
u("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2148
2159
|
]));
|
|
2149
2160
|
}
|
|
2150
|
-
const br = { render:
|
|
2161
|
+
const br = { render: Fi }, hr = Symbol("CarouselContext");
|
|
2151
2162
|
function Bi({ apiKey: t }) {
|
|
2152
2163
|
const { execute: e } = Ba(
|
|
2153
2164
|
(r) => ra("/v2/game-data", t, r).then((a) => ({ ...a, ...r })),
|
|
@@ -2162,19 +2173,19 @@ function Bi({ apiKey: t }) {
|
|
|
2162
2173
|
};
|
|
2163
2174
|
}
|
|
2164
2175
|
function qi(t, e, r) {
|
|
2165
|
-
const a =
|
|
2176
|
+
const a = Hi(e, r);
|
|
2166
2177
|
return t.reduce((i, n) => (a.has(n.id) ? i.push({ ...a.get(n.id), ...n }) : i.push(n), i), []);
|
|
2167
2178
|
}
|
|
2168
|
-
function
|
|
2179
|
+
function Hi(t, e) {
|
|
2169
2180
|
const r = /* @__PURE__ */ new Map();
|
|
2170
2181
|
for (const a of t)
|
|
2171
2182
|
r.set(a[e], a);
|
|
2172
2183
|
return r;
|
|
2173
2184
|
}
|
|
2174
|
-
function
|
|
2185
|
+
function Kt(t) {
|
|
2175
2186
|
return !(t.includes("_int") || ["wu", "pre", "so", "end"].includes(t));
|
|
2176
2187
|
}
|
|
2177
|
-
const
|
|
2188
|
+
const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "container" }, Qi = ["disabled"], Zi = {
|
|
2178
2189
|
__name: "Carousel",
|
|
2179
2190
|
props: {
|
|
2180
2191
|
initialIndex: {
|
|
@@ -2193,22 +2204,22 @@ const Hi = { class: "games-timeline" }, Xi = ["disabled"], Ji = { ref: "containe
|
|
|
2193
2204
|
v !== -1 && o.value.splice(v, 1);
|
|
2194
2205
|
}
|
|
2195
2206
|
});
|
|
2196
|
-
const { arrivedState: n } =
|
|
2207
|
+
const { arrivedState: n } = Ha(r, { onStop: m }), s = A(
|
|
2197
2208
|
() => ue(r).querySelector(`#${o.value[a.value]}`)
|
|
2198
2209
|
);
|
|
2199
|
-
|
|
2210
|
+
gt(() => g()), se(
|
|
2200
2211
|
() => e.initialIndex,
|
|
2201
2212
|
(f) => {
|
|
2202
|
-
a.value = f, ze(() =>
|
|
2213
|
+
a.value = f, ze(() => g());
|
|
2203
2214
|
}
|
|
2204
2215
|
);
|
|
2205
2216
|
function l() {
|
|
2206
|
-
n.left || (a.value--,
|
|
2217
|
+
n.left || (a.value--, g({ behavior: "smooth" }));
|
|
2207
2218
|
}
|
|
2208
2219
|
function c() {
|
|
2209
|
-
n.right || (a.value++,
|
|
2220
|
+
n.right || (a.value++, g({ behavior: "smooth" }));
|
|
2210
2221
|
}
|
|
2211
|
-
function
|
|
2222
|
+
function g(f) {
|
|
2212
2223
|
var v;
|
|
2213
2224
|
(v = s.value) == null || v.scrollIntoView({ inline: "start", block: "nearest", ...f });
|
|
2214
2225
|
}
|
|
@@ -2219,18 +2230,18 @@ const Hi = { class: "games-timeline" }, Xi = ["disabled"], Ji = { ref: "containe
|
|
|
2219
2230
|
);
|
|
2220
2231
|
a.value = v;
|
|
2221
2232
|
}
|
|
2222
|
-
return (f, v) => (p(), _("div",
|
|
2223
|
-
|
|
2233
|
+
return (f, v) => (p(), _("div", Wi, [
|
|
2234
|
+
u("button", {
|
|
2224
2235
|
type: "button",
|
|
2225
2236
|
disabled: d(n).left,
|
|
2226
2237
|
onClick: l
|
|
2227
2238
|
}, [
|
|
2228
2239
|
$(d(Ki))
|
|
2229
|
-
], 8,
|
|
2230
|
-
|
|
2240
|
+
], 8, Ji),
|
|
2241
|
+
u("div", Xi, [
|
|
2231
2242
|
ge(f.$slots, "default")
|
|
2232
2243
|
], 512),
|
|
2233
|
-
|
|
2244
|
+
u("button", {
|
|
2234
2245
|
type: "button",
|
|
2235
2246
|
disabled: d(n).right,
|
|
2236
2247
|
onClick: c
|
|
@@ -2239,18 +2250,18 @@ const Hi = { class: "games-timeline" }, Xi = ["disabled"], Ji = { ref: "containe
|
|
|
2239
2250
|
], 8, Qi)
|
|
2240
2251
|
]));
|
|
2241
2252
|
}
|
|
2242
|
-
},
|
|
2253
|
+
}, it = {
|
|
2243
2254
|
__name: "CarouselItem",
|
|
2244
2255
|
setup(t) {
|
|
2245
2256
|
const e = `mjsz-vbr-carousel-item-${Sr()}`, r = Ir(hr, null);
|
|
2246
|
-
return
|
|
2257
|
+
return gt(() => r == null ? void 0 : r.register(e)), $r(() => r == null ? void 0 : r.unregister(e)), (a, o) => (p(), _("div", {
|
|
2247
2258
|
id: e,
|
|
2248
2259
|
class: "is-slide"
|
|
2249
2260
|
}, [
|
|
2250
2261
|
ge(a.$slots, "default")
|
|
2251
2262
|
]));
|
|
2252
2263
|
}
|
|
2253
|
-
}, en = { class: "games-timeline-schedule-link" },
|
|
2264
|
+
}, en = { class: "games-timeline-schedule-link" }, Vt = {
|
|
2254
2265
|
__name: "ExternalSchedule",
|
|
2255
2266
|
props: {
|
|
2256
2267
|
title: {
|
|
@@ -2269,7 +2280,7 @@ const Hi = { class: "games-timeline" }, Xi = ["disabled"], Ji = { ref: "containe
|
|
|
2269
2280
|
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2270
2281
|
}
|
|
2271
2282
|
return (i, n) => (p(), _("div", en, [
|
|
2272
|
-
|
|
2283
|
+
u("button", {
|
|
2273
2284
|
type: "button",
|
|
2274
2285
|
onClick: o
|
|
2275
2286
|
}, [
|
|
@@ -2288,9 +2299,9 @@ const Hi = { class: "games-timeline" }, Xi = ["disabled"], Ji = { ref: "containe
|
|
|
2288
2299
|
},
|
|
2289
2300
|
setup(t) {
|
|
2290
2301
|
return (e, r) => (p(), _("div", tn, [
|
|
2291
|
-
|
|
2302
|
+
u("div", rn, [
|
|
2292
2303
|
$(Cr, { name: "is-slide-transition" }, {
|
|
2293
|
-
default:
|
|
2304
|
+
default: T(() => [
|
|
2294
2305
|
(p(), _("span", { key: t.score }, w(t.score), 1))
|
|
2295
2306
|
]),
|
|
2296
2307
|
_: 1
|
|
@@ -2318,65 +2329,65 @@ const Hi = { class: "games-timeline" }, Xi = ["disabled"], Ji = { ref: "containe
|
|
|
2318
2329
|
},
|
|
2319
2330
|
emits: ["navigateTo"],
|
|
2320
2331
|
setup(t, { emit: e }) {
|
|
2321
|
-
const r = t, a = e, { t: o } =
|
|
2322
|
-
const { gameStatus: s, championshipName: l, divisionName: c, period:
|
|
2323
|
-
return s !== 1 ? `${l} - ${c}` :
|
|
2332
|
+
const r = t, a = e, { t: o } = ce(), i = A(() => {
|
|
2333
|
+
const { gameStatus: s, championshipName: l, divisionName: c, period: g, periodTime: m } = r.gameData;
|
|
2334
|
+
return s !== 1 ? `${l} - ${c}` : g && Kt(g) ? `${o(`game.period.${g}`)} - ${m}` : g && !Kt(g) ? o(`game.period.${g}`) : "";
|
|
2324
2335
|
});
|
|
2325
2336
|
function n() {
|
|
2326
2337
|
const { externalUrl: s, id: l } = r.gameData;
|
|
2327
2338
|
if (s)
|
|
2328
2339
|
return a("navigateTo", { url: s, target: "_blank" });
|
|
2329
|
-
const c =
|
|
2340
|
+
const c = mt(r.externalGameResolver, { gameId: l });
|
|
2330
2341
|
a("navigateTo", { url: c, target: "_self" });
|
|
2331
2342
|
}
|
|
2332
2343
|
return (s, l) => (p(), _("div", {
|
|
2333
2344
|
class: "games-timeline-game",
|
|
2334
2345
|
onClick: n
|
|
2335
2346
|
}, [
|
|
2336
|
-
|
|
2347
|
+
u("time", null, [
|
|
2337
2348
|
oe(w(t.gameData.gameDateTime) + " ", 1),
|
|
2338
2349
|
t.gameData.isShootout ? (p(), _("span", an, w(d(o)("common.shootoutShort")), 1)) : M("", !0),
|
|
2339
2350
|
t.gameData.isOvertime ? (p(), _("span", on, w(d(o)("common.overtimeShort")), 1)) : M("", !0)
|
|
2340
2351
|
]),
|
|
2341
|
-
|
|
2352
|
+
u("div", nn, [
|
|
2342
2353
|
$(d(Me), {
|
|
2343
2354
|
src: t.gameData.homeTeam.logo,
|
|
2344
2355
|
class: "is-team-logo"
|
|
2345
2356
|
}, null, 8, ["src"])
|
|
2346
2357
|
]),
|
|
2347
|
-
|
|
2348
|
-
|
|
2358
|
+
u("div", sn, w(t.gameData.homeTeam.longName), 1),
|
|
2359
|
+
u("div", ln, [
|
|
2349
2360
|
t.gameData.homeTeamScore != null ? (p(), G(Ft, {
|
|
2350
2361
|
key: 0,
|
|
2351
|
-
class:
|
|
2362
|
+
class: V(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2352
2363
|
score: t.gameData.homeTeamScore
|
|
2353
2364
|
}, {
|
|
2354
|
-
default:
|
|
2365
|
+
default: T(() => [
|
|
2355
2366
|
oe(w(t.gameData.homeTeamScore), 1)
|
|
2356
2367
|
]),
|
|
2357
2368
|
_: 1
|
|
2358
2369
|
}, 8, ["class", "score"])) : M("", !0)
|
|
2359
2370
|
]),
|
|
2360
|
-
|
|
2371
|
+
u("div", cn, [
|
|
2361
2372
|
$(d(Me), {
|
|
2362
2373
|
src: t.gameData.awayTeam.logo,
|
|
2363
2374
|
class: "is-team-logo"
|
|
2364
2375
|
}, null, 8, ["src"])
|
|
2365
2376
|
]),
|
|
2366
|
-
|
|
2367
|
-
|
|
2377
|
+
u("div", dn, w(t.gameData.awayTeam.longName), 1),
|
|
2378
|
+
u("div", gn, [
|
|
2368
2379
|
t.gameData.awayTeamScore != null ? (p(), G(Ft, {
|
|
2369
2380
|
key: 0,
|
|
2370
2381
|
score: t.gameData.awayTeamScore,
|
|
2371
|
-
class:
|
|
2382
|
+
class: V(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2372
2383
|
}, {
|
|
2373
|
-
default:
|
|
2384
|
+
default: T(() => [
|
|
2374
2385
|
oe(w(t.gameData.awayTeamScore), 1)
|
|
2375
2386
|
]),
|
|
2376
2387
|
_: 1
|
|
2377
2388
|
}, 8, ["score", "class"])) : M("", !0)
|
|
2378
2389
|
]),
|
|
2379
|
-
|
|
2390
|
+
u("div", un, w(i.value), 1)
|
|
2380
2391
|
]));
|
|
2381
2392
|
}
|
|
2382
2393
|
}, mn = {
|
|
@@ -2390,14 +2401,14 @@ const Hi = { class: "games-timeline" }, Xi = ["disabled"], Ji = { ref: "containe
|
|
|
2390
2401
|
};
|
|
2391
2402
|
function vn(t, e) {
|
|
2392
2403
|
return p(), _("svg", mn, e[0] || (e[0] = [
|
|
2393
|
-
|
|
2394
|
-
|
|
2404
|
+
u("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, null, -1),
|
|
2405
|
+
u("line", {
|
|
2395
2406
|
x1: "12",
|
|
2396
2407
|
y1: "9",
|
|
2397
2408
|
x2: "12",
|
|
2398
2409
|
y2: "13"
|
|
2399
2410
|
}, null, -1),
|
|
2400
|
-
|
|
2411
|
+
u("line", {
|
|
2401
2412
|
x1: "12",
|
|
2402
2413
|
y1: "17",
|
|
2403
2414
|
x2: "12.01",
|
|
@@ -2409,14 +2420,14 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2409
2420
|
__name: "TryAgain",
|
|
2410
2421
|
emits: ["tryAgain"],
|
|
2411
2422
|
setup(t, { emit: e }) {
|
|
2412
|
-
const r = e, { t: a } =
|
|
2423
|
+
const r = e, { t: a } = ce();
|
|
2413
2424
|
function o() {
|
|
2414
2425
|
r("tryAgain");
|
|
2415
2426
|
}
|
|
2416
2427
|
return (i, n) => (p(), _("div", hn, [
|
|
2417
2428
|
$(d(bn)),
|
|
2418
|
-
|
|
2419
|
-
|
|
2429
|
+
u("div", null, w(d(a)("gamesTimeline.errorText")), 1),
|
|
2430
|
+
u("button", {
|
|
2420
2431
|
type: "button",
|
|
2421
2432
|
onClick: o
|
|
2422
2433
|
}, w(d(a)("gamesTimeline.errorCta")), 1)
|
|
@@ -2464,7 +2475,7 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2464
2475
|
i.value = !0;
|
|
2465
2476
|
},
|
|
2466
2477
|
onSuccess: v
|
|
2467
|
-
}), { resume: l, pause: c } =
|
|
2478
|
+
}), { resume: l, pause: c } = Ct(s, 1e3 * 60 * 5);
|
|
2468
2479
|
aa(
|
|
2469
2480
|
!0,
|
|
2470
2481
|
() => {
|
|
@@ -2474,10 +2485,10 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2474
2485
|
c(), o.map((x) => x == null ? void 0 : x()), o = [];
|
|
2475
2486
|
}
|
|
2476
2487
|
);
|
|
2477
|
-
const
|
|
2488
|
+
const g = A(() => at(n.value) ? 0 : n.value.findIndex((x) => !Xt(new Date(x.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), m = A(
|
|
2478
2489
|
() => n.value.map((x) => ({
|
|
2479
2490
|
...x,
|
|
2480
|
-
gameDateTime: `${Q(x.gameDate, "L LT", a, e.locale)} (${
|
|
2491
|
+
gameDateTime: `${Q(x.gameDate, "L LT", a, e.locale)} (${Ve(
|
|
2481
2492
|
x.gameDate,
|
|
2482
2493
|
a,
|
|
2483
2494
|
e.locale
|
|
@@ -2490,13 +2501,13 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2490
2501
|
for (let z = 0; z < x.length; z++) {
|
|
2491
2502
|
const y = x[z].id;
|
|
2492
2503
|
f(0, { gameId: y }).then((I) => S(I));
|
|
2493
|
-
const { pause: b } =
|
|
2504
|
+
const { pause: b } = Ct(() => f(0, { gameId: y }).then((I) => S(I)), 6e4);
|
|
2494
2505
|
o.push(b);
|
|
2495
2506
|
}
|
|
2496
2507
|
}
|
|
2497
2508
|
function S(x = {}) {
|
|
2498
2509
|
const { gameId: z, gameStatus: y, homeTeamScore: b, awayTeamScore: I, period: E, periodTime: k } = x, P = n.value.find((D) => D.id === z);
|
|
2499
|
-
P.gameStatus = y, P.homeTeamScore = b, P.awayTeamScore = I, P.period = E, P.periodTime = k,
|
|
2510
|
+
P.gameStatus = y, P.homeTeamScore = b, P.awayTeamScore = I, P.period = E, P.periodTime = k, Nr(n);
|
|
2500
2511
|
}
|
|
2501
2512
|
function h({ url: x, target: z }) {
|
|
2502
2513
|
window.open(x, z);
|
|
@@ -2508,18 +2519,18 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2508
2519
|
locale: t.locale,
|
|
2509
2520
|
messages: r
|
|
2510
2521
|
}, {
|
|
2511
|
-
default:
|
|
2512
|
-
$(Zi, { "initial-index":
|
|
2513
|
-
default:
|
|
2514
|
-
d(
|
|
2522
|
+
default: T(({ t: y }) => [
|
|
2523
|
+
$(Zi, { "initial-index": g.value }, {
|
|
2524
|
+
default: T(() => [
|
|
2525
|
+
d(at)(d(n)) && !i.value ? (p(), _("div", wn, [
|
|
2515
2526
|
$(d(Wt))
|
|
2516
|
-
])) : i.value && d(
|
|
2527
|
+
])) : i.value && d(at)(d(n)) ? (p(), G(fn, {
|
|
2517
2528
|
key: 1,
|
|
2518
2529
|
onTryAgain: C
|
|
2519
2530
|
})) : (p(), _(R, { key: 2 }, [
|
|
2520
|
-
$(
|
|
2521
|
-
default:
|
|
2522
|
-
$(
|
|
2531
|
+
$(it, null, {
|
|
2532
|
+
default: T(() => [
|
|
2533
|
+
$(Vt, {
|
|
2523
2534
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2524
2535
|
title: y("gamesTimeline.allSchedule"),
|
|
2525
2536
|
onNavigateTo: h
|
|
@@ -2527,7 +2538,7 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2527
2538
|
]),
|
|
2528
2539
|
_: 2
|
|
2529
2540
|
}, 1024),
|
|
2530
|
-
(p(!0), _(R, null,
|
|
2541
|
+
(p(!0), _(R, null, H(m.value, (b, I, E, k) => {
|
|
2531
2542
|
const P = [
|
|
2532
2543
|
b.gameDateTime,
|
|
2533
2544
|
b.gameStatus,
|
|
@@ -2536,11 +2547,11 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2536
2547
|
b.period,
|
|
2537
2548
|
b.actualTime
|
|
2538
2549
|
];
|
|
2539
|
-
if (k && k.key === b.id &&
|
|
2540
|
-
const D = (p(), G(
|
|
2550
|
+
if (k && k.key === b.id && Tr(k, P)) return k;
|
|
2551
|
+
const D = (p(), G(it, {
|
|
2541
2552
|
key: b.id
|
|
2542
2553
|
}, {
|
|
2543
|
-
default:
|
|
2554
|
+
default: T(() => [
|
|
2544
2555
|
$(pn, {
|
|
2545
2556
|
"game-data": b,
|
|
2546
2557
|
"external-game-resolver": t.externalGameResolver,
|
|
@@ -2551,9 +2562,9 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2551
2562
|
}, 1024));
|
|
2552
2563
|
return D.memo = P, D;
|
|
2553
2564
|
}, z, 0), 128)),
|
|
2554
|
-
$(
|
|
2555
|
-
default:
|
|
2556
|
-
$(
|
|
2565
|
+
$(it, null, {
|
|
2566
|
+
default: T(() => [
|
|
2567
|
+
$(Vt, {
|
|
2557
2568
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2558
2569
|
title: y("gamesTimeline.allSchedule"),
|
|
2559
2570
|
onNavigateTo: h
|
|
@@ -2571,13 +2582,13 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2571
2582
|
}
|
|
2572
2583
|
}, _n = /* @__PURE__ */ _e(xn, [["styles", [xe, yn]]]);
|
|
2573
2584
|
function kn(t, e) {
|
|
2574
|
-
e.seasonsList = t, e.seasonId = Ae(Z,
|
|
2585
|
+
e.seasonsList = t, e.seasonId = Ae(Z, ie("id"))(t);
|
|
2575
2586
|
}
|
|
2576
2587
|
function zn(t, e) {
|
|
2577
|
-
e.championshipList = t, e.championshipId = Ae(Z,
|
|
2588
|
+
e.championshipList = t, e.championshipId = Ae(Z, ie("championshipId"))(t);
|
|
2578
2589
|
}
|
|
2579
2590
|
function Sn(t, e) {
|
|
2580
|
-
e.sections = t, e.sectionId = Ae(Z,
|
|
2591
|
+
e.sections = t, e.sectionId = Ae(Z, ie("sectionId"))(t);
|
|
2581
2592
|
}
|
|
2582
2593
|
const In = {
|
|
2583
2594
|
__name: "DataProvider",
|
|
@@ -2592,14 +2603,14 @@ const In = {
|
|
|
2592
2603
|
}
|
|
2593
2604
|
},
|
|
2594
2605
|
setup(t) {
|
|
2595
|
-
const e = t, r =
|
|
2606
|
+
const e = t, r = le({
|
|
2596
2607
|
seasonsList: [],
|
|
2597
2608
|
seasonId: null,
|
|
2598
2609
|
championshipList: [],
|
|
2599
2610
|
championshipId: null,
|
|
2600
2611
|
sections: [],
|
|
2601
2612
|
sectionId: null
|
|
2602
|
-
}), { onError: a } =
|
|
2613
|
+
}), { onError: a } = Be(), { isLoading: o, execute: i } = ee({
|
|
2603
2614
|
options: {
|
|
2604
2615
|
path: "/v2/all-season-list",
|
|
2605
2616
|
apiKey: e.apiKey,
|
|
@@ -2626,7 +2637,7 @@ const In = {
|
|
|
2626
2637
|
},
|
|
2627
2638
|
transform: (h) => Sn(h, r),
|
|
2628
2639
|
onError: a
|
|
2629
|
-
}),
|
|
2640
|
+
}), g = A(() => {
|
|
2630
2641
|
var h, C;
|
|
2631
2642
|
return ((C = (h = r.sections) == null ? void 0 : h.find((x) => x.sectionId === r.sectionId)) == null ? void 0 : C.phases) ?? [];
|
|
2632
2643
|
});
|
|
@@ -2644,7 +2655,7 @@ const In = {
|
|
|
2644
2655
|
return (h, C) => ge(h.$slots, "default", $e(Ce({
|
|
2645
2656
|
...r,
|
|
2646
2657
|
isLoading: m.value,
|
|
2647
|
-
phaseData:
|
|
2658
|
+
phaseData: g.value,
|
|
2648
2659
|
onChangeSeason: f,
|
|
2649
2660
|
onChangeSection: S,
|
|
2650
2661
|
onChangeChampionship: v
|
|
@@ -2653,7 +2664,7 @@ const In = {
|
|
|
2653
2664
|
}, $n = { class: "is-mb-5" }, Cn = {
|
|
2654
2665
|
for: "season",
|
|
2655
2666
|
class: "label"
|
|
2656
|
-
},
|
|
2667
|
+
}, Nn = ["value"], Tn = {
|
|
2657
2668
|
for: "season",
|
|
2658
2669
|
class: "label"
|
|
2659
2670
|
}, An = ["value"], En = {
|
|
@@ -2678,33 +2689,33 @@ const In = {
|
|
|
2678
2689
|
},
|
|
2679
2690
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2680
2691
|
setup(t, { emit: e }) {
|
|
2681
|
-
const r = t, a = e, { t: o } =
|
|
2692
|
+
const r = t, a = e, { t: o } = ce(), { seasonId: i, championshipId: n } = ht(r, a);
|
|
2682
2693
|
return (s, l) => (p(), _(R, null, [
|
|
2683
|
-
|
|
2684
|
-
|
|
2694
|
+
u("div", $n, [
|
|
2695
|
+
u("label", Cn, w(d(o)("selection.seasons")), 1),
|
|
2685
2696
|
$(d(me), {
|
|
2686
2697
|
id: "season",
|
|
2687
2698
|
modelValue: d(i),
|
|
2688
|
-
"onUpdate:modelValue": l[0] || (l[0] = (c) =>
|
|
2699
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null)
|
|
2689
2700
|
}, {
|
|
2690
|
-
default:
|
|
2691
|
-
(p(!0), _(R, null,
|
|
2701
|
+
default: T(() => [
|
|
2702
|
+
(p(!0), _(R, null, H(t.seasonsList, (c) => (p(), _("option", {
|
|
2692
2703
|
key: c.id,
|
|
2693
2704
|
value: c.id
|
|
2694
|
-
}, w(c.seasonName), 9,
|
|
2705
|
+
}, w(c.seasonName), 9, Nn))), 128))
|
|
2695
2706
|
]),
|
|
2696
2707
|
_: 1
|
|
2697
2708
|
}, 8, ["modelValue"])
|
|
2698
2709
|
]),
|
|
2699
|
-
|
|
2700
|
-
|
|
2710
|
+
u("div", null, [
|
|
2711
|
+
u("label", Tn, w(d(o)("selection.championships")), 1),
|
|
2701
2712
|
$(d(me), {
|
|
2702
2713
|
id: "season",
|
|
2703
2714
|
modelValue: d(n),
|
|
2704
|
-
"onUpdate:modelValue": l[1] || (l[1] = (c) =>
|
|
2715
|
+
"onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
|
|
2705
2716
|
}, {
|
|
2706
|
-
default:
|
|
2707
|
-
(p(!0), _(R, null,
|
|
2717
|
+
default: T(() => [
|
|
2718
|
+
(p(!0), _(R, null, H(t.championshipList, (c) => (p(), _("option", {
|
|
2708
2719
|
key: c.championshipId,
|
|
2709
2720
|
value: c.championshipId
|
|
2710
2721
|
}, w(c.championshipName), 9, An))), 128))
|
|
@@ -2714,10 +2725,10 @@ const In = {
|
|
|
2714
2725
|
])
|
|
2715
2726
|
], 64));
|
|
2716
2727
|
}
|
|
2717
|
-
}, Dn = ".main-layout[data-v-10915a30]{display:flex;flex-wrap:wrap;gap:20px}.main-layout>div[data-v-10915a30]:nth-child(2){flex:1}pre[data-v-10915a30]{padding:10px;white-space:pre-wrap;overflow-x:auto;background-color:var(--vbr-widget-primary-color-50);border-radius:5px}", Ln = { class: "main-layout" }, Pn = { class: "is-mb-5" }, Mn = { for: "seasonId" }, jn = ["textContent"], On = { class: "is-mb-5" }, Gn = { for: "championshipName" }, Rn = ["textContent"], Yn = { class: "is-mb-5" }, Un = { for: "championshipId" }, Kn = ["textContent"],
|
|
2728
|
+
}, Dn = ".main-layout[data-v-10915a30]{display:flex;flex-wrap:wrap;gap:20px}.main-layout>div[data-v-10915a30]:nth-child(2){flex:1}pre[data-v-10915a30]{padding:10px;white-space:pre-wrap;overflow-x:auto;background-color:var(--vbr-widget-primary-color-50);border-radius:5px}", Ln = { class: "main-layout" }, Pn = { class: "is-mb-5" }, Mn = { for: "seasonId" }, jn = ["textContent"], On = { class: "is-mb-5" }, Gn = { for: "championshipName" }, Rn = ["textContent"], Yn = { class: "is-mb-5" }, Un = { for: "championshipId" }, Kn = ["textContent"], Vn = { class: "is-mb-5" }, Fn = { for: "sections" }, Bn = {
|
|
2718
2729
|
id: "sections",
|
|
2719
2730
|
class: "toggle-group"
|
|
2720
|
-
}, qn = ["onClick"],
|
|
2731
|
+
}, qn = ["onClick"], Hn = { class: "is-mb-5" }, Wn = { for: "phases" }, Jn = ["textContent"], Xn = {
|
|
2721
2732
|
__name: "IvrIdentifiers.ce",
|
|
2722
2733
|
props: {
|
|
2723
2734
|
locale: {
|
|
@@ -2735,18 +2746,18 @@ const In = {
|
|
|
2735
2746
|
locale: e.locale,
|
|
2736
2747
|
messages: r
|
|
2737
2748
|
}, {
|
|
2738
|
-
default:
|
|
2739
|
-
$(d(
|
|
2740
|
-
default:
|
|
2741
|
-
s ? (p(), G(d(
|
|
2749
|
+
default: T(({ t: i }) => [
|
|
2750
|
+
$(d(Ne), null, {
|
|
2751
|
+
default: T(({ error: n, hasError: s }) => [
|
|
2752
|
+
s ? (p(), G(d(Te), {
|
|
2742
2753
|
key: 0,
|
|
2743
2754
|
error: n
|
|
2744
2755
|
}, null, 8, ["error"])) : M("", !0),
|
|
2745
2756
|
$(In, null, {
|
|
2746
|
-
default:
|
|
2757
|
+
default: T(({
|
|
2747
2758
|
seasonsList: l,
|
|
2748
2759
|
seasonId: c,
|
|
2749
|
-
championshipList:
|
|
2760
|
+
championshipList: g,
|
|
2750
2761
|
championshipId: m,
|
|
2751
2762
|
sections: f,
|
|
2752
2763
|
sectionId: v,
|
|
@@ -2757,55 +2768,55 @@ const In = {
|
|
|
2757
2768
|
}) => {
|
|
2758
2769
|
var z;
|
|
2759
2770
|
return [
|
|
2760
|
-
|
|
2761
|
-
|
|
2771
|
+
u("div", Ln, [
|
|
2772
|
+
u("div", null, [
|
|
2762
2773
|
$(En, {
|
|
2763
2774
|
"seasons-list": l,
|
|
2764
2775
|
"season-id": c,
|
|
2765
|
-
"championship-list":
|
|
2776
|
+
"championship-list": g,
|
|
2766
2777
|
"championship-id": m,
|
|
2767
2778
|
"onUpdate:seasonId": h,
|
|
2768
2779
|
"onUpdate:championshipId": x
|
|
2769
2780
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
2770
2781
|
]),
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2782
|
+
u("div", null, [
|
|
2783
|
+
u("section", Pn, [
|
|
2784
|
+
u("label", Mn, w(i("selection.seasonId")), 1),
|
|
2785
|
+
u("p", {
|
|
2775
2786
|
id: "seasonId",
|
|
2776
2787
|
textContent: w(c)
|
|
2777
2788
|
}, null, 8, jn)
|
|
2778
2789
|
]),
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2790
|
+
u("section", On, [
|
|
2791
|
+
u("label", Gn, w(i("selection.championshipName")), 1),
|
|
2792
|
+
u("p", {
|
|
2782
2793
|
id: "championshipName",
|
|
2783
|
-
textContent: w((z =
|
|
2794
|
+
textContent: w((z = g.find((y) => y.championshipId === m)) == null ? void 0 : z.championshipName)
|
|
2784
2795
|
}, null, 8, Rn)
|
|
2785
2796
|
]),
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2797
|
+
u("section", Yn, [
|
|
2798
|
+
u("label", Un, w(i("selection.championshipId")), 1),
|
|
2799
|
+
u("p", {
|
|
2789
2800
|
id: "championshipId",
|
|
2790
2801
|
textContent: w(m)
|
|
2791
2802
|
}, null, 8, Kn)
|
|
2792
2803
|
]),
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
(p(!0), _(R, null,
|
|
2804
|
+
u("section", Vn, [
|
|
2805
|
+
u("label", Fn, w(i("selection.sections")) + ":", 1),
|
|
2806
|
+
u("div", Bn, [
|
|
2807
|
+
(p(!0), _(R, null, H(f, (y) => (p(), _("button", {
|
|
2797
2808
|
key: y.sectionId,
|
|
2798
|
-
class:
|
|
2809
|
+
class: V({ "is-active": y.sectionId === v }),
|
|
2799
2810
|
onClick: (b) => C(y.sectionId)
|
|
2800
2811
|
}, w(y.sectionName), 11, qn))), 128))
|
|
2801
2812
|
])
|
|
2802
2813
|
]),
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2814
|
+
u("section", Hn, [
|
|
2815
|
+
u("label", Wn, w(i("selection.phasesDivision")) + ":", 1),
|
|
2816
|
+
u("pre", {
|
|
2806
2817
|
id: "phases",
|
|
2807
2818
|
textContent: w(S)
|
|
2808
|
-
}, null, 8,
|
|
2819
|
+
}, null, 8, Jn)
|
|
2809
2820
|
])
|
|
2810
2821
|
])
|
|
2811
2822
|
])
|
|
@@ -2820,7 +2831,7 @@ const In = {
|
|
|
2820
2831
|
_: 1
|
|
2821
2832
|
}, 8, ["locale"]));
|
|
2822
2833
|
}
|
|
2823
|
-
}, Qn = /* @__PURE__ */ _e(
|
|
2834
|
+
}, Qn = /* @__PURE__ */ _e(Xn, [["styles", [xe, Xe, Qe, Dn]], ["__scopeId", "data-v-10915a30"]]), Zn = { class: "g-row" }, es = {
|
|
2824
2835
|
for: "season",
|
|
2825
2836
|
class: "label"
|
|
2826
2837
|
}, ts = ["value"], rs = ["onClick"], as = {
|
|
@@ -2845,7 +2856,7 @@ const In = {
|
|
|
2845
2856
|
},
|
|
2846
2857
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
2847
2858
|
setup(t, { emit: e }) {
|
|
2848
|
-
const r = t, a = e, { t: o } =
|
|
2859
|
+
const r = t, a = e, { t: o } = ce(), i = A({
|
|
2849
2860
|
get() {
|
|
2850
2861
|
return r.championshipId;
|
|
2851
2862
|
},
|
|
@@ -2857,16 +2868,16 @@ const In = {
|
|
|
2857
2868
|
a("onChangeSection", s);
|
|
2858
2869
|
}
|
|
2859
2870
|
return (s, l) => (p(), _(R, null, [
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2871
|
+
u("div", Zn, [
|
|
2872
|
+
u("div", null, [
|
|
2873
|
+
u("label", es, w(d(o)("selection.season")), 1),
|
|
2863
2874
|
$(d(me), {
|
|
2864
2875
|
id: "season",
|
|
2865
2876
|
modelValue: i.value,
|
|
2866
2877
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => i.value = c)
|
|
2867
2878
|
}, {
|
|
2868
|
-
default:
|
|
2869
|
-
(p(!0), _(R, null,
|
|
2879
|
+
default: T(() => [
|
|
2880
|
+
(p(!0), _(R, null, H(t.seasons, (c) => (p(), _("option", {
|
|
2870
2881
|
key: c.championshipId,
|
|
2871
2882
|
value: c.championshipId
|
|
2872
2883
|
}, w(c.seasonName), 9, ts))), 128))
|
|
@@ -2875,11 +2886,11 @@ const In = {
|
|
|
2875
2886
|
}, 8, ["modelValue"])
|
|
2876
2887
|
])
|
|
2877
2888
|
]),
|
|
2878
|
-
|
|
2879
|
-
(p(!0), _(R, null,
|
|
2889
|
+
u("div", null, [
|
|
2890
|
+
(p(!0), _(R, null, H(t.sections, (c) => (p(), _("button", {
|
|
2880
2891
|
key: c.phaseId,
|
|
2881
|
-
class:
|
|
2882
|
-
onClick: (
|
|
2892
|
+
class: V(["tab-button", { "is-active": c.sectionId === t.sectionId }]),
|
|
2893
|
+
onClick: (g) => n(c)
|
|
2883
2894
|
}, w(c.sectionName), 11, rs))), 128))
|
|
2884
2895
|
])
|
|
2885
2896
|
], 64));
|
|
@@ -2887,15 +2898,15 @@ const In = {
|
|
|
2887
2898
|
};
|
|
2888
2899
|
function os(t, e) {
|
|
2889
2900
|
if (t.length === 0)
|
|
2890
|
-
throw new
|
|
2901
|
+
throw new Qt(Oe.message, Oe.options);
|
|
2891
2902
|
e.seasons = ns(t), e.championshipId || (e.championshipId = Z(e.seasons).championshipId);
|
|
2892
2903
|
}
|
|
2893
2904
|
function is(t, e) {
|
|
2894
2905
|
var r;
|
|
2895
|
-
e.sections =
|
|
2906
|
+
e.sections = Ue(ie("sectionId"))(t), e.sectionId = xt(ie("sectionId"), Z)(e.sections), e.phaseId = ((r = cr([0, "phases", 0], t)) == null ? void 0 : r.phaseId) ?? null;
|
|
2896
2907
|
}
|
|
2897
2908
|
function ns(t) {
|
|
2898
|
-
return
|
|
2909
|
+
return xt(gr(lr(ie("seasonName"))), wt(dr(["championshipId", "seasonName"])))(t);
|
|
2899
2910
|
}
|
|
2900
2911
|
const ss = {
|
|
2901
2912
|
gameName: {
|
|
@@ -2935,7 +2946,7 @@ const ss = {
|
|
|
2935
2946
|
}
|
|
2936
2947
|
};
|
|
2937
2948
|
function ls(t) {
|
|
2938
|
-
return (e) =>
|
|
2949
|
+
return (e) => wt((r) => ({
|
|
2939
2950
|
...r,
|
|
2940
2951
|
...r.registration && { registration: `${r.registration}/cid/${t}` }
|
|
2941
2952
|
}))(e);
|
|
@@ -2969,13 +2980,13 @@ const cs = {
|
|
|
2969
2980
|
}
|
|
2970
2981
|
},
|
|
2971
2982
|
setup(t) {
|
|
2972
|
-
const e = t, r =
|
|
2983
|
+
const e = t, r = le({
|
|
2973
2984
|
seasons: [],
|
|
2974
2985
|
championshipId: null,
|
|
2975
2986
|
sections: [],
|
|
2976
2987
|
sectionId: null,
|
|
2977
2988
|
phaseId: null
|
|
2978
|
-
}), { onError: a } =
|
|
2989
|
+
}), { onError: a } = Be(), { isLoading: o, execute: i } = ee({
|
|
2979
2990
|
options: {
|
|
2980
2991
|
path: "/v2/championship-seasons",
|
|
2981
2992
|
apiKey: e.apiKey,
|
|
@@ -2994,23 +3005,23 @@ const cs = {
|
|
|
2994
3005
|
}), {
|
|
2995
3006
|
isLoading: l,
|
|
2996
3007
|
state: c,
|
|
2997
|
-
execute:
|
|
3008
|
+
execute: g
|
|
2998
3009
|
} = ee({
|
|
2999
3010
|
options: {
|
|
3000
3011
|
path: "/v2/games-list",
|
|
3001
3012
|
apiKey: e.apiKey,
|
|
3002
3013
|
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3003
3014
|
},
|
|
3004
|
-
transform: (h) => Ae(
|
|
3015
|
+
transform: (h) => Ae(Zt, ls(r.championshipId))(h),
|
|
3005
3016
|
onError: a
|
|
3006
|
-
}), m = A(() =>
|
|
3007
|
-
be([i, s,
|
|
3017
|
+
}), m = A(() => Ke(c.value).schedule(e.timezone, e.locale).value());
|
|
3018
|
+
be([i, s, g]);
|
|
3008
3019
|
const f = A(() => [n.value, o.value, l.value].some(Boolean));
|
|
3009
3020
|
function v(h) {
|
|
3010
|
-
r.championshipId = h, be([s,
|
|
3021
|
+
r.championshipId = h, be([s, g]);
|
|
3011
3022
|
}
|
|
3012
3023
|
function S(h) {
|
|
3013
|
-
r.sectionId = h.sectionId, r.phaseId =
|
|
3024
|
+
r.sectionId = h.sectionId, r.phaseId = cr(["phases", 0, "phaseId"], h), g();
|
|
3014
3025
|
}
|
|
3015
3026
|
return (h, C) => ge(h.$slots, "default", $e(Ce({
|
|
3016
3027
|
rows: m.value,
|
|
@@ -3046,32 +3057,32 @@ const cs = {
|
|
|
3046
3057
|
A(() => ({
|
|
3047
3058
|
offsetName: e.offsetName
|
|
3048
3059
|
}))
|
|
3049
|
-
), { t: o } =
|
|
3060
|
+
), { t: o } = ce();
|
|
3050
3061
|
return (i, n) => (p(), _("div", {
|
|
3051
3062
|
ref_key: "tooltipContainer",
|
|
3052
3063
|
ref: r
|
|
3053
3064
|
}, [
|
|
3054
3065
|
$(d(Rr), null, {
|
|
3055
|
-
default:
|
|
3066
|
+
default: T(() => [
|
|
3056
3067
|
$(d(Yr), {
|
|
3057
3068
|
columns: d(a),
|
|
3058
3069
|
rows: t.rows,
|
|
3059
3070
|
"is-loading": t.isLoading,
|
|
3060
3071
|
"append-to": r.value
|
|
3061
3072
|
}, {
|
|
3062
|
-
"cell-homeTeamName":
|
|
3073
|
+
"cell-homeTeamName": T(({ row: s }) => {
|
|
3063
3074
|
var l;
|
|
3064
3075
|
return [
|
|
3065
3076
|
oe(w(((l = s.homeTeam) == null ? void 0 : l.longName) ?? ""), 1)
|
|
3066
3077
|
];
|
|
3067
3078
|
}),
|
|
3068
|
-
"cell-location":
|
|
3079
|
+
"cell-location": T(({ row: s }) => {
|
|
3069
3080
|
var l;
|
|
3070
3081
|
return [
|
|
3071
3082
|
oe(w(((l = s.location) == null ? void 0 : l.locationName) ?? ""), 1)
|
|
3072
3083
|
];
|
|
3073
3084
|
}),
|
|
3074
|
-
"cell-document":
|
|
3085
|
+
"cell-document": T(({ row: s }) => [
|
|
3075
3086
|
s.schedule ? (p(), _("a", {
|
|
3076
3087
|
key: 0,
|
|
3077
3088
|
href: s.schedule,
|
|
@@ -3110,15 +3121,15 @@ const cs = {
|
|
|
3110
3121
|
// },
|
|
3111
3122
|
},
|
|
3112
3123
|
setup(t) {
|
|
3113
|
-
const e = t, r = { en: ye, hu: we }, a = j(Fe()), o = A(() =>
|
|
3124
|
+
const e = t, r = { en: ye, hu: we }, a = j(Fe()), o = A(() => Ve(/* @__PURE__ */ new Date(), a.value, e.locale));
|
|
3114
3125
|
return (i, n) => (p(), G(d(fe), {
|
|
3115
3126
|
locale: e.locale,
|
|
3116
3127
|
messages: r
|
|
3117
3128
|
}, {
|
|
3118
|
-
default:
|
|
3119
|
-
$(d(
|
|
3120
|
-
default:
|
|
3121
|
-
l ? (p(), G(d(
|
|
3129
|
+
default: T(() => [
|
|
3130
|
+
$(d(Ne), null, {
|
|
3131
|
+
default: T(({ error: s, hasError: l }) => [
|
|
3132
|
+
l ? (p(), G(d(Te), {
|
|
3122
3133
|
key: 0,
|
|
3123
3134
|
error: s
|
|
3124
3135
|
}, null, 8, ["error"])) : M("", !0),
|
|
@@ -3127,12 +3138,12 @@ const cs = {
|
|
|
3127
3138
|
locale: t.locale,
|
|
3128
3139
|
timezone: a.value
|
|
3129
3140
|
}, {
|
|
3130
|
-
default:
|
|
3141
|
+
default: T(({ rows: c, isLoading: g, values: m, listeners: f }) => [
|
|
3131
3142
|
$(as, Ar(m, Er(f)), null, 16),
|
|
3132
3143
|
$(us, {
|
|
3133
3144
|
columns: d(ss),
|
|
3134
3145
|
rows: c.rows,
|
|
3135
|
-
"is-loading":
|
|
3146
|
+
"is-loading": g,
|
|
3136
3147
|
"offset-name": o.value
|
|
3137
3148
|
}, null, 8, ["columns", "rows", "is-loading", "offset-name"])
|
|
3138
3149
|
]),
|
|
@@ -3145,35 +3156,21 @@ const cs = {
|
|
|
3145
3156
|
_: 1
|
|
3146
3157
|
}, 8, ["locale"]));
|
|
3147
3158
|
}
|
|
3148
|
-
}, ms = /* @__PURE__ */ _e(ps, [["styles", [xe, Xe,
|
|
3159
|
+
}, ms = /* @__PURE__ */ _e(ps, [["styles", [xe, Xe, Qe, ur, pr, mr, vr]]]), vs = {
|
|
3149
3160
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3150
|
-
viewBox: "0 0 24 24"
|
|
3151
|
-
fill: "none",
|
|
3152
|
-
stroke: "currentColor",
|
|
3153
|
-
"stroke-width": "2",
|
|
3154
|
-
"stroke-linecap": "round",
|
|
3155
|
-
"stroke-linejoin": "round"
|
|
3161
|
+
viewBox: "0 0 24 24"
|
|
3156
3162
|
};
|
|
3157
3163
|
function bs(t, e) {
|
|
3158
3164
|
return p(), _("svg", vs, e[0] || (e[0] = [
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
r: "1"
|
|
3163
|
-
}, null, -1),
|
|
3164
|
-
g("circle", {
|
|
3165
|
-
cx: "12",
|
|
3166
|
-
cy: "5",
|
|
3167
|
-
r: "1"
|
|
3168
|
-
}, null, -1),
|
|
3169
|
-
g("circle", {
|
|
3170
|
-
cx: "12",
|
|
3171
|
-
cy: "19",
|
|
3172
|
-
r: "1"
|
|
3165
|
+
u("path", {
|
|
3166
|
+
fill: "currentColor",
|
|
3167
|
+
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
3173
3168
|
}, null, -1)
|
|
3174
3169
|
]));
|
|
3175
3170
|
}
|
|
3176
|
-
const hs = { render: bs }, fs = ["onClick", "onFocus", "onBlur"], ys = { class: "is-dropdown-menu" }, ws = ["onClick"], xs = {
|
|
3171
|
+
const hs = { render: bs }, fs = ["onClick", "onFocus", "onBlur"], ys = { class: "is-dropdown-menu" }, ws = ["onClick"], xs = /* @__PURE__ */ Object.assign({
|
|
3172
|
+
inheritAttrs: !1
|
|
3173
|
+
}, {
|
|
3177
3174
|
__name: "ChampionshipSelector",
|
|
3178
3175
|
props: {
|
|
3179
3176
|
data: {
|
|
@@ -3199,22 +3196,22 @@ const hs = { render: bs }, fs = ["onClick", "onFocus", "onBlur"], ys = { class:
|
|
|
3199
3196
|
"append-to": t.target,
|
|
3200
3197
|
"is-arrow-visible": !1
|
|
3201
3198
|
}, {
|
|
3202
|
-
default:
|
|
3203
|
-
|
|
3199
|
+
default: T(({ setRef: i, show: n, hide: s }) => [
|
|
3200
|
+
u("button", {
|
|
3204
3201
|
ref: i,
|
|
3205
3202
|
type: "button",
|
|
3206
3203
|
onClick: Dr(n, ["stop"]),
|
|
3207
3204
|
onFocus: n,
|
|
3208
3205
|
onBlur: s
|
|
3209
3206
|
}, [
|
|
3210
|
-
$(d(hs), { style: {
|
|
3207
|
+
$(d(hs), { style: { display: "block", height: "20px" } })
|
|
3211
3208
|
], 40, fs)
|
|
3212
3209
|
]),
|
|
3213
|
-
content:
|
|
3214
|
-
|
|
3215
|
-
(p(!0), _(R, null,
|
|
3210
|
+
content: T(() => [
|
|
3211
|
+
u("ul", ys, [
|
|
3212
|
+
(p(!0), _(R, null, H(t.data, (i) => (p(), _("li", {
|
|
3216
3213
|
key: i.championshipId,
|
|
3217
|
-
class:
|
|
3214
|
+
class: V(["is-dropdown-item", { "is-selected": t.selected === i.phaseId }]),
|
|
3218
3215
|
onClick: (n) => r("change", i)
|
|
3219
3216
|
}, w(i.name), 11, ws))), 128))
|
|
3220
3217
|
])
|
|
@@ -3222,9 +3219,9 @@ const hs = { render: bs }, fs = ["onClick", "onFocus", "onBlur"], ys = { class:
|
|
|
3222
3219
|
_: 1
|
|
3223
3220
|
}, 8, ["append-to"]));
|
|
3224
3221
|
}
|
|
3225
|
-
};
|
|
3222
|
+
});
|
|
3226
3223
|
function _s(t) {
|
|
3227
|
-
return t.map((e) => ({ ...e, w:
|
|
3224
|
+
return t.map((e) => ({ ...e, w: Gt([e.w, e.otw, e.sow]), l: Gt([e.l, e.otl, e.sol]) }));
|
|
3228
3225
|
}
|
|
3229
3226
|
const ks = {
|
|
3230
3227
|
__name: "DataProvider",
|
|
@@ -3239,7 +3236,7 @@ const ks = {
|
|
|
3239
3236
|
}
|
|
3240
3237
|
},
|
|
3241
3238
|
setup(t) {
|
|
3242
|
-
const e = t, r =
|
|
3239
|
+
const e = t, r = le({
|
|
3243
3240
|
championshipId: Z(e.data).championshipId,
|
|
3244
3241
|
phaseId: Z(e.data).phaseId,
|
|
3245
3242
|
championshipName: Z(e.data).name,
|
|
@@ -3254,13 +3251,13 @@ const ks = {
|
|
|
3254
3251
|
// onError,
|
|
3255
3252
|
});
|
|
3256
3253
|
i();
|
|
3257
|
-
const n = A(() =>
|
|
3258
|
-
function s({ championshipId: l, phaseId: c, name:
|
|
3259
|
-
r.championshipId = l, r.phaseId = c, r.championshipName =
|
|
3254
|
+
const n = A(() => Ke(a.value).addContinuousIndex().value());
|
|
3255
|
+
function s({ championshipId: l, phaseId: c, name: g, phase: m }) {
|
|
3256
|
+
r.championshipId = l, r.phaseId = c, r.championshipName = g, r.phaseName = m, i();
|
|
3260
3257
|
}
|
|
3261
3258
|
return (l, c) => ge(l.$slots, "default", $e(Ce({ convertedRows: n.value, isLoading: d(o), ...r, onChange: s })));
|
|
3262
3259
|
}
|
|
3263
|
-
}, zs =
|
|
3260
|
+
}, zs = ".standings-selector-title{display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:var(--vbr-widget-standings-selector-title-padding);text-transform:var(--vbr-widget-standings-selector-title-transform);font-size:var(--vbr-widget-standings-selector-title-size);color:var(--vbr-widget-standings-selector-title-color);background:var(--vbr-widget-standings-selector-title-bg-color)}.standings-selector dt{font-weight:700}", Ss = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', Is = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", $s = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Cs = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Ns = { class: "standings-selector" }, Ts = { class: "standings-selector-title" }, As = {
|
|
3264
3261
|
__name: "StandingsSelector.ce",
|
|
3265
3262
|
props: {
|
|
3266
3263
|
locale: {
|
|
@@ -3272,39 +3269,38 @@ const ks = {
|
|
|
3272
3269
|
default: ""
|
|
3273
3270
|
},
|
|
3274
3271
|
data: {
|
|
3275
|
-
type: Array,
|
|
3272
|
+
type: [Array, String],
|
|
3276
3273
|
default: () => []
|
|
3277
3274
|
}
|
|
3278
3275
|
},
|
|
3279
3276
|
setup(t) {
|
|
3280
|
-
const e = t, r = { en: ye, hu: we }, a = j(null);
|
|
3281
|
-
return (
|
|
3277
|
+
const e = t, r = { en: ye, hu: we }, a = j(null), o = A(() => typeof e.data == "string" ? JSON.parse(e.data) : e.data);
|
|
3278
|
+
return (i, n) => (p(), G(d(fe), {
|
|
3282
3279
|
locale: e.locale,
|
|
3283
3280
|
messages: r
|
|
3284
3281
|
}, {
|
|
3285
|
-
default:
|
|
3286
|
-
$(d(
|
|
3287
|
-
default:
|
|
3288
|
-
l ? (p(), G(d(
|
|
3282
|
+
default: T(() => [
|
|
3283
|
+
$(d(Ne), null, {
|
|
3284
|
+
default: T(({ error: s, hasError: l }) => [
|
|
3285
|
+
l ? (p(), G(d(Te), {
|
|
3289
3286
|
key: 0,
|
|
3290
3287
|
error: s
|
|
3291
3288
|
}, null, 8, ["error"])) : M("", !0),
|
|
3292
|
-
$(ks, { data:
|
|
3293
|
-
default:
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3289
|
+
$(ks, { data: o.value }, {
|
|
3290
|
+
default: T(({ convertedRows: c, isLoading: g, phaseName: m, championshipName: f, phaseId: v, onChange: S }) => [
|
|
3291
|
+
u("div", Ns, [
|
|
3292
|
+
u("dl", Ts, [
|
|
3293
|
+
u("dt", null, w(f), 1),
|
|
3294
|
+
u("dd", null, " - " + w(m), 1),
|
|
3298
3295
|
$(xs, {
|
|
3299
|
-
|
|
3300
|
-
data: t.data,
|
|
3296
|
+
data: o.value,
|
|
3301
3297
|
selected: v,
|
|
3302
3298
|
target: a.value,
|
|
3303
3299
|
onChange: S
|
|
3304
3300
|
}, null, 8, ["data", "selected", "target", "onChange"])
|
|
3305
3301
|
]),
|
|
3306
|
-
$(d(
|
|
3307
|
-
"is-loading":
|
|
3302
|
+
$(d(Jt), {
|
|
3303
|
+
"is-loading": g,
|
|
3308
3304
|
columns: d(jr),
|
|
3309
3305
|
rows: c.rows,
|
|
3310
3306
|
"append-to": a.value,
|
|
@@ -3320,40 +3316,40 @@ const ks = {
|
|
|
3320
3316
|
"additional-key": "penaltyPoints"
|
|
3321
3317
|
}, null, 8, ["rows"])
|
|
3322
3318
|
]),
|
|
3323
|
-
|
|
3319
|
+
u("div", {
|
|
3324
3320
|
ref_key: "tooltipContainer",
|
|
3325
3321
|
ref: a
|
|
3326
3322
|
}, null, 512)
|
|
3327
3323
|
]),
|
|
3328
|
-
_:
|
|
3329
|
-
},
|
|
3324
|
+
_: 1
|
|
3325
|
+
}, 8, ["data"])
|
|
3330
3326
|
]),
|
|
3331
|
-
_:
|
|
3332
|
-
}
|
|
3327
|
+
_: 1
|
|
3328
|
+
})
|
|
3333
3329
|
]),
|
|
3334
3330
|
_: 1
|
|
3335
3331
|
}, 8, ["locale"]));
|
|
3336
3332
|
}
|
|
3337
|
-
},
|
|
3338
|
-
function
|
|
3339
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3333
|
+
}, Es = /* @__PURE__ */ _e(As, [["styles", [xe, zs, Ss, Is, $s, Cs]]]), Ds = he(ui), Ls = he(Ri), Ps = he(ms), Ms = he(Qn), js = he(_n), Os = he(Es);
|
|
3334
|
+
function Gs() {
|
|
3335
|
+
customElements.define("mjsz-vbr-calendar", Ds), customElements.define("mjsz-vbr-championship", Ls), customElements.define("mjsz-vbr-schedule-cup", Ps), customElements.define("mjsz-vbr-ibr-identifiers", Ms), customElements.define("mjsz-vbr-games-timeline", js), customElements.define("mjsz-vbr-standings-selector", Os);
|
|
3340
3336
|
}
|
|
3341
|
-
const
|
|
3342
|
-
install: () =>
|
|
3337
|
+
const qs = {
|
|
3338
|
+
install: () => Gs()
|
|
3343
3339
|
};
|
|
3344
3340
|
export {
|
|
3345
3341
|
ui as Calendar,
|
|
3346
|
-
|
|
3342
|
+
Ds as CalendarCE,
|
|
3347
3343
|
Ri as Championship,
|
|
3348
|
-
|
|
3344
|
+
Ls as ChampionshipCE,
|
|
3349
3345
|
_n as GamesTimeline,
|
|
3350
|
-
|
|
3346
|
+
js as GamesTimelineCE,
|
|
3351
3347
|
Qn as IVRIdentifiers,
|
|
3352
|
-
|
|
3348
|
+
Ms as IVRIdentifiersCE,
|
|
3353
3349
|
ms as ScheduleCup,
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3350
|
+
Ps as ScheduleCupCE,
|
|
3351
|
+
Es as StandingsSelector,
|
|
3352
|
+
Os as StandingsSelectorCE,
|
|
3353
|
+
qs as default,
|
|
3354
|
+
Gs as register
|
|
3359
3355
|
};
|