@adstore/templates 2.14.28 → 2.14.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/templates.js.js +621 -614
- package/package.json +1 -1
package/dist/templates.js.js
CHANGED
@@ -2,7 +2,7 @@ var Pn = Object.defineProperty, Vn = Object.defineProperties;
|
|
2
2
|
var Gn = Object.getOwnPropertyDescriptors;
|
3
3
|
var _e = Object.getOwnPropertySymbols;
|
4
4
|
var so = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable;
|
5
|
-
var ao = (t, o, e) => o in t ? Pn(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e,
|
5
|
+
var ao = (t, o, e) => o in t ? Pn(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e, $ = (t, o) => {
|
6
6
|
for (var e in o || (o = {}))
|
7
7
|
so.call(o, e) && ao(t, e, o[e]);
|
8
8
|
if (_e)
|
@@ -98,18 +98,18 @@ function Kn(t, o, e) {
|
|
98
98
|
var r = function(c, _, d) {
|
99
99
|
if (!n.__c.__H)
|
100
100
|
return !0;
|
101
|
-
var l = n.__c.__H.__.filter(function(
|
102
|
-
return
|
101
|
+
var l = n.__c.__H.__.filter(function(p) {
|
102
|
+
return p.__c;
|
103
103
|
});
|
104
|
-
if (l.every(function(
|
105
|
-
return !
|
104
|
+
if (l.every(function(p) {
|
105
|
+
return !p.__N;
|
106
106
|
}))
|
107
107
|
return !s || s.call(this, c, _, d);
|
108
108
|
var u = !1;
|
109
|
-
return l.forEach(function(
|
110
|
-
if (
|
111
|
-
var g =
|
112
|
-
|
109
|
+
return l.forEach(function(p) {
|
110
|
+
if (p.__N) {
|
111
|
+
var g = p.__[0];
|
112
|
+
p.__ = p.__N, p.__N = void 0, g !== p.__[0] && (u = !0);
|
113
113
|
}
|
114
114
|
}), !(!u && n.__c.props === c) && (!s || s.call(this, c, _, d));
|
115
115
|
};
|
@@ -134,7 +134,7 @@ function _n(t, o) {
|
|
134
134
|
!D.__s && Ve(e.__H, o) && (e.__ = t, e.i = o, F.__h.push(e));
|
135
135
|
}
|
136
136
|
function et(t) {
|
137
|
-
return Ft = 5,
|
137
|
+
return Ft = 5, St(function() {
|
138
138
|
return { current: t };
|
139
139
|
}, []);
|
140
140
|
}
|
@@ -147,12 +147,12 @@ function Pe(t, o, e) {
|
|
147
147
|
}) : void 0;
|
148
148
|
}, e == null ? e : e.concat(t));
|
149
149
|
}
|
150
|
-
function
|
150
|
+
function St(t, o) {
|
151
151
|
var e = se(Ut++, 7);
|
152
152
|
return Ve(e.__H, o) ? (e.__V = t(), e.i = o, e.__h = t, e.__V) : e.__;
|
153
153
|
}
|
154
154
|
function Zn(t, o) {
|
155
|
-
return Ft = 8,
|
155
|
+
return Ft = 8, St(function() {
|
156
156
|
return t;
|
157
157
|
}, o);
|
158
158
|
}
|
@@ -701,8 +701,8 @@ var ui = di, pi = ui, fi = pi(), gi = fi, he = {}, mi = {
|
|
701
701
|
function _(d, l) {
|
702
702
|
if (l)
|
703
703
|
return d.slice();
|
704
|
-
var u = d.length,
|
705
|
-
return d.copy(
|
704
|
+
var u = d.length, p = c ? c(u) : new d.constructor(u);
|
705
|
+
return d.copy(p), p;
|
706
706
|
}
|
707
707
|
t.exports = _;
|
708
708
|
})(mi, he);
|
@@ -906,8 +906,8 @@ function e_(t, o, e, n, r, s, i) {
|
|
906
906
|
}
|
907
907
|
var l = s ? s(c, _, e + "", t, o, i) : void 0, u = l === void 0;
|
908
908
|
if (u) {
|
909
|
-
var
|
910
|
-
l = _,
|
909
|
+
var p = Eo(_), g = !p && Zl(_), M = !p && !g && Ql(_);
|
910
|
+
l = _, p || g || M ? Eo(c) ? l = c : Kl(c) ? l = Ul(c) : g ? (u = !1, l = Fl(_, !0)) : M ? (u = !1, l = Wl(_, !0)) : l = [] : Xl(_) || Bo(_) ? (l = c, Bo(c) ? l = t_(c) : (!ql(c) || Jl(c)) && (l = zl(_))) : u = !1;
|
911
911
|
}
|
912
912
|
u && (i.set(_, l), r(l, _, n, s, i), i.delete(_)), Yo(t, e, l);
|
913
913
|
}
|
@@ -1050,7 +1050,7 @@ const Bt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
|
1050
1050
|
slug: (t == null ? void 0 : t.slug) || null,
|
1051
1051
|
sportSlug: (t == null ? void 0 : t.sport_slug) || null,
|
1052
1052
|
matchDate: (t == null ? void 0 : t.match_date) || null,
|
1053
|
-
teams:
|
1053
|
+
teams: $({}, (t == null ? void 0 : t.teams) || {
|
1054
1054
|
0: Fo(),
|
1055
1055
|
1: Fo()
|
1056
1056
|
}),
|
@@ -1059,21 +1059,21 @@ const Bt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
|
1059
1059
|
isNational: (n = t == null ? void 0 : t.is_national) != null ? n : null
|
1060
1060
|
};
|
1061
1061
|
if (o != null && o.markets) {
|
1062
|
-
const r = o.markets.reduce((s, i) => (s[i] =
|
1062
|
+
const r = o.markets.reduce((s, i) => (s[i] = h(t || {}, `markets.${i}`, td()[i || "one_two"]), s), {});
|
1063
1063
|
Et(e, "markets", r);
|
1064
1064
|
}
|
1065
1065
|
return e;
|
1066
1066
|
}, ed = (t, o) => t && typeof t == "string" && o ? Object.keys(o).reduce((n, r) => {
|
1067
1067
|
const s = o[r], i = typeof s == "string" ? s.replace(/^\s|"/gi, "") : s, c = new RegExp(`{${r}}`, "g");
|
1068
1068
|
return n.replace(c, i != null ? i : "");
|
1069
|
-
}, t) : t, od = (t = 300, o) => new Promise((e) => setTimeout(() => e(o), t)), nd = (t) => !t && t == null, V = (t) => !nd(t), Wo = (t) => typeof t != "object" && typeof t != "function" || t === null, Dn = (t) => typeof t == "object" && !Array.isArray(t) && V(t), rd = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (o, e) => (e ? "-" : "") + o.toLowerCase()), ad = (...t) => t.reduce((o, e) => (o[e] = e, o), {}),
|
1069
|
+
}, t) : t, od = (t = 300, o) => new Promise((e) => setTimeout(() => e(o), t)), nd = (t) => !t && t == null, V = (t) => !nd(t), Wo = (t) => typeof t != "object" && typeof t != "function" || t === null, Dn = (t) => typeof t == "object" && !Array.isArray(t) && V(t), rd = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (o, e) => (e ? "-" : "") + o.toLowerCase()), ad = (...t) => t.reduce((o, e) => (o[e] = e, o), {}), xt = (t, ...o) => o.reduce((e, n) => (e[n] = t[n], e), {});
|
1070
1070
|
function vt(t, ...o) {
|
1071
|
-
const e =
|
1071
|
+
const e = $({}, t);
|
1072
1072
|
return o.forEach((n) => {
|
1073
1073
|
delete e[n];
|
1074
1074
|
}), e;
|
1075
1075
|
}
|
1076
|
-
const
|
1076
|
+
const h = (t, o, e) => {
|
1077
1077
|
if (!o)
|
1078
1078
|
return;
|
1079
1079
|
const r = (Array.isArray(o) ? o : o.match(/([^[.\]])+/g)).reduce((s, i) => s && s[i], t);
|
@@ -1094,7 +1094,7 @@ const m = (t, o, e) => {
|
|
1094
1094
|
g: parseInt(e[2], 16),
|
1095
1095
|
b: parseInt(e[3], 16)
|
1096
1096
|
} : void 0;
|
1097
|
-
}, we = (...t) => t.map((o) => JSON.stringify(o)).every((o, e, n) => o === n[0]), Yh = (t) => "id" in t && "root" in t, zo = (t, o = 1) => t.replace(")", `, ${o})`).replace("rgb", "rgba"), Ke = (t, o, e) => Bt(t, (n, r, s) => Wo(r) || Array.isArray(r) && r.every(Wo) ? e ? e(n, [r,
|
1097
|
+
}, we = (...t) => t.map((o) => JSON.stringify(o)).every((o, e, n) => o === n[0]), Yh = (t) => "id" in t && "root" in t, zo = (t, o = 1) => t.replace(")", `, ${o})`).replace("rgb", "rgba"), Ke = (t, o, e) => Bt(t, (n, r, s) => Wo(r) || Array.isArray(r) && r.every(Wo) ? e ? e(n, [r, h(o, s)], s) ? h(o, s, r) : r : h(o, s, r) : r), Bh = (t, o) => {
|
1098
1098
|
try {
|
1099
1099
|
Bt(t, (e, n, r) => {
|
1100
1100
|
if (o(e, n, r))
|
@@ -1158,7 +1158,7 @@ function a(t, o, e, n, r, s) {
|
|
1158
1158
|
_[c] === void 0 && (_[c] = i[c]);
|
1159
1159
|
return D.vnode && D.vnode(d), d;
|
1160
1160
|
}
|
1161
|
-
const Rn = Fn(),
|
1161
|
+
const Rn = Fn(), Ot = ({
|
1162
1162
|
children: t,
|
1163
1163
|
value: o
|
1164
1164
|
}) => a(Rn.Provider, {
|
@@ -1180,9 +1180,9 @@ const Rn = Fn(), xt = ({
|
|
1180
1180
|
const _ = yield import("./resize-observer-15e7a1bf.js");
|
1181
1181
|
window.ResizeObserver = _.ResizeObserver;
|
1182
1182
|
}
|
1183
|
-
return Wn(a(
|
1183
|
+
return Wn(a(Ot, {
|
1184
1184
|
value: r,
|
1185
|
-
children: Un(t,
|
1185
|
+
children: Un(t, $({
|
1186
1186
|
ref: n,
|
1187
1187
|
id: e
|
1188
1188
|
}, s))
|
@@ -1190,10 +1190,10 @@ const Rn = Fn(), xt = ({
|
|
1190
1190
|
}), W = () => Jn(Rn), Id = (t = {}, o) => typeof t == "object" && V(t) && o.some((e) => e in t), Dd = (t, o, e = ce) => t && Bt(t, (n, r) => {
|
1191
1191
|
if (Id(r, Object.keys(e))) {
|
1192
1192
|
const s = r[o];
|
1193
|
-
return s && "parent" in s && V(s.parent) ?
|
1193
|
+
return s && "parent" in s && V(s.parent) ? $($({}, r[s.parent]), vt(s, "parent")) : s;
|
1194
1194
|
}
|
1195
1195
|
return r;
|
1196
|
-
}), Lt = (t, o, e = ce) => Dd(t, o, e),
|
1196
|
+
}), Lt = (t, o, e = ce) => Dd(t, o, e), At = ({
|
1197
1197
|
id: t,
|
1198
1198
|
targetRef: o,
|
1199
1199
|
parentKey: e = "device-container",
|
@@ -1201,9 +1201,9 @@ const Rn = Fn(), xt = ({
|
|
1201
1201
|
}) => {
|
1202
1202
|
const [r, s] = yt("desktop"), i = (c) => {
|
1203
1203
|
var u;
|
1204
|
-
const _ = c.getBoundingClientRect().width || 0, d = Object.entries(
|
1205
|
-
const [
|
1206
|
-
return _ >= g && _ <
|
1204
|
+
const _ = c.getBoundingClientRect().width || 0, d = Object.entries($({}, n)).sort(([p, g], [M, m]) => g - m), l = ((u = d.find(([p, g], M) => {
|
1205
|
+
const [m, f] = d[M + 1] || [];
|
1206
|
+
return _ >= g && _ < f;
|
1207
1207
|
})) == null ? void 0 : u[0]) || d[d.length - 1][0] || "desktop";
|
1208
1208
|
s(l);
|
1209
1209
|
};
|
@@ -1234,7 +1234,7 @@ const Rn = Fn(), xt = ({
|
|
1234
1234
|
i && (o.color = zo(`rgb(${i.r}, ${i.g}, ${i.b})`, +o.colorOpacity / 100));
|
1235
1235
|
}
|
1236
1236
|
return r === "fontFamily" && /auto/i.test(s) && (o.fontFamily = Bd), r === "isBold" && (o.fontWeight = s ? "bold" : "initial"), r === "weight" && V(s) && (o.fontWeight = s), r === "isItalic" && (o.fontStyle = s ? "italic" : "initial"), r === "isThrough" && (o.textDecoration = s ? "line-through" : "initial"), o;
|
1237
|
-
}, t), Pd = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t,
|
1237
|
+
}, t), Pd = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, E = (t) => V(t) ? Object.entries(t).reduce((o, [e, n]) => (o[e] = Pd(n) ? Hn($({}, t[e])) : n, o), {}) : t, Vd = (t) => t in document.createElement("div").style || t.startsWith("--"), Gd = (t) => `<span style="${t}">$1</span>`, G = (s) => {
|
1238
1238
|
var i = s, {
|
1239
1239
|
children: t,
|
1240
1240
|
typography: o,
|
@@ -1247,16 +1247,16 @@ const Rn = Fn(), xt = ({
|
|
1247
1247
|
"replacer"
|
1248
1248
|
]);
|
1249
1249
|
var d;
|
1250
|
-
const c =
|
1250
|
+
const c = St(() => {
|
1251
1251
|
if (!e)
|
1252
1252
|
return {};
|
1253
1253
|
let l = "";
|
1254
|
-
return Object.entries(e).forEach(([u,
|
1255
|
-
Vd(u) && (l += `${rd(u)}: ${
|
1254
|
+
return Object.entries(e).forEach(([u, p]) => {
|
1255
|
+
Vd(u) && (l += `${rd(u)}: ${p}; `);
|
1256
1256
|
}), l;
|
1257
1257
|
}, [e]), _ = (d = t == null ? void 0 : t.replace(/script|\n/g, "")) == null ? void 0 : d.replace(/{{(.*?)}}/g, n(c));
|
1258
|
-
return a("div", L(
|
1259
|
-
style:
|
1258
|
+
return a("div", L($({}, r), {
|
1259
|
+
style: $($({}, o), r.style || {}),
|
1260
1260
|
dangerouslySetInnerHTML: {
|
1261
1261
|
__html: _
|
1262
1262
|
}
|
@@ -1295,22 +1295,22 @@ const Rn = Fn(), xt = ({
|
|
1295
1295
|
wiggle: `${t.wiggle} 2s linear infinite`,
|
1296
1296
|
gradient: `${t.gradient} 3s ease infinite`
|
1297
1297
|
}), Yn = (t, o) => {
|
1298
|
-
var l, u,
|
1299
|
-
const e = Fd(o), n =
|
1298
|
+
var l, u, p, g, M, m, f, O, x, j, A, C, N;
|
1299
|
+
const e = Fd(o), n = E(t), r = (l = n == null ? void 0 : n.icon) == null ? void 0 : l.hasIcon, s = {
|
1300
1300
|
left: `${+(((u = t == null ? void 0 : t.container) == null ? void 0 : u.left) || 0) * -1 + 8}px`,
|
1301
|
-
backgroundColor: (
|
1301
|
+
backgroundColor: (p = n == null ? void 0 : n.container) == null ? void 0 : p.backgroundColor,
|
1302
1302
|
borderTopWidth: (g = n == null ? void 0 : n.container) == null ? void 0 : g.borderWidth,
|
1303
|
-
borderTopColor: (
|
1303
|
+
borderTopColor: (M = n == null ? void 0 : n.container) == null ? void 0 : M.borderColor,
|
1304
1304
|
borderTopStyle: "solid",
|
1305
|
-
borderLeftWidth: (
|
1306
|
-
borderLeftColor: (
|
1305
|
+
borderLeftWidth: (m = n == null ? void 0 : n.container) == null ? void 0 : m.borderWidth,
|
1306
|
+
borderLeftColor: (f = n == null ? void 0 : n.container) == null ? void 0 : f.borderColor,
|
1307
1307
|
borderLeftStyle: "solid"
|
1308
1308
|
}, i = {
|
1309
|
-
left: (
|
1310
|
-
}, c = (((x = n == null ? void 0 : n.icon) == null ? void 0 : x.animations) || []).map((
|
1309
|
+
left: (O = n == null ? void 0 : n.container) == null ? void 0 : O.left
|
1310
|
+
}, c = (((x = n == null ? void 0 : n.icon) == null ? void 0 : x.animations) || []).map((Y) => e[Y]).join(", "), _ = V((j = n == null ? void 0 : n.icon) == null ? void 0 : j.gradientColor) && ((A = n == null ? void 0 : n.icon) != null && A.animations.includes("gradient")) ? {
|
1311
1311
|
background: `linear-gradient(-90deg, ${(C = n.icon) == null ? void 0 : C.backgroundColor} 0%, ${(N = n == null ? void 0 : n.icon) == null ? void 0 : N.gradientColor} 100%) 0% 0% / 400% 400%`,
|
1312
1312
|
backgroundSize: "400% 400%"
|
1313
|
-
} : n == null ? void 0 : n.icon, d =
|
1313
|
+
} : n == null ? void 0 : n.icon, d = $(L($({}, (n == null ? void 0 : n.icon) || {}), {
|
1314
1314
|
animation: c
|
1315
1315
|
}), _);
|
1316
1316
|
return {
|
@@ -1330,7 +1330,7 @@ const Rn = Fn(), xt = ({
|
|
1330
1330
|
V(r.weight) && !Ie.includes(r.weight) ? o.set(r.fontFamily, [r.weight]) : o.set(r.fontFamily, []);
|
1331
1331
|
return r;
|
1332
1332
|
});
|
1333
|
-
const e =
|
1333
|
+
const e = St(() => Array.from(o.entries()).filter(([n]) => !/auto/i.test(n)).map(([n, r]) => ({
|
1334
1334
|
rel: "stylesheet",
|
1335
1335
|
href: `https://fonts.googleapis.com/css?family=${n}:${[...r, ...Ie].join(",")}&display=swap`
|
1336
1336
|
})), [o]);
|
@@ -1344,15 +1344,15 @@ const Rn = Fn(), xt = ({
|
|
1344
1344
|
onClickClose: n,
|
1345
1345
|
onClickIcon: r
|
1346
1346
|
}) => {
|
1347
|
-
var
|
1348
|
-
const s = et(null), [i, c] = le(), _ = W(), d =
|
1347
|
+
var A, C, N, Y, K, v, b, y, T, k;
|
1348
|
+
const s = et(null), [i, c] = le(), _ = W(), d = At({
|
1349
1349
|
targetRef: s,
|
1350
1350
|
id: t
|
1351
|
-
}), l = Lt(_, d), u =
|
1352
|
-
hasIcon:
|
1351
|
+
}), l = Lt(_, d), u = E(l), {
|
1352
|
+
hasIcon: p,
|
1353
1353
|
iconRules: g,
|
1354
|
-
bodyRules:
|
1355
|
-
arrowRules:
|
1354
|
+
bodyRules: M,
|
1355
|
+
arrowRules: m
|
1356
1356
|
} = Yn(l, {
|
1357
1357
|
fade: U.fadein,
|
1358
1358
|
pulse: U.pulse,
|
@@ -1360,12 +1360,12 @@ const Rn = Fn(), xt = ({
|
|
1360
1360
|
gradient: U.gradient
|
1361
1361
|
});
|
1362
1362
|
wt(l);
|
1363
|
-
const
|
1363
|
+
const f = !!(u.legal.buttonHideText && ((A = u.legal.buttonHideText) == null ? void 0 : A.length) > 0), O = vt(u == null ? void 0 : u.container, "left"), x = {
|
1364
1364
|
paddingTop: 5,
|
1365
1365
|
paddingRight: 0,
|
1366
1366
|
paddingBottom: 2,
|
1367
1367
|
paddingLeft: 0
|
1368
|
-
},
|
1368
|
+
}, j = {
|
1369
1369
|
paddingTop: 7,
|
1370
1370
|
paddingRight: 10,
|
1371
1371
|
paddingBottom: 7,
|
@@ -1374,14 +1374,14 @@ const Rn = Fn(), xt = ({
|
|
1374
1374
|
return a("div", {
|
1375
1375
|
className: H(U.root, {
|
1376
1376
|
[U.legalOpen]: i,
|
1377
|
-
[U.legalStatic]: !
|
1377
|
+
[U.legalStatic]: !f
|
1378
1378
|
}),
|
1379
1379
|
ref: s,
|
1380
1380
|
children: [a("div", {
|
1381
1381
|
className: U.icon,
|
1382
1382
|
style: g,
|
1383
1383
|
onClick: r,
|
1384
|
-
children:
|
1384
|
+
children: p && a("div", {
|
1385
1385
|
className: U.iconTarget,
|
1386
1386
|
children: a(Be, {})
|
1387
1387
|
})
|
@@ -1389,20 +1389,20 @@ const Rn = Fn(), xt = ({
|
|
1389
1389
|
className: H(U.body, {
|
1390
1390
|
[U.bodyOpen]: o
|
1391
1391
|
}),
|
1392
|
-
style:
|
1392
|
+
style: M,
|
1393
1393
|
children: [a("div", {
|
1394
1394
|
className: U.arrow,
|
1395
|
-
style:
|
1395
|
+
style: m
|
1396
1396
|
}), a("div", {
|
1397
1397
|
className: U.close,
|
1398
|
-
style: L(
|
1398
|
+
style: L($({}, Xe(u == null ? void 0 : u.close)), {
|
1399
1399
|
backgroundColor: (C = u == null ? void 0 : u.close) == null ? void 0 : C.color
|
1400
1400
|
}),
|
1401
1401
|
onClick: n,
|
1402
1402
|
children: a(Ht, {})
|
1403
1403
|
}), a("div", {
|
1404
1404
|
className: U.container,
|
1405
|
-
style:
|
1405
|
+
style: O,
|
1406
1406
|
children: [a("a", {
|
1407
1407
|
href: (N = u == null ? void 0 : u.root) == null ? void 0 : N.offer,
|
1408
1408
|
style: {
|
@@ -1419,29 +1419,29 @@ const Rn = Fn(), xt = ({
|
|
1419
1419
|
}), a(G, {
|
1420
1420
|
className: U.text,
|
1421
1421
|
style: u == null ? void 0 : u.text,
|
1422
|
-
typography: (
|
1422
|
+
typography: (Y = u.text) == null ? void 0 : Y.typography,
|
1423
1423
|
accentTypography: (K = u.text) == null ? void 0 : K.accentTypography,
|
1424
|
-
children: (
|
1424
|
+
children: (v = u == null ? void 0 : u.text) == null ? void 0 : v.children
|
1425
1425
|
})]
|
1426
1426
|
}), a("div", {
|
1427
1427
|
className: H(U.button, {
|
1428
1428
|
[U.buttonAnimated]: u == null ? void 0 : u.button.isAnimated
|
1429
1429
|
}),
|
1430
1430
|
style: u == null ? void 0 : u.button,
|
1431
|
-
children: (
|
1431
|
+
children: (b = u == null ? void 0 : u.button) == null ? void 0 : b.children
|
1432
1432
|
})]
|
1433
1433
|
}), a("div", {
|
1434
1434
|
className: U.legalGap
|
1435
1435
|
}), a("div", {
|
1436
1436
|
className: U.legal,
|
1437
|
-
style:
|
1437
|
+
style: $($({}, u == null ? void 0 : u.legal), i ? j : x),
|
1438
1438
|
children: [a("div", {
|
1439
1439
|
className: U.legalText,
|
1440
|
-
children: (
|
1440
|
+
children: (y = u == null ? void 0 : u.legal) == null ? void 0 : y.children
|
1441
1441
|
}), a("div", {
|
1442
1442
|
className: U.legalButton,
|
1443
1443
|
onClick: c,
|
1444
|
-
children: i ? (T = u == null ? void 0 : u.legal) == null ? void 0 : T.buttonOpenText : (
|
1444
|
+
children: i ? (T = u == null ? void 0 : u.legal) == null ? void 0 : T.buttonOpenText : (k = u == null ? void 0 : u.legal) == null ? void 0 : k.buttonHideText
|
1445
1445
|
})]
|
1446
1446
|
})]
|
1447
1447
|
})]
|
@@ -1484,7 +1484,7 @@ const Rn = Fn(), xt = ({
|
|
1484
1484
|
onClick: t
|
1485
1485
|
}) => {
|
1486
1486
|
var n, r, s, i, c, _, d;
|
1487
|
-
const o = W(), e =
|
1487
|
+
const o = W(), e = E(o);
|
1488
1488
|
return a("a", {
|
1489
1489
|
href: (n = e.root) == null ? void 0 : n.offer,
|
1490
1490
|
target: "_blank",
|
@@ -1537,23 +1537,23 @@ const Rn = Fn(), xt = ({
|
|
1537
1537
|
onClickIcon: n,
|
1538
1538
|
onClickClose: r
|
1539
1539
|
}) => {
|
1540
|
-
var
|
1541
|
-
const s = et(null), i = W(), c =
|
1540
|
+
var O, x, j;
|
1541
|
+
const s = et(null), i = W(), c = At({
|
1542
1542
|
targetRef: s,
|
1543
1543
|
id: t
|
1544
|
-
}), _ = Lt(i, c), d =
|
1544
|
+
}), _ = Lt(i, c), d = E(_);
|
1545
1545
|
wt(_);
|
1546
1546
|
const {
|
1547
1547
|
hasIcon: l,
|
1548
1548
|
iconRules: u,
|
1549
|
-
bodyRules:
|
1549
|
+
bodyRules: p,
|
1550
1550
|
arrowRules: g
|
1551
1551
|
} = Yn(_, {
|
1552
1552
|
fade: Z.fadein,
|
1553
1553
|
pulse: Z.pulse,
|
1554
1554
|
wiggle: Z.wiggle,
|
1555
1555
|
gradient: Z.gradient
|
1556
|
-
}),
|
1556
|
+
}), M = (O = d == null ? void 0 : d.title) == null ? void 0 : O.hasIcon, m = xt(d == null ? void 0 : d.title, ...be), f = vt(d == null ? void 0 : d.title, ...be);
|
1557
1557
|
return a("div", {
|
1558
1558
|
ref: s,
|
1559
1559
|
className: H(Z.root, {
|
@@ -1573,7 +1573,7 @@ const Rn = Fn(), xt = ({
|
|
1573
1573
|
className: H(Z.body, {
|
1574
1574
|
[Z.bodyOpen]: o
|
1575
1575
|
}),
|
1576
|
-
style:
|
1576
|
+
style: p,
|
1577
1577
|
children: [a("div", {
|
1578
1578
|
className: Z.arrow,
|
1579
1579
|
style: g
|
@@ -1582,14 +1582,14 @@ const Rn = Fn(), xt = ({
|
|
1582
1582
|
style: d.container,
|
1583
1583
|
children: [a("div", {
|
1584
1584
|
className: Z.head,
|
1585
|
-
style:
|
1586
|
-
children: [
|
1585
|
+
style: m,
|
1586
|
+
children: [M && a("div", {
|
1587
1587
|
className: Z.headIcon,
|
1588
|
-
style:
|
1588
|
+
style: xt(d.title, "color"),
|
1589
1589
|
children: a(Be, {})
|
1590
1590
|
}), a("div", {
|
1591
1591
|
className: Z.headTitle,
|
1592
|
-
style:
|
1592
|
+
style: f,
|
1593
1593
|
children: (x = d.title) == null ? void 0 : x.children
|
1594
1594
|
}), a("div", {
|
1595
1595
|
className: Z.close,
|
@@ -1599,8 +1599,8 @@ const Rn = Fn(), xt = ({
|
|
1599
1599
|
})]
|
1600
1600
|
}), a("div", {
|
1601
1601
|
className: Z.inner,
|
1602
|
-
children: (d.children || []).map((
|
1603
|
-
value:
|
1602
|
+
children: (d.children || []).map((A) => a(Ot, {
|
1603
|
+
value: A,
|
1604
1604
|
children: a(Mu, {
|
1605
1605
|
onClick: (C) => e(C)
|
1606
1606
|
})
|
@@ -1608,7 +1608,7 @@ const Rn = Fn(), xt = ({
|
|
1608
1608
|
}), a("div", {
|
1609
1609
|
className: Z.promotion,
|
1610
1610
|
style: d.promotion,
|
1611
|
-
children: (
|
1611
|
+
children: (j = d.promotion) == null ? void 0 : j.children
|
1612
1612
|
})]
|
1613
1613
|
})]
|
1614
1614
|
})]
|
@@ -1629,7 +1629,7 @@ const Rn = Fn(), xt = ({
|
|
1629
1629
|
text: Hu,
|
1630
1630
|
button: Yu,
|
1631
1631
|
legal: Bu
|
1632
|
-
},
|
1632
|
+
}, It = (t) => t && {
|
1633
1633
|
left: "flex-start",
|
1634
1634
|
center: "center",
|
1635
1635
|
right: "flex-end"
|
@@ -1637,7 +1637,7 @@ const Rn = Fn(), xt = ({
|
|
1637
1637
|
root: Eu
|
1638
1638
|
}, Vu = () => {
|
1639
1639
|
var e, n, r;
|
1640
|
-
const t = W(), o =
|
1640
|
+
const t = W(), o = E(t);
|
1641
1641
|
return a("div", {
|
1642
1642
|
className: Pu.root,
|
1643
1643
|
style: o.root,
|
@@ -1648,19 +1648,19 @@ const Rn = Fn(), xt = ({
|
|
1648
1648
|
})
|
1649
1649
|
});
|
1650
1650
|
}, Ze = (t, o = 0, e = !1) => {
|
1651
|
-
const n = et(ze()), [r, s] = yt(!1), [i, c] = yt(), [_, d] = yt(e), l = (
|
1651
|
+
const n = et(ze()), [r, s] = yt(!1), [i, c] = yt(), [_, d] = yt(e), l = (f) => n.current.on("visible", f), u = (f) => n.current.on("click", f), p = (f) => n.current.on("clickHide", f), g = () => de(void 0, null, function* () {
|
1652
1652
|
yield od(+o), s(!0);
|
1653
|
-
}),
|
1654
|
-
n.current.emit("clickHide"),
|
1653
|
+
}), M = () => s(!1), m = () => {
|
1654
|
+
n.current.emit("clickHide"), M();
|
1655
1655
|
};
|
1656
1656
|
return Q(() => {
|
1657
1657
|
_ && n.current.emit("visible", r);
|
1658
1658
|
}, [r]), Pe(t, () => ({
|
1659
1659
|
onVisible: l,
|
1660
1660
|
onClick: u,
|
1661
|
-
onClickHide:
|
1661
|
+
onClickHide: p,
|
1662
1662
|
show: g,
|
1663
|
-
hide:
|
1663
|
+
hide: M,
|
1664
1664
|
setApiHost: c,
|
1665
1665
|
resetListeners: n.current.reset
|
1666
1666
|
})), Q(() => n.current.reset, []), {
|
@@ -1668,11 +1668,11 @@ const Rn = Fn(), xt = ({
|
|
1668
1668
|
isOpen: r,
|
1669
1669
|
apiHost: i,
|
1670
1670
|
show: g,
|
1671
|
-
hide:
|
1672
|
-
clickHide:
|
1671
|
+
hide: M,
|
1672
|
+
clickHide: m,
|
1673
1673
|
setIsReady: d,
|
1674
|
-
click: (...
|
1675
|
-
|
1674
|
+
click: (...f) => {
|
1675
|
+
M(), n.current.emit("click", ...f);
|
1676
1676
|
}
|
1677
1677
|
};
|
1678
1678
|
}, Gu = "_root_120y9_1", Fu = "_progress_120y9_8", Wu = "_countdown_120y9_1", Uu = "_body_120y9_17", zu = "_body_active_120y9_31", Ku = "_closeIcon_120y9_35", Gt = {
|
@@ -1773,39 +1773,39 @@ const Qu = zt(({
|
|
1773
1773
|
id: t,
|
1774
1774
|
className: o
|
1775
1775
|
}, e) => {
|
1776
|
-
var S, w,
|
1777
|
-
const [n, r] = yt(1 / 0), s = et(null), i = et(null), c =
|
1776
|
+
var S, w, I, B, R, z, ct, st;
|
1777
|
+
const [n, r] = yt(1 / 0), s = et(null), i = et(null), c = At({
|
1778
1778
|
targetRef: s,
|
1779
1779
|
id: t
|
1780
1780
|
}), _ = W(), d = Lt(_, c);
|
1781
1781
|
wt(d), d && (Et(d, "button.percent_width", (S = d == null ? void 0 : d.button) == null ? void 0 : S.width), Et(d, "legal.percent_width", (w = d == null ? void 0 : d.legal) == null ? void 0 : w.width));
|
1782
|
-
const l =
|
1783
|
-
isOpen:
|
1782
|
+
const l = E(d), u = h(l, "root.delay", 0), {
|
1783
|
+
isOpen: p,
|
1784
1784
|
isReady: g,
|
1785
|
-
setIsReady:
|
1786
|
-
clickHide:
|
1787
|
-
click:
|
1788
|
-
} = Ze(e, u),
|
1785
|
+
setIsReady: M,
|
1786
|
+
clickHide: m,
|
1787
|
+
click: f
|
1788
|
+
} = Ze(e, u), O = h(l, "close.variant", "default"), x = h(l, "close.radius", 21), j = h(l, "close.colorDirection", "default"), A = h(l, "close.timeoutLock", !1), C = O === "timer" ? n <= 0 : !0, N = O === "timer" && A && n > 0 ? "div" : "a";
|
1789
1789
|
Q(() => {
|
1790
1790
|
const it = i.current;
|
1791
1791
|
if (!it)
|
1792
1792
|
return;
|
1793
1793
|
if (Xu(it)) {
|
1794
|
-
|
1794
|
+
M(!0);
|
1795
1795
|
return;
|
1796
1796
|
}
|
1797
|
-
const bt = () =>
|
1797
|
+
const bt = () => M(!0);
|
1798
1798
|
return it.addEventListener("load", bt), () => {
|
1799
1799
|
it.removeEventListener("load", bt);
|
1800
1800
|
};
|
1801
1801
|
}, [l]);
|
1802
|
-
const
|
1803
|
-
alignItems:
|
1804
|
-
}, K = L(
|
1805
|
-
justifyContent:
|
1806
|
-
}),
|
1807
|
-
justifyContent:
|
1808
|
-
}),
|
1802
|
+
const Y = {
|
1803
|
+
alignItems: It((I = l.root) == null ? void 0 : I.align)
|
1804
|
+
}, K = L($({}, l == null ? void 0 : l.button), {
|
1805
|
+
justifyContent: It((B = l.root) == null ? void 0 : B.textAlign)
|
1806
|
+
}), v = L($({}, l == null ? void 0 : l.legal), {
|
1807
|
+
justifyContent: It((R = l.root) == null ? void 0 : R.textAlign)
|
1808
|
+
}), b = (z = l.root) == null ? void 0 : z.corner, y = vt(l.root, ...Ko, ...ut), T = xt(l.root, ...Ko), k = p && g;
|
1809
1809
|
return a("div", {
|
1810
1810
|
className: H(at.root, o, {
|
1811
1811
|
[at.desktop]: c === "desktop",
|
@@ -1814,22 +1814,22 @@ const Qu = zt(({
|
|
1814
1814
|
}),
|
1815
1815
|
ref: s,
|
1816
1816
|
style: {
|
1817
|
-
display:
|
1817
|
+
display: k ? "flex" : "none"
|
1818
1818
|
},
|
1819
1819
|
children: [a("div", {
|
1820
1820
|
className: at.overlay,
|
1821
1821
|
style: l.overlay,
|
1822
|
-
onClick: C &&
|
1822
|
+
onClick: C && m
|
1823
1823
|
}), a("div", {
|
1824
1824
|
className: at.wrapper,
|
1825
|
-
children: [
|
1826
|
-
children:
|
1825
|
+
children: [k && a(De, {
|
1826
|
+
children: O === "default" ? a("div", {
|
1827
1827
|
className: at.close,
|
1828
|
-
style: L(
|
1829
|
-
borderBottomLeftRadius: `${
|
1830
|
-
borderTopRightRadius: `${
|
1828
|
+
style: L($({}, l.close), {
|
1829
|
+
borderBottomLeftRadius: `${b}px`,
|
1830
|
+
borderTopRightRadius: `${b}px`
|
1831
1831
|
}),
|
1832
|
-
onClick:
|
1832
|
+
onClick: m,
|
1833
1833
|
children: a(Ht, {
|
1834
1834
|
width: 11,
|
1835
1835
|
height: 11
|
@@ -1837,10 +1837,10 @@ const Qu = zt(({
|
|
1837
1837
|
}) : a("div", {
|
1838
1838
|
className: at.closeTimer,
|
1839
1839
|
children: a(Je, {
|
1840
|
-
timeout:
|
1841
|
-
colorDirection:
|
1840
|
+
timeout: h(l, "close.timeout"),
|
1841
|
+
colorDirection: j,
|
1842
1842
|
radius: x,
|
1843
|
-
onClick:
|
1843
|
+
onClick: m,
|
1844
1844
|
onChange: r
|
1845
1845
|
})
|
1846
1846
|
})
|
@@ -1853,8 +1853,8 @@ const Qu = zt(({
|
|
1853
1853
|
target: "_blank",
|
1854
1854
|
rel: "nofollow noopener noreferrer",
|
1855
1855
|
className: at.content,
|
1856
|
-
style:
|
1857
|
-
onClick: () => N === "a" &&
|
1856
|
+
style: y,
|
1857
|
+
onClick: () => N === "a" && f(l.id),
|
1858
1858
|
children: [a("img", {
|
1859
1859
|
ref: i,
|
1860
1860
|
className: at.background,
|
@@ -1863,13 +1863,13 @@ const Qu = zt(({
|
|
1863
1863
|
style: T
|
1864
1864
|
}), a("div", {
|
1865
1865
|
className: at.body,
|
1866
|
-
style:
|
1866
|
+
style: Y,
|
1867
1867
|
children: [a("div", {
|
1868
1868
|
className: at.logo,
|
1869
1869
|
style: l.logo
|
1870
1870
|
}), a("div", {
|
1871
1871
|
className: at.text,
|
1872
|
-
children: ((l == null ? void 0 : l.children) || []).map((it) => a(
|
1872
|
+
children: ((l == null ? void 0 : l.children) || []).map((it) => a(Ot, {
|
1873
1873
|
value: it,
|
1874
1874
|
children: a(Vu, {})
|
1875
1875
|
}))
|
@@ -1879,8 +1879,8 @@ const Qu = zt(({
|
|
1879
1879
|
children: K == null ? void 0 : K.children
|
1880
1880
|
}), a("div", {
|
1881
1881
|
className: at.legal,
|
1882
|
-
style:
|
1883
|
-
children:
|
1882
|
+
style: v,
|
1883
|
+
children: v == null ? void 0 : v.children
|
1884
1884
|
})]
|
1885
1885
|
})]
|
1886
1886
|
})]
|
@@ -1913,7 +1913,7 @@ const Qu = zt(({
|
|
1913
1913
|
onClick: t
|
1914
1914
|
}) => {
|
1915
1915
|
var i, c, _, d, l, u;
|
1916
|
-
const o = W(), e =
|
1916
|
+
const o = W(), e = E(o), n = (o == null ? void 0 : o.device) || "desktop", r = (o == null ? void 0 : o.OfferTag) || "a", s = xt(e.header, ...ut);
|
1917
1917
|
return a(r, {
|
1918
1918
|
href: (i = e.root) == null ? void 0 : i.offer,
|
1919
1919
|
target: "_blank",
|
@@ -1933,7 +1933,7 @@ const Qu = zt(({
|
|
1933
1933
|
})
|
1934
1934
|
}), a("div", {
|
1935
1935
|
className: pt.container,
|
1936
|
-
style:
|
1936
|
+
style: xt(e.root, ...be),
|
1937
1937
|
children: [a("div", {
|
1938
1938
|
className: pt.body,
|
1939
1939
|
children: [a("div", {
|
@@ -1966,17 +1966,17 @@ const Qu = zt(({
|
|
1966
1966
|
}, kp = zt(({
|
1967
1967
|
id: t
|
1968
1968
|
}, o) => {
|
1969
|
-
var
|
1970
|
-
const [e, n] = yt(1 / 0), r = et(null), s =
|
1969
|
+
var A, C, N;
|
1970
|
+
const [e, n] = yt(1 / 0), r = et(null), s = At({
|
1971
1971
|
targetRef: r,
|
1972
1972
|
id: t
|
1973
|
-
}), i = W(), c = Lt(i, s), _ =
|
1973
|
+
}), i = W(), c = Lt(i, s), _ = E(c);
|
1974
1974
|
wt(c);
|
1975
|
-
const d =
|
1975
|
+
const d = h(_, "root.delay", 0), {
|
1976
1976
|
isOpen: l,
|
1977
1977
|
clickHide: u,
|
1978
|
-
click:
|
1979
|
-
} = Ze(o, d, !0), g =
|
1978
|
+
click: p
|
1979
|
+
} = Ze(o, d, !0), g = h(_, "close.variant", "default"), M = h(_, "close.radius", 21), m = h(_, "close.colorDirection", "default"), f = h(_, "close.timeoutLock", !1), O = g === "timer" ? e <= 0 : !0, x = g === "timer" && f && e > 0 ? "div" : "a", j = (A = _.root) == null ? void 0 : A.corner;
|
1980
1980
|
return a("div", {
|
1981
1981
|
className: Ct.root,
|
1982
1982
|
style: {
|
@@ -1985,7 +1985,7 @@ const Qu = zt(({
|
|
1985
1985
|
children: [a("div", {
|
1986
1986
|
className: Ct.overlay,
|
1987
1987
|
style: _.overlay,
|
1988
|
-
onClick:
|
1988
|
+
onClick: O && u
|
1989
1989
|
}), a("div", {
|
1990
1990
|
ref: r,
|
1991
1991
|
className: H(Ct.content, {
|
@@ -1995,9 +1995,9 @@ const Qu = zt(({
|
|
1995
1995
|
style: _.root,
|
1996
1996
|
children: [g === "default" ? a("div", {
|
1997
1997
|
className: Ct.close,
|
1998
|
-
style: L(
|
1999
|
-
borderBottomLeftRadius: `${
|
2000
|
-
borderTopRightRadius: `${
|
1998
|
+
style: L($({}, _.close), {
|
1999
|
+
borderBottomLeftRadius: `${j}px`,
|
2000
|
+
borderTopRightRadius: `${j}px`
|
2001
2001
|
}),
|
2002
2002
|
onClick: u,
|
2003
2003
|
children: a(Ht, {
|
@@ -2007,9 +2007,9 @@ const Qu = zt(({
|
|
2007
2007
|
}) : a("div", {
|
2008
2008
|
className: Ct.closeTimer,
|
2009
2009
|
children: a(Je, {
|
2010
|
-
timeout:
|
2011
|
-
colorDirection:
|
2012
|
-
radius:
|
2010
|
+
timeout: h(_, "close.timeout"),
|
2011
|
+
colorDirection: m,
|
2012
|
+
radius: M,
|
2013
2013
|
onClick: u,
|
2014
2014
|
onChange: n
|
2015
2015
|
})
|
@@ -2023,13 +2023,13 @@ const Qu = zt(({
|
|
2023
2023
|
children: (N = _.title) == null ? void 0 : N.children
|
2024
2024
|
}), a("div", {
|
2025
2025
|
className: Ct.wrapper,
|
2026
|
-
children: (_.children || []).map((
|
2027
|
-
value: L(
|
2026
|
+
children: (_.children || []).map((Y) => a(Ot, {
|
2027
|
+
value: L($({}, Y), {
|
2028
2028
|
device: s,
|
2029
2029
|
OfferTag: x
|
2030
2030
|
}),
|
2031
2031
|
children: a($p, {
|
2032
|
-
onClick:
|
2032
|
+
onClick: p
|
2033
2033
|
})
|
2034
2034
|
}))
|
2035
2035
|
})]
|
@@ -2379,7 +2379,7 @@ const nf = new Set(Object.keys(Bn)), ht = ({
|
|
2379
2379
|
return a("img", {
|
2380
2380
|
ref: s,
|
2381
2381
|
className: t,
|
2382
|
-
style: L(
|
2382
|
+
style: L($({}, e), {
|
2383
2383
|
height: `calc(${d}px - 20%)`
|
2384
2384
|
}),
|
2385
2385
|
src: _
|
@@ -2390,7 +2390,7 @@ const nf = new Set(Object.keys(Bn)), ht = ({
|
|
2390
2390
|
style: e,
|
2391
2391
|
src: o
|
2392
2392
|
});
|
2393
|
-
},
|
2393
|
+
}, Dt = ({
|
2394
2394
|
formatter: t,
|
2395
2395
|
odd: o
|
2396
2396
|
}) => {
|
@@ -2399,11 +2399,11 @@ const nf = new Set(Object.keys(Bn)), ht = ({
|
|
2399
2399
|
}, rf = ({
|
2400
2400
|
oddFormatter: t
|
2401
2401
|
}) => {
|
2402
|
-
const o = W(), e =
|
2403
|
-
backgroundImage:
|
2404
|
-
}), i = L(
|
2405
|
-
backgroundImage:
|
2406
|
-
}), c =
|
2402
|
+
const o = W(), e = E(o), n = (o == null ? void 0 : o.device) || "desktop", r = h(e, "match.sport_slug"), s = L($({}, e == null ? void 0 : e.teamALogo), {
|
2403
|
+
backgroundImage: h(e, "match.teams[0].logo")
|
2404
|
+
}), i = L($({}, e == null ? void 0 : e.teamBLogo), {
|
2405
|
+
backgroundImage: h(e, "match.teams[1].logo")
|
2406
|
+
}), c = h(e, "match.prediction.value");
|
2407
2407
|
return a("div", {
|
2408
2408
|
className: H(J.root, {
|
2409
2409
|
[J.desktop]: n === "desktop",
|
@@ -2418,24 +2418,24 @@ const nf = new Set(Object.keys(Bn)), ht = ({
|
|
2418
2418
|
style: s,
|
2419
2419
|
src: s.backgroundImage,
|
2420
2420
|
sportSlug: r,
|
2421
|
-
country:
|
2421
|
+
country: h(e, "match.teams[0].country")
|
2422
2422
|
}), a(ht, {
|
2423
2423
|
className: J.logo,
|
2424
2424
|
style: i,
|
2425
2425
|
src: i.backgroundImage,
|
2426
2426
|
sportSlug: r,
|
2427
|
-
country:
|
2427
|
+
country: h(e, "match.teams[1].country")
|
2428
2428
|
})]
|
2429
2429
|
}), a("div", {
|
2430
2430
|
className: J.body,
|
2431
2431
|
children: [a("div", {
|
2432
2432
|
className: J.league,
|
2433
2433
|
style: e.league,
|
2434
|
-
children:
|
2434
|
+
children: h(e, "match.league.name")
|
2435
2435
|
}), a("div", {
|
2436
2436
|
className: J.name,
|
2437
2437
|
style: e.teams,
|
2438
|
-
children: [
|
2438
|
+
children: [h(e, "match.teams[0].name"), " — ", h(e, "match.teams[1].name")]
|
2439
2439
|
})]
|
2440
2440
|
})]
|
2441
2441
|
}), a("div", {
|
@@ -2447,25 +2447,25 @@ const nf = new Set(Object.keys(Bn)), ht = ({
|
|
2447
2447
|
style: s,
|
2448
2448
|
src: s.backgroundImage,
|
2449
2449
|
sportSlug: r,
|
2450
|
-
country:
|
2450
|
+
country: h(e, "match.teams[0].country")
|
2451
2451
|
}), a("div", {
|
2452
2452
|
className: J.teamName,
|
2453
2453
|
style: e.teams,
|
2454
|
-
children:
|
2454
|
+
children: h(e, "match.teams[0].name")
|
2455
2455
|
})]
|
2456
2456
|
}), a("div", {
|
2457
2457
|
className: J.odd,
|
2458
2458
|
children: [a("div", {
|
2459
2459
|
className: J.oddLabel,
|
2460
2460
|
style: e.oddLabel,
|
2461
|
-
children: a(
|
2461
|
+
children: a(Dt, {
|
2462
2462
|
odd: c,
|
2463
2463
|
formatter: t
|
2464
2464
|
})
|
2465
2465
|
}), a("div", {
|
2466
2466
|
className: J.oddValue,
|
2467
2467
|
style: e.oddValue,
|
2468
|
-
children:
|
2468
|
+
children: h(e, "match.prediction.factor")
|
2469
2469
|
})]
|
2470
2470
|
}), a("div", {
|
2471
2471
|
className: J.team,
|
@@ -2474,11 +2474,11 @@ const nf = new Set(Object.keys(Bn)), ht = ({
|
|
2474
2474
|
style: i,
|
2475
2475
|
src: i.backgroundImage,
|
2476
2476
|
sportSlug: r,
|
2477
|
-
country:
|
2477
|
+
country: h(e, "match.teams[1].country")
|
2478
2478
|
}), a("div", {
|
2479
2479
|
className: J.teamName,
|
2480
2480
|
style: e.teams,
|
2481
|
-
children:
|
2481
|
+
children: h(e, "match.teams[1].name")
|
2482
2482
|
})]
|
2483
2483
|
})]
|
2484
2484
|
})]
|
@@ -2515,200 +2515,200 @@ var Tt = {}, Tf = {
|
|
2515
2515
|
(function(e, n) {
|
2516
2516
|
t.exports = n();
|
2517
2517
|
})(dt, function() {
|
2518
|
-
var e = "millisecond", n = "second", r = "minute", s = "hour", i = "day", c = "week", _ = "month", d = "quarter", l = "year", u = "date",
|
2519
|
-
var T = String(
|
2520
|
-
return !T || T.length >=
|
2521
|
-
},
|
2522
|
-
var
|
2523
|
-
return (
|
2524
|
-
}, m: function
|
2525
|
-
if (
|
2526
|
-
return -y
|
2527
|
-
var T = 12 * (
|
2528
|
-
return +(-(T + (
|
2529
|
-
}, a: function(
|
2530
|
-
return
|
2531
|
-
}, p: function(
|
2532
|
-
return { M: _, y: l, w: c, d: i, D: u, h: s, m: r, s: n, ms: e, Q: d }[
|
2533
|
-
}, u: function(
|
2534
|
-
return
|
2535
|
-
} },
|
2536
|
-
x[
|
2537
|
-
var
|
2538
|
-
return
|
2539
|
-
},
|
2518
|
+
var e = "millisecond", n = "second", r = "minute", s = "hour", i = "day", c = "week", _ = "month", d = "quarter", l = "year", u = "date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, g = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = function(v, b, y) {
|
2519
|
+
var T = String(v);
|
2520
|
+
return !T || T.length >= b ? v : "" + Array(b + 1 - T.length).join(y) + v;
|
2521
|
+
}, m = { s: M, z: function(v) {
|
2522
|
+
var b = -v.utcOffset(), y = Math.abs(b), T = Math.floor(y / 60), k = y % 60;
|
2523
|
+
return (b <= 0 ? "+" : "-") + M(T, 2, "0") + ":" + M(k, 2, "0");
|
2524
|
+
}, m: function v(b, y) {
|
2525
|
+
if (b.date() < y.date())
|
2526
|
+
return -v(y, b);
|
2527
|
+
var T = 12 * (y.year() - b.year()) + (y.month() - b.month()), k = b.clone().add(T, _), S = y - k < 0, w = b.clone().add(T + (S ? -1 : 1), _);
|
2528
|
+
return +(-(T + (y - k) / (S ? k - w : w - k)) || 0);
|
2529
|
+
}, a: function(v) {
|
2530
|
+
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
2531
|
+
}, p: function(v) {
|
2532
|
+
return { M: _, y: l, w: c, d: i, D: u, h: s, m: r, s: n, ms: e, Q: d }[v] || String(v || "").toLowerCase().replace(/s$/, "");
|
2533
|
+
}, u: function(v) {
|
2534
|
+
return v === void 0;
|
2535
|
+
} }, f = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, O = "en", x = {};
|
2536
|
+
x[O] = f;
|
2537
|
+
var j = function(v) {
|
2538
|
+
return v instanceof Y;
|
2539
|
+
}, A = function(v, b, y) {
|
2540
2540
|
var T;
|
2541
|
-
if (!
|
2542
|
-
return
|
2543
|
-
if (typeof
|
2544
|
-
x[
|
2541
|
+
if (!v)
|
2542
|
+
return O;
|
2543
|
+
if (typeof v == "string")
|
2544
|
+
x[v] && (T = v), b && (x[v] = b, T = v);
|
2545
2545
|
else {
|
2546
|
-
var
|
2547
|
-
x[
|
2546
|
+
var k = v.name;
|
2547
|
+
x[k] = v, T = k;
|
2548
2548
|
}
|
2549
|
-
return !
|
2550
|
-
}, C = function(
|
2551
|
-
if (
|
2552
|
-
return
|
2553
|
-
var
|
2554
|
-
return
|
2555
|
-
}, N =
|
2556
|
-
N.l =
|
2557
|
-
return C(
|
2549
|
+
return !y && T && (O = T), T || !y && O;
|
2550
|
+
}, C = function(v, b) {
|
2551
|
+
if (j(v))
|
2552
|
+
return v.clone();
|
2553
|
+
var y = typeof b == "object" ? b : {};
|
2554
|
+
return y.date = v, y.args = arguments, new Y(y);
|
2555
|
+
}, N = m;
|
2556
|
+
N.l = A, N.i = j, N.w = function(v, b) {
|
2557
|
+
return C(v, { locale: b.$L, utc: b.$u, $offset: b.$offset });
|
2558
2558
|
};
|
2559
|
-
var
|
2560
|
-
function y
|
2561
|
-
this.$L = this.$L ||
|
2559
|
+
var Y = function() {
|
2560
|
+
function v(y) {
|
2561
|
+
this.$L = this.$L || A(y.locale, null, !0), this.parse(y);
|
2562
2562
|
}
|
2563
|
-
var
|
2564
|
-
return
|
2563
|
+
var b = v.prototype;
|
2564
|
+
return b.parse = function(y) {
|
2565
2565
|
this.$d = function(T) {
|
2566
|
-
var
|
2567
|
-
if (
|
2566
|
+
var k = T.date, S = T.utc;
|
2567
|
+
if (k === null)
|
2568
2568
|
return /* @__PURE__ */ new Date(NaN);
|
2569
|
-
if (N.u(
|
2569
|
+
if (N.u(k))
|
2570
2570
|
return /* @__PURE__ */ new Date();
|
2571
|
-
if (
|
2572
|
-
return new Date(
|
2573
|
-
if (typeof
|
2574
|
-
var w =
|
2571
|
+
if (k instanceof Date)
|
2572
|
+
return new Date(k);
|
2573
|
+
if (typeof k == "string" && !/Z$/i.test(k)) {
|
2574
|
+
var w = k.match(p);
|
2575
2575
|
if (w) {
|
2576
|
-
var
|
2577
|
-
return S ? new Date(Date.UTC(w[1],
|
2576
|
+
var I = w[2] - 1 || 0, B = (w[7] || "0").substring(0, 3);
|
2577
|
+
return S ? new Date(Date.UTC(w[1], I, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, B)) : new Date(w[1], I, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, B);
|
2578
2578
|
}
|
2579
2579
|
}
|
2580
|
-
return new Date(
|
2581
|
-
}(
|
2582
|
-
},
|
2583
|
-
var
|
2584
|
-
this.$y =
|
2585
|
-
},
|
2580
|
+
return new Date(k);
|
2581
|
+
}(y), this.init();
|
2582
|
+
}, b.init = function() {
|
2583
|
+
var y = this.$d;
|
2584
|
+
this.$y = y.getFullYear(), this.$M = y.getMonth(), this.$D = y.getDate(), this.$W = y.getDay(), this.$H = y.getHours(), this.$m = y.getMinutes(), this.$s = y.getSeconds(), this.$ms = y.getMilliseconds();
|
2585
|
+
}, b.$utils = function() {
|
2586
2586
|
return N;
|
2587
|
-
},
|
2587
|
+
}, b.isValid = function() {
|
2588
2588
|
return this.$d.toString() !== "Invalid Date";
|
2589
|
-
},
|
2590
|
-
var
|
2591
|
-
return this.startOf(T) <=
|
2592
|
-
},
|
2593
|
-
return C(
|
2594
|
-
},
|
2595
|
-
return this.endOf(T) < C(
|
2596
|
-
},
|
2597
|
-
return N.u(
|
2598
|
-
},
|
2589
|
+
}, b.isSame = function(y, T) {
|
2590
|
+
var k = C(y);
|
2591
|
+
return this.startOf(T) <= k && k <= this.endOf(T);
|
2592
|
+
}, b.isAfter = function(y, T) {
|
2593
|
+
return C(y) < this.startOf(T);
|
2594
|
+
}, b.isBefore = function(y, T) {
|
2595
|
+
return this.endOf(T) < C(y);
|
2596
|
+
}, b.$g = function(y, T, k) {
|
2597
|
+
return N.u(y) ? this[T] : this.set(k, y);
|
2598
|
+
}, b.unix = function() {
|
2599
2599
|
return Math.floor(this.valueOf() / 1e3);
|
2600
|
-
},
|
2600
|
+
}, b.valueOf = function() {
|
2601
2601
|
return this.$d.getTime();
|
2602
|
-
},
|
2603
|
-
var
|
2604
|
-
var $t = N.w(
|
2602
|
+
}, b.startOf = function(y, T) {
|
2603
|
+
var k = this, S = !!N.u(T) || T, w = N.p(y), I = function(jt, rt) {
|
2604
|
+
var $t = N.w(k.$u ? Date.UTC(k.$y, rt, jt) : new Date(k.$y, rt, jt), k);
|
2605
2605
|
return S ? $t : $t.endOf(i);
|
2606
|
-
},
|
2607
|
-
return N.w(
|
2608
|
-
},
|
2606
|
+
}, B = function(jt, rt) {
|
2607
|
+
return N.w(k.toDate()[jt].apply(k.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(rt)), k);
|
2608
|
+
}, R = this.$W, z = this.$M, ct = this.$D, st = "set" + (this.$u ? "UTC" : "");
|
2609
2609
|
switch (w) {
|
2610
2610
|
case l:
|
2611
|
-
return S ?
|
2611
|
+
return S ? I(1, 0) : I(31, 11);
|
2612
2612
|
case _:
|
2613
|
-
return S ?
|
2613
|
+
return S ? I(1, z) : I(0, z + 1);
|
2614
2614
|
case c:
|
2615
|
-
var it = this.$locale().weekStart || 0, bt = (
|
2616
|
-
return
|
2615
|
+
var it = this.$locale().weekStart || 0, bt = (R < it ? R + 7 : R) - it;
|
2616
|
+
return I(S ? ct - bt : ct + (6 - bt), z);
|
2617
2617
|
case i:
|
2618
2618
|
case u:
|
2619
|
-
return
|
2619
|
+
return B(st + "Hours", 0);
|
2620
2620
|
case s:
|
2621
|
-
return
|
2621
|
+
return B(st + "Minutes", 1);
|
2622
2622
|
case r:
|
2623
|
-
return
|
2623
|
+
return B(st + "Seconds", 2);
|
2624
2624
|
case n:
|
2625
|
-
return
|
2625
|
+
return B(st + "Milliseconds", 3);
|
2626
2626
|
default:
|
2627
2627
|
return this.clone();
|
2628
2628
|
}
|
2629
|
-
},
|
2630
|
-
return this.startOf(
|
2631
|
-
},
|
2632
|
-
var
|
2629
|
+
}, b.endOf = function(y) {
|
2630
|
+
return this.startOf(y, !1);
|
2631
|
+
}, b.$set = function(y, T) {
|
2632
|
+
var k, S = N.p(y), w = "set" + (this.$u ? "UTC" : ""), I = (k = {}, k[i] = w + "Date", k[u] = w + "Date", k[_] = w + "Month", k[l] = w + "FullYear", k[s] = w + "Hours", k[r] = w + "Minutes", k[n] = w + "Seconds", k[e] = w + "Milliseconds", k)[S], B = S === i ? this.$D + (T - this.$W) : T;
|
2633
2633
|
if (S === _ || S === l) {
|
2634
|
-
var
|
2635
|
-
|
2634
|
+
var R = this.clone().set(u, 1);
|
2635
|
+
R.$d[I](B), R.init(), this.$d = R.set(u, Math.min(this.$D, R.daysInMonth())).$d;
|
2636
2636
|
} else
|
2637
|
-
|
2637
|
+
I && this.$d[I](B);
|
2638
2638
|
return this.init(), this;
|
2639
|
-
},
|
2640
|
-
return this.clone().$set(
|
2641
|
-
},
|
2642
|
-
return this[N.p(
|
2643
|
-
},
|
2644
|
-
var
|
2645
|
-
|
2646
|
-
var w = N.p(T),
|
2639
|
+
}, b.set = function(y, T) {
|
2640
|
+
return this.clone().$set(y, T);
|
2641
|
+
}, b.get = function(y) {
|
2642
|
+
return this[N.p(y)]();
|
2643
|
+
}, b.add = function(y, T) {
|
2644
|
+
var k, S = this;
|
2645
|
+
y = Number(y);
|
2646
|
+
var w = N.p(T), I = function(z) {
|
2647
2647
|
var ct = C(S);
|
2648
|
-
return N.w(ct.date(ct.date() + Math.round(z *
|
2648
|
+
return N.w(ct.date(ct.date() + Math.round(z * y)), S);
|
2649
2649
|
};
|
2650
2650
|
if (w === _)
|
2651
|
-
return this.set(_, this.$M +
|
2651
|
+
return this.set(_, this.$M + y);
|
2652
2652
|
if (w === l)
|
2653
|
-
return this.set(l, this.$y +
|
2653
|
+
return this.set(l, this.$y + y);
|
2654
2654
|
if (w === i)
|
2655
|
-
return
|
2655
|
+
return I(1);
|
2656
2656
|
if (w === c)
|
2657
|
-
return
|
2658
|
-
var
|
2659
|
-
return N.w(
|
2660
|
-
},
|
2661
|
-
return this.add(-1 *
|
2662
|
-
},
|
2657
|
+
return I(7);
|
2658
|
+
var B = (k = {}, k[r] = 6e4, k[s] = 36e5, k[n] = 1e3, k)[w] || 1, R = this.$d.getTime() + y * B;
|
2659
|
+
return N.w(R, this);
|
2660
|
+
}, b.subtract = function(y, T) {
|
2661
|
+
return this.add(-1 * y, T);
|
2662
|
+
}, b.format = function(y) {
|
2663
2663
|
var T = this;
|
2664
2664
|
if (!this.isValid())
|
2665
2665
|
return "Invalid Date";
|
2666
|
-
var
|
2667
|
-
return rt && (rt[$t] || rt(T,
|
2666
|
+
var k = y || "YYYY-MM-DDTHH:mm:ssZ", S = N.z(this), w = this.$locale(), I = this.$H, B = this.$m, R = this.$M, z = w.weekdays, ct = w.months, st = function(rt, $t, Vt, Yt) {
|
2667
|
+
return rt && (rt[$t] || rt(T, k)) || Vt[$t].substr(0, Yt);
|
2668
2668
|
}, it = function(rt) {
|
2669
|
-
return N.s(
|
2669
|
+
return N.s(I % 12 || 12, rt, "0");
|
2670
2670
|
}, bt = w.meridiem || function(rt, $t, Vt) {
|
2671
2671
|
var Yt = rt < 12 ? "AM" : "PM";
|
2672
2672
|
return Vt ? Yt.toLowerCase() : Yt;
|
2673
|
-
},
|
2674
|
-
return
|
2675
|
-
return $t ||
|
2673
|
+
}, jt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: R + 1, MM: N.s(R + 1, 2, "0"), MMM: st(w.monthsShort, R, ct, 3), MMMM: st(ct, R), D: this.$D, DD: N.s(this.$D, 2, "0"), d: String(this.$W), dd: st(w.weekdaysMin, this.$W, z, 2), ddd: st(w.weekdaysShort, this.$W, z, 3), dddd: z[this.$W], H: String(I), HH: N.s(I, 2, "0"), h: it(1), hh: it(2), a: bt(I, B, !0), A: bt(I, B, !1), m: String(B), mm: N.s(B, 2, "0"), s: String(this.$s), ss: N.s(this.$s, 2, "0"), SSS: N.s(this.$ms, 3, "0"), Z: S };
|
2674
|
+
return k.replace(g, function(rt, $t) {
|
2675
|
+
return $t || jt[rt] || S.replace(":", "");
|
2676
2676
|
});
|
2677
|
-
},
|
2677
|
+
}, b.utcOffset = function() {
|
2678
2678
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
2679
|
-
},
|
2680
|
-
var S, w = N.p(T),
|
2681
|
-
return z = (S = {}, S[l] = z / 12, S[_] = z, S[d] = z / 3, S[c] = (
|
2682
|
-
},
|
2679
|
+
}, b.diff = function(y, T, k) {
|
2680
|
+
var S, w = N.p(T), I = C(y), B = 6e4 * (I.utcOffset() - this.utcOffset()), R = this - I, z = N.m(this, I);
|
2681
|
+
return z = (S = {}, S[l] = z / 12, S[_] = z, S[d] = z / 3, S[c] = (R - B) / 6048e5, S[i] = (R - B) / 864e5, S[s] = R / 36e5, S[r] = R / 6e4, S[n] = R / 1e3, S)[w] || R, k ? z : N.a(z);
|
2682
|
+
}, b.daysInMonth = function() {
|
2683
2683
|
return this.endOf(_).$D;
|
2684
|
-
},
|
2684
|
+
}, b.$locale = function() {
|
2685
2685
|
return x[this.$L];
|
2686
|
-
},
|
2687
|
-
if (!
|
2686
|
+
}, b.locale = function(y, T) {
|
2687
|
+
if (!y)
|
2688
2688
|
return this.$L;
|
2689
|
-
var
|
2690
|
-
return S && (
|
2691
|
-
},
|
2689
|
+
var k = this.clone(), S = A(y, T, !0);
|
2690
|
+
return S && (k.$L = S), k;
|
2691
|
+
}, b.clone = function() {
|
2692
2692
|
return N.w(this.$d, this);
|
2693
|
-
},
|
2693
|
+
}, b.toDate = function() {
|
2694
2694
|
return new Date(this.valueOf());
|
2695
|
-
},
|
2695
|
+
}, b.toJSON = function() {
|
2696
2696
|
return this.isValid() ? this.toISOString() : null;
|
2697
|
-
},
|
2697
|
+
}, b.toISOString = function() {
|
2698
2698
|
return this.$d.toISOString();
|
2699
|
-
},
|
2699
|
+
}, b.toString = function() {
|
2700
2700
|
return this.$d.toUTCString();
|
2701
|
-
},
|
2702
|
-
}(), K =
|
2703
|
-
return C.prototype = K, [["$ms", e], ["$s", n], ["$m", r], ["$H", s], ["$W", i], ["$M", _], ["$y", l], ["$D", u]].forEach(function(
|
2704
|
-
K[
|
2705
|
-
return this.$g(
|
2701
|
+
}, v;
|
2702
|
+
}(), K = Y.prototype;
|
2703
|
+
return C.prototype = K, [["$ms", e], ["$s", n], ["$m", r], ["$H", s], ["$W", i], ["$M", _], ["$y", l], ["$D", u]].forEach(function(v) {
|
2704
|
+
K[v[1]] = function(b) {
|
2705
|
+
return this.$g(b, v[0], v[1]);
|
2706
2706
|
};
|
2707
|
-
}), C.extend = function(
|
2708
|
-
return
|
2709
|
-
}, C.locale =
|
2710
|
-
return C(1e3 *
|
2711
|
-
}, C.en = x[
|
2707
|
+
}), C.extend = function(v, b) {
|
2708
|
+
return v(b, Y, C), C;
|
2709
|
+
}, C.locale = A, C.isDayjs = j, C.unix = function(v) {
|
2710
|
+
return C(1e3 * v);
|
2711
|
+
}, C.en = x[O], C.Ls = x, C;
|
2712
2712
|
});
|
2713
2713
|
})(Tf);
|
2714
2714
|
const Nf = Tt;
|
@@ -2726,20 +2726,20 @@ var Zo = {}, Lf = {
|
|
2726
2726
|
})(dt, function(e) {
|
2727
2727
|
e = e && e.hasOwnProperty("default") ? e.default : e;
|
2728
2728
|
var n = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), r = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), s = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), i = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), c = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
|
2729
|
-
function _(
|
2730
|
-
var
|
2731
|
-
return
|
2729
|
+
function _(p, g, M) {
|
2730
|
+
var m, f;
|
2731
|
+
return M === "m" ? g ? "минута" : "минуту" : p + " " + (m = +p, f = { mm: g ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[M].split("_"), m % 10 == 1 && m % 100 != 11 ? f[0] : m % 10 >= 2 && m % 10 <= 4 && (m % 100 < 10 || m % 100 >= 20) ? f[1] : f[2]);
|
2732
2732
|
}
|
2733
|
-
var d = function(
|
2734
|
-
return c.test(g) ? n[
|
2733
|
+
var d = function(p, g) {
|
2734
|
+
return c.test(g) ? n[p.month()] : r[p.month()];
|
2735
2735
|
};
|
2736
2736
|
d.s = r, d.f = n;
|
2737
|
-
var l = function(
|
2738
|
-
return c.test(g) ? s[
|
2737
|
+
var l = function(p, g) {
|
2738
|
+
return c.test(g) ? s[p.month()] : i[p.month()];
|
2739
2739
|
};
|
2740
2740
|
l.s = i, l.f = s;
|
2741
|
-
var u = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: d, monthsShort: l, weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY г.", LLL: "D MMMM YYYY г., H:mm", LLLL: "dddd, D MMMM YYYY г., H:mm" }, relativeTime: { future: "через %s", past: "%s назад", s: "несколько секунд", m: _, mm: _, h: "час", hh: _, d: "день", dd: _, M: "месяц", MM: _, y: "год", yy: _ }, ordinal: function(
|
2742
|
-
return
|
2741
|
+
var u = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: d, monthsShort: l, weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY г.", LLL: "D MMMM YYYY г., H:mm", LLLL: "dddd, D MMMM YYYY г., H:mm" }, relativeTime: { future: "через %s", past: "%s назад", s: "несколько секунд", m: _, mm: _, h: "час", hh: _, d: "день", dd: _, M: "месяц", MM: _, y: "год", yy: _ }, ordinal: function(p) {
|
2742
|
+
return p;
|
2743
2743
|
} };
|
2744
2744
|
return e.locale(u, null, !0), u;
|
2745
2745
|
});
|
@@ -2875,9 +2875,9 @@ var on = {}, jf = {
|
|
2875
2875
|
function n(l) {
|
2876
2876
|
return l % 10 < 5 && l % 10 > 1 && ~~(l / 10) % 10 != 1;
|
2877
2877
|
}
|
2878
|
-
function r(l, u,
|
2878
|
+
function r(l, u, p) {
|
2879
2879
|
var g = l + " ";
|
2880
|
-
switch (
|
2880
|
+
switch (p) {
|
2881
2881
|
case "m":
|
2882
2882
|
return u ? "minuta" : "minutę";
|
2883
2883
|
case "mm":
|
@@ -2903,7 +2903,7 @@ var on = {}, jf = {
|
|
2903
2903
|
return e.locale(d, null, !0), d;
|
2904
2904
|
});
|
2905
2905
|
})(jf);
|
2906
|
-
const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : "",
|
2906
|
+
const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : "", Rt = ({
|
2907
2907
|
name: t,
|
2908
2908
|
short_name: o,
|
2909
2909
|
fallback: e
|
@@ -2913,11 +2913,11 @@ const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
2913
2913
|
}, If = ({
|
2914
2914
|
oddFormatter: t
|
2915
2915
|
}) => {
|
2916
|
-
const o = W(), e =
|
2917
|
-
backgroundImage:
|
2918
|
-
}), s = L(
|
2919
|
-
backgroundImage:
|
2920
|
-
}), i =
|
2916
|
+
const o = W(), e = E(o), n = (o == null ? void 0 : o.device) || "desktop", r = L($({}, e == null ? void 0 : e.teamALogo), {
|
2917
|
+
backgroundImage: h(e, "match.teams[0].logo")
|
2918
|
+
}), s = L($({}, e == null ? void 0 : e.teamBLogo), {
|
2919
|
+
backgroundImage: h(e, "match.teams[1].logo")
|
2920
|
+
}), i = h(e, "match.lang_slug", "ru"), c = h(e, "match.sport_slug"), _ = nn(h(e, "match.match_date"), "HH:mm", i), d = nn(h(e, "match.match_date"), "DD MMMM", i), u = h(e, "root.predictionLength", "full") === "full" ? h(e, "match.prediction.value") : h(e, "match.prediction.value_short") || h(e, "match.prediction.value"), p = Number(h(e, "match.prediction.factor", 0)).toFixed(2);
|
2921
2921
|
return a("div", {
|
2922
2922
|
className: H(ot.root, {
|
2923
2923
|
[ot.desktop]: n === "desktop",
|
@@ -2931,11 +2931,11 @@ const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
2931
2931
|
style: r,
|
2932
2932
|
src: r.backgroundImage,
|
2933
2933
|
sportSlug: c,
|
2934
|
-
country:
|
2934
|
+
country: h(e, "match.teams[0].country")
|
2935
2935
|
}), a("div", {
|
2936
2936
|
className: ot.teamName,
|
2937
2937
|
style: e.teams,
|
2938
|
-
children: a(
|
2938
|
+
children: a(Rt, L($({}, h(e, "match.teams[0]")), {
|
2939
2939
|
fallback: "Team A"
|
2940
2940
|
}))
|
2941
2941
|
})]
|
@@ -2958,8 +2958,8 @@ const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
2958
2958
|
children: [u, a("div", {
|
2959
2959
|
className: ot.oddValueInner,
|
2960
2960
|
style: e.oddValueInner,
|
2961
|
-
children: a(
|
2962
|
-
odd:
|
2961
|
+
children: a(Dt, {
|
2962
|
+
odd: p,
|
2963
2963
|
formatter: t
|
2964
2964
|
})
|
2965
2965
|
})]
|
@@ -2971,11 +2971,11 @@ const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
2971
2971
|
style: s,
|
2972
2972
|
src: s.backgroundImage,
|
2973
2973
|
sportSlug: c,
|
2974
|
-
country:
|
2974
|
+
country: h(e, "match.teams[1].country")
|
2975
2975
|
}), a("div", {
|
2976
2976
|
className: ot.teamName,
|
2977
2977
|
style: e.teams,
|
2978
|
-
children: a(
|
2978
|
+
children: a(Rt, L($({}, h(e, "match.teams[1]")), {
|
2979
2979
|
fallback: "Team B"
|
2980
2980
|
}))
|
2981
2981
|
})]
|
@@ -2987,7 +2987,7 @@ const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
2987
2987
|
const {
|
2988
2988
|
parse: n
|
2989
2989
|
} = e;
|
2990
|
-
t =
|
2990
|
+
t = St(() => {
|
2991
2991
|
try {
|
2992
2992
|
return ed(t || "", o);
|
2993
2993
|
} catch (r) {
|
@@ -3006,17 +3006,17 @@ const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
3006
3006
|
method: n,
|
3007
3007
|
body: r
|
3008
3008
|
}) => {
|
3009
|
-
const [s, i] = yt(!1), [c, _] = yt(), d =
|
3009
|
+
const [s, i] = yt(!1), [c, _] = yt(), d = St(() => {
|
3010
3010
|
if (t != null && t.includes("undefined") || t != null && t.includes("null"))
|
3011
3011
|
return;
|
3012
3012
|
let u = t;
|
3013
3013
|
if (e) {
|
3014
|
-
const
|
3015
|
-
Object.entries(e).forEach(([g,
|
3016
|
-
Array.isArray(
|
3017
|
-
|
3018
|
-
}) :
|
3019
|
-
}), u += `?${
|
3014
|
+
const p = new URLSearchParams();
|
3015
|
+
Object.entries(e).forEach(([g, M]) => {
|
3016
|
+
Array.isArray(M) ? M.forEach((m, f) => {
|
3017
|
+
m && p.append(`${g}[${f}]`, m);
|
3018
|
+
}) : M && p.append(g, M);
|
3019
|
+
}), u += `?${p.toString()}`;
|
3020
3020
|
}
|
3021
3021
|
return u;
|
3022
3022
|
}, [t, e]), l = Zn(() => de(void 0, null, function* () {
|
@@ -3026,7 +3026,7 @@ const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
3026
3026
|
if (pe.has(u))
|
3027
3027
|
return _(pe.get(u)), pe.get(u);
|
3028
3028
|
i(!0);
|
3029
|
-
const
|
3029
|
+
const p = yield fetch(d, {
|
3030
3030
|
method: n || "GET",
|
3031
3031
|
body: r ? JSON.stringify(r) : void 0,
|
3032
3032
|
headers: {
|
@@ -3035,7 +3035,7 @@ const nn = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
3035
3035
|
}).then((g) => g.json()).catch((g) => {
|
3036
3036
|
console.error(g), i(!1);
|
3037
3037
|
});
|
3038
|
-
|
3038
|
+
p && (pe.set(u, p.data), _(p.data)), i(!1);
|
3039
3039
|
}), [d, o, n, r]);
|
3040
3040
|
return Q(() => {
|
3041
3041
|
o || l();
|
@@ -3093,9 +3093,9 @@ const Df = (t) => {
|
|
3093
3093
|
withMarket: o != null && o.markets ? 1 : 0
|
3094
3094
|
},
|
3095
3095
|
pause: !t || !o || e
|
3096
|
-
}), {
|
3097
|
-
list:
|
3098
|
-
fetching:
|
3096
|
+
}), _ = St(() => !!(c || e || n === "prediction" && (s != null && s.prediction) || o != null && o.slug), [o, n, c, e, s]), {
|
3097
|
+
list: d,
|
3098
|
+
fetching: l
|
3099
3099
|
} = Df({
|
3100
3100
|
apiHost: t,
|
3101
3101
|
langSlug: o == null ? void 0 : o.langSlug,
|
@@ -3103,18 +3103,18 @@ const Df = (t) => {
|
|
3103
3103
|
markets: n === "markets" && (o == null ? void 0 : o.markets),
|
3104
3104
|
bookmakerSlug: o == null ? void 0 : o.bookmaker,
|
3105
3105
|
withPrediction: n === "prediction",
|
3106
|
-
pause:
|
3107
|
-
}),
|
3106
|
+
pause: _
|
3107
|
+
}), u = d[0];
|
3108
3108
|
return Q(() => {
|
3109
3109
|
we(r, o) || i();
|
3110
3110
|
}, [o]), {
|
3111
|
-
match: n === "prediction" ? s != null && s.prediction ? s :
|
3112
|
-
fetching: c ||
|
3111
|
+
match: St(() => o.slug ? s : n === "prediction" ? s != null && s.prediction ? s : u : s != null ? s : u, [o, s, u, n]),
|
3112
|
+
fetching: c || l
|
3113
3113
|
};
|
3114
3114
|
}, Rf = (t, o, e) => {
|
3115
3115
|
const n = (u) => {
|
3116
|
-
var
|
3117
|
-
return V(u == null ? void 0 : u.matchSlug) && ((
|
3116
|
+
var p;
|
3117
|
+
return V(u == null ? void 0 : u.matchSlug) && ((p = u == null ? void 0 : u.matchSlug) == null ? void 0 : p.length) > 0;
|
3118
3118
|
}, r = t.children || [], s = r.filter((u) => n(u.root.targetMatch)).map((u) => u.root.targetMatch), i = Ce(s), {
|
3119
3119
|
data: c,
|
3120
3120
|
execute: _
|
@@ -3141,12 +3141,12 @@ const Df = (t) => {
|
|
3141
3141
|
we(i, s) || _();
|
3142
3142
|
}, [s, e]);
|
3143
3143
|
const l = r.map((u) => {
|
3144
|
-
const
|
3145
|
-
if (!
|
3144
|
+
const p = (c || []).find((m) => m.slug === u.root.targetMatch.matchSlug);
|
3145
|
+
if (!p)
|
3146
3146
|
return;
|
3147
|
-
const g = ae(
|
3148
|
-
return L(
|
3149
|
-
match:
|
3147
|
+
const g = ae(p), M = Ke(g, u.root.customMatch, (m, [f, O]) => V(O));
|
3148
|
+
return L($({}, u), {
|
3149
|
+
match: M
|
3150
3150
|
});
|
3151
3151
|
}).filter(Boolean);
|
3152
3152
|
return d && e && (d.lang_slug = e.langSlug), {
|
@@ -3158,42 +3158,42 @@ const Df = (t) => {
|
|
3158
3158
|
baseMatch: o,
|
3159
3159
|
oddFormatter: e
|
3160
3160
|
}, n) => {
|
3161
|
-
var ct, st, it, bt,
|
3162
|
-
const [r, s] = yt(1 / 0), i = et(null), c =
|
3161
|
+
var ct, st, it, bt, jt, rt, $t, Vt, Yt, Qe, to, eo, oo, no, ro;
|
3162
|
+
const [r, s] = yt(1 / 0), i = et(null), c = At({
|
3163
3163
|
targetRef: i,
|
3164
3164
|
id: t
|
3165
3165
|
}), _ = W(), d = Lt(_, c);
|
3166
3166
|
d && (Et(d, "buttonWrapper.percent_width", (ct = d == null ? void 0 : d.buttonWrapper) == null ? void 0 : ct.width), Et(d, "legal.percent_width", (st = d == null ? void 0 : d.legal) == null ? void 0 : st.width));
|
3167
|
-
const l =
|
3167
|
+
const l = E(d);
|
3168
3168
|
wt(d);
|
3169
|
-
const u =
|
3170
|
-
isOpen:
|
3171
|
-
apiHost:
|
3172
|
-
clickHide:
|
3173
|
-
click:
|
3174
|
-
} = Ze(n, u, !0), x =
|
3169
|
+
const u = h(l, "root.delay", 0), g = h(l, "children", []).find((Se) => Se.name === "auto"), {
|
3170
|
+
isOpen: M,
|
3171
|
+
apiHost: m,
|
3172
|
+
clickHide: f,
|
3173
|
+
click: O
|
3174
|
+
} = Ze(n, u, !0), x = h(l, "close.variant", "default"), j = h(l, "close.radius", 21), A = h(l, "close.colorDirection", "default"), C = h(l, "close.timeoutLock", !1), N = x === "timer" ? r <= 0 : !0, Y = x === "timer" && C && r > 0 ? "div" : "a", {
|
3175
3175
|
expressMatches: K,
|
3176
|
-
autoMatch:
|
3177
|
-
} = Rf(d,
|
3178
|
-
g && (g.match =
|
3179
|
-
const
|
3180
|
-
alignItems:
|
3181
|
-
}),
|
3182
|
-
alignItems:
|
3183
|
-
}), T = L(
|
3184
|
-
textAlign: (
|
3185
|
-
}),
|
3186
|
-
justifyContent:
|
3187
|
-
}), S = L(
|
3188
|
-
justifyContent:
|
3189
|
-
}), w = +
|
3176
|
+
autoMatch: v
|
3177
|
+
} = Rf(d, m, g ? o : void 0);
|
3178
|
+
g && (g.match = v);
|
3179
|
+
const b = L($({}, l.root), {
|
3180
|
+
alignItems: It((it = l.root) == null ? void 0 : it.align)
|
3181
|
+
}), y = L($({}, l.content), {
|
3182
|
+
alignItems: It((bt = l.root) == null ? void 0 : bt.align)
|
3183
|
+
}), T = L($({}, l.text), {
|
3184
|
+
textAlign: (jt = l.root) == null ? void 0 : jt.align
|
3185
|
+
}), k = L($({}, l == null ? void 0 : l.button), {
|
3186
|
+
justifyContent: It((rt = l.root) == null ? void 0 : rt.textAlign)
|
3187
|
+
}), S = L($({}, l == null ? void 0 : l.legal), {
|
3188
|
+
justifyContent: It(($t = l.root) == null ? void 0 : $t.textAlign)
|
3189
|
+
}), w = +h(g, "root.bonusValue", 0), I = +h(g, "match.prediction.factor", 0), B = oe((Vt = l.text) == null ? void 0 : Vt.children, {
|
3190
3190
|
bonusValue: w,
|
3191
|
-
clearResult: (w *
|
3192
|
-
rawResult: (w *
|
3193
|
-
rate:
|
3191
|
+
clearResult: (w * I - w).toFixed(0),
|
3192
|
+
rawResult: (w * I).toFixed(0),
|
3193
|
+
rate: I
|
3194
3194
|
}, {
|
3195
3195
|
parse: !1
|
3196
|
-
}),
|
3196
|
+
}), R = I === 0 ? h(l, "text.fallbackChildren") : B, z = (Yt = l.root) == null ? void 0 : Yt.corner;
|
3197
3197
|
return a("div", {
|
3198
3198
|
className: H(tt.root, {
|
3199
3199
|
[tt.desktop]: c === "desktop",
|
@@ -3202,21 +3202,21 @@ const Df = (t) => {
|
|
3202
3202
|
}),
|
3203
3203
|
ref: i,
|
3204
3204
|
style: {
|
3205
|
-
display:
|
3205
|
+
display: M ? "flex" : "none"
|
3206
3206
|
},
|
3207
3207
|
children: [a("div", {
|
3208
3208
|
className: tt.overlay,
|
3209
3209
|
style: l.overlay,
|
3210
|
-
onClick: N &&
|
3210
|
+
onClick: N && f
|
3211
3211
|
}), a("div", {
|
3212
3212
|
className: tt.content,
|
3213
3213
|
children: [x === "default" ? a("div", {
|
3214
3214
|
className: tt.close,
|
3215
|
-
style: L(
|
3215
|
+
style: L($({}, l.close), {
|
3216
3216
|
borderBottomLeftRadius: `${z}px`,
|
3217
3217
|
borderTopRightRadius: `${z}px`
|
3218
3218
|
}),
|
3219
|
-
onClick:
|
3219
|
+
onClick: f,
|
3220
3220
|
children: a(Ht, {
|
3221
3221
|
width: 11,
|
3222
3222
|
height: 11
|
@@ -3224,25 +3224,25 @@ const Df = (t) => {
|
|
3224
3224
|
}) : a("div", {
|
3225
3225
|
className: tt.closeTimer,
|
3226
3226
|
children: a(Je, {
|
3227
|
-
timeout:
|
3228
|
-
colorDirection:
|
3229
|
-
radius:
|
3230
|
-
onClick:
|
3227
|
+
timeout: h(l, "close.timeout"),
|
3228
|
+
colorDirection: A,
|
3229
|
+
radius: j,
|
3230
|
+
onClick: f,
|
3231
3231
|
onChange: s
|
3232
3232
|
})
|
3233
3233
|
}), a(G, {
|
3234
3234
|
className: tt.promotion,
|
3235
3235
|
style: l.promotion,
|
3236
3236
|
children: (Qe = l.promotion) == null ? void 0 : Qe.children
|
3237
|
-
}), a(
|
3237
|
+
}), a(Y, {
|
3238
3238
|
ref: i,
|
3239
3239
|
href: (to = l.root) == null ? void 0 : to.offer,
|
3240
3240
|
target: "_blank",
|
3241
3241
|
rel: "nofollow noopener noreferrer",
|
3242
|
-
onClick: () =>
|
3242
|
+
onClick: () => Y === "a" && O(l.id),
|
3243
3243
|
children: a("div", {
|
3244
3244
|
className: tt.body,
|
3245
|
-
style:
|
3245
|
+
style: b,
|
3246
3246
|
children: [a("div", {
|
3247
3247
|
className: tt.head,
|
3248
3248
|
children: [a(G, {
|
@@ -3255,15 +3255,15 @@ const Df = (t) => {
|
|
3255
3255
|
})]
|
3256
3256
|
}), a("div", {
|
3257
3257
|
className: tt.wrapper,
|
3258
|
-
style:
|
3259
|
-
children: [(K != null ? K : []).map((Se) => a(
|
3260
|
-
value: L(
|
3258
|
+
style: y,
|
3259
|
+
children: [(K != null ? K : []).map((Se) => a(Ot, {
|
3260
|
+
value: L($({}, Se), {
|
3261
3261
|
device: c
|
3262
3262
|
}),
|
3263
3263
|
oddFormatter: e,
|
3264
3264
|
children: a(rf, {})
|
3265
|
-
})), g && a(
|
3266
|
-
value: L(
|
3265
|
+
})), g && a(Ot, {
|
3266
|
+
value: L($({}, g), {
|
3267
3267
|
device: c
|
3268
3268
|
}),
|
3269
3269
|
children: a(If, {
|
@@ -3275,7 +3275,7 @@ const Df = (t) => {
|
|
3275
3275
|
style: T,
|
3276
3276
|
typography: T.typography,
|
3277
3277
|
accentTypography: T.accentTypography,
|
3278
|
-
children:
|
3278
|
+
children: R
|
3279
3279
|
}), a("div", {
|
3280
3280
|
className: tt.button,
|
3281
3281
|
style: l.buttonWrapper,
|
@@ -3285,7 +3285,7 @@ const Df = (t) => {
|
|
3285
3285
|
children: (oo = l.buttonHead) == null ? void 0 : oo.children
|
3286
3286
|
}), a("div", {
|
3287
3287
|
className: tt.buttonTarget,
|
3288
|
-
style:
|
3288
|
+
style: k,
|
3289
3289
|
children: (no = l.button) == null ? void 0 : no.children
|
3290
3290
|
})]
|
3291
3291
|
}), a(G, {
|
@@ -3312,7 +3312,7 @@ const Df = (t) => {
|
|
3312
3312
|
legalButton: Zf
|
3313
3313
|
}, Jf = (t) => {
|
3314
3314
|
var c, _;
|
3315
|
-
const o = W(), e = (c = o == null ? void 0 : o.root) == null ? void 0 : c.promotionSlug, n = ((_ = o == null ? void 0 : o.root) == null ? void 0 : _.promotionFields) || [], r =
|
3315
|
+
const o = W(), e = (c = o == null ? void 0 : o.root) == null ? void 0 : c.promotionSlug, n = ((_ = o == null ? void 0 : o.root) == null ? void 0 : _.promotionFields) || [], r = St(() => !e || (n == null ? void 0 : n.length) === 0 ? [] : n.map((d) => `${e}:${d}`), [e, n]), {
|
3316
3316
|
data: s
|
3317
3317
|
} = Qt(`${t}/promotion/by-keys`, {
|
3318
3318
|
method: "GET",
|
@@ -3332,14 +3332,14 @@ const Df = (t) => {
|
|
3332
3332
|
apiHost: t,
|
3333
3333
|
onClick: o
|
3334
3334
|
}) => {
|
3335
|
-
var u,
|
3336
|
-
const e = W(), n =
|
3335
|
+
var u, p, g, M, m, f, O, x, j, A, C, N, Y;
|
3336
|
+
const e = W(), n = E(e), {
|
3337
3337
|
promotionValues: r
|
3338
|
-
} = Jf(t), [s, i] = le(), c = !!((u = n.legalInfoButton) != null && u.closeText && ((g = (
|
3338
|
+
} = Jf(t), [s, i] = le(), c = !!((u = n.legalInfoButton) != null && u.closeText && ((g = (p = n.legalInfoButton) == null ? void 0 : p.closeText) == null ? void 0 : g.length) > 0), _ = oe((M = n.rowFirst) == null ? void 0 : M.children, r, {
|
3339
3339
|
parse: !1
|
3340
|
-
}), d = oe((
|
3340
|
+
}), d = oe((m = n.rowSecond) == null ? void 0 : m.children, r, {
|
3341
3341
|
parse: !1
|
3342
|
-
}), l = oe((
|
3342
|
+
}), l = oe((f = n.bookmaker) == null ? void 0 : f.children, r, {
|
3343
3343
|
parse: !1
|
3344
3344
|
});
|
3345
3345
|
return a("div", {
|
@@ -3347,9 +3347,9 @@ const Df = (t) => {
|
|
3347
3347
|
style: vt(n.root, ...ut),
|
3348
3348
|
children: [a("div", {
|
3349
3349
|
className: ft.background,
|
3350
|
-
style:
|
3350
|
+
style: xt(n.root, ...ut)
|
3351
3351
|
}), a("a", {
|
3352
|
-
href: (
|
3352
|
+
href: (O = n.root) == null ? void 0 : O.offer,
|
3353
3353
|
target: "_blank",
|
3354
3354
|
rel: "nofollow noopener noreferrer",
|
3355
3355
|
className: ft.body,
|
@@ -3365,7 +3365,7 @@ const Df = (t) => {
|
|
3365
3365
|
className: ft.rowSecond,
|
3366
3366
|
style: n == null ? void 0 : n.rowSecond,
|
3367
3367
|
typography: n == null ? void 0 : n.rowSecond,
|
3368
|
-
accentTypography: (
|
3368
|
+
accentTypography: (j = n == null ? void 0 : n.rowSecond) == null ? void 0 : j.accentTypography,
|
3369
3369
|
children: d
|
3370
3370
|
}), a("div", {
|
3371
3371
|
className: ft.bookmaker,
|
@@ -3375,7 +3375,7 @@ const Df = (t) => {
|
|
3375
3375
|
}), a("div", {
|
3376
3376
|
className: ft.button,
|
3377
3377
|
style: n.button,
|
3378
|
-
children: (
|
3378
|
+
children: (A = n.button) == null ? void 0 : A.children
|
3379
3379
|
})]
|
3380
3380
|
}), a("div", {
|
3381
3381
|
className: H(ft.legal, {
|
@@ -3390,7 +3390,7 @@ const Df = (t) => {
|
|
3390
3390
|
className: ft.legalButton,
|
3391
3391
|
style: n.legalInfoButton,
|
3392
3392
|
onClick: i,
|
3393
|
-
children: s ? (N = n.legalInfoButton) == null ? void 0 : N.openText : (
|
3393
|
+
children: s ? (N = n.legalInfoButton) == null ? void 0 : N.openText : (Y = n.legalInfoButton) == null ? void 0 : Y.closeText
|
3394
3394
|
})]
|
3395
3395
|
})]
|
3396
3396
|
});
|
@@ -3407,14 +3407,14 @@ const Df = (t) => {
|
|
3407
3407
|
}, Qf = zt(({
|
3408
3408
|
apiHost: t
|
3409
3409
|
}, o) => {
|
3410
|
-
const e = et(null), n = W(), s = Lt(n, "mobile"), i =
|
3410
|
+
const e = et(null), n = W(), s = Lt(n, "mobile"), i = E(s);
|
3411
3411
|
wt(s);
|
3412
3412
|
const {
|
3413
3413
|
click: c
|
3414
3414
|
} = Xf(o);
|
3415
3415
|
return a("div", {
|
3416
3416
|
ref: e,
|
3417
|
-
children: ((i == null ? void 0 : i.children) || []).map((_) => a(
|
3417
|
+
children: ((i == null ? void 0 : i.children) || []).map((_) => a(Ot, {
|
3418
3418
|
value: _,
|
3419
3419
|
children: a(qf, {
|
3420
3420
|
apiHost: t,
|
@@ -3452,7 +3452,7 @@ const Df = (t) => {
|
|
3452
3452
|
desktop: vg
|
3453
3453
|
}, bg = () => {
|
3454
3454
|
var e, n, r;
|
3455
|
-
const t = W(), o =
|
3455
|
+
const t = W(), o = E(t);
|
3456
3456
|
return a("div", {
|
3457
3457
|
className: H(rn.root, {
|
3458
3458
|
[rn.desktop]: (t == null ? void 0 : t.device) === "desktop"
|
@@ -3487,11 +3487,11 @@ const Df = (t) => {
|
|
3487
3487
|
oddFormatter: t
|
3488
3488
|
}) => {
|
3489
3489
|
var c, _;
|
3490
|
-
const o = W(), e =
|
3491
|
-
backgroundImage: Wt(
|
3490
|
+
const o = W(), e = E(o), n = h(e, "match.sportSlug"), r = vt(e.root, ...ut), s = L($({}, e.teamLogo), {
|
3491
|
+
backgroundImage: Wt(h(e, "match.teams[0].logo"), [120, 120]),
|
3492
3492
|
backgroundColor: "transparent"
|
3493
|
-
}), i = L(
|
3494
|
-
backgroundImage: Wt(
|
3493
|
+
}), i = L($({}, e.teamLogo), {
|
3494
|
+
backgroundImage: Wt(h(e, "match.teams[1].logo"), [120, 120]),
|
3495
3495
|
backgroundColor: "transparent"
|
3496
3496
|
});
|
3497
3497
|
return a("div", {
|
@@ -3521,12 +3521,12 @@ const Df = (t) => {
|
|
3521
3521
|
style: s,
|
3522
3522
|
src: s.backgroundImage,
|
3523
3523
|
sportSlug: n,
|
3524
|
-
country:
|
3524
|
+
country: h(e, "match.teams[0].country")
|
3525
3525
|
}), a("div", {
|
3526
3526
|
className: X.oddValue,
|
3527
3527
|
style: e.value,
|
3528
|
-
children: a(
|
3529
|
-
odd:
|
3528
|
+
children: a(Dt, {
|
3529
|
+
odd: h(e, "match.markets.one_x_two.w1"),
|
3530
3530
|
formatter: t
|
3531
3531
|
})
|
3532
3532
|
})]
|
@@ -3539,8 +3539,8 @@ const Df = (t) => {
|
|
3539
3539
|
}), a("div", {
|
3540
3540
|
className: X.oddValue,
|
3541
3541
|
style: e.value,
|
3542
|
-
children: a(
|
3543
|
-
odd:
|
3542
|
+
children: a(Dt, {
|
3543
|
+
odd: h(e, "match.markets.one_x_two.x"),
|
3544
3544
|
formatter: t
|
3545
3545
|
})
|
3546
3546
|
})]
|
@@ -3551,12 +3551,12 @@ const Df = (t) => {
|
|
3551
3551
|
style: i,
|
3552
3552
|
src: i.backgroundImage,
|
3553
3553
|
sportSlug: n,
|
3554
|
-
country:
|
3554
|
+
country: h(e, "match.teams[1].country")
|
3555
3555
|
}), a("div", {
|
3556
3556
|
className: X.oddValue,
|
3557
3557
|
style: e.value,
|
3558
|
-
children: a(
|
3559
|
-
odd:
|
3558
|
+
children: a(Dt, {
|
3559
|
+
odd: h(e, "match.markets.one_x_two.w2"),
|
3560
3560
|
formatter: t
|
3561
3561
|
})
|
3562
3562
|
})]
|
@@ -3566,13 +3566,13 @@ const Df = (t) => {
|
|
3566
3566
|
children: [a("div", {
|
3567
3567
|
className: X.teamName,
|
3568
3568
|
style: e.teamName,
|
3569
|
-
children: a(
|
3569
|
+
children: a(Rt, L($({}, h(e, "match.teams[0]")), {
|
3570
3570
|
fallback: "Team A"
|
3571
3571
|
}))
|
3572
3572
|
}), a("div", {
|
3573
3573
|
className: X.teamName,
|
3574
3574
|
style: e.teamName,
|
3575
|
-
children: a(
|
3575
|
+
children: a(Rt, L($({}, h(e, "match.teams[1]")), {
|
3576
3576
|
fallback: "Team B"
|
3577
3577
|
}))
|
3578
3578
|
})]
|
@@ -3599,19 +3599,19 @@ const Df = (t) => {
|
|
3599
3599
|
oddFormatter: t
|
3600
3600
|
}) => {
|
3601
3601
|
var i, c;
|
3602
|
-
const o = W(), e =
|
3602
|
+
const o = W(), e = E(o), n = h(e, "match.sportSlug"), r = L($($({}, xt(e.root, ...ut)), e.teamLogo), {
|
3603
3603
|
backgroundColor: "transparent",
|
3604
|
-
backgroundImage: Wt(
|
3605
|
-
}), s = L(
|
3604
|
+
backgroundImage: Wt(h(e, "match.teams[0].logo"), [120, 120])
|
3605
|
+
}), s = L($($({}, xt(e.root, ...ut)), e.teamLogo), {
|
3606
3606
|
backgroundColor: "transparent",
|
3607
|
-
backgroundImage: Wt(
|
3607
|
+
backgroundImage: Wt(h(e, "match.teams[1].logo"), [120, 120])
|
3608
3608
|
});
|
3609
3609
|
return a("div", {
|
3610
3610
|
className: H(nt.root, {
|
3611
3611
|
[nt.desktop]: (o == null ? void 0 : o.device) === "desktop",
|
3612
3612
|
[nt.laptop]: (o == null ? void 0 : o.device) === "laptop",
|
3613
3613
|
[nt.tablet]: (o == null ? void 0 : o.device) === "tablet",
|
3614
|
-
[nt.national]:
|
3614
|
+
[nt.national]: h(e, "match.isNational") || n === "tennis"
|
3615
3615
|
}),
|
3616
3616
|
style: vt(e.root, ...ut),
|
3617
3617
|
children: [a("div", {
|
@@ -3634,26 +3634,26 @@ const Df = (t) => {
|
|
3634
3634
|
style: r,
|
3635
3635
|
src: r.backgroundImage,
|
3636
3636
|
sportSlug: n,
|
3637
|
-
country:
|
3637
|
+
country: h(e, "match.teams[0].country")
|
3638
3638
|
}), a(ht, {
|
3639
3639
|
className: nt.teamLogo,
|
3640
3640
|
style: s,
|
3641
3641
|
src: s.backgroundImage,
|
3642
3642
|
sportSlug: n,
|
3643
|
-
country:
|
3643
|
+
country: h(e, "match.teams[1].country")
|
3644
3644
|
})]
|
3645
3645
|
}), a("div", {
|
3646
3646
|
className: nt.names,
|
3647
3647
|
children: [a("div", {
|
3648
3648
|
className: nt.teamName,
|
3649
3649
|
style: e.teamName,
|
3650
|
-
children: a(
|
3650
|
+
children: a(Rt, L($({}, h(e, "match.teams[0]")), {
|
3651
3651
|
fallback: "Team A"
|
3652
3652
|
}))
|
3653
3653
|
}), a("div", {
|
3654
3654
|
className: nt.teamName,
|
3655
3655
|
style: e.teamName,
|
3656
|
-
children: a(
|
3656
|
+
children: a(Rt, L($({}, h(e, "match.teams[1]")), {
|
3657
3657
|
fallback: "Team B"
|
3658
3658
|
}))
|
3659
3659
|
})]
|
@@ -3662,15 +3662,15 @@ const Df = (t) => {
|
|
3662
3662
|
children: [a("div", {
|
3663
3663
|
className: nt.teamValue,
|
3664
3664
|
style: e.value,
|
3665
|
-
children: a(
|
3666
|
-
odd:
|
3665
|
+
children: a(Dt, {
|
3666
|
+
odd: h(e, "match.markets.one_two.w1"),
|
3667
3667
|
formatter: t
|
3668
3668
|
})
|
3669
3669
|
}), a("div", {
|
3670
3670
|
className: nt.teamValue,
|
3671
3671
|
style: e.value,
|
3672
|
-
children: a(
|
3673
|
-
odd:
|
3672
|
+
children: a(Dt, {
|
3673
|
+
odd: h(e, "match.markets.one_two.w2"),
|
3674
3674
|
formatter: t
|
3675
3675
|
})
|
3676
3676
|
})]
|
@@ -3693,24 +3693,24 @@ const Df = (t) => {
|
|
3693
3693
|
matches: "one_x_two",
|
3694
3694
|
matchesOneTwo: "one_two"
|
3695
3695
|
}, an = (t) => [tm[t]], em = (t, o, e) => {
|
3696
|
-
const n = (
|
3696
|
+
const n = (p) => {
|
3697
3697
|
var g;
|
3698
|
-
return V(
|
3699
|
-
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((
|
3700
|
-
markets: an(
|
3701
|
-
})), i = s.find((
|
3698
|
+
return V(p == null ? void 0 : p.matchSlug) && ((g = p == null ? void 0 : p.matchSlug) == null ? void 0 : g.length) > 0 || (p == null ? void 0 : p.isAuto);
|
3699
|
+
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((p) => n(p.root.targetMatch)).map((p) => L($({}, p.root.targetMatch), {
|
3700
|
+
markets: an(p.name)
|
3701
|
+
})), i = s.find((p) => p.isAuto), c = Ce(s), {
|
3702
3702
|
data: _,
|
3703
3703
|
execute: d
|
3704
3704
|
} = Qt(`${o}/match-list`, {
|
3705
3705
|
method: "POST",
|
3706
3706
|
body: {
|
3707
|
-
matches: s.map((
|
3708
|
-
slug:
|
3709
|
-
sport_slug:
|
3710
|
-
lang:
|
3711
|
-
bookmaker_slug:
|
3712
|
-
offset:
|
3713
|
-
markets:
|
3707
|
+
matches: s.map((p) => ({
|
3708
|
+
slug: p.matchSlug,
|
3709
|
+
sport_slug: p.sportSlug,
|
3710
|
+
lang: p.langSlug,
|
3711
|
+
bookmaker_slug: p.bookmaker,
|
3712
|
+
offset: p.offset,
|
3713
|
+
markets: p.markets
|
3714
3714
|
}))
|
3715
3715
|
},
|
3716
3716
|
pause: !o || s.length === 0 || i
|
@@ -3720,33 +3720,33 @@ const Df = (t) => {
|
|
3720
3720
|
dependsOn: "markets",
|
3721
3721
|
apiHost: o,
|
3722
3722
|
pause: !i || !e,
|
3723
|
-
match: L(
|
3723
|
+
match: L($({}, e), {
|
3724
3724
|
markets: i == null ? void 0 : i.markets,
|
3725
3725
|
bookmaker: i == null ? void 0 : i.bookmaker
|
3726
3726
|
})
|
3727
3727
|
});
|
3728
3728
|
return Q(() => {
|
3729
3729
|
we(c, s) || d();
|
3730
|
-
}, [s]), r.map((
|
3731
|
-
var g,
|
3732
|
-
if ("targetMatch" in
|
3733
|
-
const
|
3734
|
-
if (((
|
3735
|
-
return L(
|
3730
|
+
}, [s]), r.map((p) => {
|
3731
|
+
var g, M;
|
3732
|
+
if ("targetMatch" in p.root) {
|
3733
|
+
const m = an(p.name), f = (_ || []).find((A) => A.slug === p.root.targetMatch.matchSlug);
|
3734
|
+
if (((M = (g = p == null ? void 0 : p.root) == null ? void 0 : g.targetMatch) == null ? void 0 : M.isAuto) && l)
|
3735
|
+
return L($({}, p), {
|
3736
3736
|
match: ae(l, {
|
3737
|
-
markets:
|
3737
|
+
markets: m
|
3738
3738
|
})
|
3739
3739
|
});
|
3740
|
-
if (!
|
3740
|
+
if (!f)
|
3741
3741
|
return;
|
3742
|
-
const x = ae(
|
3743
|
-
markets:
|
3744
|
-
}),
|
3745
|
-
return L(
|
3746
|
-
match:
|
3742
|
+
const x = ae(f, {
|
3743
|
+
markets: m
|
3744
|
+
}), j = Ke(x, p.root.customMatch, (A, [C, N]) => V(N));
|
3745
|
+
return L($({}, p), {
|
3746
|
+
match: j
|
3747
3747
|
});
|
3748
3748
|
}
|
3749
|
-
return
|
3749
|
+
return p;
|
3750
3750
|
}).filter(Boolean);
|
3751
3751
|
}, om = 3700, nm = ({
|
3752
3752
|
id: t,
|
@@ -3756,13 +3756,13 @@ const Df = (t) => {
|
|
3756
3756
|
onClose: r,
|
3757
3757
|
onClick: s
|
3758
3758
|
}) => {
|
3759
|
-
var
|
3760
|
-
const i = et(null), c = W(), _ =
|
3759
|
+
var A, C, N, Y, K;
|
3760
|
+
const i = et(null), c = W(), _ = At({
|
3761
3761
|
id: t,
|
3762
3762
|
targetRef: i
|
3763
|
-
}), d = Lt(c, _), l =
|
3763
|
+
}), d = Lt(c, _), l = E(d);
|
3764
3764
|
wt(d);
|
3765
|
-
const u = em(l, n, o),
|
3765
|
+
const u = em(l, n, o), p = (v) => ({
|
3766
3766
|
text: a(bg, {}),
|
3767
3767
|
matches: a(Dg, {
|
3768
3768
|
oddFormatter: e
|
@@ -3770,16 +3770,16 @@ const Df = (t) => {
|
|
3770
3770
|
matchesOneTwo: a(Xg, {
|
3771
3771
|
oddFormatter: e
|
3772
3772
|
})
|
3773
|
-
})[
|
3774
|
-
var
|
3775
|
-
return L(
|
3776
|
-
animationName: (
|
3777
|
-
animationDuration: ((
|
3773
|
+
})[v], g = u.filter(Boolean).map((v) => {
|
3774
|
+
var b, y;
|
3775
|
+
return L($({}, v), {
|
3776
|
+
animationName: (b = v == null ? void 0 : v.root) == null ? void 0 : b.animationName,
|
3777
|
+
animationDuration: ((y = v == null ? void 0 : v.root) == null ? void 0 : y.animationDuration) || om
|
3778
3778
|
});
|
3779
3779
|
}), {
|
3780
|
-
animatedIdx:
|
3781
|
-
countOfTick:
|
3782
|
-
} = Qg(g),
|
3780
|
+
animatedIdx: M,
|
3781
|
+
countOfTick: m
|
3782
|
+
} = Qg(g), f = E(g[M] || {}), O = (g == null ? void 0 : g.length) > 1, x = vt(l.root, ...ut), j = (A = f == null ? void 0 : f.root) != null && A.hasCustomBackground ? xt((f == null ? void 0 : f.root) || {}, ...ut) : xt(l.root, ...ut);
|
3783
3783
|
return a("div", {
|
3784
3784
|
ref: i,
|
3785
3785
|
className: H(q.root, {
|
@@ -3802,13 +3802,13 @@ const Df = (t) => {
|
|
3802
3802
|
style: l.promotion,
|
3803
3803
|
children: (N = l.promotion) == null ? void 0 : N.children
|
3804
3804
|
}), a("a", {
|
3805
|
-
href: (
|
3805
|
+
href: (Y = l.root) == null ? void 0 : Y.offer,
|
3806
3806
|
target: "_blank",
|
3807
3807
|
rel: "nofollow noopener noreferrer",
|
3808
3808
|
onClick: s,
|
3809
3809
|
children: [a("div", {
|
3810
3810
|
className: q.background,
|
3811
|
-
style:
|
3811
|
+
style: j
|
3812
3812
|
}), a("div", {
|
3813
3813
|
className: q.content,
|
3814
3814
|
children: [a("div", {
|
@@ -3819,19 +3819,19 @@ const Df = (t) => {
|
|
3819
3819
|
})
|
3820
3820
|
}), a("div", {
|
3821
3821
|
className: q.center,
|
3822
|
-
children: (g || []).map((
|
3823
|
-
var
|
3822
|
+
children: (g || []).map((v, b) => {
|
3823
|
+
var y, T;
|
3824
3824
|
return a("div", {
|
3825
3825
|
className: q.slide,
|
3826
|
-
style:
|
3827
|
-
animationName:
|
3828
|
-
animationDuration: `${(T =
|
3826
|
+
style: O ? {
|
3827
|
+
animationName: M === b ? q[((y = v.root) == null ? void 0 : y.animationName) || "fade-in-out"] : "none",
|
3828
|
+
animationDuration: `${(T = v.root) == null ? void 0 : T.animationDuration}ms`
|
3829
3829
|
} : {},
|
3830
|
-
children: a(
|
3831
|
-
value: L(
|
3830
|
+
children: a(Ot, {
|
3831
|
+
value: L($({}, v), {
|
3832
3832
|
device: _
|
3833
3833
|
}),
|
3834
|
-
children:
|
3834
|
+
children: p(v.name)
|
3835
3835
|
})
|
3836
3836
|
});
|
3837
3837
|
})
|
@@ -3874,11 +3874,11 @@ const Df = (t) => {
|
|
3874
3874
|
open: mm,
|
3875
3875
|
legalMore: hm
|
3876
3876
|
}, Kh = (t, o, e, n, r = id) => {
|
3877
|
-
const s =
|
3877
|
+
const s = $({}, t);
|
3878
3878
|
return r.forEach((i) => {
|
3879
|
-
s[o] = L(
|
3880
|
-
[i]: L(
|
3881
|
-
[e]: typeof n == "function" ? n(
|
3879
|
+
s[o] = L($({}, s[o]), {
|
3880
|
+
[i]: L($({}, s[o][i]), {
|
3881
|
+
[e]: typeof n == "function" ? n(h(s, `${o}.${i}.${e}`)) : n
|
3882
3882
|
})
|
3883
3883
|
});
|
3884
3884
|
}), s;
|
@@ -3886,7 +3886,7 @@ const Df = (t) => {
|
|
3886
3886
|
const o = t == null ? void 0 : t.backgroundColor;
|
3887
3887
|
if (!o)
|
3888
3888
|
return t;
|
3889
|
-
const e = L(
|
3889
|
+
const e = L($({}, t), {
|
3890
3890
|
color: o
|
3891
3891
|
});
|
3892
3892
|
return vt(e, "backgroundColor");
|
@@ -3918,8 +3918,8 @@ const Df = (t) => {
|
|
3918
3918
|
}), vm = ({
|
3919
3919
|
onClick: t
|
3920
3920
|
}) => {
|
3921
|
-
var s, i, c, _, d, l, u,
|
3922
|
-
const o = W(), e =
|
3921
|
+
var s, i, c, _, d, l, u, p, g;
|
3922
|
+
const o = W(), e = E(o), [n, r] = le();
|
3923
3923
|
return a("div", {
|
3924
3924
|
className: Mt.root,
|
3925
3925
|
style: e.root,
|
@@ -3943,7 +3943,7 @@ const Df = (t) => {
|
|
3943
3943
|
children: e.button.children
|
3944
3944
|
}), a("div", {
|
3945
3945
|
className: Mt.backgroundLine,
|
3946
|
-
style: L(
|
3946
|
+
style: L($({}, Xe(e.line)), {
|
3947
3947
|
left: `calc(50% - ${(d = e.line) == null ? void 0 : d.left})`
|
3948
3948
|
}),
|
3949
3949
|
children: a(ym, {})
|
@@ -3965,7 +3965,7 @@ const Df = (t) => {
|
|
3965
3965
|
className: Mt.legalMore,
|
3966
3966
|
style: e.legalInfoButton,
|
3967
3967
|
onClick: r,
|
3968
|
-
children: n ? (
|
3968
|
+
children: n ? (p = e.legalInfoButton) == null ? void 0 : p.openText : (g = e.legalInfoButton) == null ? void 0 : g.closeText
|
3969
3969
|
})]
|
3970
3970
|
})
|
3971
3971
|
})]
|
@@ -3985,8 +3985,8 @@ const Df = (t) => {
|
|
3985
3985
|
}, Om = ({
|
3986
3986
|
onClick: t
|
3987
3987
|
}) => {
|
3988
|
-
var i, c, _, d, l, u,
|
3989
|
-
const o = W(), e =
|
3988
|
+
var i, c, _, d, l, u, p, g, M, m, f;
|
3989
|
+
const o = W(), e = E(o), [n, r] = le(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((_ = (c = e.legalInfoButton) == null ? void 0 : c.closeText) == null ? void 0 : _.length) > 0);
|
3990
3990
|
return a("div", {
|
3991
3991
|
className: H(gt.root, {
|
3992
3992
|
[gt.open]: n,
|
@@ -4013,7 +4013,7 @@ const Df = (t) => {
|
|
4013
4013
|
}), e.button.children]
|
4014
4014
|
}), a("a", {
|
4015
4015
|
className: gt.link,
|
4016
|
-
href: (
|
4016
|
+
href: (p = e.root) == null ? void 0 : p.offer
|
4017
4017
|
})]
|
4018
4018
|
}), a("a", {
|
4019
4019
|
className: gt.link,
|
@@ -4026,12 +4026,12 @@ const Df = (t) => {
|
|
4026
4026
|
style: e.legalInfo,
|
4027
4027
|
children: [a("div", {
|
4028
4028
|
className: gt.legalText,
|
4029
|
-
children: (
|
4029
|
+
children: (M = e.legalInfo) == null ? void 0 : M.children
|
4030
4030
|
}), a("div", {
|
4031
4031
|
className: gt.legalMore,
|
4032
4032
|
style: e.legalInfoButton,
|
4033
4033
|
onClick: r,
|
4034
|
-
children: n ? (
|
4034
|
+
children: n ? (m = e.legalInfoButton) == null ? void 0 : m.openText : (f = e.legalInfoButton) == null ? void 0 : f.closeText
|
4035
4035
|
})]
|
4036
4036
|
})]
|
4037
4037
|
});
|
@@ -4051,10 +4051,10 @@ const Df = (t) => {
|
|
4051
4051
|
}, jm = zt(({
|
4052
4052
|
id: t
|
4053
4053
|
}, o) => {
|
4054
|
-
const e = et(null), n = W(), r =
|
4054
|
+
const e = et(null), n = W(), r = At({
|
4055
4055
|
targetRef: e,
|
4056
4056
|
id: t
|
4057
|
-
}), s = Lt(n, r), i =
|
4057
|
+
}), s = Lt(n, r), i = E(s);
|
4058
4058
|
wt(s);
|
4059
4059
|
const {
|
4060
4060
|
click: c
|
@@ -4075,7 +4075,7 @@ const Df = (t) => {
|
|
4075
4075
|
}),
|
4076
4076
|
children: a("div", {
|
4077
4077
|
className: ee.content,
|
4078
|
-
children: ((i == null ? void 0 : i.children) || []).map((d) => a(
|
4078
|
+
children: ((i == null ? void 0 : i.children) || []).map((d) => a(Ot, {
|
4079
4079
|
value: d,
|
4080
4080
|
children: _(d.name)
|
4081
4081
|
}))
|
@@ -4098,11 +4098,11 @@ const Df = (t) => {
|
|
4098
4098
|
id: t,
|
4099
4099
|
onClick: o
|
4100
4100
|
}, e) => {
|
4101
|
-
var l, u,
|
4102
|
-
const [n, r] = le(), s = et(null), i = W(), c =
|
4101
|
+
var l, u, p, g, M, m, f, O, x, j, A;
|
4102
|
+
const [n, r] = le(), s = et(null), i = W(), c = At({
|
4103
4103
|
targetRef: s,
|
4104
4104
|
id: t
|
4105
|
-
}), _ = Lt(i, c), d =
|
4105
|
+
}), _ = Lt(i, c), d = E(_);
|
4106
4106
|
return wt(_), a("div", {
|
4107
4107
|
className: H(lt.root, {
|
4108
4108
|
[lt.legalOpen]: n,
|
@@ -4122,7 +4122,7 @@ const Df = (t) => {
|
|
4122
4122
|
className: lt.text,
|
4123
4123
|
children: a(G, {
|
4124
4124
|
typography: (u = d.text) == null ? void 0 : u.typography,
|
4125
|
-
accentTypography: (
|
4125
|
+
accentTypography: (p = d.text) == null ? void 0 : p.accentTypography,
|
4126
4126
|
children: (g = d.text) == null ? void 0 : g.children
|
4127
4127
|
})
|
4128
4128
|
}), a("div", {
|
@@ -4134,9 +4134,9 @@ const Df = (t) => {
|
|
4134
4134
|
}), a("div", {
|
4135
4135
|
className: lt.buttonText,
|
4136
4136
|
children: a(G, {
|
4137
|
-
typography: (
|
4138
|
-
accentTypography: (
|
4139
|
-
children: (
|
4137
|
+
typography: (M = d.button) == null ? void 0 : M.typography,
|
4138
|
+
accentTypography: (m = d.button) == null ? void 0 : m.accentTypography,
|
4139
|
+
children: (f = d.button) == null ? void 0 : f.children
|
4140
4140
|
})
|
4141
4141
|
})]
|
4142
4142
|
})]
|
@@ -4148,12 +4148,12 @@ const Df = (t) => {
|
|
4148
4148
|
children: [a("span", {
|
4149
4149
|
className: lt.legalText,
|
4150
4150
|
children: a("span", {
|
4151
|
-
children: (
|
4151
|
+
children: (O = d.legal) == null ? void 0 : O.children
|
4152
4152
|
})
|
4153
4153
|
}), ((x = d == null ? void 0 : d.legal) == null ? void 0 : x.hasButton) && a("span", {
|
4154
4154
|
className: lt.legalButton,
|
4155
4155
|
onClick: r,
|
4156
|
-
children: n ? (
|
4156
|
+
children: n ? (j = d.legal) == null ? void 0 : j.buttonOpenText : (A = d.legal) == null ? void 0 : A.buttonHideText
|
4157
4157
|
})]
|
4158
4158
|
})]
|
4159
4159
|
});
|
@@ -4183,36 +4183,36 @@ const Df = (t) => {
|
|
4183
4183
|
matches: "one_x_two",
|
4184
4184
|
matchesOneTwo: "one_two"
|
4185
4185
|
}, sn = (t) => [fh[t]], gh = (t, o, e) => {
|
4186
|
-
const n = (
|
4187
|
-
var
|
4188
|
-
return V(
|
4189
|
-
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((
|
4190
|
-
markets: sn(
|
4191
|
-
})), i = s.find((
|
4186
|
+
const n = (m) => {
|
4187
|
+
var f;
|
4188
|
+
return V(m == null ? void 0 : m.matchSlug) && ((f = m == null ? void 0 : m.matchSlug) == null ? void 0 : f.length) > 0 || (m == null ? void 0 : m.isAuto);
|
4189
|
+
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((m) => n(m.root.targetMatch)).map((m) => L($({}, m.root.targetMatch), {
|
4190
|
+
markets: sn(m.name)
|
4191
|
+
})), i = s.find((m) => m.isAuto), c = Ce(s), _ = (s == null ? void 0 : s.length) > 0, {
|
4192
4192
|
data: d,
|
4193
4193
|
execute: l,
|
4194
4194
|
fetching: u
|
4195
4195
|
} = Qt(`${o}/match-list`, {
|
4196
4196
|
method: "POST",
|
4197
4197
|
body: {
|
4198
|
-
matches: s.map((
|
4199
|
-
slug:
|
4200
|
-
sport_slug:
|
4201
|
-
lang:
|
4202
|
-
bookmaker_slug:
|
4203
|
-
offset:
|
4204
|
-
markets:
|
4198
|
+
matches: s.map((m) => ({
|
4199
|
+
slug: m.matchSlug,
|
4200
|
+
sport_slug: m.sportSlug,
|
4201
|
+
lang: m.langSlug,
|
4202
|
+
bookmaker_slug: m.bookmaker,
|
4203
|
+
offset: m.offset,
|
4204
|
+
markets: m.markets
|
4205
4205
|
}))
|
4206
4206
|
},
|
4207
4207
|
pause: !o || s.length === 0 || i
|
4208
4208
|
}), {
|
4209
|
-
match:
|
4209
|
+
match: p,
|
4210
4210
|
fetching: g
|
4211
4211
|
} = qe({
|
4212
4212
|
dependsOn: "prediction",
|
4213
4213
|
apiHost: o,
|
4214
4214
|
pause: !i,
|
4215
|
-
match: L(
|
4215
|
+
match: L($({}, e), {
|
4216
4216
|
markets: i == null ? void 0 : i.markets,
|
4217
4217
|
bookmaker: i == null ? void 0 : i.bookmaker
|
4218
4218
|
})
|
@@ -4220,30 +4220,30 @@ const Df = (t) => {
|
|
4220
4220
|
Q(() => {
|
4221
4221
|
we(c, s) || l();
|
4222
4222
|
}, [s]);
|
4223
|
-
const
|
4224
|
-
var
|
4225
|
-
if ("targetMatch" in
|
4226
|
-
const x = sn(
|
4227
|
-
if (((
|
4228
|
-
return L(
|
4229
|
-
match: ae(
|
4223
|
+
const M = r.map((m) => {
|
4224
|
+
var f, O;
|
4225
|
+
if ("targetMatch" in m.root) {
|
4226
|
+
const x = sn(m.name), j = (d || []).find((Y) => Y.slug === m.root.targetMatch.matchSlug);
|
4227
|
+
if (((O = (f = m == null ? void 0 : m.root) == null ? void 0 : f.targetMatch) == null ? void 0 : O.isAuto) && p)
|
4228
|
+
return L($({}, m), {
|
4229
|
+
match: ae(p, {
|
4230
4230
|
markets: x
|
4231
4231
|
})
|
4232
4232
|
});
|
4233
|
-
if (!
|
4233
|
+
if (!j)
|
4234
4234
|
return;
|
4235
|
-
const C = ae(
|
4235
|
+
const C = ae(j, {
|
4236
4236
|
markets: x
|
4237
|
-
}), N = Ke(C,
|
4238
|
-
return L(
|
4237
|
+
}), N = Ke(C, m.root.customMatch, (Y, [K, v]) => V(v));
|
4238
|
+
return L($({}, m), {
|
4239
4239
|
match: N
|
4240
4240
|
});
|
4241
4241
|
}
|
4242
|
-
return
|
4242
|
+
return m;
|
4243
4243
|
}).filter(Boolean);
|
4244
4244
|
return {
|
4245
4245
|
hasMatches: _,
|
4246
|
-
resultChildren:
|
4246
|
+
resultChildren: M,
|
4247
4247
|
fetching: u || g
|
4248
4248
|
};
|
4249
4249
|
}, mh = "_root_15dhb_1", hh = "_desktop_15dhb_9", yh = "_logos_15dhb_13", vh = "_tablet_15dhb_24", bh = "_w1440_15dhb_24", $h = "_teamLogo_15dhb_29", kh = "_teamLogoInside_15dhb_53", Mh = "_teams_15dhb_66", Th = "_oddWrapper_15dhb_88", Nh = "_oddLabel_15dhb_101", Lh = "_oddValue_15dhb_111", wh = "_text_15dhb_125", mt = {
|
@@ -4264,24 +4264,24 @@ const Df = (t) => {
|
|
4264
4264
|
device: o,
|
4265
4265
|
rootState: e
|
4266
4266
|
}) => {
|
4267
|
-
var
|
4268
|
-
const n = W(), r =
|
4269
|
-
alignItems:
|
4270
|
-
}), l =
|
4271
|
-
var
|
4272
|
-
const
|
4267
|
+
var O, x, j, A;
|
4268
|
+
const n = W(), r = E(n), s = E(e), i = h(r, "match.sportSlug"), _ = h(r, "root.predictionLength", "full") === "full" ? h(r, "match.prediction.value") : h(r, "match.prediction.value_short") || h(r, "match.prediction.value"), d = L($({}, vt(r == null ? void 0 : r.root, ...ut)), {
|
4269
|
+
alignItems: It((O = s.container) == null ? void 0 : O.align)
|
4270
|
+
}), l = St(() => {
|
4271
|
+
var N;
|
4272
|
+
const C = (N = {
|
4273
4273
|
desktop: 14,
|
4274
4274
|
tablet: 12
|
4275
|
-
}[o]) != null ?
|
4276
|
-
return [Sh.mobile].includes(o) && _.length > 35 ?
|
4277
|
-
}, [o, _]), u =
|
4275
|
+
}[o]) != null ? N : 9;
|
4276
|
+
return [Sh.mobile].includes(o) && _.length > 35 ? C - 1 : C;
|
4277
|
+
}, [o, _]), u = h(r, "coef.backgroundColor", "#fff"), p = Number(h(r, "match.prediction.factor", 0)).toFixed(2), g = +h(n, "root.bonusValue", 0), M = +p, m = M === 0, f = oe(m ? h(r, "text.fallbackChildren") : (x = r == null ? void 0 : r.text) == null ? void 0 : x.children, {
|
4278
4278
|
bonusValue: g,
|
4279
|
-
clearResult: (g *
|
4280
|
-
rawResult: (g *
|
4281
|
-
rate:
|
4279
|
+
clearResult: (g * M - g).toFixed(0),
|
4280
|
+
rawResult: (g * M).toFixed(0),
|
4281
|
+
rate: M
|
4282
4282
|
}, {
|
4283
4283
|
parse: !1
|
4284
|
-
})
|
4284
|
+
});
|
4285
4285
|
return a("div", {
|
4286
4286
|
className: H(mt.root, mt[o]),
|
4287
4287
|
style: d,
|
@@ -4292,42 +4292,42 @@ const Df = (t) => {
|
|
4292
4292
|
style: r == null ? void 0 : r.teamLogo,
|
4293
4293
|
children: a(ht, {
|
4294
4294
|
className: mt.teamLogoInside,
|
4295
|
-
src: Wt(
|
4295
|
+
src: Wt(h(r, "match.teams[0].logo"), [120, 120]),
|
4296
4296
|
sportSlug: i,
|
4297
|
-
country:
|
4297
|
+
country: h(r, "match.teams[0].country")
|
4298
4298
|
})
|
4299
4299
|
}), a("div", {
|
4300
4300
|
className: mt.teamLogo,
|
4301
4301
|
style: r == null ? void 0 : r.teamLogo,
|
4302
4302
|
children: a(ht, {
|
4303
4303
|
className: mt.teamLogoInside,
|
4304
|
-
src: Wt(
|
4304
|
+
src: Wt(h(r, "match.teams[1].logo"), [120, 120]),
|
4305
4305
|
sportSlug: i,
|
4306
|
-
country:
|
4306
|
+
country: h(r, "match.teams[1].country")
|
4307
4307
|
})
|
4308
4308
|
})]
|
4309
4309
|
}), a("div", {
|
4310
4310
|
className: mt.teams,
|
4311
4311
|
style: r == null ? void 0 : r.teamName,
|
4312
4312
|
children: [a("span", {
|
4313
|
-
children: a(
|
4313
|
+
children: a(Rt, L($({}, h(r, "match.teams[0]")), {
|
4314
4314
|
fallback: "Team A"
|
4315
4315
|
}))
|
4316
4316
|
}), a("span", {
|
4317
4317
|
children: "—"
|
4318
4318
|
}), a("span", {
|
4319
|
-
children: a(
|
4319
|
+
children: a(Rt, L($({}, h(r, "match.teams[1]")), {
|
4320
4320
|
fallback: "Team B"
|
4321
4321
|
}))
|
4322
4322
|
})]
|
4323
|
-
}), !
|
4323
|
+
}), !m && a("div", {
|
4324
4324
|
className: mt.oddWrapper,
|
4325
4325
|
style: {
|
4326
4326
|
borderColor: u
|
4327
4327
|
},
|
4328
4328
|
children: [a("div", {
|
4329
4329
|
className: mt.oddLabel,
|
4330
|
-
style: L(
|
4330
|
+
style: L($({}, r == null ? void 0 : r.coefLabel), {
|
4331
4331
|
fontSize: l,
|
4332
4332
|
lineHeight: `${l}px`
|
4333
4333
|
}),
|
@@ -4335,8 +4335,8 @@ const Df = (t) => {
|
|
4335
4335
|
}), a("div", {
|
4336
4336
|
className: mt.oddValue,
|
4337
4337
|
style: r == null ? void 0 : r.coef,
|
4338
|
-
children: a(
|
4339
|
-
odd:
|
4338
|
+
children: a(Dt, {
|
4339
|
+
odd: p,
|
4340
4340
|
formatter: t
|
4341
4341
|
})
|
4342
4342
|
})]
|
@@ -4344,11 +4344,11 @@ const Df = (t) => {
|
|
4344
4344
|
className: mt.text,
|
4345
4345
|
style: r == null ? void 0 : r.text,
|
4346
4346
|
typography: (j = r == null ? void 0 : r.text) == null ? void 0 : j.typography,
|
4347
|
-
accentTypography: (
|
4348
|
-
children:
|
4347
|
+
accentTypography: (A = r == null ? void 0 : r.text) == null ? void 0 : A.accentTypography,
|
4348
|
+
children: f
|
4349
4349
|
})]
|
4350
4350
|
});
|
4351
|
-
}, Ee = L(
|
4351
|
+
}, Ee = L($({}, ce), {
|
4352
4352
|
w375: 375,
|
4353
4353
|
w400: 400,
|
4354
4354
|
w480: 480,
|
@@ -4358,98 +4358,105 @@ const Df = (t) => {
|
|
4358
4358
|
apiHost: o,
|
4359
4359
|
oddFormatter: e,
|
4360
4360
|
baseMatch: n,
|
4361
|
-
|
4362
|
-
|
4363
|
-
|
4364
|
-
|
4361
|
+
readyPayload: r,
|
4362
|
+
onMount: s,
|
4363
|
+
onReady: i,
|
4364
|
+
onClose: c,
|
4365
|
+
onClick: _
|
4365
4366
|
}) => {
|
4366
|
-
var
|
4367
|
-
const
|
4368
|
-
targetRef:
|
4367
|
+
var A, C, N, Y, K, v, b, y, T, k, S, w, I, B;
|
4368
|
+
const d = et(null), l = W(), u = At({
|
4369
|
+
targetRef: d,
|
4369
4370
|
id: t,
|
4370
4371
|
breakpoints: Ee
|
4371
|
-
}),
|
4372
|
-
resultChildren:
|
4373
|
-
fetching:
|
4374
|
-
} = gh(
|
4375
|
-
name:
|
4376
|
-
}) =>
|
4377
|
-
|
4378
|
-
const
|
4379
|
-
wt(
|
4380
|
-
const
|
4381
|
-
alignItems:
|
4382
|
-
}),
|
4372
|
+
}), p = Lt(l, u, Ee), {
|
4373
|
+
resultChildren: g,
|
4374
|
+
fetching: M
|
4375
|
+
} = gh(p, o, n), m = (C = (A = p == null ? void 0 : p.children) == null ? void 0 : A.some(({
|
4376
|
+
name: R
|
4377
|
+
}) => R === "match")) != null ? C : !1;
|
4378
|
+
p && (Et(p, "button.percent_width", (N = p == null ? void 0 : p.button) == null ? void 0 : N.width), Et(p, "artifact.percent_right", (Y = p == null ? void 0 : p.artifact) == null ? void 0 : Y.right));
|
4379
|
+
const f = E(p), O = !!((K = f == null ? void 0 : f.legal) != null && K.children) && !((v = f == null ? void 0 : f.legal) != null && v.hidden);
|
4380
|
+
wt(p);
|
4381
|
+
const x = L($({}, f == null ? void 0 : f.container), {
|
4382
|
+
alignItems: It((b = f == null ? void 0 : f.container) == null ? void 0 : b.align)
|
4383
|
+
}), j = (R) => ({
|
4383
4384
|
match: a(Ch, {
|
4384
4385
|
oddFormatter: e,
|
4385
|
-
device:
|
4386
|
-
rootState:
|
4386
|
+
device: u,
|
4387
|
+
rootState: p
|
4387
4388
|
})
|
4388
|
-
})[
|
4389
|
+
})[R];
|
4389
4390
|
return Q(() => {
|
4390
|
-
|
4391
|
+
s && s(l);
|
4391
4392
|
}, []), Q(() => {
|
4392
|
-
|
4393
|
-
|
4394
|
-
|
4395
|
-
|
4393
|
+
p && (i && m && !M && (g != null && g.length) ? i({
|
4394
|
+
readyPayload: r,
|
4395
|
+
willWithMatches: m
|
4396
|
+
}) : i && !m && (i == null || i({
|
4397
|
+
readyPayload: r,
|
4398
|
+
willWithMatches: m
|
4399
|
+
})));
|
4400
|
+
}, [g, M, m]), a("div", {
|
4401
|
+
className: H(_t.root, _t[u], {
|
4402
|
+
[_t.withoutLegal]: !O
|
4396
4403
|
}),
|
4397
4404
|
children: [a("div", {
|
4398
4405
|
className: _t.close,
|
4399
|
-
style: L(
|
4400
|
-
borderTopRightRadius: (y =
|
4406
|
+
style: L($({}, f == null ? void 0 : f.close), {
|
4407
|
+
borderTopRightRadius: (y = f == null ? void 0 : f.container) == null ? void 0 : y.corner
|
4401
4408
|
}),
|
4402
|
-
onClick: () =>
|
4409
|
+
onClick: () => c(),
|
4403
4410
|
children: a(Ht, {
|
4404
4411
|
width: 9,
|
4405
4412
|
height: 9
|
4406
4413
|
})
|
4407
4414
|
}), a("a", {
|
4408
|
-
href: (
|
4415
|
+
href: (T = f == null ? void 0 : f.root) == null ? void 0 : T.offer,
|
4409
4416
|
target: "_blank",
|
4410
4417
|
rel: "nofollow noopener noreferrer",
|
4411
|
-
onClick: () =>
|
4418
|
+
onClick: () => _(l),
|
4412
4419
|
className: _t.link,
|
4413
|
-
ref:
|
4420
|
+
ref: d,
|
4414
4421
|
children: [a("div", {
|
4415
4422
|
className: _t.badge,
|
4416
|
-
style:
|
4423
|
+
style: f == null ? void 0 : f.badge,
|
4417
4424
|
children: a("div", {
|
4418
4425
|
className: _t.badgeLogo,
|
4419
|
-
style:
|
4426
|
+
style: f == null ? void 0 : f.logo
|
4420
4427
|
})
|
4421
4428
|
}), a("div", {
|
4422
4429
|
className: _t.artifact,
|
4423
|
-
style:
|
4430
|
+
style: f == null ? void 0 : f.artifact
|
4424
4431
|
}), a("div", {
|
4425
4432
|
className: _t.container,
|
4426
|
-
style:
|
4433
|
+
style: x,
|
4427
4434
|
children: [a("div", {
|
4428
4435
|
className: _t.containerInner,
|
4429
|
-
children: (
|
4430
|
-
value: L(
|
4431
|
-
device:
|
4436
|
+
children: (g || []).map((R) => a(Ot, {
|
4437
|
+
value: L($({}, R), {
|
4438
|
+
device: u
|
4432
4439
|
}),
|
4433
|
-
children:
|
4440
|
+
children: j(R.name)
|
4434
4441
|
}))
|
4435
4442
|
}), a("div", {
|
4436
4443
|
className: _t.button,
|
4437
|
-
style:
|
4438
|
-
children: [((
|
4444
|
+
style: f == null ? void 0 : f.button,
|
4445
|
+
children: [((k = f == null ? void 0 : f.button) == null ? void 0 : k.withLogo) && a("div", {
|
4439
4446
|
className: _t.badgeLogo,
|
4440
|
-
style:
|
4447
|
+
style: f == null ? void 0 : f.logo
|
4441
4448
|
}), a("div", {
|
4442
4449
|
className: _t.buttonContent,
|
4443
4450
|
children: a(G, {
|
4444
|
-
typography: (
|
4445
|
-
children: (
|
4451
|
+
typography: (S = f == null ? void 0 : f.button) == null ? void 0 : S.typography,
|
4452
|
+
children: (w = f == null ? void 0 : f.button) == null ? void 0 : w.children
|
4446
4453
|
})
|
4447
4454
|
})]
|
4448
4455
|
})]
|
4449
|
-
}), ((
|
4456
|
+
}), ((I = f == null ? void 0 : f.legal) == null ? void 0 : I.children) && a(G, {
|
4450
4457
|
className: _t.legalText,
|
4451
|
-
typography:
|
4452
|
-
children: (
|
4458
|
+
typography: f == null ? void 0 : f.legal,
|
4459
|
+
children: (B = f == null ? void 0 : f.legal) == null ? void 0 : B.children
|
4453
4460
|
})]
|
4454
4461
|
})]
|
4455
4462
|
});
|
@@ -4466,12 +4473,12 @@ const Df = (t) => {
|
|
4466
4473
|
onMount: o,
|
4467
4474
|
onClick: e
|
4468
4475
|
}) => {
|
4469
|
-
var _, d, l, u,
|
4470
|
-
const n = et(null), r = W(), s =
|
4476
|
+
var _, d, l, u, p;
|
4477
|
+
const n = et(null), r = W(), s = At({
|
4471
4478
|
targetRef: n,
|
4472
4479
|
id: t,
|
4473
4480
|
breakpoints: cn
|
4474
|
-
}), i = Lt(r, s, cn), c =
|
4481
|
+
}), i = Lt(r, s, cn), c = E(i);
|
4475
4482
|
return wt(i), Q(() => {
|
4476
4483
|
o && o(r);
|
4477
4484
|
}, []), a("div", {
|
@@ -4490,7 +4497,7 @@ const Df = (t) => {
|
|
4490
4497
|
style: c == null ? void 0 : c.button,
|
4491
4498
|
children: a(G, {
|
4492
4499
|
typography: (u = c == null ? void 0 : c.button) == null ? void 0 : u.typography,
|
4493
|
-
children: (
|
4500
|
+
children: (p = c == null ? void 0 : c.button) == null ? void 0 : p.children
|
4494
4501
|
})
|
4495
4502
|
})]
|
4496
4503
|
});
|