@adstore/templates 2.18.9 → 2.18.10
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/style.css +1 -1
- package/dist/templates.js.js +211 -211
- package/package.json +1 -1
package/dist/templates.js.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
var nr = Object.defineProperty, or = Object.defineProperties;
|
2
2
|
var rr = Object.getOwnPropertyDescriptors;
|
3
3
|
var we = Object.getOwnPropertySymbols;
|
4
|
-
var hn = Object.prototype.hasOwnProperty,
|
4
|
+
var hn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable;
|
5
5
|
var mn = (t, n, e) => n in t ? nr(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, $ = (t, n) => {
|
6
6
|
for (var e in n || (n = {}))
|
7
7
|
hn.call(n, e) && mn(t, e, n[e]);
|
8
8
|
if (we)
|
9
9
|
for (var e of we(n))
|
10
|
-
|
10
|
+
vn.call(n, e) && mn(t, e, n[e]);
|
11
11
|
return t;
|
12
12
|
}, M = (t, n) => or(t, rr(n));
|
13
13
|
var Fe = (t, n) => {
|
@@ -16,7 +16,7 @@ var Fe = (t, n) => {
|
|
16
16
|
hn.call(t, o) && n.indexOf(o) < 0 && (e[o] = t[o]);
|
17
17
|
if (t != null && we)
|
18
18
|
for (var o of we(t))
|
19
|
-
n.indexOf(o) < 0 &&
|
19
|
+
n.indexOf(o) < 0 && vn.call(t, o) && (e[o] = t[o]);
|
20
20
|
return e;
|
21
21
|
};
|
22
22
|
var ke = (t, n, e) => new Promise((o, r) => {
|
@@ -35,7 +35,7 @@ var ke = (t, n, e) => new Promise((o, r) => {
|
|
35
35
|
}, i = (_) => _.done ? o(_.value) : Promise.resolve(_.value).then(s, l);
|
36
36
|
i((e = e.apply(t, n)).next());
|
37
37
|
});
|
38
|
-
import { options as B, Component as he, createElement as
|
38
|
+
import { options as B, Component as he, createElement as yn, Fragment as ve, toChildArray as Ze, createContext as ar, render as sr, cloneElement as ir } from "preact";
|
39
39
|
var ht = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Je = {}, lr = {
|
40
40
|
get exports() {
|
41
41
|
return Je;
|
@@ -335,8 +335,8 @@ B.unmount = function(t) {
|
|
335
335
|
}
|
336
336
|
this.__b = null;
|
337
337
|
}
|
338
|
-
var r = n.__a &&
|
339
|
-
return r && (r.__h = null), [
|
338
|
+
var r = n.__a && yn(ve, null, t.fallback);
|
339
|
+
return r && (r.__h = null), [yn(ve, null, n.__a ? null : t.children), r];
|
340
340
|
};
|
341
341
|
var An = 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))
|
@@ -369,7 +369,7 @@ var An = function(t, n, e) {
|
|
369
369
|
An(t, e, n);
|
370
370
|
});
|
371
371
|
};
|
372
|
-
var mr = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, hr = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,
|
372
|
+
var mr = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, hr = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, vr = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, yr = /[A-Z0-9]/g, br = typeof document != "undefined", $r = function(t) {
|
373
373
|
return (typeof Symbol != "undefined" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
|
374
374
|
};
|
375
375
|
he.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
|
@@ -401,7 +401,7 @@ B.vnode = function(t) {
|
|
401
401
|
var l = e[s];
|
402
402
|
if (!(s === "value" && "defaultValue" in e && l == null || br && s === "children" && o === "noscript" || s === "class" || s === "className")) {
|
403
403
|
var i = s.toLowerCase();
|
404
|
-
s === "defaultValue" && "value" in e && e.value == null ? s = "value" : s === "download" && l === !0 ? l = "" : i === "ondoubleclick" ? s = "ondblclick" : i !== "onchange" || o !== "input" && o !== "textarea" || $r(e.type) ? i === "onfocus" ? s = "onfocusin" : i === "onblur" ? s = "onfocusout" :
|
404
|
+
s === "defaultValue" && "value" in e && e.value == null ? s = "value" : s === "download" && l === !0 ? l = "" : i === "ondoubleclick" ? s = "ondblclick" : i !== "onchange" || o !== "input" && o !== "textarea" || $r(e.type) ? i === "onfocus" ? s = "onfocusin" : i === "onblur" ? s = "onfocusout" : vr.test(s) ? s = i : o.indexOf("-") === -1 && hr.test(s) ? s = s.replace(yr, "-$&").toLowerCase() : l === null && (l = void 0) : i = s = "oninput", i === "oninput" && r[s = i] && (s = "oninputCapture"), r[s] = l;
|
405
405
|
}
|
406
406
|
}
|
407
407
|
o == "select" && r.multiple && Array.isArray(r.value) && (r.value = Ze(e.children).forEach(function(_) {
|
@@ -502,9 +502,9 @@ var fa = pa, ga = Object.prototype, ma = ga.toString;
|
|
502
502
|
function ha(t) {
|
503
503
|
return ma.call(t);
|
504
504
|
}
|
505
|
-
var
|
505
|
+
var va = ha, Hn = Ao, ya = fa, ba = va, $a = "[object Null]", Ca = "[object Undefined]", Pn = Hn ? Hn.toStringTag : void 0;
|
506
506
|
function wa(t) {
|
507
|
-
return t == null ? t === void 0 ? Ca : $a : Pn && Pn in Object(t) ?
|
507
|
+
return t == null ? t === void 0 ? Ca : $a : Pn && Pn in Object(t) ? ya(t) : ba(t);
|
508
508
|
}
|
509
509
|
var He = wa;
|
510
510
|
function ka(t) {
|
@@ -567,7 +567,7 @@ function us(t) {
|
|
567
567
|
return this.size -= n ? 1 : 0, n;
|
568
568
|
}
|
569
569
|
var ps = us, fs = Pe, gs = "__lodash_hash_undefined__", ms = Object.prototype, hs = ms.hasOwnProperty;
|
570
|
-
function
|
570
|
+
function vs(t) {
|
571
571
|
var n = this.__data__;
|
572
572
|
if (fs) {
|
573
573
|
var e = n[t];
|
@@ -575,7 +575,7 @@ function ys(t) {
|
|
575
575
|
}
|
576
576
|
return hs.call(n, t) ? n[t] : void 0;
|
577
577
|
}
|
578
|
-
var
|
578
|
+
var ys = vs, bs = Pe, $s = Object.prototype, Cs = $s.hasOwnProperty;
|
579
579
|
function ws(t) {
|
580
580
|
var n = this.__data__;
|
581
581
|
return bs ? n[t] !== void 0 : Cs.call(n, t);
|
@@ -585,7 +585,7 @@ function xs(t, n) {
|
|
585
585
|
var e = this.__data__;
|
586
586
|
return this.size += this.has(t) ? 0 : 1, e[t] = Ts && n === void 0 ? Ms : n, this;
|
587
587
|
}
|
588
|
-
var Ls = xs, Ns = ds, Ss = ps, Os =
|
588
|
+
var Ls = xs, Ns = ds, Ss = ps, Os = ys, As = ks, Ds = Ls;
|
589
589
|
function re(t) {
|
590
590
|
var n = -1, e = t == null ? 0 : t.length;
|
591
591
|
for (this.clear(); ++n < e; ) {
|
@@ -658,7 +658,7 @@ function di(t, n) {
|
|
658
658
|
}
|
659
659
|
return e.set(t, n), this.size = e.size, this;
|
660
660
|
}
|
661
|
-
var ui = di, pi = je, fi = Xr, gi = ta, mi = na, hi = ra,
|
661
|
+
var ui = di, pi = je, fi = Xr, gi = ta, mi = na, hi = ra, vi = ui;
|
662
662
|
function se(t) {
|
663
663
|
var n = this.__data__ = new pi(t);
|
664
664
|
this.size = n.size;
|
@@ -667,8 +667,8 @@ se.prototype.clear = fi;
|
|
667
667
|
se.prototype.delete = gi;
|
668
668
|
se.prototype.get = mi;
|
669
669
|
se.prototype.has = hi;
|
670
|
-
se.prototype.set =
|
671
|
-
var
|
670
|
+
se.prototype.set = vi;
|
671
|
+
var yi = se, bi = an, $i = function() {
|
672
672
|
try {
|
673
673
|
var t = bi(Object, "defineProperty");
|
674
674
|
return t({}, "", {}), t;
|
@@ -780,16 +780,16 @@ var Vo = fl, gl = rn, ml = Vo;
|
|
780
780
|
function hl(t) {
|
781
781
|
return t != null && ml(t.length) && !gl(t);
|
782
782
|
}
|
783
|
-
var ln = hl,
|
783
|
+
var ln = hl, vl = ln, yl = $e;
|
784
784
|
function bl(t) {
|
785
|
-
return
|
785
|
+
return yl(t) && vl(t);
|
786
786
|
}
|
787
|
-
var $l = bl,
|
787
|
+
var $l = bl, ye = {}, Cl = {
|
788
788
|
get exports() {
|
789
|
-
return
|
789
|
+
return ye;
|
790
790
|
},
|
791
791
|
set exports(t) {
|
792
|
-
|
792
|
+
ye = t;
|
793
793
|
}
|
794
794
|
};
|
795
795
|
function wl() {
|
@@ -799,7 +799,7 @@ var kl = wl;
|
|
799
799
|
(function(t, n) {
|
800
800
|
var e = oe, o = kl, r = n && !n.nodeType && n, s = r && !0 && t && !t.nodeType && t, l = s && s.exports === r, i = l ? e.Buffer : void 0, _ = i ? i.isBuffer : void 0, u = _ || o;
|
801
801
|
t.exports = u;
|
802
|
-
})(Cl,
|
802
|
+
})(Cl, ye);
|
803
803
|
var Tl = He, Ml = jo, xl = $e, Ll = "[object Object]", Nl = Function.prototype, Sl = Object.prototype, Go = Nl.toString, Ol = Sl.hasOwnProperty, Al = Go.call(Object);
|
804
804
|
function Dl(t) {
|
805
805
|
if (!xl(t) || Tl(t) != Ll)
|
@@ -845,10 +845,10 @@ function mc(t, n) {
|
|
845
845
|
if (!(n === "constructor" && typeof t[n] == "function") && n != "__proto__")
|
846
846
|
return t[n];
|
847
847
|
}
|
848
|
-
var Wo = mc, hc = sn,
|
848
|
+
var Wo = mc, hc = sn, vc = Re, yc = Object.prototype, bc = yc.hasOwnProperty;
|
849
849
|
function $c(t, n, e) {
|
850
850
|
var o = t[n];
|
851
|
-
(!(bc.call(t, n) &&
|
851
|
+
(!(bc.call(t, n) && vc(o, e)) || e === void 0 && !(n in t)) && hc(t, n, e);
|
852
852
|
}
|
853
853
|
var Cc = $c, wc = Cc, kc = sn;
|
854
854
|
function Tc(t, n, e, o) {
|
@@ -871,7 +871,7 @@ function Oc(t, n) {
|
|
871
871
|
var e = typeof t;
|
872
872
|
return n = n == null ? Nc : n, !!n && (e == "number" || e != "symbol" && Sc.test(t)) && t > -1 && t % 1 == 0 && t < n;
|
873
873
|
}
|
874
|
-
var Uo = Oc, Ac = Lc, Dc = Yo, Ic = Eo, Rc =
|
874
|
+
var Uo = Oc, Ac = Lc, Dc = Yo, Ic = Eo, Rc = ye, Bc = Uo, jc = Fo, Hc = Object.prototype, Pc = Hc.hasOwnProperty;
|
875
875
|
function Yc(t, n) {
|
876
876
|
var e = Ic(t), o = !e && Dc(t), r = !e && !o && Rc(t), s = !e && !o && !r && jc(t), l = e || o || r || s, i = l ? Ac(t.length, String) : [], _ = i.length;
|
877
877
|
for (var u in t)
|
@@ -907,7 +907,7 @@ var zo = t_, e_ = Mc, n_ = zo;
|
|
907
907
|
function o_(t) {
|
908
908
|
return e_(t, n_(t));
|
909
909
|
}
|
910
|
-
var r_ = o_, Kn = Bo, a_ = Ae, s_ = Pi, i_ = Ei, l_ = el, Zn = Yo, Jn = Eo, c_ = $l, __ =
|
910
|
+
var r_ = o_, Kn = Bo, a_ = Ae, s_ = Pi, i_ = Ei, l_ = el, Zn = Yo, Jn = Eo, c_ = $l, __ = ye, d_ = rn, u_ = zt, p_ = Il, f_ = Fo, Xn = Wo, g_ = r_;
|
911
911
|
function m_(t, n, e, o, r, s, l) {
|
912
912
|
var i = Xn(t, e), _ = Xn(n, e), u = l.get(_);
|
913
913
|
if (u) {
|
@@ -921,14 +921,14 @@ function m_(t, n, e, o, r, s, l) {
|
|
921
921
|
}
|
922
922
|
p && (l.set(_, c), r(c, _, o, s, l), l.delete(_)), Kn(t, e, c);
|
923
923
|
}
|
924
|
-
var h_ = m_,
|
924
|
+
var h_ = m_, v_ = yi, y_ = Bo, b_ = Si, $_ = h_, C_ = zt, w_ = zo, k_ = Wo;
|
925
925
|
function qo(t, n, e, o, r) {
|
926
926
|
t !== n && b_(n, function(s, l) {
|
927
|
-
if (r || (r = new
|
927
|
+
if (r || (r = new v_()), C_(s))
|
928
928
|
$_(t, n, l, e, qo, o, r);
|
929
929
|
else {
|
930
930
|
var i = o ? o(k_(t, l), s, l + "", t, n, r) : void 0;
|
931
|
-
i === void 0 && (i = s),
|
931
|
+
i === void 0 && (i = s), y_(t, l, i);
|
932
932
|
}
|
933
933
|
}, w_);
|
934
934
|
}
|
@@ -1069,21 +1069,21 @@ const Ft = (t, n, e) => Array.isArray(t) ? t.map((o, r) => {
|
|
1069
1069
|
isNational: (o = t == null ? void 0 : t.is_national) != null ? o : null
|
1070
1070
|
};
|
1071
1071
|
if (n != null && n.markets) {
|
1072
|
-
const r = n.markets.reduce((s, l) => (s[l] =
|
1072
|
+
const r = n.markets.reduce((s, l) => (s[l] = v(t || {}, `markets.${l}`, gd()[l || "one_two"]), s), {});
|
1073
1073
|
Wt(e, "markets", r);
|
1074
1074
|
}
|
1075
1075
|
return e;
|
1076
1076
|
}, md = (t, n) => t && typeof t == "string" && n ? Object.keys(n).reduce((o, r) => {
|
1077
1077
|
const s = n[r], l = typeof s == "string" ? s.replace(/^\s|"/gi, "") : s, i = new RegExp(`{${r}}`, "g");
|
1078
1078
|
return o.replace(i, l != null ? l : "");
|
1079
|
-
}, t) : t, hd = (t = 300, n) => new Promise((e) => setTimeout(() => e(n), t)),
|
1079
|
+
}, t) : t, hd = (t = 300, n) => new Promise((e) => setTimeout(() => e(n), t)), vd = (t) => !t && t == null, W = (t) => !vd(t), no = (t) => typeof t != "object" && typeof t != "function" || t === null, _n = (t) => typeof t == "object" && !Array.isArray(t) && W(t), yd = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, e) => (e ? "-" : "") + n.toLowerCase()), Ee = (...t) => t.reduce((n, e) => (n[e] = e, n), {}), Vt = (t, ...n) => n.reduce((e, o) => (e[o] = t[o], e), {});
|
1080
1080
|
function Ot(t, ...n) {
|
1081
1081
|
const e = $({}, t);
|
1082
1082
|
return n.forEach((o) => {
|
1083
1083
|
delete e[o];
|
1084
1084
|
}), e;
|
1085
1085
|
}
|
1086
|
-
const
|
1086
|
+
const v = (t, n, e) => {
|
1087
1087
|
if (!n)
|
1088
1088
|
return;
|
1089
1089
|
const r = (Array.isArray(n) ? n : n.match(/([^[.\]])+/g)).reduce((s, l) => s && s[l], t);
|
@@ -1104,7 +1104,7 @@ const y = (t, n, e) => {
|
|
1104
1104
|
g: parseInt(e[2], 16),
|
1105
1105
|
b: parseInt(e[3], 16)
|
1106
1106
|
} : void 0;
|
1107
|
-
}, Ve = (...t) => t.map((n) => JSON.stringify(n)).every((n, e, o) => n === o[0]), g0 = (t) => "id" in t && "root" in t, ro = (t, n = 1) => t.replace(")", `, ${n})`).replace("rgb", "rgba"), dn = (t, n, e) => Ft(t, (o, r, s) => no(r) || Array.isArray(r) && r.every(no) ? e ? e(o, [r,
|
1107
|
+
}, Ve = (...t) => t.map((n) => JSON.stringify(n)).every((n, e, o) => n === o[0]), g0 = (t) => "id" in t && "root" in t, ro = (t, n = 1) => t.replace(")", `, ${n})`).replace("rgb", "rgba"), dn = (t, n, e) => Ft(t, (o, r, s) => no(r) || Array.isArray(r) && r.every(no) ? e ? e(o, [r, v(n, s)], s) ? v(n, s, r) : r : v(n, s, r) : r), m0 = (t, n) => {
|
1108
1108
|
try {
|
1109
1109
|
Ft(t, (e, o, r) => {
|
1110
1110
|
if (n(e, o, r))
|
@@ -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, y] = u[h + 1] || [];
|
1219
|
+
return _ >= g && _ < y;
|
1220
1220
|
})) == null ? void 0 : p[0]) || u[u.length - 1][0] || "desktop";
|
1221
1221
|
s(c);
|
1222
1222
|
};
|
@@ -1265,7 +1265,7 @@ const Zo = ar(), Ht = ({
|
|
1265
1265
|
return {};
|
1266
1266
|
let c = "";
|
1267
1267
|
return Object.entries(e).forEach(([p, d]) => {
|
1268
|
-
ru(p) && (c += `${
|
1268
|
+
ru(p) && (c += `${yd(p)}: ${d}; `);
|
1269
1269
|
}), c;
|
1270
1270
|
}, [e]), _ = (u = t == null ? void 0 : t.replace(/script|\n/g, "")) == null ? void 0 : u.replace(/{{(.*?)}}/g, o(i));
|
1271
1271
|
return a("div", M($({}, r), {
|
@@ -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, y, 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,7 +1319,7 @@ 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: (y = o == null ? void 0 : o.container) == null ? void 0 : y.borderColor,
|
1323
1323
|
borderLeftStyle: "solid"
|
1324
1324
|
}, l = {
|
1325
1325
|
left: (f = o == null ? void 0 : o.container) == null ? void 0 : f.left
|
@@ -1369,7 +1369,7 @@ const Zo = ar(), Ht = ({
|
|
1369
1369
|
hasIcon: g,
|
1370
1370
|
iconRules: h,
|
1371
1371
|
bodyRules: m,
|
1372
|
-
arrowRules:
|
1372
|
+
arrowRules: y
|
1373
1373
|
} = Xo(p, {
|
1374
1374
|
fade: V.fadein,
|
1375
1375
|
pulse: V.pulse,
|
@@ -1389,7 +1389,7 @@ const Zo = ar(), Ht = ({
|
|
1389
1389
|
paddingRight: 10,
|
1390
1390
|
paddingBottom: 7,
|
1391
1391
|
paddingLeft: 10
|
1392
|
-
}, D =
|
1392
|
+
}, D = v(d, "legal.isSlideMode", !1), T = v(d, "legal.slideDuration", 1e3), q = v(d, "legal.slideDelay", 1e3);
|
1393
1393
|
return a("div", {
|
1394
1394
|
className: A(V.root, {
|
1395
1395
|
[V.legalOpen]: i,
|
@@ -1411,7 +1411,7 @@ const Zo = ar(), Ht = ({
|
|
1411
1411
|
style: m,
|
1412
1412
|
children: [a("div", {
|
1413
1413
|
className: V.arrow,
|
1414
|
-
style:
|
1414
|
+
style: y
|
1415
1415
|
}), a("div", {
|
1416
1416
|
className: V.close,
|
1417
1417
|
style: M($({}, gn(d == null ? void 0 : d.close)), {
|
@@ -1460,7 +1460,7 @@ const Zo = ar(), Ht = ({
|
|
1460
1460
|
className: V.slideLegalText,
|
1461
1461
|
children: (R = d == null ? void 0 : d.legal) == null ? void 0 : R.children
|
1462
1462
|
})
|
1463
|
-
}) : a(
|
1463
|
+
}) : a(ve, {
|
1464
1464
|
children: [a("div", {
|
1465
1465
|
className: V.legalGap
|
1466
1466
|
}), a("div", {
|
@@ -1479,7 +1479,7 @@ const Zo = ar(), Ht = ({
|
|
1479
1479
|
})]
|
1480
1480
|
})]
|
1481
1481
|
});
|
1482
|
-
},
|
1482
|
+
}, v0 = At(a(iu, {})), lu = "_root_lsxq8_1", cu = "_icon_lsxq8_5", _u = "_iconTarget_lsxq8_17", du = "_body_lsxq8_23", uu = "_desktop_lsxq8_30", pu = "_tablet_lsxq8_30", fu = "_laptop_lsxq8_30", gu = "_bodyOpen_lsxq8_34", mu = "_complexGift_in_lsxq8_1", hu = "_arrow_lsxq8_47", vu = "_container_lsxq8_57", yu = "_promotion_lsxq8_62", bu = "_close_lsxq8_68", $u = "_head_lsxq8_81", Cu = "_headIcon_lsxq8_88", wu = "_headTitle_lsxq8_97", ku = "_inner_lsxq8_104", Tu = "_fadein_lsxq8_1", Mu = "_pulse_lsxq8_1", xu = "_gradient_lsxq8_1", Lu = "_wiggle_lsxq8_1", Q = {
|
1483
1483
|
root: lu,
|
1484
1484
|
icon: cu,
|
1485
1485
|
iconTarget: _u,
|
@@ -1490,8 +1490,8 @@ const Zo = ar(), Ht = ({
|
|
1490
1490
|
bodyOpen: gu,
|
1491
1491
|
complexGift_in: mu,
|
1492
1492
|
arrow: hu,
|
1493
|
-
container:
|
1494
|
-
promotion:
|
1493
|
+
container: vu,
|
1494
|
+
promotion: yu,
|
1495
1495
|
close: bu,
|
1496
1496
|
head: $u,
|
1497
1497
|
headIcon: Cu,
|
@@ -1586,7 +1586,7 @@ const Zo = ar(), Ht = ({
|
|
1586
1586
|
pulse: Q.pulse,
|
1587
1587
|
wiggle: Q.wiggle,
|
1588
1588
|
gradient: Q.gradient
|
1589
|
-
}), m = (N = c == null ? void 0 : c.title) == null ? void 0 : N.hasIcon,
|
1589
|
+
}), m = (N = c == null ? void 0 : c.title) == null ? void 0 : N.hasIcon, y = 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
1592
|
className: A(Q.root, {
|
@@ -1615,7 +1615,7 @@ const Zo = ar(), Ht = ({
|
|
1615
1615
|
style: c.container,
|
1616
1616
|
children: [a("div", {
|
1617
1617
|
className: Q.head,
|
1618
|
-
style:
|
1618
|
+
style: y,
|
1619
1619
|
children: [m && a("div", {
|
1620
1620
|
className: Q.headIcon,
|
1621
1621
|
style: Vt(c.title, "color"),
|
@@ -1649,7 +1649,7 @@ const Zo = ar(), Ht = ({
|
|
1649
1649
|
})]
|
1650
1650
|
})]
|
1651
1651
|
});
|
1652
|
-
},
|
1652
|
+
}, y0 = At(a(Yu, {})), Eu = "_root_mp148_1", Vu = "_background_mp148_11", Gu = "_content_mp148_19", Fu = "_desktop_mp148_28", Wu = "_laptop_mp148_28", Uu = "_wrapper_mp148_33", zu = "_overlay_mp148_37", qu = "_close_mp148_43", Ku = "_closeTimer_mp148_59", Zu = "_promotion_mp148_70", Ju = "_body_mp148_78", Xu = "_logo_mp148_87", Qu = "_text_mp148_93", tp = "_button_mp148_97", ep = "_legal_mp148_112", ut = {
|
1653
1653
|
root: Eu,
|
1654
1654
|
background: Vu,
|
1655
1655
|
content: Gu,
|
@@ -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 = (y) => o.current.on("visible", y), p = (y) => o.current.on("click", y), d = (y) => o.current.on("clickHide", y), 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: (...y) => {
|
1711
|
+
h(), o.current.emit("click", ...y);
|
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 = {
|
@@ -1815,13 +1815,13 @@ const gp = ee(({
|
|
1815
1815
|
id: t
|
1816
1816
|
}), _ = Z(), u = Dt(_, i);
|
1817
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
|
-
const c = G(u), p =
|
1818
|
+
const c = G(u), p = v(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 =
|
1823
|
+
click: y
|
1824
|
+
} = un(e, p), f = v(c, "close.variant", "default"), N = v(c, "close.radius", 21), S = v(c, "close.colorDirection", "default"), I = v(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)
|
@@ -1858,7 +1858,7 @@ const gp = ee(({
|
|
1858
1858
|
onClick: D && m
|
1859
1859
|
}), a("div", {
|
1860
1860
|
className: ut.wrapper,
|
1861
|
-
children: [C && a(
|
1861
|
+
children: [C && a(ve, {
|
1862
1862
|
children: f === "default" ? a("div", {
|
1863
1863
|
className: ut.close,
|
1864
1864
|
style: M($({}, c.close), {
|
@@ -1873,7 +1873,7 @@ const gp = ee(({
|
|
1873
1873
|
}) : a("div", {
|
1874
1874
|
className: ut.closeTimer,
|
1875
1875
|
children: a(pn, {
|
1876
|
-
timeout:
|
1876
|
+
timeout: v(c, "close.timeout"),
|
1877
1877
|
colorDirection: S,
|
1878
1878
|
radius: N,
|
1879
1879
|
onClick: m,
|
@@ -1890,7 +1890,7 @@ const gp = ee(({
|
|
1890
1890
|
rel: "nofollow noopener noreferrer",
|
1891
1891
|
className: ut.content,
|
1892
1892
|
style: b,
|
1893
|
-
onClick: () => T === "a" &&
|
1893
|
+
onClick: () => T === "a" && y(c.id),
|
1894
1894
|
children: [a("img", {
|
1895
1895
|
ref: l,
|
1896
1896
|
className: ut.background,
|
@@ -1922,11 +1922,11 @@ const gp = ee(({
|
|
1922
1922
|
})]
|
1923
1923
|
})]
|
1924
1924
|
});
|
1925
|
-
}), b0 = At(a(gp, {})), mp = "_root_v0531_1", hp = "_content_v0531_11",
|
1925
|
+
}), b0 = At(a(gp, {})), mp = "_root_v0531_1", hp = "_content_v0531_11", vp = "_desktop_v0531_22", yp = "_mobile_v0531_29", bp = "_overlay_v0531_35", $p = "_close_v0531_41", Cp = "_closeTimer_v0531_63", wp = "_promotion_v0531_74", kp = "_title_v0531_82", Tp = "_wrapper_v0531_97", Mp = "_bonus_v0531_107", xt = {
|
1926
1926
|
root: mp,
|
1927
1927
|
content: hp,
|
1928
|
-
desktop:
|
1929
|
-
mobile:
|
1928
|
+
desktop: vp,
|
1929
|
+
mobile: yp,
|
1930
1930
|
overlay: bp,
|
1931
1931
|
close: $p,
|
1932
1932
|
closeTimer: Cp,
|
@@ -2043,11 +2043,11 @@ const Up = {
|
|
2043
2043
|
breakpoints: Up
|
2044
2044
|
}), l = Z(), i = Dt(l, s), _ = G(i);
|
2045
2045
|
It(i);
|
2046
|
-
const u =
|
2046
|
+
const u = v(_, "root.delay", 0), {
|
2047
2047
|
isOpen: c,
|
2048
2048
|
clickHide: p,
|
2049
2049
|
click: d
|
2050
|
-
} = un(n, u, !0), g =
|
2050
|
+
} = un(n, u, !0), g = v(_, "close.variant", "default"), h = v(_, "close.radius", 21), m = v(_, "close.colorDirection", "default"), y = v(_, "close.timeoutLock", !1), f = g === "timer" ? e <= 0 : !0, N = g === "timer" && y && e > 0 ? "div" : "a";
|
2051
2051
|
return a("div", {
|
2052
2052
|
className: xt.root,
|
2053
2053
|
style: {
|
@@ -2084,7 +2084,7 @@ const Up = {
|
|
2084
2084
|
}) : a("div", {
|
2085
2085
|
className: xt.closeTimer,
|
2086
2086
|
children: a(pn, {
|
2087
|
-
timeout:
|
2087
|
+
timeout: v(_, "close.timeout"),
|
2088
2088
|
colorDirection: m,
|
2089
2089
|
radius: h,
|
2090
2090
|
onClick: p,
|
@@ -2135,13 +2135,13 @@ const Up = {
|
|
2135
2135
|
buttonHead: df,
|
2136
2136
|
buttonTarget: uf,
|
2137
2137
|
legal: pf
|
2138
|
-
}, ff = "_root_16jvv_1", gf = "_left_16jvv_8", mf = "_desktop_16jvv_15", hf = "_laptop_16jvv_15",
|
2138
|
+
}, ff = "_root_16jvv_1", gf = "_left_16jvv_8", mf = "_desktop_16jvv_15", hf = "_laptop_16jvv_15", vf = "_teams_16jvv_19", yf = "_logo_16jvv_25", bf = "_league_16jvv_32", $f = "_name_16jvv_37", Cf = "_right_16jvv_43", wf = "_odd_16jvv_54", kf = "_oddLabel_16jvv_67", Tf = "_oddValue_16jvv_76", Mf = "_team_16jvv_19", xf = "_teamLogo_16jvv_100", Lf = "_teamName_16jvv_107", tt = {
|
2139
2139
|
root: ff,
|
2140
2140
|
left: gf,
|
2141
2141
|
desktop: mf,
|
2142
2142
|
laptop: hf,
|
2143
|
-
teams:
|
2144
|
-
logo:
|
2143
|
+
teams: vf,
|
2144
|
+
logo: yf,
|
2145
2145
|
league: bf,
|
2146
2146
|
name: $f,
|
2147
2147
|
right: Cf,
|
@@ -2483,11 +2483,11 @@ const Nf = new Set(Object.keys(tr)), wt = ({
|
|
2483
2483
|
}) => n || t || e, Sf = ({
|
2484
2484
|
oddFormatter: t
|
2485
2485
|
}) => {
|
2486
|
-
const n = Z(), e = G(n), o = (n == null ? void 0 : n.device) || "desktop", r =
|
2487
|
-
backgroundImage:
|
2486
|
+
const n = Z(), e = G(n), o = (n == null ? void 0 : n.device) || "desktop", r = v(e, "match.sport_slug"), s = M($({}, e == null ? void 0 : e.teamALogo), {
|
2487
|
+
backgroundImage: v(e, "match.teams[0].logo")
|
2488
2488
|
}), l = M($({}, e == null ? void 0 : e.teamBLogo), {
|
2489
|
-
backgroundImage:
|
2490
|
-
}), i =
|
2489
|
+
backgroundImage: v(e, "match.teams[1].logo")
|
2490
|
+
}), i = v(e, "match.prediction.value");
|
2491
2491
|
return a("div", {
|
2492
2492
|
className: A(tt.root, {
|
2493
2493
|
[tt.desktop]: o === "desktop",
|
@@ -2502,26 +2502,26 @@ const Nf = new Set(Object.keys(tr)), wt = ({
|
|
2502
2502
|
style: s,
|
2503
2503
|
src: s.backgroundImage,
|
2504
2504
|
sportSlug: r,
|
2505
|
-
country:
|
2505
|
+
country: v(e, "match.teams[0].country")
|
2506
2506
|
}), a(wt, {
|
2507
2507
|
className: tt.logo,
|
2508
2508
|
style: l,
|
2509
2509
|
src: l.backgroundImage,
|
2510
2510
|
sportSlug: r,
|
2511
|
-
country:
|
2511
|
+
country: v(e, "match.teams[1].country")
|
2512
2512
|
})]
|
2513
2513
|
}), a("div", {
|
2514
2514
|
className: tt.body,
|
2515
2515
|
children: [a("div", {
|
2516
2516
|
className: tt.league,
|
2517
2517
|
style: e.league,
|
2518
|
-
children:
|
2518
|
+
children: v(e, "match.league.name")
|
2519
2519
|
}), a("div", {
|
2520
2520
|
className: tt.name,
|
2521
2521
|
style: e.teams,
|
2522
|
-
children: [a(kt, M($({},
|
2522
|
+
children: [a(kt, M($({}, v(e, "match.teams[0]")), {
|
2523
2523
|
fallback: "Team A"
|
2524
|
-
})), " - ", a(kt, M($({},
|
2524
|
+
})), " - ", a(kt, M($({}, v(e, "match.teams[1]")), {
|
2525
2525
|
fallback: "Team B"
|
2526
2526
|
}))]
|
2527
2527
|
})]
|
@@ -2535,11 +2535,11 @@ const Nf = new Set(Object.keys(tr)), wt = ({
|
|
2535
2535
|
style: s,
|
2536
2536
|
src: s.backgroundImage,
|
2537
2537
|
sportSlug: r,
|
2538
|
-
country:
|
2538
|
+
country: v(e, "match.teams[0].country")
|
2539
2539
|
}), a("div", {
|
2540
2540
|
className: tt.teamName,
|
2541
2541
|
style: e.teams,
|
2542
|
-
children: a(kt, M($({},
|
2542
|
+
children: a(kt, M($({}, v(e, "match.teams[0]")), {
|
2543
2543
|
fallback: "Team A"
|
2544
2544
|
}))
|
2545
2545
|
})]
|
@@ -2555,7 +2555,7 @@ const Nf = new Set(Object.keys(tr)), wt = ({
|
|
2555
2555
|
}), a("div", {
|
2556
2556
|
className: tt.oddValue,
|
2557
2557
|
style: e.oddValue,
|
2558
|
-
children:
|
2558
|
+
children: v(e, "match.prediction.factor")
|
2559
2559
|
})]
|
2560
2560
|
}), a("div", {
|
2561
2561
|
className: tt.team,
|
@@ -2564,11 +2564,11 @@ const Nf = new Set(Object.keys(tr)), wt = ({
|
|
2564
2564
|
style: l,
|
2565
2565
|
src: l.backgroundImage,
|
2566
2566
|
sportSlug: r,
|
2567
|
-
country:
|
2567
|
+
country: v(e, "match.teams[1].country")
|
2568
2568
|
}), a("div", {
|
2569
2569
|
className: tt.teamName,
|
2570
2570
|
style: e.teams,
|
2571
|
-
children: a(kt, M($({},
|
2571
|
+
children: a(kt, M($({}, v(e, "match.teams[1]")), {
|
2572
2572
|
fallback: "Team B"
|
2573
2573
|
}))
|
2574
2574
|
})]
|
@@ -2624,8 +2624,8 @@ var St = {}, Kf = {
|
|
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
|
-
N[f] =
|
2627
|
+
} }, y = { 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] = y;
|
2629
2629
|
var S = function(x) {
|
2630
2630
|
return x instanceof q;
|
2631
2631
|
}, I = function(x, k, b) {
|
@@ -2692,11 +2692,11 @@ var St = {}, Kf = {
|
|
2692
2692
|
}, k.valueOf = function() {
|
2693
2693
|
return this.$d.getTime();
|
2694
2694
|
}, k.startOf = function(b, w) {
|
2695
|
-
var C = this, O = !!T.u(w) || w, L = T.p(b), R = function(
|
2696
|
-
var ft = T.w(C.$u ? Date.UTC(C.$y, X,
|
2695
|
+
var C = this, O = !!T.u(w) || w, L = T.p(b), R = function(vt, X) {
|
2696
|
+
var ft = T.w(C.$u ? Date.UTC(C.$y, X, vt) : new Date(C.$y, X, vt), C);
|
2697
2697
|
return O ? ft : ft.endOf(l);
|
2698
|
-
}, H = function(
|
2699
|
-
return T.w(C.toDate()[
|
2698
|
+
}, H = function(vt, X) {
|
2699
|
+
return T.w(C.toDate()[vt].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
2701
|
switch (L) {
|
2702
2702
|
case c:
|
@@ -2762,9 +2762,9 @@ var St = {}, Kf = {
|
|
2762
2762
|
}, pt = L.meridiem || function(X, ft, Yt) {
|
2763
2763
|
var Rt = X < 12 ? "AM" : "PM";
|
2764
2764
|
return Yt ? Rt.toLowerCase() : Rt;
|
2765
|
-
},
|
2765
|
+
}, vt = { 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
2766
|
return C.replace(g, function(X, ft) {
|
2767
|
-
return ft ||
|
2767
|
+
return ft || vt[X] || O.replace(":", "");
|
2768
2768
|
});
|
2769
2769
|
}, k.utcOffset = function() {
|
2770
2770
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
@@ -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, y;
|
2823
|
+
return h === "m" ? g ? "минута" : "минуту" : d + " " + (m = +d, y = { mm: g ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[h].split("_"), m % 10 == 1 && m % 100 != 11 ? y[0] : m % 10 >= 2 && m % 10 <= 4 && (m % 100 < 10 || m % 100 >= 20) ? y[1] : y[2]);
|
2824
2824
|
}
|
2825
2825
|
var u = function(d, g) {
|
2826
2826
|
return i.test(g) ? o[d.month()] : r[d.month()];
|
@@ -2999,10 +2999,10 @@ const mo = (t, n = "DD.MM.YYYY", e = "en") => t ? Zf(t).locale(e).format(n) : ""
|
|
2999
2999
|
oddFormatter: t
|
3000
3000
|
}) => {
|
3001
3001
|
const n = Z(), e = G(n), o = (n == null ? void 0 : n.device) || "desktop", r = M($({}, e == null ? void 0 : e.teamALogo), {
|
3002
|
-
backgroundImage:
|
3002
|
+
backgroundImage: v(e, "match.teams[0].logo")
|
3003
3003
|
}), s = M($({}, e == null ? void 0 : e.teamBLogo), {
|
3004
|
-
backgroundImage:
|
3005
|
-
}), l =
|
3004
|
+
backgroundImage: v(e, "match.teams[1].logo")
|
3005
|
+
}), l = v(e, "match.lang_slug", "ru"), i = v(e, "match.sport_slug"), _ = mo(v(e, "match.match_date"), "HH:mm", l), u = mo(v(e, "match.match_date"), "DD MMMM", l), p = v(e, "root.predictionLength", "full") === "full" ? v(e, "match.prediction.value") : v(e, "match.prediction.value_short") || v(e, "match.prediction.value"), d = Number(v(e, "match.prediction.factor", 0)).toFixed(2);
|
3006
3006
|
return a("div", {
|
3007
3007
|
className: A(at.root, {
|
3008
3008
|
[at.desktop]: o === "desktop",
|
@@ -3016,11 +3016,11 @@ const mo = (t, n = "DD.MM.YYYY", e = "en") => t ? Zf(t).locale(e).format(n) : ""
|
|
3016
3016
|
style: r,
|
3017
3017
|
src: r.backgroundImage,
|
3018
3018
|
sportSlug: i,
|
3019
|
-
country:
|
3019
|
+
country: v(e, "match.teams[0].country")
|
3020
3020
|
}), a("div", {
|
3021
3021
|
className: at.teamName,
|
3022
3022
|
style: e.teams,
|
3023
|
-
children: a(kt, M($({},
|
3023
|
+
children: a(kt, M($({}, v(e, "match.teams[0]")), {
|
3024
3024
|
fallback: "Team A"
|
3025
3025
|
}))
|
3026
3026
|
})]
|
@@ -3056,11 +3056,11 @@ const mo = (t, n = "DD.MM.YYYY", e = "en") => t ? Zf(t).locale(e).format(n) : ""
|
|
3056
3056
|
style: s,
|
3057
3057
|
src: s.backgroundImage,
|
3058
3058
|
sportSlug: i,
|
3059
|
-
country:
|
3059
|
+
country: v(e, "match.teams[1].country")
|
3060
3060
|
}), a("div", {
|
3061
3061
|
className: at.teamName,
|
3062
3062
|
style: e.teams,
|
3063
|
-
children: a(kt, M($({},
|
3063
|
+
children: a(kt, M($({}, v(e, "match.teams[1]")), {
|
3064
3064
|
fallback: "Team B"
|
3065
3065
|
}))
|
3066
3066
|
})]
|
@@ -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, y) => {
|
3102
|
+
m && d.append(`${g}[${y}]`, 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, [y, f]) => W(f));
|
3233
3233
|
return M($({}, p), {
|
3234
3234
|
match: h
|
3235
3235
|
});
|
@@ -3243,7 +3243,7 @@ const sg = (t) => {
|
|
3243
3243
|
baseMatch: n,
|
3244
3244
|
oddFormatter: e
|
3245
3245
|
}, o) => {
|
3246
|
-
var lt, ot, rt, pt,
|
3246
|
+
var lt, ot, rt, pt, vt, X, ft, Yt, Rt, ie, le, ce, _e, de, dt;
|
3247
3247
|
const [r, s] = mt(1 / 0), l = K(null), i = Pt({
|
3248
3248
|
targetRef: l,
|
3249
3249
|
id: t
|
@@ -3251,12 +3251,12 @@ const sg = (t) => {
|
|
3251
3251
|
u && (Wt(u, "buttonWrapper.percent_width", (lt = u == null ? void 0 : u.buttonWrapper) == null ? void 0 : lt.width), Wt(u, "legal.percent_width", (ot = u == null ? void 0 : u.legal) == null ? void 0 : ot.width));
|
3252
3252
|
const c = G(u);
|
3253
3253
|
It(u);
|
3254
|
-
const p =
|
3254
|
+
const p = v(c, "root.delay", 0), g = v(c, "children", []).find((ue) => ue.name === "auto"), {
|
3255
3255
|
isOpen: h,
|
3256
3256
|
apiHost: m,
|
3257
|
-
clickHide:
|
3257
|
+
clickHide: y,
|
3258
3258
|
click: f
|
3259
|
-
} = un(o, p, !0), N =
|
3259
|
+
} = un(o, p, !0), N = v(c, "close.variant", "default"), S = v(c, "close.radius", 21), I = v(c, "close.colorDirection", "default"), D = v(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);
|
@@ -3266,19 +3266,19 @@ const sg = (t) => {
|
|
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
|
-
textAlign: (
|
3269
|
+
textAlign: (vt = c.root) == null ? void 0 : vt.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
|
-
}), L = +
|
3274
|
+
}), L = +v(g, "root.bonusValue", 0), R = +v(g, "match.prediction.factor", 0), H = me((Yt = c.text) == null ? void 0 : Yt.children, {
|
3275
3275
|
bonusValue: L,
|
3276
3276
|
clearResult: (L * R - L).toFixed(0),
|
3277
3277
|
rawResult: (L * R).toFixed(0),
|
3278
3278
|
rate: R
|
3279
3279
|
}, {
|
3280
3280
|
parse: !1
|
3281
|
-
}), j = R === 0 ?
|
3281
|
+
}), j = R === 0 ? v(c, "text.fallbackChildren") : H, P = (Rt = c.root) == null ? void 0 : Rt.corner;
|
3282
3282
|
return a("div", {
|
3283
3283
|
className: A(nt.root, {
|
3284
3284
|
[nt.desktop]: i === "desktop",
|
@@ -3292,7 +3292,7 @@ const sg = (t) => {
|
|
3292
3292
|
children: [a("div", {
|
3293
3293
|
className: nt.overlay,
|
3294
3294
|
style: c.overlay,
|
3295
|
-
onClick: T &&
|
3295
|
+
onClick: T && y
|
3296
3296
|
}), a("div", {
|
3297
3297
|
className: nt.content,
|
3298
3298
|
children: [N === "default" ? a("div", {
|
@@ -3301,7 +3301,7 @@ const sg = (t) => {
|
|
3301
3301
|
borderBottomLeftRadius: `${P}px`,
|
3302
3302
|
borderTopRightRadius: `${P}px`
|
3303
3303
|
}),
|
3304
|
-
onClick:
|
3304
|
+
onClick: y,
|
3305
3305
|
children: a(Kt, {
|
3306
3306
|
width: 11,
|
3307
3307
|
height: 11
|
@@ -3309,10 +3309,10 @@ const sg = (t) => {
|
|
3309
3309
|
}) : a("div", {
|
3310
3310
|
className: nt.closeTimer,
|
3311
3311
|
children: a(pn, {
|
3312
|
-
timeout:
|
3312
|
+
timeout: v(c, "close.timeout"),
|
3313
3313
|
colorDirection: I,
|
3314
3314
|
radius: S,
|
3315
|
-
onClick:
|
3315
|
+
onClick: y,
|
3316
3316
|
onChange: s
|
3317
3317
|
})
|
3318
3318
|
}), a(E, {
|
@@ -3382,7 +3382,7 @@ const sg = (t) => {
|
|
3382
3382
|
})]
|
3383
3383
|
})]
|
3384
3384
|
});
|
3385
|
-
}), C0 = At(a(lg, {})), cg = "_root_1ctra_1", _g = "_background_1ctra_18", dg = "_body_1ctra_27", ug = "_bookmaker_1ctra_36", pg = "_button_1ctra_43", fg = "_rowFirst_1ctra_58", gg = "_rowSecond_1ctra_64", mg = "_legal_1ctra_70", hg = "_legalText_1ctra_89",
|
3385
|
+
}), C0 = At(a(lg, {})), cg = "_root_1ctra_1", _g = "_background_1ctra_18", dg = "_body_1ctra_27", ug = "_bookmaker_1ctra_36", pg = "_button_1ctra_43", fg = "_rowFirst_1ctra_58", gg = "_rowSecond_1ctra_64", mg = "_legal_1ctra_70", hg = "_legalText_1ctra_89", vg = "_legalOpen_1ctra_98", yg = "_legalStatic_1ctra_102", bg = "_legalButton_1ctra_106", yt = {
|
3386
3386
|
root: cg,
|
3387
3387
|
background: _g,
|
3388
3388
|
body: dg,
|
@@ -3392,8 +3392,8 @@ const sg = (t) => {
|
|
3392
3392
|
rowSecond: gg,
|
3393
3393
|
legal: mg,
|
3394
3394
|
legalText: hg,
|
3395
|
-
legalOpen:
|
3396
|
-
legalStatic:
|
3395
|
+
legalOpen: vg,
|
3396
|
+
legalStatic: yg,
|
3397
3397
|
legalButton: bg
|
3398
3398
|
}, $g = (t) => {
|
3399
3399
|
var i, _;
|
@@ -3417,62 +3417,62 @@ 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, y, 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((y = o.bookmaker) == null ? void 0 : y.children, r, {
|
3428
3428
|
parse: !1
|
3429
3429
|
});
|
3430
3430
|
return a("div", {
|
3431
|
-
className:
|
3431
|
+
className: yt.root,
|
3432
3432
|
style: Ot(o.root, ...Tt),
|
3433
3433
|
children: [a("div", {
|
3434
|
-
className:
|
3434
|
+
className: yt.background,
|
3435
3435
|
style: Vt(o.root, ...Tt)
|
3436
3436
|
}), a("a", {
|
3437
3437
|
href: (f = o.root) == null ? void 0 : f.offer,
|
3438
3438
|
target: "_blank",
|
3439
3439
|
rel: "nofollow noopener noreferrer",
|
3440
|
-
className:
|
3440
|
+
className: yt.body,
|
3441
3441
|
onClick: () => n(o.id),
|
3442
3442
|
children: [a("div", {
|
3443
3443
|
children: [a(E, {
|
3444
|
-
className:
|
3444
|
+
className: yt.rowFirst,
|
3445
3445
|
style: o == null ? void 0 : o.rowFirst,
|
3446
3446
|
typography: o == null ? void 0 : o.rowFirst,
|
3447
3447
|
accentTypography: (N = o == null ? void 0 : o.rowFirst) == null ? void 0 : N.accentTypography,
|
3448
3448
|
children: _
|
3449
3449
|
}), a(E, {
|
3450
|
-
className:
|
3450
|
+
className: yt.rowSecond,
|
3451
3451
|
style: o == null ? void 0 : o.rowSecond,
|
3452
3452
|
typography: o == null ? void 0 : o.rowSecond,
|
3453
3453
|
accentTypography: (S = o == null ? void 0 : o.rowSecond) == null ? void 0 : S.accentTypography,
|
3454
3454
|
children: u
|
3455
3455
|
}), a("div", {
|
3456
|
-
className:
|
3456
|
+
className: yt.bookmaker,
|
3457
3457
|
style: o.bookmaker,
|
3458
3458
|
children: c
|
3459
3459
|
})]
|
3460
3460
|
}), a("div", {
|
3461
|
-
className:
|
3461
|
+
className: yt.button,
|
3462
3462
|
style: o.button,
|
3463
3463
|
children: (I = o.button) == null ? void 0 : I.children
|
3464
3464
|
})]
|
3465
3465
|
}), a("div", {
|
3466
|
-
className: A(
|
3467
|
-
[
|
3468
|
-
[
|
3466
|
+
className: A(yt.legal, {
|
3467
|
+
[yt.legalOpen]: s,
|
3468
|
+
[yt.legalStatic]: !i
|
3469
3469
|
}),
|
3470
3470
|
style: o.legalInfo,
|
3471
3471
|
children: [a("div", {
|
3472
|
-
className:
|
3472
|
+
className: yt.legalText,
|
3473
3473
|
children: (D = o.legalInfo) == null ? void 0 : D.children
|
3474
3474
|
}), a("div", {
|
3475
|
-
className:
|
3475
|
+
className: yt.legalButton,
|
3476
3476
|
style: o.legalInfoButton,
|
3477
3477
|
onClick: l,
|
3478
3478
|
children: s ? (T = o.legalInfoButton) == null ? void 0 : T.openText : (q = o.legalInfoButton) == null ? void 0 : q.closeText
|
@@ -3509,8 +3509,8 @@ const sg = (t) => {
|
|
3509
3509
|
const p = l != null ? l : [];
|
3510
3510
|
return r && (s = s.sort((g, h) => {
|
3511
3511
|
var f, N;
|
3512
|
-
const m = p.indexOf((f = g.root) == null ? void 0 : f.connectorBookmakerSlug),
|
3513
|
-
return (m === -1 ? 1 / 0 : m) - (
|
3512
|
+
const m = p.indexOf((f = g.root) == null ? void 0 : f.connectorBookmakerSlug), y = p.indexOf((N = h.root) == null ? void 0 : N.connectorBookmakerSlug);
|
3513
|
+
return (m === -1 ? 1 / 0 : m) - (y === -1 ? 1 / 0 : y);
|
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);
|
@@ -3564,7 +3564,7 @@ const sg = (t) => {
|
|
3564
3564
|
}, Vg = "_root_1c4sr_1", Gg = "_desktop_1c4sr_11", ho = {
|
3565
3565
|
root: Vg,
|
3566
3566
|
desktop: Gg
|
3567
|
-
}, Fg = "_word_1m5wb_19", Wg = "_root_1m5wb_24", Ug = "_pulse_1m5wb_1",
|
3567
|
+
}, Fg = "_word_1m5wb_19", Wg = "_root_1m5wb_24", Ug = "_pulse_1m5wb_1", vo = {
|
3568
3568
|
word: Fg,
|
3569
3569
|
root: Wg,
|
3570
3570
|
pulse: Ug,
|
@@ -3593,7 +3593,7 @@ const sg = (t) => {
|
|
3593
3593
|
}, [o, e]), z(() => () => {
|
3594
3594
|
r(0);
|
3595
3595
|
}, [e]), s;
|
3596
|
-
}, xe = 1e3,
|
3596
|
+
}, xe = 1e3, yo = 1300, bo = 0, zg = ({
|
3597
3597
|
children: t,
|
3598
3598
|
pause: n,
|
3599
3599
|
deps: e = []
|
@@ -3601,14 +3601,14 @@ const sg = (t) => {
|
|
3601
3601
|
const o = K(null), r = Gt({
|
3602
3602
|
pause: n,
|
3603
3603
|
duration: xe,
|
3604
|
-
delay: (i) => i > 0 ?
|
3604
|
+
delay: (i) => i > 0 ? yo : bo
|
3605
3605
|
}), s = Gt({
|
3606
3606
|
pause: n,
|
3607
|
-
duration:
|
3607
|
+
duration: yo,
|
3608
3608
|
delay: (i) => i === 0 ? xe + bo : xe
|
3609
3609
|
}), l = (i, _, u) => {
|
3610
3610
|
const c = typeof i == "string" ? document.createElement("span") : i;
|
3611
|
-
return typeof i == "string" && (c.textContent = i), c.classList.add(
|
3611
|
+
return typeof i == "string" && (c.textContent = i), c.classList.add(vo.word), c.style.animationDelay = `${_ * u}ms`, c.style.animationDuration = `${u}ms`, c;
|
3612
3612
|
};
|
3613
3613
|
return z(() => {
|
3614
3614
|
var i;
|
@@ -3617,14 +3617,14 @@ 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, y;
|
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
3625
|
c.push(...f.filter((N) => N !== "").map((N) => [N, " "]).flat());
|
3626
3626
|
} else
|
3627
|
-
(((
|
3627
|
+
(((y = h.textContent) == null ? void 0 : y.split(" ")) || []).forEach((N) => {
|
3628
3628
|
const S = h.cloneNode();
|
3629
3629
|
S.textContent = N + " ", c.push(S);
|
3630
3630
|
});
|
@@ -3641,7 +3641,7 @@ const sg = (t) => {
|
|
3641
3641
|
}, [n, ...e]), a("div", {
|
3642
3642
|
"data-text-animation": r,
|
3643
3643
|
"data-pulse-animation": s,
|
3644
|
-
className:
|
3644
|
+
className: vo.root,
|
3645
3645
|
ref: o,
|
3646
3646
|
children: t
|
3647
3647
|
});
|
@@ -3689,11 +3689,11 @@ const sg = (t) => {
|
|
3689
3689
|
oddFormatter: t
|
3690
3690
|
}) => {
|
3691
3691
|
var i, _;
|
3692
|
-
const n = Z(), e = G(n), o =
|
3693
|
-
backgroundImage: Qt(
|
3692
|
+
const n = Z(), e = G(n), o = v(e, "match.sportSlug"), r = Ot(e.root, ...Tt), s = M($({}, e.teamLogo), {
|
3693
|
+
backgroundImage: Qt(v(e, "match.teams[0].logo"), [120, 120]),
|
3694
3694
|
backgroundColor: "transparent"
|
3695
3695
|
}), l = M($({}, e.teamLogo), {
|
3696
|
-
backgroundImage: Qt(
|
3696
|
+
backgroundImage: Qt(v(e, "match.teams[1].logo"), [120, 120]),
|
3697
3697
|
backgroundColor: "transparent"
|
3698
3698
|
});
|
3699
3699
|
return a("div", {
|
@@ -3723,12 +3723,12 @@ const sg = (t) => {
|
|
3723
3723
|
style: s,
|
3724
3724
|
src: s.backgroundImage,
|
3725
3725
|
sportSlug: o,
|
3726
|
-
country:
|
3726
|
+
country: v(e, "match.teams[0].country")
|
3727
3727
|
}), a("div", {
|
3728
3728
|
className: et.oddValue,
|
3729
3729
|
style: e.value,
|
3730
3730
|
children: a(Et, {
|
3731
|
-
odd:
|
3731
|
+
odd: v(e, "match.markets.one_x_two.w1"),
|
3732
3732
|
formatter: t
|
3733
3733
|
})
|
3734
3734
|
})]
|
@@ -3742,7 +3742,7 @@ const sg = (t) => {
|
|
3742
3742
|
className: et.oddValue,
|
3743
3743
|
style: e.value,
|
3744
3744
|
children: a(Et, {
|
3745
|
-
odd:
|
3745
|
+
odd: v(e, "match.markets.one_x_two.x"),
|
3746
3746
|
formatter: t
|
3747
3747
|
})
|
3748
3748
|
})]
|
@@ -3753,12 +3753,12 @@ const sg = (t) => {
|
|
3753
3753
|
style: l,
|
3754
3754
|
src: l.backgroundImage,
|
3755
3755
|
sportSlug: o,
|
3756
|
-
country:
|
3756
|
+
country: v(e, "match.teams[1].country")
|
3757
3757
|
}), a("div", {
|
3758
3758
|
className: et.oddValue,
|
3759
3759
|
style: e.value,
|
3760
3760
|
children: a(Et, {
|
3761
|
-
odd:
|
3761
|
+
odd: v(e, "match.markets.one_x_two.w2"),
|
3762
3762
|
formatter: t
|
3763
3763
|
})
|
3764
3764
|
})]
|
@@ -3768,19 +3768,19 @@ const sg = (t) => {
|
|
3768
3768
|
children: [a("div", {
|
3769
3769
|
className: et.teamName,
|
3770
3770
|
style: e.teamName,
|
3771
|
-
children: a(kt, M($({},
|
3771
|
+
children: a(kt, M($({}, v(e, "match.teams[0]")), {
|
3772
3772
|
fallback: "Team A"
|
3773
3773
|
}))
|
3774
3774
|
}), a("div", {
|
3775
3775
|
className: et.teamName,
|
3776
3776
|
style: e.teamName,
|
3777
|
-
children: a(kt, M($({},
|
3777
|
+
children: a(kt, M($({}, v(e, "match.teams[1]")), {
|
3778
3778
|
fallback: "Team B"
|
3779
3779
|
}))
|
3780
3780
|
})]
|
3781
3781
|
})]
|
3782
3782
|
});
|
3783
|
-
}, _m = "_root_31lck_1", dm = "_title_31lck_8", um = "_titleLabel_31lck_13", pm = "_tablet_31lck_16", fm = "_desktop_31lck_19", gm = "_laptop_31lck_19", mm = "_titleValue_31lck_23", hm = "_team_31lck_34",
|
3783
|
+
}, _m = "_root_31lck_1", dm = "_title_31lck_8", um = "_titleLabel_31lck_13", pm = "_tablet_31lck_16", fm = "_desktop_31lck_19", gm = "_laptop_31lck_19", mm = "_titleValue_31lck_23", hm = "_team_31lck_34", vm = "_teamLogo_31lck_45", ym = "_teamName_31lck_73", bm = "_teamValue_31lck_81", $m = "_wrapper_31lck_98", Cm = "_logos_31lck_106", wm = "_national_31lck_119", km = "_names_31lck_129", Tm = "_odds_31lck_129", st = {
|
3784
3784
|
root: _m,
|
3785
3785
|
title: dm,
|
3786
3786
|
titleLabel: um,
|
@@ -3789,8 +3789,8 @@ const sg = (t) => {
|
|
3789
3789
|
laptop: gm,
|
3790
3790
|
titleValue: mm,
|
3791
3791
|
team: hm,
|
3792
|
-
teamLogo:
|
3793
|
-
teamName:
|
3792
|
+
teamLogo: vm,
|
3793
|
+
teamName: ym,
|
3794
3794
|
teamValue: bm,
|
3795
3795
|
wrapper: $m,
|
3796
3796
|
logos: Cm,
|
@@ -3801,19 +3801,19 @@ const sg = (t) => {
|
|
3801
3801
|
oddFormatter: t
|
3802
3802
|
}) => {
|
3803
3803
|
var l, i;
|
3804
|
-
const n = Z(), e = G(n), o =
|
3804
|
+
const n = Z(), e = G(n), o = v(e, "match.sportSlug"), r = M($($({}, Vt(e.root, ...Tt)), e.teamLogo), {
|
3805
3805
|
backgroundColor: "transparent",
|
3806
|
-
backgroundImage: Qt(
|
3806
|
+
backgroundImage: Qt(v(e, "match.teams[0].logo"), [120, 120])
|
3807
3807
|
}), s = M($($({}, Vt(e.root, ...Tt)), e.teamLogo), {
|
3808
3808
|
backgroundColor: "transparent",
|
3809
|
-
backgroundImage: Qt(
|
3809
|
+
backgroundImage: Qt(v(e, "match.teams[1].logo"), [120, 120])
|
3810
3810
|
});
|
3811
3811
|
return a("div", {
|
3812
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",
|
3816
|
-
[st.national]:
|
3816
|
+
[st.national]: v(e, "match.isNational") || o === "tennis"
|
3817
3817
|
}),
|
3818
3818
|
style: Ot(e.root, ...Tt),
|
3819
3819
|
children: [a("div", {
|
@@ -3836,26 +3836,26 @@ const sg = (t) => {
|
|
3836
3836
|
style: r,
|
3837
3837
|
src: r.backgroundImage,
|
3838
3838
|
sportSlug: o,
|
3839
|
-
country:
|
3839
|
+
country: v(e, "match.teams[0].country")
|
3840
3840
|
}), a(wt, {
|
3841
3841
|
className: st.teamLogo,
|
3842
3842
|
style: s,
|
3843
3843
|
src: s.backgroundImage,
|
3844
3844
|
sportSlug: o,
|
3845
|
-
country:
|
3845
|
+
country: v(e, "match.teams[1].country")
|
3846
3846
|
})]
|
3847
3847
|
}), a("div", {
|
3848
3848
|
className: st.names,
|
3849
3849
|
children: [a("div", {
|
3850
3850
|
className: st.teamName,
|
3851
3851
|
style: e.teamName,
|
3852
|
-
children: a(kt, M($({},
|
3852
|
+
children: a(kt, M($({}, v(e, "match.teams[0]")), {
|
3853
3853
|
fallback: "Team A"
|
3854
3854
|
}))
|
3855
3855
|
}), a("div", {
|
3856
3856
|
className: st.teamName,
|
3857
3857
|
style: e.teamName,
|
3858
|
-
children: a(kt, M($({},
|
3858
|
+
children: a(kt, M($({}, v(e, "match.teams[1]")), {
|
3859
3859
|
fallback: "Team B"
|
3860
3860
|
}))
|
3861
3861
|
})]
|
@@ -3865,14 +3865,14 @@ const sg = (t) => {
|
|
3865
3865
|
className: st.teamValue,
|
3866
3866
|
style: e.value,
|
3867
3867
|
children: a(Et, {
|
3868
|
-
odd:
|
3868
|
+
odd: v(e, "match.markets.one_two.w1"),
|
3869
3869
|
formatter: t
|
3870
3870
|
})
|
3871
3871
|
}), a("div", {
|
3872
3872
|
className: st.teamValue,
|
3873
3873
|
style: e.value,
|
3874
3874
|
children: a(Et, {
|
3875
|
-
odd:
|
3875
|
+
odd: v(e, "match.markets.one_two.w2"),
|
3876
3876
|
formatter: t
|
3877
3877
|
})
|
3878
3878
|
})]
|
@@ -3939,16 +3939,16 @@ 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), y = (_ || []).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 (!y)
|
3950
3950
|
return;
|
3951
|
-
const N = be(
|
3951
|
+
const N = be(y, {
|
3952
3952
|
markets: m
|
3953
3953
|
}), S = dn(N, d.root.customMatch, (I, [D, T]) => W(T));
|
3954
3954
|
return M($({}, d), {
|
@@ -3957,7 +3957,7 @@ const sg = (t) => {
|
|
3957
3957
|
}
|
3958
3958
|
return d;
|
3959
3959
|
}).filter(Boolean);
|
3960
|
-
}, Sm = "
|
3960
|
+
}, Sm = "_buttonWrapper_100f2_1", Om = "_variant2_100f2_4", Am = "_variant3_100f2_4", Dm = "_desktop_100f2_18", Im = "_laptop_100f2_18", Rm = "_button_100f2_1", Bm = "_button_increase_100f2_47", jm = "_increase_100f2_1", Hm = "_button_pulseWithOverlay_100f2_50", Pm = "_button_pulse_100f2_50", Ym = "_pulse_100f2_1", Em = "_button_clone_100f2_58", Vm = "_cloneFade_100f2_1", Gm = "_logo_100f2_78", Fm = "_buttonInner_100f2_93", bt = {
|
3961
3961
|
buttonWrapper: Sm,
|
3962
3962
|
variant2: Om,
|
3963
3963
|
variant3: Am,
|
@@ -3991,7 +3991,7 @@ const sg = (t) => {
|
|
3991
3991
|
rules: t,
|
3992
3992
|
pauseAnimation: n
|
3993
3993
|
}) => {
|
3994
|
-
var i, _, u, c, p;
|
3994
|
+
var i, _, u, c, p, d;
|
3995
3995
|
const e = ((i = t == null ? void 0 : t.button) == null ? void 0 : i.animationName) === "pulseWithOverlay", o = ((_ = t == null ? void 0 : t.button) == null ? void 0 : _.animationName) === "increase", {
|
3996
3996
|
cloneAnimation: r,
|
3997
3997
|
pulseAnimation: s
|
@@ -4013,10 +4013,10 @@ const sg = (t) => {
|
|
4013
4013
|
}),
|
4014
4014
|
children: a("div", {
|
4015
4015
|
className: bt.buttonInner,
|
4016
|
-
children: [a("div", {
|
4016
|
+
children: [!((p = t == null ? void 0 : t.logo) != null && p.hidden) && a("div", {
|
4017
4017
|
className: bt.logo,
|
4018
4018
|
style: t == null ? void 0 : t.logo
|
4019
|
-
}), (
|
4019
|
+
}), (d = t == null ? void 0 : t.button) == null ? void 0 : d.children]
|
4020
4020
|
})
|
4021
4021
|
})
|
4022
4022
|
});
|
@@ -4048,7 +4048,7 @@ const sg = (t) => {
|
|
4048
4048
|
matchesOneTwo: a(Mm, {
|
4049
4049
|
oddFormatter: s
|
4050
4050
|
})
|
4051
|
-
})[w],
|
4051
|
+
})[w], y = h.filter(Boolean).map((w) => {
|
4052
4052
|
var C, O;
|
4053
4053
|
return M($({}, w), {
|
4054
4054
|
animationName: (C = w == null ? void 0 : w.root) == null ? void 0 : C.animationName,
|
@@ -4057,7 +4057,7 @@ const sg = (t) => {
|
|
4057
4057
|
}), {
|
4058
4058
|
animatedIdx: f,
|
4059
4059
|
countOfTick: N
|
4060
|
-
} = xm(
|
4060
|
+
} = xm(y, o), S = G(y[f] || {}), I = (y == null ? void 0 : y.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);
|
4061
4061
|
return a("div", {
|
4062
4062
|
ref: u,
|
4063
4063
|
className: A(ct.root, n == null ? void 0 : n.root, {
|
@@ -4102,7 +4102,7 @@ const sg = (t) => {
|
|
4102
4102
|
opacity: r && o ? 0 : 1,
|
4103
4103
|
transition: ".3s"
|
4104
4104
|
},
|
4105
|
-
children: (
|
4105
|
+
children: (y || []).map((w, C) => a("div", {
|
4106
4106
|
"data-active-slide": f === C,
|
4107
4107
|
className: ct.slide,
|
4108
4108
|
style: I && N ? {
|
@@ -4152,7 +4152,7 @@ const sg = (t) => {
|
|
4152
4152
|
return r.forEach((l) => {
|
4153
4153
|
s[n] = M($({}, s[n]), {
|
4154
4154
|
[l]: M($({}, s[n][l]), {
|
4155
|
-
[e]: typeof o == "function" ? o(
|
4155
|
+
[e]: typeof o == "function" ? o(v(s, `${n}.${l}.${e}`)) : o
|
4156
4156
|
})
|
4157
4157
|
});
|
4158
4158
|
}), s;
|
@@ -4244,7 +4244,7 @@ const sg = (t) => {
|
|
4244
4244
|
})
|
4245
4245
|
})]
|
4246
4246
|
});
|
4247
|
-
}, d1 = "_root_jijps_1", u1 = "_content_jijps_9", p1 = "_open_jijps_14", f1 = "_backgroundLine_jijps_18", g1 = "_link_jijps_24", m1 = "_button_jijps_30", h1 = "_logo_jijps_36",
|
4247
|
+
}, d1 = "_root_jijps_1", u1 = "_content_jijps_9", p1 = "_open_jijps_14", f1 = "_backgroundLine_jijps_18", g1 = "_link_jijps_24", m1 = "_button_jijps_30", h1 = "_logo_jijps_36", v1 = "_legal_jijps_42", y1 = "_legalText_jijps_60", b1 = "_legalStatic_jijps_72", $1 = "_legalMore_jijps_76", $t = {
|
4248
4248
|
root: d1,
|
4249
4249
|
content: u1,
|
4250
4250
|
open: p1,
|
@@ -4252,14 +4252,14 @@ const sg = (t) => {
|
|
4252
4252
|
link: g1,
|
4253
4253
|
button: m1,
|
4254
4254
|
logo: h1,
|
4255
|
-
legal:
|
4256
|
-
legalText:
|
4255
|
+
legal: v1,
|
4256
|
+
legalText: y1,
|
4257
4257
|
legalStatic: b1,
|
4258
4258
|
legalMore: $1
|
4259
4259
|
}, C1 = ({
|
4260
4260
|
onClick: t
|
4261
4261
|
}) => {
|
4262
|
-
var l, i, _, u, c, p, d, g, h, m,
|
4262
|
+
var l, i, _, u, c, p, d, g, h, m, y;
|
4263
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);
|
4264
4264
|
return a("div", {
|
4265
4265
|
className: A($t.root, {
|
@@ -4305,7 +4305,7 @@ const sg = (t) => {
|
|
4305
4305
|
className: $t.legalMore,
|
4306
4306
|
style: e.legalInfoButton,
|
4307
4307
|
onClick: r,
|
4308
|
-
children: o ? (m = e.legalInfoButton) == null ? void 0 : m.openText : (
|
4308
|
+
children: o ? (m = e.legalInfoButton) == null ? void 0 : m.openText : (y = e.legalInfoButton) == null ? void 0 : y.closeText
|
4309
4309
|
})]
|
4310
4310
|
})]
|
4311
4311
|
});
|
@@ -4372,7 +4372,7 @@ const sg = (t) => {
|
|
4372
4372
|
id: t,
|
4373
4373
|
onClick: n
|
4374
4374
|
}, e) => {
|
4375
|
-
var c, p, d, g, h, m,
|
4375
|
+
var c, p, d, g, h, m, y, f, N, S, I;
|
4376
4376
|
const [o, r] = Ce(), s = K(null), l = Z(), i = Pt({
|
4377
4377
|
targetRef: s,
|
4378
4378
|
id: t
|
@@ -4410,7 +4410,7 @@ const sg = (t) => {
|
|
4410
4410
|
children: a(E, {
|
4411
4411
|
typography: (h = u.button) == null ? void 0 : h.typography,
|
4412
4412
|
accentTypography: (m = u.button) == null ? void 0 : m.accentTypography,
|
4413
|
-
children: (
|
4413
|
+
children: (y = u.button) == null ? void 0 : y.children
|
4414
4414
|
})
|
4415
4415
|
})]
|
4416
4416
|
})]
|
@@ -4466,19 +4466,19 @@ const sg = (t) => {
|
|
4466
4466
|
increase: gh,
|
4467
4467
|
buttonContent: mh,
|
4468
4468
|
legalText: hh
|
4469
|
-
},
|
4469
|
+
}, vh = {
|
4470
4470
|
matches: "one_x_two",
|
4471
4471
|
matchesOneTwo: "one_two"
|
4472
|
-
}, Co = (t) => [
|
4472
|
+
}, Co = (t) => [vh[t]], yh = (t, n, e) => {
|
4473
4473
|
const o = (m) => {
|
4474
|
-
var
|
4475
|
-
return W(m == null ? void 0 : m.matchSlug) && ((
|
4474
|
+
var y;
|
4475
|
+
return W(m == null ? void 0 : m.matchSlug) && ((y = m == null ? void 0 : m.matchSlug) == null ? void 0 : y.length) > 0 || (m == null ? void 0 : m.isAuto);
|
4476
4476
|
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((m) => {
|
4477
|
-
var
|
4478
|
-
return o((
|
4477
|
+
var y;
|
4478
|
+
return o((y = m == null ? void 0 : m.root) == null ? void 0 : y.targetMatch);
|
4479
4479
|
}).map((m) => {
|
4480
|
-
var
|
4481
|
-
return M($({}, (
|
4480
|
+
var y;
|
4481
|
+
return M($({}, (y = m == null ? void 0 : m.root) == null ? void 0 : y.targetMatch), {
|
4482
4482
|
markets: Co(m.name)
|
4483
4483
|
});
|
4484
4484
|
}), l = s.find((m) => m.isAuto), i = Ge(s), _ = (s == null ? void 0 : s.length) > 0, {
|
@@ -4514,8 +4514,8 @@ const sg = (t) => {
|
|
4514
4514
|
Ve(i, s) || c();
|
4515
4515
|
}, [s]);
|
4516
4516
|
const h = r.map((m) => {
|
4517
|
-
var
|
4518
|
-
if ("targetMatch" in ((
|
4517
|
+
var y, f, N;
|
4518
|
+
if ("targetMatch" in ((y = m == null ? void 0 : m.root) != null ? y : {})) {
|
4519
4519
|
const S = Co(m.name), I = (u || []).find((J) => J.slug === m.root.targetMatch.matchSlug);
|
4520
4520
|
if (((N = (f = m == null ? void 0 : m.root) == null ? void 0 : f.targetMatch) == null ? void 0 : N.isAuto) && d)
|
4521
4521
|
return M($({}, m), {
|
@@ -4558,7 +4558,7 @@ const sg = (t) => {
|
|
4558
4558
|
rootState: e
|
4559
4559
|
}) => {
|
4560
4560
|
var f, N, S, I;
|
4561
|
-
const o = Z(), r = G(o), s = G(e), l =
|
4561
|
+
const o = Z(), r = G(o), s = G(e), l = v(r, "match.sportSlug"), _ = v(r, "root.predictionLength", "full") === "full" ? v(r, "match.prediction.value") : v(r, "match.prediction.value_short") || v(r, "match.prediction.value"), u = M($({}, Ot(r == null ? void 0 : r.root, ...Tt)), {
|
4562
4562
|
alignItems: jt((f = s.container) == null ? void 0 : f.align)
|
4563
4563
|
}), c = Nt(() => {
|
4564
4564
|
var T;
|
@@ -4567,7 +4567,7 @@ const sg = (t) => {
|
|
4567
4567
|
tablet: 12
|
4568
4568
|
}[n]) != null ? T : 9;
|
4569
4569
|
return [r0.mobile].includes(n) && _.length > 35 ? D - 1 : D;
|
4570
|
-
}, [n, _]), p =
|
4570
|
+
}, [n, _]), p = v(r, "coef.backgroundColor", "#fff"), d = Number(v(r, "match.prediction.factor", 0)).toFixed(2), g = +v(o, "root.bonusValue", 0), h = +d, m = h === 0, y = me(m ? v(r, "text.fallbackChildren") : (N = r == null ? void 0 : r.text) == null ? void 0 : N.children, {
|
4571
4571
|
bonusValue: g,
|
4572
4572
|
clearResult: (g * h - g).toFixed(0),
|
4573
4573
|
rawResult: (g * h).toFixed(0),
|
@@ -4585,31 +4585,31 @@ const sg = (t) => {
|
|
4585
4585
|
style: r == null ? void 0 : r.teamLogo,
|
4586
4586
|
children: a(wt, {
|
4587
4587
|
className: Ct.teamLogoInside,
|
4588
|
-
src: Qt(
|
4588
|
+
src: Qt(v(r, "match.teams[0].logo"), [120, 120]),
|
4589
4589
|
sportSlug: l,
|
4590
|
-
country:
|
4590
|
+
country: v(r, "match.teams[0].country")
|
4591
4591
|
})
|
4592
4592
|
}), a("div", {
|
4593
4593
|
className: Ct.teamLogo,
|
4594
4594
|
style: r == null ? void 0 : r.teamLogo,
|
4595
4595
|
children: a(wt, {
|
4596
4596
|
className: Ct.teamLogoInside,
|
4597
|
-
src: Qt(
|
4597
|
+
src: Qt(v(r, "match.teams[1].logo"), [120, 120]),
|
4598
4598
|
sportSlug: l,
|
4599
|
-
country:
|
4599
|
+
country: v(r, "match.teams[1].country")
|
4600
4600
|
})
|
4601
4601
|
})]
|
4602
4602
|
}), a("div", {
|
4603
4603
|
className: Ct.teams,
|
4604
4604
|
style: r == null ? void 0 : r.teamName,
|
4605
4605
|
children: [a("span", {
|
4606
|
-
children: a(kt, M($({},
|
4606
|
+
children: a(kt, M($({}, v(r, "match.teams[0]")), {
|
4607
4607
|
fallback: "Team A"
|
4608
4608
|
}))
|
4609
4609
|
}), a("span", {
|
4610
4610
|
children: "—"
|
4611
4611
|
}), a("span", {
|
4612
|
-
children: a(kt, M($({},
|
4612
|
+
children: a(kt, M($({}, v(r, "match.teams[1]")), {
|
4613
4613
|
fallback: "Team B"
|
4614
4614
|
}))
|
4615
4615
|
})]
|
@@ -4638,7 +4638,7 @@ const sg = (t) => {
|
|
4638
4638
|
style: r == null ? void 0 : r.text,
|
4639
4639
|
typography: (S = r == null ? void 0 : r.text) == null ? void 0 : S.typography,
|
4640
4640
|
accentTypography: (I = r == null ? void 0 : r.text) == null ? void 0 : I.accentTypography,
|
4641
|
-
children:
|
4641
|
+
children: y
|
4642
4642
|
})]
|
4643
4643
|
});
|
4644
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 = {
|
@@ -4784,7 +4784,7 @@ const sg = (t) => {
|
|
4784
4784
|
animationVariant1: e,
|
4785
4785
|
pauseAnimation: o
|
4786
4786
|
}) => {
|
4787
|
-
var u, c, p, d, g, h, m,
|
4787
|
+
var u, c, p, d, g, h, m, y, f, N;
|
4788
4788
|
const r = Gt({
|
4789
4789
|
pause: !e,
|
4790
4790
|
duration: _t.actionDisplayDuration,
|
@@ -4821,7 +4821,7 @@ const sg = (t) => {
|
|
4821
4821
|
prefix: "one",
|
4822
4822
|
pause: o
|
4823
4823
|
})
|
4824
|
-
}), Jh.includes(n) && a(
|
4824
|
+
}), Jh.includes(n) && a(ve, {
|
4825
4825
|
children: [a("div", {
|
4826
4826
|
className: it.box,
|
4827
4827
|
children: a(Ke, {
|
@@ -4850,7 +4850,7 @@ const sg = (t) => {
|
|
4850
4850
|
transformOrigin: _
|
4851
4851
|
}),
|
4852
4852
|
typography: M($({}, (m = (h = t == null ? void 0 : t.text) == null ? void 0 : h.typography) != null ? m : {}), {
|
4853
|
-
textAlign: (
|
4853
|
+
textAlign: (y = t == null ? void 0 : t.container) == null ? void 0 : y.align
|
4854
4854
|
}),
|
4855
4855
|
accentTypography: (f = t == null ? void 0 : t.text) == null ? void 0 : f.accentTypography,
|
4856
4856
|
children: (N = t == null ? void 0 : t.text) == null ? void 0 : N.children
|
@@ -4908,7 +4908,7 @@ const sg = (t) => {
|
|
4908
4908
|
onClose: _,
|
4909
4909
|
onClick: u
|
4910
4910
|
}) => {
|
4911
|
-
var k, b, w, C, O, L, R, H, j, P, lt, ot, rt, pt,
|
4911
|
+
var k, b, w, C, O, L, R, H, j, P, lt, ot, rt, pt, vt, X, ft, Yt, Rt, ie, le, ce, _e, de;
|
4912
4912
|
const c = K(null), p = Z(), d = Pt({
|
4913
4913
|
targetRef: c,
|
4914
4914
|
id: t,
|
@@ -4916,7 +4916,7 @@ const sg = (t) => {
|
|
4916
4916
|
}), g = Dt(p, d, en), {
|
4917
4917
|
resultChildren: h,
|
4918
4918
|
fetching: m
|
4919
|
-
} =
|
4919
|
+
} = yh(g, e, r), y = (b = (k = g == null ? void 0 : g.children) == null ? void 0 : k.some(({
|
4920
4920
|
name: dt
|
4921
4921
|
}) => dt === "match")) != null ? b : !1;
|
4922
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));
|
@@ -4948,14 +4948,14 @@ const sg = (t) => {
|
|
4948
4948
|
z(() => {
|
4949
4949
|
l && l(p);
|
4950
4950
|
}, []), z(() => {
|
4951
|
-
g && (i &&
|
4951
|
+
g && (i && y && !m && (h != null && h.length) ? i({
|
4952
4952
|
readyPayload: s,
|
4953
|
-
willWithMatches:
|
4954
|
-
}) : i && !
|
4953
|
+
willWithMatches: y
|
4954
|
+
}) : i && !y && (i == null || i({
|
4955
4955
|
readyPayload: s,
|
4956
|
-
willWithMatches:
|
4956
|
+
willWithMatches: y
|
4957
4957
|
})));
|
4958
|
-
}, [h, m,
|
4958
|
+
}, [h, m, y]);
|
4959
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;
|
4960
4960
|
return a("div", {
|
4961
4961
|
className: A(Y.root, Y[d], {
|
@@ -5013,7 +5013,7 @@ const sg = (t) => {
|
|
5013
5013
|
className: Y.title,
|
5014
5014
|
children: a(E, {
|
5015
5015
|
typography: f == null ? void 0 : f.title,
|
5016
|
-
children: (
|
5016
|
+
children: (vt = f == null ? void 0 : f.title) == null ? void 0 : vt.children
|
5017
5017
|
})
|
5018
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", {
|
5019
5019
|
className: A(Y.containerInner, {
|
@@ -5098,13 +5098,13 @@ const sg = (t) => {
|
|
5098
5098
|
export {
|
5099
5099
|
w0 as BonusCard,
|
5100
5100
|
x0 as BonusVoting,
|
5101
|
-
|
5101
|
+
y0 as ComplexGift,
|
5102
5102
|
$0 as ComplexPopup,
|
5103
5103
|
M0 as ContentCards,
|
5104
5104
|
C0 as ExpressPopup,
|
5105
5105
|
N0 as RatingBanner,
|
5106
5106
|
L0 as SheetCard,
|
5107
|
-
|
5107
|
+
v0 as SimpleGift,
|
5108
5108
|
b0 as SimplePopup,
|
5109
5109
|
k0 as WideCard,
|
5110
5110
|
gn as backgroundToColor,
|