fansunited-frontend-components 0.0.32 → 0.0.33
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/ClassicQuizPlay.js +2 -2
- package/EventGamePlay.js +3346 -2972
- package/MatchQuizPlay.js +1186 -1178
- package/PersonalityQuizPlay.js +839 -799
- package/PollVote.js +3 -3
- package/chunks/{Error-D0HPar1M.js → Error-DRnLP9GC.js} +1 -1
- package/chunks/{OverlayLeadAfterCollection-CwqTKIoQ.js → OverlayLeadAfterCollection-Uxf4kZ42.js} +1 -1
- package/chunks/{OverlayScoreStateSkeleton-CR-b8BTk.js → OverlayScoreStateSkeleton-DD-LpNq6.js} +1 -1
- package/chunks/{index-CsLtqiB_.js → index-Bwmh7c-g.js} +508 -463
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var po = Object.defineProperty;
|
|
2
2
|
var yo = (e, t, o) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
3
|
var r = (e, t, o) => yo(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
-
import { jsxs as
|
|
5
|
-
import { aM as Vt, N as a, q as
|
|
4
|
+
import { jsxs as E, jsx as d, Fragment as Q } from "react/jsx-runtime";
|
|
5
|
+
import { aM as Vt, N as a, q as Ie, a0 as ue, a1 as xo, aq as lt, $ as ze, D as bo, _ as F, G as fe, F as se, H as X, I as he, J as me, K as ne, O as J, Q as ge, Y as Co, a7 as _o, a8 as To, a4 as Be, ay as Ht, a$ as vo, b0 as So, p as at, a2 as we, n as Eo, ap as Ro, aL as Io, b1 as Oo, d as j, B as y, b2 as Ao, ae as Ae, ag as Ce, T as P, ab as ct, k as Do, ad as Lo, c as ce, b as Z, a as le, i as pe, b3 as ke, u as ye, e as xe, W as ie, h as dt, g as zt, s as K, af as Gt, l as Wt, f as ut, m as No, aZ as ft, j as Mo } from "./Portal-Cvhw2F3y.js";
|
|
6
6
|
import * as L from "react";
|
|
7
7
|
import { useState as Po } from "react";
|
|
8
8
|
function wo(e) {
|
|
@@ -25,7 +25,7 @@ function Bt(e, t, o, n, l) {
|
|
|
25
25
|
}
|
|
26
26
|
const ht = Vt(a.element, Bt);
|
|
27
27
|
ht.isRequired = Vt(a.element.isRequired, Bt);
|
|
28
|
-
function
|
|
28
|
+
function Ot(...e) {
|
|
29
29
|
return e.reduce((t, o) => o == null ? t : function(...l) {
|
|
30
30
|
t.apply(this, l), o.apply(this, l);
|
|
31
31
|
}, () => {
|
|
@@ -47,33 +47,33 @@ function Ho(e) {
|
|
|
47
47
|
let o = t(`[name="${e.name}"]:checked`);
|
|
48
48
|
return o || (o = t(`[name="${e.name}"]`)), o !== e;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function zo(e) {
|
|
51
51
|
return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Ho(e));
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Go(e) {
|
|
54
54
|
const t = [], o = [];
|
|
55
55
|
return Array.from(e.querySelectorAll(Fo)).forEach((n, l) => {
|
|
56
56
|
const s = Vo(n);
|
|
57
|
-
s === -1 || !
|
|
57
|
+
s === -1 || !zo(n) || (s === 0 ? t.push(n) : o.push({
|
|
58
58
|
documentOrder: l,
|
|
59
59
|
tabIndex: s,
|
|
60
60
|
node: n
|
|
61
61
|
}));
|
|
62
62
|
}), o.sort((n, l) => n.tabIndex === l.tabIndex ? n.documentOrder - l.documentOrder : n.tabIndex - l.tabIndex).map((n) => n.node).concat(t);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function Wo() {
|
|
65
65
|
return !0;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Ge(e) {
|
|
68
68
|
const {
|
|
69
69
|
children: t,
|
|
70
70
|
disableAutoFocus: o = !1,
|
|
71
71
|
disableEnforceFocus: n = !1,
|
|
72
72
|
disableRestoreFocus: l = !1,
|
|
73
|
-
getTabbable: s =
|
|
74
|
-
isEnabled: h =
|
|
73
|
+
getTabbable: s = Go,
|
|
74
|
+
isEnabled: h = Wo,
|
|
75
75
|
open: c
|
|
76
|
-
} = e, m = L.useRef(!1), u = L.useRef(null), f = L.useRef(null), x = L.useRef(null), _ = L.useRef(null), b = L.useRef(!1), C = L.useRef(null), S =
|
|
76
|
+
} = e, m = L.useRef(!1), u = L.useRef(null), f = L.useRef(null), x = L.useRef(null), _ = L.useRef(null), b = L.useRef(!1), C = L.useRef(null), S = Ie(t.ref, C), O = L.useRef(null);
|
|
77
77
|
L.useEffect(() => {
|
|
78
78
|
!c || !C.current || (b.current = !o);
|
|
79
79
|
}, [o, c]), L.useEffect(() => {
|
|
@@ -88,7 +88,7 @@ function We(e) {
|
|
|
88
88
|
if (!c || !C.current)
|
|
89
89
|
return;
|
|
90
90
|
const v = ue(C.current), w = (p) => {
|
|
91
|
-
|
|
91
|
+
O.current = p, !(n || !h() || p.key !== "Tab") && v.activeElement === C.current && p.shiftKey && (m.current = !0, f.current && f.current.focus());
|
|
92
92
|
}, N = () => {
|
|
93
93
|
const p = C.current;
|
|
94
94
|
if (p === null)
|
|
@@ -107,8 +107,8 @@ function We(e) {
|
|
|
107
107
|
return;
|
|
108
108
|
let g = [];
|
|
109
109
|
if ((v.activeElement === u.current || v.activeElement === f.current) && (g = s(C.current)), g.length > 0) {
|
|
110
|
-
var T,
|
|
111
|
-
const A = !!((T =
|
|
110
|
+
var T, I;
|
|
111
|
+
const A = !!((T = O.current) != null && T.shiftKey && ((I = O.current) == null ? void 0 : I.key) === "Tab"), M = g[0], k = g[g.length - 1];
|
|
112
112
|
typeof M != "string" && typeof k != "string" && (A ? k.focus() : M.focus());
|
|
113
113
|
} else
|
|
114
114
|
p.focus();
|
|
@@ -121,14 +121,14 @@ function We(e) {
|
|
|
121
121
|
clearInterval(i), v.removeEventListener("focusin", N), v.removeEventListener("keydown", w, !0);
|
|
122
122
|
};
|
|
123
123
|
}, [o, n, l, h, c, s]);
|
|
124
|
-
const
|
|
124
|
+
const R = (v) => {
|
|
125
125
|
x.current === null && (x.current = v.relatedTarget), b.current = !0, _.current = v.target;
|
|
126
126
|
const w = t.props.onFocus;
|
|
127
127
|
w && w(v);
|
|
128
128
|
}, D = (v) => {
|
|
129
129
|
x.current === null && (x.current = v.relatedTarget), b.current = !0;
|
|
130
130
|
};
|
|
131
|
-
return /* @__PURE__ */
|
|
131
|
+
return /* @__PURE__ */ E(L.Fragment, {
|
|
132
132
|
children: [/* @__PURE__ */ d("div", {
|
|
133
133
|
tabIndex: c ? 0 : -1,
|
|
134
134
|
onFocus: D,
|
|
@@ -136,7 +136,7 @@ function We(e) {
|
|
|
136
136
|
"data-testid": "sentinelStart"
|
|
137
137
|
}), /* @__PURE__ */ L.cloneElement(t, {
|
|
138
138
|
ref: S,
|
|
139
|
-
onFocus:
|
|
139
|
+
onFocus: R
|
|
140
140
|
}), /* @__PURE__ */ d("div", {
|
|
141
141
|
tabIndex: c ? 0 : -1,
|
|
142
142
|
onFocus: D,
|
|
@@ -145,7 +145,7 @@ function We(e) {
|
|
|
145
145
|
})]
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
process.env.NODE_ENV !== "production" && (
|
|
148
|
+
process.env.NODE_ENV !== "production" && (Ge.propTypes = {
|
|
149
149
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
150
150
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
151
151
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -199,12 +199,12 @@ process.env.NODE_ENV !== "production" && (We.propTypes = {
|
|
|
199
199
|
*/
|
|
200
200
|
open: a.bool.isRequired
|
|
201
201
|
});
|
|
202
|
-
process.env.NODE_ENV !== "production" && (
|
|
202
|
+
process.env.NODE_ENV !== "production" && (Ge.propTypes = xo(Ge.propTypes));
|
|
203
203
|
function Bo(e) {
|
|
204
204
|
const t = ue(e);
|
|
205
205
|
return t.body === e ? lt(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Oe(e, t) {
|
|
208
208
|
t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
|
|
209
209
|
}
|
|
210
210
|
function At(e) {
|
|
@@ -218,7 +218,7 @@ function Dt(e, t, o, n, l) {
|
|
|
218
218
|
const s = [t, o, ...n];
|
|
219
219
|
[].forEach.call(e.children, (h) => {
|
|
220
220
|
const c = s.indexOf(h) === -1, m = !jo(h);
|
|
221
|
-
c && m &&
|
|
221
|
+
c && m && Oe(h, l);
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
224
|
function et(e, t) {
|
|
@@ -289,7 +289,7 @@ class $o {
|
|
|
289
289
|
let n = this.modals.indexOf(t);
|
|
290
290
|
if (n !== -1)
|
|
291
291
|
return n;
|
|
292
|
-
n = this.modals.length, this.modals.push(t), t.modalRef &&
|
|
292
|
+
n = this.modals.length, this.modals.push(t), t.modalRef && Oe(t.modalRef, !1);
|
|
293
293
|
const l = Yo(o);
|
|
294
294
|
Dt(o, t.mount, t.modalRef, l, !0);
|
|
295
295
|
const s = et(this.containers, (h) => h.container === o);
|
|
@@ -310,10 +310,10 @@ class $o {
|
|
|
310
310
|
return n;
|
|
311
311
|
const l = et(this.containers, (h) => h.modals.indexOf(t) !== -1), s = this.containers[l];
|
|
312
312
|
if (s.modals.splice(s.modals.indexOf(t), 1), this.modals.splice(n, 1), s.modals.length === 0)
|
|
313
|
-
s.restore && s.restore(), t.modalRef &&
|
|
313
|
+
s.restore && s.restore(), t.modalRef && Oe(t.modalRef, o), Dt(s.container, t.mount, t.modalRef, s.hiddenSiblings, !1), this.containers.splice(l, 1);
|
|
314
314
|
else {
|
|
315
315
|
const h = s.modals[s.modals.length - 1];
|
|
316
|
-
h.modalRef &&
|
|
316
|
+
h.modalRef && Oe(h.modalRef, !1);
|
|
317
317
|
}
|
|
318
318
|
return n;
|
|
319
319
|
}
|
|
@@ -324,17 +324,17 @@ class $o {
|
|
|
324
324
|
function Ko(e) {
|
|
325
325
|
return typeof e == "function" ? e() : e;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function qo(e) {
|
|
328
328
|
return e ? e.props.hasOwnProperty("in") : !1;
|
|
329
329
|
}
|
|
330
|
-
const
|
|
330
|
+
const Xo = new $o();
|
|
331
331
|
function Jo(e) {
|
|
332
332
|
const {
|
|
333
333
|
container: t,
|
|
334
334
|
disableEscapeKeyDown: o = !1,
|
|
335
335
|
disableScrollLock: n = !1,
|
|
336
336
|
// @ts-ignore internal logic - Base UI supports the manager as a prop too
|
|
337
|
-
manager: l =
|
|
337
|
+
manager: l = Xo,
|
|
338
338
|
closeAfterTransition: s = !1,
|
|
339
339
|
onTransitionEnter: h,
|
|
340
340
|
onTransitionExited: c,
|
|
@@ -342,39 +342,39 @@ function Jo(e) {
|
|
|
342
342
|
onClose: u,
|
|
343
343
|
open: f,
|
|
344
344
|
rootRef: x
|
|
345
|
-
} = e, _ = L.useRef({}), b = L.useRef(null), C = L.useRef(null), S =
|
|
345
|
+
} = e, _ = L.useRef({}), b = L.useRef(null), C = L.useRef(null), S = Ie(C, x), [O, R] = L.useState(!f), D = qo(m);
|
|
346
346
|
let v = !0;
|
|
347
347
|
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (v = !1);
|
|
348
348
|
const w = () => ue(b.current), N = () => (_.current.modalRef = C.current, _.current.mount = b.current, _.current), i = () => {
|
|
349
349
|
l.mount(N(), {
|
|
350
350
|
disableScrollLock: n
|
|
351
351
|
}), C.current && (C.current.scrollTop = 0);
|
|
352
|
-
}, p =
|
|
353
|
-
const
|
|
354
|
-
l.add(N(),
|
|
355
|
-
}), g = L.useCallback(() => l.isTopModal(N()), [l]), T =
|
|
356
|
-
b.current =
|
|
357
|
-
}),
|
|
352
|
+
}, p = ze(() => {
|
|
353
|
+
const G = Ko(t) || w().body;
|
|
354
|
+
l.add(N(), G), C.current && i();
|
|
355
|
+
}), g = L.useCallback(() => l.isTopModal(N()), [l]), T = ze((G) => {
|
|
356
|
+
b.current = G, G && (f && g() ? i() : C.current && Oe(C.current, v));
|
|
357
|
+
}), I = L.useCallback(() => {
|
|
358
358
|
l.remove(N(), v);
|
|
359
359
|
}, [v, l]);
|
|
360
360
|
L.useEffect(() => () => {
|
|
361
|
-
|
|
362
|
-
}, [
|
|
363
|
-
f ? p() : (!D || !s) &&
|
|
364
|
-
}, [f,
|
|
365
|
-
const A = (
|
|
361
|
+
I();
|
|
362
|
+
}, [I]), L.useEffect(() => {
|
|
363
|
+
f ? p() : (!D || !s) && I();
|
|
364
|
+
}, [f, I, D, s, p]);
|
|
365
|
+
const A = (G) => (H) => {
|
|
366
366
|
var U;
|
|
367
|
-
(U =
|
|
367
|
+
(U = G.onKeyDown) == null || U.call(G, H), !(H.key !== "Escape" || H.which === 229 || // Wait until IME is settled.
|
|
368
368
|
!g()) && (o || (H.stopPropagation(), u && u(H, "escapeKeyDown")));
|
|
369
|
-
}, M = (
|
|
369
|
+
}, M = (G) => (H) => {
|
|
370
370
|
var U;
|
|
371
|
-
(U =
|
|
371
|
+
(U = G.onClick) == null || U.call(G, H), H.target === H.currentTarget && u && u(H, "backdropClick");
|
|
372
372
|
};
|
|
373
373
|
return {
|
|
374
|
-
getRootProps: (
|
|
374
|
+
getRootProps: (G = {}) => {
|
|
375
375
|
const H = bo(e);
|
|
376
376
|
delete H.onTransitionEnter, delete H.onTransitionExited;
|
|
377
|
-
const U = F({}, H,
|
|
377
|
+
const U = F({}, H, G);
|
|
378
378
|
return F({
|
|
379
379
|
role: "presentation"
|
|
380
380
|
}, U, {
|
|
@@ -382,8 +382,8 @@ function Jo(e) {
|
|
|
382
382
|
ref: S
|
|
383
383
|
});
|
|
384
384
|
},
|
|
385
|
-
getBackdropProps: (
|
|
386
|
-
const H =
|
|
385
|
+
getBackdropProps: (G = {}) => {
|
|
386
|
+
const H = G;
|
|
387
387
|
return F({
|
|
388
388
|
"aria-hidden": !0
|
|
389
389
|
}, H, {
|
|
@@ -392,28 +392,28 @@ function Jo(e) {
|
|
|
392
392
|
});
|
|
393
393
|
},
|
|
394
394
|
getTransitionProps: () => {
|
|
395
|
-
const
|
|
396
|
-
|
|
395
|
+
const G = () => {
|
|
396
|
+
R(!1), h && h();
|
|
397
397
|
}, H = () => {
|
|
398
|
-
|
|
398
|
+
R(!0), c && c(), s && I();
|
|
399
399
|
};
|
|
400
400
|
return {
|
|
401
|
-
onEnter:
|
|
402
|
-
onExited:
|
|
401
|
+
onEnter: Ot(G, m == null ? void 0 : m.props.onEnter),
|
|
402
|
+
onExited: Ot(H, m == null ? void 0 : m.props.onExited)
|
|
403
403
|
};
|
|
404
404
|
},
|
|
405
405
|
rootRef: S,
|
|
406
406
|
portalRef: T,
|
|
407
407
|
isTopModal: g,
|
|
408
|
-
exited:
|
|
408
|
+
exited: O,
|
|
409
409
|
hasTransition: D
|
|
410
410
|
};
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function Zo(e) {
|
|
413
413
|
return fe("MuiAspectRatio", e);
|
|
414
414
|
}
|
|
415
415
|
se("MuiAspectRatio", ["root", "content", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]);
|
|
416
|
-
const
|
|
416
|
+
const Qo = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color", "variant", "component", "flex", "slots", "slotProps"], en = (e) => {
|
|
417
417
|
const {
|
|
418
418
|
variant: t,
|
|
419
419
|
color: o
|
|
@@ -421,8 +421,8 @@ const Zo = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
421
421
|
root: ["root"],
|
|
422
422
|
content: ["content", t && `variant${J(t)}`, o && `color${J(o)}`]
|
|
423
423
|
};
|
|
424
|
-
return ge(n,
|
|
425
|
-
}, tn =
|
|
424
|
+
return ge(n, Zo, {});
|
|
425
|
+
}, tn = X("div", {
|
|
426
426
|
name: "JoyAspectRatio",
|
|
427
427
|
slot: "Root",
|
|
428
428
|
overridesResolver: (e, t) => t.root
|
|
@@ -443,7 +443,7 @@ const Zo = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
443
443
|
flexDirection: "column",
|
|
444
444
|
margin: "var(--AspectRatio-margin)"
|
|
445
445
|
};
|
|
446
|
-
}), on =
|
|
446
|
+
}), on = X("div", {
|
|
447
447
|
name: "JoyAspectRatio",
|
|
448
448
|
slot: "Content",
|
|
449
449
|
overridesResolver: (e, t) => t.content
|
|
@@ -482,7 +482,7 @@ const Zo = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
}, e.typography["body-md"], (o = e.variants[t.variant]) == null ? void 0 : o[t.color]);
|
|
485
|
-
}),
|
|
485
|
+
}), We = /* @__PURE__ */ L.forwardRef(function(t, o) {
|
|
486
486
|
const n = he({
|
|
487
487
|
props: t,
|
|
488
488
|
name: "JoyAspectRatio"
|
|
@@ -498,7 +498,7 @@ const Zo = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
498
498
|
flex: _ = !1,
|
|
499
499
|
slots: b = {},
|
|
500
500
|
slotProps: C = {}
|
|
501
|
-
} = n, S = me(n,
|
|
501
|
+
} = n, S = me(n, Qo), O = F({}, n, {
|
|
502
502
|
flex: _,
|
|
503
503
|
minHeight: h,
|
|
504
504
|
maxHeight: c,
|
|
@@ -506,21 +506,21 @@ const Zo = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
506
506
|
ratio: s,
|
|
507
507
|
color: u,
|
|
508
508
|
variant: f
|
|
509
|
-
}),
|
|
509
|
+
}), R = en(O), D = F({}, S, {
|
|
510
510
|
component: x,
|
|
511
511
|
slots: b,
|
|
512
512
|
slotProps: C
|
|
513
513
|
}), [v, w] = ne("root", {
|
|
514
514
|
ref: o,
|
|
515
|
-
className:
|
|
515
|
+
className: R.root,
|
|
516
516
|
elementType: tn,
|
|
517
517
|
externalForwardedProps: D,
|
|
518
|
-
ownerState:
|
|
518
|
+
ownerState: O
|
|
519
519
|
}), [N, i] = ne("content", {
|
|
520
|
-
className:
|
|
520
|
+
className: R.content,
|
|
521
521
|
elementType: on,
|
|
522
522
|
externalForwardedProps: D,
|
|
523
|
-
ownerState:
|
|
523
|
+
ownerState: O
|
|
524
524
|
});
|
|
525
525
|
return /* @__PURE__ */ d(v, F({}, w, {
|
|
526
526
|
children: /* @__PURE__ */ d(N, F({}, i, {
|
|
@@ -530,7 +530,7 @@ const Zo = ["children", "ratio", "minHeight", "maxHeight", "objectFit", "color",
|
|
|
530
530
|
}))
|
|
531
531
|
}));
|
|
532
532
|
});
|
|
533
|
-
process.env.NODE_ENV !== "production" && (
|
|
533
|
+
process.env.NODE_ENV !== "production" && (We.propTypes = {
|
|
534
534
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
535
535
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
536
536
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -614,7 +614,7 @@ const Bi = se("MuiCard", ["root", "colorPrimary", "colorNeutral", "colorDanger",
|
|
|
614
614
|
root: ["root", l, o && `variant${J(o)}`, n && `color${J(n)}`, t && `size${J(t)}`]
|
|
615
615
|
};
|
|
616
616
|
return ge(s, nn, {});
|
|
617
|
-
}, jt =
|
|
617
|
+
}, jt = X("div")(({
|
|
618
618
|
theme: e,
|
|
619
619
|
ownerState: t
|
|
620
620
|
}) => {
|
|
@@ -670,7 +670,7 @@ const Bi = se("MuiCard", ["root", "colorPrimary", "colorNeutral", "colorDanger",
|
|
|
670
670
|
}, s !== void 0 && {
|
|
671
671
|
"--Card-radius": s
|
|
672
672
|
}];
|
|
673
|
-
}), sn =
|
|
673
|
+
}), sn = X(jt, {
|
|
674
674
|
name: "JoyCard",
|
|
675
675
|
slot: "Root",
|
|
676
676
|
overridesResolver: (e, t) => t.root
|
|
@@ -696,15 +696,15 @@ const Bi = se("MuiCard", ["root", "colorPrimary", "colorNeutral", "colorDanger",
|
|
|
696
696
|
size: m,
|
|
697
697
|
variant: u,
|
|
698
698
|
invertedColors: c
|
|
699
|
-
}),
|
|
699
|
+
}), O = rn(S), R = F({}, C, {
|
|
700
700
|
component: h,
|
|
701
701
|
slots: _,
|
|
702
702
|
slotProps: b
|
|
703
703
|
}), [D, v] = ne("root", {
|
|
704
704
|
ref: o,
|
|
705
|
-
className: Be(
|
|
705
|
+
className: Be(O.root, l),
|
|
706
706
|
elementType: sn,
|
|
707
|
-
externalForwardedProps:
|
|
707
|
+
externalForwardedProps: R,
|
|
708
708
|
ownerState: S
|
|
709
709
|
});
|
|
710
710
|
return /* @__PURE__ */ d(D, F({}, v, {
|
|
@@ -792,7 +792,7 @@ function dn(e) {
|
|
|
792
792
|
se("MuiCardContent", ["root"]);
|
|
793
793
|
const un = ["className", "component", "children", "orientation", "slots", "slotProps"], fn = () => ge({
|
|
794
794
|
root: ["root"]
|
|
795
|
-
}, dn, {}), Ut =
|
|
795
|
+
}, dn, {}), Ut = X("div")(({
|
|
796
796
|
ownerState: e
|
|
797
797
|
}) => ({
|
|
798
798
|
display: "flex",
|
|
@@ -806,7 +806,7 @@ const un = ["className", "component", "children", "orientation", "slots", "slotP
|
|
|
806
806
|
[`.${cn.root} > &`]: {
|
|
807
807
|
"--unstable_padding": "calc(var(--Card-padding) * 0.75) 0px"
|
|
808
808
|
}
|
|
809
|
-
})), hn =
|
|
809
|
+
})), hn = X(Ut, {
|
|
810
810
|
name: "JoyCardContent",
|
|
811
811
|
slot: "Root",
|
|
812
812
|
overridesResolver: (e, t) => t.root
|
|
@@ -894,7 +894,7 @@ const mt = /* @__PURE__ */ L.createContext(void 0);
|
|
|
894
894
|
process.env.NODE_ENV !== "production" && (mt.displayName = "ModalDialogVariantColorContext");
|
|
895
895
|
const xn = se("MuiDialogTitle", ["root", "h1", "h2", "h3", "h4", "title-lg", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body-xs", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]), bn = ["component", "children", "orientation", "slots", "slotProps"], Cn = () => ge({
|
|
896
896
|
root: ["root"]
|
|
897
|
-
}, yn, {}), _n =
|
|
897
|
+
}, yn, {}), _n = X(Ut, {
|
|
898
898
|
name: "JoyDialogContent",
|
|
899
899
|
slot: "Root",
|
|
900
900
|
overridesResolver: (e, t) => t.root
|
|
@@ -993,7 +993,7 @@ const vn = ["children", "container", "disableAutoFocus", "disableEnforceFocus",
|
|
|
993
993
|
root: ["root", !t && "hidden"],
|
|
994
994
|
backdrop: ["backdrop"]
|
|
995
995
|
}, Tn, {});
|
|
996
|
-
},
|
|
996
|
+
}, En = X("div")(({
|
|
997
997
|
ownerState: e,
|
|
998
998
|
theme: t
|
|
999
999
|
}) => F({
|
|
@@ -1010,11 +1010,11 @@ const vn = ["children", "container", "disableAutoFocus", "disableEnforceFocus",
|
|
|
1010
1010
|
left: 0
|
|
1011
1011
|
}, !e.open && {
|
|
1012
1012
|
visibility: "hidden"
|
|
1013
|
-
})),
|
|
1013
|
+
})), Rn = X(En, {
|
|
1014
1014
|
name: "JoyModal",
|
|
1015
1015
|
slot: "Root",
|
|
1016
1016
|
overridesResolver: (e, t) => t.root
|
|
1017
|
-
})({}),
|
|
1017
|
+
})({}), In = X("div")(({
|
|
1018
1018
|
theme: e
|
|
1019
1019
|
}) => ({
|
|
1020
1020
|
zIndex: -1,
|
|
@@ -1026,11 +1026,11 @@ const vn = ["children", "container", "disableAutoFocus", "disableEnforceFocus",
|
|
|
1026
1026
|
backgroundColor: e.vars.palette.background.backdrop,
|
|
1027
1027
|
WebkitTapHighlightColor: "transparent",
|
|
1028
1028
|
backdropFilter: "blur(8px)"
|
|
1029
|
-
})),
|
|
1029
|
+
})), On = X(In, {
|
|
1030
1030
|
name: "JoyModal",
|
|
1031
1031
|
slot: "Backdrop",
|
|
1032
1032
|
overridesResolver: (e, t) => t.backdrop
|
|
1033
|
-
})({}),
|
|
1033
|
+
})({}), qt = /* @__PURE__ */ L.forwardRef(function(t, o) {
|
|
1034
1034
|
const n = he({
|
|
1035
1035
|
props: t,
|
|
1036
1036
|
name: "JoyModal"
|
|
@@ -1047,8 +1047,8 @@ const vn = ["children", "container", "disableAutoFocus", "disableEnforceFocus",
|
|
|
1047
1047
|
keepMounted: b = !1,
|
|
1048
1048
|
onClose: C,
|
|
1049
1049
|
open: S,
|
|
1050
|
-
component:
|
|
1051
|
-
slots:
|
|
1050
|
+
component: O,
|
|
1051
|
+
slots: R = {},
|
|
1052
1052
|
slotProps: D = {}
|
|
1053
1053
|
} = n, v = me(n, vn), w = F({}, n, {
|
|
1054
1054
|
disableAutoFocus: h,
|
|
@@ -1067,20 +1067,20 @@ const vn = ["children", "container", "disableAutoFocus", "disableEnforceFocus",
|
|
|
1067
1067
|
isTopModal: T
|
|
1068
1068
|
} = Jo(F({}, w, {
|
|
1069
1069
|
rootRef: o
|
|
1070
|
-
})),
|
|
1071
|
-
component:
|
|
1072
|
-
slots:
|
|
1070
|
+
})), I = Sn(w), A = F({}, v, {
|
|
1071
|
+
component: O,
|
|
1072
|
+
slots: R,
|
|
1073
1073
|
slotProps: D
|
|
1074
1074
|
}), [M, k] = ne("root", {
|
|
1075
1075
|
ref: p,
|
|
1076
|
-
className:
|
|
1077
|
-
elementType:
|
|
1076
|
+
className: I.root,
|
|
1077
|
+
elementType: Rn,
|
|
1078
1078
|
externalForwardedProps: A,
|
|
1079
1079
|
getSlotProps: N,
|
|
1080
1080
|
ownerState: w
|
|
1081
|
-
}), [B,
|
|
1082
|
-
className:
|
|
1083
|
-
elementType:
|
|
1081
|
+
}), [B, W] = ne("backdrop", {
|
|
1082
|
+
className: I.backdrop,
|
|
1083
|
+
elementType: On,
|
|
1084
1084
|
externalForwardedProps: A,
|
|
1085
1085
|
getSlotProps: i,
|
|
1086
1086
|
ownerState: w
|
|
@@ -1091,8 +1091,8 @@ const vn = ["children", "container", "disableAutoFocus", "disableEnforceFocus",
|
|
|
1091
1091
|
ref: g,
|
|
1092
1092
|
container: s,
|
|
1093
1093
|
disablePortal: u,
|
|
1094
|
-
children: /* @__PURE__ */
|
|
1095
|
-
children: [_ ? null : /* @__PURE__ */ d(B, F({},
|
|
1094
|
+
children: /* @__PURE__ */ E(M, F({}, k, {
|
|
1095
|
+
children: [_ ? null : /* @__PURE__ */ d(B, F({}, W)), /* @__PURE__ */ d(Ge, {
|
|
1096
1096
|
disableEnforceFocus: c,
|
|
1097
1097
|
disableAutoFocus: h,
|
|
1098
1098
|
disableRestoreFocus: f,
|
|
@@ -1106,7 +1106,7 @@ const vn = ["children", "container", "disableAutoFocus", "disableEnforceFocus",
|
|
|
1106
1106
|
})
|
|
1107
1107
|
});
|
|
1108
1108
|
});
|
|
1109
|
-
process.env.NODE_ENV !== "production" && (
|
|
1109
|
+
process.env.NODE_ENV !== "production" && (qt.propTypes = {
|
|
1110
1110
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1111
1111
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1112
1112
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -1234,7 +1234,7 @@ function Lt(e, t) {
|
|
|
1234
1234
|
var o, n;
|
|
1235
1235
|
return t && (o = e.breakpoints) != null && o.values[t] ? `${(n = e.breakpoints) == null ? void 0 : n.values[t]}px` : t;
|
|
1236
1236
|
}
|
|
1237
|
-
const Ln =
|
|
1237
|
+
const Ln = X(jt, {
|
|
1238
1238
|
name: "JoyModalDialog",
|
|
1239
1239
|
slot: "Root",
|
|
1240
1240
|
overridesResolver: (e, t) => t.root
|
|
@@ -1297,7 +1297,7 @@ const Ln = q(jt, {
|
|
|
1297
1297
|
"--Typography-margin": "var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
|
-
})),
|
|
1300
|
+
})), Xt = /* @__PURE__ */ L.forwardRef(function(t, o) {
|
|
1301
1301
|
const n = he({
|
|
1302
1302
|
props: t,
|
|
1303
1303
|
name: "JoyModalDialog"
|
|
@@ -1314,8 +1314,8 @@ const Ln = q(jt, {
|
|
|
1314
1314
|
maxWidth: b,
|
|
1315
1315
|
minWidth: C,
|
|
1316
1316
|
slots: S = {},
|
|
1317
|
-
slotProps:
|
|
1318
|
-
} = n,
|
|
1317
|
+
slotProps: O = {}
|
|
1318
|
+
} = n, R = me(n, An), D = F({}, n, {
|
|
1319
1319
|
color: m,
|
|
1320
1320
|
component: u,
|
|
1321
1321
|
maxWidth: b,
|
|
@@ -1324,10 +1324,10 @@ const Ln = q(jt, {
|
|
|
1324
1324
|
size: x,
|
|
1325
1325
|
variant: f,
|
|
1326
1326
|
invertedColors: h
|
|
1327
|
-
}), v = Dn(D), w = F({},
|
|
1327
|
+
}), v = Dn(D), w = F({}, R, {
|
|
1328
1328
|
component: u,
|
|
1329
1329
|
slots: S,
|
|
1330
|
-
slotProps:
|
|
1330
|
+
slotProps: O
|
|
1331
1331
|
}), N = at(), i = at(), p = L.useMemo(() => ({
|
|
1332
1332
|
variant: f,
|
|
1333
1333
|
color: m,
|
|
@@ -1352,22 +1352,22 @@ const Ln = q(jt, {
|
|
|
1352
1352
|
children: /* @__PURE__ */ d(mt.Provider, {
|
|
1353
1353
|
value: p,
|
|
1354
1354
|
children: /* @__PURE__ */ d(g, F({}, T, {
|
|
1355
|
-
children: L.Children.map(s, (
|
|
1356
|
-
if (!/* @__PURE__ */ L.isValidElement(
|
|
1357
|
-
return
|
|
1355
|
+
children: L.Children.map(s, (I, A) => {
|
|
1356
|
+
if (!/* @__PURE__ */ L.isValidElement(I))
|
|
1357
|
+
return I;
|
|
1358
1358
|
const M = {};
|
|
1359
|
-
if (Ht(
|
|
1360
|
-
M.inset = "inset" in
|
|
1359
|
+
if (Ht(I, ["Divider"])) {
|
|
1360
|
+
M.inset = "inset" in I.props ? I.props.inset : "context";
|
|
1361
1361
|
const k = c === "vertical" ? "horizontal" : "vertical";
|
|
1362
|
-
M.orientation = "orientation" in
|
|
1362
|
+
M.orientation = "orientation" in I.props ? I.props.orientation : k;
|
|
1363
1363
|
}
|
|
1364
|
-
return A === 0 && (M["data-first-child"] = ""), A === L.Children.count(s) - 1 && (M["data-last-child"] = ""), /* @__PURE__ */ L.cloneElement(
|
|
1364
|
+
return A === 0 && (M["data-first-child"] = ""), A === L.Children.count(s) - 1 && (M["data-last-child"] = ""), /* @__PURE__ */ L.cloneElement(I, M);
|
|
1365
1365
|
})
|
|
1366
1366
|
}))
|
|
1367
1367
|
})
|
|
1368
1368
|
});
|
|
1369
1369
|
});
|
|
1370
|
-
process.env.NODE_ENV !== "production" && (
|
|
1370
|
+
process.env.NODE_ENV !== "production" && (Xt.propTypes = {
|
|
1371
1371
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1372
1372
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1373
1373
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -1465,7 +1465,7 @@ const Mn = ["children", "className", "component", "arrow", "describeChild", "dis
|
|
|
1465
1465
|
arrow: ["arrow"]
|
|
1466
1466
|
};
|
|
1467
1467
|
return ge(c, Nn, {});
|
|
1468
|
-
}, wn =
|
|
1468
|
+
}, wn = X("div", {
|
|
1469
1469
|
name: "JoyTooltip",
|
|
1470
1470
|
slot: "Root",
|
|
1471
1471
|
overridesResolver: (e, t) => t.root
|
|
@@ -1535,7 +1535,7 @@ const Mn = ["children", "className", "component", "arrow", "describeChild", "dis
|
|
|
1535
1535
|
transform: "translateY(100%)"
|
|
1536
1536
|
}
|
|
1537
1537
|
});
|
|
1538
|
-
}), kn =
|
|
1538
|
+
}), kn = X("span", {
|
|
1539
1539
|
name: "JoyTooltip",
|
|
1540
1540
|
slot: "Arrow",
|
|
1541
1541
|
overridesResolver: (e, t) => t.arrow
|
|
@@ -1586,7 +1586,7 @@ const Mn = ["children", "className", "component", "arrow", "describeChild", "dis
|
|
|
1586
1586
|
};
|
|
1587
1587
|
});
|
|
1588
1588
|
let Fe = !1;
|
|
1589
|
-
const Nt = new
|
|
1589
|
+
const Nt = new Oo();
|
|
1590
1590
|
let Se = {
|
|
1591
1591
|
x: 0,
|
|
1592
1592
|
y: 0
|
|
@@ -1618,8 +1618,8 @@ const He = /* @__PURE__ */ L.forwardRef(function(t, o) {
|
|
|
1618
1618
|
disableTouchListener: b = !1,
|
|
1619
1619
|
enterDelay: C = 100,
|
|
1620
1620
|
enterNextDelay: S = 0,
|
|
1621
|
-
enterTouchDelay:
|
|
1622
|
-
followCursor:
|
|
1621
|
+
enterTouchDelay: O = 700,
|
|
1622
|
+
followCursor: R = !1,
|
|
1623
1623
|
id: D,
|
|
1624
1624
|
leaveDelay: v = 0,
|
|
1625
1625
|
leaveTouchDelay: w = 1500,
|
|
@@ -1628,103 +1628,103 @@ const He = /* @__PURE__ */ L.forwardRef(function(t, o) {
|
|
|
1628
1628
|
open: p,
|
|
1629
1629
|
disablePortal: g,
|
|
1630
1630
|
direction: T,
|
|
1631
|
-
keepMounted:
|
|
1631
|
+
keepMounted: I,
|
|
1632
1632
|
modifiers: A,
|
|
1633
1633
|
placement: M = "bottom",
|
|
1634
1634
|
title: k,
|
|
1635
1635
|
color: B = "neutral",
|
|
1636
|
-
variant:
|
|
1637
|
-
size:
|
|
1636
|
+
variant: W = "solid",
|
|
1637
|
+
size: G = "md",
|
|
1638
1638
|
slots: H = {},
|
|
1639
1639
|
slotProps: U = {}
|
|
1640
|
-
} = l, ee = me(l, Mn), [$, de] = L.useState(), [Ye,
|
|
1640
|
+
} = l, ee = me(l, Mn), [$, de] = L.useState(), [Ye, Qt] = L.useState(null), De = L.useRef(!1), $e = _ || R, yt = we(), Ke = we(), Le = we(), xt = we(), [eo, bt] = Eo({
|
|
1641
1641
|
controlled: p,
|
|
1642
1642
|
default: !1,
|
|
1643
1643
|
name: "Tooltip",
|
|
1644
1644
|
state: "open"
|
|
1645
1645
|
});
|
|
1646
1646
|
let ae = eo;
|
|
1647
|
-
const
|
|
1647
|
+
const qe = at(D), _e = L.useRef(), Ne = ze(() => {
|
|
1648
1648
|
_e.current !== void 0 && (document.body.style.WebkitUserSelect = _e.current, _e.current = void 0), xt.clear();
|
|
1649
1649
|
});
|
|
1650
1650
|
L.useEffect(() => Ne, [Ne]);
|
|
1651
|
-
const Ct = (
|
|
1652
|
-
Nt.clear(), Fe = !0, bt(!0), i && !ae && i(
|
|
1653
|
-
}, Me =
|
|
1651
|
+
const Ct = (z) => {
|
|
1652
|
+
Nt.clear(), Fe = !0, bt(!0), i && !ae && i(z);
|
|
1653
|
+
}, Me = ze((z) => {
|
|
1654
1654
|
Nt.start(800 + v, () => {
|
|
1655
1655
|
Fe = !1;
|
|
1656
|
-
}), bt(!1), N && ae && N(
|
|
1656
|
+
}), bt(!1), N && ae && N(z), yt.start(150, () => {
|
|
1657
1657
|
De.current = !1;
|
|
1658
1658
|
});
|
|
1659
|
-
}), Pe = (
|
|
1660
|
-
De.current &&
|
|
1661
|
-
Ct(
|
|
1662
|
-
}) : Ct(
|
|
1663
|
-
},
|
|
1659
|
+
}), Pe = (z) => {
|
|
1660
|
+
De.current && z.type !== "touchstart" || ($ && $.removeAttribute("title"), Ke.clear(), Le.clear(), C || Fe && S ? Ke.start(Fe ? S : C, () => {
|
|
1661
|
+
Ct(z);
|
|
1662
|
+
}) : Ct(z));
|
|
1663
|
+
}, Xe = (z) => {
|
|
1664
1664
|
Ke.clear(), Le.start(v, () => {
|
|
1665
|
-
Me(
|
|
1665
|
+
Me(z);
|
|
1666
1666
|
});
|
|
1667
1667
|
}, {
|
|
1668
1668
|
isFocusVisibleRef: _t,
|
|
1669
1669
|
onBlur: to,
|
|
1670
1670
|
onFocus: oo,
|
|
1671
1671
|
ref: no
|
|
1672
|
-
} =
|
|
1673
|
-
to(
|
|
1674
|
-
}, St = (
|
|
1675
|
-
$ || de(
|
|
1676
|
-
},
|
|
1672
|
+
} = Ro(), [, Tt] = L.useState(!1), vt = (z) => {
|
|
1673
|
+
to(z), _t.current === !1 && (Tt(!1), Xe(z));
|
|
1674
|
+
}, St = (z) => {
|
|
1675
|
+
$ || de(z.currentTarget), oo(z), _t.current === !0 && (Tt(!0), Pe(z));
|
|
1676
|
+
}, Et = (z) => {
|
|
1677
1677
|
De.current = !0;
|
|
1678
1678
|
const re = s.props;
|
|
1679
|
-
re.onTouchStart && re.onTouchStart(
|
|
1680
|
-
}, io = (
|
|
1681
|
-
|
|
1682
|
-
document.body.style.WebkitUserSelect = _e.current, Pe(
|
|
1679
|
+
re.onTouchStart && re.onTouchStart(z);
|
|
1680
|
+
}, io = (z) => {
|
|
1681
|
+
Et(z), Le.clear(), yt.clear(), Ne(), _e.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", xt.start(O, () => {
|
|
1682
|
+
document.body.style.WebkitUserSelect = _e.current, Pe(z);
|
|
1683
1683
|
});
|
|
1684
|
-
}, ao = (
|
|
1685
|
-
s.props.onTouchEnd && s.props.onTouchEnd(
|
|
1686
|
-
Me(
|
|
1684
|
+
}, ao = (z) => {
|
|
1685
|
+
s.props.onTouchEnd && s.props.onTouchEnd(z), Ne(), Le.start(w, () => {
|
|
1686
|
+
Me(z);
|
|
1687
1687
|
});
|
|
1688
1688
|
};
|
|
1689
1689
|
L.useEffect(() => {
|
|
1690
1690
|
if (!ae)
|
|
1691
1691
|
return;
|
|
1692
|
-
function
|
|
1692
|
+
function z(re) {
|
|
1693
1693
|
(re.key === "Escape" || re.key === "Esc") && Me(re);
|
|
1694
1694
|
}
|
|
1695
|
-
return document.addEventListener("keydown",
|
|
1696
|
-
document.removeEventListener("keydown",
|
|
1695
|
+
return document.addEventListener("keydown", z), () => {
|
|
1696
|
+
document.removeEventListener("keydown", z);
|
|
1697
1697
|
};
|
|
1698
1698
|
}, [Me, ae]);
|
|
1699
|
-
const ro =
|
|
1699
|
+
const ro = Ie(de, o), so = Ie(no, ro), lo = Ie(s.ref, so);
|
|
1700
1700
|
typeof k != "number" && !k && (ae = !1);
|
|
1701
|
-
const Je = L.useRef(null), co = (
|
|
1701
|
+
const Je = L.useRef(null), co = (z) => {
|
|
1702
1702
|
const re = s.props;
|
|
1703
|
-
re.onMouseMove && re.onMouseMove(
|
|
1704
|
-
x:
|
|
1705
|
-
y:
|
|
1703
|
+
re.onMouseMove && re.onMouseMove(z), Se = {
|
|
1704
|
+
x: z.clientX,
|
|
1705
|
+
y: z.clientY
|
|
1706
1706
|
}, Je.current && Je.current.update();
|
|
1707
|
-
}, Te = {},
|
|
1708
|
-
u ? (Te.title = !ae &&
|
|
1707
|
+
}, Te = {}, Ze = typeof k == "string";
|
|
1708
|
+
u ? (Te.title = !ae && Ze && !x ? k : null, Te["aria-describedby"] = ae ? qe : null) : (Te["aria-label"] = Ze ? k : null, Te["aria-labelledby"] = ae && !Ze ? qe : null);
|
|
1709
1709
|
const te = F({}, Te, ee, {
|
|
1710
1710
|
component: c
|
|
1711
1711
|
}, s.props, {
|
|
1712
1712
|
className: Be(h, s.props.className),
|
|
1713
|
-
onTouchStart:
|
|
1713
|
+
onTouchStart: Et,
|
|
1714
1714
|
ref: lo
|
|
1715
|
-
},
|
|
1715
|
+
}, R ? {
|
|
1716
1716
|
onMouseMove: co
|
|
1717
1717
|
} : {}), ve = {};
|
|
1718
|
-
b || (te.onTouchStart = io, te.onTouchEnd = ao), x || (te.onMouseOver = Mt(Pe, te.onMouseOver), te.onMouseLeave = Mt(
|
|
1719
|
-
const
|
|
1718
|
+
b || (te.onTouchStart = io, te.onTouchEnd = ao), x || (te.onMouseOver = Mt(Pe, te.onMouseOver), te.onMouseLeave = Mt(Xe, te.onMouseLeave), $e || (ve.onMouseOver = Pe, ve.onMouseLeave = Xe)), f || (te.onFocus = Pt(St, te.onFocus), te.onBlur = Pt(vt, te.onBlur), $e || (ve.onFocus = St, ve.onBlur = vt));
|
|
1719
|
+
const Qe = F({}, l, {
|
|
1720
1720
|
arrow: m,
|
|
1721
1721
|
disableInteractive: $e,
|
|
1722
1722
|
placement: M,
|
|
1723
1723
|
touch: De.current,
|
|
1724
1724
|
color: B,
|
|
1725
|
-
variant:
|
|
1726
|
-
size:
|
|
1727
|
-
}),
|
|
1725
|
+
variant: W,
|
|
1726
|
+
size: G
|
|
1727
|
+
}), Rt = Pn(Qe), It = F({}, ee, {
|
|
1728
1728
|
component: c,
|
|
1729
1729
|
slots: H,
|
|
1730
1730
|
slotProps: U
|
|
@@ -1744,10 +1744,10 @@ const He = /* @__PURE__ */ L.forwardRef(function(t, o) {
|
|
|
1744
1744
|
}
|
|
1745
1745
|
}, ...A || []], [Ye, A]), [fo, ho] = ne("root", {
|
|
1746
1746
|
additionalProps: F({
|
|
1747
|
-
id:
|
|
1747
|
+
id: qe,
|
|
1748
1748
|
popperRef: Je,
|
|
1749
1749
|
placement: M,
|
|
1750
|
-
anchorEl:
|
|
1750
|
+
anchorEl: R ? {
|
|
1751
1751
|
getBoundingClientRect: () => ({
|
|
1752
1752
|
top: Se.y,
|
|
1753
1753
|
left: Se.x,
|
|
@@ -1759,25 +1759,25 @@ const He = /* @__PURE__ */ L.forwardRef(function(t, o) {
|
|
|
1759
1759
|
} : $,
|
|
1760
1760
|
open: $ ? ae : !1,
|
|
1761
1761
|
disablePortal: g,
|
|
1762
|
-
keepMounted:
|
|
1762
|
+
keepMounted: I,
|
|
1763
1763
|
direction: T,
|
|
1764
1764
|
modifiers: uo
|
|
1765
1765
|
}, ve),
|
|
1766
1766
|
ref: null,
|
|
1767
|
-
className:
|
|
1767
|
+
className: Rt.root,
|
|
1768
1768
|
elementType: wn,
|
|
1769
|
-
externalForwardedProps:
|
|
1770
|
-
ownerState:
|
|
1769
|
+
externalForwardedProps: It,
|
|
1770
|
+
ownerState: Qe
|
|
1771
1771
|
}), [mo, go] = ne("arrow", {
|
|
1772
|
-
ref:
|
|
1773
|
-
className:
|
|
1772
|
+
ref: Qt,
|
|
1773
|
+
className: Rt.arrow,
|
|
1774
1774
|
elementType: kn,
|
|
1775
|
-
externalForwardedProps:
|
|
1776
|
-
ownerState:
|
|
1775
|
+
externalForwardedProps: It,
|
|
1776
|
+
ownerState: Qe
|
|
1777
1777
|
});
|
|
1778
|
-
return /* @__PURE__ */
|
|
1779
|
-
children: [/* @__PURE__ */ L.isValidElement(s) && /* @__PURE__ */ L.cloneElement(s, te), /* @__PURE__ */
|
|
1780
|
-
as:
|
|
1778
|
+
return /* @__PURE__ */ E(L.Fragment, {
|
|
1779
|
+
children: [/* @__PURE__ */ L.isValidElement(s) && /* @__PURE__ */ L.cloneElement(s, te), /* @__PURE__ */ E(fo, F({}, ho, !((n = l.slots) != null && n.root) && {
|
|
1780
|
+
as: Io,
|
|
1781
1781
|
slots: {
|
|
1782
1782
|
root: c || "div"
|
|
1783
1783
|
}
|
|
@@ -2024,12 +2024,12 @@ const ji = ({ my: e }) => {
|
|
|
2024
2024
|
d: "M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
|
|
2025
2025
|
}), "InfoOutlined"), Fn = ct(/* @__PURE__ */ d("path", {
|
|
2026
2026
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
2027
|
-
}), "Close"),
|
|
2027
|
+
}), "Close"), q = ({
|
|
2028
2028
|
rules: e,
|
|
2029
2029
|
rulesDisplay: t,
|
|
2030
2030
|
isOverlayVariant: o = !1
|
|
2031
2031
|
}) => {
|
|
2032
|
-
const { t: n } = Ae(), { shadowRootElement: l } = Do(Lo), s = j(), h = ce(), c =
|
|
2032
|
+
const { t: n } = Ae(), { shadowRootElement: l } = Do(Lo), s = j(), h = ce(), c = Z(), m = le(), u = pe(), [f, x] = Po(!1);
|
|
2033
2033
|
if (!e)
|
|
2034
2034
|
return null;
|
|
2035
2035
|
if (t != null && t.component)
|
|
@@ -2102,7 +2102,7 @@ const ji = ({ my: e }) => {
|
|
|
2102
2102
|
}
|
|
2103
2103
|
);
|
|
2104
2104
|
}
|
|
2105
|
-
return /* @__PURE__ */
|
|
2105
|
+
return /* @__PURE__ */ E(Q, { children: [
|
|
2106
2106
|
/* @__PURE__ */ d(
|
|
2107
2107
|
He,
|
|
2108
2108
|
{
|
|
@@ -2150,14 +2150,14 @@ const ji = ({ my: e }) => {
|
|
|
2150
2150
|
}
|
|
2151
2151
|
),
|
|
2152
2152
|
/* @__PURE__ */ d(
|
|
2153
|
-
|
|
2153
|
+
qt,
|
|
2154
2154
|
{
|
|
2155
2155
|
open: f,
|
|
2156
2156
|
onClose: () => x(!1),
|
|
2157
2157
|
container: l,
|
|
2158
2158
|
sx: { zIndex: 1300 },
|
|
2159
|
-
children: /* @__PURE__ */
|
|
2160
|
-
|
|
2159
|
+
children: /* @__PURE__ */ E(
|
|
2160
|
+
Xt,
|
|
2161
2161
|
{
|
|
2162
2162
|
sx: {
|
|
2163
2163
|
width: "100%",
|
|
@@ -2208,7 +2208,7 @@ const ji = ({ my: e }) => {
|
|
|
2208
2208
|
children: /* @__PURE__ */ d(Fn, {})
|
|
2209
2209
|
}
|
|
2210
2210
|
),
|
|
2211
|
-
/* @__PURE__ */
|
|
2211
|
+
/* @__PURE__ */ E(
|
|
2212
2212
|
Yt,
|
|
2213
2213
|
{
|
|
2214
2214
|
sx: {
|
|
@@ -2529,7 +2529,7 @@ const ji = ({ my: e }) => {
|
|
|
2529
2529
|
rulesDisplay: m
|
|
2530
2530
|
}) => {
|
|
2531
2531
|
var M, k;
|
|
2532
|
-
const u = pe(), f = ye(), x = le(), _ =
|
|
2532
|
+
const u = pe(), f = ye(), x = le(), _ = Z().primary, b = Z().secondary, C = ce(), S = ((M = e.branding) == null ? void 0 : M.colors) || null, O = ((k = e.branding) == null ? void 0 : k.urls) || null, R = (S == null ? void 0 : S.contentColor) || j().textColor, D = (S == null ? void 0 : S.secondaryColor) || j().textColor, v = (S == null ? void 0 : S.backgroundColor) || j().surfaceVariant, w = "60%", N = xe(
|
|
2533
2533
|
ie.STANDARD
|
|
2534
2534
|
), i = Vn({
|
|
2535
2535
|
finalImage: o,
|
|
@@ -2537,7 +2537,7 @@ const ji = ({ my: e }) => {
|
|
|
2537
2537
|
borderRadius: C,
|
|
2538
2538
|
fontFamilyPrimary: _,
|
|
2539
2539
|
fontFamilySecondary: b,
|
|
2540
|
-
textColor:
|
|
2540
|
+
textColor: R,
|
|
2541
2541
|
secondaryColor: D,
|
|
2542
2542
|
bgcolor: dt(v || ""),
|
|
2543
2543
|
opacity: w,
|
|
@@ -2546,13 +2546,13 @@ const ji = ({ my: e }) => {
|
|
|
2546
2546
|
darkTextColor: f.colorSchemes.dark.textColor,
|
|
2547
2547
|
imageBackgroundGradient: N,
|
|
2548
2548
|
isMobile: u
|
|
2549
|
-
}), p =
|
|
2550
|
-
|
|
2551
|
-
|
|
2549
|
+
}), p = zt(
|
|
2550
|
+
O == null ? void 0 : O.primaryUrl,
|
|
2551
|
+
O == null ? void 0 : O.secondaryUrl,
|
|
2552
2552
|
"image"
|
|
2553
2553
|
), g = () => {
|
|
2554
2554
|
p && window.open(p, "_blank", "noopener,noreferrer");
|
|
2555
|
-
}, T = (B,
|
|
2555
|
+
}, T = (B, W) => p ? typeof window > "u" ? /* @__PURE__ */ d(
|
|
2556
2556
|
y,
|
|
2557
2557
|
{
|
|
2558
2558
|
component: "a",
|
|
@@ -2560,7 +2560,7 @@ const ji = ({ my: e }) => {
|
|
|
2560
2560
|
target: "_blank",
|
|
2561
2561
|
rel: "noopener noreferrer",
|
|
2562
2562
|
sx: {
|
|
2563
|
-
...
|
|
2563
|
+
...W,
|
|
2564
2564
|
cursor: "pointer",
|
|
2565
2565
|
textDecoration: "none"
|
|
2566
2566
|
},
|
|
@@ -2570,15 +2570,15 @@ const ji = ({ my: e }) => {
|
|
|
2570
2570
|
y,
|
|
2571
2571
|
{
|
|
2572
2572
|
sx: {
|
|
2573
|
-
...
|
|
2573
|
+
...W,
|
|
2574
2574
|
cursor: "pointer"
|
|
2575
2575
|
},
|
|
2576
2576
|
onClick: g,
|
|
2577
2577
|
children: B
|
|
2578
2578
|
}
|
|
2579
|
-
) : /* @__PURE__ */ d(y, { sx:
|
|
2580
|
-
/* @__PURE__ */
|
|
2581
|
-
/* @__PURE__ */
|
|
2579
|
+
) : /* @__PURE__ */ d(y, { sx: W, children: B }), I = () => h && s ? /* @__PURE__ */ E(y, { sx: i.mobileHeadlineWithoutImage, children: [
|
|
2580
|
+
/* @__PURE__ */ E(y, { children: [
|
|
2581
|
+
/* @__PURE__ */ E(
|
|
2582
2582
|
y,
|
|
2583
2583
|
{
|
|
2584
2584
|
sx: {
|
|
@@ -2590,7 +2590,7 @@ const ji = ({ my: e }) => {
|
|
|
2590
2590
|
children: [
|
|
2591
2591
|
/* @__PURE__ */ d(P, { level: "body-sm", sx: i.headlineTypography, children: t }),
|
|
2592
2592
|
/* @__PURE__ */ d(
|
|
2593
|
-
|
|
2593
|
+
q,
|
|
2594
2594
|
{
|
|
2595
2595
|
rules: e.rules || "",
|
|
2596
2596
|
rulesDisplay: m,
|
|
@@ -2600,16 +2600,16 @@ const ji = ({ my: e }) => {
|
|
|
2600
2600
|
]
|
|
2601
2601
|
}
|
|
2602
2602
|
),
|
|
2603
|
-
/* @__PURE__ */
|
|
2603
|
+
/* @__PURE__ */ E(y, { sx: i.contentContainer, children: [
|
|
2604
2604
|
/* @__PURE__ */ d(P, { level: "h4", sx: i.titleTypography, children: e.title }),
|
|
2605
2605
|
/* @__PURE__ */ d(P, { sx: i.descriptionTypography, children: K(e.description) })
|
|
2606
2606
|
] })
|
|
2607
2607
|
] }),
|
|
2608
|
-
/* @__PURE__ */ d(
|
|
2608
|
+
/* @__PURE__ */ d(We, { ratio: "16/9", sx: i.aspectRatioContainer, children: /* @__PURE__ */ d(y, { ref: s }) })
|
|
2609
2609
|
] }) : o ? T(
|
|
2610
|
-
/* @__PURE__ */
|
|
2611
|
-
/* @__PURE__ */
|
|
2612
|
-
/* @__PURE__ */
|
|
2610
|
+
/* @__PURE__ */ E(y, { sx: i.mobileHeadlineContent, children: [
|
|
2611
|
+
/* @__PURE__ */ E(y, { children: [
|
|
2612
|
+
/* @__PURE__ */ E(
|
|
2613
2613
|
y,
|
|
2614
2614
|
{
|
|
2615
2615
|
sx: {
|
|
@@ -2628,7 +2628,7 @@ const ji = ({ my: e }) => {
|
|
|
2628
2628
|
}
|
|
2629
2629
|
),
|
|
2630
2630
|
/* @__PURE__ */ d(
|
|
2631
|
-
|
|
2631
|
+
q,
|
|
2632
2632
|
{
|
|
2633
2633
|
rules: e.rules || "",
|
|
2634
2634
|
rulesDisplay: m,
|
|
@@ -2638,7 +2638,7 @@ const ji = ({ my: e }) => {
|
|
|
2638
2638
|
]
|
|
2639
2639
|
}
|
|
2640
2640
|
),
|
|
2641
|
-
/* @__PURE__ */
|
|
2641
|
+
/* @__PURE__ */ E(y, { sx: i.contentContainer, children: [
|
|
2642
2642
|
/* @__PURE__ */ d(P, { sx: i.titleTypographyMobileImage, children: e.title }),
|
|
2643
2643
|
/* @__PURE__ */ d(P, { sx: i.descriptionTypographyMobileImage, children: K(e.description) })
|
|
2644
2644
|
] })
|
|
@@ -2646,9 +2646,9 @@ const ji = ({ my: e }) => {
|
|
|
2646
2646
|
c && /* @__PURE__ */ d(y, { children: c })
|
|
2647
2647
|
] }),
|
|
2648
2648
|
i.mobileHeadlineWithImage
|
|
2649
|
-
) : /* @__PURE__ */
|
|
2650
|
-
/* @__PURE__ */
|
|
2651
|
-
/* @__PURE__ */
|
|
2649
|
+
) : /* @__PURE__ */ E(y, { sx: i.mobileHeadlineWithoutImage, children: [
|
|
2650
|
+
/* @__PURE__ */ E(y, { children: [
|
|
2651
|
+
/* @__PURE__ */ E(
|
|
2652
2652
|
y,
|
|
2653
2653
|
{
|
|
2654
2654
|
sx: {
|
|
@@ -2660,7 +2660,7 @@ const ji = ({ my: e }) => {
|
|
|
2660
2660
|
children: [
|
|
2661
2661
|
/* @__PURE__ */ d(P, { level: "body-sm", sx: i.headlineTypography, children: t }),
|
|
2662
2662
|
/* @__PURE__ */ d(
|
|
2663
|
-
|
|
2663
|
+
q,
|
|
2664
2664
|
{
|
|
2665
2665
|
rules: e.rules || "",
|
|
2666
2666
|
rulesDisplay: m,
|
|
@@ -2670,22 +2670,22 @@ const ji = ({ my: e }) => {
|
|
|
2670
2670
|
]
|
|
2671
2671
|
}
|
|
2672
2672
|
),
|
|
2673
|
-
/* @__PURE__ */
|
|
2673
|
+
/* @__PURE__ */ E(y, { sx: i.contentContainer, children: [
|
|
2674
2674
|
/* @__PURE__ */ d(P, { level: "h4", sx: i.titleTypography, children: e.title }),
|
|
2675
2675
|
/* @__PURE__ */ d(P, { sx: i.descriptionTypography, children: K(e.description) })
|
|
2676
2676
|
] })
|
|
2677
2677
|
] }),
|
|
2678
2678
|
c && /* @__PURE__ */ d(y, { children: c })
|
|
2679
2679
|
] }), A = !(u && c);
|
|
2680
|
-
return /* @__PURE__ */
|
|
2681
|
-
u &&
|
|
2680
|
+
return /* @__PURE__ */ E(Q, { children: [
|
|
2681
|
+
u && I(),
|
|
2682
2682
|
n === "left" && o ? T(
|
|
2683
2683
|
/* @__PURE__ */ d(y, { sx: i.imageSafeArea }),
|
|
2684
2684
|
i.imageContainerLeft
|
|
2685
2685
|
) : null,
|
|
2686
|
-
A && /* @__PURE__ */
|
|
2687
|
-
!u && /* @__PURE__ */ d(y, { children: /* @__PURE__ */
|
|
2688
|
-
/* @__PURE__ */
|
|
2686
|
+
A && /* @__PURE__ */ E(y, { sx: i.mainContentArea, children: [
|
|
2687
|
+
!u && /* @__PURE__ */ d(y, { children: /* @__PURE__ */ E(y, { sx: i.desktopHeadlineContainer, children: [
|
|
2688
|
+
/* @__PURE__ */ E(
|
|
2689
2689
|
y,
|
|
2690
2690
|
{
|
|
2691
2691
|
sx: {
|
|
@@ -2694,7 +2694,7 @@ const ji = ({ my: e }) => {
|
|
|
2694
2694
|
alignItems: "center"
|
|
2695
2695
|
},
|
|
2696
2696
|
children: [
|
|
2697
|
-
/* @__PURE__ */
|
|
2697
|
+
/* @__PURE__ */ E(
|
|
2698
2698
|
y,
|
|
2699
2699
|
{
|
|
2700
2700
|
sx: {
|
|
@@ -2713,7 +2713,7 @@ const ji = ({ my: e }) => {
|
|
|
2713
2713
|
}
|
|
2714
2714
|
),
|
|
2715
2715
|
/* @__PURE__ */ d(
|
|
2716
|
-
|
|
2716
|
+
q,
|
|
2717
2717
|
{
|
|
2718
2718
|
rules: e.rules || "",
|
|
2719
2719
|
rulesDisplay: m,
|
|
@@ -2723,14 +2723,14 @@ const ji = ({ my: e }) => {
|
|
|
2723
2723
|
]
|
|
2724
2724
|
}
|
|
2725
2725
|
),
|
|
2726
|
-
/* @__PURE__ */
|
|
2726
|
+
/* @__PURE__ */ E(y, { sx: i.contentContainer, children: [
|
|
2727
2727
|
/* @__PURE__ */ d(P, { level: "h4", sx: i.titleTypographyDesktop, children: e.title }),
|
|
2728
2728
|
/* @__PURE__ */ d(P, { sx: i.descriptionTypographyDesktop, children: K(e.description) })
|
|
2729
2729
|
] })
|
|
2730
2730
|
]
|
|
2731
2731
|
}
|
|
2732
2732
|
),
|
|
2733
|
-
h && s ? /* @__PURE__ */ d(y, { sx: { px: x.md }, children: /* @__PURE__ */ d(
|
|
2733
|
+
h && s ? /* @__PURE__ */ d(y, { sx: { px: x.md }, children: /* @__PURE__ */ d(We, { ratio: "16/9", sx: i.aspectRatioContainer, children: /* @__PURE__ */ d(y, { ref: s }) }) }) : c ? /* @__PURE__ */ d(y, { children: c }) : /* @__PURE__ */ d(Q, {})
|
|
2734
2734
|
] }) }),
|
|
2735
2735
|
l
|
|
2736
2736
|
] }),
|
|
@@ -2927,34 +2927,34 @@ const ji = ({ my: e }) => {
|
|
|
2927
2927
|
renderPresentedBy: c,
|
|
2928
2928
|
rulesDisplay: m
|
|
2929
2929
|
}) => {
|
|
2930
|
-
var B,
|
|
2931
|
-
const u = pe(), f =
|
|
2930
|
+
var B, W;
|
|
2931
|
+
const u = pe(), f = Gt(), x = e.type === "poll" || e.type === "match-quiz" ? f : u, _ = ye(), b = le(), C = Z().primary, S = Z().secondary, O = ce(), R = ((B = e.branding) == null ? void 0 : B.colors) || null, D = ((W = e.branding) == null ? void 0 : W.urls) || null, v = (R == null ? void 0 : R.contentColor) || j().textColor, w = (R == null ? void 0 : R.secondaryColor) || j().textColor, N = (R == null ? void 0 : R.backgroundColor) || j().surfaceVariant, i = "60%", p = _.colorSchemes.dark.textColor, g = xe(
|
|
2932
2932
|
ie.SPLIT
|
|
2933
2933
|
), T = Hn({
|
|
2934
2934
|
finalImage: o,
|
|
2935
2935
|
spacingScale: b,
|
|
2936
|
-
borderRadius:
|
|
2936
|
+
borderRadius: O,
|
|
2937
2937
|
fontFamilyPrimary: C,
|
|
2938
2938
|
fontFamilySecondary: S,
|
|
2939
2939
|
secondaryColor: w,
|
|
2940
2940
|
opacity: i,
|
|
2941
2941
|
bgcolor: dt(N || ""),
|
|
2942
2942
|
textColor: v,
|
|
2943
|
-
brandingColors:
|
|
2943
|
+
brandingColors: R,
|
|
2944
2944
|
darkTextColor: p,
|
|
2945
2945
|
imageBackgroundGradient: g,
|
|
2946
2946
|
isMobile: x
|
|
2947
|
-
}),
|
|
2947
|
+
}), I = zt(
|
|
2948
2948
|
D == null ? void 0 : D.primaryUrl,
|
|
2949
2949
|
D == null ? void 0 : D.secondaryUrl,
|
|
2950
2950
|
"image"
|
|
2951
2951
|
), A = () => {
|
|
2952
|
-
|
|
2953
|
-
}, M = (
|
|
2952
|
+
I && window.open(I, "_blank", "noopener,noreferrer");
|
|
2953
|
+
}, M = (G, H) => I ? typeof window > "u" ? /* @__PURE__ */ d(
|
|
2954
2954
|
y,
|
|
2955
2955
|
{
|
|
2956
2956
|
component: "a",
|
|
2957
|
-
href:
|
|
2957
|
+
href: I,
|
|
2958
2958
|
target: "_blank",
|
|
2959
2959
|
rel: "noopener noreferrer",
|
|
2960
2960
|
sx: {
|
|
@@ -2962,7 +2962,7 @@ const ji = ({ my: e }) => {
|
|
|
2962
2962
|
cursor: "pointer",
|
|
2963
2963
|
textDecoration: "none"
|
|
2964
2964
|
},
|
|
2965
|
-
children:
|
|
2965
|
+
children: G
|
|
2966
2966
|
}
|
|
2967
2967
|
) : /* @__PURE__ */ d(
|
|
2968
2968
|
y,
|
|
@@ -2972,12 +2972,12 @@ const ji = ({ my: e }) => {
|
|
|
2972
2972
|
cursor: "pointer"
|
|
2973
2973
|
},
|
|
2974
2974
|
onClick: A,
|
|
2975
|
-
children:
|
|
2975
|
+
children: G
|
|
2976
2976
|
}
|
|
2977
|
-
) : /* @__PURE__ */ d(y, { sx: H, children:
|
|
2978
|
-
return /* @__PURE__ */
|
|
2977
|
+
) : /* @__PURE__ */ d(y, { sx: H, children: G });
|
|
2978
|
+
return /* @__PURE__ */ E(Q, { children: [
|
|
2979
2979
|
s && l ? /* @__PURE__ */ d(y, { sx: T.embedCodeHeadlineSection, children: /* @__PURE__ */ d(
|
|
2980
|
-
|
|
2980
|
+
We,
|
|
2981
2981
|
{
|
|
2982
2982
|
ratio: "16/9",
|
|
2983
2983
|
sx: T.aspectRatioContainer,
|
|
@@ -2985,9 +2985,9 @@ const ji = ({ my: e }) => {
|
|
|
2985
2985
|
children: /* @__PURE__ */ d(y, { ref: l })
|
|
2986
2986
|
}
|
|
2987
2987
|
) }) : o ? M(
|
|
2988
|
-
/* @__PURE__ */
|
|
2989
|
-
/* @__PURE__ */
|
|
2990
|
-
/* @__PURE__ */
|
|
2988
|
+
/* @__PURE__ */ E(y, { sx: T.headlineContent, children: [
|
|
2989
|
+
/* @__PURE__ */ E(y, { children: [
|
|
2990
|
+
/* @__PURE__ */ E(
|
|
2991
2991
|
y,
|
|
2992
2992
|
{
|
|
2993
2993
|
sx: {
|
|
@@ -2998,21 +2998,21 @@ const ji = ({ my: e }) => {
|
|
|
2998
2998
|
},
|
|
2999
2999
|
children: [
|
|
3000
3000
|
/* @__PURE__ */ d(P, { sx: T.headlineText, children: t }),
|
|
3001
|
-
/* @__PURE__ */ d(
|
|
3001
|
+
/* @__PURE__ */ d(q, { rulesDisplay: m, rules: e.rules || "" })
|
|
3002
3002
|
]
|
|
3003
3003
|
}
|
|
3004
3004
|
),
|
|
3005
|
-
/* @__PURE__ */
|
|
3005
|
+
/* @__PURE__ */ E(y, { sx: T.contentContainer, children: [
|
|
3006
3006
|
/* @__PURE__ */ d(P, { sx: T.titleText, children: e.title }),
|
|
3007
3007
|
/* @__PURE__ */ d(P, { sx: T.descriptionText, children: K(e.description) })
|
|
3008
3008
|
] })
|
|
3009
3009
|
] }),
|
|
3010
|
-
h && !x && c && /* @__PURE__ */ d(y, { children: c((
|
|
3010
|
+
h && !x && c && /* @__PURE__ */ d(y, { children: c((R == null ? void 0 : R.contentColor) || p) })
|
|
3011
3011
|
] }),
|
|
3012
3012
|
T.headlineSection
|
|
3013
|
-
) : /* @__PURE__ */ d(y, { sx: T.headlineSectionNoImage, children: /* @__PURE__ */
|
|
3014
|
-
/* @__PURE__ */
|
|
3015
|
-
/* @__PURE__ */
|
|
3013
|
+
) : /* @__PURE__ */ d(y, { sx: T.headlineSectionNoImage, children: /* @__PURE__ */ E(y, { sx: T.headlineContent, children: [
|
|
3014
|
+
/* @__PURE__ */ E(y, { children: [
|
|
3015
|
+
/* @__PURE__ */ E(
|
|
3016
3016
|
y,
|
|
3017
3017
|
{
|
|
3018
3018
|
sx: {
|
|
@@ -3023,20 +3023,20 @@ const ji = ({ my: e }) => {
|
|
|
3023
3023
|
},
|
|
3024
3024
|
children: [
|
|
3025
3025
|
/* @__PURE__ */ d(P, { sx: T.headlineTextNoImage, children: t }),
|
|
3026
|
-
/* @__PURE__ */ d(
|
|
3026
|
+
/* @__PURE__ */ d(q, { rulesDisplay: m, rules: e.rules || "" })
|
|
3027
3027
|
]
|
|
3028
3028
|
}
|
|
3029
3029
|
),
|
|
3030
|
-
/* @__PURE__ */
|
|
3030
|
+
/* @__PURE__ */ E(y, { sx: T.contentContainer, children: [
|
|
3031
3031
|
/* @__PURE__ */ d(P, { sx: T.titleTextNoImage, children: e.title }),
|
|
3032
3032
|
/* @__PURE__ */ d(P, { sx: T.descriptionTextNoImage, children: K(e.description) })
|
|
3033
3033
|
] })
|
|
3034
3034
|
] }),
|
|
3035
3035
|
h && !x && c && /* @__PURE__ */ d(y, { children: c(v) })
|
|
3036
3036
|
] }) }),
|
|
3037
|
-
/* @__PURE__ */
|
|
3038
|
-
s && l && /* @__PURE__ */ d(y, { sx: T.embedCodeHeadlineContent, children: /* @__PURE__ */
|
|
3039
|
-
/* @__PURE__ */
|
|
3037
|
+
/* @__PURE__ */ E(y, { sx: T.questionArea, children: [
|
|
3038
|
+
s && l && /* @__PURE__ */ d(y, { sx: T.embedCodeHeadlineContent, children: /* @__PURE__ */ E(y, { children: [
|
|
3039
|
+
/* @__PURE__ */ E(
|
|
3040
3040
|
y,
|
|
3041
3041
|
{
|
|
3042
3042
|
sx: {
|
|
@@ -3056,11 +3056,11 @@ const ji = ({ my: e }) => {
|
|
|
3056
3056
|
children: t
|
|
3057
3057
|
}
|
|
3058
3058
|
),
|
|
3059
|
-
/* @__PURE__ */ d(
|
|
3059
|
+
/* @__PURE__ */ d(q, { rulesDisplay: m, rules: e.rules || "" })
|
|
3060
3060
|
]
|
|
3061
3061
|
}
|
|
3062
3062
|
),
|
|
3063
|
-
/* @__PURE__ */
|
|
3063
|
+
/* @__PURE__ */ E(y, { sx: T.contentContainer, children: [
|
|
3064
3064
|
/* @__PURE__ */ d(
|
|
3065
3065
|
P,
|
|
3066
3066
|
{
|
|
@@ -3086,7 +3086,7 @@ const ji = ({ my: e }) => {
|
|
|
3086
3086
|
n
|
|
3087
3087
|
] })
|
|
3088
3088
|
] });
|
|
3089
|
-
},
|
|
3089
|
+
}, zn = (e) => {
|
|
3090
3090
|
var t;
|
|
3091
3091
|
return {
|
|
3092
3092
|
// Main container with background overlay
|
|
@@ -3189,10 +3189,10 @@ const ji = ({ my: e }) => {
|
|
|
3189
3189
|
children: n,
|
|
3190
3190
|
rulesDisplay: l
|
|
3191
3191
|
}) => {
|
|
3192
|
-
var
|
|
3192
|
+
var R, D;
|
|
3193
3193
|
const s = ye(), h = le(), c = xe(
|
|
3194
3194
|
ie.OVERLAY
|
|
3195
|
-
), m = ((
|
|
3195
|
+
), m = ((R = e.branding) == null ? void 0 : R.colors) || null, u = (m == null ? void 0 : m.contentColor) || s.colorSchemes.dark.textColor, f = s.customFontFamily.dark.primary, x = s.customFontFamily.dark.secondary, _ = s.customRadius.dark.md, b = (D = s.border) == null ? void 0 : D.dark.size, C = s.colorSchemes.dark.textColor, S = Wt(o), O = zn({
|
|
3196
3196
|
spacingScale: h,
|
|
3197
3197
|
brandingColors: m,
|
|
3198
3198
|
secondaryColor: u,
|
|
@@ -3204,9 +3204,9 @@ const ji = ({ my: e }) => {
|
|
|
3204
3204
|
darkTextColor: C,
|
|
3205
3205
|
imageBackgroundGradient: c
|
|
3206
3206
|
});
|
|
3207
|
-
return /* @__PURE__ */
|
|
3208
|
-
/* @__PURE__ */ d(y, { children: /* @__PURE__ */ d(y, { sx:
|
|
3209
|
-
/* @__PURE__ */
|
|
3207
|
+
return /* @__PURE__ */ E(y, { sx: O.mainContainer, children: [
|
|
3208
|
+
/* @__PURE__ */ d(y, { children: /* @__PURE__ */ d(y, { sx: O.headlineSection, children: /* @__PURE__ */ d(y, { sx: O.headlineContent, children: /* @__PURE__ */ E(y, { sx: O.headlineContentInner, children: [
|
|
3209
|
+
/* @__PURE__ */ E(
|
|
3210
3210
|
y,
|
|
3211
3211
|
{
|
|
3212
3212
|
sx: {
|
|
@@ -3215,9 +3215,9 @@ const ji = ({ my: e }) => {
|
|
|
3215
3215
|
gap: h["3xs"]
|
|
3216
3216
|
},
|
|
3217
3217
|
children: [
|
|
3218
|
-
/* @__PURE__ */ d(P, { level: "body-sm", sx:
|
|
3218
|
+
/* @__PURE__ */ d(P, { level: "body-sm", sx: O.headlineText, children: t }),
|
|
3219
3219
|
/* @__PURE__ */ d(
|
|
3220
|
-
|
|
3220
|
+
q,
|
|
3221
3221
|
{
|
|
3222
3222
|
rulesDisplay: l,
|
|
3223
3223
|
isOverlayVariant: !0,
|
|
@@ -3227,14 +3227,14 @@ const ji = ({ my: e }) => {
|
|
|
3227
3227
|
]
|
|
3228
3228
|
}
|
|
3229
3229
|
),
|
|
3230
|
-
/* @__PURE__ */
|
|
3231
|
-
/* @__PURE__ */ d(P, { level: "h4", sx:
|
|
3232
|
-
e.description && /* @__PURE__ */ d(P, { level: "body-lg", sx:
|
|
3230
|
+
/* @__PURE__ */ E(y, { sx: O.contentContainer, children: [
|
|
3231
|
+
/* @__PURE__ */ d(P, { level: "h4", sx: O.titleText, children: e.title }),
|
|
3232
|
+
e.description && /* @__PURE__ */ d(P, { level: "body-lg", sx: O.descriptionText, children: K(e.description) })
|
|
3233
3233
|
] })
|
|
3234
3234
|
] }) }) }) }),
|
|
3235
|
-
/* @__PURE__ */ d(y, { sx:
|
|
3235
|
+
/* @__PURE__ */ d(y, { sx: O.mainContentSection, children: n })
|
|
3236
3236
|
] });
|
|
3237
|
-
},
|
|
3237
|
+
}, Gn = (e) => {
|
|
3238
3238
|
var t, o, n;
|
|
3239
3239
|
return {
|
|
3240
3240
|
// Wrapper container for the entire split layout
|
|
@@ -3337,7 +3337,7 @@ const ji = ({ my: e }) => {
|
|
|
3337
3337
|
flexDirection: "column"
|
|
3338
3338
|
}
|
|
3339
3339
|
};
|
|
3340
|
-
},
|
|
3340
|
+
}, qi = ({
|
|
3341
3341
|
entity: e,
|
|
3342
3342
|
headline: t,
|
|
3343
3343
|
finalImage: o,
|
|
@@ -3348,15 +3348,15 @@ const ji = ({ my: e }) => {
|
|
|
3348
3348
|
rulesDisplay: c
|
|
3349
3349
|
}) => {
|
|
3350
3350
|
var D;
|
|
3351
|
-
const m = pe(), u =
|
|
3351
|
+
const m = pe(), u = Gt(), f = ye(), x = le(), _ = Z().primary, b = Z().secondary, C = ce(), S = xe(
|
|
3352
3352
|
ie.SPLIT
|
|
3353
|
-
),
|
|
3353
|
+
), O = ((D = e.branding) == null ? void 0 : D.colors) || null, R = Gn({
|
|
3354
3354
|
finalImage: o,
|
|
3355
3355
|
spacingScale: x,
|
|
3356
3356
|
borderRadius: C,
|
|
3357
3357
|
fontFamilyPrimary: _,
|
|
3358
3358
|
fontFamilySecondary: b,
|
|
3359
|
-
brandingColors:
|
|
3359
|
+
brandingColors: O,
|
|
3360
3360
|
darkTextColor: f.colorSchemes.dark.textColor,
|
|
3361
3361
|
imageBackgroundGradient: S,
|
|
3362
3362
|
isMobile: m,
|
|
@@ -3364,10 +3364,10 @@ const ji = ({ my: e }) => {
|
|
|
3364
3364
|
isTabulated: s,
|
|
3365
3365
|
alwaysShowImage: h
|
|
3366
3366
|
});
|
|
3367
|
-
return /* @__PURE__ */
|
|
3368
|
-
/* @__PURE__ */ d(y, { sx:
|
|
3369
|
-
/* @__PURE__ */
|
|
3370
|
-
/* @__PURE__ */
|
|
3367
|
+
return /* @__PURE__ */ E(y, { sx: R.wrapper, children: [
|
|
3368
|
+
/* @__PURE__ */ d(y, { sx: R.desktopImageSection, children: /* @__PURE__ */ E(y, { sx: R.imageSectionContent, children: [
|
|
3369
|
+
/* @__PURE__ */ E(y, { children: [
|
|
3370
|
+
/* @__PURE__ */ E(
|
|
3371
3371
|
y,
|
|
3372
3372
|
{
|
|
3373
3373
|
sx: {
|
|
@@ -3376,21 +3376,21 @@ const ji = ({ my: e }) => {
|
|
|
3376
3376
|
gap: x["3xs"]
|
|
3377
3377
|
},
|
|
3378
3378
|
children: [
|
|
3379
|
-
/* @__PURE__ */ d(P, { level: "body-sm", sx:
|
|
3380
|
-
/* @__PURE__ */ d(
|
|
3379
|
+
/* @__PURE__ */ d(P, { level: "body-sm", sx: R.headlineText, children: t }),
|
|
3380
|
+
/* @__PURE__ */ d(q, { rulesDisplay: c, rules: e.rules || "" })
|
|
3381
3381
|
]
|
|
3382
3382
|
}
|
|
3383
3383
|
),
|
|
3384
|
-
/* @__PURE__ */
|
|
3385
|
-
/* @__PURE__ */ d(P, { level: "body-lg", sx:
|
|
3386
|
-
/* @__PURE__ */ d(P, { level: "body-md", sx:
|
|
3384
|
+
/* @__PURE__ */ E(y, { sx: R.contentContainer, children: [
|
|
3385
|
+
/* @__PURE__ */ d(P, { level: "body-lg", sx: R.titleText, children: e.title }),
|
|
3386
|
+
/* @__PURE__ */ d(P, { level: "body-md", sx: R.descriptionText, children: K(e.description) })
|
|
3387
3387
|
] })
|
|
3388
3388
|
] }),
|
|
3389
|
-
/* @__PURE__ */ d(y, { sx:
|
|
3389
|
+
/* @__PURE__ */ d(y, { sx: R.presentedByDesktop, children: n })
|
|
3390
3390
|
] }) }),
|
|
3391
|
-
/* @__PURE__ */ d(y, { sx:
|
|
3391
|
+
/* @__PURE__ */ d(y, { sx: R.questionArea, children: l })
|
|
3392
3392
|
] });
|
|
3393
|
-
},
|
|
3393
|
+
}, Wn = (e) => {
|
|
3394
3394
|
var t, o, n;
|
|
3395
3395
|
return {
|
|
3396
3396
|
// Mobile headline with image background
|
|
@@ -3663,7 +3663,7 @@ const ji = ({ my: e }) => {
|
|
|
3663
3663
|
};
|
|
3664
3664
|
}, gt = ct(/* @__PURE__ */ d("path", {
|
|
3665
3665
|
d: "M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"
|
|
3666
|
-
}), "Replay"),
|
|
3666
|
+
}), "Replay"), Xi = (e) => {
|
|
3667
3667
|
var g;
|
|
3668
3668
|
const t = ((g = e.entity.branding) == null ? void 0 : g.colors) || null, o = ye(), n = pe(), l = ut(
|
|
3669
3669
|
{
|
|
@@ -3671,9 +3671,9 @@ const ji = ({ my: e }) => {
|
|
|
3671
3671
|
imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
|
|
3672
3672
|
},
|
|
3673
3673
|
ie.STANDARD
|
|
3674
|
-
), s = le(), h =
|
|
3674
|
+
), s = le(), h = Z().primary, c = Z().secondary, m = ce(), u = (t == null ? void 0 : t.contentColor) || j().textColor, f = j().textPrimary, x = (t == null ? void 0 : t.primaryColor) || j().palette.primary.plainColor, _ = (t == null ? void 0 : t.secondaryColor) || j().textColor, b = No().size, C = j().surface, S = j().onSurface, O = xe(
|
|
3675
3675
|
ie.STANDARD
|
|
3676
|
-
), { t:
|
|
3676
|
+
), { t: R } = Ae(), D = e.imagePosition || "left", v = "60%", w = e.isApiError ? R("common.error.title") : R("common.authentication.accessRequired"), N = e.isApiError ? e.apiErrorMessage || R("common.error.message") : R("common.authentication.invalidOrMissingAuth"), i = Wn({
|
|
3677
3677
|
finalImage: l,
|
|
3678
3678
|
spacingScale: s,
|
|
3679
3679
|
borderRadius: m,
|
|
@@ -3685,40 +3685,51 @@ const ji = ({ my: e }) => {
|
|
|
3685
3685
|
darkTextColor: o.colorSchemes.dark.textColor,
|
|
3686
3686
|
opacity: v,
|
|
3687
3687
|
imagePosition: D,
|
|
3688
|
-
imageBackgroundGradient:
|
|
3688
|
+
imageBackgroundGradient: O,
|
|
3689
3689
|
textPrimary: f,
|
|
3690
3690
|
primaryColor: x,
|
|
3691
3691
|
borderSize: b,
|
|
3692
3692
|
buttonBgColor: C,
|
|
3693
3693
|
onSurfaceColor: S,
|
|
3694
3694
|
isMobile: n
|
|
3695
|
-
}), p = () => e.isApiError ? /* @__PURE__ */
|
|
3696
|
-
/* @__PURE__ */ d(y, { sx: i.ctaContainer, children: /* @__PURE__ */ d(y, { sx: i.ctaContentWrapper, children: /* @__PURE__ */ d(y, { sx: i.buttonsContainer, children: /* @__PURE__ */ d(Ce, { sx: i.tryAgainButton, onClick: e.toggleTryAgain, children: /* @__PURE__ */
|
|
3695
|
+
}), p = () => e.isApiError ? /* @__PURE__ */ E(Q, { children: [
|
|
3696
|
+
/* @__PURE__ */ d(y, { sx: i.ctaContainer, children: /* @__PURE__ */ d(y, { sx: i.ctaContentWrapper, children: /* @__PURE__ */ d(y, { sx: i.buttonsContainer, children: /* @__PURE__ */ d(Ce, { sx: i.tryAgainButton, onClick: e.toggleTryAgain, children: /* @__PURE__ */ E(y, { sx: i.tryAgainButtonContent, children: [
|
|
3697
3697
|
/* @__PURE__ */ d(gt, { sx: i.tryAgainIcon }),
|
|
3698
3698
|
/* @__PURE__ */ d(P, { sx: i.tryAgainText, children: e.tryAgainButtonText })
|
|
3699
3699
|
] }) }) }) }) }),
|
|
3700
3700
|
/* @__PURE__ */ d(y, { sx: i.presentedByContainer, children: e.renderPresentedBy(u) })
|
|
3701
|
-
] }) : /* @__PURE__ */ d(
|
|
3702
|
-
return /* @__PURE__ */
|
|
3703
|
-
l ? /* @__PURE__ */ d(y, { sx: i.mobileHeadlineWithImage, children: /* @__PURE__ */ d(y, { sx: i.mobileHeadlineContent, children: /* @__PURE__ */
|
|
3704
|
-
/* @__PURE__ */
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
{
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3701
|
+
] }) : /* @__PURE__ */ d(Q, {});
|
|
3702
|
+
return /* @__PURE__ */ E(Q, { children: [
|
|
3703
|
+
l ? /* @__PURE__ */ d(y, { sx: i.mobileHeadlineWithImage, children: /* @__PURE__ */ d(y, { sx: i.mobileHeadlineContent, children: /* @__PURE__ */ E(y, { children: [
|
|
3704
|
+
/* @__PURE__ */ E(
|
|
3705
|
+
y,
|
|
3706
|
+
{
|
|
3707
|
+
sx: {
|
|
3708
|
+
display: "flex",
|
|
3709
|
+
alignItems: "center",
|
|
3710
|
+
justifyContent: "center",
|
|
3711
|
+
gap: s["3xs"]
|
|
3712
|
+
},
|
|
3713
|
+
children: [
|
|
3714
|
+
/* @__PURE__ */ d(
|
|
3715
|
+
P,
|
|
3716
|
+
{
|
|
3717
|
+
level: "body-sm",
|
|
3718
|
+
sx: i.headlineTypographyMobileImage,
|
|
3719
|
+
children: e.headline
|
|
3720
|
+
}
|
|
3721
|
+
),
|
|
3722
|
+
/* @__PURE__ */ d(
|
|
3723
|
+
q,
|
|
3724
|
+
{
|
|
3725
|
+
rulesDisplay: e.rulesDisplay,
|
|
3726
|
+
rules: e.entity.rules || ""
|
|
3727
|
+
}
|
|
3728
|
+
)
|
|
3729
|
+
]
|
|
3730
|
+
}
|
|
3731
|
+
),
|
|
3732
|
+
/* @__PURE__ */ E(y, { sx: i.contentContainer, children: [
|
|
3722
3733
|
/* @__PURE__ */ d(
|
|
3723
3734
|
P,
|
|
3724
3735
|
{
|
|
@@ -3736,32 +3747,36 @@ const ji = ({ my: e }) => {
|
|
|
3736
3747
|
}
|
|
3737
3748
|
)
|
|
3738
3749
|
] })
|
|
3739
|
-
] }) }) }) : /* @__PURE__ */ d(y, { sx: i.mobileHeadlineWithoutImage, children: /* @__PURE__ */
|
|
3740
|
-
/* @__PURE__ */
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3750
|
+
] }) }) }) : /* @__PURE__ */ d(y, { sx: i.mobileHeadlineWithoutImage, children: /* @__PURE__ */ E(y, { children: [
|
|
3751
|
+
/* @__PURE__ */ E(
|
|
3752
|
+
y,
|
|
3753
|
+
{
|
|
3754
|
+
sx: {
|
|
3755
|
+
display: "flex",
|
|
3756
|
+
alignItems: "center",
|
|
3757
|
+
justifyContent: "center",
|
|
3758
|
+
gap: s["3xs"]
|
|
3759
|
+
},
|
|
3760
|
+
children: [
|
|
3761
|
+
/* @__PURE__ */ d(P, { level: "body-sm", sx: i.headlineTypography, children: e.headline }),
|
|
3762
|
+
/* @__PURE__ */ d(
|
|
3763
|
+
q,
|
|
3764
|
+
{
|
|
3765
|
+
rulesDisplay: e.rulesDisplay,
|
|
3766
|
+
rules: e.entity.rules || ""
|
|
3767
|
+
}
|
|
3768
|
+
)
|
|
3769
|
+
]
|
|
3770
|
+
}
|
|
3771
|
+
),
|
|
3772
|
+
/* @__PURE__ */ E(y, { sx: i.contentContainer, children: [
|
|
3751
3773
|
/* @__PURE__ */ d(P, { level: "h4", sx: i.titleTypography, children: e.entity.title }),
|
|
3752
3774
|
/* @__PURE__ */ d(P, { level: "body-md", sx: i.descriptionTypography, children: K(e.entity.description) })
|
|
3753
3775
|
] })
|
|
3754
3776
|
] }) }),
|
|
3755
|
-
l && D === "left" && /* @__PURE__ */ d(y, { sx: i.imageContainerLeft, children: /* @__PURE__ */ d(
|
|
3756
|
-
|
|
3757
|
-
{
|
|
3758
|
-
src: l,
|
|
3759
|
-
alt: "illustration",
|
|
3760
|
-
style: i.image
|
|
3761
|
-
}
|
|
3762
|
-
) }),
|
|
3763
|
-
/* @__PURE__ */ R(y, { sx: i.mainContentArea, children: [
|
|
3764
|
-
/* @__PURE__ */ d(y, { sx: { px: s.md }, children: /* @__PURE__ */ d(y, { sx: i.desktopHeadlineContainer, children: /* @__PURE__ */ R(
|
|
3777
|
+
l && D === "left" && /* @__PURE__ */ d(y, { sx: i.imageContainerLeft, children: /* @__PURE__ */ d("img", { src: l, alt: "illustration", style: i.image }) }),
|
|
3778
|
+
/* @__PURE__ */ E(y, { sx: i.mainContentArea, children: [
|
|
3779
|
+
/* @__PURE__ */ d(y, { sx: { px: s.md }, children: /* @__PURE__ */ d(y, { sx: i.desktopHeadlineContainer, children: /* @__PURE__ */ E(
|
|
3765
3780
|
y,
|
|
3766
3781
|
{
|
|
3767
3782
|
sx: {
|
|
@@ -3770,17 +3785,27 @@ const ji = ({ my: e }) => {
|
|
|
3770
3785
|
alignItems: "center"
|
|
3771
3786
|
},
|
|
3772
3787
|
children: [
|
|
3773
|
-
/* @__PURE__ */
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
}
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3788
|
+
/* @__PURE__ */ E(
|
|
3789
|
+
y,
|
|
3790
|
+
{
|
|
3791
|
+
sx: {
|
|
3792
|
+
display: "flex",
|
|
3793
|
+
alignItems: "center",
|
|
3794
|
+
gap: s["3xs"]
|
|
3795
|
+
},
|
|
3796
|
+
children: [
|
|
3797
|
+
/* @__PURE__ */ d(P, { level: "body-sm", sx: i.headlineTypography, children: e.headline }),
|
|
3798
|
+
/* @__PURE__ */ d(
|
|
3799
|
+
q,
|
|
3800
|
+
{
|
|
3801
|
+
rulesDisplay: e.rulesDisplay,
|
|
3802
|
+
rules: e.entity.rules || ""
|
|
3803
|
+
}
|
|
3804
|
+
)
|
|
3805
|
+
]
|
|
3806
|
+
}
|
|
3807
|
+
),
|
|
3808
|
+
/* @__PURE__ */ E(y, { sx: i.contentContainer, children: [
|
|
3784
3809
|
/* @__PURE__ */ d(P, { level: "h4", sx: i.titleTypographyDesktop, children: e.entity.title }),
|
|
3785
3810
|
/* @__PURE__ */ d(
|
|
3786
3811
|
P,
|
|
@@ -3794,7 +3819,7 @@ const ji = ({ my: e }) => {
|
|
|
3794
3819
|
]
|
|
3795
3820
|
}
|
|
3796
3821
|
) }) }),
|
|
3797
|
-
/* @__PURE__ */ d(y, { sx: i.questionArea, children: /* @__PURE__ */
|
|
3822
|
+
/* @__PURE__ */ d(y, { sx: i.questionArea, children: /* @__PURE__ */ E(y, { sx: i.questionContainer, children: [
|
|
3798
3823
|
/* @__PURE__ */ d(y, { sx: i.alertContainer, children: /* @__PURE__ */ d(
|
|
3799
3824
|
ft,
|
|
3800
3825
|
{
|
|
@@ -3803,18 +3828,11 @@ const ji = ({ my: e }) => {
|
|
|
3803
3828
|
message: N
|
|
3804
3829
|
}
|
|
3805
3830
|
) }),
|
|
3806
|
-
e.isApiError ? /* @__PURE__ */ d(
|
|
3831
|
+
e.isApiError ? /* @__PURE__ */ d(Q, {}) : e.renderPresentedBy(u)
|
|
3807
3832
|
] }) }),
|
|
3808
3833
|
p()
|
|
3809
3834
|
] }),
|
|
3810
|
-
l && D === "right" && /* @__PURE__ */ d(y, { sx: i.imageContainerRight, children: /* @__PURE__ */ d(
|
|
3811
|
-
"img",
|
|
3812
|
-
{
|
|
3813
|
-
src: l,
|
|
3814
|
-
alt: "illustration",
|
|
3815
|
-
style: i.image
|
|
3816
|
-
}
|
|
3817
|
-
) })
|
|
3835
|
+
l && D === "right" && /* @__PURE__ */ d(y, { sx: i.imageContainerRight, children: /* @__PURE__ */ d("img", { src: l, alt: "illustration", style: i.image }) })
|
|
3818
3836
|
] });
|
|
3819
3837
|
}, Bn = (e) => {
|
|
3820
3838
|
var t, o, n;
|
|
@@ -3987,9 +4005,9 @@ const ji = ({ my: e }) => {
|
|
|
3987
4005
|
imagePlaceholder: e.defaultImagePlaceholderUrl || ""
|
|
3988
4006
|
},
|
|
3989
4007
|
ie.SPLIT
|
|
3990
|
-
), { t: s } = Ae(), h = j().textPrimary, c = j().surface, m = j().onSurface, u = (n == null ? void 0 : n.backgroundColor) || j().surfaceVariant, f = ce(), x =
|
|
4008
|
+
), { t: s } = Ae(), h = j().textPrimary, c = j().surface, m = j().onSurface, u = (n == null ? void 0 : n.backgroundColor) || j().surfaceVariant, f = ce(), x = Z().secondary, _ = Z().primary, b = ce().md, C = j().textColor, S = le(), O = xe(
|
|
3991
4009
|
ie.SPLIT
|
|
3992
|
-
),
|
|
4010
|
+
), R = e.isApiError ? s("common.error.title") : s("common.authentication.accessRequired"), D = e.isApiError ? e.apiErrorMessage || s("common.error.message") : s("common.authentication.invalidOrMissingAuth"), v = Bn({
|
|
3993
4011
|
finalImage: l,
|
|
3994
4012
|
spacingScale: S,
|
|
3995
4013
|
borderRadius: ce(),
|
|
@@ -3999,7 +4017,7 @@ const ji = ({ my: e }) => {
|
|
|
3999
4017
|
textColor: C,
|
|
4000
4018
|
brandingColors: n,
|
|
4001
4019
|
darkTextColor: t.colorSchemes.dark.textColor,
|
|
4002
|
-
imageBackgroundGradient:
|
|
4020
|
+
imageBackgroundGradient: O,
|
|
4003
4021
|
textPrimary: h,
|
|
4004
4022
|
surfaceColor: c,
|
|
4005
4023
|
onSurfaceColor: m,
|
|
@@ -4016,26 +4034,37 @@ const ji = ({ my: e }) => {
|
|
|
4016
4034
|
bgcolor: `rgba(${u ? dt(u || "").replace(/[^\d,]/g, "") : ""}, 0.5)`,
|
|
4017
4035
|
borderRadius: f.sm
|
|
4018
4036
|
},
|
|
4019
|
-
children: /* @__PURE__ */ d(y, { sx: v.ctaContainer, children: /* @__PURE__ */ d(y, { sx: v.ctaContentWrapper, children: /* @__PURE__ */ d(y, { sx: v.buttonsContainer, children: /* @__PURE__ */ d(Ce, { sx: v.tryAgainButton, onClick: e.toggleTryAgain, children: /* @__PURE__ */
|
|
4037
|
+
children: /* @__PURE__ */ d(y, { sx: v.ctaContainer, children: /* @__PURE__ */ d(y, { sx: v.ctaContentWrapper, children: /* @__PURE__ */ d(y, { sx: v.buttonsContainer, children: /* @__PURE__ */ d(Ce, { sx: v.tryAgainButton, onClick: e.toggleTryAgain, children: /* @__PURE__ */ E(y, { sx: v.tryAgainButtonContent, children: [
|
|
4020
4038
|
/* @__PURE__ */ d(gt, { sx: v.tryAgainIcon }),
|
|
4021
4039
|
/* @__PURE__ */ d(P, { sx: v.tryAgainText, children: e.tryAgainButtonText })
|
|
4022
4040
|
] }) }) }) }) })
|
|
4023
4041
|
}
|
|
4024
|
-
) : /* @__PURE__ */ d(
|
|
4025
|
-
return /* @__PURE__ */
|
|
4026
|
-
/* @__PURE__ */ d(y, { sx: v.headlineSection, children: /* @__PURE__ */
|
|
4027
|
-
/* @__PURE__ */
|
|
4028
|
-
/* @__PURE__ */
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4042
|
+
) : /* @__PURE__ */ d(Q, {});
|
|
4043
|
+
return /* @__PURE__ */ E(Q, { children: [
|
|
4044
|
+
/* @__PURE__ */ d(y, { sx: v.headlineSection, children: /* @__PURE__ */ E(y, { sx: v.headlineContent, children: [
|
|
4045
|
+
/* @__PURE__ */ E(y, { children: [
|
|
4046
|
+
/* @__PURE__ */ E(
|
|
4047
|
+
y,
|
|
4048
|
+
{
|
|
4049
|
+
sx: {
|
|
4050
|
+
display: "flex",
|
|
4051
|
+
alignItems: "center",
|
|
4052
|
+
justifyContent: o ? "center" : "left",
|
|
4053
|
+
gap: S["3xs"]
|
|
4054
|
+
},
|
|
4055
|
+
children: [
|
|
4056
|
+
/* @__PURE__ */ d(P, { level: "body-sm", sx: v.headlineText, children: e.headline }),
|
|
4057
|
+
/* @__PURE__ */ d(
|
|
4058
|
+
q,
|
|
4059
|
+
{
|
|
4060
|
+
rulesDisplay: e.rulesDisplay,
|
|
4061
|
+
rules: e.entity.rules || ""
|
|
4062
|
+
}
|
|
4063
|
+
)
|
|
4064
|
+
]
|
|
4065
|
+
}
|
|
4066
|
+
),
|
|
4067
|
+
/* @__PURE__ */ E(y, { sx: v.contentContainer, children: [
|
|
4039
4068
|
/* @__PURE__ */ d(P, { level: "body-lg", sx: v.titleText, children: e.entity.title }),
|
|
4040
4069
|
/* @__PURE__ */ d(P, { level: "body-md", sx: v.descriptionText, children: K(e.entity.description) })
|
|
4041
4070
|
] })
|
|
@@ -4044,12 +4073,12 @@ const ji = ({ my: e }) => {
|
|
|
4044
4073
|
(n == null ? void 0 : n.contentColor) || t.colorSchemes.dark.textColor
|
|
4045
4074
|
) })
|
|
4046
4075
|
] }) }),
|
|
4047
|
-
/* @__PURE__ */
|
|
4076
|
+
/* @__PURE__ */ E(y, { sx: v.questionArea, children: [
|
|
4048
4077
|
/* @__PURE__ */ d(
|
|
4049
4078
|
ft,
|
|
4050
4079
|
{
|
|
4051
4080
|
variant: "error",
|
|
4052
|
-
title:
|
|
4081
|
+
title: R,
|
|
4053
4082
|
message: D
|
|
4054
4083
|
}
|
|
4055
4084
|
),
|
|
@@ -4243,7 +4272,7 @@ const ji = ({ my: e }) => {
|
|
|
4243
4272
|
textTransform: "uppercase"
|
|
4244
4273
|
}
|
|
4245
4274
|
};
|
|
4246
|
-
},
|
|
4275
|
+
}, Zi = (e) => {
|
|
4247
4276
|
const t = le(), o = ye(), n = pe(), { t: l } = Ae(), s = xe(
|
|
4248
4277
|
ie.OVERLAY
|
|
4249
4278
|
), { brandingImage: h, brandingColors: c, brandingLogo: m } = Mo(e.entity.branding || null), u = h || ut(
|
|
@@ -4252,7 +4281,7 @@ const ji = ({ my: e }) => {
|
|
|
4252
4281
|
imagePlaceholder: e.defaultImagePlaceholderUrl || ""
|
|
4253
4282
|
},
|
|
4254
4283
|
ie.OVERLAY
|
|
4255
|
-
), f =
|
|
4284
|
+
), f = Wt(u), x = (c == null ? void 0 : c.contentColor) || o.colorSchemes.dark.textColor, _ = o.customFontFamily.dark.primary, b = o.customFontFamily.dark.secondary, C = o.customRadius.dark, S = o.border.dark.size, O = (c == null ? void 0 : c.backgroundColor) || o.colorSchemes.dark.surfaceVariant, R = o.colorSchemes.dark.onSurface, D = o.colorSchemes.dark.surfaceVariant, v = o.colorSchemes.dark.textPrimary, w = e.isApiError ? l("common.error.title") : l("common.authentication.accessRequired"), N = e.isApiError ? e.apiErrorMessage || l("common.error.message") : l("common.authentication.invalidOrMissingAuth"), i = jn({
|
|
4256
4285
|
spacingScale: t,
|
|
4257
4286
|
brandingColors: c,
|
|
4258
4287
|
secondaryColor: x,
|
|
@@ -4263,34 +4292,45 @@ const ji = ({ my: e }) => {
|
|
|
4263
4292
|
darkTextColor: o.colorSchemes.dark.textColor,
|
|
4264
4293
|
backgroundImage: f,
|
|
4265
4294
|
imageBackgroundGradient: s,
|
|
4266
|
-
contentBgColor:
|
|
4267
|
-
onSurfaceColor:
|
|
4295
|
+
contentBgColor: O,
|
|
4296
|
+
onSurfaceColor: R,
|
|
4268
4297
|
surfaceVariantColor: D,
|
|
4269
4298
|
textPrimary: v,
|
|
4270
4299
|
isMobile: n
|
|
4271
|
-
}), p = () => e.isApiError ? /* @__PURE__ */ d(y, { sx: i.ctaSection, children: /* @__PURE__ */ d(y, { sx: i.buttonsContainer, children: /* @__PURE__ */ d(Ce, { sx: i.tryAgainButton, onClick: e.toggleTryAgain, children: /* @__PURE__ */
|
|
4300
|
+
}), p = () => e.isApiError ? /* @__PURE__ */ d(y, { sx: i.ctaSection, children: /* @__PURE__ */ d(y, { sx: i.buttonsContainer, children: /* @__PURE__ */ d(Ce, { sx: i.tryAgainButton, onClick: e.toggleTryAgain, children: /* @__PURE__ */ E(y, { sx: i.tryAgainButtonContent, children: [
|
|
4272
4301
|
/* @__PURE__ */ d(gt, { sx: i.tryAgainIcon }),
|
|
4273
4302
|
/* @__PURE__ */ d(P, { sx: i.tryAgainText, children: e.tryAgainButtonText })
|
|
4274
|
-
] }) }) }) }) : /* @__PURE__ */ d(
|
|
4275
|
-
return /* @__PURE__ */
|
|
4276
|
-
/* @__PURE__ */ d(y, { children: /* @__PURE__ */ d(y, { sx: i.headlineSection, children: /* @__PURE__ */ d(y, { sx: i.headlineContent, children: /* @__PURE__ */
|
|
4277
|
-
/* @__PURE__ */
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
}
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4303
|
+
] }) }) }) }) : /* @__PURE__ */ d(Q, {});
|
|
4304
|
+
return /* @__PURE__ */ E(y, { sx: i.mainContainer, children: [
|
|
4305
|
+
/* @__PURE__ */ d(y, { children: /* @__PURE__ */ d(y, { sx: i.headlineSection, children: /* @__PURE__ */ d(y, { sx: i.headlineContent, children: /* @__PURE__ */ E(y, { sx: i.headlineContentInner, children: [
|
|
4306
|
+
/* @__PURE__ */ E(
|
|
4307
|
+
y,
|
|
4308
|
+
{
|
|
4309
|
+
sx: {
|
|
4310
|
+
display: "flex",
|
|
4311
|
+
alignItems: "center",
|
|
4312
|
+
justifyContent: n ? "center" : "left",
|
|
4313
|
+
gap: t["3xs"]
|
|
4314
|
+
},
|
|
4315
|
+
children: [
|
|
4316
|
+
/* @__PURE__ */ d(P, { level: "body-sm", sx: i.headlineText, children: e.headline }),
|
|
4317
|
+
/* @__PURE__ */ d(
|
|
4318
|
+
q,
|
|
4319
|
+
{
|
|
4320
|
+
rulesDisplay: e.rulesDisplay,
|
|
4321
|
+
isOverlayVariant: !0,
|
|
4322
|
+
rules: e.entity.rules || ""
|
|
4323
|
+
}
|
|
4324
|
+
)
|
|
4325
|
+
]
|
|
4326
|
+
}
|
|
4327
|
+
),
|
|
4328
|
+
/* @__PURE__ */ E(y, { sx: i.contentContainer, children: [
|
|
4289
4329
|
/* @__PURE__ */ d(P, { level: "h4", sx: i.titleText, children: e.entity.title }),
|
|
4290
4330
|
/* @__PURE__ */ d(P, { level: "body-lg", sx: i.descriptionText, children: K(e.entity.description) })
|
|
4291
4331
|
] })
|
|
4292
4332
|
] }) }) }) }),
|
|
4293
|
-
/* @__PURE__ */
|
|
4333
|
+
/* @__PURE__ */ E(y, { sx: i.bottomSection, children: [
|
|
4294
4334
|
/* @__PURE__ */ d(
|
|
4295
4335
|
ft,
|
|
4296
4336
|
{
|
|
@@ -4300,16 +4340,16 @@ const ji = ({ my: e }) => {
|
|
|
4300
4340
|
}
|
|
4301
4341
|
),
|
|
4302
4342
|
p(),
|
|
4303
|
-
m ? /* @__PURE__ */ d(y, { sx: i.footerContainer, children: e.renderPresentedBy(o.colorSchemes.dark.textColor) }) : /* @__PURE__ */ d(
|
|
4343
|
+
m ? /* @__PURE__ */ d(y, { sx: i.footerContainer, children: e.renderPresentedBy(o.colorSchemes.dark.textColor) }) : /* @__PURE__ */ d(Q, {})
|
|
4304
4344
|
] })
|
|
4305
4345
|
] });
|
|
4306
|
-
},
|
|
4346
|
+
}, Qi = ({
|
|
4307
4347
|
notFoundTitle: e,
|
|
4308
4348
|
notFoundMessage: t
|
|
4309
4349
|
}) => {
|
|
4310
4350
|
var c, m;
|
|
4311
|
-
const o = (m = (c = j().palette) == null ? void 0 : c.danger) == null ? void 0 : m.plainColor, n = j().textSecondary, l = le(), s =
|
|
4312
|
-
return /* @__PURE__ */
|
|
4351
|
+
const o = (m = (c = j().palette) == null ? void 0 : c.danger) == null ? void 0 : m.plainColor, n = j().textSecondary, l = le(), s = Z().primary, h = Z().secondary;
|
|
4352
|
+
return /* @__PURE__ */ E(
|
|
4313
4353
|
y,
|
|
4314
4354
|
{
|
|
4315
4355
|
sx: {
|
|
@@ -4380,15 +4420,15 @@ const ji = ({ my: e }) => {
|
|
|
4380
4420
|
}
|
|
4381
4421
|
);
|
|
4382
4422
|
};
|
|
4383
|
-
var Un = Object.create, je = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, $n = Object.getOwnPropertyNames, Kn = Object.getPrototypeOf,
|
|
4423
|
+
var Un = Object.create, je = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, $n = Object.getOwnPropertyNames, Kn = Object.getPrototypeOf, qn = Object.prototype.hasOwnProperty, Xn = (e, t, o) => t in e ? je(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Jn = (e, t) => () => (e && (t = e(e = 0)), t), Ue = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Zn = (e, t) => {
|
|
4384
4424
|
for (var o in t) je(e, o, { get: t[o], enumerable: !0 });
|
|
4385
|
-
},
|
|
4386
|
-
if (t && typeof t == "object" || typeof t == "function") for (let l of $n(t)) !
|
|
4425
|
+
}, Qn = (e, t, o, n) => {
|
|
4426
|
+
if (t && typeof t == "object" || typeof t == "function") for (let l of $n(t)) !qn.call(e, l) && l !== o && je(e, l, { get: () => t[l], enumerable: !(n = Yn(t, l)) || n.enumerable });
|
|
4387
4427
|
return e;
|
|
4388
|
-
}, ei = (e, t, o) => (o = e != null ? Un(Kn(e)) : {},
|
|
4389
|
-
|
|
4390
|
-
var wt,
|
|
4391
|
-
wt = { getItem: async () => null, setItem: async () => null, removeItem: async () => null, clear: async () => null, getAllKeys: async () => [], multiGet: async () => [], multiSet: async () => null, multiRemove: async () => null, mergeItem: async () => null, multiMerge: async () => null },
|
|
4428
|
+
}, ei = (e, t, o) => (o = e != null ? Un(Kn(e)) : {}, Qn(!e || !e.__esModule ? je(o, "default", { value: e, enumerable: !0 }) : o, e)), oe = (e, t, o) => (Xn(e, typeof t != "symbol" ? t + "" : t, o), o), Jt = {};
|
|
4429
|
+
Zn(Jt, { default: () => Zt });
|
|
4430
|
+
var wt, Zt, ti = Jn(() => {
|
|
4431
|
+
wt = { getItem: async () => null, setItem: async () => null, removeItem: async () => null, clear: async () => null, getAllKeys: async () => [], multiGet: async () => [], multiSet: async () => null, multiRemove: async () => null, mergeItem: async () => null, multiMerge: async () => null }, Zt = wt;
|
|
4392
4432
|
}), oi = Ue((e, t) => {
|
|
4393
4433
|
var o = function() {
|
|
4394
4434
|
function n(b, C) {
|
|
@@ -4415,8 +4455,8 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4415
4455
|
h = function() {
|
|
4416
4456
|
};
|
|
4417
4457
|
}
|
|
4418
|
-
function c(b, C, S,
|
|
4419
|
-
typeof C == "object" && (S = C.depth,
|
|
4458
|
+
function c(b, C, S, O, R) {
|
|
4459
|
+
typeof C == "object" && (S = C.depth, O = C.prototype, R = C.includeNonEnumerable, C = C.circular);
|
|
4420
4460
|
var D = [], v = [], w = typeof Buffer < "u";
|
|
4421
4461
|
typeof C > "u" && (C = !0), typeof S > "u" && (S = 1 / 0);
|
|
4422
4462
|
function N(i, p) {
|
|
@@ -4438,11 +4478,11 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4438
4478
|
else if (c.__isDate(i)) g = new Date(i.getTime());
|
|
4439
4479
|
else {
|
|
4440
4480
|
if (w && Buffer.isBuffer(i)) return Buffer.allocUnsafe ? g = Buffer.allocUnsafe(i.length) : g = new Buffer(i.length), i.copy(g), g;
|
|
4441
|
-
n(i, Error) ? g = Object.create(i) : typeof
|
|
4481
|
+
n(i, Error) ? g = Object.create(i) : typeof O > "u" ? (T = Object.getPrototypeOf(i), g = Object.create(T)) : (g = Object.create(O), T = O);
|
|
4442
4482
|
}
|
|
4443
4483
|
if (C) {
|
|
4444
|
-
var
|
|
4445
|
-
if (
|
|
4484
|
+
var I = D.indexOf(i);
|
|
4485
|
+
if (I != -1) return v[I];
|
|
4446
4486
|
D.push(i), v.push(g);
|
|
4447
4487
|
}
|
|
4448
4488
|
n(i, l) && i.forEach(function(U, ee) {
|
|
@@ -4457,12 +4497,12 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4457
4497
|
T && (M = Object.getOwnPropertyDescriptor(T, A)), !(M && M.set == null) && (g[A] = N(i[A], p - 1));
|
|
4458
4498
|
}
|
|
4459
4499
|
if (Object.getOwnPropertySymbols) for (var k = Object.getOwnPropertySymbols(i), A = 0; A < k.length; A++) {
|
|
4460
|
-
var B = k[A],
|
|
4461
|
-
|
|
4500
|
+
var B = k[A], W = Object.getOwnPropertyDescriptor(i, B);
|
|
4501
|
+
W && !W.enumerable && !R || (g[B] = N(i[B], p - 1), W.enumerable || Object.defineProperty(g, B, { enumerable: !1 }));
|
|
4462
4502
|
}
|
|
4463
|
-
if (
|
|
4464
|
-
var H =
|
|
4465
|
-
|
|
4503
|
+
if (R) for (var G = Object.getOwnPropertyNames(i), A = 0; A < G.length; A++) {
|
|
4504
|
+
var H = G[A], W = Object.getOwnPropertyDescriptor(i, H);
|
|
4505
|
+
W && W.enumerable || (g[H] = N(i[H], p - 1), Object.defineProperty(g, H, { enumerable: !1 }));
|
|
4466
4506
|
}
|
|
4467
4507
|
return g;
|
|
4468
4508
|
}
|
|
@@ -4538,8 +4578,8 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4538
4578
|
return f(this);
|
|
4539
4579
|
}, c.prototype.emit = function(i) {
|
|
4540
4580
|
for (var p = [], g = 1; g < arguments.length; g++) p.push(arguments[g]);
|
|
4541
|
-
var T = i === "error",
|
|
4542
|
-
if (
|
|
4581
|
+
var T = i === "error", I = this._events;
|
|
4582
|
+
if (I !== void 0) T = T && I.error === void 0;
|
|
4543
4583
|
else if (!T) return !1;
|
|
4544
4584
|
if (T) {
|
|
4545
4585
|
var A;
|
|
@@ -4547,16 +4587,16 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4547
4587
|
var M = new Error("Unhandled error." + (A ? " (" + A.message + ")" : ""));
|
|
4548
4588
|
throw M.context = A, M;
|
|
4549
4589
|
}
|
|
4550
|
-
var k =
|
|
4590
|
+
var k = I[i];
|
|
4551
4591
|
if (k === void 0) return !1;
|
|
4552
4592
|
if (typeof k == "function") n(k, this, p);
|
|
4553
|
-
else for (var B = k.length,
|
|
4593
|
+
else for (var B = k.length, W = O(k, B), g = 0; g < B; ++g) n(W[g], this, p);
|
|
4554
4594
|
return !0;
|
|
4555
4595
|
};
|
|
4556
4596
|
function x(i, p, g, T) {
|
|
4557
|
-
var
|
|
4597
|
+
var I, A, M;
|
|
4558
4598
|
if (u(g), A = i._events, A === void 0 ? (A = i._events = /* @__PURE__ */ Object.create(null), i._eventsCount = 0) : (A.newListener !== void 0 && (i.emit("newListener", p, g.listener ? g.listener : g), A = i._events), M = A[p]), M === void 0) M = A[p] = g, ++i._eventsCount;
|
|
4559
|
-
else if (typeof M == "function" ? M = A[p] = T ? [g, M] : [M, g] : T ? M.unshift(g) : M.push(g),
|
|
4599
|
+
else if (typeof M == "function" ? M = A[p] = T ? [g, M] : [M, g] : T ? M.unshift(g) : M.push(g), I = f(i), I > 0 && M.length > I && !M.warned) {
|
|
4560
4600
|
M.warned = !0;
|
|
4561
4601
|
var k = new Error("Possible EventEmitter memory leak detected. " + M.length + " " + String(p) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
4562
4602
|
k.name = "MaxListenersExceededWarning", k.emitter = i, k.type = p, k.count = M.length, s(k);
|
|
@@ -4572,25 +4612,25 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4572
4612
|
if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
4573
4613
|
}
|
|
4574
4614
|
function b(i, p, g) {
|
|
4575
|
-
var T = { fired: !1, wrapFn: void 0, target: i, type: p, listener: g },
|
|
4576
|
-
return
|
|
4615
|
+
var T = { fired: !1, wrapFn: void 0, target: i, type: p, listener: g }, I = _.bind(T);
|
|
4616
|
+
return I.listener = g, T.wrapFn = I, I;
|
|
4577
4617
|
}
|
|
4578
4618
|
c.prototype.once = function(i, p) {
|
|
4579
4619
|
return u(p), this.on(i, b(this, i, p)), this;
|
|
4580
4620
|
}, c.prototype.prependOnceListener = function(i, p) {
|
|
4581
4621
|
return u(p), this.prependListener(i, b(this, i, p)), this;
|
|
4582
4622
|
}, c.prototype.removeListener = function(i, p) {
|
|
4583
|
-
var g, T,
|
|
4623
|
+
var g, T, I, A, M;
|
|
4584
4624
|
if (u(p), T = this._events, T === void 0) return this;
|
|
4585
4625
|
if (g = T[i], g === void 0) return this;
|
|
4586
4626
|
if (g === p || g.listener === p) --this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete T[i], T.removeListener && this.emit("removeListener", i, g.listener || p));
|
|
4587
4627
|
else if (typeof g != "function") {
|
|
4588
|
-
for (
|
|
4589
|
-
M = g[A].listener,
|
|
4628
|
+
for (I = -1, A = g.length - 1; A >= 0; A--) if (g[A] === p || g[A].listener === p) {
|
|
4629
|
+
M = g[A].listener, I = A;
|
|
4590
4630
|
break;
|
|
4591
4631
|
}
|
|
4592
|
-
if (
|
|
4593
|
-
|
|
4632
|
+
if (I < 0) return this;
|
|
4633
|
+
I === 0 ? g.shift() : R(g, I), g.length === 1 && (T[i] = g[0]), T.removeListener !== void 0 && this.emit("removeListener", i, M || p);
|
|
4594
4634
|
}
|
|
4595
4635
|
return this;
|
|
4596
4636
|
}, c.prototype.off = c.prototype.removeListener, c.prototype.removeAllListeners = function(i) {
|
|
@@ -4598,8 +4638,8 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4598
4638
|
if (g = this._events, g === void 0) return this;
|
|
4599
4639
|
if (g.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : g[i] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete g[i]), this;
|
|
4600
4640
|
if (arguments.length === 0) {
|
|
4601
|
-
var
|
|
4602
|
-
for (T = 0; T <
|
|
4641
|
+
var I = Object.keys(g), A;
|
|
4642
|
+
for (T = 0; T < I.length; ++T) A = I[T], A !== "removeListener" && this.removeAllListeners(A);
|
|
4603
4643
|
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
|
4604
4644
|
}
|
|
4605
4645
|
if (p = g[i], typeof p == "function") this.removeListener(i, p);
|
|
@@ -4609,8 +4649,8 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4609
4649
|
function C(i, p, g) {
|
|
4610
4650
|
var T = i._events;
|
|
4611
4651
|
if (T === void 0) return [];
|
|
4612
|
-
var
|
|
4613
|
-
return
|
|
4652
|
+
var I = T[p];
|
|
4653
|
+
return I === void 0 ? [] : typeof I == "function" ? g ? [I.listener || I] : [I] : g ? D(I) : O(I, I.length);
|
|
4614
4654
|
}
|
|
4615
4655
|
c.prototype.listeners = function(i) {
|
|
4616
4656
|
return C(this, i, !0);
|
|
@@ -4631,11 +4671,11 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4631
4671
|
c.prototype.eventNames = function() {
|
|
4632
4672
|
return this._eventsCount > 0 ? l(this._events) : [];
|
|
4633
4673
|
};
|
|
4634
|
-
function
|
|
4674
|
+
function O(i, p) {
|
|
4635
4675
|
for (var g = new Array(p), T = 0; T < p; ++T) g[T] = i[T];
|
|
4636
4676
|
return g;
|
|
4637
4677
|
}
|
|
4638
|
-
function
|
|
4678
|
+
function R(i, p) {
|
|
4639
4679
|
for (; p + 1 < i.length; p++) i[p] = i[p + 1];
|
|
4640
4680
|
i.pop();
|
|
4641
4681
|
}
|
|
@@ -4645,13 +4685,13 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4645
4685
|
}
|
|
4646
4686
|
function v(i, p) {
|
|
4647
4687
|
return new Promise(function(g, T) {
|
|
4648
|
-
function
|
|
4688
|
+
function I(M) {
|
|
4649
4689
|
i.removeListener(p, A), T(M);
|
|
4650
4690
|
}
|
|
4651
4691
|
function A() {
|
|
4652
|
-
typeof i.removeListener == "function" && i.removeListener("error",
|
|
4692
|
+
typeof i.removeListener == "function" && i.removeListener("error", I), g([].slice.call(arguments));
|
|
4653
4693
|
}
|
|
4654
|
-
N(i, p, A, { once: !0 }), p !== "error" && w(i,
|
|
4694
|
+
N(i, p, A, { once: !0 }), p !== "error" && w(i, I, { once: !0 });
|
|
4655
4695
|
});
|
|
4656
4696
|
}
|
|
4657
4697
|
function w(i, p, g) {
|
|
@@ -4659,8 +4699,8 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4659
4699
|
}
|
|
4660
4700
|
function N(i, p, g, T) {
|
|
4661
4701
|
if (typeof i.on == "function") T.once ? i.once(p, g) : i.on(p, g);
|
|
4662
|
-
else if (typeof i.addEventListener == "function") i.addEventListener(p, function
|
|
4663
|
-
T.once && i.removeEventListener(p,
|
|
4702
|
+
else if (typeof i.addEventListener == "function") i.addEventListener(p, function I(A) {
|
|
4703
|
+
T.once && i.removeEventListener(p, I), g(A);
|
|
4664
4704
|
});
|
|
4665
4705
|
else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof i);
|
|
4666
4706
|
}
|
|
@@ -4675,11 +4715,11 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4675
4715
|
super(), this.get = this.get.bind(this), this.mget = this.mget.bind(this), this.set = this.set.bind(this), this.mset = this.mset.bind(this), this.del = this.del.bind(this), this.take = this.take.bind(this), this.ttl = this.ttl.bind(this), this.getTtl = this.getTtl.bind(this), this.keys = this.keys.bind(this), this.has = this.has.bind(this), this.getStats = this.getStats.bind(this), this.flushAll = this.flushAll.bind(this), this.flushStats = this.flushStats.bind(this), this.close = this.close.bind(this), this._checkData = this._checkData.bind(this), this._check = this._check.bind(this), this._isInvalidKey = this._isInvalidKey.bind(this), this._wrap = this._wrap.bind(this), this._getValLength = this._getValLength.bind(this), this._error = this._error.bind(this), this._initErrors = this._initErrors.bind(this), this.options = u, this._initErrors(), this.data = {}, this.options = Object.assign({ forceString: !1, objectValueSize: 80, promiseValueSize: 80, arrayValueSize: 40, stdTTL: 0, checkperiod: 600, useClones: !0, deleteOnExpire: !0, enableLegacyCallbacks: !1, maxKeys: -1 }, this.options), this.options.enableLegacyCallbacks && (console.warn("WARNING! node-cache legacy callback support will drop in v6.x"), ["get", "mget", "set", "del", "ttl", "getTtl", "keys", "has"].forEach((f) => {
|
|
4676
4716
|
var x;
|
|
4677
4717
|
x = this[f], this[f] = function(..._) {
|
|
4678
|
-
var b, C, S,
|
|
4718
|
+
var b, C, S, O;
|
|
4679
4719
|
if (S = _, [..._] = S, [b] = l.call(_, -1), typeof b == "function") try {
|
|
4680
|
-
|
|
4681
|
-
} catch (
|
|
4682
|
-
C =
|
|
4720
|
+
O = x(..._), b(null, O);
|
|
4721
|
+
} catch (R) {
|
|
4722
|
+
C = R, b(C);
|
|
4683
4723
|
}
|
|
4684
4724
|
else return x(..._, b);
|
|
4685
4725
|
};
|
|
@@ -4707,13 +4747,13 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4707
4747
|
return C = !1, this.data[u] && (C = !0, this.stats.vsize -= this._getValLength(this._unwrap(this.data[u], !1))), this.data[u] = this._wrap(f, x), this.stats.vsize += this._getValLength(f), C || (this.stats.ksize += this._getKeyLength(u), this.stats.keys++), this.emit("set", u, f), !0;
|
|
4708
4748
|
}
|
|
4709
4749
|
mset(u) {
|
|
4710
|
-
var f, x, _, b, C, S,
|
|
4750
|
+
var f, x, _, b, C, S, O, R, D, v;
|
|
4711
4751
|
if (s(this, c), this.options.maxKeys > -1 && this.stats.keys + u.length >= this.options.maxKeys) throw f = this._error("ECACHEFULL"), f;
|
|
4712
|
-
for (_ = 0,
|
|
4752
|
+
for (_ = 0, O = u.length; _ < O; _++) {
|
|
4713
4753
|
if (S = u[_], { key: C, val: v, ttl: D } = S, D && typeof D != "number") throw f = this._error("ETTLTYPE"), f;
|
|
4714
4754
|
if ((x = this._isInvalidKey(C)) != null) throw x;
|
|
4715
4755
|
}
|
|
4716
|
-
for (b = 0,
|
|
4756
|
+
for (b = 0, R = u.length; b < R; b++) S = u[b], { key: C, val: v, ttl: D } = S, this.set(C, v, D);
|
|
4717
4757
|
return !0;
|
|
4718
4758
|
}
|
|
4719
4759
|
del(u) {
|
|
@@ -4814,7 +4854,7 @@ var wt, Qt, ti = Jn(() => {
|
|
|
4814
4854
|
var o;
|
|
4815
4855
|
o = t.exports = ii(), o.version = "5.1.2";
|
|
4816
4856
|
}).call(e);
|
|
4817
|
-
}), ri = ((e) => (e.EN = "en", e.BG = "bg", e.RO = "ro", e.EL = "el", e.SK = "sk", e.PT = "pt", e.SR = "sr", e.HU = "hu", e.SV = "sv", e.ES = "es", e.FR = "fr", e.NL = "nl", e.DE = "de", e.IT = "it", e.AR = "ar", e))(ri || {}), si = ((e) => (e.DEV = "dev", e.PROD = "prod", e.STAGING = "staging", e
|
|
4857
|
+
}), ri = ((e) => (e.EN = "en", e.BG = "bg", e.RO = "ro", e.EL = "el", e.SK = "sk", e.PT = "pt", e.SR = "sr", e.HU = "hu", e.SV = "sv", e.ES = "es", e.FR = "fr", e.NL = "nl", e.DE = "de", e.IT = "it", e.AR = "ar", e))(ri || {}), si = ((e) => (e.DEV = "dev", e.PROD = "prod", e.STAGING = "staging", e))(si || {}), li = ((e) => (e.NATIVE = "native", e.ENETPULSE = "enetpulse", e.SPORTRADAR = "sportradar", e.SPORTAL_365 = "sportal365", e.API_FOOTBALL = "api_football", e))(li || {}), ci = ((e) => (e.DEFAULT = "default", e.STANDARD = "standard", e))(ci || {}), di = ((e) => (e.FT_1X2 = "FT_1X2", e.HT_1X2 = "HT_1X2", e.BOTH_TEAMS_SCORE = "BOTH_TEAMS_SCORE", e.DOUBLE_CHANCE = "DOUBLE_CHANCE", e.HT_FT = "HT_FT", e.PLAYER_SCORE = "PLAYER_SCORE", e.PLAYER_YELLOW_CARD = "PLAYER_YELLOW_CARD", e.PLAYER_RED_CARD = "PLAYER_RED_CARD", e.RED_CARD_MATCH = "RED_CARD_MATCH", e.PENALTY_MATCH = "PENALTY_MATCH", e.PLAYER_SCORE_FIRST_GOAL = "PLAYER_SCORE_FIRST_GOAL", e.CORNERS_MATCH = "CORNERS_MATCH", e.CORRECT_SCORE = "CORRECT_SCORE", e.CORRECT_SCORE_ADVANCED = "CORRECT_SCORE_ADVANCED", e.CORRECT_SCORE_HT = "CORRECT_SCORE_HT", e.PLAYER_SCORE_HATTRICK = "PLAYER_SCORE_HATTRICK", e.PLAYER_SCORE_TWICE = "PLAYER_SCORE_TWICE", e.OVER_GOALS_0_5 = "OVER_GOALS_0_5", e.OVER_GOALS_1_5 = "OVER_GOALS_1_5", e.OVER_GOALS_2_5 = "OVER_GOALS_2_5", e.OVER_GOALS_3_5 = "OVER_GOALS_3_5", e.OVER_GOALS_4_5 = "OVER_GOALS_4_5", e.OVER_GOALS_5_5 = "OVER_GOALS_5_5", e.OVER_GOALS_6_5 = "OVER_GOALS_6_5", e.OVER_CORNERS_6_5 = "OVER_CORNERS_6_5", e.OVER_CORNERS_7_5 = "OVER_CORNERS_7_5", e.OVER_CORNERS_8_5 = "OVER_CORNERS_8_5", e.OVER_CORNERS_9_5 = "OVER_CORNERS_9_5", e.OVER_CORNERS_10_5 = "OVER_CORNERS_10_5", e.OVER_CORNERS_11_5 = "OVER_CORNERS_11_5", e.OVER_CORNERS_12_5 = "OVER_CORNERS_12_5", e.OVER_CORNERS_13_5 = "OVER_CORNERS_13_5", e))(di || {});
|
|
4818
4858
|
function rt(e) {
|
|
4819
4859
|
this.message = e;
|
|
4820
4860
|
}
|
|
@@ -4826,7 +4866,7 @@ function kt(e) {
|
|
|
4826
4866
|
kt.prototype = new Error(), kt.prototype.name = "InvalidTokenError";
|
|
4827
4867
|
var ui = ((e) => (e[e.BAD_METHOD_CALL = 400] = "BAD_METHOD_CALL", e[e.UNAUTHORIZED = 401] = "UNAUTHORIZED", e[e.NOT_FOUND = 404] = "NOT_FOUND", e[e.PRECONDITION_FAILED = 412] = "PRECONDITION_FAILED", e))(ui || {}), fi = ((e) => (e.INVALID_TEMPLATE = "INVALID_TEMPLATE", e.INVALID_PREDICTION = "INVALID_PREDICTION", e.INVALID_MARKET = "INVALID_MARKET", e.INVALID_FIELD = "INVALID_FIELD", e.INVALID_TYPE = "INVALID_TYPE", e.EXCEEDED_LENGTH = "EXCEEDED_LENGTH", e.INVALID_TOKEN = "invalid_token", e.UNAUTHORIZED = "unauthorized", e.INVALID_FILTERS = "invalid_filters", e.INVALID_AVATAR = "invalid_avatar", e.INVALID_METHOD_CALL = "invalid_method_call", e.INVALID_LIMIT = "invalid_limit", e.INVALID_TEMPLATE_GROUP_ID = "invalid_template_group_id", e.INVALID_TEMPLATE_GROUP_FILTERS = "invalid_template_group_filters", e.INVALID_PAGE_NUMBER = "invalid_page_number", e.INVALID_DISCUSSION_IDS = "invalid_discussion_ids", e.ID_MAPPING_NOT_FOUND = "id_mapping_not_found", e.INVALID_COMPETITION_ID = "invalid_competition_id", e.INVALID_TEAM_ID = "invalid_team_id", e.INVALID_IDS = "invalid_ids", e.INVALID_INPUT_PROVIDER = "invalid_input_provider", e.INVALID_OUTPUT_PROVIDER = "invalid_output_provider", e.INVALID_MATCH_SUMMARY = "invalid_match_summary", e.INVALID_MATCH_SUMMARY_PREDICTIONS = "invalid_match_summary_predictions", e.INVALID_MATCH_SUMMARY_PREDICTIONS_KEYS = "invalid_match_summary_predictions_keys", e.ENTITY_IDS_NOT_FOUND = "entity_ids_not_found", e.MATCH_IDS_NOT_FOUND = "match_ids_not_found", e.INVALID_MATCH_IDS = "invalid_match_ids", e.ODD_CLIENT_CONFIGURATION_NOT_FOUND = "odd_client_configuration_not_found", e))(fi || {}), Y = { native: "id", sportradar: "sportradar_id", sportal365: "sportal365_id", enetpulse: "enetpulse_id", api_football: "api_football_id" };
|
|
4828
4868
|
(/* @__PURE__ */ new Map()).set("FT_1X2", "fullTimeOneXTwo").set("HT_1X2", "halfTimeOneXTwo").set("BOTH_TEAMS_SCORE", "bothTeamsScore").set("DOUBLE_CHANCE", "doubleChance").set("HT_FT", "halfTimeFullTime").set("PLAYER_SCORE", "playerScore").set("PLAYER_YELLOW_CARD", "playerYellowCard").set("PLAYER_RED_CARD", "playerRedCard").set("RED_CARD_MATCH", "redCardMatch").set("PENALTY_MATCH", "penaltyMatch").set("PLAYER_SCORE_FIRST_GOAL", "playerScoreFirstGoal").set("CORNERS_MATCH", "cornersMatch").set("CORRECT_SCORE", "correctScore").set("CORRECT_SCORE_ADVANCED", "correctScoreAdvanced").set("CORRECT_SCORE_HT", "correctScoreHalfTime").set("PLAYER_SCORE_HATTRICK", "playerScoreHattrick").set("PLAYER_SCORE_TWICE", "playerScoreTwice").set("OVER_GOALS_0_5", "overZeroPointFiveGoals").set("OVER_GOALS_1_5", "overOnePointFiveGoals").set("OVER_GOALS_2_5", "overTwoPointFiveGoals").set("OVER_GOALS_3_5", "overThreePointFiveGoals").set("OVER_GOALS_4_5", "overFourPointFiveGoals").set("OVER_GOALS_5_5", "overFivePointFiveGoals").set("OVER_GOALS_6_5", "overSixPointFiveGoals").set("OVER_CORNERS_6_5", "overSixPointFiveCorners").set("OVER_CORNERS_7_5", "overSevenPointFiveCorners").set("OVER_CORNERS_8_5", "overEightPointFiveCorners").set("OVER_CORNERS_9_5", "overNinePointFiveCorners").set("OVER_CORNERS_10_5", "overTenPointFiveCorners").set("OVER_CORNERS_11_5", "overElevenPointFiveCorners").set("OVER_CORNERS_12_5", "overTwelvePointFiveCorners").set("OVER_CORNERS_13_5", "overThirteenPointFiveCorners");
|
|
4829
|
-
var hi = ((e) => (e.INVALID_MATCH_ID = "Match id is invalid!", e.INVALID_PLAYER_ID = "Player id is invalid!", e.QUERY_PARAM_MATCH_IDS_EXCEEDED = "Maximum matchIds in PredictionFilters should be 10 or less.", e.QUERY_PARAM_FILTERS_LIMIT_EXCEEDED = "Maximum limit for filtering games is 50 or less.", e.INVALID_FIXTURES_FIELD = "Fixtures field is invalid. For more information please visit our documentation", e.INVALID_TOKEN = "Invalid JWT token is provided", e.EXPIRED_TOKEN = "The provided JWT token is expired", e.ENTITIES_NEEDED = "At least one of footballCompetitions, footballTeams or footballPlayers properties should be provided for filters.", e.ENTITIES_FOLLOWS_FILTERS_EXCEEDED = "Maximum length per entity should be 24 or less.", e.INVALID_TYPE = "You have provided invalid type. The valid type is ", e.INVALID_VALUE = "You have provided invalid value. The valid value is ", e.INVALID_AVATAR = "Invalid URL syntax for avatar image.", e.INVALID_GET_PROFILES_METHOD_CALL = "The method 'getByIds' from Profile namespace is not called correctly. You need to provide 'profileIds' OR 'search' parameters to the method, but you can't use both of them or neither of them.", e.INVALID_LIMIT = "Invalid limit. The maximum limit is: ", e.INVALID_LIMIT_TYPE = "Invalid limit type. The proper type is number.", e.FILTER_COMBINATION_ERROR = "You need to use both 'entityIds' and 'entityType' filters together", e.INVALID_ENTITY_TYPE = "Invalid 'entityType' filter. Please use one of the following valid options: competition, team, or player", e.INVALID_TEMPLATE_GROUP_ID = "There is no group in this template with the provided groupId", e.INVALID_TEMPLATE_GROUP_FILTERS = "The provided template group has no filters", e.INVALID_PAGE_NUMBER = "Invalid page number provided. Use number between 1 and max number of pages.", e.INVALID_DISCUSSION_IDS = "Invalid discussion ids argument. Please provide at least one discussion id in an array", e.EXCEEDED_DISCUSSION_IDS = "Maximum number of discussion ids exceeded. The maximum number of discussion ids is 50. You can use 'getPostsCountExtended' method for more than 50 discussion ids.", e.EXCEEDED_EXTENDED_DISCUSSION_IDS = "Maximum number of discussion ids exceeded. The maximum number of discussion ids is: ", e.ID_MAPPING_NOT_FOUND = "No ID mappings are available for the provided ID. ID argument: ", e.INVALID_PARAM = "Invalid parameter provided. Please check the following parameter: ", e.INVALID_COMPETITION_ID = "Invalid competition ID provided. Please provide a valid competition ID.", e.INVALID_TEAM_ID = "Invalid team ID provided. Please provide a valid team ID.", e.INVALID_OR_EMPTY_IDS = "Invalid or empty IDs provided. Please provide at least one ID.", e.INVALID_PROVIDER = "Invalid provider. The valid providers are: 'native', 'enetpulse', 'sportal365', 'sportradar' and 'api_football'.", e.INVALID_OUTPUT_PROVIDER = "Invalid output provider. The output can not be the same as the input provider.", e.MATCH_SUMMARY_REQUIRED = "Match summary is required.", e.MATCH_SUMMARY_PREDICTIONS_REQUIRED = "Predictions in match summary are required.", e.INVALID_MATCH_SUMMARY_PREDICTIONS_KEYS = "Keys in predictions in match summary are invalid. The valid ones are: ", e.INVALID_COLLECT_LEAD_METHOD_CALL = "The method 'collectLead' from Profile namespace is not called correctly. You need to provide 'requestBody' parameter to the method.", e.REQUIRED_FIXTURES_FIELD = "Fixtures field is required and should contain at least one fixtures object. For more information please visit our documentation", e.INVALID_TIEBREAKER_FIELD = "Tiebreaker field is invalid. It should contain statTotal key with integer value. For more information please visit our documentation", e.ENTITY_IDS_NOT_FOUND = "Some of the sport entity IDs were not found for the provided id schema", e.MATCH_IDS_NOT_FOUND = "Some of the match IDs were not found for the provided id schema", e.INVALID_STANDING_PREDICTION_ARGUMENT = "The prediction argument is invalid. For more information please visit our documentation", e.INVALID_MAP_PLAYERS_ROLES_KEYS = "The keys in the players roles map are not part of the valid keys. The valid keys are: ", e.INVALID_MAP_PLAYERS_ROLES_VALUES = "The values in the map are not valid. The valid ones are: ", e.INVALID_MATCH_IDS = "Match IDs are invalid!", e.MISSING_ODD_CLIENT_CONFIGURATION = "Odds namespace requires oddClient configuration to be set", e.INVALID_COLLECT_CONSENTS_METHOD_CALL = "The method 'collectConsents' from Profile namespace is not called correctly. You need to provide 'consents' parameter to the method.", e))(hi || {}), mi = ((e) => (e.LIKE = "like", e.DISLIKE = "dislike", e.PAGE_VIEW = "page_view", e.CONTENT_CONSUMED = "content_consumed", e.SHARE = "share", e.COMMENT = "comment", e.CLICK_AD = "click_ad", e.PREDICTION_MADE = "prediction_made", e.CONVERT = "convert", e.MANAGE_INTERESTS = "manage_interests", e.GAME_PARTICIPATION = "game_participation", e.ARTICLE_CONSUMED = "article_consumed", e.VIDEO_CONSUMED = "video_consumed", e.SHORT_VIDEO_CONSUMED = "short_video_consumed", e.LONG_VIDEO_CONSUMED = "long_video_consumed", e.AUDIO_CONSUMED = "audio_consumed", e.GALLERY_CONSUMED = "gallery_consumed", e.IMAGE_CONSUMED = "image_consumed", e.POLL_PARTICIPATION = "poll_participation", e))(mi || {}), ot = "FansUnited", Ve = { football: { ids: [], countries: [], competitions: [], expirations: { ids: 0 } }, profile: { info: {}, statistics: {}, badges: null, countries: [], expirations: { profile: 0, statistics: 0, badges: 0 } }, client: { features: {}, expirations: { features: 0 } } },
|
|
4869
|
+
var hi = ((e) => (e.INVALID_MATCH_ID = "Match id is invalid!", e.INVALID_PLAYER_ID = "Player id is invalid!", e.QUERY_PARAM_MATCH_IDS_EXCEEDED = "Maximum matchIds in PredictionFilters should be 10 or less.", e.QUERY_PARAM_FILTERS_LIMIT_EXCEEDED = "Maximum limit for filtering games is 50 or less.", e.INVALID_FIXTURES_FIELD = "Fixtures field is invalid. For more information please visit our documentation", e.INVALID_TOKEN = "Invalid JWT token is provided", e.EXPIRED_TOKEN = "The provided JWT token is expired", e.ENTITIES_NEEDED = "At least one of footballCompetitions, footballTeams or footballPlayers properties should be provided for filters.", e.ENTITIES_FOLLOWS_FILTERS_EXCEEDED = "Maximum length per entity should be 24 or less.", e.INVALID_TYPE = "You have provided invalid type. The valid type is ", e.INVALID_VALUE = "You have provided invalid value. The valid value is ", e.INVALID_AVATAR = "Invalid URL syntax for avatar image.", e.INVALID_GET_PROFILES_METHOD_CALL = "The method 'getByIds' from Profile namespace is not called correctly. You need to provide 'profileIds' OR 'search' parameters to the method, but you can't use both of them or neither of them.", e.INVALID_LIMIT = "Invalid limit. The maximum limit is: ", e.INVALID_LIMIT_TYPE = "Invalid limit type. The proper type is number.", e.FILTER_COMBINATION_ERROR = "You need to use both 'entityIds' and 'entityType' filters together", e.INVALID_ENTITY_TYPE = "Invalid 'entityType' filter. Please use one of the following valid options: competition, team, or player", e.INVALID_TEMPLATE_GROUP_ID = "There is no group in this template with the provided groupId", e.INVALID_TEMPLATE_GROUP_FILTERS = "The provided template group has no filters", e.INVALID_PAGE_NUMBER = "Invalid page number provided. Use number between 1 and max number of pages.", e.INVALID_DISCUSSION_IDS = "Invalid discussion ids argument. Please provide at least one discussion id in an array", e.EXCEEDED_DISCUSSION_IDS = "Maximum number of discussion ids exceeded. The maximum number of discussion ids is 50. You can use 'getPostsCountExtended' method for more than 50 discussion ids.", e.EXCEEDED_EXTENDED_DISCUSSION_IDS = "Maximum number of discussion ids exceeded. The maximum number of discussion ids is: ", e.ID_MAPPING_NOT_FOUND = "No ID mappings are available for the provided ID. ID argument: ", e.INVALID_PARAM = "Invalid parameter provided. Please check the following parameter: ", e.INVALID_COMPETITION_ID = "Invalid competition ID provided. Please provide a valid competition ID.", e.INVALID_TEAM_ID = "Invalid team ID provided. Please provide a valid team ID.", e.INVALID_OR_EMPTY_IDS = "Invalid or empty IDs provided. Please provide at least one ID.", e.INVALID_PROVIDER = "Invalid provider. The valid providers are: 'native', 'enetpulse', 'sportal365', 'sportradar' and 'api_football'.", e.INVALID_OUTPUT_PROVIDER = "Invalid output provider. The output can not be the same as the input provider.", e.MATCH_SUMMARY_REQUIRED = "Match summary is required.", e.MATCH_SUMMARY_PREDICTIONS_REQUIRED = "Predictions in match summary are required.", e.INVALID_MATCH_SUMMARY_PREDICTIONS_KEYS = "Keys in predictions in match summary are invalid. The valid ones are: ", e.INVALID_COLLECT_LEAD_METHOD_CALL = "The method 'collectLead' from Profile namespace is not called correctly. You need to provide 'requestBody' parameter to the method.", e.REQUIRED_FIXTURES_FIELD = "Fixtures field is required and should contain at least one fixtures object. For more information please visit our documentation", e.INVALID_TIEBREAKER_FIELD = "Tiebreaker field is invalid. It should contain statTotal key with integer value. For more information please visit our documentation", e.ENTITY_IDS_NOT_FOUND = "Some of the sport entity IDs were not found for the provided id schema", e.MATCH_IDS_NOT_FOUND = "Some of the match IDs were not found for the provided id schema", e.INVALID_STANDING_PREDICTION_ARGUMENT = "The prediction argument is invalid. For more information please visit our documentation", e.INVALID_MAP_PLAYERS_ROLES_KEYS = "The keys in the players roles map are not part of the valid keys. The valid keys are: ", e.INVALID_MAP_PLAYERS_ROLES_VALUES = "The values in the map are not valid. The valid ones are: ", e.INVALID_MATCH_IDS = "Match IDs are invalid!", e.MISSING_ODD_CLIENT_CONFIGURATION = "Odds namespace requires oddClient configuration to be set", e.INVALID_COLLECT_CONSENTS_METHOD_CALL = "The method 'collectConsents' from Profile namespace is not called correctly. You need to provide 'consents' parameter to the method.", e))(hi || {}), mi = ((e) => (e.LIKE = "like", e.DISLIKE = "dislike", e.PAGE_VIEW = "page_view", e.CONTENT_CONSUMED = "content_consumed", e.SHARE = "share", e.COMMENT = "comment", e.CLICK_AD = "click_ad", e.PREDICTION_MADE = "prediction_made", e.CONVERT = "convert", e.MANAGE_INTERESTS = "manage_interests", e.GAME_PARTICIPATION = "game_participation", e.ARTICLE_CONSUMED = "article_consumed", e.VIDEO_CONSUMED = "video_consumed", e.SHORT_VIDEO_CONSUMED = "short_video_consumed", e.LONG_VIDEO_CONSUMED = "long_video_consumed", e.AUDIO_CONSUMED = "audio_consumed", e.GALLERY_CONSUMED = "gallery_consumed", e.IMAGE_CONSUMED = "image_consumed", e.POLL_PARTICIPATION = "poll_participation", e))(mi || {}), ot = "FansUnited", Ve = { football: { ids: [], countries: [], competitions: [], expirations: { ids: 0 } }, profile: { info: {}, statistics: {}, badges: null, countries: [], expirations: { profile: 0, statistics: 0, badges: 0 } }, client: { features: {}, expirations: { features: 0 } } }, Ee = class {
|
|
4830
4870
|
constructor(e) {
|
|
4831
4871
|
r(this, "idSchema", "");
|
|
4832
4872
|
r(this, "storageInstance", null);
|
|
@@ -4959,7 +4999,7 @@ var hi = ((e) => (e.INVALID_MATCH_ID = "Match id is invalid!", e.INVALID_PLAYER_
|
|
|
4959
4999
|
this.idSchema = e, this.getStorageInstance();
|
|
4960
5000
|
}
|
|
4961
5001
|
static getInstance(e) {
|
|
4962
|
-
return
|
|
5002
|
+
return Ee.instance || (Ee.instance = new Ee(e)), Ee.instance;
|
|
4963
5003
|
}
|
|
4964
5004
|
async getStorageInstance() {
|
|
4965
5005
|
try {
|
|
@@ -4980,9 +5020,9 @@ var hi = ((e) => (e.INVALID_MATCH_ID = "Match id is invalid!", e.INVALID_PLAYER_
|
|
|
4980
5020
|
async setData(e) {
|
|
4981
5021
|
await this.storageInstance.setItem(ot, JSON.stringify(e));
|
|
4982
5022
|
}
|
|
4983
|
-
}, gi =
|
|
5023
|
+
}, gi = Ee;
|
|
4984
5024
|
oe(gi, "instance");
|
|
4985
|
-
var nt = "FansUnited", it = { football: { ids: [], countries: [], competitions: [], expirations: { ids: 0 } }, profile: { info: {}, statistics: {}, badges: null, countries: [], expirations: { profile: 0, statistics: 0, badges: 0 } }, client: { features: {}, expirations: { features: 0 } } },
|
|
5025
|
+
var nt = "FansUnited", it = { football: { ids: [], countries: [], competitions: [], expirations: { ids: 0 } }, profile: { info: {}, statistics: {}, badges: null, countries: [], expirations: { profile: 0, statistics: 0, badges: 0 } }, client: { features: {}, expirations: { features: 0 } } }, Re = class {
|
|
4986
5026
|
constructor(e) {
|
|
4987
5027
|
r(this, "idSchema", "");
|
|
4988
5028
|
r(this, "expirationProfileTimeout", 600);
|
|
@@ -5118,9 +5158,9 @@ var nt = "FansUnited", it = { football: { ids: [], countries: [], competitions:
|
|
|
5118
5158
|
this.idSchema = e;
|
|
5119
5159
|
}
|
|
5120
5160
|
static getInstance(e) {
|
|
5121
|
-
return
|
|
5161
|
+
return Re.instance || (Re.instance = new Re(e)), Re.instance;
|
|
5122
5162
|
}
|
|
5123
|
-
}, pi =
|
|
5163
|
+
}, pi = Re;
|
|
5124
5164
|
oe(pi, "instance");
|
|
5125
5165
|
var yi = ei(ai()), V = class {
|
|
5126
5166
|
constructor(e) {
|
|
@@ -5258,6 +5298,8 @@ var xi = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
5258
5298
|
r(this, "tiebreaker", null);
|
|
5259
5299
|
r(this, "predictionsCutoff", null);
|
|
5260
5300
|
r(this, "fixtures", []);
|
|
5301
|
+
r(this, "branding", null);
|
|
5302
|
+
r(this, "brandingId", null);
|
|
5261
5303
|
r(this, "createdAt", null);
|
|
5262
5304
|
r(this, "updatedAt", null);
|
|
5263
5305
|
}
|
|
@@ -5293,6 +5335,7 @@ var xi = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
5293
5335
|
r(this, "customFields", null);
|
|
5294
5336
|
r(this, "labels", null);
|
|
5295
5337
|
r(this, "branding", null);
|
|
5338
|
+
r(this, "brandingId", null);
|
|
5296
5339
|
r(this, "related", []);
|
|
5297
5340
|
r(this, "time", null);
|
|
5298
5341
|
r(this, "points", null);
|
|
@@ -5322,7 +5365,7 @@ var xi = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
5322
5365
|
r(this, "answers", []);
|
|
5323
5366
|
r(this, "attempts", 0);
|
|
5324
5367
|
}
|
|
5325
|
-
},
|
|
5368
|
+
}, Ei = ((e) => (e.PRE_EVENT = "PRE_EVENT", e.LIVE = "LIVE", e.ALL = "ALL", e))(Ei || {}), Ri = ((e) => (e.ORDINARY_TIME = "ORDINARY_TIME", e.FULL_TIME = "FULL_TIME", e))(Ri || {}), Ii = ((e) => (e.DECIMAL = "DECIMAL", e.MONEYLINE = "MONEYLINE", e.FRACTIONAL = "FRACTIONAL", e))(Ii || {}), Oi = ((e) => (e.FT_1X2 = "FT_1X2", e.DOUBLE_CHANCE = "DOUBLE_CHANCE", e.HT_FT = "HT_FT", e.BOTH_TEAMS_SCORE = "BOTH_TEAMS_SCORE", e.CORRECT_SCORE = "CORRECT_SCORE", e.PLAYER_SCORE_FIRST_GOAL = "PLAYER_SCORE_FIRST_GOAL", e.PLAYER_SCORE = "PLAYER_SCORE", e.PLAYER_RED_CARD = "PLAYER_RED_CARD", e.PLAYER_YELLOW_CARD = "PLAYER_YELLOW_CARD", e.OVER_GOALS_0_5 = "OVER_GOALS_0_5", e.OVER_GOALS_1_5 = "OVER_GOALS_1_5", e.OVER_GOALS_2_5 = "OVER_GOALS_2_5", e.OVER_GOALS_3_5 = "OVER_GOALS_3_5", e.OVER_GOALS_4_5 = "OVER_GOALS_4_5", e.OVER_GOALS_5_5 = "OVER_GOALS_5_5", e))(Oi || {}), ia = class {
|
|
5326
5369
|
constructor() {
|
|
5327
5370
|
r(this, "gameInstanceId", null);
|
|
5328
5371
|
r(this, "fixtures", null);
|
|
@@ -5346,6 +5389,7 @@ var xi = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
5346
5389
|
r(this, "labels", null);
|
|
5347
5390
|
r(this, "customFields", null);
|
|
5348
5391
|
r(this, "branding", null);
|
|
5392
|
+
r(this, "brandingId", null);
|
|
5349
5393
|
r(this, "flags", null);
|
|
5350
5394
|
r(this, "images", new pt());
|
|
5351
5395
|
r(this, "createdAt", null);
|
|
@@ -5371,6 +5415,7 @@ var xi = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
5371
5415
|
r(this, "flags", []);
|
|
5372
5416
|
r(this, "customFields", null);
|
|
5373
5417
|
r(this, "branding", null);
|
|
5418
|
+
r(this, "brandingId", null);
|
|
5374
5419
|
r(this, "embedCode", null);
|
|
5375
5420
|
r(this, "labels", null);
|
|
5376
5421
|
r(this, "adContent", null);
|
|
@@ -5410,8 +5455,8 @@ var xi = ((e) => (e.ACTIVE = "ACTIVE", e.WON = "WON", e.LOST = "LOST", e.PARTIAL
|
|
|
5410
5455
|
constructor() {
|
|
5411
5456
|
}
|
|
5412
5457
|
static createMatchMarketsResultsModel(e, t) {
|
|
5413
|
-
var o, n, l, s, h, c, m, u, f, x, _, b, C, S,
|
|
5414
|
-
return { FT_1X2: this.createOneXTwoResult(e.scores, "full_time"), HT_1X2: this.createOneXTwoResult(e.scores, "half_time"), BOTH_TEAMS_SCORE: e.scores.ftScore.homeGoals > 0 && e.scores.ftScore.awayGoals > 0, DOUBLE_CHANCE: this.createDoubleChanceResult(e.scores), HT_FT: this.createHalfTimeFullTimeResult(e.scores), RED_CARD_MATCH: this.createMarketResultByCriteria(e, "red_card"), PENALTY_MATCH: this.createMarketResultByCriteria(e, "penalty"), CORNERS_MATCH: isNaN(((n = (o = e.stats) == null ? void 0 : o.corners) == null ? void 0 : n.homeTeam) + ((s = (l = e.stats) == null ? void 0 : l.corners) == null ? void 0 : s.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam, PLAYER_YELLOW_CARD: this.createPlayersMarketsResults(e, t, "yellow_card"), PLAYER_RED_CARD: this.createPlayersMarketsResults(e, t, "red_card"), PLAYER_SCORE_FIRST_GOAL: this.createPlayersMarketsResults(e, t, "first_goal"), PLAYER_SCORE: this.createPlayersMarketsResults(e, t, "one_goal"), PLAYER_SCORE_TWICE: this.createPlayersMarketsResults(e, t, "two_goals"), PLAYER_SCORE_HATTRICK: this.createPlayersMarketsResults(e, t, "hattrick"), CORRECT_SCORE: { homeGoals: e.scores.ftScore.homeGoals, awayGoals: e.scores.ftScore.awayGoals }, CORRECT_SCORE_ADVANCED: { homeGoals: e.scores.ftScore.homeGoals, awayGoals: e.scores.ftScore.awayGoals }, CORRECT_SCORE_HT: { homeGoals: e.scores.htScore.homeGoals, awayGoals: e.scores.htScore.awayGoals }, OVER_GOALS_0_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 0, OVER_GOALS_1_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 1, OVER_GOALS_2_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 2, OVER_GOALS_3_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 3, OVER_GOALS_4_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 4, OVER_GOALS_5_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 5, OVER_GOALS_6_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 6, OVER_CORNERS_6_5: isNaN(((c = (h = e.stats) == null ? void 0 : h.corners) == null ? void 0 : c.homeTeam) + ((u = (m = e.stats) == null ? void 0 : m.corners) == null ? void 0 : u.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 6, OVER_CORNERS_7_5: isNaN(((x = (f = e.stats) == null ? void 0 : f.corners) == null ? void 0 : x.homeTeam) + ((b = (_ = e.stats) == null ? void 0 : _.corners) == null ? void 0 : b.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 7, OVER_CORNERS_8_5: isNaN(((S = (C = e.stats) == null ? void 0 : C.corners) == null ? void 0 : S.homeTeam) + ((
|
|
5458
|
+
var o, n, l, s, h, c, m, u, f, x, _, b, C, S, O, R, D, v, w, N, i, p, g, T, I, A, M, k, B, W, G, H, U, ee, $, de;
|
|
5459
|
+
return { FT_1X2: this.createOneXTwoResult(e.scores, "full_time"), HT_1X2: this.createOneXTwoResult(e.scores, "half_time"), BOTH_TEAMS_SCORE: e.scores.ftScore.homeGoals > 0 && e.scores.ftScore.awayGoals > 0, DOUBLE_CHANCE: this.createDoubleChanceResult(e.scores), HT_FT: this.createHalfTimeFullTimeResult(e.scores), RED_CARD_MATCH: this.createMarketResultByCriteria(e, "red_card"), PENALTY_MATCH: this.createMarketResultByCriteria(e, "penalty"), CORNERS_MATCH: isNaN(((n = (o = e.stats) == null ? void 0 : o.corners) == null ? void 0 : n.homeTeam) + ((s = (l = e.stats) == null ? void 0 : l.corners) == null ? void 0 : s.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam, PLAYER_YELLOW_CARD: this.createPlayersMarketsResults(e, t, "yellow_card"), PLAYER_RED_CARD: this.createPlayersMarketsResults(e, t, "red_card"), PLAYER_SCORE_FIRST_GOAL: this.createPlayersMarketsResults(e, t, "first_goal"), PLAYER_SCORE: this.createPlayersMarketsResults(e, t, "one_goal"), PLAYER_SCORE_TWICE: this.createPlayersMarketsResults(e, t, "two_goals"), PLAYER_SCORE_HATTRICK: this.createPlayersMarketsResults(e, t, "hattrick"), CORRECT_SCORE: { homeGoals: e.scores.ftScore.homeGoals, awayGoals: e.scores.ftScore.awayGoals }, CORRECT_SCORE_ADVANCED: { homeGoals: e.scores.ftScore.homeGoals, awayGoals: e.scores.ftScore.awayGoals }, CORRECT_SCORE_HT: { homeGoals: e.scores.htScore.homeGoals, awayGoals: e.scores.htScore.awayGoals }, OVER_GOALS_0_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 0, OVER_GOALS_1_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 1, OVER_GOALS_2_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 2, OVER_GOALS_3_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 3, OVER_GOALS_4_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 4, OVER_GOALS_5_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 5, OVER_GOALS_6_5: e.scores.ftScore.homeGoals + e.scores.ftScore.awayGoals > 6, OVER_CORNERS_6_5: isNaN(((c = (h = e.stats) == null ? void 0 : h.corners) == null ? void 0 : c.homeTeam) + ((u = (m = e.stats) == null ? void 0 : m.corners) == null ? void 0 : u.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 6, OVER_CORNERS_7_5: isNaN(((x = (f = e.stats) == null ? void 0 : f.corners) == null ? void 0 : x.homeTeam) + ((b = (_ = e.stats) == null ? void 0 : _.corners) == null ? void 0 : b.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 7, OVER_CORNERS_8_5: isNaN(((S = (C = e.stats) == null ? void 0 : C.corners) == null ? void 0 : S.homeTeam) + ((R = (O = e.stats) == null ? void 0 : O.corners) == null ? void 0 : R.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 8, OVER_CORNERS_9_5: isNaN(((v = (D = e.stats) == null ? void 0 : D.corners) == null ? void 0 : v.homeTeam) + ((N = (w = e.stats) == null ? void 0 : w.corners) == null ? void 0 : N.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 9, OVER_CORNERS_10_5: isNaN(((p = (i = e.stats) == null ? void 0 : i.corners) == null ? void 0 : p.homeTeam) + ((T = (g = e.stats) == null ? void 0 : g.corners) == null ? void 0 : T.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 10, OVER_CORNERS_11_5: isNaN(((A = (I = e.stats) == null ? void 0 : I.corners) == null ? void 0 : A.homeTeam) + ((k = (M = e.stats) == null ? void 0 : M.corners) == null ? void 0 : k.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 11, OVER_CORNERS_12_5: isNaN(((W = (B = e.stats) == null ? void 0 : B.corners) == null ? void 0 : W.homeTeam) + ((H = (G = e.stats) == null ? void 0 : G.corners) == null ? void 0 : H.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 12, OVER_CORNERS_13_5: isNaN(((ee = (U = e.stats) == null ? void 0 : U.corners) == null ? void 0 : ee.homeTeam) + ((de = ($ = e.stats) == null ? void 0 : $.corners) == null ? void 0 : de.awayTeam)) ? null : e.stats.corners.homeTeam + e.stats.corners.awayTeam > 13 };
|
|
5415
5460
|
}
|
|
5416
5461
|
}, be = st;
|
|
5417
5462
|
oe(be, "createOneXTwoResult", (e, t) => {
|
|
@@ -5421,7 +5466,7 @@ oe(be, "createOneXTwoResult", (e, t) => {
|
|
|
5421
5466
|
var t, o, n, l;
|
|
5422
5467
|
return ((t = e == null ? void 0 : e.ftScore) == null ? void 0 : t.homeGoals) > ((o = e == null ? void 0 : e.ftScore) == null ? void 0 : o.awayGoals) ? ["1x", "12"] : ((n = e == null ? void 0 : e.ftScore) == null ? void 0 : n.homeGoals) === ((l = e == null ? void 0 : e.ftScore) == null ? void 0 : l.awayGoals) ? ["1x", "x2"] : ["x2", "12"];
|
|
5423
5468
|
}), oe(be, "createHalfTimeFullTimeResult", (e) => {
|
|
5424
|
-
var t, o, n, l, s, h, c, m, u, f, x, _, b, C, S,
|
|
5469
|
+
var t, o, n, l, s, h, c, m, u, f, x, _, b, C, S, O, R, D, v, w, N, i, p, g;
|
|
5425
5470
|
if (((t = e == null ? void 0 : e.htScore) == null ? void 0 : t.homeGoals) > ((o = e == null ? void 0 : e.htScore) == null ? void 0 : o.awayGoals)) {
|
|
5426
5471
|
if (((n = e == null ? void 0 : e.ftScore) == null ? void 0 : n.homeGoals) > ((l = e == null ? void 0 : e.ftScore) == null ? void 0 : l.awayGoals)) return "1/1";
|
|
5427
5472
|
if (((s = e == null ? void 0 : e.ftScore) == null ? void 0 : s.homeGoals) === ((h = e == null ? void 0 : e.ftScore) == null ? void 0 : h.awayGoals)) return "1/x";
|
|
@@ -5430,9 +5475,9 @@ oe(be, "createOneXTwoResult", (e, t) => {
|
|
|
5430
5475
|
if (((u = e == null ? void 0 : e.htScore) == null ? void 0 : u.homeGoals) === ((f = e == null ? void 0 : e.htScore) == null ? void 0 : f.awayGoals)) {
|
|
5431
5476
|
if (((x = e == null ? void 0 : e.ftScore) == null ? void 0 : x.homeGoals) > ((_ = e == null ? void 0 : e.ftScore) == null ? void 0 : _.awayGoals)) return "x/1";
|
|
5432
5477
|
if (((b = e == null ? void 0 : e.ftScore) == null ? void 0 : b.homeGoals) === ((C = e == null ? void 0 : e.ftScore) == null ? void 0 : C.awayGoals)) return "x/x";
|
|
5433
|
-
if (((S = e == null ? void 0 : e.ftScore) == null ? void 0 : S.homeGoals) < ((
|
|
5478
|
+
if (((S = e == null ? void 0 : e.ftScore) == null ? void 0 : S.homeGoals) < ((O = e == null ? void 0 : e.ftScore) == null ? void 0 : O.awayGoals)) return "x/2";
|
|
5434
5479
|
}
|
|
5435
|
-
if (((
|
|
5480
|
+
if (((R = e == null ? void 0 : e.htScore) == null ? void 0 : R.homeGoals) < ((D = e == null ? void 0 : e.htScore) == null ? void 0 : D.awayGoals)) {
|
|
5436
5481
|
if (((v = e == null ? void 0 : e.ftScore) == null ? void 0 : v.homeGoals) > ((w = e == null ? void 0 : e.ftScore) == null ? void 0 : w.awayGoals)) return "2/1";
|
|
5437
5482
|
if (((N = e == null ? void 0 : e.ftScore) == null ? void 0 : N.homeGoals) === ((i = e == null ? void 0 : e.ftScore) == null ? void 0 : i.awayGoals)) return "2/x";
|
|
5438
5483
|
if (((p = e == null ? void 0 : e.ftScore) == null ? void 0 : p.homeGoals) < ((g = e == null ? void 0 : e.ftScore) == null ? void 0 : g.awayGoals)) return "2/2";
|
|
@@ -5461,35 +5506,35 @@ oe(be, "createOneXTwoResult", (e, t) => {
|
|
|
5461
5506
|
}), oe(be, "transformPlayerMarketResult", (e) => e.map((t) => ({ playerId: t.id, playerModel: t })));
|
|
5462
5507
|
(/* @__PURE__ */ new Map()).set("minutesPlayed", "Minutes Played").set("cleanSheets", "Clean Sheets").set("concededGoals", "Goals Conceded").set("saves", "Saves").set("penaltySaved", "Penalties Saved").set("penaltyCommitted", "Penalties Committed").set("yellowCards", "Yellow Cards").set("redCards", "Red Cards").set("assists", "Assists").set("foulsCommitted", "Fouls Committed").set("ownGoals", "Own Goals").set("goals", "Goals").set("tackles", "Tackles").set("shotsOn", "Shots On Target").set("penaltyGoals", "Penalty Goals").set("penaltyWon", "Penalty Won").set("penaltyMissed", "Penalty Missed").set("penaltySaved", "Penalty Saved").set("penaltyReceived", "Penalty Received").set("shots", "Shots").set("shotsBlocked", "Shots Blocked").set("offsides", "Offsides").set("foulsWon", "Fouls Won").set("tacklesBlocks", "Tackles Blocks").set("tacklesInterceptions", "Tackles Interceptions").set("caughtBall", "Caught Ball").set("passes", "Passes").set("crosses", "Crosses").set("interceptions", "Interceptions").set("keyPasses", "Key Passes").set("passesAccuracy", "Passes Accuracy").set("duels", "Duels").set("duelsWon", "Duels Won").set("dribblesAttempts", "Dribbles Attempts").set("dribblesSuccess", "Dribbles Success").set("dribblesPast", "Dribbles Past");
|
|
5463
5508
|
export {
|
|
5464
|
-
|
|
5509
|
+
We as A,
|
|
5465
5510
|
Fn as C,
|
|
5466
5511
|
Yt as D,
|
|
5467
|
-
|
|
5468
|
-
|
|
5512
|
+
qt as M,
|
|
5513
|
+
Qi as N,
|
|
5469
5514
|
Ki as O,
|
|
5470
|
-
|
|
5515
|
+
q as R,
|
|
5471
5516
|
Yi as S,
|
|
5472
5517
|
He as T,
|
|
5473
|
-
oa as
|
|
5518
|
+
oa as V,
|
|
5474
5519
|
$i as a,
|
|
5475
5520
|
cn as b,
|
|
5476
5521
|
Bi as c,
|
|
5477
|
-
|
|
5522
|
+
sa as d,
|
|
5478
5523
|
ht as e,
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5524
|
+
ra as f,
|
|
5525
|
+
Ui as g,
|
|
5526
|
+
gt as h,
|
|
5482
5527
|
qi as i,
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
di as
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5528
|
+
Xi as j,
|
|
5529
|
+
Ji as k,
|
|
5530
|
+
Zi as l,
|
|
5531
|
+
ji as m,
|
|
5532
|
+
Xt as n,
|
|
5533
|
+
na as o,
|
|
5534
|
+
Ci as p,
|
|
5535
|
+
ia as q,
|
|
5536
|
+
di as s,
|
|
5537
|
+
aa as u,
|
|
5538
|
+
ea as x,
|
|
5539
|
+
ta as y
|
|
5495
5540
|
};
|