@adstore/templates 2.6.11 → 2.6.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,19 +20,19 @@ var Qe = (e, t) => {
20
20
  return o;
21
21
  };
22
22
  var Ne = (e, t, o) => new Promise((n, r) => {
23
- var c = (_) => {
23
+ var s = (_) => {
24
24
  try {
25
25
  l(o.next(_));
26
26
  } catch (i) {
27
27
  r(i);
28
28
  }
29
- }, s = (_) => {
29
+ }, c = (_) => {
30
30
  try {
31
31
  l(o.throw(_));
32
32
  } catch (i) {
33
33
  r(i);
34
34
  }
35
- }, l = (_) => _.done ? n(_.value) : Promise.resolve(_.value).then(c, s);
35
+ }, l = (_) => _.done ? n(_.value) : Promise.resolve(_.value).then(s, c);
36
36
  l((o = o.apply(e, t)).next());
37
37
  });
38
38
  import { options as h, Component as Ce, createElement as vt, Fragment as yt, toChildArray as ot, createContext as Wo, render as Zo, cloneElement as Ko } from "preact";
@@ -54,23 +54,23 @@ var He = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
54
54
  var t = {}.hasOwnProperty;
55
55
  function o() {
56
56
  for (var n = [], r = 0; r < arguments.length; r++) {
57
- var c = arguments[r];
58
- if (c) {
59
- var s = typeof c;
60
- if (s === "string" || s === "number")
61
- n.push(c);
62
- else if (Array.isArray(c)) {
63
- if (c.length) {
64
- var l = o.apply(null, c);
57
+ var s = arguments[r];
58
+ if (s) {
59
+ var c = typeof s;
60
+ if (c === "string" || c === "number")
61
+ n.push(s);
62
+ else if (Array.isArray(s)) {
63
+ if (s.length) {
64
+ var l = o.apply(null, s);
65
65
  l && n.push(l);
66
66
  }
67
- } else if (s === "object") {
68
- if (c.toString !== Object.prototype.toString && !c.toString.toString().includes("[native code]")) {
69
- n.push(c.toString());
67
+ } else if (c === "object") {
68
+ if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]")) {
69
+ n.push(s.toString());
70
70
  continue;
71
71
  }
72
- for (var _ in c)
73
- t.call(c, _) && c[_] && n.push(_);
72
+ for (var _ in s)
73
+ t.call(s, _) && s[_] && n.push(_);
74
74
  }
75
75
  }
76
76
  }
@@ -104,28 +104,28 @@ function Jo(e, t, o) {
104
104
  if (d.every(function(u) {
105
105
  return !u.__N;
106
106
  }))
107
- return !c || c.call(this, l, _, i);
107
+ return !s || s.call(this, l, _, i);
108
108
  var p = !1;
109
109
  return d.forEach(function(u) {
110
110
  if (u.__N) {
111
111
  var g = u.__[0];
112
112
  u.__ = u.__N, u.__N = void 0, g !== u.__[0] && (p = !0);
113
113
  }
114
- }), !(!p && n.__c.props === l) && (!c || c.call(this, l, _, i));
114
+ }), !(!p && n.__c.props === l) && (!s || s.call(this, l, _, i));
115
115
  };
116
116
  w.u = !0;
117
- var c = w.shouldComponentUpdate, s = w.componentWillUpdate;
117
+ var s = w.shouldComponentUpdate, c = w.componentWillUpdate;
118
118
  w.componentWillUpdate = function(l, _, i) {
119
119
  if (this.__e) {
120
- var d = c;
121
- c = void 0, r(l, _, i), c = d;
120
+ var d = s;
121
+ s = void 0, r(l, _, i), s = d;
122
122
  }
123
- s && s.call(this, l, _, i);
123
+ c && c.call(this, l, _, i);
124
124
  }, w.shouldComponentUpdate = r;
125
125
  }
126
126
  return n.__N || n.__;
127
127
  }
128
- function E(e, t) {
128
+ function V(e, t) {
129
129
  var o = Le(he++, 3);
130
130
  !h.__s && st(o.__H, t) && (o.__ = e, o.i = t, w.__H.__h.push(o));
131
131
  }
@@ -264,8 +264,8 @@ function se(e) {
264
264
  var nn = h.__e;
265
265
  h.__e = function(e, t, o, n) {
266
266
  if (e.then) {
267
- for (var r, c = t; c = c.__; )
268
- if ((r = c.__c) && r.__c)
267
+ for (var r, s = t; s = s.__; )
268
+ if ((r = s.__c) && r.__c)
269
269
  return t.__e == null && (t.__e = o.__e, t.__k = o.__k), r.__c(e, t);
270
270
  }
271
271
  nn(e, t, o, n);
@@ -299,10 +299,10 @@ h.unmount = function(e) {
299
299
  }, (et.prototype = new Ce()).__c = function(e, t) {
300
300
  var o = t.__c, n = this;
301
301
  n.t == null && (n.t = []), n.t.push(o);
302
- var r = po(n.__v), c = !1, s = function() {
303
- c || (c = !0, o.__R = null, r ? r(l) : l());
302
+ var r = po(n.__v), s = !1, c = function() {
303
+ s || (s = !0, o.__R = null, r ? r(l) : l());
304
304
  };
305
- o.__R = s;
305
+ o.__R = c;
306
306
  var l = function() {
307
307
  if (!--n.__u) {
308
308
  if (n.state.__a) {
@@ -314,7 +314,7 @@ h.unmount = function(e) {
314
314
  d.forceUpdate();
315
315
  }
316
316
  }, _ = t.__h === !0;
317
- n.__u++ || _ || n.setState({ __a: n.__b = n.__v.__k[0] }), e.then(s, s);
317
+ n.__u++ || _ || n.setState({ __a: n.__b = n.__v.__k[0] }), e.then(c, c);
318
318
  }, et.prototype.componentWillUnmount = function() {
319
319
  this.t = [];
320
320
  }, et.prototype.render = function(e, t) {
@@ -341,10 +341,10 @@ var jt = function(e, t, o) {
341
341
  (Re.prototype = new Ce()).__a = function(e) {
342
342
  var t = this, o = po(t.__v), n = t.o.get(e);
343
343
  return n[0]++, function(r) {
344
- var c = function() {
344
+ var s = function() {
345
345
  t.props.revealOrder ? (n.push(r), jt(t, e, n)) : r();
346
346
  };
347
- o ? o(c) : c();
347
+ o ? o(s) : s();
348
348
  };
349
349
  }, Re.prototype.render = function(e) {
350
350
  this.u = null, this.o = /* @__PURE__ */ new Map();
@@ -387,11 +387,11 @@ var fn = { enumerable: !1, configurable: !0, get: function() {
387
387
  h.vnode = function(e) {
388
388
  typeof e.type == "string" && function(t) {
389
389
  var o = t.props, n = t.type, r = {};
390
- for (var c in o) {
391
- var s = o[c];
392
- if (!(c === "value" && "defaultValue" in o && s == null || ln && c === "children" && n === "noscript" || c === "class" || c === "className")) {
393
- var l = c.toLowerCase();
394
- c === "defaultValue" && "value" in o && o.value == null ? c = "value" : c === "download" && s === !0 ? s = "" : l === "ondoubleclick" ? c = "ondblclick" : l !== "onchange" || n !== "input" && n !== "textarea" || _n(o.type) ? l === "onfocus" ? c = "onfocusin" : l === "onblur" ? c = "onfocusout" : sn.test(c) ? c = l : n.indexOf("-") === -1 && an.test(c) ? c = c.replace(cn, "-$&").toLowerCase() : s === null && (s = void 0) : l = c = "oninput", l === "oninput" && r[c = l] && (c = "oninputCapture"), r[c] = s;
390
+ for (var s in o) {
391
+ var c = o[s];
392
+ if (!(s === "value" && "defaultValue" in o && c == null || ln && s === "children" && n === "noscript" || s === "class" || s === "className")) {
393
+ var l = s.toLowerCase();
394
+ s === "defaultValue" && "value" in o && o.value == null ? s = "value" : s === "download" && c === !0 ? c = "" : l === "ondoubleclick" ? s = "ondblclick" : l !== "onchange" || n !== "input" && n !== "textarea" || _n(o.type) ? l === "onfocus" ? s = "onfocusin" : l === "onblur" ? s = "onfocusout" : sn.test(s) ? s = l : n.indexOf("-") === -1 && an.test(s) ? s = s.replace(cn, "-$&").toLowerCase() : c === null && (c = void 0) : l = s = "oninput", l === "oninput" && r[s = l] && (s = "oninputCapture"), r[s] = c;
395
395
  }
396
396
  }
397
397
  n == "select" && r.multiple && Array.isArray(r.value) && (r.value = ot(o.children).forEach(function(_) {
@@ -483,7 +483,7 @@ function or(e) {
483
483
  try {
484
484
  e[we] = void 0;
485
485
  var n = !0;
486
- } catch (c) {
486
+ } catch (s) {
487
487
  }
488
488
  var r = tr.call(e);
489
489
  return n && (t ? e[we] = o : delete e[we]), r;
@@ -680,9 +680,9 @@ function fs(e, t, o) {
680
680
  var yo = fs;
681
681
  function gs(e) {
682
682
  return function(t, o, n) {
683
- for (var r = -1, c = Object(t), s = n(t), l = s.length; l--; ) {
684
- var _ = s[e ? l : ++r];
685
- if (o(c[_], _, c) === !1)
683
+ for (var r = -1, s = Object(t), c = n(t), l = c.length; l--; ) {
684
+ var _ = c[e ? l : ++r];
685
+ if (o(s[_], _, s) === !1)
686
686
  break;
687
687
  }
688
688
  return t;
@@ -697,7 +697,7 @@ var hs = gs, ms = hs, vs = ms(), ys = vs, Ve = {}, bs = {
697
697
  }
698
698
  };
699
699
  (function(e, t) {
700
- var o = ve, n = t && !t.nodeType && t, r = n && !0 && e && !e.nodeType && e, c = r && r.exports === n, s = c ? o.Buffer : void 0, l = s ? s.allocUnsafe : void 0;
700
+ var o = ve, n = t && !t.nodeType && t, r = n && !0 && e && !e.nodeType && e, s = r && r.exports === n, c = s ? o.Buffer : void 0, l = c ? c.allocUnsafe : void 0;
701
701
  function _(i, d) {
702
702
  if (d)
703
703
  return i.slice();
@@ -787,7 +787,7 @@ function uc() {
787
787
  }
788
788
  var pc = uc;
789
789
  (function(e, t) {
790
- var o = ve, n = pc, r = t && !t.nodeType && t, c = r && !0 && e && !e.nodeType && e, s = c && c.exports === r, l = s ? o.Buffer : void 0, _ = l ? l.isBuffer : void 0, i = _ || n;
790
+ var o = ve, n = pc, r = t && !t.nodeType && t, s = r && !0 && e && !e.nodeType && e, c = s && s.exports === r, l = c ? o.Buffer : void 0, _ = l ? l.isBuffer : void 0, i = _ || n;
791
791
  e.exports = i;
792
792
  })(dc, Te);
793
793
  var fc = We, gc = bo, hc = Se, mc = "[object Object]", vc = Function.prototype, yc = Object.prototype, Co = vc.toString, bc = yc.hasOwnProperty, $c = Co.call(Object);
@@ -821,10 +821,10 @@ var ei = Yc, Be = {}, ti = {
821
821
  }
822
822
  };
823
823
  (function(e, t) {
824
- var o = fo, n = t && !t.nodeType && t, r = n && !0 && e && !e.nodeType && e, c = r && r.exports === n, s = c && o.process, l = function() {
824
+ var o = fo, n = t && !t.nodeType && t, r = n && !0 && e && !e.nodeType && e, s = r && r.exports === n, c = s && o.process, l = function() {
825
825
  try {
826
826
  var _ = r && r.require && r.require("util").types;
827
- return _ || s && s.binding && s.binding("util");
827
+ return _ || c && c.binding && c.binding("util");
828
828
  } catch (i) {
829
829
  }
830
830
  }();
@@ -844,8 +844,8 @@ var di = _i, ui = di, pi = lt;
844
844
  function fi(e, t, o, n) {
845
845
  var r = !o;
846
846
  o || (o = {});
847
- for (var c = -1, s = t.length; ++c < s; ) {
848
- var l = t[c], _ = n ? n(o[l], e[l], l, o, e) : void 0;
847
+ for (var s = -1, c = t.length; ++s < c; ) {
848
+ var l = t[s], _ = n ? n(o[l], e[l], l, o, e) : void 0;
849
849
  _ === void 0 && (_ = e[l]), r ? pi(o, l, _) : ui(o, l, _);
850
850
  }
851
851
  return o;
@@ -863,12 +863,12 @@ function bi(e, t) {
863
863
  }
864
864
  var Lo = bi, $i = mi, ki = No, Ni = wo, wi = Te, xi = Lo, Ci = To, Ti = Object.prototype, Oi = Ti.hasOwnProperty;
865
865
  function Li(e, t) {
866
- var o = Ni(e), n = !o && ki(e), r = !o && !n && wi(e), c = !o && !n && !r && Ci(e), s = o || n || r || c, l = s ? $i(e.length, String) : [], _ = l.length;
866
+ var o = Ni(e), n = !o && ki(e), r = !o && !n && wi(e), s = !o && !n && !r && Ci(e), c = o || n || r || s, l = c ? $i(e.length, String) : [], _ = l.length;
867
867
  for (var i in e)
868
- (t || Oi.call(e, i)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
868
+ (t || Oi.call(e, i)) && !(c && // Safari 9 has enumerable `arguments.length` in strict mode.
869
869
  (i == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
870
870
  r && (i == "offset" || i == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
871
- c && (i == "buffer" || i == "byteLength" || i == "byteOffset") || // Skip index properties.
871
+ s && (i == "buffer" || i == "byteLength" || i == "byteOffset") || // Skip index properties.
872
872
  xi(i, _))) && l.push(i);
873
873
  return l;
874
874
  }
@@ -898,27 +898,27 @@ function Ui(e) {
898
898
  return Di(e, Gi(e));
899
899
  }
900
900
  var Wi = Ui, Zt = yo, Zi = Ve, Ki = Os, Xi = As, Ji = Ds, Kt = No, Xt = wo, Qi = _c, Yi = Te, el = ct, tl = pe, ol = Nc, nl = To, Jt = Oo, rl = Wi;
901
- function al(e, t, o, n, r, c, s) {
902
- var l = Jt(e, o), _ = Jt(t, o), i = s.get(_);
901
+ function al(e, t, o, n, r, s, c) {
902
+ var l = Jt(e, o), _ = Jt(t, o), i = c.get(_);
903
903
  if (i) {
904
904
  Zt(e, o, i);
905
905
  return;
906
906
  }
907
- var d = c ? c(l, _, o + "", e, t, s) : void 0, p = d === void 0;
907
+ var d = s ? s(l, _, o + "", e, t, c) : void 0, p = d === void 0;
908
908
  if (p) {
909
909
  var u = Xt(_), g = !u && Yi(_), v = !u && !g && nl(_);
910
910
  d = _, u || g || v ? Xt(l) ? d = l : Qi(l) ? d = Xi(l) : g ? (p = !1, d = Zi(_, !0)) : v ? (p = !1, d = Ki(_, !0)) : d = [] : ol(_) || Kt(_) ? (d = l, Kt(l) ? d = rl(l) : (!tl(l) || el(l)) && (d = Ji(_))) : p = !1;
911
911
  }
912
- p && (s.set(_, d), r(d, _, n, c, s), s.delete(_)), Zt(e, o, d);
912
+ p && (c.set(_, d), r(d, _, n, s, c), c.delete(_)), Zt(e, o, d);
913
913
  }
914
914
  var sl = al, cl = is, il = yo, ll = ys, _l = sl, dl = pe, ul = Ao, pl = Oo;
915
915
  function jo(e, t, o, n, r) {
916
- e !== t && ll(t, function(c, s) {
917
- if (r || (r = new cl()), dl(c))
918
- _l(e, t, s, o, jo, n, r);
916
+ e !== t && ll(t, function(s, c) {
917
+ if (r || (r = new cl()), dl(s))
918
+ _l(e, t, c, o, jo, n, r);
919
919
  else {
920
- var l = n ? n(pl(e, s), c, s + "", e, t, r) : void 0;
921
- l === void 0 && (l = c), il(e, s, l);
920
+ var l = n ? n(pl(e, c), s, c + "", e, t, r) : void 0;
921
+ l === void 0 && (l = s), il(e, c, l);
922
922
  }
923
923
  }, ul);
924
924
  }
@@ -943,12 +943,12 @@ function hl(e, t, o) {
943
943
  var ml = hl, vl = ml, Qt = Math.max;
944
944
  function yl(e, t, o) {
945
945
  return t = Qt(t === void 0 ? e.length - 1 : t, 0), function() {
946
- for (var n = arguments, r = -1, c = Qt(n.length - t, 0), s = Array(c); ++r < c; )
947
- s[r] = n[t + r];
946
+ for (var n = arguments, r = -1, s = Qt(n.length - t, 0), c = Array(s); ++r < s; )
947
+ c[r] = n[t + r];
948
948
  r = -1;
949
949
  for (var l = Array(t + 1); ++r < t; )
950
950
  l[r] = n[r];
951
- return l[t] = o(s), vl(e, this, l);
951
+ return l[t] = o(c), vl(e, this, l);
952
952
  };
953
953
  }
954
954
  var bl = yl;
@@ -991,10 +991,10 @@ function Gl(e, t, o) {
991
991
  var Ul = Gl, Wl = Bl, Zl = Ul;
992
992
  function Kl(e) {
993
993
  return Wl(function(t, o) {
994
- var n = -1, r = o.length, c = r > 1 ? o[r - 1] : void 0, s = r > 2 ? o[2] : void 0;
995
- for (c = e.length > 3 && typeof c == "function" ? (r--, c) : void 0, s && Zl(o[0], o[1], s) && (c = r < 3 ? void 0 : c, r = 1), t = Object(t); ++n < r; ) {
994
+ var n = -1, r = o.length, s = r > 1 ? o[r - 1] : void 0, c = r > 2 ? o[2] : void 0;
995
+ for (s = e.length > 3 && typeof s == "function" ? (r--, s) : void 0, c && Zl(o[0], o[1], c) && (s = r < 3 ? void 0 : s, r = 1), t = Object(t); ++n < r; ) {
996
996
  var l = o[n];
997
- l && e(t, l, n, c);
997
+ l && e(t, l, n, s);
998
998
  }
999
999
  return t;
1000
1000
  });
@@ -1004,23 +1004,23 @@ Ql(function(e, t, o) {
1004
1004
  Jl(e, t, o);
1005
1005
  });
1006
1006
  const ue = (e, t, o) => Array.isArray(e) ? e.map((n, r) => {
1007
- const c = [o, r].filter(S).join(".");
1008
- return ue(t(r, n, c), t, c);
1009
- }) : typeof e == "object" && e ? Object.entries(e).reduce((n, [r, c]) => {
1010
1007
  const s = [o, r].filter(S).join(".");
1011
- return n[r] = ue(t(r, c, s), t, s), n;
1008
+ return ue(t(r, n, s), t, s);
1009
+ }) : typeof e == "object" && e ? Object.entries(e).reduce((n, [r, s]) => {
1010
+ const c = [o, r].filter(S).join(".");
1011
+ return n[r] = ue(t(r, s, c), t, c), n;
1012
1012
  }, {}) : e, Yl = (e) => {
1013
1013
  const t = document.getElementsByTagName("head")[0], o = document.createElement("link");
1014
1014
  Object.entries(e).forEach(([n, r]) => o.setAttribute(n, r)), t.appendChild(o);
1015
1015
  }, Ie = () => {
1016
1016
  let e = {};
1017
1017
  return {
1018
- on: (s, l) => {
1019
- s in e ? e[s].push(l) : e[s] = [l];
1018
+ on: (c, l) => {
1019
+ c in e ? e[c].push(l) : e[c] = [l];
1020
1020
  },
1021
- has: (s) => s in e,
1022
- get: (s) => e[s],
1023
- emit: (s, ...l) => s in e ? e[s].map((_) => _(...l)).filter(Boolean) : [],
1021
+ has: (c) => c in e,
1022
+ get: (c) => e[c],
1023
+ emit: (c, ...l) => c in e ? e[c].map((_) => _(...l)).filter(Boolean) : [],
1024
1024
  reset: () => e = {}
1025
1025
  };
1026
1026
  }, e_ = () => ({
@@ -1059,7 +1059,7 @@ const ue = (e, t, o) => Array.isArray(e) ? e.map((n, r) => {
1059
1059
  isNational: (n = e == null ? void 0 : e.is_national) != null ? n : null
1060
1060
  };
1061
1061
  if (t != null && t.markets) {
1062
- const r = t.markets.reduce((c, s) => (c[s] = m(e || {}, `markets.${s}`, r_()[s || "one_two"]), c), {});
1062
+ const r = t.markets.reduce((s, c) => (s[c] = m(e || {}, `markets.${c}`, r_()[c || "one_two"]), s), {});
1063
1063
  Oe(o, "markets", r);
1064
1064
  }
1065
1065
  return o;
@@ -1073,11 +1073,11 @@ function ne(e, ...t) {
1073
1073
  const m = (e, t, o) => {
1074
1074
  if (!t)
1075
1075
  return;
1076
- const r = (Array.isArray(t) ? t : t.match(/([^[.\]])+/g)).reduce((c, s) => c && c[s], e);
1076
+ const r = (Array.isArray(t) ? t : t.match(/([^[.\]])+/g)).reduce((s, c) => s && s[c], e);
1077
1077
  return r === void 0 ? o : r;
1078
1078
  }, Oe = (e, t, o) => {
1079
1079
  const n = Array.isArray(t) ? t : t.match(/([^[.\]])+/g);
1080
- return n.reduce((r, c, s) => (r[c] === void 0 && (r[c] = {}), s === n.length - 1 && (r[c] = o), r[c]), e);
1080
+ return n.reduce((r, s, c) => (r[s] === void 0 && (r[s] = {}), c === n.length - 1 && (r[s] = o), r[s]), e);
1081
1081
  }, l_ = (e) => {
1082
1082
  const t = e.slice(1);
1083
1083
  return t.length === 3 && (e = "#" + t.split("").map((o) => `${o}${o}`).join("")), e;
@@ -1088,7 +1088,7 @@ const m = (e, t, o) => {
1088
1088
  g: parseInt(o[2], 16),
1089
1089
  b: parseInt(o[3], 16)
1090
1090
  } : void 0;
1091
- }, Po = (...e) => e.map((t) => JSON.stringify(t)).every((t, o, n) => t === n[0]), zf = (e) => "id" in e && "root" in e, d_ = (e, t = 1) => e.replace(")", `, ${t})`).replace("rgb", "rgba"), Ho = (e, t, o) => ue(e, (n, r, c) => to(r) || Array.isArray(r) && r.every(to) ? o ? o(n, [r, m(t, c)], c) ? m(t, c, r) : r : m(t, c, r) : r), Df = (e, t) => {
1091
+ }, Po = (...e) => e.map((t) => JSON.stringify(t)).every((t, o, n) => t === n[0]), zf = (e) => "id" in e && "root" in e, d_ = (e, t = 1) => e.replace(")", `, ${t})`).replace("rgb", "rgba"), Ho = (e, t, o) => ue(e, (n, r, s) => to(r) || Array.isArray(r) && r.every(to) ? o ? o(n, [r, m(t, s)], s) ? m(t, s, r) : r : m(t, s, r) : r), Df = (e, t) => {
1092
1092
  try {
1093
1093
  ue(e, (o, n, r) => {
1094
1094
  if (t(o, n, r))
@@ -1104,10 +1104,10 @@ const m = (e, t, o) => {
1104
1104
  }
1105
1105
  }, Gf = (e, t) => {
1106
1106
  const o = [];
1107
- return ue(e, (n, r, c) => (t(n, r, c, o) && o.push({
1107
+ return ue(e, (n, r, s) => (t(n, r, s, o) && o.push({
1108
1108
  key: n,
1109
1109
  value: r,
1110
- path: c
1110
+ path: s
1111
1111
  }), r)), o;
1112
1112
  }, Ro = ["desktop", "laptop", "tablet", "mobile"], u_ = {
1113
1113
  mobile: 320,
@@ -1141,14 +1141,14 @@ const m = (e, t, o) => {
1141
1141
  wiggle: R_
1142
1142
  };
1143
1143
  var M_ = 0;
1144
- function a(e, t, o, n, r, c) {
1145
- var s, l, _ = {};
1144
+ function a(e, t, o, n, r, s) {
1145
+ var c, l, _ = {};
1146
1146
  for (l in t)
1147
- l == "ref" ? s = t[l] : _[l] = t[l];
1148
- var i = { type: e, props: _, key: o, ref: s, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --M_, __source: r, __self: c };
1149
- if (typeof e == "function" && (s = e.defaultProps))
1150
- for (l in s)
1151
- _[l] === void 0 && (_[l] = s[l]);
1147
+ l == "ref" ? c = t[l] : _[l] = t[l];
1148
+ var i = { type: e, props: _, key: o, ref: c, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --M_, __source: r, __self: s };
1149
+ if (typeof e == "function" && (c = e.defaultProps))
1150
+ for (l in c)
1151
+ _[l] === void 0 && (_[l] = c[l]);
1152
1152
  return h.vnode && h.vnode(i), i;
1153
1153
  }
1154
1154
  const Mo = Wo(), ce = ({
@@ -1157,13 +1157,13 @@ const Mo = Wo(), ce = ({
1157
1157
  }) => a(Mo.Provider, {
1158
1158
  value: t,
1159
1159
  children: e
1160
- }), ie = (e) => (s) => Ne(void 0, null, function* () {
1161
- var l = s, {
1160
+ }), ie = (e) => (c) => Ne(void 0, null, function* () {
1161
+ var l = c, {
1162
1162
  target: t,
1163
1163
  id: o,
1164
1164
  ref: n,
1165
1165
  state: r
1166
- } = l, c = Qe(l, [
1166
+ } = l, s = Qe(l, [
1167
1167
  "target",
1168
1168
  "id",
1169
1169
  "ref",
@@ -1178,7 +1178,7 @@ const Mo = Wo(), ce = ({
1178
1178
  children: Ko(e, f({
1179
1179
  ref: n,
1180
1180
  id: o
1181
- }, c))
1181
+ }, s))
1182
1182
  }), t);
1183
1183
  }), I = () => Yo(Mo), E_ = (e = {}) => typeof e == "object" && S(e) && Ro.every((t) => t in e), V_ = (e, t) => e && ue(e, (o, n) => {
1184
1184
  if (E_(n)) {
@@ -1192,17 +1192,17 @@ const Mo = Wo(), ce = ({
1192
1192
  parentKey: o = "device-container",
1193
1193
  breakpoints: n = u_
1194
1194
  }) => {
1195
- const [r, c] = oe("desktop"), s = (l) => {
1195
+ const [r, s] = oe("desktop"), c = (l) => {
1196
1196
  var p;
1197
1197
  const _ = l.getBoundingClientRect().width || 0, i = Object.entries(f({}, n)).sort(([u, g], [v, b]) => g - b), d = ((p = i.find(([u, g], v) => {
1198
1198
  const [b, $] = i[v + 1] || [];
1199
1199
  return _ >= g && _ < $;
1200
1200
  })) == null ? void 0 : p[0]) || "desktop";
1201
- c(d);
1201
+ s(d);
1202
1202
  };
1203
1203
  return co(() => {
1204
1204
  const l = t.current.closest(`[data-${o}='${e}']`) || document.body;
1205
- l && (new ResizeObserver(() => s(l)).observe(l), s(l));
1205
+ l && (new ResizeObserver(() => c(l)).observe(l), c(l));
1206
1206
  }, []), r;
1207
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;
@@ -1215,36 +1215,36 @@ const Mo = Wo(), ce = ({
1215
1215
  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]) => {
1216
1216
  D_.includes(n) && (r = qe(r, "px"));
1217
1217
  const {
1218
- key: c,
1219
- value: s
1218
+ key: s,
1219
+ value: c
1220
1220
  } = F_(n, r);
1221
- if (c_(s) && (o[c] = Eo(s)), o[c] = s, c === "hidden" && s)
1221
+ if (c_(c) && (o[s] = Eo(c)), o[s] = c, s === "hidden" && c)
1222
1222
  return o.display = "none", o;
1223
- if (c === "innerHTML" && (o.innerHTML = S(s) ? `${s}` : ""), c === "innerText" && (o.innerText = S(s) ? `${s}` : ""), c === "children" && (o.children = typeof s == "string" ? S(s) ? `${s}` : "" : s), c.includes("borderWidth") && (o.borderStyle = "solid"), c === "corner" && (o.borderRadius = qe(s, "px")), c === "backgroundFit" && (oo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."), o.backgroundSize = s, o.objectFit = s), c === "backgroundImage" && S(s) && (o.backgroundImage = `url(${s})`, o.backgroundRepeat = "no-repeat", o.imageSource = s, oo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")), c === "backgroundColorOpacity" && S(o.backgroundColorOpacity) && S(o.backgroundColor)) {
1223
+ if (s === "innerHTML" && (o.innerHTML = S(c) ? `${c}` : ""), s === "innerText" && (o.innerText = S(c) ? `${c}` : ""), s === "children" && (o.children = typeof c == "string" ? S(c) ? `${c}` : "" : c), s.includes("borderWidth") && (o.borderStyle = "solid"), s === "corner" && (o.borderRadius = qe(c, "px")), s === "backgroundFit" && (oo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."), o.backgroundSize = c, o.objectFit = c), s === "backgroundImage" && S(c) && (o.backgroundImage = `url(${c})`, o.backgroundRepeat = "no-repeat", o.imageSource = c, oo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")), s === "backgroundColorOpacity" && S(o.backgroundColorOpacity) && S(o.backgroundColor)) {
1224
1224
  const l = __(o.backgroundColor);
1225
1225
  l && (o.backgroundColor = d_(`rgb(${l.r}, ${l.g}, ${l.b})`, +o.backgroundColorOpacity / 100));
1226
1226
  }
1227
- return c === "fontFamily" && /auto/i.test(s) && (o.fontFamily = z_), c === "isBold" && (o.fontWeight = s ? "bold" : "initial"), c === "isItalic" && (o.fontStyle = s ? "italic" : "initial"), c === "isThrough" && (o.textDecoration = s ? "line-through" : "initial"), o;
1227
+ return s === "fontFamily" && /auto/i.test(c) && (o.fontFamily = z_), s === "isBold" && (o.fontWeight = c ? "bold" : "initial"), s === "isItalic" && (o.fontStyle = c ? "italic" : "initial"), s === "isThrough" && (o.textDecoration = c ? "line-through" : "initial"), o;
1228
1228
  }, e);
1229
1229
  }, G_ = (e) => typeof e == "object" && !Array.isArray(e) && "parent" in e, j = (e) => S(e) ? Object.entries(e).reduce((t, [o, n]) => (t[o] = G_(n) ? Eo(f({}, e[o])) : n, t), {}) : e, U_ = (e) => e in document.createElement("div").style || e.startsWith("--"), K = (r) => {
1230
- var c = r, {
1230
+ var s = r, {
1231
1231
  children: e,
1232
1232
  typography: t,
1233
1233
  accentTypography: o
1234
- } = c, n = Qe(c, [
1234
+ } = s, n = Qe(s, [
1235
1235
  "children",
1236
1236
  "typography",
1237
1237
  "accentTypography"
1238
1238
  ]);
1239
1239
  var _;
1240
- const s = je(() => {
1240
+ const c = je(() => {
1241
1241
  if (!o)
1242
1242
  return {};
1243
1243
  let i = "";
1244
1244
  return Object.entries(o).forEach(([d, p]) => {
1245
1245
  U_(d) && (i += `${i_(d)}: ${p}; `);
1246
1246
  }), i;
1247
- }, [o]), l = (_ = e == null ? void 0 : e.replace(/script|\n/g, "")) == null ? void 0 : _.replace(/{{(.*?)}}/g, `<span style="${s}">$1</span>`);
1247
+ }, [o]), l = (_ = e == null ? void 0 : e.replace(/script|\n/g, "")) == null ? void 0 : _.replace(/{{(.*?)}}/g, `<span style="${c}">$1</span>`);
1248
1248
  return a("div", y(f({}, n), {
1249
1249
  style: f(f({}, t), n.style || {}),
1250
1250
  dangerouslySetInnerHTML: {
@@ -1279,8 +1279,8 @@ const Mo = Wo(), ce = ({
1279
1279
  wiggle: `${e.wiggle} 2s linear infinite`,
1280
1280
  gradient: `${e.gradient} 3s ease infinite`
1281
1281
  }), Vo = (e, t) => {
1282
- var d, p, u, g, v, b, $, F, z, P, H, R, V;
1283
- const o = W_(t), n = j(e), r = (d = n == null ? void 0 : n.icon) == null ? void 0 : d.hasIcon, c = {
1282
+ var d, p, u, g, v, b, $, F, D, P, H, R, M;
1283
+ const o = W_(t), n = j(e), r = (d = n == null ? void 0 : n.icon) == null ? void 0 : d.hasIcon, s = {
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,
1286
1286
  borderTopWidth: (g = n == null ? void 0 : n.container) == null ? void 0 : g.borderWidth,
@@ -1289,18 +1289,18 @@ const Mo = Wo(), ce = ({
1289
1289
  borderLeftWidth: (b = n == null ? void 0 : n.container) == null ? void 0 : b.borderWidth,
1290
1290
  borderLeftColor: ($ = n == null ? void 0 : n.container) == null ? void 0 : $.borderColor,
1291
1291
  borderLeftStyle: "solid"
1292
- }, s = {
1292
+ }, c = {
1293
1293
  left: (F = n == null ? void 0 : n.container) == null ? void 0 : F.left
1294
- }, l = (((z = n == null ? void 0 : n.icon) == null ? void 0 : z.animations) || []).map((k) => o[k]).join(", "), _ = S((P = n == null ? void 0 : n.icon) == null ? void 0 : P.gradientColor) && ((H = n == null ? void 0 : n.icon) != null && H.animations.includes("gradient")) ? {
1295
- background: `linear-gradient(-90deg, ${(R = n.icon) == null ? void 0 : R.backgroundColor} 0%, ${(V = n == null ? void 0 : n.icon) == null ? void 0 : V.gradientColor} 100%) 0% 0% / 400% 400%`,
1294
+ }, l = (((D = n == null ? void 0 : n.icon) == null ? void 0 : D.animations) || []).map((k) => o[k]).join(", "), _ = S((P = n == null ? void 0 : n.icon) == null ? void 0 : P.gradientColor) && ((H = n == null ? void 0 : n.icon) != null && H.animations.includes("gradient")) ? {
1295
+ background: `linear-gradient(-90deg, ${(R = n.icon) == null ? void 0 : R.backgroundColor} 0%, ${(M = n == null ? void 0 : n.icon) == null ? void 0 : M.gradientColor} 100%) 0% 0% / 400% 400%`,
1296
1296
  backgroundSize: "400% 400%"
1297
1297
  } : n == null ? void 0 : n.icon, i = f(y(f({}, (n == null ? void 0 : n.icon) || {}), {
1298
1298
  animation: l
1299
1299
  }), _);
1300
1300
  return {
1301
1301
  hasIcon: r,
1302
- arrowRules: c,
1303
- bodyRules: s,
1302
+ arrowRules: s,
1303
+ bodyRules: c,
1304
1304
  iconRules: i
1305
1305
  };
1306
1306
  }, _e = (e) => {
@@ -1310,7 +1310,7 @@ const Mo = Wo(), ce = ({
1310
1310
  rel: "stylesheet",
1311
1311
  href: `https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`
1312
1312
  })), [t]);
1313
- E(() => {
1313
+ V(() => {
1314
1314
  o.forEach(Yl);
1315
1315
  }, [o]);
1316
1316
  }, X = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundSize", "backgroundRepeat"], Z_ = ["borderWidth", "borderColor", "borderStyle"], no = ["imageSource", "objectFit"], Fe = ["marginTop", "marginBottom", "marginLeft", "marginRight", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], K_ = ({
@@ -1319,24 +1319,24 @@ const Mo = Wo(), ce = ({
1319
1319
  autoOpenEmitter: o,
1320
1320
  closeEmitter: n,
1321
1321
  crossCloseEmitter: r,
1322
- disableAutoOpen: c
1322
+ disableAutoOpen: s
1323
1323
  }) => {
1324
- const [s, l] = oe(!1), _ = q(null), i = (u) => {
1324
+ const [c, l] = oe(!1), _ = q(null), i = (u) => {
1325
1325
  clearTimeout(_.current), _.current = null;
1326
1326
  }, d = () => {
1327
1327
  i(_.current), l((u) => (u && n && n(), !u));
1328
1328
  }, p = () => {
1329
1329
  d(), r && r();
1330
1330
  };
1331
- return E(() => {
1332
- if (!c)
1331
+ return V(() => {
1332
+ if (!s)
1333
1333
  return _.current = setTimeout(() => {
1334
1334
  l(!0), o && o();
1335
1335
  }, e || 1e3), () => i(_.current);
1336
- }, [e, c]), E(() => {
1337
- s && !_.current && t && t();
1338
- }, [s]), {
1339
- isOpen: s,
1336
+ }, [e, s]), V(() => {
1337
+ c && !_.current && t && t();
1338
+ }, [c]), {
1339
+ isOpen: c,
1340
1340
  toggle: d,
1341
1341
  onCrossClick: p
1342
1342
  };
@@ -1345,7 +1345,7 @@ const Mo = Wo(), ce = ({
1345
1345
  openDelay: t,
1346
1346
  disableAutoOpen: o
1347
1347
  }) => {
1348
- const n = q(Ie()), r = (u) => n.current.on("open", u), c = (u) => n.current.on("click", u), s = (u) => n.current.on("autoOpen", u), l = (u) => n.current.on("close", u), _ = (u) => n.current.on("crossClose", u), {
1348
+ const n = q(Ie()), r = (u) => n.current.on("open", u), s = (u) => n.current.on("click", u), c = (u) => n.current.on("autoOpen", u), l = (u) => n.current.on("close", u), _ = (u) => n.current.on("crossClose", u), {
1349
1349
  isOpen: i,
1350
1350
  toggle: d,
1351
1351
  onCrossClick: p
@@ -1361,11 +1361,11 @@ const Mo = Wo(), ce = ({
1361
1361
  toggle: d,
1362
1362
  onCrossClose: _,
1363
1363
  onOpen: r,
1364
- onClick: c,
1364
+ onClick: s,
1365
1365
  onClose: l,
1366
- onAutoOpen: s,
1366
+ onAutoOpen: c,
1367
1367
  resetListeners: n.current.reset
1368
- })), E(() => n.current.reset, []), {
1368
+ })), V(() => n.current.reset, []), {
1369
1369
  isOpen: i,
1370
1370
  toggle: d,
1371
1371
  onCrossClick: p,
@@ -1375,11 +1375,11 @@ const Mo = Wo(), ce = ({
1375
1375
  id: e,
1376
1376
  disableAutoOpen: t
1377
1377
  }, o) => {
1378
- var P, H, R, V, k, W, G, D, re;
1379
- const n = q(null), [r, c] = Xe(), s = I(), l = fe({
1378
+ var P, H, R, M, k, W, G, z, re;
1379
+ const n = q(null), [r, s] = Xe(), c = I(), l = fe({
1380
1380
  targetRef: n,
1381
1381
  id: e
1382
- }), _ = le(s, l), i = j(_), {
1382
+ }), _ = le(c, l), i = j(_), {
1383
1383
  hasIcon: d,
1384
1384
  iconRules: p,
1385
1385
  bodyRules: u,
@@ -1400,7 +1400,7 @@ const Mo = Wo(), ce = ({
1400
1400
  disableAutoOpen: t
1401
1401
  });
1402
1402
  _e(_);
1403
- const z = r ? te(i.container, ...Z_) : {};
1403
+ const D = r ? te(i.container, ...Z_) : {};
1404
1404
  return a("div", {
1405
1405
  className: A(x.root, {
1406
1406
  [x.legalOpen]: r
@@ -1444,7 +1444,7 @@ const Mo = Wo(), ce = ({
1444
1444
  className: x.text,
1445
1445
  style: i == null ? void 0 : i.text,
1446
1446
  typography: (R = i.text) == null ? void 0 : R.typography,
1447
- accentTypography: (V = i.text) == null ? void 0 : V.accentTypography,
1447
+ accentTypography: (M = i.text) == null ? void 0 : M.accentTypography,
1448
1448
  children: (k = i == null ? void 0 : i.text) == null ? void 0 : k.children
1449
1449
  })]
1450
1450
  }), a("div", {
@@ -1458,7 +1458,7 @@ const Mo = Wo(), ce = ({
1458
1458
  className: x.legalGap
1459
1459
  }), a("div", {
1460
1460
  className: x.legal,
1461
- style: f(f({}, i == null ? void 0 : i.legal), z),
1461
+ style: f(f({}, i == null ? void 0 : i.legal), D),
1462
1462
  children: a("span", {
1463
1463
  className: x.legalText,
1464
1464
  children: a("span", {
@@ -1466,8 +1466,8 @@ const Mo = Wo(), ce = ({
1466
1466
  children: (G = i == null ? void 0 : i.legal) == null ? void 0 : G.children
1467
1467
  }), a("span", {
1468
1468
  className: x.legalButton,
1469
- onClick: c,
1470
- children: r ? (D = i == null ? void 0 : i.legal) == null ? void 0 : D.buttonOpenText : (re = i == null ? void 0 : i.legal) == null ? void 0 : re.buttonHideText
1469
+ onClick: s,
1470
+ children: r ? (z = i == null ? void 0 : i.legal) == null ? void 0 : z.buttonOpenText : (re = i == null ? void 0 : i.legal) == null ? void 0 : re.buttonHideText
1471
1471
  })]
1472
1472
  })
1473
1473
  })
@@ -1511,7 +1511,7 @@ const Mo = Wo(), ce = ({
1511
1511
  }, Od = ({
1512
1512
  onClick: e
1513
1513
  }) => {
1514
- var n, r, c, s, l, _, i;
1514
+ var n, r, s, c, l, _, i;
1515
1515
  const t = I(), o = j(t);
1516
1516
  return a("a", {
1517
1517
  href: (n = o.root) == null ? void 0 : n.offer,
@@ -1536,8 +1536,8 @@ const Mo = Wo(), ce = ({
1536
1536
  className: J.text,
1537
1537
  style: o.text,
1538
1538
  children: a(K, {
1539
- typography: (c = o.text) == null ? void 0 : c.typography,
1540
- accentTypography: (s = o.text) == null ? void 0 : s.accentTypography,
1539
+ typography: (s = o.text) == null ? void 0 : s.typography,
1540
+ accentTypography: (c = o.text) == null ? void 0 : c.accentTypography,
1541
1541
  children: (l = o.text) == null ? void 0 : l.children
1542
1542
  })
1543
1543
  })]
@@ -1559,88 +1559,90 @@ const Mo = Wo(), ce = ({
1559
1559
  })]
1560
1560
  });
1561
1561
  }, Ld = se(({
1562
- id: e
1563
- }, t) => {
1564
- var z, P, H, R;
1565
- const o = q(null), n = I(), r = fe({
1566
- targetRef: o,
1562
+ id: e,
1563
+ disableAutoOpen: t
1564
+ }, o) => {
1565
+ var P, H, R, M;
1566
+ const n = q(null), r = I(), s = fe({
1567
+ targetRef: n,
1567
1568
  id: e
1568
- }), c = le(n, r), s = j(c), {
1569
- isOpen: l,
1570
- click: _,
1571
- toggle: i,
1572
- onCrossClick: d
1569
+ }), c = le(r, s), l = j(c), {
1570
+ isOpen: _,
1571
+ click: i,
1572
+ toggle: d,
1573
+ onCrossClick: p
1573
1574
  } = Bo({
1574
- ref: t,
1575
- openDelay: (z = c == null ? void 0 : c.container) == null ? void 0 : z.delay
1575
+ ref: o,
1576
+ openDelay: (P = c == null ? void 0 : c.container) == null ? void 0 : P.delay,
1577
+ disableAutoOpen: t
1576
1578
  });
1577
1579
  _e(c);
1578
1580
  const {
1579
- hasIcon: p,
1580
- iconRules: u,
1581
- bodyRules: g,
1582
- arrowRules: v
1581
+ hasIcon: u,
1582
+ iconRules: g,
1583
+ bodyRules: v,
1584
+ arrowRules: b
1583
1585
  } = Vo(c, {
1584
1586
  fade: C.fadein,
1585
1587
  pulse: C.pulse,
1586
1588
  wiggle: C.wiggle,
1587
1589
  gradient: C.gradient
1588
- }), b = (P = s == null ? void 0 : s.title) == null ? void 0 : P.hasIcon, $ = te(s == null ? void 0 : s.title, ...Fe), F = ne(s == null ? void 0 : s.title, ...Fe);
1590
+ }), $ = (H = l == null ? void 0 : l.title) == null ? void 0 : H.hasIcon, F = te(l == null ? void 0 : l.title, ...Fe), D = ne(l == null ? void 0 : l.title, ...Fe);
1589
1591
  return a("div", {
1590
- ref: o,
1592
+ ref: n,
1591
1593
  className: A(C.root, {
1592
- [C.desktop]: r === "desktop",
1593
- [C.laptop]: r === "laptop",
1594
- [C.tablet]: r === "tablet"
1594
+ [C.desktop]: s === "desktop",
1595
+ [C.laptop]: s === "laptop",
1596
+ [C.tablet]: s === "tablet"
1595
1597
  }),
1596
1598
  children: [a("div", {
1597
1599
  className: C.icon,
1598
- style: u,
1599
- onClick: i,
1600
- children: p && a("div", {
1600
+ style: g,
1601
+ onClick: d,
1602
+ children: u && a("div", {
1601
1603
  className: C.iconTarget,
1602
1604
  children: a(at, {})
1603
1605
  })
1604
1606
  }), a("div", {
1605
1607
  className: A(C.body, {
1606
- [C.bodyOpen]: l
1608
+ [C.bodyOpen]: _
1607
1609
  }),
1608
- style: g,
1610
+ style: v,
1609
1611
  children: [a("div", {
1610
1612
  className: C.arrow,
1611
- style: v
1613
+ style: b
1612
1614
  }), a("div", {
1613
1615
  className: C.container,
1614
- style: s.container,
1616
+ style: l.container,
1615
1617
  children: [a("div", {
1616
1618
  className: C.close,
1617
- style: s.close,
1618
- onClick: d,
1619
+ style: l.close,
1620
+ onClick: p,
1619
1621
  children: a(ke, {})
1620
1622
  }), a("div", {
1621
1623
  className: C.head,
1622
- style: $,
1623
- children: [b && a("div", {
1624
+ style: F,
1625
+ children: [$ && a("div", {
1624
1626
  className: C.headIcon,
1625
- style: te(s.title, "color"),
1627
+ style: te(l.title, "color"),
1626
1628
  children: a(at, {})
1627
1629
  }), a("div", {
1628
1630
  className: C.headTitle,
1629
- style: F,
1630
- children: (H = s.title) == null ? void 0 : H.children
1631
+ style: D,
1632
+ children: (R = l.title) == null ? void 0 : R.children
1631
1633
  })]
1632
1634
  }), a("div", {
1633
1635
  className: C.inner,
1634
- children: (s.children || []).map((V) => a(ce, {
1635
- value: V,
1636
+ children: (l.children || []).map((k) => a(ce, {
1637
+ value: k,
1636
1638
  children: a(Od, {
1637
- onClick: _
1639
+ onClick: i
1638
1640
  })
1639
1641
  }))
1640
1642
  }), a("div", {
1641
1643
  className: C.promotion,
1642
- style: s.promotion,
1643
- children: (R = s.promotion) == null ? void 0 : R.children
1644
+ style: l.promotion,
1645
+ children: (M = l.promotion) == null ? void 0 : M.children
1644
1646
  })]
1645
1647
  })]
1646
1648
  })]
@@ -1678,12 +1680,12 @@ const Mo = Wo(), ce = ({
1678
1680
  })
1679
1681
  });
1680
1682
  }, dt = (e, t = 0, o = !1) => {
1681
- const n = q(Ie()), [r, c] = oe(!1), [s, l] = oe(), [_, i] = oe(o), d = ($) => n.current.on("visible", $), p = ($) => n.current.on("click", $), u = ($) => n.current.on("clickHide", $), g = () => Ne(void 0, null, function* () {
1682
- yield a_(+t), c(!0);
1683
- }), v = () => c(!1), b = () => {
1683
+ const n = q(Ie()), [r, s] = oe(!1), [c, l] = oe(), [_, i] = oe(o), d = ($) => n.current.on("visible", $), p = ($) => n.current.on("click", $), u = ($) => n.current.on("clickHide", $), g = () => Ne(void 0, null, function* () {
1684
+ yield a_(+t), s(!0);
1685
+ }), v = () => s(!1), b = () => {
1684
1686
  n.current.emit("clickHide"), v();
1685
1687
  };
1686
- return E(() => {
1688
+ return V(() => {
1687
1689
  _ && n.current.emit("visible", r);
1688
1690
  }, [r, _]), Ae(e, () => ({
1689
1691
  onVisible: d,
@@ -1693,10 +1695,10 @@ const Mo = Wo(), ce = ({
1693
1695
  hide: v,
1694
1696
  setApiHost: l,
1695
1697
  resetListeners: n.current.reset
1696
- })), E(() => n.current.reset, []), {
1698
+ })), V(() => n.current.reset, []), {
1697
1699
  isReady: _,
1698
1700
  isOpen: r,
1699
- apiHost: s,
1701
+ apiHost: c,
1700
1702
  show: g,
1701
1703
  hide: v,
1702
1704
  clickHide: b,
@@ -1713,11 +1715,11 @@ const Wd = se(({
1713
1715
  id: e,
1714
1716
  className: t
1715
1717
  }, o) => {
1716
- var H, R, V, k, W, G;
1717
- const n = q(null), r = q(null), c = fe({
1718
+ var H, R, M, k, W, G;
1719
+ const n = q(null), r = q(null), s = fe({
1718
1720
  targetRef: n,
1719
1721
  id: e
1720
- }), s = I(), l = le(s, c);
1722
+ }), c = I(), l = le(c, s);
1721
1723
  _e(l), Oe(l, "button.percent_width", (H = l == null ? void 0 : l.button) == null ? void 0 : H.width), Oe(l, "legal.percent_width", (R = l == null ? void 0 : l.legal) == null ? void 0 : R.width);
1722
1724
  const _ = j(l), i = m(_, "root.delay", 0), {
1723
1725
  isOpen: d,
@@ -1726,31 +1728,31 @@ const Wd = se(({
1726
1728
  clickHide: g,
1727
1729
  click: v
1728
1730
  } = dt(o, i);
1729
- E(() => {
1730
- const D = r.current;
1731
- if (!D)
1731
+ V(() => {
1732
+ const z = r.current;
1733
+ if (!z)
1732
1734
  return;
1733
- if (Ud(D)) {
1735
+ if (Ud(z)) {
1734
1736
  u(!0);
1735
1737
  return;
1736
1738
  }
1737
1739
  const re = () => u(!0);
1738
- return D.addEventListener("load", re), () => {
1739
- D.removeEventListener("load", re);
1740
+ return z.addEventListener("load", re), () => {
1741
+ z.removeEventListener("load", re);
1740
1742
  };
1741
1743
  }, [_]);
1742
1744
  const b = {
1743
- alignItems: de((V = _.root) == null ? void 0 : V.align)
1745
+ alignItems: de((M = _.root) == null ? void 0 : M.align)
1744
1746
  }, $ = y(f({}, _ == null ? void 0 : _.button), {
1745
1747
  justifyContent: de((k = _.root) == null ? void 0 : k.textAlign)
1746
1748
  }), F = y(f({}, _ == null ? void 0 : _.legal), {
1747
1749
  justifyContent: de((W = _.root) == null ? void 0 : W.textAlign)
1748
- }), z = ne(_.root, ...no, ...X), P = te(_.root, ...no);
1750
+ }), D = ne(_.root, ...no, ...X), P = te(_.root, ...no);
1749
1751
  return a("div", {
1750
1752
  className: A(U.root, t, {
1751
- [U.desktop]: c === "desktop",
1752
- [U.tablet]: c === "tablet",
1753
- [U.laptop]: c === "laptop"
1753
+ [U.desktop]: s === "desktop",
1754
+ [U.tablet]: s === "tablet",
1755
+ [U.laptop]: s === "laptop"
1754
1756
  }),
1755
1757
  ref: n,
1756
1758
  style: {
@@ -1772,7 +1774,7 @@ const Wd = se(({
1772
1774
  target: "_blank",
1773
1775
  rel: "nofollow noopener noreferrer",
1774
1776
  className: U.content,
1775
- style: z,
1777
+ style: D,
1776
1778
  onClick: () => v(_.id),
1777
1779
  children: [a("img", {
1778
1780
  ref: r,
@@ -1788,8 +1790,8 @@ const Wd = se(({
1788
1790
  style: _.logo
1789
1791
  }), a("div", {
1790
1792
  className: U.text,
1791
- children: ((_ == null ? void 0 : _.children) || []).map((D) => a(ce, {
1792
- value: D,
1793
+ children: ((_ == null ? void 0 : _.children) || []).map((z) => a(ce, {
1794
+ value: z,
1793
1795
  children: a(Gd, {})
1794
1796
  }))
1795
1797
  }), a("div", {
@@ -1829,10 +1831,10 @@ const Wd = se(({
1829
1831
  }, pu = ({
1830
1832
  onClick: e
1831
1833
  }) => {
1832
- var c, s, l, _, i, d;
1834
+ var s, c, l, _, i, d;
1833
1835
  const t = I(), o = j(t), n = (t == null ? void 0 : t.device) || "desktop", r = te(o.header, ...X);
1834
1836
  return a("a", {
1835
- href: (c = o.root) == null ? void 0 : c.offer,
1837
+ href: (s = o.root) == null ? void 0 : s.offer,
1836
1838
  target: "_blank",
1837
1839
  rel: "nofollow noopener noreferrer",
1838
1840
  className: A(Z.root, {
@@ -1863,7 +1865,7 @@ const Wd = se(({
1863
1865
  }), a(K, {
1864
1866
  className: Z.text,
1865
1867
  style: o.text,
1866
- typography: (s = o.text) == null ? void 0 : s.typography,
1868
+ typography: (c = o.text) == null ? void 0 : c.typography,
1867
1869
  accentTypography: (l = o.text) == null ? void 0 : l.accentTypography,
1868
1870
  children: (_ = o.text) == null ? void 0 : _.children
1869
1871
  })]
@@ -1887,9 +1889,9 @@ const Wd = se(({
1887
1889
  const o = q(null), n = fe({
1888
1890
  targetRef: o,
1889
1891
  id: e
1890
- }), r = I(), c = le(r, n), s = j(c);
1891
- _e(c);
1892
- const l = m(s, "root.delay", 0), {
1892
+ }), r = I(), s = le(r, n), c = j(s);
1893
+ _e(s);
1894
+ const l = m(c, "root.delay", 0), {
1893
1895
  isOpen: _,
1894
1896
  clickHide: i,
1895
1897
  click: d
@@ -1901,7 +1903,7 @@ const Wd = se(({
1901
1903
  },
1902
1904
  children: [a("div", {
1903
1905
  className: ae.overlay,
1904
- style: s.overlay,
1906
+ style: c.overlay,
1905
1907
  onClick: i
1906
1908
  }), a("div", {
1907
1909
  ref: o,
@@ -1909,19 +1911,19 @@ const Wd = se(({
1909
1911
  [ae.desktop]: n === "desktop",
1910
1912
  [ae.laptop]: n === "laptop"
1911
1913
  }),
1912
- style: s.root,
1914
+ style: c.root,
1913
1915
  children: [a("div", {
1914
1916
  className: ae.close,
1915
- style: Je(s.close),
1917
+ style: Je(c.close),
1916
1918
  onClick: i,
1917
1919
  children: a(ke, {})
1918
1920
  }), a(K, {
1919
1921
  className: ae.title,
1920
- style: s.title,
1921
- children: (p = s.title) == null ? void 0 : p.children
1922
+ style: c.title,
1923
+ children: (p = c.title) == null ? void 0 : p.children
1922
1924
  }), a("div", {
1923
1925
  className: ae.wrapper,
1924
- children: (s.children || []).map((u) => a(ce, {
1926
+ children: (c.children || []).map((u) => a(ce, {
1925
1927
  value: y(f({}, u), {
1926
1928
  device: n
1927
1929
  }),
@@ -1932,7 +1934,7 @@ const Wd = se(({
1932
1934
  })]
1933
1935
  })]
1934
1936
  });
1935
- }), Kf = ie(a(fu, {})), gu = "_root_1xp54_1", hu = "_content_1xp54_11", mu = "_close_1xp54_19", vu = "_overlay_1xp54_32", yu = "_body_1xp54_38", bu = "_desktop_1xp54_46", $u = "_laptop_1xp54_46", ku = "_tablet_1xp54_50", Nu = "_head_1xp54_55", wu = "_title_1xp54_65", xu = "_logo_1xp54_78", Cu = "_wrapper_1xp54_85", Tu = "_text_1xp54_92", Ou = "_button_1xp54_100", Lu = "_buttonHead_1xp54_115", Au = "_buttonTarget_1xp54_132", ju = "_legal_1xp54_146", M = {
1937
+ }), Kf = ie(a(fu, {})), gu = "_root_1xp54_1", hu = "_content_1xp54_11", mu = "_close_1xp54_19", vu = "_overlay_1xp54_32", yu = "_body_1xp54_38", bu = "_desktop_1xp54_46", $u = "_laptop_1xp54_46", ku = "_tablet_1xp54_50", Nu = "_head_1xp54_55", wu = "_title_1xp54_65", xu = "_logo_1xp54_78", Cu = "_wrapper_1xp54_85", Tu = "_text_1xp54_92", Ou = "_button_1xp54_100", Lu = "_buttonHead_1xp54_115", Au = "_buttonTarget_1xp54_132", ju = "_legal_1xp54_146", E = {
1936
1938
  root: gu,
1937
1939
  content: hu,
1938
1940
  close: mu,
@@ -2047,7 +2049,7 @@ const Wd = se(({
2047
2049
  method: n,
2048
2050
  body: r
2049
2051
  }) => {
2050
- const [c, s] = oe(), l = je(() => {
2052
+ const [s, c] = oe(), l = je(() => {
2051
2053
  let i = e;
2052
2054
  if (o) {
2053
2055
  const d = new URLSearchParams(i);
@@ -2066,18 +2068,18 @@ const Wd = se(({
2066
2068
  "Content-Type": "application/json"
2067
2069
  }
2068
2070
  }).then((d) => d.json());
2069
- s(i.data);
2071
+ c(i.data);
2070
2072
  }), [l, t, n, r]);
2071
- return E(() => {
2073
+ return V(() => {
2072
2074
  t || _();
2073
2075
  }, [l, t]), {
2074
- data: c,
2076
+ data: s,
2075
2077
  execute: _
2076
2078
  };
2077
2079
  };
2078
2080
  function Fo(e) {
2079
2081
  const t = q();
2080
- return E(() => {
2082
+ return V(() => {
2081
2083
  t.current = e;
2082
2084
  }, [e]), t.current;
2083
2085
  }
@@ -2085,8 +2087,8 @@ const Zu = (e, t) => {
2085
2087
  const o = (i) => {
2086
2088
  var d;
2087
2089
  return S(i == null ? void 0 : i.matchSlug) && ((d = i == null ? void 0 : i.matchSlug) == null ? void 0 : d.length) > 0;
2088
- }, n = e.children || [], r = n.filter((i) => o(i.root.targetMatch)).map((i) => i.root.targetMatch), c = Fo(r), {
2089
- data: s,
2090
+ }, n = e.children || [], r = n.filter((i) => o(i.root.targetMatch)).map((i) => i.root.targetMatch), s = Fo(r), {
2091
+ data: c,
2090
2092
  execute: l
2091
2093
  } = qo(`${t}/match-list`, {
2092
2094
  method: "POST",
@@ -2102,10 +2104,10 @@ const Zu = (e, t) => {
2102
2104
  },
2103
2105
  pause: !t || r.length === 0
2104
2106
  });
2105
- return E(() => {
2106
- Po(c, r) || l();
2107
+ return V(() => {
2108
+ Po(s, r) || l();
2107
2109
  }, [r]), n.map((i) => {
2108
- const d = (s || []).find((g) => g.slug === i.root.targetMatch.matchSlug);
2110
+ const d = (c || []).find((g) => g.slug === i.root.targetMatch.matchSlug);
2109
2111
  if (!d)
2110
2112
  return;
2111
2113
  const p = Io(d), u = Ho(p, i.root.customMatch, (g, [v, b]) => S(b));
@@ -2116,72 +2118,72 @@ const Zu = (e, t) => {
2116
2118
  }, Ku = se(({
2117
2119
  id: e
2118
2120
  }, t) => {
2119
- var z, P, H, R, V, k, W, G, D, re, ut, pt, ft;
2121
+ var D, P, H, R, M, k, W, G, z, re, ut, pt, ft;
2120
2122
  const o = q(null), n = fe({
2121
2123
  targetRef: o,
2122
2124
  id: e
2123
- }), r = I(), c = le(r, n);
2124
- Oe(c, "buttonWrapper.percent_width", (z = c == null ? void 0 : c.buttonWrapper) == null ? void 0 : z.width), Oe(c, "legal.percent_width", (P = c == null ? void 0 : c.legal) == null ? void 0 : P.width);
2125
- const s = j(c);
2126
- _e(c);
2127
- const l = m(s, "root.delay", 0), {
2125
+ }), r = I(), s = le(r, n);
2126
+ Oe(s, "buttonWrapper.percent_width", (D = s == null ? void 0 : s.buttonWrapper) == null ? void 0 : D.width), Oe(s, "legal.percent_width", (P = s == null ? void 0 : s.legal) == null ? void 0 : P.width);
2127
+ const c = j(s);
2128
+ _e(s);
2129
+ const l = m(c, "root.delay", 0), {
2128
2130
  isOpen: _,
2129
2131
  apiHost: i,
2130
2132
  clickHide: d,
2131
2133
  click: p
2132
- } = dt(t, l, !0), u = Zu(c, i), g = y(f({}, s.root), {
2133
- alignItems: de((H = s.root) == null ? void 0 : H.align)
2134
- }), v = y(f({}, s.content), {
2135
- alignItems: de((R = s.root) == null ? void 0 : R.align)
2136
- }), b = y(f({}, s.text), {
2137
- textAlign: (V = s.root) == null ? void 0 : V.align
2138
- }), $ = y(f({}, s == null ? void 0 : s.button), {
2139
- justifyContent: de((k = s.root) == null ? void 0 : k.textAlign)
2140
- }), F = y(f({}, s == null ? void 0 : s.legal), {
2141
- justifyContent: de((W = s.root) == null ? void 0 : W.textAlign)
2134
+ } = dt(t, l, !0), u = Zu(s, i), g = y(f({}, c.root), {
2135
+ alignItems: de((H = c.root) == null ? void 0 : H.align)
2136
+ }), v = y(f({}, c.content), {
2137
+ alignItems: de((R = c.root) == null ? void 0 : R.align)
2138
+ }), b = y(f({}, c.text), {
2139
+ textAlign: (M = c.root) == null ? void 0 : M.align
2140
+ }), $ = y(f({}, c == null ? void 0 : c.button), {
2141
+ justifyContent: de((k = c.root) == null ? void 0 : k.textAlign)
2142
+ }), F = y(f({}, c == null ? void 0 : c.legal), {
2143
+ justifyContent: de((W = c.root) == null ? void 0 : W.textAlign)
2142
2144
  });
2143
2145
  return a("div", {
2144
- className: A(M.root, {
2145
- [M.desktop]: n === "desktop",
2146
- [M.laptop]: n === "laptop",
2147
- [M.tablet]: n === "tablet"
2146
+ className: A(E.root, {
2147
+ [E.desktop]: n === "desktop",
2148
+ [E.laptop]: n === "laptop",
2149
+ [E.tablet]: n === "tablet"
2148
2150
  }),
2149
2151
  ref: o,
2150
2152
  style: {
2151
2153
  display: _ ? "flex" : "none"
2152
2154
  },
2153
2155
  children: [a("div", {
2154
- className: M.overlay,
2155
- style: s.overlay,
2156
+ className: E.overlay,
2157
+ style: c.overlay,
2156
2158
  onClick: d
2157
2159
  }), a("div", {
2158
- className: M.content,
2160
+ className: E.content,
2159
2161
  children: [a("div", {
2160
- className: M.close,
2161
- style: Je(s.close),
2162
+ className: E.close,
2163
+ style: Je(c.close),
2162
2164
  onClick: d,
2163
2165
  children: a(ke, {})
2164
2166
  }), a("a", {
2165
2167
  ref: o,
2166
- href: (G = s.root) == null ? void 0 : G.offer,
2168
+ href: (G = c.root) == null ? void 0 : G.offer,
2167
2169
  target: "_blank",
2168
2170
  rel: "nofollow noopener noreferrer",
2169
- onClick: () => p(s.id),
2171
+ onClick: () => p(c.id),
2170
2172
  children: a("div", {
2171
- className: M.body,
2173
+ className: E.body,
2172
2174
  style: g,
2173
2175
  children: [a("div", {
2174
- className: M.head,
2176
+ className: E.head,
2175
2177
  children: [a("div", {
2176
- className: M.title,
2177
- style: s.title,
2178
- children: (D = s.title) == null ? void 0 : D.children
2178
+ className: E.title,
2179
+ style: c.title,
2180
+ children: (z = c.title) == null ? void 0 : z.children
2179
2181
  }), a("div", {
2180
- className: M.logo,
2181
- style: s.logo
2182
+ className: E.logo,
2183
+ style: c.logo
2182
2184
  })]
2183
2185
  }), a("div", {
2184
- className: M.wrapper,
2186
+ className: E.wrapper,
2185
2187
  style: v,
2186
2188
  children: (u || []).map((zo) => a(ce, {
2187
2189
  value: y(f({}, zo), {
@@ -2190,27 +2192,27 @@ const Zu = (e, t) => {
2190
2192
  children: a(Wu, {})
2191
2193
  }))
2192
2194
  }), a(K, {
2193
- className: M.text,
2195
+ className: E.text,
2194
2196
  style: b,
2195
2197
  typography: b.typography,
2196
2198
  accentTypography: b.accentTypography,
2197
- children: (re = s.text) == null ? void 0 : re.children
2199
+ children: (re = c.text) == null ? void 0 : re.children
2198
2200
  }), a("div", {
2199
- className: M.button,
2200
- style: s.buttonWrapper,
2201
+ className: E.button,
2202
+ style: c.buttonWrapper,
2201
2203
  children: [a("div", {
2202
- className: M.buttonHead,
2203
- style: s.buttonHead,
2204
- children: (ut = s.buttonHead) == null ? void 0 : ut.children
2204
+ className: E.buttonHead,
2205
+ style: c.buttonHead,
2206
+ children: (ut = c.buttonHead) == null ? void 0 : ut.children
2205
2207
  }), a("div", {
2206
- className: M.buttonTarget,
2208
+ className: E.buttonTarget,
2207
2209
  style: $,
2208
- children: (pt = s.button) == null ? void 0 : pt.children
2210
+ children: (pt = c.button) == null ? void 0 : pt.children
2209
2211
  })]
2210
2212
  }), a(K, {
2211
- className: M.legal,
2213
+ className: E.legal,
2212
2214
  style: F,
2213
- children: (ft = s.legal) == null ? void 0 : ft.children
2215
+ children: (ft = c.legal) == null ? void 0 : ft.children
2214
2216
  })]
2215
2217
  })
2216
2218
  })]
@@ -2231,7 +2233,7 @@ const Zu = (e, t) => {
2231
2233
  }, cp = ({
2232
2234
  onClick: e
2233
2235
  }) => {
2234
- var c, s, l, _, i, d, p, u;
2236
+ var s, c, l, _, i, d, p, u;
2235
2237
  const t = I(), o = j(t), [n, r] = Xe();
2236
2238
  return a("div", {
2237
2239
  className: Q.root,
@@ -2240,7 +2242,7 @@ const Zu = (e, t) => {
2240
2242
  className: Q.background,
2241
2243
  style: te(o.root, ...X)
2242
2244
  }), a("a", {
2243
- href: (c = o.root) == null ? void 0 : c.offer,
2245
+ href: (s = o.root) == null ? void 0 : s.offer,
2244
2246
  target: "_blank",
2245
2247
  rel: "nofollow noopener noreferrer",
2246
2248
  className: Q.body,
@@ -2249,7 +2251,7 @@ const Zu = (e, t) => {
2249
2251
  children: [a("div", {
2250
2252
  className: Q.rowFirst,
2251
2253
  style: o.rowFirst,
2252
- children: (s = o.rowFirst) == null ? void 0 : s.children
2254
+ children: (c = o.rowFirst) == null ? void 0 : c.children
2253
2255
  }), a("div", {
2254
2256
  className: Q.rowSecond,
2255
2257
  style: o.rowSecond,
@@ -2288,19 +2290,19 @@ const Zu = (e, t) => {
2288
2290
  promoId: "ContentCards",
2289
2291
  onClick: o,
2290
2292
  resetListeners: t.current.reset
2291
- })), E(() => t.current.reset, []), {
2293
+ })), V(() => t.current.reset, []), {
2292
2294
  click: (...n) => t.current.emit("click", ...n),
2293
2295
  onClick: o
2294
2296
  };
2295
2297
  }, lp = se((e, t) => {
2296
- const o = q(null), n = I(), c = le(n, "mobile"), s = j(c);
2297
- _e(c);
2298
+ const o = q(null), n = I(), s = le(n, "mobile"), c = j(s);
2299
+ _e(s);
2298
2300
  const {
2299
2301
  click: l
2300
2302
  } = ip(t);
2301
2303
  return a("div", {
2302
2304
  ref: o,
2303
- children: ((s == null ? void 0 : s.children) || []).map((_) => a(ce, {
2305
+ children: ((c == null ? void 0 : c.children) || []).map((_) => a(ce, {
2304
2306
  value: _,
2305
2307
  children: a(cp, {
2306
2308
  onClick: l
@@ -2365,10 +2367,10 @@ const Zu = (e, t) => {
2365
2367
  oddValue: Dp
2366
2368
  }, ze = (e, t, o = 1, n = !1) => {
2367
2369
  var l;
2368
- const [r, c] = [t[0], t[1] || t[0]].map((_) => _ * o), s = `w${r}-h${c}${n ? "-c" : ""}`;
2369
- return (l = e == null ? void 0 : e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/, `$1${s}$2`)) != null ? l : e;
2370
+ const [r, s] = [t[0], t[1] || t[0]].map((_) => _ * o), c = `w${r}-h${s}${n ? "-c" : ""}`;
2371
+ return (l = e == null ? void 0 : e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/, `$1${c}$2`)) != null ? l : e;
2370
2372
  }, Gp = () => {
2371
- var c, s;
2373
+ var s, c;
2372
2374
  const e = I(), t = j(e), o = ne(t.root, ...X), n = y(f({}, t.teamLogo), {
2373
2375
  backgroundImage: ze(m(t, "match.teams[0].logo"), [120, 120]),
2374
2376
  backgroundColor: "transparent"
@@ -2388,11 +2390,11 @@ const Zu = (e, t) => {
2388
2390
  children: [a("div", {
2389
2391
  className: L.titleLabel,
2390
2392
  style: t.titleLabel,
2391
- children: (c = t.titleLabel) == null ? void 0 : c.children
2393
+ children: (s = t.titleLabel) == null ? void 0 : s.children
2392
2394
  }), a("div", {
2393
2395
  className: L.titleValue,
2394
2396
  style: t.titleValue,
2395
- children: (s = t.titleValue) == null ? void 0 : s.children
2397
+ children: (c = t.titleValue) == null ? void 0 : c.children
2396
2398
  })]
2397
2399
  }), a("div", {
2398
2400
  className: L.odds,
@@ -2457,7 +2459,7 @@ const Zu = (e, t) => {
2457
2459
  teamName: of,
2458
2460
  teamValue: nf
2459
2461
  }, rf = () => {
2460
- var r, c;
2462
+ var r, s;
2461
2463
  const e = I(), t = j(e), o = y(f(f({}, te(t.root, ...X)), t.teamLogo), {
2462
2464
  backgroundColor: "transparent",
2463
2465
  backgroundImage: ze(m(t, "match.teams[0].logo"), [120, 120])
@@ -2482,7 +2484,7 @@ const Zu = (e, t) => {
2482
2484
  }), a("div", {
2483
2485
  className: B.titleValue,
2484
2486
  style: t.titleValue,
2485
- children: (c = t.titleValue) == null ? void 0 : c.children
2487
+ children: (s = t.titleValue) == null ? void 0 : s.children
2486
2488
  })]
2487
2489
  }), a("div", {
2488
2490
  children: [a("div", {
@@ -2519,9 +2521,9 @@ const Zu = (e, t) => {
2519
2521
  })]
2520
2522
  });
2521
2523
  }, af = (e = []) => {
2522
- var c;
2523
- const t = e.length, [o, n] = oe(0), r = (c = e[o || 0]) == null ? void 0 : c.animationDuration;
2524
- return E(() => {
2524
+ var s;
2525
+ const t = e.length, [o, n] = oe(0), r = (s = e[o || 0]) == null ? void 0 : s.animationDuration;
2526
+ return V(() => {
2525
2527
  const l = setTimeout(() => {
2526
2528
  n((_) => _ + 1 < t ? _ + 1 : 0);
2527
2529
  }, r);
@@ -2536,8 +2538,8 @@ const Zu = (e, t) => {
2536
2538
  return S(i == null ? void 0 : i.matchSlug) && ((d = i == null ? void 0 : i.matchSlug) == null ? void 0 : d.length) > 0;
2537
2539
  }, n = (e == null ? void 0 : e.children) || [], r = n.filter((i) => o(i.root.targetMatch)).map((i) => y(f({}, i.root.targetMatch), {
2538
2540
  markets: ao(i.name)
2539
- })), c = Fo(r), {
2540
- data: s,
2541
+ })), s = Fo(r), {
2542
+ data: c,
2541
2543
  execute: l
2542
2544
  } = qo(`${t}/match-list`, {
2543
2545
  method: "POST",
@@ -2553,11 +2555,11 @@ const Zu = (e, t) => {
2553
2555
  },
2554
2556
  pause: !t || r.length === 0
2555
2557
  });
2556
- return E(() => {
2557
- Po(c, r) || l();
2558
+ return V(() => {
2559
+ Po(s, r) || l();
2558
2560
  }, [r]), n.map((i) => {
2559
2561
  if ("targetMatch" in i.root) {
2560
- const d = (s || []).find((v) => v.slug === i.root.targetMatch.matchSlug);
2562
+ const d = (c || []).find((v) => v.slug === i.root.targetMatch.matchSlug);
2561
2563
  if (!d)
2562
2564
  return;
2563
2565
  const p = ao(i.name), u = Io(d, {
@@ -2570,22 +2572,22 @@ const Zu = (e, t) => {
2570
2572
  return i;
2571
2573
  }).filter(Boolean);
2572
2574
  }, lf = (e) => {
2573
- const t = q(Ie()), [o, n] = oe(!1), [r, c] = oe(), s = (u) => t.current.on("visible", u), l = (u) => t.current.on("click", u), _ = (u) => t.current.on("clickHide", u), i = () => Ne(void 0, null, function* () {
2575
+ const t = q(Ie()), [o, n] = oe(!1), [r, s] = oe(), c = (u) => t.current.on("visible", u), l = (u) => t.current.on("click", u), _ = (u) => t.current.on("clickHide", u), i = () => Ne(void 0, null, function* () {
2574
2576
  n(!0);
2575
2577
  }), d = () => n(!1), p = () => {
2576
2578
  t.current.emit("clickHide"), d();
2577
2579
  };
2578
- return E(() => {
2580
+ return V(() => {
2579
2581
  t.current.emit("visible", o);
2580
2582
  }, [o]), Ae(e, () => ({
2581
- onVisible: s,
2583
+ onVisible: c,
2582
2584
  onClick: l,
2583
2585
  onClickHide: _,
2584
2586
  show: i,
2585
2587
  hide: d,
2586
- setApiHost: c,
2588
+ setApiHost: s,
2587
2589
  resetListeners: t.current.reset
2588
- })), E(() => t.current.reset, []), {
2590
+ })), V(() => t.current.reset, []), {
2589
2591
  isOpen: o,
2590
2592
  apiHost: r,
2591
2593
  show: i,
@@ -2598,18 +2600,18 @@ const Zu = (e, t) => {
2598
2600
  }, _f = 3700, df = se(({
2599
2601
  id: e
2600
2602
  }, t) => {
2601
- var z, P, H, R, V;
2603
+ var D, P, H, R, M;
2602
2604
  const o = q(null), n = I(), r = fe({
2603
2605
  id: e,
2604
2606
  targetRef: o
2605
- }), c = le(n, r), s = j(c);
2606
- _e(c);
2607
+ }), s = le(n, r), c = j(s);
2608
+ _e(s);
2607
2609
  const {
2608
2610
  apiHost: l,
2609
2611
  isOpen: _,
2610
2612
  click: i,
2611
2613
  clickHide: d
2612
- } = lf(t), p = cf(s, l), u = (k) => ({
2614
+ } = lf(t), p = cf(c, l), u = (k) => ({
2613
2615
  text: a(Ap, {}),
2614
2616
  matches: a(Gp, {}),
2615
2617
  matchesOneTwo: a(rf, {})
@@ -2619,25 +2621,25 @@ const Zu = (e, t) => {
2619
2621
  animationName: (W = k == null ? void 0 : k.root) == null ? void 0 : W.animationName,
2620
2622
  animationDuration: ((G = k == null ? void 0 : k.root) == null ? void 0 : G.animationDuration) || _f
2621
2623
  });
2622
- }), v = af(g), b = j(g[v] || {}), $ = ne(s.root, ...X), F = (z = b == null ? void 0 : b.root) != null && z.hasCustomBackground ? te((b == null ? void 0 : b.root) || {}, ...X) : te(s.root, ...X);
2624
+ }), v = af(g), b = j(g[v] || {}), $ = ne(c.root, ...X), F = (D = b == null ? void 0 : b.root) != null && D.hasCustomBackground ? te((b == null ? void 0 : b.root) || {}, ...X) : te(c.root, ...X);
2623
2625
  return a("div", {
2624
2626
  ref: o,
2625
2627
  className: A(O.root, {
2626
2628
  [O.desktop]: r === "desktop",
2627
2629
  [O.laptop]: r === "laptop",
2628
2630
  [O.tablet]: r === "tablet",
2629
- [O.variant2]: ((P = s.root) == null ? void 0 : P.variant) === "variant2"
2631
+ [O.variant2]: ((P = c.root) == null ? void 0 : P.variant) === "variant2"
2630
2632
  }),
2631
2633
  style: y(f({}, $), {
2632
2634
  display: _ ? "block" : "none"
2633
2635
  }),
2634
2636
  children: [a("div", {
2635
2637
  className: O.close,
2636
- style: s.close,
2638
+ style: c.close,
2637
2639
  onClick: d,
2638
2640
  children: a(ke, {})
2639
2641
  }), a("a", {
2640
- href: (H = s.root) == null ? void 0 : H.offer,
2642
+ href: (H = c.root) == null ? void 0 : H.offer,
2641
2643
  target: "_blank",
2642
2644
  rel: "nofollow noopener noreferrer",
2643
2645
  onClick: i,
@@ -2646,25 +2648,25 @@ const Zu = (e, t) => {
2646
2648
  style: F
2647
2649
  }), a("div", {
2648
2650
  className: O.promotion,
2649
- style: s.promotion,
2650
- children: (R = s.promotion) == null ? void 0 : R.children
2651
+ style: c.promotion,
2652
+ children: (R = c.promotion) == null ? void 0 : R.children
2651
2653
  }), a("div", {
2652
2654
  className: O.content,
2653
2655
  children: [a("div", {
2654
2656
  className: O.left,
2655
2657
  children: a("div", {
2656
2658
  className: O.logo,
2657
- style: s.logo
2659
+ style: c.logo
2658
2660
  })
2659
2661
  }), a("div", {
2660
2662
  className: O.center,
2661
2663
  children: (g || []).map((k, W) => {
2662
- var G, D;
2664
+ var G, z;
2663
2665
  return a("div", {
2664
2666
  className: O.slide,
2665
2667
  style: {
2666
2668
  animationName: v === W ? O[((G = k.root) == null ? void 0 : G.animationName) || "fade-in-out"] : "none",
2667
- animationDuration: `${(D = k.root) == null ? void 0 : D.animationDuration}ms`
2669
+ animationDuration: `${(z = k.root) == null ? void 0 : z.animationDuration}ms`
2668
2670
  },
2669
2671
  children: a(ce, {
2670
2672
  value: y(f({}, k), {
@@ -2678,18 +2680,18 @@ const Zu = (e, t) => {
2678
2680
  className: O.right,
2679
2681
  children: [a("div", {
2680
2682
  className: O.logo,
2681
- style: s.logo
2683
+ style: c.logo
2682
2684
  }), a("div", {
2683
2685
  className: O.buttonWrapper,
2684
2686
  children: a("div", {
2685
2687
  className: A(O.button, {
2686
- [O.button_animated]: s.button.$animated
2688
+ [O.button_animated]: c.button.$animated
2687
2689
  }),
2688
- style: s.button,
2690
+ style: c.button,
2689
2691
  children: [a("div", {
2690
2692
  className: O.logo,
2691
- style: s.logo
2692
- }), (V = s.button) == null ? void 0 : V.children]
2693
+ style: c.logo
2694
+ }), (M = c.button) == null ? void 0 : M.children]
2693
2695
  })
2694
2696
  })]
2695
2697
  })]
@@ -2713,14 +2715,14 @@ const Zu = (e, t) => {
2713
2715
  open: wf,
2714
2716
  legalMore: xf
2715
2717
  }, Yf = (e, t, o, n, r = Ro) => {
2716
- const c = f({}, e);
2717
- return r.forEach((s) => {
2718
- c[t] = y(f({}, c[t]), {
2719
- [s]: y(f({}, c[t][s]), {
2720
- [o]: typeof n == "function" ? n(m(c, `${t}.${s}.${o}`)) : n
2718
+ const s = f({}, e);
2719
+ return r.forEach((c) => {
2720
+ s[t] = y(f({}, s[t]), {
2721
+ [c]: y(f({}, s[t][c]), {
2722
+ [o]: typeof n == "function" ? n(m(s, `${t}.${c}.${o}`)) : n
2721
2723
  })
2722
2724
  });
2723
- }), c;
2725
+ }), s;
2724
2726
  }, Je = (e) => {
2725
2727
  const t = e == null ? void 0 : e.backgroundColor;
2726
2728
  if (!t)
@@ -2757,7 +2759,7 @@ const Zu = (e, t) => {
2757
2759
  }), Tf = ({
2758
2760
  onClick: e
2759
2761
  }) => {
2760
- var c, s, l, _, i, d, p, u, g;
2762
+ var s, c, l, _, i, d, p, u, g;
2761
2763
  const t = I(), o = j(t), [n, r] = Xe();
2762
2764
  return a("div", {
2763
2765
  className: Y.root,
@@ -2769,8 +2771,8 @@ const Zu = (e, t) => {
2769
2771
  children: [a(K, {
2770
2772
  className: Y.text,
2771
2773
  style: o.text,
2772
- typography: (c = o.text) == null ? void 0 : c.typography,
2773
- accentTypography: (s = o.text) == null ? void 0 : s.accentTypography,
2774
+ typography: (s = o.text) == null ? void 0 : s.typography,
2775
+ accentTypography: (c = o.text) == null ? void 0 : c.accentTypography,
2774
2776
  children: (l = o.text) == null ? void 0 : l.children
2775
2777
  }), a("div", {
2776
2778
  style: o.bookmaker,
@@ -2823,7 +2825,7 @@ const Zu = (e, t) => {
2823
2825
  }, Ef = ({
2824
2826
  onClick: e
2825
2827
  }) => {
2826
- var c, s, l, _, i, d, p, u;
2828
+ var s, c, l, _, i, d, p, u;
2827
2829
  const t = I(), o = j(t), [n, r] = Xe();
2828
2830
  return a("div", {
2829
2831
  className: ee.root,
@@ -2833,8 +2835,8 @@ const Zu = (e, t) => {
2833
2835
  children: [a(K, {
2834
2836
  className: ee.text,
2835
2837
  style: o.text,
2836
- typography: (c = o.text) == null ? void 0 : c.typography,
2837
- accentTypography: (s = o.text) == null ? void 0 : s.accentTypography,
2838
+ typography: (s = o.text) == null ? void 0 : s.typography,
2839
+ accentTypography: (c = o.text) == null ? void 0 : c.accentTypography,
2838
2840
  children: (l = o.text) == null ? void 0 : l.children
2839
2841
  }), a("div", {
2840
2842
  className: ee.button,
@@ -2876,9 +2878,9 @@ const Zu = (e, t) => {
2876
2878
  onClick: o,
2877
2879
  onVisible: n,
2878
2880
  resetListeners: t.current.reset
2879
- })), E(() => {
2881
+ })), V(() => {
2880
2882
  t.current.emit("visible");
2881
- }, []), E(() => t.current.reset, []), {
2883
+ }, []), V(() => t.current.reset, []), {
2882
2884
  click: (...r) => t.current.emit("click", ...r),
2883
2885
  onClick: o
2884
2886
  };
@@ -2888,8 +2890,8 @@ const Zu = (e, t) => {
2888
2890
  const o = q(null), n = I(), r = fe({
2889
2891
  targetRef: o,
2890
2892
  id: e
2891
- }), c = le(n, r), s = j(c);
2892
- _e(c);
2893
+ }), s = le(n, r), c = j(s);
2894
+ _e(s);
2893
2895
  const {
2894
2896
  click: l
2895
2897
  } = Vf(t), _ = (i) => ({
@@ -2909,7 +2911,7 @@ const Zu = (e, t) => {
2909
2911
  }),
2910
2912
  children: a("div", {
2911
2913
  className: xe.content,
2912
- children: ((s == null ? void 0 : s.children) || []).map((i) => a(ce, {
2914
+ children: ((c == null ? void 0 : c.children) || []).map((i) => a(ce, {
2913
2915
  value: i,
2914
2916
  children: _(i.name)
2915
2917
  }))