@adstore/templates 2.18.7 → 2.18.9
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 +348 -347
- package/package.json +1 -1
package/dist/templates.js.js
CHANGED
@@ -79,7 +79,7 @@ var ht = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
79
79
|
t.exports ? (e.default = e, t.exports = e) : window.classNames = e;
|
80
80
|
})();
|
81
81
|
})(lr);
|
82
|
-
const
|
82
|
+
const A = Je;
|
83
83
|
var Ut, U, We, bn, Xt = 0, ko = [], Se = [], $n = B.__b, Cn = B.__r, wn = B.diffed, kn = B.__c, Tn = B.unmount;
|
84
84
|
function te(t, n) {
|
85
85
|
B.__h && B.__h(U, t, Xt || n), Xt = 0;
|
@@ -1215,8 +1215,8 @@ const Zo = ar(), Ht = ({
|
|
1215
1215
|
const [r, s] = mt("desktop"), l = (i) => {
|
1216
1216
|
var p;
|
1217
1217
|
const _ = i.getBoundingClientRect().width || 0, u = Object.entries($({}, o)).sort(([d, g], [h, m]) => g - m), c = ((p = u.find(([d, g], h) => {
|
1218
|
-
const [m,
|
1219
|
-
return _ >= g && _ <
|
1218
|
+
const [m, v] = u[h + 1] || [];
|
1219
|
+
return _ >= g && _ < v;
|
1220
1220
|
})) == null ? void 0 : p[0]) || u[u.length - 1][0] || "desktop";
|
1221
1221
|
s(c);
|
1222
1222
|
};
|
@@ -1311,7 +1311,7 @@ const Zo = ar(), Ht = ({
|
|
1311
1311
|
wiggle: `${t.wiggle} 2s linear infinite`,
|
1312
1312
|
gradient: `${t.gradient} 3s ease infinite`
|
1313
1313
|
}), Xo = (t, n) => {
|
1314
|
-
var c, p, d, g, h, m,
|
1314
|
+
var c, p, d, g, h, m, v, f, N, S, I, D, T;
|
1315
1315
|
const e = su(n), o = G(t), r = (c = o == null ? void 0 : o.icon) == null ? void 0 : c.hasIcon, s = {
|
1316
1316
|
left: `${+(((p = t == null ? void 0 : t.container) == null ? void 0 : p.left) || 0) * -1 + 8}px`,
|
1317
1317
|
backgroundColor: (d = o == null ? void 0 : o.container) == null ? void 0 : d.backgroundColor,
|
@@ -1319,11 +1319,11 @@ const Zo = ar(), Ht = ({
|
|
1319
1319
|
borderTopColor: (h = o == null ? void 0 : o.container) == null ? void 0 : h.borderColor,
|
1320
1320
|
borderTopStyle: "solid",
|
1321
1321
|
borderLeftWidth: (m = o == null ? void 0 : o.container) == null ? void 0 : m.borderWidth,
|
1322
|
-
borderLeftColor: (
|
1322
|
+
borderLeftColor: (v = o == null ? void 0 : o.container) == null ? void 0 : v.borderColor,
|
1323
1323
|
borderLeftStyle: "solid"
|
1324
1324
|
}, l = {
|
1325
1325
|
left: (f = o == null ? void 0 : o.container) == null ? void 0 : f.left
|
1326
|
-
}, i = (((
|
1326
|
+
}, i = (((N = o == null ? void 0 : o.icon) == null ? void 0 : N.animations) || []).map((q) => e[q]).join(", "), _ = W((S = o == null ? void 0 : o.icon) == null ? void 0 : S.gradientColor) && ((I = o == null ? void 0 : o.icon) != null && I.animations.includes("gradient")) ? {
|
1327
1327
|
background: `linear-gradient(-90deg, ${(D = o.icon) == null ? void 0 : D.backgroundColor} 0%, ${(T = o == null ? void 0 : o.icon) == null ? void 0 : T.gradientColor} 100%) 0% 0% / 400% 400%`,
|
1328
1328
|
backgroundSize: "400% 400%"
|
1329
1329
|
} : o == null ? void 0 : o.icon, u = $(M($({}, (o == null ? void 0 : o.icon) || {}), {
|
@@ -1361,7 +1361,7 @@ const Zo = ar(), Ht = ({
|
|
1361
1361
|
onClickClose: r,
|
1362
1362
|
onClickIcon: s
|
1363
1363
|
}) => {
|
1364
|
-
var J, x,
|
1364
|
+
var J, x, k, b, w, C, O, L, R, H, j, P;
|
1365
1365
|
const l = K(null), [i, _] = Ce(), u = Z(), c = Pt({
|
1366
1366
|
targetRef: l,
|
1367
1367
|
id: t
|
@@ -1369,7 +1369,7 @@ const Zo = ar(), Ht = ({
|
|
1369
1369
|
hasIcon: g,
|
1370
1370
|
iconRules: h,
|
1371
1371
|
bodyRules: m,
|
1372
|
-
arrowRules:
|
1372
|
+
arrowRules: v
|
1373
1373
|
} = Xo(p, {
|
1374
1374
|
fade: V.fadein,
|
1375
1375
|
pulse: V.pulse,
|
@@ -1377,9 +1377,9 @@ const Zo = ar(), Ht = ({
|
|
1377
1377
|
gradient: V.gradient
|
1378
1378
|
});
|
1379
1379
|
It(p);
|
1380
|
-
const f = !!(d.legal.buttonHideText && ((J = d.legal.buttonHideText) == null ? void 0 : J.length) > 0),
|
1380
|
+
const f = !!(d.legal.buttonHideText && ((J = d.legal.buttonHideText) == null ? void 0 : J.length) > 0), N = M($({}, Ot(d == null ? void 0 : d.container, "left")), {
|
1381
1381
|
paddingBottom: (x = d == null ? void 0 : d.legal) != null && x.hidden ? 12 : 4
|
1382
|
-
}),
|
1382
|
+
}), S = {
|
1383
1383
|
paddingTop: 5,
|
1384
1384
|
paddingRight: 0,
|
1385
1385
|
paddingBottom: 2,
|
@@ -1391,13 +1391,13 @@ const Zo = ar(), Ht = ({
|
|
1391
1391
|
paddingLeft: 10
|
1392
1392
|
}, D = y(d, "legal.isSlideMode", !1), T = y(d, "legal.slideDuration", 1e3), q = y(d, "legal.slideDelay", 1e3);
|
1393
1393
|
return a("div", {
|
1394
|
-
className:
|
1394
|
+
className: A(V.root, {
|
1395
1395
|
[V.legalOpen]: i,
|
1396
1396
|
[V.legalStatic]: !f
|
1397
1397
|
}, e == null ? void 0 : e.root),
|
1398
1398
|
ref: l,
|
1399
1399
|
children: [a("div", {
|
1400
|
-
className:
|
1400
|
+
className: A(V.icon, e == null ? void 0 : e.icon),
|
1401
1401
|
style: h,
|
1402
1402
|
onClick: s,
|
1403
1403
|
children: g && a("div", {
|
@@ -1405,25 +1405,25 @@ const Zo = ar(), Ht = ({
|
|
1405
1405
|
children: a(Qe, {})
|
1406
1406
|
})
|
1407
1407
|
}), a("div", {
|
1408
|
-
className:
|
1408
|
+
className: A(V.body, {
|
1409
1409
|
[V.bodyOpen]: n
|
1410
1410
|
}, e == null ? void 0 : e.body),
|
1411
1411
|
style: m,
|
1412
1412
|
children: [a("div", {
|
1413
1413
|
className: V.arrow,
|
1414
|
-
style:
|
1414
|
+
style: v
|
1415
1415
|
}), a("div", {
|
1416
1416
|
className: V.close,
|
1417
1417
|
style: M($({}, gn(d == null ? void 0 : d.close)), {
|
1418
|
-
backgroundColor: (
|
1418
|
+
backgroundColor: (k = d == null ? void 0 : d.close) == null ? void 0 : k.color
|
1419
1419
|
}),
|
1420
1420
|
onClick: r,
|
1421
1421
|
children: a(Kt, {})
|
1422
1422
|
}), a("div", {
|
1423
|
-
className:
|
1424
|
-
style:
|
1423
|
+
className: A(V.container, e == null ? void 0 : e.container),
|
1424
|
+
style: N,
|
1425
1425
|
children: [a("a", {
|
1426
|
-
href: (
|
1426
|
+
href: (b = d == null ? void 0 : d.root) == null ? void 0 : b.offer,
|
1427
1427
|
style: {
|
1428
1428
|
opacity: i ? 0 : 1
|
1429
1429
|
},
|
@@ -1431,23 +1431,23 @@ const Zo = ar(), Ht = ({
|
|
1431
1431
|
rel: "nofollow noopener noreferrer",
|
1432
1432
|
onClick: () => o(),
|
1433
1433
|
children: [a("div", {
|
1434
|
-
className:
|
1434
|
+
className: A(V.inner, e == null ? void 0 : e.inner),
|
1435
1435
|
children: [a("div", {
|
1436
1436
|
className: V.logo,
|
1437
1437
|
style: d == null ? void 0 : d.logo
|
1438
1438
|
}), a(E, {
|
1439
1439
|
className: V.text,
|
1440
1440
|
style: d == null ? void 0 : d.text,
|
1441
|
-
typography: (
|
1442
|
-
accentTypography: (
|
1441
|
+
typography: (w = d.text) == null ? void 0 : w.typography,
|
1442
|
+
accentTypography: (C = d.text) == null ? void 0 : C.accentTypography,
|
1443
1443
|
children: (O = d == null ? void 0 : d.text) == null ? void 0 : O.children
|
1444
1444
|
})]
|
1445
1445
|
}), a("div", {
|
1446
|
-
className:
|
1446
|
+
className: A(V.button, {
|
1447
1447
|
[V.buttonAnimated]: d == null ? void 0 : d.button.isAnimated
|
1448
1448
|
}),
|
1449
1449
|
style: d == null ? void 0 : d.button,
|
1450
|
-
children: (
|
1450
|
+
children: (L = d == null ? void 0 : d.button) == null ? void 0 : L.children
|
1451
1451
|
})]
|
1452
1452
|
}), D ? a("div", {
|
1453
1453
|
className: V.slideLegal,
|
@@ -1465,7 +1465,7 @@ const Zo = ar(), Ht = ({
|
|
1465
1465
|
className: V.legalGap
|
1466
1466
|
}), a("div", {
|
1467
1467
|
className: V.legal,
|
1468
|
-
style: $($({}, d == null ? void 0 : d.legal), i ? I :
|
1468
|
+
style: $($({}, d == null ? void 0 : d.legal), i ? I : S),
|
1469
1469
|
children: [a("div", {
|
1470
1470
|
className: V.legalText,
|
1471
1471
|
children: (H = d == null ? void 0 : d.legal) == null ? void 0 : H.children
|
@@ -1521,7 +1521,7 @@ const Zo = ar(), Ht = ({
|
|
1521
1521
|
href: (o = e.root) == null ? void 0 : o.offer,
|
1522
1522
|
target: "_blank",
|
1523
1523
|
rel: "nofollow noopener noreferrer",
|
1524
|
-
className:
|
1524
|
+
className: A(Mt.root, {
|
1525
1525
|
[Mt.variant2]: ((r = e.root) == null ? void 0 : r.variant) === "variant2"
|
1526
1526
|
}),
|
1527
1527
|
style: e.root,
|
@@ -1570,7 +1570,7 @@ const Zo = ar(), Ht = ({
|
|
1570
1570
|
onClickIcon: r,
|
1571
1571
|
onClickClose: s
|
1572
1572
|
}) => {
|
1573
|
-
var
|
1573
|
+
var N, S, I;
|
1574
1574
|
const l = K(null), i = Z(), _ = Pt({
|
1575
1575
|
targetRef: l,
|
1576
1576
|
id: t
|
@@ -1586,16 +1586,16 @@ const Zo = ar(), Ht = ({
|
|
1586
1586
|
pulse: Q.pulse,
|
1587
1587
|
wiggle: Q.wiggle,
|
1588
1588
|
gradient: Q.gradient
|
1589
|
-
}), m = (
|
1589
|
+
}), m = (N = c == null ? void 0 : c.title) == null ? void 0 : N.hasIcon, v = Vt(c == null ? void 0 : c.title, ...so), f = Ot(c == null ? void 0 : c.title, ...so);
|
1590
1590
|
return a("div", {
|
1591
1591
|
ref: l,
|
1592
|
-
className:
|
1592
|
+
className: A(Q.root, {
|
1593
1593
|
[Q.desktop]: _ === "desktop",
|
1594
1594
|
[Q.laptop]: _ === "laptop",
|
1595
1595
|
[Q.tablet]: _ === "tablet"
|
1596
1596
|
}, e == null ? void 0 : e.root),
|
1597
1597
|
children: [a("div", {
|
1598
|
-
className:
|
1598
|
+
className: A(Q.icon, e == null ? void 0 : e.icon),
|
1599
1599
|
style: d,
|
1600
1600
|
onClick: r,
|
1601
1601
|
children: p && a("div", {
|
@@ -1603,7 +1603,7 @@ const Zo = ar(), Ht = ({
|
|
1603
1603
|
children: a(Qe, {})
|
1604
1604
|
})
|
1605
1605
|
}), a("div", {
|
1606
|
-
className:
|
1606
|
+
className: A(Q.body, {
|
1607
1607
|
[Q.bodyOpen]: n
|
1608
1608
|
}, e == null ? void 0 : e.body),
|
1609
1609
|
style: g,
|
@@ -1611,11 +1611,11 @@ const Zo = ar(), Ht = ({
|
|
1611
1611
|
className: Q.arrow,
|
1612
1612
|
style: h
|
1613
1613
|
}), a("div", {
|
1614
|
-
className:
|
1614
|
+
className: A(Q.container, e == null ? void 0 : e.container),
|
1615
1615
|
style: c.container,
|
1616
1616
|
children: [a("div", {
|
1617
1617
|
className: Q.head,
|
1618
|
-
style:
|
1618
|
+
style: v,
|
1619
1619
|
children: [m && a("div", {
|
1620
1620
|
className: Q.headIcon,
|
1621
1621
|
style: Vt(c.title, "color"),
|
@@ -1626,7 +1626,7 @@ const Zo = ar(), Ht = ({
|
|
1626
1626
|
}), a("div", {
|
1627
1627
|
className: Q.headTitle,
|
1628
1628
|
style: f,
|
1629
|
-
children: (
|
1629
|
+
children: (S = c.title) == null ? void 0 : S.children
|
1630
1630
|
}), a("div", {
|
1631
1631
|
className: Q.close,
|
1632
1632
|
style: gn(c == null ? void 0 : c.close),
|
@@ -1684,7 +1684,7 @@ const Zo = ar(), Ht = ({
|
|
1684
1684
|
})
|
1685
1685
|
});
|
1686
1686
|
}, un = (t, n = 0, e = !1) => {
|
1687
|
-
const o = K(cn()), [r, s] = mt(!1), [l, i] = mt(), [_, u] = mt(e), c = (
|
1687
|
+
const o = K(cn()), [r, s] = mt(!1), [l, i] = mt(), [_, u] = mt(e), c = (v) => o.current.on("visible", v), p = (v) => o.current.on("click", v), d = (v) => o.current.on("clickHide", v), g = () => ke(void 0, null, function* () {
|
1688
1688
|
yield hd(+n), s(!0);
|
1689
1689
|
}), h = () => s(!1), m = () => {
|
1690
1690
|
o.current.emit("clickHide"), h();
|
@@ -1707,8 +1707,8 @@ const Zo = ar(), Ht = ({
|
|
1707
1707
|
hide: h,
|
1708
1708
|
clickHide: m,
|
1709
1709
|
setIsReady: u,
|
1710
|
-
click: (...
|
1711
|
-
h(), o.current.emit("click", ...
|
1710
|
+
click: (...v) => {
|
1711
|
+
h(), o.current.emit("click", ...v);
|
1712
1712
|
}
|
1713
1713
|
};
|
1714
1714
|
}, ap = "_root_120y9_1", sp = "_progress_120y9_8", ip = "_countdown_120y9_1", lp = "_body_120y9_17", cp = "_body_active_120y9_31", _p = "_closeIcon_120y9_35", Jt = {
|
@@ -1756,7 +1756,7 @@ const Zo = ar(), Ht = ({
|
|
1756
1756
|
"--offset": `${_}px`
|
1757
1757
|
},
|
1758
1758
|
children: [a("svg", {
|
1759
|
-
className:
|
1759
|
+
className: A(Jt.progress, {
|
1760
1760
|
[Jt.progress_animate]: s > 0
|
1761
1761
|
}),
|
1762
1762
|
style: {
|
@@ -1787,7 +1787,7 @@ const Zo = ar(), Ht = ({
|
|
1787
1787
|
fill: "transparent"
|
1788
1788
|
})]
|
1789
1789
|
}, n), a("div", {
|
1790
|
-
className:
|
1790
|
+
className: A(Jt.body, {
|
1791
1791
|
[Jt.body_active]: s <= 0
|
1792
1792
|
}),
|
1793
1793
|
onClick: s <= 0 ? o : void 0,
|
@@ -1809,19 +1809,19 @@ const gp = ee(({
|
|
1809
1809
|
id: t,
|
1810
1810
|
className: n
|
1811
1811
|
}, e) => {
|
1812
|
-
var O,
|
1812
|
+
var O, L, R, H, j, P, lt, ot;
|
1813
1813
|
const [o, r] = mt(1 / 0), s = K(null), l = K(null), i = Pt({
|
1814
1814
|
targetRef: s,
|
1815
1815
|
id: t
|
1816
1816
|
}), _ = Z(), u = Dt(_, i);
|
1817
|
-
It(u), u && (Wt(u, "button.percent_width", (O = u == null ? void 0 : u.button) == null ? void 0 : O.width), Wt(u, "legal.percent_width", (
|
1817
|
+
It(u), u && (Wt(u, "button.percent_width", (O = u == null ? void 0 : u.button) == null ? void 0 : O.width), Wt(u, "legal.percent_width", (L = u == null ? void 0 : u.legal) == null ? void 0 : L.width));
|
1818
1818
|
const c = G(u), p = y(c, "root.delay", 0), {
|
1819
1819
|
isOpen: d,
|
1820
1820
|
isReady: g,
|
1821
1821
|
setIsReady: h,
|
1822
1822
|
clickHide: m,
|
1823
|
-
click:
|
1824
|
-
} = un(e, p), f = y(c, "close.variant", "default"),
|
1823
|
+
click: v
|
1824
|
+
} = un(e, p), f = y(c, "close.variant", "default"), N = y(c, "close.radius", 21), S = y(c, "close.colorDirection", "default"), I = y(c, "close.timeoutLock", !1), D = f === "timer" ? o <= 0 : !0, T = f === "timer" && I && o > 0 ? "div" : "a";
|
1825
1825
|
z(() => {
|
1826
1826
|
const rt = l.current;
|
1827
1827
|
if (!rt)
|
@@ -1841,16 +1841,16 @@ const gp = ee(({
|
|
1841
1841
|
justifyContent: jt((H = c.root) == null ? void 0 : H.textAlign)
|
1842
1842
|
}), x = M($({}, c == null ? void 0 : c.legal), {
|
1843
1843
|
justifyContent: jt((j = c.root) == null ? void 0 : j.textAlign)
|
1844
|
-
}),
|
1844
|
+
}), k = (P = c.root) == null ? void 0 : P.corner, b = Ot(c.root, ...ao, ...Tt), w = Vt(c.root, ...ao), C = d && g;
|
1845
1845
|
return a("div", {
|
1846
|
-
className:
|
1846
|
+
className: A(ut.root, n, {
|
1847
1847
|
[ut.desktop]: i === "desktop",
|
1848
1848
|
[ut.tablet]: i === "tablet",
|
1849
1849
|
[ut.laptop]: i === "laptop"
|
1850
1850
|
}),
|
1851
1851
|
ref: s,
|
1852
1852
|
style: {
|
1853
|
-
display:
|
1853
|
+
display: C ? "flex" : "none"
|
1854
1854
|
},
|
1855
1855
|
children: [a("div", {
|
1856
1856
|
className: ut.overlay,
|
@@ -1858,12 +1858,12 @@ const gp = ee(({
|
|
1858
1858
|
onClick: D && m
|
1859
1859
|
}), a("div", {
|
1860
1860
|
className: ut.wrapper,
|
1861
|
-
children: [
|
1861
|
+
children: [C && a(ye, {
|
1862
1862
|
children: f === "default" ? a("div", {
|
1863
1863
|
className: ut.close,
|
1864
1864
|
style: M($({}, c.close), {
|
1865
|
-
borderBottomLeftRadius: `${
|
1866
|
-
borderTopRightRadius: `${
|
1865
|
+
borderBottomLeftRadius: `${k}px`,
|
1866
|
+
borderTopRightRadius: `${k}px`
|
1867
1867
|
}),
|
1868
1868
|
onClick: m,
|
1869
1869
|
children: a(Kt, {
|
@@ -1874,8 +1874,8 @@ const gp = ee(({
|
|
1874
1874
|
className: ut.closeTimer,
|
1875
1875
|
children: a(pn, {
|
1876
1876
|
timeout: y(c, "close.timeout"),
|
1877
|
-
colorDirection:
|
1878
|
-
radius:
|
1877
|
+
colorDirection: S,
|
1878
|
+
radius: N,
|
1879
1879
|
onClick: m,
|
1880
1880
|
onChange: r
|
1881
1881
|
})
|
@@ -1889,14 +1889,14 @@ const gp = ee(({
|
|
1889
1889
|
target: "_blank",
|
1890
1890
|
rel: "nofollow noopener noreferrer",
|
1891
1891
|
className: ut.content,
|
1892
|
-
style:
|
1893
|
-
onClick: () => T === "a" &&
|
1892
|
+
style: b,
|
1893
|
+
onClick: () => T === "a" && v(c.id),
|
1894
1894
|
children: [a("img", {
|
1895
1895
|
ref: l,
|
1896
1896
|
className: ut.background,
|
1897
|
-
src:
|
1897
|
+
src: w.imageSource,
|
1898
1898
|
alt: "",
|
1899
|
-
style:
|
1899
|
+
style: w
|
1900
1900
|
}), a("div", {
|
1901
1901
|
className: ut.body,
|
1902
1902
|
style: q,
|
@@ -1957,7 +1957,7 @@ const gp = ee(({
|
|
1957
1957
|
href: (c = s.root) == null ? void 0 : c.offer,
|
1958
1958
|
target: "_blank",
|
1959
1959
|
rel: "nofollow noopener noreferrer",
|
1960
|
-
className:
|
1960
|
+
className: A(Bt.root, t, {
|
1961
1961
|
[Bt.isColumn]: n
|
1962
1962
|
}),
|
1963
1963
|
style: s == null ? void 0 : s.root,
|
@@ -1969,7 +1969,7 @@ const gp = ee(({
|
|
1969
1969
|
children: [a("div", {
|
1970
1970
|
className: Bt.body,
|
1971
1971
|
children: a(E, {
|
1972
|
-
className:
|
1972
|
+
className: A(Bt.text, {
|
1973
1973
|
[Bt.disableOverlay]: i
|
1974
1974
|
}),
|
1975
1975
|
style: s.text,
|
@@ -1979,10 +1979,10 @@ const gp = ee(({
|
|
1979
1979
|
})
|
1980
1980
|
}), a("div", {
|
1981
1981
|
children: a("button", {
|
1982
|
-
className:
|
1982
|
+
className: A(Bt.button, e == null ? void 0 : e.button),
|
1983
1983
|
style: s.button,
|
1984
1984
|
children: [a("div", {
|
1985
|
-
className:
|
1985
|
+
className: A(Bt.logo, e == null ? void 0 : e.logo),
|
1986
1986
|
style: s.logo
|
1987
1987
|
}), a(E, {
|
1988
1988
|
children: (h = s.button) == null ? void 0 : h.children
|
@@ -2006,7 +2006,7 @@ const gp = ee(({
|
|
2006
2006
|
device: t,
|
2007
2007
|
onClick: n
|
2008
2008
|
}) => a(Qo, {
|
2009
|
-
className:
|
2009
|
+
className: A(fe.bonus, {
|
2010
2010
|
[fe.isColumn]: t === "laptop",
|
2011
2011
|
[fe.desktop]: t === "laptop"
|
2012
2012
|
}),
|
@@ -2036,7 +2036,7 @@ const Up = {
|
|
2036
2036
|
}, zp = ee(({
|
2037
2037
|
id: t
|
2038
2038
|
}, n) => {
|
2039
|
-
var
|
2039
|
+
var S, I;
|
2040
2040
|
const [e, o] = mt(1 / 0), r = K(null), s = Pt({
|
2041
2041
|
targetRef: r,
|
2042
2042
|
id: t,
|
@@ -2047,7 +2047,7 @@ const Up = {
|
|
2047
2047
|
isOpen: c,
|
2048
2048
|
clickHide: p,
|
2049
2049
|
click: d
|
2050
|
-
} = un(n, u, !0), g = y(_, "close.variant", "default"), h = y(_, "close.radius", 21), m = y(_, "close.colorDirection", "default"),
|
2050
|
+
} = un(n, u, !0), g = y(_, "close.variant", "default"), h = y(_, "close.radius", 21), m = y(_, "close.colorDirection", "default"), v = y(_, "close.timeoutLock", !1), f = g === "timer" ? e <= 0 : !0, N = g === "timer" && v && e > 0 ? "div" : "a";
|
2051
2051
|
return a("div", {
|
2052
2052
|
className: xt.root,
|
2053
2053
|
style: {
|
@@ -2059,7 +2059,7 @@ const Up = {
|
|
2059
2059
|
onClick: f && p
|
2060
2060
|
}), a("div", {
|
2061
2061
|
ref: r,
|
2062
|
-
className:
|
2062
|
+
className: A(xt.content, {
|
2063
2063
|
[xt.desktop]: s === "laptop",
|
2064
2064
|
[xt.mobile]: s === "mobile"
|
2065
2065
|
}),
|
@@ -2093,7 +2093,7 @@ const Up = {
|
|
2093
2093
|
}), a(E, {
|
2094
2094
|
className: xt.promotion,
|
2095
2095
|
style: _.promotion,
|
2096
|
-
children: (
|
2096
|
+
children: (S = _.promotion) == null ? void 0 : S.children
|
2097
2097
|
}), a(E, {
|
2098
2098
|
className: xt.title,
|
2099
2099
|
style: _.title,
|
@@ -2103,7 +2103,7 @@ const Up = {
|
|
2103
2103
|
children: (_.children || []).map((D) => a(Ht, {
|
2104
2104
|
value: M($({}, D), {
|
2105
2105
|
device: s,
|
2106
|
-
OfferTag:
|
2106
|
+
OfferTag: N
|
2107
2107
|
}),
|
2108
2108
|
children: a(Vp, {
|
2109
2109
|
className: xt.bonus,
|
@@ -2489,7 +2489,7 @@ const Nf = new Set(Object.keys(tr)), wt = ({
|
|
2489
2489
|
backgroundImage: y(e, "match.teams[1].logo")
|
2490
2490
|
}), i = y(e, "match.prediction.value");
|
2491
2491
|
return a("div", {
|
2492
|
-
className:
|
2492
|
+
className: A(tt.root, {
|
2493
2493
|
[tt.desktop]: o === "desktop",
|
2494
2494
|
[tt.laptop]: o === "laptop"
|
2495
2495
|
}),
|
@@ -2607,98 +2607,98 @@ var St = {}, Kf = {
|
|
2607
2607
|
(function(e, o) {
|
2608
2608
|
t.exports = o();
|
2609
2609
|
})(ht, function() {
|
2610
|
-
var e = "millisecond", o = "second", r = "minute", s = "hour", l = "day", i = "week", _ = "month", u = "quarter", c = "year", p = "date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, g = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, h = function(x,
|
2611
|
-
var
|
2612
|
-
return !
|
2610
|
+
var e = "millisecond", o = "second", r = "minute", s = "hour", l = "day", i = "week", _ = "month", u = "quarter", c = "year", p = "date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, g = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, h = function(x, k, b) {
|
2611
|
+
var w = String(x);
|
2612
|
+
return !w || w.length >= k ? x : "" + Array(k + 1 - w.length).join(b) + x;
|
2613
2613
|
}, m = { s: h, z: function(x) {
|
2614
|
-
var
|
2615
|
-
return (
|
2616
|
-
}, m: function x(
|
2617
|
-
if (
|
2618
|
-
return -x(
|
2619
|
-
var
|
2620
|
-
return +(-(
|
2614
|
+
var k = -x.utcOffset(), b = Math.abs(k), w = Math.floor(b / 60), C = b % 60;
|
2615
|
+
return (k <= 0 ? "+" : "-") + h(w, 2, "0") + ":" + h(C, 2, "0");
|
2616
|
+
}, m: function x(k, b) {
|
2617
|
+
if (k.date() < b.date())
|
2618
|
+
return -x(b, k);
|
2619
|
+
var w = 12 * (b.year() - k.year()) + (b.month() - k.month()), C = k.clone().add(w, _), O = b - C < 0, L = k.clone().add(w + (O ? -1 : 1), _);
|
2620
|
+
return +(-(w + (b - C) / (O ? C - L : L - C)) || 0);
|
2621
2621
|
}, a: function(x) {
|
2622
2622
|
return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
|
2623
2623
|
}, p: function(x) {
|
2624
2624
|
return { M: _, y: c, w: i, d: l, D: p, h: s, m: r, s: o, ms: e, Q: u }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
2625
2625
|
}, u: function(x) {
|
2626
2626
|
return x === void 0;
|
2627
|
-
} },
|
2628
|
-
|
2629
|
-
var
|
2627
|
+
} }, v = { 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", N = {};
|
2628
|
+
N[f] = v;
|
2629
|
+
var S = function(x) {
|
2630
2630
|
return x instanceof q;
|
2631
|
-
}, I = function(x,
|
2632
|
-
var
|
2631
|
+
}, I = function(x, k, b) {
|
2632
|
+
var w;
|
2633
2633
|
if (!x)
|
2634
2634
|
return f;
|
2635
2635
|
if (typeof x == "string")
|
2636
|
-
|
2636
|
+
N[x] && (w = x), k && (N[x] = k, w = x);
|
2637
2637
|
else {
|
2638
|
-
var
|
2639
|
-
|
2638
|
+
var C = x.name;
|
2639
|
+
N[C] = x, w = C;
|
2640
2640
|
}
|
2641
|
-
return !
|
2642
|
-
}, D = function(x,
|
2643
|
-
if (
|
2641
|
+
return !b && w && (f = w), w || !b && f;
|
2642
|
+
}, D = function(x, k) {
|
2643
|
+
if (S(x))
|
2644
2644
|
return x.clone();
|
2645
|
-
var
|
2646
|
-
return
|
2645
|
+
var b = typeof k == "object" ? k : {};
|
2646
|
+
return b.date = x, b.args = arguments, new q(b);
|
2647
2647
|
}, T = m;
|
2648
|
-
T.l = I, T.i =
|
2649
|
-
return D(x, { locale:
|
2648
|
+
T.l = I, T.i = S, T.w = function(x, k) {
|
2649
|
+
return D(x, { locale: k.$L, utc: k.$u, $offset: k.$offset });
|
2650
2650
|
};
|
2651
2651
|
var q = function() {
|
2652
|
-
function x(
|
2653
|
-
this.$L = this.$L || I(
|
2652
|
+
function x(b) {
|
2653
|
+
this.$L = this.$L || I(b.locale, null, !0), this.parse(b);
|
2654
2654
|
}
|
2655
|
-
var
|
2656
|
-
return
|
2657
|
-
this.$d = function(
|
2658
|
-
var
|
2659
|
-
if (
|
2655
|
+
var k = x.prototype;
|
2656
|
+
return k.parse = function(b) {
|
2657
|
+
this.$d = function(w) {
|
2658
|
+
var C = w.date, O = w.utc;
|
2659
|
+
if (C === null)
|
2660
2660
|
return /* @__PURE__ */ new Date(NaN);
|
2661
|
-
if (T.u(
|
2661
|
+
if (T.u(C))
|
2662
2662
|
return /* @__PURE__ */ new Date();
|
2663
|
-
if (
|
2664
|
-
return new Date(
|
2665
|
-
if (typeof
|
2666
|
-
var
|
2667
|
-
if (
|
2668
|
-
var R =
|
2669
|
-
return O ? new Date(Date.UTC(
|
2663
|
+
if (C instanceof Date)
|
2664
|
+
return new Date(C);
|
2665
|
+
if (typeof C == "string" && !/Z$/i.test(C)) {
|
2666
|
+
var L = C.match(d);
|
2667
|
+
if (L) {
|
2668
|
+
var R = L[2] - 1 || 0, H = (L[7] || "0").substring(0, 3);
|
2669
|
+
return O ? new Date(Date.UTC(L[1], R, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, H)) : new Date(L[1], R, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, H);
|
2670
2670
|
}
|
2671
2671
|
}
|
2672
|
-
return new Date(
|
2673
|
-
}(
|
2674
|
-
},
|
2675
|
-
var
|
2676
|
-
this.$y =
|
2677
|
-
},
|
2672
|
+
return new Date(C);
|
2673
|
+
}(b), this.init();
|
2674
|
+
}, k.init = function() {
|
2675
|
+
var b = this.$d;
|
2676
|
+
this.$y = b.getFullYear(), this.$M = b.getMonth(), this.$D = b.getDate(), this.$W = b.getDay(), this.$H = b.getHours(), this.$m = b.getMinutes(), this.$s = b.getSeconds(), this.$ms = b.getMilliseconds();
|
2677
|
+
}, k.$utils = function() {
|
2678
2678
|
return T;
|
2679
|
-
},
|
2679
|
+
}, k.isValid = function() {
|
2680
2680
|
return this.$d.toString() !== "Invalid Date";
|
2681
|
-
},
|
2682
|
-
var
|
2683
|
-
return this.startOf(
|
2684
|
-
},
|
2685
|
-
return D(
|
2686
|
-
},
|
2687
|
-
return this.endOf(
|
2688
|
-
},
|
2689
|
-
return T.u(
|
2690
|
-
},
|
2681
|
+
}, k.isSame = function(b, w) {
|
2682
|
+
var C = D(b);
|
2683
|
+
return this.startOf(w) <= C && C <= this.endOf(w);
|
2684
|
+
}, k.isAfter = function(b, w) {
|
2685
|
+
return D(b) < this.startOf(w);
|
2686
|
+
}, k.isBefore = function(b, w) {
|
2687
|
+
return this.endOf(w) < D(b);
|
2688
|
+
}, k.$g = function(b, w, C) {
|
2689
|
+
return T.u(b) ? this[w] : this.set(C, b);
|
2690
|
+
}, k.unix = function() {
|
2691
2691
|
return Math.floor(this.valueOf() / 1e3);
|
2692
|
-
},
|
2692
|
+
}, k.valueOf = function() {
|
2693
2693
|
return this.$d.getTime();
|
2694
|
-
},
|
2695
|
-
var
|
2696
|
-
var ft = T.w(
|
2694
|
+
}, k.startOf = function(b, w) {
|
2695
|
+
var C = this, O = !!T.u(w) || w, L = T.p(b), R = function(yt, X) {
|
2696
|
+
var ft = T.w(C.$u ? Date.UTC(C.$y, X, yt) : new Date(C.$y, X, yt), C);
|
2697
2697
|
return O ? ft : ft.endOf(l);
|
2698
2698
|
}, H = function(yt, X) {
|
2699
|
-
return T.w(
|
2699
|
+
return T.w(C.toDate()[yt].apply(C.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), C);
|
2700
2700
|
}, j = this.$W, P = this.$M, lt = this.$D, ot = "set" + (this.$u ? "UTC" : "");
|
2701
|
-
switch (
|
2701
|
+
switch (L) {
|
2702
2702
|
case c:
|
2703
2703
|
return O ? R(1, 0) : R(31, 11);
|
2704
2704
|
case _:
|
@@ -2718,89 +2718,89 @@ var St = {}, Kf = {
|
|
2718
2718
|
default:
|
2719
2719
|
return this.clone();
|
2720
2720
|
}
|
2721
|
-
},
|
2722
|
-
return this.startOf(
|
2723
|
-
},
|
2724
|
-
var
|
2721
|
+
}, k.endOf = function(b) {
|
2722
|
+
return this.startOf(b, !1);
|
2723
|
+
}, k.$set = function(b, w) {
|
2724
|
+
var C, O = T.p(b), L = "set" + (this.$u ? "UTC" : ""), R = (C = {}, C[l] = L + "Date", C[p] = L + "Date", C[_] = L + "Month", C[c] = L + "FullYear", C[s] = L + "Hours", C[r] = L + "Minutes", C[o] = L + "Seconds", C[e] = L + "Milliseconds", C)[O], H = O === l ? this.$D + (w - this.$W) : w;
|
2725
2725
|
if (O === _ || O === c) {
|
2726
2726
|
var j = this.clone().set(p, 1);
|
2727
2727
|
j.$d[R](H), j.init(), this.$d = j.set(p, Math.min(this.$D, j.daysInMonth())).$d;
|
2728
2728
|
} else
|
2729
2729
|
R && this.$d[R](H);
|
2730
2730
|
return this.init(), this;
|
2731
|
-
},
|
2732
|
-
return this.clone().$set(
|
2733
|
-
},
|
2734
|
-
return this[T.p(
|
2735
|
-
},
|
2736
|
-
var
|
2737
|
-
|
2738
|
-
var
|
2731
|
+
}, k.set = function(b, w) {
|
2732
|
+
return this.clone().$set(b, w);
|
2733
|
+
}, k.get = function(b) {
|
2734
|
+
return this[T.p(b)]();
|
2735
|
+
}, k.add = function(b, w) {
|
2736
|
+
var C, O = this;
|
2737
|
+
b = Number(b);
|
2738
|
+
var L = T.p(w), R = function(P) {
|
2739
2739
|
var lt = D(O);
|
2740
|
-
return T.w(lt.date(lt.date() + Math.round(P *
|
2740
|
+
return T.w(lt.date(lt.date() + Math.round(P * b)), O);
|
2741
2741
|
};
|
2742
|
-
if (
|
2743
|
-
return this.set(_, this.$M +
|
2744
|
-
if (
|
2745
|
-
return this.set(c, this.$y +
|
2746
|
-
if (
|
2742
|
+
if (L === _)
|
2743
|
+
return this.set(_, this.$M + b);
|
2744
|
+
if (L === c)
|
2745
|
+
return this.set(c, this.$y + b);
|
2746
|
+
if (L === l)
|
2747
2747
|
return R(1);
|
2748
|
-
if (
|
2748
|
+
if (L === i)
|
2749
2749
|
return R(7);
|
2750
|
-
var H = (
|
2750
|
+
var H = (C = {}, C[r] = 6e4, C[s] = 36e5, C[o] = 1e3, C)[L] || 1, j = this.$d.getTime() + b * H;
|
2751
2751
|
return T.w(j, this);
|
2752
|
-
},
|
2753
|
-
return this.add(-1 *
|
2754
|
-
},
|
2755
|
-
var
|
2752
|
+
}, k.subtract = function(b, w) {
|
2753
|
+
return this.add(-1 * b, w);
|
2754
|
+
}, k.format = function(b) {
|
2755
|
+
var w = this;
|
2756
2756
|
if (!this.isValid())
|
2757
2757
|
return "Invalid Date";
|
2758
|
-
var
|
2759
|
-
return X && (X[ft] || X(
|
2758
|
+
var C = b || "YYYY-MM-DDTHH:mm:ssZ", O = T.z(this), L = this.$locale(), R = this.$H, H = this.$m, j = this.$M, P = L.weekdays, lt = L.months, ot = function(X, ft, Yt, Rt) {
|
2759
|
+
return X && (X[ft] || X(w, C)) || Yt[ft].substr(0, Rt);
|
2760
2760
|
}, rt = function(X) {
|
2761
2761
|
return T.s(R % 12 || 12, X, "0");
|
2762
|
-
}, pt =
|
2762
|
+
}, pt = L.meridiem || function(X, ft, Yt) {
|
2763
2763
|
var Rt = X < 12 ? "AM" : "PM";
|
2764
2764
|
return Yt ? Rt.toLowerCase() : Rt;
|
2765
|
-
}, yt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: j + 1, MM: T.s(j + 1, 2, "0"), MMM: ot(
|
2766
|
-
return
|
2765
|
+
}, yt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: j + 1, MM: T.s(j + 1, 2, "0"), MMM: ot(L.monthsShort, j, lt, 3), MMMM: ot(lt, j), D: this.$D, DD: T.s(this.$D, 2, "0"), d: String(this.$W), dd: ot(L.weekdaysMin, this.$W, P, 2), ddd: ot(L.weekdaysShort, this.$W, P, 3), dddd: P[this.$W], H: String(R), HH: T.s(R, 2, "0"), h: rt(1), hh: rt(2), a: pt(R, H, !0), A: pt(R, H, !1), m: String(H), mm: T.s(H, 2, "0"), s: String(this.$s), ss: T.s(this.$s, 2, "0"), SSS: T.s(this.$ms, 3, "0"), Z: O };
|
2766
|
+
return C.replace(g, function(X, ft) {
|
2767
2767
|
return ft || yt[X] || O.replace(":", "");
|
2768
2768
|
});
|
2769
|
-
},
|
2769
|
+
}, k.utcOffset = function() {
|
2770
2770
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
2771
|
-
},
|
2772
|
-
var O,
|
2773
|
-
return P = (O = {}, O[c] = P / 12, O[_] = P, O[u] = P / 3, O[i] = (j - H) / 6048e5, O[l] = (j - H) / 864e5, O[s] = j / 36e5, O[r] = j / 6e4, O[o] = j / 1e3, O)[
|
2774
|
-
},
|
2771
|
+
}, k.diff = function(b, w, C) {
|
2772
|
+
var O, L = T.p(w), R = D(b), H = 6e4 * (R.utcOffset() - this.utcOffset()), j = this - R, P = T.m(this, R);
|
2773
|
+
return P = (O = {}, O[c] = P / 12, O[_] = P, O[u] = P / 3, O[i] = (j - H) / 6048e5, O[l] = (j - H) / 864e5, O[s] = j / 36e5, O[r] = j / 6e4, O[o] = j / 1e3, O)[L] || j, C ? P : T.a(P);
|
2774
|
+
}, k.daysInMonth = function() {
|
2775
2775
|
return this.endOf(_).$D;
|
2776
|
-
},
|
2777
|
-
return
|
2778
|
-
},
|
2779
|
-
if (!
|
2776
|
+
}, k.$locale = function() {
|
2777
|
+
return N[this.$L];
|
2778
|
+
}, k.locale = function(b, w) {
|
2779
|
+
if (!b)
|
2780
2780
|
return this.$L;
|
2781
|
-
var
|
2782
|
-
return O && (
|
2783
|
-
},
|
2781
|
+
var C = this.clone(), O = I(b, w, !0);
|
2782
|
+
return O && (C.$L = O), C;
|
2783
|
+
}, k.clone = function() {
|
2784
2784
|
return T.w(this.$d, this);
|
2785
|
-
},
|
2785
|
+
}, k.toDate = function() {
|
2786
2786
|
return new Date(this.valueOf());
|
2787
|
-
},
|
2787
|
+
}, k.toJSON = function() {
|
2788
2788
|
return this.isValid() ? this.toISOString() : null;
|
2789
|
-
},
|
2789
|
+
}, k.toISOString = function() {
|
2790
2790
|
return this.$d.toISOString();
|
2791
|
-
},
|
2791
|
+
}, k.toString = function() {
|
2792
2792
|
return this.$d.toUTCString();
|
2793
2793
|
}, x;
|
2794
2794
|
}(), J = q.prototype;
|
2795
2795
|
return D.prototype = J, [["$ms", e], ["$s", o], ["$m", r], ["$H", s], ["$W", l], ["$M", _], ["$y", c], ["$D", p]].forEach(function(x) {
|
2796
|
-
J[x[1]] = function(
|
2797
|
-
return this.$g(
|
2796
|
+
J[x[1]] = function(k) {
|
2797
|
+
return this.$g(k, x[0], x[1]);
|
2798
2798
|
};
|
2799
|
-
}), D.extend = function(x,
|
2800
|
-
return x(
|
2801
|
-
}, D.locale = I, D.isDayjs =
|
2799
|
+
}), D.extend = function(x, k) {
|
2800
|
+
return x(k, q, D), D;
|
2801
|
+
}, D.locale = I, D.isDayjs = S, D.unix = function(x) {
|
2802
2802
|
return D(1e3 * x);
|
2803
|
-
}, D.en =
|
2803
|
+
}, D.en = N[f], D.Ls = N, D;
|
2804
2804
|
});
|
2805
2805
|
})(Kf);
|
2806
2806
|
const Zf = St;
|
@@ -2819,8 +2819,8 @@ var io = {}, Jf = {
|
|
2819
2819
|
e = e && e.hasOwnProperty("default") ? e.default : e;
|
2820
2820
|
var o = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), r = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), s = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), l = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), i = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
|
2821
2821
|
function _(d, g, h) {
|
2822
|
-
var m,
|
2823
|
-
return h === "m" ? g ? "минута" : "минуту" : d + " " + (m = +d,
|
2822
|
+
var m, v;
|
2823
|
+
return h === "m" ? g ? "минута" : "минуту" : d + " " + (m = +d, v = { mm: g ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[h].split("_"), m % 10 == 1 && m % 100 != 11 ? v[0] : m % 10 >= 2 && m % 10 <= 4 && (m % 100 < 10 || m % 100 >= 20) ? v[1] : v[2]);
|
2824
2824
|
}
|
2825
2825
|
var u = function(d, g) {
|
2826
2826
|
return i.test(g) ? o[d.month()] : r[d.month()];
|
@@ -3004,13 +3004,13 @@ const mo = (t, n = "DD.MM.YYYY", e = "en") => t ? Zf(t).locale(e).format(n) : ""
|
|
3004
3004
|
backgroundImage: y(e, "match.teams[1].logo")
|
3005
3005
|
}), l = y(e, "match.lang_slug", "ru"), i = y(e, "match.sport_slug"), _ = mo(y(e, "match.match_date"), "HH:mm", l), u = mo(y(e, "match.match_date"), "DD MMMM", l), p = y(e, "root.predictionLength", "full") === "full" ? y(e, "match.prediction.value") : y(e, "match.prediction.value_short") || y(e, "match.prediction.value"), d = Number(y(e, "match.prediction.factor", 0)).toFixed(2);
|
3006
3006
|
return a("div", {
|
3007
|
-
className:
|
3007
|
+
className: A(at.root, {
|
3008
3008
|
[at.desktop]: o === "desktop",
|
3009
3009
|
[at.laptop]: o === "laptop",
|
3010
3010
|
[at.tablet]: o === "tablet"
|
3011
3011
|
}),
|
3012
3012
|
children: [a("div", {
|
3013
|
-
className:
|
3013
|
+
className: A(at.side, at.side_left),
|
3014
3014
|
children: [a(wt, {
|
3015
3015
|
className: at.teamLogo,
|
3016
3016
|
style: r,
|
@@ -3050,7 +3050,7 @@ const mo = (t, n = "DD.MM.YYYY", e = "en") => t ? Zf(t).locale(e).format(n) : ""
|
|
3050
3050
|
})]
|
3051
3051
|
})]
|
3052
3052
|
}), a("div", {
|
3053
|
-
className:
|
3053
|
+
className: A(at.side, at.side_right),
|
3054
3054
|
children: [a(wt, {
|
3055
3055
|
className: at.teamLogo,
|
3056
3056
|
style: s,
|
@@ -3098,8 +3098,8 @@ const mo = (t, n = "DD.MM.YYYY", e = "en") => t ? Zf(t).locale(e).format(n) : ""
|
|
3098
3098
|
if (e) {
|
3099
3099
|
const d = new URLSearchParams();
|
3100
3100
|
Object.entries(e).forEach(([g, h]) => {
|
3101
|
-
Array.isArray(h) ? h.forEach((m,
|
3102
|
-
m && d.append(`${g}[${
|
3101
|
+
Array.isArray(h) ? h.forEach((m, v) => {
|
3102
|
+
m && d.append(`${g}[${v}]`, m);
|
3103
3103
|
}) : h && d.append(g, h);
|
3104
3104
|
}), p += `?${d.toString()}`;
|
3105
3105
|
}
|
@@ -3229,7 +3229,7 @@ const sg = (t) => {
|
|
3229
3229
|
const d = (i || []).find((m) => m.slug === p.root.targetMatch.matchSlug);
|
3230
3230
|
if (!d)
|
3231
3231
|
return;
|
3232
|
-
const g = be(d), h = dn(g, p.root.customMatch, (m, [
|
3232
|
+
const g = be(d), h = dn(g, p.root.customMatch, (m, [v, f]) => W(f));
|
3233
3233
|
return M($({}, p), {
|
3234
3234
|
match: h
|
3235
3235
|
});
|
@@ -3254,33 +3254,33 @@ const sg = (t) => {
|
|
3254
3254
|
const p = y(c, "root.delay", 0), g = y(c, "children", []).find((ue) => ue.name === "auto"), {
|
3255
3255
|
isOpen: h,
|
3256
3256
|
apiHost: m,
|
3257
|
-
clickHide:
|
3257
|
+
clickHide: v,
|
3258
3258
|
click: f
|
3259
|
-
} = un(o, p, !0),
|
3259
|
+
} = un(o, p, !0), N = y(c, "close.variant", "default"), S = y(c, "close.radius", 21), I = y(c, "close.colorDirection", "default"), D = y(c, "close.timeoutLock", !1), T = N === "timer" ? r <= 0 : !0, q = N === "timer" && D && r > 0 ? "div" : "a", {
|
3260
3260
|
expressMatches: J,
|
3261
3261
|
autoMatch: x
|
3262
3262
|
} = ig(u, m, g ? n : void 0);
|
3263
3263
|
g && (g.match = x);
|
3264
|
-
const
|
3264
|
+
const k = M($({}, c.root), {
|
3265
3265
|
alignItems: jt((rt = c.root) == null ? void 0 : rt.align)
|
3266
|
-
}),
|
3266
|
+
}), b = M($({}, c.content), {
|
3267
3267
|
alignItems: jt((pt = c.root) == null ? void 0 : pt.align)
|
3268
|
-
}),
|
3268
|
+
}), w = M($({}, c.text), {
|
3269
3269
|
textAlign: (yt = c.root) == null ? void 0 : yt.align
|
3270
|
-
}),
|
3270
|
+
}), C = M($({}, c == null ? void 0 : c.button), {
|
3271
3271
|
justifyContent: jt((X = c.root) == null ? void 0 : X.textAlign)
|
3272
3272
|
}), O = M($({}, c == null ? void 0 : c.legal), {
|
3273
3273
|
justifyContent: jt((ft = c.root) == null ? void 0 : ft.textAlign)
|
3274
|
-
}),
|
3275
|
-
bonusValue:
|
3276
|
-
clearResult: (
|
3277
|
-
rawResult: (
|
3274
|
+
}), L = +y(g, "root.bonusValue", 0), R = +y(g, "match.prediction.factor", 0), H = me((Yt = c.text) == null ? void 0 : Yt.children, {
|
3275
|
+
bonusValue: L,
|
3276
|
+
clearResult: (L * R - L).toFixed(0),
|
3277
|
+
rawResult: (L * R).toFixed(0),
|
3278
3278
|
rate: R
|
3279
3279
|
}, {
|
3280
3280
|
parse: !1
|
3281
3281
|
}), j = R === 0 ? y(c, "text.fallbackChildren") : H, P = (Rt = c.root) == null ? void 0 : Rt.corner;
|
3282
3282
|
return a("div", {
|
3283
|
-
className:
|
3283
|
+
className: A(nt.root, {
|
3284
3284
|
[nt.desktop]: i === "desktop",
|
3285
3285
|
[nt.laptop]: i === "laptop",
|
3286
3286
|
[nt.tablet]: i === "tablet"
|
@@ -3292,16 +3292,16 @@ const sg = (t) => {
|
|
3292
3292
|
children: [a("div", {
|
3293
3293
|
className: nt.overlay,
|
3294
3294
|
style: c.overlay,
|
3295
|
-
onClick: T &&
|
3295
|
+
onClick: T && v
|
3296
3296
|
}), a("div", {
|
3297
3297
|
className: nt.content,
|
3298
|
-
children: [
|
3298
|
+
children: [N === "default" ? a("div", {
|
3299
3299
|
className: nt.close,
|
3300
3300
|
style: M($({}, c.close), {
|
3301
3301
|
borderBottomLeftRadius: `${P}px`,
|
3302
3302
|
borderTopRightRadius: `${P}px`
|
3303
3303
|
}),
|
3304
|
-
onClick:
|
3304
|
+
onClick: v,
|
3305
3305
|
children: a(Kt, {
|
3306
3306
|
width: 11,
|
3307
3307
|
height: 11
|
@@ -3311,8 +3311,8 @@ const sg = (t) => {
|
|
3311
3311
|
children: a(pn, {
|
3312
3312
|
timeout: y(c, "close.timeout"),
|
3313
3313
|
colorDirection: I,
|
3314
|
-
radius:
|
3315
|
-
onClick:
|
3314
|
+
radius: S,
|
3315
|
+
onClick: v,
|
3316
3316
|
onChange: s
|
3317
3317
|
})
|
3318
3318
|
}), a(E, {
|
@@ -3327,7 +3327,7 @@ const sg = (t) => {
|
|
3327
3327
|
onClick: () => q === "a" && f(c.id),
|
3328
3328
|
children: a("div", {
|
3329
3329
|
className: nt.body,
|
3330
|
-
style:
|
3330
|
+
style: k,
|
3331
3331
|
children: [a("div", {
|
3332
3332
|
className: nt.head,
|
3333
3333
|
children: [a(E, {
|
@@ -3340,7 +3340,7 @@ const sg = (t) => {
|
|
3340
3340
|
})]
|
3341
3341
|
}), a("div", {
|
3342
3342
|
className: nt.wrapper,
|
3343
|
-
style:
|
3343
|
+
style: b,
|
3344
3344
|
children: [(J != null ? J : []).map((ue) => a(Ht, {
|
3345
3345
|
value: M($({}, ue), {
|
3346
3346
|
device: i
|
@@ -3357,9 +3357,9 @@ const sg = (t) => {
|
|
3357
3357
|
})]
|
3358
3358
|
}), a(E, {
|
3359
3359
|
className: nt.text,
|
3360
|
-
style:
|
3361
|
-
typography:
|
3362
|
-
accentTypography:
|
3360
|
+
style: w,
|
3361
|
+
typography: w.typography,
|
3362
|
+
accentTypography: w.accentTypography,
|
3363
3363
|
children: j
|
3364
3364
|
}), a("div", {
|
3365
3365
|
className: nt.button,
|
@@ -3370,7 +3370,7 @@ const sg = (t) => {
|
|
3370
3370
|
children: (_e = c.buttonHead) == null ? void 0 : _e.children
|
3371
3371
|
}), a("div", {
|
3372
3372
|
className: nt.buttonTarget,
|
3373
|
-
style:
|
3373
|
+
style: C,
|
3374
3374
|
children: (de = c.button) == null ? void 0 : de.children
|
3375
3375
|
})]
|
3376
3376
|
}), a(E, {
|
@@ -3417,14 +3417,14 @@ const sg = (t) => {
|
|
3417
3417
|
apiHost: t,
|
3418
3418
|
onClick: n
|
3419
3419
|
}) => {
|
3420
|
-
var p, d, g, h, m,
|
3420
|
+
var p, d, g, h, m, v, f, N, S, I, D, T, q;
|
3421
3421
|
const e = Z(), o = G(e), {
|
3422
3422
|
promotionValues: r
|
3423
3423
|
} = $g(t), [s, l] = Ce(), i = !!((p = o.legalInfoButton) != null && p.closeText && ((g = (d = o.legalInfoButton) == null ? void 0 : d.closeText) == null ? void 0 : g.length) > 0), _ = me((h = o.rowFirst) == null ? void 0 : h.children, r, {
|
3424
3424
|
parse: !1
|
3425
3425
|
}), u = me((m = o.rowSecond) == null ? void 0 : m.children, r, {
|
3426
3426
|
parse: !1
|
3427
|
-
}), c = me((
|
3427
|
+
}), c = me((v = o.bookmaker) == null ? void 0 : v.children, r, {
|
3428
3428
|
parse: !1
|
3429
3429
|
});
|
3430
3430
|
return a("div", {
|
@@ -3444,13 +3444,13 @@ const sg = (t) => {
|
|
3444
3444
|
className: vt.rowFirst,
|
3445
3445
|
style: o == null ? void 0 : o.rowFirst,
|
3446
3446
|
typography: o == null ? void 0 : o.rowFirst,
|
3447
|
-
accentTypography: (
|
3447
|
+
accentTypography: (N = o == null ? void 0 : o.rowFirst) == null ? void 0 : N.accentTypography,
|
3448
3448
|
children: _
|
3449
3449
|
}), a(E, {
|
3450
3450
|
className: vt.rowSecond,
|
3451
3451
|
style: o == null ? void 0 : o.rowSecond,
|
3452
3452
|
typography: o == null ? void 0 : o.rowSecond,
|
3453
|
-
accentTypography: (
|
3453
|
+
accentTypography: (S = o == null ? void 0 : o.rowSecond) == null ? void 0 : S.accentTypography,
|
3454
3454
|
children: u
|
3455
3455
|
}), a("div", {
|
3456
3456
|
className: vt.bookmaker,
|
@@ -3463,7 +3463,7 @@ const sg = (t) => {
|
|
3463
3463
|
children: (I = o.button) == null ? void 0 : I.children
|
3464
3464
|
})]
|
3465
3465
|
}), a("div", {
|
3466
|
-
className:
|
3466
|
+
className: A(vt.legal, {
|
3467
3467
|
[vt.legalOpen]: s,
|
3468
3468
|
[vt.legalStatic]: !i
|
3469
3469
|
}),
|
@@ -3508,9 +3508,9 @@ const sg = (t) => {
|
|
3508
3508
|
var d;
|
3509
3509
|
const p = l != null ? l : [];
|
3510
3510
|
return r && (s = s.sort((g, h) => {
|
3511
|
-
var f,
|
3512
|
-
const m = p.indexOf((f = g.root) == null ? void 0 : f.connectorBookmakerSlug),
|
3513
|
-
return (m === -1 ? 1 / 0 : m) - (
|
3511
|
+
var f, N;
|
3512
|
+
const m = p.indexOf((f = g.root) == null ? void 0 : f.connectorBookmakerSlug), v = p.indexOf((N = h.root) == null ? void 0 : N.connectorBookmakerSlug);
|
3513
|
+
return (m === -1 ? 1 / 0 : m) - (v === -1 ? 1 / 0 : v);
|
3514
3514
|
})), typeof e == "number" && (s = (d = s.filter((g) => {
|
3515
3515
|
var h;
|
3516
3516
|
return !((h = g == null ? void 0 : g.root) != null && h.hidden);
|
@@ -3617,16 +3617,16 @@ const sg = (t) => {
|
|
3617
3617
|
if (_ && _.childNodes.length > 0) {
|
3618
3618
|
const u = Array.from(_.childNodes), c = [];
|
3619
3619
|
u.forEach((h) => {
|
3620
|
-
var m,
|
3620
|
+
var m, v;
|
3621
3621
|
if (h instanceof HTMLElement && h.getAttribute("data-wrapped") === "1")
|
3622
3622
|
c.push(h);
|
3623
3623
|
else if (h.nodeType === Node.TEXT_NODE) {
|
3624
3624
|
const f = ((m = h.textContent) == null ? void 0 : m.split(" ")) || [];
|
3625
|
-
c.push(...f.filter((
|
3625
|
+
c.push(...f.filter((N) => N !== "").map((N) => [N, " "]).flat());
|
3626
3626
|
} else
|
3627
|
-
(((
|
3628
|
-
const
|
3629
|
-
|
3627
|
+
(((v = h.textContent) == null ? void 0 : v.split(" ")) || []).forEach((N) => {
|
3628
|
+
const S = h.cloneNode();
|
3629
|
+
S.textContent = N + " ", c.push(S);
|
3630
3630
|
});
|
3631
3631
|
});
|
3632
3632
|
const p = document.createElement("span");
|
@@ -3652,7 +3652,7 @@ const sg = (t) => {
|
|
3652
3652
|
var r, s, l, i;
|
3653
3653
|
const e = Z(), o = G(e);
|
3654
3654
|
return t ? a("div", {
|
3655
|
-
className:
|
3655
|
+
className: A(ho.root, {
|
3656
3656
|
[ho.desktop]: (e == null ? void 0 : e.device) === "desktop"
|
3657
3657
|
}),
|
3658
3658
|
style: Ot(o.root, ...Tt),
|
@@ -3697,7 +3697,7 @@ const sg = (t) => {
|
|
3697
3697
|
backgroundColor: "transparent"
|
3698
3698
|
});
|
3699
3699
|
return a("div", {
|
3700
|
-
className:
|
3700
|
+
className: A(et.root, {
|
3701
3701
|
[et.desktop]: n.device === "desktop",
|
3702
3702
|
[et.laptop]: n.device === "laptop",
|
3703
3703
|
[et.tablet]: n.device === "tablet"
|
@@ -3809,7 +3809,7 @@ const sg = (t) => {
|
|
3809
3809
|
backgroundImage: Qt(y(e, "match.teams[1].logo"), [120, 120])
|
3810
3810
|
});
|
3811
3811
|
return a("div", {
|
3812
|
-
className:
|
3812
|
+
className: A(st.root, {
|
3813
3813
|
[st.desktop]: (n == null ? void 0 : n.device) === "desktop",
|
3814
3814
|
[st.laptop]: (n == null ? void 0 : n.device) === "laptop",
|
3815
3815
|
[st.tablet]: (n == null ? void 0 : n.device) === "tablet",
|
@@ -3939,20 +3939,20 @@ const sg = (t) => {
|
|
3939
3939
|
}, [s]), r.map((d) => {
|
3940
3940
|
var g, h;
|
3941
3941
|
if ("targetMatch" in d.root) {
|
3942
|
-
const m = $o(d.name),
|
3942
|
+
const m = $o(d.name), v = (_ || []).find((I) => I.slug === d.root.targetMatch.matchSlug);
|
3943
3943
|
if (((h = (g = d == null ? void 0 : d.root) == null ? void 0 : g.targetMatch) == null ? void 0 : h.isAuto) && c)
|
3944
3944
|
return M($({}, d), {
|
3945
3945
|
match: be(c, {
|
3946
3946
|
markets: m
|
3947
3947
|
})
|
3948
3948
|
});
|
3949
|
-
if (!
|
3949
|
+
if (!v)
|
3950
3950
|
return;
|
3951
|
-
const
|
3951
|
+
const N = be(v, {
|
3952
3952
|
markets: m
|
3953
|
-
}),
|
3953
|
+
}), S = dn(N, d.root.customMatch, (I, [D, T]) => W(T));
|
3954
3954
|
return M($({}, d), {
|
3955
|
-
match:
|
3955
|
+
match: S
|
3956
3956
|
});
|
3957
3957
|
}
|
3958
3958
|
return d;
|
@@ -3997,12 +3997,12 @@ const sg = (t) => {
|
|
3997
3997
|
pulseAnimation: s
|
3998
3998
|
} = Wm(!e || n), l = [r && bt.button_clone, s && bt.pulse].filter(Boolean).join(", ");
|
3999
3999
|
return a("div", {
|
4000
|
-
className:
|
4000
|
+
className: A(bt.buttonWrapper, {
|
4001
4001
|
[bt.variant2]: ((u = t == null ? void 0 : t.root) == null ? void 0 : u.variant) === "variant2",
|
4002
4002
|
[bt.variant3]: ((c = t == null ? void 0 : t.root) == null ? void 0 : c.variant) === "variant3"
|
4003
4003
|
}),
|
4004
4004
|
children: a("div", {
|
4005
|
-
className:
|
4005
|
+
className: A(bt.button, {
|
4006
4006
|
[bt.button_pulseWithOverlay]: e,
|
4007
4007
|
[bt.button_increase]: o,
|
4008
4008
|
[bt.button_clone]: r,
|
@@ -4022,109 +4022,110 @@ const sg = (t) => {
|
|
4022
4022
|
});
|
4023
4023
|
}, zm = 3700, qm = ({
|
4024
4024
|
id: t,
|
4025
|
-
|
4026
|
-
|
4027
|
-
|
4028
|
-
|
4029
|
-
|
4030
|
-
|
4031
|
-
|
4025
|
+
classNames: n,
|
4026
|
+
baseMatch: e,
|
4027
|
+
pauseAnimation: o,
|
4028
|
+
hideContentWhilePause: r,
|
4029
|
+
oddFormatter: s,
|
4030
|
+
apiHost: l,
|
4031
|
+
onClose: i,
|
4032
|
+
onClick: _
|
4032
4033
|
}) => {
|
4033
|
-
var
|
4034
|
-
const
|
4034
|
+
var q, J, x, k, b;
|
4035
|
+
const u = K(null), c = Z(), p = Pt({
|
4035
4036
|
id: t,
|
4036
|
-
targetRef:
|
4037
|
-
}),
|
4038
|
-
It(
|
4039
|
-
const
|
4037
|
+
targetRef: u
|
4038
|
+
}), d = Dt(c, p), g = G(d);
|
4039
|
+
It(d);
|
4040
|
+
const h = Nm(g, l, e), m = (w, C, O) => ({
|
4040
4041
|
text: a(qg, {
|
4041
|
-
isActive:
|
4042
|
-
pauseAnimation:
|
4042
|
+
isActive: C,
|
4043
|
+
pauseAnimation: o
|
4043
4044
|
}),
|
4044
4045
|
matches: a(cm, {
|
4045
|
-
oddFormatter:
|
4046
|
+
oddFormatter: s
|
4046
4047
|
}),
|
4047
4048
|
matchesOneTwo: a(Mm, {
|
4048
|
-
oddFormatter:
|
4049
|
+
oddFormatter: s
|
4049
4050
|
})
|
4050
|
-
})[
|
4051
|
-
var
|
4052
|
-
return M($({},
|
4053
|
-
animationName: (
|
4054
|
-
animationDuration: ((
|
4051
|
+
})[w], v = h.filter(Boolean).map((w) => {
|
4052
|
+
var C, O;
|
4053
|
+
return M($({}, w), {
|
4054
|
+
animationName: (C = w == null ? void 0 : w.root) == null ? void 0 : C.animationName,
|
4055
|
+
animationDuration: ((O = w == null ? void 0 : w.root) == null ? void 0 : O.animationDuration) || zm
|
4055
4056
|
});
|
4056
4057
|
}), {
|
4057
|
-
animatedIdx:
|
4058
|
-
countOfTick:
|
4059
|
-
} = xm(
|
4058
|
+
animatedIdx: f,
|
4059
|
+
countOfTick: N
|
4060
|
+
} = xm(v, o), S = G(v[f] || {}), I = (v == null ? void 0 : v.length) > 1, D = Ot(g.root, ...Tt), T = (q = S == null ? void 0 : S.root) != null && q.hasCustomBackground ? Vt((S == null ? void 0 : S.root) || {}, ...Tt) : Vt(g.root, ...Tt);
|
4060
4061
|
return a("div", {
|
4061
|
-
ref:
|
4062
|
-
className:
|
4063
|
-
[ct.desktop]:
|
4064
|
-
[ct.laptop]:
|
4065
|
-
[ct.tablet]:
|
4066
|
-
[ct.variant2]: ((
|
4067
|
-
[ct.variant3]: ((
|
4062
|
+
ref: u,
|
4063
|
+
className: A(ct.root, n == null ? void 0 : n.root, {
|
4064
|
+
[ct.desktop]: p === "desktop",
|
4065
|
+
[ct.laptop]: p === "laptop",
|
4066
|
+
[ct.tablet]: p === "tablet",
|
4067
|
+
[ct.variant2]: ((J = g.root) == null ? void 0 : J.variant) === "variant2",
|
4068
|
+
[ct.variant3]: ((x = g.root) == null ? void 0 : x.variant) === "variant3"
|
4068
4069
|
}),
|
4069
|
-
style:
|
4070
|
+
style: D,
|
4070
4071
|
children: [a("div", {
|
4071
4072
|
className: ct.close,
|
4072
|
-
style:
|
4073
|
-
onClick:
|
4073
|
+
style: g.close,
|
4074
|
+
onClick: i,
|
4074
4075
|
children: a(Kt, {
|
4075
4076
|
width: 9,
|
4076
4077
|
height: 9
|
4077
4078
|
})
|
4078
4079
|
}), a("div", {
|
4079
4080
|
className: ct.promotion,
|
4080
|
-
style:
|
4081
|
-
children: (
|
4081
|
+
style: g.promotion,
|
4082
|
+
children: (k = g.promotion) == null ? void 0 : k.children
|
4082
4083
|
}), a("a", {
|
4083
|
-
href: (
|
4084
|
+
href: (b = g.root) == null ? void 0 : b.offer,
|
4084
4085
|
target: "_blank",
|
4085
4086
|
rel: "nofollow noopener noreferrer",
|
4086
|
-
onClick:
|
4087
|
+
onClick: _,
|
4087
4088
|
children: [a("div", {
|
4088
4089
|
className: ct.background,
|
4089
|
-
style:
|
4090
|
+
style: T
|
4090
4091
|
}), a("div", {
|
4091
4092
|
className: ct.content,
|
4092
4093
|
children: [a("div", {
|
4093
4094
|
className: ct.left,
|
4094
4095
|
children: a("div", {
|
4095
4096
|
className: ct.logo,
|
4096
|
-
style:
|
4097
|
+
style: g.logo
|
4097
4098
|
})
|
4098
4099
|
}), a("div", {
|
4099
4100
|
className: ct.center,
|
4100
4101
|
style: {
|
4101
|
-
opacity:
|
4102
|
+
opacity: r && o ? 0 : 1,
|
4102
4103
|
transition: ".3s"
|
4103
4104
|
},
|
4104
|
-
children: (
|
4105
|
-
"data-active-slide":
|
4105
|
+
children: (v || []).map((w, C) => a("div", {
|
4106
|
+
"data-active-slide": f === C,
|
4106
4107
|
className: ct.slide,
|
4107
|
-
style:
|
4108
|
-
animationName:
|
4109
|
-
animationDuration: `${
|
4108
|
+
style: I && N ? {
|
4109
|
+
animationName: f === C ? ct[w.animationName || "fade-in-out"] : "none",
|
4110
|
+
animationDuration: `${w.animationDuration}ms`
|
4110
4111
|
} : {
|
4111
|
-
opacity:
|
4112
|
+
opacity: C === 0 ? 1 : 0
|
4112
4113
|
},
|
4113
4114
|
children: a(Ht, {
|
4114
|
-
value: M($({},
|
4115
|
-
device:
|
4115
|
+
value: M($({}, w), {
|
4116
|
+
device: p
|
4116
4117
|
}),
|
4117
|
-
children:
|
4118
|
+
children: m(w.name, f === C)
|
4118
4119
|
})
|
4119
|
-
},
|
4120
|
+
}, C))
|
4120
4121
|
}), a("div", {
|
4121
4122
|
className: ct.right,
|
4122
4123
|
children: [a("div", {
|
4123
4124
|
className: ct.logo,
|
4124
|
-
style:
|
4125
|
+
style: g.logo
|
4125
4126
|
}), a(Um, {
|
4126
|
-
rules:
|
4127
|
-
pauseAnimation:
|
4127
|
+
rules: g,
|
4128
|
+
pauseAnimation: o
|
4128
4129
|
})]
|
4129
4130
|
})]
|
4130
4131
|
})]
|
@@ -4228,7 +4229,7 @@ const sg = (t) => {
|
|
4228
4229
|
rel: "noreferrer"
|
4229
4230
|
})]
|
4230
4231
|
}), a("div", {
|
4231
|
-
className:
|
4232
|
+
className: A(Lt.legal, {
|
4232
4233
|
[Lt.open]: o
|
4233
4234
|
}),
|
4234
4235
|
style: e.legalInfo,
|
@@ -4258,10 +4259,10 @@ const sg = (t) => {
|
|
4258
4259
|
}, C1 = ({
|
4259
4260
|
onClick: t
|
4260
4261
|
}) => {
|
4261
|
-
var l, i, _, u, c, p, d, g, h, m,
|
4262
|
+
var l, i, _, u, c, p, d, g, h, m, v;
|
4262
4263
|
const n = Z(), e = G(n), [o, r] = Ce(), s = !!((l = e.legalInfoButton) != null && l.closeText && ((_ = (i = e.legalInfoButton) == null ? void 0 : i.closeText) == null ? void 0 : _.length) > 0);
|
4263
4264
|
return a("div", {
|
4264
|
-
className:
|
4265
|
+
className: A($t.root, {
|
4265
4266
|
[$t.open]: o,
|
4266
4267
|
[$t.legalStatic]: !s
|
4267
4268
|
}),
|
@@ -4304,7 +4305,7 @@ const sg = (t) => {
|
|
4304
4305
|
className: $t.legalMore,
|
4305
4306
|
style: e.legalInfoButton,
|
4306
4307
|
onClick: r,
|
4307
|
-
children: o ? (m = e.legalInfoButton) == null ? void 0 : m.openText : (
|
4308
|
+
children: o ? (m = e.legalInfoButton) == null ? void 0 : m.openText : (v = e.legalInfoButton) == null ? void 0 : v.closeText
|
4308
4309
|
})]
|
4309
4310
|
})]
|
4310
4311
|
});
|
@@ -4341,7 +4342,7 @@ const sg = (t) => {
|
|
4341
4342
|
})[u];
|
4342
4343
|
return a("div", {
|
4343
4344
|
ref: e,
|
4344
|
-
className:
|
4345
|
+
className: A(ge.root, {
|
4345
4346
|
[ge.desktop]: r === "desktop",
|
4346
4347
|
[ge.laptop]: r === "laptop",
|
4347
4348
|
[ge.tablet]: r === "tablet"
|
@@ -4371,13 +4372,13 @@ const sg = (t) => {
|
|
4371
4372
|
id: t,
|
4372
4373
|
onClick: n
|
4373
4374
|
}, e) => {
|
4374
|
-
var c, p, d, g, h, m,
|
4375
|
+
var c, p, d, g, h, m, v, f, N, S, I;
|
4375
4376
|
const [o, r] = Ce(), s = K(null), l = Z(), i = Pt({
|
4376
4377
|
targetRef: s,
|
4377
4378
|
id: t
|
4378
4379
|
}), _ = Dt(l, i), u = G(_);
|
4379
4380
|
return It(_), a("div", {
|
4380
|
-
className:
|
4381
|
+
className: A(gt.root, {
|
4381
4382
|
[gt.legalOpen]: o,
|
4382
4383
|
[gt.desktop]: i === "desktop",
|
4383
4384
|
[gt.laptop]: i === "laptop",
|
@@ -4409,12 +4410,12 @@ const sg = (t) => {
|
|
4409
4410
|
children: a(E, {
|
4410
4411
|
typography: (h = u.button) == null ? void 0 : h.typography,
|
4411
4412
|
accentTypography: (m = u.button) == null ? void 0 : m.accentTypography,
|
4412
|
-
children: (
|
4413
|
+
children: (v = u.button) == null ? void 0 : v.children
|
4413
4414
|
})
|
4414
4415
|
})]
|
4415
4416
|
})]
|
4416
4417
|
}), a("div", {
|
4417
|
-
className:
|
4418
|
+
className: A(gt.legal, {
|
4418
4419
|
[gt.legalOpen]: o
|
4419
4420
|
}),
|
4420
4421
|
style: u.legal,
|
@@ -4423,10 +4424,10 @@ const sg = (t) => {
|
|
4423
4424
|
children: a("span", {
|
4424
4425
|
children: (f = u.legal) == null ? void 0 : f.children
|
4425
4426
|
})
|
4426
|
-
}), ((
|
4427
|
+
}), ((N = u == null ? void 0 : u.legal) == null ? void 0 : N.hasButton) && a("span", {
|
4427
4428
|
className: gt.legalButton,
|
4428
4429
|
onClick: r,
|
4429
|
-
children: o ? (
|
4430
|
+
children: o ? (S = u.legal) == null ? void 0 : S.buttonOpenText : (I = u.legal) == null ? void 0 : I.buttonHideText
|
4430
4431
|
})]
|
4431
4432
|
})]
|
4432
4433
|
});
|
@@ -4470,14 +4471,14 @@ const sg = (t) => {
|
|
4470
4471
|
matchesOneTwo: "one_two"
|
4471
4472
|
}, Co = (t) => [yh[t]], vh = (t, n, e) => {
|
4472
4473
|
const o = (m) => {
|
4473
|
-
var
|
4474
|
-
return W(m == null ? void 0 : m.matchSlug) && ((
|
4474
|
+
var v;
|
4475
|
+
return W(m == null ? void 0 : m.matchSlug) && ((v = m == null ? void 0 : m.matchSlug) == null ? void 0 : v.length) > 0 || (m == null ? void 0 : m.isAuto);
|
4475
4476
|
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((m) => {
|
4476
|
-
var
|
4477
|
-
return o((
|
4477
|
+
var v;
|
4478
|
+
return o((v = m == null ? void 0 : m.root) == null ? void 0 : v.targetMatch);
|
4478
4479
|
}).map((m) => {
|
4479
|
-
var
|
4480
|
-
return M($({}, (
|
4480
|
+
var v;
|
4481
|
+
return M($({}, (v = m == null ? void 0 : m.root) == null ? void 0 : v.targetMatch), {
|
4481
4482
|
markets: Co(m.name)
|
4482
4483
|
});
|
4483
4484
|
}), l = s.find((m) => m.isAuto), i = Ge(s), _ = (s == null ? void 0 : s.length) > 0, {
|
@@ -4513,20 +4514,20 @@ const sg = (t) => {
|
|
4513
4514
|
Ve(i, s) || c();
|
4514
4515
|
}, [s]);
|
4515
4516
|
const h = r.map((m) => {
|
4516
|
-
var
|
4517
|
-
if ("targetMatch" in ((
|
4518
|
-
const
|
4519
|
-
if (((
|
4517
|
+
var v, f, N;
|
4518
|
+
if ("targetMatch" in ((v = m == null ? void 0 : m.root) != null ? v : {})) {
|
4519
|
+
const S = Co(m.name), I = (u || []).find((J) => J.slug === m.root.targetMatch.matchSlug);
|
4520
|
+
if (((N = (f = m == null ? void 0 : m.root) == null ? void 0 : f.targetMatch) == null ? void 0 : N.isAuto) && d)
|
4520
4521
|
return M($({}, m), {
|
4521
4522
|
match: be(d, {
|
4522
|
-
markets:
|
4523
|
+
markets: S
|
4523
4524
|
})
|
4524
4525
|
});
|
4525
4526
|
if (!I)
|
4526
4527
|
return;
|
4527
4528
|
const T = be(I, {
|
4528
|
-
markets:
|
4529
|
-
}), q = dn(T, m.root.customMatch, (J, [x,
|
4529
|
+
markets: S
|
4530
|
+
}), q = dn(T, m.root.customMatch, (J, [x, k]) => W(k));
|
4530
4531
|
return M($({}, m), {
|
4531
4532
|
match: q
|
4532
4533
|
});
|
@@ -4556,7 +4557,7 @@ const sg = (t) => {
|
|
4556
4557
|
device: n,
|
4557
4558
|
rootState: e
|
4558
4559
|
}) => {
|
4559
|
-
var f,
|
4560
|
+
var f, N, S, I;
|
4560
4561
|
const o = Z(), r = G(o), s = G(e), l = y(r, "match.sportSlug"), _ = y(r, "root.predictionLength", "full") === "full" ? y(r, "match.prediction.value") : y(r, "match.prediction.value_short") || y(r, "match.prediction.value"), u = M($({}, Ot(r == null ? void 0 : r.root, ...Tt)), {
|
4561
4562
|
alignItems: jt((f = s.container) == null ? void 0 : f.align)
|
4562
4563
|
}), c = Nt(() => {
|
@@ -4566,7 +4567,7 @@ const sg = (t) => {
|
|
4566
4567
|
tablet: 12
|
4567
4568
|
}[n]) != null ? T : 9;
|
4568
4569
|
return [r0.mobile].includes(n) && _.length > 35 ? D - 1 : D;
|
4569
|
-
}, [n, _]), p = y(r, "coef.backgroundColor", "#fff"), d = Number(y(r, "match.prediction.factor", 0)).toFixed(2), g = +y(o, "root.bonusValue", 0), h = +d, m = h === 0,
|
4570
|
+
}, [n, _]), p = y(r, "coef.backgroundColor", "#fff"), d = Number(y(r, "match.prediction.factor", 0)).toFixed(2), g = +y(o, "root.bonusValue", 0), h = +d, m = h === 0, v = me(m ? y(r, "text.fallbackChildren") : (N = r == null ? void 0 : r.text) == null ? void 0 : N.children, {
|
4570
4571
|
bonusValue: g,
|
4571
4572
|
clearResult: (g * h - g).toFixed(0),
|
4572
4573
|
rawResult: (g * h).toFixed(0),
|
@@ -4575,7 +4576,7 @@ const sg = (t) => {
|
|
4575
4576
|
parse: !1
|
4576
4577
|
});
|
4577
4578
|
return a("div", {
|
4578
|
-
className:
|
4579
|
+
className: A(Ct.root, Ct[n]),
|
4579
4580
|
style: u,
|
4580
4581
|
children: [a("div", {
|
4581
4582
|
className: Ct.logos,
|
@@ -4635,9 +4636,9 @@ const sg = (t) => {
|
|
4635
4636
|
}), a(E, {
|
4636
4637
|
className: Ct.text,
|
4637
4638
|
style: r == null ? void 0 : r.text,
|
4638
|
-
typography: (
|
4639
|
+
typography: (S = r == null ? void 0 : r.text) == null ? void 0 : S.typography,
|
4639
4640
|
accentTypography: (I = r == null ? void 0 : r.text) == null ? void 0 : I.accentTypography,
|
4640
|
-
children:
|
4641
|
+
children: v
|
4641
4642
|
})]
|
4642
4643
|
});
|
4643
4644
|
}, Dh = "_root_ncevm_2", Ih = "_textContainer_ncevm_8", Rh = "_textContainer_animation_ncevm_23", Bh = "_textPulse_ncevm_1", jh = "_textContainer_invertColor_ncevm_26", Hh = "_boxContainer_ncevm_33", Ph = "_boxContainer_center_ncevm_37", Yh = "_box_ncevm_33", Eh = "_boxContainer_right_ncevm_50", Vh = "_desktop_ncevm_69", Gh = "_tablet_ncevm_72", Fh = "_w1440_ncevm_72", Wh = "_laptop_ncevm_75", Uh = "_w480_ncevm_75", zh = "_w375_ncevm_75", qh = "_w400_ncevm_75", Kh = "_mobile_ncevm_75", Zh = "_fadeIn_ncevm_1", it = {
|
@@ -4783,18 +4784,18 @@ const sg = (t) => {
|
|
4783
4784
|
animationVariant1: e,
|
4784
4785
|
pauseAnimation: o
|
4785
4786
|
}) => {
|
4786
|
-
var u, c, p, d, g, h, m,
|
4787
|
+
var u, c, p, d, g, h, m, v, f, N;
|
4787
4788
|
const r = Gt({
|
4788
4789
|
pause: !e,
|
4789
4790
|
duration: _t.actionDisplayDuration,
|
4790
|
-
delay: (
|
4791
|
+
delay: (S) => S === 0 ? 0 : _t.textDisplayDuration
|
4791
4792
|
}), s = Gt({
|
4792
4793
|
pause: r || !e,
|
4793
4794
|
duration: 2e3,
|
4794
4795
|
delay: 2250
|
4795
4796
|
}), l = (u = t == null ? void 0 : t.root) == null ? void 0 : u.boltColor, i = (c = t == null ? void 0 : t.root) == null ? void 0 : c.boltColorAccent, _ = (p = t == null ? void 0 : t.container) == null ? void 0 : p.align;
|
4796
4797
|
return a("div", {
|
4797
|
-
className:
|
4798
|
+
className: A(it.root, {
|
4798
4799
|
[it.mobile]: n === "mobile",
|
4799
4800
|
[it.laptop]: n === "laptop",
|
4800
4801
|
[it.desktop]: n === "desktop",
|
@@ -4810,7 +4811,7 @@ const sg = (t) => {
|
|
4810
4811
|
"--text-accent-color": (g = (d = t == null ? void 0 : t.text) == null ? void 0 : d.typography) == null ? void 0 : g.color
|
4811
4812
|
},
|
4812
4813
|
children: r ? a("div", {
|
4813
|
-
className:
|
4814
|
+
className: A(it.boxContainer, {
|
4814
4815
|
[it.boxContainer_center]: _ === "center",
|
4815
4816
|
[it.boxContainer_right]: _ === "right"
|
4816
4817
|
}),
|
@@ -4836,7 +4837,7 @@ const sg = (t) => {
|
|
4836
4837
|
})]
|
4837
4838
|
})]
|
4838
4839
|
}) : a(E, {
|
4839
|
-
className:
|
4840
|
+
className: A(it.textContainer, {
|
4840
4841
|
[it.textContainer_animation]: !r && e,
|
4841
4842
|
[it.textContainer_invertColor]: s
|
4842
4843
|
}),
|
@@ -4849,10 +4850,10 @@ const sg = (t) => {
|
|
4849
4850
|
transformOrigin: _
|
4850
4851
|
}),
|
4851
4852
|
typography: M($({}, (m = (h = t == null ? void 0 : t.text) == null ? void 0 : h.typography) != null ? m : {}), {
|
4852
|
-
textAlign: (
|
4853
|
+
textAlign: (v = t == null ? void 0 : t.container) == null ? void 0 : v.align
|
4853
4854
|
}),
|
4854
4855
|
accentTypography: (f = t == null ? void 0 : t.text) == null ? void 0 : f.accentTypography,
|
4855
|
-
children: (
|
4856
|
+
children: (N = t == null ? void 0 : t.text) == null ? void 0 : N.children
|
4856
4857
|
})
|
4857
4858
|
});
|
4858
4859
|
}, Qh = "_bonus_934sf_1", t0 = "_isColumn_934sf_13", e0 = "_button_934sf_27", n0 = "_logo_934sf_34", Le = {
|
@@ -4864,7 +4865,7 @@ const sg = (t) => {
|
|
4864
4865
|
device: t,
|
4865
4866
|
onClick: n
|
4866
4867
|
}) => a(Qo, {
|
4867
|
-
className:
|
4868
|
+
className: A(Le.bonus, {
|
4868
4869
|
[Le.isColumn]: tn.includes(t)
|
4869
4870
|
}),
|
4870
4871
|
isColumn: tn.includes(t),
|
@@ -4907,7 +4908,7 @@ const sg = (t) => {
|
|
4907
4908
|
onClose: _,
|
4908
4909
|
onClick: u
|
4909
4910
|
}) => {
|
4910
|
-
var
|
4911
|
+
var k, b, w, C, O, L, R, H, j, P, lt, ot, rt, pt, yt, X, ft, Yt, Rt, ie, le, ce, _e, de;
|
4911
4912
|
const c = K(null), p = Z(), d = Pt({
|
4912
4913
|
targetRef: c,
|
4913
4914
|
id: t,
|
@@ -4915,20 +4916,20 @@ const sg = (t) => {
|
|
4915
4916
|
}), g = Dt(p, d, en), {
|
4916
4917
|
resultChildren: h,
|
4917
4918
|
fetching: m
|
4918
|
-
} = vh(g, e, r),
|
4919
|
+
} = vh(g, e, r), v = (b = (k = g == null ? void 0 : g.children) == null ? void 0 : k.some(({
|
4919
4920
|
name: dt
|
4920
|
-
}) => dt === "match")) != null ?
|
4921
|
-
g && (Wt(g, "button.percent_width", (
|
4922
|
-
const f = G(g),
|
4921
|
+
}) => dt === "match")) != null ? b : !1;
|
4922
|
+
g && (Wt(g, "button.percent_width", (w = g == null ? void 0 : g.button) == null ? void 0 : w.width), Wt(g, "artifact.percent_right", (C = g == null ? void 0 : g.artifact) == null ? void 0 : C.right));
|
4923
|
+
const f = G(g), N = !!((O = f == null ? void 0 : f.legal) != null && O.children) && !((L = f == null ? void 0 : f.legal) != null && L.hidden);
|
4923
4924
|
It(g);
|
4924
|
-
const
|
4925
|
-
pause:
|
4925
|
+
const S = (H = (R = f == null ? void 0 : f.root) == null ? void 0 : R.animation) != null ? H : "none", I = Gt({
|
4926
|
+
pause: S !== "variant1",
|
4926
4927
|
duration: _t.badgePulseDuration,
|
4927
4928
|
delay: (dt) => dt === 0 ? _t.actionDisplayDuration : dt % _t.countPulses ? _t.badgePulseGap : _t.badgePulseDuration + _t.actionDisplayDuration
|
4928
4929
|
}), D = Gt({
|
4929
|
-
pause:
|
4930
|
+
pause: S === "none",
|
4930
4931
|
duration: _t.buttonPulseDuration,
|
4931
|
-
delay: (dt) => s0(
|
4932
|
+
delay: (dt) => s0(S, dt)
|
4932
4933
|
}), T = M($({}, f == null ? void 0 : f.container), {
|
4933
4934
|
alignItems: jt((j = f == null ? void 0 : f.container) == null ? void 0 : j.align)
|
4934
4935
|
}), q = !!(h != null && h.some((dt) => dt.name === "bonus")), J = (dt) => ({
|
@@ -4936,7 +4937,7 @@ const sg = (t) => {
|
|
4936
4937
|
oddFormatter: o,
|
4937
4938
|
device: d,
|
4938
4939
|
rootState: g,
|
4939
|
-
animationVariant:
|
4940
|
+
animationVariant: S
|
4940
4941
|
}),
|
4941
4942
|
bonus: a(o0, {
|
4942
4943
|
device: d,
|
@@ -4947,18 +4948,18 @@ const sg = (t) => {
|
|
4947
4948
|
z(() => {
|
4948
4949
|
l && l(p);
|
4949
4950
|
}, []), z(() => {
|
4950
|
-
g && (i &&
|
4951
|
+
g && (i && v && !m && (h != null && h.length) ? i({
|
4951
4952
|
readyPayload: s,
|
4952
|
-
willWithMatches:
|
4953
|
-
}) : i && !
|
4953
|
+
willWithMatches: v
|
4954
|
+
}) : i && !v && (i == null || i({
|
4954
4955
|
readyPayload: s,
|
4955
|
-
willWithMatches:
|
4956
|
+
willWithMatches: v
|
4956
4957
|
})));
|
4957
|
-
}, [h, m,
|
4958
|
+
}, [h, m, v]);
|
4958
4959
|
const x = _n(f == null ? void 0 : f.title) && "hidden" in (f == null ? void 0 : f.title) ? (P = f == null ? void 0 : f.title) == null ? void 0 : P.hidden : !0;
|
4959
4960
|
return a("div", {
|
4960
|
-
className:
|
4961
|
-
[Y.withoutLegal]: !
|
4961
|
+
className: A(Y.root, Y[d], {
|
4962
|
+
[Y.withoutLegal]: !N,
|
4962
4963
|
[Y.isBonuses]: q,
|
4963
4964
|
[Y.isColumn]: tn.includes(d)
|
4964
4965
|
}),
|
@@ -4980,7 +4981,7 @@ const sg = (t) => {
|
|
4980
4981
|
className: Y.link,
|
4981
4982
|
ref: c,
|
4982
4983
|
children: [a("div", {
|
4983
|
-
className:
|
4984
|
+
className: A(Y.badge, {
|
4984
4985
|
[Y.badge_center]: (T == null ? void 0 : T.align) === "center",
|
4985
4986
|
[Y.badge_right]: (T == null ? void 0 : T.align) === "right"
|
4986
4987
|
}),
|
@@ -5001,7 +5002,7 @@ const sg = (t) => {
|
|
5001
5002
|
borderRadius: T == null ? void 0 : T.borderRadius
|
5002
5003
|
},
|
5003
5004
|
children: a("div", {
|
5004
|
-
className:
|
5005
|
+
className: A(Y.badgeCopy, Y.badge, {
|
5005
5006
|
[Y.badgeCopy_animated]: I,
|
5006
5007
|
[Y.badgeCopy_center]: (T == null ? void 0 : T.align) === "center",
|
5007
5008
|
[Y.badgeCopy_right]: (T == null ? void 0 : T.align) === "right"
|
@@ -5015,7 +5016,7 @@ const sg = (t) => {
|
|
5015
5016
|
children: (yt = f == null ? void 0 : f.title) == null ? void 0 : yt.children
|
5016
5017
|
})
|
5017
5018
|
}), (((ft = (X = f == null ? void 0 : f.text) == null ? void 0 : X.children) == null ? void 0 : ft.length) === 0 || ((Yt = f == null ? void 0 : f.text) == null ? void 0 : Yt.hidden)) && a("div", {
|
5018
|
-
className:
|
5019
|
+
className: A(Y.containerInner, {
|
5019
5020
|
[Y.containerBonuses]: q
|
5020
5021
|
}),
|
5021
5022
|
children: (h || []).map((dt) => a(Ht, {
|
@@ -5028,9 +5029,9 @@ const sg = (t) => {
|
|
5028
5029
|
rules: f,
|
5029
5030
|
pauseAnimation: n,
|
5030
5031
|
device: d,
|
5031
|
-
animationVariant1:
|
5032
|
+
animationVariant1: S === "variant1"
|
5032
5033
|
}), a("div", {
|
5033
|
-
className:
|
5034
|
+
className: A(Y.button, {
|
5034
5035
|
[Y.button_increase]: D
|
5035
5036
|
}),
|
5036
5037
|
style: f == null ? void 0 : f.button,
|
@@ -5075,7 +5076,7 @@ const sg = (t) => {
|
|
5075
5076
|
n && n(r);
|
5076
5077
|
}, []), a("div", {
|
5077
5078
|
ref: o,
|
5078
|
-
className:
|
5079
|
+
className: A(Ne.root, Ne[s]),
|
5079
5080
|
style: i == null ? void 0 : i.root,
|
5080
5081
|
onClick: e,
|
5081
5082
|
children: [a(E, {
|