@mjsz-vbr-elements/core 2.41.0 → 2.43.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/columns.js +1417 -1010
- package/dist/components-DpAc0iFd.js +2969 -0
- package/dist/components.js +6 -21
- package/dist/composables-DkeAlPNN.js +988 -0
- package/dist/composables.js +4 -183
- package/dist/constants.js +11 -19
- package/dist/datetime-Dr5rQMCL.js +1416 -0
- package/dist/index.iife.js +3 -16
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +27 -196
- package/dist/props.js +63 -66
- package/dist/utils-BzouF97X.js +725 -0
- package/dist/utils.js +4 -166
- package/package.json +10 -10
- package/dist/TimezoneSelector-Cftyj2uC.js +0 -2488
- package/dist/datetime-B_IKGlWy.js +0 -1400
- package/dist/errors-AyJoolyE.js +0 -723
- package/dist/useSort-CoM4Br_9.js +0 -912
|
@@ -1,2488 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.41.0 - 14/02/2026, 07:52:33
|
|
4
|
-
* (c) 2026
|
|
5
|
-
* description: Data visualization for MJSZ VBR
|
|
6
|
-
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
|
-
*/
|
|
8
|
-
import { computed as O, ref as z, watch as Et, unref as p, getCurrentScope as Ge, onScopeDispose as Ee, getCurrentInstance as Re, onMounted as Ve, defineComponent as oe, onUnmounted as De, h as Le, toRef as Ne, createElementBlock as g, createCommentVNode as A, openBlock as h, toDisplayString as w, withDirectives as Me, renderSlot as C, vModelSelect as je, createElementVNode as v, isRef as Fe, Fragment as E, normalizeStyle as St, createVNode as I, Transition as He, withCtx as P, normalizeClass as M, createTextVNode as U, toRefs as Nt, renderList as nt, createBlock as R, withKeys as Rt, withModifiers as ht, createSlots as Be } from "vue";
|
|
9
|
-
import { n as We, e as Q, u as Ke, o as qe, h as Je, f as Ue, b as Ye, m as Ze, d as Xe, j as Qe, c as ne, a as se, w as to, i as eo } from "./useSort-CoM4Br_9.js";
|
|
10
|
-
import { SORT_STATE_ASCEND as Kt, SORT_STATE_DESCEND as qt, SORT_STATE_ORIGINAL as $t, LAZY_LOADING_STATE_DELAY as oo, DEFAULT_PORTRAIT_IMAGE_URL as no, AVAILABLE_TIMEZONES_BY_COUNTRY as so } from "./constants.js";
|
|
11
|
-
import { D as ro, o as wt, g as io } from "./datetime-B_IKGlWy.js";
|
|
12
|
-
import { COLUMNS_SCHEDULE as ao } from "./columns.js";
|
|
13
|
-
import { U as lo, W as re, X as xt } from "./errors-AyJoolyE.js";
|
|
14
|
-
function co(t) {
|
|
15
|
-
return Ge() ? (Ee(t), !0) : !1;
|
|
16
|
-
}
|
|
17
|
-
function ie(t) {
|
|
18
|
-
return typeof t == "function" ? t() : p(t);
|
|
19
|
-
}
|
|
20
|
-
const uo = typeof window < "u" && typeof document < "u";
|
|
21
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
22
|
-
const mo = (t) => t != null, It = () => {
|
|
23
|
-
};
|
|
24
|
-
function Ct(t) {
|
|
25
|
-
var e;
|
|
26
|
-
const o = ie(t);
|
|
27
|
-
return (e = o?.$el) != null ? e : o;
|
|
28
|
-
}
|
|
29
|
-
const fo = uo ? window : void 0;
|
|
30
|
-
function po() {
|
|
31
|
-
const t = z(!1);
|
|
32
|
-
return Re() && Ve(() => {
|
|
33
|
-
t.value = !0;
|
|
34
|
-
}), t;
|
|
35
|
-
}
|
|
36
|
-
function ho(t) {
|
|
37
|
-
const e = po();
|
|
38
|
-
return O(() => (e.value, !!t()));
|
|
39
|
-
}
|
|
40
|
-
function go(t, e, o = {}) {
|
|
41
|
-
const {
|
|
42
|
-
root: n,
|
|
43
|
-
rootMargin: s = "0px",
|
|
44
|
-
threshold: r = 0.1,
|
|
45
|
-
window: i = fo,
|
|
46
|
-
immediate: c = !0
|
|
47
|
-
} = o, f = ho(() => i && "IntersectionObserver" in i), d = O(() => {
|
|
48
|
-
const l = ie(t);
|
|
49
|
-
return (Array.isArray(l) ? l : [l]).map(Ct).filter(mo);
|
|
50
|
-
});
|
|
51
|
-
let a = It;
|
|
52
|
-
const u = z(c), y = f.value ? Et(
|
|
53
|
-
() => [d.value, Ct(n), u.value],
|
|
54
|
-
([l, T]) => {
|
|
55
|
-
if (a(), !u.value || !l.length)
|
|
56
|
-
return;
|
|
57
|
-
const b = new IntersectionObserver(
|
|
58
|
-
e,
|
|
59
|
-
{
|
|
60
|
-
root: Ct(T),
|
|
61
|
-
rootMargin: s,
|
|
62
|
-
threshold: r
|
|
63
|
-
}
|
|
64
|
-
);
|
|
65
|
-
l.forEach((S) => S && b.observe(S)), a = () => {
|
|
66
|
-
b.disconnect(), a = It;
|
|
67
|
-
};
|
|
68
|
-
},
|
|
69
|
-
{ immediate: c, flush: "post" }
|
|
70
|
-
) : It, m = () => {
|
|
71
|
-
a(), y(), u.value = !1;
|
|
72
|
-
};
|
|
73
|
-
return co(m), {
|
|
74
|
-
isSupported: f,
|
|
75
|
-
isActive: u,
|
|
76
|
-
pause() {
|
|
77
|
-
a(), u.value = !1;
|
|
78
|
-
},
|
|
79
|
-
resume() {
|
|
80
|
-
u.value = !0;
|
|
81
|
-
},
|
|
82
|
-
stop: m
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
const _r = oe({
|
|
86
|
-
name: "FetchMoreObserver",
|
|
87
|
-
props: ["as", "options"],
|
|
88
|
-
emits: ["intersect"],
|
|
89
|
-
setup(t, { slots: e, emit: o }) {
|
|
90
|
-
const n = z(null), { stop: s } = go(
|
|
91
|
-
n,
|
|
92
|
-
([{ isIntersecting: r }]) => {
|
|
93
|
-
r && o("intersect");
|
|
94
|
-
},
|
|
95
|
-
t.options
|
|
96
|
-
);
|
|
97
|
-
return De(s), () => {
|
|
98
|
-
if (e.default)
|
|
99
|
-
return Le(t.as || "div", { ref: n }, e.default());
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
function yo({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength: n = 5, update: s = We }) {
|
|
104
|
-
const r = O(() => Math.ceil(p(o) / e)), i = O(() => {
|
|
105
|
-
const a = p(t) - 1, u = Array.from({ length: r.value }, (l, T) => T + 1), y = Math.floor(n / 2);
|
|
106
|
-
let m = Math.max(a - y, 0);
|
|
107
|
-
return m + n >= r.value && (m = Math.max(r.value - n, 0)), u.slice(m, m + n);
|
|
108
|
-
}), c = (a) => {
|
|
109
|
-
const u = p(t) + a;
|
|
110
|
-
d(u) && s(u);
|
|
111
|
-
}, f = (a) => {
|
|
112
|
-
d(a) && s(a);
|
|
113
|
-
};
|
|
114
|
-
function d(a) {
|
|
115
|
-
return a <= r.value && a > 0;
|
|
116
|
-
}
|
|
117
|
-
return {
|
|
118
|
-
page: t,
|
|
119
|
-
range: i,
|
|
120
|
-
pageCount: r,
|
|
121
|
-
goTo: f,
|
|
122
|
-
pageStep: c
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
const vo = ["textContent"], Or = {
|
|
126
|
-
__name: "AdditionalStandingsText",
|
|
127
|
-
props: {
|
|
128
|
-
rows: {
|
|
129
|
-
type: Array,
|
|
130
|
-
default: () => []
|
|
131
|
-
},
|
|
132
|
-
additionalKey: {
|
|
133
|
-
type: String,
|
|
134
|
-
required: !0
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
setup(t) {
|
|
138
|
-
const e = t, o = Ne(e, "rows"), { t: n, locale: s } = Q(), { isVisible: r, text: i } = Ke(o, e.additionalKey, n, s);
|
|
139
|
-
return (c, f) => p(r) ? (h(), g("div", {
|
|
140
|
-
key: 0,
|
|
141
|
-
textContent: w(p(i))
|
|
142
|
-
}, null, 8, vo)) : A("", !0);
|
|
143
|
-
}
|
|
144
|
-
}, bo = {
|
|
145
|
-
__name: "BaseSelect",
|
|
146
|
-
props: {
|
|
147
|
-
modelValue: {
|
|
148
|
-
type: [String, Number],
|
|
149
|
-
default: null
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
emits: ["update:modelValue"],
|
|
153
|
-
setup(t, { emit: e }) {
|
|
154
|
-
const o = t, n = e, s = O({ get: () => o.modelValue, set: (r) => n("update:modelValue", r) });
|
|
155
|
-
return (r, i) => Me((h(), g("select", {
|
|
156
|
-
"onUpdate:modelValue": i[0] || (i[0] = (c) => s.value = c),
|
|
157
|
-
class: "base-input is-select"
|
|
158
|
-
}, [
|
|
159
|
-
C(r.$slots, "default")
|
|
160
|
-
], 512)), [
|
|
161
|
-
[je, s.value]
|
|
162
|
-
]);
|
|
163
|
-
}
|
|
164
|
-
}, wo = {
|
|
165
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
166
|
-
viewBox: "0 0 24 24",
|
|
167
|
-
fill: "none",
|
|
168
|
-
stroke: "currentColor",
|
|
169
|
-
"stroke-width": "2",
|
|
170
|
-
"stroke-linecap": "round",
|
|
171
|
-
"stroke-linejoin": "round"
|
|
172
|
-
};
|
|
173
|
-
function ae(t, e) {
|
|
174
|
-
return h(), g("svg", wo, [...e[0] || (e[0] = [
|
|
175
|
-
v("rect", {
|
|
176
|
-
x: "2",
|
|
177
|
-
y: "3",
|
|
178
|
-
width: "20",
|
|
179
|
-
height: "14",
|
|
180
|
-
rx: "2",
|
|
181
|
-
ry: "2"
|
|
182
|
-
}, null, -1),
|
|
183
|
-
v("line", {
|
|
184
|
-
x1: "8",
|
|
185
|
-
y1: "21",
|
|
186
|
-
x2: "16",
|
|
187
|
-
y2: "21"
|
|
188
|
-
}, null, -1),
|
|
189
|
-
v("line", {
|
|
190
|
-
x1: "12",
|
|
191
|
-
y1: "17",
|
|
192
|
-
x2: "12",
|
|
193
|
-
y2: "21"
|
|
194
|
-
}, null, -1)
|
|
195
|
-
])]);
|
|
196
|
-
}
|
|
197
|
-
const To = { render: ae }, So = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
198
|
-
__proto__: null,
|
|
199
|
-
default: To,
|
|
200
|
-
render: ae
|
|
201
|
-
}, Symbol.toStringTag, { value: "Module" })), xo = {
|
|
202
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
203
|
-
viewBox: "0 0 24 24",
|
|
204
|
-
fill: "none",
|
|
205
|
-
stroke: "currentColor",
|
|
206
|
-
"stroke-width": "2",
|
|
207
|
-
"stroke-linecap": "round",
|
|
208
|
-
"stroke-linejoin": "round"
|
|
209
|
-
};
|
|
210
|
-
function le(t, e) {
|
|
211
|
-
return h(), g("svg", xo, [...e[0] || (e[0] = [
|
|
212
|
-
v("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
213
|
-
])]);
|
|
214
|
-
}
|
|
215
|
-
const Po = { render: le }, Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
216
|
-
__proto__: null,
|
|
217
|
-
default: Po,
|
|
218
|
-
render: le
|
|
219
|
-
}, Symbol.toStringTag, { value: "Module" })), ko = {
|
|
220
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
221
|
-
viewBox: "0 0 24 24",
|
|
222
|
-
fill: "none",
|
|
223
|
-
stroke: "currentColor",
|
|
224
|
-
"stroke-width": "2",
|
|
225
|
-
"stroke-linecap": "round",
|
|
226
|
-
"stroke-linejoin": "round"
|
|
227
|
-
};
|
|
228
|
-
function ce(t, e) {
|
|
229
|
-
return h(), g("svg", ko, [...e[0] || (e[0] = [
|
|
230
|
-
v("circle", {
|
|
231
|
-
cx: "12",
|
|
232
|
-
cy: "12",
|
|
233
|
-
r: "1"
|
|
234
|
-
}, null, -1),
|
|
235
|
-
v("circle", {
|
|
236
|
-
cx: "12",
|
|
237
|
-
cy: "5",
|
|
238
|
-
r: "1"
|
|
239
|
-
}, null, -1),
|
|
240
|
-
v("circle", {
|
|
241
|
-
cx: "12",
|
|
242
|
-
cy: "19",
|
|
243
|
-
r: "1"
|
|
244
|
-
}, null, -1)
|
|
245
|
-
])]);
|
|
246
|
-
}
|
|
247
|
-
const _o = { render: ce }, Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
248
|
-
__proto__: null,
|
|
249
|
-
default: _o,
|
|
250
|
-
render: ce
|
|
251
|
-
}, Symbol.toStringTag, { value: "Module" })), zo = {
|
|
252
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
253
|
-
viewBox: "0 0 24 24",
|
|
254
|
-
fill: "none",
|
|
255
|
-
stroke: "currentColor",
|
|
256
|
-
"stroke-width": "2",
|
|
257
|
-
"stroke-linecap": "round",
|
|
258
|
-
"stroke-linejoin": "round"
|
|
259
|
-
};
|
|
260
|
-
function de(t, e) {
|
|
261
|
-
return h(), g("svg", zo, [...e[0] || (e[0] = [
|
|
262
|
-
v("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
263
|
-
])]);
|
|
264
|
-
}
|
|
265
|
-
const $o = { render: de }, Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
266
|
-
__proto__: null,
|
|
267
|
-
default: $o,
|
|
268
|
-
render: de
|
|
269
|
-
}, Symbol.toStringTag, { value: "Module" })), Co = {
|
|
270
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
271
|
-
viewBox: "0 0 24 24",
|
|
272
|
-
fill: "none",
|
|
273
|
-
stroke: "currentColor",
|
|
274
|
-
"stroke-width": "2",
|
|
275
|
-
"stroke-linecap": "round",
|
|
276
|
-
"stroke-linejoin": "round"
|
|
277
|
-
};
|
|
278
|
-
function ue(t, e) {
|
|
279
|
-
return h(), g("svg", Co, [...e[0] || (e[0] = [
|
|
280
|
-
v("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),
|
|
281
|
-
v("rect", {
|
|
282
|
-
x: "8",
|
|
283
|
-
y: "2",
|
|
284
|
-
width: "8",
|
|
285
|
-
height: "4",
|
|
286
|
-
rx: "1",
|
|
287
|
-
ry: "1"
|
|
288
|
-
}, null, -1)
|
|
289
|
-
])]);
|
|
290
|
-
}
|
|
291
|
-
const Go = { render: ue }, Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
292
|
-
__proto__: null,
|
|
293
|
-
default: Go,
|
|
294
|
-
render: ue
|
|
295
|
-
}, Symbol.toStringTag, { value: "Module" })), Ro = {
|
|
296
|
-
"aria-hidden": "true",
|
|
297
|
-
focusable: "false",
|
|
298
|
-
"data-prefix": "fas",
|
|
299
|
-
"data-icon": "sort",
|
|
300
|
-
class: "svg-inline--fa fa-sort fa-w-10",
|
|
301
|
-
role: "img",
|
|
302
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
303
|
-
viewBox: "0 0 320 512"
|
|
304
|
-
};
|
|
305
|
-
function me(t, e) {
|
|
306
|
-
return h(), g("svg", Ro, [...e[0] || (e[0] = [
|
|
307
|
-
v("path", {
|
|
308
|
-
fill: "currentColor",
|
|
309
|
-
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"
|
|
310
|
-
}, null, -1)
|
|
311
|
-
])]);
|
|
312
|
-
}
|
|
313
|
-
const Vo = { render: me }, Jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
314
|
-
__proto__: null,
|
|
315
|
-
default: Vo,
|
|
316
|
-
render: me
|
|
317
|
-
}, Symbol.toStringTag, { value: "Module" })), Do = {
|
|
318
|
-
"aria-hidden": "true",
|
|
319
|
-
focusable: "false",
|
|
320
|
-
"data-prefix": "fas",
|
|
321
|
-
"data-icon": "sort-down",
|
|
322
|
-
class: "svg-inline--fa fa-sort-down fa-w-10",
|
|
323
|
-
role: "img",
|
|
324
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
325
|
-
viewBox: "0 0 320 512"
|
|
326
|
-
};
|
|
327
|
-
function fe(t, e) {
|
|
328
|
-
return h(), g("svg", Do, [...e[0] || (e[0] = [
|
|
329
|
-
v("path", {
|
|
330
|
-
fill: "currentColor",
|
|
331
|
-
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"
|
|
332
|
-
}, null, -1)
|
|
333
|
-
])]);
|
|
334
|
-
}
|
|
335
|
-
const Lo = { render: fe }, No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
336
|
-
__proto__: null,
|
|
337
|
-
default: Lo,
|
|
338
|
-
render: fe
|
|
339
|
-
}, Symbol.toStringTag, { value: "Module" })), Mo = {
|
|
340
|
-
"aria-hidden": "true",
|
|
341
|
-
focusable: "false",
|
|
342
|
-
"data-prefix": "fas",
|
|
343
|
-
"data-icon": "sort-up",
|
|
344
|
-
class: "svg-inline--fa fa-sort-up fa-w-10",
|
|
345
|
-
role: "img",
|
|
346
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
347
|
-
viewBox: "0 0 320 512"
|
|
348
|
-
};
|
|
349
|
-
function pe(t, e) {
|
|
350
|
-
return h(), g("svg", Mo, [...e[0] || (e[0] = [
|
|
351
|
-
v("path", {
|
|
352
|
-
fill: "currentColor",
|
|
353
|
-
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"
|
|
354
|
-
}, null, -1)
|
|
355
|
-
])]);
|
|
356
|
-
}
|
|
357
|
-
const jo = { render: pe }, Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
358
|
-
__proto__: null,
|
|
359
|
-
default: jo,
|
|
360
|
-
render: pe
|
|
361
|
-
}, Symbol.toStringTag, { value: "Module" })), Ho = {
|
|
362
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
363
|
-
viewBox: "0 0 24 24",
|
|
364
|
-
fill: "none",
|
|
365
|
-
stroke: "currentColor",
|
|
366
|
-
"stroke-width": "2",
|
|
367
|
-
"stroke-linecap": "round",
|
|
368
|
-
"stroke-linejoin": "round"
|
|
369
|
-
};
|
|
370
|
-
function he(t, e) {
|
|
371
|
-
return h(), g("svg", Ho, [...e[0] || (e[0] = [
|
|
372
|
-
v("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),
|
|
373
|
-
v("line", {
|
|
374
|
-
x1: "12",
|
|
375
|
-
y1: "9",
|
|
376
|
-
x2: "12",
|
|
377
|
-
y2: "13"
|
|
378
|
-
}, null, -1),
|
|
379
|
-
v("line", {
|
|
380
|
-
x1: "12",
|
|
381
|
-
y1: "17",
|
|
382
|
-
x2: "12.01",
|
|
383
|
-
y2: "17"
|
|
384
|
-
}, null, -1)
|
|
385
|
-
])]);
|
|
386
|
-
}
|
|
387
|
-
const Bo = { render: he }, Wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
388
|
-
__proto__: null,
|
|
389
|
-
default: Bo,
|
|
390
|
-
render: he
|
|
391
|
-
}, Symbol.toStringTag, { value: "Module" })), Ko = {
|
|
392
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
393
|
-
viewBox: "0 0 24 24",
|
|
394
|
-
fill: "none",
|
|
395
|
-
stroke: "currentColor",
|
|
396
|
-
"stroke-width": "2",
|
|
397
|
-
"stroke-linecap": "round",
|
|
398
|
-
"stroke-linejoin": "round"
|
|
399
|
-
};
|
|
400
|
-
function ge(t, e) {
|
|
401
|
-
return h(), g("svg", Ko, [...e[0] || (e[0] = [
|
|
402
|
-
v("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),
|
|
403
|
-
v("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
404
|
-
])]);
|
|
405
|
-
}
|
|
406
|
-
const qo = { render: ge }, Jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
407
|
-
__proto__: null,
|
|
408
|
-
default: qo,
|
|
409
|
-
render: ge
|
|
410
|
-
}, Symbol.toStringTag, { value: "Module" })), ct = Math.min, st = Math.max, Pt = Math.round, Tt = Math.floor, H = (t) => ({
|
|
411
|
-
x: t,
|
|
412
|
-
y: t
|
|
413
|
-
}), Uo = {
|
|
414
|
-
left: "right",
|
|
415
|
-
right: "left",
|
|
416
|
-
bottom: "top",
|
|
417
|
-
top: "bottom"
|
|
418
|
-
}, Yo = {
|
|
419
|
-
start: "end",
|
|
420
|
-
end: "start"
|
|
421
|
-
};
|
|
422
|
-
function Vt(t, e, o) {
|
|
423
|
-
return st(t, ct(e, o));
|
|
424
|
-
}
|
|
425
|
-
function yt(t, e) {
|
|
426
|
-
return typeof t == "function" ? t(e) : t;
|
|
427
|
-
}
|
|
428
|
-
function rt(t) {
|
|
429
|
-
return t.split("-")[0];
|
|
430
|
-
}
|
|
431
|
-
function vt(t) {
|
|
432
|
-
return t.split("-")[1];
|
|
433
|
-
}
|
|
434
|
-
function ye(t) {
|
|
435
|
-
return t === "x" ? "y" : "x";
|
|
436
|
-
}
|
|
437
|
-
function Mt(t) {
|
|
438
|
-
return t === "y" ? "height" : "width";
|
|
439
|
-
}
|
|
440
|
-
const Zo = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
441
|
-
function Z(t) {
|
|
442
|
-
return Zo.has(rt(t)) ? "y" : "x";
|
|
443
|
-
}
|
|
444
|
-
function jt(t) {
|
|
445
|
-
return ye(Z(t));
|
|
446
|
-
}
|
|
447
|
-
function Xo(t, e, o) {
|
|
448
|
-
o === void 0 && (o = !1);
|
|
449
|
-
const n = vt(t), s = jt(t), r = Mt(s);
|
|
450
|
-
let i = s === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
451
|
-
return e.reference[r] > e.floating[r] && (i = At(i)), [i, At(i)];
|
|
452
|
-
}
|
|
453
|
-
function Qo(t) {
|
|
454
|
-
const e = At(t);
|
|
455
|
-
return [Dt(t), e, Dt(e)];
|
|
456
|
-
}
|
|
457
|
-
function Dt(t) {
|
|
458
|
-
return t.replace(/start|end/g, (e) => Yo[e]);
|
|
459
|
-
}
|
|
460
|
-
const Ut = ["left", "right"], Yt = ["right", "left"], tn = ["top", "bottom"], en = ["bottom", "top"];
|
|
461
|
-
function on(t, e, o) {
|
|
462
|
-
switch (t) {
|
|
463
|
-
case "top":
|
|
464
|
-
case "bottom":
|
|
465
|
-
return o ? e ? Yt : Ut : e ? Ut : Yt;
|
|
466
|
-
case "left":
|
|
467
|
-
case "right":
|
|
468
|
-
return e ? tn : en;
|
|
469
|
-
default:
|
|
470
|
-
return [];
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
function nn(t, e, o, n) {
|
|
474
|
-
const s = vt(t);
|
|
475
|
-
let r = on(rt(t), o === "start", n);
|
|
476
|
-
return s && (r = r.map((i) => i + "-" + s), e && (r = r.concat(r.map(Dt)))), r;
|
|
477
|
-
}
|
|
478
|
-
function At(t) {
|
|
479
|
-
return t.replace(/left|right|bottom|top/g, (e) => Uo[e]);
|
|
480
|
-
}
|
|
481
|
-
function sn(t) {
|
|
482
|
-
return {
|
|
483
|
-
top: 0,
|
|
484
|
-
right: 0,
|
|
485
|
-
bottom: 0,
|
|
486
|
-
left: 0,
|
|
487
|
-
...t
|
|
488
|
-
};
|
|
489
|
-
}
|
|
490
|
-
function ve(t) {
|
|
491
|
-
return typeof t != "number" ? sn(t) : {
|
|
492
|
-
top: t,
|
|
493
|
-
right: t,
|
|
494
|
-
bottom: t,
|
|
495
|
-
left: t
|
|
496
|
-
};
|
|
497
|
-
}
|
|
498
|
-
function kt(t) {
|
|
499
|
-
const {
|
|
500
|
-
x: e,
|
|
501
|
-
y: o,
|
|
502
|
-
width: n,
|
|
503
|
-
height: s
|
|
504
|
-
} = t;
|
|
505
|
-
return {
|
|
506
|
-
width: n,
|
|
507
|
-
height: s,
|
|
508
|
-
top: o,
|
|
509
|
-
left: e,
|
|
510
|
-
right: e + n,
|
|
511
|
-
bottom: o + s,
|
|
512
|
-
x: e,
|
|
513
|
-
y: o
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
function Zt(t, e, o) {
|
|
517
|
-
let {
|
|
518
|
-
reference: n,
|
|
519
|
-
floating: s
|
|
520
|
-
} = t;
|
|
521
|
-
const r = Z(e), i = jt(e), c = Mt(i), f = rt(e), d = r === "y", a = n.x + n.width / 2 - s.width / 2, u = n.y + n.height / 2 - s.height / 2, y = n[c] / 2 - s[c] / 2;
|
|
522
|
-
let m;
|
|
523
|
-
switch (f) {
|
|
524
|
-
case "top":
|
|
525
|
-
m = {
|
|
526
|
-
x: a,
|
|
527
|
-
y: n.y - s.height
|
|
528
|
-
};
|
|
529
|
-
break;
|
|
530
|
-
case "bottom":
|
|
531
|
-
m = {
|
|
532
|
-
x: a,
|
|
533
|
-
y: n.y + n.height
|
|
534
|
-
};
|
|
535
|
-
break;
|
|
536
|
-
case "right":
|
|
537
|
-
m = {
|
|
538
|
-
x: n.x + n.width,
|
|
539
|
-
y: u
|
|
540
|
-
};
|
|
541
|
-
break;
|
|
542
|
-
case "left":
|
|
543
|
-
m = {
|
|
544
|
-
x: n.x - s.width,
|
|
545
|
-
y: u
|
|
546
|
-
};
|
|
547
|
-
break;
|
|
548
|
-
default:
|
|
549
|
-
m = {
|
|
550
|
-
x: n.x,
|
|
551
|
-
y: n.y
|
|
552
|
-
};
|
|
553
|
-
}
|
|
554
|
-
switch (vt(e)) {
|
|
555
|
-
case "start":
|
|
556
|
-
m[i] -= y * (o && d ? -1 : 1);
|
|
557
|
-
break;
|
|
558
|
-
case "end":
|
|
559
|
-
m[i] += y * (o && d ? -1 : 1);
|
|
560
|
-
break;
|
|
561
|
-
}
|
|
562
|
-
return m;
|
|
563
|
-
}
|
|
564
|
-
const rn = async (t, e, o) => {
|
|
565
|
-
const {
|
|
566
|
-
placement: n = "bottom",
|
|
567
|
-
strategy: s = "absolute",
|
|
568
|
-
middleware: r = [],
|
|
569
|
-
platform: i
|
|
570
|
-
} = o, c = r.filter(Boolean), f = await (i.isRTL == null ? void 0 : i.isRTL(e));
|
|
571
|
-
let d = await i.getElementRects({
|
|
572
|
-
reference: t,
|
|
573
|
-
floating: e,
|
|
574
|
-
strategy: s
|
|
575
|
-
}), {
|
|
576
|
-
x: a,
|
|
577
|
-
y: u
|
|
578
|
-
} = Zt(d, n, f), y = n, m = {}, l = 0;
|
|
579
|
-
for (let T = 0; T < c.length; T++) {
|
|
580
|
-
const {
|
|
581
|
-
name: b,
|
|
582
|
-
fn: S
|
|
583
|
-
} = c[T], {
|
|
584
|
-
x,
|
|
585
|
-
y: k,
|
|
586
|
-
data: $,
|
|
587
|
-
reset: _
|
|
588
|
-
} = await S({
|
|
589
|
-
x: a,
|
|
590
|
-
y: u,
|
|
591
|
-
initialPlacement: n,
|
|
592
|
-
placement: y,
|
|
593
|
-
strategy: s,
|
|
594
|
-
middlewareData: m,
|
|
595
|
-
rects: d,
|
|
596
|
-
platform: i,
|
|
597
|
-
elements: {
|
|
598
|
-
reference: t,
|
|
599
|
-
floating: e
|
|
600
|
-
}
|
|
601
|
-
});
|
|
602
|
-
a = x ?? a, u = k ?? u, m = {
|
|
603
|
-
...m,
|
|
604
|
-
[b]: {
|
|
605
|
-
...m[b],
|
|
606
|
-
...$
|
|
607
|
-
}
|
|
608
|
-
}, _ && l <= 50 && (l++, typeof _ == "object" && (_.placement && (y = _.placement), _.rects && (d = _.rects === !0 ? await i.getElementRects({
|
|
609
|
-
reference: t,
|
|
610
|
-
floating: e,
|
|
611
|
-
strategy: s
|
|
612
|
-
}) : _.rects), {
|
|
613
|
-
x: a,
|
|
614
|
-
y: u
|
|
615
|
-
} = Zt(d, y, f)), T = -1);
|
|
616
|
-
}
|
|
617
|
-
return {
|
|
618
|
-
x: a,
|
|
619
|
-
y: u,
|
|
620
|
-
placement: y,
|
|
621
|
-
strategy: s,
|
|
622
|
-
middlewareData: m
|
|
623
|
-
};
|
|
624
|
-
};
|
|
625
|
-
async function be(t, e) {
|
|
626
|
-
var o;
|
|
627
|
-
e === void 0 && (e = {});
|
|
628
|
-
const {
|
|
629
|
-
x: n,
|
|
630
|
-
y: s,
|
|
631
|
-
platform: r,
|
|
632
|
-
rects: i,
|
|
633
|
-
elements: c,
|
|
634
|
-
strategy: f
|
|
635
|
-
} = t, {
|
|
636
|
-
boundary: d = "clippingAncestors",
|
|
637
|
-
rootBoundary: a = "viewport",
|
|
638
|
-
elementContext: u = "floating",
|
|
639
|
-
altBoundary: y = !1,
|
|
640
|
-
padding: m = 0
|
|
641
|
-
} = yt(e, t), l = ve(m), b = c[y ? u === "floating" ? "reference" : "floating" : u], S = kt(await r.getClippingRect({
|
|
642
|
-
element: (o = await (r.isElement == null ? void 0 : r.isElement(b))) == null || o ? b : b.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
|
|
643
|
-
boundary: d,
|
|
644
|
-
rootBoundary: a,
|
|
645
|
-
strategy: f
|
|
646
|
-
})), x = u === "floating" ? {
|
|
647
|
-
x: n,
|
|
648
|
-
y: s,
|
|
649
|
-
width: i.floating.width,
|
|
650
|
-
height: i.floating.height
|
|
651
|
-
} : i.reference, k = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), $ = await (r.isElement == null ? void 0 : r.isElement(k)) ? await (r.getScale == null ? void 0 : r.getScale(k)) || {
|
|
652
|
-
x: 1,
|
|
653
|
-
y: 1
|
|
654
|
-
} : {
|
|
655
|
-
x: 1,
|
|
656
|
-
y: 1
|
|
657
|
-
}, _ = kt(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
658
|
-
elements: c,
|
|
659
|
-
rect: x,
|
|
660
|
-
offsetParent: k,
|
|
661
|
-
strategy: f
|
|
662
|
-
}) : x);
|
|
663
|
-
return {
|
|
664
|
-
top: (S.top - _.top + l.top) / $.y,
|
|
665
|
-
bottom: (_.bottom - S.bottom + l.bottom) / $.y,
|
|
666
|
-
left: (S.left - _.left + l.left) / $.x,
|
|
667
|
-
right: (_.right - S.right + l.right) / $.x
|
|
668
|
-
};
|
|
669
|
-
}
|
|
670
|
-
const an = (t) => ({
|
|
671
|
-
name: "arrow",
|
|
672
|
-
options: t,
|
|
673
|
-
async fn(e) {
|
|
674
|
-
const {
|
|
675
|
-
x: o,
|
|
676
|
-
y: n,
|
|
677
|
-
placement: s,
|
|
678
|
-
rects: r,
|
|
679
|
-
platform: i,
|
|
680
|
-
elements: c,
|
|
681
|
-
middlewareData: f
|
|
682
|
-
} = e, {
|
|
683
|
-
element: d,
|
|
684
|
-
padding: a = 0
|
|
685
|
-
} = yt(t, e) || {};
|
|
686
|
-
if (d == null)
|
|
687
|
-
return {};
|
|
688
|
-
const u = ve(a), y = {
|
|
689
|
-
x: o,
|
|
690
|
-
y: n
|
|
691
|
-
}, m = jt(s), l = Mt(m), T = await i.getDimensions(d), b = m === "y", S = b ? "top" : "left", x = b ? "bottom" : "right", k = b ? "clientHeight" : "clientWidth", $ = r.reference[l] + r.reference[m] - y[m] - r.floating[l], _ = y[m] - r.reference[m], K = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
|
|
692
|
-
let D = K ? K[k] : 0;
|
|
693
|
-
(!D || !await (i.isElement == null ? void 0 : i.isElement(K))) && (D = c.floating[k] || r.floating[l]);
|
|
694
|
-
const mt = $ / 2 - _ / 2, tt = D / 2 - T[l] / 2 - 1, q = ct(u[S], tt), ft = ct(u[x], tt), et = q, pt = D - T[l] - ft, G = D / 2 - T[l] / 2 + mt, ot = Vt(et, G, pt), J = !f.arrow && vt(s) != null && G !== ot && r.reference[l] / 2 - (G < et ? q : ft) - T[l] / 2 < 0, L = J ? G < et ? G - et : G - pt : 0;
|
|
695
|
-
return {
|
|
696
|
-
[m]: y[m] + L,
|
|
697
|
-
data: {
|
|
698
|
-
[m]: ot,
|
|
699
|
-
centerOffset: G - ot - L,
|
|
700
|
-
...J && {
|
|
701
|
-
alignmentOffset: L
|
|
702
|
-
}
|
|
703
|
-
},
|
|
704
|
-
reset: J
|
|
705
|
-
};
|
|
706
|
-
}
|
|
707
|
-
}), ln = function(t) {
|
|
708
|
-
return t === void 0 && (t = {}), {
|
|
709
|
-
name: "flip",
|
|
710
|
-
options: t,
|
|
711
|
-
async fn(e) {
|
|
712
|
-
var o, n;
|
|
713
|
-
const {
|
|
714
|
-
placement: s,
|
|
715
|
-
middlewareData: r,
|
|
716
|
-
rects: i,
|
|
717
|
-
initialPlacement: c,
|
|
718
|
-
platform: f,
|
|
719
|
-
elements: d
|
|
720
|
-
} = e, {
|
|
721
|
-
mainAxis: a = !0,
|
|
722
|
-
crossAxis: u = !0,
|
|
723
|
-
fallbackPlacements: y,
|
|
724
|
-
fallbackStrategy: m = "bestFit",
|
|
725
|
-
fallbackAxisSideDirection: l = "none",
|
|
726
|
-
flipAlignment: T = !0,
|
|
727
|
-
...b
|
|
728
|
-
} = yt(t, e);
|
|
729
|
-
if ((o = r.arrow) != null && o.alignmentOffset)
|
|
730
|
-
return {};
|
|
731
|
-
const S = rt(s), x = Z(c), k = rt(c) === c, $ = await (f.isRTL == null ? void 0 : f.isRTL(d.floating)), _ = y || (k || !T ? [At(c)] : Qo(c)), K = l !== "none";
|
|
732
|
-
!y && K && _.push(...nn(c, T, l, $));
|
|
733
|
-
const D = [c, ..._], mt = await be(e, b), tt = [];
|
|
734
|
-
let q = ((n = r.flip) == null ? void 0 : n.overflows) || [];
|
|
735
|
-
if (a && tt.push(mt[S]), u) {
|
|
736
|
-
const G = Xo(s, i, $);
|
|
737
|
-
tt.push(mt[G[0]], mt[G[1]]);
|
|
738
|
-
}
|
|
739
|
-
if (q = [...q, {
|
|
740
|
-
placement: s,
|
|
741
|
-
overflows: tt
|
|
742
|
-
}], !tt.every((G) => G <= 0)) {
|
|
743
|
-
var ft, et;
|
|
744
|
-
const G = (((ft = r.flip) == null ? void 0 : ft.index) || 0) + 1, ot = D[G];
|
|
745
|
-
if (ot && (!(u === "alignment" ? x !== Z(ot) : !1) || // We leave the current main axis only if every placement on that axis
|
|
746
|
-
// overflows the main axis.
|
|
747
|
-
q.every((N) => N.overflows[0] > 0 && Z(N.placement) === x)))
|
|
748
|
-
return {
|
|
749
|
-
data: {
|
|
750
|
-
index: G,
|
|
751
|
-
overflows: q
|
|
752
|
-
},
|
|
753
|
-
reset: {
|
|
754
|
-
placement: ot
|
|
755
|
-
}
|
|
756
|
-
};
|
|
757
|
-
let J = (et = q.filter((L) => L.overflows[0] <= 0).sort((L, N) => L.overflows[1] - N.overflows[1])[0]) == null ? void 0 : et.placement;
|
|
758
|
-
if (!J)
|
|
759
|
-
switch (m) {
|
|
760
|
-
case "bestFit": {
|
|
761
|
-
var pt;
|
|
762
|
-
const L = (pt = q.filter((N) => {
|
|
763
|
-
if (K) {
|
|
764
|
-
const Y = Z(N.placement);
|
|
765
|
-
return Y === x || // Create a bias to the `y` side axis due to horizontal
|
|
766
|
-
// reading directions favoring greater width.
|
|
767
|
-
Y === "y";
|
|
768
|
-
}
|
|
769
|
-
return !0;
|
|
770
|
-
}).map((N) => [N.placement, N.overflows.filter((Y) => Y > 0).reduce((Y, Ce) => Y + Ce, 0)]).sort((N, Y) => N[1] - Y[1])[0]) == null ? void 0 : pt[0];
|
|
771
|
-
L && (J = L);
|
|
772
|
-
break;
|
|
773
|
-
}
|
|
774
|
-
case "initialPlacement":
|
|
775
|
-
J = c;
|
|
776
|
-
break;
|
|
777
|
-
}
|
|
778
|
-
if (s !== J)
|
|
779
|
-
return {
|
|
780
|
-
reset: {
|
|
781
|
-
placement: J
|
|
782
|
-
}
|
|
783
|
-
};
|
|
784
|
-
}
|
|
785
|
-
return {};
|
|
786
|
-
}
|
|
787
|
-
};
|
|
788
|
-
}, cn = /* @__PURE__ */ new Set(["left", "top"]);
|
|
789
|
-
async function dn(t, e) {
|
|
790
|
-
const {
|
|
791
|
-
placement: o,
|
|
792
|
-
platform: n,
|
|
793
|
-
elements: s
|
|
794
|
-
} = t, r = await (n.isRTL == null ? void 0 : n.isRTL(s.floating)), i = rt(o), c = vt(o), f = Z(o) === "y", d = cn.has(i) ? -1 : 1, a = r && f ? -1 : 1, u = yt(e, t);
|
|
795
|
-
let {
|
|
796
|
-
mainAxis: y,
|
|
797
|
-
crossAxis: m,
|
|
798
|
-
alignmentAxis: l
|
|
799
|
-
} = typeof u == "number" ? {
|
|
800
|
-
mainAxis: u,
|
|
801
|
-
crossAxis: 0,
|
|
802
|
-
alignmentAxis: null
|
|
803
|
-
} : {
|
|
804
|
-
mainAxis: u.mainAxis || 0,
|
|
805
|
-
crossAxis: u.crossAxis || 0,
|
|
806
|
-
alignmentAxis: u.alignmentAxis
|
|
807
|
-
};
|
|
808
|
-
return c && typeof l == "number" && (m = c === "end" ? l * -1 : l), f ? {
|
|
809
|
-
x: m * a,
|
|
810
|
-
y: y * d
|
|
811
|
-
} : {
|
|
812
|
-
x: y * d,
|
|
813
|
-
y: m * a
|
|
814
|
-
};
|
|
815
|
-
}
|
|
816
|
-
const un = function(t) {
|
|
817
|
-
return t === void 0 && (t = 0), {
|
|
818
|
-
name: "offset",
|
|
819
|
-
options: t,
|
|
820
|
-
async fn(e) {
|
|
821
|
-
var o, n;
|
|
822
|
-
const {
|
|
823
|
-
x: s,
|
|
824
|
-
y: r,
|
|
825
|
-
placement: i,
|
|
826
|
-
middlewareData: c
|
|
827
|
-
} = e, f = await dn(e, t);
|
|
828
|
-
return i === ((o = c.offset) == null ? void 0 : o.placement) && (n = c.arrow) != null && n.alignmentOffset ? {} : {
|
|
829
|
-
x: s + f.x,
|
|
830
|
-
y: r + f.y,
|
|
831
|
-
data: {
|
|
832
|
-
...f,
|
|
833
|
-
placement: i
|
|
834
|
-
}
|
|
835
|
-
};
|
|
836
|
-
}
|
|
837
|
-
};
|
|
838
|
-
}, mn = function(t) {
|
|
839
|
-
return t === void 0 && (t = {}), {
|
|
840
|
-
name: "shift",
|
|
841
|
-
options: t,
|
|
842
|
-
async fn(e) {
|
|
843
|
-
const {
|
|
844
|
-
x: o,
|
|
845
|
-
y: n,
|
|
846
|
-
placement: s
|
|
847
|
-
} = e, {
|
|
848
|
-
mainAxis: r = !0,
|
|
849
|
-
crossAxis: i = !1,
|
|
850
|
-
limiter: c = {
|
|
851
|
-
fn: (b) => {
|
|
852
|
-
let {
|
|
853
|
-
x: S,
|
|
854
|
-
y: x
|
|
855
|
-
} = b;
|
|
856
|
-
return {
|
|
857
|
-
x: S,
|
|
858
|
-
y: x
|
|
859
|
-
};
|
|
860
|
-
}
|
|
861
|
-
},
|
|
862
|
-
...f
|
|
863
|
-
} = yt(t, e), d = {
|
|
864
|
-
x: o,
|
|
865
|
-
y: n
|
|
866
|
-
}, a = await be(e, f), u = Z(rt(s)), y = ye(u);
|
|
867
|
-
let m = d[y], l = d[u];
|
|
868
|
-
if (r) {
|
|
869
|
-
const b = y === "y" ? "top" : "left", S = y === "y" ? "bottom" : "right", x = m + a[b], k = m - a[S];
|
|
870
|
-
m = Vt(x, m, k);
|
|
871
|
-
}
|
|
872
|
-
if (i) {
|
|
873
|
-
const b = u === "y" ? "top" : "left", S = u === "y" ? "bottom" : "right", x = l + a[b], k = l - a[S];
|
|
874
|
-
l = Vt(x, l, k);
|
|
875
|
-
}
|
|
876
|
-
const T = c.fn({
|
|
877
|
-
...e,
|
|
878
|
-
[y]: m,
|
|
879
|
-
[u]: l
|
|
880
|
-
});
|
|
881
|
-
return {
|
|
882
|
-
...T,
|
|
883
|
-
data: {
|
|
884
|
-
x: T.x - o,
|
|
885
|
-
y: T.y - n,
|
|
886
|
-
enabled: {
|
|
887
|
-
[y]: r,
|
|
888
|
-
[u]: i
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
};
|
|
892
|
-
}
|
|
893
|
-
};
|
|
894
|
-
};
|
|
895
|
-
function _t() {
|
|
896
|
-
return typeof window < "u";
|
|
897
|
-
}
|
|
898
|
-
function ut(t) {
|
|
899
|
-
return we(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
900
|
-
}
|
|
901
|
-
function V(t) {
|
|
902
|
-
var e;
|
|
903
|
-
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
904
|
-
}
|
|
905
|
-
function W(t) {
|
|
906
|
-
var e;
|
|
907
|
-
return (e = (we(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
908
|
-
}
|
|
909
|
-
function we(t) {
|
|
910
|
-
return _t() ? t instanceof Node || t instanceof V(t).Node : !1;
|
|
911
|
-
}
|
|
912
|
-
function j(t) {
|
|
913
|
-
return _t() ? t instanceof Element || t instanceof V(t).Element : !1;
|
|
914
|
-
}
|
|
915
|
-
function B(t) {
|
|
916
|
-
return _t() ? t instanceof HTMLElement || t instanceof V(t).HTMLElement : !1;
|
|
917
|
-
}
|
|
918
|
-
function Xt(t) {
|
|
919
|
-
return !_t() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof V(t).ShadowRoot;
|
|
920
|
-
}
|
|
921
|
-
const fn = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
922
|
-
function bt(t) {
|
|
923
|
-
const {
|
|
924
|
-
overflow: e,
|
|
925
|
-
overflowX: o,
|
|
926
|
-
overflowY: n,
|
|
927
|
-
display: s
|
|
928
|
-
} = F(t);
|
|
929
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + n + o) && !fn.has(s);
|
|
930
|
-
}
|
|
931
|
-
const pn = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
932
|
-
function hn(t) {
|
|
933
|
-
return pn.has(ut(t));
|
|
934
|
-
}
|
|
935
|
-
const gn = [":popover-open", ":modal"];
|
|
936
|
-
function Ot(t) {
|
|
937
|
-
return gn.some((e) => {
|
|
938
|
-
try {
|
|
939
|
-
return t.matches(e);
|
|
940
|
-
} catch {
|
|
941
|
-
return !1;
|
|
942
|
-
}
|
|
943
|
-
});
|
|
944
|
-
}
|
|
945
|
-
const yn = ["transform", "translate", "scale", "rotate", "perspective"], vn = ["transform", "translate", "scale", "rotate", "perspective", "filter"], bn = ["paint", "layout", "strict", "content"];
|
|
946
|
-
function Ft(t) {
|
|
947
|
-
const e = Ht(), o = j(t) ? F(t) : t;
|
|
948
|
-
return yn.some((n) => o[n] ? o[n] !== "none" : !1) || (o.containerType ? o.containerType !== "normal" : !1) || !e && (o.backdropFilter ? o.backdropFilter !== "none" : !1) || !e && (o.filter ? o.filter !== "none" : !1) || vn.some((n) => (o.willChange || "").includes(n)) || bn.some((n) => (o.contain || "").includes(n));
|
|
949
|
-
}
|
|
950
|
-
function wn(t) {
|
|
951
|
-
let e = X(t);
|
|
952
|
-
for (; B(e) && !dt(e); ) {
|
|
953
|
-
if (Ft(e))
|
|
954
|
-
return e;
|
|
955
|
-
if (Ot(e))
|
|
956
|
-
return null;
|
|
957
|
-
e = X(e);
|
|
958
|
-
}
|
|
959
|
-
return null;
|
|
960
|
-
}
|
|
961
|
-
function Ht() {
|
|
962
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
963
|
-
}
|
|
964
|
-
const Tn = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
965
|
-
function dt(t) {
|
|
966
|
-
return Tn.has(ut(t));
|
|
967
|
-
}
|
|
968
|
-
function F(t) {
|
|
969
|
-
return V(t).getComputedStyle(t);
|
|
970
|
-
}
|
|
971
|
-
function zt(t) {
|
|
972
|
-
return j(t) ? {
|
|
973
|
-
scrollLeft: t.scrollLeft,
|
|
974
|
-
scrollTop: t.scrollTop
|
|
975
|
-
} : {
|
|
976
|
-
scrollLeft: t.scrollX,
|
|
977
|
-
scrollTop: t.scrollY
|
|
978
|
-
};
|
|
979
|
-
}
|
|
980
|
-
function X(t) {
|
|
981
|
-
if (ut(t) === "html")
|
|
982
|
-
return t;
|
|
983
|
-
const e = (
|
|
984
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
985
|
-
t.assignedSlot || // DOM Element detected.
|
|
986
|
-
t.parentNode || // ShadowRoot detected.
|
|
987
|
-
Xt(t) && t.host || // Fallback.
|
|
988
|
-
W(t)
|
|
989
|
-
);
|
|
990
|
-
return Xt(e) ? e.host : e;
|
|
991
|
-
}
|
|
992
|
-
function Te(t) {
|
|
993
|
-
const e = X(t);
|
|
994
|
-
return dt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : B(e) && bt(e) ? e : Te(e);
|
|
995
|
-
}
|
|
996
|
-
function gt(t, e, o) {
|
|
997
|
-
var n;
|
|
998
|
-
e === void 0 && (e = []), o === void 0 && (o = !0);
|
|
999
|
-
const s = Te(t), r = s === ((n = t.ownerDocument) == null ? void 0 : n.body), i = V(s);
|
|
1000
|
-
if (r) {
|
|
1001
|
-
const c = Lt(i);
|
|
1002
|
-
return e.concat(i, i.visualViewport || [], bt(s) ? s : [], c && o ? gt(c) : []);
|
|
1003
|
-
}
|
|
1004
|
-
return e.concat(s, gt(s, [], o));
|
|
1005
|
-
}
|
|
1006
|
-
function Lt(t) {
|
|
1007
|
-
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
1008
|
-
}
|
|
1009
|
-
function Se(t) {
|
|
1010
|
-
const e = F(t);
|
|
1011
|
-
let o = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
1012
|
-
const s = B(t), r = s ? t.offsetWidth : o, i = s ? t.offsetHeight : n, c = Pt(o) !== r || Pt(n) !== i;
|
|
1013
|
-
return c && (o = r, n = i), {
|
|
1014
|
-
width: o,
|
|
1015
|
-
height: n,
|
|
1016
|
-
$: c
|
|
1017
|
-
};
|
|
1018
|
-
}
|
|
1019
|
-
function Bt(t) {
|
|
1020
|
-
return j(t) ? t : t.contextElement;
|
|
1021
|
-
}
|
|
1022
|
-
function lt(t) {
|
|
1023
|
-
const e = Bt(t);
|
|
1024
|
-
if (!B(e))
|
|
1025
|
-
return H(1);
|
|
1026
|
-
const o = e.getBoundingClientRect(), {
|
|
1027
|
-
width: n,
|
|
1028
|
-
height: s,
|
|
1029
|
-
$: r
|
|
1030
|
-
} = Se(e);
|
|
1031
|
-
let i = (r ? Pt(o.width) : o.width) / n, c = (r ? Pt(o.height) : o.height) / s;
|
|
1032
|
-
return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
1033
|
-
x: i,
|
|
1034
|
-
y: c
|
|
1035
|
-
};
|
|
1036
|
-
}
|
|
1037
|
-
const Sn = /* @__PURE__ */ H(0);
|
|
1038
|
-
function xe(t) {
|
|
1039
|
-
const e = V(t);
|
|
1040
|
-
return !Ht() || !e.visualViewport ? Sn : {
|
|
1041
|
-
x: e.visualViewport.offsetLeft,
|
|
1042
|
-
y: e.visualViewport.offsetTop
|
|
1043
|
-
};
|
|
1044
|
-
}
|
|
1045
|
-
function xn(t, e, o) {
|
|
1046
|
-
return e === void 0 && (e = !1), !o || e && o !== V(t) ? !1 : e;
|
|
1047
|
-
}
|
|
1048
|
-
function it(t, e, o, n) {
|
|
1049
|
-
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
1050
|
-
const s = t.getBoundingClientRect(), r = Bt(t);
|
|
1051
|
-
let i = H(1);
|
|
1052
|
-
e && (n ? j(n) && (i = lt(n)) : i = lt(t));
|
|
1053
|
-
const c = xn(r, o, n) ? xe(r) : H(0);
|
|
1054
|
-
let f = (s.left + c.x) / i.x, d = (s.top + c.y) / i.y, a = s.width / i.x, u = s.height / i.y;
|
|
1055
|
-
if (r) {
|
|
1056
|
-
const y = V(r), m = n && j(n) ? V(n) : n;
|
|
1057
|
-
let l = y, T = Lt(l);
|
|
1058
|
-
for (; T && n && m !== l; ) {
|
|
1059
|
-
const b = lt(T), S = T.getBoundingClientRect(), x = F(T), k = S.left + (T.clientLeft + parseFloat(x.paddingLeft)) * b.x, $ = S.top + (T.clientTop + parseFloat(x.paddingTop)) * b.y;
|
|
1060
|
-
f *= b.x, d *= b.y, a *= b.x, u *= b.y, f += k, d += $, l = V(T), T = Lt(l);
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
return kt({
|
|
1064
|
-
width: a,
|
|
1065
|
-
height: u,
|
|
1066
|
-
x: f,
|
|
1067
|
-
y: d
|
|
1068
|
-
});
|
|
1069
|
-
}
|
|
1070
|
-
function Wt(t, e) {
|
|
1071
|
-
const o = zt(t).scrollLeft;
|
|
1072
|
-
return e ? e.left + o : it(W(t)).left + o;
|
|
1073
|
-
}
|
|
1074
|
-
function Pe(t, e, o) {
|
|
1075
|
-
o === void 0 && (o = !1);
|
|
1076
|
-
const n = t.getBoundingClientRect(), s = n.left + e.scrollLeft - (o ? 0 : (
|
|
1077
|
-
// RTL <body> scrollbar.
|
|
1078
|
-
Wt(t, n)
|
|
1079
|
-
)), r = n.top + e.scrollTop;
|
|
1080
|
-
return {
|
|
1081
|
-
x: s,
|
|
1082
|
-
y: r
|
|
1083
|
-
};
|
|
1084
|
-
}
|
|
1085
|
-
function Pn(t) {
|
|
1086
|
-
let {
|
|
1087
|
-
elements: e,
|
|
1088
|
-
rect: o,
|
|
1089
|
-
offsetParent: n,
|
|
1090
|
-
strategy: s
|
|
1091
|
-
} = t;
|
|
1092
|
-
const r = s === "fixed", i = W(n), c = e ? Ot(e.floating) : !1;
|
|
1093
|
-
if (n === i || c && r)
|
|
1094
|
-
return o;
|
|
1095
|
-
let f = {
|
|
1096
|
-
scrollLeft: 0,
|
|
1097
|
-
scrollTop: 0
|
|
1098
|
-
}, d = H(1);
|
|
1099
|
-
const a = H(0), u = B(n);
|
|
1100
|
-
if ((u || !u && !r) && ((ut(n) !== "body" || bt(i)) && (f = zt(n)), B(n))) {
|
|
1101
|
-
const m = it(n);
|
|
1102
|
-
d = lt(n), a.x = m.x + n.clientLeft, a.y = m.y + n.clientTop;
|
|
1103
|
-
}
|
|
1104
|
-
const y = i && !u && !r ? Pe(i, f, !0) : H(0);
|
|
1105
|
-
return {
|
|
1106
|
-
width: o.width * d.x,
|
|
1107
|
-
height: o.height * d.y,
|
|
1108
|
-
x: o.x * d.x - f.scrollLeft * d.x + a.x + y.x,
|
|
1109
|
-
y: o.y * d.y - f.scrollTop * d.y + a.y + y.y
|
|
1110
|
-
};
|
|
1111
|
-
}
|
|
1112
|
-
function An(t) {
|
|
1113
|
-
return Array.from(t.getClientRects());
|
|
1114
|
-
}
|
|
1115
|
-
function kn(t) {
|
|
1116
|
-
const e = W(t), o = zt(t), n = t.ownerDocument.body, s = st(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), r = st(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
1117
|
-
let i = -o.scrollLeft + Wt(t);
|
|
1118
|
-
const c = -o.scrollTop;
|
|
1119
|
-
return F(n).direction === "rtl" && (i += st(e.clientWidth, n.clientWidth) - s), {
|
|
1120
|
-
width: s,
|
|
1121
|
-
height: r,
|
|
1122
|
-
x: i,
|
|
1123
|
-
y: c
|
|
1124
|
-
};
|
|
1125
|
-
}
|
|
1126
|
-
function _n(t, e) {
|
|
1127
|
-
const o = V(t), n = W(t), s = o.visualViewport;
|
|
1128
|
-
let r = n.clientWidth, i = n.clientHeight, c = 0, f = 0;
|
|
1129
|
-
if (s) {
|
|
1130
|
-
r = s.width, i = s.height;
|
|
1131
|
-
const d = Ht();
|
|
1132
|
-
(!d || d && e === "fixed") && (c = s.offsetLeft, f = s.offsetTop);
|
|
1133
|
-
}
|
|
1134
|
-
return {
|
|
1135
|
-
width: r,
|
|
1136
|
-
height: i,
|
|
1137
|
-
x: c,
|
|
1138
|
-
y: f
|
|
1139
|
-
};
|
|
1140
|
-
}
|
|
1141
|
-
const On = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
1142
|
-
function zn(t, e) {
|
|
1143
|
-
const o = it(t, !0, e === "fixed"), n = o.top + t.clientTop, s = o.left + t.clientLeft, r = B(t) ? lt(t) : H(1), i = t.clientWidth * r.x, c = t.clientHeight * r.y, f = s * r.x, d = n * r.y;
|
|
1144
|
-
return {
|
|
1145
|
-
width: i,
|
|
1146
|
-
height: c,
|
|
1147
|
-
x: f,
|
|
1148
|
-
y: d
|
|
1149
|
-
};
|
|
1150
|
-
}
|
|
1151
|
-
function Qt(t, e, o) {
|
|
1152
|
-
let n;
|
|
1153
|
-
if (e === "viewport")
|
|
1154
|
-
n = _n(t, o);
|
|
1155
|
-
else if (e === "document")
|
|
1156
|
-
n = kn(W(t));
|
|
1157
|
-
else if (j(e))
|
|
1158
|
-
n = zn(e, o);
|
|
1159
|
-
else {
|
|
1160
|
-
const s = xe(t);
|
|
1161
|
-
n = {
|
|
1162
|
-
x: e.x - s.x,
|
|
1163
|
-
y: e.y - s.y,
|
|
1164
|
-
width: e.width,
|
|
1165
|
-
height: e.height
|
|
1166
|
-
};
|
|
1167
|
-
}
|
|
1168
|
-
return kt(n);
|
|
1169
|
-
}
|
|
1170
|
-
function Ae(t, e) {
|
|
1171
|
-
const o = X(t);
|
|
1172
|
-
return o === e || !j(o) || dt(o) ? !1 : F(o).position === "fixed" || Ae(o, e);
|
|
1173
|
-
}
|
|
1174
|
-
function $n(t, e) {
|
|
1175
|
-
const o = e.get(t);
|
|
1176
|
-
if (o)
|
|
1177
|
-
return o;
|
|
1178
|
-
let n = gt(t, [], !1).filter((c) => j(c) && ut(c) !== "body"), s = null;
|
|
1179
|
-
const r = F(t).position === "fixed";
|
|
1180
|
-
let i = r ? X(t) : t;
|
|
1181
|
-
for (; j(i) && !dt(i); ) {
|
|
1182
|
-
const c = F(i), f = Ft(i);
|
|
1183
|
-
!f && c.position === "fixed" && (s = null), (r ? !f && !s : !f && c.position === "static" && !!s && On.has(s.position) || bt(i) && !f && Ae(t, i)) ? n = n.filter((a) => a !== i) : s = c, i = X(i);
|
|
1184
|
-
}
|
|
1185
|
-
return e.set(t, n), n;
|
|
1186
|
-
}
|
|
1187
|
-
function In(t) {
|
|
1188
|
-
let {
|
|
1189
|
-
element: e,
|
|
1190
|
-
boundary: o,
|
|
1191
|
-
rootBoundary: n,
|
|
1192
|
-
strategy: s
|
|
1193
|
-
} = t;
|
|
1194
|
-
const i = [...o === "clippingAncestors" ? Ot(e) ? [] : $n(e, this._c) : [].concat(o), n], c = i[0], f = i.reduce((d, a) => {
|
|
1195
|
-
const u = Qt(e, a, s);
|
|
1196
|
-
return d.top = st(u.top, d.top), d.right = ct(u.right, d.right), d.bottom = ct(u.bottom, d.bottom), d.left = st(u.left, d.left), d;
|
|
1197
|
-
}, Qt(e, c, s));
|
|
1198
|
-
return {
|
|
1199
|
-
width: f.right - f.left,
|
|
1200
|
-
height: f.bottom - f.top,
|
|
1201
|
-
x: f.left,
|
|
1202
|
-
y: f.top
|
|
1203
|
-
};
|
|
1204
|
-
}
|
|
1205
|
-
function Cn(t) {
|
|
1206
|
-
const {
|
|
1207
|
-
width: e,
|
|
1208
|
-
height: o
|
|
1209
|
-
} = Se(t);
|
|
1210
|
-
return {
|
|
1211
|
-
width: e,
|
|
1212
|
-
height: o
|
|
1213
|
-
};
|
|
1214
|
-
}
|
|
1215
|
-
function Gn(t, e, o) {
|
|
1216
|
-
const n = B(e), s = W(e), r = o === "fixed", i = it(t, !0, r, e);
|
|
1217
|
-
let c = {
|
|
1218
|
-
scrollLeft: 0,
|
|
1219
|
-
scrollTop: 0
|
|
1220
|
-
};
|
|
1221
|
-
const f = H(0);
|
|
1222
|
-
function d() {
|
|
1223
|
-
f.x = Wt(s);
|
|
1224
|
-
}
|
|
1225
|
-
if (n || !n && !r)
|
|
1226
|
-
if ((ut(e) !== "body" || bt(s)) && (c = zt(e)), n) {
|
|
1227
|
-
const m = it(e, !0, r, e);
|
|
1228
|
-
f.x = m.x + e.clientLeft, f.y = m.y + e.clientTop;
|
|
1229
|
-
} else s && d();
|
|
1230
|
-
r && !n && s && d();
|
|
1231
|
-
const a = s && !n && !r ? Pe(s, c) : H(0), u = i.left + c.scrollLeft - f.x - a.x, y = i.top + c.scrollTop - f.y - a.y;
|
|
1232
|
-
return {
|
|
1233
|
-
x: u,
|
|
1234
|
-
y,
|
|
1235
|
-
width: i.width,
|
|
1236
|
-
height: i.height
|
|
1237
|
-
};
|
|
1238
|
-
}
|
|
1239
|
-
function Gt(t) {
|
|
1240
|
-
return F(t).position === "static";
|
|
1241
|
-
}
|
|
1242
|
-
function te(t, e) {
|
|
1243
|
-
if (!B(t) || F(t).position === "fixed")
|
|
1244
|
-
return null;
|
|
1245
|
-
if (e)
|
|
1246
|
-
return e(t);
|
|
1247
|
-
let o = t.offsetParent;
|
|
1248
|
-
return W(t) === o && (o = o.ownerDocument.body), o;
|
|
1249
|
-
}
|
|
1250
|
-
function ke(t, e) {
|
|
1251
|
-
const o = V(t);
|
|
1252
|
-
if (Ot(t))
|
|
1253
|
-
return o;
|
|
1254
|
-
if (!B(t)) {
|
|
1255
|
-
let s = X(t);
|
|
1256
|
-
for (; s && !dt(s); ) {
|
|
1257
|
-
if (j(s) && !Gt(s))
|
|
1258
|
-
return s;
|
|
1259
|
-
s = X(s);
|
|
1260
|
-
}
|
|
1261
|
-
return o;
|
|
1262
|
-
}
|
|
1263
|
-
let n = te(t, e);
|
|
1264
|
-
for (; n && hn(n) && Gt(n); )
|
|
1265
|
-
n = te(n, e);
|
|
1266
|
-
return n && dt(n) && Gt(n) && !Ft(n) ? o : n || wn(t) || o;
|
|
1267
|
-
}
|
|
1268
|
-
const En = async function(t) {
|
|
1269
|
-
const e = this.getOffsetParent || ke, o = this.getDimensions, n = await o(t.floating);
|
|
1270
|
-
return {
|
|
1271
|
-
reference: Gn(t.reference, await e(t.floating), t.strategy),
|
|
1272
|
-
floating: {
|
|
1273
|
-
x: 0,
|
|
1274
|
-
y: 0,
|
|
1275
|
-
width: n.width,
|
|
1276
|
-
height: n.height
|
|
1277
|
-
}
|
|
1278
|
-
};
|
|
1279
|
-
};
|
|
1280
|
-
function Rn(t) {
|
|
1281
|
-
return F(t).direction === "rtl";
|
|
1282
|
-
}
|
|
1283
|
-
const Vn = {
|
|
1284
|
-
convertOffsetParentRelativeRectToViewportRelativeRect: Pn,
|
|
1285
|
-
getDocumentElement: W,
|
|
1286
|
-
getClippingRect: In,
|
|
1287
|
-
getOffsetParent: ke,
|
|
1288
|
-
getElementRects: En,
|
|
1289
|
-
getClientRects: An,
|
|
1290
|
-
getDimensions: Cn,
|
|
1291
|
-
getScale: lt,
|
|
1292
|
-
isElement: j,
|
|
1293
|
-
isRTL: Rn
|
|
1294
|
-
};
|
|
1295
|
-
function _e(t, e) {
|
|
1296
|
-
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
1297
|
-
}
|
|
1298
|
-
function Dn(t, e) {
|
|
1299
|
-
let o = null, n;
|
|
1300
|
-
const s = W(t);
|
|
1301
|
-
function r() {
|
|
1302
|
-
var c;
|
|
1303
|
-
clearTimeout(n), (c = o) == null || c.disconnect(), o = null;
|
|
1304
|
-
}
|
|
1305
|
-
function i(c, f) {
|
|
1306
|
-
c === void 0 && (c = !1), f === void 0 && (f = 1), r();
|
|
1307
|
-
const d = t.getBoundingClientRect(), {
|
|
1308
|
-
left: a,
|
|
1309
|
-
top: u,
|
|
1310
|
-
width: y,
|
|
1311
|
-
height: m
|
|
1312
|
-
} = d;
|
|
1313
|
-
if (c || e(), !y || !m)
|
|
1314
|
-
return;
|
|
1315
|
-
const l = Tt(u), T = Tt(s.clientWidth - (a + y)), b = Tt(s.clientHeight - (u + m)), S = Tt(a), k = {
|
|
1316
|
-
rootMargin: -l + "px " + -T + "px " + -b + "px " + -S + "px",
|
|
1317
|
-
threshold: st(0, ct(1, f)) || 1
|
|
1318
|
-
};
|
|
1319
|
-
let $ = !0;
|
|
1320
|
-
function _(K) {
|
|
1321
|
-
const D = K[0].intersectionRatio;
|
|
1322
|
-
if (D !== f) {
|
|
1323
|
-
if (!$)
|
|
1324
|
-
return i();
|
|
1325
|
-
D ? i(!1, D) : n = setTimeout(() => {
|
|
1326
|
-
i(!1, 1e-7);
|
|
1327
|
-
}, 1e3);
|
|
1328
|
-
}
|
|
1329
|
-
D === 1 && !_e(d, t.getBoundingClientRect()) && i(), $ = !1;
|
|
1330
|
-
}
|
|
1331
|
-
try {
|
|
1332
|
-
o = new IntersectionObserver(_, {
|
|
1333
|
-
...k,
|
|
1334
|
-
// Handle <iframe>s
|
|
1335
|
-
root: s.ownerDocument
|
|
1336
|
-
});
|
|
1337
|
-
} catch {
|
|
1338
|
-
o = new IntersectionObserver(_, k);
|
|
1339
|
-
}
|
|
1340
|
-
o.observe(t);
|
|
1341
|
-
}
|
|
1342
|
-
return i(!0), r;
|
|
1343
|
-
}
|
|
1344
|
-
function Ln(t, e, o, n) {
|
|
1345
|
-
n === void 0 && (n = {});
|
|
1346
|
-
const {
|
|
1347
|
-
ancestorScroll: s = !0,
|
|
1348
|
-
ancestorResize: r = !0,
|
|
1349
|
-
elementResize: i = typeof ResizeObserver == "function",
|
|
1350
|
-
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1351
|
-
animationFrame: f = !1
|
|
1352
|
-
} = n, d = Bt(t), a = s || r ? [...d ? gt(d) : [], ...gt(e)] : [];
|
|
1353
|
-
a.forEach((S) => {
|
|
1354
|
-
s && S.addEventListener("scroll", o, {
|
|
1355
|
-
passive: !0
|
|
1356
|
-
}), r && S.addEventListener("resize", o);
|
|
1357
|
-
});
|
|
1358
|
-
const u = d && c ? Dn(d, o) : null;
|
|
1359
|
-
let y = -1, m = null;
|
|
1360
|
-
i && (m = new ResizeObserver((S) => {
|
|
1361
|
-
let [x] = S;
|
|
1362
|
-
x && x.target === d && m && (m.unobserve(e), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
|
|
1363
|
-
var k;
|
|
1364
|
-
(k = m) == null || k.observe(e);
|
|
1365
|
-
})), o();
|
|
1366
|
-
}), d && !f && m.observe(d), m.observe(e));
|
|
1367
|
-
let l, T = f ? it(t) : null;
|
|
1368
|
-
f && b();
|
|
1369
|
-
function b() {
|
|
1370
|
-
const S = it(t);
|
|
1371
|
-
T && !_e(T, S) && o(), T = S, l = requestAnimationFrame(b);
|
|
1372
|
-
}
|
|
1373
|
-
return o(), () => {
|
|
1374
|
-
var S;
|
|
1375
|
-
a.forEach((x) => {
|
|
1376
|
-
s && x.removeEventListener("scroll", o), r && x.removeEventListener("resize", o);
|
|
1377
|
-
}), u?.(), (S = m) == null || S.disconnect(), m = null, f && cancelAnimationFrame(l);
|
|
1378
|
-
};
|
|
1379
|
-
}
|
|
1380
|
-
const Nn = un, Mn = mn, jn = ln, ee = an, Fn = (t, e, o) => {
|
|
1381
|
-
const n = /* @__PURE__ */ new Map(), s = {
|
|
1382
|
-
platform: Vn,
|
|
1383
|
-
...o
|
|
1384
|
-
}, r = {
|
|
1385
|
-
...s.platform,
|
|
1386
|
-
_c: n
|
|
1387
|
-
};
|
|
1388
|
-
return rn(t, e, {
|
|
1389
|
-
...s,
|
|
1390
|
-
platform: r
|
|
1391
|
-
});
|
|
1392
|
-
};
|
|
1393
|
-
function Hn({ middleware: t, placement: e = null, strategy: o, append: n, enabled: s }) {
|
|
1394
|
-
const r = z(null), i = z(null), c = z(null), f = z(null), d = z(null), a = z(null), u = z(null), y = z(o ?? "absolute"), m = z(null), l = () => {
|
|
1395
|
-
!r.value || !i.value || Fn(r.value, i.value, {
|
|
1396
|
-
middleware: t,
|
|
1397
|
-
placement: e,
|
|
1398
|
-
strategy: o
|
|
1399
|
-
}).then((b) => {
|
|
1400
|
-
c.value = b.x, f.value = b.y, y.value = b.strategy, d.value = b.middlewareData.arrow.x, a.value = b.middlewareData.arrow.y, u.value = b.placement;
|
|
1401
|
-
});
|
|
1402
|
-
};
|
|
1403
|
-
Et(
|
|
1404
|
-
() => ({
|
|
1405
|
-
reference: p(r),
|
|
1406
|
-
floating: p(i),
|
|
1407
|
-
append: p(n)
|
|
1408
|
-
}),
|
|
1409
|
-
({ floating: b, append: S }) => {
|
|
1410
|
-
S && lo(b, S), l();
|
|
1411
|
-
},
|
|
1412
|
-
{ flush: "post" }
|
|
1413
|
-
), Et(
|
|
1414
|
-
s,
|
|
1415
|
-
(b) => {
|
|
1416
|
-
if (!(!r.value || !i.value)) {
|
|
1417
|
-
if (!b)
|
|
1418
|
-
return T();
|
|
1419
|
-
m.value = Ln(r.value, i.value, l, {});
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
{ flush: "post" }
|
|
1423
|
-
);
|
|
1424
|
-
function T() {
|
|
1425
|
-
m.value?.(), m.value = null;
|
|
1426
|
-
}
|
|
1427
|
-
return {
|
|
1428
|
-
x: c,
|
|
1429
|
-
y: f,
|
|
1430
|
-
arrowX: d,
|
|
1431
|
-
arrowY: a,
|
|
1432
|
-
placement: u,
|
|
1433
|
-
reference: r,
|
|
1434
|
-
floating: i,
|
|
1435
|
-
strategy: y,
|
|
1436
|
-
update: l
|
|
1437
|
-
};
|
|
1438
|
-
}
|
|
1439
|
-
function Bn(t) {
|
|
1440
|
-
const { element: e, padding: o } = t;
|
|
1441
|
-
return {
|
|
1442
|
-
name: "arrow",
|
|
1443
|
-
options: t,
|
|
1444
|
-
fn(n) {
|
|
1445
|
-
return Fe(e) ? e.value != null ? ee({ element: e.value, padding: o }).fn(n) : {} : e ? ee({ element: e, padding: o }).fn(n) : {};
|
|
1446
|
-
}
|
|
1447
|
-
};
|
|
1448
|
-
}
|
|
1449
|
-
const Wn = ["data-placement"], Oe = {
|
|
1450
|
-
__name: "FloatingPanel",
|
|
1451
|
-
props: {
|
|
1452
|
-
disabled: {
|
|
1453
|
-
type: Boolean,
|
|
1454
|
-
default: !1
|
|
1455
|
-
},
|
|
1456
|
-
placement: {
|
|
1457
|
-
type: String,
|
|
1458
|
-
default: "bottom"
|
|
1459
|
-
},
|
|
1460
|
-
theme: {
|
|
1461
|
-
type: String,
|
|
1462
|
-
default: "tooltip"
|
|
1463
|
-
},
|
|
1464
|
-
content: {
|
|
1465
|
-
type: String,
|
|
1466
|
-
default: ""
|
|
1467
|
-
},
|
|
1468
|
-
appendTo: {
|
|
1469
|
-
type: [Object, String],
|
|
1470
|
-
default: "body"
|
|
1471
|
-
},
|
|
1472
|
-
offset: {
|
|
1473
|
-
type: Number,
|
|
1474
|
-
default: 2
|
|
1475
|
-
},
|
|
1476
|
-
isArrowVisible: {
|
|
1477
|
-
type: Boolean,
|
|
1478
|
-
default: !0
|
|
1479
|
-
}
|
|
1480
|
-
},
|
|
1481
|
-
setup(t) {
|
|
1482
|
-
const e = t, o = z(!1), n = z(null), { x: s, y: r, arrowX: i, arrowY: c, placement: f, reference: d, floating: a, strategy: u } = Hn({
|
|
1483
|
-
placement: e.placement,
|
|
1484
|
-
middleware: [jn(), Mn({ padding: 5 }), Nn(e.offset), Bn({ element: n, padding: 5 })],
|
|
1485
|
-
append: O(() => e.appendTo),
|
|
1486
|
-
enabled: o
|
|
1487
|
-
});
|
|
1488
|
-
function y() {
|
|
1489
|
-
e.disabled || o.value || (o.value = !0);
|
|
1490
|
-
}
|
|
1491
|
-
function m() {
|
|
1492
|
-
o.value && (o.value = !1);
|
|
1493
|
-
}
|
|
1494
|
-
function l(x) {
|
|
1495
|
-
d.value = x;
|
|
1496
|
-
}
|
|
1497
|
-
const T = {
|
|
1498
|
-
onMouseenter: y,
|
|
1499
|
-
onMouseleave: m,
|
|
1500
|
-
onFocus: y,
|
|
1501
|
-
onBlur: m
|
|
1502
|
-
};
|
|
1503
|
-
qe(a, () => {
|
|
1504
|
-
o.value && m();
|
|
1505
|
-
}, {
|
|
1506
|
-
ignore: [d]
|
|
1507
|
-
});
|
|
1508
|
-
function b() {
|
|
1509
|
-
if (o.value)
|
|
1510
|
-
return m();
|
|
1511
|
-
y();
|
|
1512
|
-
}
|
|
1513
|
-
function S(x) {
|
|
1514
|
-
if (!o.value)
|
|
1515
|
-
return;
|
|
1516
|
-
Je(a).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')[0]?.focus(), x.preventDefault();
|
|
1517
|
-
}
|
|
1518
|
-
return (x, k) => (h(), g(E, null, [
|
|
1519
|
-
C(x.$slots, "default", {
|
|
1520
|
-
setRef: l,
|
|
1521
|
-
nextFocus: S,
|
|
1522
|
-
open: o.value,
|
|
1523
|
-
toggle: b,
|
|
1524
|
-
show: y,
|
|
1525
|
-
hide: m,
|
|
1526
|
-
events: T
|
|
1527
|
-
}),
|
|
1528
|
-
v("div", {
|
|
1529
|
-
ref_key: "floating",
|
|
1530
|
-
ref: a,
|
|
1531
|
-
"data-placement": p(f),
|
|
1532
|
-
style: St({
|
|
1533
|
-
position: p(u),
|
|
1534
|
-
top: p(r) ? `${p(r)}px` : "",
|
|
1535
|
-
left: p(s) ? `${p(s)}px` : ""
|
|
1536
|
-
})
|
|
1537
|
-
}, [
|
|
1538
|
-
I(He, { name: "transition-fade" }, {
|
|
1539
|
-
default: P(() => [
|
|
1540
|
-
o.value ? (h(), g("div", {
|
|
1541
|
-
key: 0,
|
|
1542
|
-
class: M(["floating-content", [[`is-${e.theme}`]]])
|
|
1543
|
-
}, [
|
|
1544
|
-
C(x.$slots, "content", { close: m }, () => [
|
|
1545
|
-
U(w(t.content), 1)
|
|
1546
|
-
]),
|
|
1547
|
-
t.isArrowVisible ? (h(), g("div", {
|
|
1548
|
-
key: 0,
|
|
1549
|
-
ref_key: "arrowRef",
|
|
1550
|
-
ref: n,
|
|
1551
|
-
class: "is-arrow",
|
|
1552
|
-
style: St({
|
|
1553
|
-
position: p(u),
|
|
1554
|
-
top: p(c) ? `${p(c)}px` : "",
|
|
1555
|
-
left: p(i) ? `${p(i)}px` : ""
|
|
1556
|
-
})
|
|
1557
|
-
}, null, 4)) : A("", !0)
|
|
1558
|
-
], 2)) : A("", !0)
|
|
1559
|
-
]),
|
|
1560
|
-
_: 3
|
|
1561
|
-
})
|
|
1562
|
-
], 12, Wn)
|
|
1563
|
-
], 64));
|
|
1564
|
-
}
|
|
1565
|
-
}, Kn = { class: "table" }, qn = ["tabindex", "onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown"], Jn = ["data-value"], Un = { key: 0 }, Yn = ["colspan"], Zn = { key: 1 }, Xn = ["colspan"], Qn = { key: 2 }, ze = {
|
|
1566
|
-
__name: "DataTable",
|
|
1567
|
-
props: {
|
|
1568
|
-
columns: {
|
|
1569
|
-
type: Object,
|
|
1570
|
-
default: () => ({})
|
|
1571
|
-
},
|
|
1572
|
-
rows: {
|
|
1573
|
-
type: Array,
|
|
1574
|
-
default: () => []
|
|
1575
|
-
},
|
|
1576
|
-
sort: {
|
|
1577
|
-
type: Object,
|
|
1578
|
-
default: () => ({})
|
|
1579
|
-
},
|
|
1580
|
-
isLoading: {
|
|
1581
|
-
type: Boolean,
|
|
1582
|
-
default: !1
|
|
1583
|
-
},
|
|
1584
|
-
appendTo: {
|
|
1585
|
-
type: [Object, String],
|
|
1586
|
-
default: null
|
|
1587
|
-
}
|
|
1588
|
-
},
|
|
1589
|
-
emits: ["sort"],
|
|
1590
|
-
setup(t, { emit: e }) {
|
|
1591
|
-
const o = t, n = e, { isLoading: s, appendTo: r } = Nt(o), i = Ue(s, { delay: oo }), { t: c } = Q(), f = O(() => o.columns), d = O(() => Object.keys(o.columns).length);
|
|
1592
|
-
function a(u, y) {
|
|
1593
|
-
u.sortOrders && n("sort", { target: y, orders: u.sortOrders });
|
|
1594
|
-
}
|
|
1595
|
-
return (u, y) => (h(), g("table", Kn, [
|
|
1596
|
-
v("thead", null, [
|
|
1597
|
-
v("tr", null, [
|
|
1598
|
-
(h(!0), g(E, null, nt(f.value, (m, l) => (h(), R(Oe, {
|
|
1599
|
-
key: l,
|
|
1600
|
-
placement: "top",
|
|
1601
|
-
content: m.tooltip,
|
|
1602
|
-
disabled: !m.tooltip,
|
|
1603
|
-
"append-to": p(r)
|
|
1604
|
-
}, {
|
|
1605
|
-
default: P(({ setRef: T, show: b, hide: S }) => [
|
|
1606
|
-
v("th", {
|
|
1607
|
-
ref_for: !0,
|
|
1608
|
-
ref: T,
|
|
1609
|
-
class: M([
|
|
1610
|
-
[p(ro)(m.class)],
|
|
1611
|
-
{
|
|
1612
|
-
"is-active": l === t.sort.sortTarget && t.sort.orders[0].direction !== p($t),
|
|
1613
|
-
"is-sortable": m.sortOrders,
|
|
1614
|
-
"is-desc": l === t.sort.sortTarget && t.sort.orders[0].direction === p(qt),
|
|
1615
|
-
"is-asc": l === t.sort.sortTarget && t.sort.orders[0].direction === p(Kt)
|
|
1616
|
-
}
|
|
1617
|
-
]),
|
|
1618
|
-
tabindex: m.sortOrders ? 0 : -1,
|
|
1619
|
-
role: "button",
|
|
1620
|
-
onMouseenter: b,
|
|
1621
|
-
onMouseleave: S,
|
|
1622
|
-
onFocus: b,
|
|
1623
|
-
onBlur: S,
|
|
1624
|
-
onClick: (x) => a(m, l),
|
|
1625
|
-
onKeydown: [
|
|
1626
|
-
Rt(ht((x) => a(m, l), ["prevent"]), ["space"]),
|
|
1627
|
-
Rt(ht((x) => a(m, l), ["prevent"]), ["enter"])
|
|
1628
|
-
]
|
|
1629
|
-
}, [
|
|
1630
|
-
C(u.$slots, `header-${l}`, { column: m }, () => [
|
|
1631
|
-
U(w(m.label), 1)
|
|
1632
|
-
]),
|
|
1633
|
-
m.sortOrders && l !== t.sort.sortTarget ? (h(), R(p(Jt), {
|
|
1634
|
-
key: 0,
|
|
1635
|
-
class: "is-icon-sort"
|
|
1636
|
-
})) : A("", !0),
|
|
1637
|
-
l === t.sort.sortTarget && t.sort.orders[0].direction === p($t) ? (h(), R(p(Jt), {
|
|
1638
|
-
key: 1,
|
|
1639
|
-
class: "is-icon-sort"
|
|
1640
|
-
})) : A("", !0),
|
|
1641
|
-
l === t.sort.sortTarget && t.sort.orders[0].direction === p(qt) ? (h(), R(p(No), {
|
|
1642
|
-
key: 2,
|
|
1643
|
-
class: "is-icon-sort"
|
|
1644
|
-
})) : A("", !0),
|
|
1645
|
-
l === t.sort.sortTarget && t.sort.orders[0].direction === p(Kt) ? (h(), R(p(Fo), {
|
|
1646
|
-
key: 3,
|
|
1647
|
-
class: "is-icon-sort"
|
|
1648
|
-
})) : A("", !0)
|
|
1649
|
-
], 42, qn)
|
|
1650
|
-
]),
|
|
1651
|
-
_: 2
|
|
1652
|
-
}, 1032, ["content", "disabled", "append-to"]))), 128))
|
|
1653
|
-
])
|
|
1654
|
-
]),
|
|
1655
|
-
v("tbody", null, [
|
|
1656
|
-
(h(!0), g(E, null, nt(o.rows, (m, l) => (h(), g("tr", {
|
|
1657
|
-
key: l,
|
|
1658
|
-
class: M(m.rowClasses)
|
|
1659
|
-
}, [
|
|
1660
|
-
(h(!0), g(E, null, nt(f.value, (T, b) => (h(), g("td", {
|
|
1661
|
-
key: b,
|
|
1662
|
-
"data-value": m[b],
|
|
1663
|
-
class: M([
|
|
1664
|
-
[T.class],
|
|
1665
|
-
{
|
|
1666
|
-
"is-active": b === t.sort.sortTarget && t.sort.orders[0].direction !== p($t),
|
|
1667
|
-
"is-zero": m[b] === 0 || m[b] === "00:00"
|
|
1668
|
-
}
|
|
1669
|
-
])
|
|
1670
|
-
}, [
|
|
1671
|
-
C(u.$slots, `cell-${b}`, {
|
|
1672
|
-
row: m,
|
|
1673
|
-
prop: b
|
|
1674
|
-
}, () => [
|
|
1675
|
-
U(w(m[b]), 1)
|
|
1676
|
-
])
|
|
1677
|
-
], 10, Jn))), 128))
|
|
1678
|
-
], 2))), 128))
|
|
1679
|
-
]),
|
|
1680
|
-
p(i) && t.rows.length === 0 ? (h(), g("tfoot", Un, [
|
|
1681
|
-
v("tr", null, [
|
|
1682
|
-
v("td", { colspan: d.value }, [
|
|
1683
|
-
C(u.$slots, "loading", {}, () => [
|
|
1684
|
-
U(w(p(c)("common.loading")), 1)
|
|
1685
|
-
])
|
|
1686
|
-
], 8, Yn)
|
|
1687
|
-
])
|
|
1688
|
-
])) : A("", !0),
|
|
1689
|
-
t.rows.length === 0 && !p(s) && !p(i) ? (h(), g("tfoot", Zn, [
|
|
1690
|
-
v("tr", null, [
|
|
1691
|
-
v("td", { colspan: d.value }, [
|
|
1692
|
-
C(u.$slots, "empty", {}, () => [
|
|
1693
|
-
U(w(p(c)("common.noData")), 1)
|
|
1694
|
-
])
|
|
1695
|
-
], 8, Xn)
|
|
1696
|
-
])
|
|
1697
|
-
])) : A("", !0),
|
|
1698
|
-
u.$slots.caption ? (h(), g("caption", Qn, [
|
|
1699
|
-
C(u.$slots, "caption")
|
|
1700
|
-
])) : A("", !0)
|
|
1701
|
-
]));
|
|
1702
|
-
}
|
|
1703
|
-
}, ts = { class: "error-notice" }, es = ["textContent"], zr = {
|
|
1704
|
-
__name: "ErrorNotice",
|
|
1705
|
-
props: {
|
|
1706
|
-
error: {
|
|
1707
|
-
type: Object,
|
|
1708
|
-
default: () => ({})
|
|
1709
|
-
},
|
|
1710
|
-
useRetry: {
|
|
1711
|
-
type: Boolean,
|
|
1712
|
-
default: !1
|
|
1713
|
-
}
|
|
1714
|
-
},
|
|
1715
|
-
emits: ["retry"],
|
|
1716
|
-
setup(t) {
|
|
1717
|
-
const e = t, { t: o, hasTranslation: n } = Q(), s = O(() => n(`errors.${e.error.key}`) ? o(`errors.${e.error.key}`, e.error.cause || [e.error?.message]) : e.error?.message);
|
|
1718
|
-
return (r, i) => (h(), g("div", ts, [
|
|
1719
|
-
I(p(Wo), {
|
|
1720
|
-
class: "icon",
|
|
1721
|
-
width: "20",
|
|
1722
|
-
height: "20"
|
|
1723
|
-
}),
|
|
1724
|
-
v("span", null, w(s.value), 1),
|
|
1725
|
-
t.useRetry ? (h(), g("button", {
|
|
1726
|
-
key: 0,
|
|
1727
|
-
type: "button",
|
|
1728
|
-
onClick: i[0] || (i[0] = (c) => r.$emit("retry")),
|
|
1729
|
-
textContent: w(p(o)("common.retry"))
|
|
1730
|
-
}, null, 8, es)) : A("", !0)
|
|
1731
|
-
]));
|
|
1732
|
-
}
|
|
1733
|
-
}, $r = {
|
|
1734
|
-
__name: "ErrorProvider",
|
|
1735
|
-
setup(t) {
|
|
1736
|
-
const { message: e, hasError: o, error: n } = Ye();
|
|
1737
|
-
return (s, r) => C(s.$slots, "default", {
|
|
1738
|
-
message: p(e),
|
|
1739
|
-
error: p(n),
|
|
1740
|
-
hasError: p(o)
|
|
1741
|
-
});
|
|
1742
|
-
}
|
|
1743
|
-
}, os = { class: "form-field" }, ns = ["for"], ss = {
|
|
1744
|
-
__name: "FormField",
|
|
1745
|
-
props: {
|
|
1746
|
-
label: {
|
|
1747
|
-
type: String,
|
|
1748
|
-
default: ""
|
|
1749
|
-
},
|
|
1750
|
-
name: {
|
|
1751
|
-
type: String,
|
|
1752
|
-
required: !0
|
|
1753
|
-
}
|
|
1754
|
-
},
|
|
1755
|
-
setup(t) {
|
|
1756
|
-
return (e, o) => (h(), g("div", os, [
|
|
1757
|
-
v("label", { for: t.name }, w(t.label), 9, ns),
|
|
1758
|
-
C(e.$slots, "default")
|
|
1759
|
-
]));
|
|
1760
|
-
}
|
|
1761
|
-
}, rs = { "undefined-column": "The {column} column is not exists!", "invalid-season-name": "Invalid season name", "api-key-not-found": "API Key not found", gameData: "Game Data: {0}", gameStats: "Game Stats: {0}", gameEvents: "Game Events: {0}", gameOfficials: "Game Officials : {0}" }, is = { loading: "Loading...", noData: "No data to display", selectTimezone: "*All times are displayed according to your computer's time zone ({timezone}). Change: ", hungary: "Hungary", romania: "Romania", shootoutShort: "SO", overtimeShort: "OT", all: "All", report: "Report Sheet", video: "Video", retry: "Try Again" }, as = { inheritedPoints: { prependix: "", content: "{team} has {points} extra point(s)", appendix: "based on its results in the previous championship phase." }, penaltyPoints: { prependix: "* ", content: "{points} point(s) deducted from team {team}", appendix: "based on the decision of the Disciplinary Committee." } }, ls = { blank: "#", info: "{min} to {max} of {total} entries", team: { short: "Team", tooltip: "Team name" }, game: { short: "GP", tooltip: "Game Played" }, pper: { short: "PPer", tooltip: "Total periods played" }, wins: { short: "W", tooltip: "Wins" }, draw: { short: "D", tooltip: "Draw" }, otw: { short: "OTW", tooltip: "Overtime Wins" }, sow: { short: "SOW", tooltip: "Shoot Out Wins" }, sol: { short: "SOL", tooltip: "Shoot Out Losses" }, otl: { short: "OTL", tooltip: "Overtime Losses" }, losses: { short: "L", tooltip: "Losses" }, goalFor: { short: "GF", tooltip: "Goals For" }, goalAgainst: { short: "GA", tooltip: "Goals Against" }, goalDiff: { short: "GD", tooltip: "Goal Differential" }, points: { short: "P", tooltip: "Points" }, name: { short: "Name", tooltip: "Player name" }, goals: { short: "G", tooltip: "Goals" }, assists: { short: "A", tooltip: "Assists" }, plusMinus: { short: "+/-", tooltip: "Plus/Minus" }, sog: { short: "S", tooltip: "Shots on Goal" }, so: { short: "SO", tooltip: "Shutouts" }, sogPercent: { short: "S%", tooltip: "Shooting percentage" }, gameName: { short: "#", tooltip: "Game name" }, gameDate: { short: "Date", tooltip: "Scheduled Date" }, gameDateTime: { short: "*Time ({offsetName})", tooltip: "Scheduled Time (Offset Name)" }, homeTeam: { short: "Home", tooltip: "Home Team" }, awayTeam: { short: "Away", tooltip: "Away Team" }, location: { short: "Location", tooltip: "Game Location" }, broadcast: { short: "Broadcast", tooltip: "Television Broadcast" }, minorPenalties: { short: "MINOR", tooltip: "Penalties Minor" }, majorPenalties: { short: "MAJOR", tooltip: "Penalties Major" }, misconducts: { short: "MISC", tooltip: "Penalties Misconduct" }, gameMisconducts: { short: "GA-MI", tooltip: "Penalties Game Misconduct" }, matchPenalties: { short: "MATCH", tooltip: "Penalties Match" }, pim: { short: "PIM", tooltip: "Penalty Minutes" }, pimPerGame: { short: "PIM/G", tooltip: "Penalty Minutes per Game" }, gpgk: { short: "GP", tooltip: "Games Played" }, gpi: { short: "GPI", tooltip: "Games Played In" }, toi: { short: "TOI", tooltip: "Time On Ice" }, toiPercent: { short: "TOI%", tooltip: "Time On Ice as Percentage" }, ga: { short: "GA", tooltip: "Goals Against" }, gaa: { short: "GAA", tooltip: "Goals Against Average" }, sa: { short: "SA", tooltip: "Shots Against" }, svs: { short: "SVS", tooltip: "Saves" }, svsPercent: { short: "SV%", tooltip: "Save Percentage" }, homeHeader: { short: "Home:", tooltip: "" }, awayHeader: { short: "Away:", tooltip: "" }, totalHeader: { short: "Total:", tooltip: "" }, homeGame: { short: "GP", tooltip: "Home Games Played" }, awayGame: { short: "GP", tooltip: "Away Games Played" }, totalGame: { short: "GP", tooltip: "Total Games Played" }, homeAttendance: { short: "Att", tooltip: "Home Attendance" }, awayAttendance: { short: "Att", tooltip: "Away Attendance" }, totalAttendance: { short: "Att", tooltip: "Total Attendance" }, homeAttendanceAvg: { short: "Avg", tooltip: "Home Average Attendance" }, awayAttendanceAvg: { short: "Avg", tooltip: "Away Average Attendance" }, totalAttendanceAvg: { short: "Avg", tooltip: "Total Average Attendance" }, powerplayDisadvantages: { short: "DVG", tooltip: "Disadvantages (Number of Times Shorthanded)" }, dvgTime: { short: "DVG-T", tooltip: "Disadvantages Time" }, dvgTimePP1: { short: "DVG-T PP1", tooltip: "Disadvantages Time (Period of PP1)" }, dvgTimePP2: { short: "DVG-T PP2", tooltip: "Disadvantages Time (Period of PP2)" }, ppga: { short: "PPGA", tooltip: "Powerplay Goals Against" }, shgf: { short: "SHGF", tooltip: "Shorthanded Goals For" }, pkPercent: { short: "PK%", tooltip: "Penalty Killing Percentage" }, adv: { short: "ADV", tooltip: "Advantages (Times on Powerplay)" }, advTime: { short: "ADV-T", tooltip: "Advantages Time (Period of Powerplay)" }, advTimePP1: { short: "ADV-T PP1", tooltip: "Advantages Time (Period of PP1)" }, advTimePP2: { short: "ADV-T PP2", tooltip: "Advantages Time (Period of PP2)" }, ppgf: { short: "PPGF", tooltip: "Powerplay Goals For" }, shga: { short: "SHGA", tooltip: "Shorthanded Goals Against" }, ppPercent: { short: "PP%", tooltip: "Powerplay Percentage" }, gfgp: { short: "GF/GP", tooltip: "Szerzett gólátlag" }, gagp: { short: "GA/GP", tooltip: "Kapott gólátlag" }, sogp: { short: "Shots/GP", tooltip: "Átlagos lövésszám" }, sagp: { short: "SA/GP", tooltip: "Shots Against per Game" }, jerseyNumber: { short: "#", tooltip: "Jersey Number" }, row: { short: "Row", tooltip: "Row" }, position: { short: "Position", tooltip: "Position" }, teamOfficials: { short: "Team officials", tooltip: "Team officials" }, score: { short: "Score", tooltip: "Actual Game Score" }, opponent: { short: "Opponent", tooltip: "Opponent" }, result: { short: "Result", tooltip: "Result" }, resultType: { short: "#", tooltip: "Result Type" }, atoi: { short: "ATOI", tooltip: "Average Time On Ice" }, shf: { short: "SHF", tooltip: "Shifts" }, ashf: { short: "ASHF", tooltip: "Average Shifts" }, eqToi: { short: "EQ-TOI", tooltip: "Time On Ice in Equal" }, pp1Toi: { short: "PP1-TOI", tooltip: "Time On Ice in PowerPlay 1" }, pp2Toi: { short: "PP2-TOI", tooltip: "Time On Ice in PowerPlay 2" }, sh1Toi: { short: "SH1-TOI", tooltip: "Time On Ice in Shorthanded 1" }, sh2Toi: { short: "SH2-TOI", tooltip: "Time On Ice in Shorthanded 2" }, eqAToi: { short: "EQ-A-TOI", tooltip: "Average Time On Ice in Equal" }, pp1AToi: { short: "PP1-A-TOI", tooltip: "Average Time On Ice in PowerPlay 1" }, pp2AToi: { short: "PP2-A-TOI", tooltip: "Average Time On Ice in PowerPlay 2" }, sh1AToi: { short: "SH1-A-TOI", tooltip: "Average Time On Ice in Shorthanded 1" }, sh2AToi: { short: "SH2-A-TOI", tooltip: "Average Time On Ice in Shorthanded 2" }, role: { short: "Role", tooltip: "Role" } }, cs = { data: { localTime: "Game local time" }, status: { jury: "Jury result", delayed: "Game delayed" }, period: { wu: "Preparation", pre: "Preparation Ended", p1: "First Period", p1_int: "First Period Ended", p2: "Second Period", p2_int: "Second Period Ended", p3: "Third Period", p3_int: "Third Period Ended", p4: "Fourth Period", p4_int: "Fourth Period Ended", p5: "Fifth Period", p5_int: "Fifth Period Ended", p6: "Sixth Period", p6_int: "Sixth Period Ended", ot: "Overtime", ot_int: "Overtime Ended", so: "Shoot Out", so_int: "Shoot Out Ended", end: "Game Ended", Bemelegítés: "Warm-up", "Bemelegítés vége": "Warm-up End", "1. harmad": "First period", "1. harmad vége": "First period End", "2. harmad": "Second period", "2. harmad vége": "Second period End", "3. harmad": "Third period", "3. harmad vége": "Third period End", "4. harmad": "IV. period", "4. harmad vége": "IV. period End", "5. harmad": "V. period", "5. harmad vége": "V. period End", "6. harmad": "VI. period", "6. harmad vége": "VI. period End", Hosszabbítás: "Overtime", "Hosszabbítás vége": "Overtime End", Büntetőlövések: "Penalty Shot", Végeredmény: "Game Completed", Szétlövés: "Shoot Out" } }, ds = {
|
|
1762
|
-
errors: rs,
|
|
1763
|
-
common: is,
|
|
1764
|
-
additionalText: as,
|
|
1765
|
-
table: ls,
|
|
1766
|
-
game: cs
|
|
1767
|
-
}, us = { "undefined-column": "A(z) {column} oszlop nem létezik!", "invalid-season-name": "Érvénytelen szezon név", "api-key-not-found": "API Kulcs nem megfelelő", gameData: "Game Data: {0}", gameStats: "Game Stats: {0}", gameEvents: "Game Events: {0}", gameOfficials: "Game Officials: {0}" }, ms = { loading: "Töltődés...", noData: "Nincs megjeleníthető adat", selectTimezone: "*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ", hungary: "Magyarország", romania: "Románia", shootoutShort: "SO", overtimeShort: "OT", all: "Mind", report: "Jegyzőkönyv", video: "Videó", retry: "Újra" }, fs = { inheritedPoints: { prependix: "A megelőző bajnokság szakaszban elért eredménye alapján", content: "{team} csapata {points}", appendix: "többletponttal rendelkezik." }, penaltyPoints: { prependix: "* Fegyelmi Bizottság döntése alapján:", content: "{team} csapatától {points} pont", appendix: "levonva." } }, ps = { blank: "#", info: "{min} - {max} / {total} db", team: { short: "Csapat", tooltip: "Csapatnév" }, game: { short: "GP", tooltip: "Mérkőzésszám" }, pper: { short: "PPer", tooltip: "Összes lejátszott játékrész" }, wins: { short: "W", tooltip: "Győzelem" }, draw: { short: "D", tooltip: "Döntetlen" }, otw: { short: "OTW", tooltip: "Győzelem Hosszabbításban" }, sow: { short: "SOW", tooltip: "Győzelem Szétlövésben" }, sol: { short: "SOL", tooltip: "Vereség Szétlövésben" }, otl: { short: "OTL", tooltip: "Vereség Hosszabbításban" }, losses: { short: "L", tooltip: "Vereség" }, goalFor: { short: "GF", tooltip: "Szerzett Gól" }, goalAgainst: { short: "GA", tooltip: "Kapott Gól" }, goalDiff: { short: "GD", tooltip: "Gólkülönbség" }, name: { short: "Név", tooltip: "Játékosnév" }, goals: { short: "G", tooltip: "Gólok" }, assists: { short: "A", tooltip: "Gólpasszok" }, points: { short: "P", tooltip: "Pontok" }, plusMinus: { short: "+/-", tooltip: "Plussz/Minusz" }, sog: { short: "S", tooltip: "Lövések" }, so: { short: "SO", tooltip: "Kapott gól nélküli mérkőzések" }, sogPercent: { short: "S%", tooltip: "Lövés Hatékonyság" }, gameName: { short: "#", tooltip: "Mérkőzés Sorszáma" }, gameDate: { short: "Dátum", tooltip: "Mérkőzés Dátuma" }, gameDateTime: { short: "*Idő ({offsetName})", tooltip: "Mérkőzés kezdési ideje (Zóna neve)" }, homeTeam: { short: "Hazai", tooltip: "Hazai Csapat" }, awayTeam: { short: "Vendég", tooltip: "Vendég Csapat" }, location: { short: "Helyszín", tooltip: "Mérkőzés Helyszíne" }, broadcast: { short: "TV", tooltip: "TV Közvetítés" }, minorPenalties: { short: "MINOR", tooltip: "Kisbüntetés (2p)" }, majorPenalties: { short: "MAJOR", tooltip: "Büntetés (5p)" }, misconducts: { short: "MISC", tooltip: "Fegyelmi büntetés (10p)" }, gameMisconducts: { short: "GA-MI", tooltip: "Fegyelmi büntetés (20p)" }, matchPenalties: { short: "MATCH", tooltip: "Végleges kiállítások (25p)" }, pim: { short: "BÜP", tooltip: "Büntetés Percek" }, pimPerGame: { short: "BÜP/M", tooltip: "Mérkőzésenkénti Büntetés Percek" }, gpgk: { short: "GP", tooltip: "Mérkőzésre Nevezve" }, gpi: { short: "GPI", tooltip: "Mérkőzésen Játszott" }, toi: { short: "TOI", tooltip: "Jégen Töltött Idő" }, toiPercent: { short: "TOI%", tooltip: "Jégen Töltött Idő Százalék" }, ga: { short: "GA", tooltip: "Kapott Gól" }, gaa: { short: "GAA", tooltip: "Kapott Gólátlag" }, sa: { short: "SA", tooltip: "Kapott Lövés" }, svs: { short: "SVS", tooltip: "Védett Lövés" }, svsPercent: { short: "VH%", tooltip: "Védés Hatékonyság" }, homeHeader: { short: "Hazai:", tooltip: "" }, awayHeader: { short: "Vendég:", tooltip: "" }, totalHeader: { short: "Összes:", tooltip: "" }, homeGame: { short: "M", tooltip: "Hazai Mérkőzés" }, awayGame: { short: "M", tooltip: "Vendég Mérkőzés" }, totalGame: { short: "M", tooltip: "Összes Mérkőzés" }, homeAttendance: { short: "Nézőszám", tooltip: "Hazai Néző" }, awayAttendance: { short: "Nézőszám", tooltip: "Vendég Néző" }, totalAttendance: { short: "Nézőszám", tooltip: "Összes Néző" }, homeAttendanceAvg: { short: "Átlag", tooltip: "Hazi Néző Átlag" }, awayAttendanceAvg: { short: "Átlag", tooltip: "Vendég Néző Átlag" }, totalAttendanceAvg: { short: "Átlag", tooltip: "Összes Néző Átlag" }, powerplayDisadvantages: { short: "DVG", tooltip: "Emberhátrányok" }, dvgTime: { short: "DVG-T", tooltip: "Emberhátrányban Töltött Idő" }, dvgTimePP1: { short: "DVG-T PP1", tooltip: "Szimpla emberhátrányban töltött idő" }, dvgTimePP2: { short: "DVG-T PP2", tooltip: "Kettős emberhátrányban töltött idő" }, ppga: { short: "PPGA", tooltip: "Emberhátrányban kapott gólok" }, shgf: { short: "SHGF", tooltip: "Emberhátrányban szerzett gól" }, pkPercent: { short: "PK%", tooltip: "Emberhátrány kivédekezés" }, adv: { short: "ADV", tooltip: "Emberelőnyök száma" }, advTime: { short: "ADV-T", tooltip: "Emberelőnyben töltött idő" }, advTimePP1: { short: "ADV-T PP1", tooltip: "Szimpla emberelőnyben töltött idő" }, advTimePP2: { short: "ADV-T PP2", tooltip: "Kettős emberelőnyben töltött idő" }, ppgf: { short: "PPGF", tooltip: "Emberelőnyben szerzett gólok" }, shga: { short: "SHGA", tooltip: "Emberelőnyben kapott gólok" }, ppPercent: { short: "PP%", tooltip: "Emberelőny kihasználás" }, gfgp: { short: "GF/GP", tooltip: "Szerzett gólátlag" }, gagp: { short: "GA/GP", tooltip: "Kapott gólátlag" }, sogp: { short: "Shots/GP", tooltip: "Átlagos lövésszám" }, sagp: { short: "SA/GP", tooltip: "Átlagos kapott lövésszám" }, jerseyNumber: { short: "#", tooltip: "Mezszám" }, row: { short: "Sor", tooltip: "Sor" }, position: { short: "Po", tooltip: "Poszt" }, teamOfficials: { short: "Hivatalos Személyek", tooltip: "Hivatalos Személyek" }, score: { short: "Eredmény", tooltip: "Aktuális eredmény" }, opponent: { short: "Ellenfél", tooltip: "Ellenfél" }, result: { short: "Eredmény", tooltip: "Végeredmény" }, resultType: { short: "#", tooltip: "Végeredmény típusa" }, atoi: { short: "ATOI", tooltip: "Átlagos jégen töltött idő" }, shf: { short: "SHF", tooltip: "Jégre lépések száma" }, ashf: { short: "ASHF", tooltip: "Jégre lépések száma átlagosan" }, eqToi: { short: "EQ-TOI", tooltip: "Jégen töltött idő azonos létszámban" }, pp1Toi: { short: "PP1-TOI", tooltip: "Jégen töltött idő egyszeres emberelőnyben" }, pp2Toi: { short: "PP2-TOI", tooltip: "Jégen töltött idő kétszeres emberelőnyben" }, sh1Toi: { short: "SH1-TOI", tooltip: "Jégen töltött idő egyszeres emberhátrányban" }, sh2Toi: { short: "SH2-TOI", tooltip: "Jégen töltött idő kétszeres emberhátrányban" }, eqAToi: { short: "EQ-A-TOI", tooltip: "Átlagos jégen töltött idő azonos létszámban" }, pp1AToi: { short: "PP1-A-TOI", tooltip: "Átlagos jégen töltött idő egyszeres emberelőnyben" }, pp2AToi: { short: "PP2-A-TOI", tooltip: "Átlagos jégen töltött idő kétszeres emberelőnyben" }, sh1AToi: { short: "SH1-A-TOI", tooltip: "Átlagos jégen töltött idő egyszeres emberhátrányban" }, sh2AToi: { short: "SH2-A-TOI", tooltip: "Átlagos jégen töltött idő kétszeres emberhátrányban" }, role: { short: "Szerep", tooltip: "Szerep" } }, hs = { data: { localTime: "Helyszín szerinti idő" }, status: { jury: "Versenybíróság", delayed: "Elhalasztva" }, period: { wu: "Bemelegítés", pre: "Bemelegítés vége", p1: "I. játékrész", p1_int: "I. játékrész vége", p2: "II. játékrész", p2_int: "II. játékrész vége", p3: "III. játékrész", p3_int: "III. játékrész vége", p4: "IV. játékrész", p4_int: "IV. játékrész vége", p5: "V. játékrész", p5_int: "V. játékrész vége", p6: "VI. játékrész", p6_int: "VI. játékrész vége", ot: "Hosszabbítás", ot_int: "Hosszabbítás vége", so: "Szétlövés", so_int: "Szétlövés vége", end: "Végeredmény", Bemelegítés: "Bemelegítés", "Bemelegítés vége": "Bemelegítés Vége", "1. harmad": "I. harmad", "1. harmad vége": "I. harmad Vége", "2. harmad": "II. harmad", "2. harmad vége": "II. harmad Vége", "3. harmad": "III. harmad", "3. harmad vége": "III. harmad Vége", "4. harmad": "IV. harmad", "4. harmad vége": "IV. harmad Vége", "5. harmad": "V. harmad", "5. harmad vége": "V. harmad Vége", "6. harmad": "VI. harmad", "6. harmad vége": "VI. harmad Vége", Hosszabbítás: "Hosszabbítás", "Hosszabbítás vége": "Hosszabbítás vége", Büntetők: "Szétlövés", "Büntetők vége": "Szétlövés vége", Végeredmény: "Végeredmény", Szétlövés: "Szétlövés" } }, gs = {
|
|
1768
|
-
errors: us,
|
|
1769
|
-
common: ms,
|
|
1770
|
-
additionalText: fs,
|
|
1771
|
-
table: ps,
|
|
1772
|
-
game: hs
|
|
1773
|
-
}, ys = (t, e) => {
|
|
1774
|
-
const o = t.__vccOpts || t;
|
|
1775
|
-
for (const [n, s] of e)
|
|
1776
|
-
o[n] = s;
|
|
1777
|
-
return o;
|
|
1778
|
-
}, vs = oe({
|
|
1779
|
-
props: {
|
|
1780
|
-
locale: {
|
|
1781
|
-
type: String,
|
|
1782
|
-
default: "hu"
|
|
1783
|
-
},
|
|
1784
|
-
messages: {
|
|
1785
|
-
type: Object,
|
|
1786
|
-
default: () => ({})
|
|
1787
|
-
}
|
|
1788
|
-
},
|
|
1789
|
-
setup(t) {
|
|
1790
|
-
const e = Ze({ hu: gs, en: ds }, t.messages), { translate: o } = Xe({
|
|
1791
|
-
locale: O(() => t.locale),
|
|
1792
|
-
messages: e
|
|
1793
|
-
});
|
|
1794
|
-
return {
|
|
1795
|
-
translate: o
|
|
1796
|
-
};
|
|
1797
|
-
}
|
|
1798
|
-
});
|
|
1799
|
-
function bs(t, e, o, n, s, r) {
|
|
1800
|
-
return C(t.$slots, "default", { t: t.translate });
|
|
1801
|
-
}
|
|
1802
|
-
const Ir = /* @__PURE__ */ ys(vs, [["render", bs]]), ws = ["src", "width", "height"], Ts = ["src", "title", "width", "height"], at = /* @__PURE__ */ Object.assign({
|
|
1803
|
-
inheritAttrs: !1
|
|
1804
|
-
}, {
|
|
1805
|
-
__name: "Image",
|
|
1806
|
-
props: {
|
|
1807
|
-
src: {
|
|
1808
|
-
type: String,
|
|
1809
|
-
default: ""
|
|
1810
|
-
},
|
|
1811
|
-
title: {
|
|
1812
|
-
type: String,
|
|
1813
|
-
default: ""
|
|
1814
|
-
},
|
|
1815
|
-
defaultSrc: {
|
|
1816
|
-
type: String,
|
|
1817
|
-
default: ""
|
|
1818
|
-
},
|
|
1819
|
-
width: {
|
|
1820
|
-
type: Number,
|
|
1821
|
-
default: void 0
|
|
1822
|
-
},
|
|
1823
|
-
height: {
|
|
1824
|
-
type: Number,
|
|
1825
|
-
default: void 0
|
|
1826
|
-
}
|
|
1827
|
-
},
|
|
1828
|
-
setup(t) {
|
|
1829
|
-
const e = t, { defaultSrc: o } = Nt(e), n = z({ src: e.src }), { error: s, isReady: r } = Qe(n, { resetOnExecute: !1, shallow: !1 });
|
|
1830
|
-
return (i, c) => (h(), g(E, null, [
|
|
1831
|
-
p(s) && p(o) ? (h(), g("img", {
|
|
1832
|
-
key: 0,
|
|
1833
|
-
src: p(o),
|
|
1834
|
-
class: M(["is-loaded is-default", [i.$attrs.class]]),
|
|
1835
|
-
style: St([i.$attrs.style]),
|
|
1836
|
-
width: t.width,
|
|
1837
|
-
height: t.height
|
|
1838
|
-
}, null, 14, ws)) : A("", !0),
|
|
1839
|
-
p(s) ? A("", !0) : (h(), g("img", {
|
|
1840
|
-
key: 1,
|
|
1841
|
-
src: n.value.src,
|
|
1842
|
-
title: e.title,
|
|
1843
|
-
class: M([i.$attrs.class, { "is-loaded": p(r) }]),
|
|
1844
|
-
style: St([i.$attrs.style]),
|
|
1845
|
-
width: t.width,
|
|
1846
|
-
height: t.height,
|
|
1847
|
-
loading: "lazy"
|
|
1848
|
-
}, null, 14, Ts))
|
|
1849
|
-
], 64));
|
|
1850
|
-
}
|
|
1851
|
-
}), Ss = { class: "loading-indicator" }, $e = {
|
|
1852
|
-
__name: "LoadingIndicator",
|
|
1853
|
-
setup(t) {
|
|
1854
|
-
const { t: e } = Q();
|
|
1855
|
-
return (o, n) => (h(), g("div", Ss, w(p(e)("common.loading")), 1));
|
|
1856
|
-
}
|
|
1857
|
-
}, xs = {
|
|
1858
|
-
key: 0,
|
|
1859
|
-
class: "paginator"
|
|
1860
|
-
}, Ps = ["disabled"], As = ["disabled"], ks = {
|
|
1861
|
-
key: 1,
|
|
1862
|
-
class: "is-disabled"
|
|
1863
|
-
}, _s = ["disabled", "onClick"], Os = {
|
|
1864
|
-
key: 2,
|
|
1865
|
-
class: "is-disabled"
|
|
1866
|
-
}, zs = ["disabled"], $s = ["disabled"], Cr = {
|
|
1867
|
-
__name: "Paginator",
|
|
1868
|
-
props: {
|
|
1869
|
-
page: {
|
|
1870
|
-
type: Number,
|
|
1871
|
-
required: !1,
|
|
1872
|
-
default: 0,
|
|
1873
|
-
validator: (t) => t >= 0
|
|
1874
|
-
},
|
|
1875
|
-
itemsPerPage: {
|
|
1876
|
-
type: Number,
|
|
1877
|
-
required: !1,
|
|
1878
|
-
default: 10,
|
|
1879
|
-
validator: (t) => t > 0
|
|
1880
|
-
},
|
|
1881
|
-
totalItems: {
|
|
1882
|
-
type: Number,
|
|
1883
|
-
required: !0,
|
|
1884
|
-
validator: (t) => t >= 0
|
|
1885
|
-
},
|
|
1886
|
-
rangeLength: {
|
|
1887
|
-
type: Number,
|
|
1888
|
-
default: 3,
|
|
1889
|
-
validator: (t) => t >= 2
|
|
1890
|
-
},
|
|
1891
|
-
isCompact: {
|
|
1892
|
-
type: Boolean,
|
|
1893
|
-
default: !1
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
emits: ["change"],
|
|
1897
|
-
setup(t, { emit: e }) {
|
|
1898
|
-
const o = t, n = e, { page: s, pageCount: r, range: i, goTo: c, pageStep: f } = yo({
|
|
1899
|
-
currentPage: O(() => o.page),
|
|
1900
|
-
totalItems: O(() => o.totalItems),
|
|
1901
|
-
itemsPerPage: o.itemsPerPage,
|
|
1902
|
-
rangeLength: o.rangeLength,
|
|
1903
|
-
update: (d) => n("change", d)
|
|
1904
|
-
});
|
|
1905
|
-
return (d, a) => p(r) > 1 ? (h(), g("div", xs, [
|
|
1906
|
-
v("button", {
|
|
1907
|
-
type: "button",
|
|
1908
|
-
disabled: p(s) === 1,
|
|
1909
|
-
onClick: a[0] || (a[0] = (u) => p(f)(-1))
|
|
1910
|
-
}, [
|
|
1911
|
-
C(d.$slots, "prev", {}, () => [
|
|
1912
|
-
I(p(Ao), { class: "icon paginator-left" })
|
|
1913
|
-
])
|
|
1914
|
-
], 8, Ps),
|
|
1915
|
-
t.isCompact ? A("", !0) : (h(), g("button", {
|
|
1916
|
-
key: 0,
|
|
1917
|
-
type: "button",
|
|
1918
|
-
disabled: p(s) === 1,
|
|
1919
|
-
onClick: a[1] || (a[1] = (u) => p(c)(1))
|
|
1920
|
-
}, " 1 ", 8, As)),
|
|
1921
|
-
t.isCompact ? A("", !0) : (h(), g("div", ks, " ... ")),
|
|
1922
|
-
(h(!0), g(E, null, nt(p(i), (u) => (h(), g("button", {
|
|
1923
|
-
key: u,
|
|
1924
|
-
type: "button",
|
|
1925
|
-
class: M({ "is-active": u === p(s) }),
|
|
1926
|
-
disabled: u === p(s),
|
|
1927
|
-
onClick: (y) => p(c)(u)
|
|
1928
|
-
}, w(u), 11, _s))), 128)),
|
|
1929
|
-
t.isCompact ? A("", !0) : (h(), g("div", Os, [...a[4] || (a[4] = [
|
|
1930
|
-
v("span", null, "...", -1)
|
|
1931
|
-
])])),
|
|
1932
|
-
t.isCompact ? A("", !0) : (h(), g("button", {
|
|
1933
|
-
key: 3,
|
|
1934
|
-
type: "button",
|
|
1935
|
-
disabled: p(s) === p(r),
|
|
1936
|
-
onClick: a[2] || (a[2] = (u) => p(c)(p(r)))
|
|
1937
|
-
}, w(p(r)), 9, zs)),
|
|
1938
|
-
v("button", {
|
|
1939
|
-
type: "button",
|
|
1940
|
-
disabled: p(s) === p(r),
|
|
1941
|
-
onClick: a[3] || (a[3] = ht((u) => p(f)(1), ["prevent"]))
|
|
1942
|
-
}, [
|
|
1943
|
-
C(d.$slots, "next", {}, () => [
|
|
1944
|
-
I(p(Io), { class: "icon paginator-left" })
|
|
1945
|
-
])
|
|
1946
|
-
], 8, $s)
|
|
1947
|
-
])) : A("", !0);
|
|
1948
|
-
}
|
|
1949
|
-
}, Ie = {
|
|
1950
|
-
__name: "ResponsiveTable",
|
|
1951
|
-
setup(t) {
|
|
1952
|
-
const e = z(null);
|
|
1953
|
-
return (o, n) => (h(), g("div", {
|
|
1954
|
-
ref_key: "el",
|
|
1955
|
-
ref: e,
|
|
1956
|
-
class: "table-responsive"
|
|
1957
|
-
}, [
|
|
1958
|
-
C(o.$slots, "default", { el: e.value })
|
|
1959
|
-
], 512));
|
|
1960
|
-
}
|
|
1961
|
-
}, Is = { class: "is-team-name-long" }, Cs = { class: "is-team-name-short" }, Gs = { class: "is-team-name-long" }, Es = { class: "is-team-name-short" }, Rs = {
|
|
1962
|
-
key: 0,
|
|
1963
|
-
class: "text-highlighted"
|
|
1964
|
-
}, Vs = ["href", "target"], Ds = {
|
|
1965
|
-
key: 0,
|
|
1966
|
-
class: "badge"
|
|
1967
|
-
}, Ls = {
|
|
1968
|
-
key: 1,
|
|
1969
|
-
class: "badge"
|
|
1970
|
-
}, Ns = {
|
|
1971
|
-
key: 2,
|
|
1972
|
-
class: "badge"
|
|
1973
|
-
}, Ms = { key: 1 }, js = ["data-state", "onClick", "onKeydown"], Fs = { class: "list" }, Hs = ["href", "target"], Bs = { class: "start" }, Ws = { class: "text" }, Ks = { key: 0 }, qs = ["href"], Js = { class: "start" }, Us = { class: "text" }, Gr = {
|
|
1974
|
-
__name: "ScheduleTable",
|
|
1975
|
-
props: {
|
|
1976
|
-
rows: {
|
|
1977
|
-
type: Array,
|
|
1978
|
-
default: () => []
|
|
1979
|
-
},
|
|
1980
|
-
isLoading: {
|
|
1981
|
-
type: Boolean,
|
|
1982
|
-
deafult: !1
|
|
1983
|
-
},
|
|
1984
|
-
hideColumns: {
|
|
1985
|
-
type: String,
|
|
1986
|
-
default: ""
|
|
1987
|
-
},
|
|
1988
|
-
offsetName: {
|
|
1989
|
-
type: String,
|
|
1990
|
-
default: ""
|
|
1991
|
-
},
|
|
1992
|
-
externalGameResolver: {
|
|
1993
|
-
type: Function,
|
|
1994
|
-
required: !0
|
|
1995
|
-
},
|
|
1996
|
-
externalGameResolverTarget: {
|
|
1997
|
-
type: String,
|
|
1998
|
-
default: "_blank"
|
|
1999
|
-
}
|
|
2000
|
-
},
|
|
2001
|
-
setup(t) {
|
|
2002
|
-
const e = t, o = z(null), { onError: n } = ne(), { columns: s, error: r } = se(
|
|
2003
|
-
ao,
|
|
2004
|
-
O(() => e.hideColumns),
|
|
2005
|
-
O(() => ({
|
|
2006
|
-
offsetName: e.offsetName
|
|
2007
|
-
}))
|
|
2008
|
-
);
|
|
2009
|
-
to(
|
|
2010
|
-
r,
|
|
2011
|
-
() => n(
|
|
2012
|
-
new re(xt.message, {
|
|
2013
|
-
...xt.options,
|
|
2014
|
-
cause: { column: r.value }
|
|
2015
|
-
})
|
|
2016
|
-
),
|
|
2017
|
-
{
|
|
2018
|
-
immediate: !0
|
|
2019
|
-
}
|
|
2020
|
-
);
|
|
2021
|
-
const { t: i } = Q();
|
|
2022
|
-
return (c, f) => (h(), g(E, null, [
|
|
2023
|
-
I(Ie, null, {
|
|
2024
|
-
default: P(({ el: d }) => [
|
|
2025
|
-
I(ze, {
|
|
2026
|
-
columns: p(s),
|
|
2027
|
-
rows: e.rows,
|
|
2028
|
-
"is-loading": t.isLoading,
|
|
2029
|
-
"append-to": o.value || d
|
|
2030
|
-
}, {
|
|
2031
|
-
"cell-homeTeamName": P(({ row: a }) => [
|
|
2032
|
-
a.homeTeam ? (h(), g(E, { key: 0 }, [
|
|
2033
|
-
v("span", Is, w(a.homeTeam.longName), 1),
|
|
2034
|
-
v("span", Cs, w(a.homeTeam.shortName), 1)
|
|
2035
|
-
], 64)) : A("", !0)
|
|
2036
|
-
]),
|
|
2037
|
-
"cell-awayTeamName": P(({ row: a }) => [
|
|
2038
|
-
a.awayTeam ? (h(), g(E, { key: 0 }, [
|
|
2039
|
-
v("span", Gs, w(a.awayTeam.longName), 1),
|
|
2040
|
-
v("span", Es, w(a.awayTeam.shortName), 1)
|
|
2041
|
-
], 64)) : A("", !0)
|
|
2042
|
-
]),
|
|
2043
|
-
"cell-homeTeamLogo": P(({ row: a }) => [
|
|
2044
|
-
a.homeTeam ? (h(), R(at, {
|
|
2045
|
-
key: a.homeTeam.id,
|
|
2046
|
-
class: "is-logo-image",
|
|
2047
|
-
src: a.homeTeam.logo
|
|
2048
|
-
}, null, 8, ["src"])) : A("", !0)
|
|
2049
|
-
]),
|
|
2050
|
-
"cell-awayTeamLogo": P(({ row: a }) => [
|
|
2051
|
-
a.awayTeam ? (h(), R(at, {
|
|
2052
|
-
key: a.awayTeam.id,
|
|
2053
|
-
class: "is-logo-image",
|
|
2054
|
-
src: a.awayTeam.logo
|
|
2055
|
-
}, null, 8, ["src"])) : A("", !0)
|
|
2056
|
-
]),
|
|
2057
|
-
"cell-gameResult": P(({ row: a }) => [
|
|
2058
|
-
a.gameStatus === 0 ? (h(), g("span", Rs, "-:-")) : (h(), g("a", {
|
|
2059
|
-
key: 1,
|
|
2060
|
-
href: t.externalGameResolver(a.gameId),
|
|
2061
|
-
target: t.externalGameResolverTarget,
|
|
2062
|
-
class: M({ "text-highlighted": a.gameStatus !== 1, "is-text-accent": a.gameStatus === 1 })
|
|
2063
|
-
}, w(a.homeTeamScore) + ":" + w(a.awayTeamScore), 11, Vs))
|
|
2064
|
-
]),
|
|
2065
|
-
"cell-gameResultType": P(({ row: a }) => [
|
|
2066
|
-
a.isOvertime ? (h(), g("span", Ds, w(p(i)("common.overtimeShort")), 1)) : A("", !0),
|
|
2067
|
-
a.isShootout ? (h(), g("span", Ls, w(p(i)("common.shootoutShort")), 1)) : A("", !0),
|
|
2068
|
-
a.seriesStandings ? (h(), g("span", Ns, w(a.seriesStandings), 1)) : A("", !0)
|
|
2069
|
-
]),
|
|
2070
|
-
"cell-broadcast": P(({ row: a }) => [
|
|
2071
|
-
a.broadcast ? (h(), R(p(So), { key: 0 })) : (h(), g("span", Ms))
|
|
2072
|
-
]),
|
|
2073
|
-
"cell-location": P(({ row: a }) => [
|
|
2074
|
-
U(w(a.location?.locationName ?? ""), 1)
|
|
2075
|
-
]),
|
|
2076
|
-
"cell-more": P(({ row: a }) => [
|
|
2077
|
-
I(Oe, {
|
|
2078
|
-
offset: 2,
|
|
2079
|
-
placement: "left",
|
|
2080
|
-
theme: "content",
|
|
2081
|
-
"append-to": d
|
|
2082
|
-
}, {
|
|
2083
|
-
default: P(({ setRef: u, open: y, toggle: m, nextFocus: l }) => [
|
|
2084
|
-
v("button", {
|
|
2085
|
-
ref: u,
|
|
2086
|
-
type: "button",
|
|
2087
|
-
"aria-label": "more",
|
|
2088
|
-
"data-state": y ? "open" : "closed",
|
|
2089
|
-
class: "icon-button",
|
|
2090
|
-
onClick: ht(m, ["stop", "prevent"]),
|
|
2091
|
-
onKeydown: Rt(l, ["tab"])
|
|
2092
|
-
}, [
|
|
2093
|
-
I(p(Oo))
|
|
2094
|
-
], 40, js)
|
|
2095
|
-
]),
|
|
2096
|
-
content: P(() => [
|
|
2097
|
-
v("ul", Fs, [
|
|
2098
|
-
v("li", null, [
|
|
2099
|
-
v("a", {
|
|
2100
|
-
href: t.externalGameResolver(a.gameId),
|
|
2101
|
-
class: "is-dropdown-item",
|
|
2102
|
-
target: t.externalGameResolverTarget
|
|
2103
|
-
}, [
|
|
2104
|
-
v("div", Bs, [
|
|
2105
|
-
I(p(Eo))
|
|
2106
|
-
]),
|
|
2107
|
-
v("div", Ws, w(p(i)("common.report")), 1)
|
|
2108
|
-
], 8, Hs)
|
|
2109
|
-
]),
|
|
2110
|
-
a.video ? (h(), g("li", Ks, [
|
|
2111
|
-
v("a", {
|
|
2112
|
-
href: a.video,
|
|
2113
|
-
class: "is-dropdown-item",
|
|
2114
|
-
target: "_blank"
|
|
2115
|
-
}, [
|
|
2116
|
-
v("div", Js, [
|
|
2117
|
-
I(p(Jo))
|
|
2118
|
-
]),
|
|
2119
|
-
v("div", Us, w(p(i)("common.video")), 1)
|
|
2120
|
-
], 8, qs)
|
|
2121
|
-
])) : A("", !0)
|
|
2122
|
-
])
|
|
2123
|
-
]),
|
|
2124
|
-
_: 2
|
|
2125
|
-
}, 1032, ["append-to"])
|
|
2126
|
-
]),
|
|
2127
|
-
loading: P(() => [
|
|
2128
|
-
I($e)
|
|
2129
|
-
]),
|
|
2130
|
-
_: 2
|
|
2131
|
-
}, 1032, ["columns", "rows", "is-loading", "append-to"])
|
|
2132
|
-
]),
|
|
2133
|
-
_: 1
|
|
2134
|
-
}),
|
|
2135
|
-
v("div", {
|
|
2136
|
-
ref_key: "tooltipContainer",
|
|
2137
|
-
ref: o
|
|
2138
|
-
}, null, 512)
|
|
2139
|
-
], 64));
|
|
2140
|
-
}
|
|
2141
|
-
}, Ys = { class: "flex-container mb-md" }, Zs = ["value"], Xs = {
|
|
2142
|
-
key: 0,
|
|
2143
|
-
class: "tabs underlined mb-md"
|
|
2144
|
-
}, Qs = ["aria-label"], tr = ["aria-selected", "onClick"], Er = {
|
|
2145
|
-
__name: "SeasonSelector",
|
|
2146
|
-
props: {
|
|
2147
|
-
seasons: {
|
|
2148
|
-
type: Array,
|
|
2149
|
-
default: () => []
|
|
2150
|
-
},
|
|
2151
|
-
championshipId: {
|
|
2152
|
-
type: Number,
|
|
2153
|
-
default: 0
|
|
2154
|
-
},
|
|
2155
|
-
sections: {
|
|
2156
|
-
type: Array,
|
|
2157
|
-
default: () => []
|
|
2158
|
-
},
|
|
2159
|
-
sectionId: {
|
|
2160
|
-
type: Number,
|
|
2161
|
-
default: 0
|
|
2162
|
-
},
|
|
2163
|
-
isSectionSelectionDisabled: {
|
|
2164
|
-
type: Boolean,
|
|
2165
|
-
default: !1
|
|
2166
|
-
}
|
|
2167
|
-
},
|
|
2168
|
-
emits: ["onChangeSeason", "onChangeSection"],
|
|
2169
|
-
setup(t, { emit: e }) {
|
|
2170
|
-
const o = t, n = e, { t: s } = Q(), r = O({
|
|
2171
|
-
get() {
|
|
2172
|
-
return o.championshipId;
|
|
2173
|
-
},
|
|
2174
|
-
set(c) {
|
|
2175
|
-
n("onChangeSeason", c);
|
|
2176
|
-
}
|
|
2177
|
-
});
|
|
2178
|
-
function i(c) {
|
|
2179
|
-
n("onChangeSection", c);
|
|
2180
|
-
}
|
|
2181
|
-
return (c, f) => (h(), g(E, null, [
|
|
2182
|
-
v("div", Ys, [
|
|
2183
|
-
I(ss, {
|
|
2184
|
-
label: p(s)("selection.season"),
|
|
2185
|
-
name: "season"
|
|
2186
|
-
}, {
|
|
2187
|
-
default: P(() => [
|
|
2188
|
-
I(bo, {
|
|
2189
|
-
id: "season",
|
|
2190
|
-
modelValue: r.value,
|
|
2191
|
-
"onUpdate:modelValue": f[0] || (f[0] = (d) => r.value = d)
|
|
2192
|
-
}, {
|
|
2193
|
-
default: P(() => [
|
|
2194
|
-
(h(!0), g(E, null, nt(t.seasons, (d) => (h(), g("option", {
|
|
2195
|
-
key: d.championshipId,
|
|
2196
|
-
value: d.championshipId
|
|
2197
|
-
}, w(d.seasonName), 9, Zs))), 128))
|
|
2198
|
-
]),
|
|
2199
|
-
_: 1
|
|
2200
|
-
}, 8, ["modelValue"])
|
|
2201
|
-
]),
|
|
2202
|
-
_: 1
|
|
2203
|
-
}, 8, ["label"]),
|
|
2204
|
-
C(c.$slots, "default")
|
|
2205
|
-
]),
|
|
2206
|
-
t.isSectionSelectionDisabled ? A("", !0) : (h(), g("nav", Xs, [
|
|
2207
|
-
v("div", {
|
|
2208
|
-
role: "tablist",
|
|
2209
|
-
"aria-label": p(s)("selection.sections")
|
|
2210
|
-
}, [
|
|
2211
|
-
(h(!0), g(E, null, nt(t.sections, (d) => (h(), g("button", {
|
|
2212
|
-
key: d.phaseId,
|
|
2213
|
-
role: "tab",
|
|
2214
|
-
type: "button",
|
|
2215
|
-
"aria-selected": d.phaseName === t.sectionId,
|
|
2216
|
-
onClick: (a) => i(d)
|
|
2217
|
-
}, w(d.phaseName), 9, tr))), 128))
|
|
2218
|
-
], 8, Qs)
|
|
2219
|
-
]))
|
|
2220
|
-
], 64));
|
|
2221
|
-
}
|
|
2222
|
-
}, er = { class: "avatar" }, or = ["href"], nr = { class: "is-team-name-long" }, sr = { class: "is-team-name-short" }, rr = { class: "is-team-name-long" }, ir = { key: 0 }, ar = { class: "is-team-name-short" }, lr = { key: 0 }, cr = { class: "is-team-name-long" }, dr = { class: "is-team-name-short" }, ur = { class: "is-team-name-long" }, mr = { class: "is-team-name-short" }, fr = ["href"], pr = {
|
|
2223
|
-
key: 0,
|
|
2224
|
-
class: "text-highlighted"
|
|
2225
|
-
}, hr = ["href", "target"], gr = {
|
|
2226
|
-
key: 0,
|
|
2227
|
-
class: "badge"
|
|
2228
|
-
}, yr = {
|
|
2229
|
-
key: 1,
|
|
2230
|
-
class: "badge"
|
|
2231
|
-
}, vr = {
|
|
2232
|
-
key: 2,
|
|
2233
|
-
class: "badge"
|
|
2234
|
-
}, Rr = {
|
|
2235
|
-
__name: "StatisticsTable",
|
|
2236
|
-
props: {
|
|
2237
|
-
columns: {
|
|
2238
|
-
type: Object,
|
|
2239
|
-
required: !0
|
|
2240
|
-
},
|
|
2241
|
-
rows: {
|
|
2242
|
-
type: Array,
|
|
2243
|
-
default: () => []
|
|
2244
|
-
},
|
|
2245
|
-
isLoading: {
|
|
2246
|
-
type: Boolean,
|
|
2247
|
-
deafult: !1
|
|
2248
|
-
},
|
|
2249
|
-
hideColumns: {
|
|
2250
|
-
type: String,
|
|
2251
|
-
default: ""
|
|
2252
|
-
},
|
|
2253
|
-
sort: {
|
|
2254
|
-
type: Object,
|
|
2255
|
-
default: () => ({})
|
|
2256
|
-
},
|
|
2257
|
-
externalTeamResolver: {
|
|
2258
|
-
type: Function,
|
|
2259
|
-
required: !0
|
|
2260
|
-
},
|
|
2261
|
-
externalPlayerResolver: {
|
|
2262
|
-
type: Function,
|
|
2263
|
-
default: () => {
|
|
2264
|
-
}
|
|
2265
|
-
},
|
|
2266
|
-
externalGameResolver: {
|
|
2267
|
-
type: Function,
|
|
2268
|
-
default: () => {
|
|
2269
|
-
}
|
|
2270
|
-
},
|
|
2271
|
-
externalGameResolverTarget: {
|
|
2272
|
-
type: String,
|
|
2273
|
-
default: "_self"
|
|
2274
|
-
},
|
|
2275
|
-
isTeamLinked: {
|
|
2276
|
-
type: Boolean,
|
|
2277
|
-
default: !1
|
|
2278
|
-
},
|
|
2279
|
-
isPlayerLinked: {
|
|
2280
|
-
type: Boolean,
|
|
2281
|
-
default: !1
|
|
2282
|
-
},
|
|
2283
|
-
appendTo: {
|
|
2284
|
-
type: [Object, String],
|
|
2285
|
-
default: null
|
|
2286
|
-
},
|
|
2287
|
-
offsetName: {
|
|
2288
|
-
type: String,
|
|
2289
|
-
default: ""
|
|
2290
|
-
}
|
|
2291
|
-
},
|
|
2292
|
-
emits: ["sort"],
|
|
2293
|
-
setup(t, { emit: e }) {
|
|
2294
|
-
const o = t, n = e, { columns: s, hideColumns: r } = Nt(o), { onError: i } = ne(), { t: c } = Q(), { columns: f, error: d } = se(
|
|
2295
|
-
s,
|
|
2296
|
-
r,
|
|
2297
|
-
O(() => ({
|
|
2298
|
-
offsetName: o.offsetName
|
|
2299
|
-
}))
|
|
2300
|
-
);
|
|
2301
|
-
d.value && i(
|
|
2302
|
-
new re(xt.message, {
|
|
2303
|
-
...xt.options,
|
|
2304
|
-
cause: { column: d.value }
|
|
2305
|
-
})
|
|
2306
|
-
);
|
|
2307
|
-
const a = (u) => n("sort", u);
|
|
2308
|
-
return (u, y) => (h(), R(Ie, null, {
|
|
2309
|
-
default: P(({ el: m }) => [
|
|
2310
|
-
I(ze, {
|
|
2311
|
-
columns: p(f),
|
|
2312
|
-
sort: o.sort,
|
|
2313
|
-
rows: o.rows,
|
|
2314
|
-
"is-loading": t.isLoading,
|
|
2315
|
-
"append-to": t.appendTo || m,
|
|
2316
|
-
onSort: a
|
|
2317
|
-
}, Be({
|
|
2318
|
-
"cell-index": P(({ row: l }) => [
|
|
2319
|
-
v("span", {
|
|
2320
|
-
class: M(l.indexClass)
|
|
2321
|
-
}, w(l.index), 3)
|
|
2322
|
-
]),
|
|
2323
|
-
"cell-playerPortrait": P(({ row: l }) => [
|
|
2324
|
-
v("div", er, [
|
|
2325
|
-
(h(), R(at, {
|
|
2326
|
-
key: l.player.playerId,
|
|
2327
|
-
src: l.player.picture,
|
|
2328
|
-
"default-src": p(no)
|
|
2329
|
-
}, null, 8, ["src", "default-src"]))
|
|
2330
|
-
])
|
|
2331
|
-
]),
|
|
2332
|
-
"cell-teamLogo": P(({ row: l }) => [
|
|
2333
|
-
(h(), R(at, {
|
|
2334
|
-
key: l.team?.id ?? l.id,
|
|
2335
|
-
class: "is-logo-image",
|
|
2336
|
-
src: l.team?.logo
|
|
2337
|
-
}, null, 8, ["src"]))
|
|
2338
|
-
]),
|
|
2339
|
-
"cell-homeTeamLogo": P(({ row: l }) => [
|
|
2340
|
-
(h(), R(at, {
|
|
2341
|
-
key: l.homeTeam?.id,
|
|
2342
|
-
class: "is-logo-image is-right",
|
|
2343
|
-
src: l.homeTeam?.logo
|
|
2344
|
-
}, null, 8, ["src"]))
|
|
2345
|
-
]),
|
|
2346
|
-
"cell-awayTeamLogo": P(({ row: l }) => [
|
|
2347
|
-
(h(), R(at, {
|
|
2348
|
-
key: l.awayTeam?.id,
|
|
2349
|
-
class: "is-logo-image is-right",
|
|
2350
|
-
src: l.awayTeam?.logo
|
|
2351
|
-
}, null, 8, ["src"]))
|
|
2352
|
-
]),
|
|
2353
|
-
"cell-teamName": P(({ row: l }) => [
|
|
2354
|
-
t.isTeamLinked ? (h(), g("a", {
|
|
2355
|
-
key: 0,
|
|
2356
|
-
href: t.externalTeamResolver(l),
|
|
2357
|
-
target: "_blank"
|
|
2358
|
-
}, [
|
|
2359
|
-
v("span", nr, w(l.team?.longName), 1),
|
|
2360
|
-
v("span", sr, w(l.team?.shortName), 1)
|
|
2361
|
-
], 8, or)) : (h(), g(E, { key: 1 }, [
|
|
2362
|
-
v("span", rr, [
|
|
2363
|
-
U(w(l.team?.longName) + " ", 1),
|
|
2364
|
-
l.penaltyPoints ? (h(), g("span", ir, [...y[0] || (y[0] = [
|
|
2365
|
-
v("sup", null, "*", -1)
|
|
2366
|
-
])])) : A("", !0)
|
|
2367
|
-
]),
|
|
2368
|
-
v("span", ar, [
|
|
2369
|
-
U(w(l.team?.shortName) + " ", 1),
|
|
2370
|
-
l.penaltyPoints ? (h(), g("span", lr, [...y[1] || (y[1] = [
|
|
2371
|
-
v("sup", null, "*", -1)
|
|
2372
|
-
])])) : A("", !0)
|
|
2373
|
-
])
|
|
2374
|
-
], 64))
|
|
2375
|
-
]),
|
|
2376
|
-
"cell-homeTeamName": P(({ row: l }) => [
|
|
2377
|
-
v("span", cr, w(l.homeTeam?.longName), 1),
|
|
2378
|
-
v("span", dr, w(l.homeTeam?.shortName), 1)
|
|
2379
|
-
]),
|
|
2380
|
-
"cell-awayTeamName": P(({ row: l }) => [
|
|
2381
|
-
v("span", ur, w(l.awayTeam?.longName), 1),
|
|
2382
|
-
v("span", mr, w(l.awayTeam?.shortName), 1)
|
|
2383
|
-
]),
|
|
2384
|
-
"cell-location": P(({ row: l }) => [
|
|
2385
|
-
U(w(l.location?.locationName ?? ""), 1)
|
|
2386
|
-
]),
|
|
2387
|
-
"cell-gameResult": P(({ row: l }) => [
|
|
2388
|
-
l.gameStatus === 0 ? (h(), g("span", pr, "-:-")) : (h(), g("a", {
|
|
2389
|
-
key: 1,
|
|
2390
|
-
href: t.externalGameResolver(l),
|
|
2391
|
-
target: t.externalGameResolverTarget,
|
|
2392
|
-
class: M({ "text-highlighted": l.gameStatus !== 1, "is-text-accent": l.gameStatus === 1 })
|
|
2393
|
-
}, w(l.homeTeamScore) + ":" + w(l.awayTeamScore), 11, hr))
|
|
2394
|
-
]),
|
|
2395
|
-
"cell-gameResultType": P(({ row: l }) => [
|
|
2396
|
-
l.isOvertime ? (h(), g("span", gr, w(p(c)("common.overtimeShort")), 1)) : A("", !0),
|
|
2397
|
-
l.isShootout ? (h(), g("span", yr, w(p(c)("common.shootoutShort")), 1)) : A("", !0),
|
|
2398
|
-
l.seriesStandings ? (h(), g("span", vr, w(l.seriesStandings), 1)) : A("", !0)
|
|
2399
|
-
]),
|
|
2400
|
-
loading: P(() => [
|
|
2401
|
-
I($e)
|
|
2402
|
-
]),
|
|
2403
|
-
_: 2
|
|
2404
|
-
}, [
|
|
2405
|
-
t.isPlayerLinked ? {
|
|
2406
|
-
name: "cell-name",
|
|
2407
|
-
fn: P(({ row: l }) => [
|
|
2408
|
-
v("a", {
|
|
2409
|
-
href: t.externalPlayerResolver(l),
|
|
2410
|
-
target: "_blank"
|
|
2411
|
-
}, w(l.name), 9, fr)
|
|
2412
|
-
]),
|
|
2413
|
-
key: "0"
|
|
2414
|
-
} : void 0,
|
|
2415
|
-
u.$slots.caption ? {
|
|
2416
|
-
name: "caption",
|
|
2417
|
-
fn: P(() => [
|
|
2418
|
-
C(u.$slots, "caption")
|
|
2419
|
-
]),
|
|
2420
|
-
key: "1"
|
|
2421
|
-
} : void 0
|
|
2422
|
-
]), 1032, ["columns", "sort", "rows", "is-loading", "append-to"])
|
|
2423
|
-
]),
|
|
2424
|
-
_: 3
|
|
2425
|
-
}));
|
|
2426
|
-
}
|
|
2427
|
-
}, br = { class: "timezone-selector" }, wr = ["onClick"], Vr = {
|
|
2428
|
-
__name: "TimezoneSelector",
|
|
2429
|
-
props: {
|
|
2430
|
-
locale: {
|
|
2431
|
-
type: String,
|
|
2432
|
-
default: "hu"
|
|
2433
|
-
},
|
|
2434
|
-
currentZone: {
|
|
2435
|
-
type: String,
|
|
2436
|
-
required: !0
|
|
2437
|
-
}
|
|
2438
|
-
},
|
|
2439
|
-
emits: ["change"],
|
|
2440
|
-
setup(t, { emit: e }) {
|
|
2441
|
-
const o = t, n = e, { t: s } = Q(), r = O(() => wt(/* @__PURE__ */ new Date(), null, o.locale)), i = io(), c = O(() => Array.from(so.values()).map((d) => ({
|
|
2442
|
-
...d,
|
|
2443
|
-
isActive: wt(/* @__PURE__ */ new Date(), o.currentZone, o.locale) === wt(/* @__PURE__ */ new Date(), d.timezone, o.locale),
|
|
2444
|
-
zoneOffsetName: wt(/* @__PURE__ */ new Date(), d.timezone, o.locale)
|
|
2445
|
-
}))), f = (d) => n("change", d);
|
|
2446
|
-
return (d, a) => (h(), g("div", br, [
|
|
2447
|
-
I(p(eo), {
|
|
2448
|
-
path: "common.selectTimezone",
|
|
2449
|
-
tag: "span"
|
|
2450
|
-
}, {
|
|
2451
|
-
timezone: P(() => [
|
|
2452
|
-
v("button", {
|
|
2453
|
-
type: "button",
|
|
2454
|
-
"data-variant": "link",
|
|
2455
|
-
onClick: a[0] || (a[0] = (u) => f(p(i)))
|
|
2456
|
-
}, w(r.value), 1)
|
|
2457
|
-
]),
|
|
2458
|
-
_: 1
|
|
2459
|
-
}),
|
|
2460
|
-
(h(!0), g(E, null, nt(c.value, (u) => (h(), g("button", {
|
|
2461
|
-
key: u.countryLabelKey,
|
|
2462
|
-
type: "button",
|
|
2463
|
-
"data-variant": "link",
|
|
2464
|
-
class: M({ "is-active": u.isActive }),
|
|
2465
|
-
onClick: ht((y) => f(u.timezone), ["prevent"])
|
|
2466
|
-
}, w(p(s)(`common.${u.countryLabelKey}`)) + " (" + w(u.zoneOffsetName) + ") ", 11, wr))), 128))
|
|
2467
|
-
]));
|
|
2468
|
-
}
|
|
2469
|
-
};
|
|
2470
|
-
export {
|
|
2471
|
-
Ir as I,
|
|
2472
|
-
Or as _,
|
|
2473
|
-
bo as a,
|
|
2474
|
-
ze as b,
|
|
2475
|
-
zr as c,
|
|
2476
|
-
$r as d,
|
|
2477
|
-
_r as e,
|
|
2478
|
-
Oe as f,
|
|
2479
|
-
ss as g,
|
|
2480
|
-
at as h,
|
|
2481
|
-
$e as i,
|
|
2482
|
-
Cr as j,
|
|
2483
|
-
Ie as k,
|
|
2484
|
-
Gr as l,
|
|
2485
|
-
Er as m,
|
|
2486
|
-
Rr as n,
|
|
2487
|
-
Vr as o
|
|
2488
|
-
};
|