@mjsz-vbr-elements/core 2.24.1 → 2.25.0

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