@mjsz-vbr-elements/internal 2.34.0 → 2.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,344 +1,392 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/internal
3
- * version: v2.34.0 - 15/12/2025, 12:56:01
3
+ * version: v2.35.0 - 16/12/2025, 08:48:49
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 { shallowRef as E, shallowReadonly as we, toRef as ge, readonly as Z, ref as ye, customRef as be, toValue as y, getCurrentScope as xe, onScopeDispose as ke, watch as M, nextTick as ae, isRef as se, computed as L, unref as x, defineComponent as ze, createBlock as de, openBlock as T, resolveDynamicComponent as Te, withCtx as Ae, createElementBlock as S, createElementVNode as me, createCommentVNode as ue, normalizeStyle as Ee, useTemplateRef as Fe, createVNode as Pe, defineCustomElement as Oe } from "vue";
9
- import { VBR_API_BASE_URL as pe } from "@mjsz-vbr-elements/core/constants";
10
- import { cookie as ne } from "@mjsz-vbr-elements/core/utils";
11
- function te(e) {
12
- return xe() ? (ke(e), !0) : !1;
8
+ import { shallowRef as j, shallowReadonly as Fe, toRef as je, readonly as se, ref as _e, customRef as $e, toValue as E, getCurrentScope as Ne, onScopeDispose as Oe, watch as N, nextTick as ce, isRef as X, computed as $, reactive as Ie, getCurrentInstance as Be, unref as u, defineComponent as De, createBlock as Y, openBlock as b, resolveDynamicComponent as Le, withCtx as C, createElementBlock as I, createElementVNode as T, createCommentVNode as ve, normalizeStyle as Ve, useTemplateRef as Ue, createVNode as S, renderSlot as Me, normalizeProps as Ke, guardReactiveProps as He, Fragment as Q, renderList as de, toDisplayString as V, defineCustomElement as Ce } from "vue";
9
+ import { VBR_API_BASE_URL as Se } from "@mjsz-vbr-elements/core/constants";
10
+ import { cookie as ge, prop as Re, head as Ge } from "@mjsz-vbr-elements/core/utils";
11
+ import { FormField as U, BaseSelect as be, I18NProvider as Je, ErrorProvider as We, ErrorNotice as qe } from "@mjsz-vbr-elements/core/components";
12
+ import { useError as Qe, useServices as te, useI18n as Xe } from "@mjsz-vbr-elements/core/composables";
13
+ function he(e) {
14
+ return Ne() ? (Oe(e), !0) : !1;
13
15
  }
14
- function R() {
15
- const e = /* @__PURE__ */ new Set(), t = (c) => {
16
- e.delete(c);
16
+ function ae() {
17
+ const e = /* @__PURE__ */ new Set(), r = (i) => {
18
+ e.delete(i);
17
19
  };
18
20
  return {
19
- on: (c) => {
20
- e.add(c);
21
- const a = () => t(c);
22
- return te(a), {
23
- off: a
21
+ on: (i) => {
22
+ e.add(i);
23
+ const t = () => r(i);
24
+ return he(t), {
25
+ off: t
24
26
  };
25
27
  },
26
- off: t,
27
- trigger: (...c) => Promise.all(Array.from(e).map((a) => a(...c))),
28
+ off: r,
29
+ trigger: (...i) => Promise.all(Array.from(e).map((t) => t(...i))),
28
30
  clear: () => {
29
31
  e.clear();
30
32
  }
31
33
  };
32
34
  }
33
- const ve = typeof window < "u" && typeof document < "u";
35
+ const Ae = typeof window < "u" && typeof document < "u";
34
36
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
35
- const je = Object.prototype.toString, Ce = (e) => je.call(e) === "[object Object]", Be = () => {
37
+ const Ye = (e) => typeof e < "u", Ze = Object.prototype.toString, er = (e) => Ze.call(e) === "[object Object]", me = () => {
36
38
  };
37
- function K(...e) {
39
+ function ne(...e) {
38
40
  if (e.length !== 1)
39
- return ge(...e);
40
- const t = e[0];
41
- return typeof t == "function" ? Z(be(() => ({ get: t, set: Be }))) : ye(t);
41
+ return je(...e);
42
+ const r = e[0];
43
+ return typeof r == "function" ? se($e(() => ({ get: r, set: me }))) : _e(r);
42
44
  }
43
- function ie(e, t = !1, o = "Timeout") {
44
- return new Promise((s, n) => {
45
- setTimeout(t ? () => n(o) : s, e);
45
+ function ye(e, r = !1, o = "Timeout") {
46
+ return new Promise((c, l) => {
47
+ setTimeout(r ? () => l(o) : c, e);
46
48
  });
47
49
  }
48
- function Se(e, ...t) {
49
- return t.some((o) => o in e);
50
+ function rr(e, ...r) {
51
+ return r.some((o) => o in e);
50
52
  }
51
- function X(e) {
53
+ function ie(e) {
52
54
  return Array.isArray(e) ? e : [e];
53
55
  }
54
- function ee(e, t = !1) {
55
- function o(l, { flush: m = "sync", deep: h = !1, timeout: f, throwOnTimeout: k } = {}) {
56
+ function pe(e, r = !1) {
57
+ function o(d, { flush: h = "sync", deep: p = !1, timeout: f, throwOnTimeout: m } = {}) {
56
58
  let w = null;
57
- const F = [new Promise((A) => {
58
- w = M(
59
+ const x = [new Promise((g) => {
60
+ w = N(
59
61
  e,
60
- (b) => {
61
- l(b) !== t && (w ? w() : ae(() => w?.()), A(b));
62
+ (_) => {
63
+ d(_) !== r && (w ? w() : ce(() => w?.()), g(_));
62
64
  },
63
65
  {
64
- flush: m,
65
- deep: h,
66
+ flush: h,
67
+ deep: p,
66
68
  immediate: !0
67
69
  }
68
70
  );
69
71
  })];
70
- return f != null && F.push(
71
- ie(f, k).then(() => y(e)).finally(() => w?.())
72
- ), Promise.race(F);
72
+ return f != null && x.push(
73
+ ye(f, m).then(() => E(e)).finally(() => w?.())
74
+ ), Promise.race(x);
73
75
  }
74
- function s(l, m) {
75
- if (!se(l))
76
- return o((b) => b === l, m);
77
- const { flush: h = "sync", deep: f = !1, timeout: k, throwOnTimeout: w } = m ?? {};
78
- let g = null;
79
- const A = [new Promise((b) => {
80
- g = M(
81
- [e, l],
82
- ([V, P]) => {
83
- t !== (V === P) && (g ? g() : ae(() => g?.()), b(V));
76
+ function c(d, h) {
77
+ if (!X(d))
78
+ return o((_) => _ === d, h);
79
+ const { flush: p = "sync", deep: f = !1, timeout: m, throwOnTimeout: w } = h ?? {};
80
+ let y = null;
81
+ const g = [new Promise((_) => {
82
+ y = N(
83
+ [e, d],
84
+ ([F, A]) => {
85
+ r !== (F === A) && (y ? y() : ce(() => y?.()), _(F));
84
86
  },
85
87
  {
86
- flush: h,
88
+ flush: p,
87
89
  deep: f,
88
90
  immediate: !0
89
91
  }
90
92
  );
91
93
  })];
92
- return k != null && A.push(
93
- ie(k, w).then(() => y(e)).finally(() => (g?.(), y(e)))
94
- ), Promise.race(A);
94
+ return m != null && g.push(
95
+ ye(m, w).then(() => E(e)).finally(() => (y?.(), E(e)))
96
+ ), Promise.race(g);
95
97
  }
96
- function n(l) {
97
- return o((m) => !!m, l);
98
+ function l(d) {
99
+ return o((h) => !!h, d);
98
100
  }
99
- function c(l) {
100
- return s(null, l);
101
+ function i(d) {
102
+ return c(null, d);
101
103
  }
102
- function a(l) {
103
- return s(void 0, l);
104
+ function t(d) {
105
+ return c(void 0, d);
104
106
  }
105
- function r(l) {
106
- return o(Number.isNaN, l);
107
+ function a(d) {
108
+ return o(Number.isNaN, d);
107
109
  }
108
- function i(l, m) {
109
- return o((h) => {
110
- const f = Array.from(h);
111
- return f.includes(l) || f.includes(y(l));
112
- }, m);
110
+ function s(d, h) {
111
+ return o((p) => {
112
+ const f = Array.from(p);
113
+ return f.includes(d) || f.includes(E(d));
114
+ }, h);
113
115
  }
114
- function d(l) {
115
- return v(1, l);
116
+ function n(d) {
117
+ return v(1, d);
116
118
  }
117
- function v(l = 1, m) {
118
- let h = -1;
119
- return o(() => (h += 1, h >= l), m);
119
+ function v(d = 1, h) {
120
+ let p = -1;
121
+ return o(() => (p += 1, p >= d), h);
120
122
  }
121
- return Array.isArray(y(e)) ? {
123
+ return Array.isArray(E(e)) ? {
122
124
  toMatch: o,
123
- toContains: i,
124
- changed: d,
125
+ toContains: s,
126
+ changed: n,
125
127
  changedTimes: v,
126
128
  get not() {
127
- return ee(e, !t);
129
+ return pe(e, !r);
128
130
  }
129
131
  } : {
130
132
  toMatch: o,
131
- toBe: s,
132
- toBeTruthy: n,
133
- toBeNull: c,
134
- toBeNaN: r,
135
- toBeUndefined: a,
136
- changed: d,
133
+ toBe: c,
134
+ toBeTruthy: l,
135
+ toBeNull: i,
136
+ toBeNaN: a,
137
+ toBeUndefined: t,
138
+ changed: n,
137
139
  changedTimes: v,
138
140
  get not() {
139
- return ee(e, !t);
141
+ return pe(e, !r);
140
142
  }
141
143
  };
142
144
  }
143
- function De(e) {
144
- return ee(e);
145
+ function or(e) {
146
+ return pe(e);
145
147
  }
146
- function he(e, t, o = {}) {
148
+ function Ee(e, r, o = {}) {
147
149
  const {
148
- immediate: s = !0,
149
- immediateCallback: n = !1
150
- } = o, c = E(!1);
151
- let a;
152
- function r() {
153
- a && (clearTimeout(a), a = void 0);
150
+ immediate: c = !0,
151
+ immediateCallback: l = !1
152
+ } = o, i = j(!1);
153
+ let t;
154
+ function a() {
155
+ t && (clearTimeout(t), t = void 0);
154
156
  }
155
- function i() {
156
- c.value = !1, r();
157
+ function s() {
158
+ i.value = !1, a();
157
159
  }
158
- function d(...v) {
159
- n && e(), r(), c.value = !0, a = setTimeout(() => {
160
- c.value = !1, a = void 0, e(...v);
161
- }, y(t));
160
+ function n(...v) {
161
+ l && e(), a(), i.value = !0, t = setTimeout(() => {
162
+ i.value = !1, t = void 0, e(...v);
163
+ }, E(r));
162
164
  }
163
- return s && (c.value = !0, ve && d()), te(i), {
164
- isPending: we(c),
165
- start: d,
166
- stop: i
165
+ return c && (i.value = !0, Ae && n()), he(s), {
166
+ isPending: Fe(i),
167
+ start: n,
168
+ stop: s
167
169
  };
168
170
  }
169
- function $e(e, t, o) {
170
- return M(
171
+ function tr(e, r, o) {
172
+ return N(
171
173
  e,
172
- t,
174
+ r,
173
175
  {
174
176
  ...o,
175
177
  immediate: !0
176
178
  }
177
179
  );
178
180
  }
179
- const fe = ve ? window : void 0;
180
- function _e(e) {
181
- var t;
182
- const o = y(e);
183
- return (t = o?.$el) != null ? t : o;
181
+ const Te = Ae ? window : void 0;
182
+ function ar(e) {
183
+ var r;
184
+ const o = E(e);
185
+ return (r = o?.$el) != null ? r : o;
184
186
  }
185
- function Me(...e) {
186
- const t = [], o = () => {
187
- t.forEach((r) => r()), t.length = 0;
188
- }, s = (r, i, d, v) => (r.addEventListener(i, d, v), () => r.removeEventListener(i, d, v)), n = L(() => {
189
- const r = X(y(e[0])).filter((i) => i != null);
190
- return r.every((i) => typeof i != "string") ? r : void 0;
191
- }), c = $e(
187
+ function nr(...e) {
188
+ const r = [], o = () => {
189
+ r.forEach((a) => a()), r.length = 0;
190
+ }, c = (a, s, n, v) => (a.addEventListener(s, n, v), () => a.removeEventListener(s, n, v)), l = $(() => {
191
+ const a = ie(E(e[0])).filter((s) => s != null);
192
+ return a.every((s) => typeof s != "string") ? a : void 0;
193
+ }), i = tr(
192
194
  () => {
193
- var r, i;
195
+ var a, s;
194
196
  return [
195
- (i = (r = n.value) == null ? void 0 : r.map((d) => _e(d))) != null ? i : [fe].filter((d) => d != null),
196
- X(y(n.value ? e[1] : e[0])),
197
- X(x(n.value ? e[2] : e[1])),
197
+ (s = (a = l.value) == null ? void 0 : a.map((n) => ar(n))) != null ? s : [Te].filter((n) => n != null),
198
+ ie(E(l.value ? e[1] : e[0])),
199
+ ie(u(l.value ? e[2] : e[1])),
198
200
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
199
- y(n.value ? e[3] : e[2])
201
+ E(l.value ? e[3] : e[2])
200
202
  ];
201
203
  },
202
- ([r, i, d, v]) => {
203
- if (o(), !r?.length || !i?.length || !d?.length)
204
+ ([a, s, n, v]) => {
205
+ if (o(), !a?.length || !s?.length || !n?.length)
204
206
  return;
205
- const l = Ce(v) ? { ...v } : v;
206
- t.push(
207
- ...r.flatMap(
208
- (m) => i.flatMap(
209
- (h) => d.map((f) => s(m, h, f, l))
207
+ const d = er(v) ? { ...v } : v;
208
+ r.push(
209
+ ...a.flatMap(
210
+ (h) => s.flatMap(
211
+ (p) => n.map((f) => c(h, p, f, d))
210
212
  )
211
213
  )
212
214
  );
213
215
  },
214
216
  { flush: "post" }
215
- ), a = () => {
216
- c(), o();
217
+ ), t = () => {
218
+ i(), o();
217
219
  };
218
- return te(o), a;
220
+ return he(o), t;
219
221
  }
220
- const Ne = {
222
+ function xe(e, r) {
223
+ const {
224
+ interrupt: o = !0,
225
+ onError: c = me,
226
+ onFinished: l = me,
227
+ signal: i
228
+ } = {}, t = {
229
+ aborted: "aborted",
230
+ fulfilled: "fulfilled",
231
+ pending: "pending",
232
+ rejected: "rejected"
233
+ }, a = Array.from(Array.from({ length: e.length }), () => ({ state: t.pending, data: null })), s = Ie(a), n = j(-1);
234
+ if (!e || e.length === 0)
235
+ return l(), {
236
+ activeIndex: n,
237
+ result: s
238
+ };
239
+ function v(d, h) {
240
+ n.value++, s[n.value].data = h, s[n.value].state = d;
241
+ }
242
+ return e.reduce((d, h) => d.then((p) => {
243
+ var f;
244
+ if (i?.aborted) {
245
+ v(t.aborted, new Error("aborted"));
246
+ return;
247
+ }
248
+ if (((f = s[n.value]) == null ? void 0 : f.state) === t.rejected && o) {
249
+ l();
250
+ return;
251
+ }
252
+ const m = h(p).then((w) => (v(t.fulfilled, w), n.value === e.length - 1 && l(), w));
253
+ return i ? Promise.race([m, ir(i)]) : m;
254
+ }).catch((p) => i?.aborted ? (v(t.aborted, p), p) : (v(t.rejected, p), c(), p)), Promise.resolve()), {
255
+ activeIndex: n,
256
+ result: s
257
+ };
258
+ }
259
+ function ir(e) {
260
+ return new Promise((r, o) => {
261
+ const c = new Error("aborted");
262
+ e.aborted ? o(c) : e.addEventListener("abort", () => o(c), { once: !0 });
263
+ });
264
+ }
265
+ function lr(e) {
266
+ return JSON.parse(JSON.stringify(e));
267
+ }
268
+ const sr = {
221
269
  json: "application/json",
222
270
  text: "text/plain"
223
271
  };
224
- function le(e) {
225
- return e && Se(e, "immediate", "refetch", "initialData", "timeout", "beforeFetch", "afterFetch", "onFetchError", "fetch", "updateDataOnError");
272
+ function ke(e) {
273
+ return e && rr(e, "immediate", "refetch", "initialData", "timeout", "beforeFetch", "afterFetch", "onFetchError", "fetch", "updateDataOnError");
226
274
  }
227
- function Y(e) {
275
+ function le(e) {
228
276
  return typeof Headers < "u" && e instanceof Headers ? Object.fromEntries(e.entries()) : e;
229
277
  }
230
- function Ie(e, ...t) {
231
- var o, s;
232
- const n = typeof AbortController == "function";
233
- let c = {}, a = {
278
+ function cr(e, ...r) {
279
+ var o, c;
280
+ const l = typeof AbortController == "function";
281
+ let i = {}, t = {
234
282
  immediate: !0,
235
283
  refetch: !1,
236
284
  timeout: 0,
237
285
  updateDataOnError: !1
238
286
  };
239
- const r = {
287
+ const a = {
240
288
  method: "GET",
241
289
  type: "text",
242
290
  payload: void 0
243
291
  };
244
- t.length > 0 && (le(t[0]) ? a = { ...a, ...t[0] } : c = t[0]), t.length > 1 && le(t[1]) && (a = { ...a, ...t[1] });
292
+ r.length > 0 && (ke(r[0]) ? t = { ...t, ...r[0] } : i = r[0]), r.length > 1 && ke(r[1]) && (t = { ...t, ...r[1] });
245
293
  const {
246
- fetch: i = (s = (o = fe) == null ? void 0 : o.fetch) != null ? s : globalThis?.fetch,
247
- initialData: d,
294
+ fetch: s = (c = (o = Te) == null ? void 0 : o.fetch) != null ? c : globalThis?.fetch,
295
+ initialData: n,
248
296
  timeout: v
249
- } = a, l = R(), m = R(), h = R(), f = E(!1), k = E(!1), w = E(!1), g = E(null), F = E(null), A = E(null), b = E(d || null), V = L(() => n && k.value);
250
- let P, N;
251
- const W = (u) => {
252
- n && (P?.abort(u), P = new AbortController(), P.signal.onabort = () => w.value = !0, c = {
253
- ...c,
254
- signal: P.signal
297
+ } = t, d = ae(), h = ae(), p = ae(), f = j(!1), m = j(!1), w = j(!1), y = j(null), x = j(null), g = j(null), _ = j(n || null), F = $(() => l && m.value);
298
+ let A, R;
299
+ const Z = (k) => {
300
+ l && (A?.abort(k), A = new AbortController(), A.signal.onabort = () => w.value = !0, i = {
301
+ ...i,
302
+ signal: A.signal
255
303
  });
256
- }, q = (u) => {
257
- k.value = u, f.value = !u;
304
+ }, ee = (k) => {
305
+ m.value = k, f.value = !k;
258
306
  };
259
- v && (N = he(W, v, { immediate: !1 }));
260
- let J = 0;
261
- const D = async (u = !1) => {
262
- var z, $;
263
- W(), q(!0), A.value = null, g.value = null, w.value = !1, J += 1;
264
- const H = J, j = {
265
- method: r.method,
307
+ v && (R = Ee(Z, v, { immediate: !1 }));
308
+ let re = 0;
309
+ const M = async (k = !1) => {
310
+ var P, K;
311
+ Z(), ee(!0), g.value = null, y.value = null, w.value = !1, re += 1;
312
+ const J = re, B = {
313
+ method: a.method,
266
314
  headers: {}
267
- }, _ = y(r.payload);
268
- if (_) {
269
- const p = Y(j.headers), U = Object.getPrototypeOf(_);
270
- !r.payloadType && _ && (U === Object.prototype || Array.isArray(U)) && !(_ instanceof FormData) && (r.payloadType = "json"), r.payloadType && (p["Content-Type"] = (z = Ne[r.payloadType]) != null ? z : r.payloadType), j.body = r.payloadType === "json" ? JSON.stringify(_) : _;
315
+ }, H = E(a.payload);
316
+ if (H) {
317
+ const z = le(B.headers), W = Object.getPrototypeOf(H);
318
+ !a.payloadType && H && (W === Object.prototype || Array.isArray(W)) && !(H instanceof FormData) && (a.payloadType = "json"), a.payloadType && (z["Content-Type"] = (P = sr[a.payloadType]) != null ? P : a.payloadType), B.body = a.payloadType === "json" ? JSON.stringify(H) : H;
271
319
  }
272
- let oe = !1;
273
- const C = {
274
- url: y(e),
320
+ let we = !1;
321
+ const D = {
322
+ url: E(e),
275
323
  options: {
276
- ...j,
277
- ...c
324
+ ...B,
325
+ ...i
278
326
  },
279
327
  cancel: () => {
280
- oe = !0;
328
+ we = !0;
281
329
  }
282
330
  };
283
- if (a.beforeFetch && Object.assign(C, await a.beforeFetch(C)), oe || !i)
284
- return q(!1), Promise.resolve(null);
285
- let B = null;
286
- return N && N.start(), i(
287
- C.url,
331
+ if (t.beforeFetch && Object.assign(D, await t.beforeFetch(D)), we || !s)
332
+ return ee(!1), Promise.resolve(null);
333
+ let L = null;
334
+ return R && R.start(), s(
335
+ D.url,
288
336
  {
289
- ...j,
290
- ...C.options,
337
+ ...B,
338
+ ...D.options,
291
339
  headers: {
292
- ...Y(j.headers),
293
- ...Y(($ = C.options) == null ? void 0 : $.headers)
340
+ ...le(B.headers),
341
+ ...le((K = D.options) == null ? void 0 : K.headers)
294
342
  }
295
343
  }
296
- ).then(async (p) => {
297
- if (F.value = p, g.value = p.status, B = await p.clone()[r.type](), !p.ok)
298
- throw b.value = d || null, new Error(p.statusText);
299
- return a.afterFetch && ({ data: B } = await a.afterFetch({
300
- data: B,
301
- response: p,
302
- context: C,
303
- execute: D
304
- })), b.value = B, l.trigger(p), p;
305
- }).catch(async (p) => {
306
- let U = p.message || p.name;
307
- if (a.onFetchError && ({ error: U, data: B } = await a.onFetchError({
308
- data: B,
309
- error: p,
310
- response: F.value,
311
- context: C,
312
- execute: D
313
- })), A.value = U, a.updateDataOnError && (b.value = B), m.trigger(p), u)
314
- throw p;
344
+ ).then(async (z) => {
345
+ if (x.value = z, y.value = z.status, L = await z.clone()[a.type](), !z.ok)
346
+ throw _.value = n || null, new Error(z.statusText);
347
+ return t.afterFetch && ({ data: L } = await t.afterFetch({
348
+ data: L,
349
+ response: z,
350
+ context: D,
351
+ execute: M
352
+ })), _.value = L, d.trigger(z), z;
353
+ }).catch(async (z) => {
354
+ let W = z.message || z.name;
355
+ if (t.onFetchError && ({ error: W, data: L } = await t.onFetchError({
356
+ data: L,
357
+ error: z,
358
+ response: x.value,
359
+ context: D,
360
+ execute: M
361
+ })), g.value = W, t.updateDataOnError && (_.value = L), h.trigger(z), k)
362
+ throw z;
315
363
  return null;
316
364
  }).finally(() => {
317
- H === J && q(!1), N && N.stop(), h.trigger(null);
365
+ J === re && ee(!1), R && R.stop(), p.trigger(null);
318
366
  });
319
- }, re = K(a.refetch);
320
- M(
367
+ }, fe = ne(t.refetch);
368
+ N(
321
369
  [
322
- re,
323
- K(e)
370
+ fe,
371
+ ne(e)
324
372
  ],
325
- ([u]) => u && D(),
373
+ ([k]) => k && M(),
326
374
  { deep: !0 }
327
375
  );
328
- const G = {
329
- isFinished: Z(f),
330
- isFetching: Z(k),
331
- statusCode: g,
332
- response: F,
333
- error: A,
334
- data: b,
335
- canAbort: V,
376
+ const q = {
377
+ isFinished: se(f),
378
+ isFetching: se(m),
379
+ statusCode: y,
380
+ response: x,
381
+ error: g,
382
+ data: _,
383
+ canAbort: F,
336
384
  aborted: w,
337
- abort: W,
338
- execute: D,
339
- onFetchResponse: l.on,
340
- onFetchError: m.on,
341
- onFetchFinally: h.on,
385
+ abort: Z,
386
+ execute: M,
387
+ onFetchResponse: d.on,
388
+ onFetchError: h.on,
389
+ onFetchFinally: p.on,
342
390
  // method
343
391
  get: O("GET"),
344
392
  put: O("PUT"),
@@ -348,74 +396,125 @@ function Ie(e, ...t) {
348
396
  head: O("HEAD"),
349
397
  options: O("OPTIONS"),
350
398
  // type
351
- json: I("json"),
352
- text: I("text"),
353
- blob: I("blob"),
354
- arrayBuffer: I("arrayBuffer"),
355
- formData: I("formData")
399
+ json: G("json"),
400
+ text: G("text"),
401
+ blob: G("blob"),
402
+ arrayBuffer: G("arrayBuffer"),
403
+ formData: G("formData")
356
404
  };
357
- function O(u) {
358
- return (z, $) => {
359
- if (!k.value)
360
- return r.method = u, r.payload = z, r.payloadType = $, se(r.payload) && M(
405
+ function O(k) {
406
+ return (P, K) => {
407
+ if (!m.value)
408
+ return a.method = k, a.payload = P, a.payloadType = K, X(a.payload) && N(
361
409
  [
362
- re,
363
- K(r.payload)
410
+ fe,
411
+ ne(a.payload)
364
412
  ],
365
- ([H]) => H && D(),
413
+ ([J]) => J && M(),
366
414
  { deep: !0 }
367
415
  ), {
368
- ...G,
369
- then(H, j) {
370
- return Q().then(H, j);
416
+ ...q,
417
+ then(J, B) {
418
+ return oe().then(J, B);
371
419
  }
372
420
  };
373
421
  };
374
422
  }
375
- function Q() {
376
- return new Promise((u, z) => {
377
- De(f).toBe(!0).then(() => u(G)).catch(z);
423
+ function oe() {
424
+ return new Promise((k, P) => {
425
+ or(f).toBe(!0).then(() => k(q)).catch(P);
378
426
  });
379
427
  }
380
- function I(u) {
428
+ function G(k) {
381
429
  return () => {
382
- if (!k.value)
383
- return r.type = u, {
384
- ...G,
385
- then(z, $) {
386
- return Q().then(z, $);
430
+ if (!m.value)
431
+ return a.type = k, {
432
+ ...q,
433
+ then(P, K) {
434
+ return oe().then(P, K);
387
435
  }
388
436
  };
389
437
  };
390
438
  }
391
- return a.immediate && Promise.resolve().then(() => D()), {
392
- ...G,
393
- then(u, z) {
394
- return Q().then(u, z);
439
+ return t.immediate && Promise.resolve().then(() => M()), {
440
+ ...q,
441
+ then(k, P) {
442
+ return oe().then(k, P);
395
443
  }
396
444
  };
397
445
  }
398
- function He(e, t = 3e4, {
446
+ function dr(e, r, o, c = {}) {
447
+ var l, i, t;
448
+ const {
449
+ clone: a = !1,
450
+ passive: s = !1,
451
+ eventName: n,
452
+ deep: v = !1,
453
+ defaultValue: d,
454
+ shouldEmit: h
455
+ } = c, p = Be(), f = o || p?.emit || ((l = p?.$emit) == null ? void 0 : l.bind(p)) || ((t = (i = p?.proxy) == null ? void 0 : i.$emit) == null ? void 0 : t.bind(p?.proxy));
456
+ let m = n;
457
+ r || (r = "modelValue"), m = m || `update:${r.toString()}`;
458
+ const w = (g) => a ? typeof a == "function" ? a(g) : lr(g) : g, y = () => Ye(e[r]) ? w(e[r]) : d, x = (g) => {
459
+ h ? h(g) && f(m, g) : f(m, g);
460
+ };
461
+ if (s) {
462
+ const g = y(), _ = _e(g);
463
+ let F = !1;
464
+ return N(
465
+ () => e[r],
466
+ (A) => {
467
+ F || (F = !0, _.value = w(A), ce(() => F = !1));
468
+ }
469
+ ), N(
470
+ _,
471
+ (A) => {
472
+ !F && (A !== e[r] || v) && x(A);
473
+ },
474
+ { deep: v }
475
+ ), _;
476
+ } else
477
+ return $({
478
+ get() {
479
+ return y();
480
+ },
481
+ set(g) {
482
+ x(g);
483
+ }
484
+ });
485
+ }
486
+ function mr(e, r, o = {}) {
487
+ const c = {};
488
+ for (const l in e)
489
+ c[l] = dr(
490
+ e,
491
+ l,
492
+ r,
493
+ o
494
+ );
495
+ return c;
496
+ }
497
+ function pr(e, r = 3e4, {
399
498
  check: o,
400
- set: s
499
+ set: c
401
500
  }) {
402
- const { start: n, stop: c } = he(r, t, { immediate: !1 });
403
- Me(e, "click", (i) => {
404
- i.target === x(e) && r();
405
- }), M(e, (i) => {
406
- i && (o?.() || (a(), n()));
501
+ const { start: l, stop: i } = Ee(a, r, { immediate: !1 });
502
+ nr(e, "click", (s) => {
503
+ s.target === u(e) && a();
504
+ }), N(e, (s) => {
505
+ s && (o?.() || (t(), l()));
407
506
  });
408
- function a() {
409
- s?.(), x(e).showModal();
507
+ function t() {
508
+ c?.(), u(e).showModal();
410
509
  }
411
- function r() {
412
- x(e).close(), c();
510
+ function a() {
511
+ u(e).close(), i();
413
512
  }
414
513
  return {
415
- hide: r
514
+ hide: a
416
515
  };
417
516
  }
418
- const Ue = ["width", "height"], Ve = ["src", "type"], Ge = { key: 1 }, Le = ["srcset", "media"], We = ["src"], qe = ["src"], ce = /* @__PURE__ */ ze({
517
+ const vr = ["width", "height"], hr = ["src", "type"], ur = { key: 1 }, fr = ["srcset", "media"], wr = ["src"], gr = ["src"], ze = /* @__PURE__ */ De({
419
518
  __name: "Media",
420
519
  props: {
421
520
  currentAd: {
@@ -428,56 +527,56 @@ const Ue = ["width", "height"], Ve = ["src", "type"], Ge = { key: 1 }, Le = ["sr
428
527
  }
429
528
  },
430
529
  setup(e) {
431
- const t = e, o = L(() => `(min-width: ${t.currentAd?.breakpoint || t.mobileBreakpoint})`);
432
- function s(n) {
433
- return `${pe.replace("/vbr", "")}${n}`;
530
+ const r = e, o = $(() => `(min-width: ${r.currentAd?.breakpoint || r.mobileBreakpoint})`);
531
+ function c(l) {
532
+ return `${Se}${l}`;
434
533
  }
435
- return (n, c) => (T(), de(Te(e.currentAd.link ? "a" : "div"), {
534
+ return (l, i) => (b(), Y(Le(e.currentAd.link ? "a" : "div"), {
436
535
  href: e.currentAd.link || void 0
437
536
  }, {
438
- default: Ae(() => [
439
- e.currentAd.media[0]?.mediaType?.includes("video") ? (T(), S("video", {
537
+ default: C(() => [
538
+ e.currentAd.media[0]?.mediaType?.includes("video") ? (b(), I("video", {
440
539
  key: 0,
441
540
  width: e.currentAd.media[0].width,
442
541
  height: e.currentAd.media[0].height,
443
542
  autoplay: "",
444
543
  muted: ""
445
544
  }, [
446
- me("source", {
545
+ T("source", {
447
546
  src: e.currentAd.media[0]?.media,
448
547
  type: e.currentAd.media[0]?.mediaType
449
- }, null, 8, Ve)
450
- ], 8, Ue)) : (T(), S("picture", Ge, [
451
- e.currentAd.type === "responsive" ? (T(), S("source", {
548
+ }, null, 8, hr)
549
+ ], 8, vr)) : (b(), I("picture", ur, [
550
+ e.currentAd.type === "responsive" ? (b(), I("source", {
452
551
  key: 0,
453
- srcset: s(e.currentAd.media[1].path),
552
+ srcset: c(e.currentAd.media[1].path),
454
553
  media: o.value
455
- }, null, 8, Le)) : ue("", !0),
456
- e.currentAd.type === "popover" ? (T(), S("img", {
554
+ }, null, 8, fr)) : ve("", !0),
555
+ e.currentAd.type === "popover" ? (b(), I("img", {
457
556
  key: 1,
458
- src: s(e.currentAd.media[0].path),
459
- style: Ee(`width: clamp(0px, ${e.currentAd.media[0].width}px, 750px); height: auto;`)
460
- }, null, 12, We)) : (T(), S("img", {
557
+ src: c(e.currentAd.media[0].path),
558
+ style: Ve(`width: clamp(0px, ${e.currentAd.media[0].width}px, 750px); height: auto;`)
559
+ }, null, 12, wr)) : (b(), I("img", {
461
560
  key: 2,
462
- src: s(e.currentAd.media[0].path)
463
- }, null, 8, qe))
561
+ src: c(e.currentAd.media[0].path)
562
+ }, null, 8, gr))
464
563
  ]))
465
564
  ]),
466
565
  _: 1
467
566
  }, 8, ["href"]));
468
567
  }
469
- }), Je = 'dialog[data-v-27c6fb4c]:open{display:grid;grid-template-areas:"stack";opacity:1}dialog[data-v-27c6fb4c]{--popover-padding: var(--size-10);padding:var(--popover-padding);border-radius:8px;background-color:var(--mvw-color-white);opacity:0;transition:opacity .3s,overlay .3s allow-discrete,display .3s allow-discrete}dialog[data-v-27c6fb4c] :is(button,a){grid-area:stack}dialog[data-v-27c6fb4c] :where(a){outline:none}dialog[data-v-27c6fb4c] :where(img,video){display:block;object-fit:cover}dialog button[data-v-27c6fb4c]{align-self:start;justify-self:end}@starting-style{dialog[data-v-27c6fb4c]:open{opacity:0}}dialog[data-v-27c6fb4c]::backdrop{background-color:transparent;transition:display .3s allow-discrete,overlay .3s allow-discrete,background-color .3s;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}dialog[data-v-27c6fb4c]:open::backdrop{background-color:#000000bf}@starting-style{dialog[data-v-27c6fb4c]:open::backdrop{background-color:transparent}}.ad-placement-tool[data-v-27c6fb4c] :where(img,video){opacity:1}.ad-placement-tool .close[data-v-27c6fb4c]{position:absolute;right:calc(var(--popover-padding) * -1);top:calc(var(--popover-padding) * -1);width:24px;height:24px;margin:0;padding:0;background:#fff;border:none;border-end-start-radius:8px}.ad-placement-tool .close[data-v-27c6fb4c]:before,.ad-placement-tool .close[data-v-27c6fb4c]:after{position:absolute;left:43%;top:5px;content:" ";height:16px;width:2px;background-color:#333}.ad-placement-tool .close[data-v-27c6fb4c]:before{transform:rotate(45deg)}.ad-placement-tool .close[data-v-27c6fb4c]:after{transform:rotate(-45deg)}', Qe = '@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:inline-block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-link-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-200));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}:where(a[href]){color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:var(--mvw-link-hover-color)}:where(a[href]):visited{color:var(--mvw-link-color)}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}', Re = (e, t) => {
568
+ }), br = 'dialog[data-v-1cbe9cd1]:open{display:grid;grid-template-areas:"stack";opacity:1}dialog[data-v-1cbe9cd1]{--popover-padding: var(--size-10);padding:var(--popover-padding);border-radius:8px;background-color:var(--mvw-color-white);opacity:0;transition:opacity .3s,overlay .3s allow-discrete,display .3s allow-discrete}dialog[data-v-1cbe9cd1] :is(button,a){grid-area:stack}dialog[data-v-1cbe9cd1] :where(a){outline:none}dialog[data-v-1cbe9cd1] :where(img,video){display:block;object-fit:cover}dialog button[data-v-1cbe9cd1]{align-self:start;justify-self:end}@starting-style{dialog[data-v-1cbe9cd1]:open{opacity:0}}dialog[data-v-1cbe9cd1]::backdrop{background-color:transparent;transition:display .3s allow-discrete,overlay .3s allow-discrete,background-color .3s;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}dialog[data-v-1cbe9cd1]:open::backdrop{background-color:#000000bf}@starting-style{dialog[data-v-1cbe9cd1]:open::backdrop{background-color:transparent}}.ad-placement-tool[data-v-1cbe9cd1] :where(img,video){opacity:1}.ad-placement-tool .close[data-v-1cbe9cd1]{position:absolute;right:calc(var(--popover-padding) * -1);top:calc(var(--popover-padding) * -1);width:24px;height:24px;margin:0;padding:0;background:#fff;border:none;border-end-start-radius:8px}.ad-placement-tool .close[data-v-1cbe9cd1]:before,.ad-placement-tool .close[data-v-1cbe9cd1]:after{position:absolute;left:43%;top:5px;content:" ";height:16px;width:2px;background-color:#333}.ad-placement-tool .close[data-v-1cbe9cd1]:before{transform:rotate(45deg)}.ad-placement-tool .close[data-v-1cbe9cd1]:after{transform:rotate(-45deg)}', yr = '@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-link-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-200));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}:where(a[href]){color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:var(--mvw-link-hover-color)}:where(a[href]):visited{color:var(--mvw-link-color)}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}', Pe = (e, r) => {
470
569
  const o = e.__vccOpts || e;
471
- for (const [s, n] of t)
472
- o[s] = n;
570
+ for (const [c, l] of r)
571
+ o[c] = l;
473
572
  return o;
474
- }, Ke = {
573
+ }, xr = {
475
574
  key: 0,
476
575
  class: "ad-placement-tool"
477
- }, Xe = {
576
+ }, kr = {
478
577
  key: 0,
479
578
  ref: "popover"
480
- }, Ye = {
579
+ }, zr = {
481
580
  __name: "AdPlacement.ce",
482
581
  props: {
483
582
  areaId: {
@@ -490,38 +589,332 @@ const Ue = ["width", "height"], Ve = ["src", "type"], Ge = { key: 1 }, Le = ["sr
490
589
  }
491
590
  },
492
591
  setup(e) {
493
- const t = e, o = Fe("popover"), { isFinished: s, data: n, error: c } = Ie(`${pe.replace("/vbr", "")}/internal/ad-placement?areaid=${t.areaId}`, { timeout: 1e3 }).get().json(), { hide: a } = He(o, L(() => n.value?.closeTimeout ?? 3e4), {
494
- check: () => ne.checkCookie(`mjsz-popover-${n.value?._id}`),
495
- set: () => ne.setCookie(`mjsz-popover-${n.value?._id}`, 1, n.value?.expiration ?? 1)
592
+ const r = e, o = Ue("popover"), { isFinished: c, data: l, error: i } = cr(`${Se}/internal/ad-placement?areaid=${r.areaId}`, { timeout: 1e3 }).get().json(), { hide: t } = pr(o, $(() => l.value?.closeTimeout ?? 3e4), {
593
+ check: () => ge.checkCookie(`mjsz-popover-${l.value?._id}`),
594
+ set: () => ge.setCookie(`mjsz-popover-${l.value?._id}`, 1, l.value?.expiration ?? 1)
496
595
  });
497
- return (r, i) => x(s) && !x(c) ? (T(), S("div", Ke, [
498
- x(n).type === "popover" ? (T(), S("dialog", Xe, [
499
- Pe(ce, {
500
- "current-ad": x(n),
596
+ return (a, s) => u(c) && !u(i) ? (b(), I("div", xr, [
597
+ u(l).type === "popover" ? (b(), I("dialog", kr, [
598
+ S(ze, {
599
+ "current-ad": u(l),
501
600
  "mobile-breakpoint": e.mobileBreakpoint
502
601
  }, null, 8, ["current-ad", "mobile-breakpoint"]),
503
- me("button", {
602
+ T("button", {
504
603
  type: "button",
505
604
  class: "close",
506
- onClick: i[0] || (i[0] = (...d) => x(a) && x(a)(...d))
605
+ onClick: s[0] || (s[0] = (...n) => u(t) && u(t)(...n))
507
606
  })
508
- ], 512)) : (T(), de(ce, {
607
+ ], 512)) : (b(), Y(ze, {
509
608
  key: 1,
510
- "current-ad": x(n),
609
+ "current-ad": u(l),
511
610
  "mobile-breakpoint": e.mobileBreakpoint
512
611
  }, null, 8, ["current-ad", "mobile-breakpoint"]))
513
- ])) : ue("", !0);
612
+ ])) : ve("", !0);
613
+ }
614
+ }, _r = /* @__PURE__ */ Pe(zr, [["styles", [br, yr]], ["__scopeId", "data-v-1cbe9cd1"]]), Ir = { seasons: "Seasons", sections: "Sections", phases: "Phases", phasesDivision: "Phases (phase-Name=division)", championships: "Championships", championshipName: "Championship Name (Championship-Name):", championshipId: "Championship Identifier (Championship-id):", seasonId: "Season Identifier (season-Id):" }, Cr = {
615
+ selection: Ir
616
+ }, Sr = { seasons: "Szezonok", sections: "Szakaszok", phases: "Szakaszok", phasesDivision: "Fázisok (phase-Name=division)", championships: "Bajnokságok", championshipName: "Bajnokság Neve (Championship-Name):", championshipId: "Bajnokság azonosító (Championship-id):", seasonId: "Szezon azonosító (season-Id):" }, Ar = {
617
+ selection: Sr
618
+ }, ue = (e) => (r) => Re(e, Ge(r));
619
+ function Er(e, r) {
620
+ r.seasonsList = e, r.seasonId = ue("id")(e);
621
+ }
622
+ function Tr(e, r) {
623
+ r.championshipList = e, r.championshipId = ue("championshipId")(e);
624
+ }
625
+ function Pr(e, r) {
626
+ r.sections = e, r.sectionId = ue("sectionId")(e);
627
+ }
628
+ const Fr = {
629
+ __name: "DataProvider",
630
+ props: {
631
+ apiKey: {
632
+ type: String,
633
+ default: ""
634
+ },
635
+ locale: {
636
+ type: String,
637
+ default: "hu"
638
+ }
639
+ },
640
+ setup(e) {
641
+ const r = e, o = Ie({
642
+ seasonsList: [],
643
+ seasonId: null,
644
+ championshipList: [],
645
+ championshipId: null,
646
+ sections: [],
647
+ sectionId: null
648
+ }), { onError: c } = Qe(), { isLoading: l, execute: i } = te({
649
+ options: {
650
+ path: "/v2/all-season-list",
651
+ apiKey: r.apiKey,
652
+ params: {}
653
+ },
654
+ transform: (m) => Er(m, o),
655
+ onError: c
656
+ }), { isLoading: t, execute: a } = te({
657
+ options: {
658
+ path: "/v2/championship-list",
659
+ apiKey: r.apiKey,
660
+ params: $(() => ({ seasonId: o.seasonId }))
661
+ },
662
+ transform: (m) => Tr(m, o),
663
+ onError: c
664
+ }), {
665
+ isLoading: s,
666
+ execute: n
667
+ } = te({
668
+ options: {
669
+ path: "/v2/championship-sections",
670
+ apiKey: r.apiKey,
671
+ params: $(() => ({ championshipId: o.championshipId }))
672
+ },
673
+ transform: (m) => Pr(m, o),
674
+ onError: c
675
+ }), v = $(() => o.sections?.find((m) => m.sectionId === o.sectionId)?.phases ?? []);
676
+ xe([i, a, n]);
677
+ const d = $(() => [l.value, t.value, s.value].some(Boolean));
678
+ function h(m) {
679
+ o.seasonId = m, xe([a, n]);
680
+ }
681
+ function p(m) {
682
+ o.championshipId = m, n();
683
+ }
684
+ function f(m) {
685
+ o.sectionId = m;
686
+ }
687
+ return (m, w) => Me(m.$slots, "default", Ke(He({
688
+ ...o,
689
+ isLoading: d.value,
690
+ phaseData: v.value,
691
+ onChangeSeason: h,
692
+ onChangeSection: f,
693
+ onChangeChampionship: p
694
+ })));
695
+ }
696
+ }, jr = ["value"], $r = ["value"], Nr = {
697
+ __name: "Selector",
698
+ props: {
699
+ seasonsList: {
700
+ type: Array,
701
+ default: () => []
702
+ },
703
+ seasonId: {
704
+ type: Number,
705
+ default: null
706
+ },
707
+ championshipList: {
708
+ type: Array,
709
+ default: () => []
710
+ },
711
+ championshipId: {
712
+ type: Number,
713
+ default: null
714
+ }
715
+ },
716
+ emits: ["update:seasonId", "update:championshipId"],
717
+ setup(e, { emit: r }) {
718
+ const o = e, c = r, { t: l } = Xe(), { seasonId: i, championshipId: t } = mr(o, c);
719
+ return (a, s) => (b(), I(Q, null, [
720
+ S(u(U), {
721
+ label: u(l)("selection.seasons"),
722
+ name: "season",
723
+ class: "full-width mb-md"
724
+ }, {
725
+ default: C(() => [
726
+ S(u(be), {
727
+ id: "season",
728
+ modelValue: u(i),
729
+ "onUpdate:modelValue": s[0] || (s[0] = (n) => X(i) ? i.value = n : null)
730
+ }, {
731
+ default: C(() => [
732
+ (b(!0), I(Q, null, de(e.seasonsList, (n) => (b(), I("option", {
733
+ key: n.id,
734
+ value: n.id
735
+ }, V(n.seasonName), 9, jr))), 128))
736
+ ]),
737
+ _: 1
738
+ }, 8, ["modelValue"])
739
+ ]),
740
+ _: 1
741
+ }, 8, ["label"]),
742
+ S(u(U), {
743
+ label: u(l)("selection.championships"),
744
+ name: "championship",
745
+ class: "full-width"
746
+ }, {
747
+ default: C(() => [
748
+ S(u(be), {
749
+ id: "championship",
750
+ modelValue: u(t),
751
+ "onUpdate:modelValue": s[1] || (s[1] = (n) => X(t) ? t.value = n : null)
752
+ }, {
753
+ default: C(() => [
754
+ (b(!0), I(Q, null, de(e.championshipList, (n) => (b(), I("option", {
755
+ key: n.championshipId,
756
+ value: n.championshipId
757
+ }, V(n.championshipName), 9, $r))), 128))
758
+ ]),
759
+ _: 1
760
+ }, 8, ["modelValue"])
761
+ ]),
762
+ _: 1
763
+ }, 8, ["label"])
764
+ ], 64));
765
+ }
766
+ }, Or = '@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-link-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-200));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}:where(a[href]){color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:var(--mvw-link-hover-color)}:where(a[href]):visited{color:var(--mvw-link-color)}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}', Br = `@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`, Dr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-500));--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-300));--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Lr = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Vr = ".main-layout[data-v-71f9e995]{display:grid;gap:var(--size-16)}@media (width > 60ch){.main-layout[data-v-71f9e995]{grid-template-columns:25ch 1fr}}", Ur = { class: "main-layout" }, Mr = ["textContent"], Kr = ["textContent"], Hr = ["textContent"], Rr = {
767
+ id: "sections",
768
+ class: "tabs filled"
769
+ }, Gr = ["aria-label"], Jr = ["aria-selected", "onClick"], Wr = ["textContent"], qr = {
770
+ __name: "IvrIdentifiers.ce",
771
+ props: {
772
+ locale: {
773
+ type: String,
774
+ default: "hu"
775
+ },
776
+ apiKey: {
777
+ type: String,
778
+ default: ""
779
+ }
780
+ },
781
+ setup(e) {
782
+ const r = e, o = { en: Cr, hu: Ar };
783
+ return (c, l) => (b(), Y(u(Je), {
784
+ locale: r.locale,
785
+ messages: o
786
+ }, {
787
+ default: C(({ t: i }) => [
788
+ S(u(We), null, {
789
+ default: C(({ error: t, hasError: a }) => [
790
+ a ? (b(), Y(u(qe), {
791
+ key: 0,
792
+ error: t
793
+ }, null, 8, ["error"])) : ve("", !0),
794
+ S(Fr, null, {
795
+ default: C(({
796
+ seasonsList: s,
797
+ seasonId: n,
798
+ championshipList: v,
799
+ championshipId: d,
800
+ sections: h,
801
+ sectionId: p,
802
+ phaseData: f,
803
+ onChangeSeason: m,
804
+ onChangeSection: w,
805
+ onChangeChampionship: y
806
+ }) => [
807
+ T("div", Ur, [
808
+ T("div", null, [
809
+ S(Nr, {
810
+ "seasons-list": s,
811
+ "season-id": n,
812
+ "championship-list": v,
813
+ "championship-id": d,
814
+ "onUpdate:seasonId": m,
815
+ "onUpdate:championshipId": y
816
+ }, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
817
+ ]),
818
+ T("div", null, [
819
+ S(u(U), {
820
+ label: i("selection.championships"),
821
+ name: "seasonId",
822
+ class: "mb-md"
823
+ }, {
824
+ default: C(() => [
825
+ T("span", {
826
+ id: "seasonId",
827
+ textContent: V(n)
828
+ }, null, 8, Mr)
829
+ ]),
830
+ _: 2
831
+ }, 1032, ["label"]),
832
+ S(u(U), {
833
+ label: i("selection.championshipName"),
834
+ name: "championshipName",
835
+ class: "mb-md"
836
+ }, {
837
+ default: C(() => [
838
+ T("span", {
839
+ id: "championshipName",
840
+ textContent: V(v.find((x) => x.championshipId === d)?.championshipName)
841
+ }, null, 8, Kr)
842
+ ]),
843
+ _: 2
844
+ }, 1032, ["label"]),
845
+ S(u(U), {
846
+ label: i("selection.championshipId"),
847
+ name: "championshipId",
848
+ class: "mb-md"
849
+ }, {
850
+ default: C(() => [
851
+ T("span", {
852
+ id: "championshipId",
853
+ textContent: V(d)
854
+ }, null, 8, Hr)
855
+ ]),
856
+ _: 2
857
+ }, 1032, ["label"]),
858
+ S(u(U), {
859
+ label: i("selection.sections"),
860
+ name: "sections",
861
+ class: "mb-md"
862
+ }, {
863
+ default: C(() => [
864
+ T("nav", Rr, [
865
+ T("div", {
866
+ role: "tablist",
867
+ "aria-label": i("selection.sections")
868
+ }, [
869
+ (b(!0), I(Q, null, de(h, (x) => (b(), I("button", {
870
+ key: x.phaseId,
871
+ role: "tab",
872
+ "aria-selected": x.sectionId === p,
873
+ onClick: (g) => w(x.sectionId)
874
+ }, V(x.sectionName), 9, Jr))), 128))
875
+ ], 8, Gr)
876
+ ])
877
+ ]),
878
+ _: 2
879
+ }, 1032, ["label"]),
880
+ S(u(U), {
881
+ label: i("selection.phasesDivision"),
882
+ name: "phases",
883
+ class: "mb-md"
884
+ }, {
885
+ default: C(() => [
886
+ T("pre", {
887
+ id: "phases",
888
+ style: { "--_height": "auto" },
889
+ textContent: V(f)
890
+ }, null, 8, Wr)
891
+ ]),
892
+ _: 2
893
+ }, 1032, ["label"])
894
+ ])
895
+ ])
896
+ ]),
897
+ _: 2
898
+ }, 1024)
899
+ ]),
900
+ _: 2
901
+ }, 1024)
902
+ ]),
903
+ _: 1
904
+ }, 8, ["locale"]));
514
905
  }
515
- }, Ze = /* @__PURE__ */ Re(Ye, [["styles", [Je, Qe]], ["__scopeId", "data-v-27c6fb4c"]]), et = Oe(Ze);
516
- function tt() {
517
- customElements.define("mjsz-ad-placement", et);
906
+ }, Qr = /* @__PURE__ */ Pe(qr, [["styles", [Or, Br, Dr, Lr, Vr]], ["__scopeId", "data-v-71f9e995"]]), Xr = Ce(_r), Yr = Ce(Qr);
907
+ function Zr() {
908
+ customElements.define("mjsz-ad-placement", Xr), customElements.define("mjsz-ivr-identifiers", Yr);
518
909
  }
519
- const nt = {
520
- install: () => tt()
910
+ const no = {
911
+ install: () => Zr()
521
912
  };
522
913
  export {
523
- Ze as AdPlacement,
524
- et as AdPlacementCE,
525
- nt as default,
526
- tt as register
914
+ _r as AdPlacement,
915
+ Xr as AdPlacementCE,
916
+ Qr as IVRIdentifiers,
917
+ Yr as IVRIdentifiersCE,
918
+ no as default,
919
+ Zr as register
527
920
  };