@adstore/templates 2.6.7 → 2.6.8

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.
@@ -460,11 +460,11 @@ he.prototype.delete = Hn;
460
460
  he.prototype.get = Rn;
461
461
  he.prototype.has = Mn;
462
462
  he.prototype.set = En;
463
- var Ue = he, Bn = Ue;
464
- function Vn() {
465
- this.__data__ = new Bn(), this.size = 0;
463
+ var Ue = he, Vn = Ue;
464
+ function Bn() {
465
+ this.__data__ = new Vn(), this.size = 0;
466
466
  }
467
- var qn = Vn;
467
+ var qn = Bn;
468
468
  function Fn(e) {
469
469
  var t = this.__data__, o = t.delete(e);
470
470
  return this.size = t.size, o;
@@ -508,12 +508,12 @@ function br(e) {
508
508
  var t = fr(e);
509
509
  return t == mr || t == vr || t == hr || t == yr;
510
510
  }
511
- var it = br, $r = me, kr = $r["__core-js_shared__"], Nr = kr, tt = Nr, Bt = function() {
511
+ var it = br, $r = me, kr = $r["__core-js_shared__"], Nr = kr, tt = Nr, Vt = function() {
512
512
  var e = /[^.]+$/.exec(tt && tt.keys && tt.keys.IE_PROTO || "");
513
513
  return e ? "Symbol(src)_1." + e : "";
514
514
  }();
515
515
  function wr(e) {
516
- return !!Bt && Bt in e;
516
+ return !!Vt && Vt in e;
517
517
  }
518
518
  var xr = wr, Cr = Function.prototype, Tr = Cr.toString;
519
519
  function Or(e) {
@@ -529,13 +529,13 @@ function Or(e) {
529
529
  }
530
530
  return "";
531
531
  }
532
- var Ar = Or, Lr = it, jr = xr, Sr = ue, Ir = Ar, Pr = /[\\^$.*+?()[\]{}|]/g, Hr = /^\[object .+?Constructor\]$/, Rr = Function.prototype, Mr = Object.prototype, Er = Rr.toString, Br = Mr.hasOwnProperty, Vr = RegExp(
533
- "^" + Er.call(Br).replace(Pr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
532
+ var Ar = Or, Lr = it, jr = xr, Sr = ue, Ir = Ar, Pr = /[\\^$.*+?()[\]{}|]/g, Hr = /^\[object .+?Constructor\]$/, Rr = Function.prototype, Mr = Object.prototype, Er = Rr.toString, Vr = Mr.hasOwnProperty, Br = RegExp(
533
+ "^" + Er.call(Vr).replace(Pr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
534
534
  );
535
535
  function qr(e) {
536
536
  if (!Sr(e) || jr(e))
537
537
  return !1;
538
- var t = Lr(e) ? Vr : Hr;
538
+ var t = Lr(e) ? Br : Hr;
539
539
  return t.test(Ir(e));
540
540
  }
541
541
  var Fr = qr;
@@ -547,9 +547,9 @@ function Wr(e, t) {
547
547
  var o = Ur(e, t);
548
548
  return Gr(o) ? o : void 0;
549
549
  }
550
- var ct = Wr, Zr = ct, Kr = me, Xr = Zr(Kr, "Map"), mo = Xr, Jr = ct, Qr = Jr(Object, "create"), Ze = Qr, Vt = Ze;
550
+ var ct = Wr, Zr = ct, Kr = me, Xr = Zr(Kr, "Map"), mo = Xr, Jr = ct, Qr = Jr(Object, "create"), Ze = Qr, Bt = Ze;
551
551
  function Yr() {
552
- this.__data__ = Vt ? Vt(null) : {}, this.size = 0;
552
+ this.__data__ = Bt ? Bt(null) : {}, this.size = 0;
553
553
  }
554
554
  var ea = Yr;
555
555
  function ta(e) {
@@ -616,15 +616,15 @@ function Ra(e) {
616
616
  return Ha(this, e).get(e);
617
617
  }
618
618
  var Ma = Ra, Ea = Ke;
619
- function Ba(e) {
619
+ function Va(e) {
620
620
  return Ea(this, e).has(e);
621
621
  }
622
- var Va = Ba, qa = Ke;
622
+ var Ba = Va, qa = Ke;
623
623
  function Fa(e, t) {
624
624
  var o = qa(this, e), n = o.size;
625
625
  return o.set(e, t), this.size += o.size == n ? 0 : 1, this;
626
626
  }
627
- var za = Fa, Da = Ta, Ga = Pa, Ua = Ma, Wa = Va, Za = za;
627
+ var za = Fa, Da = Ta, Ga = Pa, Ua = Ma, Wa = Ba, Za = za;
628
628
  function ye(e) {
629
629
  var t = -1, o = e == null ? 0 : e.length;
630
630
  for (this.clear(); ++t < o; ) {
@@ -688,12 +688,12 @@ function gs(e) {
688
688
  return t;
689
689
  };
690
690
  }
691
- var hs = gs, ms = hs, vs = ms(), ys = vs, Be = {}, bs = {
691
+ var hs = gs, ms = hs, vs = ms(), ys = vs, Ve = {}, bs = {
692
692
  get exports() {
693
- return Be;
693
+ return Ve;
694
694
  },
695
695
  set exports(e) {
696
- Be = e;
696
+ Ve = e;
697
697
  }
698
698
  };
699
699
  (function(e, t) {
@@ -705,7 +705,7 @@ var hs = gs, ms = hs, vs = ms(), ys = vs, Be = {}, bs = {
705
705
  return _.copy(u), u;
706
706
  }
707
707
  e.exports = c;
708
- })(bs, Be);
708
+ })(bs, Ve);
709
709
  var $s = me, ks = $s.Uint8Array, Ns = ks, zt = Ns;
710
710
  function ws(e) {
711
711
  var t = new e.constructor(e.byteLength);
@@ -742,13 +742,13 @@ function Ps(e, t) {
742
742
  };
743
743
  }
744
744
  var Hs = Ps, Rs = Hs, Ms = Rs(Object.getPrototypeOf, Object), bo = Ms, Es = Object.prototype;
745
- function Bs(e) {
745
+ function Vs(e) {
746
746
  var t = e && e.constructor, o = typeof t == "function" && t.prototype || Es;
747
747
  return e === o;
748
748
  }
749
- var $o = Bs, Vs = Is, qs = bo, Fs = $o;
749
+ var $o = Vs, Bs = Is, qs = bo, Fs = $o;
750
750
  function zs(e) {
751
- return typeof e.constructor == "function" && !Fs(e) ? Vs(qs(e)) : {};
751
+ return typeof e.constructor == "function" && !Fs(e) ? Bs(qs(e)) : {};
752
752
  }
753
753
  var Ds = zs;
754
754
  function Gs(e) {
@@ -800,9 +800,9 @@ function ki(e) {
800
800
  var o = bi.call(t, "constructor") && t.constructor;
801
801
  return typeof o == "function" && o instanceof o && Co.call(o) == $i;
802
802
  }
803
- var Ni = ki, wi = We, xi = xo, Ci = Se, Ti = "[object Arguments]", Oi = "[object Array]", Ai = "[object Boolean]", Li = "[object Date]", ji = "[object Error]", Si = "[object Function]", Ii = "[object Map]", Pi = "[object Number]", Hi = "[object Object]", Ri = "[object RegExp]", Mi = "[object Set]", Ei = "[object String]", Bi = "[object WeakMap]", Vi = "[object ArrayBuffer]", qi = "[object DataView]", Fi = "[object Float32Array]", zi = "[object Float64Array]", Di = "[object Int8Array]", Gi = "[object Int16Array]", Ui = "[object Int32Array]", Wi = "[object Uint8Array]", Zi = "[object Uint8ClampedArray]", Ki = "[object Uint16Array]", Xi = "[object Uint32Array]", N = {};
803
+ var Ni = ki, wi = We, xi = xo, Ci = Se, Ti = "[object Arguments]", Oi = "[object Array]", Ai = "[object Boolean]", Li = "[object Date]", ji = "[object Error]", Si = "[object Function]", Ii = "[object Map]", Pi = "[object Number]", Hi = "[object Object]", Ri = "[object RegExp]", Mi = "[object Set]", Ei = "[object String]", Vi = "[object WeakMap]", Bi = "[object ArrayBuffer]", qi = "[object DataView]", Fi = "[object Float32Array]", zi = "[object Float64Array]", Di = "[object Int8Array]", Gi = "[object Int16Array]", Ui = "[object Int32Array]", Wi = "[object Uint8Array]", Zi = "[object Uint8ClampedArray]", Ki = "[object Uint16Array]", Xi = "[object Uint32Array]", N = {};
804
804
  N[Fi] = N[zi] = N[Di] = N[Gi] = N[Ui] = N[Wi] = N[Zi] = N[Ki] = N[Xi] = !0;
805
- N[Ti] = N[Oi] = N[Vi] = N[Ai] = N[qi] = N[Li] = N[ji] = N[Si] = N[Ii] = N[Pi] = N[Hi] = N[Ri] = N[Mi] = N[Ei] = N[Bi] = !1;
805
+ N[Ti] = N[Oi] = N[Bi] = N[Ai] = N[qi] = N[Li] = N[ji] = N[Si] = N[Ii] = N[Pi] = N[Hi] = N[Ri] = N[Mi] = N[Ei] = N[Vi] = !1;
806
806
  function Ji(e) {
807
807
  return Ci(e) && xi(e.length) && !!N[wi(e)];
808
808
  }
@@ -812,12 +812,12 @@ function Yi(e) {
812
812
  return e(t);
813
813
  };
814
814
  }
815
- var ec = Yi, Ve = {}, tc = {
815
+ var ec = Yi, Be = {}, tc = {
816
816
  get exports() {
817
- return Ve;
817
+ return Be;
818
818
  },
819
819
  set exports(e) {
820
- Ve = e;
820
+ Be = e;
821
821
  }
822
822
  };
823
823
  (function(e, t) {
@@ -829,8 +829,8 @@ var ec = Yi, Ve = {}, tc = {
829
829
  }
830
830
  }();
831
831
  e.exports = l;
832
- })(tc, Ve);
833
- var oc = Qi, nc = ec, Ut = Ve, Wt = Ut && Ut.isTypedArray, rc = Wt ? nc(Wt) : oc, To = rc;
832
+ })(tc, Be);
833
+ var oc = Qi, nc = ec, Ut = Be, Wt = Ut && Ut.isTypedArray, rc = Wt ? nc(Wt) : oc, To = rc;
834
834
  function ac(e, t) {
835
835
  if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
836
836
  return e[t];
@@ -889,15 +889,15 @@ function Ec(e) {
889
889
  n == "constructor" && (t || !Mc.call(e, n)) || o.push(n);
890
890
  return o;
891
891
  }
892
- var Bc = Ec, Vc = Lc, qc = Bc, Fc = _t;
892
+ var Vc = Ec, Bc = Lc, qc = Vc, Fc = _t;
893
893
  function zc(e) {
894
- return Fc(e) ? Vc(e, !0) : qc(e);
894
+ return Fc(e) ? Bc(e, !0) : qc(e);
895
895
  }
896
896
  var Lo = zc, Dc = gc, Gc = Lo;
897
897
  function Uc(e) {
898
898
  return Dc(e, Gc(e));
899
899
  }
900
- var Wc = Uc, Zt = yo, Zc = Be, Kc = Os, Xc = Ls, Jc = Ds, Kt = No, Xt = wo, Qc = _i, Yc = Te, el = it, tl = ue, ol = Ni, nl = To, Jt = Oo, rl = Wc;
900
+ var Wc = Uc, Zt = yo, Zc = Ve, Kc = Os, Xc = Ls, Jc = Ds, Kt = No, Xt = wo, Qc = _i, Yc = Te, el = it, tl = ue, ol = Ni, nl = To, Jt = Oo, rl = Wc;
901
901
  function al(e, t, o, n, r, i, s) {
902
902
  var l = Jt(e, o), c = Jt(t, o), _ = s.get(c);
903
903
  if (_) {
@@ -978,17 +978,17 @@ function Ll(e) {
978
978
  };
979
979
  }
980
980
  var jl = Ll, Sl = Cl, Il = jl, Pl = Il(Sl), Hl = Pl, Rl = So, Ml = bl, El = Hl;
981
- function Bl(e, t) {
981
+ function Vl(e, t) {
982
982
  return El(Ml(e, t, Rl), e + "");
983
983
  }
984
- var Vl = Bl, ql = De, Fl = _t, zl = Ao, Dl = ue;
984
+ var Bl = Vl, ql = De, Fl = _t, zl = Ao, Dl = ue;
985
985
  function Gl(e, t, o) {
986
986
  if (!Dl(o))
987
987
  return !1;
988
988
  var n = typeof t;
989
989
  return (n == "number" ? Fl(o) && zl(t, o.length) : n == "string" && t in o) ? ql(o[t], e) : !1;
990
990
  }
991
- var Ul = Gl, Wl = Vl, Zl = Ul;
991
+ var Ul = Gl, Wl = Bl, Zl = Ul;
992
992
  function Kl(e) {
993
993
  return Wl(function(t, o) {
994
994
  var n = -1, r = o.length, i = r > 1 ? o[r - 1] : void 0, s = r > 2 ? o[2] : void 0;
@@ -1180,13 +1180,13 @@ const Mo = Wo(), se = ({
1180
1180
  id: o
1181
1181
  }, i))
1182
1182
  }), t);
1183
- }), I = () => Yo(Mo), E_ = (e = {}) => typeof e == "object" && S(e) && Ro.every((t) => t in e), B_ = (e, t) => e && de(e, (o, n) => {
1183
+ }), I = () => Yo(Mo), E_ = (e = {}) => typeof e == "object" && S(e) && Ro.every((t) => t in e), V_ = (e, t) => e && de(e, (o, n) => {
1184
1184
  if (E_(n)) {
1185
1185
  const r = n[t];
1186
1186
  return r && "parent" in r && S(r.parent) ? f(f({}, n[r.parent]), ne(r, "parent")) : r;
1187
1187
  }
1188
1188
  return n;
1189
- }), ce = (e, t) => B_(e, t), pe = ({
1189
+ }), ce = (e, t) => V_(e, t), pe = ({
1190
1190
  id: e,
1191
1191
  targetRef: t,
1192
1192
  parentKey: o = "device-container",
@@ -1204,9 +1204,9 @@ const Mo = Wo(), se = ({
1204
1204
  const l = t.current.closest(`[data-${o}='${e}']`) || document.body;
1205
1205
  l && (new ResizeObserver(() => s(l)).observe(l), s(l));
1206
1206
  }, []), r;
1207
- }, oo = (e) => console.warn(`[Adstore-templates Deprecated]: ${e}`), qe = (e, t) => S(e) && !(typeof e == "number" ? e.toString() : e).includes(t) ? `${e}${t}` : e, V_ = (e) => e.startsWith("px_"), q_ = (e) => e.startsWith("percent_"), F_ = (e, t) => {
1207
+ }, oo = (e) => console.warn(`[Adstore-templates Deprecated]: ${e}`), qe = (e, t) => S(e) && !(typeof e == "number" ? e.toString() : e).includes(t) ? `${e}${t}` : e, B_ = (e) => e.startsWith("px_"), q_ = (e) => e.startsWith("percent_"), F_ = (e, t) => {
1208
1208
  let o = e, n = t;
1209
- return V_(o) && (o = o.replace("px_", ""), n = qe(t, "px")), q_(o) && (o = o.replace("percent_", ""), n = qe(t, "%")), {
1209
+ return B_(o) && (o = o.replace("px_", ""), n = qe(t, "px")), q_(o) && (o = o.replace("percent_", ""), n = qe(t, "%")), {
1210
1210
  key: o,
1211
1211
  value: n
1212
1212
  };
@@ -1278,8 +1278,8 @@ const Mo = Wo(), se = ({
1278
1278
  pulse: `${e.pulse} .3s linear 0s infinite alternate forwards`,
1279
1279
  wiggle: `${e.wiggle} 2s linear infinite`,
1280
1280
  gradient: `${e.gradient} 3s ease infinite`
1281
- }), Bo = (e, t) => {
1282
- var d, p, u, g, v, b, $, P, B, H, R, V, z;
1281
+ }), Vo = (e, t) => {
1282
+ var d, p, u, g, v, b, $, P, V, H, R, B, z;
1283
1283
  const o = W_(t), n = j(e), r = (d = n == null ? void 0 : n.icon) == null ? void 0 : d.hasIcon, i = {
1284
1284
  left: `${+(((p = e == null ? void 0 : e.container) == null ? void 0 : p.left) || 0) * -1 + 8}px`,
1285
1285
  backgroundColor: (u = n == null ? void 0 : n.container) == null ? void 0 : u.backgroundColor,
@@ -1291,8 +1291,8 @@ const Mo = Wo(), se = ({
1291
1291
  borderLeftStyle: "solid"
1292
1292
  }, s = {
1293
1293
  left: (P = n == null ? void 0 : n.container) == null ? void 0 : P.left
1294
- }, l = (((B = n == null ? void 0 : n.icon) == null ? void 0 : B.animations) || []).map((k) => o[k]).join(", "), c = S((H = n == null ? void 0 : n.icon) == null ? void 0 : H.gradientColor) && ((R = n == null ? void 0 : n.icon) != null && R.animations.includes("gradient")) ? {
1295
- background: `linear-gradient(-90deg, ${(V = n.icon) == null ? void 0 : V.backgroundColor} 0%, ${(z = n == null ? void 0 : n.icon) == null ? void 0 : z.gradientColor} 100%) 0% 0% / 400% 400%`,
1294
+ }, l = (((V = n == null ? void 0 : n.icon) == null ? void 0 : V.animations) || []).map((k) => o[k]).join(", "), c = S((H = n == null ? void 0 : n.icon) == null ? void 0 : H.gradientColor) && ((R = n == null ? void 0 : n.icon) != null && R.animations.includes("gradient")) ? {
1295
+ background: `linear-gradient(-90deg, ${(B = n.icon) == null ? void 0 : B.backgroundColor} 0%, ${(z = n == null ? void 0 : n.icon) == null ? void 0 : z.gradientColor} 100%) 0% 0% / 400% 400%`,
1296
1296
  backgroundSize: "400% 400%"
1297
1297
  } : n == null ? void 0 : n.icon, _ = f(y(f({}, (n == null ? void 0 : n.icon) || {}), {
1298
1298
  animation: l
@@ -1331,7 +1331,7 @@ const Mo = Wo(), se = ({
1331
1331
  isOpen: n,
1332
1332
  toggle: l
1333
1333
  };
1334
- }, Vo = ({
1334
+ }, Bo = ({
1335
1335
  ref: e,
1336
1336
  openDelay: t
1337
1337
  }) => {
@@ -1356,7 +1356,7 @@ const Mo = Wo(), se = ({
1356
1356
  }, X_ = ae(({
1357
1357
  id: e
1358
1358
  }, t) => {
1359
- var P, B, H, R, V, z, k, U, D;
1359
+ var P, V, H, R, B, z, k, U, D;
1360
1360
  const o = F(null), [n, r] = Xe(), i = I(), s = pe({
1361
1361
  targetRef: o,
1362
1362
  id: e
@@ -1365,7 +1365,7 @@ const Mo = Wo(), se = ({
1365
1365
  iconRules: d,
1366
1366
  bodyRules: p,
1367
1367
  arrowRules: u
1368
- } = Bo(l, {
1368
+ } = Vo(l, {
1369
1369
  fade: x.fadein,
1370
1370
  pulse: x.pulse,
1371
1371
  wiggle: x.wiggle,
@@ -1374,7 +1374,7 @@ const Mo = Wo(), se = ({
1374
1374
  isOpen: g,
1375
1375
  toggle: v,
1376
1376
  click: b
1377
- } = Vo({
1377
+ } = Bo({
1378
1378
  ref: t,
1379
1379
  openDelay: (P = l == null ? void 0 : l.container) == null ? void 0 : P.delay
1380
1380
  });
@@ -1410,7 +1410,7 @@ const Mo = Wo(), se = ({
1410
1410
  className: x.container,
1411
1411
  style: c == null ? void 0 : c.container,
1412
1412
  children: [a("a", {
1413
- href: (B = c == null ? void 0 : c.root) == null ? void 0 : B.offer,
1413
+ href: (V = c == null ? void 0 : c.root) == null ? void 0 : V.offer,
1414
1414
  target: "_blank",
1415
1415
  rel: "nofollow noopener noreferrer",
1416
1416
  onClick: () => b(c.id),
@@ -1424,7 +1424,7 @@ const Mo = Wo(), se = ({
1424
1424
  style: c == null ? void 0 : c.text,
1425
1425
  typography: (H = c.text) == null ? void 0 : H.typography,
1426
1426
  accentTypography: (R = c.text) == null ? void 0 : R.accentTypography,
1427
- children: (V = c == null ? void 0 : c.text) == null ? void 0 : V.children
1427
+ children: (B = c == null ? void 0 : c.text) == null ? void 0 : B.children
1428
1428
  })]
1429
1429
  }), a("div", {
1430
1430
  className: L(x.button, {
@@ -1540,7 +1540,7 @@ const Mo = Wo(), se = ({
1540
1540
  }, Ad = ae(({
1541
1541
  id: e
1542
1542
  }, t) => {
1543
- var P, B, H, R;
1543
+ var P, V, H, R;
1544
1544
  const o = F(null), n = I(), r = pe({
1545
1545
  targetRef: o,
1546
1546
  id: e
@@ -1548,7 +1548,7 @@ const Mo = Wo(), se = ({
1548
1548
  isOpen: l,
1549
1549
  click: c,
1550
1550
  toggle: _
1551
- } = Vo({
1551
+ } = Bo({
1552
1552
  ref: t,
1553
1553
  openDelay: (P = i == null ? void 0 : i.container) == null ? void 0 : P.delay
1554
1554
  });
@@ -1558,12 +1558,12 @@ const Mo = Wo(), se = ({
1558
1558
  iconRules: p,
1559
1559
  bodyRules: u,
1560
1560
  arrowRules: g
1561
- } = Bo(i, {
1561
+ } = Vo(i, {
1562
1562
  fade: C.fadein,
1563
1563
  pulse: C.pulse,
1564
1564
  wiggle: C.wiggle,
1565
1565
  gradient: C.gradient
1566
- }), v = (B = s == null ? void 0 : s.title) == null ? void 0 : B.hasIcon, b = te(s == null ? void 0 : s.title, ...Fe), $ = ne(s == null ? void 0 : s.title, ...Fe);
1566
+ }), v = (V = s == null ? void 0 : s.title) == null ? void 0 : V.hasIcon, b = te(s == null ? void 0 : s.title, ...Fe), $ = ne(s == null ? void 0 : s.title, ...Fe);
1567
1567
  return a("div", {
1568
1568
  ref: o,
1569
1569
  className: L(C.root, {
@@ -1609,8 +1609,8 @@ const Mo = Wo(), se = ({
1609
1609
  })]
1610
1610
  }), a("div", {
1611
1611
  className: C.inner,
1612
- children: (s.children || []).map((V) => a(se, {
1613
- value: V,
1612
+ children: (s.children || []).map((B) => a(se, {
1613
+ value: B,
1614
1614
  children: a(Od, {
1615
1615
  onClick: c
1616
1616
  })
@@ -1623,7 +1623,7 @@ const Mo = Wo(), se = ({
1623
1623
  })]
1624
1624
  })]
1625
1625
  });
1626
- }), Wf = ie(a(Ad, {})), Ld = "_root_byy1w_1", jd = "_background_byy1w_11", Sd = "_content_byy1w_19", Id = "_desktop_byy1w_28", Pd = "_laptop_byy1w_28", Hd = "_wrapper_byy1w_33", Rd = "_overlay_byy1w_37", Md = "_close_byy1w_43", Ed = "_body_byy1w_54", Bd = "_logo_byy1w_63", Vd = "_text_byy1w_69", qd = "_button_byy1w_73", Fd = "_legal_byy1w_88", G = {
1626
+ }), Wf = ie(a(Ad, {})), Ld = "_root_byy1w_1", jd = "_background_byy1w_11", Sd = "_content_byy1w_19", Id = "_desktop_byy1w_28", Pd = "_laptop_byy1w_28", Hd = "_wrapper_byy1w_33", Rd = "_overlay_byy1w_37", Md = "_close_byy1w_43", Ed = "_body_byy1w_54", Vd = "_logo_byy1w_63", Bd = "_text_byy1w_69", qd = "_button_byy1w_73", Fd = "_legal_byy1w_88", G = {
1627
1627
  root: Ld,
1628
1628
  background: jd,
1629
1629
  content: Sd,
@@ -1633,8 +1633,8 @@ const Mo = Wo(), se = ({
1633
1633
  overlay: Rd,
1634
1634
  close: Md,
1635
1635
  body: Ed,
1636
- logo: Bd,
1637
- text: Vd,
1636
+ logo: Vd,
1637
+ text: Bd,
1638
1638
  button: qd,
1639
1639
  legal: Fd
1640
1640
  }, _e = (e) => e && {
@@ -1691,12 +1691,12 @@ const Wd = ae(({
1691
1691
  id: e,
1692
1692
  className: t
1693
1693
  }, o) => {
1694
- var R, V, z, k, U, D;
1694
+ var R, B, z, k, U, D;
1695
1695
  const n = F(null), r = F(null), i = pe({
1696
1696
  targetRef: n,
1697
1697
  id: e
1698
1698
  }), s = I(), l = ce(s, i);
1699
- le(l), Oe(l, "button.percent_width", (R = l == null ? void 0 : l.button) == null ? void 0 : R.width), Oe(l, "legal.percent_width", (V = l == null ? void 0 : l.legal) == null ? void 0 : V.width);
1699
+ le(l), Oe(l, "button.percent_width", (R = l == null ? void 0 : l.button) == null ? void 0 : R.width), Oe(l, "legal.percent_width", (B = l == null ? void 0 : l.legal) == null ? void 0 : B.width);
1700
1700
  const c = j(l), _ = m(c, "root.delay", 0), {
1701
1701
  isOpen: d,
1702
1702
  isReady: p,
@@ -1723,7 +1723,7 @@ const Wd = ae(({
1723
1723
  justifyContent: _e((k = c.root) == null ? void 0 : k.textAlign)
1724
1724
  }), P = y(f({}, c == null ? void 0 : c.legal), {
1725
1725
  justifyContent: _e((U = c.root) == null ? void 0 : U.textAlign)
1726
- }), B = ne(c.root, ...no, ...X), H = te(c.root, ...no);
1726
+ }), V = ne(c.root, ...no, ...X), H = te(c.root, ...no);
1727
1727
  return a("div", {
1728
1728
  className: L(G.root, t, {
1729
1729
  [G.desktop]: i === "desktop",
@@ -1750,7 +1750,7 @@ const Wd = ae(({
1750
1750
  target: "_blank",
1751
1751
  rel: "nofollow noopener noreferrer",
1752
1752
  className: G.content,
1753
- style: B,
1753
+ style: V,
1754
1754
  onClick: () => v(c.id),
1755
1755
  children: [a("img", {
1756
1756
  ref: r,
@@ -1928,7 +1928,7 @@ const Wd = ae(({
1928
1928
  buttonHead: Au,
1929
1929
  buttonTarget: Lu,
1930
1930
  legal: ju
1931
- }, Su = "_root_16jvv_1", Iu = "_left_16jvv_8", Pu = "_desktop_16jvv_15", Hu = "_laptop_16jvv_15", Ru = "_teams_16jvv_19", Mu = "_logo_16jvv_25", Eu = "_league_16jvv_32", Bu = "_name_16jvv_37", Vu = "_right_16jvv_43", qu = "_odd_16jvv_54", Fu = "_oddLabel_16jvv_67", zu = "_oddValue_16jvv_76", Du = "_team_16jvv_19", Gu = "_teamLogo_16jvv_100", Uu = "_teamName_16jvv_107", T = {
1931
+ }, Su = "_root_16jvv_1", Iu = "_left_16jvv_8", Pu = "_desktop_16jvv_15", Hu = "_laptop_16jvv_15", Ru = "_teams_16jvv_19", Mu = "_logo_16jvv_25", Eu = "_league_16jvv_32", Vu = "_name_16jvv_37", Bu = "_right_16jvv_43", qu = "_odd_16jvv_54", Fu = "_oddLabel_16jvv_67", zu = "_oddValue_16jvv_76", Du = "_team_16jvv_19", Gu = "_teamLogo_16jvv_100", Uu = "_teamName_16jvv_107", T = {
1932
1932
  root: Su,
1933
1933
  left: Iu,
1934
1934
  desktop: Pu,
@@ -1936,8 +1936,8 @@ const Wd = ae(({
1936
1936
  teams: Ru,
1937
1937
  logo: Mu,
1938
1938
  league: Eu,
1939
- name: Bu,
1940
- right: Vu,
1939
+ name: Vu,
1940
+ right: Bu,
1941
1941
  odd: qu,
1942
1942
  oddLabel: Fu,
1943
1943
  oddValue: zu,
@@ -2094,12 +2094,12 @@ const Zu = (e, t) => {
2094
2094
  }, Ku = ae(({
2095
2095
  id: e
2096
2096
  }, t) => {
2097
- var B, H, R, V, z, k, U, D, W, ke, ut, pt, ft;
2097
+ var V, H, R, B, z, k, U, D, W, ke, ut, pt, ft;
2098
2098
  const o = F(null), n = pe({
2099
2099
  targetRef: o,
2100
2100
  id: e
2101
2101
  }), r = I(), i = ce(r, n);
2102
- Oe(i, "buttonWrapper.percent_width", (B = i == null ? void 0 : i.buttonWrapper) == null ? void 0 : B.width), Oe(i, "legal.percent_width", (H = i == null ? void 0 : i.legal) == null ? void 0 : H.width);
2102
+ Oe(i, "buttonWrapper.percent_width", (V = i == null ? void 0 : i.buttonWrapper) == null ? void 0 : V.width), Oe(i, "legal.percent_width", (H = i == null ? void 0 : i.legal) == null ? void 0 : H.width);
2103
2103
  const s = j(i);
2104
2104
  le(i);
2105
2105
  const l = m(s, "root.delay", 0), {
@@ -2110,7 +2110,7 @@ const Zu = (e, t) => {
2110
2110
  } = dt(t, l, !0), u = Zu(i, _), g = y(f({}, s.root), {
2111
2111
  alignItems: _e((R = s.root) == null ? void 0 : R.align)
2112
2112
  }), v = y(f({}, s.content), {
2113
- alignItems: _e((V = s.root) == null ? void 0 : V.align)
2113
+ alignItems: _e((B = s.root) == null ? void 0 : B.align)
2114
2114
  }), b = y(f({}, s.text), {
2115
2115
  textAlign: (z = s.root) == null ? void 0 : z.align
2116
2116
  }), $ = y(f({}, s == null ? void 0 : s.button), {
@@ -2326,7 +2326,7 @@ const Zu = (e, t) => {
2326
2326
  children: (r = t.root) == null ? void 0 : r.children
2327
2327
  })
2328
2328
  });
2329
- }, jp = "_root_gohhp_1", Sp = "_title_gohhp_8", Ip = "_desktop_gohhp_13", Pp = "_laptop_gohhp_13", Hp = "_titleLabel_gohhp_17", Rp = "_tablet_gohhp_20", Mp = "_titleValue_gohhp_27", Ep = "_teamLogo_gohhp_38", Bp = "_teams_gohhp_49", Vp = "_teamName_gohhp_57", qp = "_odds_gohhp_64", Fp = "_odd_gohhp_64", zp = "_oddX_gohhp_76", Dp = "_oddValue_gohhp_84", A = {
2329
+ }, jp = "_root_gohhp_1", Sp = "_title_gohhp_8", Ip = "_desktop_gohhp_13", Pp = "_laptop_gohhp_13", Hp = "_titleLabel_gohhp_17", Rp = "_tablet_gohhp_20", Mp = "_titleValue_gohhp_27", Ep = "_teamLogo_gohhp_38", Vp = "_teams_gohhp_49", Bp = "_teamName_gohhp_57", qp = "_odds_gohhp_64", Fp = "_odd_gohhp_64", zp = "_oddX_gohhp_76", Dp = "_oddValue_gohhp_84", A = {
2330
2330
  root: jp,
2331
2331
  title: Sp,
2332
2332
  desktop: Ip,
@@ -2335,8 +2335,8 @@ const Zu = (e, t) => {
2335
2335
  tablet: Rp,
2336
2336
  titleValue: Mp,
2337
2337
  teamLogo: Ep,
2338
- teams: Bp,
2339
- teamName: Vp,
2338
+ teams: Vp,
2339
+ teamName: Bp,
2340
2340
  odds: qp,
2341
2341
  odd: Fp,
2342
2342
  oddX: zp,
@@ -2576,7 +2576,7 @@ const Zu = (e, t) => {
2576
2576
  }, _f = 3700, df = ae(({
2577
2577
  id: e
2578
2578
  }, t) => {
2579
- var B, H, R, V, z;
2579
+ var V, H, R, B, z;
2580
2580
  const o = F(null), n = I(), r = pe({
2581
2581
  id: e,
2582
2582
  targetRef: o
@@ -2597,7 +2597,7 @@ const Zu = (e, t) => {
2597
2597
  animationName: (U = k == null ? void 0 : k.root) == null ? void 0 : U.animationName,
2598
2598
  animationDuration: ((D = k == null ? void 0 : k.root) == null ? void 0 : D.animationDuration) || _f
2599
2599
  });
2600
- }), v = af(g), b = j(g[v] || {}), $ = ne(s.root, ...X), P = (B = b == null ? void 0 : b.root) != null && B.hasCustomBackground ? te((b == null ? void 0 : b.root) || {}, ...X) : te(s.root, ...X);
2600
+ }), v = af(g), b = j(g[v] || {}), $ = ne(s.root, ...X), P = (V = b == null ? void 0 : b.root) != null && V.hasCustomBackground ? te((b == null ? void 0 : b.root) || {}, ...X) : te(s.root, ...X);
2601
2601
  return a("div", {
2602
2602
  ref: o,
2603
2603
  className: L(O.root, {
@@ -2625,7 +2625,7 @@ const Zu = (e, t) => {
2625
2625
  }), a("div", {
2626
2626
  className: O.promotion,
2627
2627
  style: s.promotion,
2628
- children: (V = s.promotion) == null ? void 0 : V.children
2628
+ children: (B = s.promotion) == null ? void 0 : B.children
2629
2629
  }), a("div", {
2630
2630
  className: O.content,
2631
2631
  children: [a("div", {
@@ -2847,19 +2847,20 @@ const Zu = (e, t) => {
2847
2847
  })]
2848
2848
  })]
2849
2849
  });
2850
- }, Bf = (e) => {
2851
- const t = F(Ie()), o = (n) => t.current.on("click", n);
2850
+ }, Vf = (e) => {
2851
+ const t = F(Ie()), o = (r) => t.current.on("click", r), n = (r) => t.current.on("visible", r);
2852
2852
  return Le(e, () => ({
2853
2853
  promoId: "ContentCards",
2854
2854
  onClick: o,
2855
+ onVisible: n,
2855
2856
  resetListeners: t.current.reset
2856
2857
  })), E(() => {
2857
2858
  t.current.emit("visible");
2858
2859
  }, []), E(() => t.current.reset, []), {
2859
- click: (...n) => t.current.emit("click", ...n),
2860
+ click: (...r) => t.current.emit("click", ...r),
2860
2861
  onClick: o
2861
2862
  };
2862
- }, Vf = ae(({
2863
+ }, Bf = ae(({
2863
2864
  id: e
2864
2865
  }, t) => {
2865
2866
  const o = F(null), n = I(), r = pe({
@@ -2869,7 +2870,7 @@ const Zu = (e, t) => {
2869
2870
  le(i);
2870
2871
  const {
2871
2872
  click: l
2872
- } = Bf(t), c = (_) => ({
2873
+ } = Vf(t), c = (_) => ({
2873
2874
  cardVariant1: a(Tf, {
2874
2875
  onClick: l
2875
2876
  }),
@@ -2892,7 +2893,7 @@ const Zu = (e, t) => {
2892
2893
  }))
2893
2894
  })
2894
2895
  });
2895
- }), eg = ie(a(Vf, {}));
2896
+ }), eg = ie(a(Bf, {}));
2896
2897
  export {
2897
2898
  Jf as BonusCard,
2898
2899
  Wf as ComplexGift,
@@ -2,4 +2,4 @@
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var a=typeof i;if(a==="string"||a==="number")n.push(i);else if(Array.isArray(i)){if(i.length){var l=o.apply(null,i);l&&n.push(l)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){n.push(i.toString());continue}for(var c in i)t.call(i,c)&&i[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Ge);const C=X;var le,k,ee,we,xe=0,Ot=[],Ue=[],St=u.options.__b,Lt=u.options.__r,At=u.options.diffed,It=u.options.__c,Rt=u.options.unmount;function Ie(e,t){u.options.__h&&u.options.__h(k,e,xe||t),xe=0;var o=k.__H||(k.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Ue}),o.__[e]}function ie(e){return xe=1,bn(Bt,e)}function bn(e,t,o){var n=Ie(le++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Bt(void 0,t),function(l){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,l);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=k,!k.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(p){return p.__c});if(_.every(function(p){return!p.__N}))return!i||i.call(this,l,c,d);var f=!1;return _.forEach(function(p){if(p.__N){var v=p.__[0];p.__=p.__N,p.__N=void 0,v!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!i||i.call(this,l,c,d))};k.u=!0;var i=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(l,c,d){if(this.__e){var _=i;i=void 0,r(l,c,d),i=_}a&&a.call(this,l,c,d)},k.shouldComponentUpdate=r}return n.__N||n.__}function q(e,t){var o=Ie(le++,3);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__H.__h.push(o))}function Et(e,t){var o=Ie(le++,4);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function W(e){return xe=5,Ee(function(){return{current:e}},[])}function Re(e,t,o){xe=6,Et(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function Ee(e,t){var o=Ie(le++,7);return ft(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function yn(e,t){return xe=8,Ee(function(){return e},t)}function $n(e){var t=k.context[e.__c],o=Ie(le++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function kn(){for(var e;e=Ot.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xe),e.__H.__h.forEach(pt),e.__H.__h=[]}catch(t){e.__H.__h=[],u.options.__e(t,e.__v)}}u.options.__b=function(e){k=null,St&&St(e)},u.options.__r=function(e){Lt&&Lt(e),le=0;var t=(k=e.__c).__H;t&&(ee===k?(t.__h=[],k.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Ue,o.__N=o.i=void 0})):(t.__h.forEach(Xe),t.__h.forEach(pt),t.__h=[])),ee=k},u.options.diffed=function(e){At&&At(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ot.push(t)!==1&&we===u.options.requestAnimationFrame||((we=u.options.requestAnimationFrame)||wn)(kn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ue&&(o.__=o.__V),o.i=void 0,o.__V=Ue})),ee=k=null},u.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Xe),o.__h=o.__h.filter(function(n){return!n.__||pt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],u.options.__e(n,o.__v)}}),It&&It(e,t)},u.options.unmount=function(e){Rt&&Rt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Xe(n)}catch(r){t=r}}),o.__H=void 0,t&&u.options.__e(t,o.__v))};var jt=typeof requestAnimationFrame=="function";function wn(e){var t,o=function(){clearTimeout(n),jt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);jt&&(t=requestAnimationFrame(o))}function Xe(e){var t=k,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),k=t}function pt(e){var t=k;e.__c=e.__(),k=t}function ft(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Bt(e,t){return typeof t=="function"?t(e):t}function zt(e,t){for(var o in t)e[o]=t[o];return e}function Pt(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Mt(e){this.props=e}(Mt.prototype=new u.Component).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Pt(this.props,e)||Pt(this.state,t)};var Ht=u.options.__b;u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var xn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function de(e){function t(o){var n=zt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=xn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Nn=u.options.__e;u.options.__e=function(e,t,o,n){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Nn(e,t,o,n)};var Vt=u.options.unmount;function Dt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=zt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Dt(n,t,o)})),e}function qt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return qt(n,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=o)),e}function gt(){this.__u=0,this.t=null,this.__b=null}function Ft(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ze(){this.u=null,this.o=null}u.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Vt&&Vt(e)},(gt.prototype=new u.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Ft(n.__v),i=!1,a=function(){i||(i=!0,o.__R=null,r?r(l):l())};o.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=qt(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},gt.prototype.componentWillUnmount=function(){this.t=[]},gt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Dt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&u.createElement(u.Fragment,null,e.fallback);return r&&(r.__h=null),[u.createElement(u.Fragment,null,t.__a?null:e.children),r]};var Wt=function(e,t,o){if(++o[1]===o[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(o=e.u;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.u=o=o[2]}};(Ze.prototype=new u.Component).__a=function(e){var t=this,o=Ft(t.__v),n=t.o.get(e);return n[0]++,function(r){var i=function(){t.props.revealOrder?(n.push(r),Wt(t,e,n)):r()};o?o(i):i()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=u.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Wt(e,o,t)})};var Tn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Cn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,On=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Sn=/[A-Z0-9]/g,Ln=typeof document!="undefined",An=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};u.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(u.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Gt=u.options.event;function In(){}function Rn(){return this.cancelBubble}function En(){return this.defaultPrevented}u.options.event=function(e){return Gt&&(e=Gt(e)),e.persist=In,e.isPropagationStopped=Rn,e.isDefaultPrevented=En,e.nativeEvent=e};var jn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ut=u.options.vnode;u.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var i in o){var a=o[i];if(!(i==="value"&&"defaultValue"in o&&a==null||Ln&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in o&&o.value==null?i="value":i==="download"&&a===!0?a="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||An(o.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":On.test(i)?i=l:n.indexOf("-")===-1&&Cn.test(i)?i=i.replace(Sn,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&r[i=l]&&(i="oninputCapture"),r[i]=a}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",jn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=Tn,Ut&&Ut(e)};var Xt=u.options.__r;u.options.__r=function(e){Xt&&Xt(e),e.__c};var Zt=u.options.diffed;u.options.diffed=function(e){Zt&&Zt(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};function Bn(){this.__data__=[],this.size=0}var zn=Bn;function Pn(e,t){return e===t||e!==e&&t!==t}var Ke=Pn,Mn=Ke;function Hn(e,t){for(var o=e.length;o--;)if(Mn(e[o][0],t))return o;return-1}var Je=Hn,Vn=Je,Dn=Array.prototype,qn=Dn.splice;function Fn(e){var t=this.__data__,o=Vn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():qn.call(t,o,1),--this.size,!0}var Wn=Fn,Gn=Je;function Un(e){var t=this.__data__,o=Gn(t,e);return o<0?void 0:t[o][1]}var Xn=Un,Zn=Je;function Kn(e){return Zn(this.__data__,e)>-1}var Jn=Kn,Yn=Je;function Qn(e,t){var o=this.__data__,n=Yn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var er=Qn,tr=zn,or=Wn,nr=Xn,rr=Jn,ar=er;function Ne(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Ne.prototype.clear=tr,Ne.prototype.delete=or,Ne.prototype.get=nr,Ne.prototype.has=rr,Ne.prototype.set=ar;var Ye=Ne,ir=Ye;function sr(){this.__data__=new ir,this.size=0}var cr=sr;function lr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var dr=lr;function _r(e){return this.__data__.get(e)}var ur=_r;function pr(e){return this.__data__.has(e)}var fr=pr,gr=typeof T=="object"&&T&&T.Object===Object&&T,Kt=gr,hr=Kt,vr=typeof self=="object"&&self&&self.Object===Object&&self,mr=hr||vr||Function("return this")(),Te=mr,br=Te,yr=br.Symbol,Jt=yr,Yt=Jt,Qt=Object.prototype,$r=Qt.hasOwnProperty,kr=Qt.toString,je=Yt?Yt.toStringTag:void 0;function wr(e){var t=$r.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(i){}var r=kr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var xr=wr,Nr=Object.prototype,Tr=Nr.toString;function Cr(e){return Tr.call(e)}var Or=Cr,eo=Jt,Sr=xr,Lr=Or,Ar="[object Null]",Ir="[object Undefined]",to=eo?eo.toStringTag:void 0;function Rr(e){return e==null?e===void 0?Ir:Ar:to&&to in Object(e)?Sr(e):Lr(e)}var Qe=Rr;function Er(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var he=Er,jr=Qe,Br=he,zr="[object AsyncFunction]",Pr="[object Function]",Mr="[object GeneratorFunction]",Hr="[object Proxy]";function Vr(e){if(!Br(e))return!1;var t=jr(e);return t==Pr||t==Mr||t==zr||t==Hr}var ht=Vr,Dr=Te,qr=Dr["__core-js_shared__"],Fr=qr,vt=Fr,oo=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wr(e){return!!oo&&oo in e}var Gr=Wr,Ur=Function.prototype,Xr=Ur.toString;function Zr(e){if(e!=null){try{return Xr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Kr=Zr,Jr=ht,Yr=Gr,Qr=he,ea=Kr,ta=/[\\^$.*+?()[\]{}|]/g,oa=/^\[object .+?Constructor\]$/,na=Function.prototype,ra=Object.prototype,aa=na.toString,ia=ra.hasOwnProperty,sa=RegExp("^"+aa.call(ia).replace(ta,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ca(e){if(!Qr(e)||Yr(e))return!1;var t=Jr(e)?sa:oa;return t.test(ea(e))}var la=ca;function da(e,t){return e==null?void 0:e[t]}var _a=da,ua=la,pa=_a;function fa(e,t){var o=pa(e,t);return ua(o)?o:void 0}var mt=fa,ga=mt,ha=Te,va=ga(ha,"Map"),no=va,ma=mt,ba=ma(Object,"create"),et=ba,ro=et;function ya(){this.__data__=ro?ro(null):{},this.size=0}var $a=ya;function ka(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var wa=ka,xa=et,Na="__lodash_hash_undefined__",Ta=Object.prototype,Ca=Ta.hasOwnProperty;function Oa(e){var t=this.__data__;if(xa){var o=t[e];return o===Na?void 0:o}return Ca.call(t,e)?t[e]:void 0}var Sa=Oa,La=et,Aa=Object.prototype,Ia=Aa.hasOwnProperty;function Ra(e){var t=this.__data__;return La?t[e]!==void 0:Ia.call(t,e)}var Ea=Ra,ja=et,Ba="__lodash_hash_undefined__";function za(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ja&&t===void 0?Ba:t,this}var Pa=za,Ma=$a,Ha=wa,Va=Sa,Da=Ea,qa=Pa;function Ce(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Ce.prototype.clear=Ma,Ce.prototype.delete=Ha,Ce.prototype.get=Va,Ce.prototype.has=Da,Ce.prototype.set=qa;var Fa=Ce,ao=Fa,Wa=Ye,Ga=no;function Ua(){this.size=0,this.__data__={hash:new ao,map:new(Ga||Wa),string:new ao}}var Xa=Ua;function Za(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ka=Za,Ja=Ka;function Ya(e,t){var o=e.__data__;return Ja(t)?o[typeof t=="string"?"string":"hash"]:o.map}var tt=Ya,Qa=tt;function ei(e){var t=Qa(this,e).delete(e);return this.size-=t?1:0,t}var ti=ei,oi=tt;function ni(e){return oi(this,e).get(e)}var ri=ni,ai=tt;function ii(e){return ai(this,e).has(e)}var si=ii,ci=tt;function li(e,t){var o=ci(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var di=li,_i=Xa,ui=ti,pi=ri,fi=si,gi=di;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=_i,Oe.prototype.delete=ui,Oe.prototype.get=pi,Oe.prototype.has=fi,Oe.prototype.set=gi;var hi=Oe,vi=Ye,mi=no,bi=hi,yi=200;function $i(e,t){var o=this.__data__;if(o instanceof vi){var n=o.__data__;if(!mi||n.length<yi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new bi(n)}return o.set(e,t),this.size=o.size,this}var ki=$i,wi=Ye,xi=cr,Ni=dr,Ti=ur,Ci=fr,Oi=ki;function Se(e){var t=this.__data__=new wi(e);this.size=t.size}Se.prototype.clear=xi,Se.prototype.delete=Ni,Se.prototype.get=Ti,Se.prototype.has=Ci,Se.prototype.set=Oi;var Si=Se,Li=mt,Ai=function(){try{var e=Li(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),io=Ai,so=io;function Ii(e,t,o){t=="__proto__"&&so?so(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var bt=Ii,Ri=bt,Ei=Ke;function ji(e,t,o){(o!==void 0&&!Ei(e[t],o)||o===void 0&&!(t in e))&&Ri(e,t,o)}var co=ji;function Bi(e){return function(t,o,n){for(var r=-1,i=Object(t),a=n(t),l=a.length;l--;){var c=a[e?l:++r];if(o(i[c],c,i)===!1)break}return t}}var zi=Bi,Pi=zi,Mi=Pi(),Hi=Mi,ot={},Vi={get exports(){return ot},set exports(e){ot=e}};(function(e,t){var o=Te,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i?o.Buffer:void 0,l=a?a.allocUnsafe:void 0;function c(d,_){if(_)return d.slice();var f=d.length,p=l?l(f):new d.constructor(f);return d.copy(p),p}e.exports=c})(Vi,ot);var Di=Te,qi=Di.Uint8Array,Fi=qi,lo=Fi;function Wi(e){var t=new e.constructor(e.byteLength);return new lo(t).set(new lo(e)),t}var Gi=Wi,Ui=Gi;function Xi(e,t){var o=t?Ui(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Zi=Xi;function Ki(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ji=Ki,Yi=he,_o=Object.create,Qi=function(){function e(){}return function(t){if(!Yi(t))return{};if(_o)return _o(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),es=Qi;function ts(e,t){return function(o){return e(t(o))}}var os=ts,ns=os,rs=ns(Object.getPrototypeOf,Object),uo=rs,as=Object.prototype;function is(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||as;return e===o}var po=is,ss=es,cs=uo,ls=po;function ds(e){return typeof e.constructor=="function"&&!ls(e)?ss(cs(e)):{}}var _s=ds;function us(e){return e!=null&&typeof e=="object"}var Be=us,ps=Qe,fs=Be,gs="[object Arguments]";function hs(e){return fs(e)&&ps(e)==gs}var vs=hs,fo=vs,ms=Be,go=Object.prototype,bs=go.hasOwnProperty,ys=go.propertyIsEnumerable,$s=fo(function(){return arguments}())?fo:function(e){return ms(e)&&bs.call(e,"callee")&&!ys.call(e,"callee")},ho=$s,ks=Array.isArray,vo=ks,ws=9007199254740991;function xs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ws}var mo=xs,Ns=ht,Ts=mo;function Cs(e){return e!=null&&Ts(e.length)&&!Ns(e)}var yt=Cs,Os=yt,Ss=Be;function Ls(e){return Ss(e)&&Os(e)}var As=Ls,ze={},Is={get exports(){return ze},set exports(e){ze=e}};function Rs(){return!1}var Es=Rs;(function(e,t){var o=Te,n=Es,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(Is,ze);var js=Qe,Bs=uo,zs=Be,Ps="[object Object]",Ms=Function.prototype,Hs=Object.prototype,bo=Ms.toString,Vs=Hs.hasOwnProperty,Ds=bo.call(Object);function qs(e){if(!zs(e)||js(e)!=Ps)return!1;var t=Bs(e);if(t===null)return!0;var o=Vs.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&bo.call(o)==Ds}var Fs=qs,Ws=Qe,Gs=mo,Us=Be,Xs="[object Arguments]",Zs="[object Array]",Ks="[object Boolean]",Js="[object Date]",Ys="[object Error]",Qs="[object Function]",ec="[object Map]",tc="[object Number]",oc="[object Object]",nc="[object RegExp]",rc="[object Set]",ac="[object String]",ic="[object WeakMap]",sc="[object ArrayBuffer]",cc="[object DataView]",lc="[object Float32Array]",dc="[object Float64Array]",_c="[object Int8Array]",uc="[object Int16Array]",pc="[object Int32Array]",fc="[object Uint8Array]",gc="[object Uint8ClampedArray]",hc="[object Uint16Array]",vc="[object Uint32Array]",N={};N[lc]=N[dc]=N[_c]=N[uc]=N[pc]=N[fc]=N[gc]=N[hc]=N[vc]=!0,N[Xs]=N[Zs]=N[sc]=N[Ks]=N[cc]=N[Js]=N[Ys]=N[Qs]=N[ec]=N[tc]=N[oc]=N[nc]=N[rc]=N[ac]=N[ic]=!1;function mc(e){return Us(e)&&Gs(e.length)&&!!N[Ws(e)]}var bc=mc;function yc(e){return function(t){return e(t)}}var $c=yc,nt={},kc={get exports(){return nt},set exports(e){nt=e}};(function(e,t){var o=Kt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||a&&a.binding&&a.binding("util")}catch(d){}}();e.exports=l})(kc,nt);var wc=bc,xc=$c,yo=nt,$o=yo&&yo.isTypedArray,Nc=$o?xc($o):wc,ko=Nc;function Tc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var wo=Tc,Cc=bt,Oc=Ke,Sc=Object.prototype,Lc=Sc.hasOwnProperty;function Ac(e,t,o){var n=e[t];(!(Lc.call(e,t)&&Oc(n,o))||o===void 0&&!(t in e))&&Cc(e,t,o)}var Ic=Ac,Rc=Ic,Ec=bt;function jc(e,t,o,n){var r=!o;o||(o={});for(var i=-1,a=t.length;++i<a;){var l=t[i],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?Ec(o,l,c):Rc(o,l,c)}return o}var Bc=jc;function zc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Pc=zc,Mc=9007199254740991,Hc=/^(?:0|[1-9]\d*)$/;function Vc(e,t){var o=typeof e;return t=t==null?Mc:t,!!t&&(o=="number"||o!="symbol"&&Hc.test(e))&&e>-1&&e%1==0&&e<t}var xo=Vc,Dc=Pc,qc=ho,Fc=vo,Wc=ze,Gc=xo,Uc=ko,Xc=Object.prototype,Zc=Xc.hasOwnProperty;function Kc(e,t){var o=Fc(e),n=!o&&qc(e),r=!o&&!n&&Wc(e),i=!o&&!n&&!r&&Uc(e),a=o||n||r||i,l=a?Dc(e.length,String):[],c=l.length;for(var d in e)(t||Zc.call(e,d))&&!(a&&(d=="length"||r&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Gc(d,c)))&&l.push(d);return l}var Jc=Kc;function Yc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Qc=Yc,el=he,tl=po,ol=Qc,nl=Object.prototype,rl=nl.hasOwnProperty;function al(e){if(!el(e))return ol(e);var t=tl(e),o=[];for(var n in e)n=="constructor"&&(t||!rl.call(e,n))||o.push(n);return o}var il=al,sl=Jc,cl=il,ll=yt;function dl(e){return ll(e)?sl(e,!0):cl(e)}var No=dl,_l=Bc,ul=No;function pl(e){return _l(e,ul(e))}var fl=pl,To=co,gl=ot,hl=Zi,vl=Ji,ml=_s,Co=ho,Oo=vo,bl=As,yl=ze,$l=ht,kl=he,wl=Fs,xl=ko,So=wo,Nl=fl;function Tl(e,t,o,n,r,i,a){var l=So(e,o),c=So(t,o),d=a.get(c);if(d){To(e,o,d);return}var _=i?i(l,c,o+"",e,t,a):void 0,f=_===void 0;if(f){var p=Oo(c),v=!p&&yl(c),b=!p&&!v&&xl(c);_=c,p||v||b?Oo(l)?_=l:bl(l)?_=vl(l):v?(f=!1,_=gl(c,!0)):b?(f=!1,_=hl(c,!0)):_=[]:wl(c)||Co(c)?(_=l,Co(l)?_=Nl(l):(!kl(l)||$l(l))&&(_=ml(c))):f=!1}f&&(a.set(c,_),r(_,c,n,i,a),a.delete(c)),To(e,o,_)}var Cl=Tl,Ol=Si,Sl=co,Ll=Hi,Al=Cl,Il=he,Rl=No,El=wo;function Lo(e,t,o,n,r){e!==t&&Ll(t,function(i,a){if(r||(r=new Ol),Il(i))Al(e,t,a,o,Lo,n,r);else{var l=n?n(El(e,a),i,a+"",e,t,r):void 0;l===void 0&&(l=i),Sl(e,a,l)}},Rl)}var jl=Lo;function Bl(e){return e}var Ao=Bl;function zl(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}var Pl=zl,Ml=Pl,Io=Math.max;function Hl(e,t,o){return t=Io(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=Io(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(a),Ml(e,this,l)}}var Vl=Hl;function Dl(e){return function(){return e}}var ql=Dl,Fl=ql,Ro=io,Wl=Ao,Gl=Ro?function(e,t){return Ro(e,"toString",{configurable:!0,enumerable:!1,value:Fl(t),writable:!0})}:Wl,Ul=Gl,Xl=800,Zl=16,Kl=Date.now;function Jl(e){var t=0,o=0;return function(){var n=Kl(),r=Zl-(n-o);if(o=n,r>0){if(++t>=Xl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Yl=Jl,Ql=Ul,ed=Yl,td=ed(Ql),od=td,nd=Ao,rd=Vl,ad=od;function id(e,t){return ad(rd(e,t,nd),e+"")}var sd=id,cd=Ke,ld=yt,dd=xo,_d=he;function ud(e,t,o){if(!_d(o))return!1;var n=typeof t;return(n=="number"?ld(o)&&dd(t,o.length):n=="string"&&t in o)?cd(o[t],e):!1}var pd=ud,fd=sd,gd=pd;function hd(e){return fd(function(t,o){var n=-1,r=o.length,i=r>1?o[r-1]:void 0,a=r>2?o[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&gd(o[0],o[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,i)}return t})}var vd=hd,md=jl,bd=vd;bd(function(e,t,o){md(e,t,o)});const ve=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const i=[o,r].filter(H).join(".");return ve(t(r,n,i),t,i)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,i])=>{const a=[o,r].filter(H).join(".");return n[r]=ve(t(r,i,a),t,a),n},{}):e,yd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},Pe=()=>{let e={};return{on:(a,l)=>{a in e?e[a].push(l):e[a]=[l]},has:a=>a in e,get:a=>e[a],emit:(a,...l)=>a in e?e[a].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},$d=()=>({name:null,logo:null}),Eo=()=>({name:null,logo:null}),kd=()=>({factor:null,type:null,outcome:null,value:null}),wd=()=>({w1:null,x:null,w2:null}),xd=()=>({w1:null,w2:null}),Nd=()=>({one_x_two:wd(),one_two:xd()}),jo=(e,t)=>{var n;const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:g({},(e==null?void 0:e.teams)||{0:Eo(),1:Eo()}),league:(e==null?void 0:e.unique_tournament)||$d(),prediction:(e==null?void 0:e.prediction)||kd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((i,a)=>(i[a]=m(e||{},`markets.${a}`,Nd()[a||"one_two"]),i),{});Me(o,"markets",r)}return o},Td=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),Cd=e=>!e&&e==null,H=e=>!Cd(e),Bo=e=>typeof e!="object"&&typeof e!="function"||e===null,Od=e=>typeof e=="object"&&!Array.isArray(e)&&H(e),Sd=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),te=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function se(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const m=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((i,a)=>i&&i[a],e);return r===void 0?o:r},Me=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,i,a)=>(r[i]===void 0&&(r[i]={}),a===n.length-1&&(r[i]=o),r[i]),e)},Ld=e=>{const t=e.slice(1);return t.length===3&&(e="#"+t.split("").map(o=>`${o}${o}`).join("")),e},Ad=e=>{const t=Ld(e),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},zo=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Id=e=>"id"in e&&"root"in e,Rd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),Po=(e,t,o)=>ve(e,(n,r,i)=>Bo(r)||Array.isArray(r)&&r.every(Bo)?o?o(n,[r,m(t,i)],i)?m(t,i,r):r:m(t,i,r):r),Ed=(e,t)=>{try{ve(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},jd=(e,t)=>{const o=[];return ve(e,(n,r,i)=>(t(n,r,i,o)&&o.push({key:n,value:r,path:i}),r)),o},Mo=["desktop","laptop","tablet","mobile"],Bd={mobile:320,tablet:768,laptop:1024,desktop:1920},O={root:"_root_90dqc_1",icon:"_icon_90dqc_5",iconTarget:"_iconTarget_90dqc_17",body:"_body_90dqc_23",bodyOpen:"_bodyOpen_90dqc_31",simpleGift_in:"_simpleGift_in_90dqc_1",close:"_close_90dqc_44",arrow:"_arrow_90dqc_56",container:"_container_90dqc_67",inner:"_inner_90dqc_73",logo:"_logo_90dqc_80",text:"_text_90dqc_87",button:"_button_90dqc_94",buttonAnimated:"_buttonAnimated_90dqc_103",increase:"_increase_90dqc_1",legalGap:"_legalGap_90dqc_107",legalOpen:"_legalOpen_90dqc_111",legal:"_legal_90dqc_107",legalText:"_legalText_90dqc_139",legalButton:"_legalButton_90dqc_157",fadein:"_fadein_90dqc_1",pulse:"_pulse_90dqc_1",gradient:"_gradient_90dqc_1",wiggle:"_wiggle_90dqc_1"};var zd=0;function s(e,t,o,n,r,i){var a,l,c={};for(l in t)l=="ref"?a=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--zd,__source:r,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)c[l]===void 0&&(c[l]=a[l]);return u.options.vnode&&u.options.vnode(d),d}const Ho=u.createContext(),_e=({children:e,value:t})=>s(Ho.Provider,{value:t,children:e}),ue=e=>a=>We(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,i=Ct(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const c=yield Promise.resolve().then(()=>Q_);window.ResizeObserver=c.ResizeObserver}return u.render(s(_e,{value:r,children:u.cloneElement(e,g({ref:n,id:o},i))}),t)}),V=()=>$n(Ho),Pd=(e={})=>typeof e=="object"&&H(e)&&Mo.every(t=>t in e),Md=(e,t)=>e&&ve(e,(o,n)=>{if(Pd(n)){const r=n[t];return r&&"parent"in r&&H(r.parent)?g(g({},n[r.parent]),se(r,"parent")):r}return n}),pe=(e,t)=>Md(e,t),me=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Bd})=>{const[r,i]=ie("desktop"),a=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries(g({},n)).sort(([p,v],[b,$])=>v-$),_=((f=d.find(([p,v],b)=>{const[$,y]=d[b+1]||[];return c>=v&&c<y}))==null?void 0:f[0])||"desktop";i(_)};return Et(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>a(l)).observe(l),a(l))},[]),r},Vo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),rt=(e,t)=>H(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Hd=e=>e.startsWith("px_"),Vd=e=>e.startsWith("percent_"),Dd=(e,t)=>{let o=e,n=t;return Hd(o)&&(o=o.replace("px_",""),n=rt(t,"px")),Vd(o)&&(o=o.replace("percent_",""),n=rt(t,"%")),{key:o,value:n}},qd="-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'",Fd=["borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","minHeight","minWidth","maxWidth","maxHeight","fontSize","height","width","letterSpacing","fontSize","left","right","top","bottom","marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Do=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{Fd.includes(n)&&(r=rt(r,"px"));const{key:i,value:a}=Dd(n,r);if(Od(a)&&(o[i]=Do(a)),o[i]=a,i==="hidden"&&a)return o.display="none",o;if(i==="innerHTML"&&(o.innerHTML=H(a)?`${a}`:""),i==="innerText"&&(o.innerText=H(a)?`${a}`:""),i==="children"&&(o.children=typeof a=="string"?H(a)?`${a}`:"":a),i.includes("borderWidth")&&(o.borderStyle="solid"),i==="corner"&&(o.borderRadius=rt(a,"px")),i==="backgroundFit"&&(Vo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),i==="backgroundImage"&&H(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Vo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),i==="backgroundColorOpacity"&&H(o.backgroundColorOpacity)&&H(o.backgroundColor)){const l=Ad(o.backgroundColor);l&&(o.backgroundColor=Rd(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=qd),i==="isBold"&&(o.fontWeight=a?"bold":"initial"),i==="isItalic"&&(o.fontStyle=a?"italic":"initial"),i==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Wd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,L=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Wd(n)?Do(g({},e[o])):n,t),{}):e,Gd=e=>e in document.createElement("div").style||e.startsWith("--"),J=r=>{var i=r,{children:e,typography:t,accentTypography:o}=i,n=Ct(i,["children","typography","accentTypography"]);var c;const a=Ee(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([_,f])=>{Gd(_)&&(d+=`${Sd(_)}: ${f}; `)}),d},[o]),l=(c=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:c.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return s("div",w(g({},n),{style:g(g({},t),n.style||{}),dangerouslySetInnerHTML:{__html:l}}))},at=()=>{const[e,t]=ie(!1);return[e,()=>t(o=>!o)]},Le=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 24 24",children:s("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),$t=()=>s("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Ud=e=>({fade:`${e.fade} 2s linear infinite`,pulse:`${e.pulse} .3s linear 0s infinite alternate forwards`,wiggle:`${e.wiggle} 2s linear infinite`,gradient:`${e.gradient} 3s ease infinite`}),qo=(e,t)=>{var _,f,p,v,b,$,y,j,B,S,z,P,U;const o=Ud(t),n=L(e),r=(_=n==null?void 0:n.icon)==null?void 0:_.hasIcon,i={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(b=n==null?void 0:n.container)==null?void 0:b.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(j=n==null?void 0:n.container)==null?void 0:j.left},l=(((B=n==null?void 0:n.icon)==null?void 0:B.animations)||[]).map(x=>o[x]).join(", "),c=H((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((z=n==null?void 0:n.icon)!=null&&z.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(P=n.icon)==null?void 0:P.backgroundColor} 0%, ${(U=n==null?void 0:n.icon)==null?void 0:U.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=g(w(g({},(n==null?void 0:n.icon)||{}),{animation:l}),c);return{hasIcon:r,arrowRules:i,bodyRules:a,iconRules:d}},fe=e=>{const t=new Set([]);ve(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Ee(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);q(()=>{o.forEach(yd)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Xd=["borderWidth","borderColor","borderStyle"],Fo=["imageSource","objectFit"],it=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Zd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ie(!1),i=W(null),a=c=>{clearTimeout(i.current),i.current=null},l=()=>{a(i.current),r(c=>!c)};return q(()=>(i.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>a(i.current)),[e]),q(()=>{n&&!i.current&&t&&t()},[n]),{isOpen:n,toggle:l}},Wo=({ref:e,openDelay:t})=>{const o=W(Pe()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),i=c=>o.current.on("autoOpen",c),{isOpen:a,toggle:l}=Zd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Re(e,()=>({onOpen:n,onClick:r,onAutoOpen:i,resetListeners:o.current.reset})),q(()=>o.current.reset,[]),{isOpen:a,toggle:l,click:(...c)=>o.current.emit("click",...c)}},Kd=de(({id:e},t)=>{var j,B,S,z,P,U,x,D,M;const o=W(null),[n,r]=at(),i=V(),a=me({targetRef:o,id:e}),l=pe(i,a),c=L(l),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:p}=qo(l,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),{isOpen:v,toggle:b,click:$}=Wo({ref:t,openDelay:(j=l==null?void 0:l.container)==null?void 0:j.delay});fe(l);const y=n?te(c.container,...Xd):{};return s("div",{className:C(O.root,{[O.legalOpen]:n}),ref:o,children:[s("div",{className:O.icon,style:_,onClick:b,children:d&&s("div",{className:O.iconTarget,children:s($t,{})})}),s("div",{className:C(O.body,{[O.bodyOpen]:v}),style:f,children:[s("div",{className:O.arrow,style:p}),s("div",{className:O.close,style:c==null?void 0:c.close,onClick:b,children:s(Le,{})}),s("div",{className:O.container,style:c==null?void 0:c.container,children:[s("a",{href:(B=c==null?void 0:c.root)==null?void 0:B.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>$(c.id),children:[s("div",{className:O.inner,children:[s("div",{className:O.logo,style:c==null?void 0:c.logo}),s(J,{className:O.text,style:c==null?void 0:c.text,typography:(S=c.text)==null?void 0:S.typography,accentTypography:(z=c.text)==null?void 0:z.accentTypography,children:(P=c==null?void 0:c.text)==null?void 0:P.children})]}),s("div",{className:C(O.button,{[O.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(U=c==null?void 0:c.button)==null?void 0:U.children})]}),s("div",{className:O.legalGap}),s("div",{className:O.legal,style:g(g({},c==null?void 0:c.legal),y),children:s("span",{className:O.legalText,children:s("span",{children:[s("span",{children:(x=c==null?void 0:c.legal)==null?void 0:x.children}),s("span",{className:O.legalButton,onClick:r,children:n?(D=c==null?void 0:c.legal)==null?void 0:D.buttonOpenText:(M=c==null?void 0:c.legal)==null?void 0:M.buttonHideText})]})})})]})]})]})}),Jd=ue(s(Kd,{})),A={root:"_root_9zg53_1",icon:"_icon_9zg53_5",iconTarget:"_iconTarget_9zg53_17",body:"_body_9zg53_23",desktop:"_desktop_9zg53_30",tablet:"_tablet_9zg53_30",laptop:"_laptop_9zg53_30",bodyOpen:"_bodyOpen_9zg53_34",complexGift_in:"_complexGift_in_9zg53_1",arrow:"_arrow_9zg53_47",container:"_container_9zg53_57",promotion:"_promotion_9zg53_62",close:"_close_9zg53_68",head:"_head_9zg53_80",headIcon:"_headIcon_9zg53_86",headTitle:"_headTitle_9zg53_92",inner:"_inner_9zg53_99",fadein:"_fadein_9zg53_1",pulse:"_pulse_9zg53_1",gradient:"_gradient_9zg53_1",wiggle:"_wiggle_9zg53_1"},oe={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Yd=({onClick:e})=>{var n,r,i,a,l,c,d;const t=V(),o=L(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(oe.root,{[oe.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:oe.body,children:[s("div",{className:oe.line,style:o.line}),s("div",{className:oe.bodyInner,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.text,style:o.text,children:s(J,{typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),s("div",{className:oe.button,style:o.button,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.buttonText,children:(c=o.button)==null?void 0:c.children})]})]}),s("div",{className:oe.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})},Qd=de(({id:e},t)=>{var j,B,S,z;const o=W(null),n=V(),r=me({targetRef:o,id:e}),i=pe(n,r),a=L(i),{isOpen:l,click:c,toggle:d}=Wo({ref:t,openDelay:(j=i==null?void 0:i.container)==null?void 0:j.delay});fe(i);const{hasIcon:_,iconRules:f,bodyRules:p,arrowRules:v}=qo(i,{fade:A.fadein,pulse:A.pulse,wiggle:A.wiggle,gradient:A.gradient}),b=(B=a==null?void 0:a.title)==null?void 0:B.hasIcon,$=te(a==null?void 0:a.title,...it),y=se(a==null?void 0:a.title,...it);return s("div",{ref:o,className:C(A.root,{[A.desktop]:r==="desktop",[A.laptop]:r==="laptop",[A.tablet]:r==="tablet"}),children:[s("div",{className:A.icon,style:f,onClick:d,children:_&&s("div",{className:A.iconTarget,children:s($t,{})})}),s("div",{className:C(A.body,{[A.bodyOpen]:l}),style:p,children:[s("div",{className:A.arrow,style:v}),s("div",{className:A.container,style:a.container,children:[s("div",{className:A.close,style:a.close,onClick:d,children:s(Le,{})}),s("div",{className:A.head,style:$,children:[b&&s("div",{className:A.headIcon,style:te(a.title,"color"),children:s($t,{})}),s("div",{className:A.headTitle,style:y,children:(S=a.title)==null?void 0:S.children})]}),s("div",{className:A.inner,children:(a.children||[]).map(P=>s(_e,{value:P,children:s(Yd,{onClick:c})}))}),s("div",{className:A.promotion,style:a.promotion,children:(z=a.promotion)==null?void 0:z.children})]})]})]})}),e_=ue(s(Qd,{})),Z={root:"_root_byy1w_1",background:"_background_byy1w_11",content:"_content_byy1w_19",desktop:"_desktop_byy1w_28",laptop:"_laptop_byy1w_28",wrapper:"_wrapper_byy1w_33",overlay:"_overlay_byy1w_37",close:"_close_byy1w_43",body:"_body_byy1w_54",logo:"_logo_byy1w_63",text:"_text_byy1w_69",button:"_button_byy1w_73",legal:"_legal_byy1w_88"},be=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],t_={root:"_root_mj8hr_1"},o_=()=>{var o,n,r;const e=V(),t=L(e);return s("div",{className:t_.root,style:t.root,children:s(J,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},kt=(e,t=0,o=!1)=>{const n=W(Pe()),[r,i]=ie(!1),[a,l]=ie(),[c,d]=ie(o),_=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),p=y=>n.current.on("clickHide",y),v=()=>We(this,null,function*(){yield Td(+t),i(!0)}),b=()=>i(!1),$=()=>{n.current.emit("clickHide"),b()};return q(()=>{c&&n.current.emit("visible",r)},[r,c]),Re(e,()=>({onVisible:_,onClick:f,onClickHide:p,show:v,hide:b,setApiHost:l,resetListeners:n.current.reset})),q(()=>n.current.reset,[]),{isReady:c,isOpen:r,apiHost:a,show:v,hide:b,clickHide:$,setIsReady:d,click:(...y)=>{b(),n.current.emit("click",...y)}}};function n_(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const r_=de(({id:e,className:t},o)=>{var z,P,U,x,D,M;const n=W(null),r=W(null),i=me({targetRef:n,id:e}),a=V(),l=pe(a,i);fe(l),Me(l,"button.percent_width",(z=l==null?void 0:l.button)==null?void 0:z.width),Me(l,"legal.percent_width",(P=l==null?void 0:l.legal)==null?void 0:P.width);const c=L(l),d=m(c,"root.delay",0),{isOpen:_,isReady:f,setIsReady:p,clickHide:v,click:b}=kt(o,d);q(()=>{const K=r.current;if(!K)return;if(n_(K)){p(!0);return}const ke=()=>p(!0);return K.addEventListener("load",ke),()=>{K.removeEventListener("load",ke)}},[c]);const $={alignItems:be((U=c.root)==null?void 0:U.align)},y=w(g({},c==null?void 0:c.button),{justifyContent:be((x=c.root)==null?void 0:x.textAlign)}),j=w(g({},c==null?void 0:c.legal),{justifyContent:be((D=c.root)==null?void 0:D.textAlign)}),B=se(c.root,...Fo,...Y),S=te(c.root,...Fo);return s("div",{className:C(Z.root,t,{[Z.desktop]:i==="desktop",[Z.tablet]:i==="tablet",[Z.laptop]:i==="laptop"}),ref:n,style:{display:_&&f?"flex":"none"},children:[s("div",{className:Z.overlay,style:c.overlay,onClick:v}),s("div",{className:Z.wrapper,children:[s("div",{className:Z.close,style:Ve(c.close),onClick:v,children:s(Le,{})}),s("a",{href:(M=c.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:Z.content,style:B,onClick:()=>b(c.id),children:[s("img",{ref:r,className:Z.background,src:S.imageSource,alt:"",style:S}),s("div",{className:Z.body,style:$,children:[s("div",{className:Z.logo,style:c.logo}),s("div",{className:Z.text,children:((c==null?void 0:c.children)||[]).map(K=>s(_e,{value:K,children:s(o_,{})}))}),s("div",{className:Z.button,style:y,children:y==null?void 0:y.children}),s("div",{className:Z.legal,style:j,children:j==null?void 0:j.children})]})]})]})]})}),a_=ue(s(r_,{})),ge={root:"_root_1v94r_1",content:"_content_1v94r_11",desktop:"_desktop_1v94r_23",laptop:"_laptop_1v94r_23",overlay:"_overlay_1v94r_28",close:"_close_1v94r_34",title:"_title_1v94r_47",wrapper:"_wrapper_1v94r_62"},Q={root:"_root_1q0qc_1",desktop:"_desktop_1q0qc_9",laptop:"_laptop_1q0qc_9",header:"_header_1q0qc_14",logo:"_logo_1q0qc_25",container:"_container_1q0qc_32",body:"_body_1q0qc_43",logoWrapper:"_logoWrapper_1q0qc_51",text:"_text_1q0qc_64",button:"_button_1q0qc_79",legal:"_legal_1q0qc_97"},i_=({onClick:e})=>{var i,a,l,c,d,_;const t=V(),o=L(t),n=(t==null?void 0:t.device)||"desktop",r=te(o.header,...Y);return s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(Q.root,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:se(o.root,...it),onClick:()=>e(o.id),children:[s("div",{className:Q.header,style:o.header,children:s("div",{className:Q.logo,style:o.logo})}),s("div",{className:Q.container,style:te(o.root,...it),children:[s("div",{className:Q.body,children:[s("div",{className:Q.logoWrapper,style:r,children:s("div",{className:Q.logo,style:o.logo})}),s(J,{className:Q.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(l=o.text)==null?void 0:l.accentTypography,children:(c=o.text)==null?void 0:c.children})]}),s("div",{children:[s(J,{className:Q.button,style:o.button,children:(d=o.button)==null?void 0:d.children}),s(J,{className:Q.legal,style:o.legal,children:(_=o.legal)==null?void 0:_.children})]})]})]})},s_=de(({id:e},t)=>{var f;const o=W(null),n=me({targetRef:o,id:e}),r=V(),i=pe(r,n),a=L(i);fe(i);const l=m(a,"root.delay",0),{isOpen:c,clickHide:d,click:_}=kt(t,l,!0);return s("div",{className:ge.root,style:{display:c?"flex":"none"},children:[s("div",{className:ge.overlay,style:a.overlay,onClick:d}),s("div",{ref:o,className:C(ge.content,{[ge.desktop]:n==="desktop",[ge.laptop]:n==="laptop"}),style:a.root,children:[s("div",{className:ge.close,style:Ve(a.close),onClick:d,children:s(Le,{})}),s(J,{className:ge.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),s("div",{className:ge.wrapper,children:(a.children||[]).map(p=>s(_e,{value:w(g({},p),{device:n}),children:s(i_,{onClick:_})}))})]})]})}),c_=ue(s(s_,{})),F={root:"_root_1xp54_1",content:"_content_1xp54_11",close:"_close_1xp54_19",overlay:"_overlay_1xp54_32",body:"_body_1xp54_38",desktop:"_desktop_1xp54_46",laptop:"_laptop_1xp54_46",tablet:"_tablet_1xp54_50",head:"_head_1xp54_55",title:"_title_1xp54_65",logo:"_logo_1xp54_78",wrapper:"_wrapper_1xp54_85",text:"_text_1xp54_92",button:"_button_1xp54_100",buttonHead:"_buttonHead_1xp54_115",buttonTarget:"_buttonTarget_1xp54_132",legal:"_legal_1xp54_146"},I={root:"_root_16jvv_1",left:"_left_16jvv_8",desktop:"_desktop_16jvv_15",laptop:"_laptop_16jvv_15",teams:"_teams_16jvv_19",logo:"_logo_16jvv_25",league:"_league_16jvv_32",name:"_name_16jvv_37",right:"_right_16jvv_43",odd:"_odd_16jvv_54",oddLabel:"_oddLabel_16jvv_67",oddValue:"_oddValue_16jvv_76",team:"_team_16jvv_19",teamLogo:"_teamLogo_16jvv_100",teamName:"_teamName_16jvv_107"},l_=()=>{const e=V(),t=L(e),o=(e==null?void 0:e.device)||"desktop",n=w(g({},t==null?void 0:t.teamALogo),{backgroundImage:m(t,"match.teams[0].logo")}),r=w(g({},t==null?void 0:t.teamBLogo),{backgroundImage:m(t,"match.teams[1].logo")});return s("div",{className:C(I.root,{[I.desktop]:o==="desktop",[I.laptop]:o==="laptop"}),children:[s("div",{className:I.left,children:[s("div",{className:I.teams,children:[s("img",{className:I.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:I.logo,src:r.backgroundImage,style:r})]}),s("div",{className:I.body,children:[s("div",{className:I.league,style:t.league,children:m(t,"match.league.name")}),s("div",{className:I.name,style:t.teams,children:[m(t,"match.teams[0].name")," — ",m(t,"match.teams[1].name")]})]})]}),s("div",{className:I.right,children:[s("div",{className:I.team,children:[s("img",{className:I.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[0].name")})]}),s("div",{className:I.odd,children:[s("div",{className:I.oddLabel,style:t.oddLabel,children:m(t,"match.prediction.value")}),s("div",{className:I.oddValue,style:t.oddValue,children:m(t,"match.prediction.factor")})]}),s("div",{className:I.team,children:[s("img",{className:I.teamLogo,style:r,src:r.backgroundImage}),s("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[1].name")})]})]})]})},Go=(e,{pause:t,params:o,method:n,body:r})=>{const[i,a]=ie(),l=Ee(()=>{let d=e;if(o){const _=new URLSearchParams(d);Object.entries(o).forEach(([f,p])=>{_.append(f,p)}),d+=_}return d},[e,o]),c=yn(()=>We(this,null,function*(){if(t)return;const d=yield fetch(l,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(_=>_.json());a(d.data)}),[l,t,n,r]);return q(()=>{t||c()},[l,t]),{data:i,execute:c}};function Uo(e){const t=W();return q(()=>{t.current=e},[e]),t.current}const d_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>d.root.targetMatch),i=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return q(()=>{zo(i,r)||l()},[r]),n.map(d=>{const _=(a||[]).find(v=>v.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=jo(_),p=Po(f,d.root.customMatch,(v,[b,$])=>H($));return w(g({},d),{match:p})}).filter(Boolean)},__=de(({id:e},t)=>{var B,S,z,P,U,x,D,M,K,ke,Fe,fn,gn;const o=W(null),n=me({targetRef:o,id:e}),r=V(),i=pe(r,n);Me(i,"buttonWrapper.percent_width",(B=i==null?void 0:i.buttonWrapper)==null?void 0:B.width),Me(i,"legal.percent_width",(S=i==null?void 0:i.legal)==null?void 0:S.width);const a=L(i);fe(i);const l=m(a,"root.delay",0),{isOpen:c,apiHost:d,clickHide:_,click:f}=kt(t,l,!0),p=d_(i,d),v=w(g({},a.root),{alignItems:be((z=a.root)==null?void 0:z.align)}),b=w(g({},a.content),{alignItems:be((P=a.root)==null?void 0:P.align)}),$=w(g({},a.text),{textAlign:(U=a.root)==null?void 0:U.align}),y=w(g({},a==null?void 0:a.button),{justifyContent:be((x=a.root)==null?void 0:x.textAlign)}),j=w(g({},a==null?void 0:a.legal),{justifyContent:be((D=a.root)==null?void 0:D.textAlign)});return s("div",{className:C(F.root,{[F.desktop]:n==="desktop",[F.laptop]:n==="laptop",[F.tablet]:n==="tablet"}),ref:o,style:{display:c?"flex":"none"},children:[s("div",{className:F.overlay,style:a.overlay,onClick:_}),s("div",{className:F.content,children:[s("div",{className:F.close,style:Ve(a.close),onClick:_,children:s(Le,{})}),s("a",{ref:o,href:(M=a.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:s("div",{className:F.body,style:v,children:[s("div",{className:F.head,children:[s("div",{className:F.title,style:a.title,children:(K=a.title)==null?void 0:K.children}),s("div",{className:F.logo,style:a.logo})]}),s("div",{className:F.wrapper,style:b,children:(p||[]).map(eu=>s(_e,{value:w(g({},eu),{device:n}),children:s(l_,{})}))}),s(J,{className:F.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(ke=a.text)==null?void 0:ke.children}),s("div",{className:F.button,style:a.buttonWrapper,children:[s("div",{className:F.buttonHead,style:a.buttonHead,children:(Fe=a.buttonHead)==null?void 0:Fe.children}),s("div",{className:F.buttonTarget,style:y,children:(fn=a.button)==null?void 0:fn.children})]}),s(J,{className:F.legal,style:j,children:(gn=a.legal)==null?void 0:gn.children})]})})]})]})}),u_=ue(s(__,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},p_=({onClick:e})=>{var i,a,l,c,d,_,f,p;const t=V(),o=L(t),[n,r]=at();return s("div",{className:ne.root,style:se(o.root,...Y),children:[s("div",{className:ne.background,style:te(o.root,...Y)}),s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:ne.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),s("div",{className:ne.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),s("div",{className:ne.bookmaker,style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:ne.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:C(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:ne.legalText,children:[s("span",{children:(_=o.legalInfo)==null?void 0:_.children}),s("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},f_=e=>{const t=W(Pe()),o=n=>t.current.on("click",n);return Re(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},g_=de((e,t)=>{const o=W(null),n=V(),i=pe(n,"mobile"),a=L(i);fe(i);const{click:l}=f_(t);return s("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(c=>s(_e,{value:c,children:s(p_,{onClick:l})}))})}),h_=ue(s(g_,{})),R={root:"_root_1k78w_1",desktop:"_desktop_1k78w_13",laptop:"_laptop_1k78w_14",promotion:"_promotion_1k78w_18",background:"_background_1k78w_34",close:"_close_1k78w_43",content:"_content_1k78w_56",variant2:"_variant2_1k78w_69",logo:"_logo_1k78w_73",left:"_left_1k78w_85",center:"_center_1k78w_98",slide:"_slide_1k78w_104",slide_animated_default:"_slide_animated_default_1k78w_118","fade-in-out":"_fade-in-out_1k78w_1","slide_animated_bottom-top":"_slide_animated_bottom-top_1k78w_121","fade-in-bottom-out-top":"_fade-in-bottom-out-top_1k78w_1","slide_animated_top-bottom":"_slide_animated_top-bottom_1k78w_124",right:"_right_1k78w_128",buttonWrapper:"_buttonWrapper_1k78w_143",button:"_button_1k78w_143",button_animated:"_button_animated_1k78w_177",increase:"_increase_1k78w_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_1k78w_1"},Xo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},v_=()=>{var o,n,r;const e=V(),t=L(e);return s("div",{className:C(Xo.root,{[Xo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:se(t.root,...Y),children:s(J,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},E={root:"_root_gohhp_1",title:"_title_gohhp_8",desktop:"_desktop_gohhp_13",laptop:"_laptop_gohhp_13",titleLabel:"_titleLabel_gohhp_17",tablet:"_tablet_gohhp_20",titleValue:"_titleValue_gohhp_27",teamLogo:"_teamLogo_gohhp_38",teams:"_teams_gohhp_49",teamName:"_teamName_gohhp_57",odds:"_odds_gohhp_64",odd:"_odd_gohhp_64",oddX:"_oddX_gohhp_76",oddValue:"_oddValue_gohhp_84"},st=(e,t,o=1,n=!1)=>{var l;const[r,i]=[t[0],t[1]||t[0]].map(c=>c*o),a=`w${r}-h${i}${n?"-c":""}`;return(l=e==null?void 0:e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`))!=null?l:e},m_=()=>{var i,a;const e=V(),t=L(e),o=se(t.root,...Y),n=w(g({},t.teamLogo),{backgroundImage:st(m(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=w(g({},t.teamLogo),{backgroundImage:st(m(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return s("div",{className:C(E.root,{[E.desktop]:e.device==="desktop",[E.laptop]:e.device==="laptop",[E.tablet]:e.device==="tablet"}),style:o,children:[s("div",{className:E.title,children:[s("div",{className:E.titleLabel,style:t.titleLabel,children:(i=t.titleLabel)==null?void 0:i.children}),s("div",{className:E.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{className:E.odds,children:[s("div",{className:E.odd,children:[s("img",{className:E.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w1")})]}),s("div",{className:E.odd,children:[s("div",{className:E.oddX,style:t.coef,children:"X"}),s("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.x")})]}),s("div",{className:E.odd,children:[s("img",{className:E.teamLogo,src:r.backgroundImage,style:r}),s("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:E.teams,children:[s("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[1].name")})]})]})},G={root:"_root_1bycs_1",title:"_title_1bycs_8",titleLabel:"_titleLabel_1bycs_13",tablet:"_tablet_1bycs_16",desktop:"_desktop_1bycs_19",laptop:"_laptop_1bycs_19",titleValue:"_titleValue_1bycs_23",team:"_team_1bycs_34",teamLogo:"_teamLogo_1bycs_45",national:"_national_1bycs_56",teamName:"_teamName_1bycs_77",teamValue:"_teamValue_1bycs_89"},b_=()=>{var r,i;const e=V(),t=L(e),o=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(m(t,"match.teams[0].logo"),[120,120])}),n=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(m(t,"match.teams[1].logo"),[120,120])});return s("div",{className:C(G.root,{[G.desktop]:(e==null?void 0:e.device)==="desktop",[G.laptop]:(e==null?void 0:e.device)==="laptop",[G.tablet]:(e==null?void 0:e.device)==="tablet",[G.national]:m(t,"match.isNational")}),style:se(t.root,...Y),children:[s("div",{className:G.title,children:[s("div",{className:G.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:G.titleValue,style:t.titleValue,children:(i=t.titleValue)==null?void 0:i.children})]}),s("div",{children:[s("div",{className:G.team,children:[s("img",{className:G.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:G.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:G.teamValue,style:t.value,children:m(t,"match.markets.one_two.w1")})]}),s("div",{className:G.team,children:[s("img",{className:G.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:G.teamName,style:t.teamName,children:m(t,"match.teams[1].name")}),s("div",{className:G.teamValue,style:t.value,children:m(t,"match.markets.one_two.w2")})]})]})]})},y_=(e=[])=>{var i;const t=e.length,[o,n]=ie(0),r=(i=e[o||0])==null?void 0:i.animationDuration;return q(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},$_={matches:"one_x_two",matchesOneTwo:"one_two"},Zo=e=>[$_[e]],k_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=(e==null?void 0:e.children)||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>w(g({},d.root.targetMatch),{markets:Zo(d.name)})),i=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return q(()=>{zo(i,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const _=(a||[]).find(b=>b.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=Zo(d.name),p=jo(_,{markets:f}),v=Po(p,d.root.customMatch,(b,[$,y])=>H(y));return w(g({},d),{match:v})}return d}).filter(Boolean)},w_=e=>{const t=W(Pe()),[o,n]=ie(!1),[r,i]=ie(),a=p=>t.current.on("visible",p),l=p=>t.current.on("click",p),c=p=>t.current.on("clickHide",p),d=()=>We(this,null,function*(){n(!0)}),_=()=>n(!1),f=()=>{t.current.emit("clickHide"),_()};return q(()=>{t.current.emit("visible",o)},[o]),Re(e,()=>({onVisible:a,onClick:l,onClickHide:c,show:d,hide:_,setApiHost:i,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:_,clickHide:f,click:(...p)=>{t.current.emit("click",...p)}}},x_=3700,N_=de(({id:e},t)=>{var B,S,z,P,U;const o=W(null),n=V(),r=me({id:e,targetRef:o}),i=pe(n,r),a=L(i);fe(i);const{apiHost:l,isOpen:c,click:d,clickHide:_}=w_(t),f=k_(a,l),p=x=>({text:s(v_,{}),matches:s(m_,{}),matchesOneTwo:s(b_,{})})[x],v=f.filter(Boolean).map(x=>{var D,M;return w(g({},x),{animationName:(D=x==null?void 0:x.root)==null?void 0:D.animationName,animationDuration:((M=x==null?void 0:x.root)==null?void 0:M.animationDuration)||x_})}),b=y_(v),$=L(v[b]||{}),y=se(a.root,...Y),j=(B=$==null?void 0:$.root)!=null&&B.hasCustomBackground?te(($==null?void 0:$.root)||{},...Y):te(a.root,...Y);return s("div",{ref:o,className:C(R.root,{[R.desktop]:r==="desktop",[R.laptop]:r==="laptop",[R.tablet]:r==="tablet",[R.variant2]:((S=a.root)==null?void 0:S.variant)==="variant2"}),style:w(g({},y),{display:c?"block":"none"}),children:[s("div",{className:R.close,style:a.close,onClick:_,children:s(Le,{})}),s("a",{href:(z=a.root)==null?void 0:z.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:d,children:[s("div",{className:R.background,style:j}),s("div",{className:R.promotion,style:a.promotion,children:(P=a.promotion)==null?void 0:P.children}),s("div",{className:R.content,children:[s("div",{className:R.left,children:s("div",{className:R.logo,style:a.logo})}),s("div",{className:R.center,children:(v||[]).map((x,D)=>{var M,K;return s("div",{className:R.slide,style:{animationName:b===D?R[((M=x.root)==null?void 0:M.animationName)||"fade-in-out"]:"none",animationDuration:`${(K=x.root)==null?void 0:K.animationDuration}ms`},children:s(_e,{value:w(g({},x),{device:r}),children:p(x.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:a.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:C(R.button,{[R.button_animated]:a.button.$animated}),style:a.button,children:[s("div",{className:R.logo,style:a.logo}),(U=a.button)==null?void 0:U.children]})})]})]})]})]})}),T_=ue(s(N_,{})),He={content:"_content_c8kee_1",desktop:"_desktop_c8kee_6",laptop:"_laptop_c8kee_6",tablet:"_tablet_c8kee_6"},re={root:"_root_1oam1_1",content:"_content_1oam1_8",textContent:"_textContent_1oam1_14",backgroundLine:"_backgroundLine_1oam1_20",button:"_button_1oam1_26",link:"_link_1oam1_32",legal:"_legal_1oam1_38",legalText:"_legalText_1oam1_47",open:"_open_1oam1_56",legalMore:"_legalMore_1oam1_61"},C_=(e,t,o,n,r=Mo)=>{const i=g({},e);return r.forEach(a=>{i[t]=w(g({},i[t]),{[a]:w(g({},i[t][a]),{[o]:typeof n=="function"?n(m(i,`${t}.${a}.${o}`)):n})})}),i},Ve=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=w(g({},e),{color:t});return se(o,"backgroundColor")},O_=()=>s("svg",{width:"81",height:"100%",viewBox:"0 0 81 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M63.0344 7.99989L7.38354 67.5171L9.86897 69.8401L65.5198 10.3229L63.0344 7.99989Z",fill:"currentColor"}),s("path",{d:"M77.8771 -23.0001L22.2263 36.5171L24.7117 38.8401L80.3626 -20.6771L77.8771 -23.0001Z",fill:"#E3E3E3"}),s("path",{d:"M66.7199 20.9999L11.0691 80.5171L13.5545 82.8401L69.2053 23.3229L66.7199 20.9999Z",fill:"#E3E3E3"}),s("path",{d:"M55.808 20.5258L0.157227 80.043L2.64266 82.366L58.2935 22.8487L55.808 20.5258Z",fill:"currentColor"}),s("path",{d:"M70.6508 -10.4742L15 49.043L17.4854 51.366L73.1362 -8.15125L70.6508 -10.4742Z",fill:"#E3E3E3"}),s("path",{d:"M72.426 8.99995L61 21.2163L62.5379 22.6541L73.9638 10.4377L72.426 8.99995Z",fill:"#E3E3E3"})]}),S_=({onClick:e})=>{var i,a,l,c,d,_,f,p,v;const t=V(),o=L(t),[n,r]=at();return s("div",{className:re.root,style:o.root,children:[s("div",{className:re.content,children:[s("div",{className:re.textContent,children:[s(J,{className:re.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),s("div",{style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:re.button,style:o.button,children:o.button.children}),s("div",{className:re.backgroundLine,style:w(g({},Ve(o.line)),{left:`calc(50% - ${(d=o.line)==null?void 0:d.left})`}),children:s(O_,{})}),s("a",{className:re.link,target:"_blank",href:(_=o.root)==null?void 0:_.offer,onClick:()=>e(o.id),rel:"noreferrer"})]}),s("div",{className:C(re.legal,{[re.open]:n}),style:o.legalInfo,children:s("div",{className:re.legalText,children:[(f=o.legalInfo)==null?void 0:f.children,s("span",{className:re.legalMore,style:o.legalInfoButton,onClick:r,children:n?(p=o.legalInfoButton)==null?void 0:p.openText:(v=o.legalInfoButton)==null?void 0:v.closeText})]})})]})},ae={root:"_root_ka6mq_1",content:"_content_ka6mq_8",backgroundLine:"_backgroundLine_ka6mq_14",link:"_link_ka6mq_20",button:"_button_ka6mq_26",logo:"_logo_ka6mq_31",legal:"_legal_ka6mq_37",open:"_open_ka6mq_49",legalText:"_legalText_ka6mq_53",legalMore:"_legalMore_ka6mq_66"},L_=({onClick:e})=>{var i,a,l,c,d,_,f,p;const t=V(),o=L(t),[n,r]=at();return s("div",{className:ae.root,style:o.root,children:[s("div",{className:ae.content,children:[s(J,{className:ae.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),s("div",{className:ae.button,style:o.button,children:[s("div",{className:ae.logo,style:o.logo}),o.button.children]}),s("a",{className:ae.link,href:(c=o.root)==null?void 0:c.offer})]}),s("a",{className:ae.link,href:(d=o.root)==null?void 0:d.offer,target:"_blank",onClick:()=>e(o.id),rel:"noreferrer"}),s("div",{className:C(ae.legal,{[ae.open]:n}),style:o.legalInfo,children:[s("div",{className:ae.legalText,children:(_=o.legalInfo)==null?void 0:_.children}),s("div",{className:ae.legalMore,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})]})},A_=e=>{const t=W(Pe()),o=n=>t.current.on("click",n);return Re(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),q(()=>{t.current.emit("visible")},[]),q(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},I_=de(({id:e},t)=>{const o=W(null),n=V(),r=me({targetRef:o,id:e}),i=pe(n,r),a=L(i);fe(i);const{click:l}=A_(t),c=d=>({cardVariant1:s(S_,{onClick:l}),cardVariant2:s(L_,{onClick:l})})[d];return s("div",{ref:o,className:C(He.root,{[He.desktop]:r==="desktop",[He.laptop]:r==="laptop",[He.tablet]:r==="tablet"}),children:s("div",{className:He.content,children:((a==null?void 0:a.children)||[]).map(d=>s(_e,{value:d,children:c(d.name)}))})})}),R_=ue(s(I_,{}));var ye=[],E_=function(){return ye.some(function(e){return e.activeTargets.length>0})},j_=function(){return ye.some(function(e){return e.skippedTargets.length>0})},Ko="ResizeObserver loop completed with undelivered notifications.",B_=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Ko}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Ko),window.dispatchEvent(e)},De;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(De||(De={}));var $e=function(e){return Object.freeze(e)},Jo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,$e(this)}return e}(),Yo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,$e(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,i=t.right,a=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:i,bottom:a,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),wt=function(e){return e instanceof SVGElement&&"getBBox"in e},Qo=function(e){if(wt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},en=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},z_=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},qe=typeof window!="undefined"?window:{},ct=new WeakMap,tn=/auto|scroll/,P_=/^tb|vertical/,M_=/msie|trident/i.test(qe.navigator&&qe.navigator.userAgent),ce=function(e){return parseFloat(e||"0")},Ae=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Jo((o?t:e)||0,(o?e:t)||0)},on=$e({devicePixelContentBoxSize:Ae(),borderBoxSize:Ae(),contentBoxSize:Ae(),contentRect:new Yo(0,0,0,0)}),nn=function(e,t){if(t===void 0&&(t=!1),ct.has(e)&&!t)return ct.get(e);if(Qo(e))return ct.set(e,on),on;var o=getComputedStyle(e),n=wt(e)&&e.ownerSVGElement&&e.getBBox(),r=!M_&&o.boxSizing==="border-box",i=P_.test(o.writingMode||""),a=!n&&tn.test(o.overflowY||""),l=!n&&tn.test(o.overflowX||""),c=n?0:ce(o.paddingTop),d=n?0:ce(o.paddingRight),_=n?0:ce(o.paddingBottom),f=n?0:ce(o.paddingLeft),p=n?0:ce(o.borderTopWidth),v=n?0:ce(o.borderRightWidth),b=n?0:ce(o.borderBottomWidth),$=n?0:ce(o.borderLeftWidth),y=f+d,j=c+_,B=$+v,S=p+b,z=l?e.offsetHeight-S-e.clientHeight:0,P=a?e.offsetWidth-B-e.clientWidth:0,U=r?y+B:0,x=r?j+S:0,D=n?n.width:ce(o.width)-U-P,M=n?n.height:ce(o.height)-x-z,K=D+y+P+B,ke=M+j+z+S,Fe=$e({devicePixelContentBoxSize:Ae(Math.round(D*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:Ae(K,ke,i),contentBoxSize:Ae(D,M,i),contentRect:new Yo(f,c,D,M)});return ct.set(e,Fe),Fe},rn=function(e,t,o){var n=nn(e,o),r=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case De.DEVICE_PIXEL_CONTENT_BOX:return a;case De.BORDER_BOX:return r;default:return i}},an=function(){function e(t){var o=nn(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=$e([o.borderBoxSize]),this.contentBoxSize=$e([o.contentBoxSize]),this.devicePixelContentBoxSize=$e([o.devicePixelContentBoxSize])}return e}(),sn=function(e){if(Qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},H_=function(){var e=1/0,t=[];ye.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(d){var _=new an(d.target),f=sn(d.target);l.push(_),d.lastReportedSize=rn(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},cn=function(e){ye.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(sn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},V_=function(){var e=0;for(cn(e);E_();)e=H_(),cn(e);return j_()&&B_(),e>0},xt,ln=[],D_=function(){return ln.splice(0).forEach(function(e){return e()})},q_=function(e){if(!xt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return D_()}).observe(o,n),xt=function(){o.textContent="".concat(t?t--:t++)}}ln.push(e),xt()},F_=function(e){q_(function(){requestAnimationFrame(e)})},lt=0,W_=function(){return!!lt},G_=250,U_={attributes:!0,characterData:!0,childList:!0,subtree:!0},dn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_n=function(e){return e===void 0&&(e=0),Date.now()+e},Nt=!1,X_=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=G_),!Nt){Nt=!0;var n=_n(t);F_(function(){var r=!1;try{r=V_()}finally{if(Nt=!1,t=n-_n(),!W_())return;r?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,U_)};document.body?o():qe.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dn.forEach(function(o){return qe.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),dn.forEach(function(o){return qe.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Tt=new X_,un=function(e){!lt&&e>0&&Tt.start(),lt+=e,!lt&&Tt.stop()},Z_=function(e){return!wt(e)&&!z_(e)&&getComputedStyle(e).display==="inline"},K_=function(){function e(t,o){this.target=t,this.observedBox=o||De.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=rn(this.target,this.observedBox,!0);return Z_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),J_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),dt=new WeakMap,pn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},_t=function(){function e(){}return e.connect=function(t,o){var n=new J_(t,o);dt.set(t,n)},e.observe=function(t,o,n){var r=dt.get(t),i=r.observationTargets.length===0;pn(r.observationTargets,o)<0&&(i&&ye.push(r),r.observationTargets.push(new K_(o,n&&n.box)),un(1),Tt.schedule())},e.unobserve=function(t,o){var n=dt.get(t),r=pn(n.observationTargets,o),i=n.observationTargets.length===1;r>=0&&(i&&ye.splice(ye.indexOf(n),1),n.observationTargets.splice(r,1),un(-1))},e.disconnect=function(t){var o=this,n=dt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Y_=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");_t.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.unobserve(this,t)},e.prototype.disconnect=function(){_t.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Q_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Y_,ResizeObserverEntry:an,ResizeObserverSize:Jo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=h_,h.ComplexGift=e_,h.ComplexPopup=c_,h.ContentCards=R_,h.ExpressPopup=u_,h.SimpleGift=Jd,h.SimplePopup=a_,h.WideCard=T_,h.backgroundToColor=Ve,h.filterDeep=jd,h.findDeep=Ed,h.isValidTemplate=Id,h.modifyState=C_,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var a=typeof i;if(a==="string"||a==="number")n.push(i);else if(Array.isArray(i)){if(i.length){var l=o.apply(null,i);l&&n.push(l)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){n.push(i.toString());continue}for(var c in i)t.call(i,c)&&i[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Ge);const C=X;var le,k,ee,we,xe=0,Ot=[],Ue=[],St=u.options.__b,Lt=u.options.__r,At=u.options.diffed,It=u.options.__c,Rt=u.options.unmount;function Ie(e,t){u.options.__h&&u.options.__h(k,e,xe||t),xe=0;var o=k.__H||(k.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Ue}),o.__[e]}function ie(e){return xe=1,bn(Bt,e)}function bn(e,t,o){var n=Ie(le++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Bt(void 0,t),function(l){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,l);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=k,!k.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(p){return p.__c});if(_.every(function(p){return!p.__N}))return!i||i.call(this,l,c,d);var f=!1;return _.forEach(function(p){if(p.__N){var v=p.__[0];p.__=p.__N,p.__N=void 0,v!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!i||i.call(this,l,c,d))};k.u=!0;var i=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(l,c,d){if(this.__e){var _=i;i=void 0,r(l,c,d),i=_}a&&a.call(this,l,c,d)},k.shouldComponentUpdate=r}return n.__N||n.__}function q(e,t){var o=Ie(le++,3);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__H.__h.push(o))}function Et(e,t){var o=Ie(le++,4);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function W(e){return xe=5,Ee(function(){return{current:e}},[])}function Re(e,t,o){xe=6,Et(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function Ee(e,t){var o=Ie(le++,7);return ft(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function yn(e,t){return xe=8,Ee(function(){return e},t)}function $n(e){var t=k.context[e.__c],o=Ie(le++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function kn(){for(var e;e=Ot.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xe),e.__H.__h.forEach(pt),e.__H.__h=[]}catch(t){e.__H.__h=[],u.options.__e(t,e.__v)}}u.options.__b=function(e){k=null,St&&St(e)},u.options.__r=function(e){Lt&&Lt(e),le=0;var t=(k=e.__c).__H;t&&(ee===k?(t.__h=[],k.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Ue,o.__N=o.i=void 0})):(t.__h.forEach(Xe),t.__h.forEach(pt),t.__h=[])),ee=k},u.options.diffed=function(e){At&&At(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ot.push(t)!==1&&we===u.options.requestAnimationFrame||((we=u.options.requestAnimationFrame)||wn)(kn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ue&&(o.__=o.__V),o.i=void 0,o.__V=Ue})),ee=k=null},u.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Xe),o.__h=o.__h.filter(function(n){return!n.__||pt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],u.options.__e(n,o.__v)}}),It&&It(e,t)},u.options.unmount=function(e){Rt&&Rt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Xe(n)}catch(r){t=r}}),o.__H=void 0,t&&u.options.__e(t,o.__v))};var jt=typeof requestAnimationFrame=="function";function wn(e){var t,o=function(){clearTimeout(n),jt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);jt&&(t=requestAnimationFrame(o))}function Xe(e){var t=k,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),k=t}function pt(e){var t=k;e.__c=e.__(),k=t}function ft(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Bt(e,t){return typeof t=="function"?t(e):t}function zt(e,t){for(var o in t)e[o]=t[o];return e}function Pt(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Mt(e){this.props=e}(Mt.prototype=new u.Component).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Pt(this.props,e)||Pt(this.state,t)};var Ht=u.options.__b;u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var xn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function de(e){function t(o){var n=zt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=xn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Nn=u.options.__e;u.options.__e=function(e,t,o,n){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Nn(e,t,o,n)};var Vt=u.options.unmount;function Dt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=zt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Dt(n,t,o)})),e}function qt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return qt(n,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=o)),e}function gt(){this.__u=0,this.t=null,this.__b=null}function Ft(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ze(){this.u=null,this.o=null}u.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Vt&&Vt(e)},(gt.prototype=new u.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Ft(n.__v),i=!1,a=function(){i||(i=!0,o.__R=null,r?r(l):l())};o.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=qt(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},gt.prototype.componentWillUnmount=function(){this.t=[]},gt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Dt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&u.createElement(u.Fragment,null,e.fallback);return r&&(r.__h=null),[u.createElement(u.Fragment,null,t.__a?null:e.children),r]};var Wt=function(e,t,o){if(++o[1]===o[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(o=e.u;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.u=o=o[2]}};(Ze.prototype=new u.Component).__a=function(e){var t=this,o=Ft(t.__v),n=t.o.get(e);return n[0]++,function(r){var i=function(){t.props.revealOrder?(n.push(r),Wt(t,e,n)):r()};o?o(i):i()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=u.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Wt(e,o,t)})};var Tn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Cn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,On=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Sn=/[A-Z0-9]/g,Ln=typeof document!="undefined",An=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};u.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(u.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Gt=u.options.event;function In(){}function Rn(){return this.cancelBubble}function En(){return this.defaultPrevented}u.options.event=function(e){return Gt&&(e=Gt(e)),e.persist=In,e.isPropagationStopped=Rn,e.isDefaultPrevented=En,e.nativeEvent=e};var jn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ut=u.options.vnode;u.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var i in o){var a=o[i];if(!(i==="value"&&"defaultValue"in o&&a==null||Ln&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in o&&o.value==null?i="value":i==="download"&&a===!0?a="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||An(o.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":On.test(i)?i=l:n.indexOf("-")===-1&&Cn.test(i)?i=i.replace(Sn,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&r[i=l]&&(i="oninputCapture"),r[i]=a}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",jn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=Tn,Ut&&Ut(e)};var Xt=u.options.__r;u.options.__r=function(e){Xt&&Xt(e),e.__c};var Zt=u.options.diffed;u.options.diffed=function(e){Zt&&Zt(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};function Bn(){this.__data__=[],this.size=0}var zn=Bn;function Pn(e,t){return e===t||e!==e&&t!==t}var Ke=Pn,Mn=Ke;function Hn(e,t){for(var o=e.length;o--;)if(Mn(e[o][0],t))return o;return-1}var Je=Hn,Vn=Je,Dn=Array.prototype,qn=Dn.splice;function Fn(e){var t=this.__data__,o=Vn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():qn.call(t,o,1),--this.size,!0}var Wn=Fn,Gn=Je;function Un(e){var t=this.__data__,o=Gn(t,e);return o<0?void 0:t[o][1]}var Xn=Un,Zn=Je;function Kn(e){return Zn(this.__data__,e)>-1}var Jn=Kn,Yn=Je;function Qn(e,t){var o=this.__data__,n=Yn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var er=Qn,tr=zn,or=Wn,nr=Xn,rr=Jn,ar=er;function Ne(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Ne.prototype.clear=tr,Ne.prototype.delete=or,Ne.prototype.get=nr,Ne.prototype.has=rr,Ne.prototype.set=ar;var Ye=Ne,ir=Ye;function sr(){this.__data__=new ir,this.size=0}var cr=sr;function lr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var dr=lr;function _r(e){return this.__data__.get(e)}var ur=_r;function pr(e){return this.__data__.has(e)}var fr=pr,gr=typeof T=="object"&&T&&T.Object===Object&&T,Kt=gr,hr=Kt,vr=typeof self=="object"&&self&&self.Object===Object&&self,mr=hr||vr||Function("return this")(),Te=mr,br=Te,yr=br.Symbol,Jt=yr,Yt=Jt,Qt=Object.prototype,$r=Qt.hasOwnProperty,kr=Qt.toString,je=Yt?Yt.toStringTag:void 0;function wr(e){var t=$r.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(i){}var r=kr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var xr=wr,Nr=Object.prototype,Tr=Nr.toString;function Cr(e){return Tr.call(e)}var Or=Cr,eo=Jt,Sr=xr,Lr=Or,Ar="[object Null]",Ir="[object Undefined]",to=eo?eo.toStringTag:void 0;function Rr(e){return e==null?e===void 0?Ir:Ar:to&&to in Object(e)?Sr(e):Lr(e)}var Qe=Rr;function Er(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var he=Er,jr=Qe,Br=he,zr="[object AsyncFunction]",Pr="[object Function]",Mr="[object GeneratorFunction]",Hr="[object Proxy]";function Vr(e){if(!Br(e))return!1;var t=jr(e);return t==Pr||t==Mr||t==zr||t==Hr}var ht=Vr,Dr=Te,qr=Dr["__core-js_shared__"],Fr=qr,vt=Fr,oo=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wr(e){return!!oo&&oo in e}var Gr=Wr,Ur=Function.prototype,Xr=Ur.toString;function Zr(e){if(e!=null){try{return Xr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Kr=Zr,Jr=ht,Yr=Gr,Qr=he,ea=Kr,ta=/[\\^$.*+?()[\]{}|]/g,oa=/^\[object .+?Constructor\]$/,na=Function.prototype,ra=Object.prototype,aa=na.toString,ia=ra.hasOwnProperty,sa=RegExp("^"+aa.call(ia).replace(ta,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ca(e){if(!Qr(e)||Yr(e))return!1;var t=Jr(e)?sa:oa;return t.test(ea(e))}var la=ca;function da(e,t){return e==null?void 0:e[t]}var _a=da,ua=la,pa=_a;function fa(e,t){var o=pa(e,t);return ua(o)?o:void 0}var mt=fa,ga=mt,ha=Te,va=ga(ha,"Map"),no=va,ma=mt,ba=ma(Object,"create"),et=ba,ro=et;function ya(){this.__data__=ro?ro(null):{},this.size=0}var $a=ya;function ka(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var wa=ka,xa=et,Na="__lodash_hash_undefined__",Ta=Object.prototype,Ca=Ta.hasOwnProperty;function Oa(e){var t=this.__data__;if(xa){var o=t[e];return o===Na?void 0:o}return Ca.call(t,e)?t[e]:void 0}var Sa=Oa,La=et,Aa=Object.prototype,Ia=Aa.hasOwnProperty;function Ra(e){var t=this.__data__;return La?t[e]!==void 0:Ia.call(t,e)}var Ea=Ra,ja=et,Ba="__lodash_hash_undefined__";function za(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ja&&t===void 0?Ba:t,this}var Pa=za,Ma=$a,Ha=wa,Va=Sa,Da=Ea,qa=Pa;function Ce(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Ce.prototype.clear=Ma,Ce.prototype.delete=Ha,Ce.prototype.get=Va,Ce.prototype.has=Da,Ce.prototype.set=qa;var Fa=Ce,ao=Fa,Wa=Ye,Ga=no;function Ua(){this.size=0,this.__data__={hash:new ao,map:new(Ga||Wa),string:new ao}}var Xa=Ua;function Za(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ka=Za,Ja=Ka;function Ya(e,t){var o=e.__data__;return Ja(t)?o[typeof t=="string"?"string":"hash"]:o.map}var tt=Ya,Qa=tt;function ei(e){var t=Qa(this,e).delete(e);return this.size-=t?1:0,t}var ti=ei,oi=tt;function ni(e){return oi(this,e).get(e)}var ri=ni,ai=tt;function ii(e){return ai(this,e).has(e)}var si=ii,ci=tt;function li(e,t){var o=ci(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var di=li,_i=Xa,ui=ti,pi=ri,fi=si,gi=di;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=_i,Oe.prototype.delete=ui,Oe.prototype.get=pi,Oe.prototype.has=fi,Oe.prototype.set=gi;var hi=Oe,vi=Ye,mi=no,bi=hi,yi=200;function $i(e,t){var o=this.__data__;if(o instanceof vi){var n=o.__data__;if(!mi||n.length<yi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new bi(n)}return o.set(e,t),this.size=o.size,this}var ki=$i,wi=Ye,xi=cr,Ni=dr,Ti=ur,Ci=fr,Oi=ki;function Se(e){var t=this.__data__=new wi(e);this.size=t.size}Se.prototype.clear=xi,Se.prototype.delete=Ni,Se.prototype.get=Ti,Se.prototype.has=Ci,Se.prototype.set=Oi;var Si=Se,Li=mt,Ai=function(){try{var e=Li(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),io=Ai,so=io;function Ii(e,t,o){t=="__proto__"&&so?so(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var bt=Ii,Ri=bt,Ei=Ke;function ji(e,t,o){(o!==void 0&&!Ei(e[t],o)||o===void 0&&!(t in e))&&Ri(e,t,o)}var co=ji;function Bi(e){return function(t,o,n){for(var r=-1,i=Object(t),a=n(t),l=a.length;l--;){var c=a[e?l:++r];if(o(i[c],c,i)===!1)break}return t}}var zi=Bi,Pi=zi,Mi=Pi(),Hi=Mi,ot={},Vi={get exports(){return ot},set exports(e){ot=e}};(function(e,t){var o=Te,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i?o.Buffer:void 0,l=a?a.allocUnsafe:void 0;function c(d,_){if(_)return d.slice();var f=d.length,p=l?l(f):new d.constructor(f);return d.copy(p),p}e.exports=c})(Vi,ot);var Di=Te,qi=Di.Uint8Array,Fi=qi,lo=Fi;function Wi(e){var t=new e.constructor(e.byteLength);return new lo(t).set(new lo(e)),t}var Gi=Wi,Ui=Gi;function Xi(e,t){var o=t?Ui(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Zi=Xi;function Ki(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ji=Ki,Yi=he,_o=Object.create,Qi=function(){function e(){}return function(t){if(!Yi(t))return{};if(_o)return _o(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),es=Qi;function ts(e,t){return function(o){return e(t(o))}}var os=ts,ns=os,rs=ns(Object.getPrototypeOf,Object),uo=rs,as=Object.prototype;function is(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||as;return e===o}var po=is,ss=es,cs=uo,ls=po;function ds(e){return typeof e.constructor=="function"&&!ls(e)?ss(cs(e)):{}}var _s=ds;function us(e){return e!=null&&typeof e=="object"}var Be=us,ps=Qe,fs=Be,gs="[object Arguments]";function hs(e){return fs(e)&&ps(e)==gs}var vs=hs,fo=vs,ms=Be,go=Object.prototype,bs=go.hasOwnProperty,ys=go.propertyIsEnumerable,$s=fo(function(){return arguments}())?fo:function(e){return ms(e)&&bs.call(e,"callee")&&!ys.call(e,"callee")},ho=$s,ks=Array.isArray,vo=ks,ws=9007199254740991;function xs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ws}var mo=xs,Ns=ht,Ts=mo;function Cs(e){return e!=null&&Ts(e.length)&&!Ns(e)}var yt=Cs,Os=yt,Ss=Be;function Ls(e){return Ss(e)&&Os(e)}var As=Ls,ze={},Is={get exports(){return ze},set exports(e){ze=e}};function Rs(){return!1}var Es=Rs;(function(e,t){var o=Te,n=Es,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(Is,ze);var js=Qe,Bs=uo,zs=Be,Ps="[object Object]",Ms=Function.prototype,Hs=Object.prototype,bo=Ms.toString,Vs=Hs.hasOwnProperty,Ds=bo.call(Object);function qs(e){if(!zs(e)||js(e)!=Ps)return!1;var t=Bs(e);if(t===null)return!0;var o=Vs.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&bo.call(o)==Ds}var Fs=qs,Ws=Qe,Gs=mo,Us=Be,Xs="[object Arguments]",Zs="[object Array]",Ks="[object Boolean]",Js="[object Date]",Ys="[object Error]",Qs="[object Function]",ec="[object Map]",tc="[object Number]",oc="[object Object]",nc="[object RegExp]",rc="[object Set]",ac="[object String]",ic="[object WeakMap]",sc="[object ArrayBuffer]",cc="[object DataView]",lc="[object Float32Array]",dc="[object Float64Array]",_c="[object Int8Array]",uc="[object Int16Array]",pc="[object Int32Array]",fc="[object Uint8Array]",gc="[object Uint8ClampedArray]",hc="[object Uint16Array]",vc="[object Uint32Array]",N={};N[lc]=N[dc]=N[_c]=N[uc]=N[pc]=N[fc]=N[gc]=N[hc]=N[vc]=!0,N[Xs]=N[Zs]=N[sc]=N[Ks]=N[cc]=N[Js]=N[Ys]=N[Qs]=N[ec]=N[tc]=N[oc]=N[nc]=N[rc]=N[ac]=N[ic]=!1;function mc(e){return Us(e)&&Gs(e.length)&&!!N[Ws(e)]}var bc=mc;function yc(e){return function(t){return e(t)}}var $c=yc,nt={},kc={get exports(){return nt},set exports(e){nt=e}};(function(e,t){var o=Kt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||a&&a.binding&&a.binding("util")}catch(d){}}();e.exports=l})(kc,nt);var wc=bc,xc=$c,yo=nt,$o=yo&&yo.isTypedArray,Nc=$o?xc($o):wc,ko=Nc;function Tc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var wo=Tc,Cc=bt,Oc=Ke,Sc=Object.prototype,Lc=Sc.hasOwnProperty;function Ac(e,t,o){var n=e[t];(!(Lc.call(e,t)&&Oc(n,o))||o===void 0&&!(t in e))&&Cc(e,t,o)}var Ic=Ac,Rc=Ic,Ec=bt;function jc(e,t,o,n){var r=!o;o||(o={});for(var i=-1,a=t.length;++i<a;){var l=t[i],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?Ec(o,l,c):Rc(o,l,c)}return o}var Bc=jc;function zc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Pc=zc,Mc=9007199254740991,Hc=/^(?:0|[1-9]\d*)$/;function Vc(e,t){var o=typeof e;return t=t==null?Mc:t,!!t&&(o=="number"||o!="symbol"&&Hc.test(e))&&e>-1&&e%1==0&&e<t}var xo=Vc,Dc=Pc,qc=ho,Fc=vo,Wc=ze,Gc=xo,Uc=ko,Xc=Object.prototype,Zc=Xc.hasOwnProperty;function Kc(e,t){var o=Fc(e),n=!o&&qc(e),r=!o&&!n&&Wc(e),i=!o&&!n&&!r&&Uc(e),a=o||n||r||i,l=a?Dc(e.length,String):[],c=l.length;for(var d in e)(t||Zc.call(e,d))&&!(a&&(d=="length"||r&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Gc(d,c)))&&l.push(d);return l}var Jc=Kc;function Yc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Qc=Yc,el=he,tl=po,ol=Qc,nl=Object.prototype,rl=nl.hasOwnProperty;function al(e){if(!el(e))return ol(e);var t=tl(e),o=[];for(var n in e)n=="constructor"&&(t||!rl.call(e,n))||o.push(n);return o}var il=al,sl=Jc,cl=il,ll=yt;function dl(e){return ll(e)?sl(e,!0):cl(e)}var No=dl,_l=Bc,ul=No;function pl(e){return _l(e,ul(e))}var fl=pl,To=co,gl=ot,hl=Zi,vl=Ji,ml=_s,Co=ho,Oo=vo,bl=As,yl=ze,$l=ht,kl=he,wl=Fs,xl=ko,So=wo,Nl=fl;function Tl(e,t,o,n,r,i,a){var l=So(e,o),c=So(t,o),d=a.get(c);if(d){To(e,o,d);return}var _=i?i(l,c,o+"",e,t,a):void 0,f=_===void 0;if(f){var p=Oo(c),v=!p&&yl(c),b=!p&&!v&&xl(c);_=c,p||v||b?Oo(l)?_=l:bl(l)?_=vl(l):v?(f=!1,_=gl(c,!0)):b?(f=!1,_=hl(c,!0)):_=[]:wl(c)||Co(c)?(_=l,Co(l)?_=Nl(l):(!kl(l)||$l(l))&&(_=ml(c))):f=!1}f&&(a.set(c,_),r(_,c,n,i,a),a.delete(c)),To(e,o,_)}var Cl=Tl,Ol=Si,Sl=co,Ll=Hi,Al=Cl,Il=he,Rl=No,El=wo;function Lo(e,t,o,n,r){e!==t&&Ll(t,function(i,a){if(r||(r=new Ol),Il(i))Al(e,t,a,o,Lo,n,r);else{var l=n?n(El(e,a),i,a+"",e,t,r):void 0;l===void 0&&(l=i),Sl(e,a,l)}},Rl)}var jl=Lo;function Bl(e){return e}var Ao=Bl;function zl(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}var Pl=zl,Ml=Pl,Io=Math.max;function Hl(e,t,o){return t=Io(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=Io(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(a),Ml(e,this,l)}}var Vl=Hl;function Dl(e){return function(){return e}}var ql=Dl,Fl=ql,Ro=io,Wl=Ao,Gl=Ro?function(e,t){return Ro(e,"toString",{configurable:!0,enumerable:!1,value:Fl(t),writable:!0})}:Wl,Ul=Gl,Xl=800,Zl=16,Kl=Date.now;function Jl(e){var t=0,o=0;return function(){var n=Kl(),r=Zl-(n-o);if(o=n,r>0){if(++t>=Xl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Yl=Jl,Ql=Ul,ed=Yl,td=ed(Ql),od=td,nd=Ao,rd=Vl,ad=od;function id(e,t){return ad(rd(e,t,nd),e+"")}var sd=id,cd=Ke,ld=yt,dd=xo,_d=he;function ud(e,t,o){if(!_d(o))return!1;var n=typeof t;return(n=="number"?ld(o)&&dd(t,o.length):n=="string"&&t in o)?cd(o[t],e):!1}var pd=ud,fd=sd,gd=pd;function hd(e){return fd(function(t,o){var n=-1,r=o.length,i=r>1?o[r-1]:void 0,a=r>2?o[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&gd(o[0],o[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,i)}return t})}var vd=hd,md=jl,bd=vd;bd(function(e,t,o){md(e,t,o)});const ve=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const i=[o,r].filter(H).join(".");return ve(t(r,n,i),t,i)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,i])=>{const a=[o,r].filter(H).join(".");return n[r]=ve(t(r,i,a),t,a),n},{}):e,yd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},Pe=()=>{let e={};return{on:(a,l)=>{a in e?e[a].push(l):e[a]=[l]},has:a=>a in e,get:a=>e[a],emit:(a,...l)=>a in e?e[a].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},$d=()=>({name:null,logo:null}),Eo=()=>({name:null,logo:null}),kd=()=>({factor:null,type:null,outcome:null,value:null}),wd=()=>({w1:null,x:null,w2:null}),xd=()=>({w1:null,w2:null}),Nd=()=>({one_x_two:wd(),one_two:xd()}),jo=(e,t)=>{var n;const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:g({},(e==null?void 0:e.teams)||{0:Eo(),1:Eo()}),league:(e==null?void 0:e.unique_tournament)||$d(),prediction:(e==null?void 0:e.prediction)||kd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((i,a)=>(i[a]=m(e||{},`markets.${a}`,Nd()[a||"one_two"]),i),{});Me(o,"markets",r)}return o},Td=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),Cd=e=>!e&&e==null,H=e=>!Cd(e),Bo=e=>typeof e!="object"&&typeof e!="function"||e===null,Od=e=>typeof e=="object"&&!Array.isArray(e)&&H(e),Sd=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),te=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function se(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const m=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((i,a)=>i&&i[a],e);return r===void 0?o:r},Me=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,i,a)=>(r[i]===void 0&&(r[i]={}),a===n.length-1&&(r[i]=o),r[i]),e)},Ld=e=>{const t=e.slice(1);return t.length===3&&(e="#"+t.split("").map(o=>`${o}${o}`).join("")),e},Ad=e=>{const t=Ld(e),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},zo=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Id=e=>"id"in e&&"root"in e,Rd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),Po=(e,t,o)=>ve(e,(n,r,i)=>Bo(r)||Array.isArray(r)&&r.every(Bo)?o?o(n,[r,m(t,i)],i)?m(t,i,r):r:m(t,i,r):r),Ed=(e,t)=>{try{ve(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},jd=(e,t)=>{const o=[];return ve(e,(n,r,i)=>(t(n,r,i,o)&&o.push({key:n,value:r,path:i}),r)),o},Mo=["desktop","laptop","tablet","mobile"],Bd={mobile:320,tablet:768,laptop:1024,desktop:1920},O={root:"_root_90dqc_1",icon:"_icon_90dqc_5",iconTarget:"_iconTarget_90dqc_17",body:"_body_90dqc_23",bodyOpen:"_bodyOpen_90dqc_31",simpleGift_in:"_simpleGift_in_90dqc_1",close:"_close_90dqc_44",arrow:"_arrow_90dqc_56",container:"_container_90dqc_67",inner:"_inner_90dqc_73",logo:"_logo_90dqc_80",text:"_text_90dqc_87",button:"_button_90dqc_94",buttonAnimated:"_buttonAnimated_90dqc_103",increase:"_increase_90dqc_1",legalGap:"_legalGap_90dqc_107",legalOpen:"_legalOpen_90dqc_111",legal:"_legal_90dqc_107",legalText:"_legalText_90dqc_139",legalButton:"_legalButton_90dqc_157",fadein:"_fadein_90dqc_1",pulse:"_pulse_90dqc_1",gradient:"_gradient_90dqc_1",wiggle:"_wiggle_90dqc_1"};var zd=0;function s(e,t,o,n,r,i){var a,l,c={};for(l in t)l=="ref"?a=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--zd,__source:r,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)c[l]===void 0&&(c[l]=a[l]);return u.options.vnode&&u.options.vnode(d),d}const Ho=u.createContext(),_e=({children:e,value:t})=>s(Ho.Provider,{value:t,children:e}),ue=e=>a=>We(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,i=Ct(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const c=yield Promise.resolve().then(()=>Q_);window.ResizeObserver=c.ResizeObserver}return u.render(s(_e,{value:r,children:u.cloneElement(e,g({ref:n,id:o},i))}),t)}),V=()=>$n(Ho),Pd=(e={})=>typeof e=="object"&&H(e)&&Mo.every(t=>t in e),Md=(e,t)=>e&&ve(e,(o,n)=>{if(Pd(n)){const r=n[t];return r&&"parent"in r&&H(r.parent)?g(g({},n[r.parent]),se(r,"parent")):r}return n}),pe=(e,t)=>Md(e,t),me=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Bd})=>{const[r,i]=ie("desktop"),a=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries(g({},n)).sort(([p,v],[b,$])=>v-$),_=((f=d.find(([p,v],b)=>{const[$,y]=d[b+1]||[];return c>=v&&c<y}))==null?void 0:f[0])||"desktop";i(_)};return Et(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>a(l)).observe(l),a(l))},[]),r},Vo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),rt=(e,t)=>H(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Hd=e=>e.startsWith("px_"),Vd=e=>e.startsWith("percent_"),Dd=(e,t)=>{let o=e,n=t;return Hd(o)&&(o=o.replace("px_",""),n=rt(t,"px")),Vd(o)&&(o=o.replace("percent_",""),n=rt(t,"%")),{key:o,value:n}},qd="-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'",Fd=["borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","minHeight","minWidth","maxWidth","maxHeight","fontSize","height","width","letterSpacing","fontSize","left","right","top","bottom","marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Do=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{Fd.includes(n)&&(r=rt(r,"px"));const{key:i,value:a}=Dd(n,r);if(Od(a)&&(o[i]=Do(a)),o[i]=a,i==="hidden"&&a)return o.display="none",o;if(i==="innerHTML"&&(o.innerHTML=H(a)?`${a}`:""),i==="innerText"&&(o.innerText=H(a)?`${a}`:""),i==="children"&&(o.children=typeof a=="string"?H(a)?`${a}`:"":a),i.includes("borderWidth")&&(o.borderStyle="solid"),i==="corner"&&(o.borderRadius=rt(a,"px")),i==="backgroundFit"&&(Vo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),i==="backgroundImage"&&H(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Vo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),i==="backgroundColorOpacity"&&H(o.backgroundColorOpacity)&&H(o.backgroundColor)){const l=Ad(o.backgroundColor);l&&(o.backgroundColor=Rd(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=qd),i==="isBold"&&(o.fontWeight=a?"bold":"initial"),i==="isItalic"&&(o.fontStyle=a?"italic":"initial"),i==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Wd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,L=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Wd(n)?Do(g({},e[o])):n,t),{}):e,Gd=e=>e in document.createElement("div").style||e.startsWith("--"),J=r=>{var i=r,{children:e,typography:t,accentTypography:o}=i,n=Ct(i,["children","typography","accentTypography"]);var c;const a=Ee(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([_,f])=>{Gd(_)&&(d+=`${Sd(_)}: ${f}; `)}),d},[o]),l=(c=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:c.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return s("div",w(g({},n),{style:g(g({},t),n.style||{}),dangerouslySetInnerHTML:{__html:l}}))},at=()=>{const[e,t]=ie(!1);return[e,()=>t(o=>!o)]},Le=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 24 24",children:s("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),$t=()=>s("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Ud=e=>({fade:`${e.fade} 2s linear infinite`,pulse:`${e.pulse} .3s linear 0s infinite alternate forwards`,wiggle:`${e.wiggle} 2s linear infinite`,gradient:`${e.gradient} 3s ease infinite`}),qo=(e,t)=>{var _,f,p,v,b,$,y,j,B,S,z,P,U;const o=Ud(t),n=L(e),r=(_=n==null?void 0:n.icon)==null?void 0:_.hasIcon,i={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(b=n==null?void 0:n.container)==null?void 0:b.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(j=n==null?void 0:n.container)==null?void 0:j.left},l=(((B=n==null?void 0:n.icon)==null?void 0:B.animations)||[]).map(x=>o[x]).join(", "),c=H((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((z=n==null?void 0:n.icon)!=null&&z.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(P=n.icon)==null?void 0:P.backgroundColor} 0%, ${(U=n==null?void 0:n.icon)==null?void 0:U.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=g(w(g({},(n==null?void 0:n.icon)||{}),{animation:l}),c);return{hasIcon:r,arrowRules:i,bodyRules:a,iconRules:d}},fe=e=>{const t=new Set([]);ve(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Ee(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);q(()=>{o.forEach(yd)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Xd=["borderWidth","borderColor","borderStyle"],Fo=["imageSource","objectFit"],it=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Zd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ie(!1),i=W(null),a=c=>{clearTimeout(i.current),i.current=null},l=()=>{a(i.current),r(c=>!c)};return q(()=>(i.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>a(i.current)),[e]),q(()=>{n&&!i.current&&t&&t()},[n]),{isOpen:n,toggle:l}},Wo=({ref:e,openDelay:t})=>{const o=W(Pe()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),i=c=>o.current.on("autoOpen",c),{isOpen:a,toggle:l}=Zd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Re(e,()=>({onOpen:n,onClick:r,onAutoOpen:i,resetListeners:o.current.reset})),q(()=>o.current.reset,[]),{isOpen:a,toggle:l,click:(...c)=>o.current.emit("click",...c)}},Kd=de(({id:e},t)=>{var j,B,S,z,P,U,x,D,M;const o=W(null),[n,r]=at(),i=V(),a=me({targetRef:o,id:e}),l=pe(i,a),c=L(l),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:p}=qo(l,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),{isOpen:v,toggle:b,click:$}=Wo({ref:t,openDelay:(j=l==null?void 0:l.container)==null?void 0:j.delay});fe(l);const y=n?te(c.container,...Xd):{};return s("div",{className:C(O.root,{[O.legalOpen]:n}),ref:o,children:[s("div",{className:O.icon,style:_,onClick:b,children:d&&s("div",{className:O.iconTarget,children:s($t,{})})}),s("div",{className:C(O.body,{[O.bodyOpen]:v}),style:f,children:[s("div",{className:O.arrow,style:p}),s("div",{className:O.close,style:c==null?void 0:c.close,onClick:b,children:s(Le,{})}),s("div",{className:O.container,style:c==null?void 0:c.container,children:[s("a",{href:(B=c==null?void 0:c.root)==null?void 0:B.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>$(c.id),children:[s("div",{className:O.inner,children:[s("div",{className:O.logo,style:c==null?void 0:c.logo}),s(J,{className:O.text,style:c==null?void 0:c.text,typography:(S=c.text)==null?void 0:S.typography,accentTypography:(z=c.text)==null?void 0:z.accentTypography,children:(P=c==null?void 0:c.text)==null?void 0:P.children})]}),s("div",{className:C(O.button,{[O.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(U=c==null?void 0:c.button)==null?void 0:U.children})]}),s("div",{className:O.legalGap}),s("div",{className:O.legal,style:g(g({},c==null?void 0:c.legal),y),children:s("span",{className:O.legalText,children:s("span",{children:[s("span",{children:(x=c==null?void 0:c.legal)==null?void 0:x.children}),s("span",{className:O.legalButton,onClick:r,children:n?(D=c==null?void 0:c.legal)==null?void 0:D.buttonOpenText:(M=c==null?void 0:c.legal)==null?void 0:M.buttonHideText})]})})})]})]})]})}),Jd=ue(s(Kd,{})),A={root:"_root_9zg53_1",icon:"_icon_9zg53_5",iconTarget:"_iconTarget_9zg53_17",body:"_body_9zg53_23",desktop:"_desktop_9zg53_30",tablet:"_tablet_9zg53_30",laptop:"_laptop_9zg53_30",bodyOpen:"_bodyOpen_9zg53_34",complexGift_in:"_complexGift_in_9zg53_1",arrow:"_arrow_9zg53_47",container:"_container_9zg53_57",promotion:"_promotion_9zg53_62",close:"_close_9zg53_68",head:"_head_9zg53_80",headIcon:"_headIcon_9zg53_86",headTitle:"_headTitle_9zg53_92",inner:"_inner_9zg53_99",fadein:"_fadein_9zg53_1",pulse:"_pulse_9zg53_1",gradient:"_gradient_9zg53_1",wiggle:"_wiggle_9zg53_1"},oe={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Yd=({onClick:e})=>{var n,r,i,a,l,c,d;const t=V(),o=L(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(oe.root,{[oe.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:oe.body,children:[s("div",{className:oe.line,style:o.line}),s("div",{className:oe.bodyInner,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.text,style:o.text,children:s(J,{typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),s("div",{className:oe.button,style:o.button,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.buttonText,children:(c=o.button)==null?void 0:c.children})]})]}),s("div",{className:oe.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})},Qd=de(({id:e},t)=>{var j,B,S,z;const o=W(null),n=V(),r=me({targetRef:o,id:e}),i=pe(n,r),a=L(i),{isOpen:l,click:c,toggle:d}=Wo({ref:t,openDelay:(j=i==null?void 0:i.container)==null?void 0:j.delay});fe(i);const{hasIcon:_,iconRules:f,bodyRules:p,arrowRules:v}=qo(i,{fade:A.fadein,pulse:A.pulse,wiggle:A.wiggle,gradient:A.gradient}),b=(B=a==null?void 0:a.title)==null?void 0:B.hasIcon,$=te(a==null?void 0:a.title,...it),y=se(a==null?void 0:a.title,...it);return s("div",{ref:o,className:C(A.root,{[A.desktop]:r==="desktop",[A.laptop]:r==="laptop",[A.tablet]:r==="tablet"}),children:[s("div",{className:A.icon,style:f,onClick:d,children:_&&s("div",{className:A.iconTarget,children:s($t,{})})}),s("div",{className:C(A.body,{[A.bodyOpen]:l}),style:p,children:[s("div",{className:A.arrow,style:v}),s("div",{className:A.container,style:a.container,children:[s("div",{className:A.close,style:a.close,onClick:d,children:s(Le,{})}),s("div",{className:A.head,style:$,children:[b&&s("div",{className:A.headIcon,style:te(a.title,"color"),children:s($t,{})}),s("div",{className:A.headTitle,style:y,children:(S=a.title)==null?void 0:S.children})]}),s("div",{className:A.inner,children:(a.children||[]).map(P=>s(_e,{value:P,children:s(Yd,{onClick:c})}))}),s("div",{className:A.promotion,style:a.promotion,children:(z=a.promotion)==null?void 0:z.children})]})]})]})}),e_=ue(s(Qd,{})),Z={root:"_root_byy1w_1",background:"_background_byy1w_11",content:"_content_byy1w_19",desktop:"_desktop_byy1w_28",laptop:"_laptop_byy1w_28",wrapper:"_wrapper_byy1w_33",overlay:"_overlay_byy1w_37",close:"_close_byy1w_43",body:"_body_byy1w_54",logo:"_logo_byy1w_63",text:"_text_byy1w_69",button:"_button_byy1w_73",legal:"_legal_byy1w_88"},be=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],t_={root:"_root_mj8hr_1"},o_=()=>{var o,n,r;const e=V(),t=L(e);return s("div",{className:t_.root,style:t.root,children:s(J,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},kt=(e,t=0,o=!1)=>{const n=W(Pe()),[r,i]=ie(!1),[a,l]=ie(),[c,d]=ie(o),_=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),p=y=>n.current.on("clickHide",y),v=()=>We(this,null,function*(){yield Td(+t),i(!0)}),b=()=>i(!1),$=()=>{n.current.emit("clickHide"),b()};return q(()=>{c&&n.current.emit("visible",r)},[r,c]),Re(e,()=>({onVisible:_,onClick:f,onClickHide:p,show:v,hide:b,setApiHost:l,resetListeners:n.current.reset})),q(()=>n.current.reset,[]),{isReady:c,isOpen:r,apiHost:a,show:v,hide:b,clickHide:$,setIsReady:d,click:(...y)=>{b(),n.current.emit("click",...y)}}};function n_(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const r_=de(({id:e,className:t},o)=>{var z,P,U,x,D,M;const n=W(null),r=W(null),i=me({targetRef:n,id:e}),a=V(),l=pe(a,i);fe(l),Me(l,"button.percent_width",(z=l==null?void 0:l.button)==null?void 0:z.width),Me(l,"legal.percent_width",(P=l==null?void 0:l.legal)==null?void 0:P.width);const c=L(l),d=m(c,"root.delay",0),{isOpen:_,isReady:f,setIsReady:p,clickHide:v,click:b}=kt(o,d);q(()=>{const K=r.current;if(!K)return;if(n_(K)){p(!0);return}const ke=()=>p(!0);return K.addEventListener("load",ke),()=>{K.removeEventListener("load",ke)}},[c]);const $={alignItems:be((U=c.root)==null?void 0:U.align)},y=w(g({},c==null?void 0:c.button),{justifyContent:be((x=c.root)==null?void 0:x.textAlign)}),j=w(g({},c==null?void 0:c.legal),{justifyContent:be((D=c.root)==null?void 0:D.textAlign)}),B=se(c.root,...Fo,...Y),S=te(c.root,...Fo);return s("div",{className:C(Z.root,t,{[Z.desktop]:i==="desktop",[Z.tablet]:i==="tablet",[Z.laptop]:i==="laptop"}),ref:n,style:{display:_&&f?"flex":"none"},children:[s("div",{className:Z.overlay,style:c.overlay,onClick:v}),s("div",{className:Z.wrapper,children:[s("div",{className:Z.close,style:Ve(c.close),onClick:v,children:s(Le,{})}),s("a",{href:(M=c.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:Z.content,style:B,onClick:()=>b(c.id),children:[s("img",{ref:r,className:Z.background,src:S.imageSource,alt:"",style:S}),s("div",{className:Z.body,style:$,children:[s("div",{className:Z.logo,style:c.logo}),s("div",{className:Z.text,children:((c==null?void 0:c.children)||[]).map(K=>s(_e,{value:K,children:s(o_,{})}))}),s("div",{className:Z.button,style:y,children:y==null?void 0:y.children}),s("div",{className:Z.legal,style:j,children:j==null?void 0:j.children})]})]})]})]})}),a_=ue(s(r_,{})),ge={root:"_root_1v94r_1",content:"_content_1v94r_11",desktop:"_desktop_1v94r_23",laptop:"_laptop_1v94r_23",overlay:"_overlay_1v94r_28",close:"_close_1v94r_34",title:"_title_1v94r_47",wrapper:"_wrapper_1v94r_62"},Q={root:"_root_1q0qc_1",desktop:"_desktop_1q0qc_9",laptop:"_laptop_1q0qc_9",header:"_header_1q0qc_14",logo:"_logo_1q0qc_25",container:"_container_1q0qc_32",body:"_body_1q0qc_43",logoWrapper:"_logoWrapper_1q0qc_51",text:"_text_1q0qc_64",button:"_button_1q0qc_79",legal:"_legal_1q0qc_97"},i_=({onClick:e})=>{var i,a,l,c,d,_;const t=V(),o=L(t),n=(t==null?void 0:t.device)||"desktop",r=te(o.header,...Y);return s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(Q.root,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:se(o.root,...it),onClick:()=>e(o.id),children:[s("div",{className:Q.header,style:o.header,children:s("div",{className:Q.logo,style:o.logo})}),s("div",{className:Q.container,style:te(o.root,...it),children:[s("div",{className:Q.body,children:[s("div",{className:Q.logoWrapper,style:r,children:s("div",{className:Q.logo,style:o.logo})}),s(J,{className:Q.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(l=o.text)==null?void 0:l.accentTypography,children:(c=o.text)==null?void 0:c.children})]}),s("div",{children:[s(J,{className:Q.button,style:o.button,children:(d=o.button)==null?void 0:d.children}),s(J,{className:Q.legal,style:o.legal,children:(_=o.legal)==null?void 0:_.children})]})]})]})},s_=de(({id:e},t)=>{var f;const o=W(null),n=me({targetRef:o,id:e}),r=V(),i=pe(r,n),a=L(i);fe(i);const l=m(a,"root.delay",0),{isOpen:c,clickHide:d,click:_}=kt(t,l,!0);return s("div",{className:ge.root,style:{display:c?"flex":"none"},children:[s("div",{className:ge.overlay,style:a.overlay,onClick:d}),s("div",{ref:o,className:C(ge.content,{[ge.desktop]:n==="desktop",[ge.laptop]:n==="laptop"}),style:a.root,children:[s("div",{className:ge.close,style:Ve(a.close),onClick:d,children:s(Le,{})}),s(J,{className:ge.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),s("div",{className:ge.wrapper,children:(a.children||[]).map(p=>s(_e,{value:w(g({},p),{device:n}),children:s(i_,{onClick:_})}))})]})]})}),c_=ue(s(s_,{})),F={root:"_root_1xp54_1",content:"_content_1xp54_11",close:"_close_1xp54_19",overlay:"_overlay_1xp54_32",body:"_body_1xp54_38",desktop:"_desktop_1xp54_46",laptop:"_laptop_1xp54_46",tablet:"_tablet_1xp54_50",head:"_head_1xp54_55",title:"_title_1xp54_65",logo:"_logo_1xp54_78",wrapper:"_wrapper_1xp54_85",text:"_text_1xp54_92",button:"_button_1xp54_100",buttonHead:"_buttonHead_1xp54_115",buttonTarget:"_buttonTarget_1xp54_132",legal:"_legal_1xp54_146"},I={root:"_root_16jvv_1",left:"_left_16jvv_8",desktop:"_desktop_16jvv_15",laptop:"_laptop_16jvv_15",teams:"_teams_16jvv_19",logo:"_logo_16jvv_25",league:"_league_16jvv_32",name:"_name_16jvv_37",right:"_right_16jvv_43",odd:"_odd_16jvv_54",oddLabel:"_oddLabel_16jvv_67",oddValue:"_oddValue_16jvv_76",team:"_team_16jvv_19",teamLogo:"_teamLogo_16jvv_100",teamName:"_teamName_16jvv_107"},l_=()=>{const e=V(),t=L(e),o=(e==null?void 0:e.device)||"desktop",n=w(g({},t==null?void 0:t.teamALogo),{backgroundImage:m(t,"match.teams[0].logo")}),r=w(g({},t==null?void 0:t.teamBLogo),{backgroundImage:m(t,"match.teams[1].logo")});return s("div",{className:C(I.root,{[I.desktop]:o==="desktop",[I.laptop]:o==="laptop"}),children:[s("div",{className:I.left,children:[s("div",{className:I.teams,children:[s("img",{className:I.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:I.logo,src:r.backgroundImage,style:r})]}),s("div",{className:I.body,children:[s("div",{className:I.league,style:t.league,children:m(t,"match.league.name")}),s("div",{className:I.name,style:t.teams,children:[m(t,"match.teams[0].name")," — ",m(t,"match.teams[1].name")]})]})]}),s("div",{className:I.right,children:[s("div",{className:I.team,children:[s("img",{className:I.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[0].name")})]}),s("div",{className:I.odd,children:[s("div",{className:I.oddLabel,style:t.oddLabel,children:m(t,"match.prediction.value")}),s("div",{className:I.oddValue,style:t.oddValue,children:m(t,"match.prediction.factor")})]}),s("div",{className:I.team,children:[s("img",{className:I.teamLogo,style:r,src:r.backgroundImage}),s("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[1].name")})]})]})]})},Go=(e,{pause:t,params:o,method:n,body:r})=>{const[i,a]=ie(),l=Ee(()=>{let d=e;if(o){const _=new URLSearchParams(d);Object.entries(o).forEach(([f,p])=>{_.append(f,p)}),d+=_}return d},[e,o]),c=yn(()=>We(this,null,function*(){if(t)return;const d=yield fetch(l,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(_=>_.json());a(d.data)}),[l,t,n,r]);return q(()=>{t||c()},[l,t]),{data:i,execute:c}};function Uo(e){const t=W();return q(()=>{t.current=e},[e]),t.current}const d_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>d.root.targetMatch),i=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return q(()=>{zo(i,r)||l()},[r]),n.map(d=>{const _=(a||[]).find(v=>v.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=jo(_),p=Po(f,d.root.customMatch,(v,[b,$])=>H($));return w(g({},d),{match:p})}).filter(Boolean)},__=de(({id:e},t)=>{var B,S,z,P,U,x,D,M,K,ke,Fe,fn,gn;const o=W(null),n=me({targetRef:o,id:e}),r=V(),i=pe(r,n);Me(i,"buttonWrapper.percent_width",(B=i==null?void 0:i.buttonWrapper)==null?void 0:B.width),Me(i,"legal.percent_width",(S=i==null?void 0:i.legal)==null?void 0:S.width);const a=L(i);fe(i);const l=m(a,"root.delay",0),{isOpen:c,apiHost:d,clickHide:_,click:f}=kt(t,l,!0),p=d_(i,d),v=w(g({},a.root),{alignItems:be((z=a.root)==null?void 0:z.align)}),b=w(g({},a.content),{alignItems:be((P=a.root)==null?void 0:P.align)}),$=w(g({},a.text),{textAlign:(U=a.root)==null?void 0:U.align}),y=w(g({},a==null?void 0:a.button),{justifyContent:be((x=a.root)==null?void 0:x.textAlign)}),j=w(g({},a==null?void 0:a.legal),{justifyContent:be((D=a.root)==null?void 0:D.textAlign)});return s("div",{className:C(F.root,{[F.desktop]:n==="desktop",[F.laptop]:n==="laptop",[F.tablet]:n==="tablet"}),ref:o,style:{display:c?"flex":"none"},children:[s("div",{className:F.overlay,style:a.overlay,onClick:_}),s("div",{className:F.content,children:[s("div",{className:F.close,style:Ve(a.close),onClick:_,children:s(Le,{})}),s("a",{ref:o,href:(M=a.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:s("div",{className:F.body,style:v,children:[s("div",{className:F.head,children:[s("div",{className:F.title,style:a.title,children:(K=a.title)==null?void 0:K.children}),s("div",{className:F.logo,style:a.logo})]}),s("div",{className:F.wrapper,style:b,children:(p||[]).map(eu=>s(_e,{value:w(g({},eu),{device:n}),children:s(l_,{})}))}),s(J,{className:F.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(ke=a.text)==null?void 0:ke.children}),s("div",{className:F.button,style:a.buttonWrapper,children:[s("div",{className:F.buttonHead,style:a.buttonHead,children:(Fe=a.buttonHead)==null?void 0:Fe.children}),s("div",{className:F.buttonTarget,style:y,children:(fn=a.button)==null?void 0:fn.children})]}),s(J,{className:F.legal,style:j,children:(gn=a.legal)==null?void 0:gn.children})]})})]})]})}),u_=ue(s(__,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},p_=({onClick:e})=>{var i,a,l,c,d,_,f,p;const t=V(),o=L(t),[n,r]=at();return s("div",{className:ne.root,style:se(o.root,...Y),children:[s("div",{className:ne.background,style:te(o.root,...Y)}),s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:ne.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),s("div",{className:ne.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),s("div",{className:ne.bookmaker,style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:ne.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:C(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:ne.legalText,children:[s("span",{children:(_=o.legalInfo)==null?void 0:_.children}),s("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},f_=e=>{const t=W(Pe()),o=n=>t.current.on("click",n);return Re(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},g_=de((e,t)=>{const o=W(null),n=V(),i=pe(n,"mobile"),a=L(i);fe(i);const{click:l}=f_(t);return s("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(c=>s(_e,{value:c,children:s(p_,{onClick:l})}))})}),h_=ue(s(g_,{})),R={root:"_root_1k78w_1",desktop:"_desktop_1k78w_13",laptop:"_laptop_1k78w_14",promotion:"_promotion_1k78w_18",background:"_background_1k78w_34",close:"_close_1k78w_43",content:"_content_1k78w_56",variant2:"_variant2_1k78w_69",logo:"_logo_1k78w_73",left:"_left_1k78w_85",center:"_center_1k78w_98",slide:"_slide_1k78w_104",slide_animated_default:"_slide_animated_default_1k78w_118","fade-in-out":"_fade-in-out_1k78w_1","slide_animated_bottom-top":"_slide_animated_bottom-top_1k78w_121","fade-in-bottom-out-top":"_fade-in-bottom-out-top_1k78w_1","slide_animated_top-bottom":"_slide_animated_top-bottom_1k78w_124",right:"_right_1k78w_128",buttonWrapper:"_buttonWrapper_1k78w_143",button:"_button_1k78w_143",button_animated:"_button_animated_1k78w_177",increase:"_increase_1k78w_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_1k78w_1"},Xo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},v_=()=>{var o,n,r;const e=V(),t=L(e);return s("div",{className:C(Xo.root,{[Xo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:se(t.root,...Y),children:s(J,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},E={root:"_root_gohhp_1",title:"_title_gohhp_8",desktop:"_desktop_gohhp_13",laptop:"_laptop_gohhp_13",titleLabel:"_titleLabel_gohhp_17",tablet:"_tablet_gohhp_20",titleValue:"_titleValue_gohhp_27",teamLogo:"_teamLogo_gohhp_38",teams:"_teams_gohhp_49",teamName:"_teamName_gohhp_57",odds:"_odds_gohhp_64",odd:"_odd_gohhp_64",oddX:"_oddX_gohhp_76",oddValue:"_oddValue_gohhp_84"},st=(e,t,o=1,n=!1)=>{var l;const[r,i]=[t[0],t[1]||t[0]].map(c=>c*o),a=`w${r}-h${i}${n?"-c":""}`;return(l=e==null?void 0:e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`))!=null?l:e},m_=()=>{var i,a;const e=V(),t=L(e),o=se(t.root,...Y),n=w(g({},t.teamLogo),{backgroundImage:st(m(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=w(g({},t.teamLogo),{backgroundImage:st(m(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return s("div",{className:C(E.root,{[E.desktop]:e.device==="desktop",[E.laptop]:e.device==="laptop",[E.tablet]:e.device==="tablet"}),style:o,children:[s("div",{className:E.title,children:[s("div",{className:E.titleLabel,style:t.titleLabel,children:(i=t.titleLabel)==null?void 0:i.children}),s("div",{className:E.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{className:E.odds,children:[s("div",{className:E.odd,children:[s("img",{className:E.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w1")})]}),s("div",{className:E.odd,children:[s("div",{className:E.oddX,style:t.coef,children:"X"}),s("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.x")})]}),s("div",{className:E.odd,children:[s("img",{className:E.teamLogo,src:r.backgroundImage,style:r}),s("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:E.teams,children:[s("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[1].name")})]})]})},G={root:"_root_1bycs_1",title:"_title_1bycs_8",titleLabel:"_titleLabel_1bycs_13",tablet:"_tablet_1bycs_16",desktop:"_desktop_1bycs_19",laptop:"_laptop_1bycs_19",titleValue:"_titleValue_1bycs_23",team:"_team_1bycs_34",teamLogo:"_teamLogo_1bycs_45",national:"_national_1bycs_56",teamName:"_teamName_1bycs_77",teamValue:"_teamValue_1bycs_89"},b_=()=>{var r,i;const e=V(),t=L(e),o=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(m(t,"match.teams[0].logo"),[120,120])}),n=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(m(t,"match.teams[1].logo"),[120,120])});return s("div",{className:C(G.root,{[G.desktop]:(e==null?void 0:e.device)==="desktop",[G.laptop]:(e==null?void 0:e.device)==="laptop",[G.tablet]:(e==null?void 0:e.device)==="tablet",[G.national]:m(t,"match.isNational")}),style:se(t.root,...Y),children:[s("div",{className:G.title,children:[s("div",{className:G.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:G.titleValue,style:t.titleValue,children:(i=t.titleValue)==null?void 0:i.children})]}),s("div",{children:[s("div",{className:G.team,children:[s("img",{className:G.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:G.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:G.teamValue,style:t.value,children:m(t,"match.markets.one_two.w1")})]}),s("div",{className:G.team,children:[s("img",{className:G.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:G.teamName,style:t.teamName,children:m(t,"match.teams[1].name")}),s("div",{className:G.teamValue,style:t.value,children:m(t,"match.markets.one_two.w2")})]})]})]})},y_=(e=[])=>{var i;const t=e.length,[o,n]=ie(0),r=(i=e[o||0])==null?void 0:i.animationDuration;return q(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},$_={matches:"one_x_two",matchesOneTwo:"one_two"},Zo=e=>[$_[e]],k_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=(e==null?void 0:e.children)||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>w(g({},d.root.targetMatch),{markets:Zo(d.name)})),i=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return q(()=>{zo(i,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const _=(a||[]).find(b=>b.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=Zo(d.name),p=jo(_,{markets:f}),v=Po(p,d.root.customMatch,(b,[$,y])=>H(y));return w(g({},d),{match:v})}return d}).filter(Boolean)},w_=e=>{const t=W(Pe()),[o,n]=ie(!1),[r,i]=ie(),a=p=>t.current.on("visible",p),l=p=>t.current.on("click",p),c=p=>t.current.on("clickHide",p),d=()=>We(this,null,function*(){n(!0)}),_=()=>n(!1),f=()=>{t.current.emit("clickHide"),_()};return q(()=>{t.current.emit("visible",o)},[o]),Re(e,()=>({onVisible:a,onClick:l,onClickHide:c,show:d,hide:_,setApiHost:i,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:_,clickHide:f,click:(...p)=>{t.current.emit("click",...p)}}},x_=3700,N_=de(({id:e},t)=>{var B,S,z,P,U;const o=W(null),n=V(),r=me({id:e,targetRef:o}),i=pe(n,r),a=L(i);fe(i);const{apiHost:l,isOpen:c,click:d,clickHide:_}=w_(t),f=k_(a,l),p=x=>({text:s(v_,{}),matches:s(m_,{}),matchesOneTwo:s(b_,{})})[x],v=f.filter(Boolean).map(x=>{var D,M;return w(g({},x),{animationName:(D=x==null?void 0:x.root)==null?void 0:D.animationName,animationDuration:((M=x==null?void 0:x.root)==null?void 0:M.animationDuration)||x_})}),b=y_(v),$=L(v[b]||{}),y=se(a.root,...Y),j=(B=$==null?void 0:$.root)!=null&&B.hasCustomBackground?te(($==null?void 0:$.root)||{},...Y):te(a.root,...Y);return s("div",{ref:o,className:C(R.root,{[R.desktop]:r==="desktop",[R.laptop]:r==="laptop",[R.tablet]:r==="tablet",[R.variant2]:((S=a.root)==null?void 0:S.variant)==="variant2"}),style:w(g({},y),{display:c?"block":"none"}),children:[s("div",{className:R.close,style:a.close,onClick:_,children:s(Le,{})}),s("a",{href:(z=a.root)==null?void 0:z.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:d,children:[s("div",{className:R.background,style:j}),s("div",{className:R.promotion,style:a.promotion,children:(P=a.promotion)==null?void 0:P.children}),s("div",{className:R.content,children:[s("div",{className:R.left,children:s("div",{className:R.logo,style:a.logo})}),s("div",{className:R.center,children:(v||[]).map((x,D)=>{var M,K;return s("div",{className:R.slide,style:{animationName:b===D?R[((M=x.root)==null?void 0:M.animationName)||"fade-in-out"]:"none",animationDuration:`${(K=x.root)==null?void 0:K.animationDuration}ms`},children:s(_e,{value:w(g({},x),{device:r}),children:p(x.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:a.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:C(R.button,{[R.button_animated]:a.button.$animated}),style:a.button,children:[s("div",{className:R.logo,style:a.logo}),(U=a.button)==null?void 0:U.children]})})]})]})]})]})}),T_=ue(s(N_,{})),He={content:"_content_c8kee_1",desktop:"_desktop_c8kee_6",laptop:"_laptop_c8kee_6",tablet:"_tablet_c8kee_6"},re={root:"_root_1oam1_1",content:"_content_1oam1_8",textContent:"_textContent_1oam1_14",backgroundLine:"_backgroundLine_1oam1_20",button:"_button_1oam1_26",link:"_link_1oam1_32",legal:"_legal_1oam1_38",legalText:"_legalText_1oam1_47",open:"_open_1oam1_56",legalMore:"_legalMore_1oam1_61"},C_=(e,t,o,n,r=Mo)=>{const i=g({},e);return r.forEach(a=>{i[t]=w(g({},i[t]),{[a]:w(g({},i[t][a]),{[o]:typeof n=="function"?n(m(i,`${t}.${a}.${o}`)):n})})}),i},Ve=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=w(g({},e),{color:t});return se(o,"backgroundColor")},O_=()=>s("svg",{width:"81",height:"100%",viewBox:"0 0 81 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M63.0344 7.99989L7.38354 67.5171L9.86897 69.8401L65.5198 10.3229L63.0344 7.99989Z",fill:"currentColor"}),s("path",{d:"M77.8771 -23.0001L22.2263 36.5171L24.7117 38.8401L80.3626 -20.6771L77.8771 -23.0001Z",fill:"#E3E3E3"}),s("path",{d:"M66.7199 20.9999L11.0691 80.5171L13.5545 82.8401L69.2053 23.3229L66.7199 20.9999Z",fill:"#E3E3E3"}),s("path",{d:"M55.808 20.5258L0.157227 80.043L2.64266 82.366L58.2935 22.8487L55.808 20.5258Z",fill:"currentColor"}),s("path",{d:"M70.6508 -10.4742L15 49.043L17.4854 51.366L73.1362 -8.15125L70.6508 -10.4742Z",fill:"#E3E3E3"}),s("path",{d:"M72.426 8.99995L61 21.2163L62.5379 22.6541L73.9638 10.4377L72.426 8.99995Z",fill:"#E3E3E3"})]}),S_=({onClick:e})=>{var i,a,l,c,d,_,f,p,v;const t=V(),o=L(t),[n,r]=at();return s("div",{className:re.root,style:o.root,children:[s("div",{className:re.content,children:[s("div",{className:re.textContent,children:[s(J,{className:re.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),s("div",{style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:re.button,style:o.button,children:o.button.children}),s("div",{className:re.backgroundLine,style:w(g({},Ve(o.line)),{left:`calc(50% - ${(d=o.line)==null?void 0:d.left})`}),children:s(O_,{})}),s("a",{className:re.link,target:"_blank",href:(_=o.root)==null?void 0:_.offer,onClick:()=>e(o.id),rel:"noreferrer"})]}),s("div",{className:C(re.legal,{[re.open]:n}),style:o.legalInfo,children:s("div",{className:re.legalText,children:[(f=o.legalInfo)==null?void 0:f.children,s("span",{className:re.legalMore,style:o.legalInfoButton,onClick:r,children:n?(p=o.legalInfoButton)==null?void 0:p.openText:(v=o.legalInfoButton)==null?void 0:v.closeText})]})})]})},ae={root:"_root_ka6mq_1",content:"_content_ka6mq_8",backgroundLine:"_backgroundLine_ka6mq_14",link:"_link_ka6mq_20",button:"_button_ka6mq_26",logo:"_logo_ka6mq_31",legal:"_legal_ka6mq_37",open:"_open_ka6mq_49",legalText:"_legalText_ka6mq_53",legalMore:"_legalMore_ka6mq_66"},L_=({onClick:e})=>{var i,a,l,c,d,_,f,p;const t=V(),o=L(t),[n,r]=at();return s("div",{className:ae.root,style:o.root,children:[s("div",{className:ae.content,children:[s(J,{className:ae.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),s("div",{className:ae.button,style:o.button,children:[s("div",{className:ae.logo,style:o.logo}),o.button.children]}),s("a",{className:ae.link,href:(c=o.root)==null?void 0:c.offer})]}),s("a",{className:ae.link,href:(d=o.root)==null?void 0:d.offer,target:"_blank",onClick:()=>e(o.id),rel:"noreferrer"}),s("div",{className:C(ae.legal,{[ae.open]:n}),style:o.legalInfo,children:[s("div",{className:ae.legalText,children:(_=o.legalInfo)==null?void 0:_.children}),s("div",{className:ae.legalMore,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})]})},A_=e=>{const t=W(Pe()),o=r=>t.current.on("click",r),n=r=>t.current.on("visible",r);return Re(e,()=>({promoId:"ContentCards",onClick:o,onVisible:n,resetListeners:t.current.reset})),q(()=>{t.current.emit("visible")},[]),q(()=>t.current.reset,[]),{click:(...r)=>t.current.emit("click",...r),onClick:o}},I_=de(({id:e},t)=>{const o=W(null),n=V(),r=me({targetRef:o,id:e}),i=pe(n,r),a=L(i);fe(i);const{click:l}=A_(t),c=d=>({cardVariant1:s(S_,{onClick:l}),cardVariant2:s(L_,{onClick:l})})[d];return s("div",{ref:o,className:C(He.root,{[He.desktop]:r==="desktop",[He.laptop]:r==="laptop",[He.tablet]:r==="tablet"}),children:s("div",{className:He.content,children:((a==null?void 0:a.children)||[]).map(d=>s(_e,{value:d,children:c(d.name)}))})})}),R_=ue(s(I_,{}));var ye=[],E_=function(){return ye.some(function(e){return e.activeTargets.length>0})},j_=function(){return ye.some(function(e){return e.skippedTargets.length>0})},Ko="ResizeObserver loop completed with undelivered notifications.",B_=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Ko}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Ko),window.dispatchEvent(e)},De;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(De||(De={}));var $e=function(e){return Object.freeze(e)},Jo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,$e(this)}return e}(),Yo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,$e(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,i=t.right,a=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:i,bottom:a,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),wt=function(e){return e instanceof SVGElement&&"getBBox"in e},Qo=function(e){if(wt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},en=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},z_=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},qe=typeof window!="undefined"?window:{},ct=new WeakMap,tn=/auto|scroll/,P_=/^tb|vertical/,M_=/msie|trident/i.test(qe.navigator&&qe.navigator.userAgent),ce=function(e){return parseFloat(e||"0")},Ae=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Jo((o?t:e)||0,(o?e:t)||0)},on=$e({devicePixelContentBoxSize:Ae(),borderBoxSize:Ae(),contentBoxSize:Ae(),contentRect:new Yo(0,0,0,0)}),nn=function(e,t){if(t===void 0&&(t=!1),ct.has(e)&&!t)return ct.get(e);if(Qo(e))return ct.set(e,on),on;var o=getComputedStyle(e),n=wt(e)&&e.ownerSVGElement&&e.getBBox(),r=!M_&&o.boxSizing==="border-box",i=P_.test(o.writingMode||""),a=!n&&tn.test(o.overflowY||""),l=!n&&tn.test(o.overflowX||""),c=n?0:ce(o.paddingTop),d=n?0:ce(o.paddingRight),_=n?0:ce(o.paddingBottom),f=n?0:ce(o.paddingLeft),p=n?0:ce(o.borderTopWidth),v=n?0:ce(o.borderRightWidth),b=n?0:ce(o.borderBottomWidth),$=n?0:ce(o.borderLeftWidth),y=f+d,j=c+_,B=$+v,S=p+b,z=l?e.offsetHeight-S-e.clientHeight:0,P=a?e.offsetWidth-B-e.clientWidth:0,U=r?y+B:0,x=r?j+S:0,D=n?n.width:ce(o.width)-U-P,M=n?n.height:ce(o.height)-x-z,K=D+y+P+B,ke=M+j+z+S,Fe=$e({devicePixelContentBoxSize:Ae(Math.round(D*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:Ae(K,ke,i),contentBoxSize:Ae(D,M,i),contentRect:new Yo(f,c,D,M)});return ct.set(e,Fe),Fe},rn=function(e,t,o){var n=nn(e,o),r=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case De.DEVICE_PIXEL_CONTENT_BOX:return a;case De.BORDER_BOX:return r;default:return i}},an=function(){function e(t){var o=nn(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=$e([o.borderBoxSize]),this.contentBoxSize=$e([o.contentBoxSize]),this.devicePixelContentBoxSize=$e([o.devicePixelContentBoxSize])}return e}(),sn=function(e){if(Qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},H_=function(){var e=1/0,t=[];ye.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(d){var _=new an(d.target),f=sn(d.target);l.push(_),d.lastReportedSize=rn(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},cn=function(e){ye.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(sn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},V_=function(){var e=0;for(cn(e);E_();)e=H_(),cn(e);return j_()&&B_(),e>0},xt,ln=[],D_=function(){return ln.splice(0).forEach(function(e){return e()})},q_=function(e){if(!xt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return D_()}).observe(o,n),xt=function(){o.textContent="".concat(t?t--:t++)}}ln.push(e),xt()},F_=function(e){q_(function(){requestAnimationFrame(e)})},lt=0,W_=function(){return!!lt},G_=250,U_={attributes:!0,characterData:!0,childList:!0,subtree:!0},dn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_n=function(e){return e===void 0&&(e=0),Date.now()+e},Nt=!1,X_=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=G_),!Nt){Nt=!0;var n=_n(t);F_(function(){var r=!1;try{r=V_()}finally{if(Nt=!1,t=n-_n(),!W_())return;r?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,U_)};document.body?o():qe.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dn.forEach(function(o){return qe.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),dn.forEach(function(o){return qe.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Tt=new X_,un=function(e){!lt&&e>0&&Tt.start(),lt+=e,!lt&&Tt.stop()},Z_=function(e){return!wt(e)&&!z_(e)&&getComputedStyle(e).display==="inline"},K_=function(){function e(t,o){this.target=t,this.observedBox=o||De.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=rn(this.target,this.observedBox,!0);return Z_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),J_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),dt=new WeakMap,pn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},_t=function(){function e(){}return e.connect=function(t,o){var n=new J_(t,o);dt.set(t,n)},e.observe=function(t,o,n){var r=dt.get(t),i=r.observationTargets.length===0;pn(r.observationTargets,o)<0&&(i&&ye.push(r),r.observationTargets.push(new K_(o,n&&n.box)),un(1),Tt.schedule())},e.unobserve=function(t,o){var n=dt.get(t),r=pn(n.observationTargets,o),i=n.observationTargets.length===1;r>=0&&(i&&ye.splice(ye.indexOf(n),1),n.observationTargets.splice(r,1),un(-1))},e.disconnect=function(t){var o=this,n=dt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Y_=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");_t.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.unobserve(this,t)},e.prototype.disconnect=function(){_t.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Q_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Y_,ResizeObserverEntry:an,ResizeObserverSize:Jo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=h_,h.ComplexGift=e_,h.ComplexPopup=c_,h.ContentCards=R_,h.ExpressPopup=u_,h.SimpleGift=Jd,h.SimplePopup=a_,h.WideCard=T_,h.backgroundToColor=Ve,h.filterDeep=jd,h.findDeep=Ed,h.isValidTemplate=Id,h.modifyState=C_,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adstore/templates",
3
3
  "private": false,
4
- "version": "2.6.7",
4
+ "version": "2.6.8",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"