@adstore/templates 2.14.8 → 2.14.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/templates.js.js +428 -424
  2. package/package.json +1 -1
@@ -9,7 +9,7 @@ var ro = (t, o, e) => o in t ? Pn(t, o, { enumerable: !0, configurable: !0, writ
9
9
  for (var e of ce(o))
10
10
  so.call(o, e) && ro(t, e, o[e]);
11
11
  return t;
12
- }, L = (t, o) => Vn(t, Gn(o));
12
+ }, T = (t, o) => Vn(t, Gn(o));
13
13
  var Se = (t, o) => {
14
14
  var e = {};
15
15
  for (var n in t)
@@ -79,7 +79,7 @@ var dt = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
79
79
  t.exports ? (e.default = e, t.exports = e) : window.classNames = e;
80
80
  })();
81
81
  })(zn);
82
- const R = Re;
82
+ const H = Re;
83
83
  var Ut, G, xe, lo, Ft = 0, ln = [], fe = [], co = I.__b, _o = I.__r, uo = I.diffed, po = I.__c, fo = I.unmount;
84
84
  function re(t, o) {
85
85
  I.__h && I.__h(G, t, Ft || o), Ft = 0;
@@ -108,8 +108,8 @@ function Kn(t, o, e) {
108
108
  var u = !1;
109
109
  return c.forEach(function(p) {
110
110
  if (p.__N) {
111
- var m = p.__[0];
112
- p.__ = p.__N, p.__N = void 0, m !== p.__[0] && (u = !0);
111
+ var g = p.__[0];
112
+ p.__ = p.__N, p.__N = void 0, g !== p.__[0] && (u = !0);
113
113
  }
114
114
  }), !(!u && n.__c.props === l) && (!s || s.call(this, l, _, d));
115
115
  };
@@ -906,8 +906,8 @@ function e_(t, o, e, n, r, s, i) {
906
906
  }
907
907
  var c = s ? s(l, _, e + "", t, o, i) : void 0, u = c === void 0;
908
908
  if (u) {
909
- var p = Bo(_), m = !p && Zc(_), g = !p && !m && Qc(_);
910
- c = _, p || m || g ? Bo(l) ? c = l : Kc(l) ? c = Uc(l) : m ? (u = !1, c = Fc(_, !0)) : g ? (u = !1, c = Wc(_, !0)) : c = [] : Xc(_) || Yo(_) ? (c = l, Yo(l) ? c = t_(l) : (!qc(l) || Jc(l)) && (c = zc(_))) : u = !1;
909
+ var p = Bo(_), g = !p && Zc(_), M = !p && !g && Qc(_);
910
+ c = _, p || g || M ? Bo(l) ? c = l : Kc(l) ? c = Uc(l) : g ? (u = !1, c = Fc(_, !0)) : M ? (u = !1, c = Wc(_, !0)) : c = [] : Xc(_) || Yo(_) ? (c = l, Yo(l) ? c = t_(l) : (!qc(l) || Jc(l)) && (c = zc(_))) : u = !1;
911
911
  }
912
912
  u && (i.set(_, c), r(c, _, n, s, i), i.delete(_)), Ho(t, e, c);
913
913
  }
@@ -1201,9 +1201,9 @@ const Dn = Fn(), xt = ({
1201
1201
  }) => {
1202
1202
  const [r, s] = yt("desktop"), i = (l) => {
1203
1203
  var u;
1204
- const _ = l.getBoundingClientRect().width || 0, d = Object.entries($({}, n)).sort(([p, m], [g, f]) => m - f), c = ((u = d.find(([p, m], g) => {
1205
- const [f, N] = d[g + 1] || [];
1206
- return _ >= m && _ < N;
1204
+ const _ = l.getBoundingClientRect().width || 0, d = Object.entries($({}, n)).sort(([p, g], [M, m]) => g - m), c = ((u = d.find(([p, g], M) => {
1205
+ const [m, f] = d[M + 1] || [];
1206
+ return _ >= g && _ < f;
1207
1207
  })) == null ? void 0 : u[0]) || d[d.length - 1][0] || "desktop";
1208
1208
  s(c);
1209
1209
  };
@@ -1234,7 +1234,7 @@ const Dn = Fn(), xt = ({
1234
1234
  i && (o.color = Uo(`rgb(${i.r}, ${i.g}, ${i.b})`, +o.colorOpacity / 100));
1235
1235
  }
1236
1236
  return r === "fontFamily" && /auto/i.test(s) && (o.fontFamily = Bd), r === "isBold" && (o.fontWeight = s ? "bold" : "initial"), r === "weight" && V(s) && (o.fontWeight = s), r === "isItalic" && (o.fontStyle = s ? "italic" : "initial"), r === "isThrough" && (o.textDecoration = s ? "line-through" : "initial"), o;
1237
- }, t), Pd = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, B = (t) => V(t) ? Object.entries(t).reduce((o, [e, n]) => (o[e] = Pd(n) ? Rn($({}, t[e])) : n, o), {}) : t, Vd = (t) => t in document.createElement("div").style || t.startsWith("--"), Gd = (t) => `<span style="${t}">$1</span>`, W = (s) => {
1237
+ }, t), Pd = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, E = (t) => V(t) ? Object.entries(t).reduce((o, [e, n]) => (o[e] = Pd(n) ? Rn($({}, t[e])) : n, o), {}) : t, Vd = (t) => t in document.createElement("div").style || t.startsWith("--"), Gd = (t) => `<span style="${t}">$1</span>`, W = (s) => {
1238
1238
  var i = s, {
1239
1239
  children: t,
1240
1240
  typography: o,
@@ -1255,7 +1255,7 @@ const Dn = Fn(), xt = ({
1255
1255
  Vd(u) && (c += `${rd(u)}: ${p}; `);
1256
1256
  }), c;
1257
1257
  }, [e]), _ = (d = t == null ? void 0 : t.replace(/script|\n/g, "")) == null ? void 0 : d.replace(/{{(.*?)}}/g, n(l));
1258
- return a("div", L($({}, r), {
1258
+ return a("div", T($({}, r), {
1259
1259
  style: $($({}, o), r.style || {}),
1260
1260
  dangerouslySetInnerHTML: {
1261
1261
  __html: _
@@ -1295,22 +1295,22 @@ const Dn = Fn(), xt = ({
1295
1295
  wiggle: `${t.wiggle} 2s linear infinite`,
1296
1296
  gradient: `${t.gradient} 3s ease infinite`
1297
1297
  }), Hn = (t, o) => {
1298
- var c, u, p, m, g, f, N, A, O, D, j, C, T;
1299
- const e = Fd(o), n = B(t), r = (c = n == null ? void 0 : n.icon) == null ? void 0 : c.hasIcon, s = {
1298
+ var c, u, p, g, M, m, f, O, x, D, j, C, L;
1299
+ const e = Fd(o), n = E(t), r = (c = n == null ? void 0 : n.icon) == null ? void 0 : c.hasIcon, s = {
1300
1300
  left: `${+(((u = t == null ? void 0 : t.container) == null ? void 0 : u.left) || 0) * -1 + 8}px`,
1301
1301
  backgroundColor: (p = n == null ? void 0 : n.container) == null ? void 0 : p.backgroundColor,
1302
- borderTopWidth: (m = n == null ? void 0 : n.container) == null ? void 0 : m.borderWidth,
1303
- borderTopColor: (g = n == null ? void 0 : n.container) == null ? void 0 : g.borderColor,
1302
+ borderTopWidth: (g = n == null ? void 0 : n.container) == null ? void 0 : g.borderWidth,
1303
+ borderTopColor: (M = n == null ? void 0 : n.container) == null ? void 0 : M.borderColor,
1304
1304
  borderTopStyle: "solid",
1305
- borderLeftWidth: (f = n == null ? void 0 : n.container) == null ? void 0 : f.borderWidth,
1306
- borderLeftColor: (N = n == null ? void 0 : n.container) == null ? void 0 : N.borderColor,
1305
+ borderLeftWidth: (m = n == null ? void 0 : n.container) == null ? void 0 : m.borderWidth,
1306
+ borderLeftColor: (f = n == null ? void 0 : n.container) == null ? void 0 : f.borderColor,
1307
1307
  borderLeftStyle: "solid"
1308
1308
  }, i = {
1309
- left: (A = n == null ? void 0 : n.container) == null ? void 0 : A.left
1310
- }, l = (((O = n == null ? void 0 : n.icon) == null ? void 0 : O.animations) || []).map((Y) => e[Y]).join(", "), _ = V((D = n == null ? void 0 : n.icon) == null ? void 0 : D.gradientColor) && ((j = n == null ? void 0 : n.icon) != null && j.animations.includes("gradient")) ? {
1311
- background: `linear-gradient(-90deg, ${(C = n.icon) == null ? void 0 : C.backgroundColor} 0%, ${(T = n == null ? void 0 : n.icon) == null ? void 0 : T.gradientColor} 100%) 0% 0% / 400% 400%`,
1309
+ left: (O = n == null ? void 0 : n.container) == null ? void 0 : O.left
1310
+ }, l = (((x = n == null ? void 0 : n.icon) == null ? void 0 : x.animations) || []).map((Y) => e[Y]).join(", "), _ = V((D = n == null ? void 0 : n.icon) == null ? void 0 : D.gradientColor) && ((j = n == null ? void 0 : n.icon) != null && j.animations.includes("gradient")) ? {
1311
+ background: `linear-gradient(-90deg, ${(C = n.icon) == null ? void 0 : C.backgroundColor} 0%, ${(L = n == null ? void 0 : n.icon) == null ? void 0 : L.gradientColor} 100%) 0% 0% / 400% 400%`,
1312
1312
  backgroundSize: "400% 400%"
1313
- } : n == null ? void 0 : n.icon, d = $(L($({}, (n == null ? void 0 : n.icon) || {}), {
1313
+ } : n == null ? void 0 : n.icon, d = $(T($({}, (n == null ? void 0 : n.icon) || {}), {
1314
1314
  animation: l
1315
1315
  }), _);
1316
1316
  return {
@@ -1344,15 +1344,15 @@ const Dn = Fn(), xt = ({
1344
1344
  onClickClose: n,
1345
1345
  onClickIcon: r
1346
1346
  }) => {
1347
- var j, C, T, Y, z, v, b, y, M, k;
1347
+ var j, C, L, Y, K, v, b, y, N, k;
1348
1348
  const s = et(null), [i, l] = ie(), _ = U(), d = Ot({
1349
1349
  targetRef: s,
1350
1350
  id: t
1351
- }), c = Lt(_, d), u = B(c), {
1351
+ }), c = Lt(_, d), u = E(c), {
1352
1352
  hasIcon: p,
1353
- iconRules: m,
1354
- bodyRules: g,
1355
- arrowRules: f
1353
+ iconRules: g,
1354
+ bodyRules: M,
1355
+ arrowRules: m
1356
1356
  } = Hn(c, {
1357
1357
  fade: F.fadein,
1358
1358
  pulse: F.pulse,
@@ -1360,7 +1360,7 @@ const Dn = Fn(), xt = ({
1360
1360
  gradient: F.gradient
1361
1361
  });
1362
1362
  wt(c);
1363
- const N = !!(u.legal.buttonHideText && ((j = u.legal.buttonHideText) == null ? void 0 : j.length) > 0), A = vt(u == null ? void 0 : u.container, "left"), O = {
1363
+ const f = !!(u.legal.buttonHideText && ((j = u.legal.buttonHideText) == null ? void 0 : j.length) > 0), O = vt(u == null ? void 0 : u.container, "left"), x = {
1364
1364
  paddingTop: 5,
1365
1365
  paddingRight: 0,
1366
1366
  paddingBottom: 2,
@@ -1372,39 +1372,39 @@ const Dn = Fn(), xt = ({
1372
1372
  paddingLeft: 10
1373
1373
  };
1374
1374
  return a("div", {
1375
- className: R(F.root, {
1375
+ className: H(F.root, {
1376
1376
  [F.legalOpen]: i,
1377
- [F.legalStatic]: !N
1377
+ [F.legalStatic]: !f
1378
1378
  }),
1379
1379
  ref: s,
1380
1380
  children: [a("div", {
1381
1381
  className: F.icon,
1382
- style: m,
1382
+ style: g,
1383
1383
  onClick: r,
1384
1384
  children: p && a("div", {
1385
1385
  className: F.iconTarget,
1386
1386
  children: a(Ye, {})
1387
1387
  })
1388
1388
  }), a("div", {
1389
- className: R(F.body, {
1389
+ className: H(F.body, {
1390
1390
  [F.bodyOpen]: o
1391
1391
  }),
1392
- style: g,
1392
+ style: M,
1393
1393
  children: [a("div", {
1394
1394
  className: F.arrow,
1395
- style: f
1395
+ style: m
1396
1396
  }), a("div", {
1397
1397
  className: F.close,
1398
- style: L($({}, qe(u == null ? void 0 : u.close)), {
1398
+ style: T($({}, qe(u == null ? void 0 : u.close)), {
1399
1399
  backgroundColor: (C = u == null ? void 0 : u.close) == null ? void 0 : C.color
1400
1400
  }),
1401
1401
  onClick: n,
1402
1402
  children: a(Rt, {})
1403
1403
  }), a("div", {
1404
1404
  className: F.container,
1405
- style: A,
1405
+ style: O,
1406
1406
  children: [a("a", {
1407
- href: (T = u == null ? void 0 : u.root) == null ? void 0 : T.offer,
1407
+ href: (L = u == null ? void 0 : u.root) == null ? void 0 : L.offer,
1408
1408
  style: {
1409
1409
  opacity: i ? 0 : 1
1410
1410
  },
@@ -1420,11 +1420,11 @@ const Dn = Fn(), xt = ({
1420
1420
  className: F.text,
1421
1421
  style: u == null ? void 0 : u.text,
1422
1422
  typography: (Y = u.text) == null ? void 0 : Y.typography,
1423
- accentTypography: (z = u.text) == null ? void 0 : z.accentTypography,
1423
+ accentTypography: (K = u.text) == null ? void 0 : K.accentTypography,
1424
1424
  children: (v = u == null ? void 0 : u.text) == null ? void 0 : v.children
1425
1425
  })]
1426
1426
  }), a("div", {
1427
- className: R(F.button, {
1427
+ className: H(F.button, {
1428
1428
  [F.buttonAnimated]: u == null ? void 0 : u.button.isAnimated
1429
1429
  }),
1430
1430
  style: u == null ? void 0 : u.button,
@@ -1434,14 +1434,14 @@ const Dn = Fn(), xt = ({
1434
1434
  className: F.legalGap
1435
1435
  }), a("div", {
1436
1436
  className: F.legal,
1437
- style: $($({}, u == null ? void 0 : u.legal), i ? D : O),
1437
+ style: $($({}, u == null ? void 0 : u.legal), i ? D : x),
1438
1438
  children: [a("div", {
1439
1439
  className: F.legalText,
1440
1440
  children: (y = u == null ? void 0 : u.legal) == null ? void 0 : y.children
1441
1441
  }), a("div", {
1442
1442
  className: F.legalButton,
1443
1443
  onClick: l,
1444
- children: i ? (M = u == null ? void 0 : u.legal) == null ? void 0 : M.buttonOpenText : (k = u == null ? void 0 : u.legal) == null ? void 0 : k.buttonHideText
1444
+ children: i ? (N = u == null ? void 0 : u.legal) == null ? void 0 : N.buttonOpenText : (k = u == null ? void 0 : u.legal) == null ? void 0 : k.buttonHideText
1445
1445
  })]
1446
1446
  })]
1447
1447
  })]
@@ -1484,12 +1484,12 @@ const Dn = Fn(), xt = ({
1484
1484
  onClick: t
1485
1485
  }) => {
1486
1486
  var n, r, s, i, l, _, d;
1487
- const o = U(), e = B(o);
1487
+ const o = U(), e = E(o);
1488
1488
  return a("a", {
1489
1489
  href: (n = e.root) == null ? void 0 : n.offer,
1490
1490
  target: "_blank",
1491
1491
  rel: "nofollow noopener noreferrer",
1492
- className: R(kt.root, {
1492
+ className: H(kt.root, {
1493
1493
  [kt.variant2]: ((r = e.root) == null ? void 0 : r.variant) === "variant2"
1494
1494
  }),
1495
1495
  style: e.root,
@@ -1537,26 +1537,26 @@ const Dn = Fn(), xt = ({
1537
1537
  onClickIcon: n,
1538
1538
  onClickClose: r
1539
1539
  }) => {
1540
- var A, O, D;
1540
+ var O, x, D;
1541
1541
  const s = et(null), i = U(), l = Ot({
1542
1542
  targetRef: s,
1543
1543
  id: t
1544
- }), _ = Lt(i, l), d = B(_);
1544
+ }), _ = Lt(i, l), d = E(_);
1545
1545
  wt(_);
1546
1546
  const {
1547
1547
  hasIcon: c,
1548
1548
  iconRules: u,
1549
1549
  bodyRules: p,
1550
- arrowRules: m
1550
+ arrowRules: g
1551
1551
  } = Hn(_, {
1552
1552
  fade: Z.fadein,
1553
1553
  pulse: Z.pulse,
1554
1554
  wiggle: Z.wiggle,
1555
1555
  gradient: Z.gradient
1556
- }), g = (A = d == null ? void 0 : d.title) == null ? void 0 : A.hasIcon, f = St(d == null ? void 0 : d.title, ...ve), N = vt(d == null ? void 0 : d.title, ...ve);
1556
+ }), M = (O = d == null ? void 0 : d.title) == null ? void 0 : O.hasIcon, m = St(d == null ? void 0 : d.title, ...ve), f = vt(d == null ? void 0 : d.title, ...ve);
1557
1557
  return a("div", {
1558
1558
  ref: s,
1559
- className: R(Z.root, {
1559
+ className: H(Z.root, {
1560
1560
  [Z.desktop]: l === "desktop",
1561
1561
  [Z.laptop]: l === "laptop",
1562
1562
  [Z.tablet]: l === "tablet"
@@ -1570,27 +1570,27 @@ const Dn = Fn(), xt = ({
1570
1570
  children: a(Ye, {})
1571
1571
  })
1572
1572
  }), a("div", {
1573
- className: R(Z.body, {
1573
+ className: H(Z.body, {
1574
1574
  [Z.bodyOpen]: o
1575
1575
  }),
1576
1576
  style: p,
1577
1577
  children: [a("div", {
1578
1578
  className: Z.arrow,
1579
- style: m
1579
+ style: g
1580
1580
  }), a("div", {
1581
1581
  className: Z.container,
1582
1582
  style: d.container,
1583
1583
  children: [a("div", {
1584
1584
  className: Z.head,
1585
- style: f,
1586
- children: [g && a("div", {
1585
+ style: m,
1586
+ children: [M && a("div", {
1587
1587
  className: Z.headIcon,
1588
1588
  style: St(d.title, "color"),
1589
1589
  children: a(Ye, {})
1590
1590
  }), a("div", {
1591
1591
  className: Z.headTitle,
1592
- style: N,
1593
- children: (O = d.title) == null ? void 0 : O.children
1592
+ style: f,
1593
+ children: (x = d.title) == null ? void 0 : x.children
1594
1594
  }), a("div", {
1595
1595
  className: Z.close,
1596
1596
  style: qe(d == null ? void 0 : d.close),
@@ -1637,7 +1637,7 @@ const Dn = Fn(), xt = ({
1637
1637
  root: Eu
1638
1638
  }, Vu = () => {
1639
1639
  var e, n, r;
1640
- const t = U(), o = B(t);
1640
+ const t = U(), o = E(t);
1641
1641
  return a("div", {
1642
1642
  className: Pu.root,
1643
1643
  style: o.root,
@@ -1648,10 +1648,10 @@ const Dn = Fn(), xt = ({
1648
1648
  })
1649
1649
  });
1650
1650
  }, Ke = (t, o = 0, e = !1) => {
1651
- const n = et(Ue()), [r, s] = yt(!1), [i, l] = yt(), [_, d] = yt(e), c = (N) => n.current.on("visible", N), u = (N) => n.current.on("click", N), p = (N) => n.current.on("clickHide", N), m = () => _e(void 0, null, function* () {
1651
+ const n = et(Ue()), [r, s] = yt(!1), [i, l] = yt(), [_, d] = yt(e), c = (f) => n.current.on("visible", f), u = (f) => n.current.on("click", f), p = (f) => n.current.on("clickHide", f), g = () => _e(void 0, null, function* () {
1652
1652
  yield od(+o), s(!0);
1653
- }), g = () => s(!1), f = () => {
1654
- n.current.emit("clickHide"), g();
1653
+ }), M = () => s(!1), m = () => {
1654
+ n.current.emit("clickHide"), M();
1655
1655
  };
1656
1656
  return Q(() => {
1657
1657
  _ && n.current.emit("visible", r);
@@ -1659,20 +1659,20 @@ const Dn = Fn(), xt = ({
1659
1659
  onVisible: c,
1660
1660
  onClick: u,
1661
1661
  onClickHide: p,
1662
- show: m,
1663
- hide: g,
1662
+ show: g,
1663
+ hide: M,
1664
1664
  setApiHost: l,
1665
1665
  resetListeners: n.current.reset
1666
1666
  })), Q(() => n.current.reset, []), {
1667
1667
  isReady: _,
1668
1668
  isOpen: r,
1669
1669
  apiHost: i,
1670
- show: m,
1671
- hide: g,
1672
- clickHide: f,
1670
+ show: g,
1671
+ hide: M,
1672
+ clickHide: m,
1673
1673
  setIsReady: d,
1674
- click: (...N) => {
1675
- g(), n.current.emit("click", ...N);
1674
+ click: (...f) => {
1675
+ M(), n.current.emit("click", ...f);
1676
1676
  }
1677
1677
  };
1678
1678
  }, Gu = "_root_120y9_1", Fu = "_progress_120y9_8", Wu = "_countdown_120y9_1", Uu = "_body_120y9_17", zu = "_body_active_120y9_31", Ku = "_closeIcon_120y9_35", Gt = {
@@ -1720,7 +1720,7 @@ const Dn = Fn(), xt = ({
1720
1720
  "--offset": `${_}px`
1721
1721
  },
1722
1722
  children: [a("svg", {
1723
- className: R(Gt.progress, {
1723
+ className: H(Gt.progress, {
1724
1724
  [Gt.progress_animate]: s > 0
1725
1725
  }),
1726
1726
  style: {
@@ -1751,7 +1751,7 @@ const Dn = Fn(), xt = ({
1751
1751
  fill: "transparent"
1752
1752
  })]
1753
1753
  }, o), a("div", {
1754
- className: R(Gt.body, {
1754
+ className: H(Gt.body, {
1755
1755
  [Gt.body_active]: s <= 0
1756
1756
  }),
1757
1757
  onClick: s <= 0 ? n : void 0,
@@ -1773,41 +1773,41 @@ const Qu = zt(({
1773
1773
  id: t,
1774
1774
  className: o
1775
1775
  }, e) => {
1776
- var S, w, x, E, H, K, lt, st;
1776
+ var S, w, A, R, B, z, lt, st;
1777
1777
  const [n, r] = yt(1 / 0), s = et(null), i = et(null), l = Ot({
1778
1778
  targetRef: s,
1779
1779
  id: t
1780
1780
  }), _ = U(), d = Lt(_, l);
1781
1781
  wt(d), d && (Bt(d, "button.percent_width", (S = d == null ? void 0 : d.button) == null ? void 0 : S.width), Bt(d, "legal.percent_width", (w = d == null ? void 0 : d.legal) == null ? void 0 : w.width));
1782
- const c = B(d), u = h(c, "root.delay", 0), {
1782
+ const c = E(d), u = h(c, "root.delay", 0), {
1783
1783
  isOpen: p,
1784
- isReady: m,
1785
- setIsReady: g,
1786
- clickHide: f,
1787
- click: N
1788
- } = Ke(e, u), A = h(c, "close.variant", "default"), O = h(c, "close.radius", 21), D = h(c, "close.colorDirection", "default"), j = h(c, "close.timeoutLock", !1), C = A === "timer" ? n <= 0 : !0, T = A === "timer" && j && n > 0 ? "div" : "a";
1784
+ isReady: g,
1785
+ setIsReady: M,
1786
+ clickHide: m,
1787
+ click: f
1788
+ } = Ke(e, u), O = h(c, "close.variant", "default"), x = h(c, "close.radius", 21), D = h(c, "close.colorDirection", "default"), j = h(c, "close.timeoutLock", !1), C = O === "timer" ? n <= 0 : !0, L = O === "timer" && j && n > 0 ? "div" : "a";
1789
1789
  Q(() => {
1790
1790
  const it = i.current;
1791
1791
  if (!it)
1792
1792
  return;
1793
1793
  if (Xu(it)) {
1794
- g(!0);
1794
+ M(!0);
1795
1795
  return;
1796
1796
  }
1797
- const bt = () => g(!0);
1797
+ const bt = () => M(!0);
1798
1798
  return it.addEventListener("load", bt), () => {
1799
1799
  it.removeEventListener("load", bt);
1800
1800
  };
1801
1801
  }, [c]);
1802
1802
  const Y = {
1803
- alignItems: jt((x = c.root) == null ? void 0 : x.align)
1804
- }, z = L($({}, c == null ? void 0 : c.button), {
1805
- justifyContent: jt((E = c.root) == null ? void 0 : E.textAlign)
1806
- }), v = L($({}, c == null ? void 0 : c.legal), {
1807
- justifyContent: jt((H = c.root) == null ? void 0 : H.textAlign)
1808
- }), b = (K = c.root) == null ? void 0 : K.corner, y = vt(c.root, ...zo, ...ut), M = St(c.root, ...zo), k = p && m;
1803
+ alignItems: jt((A = c.root) == null ? void 0 : A.align)
1804
+ }, K = T($({}, c == null ? void 0 : c.button), {
1805
+ justifyContent: jt((R = c.root) == null ? void 0 : R.textAlign)
1806
+ }), v = T($({}, c == null ? void 0 : c.legal), {
1807
+ justifyContent: jt((B = c.root) == null ? void 0 : B.textAlign)
1808
+ }), b = (z = c.root) == null ? void 0 : z.corner, y = vt(c.root, ...zo, ...ut), N = St(c.root, ...zo), k = p && g;
1809
1809
  return a("div", {
1810
- className: R(at.root, o, {
1810
+ className: H(at.root, o, {
1811
1811
  [at.desktop]: l === "desktop",
1812
1812
  [at.tablet]: l === "tablet",
1813
1813
  [at.laptop]: l === "laptop"
@@ -1819,17 +1819,17 @@ const Qu = zt(({
1819
1819
  children: [a("div", {
1820
1820
  className: at.overlay,
1821
1821
  style: c.overlay,
1822
- onClick: C && f
1822
+ onClick: C && m
1823
1823
  }), a("div", {
1824
1824
  className: at.wrapper,
1825
1825
  children: [k && a(Ie, {
1826
- children: A === "default" ? a("div", {
1826
+ children: O === "default" ? a("div", {
1827
1827
  className: at.close,
1828
- style: L($({}, c.close), {
1828
+ style: T($({}, c.close), {
1829
1829
  borderBottomLeftRadius: `${b}px`,
1830
1830
  borderTopRightRadius: `${b}px`
1831
1831
  }),
1832
- onClick: f,
1832
+ onClick: m,
1833
1833
  children: a(Rt, {
1834
1834
  width: 11,
1835
1835
  height: 11
@@ -1839,8 +1839,8 @@ const Qu = zt(({
1839
1839
  children: a(Ze, {
1840
1840
  timeout: h(c, "close.timeout"),
1841
1841
  colorDirection: D,
1842
- radius: O,
1843
- onClick: f,
1842
+ radius: x,
1843
+ onClick: m,
1844
1844
  onChange: r
1845
1845
  })
1846
1846
  })
@@ -1848,19 +1848,19 @@ const Qu = zt(({
1848
1848
  className: at.promotion,
1849
1849
  style: c.promotion,
1850
1850
  children: (lt = c.promotion) == null ? void 0 : lt.children
1851
- }), a(T, {
1851
+ }), a(L, {
1852
1852
  href: (st = c.root) == null ? void 0 : st.offer,
1853
1853
  target: "_blank",
1854
1854
  rel: "nofollow noopener noreferrer",
1855
1855
  className: at.content,
1856
1856
  style: y,
1857
- onClick: () => T === "a" && N(c.id),
1857
+ onClick: () => L === "a" && f(c.id),
1858
1858
  children: [a("img", {
1859
1859
  ref: i,
1860
1860
  className: at.background,
1861
- src: M.imageSource,
1861
+ src: N.imageSource,
1862
1862
  alt: "",
1863
- style: M
1863
+ style: N
1864
1864
  }), a("div", {
1865
1865
  className: at.body,
1866
1866
  style: Y,
@@ -1875,8 +1875,8 @@ const Qu = zt(({
1875
1875
  }))
1876
1876
  }), a("div", {
1877
1877
  className: at.button,
1878
- style: z,
1879
- children: z == null ? void 0 : z.children
1878
+ style: K,
1879
+ children: K == null ? void 0 : K.children
1880
1880
  }), a("div", {
1881
1881
  className: at.legal,
1882
1882
  style: v,
@@ -1913,12 +1913,12 @@ const Qu = zt(({
1913
1913
  onClick: t
1914
1914
  }) => {
1915
1915
  var i, l, _, d, c, u;
1916
- const o = U(), e = B(o), n = (o == null ? void 0 : o.device) || "desktop", r = (o == null ? void 0 : o.OfferTag) || "a", s = St(e.header, ...ut);
1916
+ const o = U(), e = E(o), n = (o == null ? void 0 : o.device) || "desktop", r = (o == null ? void 0 : o.OfferTag) || "a", s = St(e.header, ...ut);
1917
1917
  return a(r, {
1918
1918
  href: (i = e.root) == null ? void 0 : i.offer,
1919
1919
  target: "_blank",
1920
1920
  rel: "nofollow noopener noreferrer",
1921
- className: R(pt.root, {
1921
+ className: H(pt.root, {
1922
1922
  [pt.desktop]: n === "desktop",
1923
1923
  [pt.laptop]: n === "laptop"
1924
1924
  }),
@@ -1966,17 +1966,17 @@ const Qu = zt(({
1966
1966
  }, kp = zt(({
1967
1967
  id: t
1968
1968
  }, o) => {
1969
- var j, C, T;
1969
+ var j, C, L;
1970
1970
  const [e, n] = yt(1 / 0), r = et(null), s = Ot({
1971
1971
  targetRef: r,
1972
1972
  id: t
1973
- }), i = U(), l = Lt(i, s), _ = B(l);
1973
+ }), i = U(), l = Lt(i, s), _ = E(l);
1974
1974
  wt(l);
1975
1975
  const d = h(_, "root.delay", 0), {
1976
1976
  isOpen: c,
1977
1977
  clickHide: u,
1978
1978
  click: p
1979
- } = Ke(o, d, !0), m = h(_, "close.variant", "default"), g = h(_, "close.radius", 21), f = h(_, "close.colorDirection", "default"), N = h(_, "close.timeoutLock", !1), A = m === "timer" ? e <= 0 : !0, O = m === "timer" && N && e > 0 ? "div" : "a", D = (j = _.root) == null ? void 0 : j.corner;
1979
+ } = Ke(o, d, !0), g = h(_, "close.variant", "default"), M = h(_, "close.radius", 21), m = h(_, "close.colorDirection", "default"), f = h(_, "close.timeoutLock", !1), O = g === "timer" ? e <= 0 : !0, x = g === "timer" && f && e > 0 ? "div" : "a", D = (j = _.root) == null ? void 0 : j.corner;
1980
1980
  return a("div", {
1981
1981
  className: Ct.root,
1982
1982
  style: {
@@ -1985,17 +1985,17 @@ const Qu = zt(({
1985
1985
  children: [a("div", {
1986
1986
  className: Ct.overlay,
1987
1987
  style: _.overlay,
1988
- onClick: A && u
1988
+ onClick: O && u
1989
1989
  }), a("div", {
1990
1990
  ref: r,
1991
- className: R(Ct.content, {
1991
+ className: H(Ct.content, {
1992
1992
  [Ct.desktop]: s === "desktop",
1993
1993
  [Ct.laptop]: s === "laptop"
1994
1994
  }),
1995
1995
  style: _.root,
1996
- children: [m === "default" ? a("div", {
1996
+ children: [g === "default" ? a("div", {
1997
1997
  className: Ct.close,
1998
- style: L($({}, _.close), {
1998
+ style: T($({}, _.close), {
1999
1999
  borderBottomLeftRadius: `${D}px`,
2000
2000
  borderTopRightRadius: `${D}px`
2001
2001
  }),
@@ -2008,8 +2008,8 @@ const Qu = zt(({
2008
2008
  className: Ct.closeTimer,
2009
2009
  children: a(Ze, {
2010
2010
  timeout: h(_, "close.timeout"),
2011
- colorDirection: f,
2012
- radius: g,
2011
+ colorDirection: m,
2012
+ radius: M,
2013
2013
  onClick: u,
2014
2014
  onChange: n
2015
2015
  })
@@ -2020,13 +2020,13 @@ const Qu = zt(({
2020
2020
  }), a(W, {
2021
2021
  className: Ct.title,
2022
2022
  style: _.title,
2023
- children: (T = _.title) == null ? void 0 : T.children
2023
+ children: (L = _.title) == null ? void 0 : L.children
2024
2024
  }), a("div", {
2025
2025
  className: Ct.wrapper,
2026
2026
  children: (_.children || []).map((Y) => a(xt, {
2027
- value: L($({}, Y), {
2027
+ value: T($({}, Y), {
2028
2028
  device: s,
2029
- OfferTag: O
2029
+ OfferTag: x
2030
2030
  }),
2031
2031
  children: a($p, {
2032
2032
  onClick: p
@@ -2379,7 +2379,7 @@ const nf = new Set(Object.keys(Yn)), mt = ({
2379
2379
  return a("img", {
2380
2380
  ref: s,
2381
2381
  className: t,
2382
- style: L($({}, e), {
2382
+ style: T($({}, e), {
2383
2383
  height: `calc(${d}px - 20%)`
2384
2384
  }),
2385
2385
  src: _
@@ -2399,13 +2399,13 @@ const nf = new Set(Object.keys(Yn)), mt = ({
2399
2399
  }, rf = ({
2400
2400
  oddFormatter: t
2401
2401
  }) => {
2402
- const o = U(), e = B(o), n = (o == null ? void 0 : o.device) || "desktop", r = h(e, "match.sport_slug"), s = L($({}, e == null ? void 0 : e.teamALogo), {
2402
+ const o = U(), e = E(o), n = (o == null ? void 0 : o.device) || "desktop", r = h(e, "match.sport_slug"), s = T($({}, e == null ? void 0 : e.teamALogo), {
2403
2403
  backgroundImage: h(e, "match.teams[0].logo")
2404
- }), i = L($({}, e == null ? void 0 : e.teamBLogo), {
2404
+ }), i = T($({}, e == null ? void 0 : e.teamBLogo), {
2405
2405
  backgroundImage: h(e, "match.teams[1].logo")
2406
2406
  }), l = h(e, "match.prediction.value");
2407
2407
  return a("div", {
2408
- className: R(J.root, {
2408
+ className: H(J.root, {
2409
2409
  [J.desktop]: n === "desktop",
2410
2410
  [J.laptop]: n === "laptop"
2411
2411
  }),
@@ -2515,45 +2515,45 @@ var Nt = {}, Nf = {
2515
2515
  (function(e, n) {
2516
2516
  t.exports = n();
2517
2517
  })(dt, function() {
2518
- var e = "millisecond", n = "second", r = "minute", s = "hour", i = "day", l = "week", _ = "month", d = "quarter", c = "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, g = function(v, b, y) {
2519
- var M = String(v);
2520
- return !M || M.length >= b ? v : "" + Array(b + 1 - M.length).join(y) + v;
2521
- }, f = { s: g, z: function(v) {
2522
- var b = -v.utcOffset(), y = Math.abs(b), M = Math.floor(y / 60), k = y % 60;
2523
- return (b <= 0 ? "+" : "-") + g(M, 2, "0") + ":" + g(k, 2, "0");
2518
+ var e = "millisecond", n = "second", r = "minute", s = "hour", i = "day", l = "week", _ = "month", d = "quarter", c = "year", u = "date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, g = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = function(v, b, y) {
2519
+ var N = String(v);
2520
+ return !N || N.length >= b ? v : "" + Array(b + 1 - N.length).join(y) + v;
2521
+ }, m = { s: M, z: function(v) {
2522
+ var b = -v.utcOffset(), y = Math.abs(b), N = Math.floor(y / 60), k = y % 60;
2523
+ return (b <= 0 ? "+" : "-") + M(N, 2, "0") + ":" + M(k, 2, "0");
2524
2524
  }, m: function v(b, y) {
2525
2525
  if (b.date() < y.date())
2526
2526
  return -v(y, b);
2527
- var M = 12 * (y.year() - b.year()) + (y.month() - b.month()), k = b.clone().add(M, _), S = y - k < 0, w = b.clone().add(M + (S ? -1 : 1), _);
2528
- return +(-(M + (y - k) / (S ? k - w : w - k)) || 0);
2527
+ var N = 12 * (y.year() - b.year()) + (y.month() - b.month()), k = b.clone().add(N, _), S = y - k < 0, w = b.clone().add(N + (S ? -1 : 1), _);
2528
+ return +(-(N + (y - k) / (S ? k - w : w - k)) || 0);
2529
2529
  }, a: function(v) {
2530
2530
  return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
2531
2531
  }, p: function(v) {
2532
2532
  return { M: _, y: c, w: l, d: i, D: u, h: s, m: r, s: n, ms: e, Q: d }[v] || String(v || "").toLowerCase().replace(/s$/, "");
2533
2533
  }, u: function(v) {
2534
2534
  return v === void 0;
2535
- } }, N = { 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("_") }, A = "en", O = {};
2536
- O[A] = N;
2535
+ } }, f = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, O = "en", x = {};
2536
+ x[O] = f;
2537
2537
  var D = function(v) {
2538
2538
  return v instanceof Y;
2539
2539
  }, j = function(v, b, y) {
2540
- var M;
2540
+ var N;
2541
2541
  if (!v)
2542
- return A;
2542
+ return O;
2543
2543
  if (typeof v == "string")
2544
- O[v] && (M = v), b && (O[v] = b, M = v);
2544
+ x[v] && (N = v), b && (x[v] = b, N = v);
2545
2545
  else {
2546
2546
  var k = v.name;
2547
- O[k] = v, M = k;
2547
+ x[k] = v, N = k;
2548
2548
  }
2549
- return !y && M && (A = M), M || !y && A;
2549
+ return !y && N && (O = N), N || !y && O;
2550
2550
  }, C = function(v, b) {
2551
2551
  if (D(v))
2552
2552
  return v.clone();
2553
2553
  var y = typeof b == "object" ? b : {};
2554
2554
  return y.date = v, y.args = arguments, new Y(y);
2555
- }, T = f;
2556
- T.l = j, T.i = D, T.w = function(v, b) {
2555
+ }, L = m;
2556
+ L.l = j, L.i = D, L.w = function(v, b) {
2557
2557
  return C(v, { locale: b.$L, utc: b.$u, $offset: b.$offset });
2558
2558
  };
2559
2559
  var Y = function() {
@@ -2562,19 +2562,19 @@ var Nt = {}, Nf = {
2562
2562
  }
2563
2563
  var b = v.prototype;
2564
2564
  return b.parse = function(y) {
2565
- this.$d = function(M) {
2566
- var k = M.date, S = M.utc;
2565
+ this.$d = function(N) {
2566
+ var k = N.date, S = N.utc;
2567
2567
  if (k === null)
2568
2568
  return /* @__PURE__ */ new Date(NaN);
2569
- if (T.u(k))
2569
+ if (L.u(k))
2570
2570
  return /* @__PURE__ */ new Date();
2571
2571
  if (k instanceof Date)
2572
2572
  return new Date(k);
2573
2573
  if (typeof k == "string" && !/Z$/i.test(k)) {
2574
2574
  var w = k.match(p);
2575
2575
  if (w) {
2576
- var x = w[2] - 1 || 0, E = (w[7] || "0").substring(0, 3);
2577
- return S ? new Date(Date.UTC(w[1], x, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, E)) : new Date(w[1], x, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, E);
2576
+ var A = w[2] - 1 || 0, R = (w[7] || "0").substring(0, 3);
2577
+ return S ? new Date(Date.UTC(w[1], A, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, R)) : new Date(w[1], A, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, R);
2578
2578
  }
2579
2579
  }
2580
2580
  return new Date(k);
@@ -2583,113 +2583,113 @@ var Nt = {}, Nf = {
2583
2583
  var y = this.$d;
2584
2584
  this.$y = y.getFullYear(), this.$M = y.getMonth(), this.$D = y.getDate(), this.$W = y.getDay(), this.$H = y.getHours(), this.$m = y.getMinutes(), this.$s = y.getSeconds(), this.$ms = y.getMilliseconds();
2585
2585
  }, b.$utils = function() {
2586
- return T;
2586
+ return L;
2587
2587
  }, b.isValid = function() {
2588
2588
  return this.$d.toString() !== "Invalid Date";
2589
- }, b.isSame = function(y, M) {
2589
+ }, b.isSame = function(y, N) {
2590
2590
  var k = C(y);
2591
- return this.startOf(M) <= k && k <= this.endOf(M);
2592
- }, b.isAfter = function(y, M) {
2593
- return C(y) < this.startOf(M);
2594
- }, b.isBefore = function(y, M) {
2595
- return this.endOf(M) < C(y);
2596
- }, b.$g = function(y, M, k) {
2597
- return T.u(y) ? this[M] : this.set(k, y);
2591
+ return this.startOf(N) <= k && k <= this.endOf(N);
2592
+ }, b.isAfter = function(y, N) {
2593
+ return C(y) < this.startOf(N);
2594
+ }, b.isBefore = function(y, N) {
2595
+ return this.endOf(N) < C(y);
2596
+ }, b.$g = function(y, N, k) {
2597
+ return L.u(y) ? this[N] : this.set(k, y);
2598
2598
  }, b.unix = function() {
2599
2599
  return Math.floor(this.valueOf() / 1e3);
2600
2600
  }, b.valueOf = function() {
2601
2601
  return this.$d.getTime();
2602
- }, b.startOf = function(y, M) {
2603
- var k = this, S = !!T.u(M) || M, w = T.p(y), x = function(At, rt) {
2604
- var $t = T.w(k.$u ? Date.UTC(k.$y, rt, At) : new Date(k.$y, rt, At), k);
2602
+ }, b.startOf = function(y, N) {
2603
+ var k = this, S = !!L.u(N) || N, w = L.p(y), A = function(At, rt) {
2604
+ var $t = L.w(k.$u ? Date.UTC(k.$y, rt, At) : new Date(k.$y, rt, At), k);
2605
2605
  return S ? $t : $t.endOf(i);
2606
- }, E = function(At, rt) {
2607
- return T.w(k.toDate()[At].apply(k.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(rt)), k);
2608
- }, H = this.$W, K = this.$M, lt = this.$D, st = "set" + (this.$u ? "UTC" : "");
2606
+ }, R = function(At, rt) {
2607
+ return L.w(k.toDate()[At].apply(k.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(rt)), k);
2608
+ }, B = this.$W, z = this.$M, lt = this.$D, st = "set" + (this.$u ? "UTC" : "");
2609
2609
  switch (w) {
2610
2610
  case c:
2611
- return S ? x(1, 0) : x(31, 11);
2611
+ return S ? A(1, 0) : A(31, 11);
2612
2612
  case _:
2613
- return S ? x(1, K) : x(0, K + 1);
2613
+ return S ? A(1, z) : A(0, z + 1);
2614
2614
  case l:
2615
- var it = this.$locale().weekStart || 0, bt = (H < it ? H + 7 : H) - it;
2616
- return x(S ? lt - bt : lt + (6 - bt), K);
2615
+ var it = this.$locale().weekStart || 0, bt = (B < it ? B + 7 : B) - it;
2616
+ return A(S ? lt - bt : lt + (6 - bt), z);
2617
2617
  case i:
2618
2618
  case u:
2619
- return E(st + "Hours", 0);
2619
+ return R(st + "Hours", 0);
2620
2620
  case s:
2621
- return E(st + "Minutes", 1);
2621
+ return R(st + "Minutes", 1);
2622
2622
  case r:
2623
- return E(st + "Seconds", 2);
2623
+ return R(st + "Seconds", 2);
2624
2624
  case n:
2625
- return E(st + "Milliseconds", 3);
2625
+ return R(st + "Milliseconds", 3);
2626
2626
  default:
2627
2627
  return this.clone();
2628
2628
  }
2629
2629
  }, b.endOf = function(y) {
2630
2630
  return this.startOf(y, !1);
2631
- }, b.$set = function(y, M) {
2632
- var k, S = T.p(y), w = "set" + (this.$u ? "UTC" : ""), x = (k = {}, k[i] = w + "Date", k[u] = w + "Date", k[_] = w + "Month", k[c] = w + "FullYear", k[s] = w + "Hours", k[r] = w + "Minutes", k[n] = w + "Seconds", k[e] = w + "Milliseconds", k)[S], E = S === i ? this.$D + (M - this.$W) : M;
2631
+ }, b.$set = function(y, N) {
2632
+ var k, S = L.p(y), w = "set" + (this.$u ? "UTC" : ""), A = (k = {}, k[i] = w + "Date", k[u] = w + "Date", k[_] = w + "Month", k[c] = w + "FullYear", k[s] = w + "Hours", k[r] = w + "Minutes", k[n] = w + "Seconds", k[e] = w + "Milliseconds", k)[S], R = S === i ? this.$D + (N - this.$W) : N;
2633
2633
  if (S === _ || S === c) {
2634
- var H = this.clone().set(u, 1);
2635
- H.$d[x](E), H.init(), this.$d = H.set(u, Math.min(this.$D, H.daysInMonth())).$d;
2634
+ var B = this.clone().set(u, 1);
2635
+ B.$d[A](R), B.init(), this.$d = B.set(u, Math.min(this.$D, B.daysInMonth())).$d;
2636
2636
  } else
2637
- x && this.$d[x](E);
2637
+ A && this.$d[A](R);
2638
2638
  return this.init(), this;
2639
- }, b.set = function(y, M) {
2640
- return this.clone().$set(y, M);
2639
+ }, b.set = function(y, N) {
2640
+ return this.clone().$set(y, N);
2641
2641
  }, b.get = function(y) {
2642
- return this[T.p(y)]();
2643
- }, b.add = function(y, M) {
2642
+ return this[L.p(y)]();
2643
+ }, b.add = function(y, N) {
2644
2644
  var k, S = this;
2645
2645
  y = Number(y);
2646
- var w = T.p(M), x = function(K) {
2646
+ var w = L.p(N), A = function(z) {
2647
2647
  var lt = C(S);
2648
- return T.w(lt.date(lt.date() + Math.round(K * y)), S);
2648
+ return L.w(lt.date(lt.date() + Math.round(z * y)), S);
2649
2649
  };
2650
2650
  if (w === _)
2651
2651
  return this.set(_, this.$M + y);
2652
2652
  if (w === c)
2653
2653
  return this.set(c, this.$y + y);
2654
2654
  if (w === i)
2655
- return x(1);
2655
+ return A(1);
2656
2656
  if (w === l)
2657
- return x(7);
2658
- var E = (k = {}, k[r] = 6e4, k[s] = 36e5, k[n] = 1e3, k)[w] || 1, H = this.$d.getTime() + y * E;
2659
- return T.w(H, this);
2660
- }, b.subtract = function(y, M) {
2661
- return this.add(-1 * y, M);
2657
+ return A(7);
2658
+ var R = (k = {}, k[r] = 6e4, k[s] = 36e5, k[n] = 1e3, k)[w] || 1, B = this.$d.getTime() + y * R;
2659
+ return L.w(B, this);
2660
+ }, b.subtract = function(y, N) {
2661
+ return this.add(-1 * y, N);
2662
2662
  }, b.format = function(y) {
2663
- var M = this;
2663
+ var N = this;
2664
2664
  if (!this.isValid())
2665
2665
  return "Invalid Date";
2666
- var k = y || "YYYY-MM-DDTHH:mm:ssZ", S = T.z(this), w = this.$locale(), x = this.$H, E = this.$m, H = this.$M, K = w.weekdays, lt = w.months, st = function(rt, $t, Vt, Ht) {
2667
- return rt && (rt[$t] || rt(M, k)) || Vt[$t].substr(0, Ht);
2666
+ var k = y || "YYYY-MM-DDTHH:mm:ssZ", S = L.z(this), w = this.$locale(), A = this.$H, R = this.$m, B = this.$M, z = w.weekdays, lt = w.months, st = function(rt, $t, Vt, Ht) {
2667
+ return rt && (rt[$t] || rt(N, k)) || Vt[$t].substr(0, Ht);
2668
2668
  }, it = function(rt) {
2669
- return T.s(x % 12 || 12, rt, "0");
2669
+ return L.s(A % 12 || 12, rt, "0");
2670
2670
  }, bt = w.meridiem || function(rt, $t, Vt) {
2671
2671
  var Ht = rt < 12 ? "AM" : "PM";
2672
2672
  return Vt ? Ht.toLowerCase() : Ht;
2673
- }, At = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: H + 1, MM: T.s(H + 1, 2, "0"), MMM: st(w.monthsShort, H, lt, 3), MMMM: st(lt, H), D: this.$D, DD: T.s(this.$D, 2, "0"), d: String(this.$W), dd: st(w.weekdaysMin, this.$W, K, 2), ddd: st(w.weekdaysShort, this.$W, K, 3), dddd: K[this.$W], H: String(x), HH: T.s(x, 2, "0"), h: it(1), hh: it(2), a: bt(x, E, !0), A: bt(x, E, !1), m: String(E), mm: T.s(E, 2, "0"), s: String(this.$s), ss: T.s(this.$s, 2, "0"), SSS: T.s(this.$ms, 3, "0"), Z: S };
2674
- return k.replace(m, function(rt, $t) {
2673
+ }, At = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: B + 1, MM: L.s(B + 1, 2, "0"), MMM: st(w.monthsShort, B, lt, 3), MMMM: st(lt, B), D: this.$D, DD: L.s(this.$D, 2, "0"), d: String(this.$W), dd: st(w.weekdaysMin, this.$W, z, 2), ddd: st(w.weekdaysShort, this.$W, z, 3), dddd: z[this.$W], H: String(A), HH: L.s(A, 2, "0"), h: it(1), hh: it(2), a: bt(A, R, !0), A: bt(A, R, !1), m: String(R), mm: L.s(R, 2, "0"), s: String(this.$s), ss: L.s(this.$s, 2, "0"), SSS: L.s(this.$ms, 3, "0"), Z: S };
2674
+ return k.replace(g, function(rt, $t) {
2675
2675
  return $t || At[rt] || S.replace(":", "");
2676
2676
  });
2677
2677
  }, b.utcOffset = function() {
2678
2678
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2679
- }, b.diff = function(y, M, k) {
2680
- var S, w = T.p(M), x = C(y), E = 6e4 * (x.utcOffset() - this.utcOffset()), H = this - x, K = T.m(this, x);
2681
- return K = (S = {}, S[c] = K / 12, S[_] = K, S[d] = K / 3, S[l] = (H - E) / 6048e5, S[i] = (H - E) / 864e5, S[s] = H / 36e5, S[r] = H / 6e4, S[n] = H / 1e3, S)[w] || H, k ? K : T.a(K);
2679
+ }, b.diff = function(y, N, k) {
2680
+ var S, w = L.p(N), A = C(y), R = 6e4 * (A.utcOffset() - this.utcOffset()), B = this - A, z = L.m(this, A);
2681
+ return z = (S = {}, S[c] = z / 12, S[_] = z, S[d] = z / 3, S[l] = (B - R) / 6048e5, S[i] = (B - R) / 864e5, S[s] = B / 36e5, S[r] = B / 6e4, S[n] = B / 1e3, S)[w] || B, k ? z : L.a(z);
2682
2682
  }, b.daysInMonth = function() {
2683
2683
  return this.endOf(_).$D;
2684
2684
  }, b.$locale = function() {
2685
- return O[this.$L];
2686
- }, b.locale = function(y, M) {
2685
+ return x[this.$L];
2686
+ }, b.locale = function(y, N) {
2687
2687
  if (!y)
2688
2688
  return this.$L;
2689
- var k = this.clone(), S = j(y, M, !0);
2689
+ var k = this.clone(), S = j(y, N, !0);
2690
2690
  return S && (k.$L = S), k;
2691
2691
  }, b.clone = function() {
2692
- return T.w(this.$d, this);
2692
+ return L.w(this.$d, this);
2693
2693
  }, b.toDate = function() {
2694
2694
  return new Date(this.valueOf());
2695
2695
  }, b.toJSON = function() {
@@ -2699,16 +2699,16 @@ var Nt = {}, Nf = {
2699
2699
  }, b.toString = function() {
2700
2700
  return this.$d.toUTCString();
2701
2701
  }, v;
2702
- }(), z = Y.prototype;
2703
- return C.prototype = z, [["$ms", e], ["$s", n], ["$m", r], ["$H", s], ["$W", i], ["$M", _], ["$y", c], ["$D", u]].forEach(function(v) {
2704
- z[v[1]] = function(b) {
2702
+ }(), K = Y.prototype;
2703
+ return C.prototype = K, [["$ms", e], ["$s", n], ["$m", r], ["$H", s], ["$W", i], ["$M", _], ["$y", c], ["$D", u]].forEach(function(v) {
2704
+ K[v[1]] = function(b) {
2705
2705
  return this.$g(b, v[0], v[1]);
2706
2706
  };
2707
2707
  }), C.extend = function(v, b) {
2708
2708
  return v(b, Y, C), C;
2709
2709
  }, C.locale = j, C.isDayjs = D, C.unix = function(v) {
2710
2710
  return C(1e3 * v);
2711
- }, C.en = O[A], C.Ls = O, C;
2711
+ }, C.en = x[O], C.Ls = x, C;
2712
2712
  });
2713
2713
  })(Nf);
2714
2714
  const Tf = Nt;
@@ -2726,16 +2726,16 @@ var Ko = {}, Lf = {
2726
2726
  })(dt, function(e) {
2727
2727
  e = e && e.hasOwnProperty("default") ? e.default : e;
2728
2728
  var n = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), r = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), s = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), i = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), l = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
2729
- function _(p, m, g) {
2730
- var f, N;
2731
- return g === "m" ? m ? "минута" : "минуту" : p + " " + (f = +p, N = { mm: m ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[g].split("_"), f % 10 == 1 && f % 100 != 11 ? N[0] : f % 10 >= 2 && f % 10 <= 4 && (f % 100 < 10 || f % 100 >= 20) ? N[1] : N[2]);
2729
+ function _(p, g, M) {
2730
+ var m, f;
2731
+ return M === "m" ? g ? "минута" : "минуту" : p + " " + (m = +p, f = { mm: g ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[M].split("_"), m % 10 == 1 && m % 100 != 11 ? f[0] : m % 10 >= 2 && m % 10 <= 4 && (m % 100 < 10 || m % 100 >= 20) ? f[1] : f[2]);
2732
2732
  }
2733
- var d = function(p, m) {
2734
- return l.test(m) ? n[p.month()] : r[p.month()];
2733
+ var d = function(p, g) {
2734
+ return l.test(g) ? n[p.month()] : r[p.month()];
2735
2735
  };
2736
2736
  d.s = r, d.f = n;
2737
- var c = function(p, m) {
2738
- return l.test(m) ? s[p.month()] : i[p.month()];
2737
+ var c = function(p, g) {
2738
+ return l.test(g) ? s[p.month()] : i[p.month()];
2739
2739
  };
2740
2740
  c.s = i, c.f = s;
2741
2741
  var u = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: d, monthsShort: c, weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY г.", LLL: "D MMMM YYYY г., H:mm", LLLL: "dddd, D MMMM YYYY г., H:mm" }, relativeTime: { future: "через %s", past: "%s назад", s: "несколько секунд", m: _, mm: _, h: "час", hh: _, d: "день", dd: _, M: "месяц", MM: _, y: "год", yy: _ }, ordinal: function(p) {
@@ -2876,20 +2876,20 @@ var en = {}, jf = {
2876
2876
  return c % 10 < 5 && c % 10 > 1 && ~~(c / 10) % 10 != 1;
2877
2877
  }
2878
2878
  function r(c, u, p) {
2879
- var m = c + " ";
2879
+ var g = c + " ";
2880
2880
  switch (p) {
2881
2881
  case "m":
2882
2882
  return u ? "minuta" : "minutę";
2883
2883
  case "mm":
2884
- return m + (n(c) ? "minuty" : "minut");
2884
+ return g + (n(c) ? "minuty" : "minut");
2885
2885
  case "h":
2886
2886
  return u ? "godzina" : "godzinę";
2887
2887
  case "hh":
2888
- return m + (n(c) ? "godziny" : "godzin");
2888
+ return g + (n(c) ? "godziny" : "godzin");
2889
2889
  case "MM":
2890
- return m + (n(c) ? "miesiące" : "miesięcy");
2890
+ return g + (n(c) ? "miesiące" : "miesięcy");
2891
2891
  case "yy":
2892
- return m + (n(c) ? "lata" : "lat");
2892
+ return g + (n(c) ? "lata" : "lat");
2893
2893
  }
2894
2894
  }
2895
2895
  e = e && e.hasOwnProperty("default") ? e.default : e;
@@ -2913,19 +2913,19 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
2913
2913
  }, If = ({
2914
2914
  oddFormatter: t
2915
2915
  }) => {
2916
- const o = U(), e = B(o), n = (o == null ? void 0 : o.device) || "desktop", r = L($({}, e == null ? void 0 : e.teamALogo), {
2916
+ const o = U(), e = E(o), n = (o == null ? void 0 : o.device) || "desktop", r = T($({}, e == null ? void 0 : e.teamALogo), {
2917
2917
  backgroundImage: h(e, "match.teams[0].logo")
2918
- }), s = L($({}, e == null ? void 0 : e.teamBLogo), {
2918
+ }), s = T($({}, e == null ? void 0 : e.teamBLogo), {
2919
2919
  backgroundImage: h(e, "match.teams[1].logo")
2920
2920
  }), i = h(e, "match.lang_slug", "ru"), l = h(e, "match.sport_slug"), _ = on(h(e, "match.match_date"), "HH:mm", i), d = on(h(e, "match.match_date"), "DD MMMM", i), u = h(e, "root.predictionLength", "full") === "full" ? h(e, "match.prediction.value") : h(e, "match.prediction.value_short") || h(e, "match.prediction.value"), p = Number(h(e, "match.prediction.factor", 0)).toFixed(2);
2921
2921
  return a("div", {
2922
- className: R(ot.root, {
2922
+ className: H(ot.root, {
2923
2923
  [ot.desktop]: n === "desktop",
2924
2924
  [ot.laptop]: n === "laptop",
2925
2925
  [ot.tablet]: n === "tablet"
2926
2926
  }),
2927
2927
  children: [a("div", {
2928
- className: R(ot.side, ot.side_left),
2928
+ className: H(ot.side, ot.side_left),
2929
2929
  children: [a(mt, {
2930
2930
  className: ot.teamLogo,
2931
2931
  style: r,
@@ -2935,7 +2935,7 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
2935
2935
  }), a("div", {
2936
2936
  className: ot.teamName,
2937
2937
  style: e.teams,
2938
- children: a(Dt, L($({}, h(e, "match.teams[0]")), {
2938
+ children: a(Dt, T($({}, h(e, "match.teams[0]")), {
2939
2939
  fallback: "Team A"
2940
2940
  }))
2941
2941
  })]
@@ -2965,7 +2965,7 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
2965
2965
  })]
2966
2966
  })]
2967
2967
  }), a("div", {
2968
- className: R(ot.side, ot.side_right),
2968
+ className: H(ot.side, ot.side_right),
2969
2969
  children: [a(mt, {
2970
2970
  className: ot.teamLogo,
2971
2971
  style: s,
@@ -2975,7 +2975,7 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
2975
2975
  }), a("div", {
2976
2976
  className: ot.teamName,
2977
2977
  style: e.teams,
2978
- children: a(Dt, L($({}, h(e, "match.teams[1]")), {
2978
+ children: a(Dt, T($({}, h(e, "match.teams[1]")), {
2979
2979
  fallback: "Team B"
2980
2980
  }))
2981
2981
  })]
@@ -3012,10 +3012,10 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
3012
3012
  let u = t;
3013
3013
  if (e) {
3014
3014
  const p = new URLSearchParams();
3015
- Object.entries(e).forEach(([m, g]) => {
3016
- Array.isArray(g) ? g.forEach((f, N) => {
3017
- f && p.append(`${m}[${N}]`, f);
3018
- }) : g && p.append(m, g);
3015
+ Object.entries(e).forEach(([g, M]) => {
3016
+ Array.isArray(M) ? M.forEach((m, f) => {
3017
+ m && p.append(`${g}[${f}]`, m);
3018
+ }) : M && p.append(g, M);
3019
3019
  }), u += `?${p.toString()}`;
3020
3020
  }
3021
3021
  return u;
@@ -3032,8 +3032,8 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
3032
3032
  headers: {
3033
3033
  "Content-Type": "application/json"
3034
3034
  }
3035
- }).then((m) => m.json()).catch((m) => {
3036
- console.error(m), i(!1);
3035
+ }).then((g) => g.json()).catch((g) => {
3036
+ console.error(g), i(!1);
3037
3037
  });
3038
3038
  p && (ue.set(u, p.data), _(p.data)), i(!1);
3039
3039
  }), [d, o, n, r]);
@@ -3141,12 +3141,12 @@ const Df = (t) => {
3141
3141
  Le(i, s) || _();
3142
3142
  }, [s, e]);
3143
3143
  const c = r.map((u) => {
3144
- const p = (l || []).find((f) => f.slug === u.root.targetMatch.matchSlug);
3144
+ const p = (l || []).find((m) => m.slug === u.root.targetMatch.matchSlug);
3145
3145
  if (!p)
3146
3146
  return;
3147
- const m = ne(p), g = ze(m, u.root.customMatch, (f, [N, A]) => V(A));
3148
- return L($({}, u), {
3149
- match: g
3147
+ const g = ne(p), M = ze(g, u.root.customMatch, (m, [f, O]) => V(O));
3148
+ return T($({}, u), {
3149
+ match: M
3150
3150
  });
3151
3151
  }).filter(Boolean);
3152
3152
  return d && e && (d.lang_slug = e.langSlug), {
@@ -3164,59 +3164,59 @@ const Df = (t) => {
3164
3164
  id: t
3165
3165
  }), _ = U(), d = Lt(_, l);
3166
3166
  d && (Bt(d, "buttonWrapper.percent_width", (lt = d == null ? void 0 : d.buttonWrapper) == null ? void 0 : lt.width), Bt(d, "legal.percent_width", (st = d == null ? void 0 : d.legal) == null ? void 0 : st.width));
3167
- const c = B(d);
3167
+ const c = E(d);
3168
3168
  wt(d);
3169
- const u = h(c, "root.delay", 0), m = h(c, "children", []).find((Ce) => Ce.name === "auto"), {
3170
- isOpen: g,
3171
- apiHost: f,
3172
- clickHide: N,
3173
- click: A
3174
- } = Ke(n, u, !0), O = h(c, "close.variant", "default"), D = h(c, "close.radius", 21), j = h(c, "close.colorDirection", "default"), C = h(c, "close.timeoutLock", !1), T = O === "timer" ? r <= 0 : !0, Y = O === "timer" && C && r > 0 ? "div" : "a", {
3175
- expressMatches: z,
3169
+ const u = h(c, "root.delay", 0), g = h(c, "children", []).find((Ce) => Ce.name === "auto"), {
3170
+ isOpen: M,
3171
+ apiHost: m,
3172
+ clickHide: f,
3173
+ click: O
3174
+ } = Ke(n, u, !0), x = h(c, "close.variant", "default"), D = h(c, "close.radius", 21), j = h(c, "close.colorDirection", "default"), C = h(c, "close.timeoutLock", !1), L = x === "timer" ? r <= 0 : !0, Y = x === "timer" && C && r > 0 ? "div" : "a", {
3175
+ expressMatches: K,
3176
3176
  autoMatch: v
3177
- } = Rf(d, f, m ? o : void 0);
3178
- m && (m.match = v);
3179
- const b = L($({}, c.root), {
3177
+ } = Rf(d, m, g ? o : void 0);
3178
+ g && (g.match = v);
3179
+ const b = T($({}, c.root), {
3180
3180
  alignItems: jt((it = c.root) == null ? void 0 : it.align)
3181
- }), y = L($({}, c.content), {
3181
+ }), y = T($({}, c.content), {
3182
3182
  alignItems: jt((bt = c.root) == null ? void 0 : bt.align)
3183
- }), M = L($({}, c.text), {
3183
+ }), N = T($({}, c.text), {
3184
3184
  textAlign: (At = c.root) == null ? void 0 : At.align
3185
- }), k = L($({}, c == null ? void 0 : c.button), {
3185
+ }), k = T($({}, c == null ? void 0 : c.button), {
3186
3186
  justifyContent: jt((rt = c.root) == null ? void 0 : rt.textAlign)
3187
- }), S = L($({}, c == null ? void 0 : c.legal), {
3187
+ }), S = T($({}, c == null ? void 0 : c.legal), {
3188
3188
  justifyContent: jt(($t = c.root) == null ? void 0 : $t.textAlign)
3189
- }), w = +h(m, "root.bonusValue", 0), x = +h(m, "match.prediction.factor", 0), E = En((Vt = c.text) == null ? void 0 : Vt.children, {
3189
+ }), w = +h(g, "root.bonusValue", 0), A = +h(g, "match.prediction.factor", 0), R = En((Vt = c.text) == null ? void 0 : Vt.children, {
3190
3190
  bonusValue: w,
3191
- clearResult: (w * x - w).toFixed(0),
3192
- rawResult: (w * x).toFixed(0),
3193
- rate: x
3191
+ clearResult: (w * A - w).toFixed(0),
3192
+ rawResult: (w * A).toFixed(0),
3193
+ rate: A
3194
3194
  }, {
3195
3195
  parse: !1
3196
- }), H = x === 0 ? h(c, "text.fallbackChildren") : E, K = (Ht = c.root) == null ? void 0 : Ht.corner;
3196
+ }), B = A === 0 ? h(c, "text.fallbackChildren") : R, z = (Ht = c.root) == null ? void 0 : Ht.corner;
3197
3197
  return a("div", {
3198
- className: R(tt.root, {
3198
+ className: H(tt.root, {
3199
3199
  [tt.desktop]: l === "desktop",
3200
3200
  [tt.laptop]: l === "laptop",
3201
3201
  [tt.tablet]: l === "tablet"
3202
3202
  }),
3203
3203
  ref: i,
3204
3204
  style: {
3205
- display: g ? "flex" : "none"
3205
+ display: M ? "flex" : "none"
3206
3206
  },
3207
3207
  children: [a("div", {
3208
3208
  className: tt.overlay,
3209
3209
  style: c.overlay,
3210
- onClick: T && N
3210
+ onClick: L && f
3211
3211
  }), a("div", {
3212
3212
  className: tt.content,
3213
- children: [O === "default" ? a("div", {
3213
+ children: [x === "default" ? a("div", {
3214
3214
  className: tt.close,
3215
- style: L($({}, c.close), {
3216
- borderBottomLeftRadius: `${K}px`,
3217
- borderTopRightRadius: `${K}px`
3215
+ style: T($({}, c.close), {
3216
+ borderBottomLeftRadius: `${z}px`,
3217
+ borderTopRightRadius: `${z}px`
3218
3218
  }),
3219
- onClick: N,
3219
+ onClick: f,
3220
3220
  children: a(Rt, {
3221
3221
  width: 11,
3222
3222
  height: 11
@@ -3227,7 +3227,7 @@ const Df = (t) => {
3227
3227
  timeout: h(c, "close.timeout"),
3228
3228
  colorDirection: j,
3229
3229
  radius: D,
3230
- onClick: N,
3230
+ onClick: f,
3231
3231
  onChange: s
3232
3232
  })
3233
3233
  }), a(W, {
@@ -3239,7 +3239,7 @@ const Df = (t) => {
3239
3239
  href: (Qe = c.root) == null ? void 0 : Qe.offer,
3240
3240
  target: "_blank",
3241
3241
  rel: "nofollow noopener noreferrer",
3242
- onClick: () => Y === "a" && A(c.id),
3242
+ onClick: () => Y === "a" && O(c.id),
3243
3243
  children: a("div", {
3244
3244
  className: tt.body,
3245
3245
  style: b,
@@ -3256,14 +3256,14 @@ const Df = (t) => {
3256
3256
  }), a("div", {
3257
3257
  className: tt.wrapper,
3258
3258
  style: y,
3259
- children: [(z != null ? z : []).map((Ce) => a(xt, {
3260
- value: L($({}, Ce), {
3259
+ children: [(K != null ? K : []).map((Ce) => a(xt, {
3260
+ value: T($({}, Ce), {
3261
3261
  device: l
3262
3262
  }),
3263
3263
  oddFormatter: e,
3264
3264
  children: a(rf, {})
3265
- })), m && a(xt, {
3266
- value: L($({}, m), {
3265
+ })), g && a(xt, {
3266
+ value: T($({}, g), {
3267
3267
  device: l
3268
3268
  }),
3269
3269
  children: a(If, {
@@ -3272,10 +3272,10 @@ const Df = (t) => {
3272
3272
  })]
3273
3273
  }), a(W, {
3274
3274
  className: tt.text,
3275
- style: M,
3276
- typography: M.typography,
3277
- accentTypography: M.accentTypography,
3278
- children: H
3275
+ style: N,
3276
+ typography: N.typography,
3277
+ accentTypography: N.accentTypography,
3278
+ children: B
3279
3279
  }), a("div", {
3280
3280
  className: tt.button,
3281
3281
  style: c.buttonWrapper,
@@ -3313,8 +3313,8 @@ const Df = (t) => {
3313
3313
  }, Jf = ({
3314
3314
  onClick: t
3315
3315
  }) => {
3316
- var i, l, _, d, c, u, p, m, g, f, N;
3317
- const o = U(), e = B(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((_ = (l = e.legalInfoButton) == null ? void 0 : l.closeText) == null ? void 0 : _.length) > 0);
3316
+ var i, l, _, d, c, u, p, g, M, m, f;
3317
+ const o = U(), e = E(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((_ = (l = e.legalInfoButton) == null ? void 0 : l.closeText) == null ? void 0 : _.length) > 0);
3318
3318
  return a("div", {
3319
3319
  className: ft.root,
3320
3320
  style: vt(e.root, ...ut),
@@ -3344,22 +3344,22 @@ const Df = (t) => {
3344
3344
  }), a("div", {
3345
3345
  className: ft.button,
3346
3346
  style: e.button,
3347
- children: (m = e.button) == null ? void 0 : m.children
3347
+ children: (g = e.button) == null ? void 0 : g.children
3348
3348
  })]
3349
3349
  }), a("div", {
3350
- className: R(ft.legal, {
3350
+ className: H(ft.legal, {
3351
3351
  [ft.legalOpen]: n,
3352
3352
  [ft.legalStatic]: !s
3353
3353
  }),
3354
3354
  style: e.legalInfo,
3355
3355
  children: [a("div", {
3356
3356
  className: ft.legalText,
3357
- children: (g = e.legalInfo) == null ? void 0 : g.children
3357
+ children: (M = e.legalInfo) == null ? void 0 : M.children
3358
3358
  }), a("div", {
3359
3359
  className: ft.legalButton,
3360
3360
  style: e.legalInfoButton,
3361
3361
  onClick: r,
3362
- children: n ? (f = e.legalInfoButton) == null ? void 0 : f.openText : (N = e.legalInfoButton) == null ? void 0 : N.closeText
3362
+ children: n ? (m = e.legalInfoButton) == null ? void 0 : m.openText : (f = e.legalInfoButton) == null ? void 0 : f.closeText
3363
3363
  })]
3364
3364
  })]
3365
3365
  });
@@ -3374,7 +3374,7 @@ const Df = (t) => {
3374
3374
  onClick: e
3375
3375
  };
3376
3376
  }, Xf = zt((t, o) => {
3377
- const e = et(null), n = U(), s = Lt(n, "mobile"), i = B(s);
3377
+ const e = et(null), n = U(), s = Lt(n, "mobile"), i = E(s);
3378
3378
  wt(s);
3379
3379
  const {
3380
3380
  click: l
@@ -3418,9 +3418,9 @@ const Df = (t) => {
3418
3418
  desktop: yg
3419
3419
  }, vg = () => {
3420
3420
  var e, n, r;
3421
- const t = U(), o = B(t);
3421
+ const t = U(), o = E(t);
3422
3422
  return a("div", {
3423
- className: R(nn.root, {
3423
+ className: H(nn.root, {
3424
3424
  [nn.desktop]: (t == null ? void 0 : t.device) === "desktop"
3425
3425
  }),
3426
3426
  style: vt(o.root, ...ut),
@@ -3453,15 +3453,15 @@ const Df = (t) => {
3453
3453
  oddFormatter: t
3454
3454
  }) => {
3455
3455
  var l, _;
3456
- const o = U(), e = B(o), n = h(e, "match.sportSlug"), r = vt(e.root, ...ut), s = L($({}, e.teamLogo), {
3456
+ const o = U(), e = E(o), n = h(e, "match.sportSlug"), r = vt(e.root, ...ut), s = T($({}, e.teamLogo), {
3457
3457
  backgroundImage: Wt(h(e, "match.teams[0].logo"), [120, 120]),
3458
3458
  backgroundColor: "transparent"
3459
- }), i = L($({}, e.teamLogo), {
3459
+ }), i = T($({}, e.teamLogo), {
3460
3460
  backgroundImage: Wt(h(e, "match.teams[1].logo"), [120, 120]),
3461
3461
  backgroundColor: "transparent"
3462
3462
  });
3463
3463
  return a("div", {
3464
- className: R(X.root, {
3464
+ className: H(X.root, {
3465
3465
  [X.desktop]: o.device === "desktop",
3466
3466
  [X.laptop]: o.device === "laptop",
3467
3467
  [X.tablet]: o.device === "tablet"
@@ -3532,13 +3532,13 @@ const Df = (t) => {
3532
3532
  children: [a("div", {
3533
3533
  className: X.teamName,
3534
3534
  style: e.teamName,
3535
- children: a(Dt, L($({}, h(e, "match.teams[0]")), {
3535
+ children: a(Dt, T($({}, h(e, "match.teams[0]")), {
3536
3536
  fallback: "Team A"
3537
3537
  }))
3538
3538
  }), a("div", {
3539
3539
  className: X.teamName,
3540
3540
  style: e.teamName,
3541
- children: a(Dt, L($({}, h(e, "match.teams[1]")), {
3541
+ children: a(Dt, T($({}, h(e, "match.teams[1]")), {
3542
3542
  fallback: "Team B"
3543
3543
  }))
3544
3544
  })]
@@ -3565,15 +3565,15 @@ const Df = (t) => {
3565
3565
  oddFormatter: t
3566
3566
  }) => {
3567
3567
  var i, l;
3568
- const o = U(), e = B(o), n = h(e, "match.sportSlug"), r = L($($({}, St(e.root, ...ut)), e.teamLogo), {
3568
+ const o = U(), e = E(o), n = h(e, "match.sportSlug"), r = T($($({}, St(e.root, ...ut)), e.teamLogo), {
3569
3569
  backgroundColor: "transparent",
3570
3570
  backgroundImage: Wt(h(e, "match.teams[0].logo"), [120, 120])
3571
- }), s = L($($({}, St(e.root, ...ut)), e.teamLogo), {
3571
+ }), s = T($($({}, St(e.root, ...ut)), e.teamLogo), {
3572
3572
  backgroundColor: "transparent",
3573
3573
  backgroundImage: Wt(h(e, "match.teams[1].logo"), [120, 120])
3574
3574
  });
3575
3575
  return a("div", {
3576
- className: R(nt.root, {
3576
+ className: H(nt.root, {
3577
3577
  [nt.desktop]: (o == null ? void 0 : o.device) === "desktop",
3578
3578
  [nt.laptop]: (o == null ? void 0 : o.device) === "laptop",
3579
3579
  [nt.tablet]: (o == null ? void 0 : o.device) === "tablet",
@@ -3613,13 +3613,13 @@ const Df = (t) => {
3613
3613
  children: [a("div", {
3614
3614
  className: nt.teamName,
3615
3615
  style: e.teamName,
3616
- children: a(Dt, L($({}, h(e, "match.teams[0]")), {
3616
+ children: a(Dt, T($({}, h(e, "match.teams[0]")), {
3617
3617
  fallback: "Team A"
3618
3618
  }))
3619
3619
  }), a("div", {
3620
3620
  className: nt.teamName,
3621
3621
  style: e.teamName,
3622
- children: a(Dt, L($({}, h(e, "match.teams[1]")), {
3622
+ children: a(Dt, T($({}, h(e, "match.teams[1]")), {
3623
3623
  fallback: "Team B"
3624
3624
  }))
3625
3625
  })]
@@ -3660,9 +3660,9 @@ const Df = (t) => {
3660
3660
  matchesOneTwo: "one_two"
3661
3661
  }, rn = (t) => [Qg[t]], th = (t, o, e) => {
3662
3662
  const n = (p) => {
3663
- var m;
3664
- return V(p == null ? void 0 : p.matchSlug) && ((m = p == null ? void 0 : p.matchSlug) == null ? void 0 : m.length) > 0 || (p == null ? void 0 : p.isAuto);
3665
- }, r = (t == null ? void 0 : t.children) || [], s = r.filter((p) => n(p.root.targetMatch)).map((p) => L($({}, p.root.targetMatch), {
3663
+ var g;
3664
+ return V(p == null ? void 0 : p.matchSlug) && ((g = p == null ? void 0 : p.matchSlug) == null ? void 0 : g.length) > 0 || (p == null ? void 0 : p.isAuto);
3665
+ }, r = (t == null ? void 0 : t.children) || [], s = r.filter((p) => n(p.root.targetMatch)).map((p) => T($({}, p.root.targetMatch), {
3666
3666
  markets: rn(p.name)
3667
3667
  })), i = s.find((p) => p.isAuto), l = we(s), {
3668
3668
  data: _,
@@ -3686,7 +3686,7 @@ const Df = (t) => {
3686
3686
  dependsOn: "markets",
3687
3687
  apiHost: o,
3688
3688
  pause: !i || !e,
3689
- match: L($({}, e), {
3689
+ match: T($({}, e), {
3690
3690
  markets: i == null ? void 0 : i.markets,
3691
3691
  bookmaker: i == null ? void 0 : i.bookmaker
3692
3692
  })
@@ -3694,21 +3694,21 @@ const Df = (t) => {
3694
3694
  return Q(() => {
3695
3695
  Le(l, s) || d();
3696
3696
  }, [s]), r.map((p) => {
3697
- var m, g;
3697
+ var g, M;
3698
3698
  if ("targetMatch" in p.root) {
3699
- const f = rn(p.name), N = (_ || []).find((j) => j.slug === p.root.targetMatch.matchSlug);
3700
- if (((g = (m = p == null ? void 0 : p.root) == null ? void 0 : m.targetMatch) == null ? void 0 : g.isAuto) && c)
3701
- return L($({}, p), {
3699
+ const m = rn(p.name), f = (_ || []).find((j) => j.slug === p.root.targetMatch.matchSlug);
3700
+ if (((M = (g = p == null ? void 0 : p.root) == null ? void 0 : g.targetMatch) == null ? void 0 : M.isAuto) && c)
3701
+ return T($({}, p), {
3702
3702
  match: ne(c, {
3703
- markets: f
3703
+ markets: m
3704
3704
  })
3705
3705
  });
3706
- if (!N)
3706
+ if (!f)
3707
3707
  return;
3708
- const O = ne(N, {
3709
- markets: f
3710
- }), D = ze(O, p.root.customMatch, (j, [C, T]) => V(T));
3711
- return L($({}, p), {
3708
+ const x = ne(f, {
3709
+ markets: m
3710
+ }), D = ze(x, p.root.customMatch, (j, [C, L]) => V(L));
3711
+ return T($({}, p), {
3712
3712
  match: D
3713
3713
  });
3714
3714
  }
@@ -3722,11 +3722,11 @@ const Df = (t) => {
3722
3722
  onClose: r,
3723
3723
  onClick: s
3724
3724
  }) => {
3725
- var j, C, T, Y, z;
3725
+ var j, C, L, Y, K;
3726
3726
  const i = et(null), l = U(), _ = Ot({
3727
3727
  id: t,
3728
3728
  targetRef: i
3729
- }), d = Lt(l, _), c = B(d);
3729
+ }), d = Lt(l, _), c = E(d);
3730
3730
  wt(d);
3731
3731
  const u = th(c, n, o), p = (v) => ({
3732
3732
  text: a(vg, {}),
@@ -3736,25 +3736,25 @@ const Df = (t) => {
3736
3736
  matchesOneTwo: a(qg, {
3737
3737
  oddFormatter: e
3738
3738
  })
3739
- })[v], m = u.filter(Boolean).map((v) => {
3739
+ })[v], g = u.filter(Boolean).map((v) => {
3740
3740
  var b, y;
3741
- return L($({}, v), {
3741
+ return T($({}, v), {
3742
3742
  animationName: (b = v == null ? void 0 : v.root) == null ? void 0 : b.animationName,
3743
3743
  animationDuration: ((y = v == null ? void 0 : v.root) == null ? void 0 : y.animationDuration) || eh
3744
3744
  });
3745
3745
  }), {
3746
- animatedIdx: g,
3747
- countOfTick: f
3748
- } = Xg(m), N = B(m[g] || {}), A = (m == null ? void 0 : m.length) > 1, O = vt(c.root, ...ut), D = (j = N == null ? void 0 : N.root) != null && j.hasCustomBackground ? St((N == null ? void 0 : N.root) || {}, ...ut) : St(c.root, ...ut);
3746
+ animatedIdx: M,
3747
+ countOfTick: m
3748
+ } = Xg(g), f = E(g[M] || {}), O = (g == null ? void 0 : g.length) > 1, x = vt(c.root, ...ut), D = (j = f == null ? void 0 : f.root) != null && j.hasCustomBackground ? St((f == null ? void 0 : f.root) || {}, ...ut) : St(c.root, ...ut);
3749
3749
  return a("div", {
3750
3750
  ref: i,
3751
- className: R(q.root, {
3751
+ className: H(q.root, {
3752
3752
  [q.desktop]: _ === "desktop",
3753
3753
  [q.laptop]: _ === "laptop",
3754
3754
  [q.tablet]: _ === "tablet",
3755
3755
  [q.variant2]: ((C = c.root) == null ? void 0 : C.variant) === "variant2"
3756
3756
  }),
3757
- style: O,
3757
+ style: x,
3758
3758
  children: [a("div", {
3759
3759
  className: q.close,
3760
3760
  style: c.close,
@@ -3766,7 +3766,7 @@ const Df = (t) => {
3766
3766
  }), a("div", {
3767
3767
  className: q.promotion,
3768
3768
  style: c.promotion,
3769
- children: (T = c.promotion) == null ? void 0 : T.children
3769
+ children: (L = c.promotion) == null ? void 0 : L.children
3770
3770
  }), a("a", {
3771
3771
  href: (Y = c.root) == null ? void 0 : Y.offer,
3772
3772
  target: "_blank",
@@ -3785,16 +3785,16 @@ const Df = (t) => {
3785
3785
  })
3786
3786
  }), a("div", {
3787
3787
  className: q.center,
3788
- children: (m || []).map((v, b) => {
3789
- var y, M;
3788
+ children: (g || []).map((v, b) => {
3789
+ var y, N;
3790
3790
  return a("div", {
3791
3791
  className: q.slide,
3792
- style: A ? {
3793
- animationName: g === b ? q[((y = v.root) == null ? void 0 : y.animationName) || "fade-in-out"] : "none",
3794
- animationDuration: `${(M = v.root) == null ? void 0 : M.animationDuration}ms`
3792
+ style: O ? {
3793
+ animationName: M === b ? q[((y = v.root) == null ? void 0 : y.animationName) || "fade-in-out"] : "none",
3794
+ animationDuration: `${(N = v.root) == null ? void 0 : N.animationDuration}ms`
3795
3795
  } : {},
3796
3796
  children: a(xt, {
3797
- value: L($({}, v), {
3797
+ value: T($({}, v), {
3798
3798
  device: _
3799
3799
  }),
3800
3800
  children: p(v.name)
@@ -3809,14 +3809,14 @@ const Df = (t) => {
3809
3809
  }), a("div", {
3810
3810
  className: q.buttonWrapper,
3811
3811
  children: a("div", {
3812
- className: R(q.button, {
3812
+ className: H(q.button, {
3813
3813
  [q.button_animated]: c.button.$animated
3814
3814
  }),
3815
3815
  style: c.button,
3816
3816
  children: [a("div", {
3817
3817
  className: q.logo,
3818
3818
  style: c.logo
3819
- }), (z = c.button) == null ? void 0 : z.children]
3819
+ }), (K = c.button) == null ? void 0 : K.children]
3820
3820
  })
3821
3821
  })]
3822
3822
  })]
@@ -3842,8 +3842,8 @@ const Df = (t) => {
3842
3842
  }, zm = (t, o, e, n, r = id) => {
3843
3843
  const s = $({}, t);
3844
3844
  return r.forEach((i) => {
3845
- s[o] = L($({}, s[o]), {
3846
- [i]: L($({}, s[o][i]), {
3845
+ s[o] = T($({}, s[o]), {
3846
+ [i]: T($({}, s[o][i]), {
3847
3847
  [e]: typeof n == "function" ? n(h(s, `${o}.${i}.${e}`)) : n
3848
3848
  })
3849
3849
  });
@@ -3852,7 +3852,7 @@ const Df = (t) => {
3852
3852
  const o = t == null ? void 0 : t.backgroundColor;
3853
3853
  if (!o)
3854
3854
  return t;
3855
- const e = L($({}, t), {
3855
+ const e = T($({}, t), {
3856
3856
  color: o
3857
3857
  });
3858
3858
  return vt(e, "backgroundColor");
@@ -3884,8 +3884,8 @@ const Df = (t) => {
3884
3884
  }), yh = ({
3885
3885
  onClick: t
3886
3886
  }) => {
3887
- var s, i, l, _, d, c, u, p, m;
3888
- const o = U(), e = B(o), [n, r] = ie();
3887
+ var s, i, l, _, d, c, u, p, g;
3888
+ const o = U(), e = E(o), [n, r] = ie();
3889
3889
  return a("div", {
3890
3890
  className: Mt.root,
3891
3891
  style: e.root,
@@ -3909,7 +3909,7 @@ const Df = (t) => {
3909
3909
  children: e.button.children
3910
3910
  }), a("div", {
3911
3911
  className: Mt.backgroundLine,
3912
- style: L($({}, qe(e.line)), {
3912
+ style: T($({}, qe(e.line)), {
3913
3913
  left: `calc(50% - ${(d = e.line) == null ? void 0 : d.left})`
3914
3914
  }),
3915
3915
  children: a(mh, {})
@@ -3921,7 +3921,7 @@ const Df = (t) => {
3921
3921
  rel: "noreferrer"
3922
3922
  })]
3923
3923
  }), a("div", {
3924
- className: R(Mt.legal, {
3924
+ className: H(Mt.legal, {
3925
3925
  [Mt.open]: n
3926
3926
  }),
3927
3927
  style: e.legalInfo,
@@ -3931,7 +3931,7 @@ const Df = (t) => {
3931
3931
  className: Mt.legalMore,
3932
3932
  style: e.legalInfoButton,
3933
3933
  onClick: r,
3934
- children: n ? (p = e.legalInfoButton) == null ? void 0 : p.openText : (m = e.legalInfoButton) == null ? void 0 : m.closeText
3934
+ children: n ? (p = e.legalInfoButton) == null ? void 0 : p.openText : (g = e.legalInfoButton) == null ? void 0 : g.closeText
3935
3935
  })]
3936
3936
  })
3937
3937
  })]
@@ -3951,10 +3951,10 @@ const Df = (t) => {
3951
3951
  }, xh = ({
3952
3952
  onClick: t
3953
3953
  }) => {
3954
- var i, l, _, d, c, u, p, m, g, f, N;
3955
- const o = U(), e = B(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((_ = (l = e.legalInfoButton) == null ? void 0 : l.closeText) == null ? void 0 : _.length) > 0);
3954
+ var i, l, _, d, c, u, p, g, M, m, f;
3955
+ const o = U(), e = E(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((_ = (l = e.legalInfoButton) == null ? void 0 : l.closeText) == null ? void 0 : _.length) > 0);
3956
3956
  return a("div", {
3957
- className: R(gt.root, {
3957
+ className: H(gt.root, {
3958
3958
  [gt.open]: n,
3959
3959
  [gt.legalStatic]: !s
3960
3960
  }),
@@ -3983,7 +3983,7 @@ const Df = (t) => {
3983
3983
  })]
3984
3984
  }), a("a", {
3985
3985
  className: gt.link,
3986
- href: (m = e.root) == null ? void 0 : m.offer,
3986
+ href: (g = e.root) == null ? void 0 : g.offer,
3987
3987
  target: "_blank",
3988
3988
  onClick: () => t(e.id),
3989
3989
  rel: "noreferrer"
@@ -3992,12 +3992,12 @@ const Df = (t) => {
3992
3992
  style: e.legalInfo,
3993
3993
  children: [a("div", {
3994
3994
  className: gt.legalText,
3995
- children: (g = e.legalInfo) == null ? void 0 : g.children
3995
+ children: (M = e.legalInfo) == null ? void 0 : M.children
3996
3996
  }), a("div", {
3997
3997
  className: gt.legalMore,
3998
3998
  style: e.legalInfoButton,
3999
3999
  onClick: r,
4000
- children: n ? (f = e.legalInfoButton) == null ? void 0 : f.openText : (N = e.legalInfoButton) == null ? void 0 : N.closeText
4000
+ children: n ? (m = e.legalInfoButton) == null ? void 0 : m.openText : (f = e.legalInfoButton) == null ? void 0 : f.closeText
4001
4001
  })]
4002
4002
  })]
4003
4003
  });
@@ -4020,7 +4020,7 @@ const Df = (t) => {
4020
4020
  const e = et(null), n = U(), r = Ot({
4021
4021
  targetRef: e,
4022
4022
  id: t
4023
- }), s = Lt(n, r), i = B(s);
4023
+ }), s = Lt(n, r), i = E(s);
4024
4024
  wt(s);
4025
4025
  const {
4026
4026
  click: l
@@ -4034,7 +4034,7 @@ const Df = (t) => {
4034
4034
  })[d];
4035
4035
  return a("div", {
4036
4036
  ref: e,
4037
- className: R(te.root, {
4037
+ className: H(te.root, {
4038
4038
  [te.desktop]: r === "desktop",
4039
4039
  [te.laptop]: r === "laptop",
4040
4040
  [te.tablet]: r === "tablet"
@@ -4064,13 +4064,13 @@ const Df = (t) => {
4064
4064
  id: t,
4065
4065
  onClick: o
4066
4066
  }, e) => {
4067
- var c, u, p, m, g, f, N, A, O, D, j;
4067
+ var c, u, p, g, M, m, f, O, x, D, j;
4068
4068
  const [n, r] = ie(), s = et(null), i = U(), l = Ot({
4069
4069
  targetRef: s,
4070
4070
  id: t
4071
- }), _ = Lt(i, l), d = B(_);
4071
+ }), _ = Lt(i, l), d = E(_);
4072
4072
  return wt(_), a("div", {
4073
- className: R(ct.root, {
4073
+ className: H(ct.root, {
4074
4074
  [ct.legalOpen]: n,
4075
4075
  [ct.desktop]: l === "desktop",
4076
4076
  [ct.laptop]: l === "laptop",
@@ -4089,7 +4089,7 @@ const Df = (t) => {
4089
4089
  children: a(W, {
4090
4090
  typography: (u = d.text) == null ? void 0 : u.typography,
4091
4091
  accentTypography: (p = d.text) == null ? void 0 : p.accentTypography,
4092
- children: (m = d.text) == null ? void 0 : m.children
4092
+ children: (g = d.text) == null ? void 0 : g.children
4093
4093
  })
4094
4094
  }), a("div", {
4095
4095
  className: ct.button,
@@ -4100,23 +4100,23 @@ const Df = (t) => {
4100
4100
  }), a("div", {
4101
4101
  className: ct.buttonText,
4102
4102
  children: a(W, {
4103
- typography: (g = d.button) == null ? void 0 : g.typography,
4104
- accentTypography: (f = d.button) == null ? void 0 : f.accentTypography,
4105
- children: (N = d.button) == null ? void 0 : N.children
4103
+ typography: (M = d.button) == null ? void 0 : M.typography,
4104
+ accentTypography: (m = d.button) == null ? void 0 : m.accentTypography,
4105
+ children: (f = d.button) == null ? void 0 : f.children
4106
4106
  })
4107
4107
  })]
4108
4108
  })]
4109
4109
  }), a("div", {
4110
- className: R(ct.legal, {
4110
+ className: H(ct.legal, {
4111
4111
  [ct.legalOpen]: n
4112
4112
  }),
4113
4113
  style: d.legal,
4114
4114
  children: [a("span", {
4115
4115
  className: ct.legalText,
4116
4116
  children: a("span", {
4117
- children: (A = d.legal) == null ? void 0 : A.children
4117
+ children: (O = d.legal) == null ? void 0 : O.children
4118
4118
  })
4119
- }), ((O = d == null ? void 0 : d.legal) == null ? void 0 : O.hasButton) && a("span", {
4119
+ }), ((x = d == null ? void 0 : d.legal) == null ? void 0 : x.hasButton) && a("span", {
4120
4120
  className: ct.legalButton,
4121
4121
  onClick: r,
4122
4122
  children: n ? (D = d.legal) == null ? void 0 : D.buttonOpenText : (j = d.legal) == null ? void 0 : j.buttonHideText
@@ -4149,65 +4149,68 @@ const Df = (t) => {
4149
4149
  matches: "one_x_two",
4150
4150
  matchesOneTwo: "one_two"
4151
4151
  }, an = (t) => [pm[t]], fm = (t, o, e) => {
4152
- const n = (g) => {
4152
+ const n = (m) => {
4153
4153
  var f;
4154
- return V(g == null ? void 0 : g.matchSlug) && ((f = g == null ? void 0 : g.matchSlug) == null ? void 0 : f.length) > 0 || (g == null ? void 0 : g.isAuto);
4155
- }, r = (t == null ? void 0 : t.children) || [], s = r.filter((g) => n(g.root.targetMatch)).map((g) => L($({}, g.root.targetMatch), {
4156
- markets: an(g.name)
4157
- })), i = s.find((g) => g.isAuto), l = we(s), {
4158
- data: _,
4159
- execute: d,
4160
- fetching: c
4154
+ return V(m == null ? void 0 : m.matchSlug) && ((f = m == null ? void 0 : m.matchSlug) == null ? void 0 : f.length) > 0 || (m == null ? void 0 : m.isAuto);
4155
+ }, r = (t == null ? void 0 : t.children) || [], s = r.filter((m) => n(m.root.targetMatch)).map((m) => T($({}, m.root.targetMatch), {
4156
+ markets: an(m.name)
4157
+ })), i = s.find((m) => m.isAuto), l = we(s), _ = (s == null ? void 0 : s.length) > 0, {
4158
+ data: d,
4159
+ execute: c,
4160
+ fetching: u
4161
4161
  } = le(`${o}/match-list`, {
4162
4162
  method: "POST",
4163
4163
  body: {
4164
- matches: s.map((g) => ({
4165
- slug: g.matchSlug,
4166
- sport_slug: g.sportSlug,
4167
- lang: g.langSlug,
4168
- bookmaker_slug: g.bookmaker,
4169
- offset: g.offset,
4170
- markets: g.markets
4164
+ matches: s.map((m) => ({
4165
+ slug: m.matchSlug,
4166
+ sport_slug: m.sportSlug,
4167
+ lang: m.langSlug,
4168
+ bookmaker_slug: m.bookmaker,
4169
+ offset: m.offset,
4170
+ markets: m.markets
4171
4171
  }))
4172
4172
  },
4173
4173
  pause: !o || s.length === 0 || i
4174
4174
  }), {
4175
- match: u,
4176
- fetching: p
4175
+ match: p,
4176
+ fetching: g
4177
4177
  } = Je({
4178
4178
  dependsOn: "prediction",
4179
4179
  apiHost: o,
4180
4180
  pause: !i,
4181
- match: L($({}, e), {
4181
+ match: T($({}, e), {
4182
4182
  markets: i == null ? void 0 : i.markets,
4183
4183
  bookmaker: i == null ? void 0 : i.bookmaker
4184
4184
  })
4185
4185
  });
4186
- return Q(() => {
4187
- Le(l, s) || d();
4188
- }, [s]), {
4189
- resultChildren: r.map((g) => {
4190
- var f, N;
4191
- if ("targetMatch" in g.root) {
4192
- const A = an(g.name), O = (_ || []).find((T) => T.slug === g.root.targetMatch.matchSlug);
4193
- if (((N = (f = g == null ? void 0 : g.root) == null ? void 0 : f.targetMatch) == null ? void 0 : N.isAuto) && u)
4194
- return L($({}, g), {
4195
- match: ne(u, {
4196
- markets: A
4197
- })
4198
- });
4199
- if (!O)
4200
- return;
4201
- const j = ne(O, {
4202
- markets: A
4203
- }), C = ze(j, g.root.customMatch, (T, [Y, z]) => V(z));
4204
- return L($({}, g), {
4205
- match: C
4186
+ Q(() => {
4187
+ Le(l, s) || c();
4188
+ }, [s]);
4189
+ const M = r.map((m) => {
4190
+ var f, O;
4191
+ if ("targetMatch" in m.root) {
4192
+ const x = an(m.name), D = (d || []).find((Y) => Y.slug === m.root.targetMatch.matchSlug);
4193
+ if (((O = (f = m == null ? void 0 : m.root) == null ? void 0 : f.targetMatch) == null ? void 0 : O.isAuto) && p)
4194
+ return T($({}, m), {
4195
+ match: ne(p, {
4196
+ markets: x
4197
+ })
4206
4198
  });
4207
- }
4208
- return g;
4209
- }).filter(Boolean),
4210
- fetching: c || p
4199
+ if (!D)
4200
+ return;
4201
+ const C = ne(D, {
4202
+ markets: x
4203
+ }), L = ze(C, m.root.customMatch, (Y, [K, v]) => V(v));
4204
+ return T($({}, m), {
4205
+ match: L
4206
+ });
4207
+ }
4208
+ return m;
4209
+ }).filter(Boolean);
4210
+ return {
4211
+ hasMatches: _,
4212
+ resultChildren: M,
4213
+ fetching: u || g
4211
4214
  };
4212
4215
  }, gm = "_root_15dhb_1", hm = "_desktop_15dhb_9", mm = "_logos_15dhb_13", ym = "_tablet_15dhb_24", vm = "_w1440_15dhb_24", bm = "_teamLogo_15dhb_29", $m = "_teamLogoInside_15dhb_53", km = "_teams_15dhb_66", Mm = "_oddWrapper_15dhb_88", Nm = "_oddLabel_15dhb_101", Tm = "_oddValue_15dhb_111", Lm = "_text_15dhb_125", ht = {
4213
4216
  root: gm,
@@ -4227,26 +4230,26 @@ const Df = (t) => {
4227
4230
  device: o,
4228
4231
  rootState: e
4229
4232
  }) => {
4230
- var O, D, j, C;
4231
- const n = U(), r = B(n), s = B(e), i = h(r, "match.sportSlug"), _ = h(r, "root.predictionLength", "full") === "full" ? h(r, "match.prediction.value") : h(r, "match.prediction.value_short") || h(r, "match.prediction.value"), d = L($({}, vt(r.root, ...ut)), {
4232
- alignItems: jt((O = s.container) == null ? void 0 : O.align)
4233
+ var x, D, j, C;
4234
+ const n = U(), r = E(n), s = E(e), i = h(r, "match.sportSlug"), _ = h(r, "root.predictionLength", "full") === "full" ? h(r, "match.prediction.value") : h(r, "match.prediction.value_short") || h(r, "match.prediction.value"), d = T($({}, vt(r.root, ...ut)), {
4235
+ alignItems: jt((x = s.container) == null ? void 0 : x.align)
4233
4236
  }), c = Et(() => {
4234
4237
  var Y;
4235
- const T = (Y = {
4238
+ const L = (Y = {
4236
4239
  desktop: 14,
4237
4240
  tablet: 12
4238
4241
  }[o]) != null ? Y : 9;
4239
- return [Cm.mobile].includes(o) && _.length > 35 ? T - 1 : T;
4240
- }, [o, _]), u = h(r, "coef.backgroundColor", "#fff"), p = Number(h(r, "match.prediction.factor", 0)).toFixed(2), m = +h(n, "root.bonusValue", 0), g = +p, f = g === 0, N = En((D = r.text) == null ? void 0 : D.children, {
4241
- bonusValue: m,
4242
- clearResult: (m * g - m).toFixed(0),
4243
- rawResult: (m * g).toFixed(0),
4244
- rate: g
4242
+ return [Cm.mobile].includes(o) && _.length > 35 ? L - 1 : L;
4243
+ }, [o, _]), u = h(r, "coef.backgroundColor", "#fff"), p = Number(h(r, "match.prediction.factor", 0)).toFixed(2), g = +h(n, "root.bonusValue", 0), M = +p, m = M === 0, f = En((D = r.text) == null ? void 0 : D.children, {
4244
+ bonusValue: g,
4245
+ clearResult: (g * M - g).toFixed(0),
4246
+ rawResult: (g * M).toFixed(0),
4247
+ rate: M
4245
4248
  }, {
4246
4249
  parse: !1
4247
- }), A = f ? h(r, "text.fallbackChildren") : N;
4250
+ }), O = m ? h(r, "text.fallbackChildren") : f;
4248
4251
  return a("div", {
4249
- className: R(ht.root, ht[o]),
4252
+ className: H(ht.root, ht[o]),
4250
4253
  style: d,
4251
4254
  children: [a("div", {
4252
4255
  className: ht.logos,
@@ -4273,24 +4276,24 @@ const Df = (t) => {
4273
4276
  className: ht.teams,
4274
4277
  style: r == null ? void 0 : r.teamName,
4275
4278
  children: [a("span", {
4276
- children: a(Dt, L($({}, h(r, "match.teams[0]")), {
4279
+ children: a(Dt, T($({}, h(r, "match.teams[0]")), {
4277
4280
  fallback: "Team A"
4278
4281
  }))
4279
4282
  }), a("span", {
4280
4283
  children: "—"
4281
4284
  }), a("span", {
4282
- children: a(Dt, L($({}, h(r, "match.teams[1]")), {
4285
+ children: a(Dt, T($({}, h(r, "match.teams[1]")), {
4283
4286
  fallback: "Team B"
4284
4287
  }))
4285
4288
  })]
4286
- }), !f && a("div", {
4289
+ }), !m && a("div", {
4287
4290
  className: ht.oddWrapper,
4288
4291
  style: {
4289
4292
  borderColor: u
4290
4293
  },
4291
4294
  children: [a("div", {
4292
4295
  className: ht.oddLabel,
4293
- style: L($({}, r == null ? void 0 : r.coefLabel), {
4296
+ style: T($({}, r == null ? void 0 : r.coefLabel), {
4294
4297
  fontSize: c,
4295
4298
  lineHeight: `${c}px`
4296
4299
  }),
@@ -4308,10 +4311,10 @@ const Df = (t) => {
4308
4311
  style: r == null ? void 0 : r.text,
4309
4312
  typography: (j = r == null ? void 0 : r.text) == null ? void 0 : j.typography,
4310
4313
  accentTypography: (C = r == null ? void 0 : r.text) == null ? void 0 : C.accentTypography,
4311
- children: A
4314
+ children: O
4312
4315
  })]
4313
4316
  });
4314
- }, Be = L($({}, se), {
4317
+ }, Be = T($({}, se), {
4315
4318
  w375: 375,
4316
4319
  w400: 400,
4317
4320
  w480: 480,
@@ -4326,41 +4329,42 @@ const Df = (t) => {
4326
4329
  onClose: i,
4327
4330
  onClick: l
4328
4331
  }) => {
4329
- var D, j, C, T, Y, z, v, b, y, M, k, S, w;
4332
+ var j, C, L, Y, K, v, b, y, N, k, S, w, A;
4330
4333
  const _ = et(null), d = U(), c = Ot({
4331
4334
  targetRef: _,
4332
4335
  id: t,
4333
4336
  breakpoints: Be
4334
4337
  }), u = Lt(d, c, Be), {
4335
4338
  resultChildren: p,
4336
- fetching: m
4337
- } = fm(u, o, n), g = (D = u == null ? void 0 : u.children) == null ? void 0 : D.some(({
4338
- name: x
4339
- }) => x === "match");
4340
- u && (Bt(u, "button.percent_width", (j = u == null ? void 0 : u.button) == null ? void 0 : j.width), Bt(u, "artifact.percent_right", (C = u == null ? void 0 : u.artifact) == null ? void 0 : C.right));
4341
- const f = B(u), N = !!((T = f == null ? void 0 : f.legal) != null && T.children) && !((Y = f == null ? void 0 : f.legal) != null && Y.hidden);
4339
+ fetching: g,
4340
+ hasMatches: M
4341
+ } = fm(u, o, n), m = (j = u == null ? void 0 : u.children) == null ? void 0 : j.some(({
4342
+ name: R
4343
+ }) => R === "match");
4344
+ u && (Bt(u, "button.percent_width", (C = u == null ? void 0 : u.button) == null ? void 0 : C.width), Bt(u, "artifact.percent_right", (L = u == null ? void 0 : u.artifact) == null ? void 0 : L.right));
4345
+ const f = E(u), O = !!((Y = f == null ? void 0 : f.legal) != null && Y.children) && !((K = f == null ? void 0 : f.legal) != null && K.hidden);
4342
4346
  wt(u);
4343
- const A = L($({}, f.container), {
4344
- alignItems: jt((z = f.container) == null ? void 0 : z.align)
4345
- }), O = (x) => ({
4347
+ const x = T($({}, f.container), {
4348
+ alignItems: jt((v = f.container) == null ? void 0 : v.align)
4349
+ }), D = (R) => ({
4346
4350
  match: a(wm, {
4347
4351
  oddFormatter: e,
4348
4352
  device: c,
4349
4353
  rootState: u
4350
4354
  })
4351
- })[x];
4355
+ })[R];
4352
4356
  return Q(() => {
4353
4357
  r && r(d);
4354
4358
  }, []), Q(() => {
4355
- s && g && !m && p.length && s();
4356
- }, [p, m, g]), a("div", {
4357
- className: R(_t.root, _t[c], {
4358
- [_t.withoutLegal]: !N
4359
+ M ? s && m && !g && p.length && s() : s && s();
4360
+ }, [p, g, m, M]), a("div", {
4361
+ className: H(_t.root, _t[c], {
4362
+ [_t.withoutLegal]: !O
4359
4363
  }),
4360
4364
  children: [a("div", {
4361
4365
  className: _t.close,
4362
- style: L($({}, f == null ? void 0 : f.close), {
4363
- borderTopRightRadius: (v = f == null ? void 0 : f.container) == null ? void 0 : v.corner
4366
+ style: T($({}, f == null ? void 0 : f.close), {
4367
+ borderTopRightRadius: (b = f == null ? void 0 : f.container) == null ? void 0 : b.corner
4364
4368
  }),
4365
4369
  onClick: () => i(),
4366
4370
  children: a(Rt, {
@@ -4368,7 +4372,7 @@ const Df = (t) => {
4368
4372
  height: 9
4369
4373
  })
4370
4374
  }), a("a", {
4371
- href: (b = f == null ? void 0 : f.root) == null ? void 0 : b.offer,
4375
+ href: (y = f == null ? void 0 : f.root) == null ? void 0 : y.offer,
4372
4376
  target: "_blank",
4373
4377
  rel: "nofollow noopener noreferrer",
4374
4378
  onClick: () => l(d),
@@ -4386,33 +4390,33 @@ const Df = (t) => {
4386
4390
  style: f == null ? void 0 : f.artifact
4387
4391
  }), a("div", {
4388
4392
  className: _t.container,
4389
- style: A,
4393
+ style: x,
4390
4394
  children: [a("div", {
4391
4395
  className: _t.containerInner,
4392
- children: (p || []).map((x) => a(xt, {
4393
- value: L($({}, x), {
4396
+ children: (p || []).map((R) => a(xt, {
4397
+ value: T($({}, R), {
4394
4398
  device: c
4395
4399
  }),
4396
- children: O(x.name)
4400
+ children: D(R.name)
4397
4401
  }))
4398
4402
  }), a("div", {
4399
4403
  className: _t.button,
4400
4404
  style: f == null ? void 0 : f.button,
4401
- children: [((y = f == null ? void 0 : f.button) == null ? void 0 : y.withLogo) && a("div", {
4405
+ children: [((N = f == null ? void 0 : f.button) == null ? void 0 : N.withLogo) && a("div", {
4402
4406
  className: _t.badgeLogo,
4403
4407
  style: f == null ? void 0 : f.logo
4404
4408
  }), a("div", {
4405
4409
  className: _t.buttonContent,
4406
4410
  children: a(W, {
4407
- typography: (M = f == null ? void 0 : f.button) == null ? void 0 : M.typography,
4408
- children: (k = f == null ? void 0 : f.button) == null ? void 0 : k.children
4411
+ typography: (k = f == null ? void 0 : f.button) == null ? void 0 : k.typography,
4412
+ children: (S = f == null ? void 0 : f.button) == null ? void 0 : S.children
4409
4413
  })
4410
4414
  })]
4411
4415
  })]
4412
- }), ((S = f == null ? void 0 : f.legal) == null ? void 0 : S.children) && a(W, {
4416
+ }), ((w = f == null ? void 0 : f.legal) == null ? void 0 : w.children) && a(W, {
4413
4417
  className: _t.legalText,
4414
4418
  typography: f == null ? void 0 : f.legal,
4415
- children: (w = f == null ? void 0 : f.legal) == null ? void 0 : w.children
4419
+ children: (A = f == null ? void 0 : f.legal) == null ? void 0 : A.children
4416
4420
  })]
4417
4421
  })]
4418
4422
  });
@@ -4434,12 +4438,12 @@ const Df = (t) => {
4434
4438
  targetRef: n,
4435
4439
  id: t,
4436
4440
  breakpoints: sn
4437
- }), i = Lt(r, s, sn), l = B(i);
4441
+ }), i = Lt(r, s, sn), l = E(i);
4438
4442
  return wt(i), Q(() => {
4439
4443
  o && o(r);
4440
4444
  }, []), a("div", {
4441
4445
  ref: n,
4442
- className: R(pe.root, pe[s]),
4446
+ className: H(pe.root, pe[s]),
4443
4447
  style: l == null ? void 0 : l.root,
4444
4448
  onClick: e,
4445
4449
  children: [a(W, {