@adstore/templates 2.16.2 → 2.17.0
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 +455 -449
- package/package.json +1 -1
package/dist/templates.js.js
CHANGED
@@ -23,14 +23,14 @@ var ge = (t, n, e) => new Promise((o, r) => {
|
|
23
23
|
var s = (l) => {
|
24
24
|
try {
|
25
25
|
i(e.next(l));
|
26
|
-
} catch (
|
27
|
-
r(
|
26
|
+
} catch (d) {
|
27
|
+
r(d);
|
28
28
|
}
|
29
29
|
}, c = (l) => {
|
30
30
|
try {
|
31
31
|
i(e.throw(l));
|
32
|
-
} catch (
|
33
|
-
r(
|
32
|
+
} catch (d) {
|
33
|
+
r(d);
|
34
34
|
}
|
35
35
|
}, i = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(s, c);
|
36
36
|
i((e = e.apply(t, n)).next());
|
@@ -92,35 +92,35 @@ function gt(t) {
|
|
92
92
|
function rr(t, n, e) {
|
93
93
|
var o = Xt(Ut++, 2);
|
94
94
|
if (o.t = t, !o.__c && (o.__ = [e ? e(n) : $o(void 0, n), function(i) {
|
95
|
-
var l = o.__N ? o.__N[0] : o.__[0],
|
96
|
-
l !==
|
95
|
+
var l = o.__N ? o.__N[0] : o.__[0], d = o.t(l, i);
|
96
|
+
l !== d && (o.__N = [d, o.__[1]], o.__c.setState({}));
|
97
97
|
}], o.__c = U, !U.u)) {
|
98
|
-
var r = function(i, l,
|
98
|
+
var r = function(i, l, d) {
|
99
99
|
if (!o.__c.__H)
|
100
100
|
return !0;
|
101
|
-
var
|
101
|
+
var _ = o.__c.__H.__.filter(function(p) {
|
102
102
|
return p.__c;
|
103
103
|
});
|
104
|
-
if (
|
104
|
+
if (_.every(function(p) {
|
105
105
|
return !p.__N;
|
106
106
|
}))
|
107
|
-
return !s || s.call(this, i, l,
|
107
|
+
return !s || s.call(this, i, l, d);
|
108
108
|
var u = !1;
|
109
|
-
return
|
109
|
+
return _.forEach(function(p) {
|
110
110
|
if (p.__N) {
|
111
111
|
var m = p.__[0];
|
112
112
|
p.__ = p.__N, p.__N = void 0, m !== p.__[0] && (u = !0);
|
113
113
|
}
|
114
|
-
}), !(!u && o.__c.props === i) && (!s || s.call(this, i, l,
|
114
|
+
}), !(!u && o.__c.props === i) && (!s || s.call(this, i, l, d));
|
115
115
|
};
|
116
116
|
U.u = !0;
|
117
117
|
var s = U.shouldComponentUpdate, c = U.componentWillUpdate;
|
118
|
-
U.componentWillUpdate = function(i, l,
|
118
|
+
U.componentWillUpdate = function(i, l, d) {
|
119
119
|
if (this.__e) {
|
120
|
-
var
|
121
|
-
s = void 0, r(i, l,
|
120
|
+
var _ = s;
|
121
|
+
s = void 0, r(i, l, d), s = _;
|
122
122
|
}
|
123
|
-
c && c.call(this, i, l,
|
123
|
+
c && c.call(this, i, l, d);
|
124
124
|
}, U.shouldComponentUpdate = r;
|
125
125
|
}
|
126
126
|
return o.__N || o.__;
|
@@ -316,12 +316,12 @@ j.unmount = function(t) {
|
|
316
316
|
var i = function() {
|
317
317
|
if (!--o.__u) {
|
318
318
|
if (o.state.__a) {
|
319
|
-
var
|
320
|
-
o.__v.__k[0] = wo(
|
319
|
+
var d = o.state.__a;
|
320
|
+
o.__v.__k[0] = wo(d, d.__c.__P, d.__c.__O);
|
321
321
|
}
|
322
|
-
var
|
323
|
-
for (o.setState({ __a: o.__b = null });
|
324
|
-
|
322
|
+
var _;
|
323
|
+
for (o.setState({ __a: o.__b = null }); _ = o.t.pop(); )
|
324
|
+
_.forceUpdate();
|
325
325
|
}
|
326
326
|
}, l = n.__h === !0;
|
327
327
|
o.__u++ || l || o.setState({ __a: o.__b = o.__v.__k[0] }), t.then(c, c);
|
@@ -708,11 +708,11 @@ var Ci = $i, ki = Ci, wi = ki(), Ti = wi, ke = {}, Mi = {
|
|
708
708
|
};
|
709
709
|
(function(t, n) {
|
710
710
|
var e = ee, o = n && !n.nodeType && n, r = o && !0 && t && !t.nodeType && t, s = r && r.exports === o, c = s ? e.Buffer : void 0, i = c ? c.allocUnsafe : void 0;
|
711
|
-
function l(
|
712
|
-
if (
|
713
|
-
return
|
714
|
-
var u =
|
715
|
-
return
|
711
|
+
function l(d, _) {
|
712
|
+
if (_)
|
713
|
+
return d.slice();
|
714
|
+
var u = d.length, p = i ? i(u) : new d.constructor(u);
|
715
|
+
return d.copy(p), p;
|
716
716
|
}
|
717
717
|
t.exports = l;
|
718
718
|
})(Mi, ke);
|
@@ -797,8 +797,8 @@ function yc() {
|
|
797
797
|
}
|
798
798
|
var bc = yc;
|
799
799
|
(function(t, n) {
|
800
|
-
var e = ee, o = bc, r = n && !n.nodeType && n, s = r && !0 && t && !t.nodeType && t, c = s && s.exports === r, i = c ? e.Buffer : void 0, l = i ? i.isBuffer : void 0,
|
801
|
-
t.exports =
|
800
|
+
var e = ee, o = bc, r = n && !n.nodeType && n, s = r && !0 && t && !t.nodeType && t, c = s && s.exports === r, i = c ? e.Buffer : void 0, l = i ? i.isBuffer : void 0, d = l || o;
|
801
|
+
t.exports = d;
|
802
802
|
})(hc, _e);
|
803
803
|
var vc = Se, $c = Oo, Cc = ue, kc = "[object Object]", wc = Function.prototype, Tc = Object.prototype, Po = wc.toString, Mc = Tc.hasOwnProperty, Nc = Po.call(Object);
|
804
804
|
function xc(t) {
|
@@ -835,7 +835,7 @@ var sl = al, we = {}, il = {
|
|
835
835
|
try {
|
836
836
|
var l = r && r.require && r.require("util").types;
|
837
837
|
return l || c && c.binding && c.binding("util");
|
838
|
-
} catch (
|
838
|
+
} catch (d) {
|
839
839
|
}
|
840
840
|
}();
|
841
841
|
t.exports = i;
|
@@ -874,12 +874,12 @@ function Ml(t, n) {
|
|
874
874
|
var Eo = Ml, Nl = kl, xl = Ro, Ll = jo, Sl = _e, Al = Eo, Ol = Bo, Dl = Object.prototype, Il = Dl.hasOwnProperty;
|
875
875
|
function Rl(t, n) {
|
876
876
|
var e = Ll(t), o = !e && xl(t), r = !e && !o && Sl(t), s = !e && !o && !r && Ol(t), c = e || o || r || s, i = c ? Nl(t.length, String) : [], l = i.length;
|
877
|
-
for (var
|
878
|
-
(n || Il.call(t,
|
879
|
-
(
|
880
|
-
r && (
|
881
|
-
s && (
|
882
|
-
Al(
|
877
|
+
for (var d in t)
|
878
|
+
(n || Il.call(t, d)) && !(c && // Safari 9 has enumerable `arguments.length` in strict mode.
|
879
|
+
(d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
880
|
+
r && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
881
|
+
s && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
|
882
|
+
Al(d, l))) && i.push(d);
|
883
883
|
return i;
|
884
884
|
}
|
885
885
|
var jl = Rl;
|
@@ -909,17 +909,17 @@ function Xl(t) {
|
|
909
909
|
}
|
910
910
|
var Ql = Xl, Wn = Ao, t_ = ke, e_ = Ii, n_ = ji, o_ = Zi, Un = Ro, zn = jo, r_ = gc, a_ = _e, s_ = Ke, i_ = zt, c_ = Lc, l_ = Bo, qn = Yo, __ = Ql;
|
911
911
|
function d_(t, n, e, o, r, s, c) {
|
912
|
-
var i = qn(t, e), l = qn(n, e),
|
913
|
-
if (
|
914
|
-
Wn(t, e,
|
912
|
+
var i = qn(t, e), l = qn(n, e), d = c.get(l);
|
913
|
+
if (d) {
|
914
|
+
Wn(t, e, d);
|
915
915
|
return;
|
916
916
|
}
|
917
|
-
var
|
917
|
+
var _ = s ? s(i, l, e + "", t, n, c) : void 0, u = _ === void 0;
|
918
918
|
if (u) {
|
919
|
-
var p = zn(l), m = !p && a_(l),
|
920
|
-
|
919
|
+
var p = zn(l), m = !p && a_(l), y = !p && !m && l_(l);
|
920
|
+
_ = l, p || m || y ? zn(i) ? _ = i : r_(i) ? _ = n_(i) : m ? (u = !1, _ = t_(l, !0)) : y ? (u = !1, _ = e_(l, !0)) : _ = [] : c_(l) || Un(l) ? (_ = i, Un(i) ? _ = __(i) : (!i_(i) || s_(i)) && (_ = o_(l))) : u = !1;
|
921
921
|
}
|
922
|
-
u && (c.set(l,
|
922
|
+
u && (c.set(l, _), r(_, l, o, s, c), c.delete(l)), Wn(t, e, _);
|
923
923
|
}
|
924
924
|
var u_ = d_, p_ = fi, f_ = Ao, m_ = Ti, g_ = u_, h_ = zt, y_ = Vo, b_ = Yo;
|
925
925
|
function Go(t, n, e, o, r) {
|
@@ -1165,11 +1165,11 @@ function a(t, n, e, o, r, s) {
|
|
1165
1165
|
var c, i, l = {};
|
1166
1166
|
for (i in n)
|
1167
1167
|
i == "ref" ? c = n[i] : l[i] = n[i];
|
1168
|
-
var
|
1168
|
+
var d = { type: t, props: l, key: e, ref: c, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --Wd, __source: r, __self: s };
|
1169
1169
|
if (typeof t == "function" && (c = t.defaultProps))
|
1170
1170
|
for (i in c)
|
1171
1171
|
l[i] === void 0 && (l[i] = c[i]);
|
1172
|
-
return j.vnode && j.vnode(
|
1172
|
+
return j.vnode && j.vnode(d), d;
|
1173
1173
|
}
|
1174
1174
|
const Uo = tr(), jt = ({
|
1175
1175
|
children: t,
|
@@ -1214,11 +1214,11 @@ const Uo = tr(), jt = ({
|
|
1214
1214
|
}) => {
|
1215
1215
|
const [r, s] = gt("desktop"), c = (i) => {
|
1216
1216
|
var u;
|
1217
|
-
const l = i.getBoundingClientRect().width || 0,
|
1218
|
-
const [g, C] =
|
1217
|
+
const l = i.getBoundingClientRect().width || 0, d = Object.entries($({}, o)).sort(([p, m], [y, g]) => m - g), _ = ((u = d.find(([p, m], y) => {
|
1218
|
+
const [g, C] = d[y + 1] || [];
|
1219
1219
|
return l >= m && l < C;
|
1220
|
-
})) == null ? void 0 : u[0]) ||
|
1221
|
-
s(
|
1220
|
+
})) == null ? void 0 : u[0]) || d[d.length - 1][0] || "desktop";
|
1221
|
+
s(_);
|
1222
1222
|
};
|
1223
1223
|
return vo(() => {
|
1224
1224
|
const i = n.current.closest(`[data-${e}='${t}']`) || document.body;
|
@@ -1259,15 +1259,15 @@ const Uo = tr(), jt = ({
|
|
1259
1259
|
"accentTypography",
|
1260
1260
|
"replacer"
|
1261
1261
|
]);
|
1262
|
-
var
|
1262
|
+
var d;
|
1263
1263
|
const i = xt(() => {
|
1264
1264
|
if (!e)
|
1265
1265
|
return {};
|
1266
|
-
let
|
1266
|
+
let _ = "";
|
1267
1267
|
return Object.entries(e).forEach(([u, p]) => {
|
1268
|
-
tu(u) && (
|
1269
|
-
}),
|
1270
|
-
}, [e]), l = (
|
1268
|
+
tu(u) && (_ += `${fd(u)}: ${p}; `);
|
1269
|
+
}), _;
|
1270
|
+
}, [e]), l = (d = t == null ? void 0 : t.replace(/script|\n/g, "")) == null ? void 0 : d.replace(/{{(.*?)}}/g, o(i));
|
1271
1271
|
return a("div", N($({}, r), {
|
1272
1272
|
style: $($({}, n), r.style || {}),
|
1273
1273
|
dangerouslySetInnerHTML: {
|
@@ -1311,29 +1311,29 @@ const Uo = tr(), jt = ({
|
|
1311
1311
|
wiggle: `${t.wiggle} 2s linear infinite`,
|
1312
1312
|
gradient: `${t.gradient} 3s ease infinite`
|
1313
1313
|
}), qo = (t, n) => {
|
1314
|
-
var
|
1315
|
-
const e = nu(n), o = V(t), r = (
|
1314
|
+
var _, u, p, m, y, g, C, f, x, S, R, O, k;
|
1315
|
+
const e = nu(n), o = V(t), r = (_ = o == null ? void 0 : o.icon) == null ? void 0 : _.hasIcon, s = {
|
1316
1316
|
left: `${+(((u = t == null ? void 0 : t.container) == null ? void 0 : u.left) || 0) * -1 + 8}px`,
|
1317
1317
|
backgroundColor: (p = o == null ? void 0 : o.container) == null ? void 0 : p.backgroundColor,
|
1318
1318
|
borderTopWidth: (m = o == null ? void 0 : o.container) == null ? void 0 : m.borderWidth,
|
1319
|
-
borderTopColor: (
|
1319
|
+
borderTopColor: (y = o == null ? void 0 : o.container) == null ? void 0 : y.borderColor,
|
1320
1320
|
borderTopStyle: "solid",
|
1321
1321
|
borderLeftWidth: (g = o == null ? void 0 : o.container) == null ? void 0 : g.borderWidth,
|
1322
1322
|
borderLeftColor: (C = o == null ? void 0 : o.container) == null ? void 0 : C.borderColor,
|
1323
1323
|
borderLeftStyle: "solid"
|
1324
1324
|
}, c = {
|
1325
1325
|
left: (f = o == null ? void 0 : o.container) == null ? void 0 : f.left
|
1326
|
-
}, i = (((
|
1326
|
+
}, i = (((x = o == null ? void 0 : o.icon) == null ? void 0 : x.animations) || []).map((B) => e[B]).join(", "), l = W((S = o == null ? void 0 : o.icon) == null ? void 0 : S.gradientColor) && ((R = o == null ? void 0 : o.icon) != null && R.animations.includes("gradient")) ? {
|
1327
1327
|
background: `linear-gradient(-90deg, ${(O = o.icon) == null ? void 0 : O.backgroundColor} 0%, ${(k = o == null ? void 0 : o.icon) == null ? void 0 : k.gradientColor} 100%) 0% 0% / 400% 400%`,
|
1328
1328
|
backgroundSize: "400% 400%"
|
1329
|
-
} : o == null ? void 0 : o.icon,
|
1329
|
+
} : o == null ? void 0 : o.icon, d = $(N($({}, (o == null ? void 0 : o.icon) || {}), {
|
1330
1330
|
animation: i
|
1331
1331
|
}), l);
|
1332
1332
|
return {
|
1333
1333
|
hasIcon: r,
|
1334
1334
|
arrowRules: s,
|
1335
1335
|
bodyRules: c,
|
1336
|
-
iconRules:
|
1336
|
+
iconRules: d
|
1337
1337
|
};
|
1338
1338
|
}, Ye = [400, 700], Ot = (t) => {
|
1339
1339
|
const n = /* @__PURE__ */ new Map();
|
@@ -1360,25 +1360,25 @@ const Uo = tr(), jt = ({
|
|
1360
1360
|
onClickClose: o,
|
1361
1361
|
onClickIcon: r
|
1362
1362
|
}) => {
|
1363
|
-
var B, J, M, v,
|
1364
|
-
const s = q(null), [c, i] = fe(), l = K(),
|
1363
|
+
var B, J, M, v, b, T, w, A, L, D, P, H;
|
1364
|
+
const s = q(null), [c, i] = fe(), l = K(), d = Ht({
|
1365
1365
|
targetRef: s,
|
1366
1366
|
id: t
|
1367
|
-
}),
|
1367
|
+
}), _ = At(l, d), u = V(_), {
|
1368
1368
|
hasIcon: p,
|
1369
1369
|
iconRules: m,
|
1370
|
-
bodyRules:
|
1370
|
+
bodyRules: y,
|
1371
1371
|
arrowRules: g
|
1372
|
-
} = qo(
|
1372
|
+
} = qo(_, {
|
1373
1373
|
fade: Y.fadein,
|
1374
1374
|
pulse: Y.pulse,
|
1375
1375
|
wiggle: Y.wiggle,
|
1376
1376
|
gradient: Y.gradient
|
1377
1377
|
});
|
1378
|
-
Ot(
|
1378
|
+
Ot(_);
|
1379
1379
|
const C = !!(u.legal.buttonHideText && ((B = u.legal.buttonHideText) == null ? void 0 : B.length) > 0), f = N($({}, Tt(u == null ? void 0 : u.container, "left")), {
|
1380
1380
|
paddingBottom: (J = u == null ? void 0 : u.legal) != null && J.hidden ? 12 : 4
|
1381
|
-
}),
|
1381
|
+
}), x = {
|
1382
1382
|
paddingTop: 5,
|
1383
1383
|
paddingRight: 0,
|
1384
1384
|
paddingBottom: 2,
|
@@ -1407,7 +1407,7 @@ const Uo = tr(), jt = ({
|
|
1407
1407
|
className: I(Y.body, {
|
1408
1408
|
[Y.bodyOpen]: n
|
1409
1409
|
}),
|
1410
|
-
style:
|
1410
|
+
style: y,
|
1411
1411
|
children: [a("div", {
|
1412
1412
|
className: Y.arrow,
|
1413
1413
|
style: g
|
@@ -1437,7 +1437,7 @@ const Uo = tr(), jt = ({
|
|
1437
1437
|
}), a(E, {
|
1438
1438
|
className: Y.text,
|
1439
1439
|
style: u == null ? void 0 : u.text,
|
1440
|
-
typography: (
|
1440
|
+
typography: (b = u.text) == null ? void 0 : b.typography,
|
1441
1441
|
accentTypography: (T = u.text) == null ? void 0 : T.accentTypography,
|
1442
1442
|
children: (w = u == null ? void 0 : u.text) == null ? void 0 : w.children
|
1443
1443
|
})]
|
@@ -1457,14 +1457,14 @@ const Uo = tr(), jt = ({
|
|
1457
1457
|
}),
|
1458
1458
|
children: a("div", {
|
1459
1459
|
className: Y.slideLegalText,
|
1460
|
-
children: (
|
1460
|
+
children: (L = u == null ? void 0 : u.legal) == null ? void 0 : L.children
|
1461
1461
|
})
|
1462
1462
|
}) : a(le, {
|
1463
1463
|
children: [a("div", {
|
1464
1464
|
className: Y.legalGap
|
1465
1465
|
}), a("div", {
|
1466
1466
|
className: Y.legal,
|
1467
|
-
style: $($({}, u == null ? void 0 : u.legal), c ? S :
|
1467
|
+
style: $($({}, u == null ? void 0 : u.legal), c ? S : x),
|
1468
1468
|
children: [a("div", {
|
1469
1469
|
className: Y.legalText,
|
1470
1470
|
children: (D = u == null ? void 0 : u.legal) == null ? void 0 : D.children
|
@@ -1514,7 +1514,7 @@ const Uo = tr(), jt = ({
|
|
1514
1514
|
}, Ru = ({
|
1515
1515
|
onClick: t
|
1516
1516
|
}) => {
|
1517
|
-
var o, r, s, c, i, l,
|
1517
|
+
var o, r, s, c, i, l, d;
|
1518
1518
|
const n = K(), e = V(n);
|
1519
1519
|
return a("a", {
|
1520
1520
|
href: (o = e.root) == null ? void 0 : o.offer,
|
@@ -1558,7 +1558,7 @@ const Uo = tr(), jt = ({
|
|
1558
1558
|
}), a("div", {
|
1559
1559
|
className: Mt.legal,
|
1560
1560
|
style: e.legal,
|
1561
|
-
children: (
|
1561
|
+
children: (d = e.legal) == null ? void 0 : d.children
|
1562
1562
|
})]
|
1563
1563
|
});
|
1564
1564
|
}, yt = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundSize", "backgroundRepeat"], eo = ["imageSource", "objectFit"], Me = ["marginTop", "marginBottom", "marginLeft", "marginRight", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], ju = ({
|
@@ -1568,14 +1568,14 @@ const Uo = tr(), jt = ({
|
|
1568
1568
|
onClickIcon: o,
|
1569
1569
|
onClickClose: r
|
1570
1570
|
}) => {
|
1571
|
-
var f,
|
1571
|
+
var f, x, S;
|
1572
1572
|
const s = q(null), c = K(), i = Ht({
|
1573
1573
|
targetRef: s,
|
1574
1574
|
id: t
|
1575
|
-
}), l = At(c, i),
|
1575
|
+
}), l = At(c, i), d = V(l);
|
1576
1576
|
Ot(l);
|
1577
1577
|
const {
|
1578
|
-
hasIcon:
|
1578
|
+
hasIcon: _,
|
1579
1579
|
iconRules: u,
|
1580
1580
|
bodyRules: p,
|
1581
1581
|
arrowRules: m
|
@@ -1584,7 +1584,7 @@ const Uo = tr(), jt = ({
|
|
1584
1584
|
pulse: Q.pulse,
|
1585
1585
|
wiggle: Q.wiggle,
|
1586
1586
|
gradient: Q.gradient
|
1587
|
-
}),
|
1587
|
+
}), y = (f = d == null ? void 0 : d.title) == null ? void 0 : f.hasIcon, g = Rt(d == null ? void 0 : d.title, ...Me), C = Tt(d == null ? void 0 : d.title, ...Me);
|
1588
1588
|
return a("div", {
|
1589
1589
|
ref: s,
|
1590
1590
|
className: I(Q.root, {
|
@@ -1596,7 +1596,7 @@ const Uo = tr(), jt = ({
|
|
1596
1596
|
className: Q.icon,
|
1597
1597
|
style: u,
|
1598
1598
|
onClick: o,
|
1599
|
-
children:
|
1599
|
+
children: _ && a("div", {
|
1600
1600
|
className: Q.iconTarget,
|
1601
1601
|
children: a(We, {})
|
1602
1602
|
})
|
@@ -1610,13 +1610,13 @@ const Uo = tr(), jt = ({
|
|
1610
1610
|
style: m
|
1611
1611
|
}), a("div", {
|
1612
1612
|
className: Q.container,
|
1613
|
-
style:
|
1613
|
+
style: d.container,
|
1614
1614
|
children: [a("div", {
|
1615
1615
|
className: Q.head,
|
1616
1616
|
style: g,
|
1617
|
-
children: [
|
1617
|
+
children: [y && a("div", {
|
1618
1618
|
className: Q.headIcon,
|
1619
|
-
style: Rt(
|
1619
|
+
style: Rt(d.title, "color"),
|
1620
1620
|
children: a(We, {
|
1621
1621
|
width: 12,
|
1622
1622
|
height: 12
|
@@ -1624,16 +1624,16 @@ const Uo = tr(), jt = ({
|
|
1624
1624
|
}), a("div", {
|
1625
1625
|
className: Q.headTitle,
|
1626
1626
|
style: C,
|
1627
|
-
children: (
|
1627
|
+
children: (x = d.title) == null ? void 0 : x.children
|
1628
1628
|
}), a("div", {
|
1629
1629
|
className: Q.close,
|
1630
|
-
style: rn(
|
1630
|
+
style: rn(d == null ? void 0 : d.close),
|
1631
1631
|
onClick: r,
|
1632
1632
|
children: a(Gt, {})
|
1633
1633
|
})]
|
1634
1634
|
}), a("div", {
|
1635
1635
|
className: Q.inner,
|
1636
|
-
children: (
|
1636
|
+
children: (d.children || []).map((R) => a(jt, {
|
1637
1637
|
value: R,
|
1638
1638
|
children: a(Ru, {
|
1639
1639
|
onClick: (O) => e(O)
|
@@ -1641,8 +1641,8 @@ const Uo = tr(), jt = ({
|
|
1641
1641
|
}))
|
1642
1642
|
}), a("div", {
|
1643
1643
|
className: Q.promotion,
|
1644
|
-
style:
|
1645
|
-
children: (S =
|
1644
|
+
style: d.promotion,
|
1645
|
+
children: (S = d.promotion) == null ? void 0 : S.children
|
1646
1646
|
})]
|
1647
1647
|
})]
|
1648
1648
|
})]
|
@@ -1682,19 +1682,19 @@ const Uo = tr(), jt = ({
|
|
1682
1682
|
})
|
1683
1683
|
});
|
1684
1684
|
}, en = (t, n = 0, e = !1) => {
|
1685
|
-
const o = q(Qe()), [r, s] = gt(!1), [c, i] = gt(), [l,
|
1685
|
+
const o = q(Qe()), [r, s] = gt(!1), [c, i] = gt(), [l, d] = gt(e), _ = (C) => o.current.on("visible", C), u = (C) => o.current.on("click", C), p = (C) => o.current.on("clickHide", C), m = () => ge(void 0, null, function* () {
|
1686
1686
|
yield ud(+n), s(!0);
|
1687
|
-
}),
|
1688
|
-
o.current.emit("clickHide"),
|
1687
|
+
}), y = () => s(!1), g = () => {
|
1688
|
+
o.current.emit("clickHide"), y();
|
1689
1689
|
};
|
1690
1690
|
return z(() => {
|
1691
1691
|
l && o.current.emit("visible", r);
|
1692
1692
|
}, [r]), ze(t, () => ({
|
1693
|
-
onVisible:
|
1693
|
+
onVisible: _,
|
1694
1694
|
onClick: u,
|
1695
1695
|
onClickHide: p,
|
1696
1696
|
show: m,
|
1697
|
-
hide:
|
1697
|
+
hide: y,
|
1698
1698
|
setApiHost: i,
|
1699
1699
|
resetListeners: o.current.reset
|
1700
1700
|
})), z(() => o.current.reset, []), {
|
@@ -1702,11 +1702,11 @@ const Uo = tr(), jt = ({
|
|
1702
1702
|
isOpen: r,
|
1703
1703
|
apiHost: c,
|
1704
1704
|
show: m,
|
1705
|
-
hide:
|
1705
|
+
hide: y,
|
1706
1706
|
clickHide: g,
|
1707
|
-
setIsReady:
|
1707
|
+
setIsReady: d,
|
1708
1708
|
click: (...C) => {
|
1709
|
-
|
1709
|
+
y(), o.current.emit("click", ...C);
|
1710
1710
|
}
|
1711
1711
|
};
|
1712
1712
|
}, ep = "_root_120y9_1", np = "_progress_120y9_8", op = "_countdown_120y9_1", rp = "_body_120y9_17", ap = "_body_active_120y9_31", sp = "_closeIcon_120y9_35", Kt = {
|
@@ -1728,7 +1728,7 @@ const Uo = tr(), jt = ({
|
|
1728
1728
|
const o = n === "default" ? ip : cp, [r, s] = gt(+t), c = q(), i = r / +t * 100, l = i > 66 ? o.low : i > 33 ? o.medium : o.high;
|
1729
1729
|
return z(() => {
|
1730
1730
|
r <= 0 && clearInterval(c.current);
|
1731
|
-
}, [r]), z(() => (s(t), c.current = setInterval(() => s((
|
1731
|
+
}, [r]), z(() => (s(t), c.current = setInterval(() => s((d) => d - 1e3), 1e3), () => clearInterval(c.current)), [t, n]), z(() => {
|
1732
1732
|
e(r);
|
1733
1733
|
}, [r]), {
|
1734
1734
|
color: l,
|
@@ -1807,39 +1807,39 @@ const dp = Qt(({
|
|
1807
1807
|
id: t,
|
1808
1808
|
className: n
|
1809
1809
|
}, e) => {
|
1810
|
-
var A,
|
1810
|
+
var A, L, D, P, H, G, lt, rt;
|
1811
1811
|
const [o, r] = gt(1 / 0), s = q(null), c = q(null), i = Ht({
|
1812
1812
|
targetRef: s,
|
1813
1813
|
id: t
|
1814
|
-
}), l = K(),
|
1815
|
-
Ot(
|
1816
|
-
const
|
1814
|
+
}), l = K(), d = At(l, i);
|
1815
|
+
Ot(d), d && (Wt(d, "button.percent_width", (A = d == null ? void 0 : d.button) == null ? void 0 : A.width), Wt(d, "legal.percent_width", (L = d == null ? void 0 : d.legal) == null ? void 0 : L.width));
|
1816
|
+
const _ = V(d), u = h(_, "root.delay", 0), {
|
1817
1817
|
isOpen: p,
|
1818
1818
|
isReady: m,
|
1819
|
-
setIsReady:
|
1819
|
+
setIsReady: y,
|
1820
1820
|
clickHide: g,
|
1821
1821
|
click: C
|
1822
|
-
} = en(e, u), f = h(
|
1822
|
+
} = en(e, u), f = h(_, "close.variant", "default"), x = h(_, "close.radius", 21), S = h(_, "close.colorDirection", "default"), R = h(_, "close.timeoutLock", !1), O = f === "timer" ? o <= 0 : !0, k = f === "timer" && R && o > 0 ? "div" : "a";
|
1823
1823
|
z(() => {
|
1824
1824
|
const at = c.current;
|
1825
1825
|
if (!at)
|
1826
1826
|
return;
|
1827
1827
|
if (_p(at)) {
|
1828
|
-
|
1828
|
+
y(!0);
|
1829
1829
|
return;
|
1830
1830
|
}
|
1831
|
-
const pt = () =>
|
1831
|
+
const pt = () => y(!0);
|
1832
1832
|
return at.addEventListener("load", pt), () => {
|
1833
1833
|
at.removeEventListener("load", pt);
|
1834
1834
|
};
|
1835
|
-
}, [
|
1835
|
+
}, [_]);
|
1836
1836
|
const B = {
|
1837
|
-
alignItems: It((D =
|
1838
|
-
}, J = N($({},
|
1839
|
-
justifyContent: It((P =
|
1840
|
-
}), M = N($({},
|
1841
|
-
justifyContent: It((H =
|
1842
|
-
}), v = (G =
|
1837
|
+
alignItems: It((D = _.root) == null ? void 0 : D.align)
|
1838
|
+
}, J = N($({}, _ == null ? void 0 : _.button), {
|
1839
|
+
justifyContent: It((P = _.root) == null ? void 0 : P.textAlign)
|
1840
|
+
}), M = N($({}, _ == null ? void 0 : _.legal), {
|
1841
|
+
justifyContent: It((H = _.root) == null ? void 0 : H.textAlign)
|
1842
|
+
}), v = (G = _.root) == null ? void 0 : G.corner, b = Tt(_.root, ...eo, ...yt), T = Rt(_.root, ...eo), w = p && m;
|
1843
1843
|
return a("div", {
|
1844
1844
|
className: I(dt.root, n, {
|
1845
1845
|
[dt.desktop]: i === "desktop",
|
@@ -1852,14 +1852,14 @@ const dp = Qt(({
|
|
1852
1852
|
},
|
1853
1853
|
children: [a("div", {
|
1854
1854
|
className: dt.overlay,
|
1855
|
-
style:
|
1855
|
+
style: _.overlay,
|
1856
1856
|
onClick: O && g
|
1857
1857
|
}), a("div", {
|
1858
1858
|
className: dt.wrapper,
|
1859
1859
|
children: [w && a(le, {
|
1860
1860
|
children: f === "default" ? a("div", {
|
1861
1861
|
className: dt.close,
|
1862
|
-
style: N($({},
|
1862
|
+
style: N($({}, _.close), {
|
1863
1863
|
borderBottomLeftRadius: `${v}px`,
|
1864
1864
|
borderTopRightRadius: `${v}px`
|
1865
1865
|
}),
|
@@ -1871,24 +1871,24 @@ const dp = Qt(({
|
|
1871
1871
|
}) : a("div", {
|
1872
1872
|
className: dt.closeTimer,
|
1873
1873
|
children: a(nn, {
|
1874
|
-
timeout: h(
|
1874
|
+
timeout: h(_, "close.timeout"),
|
1875
1875
|
colorDirection: S,
|
1876
|
-
radius:
|
1876
|
+
radius: x,
|
1877
1877
|
onClick: g,
|
1878
1878
|
onChange: r
|
1879
1879
|
})
|
1880
1880
|
})
|
1881
1881
|
}), a(E, {
|
1882
1882
|
className: dt.promotion,
|
1883
|
-
style:
|
1884
|
-
children: (lt =
|
1883
|
+
style: _.promotion,
|
1884
|
+
children: (lt = _.promotion) == null ? void 0 : lt.children
|
1885
1885
|
}), a(k, {
|
1886
|
-
href: (rt =
|
1886
|
+
href: (rt = _.root) == null ? void 0 : rt.offer,
|
1887
1887
|
target: "_blank",
|
1888
1888
|
rel: "nofollow noopener noreferrer",
|
1889
1889
|
className: dt.content,
|
1890
|
-
style:
|
1891
|
-
onClick: () => k === "a" && C(
|
1890
|
+
style: b,
|
1891
|
+
onClick: () => k === "a" && C(_.id),
|
1892
1892
|
children: [a("img", {
|
1893
1893
|
ref: c,
|
1894
1894
|
className: dt.background,
|
@@ -1900,10 +1900,10 @@ const dp = Qt(({
|
|
1900
1900
|
style: B,
|
1901
1901
|
children: [a("div", {
|
1902
1902
|
className: dt.logo,
|
1903
|
-
style:
|
1903
|
+
style: _.logo
|
1904
1904
|
}), a("div", {
|
1905
1905
|
className: dt.text,
|
1906
|
-
children: ((
|
1906
|
+
children: ((_ == null ? void 0 : _.children) || []).map((at) => a(jt, {
|
1907
1907
|
value: at,
|
1908
1908
|
children: a(tp, {})
|
1909
1909
|
}))
|
@@ -1946,7 +1946,7 @@ const dp = Qt(({
|
|
1946
1946
|
}, Dp = ({
|
1947
1947
|
onClick: t
|
1948
1948
|
}) => {
|
1949
|
-
var c, i, l,
|
1949
|
+
var c, i, l, d, _, u;
|
1950
1950
|
const n = K(), e = V(n), o = (n == null ? void 0 : n.device) || "desktop", r = (n == null ? void 0 : n.OfferTag) || "a", s = Rt(e.header, ...yt);
|
1951
1951
|
return a(r, {
|
1952
1952
|
href: (c = e.root) == null ? void 0 : c.offer,
|
@@ -1982,13 +1982,13 @@ const dp = Qt(({
|
|
1982
1982
|
style: e.text,
|
1983
1983
|
typography: (i = e.text) == null ? void 0 : i.typography,
|
1984
1984
|
accentTypography: (l = e.text) == null ? void 0 : l.accentTypography,
|
1985
|
-
children: (
|
1985
|
+
children: (d = e.text) == null ? void 0 : d.children
|
1986
1986
|
})]
|
1987
1987
|
}), a("div", {
|
1988
1988
|
children: [a(E, {
|
1989
1989
|
className: vt.button,
|
1990
1990
|
style: e.button,
|
1991
|
-
children: (
|
1991
|
+
children: (_ = e.button) == null ? void 0 : _.children
|
1992
1992
|
}), a(E, {
|
1993
1993
|
className: vt.legal,
|
1994
1994
|
style: e.legal,
|
@@ -2006,15 +2006,15 @@ const dp = Qt(({
|
|
2006
2006
|
id: t
|
2007
2007
|
}), c = K(), i = At(c, s), l = V(i);
|
2008
2008
|
Ot(i);
|
2009
|
-
const
|
2010
|
-
isOpen:
|
2009
|
+
const d = h(l, "root.delay", 0), {
|
2010
|
+
isOpen: _,
|
2011
2011
|
clickHide: u,
|
2012
2012
|
click: p
|
2013
|
-
} = en(n,
|
2013
|
+
} = en(n, d, !0), m = h(l, "close.variant", "default"), y = h(l, "close.radius", 21), g = h(l, "close.colorDirection", "default"), C = h(l, "close.timeoutLock", !1), f = m === "timer" ? e <= 0 : !0, x = m === "timer" && C && e > 0 ? "div" : "a", S = (R = l.root) == null ? void 0 : R.corner;
|
2014
2014
|
return a("div", {
|
2015
2015
|
className: Dt.root,
|
2016
2016
|
style: {
|
2017
|
-
display:
|
2017
|
+
display: _ ? "flex" : "none"
|
2018
2018
|
},
|
2019
2019
|
children: [a("div", {
|
2020
2020
|
className: Dt.overlay,
|
@@ -2043,7 +2043,7 @@ const dp = Qt(({
|
|
2043
2043
|
children: a(nn, {
|
2044
2044
|
timeout: h(l, "close.timeout"),
|
2045
2045
|
colorDirection: g,
|
2046
|
-
radius:
|
2046
|
+
radius: y,
|
2047
2047
|
onClick: u,
|
2048
2048
|
onChange: o
|
2049
2049
|
})
|
@@ -2060,7 +2060,7 @@ const dp = Qt(({
|
|
2060
2060
|
children: (l.children || []).map((B) => a(jt, {
|
2061
2061
|
value: N($({}, B), {
|
2062
2062
|
device: s,
|
2063
|
-
OfferTag:
|
2063
|
+
OfferTag: x
|
2064
2064
|
}),
|
2065
2065
|
children: a(Dp, {
|
2066
2066
|
onClick: p
|
@@ -2404,17 +2404,17 @@ const gf = new Set(Object.keys(Ko)), wt = ({
|
|
2404
2404
|
if (o === "tennis" && r) {
|
2405
2405
|
let l = r.logo;
|
2406
2406
|
if (!l) {
|
2407
|
-
let
|
2408
|
-
|
2407
|
+
let _ = r.alpha3 || r.alpha2;
|
2408
|
+
_ && _.length === 2 && (_ = Zo[_]), gf.has(_) && (l = `https://cdn.scores24.live/upload/scores24/dist/static/img/general/flags/288dpi/${_ == null ? void 0 : _.toLowerCase()}.png`);
|
2409
2409
|
}
|
2410
2410
|
if (!l)
|
2411
2411
|
return null;
|
2412
|
-
const
|
2412
|
+
const d = (i = (c = s.current) == null ? void 0 : c.getBoundingClientRect().width) != null ? i : 0;
|
2413
2413
|
return a("img", {
|
2414
2414
|
ref: s,
|
2415
2415
|
className: t,
|
2416
2416
|
style: N($({}, e), {
|
2417
|
-
height: `calc(${
|
2417
|
+
height: `calc(${d}px - 20%)`
|
2418
2418
|
}),
|
2419
2419
|
src: l
|
2420
2420
|
});
|
@@ -2549,53 +2549,53 @@ var Lt = {}, jf = {
|
|
2549
2549
|
(function(e, o) {
|
2550
2550
|
t.exports = o();
|
2551
2551
|
})(ht, function() {
|
2552
|
-
var e = "millisecond", o = "second", r = "minute", s = "hour", c = "day", i = "week", l = "month",
|
2552
|
+
var e = "millisecond", o = "second", r = "minute", s = "hour", c = "day", i = "week", l = "month", d = "quarter", _ = "year", u = "date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, m = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, y = function(M, v, b) {
|
2553
2553
|
var T = String(M);
|
2554
|
-
return !T || T.length >= v ? M : "" + Array(v + 1 - T.length).join(
|
2555
|
-
}, g = { s:
|
2556
|
-
var v = -M.utcOffset(),
|
2557
|
-
return (v <= 0 ? "+" : "-") +
|
2558
|
-
}, m: function M(v,
|
2559
|
-
if (v.date() <
|
2560
|
-
return -M(
|
2561
|
-
var T = 12 * (
|
2562
|
-
return +(-(T + (
|
2554
|
+
return !T || T.length >= v ? M : "" + Array(v + 1 - T.length).join(b) + M;
|
2555
|
+
}, g = { s: y, z: function(M) {
|
2556
|
+
var v = -M.utcOffset(), b = Math.abs(v), T = Math.floor(b / 60), w = b % 60;
|
2557
|
+
return (v <= 0 ? "+" : "-") + y(T, 2, "0") + ":" + y(w, 2, "0");
|
2558
|
+
}, m: function M(v, b) {
|
2559
|
+
if (v.date() < b.date())
|
2560
|
+
return -M(b, v);
|
2561
|
+
var T = 12 * (b.year() - v.year()) + (b.month() - v.month()), w = v.clone().add(T, l), A = b - w < 0, L = v.clone().add(T + (A ? -1 : 1), l);
|
2562
|
+
return +(-(T + (b - w) / (A ? w - L : L - w)) || 0);
|
2563
2563
|
}, a: function(M) {
|
2564
2564
|
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
2565
2565
|
}, p: function(M) {
|
2566
|
-
return { M: l, y:
|
2566
|
+
return { M: l, y: _, w: i, d: c, D: u, h: s, m: r, s: o, ms: e, Q: d }[M] || String(M || "").toLowerCase().replace(/s$/, "");
|
2567
2567
|
}, u: function(M) {
|
2568
2568
|
return M === void 0;
|
2569
|
-
} }, C = { 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",
|
2570
|
-
|
2569
|
+
} }, C = { 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", x = {};
|
2570
|
+
x[f] = C;
|
2571
2571
|
var S = function(M) {
|
2572
2572
|
return M instanceof B;
|
2573
|
-
}, R = function(M, v,
|
2573
|
+
}, R = function(M, v, b) {
|
2574
2574
|
var T;
|
2575
2575
|
if (!M)
|
2576
2576
|
return f;
|
2577
2577
|
if (typeof M == "string")
|
2578
|
-
|
2578
|
+
x[M] && (T = M), v && (x[M] = v, T = M);
|
2579
2579
|
else {
|
2580
2580
|
var w = M.name;
|
2581
|
-
|
2581
|
+
x[w] = M, T = w;
|
2582
2582
|
}
|
2583
|
-
return !
|
2583
|
+
return !b && T && (f = T), T || !b && f;
|
2584
2584
|
}, O = function(M, v) {
|
2585
2585
|
if (S(M))
|
2586
2586
|
return M.clone();
|
2587
|
-
var
|
2588
|
-
return
|
2587
|
+
var b = typeof v == "object" ? v : {};
|
2588
|
+
return b.date = M, b.args = arguments, new B(b);
|
2589
2589
|
}, k = g;
|
2590
2590
|
k.l = R, k.i = S, k.w = function(M, v) {
|
2591
2591
|
return O(M, { locale: v.$L, utc: v.$u, $offset: v.$offset });
|
2592
2592
|
};
|
2593
2593
|
var B = function() {
|
2594
|
-
function M(
|
2595
|
-
this.$L = this.$L || R(
|
2594
|
+
function M(b) {
|
2595
|
+
this.$L = this.$L || R(b.locale, null, !0), this.parse(b);
|
2596
2596
|
}
|
2597
2597
|
var v = M.prototype;
|
2598
|
-
return v.parse = function(
|
2598
|
+
return v.parse = function(b) {
|
2599
2599
|
this.$d = function(T) {
|
2600
2600
|
var w = T.date, A = T.utc;
|
2601
2601
|
if (w === null)
|
@@ -2605,43 +2605,43 @@ var Lt = {}, jf = {
|
|
2605
2605
|
if (w instanceof Date)
|
2606
2606
|
return new Date(w);
|
2607
2607
|
if (typeof w == "string" && !/Z$/i.test(w)) {
|
2608
|
-
var
|
2609
|
-
if (
|
2610
|
-
var D =
|
2611
|
-
return A ? new Date(Date.UTC(
|
2608
|
+
var L = w.match(p);
|
2609
|
+
if (L) {
|
2610
|
+
var D = L[2] - 1 || 0, P = (L[7] || "0").substring(0, 3);
|
2611
|
+
return A ? new Date(Date.UTC(L[1], D, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, P)) : new Date(L[1], D, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, P);
|
2612
2612
|
}
|
2613
2613
|
}
|
2614
2614
|
return new Date(w);
|
2615
|
-
}(
|
2615
|
+
}(b), this.init();
|
2616
2616
|
}, v.init = function() {
|
2617
|
-
var
|
2618
|
-
this.$y =
|
2617
|
+
var b = this.$d;
|
2618
|
+
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();
|
2619
2619
|
}, v.$utils = function() {
|
2620
2620
|
return k;
|
2621
2621
|
}, v.isValid = function() {
|
2622
2622
|
return this.$d.toString() !== "Invalid Date";
|
2623
|
-
}, v.isSame = function(
|
2624
|
-
var w = O(
|
2623
|
+
}, v.isSame = function(b, T) {
|
2624
|
+
var w = O(b);
|
2625
2625
|
return this.startOf(T) <= w && w <= this.endOf(T);
|
2626
|
-
}, v.isAfter = function(
|
2627
|
-
return O(
|
2628
|
-
}, v.isBefore = function(
|
2629
|
-
return this.endOf(T) < O(
|
2630
|
-
}, v.$g = function(
|
2631
|
-
return k.u(
|
2626
|
+
}, v.isAfter = function(b, T) {
|
2627
|
+
return O(b) < this.startOf(T);
|
2628
|
+
}, v.isBefore = function(b, T) {
|
2629
|
+
return this.endOf(T) < O(b);
|
2630
|
+
}, v.$g = function(b, T, w) {
|
2631
|
+
return k.u(b) ? this[T] : this.set(w, b);
|
2632
2632
|
}, v.unix = function() {
|
2633
2633
|
return Math.floor(this.valueOf() / 1e3);
|
2634
2634
|
}, v.valueOf = function() {
|
2635
2635
|
return this.$d.getTime();
|
2636
|
-
}, v.startOf = function(
|
2637
|
-
var w = this, A = !!k.u(T) || T,
|
2636
|
+
}, v.startOf = function(b, T) {
|
2637
|
+
var w = this, A = !!k.u(T) || T, L = k.p(b), D = function(bt, X) {
|
2638
2638
|
var ft = k.w(w.$u ? Date.UTC(w.$y, X, bt) : new Date(w.$y, X, bt), w);
|
2639
2639
|
return A ? ft : ft.endOf(c);
|
2640
2640
|
}, P = function(bt, X) {
|
2641
2641
|
return k.w(w.toDate()[bt].apply(w.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), w);
|
2642
2642
|
}, H = this.$W, G = this.$M, lt = this.$D, rt = "set" + (this.$u ? "UTC" : "");
|
2643
|
-
switch (
|
2644
|
-
case
|
2643
|
+
switch (L) {
|
2644
|
+
case _:
|
2645
2645
|
return A ? D(1, 0) : D(31, 11);
|
2646
2646
|
case l:
|
2647
2647
|
return A ? D(1, G) : D(0, G + 1);
|
@@ -2660,67 +2660,67 @@ var Lt = {}, jf = {
|
|
2660
2660
|
default:
|
2661
2661
|
return this.clone();
|
2662
2662
|
}
|
2663
|
-
}, v.endOf = function(
|
2664
|
-
return this.startOf(
|
2665
|
-
}, v.$set = function(
|
2666
|
-
var w, A = k.p(
|
2667
|
-
if (A === l || A ===
|
2663
|
+
}, v.endOf = function(b) {
|
2664
|
+
return this.startOf(b, !1);
|
2665
|
+
}, v.$set = function(b, T) {
|
2666
|
+
var w, A = k.p(b), L = "set" + (this.$u ? "UTC" : ""), D = (w = {}, w[c] = L + "Date", w[u] = L + "Date", w[l] = L + "Month", w[_] = L + "FullYear", w[s] = L + "Hours", w[r] = L + "Minutes", w[o] = L + "Seconds", w[e] = L + "Milliseconds", w)[A], P = A === c ? this.$D + (T - this.$W) : T;
|
2667
|
+
if (A === l || A === _) {
|
2668
2668
|
var H = this.clone().set(u, 1);
|
2669
2669
|
H.$d[D](P), H.init(), this.$d = H.set(u, Math.min(this.$D, H.daysInMonth())).$d;
|
2670
2670
|
} else
|
2671
2671
|
D && this.$d[D](P);
|
2672
2672
|
return this.init(), this;
|
2673
|
-
}, v.set = function(
|
2674
|
-
return this.clone().$set(
|
2675
|
-
}, v.get = function(
|
2676
|
-
return this[k.p(
|
2677
|
-
}, v.add = function(
|
2673
|
+
}, v.set = function(b, T) {
|
2674
|
+
return this.clone().$set(b, T);
|
2675
|
+
}, v.get = function(b) {
|
2676
|
+
return this[k.p(b)]();
|
2677
|
+
}, v.add = function(b, T) {
|
2678
2678
|
var w, A = this;
|
2679
|
-
|
2680
|
-
var
|
2679
|
+
b = Number(b);
|
2680
|
+
var L = k.p(T), D = function(G) {
|
2681
2681
|
var lt = O(A);
|
2682
|
-
return k.w(lt.date(lt.date() + Math.round(G *
|
2682
|
+
return k.w(lt.date(lt.date() + Math.round(G * b)), A);
|
2683
2683
|
};
|
2684
|
-
if (
|
2685
|
-
return this.set(l, this.$M +
|
2686
|
-
if (
|
2687
|
-
return this.set(
|
2688
|
-
if (
|
2684
|
+
if (L === l)
|
2685
|
+
return this.set(l, this.$M + b);
|
2686
|
+
if (L === _)
|
2687
|
+
return this.set(_, this.$y + b);
|
2688
|
+
if (L === c)
|
2689
2689
|
return D(1);
|
2690
|
-
if (
|
2690
|
+
if (L === i)
|
2691
2691
|
return D(7);
|
2692
|
-
var P = (w = {}, w[r] = 6e4, w[s] = 36e5, w[o] = 1e3, w)[
|
2692
|
+
var P = (w = {}, w[r] = 6e4, w[s] = 36e5, w[o] = 1e3, w)[L] || 1, H = this.$d.getTime() + b * P;
|
2693
2693
|
return k.w(H, this);
|
2694
|
-
}, v.subtract = function(
|
2695
|
-
return this.add(-1 *
|
2696
|
-
}, v.format = function(
|
2694
|
+
}, v.subtract = function(b, T) {
|
2695
|
+
return this.add(-1 * b, T);
|
2696
|
+
}, v.format = function(b) {
|
2697
2697
|
var T = this;
|
2698
2698
|
if (!this.isValid())
|
2699
2699
|
return "Invalid Date";
|
2700
|
-
var w =
|
2700
|
+
var w = b || "YYYY-MM-DDTHH:mm:ssZ", A = k.z(this), L = this.$locale(), D = this.$H, P = this.$m, H = this.$M, G = L.weekdays, lt = L.months, rt = function(X, ft, Pt, nt) {
|
2701
2701
|
return X && (X[ft] || X(T, w)) || Pt[ft].substr(0, nt);
|
2702
2702
|
}, at = function(X) {
|
2703
2703
|
return k.s(D % 12 || 12, X, "0");
|
2704
|
-
}, pt =
|
2704
|
+
}, pt = L.meridiem || function(X, ft, Pt) {
|
2705
2705
|
var nt = X < 12 ? "AM" : "PM";
|
2706
2706
|
return Pt ? nt.toLowerCase() : nt;
|
2707
|
-
}, bt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: H + 1, MM: k.s(H + 1, 2, "0"), MMM: rt(
|
2707
|
+
}, bt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: H + 1, MM: k.s(H + 1, 2, "0"), MMM: rt(L.monthsShort, H, lt, 3), MMMM: rt(lt, H), D: this.$D, DD: k.s(this.$D, 2, "0"), d: String(this.$W), dd: rt(L.weekdaysMin, this.$W, G, 2), ddd: rt(L.weekdaysShort, this.$W, G, 3), dddd: G[this.$W], H: String(D), HH: k.s(D, 2, "0"), h: at(1), hh: at(2), a: pt(D, P, !0), A: pt(D, P, !1), m: String(P), mm: k.s(P, 2, "0"), s: String(this.$s), ss: k.s(this.$s, 2, "0"), SSS: k.s(this.$ms, 3, "0"), Z: A };
|
2708
2708
|
return w.replace(m, function(X, ft) {
|
2709
2709
|
return ft || bt[X] || A.replace(":", "");
|
2710
2710
|
});
|
2711
2711
|
}, v.utcOffset = function() {
|
2712
2712
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
2713
|
-
}, v.diff = function(
|
2714
|
-
var A,
|
2715
|
-
return G = (A = {}, A[
|
2713
|
+
}, v.diff = function(b, T, w) {
|
2714
|
+
var A, L = k.p(T), D = O(b), P = 6e4 * (D.utcOffset() - this.utcOffset()), H = this - D, G = k.m(this, D);
|
2715
|
+
return G = (A = {}, A[_] = G / 12, A[l] = G, A[d] = G / 3, A[i] = (H - P) / 6048e5, A[c] = (H - P) / 864e5, A[s] = H / 36e5, A[r] = H / 6e4, A[o] = H / 1e3, A)[L] || H, w ? G : k.a(G);
|
2716
2716
|
}, v.daysInMonth = function() {
|
2717
2717
|
return this.endOf(l).$D;
|
2718
2718
|
}, v.$locale = function() {
|
2719
|
-
return
|
2720
|
-
}, v.locale = function(
|
2721
|
-
if (!
|
2719
|
+
return x[this.$L];
|
2720
|
+
}, v.locale = function(b, T) {
|
2721
|
+
if (!b)
|
2722
2722
|
return this.$L;
|
2723
|
-
var w = this.clone(), A = R(
|
2723
|
+
var w = this.clone(), A = R(b, T, !0);
|
2724
2724
|
return A && (w.$L = A), w;
|
2725
2725
|
}, v.clone = function() {
|
2726
2726
|
return k.w(this.$d, this);
|
@@ -2734,7 +2734,7 @@ var Lt = {}, jf = {
|
|
2734
2734
|
return this.$d.toUTCString();
|
2735
2735
|
}, M;
|
2736
2736
|
}(), J = B.prototype;
|
2737
|
-
return O.prototype = J, [["$ms", e], ["$s", o], ["$m", r], ["$H", s], ["$W", c], ["$M", l], ["$y",
|
2737
|
+
return O.prototype = J, [["$ms", e], ["$s", o], ["$m", r], ["$H", s], ["$W", c], ["$M", l], ["$y", _], ["$D", u]].forEach(function(M) {
|
2738
2738
|
J[M[1]] = function(v) {
|
2739
2739
|
return this.$g(v, M[0], M[1]);
|
2740
2740
|
};
|
@@ -2742,7 +2742,7 @@ var Lt = {}, jf = {
|
|
2742
2742
|
return M(v, B, O), O;
|
2743
2743
|
}, O.locale = R, O.isDayjs = S, O.unix = function(M) {
|
2744
2744
|
return O(1e3 * M);
|
2745
|
-
}, O.en =
|
2745
|
+
}, O.en = x[f], O.Ls = x, O;
|
2746
2746
|
});
|
2747
2747
|
})(jf);
|
2748
2748
|
const Hf = Lt;
|
@@ -2760,19 +2760,19 @@ var no = {}, Pf = {
|
|
2760
2760
|
})(ht, function(e) {
|
2761
2761
|
e = e && e.hasOwnProperty("default") ? e.default : e;
|
2762
2762
|
var o = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), r = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), s = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), c = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), i = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
|
2763
|
-
function l(p, m,
|
2763
|
+
function l(p, m, y) {
|
2764
2764
|
var g, C;
|
2765
|
-
return
|
2765
|
+
return y === "m" ? m ? "минута" : "минуту" : p + " " + (g = +p, C = { mm: m ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[y].split("_"), g % 10 == 1 && g % 100 != 11 ? C[0] : g % 10 >= 2 && g % 10 <= 4 && (g % 100 < 10 || g % 100 >= 20) ? C[1] : C[2]);
|
2766
2766
|
}
|
2767
|
-
var
|
2767
|
+
var d = function(p, m) {
|
2768
2768
|
return i.test(m) ? o[p.month()] : r[p.month()];
|
2769
2769
|
};
|
2770
|
-
|
2771
|
-
var
|
2770
|
+
d.s = r, d.f = o;
|
2771
|
+
var _ = function(p, m) {
|
2772
2772
|
return i.test(m) ? s[p.month()] : c[p.month()];
|
2773
2773
|
};
|
2774
|
-
|
2775
|
-
var u = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months:
|
2774
|
+
_.s = c, _.f = s;
|
2775
|
+
var u = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: d, monthsShort: _, weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY г.", LLL: "D MMMM YYYY г., H:mm", LLLL: "dddd, D MMMM YYYY г., H:mm" }, relativeTime: { future: "через %s", past: "%s назад", s: "несколько секунд", m: l, mm: l, h: "час", hh: l, d: "день", dd: l, M: "месяц", MM: l, y: "год", yy: l }, ordinal: function(p) {
|
2776
2776
|
return p;
|
2777
2777
|
} };
|
2778
2778
|
return e.locale(u, null, !0), u;
|
@@ -2906,35 +2906,35 @@ var lo = {}, Wf = {
|
|
2906
2906
|
(function(e, o) {
|
2907
2907
|
t.exports = o(Lt);
|
2908
2908
|
})(ht, function(e) {
|
2909
|
-
function o(
|
2910
|
-
return
|
2909
|
+
function o(_) {
|
2910
|
+
return _ % 10 < 5 && _ % 10 > 1 && ~~(_ / 10) % 10 != 1;
|
2911
2911
|
}
|
2912
|
-
function r(
|
2913
|
-
var m =
|
2912
|
+
function r(_, u, p) {
|
2913
|
+
var m = _ + " ";
|
2914
2914
|
switch (p) {
|
2915
2915
|
case "m":
|
2916
2916
|
return u ? "minuta" : "minutę";
|
2917
2917
|
case "mm":
|
2918
|
-
return m + (o(
|
2918
|
+
return m + (o(_) ? "minuty" : "minut");
|
2919
2919
|
case "h":
|
2920
2920
|
return u ? "godzina" : "godzinę";
|
2921
2921
|
case "hh":
|
2922
|
-
return m + (o(
|
2922
|
+
return m + (o(_) ? "godziny" : "godzin");
|
2923
2923
|
case "MM":
|
2924
|
-
return m + (o(
|
2924
|
+
return m + (o(_) ? "miesiące" : "miesięcy");
|
2925
2925
|
case "yy":
|
2926
|
-
return m + (o(
|
2926
|
+
return m + (o(_) ? "lata" : "lat");
|
2927
2927
|
}
|
2928
2928
|
}
|
2929
2929
|
e = e && e.hasOwnProperty("default") ? e.default : e;
|
2930
|
-
var s = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"), c = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"), i = /D MMMM/, l = function(
|
2931
|
-
return i.test(u) ? s[
|
2930
|
+
var s = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"), c = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"), i = /D MMMM/, l = function(_, u) {
|
2931
|
+
return i.test(u) ? s[_.month()] : c[_.month()];
|
2932
2932
|
};
|
2933
2933
|
l.s = c, l.f = s;
|
2934
|
-
var
|
2935
|
-
return
|
2934
|
+
var d = { name: "pl", weekdays: "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"), weekdaysShort: "ndz_pon_wt_śr_czw_pt_sob".split("_"), weekdaysMin: "Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"), months: l, monthsShort: "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"), ordinal: function(_) {
|
2935
|
+
return _ + ".";
|
2936
2936
|
}, weekStart: 1, relativeTime: { future: "za %s", past: "%s temu", s: "kilka sekund", m: r, mm: r, h: r, hh: r, d: "1 dzień", dd: "%d dni", M: "miesiąc", MM: r, y: "rok", yy: r }, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd, D MMMM YYYY HH:mm" } };
|
2937
|
-
return e.locale(
|
2937
|
+
return e.locale(d, null, !0), d;
|
2938
2938
|
});
|
2939
2939
|
})(Wf);
|
2940
2940
|
const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Hf(t).locale(e).format(n) : "", Et = ({
|
@@ -2951,7 +2951,7 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Hf(t).locale(e).format(n) : ""
|
|
2951
2951
|
backgroundImage: h(e, "match.teams[0].logo")
|
2952
2952
|
}), s = N($({}, e == null ? void 0 : e.teamBLogo), {
|
2953
2953
|
backgroundImage: h(e, "match.teams[1].logo")
|
2954
|
-
}), c = h(e, "match.lang_slug", "ru"), i = h(e, "match.sport_slug"), l = _o(h(e, "match.match_date"), "HH:mm", c),
|
2954
|
+
}), c = h(e, "match.lang_slug", "ru"), i = h(e, "match.sport_slug"), l = _o(h(e, "match.match_date"), "HH:mm", c), d = _o(h(e, "match.match_date"), "DD MMMM", c), u = h(e, "root.predictionLength", "full") === "full" ? h(e, "match.prediction.value") : h(e, "match.prediction.value_short") || h(e, "match.prediction.value"), p = Number(h(e, "match.prediction.factor", 0)).toFixed(2);
|
2955
2955
|
return a("div", {
|
2956
2956
|
className: I(st.root, {
|
2957
2957
|
[st.desktop]: o === "desktop",
|
@@ -2984,7 +2984,7 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Hf(t).locale(e).format(n) : ""
|
|
2984
2984
|
}), a("div", {
|
2985
2985
|
className: st.date,
|
2986
2986
|
style: e.date,
|
2987
|
-
children:
|
2987
|
+
children: d
|
2988
2988
|
})]
|
2989
2989
|
}), u && a("div", {
|
2990
2990
|
className: st.oddValue,
|
@@ -3040,27 +3040,27 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Hf(t).locale(e).format(n) : ""
|
|
3040
3040
|
method: o,
|
3041
3041
|
body: r
|
3042
3042
|
}) => {
|
3043
|
-
const [s, c] = gt(!1), [i, l] = gt(),
|
3043
|
+
const [s, c] = gt(!1), [i, l] = gt(), d = xt(() => {
|
3044
3044
|
if (t != null && t.includes("undefined") || t != null && t.includes("null"))
|
3045
3045
|
return;
|
3046
3046
|
let u = t;
|
3047
3047
|
if (e) {
|
3048
3048
|
const p = new URLSearchParams();
|
3049
|
-
Object.entries(e).forEach(([m,
|
3050
|
-
Array.isArray(
|
3049
|
+
Object.entries(e).forEach(([m, y]) => {
|
3050
|
+
Array.isArray(y) ? y.forEach((g, C) => {
|
3051
3051
|
g && p.append(`${m}[${C}]`, g);
|
3052
|
-
}) :
|
3052
|
+
}) : y && p.append(m, y);
|
3053
3053
|
}), u += `?${p.toString()}`;
|
3054
3054
|
}
|
3055
3055
|
return u;
|
3056
|
-
}, [t, e]),
|
3057
|
-
const u = r ? `${
|
3058
|
-
if (n || !
|
3056
|
+
}, [t, e]), _ = ar(() => ge(void 0, null, function* () {
|
3057
|
+
const u = r ? `${d}_${JSON.stringify(r)}` : d;
|
3058
|
+
if (n || !d)
|
3059
3059
|
return;
|
3060
3060
|
if (ye.has(u))
|
3061
3061
|
return l(ye.get(u)), ye.get(u);
|
3062
3062
|
c(!0);
|
3063
|
-
const p = yield fetch(
|
3063
|
+
const p = yield fetch(d, {
|
3064
3064
|
method: o || "GET",
|
3065
3065
|
body: r ? JSON.stringify(r) : void 0,
|
3066
3066
|
headers: {
|
@@ -3070,13 +3070,13 @@ const _o = (t, n = "DD.MM.YYYY", e = "en") => t ? Hf(t).locale(e).format(n) : ""
|
|
3070
3070
|
console.error(m), c(!1);
|
3071
3071
|
});
|
3072
3072
|
p && (ye.set(u, p.data), l(p.data)), c(!1);
|
3073
|
-
}), [
|
3073
|
+
}), [d, n, o, r]);
|
3074
3074
|
return z(() => {
|
3075
|
-
n ||
|
3076
|
-
}, [
|
3075
|
+
n || _();
|
3076
|
+
}, [d, n]), {
|
3077
3077
|
data: i,
|
3078
3078
|
fetching: s,
|
3079
|
-
execute:
|
3079
|
+
execute: _
|
3080
3080
|
};
|
3081
3081
|
};
|
3082
3082
|
function Ie(t) {
|
@@ -3128,8 +3128,8 @@ const zf = (t) => {
|
|
3128
3128
|
},
|
3129
3129
|
pause: !t || !n || e
|
3130
3130
|
}), l = xt(() => !!(i || e || o === "prediction" && (s != null && s.prediction) || n != null && n.slug), [n, o, i, e, s]), {
|
3131
|
-
list:
|
3132
|
-
fetching:
|
3131
|
+
list: d,
|
3132
|
+
fetching: _
|
3133
3133
|
} = zf({
|
3134
3134
|
apiHost: t,
|
3135
3135
|
langSlug: n == null ? void 0 : n.langSlug,
|
@@ -3138,12 +3138,12 @@ const zf = (t) => {
|
|
3138
3138
|
bookmakerSlug: n == null ? void 0 : n.bookmaker,
|
3139
3139
|
withPrediction: o === "prediction",
|
3140
3140
|
pause: l
|
3141
|
-
}), u =
|
3141
|
+
}), u = d[0];
|
3142
3142
|
return z(() => {
|
3143
3143
|
De(r, n) || c();
|
3144
3144
|
}, [n]), {
|
3145
3145
|
match: xt(() => n.slug ? s : o === "prediction" ? s != null && s.prediction ? s : u : s != null ? s : u, [n, s, u, o]),
|
3146
|
-
fetching: i ||
|
3146
|
+
fetching: i || _
|
3147
3147
|
};
|
3148
3148
|
}, qf = (t, n, e) => {
|
3149
3149
|
const o = (u) => {
|
@@ -3166,7 +3166,7 @@ const zf = (t) => {
|
|
3166
3166
|
},
|
3167
3167
|
pause: !n || s.length === 0
|
3168
3168
|
}), {
|
3169
|
-
match:
|
3169
|
+
match: d
|
3170
3170
|
} = on({
|
3171
3171
|
apiHost: n,
|
3172
3172
|
match: e
|
@@ -3174,18 +3174,18 @@ const zf = (t) => {
|
|
3174
3174
|
z(() => {
|
3175
3175
|
De(c, s) || l();
|
3176
3176
|
}, [s, e]);
|
3177
|
-
const
|
3177
|
+
const _ = r.map((u) => {
|
3178
3178
|
const p = (i || []).find((g) => g.slug === u.root.targetMatch.matchSlug);
|
3179
3179
|
if (!p)
|
3180
3180
|
return;
|
3181
|
-
const m = de(p),
|
3181
|
+
const m = de(p), y = tn(m, u.root.customMatch, (g, [C, f]) => W(f));
|
3182
3182
|
return N($({}, u), {
|
3183
|
-
match:
|
3183
|
+
match: y
|
3184
3184
|
});
|
3185
3185
|
}).filter(Boolean);
|
3186
|
-
return
|
3187
|
-
expressMatches:
|
3188
|
-
autoMatch:
|
3186
|
+
return d && e && (d.lang_slug = e.langSlug), {
|
3187
|
+
expressMatches: _,
|
3188
|
+
autoMatch: d
|
3189
3189
|
};
|
3190
3190
|
}, Kf = Qt(({
|
3191
3191
|
id: t,
|
@@ -3196,38 +3196,38 @@ const zf = (t) => {
|
|
3196
3196
|
const [r, s] = gt(1 / 0), c = q(null), i = Ht({
|
3197
3197
|
targetRef: c,
|
3198
3198
|
id: t
|
3199
|
-
}), l = K(),
|
3200
|
-
|
3201
|
-
const
|
3202
|
-
Ot(
|
3203
|
-
const u = h(
|
3204
|
-
isOpen:
|
3199
|
+
}), l = K(), d = At(l, i);
|
3200
|
+
d && (Wt(d, "buttonWrapper.percent_width", (lt = d == null ? void 0 : d.buttonWrapper) == null ? void 0 : lt.width), Wt(d, "legal.percent_width", (rt = d == null ? void 0 : d.legal) == null ? void 0 : rt.width));
|
3201
|
+
const _ = V(d);
|
3202
|
+
Ot(d);
|
3203
|
+
const u = h(_, "root.delay", 0), m = h(_, "children", []).find((Re) => Re.name === "auto"), {
|
3204
|
+
isOpen: y,
|
3205
3205
|
apiHost: g,
|
3206
3206
|
clickHide: C,
|
3207
3207
|
click: f
|
3208
|
-
} = en(o, u, !0),
|
3208
|
+
} = en(o, u, !0), x = h(_, "close.variant", "default"), S = h(_, "close.radius", 21), R = h(_, "close.colorDirection", "default"), O = h(_, "close.timeoutLock", !1), k = x === "timer" ? r <= 0 : !0, B = x === "timer" && O && r > 0 ? "div" : "a", {
|
3209
3209
|
expressMatches: J,
|
3210
3210
|
autoMatch: M
|
3211
|
-
} = qf(
|
3211
|
+
} = qf(d, g, m ? n : void 0);
|
3212
3212
|
m && (m.match = M);
|
3213
|
-
const v = N($({},
|
3214
|
-
alignItems: It((at =
|
3215
|
-
}),
|
3216
|
-
alignItems: It((pt =
|
3217
|
-
}), T = N($({},
|
3218
|
-
textAlign: (bt =
|
3219
|
-
}), w = N($({},
|
3220
|
-
justifyContent: It((X =
|
3221
|
-
}), A = N($({},
|
3222
|
-
justifyContent: It((ft =
|
3223
|
-
}),
|
3224
|
-
bonusValue:
|
3225
|
-
clearResult: (
|
3226
|
-
rawResult: (
|
3213
|
+
const v = N($({}, _.root), {
|
3214
|
+
alignItems: It((at = _.root) == null ? void 0 : at.align)
|
3215
|
+
}), b = N($({}, _.content), {
|
3216
|
+
alignItems: It((pt = _.root) == null ? void 0 : pt.align)
|
3217
|
+
}), T = N($({}, _.text), {
|
3218
|
+
textAlign: (bt = _.root) == null ? void 0 : bt.align
|
3219
|
+
}), w = N($({}, _ == null ? void 0 : _.button), {
|
3220
|
+
justifyContent: It((X = _.root) == null ? void 0 : X.textAlign)
|
3221
|
+
}), A = N($({}, _ == null ? void 0 : _.legal), {
|
3222
|
+
justifyContent: It((ft = _.root) == null ? void 0 : ft.textAlign)
|
3223
|
+
}), L = +h(m, "root.bonusValue", 0), D = +h(m, "match.prediction.factor", 0), P = ie((Pt = _.text) == null ? void 0 : Pt.children, {
|
3224
|
+
bonusValue: L,
|
3225
|
+
clearResult: (L * D - L).toFixed(0),
|
3226
|
+
rawResult: (L * D).toFixed(0),
|
3227
3227
|
rate: D
|
3228
3228
|
}, {
|
3229
3229
|
parse: !1
|
3230
|
-
}), H = D === 0 ? h(
|
3230
|
+
}), H = D === 0 ? h(_, "text.fallbackChildren") : P, G = (nt = _.root) == null ? void 0 : nt.corner;
|
3231
3231
|
return a("div", {
|
3232
3232
|
className: I(ot.root, {
|
3233
3233
|
[ot.desktop]: i === "desktop",
|
@@ -3236,17 +3236,17 @@ const zf = (t) => {
|
|
3236
3236
|
}),
|
3237
3237
|
ref: c,
|
3238
3238
|
style: {
|
3239
|
-
display:
|
3239
|
+
display: y ? "flex" : "none"
|
3240
3240
|
},
|
3241
3241
|
children: [a("div", {
|
3242
3242
|
className: ot.overlay,
|
3243
|
-
style:
|
3243
|
+
style: _.overlay,
|
3244
3244
|
onClick: k && C
|
3245
3245
|
}), a("div", {
|
3246
3246
|
className: ot.content,
|
3247
|
-
children: [
|
3247
|
+
children: [x === "default" ? a("div", {
|
3248
3248
|
className: ot.close,
|
3249
|
-
style: N($({},
|
3249
|
+
style: N($({}, _.close), {
|
3250
3250
|
borderBottomLeftRadius: `${G}px`,
|
3251
3251
|
borderTopRightRadius: `${G}px`
|
3252
3252
|
}),
|
@@ -3258,7 +3258,7 @@ const zf = (t) => {
|
|
3258
3258
|
}) : a("div", {
|
3259
3259
|
className: ot.closeTimer,
|
3260
3260
|
children: a(nn, {
|
3261
|
-
timeout: h(
|
3261
|
+
timeout: h(_, "close.timeout"),
|
3262
3262
|
colorDirection: R,
|
3263
3263
|
radius: S,
|
3264
3264
|
onClick: C,
|
@@ -3266,14 +3266,14 @@ const zf = (t) => {
|
|
3266
3266
|
})
|
3267
3267
|
}), a(E, {
|
3268
3268
|
className: ot.promotion,
|
3269
|
-
style:
|
3270
|
-
children: (an =
|
3269
|
+
style: _.promotion,
|
3270
|
+
children: (an = _.promotion) == null ? void 0 : an.children
|
3271
3271
|
}), a(B, {
|
3272
3272
|
ref: c,
|
3273
|
-
href: (sn =
|
3273
|
+
href: (sn = _.root) == null ? void 0 : sn.offer,
|
3274
3274
|
target: "_blank",
|
3275
3275
|
rel: "nofollow noopener noreferrer",
|
3276
|
-
onClick: () => B === "a" && f(
|
3276
|
+
onClick: () => B === "a" && f(_.id),
|
3277
3277
|
children: a("div", {
|
3278
3278
|
className: ot.body,
|
3279
3279
|
style: v,
|
@@ -3281,15 +3281,15 @@ const zf = (t) => {
|
|
3281
3281
|
className: ot.head,
|
3282
3282
|
children: [a(E, {
|
3283
3283
|
className: ot.title,
|
3284
|
-
style:
|
3285
|
-
children: (cn =
|
3284
|
+
style: _.title,
|
3285
|
+
children: (cn = _.title) == null ? void 0 : cn.children
|
3286
3286
|
}), a("div", {
|
3287
3287
|
className: ot.logo,
|
3288
|
-
style:
|
3288
|
+
style: _.logo
|
3289
3289
|
})]
|
3290
3290
|
}), a("div", {
|
3291
3291
|
className: ot.wrapper,
|
3292
|
-
style:
|
3292
|
+
style: b,
|
3293
3293
|
children: [(J != null ? J : []).map((Re) => a(jt, {
|
3294
3294
|
value: N($({}, Re), {
|
3295
3295
|
device: i
|
@@ -3312,20 +3312,20 @@ const zf = (t) => {
|
|
3312
3312
|
children: H
|
3313
3313
|
}), a("div", {
|
3314
3314
|
className: ot.button,
|
3315
|
-
style:
|
3315
|
+
style: _.buttonWrapper,
|
3316
3316
|
children: [a("div", {
|
3317
3317
|
className: ot.buttonHead,
|
3318
|
-
style:
|
3319
|
-
children: (ln =
|
3318
|
+
style: _.buttonHead,
|
3319
|
+
children: (ln = _.buttonHead) == null ? void 0 : ln.children
|
3320
3320
|
}), a("div", {
|
3321
3321
|
className: ot.buttonTarget,
|
3322
3322
|
style: w,
|
3323
|
-
children: (_n =
|
3323
|
+
children: (_n = _.button) == null ? void 0 : _n.children
|
3324
3324
|
})]
|
3325
3325
|
}), a(E, {
|
3326
3326
|
className: ot.legal,
|
3327
3327
|
style: A,
|
3328
|
-
children: (dn =
|
3328
|
+
children: (dn = _.legal) == null ? void 0 : dn.children
|
3329
3329
|
})]
|
3330
3330
|
})
|
3331
3331
|
})]
|
@@ -3346,7 +3346,7 @@ const zf = (t) => {
|
|
3346
3346
|
legalButton: im
|
3347
3347
|
}, cm = (t) => {
|
3348
3348
|
var i, l;
|
3349
|
-
const n = K(), e = (i = n == null ? void 0 : n.root) == null ? void 0 : i.promotionSlug, o = ((l = n == null ? void 0 : n.root) == null ? void 0 : l.promotionFields) || [], r = xt(() => !e || (o == null ? void 0 : o.length) === 0 ? [] : o.map((
|
3349
|
+
const n = K(), e = (i = n == null ? void 0 : n.root) == null ? void 0 : i.promotionSlug, o = ((l = n == null ? void 0 : n.root) == null ? void 0 : l.promotionFields) || [], r = xt(() => !e || (o == null ? void 0 : o.length) === 0 ? [] : o.map((d) => `${e}:${d}`), [e, o]), {
|
3350
3350
|
data: s
|
3351
3351
|
} = qt(`${t}/promotion/by-keys`, {
|
3352
3352
|
method: "GET",
|
@@ -3357,23 +3357,23 @@ const zf = (t) => {
|
|
3357
3357
|
pause: !t || !(r != null && r.length)
|
3358
3358
|
});
|
3359
3359
|
return {
|
3360
|
-
promotionValues: (s || []).reduce((
|
3360
|
+
promotionValues: (s || []).reduce((d, _) => {
|
3361
3361
|
var u;
|
3362
|
-
return
|
3362
|
+
return d[(u = _.key) == null ? void 0 : u.split(":")[1]] = _.value, d;
|
3363
3363
|
}, {})
|
3364
3364
|
};
|
3365
3365
|
}, lm = ({
|
3366
3366
|
apiHost: t,
|
3367
3367
|
onClick: n
|
3368
3368
|
}) => {
|
3369
|
-
var u, p, m,
|
3369
|
+
var u, p, m, y, g, C, f, x, S, R, O, k, B;
|
3370
3370
|
const e = K(), o = V(e), {
|
3371
3371
|
promotionValues: r
|
3372
|
-
} = cm(t), [s, c] = fe(), i = !!((u = o.legalInfoButton) != null && u.closeText && ((m = (p = o.legalInfoButton) == null ? void 0 : p.closeText) == null ? void 0 : m.length) > 0), l = ie((
|
3372
|
+
} = cm(t), [s, c] = fe(), i = !!((u = o.legalInfoButton) != null && u.closeText && ((m = (p = o.legalInfoButton) == null ? void 0 : p.closeText) == null ? void 0 : m.length) > 0), l = ie((y = o.rowFirst) == null ? void 0 : y.children, r, {
|
3373
3373
|
parse: !1
|
3374
|
-
}),
|
3374
|
+
}), d = ie((g = o.rowSecond) == null ? void 0 : g.children, r, {
|
3375
3375
|
parse: !1
|
3376
|
-
}),
|
3376
|
+
}), _ = ie((C = o.bookmaker) == null ? void 0 : C.children, r, {
|
3377
3377
|
parse: !1
|
3378
3378
|
});
|
3379
3379
|
return a("div", {
|
@@ -3393,18 +3393,18 @@ const zf = (t) => {
|
|
3393
3393
|
className: $t.rowFirst,
|
3394
3394
|
style: o == null ? void 0 : o.rowFirst,
|
3395
3395
|
typography: o == null ? void 0 : o.rowFirst,
|
3396
|
-
accentTypography: (
|
3396
|
+
accentTypography: (x = o == null ? void 0 : o.rowFirst) == null ? void 0 : x.accentTypography,
|
3397
3397
|
children: l
|
3398
3398
|
}), a(E, {
|
3399
3399
|
className: $t.rowSecond,
|
3400
3400
|
style: o == null ? void 0 : o.rowSecond,
|
3401
3401
|
typography: o == null ? void 0 : o.rowSecond,
|
3402
3402
|
accentTypography: (S = o == null ? void 0 : o.rowSecond) == null ? void 0 : S.accentTypography,
|
3403
|
-
children:
|
3403
|
+
children: d
|
3404
3404
|
}), a("div", {
|
3405
3405
|
className: $t.bookmaker,
|
3406
3406
|
style: o.bookmaker,
|
3407
|
-
children:
|
3407
|
+
children: _
|
3408
3408
|
})]
|
3409
3409
|
}), a("div", {
|
3410
3410
|
className: $t.button,
|
@@ -3438,46 +3438,52 @@ const zf = (t) => {
|
|
3438
3438
|
click: (...o) => n.current.emit("click", ...o),
|
3439
3439
|
onClick: e
|
3440
3440
|
};
|
3441
|
-
}, dm = (t, n) => {
|
3442
|
-
var
|
3443
|
-
const
|
3444
|
-
|
3441
|
+
}, dm = (t, n, e) => {
|
3442
|
+
var l, d, _;
|
3443
|
+
const o = (l = n == null ? void 0 : n.root) == null ? void 0 : l.orderControl, r = o.type === "spadsRating";
|
3444
|
+
let s = (d = n == null ? void 0 : n.children) != null ? d : [];
|
3445
|
+
const {
|
3446
|
+
data: c
|
3445
3447
|
} = qt(`${t}/bookmaker/rating`, {
|
3446
3448
|
method: "GET",
|
3447
3449
|
params: {
|
3448
|
-
slug:
|
3449
|
-
location: (
|
3450
|
+
slug: o.rating,
|
3451
|
+
location: (_ = o.location) == null ? void 0 : _.toLowerCase()
|
3450
3452
|
},
|
3451
|
-
pause: !t || !
|
3453
|
+
pause: !t || !r || !o.location || !o.rating
|
3452
3454
|
});
|
3453
3455
|
return {
|
3454
3456
|
children: xt(() => {
|
3455
|
-
var
|
3456
|
-
const
|
3457
|
-
return
|
3458
|
-
var
|
3459
|
-
const
|
3460
|
-
return (
|
3461
|
-
})
|
3462
|
-
|
3457
|
+
var p;
|
3458
|
+
const u = c != null ? c : [];
|
3459
|
+
return r && (s = s.sort((m, y) => {
|
3460
|
+
var f, x;
|
3461
|
+
const g = u.indexOf((f = m.root) == null ? void 0 : f.connectorBookmakerSlug), C = u.indexOf((x = y.root) == null ? void 0 : x.connectorBookmakerSlug);
|
3462
|
+
return (g === -1 ? 1 / 0 : g) - (C === -1 ? 1 / 0 : C);
|
3463
|
+
})), typeof e == "number" && (s = (p = s.filter((m) => {
|
3464
|
+
var y, g;
|
3465
|
+
return !((g = (y = m == null ? void 0 : m.root) == null ? void 0 : y.mobile) != null && g.hidden);
|
3466
|
+
})) == null ? void 0 : p.slice(0, e)), s;
|
3467
|
+
}, [c, n])
|
3463
3468
|
};
|
3464
3469
|
}, um = Qt(({
|
3465
|
-
apiHost: t
|
3466
|
-
|
3467
|
-
|
3468
|
-
|
3470
|
+
apiHost: t,
|
3471
|
+
limit: n
|
3472
|
+
}, e) => {
|
3473
|
+
const o = q(null), r = K(), c = At(r, "mobile"), i = V(c);
|
3474
|
+
Ot(c);
|
3469
3475
|
const {
|
3470
|
-
click:
|
3471
|
-
} = _m(
|
3472
|
-
children:
|
3473
|
-
} = dm(t,
|
3476
|
+
click: l
|
3477
|
+
} = _m(e), {
|
3478
|
+
children: d
|
3479
|
+
} = dm(t, i, n);
|
3474
3480
|
return a("div", {
|
3475
|
-
ref:
|
3476
|
-
children:
|
3481
|
+
ref: o,
|
3482
|
+
children: d.map((_) => a(jt, {
|
3477
3483
|
value: _,
|
3478
3484
|
children: a(lm, {
|
3479
3485
|
apiHost: t,
|
3480
|
-
onClick:
|
3486
|
+
onClick: l
|
3481
3487
|
})
|
3482
3488
|
}))
|
3483
3489
|
});
|
@@ -3525,7 +3531,7 @@ const zf = (t) => {
|
|
3525
3531
|
let i;
|
3526
3532
|
const l = setTimeout(() => {
|
3527
3533
|
c(!0), i = setTimeout(() => {
|
3528
|
-
c(!1), r((
|
3534
|
+
c(!1), r((d) => d + 1);
|
3529
3535
|
}, t);
|
3530
3536
|
}, typeof n == "function" ? n(o) : n);
|
3531
3537
|
return () => {
|
@@ -3548,35 +3554,35 @@ const zf = (t) => {
|
|
3548
3554
|
pause: n,
|
3549
3555
|
duration: fo,
|
3550
3556
|
delay: (i) => i === 0 ? be + mo : be
|
3551
|
-
}), c = (i, l,
|
3552
|
-
const
|
3553
|
-
return typeof i == "string" && (
|
3557
|
+
}), c = (i, l, d) => {
|
3558
|
+
const _ = typeof i == "string" ? document.createElement("span") : i;
|
3559
|
+
return typeof i == "string" && (_.textContent = i), _.classList.add(po.word), _.style.animationDelay = `${l * d}ms`, _.style.animationDuration = `${d}ms`, _;
|
3554
3560
|
};
|
3555
3561
|
return z(() => {
|
3556
3562
|
var i;
|
3557
3563
|
if (!n) {
|
3558
3564
|
const l = (i = o.current) == null ? void 0 : i.childNodes[0];
|
3559
3565
|
if (l && l.childNodes.length > 0) {
|
3560
|
-
const
|
3561
|
-
|
3566
|
+
const d = Array.from(l.childNodes), _ = [];
|
3567
|
+
d.forEach((y) => {
|
3562
3568
|
var g, C;
|
3563
|
-
if (
|
3564
|
-
|
3565
|
-
else if (
|
3566
|
-
const f = ((g =
|
3567
|
-
|
3569
|
+
if (y instanceof HTMLElement && y.getAttribute("data-wrapped") === "1")
|
3570
|
+
_.push(y);
|
3571
|
+
else if (y.nodeType === Node.TEXT_NODE) {
|
3572
|
+
const f = ((g = y.textContent) == null ? void 0 : g.split(" ")) || [];
|
3573
|
+
_.push(...f.filter((x) => x !== "").map((x) => [x, " "]).flat());
|
3568
3574
|
} else
|
3569
|
-
(((C =
|
3570
|
-
const S =
|
3571
|
-
S.textContent =
|
3575
|
+
(((C = y.textContent) == null ? void 0 : C.split(" ")) || []).forEach((x) => {
|
3576
|
+
const S = y.cloneNode();
|
3577
|
+
S.textContent = x + " ", _.push(S);
|
3572
3578
|
});
|
3573
3579
|
});
|
3574
3580
|
const u = document.createElement("span");
|
3575
3581
|
u.setAttribute("data-wrapped", "1");
|
3576
|
-
const p = be /
|
3582
|
+
const p = be / _.length;
|
3577
3583
|
let m = 0;
|
3578
|
-
|
3579
|
-
typeof
|
3584
|
+
_.forEach((y) => {
|
3585
|
+
typeof y == "string" && y === " " ? u.appendChild(document.createTextNode(" ")) : y instanceof HTMLElement && y.getAttribute("data-wrapped") === "1" ? u.appendChild(y) : (u.appendChild(c(y, m, p)), m++);
|
3580
3586
|
}), l.textContent = "", l.appendChild(u);
|
3581
3587
|
}
|
3582
3588
|
}
|
@@ -3826,12 +3832,12 @@ const zf = (t) => {
|
|
3826
3832
|
const e = q(0), o = t.length, [r, s] = gt(0), c = (i = t[r || 0]) == null ? void 0 : i.animationDuration;
|
3827
3833
|
return z(() => {
|
3828
3834
|
const l = () => {
|
3829
|
-
s((
|
3835
|
+
s((d) => d + 1 < o ? d + 1 : 0), e.current += 1;
|
3830
3836
|
};
|
3831
3837
|
if (!n) {
|
3832
|
-
const
|
3838
|
+
const d = setTimeout(l, c);
|
3833
3839
|
return () => {
|
3834
|
-
clearTimeout(
|
3840
|
+
clearTimeout(d);
|
3835
3841
|
};
|
3836
3842
|
}
|
3837
3843
|
}, [s, o, c, r, n]), z(() => () => {
|
@@ -3851,7 +3857,7 @@ const zf = (t) => {
|
|
3851
3857
|
markets: go(p.name)
|
3852
3858
|
})), c = s.find((p) => p.isAuto), i = Ie(s), {
|
3853
3859
|
data: l,
|
3854
|
-
execute:
|
3860
|
+
execute: d
|
3855
3861
|
} = qt(`${n}/match-list`, {
|
3856
3862
|
method: "POST",
|
3857
3863
|
body: {
|
@@ -3866,7 +3872,7 @@ const zf = (t) => {
|
|
3866
3872
|
},
|
3867
3873
|
pause: !n || s.length === 0 || c
|
3868
3874
|
}), {
|
3869
|
-
match:
|
3875
|
+
match: _
|
3870
3876
|
} = on({
|
3871
3877
|
dependsOn: "markets",
|
3872
3878
|
apiHost: n,
|
@@ -3877,22 +3883,22 @@ const zf = (t) => {
|
|
3877
3883
|
})
|
3878
3884
|
});
|
3879
3885
|
return z(() => {
|
3880
|
-
De(i, s) ||
|
3886
|
+
De(i, s) || d();
|
3881
3887
|
}, [s]), r.map((p) => {
|
3882
|
-
var m,
|
3888
|
+
var m, y;
|
3883
3889
|
if ("targetMatch" in p.root) {
|
3884
3890
|
const g = go(p.name), C = (l || []).find((R) => R.slug === p.root.targetMatch.matchSlug);
|
3885
|
-
if (((
|
3891
|
+
if (((y = (m = p == null ? void 0 : p.root) == null ? void 0 : m.targetMatch) == null ? void 0 : y.isAuto) && _)
|
3886
3892
|
return N($({}, p), {
|
3887
|
-
match: de(
|
3893
|
+
match: de(_, {
|
3888
3894
|
markets: g
|
3889
3895
|
})
|
3890
3896
|
});
|
3891
3897
|
if (!C)
|
3892
3898
|
return;
|
3893
|
-
const
|
3899
|
+
const x = de(C, {
|
3894
3900
|
markets: g
|
3895
|
-
}), S = tn(
|
3901
|
+
}), S = tn(x, p.root.customMatch, (R, [O, k]) => W(k));
|
3896
3902
|
return N($({}, p), {
|
3897
3903
|
match: S
|
3898
3904
|
});
|
@@ -3931,7 +3937,7 @@ const zf = (t) => {
|
|
3931
3937
|
rules: t,
|
3932
3938
|
pauseAnimation: n
|
3933
3939
|
}) => {
|
3934
|
-
var i, l,
|
3940
|
+
var i, l, d;
|
3935
3941
|
const e = ((i = t == null ? void 0 : t.button) == null ? void 0 : i.animationName) === "pulseWithOverlay", o = ((l = t == null ? void 0 : t.button) == null ? void 0 : l.animationName) === "increase", {
|
3936
3942
|
cloneAnimation: r,
|
3937
3943
|
pulseAnimation: s
|
@@ -3955,7 +3961,7 @@ const zf = (t) => {
|
|
3955
3961
|
children: [a("div", {
|
3956
3962
|
className: Bt.logo,
|
3957
3963
|
style: t == null ? void 0 : t.logo
|
3958
|
-
}), (
|
3964
|
+
}), (d = t == null ? void 0 : t.button) == null ? void 0 : d.children]
|
3959
3965
|
})
|
3960
3966
|
})
|
3961
3967
|
});
|
@@ -3970,14 +3976,14 @@ const zf = (t) => {
|
|
3970
3976
|
onClick: i
|
3971
3977
|
}) => {
|
3972
3978
|
var k, B, J, M;
|
3973
|
-
const l = q(null),
|
3979
|
+
const l = q(null), d = K(), _ = Ht({
|
3974
3980
|
id: t,
|
3975
3981
|
targetRef: l
|
3976
|
-
}), u = At(
|
3982
|
+
}), u = At(d, _), p = V(u);
|
3977
3983
|
Ot(u);
|
3978
|
-
const m = mg(p, s, n),
|
3984
|
+
const m = mg(p, s, n), y = (v, b, T) => ({
|
3979
3985
|
text: a(Im, {
|
3980
|
-
isActive:
|
3986
|
+
isActive: b,
|
3981
3987
|
pauseAnimation: e
|
3982
3988
|
}),
|
3983
3989
|
matches: a(Km, {
|
@@ -3987,21 +3993,21 @@ const zf = (t) => {
|
|
3987
3993
|
oddFormatter: r
|
3988
3994
|
})
|
3989
3995
|
})[v], g = m.filter(Boolean).map((v) => {
|
3990
|
-
var
|
3996
|
+
var b, T;
|
3991
3997
|
return N($({}, v), {
|
3992
|
-
animationName: (
|
3998
|
+
animationName: (b = v == null ? void 0 : v.root) == null ? void 0 : b.animationName,
|
3993
3999
|
animationDuration: ((T = v == null ? void 0 : v.root) == null ? void 0 : T.animationDuration) || Ag
|
3994
4000
|
});
|
3995
4001
|
}), {
|
3996
4002
|
animatedIdx: C,
|
3997
4003
|
countOfTick: f
|
3998
|
-
} = pg(g, e),
|
4004
|
+
} = pg(g, e), x = V(g[C] || {}), S = (g == null ? void 0 : g.length) > 1, R = Tt(p.root, ...yt), O = (k = x == null ? void 0 : x.root) != null && k.hasCustomBackground ? Rt((x == null ? void 0 : x.root) || {}, ...yt) : Rt(p.root, ...yt);
|
3999
4005
|
return a("div", {
|
4000
4006
|
ref: l,
|
4001
4007
|
className: I(ut.root, {
|
4002
|
-
[ut.desktop]:
|
4003
|
-
[ut.laptop]:
|
4004
|
-
[ut.tablet]:
|
4008
|
+
[ut.desktop]: _ === "desktop",
|
4009
|
+
[ut.laptop]: _ === "laptop",
|
4010
|
+
[ut.tablet]: _ === "tablet",
|
4005
4011
|
[ut.variant2]: ((B = p.root) == null ? void 0 : B.variant) === "variant2"
|
4006
4012
|
}),
|
4007
4013
|
style: R,
|
@@ -4039,22 +4045,22 @@ const zf = (t) => {
|
|
4039
4045
|
opacity: o && e ? 0 : 1,
|
4040
4046
|
transition: ".3s"
|
4041
4047
|
},
|
4042
|
-
children: (g || []).map((v,
|
4043
|
-
"data-active-slide": C ===
|
4048
|
+
children: (g || []).map((v, b) => a("div", {
|
4049
|
+
"data-active-slide": C === b,
|
4044
4050
|
className: ut.slide,
|
4045
4051
|
style: S && f ? {
|
4046
|
-
animationName: C ===
|
4052
|
+
animationName: C === b ? ut[v.animationName || "fade-in-out"] : "none",
|
4047
4053
|
animationDuration: `${v.animationDuration}ms`
|
4048
4054
|
} : {
|
4049
|
-
opacity:
|
4055
|
+
opacity: b === 0 ? 1 : 0
|
4050
4056
|
},
|
4051
4057
|
children: a(jt, {
|
4052
4058
|
value: N($({}, v), {
|
4053
|
-
device:
|
4059
|
+
device: _
|
4054
4060
|
}),
|
4055
|
-
children:
|
4061
|
+
children: y(v.name, C === b)
|
4056
4062
|
})
|
4057
|
-
},
|
4063
|
+
}, b))
|
4058
4064
|
}), a("div", {
|
4059
4065
|
className: ut.right,
|
4060
4066
|
children: [a("div", {
|
@@ -4129,7 +4135,7 @@ const zf = (t) => {
|
|
4129
4135
|
}), qg = ({
|
4130
4136
|
onClick: t
|
4131
4137
|
}) => {
|
4132
|
-
var s, c, i, l,
|
4138
|
+
var s, c, i, l, d, _, u, p, m;
|
4133
4139
|
const n = K(), e = V(n), [o, r] = fe();
|
4134
4140
|
return a("div", {
|
4135
4141
|
className: Nt.root,
|
@@ -4155,13 +4161,13 @@ const zf = (t) => {
|
|
4155
4161
|
}), a("div", {
|
4156
4162
|
className: Nt.backgroundLine,
|
4157
4163
|
style: N($({}, rn(e.line)), {
|
4158
|
-
left: `calc(50% - ${(
|
4164
|
+
left: `calc(50% - ${(d = e.line) == null ? void 0 : d.left})`
|
4159
4165
|
}),
|
4160
4166
|
children: a(zg, {})
|
4161
4167
|
}), a("a", {
|
4162
4168
|
className: Nt.link,
|
4163
4169
|
target: "_blank",
|
4164
|
-
href: (
|
4170
|
+
href: (_ = e.root) == null ? void 0 : _.offer,
|
4165
4171
|
onClick: () => t(e.id),
|
4166
4172
|
rel: "noreferrer"
|
4167
4173
|
})]
|
@@ -4196,7 +4202,7 @@ const zf = (t) => {
|
|
4196
4202
|
}, s1 = ({
|
4197
4203
|
onClick: t
|
4198
4204
|
}) => {
|
4199
|
-
var c, i, l,
|
4205
|
+
var c, i, l, d, _, u, p, m, y, g, C;
|
4200
4206
|
const n = K(), e = V(n), [o, r] = fe(), s = !!((c = e.legalInfoButton) != null && c.closeText && ((l = (i = e.legalInfoButton) == null ? void 0 : i.closeText) == null ? void 0 : l.length) > 0);
|
4201
4207
|
return a("div", {
|
4202
4208
|
className: I(Ct.root, {
|
@@ -4212,8 +4218,8 @@ const zf = (t) => {
|
|
4212
4218
|
children: [a(E, {
|
4213
4219
|
className: Ct.text,
|
4214
4220
|
style: e.text,
|
4215
|
-
typography: (
|
4216
|
-
accentTypography: (
|
4221
|
+
typography: (d = e.text) == null ? void 0 : d.typography,
|
4222
|
+
accentTypography: (_ = e.text) == null ? void 0 : _.accentTypography,
|
4217
4223
|
children: (u = e.text) == null ? void 0 : u.children
|
4218
4224
|
}), a("div", {
|
4219
4225
|
className: Ct.button,
|
@@ -4237,7 +4243,7 @@ const zf = (t) => {
|
|
4237
4243
|
style: e.legalInfo,
|
4238
4244
|
children: [a("div", {
|
4239
4245
|
className: Ct.legalText,
|
4240
|
-
children: (
|
4246
|
+
children: (y = e.legalInfo) == null ? void 0 : y.children
|
4241
4247
|
}), a("div", {
|
4242
4248
|
className: Ct.legalMore,
|
4243
4249
|
style: e.legalInfoButton,
|
@@ -4269,14 +4275,14 @@ const zf = (t) => {
|
|
4269
4275
|
Ot(s);
|
4270
4276
|
const {
|
4271
4277
|
click: i
|
4272
|
-
} = i1(n), l = (
|
4278
|
+
} = i1(n), l = (d) => ({
|
4273
4279
|
cardVariant1: a(qg, {
|
4274
4280
|
onClick: i
|
4275
4281
|
}),
|
4276
4282
|
cardVariant2: a(s1, {
|
4277
4283
|
onClick: i
|
4278
4284
|
})
|
4279
|
-
})[
|
4285
|
+
})[d];
|
4280
4286
|
return a("div", {
|
4281
4287
|
ref: e,
|
4282
4288
|
className: I(se.root, {
|
@@ -4286,9 +4292,9 @@ const zf = (t) => {
|
|
4286
4292
|
}),
|
4287
4293
|
children: a("div", {
|
4288
4294
|
className: se.content,
|
4289
|
-
children: ((c == null ? void 0 : c.children) || []).map((
|
4290
|
-
value:
|
4291
|
-
children: l(
|
4295
|
+
children: ((c == null ? void 0 : c.children) || []).map((d) => a(jt, {
|
4296
|
+
value: d,
|
4297
|
+
children: l(d.name)
|
4292
4298
|
}))
|
4293
4299
|
})
|
4294
4300
|
});
|
@@ -4309,11 +4315,11 @@ const zf = (t) => {
|
|
4309
4315
|
id: t,
|
4310
4316
|
onClick: n
|
4311
4317
|
}, e) => {
|
4312
|
-
var
|
4318
|
+
var _, u, p, m, y, g, C, f, x, S, R;
|
4313
4319
|
const [o, r] = fe(), s = q(null), c = K(), i = Ht({
|
4314
4320
|
targetRef: s,
|
4315
4321
|
id: t
|
4316
|
-
}), l = At(c, i),
|
4322
|
+
}), l = At(c, i), d = V(l);
|
4317
4323
|
return Ot(l), a("div", {
|
4318
4324
|
className: I(mt.root, {
|
4319
4325
|
[mt.legalOpen]: o,
|
@@ -4322,32 +4328,32 @@ const zf = (t) => {
|
|
4322
4328
|
[mt.tablet]: i === "tablet"
|
4323
4329
|
}),
|
4324
4330
|
ref: s,
|
4325
|
-
style:
|
4331
|
+
style: d.root,
|
4326
4332
|
children: [a("a", {
|
4327
4333
|
className: mt.content,
|
4328
4334
|
target: "_blank",
|
4329
4335
|
rel: "nofollow noopener noreferrer",
|
4330
|
-
href: (
|
4336
|
+
href: (_ = d.root) == null ? void 0 : _.offer,
|
4331
4337
|
onClick: n,
|
4332
4338
|
children: [a("div", {
|
4333
4339
|
className: mt.text,
|
4334
4340
|
children: a(E, {
|
4335
|
-
typography: (u =
|
4336
|
-
accentTypography: (p =
|
4337
|
-
children: (m =
|
4341
|
+
typography: (u = d.text) == null ? void 0 : u.typography,
|
4342
|
+
accentTypography: (p = d.text) == null ? void 0 : p.accentTypography,
|
4343
|
+
children: (m = d.text) == null ? void 0 : m.children
|
4338
4344
|
})
|
4339
4345
|
}), a("div", {
|
4340
4346
|
className: mt.button,
|
4341
|
-
style:
|
4347
|
+
style: d.button,
|
4342
4348
|
children: [a("div", {
|
4343
4349
|
className: mt.logo,
|
4344
|
-
style:
|
4350
|
+
style: d.logo
|
4345
4351
|
}), a("div", {
|
4346
4352
|
className: mt.buttonText,
|
4347
4353
|
children: a(E, {
|
4348
|
-
typography: (
|
4349
|
-
accentTypography: (g =
|
4350
|
-
children: (C =
|
4354
|
+
typography: (y = d.button) == null ? void 0 : y.typography,
|
4355
|
+
accentTypography: (g = d.button) == null ? void 0 : g.accentTypography,
|
4356
|
+
children: (C = d.button) == null ? void 0 : C.children
|
4351
4357
|
})
|
4352
4358
|
})]
|
4353
4359
|
})]
|
@@ -4355,16 +4361,16 @@ const zf = (t) => {
|
|
4355
4361
|
className: I(mt.legal, {
|
4356
4362
|
[mt.legalOpen]: o
|
4357
4363
|
}),
|
4358
|
-
style:
|
4364
|
+
style: d.legal,
|
4359
4365
|
children: [a("span", {
|
4360
4366
|
className: mt.legalText,
|
4361
4367
|
children: a("span", {
|
4362
|
-
children: (f =
|
4368
|
+
children: (f = d.legal) == null ? void 0 : f.children
|
4363
4369
|
})
|
4364
|
-
}), ((
|
4370
|
+
}), ((x = d == null ? void 0 : d.legal) == null ? void 0 : x.hasButton) && a("span", {
|
4365
4371
|
className: mt.legalButton,
|
4366
4372
|
onClick: r,
|
4367
|
-
children: o ? (S =
|
4373
|
+
children: o ? (S = d.legal) == null ? void 0 : S.buttonOpenText : (R = d.legal) == null ? void 0 : R.buttonHideText
|
4368
4374
|
})]
|
4369
4375
|
})]
|
4370
4376
|
});
|
@@ -4409,8 +4415,8 @@ const zf = (t) => {
|
|
4409
4415
|
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((g) => o(g.root.targetMatch)).map((g) => N($({}, g.root.targetMatch), {
|
4410
4416
|
markets: ho(g.name)
|
4411
4417
|
})), c = s.find((g) => g.isAuto), i = Ie(s), l = (s == null ? void 0 : s.length) > 0, {
|
4412
|
-
data:
|
4413
|
-
execute:
|
4418
|
+
data: d,
|
4419
|
+
execute: _,
|
4414
4420
|
fetching: u
|
4415
4421
|
} = qt(`${n}/match-list`, {
|
4416
4422
|
method: "POST",
|
@@ -4438,22 +4444,22 @@ const zf = (t) => {
|
|
4438
4444
|
})
|
4439
4445
|
});
|
4440
4446
|
z(() => {
|
4441
|
-
De(i, s) ||
|
4447
|
+
De(i, s) || _();
|
4442
4448
|
}, [s]);
|
4443
|
-
const
|
4449
|
+
const y = r.map((g) => {
|
4444
4450
|
var C, f;
|
4445
4451
|
if ("targetMatch" in g.root) {
|
4446
|
-
const
|
4452
|
+
const x = ho(g.name), S = (d || []).find((B) => B.slug === g.root.targetMatch.matchSlug);
|
4447
4453
|
if (((f = (C = g == null ? void 0 : g.root) == null ? void 0 : C.targetMatch) == null ? void 0 : f.isAuto) && p)
|
4448
4454
|
return N($({}, g), {
|
4449
4455
|
match: de(p, {
|
4450
|
-
markets:
|
4456
|
+
markets: x
|
4451
4457
|
})
|
4452
4458
|
});
|
4453
4459
|
if (!S)
|
4454
4460
|
return;
|
4455
4461
|
const O = de(S, {
|
4456
|
-
markets:
|
4462
|
+
markets: x
|
4457
4463
|
}), k = tn(O, g.root.customMatch, (B, [J, M]) => W(M));
|
4458
4464
|
return N($({}, g), {
|
4459
4465
|
match: k
|
@@ -4463,7 +4469,7 @@ const zf = (t) => {
|
|
4463
4469
|
}).filter(Boolean);
|
4464
4470
|
return {
|
4465
4471
|
hasMatches: l,
|
4466
|
-
resultChildren:
|
4472
|
+
resultChildren: y,
|
4467
4473
|
fetching: u || m
|
4468
4474
|
};
|
4469
4475
|
}, th = "_root_15dhb_1", eh = "_desktop_15dhb_9", nh = "_logos_15dhb_13", oh = "_tablet_15dhb_24", rh = "_w1440_15dhb_24", ah = "_teamLogo_15dhb_29", sh = "_teamLogoInside_15dhb_53", ih = "_teams_15dhb_66", ch = "_oddWrapper_15dhb_88", lh = "_oddLabel_15dhb_101", _h = "_oddValue_15dhb_111", dh = "_text_15dhb_125", kt = {
|
@@ -4484,27 +4490,27 @@ const zf = (t) => {
|
|
4484
4490
|
device: n,
|
4485
4491
|
rootState: e
|
4486
4492
|
}) => {
|
4487
|
-
var f,
|
4488
|
-
const o = K(), r = V(o), s = V(e), c = h(r, "match.sportSlug"), l = h(r, "root.predictionLength", "full") === "full" ? h(r, "match.prediction.value") : h(r, "match.prediction.value_short") || h(r, "match.prediction.value"),
|
4493
|
+
var f, x, S, R;
|
4494
|
+
const o = K(), r = V(o), s = V(e), c = h(r, "match.sportSlug"), l = h(r, "root.predictionLength", "full") === "full" ? h(r, "match.prediction.value") : h(r, "match.prediction.value_short") || h(r, "match.prediction.value"), d = N($({}, Tt(r == null ? void 0 : r.root, ...yt)), {
|
4489
4495
|
alignItems: It((f = s.container) == null ? void 0 : f.align)
|
4490
|
-
}),
|
4496
|
+
}), _ = xt(() => {
|
4491
4497
|
var k;
|
4492
4498
|
const O = (k = {
|
4493
4499
|
desktop: 14,
|
4494
4500
|
tablet: 12
|
4495
4501
|
}[n]) != null ? k : 9;
|
4496
4502
|
return [Dh.mobile].includes(n) && l.length > 35 ? O - 1 : O;
|
4497
|
-
}, [n, l]), u = h(r, "coef.backgroundColor", "#fff"), p = Number(h(r, "match.prediction.factor", 0)).toFixed(2), m = +h(o, "root.bonusValue", 0),
|
4503
|
+
}, [n, l]), u = h(r, "coef.backgroundColor", "#fff"), p = Number(h(r, "match.prediction.factor", 0)).toFixed(2), m = +h(o, "root.bonusValue", 0), y = +p, g = y === 0, C = ie(g ? h(r, "text.fallbackChildren") : (x = r == null ? void 0 : r.text) == null ? void 0 : x.children, {
|
4498
4504
|
bonusValue: m,
|
4499
|
-
clearResult: (m *
|
4500
|
-
rawResult: (m *
|
4501
|
-
rate:
|
4505
|
+
clearResult: (m * y - m).toFixed(0),
|
4506
|
+
rawResult: (m * y).toFixed(0),
|
4507
|
+
rate: y
|
4502
4508
|
}, {
|
4503
4509
|
parse: !1
|
4504
4510
|
});
|
4505
4511
|
return a("div", {
|
4506
4512
|
className: I(kt.root, kt[n]),
|
4507
|
-
style:
|
4513
|
+
style: d,
|
4508
4514
|
children: [a("div", {
|
4509
4515
|
className: kt.logos,
|
4510
4516
|
children: [a("div", {
|
@@ -4548,8 +4554,8 @@ const zf = (t) => {
|
|
4548
4554
|
children: [a("div", {
|
4549
4555
|
className: kt.oddLabel,
|
4550
4556
|
style: N($({}, r == null ? void 0 : r.coefLabel), {
|
4551
|
-
fontSize:
|
4552
|
-
lineHeight: `${
|
4557
|
+
fontSize: _,
|
4558
|
+
lineHeight: `${_}px`
|
4553
4559
|
}),
|
4554
4560
|
children: l
|
4555
4561
|
}), a("div", {
|
@@ -4592,11 +4598,11 @@ const zf = (t) => {
|
|
4592
4598
|
prefix: t,
|
4593
4599
|
pause: n = !1
|
4594
4600
|
}) => {
|
4595
|
-
const e = Cn(), o = Cn(), r = q(null), s = q(null), c = q(null), i = q(null), l = (
|
4601
|
+
const e = Cn(), o = Cn(), r = q(null), s = q(null), c = q(null), i = q(null), l = (d) => `${t}_${d}`;
|
4596
4602
|
return z(() => {
|
4597
|
-
n || [r, s, c, i].forEach((
|
4598
|
-
var
|
4599
|
-
return (
|
4603
|
+
n || [r, s, c, i].forEach((d) => {
|
4604
|
+
var _;
|
4605
|
+
return (_ = d == null ? void 0 : d.current) == null ? void 0 : _.beginElement();
|
4600
4606
|
});
|
4601
4607
|
}, [n]), a("svg", {
|
4602
4608
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -4711,7 +4717,7 @@ const zf = (t) => {
|
|
4711
4717
|
animationVariant1: e,
|
4712
4718
|
pauseAnimation: o
|
4713
4719
|
}) => {
|
4714
|
-
var
|
4720
|
+
var d, _, u, p, m, y, g, C, f, x;
|
4715
4721
|
const r = Vt({
|
4716
4722
|
pause: !e,
|
4717
4723
|
duration: _t.actionDisplayDuration,
|
@@ -4720,7 +4726,7 @@ const zf = (t) => {
|
|
4720
4726
|
pause: r || !e,
|
4721
4727
|
duration: 2e3,
|
4722
4728
|
delay: 2250
|
4723
|
-
}), c = (
|
4729
|
+
}), c = (d = t == null ? void 0 : t.root) == null ? void 0 : d.boltColor, i = (_ = t == null ? void 0 : t.root) == null ? void 0 : _.boltColorAccent, l = (u = t == null ? void 0 : t.container) == null ? void 0 : u.align;
|
4724
4730
|
return a("div", {
|
4725
4731
|
className: I(ct.root, {
|
4726
4732
|
[ct.mobile]: n === "mobile",
|
@@ -4776,11 +4782,11 @@ const zf = (t) => {
|
|
4776
4782
|
alignItems: It(l),
|
4777
4783
|
transformOrigin: l
|
4778
4784
|
}),
|
4779
|
-
typography: N($({}, (g = (
|
4785
|
+
typography: N($({}, (g = (y = t == null ? void 0 : t.text) == null ? void 0 : y.typography) != null ? g : {}), {
|
4780
4786
|
textAlign: (C = t == null ? void 0 : t.container) == null ? void 0 : C.align
|
4781
4787
|
}),
|
4782
4788
|
accentTypography: (f = t == null ? void 0 : t.text) == null ? void 0 : f.accentTypography,
|
4783
|
-
children: (
|
4789
|
+
children: (x = t == null ? void 0 : t.text) == null ? void 0 : x.children
|
4784
4790
|
})
|
4785
4791
|
});
|
4786
4792
|
}, Ue = N($({}, pe), {
|
@@ -4815,23 +4821,23 @@ const zf = (t) => {
|
|
4815
4821
|
onMount: c,
|
4816
4822
|
onReady: i,
|
4817
4823
|
onClose: l,
|
4818
|
-
onClick:
|
4824
|
+
onClick: d
|
4819
4825
|
}) => {
|
4820
|
-
var J, M, v,
|
4821
|
-
const
|
4822
|
-
targetRef:
|
4826
|
+
var J, M, v, b, T, w, A, L, D, P, H, G, lt, rt, at, pt, bt, X, ft, Pt;
|
4827
|
+
const _ = q(null), u = K(), p = Ht({
|
4828
|
+
targetRef: _,
|
4823
4829
|
id: t,
|
4824
4830
|
breakpoints: Ue
|
4825
4831
|
}), m = At(u, p, Ue), {
|
4826
|
-
resultChildren:
|
4832
|
+
resultChildren: y,
|
4827
4833
|
fetching: g
|
4828
4834
|
} = Q1(m, e, r), C = (M = (J = m == null ? void 0 : m.children) == null ? void 0 : J.some(({
|
4829
4835
|
name: nt
|
4830
4836
|
}) => nt === "match")) != null ? M : !1;
|
4831
|
-
m && (Wt(m, "button.percent_width", (v = m == null ? void 0 : m.button) == null ? void 0 : v.width), Wt(m, "artifact.percent_right", (
|
4832
|
-
const f = V(m),
|
4837
|
+
m && (Wt(m, "button.percent_width", (v = m == null ? void 0 : m.button) == null ? void 0 : v.width), Wt(m, "artifact.percent_right", (b = m == null ? void 0 : m.artifact) == null ? void 0 : b.right));
|
4838
|
+
const f = V(m), x = !!((T = f == null ? void 0 : f.legal) != null && T.children) && !((w = f == null ? void 0 : f.legal) != null && w.hidden);
|
4833
4839
|
Ot(m);
|
4834
|
-
const S = (
|
4840
|
+
const S = (L = (A = f == null ? void 0 : f.root) == null ? void 0 : A.animation) != null ? L : "none", R = Vt({
|
4835
4841
|
pause: S !== "variant1",
|
4836
4842
|
duration: _t.badgePulseDuration,
|
4837
4843
|
delay: (nt) => nt === 0 ? _t.actionDisplayDuration : nt % _t.countPulses ? _t.badgePulseGap : _t.badgePulseDuration + _t.actionDisplayDuration
|
@@ -4852,16 +4858,16 @@ const zf = (t) => {
|
|
4852
4858
|
return z(() => {
|
4853
4859
|
c && c(u);
|
4854
4860
|
}, []), z(() => {
|
4855
|
-
m && (i && C && !g && (
|
4861
|
+
m && (i && C && !g && (y != null && y.length) ? i({
|
4856
4862
|
readyPayload: s,
|
4857
4863
|
willWithMatches: C
|
4858
4864
|
}) : i && !C && (i == null || i({
|
4859
4865
|
readyPayload: s,
|
4860
4866
|
willWithMatches: C
|
4861
4867
|
})));
|
4862
|
-
}, [
|
4868
|
+
}, [y, g, C]), a("div", {
|
4863
4869
|
className: I(Z.root, Z[p], {
|
4864
|
-
[Z.withoutLegal]: !
|
4870
|
+
[Z.withoutLegal]: !x
|
4865
4871
|
}),
|
4866
4872
|
children: [a("div", {
|
4867
4873
|
className: Z.close,
|
@@ -4877,9 +4883,9 @@ const zf = (t) => {
|
|
4877
4883
|
href: (H = f == null ? void 0 : f.root) == null ? void 0 : H.offer,
|
4878
4884
|
target: "_blank",
|
4879
4885
|
rel: "nofollow noopener noreferrer",
|
4880
|
-
onClick: () =>
|
4886
|
+
onClick: () => d(u),
|
4881
4887
|
className: Z.link,
|
4882
|
-
ref:
|
4888
|
+
ref: _,
|
4883
4889
|
children: [a("div", {
|
4884
4890
|
className: I(Z.badge, {
|
4885
4891
|
[Z.badge_center]: (k == null ? void 0 : k.align) === "center",
|
@@ -4911,7 +4917,7 @@ const zf = (t) => {
|
|
4911
4917
|
})
|
4912
4918
|
}), (((lt = (G = f == null ? void 0 : f.text) == null ? void 0 : G.children) == null ? void 0 : lt.length) === 0 || ((rt = f == null ? void 0 : f.text) == null ? void 0 : rt.hidden)) && a("div", {
|
4913
4919
|
className: Z.containerInner,
|
4914
|
-
children: (
|
4920
|
+
children: (y || []).map((nt) => a(jt, {
|
4915
4921
|
value: N($({}, nt), {
|
4916
4922
|
device: p
|
4917
4923
|
}),
|
@@ -4958,7 +4964,7 @@ const zf = (t) => {
|
|
4958
4964
|
onMount: n,
|
4959
4965
|
onClick: e
|
4960
4966
|
}) => {
|
4961
|
-
var l,
|
4967
|
+
var l, d, _, u, p;
|
4962
4968
|
const o = q(null), r = K(), s = Ht({
|
4963
4969
|
targetRef: o,
|
4964
4970
|
id: t,
|
@@ -4975,8 +4981,8 @@ const zf = (t) => {
|
|
4975
4981
|
className: ve.textContainer,
|
4976
4982
|
style: i == null ? void 0 : i.text,
|
4977
4983
|
typography: (l = i.text) == null ? void 0 : l.typography,
|
4978
|
-
accentTypography: (
|
4979
|
-
children: (
|
4984
|
+
accentTypography: (d = i.text) == null ? void 0 : d.accentTypography,
|
4985
|
+
children: (_ = i == null ? void 0 : i.text) == null ? void 0 : _.children
|
4980
4986
|
}), a("div", {
|
4981
4987
|
className: ve.button,
|
4982
4988
|
style: i == null ? void 0 : i.button,
|