@adstore/templates 2.15.14 → 2.15.15
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 +681 -665
- package/package.json +1 -1
package/dist/templates.js.js
CHANGED
@@ -9,7 +9,7 @@ var un = (t, n, e) => n in t ? Xo(t, n, { enumerable: !0, configurable: !0, writ
|
|
9
9
|
for (var e of me(n))
|
10
10
|
fn.call(n, e) && un(t, e, n[e]);
|
11
11
|
return t;
|
12
|
-
},
|
12
|
+
}, N = (t, n) => Qo(t, ta(n));
|
13
13
|
var Re = (t, n) => {
|
14
14
|
var e = {};
|
15
15
|
for (var o in t)
|
@@ -35,7 +35,7 @@ var ge = (t, n, e) => new Promise((o, s) => {
|
|
35
35
|
}, i = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(r, c);
|
36
36
|
i((e = e.apply(t, n)).next());
|
37
37
|
});
|
38
|
-
import { options as R, Component as le, createElement as mn, Fragment as
|
38
|
+
import { options as R, Component as le, createElement as mn, Fragment as Bt, toChildArray as Ve, createContext as ea, render as na, cloneElement as oa } from "preact";
|
39
39
|
var yt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Ge = {}, aa = {
|
40
40
|
get exports() {
|
41
41
|
return Ge;
|
@@ -108,8 +108,8 @@ function ra(t, n, e) {
|
|
108
108
|
var u = !1;
|
109
109
|
return d.forEach(function(p) {
|
110
110
|
if (p.__N) {
|
111
|
-
var
|
112
|
-
p.__ = p.__N, p.__N = void 0,
|
111
|
+
var m = p.__[0];
|
112
|
+
p.__ = p.__N, p.__N = void 0, m !== p.__[0] && (u = !0);
|
113
113
|
}
|
114
114
|
}), !(!u && o.__c.props === i) && (!r || r.call(this, i, l, _));
|
115
115
|
};
|
@@ -133,7 +133,7 @@ function $o(t, n) {
|
|
133
133
|
var e = Xt(zt++, 4);
|
134
134
|
!R.__s && qe(e.__H, n) && (e.__ = t, e.i = n, U.__h.push(e));
|
135
135
|
}
|
136
|
-
function
|
136
|
+
function q(t) {
|
137
137
|
return Zt = 5, It(function() {
|
138
138
|
return { current: t };
|
139
139
|
}, []);
|
@@ -335,8 +335,8 @@ R.unmount = function(t) {
|
|
335
335
|
}
|
336
336
|
this.__b = null;
|
337
337
|
}
|
338
|
-
var s = n.__a && mn(
|
339
|
-
return s && (s.__h = null), [mn(
|
338
|
+
var s = n.__a && mn(Bt, null, t.fallback);
|
339
|
+
return s && (s.__h = null), [mn(Bt, null, n.__a ? null : t.children), s];
|
340
340
|
};
|
341
341
|
var xn = function(t, n, e) {
|
342
342
|
if (++e[1] === e[0] && t.o.delete(n), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
|
@@ -916,8 +916,8 @@ function u_(t, n, e, o, s, r, c) {
|
|
916
916
|
}
|
917
917
|
var d = r ? r(i, l, e + "", t, n, c) : void 0, u = d === void 0;
|
918
918
|
if (u) {
|
919
|
-
var p = zn(l),
|
920
|
-
d = l, p ||
|
919
|
+
var p = zn(l), m = !p && s_(l), b = !p && !m && __(l);
|
920
|
+
d = l, p || m || b ? zn(i) ? d = i : r_(i) ? d = o_(i) : m ? (u = !1, d = e_(l, !0)) : b ? (u = !1, d = n_(l, !0)) : d = [] : l_(l) || Un(l) ? (d = i, Un(i) ? d = d_(i) : (!c_(i) || i_(i)) && (d = a_(l))) : u = !1;
|
921
921
|
}
|
922
922
|
u && (c.set(l, d), s(d, l, o, r, c), c.delete(l)), Wn(t, e, d);
|
923
923
|
}
|
@@ -1200,7 +1200,7 @@ const zo = ea(), Rt = ({
|
|
1200
1200
|
id: e
|
1201
1201
|
}, r))
|
1202
1202
|
}), n);
|
1203
|
-
}),
|
1203
|
+
}), K = () => ia(zo), zd = (t = {}, n) => typeof t == "object" && W(t) && n.some((e) => e in t), qd = (t, n, e = pe) => t && Wt(t, (o, s) => {
|
1204
1204
|
if (zd(s, Object.keys(e))) {
|
1205
1205
|
const r = s[n];
|
1206
1206
|
return r && "parent" in r && W(r.parent) ? $($({}, s[r.parent]), Tt(r, "parent")) : r;
|
@@ -1214,9 +1214,9 @@ const zo = ea(), Rt = ({
|
|
1214
1214
|
}) => {
|
1215
1215
|
const [s, r] = ht("desktop"), c = (i) => {
|
1216
1216
|
var u;
|
1217
|
-
const l = i.getBoundingClientRect().width || 0, _ = Object.entries($({}, o)).sort(([p,
|
1218
|
-
const [
|
1219
|
-
return l >=
|
1217
|
+
const l = i.getBoundingClientRect().width || 0, _ = Object.entries($({}, o)).sort(([p, m], [b, g]) => m - g), d = ((u = _.find(([p, m], b) => {
|
1218
|
+
const [g, k] = _[b + 1] || [];
|
1219
|
+
return l >= m && l < k;
|
1220
1220
|
})) == null ? void 0 : u[0]) || _[_.length - 1][0] || "desktop";
|
1221
1221
|
r(d);
|
1222
1222
|
};
|
@@ -1268,7 +1268,7 @@ const zo = ea(), Rt = ({
|
|
1268
1268
|
eu(u) && (d += `${md(u)}: ${p}; `);
|
1269
1269
|
}), d;
|
1270
1270
|
}, [e]), l = (_ = t == null ? void 0 : t.replace(/script|\n/g, "")) == null ? void 0 : _.replace(/{{(.*?)}}/g, o(i));
|
1271
|
-
return a("div",
|
1271
|
+
return a("div", N($({}, s), {
|
1272
1272
|
style: $($({}, n), s.style || {}),
|
1273
1273
|
dangerouslySetInnerHTML: {
|
1274
1274
|
__html: l
|
@@ -1277,7 +1277,7 @@ const zo = ea(), Rt = ({
|
|
1277
1277
|
}, fe = () => {
|
1278
1278
|
const [t, n] = ht(!1);
|
1279
1279
|
return [t, () => n((e) => !e)];
|
1280
|
-
},
|
1280
|
+
}, Ft = ({
|
1281
1281
|
width: t = 10,
|
1282
1282
|
height: n = 10
|
1283
1283
|
}) => a("svg", {
|
@@ -1311,22 +1311,22 @@ const zo = ea(), Rt = ({
|
|
1311
1311
|
wiggle: `${t.wiggle} 2s linear infinite`,
|
1312
1312
|
gradient: `${t.gradient} 3s ease infinite`
|
1313
1313
|
}), Ko = (t, n) => {
|
1314
|
-
var d, u, p,
|
1314
|
+
var d, u, p, m, b, g, k, f, L, S, j, O, C;
|
1315
1315
|
const e = ou(n), o = V(t), s = (d = o == null ? void 0 : o.icon) == null ? void 0 : d.hasIcon, r = {
|
1316
1316
|
left: `${+(((u = t == null ? void 0 : t.container) == null ? void 0 : u.left) || 0) * -1 + 8}px`,
|
1317
1317
|
backgroundColor: (p = o == null ? void 0 : o.container) == null ? void 0 : p.backgroundColor,
|
1318
|
-
borderTopWidth: (
|
1318
|
+
borderTopWidth: (m = o == null ? void 0 : o.container) == null ? void 0 : m.borderWidth,
|
1319
1319
|
borderTopColor: (b = o == null ? void 0 : o.container) == null ? void 0 : b.borderColor,
|
1320
1320
|
borderTopStyle: "solid",
|
1321
|
-
borderLeftWidth: (
|
1322
|
-
borderLeftColor: (
|
1321
|
+
borderLeftWidth: (g = o == null ? void 0 : o.container) == null ? void 0 : g.borderWidth,
|
1322
|
+
borderLeftColor: (k = o == null ? void 0 : o.container) == null ? void 0 : k.borderColor,
|
1323
1323
|
borderLeftStyle: "solid"
|
1324
1324
|
}, c = {
|
1325
|
-
left: (
|
1326
|
-
}, i = (((
|
1327
|
-
background: `linear-gradient(-90deg, ${(
|
1325
|
+
left: (f = o == null ? void 0 : o.container) == null ? void 0 : f.left
|
1326
|
+
}, i = (((L = o == null ? void 0 : o.icon) == null ? void 0 : L.animations) || []).map((Y) => e[Y]).join(", "), l = W((S = o == null ? void 0 : o.icon) == null ? void 0 : S.gradientColor) && ((j = o == null ? void 0 : o.icon) != null && j.animations.includes("gradient")) ? {
|
1327
|
+
background: `linear-gradient(-90deg, ${(O = o.icon) == null ? void 0 : O.backgroundColor} 0%, ${(C = o == null ? void 0 : o.icon) == null ? void 0 : C.gradientColor} 100%) 0% 0% / 400% 400%`,
|
1328
1328
|
backgroundSize: "400% 400%"
|
1329
|
-
} : o == null ? void 0 : o.icon, _ = $(
|
1329
|
+
} : o == null ? void 0 : o.icon, _ = $(N($({}, (o == null ? void 0 : o.icon) || {}), {
|
1330
1330
|
animation: i
|
1331
1331
|
}), l);
|
1332
1332
|
return {
|
@@ -1360,15 +1360,15 @@ const zo = ea(), Rt = ({
|
|
1360
1360
|
onClickClose: o,
|
1361
1361
|
onClickIcon: s
|
1362
1362
|
}) => {
|
1363
|
-
var Y,
|
1364
|
-
const r =
|
1363
|
+
var Y, J, M, v, y, T, w, A, x, D, P, H;
|
1364
|
+
const r = q(null), [c, i] = fe(), l = K(), _ = Ht({
|
1365
1365
|
targetRef: r,
|
1366
1366
|
id: t
|
1367
1367
|
}), d = St(l, _), u = V(d), {
|
1368
1368
|
hasIcon: p,
|
1369
|
-
iconRules:
|
1369
|
+
iconRules: m,
|
1370
1370
|
bodyRules: b,
|
1371
|
-
arrowRules:
|
1371
|
+
arrowRules: g
|
1372
1372
|
} = Ko(d, {
|
1373
1373
|
fade: E.fadein,
|
1374
1374
|
pulse: E.pulse,
|
@@ -1376,28 +1376,28 @@ const zo = ea(), Rt = ({
|
|
1376
1376
|
gradient: E.gradient
|
1377
1377
|
});
|
1378
1378
|
At(d);
|
1379
|
-
const
|
1380
|
-
paddingBottom: (
|
1381
|
-
}),
|
1379
|
+
const k = !!(u.legal.buttonHideText && ((Y = u.legal.buttonHideText) == null ? void 0 : Y.length) > 0), f = N($({}, Tt(u == null ? void 0 : u.container, "left")), {
|
1380
|
+
paddingBottom: (J = u == null ? void 0 : u.legal) != null && J.hidden ? 12 : 4
|
1381
|
+
}), L = {
|
1382
1382
|
paddingTop: 5,
|
1383
1383
|
paddingRight: 0,
|
1384
1384
|
paddingBottom: 2,
|
1385
1385
|
paddingLeft: 0
|
1386
|
-
},
|
1386
|
+
}, S = {
|
1387
1387
|
paddingTop: 7,
|
1388
1388
|
paddingRight: 10,
|
1389
1389
|
paddingBottom: 7,
|
1390
1390
|
paddingLeft: 10
|
1391
|
-
}, j = h(u, "legal.isSlideMode", !1),
|
1391
|
+
}, j = h(u, "legal.isSlideMode", !1), O = h(u, "legal.slideDuration", 1e3), C = h(u, "legal.slideDelay", 1e3);
|
1392
1392
|
return a("div", {
|
1393
1393
|
className: I(E.root, {
|
1394
1394
|
[E.legalOpen]: c,
|
1395
|
-
[E.legalStatic]: !
|
1395
|
+
[E.legalStatic]: !k
|
1396
1396
|
}),
|
1397
1397
|
ref: r,
|
1398
1398
|
children: [a("div", {
|
1399
1399
|
className: E.icon,
|
1400
|
-
style:
|
1400
|
+
style: m,
|
1401
1401
|
onClick: s,
|
1402
1402
|
children: p && a("div", {
|
1403
1403
|
className: E.iconTarget,
|
@@ -1410,17 +1410,17 @@ const zo = ea(), Rt = ({
|
|
1410
1410
|
style: b,
|
1411
1411
|
children: [a("div", {
|
1412
1412
|
className: E.arrow,
|
1413
|
-
style:
|
1413
|
+
style: g
|
1414
1414
|
}), a("div", {
|
1415
1415
|
className: E.close,
|
1416
|
-
style:
|
1417
|
-
backgroundColor: (
|
1416
|
+
style: N($({}, an(u == null ? void 0 : u.close)), {
|
1417
|
+
backgroundColor: (M = u == null ? void 0 : u.close) == null ? void 0 : M.color
|
1418
1418
|
}),
|
1419
1419
|
onClick: o,
|
1420
|
-
children: a(
|
1420
|
+
children: a(Ft, {})
|
1421
1421
|
}), a("div", {
|
1422
1422
|
className: E.container,
|
1423
|
-
style:
|
1423
|
+
style: f,
|
1424
1424
|
children: [a("a", {
|
1425
1425
|
href: (v = u == null ? void 0 : u.root) == null ? void 0 : v.offer,
|
1426
1426
|
style: {
|
@@ -1438,8 +1438,8 @@ const zo = ea(), Rt = ({
|
|
1438
1438
|
className: E.text,
|
1439
1439
|
style: u == null ? void 0 : u.text,
|
1440
1440
|
typography: (y = u.text) == null ? void 0 : y.typography,
|
1441
|
-
accentTypography: (
|
1442
|
-
children: (
|
1441
|
+
accentTypography: (T = u.text) == null ? void 0 : T.accentTypography,
|
1442
|
+
children: (w = u == null ? void 0 : u.text) == null ? void 0 : w.children
|
1443
1443
|
})]
|
1444
1444
|
}), a("div", {
|
1445
1445
|
className: I(E.button, {
|
@@ -1450,21 +1450,21 @@ const zo = ea(), Rt = ({
|
|
1450
1450
|
})]
|
1451
1451
|
}), j ? a("div", {
|
1452
1452
|
className: E.slideLegal,
|
1453
|
-
style:
|
1453
|
+
style: N($($({}, u == null ? void 0 : u.legal), S), {
|
1454
1454
|
animationName: E["fade-in-out"],
|
1455
|
-
animationDuration: `${
|
1456
|
-
animationDelay: `${
|
1455
|
+
animationDuration: `${O}ms`,
|
1456
|
+
animationDelay: `${C}ms`
|
1457
1457
|
}),
|
1458
1458
|
children: a("div", {
|
1459
1459
|
className: E.slideLegalText,
|
1460
1460
|
children: (x = u == null ? void 0 : u.legal) == null ? void 0 : x.children
|
1461
1461
|
})
|
1462
|
-
}) : a(
|
1462
|
+
}) : a(Bt, {
|
1463
1463
|
children: [a("div", {
|
1464
1464
|
className: E.legalGap
|
1465
1465
|
}), a("div", {
|
1466
1466
|
className: E.legal,
|
1467
|
-
style: $($({}, u == null ? void 0 : u.legal), c ?
|
1467
|
+
style: $($({}, u == null ? void 0 : u.legal), c ? S : L),
|
1468
1468
|
children: [a("div", {
|
1469
1469
|
className: E.legalText,
|
1470
1470
|
children: (D = u == null ? void 0 : u.legal) == null ? void 0 : D.children
|
@@ -1478,7 +1478,7 @@ const zo = ea(), Rt = ({
|
|
1478
1478
|
})]
|
1479
1479
|
})]
|
1480
1480
|
});
|
1481
|
-
}, qh = Lt(a(au, {})), ru = "_root_lsxq8_1", su = "_icon_lsxq8_5", iu = "_iconTarget_lsxq8_17", cu = "_body_lsxq8_23", lu = "_desktop_lsxq8_30", _u = "_tablet_lsxq8_30", du = "_laptop_lsxq8_30", uu = "_bodyOpen_lsxq8_34", pu = "_complexGift_in_lsxq8_1", fu = "_arrow_lsxq8_47", mu = "_container_lsxq8_57", gu = "_promotion_lsxq8_62", hu = "_close_lsxq8_68", yu = "_head_lsxq8_81", bu = "_headIcon_lsxq8_88", vu = "_headTitle_lsxq8_97", $u = "_inner_lsxq8_104", ku = "_fadein_lsxq8_1", Cu = "_pulse_lsxq8_1", wu = "_gradient_lsxq8_1", Tu = "_wiggle_lsxq8_1",
|
1481
|
+
}, qh = Lt(a(au, {})), ru = "_root_lsxq8_1", su = "_icon_lsxq8_5", iu = "_iconTarget_lsxq8_17", cu = "_body_lsxq8_23", lu = "_desktop_lsxq8_30", _u = "_tablet_lsxq8_30", du = "_laptop_lsxq8_30", uu = "_bodyOpen_lsxq8_34", pu = "_complexGift_in_lsxq8_1", fu = "_arrow_lsxq8_47", mu = "_container_lsxq8_57", gu = "_promotion_lsxq8_62", hu = "_close_lsxq8_68", yu = "_head_lsxq8_81", bu = "_headIcon_lsxq8_88", vu = "_headTitle_lsxq8_97", $u = "_inner_lsxq8_104", ku = "_fadein_lsxq8_1", Cu = "_pulse_lsxq8_1", wu = "_gradient_lsxq8_1", Tu = "_wiggle_lsxq8_1", Q = {
|
1482
1482
|
root: ru,
|
1483
1483
|
icon: su,
|
1484
1484
|
iconTarget: iu,
|
@@ -1515,7 +1515,7 @@ const zo = ea(), Rt = ({
|
|
1515
1515
|
onClick: t
|
1516
1516
|
}) => {
|
1517
1517
|
var o, s, r, c, i, l, _;
|
1518
|
-
const n =
|
1518
|
+
const n = K(), e = V(n);
|
1519
1519
|
return a("a", {
|
1520
1520
|
href: (o = e.root) == null ? void 0 : o.offer,
|
1521
1521
|
target: "_blank",
|
@@ -1568,8 +1568,8 @@ const zo = ea(), Rt = ({
|
|
1568
1568
|
onClickIcon: o,
|
1569
1569
|
onClickClose: s
|
1570
1570
|
}) => {
|
1571
|
-
var
|
1572
|
-
const r =
|
1571
|
+
var f, L, S;
|
1572
|
+
const r = q(null), c = K(), i = Ht({
|
1573
1573
|
targetRef: r,
|
1574
1574
|
id: t
|
1575
1575
|
}), l = St(c, i), _ = V(l);
|
@@ -1578,71 +1578,71 @@ const zo = ea(), Rt = ({
|
|
1578
1578
|
hasIcon: d,
|
1579
1579
|
iconRules: u,
|
1580
1580
|
bodyRules: p,
|
1581
|
-
arrowRules:
|
1581
|
+
arrowRules: m
|
1582
1582
|
} = Ko(l, {
|
1583
|
-
fade:
|
1584
|
-
pulse:
|
1585
|
-
wiggle:
|
1586
|
-
gradient:
|
1587
|
-
}), b = (
|
1583
|
+
fade: Q.fadein,
|
1584
|
+
pulse: Q.pulse,
|
1585
|
+
wiggle: Q.wiggle,
|
1586
|
+
gradient: Q.gradient
|
1587
|
+
}), b = (f = _ == null ? void 0 : _.title) == null ? void 0 : f.hasIcon, g = jt(_ == null ? void 0 : _.title, ...Me), k = Tt(_ == null ? void 0 : _.title, ...Me);
|
1588
1588
|
return a("div", {
|
1589
1589
|
ref: r,
|
1590
|
-
className: I(
|
1591
|
-
[
|
1592
|
-
[
|
1593
|
-
[
|
1590
|
+
className: I(Q.root, {
|
1591
|
+
[Q.desktop]: i === "desktop",
|
1592
|
+
[Q.laptop]: i === "laptop",
|
1593
|
+
[Q.tablet]: i === "tablet"
|
1594
1594
|
}),
|
1595
1595
|
children: [a("div", {
|
1596
|
-
className:
|
1596
|
+
className: Q.icon,
|
1597
1597
|
style: u,
|
1598
1598
|
onClick: o,
|
1599
1599
|
children: d && a("div", {
|
1600
|
-
className:
|
1600
|
+
className: Q.iconTarget,
|
1601
1601
|
children: a(We, {})
|
1602
1602
|
})
|
1603
1603
|
}), a("div", {
|
1604
|
-
className: I(
|
1605
|
-
[
|
1604
|
+
className: I(Q.body, {
|
1605
|
+
[Q.bodyOpen]: n
|
1606
1606
|
}),
|
1607
1607
|
style: p,
|
1608
1608
|
children: [a("div", {
|
1609
|
-
className:
|
1610
|
-
style:
|
1609
|
+
className: Q.arrow,
|
1610
|
+
style: m
|
1611
1611
|
}), a("div", {
|
1612
|
-
className:
|
1612
|
+
className: Q.container,
|
1613
1613
|
style: _.container,
|
1614
1614
|
children: [a("div", {
|
1615
|
-
className:
|
1616
|
-
style:
|
1615
|
+
className: Q.head,
|
1616
|
+
style: g,
|
1617
1617
|
children: [b && a("div", {
|
1618
|
-
className:
|
1618
|
+
className: Q.headIcon,
|
1619
1619
|
style: jt(_.title, "color"),
|
1620
1620
|
children: a(We, {
|
1621
1621
|
width: 12,
|
1622
1622
|
height: 12
|
1623
1623
|
})
|
1624
1624
|
}), a("div", {
|
1625
|
-
className:
|
1626
|
-
style:
|
1627
|
-
children: (
|
1625
|
+
className: Q.headTitle,
|
1626
|
+
style: k,
|
1627
|
+
children: (L = _.title) == null ? void 0 : L.children
|
1628
1628
|
}), a("div", {
|
1629
|
-
className:
|
1629
|
+
className: Q.close,
|
1630
1630
|
style: an(_ == null ? void 0 : _.close),
|
1631
1631
|
onClick: s,
|
1632
|
-
children: a(
|
1632
|
+
children: a(Ft, {})
|
1633
1633
|
})]
|
1634
1634
|
}), a("div", {
|
1635
|
-
className:
|
1635
|
+
className: Q.inner,
|
1636
1636
|
children: (_.children || []).map((j) => a(Rt, {
|
1637
1637
|
value: j,
|
1638
1638
|
children: a(Ru, {
|
1639
|
-
onClick: (
|
1639
|
+
onClick: (O) => e(O)
|
1640
1640
|
})
|
1641
1641
|
}))
|
1642
1642
|
}), a("div", {
|
1643
|
-
className:
|
1643
|
+
className: Q.promotion,
|
1644
1644
|
style: _.promotion,
|
1645
|
-
children: (
|
1645
|
+
children: (S = _.promotion) == null ? void 0 : S.children
|
1646
1646
|
})]
|
1647
1647
|
})]
|
1648
1648
|
})]
|
@@ -1671,7 +1671,7 @@ const zo = ea(), Rt = ({
|
|
1671
1671
|
root: Qu
|
1672
1672
|
}, ep = () => {
|
1673
1673
|
var e, o, s;
|
1674
|
-
const t =
|
1674
|
+
const t = K(), n = V(t);
|
1675
1675
|
return a("div", {
|
1676
1676
|
className: tp.root,
|
1677
1677
|
style: n.root,
|
@@ -1682,9 +1682,9 @@ const zo = ea(), Rt = ({
|
|
1682
1682
|
})
|
1683
1683
|
});
|
1684
1684
|
}, en = (t, n = 0, e = !1) => {
|
1685
|
-
const o =
|
1685
|
+
const o = q(Qe()), [s, r] = ht(!1), [c, i] = ht(), [l, _] = ht(e), d = (k) => o.current.on("visible", k), u = (k) => o.current.on("click", k), p = (k) => o.current.on("clickHide", k), m = () => ge(void 0, null, function* () {
|
1686
1686
|
yield pd(+n), r(!0);
|
1687
|
-
}), b = () => r(!1),
|
1687
|
+
}), b = () => r(!1), g = () => {
|
1688
1688
|
o.current.emit("clickHide"), b();
|
1689
1689
|
};
|
1690
1690
|
return z(() => {
|
@@ -1693,7 +1693,7 @@ const zo = ea(), Rt = ({
|
|
1693
1693
|
onVisible: d,
|
1694
1694
|
onClick: u,
|
1695
1695
|
onClickHide: p,
|
1696
|
-
show:
|
1696
|
+
show: m,
|
1697
1697
|
hide: b,
|
1698
1698
|
setApiHost: i,
|
1699
1699
|
resetListeners: o.current.reset
|
@@ -1701,12 +1701,12 @@ const zo = ea(), Rt = ({
|
|
1701
1701
|
isReady: l,
|
1702
1702
|
isOpen: s,
|
1703
1703
|
apiHost: c,
|
1704
|
-
show:
|
1704
|
+
show: m,
|
1705
1705
|
hide: b,
|
1706
|
-
clickHide:
|
1706
|
+
clickHide: g,
|
1707
1707
|
setIsReady: _,
|
1708
|
-
click: (...
|
1709
|
-
b(), o.current.emit("click", ...
|
1708
|
+
click: (...k) => {
|
1709
|
+
b(), o.current.emit("click", ...k);
|
1710
1710
|
}
|
1711
1711
|
};
|
1712
1712
|
}, np = "_root_120y9_1", op = "_progress_120y9_8", ap = "_countdown_120y9_1", rp = "_body_120y9_17", sp = "_body_active_120y9_31", ip = "_closeIcon_120y9_35", Kt = {
|
@@ -1725,7 +1725,7 @@ const zo = ea(), Rt = ({
|
|
1725
1725
|
medium: "#F8CC11",
|
1726
1726
|
high: "#00C85D"
|
1727
1727
|
}, _p = (t = 5e3, n = "default", e) => {
|
1728
|
-
const o = n === "default" ? cp : lp, [s, r] = ht(+t), c =
|
1728
|
+
const o = n === "default" ? cp : lp, [s, r] = ht(+t), c = q(), i = s / +t * 100, l = i > 66 ? o.low : i > 33 ? o.medium : o.high;
|
1729
1729
|
return z(() => {
|
1730
1730
|
s <= 0 && clearInterval(c.current);
|
1731
1731
|
}, [s]), z(() => (r(t), c.current = setInterval(() => r((_) => _ - 1e3), 1e3), () => clearInterval(c.current)), [t, n]), z(() => {
|
@@ -1795,7 +1795,7 @@ const zo = ea(), Rt = ({
|
|
1795
1795
|
width: +t,
|
1796
1796
|
height: +t
|
1797
1797
|
},
|
1798
|
-
children: a(
|
1798
|
+
children: a(Ft, {})
|
1799
1799
|
})
|
1800
1800
|
})]
|
1801
1801
|
});
|
@@ -1807,39 +1807,39 @@ const up = Qt(({
|
|
1807
1807
|
id: t,
|
1808
1808
|
className: n
|
1809
1809
|
}, e) => {
|
1810
|
-
var A, x, D, P, H, G, lt,
|
1811
|
-
const [o, s] = ht(1 / 0), r =
|
1810
|
+
var A, x, D, P, H, G, lt, at;
|
1811
|
+
const [o, s] = ht(1 / 0), r = q(null), c = q(null), i = Ht({
|
1812
1812
|
targetRef: r,
|
1813
1813
|
id: t
|
1814
|
-
}), l =
|
1814
|
+
}), l = K(), _ = St(l, i);
|
1815
1815
|
At(_), _ && (Ut(_, "button.percent_width", (A = _ == null ? void 0 : _.button) == null ? void 0 : A.width), Ut(_, "legal.percent_width", (x = _ == null ? void 0 : _.legal) == null ? void 0 : x.width));
|
1816
1816
|
const d = V(_), u = h(d, "root.delay", 0), {
|
1817
1817
|
isOpen: p,
|
1818
|
-
isReady:
|
1818
|
+
isReady: m,
|
1819
1819
|
setIsReady: b,
|
1820
|
-
clickHide:
|
1821
|
-
click:
|
1822
|
-
} = en(e, u),
|
1820
|
+
clickHide: g,
|
1821
|
+
click: k
|
1822
|
+
} = en(e, u), f = h(d, "close.variant", "default"), L = h(d, "close.radius", 21), S = h(d, "close.colorDirection", "default"), j = h(d, "close.timeoutLock", !1), O = f === "timer" ? o <= 0 : !0, C = f === "timer" && j && o > 0 ? "div" : "a";
|
1823
1823
|
z(() => {
|
1824
|
-
const
|
1825
|
-
if (!
|
1824
|
+
const rt = c.current;
|
1825
|
+
if (!rt)
|
1826
1826
|
return;
|
1827
|
-
if (dp(
|
1827
|
+
if (dp(rt)) {
|
1828
1828
|
b(!0);
|
1829
1829
|
return;
|
1830
1830
|
}
|
1831
1831
|
const ft = () => b(!0);
|
1832
|
-
return
|
1833
|
-
|
1832
|
+
return rt.addEventListener("load", ft), () => {
|
1833
|
+
rt.removeEventListener("load", ft);
|
1834
1834
|
};
|
1835
1835
|
}, [d]);
|
1836
1836
|
const Y = {
|
1837
1837
|
alignItems: Dt((D = d.root) == null ? void 0 : D.align)
|
1838
|
-
},
|
1838
|
+
}, J = N($({}, d == null ? void 0 : d.button), {
|
1839
1839
|
justifyContent: Dt((P = d.root) == null ? void 0 : P.textAlign)
|
1840
|
-
}),
|
1840
|
+
}), M = N($({}, d == null ? void 0 : d.legal), {
|
1841
1841
|
justifyContent: Dt((H = d.root) == null ? void 0 : H.textAlign)
|
1842
|
-
}), v = (G = d.root) == null ? void 0 : G.corner, y = Tt(d.root, ...eo, ...bt),
|
1842
|
+
}), v = (G = d.root) == null ? void 0 : G.corner, y = Tt(d.root, ...eo, ...bt), T = jt(d.root, ...eo), w = p && m;
|
1843
1843
|
return a("div", {
|
1844
1844
|
className: I(dt.root, n, {
|
1845
1845
|
[dt.desktop]: i === "desktop",
|
@@ -1848,23 +1848,23 @@ const up = Qt(({
|
|
1848
1848
|
}),
|
1849
1849
|
ref: r,
|
1850
1850
|
style: {
|
1851
|
-
display:
|
1851
|
+
display: w ? "flex" : "none"
|
1852
1852
|
},
|
1853
1853
|
children: [a("div", {
|
1854
1854
|
className: dt.overlay,
|
1855
1855
|
style: d.overlay,
|
1856
|
-
onClick:
|
1856
|
+
onClick: O && g
|
1857
1857
|
}), a("div", {
|
1858
1858
|
className: dt.wrapper,
|
1859
|
-
children: [
|
1860
|
-
children:
|
1859
|
+
children: [w && a(Bt, {
|
1860
|
+
children: f === "default" ? a("div", {
|
1861
1861
|
className: dt.close,
|
1862
|
-
style:
|
1862
|
+
style: N($({}, d.close), {
|
1863
1863
|
borderBottomLeftRadius: `${v}px`,
|
1864
1864
|
borderTopRightRadius: `${v}px`
|
1865
1865
|
}),
|
1866
|
-
onClick:
|
1867
|
-
children: a(
|
1866
|
+
onClick: g,
|
1867
|
+
children: a(Ft, {
|
1868
1868
|
width: 11,
|
1869
1869
|
height: 11
|
1870
1870
|
})
|
@@ -1872,9 +1872,9 @@ const up = Qt(({
|
|
1872
1872
|
className: dt.closeTimer,
|
1873
1873
|
children: a(nn, {
|
1874
1874
|
timeout: h(d, "close.timeout"),
|
1875
|
-
colorDirection:
|
1876
|
-
radius:
|
1877
|
-
onClick:
|
1875
|
+
colorDirection: S,
|
1876
|
+
radius: L,
|
1877
|
+
onClick: g,
|
1878
1878
|
onChange: s
|
1879
1879
|
})
|
1880
1880
|
})
|
@@ -1882,19 +1882,19 @@ const up = Qt(({
|
|
1882
1882
|
className: dt.promotion,
|
1883
1883
|
style: d.promotion,
|
1884
1884
|
children: (lt = d.promotion) == null ? void 0 : lt.children
|
1885
|
-
}), a(
|
1886
|
-
href: (
|
1885
|
+
}), a(C, {
|
1886
|
+
href: (at = d.root) == null ? void 0 : at.offer,
|
1887
1887
|
target: "_blank",
|
1888
1888
|
rel: "nofollow noopener noreferrer",
|
1889
1889
|
className: dt.content,
|
1890
1890
|
style: y,
|
1891
|
-
onClick: () =>
|
1891
|
+
onClick: () => C === "a" && k(d.id),
|
1892
1892
|
children: [a("img", {
|
1893
1893
|
ref: c,
|
1894
1894
|
className: dt.background,
|
1895
|
-
src:
|
1895
|
+
src: T.imageSource,
|
1896
1896
|
alt: "",
|
1897
|
-
style:
|
1897
|
+
style: T
|
1898
1898
|
}), a("div", {
|
1899
1899
|
className: dt.body,
|
1900
1900
|
style: Y,
|
@@ -1903,18 +1903,18 @@ const up = Qt(({
|
|
1903
1903
|
style: d.logo
|
1904
1904
|
}), a("div", {
|
1905
1905
|
className: dt.text,
|
1906
|
-
children: ((d == null ? void 0 : d.children) || []).map((
|
1907
|
-
value:
|
1906
|
+
children: ((d == null ? void 0 : d.children) || []).map((rt) => a(Rt, {
|
1907
|
+
value: rt,
|
1908
1908
|
children: a(ep, {})
|
1909
1909
|
}))
|
1910
1910
|
}), a("div", {
|
1911
1911
|
className: dt.button,
|
1912
|
-
style:
|
1913
|
-
children:
|
1912
|
+
style: J,
|
1913
|
+
children: J == null ? void 0 : J.children
|
1914
1914
|
}), a("div", {
|
1915
1915
|
className: dt.legal,
|
1916
|
-
style:
|
1917
|
-
children:
|
1916
|
+
style: M,
|
1917
|
+
children: M == null ? void 0 : M.children
|
1918
1918
|
})]
|
1919
1919
|
})]
|
1920
1920
|
})]
|
@@ -1947,7 +1947,7 @@ const up = Qt(({
|
|
1947
1947
|
onClick: t
|
1948
1948
|
}) => {
|
1949
1949
|
var c, i, l, _, d, u;
|
1950
|
-
const n =
|
1950
|
+
const n = K(), e = V(n), o = (n == null ? void 0 : n.device) || "desktop", s = (n == null ? void 0 : n.OfferTag) || "a", r = jt(e.header, ...bt);
|
1951
1951
|
return a(s, {
|
1952
1952
|
href: (c = e.root) == null ? void 0 : c.offer,
|
1953
1953
|
target: "_blank",
|
@@ -2000,17 +2000,17 @@ const up = Qt(({
|
|
2000
2000
|
}, jp = Qt(({
|
2001
2001
|
id: t
|
2002
2002
|
}, n) => {
|
2003
|
-
var j,
|
2004
|
-
const [e, o] = ht(1 / 0), s =
|
2003
|
+
var j, O, C;
|
2004
|
+
const [e, o] = ht(1 / 0), s = q(null), r = Ht({
|
2005
2005
|
targetRef: s,
|
2006
2006
|
id: t
|
2007
|
-
}), c =
|
2007
|
+
}), c = K(), i = St(c, r), l = V(i);
|
2008
2008
|
At(i);
|
2009
2009
|
const _ = h(l, "root.delay", 0), {
|
2010
2010
|
isOpen: d,
|
2011
2011
|
clickHide: u,
|
2012
2012
|
click: p
|
2013
|
-
} = en(n, _, !0),
|
2013
|
+
} = en(n, _, !0), m = h(l, "close.variant", "default"), b = h(l, "close.radius", 21), g = h(l, "close.colorDirection", "default"), k = h(l, "close.timeoutLock", !1), f = m === "timer" ? e <= 0 : !0, L = m === "timer" && k && e > 0 ? "div" : "a", S = (j = l.root) == null ? void 0 : j.corner;
|
2014
2014
|
return a("div", {
|
2015
2015
|
className: Ot.root,
|
2016
2016
|
style: {
|
@@ -2019,7 +2019,7 @@ const up = Qt(({
|
|
2019
2019
|
children: [a("div", {
|
2020
2020
|
className: Ot.overlay,
|
2021
2021
|
style: l.overlay,
|
2022
|
-
onClick:
|
2022
|
+
onClick: f && u
|
2023
2023
|
}), a("div", {
|
2024
2024
|
ref: s,
|
2025
2025
|
className: I(Ot.content, {
|
@@ -2027,14 +2027,14 @@ const up = Qt(({
|
|
2027
2027
|
[Ot.laptop]: r === "laptop"
|
2028
2028
|
}),
|
2029
2029
|
style: l.root,
|
2030
|
-
children: [
|
2030
|
+
children: [m === "default" ? a("div", {
|
2031
2031
|
className: Ot.close,
|
2032
|
-
style:
|
2033
|
-
borderBottomLeftRadius: `${
|
2034
|
-
borderTopRightRadius: `${
|
2032
|
+
style: N($({}, l.close), {
|
2033
|
+
borderBottomLeftRadius: `${S}px`,
|
2034
|
+
borderTopRightRadius: `${S}px`
|
2035
2035
|
}),
|
2036
2036
|
onClick: u,
|
2037
|
-
children: a(
|
2037
|
+
children: a(Ft, {
|
2038
2038
|
width: 11,
|
2039
2039
|
height: 11
|
2040
2040
|
})
|
@@ -2042,7 +2042,7 @@ const up = Qt(({
|
|
2042
2042
|
className: Ot.closeTimer,
|
2043
2043
|
children: a(nn, {
|
2044
2044
|
timeout: h(l, "close.timeout"),
|
2045
|
-
colorDirection:
|
2045
|
+
colorDirection: g,
|
2046
2046
|
radius: b,
|
2047
2047
|
onClick: u,
|
2048
2048
|
onChange: o
|
@@ -2050,17 +2050,17 @@ const up = Qt(({
|
|
2050
2050
|
}), a(B, {
|
2051
2051
|
className: Ot.promotion,
|
2052
2052
|
style: l.promotion,
|
2053
|
-
children: (
|
2053
|
+
children: (O = l.promotion) == null ? void 0 : O.children
|
2054
2054
|
}), a(B, {
|
2055
2055
|
className: Ot.title,
|
2056
2056
|
style: l.title,
|
2057
|
-
children: (
|
2057
|
+
children: (C = l.title) == null ? void 0 : C.children
|
2058
2058
|
}), a("div", {
|
2059
2059
|
className: Ot.wrapper,
|
2060
2060
|
children: (l.children || []).map((Y) => a(Rt, {
|
2061
|
-
value:
|
2061
|
+
value: N($({}, Y), {
|
2062
2062
|
device: r,
|
2063
|
-
OfferTag:
|
2063
|
+
OfferTag: L
|
2064
2064
|
}),
|
2065
2065
|
children: a(Ip, {
|
2066
2066
|
onClick: p
|
@@ -2069,7 +2069,7 @@ const up = Qt(({
|
|
2069
2069
|
})]
|
2070
2070
|
})]
|
2071
2071
|
});
|
2072
|
-
}), Jh = Lt(a(jp, {})), Rp = "_root_ph5sn_1", Hp = "_content_ph5sn_11", Pp = "_close_ph5sn_18", Yp = "_closeTimer_ph5sn_34", Bp = "_desktop_ph5sn_40", Ep = "_laptop_ph5sn_40", Vp = "_promotion_ph5sn_45", Gp = "_overlay_ph5sn_53", Fp = "_body_ph5sn_59", Wp = "_tablet_ph5sn_69", Up = "_head_ph5sn_73", zp = "_title_ph5sn_86", qp = "_logo_ph5sn_98", Kp = "_wrapper_ph5sn_105", Zp = "_text_ph5sn_112", Jp = "_button_ph5sn_120", Xp = "_buttonHead_ph5sn_135", Qp = "_buttonTarget_ph5sn_152", tf = "_legal_ph5sn_166",
|
2072
|
+
}), Jh = Lt(a(jp, {})), Rp = "_root_ph5sn_1", Hp = "_content_ph5sn_11", Pp = "_close_ph5sn_18", Yp = "_closeTimer_ph5sn_34", Bp = "_desktop_ph5sn_40", Ep = "_laptop_ph5sn_40", Vp = "_promotion_ph5sn_45", Gp = "_overlay_ph5sn_53", Fp = "_body_ph5sn_59", Wp = "_tablet_ph5sn_69", Up = "_head_ph5sn_73", zp = "_title_ph5sn_86", qp = "_logo_ph5sn_98", Kp = "_wrapper_ph5sn_105", Zp = "_text_ph5sn_112", Jp = "_button_ph5sn_120", Xp = "_buttonHead_ph5sn_135", Qp = "_buttonTarget_ph5sn_152", tf = "_legal_ph5sn_166", ot = {
|
2073
2073
|
root: Rp,
|
2074
2074
|
content: Hp,
|
2075
2075
|
close: Pp,
|
@@ -2089,7 +2089,7 @@ const up = Qt(({
|
|
2089
2089
|
buttonHead: Xp,
|
2090
2090
|
buttonTarget: Qp,
|
2091
2091
|
legal: tf
|
2092
|
-
}, ef = "_root_16jvv_1", nf = "_left_16jvv_8", of = "_desktop_16jvv_15", af = "_laptop_16jvv_15", rf = "_teams_16jvv_19", sf = "_logo_16jvv_25", cf = "_league_16jvv_32", lf = "_name_16jvv_37", _f = "_right_16jvv_43", df = "_odd_16jvv_54", uf = "_oddLabel_16jvv_67", pf = "_oddValue_16jvv_76", ff = "_team_16jvv_19", mf = "_teamLogo_16jvv_100", gf = "_teamName_16jvv_107",
|
2092
|
+
}, ef = "_root_16jvv_1", nf = "_left_16jvv_8", of = "_desktop_16jvv_15", af = "_laptop_16jvv_15", rf = "_teams_16jvv_19", sf = "_logo_16jvv_25", cf = "_league_16jvv_32", lf = "_name_16jvv_37", _f = "_right_16jvv_43", df = "_odd_16jvv_54", uf = "_oddLabel_16jvv_67", pf = "_oddValue_16jvv_76", ff = "_team_16jvv_19", mf = "_teamLogo_16jvv_100", gf = "_teamName_16jvv_107", tt = {
|
2093
2093
|
root: ef,
|
2094
2094
|
left: nf,
|
2095
2095
|
desktop: of,
|
@@ -2400,7 +2400,7 @@ const hf = new Set(Object.keys(Zo)), wt = ({
|
|
2400
2400
|
country: s
|
2401
2401
|
}) => {
|
2402
2402
|
var c, i;
|
2403
|
-
const r =
|
2403
|
+
const r = q(null);
|
2404
2404
|
if (o === "tennis" && s) {
|
2405
2405
|
let l = s.logo;
|
2406
2406
|
if (!l) {
|
@@ -2413,7 +2413,7 @@ const hf = new Set(Object.keys(Zo)), wt = ({
|
|
2413
2413
|
return a("img", {
|
2414
2414
|
ref: r,
|
2415
2415
|
className: t,
|
2416
|
-
style:
|
2416
|
+
style: N($({}, e), {
|
2417
2417
|
height: `calc(${_}px - 20%)`
|
2418
2418
|
}),
|
2419
2419
|
src: l
|
@@ -2424,7 +2424,7 @@ const hf = new Set(Object.keys(Zo)), wt = ({
|
|
2424
2424
|
style: e,
|
2425
2425
|
src: n
|
2426
2426
|
});
|
2427
|
-
},
|
2427
|
+
}, Vt = ({
|
2428
2428
|
formatter: t,
|
2429
2429
|
odd: n
|
2430
2430
|
}) => {
|
@@ -2433,84 +2433,84 @@ const hf = new Set(Object.keys(Zo)), wt = ({
|
|
2433
2433
|
}, yf = ({
|
2434
2434
|
oddFormatter: t
|
2435
2435
|
}) => {
|
2436
|
-
const n =
|
2436
|
+
const n = K(), e = V(n), o = (n == null ? void 0 : n.device) || "desktop", s = h(e, "match.sport_slug"), r = N($({}, e == null ? void 0 : e.teamALogo), {
|
2437
2437
|
backgroundImage: h(e, "match.teams[0].logo")
|
2438
|
-
}), c =
|
2438
|
+
}), c = N($({}, e == null ? void 0 : e.teamBLogo), {
|
2439
2439
|
backgroundImage: h(e, "match.teams[1].logo")
|
2440
2440
|
}), i = h(e, "match.prediction.value");
|
2441
2441
|
return a("div", {
|
2442
|
-
className: I(
|
2443
|
-
[
|
2444
|
-
[
|
2442
|
+
className: I(tt.root, {
|
2443
|
+
[tt.desktop]: o === "desktop",
|
2444
|
+
[tt.laptop]: o === "laptop"
|
2445
2445
|
}),
|
2446
2446
|
children: [a("div", {
|
2447
|
-
className:
|
2447
|
+
className: tt.left,
|
2448
2448
|
children: [a("div", {
|
2449
|
-
className:
|
2449
|
+
className: tt.teams,
|
2450
2450
|
children: [a(wt, {
|
2451
|
-
className:
|
2451
|
+
className: tt.logo,
|
2452
2452
|
style: r,
|
2453
2453
|
src: r.backgroundImage,
|
2454
2454
|
sportSlug: s,
|
2455
2455
|
country: h(e, "match.teams[0].country")
|
2456
2456
|
}), a(wt, {
|
2457
|
-
className:
|
2457
|
+
className: tt.logo,
|
2458
2458
|
style: c,
|
2459
2459
|
src: c.backgroundImage,
|
2460
2460
|
sportSlug: s,
|
2461
2461
|
country: h(e, "match.teams[1].country")
|
2462
2462
|
})]
|
2463
2463
|
}), a("div", {
|
2464
|
-
className:
|
2464
|
+
className: tt.body,
|
2465
2465
|
children: [a("div", {
|
2466
|
-
className:
|
2466
|
+
className: tt.league,
|
2467
2467
|
style: e.league,
|
2468
2468
|
children: h(e, "match.league.name")
|
2469
2469
|
}), a("div", {
|
2470
|
-
className:
|
2470
|
+
className: tt.name,
|
2471
2471
|
style: e.teams,
|
2472
2472
|
children: [h(e, "match.teams[0].name"), " — ", h(e, "match.teams[1].name")]
|
2473
2473
|
})]
|
2474
2474
|
})]
|
2475
2475
|
}), a("div", {
|
2476
|
-
className:
|
2476
|
+
className: tt.right,
|
2477
2477
|
children: [a("div", {
|
2478
|
-
className:
|
2478
|
+
className: tt.team,
|
2479
2479
|
children: [a(wt, {
|
2480
|
-
className:
|
2480
|
+
className: tt.teamLogo,
|
2481
2481
|
style: r,
|
2482
2482
|
src: r.backgroundImage,
|
2483
2483
|
sportSlug: s,
|
2484
2484
|
country: h(e, "match.teams[0].country")
|
2485
2485
|
}), a("div", {
|
2486
|
-
className:
|
2486
|
+
className: tt.teamName,
|
2487
2487
|
style: e.teams,
|
2488
2488
|
children: h(e, "match.teams[0].name")
|
2489
2489
|
})]
|
2490
2490
|
}), a("div", {
|
2491
|
-
className:
|
2491
|
+
className: tt.odd,
|
2492
2492
|
children: [a("div", {
|
2493
|
-
className:
|
2493
|
+
className: tt.oddLabel,
|
2494
2494
|
style: e.oddLabel,
|
2495
|
-
children: a(
|
2495
|
+
children: a(Vt, {
|
2496
2496
|
odd: i,
|
2497
2497
|
formatter: t
|
2498
2498
|
})
|
2499
2499
|
}), a("div", {
|
2500
|
-
className:
|
2500
|
+
className: tt.oddValue,
|
2501
2501
|
style: e.oddValue,
|
2502
2502
|
children: h(e, "match.prediction.factor")
|
2503
2503
|
})]
|
2504
2504
|
}), a("div", {
|
2505
|
-
className:
|
2505
|
+
className: tt.team,
|
2506
2506
|
children: [a(wt, {
|
2507
|
-
className:
|
2507
|
+
className: tt.teamLogo,
|
2508
2508
|
style: c,
|
2509
2509
|
src: c.backgroundImage,
|
2510
2510
|
sportSlug: s,
|
2511
2511
|
country: h(e, "match.teams[1].country")
|
2512
2512
|
}), a("div", {
|
2513
|
-
className:
|
2513
|
+
className: tt.teamName,
|
2514
2514
|
style: e.teams,
|
2515
2515
|
children: h(e, "match.teams[1].name")
|
2516
2516
|
})]
|
@@ -2549,137 +2549,137 @@ var xt = {}, Hf = {
|
|
2549
2549
|
(function(e, o) {
|
2550
2550
|
t.exports = o();
|
2551
2551
|
})(yt, function() {
|
2552
|
-
var e = "millisecond", o = "second", s = "minute", r = "hour", c = "day", i = "week", l = "month", _ = "quarter", d = "year", u = "date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,
|
2553
|
-
var
|
2554
|
-
return !
|
2555
|
-
},
|
2556
|
-
var v = -
|
2557
|
-
return (v <= 0 ? "+" : "-") + b(
|
2558
|
-
}, m: function
|
2552
|
+
var e = "millisecond", o = "second", s = "minute", r = "hour", c = "day", i = "week", l = "month", _ = "quarter", d = "year", u = "date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, m = /\[([^\]]+)]|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, b = function(M, v, y) {
|
2553
|
+
var T = String(M);
|
2554
|
+
return !T || T.length >= v ? M : "" + Array(v + 1 - T.length).join(y) + M;
|
2555
|
+
}, g = { s: b, z: function(M) {
|
2556
|
+
var v = -M.utcOffset(), y = Math.abs(v), T = Math.floor(y / 60), w = y % 60;
|
2557
|
+
return (v <= 0 ? "+" : "-") + b(T, 2, "0") + ":" + b(w, 2, "0");
|
2558
|
+
}, m: function M(v, y) {
|
2559
2559
|
if (v.date() < y.date())
|
2560
|
-
return -
|
2561
|
-
var
|
2562
|
-
return +(-(
|
2563
|
-
}, a: function(
|
2564
|
-
return
|
2565
|
-
}, p: function(
|
2566
|
-
return { M: l, y: d, w: i, d: c, D: u, h: r, m: s, s: o, ms: e, Q: _ }[
|
2567
|
-
}, u: function(
|
2568
|
-
return
|
2569
|
-
} },
|
2570
|
-
|
2571
|
-
var
|
2572
|
-
return
|
2573
|
-
}, j = function(
|
2574
|
-
var
|
2575
|
-
if (!
|
2576
|
-
return
|
2577
|
-
if (typeof
|
2578
|
-
|
2560
|
+
return -M(y, v);
|
2561
|
+
var T = 12 * (y.year() - v.year()) + (y.month() - v.month()), w = v.clone().add(T, l), A = y - w < 0, x = v.clone().add(T + (A ? -1 : 1), l);
|
2562
|
+
return +(-(T + (y - w) / (A ? w - x : x - w)) || 0);
|
2563
|
+
}, a: function(M) {
|
2564
|
+
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
2565
|
+
}, p: function(M) {
|
2566
|
+
return { M: l, y: d, w: i, d: c, D: u, h: r, m: s, s: o, ms: e, Q: _ }[M] || String(M || "").toLowerCase().replace(/s$/, "");
|
2567
|
+
}, u: function(M) {
|
2568
|
+
return M === void 0;
|
2569
|
+
} }, k = { 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("_") }, f = "en", L = {};
|
2570
|
+
L[f] = k;
|
2571
|
+
var S = function(M) {
|
2572
|
+
return M instanceof Y;
|
2573
|
+
}, j = function(M, v, y) {
|
2574
|
+
var T;
|
2575
|
+
if (!M)
|
2576
|
+
return f;
|
2577
|
+
if (typeof M == "string")
|
2578
|
+
L[M] && (T = M), v && (L[M] = v, T = M);
|
2579
2579
|
else {
|
2580
|
-
var
|
2581
|
-
|
2580
|
+
var w = M.name;
|
2581
|
+
L[w] = M, T = w;
|
2582
2582
|
}
|
2583
|
-
return !y &&
|
2584
|
-
},
|
2585
|
-
if (
|
2586
|
-
return
|
2583
|
+
return !y && T && (f = T), T || !y && f;
|
2584
|
+
}, O = function(M, v) {
|
2585
|
+
if (S(M))
|
2586
|
+
return M.clone();
|
2587
2587
|
var y = typeof v == "object" ? v : {};
|
2588
|
-
return y.date =
|
2589
|
-
},
|
2590
|
-
|
2591
|
-
return M
|
2588
|
+
return y.date = M, y.args = arguments, new Y(y);
|
2589
|
+
}, C = g;
|
2590
|
+
C.l = j, C.i = S, C.w = function(M, v) {
|
2591
|
+
return O(M, { locale: v.$L, utc: v.$u, $offset: v.$offset });
|
2592
2592
|
};
|
2593
2593
|
var Y = function() {
|
2594
|
-
function
|
2594
|
+
function M(y) {
|
2595
2595
|
this.$L = this.$L || j(y.locale, null, !0), this.parse(y);
|
2596
2596
|
}
|
2597
|
-
var v =
|
2597
|
+
var v = M.prototype;
|
2598
2598
|
return v.parse = function(y) {
|
2599
|
-
this.$d = function(
|
2600
|
-
var
|
2601
|
-
if (
|
2599
|
+
this.$d = function(T) {
|
2600
|
+
var w = T.date, A = T.utc;
|
2601
|
+
if (w === null)
|
2602
2602
|
return /* @__PURE__ */ new Date(NaN);
|
2603
|
-
if (
|
2603
|
+
if (C.u(w))
|
2604
2604
|
return /* @__PURE__ */ new Date();
|
2605
|
-
if (
|
2606
|
-
return new Date(
|
2607
|
-
if (typeof
|
2608
|
-
var x =
|
2605
|
+
if (w instanceof Date)
|
2606
|
+
return new Date(w);
|
2607
|
+
if (typeof w == "string" && !/Z$/i.test(w)) {
|
2608
|
+
var x = w.match(p);
|
2609
2609
|
if (x) {
|
2610
2610
|
var D = x[2] - 1 || 0, P = (x[7] || "0").substring(0, 3);
|
2611
2611
|
return A ? new Date(Date.UTC(x[1], D, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, P)) : new Date(x[1], D, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, P);
|
2612
2612
|
}
|
2613
2613
|
}
|
2614
|
-
return new Date(
|
2614
|
+
return new Date(w);
|
2615
2615
|
}(y), this.init();
|
2616
2616
|
}, v.init = function() {
|
2617
2617
|
var y = this.$d;
|
2618
2618
|
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();
|
2619
2619
|
}, v.$utils = function() {
|
2620
|
-
return
|
2620
|
+
return C;
|
2621
2621
|
}, v.isValid = function() {
|
2622
2622
|
return this.$d.toString() !== "Invalid Date";
|
2623
|
-
}, v.isSame = function(y,
|
2624
|
-
var
|
2625
|
-
return this.startOf(
|
2626
|
-
}, v.isAfter = function(y,
|
2627
|
-
return
|
2628
|
-
}, v.isBefore = function(y,
|
2629
|
-
return this.endOf(
|
2630
|
-
}, v.$g = function(y,
|
2631
|
-
return
|
2623
|
+
}, v.isSame = function(y, T) {
|
2624
|
+
var w = O(y);
|
2625
|
+
return this.startOf(T) <= w && w <= this.endOf(T);
|
2626
|
+
}, v.isAfter = function(y, T) {
|
2627
|
+
return O(y) < this.startOf(T);
|
2628
|
+
}, v.isBefore = function(y, T) {
|
2629
|
+
return this.endOf(T) < O(y);
|
2630
|
+
}, v.$g = function(y, T, w) {
|
2631
|
+
return C.u(y) ? this[T] : this.set(w, y);
|
2632
2632
|
}, v.unix = function() {
|
2633
2633
|
return Math.floor(this.valueOf() / 1e3);
|
2634
2634
|
}, v.valueOf = function() {
|
2635
2635
|
return this.$d.getTime();
|
2636
|
-
}, v.startOf = function(y,
|
2637
|
-
var
|
2638
|
-
var mt =
|
2636
|
+
}, v.startOf = function(y, T) {
|
2637
|
+
var w = this, A = !!C.u(T) || T, x = C.p(y), D = function(vt, X) {
|
2638
|
+
var mt = C.w(w.$u ? Date.UTC(w.$y, X, vt) : new Date(w.$y, X, vt), w);
|
2639
2639
|
return A ? mt : mt.endOf(c);
|
2640
|
-
}, P = function(vt,
|
2641
|
-
return
|
2642
|
-
}, H = this.$W, G = this.$M, lt = this.$D,
|
2640
|
+
}, P = function(vt, X) {
|
2641
|
+
return C.w(w.toDate()[vt].apply(w.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), w);
|
2642
|
+
}, H = this.$W, G = this.$M, lt = this.$D, at = "set" + (this.$u ? "UTC" : "");
|
2643
2643
|
switch (x) {
|
2644
2644
|
case d:
|
2645
2645
|
return A ? D(1, 0) : D(31, 11);
|
2646
2646
|
case l:
|
2647
2647
|
return A ? D(1, G) : D(0, G + 1);
|
2648
2648
|
case i:
|
2649
|
-
var
|
2649
|
+
var rt = this.$locale().weekStart || 0, ft = (H < rt ? H + 7 : H) - rt;
|
2650
2650
|
return D(A ? lt - ft : lt + (6 - ft), G);
|
2651
2651
|
case c:
|
2652
2652
|
case u:
|
2653
|
-
return P(
|
2653
|
+
return P(at + "Hours", 0);
|
2654
2654
|
case r:
|
2655
|
-
return P(
|
2655
|
+
return P(at + "Minutes", 1);
|
2656
2656
|
case s:
|
2657
|
-
return P(
|
2657
|
+
return P(at + "Seconds", 2);
|
2658
2658
|
case o:
|
2659
|
-
return P(
|
2659
|
+
return P(at + "Milliseconds", 3);
|
2660
2660
|
default:
|
2661
2661
|
return this.clone();
|
2662
2662
|
}
|
2663
2663
|
}, v.endOf = function(y) {
|
2664
2664
|
return this.startOf(y, !1);
|
2665
|
-
}, v.$set = function(y,
|
2666
|
-
var
|
2665
|
+
}, v.$set = function(y, T) {
|
2666
|
+
var w, A = C.p(y), x = "set" + (this.$u ? "UTC" : ""), D = (w = {}, w[c] = x + "Date", w[u] = x + "Date", w[l] = x + "Month", w[d] = x + "FullYear", w[r] = x + "Hours", w[s] = x + "Minutes", w[o] = x + "Seconds", w[e] = x + "Milliseconds", w)[A], P = A === c ? this.$D + (T - this.$W) : T;
|
2667
2667
|
if (A === l || A === d) {
|
2668
2668
|
var H = this.clone().set(u, 1);
|
2669
2669
|
H.$d[D](P), H.init(), this.$d = H.set(u, Math.min(this.$D, H.daysInMonth())).$d;
|
2670
2670
|
} else
|
2671
2671
|
D && this.$d[D](P);
|
2672
2672
|
return this.init(), this;
|
2673
|
-
}, v.set = function(y,
|
2674
|
-
return this.clone().$set(y,
|
2673
|
+
}, v.set = function(y, T) {
|
2674
|
+
return this.clone().$set(y, T);
|
2675
2675
|
}, v.get = function(y) {
|
2676
|
-
return this[
|
2677
|
-
}, v.add = function(y,
|
2678
|
-
var
|
2676
|
+
return this[C.p(y)]();
|
2677
|
+
}, v.add = function(y, T) {
|
2678
|
+
var w, A = this;
|
2679
2679
|
y = Number(y);
|
2680
|
-
var x =
|
2681
|
-
var lt =
|
2682
|
-
return
|
2680
|
+
var x = C.p(T), D = function(G) {
|
2681
|
+
var lt = O(A);
|
2682
|
+
return C.w(lt.date(lt.date() + Math.round(G * y)), A);
|
2683
2683
|
};
|
2684
2684
|
if (x === l)
|
2685
2685
|
return this.set(l, this.$M + y);
|
@@ -2689,41 +2689,41 @@ var xt = {}, Hf = {
|
|
2689
2689
|
return D(1);
|
2690
2690
|
if (x === i)
|
2691
2691
|
return D(7);
|
2692
|
-
var P = (
|
2693
|
-
return
|
2694
|
-
}, v.subtract = function(y,
|
2695
|
-
return this.add(-1 * y,
|
2692
|
+
var P = (w = {}, w[s] = 6e4, w[r] = 36e5, w[o] = 1e3, w)[x] || 1, H = this.$d.getTime() + y * P;
|
2693
|
+
return C.w(H, this);
|
2694
|
+
}, v.subtract = function(y, T) {
|
2695
|
+
return this.add(-1 * y, T);
|
2696
2696
|
}, v.format = function(y) {
|
2697
|
-
var
|
2697
|
+
var T = this;
|
2698
2698
|
if (!this.isValid())
|
2699
2699
|
return "Invalid Date";
|
2700
|
-
var
|
2701
|
-
return
|
2702
|
-
},
|
2703
|
-
return
|
2704
|
-
}, ft = x.meridiem || function(
|
2705
|
-
var
|
2706
|
-
return
|
2707
|
-
}, vt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: H + 1, MM:
|
2708
|
-
return
|
2709
|
-
return mt || vt[
|
2700
|
+
var w = y || "YYYY-MM-DDTHH:mm:ssZ", A = C.z(this), x = this.$locale(), D = this.$H, P = this.$m, H = this.$M, G = x.weekdays, lt = x.months, at = function(X, mt, Pt, nt) {
|
2701
|
+
return X && (X[mt] || X(T, w)) || Pt[mt].substr(0, nt);
|
2702
|
+
}, rt = function(X) {
|
2703
|
+
return C.s(D % 12 || 12, X, "0");
|
2704
|
+
}, ft = x.meridiem || function(X, mt, Pt) {
|
2705
|
+
var nt = X < 12 ? "AM" : "PM";
|
2706
|
+
return Pt ? nt.toLowerCase() : nt;
|
2707
|
+
}, vt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: H + 1, MM: C.s(H + 1, 2, "0"), MMM: at(x.monthsShort, H, lt, 3), MMMM: at(lt, H), D: this.$D, DD: C.s(this.$D, 2, "0"), d: String(this.$W), dd: at(x.weekdaysMin, this.$W, G, 2), ddd: at(x.weekdaysShort, this.$W, G, 3), dddd: G[this.$W], H: String(D), HH: C.s(D, 2, "0"), h: rt(1), hh: rt(2), a: ft(D, P, !0), A: ft(D, P, !1), m: String(P), mm: C.s(P, 2, "0"), s: String(this.$s), ss: C.s(this.$s, 2, "0"), SSS: C.s(this.$ms, 3, "0"), Z: A };
|
2708
|
+
return w.replace(m, function(X, mt) {
|
2709
|
+
return mt || vt[X] || A.replace(":", "");
|
2710
2710
|
});
|
2711
2711
|
}, v.utcOffset = function() {
|
2712
2712
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
2713
|
-
}, v.diff = function(y,
|
2714
|
-
var A, x =
|
2715
|
-
return G = (A = {}, A[d] = G / 12, A[l] = G, A[_] = G / 3, A[i] = (H - P) / 6048e5, A[c] = (H - P) / 864e5, A[r] = H / 36e5, A[s] = H / 6e4, A[o] = H / 1e3, A)[x] || H,
|
2713
|
+
}, v.diff = function(y, T, w) {
|
2714
|
+
var A, x = C.p(T), D = O(y), P = 6e4 * (D.utcOffset() - this.utcOffset()), H = this - D, G = C.m(this, D);
|
2715
|
+
return G = (A = {}, A[d] = G / 12, A[l] = G, A[_] = G / 3, A[i] = (H - P) / 6048e5, A[c] = (H - P) / 864e5, A[r] = H / 36e5, A[s] = H / 6e4, A[o] = H / 1e3, A)[x] || H, w ? G : C.a(G);
|
2716
2716
|
}, v.daysInMonth = function() {
|
2717
2717
|
return this.endOf(l).$D;
|
2718
2718
|
}, v.$locale = function() {
|
2719
|
-
return
|
2720
|
-
}, v.locale = function(y,
|
2719
|
+
return L[this.$L];
|
2720
|
+
}, v.locale = function(y, T) {
|
2721
2721
|
if (!y)
|
2722
2722
|
return this.$L;
|
2723
|
-
var
|
2724
|
-
return A && (
|
2723
|
+
var w = this.clone(), A = j(y, T, !0);
|
2724
|
+
return A && (w.$L = A), w;
|
2725
2725
|
}, v.clone = function() {
|
2726
|
-
return
|
2726
|
+
return C.w(this.$d, this);
|
2727
2727
|
}, v.toDate = function() {
|
2728
2728
|
return new Date(this.valueOf());
|
2729
2729
|
}, v.toJSON = function() {
|
@@ -2732,17 +2732,17 @@ var xt = {}, Hf = {
|
|
2732
2732
|
return this.$d.toISOString();
|
2733
2733
|
}, v.toString = function() {
|
2734
2734
|
return this.$d.toUTCString();
|
2735
|
-
},
|
2736
|
-
}(),
|
2737
|
-
return
|
2738
|
-
|
2739
|
-
return this.$g(v,
|
2735
|
+
}, M;
|
2736
|
+
}(), J = Y.prototype;
|
2737
|
+
return O.prototype = J, [["$ms", e], ["$s", o], ["$m", s], ["$H", r], ["$W", c], ["$M", l], ["$y", d], ["$D", u]].forEach(function(M) {
|
2738
|
+
J[M[1]] = function(v) {
|
2739
|
+
return this.$g(v, M[0], M[1]);
|
2740
2740
|
};
|
2741
|
-
}),
|
2742
|
-
return
|
2743
|
-
},
|
2744
|
-
return
|
2745
|
-
},
|
2741
|
+
}), O.extend = function(M, v) {
|
2742
|
+
return M(v, Y, O), O;
|
2743
|
+
}, O.locale = j, O.isDayjs = S, O.unix = function(M) {
|
2744
|
+
return O(1e3 * M);
|
2745
|
+
}, O.en = L[f], O.Ls = L, O;
|
2746
2746
|
});
|
2747
2747
|
})(Hf);
|
2748
2748
|
const Pf = xt;
|
@@ -2760,16 +2760,16 @@ var no = {}, Yf = {
|
|
2760
2760
|
})(yt, function(e) {
|
2761
2761
|
e = e && e.hasOwnProperty("default") ? e.default : e;
|
2762
2762
|
var o = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), s = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), r = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), c = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), i = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
|
2763
|
-
function l(p,
|
2764
|
-
var
|
2765
|
-
return b === "m" ?
|
2763
|
+
function l(p, m, b) {
|
2764
|
+
var g, k;
|
2765
|
+
return b === "m" ? m ? "минута" : "минуту" : p + " " + (g = +p, k = { mm: m ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[b].split("_"), g % 10 == 1 && g % 100 != 11 ? k[0] : g % 10 >= 2 && g % 10 <= 4 && (g % 100 < 10 || g % 100 >= 20) ? k[1] : k[2]);
|
2766
2766
|
}
|
2767
|
-
var _ = function(p,
|
2768
|
-
return i.test(
|
2767
|
+
var _ = function(p, m) {
|
2768
|
+
return i.test(m) ? o[p.month()] : s[p.month()];
|
2769
2769
|
};
|
2770
2770
|
_.s = s, _.f = o;
|
2771
|
-
var d = function(p,
|
2772
|
-
return i.test(
|
2771
|
+
var d = function(p, m) {
|
2772
|
+
return i.test(m) ? r[p.month()] : c[p.month()];
|
2773
2773
|
};
|
2774
2774
|
d.s = c, d.f = r;
|
2775
2775
|
var u = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: _, monthsShort: d, 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: l, mm: l, h: "час", hh: l, d: "день", dd: l, M: "месяц", MM: l, y: "год", yy: l }, ordinal: function(p) {
|
@@ -2910,20 +2910,20 @@ var lo = {}, Uf = {
|
|
2910
2910
|
return d % 10 < 5 && d % 10 > 1 && ~~(d / 10) % 10 != 1;
|
2911
2911
|
}
|
2912
2912
|
function s(d, u, p) {
|
2913
|
-
var
|
2913
|
+
var m = d + " ";
|
2914
2914
|
switch (p) {
|
2915
2915
|
case "m":
|
2916
2916
|
return u ? "minuta" : "minutę";
|
2917
2917
|
case "mm":
|
2918
|
-
return
|
2918
|
+
return m + (o(d) ? "minuty" : "minut");
|
2919
2919
|
case "h":
|
2920
2920
|
return u ? "godzina" : "godzinę";
|
2921
2921
|
case "hh":
|
2922
|
-
return
|
2922
|
+
return m + (o(d) ? "godziny" : "godzin");
|
2923
2923
|
case "MM":
|
2924
|
-
return
|
2924
|
+
return m + (o(d) ? "miesiące" : "miesięcy");
|
2925
2925
|
case "yy":
|
2926
|
-
return
|
2926
|
+
return m + (o(d) ? "lata" : "lat");
|
2927
2927
|
}
|
2928
2928
|
}
|
2929
2929
|
e = e && e.hasOwnProperty("default") ? e.default : e;
|
@@ -2937,7 +2937,7 @@ var lo = {}, Uf = {
|
|
2937
2937
|
return e.locale(_, null, !0), _;
|
2938
2938
|
});
|
2939
2939
|
})(Uf);
|
2940
|
-
const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Pf(t).locale(e).format(n) : "",
|
2940
|
+
const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Pf(t).locale(e).format(n) : "", Gt = ({
|
2941
2941
|
name: t,
|
2942
2942
|
short_name: n,
|
2943
2943
|
fallback: e
|
@@ -2947,9 +2947,9 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Pf(t).locale(e).format(n) : ""
|
|
2947
2947
|
}, zf = ({
|
2948
2948
|
oddFormatter: t
|
2949
2949
|
}) => {
|
2950
|
-
const n =
|
2950
|
+
const n = K(), e = V(n), o = (n == null ? void 0 : n.device) || "desktop", s = N($({}, e == null ? void 0 : e.teamALogo), {
|
2951
2951
|
backgroundImage: h(e, "match.teams[0].logo")
|
2952
|
-
}), r =
|
2952
|
+
}), r = N($({}, e == null ? void 0 : e.teamBLogo), {
|
2953
2953
|
backgroundImage: h(e, "match.teams[1].logo")
|
2954
2954
|
}), c = h(e, "match.lang_slug", "ru"), i = h(e, "match.sport_slug"), l = _o(h(e, "match.match_date"), "HH:mm", c), _ = _o(h(e, "match.match_date"), "DD MMMM", c), 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);
|
2955
2955
|
return a("div", {
|
@@ -2969,7 +2969,7 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Pf(t).locale(e).format(n) : ""
|
|
2969
2969
|
}), a("div", {
|
2970
2970
|
className: st.teamName,
|
2971
2971
|
style: e.teams,
|
2972
|
-
children: a(
|
2972
|
+
children: a(Gt, N($({}, h(e, "match.teams[0]")), {
|
2973
2973
|
fallback: "Team A"
|
2974
2974
|
}))
|
2975
2975
|
})]
|
@@ -2992,7 +2992,7 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Pf(t).locale(e).format(n) : ""
|
|
2992
2992
|
children: [u, a("div", {
|
2993
2993
|
className: st.oddValueInner,
|
2994
2994
|
style: e.oddValueInner,
|
2995
|
-
children: a(
|
2995
|
+
children: a(Vt, {
|
2996
2996
|
odd: p,
|
2997
2997
|
formatter: t
|
2998
2998
|
})
|
@@ -3009,7 +3009,7 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Pf(t).locale(e).format(n) : ""
|
|
3009
3009
|
}), a("div", {
|
3010
3010
|
className: st.teamName,
|
3011
3011
|
style: e.teams,
|
3012
|
-
children: a(
|
3012
|
+
children: a(Gt, N($({}, h(e, "match.teams[1]")), {
|
3013
3013
|
fallback: "Team B"
|
3014
3014
|
}))
|
3015
3015
|
})]
|
@@ -3046,10 +3046,10 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Pf(t).locale(e).format(n) : ""
|
|
3046
3046
|
let u = t;
|
3047
3047
|
if (e) {
|
3048
3048
|
const p = new URLSearchParams();
|
3049
|
-
Object.entries(e).forEach(([
|
3050
|
-
Array.isArray(b) ? b.forEach((
|
3051
|
-
|
3052
|
-
}) : b && p.append(
|
3049
|
+
Object.entries(e).forEach(([m, b]) => {
|
3050
|
+
Array.isArray(b) ? b.forEach((g, k) => {
|
3051
|
+
g && p.append(`${m}[${k}]`, g);
|
3052
|
+
}) : b && p.append(m, b);
|
3053
3053
|
}), u += `?${p.toString()}`;
|
3054
3054
|
}
|
3055
3055
|
return u;
|
@@ -3066,8 +3066,8 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Pf(t).locale(e).format(n) : ""
|
|
3066
3066
|
headers: {
|
3067
3067
|
"Content-Type": "application/json"
|
3068
3068
|
}
|
3069
|
-
}).then((
|
3070
|
-
console.error(
|
3069
|
+
}).then((m) => m.json()).catch((m) => {
|
3070
|
+
console.error(m), c(!1);
|
3071
3071
|
});
|
3072
3072
|
p && (ye.set(u, p.data), l(p.data)), c(!1);
|
3073
3073
|
}), [_, n, o, s]);
|
@@ -3080,7 +3080,7 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Pf(t).locale(e).format(n) : ""
|
|
3080
3080
|
};
|
3081
3081
|
};
|
3082
3082
|
function Ie(t) {
|
3083
|
-
const n =
|
3083
|
+
const n = q();
|
3084
3084
|
return z(() => {
|
3085
3085
|
n.current = t;
|
3086
3086
|
}, [t]), n.current;
|
@@ -3175,11 +3175,11 @@ const qf = (t) => {
|
|
3175
3175
|
De(c, r) || l();
|
3176
3176
|
}, [r, e]);
|
3177
3177
|
const d = s.map((u) => {
|
3178
|
-
const p = (i || []).find((
|
3178
|
+
const p = (i || []).find((g) => g.slug === u.root.targetMatch.matchSlug);
|
3179
3179
|
if (!p)
|
3180
3180
|
return;
|
3181
|
-
const
|
3182
|
-
return
|
3181
|
+
const m = de(p), b = tn(m, u.root.customMatch, (g, [k, f]) => W(f));
|
3182
|
+
return N($({}, u), {
|
3183
3183
|
match: b
|
3184
3184
|
});
|
3185
3185
|
}).filter(Boolean);
|
@@ -3192,80 +3192,80 @@ const qf = (t) => {
|
|
3192
3192
|
baseMatch: n,
|
3193
3193
|
oddFormatter: e
|
3194
3194
|
}, o) => {
|
3195
|
-
var lt,
|
3196
|
-
const [s, r] = ht(1 / 0), c =
|
3195
|
+
var lt, at, rt, ft, vt, X, mt, Pt, nt, rn, sn, cn, ln, _n, dn;
|
3196
|
+
const [s, r] = ht(1 / 0), c = q(null), i = Ht({
|
3197
3197
|
targetRef: c,
|
3198
3198
|
id: t
|
3199
|
-
}), l =
|
3200
|
-
_ && (Ut(_, "buttonWrapper.percent_width", (lt = _ == null ? void 0 : _.buttonWrapper) == null ? void 0 : lt.width), Ut(_, "legal.percent_width", (
|
3199
|
+
}), l = K(), _ = St(l, i);
|
3200
|
+
_ && (Ut(_, "buttonWrapper.percent_width", (lt = _ == null ? void 0 : _.buttonWrapper) == null ? void 0 : lt.width), Ut(_, "legal.percent_width", (at = _ == null ? void 0 : _.legal) == null ? void 0 : at.width));
|
3201
3201
|
const d = V(_);
|
3202
3202
|
At(_);
|
3203
|
-
const u = h(d, "root.delay", 0),
|
3203
|
+
const u = h(d, "root.delay", 0), m = h(d, "children", []).find((je) => je.name === "auto"), {
|
3204
3204
|
isOpen: b,
|
3205
|
-
apiHost:
|
3206
|
-
clickHide:
|
3207
|
-
click:
|
3208
|
-
} = en(o, u, !0),
|
3209
|
-
expressMatches:
|
3210
|
-
autoMatch:
|
3211
|
-
} = Kf(_,
|
3212
|
-
|
3213
|
-
const v =
|
3214
|
-
alignItems: Dt((
|
3215
|
-
}), y =
|
3205
|
+
apiHost: g,
|
3206
|
+
clickHide: k,
|
3207
|
+
click: f
|
3208
|
+
} = en(o, u, !0), L = h(d, "close.variant", "default"), S = h(d, "close.radius", 21), j = h(d, "close.colorDirection", "default"), O = h(d, "close.timeoutLock", !1), C = L === "timer" ? s <= 0 : !0, Y = L === "timer" && O && s > 0 ? "div" : "a", {
|
3209
|
+
expressMatches: J,
|
3210
|
+
autoMatch: M
|
3211
|
+
} = Kf(_, g, m ? n : void 0);
|
3212
|
+
m && (m.match = M);
|
3213
|
+
const v = N($({}, d.root), {
|
3214
|
+
alignItems: Dt((rt = d.root) == null ? void 0 : rt.align)
|
3215
|
+
}), y = N($({}, d.content), {
|
3216
3216
|
alignItems: Dt((ft = d.root) == null ? void 0 : ft.align)
|
3217
|
-
}),
|
3217
|
+
}), T = N($({}, d.text), {
|
3218
3218
|
textAlign: (vt = d.root) == null ? void 0 : vt.align
|
3219
|
-
}),
|
3220
|
-
justifyContent: Dt((
|
3221
|
-
}), A =
|
3219
|
+
}), w = N($({}, d == null ? void 0 : d.button), {
|
3220
|
+
justifyContent: Dt((X = d.root) == null ? void 0 : X.textAlign)
|
3221
|
+
}), A = N($({}, d == null ? void 0 : d.legal), {
|
3222
3222
|
justifyContent: Dt((mt = d.root) == null ? void 0 : mt.textAlign)
|
3223
|
-
}), x = +h(
|
3223
|
+
}), x = +h(m, "root.bonusValue", 0), D = +h(m, "match.prediction.factor", 0), P = ce((Pt = d.text) == null ? void 0 : Pt.children, {
|
3224
3224
|
bonusValue: x,
|
3225
3225
|
clearResult: (x * D - x).toFixed(0),
|
3226
3226
|
rawResult: (x * D).toFixed(0),
|
3227
3227
|
rate: D
|
3228
3228
|
}, {
|
3229
3229
|
parse: !1
|
3230
|
-
}), H = D === 0 ? h(d, "text.fallbackChildren") : P, G = (
|
3230
|
+
}), H = D === 0 ? h(d, "text.fallbackChildren") : P, G = (nt = d.root) == null ? void 0 : nt.corner;
|
3231
3231
|
return a("div", {
|
3232
|
-
className: I(
|
3233
|
-
[
|
3234
|
-
[
|
3235
|
-
[
|
3232
|
+
className: I(ot.root, {
|
3233
|
+
[ot.desktop]: i === "desktop",
|
3234
|
+
[ot.laptop]: i === "laptop",
|
3235
|
+
[ot.tablet]: i === "tablet"
|
3236
3236
|
}),
|
3237
3237
|
ref: c,
|
3238
3238
|
style: {
|
3239
3239
|
display: b ? "flex" : "none"
|
3240
3240
|
},
|
3241
3241
|
children: [a("div", {
|
3242
|
-
className:
|
3242
|
+
className: ot.overlay,
|
3243
3243
|
style: d.overlay,
|
3244
|
-
onClick:
|
3244
|
+
onClick: C && k
|
3245
3245
|
}), a("div", {
|
3246
|
-
className:
|
3247
|
-
children: [
|
3248
|
-
className:
|
3249
|
-
style:
|
3246
|
+
className: ot.content,
|
3247
|
+
children: [L === "default" ? a("div", {
|
3248
|
+
className: ot.close,
|
3249
|
+
style: N($({}, d.close), {
|
3250
3250
|
borderBottomLeftRadius: `${G}px`,
|
3251
3251
|
borderTopRightRadius: `${G}px`
|
3252
3252
|
}),
|
3253
|
-
onClick:
|
3254
|
-
children: a(
|
3253
|
+
onClick: k,
|
3254
|
+
children: a(Ft, {
|
3255
3255
|
width: 11,
|
3256
3256
|
height: 11
|
3257
3257
|
})
|
3258
3258
|
}) : a("div", {
|
3259
|
-
className:
|
3259
|
+
className: ot.closeTimer,
|
3260
3260
|
children: a(nn, {
|
3261
3261
|
timeout: h(d, "close.timeout"),
|
3262
3262
|
colorDirection: j,
|
3263
|
-
radius:
|
3264
|
-
onClick:
|
3263
|
+
radius: S,
|
3264
|
+
onClick: k,
|
3265
3265
|
onChange: r
|
3266
3266
|
})
|
3267
3267
|
}), a(B, {
|
3268
|
-
className:
|
3268
|
+
className: ot.promotion,
|
3269
3269
|
style: d.promotion,
|
3270
3270
|
children: (rn = d.promotion) == null ? void 0 : rn.children
|
3271
3271
|
}), a(Y, {
|
@@ -3273,31 +3273,31 @@ const qf = (t) => {
|
|
3273
3273
|
href: (sn = d.root) == null ? void 0 : sn.offer,
|
3274
3274
|
target: "_blank",
|
3275
3275
|
rel: "nofollow noopener noreferrer",
|
3276
|
-
onClick: () => Y === "a" &&
|
3276
|
+
onClick: () => Y === "a" && f(d.id),
|
3277
3277
|
children: a("div", {
|
3278
|
-
className:
|
3278
|
+
className: ot.body,
|
3279
3279
|
style: v,
|
3280
3280
|
children: [a("div", {
|
3281
|
-
className:
|
3281
|
+
className: ot.head,
|
3282
3282
|
children: [a(B, {
|
3283
|
-
className:
|
3283
|
+
className: ot.title,
|
3284
3284
|
style: d.title,
|
3285
3285
|
children: (cn = d.title) == null ? void 0 : cn.children
|
3286
3286
|
}), a("div", {
|
3287
|
-
className:
|
3287
|
+
className: ot.logo,
|
3288
3288
|
style: d.logo
|
3289
3289
|
})]
|
3290
3290
|
}), a("div", {
|
3291
|
-
className:
|
3291
|
+
className: ot.wrapper,
|
3292
3292
|
style: y,
|
3293
|
-
children: [(
|
3294
|
-
value:
|
3293
|
+
children: [(J != null ? J : []).map((je) => a(Rt, {
|
3294
|
+
value: N($({}, je), {
|
3295
3295
|
device: i
|
3296
3296
|
}),
|
3297
3297
|
oddFormatter: e,
|
3298
3298
|
children: a(yf, {})
|
3299
|
-
})),
|
3300
|
-
value:
|
3299
|
+
})), m && a(Rt, {
|
3300
|
+
value: N($({}, m), {
|
3301
3301
|
device: i
|
3302
3302
|
}),
|
3303
3303
|
children: a(zf, {
|
@@ -3305,25 +3305,25 @@ const qf = (t) => {
|
|
3305
3305
|
})
|
3306
3306
|
})]
|
3307
3307
|
}), a(B, {
|
3308
|
-
className:
|
3309
|
-
style:
|
3310
|
-
typography:
|
3311
|
-
accentTypography:
|
3308
|
+
className: ot.text,
|
3309
|
+
style: T,
|
3310
|
+
typography: T.typography,
|
3311
|
+
accentTypography: T.accentTypography,
|
3312
3312
|
children: H
|
3313
3313
|
}), a("div", {
|
3314
|
-
className:
|
3314
|
+
className: ot.button,
|
3315
3315
|
style: d.buttonWrapper,
|
3316
3316
|
children: [a("div", {
|
3317
|
-
className:
|
3317
|
+
className: ot.buttonHead,
|
3318
3318
|
style: d.buttonHead,
|
3319
3319
|
children: (ln = d.buttonHead) == null ? void 0 : ln.children
|
3320
3320
|
}), a("div", {
|
3321
|
-
className:
|
3322
|
-
style:
|
3321
|
+
className: ot.buttonTarget,
|
3322
|
+
style: w,
|
3323
3323
|
children: (_n = d.button) == null ? void 0 : _n.children
|
3324
3324
|
})]
|
3325
3325
|
}), a(B, {
|
3326
|
-
className:
|
3326
|
+
className: ot.legal,
|
3327
3327
|
style: A,
|
3328
3328
|
children: (dn = d.legal) == null ? void 0 : dn.children
|
3329
3329
|
})]
|
@@ -3346,7 +3346,7 @@ const qf = (t) => {
|
|
3346
3346
|
legalButton: cm
|
3347
3347
|
}, lm = (t) => {
|
3348
3348
|
var i, l;
|
3349
|
-
const n =
|
3349
|
+
const n = K(), e = (i = n == null ? void 0 : n.root) == null ? void 0 : i.promotionSlug, o = ((l = n == null ? void 0 : n.root) == null ? void 0 : l.promotionFields) || [], s = It(() => !e || (o == null ? void 0 : o.length) === 0 ? [] : o.map((_) => `${e}:${_}`), [e, o]), {
|
3350
3350
|
data: r
|
3351
3351
|
} = re(`${t}/promotion/by-keys`, {
|
3352
3352
|
method: "GET",
|
@@ -3366,14 +3366,14 @@ const qf = (t) => {
|
|
3366
3366
|
apiHost: t,
|
3367
3367
|
onClick: n
|
3368
3368
|
}) => {
|
3369
|
-
var u, p,
|
3370
|
-
const e =
|
3369
|
+
var u, p, m, b, g, k, f, L, S, j, O, C, Y;
|
3370
|
+
const e = K(), o = V(e), {
|
3371
3371
|
promotionValues: s
|
3372
|
-
} = lm(t), [r, c] = fe(), i = !!((u = o.legalInfoButton) != null && u.closeText && ((
|
3372
|
+
} = lm(t), [r, c] = fe(), i = !!((u = o.legalInfoButton) != null && u.closeText && ((m = (p = o.legalInfoButton) == null ? void 0 : p.closeText) == null ? void 0 : m.length) > 0), l = ce((b = o.rowFirst) == null ? void 0 : b.children, s, {
|
3373
3373
|
parse: !1
|
3374
|
-
}), _ = ce((
|
3374
|
+
}), _ = ce((g = o.rowSecond) == null ? void 0 : g.children, s, {
|
3375
3375
|
parse: !1
|
3376
|
-
}), d = ce((
|
3376
|
+
}), d = ce((k = o.bookmaker) == null ? void 0 : k.children, s, {
|
3377
3377
|
parse: !1
|
3378
3378
|
});
|
3379
3379
|
return a("div", {
|
@@ -3383,7 +3383,7 @@ const qf = (t) => {
|
|
3383
3383
|
className: kt.background,
|
3384
3384
|
style: jt(o.root, ...bt)
|
3385
3385
|
}), a("a", {
|
3386
|
-
href: (
|
3386
|
+
href: (f = o.root) == null ? void 0 : f.offer,
|
3387
3387
|
target: "_blank",
|
3388
3388
|
rel: "nofollow noopener noreferrer",
|
3389
3389
|
className: kt.body,
|
@@ -3393,13 +3393,13 @@ const qf = (t) => {
|
|
3393
3393
|
className: kt.rowFirst,
|
3394
3394
|
style: o == null ? void 0 : o.rowFirst,
|
3395
3395
|
typography: o == null ? void 0 : o.rowFirst,
|
3396
|
-
accentTypography: (
|
3396
|
+
accentTypography: (L = o == null ? void 0 : o.rowFirst) == null ? void 0 : L.accentTypography,
|
3397
3397
|
children: l
|
3398
3398
|
}), a(B, {
|
3399
3399
|
className: kt.rowSecond,
|
3400
3400
|
style: o == null ? void 0 : o.rowSecond,
|
3401
3401
|
typography: o == null ? void 0 : o.rowSecond,
|
3402
|
-
accentTypography: (
|
3402
|
+
accentTypography: (S = o == null ? void 0 : o.rowSecond) == null ? void 0 : S.accentTypography,
|
3403
3403
|
children: _
|
3404
3404
|
}), a("div", {
|
3405
3405
|
className: kt.bookmaker,
|
@@ -3419,17 +3419,17 @@ const qf = (t) => {
|
|
3419
3419
|
style: o.legalInfo,
|
3420
3420
|
children: [a("div", {
|
3421
3421
|
className: kt.legalText,
|
3422
|
-
children: (
|
3422
|
+
children: (O = o.legalInfo) == null ? void 0 : O.children
|
3423
3423
|
}), a("div", {
|
3424
3424
|
className: kt.legalButton,
|
3425
3425
|
style: o.legalInfoButton,
|
3426
3426
|
onClick: c,
|
3427
|
-
children: r ? (
|
3427
|
+
children: r ? (C = o.legalInfoButton) == null ? void 0 : C.openText : (Y = o.legalInfoButton) == null ? void 0 : Y.closeText
|
3428
3428
|
})]
|
3429
3429
|
})]
|
3430
3430
|
});
|
3431
3431
|
}, dm = (t) => {
|
3432
|
-
const n =
|
3432
|
+
const n = q(Qe()), e = (o) => n.current.on("click", o);
|
3433
3433
|
return ze(t, () => ({
|
3434
3434
|
promoId: "ContentCards",
|
3435
3435
|
onClick: e,
|
@@ -3441,7 +3441,7 @@ const qf = (t) => {
|
|
3441
3441
|
}, um = Qt(({
|
3442
3442
|
apiHost: t
|
3443
3443
|
}, n) => {
|
3444
|
-
const e =
|
3444
|
+
const e = q(null), o = K(), r = St(o, "mobile"), c = V(r);
|
3445
3445
|
At(r);
|
3446
3446
|
const {
|
3447
3447
|
click: i
|
@@ -3486,7 +3486,7 @@ const qf = (t) => {
|
|
3486
3486
|
root: Am,
|
3487
3487
|
pulse: Om,
|
3488
3488
|
"word-animation": "_word-animation_1m5wb_1"
|
3489
|
-
},
|
3489
|
+
}, Et = ({
|
3490
3490
|
duration: t = 1e3,
|
3491
3491
|
delay: n = 0,
|
3492
3492
|
pause: e = !1
|
@@ -3515,11 +3515,11 @@ const qf = (t) => {
|
|
3515
3515
|
pause: n,
|
3516
3516
|
deps: e = []
|
3517
3517
|
}) => {
|
3518
|
-
const o =
|
3518
|
+
const o = q(null), s = Et({
|
3519
3519
|
pause: n,
|
3520
3520
|
duration: be,
|
3521
3521
|
delay: (i) => i > 0 ? fo : mo
|
3522
|
-
}), r =
|
3522
|
+
}), r = Et({
|
3523
3523
|
pause: n,
|
3524
3524
|
duration: fo,
|
3525
3525
|
delay: (i) => i === 0 ? be + mo : be
|
@@ -3534,24 +3534,24 @@ const qf = (t) => {
|
|
3534
3534
|
if (l && l.childNodes.length > 0) {
|
3535
3535
|
const _ = Array.from(l.childNodes), d = [];
|
3536
3536
|
_.forEach((b) => {
|
3537
|
-
var
|
3537
|
+
var g, k;
|
3538
3538
|
if (b instanceof HTMLElement && b.getAttribute("data-wrapped") === "1")
|
3539
3539
|
d.push(b);
|
3540
3540
|
else if (b.nodeType === Node.TEXT_NODE) {
|
3541
|
-
const
|
3542
|
-
d.push(...
|
3541
|
+
const f = ((g = b.textContent) == null ? void 0 : g.split(" ")) || [];
|
3542
|
+
d.push(...f.filter((L) => L !== "").map((L) => [L, " "]).flat());
|
3543
3543
|
} else
|
3544
|
-
(((
|
3545
|
-
const
|
3546
|
-
|
3544
|
+
(((k = b.textContent) == null ? void 0 : k.split(" ")) || []).forEach((L) => {
|
3545
|
+
const S = b.cloneNode();
|
3546
|
+
S.textContent = L + " ", d.push(S);
|
3547
3547
|
});
|
3548
3548
|
});
|
3549
3549
|
const u = document.createElement("span");
|
3550
3550
|
u.setAttribute("data-wrapped", "1");
|
3551
3551
|
const p = be / d.length;
|
3552
|
-
let
|
3552
|
+
let m = 0;
|
3553
3553
|
d.forEach((b) => {
|
3554
|
-
typeof b == "string" && b === " " ? u.appendChild(document.createTextNode(" ")) : b instanceof HTMLElement && b.getAttribute("data-wrapped") === "1" ? u.appendChild(b) : (u.appendChild(c(b,
|
3554
|
+
typeof b == "string" && b === " " ? u.appendChild(document.createTextNode(" ")) : b instanceof HTMLElement && b.getAttribute("data-wrapped") === "1" ? u.appendChild(b) : (u.appendChild(c(b, m, p)), m++);
|
3555
3555
|
}), l.textContent = "", l.appendChild(u);
|
3556
3556
|
}
|
3557
3557
|
}
|
@@ -3567,7 +3567,7 @@ const qf = (t) => {
|
|
3567
3567
|
pauseAnimation: n
|
3568
3568
|
}) => {
|
3569
3569
|
var s, r, c, i;
|
3570
|
-
const e =
|
3570
|
+
const e = K(), o = V(e);
|
3571
3571
|
return t ? a("div", {
|
3572
3572
|
className: I(uo.root, {
|
3573
3573
|
[uo.desktop]: (e == null ? void 0 : e.device) === "desktop"
|
@@ -3583,7 +3583,7 @@ const qf = (t) => {
|
|
3583
3583
|
})
|
3584
3584
|
})
|
3585
3585
|
}) : null;
|
3586
|
-
}, jm = "_root_17wf3_1", Rm = "_title_17wf3_8", Hm = "_desktop_17wf3_13", Pm = "_laptop_17wf3_13", Ym = "_titleLabel_17wf3_17", Bm = "_tablet_17wf3_20", Em = "_titleValue_17wf3_27", Vm = "_teamLogo_17wf3_38", Gm = "_teams_17wf3_49", Fm = "_teamName_17wf3_57", Wm = "_odds_17wf3_65", Um = "_odd_17wf3_65", zm = "_oddX_17wf3_77", qm = "_oddValue_17wf3_85",
|
3586
|
+
}, jm = "_root_17wf3_1", Rm = "_title_17wf3_8", Hm = "_desktop_17wf3_13", Pm = "_laptop_17wf3_13", Ym = "_titleLabel_17wf3_17", Bm = "_tablet_17wf3_20", Em = "_titleValue_17wf3_27", Vm = "_teamLogo_17wf3_38", Gm = "_teams_17wf3_49", Fm = "_teamName_17wf3_57", Wm = "_odds_17wf3_65", Um = "_odd_17wf3_65", zm = "_oddX_17wf3_77", qm = "_oddValue_17wf3_85", et = {
|
3587
3587
|
root: jm,
|
3588
3588
|
title: Rm,
|
3589
3589
|
desktop: Hm,
|
@@ -3606,92 +3606,92 @@ const qf = (t) => {
|
|
3606
3606
|
oddFormatter: t
|
3607
3607
|
}) => {
|
3608
3608
|
var i, l;
|
3609
|
-
const n =
|
3609
|
+
const n = K(), e = V(n), o = h(e, "match.sportSlug"), s = Tt(e.root, ...bt), r = N($({}, e.teamLogo), {
|
3610
3610
|
backgroundImage: Jt(h(e, "match.teams[0].logo"), [120, 120]),
|
3611
3611
|
backgroundColor: "transparent"
|
3612
|
-
}), c =
|
3612
|
+
}), c = N($({}, e.teamLogo), {
|
3613
3613
|
backgroundImage: Jt(h(e, "match.teams[1].logo"), [120, 120]),
|
3614
3614
|
backgroundColor: "transparent"
|
3615
3615
|
});
|
3616
3616
|
return a("div", {
|
3617
|
-
className: I(
|
3618
|
-
[
|
3619
|
-
[
|
3620
|
-
[
|
3617
|
+
className: I(et.root, {
|
3618
|
+
[et.desktop]: n.device === "desktop",
|
3619
|
+
[et.laptop]: n.device === "laptop",
|
3620
|
+
[et.tablet]: n.device === "tablet"
|
3621
3621
|
}),
|
3622
3622
|
style: s,
|
3623
3623
|
children: [a("div", {
|
3624
|
-
className:
|
3624
|
+
className: et.title,
|
3625
3625
|
children: [a("div", {
|
3626
|
-
className:
|
3626
|
+
className: et.titleLabel,
|
3627
3627
|
style: e.titleLabel,
|
3628
3628
|
children: (i = e.titleLabel) == null ? void 0 : i.children
|
3629
3629
|
}), a("div", {
|
3630
|
-
className:
|
3630
|
+
className: et.titleValue,
|
3631
3631
|
style: e.titleValue,
|
3632
3632
|
children: (l = e.titleValue) == null ? void 0 : l.children
|
3633
3633
|
})]
|
3634
3634
|
}), a("div", {
|
3635
|
-
className:
|
3635
|
+
className: et.odds,
|
3636
3636
|
children: [a("div", {
|
3637
|
-
className:
|
3637
|
+
className: et.odd,
|
3638
3638
|
children: [a(wt, {
|
3639
|
-
className:
|
3639
|
+
className: et.teamLogo,
|
3640
3640
|
style: r,
|
3641
3641
|
src: r.backgroundImage,
|
3642
3642
|
sportSlug: o,
|
3643
3643
|
country: h(e, "match.teams[0].country")
|
3644
3644
|
}), a("div", {
|
3645
|
-
className:
|
3645
|
+
className: et.oddValue,
|
3646
3646
|
style: e.value,
|
3647
|
-
children: a(
|
3647
|
+
children: a(Vt, {
|
3648
3648
|
odd: h(e, "match.markets.one_x_two.w1"),
|
3649
3649
|
formatter: t
|
3650
3650
|
})
|
3651
3651
|
})]
|
3652
3652
|
}), a("div", {
|
3653
|
-
className:
|
3653
|
+
className: et.odd,
|
3654
3654
|
children: [a("div", {
|
3655
|
-
className:
|
3655
|
+
className: et.oddX,
|
3656
3656
|
style: e.coef,
|
3657
3657
|
children: "X"
|
3658
3658
|
}), a("div", {
|
3659
|
-
className:
|
3659
|
+
className: et.oddValue,
|
3660
3660
|
style: e.value,
|
3661
|
-
children: a(
|
3661
|
+
children: a(Vt, {
|
3662
3662
|
odd: h(e, "match.markets.one_x_two.x"),
|
3663
3663
|
formatter: t
|
3664
3664
|
})
|
3665
3665
|
})]
|
3666
3666
|
}), a("div", {
|
3667
|
-
className:
|
3667
|
+
className: et.odd,
|
3668
3668
|
children: [a(wt, {
|
3669
|
-
className:
|
3669
|
+
className: et.teamLogo,
|
3670
3670
|
style: c,
|
3671
3671
|
src: c.backgroundImage,
|
3672
3672
|
sportSlug: o,
|
3673
3673
|
country: h(e, "match.teams[1].country")
|
3674
3674
|
}), a("div", {
|
3675
|
-
className:
|
3675
|
+
className: et.oddValue,
|
3676
3676
|
style: e.value,
|
3677
|
-
children: a(
|
3677
|
+
children: a(Vt, {
|
3678
3678
|
odd: h(e, "match.markets.one_x_two.w2"),
|
3679
3679
|
formatter: t
|
3680
3680
|
})
|
3681
3681
|
})]
|
3682
3682
|
})]
|
3683
3683
|
}), a("div", {
|
3684
|
-
className:
|
3684
|
+
className: et.teams,
|
3685
3685
|
children: [a("div", {
|
3686
|
-
className:
|
3686
|
+
className: et.teamName,
|
3687
3687
|
style: e.teamName,
|
3688
|
-
children: a(
|
3688
|
+
children: a(Gt, N($({}, h(e, "match.teams[0]")), {
|
3689
3689
|
fallback: "Team A"
|
3690
3690
|
}))
|
3691
3691
|
}), a("div", {
|
3692
|
-
className:
|
3692
|
+
className: et.teamName,
|
3693
3693
|
style: e.teamName,
|
3694
|
-
children: a(
|
3694
|
+
children: a(Gt, N($({}, h(e, "match.teams[1]")), {
|
3695
3695
|
fallback: "Team B"
|
3696
3696
|
}))
|
3697
3697
|
})]
|
@@ -3718,10 +3718,10 @@ const qf = (t) => {
|
|
3718
3718
|
oddFormatter: t
|
3719
3719
|
}) => {
|
3720
3720
|
var c, i;
|
3721
|
-
const n =
|
3721
|
+
const n = K(), e = V(n), o = h(e, "match.sportSlug"), s = N($($({}, jt(e.root, ...bt)), e.teamLogo), {
|
3722
3722
|
backgroundColor: "transparent",
|
3723
3723
|
backgroundImage: Jt(h(e, "match.teams[0].logo"), [120, 120])
|
3724
|
-
}), r =
|
3724
|
+
}), r = N($($({}, jt(e.root, ...bt)), e.teamLogo), {
|
3725
3725
|
backgroundColor: "transparent",
|
3726
3726
|
backgroundImage: Jt(h(e, "match.teams[1].logo"), [120, 120])
|
3727
3727
|
});
|
@@ -3766,13 +3766,13 @@ const qf = (t) => {
|
|
3766
3766
|
children: [a("div", {
|
3767
3767
|
className: it.teamName,
|
3768
3768
|
style: e.teamName,
|
3769
|
-
children: a(
|
3769
|
+
children: a(Gt, N($({}, h(e, "match.teams[0]")), {
|
3770
3770
|
fallback: "Team A"
|
3771
3771
|
}))
|
3772
3772
|
}), a("div", {
|
3773
3773
|
className: it.teamName,
|
3774
3774
|
style: e.teamName,
|
3775
|
-
children: a(
|
3775
|
+
children: a(Gt, N($({}, h(e, "match.teams[1]")), {
|
3776
3776
|
fallback: "Team B"
|
3777
3777
|
}))
|
3778
3778
|
})]
|
@@ -3781,14 +3781,14 @@ const qf = (t) => {
|
|
3781
3781
|
children: [a("div", {
|
3782
3782
|
className: it.teamValue,
|
3783
3783
|
style: e.value,
|
3784
|
-
children: a(
|
3784
|
+
children: a(Vt, {
|
3785
3785
|
odd: h(e, "match.markets.one_two.w1"),
|
3786
3786
|
formatter: t
|
3787
3787
|
})
|
3788
3788
|
}), a("div", {
|
3789
3789
|
className: it.teamValue,
|
3790
3790
|
style: e.value,
|
3791
|
-
children: a(
|
3791
|
+
children: a(Vt, {
|
3792
3792
|
odd: h(e, "match.markets.one_two.w2"),
|
3793
3793
|
formatter: t
|
3794
3794
|
})
|
@@ -3798,7 +3798,7 @@ const qf = (t) => {
|
|
3798
3798
|
});
|
3799
3799
|
}, pg = (t = [], n = !1) => {
|
3800
3800
|
var i;
|
3801
|
-
const e =
|
3801
|
+
const e = q(0), o = t.length, [s, r] = ht(0), c = (i = t[s || 0]) == null ? void 0 : i.animationDuration;
|
3802
3802
|
return z(() => {
|
3803
3803
|
const l = () => {
|
3804
3804
|
r((_) => _ + 1 < o ? _ + 1 : 0), e.current += 1;
|
@@ -3820,9 +3820,9 @@ const qf = (t) => {
|
|
3820
3820
|
matchesOneTwo: "one_two"
|
3821
3821
|
}, go = (t) => [fg[t]], mg = (t, n, e) => {
|
3822
3822
|
const o = (p) => {
|
3823
|
-
var
|
3824
|
-
return W(p == null ? void 0 : p.matchSlug) && ((
|
3825
|
-
}, s = (t == null ? void 0 : t.children) || [], r = s.filter((p) => o(p.root.targetMatch)).map((p) =>
|
3823
|
+
var m;
|
3824
|
+
return W(p == null ? void 0 : p.matchSlug) && ((m = p == null ? void 0 : p.matchSlug) == null ? void 0 : m.length) > 0 || (p == null ? void 0 : p.isAuto);
|
3825
|
+
}, s = (t == null ? void 0 : t.children) || [], r = s.filter((p) => o(p.root.targetMatch)).map((p) => N($({}, p.root.targetMatch), {
|
3826
3826
|
markets: go(p.name)
|
3827
3827
|
})), c = r.find((p) => p.isAuto), i = Ie(r), {
|
3828
3828
|
data: l,
|
@@ -3846,7 +3846,7 @@ const qf = (t) => {
|
|
3846
3846
|
dependsOn: "markets",
|
3847
3847
|
apiHost: n,
|
3848
3848
|
pause: !c || !e,
|
3849
|
-
match:
|
3849
|
+
match: N($({}, e), {
|
3850
3850
|
markets: c == null ? void 0 : c.markets,
|
3851
3851
|
bookmaker: c == null ? void 0 : c.bookmaker
|
3852
3852
|
})
|
@@ -3854,27 +3854,27 @@ const qf = (t) => {
|
|
3854
3854
|
return z(() => {
|
3855
3855
|
De(i, r) || _();
|
3856
3856
|
}, [r]), s.map((p) => {
|
3857
|
-
var
|
3857
|
+
var m, b;
|
3858
3858
|
if ("targetMatch" in p.root) {
|
3859
|
-
const
|
3860
|
-
if (((b = (
|
3861
|
-
return
|
3859
|
+
const g = go(p.name), k = (l || []).find((j) => j.slug === p.root.targetMatch.matchSlug);
|
3860
|
+
if (((b = (m = p == null ? void 0 : p.root) == null ? void 0 : m.targetMatch) == null ? void 0 : b.isAuto) && d)
|
3861
|
+
return N($({}, p), {
|
3862
3862
|
match: de(d, {
|
3863
|
-
markets:
|
3863
|
+
markets: g
|
3864
3864
|
})
|
3865
3865
|
});
|
3866
|
-
if (!
|
3866
|
+
if (!k)
|
3867
3867
|
return;
|
3868
|
-
const
|
3869
|
-
markets:
|
3870
|
-
}),
|
3871
|
-
return
|
3872
|
-
match:
|
3868
|
+
const L = de(k, {
|
3869
|
+
markets: g
|
3870
|
+
}), S = tn(L, p.root.customMatch, (j, [O, C]) => W(C));
|
3871
|
+
return N($({}, p), {
|
3872
|
+
match: S
|
3873
3873
|
});
|
3874
3874
|
}
|
3875
3875
|
return p;
|
3876
3876
|
}).filter(Boolean);
|
3877
|
-
}, gg = "_buttonWrapper_1dfcb_1", hg = "_variant2_1dfcb_4", yg = "_desktop_1dfcb_18", bg = "_laptop_1dfcb_18", vg = "_button_1dfcb_1", $g = "_button_increase_1dfcb_47", kg = "_increase_1dfcb_1", Cg = "_button_pulseWithOverlay_1dfcb_50", wg = "_button_pulse_1dfcb_50", Tg = "_pulse_1dfcb_1", Mg = "_button_clone_1dfcb_58", Ng = "_cloneFade_1dfcb_1", xg = "_logo_1dfcb_70",
|
3877
|
+
}, gg = "_buttonWrapper_1dfcb_1", hg = "_variant2_1dfcb_4", yg = "_desktop_1dfcb_18", bg = "_laptop_1dfcb_18", vg = "_button_1dfcb_1", $g = "_button_increase_1dfcb_47", kg = "_increase_1dfcb_1", Cg = "_button_pulseWithOverlay_1dfcb_50", wg = "_button_pulse_1dfcb_50", Tg = "_pulse_1dfcb_1", Mg = "_button_clone_1dfcb_58", Ng = "_cloneFade_1dfcb_1", xg = "_logo_1dfcb_70", Yt = {
|
3878
3878
|
buttonWrapper: gg,
|
3879
3879
|
variant2: hg,
|
3880
3880
|
desktop: yg,
|
@@ -3889,11 +3889,11 @@ const qf = (t) => {
|
|
3889
3889
|
cloneFade: Ng,
|
3890
3890
|
logo: xg
|
3891
3891
|
}, Lg = (t = !1) => {
|
3892
|
-
const n =
|
3892
|
+
const n = Et({
|
3893
3893
|
pause: t,
|
3894
3894
|
duration: 2e3,
|
3895
3895
|
delay: (o) => o > 0 ? 2600 : 0
|
3896
|
-
}), e =
|
3896
|
+
}), e = Et({
|
3897
3897
|
pause: t,
|
3898
3898
|
duration: 2600,
|
3899
3899
|
delay: 2e3
|
@@ -3910,17 +3910,17 @@ const qf = (t) => {
|
|
3910
3910
|
const e = ((i = t == null ? void 0 : t.button) == null ? void 0 : i.animationName) === "pulseWithOverlay", o = ((l = t == null ? void 0 : t.button) == null ? void 0 : l.animationName) === "increase", {
|
3911
3911
|
cloneAnimation: s,
|
3912
3912
|
pulseAnimation: r
|
3913
|
-
} = Lg(!e || n), c = [s &&
|
3913
|
+
} = Lg(!e || n), c = [s && Yt.button_clone, r && Yt.pulse].filter(Boolean).join(", ");
|
3914
3914
|
return a("div", {
|
3915
|
-
className:
|
3915
|
+
className: Yt.buttonWrapper,
|
3916
3916
|
children: a("div", {
|
3917
|
-
className: I(
|
3918
|
-
[
|
3919
|
-
[
|
3920
|
-
[
|
3921
|
-
[
|
3917
|
+
className: I(Yt.button, {
|
3918
|
+
[Yt.button_pulseWithOverlay]: e,
|
3919
|
+
[Yt.button_increase]: o,
|
3920
|
+
[Yt.button_clone]: s,
|
3921
|
+
[Yt.button_pulse]: r
|
3922
3922
|
}),
|
3923
|
-
style:
|
3923
|
+
style: N($({}, t == null ? void 0 : t.button), {
|
3924
3924
|
animationName: c
|
3925
3925
|
}),
|
3926
3926
|
children: a("div", {
|
@@ -3928,7 +3928,7 @@ const qf = (t) => {
|
|
3928
3928
|
position: "relative"
|
3929
3929
|
},
|
3930
3930
|
children: [a("div", {
|
3931
|
-
className:
|
3931
|
+
className: Yt.logo,
|
3932
3932
|
style: t == null ? void 0 : t.logo
|
3933
3933
|
}), (_ = t == null ? void 0 : t.button) == null ? void 0 : _.children]
|
3934
3934
|
})
|
@@ -3944,13 +3944,13 @@ const qf = (t) => {
|
|
3944
3944
|
onClose: c,
|
3945
3945
|
onClick: i
|
3946
3946
|
}) => {
|
3947
|
-
var
|
3948
|
-
const l =
|
3947
|
+
var C, Y, J, M;
|
3948
|
+
const l = q(null), _ = K(), d = Ht({
|
3949
3949
|
id: t,
|
3950
3950
|
targetRef: l
|
3951
3951
|
}), u = St(_, d), p = V(u);
|
3952
3952
|
At(u);
|
3953
|
-
const
|
3953
|
+
const m = mg(p, r, n), b = (v, y, T) => ({
|
3954
3954
|
text: a(Im, {
|
3955
3955
|
isActive: y,
|
3956
3956
|
pauseAnimation: e
|
@@ -3961,16 +3961,16 @@ const qf = (t) => {
|
|
3961
3961
|
matchesOneTwo: a(ug, {
|
3962
3962
|
oddFormatter: s
|
3963
3963
|
})
|
3964
|
-
})[v],
|
3965
|
-
var y,
|
3966
|
-
return
|
3964
|
+
})[v], g = m.filter(Boolean).map((v) => {
|
3965
|
+
var y, T;
|
3966
|
+
return N($({}, v), {
|
3967
3967
|
animationName: (y = v == null ? void 0 : v.root) == null ? void 0 : y.animationName,
|
3968
|
-
animationDuration: ((
|
3968
|
+
animationDuration: ((T = v == null ? void 0 : v.root) == null ? void 0 : T.animationDuration) || Ag
|
3969
3969
|
});
|
3970
3970
|
}), {
|
3971
|
-
animatedIdx:
|
3972
|
-
countOfTick:
|
3973
|
-
} = pg(
|
3971
|
+
animatedIdx: k,
|
3972
|
+
countOfTick: f
|
3973
|
+
} = pg(g, e), L = V(g[k] || {}), S = (g == null ? void 0 : g.length) > 1, j = Tt(p.root, ...bt), O = (C = L == null ? void 0 : L.root) != null && C.hasCustomBackground ? jt((L == null ? void 0 : L.root) || {}, ...bt) : jt(p.root, ...bt);
|
3974
3974
|
return a("div", {
|
3975
3975
|
ref: l,
|
3976
3976
|
className: I(ut.root, {
|
@@ -3984,22 +3984,22 @@ const qf = (t) => {
|
|
3984
3984
|
className: ut.close,
|
3985
3985
|
style: p.close,
|
3986
3986
|
onClick: c,
|
3987
|
-
children: a(
|
3987
|
+
children: a(Ft, {
|
3988
3988
|
width: 9,
|
3989
3989
|
height: 9
|
3990
3990
|
})
|
3991
3991
|
}), a("div", {
|
3992
3992
|
className: ut.promotion,
|
3993
3993
|
style: p.promotion,
|
3994
|
-
children: (
|
3994
|
+
children: (J = p.promotion) == null ? void 0 : J.children
|
3995
3995
|
}), a("a", {
|
3996
|
-
href: (
|
3996
|
+
href: (M = p.root) == null ? void 0 : M.offer,
|
3997
3997
|
target: "_blank",
|
3998
3998
|
rel: "nofollow noopener noreferrer",
|
3999
3999
|
onClick: i,
|
4000
4000
|
children: [a("div", {
|
4001
4001
|
className: ut.background,
|
4002
|
-
style:
|
4002
|
+
style: O
|
4003
4003
|
}), a("div", {
|
4004
4004
|
className: ut.content,
|
4005
4005
|
children: [a("div", {
|
@@ -4014,20 +4014,20 @@ const qf = (t) => {
|
|
4014
4014
|
opacity: o && e ? 0 : 1,
|
4015
4015
|
transition: ".3s"
|
4016
4016
|
},
|
4017
|
-
children: (
|
4018
|
-
"data-active-slide":
|
4017
|
+
children: (g || []).map((v, y) => a("div", {
|
4018
|
+
"data-active-slide": k === y,
|
4019
4019
|
className: ut.slide,
|
4020
|
-
style:
|
4021
|
-
animationName:
|
4020
|
+
style: S && f ? {
|
4021
|
+
animationName: k === y ? ut[v.animationName || "fade-in-out"] : "none",
|
4022
4022
|
animationDuration: `${v.animationDuration}ms`
|
4023
4023
|
} : {
|
4024
4024
|
opacity: y === 0 ? 1 : 0
|
4025
4025
|
},
|
4026
4026
|
children: a(Rt, {
|
4027
|
-
value:
|
4027
|
+
value: N($({}, v), {
|
4028
4028
|
device: d
|
4029
4029
|
}),
|
4030
|
-
children: b(v.name,
|
4030
|
+
children: b(v.name, k === y)
|
4031
4031
|
})
|
4032
4032
|
}, y))
|
4033
4033
|
}), a("div", {
|
@@ -4062,8 +4062,8 @@ const qf = (t) => {
|
|
4062
4062
|
}, ey = (t, n, e, o, s = yd) => {
|
4063
4063
|
const r = $({}, t);
|
4064
4064
|
return s.forEach((c) => {
|
4065
|
-
r[n] =
|
4066
|
-
[c]:
|
4065
|
+
r[n] = N($({}, r[n]), {
|
4066
|
+
[c]: N($({}, r[n][c]), {
|
4067
4067
|
[e]: typeof o == "function" ? o(h(r, `${n}.${c}.${e}`)) : o
|
4068
4068
|
})
|
4069
4069
|
});
|
@@ -4072,7 +4072,7 @@ const qf = (t) => {
|
|
4072
4072
|
const n = t == null ? void 0 : t.backgroundColor;
|
4073
4073
|
if (!n)
|
4074
4074
|
return t;
|
4075
|
-
const e =
|
4075
|
+
const e = N($({}, t), {
|
4076
4076
|
color: n
|
4077
4077
|
});
|
4078
4078
|
return Tt(e, "backgroundColor");
|
@@ -4104,8 +4104,8 @@ const qf = (t) => {
|
|
4104
4104
|
}), qg = ({
|
4105
4105
|
onClick: t
|
4106
4106
|
}) => {
|
4107
|
-
var r, c, i, l, _, d, u, p,
|
4108
|
-
const n =
|
4107
|
+
var r, c, i, l, _, d, u, p, m;
|
4108
|
+
const n = K(), e = V(n), [o, s] = fe();
|
4109
4109
|
return a("div", {
|
4110
4110
|
className: Nt.root,
|
4111
4111
|
style: e.root,
|
@@ -4129,7 +4129,7 @@ const qf = (t) => {
|
|
4129
4129
|
children: e.button.children
|
4130
4130
|
}), a("div", {
|
4131
4131
|
className: Nt.backgroundLine,
|
4132
|
-
style:
|
4132
|
+
style: N($({}, an(e.line)), {
|
4133
4133
|
left: `calc(50% - ${(_ = e.line) == null ? void 0 : _.left})`
|
4134
4134
|
}),
|
4135
4135
|
children: a(zg, {})
|
@@ -4151,7 +4151,7 @@ const qf = (t) => {
|
|
4151
4151
|
className: Nt.legalMore,
|
4152
4152
|
style: e.legalInfoButton,
|
4153
4153
|
onClick: s,
|
4154
|
-
children: o ? (p = e.legalInfoButton) == null ? void 0 : p.openText : (
|
4154
|
+
children: o ? (p = e.legalInfoButton) == null ? void 0 : p.openText : (m = e.legalInfoButton) == null ? void 0 : m.closeText
|
4155
4155
|
})]
|
4156
4156
|
})
|
4157
4157
|
})]
|
@@ -4171,8 +4171,8 @@ const qf = (t) => {
|
|
4171
4171
|
}, s1 = ({
|
4172
4172
|
onClick: t
|
4173
4173
|
}) => {
|
4174
|
-
var c, i, l, _, d, u, p,
|
4175
|
-
const n =
|
4174
|
+
var c, i, l, _, d, u, p, m, b, g, k;
|
4175
|
+
const n = K(), e = V(n), [o, s] = fe(), r = !!((c = e.legalInfoButton) != null && c.closeText && ((l = (i = e.legalInfoButton) == null ? void 0 : i.closeText) == null ? void 0 : l.length) > 0);
|
4176
4176
|
return a("div", {
|
4177
4177
|
className: I(Ct.root, {
|
4178
4178
|
[Ct.open]: o,
|
@@ -4203,7 +4203,7 @@ const qf = (t) => {
|
|
4203
4203
|
})]
|
4204
4204
|
}), a("a", {
|
4205
4205
|
className: Ct.link,
|
4206
|
-
href: (
|
4206
|
+
href: (m = e.root) == null ? void 0 : m.offer,
|
4207
4207
|
target: "_blank",
|
4208
4208
|
onClick: () => t(e.id),
|
4209
4209
|
rel: "noreferrer"
|
@@ -4217,12 +4217,12 @@ const qf = (t) => {
|
|
4217
4217
|
className: Ct.legalMore,
|
4218
4218
|
style: e.legalInfoButton,
|
4219
4219
|
onClick: s,
|
4220
|
-
children: o ? (
|
4220
|
+
children: o ? (g = e.legalInfoButton) == null ? void 0 : g.openText : (k = e.legalInfoButton) == null ? void 0 : k.closeText
|
4221
4221
|
})]
|
4222
4222
|
})]
|
4223
4223
|
});
|
4224
4224
|
}, i1 = (t) => {
|
4225
|
-
const n =
|
4225
|
+
const n = q(Qe()), e = (s) => n.current.on("click", s), o = (s) => n.current.on("visible", s);
|
4226
4226
|
return ze(t, () => ({
|
4227
4227
|
promoId: "ContentCards",
|
4228
4228
|
onClick: e,
|
@@ -4237,7 +4237,7 @@ const qf = (t) => {
|
|
4237
4237
|
}, c1 = Qt(({
|
4238
4238
|
id: t
|
4239
4239
|
}, n) => {
|
4240
|
-
const e =
|
4240
|
+
const e = q(null), o = K(), s = Ht({
|
4241
4241
|
targetRef: e,
|
4242
4242
|
id: t
|
4243
4243
|
}), r = St(o, s), c = V(r);
|
@@ -4284,8 +4284,8 @@ const qf = (t) => {
|
|
4284
4284
|
id: t,
|
4285
4285
|
onClick: n
|
4286
4286
|
}, e) => {
|
4287
|
-
var d, u, p,
|
4288
|
-
const [o, s] = fe(), r =
|
4287
|
+
var d, u, p, m, b, g, k, f, L, S, j;
|
4288
|
+
const [o, s] = fe(), r = q(null), c = K(), i = Ht({
|
4289
4289
|
targetRef: r,
|
4290
4290
|
id: t
|
4291
4291
|
}), l = St(c, i), _ = V(l);
|
@@ -4309,7 +4309,7 @@ const qf = (t) => {
|
|
4309
4309
|
children: a(B, {
|
4310
4310
|
typography: (u = _.text) == null ? void 0 : u.typography,
|
4311
4311
|
accentTypography: (p = _.text) == null ? void 0 : p.accentTypography,
|
4312
|
-
children: (
|
4312
|
+
children: (m = _.text) == null ? void 0 : m.children
|
4313
4313
|
})
|
4314
4314
|
}), a("div", {
|
4315
4315
|
className: gt.button,
|
@@ -4321,8 +4321,8 @@ const qf = (t) => {
|
|
4321
4321
|
className: gt.buttonText,
|
4322
4322
|
children: a(B, {
|
4323
4323
|
typography: (b = _.button) == null ? void 0 : b.typography,
|
4324
|
-
accentTypography: (
|
4325
|
-
children: (
|
4324
|
+
accentTypography: (g = _.button) == null ? void 0 : g.accentTypography,
|
4325
|
+
children: (k = _.button) == null ? void 0 : k.children
|
4326
4326
|
})
|
4327
4327
|
})]
|
4328
4328
|
})]
|
@@ -4334,16 +4334,16 @@ const qf = (t) => {
|
|
4334
4334
|
children: [a("span", {
|
4335
4335
|
className: gt.legalText,
|
4336
4336
|
children: a("span", {
|
4337
|
-
children: (
|
4337
|
+
children: (f = _.legal) == null ? void 0 : f.children
|
4338
4338
|
})
|
4339
|
-
}), ((
|
4339
|
+
}), ((L = _ == null ? void 0 : _.legal) == null ? void 0 : L.hasButton) && a("span", {
|
4340
4340
|
className: gt.legalButton,
|
4341
4341
|
onClick: s,
|
4342
|
-
children: o ? (
|
4342
|
+
children: o ? (S = _.legal) == null ? void 0 : S.buttonOpenText : (j = _.legal) == null ? void 0 : j.buttonHideText
|
4343
4343
|
})]
|
4344
4344
|
})]
|
4345
4345
|
});
|
4346
|
-
}), oy = Lt(a($1, {})), k1 = "_root_6b307_1", C1 = "_withoutLegal_6b307_8", w1 = "_desktop_6b307_12", T1 = "_tablet_6b307_12", M1 = "_w1440_6b307_12", N1 = "_w480_6b307_17", x1 = "_laptop_6b307_17", L1 = "_w400_6b307_22", S1 = "_w375_6b307_27", A1 = "_mobile_6b307_32", O1 = "_link_6b307_37", D1 = "_close_6b307_41", I1 = "_container_6b307_64", j1 = "_containerInner_6b307_86", R1 = "_badge_6b307_92", H1 = "_badge_center_6b307_102", P1 = "_badge_right_6b307_106", Y1 = "_badgeLogo_6b307_114", B1 = "_badgeCopyWrapper_6b307_119", E1 = "_badgeCopy_6b307_119", V1 = "_badgeCopy_animated_6b307_141", G1 = "_cloneFade_6b307_1", F1 = "_badgeCopy_center_6b307_144", W1 = "_badgeCopy_right_6b307_148", U1 = "_artifact_6b307_153", z1 = "_button_6b307_158", q1 = "_button_increase_6b307_168", K1 = "_increase_6b307_1", Z1 = "_buttonContent_6b307_172", J1 = "_legalText_6b307_179",
|
4346
|
+
}), oy = Lt(a($1, {})), k1 = "_root_6b307_1", C1 = "_withoutLegal_6b307_8", w1 = "_desktop_6b307_12", T1 = "_tablet_6b307_12", M1 = "_w1440_6b307_12", N1 = "_w480_6b307_17", x1 = "_laptop_6b307_17", L1 = "_w400_6b307_22", S1 = "_w375_6b307_27", A1 = "_mobile_6b307_32", O1 = "_link_6b307_37", D1 = "_close_6b307_41", I1 = "_container_6b307_64", j1 = "_containerInner_6b307_86", R1 = "_badge_6b307_92", H1 = "_badge_center_6b307_102", P1 = "_badge_right_6b307_106", Y1 = "_badgeLogo_6b307_114", B1 = "_badgeCopyWrapper_6b307_119", E1 = "_badgeCopy_6b307_119", V1 = "_badgeCopy_animated_6b307_141", G1 = "_cloneFade_6b307_1", F1 = "_badgeCopy_center_6b307_144", W1 = "_badgeCopy_right_6b307_148", U1 = "_artifact_6b307_153", z1 = "_button_6b307_158", q1 = "_button_increase_6b307_168", K1 = "_increase_6b307_1", Z1 = "_buttonContent_6b307_172", J1 = "_legalText_6b307_179", Z = {
|
4347
4347
|
root: k1,
|
4348
4348
|
withoutLegal: C1,
|
4349
4349
|
desktop: w1,
|
@@ -4378,36 +4378,36 @@ const qf = (t) => {
|
|
4378
4378
|
matches: "one_x_two",
|
4379
4379
|
matchesOneTwo: "one_two"
|
4380
4380
|
}, ho = (t) => [X1[t]], Q1 = (t, n, e) => {
|
4381
|
-
const o = (
|
4382
|
-
var
|
4383
|
-
return W(
|
4384
|
-
}, s = (t == null ? void 0 : t.children) || [], r = s.filter((
|
4385
|
-
markets: ho(
|
4386
|
-
})), c = r.find((
|
4381
|
+
const o = (g) => {
|
4382
|
+
var k;
|
4383
|
+
return W(g == null ? void 0 : g.matchSlug) && ((k = g == null ? void 0 : g.matchSlug) == null ? void 0 : k.length) > 0 || (g == null ? void 0 : g.isAuto);
|
4384
|
+
}, s = (t == null ? void 0 : t.children) || [], r = s.filter((g) => o(g.root.targetMatch)).map((g) => N($({}, g.root.targetMatch), {
|
4385
|
+
markets: ho(g.name)
|
4386
|
+
})), c = r.find((g) => g.isAuto), i = Ie(r), l = (r == null ? void 0 : r.length) > 0, {
|
4387
4387
|
data: _,
|
4388
4388
|
execute: d,
|
4389
4389
|
fetching: u
|
4390
4390
|
} = re(`${n}/match-list`, {
|
4391
4391
|
method: "POST",
|
4392
4392
|
body: {
|
4393
|
-
matches: r.map((
|
4394
|
-
slug:
|
4395
|
-
sport_slug:
|
4396
|
-
lang:
|
4397
|
-
bookmaker_slug:
|
4398
|
-
offset:
|
4399
|
-
markets:
|
4393
|
+
matches: r.map((g) => ({
|
4394
|
+
slug: g.matchSlug,
|
4395
|
+
sport_slug: g.sportSlug,
|
4396
|
+
lang: g.langSlug,
|
4397
|
+
bookmaker_slug: g.bookmaker,
|
4398
|
+
offset: g.offset,
|
4399
|
+
markets: g.markets
|
4400
4400
|
}))
|
4401
4401
|
},
|
4402
4402
|
pause: !n || r.length === 0 || c
|
4403
4403
|
}), {
|
4404
4404
|
match: p,
|
4405
|
-
fetching:
|
4405
|
+
fetching: m
|
4406
4406
|
} = on({
|
4407
4407
|
dependsOn: "prediction",
|
4408
4408
|
apiHost: n,
|
4409
4409
|
pause: !c,
|
4410
|
-
match:
|
4410
|
+
match: N($({}, e), {
|
4411
4411
|
markets: c == null ? void 0 : c.markets,
|
4412
4412
|
bookmaker: c == null ? void 0 : c.bookmaker
|
4413
4413
|
})
|
@@ -4415,31 +4415,31 @@ const qf = (t) => {
|
|
4415
4415
|
z(() => {
|
4416
4416
|
De(i, r) || d();
|
4417
4417
|
}, [r]);
|
4418
|
-
const b = s.map((
|
4419
|
-
var
|
4420
|
-
if ("targetMatch" in
|
4421
|
-
const
|
4422
|
-
if (((
|
4423
|
-
return
|
4418
|
+
const b = s.map((g) => {
|
4419
|
+
var k, f;
|
4420
|
+
if ("targetMatch" in g.root) {
|
4421
|
+
const L = ho(g.name), S = (_ || []).find((Y) => Y.slug === g.root.targetMatch.matchSlug);
|
4422
|
+
if (((f = (k = g == null ? void 0 : g.root) == null ? void 0 : k.targetMatch) == null ? void 0 : f.isAuto) && p)
|
4423
|
+
return N($({}, g), {
|
4424
4424
|
match: de(p, {
|
4425
|
-
markets:
|
4425
|
+
markets: L
|
4426
4426
|
})
|
4427
4427
|
});
|
4428
|
-
if (!
|
4428
|
+
if (!S)
|
4429
4429
|
return;
|
4430
|
-
const
|
4431
|
-
markets:
|
4432
|
-
}),
|
4433
|
-
return
|
4434
|
-
match:
|
4430
|
+
const O = de(S, {
|
4431
|
+
markets: L
|
4432
|
+
}), C = tn(O, g.root.customMatch, (Y, [J, M]) => W(M));
|
4433
|
+
return N($({}, g), {
|
4434
|
+
match: C
|
4435
4435
|
});
|
4436
4436
|
}
|
4437
|
-
return
|
4437
|
+
return g;
|
4438
4438
|
}).filter(Boolean);
|
4439
4439
|
return {
|
4440
4440
|
hasMatches: l,
|
4441
4441
|
resultChildren: b,
|
4442
|
-
fetching: u ||
|
4442
|
+
fetching: u || m
|
4443
4443
|
};
|
4444
4444
|
}, th = "_root_1v2fm_1", eh = "_desktop_1v2fm_9", nh = "_logos_1v2fm_13", oh = "_teamLogo_1v2fm_22", ah = "_tablet_1v2fm_41", rh = "_w1440_1v2fm_41", sh = "_teamLogo_slide_1v2fm_45", ih = "_teamLogoInside_1v2fm_49", ch = "_teams_1v2fm_75", lh = "_oddWrapper_1v2fm_97", _h = "_oddLabel_1v2fm_106", dh = "_oddValue_1v2fm_116", uh = "_text_1v2fm_130", ph = "_slide_1v2fm_146", fh = "_slideFade_1v2fm_1", mh = "_increase_1v2fm_1", ct = {
|
4445
4445
|
root: th,
|
@@ -4468,25 +4468,25 @@ const qf = (t) => {
|
|
4468
4468
|
var p;
|
4469
4469
|
const r = h(n, "root.predictionLength", "full"), c = (p = r === "full" ? h(n, "match.prediction.value") : h(n, "match.prediction.value_short") || h(n, "match.prediction.value")) != null ? p : "", i = r === "short" && !!h(n, "match.prediction.value_short"), l = It(() => {
|
4470
4470
|
var b;
|
4471
|
-
let
|
4471
|
+
let m = (b = {
|
4472
4472
|
desktop: 14,
|
4473
4473
|
tablet: 12,
|
4474
4474
|
w1440: 12
|
4475
4475
|
}[e]) != null ? b : 9;
|
4476
|
-
return i && (
|
4476
|
+
return i && (m = m * 2), [Ih.mobile].includes(e) && (c == null ? void 0 : c.length) > 35 ? m - 1 : m;
|
4477
4477
|
}, [e, c]), _ = h(n, "coef.backgroundColor", "#fff"), u = +o === 0;
|
4478
|
-
return a(
|
4478
|
+
return a(Bt, {
|
4479
4479
|
children: [(!t || u) && a("div", {
|
4480
4480
|
className: ct.teams,
|
4481
4481
|
style: n == null ? void 0 : n.teamName,
|
4482
4482
|
children: [a("span", {
|
4483
|
-
children: a(
|
4483
|
+
children: a(Gt, N($({}, h(n, "match.teams[0]")), {
|
4484
4484
|
fallback: "Team A"
|
4485
4485
|
}))
|
4486
4486
|
}), a("span", {
|
4487
4487
|
children: "—"
|
4488
4488
|
}), a("span", {
|
4489
|
-
children: a(
|
4489
|
+
children: a(Gt, N($({}, h(n, "match.teams[1]")), {
|
4490
4490
|
fallback: "Team B"
|
4491
4491
|
}))
|
4492
4492
|
})]
|
@@ -4499,7 +4499,7 @@ const qf = (t) => {
|
|
4499
4499
|
},
|
4500
4500
|
children: [a("div", {
|
4501
4501
|
className: ct.oddLabel,
|
4502
|
-
style:
|
4502
|
+
style: N($({}, n == null ? void 0 : n.coefLabel), {
|
4503
4503
|
fontSize: l,
|
4504
4504
|
lineHeight: `${l}px`
|
4505
4505
|
}),
|
@@ -4507,7 +4507,7 @@ const qf = (t) => {
|
|
4507
4507
|
}), a("div", {
|
4508
4508
|
className: ct.oddValue,
|
4509
4509
|
style: n == null ? void 0 : n.coef,
|
4510
|
-
children: a(
|
4510
|
+
children: a(Vt, {
|
4511
4511
|
odd: o,
|
4512
4512
|
formatter: s
|
4513
4513
|
})
|
@@ -4520,17 +4520,17 @@ const qf = (t) => {
|
|
4520
4520
|
rootState: e,
|
4521
4521
|
animationVariant: o
|
4522
4522
|
}) => {
|
4523
|
-
var
|
4524
|
-
const s =
|
4525
|
-
alignItems: Dt((
|
4526
|
-
}), d = Number(h(r, "match.prediction.factor", 0)).toFixed(2), u = +h(s, "root.bonusValue", 0), p = +d, b = ce(p === 0 ? h(r, "text.fallbackChildren") : (
|
4523
|
+
var k, f, L, S, j, O;
|
4524
|
+
const s = K(), r = V(s), c = V(e), i = h(r, "match.sportSlug"), l = o === "slides", _ = N($({}, Tt(r == null ? void 0 : r.root, ...bt)), {
|
4525
|
+
alignItems: Dt((k = c.container) == null ? void 0 : k.align)
|
4526
|
+
}), d = Number(h(r, "match.prediction.factor", 0)).toFixed(2), u = +h(s, "root.bonusValue", 0), p = +d, b = ce(p === 0 ? h(r, "text.fallbackChildren") : (f = r == null ? void 0 : r.text) == null ? void 0 : f.children, {
|
4527
4527
|
bonusValue: u,
|
4528
4528
|
clearResult: (u * p - u).toFixed(0),
|
4529
4529
|
rawResult: (u * p).toFixed(0),
|
4530
4530
|
rate: p
|
4531
4531
|
}, {
|
4532
4532
|
parse: !1
|
4533
|
-
}),
|
4533
|
+
}), g = Et({
|
4534
4534
|
duration: 3e3,
|
4535
4535
|
delay: 3e3
|
4536
4536
|
});
|
@@ -4566,8 +4566,8 @@ const qf = (t) => {
|
|
4566
4566
|
style: {
|
4567
4567
|
display: l ? "flex" : "contents"
|
4568
4568
|
},
|
4569
|
-
children: l ? a(
|
4570
|
-
children:
|
4569
|
+
children: l ? a(Bt, {
|
4570
|
+
children: g ? a("div", {
|
4571
4571
|
className: ct.slide,
|
4572
4572
|
style: {
|
4573
4573
|
alignItems: _ == null ? void 0 : _.alignItems
|
@@ -4587,12 +4587,12 @@ const qf = (t) => {
|
|
4587
4587
|
children: a(B, {
|
4588
4588
|
className: ct.text,
|
4589
4589
|
style: r == null ? void 0 : r.text,
|
4590
|
-
typography: (
|
4591
|
-
accentTypography: (
|
4590
|
+
typography: (L = r == null ? void 0 : r.text) == null ? void 0 : L.typography,
|
4591
|
+
accentTypography: (S = r == null ? void 0 : r.text) == null ? void 0 : S.accentTypography,
|
4592
4592
|
children: b
|
4593
4593
|
})
|
4594
4594
|
}, "textSlide")
|
4595
|
-
}) : a(
|
4595
|
+
}) : a(Bt, {
|
4596
4596
|
children: [a(yo, {
|
4597
4597
|
rules: r,
|
4598
4598
|
device: n,
|
@@ -4602,7 +4602,7 @@ const qf = (t) => {
|
|
4602
4602
|
className: ct.text,
|
4603
4603
|
style: r == null ? void 0 : r.text,
|
4604
4604
|
typography: (j = r == null ? void 0 : r.text) == null ? void 0 : j.typography,
|
4605
|
-
accentTypography: (
|
4605
|
+
accentTypography: (O = r == null ? void 0 : r.text) == null ? void 0 : O.accentTypography,
|
4606
4606
|
children: b
|
4607
4607
|
})]
|
4608
4608
|
})
|
@@ -4626,10 +4626,16 @@ const qf = (t) => {
|
|
4626
4626
|
mobile: Sh,
|
4627
4627
|
fadeIn: Ah
|
4628
4628
|
}, Ee = ({
|
4629
|
-
prefix: t
|
4629
|
+
prefix: t,
|
4630
|
+
pause: n = !1
|
4630
4631
|
}) => {
|
4631
|
-
const
|
4632
|
-
return
|
4632
|
+
const e = kn(), o = kn(), s = q(null), r = q(null), c = q(null), i = q(null), l = (_) => `${t}_${_}`;
|
4633
|
+
return z(() => {
|
4634
|
+
n || [s, r, c, i].forEach((_) => {
|
4635
|
+
var d;
|
4636
|
+
return (d = _ == null ? void 0 : _.current) == null ? void 0 : d.beginElement();
|
4637
|
+
});
|
4638
|
+
}, [n]), a("svg", {
|
4633
4639
|
xmlns: "http://www.w3.org/2000/svg",
|
4634
4640
|
preserveAspectRatio: "xMidYMid meet",
|
4635
4641
|
width: "150",
|
@@ -4638,10 +4644,11 @@ const qf = (t) => {
|
|
4638
4644
|
style: "width:100%;height:100%",
|
4639
4645
|
children: [a("defs", {
|
4640
4646
|
children: [a("animateTransform", {
|
4647
|
+
ref: s,
|
4648
|
+
begin: "indefinite",
|
4641
4649
|
repeatCount: "indefinite",
|
4642
4650
|
dur: "1.25s",
|
4643
|
-
|
4644
|
-
xlinkHref: `#${o(n)}`,
|
4651
|
+
xlinkHref: `#${l(e)}`,
|
4645
4652
|
fill: "freeze",
|
4646
4653
|
attributeName: "transform",
|
4647
4654
|
from: "0 0",
|
@@ -4653,10 +4660,11 @@ const qf = (t) => {
|
|
4653
4660
|
keySplines: "1 0 0.122 1;0.751 0 0.025 1;0.333 0 0 1;0.725 0 0.931 1;0.562 0 0.667 1;0 0 0 0",
|
4654
4661
|
calcMode: "spline"
|
4655
4662
|
}), a("animateTransform", {
|
4663
|
+
ref: r,
|
4664
|
+
begin: "indefinite",
|
4656
4665
|
repeatCount: "indefinite",
|
4657
4666
|
dur: "1.25s",
|
4658
|
-
|
4659
|
-
xlinkHref: `#${o(n)}`,
|
4667
|
+
xlinkHref: `#${l(e)}`,
|
4660
4668
|
fill: "freeze",
|
4661
4669
|
attributeName: "transform",
|
4662
4670
|
from: "-258.023 -512.25",
|
@@ -4668,10 +4676,11 @@ const qf = (t) => {
|
|
4668
4676
|
keySplines: "0 0 1 1",
|
4669
4677
|
calcMode: "spline"
|
4670
4678
|
}), a("animateTransform", {
|
4679
|
+
ref: c,
|
4680
|
+
begin: "indefinite",
|
4671
4681
|
repeatCount: "indefinite",
|
4672
4682
|
dur: "1.25s",
|
4673
|
-
|
4674
|
-
xlinkHref: `#${o(e)}`,
|
4683
|
+
xlinkHref: `#${l(o)}`,
|
4675
4684
|
fill: "freeze",
|
4676
4685
|
attributeName: "transform",
|
4677
4686
|
from: "0 0",
|
@@ -4683,10 +4692,11 @@ const qf = (t) => {
|
|
4683
4692
|
keySplines: "1 0 0.279 1;0.751 0 0.232 1;0.333 0 0.232 1;0.333 0 0.667 1;0 0 0 0",
|
4684
4693
|
calcMode: "spline"
|
4685
4694
|
}), a("animateTransform", {
|
4695
|
+
ref: i,
|
4696
|
+
begin: "indefinite",
|
4686
4697
|
repeatCount: "indefinite",
|
4687
4698
|
dur: "1.25s",
|
4688
|
-
|
4689
|
-
xlinkHref: `#${o(e)}`,
|
4699
|
+
xlinkHref: `#${l(o)}`,
|
4690
4700
|
fill: "freeze",
|
4691
4701
|
attributeName: "transform",
|
4692
4702
|
from: "-258.023 -512.25",
|
@@ -4708,7 +4718,7 @@ const qf = (t) => {
|
|
4708
4718
|
}), a("g", {
|
4709
4719
|
id: "_R_G",
|
4710
4720
|
children: [a("g", {
|
4711
|
-
id:
|
4721
|
+
id: l(e),
|
4712
4722
|
transform: " translate(75, 75)",
|
4713
4723
|
children: a("path", {
|
4714
4724
|
id: "_R_G_L_1_G_D_0_P_0",
|
@@ -4718,7 +4728,7 @@ const qf = (t) => {
|
|
4718
4728
|
d: " M344.18 98.72 C344.18,98.72 275.25,443.33 275.25,443.33 C275.25,443.33 447.56,443.33 447.56,443.33 C447.56,443.33 171.87,925.78 171.87,925.78 C171.87,925.78 240.79,581.17 240.79,581.17 C240.79,581.17 68.49,581.17 68.49,581.17 C68.49,581.17 344.18,98.72 344.18,98.72z M344.18 64.25 C332.11,64.25 320.54,70.62 314.25,81.62 C314.25,81.62 38.57,564.07 38.57,564.07 C32.47,574.74 32.51,587.84 38.68,598.47 C44.85,609.09 56.2,615.63 68.49,615.63 C68.49,615.63 198.76,615.63 198.76,615.63 C198.76,615.63 138.08,919.03 138.08,919.03 C134.76,935.6 143.96,952.13 159.79,958.06 C163.75,959.54 167.83,960.25 171.86,960.25 C183.93,960.25 195.5,953.88 201.79,942.88 C201.79,942.88 477.48,460.43 477.48,460.43 C483.57,449.76 483.53,436.66 477.36,426.03 C471.2,415.41 459.84,408.87 447.56,408.87 C447.56,408.87 317.29,408.87 317.29,408.87 C317.29,408.87 377.97,105.47 377.97,105.47 C381.28,88.9 372.09,72.37 356.26,66.44 C352.3,64.96 348.21,64.25 344.18,64.25z "
|
4719
4729
|
})
|
4720
4730
|
}), a("g", {
|
4721
|
-
id: o
|
4731
|
+
id: l(o),
|
4722
4732
|
transform: " translate(75, 75)",
|
4723
4733
|
children: a("path", {
|
4724
4734
|
id: "_R_G_L_0_G_D_0_P_0",
|
@@ -4735,18 +4745,19 @@ const qf = (t) => {
|
|
4735
4745
|
}, Oh = ["mobile", "w400", "w375"], Dh = ({
|
4736
4746
|
rules: t,
|
4737
4747
|
device: n,
|
4738
|
-
animationVariant1: e
|
4748
|
+
animationVariant1: e,
|
4749
|
+
pauseAnimation: o
|
4739
4750
|
}) => {
|
4740
|
-
var
|
4741
|
-
const
|
4751
|
+
var _, d, u, p, m, b, g, k, f, L;
|
4752
|
+
const s = Et({
|
4742
4753
|
pause: !e,
|
4743
4754
|
duration: _t.actionDisplayDuration,
|
4744
|
-
delay: (
|
4745
|
-
}),
|
4746
|
-
pause:
|
4755
|
+
delay: (S) => S === 0 ? 0 : _t.textDisplayDuration
|
4756
|
+
}), r = Et({
|
4757
|
+
pause: s || !e,
|
4747
4758
|
duration: 2e3,
|
4748
4759
|
delay: 2250
|
4749
|
-
}),
|
4760
|
+
}), c = (_ = t == null ? void 0 : t.root) == null ? void 0 : _.boltColor, i = (d = t == null ? void 0 : t.root) == null ? void 0 : d.boltColorAccent, l = (u = t == null ? void 0 : t.container) == null ? void 0 : u.align;
|
4750
4761
|
return a("div", {
|
4751
4762
|
className: I(pt.root, {
|
4752
4763
|
[pt.mobile]: n === "mobile",
|
@@ -4759,50 +4770,53 @@ const qf = (t) => {
|
|
4759
4770
|
[pt.w1440]: n === "w1440"
|
4760
4771
|
}),
|
4761
4772
|
style: {
|
4762
|
-
"--bolt-color":
|
4763
|
-
"--bolt-accent-color":
|
4764
|
-
"--text-accent-color": (
|
4773
|
+
"--bolt-color": c,
|
4774
|
+
"--bolt-accent-color": i,
|
4775
|
+
"--text-accent-color": (m = (p = t == null ? void 0 : t.text) == null ? void 0 : p.typography) == null ? void 0 : m.color
|
4765
4776
|
},
|
4766
|
-
children:
|
4777
|
+
children: s ? a(Bt, {
|
4767
4778
|
children: [a("div", {
|
4768
4779
|
className: pt.box,
|
4769
4780
|
children: a(Ee, {
|
4770
|
-
prefix: "one"
|
4781
|
+
prefix: "one",
|
4782
|
+
pause: o
|
4771
4783
|
})
|
4772
|
-
}), Oh.includes(n) && a(
|
4784
|
+
}), Oh.includes(n) && a(Bt, {
|
4773
4785
|
children: [a("div", {
|
4774
4786
|
className: pt.box,
|
4775
4787
|
children: a(Ee, {
|
4776
|
-
prefix: "two"
|
4788
|
+
prefix: "two",
|
4789
|
+
pause: o
|
4777
4790
|
})
|
4778
4791
|
}), a("div", {
|
4779
4792
|
className: pt.box,
|
4780
4793
|
children: a(Ee, {
|
4781
|
-
prefix: "three"
|
4794
|
+
prefix: "three",
|
4795
|
+
pause: o
|
4782
4796
|
})
|
4783
4797
|
})]
|
4784
4798
|
})]
|
4785
4799
|
}) : a(B, {
|
4786
4800
|
className: I(pt.textContainer, {
|
4787
|
-
[pt.textContainer_animation]: !
|
4788
|
-
[pt.textContainer_invertColor]:
|
4801
|
+
[pt.textContainer_animation]: !s && e,
|
4802
|
+
[pt.textContainer_invertColor]: r
|
4789
4803
|
}),
|
4790
|
-
style:
|
4804
|
+
style: N($({}, t == null ? void 0 : t.text), {
|
4791
4805
|
animationDuration: `${_t.textDisplayDuration}ms, ${_t.inverseTextAnimationDuration}ms`,
|
4792
4806
|
animationIterationCount: `1, ${_t.countTextInversePulses}`,
|
4793
4807
|
animationDelay: `0s, ${_t.inverseTextAnimationDelay}ms`,
|
4794
4808
|
opacity: e ? 0 : 1,
|
4795
|
-
alignItems: Dt(
|
4796
|
-
transformOrigin:
|
4809
|
+
alignItems: Dt(l),
|
4810
|
+
transformOrigin: l
|
4797
4811
|
}),
|
4798
|
-
typography:
|
4799
|
-
textAlign: (
|
4812
|
+
typography: N($({}, (g = (b = t == null ? void 0 : t.text) == null ? void 0 : b.typography) != null ? g : {}), {
|
4813
|
+
textAlign: (k = t == null ? void 0 : t.container) == null ? void 0 : k.align
|
4800
4814
|
}),
|
4801
4815
|
accentTypography: (f = t == null ? void 0 : t.text) == null ? void 0 : f.accentTypography,
|
4802
|
-
children: (
|
4816
|
+
children: (L = t == null ? void 0 : t.text) == null ? void 0 : L.children
|
4803
4817
|
})
|
4804
4818
|
});
|
4805
|
-
}, Ue =
|
4819
|
+
}, Ue = N($({}, pe), {
|
4806
4820
|
w375: 375,
|
4807
4821
|
w400: 400,
|
4808
4822
|
w480: 480,
|
@@ -4826,139 +4840,141 @@ const qf = (t) => {
|
|
4826
4840
|
buttonPulseDelay: 2e3
|
4827
4841
|
}, Rh = (t, n) => t === "variant1" ? n === 0 ? _t.actionDisplayDuration + _t.badgePulseDuration : n % _t.countButtonPulses ? 3500 : 1e3 + _t.actionDisplayDuration : t === "slides" ? jh.buttonPulseDelay : 0, Hh = ({
|
4828
4842
|
id: t,
|
4829
|
-
|
4830
|
-
|
4831
|
-
|
4832
|
-
|
4833
|
-
|
4834
|
-
|
4835
|
-
|
4836
|
-
|
4843
|
+
pauseAnimation: n,
|
4844
|
+
apiHost: e,
|
4845
|
+
oddFormatter: o,
|
4846
|
+
baseMatch: s,
|
4847
|
+
readyPayload: r,
|
4848
|
+
onMount: c,
|
4849
|
+
onReady: i,
|
4850
|
+
onClose: l,
|
4851
|
+
onClick: _
|
4837
4852
|
}) => {
|
4838
|
-
var
|
4839
|
-
const
|
4840
|
-
targetRef:
|
4853
|
+
var J, M, v, y, T, w, A, x, D, P, H, G, lt, at, rt, ft, vt, X, mt, Pt;
|
4854
|
+
const d = q(null), u = K(), p = Ht({
|
4855
|
+
targetRef: d,
|
4841
4856
|
id: t,
|
4842
4857
|
breakpoints: Ue
|
4843
|
-
}),
|
4844
|
-
resultChildren:
|
4845
|
-
fetching:
|
4846
|
-
} = Q1(
|
4847
|
-
name:
|
4848
|
-
}) =>
|
4849
|
-
|
4850
|
-
const f = V(
|
4851
|
-
At(
|
4852
|
-
const
|
4853
|
-
pause:
|
4858
|
+
}), m = St(u, p, Ue), {
|
4859
|
+
resultChildren: b,
|
4860
|
+
fetching: g
|
4861
|
+
} = Q1(m, e, s), k = (M = (J = m == null ? void 0 : m.children) == null ? void 0 : J.some(({
|
4862
|
+
name: nt
|
4863
|
+
}) => nt === "match")) != null ? M : !1;
|
4864
|
+
m && (Ut(m, "button.percent_width", (v = m == null ? void 0 : m.button) == null ? void 0 : v.width), Ut(m, "artifact.percent_right", (y = m == null ? void 0 : m.artifact) == null ? void 0 : y.right));
|
4865
|
+
const f = V(m), L = !!((T = f == null ? void 0 : f.legal) != null && T.children) && !((w = f == null ? void 0 : f.legal) != null && w.hidden);
|
4866
|
+
At(m);
|
4867
|
+
const S = (x = (A = f == null ? void 0 : f.root) == null ? void 0 : A.animation) != null ? x : "none", j = Et({
|
4868
|
+
pause: S !== "variant1",
|
4854
4869
|
duration: _t.badgePulseDuration,
|
4855
|
-
delay: (
|
4856
|
-
}),
|
4857
|
-
pause:
|
4870
|
+
delay: (nt) => nt === 0 ? _t.actionDisplayDuration : nt % _t.countPulses ? _t.badgePulseGap : _t.badgePulseDuration + _t.actionDisplayDuration
|
4871
|
+
}), O = Et({
|
4872
|
+
pause: S === "none",
|
4858
4873
|
duration: _t.buttonPulseDuration,
|
4859
|
-
delay: (
|
4860
|
-
}),
|
4861
|
-
alignItems: Dt((
|
4862
|
-
}),
|
4874
|
+
delay: (nt) => Rh(S, nt)
|
4875
|
+
}), C = N($({}, f == null ? void 0 : f.container), {
|
4876
|
+
alignItems: Dt((D = f == null ? void 0 : f.container) == null ? void 0 : D.align)
|
4877
|
+
}), Y = (nt) => ({
|
4863
4878
|
match: a(gh, {
|
4864
|
-
oddFormatter:
|
4865
|
-
device:
|
4866
|
-
rootState:
|
4867
|
-
animationVariant:
|
4879
|
+
oddFormatter: o,
|
4880
|
+
device: p,
|
4881
|
+
rootState: m,
|
4882
|
+
animationVariant: S
|
4868
4883
|
})
|
4869
|
-
})[
|
4884
|
+
})[nt];
|
4870
4885
|
return z(() => {
|
4871
|
-
|
4886
|
+
c && c(u);
|
4872
4887
|
}, []), z(() => {
|
4873
|
-
|
4874
|
-
readyPayload:
|
4875
|
-
willWithMatches:
|
4876
|
-
}) :
|
4877
|
-
readyPayload:
|
4878
|
-
willWithMatches:
|
4888
|
+
m && (i && k && !g && (b != null && b.length) ? i({
|
4889
|
+
readyPayload: r,
|
4890
|
+
willWithMatches: k
|
4891
|
+
}) : i && !k && (i == null || i({
|
4892
|
+
readyPayload: r,
|
4893
|
+
willWithMatches: k
|
4879
4894
|
})));
|
4880
|
-
}, [
|
4881
|
-
className: I(
|
4882
|
-
[
|
4895
|
+
}, [b, g, k]), a("div", {
|
4896
|
+
className: I(Z.root, Z[p], {
|
4897
|
+
[Z.withoutLegal]: !L
|
4883
4898
|
}),
|
4884
4899
|
children: [a("div", {
|
4885
|
-
className:
|
4886
|
-
style:
|
4887
|
-
borderTopRightRadius: (
|
4900
|
+
className: Z.close,
|
4901
|
+
style: N($({}, f == null ? void 0 : f.close), {
|
4902
|
+
borderTopRightRadius: (P = f == null ? void 0 : f.container) == null ? void 0 : P.corner
|
4888
4903
|
}),
|
4889
|
-
onClick: () =>
|
4890
|
-
children: a(
|
4904
|
+
onClick: () => l(),
|
4905
|
+
children: a(Ft, {
|
4891
4906
|
width: 9,
|
4892
4907
|
height: 9
|
4893
4908
|
})
|
4894
4909
|
}), a("a", {
|
4895
|
-
href: (
|
4910
|
+
href: (H = f == null ? void 0 : f.root) == null ? void 0 : H.offer,
|
4896
4911
|
target: "_blank",
|
4897
4912
|
rel: "nofollow noopener noreferrer",
|
4898
|
-
onClick: () =>
|
4899
|
-
className:
|
4900
|
-
ref:
|
4913
|
+
onClick: () => _(u),
|
4914
|
+
className: Z.link,
|
4915
|
+
ref: d,
|
4901
4916
|
children: [a("div", {
|
4902
|
-
className: I(
|
4903
|
-
[
|
4904
|
-
[
|
4917
|
+
className: I(Z.badge, {
|
4918
|
+
[Z.badge_center]: (C == null ? void 0 : C.align) === "center",
|
4919
|
+
[Z.badge_right]: (C == null ? void 0 : C.align) === "right"
|
4905
4920
|
}),
|
4906
4921
|
style: f == null ? void 0 : f.badge,
|
4907
4922
|
children: a("div", {
|
4908
|
-
className:
|
4923
|
+
className: Z.badgeLogo,
|
4909
4924
|
style: f == null ? void 0 : f.logo
|
4910
4925
|
})
|
4911
4926
|
}), a("div", {
|
4912
|
-
className:
|
4927
|
+
className: Z.artifact,
|
4913
4928
|
style: f == null ? void 0 : f.artifact
|
4914
4929
|
}), a("div", {
|
4915
|
-
className:
|
4916
|
-
style:
|
4930
|
+
className: Z.container,
|
4931
|
+
style: C,
|
4917
4932
|
children: [a("div", {
|
4918
|
-
className:
|
4933
|
+
className: Z.badgeCopyWrapper,
|
4919
4934
|
style: {
|
4920
|
-
borderRadius:
|
4935
|
+
borderRadius: C == null ? void 0 : C.borderRadius
|
4921
4936
|
},
|
4922
4937
|
children: a("div", {
|
4923
|
-
className: I(
|
4924
|
-
[
|
4925
|
-
[
|
4926
|
-
[
|
4938
|
+
className: I(Z.badgeCopy, Z.badge, {
|
4939
|
+
[Z.badgeCopy_animated]: j,
|
4940
|
+
[Z.badgeCopy_center]: (C == null ? void 0 : C.align) === "center",
|
4941
|
+
[Z.badgeCopy_right]: (C == null ? void 0 : C.align) === "right"
|
4927
4942
|
}),
|
4928
4943
|
style: f == null ? void 0 : f.badge
|
4929
4944
|
})
|
4930
|
-
}), (((
|
4931
|
-
className:
|
4932
|
-
children: (
|
4933
|
-
value:
|
4934
|
-
device:
|
4945
|
+
}), (((lt = (G = f == null ? void 0 : f.text) == null ? void 0 : G.children) == null ? void 0 : lt.length) === 0 || ((at = f == null ? void 0 : f.text) == null ? void 0 : at.hidden)) && a("div", {
|
4946
|
+
className: Z.containerInner,
|
4947
|
+
children: (b || []).map((nt) => a(Rt, {
|
4948
|
+
value: N($({}, nt), {
|
4949
|
+
device: p
|
4935
4950
|
}),
|
4936
|
-
children:
|
4951
|
+
children: Y(nt.name)
|
4937
4952
|
}))
|
4938
|
-
}), !((
|
4953
|
+
}), !((rt = f == null ? void 0 : f.text) != null && rt.hidden) && a(Dh, {
|
4939
4954
|
rules: f,
|
4940
|
-
|
4941
|
-
|
4955
|
+
pauseAnimation: n,
|
4956
|
+
device: p,
|
4957
|
+
animationVariant1: S === "variant1"
|
4942
4958
|
}), a("div", {
|
4943
|
-
className: I(
|
4944
|
-
[
|
4959
|
+
className: I(Z.button, {
|
4960
|
+
[Z.button_increase]: O
|
4945
4961
|
}),
|
4946
4962
|
style: f == null ? void 0 : f.button,
|
4947
|
-
children: [((
|
4948
|
-
className:
|
4963
|
+
children: [((ft = f == null ? void 0 : f.button) == null ? void 0 : ft.withLogo) && a("div", {
|
4964
|
+
className: Z.badgeLogo,
|
4949
4965
|
style: f == null ? void 0 : f.logo
|
4950
4966
|
}), a("div", {
|
4951
|
-
className:
|
4967
|
+
className: Z.buttonContent,
|
4952
4968
|
children: a(B, {
|
4953
|
-
typography: (
|
4954
|
-
children: (
|
4969
|
+
typography: (vt = f == null ? void 0 : f.button) == null ? void 0 : vt.typography,
|
4970
|
+
children: (X = f == null ? void 0 : f.button) == null ? void 0 : X.children
|
4955
4971
|
})
|
4956
4972
|
})]
|
4957
4973
|
})]
|
4958
|
-
}), ((
|
4959
|
-
className:
|
4974
|
+
}), ((mt = f == null ? void 0 : f.legal) == null ? void 0 : mt.children) && a(B, {
|
4975
|
+
className: Z.legalText,
|
4960
4976
|
typography: f == null ? void 0 : f.legal,
|
4961
|
-
children: (
|
4977
|
+
children: (Pt = f == null ? void 0 : f.legal) == null ? void 0 : Pt.children
|
4962
4978
|
})]
|
4963
4979
|
})]
|
4964
4980
|
});
|
@@ -4976,7 +4992,7 @@ const qf = (t) => {
|
|
4976
4992
|
onClick: e
|
4977
4993
|
}) => {
|
4978
4994
|
var l, _, d, u, p;
|
4979
|
-
const o =
|
4995
|
+
const o = q(null), s = K(), r = Ht({
|
4980
4996
|
targetRef: o,
|
4981
4997
|
id: t,
|
4982
4998
|
breakpoints: bo
|