@mjsz-vbr-elements/core 2.1.0-beta.10
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/README.md +6 -0
- package/dist/index.iife.js +22 -0
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +4946 -0
- package/package.json +49 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,4946 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* name: @mjsz-vbr-elements/core
|
|
3
|
+
* version: v2.1.0-beta.10 - 23/09/2023, 10:09:56
|
|
4
|
+
* (c) 2023
|
|
5
|
+
* description: Data visualization for MJSZ VBR
|
|
6
|
+
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
|
+
*/
|
|
8
|
+
import { computed as X, withDirectives as un, openBlock as L, createElementBlock as I, normalizeClass as rt, unref as b, renderSlot as ot, vModelSelect as fn, ref as H, readonly as dn, watch as dt, nextTick as pn, getCurrentScope as mn, onScopeDispose as hn, isRef as hr, shallowRef as Ie, reactive as gr, defineComponent as yr, h as gn, provide as vr, inject as br, createElementVNode as C, Fragment as $t, normalizeStyle as Ne, createVNode as At, Transition as yn, withCtx as st, createTextVNode as Rt, toDisplayString as Z, createCommentVNode as et, toRefs as wr, renderList as Ft, createBlock as yt, withKeys as Ce, withModifiers as Ht, onErrorCaptured as vn, createSlots as bn } from "vue";
|
|
9
|
+
const zt = (t) => ({}.VITE_CSS_CLASS_PREFIX || "mjsz-vbr-") + t, Vi = {
|
|
10
|
+
__name: "BaseSelect",
|
|
11
|
+
props: {
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: [String, Number],
|
|
14
|
+
default: null
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:modelValue"],
|
|
18
|
+
setup(t, { emit: e }) {
|
|
19
|
+
const r = t, n = zt("base-input"), a = X({ get: () => r.modelValue, set: (o) => e("update:modelValue", o) });
|
|
20
|
+
return (o, s) => un((L(), I("select", {
|
|
21
|
+
"onUpdate:modelValue": s[0] || (s[0] = (i) => a.value = i),
|
|
22
|
+
class: rt([b(n), "is-select"])
|
|
23
|
+
}, [
|
|
24
|
+
ot(o.$slots, "default")
|
|
25
|
+
], 2)), [
|
|
26
|
+
[fn, a.value]
|
|
27
|
+
]);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
function Pr(t) {
|
|
31
|
+
return mn() ? (hn(t), !0) : !1;
|
|
32
|
+
}
|
|
33
|
+
function ct(t) {
|
|
34
|
+
return typeof t == "function" ? t() : b(t);
|
|
35
|
+
}
|
|
36
|
+
const ae = typeof window < "u", pt = () => {
|
|
37
|
+
}, wn = /* @__PURE__ */ Pn();
|
|
38
|
+
function Pn() {
|
|
39
|
+
var t;
|
|
40
|
+
return ae && ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
41
|
+
}
|
|
42
|
+
function we(t, e = !1, r = "Timeout") {
|
|
43
|
+
return new Promise((n, a) => {
|
|
44
|
+
setTimeout(e ? () => a(r) : n, t);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function Pe(t, e = !1) {
|
|
48
|
+
function r(l, { flush: d = "sync", deep: f = !1, timeout: h, throwOnTimeout: p } = {}) {
|
|
49
|
+
let g = null;
|
|
50
|
+
const O = [new Promise((_) => {
|
|
51
|
+
g = dt(
|
|
52
|
+
t,
|
|
53
|
+
(D) => {
|
|
54
|
+
l(D) !== e && (g == null || g(), _(D));
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
flush: d,
|
|
58
|
+
deep: f,
|
|
59
|
+
immediate: !0
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
})];
|
|
63
|
+
return h != null && O.push(
|
|
64
|
+
we(h, p).then(() => ct(t)).finally(() => g == null ? void 0 : g())
|
|
65
|
+
), Promise.race(O);
|
|
66
|
+
}
|
|
67
|
+
function n(l, d) {
|
|
68
|
+
if (!hr(l))
|
|
69
|
+
return r((D) => D === l, d);
|
|
70
|
+
const { flush: f = "sync", deep: h = !1, timeout: p, throwOnTimeout: g } = d ?? {};
|
|
71
|
+
let $ = null;
|
|
72
|
+
const _ = [new Promise((D) => {
|
|
73
|
+
$ = dt(
|
|
74
|
+
[t, l],
|
|
75
|
+
([k, N]) => {
|
|
76
|
+
e !== (k === N) && ($ == null || $(), D(k));
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
flush: f,
|
|
80
|
+
deep: h,
|
|
81
|
+
immediate: !0
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
})];
|
|
85
|
+
return p != null && _.push(
|
|
86
|
+
we(p, g).then(() => ct(t)).finally(() => ($ == null || $(), ct(t)))
|
|
87
|
+
), Promise.race(_);
|
|
88
|
+
}
|
|
89
|
+
function a(l) {
|
|
90
|
+
return r((d) => !!d, l);
|
|
91
|
+
}
|
|
92
|
+
function o(l) {
|
|
93
|
+
return n(null, l);
|
|
94
|
+
}
|
|
95
|
+
function s(l) {
|
|
96
|
+
return n(void 0, l);
|
|
97
|
+
}
|
|
98
|
+
function i(l) {
|
|
99
|
+
return r(Number.isNaN, l);
|
|
100
|
+
}
|
|
101
|
+
function u(l, d) {
|
|
102
|
+
return r((f) => {
|
|
103
|
+
const h = Array.from(f);
|
|
104
|
+
return h.includes(l) || h.includes(ct(l));
|
|
105
|
+
}, d);
|
|
106
|
+
}
|
|
107
|
+
function c(l) {
|
|
108
|
+
return m(1, l);
|
|
109
|
+
}
|
|
110
|
+
function m(l = 1, d) {
|
|
111
|
+
let f = -1;
|
|
112
|
+
return r(() => (f += 1, f >= l), d);
|
|
113
|
+
}
|
|
114
|
+
return Array.isArray(ct(t)) ? {
|
|
115
|
+
toMatch: r,
|
|
116
|
+
toContains: u,
|
|
117
|
+
changed: c,
|
|
118
|
+
changedTimes: m,
|
|
119
|
+
get not() {
|
|
120
|
+
return Pe(t, !e);
|
|
121
|
+
}
|
|
122
|
+
} : {
|
|
123
|
+
toMatch: r,
|
|
124
|
+
toBe: n,
|
|
125
|
+
toBeTruthy: a,
|
|
126
|
+
toBeNull: o,
|
|
127
|
+
toBeNaN: i,
|
|
128
|
+
toBeUndefined: s,
|
|
129
|
+
changed: c,
|
|
130
|
+
changedTimes: m,
|
|
131
|
+
get not() {
|
|
132
|
+
return Pe(t, !e);
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function $n(t) {
|
|
137
|
+
return Pe(t);
|
|
138
|
+
}
|
|
139
|
+
function On(t, e, r = {}) {
|
|
140
|
+
const {
|
|
141
|
+
immediate: n = !0
|
|
142
|
+
} = r, a = H(!1);
|
|
143
|
+
let o = null;
|
|
144
|
+
function s() {
|
|
145
|
+
o && (clearTimeout(o), o = null);
|
|
146
|
+
}
|
|
147
|
+
function i() {
|
|
148
|
+
a.value = !1, s();
|
|
149
|
+
}
|
|
150
|
+
function u(...c) {
|
|
151
|
+
s(), a.value = !0, o = setTimeout(() => {
|
|
152
|
+
a.value = !1, o = null, t(...c);
|
|
153
|
+
}, ct(e));
|
|
154
|
+
}
|
|
155
|
+
return n && (a.value = !0, ae && u()), Pr(i), {
|
|
156
|
+
isPending: dn(a),
|
|
157
|
+
start: u,
|
|
158
|
+
stop: i
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
function An(t, e, r) {
|
|
162
|
+
const n = dt(t, (...a) => (pn(() => n()), e(...a)), r);
|
|
163
|
+
}
|
|
164
|
+
function jt(t) {
|
|
165
|
+
var e;
|
|
166
|
+
const r = ct(t);
|
|
167
|
+
return (e = r == null ? void 0 : r.$el) != null ? e : r;
|
|
168
|
+
}
|
|
169
|
+
const $r = ae ? window : void 0, xn = ae ? window.document : void 0;
|
|
170
|
+
function Jt(...t) {
|
|
171
|
+
let e, r, n, a;
|
|
172
|
+
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, n, a] = t, e = $r) : [e, r, n, a] = t, !e)
|
|
173
|
+
return pt;
|
|
174
|
+
Array.isArray(r) || (r = [r]), Array.isArray(n) || (n = [n]);
|
|
175
|
+
const o = [], s = () => {
|
|
176
|
+
o.forEach((m) => m()), o.length = 0;
|
|
177
|
+
}, i = (m, l, d, f) => (m.addEventListener(l, d, f), () => m.removeEventListener(l, d, f)), u = dt(
|
|
178
|
+
() => [jt(e), ct(a)],
|
|
179
|
+
([m, l]) => {
|
|
180
|
+
s(), m && o.push(
|
|
181
|
+
...r.flatMap((d) => n.map((f) => i(m, d, f, l)))
|
|
182
|
+
);
|
|
183
|
+
},
|
|
184
|
+
{ immediate: !0, flush: "post" }
|
|
185
|
+
), c = () => {
|
|
186
|
+
u(), s();
|
|
187
|
+
};
|
|
188
|
+
return Pr(c), c;
|
|
189
|
+
}
|
|
190
|
+
let Ge = !1;
|
|
191
|
+
function _n(t, e, r = {}) {
|
|
192
|
+
const { window: n = $r, ignore: a = [], capture: o = !0, detectIframe: s = !1 } = r;
|
|
193
|
+
if (!n)
|
|
194
|
+
return;
|
|
195
|
+
wn && !Ge && (Ge = !0, Array.from(n.document.body.children).forEach((d) => d.addEventListener("click", pt)));
|
|
196
|
+
let i = !0;
|
|
197
|
+
const u = (d) => a.some((f) => {
|
|
198
|
+
if (typeof f == "string")
|
|
199
|
+
return Array.from(n.document.querySelectorAll(f)).some((h) => h === d.target || d.composedPath().includes(h));
|
|
200
|
+
{
|
|
201
|
+
const h = jt(f);
|
|
202
|
+
return h && (d.target === h || d.composedPath().includes(h));
|
|
203
|
+
}
|
|
204
|
+
}), m = [
|
|
205
|
+
Jt(n, "click", (d) => {
|
|
206
|
+
const f = jt(t);
|
|
207
|
+
if (!(!f || f === d.target || d.composedPath().includes(f))) {
|
|
208
|
+
if (d.detail === 0 && (i = !u(d)), !i) {
|
|
209
|
+
i = !0;
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
e(d);
|
|
213
|
+
}
|
|
214
|
+
}, { passive: !0, capture: o }),
|
|
215
|
+
Jt(n, "pointerdown", (d) => {
|
|
216
|
+
const f = jt(t);
|
|
217
|
+
f && (i = !d.composedPath().includes(f) && !u(d));
|
|
218
|
+
}, { passive: !0 }),
|
|
219
|
+
s && Jt(n, "blur", (d) => {
|
|
220
|
+
var f;
|
|
221
|
+
const h = jt(t);
|
|
222
|
+
((f = n.document.activeElement) == null ? void 0 : f.tagName) === "IFRAME" && !(h != null && h.contains(n.document.activeElement)) && e(d);
|
|
223
|
+
})
|
|
224
|
+
].filter(Boolean);
|
|
225
|
+
return () => m.forEach((d) => d());
|
|
226
|
+
}
|
|
227
|
+
var Sn = Object.defineProperty, Tn = Object.defineProperties, Mn = Object.getOwnPropertyDescriptors, Re = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable, je = (t, e, r) => e in t ? Sn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, Ln = (t, e) => {
|
|
228
|
+
for (var r in e || (e = {}))
|
|
229
|
+
Dn.call(e, r) && je(t, r, e[r]);
|
|
230
|
+
if (Re)
|
|
231
|
+
for (var r of Re(e))
|
|
232
|
+
kn.call(e, r) && je(t, r, e[r]);
|
|
233
|
+
return t;
|
|
234
|
+
}, En = (t, e) => Tn(t, Mn(e));
|
|
235
|
+
function Or(t, e, r) {
|
|
236
|
+
const {
|
|
237
|
+
immediate: n = !0,
|
|
238
|
+
delay: a = 0,
|
|
239
|
+
onError: o = pt,
|
|
240
|
+
onSuccess: s = pt,
|
|
241
|
+
resetOnExecute: i = !0,
|
|
242
|
+
shallow: u = !0,
|
|
243
|
+
throwError: c
|
|
244
|
+
} = r ?? {}, m = u ? Ie(e) : H(e), l = H(!1), d = H(!1), f = Ie(void 0);
|
|
245
|
+
async function h($ = 0, ...O) {
|
|
246
|
+
i && (m.value = e), f.value = void 0, l.value = !1, d.value = !0, $ > 0 && await we($);
|
|
247
|
+
const _ = typeof t == "function" ? t(...O) : t;
|
|
248
|
+
try {
|
|
249
|
+
const D = await _;
|
|
250
|
+
m.value = D, l.value = !0, s(D);
|
|
251
|
+
} catch (D) {
|
|
252
|
+
if (f.value = D, o(D), c)
|
|
253
|
+
throw D;
|
|
254
|
+
} finally {
|
|
255
|
+
d.value = !1;
|
|
256
|
+
}
|
|
257
|
+
return m.value;
|
|
258
|
+
}
|
|
259
|
+
n && h(a);
|
|
260
|
+
const p = {
|
|
261
|
+
state: m,
|
|
262
|
+
isReady: l,
|
|
263
|
+
isLoading: d,
|
|
264
|
+
error: f,
|
|
265
|
+
execute: h
|
|
266
|
+
};
|
|
267
|
+
function g() {
|
|
268
|
+
return new Promise(($, O) => {
|
|
269
|
+
$n(d).toBe(!1).then(() => $(p)).catch(O);
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
return En(Ln({}, p), {
|
|
273
|
+
then($, O) {
|
|
274
|
+
return g().then($, O);
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
function zn({ document: t = xn } = {}) {
|
|
279
|
+
if (!t)
|
|
280
|
+
return H("visible");
|
|
281
|
+
const e = H(t.visibilityState);
|
|
282
|
+
return Jt(t, "visibilitychange", () => {
|
|
283
|
+
e.value = t.visibilityState;
|
|
284
|
+
}), e;
|
|
285
|
+
}
|
|
286
|
+
var In = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Nn = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, Be = (t, e, r) => e in t ? In(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, Gn = (t, e) => {
|
|
287
|
+
for (var r in e || (e = {}))
|
|
288
|
+
Nn.call(e, r) && Be(t, r, e[r]);
|
|
289
|
+
if (Fe)
|
|
290
|
+
for (var r of Fe(e))
|
|
291
|
+
Cn.call(e, r) && Be(t, r, e[r]);
|
|
292
|
+
return t;
|
|
293
|
+
};
|
|
294
|
+
async function Rn(t) {
|
|
295
|
+
return new Promise((e, r) => {
|
|
296
|
+
const n = new Image(), { src: a, srcset: o, sizes: s, class: i, loading: u, crossorigin: c } = t;
|
|
297
|
+
n.src = a, o && (n.srcset = o), s && (n.sizes = s), i && (n.className = i), u && (n.loading = u), c && (n.crossOrigin = c), n.onload = () => e(n), n.onerror = r;
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
function jn(t, e = {}) {
|
|
301
|
+
const r = Or(
|
|
302
|
+
() => Rn(ct(t)),
|
|
303
|
+
void 0,
|
|
304
|
+
Gn({
|
|
305
|
+
resetOnExecute: !0
|
|
306
|
+
}, e)
|
|
307
|
+
);
|
|
308
|
+
return dt(
|
|
309
|
+
() => ct(t),
|
|
310
|
+
() => r.execute(e.delay),
|
|
311
|
+
{ deep: !0 }
|
|
312
|
+
), r;
|
|
313
|
+
}
|
|
314
|
+
function Fn(t = [], e = {}) {
|
|
315
|
+
const { delay: r = 0 } = e, n = H(!1), a = X(() => {
|
|
316
|
+
const i = b(t);
|
|
317
|
+
return Array.isArray(i) ? i.map((u) => b(u)).some(Boolean) : i;
|
|
318
|
+
}), { start: o, stop: s } = On(() => {
|
|
319
|
+
n.value = !0;
|
|
320
|
+
}, r);
|
|
321
|
+
return dt(
|
|
322
|
+
a,
|
|
323
|
+
(i) => {
|
|
324
|
+
if (i)
|
|
325
|
+
return o();
|
|
326
|
+
s(), n.value = !1;
|
|
327
|
+
},
|
|
328
|
+
{ immediate: !0, deep: !0 }
|
|
329
|
+
), n;
|
|
330
|
+
}
|
|
331
|
+
function F(t) {
|
|
332
|
+
return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
|
|
333
|
+
}
|
|
334
|
+
function W(t) {
|
|
335
|
+
return function e(r) {
|
|
336
|
+
return arguments.length === 0 || F(r) ? e : t.apply(this, arguments);
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
function B(t) {
|
|
340
|
+
return function e(r, n) {
|
|
341
|
+
switch (arguments.length) {
|
|
342
|
+
case 0:
|
|
343
|
+
return e;
|
|
344
|
+
case 1:
|
|
345
|
+
return F(r) ? e : W(function(a) {
|
|
346
|
+
return t(r, a);
|
|
347
|
+
});
|
|
348
|
+
default:
|
|
349
|
+
return F(r) && F(n) ? e : F(r) ? W(function(a) {
|
|
350
|
+
return t(a, n);
|
|
351
|
+
}) : F(n) ? W(function(a) {
|
|
352
|
+
return t(r, a);
|
|
353
|
+
}) : t(r, n);
|
|
354
|
+
}
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
function se(t, e) {
|
|
358
|
+
switch (t) {
|
|
359
|
+
case 0:
|
|
360
|
+
return function() {
|
|
361
|
+
return e.apply(this, arguments);
|
|
362
|
+
};
|
|
363
|
+
case 1:
|
|
364
|
+
return function(r) {
|
|
365
|
+
return e.apply(this, arguments);
|
|
366
|
+
};
|
|
367
|
+
case 2:
|
|
368
|
+
return function(r, n) {
|
|
369
|
+
return e.apply(this, arguments);
|
|
370
|
+
};
|
|
371
|
+
case 3:
|
|
372
|
+
return function(r, n, a) {
|
|
373
|
+
return e.apply(this, arguments);
|
|
374
|
+
};
|
|
375
|
+
case 4:
|
|
376
|
+
return function(r, n, a, o) {
|
|
377
|
+
return e.apply(this, arguments);
|
|
378
|
+
};
|
|
379
|
+
case 5:
|
|
380
|
+
return function(r, n, a, o, s) {
|
|
381
|
+
return e.apply(this, arguments);
|
|
382
|
+
};
|
|
383
|
+
case 6:
|
|
384
|
+
return function(r, n, a, o, s, i) {
|
|
385
|
+
return e.apply(this, arguments);
|
|
386
|
+
};
|
|
387
|
+
case 7:
|
|
388
|
+
return function(r, n, a, o, s, i, u) {
|
|
389
|
+
return e.apply(this, arguments);
|
|
390
|
+
};
|
|
391
|
+
case 8:
|
|
392
|
+
return function(r, n, a, o, s, i, u, c) {
|
|
393
|
+
return e.apply(this, arguments);
|
|
394
|
+
};
|
|
395
|
+
case 9:
|
|
396
|
+
return function(r, n, a, o, s, i, u, c, m) {
|
|
397
|
+
return e.apply(this, arguments);
|
|
398
|
+
};
|
|
399
|
+
case 10:
|
|
400
|
+
return function(r, n, a, o, s, i, u, c, m, l) {
|
|
401
|
+
return e.apply(this, arguments);
|
|
402
|
+
};
|
|
403
|
+
default:
|
|
404
|
+
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
function Te(t, e, r) {
|
|
408
|
+
return function() {
|
|
409
|
+
for (var n = [], a = 0, o = t, s = 0; s < e.length || a < arguments.length; ) {
|
|
410
|
+
var i;
|
|
411
|
+
s < e.length && (!F(e[s]) || a >= arguments.length) ? i = e[s] : (i = arguments[a], a += 1), n[s] = i, F(i) || (o -= 1), s += 1;
|
|
412
|
+
}
|
|
413
|
+
return o <= 0 ? r.apply(this, n) : se(o, Te(t, n, r));
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
var ie = /* @__PURE__ */ B(function(e, r) {
|
|
417
|
+
return e === 1 ? W(r) : se(e, Te(e, [], r));
|
|
418
|
+
});
|
|
419
|
+
function mt(t) {
|
|
420
|
+
return function e(r, n, a) {
|
|
421
|
+
switch (arguments.length) {
|
|
422
|
+
case 0:
|
|
423
|
+
return e;
|
|
424
|
+
case 1:
|
|
425
|
+
return F(r) ? e : B(function(o, s) {
|
|
426
|
+
return t(r, o, s);
|
|
427
|
+
});
|
|
428
|
+
case 2:
|
|
429
|
+
return F(r) && F(n) ? e : F(r) ? B(function(o, s) {
|
|
430
|
+
return t(o, n, s);
|
|
431
|
+
}) : F(n) ? B(function(o, s) {
|
|
432
|
+
return t(r, o, s);
|
|
433
|
+
}) : W(function(o) {
|
|
434
|
+
return t(r, n, o);
|
|
435
|
+
});
|
|
436
|
+
default:
|
|
437
|
+
return F(r) && F(n) && F(a) ? e : F(r) && F(n) ? B(function(o, s) {
|
|
438
|
+
return t(o, s, a);
|
|
439
|
+
}) : F(r) && F(a) ? B(function(o, s) {
|
|
440
|
+
return t(o, n, s);
|
|
441
|
+
}) : F(n) && F(a) ? B(function(o, s) {
|
|
442
|
+
return t(r, o, s);
|
|
443
|
+
}) : F(r) ? W(function(o) {
|
|
444
|
+
return t(o, n, a);
|
|
445
|
+
}) : F(n) ? W(function(o) {
|
|
446
|
+
return t(r, o, a);
|
|
447
|
+
}) : F(a) ? W(function(o) {
|
|
448
|
+
return t(r, n, o);
|
|
449
|
+
}) : t(r, n, a);
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
const le = Array.isArray || function(e) {
|
|
454
|
+
return e != null && e.length >= 0 && Object.prototype.toString.call(e) === "[object Array]";
|
|
455
|
+
};
|
|
456
|
+
function Bn(t) {
|
|
457
|
+
return t != null && typeof t["@@transducer/step"] == "function";
|
|
458
|
+
}
|
|
459
|
+
function ce(t, e, r) {
|
|
460
|
+
return function() {
|
|
461
|
+
if (arguments.length === 0)
|
|
462
|
+
return r();
|
|
463
|
+
var n = arguments[arguments.length - 1];
|
|
464
|
+
if (!le(n)) {
|
|
465
|
+
for (var a = 0; a < t.length; ) {
|
|
466
|
+
if (typeof n[t[a]] == "function")
|
|
467
|
+
return n[t[a]].apply(n, Array.prototype.slice.call(arguments, 0, -1));
|
|
468
|
+
a += 1;
|
|
469
|
+
}
|
|
470
|
+
if (Bn(n)) {
|
|
471
|
+
var o = e.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
472
|
+
return o(n);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
return r.apply(this, arguments);
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
function Ar(t) {
|
|
479
|
+
return t && t["@@transducer/reduced"] ? t : {
|
|
480
|
+
"@@transducer/value": t,
|
|
481
|
+
"@@transducer/reduced": !0
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
const kt = {
|
|
485
|
+
init: function() {
|
|
486
|
+
return this.xf["@@transducer/init"]();
|
|
487
|
+
},
|
|
488
|
+
result: function(t) {
|
|
489
|
+
return this.xf["@@transducer/result"](t);
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
function Ve(t) {
|
|
493
|
+
for (var e = [], r; !(r = t.next()).done; )
|
|
494
|
+
e.push(r.value);
|
|
495
|
+
return e;
|
|
496
|
+
}
|
|
497
|
+
function He(t, e, r) {
|
|
498
|
+
for (var n = 0, a = r.length; n < a; ) {
|
|
499
|
+
if (t(e, r[n]))
|
|
500
|
+
return !0;
|
|
501
|
+
n += 1;
|
|
502
|
+
}
|
|
503
|
+
return !1;
|
|
504
|
+
}
|
|
505
|
+
function Vn(t) {
|
|
506
|
+
var e = String(t).match(/^function (\w*)/);
|
|
507
|
+
return e == null ? "" : e[1];
|
|
508
|
+
}
|
|
509
|
+
function ut(t, e) {
|
|
510
|
+
return Object.prototype.hasOwnProperty.call(e, t);
|
|
511
|
+
}
|
|
512
|
+
function Hn(t, e) {
|
|
513
|
+
return t === e ? t !== 0 || 1 / t === 1 / e : t !== t && e !== e;
|
|
514
|
+
}
|
|
515
|
+
const he = typeof Object.is == "function" ? Object.is : Hn;
|
|
516
|
+
var Ye = Object.prototype.toString, xr = /* @__PURE__ */ function() {
|
|
517
|
+
return Ye.call(arguments) === "[object Arguments]" ? function(e) {
|
|
518
|
+
return Ye.call(e) === "[object Arguments]";
|
|
519
|
+
} : function(e) {
|
|
520
|
+
return ut("callee", e);
|
|
521
|
+
};
|
|
522
|
+
}(), Yn = !/* @__PURE__ */ {
|
|
523
|
+
toString: null
|
|
524
|
+
}.propertyIsEnumerable("toString"), Ue = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], We = /* @__PURE__ */ function() {
|
|
525
|
+
return arguments.propertyIsEnumerable("length");
|
|
526
|
+
}(), Un = function(e, r) {
|
|
527
|
+
for (var n = 0; n < e.length; ) {
|
|
528
|
+
if (e[n] === r)
|
|
529
|
+
return !0;
|
|
530
|
+
n += 1;
|
|
531
|
+
}
|
|
532
|
+
return !1;
|
|
533
|
+
}, xt = /* @__PURE__ */ W(typeof Object.keys == "function" && !We ? function(e) {
|
|
534
|
+
return Object(e) !== e ? [] : Object.keys(e);
|
|
535
|
+
} : function(e) {
|
|
536
|
+
if (Object(e) !== e)
|
|
537
|
+
return [];
|
|
538
|
+
var r, n, a = [], o = We && xr(e);
|
|
539
|
+
for (r in e)
|
|
540
|
+
ut(r, e) && (!o || r !== "length") && (a[a.length] = r);
|
|
541
|
+
if (Yn)
|
|
542
|
+
for (n = Ue.length - 1; n >= 0; )
|
|
543
|
+
r = Ue[n], ut(r, e) && !Un(a, r) && (a[a.length] = r), n -= 1;
|
|
544
|
+
return a;
|
|
545
|
+
}), $e = /* @__PURE__ */ W(function(e) {
|
|
546
|
+
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
|
547
|
+
});
|
|
548
|
+
function Ke(t, e, r, n) {
|
|
549
|
+
var a = Ve(t), o = Ve(e);
|
|
550
|
+
function s(i, u) {
|
|
551
|
+
return Me(i, u, r.slice(), n.slice());
|
|
552
|
+
}
|
|
553
|
+
return !He(function(i, u) {
|
|
554
|
+
return !He(s, u, i);
|
|
555
|
+
}, o, a);
|
|
556
|
+
}
|
|
557
|
+
function Me(t, e, r, n) {
|
|
558
|
+
if (he(t, e))
|
|
559
|
+
return !0;
|
|
560
|
+
var a = $e(t);
|
|
561
|
+
if (a !== $e(e))
|
|
562
|
+
return !1;
|
|
563
|
+
if (typeof t["fantasy-land/equals"] == "function" || typeof e["fantasy-land/equals"] == "function")
|
|
564
|
+
return typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e) && typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t);
|
|
565
|
+
if (typeof t.equals == "function" || typeof e.equals == "function")
|
|
566
|
+
return typeof t.equals == "function" && t.equals(e) && typeof e.equals == "function" && e.equals(t);
|
|
567
|
+
switch (a) {
|
|
568
|
+
case "Arguments":
|
|
569
|
+
case "Array":
|
|
570
|
+
case "Object":
|
|
571
|
+
if (typeof t.constructor == "function" && Vn(t.constructor) === "Promise")
|
|
572
|
+
return t === e;
|
|
573
|
+
break;
|
|
574
|
+
case "Boolean":
|
|
575
|
+
case "Number":
|
|
576
|
+
case "String":
|
|
577
|
+
if (!(typeof t == typeof e && he(t.valueOf(), e.valueOf())))
|
|
578
|
+
return !1;
|
|
579
|
+
break;
|
|
580
|
+
case "Date":
|
|
581
|
+
if (!he(t.valueOf(), e.valueOf()))
|
|
582
|
+
return !1;
|
|
583
|
+
break;
|
|
584
|
+
case "Error":
|
|
585
|
+
return t.name === e.name && t.message === e.message;
|
|
586
|
+
case "RegExp":
|
|
587
|
+
if (!(t.source === e.source && t.global === e.global && t.ignoreCase === e.ignoreCase && t.multiline === e.multiline && t.sticky === e.sticky && t.unicode === e.unicode))
|
|
588
|
+
return !1;
|
|
589
|
+
break;
|
|
590
|
+
}
|
|
591
|
+
for (var o = r.length - 1; o >= 0; ) {
|
|
592
|
+
if (r[o] === t)
|
|
593
|
+
return n[o] === e;
|
|
594
|
+
o -= 1;
|
|
595
|
+
}
|
|
596
|
+
switch (a) {
|
|
597
|
+
case "Map":
|
|
598
|
+
return t.size !== e.size ? !1 : Ke(t.entries(), e.entries(), r.concat([t]), n.concat([e]));
|
|
599
|
+
case "Set":
|
|
600
|
+
return t.size !== e.size ? !1 : Ke(t.values(), e.values(), r.concat([t]), n.concat([e]));
|
|
601
|
+
case "Arguments":
|
|
602
|
+
case "Array":
|
|
603
|
+
case "Object":
|
|
604
|
+
case "Boolean":
|
|
605
|
+
case "Number":
|
|
606
|
+
case "String":
|
|
607
|
+
case "Date":
|
|
608
|
+
case "Error":
|
|
609
|
+
case "RegExp":
|
|
610
|
+
case "Int8Array":
|
|
611
|
+
case "Uint8Array":
|
|
612
|
+
case "Uint8ClampedArray":
|
|
613
|
+
case "Int16Array":
|
|
614
|
+
case "Uint16Array":
|
|
615
|
+
case "Int32Array":
|
|
616
|
+
case "Uint32Array":
|
|
617
|
+
case "Float32Array":
|
|
618
|
+
case "Float64Array":
|
|
619
|
+
case "ArrayBuffer":
|
|
620
|
+
break;
|
|
621
|
+
default:
|
|
622
|
+
return !1;
|
|
623
|
+
}
|
|
624
|
+
var s = xt(t);
|
|
625
|
+
if (s.length !== xt(e).length)
|
|
626
|
+
return !1;
|
|
627
|
+
var i = r.concat([t]), u = n.concat([e]);
|
|
628
|
+
for (o = s.length - 1; o >= 0; ) {
|
|
629
|
+
var c = s[o];
|
|
630
|
+
if (!(ut(c, e) && Me(e[c], t[c], i, u)))
|
|
631
|
+
return !1;
|
|
632
|
+
o -= 1;
|
|
633
|
+
}
|
|
634
|
+
return !0;
|
|
635
|
+
}
|
|
636
|
+
var ue = /* @__PURE__ */ B(function(e, r) {
|
|
637
|
+
return Me(e, r, [], []);
|
|
638
|
+
});
|
|
639
|
+
function Wn(t, e, r) {
|
|
640
|
+
var n, a;
|
|
641
|
+
if (typeof t.indexOf == "function")
|
|
642
|
+
switch (typeof e) {
|
|
643
|
+
case "number":
|
|
644
|
+
if (e === 0) {
|
|
645
|
+
for (n = 1 / e; r < t.length; ) {
|
|
646
|
+
if (a = t[r], a === 0 && 1 / a === n)
|
|
647
|
+
return r;
|
|
648
|
+
r += 1;
|
|
649
|
+
}
|
|
650
|
+
return -1;
|
|
651
|
+
} else if (e !== e) {
|
|
652
|
+
for (; r < t.length; ) {
|
|
653
|
+
if (a = t[r], typeof a == "number" && a !== a)
|
|
654
|
+
return r;
|
|
655
|
+
r += 1;
|
|
656
|
+
}
|
|
657
|
+
return -1;
|
|
658
|
+
}
|
|
659
|
+
return t.indexOf(e, r);
|
|
660
|
+
case "string":
|
|
661
|
+
case "boolean":
|
|
662
|
+
case "function":
|
|
663
|
+
case "undefined":
|
|
664
|
+
return t.indexOf(e, r);
|
|
665
|
+
case "object":
|
|
666
|
+
if (e === null)
|
|
667
|
+
return t.indexOf(e, r);
|
|
668
|
+
}
|
|
669
|
+
for (; r < t.length; ) {
|
|
670
|
+
if (ue(t[r], e))
|
|
671
|
+
return r;
|
|
672
|
+
r += 1;
|
|
673
|
+
}
|
|
674
|
+
return -1;
|
|
675
|
+
}
|
|
676
|
+
function _r(t, e) {
|
|
677
|
+
return Wn(e, t, 0) >= 0;
|
|
678
|
+
}
|
|
679
|
+
function Qt(t, e) {
|
|
680
|
+
for (var r = 0, n = e.length, a = Array(n); r < n; )
|
|
681
|
+
a[r] = t(e[r]), r += 1;
|
|
682
|
+
return a;
|
|
683
|
+
}
|
|
684
|
+
function ge(t) {
|
|
685
|
+
var e = t.replace(/\\/g, "\\\\").replace(/[\b]/g, "\\b").replace(/\f/g, "\\f").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t").replace(/\v/g, "\\v").replace(/\0/g, "\\0");
|
|
686
|
+
return '"' + e.replace(/"/g, '\\"') + '"';
|
|
687
|
+
}
|
|
688
|
+
var Ct = function(e) {
|
|
689
|
+
return (e < 10 ? "0" : "") + e;
|
|
690
|
+
}, Kn = typeof Date.prototype.toISOString == "function" ? function(e) {
|
|
691
|
+
return e.toISOString();
|
|
692
|
+
} : function(e) {
|
|
693
|
+
return e.getUTCFullYear() + "-" + Ct(e.getUTCMonth() + 1) + "-" + Ct(e.getUTCDate()) + "T" + Ct(e.getUTCHours()) + ":" + Ct(e.getUTCMinutes()) + ":" + Ct(e.getUTCSeconds()) + "." + (e.getUTCMilliseconds() / 1e3).toFixed(3).slice(2, 5) + "Z";
|
|
694
|
+
};
|
|
695
|
+
function qn(t) {
|
|
696
|
+
return function() {
|
|
697
|
+
return !t.apply(this, arguments);
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
function Sr(t, e, r) {
|
|
701
|
+
for (var n = 0, a = r.length; n < a; )
|
|
702
|
+
e = t(e, r[n]), n += 1;
|
|
703
|
+
return e;
|
|
704
|
+
}
|
|
705
|
+
function Zn(t, e) {
|
|
706
|
+
for (var r = 0, n = e.length, a = []; r < n; )
|
|
707
|
+
t(e[r]) && (a[a.length] = e[r]), r += 1;
|
|
708
|
+
return a;
|
|
709
|
+
}
|
|
710
|
+
function te(t) {
|
|
711
|
+
return Object.prototype.toString.call(t) === "[object Object]";
|
|
712
|
+
}
|
|
713
|
+
var Xn = /* @__PURE__ */ function() {
|
|
714
|
+
function t(e, r) {
|
|
715
|
+
this.xf = r, this.f = e;
|
|
716
|
+
}
|
|
717
|
+
return t.prototype["@@transducer/init"] = kt.init, t.prototype["@@transducer/result"] = kt.result, t.prototype["@@transducer/step"] = function(e, r) {
|
|
718
|
+
return this.f(r) ? this.xf["@@transducer/step"](e, r) : e;
|
|
719
|
+
}, t;
|
|
720
|
+
}();
|
|
721
|
+
function Jn(t) {
|
|
722
|
+
return function(e) {
|
|
723
|
+
return new Xn(t, e);
|
|
724
|
+
};
|
|
725
|
+
}
|
|
726
|
+
var Tr = /* @__PURE__ */ B(
|
|
727
|
+
/* @__PURE__ */ ce(["fantasy-land/filter", "filter"], Jn, function(t, e) {
|
|
728
|
+
return te(e) ? Sr(function(r, n) {
|
|
729
|
+
return t(e[n]) && (r[n] = e[n]), r;
|
|
730
|
+
}, {}, xt(e)) : (
|
|
731
|
+
// else
|
|
732
|
+
Zn(t, e)
|
|
733
|
+
);
|
|
734
|
+
})
|
|
735
|
+
), Qn = /* @__PURE__ */ B(function(e, r) {
|
|
736
|
+
return Tr(qn(e), r);
|
|
737
|
+
});
|
|
738
|
+
function Mr(t, e) {
|
|
739
|
+
var r = function(s) {
|
|
740
|
+
var i = e.concat([t]);
|
|
741
|
+
return _r(s, i) ? "<Circular>" : Mr(s, i);
|
|
742
|
+
}, n = function(o, s) {
|
|
743
|
+
return Qt(function(i) {
|
|
744
|
+
return ge(i) + ": " + r(o[i]);
|
|
745
|
+
}, s.slice().sort());
|
|
746
|
+
};
|
|
747
|
+
switch (Object.prototype.toString.call(t)) {
|
|
748
|
+
case "[object Arguments]":
|
|
749
|
+
return "(function() { return arguments; }(" + Qt(r, t).join(", ") + "))";
|
|
750
|
+
case "[object Array]":
|
|
751
|
+
return "[" + Qt(r, t).concat(n(t, Qn(function(o) {
|
|
752
|
+
return /^\d+$/.test(o);
|
|
753
|
+
}, xt(t)))).join(", ") + "]";
|
|
754
|
+
case "[object Boolean]":
|
|
755
|
+
return typeof t == "object" ? "new Boolean(" + r(t.valueOf()) + ")" : t.toString();
|
|
756
|
+
case "[object Date]":
|
|
757
|
+
return "new Date(" + (isNaN(t.valueOf()) ? r(NaN) : ge(Kn(t))) + ")";
|
|
758
|
+
case "[object Map]":
|
|
759
|
+
return "new Map(" + r(Array.from(t)) + ")";
|
|
760
|
+
case "[object Null]":
|
|
761
|
+
return "null";
|
|
762
|
+
case "[object Number]":
|
|
763
|
+
return typeof t == "object" ? "new Number(" + r(t.valueOf()) + ")" : 1 / t === -1 / 0 ? "-0" : t.toString(10);
|
|
764
|
+
case "[object Set]":
|
|
765
|
+
return "new Set(" + r(Array.from(t).sort()) + ")";
|
|
766
|
+
case "[object String]":
|
|
767
|
+
return typeof t == "object" ? "new String(" + r(t.valueOf()) + ")" : ge(t);
|
|
768
|
+
case "[object Undefined]":
|
|
769
|
+
return "undefined";
|
|
770
|
+
default:
|
|
771
|
+
if (typeof t.toString == "function") {
|
|
772
|
+
var a = t.toString();
|
|
773
|
+
if (a !== "[object Object]")
|
|
774
|
+
return a;
|
|
775
|
+
}
|
|
776
|
+
return "{" + n(t, xt(t)).join(", ") + "}";
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
var Oe = /* @__PURE__ */ W(function(e) {
|
|
780
|
+
return Mr(e, []);
|
|
781
|
+
}), to = /* @__PURE__ */ B(function(e, r) {
|
|
782
|
+
if (e === r)
|
|
783
|
+
return r;
|
|
784
|
+
function n(u, c) {
|
|
785
|
+
if (u > c != c > u)
|
|
786
|
+
return c > u ? c : u;
|
|
787
|
+
}
|
|
788
|
+
var a = n(e, r);
|
|
789
|
+
if (a !== void 0)
|
|
790
|
+
return a;
|
|
791
|
+
var o = n(typeof e, typeof r);
|
|
792
|
+
if (o !== void 0)
|
|
793
|
+
return o === typeof e ? e : r;
|
|
794
|
+
var s = Oe(e), i = n(s, Oe(r));
|
|
795
|
+
return i !== void 0 && i === s ? e : r;
|
|
796
|
+
}), eo = /* @__PURE__ */ function() {
|
|
797
|
+
function t(e, r) {
|
|
798
|
+
this.xf = r, this.f = e;
|
|
799
|
+
}
|
|
800
|
+
return t.prototype["@@transducer/init"] = kt.init, t.prototype["@@transducer/result"] = kt.result, t.prototype["@@transducer/step"] = function(e, r) {
|
|
801
|
+
return this.xf["@@transducer/step"](e, this.f(r));
|
|
802
|
+
}, t;
|
|
803
|
+
}(), ro = function(e) {
|
|
804
|
+
return function(r) {
|
|
805
|
+
return new eo(e, r);
|
|
806
|
+
};
|
|
807
|
+
}, no = /* @__PURE__ */ B(
|
|
808
|
+
/* @__PURE__ */ ce(["fantasy-land/map", "map"], ro, function(e, r) {
|
|
809
|
+
switch (Object.prototype.toString.call(r)) {
|
|
810
|
+
case "[object Function]":
|
|
811
|
+
return ie(r.length, function() {
|
|
812
|
+
return e.call(this, r.apply(this, arguments));
|
|
813
|
+
});
|
|
814
|
+
case "[object Object]":
|
|
815
|
+
return Sr(function(n, a) {
|
|
816
|
+
return n[a] = e(r[a]), n;
|
|
817
|
+
}, {}, xt(r));
|
|
818
|
+
default:
|
|
819
|
+
return Qt(e, r);
|
|
820
|
+
}
|
|
821
|
+
})
|
|
822
|
+
);
|
|
823
|
+
const _t = no, Dr = Number.isInteger || function(e) {
|
|
824
|
+
return e << 0 === e;
|
|
825
|
+
};
|
|
826
|
+
function fe(t) {
|
|
827
|
+
return Object.prototype.toString.call(t) === "[object String]";
|
|
828
|
+
}
|
|
829
|
+
var kr = /* @__PURE__ */ B(function(e, r) {
|
|
830
|
+
var n = e < 0 ? r.length + e : e;
|
|
831
|
+
return fe(r) ? r.charAt(n) : r[n];
|
|
832
|
+
}), oo = /* @__PURE__ */ B(function(e, r) {
|
|
833
|
+
if (r != null)
|
|
834
|
+
return Dr(e) ? kr(e, r) : r[e];
|
|
835
|
+
});
|
|
836
|
+
const Lt = oo;
|
|
837
|
+
var ao = /* @__PURE__ */ B(function(e, r) {
|
|
838
|
+
return _t(Lt(e), r);
|
|
839
|
+
}), so = /* @__PURE__ */ W(function(e) {
|
|
840
|
+
return le(e) ? !0 : !e || typeof e != "object" || fe(e) ? !1 : e.length === 0 ? !0 : e.length > 0 ? e.hasOwnProperty(0) && e.hasOwnProperty(e.length - 1) : !1;
|
|
841
|
+
}), qe = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
842
|
+
function io(t, e, r) {
|
|
843
|
+
return function(a, o, s) {
|
|
844
|
+
if (so(s))
|
|
845
|
+
return t(a, o, s);
|
|
846
|
+
if (s == null)
|
|
847
|
+
return o;
|
|
848
|
+
if (typeof s["fantasy-land/reduce"] == "function")
|
|
849
|
+
return e(a, o, s, "fantasy-land/reduce");
|
|
850
|
+
if (s[qe] != null)
|
|
851
|
+
return r(a, o, s[qe]());
|
|
852
|
+
if (typeof s.next == "function")
|
|
853
|
+
return r(a, o, s);
|
|
854
|
+
if (typeof s.reduce == "function")
|
|
855
|
+
return e(a, o, s, "reduce");
|
|
856
|
+
throw new TypeError("reduce: list must be array or iterable");
|
|
857
|
+
};
|
|
858
|
+
}
|
|
859
|
+
function lo(t, e, r) {
|
|
860
|
+
for (var n = 0, a = r.length; n < a; ) {
|
|
861
|
+
if (e = t["@@transducer/step"](e, r[n]), e && e["@@transducer/reduced"]) {
|
|
862
|
+
e = e["@@transducer/value"];
|
|
863
|
+
break;
|
|
864
|
+
}
|
|
865
|
+
n += 1;
|
|
866
|
+
}
|
|
867
|
+
return t["@@transducer/result"](e);
|
|
868
|
+
}
|
|
869
|
+
var co = /* @__PURE__ */ B(function(e, r) {
|
|
870
|
+
return se(e.length, function() {
|
|
871
|
+
return e.apply(r, arguments);
|
|
872
|
+
});
|
|
873
|
+
});
|
|
874
|
+
function uo(t, e, r) {
|
|
875
|
+
for (var n = r.next(); !n.done; ) {
|
|
876
|
+
if (e = t["@@transducer/step"](e, n.value), e && e["@@transducer/reduced"]) {
|
|
877
|
+
e = e["@@transducer/value"];
|
|
878
|
+
break;
|
|
879
|
+
}
|
|
880
|
+
n = r.next();
|
|
881
|
+
}
|
|
882
|
+
return t["@@transducer/result"](e);
|
|
883
|
+
}
|
|
884
|
+
function fo(t, e, r, n) {
|
|
885
|
+
return t["@@transducer/result"](r[n](co(t["@@transducer/step"], t), e));
|
|
886
|
+
}
|
|
887
|
+
var Lr = /* @__PURE__ */ io(lo, fo, uo), po = /* @__PURE__ */ function() {
|
|
888
|
+
function t(e) {
|
|
889
|
+
this.f = e;
|
|
890
|
+
}
|
|
891
|
+
return t.prototype["@@transducer/init"] = function() {
|
|
892
|
+
throw new Error("init not implemented on XWrap");
|
|
893
|
+
}, t.prototype["@@transducer/result"] = function(e) {
|
|
894
|
+
return e;
|
|
895
|
+
}, t.prototype["@@transducer/step"] = function(e, r) {
|
|
896
|
+
return this.f(e, r);
|
|
897
|
+
}, t;
|
|
898
|
+
}();
|
|
899
|
+
function Er(t) {
|
|
900
|
+
return new po(t);
|
|
901
|
+
}
|
|
902
|
+
var mo = /* @__PURE__ */ mt(function(t, e, r) {
|
|
903
|
+
return Lr(typeof t == "function" ? Er(t) : t, e, r);
|
|
904
|
+
});
|
|
905
|
+
const zr = mo;
|
|
906
|
+
var ho = /* @__PURE__ */ W(function(e) {
|
|
907
|
+
return function() {
|
|
908
|
+
return e;
|
|
909
|
+
};
|
|
910
|
+
});
|
|
911
|
+
const Ze = ho;
|
|
912
|
+
var go = /* @__PURE__ */ W(function(e) {
|
|
913
|
+
return ie(zr(to, 0, ao("length", e)), function() {
|
|
914
|
+
for (var r = 0, n = e.length; r < n; ) {
|
|
915
|
+
if (e[r].apply(this, arguments))
|
|
916
|
+
return !0;
|
|
917
|
+
r += 1;
|
|
918
|
+
}
|
|
919
|
+
return !1;
|
|
920
|
+
});
|
|
921
|
+
});
|
|
922
|
+
const yo = go;
|
|
923
|
+
var vo = /* @__PURE__ */ mt(function(e, r, n) {
|
|
924
|
+
var a = e(r), o = e(n);
|
|
925
|
+
return a < o ? -1 : a > o ? 1 : 0;
|
|
926
|
+
});
|
|
927
|
+
const Ir = vo;
|
|
928
|
+
function bo(t) {
|
|
929
|
+
var e = Object.prototype.toString.call(t);
|
|
930
|
+
return e === "[object Function]" || e === "[object AsyncFunction]" || e === "[object GeneratorFunction]" || e === "[object AsyncGeneratorFunction]";
|
|
931
|
+
}
|
|
932
|
+
function wo(t) {
|
|
933
|
+
return new RegExp(t.source, t.flags ? t.flags : (t.global ? "g" : "") + (t.ignoreCase ? "i" : "") + (t.multiline ? "m" : "") + (t.sticky ? "y" : "") + (t.unicode ? "u" : "") + (t.dotAll ? "s" : ""));
|
|
934
|
+
}
|
|
935
|
+
function De(t, e, r) {
|
|
936
|
+
if (r || (r = new $o()), Po(t))
|
|
937
|
+
return t;
|
|
938
|
+
var n = function(o) {
|
|
939
|
+
var s = r.get(t);
|
|
940
|
+
if (s)
|
|
941
|
+
return s;
|
|
942
|
+
r.set(t, o);
|
|
943
|
+
for (var i in t)
|
|
944
|
+
Object.prototype.hasOwnProperty.call(t, i) && (o[i] = e ? De(t[i], !0, r) : t[i]);
|
|
945
|
+
return o;
|
|
946
|
+
};
|
|
947
|
+
switch ($e(t)) {
|
|
948
|
+
case "Object":
|
|
949
|
+
return n(Object.create(Object.getPrototypeOf(t)));
|
|
950
|
+
case "Array":
|
|
951
|
+
return n([]);
|
|
952
|
+
case "Date":
|
|
953
|
+
return new Date(t.valueOf());
|
|
954
|
+
case "RegExp":
|
|
955
|
+
return wo(t);
|
|
956
|
+
case "Int8Array":
|
|
957
|
+
case "Uint8Array":
|
|
958
|
+
case "Uint8ClampedArray":
|
|
959
|
+
case "Int16Array":
|
|
960
|
+
case "Uint16Array":
|
|
961
|
+
case "Int32Array":
|
|
962
|
+
case "Uint32Array":
|
|
963
|
+
case "Float32Array":
|
|
964
|
+
case "Float64Array":
|
|
965
|
+
case "BigInt64Array":
|
|
966
|
+
case "BigUint64Array":
|
|
967
|
+
return t.slice();
|
|
968
|
+
default:
|
|
969
|
+
return t;
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
function Po(t) {
|
|
973
|
+
var e = typeof t;
|
|
974
|
+
return t == null || e != "object" && e != "function";
|
|
975
|
+
}
|
|
976
|
+
var $o = /* @__PURE__ */ function() {
|
|
977
|
+
function t() {
|
|
978
|
+
this.map = {}, this.length = 0;
|
|
979
|
+
}
|
|
980
|
+
return t.prototype.set = function(e, r) {
|
|
981
|
+
const n = this.hash(e);
|
|
982
|
+
let a = this.map[n];
|
|
983
|
+
a || (this.map[n] = a = []), a.push([e, r]), this.length += 1;
|
|
984
|
+
}, t.prototype.hash = function(e) {
|
|
985
|
+
let r = [];
|
|
986
|
+
for (var n in e)
|
|
987
|
+
r.push(Object.prototype.toString.call(e[n]));
|
|
988
|
+
return r.join();
|
|
989
|
+
}, t.prototype.get = function(e) {
|
|
990
|
+
if (this.length <= 180) {
|
|
991
|
+
for (const a in this.map) {
|
|
992
|
+
const o = this.map[a];
|
|
993
|
+
for (let s = 0; s < o.length; s += 1) {
|
|
994
|
+
const i = o[s];
|
|
995
|
+
if (i[0] === e)
|
|
996
|
+
return i[1];
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
return;
|
|
1000
|
+
}
|
|
1001
|
+
const r = this.hash(e), n = this.map[r];
|
|
1002
|
+
if (n)
|
|
1003
|
+
for (let a = 0; a < n.length; a += 1) {
|
|
1004
|
+
const o = n[a];
|
|
1005
|
+
if (o[0] === e)
|
|
1006
|
+
return o[1];
|
|
1007
|
+
}
|
|
1008
|
+
}, t;
|
|
1009
|
+
}();
|
|
1010
|
+
function Oo(t, e) {
|
|
1011
|
+
return function() {
|
|
1012
|
+
return e.call(this, t.apply(this, arguments));
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
function ke(t, e) {
|
|
1016
|
+
return function() {
|
|
1017
|
+
var r = arguments.length;
|
|
1018
|
+
if (r === 0)
|
|
1019
|
+
return e();
|
|
1020
|
+
var n = arguments[r - 1];
|
|
1021
|
+
return le(n) || typeof n[t] != "function" ? e.apply(this, arguments) : n[t].apply(n, Array.prototype.slice.call(arguments, 0, r - 1));
|
|
1022
|
+
};
|
|
1023
|
+
}
|
|
1024
|
+
var Ao = /* @__PURE__ */ mt(
|
|
1025
|
+
/* @__PURE__ */ ke("slice", function(e, r, n) {
|
|
1026
|
+
return Array.prototype.slice.call(n, e, r);
|
|
1027
|
+
})
|
|
1028
|
+
), xo = /* @__PURE__ */ W(
|
|
1029
|
+
/* @__PURE__ */ ke(
|
|
1030
|
+
"tail",
|
|
1031
|
+
/* @__PURE__ */ Ao(1, 1 / 0)
|
|
1032
|
+
)
|
|
1033
|
+
);
|
|
1034
|
+
const _o = xo;
|
|
1035
|
+
function Nr() {
|
|
1036
|
+
if (arguments.length === 0)
|
|
1037
|
+
throw new Error("pipe requires at least one argument");
|
|
1038
|
+
return se(arguments[0].length, zr(Oo, arguments[0], _o(arguments)));
|
|
1039
|
+
}
|
|
1040
|
+
var So = /* @__PURE__ */ W(function(e) {
|
|
1041
|
+
return fe(e) ? e.split("").reverse().join("") : Array.prototype.slice.call(e, 0).reverse();
|
|
1042
|
+
});
|
|
1043
|
+
const To = So;
|
|
1044
|
+
function Cr() {
|
|
1045
|
+
if (arguments.length === 0)
|
|
1046
|
+
throw new Error("compose requires at least one argument");
|
|
1047
|
+
return Nr.apply(this, To(arguments));
|
|
1048
|
+
}
|
|
1049
|
+
var Mo = /* @__PURE__ */ function() {
|
|
1050
|
+
function t(e, r, n, a) {
|
|
1051
|
+
this.valueFn = e, this.valueAcc = r, this.keyFn = n, this.xf = a, this.inputs = {};
|
|
1052
|
+
}
|
|
1053
|
+
return t.prototype["@@transducer/init"] = kt.init, t.prototype["@@transducer/result"] = function(e) {
|
|
1054
|
+
var r;
|
|
1055
|
+
for (r in this.inputs)
|
|
1056
|
+
if (ut(r, this.inputs) && (e = this.xf["@@transducer/step"](e, this.inputs[r]), e["@@transducer/reduced"])) {
|
|
1057
|
+
e = e["@@transducer/value"];
|
|
1058
|
+
break;
|
|
1059
|
+
}
|
|
1060
|
+
return this.inputs = null, this.xf["@@transducer/result"](e);
|
|
1061
|
+
}, t.prototype["@@transducer/step"] = function(e, r) {
|
|
1062
|
+
var n = this.keyFn(r);
|
|
1063
|
+
return this.inputs[n] = this.inputs[n] || [n, De(this.valueAcc, !1)], this.inputs[n][1] = this.valueFn(this.inputs[n][1], r), e;
|
|
1064
|
+
}, t;
|
|
1065
|
+
}();
|
|
1066
|
+
function Do(t, e, r) {
|
|
1067
|
+
return function(n) {
|
|
1068
|
+
return new Mo(t, e, r, n);
|
|
1069
|
+
};
|
|
1070
|
+
}
|
|
1071
|
+
var ko = /* @__PURE__ */ Te(
|
|
1072
|
+
4,
|
|
1073
|
+
[],
|
|
1074
|
+
/* @__PURE__ */ ce([], Do, function(e, r, n, a) {
|
|
1075
|
+
var o = Er(function(s, i) {
|
|
1076
|
+
var u = n(i), c = e(ut(u, s) ? s[u] : De(r, !1), i);
|
|
1077
|
+
return c && c["@@transducer/reduced"] ? Ar(s) : (s[u] = c, s);
|
|
1078
|
+
});
|
|
1079
|
+
return Lr(o, {}, a);
|
|
1080
|
+
})
|
|
1081
|
+
), Lo = /* @__PURE__ */ mt(function(e, r, n) {
|
|
1082
|
+
var a = e(r), o = e(n);
|
|
1083
|
+
return a > o ? -1 : a < o ? 1 : 0;
|
|
1084
|
+
});
|
|
1085
|
+
const Eo = Lo;
|
|
1086
|
+
function zo(t) {
|
|
1087
|
+
var e = Object.prototype.toString.call(t);
|
|
1088
|
+
return e === "[object Uint8ClampedArray]" || e === "[object Int8Array]" || e === "[object Uint8Array]" || e === "[object Int16Array]" || e === "[object Uint16Array]" || e === "[object Int32Array]" || e === "[object Uint32Array]" || e === "[object Float32Array]" || e === "[object Float64Array]" || e === "[object BigInt64Array]" || e === "[object BigUint64Array]";
|
|
1089
|
+
}
|
|
1090
|
+
var Io = /* @__PURE__ */ W(function(e) {
|
|
1091
|
+
return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : le(e) ? [] : fe(e) ? "" : te(e) ? {} : xr(e) ? function() {
|
|
1092
|
+
return arguments;
|
|
1093
|
+
}() : zo(e) ? e.constructor.from("") : void 0;
|
|
1094
|
+
}), No = /* @__PURE__ */ function() {
|
|
1095
|
+
function t(e, r) {
|
|
1096
|
+
this.xf = r, this.f = e, this.idx = -1, this.found = !1;
|
|
1097
|
+
}
|
|
1098
|
+
return t.prototype["@@transducer/init"] = kt.init, t.prototype["@@transducer/result"] = function(e) {
|
|
1099
|
+
return this.found || (e = this.xf["@@transducer/step"](e, -1)), this.xf["@@transducer/result"](e);
|
|
1100
|
+
}, t.prototype["@@transducer/step"] = function(e, r) {
|
|
1101
|
+
return this.idx += 1, this.f(r) && (this.found = !0, e = Ar(this.xf["@@transducer/step"](e, this.idx))), e;
|
|
1102
|
+
}, t;
|
|
1103
|
+
}();
|
|
1104
|
+
function Co(t) {
|
|
1105
|
+
return function(e) {
|
|
1106
|
+
return new No(t, e);
|
|
1107
|
+
};
|
|
1108
|
+
}
|
|
1109
|
+
var Go = /* @__PURE__ */ B(
|
|
1110
|
+
/* @__PURE__ */ ce([], Co, function(e, r) {
|
|
1111
|
+
for (var n = 0, a = r.length; n < a; ) {
|
|
1112
|
+
if (e(r[n]))
|
|
1113
|
+
return n;
|
|
1114
|
+
n += 1;
|
|
1115
|
+
}
|
|
1116
|
+
return -1;
|
|
1117
|
+
})
|
|
1118
|
+
);
|
|
1119
|
+
const Ro = Go;
|
|
1120
|
+
var jo = /* @__PURE__ */ B(
|
|
1121
|
+
/* @__PURE__ */ ke(
|
|
1122
|
+
"groupBy",
|
|
1123
|
+
/* @__PURE__ */ ko(function(t, e) {
|
|
1124
|
+
return t.push(e), t;
|
|
1125
|
+
}, [])
|
|
1126
|
+
)
|
|
1127
|
+
);
|
|
1128
|
+
const Fo = jo;
|
|
1129
|
+
var Bo = /* @__PURE__ */ mt(function(e, r, n) {
|
|
1130
|
+
return ie(Math.max(e.length, r.length, n.length), function() {
|
|
1131
|
+
return e.apply(this, arguments) ? r.apply(this, arguments) : n.apply(this, arguments);
|
|
1132
|
+
});
|
|
1133
|
+
});
|
|
1134
|
+
const Vo = Bo;
|
|
1135
|
+
var Ho = /* @__PURE__ */ B(_r);
|
|
1136
|
+
const Yo = Ho;
|
|
1137
|
+
var Uo = /* @__PURE__ */ B(function(e, r) {
|
|
1138
|
+
return ie(e + 1, function() {
|
|
1139
|
+
var n = arguments[e];
|
|
1140
|
+
if (n != null && bo(n[r]))
|
|
1141
|
+
return n[r].apply(n, Array.prototype.slice.call(arguments, 0, e));
|
|
1142
|
+
throw new TypeError(Oe(n) + ' does not have a method named "' + r + '"');
|
|
1143
|
+
});
|
|
1144
|
+
});
|
|
1145
|
+
const Gr = Uo;
|
|
1146
|
+
var Wo = /* @__PURE__ */ W(function(e) {
|
|
1147
|
+
return e != null && ue(e, Io(e));
|
|
1148
|
+
});
|
|
1149
|
+
const Ko = Wo;
|
|
1150
|
+
var qo = /* @__PURE__ */ B(function(e, r) {
|
|
1151
|
+
return e.map(function(n) {
|
|
1152
|
+
for (var a = r, o = 0, s; o < n.length; ) {
|
|
1153
|
+
if (a == null)
|
|
1154
|
+
return;
|
|
1155
|
+
s = n[o], a = Dr(s) ? kr(s, a) : a[s], o += 1;
|
|
1156
|
+
}
|
|
1157
|
+
return a;
|
|
1158
|
+
});
|
|
1159
|
+
}), Zo = /* @__PURE__ */ B(function(e, r) {
|
|
1160
|
+
return qo([e], r)[0];
|
|
1161
|
+
});
|
|
1162
|
+
const Xo = Zo;
|
|
1163
|
+
var Jo = /* @__PURE__ */ mt(function(e, r, n) {
|
|
1164
|
+
var a = {}, o;
|
|
1165
|
+
r = r || {}, n = n || {};
|
|
1166
|
+
for (o in r)
|
|
1167
|
+
ut(o, r) && (a[o] = ut(o, n) ? e(o, r[o], n[o]) : r[o]);
|
|
1168
|
+
for (o in n)
|
|
1169
|
+
ut(o, n) && !ut(o, a) && (a[o] = n[o]);
|
|
1170
|
+
return a;
|
|
1171
|
+
}), Qo = /* @__PURE__ */ mt(function t(e, r, n) {
|
|
1172
|
+
return Jo(function(a, o, s) {
|
|
1173
|
+
return te(o) && te(s) ? t(e, o, s) : e(a, o, s);
|
|
1174
|
+
}, r, n);
|
|
1175
|
+
}), ta = /* @__PURE__ */ B(function(e, r) {
|
|
1176
|
+
return Qo(function(n, a, o) {
|
|
1177
|
+
return o;
|
|
1178
|
+
}, e, r);
|
|
1179
|
+
});
|
|
1180
|
+
const ea = ta;
|
|
1181
|
+
var ra = /* @__PURE__ */ B(function(e, r) {
|
|
1182
|
+
for (var n = {}, a = {}, o = 0, s = e.length; o < s; )
|
|
1183
|
+
a[e[o]] = 1, o += 1;
|
|
1184
|
+
for (var i in r)
|
|
1185
|
+
a.hasOwnProperty(i) || (n[i] = r[i]);
|
|
1186
|
+
return n;
|
|
1187
|
+
});
|
|
1188
|
+
const na = ra;
|
|
1189
|
+
var oa = /* @__PURE__ */ mt(function(e, r, n) {
|
|
1190
|
+
return ue(e, Lt(r, n));
|
|
1191
|
+
});
|
|
1192
|
+
const aa = oa;
|
|
1193
|
+
var sa = /* @__PURE__ */ mt(function(e, r, n) {
|
|
1194
|
+
return e(Lt(r, n));
|
|
1195
|
+
});
|
|
1196
|
+
const ia = sa;
|
|
1197
|
+
var la = /* @__PURE__ */ B(function(e, r) {
|
|
1198
|
+
return Array.prototype.slice.call(r, 0).sort(function(n, a) {
|
|
1199
|
+
for (var o = 0, s = 0; o === 0 && s < e.length; )
|
|
1200
|
+
o = e[s](n, a), s += 1;
|
|
1201
|
+
return o;
|
|
1202
|
+
});
|
|
1203
|
+
});
|
|
1204
|
+
const Rr = la;
|
|
1205
|
+
var ca = /* @__PURE__ */ Gr(1, "split");
|
|
1206
|
+
const Yt = ca;
|
|
1207
|
+
var ua = /* @__PURE__ */ Gr(0, "toLowerCase");
|
|
1208
|
+
const fa = ua;
|
|
1209
|
+
var Gt = `
|
|
1210
|
+
\v\f\r \u2028\u2029\uFEFF`, da = "", pa = typeof String.prototype.trim == "function", ma = /* @__PURE__ */ W(!pa || /* @__PURE__ */ Gt.trim() || !/* @__PURE__ */ da.trim() ? function(e) {
|
|
1211
|
+
var r = new RegExp("^[" + Gt + "][" + Gt + "]*"), n = new RegExp("[" + Gt + "][" + Gt + "]*$");
|
|
1212
|
+
return e.replace(r, "").replace(n, "");
|
|
1213
|
+
} : function(e) {
|
|
1214
|
+
return e.trim();
|
|
1215
|
+
});
|
|
1216
|
+
const ee = ma, jr = Symbol("I18nContext"), Q = gr({
|
|
1217
|
+
messages: {},
|
|
1218
|
+
locale: "",
|
|
1219
|
+
fallbackLocale: ""
|
|
1220
|
+
}), ha = ({ messages: t = {}, locale: e = "", fallbackLocale: r = "" }) => {
|
|
1221
|
+
Q.messages = t, Q.locale = e, Q.fallbackLocale = r;
|
|
1222
|
+
const n = (u, c = {}) => {
|
|
1223
|
+
const m = !Ko(c), l = _t(ee, Yt(".", u));
|
|
1224
|
+
return X(() => {
|
|
1225
|
+
const f = Fr(l);
|
|
1226
|
+
return m ? ya(f, c) : f;
|
|
1227
|
+
}).value;
|
|
1228
|
+
}, a = (u) => {
|
|
1229
|
+
const c = _t(ee, Yt(".", u));
|
|
1230
|
+
return !!Ae(Q.locale, c, Q.messages);
|
|
1231
|
+
}, o = (u) => {
|
|
1232
|
+
Q.locale = u;
|
|
1233
|
+
}, i = {
|
|
1234
|
+
locale: X({
|
|
1235
|
+
get() {
|
|
1236
|
+
return Q.locale;
|
|
1237
|
+
},
|
|
1238
|
+
set(u) {
|
|
1239
|
+
Q.locale = u;
|
|
1240
|
+
}
|
|
1241
|
+
}),
|
|
1242
|
+
setLocale: o,
|
|
1243
|
+
translate: n,
|
|
1244
|
+
hasTranlation: a
|
|
1245
|
+
};
|
|
1246
|
+
return vr(jr, i), {
|
|
1247
|
+
translate: n
|
|
1248
|
+
};
|
|
1249
|
+
}, Wt = (t) => {
|
|
1250
|
+
t && (Q.messages = t.messages, Q.locale = t.locale, Q.fallbackLocale = t.fallbackLocale);
|
|
1251
|
+
const e = ga();
|
|
1252
|
+
return {
|
|
1253
|
+
locale: e.locale,
|
|
1254
|
+
t: e.translate,
|
|
1255
|
+
setLocale: e.setLocale,
|
|
1256
|
+
hasTranlation: e.hasTranlation
|
|
1257
|
+
};
|
|
1258
|
+
}, ga = () => {
|
|
1259
|
+
const t = br(jr, null);
|
|
1260
|
+
if (t === null)
|
|
1261
|
+
throw new Error("Privider is missing a parent component.");
|
|
1262
|
+
return t;
|
|
1263
|
+
}, Fr = (t = []) => {
|
|
1264
|
+
let e = Ae(Q.locale, t, Q.messages);
|
|
1265
|
+
return !e && Q.fallbackLocale && (e = Ae(Q.fallbackLocale, t, Q.messages)), e || t.join(".");
|
|
1266
|
+
};
|
|
1267
|
+
function Ae(t, e, r) {
|
|
1268
|
+
return Xo([t, ...e], r);
|
|
1269
|
+
}
|
|
1270
|
+
const ya = function(t, e) {
|
|
1271
|
+
return t.replace(/\{(\w+)\}/g, function(r, n) {
|
|
1272
|
+
return e[n];
|
|
1273
|
+
});
|
|
1274
|
+
}, va = yr({
|
|
1275
|
+
props: {
|
|
1276
|
+
tag: {
|
|
1277
|
+
type: String,
|
|
1278
|
+
default: "div"
|
|
1279
|
+
},
|
|
1280
|
+
path: {
|
|
1281
|
+
type: String,
|
|
1282
|
+
defult: ""
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
setup(t, { slots: e }) {
|
|
1286
|
+
const r = _t(ee, Yt(".", t.path)), n = Fr(r), a = Yt(/{|}/, n), o = Object.keys(e).map((s) => {
|
|
1287
|
+
const i = a.indexOf(s);
|
|
1288
|
+
return i > -1 && (a[i] = e[s]()[0]), a;
|
|
1289
|
+
});
|
|
1290
|
+
return () => gn(t.tag, o);
|
|
1291
|
+
}
|
|
1292
|
+
}), ba = "https://api.icehockey.hu/vbr", wa = "https://www.jegkorongszovetseg.hu/event/game/", Pa = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", $a = "https://www.ersteliga.hu/stats/players#/player/", Oa = "https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=", vt = "original", y = "descend", G = "ascend", Aa = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), xa = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), Hi = 1e3 * 60 * 5, _a = 1e3, Sa = {
|
|
1293
|
+
"aria-hidden": "true",
|
|
1294
|
+
focusable: "false",
|
|
1295
|
+
"data-prefix": "fas",
|
|
1296
|
+
"data-icon": "sort",
|
|
1297
|
+
class: "svg-inline--fa fa-sort fa-w-10",
|
|
1298
|
+
role: "img",
|
|
1299
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1300
|
+
viewBox: "0 0 320 512"
|
|
1301
|
+
}, Ta = /* @__PURE__ */ C("path", {
|
|
1302
|
+
fill: "currentColor",
|
|
1303
|
+
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"
|
|
1304
|
+
}, null, -1), Ma = [
|
|
1305
|
+
Ta
|
|
1306
|
+
];
|
|
1307
|
+
function Da(t, e) {
|
|
1308
|
+
return L(), I("svg", Sa, Ma);
|
|
1309
|
+
}
|
|
1310
|
+
const Xe = { render: Da }, ka = {
|
|
1311
|
+
"aria-hidden": "true",
|
|
1312
|
+
focusable: "false",
|
|
1313
|
+
"data-prefix": "fas",
|
|
1314
|
+
"data-icon": "sort-down",
|
|
1315
|
+
class: "svg-inline--fa fa-sort-down fa-w-10",
|
|
1316
|
+
role: "img",
|
|
1317
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1318
|
+
viewBox: "0 0 320 512"
|
|
1319
|
+
}, La = /* @__PURE__ */ C("path", {
|
|
1320
|
+
fill: "currentColor",
|
|
1321
|
+
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"
|
|
1322
|
+
}, null, -1), Ea = [
|
|
1323
|
+
La
|
|
1324
|
+
];
|
|
1325
|
+
function za(t, e) {
|
|
1326
|
+
return L(), I("svg", ka, Ea);
|
|
1327
|
+
}
|
|
1328
|
+
const Je = { render: za };
|
|
1329
|
+
function Kt(t) {
|
|
1330
|
+
return t.split("-")[1];
|
|
1331
|
+
}
|
|
1332
|
+
function Le(t) {
|
|
1333
|
+
return t === "y" ? "height" : "width";
|
|
1334
|
+
}
|
|
1335
|
+
function Ot(t) {
|
|
1336
|
+
return t.split("-")[0];
|
|
1337
|
+
}
|
|
1338
|
+
function qt(t) {
|
|
1339
|
+
return ["top", "bottom"].includes(Ot(t)) ? "x" : "y";
|
|
1340
|
+
}
|
|
1341
|
+
function Qe(t, e, r) {
|
|
1342
|
+
let { reference: n, floating: a } = t;
|
|
1343
|
+
const o = n.x + n.width / 2 - a.width / 2, s = n.y + n.height / 2 - a.height / 2, i = qt(e), u = Le(i), c = n[u] / 2 - a[u] / 2, m = i === "x";
|
|
1344
|
+
let l;
|
|
1345
|
+
switch (Ot(e)) {
|
|
1346
|
+
case "top":
|
|
1347
|
+
l = { x: o, y: n.y - a.height };
|
|
1348
|
+
break;
|
|
1349
|
+
case "bottom":
|
|
1350
|
+
l = { x: o, y: n.y + n.height };
|
|
1351
|
+
break;
|
|
1352
|
+
case "right":
|
|
1353
|
+
l = { x: n.x + n.width, y: s };
|
|
1354
|
+
break;
|
|
1355
|
+
case "left":
|
|
1356
|
+
l = { x: n.x - a.width, y: s };
|
|
1357
|
+
break;
|
|
1358
|
+
default:
|
|
1359
|
+
l = { x: n.x, y: n.y };
|
|
1360
|
+
}
|
|
1361
|
+
switch (Kt(e)) {
|
|
1362
|
+
case "start":
|
|
1363
|
+
l[i] -= c * (r && m ? -1 : 1);
|
|
1364
|
+
break;
|
|
1365
|
+
case "end":
|
|
1366
|
+
l[i] += c * (r && m ? -1 : 1);
|
|
1367
|
+
}
|
|
1368
|
+
return l;
|
|
1369
|
+
}
|
|
1370
|
+
const Ia = async (t, e, r) => {
|
|
1371
|
+
const { placement: n = "bottom", strategy: a = "absolute", middleware: o = [], platform: s } = r, i = o.filter(Boolean), u = await (s.isRTL == null ? void 0 : s.isRTL(e));
|
|
1372
|
+
let c = await s.getElementRects({ reference: t, floating: e, strategy: a }), { x: m, y: l } = Qe(c, n, u), d = n, f = {}, h = 0;
|
|
1373
|
+
for (let p = 0; p < i.length; p++) {
|
|
1374
|
+
const { name: g, fn: $ } = i[p], { x: O, y: _, data: D, reset: k } = await $({ x: m, y: l, initialPlacement: n, placement: d, strategy: a, middlewareData: f, rects: c, platform: s, elements: { reference: t, floating: e } });
|
|
1375
|
+
m = O ?? m, l = _ ?? l, f = { ...f, [g]: { ...f[g], ...D } }, k && h <= 50 && (h++, typeof k == "object" && (k.placement && (d = k.placement), k.rects && (c = k.rects === !0 ? await s.getElementRects({ reference: t, floating: e, strategy: a }) : k.rects), { x: m, y: l } = Qe(c, d, u)), p = -1);
|
|
1376
|
+
}
|
|
1377
|
+
return { x: m, y: l, placement: d, strategy: a, middlewareData: f };
|
|
1378
|
+
};
|
|
1379
|
+
function Br(t) {
|
|
1380
|
+
return typeof t != "number" ? function(e) {
|
|
1381
|
+
return { top: 0, right: 0, bottom: 0, left: 0, ...e };
|
|
1382
|
+
}(t) : { top: t, right: t, bottom: t, left: t };
|
|
1383
|
+
}
|
|
1384
|
+
function re(t) {
|
|
1385
|
+
return { ...t, top: t.y, left: t.x, right: t.x + t.width, bottom: t.y + t.height };
|
|
1386
|
+
}
|
|
1387
|
+
async function Vr(t, e) {
|
|
1388
|
+
var r;
|
|
1389
|
+
e === void 0 && (e = {});
|
|
1390
|
+
const { x: n, y: a, platform: o, rects: s, elements: i, strategy: u } = t, { boundary: c = "clippingAncestors", rootBoundary: m = "viewport", elementContext: l = "floating", altBoundary: d = !1, padding: f = 0 } = e, h = Br(f), p = i[d ? l === "floating" ? "reference" : "floating" : l], g = re(await o.getClippingRect({ element: (r = await (o.isElement == null ? void 0 : o.isElement(p))) == null || r ? p : p.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(i.floating)), boundary: c, rootBoundary: m, strategy: u })), $ = l === "floating" ? { ...s.floating, x: n, y: a } : s.reference, O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(i.floating)), _ = await (o.isElement == null ? void 0 : o.isElement(O)) && await (o.getScale == null ? void 0 : o.getScale(O)) || { x: 1, y: 1 }, D = re(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: $, offsetParent: O, strategy: u }) : $);
|
|
1391
|
+
return { top: (g.top - D.top + h.top) / _.y, bottom: (D.bottom - g.bottom + h.bottom) / _.y, left: (g.left - D.left + h.left) / _.x, right: (D.right - g.right + h.right) / _.x };
|
|
1392
|
+
}
|
|
1393
|
+
const Na = Math.min, Ca = Math.max;
|
|
1394
|
+
function xe(t, e, r) {
|
|
1395
|
+
return Ca(t, Na(e, r));
|
|
1396
|
+
}
|
|
1397
|
+
const tr = (t) => ({ name: "arrow", options: t, async fn(e) {
|
|
1398
|
+
const { element: r, padding: n = 0 } = t || {}, { x: a, y: o, placement: s, rects: i, platform: u, elements: c } = e;
|
|
1399
|
+
if (r == null)
|
|
1400
|
+
return {};
|
|
1401
|
+
const m = Br(n), l = { x: a, y: o }, d = qt(s), f = Le(d), h = await u.getDimensions(r), p = d === "y", g = p ? "top" : "left", $ = p ? "bottom" : "right", O = p ? "clientHeight" : "clientWidth", _ = i.reference[f] + i.reference[d] - l[d] - i.floating[f], D = l[d] - i.reference[d], k = await (u.getOffsetParent == null ? void 0 : u.getOffsetParent(r));
|
|
1402
|
+
let N = k ? k[O] : 0;
|
|
1403
|
+
N && await (u.isElement == null ? void 0 : u.isElement(k)) || (N = c.floating[O] || i.floating[f]);
|
|
1404
|
+
const j = _ / 2 - D / 2, U = m[g], E = N - h[f] - m[$], T = N / 2 - h[f] / 2 + j, R = xe(U, T, E), K = Kt(s) != null && T != R && i.reference[f] / 2 - (T < U ? m[g] : m[$]) - h[f] / 2 < 0;
|
|
1405
|
+
return { [d]: l[d] - (K ? T < U ? U - T : E - T : 0), data: { [d]: R, centerOffset: T - R } };
|
|
1406
|
+
} }), Ga = ["top", "right", "bottom", "left"];
|
|
1407
|
+
Ga.reduce((t, e) => t.concat(e, e + "-start", e + "-end"), []);
|
|
1408
|
+
const Ra = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
1409
|
+
function ne(t) {
|
|
1410
|
+
return t.replace(/left|right|bottom|top/g, (e) => Ra[e]);
|
|
1411
|
+
}
|
|
1412
|
+
function ja(t, e, r) {
|
|
1413
|
+
r === void 0 && (r = !1);
|
|
1414
|
+
const n = Kt(t), a = qt(t), o = Le(a);
|
|
1415
|
+
let s = a === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
1416
|
+
return e.reference[o] > e.floating[o] && (s = ne(s)), { main: s, cross: ne(s) };
|
|
1417
|
+
}
|
|
1418
|
+
const Fa = { start: "end", end: "start" };
|
|
1419
|
+
function ye(t) {
|
|
1420
|
+
return t.replace(/start|end/g, (e) => Fa[e]);
|
|
1421
|
+
}
|
|
1422
|
+
const Ba = function(t) {
|
|
1423
|
+
return t === void 0 && (t = {}), { name: "flip", options: t, async fn(e) {
|
|
1424
|
+
var r;
|
|
1425
|
+
const { placement: n, middlewareData: a, rects: o, initialPlacement: s, platform: i, elements: u } = e, { mainAxis: c = !0, crossAxis: m = !0, fallbackPlacements: l, fallbackStrategy: d = "bestFit", fallbackAxisSideDirection: f = "none", flipAlignment: h = !0, ...p } = t, g = Ot(n), $ = Ot(s) === s, O = await (i.isRTL == null ? void 0 : i.isRTL(u.floating)), _ = l || ($ || !h ? [ne(s)] : function(R) {
|
|
1426
|
+
const K = ne(R);
|
|
1427
|
+
return [ye(R), K, ye(K)];
|
|
1428
|
+
}(s));
|
|
1429
|
+
l || f === "none" || _.push(...function(R, K, x, P) {
|
|
1430
|
+
const w = Kt(R);
|
|
1431
|
+
let A = function(v, S, M) {
|
|
1432
|
+
const z = ["left", "right"], Y = ["right", "left"], V = ["top", "bottom"], q = ["bottom", "top"];
|
|
1433
|
+
switch (v) {
|
|
1434
|
+
case "top":
|
|
1435
|
+
case "bottom":
|
|
1436
|
+
return M ? S ? Y : z : S ? z : Y;
|
|
1437
|
+
case "left":
|
|
1438
|
+
case "right":
|
|
1439
|
+
return S ? V : q;
|
|
1440
|
+
default:
|
|
1441
|
+
return [];
|
|
1442
|
+
}
|
|
1443
|
+
}(Ot(R), x === "start", P);
|
|
1444
|
+
return w && (A = A.map((v) => v + "-" + w), K && (A = A.concat(A.map(ye)))), A;
|
|
1445
|
+
}(s, h, f, O));
|
|
1446
|
+
const D = [s, ..._], k = await Vr(e, p), N = [];
|
|
1447
|
+
let j = ((r = a.flip) == null ? void 0 : r.overflows) || [];
|
|
1448
|
+
if (c && N.push(k[g]), m) {
|
|
1449
|
+
const { main: R, cross: K } = ja(n, o, O);
|
|
1450
|
+
N.push(k[R], k[K]);
|
|
1451
|
+
}
|
|
1452
|
+
if (j = [...j, { placement: n, overflows: N }], !N.every((R) => R <= 0)) {
|
|
1453
|
+
var U, E;
|
|
1454
|
+
const R = (((U = a.flip) == null ? void 0 : U.index) || 0) + 1, K = D[R];
|
|
1455
|
+
if (K)
|
|
1456
|
+
return { data: { index: R, overflows: j }, reset: { placement: K } };
|
|
1457
|
+
let x = (E = j.filter((P) => P.overflows[0] <= 0).sort((P, w) => P.overflows[1] - w.overflows[1])[0]) == null ? void 0 : E.placement;
|
|
1458
|
+
if (!x)
|
|
1459
|
+
switch (d) {
|
|
1460
|
+
case "bestFit": {
|
|
1461
|
+
var T;
|
|
1462
|
+
const P = (T = j.map((w) => [w.placement, w.overflows.filter((A) => A > 0).reduce((A, v) => A + v, 0)]).sort((w, A) => w[1] - A[1])[0]) == null ? void 0 : T[0];
|
|
1463
|
+
P && (x = P);
|
|
1464
|
+
break;
|
|
1465
|
+
}
|
|
1466
|
+
case "initialPlacement":
|
|
1467
|
+
x = s;
|
|
1468
|
+
}
|
|
1469
|
+
if (n !== x)
|
|
1470
|
+
return { reset: { placement: x } };
|
|
1471
|
+
}
|
|
1472
|
+
return {};
|
|
1473
|
+
} };
|
|
1474
|
+
}, Va = function(t) {
|
|
1475
|
+
return t === void 0 && (t = 0), { name: "offset", options: t, async fn(e) {
|
|
1476
|
+
const { x: r, y: n } = e, a = await async function(o, s) {
|
|
1477
|
+
const { placement: i, platform: u, elements: c } = o, m = await (u.isRTL == null ? void 0 : u.isRTL(c.floating)), l = Ot(i), d = Kt(i), f = qt(i) === "x", h = ["left", "top"].includes(l) ? -1 : 1, p = m && f ? -1 : 1, g = typeof s == "function" ? s(o) : s;
|
|
1478
|
+
let { mainAxis: $, crossAxis: O, alignmentAxis: _ } = typeof g == "number" ? { mainAxis: g, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...g };
|
|
1479
|
+
return d && typeof _ == "number" && (O = d === "end" ? -1 * _ : _), f ? { x: O * p, y: $ * h } : { x: $ * h, y: O * p };
|
|
1480
|
+
}(e, t);
|
|
1481
|
+
return { x: r + a.x, y: n + a.y, data: a };
|
|
1482
|
+
} };
|
|
1483
|
+
};
|
|
1484
|
+
function Ha(t) {
|
|
1485
|
+
return t === "x" ? "y" : "x";
|
|
1486
|
+
}
|
|
1487
|
+
const Ya = function(t) {
|
|
1488
|
+
return t === void 0 && (t = {}), { name: "shift", options: t, async fn(e) {
|
|
1489
|
+
const { x: r, y: n, placement: a } = e, { mainAxis: o = !0, crossAxis: s = !1, limiter: i = { fn: (g) => {
|
|
1490
|
+
let { x: $, y: O } = g;
|
|
1491
|
+
return { x: $, y: O };
|
|
1492
|
+
} }, ...u } = t, c = { x: r, y: n }, m = await Vr(e, u), l = qt(Ot(a)), d = Ha(l);
|
|
1493
|
+
let f = c[l], h = c[d];
|
|
1494
|
+
if (o) {
|
|
1495
|
+
const g = l === "y" ? "bottom" : "right";
|
|
1496
|
+
f = xe(f + m[l === "y" ? "top" : "left"], f, f - m[g]);
|
|
1497
|
+
}
|
|
1498
|
+
if (s) {
|
|
1499
|
+
const g = d === "y" ? "bottom" : "right";
|
|
1500
|
+
h = xe(h + m[d === "y" ? "top" : "left"], h, h - m[g]);
|
|
1501
|
+
}
|
|
1502
|
+
const p = i.fn({ ...e, [l]: f, [d]: h });
|
|
1503
|
+
return { ...p, data: { x: p.x - r, y: p.y - n } };
|
|
1504
|
+
} };
|
|
1505
|
+
};
|
|
1506
|
+
function at(t) {
|
|
1507
|
+
var e;
|
|
1508
|
+
return ((e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
1509
|
+
}
|
|
1510
|
+
function it(t) {
|
|
1511
|
+
return at(t).getComputedStyle(t);
|
|
1512
|
+
}
|
|
1513
|
+
function Hr(t) {
|
|
1514
|
+
return t instanceof at(t).Node;
|
|
1515
|
+
}
|
|
1516
|
+
function wt(t) {
|
|
1517
|
+
return Hr(t) ? (t.nodeName || "").toLowerCase() : "";
|
|
1518
|
+
}
|
|
1519
|
+
function lt(t) {
|
|
1520
|
+
return t instanceof at(t).HTMLElement;
|
|
1521
|
+
}
|
|
1522
|
+
function nt(t) {
|
|
1523
|
+
return t instanceof at(t).Element;
|
|
1524
|
+
}
|
|
1525
|
+
function er(t) {
|
|
1526
|
+
return typeof ShadowRoot > "u" ? !1 : t instanceof at(t).ShadowRoot || t instanceof ShadowRoot;
|
|
1527
|
+
}
|
|
1528
|
+
function Ut(t) {
|
|
1529
|
+
const { overflow: e, overflowX: r, overflowY: n, display: a } = it(t);
|
|
1530
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + n + r) && !["inline", "contents"].includes(a);
|
|
1531
|
+
}
|
|
1532
|
+
function Ua(t) {
|
|
1533
|
+
return ["table", "td", "th"].includes(wt(t));
|
|
1534
|
+
}
|
|
1535
|
+
function _e(t) {
|
|
1536
|
+
const e = Ee(), r = it(t);
|
|
1537
|
+
return r.transform !== "none" || r.perspective !== "none" || !e && !!r.backdropFilter && r.backdropFilter !== "none" || !e && !!r.filter && r.filter !== "none" || ["transform", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
|
|
1538
|
+
}
|
|
1539
|
+
function Ee() {
|
|
1540
|
+
return !(typeof CSS > "u" || !CSS.supports) && CSS.supports("-webkit-backdrop-filter", "none");
|
|
1541
|
+
}
|
|
1542
|
+
function de(t) {
|
|
1543
|
+
return ["html", "body", "#document"].includes(wt(t));
|
|
1544
|
+
}
|
|
1545
|
+
const rr = Math.min, Bt = Math.max, oe = Math.round;
|
|
1546
|
+
function Yr(t) {
|
|
1547
|
+
const e = it(t);
|
|
1548
|
+
let r = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
1549
|
+
const a = lt(t), o = a ? t.offsetWidth : r, s = a ? t.offsetHeight : n, i = oe(r) !== o || oe(n) !== s;
|
|
1550
|
+
return i && (r = o, n = s), { width: r, height: n, fallback: i };
|
|
1551
|
+
}
|
|
1552
|
+
function Ur(t) {
|
|
1553
|
+
return nt(t) ? t : t.contextElement;
|
|
1554
|
+
}
|
|
1555
|
+
const Wr = { x: 1, y: 1 };
|
|
1556
|
+
function Dt(t) {
|
|
1557
|
+
const e = Ur(t);
|
|
1558
|
+
if (!lt(e))
|
|
1559
|
+
return Wr;
|
|
1560
|
+
const r = e.getBoundingClientRect(), { width: n, height: a, fallback: o } = Yr(e);
|
|
1561
|
+
let s = (o ? oe(r.width) : r.width) / n, i = (o ? oe(r.height) : r.height) / a;
|
|
1562
|
+
return s && Number.isFinite(s) || (s = 1), i && Number.isFinite(i) || (i = 1), { x: s, y: i };
|
|
1563
|
+
}
|
|
1564
|
+
const nr = { x: 0, y: 0 };
|
|
1565
|
+
function Kr(t, e, r) {
|
|
1566
|
+
var n, a;
|
|
1567
|
+
if (e === void 0 && (e = !0), !Ee())
|
|
1568
|
+
return nr;
|
|
1569
|
+
const o = t ? at(t) : window;
|
|
1570
|
+
return !r || e && r !== o ? nr : { x: ((n = o.visualViewport) == null ? void 0 : n.offsetLeft) || 0, y: ((a = o.visualViewport) == null ? void 0 : a.offsetTop) || 0 };
|
|
1571
|
+
}
|
|
1572
|
+
function St(t, e, r, n) {
|
|
1573
|
+
e === void 0 && (e = !1), r === void 0 && (r = !1);
|
|
1574
|
+
const a = t.getBoundingClientRect(), o = Ur(t);
|
|
1575
|
+
let s = Wr;
|
|
1576
|
+
e && (n ? nt(n) && (s = Dt(n)) : s = Dt(t));
|
|
1577
|
+
const i = Kr(o, r, n);
|
|
1578
|
+
let u = (a.left + i.x) / s.x, c = (a.top + i.y) / s.y, m = a.width / s.x, l = a.height / s.y;
|
|
1579
|
+
if (o) {
|
|
1580
|
+
const d = at(o), f = n && nt(n) ? at(n) : n;
|
|
1581
|
+
let h = d.frameElement;
|
|
1582
|
+
for (; h && n && f !== d; ) {
|
|
1583
|
+
const p = Dt(h), g = h.getBoundingClientRect(), $ = getComputedStyle(h);
|
|
1584
|
+
g.x += (h.clientLeft + parseFloat($.paddingLeft)) * p.x, g.y += (h.clientTop + parseFloat($.paddingTop)) * p.y, u *= p.x, c *= p.y, m *= p.x, l *= p.y, u += g.x, c += g.y, h = at(h).frameElement;
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
return re({ width: m, height: l, x: u, y: c });
|
|
1588
|
+
}
|
|
1589
|
+
function bt(t) {
|
|
1590
|
+
return ((Hr(t) ? t.ownerDocument : t.document) || window.document).documentElement;
|
|
1591
|
+
}
|
|
1592
|
+
function pe(t) {
|
|
1593
|
+
return nt(t) ? { scrollLeft: t.scrollLeft, scrollTop: t.scrollTop } : { scrollLeft: t.pageXOffset, scrollTop: t.pageYOffset };
|
|
1594
|
+
}
|
|
1595
|
+
function qr(t) {
|
|
1596
|
+
return St(bt(t)).left + pe(t).scrollLeft;
|
|
1597
|
+
}
|
|
1598
|
+
function Et(t) {
|
|
1599
|
+
if (wt(t) === "html")
|
|
1600
|
+
return t;
|
|
1601
|
+
const e = t.assignedSlot || t.parentNode || er(t) && t.host || bt(t);
|
|
1602
|
+
return er(e) ? e.host : e;
|
|
1603
|
+
}
|
|
1604
|
+
function Zr(t) {
|
|
1605
|
+
const e = Et(t);
|
|
1606
|
+
return de(e) ? e.ownerDocument.body : lt(e) && Ut(e) ? e : Zr(e);
|
|
1607
|
+
}
|
|
1608
|
+
function Vt(t, e) {
|
|
1609
|
+
var r;
|
|
1610
|
+
e === void 0 && (e = []);
|
|
1611
|
+
const n = Zr(t), a = n === ((r = t.ownerDocument) == null ? void 0 : r.body), o = at(n);
|
|
1612
|
+
return a ? e.concat(o, o.visualViewport || [], Ut(n) ? n : []) : e.concat(n, Vt(n));
|
|
1613
|
+
}
|
|
1614
|
+
function or(t, e, r) {
|
|
1615
|
+
let n;
|
|
1616
|
+
if (e === "viewport")
|
|
1617
|
+
n = function(a, o) {
|
|
1618
|
+
const s = at(a), i = bt(a), u = s.visualViewport;
|
|
1619
|
+
let c = i.clientWidth, m = i.clientHeight, l = 0, d = 0;
|
|
1620
|
+
if (u) {
|
|
1621
|
+
c = u.width, m = u.height;
|
|
1622
|
+
const f = Ee();
|
|
1623
|
+
(!f || f && o === "fixed") && (l = u.offsetLeft, d = u.offsetTop);
|
|
1624
|
+
}
|
|
1625
|
+
return { width: c, height: m, x: l, y: d };
|
|
1626
|
+
}(t, r);
|
|
1627
|
+
else if (e === "document")
|
|
1628
|
+
n = function(a) {
|
|
1629
|
+
const o = bt(a), s = pe(a), i = a.ownerDocument.body, u = Bt(o.scrollWidth, o.clientWidth, i.scrollWidth, i.clientWidth), c = Bt(o.scrollHeight, o.clientHeight, i.scrollHeight, i.clientHeight);
|
|
1630
|
+
let m = -s.scrollLeft + qr(a);
|
|
1631
|
+
const l = -s.scrollTop;
|
|
1632
|
+
return it(i).direction === "rtl" && (m += Bt(o.clientWidth, i.clientWidth) - u), { width: u, height: c, x: m, y: l };
|
|
1633
|
+
}(bt(t));
|
|
1634
|
+
else if (nt(e))
|
|
1635
|
+
n = function(a, o) {
|
|
1636
|
+
const s = St(a, !0, o === "fixed"), i = s.top + a.clientTop, u = s.left + a.clientLeft, c = lt(a) ? Dt(a) : { x: 1, y: 1 };
|
|
1637
|
+
return { width: a.clientWidth * c.x, height: a.clientHeight * c.y, x: u * c.x, y: i * c.y };
|
|
1638
|
+
}(e, r);
|
|
1639
|
+
else {
|
|
1640
|
+
const a = Kr(t);
|
|
1641
|
+
n = { ...e, x: e.x - a.x, y: e.y - a.y };
|
|
1642
|
+
}
|
|
1643
|
+
return re(n);
|
|
1644
|
+
}
|
|
1645
|
+
function Xr(t, e) {
|
|
1646
|
+
const r = Et(t);
|
|
1647
|
+
return !(r === e || !nt(r) || de(r)) && (it(r).position === "fixed" || Xr(r, e));
|
|
1648
|
+
}
|
|
1649
|
+
function ar(t, e) {
|
|
1650
|
+
return lt(t) && it(t).position !== "fixed" ? e ? e(t) : t.offsetParent : null;
|
|
1651
|
+
}
|
|
1652
|
+
function sr(t, e) {
|
|
1653
|
+
const r = at(t);
|
|
1654
|
+
if (!lt(t))
|
|
1655
|
+
return r;
|
|
1656
|
+
let n = ar(t, e);
|
|
1657
|
+
for (; n && Ua(n) && it(n).position === "static"; )
|
|
1658
|
+
n = ar(n, e);
|
|
1659
|
+
return n && (wt(n) === "html" || wt(n) === "body" && it(n).position === "static" && !_e(n)) ? r : n || function(a) {
|
|
1660
|
+
let o = Et(a);
|
|
1661
|
+
for (; lt(o) && !de(o); ) {
|
|
1662
|
+
if (_e(o))
|
|
1663
|
+
return o;
|
|
1664
|
+
o = Et(o);
|
|
1665
|
+
}
|
|
1666
|
+
return null;
|
|
1667
|
+
}(t) || r;
|
|
1668
|
+
}
|
|
1669
|
+
function Wa(t, e, r) {
|
|
1670
|
+
const n = lt(e), a = bt(e), o = r === "fixed", s = St(t, !0, o, e);
|
|
1671
|
+
let i = { scrollLeft: 0, scrollTop: 0 };
|
|
1672
|
+
const u = { x: 0, y: 0 };
|
|
1673
|
+
if (n || !n && !o)
|
|
1674
|
+
if ((wt(e) !== "body" || Ut(a)) && (i = pe(e)), lt(e)) {
|
|
1675
|
+
const c = St(e, !0, o, e);
|
|
1676
|
+
u.x = c.x + e.clientLeft, u.y = c.y + e.clientTop;
|
|
1677
|
+
} else
|
|
1678
|
+
a && (u.x = qr(a));
|
|
1679
|
+
return { x: s.left + i.scrollLeft - u.x, y: s.top + i.scrollTop - u.y, width: s.width, height: s.height };
|
|
1680
|
+
}
|
|
1681
|
+
const Ka = { getClippingRect: function(t) {
|
|
1682
|
+
let { element: e, boundary: r, rootBoundary: n, strategy: a } = t;
|
|
1683
|
+
const o = r === "clippingAncestors" ? function(c, m) {
|
|
1684
|
+
const l = m.get(c);
|
|
1685
|
+
if (l)
|
|
1686
|
+
return l;
|
|
1687
|
+
let d = Vt(c).filter((g) => nt(g) && wt(g) !== "body"), f = null;
|
|
1688
|
+
const h = it(c).position === "fixed";
|
|
1689
|
+
let p = h ? Et(c) : c;
|
|
1690
|
+
for (; nt(p) && !de(p); ) {
|
|
1691
|
+
const g = it(p), $ = _e(p);
|
|
1692
|
+
$ || g.position !== "fixed" || (f = null), (h ? !$ && !f : !$ && g.position === "static" && f && ["absolute", "fixed"].includes(f.position) || Ut(p) && !$ && Xr(c, p)) ? d = d.filter((O) => O !== p) : f = g, p = Et(p);
|
|
1693
|
+
}
|
|
1694
|
+
return m.set(c, d), d;
|
|
1695
|
+
}(e, this._c) : [].concat(r), s = [...o, n], i = s[0], u = s.reduce((c, m) => {
|
|
1696
|
+
const l = or(e, m, a);
|
|
1697
|
+
return c.top = Bt(l.top, c.top), c.right = rr(l.right, c.right), c.bottom = rr(l.bottom, c.bottom), c.left = Bt(l.left, c.left), c;
|
|
1698
|
+
}, or(e, i, a));
|
|
1699
|
+
return { width: u.right - u.left, height: u.bottom - u.top, x: u.left, y: u.top };
|
|
1700
|
+
}, convertOffsetParentRelativeRectToViewportRelativeRect: function(t) {
|
|
1701
|
+
let { rect: e, offsetParent: r, strategy: n } = t;
|
|
1702
|
+
const a = lt(r), o = bt(r);
|
|
1703
|
+
if (r === o)
|
|
1704
|
+
return e;
|
|
1705
|
+
let s = { scrollLeft: 0, scrollTop: 0 }, i = { x: 1, y: 1 };
|
|
1706
|
+
const u = { x: 0, y: 0 };
|
|
1707
|
+
if ((a || !a && n !== "fixed") && ((wt(r) !== "body" || Ut(o)) && (s = pe(r)), lt(r))) {
|
|
1708
|
+
const c = St(r);
|
|
1709
|
+
i = Dt(r), u.x = c.x + r.clientLeft, u.y = c.y + r.clientTop;
|
|
1710
|
+
}
|
|
1711
|
+
return { width: e.width * i.x, height: e.height * i.y, x: e.x * i.x - s.scrollLeft * i.x + u.x, y: e.y * i.y - s.scrollTop * i.y + u.y };
|
|
1712
|
+
}, isElement: nt, getDimensions: function(t) {
|
|
1713
|
+
return Yr(t);
|
|
1714
|
+
}, getOffsetParent: sr, getDocumentElement: bt, getScale: Dt, async getElementRects(t) {
|
|
1715
|
+
let { reference: e, floating: r, strategy: n } = t;
|
|
1716
|
+
const a = this.getOffsetParent || sr, o = this.getDimensions;
|
|
1717
|
+
return { reference: Wa(e, await a(r), n), floating: { x: 0, y: 0, ...await o(r) } };
|
|
1718
|
+
}, getClientRects: (t) => Array.from(t.getClientRects()), isRTL: (t) => it(t).direction === "rtl" };
|
|
1719
|
+
function qa(t, e, r, n) {
|
|
1720
|
+
n === void 0 && (n = {});
|
|
1721
|
+
const { ancestorScroll: a = !0, ancestorResize: o = !0, elementResize: s = !0, animationFrame: i = !1 } = n, u = a || o ? [...nt(t) ? Vt(t) : t.contextElement ? Vt(t.contextElement) : [], ...Vt(e)] : [];
|
|
1722
|
+
u.forEach((d) => {
|
|
1723
|
+
const f = !nt(d) && d.toString().includes("V");
|
|
1724
|
+
!a || i && !f || d.addEventListener("scroll", r, { passive: !0 }), o && d.addEventListener("resize", r);
|
|
1725
|
+
});
|
|
1726
|
+
let c, m = null;
|
|
1727
|
+
s && (m = new ResizeObserver(() => {
|
|
1728
|
+
r();
|
|
1729
|
+
}), nt(t) && !i && m.observe(t), nt(t) || !t.contextElement || i || m.observe(t.contextElement), m.observe(e));
|
|
1730
|
+
let l = i ? St(t) : null;
|
|
1731
|
+
return i && function d() {
|
|
1732
|
+
const f = St(t);
|
|
1733
|
+
!l || f.x === l.x && f.y === l.y && f.width === l.width && f.height === l.height || r(), l = f, c = requestAnimationFrame(d);
|
|
1734
|
+
}(), r(), () => {
|
|
1735
|
+
var d;
|
|
1736
|
+
u.forEach((f) => {
|
|
1737
|
+
a && f.removeEventListener("scroll", r), o && f.removeEventListener("resize", r);
|
|
1738
|
+
}), (d = m) == null || d.disconnect(), m = null, i && cancelAnimationFrame(c);
|
|
1739
|
+
};
|
|
1740
|
+
}
|
|
1741
|
+
const Za = (t, e, r) => {
|
|
1742
|
+
const n = /* @__PURE__ */ new Map(), a = { platform: Ka, ...r }, o = { ...a.platform, _c: n };
|
|
1743
|
+
return Ia(t, e, { ...a, platform: o });
|
|
1744
|
+
}, Xa = (t, e = "body") => {
|
|
1745
|
+
if (!t)
|
|
1746
|
+
return;
|
|
1747
|
+
if (typeof e != "string") {
|
|
1748
|
+
e == null || e.append(t);
|
|
1749
|
+
return;
|
|
1750
|
+
}
|
|
1751
|
+
const r = document.querySelector(e);
|
|
1752
|
+
r == null || r.append(t);
|
|
1753
|
+
};
|
|
1754
|
+
function Ja({ middleware: t, placement: e = null, strategy: r, append: n, enabled: a }) {
|
|
1755
|
+
const o = H(null), s = H(null), i = H(null), u = H(null), c = H(null), m = H(null), l = H(null), d = H(r ?? "absolute"), f = H(null), h = () => {
|
|
1756
|
+
!o.value || !s.value || Za(o.value, s.value, {
|
|
1757
|
+
middleware: t,
|
|
1758
|
+
placement: e,
|
|
1759
|
+
strategy: r
|
|
1760
|
+
}).then((g) => {
|
|
1761
|
+
i.value = g.x, u.value = g.y, d.value = g.strategy, c.value = g.middlewareData.arrow.x, m.value = g.middlewareData.arrow.y, l.value = g.placement;
|
|
1762
|
+
});
|
|
1763
|
+
};
|
|
1764
|
+
dt(
|
|
1765
|
+
() => ({
|
|
1766
|
+
reference: b(o),
|
|
1767
|
+
floating: b(s),
|
|
1768
|
+
append: b(n)
|
|
1769
|
+
}),
|
|
1770
|
+
({ floating: g, append: $ }) => {
|
|
1771
|
+
$ && Xa(g, $), h();
|
|
1772
|
+
},
|
|
1773
|
+
{ flush: "post" }
|
|
1774
|
+
), dt(
|
|
1775
|
+
a,
|
|
1776
|
+
(g) => {
|
|
1777
|
+
if (!(!o.value || !s.value)) {
|
|
1778
|
+
if (!g)
|
|
1779
|
+
return p();
|
|
1780
|
+
f.value = qa(o.value, s.value, h, {});
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
{ flush: "post" }
|
|
1784
|
+
);
|
|
1785
|
+
const p = () => {
|
|
1786
|
+
var g;
|
|
1787
|
+
(g = f.value) == null || g.call(f), f.value = null;
|
|
1788
|
+
};
|
|
1789
|
+
return {
|
|
1790
|
+
x: i,
|
|
1791
|
+
y: u,
|
|
1792
|
+
arrowX: c,
|
|
1793
|
+
arrowY: m,
|
|
1794
|
+
placement: l,
|
|
1795
|
+
reference: o,
|
|
1796
|
+
floating: s,
|
|
1797
|
+
strategy: d,
|
|
1798
|
+
update: h
|
|
1799
|
+
};
|
|
1800
|
+
}
|
|
1801
|
+
const Qa = (t) => {
|
|
1802
|
+
const { element: e, padding: r } = t;
|
|
1803
|
+
return {
|
|
1804
|
+
name: "arrow",
|
|
1805
|
+
options: t,
|
|
1806
|
+
fn(n) {
|
|
1807
|
+
return hr(e) ? e.value != null ? tr({ element: e.value, padding: r }).fn(n) : {} : e ? tr({ element: e, padding: r }).fn(n) : {};
|
|
1808
|
+
}
|
|
1809
|
+
};
|
|
1810
|
+
}, ts = ["data-placement"], es = {
|
|
1811
|
+
__name: "FloatingPanel",
|
|
1812
|
+
props: {
|
|
1813
|
+
disabled: {
|
|
1814
|
+
type: Boolean,
|
|
1815
|
+
default: !1
|
|
1816
|
+
},
|
|
1817
|
+
placement: {
|
|
1818
|
+
type: String,
|
|
1819
|
+
default: "bottom"
|
|
1820
|
+
},
|
|
1821
|
+
theme: {
|
|
1822
|
+
type: String,
|
|
1823
|
+
default: "tooltip"
|
|
1824
|
+
},
|
|
1825
|
+
content: {
|
|
1826
|
+
type: String,
|
|
1827
|
+
default: ""
|
|
1828
|
+
},
|
|
1829
|
+
appendTo: {
|
|
1830
|
+
type: [Object, String],
|
|
1831
|
+
default: "body"
|
|
1832
|
+
},
|
|
1833
|
+
offset: {
|
|
1834
|
+
type: Number,
|
|
1835
|
+
default: 2
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
setup(t) {
|
|
1839
|
+
const e = t, r = H(!1), n = H(null), { x: a, y: o, arrowX: s, arrowY: i, placement: u, reference: c, floating: m, strategy: l } = Ja({
|
|
1840
|
+
placement: e.placement,
|
|
1841
|
+
middleware: [Ba(), Ya({ padding: 5 }), Va(e.offset), Qa({ element: n, padding: 5 })],
|
|
1842
|
+
append: X(() => e.appendTo),
|
|
1843
|
+
enabled: r
|
|
1844
|
+
}), d = () => {
|
|
1845
|
+
e.disabled || (r.value = !0);
|
|
1846
|
+
}, f = () => {
|
|
1847
|
+
r.value = !1;
|
|
1848
|
+
}, h = (p) => {
|
|
1849
|
+
c.value = p;
|
|
1850
|
+
};
|
|
1851
|
+
return _n(m, (p) => {
|
|
1852
|
+
var g;
|
|
1853
|
+
(g = c.value) != null && g.contains(p.target) || f();
|
|
1854
|
+
}), (p, g) => (L(), I($t, null, [
|
|
1855
|
+
ot(p.$slots, "default", {
|
|
1856
|
+
setRef: h,
|
|
1857
|
+
show: d,
|
|
1858
|
+
hide: f
|
|
1859
|
+
}),
|
|
1860
|
+
C("div", {
|
|
1861
|
+
ref_key: "floating",
|
|
1862
|
+
ref: m,
|
|
1863
|
+
"data-placement": b(u),
|
|
1864
|
+
style: Ne({
|
|
1865
|
+
position: b(l),
|
|
1866
|
+
top: b(o) ? `${b(o)}px` : "",
|
|
1867
|
+
left: b(a) ? `${b(a)}px` : ""
|
|
1868
|
+
})
|
|
1869
|
+
}, [
|
|
1870
|
+
At(yn, {
|
|
1871
|
+
name: "transition-fade",
|
|
1872
|
+
mode: "out-in"
|
|
1873
|
+
}, {
|
|
1874
|
+
default: st(() => [
|
|
1875
|
+
r.value ? (L(), I("div", {
|
|
1876
|
+
key: 0,
|
|
1877
|
+
class: rt(["floating-content", [`is-${e.theme}`]])
|
|
1878
|
+
}, [
|
|
1879
|
+
ot(p.$slots, "content", { close: f }, () => [
|
|
1880
|
+
Rt(Z(t.content), 1)
|
|
1881
|
+
]),
|
|
1882
|
+
C("div", {
|
|
1883
|
+
ref_key: "arrowRef",
|
|
1884
|
+
ref: n,
|
|
1885
|
+
class: "is-arrow",
|
|
1886
|
+
style: Ne({
|
|
1887
|
+
position: b(l),
|
|
1888
|
+
top: b(i) ? `${b(i)}px` : "",
|
|
1889
|
+
left: b(s) ? `${b(s)}px` : ""
|
|
1890
|
+
})
|
|
1891
|
+
}, null, 4)
|
|
1892
|
+
], 2)) : et("", !0)
|
|
1893
|
+
]),
|
|
1894
|
+
_: 3
|
|
1895
|
+
})
|
|
1896
|
+
], 12, ts)
|
|
1897
|
+
], 64));
|
|
1898
|
+
}
|
|
1899
|
+
}, rs = ["onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown", "tabindex"], ns = { key: 0 }, os = ["colspan"], as = { key: 1 }, ss = ["colspan"], is = {
|
|
1900
|
+
__name: "DataTable",
|
|
1901
|
+
props: {
|
|
1902
|
+
columns: {
|
|
1903
|
+
type: Object,
|
|
1904
|
+
default: () => ({})
|
|
1905
|
+
},
|
|
1906
|
+
rows: {
|
|
1907
|
+
type: Array,
|
|
1908
|
+
default: () => []
|
|
1909
|
+
},
|
|
1910
|
+
sort: {
|
|
1911
|
+
type: Object,
|
|
1912
|
+
default: () => ({})
|
|
1913
|
+
},
|
|
1914
|
+
isLoading: {
|
|
1915
|
+
type: Boolean,
|
|
1916
|
+
default: !1
|
|
1917
|
+
},
|
|
1918
|
+
appendTo: {
|
|
1919
|
+
type: [Object, String],
|
|
1920
|
+
default: null
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
emits: ["sort"],
|
|
1924
|
+
setup(t, { emit: e }) {
|
|
1925
|
+
const r = t, { isLoading: n, appendTo: a } = wr(r), o = Fn(n, { delay: _a }), { t: s } = Wt(), i = zt("table"), u = X(() => r.columns), c = X(() => Object.keys(r.columns).length), m = (l, d) => {
|
|
1926
|
+
l.sortOrders && e("sort", { target: d, orders: l.sortOrders });
|
|
1927
|
+
};
|
|
1928
|
+
return (l, d) => (L(), I("table", {
|
|
1929
|
+
class: rt(b(i))
|
|
1930
|
+
}, [
|
|
1931
|
+
C("thead", null, [
|
|
1932
|
+
C("tr", null, [
|
|
1933
|
+
(L(!0), I($t, null, Ft(u.value, (f, h) => (L(), yt(es, {
|
|
1934
|
+
key: h,
|
|
1935
|
+
placement: "top",
|
|
1936
|
+
content: f.tooltip,
|
|
1937
|
+
disabled: !f.tooltip,
|
|
1938
|
+
"append-to": b(a)
|
|
1939
|
+
}, {
|
|
1940
|
+
default: st(({ setRef: p, show: g, hide: $ }) => [
|
|
1941
|
+
C("th", {
|
|
1942
|
+
ref_for: !0,
|
|
1943
|
+
ref: p,
|
|
1944
|
+
class: rt([
|
|
1945
|
+
[f.class],
|
|
1946
|
+
{
|
|
1947
|
+
"is-active": h === t.sort.sortTarget && t.sort.orders[0].direction !== b(vt),
|
|
1948
|
+
"is-sortable": f.sortOrders,
|
|
1949
|
+
"is-desc": h === t.sort.sortTarget && t.sort.orders[0].direction === b(y),
|
|
1950
|
+
"is-asc": h === t.sort.sortTarget && t.sort.orders[0].direction === b(G)
|
|
1951
|
+
}
|
|
1952
|
+
]),
|
|
1953
|
+
onMouseenter: g,
|
|
1954
|
+
onMouseleave: $,
|
|
1955
|
+
onFocus: g,
|
|
1956
|
+
onBlur: $,
|
|
1957
|
+
onClick: (O) => m(f, h),
|
|
1958
|
+
onKeydown: [
|
|
1959
|
+
Ce(Ht((O) => m(f, h), ["prevent"]), ["space"]),
|
|
1960
|
+
Ce(Ht((O) => m(f, h), ["prevent"]), ["enter"])
|
|
1961
|
+
],
|
|
1962
|
+
tabindex: f.sortOrders ? 0 : -1,
|
|
1963
|
+
role: "button"
|
|
1964
|
+
}, [
|
|
1965
|
+
ot(l.$slots, `header-${h}`, { column: f }, () => [
|
|
1966
|
+
Rt(Z(f.label), 1)
|
|
1967
|
+
]),
|
|
1968
|
+
f.sortOrders && h !== t.sort.sortTarget ? (L(), yt(b(Xe), {
|
|
1969
|
+
key: 0,
|
|
1970
|
+
class: "is-icon-sort"
|
|
1971
|
+
})) : et("", !0),
|
|
1972
|
+
h === t.sort.sortTarget && t.sort.orders[0].direction === b(vt) ? (L(), yt(b(Xe), {
|
|
1973
|
+
key: 1,
|
|
1974
|
+
class: "is-icon-sort"
|
|
1975
|
+
})) : et("", !0),
|
|
1976
|
+
h === t.sort.sortTarget && t.sort.orders[0].direction === b(y) ? (L(), yt(b(Je), {
|
|
1977
|
+
key: 2,
|
|
1978
|
+
class: "is-icon-sort"
|
|
1979
|
+
})) : et("", !0),
|
|
1980
|
+
h === t.sort.sortTarget && t.sort.orders[0].direction === b(G) ? (L(), yt(b(Je), {
|
|
1981
|
+
key: 3,
|
|
1982
|
+
class: "is-icon-sort"
|
|
1983
|
+
})) : et("", !0)
|
|
1984
|
+
], 42, rs)
|
|
1985
|
+
]),
|
|
1986
|
+
_: 2
|
|
1987
|
+
}, 1032, ["content", "disabled", "append-to"]))), 128))
|
|
1988
|
+
])
|
|
1989
|
+
]),
|
|
1990
|
+
C("tbody", null, [
|
|
1991
|
+
(L(!0), I($t, null, Ft(r.rows, (f, h) => (L(), I("tr", { key: h }, [
|
|
1992
|
+
(L(!0), I($t, null, Ft(u.value, (p, g) => (L(), I("td", {
|
|
1993
|
+
key: g,
|
|
1994
|
+
class: rt([
|
|
1995
|
+
[p.class],
|
|
1996
|
+
{
|
|
1997
|
+
"is-active": g === t.sort.sortTarget && t.sort.orders[0].direction !== b(vt)
|
|
1998
|
+
}
|
|
1999
|
+
])
|
|
2000
|
+
}, [
|
|
2001
|
+
ot(l.$slots, `cell-${g}`, {
|
|
2002
|
+
row: f,
|
|
2003
|
+
prop: g
|
|
2004
|
+
}, () => [
|
|
2005
|
+
Rt(Z(f[g]), 1)
|
|
2006
|
+
])
|
|
2007
|
+
], 2))), 128))
|
|
2008
|
+
]))), 128))
|
|
2009
|
+
]),
|
|
2010
|
+
b(o) && t.rows.length === 0 ? (L(), I("tfoot", ns, [
|
|
2011
|
+
C("tr", null, [
|
|
2012
|
+
C("td", { colspan: c.value }, [
|
|
2013
|
+
ot(l.$slots, "loading", {}, () => [
|
|
2014
|
+
Rt(Z(b(s)("common.loading")), 1)
|
|
2015
|
+
])
|
|
2016
|
+
], 8, os)
|
|
2017
|
+
])
|
|
2018
|
+
])) : et("", !0),
|
|
2019
|
+
t.rows.length === 0 && !b(n) && !b(o) ? (L(), I("tfoot", as, [
|
|
2020
|
+
C("tr", null, [
|
|
2021
|
+
C("td", { colspan: c.value }, [
|
|
2022
|
+
ot(l.$slots, "empty", {}, () => [
|
|
2023
|
+
Rt(Z(b(s)("common.noData")), 1)
|
|
2024
|
+
])
|
|
2025
|
+
], 8, ss)
|
|
2026
|
+
])
|
|
2027
|
+
])) : et("", !0)
|
|
2028
|
+
], 2));
|
|
2029
|
+
}
|
|
2030
|
+
}, ls = {
|
|
2031
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2032
|
+
viewBox: "0 0 24 24",
|
|
2033
|
+
fill: "none",
|
|
2034
|
+
stroke: "currentColor",
|
|
2035
|
+
"stroke-width": "2",
|
|
2036
|
+
"stroke-linecap": "round",
|
|
2037
|
+
"stroke-linejoin": "round"
|
|
2038
|
+
}, cs = /* @__PURE__ */ C("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), us = /* @__PURE__ */ C("line", {
|
|
2039
|
+
x1: "12",
|
|
2040
|
+
y1: "9",
|
|
2041
|
+
x2: "12",
|
|
2042
|
+
y2: "13"
|
|
2043
|
+
}, null, -1), fs = /* @__PURE__ */ C("line", {
|
|
2044
|
+
x1: "12",
|
|
2045
|
+
y1: "17",
|
|
2046
|
+
x2: "12.01",
|
|
2047
|
+
y2: "17"
|
|
2048
|
+
}, null, -1), ds = [
|
|
2049
|
+
cs,
|
|
2050
|
+
us,
|
|
2051
|
+
fs
|
|
2052
|
+
];
|
|
2053
|
+
function ps(t, e) {
|
|
2054
|
+
return L(), I("svg", ls, ds);
|
|
2055
|
+
}
|
|
2056
|
+
const ms = { render: ps }, Yi = {
|
|
2057
|
+
__name: "ErrorNotice",
|
|
2058
|
+
props: {
|
|
2059
|
+
error: {
|
|
2060
|
+
type: Object,
|
|
2061
|
+
default: () => ({})
|
|
2062
|
+
}
|
|
2063
|
+
},
|
|
2064
|
+
setup(t) {
|
|
2065
|
+
const e = t, { t: r, hasTranlation: n } = Wt(), a = zt("error-notice"), o = X(() => {
|
|
2066
|
+
var s;
|
|
2067
|
+
return n(`errors.${e.error.key}`) ? r(`errors.${e.error.key}`, e.error.cause) : `${e.error.key}: ${(s = e.error) == null ? void 0 : s.message}`;
|
|
2068
|
+
});
|
|
2069
|
+
return (s, i) => (L(), I("div", {
|
|
2070
|
+
class: rt(b(a))
|
|
2071
|
+
}, [
|
|
2072
|
+
At(b(ms), {
|
|
2073
|
+
class: "icon",
|
|
2074
|
+
width: "20",
|
|
2075
|
+
height: "20"
|
|
2076
|
+
}),
|
|
2077
|
+
C("span", null, Z(o.value), 1)
|
|
2078
|
+
], 2));
|
|
2079
|
+
}
|
|
2080
|
+
};
|
|
2081
|
+
function hs(t) {
|
|
2082
|
+
return t && t.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map((e) => e.toLowerCase()).join("-");
|
|
2083
|
+
}
|
|
2084
|
+
function ir(t, e, r) {
|
|
2085
|
+
return (new Array(r + 1).join(e) + t).slice(-r);
|
|
2086
|
+
}
|
|
2087
|
+
const Jr = Symbol("ErrorProviderContext"), gs = () => {
|
|
2088
|
+
const t = H(""), e = H({}), r = (o) => {
|
|
2089
|
+
console.log({ error: o }), t.value = o.message || o.error.message, e.value = {
|
|
2090
|
+
message: o.message,
|
|
2091
|
+
key: o.key || hs(o.message),
|
|
2092
|
+
cause: o.cause
|
|
2093
|
+
};
|
|
2094
|
+
};
|
|
2095
|
+
return vr(Jr, {
|
|
2096
|
+
onError: r,
|
|
2097
|
+
reset: () => {
|
|
2098
|
+
t.value = "", e.value = {};
|
|
2099
|
+
}
|
|
2100
|
+
}), window.onerror = (o) => {
|
|
2101
|
+
console.log("WINDOW_ONERROR:", o);
|
|
2102
|
+
}, vn((o, s, i) => {
|
|
2103
|
+
console.log("onErrorCaptured:", o, s, i);
|
|
2104
|
+
}), {
|
|
2105
|
+
hasError: X(() => t.value.length > 0),
|
|
2106
|
+
message: t,
|
|
2107
|
+
error: e,
|
|
2108
|
+
onError: r
|
|
2109
|
+
};
|
|
2110
|
+
}, ys = () => {
|
|
2111
|
+
const t = vs();
|
|
2112
|
+
return {
|
|
2113
|
+
onError: t.onError,
|
|
2114
|
+
reset: t.reset
|
|
2115
|
+
};
|
|
2116
|
+
}, vs = () => {
|
|
2117
|
+
const t = br(Jr, null);
|
|
2118
|
+
if (t === null)
|
|
2119
|
+
throw new Error("Privider is missing a parent component.");
|
|
2120
|
+
return t;
|
|
2121
|
+
}, Ui = {
|
|
2122
|
+
__name: "ErrorProvider",
|
|
2123
|
+
setup(t) {
|
|
2124
|
+
const { message: e, hasError: r, error: n } = gs();
|
|
2125
|
+
return (a, o) => ot(a.$slots, "default", {
|
|
2126
|
+
message: b(e),
|
|
2127
|
+
error: b(n),
|
|
2128
|
+
hasError: b(r)
|
|
2129
|
+
});
|
|
2130
|
+
}
|
|
2131
|
+
}, bs = {
|
|
2132
|
+
"undefined-column": "A(z) {column} oszlop nem létezik!",
|
|
2133
|
+
"invalid-season-name": "Érvénytelen szezon név",
|
|
2134
|
+
"api-key-not-found": "API Kulcs nem megfelelő"
|
|
2135
|
+
}, ws = {
|
|
2136
|
+
loading: "Töltődés...",
|
|
2137
|
+
noData: "Nincs megjeleníthető adat",
|
|
2138
|
+
selectTimezone: "*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",
|
|
2139
|
+
hungary: "Magyarország",
|
|
2140
|
+
romania: "Románia",
|
|
2141
|
+
shootoutShort: "SU.",
|
|
2142
|
+
overtimeShort: "HU.",
|
|
2143
|
+
all: "Mind",
|
|
2144
|
+
report: "Jegyzőkönyv",
|
|
2145
|
+
video: "Videó"
|
|
2146
|
+
}, Ps = {
|
|
2147
|
+
blank: "#",
|
|
2148
|
+
team: {
|
|
2149
|
+
short: "Csapat",
|
|
2150
|
+
tooltip: "Csapatnév"
|
|
2151
|
+
},
|
|
2152
|
+
game: {
|
|
2153
|
+
short: "M",
|
|
2154
|
+
tooltip: "Mérkőzésszám"
|
|
2155
|
+
},
|
|
2156
|
+
wins: {
|
|
2157
|
+
short: "GY",
|
|
2158
|
+
tooltip: "Győzelem"
|
|
2159
|
+
},
|
|
2160
|
+
draw: {
|
|
2161
|
+
short: "D",
|
|
2162
|
+
tooltip: "Döntetlen"
|
|
2163
|
+
},
|
|
2164
|
+
otw: {
|
|
2165
|
+
short: "GYH",
|
|
2166
|
+
tooltip: "Győzelem Hosszabbításban"
|
|
2167
|
+
},
|
|
2168
|
+
otl: {
|
|
2169
|
+
short: "VH",
|
|
2170
|
+
tooltip: "Vereség Hosszabbításban"
|
|
2171
|
+
},
|
|
2172
|
+
losses: {
|
|
2173
|
+
short: "V",
|
|
2174
|
+
tooltip: "Vereség"
|
|
2175
|
+
},
|
|
2176
|
+
goalFor: {
|
|
2177
|
+
short: "SZG",
|
|
2178
|
+
tooltip: "Szerzett Gól"
|
|
2179
|
+
},
|
|
2180
|
+
goalAgainst: {
|
|
2181
|
+
short: "KG",
|
|
2182
|
+
tooltip: "Kapott Gól"
|
|
2183
|
+
},
|
|
2184
|
+
goalDiff: {
|
|
2185
|
+
short: "GK",
|
|
2186
|
+
tooltip: "Gólkülönbség"
|
|
2187
|
+
},
|
|
2188
|
+
name: {
|
|
2189
|
+
short: "Név",
|
|
2190
|
+
tooltip: "Játékosnév"
|
|
2191
|
+
},
|
|
2192
|
+
goals: {
|
|
2193
|
+
short: "G",
|
|
2194
|
+
tooltip: "Gólok"
|
|
2195
|
+
},
|
|
2196
|
+
assists: {
|
|
2197
|
+
short: "A",
|
|
2198
|
+
tooltip: "Gólpasszok"
|
|
2199
|
+
},
|
|
2200
|
+
points: {
|
|
2201
|
+
short: "P",
|
|
2202
|
+
tooltip: "Pontok"
|
|
2203
|
+
},
|
|
2204
|
+
plusMinus: {
|
|
2205
|
+
short: "+/-",
|
|
2206
|
+
tooltip: "Plussz/Minusz"
|
|
2207
|
+
},
|
|
2208
|
+
sog: {
|
|
2209
|
+
short: "L",
|
|
2210
|
+
tooltip: "Lövések"
|
|
2211
|
+
},
|
|
2212
|
+
sogPercent: {
|
|
2213
|
+
short: "L%",
|
|
2214
|
+
tooltip: "Lövés Hatékonyság"
|
|
2215
|
+
},
|
|
2216
|
+
gameName: {
|
|
2217
|
+
short: "#",
|
|
2218
|
+
tooltip: "Mérkőzés Sorszáma"
|
|
2219
|
+
},
|
|
2220
|
+
gameDate: {
|
|
2221
|
+
short: "Dátum",
|
|
2222
|
+
tooltip: "Mérkőzés Dátuma"
|
|
2223
|
+
},
|
|
2224
|
+
gameDateTime: {
|
|
2225
|
+
short: "*Idő ({offsetName})",
|
|
2226
|
+
tooltip: "Mérkőzés kezdési ideje (Zóna neve)"
|
|
2227
|
+
},
|
|
2228
|
+
homeTeam: {
|
|
2229
|
+
short: "Hazai",
|
|
2230
|
+
tooltip: "Hazai Csapat"
|
|
2231
|
+
},
|
|
2232
|
+
awayTeam: {
|
|
2233
|
+
short: "Vendég",
|
|
2234
|
+
tooltip: "Vendég Csapat"
|
|
2235
|
+
},
|
|
2236
|
+
location: {
|
|
2237
|
+
short: "Helyszín",
|
|
2238
|
+
tooltip: "Mérkőzés Helyszíne"
|
|
2239
|
+
},
|
|
2240
|
+
broadcast: {
|
|
2241
|
+
short: "TV",
|
|
2242
|
+
tooltip: "TV Közvetítés"
|
|
2243
|
+
},
|
|
2244
|
+
minorPenalties: {
|
|
2245
|
+
short: "MINOR",
|
|
2246
|
+
tooltip: "Kisbüntetés (2p)"
|
|
2247
|
+
},
|
|
2248
|
+
majorPenalties: {
|
|
2249
|
+
short: "MAJOR",
|
|
2250
|
+
tooltip: "Büntetés (5p)"
|
|
2251
|
+
},
|
|
2252
|
+
misconducts: {
|
|
2253
|
+
short: "MISC",
|
|
2254
|
+
tooltip: "Fegyelmi büntetés (10p)"
|
|
2255
|
+
},
|
|
2256
|
+
gameMisconducts: {
|
|
2257
|
+
short: "GA-MI",
|
|
2258
|
+
tooltip: "Fegyelmi büntetés (20p)"
|
|
2259
|
+
},
|
|
2260
|
+
matchPenalties: {
|
|
2261
|
+
short: "MATCH",
|
|
2262
|
+
tooltip: "Végleges kiállítások (25p)"
|
|
2263
|
+
},
|
|
2264
|
+
pim: {
|
|
2265
|
+
short: "BÜP",
|
|
2266
|
+
tooltip: "Büntetés Percek"
|
|
2267
|
+
},
|
|
2268
|
+
pimPerGame: {
|
|
2269
|
+
short: "BÜP/M",
|
|
2270
|
+
tooltip: "Mérkőzésenkénti Büntetés Percek"
|
|
2271
|
+
},
|
|
2272
|
+
gpgk: {
|
|
2273
|
+
short: "M",
|
|
2274
|
+
tooltip: "Mérkőzésre Nevezve"
|
|
2275
|
+
},
|
|
2276
|
+
gpi: {
|
|
2277
|
+
short: "LM",
|
|
2278
|
+
tooltip: "Mérkőzésen Játszott"
|
|
2279
|
+
},
|
|
2280
|
+
toi: {
|
|
2281
|
+
short: "TOI",
|
|
2282
|
+
tooltip: "Jégen Töltött Idő"
|
|
2283
|
+
},
|
|
2284
|
+
toiPercent: {
|
|
2285
|
+
short: "TOI%",
|
|
2286
|
+
tooltip: "Jégen Töltött Idő Százalék"
|
|
2287
|
+
},
|
|
2288
|
+
ga: {
|
|
2289
|
+
short: "GA",
|
|
2290
|
+
tooltip: "Kapott Gól"
|
|
2291
|
+
},
|
|
2292
|
+
gaa: {
|
|
2293
|
+
short: "GAA",
|
|
2294
|
+
tooltip: "Kapott Gólátlag"
|
|
2295
|
+
},
|
|
2296
|
+
sa: {
|
|
2297
|
+
short: "KL",
|
|
2298
|
+
tooltip: "Kapott Lövés"
|
|
2299
|
+
},
|
|
2300
|
+
svs: {
|
|
2301
|
+
short: "VL",
|
|
2302
|
+
tooltip: "Védett Lövés"
|
|
2303
|
+
},
|
|
2304
|
+
svsPercent: {
|
|
2305
|
+
short: "VH%",
|
|
2306
|
+
tooltip: "Védés Hatékonyság"
|
|
2307
|
+
},
|
|
2308
|
+
homeHeader: {
|
|
2309
|
+
short: "Hazai:",
|
|
2310
|
+
tooltip: ""
|
|
2311
|
+
},
|
|
2312
|
+
awayHeader: {
|
|
2313
|
+
short: "Vendég:",
|
|
2314
|
+
tooltip: ""
|
|
2315
|
+
},
|
|
2316
|
+
totalHeader: {
|
|
2317
|
+
short: "Összes:",
|
|
2318
|
+
tooltip: ""
|
|
2319
|
+
},
|
|
2320
|
+
homeGame: {
|
|
2321
|
+
short: "M",
|
|
2322
|
+
tooltip: "Hazai Mérkőzés"
|
|
2323
|
+
},
|
|
2324
|
+
awayGame: {
|
|
2325
|
+
short: "M",
|
|
2326
|
+
tooltip: "Vendég Mérkőzés"
|
|
2327
|
+
},
|
|
2328
|
+
totalGame: {
|
|
2329
|
+
short: "M",
|
|
2330
|
+
tooltip: "Összes Mérkőzés"
|
|
2331
|
+
},
|
|
2332
|
+
homeAttendance: {
|
|
2333
|
+
short: "Nézőszám",
|
|
2334
|
+
tooltip: "Hazai Néző"
|
|
2335
|
+
},
|
|
2336
|
+
awayAttendance: {
|
|
2337
|
+
short: "Nézőszám",
|
|
2338
|
+
tooltip: "Vendég Néző"
|
|
2339
|
+
},
|
|
2340
|
+
totalAttendance: {
|
|
2341
|
+
short: "Nézőszám",
|
|
2342
|
+
tooltip: "Összes Néző"
|
|
2343
|
+
},
|
|
2344
|
+
homeAttendanceAvg: {
|
|
2345
|
+
short: "Átlag",
|
|
2346
|
+
tooltip: "Hazi Néző Átlag"
|
|
2347
|
+
},
|
|
2348
|
+
awayAttendanceAvg: {
|
|
2349
|
+
short: "Átlag",
|
|
2350
|
+
tooltip: "Vendég Néző Átlag"
|
|
2351
|
+
},
|
|
2352
|
+
totalAttendanceAvg: {
|
|
2353
|
+
short: "Átlag",
|
|
2354
|
+
tooltip: "Összes Néző Átlag"
|
|
2355
|
+
},
|
|
2356
|
+
powerplayDisadvantages: {
|
|
2357
|
+
short: "DVG",
|
|
2358
|
+
tooltip: "Emberhátrányok"
|
|
2359
|
+
},
|
|
2360
|
+
dvgTime: {
|
|
2361
|
+
short: "DVG-T",
|
|
2362
|
+
tooltip: "Emberhátrányban Töltött Idő"
|
|
2363
|
+
},
|
|
2364
|
+
dvgTimePP1: {
|
|
2365
|
+
short: "DVG-T PP1",
|
|
2366
|
+
tooltip: "Szimpla emberhátrányban töltött idő"
|
|
2367
|
+
},
|
|
2368
|
+
dvgTimePP2: {
|
|
2369
|
+
short: "DVG-T PP2",
|
|
2370
|
+
tooltip: "Kettős emberhátrányban töltött idő"
|
|
2371
|
+
},
|
|
2372
|
+
ppga: {
|
|
2373
|
+
short: "PPGA",
|
|
2374
|
+
tooltip: "Emberhátrányban kapott gólok"
|
|
2375
|
+
},
|
|
2376
|
+
shgf: {
|
|
2377
|
+
short: "SHGF",
|
|
2378
|
+
tooltip: "Emberhátrányban szerzett gól"
|
|
2379
|
+
},
|
|
2380
|
+
pkPercent: {
|
|
2381
|
+
short: "PK%",
|
|
2382
|
+
tooltip: "Emberhátrány kivédekezés"
|
|
2383
|
+
},
|
|
2384
|
+
adv: {
|
|
2385
|
+
short: "ADV",
|
|
2386
|
+
tooltip: "Emberelőnyök száma"
|
|
2387
|
+
},
|
|
2388
|
+
advTime: {
|
|
2389
|
+
short: "ADV-T",
|
|
2390
|
+
tooltip: "Emberelőnyben töltött idő"
|
|
2391
|
+
},
|
|
2392
|
+
advTimePP1: {
|
|
2393
|
+
short: "ADV-T PP1",
|
|
2394
|
+
tooltip: "Szimpla emberelőnyben töltött idő"
|
|
2395
|
+
},
|
|
2396
|
+
advTimePP2: {
|
|
2397
|
+
short: "ADV-T PP2",
|
|
2398
|
+
tooltip: "Kettős emberelőnyben töltött idő"
|
|
2399
|
+
},
|
|
2400
|
+
ppgf: {
|
|
2401
|
+
short: "PPGF",
|
|
2402
|
+
tooltip: "Emberelőnyben szerzett gólok"
|
|
2403
|
+
},
|
|
2404
|
+
shga: {
|
|
2405
|
+
short: "SHGA",
|
|
2406
|
+
tooltip: "Emberelőnyben kapott gólok"
|
|
2407
|
+
},
|
|
2408
|
+
ppPercent: {
|
|
2409
|
+
short: "PP%",
|
|
2410
|
+
tooltip: "Emberelőny kihasználás"
|
|
2411
|
+
},
|
|
2412
|
+
gfgp: {
|
|
2413
|
+
short: "GF/GP",
|
|
2414
|
+
tooltip: "Szerzett gólátlag"
|
|
2415
|
+
},
|
|
2416
|
+
gagp: {
|
|
2417
|
+
short: "GA/GP",
|
|
2418
|
+
tooltip: "Kapott gólátlag"
|
|
2419
|
+
},
|
|
2420
|
+
sogp: {
|
|
2421
|
+
short: "Shots/GP",
|
|
2422
|
+
tooltip: "Átlagos lövésszám"
|
|
2423
|
+
},
|
|
2424
|
+
sagp: {
|
|
2425
|
+
short: "SA/GP",
|
|
2426
|
+
tooltip: "Átlagos kapott lövésszám"
|
|
2427
|
+
},
|
|
2428
|
+
jerseyNumber: {
|
|
2429
|
+
short: "#",
|
|
2430
|
+
tooltip: "Mezszám"
|
|
2431
|
+
},
|
|
2432
|
+
row: {
|
|
2433
|
+
short: "Sor",
|
|
2434
|
+
tooltip: "Sor"
|
|
2435
|
+
},
|
|
2436
|
+
position: {
|
|
2437
|
+
short: "Po",
|
|
2438
|
+
tooltip: "Poszt"
|
|
2439
|
+
},
|
|
2440
|
+
teamOfficials: {
|
|
2441
|
+
short: "Hivatalos Személyek",
|
|
2442
|
+
tooltip: "Hivatalos Személyek"
|
|
2443
|
+
}
|
|
2444
|
+
}, $s = {
|
|
2445
|
+
data: {
|
|
2446
|
+
localTime: "Helyszín szerinti idő"
|
|
2447
|
+
},
|
|
2448
|
+
status: {
|
|
2449
|
+
jury: "Versenybíróság",
|
|
2450
|
+
delayed: "Elhalasztva"
|
|
2451
|
+
},
|
|
2452
|
+
period: {
|
|
2453
|
+
Bemelegítés: "Bemelegítés",
|
|
2454
|
+
"Bemelegítés vége": "Bemelegítés Vége",
|
|
2455
|
+
"1. harmad": "I. harmad",
|
|
2456
|
+
"1. harmad vége": "I. harmad Vége",
|
|
2457
|
+
"2. harmad": "II. harmad",
|
|
2458
|
+
"2. harmad vége": "II. harmad Vége",
|
|
2459
|
+
"3. harmad": "III. harmad",
|
|
2460
|
+
"3. harmad vége": "III. harmad Vége",
|
|
2461
|
+
"4. harmad": "IV. harmad",
|
|
2462
|
+
"4. harmad vége": "IV. harmad Vége",
|
|
2463
|
+
"5. harmad": "V. harmad",
|
|
2464
|
+
"5. harmad vége": "V. harmad Vége",
|
|
2465
|
+
"6. harmad": "VI. harmad",
|
|
2466
|
+
"6. harmad vége": "VI. harmad Vége",
|
|
2467
|
+
Hosszabbítás: "Hosszabbítás",
|
|
2468
|
+
"Hosszabbítás vége": "Hosszabbítás vége",
|
|
2469
|
+
Büntetők: "Szétlövés",
|
|
2470
|
+
"Büntetők vége": "Szétlövés vége",
|
|
2471
|
+
Végeredmény: "Végeredmény",
|
|
2472
|
+
Szétlövés: "Szétlövés"
|
|
2473
|
+
}
|
|
2474
|
+
}, Os = {
|
|
2475
|
+
errors: bs,
|
|
2476
|
+
common: ws,
|
|
2477
|
+
table: Ps,
|
|
2478
|
+
game: $s
|
|
2479
|
+
}, As = {
|
|
2480
|
+
"undefined-column": "The {column} column is not exists!",
|
|
2481
|
+
"invalid-season-name": "Invalid season name",
|
|
2482
|
+
"api-key-not-found": "API Key not found"
|
|
2483
|
+
}, xs = {
|
|
2484
|
+
loading: "Loading...",
|
|
2485
|
+
noData: "No data to display",
|
|
2486
|
+
selectTimezone: "*All times are displayed according to your computer's time zone ({timezone}). Change: ",
|
|
2487
|
+
hungary: "Hungary",
|
|
2488
|
+
romania: "Romania",
|
|
2489
|
+
shootoutShort: "SO",
|
|
2490
|
+
overtimeShort: "OT",
|
|
2491
|
+
all: "All",
|
|
2492
|
+
report: "Report Sheet",
|
|
2493
|
+
video: "Video"
|
|
2494
|
+
}, _s = {
|
|
2495
|
+
blank: "#",
|
|
2496
|
+
team: {
|
|
2497
|
+
short: "Team",
|
|
2498
|
+
tooltip: "Team name"
|
|
2499
|
+
},
|
|
2500
|
+
game: {
|
|
2501
|
+
short: "GP",
|
|
2502
|
+
tooltip: "Game Played"
|
|
2503
|
+
},
|
|
2504
|
+
wins: {
|
|
2505
|
+
short: "W",
|
|
2506
|
+
tooltip: "Wins"
|
|
2507
|
+
},
|
|
2508
|
+
draw: {
|
|
2509
|
+
short: "D",
|
|
2510
|
+
tooltip: "Draw"
|
|
2511
|
+
},
|
|
2512
|
+
otw: {
|
|
2513
|
+
short: "OTW",
|
|
2514
|
+
tooltip: "Overtime Wins"
|
|
2515
|
+
},
|
|
2516
|
+
otl: {
|
|
2517
|
+
short: "OTL",
|
|
2518
|
+
tooltip: "Overtime Losses"
|
|
2519
|
+
},
|
|
2520
|
+
losses: {
|
|
2521
|
+
short: "L",
|
|
2522
|
+
tooltip: "Losses"
|
|
2523
|
+
},
|
|
2524
|
+
goalFor: {
|
|
2525
|
+
short: "GF",
|
|
2526
|
+
tooltip: "Goals For"
|
|
2527
|
+
},
|
|
2528
|
+
goalAgainst: {
|
|
2529
|
+
short: "GA",
|
|
2530
|
+
tooltip: "Goals Against"
|
|
2531
|
+
},
|
|
2532
|
+
goalDiff: {
|
|
2533
|
+
short: "GD",
|
|
2534
|
+
tooltip: "Goal Differential"
|
|
2535
|
+
},
|
|
2536
|
+
points: {
|
|
2537
|
+
short: "PTS",
|
|
2538
|
+
tooltip: "Points"
|
|
2539
|
+
},
|
|
2540
|
+
name: {
|
|
2541
|
+
short: "Name",
|
|
2542
|
+
tooltip: "Player name"
|
|
2543
|
+
},
|
|
2544
|
+
goals: {
|
|
2545
|
+
short: "G",
|
|
2546
|
+
tooltip: "Goals"
|
|
2547
|
+
},
|
|
2548
|
+
assists: {
|
|
2549
|
+
short: "A",
|
|
2550
|
+
tooltip: "Assists"
|
|
2551
|
+
},
|
|
2552
|
+
plusMinus: {
|
|
2553
|
+
short: "+/-",
|
|
2554
|
+
tooltip: "Plus/Minus"
|
|
2555
|
+
},
|
|
2556
|
+
sog: {
|
|
2557
|
+
short: "SOG",
|
|
2558
|
+
tooltip: "Shots on Goal"
|
|
2559
|
+
},
|
|
2560
|
+
sogPercent: {
|
|
2561
|
+
short: "SOG%",
|
|
2562
|
+
tooltip: "Shots on Goal Percent"
|
|
2563
|
+
},
|
|
2564
|
+
gameName: {
|
|
2565
|
+
short: "#",
|
|
2566
|
+
tooltip: "Game name"
|
|
2567
|
+
},
|
|
2568
|
+
gameDate: {
|
|
2569
|
+
short: "Date",
|
|
2570
|
+
tooltip: "Scheduled Date"
|
|
2571
|
+
},
|
|
2572
|
+
gameDateTime: {
|
|
2573
|
+
short: "*Time ({offsetName})",
|
|
2574
|
+
tooltip: "Scheduled Time (Offset Name)"
|
|
2575
|
+
},
|
|
2576
|
+
homeTeam: {
|
|
2577
|
+
short: "Home",
|
|
2578
|
+
tooltip: "Home Team"
|
|
2579
|
+
},
|
|
2580
|
+
awayTeam: {
|
|
2581
|
+
short: "Away",
|
|
2582
|
+
tooltip: "Away Team"
|
|
2583
|
+
},
|
|
2584
|
+
location: {
|
|
2585
|
+
short: "Location",
|
|
2586
|
+
tooltip: "Game Location"
|
|
2587
|
+
},
|
|
2588
|
+
broadcast: {
|
|
2589
|
+
short: "Broadcast",
|
|
2590
|
+
tooltip: "Television Broadcast"
|
|
2591
|
+
},
|
|
2592
|
+
minorPenalties: {
|
|
2593
|
+
short: "MINOR",
|
|
2594
|
+
tooltip: "Penalties Minor"
|
|
2595
|
+
},
|
|
2596
|
+
majorPenalties: {
|
|
2597
|
+
short: "MAJOR",
|
|
2598
|
+
tooltip: "Penalties Major"
|
|
2599
|
+
},
|
|
2600
|
+
misconducts: {
|
|
2601
|
+
short: "MISC",
|
|
2602
|
+
tooltip: "Penalties Misconduct"
|
|
2603
|
+
},
|
|
2604
|
+
gameMisconducts: {
|
|
2605
|
+
short: "GA-MI",
|
|
2606
|
+
tooltip: "Penalties Game Misconduct"
|
|
2607
|
+
},
|
|
2608
|
+
matchPenalties: {
|
|
2609
|
+
short: "MATCH",
|
|
2610
|
+
tooltip: "Penalties Match"
|
|
2611
|
+
},
|
|
2612
|
+
pim: {
|
|
2613
|
+
short: "PIM",
|
|
2614
|
+
tooltip: "Penalty Minutes"
|
|
2615
|
+
},
|
|
2616
|
+
pimPerGame: {
|
|
2617
|
+
short: "PIM/G",
|
|
2618
|
+
tooltip: "Penalty Minutes per Game"
|
|
2619
|
+
},
|
|
2620
|
+
gpgk: {
|
|
2621
|
+
short: "GP",
|
|
2622
|
+
tooltip: "Games Played"
|
|
2623
|
+
},
|
|
2624
|
+
gpi: {
|
|
2625
|
+
short: "GPI",
|
|
2626
|
+
tooltip: "Games Played In"
|
|
2627
|
+
},
|
|
2628
|
+
toi: {
|
|
2629
|
+
short: "TOI",
|
|
2630
|
+
tooltip: "Time On Ice"
|
|
2631
|
+
},
|
|
2632
|
+
toiPercent: {
|
|
2633
|
+
short: "TOI%",
|
|
2634
|
+
tooltip: "Time On Ice as Percentage"
|
|
2635
|
+
},
|
|
2636
|
+
ga: {
|
|
2637
|
+
short: "GA",
|
|
2638
|
+
tooltip: "Goals Against"
|
|
2639
|
+
},
|
|
2640
|
+
gaa: {
|
|
2641
|
+
short: "GAA",
|
|
2642
|
+
tooltip: "Goals Against Average"
|
|
2643
|
+
},
|
|
2644
|
+
sa: {
|
|
2645
|
+
short: "SA",
|
|
2646
|
+
tooltip: "Shots Against"
|
|
2647
|
+
},
|
|
2648
|
+
svs: {
|
|
2649
|
+
short: "SVS",
|
|
2650
|
+
tooltip: "Saves"
|
|
2651
|
+
},
|
|
2652
|
+
svsPercent: {
|
|
2653
|
+
short: "SV%",
|
|
2654
|
+
tooltip: "Save Percentage"
|
|
2655
|
+
},
|
|
2656
|
+
homeHeader: {
|
|
2657
|
+
short: "Home:",
|
|
2658
|
+
tooltip: ""
|
|
2659
|
+
},
|
|
2660
|
+
awayHeader: {
|
|
2661
|
+
short: "Away:",
|
|
2662
|
+
tooltip: ""
|
|
2663
|
+
},
|
|
2664
|
+
totalHeader: {
|
|
2665
|
+
short: "Total:",
|
|
2666
|
+
tooltip: ""
|
|
2667
|
+
},
|
|
2668
|
+
homeGame: {
|
|
2669
|
+
short: "GP",
|
|
2670
|
+
tooltip: "Home Games Played"
|
|
2671
|
+
},
|
|
2672
|
+
awayGame: {
|
|
2673
|
+
short: "GP",
|
|
2674
|
+
tooltip: "Away Games Played"
|
|
2675
|
+
},
|
|
2676
|
+
totalGame: {
|
|
2677
|
+
short: "GP",
|
|
2678
|
+
tooltip: "Total Games Played"
|
|
2679
|
+
},
|
|
2680
|
+
homeAttendance: {
|
|
2681
|
+
short: "Att",
|
|
2682
|
+
tooltip: "Home Attendance"
|
|
2683
|
+
},
|
|
2684
|
+
awayAttendance: {
|
|
2685
|
+
short: "Att",
|
|
2686
|
+
tooltip: "Away Attendance"
|
|
2687
|
+
},
|
|
2688
|
+
totalAttendance: {
|
|
2689
|
+
short: "Att",
|
|
2690
|
+
tooltip: "Total Attendance"
|
|
2691
|
+
},
|
|
2692
|
+
homeAttendanceAvg: {
|
|
2693
|
+
short: "Avg",
|
|
2694
|
+
tooltip: "Home Average Attendance"
|
|
2695
|
+
},
|
|
2696
|
+
awayAttendanceAvg: {
|
|
2697
|
+
short: "Avg",
|
|
2698
|
+
tooltip: "Away Average Attendance"
|
|
2699
|
+
},
|
|
2700
|
+
totalAttendanceAvg: {
|
|
2701
|
+
short: "Avg",
|
|
2702
|
+
tooltip: "Total Average Attendance"
|
|
2703
|
+
},
|
|
2704
|
+
powerplayDisadvantages: {
|
|
2705
|
+
short: "DVG",
|
|
2706
|
+
tooltip: "Disadvantages (Number of Times Shorthanded)"
|
|
2707
|
+
},
|
|
2708
|
+
dvgTime: {
|
|
2709
|
+
short: "DVG-T",
|
|
2710
|
+
tooltip: "Disadvantages Time"
|
|
2711
|
+
},
|
|
2712
|
+
dvgTimePP1: {
|
|
2713
|
+
short: "DVG-T PP1",
|
|
2714
|
+
tooltip: "Disadvantages Time (Period of PP1)"
|
|
2715
|
+
},
|
|
2716
|
+
dvgTimePP2: {
|
|
2717
|
+
short: "DVG-T PP2",
|
|
2718
|
+
tooltip: "Disadvantages Time (Period of PP2)"
|
|
2719
|
+
},
|
|
2720
|
+
ppga: {
|
|
2721
|
+
short: "PPGA",
|
|
2722
|
+
tooltip: "Powerplay Goals Against"
|
|
2723
|
+
},
|
|
2724
|
+
shgf: {
|
|
2725
|
+
short: "SHGF",
|
|
2726
|
+
tooltip: "Shorthanded Goals For"
|
|
2727
|
+
},
|
|
2728
|
+
pkPercent: {
|
|
2729
|
+
short: "PK%",
|
|
2730
|
+
tooltip: "Penalty Killing Percentage"
|
|
2731
|
+
},
|
|
2732
|
+
adv: {
|
|
2733
|
+
short: "ADV",
|
|
2734
|
+
tooltip: "Advantages (Times on Powerplay)"
|
|
2735
|
+
},
|
|
2736
|
+
advTime: {
|
|
2737
|
+
short: "ADV-T",
|
|
2738
|
+
tooltip: "Advantages Time (Period of Powerplay)"
|
|
2739
|
+
},
|
|
2740
|
+
advTimePP1: {
|
|
2741
|
+
short: "ADV-T PP1",
|
|
2742
|
+
tooltip: "Advantages Time (Period of PP1)"
|
|
2743
|
+
},
|
|
2744
|
+
advTimePP2: {
|
|
2745
|
+
short: "ADV-T PP2",
|
|
2746
|
+
tooltip: "Advantages Time (Period of PP2)"
|
|
2747
|
+
},
|
|
2748
|
+
ppgf: {
|
|
2749
|
+
short: "PPGF",
|
|
2750
|
+
tooltip: "Powerplay Goals For"
|
|
2751
|
+
},
|
|
2752
|
+
shga: {
|
|
2753
|
+
short: "SHGA",
|
|
2754
|
+
tooltip: "Shorthanded Goals Against"
|
|
2755
|
+
},
|
|
2756
|
+
ppPercent: {
|
|
2757
|
+
short: "PP%",
|
|
2758
|
+
tooltip: "Powerplay Percentage"
|
|
2759
|
+
},
|
|
2760
|
+
gfgp: {
|
|
2761
|
+
short: "GF/GP",
|
|
2762
|
+
tooltip: "Szerzett gólátlag"
|
|
2763
|
+
},
|
|
2764
|
+
gagp: {
|
|
2765
|
+
short: "GA/GP",
|
|
2766
|
+
tooltip: "Kapott gólátlag"
|
|
2767
|
+
},
|
|
2768
|
+
sogp: {
|
|
2769
|
+
short: "Shots/GP",
|
|
2770
|
+
tooltip: "Átlagos lövésszám"
|
|
2771
|
+
},
|
|
2772
|
+
sagp: {
|
|
2773
|
+
short: "SA/GP",
|
|
2774
|
+
tooltip: "Shots Against per Game"
|
|
2775
|
+
},
|
|
2776
|
+
jerseyNumber: {
|
|
2777
|
+
short: "#",
|
|
2778
|
+
tooltip: "Jersey Number"
|
|
2779
|
+
},
|
|
2780
|
+
row: {
|
|
2781
|
+
short: "Row",
|
|
2782
|
+
tooltip: "Row"
|
|
2783
|
+
},
|
|
2784
|
+
position: {
|
|
2785
|
+
short: "Position",
|
|
2786
|
+
tooltip: "Position"
|
|
2787
|
+
},
|
|
2788
|
+
teamOfficials: {
|
|
2789
|
+
short: "Team officials",
|
|
2790
|
+
tooltip: "Team officials"
|
|
2791
|
+
}
|
|
2792
|
+
}, Ss = {
|
|
2793
|
+
data: {
|
|
2794
|
+
localTime: "Game local time"
|
|
2795
|
+
},
|
|
2796
|
+
status: {
|
|
2797
|
+
jury: "Jury result",
|
|
2798
|
+
delayed: "Game delayed"
|
|
2799
|
+
},
|
|
2800
|
+
period: {
|
|
2801
|
+
Bemelegítés: "Warm-up",
|
|
2802
|
+
"Bemelegítés vége": "Warm-up End",
|
|
2803
|
+
"1. harmad": "First period",
|
|
2804
|
+
"1. harmad vége": "First period End",
|
|
2805
|
+
"2. harmad": "Second period",
|
|
2806
|
+
"2. harmad vége": "Second period End",
|
|
2807
|
+
"3. harmad": "Third period",
|
|
2808
|
+
"3. harmad vége": "Third period End",
|
|
2809
|
+
"4. harmad": "IV. period",
|
|
2810
|
+
"4. harmad vége": "IV. period End",
|
|
2811
|
+
"5. harmad": "V. period",
|
|
2812
|
+
"5. harmad vége": "V. period End",
|
|
2813
|
+
"6. harmad": "VI. period",
|
|
2814
|
+
"6. harmad vége": "VI. period End",
|
|
2815
|
+
Hosszabbítás: "Overtime",
|
|
2816
|
+
"Hosszabbítás vége": "Overtime End",
|
|
2817
|
+
Büntetőlövések: "Penalty Shot",
|
|
2818
|
+
Végeredmény: "Game Completed",
|
|
2819
|
+
Szétlövés: "Shoot Out"
|
|
2820
|
+
}
|
|
2821
|
+
}, Ts = {
|
|
2822
|
+
errors: As,
|
|
2823
|
+
common: xs,
|
|
2824
|
+
table: _s,
|
|
2825
|
+
game: Ss
|
|
2826
|
+
}, Qr = (t, e) => {
|
|
2827
|
+
const r = t.__vccOpts || t;
|
|
2828
|
+
for (const [n, a] of e)
|
|
2829
|
+
r[n] = a;
|
|
2830
|
+
return r;
|
|
2831
|
+
}, Ms = yr({
|
|
2832
|
+
props: {
|
|
2833
|
+
locale: {
|
|
2834
|
+
type: String,
|
|
2835
|
+
default: "hu"
|
|
2836
|
+
},
|
|
2837
|
+
messages: {
|
|
2838
|
+
type: Object,
|
|
2839
|
+
default: () => ({})
|
|
2840
|
+
}
|
|
2841
|
+
},
|
|
2842
|
+
setup(t) {
|
|
2843
|
+
const e = ea({ hu: Os, en: Ts }, t.messages), { translate: r } = ha({
|
|
2844
|
+
locale: X(() => t.locale),
|
|
2845
|
+
messages: e
|
|
2846
|
+
});
|
|
2847
|
+
return {
|
|
2848
|
+
translate: r
|
|
2849
|
+
};
|
|
2850
|
+
}
|
|
2851
|
+
});
|
|
2852
|
+
function Ds(t, e, r, n, a, o) {
|
|
2853
|
+
return ot(t.$slots, "default", { t: t.translate });
|
|
2854
|
+
}
|
|
2855
|
+
const Wi = /* @__PURE__ */ Qr(Ms, [["render", Ds]]), ks = ["src"], Ls = ["src", "title"], lr = /* @__PURE__ */ Object.assign({
|
|
2856
|
+
inheritAttrs: !1
|
|
2857
|
+
}, {
|
|
2858
|
+
__name: "Image",
|
|
2859
|
+
props: {
|
|
2860
|
+
src: {
|
|
2861
|
+
type: String,
|
|
2862
|
+
default: ""
|
|
2863
|
+
},
|
|
2864
|
+
title: {
|
|
2865
|
+
type: String,
|
|
2866
|
+
default: ""
|
|
2867
|
+
},
|
|
2868
|
+
defaultSrc: {
|
|
2869
|
+
type: String,
|
|
2870
|
+
default: ""
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2873
|
+
setup(t) {
|
|
2874
|
+
const e = t, { defaultSrc: r } = wr(e), n = H({ src: e.src }), { error: a, isReady: o } = jn(n, { resetOnExecute: !1, shallow: !1 });
|
|
2875
|
+
return (s, i) => (L(), I($t, null, [
|
|
2876
|
+
b(a) && b(r) ? (L(), I("img", {
|
|
2877
|
+
key: 0,
|
|
2878
|
+
src: b(r),
|
|
2879
|
+
class: rt(["is-loaded", s.$attrs.class])
|
|
2880
|
+
}, null, 10, ks)) : et("", !0),
|
|
2881
|
+
b(a) ? et("", !0) : (L(), I("img", {
|
|
2882
|
+
key: 1,
|
|
2883
|
+
src: n.value.src,
|
|
2884
|
+
class: rt([s.$attrs.class, { "is-loaded": b(o) }]),
|
|
2885
|
+
title: e.title
|
|
2886
|
+
}, null, 10, Ls))
|
|
2887
|
+
], 64));
|
|
2888
|
+
}
|
|
2889
|
+
}), Es = { style: { "text-align": "center" } }, zs = {
|
|
2890
|
+
__name: "LoadingIndicator",
|
|
2891
|
+
setup(t) {
|
|
2892
|
+
const { t: e } = Wt();
|
|
2893
|
+
return (r, n) => (L(), I("div", Es, Z(b(e)("common.loading")), 1));
|
|
2894
|
+
}
|
|
2895
|
+
};
|
|
2896
|
+
function Is({ currentPage: t, itemsPerPage: e = 20, totalItems: r, rangeLength: n = 5, update: a = pt }) {
|
|
2897
|
+
const o = X(() => Math.ceil(b(r) / e)), s = X(() => {
|
|
2898
|
+
const m = b(t) - 1, l = Array.from({ length: o.value }, (h, p) => p + 1), d = Math.floor(n / 2);
|
|
2899
|
+
let f = Math.max(m - d, 0);
|
|
2900
|
+
return f + n >= o.value && (f = Math.max(o.value - n, 0)), l.slice(f, f + n);
|
|
2901
|
+
}), i = (m) => {
|
|
2902
|
+
const l = b(t) + m;
|
|
2903
|
+
c(l) && a(l);
|
|
2904
|
+
}, u = (m) => {
|
|
2905
|
+
c(m) && a(m);
|
|
2906
|
+
}, c = (m) => m <= o.value && m > 0;
|
|
2907
|
+
return {
|
|
2908
|
+
page: t,
|
|
2909
|
+
range: s,
|
|
2910
|
+
pageCount: o,
|
|
2911
|
+
goTo: u,
|
|
2912
|
+
pageStep: i
|
|
2913
|
+
};
|
|
2914
|
+
}
|
|
2915
|
+
const Ns = {
|
|
2916
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2917
|
+
viewBox: "0 0 24 24",
|
|
2918
|
+
fill: "none",
|
|
2919
|
+
stroke: "currentColor",
|
|
2920
|
+
"stroke-width": "2",
|
|
2921
|
+
"stroke-linecap": "round",
|
|
2922
|
+
"stroke-linejoin": "round"
|
|
2923
|
+
}, Cs = /* @__PURE__ */ C("polyline", { points: "15 18 9 12 15 6" }, null, -1), Gs = [
|
|
2924
|
+
Cs
|
|
2925
|
+
];
|
|
2926
|
+
function Rs(t, e) {
|
|
2927
|
+
return L(), I("svg", Ns, Gs);
|
|
2928
|
+
}
|
|
2929
|
+
const js = { render: Rs }, Fs = {
|
|
2930
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2931
|
+
viewBox: "0 0 24 24",
|
|
2932
|
+
fill: "none",
|
|
2933
|
+
stroke: "currentColor",
|
|
2934
|
+
"stroke-width": "2",
|
|
2935
|
+
"stroke-linecap": "round",
|
|
2936
|
+
"stroke-linejoin": "round"
|
|
2937
|
+
}, Bs = /* @__PURE__ */ C("polyline", { points: "9 18 15 12 9 6" }, null, -1), Vs = [
|
|
2938
|
+
Bs
|
|
2939
|
+
];
|
|
2940
|
+
function Hs(t, e) {
|
|
2941
|
+
return L(), I("svg", Fs, Vs);
|
|
2942
|
+
}
|
|
2943
|
+
const Ys = { render: Hs }, Us = ["disabled"], Ws = ["disabled"], Ks = {
|
|
2944
|
+
key: 1,
|
|
2945
|
+
class: "is-disabled"
|
|
2946
|
+
}, qs = ["disabled", "onClick"], Zs = {
|
|
2947
|
+
key: 2,
|
|
2948
|
+
class: "is-disabled"
|
|
2949
|
+
}, Xs = /* @__PURE__ */ C("span", null, "...", -1), Js = [
|
|
2950
|
+
Xs
|
|
2951
|
+
], Qs = ["disabled"], ti = ["disabled"], Ki = {
|
|
2952
|
+
__name: "Paginator",
|
|
2953
|
+
props: {
|
|
2954
|
+
page: {
|
|
2955
|
+
type: Number,
|
|
2956
|
+
required: !1,
|
|
2957
|
+
default: 0,
|
|
2958
|
+
validator: (t) => t >= 0
|
|
2959
|
+
},
|
|
2960
|
+
itemsPerPage: {
|
|
2961
|
+
type: Number,
|
|
2962
|
+
required: !1,
|
|
2963
|
+
default: 10,
|
|
2964
|
+
validator: (t) => t > 0
|
|
2965
|
+
},
|
|
2966
|
+
totalItems: {
|
|
2967
|
+
type: Number,
|
|
2968
|
+
required: !0,
|
|
2969
|
+
validator: (t) => t >= 0
|
|
2970
|
+
},
|
|
2971
|
+
rangeLength: {
|
|
2972
|
+
type: Number,
|
|
2973
|
+
default: 3,
|
|
2974
|
+
validator: (t) => t >= 2
|
|
2975
|
+
},
|
|
2976
|
+
isCompact: {
|
|
2977
|
+
type: Boolean,
|
|
2978
|
+
default: !1
|
|
2979
|
+
}
|
|
2980
|
+
},
|
|
2981
|
+
emits: ["change"],
|
|
2982
|
+
setup(t, { emit: e }) {
|
|
2983
|
+
const r = t, n = zt("paginator"), { page: a, pageCount: o, range: s, goTo: i, pageStep: u } = Is({
|
|
2984
|
+
currentPage: X(() => r.page),
|
|
2985
|
+
totalItems: X(() => r.totalItems),
|
|
2986
|
+
itemsPerPage: r.itemsPerPage,
|
|
2987
|
+
rangeLength: r.rangeLength,
|
|
2988
|
+
update: (c) => e("change", c)
|
|
2989
|
+
});
|
|
2990
|
+
return (c, m) => b(o) > 1 ? (L(), I("div", {
|
|
2991
|
+
key: 0,
|
|
2992
|
+
class: rt(b(n))
|
|
2993
|
+
}, [
|
|
2994
|
+
C("button", {
|
|
2995
|
+
type: "button",
|
|
2996
|
+
disabled: b(a) === 1,
|
|
2997
|
+
onClick: m[0] || (m[0] = (l) => b(u)(-1))
|
|
2998
|
+
}, [
|
|
2999
|
+
ot(c.$slots, "prev", {}, () => [
|
|
3000
|
+
At(b(js), { class: "icon paginator-left" })
|
|
3001
|
+
])
|
|
3002
|
+
], 8, Us),
|
|
3003
|
+
t.isCompact ? et("", !0) : (L(), I("button", {
|
|
3004
|
+
key: 0,
|
|
3005
|
+
type: "button",
|
|
3006
|
+
disabled: b(a) === 1,
|
|
3007
|
+
onClick: m[1] || (m[1] = (l) => b(i)(1))
|
|
3008
|
+
}, "1", 8, Ws)),
|
|
3009
|
+
t.isCompact ? et("", !0) : (L(), I("div", Ks, "...")),
|
|
3010
|
+
(L(!0), I($t, null, Ft(b(s), (l) => (L(), I("button", {
|
|
3011
|
+
type: "button",
|
|
3012
|
+
key: l,
|
|
3013
|
+
class: rt({ "is-active": l === b(a) }),
|
|
3014
|
+
disabled: l === b(a),
|
|
3015
|
+
onClick: (d) => b(i)(l)
|
|
3016
|
+
}, Z(l), 11, qs))), 128)),
|
|
3017
|
+
t.isCompact ? et("", !0) : (L(), I("div", Zs, Js)),
|
|
3018
|
+
t.isCompact ? et("", !0) : (L(), I("button", {
|
|
3019
|
+
key: 3,
|
|
3020
|
+
type: "button",
|
|
3021
|
+
disabled: b(a) === b(o),
|
|
3022
|
+
onClick: m[2] || (m[2] = (l) => b(i)(b(o)))
|
|
3023
|
+
}, Z(b(o)), 9, Qs)),
|
|
3024
|
+
C("button", {
|
|
3025
|
+
type: "button",
|
|
3026
|
+
disabled: b(a) === b(o),
|
|
3027
|
+
onClick: m[3] || (m[3] = Ht((l) => b(u)(1), ["prevent"]))
|
|
3028
|
+
}, [
|
|
3029
|
+
ot(c.$slots, "next", {}, () => [
|
|
3030
|
+
At(b(Ys), { class: "icon paginator-left" })
|
|
3031
|
+
])
|
|
3032
|
+
], 8, ti)
|
|
3033
|
+
], 2)) : et("", !0);
|
|
3034
|
+
}
|
|
3035
|
+
}, ei = {
|
|
3036
|
+
__name: "ResponsiveTable",
|
|
3037
|
+
setup(t) {
|
|
3038
|
+
const e = H(null), r = zt("table-responsive");
|
|
3039
|
+
return (n, a) => (L(), I("div", {
|
|
3040
|
+
ref_key: "el",
|
|
3041
|
+
ref: e,
|
|
3042
|
+
class: rt(b(r))
|
|
3043
|
+
}, [
|
|
3044
|
+
ot(n.$slots, "default", { el: e.value })
|
|
3045
|
+
], 2));
|
|
3046
|
+
}
|
|
3047
|
+
};
|
|
3048
|
+
var Pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3049
|
+
function Tt(t) {
|
|
3050
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
3051
|
+
}
|
|
3052
|
+
var tn = { exports: {} };
|
|
3053
|
+
(function(t, e) {
|
|
3054
|
+
(function(r, n) {
|
|
3055
|
+
t.exports = n();
|
|
3056
|
+
})(Pt, function() {
|
|
3057
|
+
var r = 1e3, n = 6e4, a = 36e5, o = "millisecond", s = "second", i = "minute", u = "hour", c = "day", m = "week", l = "month", d = "quarter", f = "year", h = "date", p = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, O = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
|
|
3058
|
+
var P = ["th", "st", "nd", "rd"], w = x % 100;
|
|
3059
|
+
return "[" + x + (P[(w - 20) % 10] || P[w] || P[0]) + "]";
|
|
3060
|
+
} }, _ = function(x, P, w) {
|
|
3061
|
+
var A = String(x);
|
|
3062
|
+
return !A || A.length >= P ? x : "" + Array(P + 1 - A.length).join(w) + x;
|
|
3063
|
+
}, D = { s: _, z: function(x) {
|
|
3064
|
+
var P = -x.utcOffset(), w = Math.abs(P), A = Math.floor(w / 60), v = w % 60;
|
|
3065
|
+
return (P <= 0 ? "+" : "-") + _(A, 2, "0") + ":" + _(v, 2, "0");
|
|
3066
|
+
}, m: function x(P, w) {
|
|
3067
|
+
if (P.date() < w.date())
|
|
3068
|
+
return -x(w, P);
|
|
3069
|
+
var A = 12 * (w.year() - P.year()) + (w.month() - P.month()), v = P.clone().add(A, l), S = w - v < 0, M = P.clone().add(A + (S ? -1 : 1), l);
|
|
3070
|
+
return +(-(A + (w - v) / (S ? v - M : M - v)) || 0);
|
|
3071
|
+
}, a: function(x) {
|
|
3072
|
+
return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
|
|
3073
|
+
}, p: function(x) {
|
|
3074
|
+
return { M: l, y: f, w: m, d: c, D: h, h: u, m: i, s, ms: o, Q: d }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
|
3075
|
+
}, u: function(x) {
|
|
3076
|
+
return x === void 0;
|
|
3077
|
+
} }, k = "en", N = {};
|
|
3078
|
+
N[k] = O;
|
|
3079
|
+
var j = function(x) {
|
|
3080
|
+
return x instanceof R;
|
|
3081
|
+
}, U = function x(P, w, A) {
|
|
3082
|
+
var v;
|
|
3083
|
+
if (!P)
|
|
3084
|
+
return k;
|
|
3085
|
+
if (typeof P == "string") {
|
|
3086
|
+
var S = P.toLowerCase();
|
|
3087
|
+
N[S] && (v = S), w && (N[S] = w, v = S);
|
|
3088
|
+
var M = P.split("-");
|
|
3089
|
+
if (!v && M.length > 1)
|
|
3090
|
+
return x(M[0]);
|
|
3091
|
+
} else {
|
|
3092
|
+
var z = P.name;
|
|
3093
|
+
N[z] = P, v = z;
|
|
3094
|
+
}
|
|
3095
|
+
return !A && v && (k = v), v || !A && k;
|
|
3096
|
+
}, E = function(x, P) {
|
|
3097
|
+
if (j(x))
|
|
3098
|
+
return x.clone();
|
|
3099
|
+
var w = typeof P == "object" ? P : {};
|
|
3100
|
+
return w.date = x, w.args = arguments, new R(w);
|
|
3101
|
+
}, T = D;
|
|
3102
|
+
T.l = U, T.i = j, T.w = function(x, P) {
|
|
3103
|
+
return E(x, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
|
|
3104
|
+
};
|
|
3105
|
+
var R = function() {
|
|
3106
|
+
function x(w) {
|
|
3107
|
+
this.$L = U(w.locale, null, !0), this.parse(w);
|
|
3108
|
+
}
|
|
3109
|
+
var P = x.prototype;
|
|
3110
|
+
return P.parse = function(w) {
|
|
3111
|
+
this.$d = function(A) {
|
|
3112
|
+
var v = A.date, S = A.utc;
|
|
3113
|
+
if (v === null)
|
|
3114
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
3115
|
+
if (T.u(v))
|
|
3116
|
+
return /* @__PURE__ */ new Date();
|
|
3117
|
+
if (v instanceof Date)
|
|
3118
|
+
return new Date(v);
|
|
3119
|
+
if (typeof v == "string" && !/Z$/i.test(v)) {
|
|
3120
|
+
var M = v.match(g);
|
|
3121
|
+
if (M) {
|
|
3122
|
+
var z = M[2] - 1 || 0, Y = (M[7] || "0").substring(0, 3);
|
|
3123
|
+
return S ? new Date(Date.UTC(M[1], z, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, Y)) : new Date(M[1], z, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, Y);
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
return new Date(v);
|
|
3127
|
+
}(w), this.$x = w.x || {}, this.init();
|
|
3128
|
+
}, P.init = function() {
|
|
3129
|
+
var w = this.$d;
|
|
3130
|
+
this.$y = w.getFullYear(), this.$M = w.getMonth(), this.$D = w.getDate(), this.$W = w.getDay(), this.$H = w.getHours(), this.$m = w.getMinutes(), this.$s = w.getSeconds(), this.$ms = w.getMilliseconds();
|
|
3131
|
+
}, P.$utils = function() {
|
|
3132
|
+
return T;
|
|
3133
|
+
}, P.isValid = function() {
|
|
3134
|
+
return this.$d.toString() !== p;
|
|
3135
|
+
}, P.isSame = function(w, A) {
|
|
3136
|
+
var v = E(w);
|
|
3137
|
+
return this.startOf(A) <= v && v <= this.endOf(A);
|
|
3138
|
+
}, P.isAfter = function(w, A) {
|
|
3139
|
+
return E(w) < this.startOf(A);
|
|
3140
|
+
}, P.isBefore = function(w, A) {
|
|
3141
|
+
return this.endOf(A) < E(w);
|
|
3142
|
+
}, P.$g = function(w, A, v) {
|
|
3143
|
+
return T.u(w) ? this[A] : this.set(v, w);
|
|
3144
|
+
}, P.unix = function() {
|
|
3145
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
3146
|
+
}, P.valueOf = function() {
|
|
3147
|
+
return this.$d.getTime();
|
|
3148
|
+
}, P.startOf = function(w, A) {
|
|
3149
|
+
var v = this, S = !!T.u(A) || A, M = T.p(w), z = function(Mt, tt) {
|
|
3150
|
+
var gt = T.w(v.$u ? Date.UTC(v.$y, tt, Mt) : new Date(v.$y, tt, Mt), v);
|
|
3151
|
+
return S ? gt : gt.endOf(c);
|
|
3152
|
+
}, Y = function(Mt, tt) {
|
|
3153
|
+
return T.w(v.toDate()[Mt].apply(v.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(tt)), v);
|
|
3154
|
+
}, V = this.$W, q = this.$M, ht = this.$D, ft = "set" + (this.$u ? "UTC" : "");
|
|
3155
|
+
switch (M) {
|
|
3156
|
+
case f:
|
|
3157
|
+
return S ? z(1, 0) : z(31, 11);
|
|
3158
|
+
case l:
|
|
3159
|
+
return S ? z(1, q) : z(0, q + 1);
|
|
3160
|
+
case m:
|
|
3161
|
+
var It = this.$locale().weekStart || 0, Nt = (V < It ? V + 7 : V) - It;
|
|
3162
|
+
return z(S ? ht - Nt : ht + (6 - Nt), q);
|
|
3163
|
+
case c:
|
|
3164
|
+
case h:
|
|
3165
|
+
return Y(ft + "Hours", 0);
|
|
3166
|
+
case u:
|
|
3167
|
+
return Y(ft + "Minutes", 1);
|
|
3168
|
+
case i:
|
|
3169
|
+
return Y(ft + "Seconds", 2);
|
|
3170
|
+
case s:
|
|
3171
|
+
return Y(ft + "Milliseconds", 3);
|
|
3172
|
+
default:
|
|
3173
|
+
return this.clone();
|
|
3174
|
+
}
|
|
3175
|
+
}, P.endOf = function(w) {
|
|
3176
|
+
return this.startOf(w, !1);
|
|
3177
|
+
}, P.$set = function(w, A) {
|
|
3178
|
+
var v, S = T.p(w), M = "set" + (this.$u ? "UTC" : ""), z = (v = {}, v[c] = M + "Date", v[h] = M + "Date", v[l] = M + "Month", v[f] = M + "FullYear", v[u] = M + "Hours", v[i] = M + "Minutes", v[s] = M + "Seconds", v[o] = M + "Milliseconds", v)[S], Y = S === c ? this.$D + (A - this.$W) : A;
|
|
3179
|
+
if (S === l || S === f) {
|
|
3180
|
+
var V = this.clone().set(h, 1);
|
|
3181
|
+
V.$d[z](Y), V.init(), this.$d = V.set(h, Math.min(this.$D, V.daysInMonth())).$d;
|
|
3182
|
+
} else
|
|
3183
|
+
z && this.$d[z](Y);
|
|
3184
|
+
return this.init(), this;
|
|
3185
|
+
}, P.set = function(w, A) {
|
|
3186
|
+
return this.clone().$set(w, A);
|
|
3187
|
+
}, P.get = function(w) {
|
|
3188
|
+
return this[T.p(w)]();
|
|
3189
|
+
}, P.add = function(w, A) {
|
|
3190
|
+
var v, S = this;
|
|
3191
|
+
w = Number(w);
|
|
3192
|
+
var M = T.p(A), z = function(q) {
|
|
3193
|
+
var ht = E(S);
|
|
3194
|
+
return T.w(ht.date(ht.date() + Math.round(q * w)), S);
|
|
3195
|
+
};
|
|
3196
|
+
if (M === l)
|
|
3197
|
+
return this.set(l, this.$M + w);
|
|
3198
|
+
if (M === f)
|
|
3199
|
+
return this.set(f, this.$y + w);
|
|
3200
|
+
if (M === c)
|
|
3201
|
+
return z(1);
|
|
3202
|
+
if (M === m)
|
|
3203
|
+
return z(7);
|
|
3204
|
+
var Y = (v = {}, v[i] = n, v[u] = a, v[s] = r, v)[M] || 1, V = this.$d.getTime() + w * Y;
|
|
3205
|
+
return T.w(V, this);
|
|
3206
|
+
}, P.subtract = function(w, A) {
|
|
3207
|
+
return this.add(-1 * w, A);
|
|
3208
|
+
}, P.format = function(w) {
|
|
3209
|
+
var A = this, v = this.$locale();
|
|
3210
|
+
if (!this.isValid())
|
|
3211
|
+
return v.invalidDate || p;
|
|
3212
|
+
var S = w || "YYYY-MM-DDTHH:mm:ssZ", M = T.z(this), z = this.$H, Y = this.$m, V = this.$M, q = v.weekdays, ht = v.months, ft = function(tt, gt, me, Zt) {
|
|
3213
|
+
return tt && (tt[gt] || tt(A, S)) || me[gt].slice(0, Zt);
|
|
3214
|
+
}, It = function(tt) {
|
|
3215
|
+
return T.s(z % 12 || 12, tt, "0");
|
|
3216
|
+
}, Nt = v.meridiem || function(tt, gt, me) {
|
|
3217
|
+
var Zt = tt < 12 ? "AM" : "PM";
|
|
3218
|
+
return me ? Zt.toLowerCase() : Zt;
|
|
3219
|
+
}, Mt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: V + 1, MM: T.s(V + 1, 2, "0"), MMM: ft(v.monthsShort, V, ht, 3), MMMM: ft(ht, V), D: this.$D, DD: T.s(this.$D, 2, "0"), d: String(this.$W), dd: ft(v.weekdaysMin, this.$W, q, 2), ddd: ft(v.weekdaysShort, this.$W, q, 3), dddd: q[this.$W], H: String(z), HH: T.s(z, 2, "0"), h: It(1), hh: It(2), a: Nt(z, Y, !0), A: Nt(z, Y, !1), m: String(Y), mm: T.s(Y, 2, "0"), s: String(this.$s), ss: T.s(this.$s, 2, "0"), SSS: T.s(this.$ms, 3, "0"), Z: M };
|
|
3220
|
+
return S.replace($, function(tt, gt) {
|
|
3221
|
+
return gt || Mt[tt] || M.replace(":", "");
|
|
3222
|
+
});
|
|
3223
|
+
}, P.utcOffset = function() {
|
|
3224
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
3225
|
+
}, P.diff = function(w, A, v) {
|
|
3226
|
+
var S, M = T.p(A), z = E(w), Y = (z.utcOffset() - this.utcOffset()) * n, V = this - z, q = T.m(this, z);
|
|
3227
|
+
return q = (S = {}, S[f] = q / 12, S[l] = q, S[d] = q / 3, S[m] = (V - Y) / 6048e5, S[c] = (V - Y) / 864e5, S[u] = V / a, S[i] = V / n, S[s] = V / r, S)[M] || V, v ? q : T.a(q);
|
|
3228
|
+
}, P.daysInMonth = function() {
|
|
3229
|
+
return this.endOf(l).$D;
|
|
3230
|
+
}, P.$locale = function() {
|
|
3231
|
+
return N[this.$L];
|
|
3232
|
+
}, P.locale = function(w, A) {
|
|
3233
|
+
if (!w)
|
|
3234
|
+
return this.$L;
|
|
3235
|
+
var v = this.clone(), S = U(w, A, !0);
|
|
3236
|
+
return S && (v.$L = S), v;
|
|
3237
|
+
}, P.clone = function() {
|
|
3238
|
+
return T.w(this.$d, this);
|
|
3239
|
+
}, P.toDate = function() {
|
|
3240
|
+
return new Date(this.valueOf());
|
|
3241
|
+
}, P.toJSON = function() {
|
|
3242
|
+
return this.isValid() ? this.toISOString() : null;
|
|
3243
|
+
}, P.toISOString = function() {
|
|
3244
|
+
return this.$d.toISOString();
|
|
3245
|
+
}, P.toString = function() {
|
|
3246
|
+
return this.$d.toUTCString();
|
|
3247
|
+
}, x;
|
|
3248
|
+
}(), K = R.prototype;
|
|
3249
|
+
return E.prototype = K, [["$ms", o], ["$s", s], ["$m", i], ["$H", u], ["$W", c], ["$M", l], ["$y", f], ["$D", h]].forEach(function(x) {
|
|
3250
|
+
K[x[1]] = function(P) {
|
|
3251
|
+
return this.$g(P, x[0], x[1]);
|
|
3252
|
+
};
|
|
3253
|
+
}), E.extend = function(x, P) {
|
|
3254
|
+
return x.$i || (x(P, R, E), x.$i = !0), E;
|
|
3255
|
+
}, E.locale = U, E.isDayjs = j, E.unix = function(x) {
|
|
3256
|
+
return E(1e3 * x);
|
|
3257
|
+
}, E.en = N[k], E.Ls = N, E.p = {}, E;
|
|
3258
|
+
});
|
|
3259
|
+
})(tn);
|
|
3260
|
+
var en = tn.exports;
|
|
3261
|
+
const J = /* @__PURE__ */ Tt(en);
|
|
3262
|
+
var rn = { exports: {} };
|
|
3263
|
+
(function(t, e) {
|
|
3264
|
+
(function(r, n) {
|
|
3265
|
+
t.exports = n();
|
|
3266
|
+
})(Pt, function() {
|
|
3267
|
+
var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
|
|
3268
|
+
return function(o, s, i) {
|
|
3269
|
+
var u = s.prototype;
|
|
3270
|
+
i.utc = function(p) {
|
|
3271
|
+
var g = { date: p, utc: !0, args: arguments };
|
|
3272
|
+
return new s(g);
|
|
3273
|
+
}, u.utc = function(p) {
|
|
3274
|
+
var g = i(this.toDate(), { locale: this.$L, utc: !0 });
|
|
3275
|
+
return p ? g.add(this.utcOffset(), r) : g;
|
|
3276
|
+
}, u.local = function() {
|
|
3277
|
+
return i(this.toDate(), { locale: this.$L, utc: !1 });
|
|
3278
|
+
};
|
|
3279
|
+
var c = u.parse;
|
|
3280
|
+
u.parse = function(p) {
|
|
3281
|
+
p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset), c.call(this, p);
|
|
3282
|
+
};
|
|
3283
|
+
var m = u.init;
|
|
3284
|
+
u.init = function() {
|
|
3285
|
+
if (this.$u) {
|
|
3286
|
+
var p = this.$d;
|
|
3287
|
+
this.$y = p.getUTCFullYear(), this.$M = p.getUTCMonth(), this.$D = p.getUTCDate(), this.$W = p.getUTCDay(), this.$H = p.getUTCHours(), this.$m = p.getUTCMinutes(), this.$s = p.getUTCSeconds(), this.$ms = p.getUTCMilliseconds();
|
|
3288
|
+
} else
|
|
3289
|
+
m.call(this);
|
|
3290
|
+
};
|
|
3291
|
+
var l = u.utcOffset;
|
|
3292
|
+
u.utcOffset = function(p, g) {
|
|
3293
|
+
var $ = this.$utils().u;
|
|
3294
|
+
if ($(p))
|
|
3295
|
+
return this.$u ? 0 : $(this.$offset) ? l.call(this) : this.$offset;
|
|
3296
|
+
if (typeof p == "string" && (p = function(k) {
|
|
3297
|
+
k === void 0 && (k = "");
|
|
3298
|
+
var N = k.match(n);
|
|
3299
|
+
if (!N)
|
|
3300
|
+
return null;
|
|
3301
|
+
var j = ("" + N[0]).match(a) || ["-", 0, 0], U = j[0], E = 60 * +j[1] + +j[2];
|
|
3302
|
+
return E === 0 ? 0 : U === "+" ? E : -E;
|
|
3303
|
+
}(p), p === null))
|
|
3304
|
+
return this;
|
|
3305
|
+
var O = Math.abs(p) <= 16 ? 60 * p : p, _ = this;
|
|
3306
|
+
if (g)
|
|
3307
|
+
return _.$offset = O, _.$u = p === 0, _;
|
|
3308
|
+
if (p !== 0) {
|
|
3309
|
+
var D = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
3310
|
+
(_ = this.local().add(O + D, r)).$offset = O, _.$x.$localOffset = D;
|
|
3311
|
+
} else
|
|
3312
|
+
_ = this.utc();
|
|
3313
|
+
return _;
|
|
3314
|
+
};
|
|
3315
|
+
var d = u.format;
|
|
3316
|
+
u.format = function(p) {
|
|
3317
|
+
var g = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
3318
|
+
return d.call(this, g);
|
|
3319
|
+
}, u.valueOf = function() {
|
|
3320
|
+
var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
3321
|
+
return this.$d.valueOf() - 6e4 * p;
|
|
3322
|
+
}, u.isUTC = function() {
|
|
3323
|
+
return !!this.$u;
|
|
3324
|
+
}, u.toISOString = function() {
|
|
3325
|
+
return this.toDate().toISOString();
|
|
3326
|
+
}, u.toString = function() {
|
|
3327
|
+
return this.toDate().toUTCString();
|
|
3328
|
+
};
|
|
3329
|
+
var f = u.toDate;
|
|
3330
|
+
u.toDate = function(p) {
|
|
3331
|
+
return p === "s" && this.$offset ? i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : f.call(this);
|
|
3332
|
+
};
|
|
3333
|
+
var h = u.diff;
|
|
3334
|
+
u.diff = function(p, g, $) {
|
|
3335
|
+
if (p && this.$u === p.$u)
|
|
3336
|
+
return h.call(this, p, g, $);
|
|
3337
|
+
var O = this.local(), _ = i(p).local();
|
|
3338
|
+
return h.call(O, _, g, $);
|
|
3339
|
+
};
|
|
3340
|
+
};
|
|
3341
|
+
});
|
|
3342
|
+
})(rn);
|
|
3343
|
+
var ri = rn.exports;
|
|
3344
|
+
const ni = /* @__PURE__ */ Tt(ri);
|
|
3345
|
+
var nn = { exports: {} };
|
|
3346
|
+
(function(t, e) {
|
|
3347
|
+
(function(r, n) {
|
|
3348
|
+
t.exports = n();
|
|
3349
|
+
})(Pt, function() {
|
|
3350
|
+
var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, n = {};
|
|
3351
|
+
return function(a, o, s) {
|
|
3352
|
+
var i, u = function(d, f, h) {
|
|
3353
|
+
h === void 0 && (h = {});
|
|
3354
|
+
var p = new Date(d), g = function($, O) {
|
|
3355
|
+
O === void 0 && (O = {});
|
|
3356
|
+
var _ = O.timeZoneName || "short", D = $ + "|" + _, k = n[D];
|
|
3357
|
+
return k || (k = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: $, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: _ }), n[D] = k), k;
|
|
3358
|
+
}(f, h);
|
|
3359
|
+
return g.formatToParts(p);
|
|
3360
|
+
}, c = function(d, f) {
|
|
3361
|
+
for (var h = u(d, f), p = [], g = 0; g < h.length; g += 1) {
|
|
3362
|
+
var $ = h[g], O = $.type, _ = $.value, D = r[O];
|
|
3363
|
+
D >= 0 && (p[D] = parseInt(_, 10));
|
|
3364
|
+
}
|
|
3365
|
+
var k = p[3], N = k === 24 ? 0 : k, j = p[0] + "-" + p[1] + "-" + p[2] + " " + N + ":" + p[4] + ":" + p[5] + ":000", U = +d;
|
|
3366
|
+
return (s.utc(j).valueOf() - (U -= U % 1e3)) / 6e4;
|
|
3367
|
+
}, m = o.prototype;
|
|
3368
|
+
m.tz = function(d, f) {
|
|
3369
|
+
d === void 0 && (d = i);
|
|
3370
|
+
var h = this.utcOffset(), p = this.toDate(), g = p.toLocaleString("en-US", { timeZone: d }), $ = Math.round((p - new Date(g)) / 1e3 / 60), O = s(g).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(p.getTimezoneOffset() / 15) - $, !0);
|
|
3371
|
+
if (f) {
|
|
3372
|
+
var _ = O.utcOffset();
|
|
3373
|
+
O = O.add(h - _, "minute");
|
|
3374
|
+
}
|
|
3375
|
+
return O.$x.$timezone = d, O;
|
|
3376
|
+
}, m.offsetName = function(d) {
|
|
3377
|
+
var f = this.$x.$timezone || s.tz.guess(), h = u(this.valueOf(), f, { timeZoneName: d }).find(function(p) {
|
|
3378
|
+
return p.type.toLowerCase() === "timezonename";
|
|
3379
|
+
});
|
|
3380
|
+
return h && h.value;
|
|
3381
|
+
};
|
|
3382
|
+
var l = m.startOf;
|
|
3383
|
+
m.startOf = function(d, f) {
|
|
3384
|
+
if (!this.$x || !this.$x.$timezone)
|
|
3385
|
+
return l.call(this, d, f);
|
|
3386
|
+
var h = s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));
|
|
3387
|
+
return l.call(h, d, f).tz(this.$x.$timezone, !0);
|
|
3388
|
+
}, s.tz = function(d, f, h) {
|
|
3389
|
+
var p = h && f, g = h || f || i, $ = c(+s(), g);
|
|
3390
|
+
if (typeof d != "string")
|
|
3391
|
+
return s(d).tz(g);
|
|
3392
|
+
var O = function(N, j, U) {
|
|
3393
|
+
var E = N - 60 * j * 1e3, T = c(E, U);
|
|
3394
|
+
if (j === T)
|
|
3395
|
+
return [E, j];
|
|
3396
|
+
var R = c(E -= 60 * (T - j) * 1e3, U);
|
|
3397
|
+
return T === R ? [E, T] : [N - 60 * Math.min(T, R) * 1e3, Math.max(T, R)];
|
|
3398
|
+
}(s.utc(d, p).valueOf(), $, g), _ = O[0], D = O[1], k = s(_).utcOffset(D);
|
|
3399
|
+
return k.$x.$timezone = g, k;
|
|
3400
|
+
}, s.tz.guess = function() {
|
|
3401
|
+
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
3402
|
+
}, s.tz.setDefault = function(d) {
|
|
3403
|
+
i = d;
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3406
|
+
});
|
|
3407
|
+
})(nn);
|
|
3408
|
+
var oi = nn.exports;
|
|
3409
|
+
const ai = /* @__PURE__ */ Tt(oi);
|
|
3410
|
+
var on = { exports: {} };
|
|
3411
|
+
(function(t, e) {
|
|
3412
|
+
(function(r, n) {
|
|
3413
|
+
t.exports = n();
|
|
3414
|
+
})(Pt, function() {
|
|
3415
|
+
return function(r, n) {
|
|
3416
|
+
var a = n.prototype, o = a.format;
|
|
3417
|
+
a.format = function(s) {
|
|
3418
|
+
var i = this, u = this.$locale();
|
|
3419
|
+
if (!this.isValid())
|
|
3420
|
+
return o.bind(this)(s);
|
|
3421
|
+
var c = this.$utils(), m = (s || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(l) {
|
|
3422
|
+
switch (l) {
|
|
3423
|
+
case "Q":
|
|
3424
|
+
return Math.ceil((i.$M + 1) / 3);
|
|
3425
|
+
case "Do":
|
|
3426
|
+
return u.ordinal(i.$D);
|
|
3427
|
+
case "gggg":
|
|
3428
|
+
return i.weekYear();
|
|
3429
|
+
case "GGGG":
|
|
3430
|
+
return i.isoWeekYear();
|
|
3431
|
+
case "wo":
|
|
3432
|
+
return u.ordinal(i.week(), "W");
|
|
3433
|
+
case "w":
|
|
3434
|
+
case "ww":
|
|
3435
|
+
return c.s(i.week(), l === "w" ? 1 : 2, "0");
|
|
3436
|
+
case "W":
|
|
3437
|
+
case "WW":
|
|
3438
|
+
return c.s(i.isoWeek(), l === "W" ? 1 : 2, "0");
|
|
3439
|
+
case "k":
|
|
3440
|
+
case "kk":
|
|
3441
|
+
return c.s(String(i.$H === 0 ? 24 : i.$H), l === "k" ? 1 : 2, "0");
|
|
3442
|
+
case "X":
|
|
3443
|
+
return Math.floor(i.$d.getTime() / 1e3);
|
|
3444
|
+
case "x":
|
|
3445
|
+
return i.$d.getTime();
|
|
3446
|
+
case "z":
|
|
3447
|
+
return "[" + i.offsetName() + "]";
|
|
3448
|
+
case "zzz":
|
|
3449
|
+
return "[" + i.offsetName("long") + "]";
|
|
3450
|
+
default:
|
|
3451
|
+
return l;
|
|
3452
|
+
}
|
|
3453
|
+
});
|
|
3454
|
+
return o.bind(this)(m);
|
|
3455
|
+
};
|
|
3456
|
+
};
|
|
3457
|
+
});
|
|
3458
|
+
})(on);
|
|
3459
|
+
var si = on.exports;
|
|
3460
|
+
const ii = /* @__PURE__ */ Tt(si);
|
|
3461
|
+
var an = { exports: {} };
|
|
3462
|
+
(function(t, e) {
|
|
3463
|
+
(function(r, n) {
|
|
3464
|
+
t.exports = n();
|
|
3465
|
+
})(Pt, function() {
|
|
3466
|
+
return function(r, n) {
|
|
3467
|
+
n.prototype.isSameOrBefore = function(a, o) {
|
|
3468
|
+
return this.isSame(a, o) || this.isBefore(a, o);
|
|
3469
|
+
};
|
|
3470
|
+
};
|
|
3471
|
+
});
|
|
3472
|
+
})(an);
|
|
3473
|
+
var li = an.exports;
|
|
3474
|
+
const ci = /* @__PURE__ */ Tt(li);
|
|
3475
|
+
var sn = { exports: {} };
|
|
3476
|
+
(function(t, e) {
|
|
3477
|
+
(function(r, n) {
|
|
3478
|
+
t.exports = n();
|
|
3479
|
+
})(Pt, function() {
|
|
3480
|
+
return function(r, n, a) {
|
|
3481
|
+
n.prototype.isBetween = function(o, s, i, u) {
|
|
3482
|
+
var c = a(o), m = a(s), l = (u = u || "()")[0] === "(", d = u[1] === ")";
|
|
3483
|
+
return (l ? this.isAfter(c, i) : !this.isBefore(c, i)) && (d ? this.isBefore(m, i) : !this.isAfter(m, i)) || (l ? this.isBefore(c, i) : !this.isAfter(c, i)) && (d ? this.isAfter(m, i) : !this.isBefore(m, i));
|
|
3484
|
+
};
|
|
3485
|
+
};
|
|
3486
|
+
});
|
|
3487
|
+
})(sn);
|
|
3488
|
+
var ui = sn.exports;
|
|
3489
|
+
const fi = /* @__PURE__ */ Tt(ui);
|
|
3490
|
+
var ln = { exports: {} };
|
|
3491
|
+
(function(t, e) {
|
|
3492
|
+
(function(r, n) {
|
|
3493
|
+
t.exports = n();
|
|
3494
|
+
})(Pt, function() {
|
|
3495
|
+
var r = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
|
|
3496
|
+
return function(n, a, o) {
|
|
3497
|
+
var s = a.prototype, i = s.format;
|
|
3498
|
+
o.en.formats = r, s.format = function(u) {
|
|
3499
|
+
u === void 0 && (u = "YYYY-MM-DDTHH:mm:ssZ");
|
|
3500
|
+
var c = this.$locale().formats, m = function(l, d) {
|
|
3501
|
+
return l.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(f, h, p) {
|
|
3502
|
+
var g = p && p.toUpperCase();
|
|
3503
|
+
return h || d[p] || r[p] || d[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function($, O, _) {
|
|
3504
|
+
return O || _.slice(1);
|
|
3505
|
+
});
|
|
3506
|
+
});
|
|
3507
|
+
}(u, c === void 0 ? {} : c);
|
|
3508
|
+
return i.call(this, m);
|
|
3509
|
+
};
|
|
3510
|
+
};
|
|
3511
|
+
});
|
|
3512
|
+
})(ln);
|
|
3513
|
+
var di = ln.exports;
|
|
3514
|
+
const pi = /* @__PURE__ */ Tt(di);
|
|
3515
|
+
var mi = { exports: {} };
|
|
3516
|
+
(function(t, e) {
|
|
3517
|
+
(function(r, n) {
|
|
3518
|
+
t.exports = n(en);
|
|
3519
|
+
})(Pt, function(r) {
|
|
3520
|
+
function n(s) {
|
|
3521
|
+
return s && typeof s == "object" && "default" in s ? s : { default: s };
|
|
3522
|
+
}
|
|
3523
|
+
var a = n(r), o = { name: "hu", weekdays: "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"), weekdaysShort: "vas_hét_kedd_sze_csüt_pén_szo".split("_"), weekdaysMin: "v_h_k_sze_cs_p_szo".split("_"), months: "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"), monthsShort: "jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"), ordinal: function(s) {
|
|
3524
|
+
return s + ".";
|
|
3525
|
+
}, weekStart: 1, relativeTime: { future: "%s múlva", past: "%s", s: function(s, i, u, c) {
|
|
3526
|
+
return "néhány másodperc" + (c || i ? "" : "e");
|
|
3527
|
+
}, m: function(s, i, u, c) {
|
|
3528
|
+
return "egy perc" + (c || i ? "" : "e");
|
|
3529
|
+
}, mm: function(s, i, u, c) {
|
|
3530
|
+
return s + " perc" + (c || i ? "" : "e");
|
|
3531
|
+
}, h: function(s, i, u, c) {
|
|
3532
|
+
return "egy " + (c || i ? "óra" : "órája");
|
|
3533
|
+
}, hh: function(s, i, u, c) {
|
|
3534
|
+
return s + " " + (c || i ? "óra" : "órája");
|
|
3535
|
+
}, d: function(s, i, u, c) {
|
|
3536
|
+
return "egy " + (c || i ? "nap" : "napja");
|
|
3537
|
+
}, dd: function(s, i, u, c) {
|
|
3538
|
+
return s + " " + (c || i ? "nap" : "napja");
|
|
3539
|
+
}, M: function(s, i, u, c) {
|
|
3540
|
+
return "egy " + (c || i ? "hónap" : "hónapja");
|
|
3541
|
+
}, MM: function(s, i, u, c) {
|
|
3542
|
+
return s + " " + (c || i ? "hónap" : "hónapja");
|
|
3543
|
+
}, y: function(s, i, u, c) {
|
|
3544
|
+
return "egy " + (c || i ? "év" : "éve");
|
|
3545
|
+
}, yy: function(s, i, u, c) {
|
|
3546
|
+
return s + " " + (c || i ? "év" : "éve");
|
|
3547
|
+
} }, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "YYYY.MM.DD.", LL: "YYYY. MMMM D.", LLL: "YYYY. MMMM D. H:mm", LLLL: "YYYY. MMMM D., dddd H:mm" } };
|
|
3548
|
+
return a.default.locale(o, null, !0), o;
|
|
3549
|
+
});
|
|
3550
|
+
})(mi);
|
|
3551
|
+
J.extend(ni);
|
|
3552
|
+
J.extend(ai);
|
|
3553
|
+
J.extend(ii);
|
|
3554
|
+
J.extend(pi);
|
|
3555
|
+
J.extend(ci);
|
|
3556
|
+
J.extend(fi);
|
|
3557
|
+
const hi = () => J.tz.guess(), ve = (t = "", e = "", r = "", n = "hu") => (r = r || J.tz.guess(), J(t).isValid() ? J(t).tz(r).locale(n).format(e) : ""), Xt = (t = "", e = "", r = "hu") => {
|
|
3558
|
+
if (!J(t).isValid())
|
|
3559
|
+
return "";
|
|
3560
|
+
e = e || J.tz.guess();
|
|
3561
|
+
const a = new Intl.DateTimeFormat(gi(r), {
|
|
3562
|
+
timeZone: e,
|
|
3563
|
+
timeZoneName: "short"
|
|
3564
|
+
}).formatToParts(new Date(t)).find((o) => o.type === "timeZoneName");
|
|
3565
|
+
return a && a.value;
|
|
3566
|
+
}, gi = (t) => Aa.get(t), cn = (t) => {
|
|
3567
|
+
const e = t.split(":");
|
|
3568
|
+
return parseInt(e[0], 10) * 60 + parseInt(e[1], 10);
|
|
3569
|
+
}, yi = (t) => {
|
|
3570
|
+
const e = ~~(t / 60), r = ~~t % 60;
|
|
3571
|
+
return ir(e, "0", 2) + ":" + ir(r, "0", 2);
|
|
3572
|
+
}, vi = (t, e = "day") => J().isSameOrBefore(J(t), e), qi = (t, e, r) => J(t).isBetween(e, J(r)), Zi = (t, e, r = "month") => J(t).isSame(e, r), bi = ["onClick"], Xi = {
|
|
3573
|
+
__name: "TimezoneSelector",
|
|
3574
|
+
props: {
|
|
3575
|
+
locale: {
|
|
3576
|
+
type: String,
|
|
3577
|
+
default: "hu"
|
|
3578
|
+
},
|
|
3579
|
+
currentZone: {
|
|
3580
|
+
type: String,
|
|
3581
|
+
required: !0
|
|
3582
|
+
}
|
|
3583
|
+
},
|
|
3584
|
+
emits: ["change"],
|
|
3585
|
+
setup(t, { emit: e }) {
|
|
3586
|
+
const r = t, { t: n } = Wt(), a = zt("timezone-selector"), o = X(() => Xt(/* @__PURE__ */ new Date(), null, r.locale)), s = hi(), i = X(() => Array.from(xa.values()).map((c) => ({
|
|
3587
|
+
...c,
|
|
3588
|
+
isActive: Xt(/* @__PURE__ */ new Date(), r.currentZone, r.locale) === Xt(/* @__PURE__ */ new Date(), c.timezone, r.locale),
|
|
3589
|
+
zoneOffsetName: Xt(/* @__PURE__ */ new Date(), c.timezone, r.locale)
|
|
3590
|
+
}))), u = (c) => e("change", c);
|
|
3591
|
+
return (c, m) => (L(), I("div", {
|
|
3592
|
+
class: rt(b(a))
|
|
3593
|
+
}, [
|
|
3594
|
+
At(b(va), {
|
|
3595
|
+
path: "common.selectTimezone",
|
|
3596
|
+
tag: "span"
|
|
3597
|
+
}, {
|
|
3598
|
+
timezone: st(() => [
|
|
3599
|
+
C("a", {
|
|
3600
|
+
href: "#",
|
|
3601
|
+
onClick: m[0] || (m[0] = Ht((l) => u(b(s)), ["prevent"]))
|
|
3602
|
+
}, Z(o.value), 1)
|
|
3603
|
+
]),
|
|
3604
|
+
_: 1
|
|
3605
|
+
}),
|
|
3606
|
+
(L(!0), I($t, null, Ft(i.value, (l) => (L(), I("a", {
|
|
3607
|
+
key: l.countryLabelKey,
|
|
3608
|
+
href: "#",
|
|
3609
|
+
class: rt({ "is-active": l.isActive }),
|
|
3610
|
+
onClick: Ht((d) => u(l.timezone), ["prevent"])
|
|
3611
|
+
}, Z(b(n)(`common.${l.countryLabelKey}`)) + " (" + Z(l.zoneOffsetName) + ") ", 11, bi))), 128))
|
|
3612
|
+
], 2));
|
|
3613
|
+
}
|
|
3614
|
+
}, wi = (t, e = "", r = {}) => {
|
|
3615
|
+
const n = H(""), { t: a } = Wt();
|
|
3616
|
+
if (e)
|
|
3617
|
+
try {
|
|
3618
|
+
const i = Pi(b(t), e);
|
|
3619
|
+
t = na(i, b(t));
|
|
3620
|
+
} catch (i) {
|
|
3621
|
+
n.value = i;
|
|
3622
|
+
}
|
|
3623
|
+
const o = (i) => ({
|
|
3624
|
+
...i,
|
|
3625
|
+
...i.label && { label: a(i.label ?? "", b(r)) },
|
|
3626
|
+
...i.tooltip && { tooltip: a(i.tooltip ?? "") }
|
|
3627
|
+
});
|
|
3628
|
+
return {
|
|
3629
|
+
columns: X(() => _t(o, b(t))),
|
|
3630
|
+
error: n
|
|
3631
|
+
};
|
|
3632
|
+
}, Pi = (t, e = "") => {
|
|
3633
|
+
const r = _t(ee, Yt(",", e)), n = xt(t);
|
|
3634
|
+
if (r[0] === "")
|
|
3635
|
+
return resolve([]);
|
|
3636
|
+
const a = r.findIndex((o) => !n.includes(o));
|
|
3637
|
+
if (a > -1)
|
|
3638
|
+
throw r[a];
|
|
3639
|
+
return r;
|
|
3640
|
+
};
|
|
3641
|
+
class $i extends Error {
|
|
3642
|
+
constructor(e, r = {}) {
|
|
3643
|
+
const { key: n, cause: a } = r;
|
|
3644
|
+
super(e), this.name = "WidgetError", this.key = n, this.cause = a;
|
|
3645
|
+
}
|
|
3646
|
+
}
|
|
3647
|
+
const cr = {
|
|
3648
|
+
message: "Undefined Column name Message",
|
|
3649
|
+
options: {
|
|
3650
|
+
key: "undefined-column",
|
|
3651
|
+
cause: {}
|
|
3652
|
+
}
|
|
3653
|
+
}, Ji = {
|
|
3654
|
+
message: "Invalid season name",
|
|
3655
|
+
options: {
|
|
3656
|
+
key: "invalid-season-name",
|
|
3657
|
+
cause: {}
|
|
3658
|
+
}
|
|
3659
|
+
}, Oi = { class: "is-portrait-image" }, Ai = { class: "is-team-name-long" }, xi = { class: "is-team-name-short" }, _i = ["href"], Si = { class: "is-team-name-long" }, Ti = { class: "is-team-name-short" }, Mi = ["href"], Qi = {
|
|
3660
|
+
__name: "StatisticsTable",
|
|
3661
|
+
props: {
|
|
3662
|
+
columns: {
|
|
3663
|
+
type: Object,
|
|
3664
|
+
required: !0
|
|
3665
|
+
},
|
|
3666
|
+
rows: {
|
|
3667
|
+
type: Array,
|
|
3668
|
+
default: () => []
|
|
3669
|
+
},
|
|
3670
|
+
isLoading: {
|
|
3671
|
+
type: Boolean,
|
|
3672
|
+
deafult: !1
|
|
3673
|
+
},
|
|
3674
|
+
hideColumns: {
|
|
3675
|
+
type: String,
|
|
3676
|
+
default: ""
|
|
3677
|
+
},
|
|
3678
|
+
sort: {
|
|
3679
|
+
type: Object,
|
|
3680
|
+
default: () => ({})
|
|
3681
|
+
},
|
|
3682
|
+
externalTeamResolver: {
|
|
3683
|
+
type: Function,
|
|
3684
|
+
required: !0
|
|
3685
|
+
},
|
|
3686
|
+
externalPlayerResolver: {
|
|
3687
|
+
type: Function,
|
|
3688
|
+
default: () => {
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
isTeamLinked: {
|
|
3692
|
+
type: Boolean,
|
|
3693
|
+
default: !1
|
|
3694
|
+
},
|
|
3695
|
+
isPlayerLinked: {
|
|
3696
|
+
type: Boolean,
|
|
3697
|
+
default: !1
|
|
3698
|
+
},
|
|
3699
|
+
appendTo: {
|
|
3700
|
+
type: HTMLElement,
|
|
3701
|
+
default: null
|
|
3702
|
+
}
|
|
3703
|
+
},
|
|
3704
|
+
emits: ["sort"],
|
|
3705
|
+
setup(t, { emit: e }) {
|
|
3706
|
+
const r = t, { onError: n } = ys(), a = X(() => r.columns), { columns: o, error: s } = wi(a, r.hideColumns);
|
|
3707
|
+
s.value && n(
|
|
3708
|
+
new $i(cr.message, {
|
|
3709
|
+
...cr.options,
|
|
3710
|
+
cause: { column: s.value }
|
|
3711
|
+
})
|
|
3712
|
+
);
|
|
3713
|
+
const i = (u) => e("sort", u);
|
|
3714
|
+
return (u, c) => (L(), yt(ei, null, {
|
|
3715
|
+
default: st(({ el: m }) => [
|
|
3716
|
+
At(is, {
|
|
3717
|
+
columns: b(o),
|
|
3718
|
+
sort: r.sort,
|
|
3719
|
+
rows: r.rows,
|
|
3720
|
+
"is-loading": t.isLoading,
|
|
3721
|
+
"append-to": t.appendTo || m,
|
|
3722
|
+
onSort: i
|
|
3723
|
+
}, bn({
|
|
3724
|
+
"cell-index": st(({ row: l }) => [
|
|
3725
|
+
C("span", {
|
|
3726
|
+
class: rt(l.indexClass)
|
|
3727
|
+
}, Z(l.index), 3)
|
|
3728
|
+
]),
|
|
3729
|
+
"cell-playerPortrait": st(({ row: l }) => [
|
|
3730
|
+
C("div", Oi, [
|
|
3731
|
+
(L(), yt(lr, {
|
|
3732
|
+
key: l.id || l.playerId,
|
|
3733
|
+
src: l.playerPortrait,
|
|
3734
|
+
"default-src": b(Pa)
|
|
3735
|
+
}, null, 8, ["src", "default-src"]))
|
|
3736
|
+
])
|
|
3737
|
+
]),
|
|
3738
|
+
"cell-teamLogo": st(({ row: l }) => [
|
|
3739
|
+
(L(), yt(lr, {
|
|
3740
|
+
class: "is-logo-image",
|
|
3741
|
+
key: l.team.id || l.id,
|
|
3742
|
+
src: l.team.logo
|
|
3743
|
+
}, null, 8, ["src"]))
|
|
3744
|
+
]),
|
|
3745
|
+
"cell-teamName": st(({ row: l }) => [
|
|
3746
|
+
C("span", Ai, Z(l.team.longName), 1),
|
|
3747
|
+
C("span", xi, Z(l.team.shortName), 1)
|
|
3748
|
+
]),
|
|
3749
|
+
loading: st(() => [
|
|
3750
|
+
At(zs)
|
|
3751
|
+
]),
|
|
3752
|
+
_: 2
|
|
3753
|
+
}, [
|
|
3754
|
+
t.isTeamLinked ? {
|
|
3755
|
+
name: "cell-teamName",
|
|
3756
|
+
fn: st(({ row: l }) => [
|
|
3757
|
+
C("a", {
|
|
3758
|
+
href: t.externalTeamResolver(l.team.longName),
|
|
3759
|
+
target: "_blank"
|
|
3760
|
+
}, [
|
|
3761
|
+
C("span", Si, Z(l.team.longName), 1),
|
|
3762
|
+
C("span", Ti, Z(l.team.shortName), 1)
|
|
3763
|
+
], 8, _i)
|
|
3764
|
+
]),
|
|
3765
|
+
key: "0"
|
|
3766
|
+
} : void 0,
|
|
3767
|
+
t.isPlayerLinked ? {
|
|
3768
|
+
name: "cell-name",
|
|
3769
|
+
fn: st(({ row: l }) => [
|
|
3770
|
+
C("a", {
|
|
3771
|
+
href: t.externalPlayerResolver(l.id),
|
|
3772
|
+
target: "_blank"
|
|
3773
|
+
}, Z(l.name), 9, Mi)
|
|
3774
|
+
]),
|
|
3775
|
+
key: "1"
|
|
3776
|
+
} : void 0
|
|
3777
|
+
]), 1032, ["columns", "sort", "rows", "is-loading", "append-to"])
|
|
3778
|
+
]),
|
|
3779
|
+
_: 1
|
|
3780
|
+
}));
|
|
3781
|
+
}
|
|
3782
|
+
}, Di = {};
|
|
3783
|
+
function ki(t, e) {
|
|
3784
|
+
return L(), I("div", null, " Test-8 ");
|
|
3785
|
+
}
|
|
3786
|
+
const tl = /* @__PURE__ */ Qr(Di, [["render", ki]]), Li = async (t, e, r) => {
|
|
3787
|
+
const n = `${ba}${b(t)}?${Ei(r)}`;
|
|
3788
|
+
return new Promise((a, o) => {
|
|
3789
|
+
fetch(n, {
|
|
3790
|
+
method: "GET",
|
|
3791
|
+
cache: "no-cache",
|
|
3792
|
+
headers: {
|
|
3793
|
+
"Content-Type": "application/json",
|
|
3794
|
+
"X-API-KEY": zi(e)
|
|
3795
|
+
}
|
|
3796
|
+
}).then((s) => s.json()).then((s) => {
|
|
3797
|
+
if (s.error)
|
|
3798
|
+
return o(s);
|
|
3799
|
+
a(s.data);
|
|
3800
|
+
}).catch((s) => {
|
|
3801
|
+
o(s);
|
|
3802
|
+
});
|
|
3803
|
+
});
|
|
3804
|
+
}, Ei = (t) => Object.keys(t).map((e) => e + "=" + t[e]).join("&"), zi = (t) => {
|
|
3805
|
+
var e;
|
|
3806
|
+
return t || ((e = window.__MJSZ_VBR_WIDGET__) != null && e.apiKey ? window.__MJSZ_VBR_WIDGET__.apiKey : {}.NODE_ENV !== "production" ? {}.VITE_VBR_API_KEY : "");
|
|
3807
|
+
}, el = (t = {}) => {
|
|
3808
|
+
const { initial: e = 1, items: r = [], limit: n, auto: a = !1 } = t, o = H(e), s = (c) => vi(c, "day");
|
|
3809
|
+
return An(r, () => {
|
|
3810
|
+
if (!a)
|
|
3811
|
+
return;
|
|
3812
|
+
const c = Ro(ia(s, "gameDate"))(b(r));
|
|
3813
|
+
o.value = c === -1 ? 1 : Math.floor(c / n) + 1;
|
|
3814
|
+
}), {
|
|
3815
|
+
page: o,
|
|
3816
|
+
change: (c) => {
|
|
3817
|
+
o.value = c;
|
|
3818
|
+
}
|
|
3819
|
+
};
|
|
3820
|
+
}, rl = ({ options: t = {}, transform: e = (a) => a, onError: r = pt, onSuccess: n = pt }) => {
|
|
3821
|
+
const { path: a, apiKey: o, params: s } = t, {
|
|
3822
|
+
state: i,
|
|
3823
|
+
error: u,
|
|
3824
|
+
isLoading: c,
|
|
3825
|
+
execute: m
|
|
3826
|
+
} = Or(() => Li(a, o, b(s)).then((l) => e(l)), [], {
|
|
3827
|
+
immediate: !1,
|
|
3828
|
+
resetOnExecute: !1,
|
|
3829
|
+
onError: r,
|
|
3830
|
+
onSuccess: n
|
|
3831
|
+
});
|
|
3832
|
+
return {
|
|
3833
|
+
state: i,
|
|
3834
|
+
error: u,
|
|
3835
|
+
isLoading: c,
|
|
3836
|
+
execute: m
|
|
3837
|
+
};
|
|
3838
|
+
};
|
|
3839
|
+
/*! *****************************************************************************
|
|
3840
|
+
Copyright (c) Microsoft Corporation.
|
|
3841
|
+
|
|
3842
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
3843
|
+
purpose with or without fee is hereby granted.
|
|
3844
|
+
|
|
3845
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
3846
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
3847
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
3848
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
3849
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
3850
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
3851
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
3852
|
+
***************************************************************************** */
|
|
3853
|
+
function ur(t, e) {
|
|
3854
|
+
var r = typeof Symbol == "function" && t[Symbol.iterator];
|
|
3855
|
+
if (!r)
|
|
3856
|
+
return t;
|
|
3857
|
+
var n, a, o = r.call(t), s = [];
|
|
3858
|
+
try {
|
|
3859
|
+
for (; (e === void 0 || e-- > 0) && !(n = o.next()).done; )
|
|
3860
|
+
s.push(n.value);
|
|
3861
|
+
} catch (i) {
|
|
3862
|
+
a = { error: i };
|
|
3863
|
+
} finally {
|
|
3864
|
+
try {
|
|
3865
|
+
n && !n.done && (r = o.return) && r.call(o);
|
|
3866
|
+
} finally {
|
|
3867
|
+
if (a)
|
|
3868
|
+
throw a.error;
|
|
3869
|
+
}
|
|
3870
|
+
}
|
|
3871
|
+
return s;
|
|
3872
|
+
}
|
|
3873
|
+
var fr;
|
|
3874
|
+
(function(t) {
|
|
3875
|
+
t[t.NotStarted = 0] = "NotStarted", t[t.Running = 1] = "Running", t[t.Stopped = 2] = "Stopped";
|
|
3876
|
+
})(fr || (fr = {}));
|
|
3877
|
+
var Ii = { type: "xstate.init" };
|
|
3878
|
+
function be(t) {
|
|
3879
|
+
return t === void 0 ? [] : [].concat(t);
|
|
3880
|
+
}
|
|
3881
|
+
function dr(t, e) {
|
|
3882
|
+
return typeof (t = typeof t == "string" && e && e[t] ? e[t] : t) == "string" ? { type: t } : typeof t == "function" ? { type: t.name, exec: t } : t;
|
|
3883
|
+
}
|
|
3884
|
+
function Se(t) {
|
|
3885
|
+
return function(e) {
|
|
3886
|
+
return t === e;
|
|
3887
|
+
};
|
|
3888
|
+
}
|
|
3889
|
+
function Ni(t) {
|
|
3890
|
+
return typeof t == "string" ? { type: t } : t;
|
|
3891
|
+
}
|
|
3892
|
+
function pr(t, e) {
|
|
3893
|
+
return { value: t, context: e, actions: [], changed: !1, matches: Se(t) };
|
|
3894
|
+
}
|
|
3895
|
+
function mr(t, e, r) {
|
|
3896
|
+
var n = e, a = !1;
|
|
3897
|
+
return [t.filter(function(o) {
|
|
3898
|
+
if (o.type === "xstate.assign") {
|
|
3899
|
+
a = !0;
|
|
3900
|
+
var s = Object.assign({}, n);
|
|
3901
|
+
return typeof o.assignment == "function" ? s = o.assignment(n, r) : Object.keys(o.assignment).forEach(function(i) {
|
|
3902
|
+
s[i] = typeof o.assignment[i] == "function" ? o.assignment[i](n, r) : o.assignment[i];
|
|
3903
|
+
}), n = s, !1;
|
|
3904
|
+
}
|
|
3905
|
+
return !0;
|
|
3906
|
+
}), n, a];
|
|
3907
|
+
}
|
|
3908
|
+
function Ci(t, e) {
|
|
3909
|
+
e === void 0 && (e = {});
|
|
3910
|
+
var r = ur(mr(be(t.states[t.initial].entry).map(function(s) {
|
|
3911
|
+
return dr(s, e.actions);
|
|
3912
|
+
}), t.context, Ii), 2), n = r[0], a = r[1], o = { config: t, _options: e, initialState: { value: t.initial, actions: n, context: a, matches: Se(t.initial) }, transition: function(s, i) {
|
|
3913
|
+
var u, c, m = typeof s == "string" ? { value: s, context: t.context } : s, l = m.value, d = m.context, f = Ni(i), h = t.states[l];
|
|
3914
|
+
if (h.on) {
|
|
3915
|
+
var p = be(h.on[f.type]);
|
|
3916
|
+
try {
|
|
3917
|
+
for (var g = function(v) {
|
|
3918
|
+
var S = typeof Symbol == "function" && Symbol.iterator, M = S && v[S], z = 0;
|
|
3919
|
+
if (M)
|
|
3920
|
+
return M.call(v);
|
|
3921
|
+
if (v && typeof v.length == "number")
|
|
3922
|
+
return { next: function() {
|
|
3923
|
+
return v && z >= v.length && (v = void 0), { value: v && v[z++], done: !v };
|
|
3924
|
+
} };
|
|
3925
|
+
throw new TypeError(S ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
3926
|
+
}(p), $ = g.next(); !$.done; $ = g.next()) {
|
|
3927
|
+
var O = $.value;
|
|
3928
|
+
if (O === void 0)
|
|
3929
|
+
return pr(l, d);
|
|
3930
|
+
var _ = typeof O == "string" ? { target: O } : O, D = _.target, k = _.actions, N = k === void 0 ? [] : k, j = _.cond, U = j === void 0 ? function() {
|
|
3931
|
+
return !0;
|
|
3932
|
+
} : j, E = D === void 0, T = D ?? l, R = t.states[T];
|
|
3933
|
+
if (U(d, f)) {
|
|
3934
|
+
var K = ur(mr((E ? be(N) : [].concat(h.exit, N, R.entry).filter(function(v) {
|
|
3935
|
+
return v;
|
|
3936
|
+
})).map(function(v) {
|
|
3937
|
+
return dr(v, o._options.actions);
|
|
3938
|
+
}), d, f), 3), x = K[0], P = K[1], w = K[2], A = D ?? l;
|
|
3939
|
+
return { value: A, context: P, actions: x, changed: D !== l || x.length > 0 || w, matches: Se(A) };
|
|
3940
|
+
}
|
|
3941
|
+
}
|
|
3942
|
+
} catch (v) {
|
|
3943
|
+
u = { error: v };
|
|
3944
|
+
} finally {
|
|
3945
|
+
try {
|
|
3946
|
+
$ && !$.done && (c = g.return) && c.call(g);
|
|
3947
|
+
} finally {
|
|
3948
|
+
if (u)
|
|
3949
|
+
throw u.error;
|
|
3950
|
+
}
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
return pr(l, d);
|
|
3954
|
+
} };
|
|
3955
|
+
return o;
|
|
3956
|
+
}
|
|
3957
|
+
const Gi = Ci({
|
|
3958
|
+
id: "sort",
|
|
3959
|
+
initial: vt,
|
|
3960
|
+
states: {
|
|
3961
|
+
[vt]: {
|
|
3962
|
+
on: {
|
|
3963
|
+
DIRECTION1: y,
|
|
3964
|
+
DIRECTION2: G
|
|
3965
|
+
}
|
|
3966
|
+
},
|
|
3967
|
+
[y]: {
|
|
3968
|
+
on: {
|
|
3969
|
+
DIRECTION1: G,
|
|
3970
|
+
DIRECTION2: vt
|
|
3971
|
+
}
|
|
3972
|
+
},
|
|
3973
|
+
[G]: {
|
|
3974
|
+
on: {
|
|
3975
|
+
DIRECTION1: vt,
|
|
3976
|
+
DIRECTION2: y
|
|
3977
|
+
}
|
|
3978
|
+
}
|
|
3979
|
+
}
|
|
3980
|
+
}), Ri = (t, e) => {
|
|
3981
|
+
const r = e === G ? "DIRECTION2" : "DIRECTION1";
|
|
3982
|
+
return Gi.transition(t, r).value;
|
|
3983
|
+
};
|
|
3984
|
+
function nl(t = {}) {
|
|
3985
|
+
const { sortTarget: e = null, orders: r = [] } = t, n = gr({ sortTarget: e, orders: r });
|
|
3986
|
+
return {
|
|
3987
|
+
sort: n,
|
|
3988
|
+
change: ({ target: o, orders: s }) => {
|
|
3989
|
+
if (n.sortTarget !== o) {
|
|
3990
|
+
n.sortTarget = o, n.orders = s;
|
|
3991
|
+
return;
|
|
3992
|
+
}
|
|
3993
|
+
const i = s.map((u, c) => ({
|
|
3994
|
+
...u,
|
|
3995
|
+
direction: Ri(n.orders[c].direction, u.direction)
|
|
3996
|
+
}));
|
|
3997
|
+
n.sortTarget = o, n.orders = i;
|
|
3998
|
+
}
|
|
3999
|
+
};
|
|
4000
|
+
}
|
|
4001
|
+
function ol(t = !1, e = pt, r = pt) {
|
|
4002
|
+
const n = zn();
|
|
4003
|
+
dt(n, (a) => {
|
|
4004
|
+
if (b(t)) {
|
|
4005
|
+
if (a === "visible")
|
|
4006
|
+
return e();
|
|
4007
|
+
r();
|
|
4008
|
+
}
|
|
4009
|
+
});
|
|
4010
|
+
}
|
|
4011
|
+
const al = (t = []) => ({
|
|
4012
|
+
result: [...t],
|
|
4013
|
+
filteredRowsLength: 0,
|
|
4014
|
+
isFiltered: !1,
|
|
4015
|
+
value() {
|
|
4016
|
+
return {
|
|
4017
|
+
rows: this.result,
|
|
4018
|
+
totalItems: this.filteredRowsLength,
|
|
4019
|
+
totalItems: this.isFiltered ? this.filteredRowsLength : t.length
|
|
4020
|
+
};
|
|
4021
|
+
},
|
|
4022
|
+
filter(e, r = [], n = !1) {
|
|
4023
|
+
if (e) {
|
|
4024
|
+
const a = r.map(
|
|
4025
|
+
(s) => n ? aa(s, e) : Nr(Lt(s), fa, Yo(e))
|
|
4026
|
+
), o = Tr(yo([...a]), this.result);
|
|
4027
|
+
this.isFiltered = !0, this.filteredRowsLength = o.length, this.result = o;
|
|
4028
|
+
}
|
|
4029
|
+
return this;
|
|
4030
|
+
},
|
|
4031
|
+
sorted(e) {
|
|
4032
|
+
if (!e.sortTarget)
|
|
4033
|
+
return this;
|
|
4034
|
+
if (e.orders[0].direction === vt)
|
|
4035
|
+
return this;
|
|
4036
|
+
const r = Vo(ue(G), Ze(Ir), Ze(Eo));
|
|
4037
|
+
return this.result = Rr(e.orders.map((n) => Cr(r(n.direction), Lt)(n.target)))(this.result), this;
|
|
4038
|
+
},
|
|
4039
|
+
addIndex(e = null) {
|
|
4040
|
+
return this.result.reduce((r, n, a) => {
|
|
4041
|
+
const o = r[r.length - 1] || [], s = e && o[e] === n[e];
|
|
4042
|
+
return n.index = s ? o.index : a + 1, n.indexClass = s ? "is-duplicated" : null, r.push(n), r;
|
|
4043
|
+
}, []), this;
|
|
4044
|
+
},
|
|
4045
|
+
addContinuousIndex() {
|
|
4046
|
+
return this.result = this.result.map((e, r) => ({
|
|
4047
|
+
...e,
|
|
4048
|
+
index: r + 1
|
|
4049
|
+
})), this;
|
|
4050
|
+
},
|
|
4051
|
+
pagination(e, r) {
|
|
4052
|
+
e = Number(e), r = Number(r);
|
|
4053
|
+
const n = (e - 1) * r, a = n + r;
|
|
4054
|
+
return this.result = this.result.slice(n, a), this;
|
|
4055
|
+
},
|
|
4056
|
+
playerName() {
|
|
4057
|
+
return this.result = this.result.map((e) => ({
|
|
4058
|
+
...e,
|
|
4059
|
+
name: `${e.lastName} ${e.firstName}`
|
|
4060
|
+
})), this;
|
|
4061
|
+
},
|
|
4062
|
+
schedule(e = "", r = "hu") {
|
|
4063
|
+
return this.result = this.result.map((n) => ({
|
|
4064
|
+
...n,
|
|
4065
|
+
gameResult: `${n.homeTeamScore}-${n.awayTeamScore}`,
|
|
4066
|
+
gameDateDate: ve(n.gameDate, "L dddd", e, r),
|
|
4067
|
+
gameDateTime: ve(n.gameDate, "HH:mm", e, r)
|
|
4068
|
+
})), this;
|
|
4069
|
+
},
|
|
4070
|
+
gameDateFilter(e) {
|
|
4071
|
+
return e === null ? this : (this.result = this.result.filter((r) => new Date(r.gameDate).getMonth() == e), this);
|
|
4072
|
+
},
|
|
4073
|
+
convertTimes(e = []) {
|
|
4074
|
+
return this.result = this.result.map((r) => (e.map((n) => r[n] ? r[`${n}Sec`] = cn(r[n]) : r), r)), this;
|
|
4075
|
+
},
|
|
4076
|
+
groupByDays() {
|
|
4077
|
+
return this.result = Fo((e) => ve(e.gameDate, "YYYY-MM-DD"))(this.result), this;
|
|
4078
|
+
}
|
|
4079
|
+
}), sl = (t, ...e) => _t(Cr(...e))(t), il = (t) => ({
|
|
4080
|
+
...t,
|
|
4081
|
+
...t.lastName && { name: `${t.lastName} ${t.firstName}` }
|
|
4082
|
+
}), ll = (t = []) => (e) => {
|
|
4083
|
+
var r;
|
|
4084
|
+
return {
|
|
4085
|
+
...e,
|
|
4086
|
+
[t]: (r = e[t]) == null ? void 0 : r.toUpperCase()
|
|
4087
|
+
};
|
|
4088
|
+
}, cl = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Sec`] = cn(e[r]) : e), e), ul = (t = []) => (e) => (t.map((r) => e[`${r}Min`] = yi(e[r])), e), ji = (t, e) => new Date(t.gameDate).getTime() - new Date(e.gameDate).getTime(), fl = Rr([ji, Ir(Lt("id"))]), dl = (t, e) => {
|
|
4089
|
+
const r = ze("gameResolver") || t;
|
|
4090
|
+
return typeof r == "function" ? r(e) : r ? r + e : wa + e;
|
|
4091
|
+
}, pl = (t, e) => {
|
|
4092
|
+
const r = ze("teamResolver") || t;
|
|
4093
|
+
return typeof r == "function" ? r(e) : encodeURI(r ? r + e : Oa + e);
|
|
4094
|
+
}, ml = (t, e) => {
|
|
4095
|
+
const r = ze("playerResolver") || t;
|
|
4096
|
+
return typeof r == "function" ? r(e) : encodeURI(r ? r + e : $a + e);
|
|
4097
|
+
}, ze = (t = "") => {
|
|
4098
|
+
var e;
|
|
4099
|
+
return (e = window == null ? void 0 : window.__MJSZ_VBR_WIDGET__) == null ? void 0 : e[t];
|
|
4100
|
+
}, hl = {
|
|
4101
|
+
locale: {
|
|
4102
|
+
type: String,
|
|
4103
|
+
default: "hu"
|
|
4104
|
+
},
|
|
4105
|
+
championshipId: {
|
|
4106
|
+
type: String,
|
|
4107
|
+
default: ""
|
|
4108
|
+
},
|
|
4109
|
+
division: {
|
|
4110
|
+
type: String,
|
|
4111
|
+
default: ""
|
|
4112
|
+
},
|
|
4113
|
+
apiKey: {
|
|
4114
|
+
type: String,
|
|
4115
|
+
default: ""
|
|
4116
|
+
},
|
|
4117
|
+
hideColumns: {
|
|
4118
|
+
type: String,
|
|
4119
|
+
default: ""
|
|
4120
|
+
}
|
|
4121
|
+
}, Fi = {
|
|
4122
|
+
externalTeamLink: {
|
|
4123
|
+
type: [String, Function],
|
|
4124
|
+
default: ""
|
|
4125
|
+
},
|
|
4126
|
+
isTeamLinked: {
|
|
4127
|
+
type: Boolean,
|
|
4128
|
+
default: !1
|
|
4129
|
+
}
|
|
4130
|
+
}, gl = {
|
|
4131
|
+
limit: {
|
|
4132
|
+
type: Number,
|
|
4133
|
+
default: 20
|
|
4134
|
+
},
|
|
4135
|
+
teamFilterByName: {
|
|
4136
|
+
type: String,
|
|
4137
|
+
default: ""
|
|
4138
|
+
},
|
|
4139
|
+
externalPlayerLink: {
|
|
4140
|
+
type: [String, Function],
|
|
4141
|
+
default: ""
|
|
4142
|
+
},
|
|
4143
|
+
isPlayerLinked: {
|
|
4144
|
+
type: Boolean,
|
|
4145
|
+
default: !1
|
|
4146
|
+
},
|
|
4147
|
+
...Fi
|
|
4148
|
+
}, yl = {
|
|
4149
|
+
gameName: {
|
|
4150
|
+
label: "table.gameName.short",
|
|
4151
|
+
tooltip: "table.gameName.tooltip",
|
|
4152
|
+
class: "is-text-left is-text-light"
|
|
4153
|
+
},
|
|
4154
|
+
gameDateDate: {
|
|
4155
|
+
label: "table.gameDate.short",
|
|
4156
|
+
tooltip: "table.gameDate.tooltip",
|
|
4157
|
+
class: "is-text-left"
|
|
4158
|
+
},
|
|
4159
|
+
gameDateTime: {
|
|
4160
|
+
label: "table.gameDateTime.short",
|
|
4161
|
+
tooltip: "table.gameDateTime.tooltip",
|
|
4162
|
+
class: "is-text-left"
|
|
4163
|
+
},
|
|
4164
|
+
homeTeamName: {
|
|
4165
|
+
label: "table.homeTeam.short",
|
|
4166
|
+
tooltip: "table.homeTeam.tooltip",
|
|
4167
|
+
class: "is-text-right is-w-auto is-text-bold"
|
|
4168
|
+
},
|
|
4169
|
+
homeTeamLogo: {
|
|
4170
|
+
label: "",
|
|
4171
|
+
class: "is-has-image"
|
|
4172
|
+
},
|
|
4173
|
+
gameResult: {
|
|
4174
|
+
label: "",
|
|
4175
|
+
class: "is-text-bold is-text-xl"
|
|
4176
|
+
},
|
|
4177
|
+
gameResultType: {
|
|
4178
|
+
label: "",
|
|
4179
|
+
tooltip: ""
|
|
4180
|
+
},
|
|
4181
|
+
awayTeamLogo: {
|
|
4182
|
+
label: "",
|
|
4183
|
+
class: "is-has-image"
|
|
4184
|
+
},
|
|
4185
|
+
awayTeamName: {
|
|
4186
|
+
label: "table.awayTeam.short",
|
|
4187
|
+
tooltip: "table.awayTeam.tooltip",
|
|
4188
|
+
class: "is-text-left is-w-auto is-text-bold"
|
|
4189
|
+
},
|
|
4190
|
+
location: {
|
|
4191
|
+
label: "table.location.short",
|
|
4192
|
+
tooltip: "table.location.tooltip",
|
|
4193
|
+
class: "is-text-left"
|
|
4194
|
+
},
|
|
4195
|
+
broadcast: {
|
|
4196
|
+
label: "table.broadcast.short",
|
|
4197
|
+
tooltip: "table.broadcast.tooltip"
|
|
4198
|
+
},
|
|
4199
|
+
more: {
|
|
4200
|
+
label: ""
|
|
4201
|
+
}
|
|
4202
|
+
}, vl = {
|
|
4203
|
+
index: {
|
|
4204
|
+
label: "table.blank",
|
|
4205
|
+
class: "is-text-left"
|
|
4206
|
+
},
|
|
4207
|
+
teamLogo: {
|
|
4208
|
+
label: "",
|
|
4209
|
+
class: "is-has-image"
|
|
4210
|
+
},
|
|
4211
|
+
teamName: {
|
|
4212
|
+
label: "table.team.short",
|
|
4213
|
+
tooltip: "table.team.tooltip",
|
|
4214
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4215
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4216
|
+
},
|
|
4217
|
+
gamesPlayed: {
|
|
4218
|
+
label: "table.game.short",
|
|
4219
|
+
tooltip: "table.game.tooltip",
|
|
4220
|
+
sortOrders: [{ target: "m", direction: y }]
|
|
4221
|
+
},
|
|
4222
|
+
w: {
|
|
4223
|
+
label: "table.wins.short",
|
|
4224
|
+
tooltip: "table.wins.tooltip",
|
|
4225
|
+
sortOrders: [
|
|
4226
|
+
{ target: "p3", direction: y },
|
|
4227
|
+
{ target: "p2", direction: y }
|
|
4228
|
+
]
|
|
4229
|
+
},
|
|
4230
|
+
otw: {
|
|
4231
|
+
label: "table.otw.short",
|
|
4232
|
+
tooltip: "table.otw.tooltip",
|
|
4233
|
+
sortOrders: [{ target: "p2", direction: y }]
|
|
4234
|
+
},
|
|
4235
|
+
otl: {
|
|
4236
|
+
label: "table.otl.short",
|
|
4237
|
+
tooltip: "table.otl.tooltip",
|
|
4238
|
+
sortOrders: [{ target: "p1", direction: G }]
|
|
4239
|
+
},
|
|
4240
|
+
l: {
|
|
4241
|
+
label: "table.losses.short",
|
|
4242
|
+
tooltip: "table.losses.tooltip",
|
|
4243
|
+
sortOrders: [{ target: "p0", direction: G }]
|
|
4244
|
+
},
|
|
4245
|
+
gf: {
|
|
4246
|
+
label: "table.goalFor.short",
|
|
4247
|
+
tooltip: "table.goalFor.tooltip",
|
|
4248
|
+
sortOrders: [{ target: "plus", direction: y }]
|
|
4249
|
+
},
|
|
4250
|
+
ga: {
|
|
4251
|
+
label: "table.goalAgainst.short",
|
|
4252
|
+
tooltip: "table.goalAgainst.tooltip",
|
|
4253
|
+
sortOrders: [{ target: "minus", direction: G }]
|
|
4254
|
+
},
|
|
4255
|
+
gd: {
|
|
4256
|
+
label: "table.goalDiff.short",
|
|
4257
|
+
tooltip: "table.goalDiff.tooltip",
|
|
4258
|
+
sortOrders: [{ target: "gk", direction: y }]
|
|
4259
|
+
},
|
|
4260
|
+
points: {
|
|
4261
|
+
label: "table.points.short",
|
|
4262
|
+
tooltip: "table.points.tooltip",
|
|
4263
|
+
class: "is-text-bold",
|
|
4264
|
+
sortOrders: [{ target: "p", direction: y }]
|
|
4265
|
+
}
|
|
4266
|
+
}, bl = {
|
|
4267
|
+
index: {
|
|
4268
|
+
label: "#",
|
|
4269
|
+
class: "is-text-left"
|
|
4270
|
+
},
|
|
4271
|
+
teamLogo: {
|
|
4272
|
+
label: "",
|
|
4273
|
+
class: "is-has-image"
|
|
4274
|
+
},
|
|
4275
|
+
teamName: {
|
|
4276
|
+
label: "table.team.short",
|
|
4277
|
+
tooltip: "table.team.tooltip",
|
|
4278
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4279
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4280
|
+
},
|
|
4281
|
+
gamesPlayed: {
|
|
4282
|
+
label: "table.game.short",
|
|
4283
|
+
tooltip: "table.game.tooltip",
|
|
4284
|
+
sortOrders: [{ target: "m", direction: y }]
|
|
4285
|
+
},
|
|
4286
|
+
w: {
|
|
4287
|
+
label: "table.wins.short",
|
|
4288
|
+
tooltip: "table.wins.tooltip",
|
|
4289
|
+
sortOrders: [
|
|
4290
|
+
{ target: "p2", direction: y },
|
|
4291
|
+
{ target: "p1", direction: y }
|
|
4292
|
+
]
|
|
4293
|
+
},
|
|
4294
|
+
d: {
|
|
4295
|
+
label: "table.draw.short",
|
|
4296
|
+
tooltip: "table.draw.tooltip",
|
|
4297
|
+
sortOrders: [
|
|
4298
|
+
{ target: "p1", direction: y },
|
|
4299
|
+
{ target: "p2", direction: y }
|
|
4300
|
+
]
|
|
4301
|
+
},
|
|
4302
|
+
l: {
|
|
4303
|
+
label: "table.losses.short",
|
|
4304
|
+
tooltip: "table.losses.tooltip",
|
|
4305
|
+
sortOrders: [{ target: "p0", direction: G }]
|
|
4306
|
+
},
|
|
4307
|
+
gf: {
|
|
4308
|
+
label: "table.goalFor.short",
|
|
4309
|
+
tooltip: "table.goalFor.tooltip",
|
|
4310
|
+
sortOrders: [{ target: "plus", direction: y }]
|
|
4311
|
+
},
|
|
4312
|
+
ga: {
|
|
4313
|
+
label: "table.goalAgainst.short",
|
|
4314
|
+
tooltip: "table.goalAgainst.tooltip",
|
|
4315
|
+
sortOrders: [{ target: "minus", direction: G }]
|
|
4316
|
+
},
|
|
4317
|
+
gd: {
|
|
4318
|
+
label: "table.goalDiff.short",
|
|
4319
|
+
tooltip: "table.goalDiff.tooltip",
|
|
4320
|
+
sortOrders: [{ target: "gk", direction: y }]
|
|
4321
|
+
},
|
|
4322
|
+
points: {
|
|
4323
|
+
label: "table.points.short",
|
|
4324
|
+
tooltip: "table.points.tooltip",
|
|
4325
|
+
class: "is-text-bold",
|
|
4326
|
+
sortOrders: [{ target: "p", direction: y }]
|
|
4327
|
+
}
|
|
4328
|
+
}, wl = {
|
|
4329
|
+
index: {
|
|
4330
|
+
label: "#",
|
|
4331
|
+
class: "is-text-left"
|
|
4332
|
+
},
|
|
4333
|
+
playerPortrait: {
|
|
4334
|
+
label: "",
|
|
4335
|
+
class: "is-has-image"
|
|
4336
|
+
},
|
|
4337
|
+
name: {
|
|
4338
|
+
label: "table.name.short",
|
|
4339
|
+
tooltip: "table.name.tooltip",
|
|
4340
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4341
|
+
sortOrders: [{ target: "name", direction: G }]
|
|
4342
|
+
},
|
|
4343
|
+
teamLogo: {
|
|
4344
|
+
label: "",
|
|
4345
|
+
class: "is-has-image"
|
|
4346
|
+
},
|
|
4347
|
+
teamName: {
|
|
4348
|
+
label: "table.team.short",
|
|
4349
|
+
tooltip: "table.team.tooltip",
|
|
4350
|
+
class: "is-text-left is-w-auto",
|
|
4351
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4352
|
+
},
|
|
4353
|
+
gp: {
|
|
4354
|
+
label: "table.game.short",
|
|
4355
|
+
tooltip: "table.game.tooltip",
|
|
4356
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4357
|
+
},
|
|
4358
|
+
g: {
|
|
4359
|
+
label: "table.goals.short",
|
|
4360
|
+
tooltip: "table.goals.tooltip",
|
|
4361
|
+
sortOrders: [
|
|
4362
|
+
{ target: "g", direction: y },
|
|
4363
|
+
{ target: "a", direction: y }
|
|
4364
|
+
]
|
|
4365
|
+
},
|
|
4366
|
+
a: {
|
|
4367
|
+
label: "table.assists.short",
|
|
4368
|
+
tooltip: "table.assists.tooltip",
|
|
4369
|
+
sortOrders: [
|
|
4370
|
+
{ target: "a", direction: y },
|
|
4371
|
+
{ target: "g", direction: y }
|
|
4372
|
+
]
|
|
4373
|
+
},
|
|
4374
|
+
point: {
|
|
4375
|
+
label: "table.points.short",
|
|
4376
|
+
tooltip: "table.points.tooltip",
|
|
4377
|
+
sortOrders: [{ target: "point", direction: y }]
|
|
4378
|
+
},
|
|
4379
|
+
plusMinus: {
|
|
4380
|
+
label: "table.plusMinus.short",
|
|
4381
|
+
tooltip: "table.plusMinus.tooltip",
|
|
4382
|
+
sortOrders: [{ target: "plusMinus", direction: y }]
|
|
4383
|
+
},
|
|
4384
|
+
shoot: {
|
|
4385
|
+
label: "table.sog.short",
|
|
4386
|
+
tooltip: "table.sog.tooltip",
|
|
4387
|
+
sortOrders: [{ target: "shoot", direction: y }]
|
|
4388
|
+
},
|
|
4389
|
+
shootPercent: {
|
|
4390
|
+
label: "table.sogPercent.short",
|
|
4391
|
+
tooltip: "table.sogPercent.tooltip",
|
|
4392
|
+
sortOrders: [{ target: "shootPercent", direction: y }]
|
|
4393
|
+
}
|
|
4394
|
+
}, Pl = {
|
|
4395
|
+
index: {
|
|
4396
|
+
label: "table.blank",
|
|
4397
|
+
class: "is-text-left"
|
|
4398
|
+
},
|
|
4399
|
+
playerPortrait: {
|
|
4400
|
+
label: "",
|
|
4401
|
+
class: "is-has-image"
|
|
4402
|
+
},
|
|
4403
|
+
name: {
|
|
4404
|
+
label: "table.name.short",
|
|
4405
|
+
tooltip: "table.name.tooltip",
|
|
4406
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4407
|
+
sortOrders: [{ target: "name", direction: G }]
|
|
4408
|
+
},
|
|
4409
|
+
teamLogo: {
|
|
4410
|
+
label: "",
|
|
4411
|
+
class: "is-has-image"
|
|
4412
|
+
},
|
|
4413
|
+
teamName: {
|
|
4414
|
+
label: "table.team.short",
|
|
4415
|
+
tooltip: "table.team.tooltip",
|
|
4416
|
+
class: "is-text-left is-w-auto",
|
|
4417
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4418
|
+
},
|
|
4419
|
+
gp: {
|
|
4420
|
+
label: "table.game.short",
|
|
4421
|
+
tooltip: "table.game.tooltip",
|
|
4422
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4423
|
+
},
|
|
4424
|
+
p2: {
|
|
4425
|
+
label: "table.minorPenalties.short",
|
|
4426
|
+
tooltip: "table.minorPenalties.tooltip",
|
|
4427
|
+
sortOrders: [
|
|
4428
|
+
{ target: "p2", direction: y },
|
|
4429
|
+
{ target: "pim", direction: y }
|
|
4430
|
+
]
|
|
4431
|
+
},
|
|
4432
|
+
p5: {
|
|
4433
|
+
label: "table.majorPenalties.short",
|
|
4434
|
+
tooltip: "table.majorPenalties.tooltip",
|
|
4435
|
+
sortOrders: [
|
|
4436
|
+
{ target: "p5", direction: y },
|
|
4437
|
+
{ target: "pim", direction: y }
|
|
4438
|
+
]
|
|
4439
|
+
},
|
|
4440
|
+
p10: {
|
|
4441
|
+
label: "table.misconducts.short",
|
|
4442
|
+
tooltip: "table.misconducts.tooltip",
|
|
4443
|
+
sortOrders: [
|
|
4444
|
+
{ target: "p10", direction: y },
|
|
4445
|
+
{ target: "pim", direction: y }
|
|
4446
|
+
]
|
|
4447
|
+
},
|
|
4448
|
+
p20: {
|
|
4449
|
+
label: "table.gameMisconducts.short",
|
|
4450
|
+
tooltip: "table.gameMisconducts.tooltip",
|
|
4451
|
+
sortOrders: [
|
|
4452
|
+
{ target: "p20", direction: y },
|
|
4453
|
+
{ target: "pim", direction: y }
|
|
4454
|
+
]
|
|
4455
|
+
},
|
|
4456
|
+
p25: {
|
|
4457
|
+
label: "table.matchPenalties.short",
|
|
4458
|
+
tooltip: "table.matchPenalties.tooltip",
|
|
4459
|
+
sortOrders: [
|
|
4460
|
+
{ target: "p25", direction: y },
|
|
4461
|
+
{ target: "pim", direction: y }
|
|
4462
|
+
]
|
|
4463
|
+
},
|
|
4464
|
+
pim: {
|
|
4465
|
+
label: "table.pim.short",
|
|
4466
|
+
tooltip: "table.pim.tooltip",
|
|
4467
|
+
sortOrders: [{ target: "pim", direction: y }]
|
|
4468
|
+
}
|
|
4469
|
+
}, $l = {
|
|
4470
|
+
index: {
|
|
4471
|
+
label: "table.blank",
|
|
4472
|
+
class: "is-text-left"
|
|
4473
|
+
},
|
|
4474
|
+
playerPortrait: {
|
|
4475
|
+
label: "",
|
|
4476
|
+
class: "is-has-image"
|
|
4477
|
+
},
|
|
4478
|
+
name: {
|
|
4479
|
+
label: "table.name.short",
|
|
4480
|
+
tooltip: "table.name.tooltip",
|
|
4481
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4482
|
+
sortOrders: [{ target: "name", direction: G }]
|
|
4483
|
+
},
|
|
4484
|
+
teamLogo: {
|
|
4485
|
+
label: "",
|
|
4486
|
+
class: "is-has-image"
|
|
4487
|
+
},
|
|
4488
|
+
teamName: {
|
|
4489
|
+
label: "table.team.short",
|
|
4490
|
+
tooltip: "table.team.tooltip",
|
|
4491
|
+
class: "is-text-left is-w-auto",
|
|
4492
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4493
|
+
},
|
|
4494
|
+
gkd: {
|
|
4495
|
+
label: "table.gpgk.short",
|
|
4496
|
+
tooltip: "table.gpgk.tooltip",
|
|
4497
|
+
sortOrders: [{ target: "gkd", direction: y }]
|
|
4498
|
+
},
|
|
4499
|
+
gpi: {
|
|
4500
|
+
label: "table.gpi.short",
|
|
4501
|
+
tooltip: "table.gpi.tooltip",
|
|
4502
|
+
sortOrders: [{ target: "gpi", direction: y }]
|
|
4503
|
+
},
|
|
4504
|
+
mip: {
|
|
4505
|
+
label: "table.toi.short",
|
|
4506
|
+
tooltip: "table.toi.tooltip",
|
|
4507
|
+
sortOrders: [{ target: "mipSec", direction: y }]
|
|
4508
|
+
},
|
|
4509
|
+
mipPercent: {
|
|
4510
|
+
label: "table.toiPercent.short",
|
|
4511
|
+
tooltip: "table.toiPercent.tooltip",
|
|
4512
|
+
sortOrders: [{ target: "mipPercent", direction: y }]
|
|
4513
|
+
},
|
|
4514
|
+
ga: {
|
|
4515
|
+
label: "table.ga.short",
|
|
4516
|
+
tooltip: "table.ga.tooltip",
|
|
4517
|
+
sortOrders: [{ target: "ga", direction: y }]
|
|
4518
|
+
},
|
|
4519
|
+
gaa: {
|
|
4520
|
+
label: "table.gaa.short",
|
|
4521
|
+
tooltip: "table.gaa.tooltip",
|
|
4522
|
+
sortOrders: [{ target: "gaa", direction: y }]
|
|
4523
|
+
},
|
|
4524
|
+
sa: {
|
|
4525
|
+
label: "table.sa.short",
|
|
4526
|
+
tooltip: "table.sa.tooltip",
|
|
4527
|
+
sortOrders: [{ target: "sa", direction: y }]
|
|
4528
|
+
},
|
|
4529
|
+
svs: {
|
|
4530
|
+
label: "table.svs.short",
|
|
4531
|
+
tooltip: "table.svs.tooltip",
|
|
4532
|
+
sortOrders: [{ target: "svs", direction: y }]
|
|
4533
|
+
},
|
|
4534
|
+
svsPercent: {
|
|
4535
|
+
label: "table.svsPercent.short",
|
|
4536
|
+
tooltip: "table.svsPercent.tooltip",
|
|
4537
|
+
sortOrders: [{ target: "svsPercent", direction: y }]
|
|
4538
|
+
}
|
|
4539
|
+
}, Ol = {
|
|
4540
|
+
index: {
|
|
4541
|
+
label: "table.blank",
|
|
4542
|
+
class: "is-text-left"
|
|
4543
|
+
},
|
|
4544
|
+
teamLogo: {
|
|
4545
|
+
label: "",
|
|
4546
|
+
class: "is-has-image"
|
|
4547
|
+
},
|
|
4548
|
+
teamName: {
|
|
4549
|
+
label: "table.team.short",
|
|
4550
|
+
tooltip: "table.team.tooltip",
|
|
4551
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4552
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4553
|
+
},
|
|
4554
|
+
home: {
|
|
4555
|
+
label: "table.homeHeader.short"
|
|
4556
|
+
},
|
|
4557
|
+
homeGame: {
|
|
4558
|
+
label: "table.homeGame.short",
|
|
4559
|
+
tooltip: "table.homeGame.tooltip",
|
|
4560
|
+
sortOrders: [{ target: "homeGame", direction: y }]
|
|
4561
|
+
},
|
|
4562
|
+
homeAttendance: {
|
|
4563
|
+
label: "table.homeAttendance.short",
|
|
4564
|
+
tooltip: "table.homeAttendance.tooltip",
|
|
4565
|
+
sortOrders: [{ target: "homeAttendance", direction: y }]
|
|
4566
|
+
},
|
|
4567
|
+
homeAttendanceAvg: {
|
|
4568
|
+
label: "table.homeAttendanceAvg.short",
|
|
4569
|
+
tooltip: "table.homeAttendanceAvg.tooltip",
|
|
4570
|
+
sortOrders: [{ target: "homeAttendanceAvg", direction: y }]
|
|
4571
|
+
},
|
|
4572
|
+
away: {
|
|
4573
|
+
label: "table.awayHeader.short"
|
|
4574
|
+
},
|
|
4575
|
+
awayGame: {
|
|
4576
|
+
label: "table.awayGame.short",
|
|
4577
|
+
tooltip: "table.awayGame.tooltip",
|
|
4578
|
+
sortOrders: [{ target: "awayGame", direction: y }]
|
|
4579
|
+
},
|
|
4580
|
+
awayAttendance: {
|
|
4581
|
+
label: "table.awayAttendance.short",
|
|
4582
|
+
tooltip: "table.awayAttendance.tooltip",
|
|
4583
|
+
sortOrders: [{ target: "awayAttendance", direction: y }]
|
|
4584
|
+
},
|
|
4585
|
+
awayAttendanceAvg: {
|
|
4586
|
+
label: "table.awayAttendanceAvg.short",
|
|
4587
|
+
tooltip: "table.awayAttendanceAvg.tooltip",
|
|
4588
|
+
sortOrders: [{ target: "awayAttendanceAvg", direction: y }]
|
|
4589
|
+
},
|
|
4590
|
+
total: {
|
|
4591
|
+
label: "table.totalHeader.short"
|
|
4592
|
+
},
|
|
4593
|
+
totalGame: {
|
|
4594
|
+
label: "table.totalGame.short",
|
|
4595
|
+
tooltip: "table.totalGame.tooltip",
|
|
4596
|
+
sortOrders: [{ target: "totalGame", direction: y }]
|
|
4597
|
+
},
|
|
4598
|
+
totalAttendance: {
|
|
4599
|
+
label: "table.totalAttendance.short",
|
|
4600
|
+
tooltip: "table.totalAttendance.tooltip",
|
|
4601
|
+
sortOrders: [{ target: "totalAttendance", direction: y }]
|
|
4602
|
+
},
|
|
4603
|
+
totalAttendanceAvg: {
|
|
4604
|
+
label: "table.totalAttendanceAvg.short",
|
|
4605
|
+
tooltip: "table.totalAttendanceAvg.tooltip",
|
|
4606
|
+
sortOrders: [{ target: "totalAttendanceAvg", direction: y }]
|
|
4607
|
+
}
|
|
4608
|
+
}, Al = {
|
|
4609
|
+
index: {
|
|
4610
|
+
label: "table.blank",
|
|
4611
|
+
class: "is-text-left"
|
|
4612
|
+
},
|
|
4613
|
+
teamLogo: {
|
|
4614
|
+
label: "",
|
|
4615
|
+
class: "is-has-image"
|
|
4616
|
+
},
|
|
4617
|
+
teamName: {
|
|
4618
|
+
label: "table.team.short",
|
|
4619
|
+
tooltip: "table.team.tooltip",
|
|
4620
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4621
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4622
|
+
},
|
|
4623
|
+
gp: {
|
|
4624
|
+
label: "table.game.short",
|
|
4625
|
+
tooltip: "table.game.tooltip",
|
|
4626
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4627
|
+
},
|
|
4628
|
+
p2: {
|
|
4629
|
+
label: "table.minorPenalties.short",
|
|
4630
|
+
tooltip: "table.minorPenalties.tooltip",
|
|
4631
|
+
sortOrders: [
|
|
4632
|
+
{ target: "p2", direction: y },
|
|
4633
|
+
{ target: "pim", direction: y }
|
|
4634
|
+
]
|
|
4635
|
+
},
|
|
4636
|
+
p5: {
|
|
4637
|
+
label: "table.majorPenalties.short",
|
|
4638
|
+
tooltip: "table.majorPenalties.tooltip",
|
|
4639
|
+
sortOrders: [
|
|
4640
|
+
{ target: "p5", direction: y },
|
|
4641
|
+
{ target: "pim", direction: y }
|
|
4642
|
+
]
|
|
4643
|
+
},
|
|
4644
|
+
p10: {
|
|
4645
|
+
label: "table.misconducts.short",
|
|
4646
|
+
tooltip: "table.misconducts.tooltip",
|
|
4647
|
+
sortOrders: [
|
|
4648
|
+
{ target: "p10", direction: y },
|
|
4649
|
+
{ target: "pim", direction: y }
|
|
4650
|
+
]
|
|
4651
|
+
},
|
|
4652
|
+
p20: {
|
|
4653
|
+
label: "table.gameMisconducts.short",
|
|
4654
|
+
tooltip: "table.gameMisconducts.tooltip",
|
|
4655
|
+
sortOrders: [
|
|
4656
|
+
{ target: "p20", direction: y },
|
|
4657
|
+
{ target: "pim", direction: y }
|
|
4658
|
+
]
|
|
4659
|
+
},
|
|
4660
|
+
p25: {
|
|
4661
|
+
label: "table.matchPenalties.short",
|
|
4662
|
+
tooltip: "table.matchPenalties.tooltip",
|
|
4663
|
+
sortOrders: [
|
|
4664
|
+
{ target: "p25", direction: y },
|
|
4665
|
+
{ target: "pim", direction: y }
|
|
4666
|
+
]
|
|
4667
|
+
},
|
|
4668
|
+
pimPerGame: {
|
|
4669
|
+
label: "table.pimPerGame.short",
|
|
4670
|
+
tooltip: "table.pimPerGame.tooltip",
|
|
4671
|
+
sortOrders: [{ target: "pimPerGame", direction: y }]
|
|
4672
|
+
},
|
|
4673
|
+
pim: {
|
|
4674
|
+
label: "table.pim.short",
|
|
4675
|
+
tooltip: "table.pim.tooltip",
|
|
4676
|
+
sortOrders: [{ target: "pim", direction: y }]
|
|
4677
|
+
}
|
|
4678
|
+
}, xl = {
|
|
4679
|
+
index: {
|
|
4680
|
+
label: "table.blank",
|
|
4681
|
+
class: "is-text-left"
|
|
4682
|
+
},
|
|
4683
|
+
teamLogo: {
|
|
4684
|
+
label: "",
|
|
4685
|
+
class: "is-has-image"
|
|
4686
|
+
},
|
|
4687
|
+
teamName: {
|
|
4688
|
+
label: "table.team.short",
|
|
4689
|
+
tooltip: "table.team.tooltip",
|
|
4690
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4691
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4692
|
+
},
|
|
4693
|
+
gp: {
|
|
4694
|
+
label: "table.game.short",
|
|
4695
|
+
tooltip: "table.game.tooltip",
|
|
4696
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4697
|
+
},
|
|
4698
|
+
dvg: {
|
|
4699
|
+
label: "table.powerplayDisadvantages.short",
|
|
4700
|
+
tooltip: "table.powerplayDisadvantages.tooltip",
|
|
4701
|
+
sortOrders: [{ target: "dvg", direction: y }]
|
|
4702
|
+
},
|
|
4703
|
+
dvgTime: {
|
|
4704
|
+
label: "table.dvgTime.short",
|
|
4705
|
+
tooltip: "table.dvgTime.tooltip",
|
|
4706
|
+
sortOrders: [{ target: "dvgTimeSec", direction: y }]
|
|
4707
|
+
},
|
|
4708
|
+
dvgTimePP1: {
|
|
4709
|
+
label: "table.dvgTimePP1.short",
|
|
4710
|
+
tooltip: "table.dvgTimePP1.tooltip",
|
|
4711
|
+
sortOrders: [{ target: "dvgTimePP1Sec", direction: y }]
|
|
4712
|
+
},
|
|
4713
|
+
dvgTimePP2: {
|
|
4714
|
+
label: "table.dvgTimePP2.short",
|
|
4715
|
+
tooltip: "table.dvgTimePP2.tooltip",
|
|
4716
|
+
sortOrders: [{ target: "dvgTimePP2", direction: y }]
|
|
4717
|
+
},
|
|
4718
|
+
ppga: {
|
|
4719
|
+
label: "table.ppga.short",
|
|
4720
|
+
tooltip: "table.ppga.tooltip",
|
|
4721
|
+
sortOrders: [{ target: "ppga", direction: y }]
|
|
4722
|
+
},
|
|
4723
|
+
shgf: {
|
|
4724
|
+
label: "table.shgf.short",
|
|
4725
|
+
tooltip: "table.shgf.tooltip",
|
|
4726
|
+
sortOrders: [{ target: "shgf", direction: y }]
|
|
4727
|
+
},
|
|
4728
|
+
pkPercent: {
|
|
4729
|
+
label: "table.pkPercent.short",
|
|
4730
|
+
tooltip: "table.pkPercent.tooltip",
|
|
4731
|
+
sortOrders: [{ target: "pkPercent", direction: y }]
|
|
4732
|
+
}
|
|
4733
|
+
}, _l = {
|
|
4734
|
+
index: {
|
|
4735
|
+
label: "table.blank",
|
|
4736
|
+
class: "is-text-left"
|
|
4737
|
+
},
|
|
4738
|
+
teamLogo: {
|
|
4739
|
+
label: "",
|
|
4740
|
+
class: "is-has-image"
|
|
4741
|
+
},
|
|
4742
|
+
teamName: {
|
|
4743
|
+
label: "table.team.short",
|
|
4744
|
+
tooltip: "table.team.tooltip",
|
|
4745
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4746
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4747
|
+
},
|
|
4748
|
+
gp: {
|
|
4749
|
+
label: "table.game.short",
|
|
4750
|
+
tooltip: "table.game.tooltip",
|
|
4751
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4752
|
+
},
|
|
4753
|
+
adv: {
|
|
4754
|
+
label: "table.adv.short",
|
|
4755
|
+
tooltip: "table.adv.tooltip",
|
|
4756
|
+
sortOrders: [{ target: "adv", direction: y }]
|
|
4757
|
+
},
|
|
4758
|
+
advTime: {
|
|
4759
|
+
label: "table.advTime.short",
|
|
4760
|
+
tooltip: "table.advTime.tooltip",
|
|
4761
|
+
sortOrders: [{ target: "advTimeSec", direction: y }]
|
|
4762
|
+
},
|
|
4763
|
+
advTimePP1: {
|
|
4764
|
+
label: "table.advTimePP1.short",
|
|
4765
|
+
tooltip: "table.advTimePP1.tooltip",
|
|
4766
|
+
sortOrders: [{ target: "advTimePP1Sec", direction: y }]
|
|
4767
|
+
},
|
|
4768
|
+
advTimePP2: {
|
|
4769
|
+
label: "table.advTimePP2.short",
|
|
4770
|
+
tooltip: "table.advTimePP2.tooltip",
|
|
4771
|
+
sortOrders: [{ target: "advTimePP2Sec", direction: y }]
|
|
4772
|
+
},
|
|
4773
|
+
ppgf: {
|
|
4774
|
+
label: "table.ppgf.short",
|
|
4775
|
+
tooltip: "table.ppgf.tooltip",
|
|
4776
|
+
sortOrders: [{ target: "ppgf", direction: y }]
|
|
4777
|
+
},
|
|
4778
|
+
shga: {
|
|
4779
|
+
label: "table.shga.short",
|
|
4780
|
+
tooltip: "table.shga.tooltip",
|
|
4781
|
+
sortOrders: [{ target: "shga", direction: y }]
|
|
4782
|
+
},
|
|
4783
|
+
ppPercent: {
|
|
4784
|
+
label: "table.ppPercent.short",
|
|
4785
|
+
tooltip: "table.ppPercent.tooltip",
|
|
4786
|
+
sortOrders: [{ target: "ppPercent", direction: y }]
|
|
4787
|
+
}
|
|
4788
|
+
}, Sl = {
|
|
4789
|
+
index: {
|
|
4790
|
+
label: "table.blank",
|
|
4791
|
+
class: "is-text-left"
|
|
4792
|
+
},
|
|
4793
|
+
teamLogo: {
|
|
4794
|
+
label: "",
|
|
4795
|
+
class: "is-has-image"
|
|
4796
|
+
},
|
|
4797
|
+
teamName: {
|
|
4798
|
+
label: "table.team.short",
|
|
4799
|
+
tooltip: "table.team.tooltip",
|
|
4800
|
+
class: "is-text-left is-w-auto is-text-bold",
|
|
4801
|
+
sortOrders: [{ target: "teamName", direction: G }]
|
|
4802
|
+
},
|
|
4803
|
+
m: {
|
|
4804
|
+
label: "table.game.short",
|
|
4805
|
+
tooltip: "table.game.tooltip",
|
|
4806
|
+
sortOrders: [{ target: "gp", direction: y }]
|
|
4807
|
+
},
|
|
4808
|
+
plus: {
|
|
4809
|
+
label: "table.goalFor.short",
|
|
4810
|
+
tooltip: "table.goalFor.tooltip",
|
|
4811
|
+
sortOrders: [{ target: "plus", direction: y }]
|
|
4812
|
+
},
|
|
4813
|
+
minus: {
|
|
4814
|
+
label: "table.goalAgainst.short",
|
|
4815
|
+
tooltip: "table.goalAgainst.tooltip",
|
|
4816
|
+
sortOrders: [{ target: "minus", direction: G }]
|
|
4817
|
+
},
|
|
4818
|
+
gk: {
|
|
4819
|
+
label: "table.goalDiff.short",
|
|
4820
|
+
tooltip: "table.goalDiff.tooltip",
|
|
4821
|
+
sortOrders: [{ target: "gk", direction: y }]
|
|
4822
|
+
},
|
|
4823
|
+
GFGP: {
|
|
4824
|
+
label: "table.gfgp.short",
|
|
4825
|
+
tooltip: "table.gfgp.tooltip",
|
|
4826
|
+
sortOrders: [{ target: "GFGP", direction: y }]
|
|
4827
|
+
},
|
|
4828
|
+
GAGP: {
|
|
4829
|
+
label: "table.gagp.short",
|
|
4830
|
+
tooltip: "table.gagp.tooltip",
|
|
4831
|
+
sortOrders: [{ target: "GAGP", direction: G }]
|
|
4832
|
+
},
|
|
4833
|
+
Shots: {
|
|
4834
|
+
label: "table.sog.short",
|
|
4835
|
+
tooltip: "table.sog.tooltip",
|
|
4836
|
+
sortOrders: [{ target: "Shots", direction: y }]
|
|
4837
|
+
},
|
|
4838
|
+
SA: {
|
|
4839
|
+
label: "table.sa.short",
|
|
4840
|
+
tooltip: "table.sa.tooltip",
|
|
4841
|
+
sortOrders: [{ target: "SA", direction: G }]
|
|
4842
|
+
},
|
|
4843
|
+
ShotsGP: {
|
|
4844
|
+
label: "table.sogp.short",
|
|
4845
|
+
tooltip: "table.sogp.tooltip",
|
|
4846
|
+
sortOrders: [{ target: "ShotsGP", direction: y }]
|
|
4847
|
+
},
|
|
4848
|
+
SAGP: {
|
|
4849
|
+
label: "table.sagp.short",
|
|
4850
|
+
tooltip: "table.sagp.tooltip",
|
|
4851
|
+
sortOrders: [{ target: "SAGP", direction: G }]
|
|
4852
|
+
},
|
|
4853
|
+
GFShots: {
|
|
4854
|
+
label: "table.sogPercent.short",
|
|
4855
|
+
tooltip: "table.sogPercent.tooltip",
|
|
4856
|
+
sortOrders: [{ target: "GFShots", direction: y }]
|
|
4857
|
+
}
|
|
4858
|
+
}, Tl = ({ modules: t = [], apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }) => {
|
|
4859
|
+
if (window.__MJSZ_VBR_WIDGET__ = { apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }, t.length === 0)
|
|
4860
|
+
throw new Error("At least one module must be set");
|
|
4861
|
+
t.forEach((o) => {
|
|
4862
|
+
if (o.register)
|
|
4863
|
+
return o.register();
|
|
4864
|
+
o == null || o();
|
|
4865
|
+
});
|
|
4866
|
+
};
|
|
4867
|
+
export {
|
|
4868
|
+
xa as AVAILABLE_TIMEZONES_BY_COUNTRY,
|
|
4869
|
+
Vi as BaseSelect,
|
|
4870
|
+
wl as COLUMNS_FIELD_PLAYERS,
|
|
4871
|
+
Pl as COLUMNS_FIELD_PLAYERS_PENALTY,
|
|
4872
|
+
$l as COLUMNS_GOALIES,
|
|
4873
|
+
yl as COLUMNS_SCHEDULE,
|
|
4874
|
+
Sl as COLUMNS_SCORING_EFFICIENCY,
|
|
4875
|
+
bl as COLUMNS_STANDINGS_P_2,
|
|
4876
|
+
vl as COLUMNS_STANDINGS_P_3,
|
|
4877
|
+
Al as COLUMNS_TEAMS_FAIRPLAY,
|
|
4878
|
+
xl as COLUMNS_TEAMS_PENALTY_KILLING,
|
|
4879
|
+
_l as COLUMNS_TEAMS_POWERPLAY,
|
|
4880
|
+
Ol as COLUMNS_TEAM_ATTENDANCE,
|
|
4881
|
+
wa as DEFAULT_EXTERNAL_BASE_URL,
|
|
4882
|
+
$a as DEFAULT_EXTERNAL_PLAYER_URL,
|
|
4883
|
+
Oa as DEFAULT_EXTERNAL_TEAM_URL,
|
|
4884
|
+
Pa as DEFAULT_PORTRAIT_IMAGE_URL,
|
|
4885
|
+
is as DataTable,
|
|
4886
|
+
Yi as ErrorNotice,
|
|
4887
|
+
Ui as ErrorProvider,
|
|
4888
|
+
es as FloatingPanel,
|
|
4889
|
+
Wi as I18NProvider,
|
|
4890
|
+
lr as Image,
|
|
4891
|
+
Ji as InvalidSeasonName,
|
|
4892
|
+
_a as LAZY_LOADING_STATE_DELAY,
|
|
4893
|
+
Aa as LOCALE_FOR_LANG,
|
|
4894
|
+
zs as LoadingIndicator,
|
|
4895
|
+
Ki as Paginator,
|
|
4896
|
+
Hi as REFRESH_DELAY,
|
|
4897
|
+
ei as ResponsiveTable,
|
|
4898
|
+
G as SORT_STATE_ASCEND,
|
|
4899
|
+
y as SORT_STATE_DESCEND,
|
|
4900
|
+
vt as SORT_STATE_ORIGINAL,
|
|
4901
|
+
Qi as StatisticsTable,
|
|
4902
|
+
tl as Test,
|
|
4903
|
+
Xi as TimezoneSelector,
|
|
4904
|
+
cr as UndefinedColumn,
|
|
4905
|
+
ba as VBR_API_BASE_URL,
|
|
4906
|
+
$i as WidgetError,
|
|
4907
|
+
Xa as appendTo,
|
|
4908
|
+
hl as baseProps,
|
|
4909
|
+
al as convert,
|
|
4910
|
+
cn as convertMinToSec,
|
|
4911
|
+
yi as convertSecToMin,
|
|
4912
|
+
cl as convertTimes,
|
|
4913
|
+
ul as convertTimesSecToMin,
|
|
4914
|
+
Tl as createConfig,
|
|
4915
|
+
ha as createI18n,
|
|
4916
|
+
dl as externalGameLinkResolver,
|
|
4917
|
+
ml as externalPlayerLinkResolver,
|
|
4918
|
+
pl as externalTeamLinkResolver,
|
|
4919
|
+
Li as fetchVBRData,
|
|
4920
|
+
ve as format,
|
|
4921
|
+
hi as getLocalTimezone,
|
|
4922
|
+
va as i18n,
|
|
4923
|
+
qi as isBetween,
|
|
4924
|
+
Zi as isSame,
|
|
4925
|
+
vi as isSameOrBefore,
|
|
4926
|
+
Xt as offsetName,
|
|
4927
|
+
il as playerName,
|
|
4928
|
+
gl as playerStatsProps,
|
|
4929
|
+
sl as rawConvert,
|
|
4930
|
+
fl as sortGames,
|
|
4931
|
+
ir as stringPadLeft,
|
|
4932
|
+
Fi as teamStatsProps,
|
|
4933
|
+
hs as toKebabCase,
|
|
4934
|
+
ll as upperCase,
|
|
4935
|
+
wi as useColumns,
|
|
4936
|
+
ys as useError,
|
|
4937
|
+
gs as useErrorProvider,
|
|
4938
|
+
Wt as useI18n,
|
|
4939
|
+
Fn as useLazyLoadingState,
|
|
4940
|
+
zt as useMainClass,
|
|
4941
|
+
el as usePage,
|
|
4942
|
+
rl as useServices,
|
|
4943
|
+
nl as useSort,
|
|
4944
|
+
ol as useVisibilityChange,
|
|
4945
|
+
Pi as validateColumnsName
|
|
4946
|
+
};
|