@mjsz-vbr-elements/core 2.3.7 → 2.4.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/{AdditionalStandingsText-BcHECtG0.js → AdditionalStandingsText-DlP-tdH1.js} +881 -778
- package/dist/columns.js +1 -1
- package/dist/components.js +13 -12
- package/dist/composables.js +37 -41
- package/dist/constants.js +1 -1
- package/dist/{convert-HKQt4kO3.js → convert-BUiKPu9l.js} +186 -203
- package/dist/datetime-Df9jKQTx.js +1303 -0
- package/dist/index.iife.js +4 -4
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +101 -88
- package/dist/{useAdditionalText-Ta-GUW7T.js → useAdditionalText-Bi2CUi4-.js} +232 -228
- package/dist/utils.js +60 -48
- package/package.json +9 -8
- package/dist/datetime-BD_lSSC2.js +0 -1230
|
@@ -1,17 +1,105 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.4.0 - 06/06/2024, 12:35:57
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { computed as
|
|
9
|
-
import { f as q, o as
|
|
10
|
-
import {
|
|
11
|
-
import { LAZY_LOADING_STATE_DELAY as
|
|
12
|
-
import {
|
|
13
|
-
import { COLUMNS_SCHEDULE as
|
|
14
|
-
|
|
8
|
+
import { computed as $, ref as C, watch as Ot, getCurrentScope as we, onScopeDispose as be, unref as u, getCurrentInstance as xe, onMounted as Te, defineComponent as Zt, onUnmounted as ke, h as Pe, withDirectives as Se, openBlock as v, createElementBlock as b, normalizeClass as z, renderSlot as R, vModelSelect as _e, createElementVNode as w, isRef as Ae, Fragment as M, normalizeStyle as Bt, createVNode as G, Transition as ze, withCtx as k, createTextVNode as D, toDisplayString as T, createCommentVNode as _, toRefs as It, renderList as tt, createBlock as I, withKeys as Ft, withModifiers as it, createSlots as $e, toRef as Ce } from "vue";
|
|
9
|
+
import { f as q, o as Oe, e as Ge, d as Z, a as Ee, c as Ie, j as Re, n as Ne, i as Le, b as Qt, u as te, w as Ve, h as De } from "./useAdditionalText-Bi2CUi4-.js";
|
|
10
|
+
import { J as ee, K as vt, z as Ht, C as Me, o as wt, g as Be } from "./datetime-Df9jKQTx.js";
|
|
11
|
+
import { LAZY_LOADING_STATE_DELAY as Fe, SORT_STATE_ORIGINAL as At, SORT_STATE_DESCEND as jt, SORT_STATE_ASCEND as Wt, AVAILABLE_TIMEZONES_BY_COUNTRY as He, DEFAULT_PORTRAIT_IMAGE_URL as je } from "./constants.js";
|
|
12
|
+
import { m as We, W as oe, U as xt } from "./convert-BUiKPu9l.js";
|
|
13
|
+
import { COLUMNS_SCHEDULE as Ke } from "./columns.js";
|
|
14
|
+
function Ue(t) {
|
|
15
|
+
return we() ? (be(t), !0) : !1;
|
|
16
|
+
}
|
|
17
|
+
function ne(t) {
|
|
18
|
+
return typeof t == "function" ? t() : u(t);
|
|
19
|
+
}
|
|
20
|
+
const Ye = typeof window < "u" && typeof document < "u";
|
|
21
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
22
|
+
const qe = (t) => t != null, zt = () => {
|
|
23
|
+
};
|
|
24
|
+
function $t(t) {
|
|
25
|
+
var e;
|
|
26
|
+
const o = ne(t);
|
|
27
|
+
return (e = o == null ? void 0 : o.$el) != null ? e : o;
|
|
28
|
+
}
|
|
29
|
+
const Je = Ye ? window : void 0;
|
|
30
|
+
function Xe() {
|
|
31
|
+
const t = C(!1);
|
|
32
|
+
return xe() && Te(() => {
|
|
33
|
+
t.value = !0;
|
|
34
|
+
}), t;
|
|
35
|
+
}
|
|
36
|
+
function Ze(t) {
|
|
37
|
+
const e = Xe();
|
|
38
|
+
return $(() => (e.value, !!t()));
|
|
39
|
+
}
|
|
40
|
+
function Qe(t, e, o = {}) {
|
|
41
|
+
const {
|
|
42
|
+
root: n,
|
|
43
|
+
rootMargin: r = "0px",
|
|
44
|
+
threshold: s = 0.1,
|
|
45
|
+
window: i = Je,
|
|
46
|
+
immediate: c = !0
|
|
47
|
+
} = o, m = Ze(() => i && "IntersectionObserver" in i), d = $(() => {
|
|
48
|
+
const a = ne(t);
|
|
49
|
+
return (Array.isArray(a) ? a : [a]).map($t).filter(qe);
|
|
50
|
+
});
|
|
51
|
+
let l = zt;
|
|
52
|
+
const f = C(c), y = m.value ? Ot(
|
|
53
|
+
() => [d.value, $t(n), f.value],
|
|
54
|
+
([a, p]) => {
|
|
55
|
+
if (l(), !f.value || !a.length)
|
|
56
|
+
return;
|
|
57
|
+
const h = new IntersectionObserver(
|
|
58
|
+
e,
|
|
59
|
+
{
|
|
60
|
+
root: $t(p),
|
|
61
|
+
rootMargin: r,
|
|
62
|
+
threshold: s
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
a.forEach((x) => x && h.observe(x)), l = () => {
|
|
66
|
+
h.disconnect(), l = zt;
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
{ immediate: c, flush: "post" }
|
|
70
|
+
) : zt, g = () => {
|
|
71
|
+
l(), y(), f.value = !1;
|
|
72
|
+
};
|
|
73
|
+
return Ue(g), {
|
|
74
|
+
isSupported: m,
|
|
75
|
+
isActive: f,
|
|
76
|
+
pause() {
|
|
77
|
+
l(), f.value = !1;
|
|
78
|
+
},
|
|
79
|
+
resume() {
|
|
80
|
+
f.value = !0;
|
|
81
|
+
},
|
|
82
|
+
stop: g
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
const Tr = Zt({
|
|
86
|
+
name: "FetchMoreObserver",
|
|
87
|
+
props: ["as", "options"],
|
|
88
|
+
emits: ["intersect"],
|
|
89
|
+
setup(t, { slots: e, emit: o }) {
|
|
90
|
+
const n = C(null), { stop: r } = Qe(
|
|
91
|
+
n,
|
|
92
|
+
([{ isIntersecting: s }]) => {
|
|
93
|
+
s && o("intersect");
|
|
94
|
+
},
|
|
95
|
+
t.options
|
|
96
|
+
);
|
|
97
|
+
return ke(r), () => {
|
|
98
|
+
if (e.default)
|
|
99
|
+
return Pe(t.as || "div", { ref: n }, e.default());
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
}), to = {
|
|
15
103
|
__name: "BaseSelect",
|
|
16
104
|
props: {
|
|
17
105
|
modelValue: {
|
|
@@ -21,35 +109,35 @@ const Le = {
|
|
|
21
109
|
},
|
|
22
110
|
emits: ["update:modelValue"],
|
|
23
111
|
setup(t, { emit: e }) {
|
|
24
|
-
const o = t, n = e,
|
|
25
|
-
return (
|
|
112
|
+
const o = t, n = e, r = q("base-input"), s = $({ get: () => o.modelValue, set: (i) => n("update:modelValue", i) });
|
|
113
|
+
return (i, c) => Se((v(), b("select", {
|
|
26
114
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => s.value = m),
|
|
27
|
-
class: z([u(
|
|
115
|
+
class: z([u(r), "is-select"])
|
|
28
116
|
}, [
|
|
29
|
-
|
|
117
|
+
R(i.$slots, "default")
|
|
30
118
|
], 2)), [
|
|
31
|
-
[
|
|
119
|
+
[_e, s.value]
|
|
32
120
|
]);
|
|
33
121
|
}
|
|
34
122
|
};
|
|
35
|
-
var
|
|
36
|
-
var
|
|
123
|
+
var eo = /* @__PURE__ */ ee(function(e, o, n) {
|
|
124
|
+
var r = {}, s;
|
|
37
125
|
o = o || {}, n = n || {};
|
|
38
126
|
for (s in o)
|
|
39
|
-
|
|
127
|
+
vt(s, o) && (r[s] = vt(s, n) ? e(s, o[s], n[s]) : o[s]);
|
|
40
128
|
for (s in n)
|
|
41
|
-
|
|
42
|
-
return
|
|
43
|
-
}),
|
|
44
|
-
return
|
|
45
|
-
return
|
|
129
|
+
vt(s, n) && !vt(s, r) && (r[s] = n[s]);
|
|
130
|
+
return r;
|
|
131
|
+
}), oo = /* @__PURE__ */ ee(function t(e, o, n) {
|
|
132
|
+
return eo(function(r, s, i) {
|
|
133
|
+
return Ht(s) && Ht(i) ? t(e, s, i) : e(r, s, i);
|
|
46
134
|
}, o, n);
|
|
47
|
-
}),
|
|
48
|
-
return
|
|
135
|
+
}), no = /* @__PURE__ */ Me(function(e, o) {
|
|
136
|
+
return oo(function(n, r, s) {
|
|
49
137
|
return s;
|
|
50
138
|
}, e, o);
|
|
51
139
|
});
|
|
52
|
-
const
|
|
140
|
+
const so = {
|
|
53
141
|
"aria-hidden": "true",
|
|
54
142
|
focusable: "false",
|
|
55
143
|
"data-prefix": "fas",
|
|
@@ -58,16 +146,16 @@ const Be = Me, He = {
|
|
|
58
146
|
role: "img",
|
|
59
147
|
xmlns: "http://www.w3.org/2000/svg",
|
|
60
148
|
viewBox: "0 0 320 512"
|
|
61
|
-
},
|
|
149
|
+
}, ro = /* @__PURE__ */ w("path", {
|
|
62
150
|
fill: "currentColor",
|
|
63
151
|
d: "M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"
|
|
64
|
-
}, null, -1),
|
|
65
|
-
|
|
152
|
+
}, null, -1), io = [
|
|
153
|
+
ro
|
|
66
154
|
];
|
|
67
|
-
function
|
|
68
|
-
return v(), b("svg",
|
|
155
|
+
function ao(t, e) {
|
|
156
|
+
return v(), b("svg", so, [...io]);
|
|
69
157
|
}
|
|
70
|
-
const
|
|
158
|
+
const Kt = { render: ao }, lo = {
|
|
71
159
|
"aria-hidden": "true",
|
|
72
160
|
focusable: "false",
|
|
73
161
|
"data-prefix": "fas",
|
|
@@ -76,16 +164,16 @@ const Ht = { render: We }, Ke = {
|
|
|
76
164
|
role: "img",
|
|
77
165
|
xmlns: "http://www.w3.org/2000/svg",
|
|
78
166
|
viewBox: "0 0 320 512"
|
|
79
|
-
},
|
|
167
|
+
}, co = /* @__PURE__ */ w("path", {
|
|
80
168
|
fill: "currentColor",
|
|
81
169
|
d: "M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"
|
|
82
|
-
}, null, -1),
|
|
83
|
-
|
|
170
|
+
}, null, -1), uo = [
|
|
171
|
+
co
|
|
84
172
|
];
|
|
85
|
-
function
|
|
86
|
-
return v(), b("svg",
|
|
173
|
+
function mo(t, e) {
|
|
174
|
+
return v(), b("svg", lo, [...uo]);
|
|
87
175
|
}
|
|
88
|
-
const
|
|
176
|
+
const fo = { render: mo }, po = {
|
|
89
177
|
"aria-hidden": "true",
|
|
90
178
|
focusable: "false",
|
|
91
179
|
"data-prefix": "fas",
|
|
@@ -94,86 +182,86 @@ const Je = { render: qe }, Xe = {
|
|
|
94
182
|
role: "img",
|
|
95
183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
96
184
|
viewBox: "0 0 320 512"
|
|
97
|
-
},
|
|
185
|
+
}, ho = /* @__PURE__ */ w("path", {
|
|
98
186
|
fill: "currentColor",
|
|
99
187
|
d: "M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"
|
|
100
|
-
}, null, -1),
|
|
101
|
-
|
|
188
|
+
}, null, -1), go = [
|
|
189
|
+
ho
|
|
102
190
|
];
|
|
103
|
-
function
|
|
104
|
-
return v(), b("svg",
|
|
191
|
+
function yo(t, e) {
|
|
192
|
+
return v(), b("svg", po, [...go]);
|
|
105
193
|
}
|
|
106
|
-
const
|
|
194
|
+
const vo = { render: yo }, at = Math.min, et = Math.max, Tt = Math.round, bt = Math.floor, J = (t) => ({
|
|
107
195
|
x: t,
|
|
108
196
|
y: t
|
|
109
|
-
}),
|
|
197
|
+
}), wo = {
|
|
110
198
|
left: "right",
|
|
111
199
|
right: "left",
|
|
112
200
|
bottom: "top",
|
|
113
201
|
top: "bottom"
|
|
114
|
-
},
|
|
202
|
+
}, bo = {
|
|
115
203
|
start: "end",
|
|
116
204
|
end: "start"
|
|
117
205
|
};
|
|
118
|
-
function
|
|
119
|
-
return et(t,
|
|
206
|
+
function Gt(t, e, o) {
|
|
207
|
+
return et(t, at(e, o));
|
|
120
208
|
}
|
|
121
|
-
function
|
|
209
|
+
function ht(t, e) {
|
|
122
210
|
return typeof t == "function" ? t(e) : t;
|
|
123
211
|
}
|
|
124
212
|
function ot(t) {
|
|
125
213
|
return t.split("-")[0];
|
|
126
214
|
}
|
|
127
|
-
function
|
|
215
|
+
function gt(t) {
|
|
128
216
|
return t.split("-")[1];
|
|
129
217
|
}
|
|
130
|
-
function
|
|
218
|
+
function se(t) {
|
|
131
219
|
return t === "x" ? "y" : "x";
|
|
132
220
|
}
|
|
133
|
-
function
|
|
221
|
+
function Rt(t) {
|
|
134
222
|
return t === "y" ? "height" : "width";
|
|
135
223
|
}
|
|
136
|
-
function
|
|
224
|
+
function St(t) {
|
|
137
225
|
return ["top", "bottom"].includes(ot(t)) ? "y" : "x";
|
|
138
226
|
}
|
|
139
|
-
function
|
|
140
|
-
return
|
|
227
|
+
function Nt(t) {
|
|
228
|
+
return se(St(t));
|
|
141
229
|
}
|
|
142
|
-
function
|
|
230
|
+
function xo(t, e, o) {
|
|
143
231
|
o === void 0 && (o = !1);
|
|
144
|
-
const n =
|
|
145
|
-
let
|
|
146
|
-
return e.reference[s] > e.floating[s] && (
|
|
232
|
+
const n = gt(t), r = Nt(t), s = Rt(r);
|
|
233
|
+
let i = r === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
234
|
+
return e.reference[s] > e.floating[s] && (i = kt(i)), [i, kt(i)];
|
|
147
235
|
}
|
|
148
|
-
function
|
|
149
|
-
const e =
|
|
150
|
-
return [
|
|
236
|
+
function To(t) {
|
|
237
|
+
const e = kt(t);
|
|
238
|
+
return [Et(t), e, Et(e)];
|
|
151
239
|
}
|
|
152
|
-
function
|
|
153
|
-
return t.replace(/start|end/g, (e) =>
|
|
240
|
+
function Et(t) {
|
|
241
|
+
return t.replace(/start|end/g, (e) => bo[e]);
|
|
154
242
|
}
|
|
155
|
-
function
|
|
156
|
-
const n = ["left", "right"],
|
|
243
|
+
function ko(t, e, o) {
|
|
244
|
+
const n = ["left", "right"], r = ["right", "left"], s = ["top", "bottom"], i = ["bottom", "top"];
|
|
157
245
|
switch (t) {
|
|
158
246
|
case "top":
|
|
159
247
|
case "bottom":
|
|
160
|
-
return o ? e ?
|
|
248
|
+
return o ? e ? r : n : e ? n : r;
|
|
161
249
|
case "left":
|
|
162
250
|
case "right":
|
|
163
|
-
return e ? s :
|
|
251
|
+
return e ? s : i;
|
|
164
252
|
default:
|
|
165
253
|
return [];
|
|
166
254
|
}
|
|
167
255
|
}
|
|
168
|
-
function
|
|
169
|
-
const
|
|
170
|
-
let s =
|
|
171
|
-
return
|
|
256
|
+
function Po(t, e, o, n) {
|
|
257
|
+
const r = gt(t);
|
|
258
|
+
let s = ko(ot(t), o === "start", n);
|
|
259
|
+
return r && (s = s.map((i) => i + "-" + r), e && (s = s.concat(s.map(Et)))), s;
|
|
172
260
|
}
|
|
173
|
-
function
|
|
174
|
-
return t.replace(/left|right|bottom|top/g, (e) =>
|
|
261
|
+
function kt(t) {
|
|
262
|
+
return t.replace(/left|right|bottom|top/g, (e) => wo[e]);
|
|
175
263
|
}
|
|
176
|
-
function
|
|
264
|
+
function So(t) {
|
|
177
265
|
return {
|
|
178
266
|
top: 0,
|
|
179
267
|
right: 0,
|
|
@@ -182,15 +270,15 @@ function lo(t) {
|
|
|
182
270
|
...t
|
|
183
271
|
};
|
|
184
272
|
}
|
|
185
|
-
function
|
|
186
|
-
return typeof t != "number" ?
|
|
273
|
+
function re(t) {
|
|
274
|
+
return typeof t != "number" ? So(t) : {
|
|
187
275
|
top: t,
|
|
188
276
|
right: t,
|
|
189
277
|
bottom: t,
|
|
190
278
|
left: t
|
|
191
279
|
};
|
|
192
280
|
}
|
|
193
|
-
function
|
|
281
|
+
function Pt(t) {
|
|
194
282
|
return {
|
|
195
283
|
...t,
|
|
196
284
|
top: t.y,
|
|
@@ -199,18 +287,18 @@ function kt(t) {
|
|
|
199
287
|
bottom: t.y + t.height
|
|
200
288
|
};
|
|
201
289
|
}
|
|
202
|
-
function
|
|
290
|
+
function Ut(t, e, o) {
|
|
203
291
|
let {
|
|
204
292
|
reference: n,
|
|
205
|
-
floating:
|
|
293
|
+
floating: r
|
|
206
294
|
} = t;
|
|
207
|
-
const s =
|
|
295
|
+
const s = St(e), i = Nt(e), c = Rt(i), m = ot(e), d = s === "y", l = n.x + n.width / 2 - r.width / 2, f = n.y + n.height / 2 - r.height / 2, y = n[c] / 2 - r[c] / 2;
|
|
208
296
|
let g;
|
|
209
297
|
switch (m) {
|
|
210
298
|
case "top":
|
|
211
299
|
g = {
|
|
212
300
|
x: l,
|
|
213
|
-
y: n.y -
|
|
301
|
+
y: n.y - r.height
|
|
214
302
|
};
|
|
215
303
|
break;
|
|
216
304
|
case "bottom":
|
|
@@ -222,13 +310,13 @@ function Ft(t, e, o) {
|
|
|
222
310
|
case "right":
|
|
223
311
|
g = {
|
|
224
312
|
x: n.x + n.width,
|
|
225
|
-
y:
|
|
313
|
+
y: f
|
|
226
314
|
};
|
|
227
315
|
break;
|
|
228
316
|
case "left":
|
|
229
317
|
g = {
|
|
230
|
-
x: n.x -
|
|
231
|
-
y:
|
|
318
|
+
x: n.x - r.width,
|
|
319
|
+
y: f
|
|
232
320
|
};
|
|
233
321
|
break;
|
|
234
322
|
default:
|
|
@@ -237,220 +325,220 @@ function Ft(t, e, o) {
|
|
|
237
325
|
y: n.y
|
|
238
326
|
};
|
|
239
327
|
}
|
|
240
|
-
switch (
|
|
328
|
+
switch (gt(e)) {
|
|
241
329
|
case "start":
|
|
242
|
-
g[
|
|
330
|
+
g[i] -= y * (o && d ? -1 : 1);
|
|
243
331
|
break;
|
|
244
332
|
case "end":
|
|
245
|
-
g[
|
|
333
|
+
g[i] += y * (o && d ? -1 : 1);
|
|
246
334
|
break;
|
|
247
335
|
}
|
|
248
336
|
return g;
|
|
249
337
|
}
|
|
250
|
-
const
|
|
338
|
+
const _o = async (t, e, o) => {
|
|
251
339
|
const {
|
|
252
340
|
placement: n = "bottom",
|
|
253
|
-
strategy:
|
|
341
|
+
strategy: r = "absolute",
|
|
254
342
|
middleware: s = [],
|
|
255
|
-
platform:
|
|
256
|
-
} = o, c = s.filter(Boolean), m = await (
|
|
257
|
-
let d = await
|
|
343
|
+
platform: i
|
|
344
|
+
} = o, c = s.filter(Boolean), m = await (i.isRTL == null ? void 0 : i.isRTL(e));
|
|
345
|
+
let d = await i.getElementRects({
|
|
258
346
|
reference: t,
|
|
259
347
|
floating: e,
|
|
260
|
-
strategy:
|
|
348
|
+
strategy: r
|
|
261
349
|
}), {
|
|
262
350
|
x: l,
|
|
263
|
-
y:
|
|
264
|
-
} =
|
|
265
|
-
for (let
|
|
351
|
+
y: f
|
|
352
|
+
} = Ut(d, n, m), y = n, g = {}, a = 0;
|
|
353
|
+
for (let p = 0; p < c.length; p++) {
|
|
266
354
|
const {
|
|
267
355
|
name: h,
|
|
268
356
|
fn: x
|
|
269
|
-
} = c[
|
|
357
|
+
} = c[p], {
|
|
270
358
|
x: P,
|
|
271
359
|
y: S,
|
|
272
|
-
data:
|
|
360
|
+
data: O,
|
|
273
361
|
reset: A
|
|
274
362
|
} = await x({
|
|
275
363
|
x: l,
|
|
276
|
-
y:
|
|
364
|
+
y: f,
|
|
277
365
|
initialPlacement: n,
|
|
278
366
|
placement: y,
|
|
279
|
-
strategy:
|
|
367
|
+
strategy: r,
|
|
280
368
|
middlewareData: g,
|
|
281
369
|
rects: d,
|
|
282
|
-
platform:
|
|
370
|
+
platform: i,
|
|
283
371
|
elements: {
|
|
284
372
|
reference: t,
|
|
285
373
|
floating: e
|
|
286
374
|
}
|
|
287
375
|
});
|
|
288
|
-
l = P ?? l,
|
|
376
|
+
l = P ?? l, f = S ?? f, g = {
|
|
289
377
|
...g,
|
|
290
378
|
[h]: {
|
|
291
379
|
...g[h],
|
|
292
|
-
|
|
380
|
+
...O
|
|
293
381
|
}
|
|
294
|
-
}, A &&
|
|
382
|
+
}, A && a <= 50 && (a++, typeof A == "object" && (A.placement && (y = A.placement), A.rects && (d = A.rects === !0 ? await i.getElementRects({
|
|
295
383
|
reference: t,
|
|
296
384
|
floating: e,
|
|
297
|
-
strategy:
|
|
385
|
+
strategy: r
|
|
298
386
|
}) : A.rects), {
|
|
299
387
|
x: l,
|
|
300
|
-
y:
|
|
301
|
-
} =
|
|
388
|
+
y: f
|
|
389
|
+
} = Ut(d, y, m)), p = -1);
|
|
302
390
|
}
|
|
303
391
|
return {
|
|
304
392
|
x: l,
|
|
305
|
-
y:
|
|
393
|
+
y: f,
|
|
306
394
|
placement: y,
|
|
307
|
-
strategy:
|
|
395
|
+
strategy: r,
|
|
308
396
|
middlewareData: g
|
|
309
397
|
};
|
|
310
398
|
};
|
|
311
|
-
async function
|
|
399
|
+
async function ie(t, e) {
|
|
312
400
|
var o;
|
|
313
401
|
e === void 0 && (e = {});
|
|
314
402
|
const {
|
|
315
403
|
x: n,
|
|
316
|
-
y:
|
|
404
|
+
y: r,
|
|
317
405
|
platform: s,
|
|
318
|
-
rects:
|
|
406
|
+
rects: i,
|
|
319
407
|
elements: c,
|
|
320
408
|
strategy: m
|
|
321
409
|
} = t, {
|
|
322
410
|
boundary: d = "clippingAncestors",
|
|
323
411
|
rootBoundary: l = "viewport",
|
|
324
|
-
elementContext:
|
|
412
|
+
elementContext: f = "floating",
|
|
325
413
|
altBoundary: y = !1,
|
|
326
414
|
padding: g = 0
|
|
327
|
-
} =
|
|
415
|
+
} = ht(e, t), a = re(g), h = c[y ? f === "floating" ? "reference" : "floating" : f], x = Pt(await s.getClippingRect({
|
|
328
416
|
element: (o = await (s.isElement == null ? void 0 : s.isElement(h))) == null || o ? h : h.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
|
|
329
417
|
boundary: d,
|
|
330
418
|
rootBoundary: l,
|
|
331
419
|
strategy: m
|
|
332
|
-
})), P =
|
|
333
|
-
...
|
|
420
|
+
})), P = f === "floating" ? {
|
|
421
|
+
...i.floating,
|
|
334
422
|
x: n,
|
|
335
|
-
y:
|
|
336
|
-
} :
|
|
423
|
+
y: r
|
|
424
|
+
} : i.reference, S = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), O = await (s.isElement == null ? void 0 : s.isElement(S)) ? await (s.getScale == null ? void 0 : s.getScale(S)) || {
|
|
337
425
|
x: 1,
|
|
338
426
|
y: 1
|
|
339
427
|
} : {
|
|
340
428
|
x: 1,
|
|
341
429
|
y: 1
|
|
342
|
-
}, A =
|
|
430
|
+
}, A = Pt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
343
431
|
elements: c,
|
|
344
432
|
rect: P,
|
|
345
433
|
offsetParent: S,
|
|
346
434
|
strategy: m
|
|
347
435
|
}) : P);
|
|
348
436
|
return {
|
|
349
|
-
top: (x.top - A.top +
|
|
350
|
-
bottom: (A.bottom - x.bottom +
|
|
351
|
-
left: (x.left - A.left +
|
|
352
|
-
right: (A.right - x.right +
|
|
437
|
+
top: (x.top - A.top + a.top) / O.y,
|
|
438
|
+
bottom: (A.bottom - x.bottom + a.bottom) / O.y,
|
|
439
|
+
left: (x.left - A.left + a.left) / O.x,
|
|
440
|
+
right: (A.right - x.right + a.right) / O.x
|
|
353
441
|
};
|
|
354
442
|
}
|
|
355
|
-
const
|
|
443
|
+
const Ao = (t) => ({
|
|
356
444
|
name: "arrow",
|
|
357
445
|
options: t,
|
|
358
446
|
async fn(e) {
|
|
359
447
|
const {
|
|
360
448
|
x: o,
|
|
361
449
|
y: n,
|
|
362
|
-
placement:
|
|
450
|
+
placement: r,
|
|
363
451
|
rects: s,
|
|
364
|
-
platform:
|
|
452
|
+
platform: i,
|
|
365
453
|
elements: c,
|
|
366
454
|
middlewareData: m
|
|
367
455
|
} = e, {
|
|
368
456
|
element: d,
|
|
369
457
|
padding: l = 0
|
|
370
|
-
} =
|
|
458
|
+
} = ht(t, e) || {};
|
|
371
459
|
if (d == null)
|
|
372
460
|
return {};
|
|
373
|
-
const
|
|
461
|
+
const f = re(l), y = {
|
|
374
462
|
x: o,
|
|
375
463
|
y: n
|
|
376
|
-
}, g =
|
|
377
|
-
let
|
|
378
|
-
(!
|
|
379
|
-
const Q =
|
|
464
|
+
}, g = Nt(r), a = Rt(g), p = await i.getDimensions(d), h = g === "y", x = h ? "top" : "left", P = h ? "bottom" : "right", S = h ? "clientHeight" : "clientWidth", O = s.reference[a] + s.reference[g] - y[g] - s.floating[a], A = y[g] - s.reference[g], V = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
|
|
465
|
+
let F = V ? V[S] : 0;
|
|
466
|
+
(!F || !await (i.isElement == null ? void 0 : i.isElement(V))) && (F = c.floating[S] || s.floating[a]);
|
|
467
|
+
const Q = O / 2 - A / 2, dt = F / 2 - p[a] / 2 - 1, ut = at(f[x], dt), mt = at(f[P], dt), L = ut, ft = F - p[a] - mt, E = F / 2 - p[a] / 2 + Q, H = Gt(L, E, ft), j = !m.arrow && gt(r) != null && E !== H && s.reference[a] / 2 - (E < L ? ut : mt) - p[a] / 2 < 0, U = j ? E < L ? E - L : E - ft : 0;
|
|
380
468
|
return {
|
|
381
|
-
[g]: y[g] +
|
|
469
|
+
[g]: y[g] + U,
|
|
382
470
|
data: {
|
|
383
|
-
[g]:
|
|
384
|
-
centerOffset: E -
|
|
471
|
+
[g]: H,
|
|
472
|
+
centerOffset: E - H - U,
|
|
385
473
|
...j && {
|
|
386
|
-
alignmentOffset:
|
|
474
|
+
alignmentOffset: U
|
|
387
475
|
}
|
|
388
476
|
},
|
|
389
477
|
reset: j
|
|
390
478
|
};
|
|
391
479
|
}
|
|
392
|
-
}),
|
|
480
|
+
}), zo = function(t) {
|
|
393
481
|
return t === void 0 && (t = {}), {
|
|
394
482
|
name: "flip",
|
|
395
483
|
options: t,
|
|
396
484
|
async fn(e) {
|
|
397
485
|
var o, n;
|
|
398
486
|
const {
|
|
399
|
-
placement:
|
|
487
|
+
placement: r,
|
|
400
488
|
middlewareData: s,
|
|
401
|
-
rects:
|
|
489
|
+
rects: i,
|
|
402
490
|
initialPlacement: c,
|
|
403
491
|
platform: m,
|
|
404
492
|
elements: d
|
|
405
493
|
} = e, {
|
|
406
494
|
mainAxis: l = !0,
|
|
407
|
-
crossAxis:
|
|
495
|
+
crossAxis: f = !0,
|
|
408
496
|
fallbackPlacements: y,
|
|
409
497
|
fallbackStrategy: g = "bestFit",
|
|
410
|
-
fallbackAxisSideDirection:
|
|
411
|
-
flipAlignment:
|
|
498
|
+
fallbackAxisSideDirection: a = "none",
|
|
499
|
+
flipAlignment: p = !0,
|
|
412
500
|
...h
|
|
413
|
-
} =
|
|
501
|
+
} = ht(t, e);
|
|
414
502
|
if ((o = s.arrow) != null && o.alignmentOffset)
|
|
415
503
|
return {};
|
|
416
|
-
const x = ot(
|
|
417
|
-
!y &&
|
|
418
|
-
const A = [c,
|
|
504
|
+
const x = ot(r), P = ot(c) === c, S = await (m.isRTL == null ? void 0 : m.isRTL(d.floating)), O = y || (P || !p ? [kt(c)] : To(c));
|
|
505
|
+
!y && a !== "none" && O.push(...Po(c, p, a, S));
|
|
506
|
+
const A = [c, ...O], V = await ie(e, h), F = [];
|
|
419
507
|
let Q = ((n = s.flip) == null ? void 0 : n.overflows) || [];
|
|
420
|
-
if (l &&
|
|
421
|
-
const L =
|
|
422
|
-
|
|
508
|
+
if (l && F.push(V[x]), f) {
|
|
509
|
+
const L = xo(r, i, S);
|
|
510
|
+
F.push(V[L[0]], V[L[1]]);
|
|
423
511
|
}
|
|
424
512
|
if (Q = [...Q, {
|
|
425
|
-
placement:
|
|
426
|
-
overflows:
|
|
427
|
-
}], !
|
|
428
|
-
var
|
|
429
|
-
const L = (((
|
|
430
|
-
if (
|
|
513
|
+
placement: r,
|
|
514
|
+
overflows: F
|
|
515
|
+
}], !F.every((L) => L <= 0)) {
|
|
516
|
+
var dt, ut;
|
|
517
|
+
const L = (((dt = s.flip) == null ? void 0 : dt.index) || 0) + 1, ft = A[L];
|
|
518
|
+
if (ft)
|
|
431
519
|
return {
|
|
432
520
|
data: {
|
|
433
521
|
index: L,
|
|
434
522
|
overflows: Q
|
|
435
523
|
},
|
|
436
524
|
reset: {
|
|
437
|
-
placement:
|
|
525
|
+
placement: ft
|
|
438
526
|
}
|
|
439
527
|
};
|
|
440
|
-
let E = (
|
|
528
|
+
let E = (ut = Q.filter((H) => H.overflows[0] <= 0).sort((H, j) => H.overflows[1] - j.overflows[1])[0]) == null ? void 0 : ut.placement;
|
|
441
529
|
if (!E)
|
|
442
530
|
switch (g) {
|
|
443
531
|
case "bestFit": {
|
|
444
|
-
var
|
|
445
|
-
const
|
|
446
|
-
|
|
532
|
+
var mt;
|
|
533
|
+
const H = (mt = Q.map((j) => [j.placement, j.overflows.filter((U) => U > 0).reduce((U, ve) => U + ve, 0)]).sort((j, U) => j[1] - U[1])[0]) == null ? void 0 : mt[0];
|
|
534
|
+
H && (E = H);
|
|
447
535
|
break;
|
|
448
536
|
}
|
|
449
537
|
case "initialPlacement":
|
|
450
538
|
E = c;
|
|
451
539
|
break;
|
|
452
540
|
}
|
|
453
|
-
if (
|
|
541
|
+
if (r !== E)
|
|
454
542
|
return {
|
|
455
543
|
reset: {
|
|
456
544
|
placement: E
|
|
@@ -461,27 +549,27 @@ const uo = (t) => ({
|
|
|
461
549
|
}
|
|
462
550
|
};
|
|
463
551
|
};
|
|
464
|
-
async function
|
|
552
|
+
async function $o(t, e) {
|
|
465
553
|
const {
|
|
466
554
|
placement: o,
|
|
467
555
|
platform: n,
|
|
468
|
-
elements:
|
|
469
|
-
} = t, s = await (n.isRTL == null ? void 0 : n.isRTL(
|
|
556
|
+
elements: r
|
|
557
|
+
} = t, s = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i = ot(o), c = gt(o), m = St(o) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = s && m ? -1 : 1, f = ht(e, t);
|
|
470
558
|
let {
|
|
471
559
|
mainAxis: y,
|
|
472
560
|
crossAxis: g,
|
|
473
|
-
alignmentAxis:
|
|
474
|
-
} = typeof
|
|
475
|
-
mainAxis:
|
|
561
|
+
alignmentAxis: a
|
|
562
|
+
} = typeof f == "number" ? {
|
|
563
|
+
mainAxis: f,
|
|
476
564
|
crossAxis: 0,
|
|
477
565
|
alignmentAxis: null
|
|
478
566
|
} : {
|
|
479
567
|
mainAxis: 0,
|
|
480
568
|
crossAxis: 0,
|
|
481
569
|
alignmentAxis: null,
|
|
482
|
-
...
|
|
570
|
+
...f
|
|
483
571
|
};
|
|
484
|
-
return c && typeof
|
|
572
|
+
return c && typeof a == "number" && (g = c === "end" ? a * -1 : a), m ? {
|
|
485
573
|
x: g * l,
|
|
486
574
|
y: y * d
|
|
487
575
|
} : {
|
|
@@ -489,29 +577,29 @@ async function po(t, e) {
|
|
|
489
577
|
y: g * l
|
|
490
578
|
};
|
|
491
579
|
}
|
|
492
|
-
const
|
|
580
|
+
const Co = function(t) {
|
|
493
581
|
return t === void 0 && (t = 0), {
|
|
494
582
|
name: "offset",
|
|
495
583
|
options: t,
|
|
496
584
|
async fn(e) {
|
|
497
585
|
var o, n;
|
|
498
586
|
const {
|
|
499
|
-
x:
|
|
587
|
+
x: r,
|
|
500
588
|
y: s,
|
|
501
|
-
placement:
|
|
589
|
+
placement: i,
|
|
502
590
|
middlewareData: c
|
|
503
|
-
} = e, m = await
|
|
504
|
-
return
|
|
505
|
-
x:
|
|
591
|
+
} = e, m = await $o(e, t);
|
|
592
|
+
return i === ((o = c.offset) == null ? void 0 : o.placement) && (n = c.arrow) != null && n.alignmentOffset ? {} : {
|
|
593
|
+
x: r + m.x,
|
|
506
594
|
y: s + m.y,
|
|
507
595
|
data: {
|
|
508
596
|
...m,
|
|
509
|
-
placement:
|
|
597
|
+
placement: i
|
|
510
598
|
}
|
|
511
599
|
};
|
|
512
600
|
}
|
|
513
601
|
};
|
|
514
|
-
},
|
|
602
|
+
}, Oo = function(t) {
|
|
515
603
|
return t === void 0 && (t = {}), {
|
|
516
604
|
name: "shift",
|
|
517
605
|
options: t,
|
|
@@ -519,10 +607,10 @@ const fo = function(t) {
|
|
|
519
607
|
const {
|
|
520
608
|
x: o,
|
|
521
609
|
y: n,
|
|
522
|
-
placement:
|
|
610
|
+
placement: r
|
|
523
611
|
} = e, {
|
|
524
612
|
mainAxis: s = !0,
|
|
525
|
-
crossAxis:
|
|
613
|
+
crossAxis: i = !1,
|
|
526
614
|
limiter: c = {
|
|
527
615
|
fn: (h) => {
|
|
528
616
|
let {
|
|
@@ -536,93 +624,93 @@ const fo = function(t) {
|
|
|
536
624
|
}
|
|
537
625
|
},
|
|
538
626
|
...m
|
|
539
|
-
} =
|
|
627
|
+
} = ht(t, e), d = {
|
|
540
628
|
x: o,
|
|
541
629
|
y: n
|
|
542
|
-
}, l = await
|
|
543
|
-
let g = d[y],
|
|
630
|
+
}, l = await ie(e, m), f = St(ot(r)), y = se(f);
|
|
631
|
+
let g = d[y], a = d[f];
|
|
544
632
|
if (s) {
|
|
545
633
|
const h = y === "y" ? "top" : "left", x = y === "y" ? "bottom" : "right", P = g + l[h], S = g - l[x];
|
|
546
|
-
g =
|
|
634
|
+
g = Gt(P, g, S);
|
|
547
635
|
}
|
|
548
|
-
if (
|
|
549
|
-
const h =
|
|
550
|
-
|
|
636
|
+
if (i) {
|
|
637
|
+
const h = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", P = a + l[h], S = a - l[x];
|
|
638
|
+
a = Gt(P, a, S);
|
|
551
639
|
}
|
|
552
|
-
const
|
|
640
|
+
const p = c.fn({
|
|
553
641
|
...e,
|
|
554
642
|
[y]: g,
|
|
555
|
-
[
|
|
643
|
+
[f]: a
|
|
556
644
|
});
|
|
557
645
|
return {
|
|
558
|
-
...
|
|
646
|
+
...p,
|
|
559
647
|
data: {
|
|
560
|
-
x:
|
|
561
|
-
y:
|
|
648
|
+
x: p.x - o,
|
|
649
|
+
y: p.y - n
|
|
562
650
|
}
|
|
563
651
|
};
|
|
564
652
|
}
|
|
565
653
|
};
|
|
566
654
|
};
|
|
567
|
-
function
|
|
568
|
-
return
|
|
655
|
+
function ct(t) {
|
|
656
|
+
return ae(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
569
657
|
}
|
|
570
|
-
function
|
|
658
|
+
function N(t) {
|
|
571
659
|
var e;
|
|
572
660
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
573
661
|
}
|
|
574
662
|
function Y(t) {
|
|
575
663
|
var e;
|
|
576
|
-
return (e = (
|
|
577
|
-
}
|
|
578
|
-
function ee(t) {
|
|
579
|
-
return t instanceof Node || t instanceof I(t).Node;
|
|
664
|
+
return (e = (ae(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
580
665
|
}
|
|
581
|
-
function
|
|
582
|
-
return t instanceof
|
|
666
|
+
function ae(t) {
|
|
667
|
+
return t instanceof Node || t instanceof N(t).Node;
|
|
583
668
|
}
|
|
584
669
|
function W(t) {
|
|
585
|
-
return t instanceof
|
|
670
|
+
return t instanceof Element || t instanceof N(t).Element;
|
|
586
671
|
}
|
|
587
|
-
function
|
|
588
|
-
return
|
|
672
|
+
function K(t) {
|
|
673
|
+
return t instanceof HTMLElement || t instanceof N(t).HTMLElement;
|
|
589
674
|
}
|
|
590
|
-
function
|
|
675
|
+
function Yt(t) {
|
|
676
|
+
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof N(t).ShadowRoot;
|
|
677
|
+
}
|
|
678
|
+
function yt(t) {
|
|
591
679
|
const {
|
|
592
680
|
overflow: e,
|
|
593
681
|
overflowX: o,
|
|
594
682
|
overflowY: n,
|
|
595
|
-
display:
|
|
596
|
-
} =
|
|
597
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + n + o) && !["inline", "contents"].includes(
|
|
683
|
+
display: r
|
|
684
|
+
} = B(t);
|
|
685
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + n + o) && !["inline", "contents"].includes(r);
|
|
598
686
|
}
|
|
599
|
-
function
|
|
600
|
-
return ["table", "td", "th"].includes(
|
|
687
|
+
function Go(t) {
|
|
688
|
+
return ["table", "td", "th"].includes(ct(t));
|
|
601
689
|
}
|
|
602
|
-
function
|
|
603
|
-
const e =
|
|
690
|
+
function Lt(t) {
|
|
691
|
+
const e = Vt(), o = B(t);
|
|
604
692
|
return o.transform !== "none" || o.perspective !== "none" || (o.containerType ? o.containerType !== "normal" : !1) || !e && (o.backdropFilter ? o.backdropFilter !== "none" : !1) || !e && (o.filter ? o.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (o.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (o.contain || "").includes(n));
|
|
605
693
|
}
|
|
606
|
-
function
|
|
607
|
-
let e =
|
|
608
|
-
for (;
|
|
609
|
-
if (
|
|
694
|
+
function Eo(t) {
|
|
695
|
+
let e = X(t);
|
|
696
|
+
for (; K(e) && !lt(e); ) {
|
|
697
|
+
if (Lt(e))
|
|
610
698
|
return e;
|
|
611
|
-
e =
|
|
699
|
+
e = X(e);
|
|
612
700
|
}
|
|
613
701
|
return null;
|
|
614
702
|
}
|
|
615
|
-
function
|
|
703
|
+
function Vt() {
|
|
616
704
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
617
705
|
}
|
|
618
|
-
function
|
|
619
|
-
return ["html", "body", "#document"].includes(
|
|
706
|
+
function lt(t) {
|
|
707
|
+
return ["html", "body", "#document"].includes(ct(t));
|
|
620
708
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
709
|
+
function B(t) {
|
|
710
|
+
return N(t).getComputedStyle(t);
|
|
623
711
|
}
|
|
624
712
|
function _t(t) {
|
|
625
|
-
return
|
|
713
|
+
return W(t) ? {
|
|
626
714
|
scrollLeft: t.scrollLeft,
|
|
627
715
|
scrollTop: t.scrollTop
|
|
628
716
|
} : {
|
|
@@ -630,92 +718,92 @@ function _t(t) {
|
|
|
630
718
|
scrollTop: t.pageYOffset
|
|
631
719
|
};
|
|
632
720
|
}
|
|
633
|
-
function
|
|
634
|
-
if (
|
|
721
|
+
function X(t) {
|
|
722
|
+
if (ct(t) === "html")
|
|
635
723
|
return t;
|
|
636
724
|
const e = (
|
|
637
725
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
638
726
|
t.assignedSlot || // DOM Element detected.
|
|
639
727
|
t.parentNode || // ShadowRoot detected.
|
|
640
|
-
|
|
728
|
+
Yt(t) && t.host || // Fallback.
|
|
641
729
|
Y(t)
|
|
642
730
|
);
|
|
643
|
-
return
|
|
731
|
+
return Yt(e) ? e.host : e;
|
|
644
732
|
}
|
|
645
|
-
function
|
|
646
|
-
const e =
|
|
647
|
-
return
|
|
733
|
+
function le(t) {
|
|
734
|
+
const e = X(t);
|
|
735
|
+
return lt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : K(e) && yt(e) ? e : le(e);
|
|
648
736
|
}
|
|
649
737
|
function pt(t, e, o) {
|
|
650
738
|
var n;
|
|
651
739
|
e === void 0 && (e = []), o === void 0 && (o = !0);
|
|
652
|
-
const
|
|
653
|
-
return s ? e.concat(
|
|
740
|
+
const r = le(t), s = r === ((n = t.ownerDocument) == null ? void 0 : n.body), i = N(r);
|
|
741
|
+
return s ? e.concat(i, i.visualViewport || [], yt(r) ? r : [], i.frameElement && o ? pt(i.frameElement) : []) : e.concat(r, pt(r, [], o));
|
|
654
742
|
}
|
|
655
|
-
function
|
|
656
|
-
const e =
|
|
743
|
+
function ce(t) {
|
|
744
|
+
const e = B(t);
|
|
657
745
|
let o = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
658
|
-
const
|
|
659
|
-
return c && (o = s, n =
|
|
746
|
+
const r = K(t), s = r ? t.offsetWidth : o, i = r ? t.offsetHeight : n, c = Tt(o) !== s || Tt(n) !== i;
|
|
747
|
+
return c && (o = s, n = i), {
|
|
660
748
|
width: o,
|
|
661
749
|
height: n,
|
|
662
750
|
$: c
|
|
663
751
|
};
|
|
664
752
|
}
|
|
665
|
-
function
|
|
666
|
-
return
|
|
753
|
+
function Dt(t) {
|
|
754
|
+
return W(t) ? t : t.contextElement;
|
|
667
755
|
}
|
|
668
756
|
function rt(t) {
|
|
669
|
-
const e =
|
|
670
|
-
if (!
|
|
757
|
+
const e = Dt(t);
|
|
758
|
+
if (!K(e))
|
|
671
759
|
return J(1);
|
|
672
760
|
const o = e.getBoundingClientRect(), {
|
|
673
761
|
width: n,
|
|
674
|
-
height:
|
|
762
|
+
height: r,
|
|
675
763
|
$: s
|
|
676
|
-
} =
|
|
677
|
-
let
|
|
678
|
-
return (!
|
|
679
|
-
x:
|
|
764
|
+
} = ce(e);
|
|
765
|
+
let i = (s ? Tt(o.width) : o.width) / n, c = (s ? Tt(o.height) : o.height) / r;
|
|
766
|
+
return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
767
|
+
x: i,
|
|
680
768
|
y: c
|
|
681
769
|
};
|
|
682
770
|
}
|
|
683
|
-
const
|
|
684
|
-
function
|
|
685
|
-
const e =
|
|
686
|
-
return !
|
|
771
|
+
const Io = /* @__PURE__ */ J(0);
|
|
772
|
+
function de(t) {
|
|
773
|
+
const e = N(t);
|
|
774
|
+
return !Vt() || !e.visualViewport ? Io : {
|
|
687
775
|
x: e.visualViewport.offsetLeft,
|
|
688
776
|
y: e.visualViewport.offsetTop
|
|
689
777
|
};
|
|
690
778
|
}
|
|
691
|
-
function
|
|
692
|
-
return e === void 0 && (e = !1), !o || e && o !==
|
|
779
|
+
function Ro(t, e, o) {
|
|
780
|
+
return e === void 0 && (e = !1), !o || e && o !== N(t) ? !1 : e;
|
|
693
781
|
}
|
|
694
782
|
function nt(t, e, o, n) {
|
|
695
783
|
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
696
|
-
const
|
|
697
|
-
let
|
|
698
|
-
e && (n ?
|
|
699
|
-
const c =
|
|
700
|
-
let m = (
|
|
784
|
+
const r = t.getBoundingClientRect(), s = Dt(t);
|
|
785
|
+
let i = J(1);
|
|
786
|
+
e && (n ? W(n) && (i = rt(n)) : i = rt(t));
|
|
787
|
+
const c = Ro(s, o, n) ? de(s) : J(0);
|
|
788
|
+
let m = (r.left + c.x) / i.x, d = (r.top + c.y) / i.y, l = r.width / i.x, f = r.height / i.y;
|
|
701
789
|
if (s) {
|
|
702
|
-
const y =
|
|
703
|
-
let
|
|
704
|
-
for (;
|
|
705
|
-
const h = rt(
|
|
706
|
-
m *= h.x, d *= h.y, l *= h.x,
|
|
790
|
+
const y = N(s), g = n && W(n) ? N(n) : n;
|
|
791
|
+
let a = y, p = a.frameElement;
|
|
792
|
+
for (; p && n && g !== a; ) {
|
|
793
|
+
const h = rt(p), x = p.getBoundingClientRect(), P = B(p), S = x.left + (p.clientLeft + parseFloat(P.paddingLeft)) * h.x, O = x.top + (p.clientTop + parseFloat(P.paddingTop)) * h.y;
|
|
794
|
+
m *= h.x, d *= h.y, l *= h.x, f *= h.y, m += S, d += O, a = N(p), p = a.frameElement;
|
|
707
795
|
}
|
|
708
796
|
}
|
|
709
|
-
return
|
|
797
|
+
return Pt({
|
|
710
798
|
width: l,
|
|
711
|
-
height:
|
|
799
|
+
height: f,
|
|
712
800
|
x: m,
|
|
713
801
|
y: d
|
|
714
802
|
});
|
|
715
803
|
}
|
|
716
|
-
const
|
|
717
|
-
function
|
|
718
|
-
return
|
|
804
|
+
const No = [":popover-open", ":modal"];
|
|
805
|
+
function Mt(t) {
|
|
806
|
+
return No.some((e) => {
|
|
719
807
|
try {
|
|
720
808
|
return t.matches(e);
|
|
721
809
|
} catch {
|
|
@@ -723,22 +811,22 @@ function re(t) {
|
|
|
723
811
|
}
|
|
724
812
|
});
|
|
725
813
|
}
|
|
726
|
-
function
|
|
814
|
+
function Lo(t) {
|
|
727
815
|
let {
|
|
728
816
|
elements: e,
|
|
729
817
|
rect: o,
|
|
730
818
|
offsetParent: n,
|
|
731
|
-
strategy:
|
|
819
|
+
strategy: r
|
|
732
820
|
} = t;
|
|
733
|
-
const s =
|
|
734
|
-
if (n ===
|
|
821
|
+
const s = r === "fixed", i = Y(n), c = e ? Mt(e.floating) : !1;
|
|
822
|
+
if (n === i || c && s)
|
|
735
823
|
return o;
|
|
736
824
|
let m = {
|
|
737
825
|
scrollLeft: 0,
|
|
738
826
|
scrollTop: 0
|
|
739
827
|
}, d = J(1);
|
|
740
|
-
const l = J(0),
|
|
741
|
-
if ((
|
|
828
|
+
const l = J(0), f = K(n);
|
|
829
|
+
if ((f || !f && !s) && ((ct(n) !== "body" || yt(i)) && (m = _t(n)), K(n))) {
|
|
742
830
|
const y = nt(n);
|
|
743
831
|
d = rt(n), l.x = y.x + n.clientLeft, l.y = y.y + n.clientTop;
|
|
744
832
|
}
|
|
@@ -749,93 +837,93 @@ function xo(t) {
|
|
|
749
837
|
y: o.y * d.y - m.scrollTop * d.y + l.y
|
|
750
838
|
};
|
|
751
839
|
}
|
|
752
|
-
function
|
|
840
|
+
function Vo(t) {
|
|
753
841
|
return Array.from(t.getClientRects());
|
|
754
842
|
}
|
|
755
|
-
function
|
|
843
|
+
function ue(t) {
|
|
756
844
|
return nt(Y(t)).left + _t(t).scrollLeft;
|
|
757
845
|
}
|
|
758
|
-
function
|
|
759
|
-
const e = Y(t), o = _t(t), n = t.ownerDocument.body,
|
|
760
|
-
let
|
|
846
|
+
function Do(t) {
|
|
847
|
+
const e = Y(t), o = _t(t), n = t.ownerDocument.body, r = et(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), s = et(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
848
|
+
let i = -o.scrollLeft + ue(t);
|
|
761
849
|
const c = -o.scrollTop;
|
|
762
|
-
return
|
|
763
|
-
width:
|
|
850
|
+
return B(n).direction === "rtl" && (i += et(e.clientWidth, n.clientWidth) - r), {
|
|
851
|
+
width: r,
|
|
764
852
|
height: s,
|
|
765
|
-
x:
|
|
853
|
+
x: i,
|
|
766
854
|
y: c
|
|
767
855
|
};
|
|
768
856
|
}
|
|
769
|
-
function
|
|
770
|
-
const o =
|
|
771
|
-
let s = n.clientWidth,
|
|
772
|
-
if (
|
|
773
|
-
s =
|
|
774
|
-
const d =
|
|
775
|
-
(!d || d && e === "fixed") && (c =
|
|
857
|
+
function Mo(t, e) {
|
|
858
|
+
const o = N(t), n = Y(t), r = o.visualViewport;
|
|
859
|
+
let s = n.clientWidth, i = n.clientHeight, c = 0, m = 0;
|
|
860
|
+
if (r) {
|
|
861
|
+
s = r.width, i = r.height;
|
|
862
|
+
const d = Vt();
|
|
863
|
+
(!d || d && e === "fixed") && (c = r.offsetLeft, m = r.offsetTop);
|
|
776
864
|
}
|
|
777
865
|
return {
|
|
778
866
|
width: s,
|
|
779
|
-
height:
|
|
867
|
+
height: i,
|
|
780
868
|
x: c,
|
|
781
869
|
y: m
|
|
782
870
|
};
|
|
783
871
|
}
|
|
784
|
-
function
|
|
785
|
-
const o = nt(t, !0, e === "fixed"), n = o.top + t.clientTop,
|
|
872
|
+
function Bo(t, e) {
|
|
873
|
+
const o = nt(t, !0, e === "fixed"), n = o.top + t.clientTop, r = o.left + t.clientLeft, s = K(t) ? rt(t) : J(1), i = t.clientWidth * s.x, c = t.clientHeight * s.y, m = r * s.x, d = n * s.y;
|
|
786
874
|
return {
|
|
787
|
-
width:
|
|
875
|
+
width: i,
|
|
788
876
|
height: c,
|
|
789
877
|
x: m,
|
|
790
878
|
y: d
|
|
791
879
|
};
|
|
792
880
|
}
|
|
793
|
-
function
|
|
881
|
+
function qt(t, e, o) {
|
|
794
882
|
let n;
|
|
795
883
|
if (e === "viewport")
|
|
796
|
-
n =
|
|
884
|
+
n = Mo(t, o);
|
|
797
885
|
else if (e === "document")
|
|
798
|
-
n =
|
|
799
|
-
else if (
|
|
800
|
-
n =
|
|
886
|
+
n = Do(Y(t));
|
|
887
|
+
else if (W(e))
|
|
888
|
+
n = Bo(e, o);
|
|
801
889
|
else {
|
|
802
|
-
const
|
|
890
|
+
const r = de(t);
|
|
803
891
|
n = {
|
|
804
892
|
...e,
|
|
805
|
-
x: e.x -
|
|
806
|
-
y: e.y -
|
|
893
|
+
x: e.x - r.x,
|
|
894
|
+
y: e.y - r.y
|
|
807
895
|
};
|
|
808
896
|
}
|
|
809
|
-
return
|
|
897
|
+
return Pt(n);
|
|
810
898
|
}
|
|
811
|
-
function
|
|
812
|
-
const o =
|
|
813
|
-
return o === e || !
|
|
899
|
+
function me(t, e) {
|
|
900
|
+
const o = X(t);
|
|
901
|
+
return o === e || !W(o) || lt(o) ? !1 : B(o).position === "fixed" || me(o, e);
|
|
814
902
|
}
|
|
815
|
-
function
|
|
903
|
+
function Fo(t, e) {
|
|
816
904
|
const o = e.get(t);
|
|
817
905
|
if (o)
|
|
818
906
|
return o;
|
|
819
|
-
let n = pt(t, [], !1).filter((c) =>
|
|
820
|
-
const s =
|
|
821
|
-
let
|
|
822
|
-
for (;
|
|
823
|
-
const c =
|
|
824
|
-
!m && c.position === "fixed" && (
|
|
907
|
+
let n = pt(t, [], !1).filter((c) => W(c) && ct(c) !== "body"), r = null;
|
|
908
|
+
const s = B(t).position === "fixed";
|
|
909
|
+
let i = s ? X(t) : t;
|
|
910
|
+
for (; W(i) && !lt(i); ) {
|
|
911
|
+
const c = B(i), m = Lt(i);
|
|
912
|
+
!m && c.position === "fixed" && (r = null), (s ? !m && !r : !m && c.position === "static" && !!r && ["absolute", "fixed"].includes(r.position) || yt(i) && !m && me(t, i)) ? n = n.filter((l) => l !== i) : r = c, i = X(i);
|
|
825
913
|
}
|
|
826
914
|
return e.set(t, n), n;
|
|
827
915
|
}
|
|
828
|
-
function
|
|
916
|
+
function Ho(t) {
|
|
829
917
|
let {
|
|
830
918
|
element: e,
|
|
831
919
|
boundary: o,
|
|
832
920
|
rootBoundary: n,
|
|
833
|
-
strategy:
|
|
921
|
+
strategy: r
|
|
834
922
|
} = t;
|
|
835
|
-
const
|
|
836
|
-
const
|
|
837
|
-
return d.top = et(
|
|
838
|
-
},
|
|
923
|
+
const i = [...o === "clippingAncestors" ? Mt(e) ? [] : Fo(e, this._c) : [].concat(o), n], c = i[0], m = i.reduce((d, l) => {
|
|
924
|
+
const f = qt(e, l, r);
|
|
925
|
+
return d.top = et(f.top, d.top), d.right = at(f.right, d.right), d.bottom = at(f.bottom, d.bottom), d.left = et(f.left, d.left), d;
|
|
926
|
+
}, qt(e, c, r));
|
|
839
927
|
return {
|
|
840
928
|
width: m.right - m.left,
|
|
841
929
|
height: m.bottom - m.top,
|
|
@@ -843,202 +931,215 @@ function Ao(t) {
|
|
|
843
931
|
y: m.top
|
|
844
932
|
};
|
|
845
933
|
}
|
|
846
|
-
function
|
|
934
|
+
function jo(t) {
|
|
847
935
|
const {
|
|
848
936
|
width: e,
|
|
849
937
|
height: o
|
|
850
|
-
} =
|
|
938
|
+
} = ce(t);
|
|
851
939
|
return {
|
|
852
940
|
width: e,
|
|
853
941
|
height: o
|
|
854
942
|
};
|
|
855
943
|
}
|
|
856
|
-
function
|
|
857
|
-
const n =
|
|
944
|
+
function Wo(t, e, o) {
|
|
945
|
+
const n = K(e), r = Y(e), s = o === "fixed", i = nt(t, !0, s, e);
|
|
858
946
|
let c = {
|
|
859
947
|
scrollLeft: 0,
|
|
860
948
|
scrollTop: 0
|
|
861
949
|
};
|
|
862
950
|
const m = J(0);
|
|
863
951
|
if (n || !n && !s)
|
|
864
|
-
if ((
|
|
865
|
-
const
|
|
866
|
-
m.x =
|
|
952
|
+
if ((ct(e) !== "body" || yt(r)) && (c = _t(e)), n) {
|
|
953
|
+
const f = nt(e, !0, s, e);
|
|
954
|
+
m.x = f.x + e.clientLeft, m.y = f.y + e.clientTop;
|
|
867
955
|
} else
|
|
868
|
-
|
|
869
|
-
const d =
|
|
956
|
+
r && (m.x = ue(r));
|
|
957
|
+
const d = i.left + c.scrollLeft - m.x, l = i.top + c.scrollTop - m.y;
|
|
870
958
|
return {
|
|
871
959
|
x: d,
|
|
872
960
|
y: l,
|
|
873
|
-
width:
|
|
874
|
-
height:
|
|
961
|
+
width: i.width,
|
|
962
|
+
height: i.height
|
|
875
963
|
};
|
|
876
964
|
}
|
|
877
|
-
function
|
|
878
|
-
return
|
|
965
|
+
function Ct(t) {
|
|
966
|
+
return B(t).position === "static";
|
|
879
967
|
}
|
|
880
|
-
function
|
|
881
|
-
|
|
882
|
-
|
|
968
|
+
function Jt(t, e) {
|
|
969
|
+
return !K(t) || B(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
970
|
+
}
|
|
971
|
+
function fe(t, e) {
|
|
972
|
+
const o = N(t);
|
|
973
|
+
if (Mt(t))
|
|
974
|
+
return o;
|
|
975
|
+
if (!K(t)) {
|
|
976
|
+
let r = X(t);
|
|
977
|
+
for (; r && !lt(r); ) {
|
|
978
|
+
if (W(r) && !Ct(r))
|
|
979
|
+
return r;
|
|
980
|
+
r = X(r);
|
|
981
|
+
}
|
|
883
982
|
return o;
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
983
|
+
}
|
|
984
|
+
let n = Jt(t, e);
|
|
985
|
+
for (; n && Go(n) && Ct(n); )
|
|
986
|
+
n = Jt(n, e);
|
|
987
|
+
return n && lt(n) && Ct(n) && !Lt(n) ? o : n || Eo(t) || o;
|
|
888
988
|
}
|
|
889
|
-
const
|
|
890
|
-
const e = this.getOffsetParent ||
|
|
989
|
+
const Ko = async function(t) {
|
|
990
|
+
const e = this.getOffsetParent || fe, o = this.getDimensions, n = await o(t.floating);
|
|
891
991
|
return {
|
|
892
|
-
reference:
|
|
992
|
+
reference: Wo(t.reference, await e(t.floating), t.strategy),
|
|
893
993
|
floating: {
|
|
894
994
|
x: 0,
|
|
895
995
|
y: 0,
|
|
896
|
-
|
|
996
|
+
width: n.width,
|
|
997
|
+
height: n.height
|
|
897
998
|
}
|
|
898
999
|
};
|
|
899
1000
|
};
|
|
900
|
-
function
|
|
901
|
-
return
|
|
1001
|
+
function Uo(t) {
|
|
1002
|
+
return B(t).direction === "rtl";
|
|
902
1003
|
}
|
|
903
|
-
const
|
|
904
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
1004
|
+
const Yo = {
|
|
1005
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Lo,
|
|
905
1006
|
getDocumentElement: Y,
|
|
906
|
-
getClippingRect:
|
|
907
|
-
getOffsetParent:
|
|
908
|
-
getElementRects:
|
|
909
|
-
getClientRects:
|
|
910
|
-
getDimensions:
|
|
1007
|
+
getClippingRect: Ho,
|
|
1008
|
+
getOffsetParent: fe,
|
|
1009
|
+
getElementRects: Ko,
|
|
1010
|
+
getClientRects: Vo,
|
|
1011
|
+
getDimensions: jo,
|
|
911
1012
|
getScale: rt,
|
|
912
|
-
isElement:
|
|
913
|
-
isRTL:
|
|
1013
|
+
isElement: W,
|
|
1014
|
+
isRTL: Uo
|
|
914
1015
|
};
|
|
915
|
-
function
|
|
1016
|
+
function qo(t, e) {
|
|
916
1017
|
let o = null, n;
|
|
917
|
-
const
|
|
1018
|
+
const r = Y(t);
|
|
918
1019
|
function s() {
|
|
919
1020
|
var c;
|
|
920
1021
|
clearTimeout(n), (c = o) == null || c.disconnect(), o = null;
|
|
921
1022
|
}
|
|
922
|
-
function
|
|
1023
|
+
function i(c, m) {
|
|
923
1024
|
c === void 0 && (c = !1), m === void 0 && (m = 1), s();
|
|
924
1025
|
const {
|
|
925
1026
|
left: d,
|
|
926
1027
|
top: l,
|
|
927
|
-
width:
|
|
1028
|
+
width: f,
|
|
928
1029
|
height: y
|
|
929
1030
|
} = t.getBoundingClientRect();
|
|
930
|
-
if (c || e(), !
|
|
1031
|
+
if (c || e(), !f || !y)
|
|
931
1032
|
return;
|
|
932
|
-
const g =
|
|
933
|
-
rootMargin: -g + "px " + -
|
|
934
|
-
threshold: et(0,
|
|
1033
|
+
const g = bt(l), a = bt(r.clientWidth - (d + f)), p = bt(r.clientHeight - (l + y)), h = bt(d), P = {
|
|
1034
|
+
rootMargin: -g + "px " + -a + "px " + -p + "px " + -h + "px",
|
|
1035
|
+
threshold: et(0, at(1, m)) || 1
|
|
935
1036
|
};
|
|
936
1037
|
let S = !0;
|
|
937
|
-
function
|
|
938
|
-
const
|
|
939
|
-
if (
|
|
1038
|
+
function O(A) {
|
|
1039
|
+
const V = A[0].intersectionRatio;
|
|
1040
|
+
if (V !== m) {
|
|
940
1041
|
if (!S)
|
|
941
|
-
return
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
},
|
|
1042
|
+
return i();
|
|
1043
|
+
V ? i(!1, V) : n = setTimeout(() => {
|
|
1044
|
+
i(!1, 1e-7);
|
|
1045
|
+
}, 1e3);
|
|
945
1046
|
}
|
|
946
1047
|
S = !1;
|
|
947
1048
|
}
|
|
948
1049
|
try {
|
|
949
|
-
o = new IntersectionObserver(
|
|
1050
|
+
o = new IntersectionObserver(O, {
|
|
950
1051
|
...P,
|
|
951
1052
|
// Handle <iframe>s
|
|
952
|
-
root:
|
|
1053
|
+
root: r.ownerDocument
|
|
953
1054
|
});
|
|
954
1055
|
} catch {
|
|
955
|
-
o = new IntersectionObserver(
|
|
1056
|
+
o = new IntersectionObserver(O, P);
|
|
956
1057
|
}
|
|
957
1058
|
o.observe(t);
|
|
958
1059
|
}
|
|
959
|
-
return
|
|
1060
|
+
return i(!0), s;
|
|
960
1061
|
}
|
|
961
|
-
function
|
|
1062
|
+
function Jo(t, e, o, n) {
|
|
962
1063
|
n === void 0 && (n = {});
|
|
963
1064
|
const {
|
|
964
|
-
ancestorScroll:
|
|
1065
|
+
ancestorScroll: r = !0,
|
|
965
1066
|
ancestorResize: s = !0,
|
|
966
|
-
elementResize:
|
|
1067
|
+
elementResize: i = typeof ResizeObserver == "function",
|
|
967
1068
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
968
1069
|
animationFrame: m = !1
|
|
969
|
-
} = n, d =
|
|
1070
|
+
} = n, d = Dt(t), l = r || s ? [...d ? pt(d) : [], ...pt(e)] : [];
|
|
970
1071
|
l.forEach((x) => {
|
|
971
|
-
|
|
1072
|
+
r && x.addEventListener("scroll", o, {
|
|
972
1073
|
passive: !0
|
|
973
1074
|
}), s && x.addEventListener("resize", o);
|
|
974
1075
|
});
|
|
975
|
-
const
|
|
1076
|
+
const f = d && c ? qo(d, o) : null;
|
|
976
1077
|
let y = -1, g = null;
|
|
977
|
-
|
|
1078
|
+
i && (g = new ResizeObserver((x) => {
|
|
978
1079
|
let [P] = x;
|
|
979
1080
|
P && P.target === d && g && (g.unobserve(e), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
|
|
980
1081
|
var S;
|
|
981
1082
|
(S = g) == null || S.observe(e);
|
|
982
1083
|
})), o();
|
|
983
1084
|
}), d && !m && g.observe(d), g.observe(e));
|
|
984
|
-
let
|
|
1085
|
+
let a, p = m ? nt(t) : null;
|
|
985
1086
|
m && h();
|
|
986
1087
|
function h() {
|
|
987
1088
|
const x = nt(t);
|
|
988
|
-
|
|
1089
|
+
p && (x.x !== p.x || x.y !== p.y || x.width !== p.width || x.height !== p.height) && o(), p = x, a = requestAnimationFrame(h);
|
|
989
1090
|
}
|
|
990
1091
|
return o(), () => {
|
|
991
1092
|
var x;
|
|
992
1093
|
l.forEach((P) => {
|
|
993
|
-
|
|
994
|
-
}),
|
|
1094
|
+
r && P.removeEventListener("scroll", o), s && P.removeEventListener("resize", o);
|
|
1095
|
+
}), f == null || f(), (x = g) == null || x.disconnect(), g = null, m && cancelAnimationFrame(a);
|
|
995
1096
|
};
|
|
996
1097
|
}
|
|
997
|
-
const
|
|
998
|
-
const n = /* @__PURE__ */ new Map(),
|
|
999
|
-
platform:
|
|
1098
|
+
const Xo = Co, Zo = Oo, Qo = zo, Xt = Ao, tn = (t, e, o) => {
|
|
1099
|
+
const n = /* @__PURE__ */ new Map(), r = {
|
|
1100
|
+
platform: Yo,
|
|
1000
1101
|
...o
|
|
1001
1102
|
}, s = {
|
|
1002
|
-
...
|
|
1103
|
+
...r.platform,
|
|
1003
1104
|
_c: n
|
|
1004
1105
|
};
|
|
1005
|
-
return
|
|
1006
|
-
...
|
|
1106
|
+
return _o(t, e, {
|
|
1107
|
+
...r,
|
|
1007
1108
|
platform: s
|
|
1008
1109
|
});
|
|
1009
1110
|
};
|
|
1010
|
-
function
|
|
1011
|
-
const s =
|
|
1012
|
-
!s.value || !
|
|
1111
|
+
function en({ middleware: t, placement: e = null, strategy: o, append: n, enabled: r }) {
|
|
1112
|
+
const s = C(null), i = C(null), c = C(null), m = C(null), d = C(null), l = C(null), f = C(null), y = C(o ?? "absolute"), g = C(null), a = () => {
|
|
1113
|
+
!s.value || !i.value || tn(s.value, i.value, {
|
|
1013
1114
|
middleware: t,
|
|
1014
1115
|
placement: e,
|
|
1015
1116
|
strategy: o
|
|
1016
1117
|
}).then((h) => {
|
|
1017
|
-
c.value = h.x, m.value = h.y, y.value = h.strategy, d.value = h.middlewareData.arrow.x, l.value = h.middlewareData.arrow.y,
|
|
1118
|
+
c.value = h.x, m.value = h.y, y.value = h.strategy, d.value = h.middlewareData.arrow.x, l.value = h.middlewareData.arrow.y, f.value = h.placement;
|
|
1018
1119
|
});
|
|
1019
1120
|
};
|
|
1020
|
-
|
|
1121
|
+
Ot(
|
|
1021
1122
|
() => ({
|
|
1022
1123
|
reference: u(s),
|
|
1023
|
-
floating: u(
|
|
1124
|
+
floating: u(i),
|
|
1024
1125
|
append: u(n)
|
|
1025
1126
|
}),
|
|
1026
1127
|
({ floating: h, append: x }) => {
|
|
1027
|
-
x &&
|
|
1128
|
+
x && We(h, x), a();
|
|
1028
1129
|
},
|
|
1029
1130
|
{ flush: "post" }
|
|
1030
|
-
),
|
|
1031
|
-
|
|
1131
|
+
), Ot(
|
|
1132
|
+
r,
|
|
1032
1133
|
(h) => {
|
|
1033
|
-
if (!(!s.value || !
|
|
1134
|
+
if (!(!s.value || !i.value)) {
|
|
1034
1135
|
if (!h)
|
|
1035
|
-
return
|
|
1036
|
-
g.value =
|
|
1136
|
+
return p();
|
|
1137
|
+
g.value = Jo(s.value, i.value, a, {});
|
|
1037
1138
|
}
|
|
1038
1139
|
},
|
|
1039
1140
|
{ flush: "post" }
|
|
1040
1141
|
);
|
|
1041
|
-
const
|
|
1142
|
+
const p = () => {
|
|
1042
1143
|
var h;
|
|
1043
1144
|
(h = g.value) == null || h.call(g), g.value = null;
|
|
1044
1145
|
};
|
|
@@ -1047,23 +1148,23 @@ function Vo({ middleware: t, placement: e = null, strategy: o, append: n, enable
|
|
|
1047
1148
|
y: m,
|
|
1048
1149
|
arrowX: d,
|
|
1049
1150
|
arrowY: l,
|
|
1050
|
-
placement:
|
|
1151
|
+
placement: f,
|
|
1051
1152
|
reference: s,
|
|
1052
|
-
floating:
|
|
1153
|
+
floating: i,
|
|
1053
1154
|
strategy: y,
|
|
1054
|
-
update:
|
|
1155
|
+
update: a
|
|
1055
1156
|
};
|
|
1056
1157
|
}
|
|
1057
|
-
const
|
|
1158
|
+
const on = (t) => {
|
|
1058
1159
|
const { element: e, padding: o } = t;
|
|
1059
1160
|
return {
|
|
1060
1161
|
name: "arrow",
|
|
1061
1162
|
options: t,
|
|
1062
1163
|
fn(n) {
|
|
1063
|
-
return
|
|
1164
|
+
return Ae(e) ? e.value != null ? Xt({ element: e.value, padding: o }).fn(n) : {} : e ? Xt({ element: e, padding: o }).fn(n) : {};
|
|
1064
1165
|
}
|
|
1065
1166
|
};
|
|
1066
|
-
},
|
|
1167
|
+
}, nn = ["data-placement"], pe = {
|
|
1067
1168
|
__name: "FloatingPanel",
|
|
1068
1169
|
props: {
|
|
1069
1170
|
disabled: {
|
|
@@ -1092,44 +1193,44 @@ const Do = (t) => {
|
|
|
1092
1193
|
}
|
|
1093
1194
|
},
|
|
1094
1195
|
setup(t) {
|
|
1095
|
-
const e = t, o =
|
|
1196
|
+
const e = t, o = C(!1), n = C(null), { x: r, y: s, arrowX: i, arrowY: c, placement: m, reference: d, floating: l, strategy: f } = en({
|
|
1096
1197
|
placement: e.placement,
|
|
1097
|
-
middleware: [
|
|
1098
|
-
append:
|
|
1198
|
+
middleware: [Qo(), Zo({ padding: 5 }), Xo(e.offset), on({ element: n, padding: 5 })],
|
|
1199
|
+
append: $(() => e.appendTo),
|
|
1099
1200
|
enabled: o
|
|
1100
1201
|
}), y = () => {
|
|
1101
1202
|
e.disabled || o.value || (o.value = !0);
|
|
1102
1203
|
}, g = (h) => {
|
|
1103
1204
|
o.value && h && (o.value = !1);
|
|
1104
|
-
},
|
|
1205
|
+
}, a = (h) => {
|
|
1105
1206
|
d.value = h;
|
|
1106
|
-
},
|
|
1207
|
+
}, p = {
|
|
1107
1208
|
mouseenter: y,
|
|
1108
1209
|
mouseleave: g,
|
|
1109
1210
|
focus: y,
|
|
1110
1211
|
blur: g
|
|
1111
1212
|
};
|
|
1112
|
-
return
|
|
1213
|
+
return Oe(l, (h) => {
|
|
1113
1214
|
var x;
|
|
1114
1215
|
(x = d.value) != null && x.contains(h.target) || g();
|
|
1115
|
-
}), (h, x) => (v(), b(
|
|
1116
|
-
|
|
1117
|
-
setRef:
|
|
1216
|
+
}), (h, x) => (v(), b(M, null, [
|
|
1217
|
+
R(h.$slots, "default", {
|
|
1218
|
+
setRef: a,
|
|
1118
1219
|
show: y,
|
|
1119
1220
|
hide: g,
|
|
1120
|
-
events:
|
|
1221
|
+
events: p
|
|
1121
1222
|
}),
|
|
1122
1223
|
w("div", {
|
|
1123
1224
|
ref_key: "floating",
|
|
1124
1225
|
ref: l,
|
|
1125
1226
|
"data-placement": u(m),
|
|
1126
|
-
style:
|
|
1127
|
-
position: u(
|
|
1227
|
+
style: Bt({
|
|
1228
|
+
position: u(f),
|
|
1128
1229
|
top: u(s) ? `${u(s)}px` : "",
|
|
1129
|
-
left: u(
|
|
1230
|
+
left: u(r) ? `${u(r)}px` : ""
|
|
1130
1231
|
})
|
|
1131
1232
|
}, [
|
|
1132
|
-
|
|
1233
|
+
G(ze, {
|
|
1133
1234
|
name: "transition-fade",
|
|
1134
1235
|
mode: "out-in"
|
|
1135
1236
|
}, {
|
|
@@ -1138,27 +1239,27 @@ const Do = (t) => {
|
|
|
1138
1239
|
key: 0,
|
|
1139
1240
|
class: z(["floating-content", [`is-${e.theme}`]])
|
|
1140
1241
|
}, [
|
|
1141
|
-
|
|
1142
|
-
|
|
1242
|
+
R(h.$slots, "content", { close: g }, () => [
|
|
1243
|
+
D(T(t.content), 1)
|
|
1143
1244
|
]),
|
|
1144
1245
|
w("div", {
|
|
1145
1246
|
ref_key: "arrowRef",
|
|
1146
1247
|
ref: n,
|
|
1147
1248
|
class: "is-arrow",
|
|
1148
|
-
style:
|
|
1149
|
-
position: u(
|
|
1249
|
+
style: Bt({
|
|
1250
|
+
position: u(f),
|
|
1150
1251
|
top: u(c) ? `${u(c)}px` : "",
|
|
1151
|
-
left: u(
|
|
1252
|
+
left: u(i) ? `${u(i)}px` : ""
|
|
1152
1253
|
})
|
|
1153
1254
|
}, null, 4)
|
|
1154
1255
|
], 2)) : _("", !0)
|
|
1155
1256
|
]),
|
|
1156
1257
|
_: 3
|
|
1157
1258
|
})
|
|
1158
|
-
], 12,
|
|
1259
|
+
], 12, nn)
|
|
1159
1260
|
], 64));
|
|
1160
1261
|
}
|
|
1161
|
-
},
|
|
1262
|
+
}, sn = ["onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown", "tabindex"], rn = { key: 0 }, an = ["colspan"], ln = { key: 1 }, cn = ["colspan"], he = {
|
|
1162
1263
|
__name: "DataTable",
|
|
1163
1264
|
props: {
|
|
1164
1265
|
columns: {
|
|
@@ -1184,116 +1285,116 @@ const Do = (t) => {
|
|
|
1184
1285
|
},
|
|
1185
1286
|
emits: ["sort"],
|
|
1186
1287
|
setup(t, { emit: e }) {
|
|
1187
|
-
const o = t, { isLoading: n, appendTo:
|
|
1188
|
-
y.sortOrders &&
|
|
1288
|
+
const o = t, { isLoading: n, appendTo: r } = It(o), s = Ge(n, { delay: Fe }), i = e, { t: c } = Z(), m = q("table"), d = $(() => o.columns), l = $(() => Object.keys(o.columns).length), f = (y, g) => {
|
|
1289
|
+
y.sortOrders && i("sort", { target: g, orders: y.sortOrders });
|
|
1189
1290
|
};
|
|
1190
1291
|
return (y, g) => (v(), b("table", {
|
|
1191
1292
|
class: z(u(m))
|
|
1192
1293
|
}, [
|
|
1193
1294
|
w("thead", null, [
|
|
1194
1295
|
w("tr", null, [
|
|
1195
|
-
(v(!0), b(
|
|
1196
|
-
key:
|
|
1296
|
+
(v(!0), b(M, null, tt(d.value, (a, p) => (v(), I(pe, {
|
|
1297
|
+
key: p,
|
|
1197
1298
|
placement: "top",
|
|
1198
|
-
content:
|
|
1199
|
-
disabled: !
|
|
1200
|
-
"append-to": u(
|
|
1299
|
+
content: a.tooltip,
|
|
1300
|
+
disabled: !a.tooltip,
|
|
1301
|
+
"append-to": u(r)
|
|
1201
1302
|
}, {
|
|
1202
1303
|
default: k(({ setRef: h, show: x, hide: P }) => [
|
|
1203
1304
|
w("th", {
|
|
1204
1305
|
ref_for: !0,
|
|
1205
1306
|
ref: h,
|
|
1206
1307
|
class: z([
|
|
1207
|
-
[
|
|
1308
|
+
[a.class],
|
|
1208
1309
|
{
|
|
1209
|
-
"is-active":
|
|
1210
|
-
"is-sortable":
|
|
1211
|
-
"is-desc":
|
|
1212
|
-
"is-asc":
|
|
1310
|
+
"is-active": p === t.sort.sortTarget && t.sort.orders[0].direction !== u(At),
|
|
1311
|
+
"is-sortable": a.sortOrders,
|
|
1312
|
+
"is-desc": p === t.sort.sortTarget && t.sort.orders[0].direction === u(jt),
|
|
1313
|
+
"is-asc": p === t.sort.sortTarget && t.sort.orders[0].direction === u(Wt)
|
|
1213
1314
|
}
|
|
1214
1315
|
]),
|
|
1215
1316
|
onMouseenter: x,
|
|
1216
1317
|
onMouseleave: P,
|
|
1217
1318
|
onFocus: x,
|
|
1218
1319
|
onBlur: P,
|
|
1219
|
-
onClick: (S) =>
|
|
1320
|
+
onClick: (S) => f(a, p),
|
|
1220
1321
|
onKeydown: [
|
|
1221
|
-
|
|
1222
|
-
|
|
1322
|
+
Ft(it((S) => f(a, p), ["prevent"]), ["space"]),
|
|
1323
|
+
Ft(it((S) => f(a, p), ["prevent"]), ["enter"])
|
|
1223
1324
|
],
|
|
1224
|
-
tabindex:
|
|
1325
|
+
tabindex: a.sortOrders ? 0 : -1,
|
|
1225
1326
|
role: "button"
|
|
1226
1327
|
}, [
|
|
1227
|
-
|
|
1228
|
-
|
|
1328
|
+
R(y.$slots, `header-${p}`, { column: a }, () => [
|
|
1329
|
+
D(T(a.label), 1)
|
|
1229
1330
|
]),
|
|
1230
|
-
|
|
1331
|
+
a.sortOrders && p !== t.sort.sortTarget ? (v(), I(u(Kt), {
|
|
1231
1332
|
key: 0,
|
|
1232
1333
|
class: "is-icon-sort"
|
|
1233
1334
|
})) : _("", !0),
|
|
1234
|
-
|
|
1335
|
+
p === t.sort.sortTarget && t.sort.orders[0].direction === u(At) ? (v(), I(u(Kt), {
|
|
1235
1336
|
key: 1,
|
|
1236
1337
|
class: "is-icon-sort"
|
|
1237
1338
|
})) : _("", !0),
|
|
1238
|
-
|
|
1339
|
+
p === t.sort.sortTarget && t.sort.orders[0].direction === u(jt) ? (v(), I(u(fo), {
|
|
1239
1340
|
key: 2,
|
|
1240
1341
|
class: "is-icon-sort"
|
|
1241
1342
|
})) : _("", !0),
|
|
1242
|
-
|
|
1343
|
+
p === t.sort.sortTarget && t.sort.orders[0].direction === u(Wt) ? (v(), I(u(vo), {
|
|
1243
1344
|
key: 3,
|
|
1244
1345
|
class: "is-icon-sort"
|
|
1245
1346
|
})) : _("", !0)
|
|
1246
|
-
], 42,
|
|
1347
|
+
], 42, sn)
|
|
1247
1348
|
]),
|
|
1248
1349
|
_: 2
|
|
1249
1350
|
}, 1032, ["content", "disabled", "append-to"]))), 128))
|
|
1250
1351
|
])
|
|
1251
1352
|
]),
|
|
1252
1353
|
w("tbody", null, [
|
|
1253
|
-
(v(!0), b(
|
|
1254
|
-
key:
|
|
1255
|
-
class: z(
|
|
1354
|
+
(v(!0), b(M, null, tt(o.rows, (a, p) => (v(), b("tr", {
|
|
1355
|
+
key: p,
|
|
1356
|
+
class: z(a.rowClasses)
|
|
1256
1357
|
}, [
|
|
1257
|
-
(v(!0), b(
|
|
1358
|
+
(v(!0), b(M, null, tt(d.value, (h, x) => (v(), b("td", {
|
|
1258
1359
|
key: x,
|
|
1259
1360
|
class: z([
|
|
1260
1361
|
[h.class],
|
|
1261
1362
|
{
|
|
1262
1363
|
"is-active": x === t.sort.sortTarget && t.sort.orders[0].direction !== u(At),
|
|
1263
|
-
"is-zero":
|
|
1364
|
+
"is-zero": a[x] == 0
|
|
1264
1365
|
}
|
|
1265
1366
|
])
|
|
1266
1367
|
}, [
|
|
1267
|
-
|
|
1268
|
-
row:
|
|
1368
|
+
R(y.$slots, `cell-${x}`, {
|
|
1369
|
+
row: a,
|
|
1269
1370
|
prop: x
|
|
1270
1371
|
}, () => [
|
|
1271
|
-
|
|
1372
|
+
D(T(a[x]), 1)
|
|
1272
1373
|
])
|
|
1273
1374
|
], 2))), 128))
|
|
1274
1375
|
], 2))), 128))
|
|
1275
1376
|
]),
|
|
1276
|
-
u(s) && t.rows.length === 0 ? (v(), b("tfoot",
|
|
1377
|
+
u(s) && t.rows.length === 0 ? (v(), b("tfoot", rn, [
|
|
1277
1378
|
w("tr", null, [
|
|
1278
1379
|
w("td", { colspan: l.value }, [
|
|
1279
|
-
|
|
1280
|
-
|
|
1380
|
+
R(y.$slots, "loading", {}, () => [
|
|
1381
|
+
D(T(u(c)("common.loading")), 1)
|
|
1281
1382
|
])
|
|
1282
|
-
], 8,
|
|
1383
|
+
], 8, an)
|
|
1283
1384
|
])
|
|
1284
1385
|
])) : _("", !0),
|
|
1285
|
-
t.rows.length === 0 && !u(n) && !u(s) ? (v(), b("tfoot",
|
|
1386
|
+
t.rows.length === 0 && !u(n) && !u(s) ? (v(), b("tfoot", ln, [
|
|
1286
1387
|
w("tr", null, [
|
|
1287
1388
|
w("td", { colspan: l.value }, [
|
|
1288
|
-
|
|
1289
|
-
|
|
1389
|
+
R(y.$slots, "empty", {}, () => [
|
|
1390
|
+
D(T(u(c)("common.noData")), 1)
|
|
1290
1391
|
])
|
|
1291
|
-
], 8,
|
|
1392
|
+
], 8, cn)
|
|
1292
1393
|
])
|
|
1293
1394
|
])) : _("", !0)
|
|
1294
1395
|
], 2));
|
|
1295
1396
|
}
|
|
1296
|
-
},
|
|
1397
|
+
}, dn = {
|
|
1297
1398
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1298
1399
|
viewBox: "0 0 24 24",
|
|
1299
1400
|
fill: "none",
|
|
@@ -1301,25 +1402,25 @@ const Do = (t) => {
|
|
|
1301
1402
|
"stroke-width": "2",
|
|
1302
1403
|
"stroke-linecap": "round",
|
|
1303
1404
|
"stroke-linejoin": "round"
|
|
1304
|
-
},
|
|
1405
|
+
}, un = /* @__PURE__ */ w("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), mn = /* @__PURE__ */ w("line", {
|
|
1305
1406
|
x1: "12",
|
|
1306
1407
|
y1: "9",
|
|
1307
1408
|
x2: "12",
|
|
1308
1409
|
y2: "13"
|
|
1309
|
-
}, null, -1),
|
|
1410
|
+
}, null, -1), fn = /* @__PURE__ */ w("line", {
|
|
1310
1411
|
x1: "12",
|
|
1311
1412
|
y1: "17",
|
|
1312
1413
|
x2: "12.01",
|
|
1313
1414
|
y2: "17"
|
|
1314
|
-
}, null, -1),
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1415
|
+
}, null, -1), pn = [
|
|
1416
|
+
un,
|
|
1417
|
+
mn,
|
|
1418
|
+
fn
|
|
1318
1419
|
];
|
|
1319
|
-
function
|
|
1320
|
-
return v(), b("svg",
|
|
1420
|
+
function hn(t, e) {
|
|
1421
|
+
return v(), b("svg", dn, [...pn]);
|
|
1321
1422
|
}
|
|
1322
|
-
const
|
|
1423
|
+
const gn = { render: hn }, kr = {
|
|
1323
1424
|
__name: "ErrorNotice",
|
|
1324
1425
|
props: {
|
|
1325
1426
|
error: {
|
|
@@ -1328,14 +1429,14 @@ const Zo = { render: Xo }, rr = {
|
|
|
1328
1429
|
}
|
|
1329
1430
|
},
|
|
1330
1431
|
setup(t) {
|
|
1331
|
-
const e = t, { t: o, hasTranslation: n } = Z(),
|
|
1332
|
-
var
|
|
1333
|
-
return n(`errors.${e.error.key}`) ? o(`errors.${e.error.key}`, e.error.cause) : `${e.error.key}: ${(
|
|
1432
|
+
const e = t, { t: o, hasTranslation: n } = Z(), r = q("error-notice"), s = $(() => {
|
|
1433
|
+
var i;
|
|
1434
|
+
return n(`errors.${e.error.key}`) ? o(`errors.${e.error.key}`, e.error.cause) : `${e.error.key}: ${(i = e.error) == null ? void 0 : i.message}`;
|
|
1334
1435
|
});
|
|
1335
|
-
return (
|
|
1336
|
-
class: z(u(
|
|
1436
|
+
return (i, c) => (v(), b("div", {
|
|
1437
|
+
class: z(u(r))
|
|
1337
1438
|
}, [
|
|
1338
|
-
|
|
1439
|
+
G(u(gn), {
|
|
1339
1440
|
class: "icon",
|
|
1340
1441
|
width: "20",
|
|
1341
1442
|
height: "20"
|
|
@@ -1343,21 +1444,21 @@ const Zo = { render: Xo }, rr = {
|
|
|
1343
1444
|
w("span", null, T(s.value), 1)
|
|
1344
1445
|
], 2));
|
|
1345
1446
|
}
|
|
1346
|
-
},
|
|
1447
|
+
}, Pr = {
|
|
1347
1448
|
__name: "ErrorProvider",
|
|
1348
1449
|
setup(t) {
|
|
1349
|
-
const { message: e, hasError: o, error: n } =
|
|
1350
|
-
return (
|
|
1450
|
+
const { message: e, hasError: o, error: n } = Ee();
|
|
1451
|
+
return (r, s) => R(r.$slots, "default", {
|
|
1351
1452
|
message: u(e),
|
|
1352
1453
|
error: u(n),
|
|
1353
1454
|
hasError: u(o)
|
|
1354
1455
|
});
|
|
1355
1456
|
}
|
|
1356
|
-
},
|
|
1457
|
+
}, yn = {
|
|
1357
1458
|
"undefined-column": "A(z) {column} oszlop nem létezik!",
|
|
1358
1459
|
"invalid-season-name": "Érvénytelen szezon név",
|
|
1359
1460
|
"api-key-not-found": "API Kulcs nem megfelelő"
|
|
1360
|
-
},
|
|
1461
|
+
}, vn = {
|
|
1361
1462
|
loading: "Töltődés...",
|
|
1362
1463
|
noData: "Nincs megjeleníthető adat",
|
|
1363
1464
|
selectTimezone: "*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",
|
|
@@ -1368,7 +1469,7 @@ const Zo = { render: Xo }, rr = {
|
|
|
1368
1469
|
all: "Mind",
|
|
1369
1470
|
report: "Jegyzőkönyv",
|
|
1370
1471
|
video: "Videó"
|
|
1371
|
-
},
|
|
1472
|
+
}, wn = {
|
|
1372
1473
|
inheritedPoints: {
|
|
1373
1474
|
prependix: "A megelőző bajnokság szakaszban elért eredménye alapján",
|
|
1374
1475
|
content: "{team} csapata {points}",
|
|
@@ -1379,7 +1480,7 @@ const Zo = { render: Xo }, rr = {
|
|
|
1379
1480
|
content: "{team} csapatától {points} pont",
|
|
1380
1481
|
appendix: "levonva."
|
|
1381
1482
|
}
|
|
1382
|
-
},
|
|
1483
|
+
}, bn = {
|
|
1383
1484
|
blank: "#",
|
|
1384
1485
|
team: {
|
|
1385
1486
|
short: "Csapat",
|
|
@@ -1701,7 +1802,7 @@ const Zo = { render: Xo }, rr = {
|
|
|
1701
1802
|
short: "#",
|
|
1702
1803
|
tooltip: "Végeredmény típusa"
|
|
1703
1804
|
}
|
|
1704
|
-
},
|
|
1805
|
+
}, xn = {
|
|
1705
1806
|
data: {
|
|
1706
1807
|
localTime: "Helyszín szerinti idő"
|
|
1707
1808
|
},
|
|
@@ -1750,17 +1851,17 @@ const Zo = { render: Xo }, rr = {
|
|
|
1750
1851
|
Végeredmény: "Végeredmény",
|
|
1751
1852
|
Szétlövés: "Szétlövés"
|
|
1752
1853
|
}
|
|
1753
|
-
},
|
|
1754
|
-
errors:
|
|
1755
|
-
common:
|
|
1756
|
-
additionalText:
|
|
1757
|
-
table:
|
|
1758
|
-
game:
|
|
1759
|
-
},
|
|
1854
|
+
}, Tn = {
|
|
1855
|
+
errors: yn,
|
|
1856
|
+
common: vn,
|
|
1857
|
+
additionalText: wn,
|
|
1858
|
+
table: bn,
|
|
1859
|
+
game: xn
|
|
1860
|
+
}, kn = {
|
|
1760
1861
|
"undefined-column": "The {column} column is not exists!",
|
|
1761
1862
|
"invalid-season-name": "Invalid season name",
|
|
1762
1863
|
"api-key-not-found": "API Key not found"
|
|
1763
|
-
},
|
|
1864
|
+
}, Pn = {
|
|
1764
1865
|
loading: "Loading...",
|
|
1765
1866
|
noData: "No data to display",
|
|
1766
1867
|
selectTimezone: "*All times are displayed according to your computer's time zone ({timezone}). Change: ",
|
|
@@ -1771,7 +1872,7 @@ const Zo = { render: Xo }, rr = {
|
|
|
1771
1872
|
all: "All",
|
|
1772
1873
|
report: "Report Sheet",
|
|
1773
1874
|
video: "Video"
|
|
1774
|
-
},
|
|
1875
|
+
}, Sn = {
|
|
1775
1876
|
inheritedPoints: {
|
|
1776
1877
|
prependix: "",
|
|
1777
1878
|
content: "{team} has {points} extra point(s)",
|
|
@@ -1782,7 +1883,7 @@ const Zo = { render: Xo }, rr = {
|
|
|
1782
1883
|
content: "{points} point(s) deducted from team {team}",
|
|
1783
1884
|
appendix: "based on the decision of the Disciplinary Committee."
|
|
1784
1885
|
}
|
|
1785
|
-
},
|
|
1886
|
+
}, _n = {
|
|
1786
1887
|
blank: "#",
|
|
1787
1888
|
team: {
|
|
1788
1889
|
short: "Team",
|
|
@@ -2104,7 +2205,7 @@ const Zo = { render: Xo }, rr = {
|
|
|
2104
2205
|
short: "#",
|
|
2105
2206
|
tooltip: "Result Type"
|
|
2106
2207
|
}
|
|
2107
|
-
},
|
|
2208
|
+
}, An = {
|
|
2108
2209
|
data: {
|
|
2109
2210
|
localTime: "Game local time"
|
|
2110
2211
|
},
|
|
@@ -2152,18 +2253,18 @@ const Zo = { render: Xo }, rr = {
|
|
|
2152
2253
|
Végeredmény: "Game Completed",
|
|
2153
2254
|
Szétlövés: "Shoot Out"
|
|
2154
2255
|
}
|
|
2155
|
-
},
|
|
2156
|
-
errors:
|
|
2157
|
-
common:
|
|
2158
|
-
additionalText:
|
|
2159
|
-
table:
|
|
2160
|
-
game:
|
|
2161
|
-
},
|
|
2256
|
+
}, zn = {
|
|
2257
|
+
errors: kn,
|
|
2258
|
+
common: Pn,
|
|
2259
|
+
additionalText: Sn,
|
|
2260
|
+
table: _n,
|
|
2261
|
+
game: An
|
|
2262
|
+
}, $n = (t, e) => {
|
|
2162
2263
|
const o = t.__vccOpts || t;
|
|
2163
|
-
for (const [n,
|
|
2164
|
-
o[n] =
|
|
2264
|
+
for (const [n, r] of e)
|
|
2265
|
+
o[n] = r;
|
|
2165
2266
|
return o;
|
|
2166
|
-
},
|
|
2267
|
+
}, Cn = Zt({
|
|
2167
2268
|
props: {
|
|
2168
2269
|
locale: {
|
|
2169
2270
|
type: String,
|
|
@@ -2175,8 +2276,8 @@ const Zo = { render: Xo }, rr = {
|
|
|
2175
2276
|
}
|
|
2176
2277
|
},
|
|
2177
2278
|
setup(t) {
|
|
2178
|
-
const e =
|
|
2179
|
-
locale:
|
|
2279
|
+
const e = no({ hu: Tn, en: zn }, t.messages), { translate: o } = Ie({
|
|
2280
|
+
locale: $(() => t.locale),
|
|
2180
2281
|
messages: e
|
|
2181
2282
|
});
|
|
2182
2283
|
return {
|
|
@@ -2184,10 +2285,10 @@ const Zo = { render: Xo }, rr = {
|
|
|
2184
2285
|
};
|
|
2185
2286
|
}
|
|
2186
2287
|
});
|
|
2187
|
-
function
|
|
2188
|
-
return
|
|
2288
|
+
function On(t, e, o, n, r, s) {
|
|
2289
|
+
return R(t.$slots, "default", { t: t.translate });
|
|
2189
2290
|
}
|
|
2190
|
-
const
|
|
2291
|
+
const Sr = /* @__PURE__ */ $n(Cn, [["render", On]]), Gn = ["src"], En = ["src", "title"], st = /* @__PURE__ */ Object.assign({
|
|
2191
2292
|
inheritAttrs: !1
|
|
2192
2293
|
}, {
|
|
2193
2294
|
__name: "Image",
|
|
@@ -2206,48 +2307,49 @@ const ir = /* @__PURE__ */ mn(pn, [["render", fn]]), hn = ["src"], gn = ["src",
|
|
|
2206
2307
|
}
|
|
2207
2308
|
},
|
|
2208
2309
|
setup(t) {
|
|
2209
|
-
const e = t, { defaultSrc: o } =
|
|
2210
|
-
return (
|
|
2211
|
-
u(
|
|
2310
|
+
const e = t, { defaultSrc: o } = It(e), n = C({ src: e.src }), { error: r, isReady: s } = Re(n, { resetOnExecute: !1, shallow: !1 });
|
|
2311
|
+
return (i, c) => (v(), b(M, null, [
|
|
2312
|
+
u(r) && u(o) ? (v(), b("img", {
|
|
2212
2313
|
key: 0,
|
|
2213
2314
|
src: u(o),
|
|
2214
|
-
class: z(["is-loaded is-default",
|
|
2215
|
-
}, null, 10,
|
|
2216
|
-
u(
|
|
2315
|
+
class: z(["is-loaded is-default", i.$attrs.class])
|
|
2316
|
+
}, null, 10, Gn)) : _("", !0),
|
|
2317
|
+
u(r) ? _("", !0) : (v(), b("img", {
|
|
2217
2318
|
key: 1,
|
|
2218
2319
|
src: n.value.src,
|
|
2219
|
-
class: z([
|
|
2220
|
-
title: e.title
|
|
2221
|
-
|
|
2320
|
+
class: z([i.$attrs.class, { "is-loaded": u(s) }]),
|
|
2321
|
+
title: e.title,
|
|
2322
|
+
loading: "lazy"
|
|
2323
|
+
}, null, 10, En))
|
|
2222
2324
|
], 64));
|
|
2223
2325
|
}
|
|
2224
|
-
}),
|
|
2326
|
+
}), In = { style: { "text-align": "center" } }, ge = {
|
|
2225
2327
|
__name: "LoadingIndicator",
|
|
2226
2328
|
setup(t) {
|
|
2227
2329
|
const { t: e } = Z();
|
|
2228
|
-
return (o, n) => (v(), b("div",
|
|
2330
|
+
return (o, n) => (v(), b("div", In, T(u(e)("common.loading")), 1));
|
|
2229
2331
|
}
|
|
2230
2332
|
};
|
|
2231
|
-
function
|
|
2232
|
-
const s =
|
|
2233
|
-
const l = u(t) - 1,
|
|
2333
|
+
function Rn({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength: n = 5, update: r = Ne }) {
|
|
2334
|
+
const s = $(() => Math.ceil(u(o) / e)), i = $(() => {
|
|
2335
|
+
const l = u(t) - 1, f = Array.from({ length: s.value }, (a, p) => p + 1), y = Math.floor(n / 2);
|
|
2234
2336
|
let g = Math.max(l - y, 0);
|
|
2235
|
-
return g + n >= s.value && (g = Math.max(s.value - n, 0)),
|
|
2337
|
+
return g + n >= s.value && (g = Math.max(s.value - n, 0)), f.slice(g, g + n);
|
|
2236
2338
|
}), c = (l) => {
|
|
2237
|
-
const
|
|
2238
|
-
d(
|
|
2339
|
+
const f = u(t) + l;
|
|
2340
|
+
d(f) && r(f);
|
|
2239
2341
|
}, m = (l) => {
|
|
2240
|
-
d(l) &&
|
|
2342
|
+
d(l) && r(l);
|
|
2241
2343
|
}, d = (l) => l <= s.value && l > 0;
|
|
2242
2344
|
return {
|
|
2243
2345
|
page: t,
|
|
2244
|
-
range:
|
|
2346
|
+
range: i,
|
|
2245
2347
|
pageCount: s,
|
|
2246
2348
|
goTo: m,
|
|
2247
2349
|
pageStep: c
|
|
2248
2350
|
};
|
|
2249
2351
|
}
|
|
2250
|
-
const
|
|
2352
|
+
const Nn = {
|
|
2251
2353
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2252
2354
|
viewBox: "0 0 24 24",
|
|
2253
2355
|
fill: "none",
|
|
@@ -2255,13 +2357,13 @@ const wn = {
|
|
|
2255
2357
|
"stroke-width": "2",
|
|
2256
2358
|
"stroke-linecap": "round",
|
|
2257
2359
|
"stroke-linejoin": "round"
|
|
2258
|
-
},
|
|
2259
|
-
|
|
2360
|
+
}, Ln = /* @__PURE__ */ w("polyline", { points: "15 18 9 12 15 6" }, null, -1), Vn = [
|
|
2361
|
+
Ln
|
|
2260
2362
|
];
|
|
2261
|
-
function
|
|
2262
|
-
return v(), b("svg",
|
|
2363
|
+
function Dn(t, e) {
|
|
2364
|
+
return v(), b("svg", Nn, [...Vn]);
|
|
2263
2365
|
}
|
|
2264
|
-
const
|
|
2366
|
+
const Mn = { render: Dn }, Bn = {
|
|
2265
2367
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2266
2368
|
viewBox: "0 0 24 24",
|
|
2267
2369
|
fill: "none",
|
|
@@ -2269,21 +2371,21 @@ const kn = { render: Tn }, Pn = {
|
|
|
2269
2371
|
"stroke-width": "2",
|
|
2270
2372
|
"stroke-linecap": "round",
|
|
2271
2373
|
"stroke-linejoin": "round"
|
|
2272
|
-
},
|
|
2273
|
-
|
|
2374
|
+
}, Fn = /* @__PURE__ */ w("polyline", { points: "9 18 15 12 9 6" }, null, -1), Hn = [
|
|
2375
|
+
Fn
|
|
2274
2376
|
];
|
|
2275
|
-
function
|
|
2276
|
-
return v(), b("svg",
|
|
2377
|
+
function jn(t, e) {
|
|
2378
|
+
return v(), b("svg", Bn, [...Hn]);
|
|
2277
2379
|
}
|
|
2278
|
-
const
|
|
2380
|
+
const Wn = { render: jn }, Kn = ["disabled"], Un = ["disabled"], Yn = {
|
|
2279
2381
|
key: 1,
|
|
2280
2382
|
class: "is-disabled"
|
|
2281
|
-
},
|
|
2383
|
+
}, qn = ["disabled", "onClick"], Jn = {
|
|
2282
2384
|
key: 2,
|
|
2283
2385
|
class: "is-disabled"
|
|
2284
|
-
},
|
|
2285
|
-
|
|
2286
|
-
],
|
|
2386
|
+
}, Xn = /* @__PURE__ */ w("span", null, "...", -1), Zn = [
|
|
2387
|
+
Xn
|
|
2388
|
+
], Qn = ["disabled"], ts = ["disabled"], _r = {
|
|
2287
2389
|
__name: "Paginator",
|
|
2288
2390
|
props: {
|
|
2289
2391
|
page: {
|
|
@@ -2315,71 +2417,71 @@ const zn = { render: An }, $n = ["disabled"], Cn = ["disabled"], On = {
|
|
|
2315
2417
|
},
|
|
2316
2418
|
emits: ["change"],
|
|
2317
2419
|
setup(t, { emit: e }) {
|
|
2318
|
-
const o = t, n = e,
|
|
2319
|
-
currentPage:
|
|
2320
|
-
totalItems:
|
|
2420
|
+
const o = t, n = e, r = q("paginator"), { page: s, pageCount: i, range: c, goTo: m, pageStep: d } = Rn({
|
|
2421
|
+
currentPage: $(() => o.page),
|
|
2422
|
+
totalItems: $(() => o.totalItems),
|
|
2321
2423
|
itemsPerPage: o.itemsPerPage,
|
|
2322
2424
|
rangeLength: o.rangeLength,
|
|
2323
2425
|
update: (l) => n("change", l)
|
|
2324
2426
|
});
|
|
2325
|
-
return (l,
|
|
2427
|
+
return (l, f) => u(i) > 1 ? (v(), b("div", {
|
|
2326
2428
|
key: 0,
|
|
2327
|
-
class: z(u(
|
|
2429
|
+
class: z(u(r))
|
|
2328
2430
|
}, [
|
|
2329
2431
|
w("button", {
|
|
2330
2432
|
type: "button",
|
|
2331
2433
|
disabled: u(s) === 1,
|
|
2332
|
-
onClick:
|
|
2434
|
+
onClick: f[0] || (f[0] = (y) => u(d)(-1))
|
|
2333
2435
|
}, [
|
|
2334
|
-
|
|
2335
|
-
|
|
2436
|
+
R(l.$slots, "prev", {}, () => [
|
|
2437
|
+
G(u(Mn), { class: "icon paginator-left" })
|
|
2336
2438
|
])
|
|
2337
|
-
], 8,
|
|
2439
|
+
], 8, Kn),
|
|
2338
2440
|
t.isCompact ? _("", !0) : (v(), b("button", {
|
|
2339
2441
|
key: 0,
|
|
2340
2442
|
type: "button",
|
|
2341
2443
|
disabled: u(s) === 1,
|
|
2342
|
-
onClick:
|
|
2343
|
-
}, "1", 8,
|
|
2344
|
-
t.isCompact ? _("", !0) : (v(), b("div",
|
|
2345
|
-
(v(!0), b(
|
|
2444
|
+
onClick: f[1] || (f[1] = (y) => u(m)(1))
|
|
2445
|
+
}, "1", 8, Un)),
|
|
2446
|
+
t.isCompact ? _("", !0) : (v(), b("div", Yn, "...")),
|
|
2447
|
+
(v(!0), b(M, null, tt(u(c), (y) => (v(), b("button", {
|
|
2346
2448
|
type: "button",
|
|
2347
2449
|
key: y,
|
|
2348
2450
|
class: z({ "is-active": y === u(s) }),
|
|
2349
2451
|
disabled: y === u(s),
|
|
2350
2452
|
onClick: (g) => u(m)(y)
|
|
2351
|
-
}, T(y), 11,
|
|
2352
|
-
t.isCompact ? _("", !0) : (v(), b("div",
|
|
2453
|
+
}, T(y), 11, qn))), 128)),
|
|
2454
|
+
t.isCompact ? _("", !0) : (v(), b("div", Jn, Zn)),
|
|
2353
2455
|
t.isCompact ? _("", !0) : (v(), b("button", {
|
|
2354
2456
|
key: 3,
|
|
2355
2457
|
type: "button",
|
|
2356
|
-
disabled: u(s) === u(
|
|
2357
|
-
onClick:
|
|
2358
|
-
}, T(u(
|
|
2458
|
+
disabled: u(s) === u(i),
|
|
2459
|
+
onClick: f[2] || (f[2] = (y) => u(m)(u(i)))
|
|
2460
|
+
}, T(u(i)), 9, Qn)),
|
|
2359
2461
|
w("button", {
|
|
2360
2462
|
type: "button",
|
|
2361
|
-
disabled: u(s) === u(
|
|
2362
|
-
onClick:
|
|
2463
|
+
disabled: u(s) === u(i),
|
|
2464
|
+
onClick: f[3] || (f[3] = it((y) => u(d)(1), ["prevent"]))
|
|
2363
2465
|
}, [
|
|
2364
|
-
|
|
2365
|
-
|
|
2466
|
+
R(l.$slots, "next", {}, () => [
|
|
2467
|
+
G(u(Wn), { class: "icon paginator-left" })
|
|
2366
2468
|
])
|
|
2367
|
-
], 8,
|
|
2469
|
+
], 8, ts)
|
|
2368
2470
|
], 2)) : _("", !0);
|
|
2369
2471
|
}
|
|
2370
|
-
},
|
|
2472
|
+
}, ye = {
|
|
2371
2473
|
__name: "ResponsiveTable",
|
|
2372
2474
|
setup(t) {
|
|
2373
|
-
const e =
|
|
2374
|
-
return (n,
|
|
2475
|
+
const e = C(null), o = q("table-responsive");
|
|
2476
|
+
return (n, r) => (v(), b("div", {
|
|
2375
2477
|
ref_key: "el",
|
|
2376
2478
|
ref: e,
|
|
2377
2479
|
class: z(u(o))
|
|
2378
2480
|
}, [
|
|
2379
|
-
|
|
2481
|
+
R(n.$slots, "default", { el: e.value })
|
|
2380
2482
|
], 2));
|
|
2381
2483
|
}
|
|
2382
|
-
},
|
|
2484
|
+
}, es = ["onClick"], Ar = {
|
|
2383
2485
|
__name: "TimezoneSelector",
|
|
2384
2486
|
props: {
|
|
2385
2487
|
locale: {
|
|
@@ -2393,51 +2495,51 @@ const zn = { render: An }, $n = ["disabled"], Cn = ["disabled"], On = {
|
|
|
2393
2495
|
},
|
|
2394
2496
|
emits: ["change"],
|
|
2395
2497
|
setup(t, { emit: e }) {
|
|
2396
|
-
const o = t, n = e, { t:
|
|
2498
|
+
const o = t, n = e, { t: r } = Z(), s = q("timezone-selector"), i = $(() => wt(/* @__PURE__ */ new Date(), null, o.locale)), c = Be(), m = $(() => Array.from(He.values()).map((l) => ({
|
|
2397
2499
|
...l,
|
|
2398
|
-
isActive:
|
|
2399
|
-
zoneOffsetName:
|
|
2500
|
+
isActive: wt(/* @__PURE__ */ new Date(), o.currentZone, o.locale) === wt(/* @__PURE__ */ new Date(), l.timezone, o.locale),
|
|
2501
|
+
zoneOffsetName: wt(/* @__PURE__ */ new Date(), l.timezone, o.locale)
|
|
2400
2502
|
}))), d = (l) => n("change", l);
|
|
2401
|
-
return (l,
|
|
2503
|
+
return (l, f) => (v(), b("div", {
|
|
2402
2504
|
class: z(u(s))
|
|
2403
2505
|
}, [
|
|
2404
|
-
|
|
2506
|
+
G(u(Le), {
|
|
2405
2507
|
path: "common.selectTimezone",
|
|
2406
2508
|
tag: "span"
|
|
2407
2509
|
}, {
|
|
2408
2510
|
timezone: k(() => [
|
|
2409
2511
|
w("a", {
|
|
2410
2512
|
href: "#",
|
|
2411
|
-
onClick:
|
|
2412
|
-
}, T(
|
|
2513
|
+
onClick: f[0] || (f[0] = it((y) => d(u(c)), ["prevent"]))
|
|
2514
|
+
}, T(i.value), 1)
|
|
2413
2515
|
]),
|
|
2414
2516
|
_: 1
|
|
2415
2517
|
}),
|
|
2416
|
-
(v(!0), b(
|
|
2518
|
+
(v(!0), b(M, null, tt(m.value, (y) => (v(), b("a", {
|
|
2417
2519
|
key: y.countryLabelKey,
|
|
2418
2520
|
href: "#",
|
|
2419
2521
|
class: z({ "is-active": y.isActive }),
|
|
2420
|
-
onClick:
|
|
2421
|
-
}, T(u(
|
|
2522
|
+
onClick: it((g) => d(y.timezone), ["prevent"])
|
|
2523
|
+
}, T(u(r)(`common.${y.countryLabelKey}`)) + " (" + T(y.zoneOffsetName) + ") ", 11, es))), 128))
|
|
2422
2524
|
], 2));
|
|
2423
2525
|
}
|
|
2424
|
-
},
|
|
2425
|
-
|
|
2426
|
-
],
|
|
2427
|
-
|
|
2428
|
-
],
|
|
2526
|
+
}, os = { class: "is-portrait-image" }, ns = { class: "is-team-name-long" }, ss = { key: 0 }, rs = /* @__PURE__ */ w("sup", null, "*", -1), is = [
|
|
2527
|
+
rs
|
|
2528
|
+
], as = { class: "is-team-name-short" }, ls = { key: 0 }, cs = /* @__PURE__ */ w("sup", null, "*", -1), ds = [
|
|
2529
|
+
cs
|
|
2530
|
+
], us = { class: "is-team-name-long" }, ms = { class: "is-team-name-short" }, fs = { class: "is-team-name-long" }, ps = { class: "is-team-name-short" }, hs = ["href"], gs = { class: "is-team-name-long" }, ys = { class: "is-team-name-short" }, vs = ["href"], ws = {
|
|
2429
2531
|
key: 0,
|
|
2430
2532
|
class: "is-text-dark"
|
|
2431
|
-
},
|
|
2533
|
+
}, bs = ["href", "target"], xs = {
|
|
2432
2534
|
key: 0,
|
|
2433
2535
|
class: "label"
|
|
2434
|
-
},
|
|
2536
|
+
}, Ts = {
|
|
2435
2537
|
key: 1,
|
|
2436
2538
|
class: "label"
|
|
2437
|
-
},
|
|
2539
|
+
}, ks = {
|
|
2438
2540
|
key: 2,
|
|
2439
2541
|
class: "label"
|
|
2440
|
-
},
|
|
2542
|
+
}, zr = {
|
|
2441
2543
|
__name: "StatisticsTable",
|
|
2442
2544
|
props: {
|
|
2443
2545
|
columns: {
|
|
@@ -2497,148 +2599,148 @@ const zn = { render: An }, $n = ["disabled"], Cn = ["disabled"], On = {
|
|
|
2497
2599
|
},
|
|
2498
2600
|
emits: ["sort"],
|
|
2499
2601
|
setup(t, { emit: e }) {
|
|
2500
|
-
const o = t, { columns: n, hideColumns:
|
|
2602
|
+
const o = t, { columns: n, hideColumns: r } = It(o), s = e, { onError: i } = Qt(), { t: c } = Z(), { columns: m, error: d } = te(
|
|
2501
2603
|
n,
|
|
2502
|
-
|
|
2503
|
-
|
|
2604
|
+
r,
|
|
2605
|
+
$(() => ({
|
|
2504
2606
|
offsetName: o.offsetName
|
|
2505
2607
|
}))
|
|
2506
2608
|
);
|
|
2507
|
-
d.value &&
|
|
2508
|
-
new
|
|
2509
|
-
...
|
|
2609
|
+
d.value && i(
|
|
2610
|
+
new oe(xt.message, {
|
|
2611
|
+
...xt.options,
|
|
2510
2612
|
cause: { column: d.value }
|
|
2511
2613
|
})
|
|
2512
2614
|
);
|
|
2513
|
-
const l = (
|
|
2514
|
-
return (
|
|
2615
|
+
const l = (f) => s("sort", f);
|
|
2616
|
+
return (f, y) => (v(), I(ye, null, {
|
|
2515
2617
|
default: k(({ el: g }) => [
|
|
2516
|
-
|
|
2618
|
+
G(he, {
|
|
2517
2619
|
columns: u(m),
|
|
2518
2620
|
sort: o.sort,
|
|
2519
2621
|
rows: o.rows,
|
|
2520
2622
|
"is-loading": t.isLoading,
|
|
2521
2623
|
"append-to": t.appendTo || g,
|
|
2522
2624
|
onSort: l
|
|
2523
|
-
},
|
|
2524
|
-
"cell-index": k(({ row:
|
|
2625
|
+
}, $e({
|
|
2626
|
+
"cell-index": k(({ row: a }) => [
|
|
2525
2627
|
w("span", {
|
|
2526
|
-
class: z(
|
|
2527
|
-
}, T(
|
|
2628
|
+
class: z(a.indexClass)
|
|
2629
|
+
}, T(a.index), 3)
|
|
2528
2630
|
]),
|
|
2529
|
-
"cell-playerPortrait": k(({ row:
|
|
2530
|
-
w("div",
|
|
2531
|
-
(v(),
|
|
2532
|
-
key:
|
|
2533
|
-
src:
|
|
2534
|
-
"default-src": u(
|
|
2631
|
+
"cell-playerPortrait": k(({ row: a }) => [
|
|
2632
|
+
w("div", os, [
|
|
2633
|
+
(v(), I(st, {
|
|
2634
|
+
key: a.player.playerId,
|
|
2635
|
+
src: a.player.picture,
|
|
2636
|
+
"default-src": u(je)
|
|
2535
2637
|
}, null, 8, ["src", "default-src"]))
|
|
2536
2638
|
])
|
|
2537
2639
|
]),
|
|
2538
|
-
"cell-teamLogo": k(({ row:
|
|
2539
|
-
var
|
|
2640
|
+
"cell-teamLogo": k(({ row: a }) => {
|
|
2641
|
+
var p, h;
|
|
2540
2642
|
return [
|
|
2541
|
-
(v(),
|
|
2643
|
+
(v(), I(st, {
|
|
2542
2644
|
class: "is-logo-image",
|
|
2543
|
-
key: ((
|
|
2544
|
-
src: (h =
|
|
2645
|
+
key: ((p = a.team) == null ? void 0 : p.id) ?? a.id,
|
|
2646
|
+
src: (h = a.team) == null ? void 0 : h.logo
|
|
2545
2647
|
}, null, 8, ["src"]))
|
|
2546
2648
|
];
|
|
2547
2649
|
}),
|
|
2548
|
-
"cell-homeTeamLogo": k(({ row:
|
|
2549
|
-
var
|
|
2650
|
+
"cell-homeTeamLogo": k(({ row: a }) => {
|
|
2651
|
+
var p, h;
|
|
2550
2652
|
return [
|
|
2551
|
-
(v(),
|
|
2653
|
+
(v(), I(st, {
|
|
2552
2654
|
class: "is-logo-image is-right",
|
|
2553
|
-
key: (
|
|
2554
|
-
src: (h =
|
|
2655
|
+
key: (p = a.homeTeam) == null ? void 0 : p.id,
|
|
2656
|
+
src: (h = a.homeTeam) == null ? void 0 : h.logo
|
|
2555
2657
|
}, null, 8, ["src"]))
|
|
2556
2658
|
];
|
|
2557
2659
|
}),
|
|
2558
|
-
"cell-awayTeamLogo": k(({ row:
|
|
2559
|
-
var
|
|
2660
|
+
"cell-awayTeamLogo": k(({ row: a }) => {
|
|
2661
|
+
var p, h;
|
|
2560
2662
|
return [
|
|
2561
|
-
(v(),
|
|
2663
|
+
(v(), I(st, {
|
|
2562
2664
|
class: "is-logo-image is-right",
|
|
2563
|
-
key: (
|
|
2564
|
-
src: (h =
|
|
2665
|
+
key: (p = a.awayTeam) == null ? void 0 : p.id,
|
|
2666
|
+
src: (h = a.awayTeam) == null ? void 0 : h.logo
|
|
2565
2667
|
}, null, 8, ["src"]))
|
|
2566
2668
|
];
|
|
2567
2669
|
}),
|
|
2568
|
-
"cell-teamName": k(({ row:
|
|
2569
|
-
var
|
|
2670
|
+
"cell-teamName": k(({ row: a }) => {
|
|
2671
|
+
var p, h;
|
|
2570
2672
|
return [
|
|
2571
|
-
w("span",
|
|
2572
|
-
|
|
2573
|
-
|
|
2673
|
+
w("span", ns, [
|
|
2674
|
+
D(T((p = a.team) == null ? void 0 : p.longName) + " ", 1),
|
|
2675
|
+
a.penaltyPoints ? (v(), b("span", ss, is)) : _("", !0)
|
|
2574
2676
|
]),
|
|
2575
|
-
w("span",
|
|
2576
|
-
|
|
2577
|
-
|
|
2677
|
+
w("span", as, [
|
|
2678
|
+
D(T((h = a.team) == null ? void 0 : h.shortName) + " ", 1),
|
|
2679
|
+
a.penaltyPoints ? (v(), b("span", ls, ds)) : _("", !0)
|
|
2578
2680
|
])
|
|
2579
2681
|
];
|
|
2580
2682
|
}),
|
|
2581
|
-
"cell-homeTeamName": k(({ row:
|
|
2582
|
-
var
|
|
2683
|
+
"cell-homeTeamName": k(({ row: a }) => {
|
|
2684
|
+
var p, h;
|
|
2583
2685
|
return [
|
|
2584
|
-
w("span",
|
|
2585
|
-
w("span",
|
|
2686
|
+
w("span", us, T((p = a.homeTeam) == null ? void 0 : p.longName), 1),
|
|
2687
|
+
w("span", ms, T((h = a.homeTeam) == null ? void 0 : h.shortName), 1)
|
|
2586
2688
|
];
|
|
2587
2689
|
}),
|
|
2588
|
-
"cell-awayTeamName": k(({ row:
|
|
2589
|
-
var
|
|
2690
|
+
"cell-awayTeamName": k(({ row: a }) => {
|
|
2691
|
+
var p, h;
|
|
2590
2692
|
return [
|
|
2591
|
-
w("span",
|
|
2592
|
-
w("span",
|
|
2693
|
+
w("span", fs, T((p = a.awayTeam) == null ? void 0 : p.longName), 1),
|
|
2694
|
+
w("span", ps, T((h = a.awayTeam) == null ? void 0 : h.shortName), 1)
|
|
2593
2695
|
];
|
|
2594
2696
|
}),
|
|
2595
|
-
"cell-location": k(({ row:
|
|
2596
|
-
var
|
|
2697
|
+
"cell-location": k(({ row: a }) => {
|
|
2698
|
+
var p;
|
|
2597
2699
|
return [
|
|
2598
|
-
|
|
2700
|
+
D(T(((p = a.location) == null ? void 0 : p.locationName) ?? ""), 1)
|
|
2599
2701
|
];
|
|
2600
2702
|
}),
|
|
2601
|
-
"cell-gameResult": k(({ row:
|
|
2602
|
-
|
|
2703
|
+
"cell-gameResult": k(({ row: a }) => [
|
|
2704
|
+
a.gameStatus === 0 ? (v(), b("span", ws, "-:-")) : (v(), b("a", {
|
|
2603
2705
|
key: 1,
|
|
2604
|
-
href: t.externalGameResolver(
|
|
2706
|
+
href: t.externalGameResolver(a),
|
|
2605
2707
|
target: t.externalGameResolverTarget,
|
|
2606
|
-
class: z({ "is-text-dark":
|
|
2607
|
-
}, T(
|
|
2708
|
+
class: z({ "is-text-dark": a.gameStatus !== 1, "is-text-accent": a.gameStatus === 1 })
|
|
2709
|
+
}, T(a.homeTeamScore) + ":" + T(a.awayTeamScore), 11, bs))
|
|
2608
2710
|
]),
|
|
2609
|
-
"cell-gameResultType": k(({ row:
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2711
|
+
"cell-gameResultType": k(({ row: a }) => [
|
|
2712
|
+
a.isOvertime ? (v(), b("span", xs, T(u(c)("common.overtimeShort")), 1)) : _("", !0),
|
|
2713
|
+
a.isShootout ? (v(), b("span", Ts, T(u(c)("common.shootoutShort")), 1)) : _("", !0),
|
|
2714
|
+
a.seriesStandings ? (v(), b("span", ks, T(a.seriesStandings), 1)) : _("", !0)
|
|
2613
2715
|
]),
|
|
2614
2716
|
loading: k(() => [
|
|
2615
|
-
|
|
2717
|
+
G(ge)
|
|
2616
2718
|
]),
|
|
2617
2719
|
_: 2
|
|
2618
2720
|
}, [
|
|
2619
2721
|
t.isTeamLinked ? {
|
|
2620
2722
|
name: "cell-teamName",
|
|
2621
|
-
fn: k(({ row:
|
|
2622
|
-
var
|
|
2723
|
+
fn: k(({ row: a }) => {
|
|
2724
|
+
var p, h;
|
|
2623
2725
|
return [
|
|
2624
2726
|
w("a", {
|
|
2625
|
-
href: t.externalTeamResolver(
|
|
2727
|
+
href: t.externalTeamResolver(a),
|
|
2626
2728
|
target: "_blank"
|
|
2627
2729
|
}, [
|
|
2628
|
-
w("span",
|
|
2629
|
-
w("span",
|
|
2630
|
-
], 8,
|
|
2730
|
+
w("span", gs, T((p = a.team) == null ? void 0 : p.longName), 1),
|
|
2731
|
+
w("span", ys, T((h = a.team) == null ? void 0 : h.shortName), 1)
|
|
2732
|
+
], 8, hs)
|
|
2631
2733
|
];
|
|
2632
2734
|
}),
|
|
2633
2735
|
key: "0"
|
|
2634
2736
|
} : void 0,
|
|
2635
2737
|
t.isPlayerLinked ? {
|
|
2636
2738
|
name: "cell-name",
|
|
2637
|
-
fn: k(({ row:
|
|
2739
|
+
fn: k(({ row: a }) => [
|
|
2638
2740
|
w("a", {
|
|
2639
|
-
href: t.externalPlayerResolver(
|
|
2741
|
+
href: t.externalPlayerResolver(a),
|
|
2640
2742
|
target: "_blank"
|
|
2641
|
-
}, T(
|
|
2743
|
+
}, T(a.name), 9, vs)
|
|
2642
2744
|
]),
|
|
2643
2745
|
key: "1"
|
|
2644
2746
|
} : void 0
|
|
@@ -2647,7 +2749,7 @@ const zn = { render: An }, $n = ["disabled"], Cn = ["disabled"], On = {
|
|
|
2647
2749
|
_: 1
|
|
2648
2750
|
}));
|
|
2649
2751
|
}
|
|
2650
|
-
},
|
|
2752
|
+
}, Ps = {
|
|
2651
2753
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2652
2754
|
viewBox: "0 0 24 24",
|
|
2653
2755
|
fill: "none",
|
|
@@ -2655,32 +2757,32 @@ const zn = { render: An }, $n = ["disabled"], Cn = ["disabled"], On = {
|
|
|
2655
2757
|
"stroke-width": "2",
|
|
2656
2758
|
"stroke-linecap": "round",
|
|
2657
2759
|
"stroke-linejoin": "round"
|
|
2658
|
-
},
|
|
2760
|
+
}, Ss = /* @__PURE__ */ w("rect", {
|
|
2659
2761
|
x: "2",
|
|
2660
2762
|
y: "3",
|
|
2661
2763
|
width: "20",
|
|
2662
2764
|
height: "14",
|
|
2663
2765
|
rx: "2",
|
|
2664
2766
|
ry: "2"
|
|
2665
|
-
}, null, -1),
|
|
2767
|
+
}, null, -1), _s = /* @__PURE__ */ w("line", {
|
|
2666
2768
|
x1: "8",
|
|
2667
2769
|
y1: "21",
|
|
2668
2770
|
x2: "16",
|
|
2669
2771
|
y2: "21"
|
|
2670
|
-
}, null, -1),
|
|
2772
|
+
}, null, -1), As = /* @__PURE__ */ w("line", {
|
|
2671
2773
|
x1: "12",
|
|
2672
2774
|
y1: "17",
|
|
2673
2775
|
x2: "12",
|
|
2674
2776
|
y2: "21"
|
|
2675
|
-
}, null, -1),
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2777
|
+
}, null, -1), zs = [
|
|
2778
|
+
Ss,
|
|
2779
|
+
_s,
|
|
2780
|
+
As
|
|
2679
2781
|
];
|
|
2680
|
-
function
|
|
2681
|
-
return v(), b("svg",
|
|
2782
|
+
function $s(t, e) {
|
|
2783
|
+
return v(), b("svg", Ps, [...zs]);
|
|
2682
2784
|
}
|
|
2683
|
-
const
|
|
2785
|
+
const Cs = { render: $s }, Os = {
|
|
2684
2786
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2685
2787
|
viewBox: "0 0 24 24",
|
|
2686
2788
|
fill: "none",
|
|
@@ -2688,27 +2790,27 @@ const ps = { render: ms }, fs = {
|
|
|
2688
2790
|
"stroke-width": "2",
|
|
2689
2791
|
"stroke-linecap": "round",
|
|
2690
2792
|
"stroke-linejoin": "round"
|
|
2691
|
-
},
|
|
2793
|
+
}, Gs = /* @__PURE__ */ w("circle", {
|
|
2692
2794
|
cx: "12",
|
|
2693
2795
|
cy: "12",
|
|
2694
2796
|
r: "1"
|
|
2695
|
-
}, null, -1),
|
|
2797
|
+
}, null, -1), Es = /* @__PURE__ */ w("circle", {
|
|
2696
2798
|
cx: "12",
|
|
2697
2799
|
cy: "5",
|
|
2698
2800
|
r: "1"
|
|
2699
|
-
}, null, -1),
|
|
2801
|
+
}, null, -1), Is = /* @__PURE__ */ w("circle", {
|
|
2700
2802
|
cx: "12",
|
|
2701
2803
|
cy: "19",
|
|
2702
2804
|
r: "1"
|
|
2703
|
-
}, null, -1),
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2805
|
+
}, null, -1), Rs = [
|
|
2806
|
+
Gs,
|
|
2807
|
+
Es,
|
|
2808
|
+
Is
|
|
2707
2809
|
];
|
|
2708
|
-
function
|
|
2709
|
-
return v(), b("svg",
|
|
2810
|
+
function Ns(t, e) {
|
|
2811
|
+
return v(), b("svg", Os, [...Rs]);
|
|
2710
2812
|
}
|
|
2711
|
-
const
|
|
2813
|
+
const Ls = { render: Ns }, Vs = {
|
|
2712
2814
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2713
2815
|
viewBox: "0 0 24 24",
|
|
2714
2816
|
fill: "none",
|
|
@@ -2716,21 +2818,21 @@ const bs = { render: ws }, xs = {
|
|
|
2716
2818
|
"stroke-width": "2",
|
|
2717
2819
|
"stroke-linecap": "round",
|
|
2718
2820
|
"stroke-linejoin": "round"
|
|
2719
|
-
},
|
|
2821
|
+
}, Ds = /* @__PURE__ */ w("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }, null, -1), Ms = /* @__PURE__ */ w("rect", {
|
|
2720
2822
|
x: "8",
|
|
2721
2823
|
y: "2",
|
|
2722
2824
|
width: "8",
|
|
2723
2825
|
height: "4",
|
|
2724
2826
|
rx: "1",
|
|
2725
2827
|
ry: "1"
|
|
2726
|
-
}, null, -1),
|
|
2727
|
-
|
|
2728
|
-
|
|
2828
|
+
}, null, -1), Bs = [
|
|
2829
|
+
Ds,
|
|
2830
|
+
Ms
|
|
2729
2831
|
];
|
|
2730
|
-
function
|
|
2731
|
-
return v(), b("svg",
|
|
2832
|
+
function Fs(t, e) {
|
|
2833
|
+
return v(), b("svg", Vs, [...Bs]);
|
|
2732
2834
|
}
|
|
2733
|
-
const
|
|
2835
|
+
const Hs = { render: Fs }, js = {
|
|
2734
2836
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2735
2837
|
viewBox: "0 0 24 24",
|
|
2736
2838
|
fill: "none",
|
|
@@ -2738,26 +2840,26 @@ const _s = { render: Ss }, As = {
|
|
|
2738
2840
|
"stroke-width": "2",
|
|
2739
2841
|
"stroke-linecap": "round",
|
|
2740
2842
|
"stroke-linejoin": "round"
|
|
2741
|
-
},
|
|
2742
|
-
|
|
2743
|
-
|
|
2843
|
+
}, Ws = /* @__PURE__ */ w("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), Ks = /* @__PURE__ */ w("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1), Us = [
|
|
2844
|
+
Ws,
|
|
2845
|
+
Ks
|
|
2744
2846
|
];
|
|
2745
|
-
function
|
|
2746
|
-
return v(), b("svg",
|
|
2847
|
+
function Ys(t, e) {
|
|
2848
|
+
return v(), b("svg", js, [...Us]);
|
|
2747
2849
|
}
|
|
2748
|
-
const
|
|
2850
|
+
const qs = { render: Ys }, Js = { class: "is-team-name-long" }, Xs = { class: "is-team-name-short" }, Zs = { class: "is-team-name-long" }, Qs = { class: "is-team-name-short" }, tr = {
|
|
2749
2851
|
key: 0,
|
|
2750
2852
|
class: "is-text-dark"
|
|
2751
|
-
},
|
|
2853
|
+
}, er = ["href", "target"], or = {
|
|
2752
2854
|
key: 0,
|
|
2753
2855
|
class: "label"
|
|
2754
|
-
},
|
|
2856
|
+
}, nr = {
|
|
2755
2857
|
key: 1,
|
|
2756
2858
|
class: "label"
|
|
2757
|
-
},
|
|
2859
|
+
}, sr = {
|
|
2758
2860
|
key: 2,
|
|
2759
2861
|
class: "label"
|
|
2760
|
-
},
|
|
2862
|
+
}, rr = { key: 1 }, ir = ["onClick", "onFocus", "onBlur"], ar = { class: "is-dropdown-menu" }, lr = ["href", "target"], cr = { key: 0 }, dr = ["href"], $r = {
|
|
2761
2863
|
__name: "ScheduleTable",
|
|
2762
2864
|
props: {
|
|
2763
2865
|
rows: {
|
|
@@ -2786,18 +2888,18 @@ const Gs = { render: Os }, Es = { class: "is-team-name-long" }, Rs = { class: "i
|
|
|
2786
2888
|
}
|
|
2787
2889
|
},
|
|
2788
2890
|
setup(t) {
|
|
2789
|
-
const e = t, o =
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2891
|
+
const e = t, o = C(null), { onError: n } = Qt(), { columns: r, error: s } = te(
|
|
2892
|
+
Ke,
|
|
2893
|
+
$(() => e.hideColumns),
|
|
2894
|
+
$(() => ({
|
|
2793
2895
|
offsetName: e.offsetName
|
|
2794
2896
|
}))
|
|
2795
2897
|
);
|
|
2796
|
-
|
|
2898
|
+
Ve(
|
|
2797
2899
|
s,
|
|
2798
2900
|
() => n(
|
|
2799
|
-
new
|
|
2800
|
-
...
|
|
2901
|
+
new oe(xt.message, {
|
|
2902
|
+
...xt.options,
|
|
2801
2903
|
cause: { column: s.value }
|
|
2802
2904
|
})
|
|
2803
2905
|
),
|
|
@@ -2805,98 +2907,98 @@ const Gs = { render: Os }, Es = { class: "is-team-name-long" }, Rs = { class: "i
|
|
|
2805
2907
|
immediate: !0
|
|
2806
2908
|
}
|
|
2807
2909
|
);
|
|
2808
|
-
const { t:
|
|
2809
|
-
return (c, m) => (v(), b(
|
|
2810
|
-
|
|
2910
|
+
const { t: i } = Z();
|
|
2911
|
+
return (c, m) => (v(), b(M, null, [
|
|
2912
|
+
G(ye, null, {
|
|
2811
2913
|
default: k(({ el: d }) => [
|
|
2812
|
-
|
|
2813
|
-
columns: u(
|
|
2914
|
+
G(he, {
|
|
2915
|
+
columns: u(r),
|
|
2814
2916
|
rows: e.rows,
|
|
2815
2917
|
"is-loading": t.isLoading,
|
|
2816
2918
|
"append-to": o.value || d
|
|
2817
2919
|
}, {
|
|
2818
2920
|
"cell-homeTeamName": k(({ row: l }) => [
|
|
2819
|
-
w("span",
|
|
2820
|
-
w("span",
|
|
2921
|
+
w("span", Js, T(l.homeTeam.longName), 1),
|
|
2922
|
+
w("span", Xs, T(l.homeTeam.shortName), 1)
|
|
2821
2923
|
]),
|
|
2822
2924
|
"cell-awayTeamName": k(({ row: l }) => [
|
|
2823
|
-
w("span",
|
|
2824
|
-
w("span",
|
|
2925
|
+
w("span", Zs, T(l.awayTeam.longName), 1),
|
|
2926
|
+
w("span", Qs, T(l.awayTeam.shortName), 1)
|
|
2825
2927
|
]),
|
|
2826
2928
|
"cell-homeTeamLogo": k(({ row: l }) => [
|
|
2827
|
-
(v(),
|
|
2929
|
+
(v(), I(st, {
|
|
2828
2930
|
class: "is-logo-image is-right",
|
|
2829
2931
|
key: l.homeTeam.id,
|
|
2830
2932
|
src: l.homeTeam.logo
|
|
2831
2933
|
}, null, 8, ["src"]))
|
|
2832
2934
|
]),
|
|
2833
2935
|
"cell-awayTeamLogo": k(({ row: l }) => [
|
|
2834
|
-
(v(),
|
|
2936
|
+
(v(), I(st, {
|
|
2835
2937
|
class: "is-logo-image is-right",
|
|
2836
2938
|
key: l.awayTeam.id,
|
|
2837
2939
|
src: l.awayTeam.logo
|
|
2838
2940
|
}, null, 8, ["src"]))
|
|
2839
2941
|
]),
|
|
2840
2942
|
"cell-gameResult": k(({ row: l }) => [
|
|
2841
|
-
l.gameStatus === 0 ? (v(), b("span",
|
|
2943
|
+
l.gameStatus === 0 ? (v(), b("span", tr, "-:-")) : (v(), b("a", {
|
|
2842
2944
|
key: 1,
|
|
2843
2945
|
href: t.externalGameResolver(l.gameId),
|
|
2844
2946
|
target: t.externalGameResolverTarget,
|
|
2845
2947
|
class: z({ "is-text-dark": l.gameStatus !== 1, "is-text-accent": l.gameStatus === 1 })
|
|
2846
|
-
}, T(l.homeTeamScore) + ":" + T(l.awayTeamScore), 11,
|
|
2948
|
+
}, T(l.homeTeamScore) + ":" + T(l.awayTeamScore), 11, er))
|
|
2847
2949
|
]),
|
|
2848
2950
|
"cell-gameResultType": k(({ row: l }) => [
|
|
2849
|
-
l.isOvertime ? (v(), b("span",
|
|
2850
|
-
l.isShootout ? (v(), b("span",
|
|
2851
|
-
l.seriesStandings ? (v(), b("span",
|
|
2951
|
+
l.isOvertime ? (v(), b("span", or, T(u(i)("common.overtimeShort")), 1)) : _("", !0),
|
|
2952
|
+
l.isShootout ? (v(), b("span", nr, T(u(i)("common.shootoutShort")), 1)) : _("", !0),
|
|
2953
|
+
l.seriesStandings ? (v(), b("span", sr, T(l.seriesStandings), 1)) : _("", !0)
|
|
2852
2954
|
]),
|
|
2853
2955
|
"cell-broadcast": k(({ row: l }) => [
|
|
2854
|
-
l.broadcast ? (v(),
|
|
2956
|
+
l.broadcast ? (v(), I(u(Cs), { key: 0 })) : (v(), b("span", rr))
|
|
2855
2957
|
]),
|
|
2856
2958
|
"cell-location": k(({ row: l }) => {
|
|
2857
|
-
var
|
|
2959
|
+
var f;
|
|
2858
2960
|
return [
|
|
2859
|
-
|
|
2961
|
+
D(T(((f = l.location) == null ? void 0 : f.locationName) ?? ""), 1)
|
|
2860
2962
|
];
|
|
2861
2963
|
}),
|
|
2862
2964
|
"cell-more": k(({ row: l }) => [
|
|
2863
|
-
|
|
2965
|
+
G(pe, {
|
|
2864
2966
|
offset: 2,
|
|
2865
2967
|
placement: "left",
|
|
2866
2968
|
theme: "content",
|
|
2867
2969
|
"append-to": d
|
|
2868
2970
|
}, {
|
|
2869
|
-
default: k(({ setRef:
|
|
2971
|
+
default: k(({ setRef: f, show: y, hide: g }) => [
|
|
2870
2972
|
w("button", {
|
|
2871
|
-
ref:
|
|
2872
|
-
onClick:
|
|
2973
|
+
ref: f,
|
|
2974
|
+
onClick: it(y, ["stop"]),
|
|
2873
2975
|
onFocus: y,
|
|
2874
2976
|
onBlur: g
|
|
2875
2977
|
}, [
|
|
2876
|
-
|
|
2877
|
-
], 40,
|
|
2978
|
+
G(u(Ls))
|
|
2979
|
+
], 40, ir)
|
|
2878
2980
|
]),
|
|
2879
2981
|
content: k(() => [
|
|
2880
|
-
w("ul",
|
|
2982
|
+
w("ul", ar, [
|
|
2881
2983
|
w("li", null, [
|
|
2882
2984
|
w("a", {
|
|
2883
2985
|
href: t.externalGameResolver(l.gameId),
|
|
2884
2986
|
class: "is-dropdown-item",
|
|
2885
2987
|
target: t.externalGameResolverTarget
|
|
2886
2988
|
}, [
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
], 8,
|
|
2989
|
+
G(u(Hs), { width: "14" }),
|
|
2990
|
+
D(" " + T(u(i)("common.report")), 1)
|
|
2991
|
+
], 8, lr)
|
|
2890
2992
|
]),
|
|
2891
|
-
l.video ? (v(), b("li",
|
|
2993
|
+
l.video ? (v(), b("li", cr, [
|
|
2892
2994
|
w("a", {
|
|
2893
2995
|
href: l.video,
|
|
2894
2996
|
class: "is-dropdown-item",
|
|
2895
2997
|
target: "_blank"
|
|
2896
2998
|
}, [
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
], 8,
|
|
2999
|
+
G(u(qs), { width: "14" }),
|
|
3000
|
+
D(" " + T(u(i)("common.video")), 1)
|
|
3001
|
+
], 8, dr)
|
|
2900
3002
|
])) : _("", !0)
|
|
2901
3003
|
])
|
|
2902
3004
|
]),
|
|
@@ -2904,7 +3006,7 @@ const Gs = { render: Os }, Es = { class: "is-team-name-long" }, Rs = { class: "i
|
|
|
2904
3006
|
}, 1032, ["append-to"])
|
|
2905
3007
|
]),
|
|
2906
3008
|
loading: k(() => [
|
|
2907
|
-
|
|
3009
|
+
G(ge)
|
|
2908
3010
|
]),
|
|
2909
3011
|
_: 2
|
|
2910
3012
|
}, 1032, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -2917,7 +3019,7 @@ const Gs = { render: Os }, Es = { class: "is-team-name-long" }, Rs = { class: "i
|
|
|
2917
3019
|
}, null, 512)
|
|
2918
3020
|
], 64));
|
|
2919
3021
|
}
|
|
2920
|
-
},
|
|
3022
|
+
}, ur = { class: "g-row g-gap-normal is-mb-5" }, mr = ["value"], fr = { key: 0 }, pr = ["onClick"], Cr = {
|
|
2921
3023
|
__name: "SeasonSelector",
|
|
2922
3024
|
props: {
|
|
2923
3025
|
seasons: {
|
|
@@ -2943,7 +3045,7 @@ const Gs = { render: Os }, Es = { class: "is-team-name-long" }, Rs = { class: "i
|
|
|
2943
3045
|
},
|
|
2944
3046
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
2945
3047
|
setup(t, { emit: e }) {
|
|
2946
|
-
const o = t, n = e, { t:
|
|
3048
|
+
const o = t, n = e, { t: r } = Z(), s = $({
|
|
2947
3049
|
get() {
|
|
2948
3050
|
return o.championshipId;
|
|
2949
3051
|
},
|
|
@@ -2951,42 +3053,42 @@ const Gs = { render: Os }, Es = { class: "is-team-name-long" }, Rs = { class: "i
|
|
|
2951
3053
|
n("onChangeSeason", c);
|
|
2952
3054
|
}
|
|
2953
3055
|
});
|
|
2954
|
-
function
|
|
3056
|
+
function i(c) {
|
|
2955
3057
|
n("onChangeSection", c);
|
|
2956
3058
|
}
|
|
2957
|
-
return (c, m) => (v(), b(
|
|
2958
|
-
w("div",
|
|
3059
|
+
return (c, m) => (v(), b(M, null, [
|
|
3060
|
+
w("div", ur, [
|
|
2959
3061
|
w("div", null, [
|
|
2960
3062
|
w("label", {
|
|
2961
3063
|
for: "season",
|
|
2962
3064
|
class: z(u(q)("label"))
|
|
2963
|
-
}, T(u(
|
|
2964
|
-
|
|
3065
|
+
}, T(u(r)("selection.season")), 3),
|
|
3066
|
+
G(to, {
|
|
2965
3067
|
id: "season",
|
|
2966
3068
|
modelValue: s.value,
|
|
2967
3069
|
"onUpdate:modelValue": m[0] || (m[0] = (d) => s.value = d)
|
|
2968
3070
|
}, {
|
|
2969
3071
|
default: k(() => [
|
|
2970
|
-
(v(!0), b(
|
|
3072
|
+
(v(!0), b(M, null, tt(t.seasons, (d) => (v(), b("option", {
|
|
2971
3073
|
key: d.championshipId,
|
|
2972
3074
|
value: d.championshipId
|
|
2973
|
-
}, T(d.seasonName), 9,
|
|
3075
|
+
}, T(d.seasonName), 9, mr))), 128))
|
|
2974
3076
|
]),
|
|
2975
3077
|
_: 1
|
|
2976
3078
|
}, 8, ["modelValue"])
|
|
2977
3079
|
]),
|
|
2978
|
-
|
|
3080
|
+
R(c.$slots, "default")
|
|
2979
3081
|
]),
|
|
2980
|
-
t.isSectionSelectionDisabled ? _("", !0) : (v(), b("div",
|
|
2981
|
-
(v(!0), b(
|
|
3082
|
+
t.isSectionSelectionDisabled ? _("", !0) : (v(), b("div", fr, [
|
|
3083
|
+
(v(!0), b(M, null, tt(t.sections, (d) => (v(), b("button", {
|
|
2982
3084
|
key: d.phaseId,
|
|
2983
|
-
onClick: (l) =>
|
|
3085
|
+
onClick: (l) => i(d),
|
|
2984
3086
|
class: z([u(q)("tab-button"), { "is-active": d.sectionId === t.sectionId }])
|
|
2985
|
-
}, T(d.sectionName), 11,
|
|
3087
|
+
}, T(d.sectionName), 11, pr))), 128))
|
|
2986
3088
|
]))
|
|
2987
3089
|
], 64));
|
|
2988
3090
|
}
|
|
2989
|
-
},
|
|
3091
|
+
}, hr = ["textContent"], Or = {
|
|
2990
3092
|
__name: "AdditionalStandingsText",
|
|
2991
3093
|
props: {
|
|
2992
3094
|
rows: {
|
|
@@ -2999,28 +3101,29 @@ const Gs = { render: Os }, Es = { class: "is-team-name-long" }, Rs = { class: "i
|
|
|
2999
3101
|
}
|
|
3000
3102
|
},
|
|
3001
3103
|
setup(t) {
|
|
3002
|
-
const e = t, o =
|
|
3104
|
+
const e = t, o = Ce(e, "rows"), { t: n, locale: r } = Z(), { isVisible: s, text: i } = De(o, e.additionalKey, n, r);
|
|
3003
3105
|
return (c, m) => u(s) ? (v(), b("div", {
|
|
3004
3106
|
key: 0,
|
|
3005
3107
|
class: "is-text-xs is-text-light is-mt-5 is-mb-5",
|
|
3006
|
-
textContent: T(u(
|
|
3007
|
-
}, null, 8,
|
|
3108
|
+
textContent: T(u(i))
|
|
3109
|
+
}, null, 8, hr)) : _("", !0);
|
|
3008
3110
|
}
|
|
3009
3111
|
};
|
|
3010
3112
|
export {
|
|
3011
|
-
|
|
3113
|
+
Sr as I,
|
|
3012
3114
|
st as _,
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3115
|
+
_r as a,
|
|
3116
|
+
he as b,
|
|
3117
|
+
to as c,
|
|
3118
|
+
kr as d,
|
|
3119
|
+
Pr as e,
|
|
3120
|
+
$r as f,
|
|
3121
|
+
pe as g,
|
|
3122
|
+
Cr as h,
|
|
3123
|
+
zr as i,
|
|
3124
|
+
ye as j,
|
|
3125
|
+
ge as k,
|
|
3126
|
+
Ar as l,
|
|
3127
|
+
Tr as m,
|
|
3128
|
+
Or as n
|
|
3026
3129
|
};
|