@adstore/templates 2.2.3 → 2.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,13 +35,13 @@ var Ee = (e, t, n) => new Promise((o, r) => {
35
35
  }, c = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(a, s);
36
36
  c((n = n.apply(e, t)).next());
37
37
  });
38
- import { options as p, Component as le, createElement as st, Fragment as it, toChildArray as Fe, createContext as Sn, render as qn, cloneElement as In } from "preact";
39
- var ke = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Ge = {}, Ln = {
38
+ import { options as p, Component as _e, createElement as st, Fragment as it, toChildArray as De, createContext as Sn, render as qn, cloneElement as In } from "preact";
39
+ var ke = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Fe = {}, Ln = {
40
40
  get exports() {
41
- return Ge;
41
+ return Fe;
42
42
  },
43
43
  set exports(e) {
44
- Ge = e;
44
+ Fe = e;
45
45
  }
46
46
  };
47
47
  /*!
@@ -79,18 +79,18 @@ var ke = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
79
79
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
80
80
  })();
81
81
  })(Ln);
82
- const j = Ge;
83
- var te, b, Be, ct, _e = 0, Dt = [], we = [], lt = p.__b, _t = p.__r, dt = p.diffed, ut = p.__c, pt = p.unmount;
82
+ const j = Fe;
83
+ var ne, b, Be, ct, de = 0, Gt = [], we = [], lt = p.__b, _t = p.__r, dt = p.diffed, ut = p.__c, pt = p.unmount;
84
84
  function fe(e, t) {
85
- p.__h && p.__h(b, e, _e || t), _e = 0;
85
+ p.__h && p.__h(b, e, de || t), de = 0;
86
86
  var n = b.__H || (b.__H = { __: [], __h: [] });
87
87
  return e >= n.__.length && n.__.push({ __V: we }), n.__[e];
88
88
  }
89
89
  function he(e) {
90
- return _e = 1, Pn(Kt, e);
90
+ return de = 1, Pn(Kt, e);
91
91
  }
92
92
  function Pn(e, t, n) {
93
- var o = fe(te++, 2);
93
+ var o = fe(ne++, 2);
94
94
  if (o.t = e, !o.__c && (o.__ = [n ? n(t) : Kt(void 0, t), function(c) {
95
95
  var l = o.__N ? o.__N[0] : o.__[0], _ = o.t(l, c);
96
96
  l !== _ && (o.__N = [_, o.__[1]], o.__c.setState({}));
@@ -126,20 +126,20 @@ function Pn(e, t, n) {
126
126
  return o.__N || o.__;
127
127
  }
128
128
  function Q(e, t) {
129
- var n = fe(te++, 3);
129
+ var n = fe(ne++, 3);
130
130
  !p.__s && Ue(n.__H, t) && (n.__ = e, n.i = t, b.__H.__h.push(n));
131
131
  }
132
132
  function zt(e, t) {
133
- var n = fe(te++, 4);
133
+ var n = fe(ne++, 4);
134
134
  !p.__s && Ue(n.__H, t) && (n.__ = e, n.i = t, b.__h.push(n));
135
135
  }
136
- function F(e) {
137
- return _e = 5, Wt(function() {
136
+ function D(e) {
137
+ return de = 5, Wt(function() {
138
138
  return { current: e };
139
139
  }, []);
140
140
  }
141
141
  function Ut(e, t, n) {
142
- _e = 6, zt(function() {
142
+ de = 6, zt(function() {
143
143
  return typeof e == "function" ? (e(t()), function() {
144
144
  return e(null);
145
145
  }) : e ? (e.current = t(), function() {
@@ -148,18 +148,18 @@ function Ut(e, t, n) {
148
148
  }, n == null ? n : n.concat(e));
149
149
  }
150
150
  function Wt(e, t) {
151
- var n = fe(te++, 7);
151
+ var n = fe(ne++, 7);
152
152
  return Ue(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__;
153
153
  }
154
154
  function Rn(e) {
155
- var t = b.context[e.__c], n = fe(te++, 9);
155
+ var t = b.context[e.__c], n = fe(ne++, 9);
156
156
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(b)), t.props.value) : e.__;
157
157
  }
158
158
  function Hn() {
159
- for (var e; e = Dt.shift(); )
159
+ for (var e; e = Gt.shift(); )
160
160
  if (e.__P && e.__H)
161
161
  try {
162
- e.__H.__h.forEach(xe), e.__H.__h.forEach(De), e.__H.__h = [];
162
+ e.__H.__h.forEach(xe), e.__H.__h.forEach(Ge), e.__H.__h = [];
163
163
  } catch (t) {
164
164
  e.__H.__h = [], p.__e(t, e.__v);
165
165
  }
@@ -167,22 +167,22 @@ function Hn() {
167
167
  p.__b = function(e) {
168
168
  b = null, lt && lt(e);
169
169
  }, p.__r = function(e) {
170
- _t && _t(e), te = 0;
170
+ _t && _t(e), ne = 0;
171
171
  var t = (b = e.__c).__H;
172
172
  t && (Be === b ? (t.__h = [], b.__h = [], t.__.forEach(function(n) {
173
173
  n.__N && (n.__ = n.__N), n.__V = we, n.__N = n.i = void 0;
174
- })) : (t.__h.forEach(xe), t.__h.forEach(De), t.__h = [])), Be = b;
174
+ })) : (t.__h.forEach(xe), t.__h.forEach(Ge), t.__h = [])), Be = b;
175
175
  }, p.diffed = function(e) {
176
176
  dt && dt(e);
177
177
  var t = e.__c;
178
- t && t.__H && (t.__H.__h.length && (Dt.push(t) !== 1 && ct === p.requestAnimationFrame || ((ct = p.requestAnimationFrame) || En)(Hn)), t.__H.__.forEach(function(n) {
178
+ t && t.__H && (t.__H.__h.length && (Gt.push(t) !== 1 && ct === p.requestAnimationFrame || ((ct = p.requestAnimationFrame) || En)(Hn)), t.__H.__.forEach(function(n) {
179
179
  n.i && (n.__H = n.i), n.__V !== we && (n.__ = n.__V), n.i = void 0, n.__V = we;
180
180
  })), Be = b = null;
181
181
  }, p.__c = function(e, t) {
182
182
  t.some(function(n) {
183
183
  try {
184
184
  n.__h.forEach(xe), n.__h = n.__h.filter(function(o) {
185
- return !o.__ || De(o);
185
+ return !o.__ || Ge(o);
186
186
  });
187
187
  } catch (o) {
188
188
  t.some(function(r) {
@@ -212,7 +212,7 @@ function xe(e) {
212
212
  var t = b, n = e.__c;
213
213
  typeof n == "function" && (e.__c = void 0, n()), b = t;
214
214
  }
215
- function De(e) {
215
+ function Ge(e) {
216
216
  var t = b;
217
217
  e.__c = e.__(), b = t;
218
218
  }
@@ -241,7 +241,7 @@ function ht(e, t) {
241
241
  function vt(e) {
242
242
  this.props = e;
243
243
  }
244
- (vt.prototype = new le()).isPureReactComponent = !0, vt.prototype.shouldComponentUpdate = function(e, t) {
244
+ (vt.prototype = new _e()).isPureReactComponent = !0, vt.prototype.shouldComponentUpdate = function(e, t) {
245
245
  return ht(this.props, e) || ht(this.state, t);
246
246
  };
247
247
  var gt = p.__b;
@@ -291,7 +291,7 @@ function Ne() {
291
291
  p.unmount = function(e) {
292
292
  var t = e.__c;
293
293
  t && t.__R && t.__R(), t && e.__h === !0 && (e.type = null), mt && mt(e);
294
- }, (Me.prototype = new le()).__c = function(e, t) {
294
+ }, (Me.prototype = new _e()).__c = function(e, t) {
295
295
  var n = t.__c, o = this;
296
296
  o.t == null && (o.t = []), o.t.push(n);
297
297
  var r = Yt(o.__v), a = !1, s = function() {
@@ -333,7 +333,7 @@ var bt = function(e, t, n) {
333
333
  e.u = n = n[2];
334
334
  }
335
335
  };
336
- (Ne.prototype = new le()).__a = function(e) {
336
+ (Ne.prototype = new _e()).__a = function(e) {
337
337
  var t = this, n = Yt(t.__v), o = t.o.get(e);
338
338
  return o[0]++, function(r) {
339
339
  var a = function() {
@@ -343,7 +343,7 @@ var bt = function(e, t, n) {
343
343
  };
344
344
  }, Ne.prototype.render = function(e) {
345
345
  this.u = null, this.o = /* @__PURE__ */ new Map();
346
- var t = Fe(e.children);
346
+ var t = De(e.children);
347
347
  e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
348
348
  for (var n = t.length; n--; )
349
349
  this.o.set(t[n], this.u = [1, 0, this.u]);
@@ -354,11 +354,11 @@ var bt = function(e, t, n) {
354
354
  bt(e, n, t);
355
355
  });
356
356
  };
357
- var Vn = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, Fn = /^(?: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]/, Gn = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Dn = /[A-Z0-9]/g, zn = typeof document != "undefined", Un = function(e) {
357
+ var Vn = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, Dn = /^(?: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]/, Fn = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Gn = /[A-Z0-9]/g, zn = typeof document != "undefined", Un = function(e) {
358
358
  return (typeof Symbol != "undefined" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
359
359
  };
360
- le.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
361
- Object.defineProperty(le.prototype, e, { configurable: !0, get: function() {
360
+ _e.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
361
+ Object.defineProperty(_e.prototype, e, { configurable: !0, get: function() {
362
362
  return this["UNSAFE_" + e];
363
363
  }, set: function(t) {
364
364
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
@@ -386,12 +386,12 @@ p.vnode = function(e) {
386
386
  var s = n[a];
387
387
  if (!(a === "value" && "defaultValue" in n && s == null || zn && a === "children" && o === "noscript" || a === "class" || a === "className")) {
388
388
  var c = a.toLowerCase();
389
- a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && s === !0 ? s = "" : c === "ondoubleclick" ? a = "ondblclick" : c !== "onchange" || o !== "input" && o !== "textarea" || Un(n.type) ? c === "onfocus" ? a = "onfocusin" : c === "onblur" ? a = "onfocusout" : Gn.test(a) ? a = c : o.indexOf("-") === -1 && Fn.test(a) ? a = a.replace(Dn, "-$&").toLowerCase() : s === null && (s = void 0) : c = a = "oninput", c === "oninput" && r[a = c] && (a = "oninputCapture"), r[a] = s;
389
+ a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && s === !0 ? s = "" : c === "ondoubleclick" ? a = "ondblclick" : c !== "onchange" || o !== "input" && o !== "textarea" || Un(n.type) ? c === "onfocus" ? a = "onfocusin" : c === "onblur" ? a = "onfocusout" : Fn.test(a) ? a = c : o.indexOf("-") === -1 && Dn.test(a) ? a = a.replace(Gn, "-$&").toLowerCase() : s === null && (s = void 0) : c = a = "oninput", c === "oninput" && r[a = c] && (a = "oninputCapture"), r[a] = s;
390
390
  }
391
391
  }
392
- o == "select" && r.multiple && Array.isArray(r.value) && (r.value = Fe(n.children).forEach(function(l) {
392
+ o == "select" && r.multiple && Array.isArray(r.value) && (r.value = De(n.children).forEach(function(l) {
393
393
  l.props.selected = r.value.indexOf(l.props.value) != -1;
394
- })), o == "select" && r.defaultValue != null && (r.value = Fe(n.children).forEach(function(l) {
394
+ })), o == "select" && r.defaultValue != null && (r.value = De(n.children).forEach(function(l) {
395
395
  l.props.selected = r.multiple ? r.defaultValue.indexOf(l.props.value) != -1 : r.defaultValue == l.props.value;
396
396
  })), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className", Jn)) : (n.className && !n.class || n.class && n.className) && (r.class = r.className = n.className), t.props = r;
397
397
  }(e), e.$$typeof = Vn, $t && $t(e);
@@ -443,19 +443,19 @@ function ho(e, t) {
443
443
  return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
444
444
  }
445
445
  var vo = ho, go = Yn, mo = so, bo = lo, yo = po, $o = vo;
446
- function ne(e) {
446
+ function oe(e) {
447
447
  var t = -1, n = e == null ? 0 : e.length;
448
448
  for (this.clear(); ++t < n; ) {
449
449
  var o = e[t];
450
450
  this.set(o[0], o[1]);
451
451
  }
452
452
  }
453
- ne.prototype.clear = go;
454
- ne.prototype.delete = mo;
455
- ne.prototype.get = bo;
456
- ne.prototype.has = yo;
457
- ne.prototype.set = $o;
458
- var qe = ne, ko = qe;
453
+ oe.prototype.clear = go;
454
+ oe.prototype.delete = mo;
455
+ oe.prototype.get = bo;
456
+ oe.prototype.has = yo;
457
+ oe.prototype.set = $o;
458
+ var qe = oe, ko = qe;
459
459
  function No() {
460
460
  this.__data__ = new ko(), this.size = 0;
461
461
  }
@@ -472,22 +472,22 @@ var Co = To;
472
472
  function Ao(e) {
473
473
  return this.__data__.has(e);
474
474
  }
475
- var jo = Ao, So = typeof ke == "object" && ke && ke.Object === Object && ke, Qt = So, qo = Qt, Io = typeof self == "object" && self && self.Object === Object && self, Lo = qo || Io || Function("return this")(), oe = Lo, Po = oe, Ro = Po.Symbol, en = Ro, wt = en, tn = Object.prototype, Ho = tn.hasOwnProperty, Eo = tn.toString, ce = wt ? wt.toStringTag : void 0;
475
+ var jo = Ao, So = typeof ke == "object" && ke && ke.Object === Object && ke, Qt = So, qo = Qt, Io = typeof self == "object" && self && self.Object === Object && self, Lo = qo || Io || Function("return this")(), re = Lo, Po = re, Ro = Po.Symbol, en = Ro, wt = en, tn = Object.prototype, Ho = tn.hasOwnProperty, Eo = tn.toString, le = wt ? wt.toStringTag : void 0;
476
476
  function Bo(e) {
477
- var t = Ho.call(e, ce), n = e[ce];
477
+ var t = Ho.call(e, le), n = e[le];
478
478
  try {
479
- e[ce] = void 0;
479
+ e[le] = void 0;
480
480
  var o = !0;
481
481
  } catch (a) {
482
482
  }
483
483
  var r = Eo.call(e);
484
- return o && (t ? e[ce] = n : delete e[ce]), r;
484
+ return o && (t ? e[le] = n : delete e[le]), r;
485
485
  }
486
- var Mo = Bo, Vo = Object.prototype, Fo = Vo.toString;
487
- function Go(e) {
488
- return Fo.call(e);
486
+ var Mo = Bo, Vo = Object.prototype, Do = Vo.toString;
487
+ function Fo(e) {
488
+ return Do.call(e);
489
489
  }
490
- var Do = Go, xt = en, zo = Mo, Uo = Do, Wo = "[object Null]", Ko = "[object Undefined]", Ot = xt ? xt.toStringTag : void 0;
490
+ var Go = Fo, xt = en, zo = Mo, Uo = Go, Wo = "[object Null]", Ko = "[object Undefined]", Ot = xt ? xt.toStringTag : void 0;
491
491
  function Xo(e) {
492
492
  return e == null ? e === void 0 ? Ko : Wo : Ot && Ot in Object(e) ? zo(e) : Uo(e);
493
493
  }
@@ -503,7 +503,7 @@ function or(e) {
503
503
  var t = Zo(e);
504
504
  return t == er || t == tr || t == Qo || t == nr;
505
505
  }
506
- var We = or, rr = oe, ar = rr["__core-js_shared__"], sr = ar, Ve = sr, Tt = function() {
506
+ var We = or, rr = re, ar = rr["__core-js_shared__"], sr = ar, Ve = sr, Tt = function() {
507
507
  var e = /[^.]+$/.exec(Ve && Ve.keys && Ve.keys.IE_PROTO || "");
508
508
  return e ? "Symbol(src)_1." + e : "";
509
509
  }();
@@ -542,7 +542,7 @@ function jr(e, t) {
542
542
  var n = Ar(e, t);
543
543
  return Cr(n) ? n : void 0;
544
544
  }
545
- var Ke = jr, Sr = Ke, qr = oe, Ir = Sr(qr, "Map"), nn = Ir, Lr = Ke, Pr = Lr(Object, "create"), Le = Pr, Ct = Le;
545
+ var Ke = jr, Sr = Ke, qr = re, Ir = Sr(qr, "Map"), nn = Ir, Lr = Ke, Pr = Lr(Object, "create"), Le = Pr, Ct = Le;
546
546
  function Rr() {
547
547
  this.__data__ = Ct ? Ct(null) : {}, this.size = 0;
548
548
  }
@@ -551,16 +551,16 @@ function Er(e) {
551
551
  var t = this.has(e) && delete this.__data__[e];
552
552
  return this.size -= t ? 1 : 0, t;
553
553
  }
554
- var Br = Er, Mr = Le, Vr = "__lodash_hash_undefined__", Fr = Object.prototype, Gr = Fr.hasOwnProperty;
555
- function Dr(e) {
554
+ var Br = Er, Mr = Le, Vr = "__lodash_hash_undefined__", Dr = Object.prototype, Fr = Dr.hasOwnProperty;
555
+ function Gr(e) {
556
556
  var t = this.__data__;
557
557
  if (Mr) {
558
558
  var n = t[e];
559
559
  return n === Vr ? void 0 : n;
560
560
  }
561
- return Gr.call(t, e) ? t[e] : void 0;
561
+ return Fr.call(t, e) ? t[e] : void 0;
562
562
  }
563
- var zr = Dr, Ur = Le, Wr = Object.prototype, Kr = Wr.hasOwnProperty;
563
+ var zr = Gr, Ur = Le, Wr = Object.prototype, Kr = Wr.hasOwnProperty;
564
564
  function Xr(e) {
565
565
  var t = this.__data__;
566
566
  return Ur ? t[e] !== void 0 : Kr.call(t, e);
@@ -571,19 +571,19 @@ function Qr(e, t) {
571
571
  return this.size += this.has(e) ? 0 : 1, n[e] = Zr && t === void 0 ? Yr : t, this;
572
572
  }
573
573
  var ea = Qr, ta = Hr, na = Br, oa = zr, ra = Jr, aa = ea;
574
- function re(e) {
574
+ function ae(e) {
575
575
  var t = -1, n = e == null ? 0 : e.length;
576
576
  for (this.clear(); ++t < n; ) {
577
577
  var o = e[t];
578
578
  this.set(o[0], o[1]);
579
579
  }
580
580
  }
581
- re.prototype.clear = ta;
582
- re.prototype.delete = na;
583
- re.prototype.get = oa;
584
- re.prototype.has = ra;
585
- re.prototype.set = aa;
586
- var sa = re, At = sa, ia = qe, ca = nn;
581
+ ae.prototype.clear = ta;
582
+ ae.prototype.delete = na;
583
+ ae.prototype.get = oa;
584
+ ae.prototype.has = ra;
585
+ ae.prototype.set = aa;
586
+ var sa = ae, At = sa, ia = qe, ca = nn;
587
587
  function la() {
588
588
  this.size = 0, this.__data__ = {
589
589
  hash: new At(),
@@ -620,19 +620,19 @@ function xa(e, t) {
620
620
  return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
621
621
  }
622
622
  var Oa = xa, Ta = _a, Ca = ga, Aa = ya, ja = Na, Sa = Oa;
623
- function ae(e) {
623
+ function se(e) {
624
624
  var t = -1, n = e == null ? 0 : e.length;
625
625
  for (this.clear(); ++t < n; ) {
626
626
  var o = e[t];
627
627
  this.set(o[0], o[1]);
628
628
  }
629
629
  }
630
- ae.prototype.clear = Ta;
631
- ae.prototype.delete = Ca;
632
- ae.prototype.get = Aa;
633
- ae.prototype.has = ja;
634
- ae.prototype.set = Sa;
635
- var qa = ae, Ia = qe, La = nn, Pa = qa, Ra = 200;
630
+ se.prototype.clear = Ta;
631
+ se.prototype.delete = Ca;
632
+ se.prototype.get = Aa;
633
+ se.prototype.has = ja;
634
+ se.prototype.set = Sa;
635
+ var qa = se, Ia = qe, La = nn, Pa = qa, Ra = 200;
636
636
  function Ha(e, t) {
637
637
  var n = this.__data__;
638
638
  if (n instanceof Ia) {
@@ -643,17 +643,17 @@ function Ha(e, t) {
643
643
  }
644
644
  return n.set(e, t), this.size = n.size, this;
645
645
  }
646
- var Ea = Ha, Ba = qe, Ma = wo, Va = Oo, Fa = Co, Ga = jo, Da = Ea;
647
- function se(e) {
646
+ var Ea = Ha, Ba = qe, Ma = wo, Va = Oo, Da = Co, Fa = jo, Ga = Ea;
647
+ function ie(e) {
648
648
  var t = this.__data__ = new Ba(e);
649
649
  this.size = t.size;
650
650
  }
651
- se.prototype.clear = Ma;
652
- se.prototype.delete = Va;
653
- se.prototype.get = Fa;
654
- se.prototype.has = Ga;
655
- se.prototype.set = Da;
656
- var za = se, Ua = Ke, Wa = function() {
651
+ ie.prototype.clear = Ma;
652
+ ie.prototype.delete = Va;
653
+ ie.prototype.get = Da;
654
+ ie.prototype.has = Fa;
655
+ ie.prototype.set = Ga;
656
+ var za = ie, Ua = Ke, Wa = function() {
657
657
  try {
658
658
  var e = Ua(Object, "defineProperty");
659
659
  return e({}, "", {}), e;
@@ -692,7 +692,7 @@ var Qa = Ya, es = Qa, ts = es(), ns = ts, Oe = {}, os = {
692
692
  }
693
693
  };
694
694
  (function(e, t) {
695
- var n = oe, o = t && !t.nodeType && t, r = o && !0 && e && !e.nodeType && e, a = r && r.exports === o, s = a ? n.Buffer : void 0, c = s ? s.allocUnsafe : void 0;
695
+ var n = re, o = t && !t.nodeType && t, r = o && !0 && e && !e.nodeType && e, a = r && r.exports === o, s = a ? n.Buffer : void 0, c = s ? s.allocUnsafe : void 0;
696
696
  function l(_, d) {
697
697
  if (d)
698
698
  return _.slice();
@@ -701,7 +701,7 @@ var Qa = Ya, es = Qa, ts = es(), ns = ts, Oe = {}, os = {
701
701
  }
702
702
  e.exports = l;
703
703
  })(os, Oe);
704
- var rs = oe, as = rs.Uint8Array, ss = as, St = ss;
704
+ var rs = re, as = rs.Uint8Array, ss = as, St = ss;
705
705
  function is(e) {
706
706
  var t = new e.constructor(e.byteLength);
707
707
  return new St(t).set(new St(e)), t;
@@ -761,20 +761,20 @@ var Is = qs, It = Is, Ls = ge, cn = Object.prototype, Ps = cn.hasOwnProperty, Rs
761
761
  function Ms(e) {
762
762
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Bs;
763
763
  }
764
- var dn = Ms, Vs = We, Fs = dn;
765
- function Gs(e) {
766
- return e != null && Fs(e.length) && !Vs(e);
764
+ var dn = Ms, Vs = We, Ds = dn;
765
+ function Fs(e) {
766
+ return e != null && Ds(e.length) && !Vs(e);
767
767
  }
768
- var Je = Gs, Ds = Je, zs = ge;
768
+ var Je = Fs, Gs = Je, zs = ge;
769
769
  function Us(e) {
770
- return zs(e) && Ds(e);
770
+ return zs(e) && Gs(e);
771
771
  }
772
- var Ws = Us, de = {}, Ks = {
772
+ var Ws = Us, ue = {}, Ks = {
773
773
  get exports() {
774
- return de;
774
+ return ue;
775
775
  },
776
776
  set exports(e) {
777
- de = e;
777
+ ue = e;
778
778
  }
779
779
  };
780
780
  function Xs() {
@@ -782,9 +782,9 @@ function Xs() {
782
782
  }
783
783
  var Js = Xs;
784
784
  (function(e, t) {
785
- var n = oe, o = Js, r = t && !t.nodeType && t, a = r && !0 && e && !e.nodeType && e, s = a && a.exports === r, c = s ? n.Buffer : void 0, l = c ? c.isBuffer : void 0, _ = l || o;
785
+ var n = re, o = Js, r = t && !t.nodeType && t, a = r && !0 && e && !e.nodeType && e, s = a && a.exports === r, c = s ? n.Buffer : void 0, l = c ? c.isBuffer : void 0, _ = l || o;
786
786
  e.exports = _;
787
- })(Ks, de);
787
+ })(Ks, ue);
788
788
  var Zs = Ie, Ys = an, Qs = ge, ei = "[object Object]", ti = Function.prototype, ni = Object.prototype, un = ti.toString, oi = ni.hasOwnProperty, ri = un.call(Object);
789
789
  function ai(e) {
790
790
  if (!Qs(e) || Zs(e) != ei)
@@ -826,14 +826,14 @@ var Hi = Ri, Te = {}, Ei = {
826
826
  e.exports = c;
827
827
  })(Ei, Te);
828
828
  var Bi = Pi, Mi = Hi, Lt = Te, Pt = Lt && Lt.isTypedArray, Vi = Pt ? Mi(Pt) : Bi, pn = Vi;
829
- function Fi(e, t) {
829
+ function Di(e, t) {
830
830
  if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
831
831
  return e[t];
832
832
  }
833
- var fn = Fi, Gi = Xe, Di = je, zi = Object.prototype, Ui = zi.hasOwnProperty;
833
+ var fn = Di, Fi = Xe, Gi = je, zi = Object.prototype, Ui = zi.hasOwnProperty;
834
834
  function Wi(e, t, n) {
835
835
  var o = e[t];
836
- (!(Ui.call(e, t) && Di(o, n)) || n === void 0 && !(t in e)) && Gi(e, t, n);
836
+ (!(Ui.call(e, t) && Gi(o, n)) || n === void 0 && !(t in e)) && Fi(e, t, n);
837
837
  }
838
838
  var Ki = Wi, Xi = Ki, Ji = Xe;
839
839
  function Zi(e, t, n, o) {
@@ -856,7 +856,7 @@ function oc(e, t) {
856
856
  var n = typeof e;
857
857
  return t = t == null ? tc : t, !!t && (n == "number" || n != "symbol" && nc.test(e)) && e > -1 && e % 1 == 0 && e < t;
858
858
  }
859
- var hn = oc, rc = ec, ac = ln, sc = _n, ic = de, cc = hn, lc = pn, _c = Object.prototype, dc = _c.hasOwnProperty;
859
+ var hn = oc, rc = ec, ac = ln, sc = _n, ic = ue, cc = hn, lc = pn, _c = Object.prototype, dc = _c.hasOwnProperty;
860
860
  function uc(e, t) {
861
861
  var n = sc(e), o = !n && ac(e), r = !n && !o && ic(e), a = !n && !o && !r && lc(e), s = n || o || r || a, c = s ? rc(e.length, String) : [], l = c.length;
862
862
  for (var _ in e)
@@ -892,8 +892,8 @@ var vn = Oc, Tc = Yi, Cc = vn;
892
892
  function Ac(e) {
893
893
  return Tc(e, Cc(e));
894
894
  }
895
- var jc = Ac, Rt = rn, Sc = Oe, qc = ds, Ic = ps, Lc = Ts, Ht = ln, Et = _n, Pc = Ws, Rc = de, Hc = We, Ec = X, Bc = si, Mc = pn, Bt = fn, Vc = jc;
896
- function Fc(e, t, n, o, r, a, s) {
895
+ var jc = Ac, Rt = rn, Sc = Oe, qc = ds, Ic = ps, Lc = Ts, Ht = ln, Et = _n, Pc = Ws, Rc = ue, Hc = We, Ec = X, Bc = si, Mc = pn, Bt = fn, Vc = jc;
896
+ function Dc(e, t, n, o, r, a, s) {
897
897
  var c = Bt(e, n), l = Bt(t, n), _ = s.get(l);
898
898
  if (_) {
899
899
  Rt(e, n, _);
@@ -906,10 +906,10 @@ function Fc(e, t, n, o, r, a, s) {
906
906
  }
907
907
  f && (s.set(l, d), r(d, l, o, a, s), s.delete(l)), Rt(e, n, d);
908
908
  }
909
- var Gc = Fc, Dc = za, zc = rn, Uc = ns, Wc = Gc, Kc = X, Xc = vn, Jc = fn;
909
+ var Fc = Dc, Gc = za, zc = rn, Uc = ns, Wc = Fc, Kc = X, Xc = vn, Jc = fn;
910
910
  function gn(e, t, n, o, r) {
911
911
  e !== t && Uc(t, function(a, s) {
912
- if (r || (r = new Dc()), Kc(a))
912
+ if (r || (r = new Gc()), Kc(a))
913
913
  Wc(e, t, s, n, gn, o, r);
914
914
  else {
915
915
  var c = o ? o(Jc(e, s), a, s + "", e, t, r) : void 0;
@@ -998,12 +998,12 @@ var Il = ql, Ll = Zc, Pl = Il;
998
998
  Pl(function(e, t, n) {
999
999
  Ll(e, t, n);
1000
1000
  });
1001
- const ue = (e, t, n) => Array.isArray(e) ? e.map((o, r) => {
1001
+ const ee = (e, t, n) => Array.isArray(e) ? e.map((o, r) => {
1002
1002
  const a = [n, r].filter(R).join(".");
1003
- return ue(t(r, o, a), t, a);
1003
+ return ee(t(r, o, a), t, a);
1004
1004
  }) : typeof e == "object" && e ? Object.entries(e).reduce((o, [r, a]) => {
1005
1005
  const s = [n, r].filter(R).join(".");
1006
- return o[r] = ue(t(r, a, s), t, s), o;
1006
+ return o[r] = ee(t(r, a, s), t, s), o;
1007
1007
  }, {}) : e, Rl = (e) => {
1008
1008
  const t = document.getElementsByTagName("head")[0], n = document.createElement("link");
1009
1009
  Object.entries(e).forEach(([o, r]) => n.setAttribute(o, r)), t.appendChild(n);
@@ -1018,7 +1018,7 @@ const ue = (e, t, n) => Array.isArray(e) ? e.map((o, r) => {
1018
1018
  emit: (s, ...c) => s in e ? e[s].map((l) => l(...c)).filter(Boolean) : [],
1019
1019
  reset: () => e = {}
1020
1020
  };
1021
- }, Hl = (e = 300, t) => new Promise((n) => setTimeout(() => n(t), e)), yn = (e) => !e && e == null, R = (e) => !yn(e), ee = (e, ...t) => t.reduce((n, o) => (n[o] = e[o], n), {});
1021
+ }, Hl = (e = 300, t) => new Promise((n) => setTimeout(() => n(t), e)), yn = (e) => !e && e == null, R = (e) => !yn(e), te = (e, ...t) => t.reduce((n, o) => (n[o] = e[o], n), {});
1022
1022
  function U(e, ...t) {
1023
1023
  const n = v({}, e);
1024
1024
  return t.forEach((o) => {
@@ -1044,7 +1044,7 @@ const Re = (e, t, n) => {
1044
1044
  } : void 0;
1045
1045
  }, Bl = (...e) => e.map((t) => JSON.stringify(t)).every((t, n, o) => t === o[0]), Tp = (e) => "id" in e && "root" in e, Ml = (e, t = 1) => e.replace(")", `, ${t})`).replace("rgb", "rgba"), Cp = (e, t) => {
1046
1046
  try {
1047
- ue(e, (n, o, r) => {
1047
+ ee(e, (n, o, r) => {
1048
1048
  if (t(n, o, r))
1049
1049
  throw {
1050
1050
  key: n,
@@ -1056,15 +1056,22 @@ const Re = (e, t, n) => {
1056
1056
  } catch (n) {
1057
1057
  return n;
1058
1058
  }
1059
+ }, Ap = (e, t) => {
1060
+ const n = [];
1061
+ return ee(e, (o, r, a) => (t(o, r, a) && n.push({
1062
+ key: o,
1063
+ value: r,
1064
+ path: a
1065
+ }), r)), n;
1059
1066
  }, $n = ["desktop", "laptop", "tablet", "mobile"], Vl = {
1060
1067
  mobile: 320,
1061
1068
  tablet: 768,
1062
1069
  laptop: 1024,
1063
1070
  desktop: 1920
1064
- }, Fl = "_root_24bq9_1", Gl = "_icon_24bq9_5", Dl = "_iconTarget_24bq9_17", zl = "_body_24bq9_22", Ul = "_bodyOpen_24bq9_30", Wl = "_simpleGift_in_24bq9_1", Kl = "_close_24bq9_43", Xl = "_arrow_24bq9_57", Jl = "_container_24bq9_68", Zl = "_inner_24bq9_74", Yl = "_logo_24bq9_81", Ql = "_text_24bq9_88", e_ = "_button_24bq9_103", t_ = "_buttonAnimated_24bq9_112", n_ = "_increase_24bq9_1", o_ = "_legalGap_24bq9_116", r_ = "_legalOpen_24bq9_120", a_ = "_legal_24bq9_116", s_ = "_legalText_24bq9_148", i_ = "_legalButton_24bq9_166", c_ = "_fadein_24bq9_1", l_ = "_pulse_24bq9_1", __ = "_gradient_24bq9_1", d_ = "_wiggle_24bq9_1", $ = {
1065
- root: Fl,
1066
- icon: Gl,
1067
- iconTarget: Dl,
1071
+ }, Dl = "_root_24bq9_1", Fl = "_icon_24bq9_5", Gl = "_iconTarget_24bq9_17", zl = "_body_24bq9_22", Ul = "_bodyOpen_24bq9_30", Wl = "_simpleGift_in_24bq9_1", Kl = "_close_24bq9_43", Xl = "_arrow_24bq9_57", Jl = "_container_24bq9_68", Zl = "_inner_24bq9_74", Yl = "_logo_24bq9_81", Ql = "_text_24bq9_88", e_ = "_button_24bq9_103", t_ = "_buttonAnimated_24bq9_112", n_ = "_increase_24bq9_1", o_ = "_legalGap_24bq9_116", r_ = "_legalOpen_24bq9_120", a_ = "_legal_24bq9_116", s_ = "_legalText_24bq9_148", i_ = "_legalButton_24bq9_166", c_ = "_fadein_24bq9_1", l_ = "_pulse_24bq9_1", __ = "_gradient_24bq9_1", d_ = "_wiggle_24bq9_1", $ = {
1072
+ root: Dl,
1073
+ icon: Fl,
1074
+ iconTarget: Gl,
1068
1075
  body: zl,
1069
1076
  bodyOpen: Ul,
1070
1077
  simpleGift_in: Wl,
@@ -1127,13 +1134,13 @@ const kn = Sn(), J = ({
1127
1134
  id: n
1128
1135
  }, a))
1129
1136
  }), t);
1130
- }), L = () => Rn(kn), p_ = (e = {}) => typeof e == "object" && R(e) && $n.every((t) => t in e), f_ = (e, t) => e && ue(e, (n, o) => {
1137
+ }), L = () => Rn(kn), p_ = (e = {}) => typeof e == "object" && R(e) && $n.every((t) => t in e), f_ = (e, t) => e && ee(e, (n, o) => {
1131
1138
  if (p_(o)) {
1132
1139
  const r = o[t];
1133
1140
  return "parent" in r && R(r.parent) ? v(v({}, o[r.parent]), U(r, "parent")) : r;
1134
1141
  }
1135
1142
  return o;
1136
- }), Y = (e, t) => f_(e, t), ie = ({
1143
+ }), Y = (e, t) => f_(e, t), ce = ({
1137
1144
  id: e,
1138
1145
  targetRef: t,
1139
1146
  parentKey: n = "device-container",
@@ -1221,7 +1228,7 @@ const kn = Sn(), J = ({
1221
1228
  wiggle: `${e.wiggle} 2s linear infinite`,
1222
1229
  gradient: `${e.gradient} 3s ease infinite`
1223
1230
  }), wn = (e, t) => {
1224
- var d, f, u, g, y, O, h, x, k, q, H, G, D;
1231
+ var d, f, u, g, y, O, h, x, k, q, H, F, G;
1225
1232
  const n = $_(t), o = S(e), r = (d = o == null ? void 0 : o.icon) == null ? void 0 : d.hasIcon, a = {
1226
1233
  left: `${+(((f = e == null ? void 0 : e.container) == null ? void 0 : f.left) || 0) * -1 + 8}px`,
1227
1234
  backgroundColor: (u = o == null ? void 0 : o.container) == null ? void 0 : u.backgroundColor,
@@ -1234,7 +1241,7 @@ const kn = Sn(), J = ({
1234
1241
  }, s = {
1235
1242
  left: (x = o == null ? void 0 : o.container) == null ? void 0 : x.left
1236
1243
  }, c = (((k = o == null ? void 0 : o.icon) == null ? void 0 : k.animations) || []).map((W) => n[W]).join(", "), l = R((q = o == null ? void 0 : o.icon) == null ? void 0 : q.gradientColor) && ((H = o == null ? void 0 : o.icon) != null && H.animations.includes("gradient")) ? {
1237
- background: `linear-gradient(-90deg, ${(G = o.icon) == null ? void 0 : G.backgroundColor} 0%, ${(D = o == null ? void 0 : o.icon) == null ? void 0 : D.gradientColor} 100%) 0% 0% / 400% 400%`,
1244
+ background: `linear-gradient(-90deg, ${(F = o.icon) == null ? void 0 : F.backgroundColor} 0%, ${(G = o == null ? void 0 : o.icon) == null ? void 0 : G.gradientColor} 100%) 0% 0% / 400% 400%`,
1238
1245
  backgroundSize: "400% 400%"
1239
1246
  } : o == null ? void 0 : o.icon, _ = v(C(v({}, (o == null ? void 0 : o.icon) || {}), {
1240
1247
  animation: c
@@ -1247,7 +1254,7 @@ const kn = Sn(), J = ({
1247
1254
  };
1248
1255
  }, ye = (e) => {
1249
1256
  const t = /* @__PURE__ */ new Set([]);
1250
- ue(e, (o, r) => (o === "fontFamily" && t.add(r), r));
1257
+ ee(e, (o, r) => (o === "fontFamily" && t.add(r), r));
1251
1258
  const n = Wt(() => Array.from(t.values()).map((o) => ({
1252
1259
  rel: "stylesheet",
1253
1260
  href: `https://fonts.googleapis.com/css?family=${o}:300,400,500,700&display=swap`
@@ -1255,12 +1262,12 @@ const kn = Sn(), J = ({
1255
1262
  Q(() => {
1256
1263
  n.forEach((o) => Rl(o));
1257
1264
  }, [n]);
1258
- }, pe = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundFit"], k_ = ["borderWidth", "borderColor", "borderStyle"], Ft = ["marginTop", "marginBottom", "marginLeft", "marginRight", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], N_ = (e) => console.log(`Noop YaMektika reach goal: ${e}`), w_ = (e) => console.log(`Noop AdFox reach goal: ${e}`), x_ = ({
1265
+ }, pe = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundFit"], k_ = ["borderWidth", "borderColor", "borderStyle"], Dt = ["marginTop", "marginBottom", "marginLeft", "marginRight", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], N_ = (e) => console.log(`Noop YaMektika reach goal: ${e}`), w_ = (e) => console.log(`Noop AdFox reach goal: ${e}`), x_ = ({
1259
1266
  delay: e,
1260
1267
  onOpen: t,
1261
1268
  onAutoOpen: n
1262
1269
  }) => {
1263
- const [o, r] = he(!1), a = F(null), s = (l) => {
1270
+ const [o, r] = he(!1), a = D(null), s = (l) => {
1264
1271
  clearTimeout(a.current), a.current = null;
1265
1272
  }, c = () => {
1266
1273
  s(a.current), r((l) => !l);
@@ -1277,7 +1284,7 @@ const kn = Sn(), J = ({
1277
1284
  ref: e,
1278
1285
  openDelay: t
1279
1286
  }) => {
1280
- const n = F(bn()), o = (l) => n.current.on("open", l), r = (l) => n.current.on("click", l), a = (l) => n.current.on("autoOpen", l), {
1287
+ const n = D(bn()), o = (l) => n.current.on("open", l), r = (l) => n.current.on("click", l), a = (l) => n.current.on("autoOpen", l), {
1281
1288
  isOpen: s,
1282
1289
  toggle: c
1283
1290
  } = x_({
@@ -1297,8 +1304,8 @@ const kn = Sn(), J = ({
1297
1304
  }, O_ = ve(({
1298
1305
  id: e
1299
1306
  }, t) => {
1300
- var x, k, q, H, G, D, W;
1301
- const n = F(null), [o, r] = Nn(), a = L(), s = ie({
1307
+ var x, k, q, H, F, G, W;
1308
+ const n = D(null), [o, r] = Nn(), a = L(), s = ce({
1302
1309
  targetRef: n,
1303
1310
  id: e
1304
1311
  }), c = Y(a, s), l = S(c), {
@@ -1320,7 +1327,7 @@ const kn = Sn(), J = ({
1320
1327
  openDelay: (x = c == null ? void 0 : c.container) == null ? void 0 : x.delay
1321
1328
  });
1322
1329
  ye(c);
1323
- const h = o ? ee(l.container, ...k_) : {};
1330
+ const h = o ? te(l.container, ...k_) : {};
1324
1331
  return i("div", {
1325
1332
  className: j($.root, {
1326
1333
  [$.legalOpen]: o
@@ -1354,7 +1361,7 @@ const kn = Sn(), J = ({
1354
1361
  href: (k = l == null ? void 0 : l.root) == null ? void 0 : k.offer,
1355
1362
  target: "_blank",
1356
1363
  rel: "nofollow noopener noreferrer",
1357
- onClick: O,
1364
+ onClick: () => O(l.id),
1358
1365
  children: [i("div", {
1359
1366
  className: $.inner,
1360
1367
  children: [i("div", {
@@ -1381,11 +1388,11 @@ const kn = Sn(), J = ({
1381
1388
  className: $.legalText,
1382
1389
  children: i("span", {
1383
1390
  children: [i("span", {
1384
- children: (G = l == null ? void 0 : l.legal) == null ? void 0 : G.children
1391
+ children: (F = l == null ? void 0 : l.legal) == null ? void 0 : F.children
1385
1392
  }), i("span", {
1386
1393
  className: $.legalButton,
1387
1394
  onClick: r,
1388
- children: o ? (D = l == null ? void 0 : l.legal) == null ? void 0 : D.buttonOpenText : (W = l == null ? void 0 : l.legal) == null ? void 0 : W.buttonHideText
1395
+ children: o ? (G = l == null ? void 0 : l.legal) == null ? void 0 : G.buttonOpenText : (W = l == null ? void 0 : l.legal) == null ? void 0 : W.buttonHideText
1389
1396
  })]
1390
1397
  })
1391
1398
  })
@@ -1393,7 +1400,7 @@ const kn = Sn(), J = ({
1393
1400
  })]
1394
1401
  })]
1395
1402
  });
1396
- }), Ap = Z(i(O_, {})), T_ = "_root_1hrqs_1", C_ = "_icon_1hrqs_5", A_ = "_iconTarget_1hrqs_17", j_ = "_body_1hrqs_22", S_ = "_desktop_1hrqs_29", q_ = "_tablet_1hrqs_29", I_ = "_laptop_1hrqs_29", L_ = "_bodyOpen_1hrqs_33", P_ = "_complexGift_in_1hrqs_1", R_ = "_arrow_1hrqs_46", H_ = "_container_1hrqs_56", E_ = "_promotion_1hrqs_61", B_ = "_close_1hrqs_69", M_ = "_head_1hrqs_83", V_ = "_headIcon_1hrqs_90", F_ = "_headTitle_1hrqs_96", G_ = "_inner_1hrqs_103", D_ = "_fadein_1hrqs_1", z_ = "_pulse_1hrqs_1", U_ = "_gradient_1hrqs_1", W_ = "_wiggle_1hrqs_1", N = {
1403
+ }), jp = Z(i(O_, {})), T_ = "_root_1hrqs_1", C_ = "_icon_1hrqs_5", A_ = "_iconTarget_1hrqs_17", j_ = "_body_1hrqs_22", S_ = "_desktop_1hrqs_29", q_ = "_tablet_1hrqs_29", I_ = "_laptop_1hrqs_29", L_ = "_bodyOpen_1hrqs_33", P_ = "_complexGift_in_1hrqs_1", R_ = "_arrow_1hrqs_46", H_ = "_container_1hrqs_56", E_ = "_promotion_1hrqs_61", B_ = "_close_1hrqs_69", M_ = "_head_1hrqs_83", V_ = "_headIcon_1hrqs_90", D_ = "_headTitle_1hrqs_96", F_ = "_inner_1hrqs_103", G_ = "_fadein_1hrqs_1", z_ = "_pulse_1hrqs_1", U_ = "_gradient_1hrqs_1", W_ = "_wiggle_1hrqs_1", N = {
1397
1404
  root: T_,
1398
1405
  icon: C_,
1399
1406
  iconTarget: A_,
@@ -1409,9 +1416,9 @@ const kn = Sn(), J = ({
1409
1416
  close: B_,
1410
1417
  head: M_,
1411
1418
  headIcon: V_,
1412
- headTitle: F_,
1413
- inner: G_,
1414
- fadein: D_,
1419
+ headTitle: D_,
1420
+ inner: F_,
1421
+ fadein: G_,
1415
1422
  pulse: z_,
1416
1423
  gradient: U_,
1417
1424
  wiggle: W_
@@ -1478,7 +1485,7 @@ const kn = Sn(), J = ({
1478
1485
  id: e
1479
1486
  }, t) => {
1480
1487
  var O, h, x, k;
1481
- const n = F(null), o = L(), r = ie({
1488
+ const n = D(null), o = L(), r = ce({
1482
1489
  targetRef: n,
1483
1490
  id: e
1484
1491
  }), a = Y(o, r), s = S(a), {
@@ -1540,7 +1547,7 @@ const kn = Sn(), J = ({
1540
1547
  className: N.head,
1541
1548
  children: [y && i("div", {
1542
1549
  className: N.headIcon,
1543
- style: ee(s.title, "color"),
1550
+ style: te(s.title, "color"),
1544
1551
  children: i(ze, {})
1545
1552
  }), i("div", {
1546
1553
  className: N.headTitle,
@@ -1559,7 +1566,7 @@ const kn = Sn(), J = ({
1559
1566
  })]
1560
1567
  })]
1561
1568
  });
1562
- }), jp = Z(i(ad, {})), sd = "_root_1qzwb_1", id = "_content_1qzwb_11", cd = "_laptop_1qzwb_20", ld = "_desktop_1qzwb_24", _d = "_wrapper_1qzwb_28", dd = "_overlay_1qzwb_32", ud = "_close_1qzwb_38", pd = "_body_1qzwb_46", fd = "_logo_1qzwb_54", hd = "_text_1qzwb_60", vd = "_button_1qzwb_64", gd = "_legal_1qzwb_79", P = {
1569
+ }), Sp = Z(i(ad, {})), sd = "_root_1qzwb_1", id = "_content_1qzwb_11", cd = "_laptop_1qzwb_20", ld = "_desktop_1qzwb_24", _d = "_wrapper_1qzwb_28", dd = "_overlay_1qzwb_32", ud = "_close_1qzwb_38", pd = "_body_1qzwb_46", fd = "_logo_1qzwb_54", hd = "_text_1qzwb_60", vd = "_button_1qzwb_64", gd = "_legal_1qzwb_79", P = {
1563
1570
  root: sd,
1564
1571
  content: id,
1565
1572
  laptop: cd,
@@ -1589,7 +1596,7 @@ const kn = Sn(), J = ({
1589
1596
  })
1590
1597
  });
1591
1598
  }, Ze = (e, t = 0) => {
1592
- const n = F(bn()), [o, r] = he(!1), a = (_) => n.current.on("visible", _), s = (_) => n.current.on("click", _), c = () => Ee(void 0, null, function* () {
1599
+ const n = D(bn()), [o, r] = he(!1), a = (_) => n.current.on("visible", _), s = (_) => n.current.on("click", _), c = () => Ee(void 0, null, function* () {
1593
1600
  yield Hl(+t), r(!0);
1594
1601
  }), l = () => r(!1);
1595
1602
  return Q(() => {
@@ -1612,7 +1619,7 @@ const kn = Sn(), J = ({
1612
1619
  className: t
1613
1620
  }, n) => {
1614
1621
  var O, h, x, k, q, H;
1615
- const o = F(null), r = ie({
1622
+ const o = D(null), r = ce({
1616
1623
  targetRef: o,
1617
1624
  id: e
1618
1625
  }), a = L(), s = Y(a, r);
@@ -1655,7 +1662,7 @@ const kn = Sn(), J = ({
1655
1662
  [P.laptop]: r === "laptop"
1656
1663
  }),
1657
1664
  style: c.root,
1658
- onClick: f,
1665
+ onClick: () => f(c.id),
1659
1666
  children: i("div", {
1660
1667
  className: P.body,
1661
1668
  style: u,
@@ -1664,8 +1671,8 @@ const kn = Sn(), J = ({
1664
1671
  style: c.logo
1665
1672
  }), i("div", {
1666
1673
  className: P.text,
1667
- children: ((c == null ? void 0 : c.children) || []).map((G) => i(J, {
1668
- value: G,
1674
+ children: ((c == null ? void 0 : c.children) || []).map((F) => i(J, {
1675
+ value: F,
1669
1676
  children: i(yd, {})
1670
1677
  }))
1671
1678
  }), i("div", {
@@ -1681,7 +1688,7 @@ const kn = Sn(), J = ({
1681
1688
  })]
1682
1689
  })]
1683
1690
  });
1684
- }), Sp = Z(i($d, {})), kd = "_root_y4quu_1", Nd = "_content_y4quu_11", wd = "_desktop_y4quu_23", xd = "_laptop_y4quu_23", Od = "_overlay_y4quu_28", Td = "_close_y4quu_34", Cd = "_title_y4quu_42", Ad = "_wrapper_y4quu_57", z = {
1691
+ }), qp = Z(i($d, {})), kd = "_root_y4quu_1", Nd = "_content_y4quu_11", wd = "_desktop_y4quu_23", xd = "_laptop_y4quu_23", Od = "_overlay_y4quu_28", Td = "_close_y4quu_34", Cd = "_title_y4quu_42", Ad = "_wrapper_y4quu_57", z = {
1685
1692
  root: kd,
1686
1693
  content: Nd,
1687
1694
  desktop: wd,
@@ -1714,7 +1721,7 @@ const kn = Sn(), J = ({
1714
1721
  [B.desktop]: o === "desktop",
1715
1722
  [B.laptop]: o === "laptop"
1716
1723
  }),
1717
- style: U(n.root, ...Ft),
1724
+ style: U(n.root, ...Dt),
1718
1725
  onClick: () => e(n.id),
1719
1726
  children: [i("div", {
1720
1727
  className: B.header,
@@ -1725,7 +1732,7 @@ const kn = Sn(), J = ({
1725
1732
  })
1726
1733
  }), i("div", {
1727
1734
  className: B.container,
1728
- style: ee(n.root, ...Ft),
1735
+ style: te(n.root, ...Dt),
1729
1736
  children: [i("div", {
1730
1737
  className: B.body,
1731
1738
  children: [i("div", {
@@ -1753,7 +1760,7 @@ const kn = Sn(), J = ({
1753
1760
  id: e
1754
1761
  }, t) => {
1755
1762
  var f;
1756
- const n = F(null), o = ie({
1763
+ const n = D(null), o = ce({
1757
1764
  targetRef: n,
1758
1765
  id: e
1759
1766
  }), r = L(), a = Y(r, o), s = S(a);
@@ -1801,10 +1808,10 @@ const kn = Sn(), J = ({
1801
1808
  })]
1802
1809
  })]
1803
1810
  });
1804
- }), qp = Z(i(Vd, {})), Fd = "_root_4lmgn_1", Gd = "_content_4lmgn_11", Dd = "_close_4lmgn_19", zd = "_overlay_4lmgn_27", Ud = "_body_4lmgn_33", Wd = "_desktop_4lmgn_41", Kd = "_laptop_4lmgn_41", Xd = "_tablet_4lmgn_45", Jd = "_head_4lmgn_50", Zd = "_title_4lmgn_60", Yd = "_logo_4lmgn_73", Qd = "_wrapper_4lmgn_80", eu = "_text_4lmgn_87", tu = "_button_4lmgn_102", nu = "_buttonHead_4lmgn_117", ou = "_buttonTarget_4lmgn_134", ru = "_legal_4lmgn_148", A = {
1805
- root: Fd,
1806
- content: Gd,
1807
- close: Dd,
1811
+ }), Ip = Z(i(Vd, {})), Dd = "_root_4lmgn_1", Fd = "_content_4lmgn_11", Gd = "_close_4lmgn_19", zd = "_overlay_4lmgn_27", Ud = "_body_4lmgn_33", Wd = "_desktop_4lmgn_41", Kd = "_laptop_4lmgn_41", Xd = "_tablet_4lmgn_45", Jd = "_head_4lmgn_50", Zd = "_title_4lmgn_60", Yd = "_logo_4lmgn_73", Qd = "_wrapper_4lmgn_80", eu = "_text_4lmgn_87", tu = "_button_4lmgn_102", nu = "_buttonHead_4lmgn_117", ou = "_buttonTarget_4lmgn_134", ru = "_legal_4lmgn_148", A = {
1812
+ root: Dd,
1813
+ content: Fd,
1814
+ close: Gd,
1808
1815
  overlay: zd,
1809
1816
  body: Ud,
1810
1817
  desktop: Wd,
@@ -1905,8 +1912,8 @@ const kn = Sn(), J = ({
1905
1912
  }, $u = ve(({
1906
1913
  id: e
1907
1914
  }, t) => {
1908
- var h, x, k, q, H, G, D, W, Ye, Qe, et, tt, nt;
1909
- const n = F(null), o = ie({
1915
+ var h, x, k, q, H, F, G, W, Ye, Qe, et, tt, nt;
1916
+ const n = D(null), o = ce({
1910
1917
  targetRef: n,
1911
1918
  id: e
1912
1919
  }), r = L(), a = Y(r, o);
@@ -1924,9 +1931,9 @@ const kn = Sn(), J = ({
1924
1931
  }), g = C(v({}, s.text), {
1925
1932
  textAlign: (H = s.root) == null ? void 0 : H.align
1926
1933
  }), y = C(v({}, s == null ? void 0 : s.button), {
1927
- justifyContent: K((G = s.root) == null ? void 0 : G.textAlign)
1934
+ justifyContent: K((F = s.root) == null ? void 0 : F.textAlign)
1928
1935
  }), O = C(v({}, s == null ? void 0 : s.legal), {
1929
- justifyContent: K((D = s.root) == null ? void 0 : D.textAlign)
1936
+ justifyContent: K((G = s.root) == null ? void 0 : G.textAlign)
1930
1937
  });
1931
1938
  return i("div", {
1932
1939
  className: j(A.root, {
@@ -1954,7 +1961,7 @@ const kn = Sn(), J = ({
1954
1961
  href: (W = s.root) == null ? void 0 : W.offer,
1955
1962
  target: "_blank",
1956
1963
  rel: "nofollow noopener noreferrer",
1957
- onClick: d,
1964
+ onClick: () => d(s.id),
1958
1965
  children: i("div", {
1959
1966
  className: A.body,
1960
1967
  style: f,
@@ -2002,7 +2009,7 @@ const kn = Sn(), J = ({
2002
2009
  })]
2003
2010
  })]
2004
2011
  });
2005
- }), Ip = Z(i($u, {})), ku = "_root_1slvw_1", Nu = "_background_1slvw_20", wu = "_body_1slvw_29", xu = "_bookmaker_1slvw_39", Ou = "_button_1slvw_46", Tu = "_rowFirst_1slvw_60", Cu = "_rowSecond_1slvw_66", Au = "_legal_1slvw_72", ju = "_legalText_1slvw_88", Su = "_legalOpen_1slvw_98", qu = "_legalButton_1slvw_103", M = {
2012
+ }), Lp = Z(i($u, {})), ku = "_root_1slvw_1", Nu = "_background_1slvw_20", wu = "_body_1slvw_29", xu = "_bookmaker_1slvw_39", Ou = "_button_1slvw_46", Tu = "_rowFirst_1slvw_60", Cu = "_rowSecond_1slvw_66", Au = "_legal_1slvw_72", ju = "_legalText_1slvw_88", Su = "_legalOpen_1slvw_98", qu = "_legalButton_1slvw_103", M = {
2006
2013
  root: ku,
2007
2014
  background: Nu,
2008
2015
  body: wu,
@@ -2015,7 +2022,7 @@ const kn = Sn(), J = ({
2015
2022
  legalOpen: Su,
2016
2023
  legalButton: qu
2017
2024
  }, On = (e, t = "root") => {
2018
- const n = F(), o = (e == null ? void 0 : e.yaReachGoal) || N_, r = (e == null ? void 0 : e.adfoxReachGoal) || w_, a = R(e) ? ee(e[t], "yaShow", "yaClick", "adfoxShow", "adfoxClick") : {};
2025
+ const n = D(), o = (e == null ? void 0 : e.yaReachGoal) || N_, r = (e == null ? void 0 : e.adfoxReachGoal) || w_, a = R(e) ? te(e[t], "yaShow", "yaClick", "adfoxShow", "adfoxClick") : {};
2019
2026
  return Q(() => {
2020
2027
  Bl(n.current, a) || (a.yaShow && o(a.yaShow), a.adfoxShow && r(a.adfoxShow)), n.current = a;
2021
2028
  }, [a]), () => {
@@ -2073,7 +2080,7 @@ const kn = Sn(), J = ({
2073
2080
  })]
2074
2081
  });
2075
2082
  }, Lu = () => {
2076
- const e = F(null), t = L(), o = Y(t, "desktop"), r = S(o);
2083
+ const e = D(null), t = L(), o = Y(t, "desktop"), r = S(o);
2077
2084
  return i("div", {
2078
2085
  ref: e,
2079
2086
  children: ((r == null ? void 0 : r.children) || []).map((a) => i(J, {
@@ -2081,7 +2088,7 @@ const kn = Sn(), J = ({
2081
2088
  children: i(Iu, {})
2082
2089
  }))
2083
2090
  });
2084
- }, Lp = Z(i(Lu, {})), Pu = "_root_a3kem_1", Ru = "_desktop_a3kem_13", Hu = "_laptop_a3kem_14", Eu = "_promotion_a3kem_18", Bu = "_background_a3kem_34", Mu = "_content_a3kem_43", Vu = "_variant2_a3kem_56", Fu = "_logo_a3kem_60", Gu = "_left_a3kem_72", Du = "_center_a3kem_86", zu = "_slide_a3kem_92", Uu = "_slide_animated_default_a3kem_106", Wu = "_right_a3kem_116", Ku = "_buttonWrapper_a3kem_131", Xu = "_button_a3kem_131", Ju = "_button_animated_a3kem_162", Zu = "_increase_a3kem_1", T = {
2091
+ }, Pp = Z(i(Lu, {})), Pu = "_root_a3kem_1", Ru = "_desktop_a3kem_13", Hu = "_laptop_a3kem_14", Eu = "_promotion_a3kem_18", Bu = "_background_a3kem_34", Mu = "_content_a3kem_43", Vu = "_variant2_a3kem_56", Du = "_logo_a3kem_60", Fu = "_left_a3kem_72", Gu = "_center_a3kem_86", zu = "_slide_a3kem_92", Uu = "_slide_animated_default_a3kem_106", Wu = "_right_a3kem_116", Ku = "_buttonWrapper_a3kem_131", Xu = "_button_a3kem_131", Ju = "_button_animated_a3kem_162", Zu = "_increase_a3kem_1", T = {
2085
2092
  root: Pu,
2086
2093
  desktop: Ru,
2087
2094
  laptop: Hu,
@@ -2089,9 +2096,9 @@ const kn = Sn(), J = ({
2089
2096
  background: Bu,
2090
2097
  content: Mu,
2091
2098
  variant2: Vu,
2092
- logo: Fu,
2093
- left: Gu,
2094
- center: Du,
2099
+ logo: Du,
2100
+ left: Fu,
2101
+ center: Gu,
2095
2102
  slide: zu,
2096
2103
  slide_animated_default: Uu,
2097
2104
  "fade-in-out": "_fade-in-out_a3kem_1",
@@ -2104,15 +2111,15 @@ const kn = Sn(), J = ({
2104
2111
  button_animated: Ju,
2105
2112
  increase: Zu,
2106
2113
  "fade-in-top-out-bottom": "_fade-in-top-out-bottom_a3kem_1"
2107
- }, Yu = "_root_1cgtj_1", Qu = "_desktop_1cgtj_19", Gt = {
2114
+ }, Yu = "_root_1cgtj_1", Qu = "_desktop_1cgtj_19", Ft = {
2108
2115
  root: Yu,
2109
2116
  desktop: Qu
2110
2117
  }, ep = () => {
2111
2118
  var n;
2112
2119
  const e = L(), t = S(e);
2113
2120
  return i("div", {
2114
- className: j(Gt.root, {
2115
- [Gt.desktop]: (e == null ? void 0 : e.device) === "desktop"
2121
+ className: j(Ft.root, {
2122
+ [Ft.desktop]: (e == null ? void 0 : e.device) === "desktop"
2116
2123
  }),
2117
2124
  style: U(t.root, ...pe),
2118
2125
  children: (n = t.root) == null ? void 0 : n.children
@@ -2239,7 +2246,7 @@ const kn = Sn(), J = ({
2239
2246
  }, [o, t, r, n]), n;
2240
2247
  }, Np = 3700, wp = () => {
2241
2248
  var f, u, g, y, O;
2242
- const e = F(null), t = L(), n = ie({
2249
+ const e = D(null), t = L(), n = ce({
2243
2250
  targetRef: e
2244
2251
  }), o = Y(t, n), r = S(o), a = On(o), s = (h) => ({
2245
2252
  text: i(ep, {}),
@@ -2251,7 +2258,7 @@ const kn = Sn(), J = ({
2251
2258
  animationName: (x = h == null ? void 0 : h.root) == null ? void 0 : x.animationName,
2252
2259
  animationDuration: ((k = h == null ? void 0 : h.root) == null ? void 0 : k.animationDuration) || Np
2253
2260
  });
2254
- }), l = kp(c), _ = S(c[l] || {}), d = (f = _ == null ? void 0 : _.root) != null && f.hasCustomBackground ? ee((_ == null ? void 0 : _.root) || {}, ...pe) : ee(r.background, ...pe);
2261
+ }), l = kp(c), _ = S(c[l] || {}), d = (f = _ == null ? void 0 : _.root) != null && f.hasCustomBackground ? te((_ == null ? void 0 : _.root) || {}, ...pe) : te(r.background, ...pe);
2255
2262
  return i("a", {
2256
2263
  ref: e,
2257
2264
  href: (u = r.root) == null ? void 0 : u.offer,
@@ -2317,7 +2324,7 @@ const kn = Sn(), J = ({
2317
2324
  })]
2318
2325
  })]
2319
2326
  });
2320
- }, Pp = Z(i(wp, {})), Rp = (e, t, n, o, r = $n) => {
2327
+ }, Rp = Z(i(wp, {})), Hp = (e, t, n, o, r = $n) => {
2321
2328
  const a = v({}, e);
2322
2329
  return r.forEach((s) => {
2323
2330
  a[t] = C(v({}, a[t]), {
@@ -2328,14 +2335,15 @@ const kn = Sn(), J = ({
2328
2335
  }), a;
2329
2336
  };
2330
2337
  export {
2331
- Lp as BonusCard,
2332
- jp as ComplexGift,
2333
- qp as ComplexPopup,
2334
- Ip as ExpressPopup,
2335
- Ap as SimpleGift,
2336
- Sp as SimplePopup,
2337
- Pp as WideCard,
2338
+ Pp as BonusCard,
2339
+ Sp as ComplexGift,
2340
+ Ip as ComplexPopup,
2341
+ Lp as ExpressPopup,
2342
+ jp as SimpleGift,
2343
+ qp as SimplePopup,
2344
+ Rp as WideCard,
2345
+ Ap as filterDeep,
2338
2346
  Cp as findDeep,
2339
2347
  Tp as isValidTemplate,
2340
- Rp as modifyState
2348
+ Hp as modifyState
2341
2349
  };
@@ -1,5 +1,5 @@
1
- (function(v,_){typeof exports=="object"&&typeof module!="undefined"?_(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],_):(v=typeof globalThis!="undefined"?globalThis:v||self,_(v["@adstore/templates"]={},v.preact))})(this,function(v,_){"use strict";var h_=Object.defineProperty,g_=Object.defineProperties;var b_=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var en=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable;var Qo=(v,_,w)=>_ in v?h_(v,_,{enumerable:!0,configurable:!0,writable:!0,value:w}):v[_]=w,m=(v,_)=>{for(var w in _||(_={}))en.call(_,w)&&Qo(v,w,_[w]);if(tt)for(var w of tt(_))tn.call(_,w)&&Qo(v,w,_[w]);return v},L=(v,_)=>g_(v,b_(_));var ht=(v,_)=>{var w={};for(var z in v)en.call(v,z)&&_.indexOf(z)<0&&(w[z]=v[z]);if(v!=null&&tt)for(var z of tt(v))_.indexOf(z)<0&&tn.call(v,z)&&(w[z]=v[z]);return w};var gt=(v,_,w)=>new Promise((z,Le)=>{var A=M=>{try{g(w.next(M))}catch(le){Le(le)}},Y=M=>{try{g(w.throw(M))}catch(le){Le(le)}},g=M=>M.done?z(M.value):Promise.resolve(M.value).then(A,Y);g((w=w.apply(v,_)).next())});var w=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},z={},Le={get exports(){return z},set exports(e){z=e}};/*!
1
+ (function(p,_){typeof exports=="object"&&typeof module!="undefined"?_(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],_):(p=typeof globalThis!="undefined"?globalThis:p||self,_(p["@adstore/templates"]={},p.preact))})(this,function(p,_){"use strict";var g_=Object.defineProperty,b_=Object.defineProperties;var m_=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var en=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable;var Qo=(p,_,w)=>_ in p?g_(p,_,{enumerable:!0,configurable:!0,writable:!0,value:w}):p[_]=w,m=(p,_)=>{for(var w in _||(_={}))en.call(_,w)&&Qo(p,w,_[w]);if(tt)for(var w of tt(_))tn.call(_,w)&&Qo(p,w,_[w]);return p},L=(p,_)=>b_(p,m_(_));var ht=(p,_)=>{var w={};for(var z in p)en.call(p,z)&&_.indexOf(z)<0&&(w[z]=p[z]);if(p!=null&&tt)for(var z of tt(p))_.indexOf(z)<0&&tn.call(p,z)&&(w[z]=p[z]);return w};var gt=(p,_,w)=>new Promise((z,Le)=>{var A=M=>{try{g(w.next(M))}catch(le){Le(le)}},Y=M=>{try{g(w.throw(M))}catch(le){Le(le)}},g=M=>M.done?z(M.value):Promise.resolve(M.value).then(A,Y);g((w=w.apply(p,_)).next())});var w=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},z={},Le={get exports(){return z},set exports(e){z=e}};/*!
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 a=arguments[r];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var c=o.apply(null,a);c&&n.push(c)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)t.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Le);const A=z;var Y,g,M,le,me=0,bt=[],ze=[],mt=_.options.__b,yt=_.options.__r,$t=_.options.diffed,wt=_.options.__c,xt=_.options.unmount;function ye(e,t){_.options.__h&&_.options.__h(g,e,me||t),me=0;var o=g.__H||(g.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:ze}),o.__[e]}function $e(e){return me=1,on(Ct,e)}function on(e,t,o){var n=ye(Y++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Ct(void 0,t),function(c){var l=n.__N?n.__N[0]:n.__[0],d=n.t(l,c);l!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=g,!g.u)){var r=function(c,l,d){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(p){return p.__c});if(u.every(function(p){return!p.__N}))return!a||a.call(this,c,l,d);var f=!1;return u.forEach(function(p){if(p.__N){var b=p.__[0];p.__=p.__N,p.__N=void 0,b!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===c)&&(!a||a.call(this,c,l,d))};g.u=!0;var a=g.shouldComponentUpdate,i=g.componentWillUpdate;g.componentWillUpdate=function(c,l,d){if(this.__e){var u=a;a=void 0,r(c,l,d),a=u}i&&i.call(this,c,l,d)},g.shouldComponentUpdate=r}return n.__N||n.__}function de(e,t){var o=ye(Y++,3);!_.options.__s&&nt(o.__H,t)&&(o.__=e,o.i=t,g.__H.__h.push(o))}function kt(e,t){var o=ye(Y++,4);!_.options.__s&&nt(o.__H,t)&&(o.__=e,o.i=t,g.__h.push(o))}function V(e){return me=5,Tt(function(){return{current:e}},[])}function Ot(e,t,o){me=6,kt(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 Tt(e,t){var o=ye(Y++,7);return nt(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function nn(e){var t=g.context[e.__c],o=ye(Y++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(g)),t.props.value):e.__}function rn(){for(var e;e=bt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Be),e.__H.__h.forEach(ot),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){g=null,mt&&mt(e)},_.options.__r=function(e){yt&&yt(e),Y=0;var t=(g=e.__c).__H;t&&(M===g?(t.__h=[],g.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=ze,o.__N=o.i=void 0})):(t.__h.forEach(Be),t.__h.forEach(ot),t.__h=[])),M=g},_.options.diffed=function(e){$t&&$t(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(bt.push(t)!==1&&le===_.options.requestAnimationFrame||((le=_.options.requestAnimationFrame)||an)(rn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==ze&&(o.__=o.__V),o.i=void 0,o.__V=ze})),M=g=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Be),o.__h=o.__h.filter(function(n){return!n.__||ot(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],_.options.__e(n,o.__v)}}),wt&&wt(e,t)},_.options.unmount=function(e){xt&&xt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Be(n)}catch(r){t=r}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var Nt=typeof requestAnimationFrame=="function";function an(e){var t,o=function(){clearTimeout(n),Nt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);Nt&&(t=requestAnimationFrame(o))}function Be(e){var t=g,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),g=t}function ot(e){var t=g;e.__c=e.__(),g=t}function nt(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Ct(e,t){return typeof t=="function"?t(e):t}function St(e,t){for(var o in t)e[o]=t[o];return e}function At(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 Rt(e){this.props=e}(Rt.prototype=new _.Component).isPureReactComponent=!0,Rt.prototype.shouldComponentUpdate=function(e,t){return At(this.props,e)||At(this.state,t)};var jt=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),jt&&jt(e)};var sn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function we(e){function t(o){var n=St({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=sn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var cn=_.options.__e;_.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}cn(e,t,o,n)};var Et=_.options.unmount;function Lt(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=St({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Lt(n,t,o)})),e}function zt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return zt(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 rt(){this.__u=0,this.t=null,this.__b=null}function Bt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ie(){this.u=null,this.o=null}_.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Et&&Et(e)},(rt.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Bt(n.__v),a=!1,i=function(){a||(a=!0,o.__R=null,r?r(c):c())};o.__R=i;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=zt(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},l=t.__h===!0;n.__u++||l||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},rt.prototype.componentWillUnmount=function(){this.t=[]},rt.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]=Lt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&_.createElement(_.Fragment,null,e.fallback);return r&&(r.__h=null),[_.createElement(_.Fragment,null,t.__a?null:e.children),r]};var It=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]}};(Ie.prototype=new _.Component).__a=function(e){var t=this,o=Bt(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),It(t,e,n)):r()};o?o(a):a()}},Ie.prototype.render=function(e){this.u=null,this.o=new Map;var t=_.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},Ie.prototype.componentDidUpdate=Ie.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){It(e,o,t)})};var ln=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,dn=/^(?: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]/,_n=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,un=/[A-Z0-9]/g,fn=typeof document!="undefined",pn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.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 Pt=_.options.event;function vn(){}function hn(){return this.cancelBubble}function gn(){return this.defaultPrevented}_.options.event=function(e){return Pt&&(e=Pt(e)),e.persist=vn,e.isPropagationStopped=hn,e.isDefaultPrevented=gn,e.nativeEvent=e};var bn={enumerable:!1,configurable:!0,get:function(){return this.class}},qt=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var i=o[a];if(!(a==="value"&&"defaultValue"in o&&i==null||fn&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var c=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&i===!0?i="":c==="ondoubleclick"?a="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||pn(o.type)?c==="onfocus"?a="onfocusin":c==="onblur"?a="onfocusout":_n.test(a)?a=c:n.indexOf("-")===-1&&dn.test(a)?a=a.replace(un,"-$&").toLowerCase():i===null&&(i=void 0):c=a="oninput",c==="oninput"&&r[a=c]&&(a="oninputCapture"),r[a]=i}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",bn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=ln,qt&&qt(e)};var Ht=_.options.__r;_.options.__r=function(e){Ht&&Ht(e),e.__c};var Dt=_.options.diffed;_.options.diffed=function(e){Dt&&Dt(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 mn(){this.__data__=[],this.size=0}var yn=mn;function $n(e,t){return e===t||e!==e&&t!==t}var Pe=$n,wn=Pe;function xn(e,t){for(var o=e.length;o--;)if(wn(e[o][0],t))return o;return-1}var qe=xn,kn=qe,On=Array.prototype,Tn=On.splice;function Nn(e){var t=this.__data__,o=kn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():Tn.call(t,o,1),--this.size,!0}var Cn=Nn,Sn=qe;function An(e){var t=this.__data__,o=Sn(t,e);return o<0?void 0:t[o][1]}var Rn=An,jn=qe;function En(e){return jn(this.__data__,e)>-1}var Ln=En,zn=qe;function Bn(e,t){var o=this.__data__,n=zn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var In=Bn,Pn=yn,qn=Cn,Hn=Rn,Dn=Ln,Mn=In;function _e(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])}}_e.prototype.clear=Pn,_e.prototype.delete=qn,_e.prototype.get=Hn,_e.prototype.has=Dn,_e.prototype.set=Mn;var He=_e,Vn=He;function Fn(){this.__data__=new Vn,this.size=0}var Gn=Fn;function Wn(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var Un=Wn;function Kn(e){return this.__data__.get(e)}var Xn=Kn;function Jn(e){return this.__data__.has(e)}var Yn=Jn,Zn=typeof w=="object"&&w&&w.Object===Object&&w,Mt=Zn,Qn=Mt,er=typeof self=="object"&&self&&self.Object===Object&&self,tr=Qn||er||Function("return this")(),ue=tr,or=ue,nr=or.Symbol,Vt=nr,Ft=Vt,Gt=Object.prototype,rr=Gt.hasOwnProperty,ar=Gt.toString,xe=Ft?Ft.toStringTag:void 0;function ir(e){var t=rr.call(e,xe),o=e[xe];try{e[xe]=void 0;var n=!0}catch(a){}var r=ar.call(e);return n&&(t?e[xe]=o:delete e[xe]),r}var sr=ir,cr=Object.prototype,lr=cr.toString;function dr(e){return lr.call(e)}var _r=dr,Wt=Vt,ur=sr,fr=_r,pr="[object Null]",vr="[object Undefined]",Ut=Wt?Wt.toStringTag:void 0;function hr(e){return e==null?e===void 0?vr:pr:Ut&&Ut in Object(e)?ur(e):fr(e)}var De=hr;function gr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ee=gr,br=De,mr=ee,yr="[object AsyncFunction]",$r="[object Function]",wr="[object GeneratorFunction]",xr="[object Proxy]";function kr(e){if(!mr(e))return!1;var t=br(e);return t==$r||t==wr||t==yr||t==xr}var at=kr,Or=ue,Tr=Or["__core-js_shared__"],Nr=Tr,it=Nr,Kt=function(){var e=/[^.]+$/.exec(it&&it.keys&&it.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Cr(e){return!!Kt&&Kt in e}var Sr=Cr,Ar=Function.prototype,Rr=Ar.toString;function jr(e){if(e!=null){try{return Rr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Er=jr,Lr=at,zr=Sr,Br=ee,Ir=Er,Pr=/[\\^$.*+?()[\]{}|]/g,qr=/^\[object .+?Constructor\]$/,Hr=Function.prototype,Dr=Object.prototype,Mr=Hr.toString,Vr=Dr.hasOwnProperty,Fr=RegExp("^"+Mr.call(Vr).replace(Pr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Gr(e){if(!Br(e)||zr(e))return!1;var t=Lr(e)?Fr:qr;return t.test(Ir(e))}var Wr=Gr;function Ur(e,t){return e==null?void 0:e[t]}var Kr=Ur,Xr=Wr,Jr=Kr;function Yr(e,t){var o=Jr(e,t);return Xr(o)?o:void 0}var st=Yr,Zr=st,Qr=ue,ea=Zr(Qr,"Map"),Xt=ea,ta=st,oa=ta(Object,"create"),Me=oa,Jt=Me;function na(){this.__data__=Jt?Jt(null):{},this.size=0}var ra=na;function aa(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ia=aa,sa=Me,ca="__lodash_hash_undefined__",la=Object.prototype,da=la.hasOwnProperty;function _a(e){var t=this.__data__;if(sa){var o=t[e];return o===ca?void 0:o}return da.call(t,e)?t[e]:void 0}var ua=_a,fa=Me,pa=Object.prototype,va=pa.hasOwnProperty;function ha(e){var t=this.__data__;return fa?t[e]!==void 0:va.call(t,e)}var ga=ha,ba=Me,ma="__lodash_hash_undefined__";function ya(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ba&&t===void 0?ma:t,this}var $a=ya,wa=ra,xa=ia,ka=ua,Oa=ga,Ta=$a;function fe(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])}}fe.prototype.clear=wa,fe.prototype.delete=xa,fe.prototype.get=ka,fe.prototype.has=Oa,fe.prototype.set=Ta;var Na=fe,Yt=Na,Ca=He,Sa=Xt;function Aa(){this.size=0,this.__data__={hash:new Yt,map:new(Sa||Ca),string:new Yt}}var Ra=Aa;function ja(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ea=ja,La=Ea;function za(e,t){var o=e.__data__;return La(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ve=za,Ba=Ve;function Ia(e){var t=Ba(this,e).delete(e);return this.size-=t?1:0,t}var Pa=Ia,qa=Ve;function Ha(e){return qa(this,e).get(e)}var Da=Ha,Ma=Ve;function Va(e){return Ma(this,e).has(e)}var Fa=Va,Ga=Ve;function Wa(e,t){var o=Ga(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var Ua=Wa,Ka=Ra,Xa=Pa,Ja=Da,Ya=Fa,Za=Ua;function pe(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])}}pe.prototype.clear=Ka,pe.prototype.delete=Xa,pe.prototype.get=Ja,pe.prototype.has=Ya,pe.prototype.set=Za;var Qa=pe,ei=He,ti=Xt,oi=Qa,ni=200;function ri(e,t){var o=this.__data__;if(o instanceof ei){var n=o.__data__;if(!ti||n.length<ni-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new oi(n)}return o.set(e,t),this.size=o.size,this}var ai=ri,ii=He,si=Gn,ci=Un,li=Xn,di=Yn,_i=ai;function ve(e){var t=this.__data__=new ii(e);this.size=t.size}ve.prototype.clear=si,ve.prototype.delete=ci,ve.prototype.get=li,ve.prototype.has=di,ve.prototype.set=_i;var ui=ve,fi=st,pi=function(){try{var e=fi(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Zt=pi,Qt=Zt;function vi(e,t,o){t=="__proto__"&&Qt?Qt(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var ct=vi,hi=ct,gi=Pe;function bi(e,t,o){(o!==void 0&&!gi(e[t],o)||o===void 0&&!(t in e))&&hi(e,t,o)}var eo=bi;function mi(e){return function(t,o,n){for(var r=-1,a=Object(t),i=n(t),c=i.length;c--;){var l=i[e?c:++r];if(o(a[l],l,a)===!1)break}return t}}var yi=mi,$i=yi,wi=$i(),xi=wi,Fe={},ki={get exports(){return Fe},set exports(e){Fe=e}};(function(e,t){var o=ue,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a?o.Buffer:void 0,c=i?i.allocUnsafe:void 0;function l(d,u){if(u)return d.slice();var f=d.length,p=c?c(f):new d.constructor(f);return d.copy(p),p}e.exports=l})(ki,Fe);var Oi=ue,Ti=Oi.Uint8Array,Ni=Ti,to=Ni;function Ci(e){var t=new e.constructor(e.byteLength);return new to(t).set(new to(e)),t}var Si=Ci,Ai=Si;function Ri(e,t){var o=t?Ai(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var ji=Ri;function Ei(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Li=Ei,zi=ee,oo=Object.create,Bi=function(){function e(){}return function(t){if(!zi(t))return{};if(oo)return oo(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Ii=Bi;function Pi(e,t){return function(o){return e(t(o))}}var qi=Pi,Hi=qi,Di=Hi(Object.getPrototypeOf,Object),no=Di,Mi=Object.prototype;function Vi(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Mi;return e===o}var ro=Vi,Fi=Ii,Gi=no,Wi=ro;function Ui(e){return typeof e.constructor=="function"&&!Wi(e)?Fi(Gi(e)):{}}var Ki=Ui;function Xi(e){return e!=null&&typeof e=="object"}var ke=Xi,Ji=De,Yi=ke,Zi="[object Arguments]";function Qi(e){return Yi(e)&&Ji(e)==Zi}var es=Qi,ao=es,ts=ke,io=Object.prototype,os=io.hasOwnProperty,ns=io.propertyIsEnumerable,rs=ao(function(){return arguments}())?ao:function(e){return ts(e)&&os.call(e,"callee")&&!ns.call(e,"callee")},so=rs,as=Array.isArray,co=as,is=9007199254740991;function ss(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=is}var lo=ss,cs=at,ls=lo;function ds(e){return e!=null&&ls(e.length)&&!cs(e)}var lt=ds,_s=lt,us=ke;function fs(e){return us(e)&&_s(e)}var ps=fs,Oe={},vs={get exports(){return Oe},set exports(e){Oe=e}};function hs(){return!1}var gs=hs;(function(e,t){var o=ue,n=gs,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===r,c=i?o.Buffer:void 0,l=c?c.isBuffer:void 0,d=l||n;e.exports=d})(vs,Oe);var bs=De,ms=no,ys=ke,$s="[object Object]",ws=Function.prototype,xs=Object.prototype,_o=ws.toString,ks=xs.hasOwnProperty,Os=_o.call(Object);function Ts(e){if(!ys(e)||bs(e)!=$s)return!1;var t=ms(e);if(t===null)return!0;var o=ks.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&_o.call(o)==Os}var Ns=Ts,Cs=De,Ss=lo,As=ke,Rs="[object Arguments]",js="[object Array]",Es="[object Boolean]",Ls="[object Date]",zs="[object Error]",Bs="[object Function]",Is="[object Map]",Ps="[object Number]",qs="[object Object]",Hs="[object RegExp]",Ds="[object Set]",Ms="[object String]",Vs="[object WeakMap]",Fs="[object ArrayBuffer]",Gs="[object DataView]",Ws="[object Float32Array]",Us="[object Float64Array]",Ks="[object Int8Array]",Xs="[object Int16Array]",Js="[object Int32Array]",Ys="[object Uint8Array]",Zs="[object Uint8ClampedArray]",Qs="[object Uint16Array]",ec="[object Uint32Array]",y={};y[Ws]=y[Us]=y[Ks]=y[Xs]=y[Js]=y[Ys]=y[Zs]=y[Qs]=y[ec]=!0,y[Rs]=y[js]=y[Fs]=y[Es]=y[Gs]=y[Ls]=y[zs]=y[Bs]=y[Is]=y[Ps]=y[qs]=y[Hs]=y[Ds]=y[Ms]=y[Vs]=!1;function tc(e){return As(e)&&Ss(e.length)&&!!y[Cs(e)]}var oc=tc;function nc(e){return function(t){return e(t)}}var rc=nc,Ge={},ac={get exports(){return Ge},set exports(e){Ge=e}};(function(e,t){var o=Mt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a&&o.process,c=function(){try{var l=r&&r.require&&r.require("util").types;return l||i&&i.binding&&i.binding("util")}catch(d){}}();e.exports=c})(ac,Ge);var ic=oc,sc=rc,uo=Ge,fo=uo&&uo.isTypedArray,cc=fo?sc(fo):ic,po=cc;function lc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var vo=lc,dc=ct,_c=Pe,uc=Object.prototype,fc=uc.hasOwnProperty;function pc(e,t,o){var n=e[t];(!(fc.call(e,t)&&_c(n,o))||o===void 0&&!(t in e))&&dc(e,t,o)}var vc=pc,hc=vc,gc=ct;function bc(e,t,o,n){var r=!o;o||(o={});for(var a=-1,i=t.length;++a<i;){var c=t[a],l=n?n(o[c],e[c],c,o,e):void 0;l===void 0&&(l=e[c]),r?gc(o,c,l):hc(o,c,l)}return o}var mc=bc;function yc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var $c=yc,wc=9007199254740991,xc=/^(?:0|[1-9]\d*)$/;function kc(e,t){var o=typeof e;return t=t==null?wc:t,!!t&&(o=="number"||o!="symbol"&&xc.test(e))&&e>-1&&e%1==0&&e<t}var ho=kc,Oc=$c,Tc=so,Nc=co,Cc=Oe,Sc=ho,Ac=po,Rc=Object.prototype,jc=Rc.hasOwnProperty;function Ec(e,t){var o=Nc(e),n=!o&&Tc(e),r=!o&&!n&&Cc(e),a=!o&&!n&&!r&&Ac(e),i=o||n||r||a,c=i?Oc(e.length,String):[],l=c.length;for(var d in e)(t||jc.call(e,d))&&!(i&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Sc(d,l)))&&c.push(d);return c}var Lc=Ec;function zc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Bc=zc,Ic=ee,Pc=ro,qc=Bc,Hc=Object.prototype,Dc=Hc.hasOwnProperty;function Mc(e){if(!Ic(e))return qc(e);var t=Pc(e),o=[];for(var n in e)n=="constructor"&&(t||!Dc.call(e,n))||o.push(n);return o}var Vc=Mc,Fc=Lc,Gc=Vc,Wc=lt;function Uc(e){return Wc(e)?Fc(e,!0):Gc(e)}var go=Uc,Kc=mc,Xc=go;function Jc(e){return Kc(e,Xc(e))}var Yc=Jc,bo=eo,Zc=Fe,Qc=ji,el=Li,tl=Ki,mo=so,yo=co,ol=ps,nl=Oe,rl=at,al=ee,il=Ns,sl=po,$o=vo,cl=Yc;function ll(e,t,o,n,r,a,i){var c=$o(e,o),l=$o(t,o),d=i.get(l);if(d){bo(e,o,d);return}var u=a?a(c,l,o+"",e,t,i):void 0,f=u===void 0;if(f){var p=yo(l),b=!p&&nl(l),$=!p&&!b&&sl(l);u=l,p||b||$?yo(c)?u=c:ol(c)?u=el(c):b?(f=!1,u=Zc(l,!0)):$?(f=!1,u=Qc(l,!0)):u=[]:il(l)||mo(l)?(u=c,mo(c)?u=cl(c):(!al(c)||rl(c))&&(u=tl(l))):f=!1}f&&(i.set(l,u),r(u,l,n,a,i),i.delete(l)),bo(e,o,u)}var dl=ll,_l=ui,ul=eo,fl=xi,pl=dl,vl=ee,hl=go,gl=vo;function wo(e,t,o,n,r){e!==t&&fl(t,function(a,i){if(r||(r=new _l),vl(a))pl(e,t,i,o,wo,n,r);else{var c=n?n(gl(e,i),a,i+"",e,t,r):void 0;c===void 0&&(c=a),ul(e,i,c)}},hl)}var bl=wo;function ml(e){return e}var xo=ml;function yl(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 $l=yl,wl=$l,ko=Math.max;function xl(e,t,o){return t=ko(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=ko(n.length-t,0),i=Array(a);++r<a;)i[r]=n[t+r];r=-1;for(var c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=o(i),wl(e,this,c)}}var kl=xl;function Ol(e){return function(){return e}}var Tl=Ol,Nl=Tl,Oo=Zt,Cl=xo,Sl=Oo?function(e,t){return Oo(e,"toString",{configurable:!0,enumerable:!1,value:Nl(t),writable:!0})}:Cl,Al=Sl,Rl=800,jl=16,El=Date.now;function Ll(e){var t=0,o=0;return function(){var n=El(),r=jl-(n-o);if(o=n,r>0){if(++t>=Rl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var zl=Ll,Bl=Al,Il=zl,Pl=Il(Bl),ql=Pl,Hl=xo,Dl=kl,Ml=ql;function Vl(e,t){return Ml(Dl(e,t,Hl),e+"")}var Fl=Vl,Gl=Pe,Wl=lt,Ul=ho,Kl=ee;function Xl(e,t,o){if(!Kl(o))return!1;var n=typeof t;return(n=="number"?Wl(o)&&Ul(t,o.length):n=="string"&&t in o)?Gl(o[t],e):!1}var Jl=Xl,Yl=Fl,Zl=Jl;function Ql(e){return Yl(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,i=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,i&&Zl(o[0],o[1],i)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var c=o[n];c&&e(t,c,n,a)}return t})}var ed=Ql,td=bl,od=ed;od(function(e,t,o){td(e,t,o)});const Te=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(q).join(".");return Te(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const i=[o,r].filter(q).join(".");return n[r]=Te(t(r,a,i),t,i),n},{}):e,nd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},To=()=>{let e={};return{on:(i,c)=>{i in e?e[i].push(c):e[i]=[c]},has:i=>i in e,get:i=>e[i],emit:(i,...c)=>i in e?e[i].map(l=>l(...c)).filter(Boolean):[],reset:()=>e={}}},rd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),No=e=>!e&&e==null,q=e=>!No(e),he=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function Z(e,...t){const o=m({},e);return t.forEach(n=>{delete o[n]}),o}const We=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,i)=>a&&a[i],e);return r===void 0?o:r},Ue=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,i)=>(r[a]===void 0&&(r[a]={}),i===n.length-1&&(r[a]=o),r[a]),e)},ad=e=>{const t=e.slice(1);t.length===3&&(e=t.split("").map(n=>`${n}${n}`).join(""));const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},id=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),sd=e=>"id"in e&&"root"in e,cd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),ld=(e,t)=>{try{Te(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},Co=["desktop","laptop","tablet","mobile"],dd={mobile:320,tablet:768,laptop:1024,desktop:1920},k={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var _d=0;function s(e,t,o,n,r,a){var i,c,l={};for(c in t)c=="ref"?i=t[c]:l[c]=t[c];var d={type:e,props:l,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--_d,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(c in i)l[c]===void 0&&(l[c]=i[c]);return _.options.vnode&&_.options.vnode(d),d}const So=_.createContext(),te=({children:e,value:t})=>s(So.Provider,{value:t,children:e}),oe=e=>i=>gt(this,null,function*(){var c=i,{target:t,id:o,ref:n,state:r}=c,a=ht(c,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const l=yield Promise.resolve().then(()=>p_);window.ResizeObserver=l.ResizeObserver}return _.render(s(te,{value:r,children:_.cloneElement(e,m({ref:n,id:o},a))}),t)}),B=()=>nn(So),ud=(e={})=>typeof e=="object"&&q(e)&&Co.every(t=>t in e),fd=(e,t)=>e&&Te(e,(o,n)=>{if(ud(n)){const r=n[t];return"parent"in r&&q(r.parent)?m(m({},n[r.parent]),Z(r,"parent")):r}return n}),ne=(e,t)=>fd(e,t),ge=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=dd})=>{const[r,a]=$e("desktop"),i=c=>{var f;const l=c.getBoundingClientRect().width||0,d=Object.entries(m({},n)).sort(([p,b],[$,C])=>b-C),u=((f=d.find(([p,b],$)=>{const[C,h]=d[$+1]||[];return l>=b&&l<h}))==null?void 0:f[0])||"desktop";a(u)};return kt(()=>{const c=t.current.closest(`[data-${o}='${e}']`)||document.body;c&&(new ResizeObserver(()=>i(c)).observe(c),i(c))},[]),r},Ke=(e,t)=>`${e}${t}`,pd=e=>e.startsWith("px_"),vd=e=>e.startsWith("percent_"),hd=(e,t)=>{let o=e,n=t;return pd(o)&&(o=o.replace("px_",""),n=Ke(t,"px")),vd(o)&&(o=o.replace("percent_",""),n=Ke(t,"%")),{key:o,value:n}},gd=["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"],bd=(e,t)=>{const o=Object.keys(e);if((o.includes("innerHTML")||o.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.',t),typeof e!="object")return e;if("typography"in e&&"accentTypography"in e){const n=e.typography,r=e.accentTypography;e=L(m(m({},e),n),{"--font-family":r.fontFamily,"--accent-color":r.color,"px_--accent-size":r.fontSize})}return Object.entries(e).reduce((n,[r,a])=>{gd.includes(r)&&(a=Ke(a,"px"));const{key:i,value:c}=hd(r,a);if(n[i]=c,i==="hidden"&&c)return n.display="none",n;if(i==="innerHTML"&&(n.innerHTML=q(c)?`${c}`:""),i==="innerText"&&(n.innerText=q(c)?`${c}`:""),i==="children"&&(n.children=typeof c=="string"?q(c)?`${c}`:"":c),(i==="innerHTML"||i==="innerText"||i==="children")&&(typeof c=="string"&&c.length===0||No(c))&&(n.display="none"),i.includes("borderWidth")&&(n.borderStyle="solid"),i==="corner"&&(n.borderRadius=Ke(c,"px")),i==="backgroundFit"&&(n.backgroundSize=c),i==="backgroundImage"&&q(c)&&(n.backgroundImage=`url(${c})`,n.backgroundRepeat="no-repeat"),i==="backgroundColorOpacity"&&q(n.backgroundColorOpacity)&&q(n.backgroundColor)){const l=ad(n.backgroundColor);l&&(n.backgroundColor=cd(`rgb(${l.r}, ${l.g}, ${l.b})`,+n.backgroundColorOpacity/100))}return i==="isBold"&&(n.fontWeight=c?"bold":"initial"),i==="isItalic"&&(n.fontStyle=c?"italic":"initial"),i==="isThrough"&&(n.textDecoration=c?"line-through":"initial"),n},e)},md=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,j=e=>q(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=md(n)?bd(m({},e[o]),o):n,t),{}):e,Ne=o=>{var n=o,{children:e}=n,t=ht(n,["children"]);var a;const r=(a=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:a.replace(/{{(.*?)}}/g,"<span>$1</span>");return s("div",L(m({},t),{dangerouslySetInnerHTML:{__html:r}}))},Ao=()=>{const[e,t]=$e(!1);return[e,()=>t(o=>!o)]},Ce=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",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"})}),dt=()=>s("svg",{viewBox:"0 0 16 16",children:s("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.13 8H7v7.31H3.22a1.09 1.09 0 01-1.09-1.09zM9 15.34h3.81a1.09 1.09 0 001.09-1.09V8H9zm5.8-9.94v1.19a.48.48 0 01-.48.48H1.71a.48.48 0 01-.48-.48V5.4c0-.596.484-1.08 1.08-1.08H5a2.48 2.48 0 01-1.47-1.65 1.62 1.62 0 01.26-1.4 1.57 1.57 0 011-.58c.11-.01.22-.01.33 0a2.5 2.5 0 012 1A9 9 0 018 3.22a10.38 10.38 0 01.91-1.54 2.49 2.49 0 011.93-1h.36c.369.065.702.26.94.55.31.407.414.936.28 1.43a2.48 2.48 0 01-1.45 1.64h2.77a1.08 1.08 0 011.03 1.1zM8.66 4a9.81 9.81 0 001.9-.55 1.52 1.52 0 00.88-1 .68.68 0 00-.1-.59.6.6 0 00-.34-.22.58.58 0 00-.18 0 1.52 1.52 0 00-1.17.63A9.06 9.06 0 008.66 4zm-3.32-.58A9.62 9.62 0 007.25 4a8.59 8.59 0 00-1-1.72 1.51 1.51 0 00-1.18-.63h-.13a.66.66 0 00-.39.22.66.66 0 00-.09.57c.13.443.453.804.88.98z"})}),yd=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`}),Ro=(e,t)=>{var u,f,p,b,$,C,h,O,x,S,P,D,X;const o=yd(t),n=j(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,a={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:(b=n==null?void 0:n.container)==null?void 0:b.borderWidth,borderTopColor:($=n==null?void 0:n.container)==null?void 0:$.borderColor,borderTopStyle:"solid",borderLeftWidth:(C=n==null?void 0:n.container)==null?void 0:C.borderWidth,borderLeftColor:(h=n==null?void 0:n.container)==null?void 0:h.borderColor,borderLeftStyle:"solid"},i={left:(O=n==null?void 0:n.container)==null?void 0:O.left},c=(((x=n==null?void 0:n.icon)==null?void 0:x.animations)||[]).map(J=>o[J]).join(", "),l=q((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((P=n==null?void 0:n.icon)!=null&&P.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(D=n.icon)==null?void 0:D.backgroundColor} 0%, ${(X=n==null?void 0:n.icon)==null?void 0:X.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=m(L(m({},(n==null?void 0:n.icon)||{}),{animation:c}),l);return{hasIcon:r,arrowRules:a,bodyRules:i,iconRules:d}},Se=e=>{const t=new Set([]);Te(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Tt(()=>Array.from(t.values()).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);de(()=>{o.forEach(n=>nd(n))},[o])},Ae=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],$d=["borderWidth","borderColor","borderStyle"],jo=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],wd=e=>console.log(`Noop YaMektika reach goal: ${e}`),xd=e=>console.log(`Noop AdFox reach goal: ${e}`),kd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=$e(!1),a=V(null),i=l=>{clearTimeout(a.current),a.current=null},c=()=>{i(a.current),r(l=>!l)};return de(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>i(a.current)),[e]),de(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:c}},Eo=({ref:e,openDelay:t})=>{const o=V(To()),n=l=>o.current.on("open",l),r=l=>o.current.on("click",l),a=l=>o.current.on("autoOpen",l),{isOpen:i,toggle:c}=kd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Ot(e,()=>({onOpen:n,onClick:r,onAutoOpen:a})),{isOpen:i,toggle:c,click:()=>o.current.emit("click")}},Od=we(({id:e},t)=>{var O,x,S,P,D,X,J;const o=V(null),[n,r]=Ao(),a=B(),i=ge({targetRef:o,id:e}),c=ne(a,i),l=j(c),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:p}=Ro(c,{fade:k.fadein,pulse:k.pulse,wiggle:k.wiggle,gradient:k.gradient}),{isOpen:b,toggle:$,click:C}=Eo({ref:t,openDelay:(O=c==null?void 0:c.container)==null?void 0:O.delay});Se(c);const h=n?he(l.container,...$d):{};return s("div",{className:A(k.root,{[k.legalOpen]:n}),ref:o,children:[s("div",{className:k.icon,style:u,onClick:$,children:d&&s("div",{className:k.iconTarget,children:s(dt,{})})}),s("div",{className:A(k.body,{[k.bodyOpen]:b}),style:f,children:[s("div",{className:k.arrow,style:p}),s("div",{className:k.close,style:l==null?void 0:l.close,onClick:$,children:s(Ce,{})}),s("div",{className:k.container,style:l==null?void 0:l.container,children:[s("a",{href:(x=l==null?void 0:l.root)==null?void 0:x.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:C,children:[s("div",{className:k.inner,children:[s("div",{className:k.logo,style:l==null?void 0:l.logo}),s(Ne,{className:k.text,style:l==null?void 0:l.text,children:(S=l==null?void 0:l.text)==null?void 0:S.children})]}),s("div",{className:A(k.button,{[k.buttonAnimated]:l==null?void 0:l.button.isAnimated}),style:l==null?void 0:l.button,children:(P=l==null?void 0:l.button)==null?void 0:P.children})]}),s("div",{className:k.legalGap}),s("div",{className:k.legal,style:m(m({},l==null?void 0:l.legal),h),children:s("span",{className:k.legalText,children:s("span",{children:[s("span",{children:(D=l==null?void 0:l.legal)==null?void 0:D.children}),s("span",{className:k.legalButton,onClick:r,children:n?(X=l==null?void 0:l.legal)==null?void 0:X.buttonOpenText:(J=l==null?void 0:l.legal)==null?void 0:J.buttonHideText})]})})})]})]})]})}),Td=oe(s(Od,{})),T={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},F={root:"_root_tv8qf_1",body:"_body_tv8qf_30",bodyInner:"_bodyInner_tv8qf_38",line:"_line_tv8qf_43",text:"_text_tv8qf_53",button:"_button_tv8qf_69",logo:"_logo_tv8qf_81",variant2:"_variant2_tv8qf_87",buttonText:"_buttonText_tv8qf_91",legal:"_legal_tv8qf_108"},Nd=({onClick:e})=>{var n,r,a,i,c;const t=B(),o=j(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(F.root,{[F.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:F.body,children:[s("div",{className:F.line,style:o.line}),s("div",{className:F.bodyInner,children:[s("div",{className:F.logo,style:o.logo}),s("div",{className:F.text,style:o.text,children:s(Ne,{children:(a=o.text)==null?void 0:a.children})})]}),s("div",{className:F.button,style:o.button,children:[s("div",{className:F.logo,style:o.logo}),s("div",{className:F.buttonText,children:(i=o.button)==null?void 0:i.children})]})]}),s("div",{className:F.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})},Cd=we(({id:e},t)=>{var C,h,O,x;const o=V(null),n=B(),r=ge({targetRef:o,id:e}),a=ne(n,r),i=j(a),{isOpen:c,click:l,toggle:d}=Eo({ref:t,openDelay:(C=a==null?void 0:a.container)==null?void 0:C.delay});Se(a);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:b}=Ro(a,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),$=(h=i==null?void 0:i.title)==null?void 0:h.hasIcon;return s("div",{ref:o,className:A(T.root,{[T.desktop]:r==="desktop",[T.laptop]:r==="laptop",[T.tablet]:r==="tablet"}),children:[s("div",{className:T.icon,style:f,onClick:d,children:u&&s("div",{className:T.iconTarget,children:s(dt,{})})}),s("div",{className:A(T.body,{[T.bodyOpen]:c}),style:p,children:[s("div",{className:T.arrow,style:b}),s("div",{className:T.container,style:i.container,children:[s("div",{className:T.close,style:i.close,onClick:d,children:s(Ce,{})}),s("div",{className:T.promotion,style:i.promotion,children:(O=i.promotion)==null?void 0:O.children}),s("div",{className:T.head,children:[$&&s("div",{className:T.headIcon,style:he(i.title,"color"),children:s(dt,{})}),s("div",{className:T.headTitle,style:i.title,children:(x=i.title)==null?void 0:x.children})]}),s("div",{className:T.inner,children:(i.children||[]).map(S=>s(te,{value:S,children:s(Nd,{onClick:l})}))})]})]})]})}),Sd=oe(s(Cd,{})),H={root:"_root_1qzwb_1",content:"_content_1qzwb_11",laptop:"_laptop_1qzwb_20",desktop:"_desktop_1qzwb_24",wrapper:"_wrapper_1qzwb_28",overlay:"_overlay_1qzwb_32",close:"_close_1qzwb_38",body:"_body_1qzwb_46",logo:"_logo_1qzwb_54",text:"_text_1qzwb_60",button:"_button_1qzwb_64",legal:"_legal_1qzwb_79"},re=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Ad={root:"_root_2ic16_1"},Rd=()=>{var o;const e=B(),t=j(e);return s("div",{className:Ad.root,style:t.root,children:s(Ne,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},_t=(e,t=0)=>{const o=V(To()),[n,r]=$e(!1),a=d=>o.current.on("visible",d),i=d=>o.current.on("click",d),c=()=>gt(this,null,function*(){yield rd(+t),r(!0)}),l=()=>r(!1);return de(()=>{o.current.emit("visible",n)},[n]),Ot(e,()=>({onVisible:a,onClick:i,show:c,hide:l})),{isOpen:n,show:c,hide:l,click:(...d)=>{l(),o.current.emit("click",...d)}}},jd=we(({id:e,className:t},o)=>{var C,h,O,x,S,P;const n=V(null),r=ge({targetRef:n,id:e}),a=B(),i=ne(a,r);Se(i),Ue(i,"button.percent_width",(C=i==null?void 0:i.button)==null?void 0:C.width),Ue(i,"legal.percent_width",(h=i==null?void 0:i.legal)==null?void 0:h.width);const c=j(i),l=We(c,"root.delay",0),{isOpen:d,hide:u,click:f}=_t(o,l),p={alignItems:re((O=c.root)==null?void 0:O.align)},b=L(m({},c==null?void 0:c.button),{justifyContent:re((x=c.root)==null?void 0:x.textAlign)}),$=L(m({},c==null?void 0:c.legal),{justifyContent:re((S=c.root)==null?void 0:S.textAlign)});return s("div",{className:A(H.root,t),ref:n,style:{display:d?"flex":"none"},children:[s("div",{className:H.overlay,style:c.overlay,onClick:u}),s("div",{className:H.wrapper,children:[s("div",{className:H.close,style:Z(c.close,"backgroundColor"),onClick:u,children:s(Ce,{})}),s("a",{href:(P=c.root)==null?void 0:P.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(H.content,{[H.desktop]:r==="desktop",[H.tablet]:r==="tablet",[H.laptop]:r==="laptop"}),style:c.root,onClick:f,children:s("div",{className:H.body,style:p,children:[s("div",{className:H.logo,style:c.logo}),s("div",{className:H.text,children:((c==null?void 0:c.children)||[]).map(D=>s(te,{value:D,children:s(Rd,{})}))}),s("div",{className:H.button,style:b,children:b==null?void 0:b.children}),s("div",{className:H.legal,style:$,children:$==null?void 0:$.children})]})})]})]})}),Ed=oe(s(jd,{})),Q={root:"_root_y4quu_1",content:"_content_y4quu_11",desktop:"_desktop_y4quu_23",laptop:"_laptop_y4quu_23",overlay:"_overlay_y4quu_28",close:"_close_y4quu_34",title:"_title_y4quu_42",wrapper:"_wrapper_y4quu_57"},G={root:"_root_1oxkc_1",desktop:"_desktop_1oxkc_9",laptop:"_laptop_1oxkc_9",header:"_header_1oxkc_14",logo:"_logo_1oxkc_25",container:"_container_1oxkc_32",body:"_body_1oxkc_43",text:"_text_1oxkc_60",button:"_button_1oxkc_83",legal:"_legal_1oxkc_101"},Ld=({onClick:e})=>{var r,a,i,c;const t=B(),o=j(t),n=(t==null?void 0:t.device)||"desktop";return s("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(G.root,{[G.desktop]:n==="desktop",[G.laptop]:n==="laptop"}),style:Z(o.root,...jo),onClick:()=>e(o.id),children:[s("div",{className:G.header,style:o.header,children:s("div",{className:G.logo,style:o.logo})}),s("div",{className:G.container,style:he(o.root,...jo),children:[s("div",{className:G.body,children:[s("div",{className:G.logo,style:o.logo}),s(Ne,{className:G.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),s("div",{children:[s("div",{className:G.button,style:o.button,children:(i=o.button)==null?void 0:i.children}),s("div",{className:G.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})]})]})},zd=we(({id:e},t)=>{var f;const o=V(null),n=ge({targetRef:o,id:e}),r=B(),a=ne(r,n),i=j(a);Se(a);const c=We(i,"root.delay",0),{isOpen:l,hide:d,click:u}=_t(t,c);return s("div",{className:Q.root,style:{display:l?"flex":"none"},children:[s("div",{className:Q.overlay,style:i.overlay,onClick:d}),s("div",{ref:o,className:A(Q.content,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:i.root,children:[s("div",{className:Q.close,style:Z(i.close,"backgroundColor"),onClick:d,children:s(Ce,{})}),s("div",{className:Q.title,style:i.title,children:(f=i.title)==null?void 0:f.children}),s("div",{className:Q.wrapper,children:(i.children||[]).map(p=>s(te,{value:L(m({},p),{device:n}),children:s(Ld,{onClick:u})}))})]})]})}),Bd=oe(s(zd,{})),E={root:"_root_4lmgn_1",content:"_content_4lmgn_11",close:"_close_4lmgn_19",overlay:"_overlay_4lmgn_27",body:"_body_4lmgn_33",desktop:"_desktop_4lmgn_41",laptop:"_laptop_4lmgn_41",tablet:"_tablet_4lmgn_45",head:"_head_4lmgn_50",title:"_title_4lmgn_60",logo:"_logo_4lmgn_73",wrapper:"_wrapper_4lmgn_80",text:"_text_4lmgn_87",button:"_button_4lmgn_102",buttonHead:"_buttonHead_4lmgn_117",buttonTarget:"_buttonTarget_4lmgn_134",legal:"_legal_4lmgn_148"},N={root:"_root_1qxck_1",left:"_left_1qxck_8",desktop:"_desktop_1qxck_15",laptop:"_laptop_1qxck_15",teams:"_teams_1qxck_19",logo:"_logo_1qxck_25",league:"_league_1qxck_32",name:"_name_1qxck_37",right:"_right_1qxck_43",odd:"_odd_1qxck_54",oddLabel:"_oddLabel_1qxck_67",oddValue:"_oddValue_1qxck_76",team:"_team_1qxck_19",teamLogo:"_teamLogo_1qxck_102",teamName:"_teamName_1qxck_109"},Id=()=>{var n,r,a,i,c,l,d;const e=B(),t=j(e),o=(e==null?void 0:e.device)||"desktop";return s("div",{className:A(N.root,{[N.desktop]:o==="desktop",[N.laptop]:o==="laptop"}),children:[s("div",{className:N.left,children:[s("div",{className:N.teams,children:[s("div",{className:N.logo,style:t.teamALogo}),s("div",{className:N.logo,style:t.teamBLogo})]}),s("div",{className:N.body,children:[s("div",{className:N.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),s("div",{className:N.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),s("div",{className:N.right,children:[s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamALogo}),s("div",{className:N.teamName,style:t.teams,children:(i=t.teams)==null?void 0:i.teamA})]}),s("div",{className:N.odd,children:[s("div",{className:N.oddLabel,style:t.oddLabel,children:(c=t.oddLabel)==null?void 0:c.children}),s("div",{className:N.oddValue,style:t.oddValue,children:(l=t.oddValue)==null?void 0:l.children})]}),s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamBLogo}),s("div",{className:N.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},Pd=we(({id:e},t)=>{var h,O,x,S,P,D,X,J,se,ce,Qe,et,Ee;const o=V(null),n=ge({targetRef:o,id:e}),r=B(),a=ne(r,n);Ue(a,"buttonWrapper.percent_width",(h=a==null?void 0:a.buttonWrapper)==null?void 0:h.width),Ue(a,"legal.percent_width",(O=a==null?void 0:a.legal)==null?void 0:O.width);const i=j(a);Se(a);const c=We(i,"root.delay",0),{isOpen:l,hide:d,click:u}=_t(t,c),f=L(m({},i.root),{alignItems:re((x=i.root)==null?void 0:x.align)}),p=L(m({},i.content),{alignItems:re((S=i.root)==null?void 0:S.align)}),b=L(m({},i.text),{textAlign:(P=i.root)==null?void 0:P.align}),$=L(m({},i==null?void 0:i.button),{justifyContent:re((D=i.root)==null?void 0:D.textAlign)}),C=L(m({},i==null?void 0:i.legal),{justifyContent:re((X=i.root)==null?void 0:X.textAlign)});return s("div",{className:A(E.root,{[E.desktop]:n==="desktop",[E.laptop]:n==="laptop",[E.tablet]:n==="tablet"}),ref:o,style:{display:l?"flex":"none"},children:[s("div",{className:E.overlay,style:i.overlay,onClick:d}),s("div",{className:E.content,children:[s("div",{className:E.close,style:Z(i.close,"backgroundColor"),onClick:d,children:s(Ce,{})}),s("a",{ref:o,href:(J=i.root)==null?void 0:J.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:u,children:s("div",{className:E.body,style:f,children:[s("div",{className:E.head,children:[s("div",{className:E.title,style:i.title,children:(se=i.title)==null?void 0:se.children}),s("div",{className:E.logo,style:i.logo})]}),s("div",{className:E.wrapper,style:p,children:(i.children||[]).map(v_=>s(te,{value:L(m({},v_),{device:n}),children:s(Id,{})}))}),s(Ne,{className:E.text,style:b,children:(ce=i.text)==null?void 0:ce.children}),s("div",{className:E.button,style:i.buttonWrapper,children:[s("div",{className:E.buttonHead,style:i.buttonHead,children:(Qe=i.buttonHead)==null?void 0:Qe.children}),s("div",{className:E.buttonTarget,style:$,children:(et=i.button)==null?void 0:et.children})]}),s("div",{className:E.legal,style:C,children:(Ee=i.legal)==null?void 0:Ee.children})]})})]})]})}),qd=oe(s(Pd,{})),W={root:"_root_1slvw_1",background:"_background_1slvw_20",body:"_body_1slvw_29",bookmaker:"_bookmaker_1slvw_39",button:"_button_1slvw_46",rowFirst:"_rowFirst_1slvw_60",rowSecond:"_rowSecond_1slvw_66",legal:"_legal_1slvw_72",legalText:"_legalText_1slvw_88",legalOpen:"_legalOpen_1slvw_98",legalButton:"_legalButton_1slvw_103"},Lo=(e,t="root")=>{const o=V(),n=(e==null?void 0:e.yaReachGoal)||wd,r=(e==null?void 0:e.adfoxReachGoal)||xd,a=q(e)?he(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return de(()=>{id(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},Hd=()=>{var a,i,c,l,d,u,f;const e=B(),t=j(e),[o,n]=Ao(),r=Lo(e);return s("div",{className:W.root,style:t.root,children:[s("div",{className:W.background,style:t.background}),s("a",{href:(a=t.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:W.body,onClick:r,children:[s("div",{children:[s("div",{className:W.rowFirst,style:t.rowFirst,children:(i=t.rowFirst)==null?void 0:i.children}),s("div",{className:W.rowSecond,style:t.rowSecond,children:(c=t.rowSecond)==null?void 0:c.children}),s("div",{className:W.bookmaker,children:"winline"})]}),s("div",{className:W.button,style:t.button,children:(l=t.button)==null?void 0:l.children})]}),s("div",{className:A(W.legal,{[W.legalOpen]:o}),style:t.legalInfo,children:s("span",{className:W.legalText,children:[s("span",{children:(d=t.legalInfo)==null?void 0:d.children}),s("span",{className:W.legalButton,style:t.legalInfoButton,onClick:n,children:o?(u=t.legalInfoButton)==null?void 0:u.openText:(f=t.legalInfoButton)==null?void 0:f.closeText})]})})]})},Dd=oe(s(()=>{const e=V(null),t=B(),n=ne(t,"desktop"),r=j(n);return s("div",{ref:e,children:((r==null?void 0:r.children)||[]).map(a=>s(te,{value:a,children:s(Hd,{})}))})},{})),R={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},zo={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},Md=()=>{var o;const e=B(),t=j(e);return s("div",{className:A(zo.root,{[zo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:Z(t.root,...Ae),children:(o=t.root)==null?void 0:o.children})},U={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},Vd=()=>{var n,r,a;const e=B(),t=j(e),o=Z(t.root,...Ae);return s("div",{className:U.root,children:[s("div",{className:U.odd,children:[s("div",{className:U.oddLogo,style:o}),s("div",{className:U.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),s("div",{className:U.coef,children:[s("div",{className:U.coefHead,style:t.coef,children:"X"}),s("div",{className:U.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),s("div",{className:A(U.odd,U.oddReverse),children:[s("div",{className:U.oddLogo,style:o}),s("div",{className:U.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},I={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},Fd=()=>{const e=B(),t=j(e);return s("div",{className:A(I.root,{[I.desktop]:(e==null?void 0:e.device)==="desktop",[I.laptop]:(e==null?void 0:e.device)==="laptop",[I.tablet]:(e==null?void 0:e.device)==="tablet"}),style:Z(t.root,...Ae),children:[s("div",{className:I.title,children:[s("div",{className:I.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),s("div",{className:I.titleValue,style:t.titleValue,children:t.titleValue.children})]}),s("div",{children:[s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team1Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value1.children})]}),s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team2Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value2.children})]})]})]})},Gd=(e=[])=>{var a;const t=e.length,[o,n]=$e(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return de(()=>{const c=setTimeout(()=>{n(l=>l+1<t?l+1:0)},r);return()=>clearTimeout(c)},[n,t,r,o]),o},Wd=3700,Ud=oe(s(()=>{var f,p,b,$,C;const e=V(null),t=B(),o=ge({targetRef:e}),n=ne(t,o),r=j(n),a=Lo(n),i=h=>({text:s(Md,{}),matches:s(Vd,{}),matchesOneTwo:s(Fd,{})})[h],c=(r.children||[]).filter(Boolean).map(h=>{var O,x;return L(m({},h),{animationName:(O=h==null?void 0:h.root)==null?void 0:O.animationName,animationDuration:((x=h==null?void 0:h.root)==null?void 0:x.animationDuration)||Wd})}),l=Gd(c),d=j(c[l]||{}),u=(f=d==null?void 0:d.root)!=null&&f.hasCustomBackground?he((d==null?void 0:d.root)||{},...Ae):he(r.background,...Ae);return s("a",{ref:e,href:(p=r.root)==null?void 0:p.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(R.root,{[R.desktop]:o==="desktop",[R.laptop]:o==="laptop",[R.tablet]:o==="tablet",[R.variant2]:((b=r.root)==null?void 0:b.variant)==="variant2"}),style:r.root,onClick:a,children:[s("div",{className:R.background,style:u}),s("div",{className:R.promotion,style:r.promotion,children:($=r.promotion)==null?void 0:$.children}),s("div",{className:R.content,children:[s("div",{className:R.left,children:s("div",{className:R.logo,style:r.logo})}),s("div",{className:R.center,children:(r.children||[]).map((h,O)=>{var x,S;return s("div",{className:R.slide,style:{animationName:l===O?R[((x=h.root)==null?void 0:x.animationName)||"fade-in-out"]:"none",animationDuration:`${(S=h.root)==null?void 0:S.animationDuration}ms`},children:s(te,{value:L(m({},h),{device:o}),children:i(h.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:r.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:R.button,style:r.button,children:[s("div",{className:R.logo,style:r.logo}),(C=r.button)==null?void 0:C.children]})})]})]})]})},{})),Kd=(e,t,o,n,r=Co)=>{const a=m({},e);return r.forEach(i=>{a[t]=L(m({},a[t]),{[i]:L(m({},a[t][i]),{[o]:typeof n=="function"?n(We(a,`${t}.${i}.${o}`)):n})})}),a};var ae=[],Xd=function(){return ae.some(function(e){return e.activeTargets.length>0})},Jd=function(){return ae.some(function(e){return e.skippedTargets.length>0})},Bo="ResizeObserver loop completed with undelivered notifications.",Yd=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Bo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Bo),window.dispatchEvent(e)},Re;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Re||(Re={}));var ie=function(e){return Object.freeze(e)},Io=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,ie(this)}return e}(),Po=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,ie(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,i=t.bottom,c=t.left,l=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:i,left:c,width:l,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ut=function(e){return e instanceof SVGElement&&"getBBox"in e},qo=function(e){if(ut(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},Ho=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)},Zd=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},je=typeof window!="undefined"?window:{},Xe=new WeakMap,Do=/auto|scroll/,Qd=/^tb|vertical/,e_=/msie|trident/i.test(je.navigator&&je.navigator.userAgent),K=function(e){return parseFloat(e||"0")},be=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Io((o?t:e)||0,(o?e:t)||0)},Mo=ie({devicePixelContentBoxSize:be(),borderBoxSize:be(),contentBoxSize:be(),contentRect:new Po(0,0,0,0)}),Vo=function(e,t){if(t===void 0&&(t=!1),Xe.has(e)&&!t)return Xe.get(e);if(qo(e))return Xe.set(e,Mo),Mo;var o=getComputedStyle(e),n=ut(e)&&e.ownerSVGElement&&e.getBBox(),r=!e_&&o.boxSizing==="border-box",a=Qd.test(o.writingMode||""),i=!n&&Do.test(o.overflowY||""),c=!n&&Do.test(o.overflowX||""),l=n?0:K(o.paddingTop),d=n?0:K(o.paddingRight),u=n?0:K(o.paddingBottom),f=n?0:K(o.paddingLeft),p=n?0:K(o.borderTopWidth),b=n?0:K(o.borderRightWidth),$=n?0:K(o.borderBottomWidth),C=n?0:K(o.borderLeftWidth),h=f+d,O=l+u,x=C+b,S=p+$,P=c?e.offsetHeight-S-e.clientHeight:0,D=i?e.offsetWidth-x-e.clientWidth:0,X=r?h+x:0,J=r?O+S:0,se=n?n.width:K(o.width)-X-D,ce=n?n.height:K(o.height)-J-P,Qe=se+h+D+x,et=ce+O+P+S,Ee=ie({devicePixelContentBoxSize:be(Math.round(se*devicePixelRatio),Math.round(ce*devicePixelRatio),a),borderBoxSize:be(Qe,et,a),contentBoxSize:be(se,ce,a),contentRect:new Po(f,l,se,ce)});return Xe.set(e,Ee),Ee},Fo=function(e,t,o){var n=Vo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case Re.DEVICE_PIXEL_CONTENT_BOX:return i;case Re.BORDER_BOX:return r;default:return a}},Go=function(){function e(t){var o=Vo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=ie([o.borderBoxSize]),this.contentBoxSize=ie([o.contentBoxSize]),this.devicePixelContentBoxSize=ie([o.devicePixelContentBoxSize])}return e}(),Wo=function(e){if(qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},t_=function(){var e=1/0,t=[];ae.forEach(function(i){if(i.activeTargets.length!==0){var c=[];i.activeTargets.forEach(function(d){var u=new Go(d.target),f=Wo(d.target);c.push(u),d.lastReportedSize=Fo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){i.callback.call(i.observer,c,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},Uo=function(e){ae.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(Wo(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},o_=function(){var e=0;for(Uo(e);Xd();)e=t_(),Uo(e);return Jd()&&Yd(),e>0},ft,Ko=[],n_=function(){return Ko.splice(0).forEach(function(e){return e()})},r_=function(e){if(!ft){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return n_()}).observe(o,n),ft=function(){o.textContent="".concat(t?t--:t++)}}Ko.push(e),ft()},a_=function(e){r_(function(){requestAnimationFrame(e)})},Je=0,i_=function(){return!!Je},s_=250,c_={attributes:!0,characterData:!0,childList:!0,subtree:!0},Xo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Jo=function(e){return e===void 0&&(e=0),Date.now()+e},pt=!1,l_=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=s_),!pt){pt=!0;var n=Jo(t);a_(function(){var r=!1;try{r=o_()}finally{if(pt=!1,t=n-Jo(),!i_())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,c_)};document.body?o():je.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Xo.forEach(function(o){return je.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Xo.forEach(function(o){return je.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),vt=new l_,Yo=function(e){!Je&&e>0&&vt.start(),Je+=e,!Je&&vt.stop()},d_=function(e){return!ut(e)&&!Zd(e)&&getComputedStyle(e).display==="inline"},__=function(){function e(t,o){this.target=t,this.observedBox=o||Re.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Fo(this.target,this.observedBox,!0);return d_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),u_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Ye=new WeakMap,Zo=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ze=function(){function e(){}return e.connect=function(t,o){var n=new u_(t,o);Ye.set(t,n)},e.observe=function(t,o,n){var r=Ye.get(t),a=r.observationTargets.length===0;Zo(r.observationTargets,o)<0&&(a&&ae.push(r),r.observationTargets.push(new __(o,n&&n.box)),Yo(1),vt.schedule())},e.unobserve=function(t,o){var n=Ye.get(t),r=Zo(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&ae.splice(ae.indexOf(n),1),n.observationTargets.splice(r,1),Yo(-1))},e.disconnect=function(t){var o=this,n=Ye.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),f_=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.");Ze.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(!Ho(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.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(!Ho(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.unobserve(this,t)},e.prototype.disconnect=function(){Ze.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const p_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:f_,ResizeObserverEntry:Go,ResizeObserverSize:Io},Symbol.toStringTag,{value:"Module"}));v.BonusCard=Dd,v.ComplexGift=Sd,v.ComplexPopup=Bd,v.ExpressPopup=qd,v.SimpleGift=Td,v.SimplePopup=Ed,v.WideCard=Ud,v.findDeep=ld,v.isValidTemplate=sd,v.modifyState=Kd,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var c=o.apply(null,a);c&&n.push(c)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)t.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Le);const A=z;var Y,g,M,le,ye=0,bt=[],ze=[],mt=_.options.__b,yt=_.options.__r,$t=_.options.diffed,wt=_.options.__c,xt=_.options.unmount;function $e(e,t){_.options.__h&&_.options.__h(g,e,ye||t),ye=0;var o=g.__H||(g.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:ze}),o.__[e]}function we(e){return ye=1,on(Ct,e)}function on(e,t,o){var n=$e(Y++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Ct(void 0,t),function(c){var l=n.__N?n.__N[0]:n.__[0],d=n.t(l,c);l!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=g,!g.u)){var r=function(c,l,d){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(v){return v.__c});if(u.every(function(v){return!v.__N}))return!a||a.call(this,c,l,d);var f=!1;return u.forEach(function(v){if(v.__N){var b=v.__[0];v.__=v.__N,v.__N=void 0,b!==v.__[0]&&(f=!0)}}),!(!f&&n.__c.props===c)&&(!a||a.call(this,c,l,d))};g.u=!0;var a=g.shouldComponentUpdate,i=g.componentWillUpdate;g.componentWillUpdate=function(c,l,d){if(this.__e){var u=a;a=void 0,r(c,l,d),a=u}i&&i.call(this,c,l,d)},g.shouldComponentUpdate=r}return n.__N||n.__}function de(e,t){var o=$e(Y++,3);!_.options.__s&&nt(o.__H,t)&&(o.__=e,o.i=t,g.__H.__h.push(o))}function kt(e,t){var o=$e(Y++,4);!_.options.__s&&nt(o.__H,t)&&(o.__=e,o.i=t,g.__h.push(o))}function V(e){return ye=5,Tt(function(){return{current:e}},[])}function Ot(e,t,o){ye=6,kt(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 Tt(e,t){var o=$e(Y++,7);return nt(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function nn(e){var t=g.context[e.__c],o=$e(Y++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(g)),t.props.value):e.__}function rn(){for(var e;e=bt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Be),e.__H.__h.forEach(ot),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){g=null,mt&&mt(e)},_.options.__r=function(e){yt&&yt(e),Y=0;var t=(g=e.__c).__H;t&&(M===g?(t.__h=[],g.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=ze,o.__N=o.i=void 0})):(t.__h.forEach(Be),t.__h.forEach(ot),t.__h=[])),M=g},_.options.diffed=function(e){$t&&$t(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(bt.push(t)!==1&&le===_.options.requestAnimationFrame||((le=_.options.requestAnimationFrame)||an)(rn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==ze&&(o.__=o.__V),o.i=void 0,o.__V=ze})),M=g=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Be),o.__h=o.__h.filter(function(n){return!n.__||ot(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],_.options.__e(n,o.__v)}}),wt&&wt(e,t)},_.options.unmount=function(e){xt&&xt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Be(n)}catch(r){t=r}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var Nt=typeof requestAnimationFrame=="function";function an(e){var t,o=function(){clearTimeout(n),Nt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);Nt&&(t=requestAnimationFrame(o))}function Be(e){var t=g,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),g=t}function ot(e){var t=g;e.__c=e.__(),g=t}function nt(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Ct(e,t){return typeof t=="function"?t(e):t}function St(e,t){for(var o in t)e[o]=t[o];return e}function At(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 Rt(e){this.props=e}(Rt.prototype=new _.Component).isPureReactComponent=!0,Rt.prototype.shouldComponentUpdate=function(e,t){return At(this.props,e)||At(this.state,t)};var jt=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),jt&&jt(e)};var sn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function xe(e){function t(o){var n=St({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=sn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var cn=_.options.__e;_.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}cn(e,t,o,n)};var Et=_.options.unmount;function Lt(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=St({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Lt(n,t,o)})),e}function zt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return zt(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 rt(){this.__u=0,this.t=null,this.__b=null}function Bt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ie(){this.u=null,this.o=null}_.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Et&&Et(e)},(rt.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Bt(n.__v),a=!1,i=function(){a||(a=!0,o.__R=null,r?r(c):c())};o.__R=i;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=zt(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},l=t.__h===!0;n.__u++||l||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},rt.prototype.componentWillUnmount=function(){this.t=[]},rt.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]=Lt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&_.createElement(_.Fragment,null,e.fallback);return r&&(r.__h=null),[_.createElement(_.Fragment,null,t.__a?null:e.children),r]};var It=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]}};(Ie.prototype=new _.Component).__a=function(e){var t=this,o=Bt(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),It(t,e,n)):r()};o?o(a):a()}},Ie.prototype.render=function(e){this.u=null,this.o=new Map;var t=_.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},Ie.prototype.componentDidUpdate=Ie.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){It(e,o,t)})};var ln=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,dn=/^(?: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]/,_n=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,un=/[A-Z0-9]/g,fn=typeof document!="undefined",pn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.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 Pt=_.options.event;function vn(){}function hn(){return this.cancelBubble}function gn(){return this.defaultPrevented}_.options.event=function(e){return Pt&&(e=Pt(e)),e.persist=vn,e.isPropagationStopped=hn,e.isDefaultPrevented=gn,e.nativeEvent=e};var bn={enumerable:!1,configurable:!0,get:function(){return this.class}},qt=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var i=o[a];if(!(a==="value"&&"defaultValue"in o&&i==null||fn&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var c=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&i===!0?i="":c==="ondoubleclick"?a="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||pn(o.type)?c==="onfocus"?a="onfocusin":c==="onblur"?a="onfocusout":_n.test(a)?a=c:n.indexOf("-")===-1&&dn.test(a)?a=a.replace(un,"-$&").toLowerCase():i===null&&(i=void 0):c=a="oninput",c==="oninput"&&r[a=c]&&(a="oninputCapture"),r[a]=i}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",bn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=ln,qt&&qt(e)};var Ht=_.options.__r;_.options.__r=function(e){Ht&&Ht(e),e.__c};var Dt=_.options.diffed;_.options.diffed=function(e){Dt&&Dt(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 mn(){this.__data__=[],this.size=0}var yn=mn;function $n(e,t){return e===t||e!==e&&t!==t}var Pe=$n,wn=Pe;function xn(e,t){for(var o=e.length;o--;)if(wn(e[o][0],t))return o;return-1}var qe=xn,kn=qe,On=Array.prototype,Tn=On.splice;function Nn(e){var t=this.__data__,o=kn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():Tn.call(t,o,1),--this.size,!0}var Cn=Nn,Sn=qe;function An(e){var t=this.__data__,o=Sn(t,e);return o<0?void 0:t[o][1]}var Rn=An,jn=qe;function En(e){return jn(this.__data__,e)>-1}var Ln=En,zn=qe;function Bn(e,t){var o=this.__data__,n=zn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var In=Bn,Pn=yn,qn=Cn,Hn=Rn,Dn=Ln,Mn=In;function _e(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])}}_e.prototype.clear=Pn,_e.prototype.delete=qn,_e.prototype.get=Hn,_e.prototype.has=Dn,_e.prototype.set=Mn;var He=_e,Vn=He;function Fn(){this.__data__=new Vn,this.size=0}var Gn=Fn;function Wn(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var Un=Wn;function Kn(e){return this.__data__.get(e)}var Xn=Kn;function Jn(e){return this.__data__.has(e)}var Yn=Jn,Zn=typeof w=="object"&&w&&w.Object===Object&&w,Mt=Zn,Qn=Mt,er=typeof self=="object"&&self&&self.Object===Object&&self,tr=Qn||er||Function("return this")(),ue=tr,or=ue,nr=or.Symbol,Vt=nr,Ft=Vt,Gt=Object.prototype,rr=Gt.hasOwnProperty,ar=Gt.toString,ke=Ft?Ft.toStringTag:void 0;function ir(e){var t=rr.call(e,ke),o=e[ke];try{e[ke]=void 0;var n=!0}catch(a){}var r=ar.call(e);return n&&(t?e[ke]=o:delete e[ke]),r}var sr=ir,cr=Object.prototype,lr=cr.toString;function dr(e){return lr.call(e)}var _r=dr,Wt=Vt,ur=sr,fr=_r,pr="[object Null]",vr="[object Undefined]",Ut=Wt?Wt.toStringTag:void 0;function hr(e){return e==null?e===void 0?vr:pr:Ut&&Ut in Object(e)?ur(e):fr(e)}var De=hr;function gr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ee=gr,br=De,mr=ee,yr="[object AsyncFunction]",$r="[object Function]",wr="[object GeneratorFunction]",xr="[object Proxy]";function kr(e){if(!mr(e))return!1;var t=br(e);return t==$r||t==wr||t==yr||t==xr}var at=kr,Or=ue,Tr=Or["__core-js_shared__"],Nr=Tr,it=Nr,Kt=function(){var e=/[^.]+$/.exec(it&&it.keys&&it.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Cr(e){return!!Kt&&Kt in e}var Sr=Cr,Ar=Function.prototype,Rr=Ar.toString;function jr(e){if(e!=null){try{return Rr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Er=jr,Lr=at,zr=Sr,Br=ee,Ir=Er,Pr=/[\\^$.*+?()[\]{}|]/g,qr=/^\[object .+?Constructor\]$/,Hr=Function.prototype,Dr=Object.prototype,Mr=Hr.toString,Vr=Dr.hasOwnProperty,Fr=RegExp("^"+Mr.call(Vr).replace(Pr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Gr(e){if(!Br(e)||zr(e))return!1;var t=Lr(e)?Fr:qr;return t.test(Ir(e))}var Wr=Gr;function Ur(e,t){return e==null?void 0:e[t]}var Kr=Ur,Xr=Wr,Jr=Kr;function Yr(e,t){var o=Jr(e,t);return Xr(o)?o:void 0}var st=Yr,Zr=st,Qr=ue,ea=Zr(Qr,"Map"),Xt=ea,ta=st,oa=ta(Object,"create"),Me=oa,Jt=Me;function na(){this.__data__=Jt?Jt(null):{},this.size=0}var ra=na;function aa(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ia=aa,sa=Me,ca="__lodash_hash_undefined__",la=Object.prototype,da=la.hasOwnProperty;function _a(e){var t=this.__data__;if(sa){var o=t[e];return o===ca?void 0:o}return da.call(t,e)?t[e]:void 0}var ua=_a,fa=Me,pa=Object.prototype,va=pa.hasOwnProperty;function ha(e){var t=this.__data__;return fa?t[e]!==void 0:va.call(t,e)}var ga=ha,ba=Me,ma="__lodash_hash_undefined__";function ya(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ba&&t===void 0?ma:t,this}var $a=ya,wa=ra,xa=ia,ka=ua,Oa=ga,Ta=$a;function fe(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])}}fe.prototype.clear=wa,fe.prototype.delete=xa,fe.prototype.get=ka,fe.prototype.has=Oa,fe.prototype.set=Ta;var Na=fe,Yt=Na,Ca=He,Sa=Xt;function Aa(){this.size=0,this.__data__={hash:new Yt,map:new(Sa||Ca),string:new Yt}}var Ra=Aa;function ja(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ea=ja,La=Ea;function za(e,t){var o=e.__data__;return La(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ve=za,Ba=Ve;function Ia(e){var t=Ba(this,e).delete(e);return this.size-=t?1:0,t}var Pa=Ia,qa=Ve;function Ha(e){return qa(this,e).get(e)}var Da=Ha,Ma=Ve;function Va(e){return Ma(this,e).has(e)}var Fa=Va,Ga=Ve;function Wa(e,t){var o=Ga(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var Ua=Wa,Ka=Ra,Xa=Pa,Ja=Da,Ya=Fa,Za=Ua;function pe(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])}}pe.prototype.clear=Ka,pe.prototype.delete=Xa,pe.prototype.get=Ja,pe.prototype.has=Ya,pe.prototype.set=Za;var Qa=pe,ei=He,ti=Xt,oi=Qa,ni=200;function ri(e,t){var o=this.__data__;if(o instanceof ei){var n=o.__data__;if(!ti||n.length<ni-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new oi(n)}return o.set(e,t),this.size=o.size,this}var ai=ri,ii=He,si=Gn,ci=Un,li=Xn,di=Yn,_i=ai;function ve(e){var t=this.__data__=new ii(e);this.size=t.size}ve.prototype.clear=si,ve.prototype.delete=ci,ve.prototype.get=li,ve.prototype.has=di,ve.prototype.set=_i;var ui=ve,fi=st,pi=function(){try{var e=fi(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Zt=pi,Qt=Zt;function vi(e,t,o){t=="__proto__"&&Qt?Qt(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var ct=vi,hi=ct,gi=Pe;function bi(e,t,o){(o!==void 0&&!gi(e[t],o)||o===void 0&&!(t in e))&&hi(e,t,o)}var eo=bi;function mi(e){return function(t,o,n){for(var r=-1,a=Object(t),i=n(t),c=i.length;c--;){var l=i[e?c:++r];if(o(a[l],l,a)===!1)break}return t}}var yi=mi,$i=yi,wi=$i(),xi=wi,Fe={},ki={get exports(){return Fe},set exports(e){Fe=e}};(function(e,t){var o=ue,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a?o.Buffer:void 0,c=i?i.allocUnsafe:void 0;function l(d,u){if(u)return d.slice();var f=d.length,v=c?c(f):new d.constructor(f);return d.copy(v),v}e.exports=l})(ki,Fe);var Oi=ue,Ti=Oi.Uint8Array,Ni=Ti,to=Ni;function Ci(e){var t=new e.constructor(e.byteLength);return new to(t).set(new to(e)),t}var Si=Ci,Ai=Si;function Ri(e,t){var o=t?Ai(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var ji=Ri;function Ei(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Li=Ei,zi=ee,oo=Object.create,Bi=function(){function e(){}return function(t){if(!zi(t))return{};if(oo)return oo(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Ii=Bi;function Pi(e,t){return function(o){return e(t(o))}}var qi=Pi,Hi=qi,Di=Hi(Object.getPrototypeOf,Object),no=Di,Mi=Object.prototype;function Vi(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Mi;return e===o}var ro=Vi,Fi=Ii,Gi=no,Wi=ro;function Ui(e){return typeof e.constructor=="function"&&!Wi(e)?Fi(Gi(e)):{}}var Ki=Ui;function Xi(e){return e!=null&&typeof e=="object"}var Oe=Xi,Ji=De,Yi=Oe,Zi="[object Arguments]";function Qi(e){return Yi(e)&&Ji(e)==Zi}var es=Qi,ao=es,ts=Oe,io=Object.prototype,os=io.hasOwnProperty,ns=io.propertyIsEnumerable,rs=ao(function(){return arguments}())?ao:function(e){return ts(e)&&os.call(e,"callee")&&!ns.call(e,"callee")},so=rs,as=Array.isArray,co=as,is=9007199254740991;function ss(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=is}var lo=ss,cs=at,ls=lo;function ds(e){return e!=null&&ls(e.length)&&!cs(e)}var lt=ds,_s=lt,us=Oe;function fs(e){return us(e)&&_s(e)}var ps=fs,Te={},vs={get exports(){return Te},set exports(e){Te=e}};function hs(){return!1}var gs=hs;(function(e,t){var o=ue,n=gs,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===r,c=i?o.Buffer:void 0,l=c?c.isBuffer:void 0,d=l||n;e.exports=d})(vs,Te);var bs=De,ms=no,ys=Oe,$s="[object Object]",ws=Function.prototype,xs=Object.prototype,_o=ws.toString,ks=xs.hasOwnProperty,Os=_o.call(Object);function Ts(e){if(!ys(e)||bs(e)!=$s)return!1;var t=ms(e);if(t===null)return!0;var o=ks.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&_o.call(o)==Os}var Ns=Ts,Cs=De,Ss=lo,As=Oe,Rs="[object Arguments]",js="[object Array]",Es="[object Boolean]",Ls="[object Date]",zs="[object Error]",Bs="[object Function]",Is="[object Map]",Ps="[object Number]",qs="[object Object]",Hs="[object RegExp]",Ds="[object Set]",Ms="[object String]",Vs="[object WeakMap]",Fs="[object ArrayBuffer]",Gs="[object DataView]",Ws="[object Float32Array]",Us="[object Float64Array]",Ks="[object Int8Array]",Xs="[object Int16Array]",Js="[object Int32Array]",Ys="[object Uint8Array]",Zs="[object Uint8ClampedArray]",Qs="[object Uint16Array]",ec="[object Uint32Array]",y={};y[Ws]=y[Us]=y[Ks]=y[Xs]=y[Js]=y[Ys]=y[Zs]=y[Qs]=y[ec]=!0,y[Rs]=y[js]=y[Fs]=y[Es]=y[Gs]=y[Ls]=y[zs]=y[Bs]=y[Is]=y[Ps]=y[qs]=y[Hs]=y[Ds]=y[Ms]=y[Vs]=!1;function tc(e){return As(e)&&Ss(e.length)&&!!y[Cs(e)]}var oc=tc;function nc(e){return function(t){return e(t)}}var rc=nc,Ge={},ac={get exports(){return Ge},set exports(e){Ge=e}};(function(e,t){var o=Mt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a&&o.process,c=function(){try{var l=r&&r.require&&r.require("util").types;return l||i&&i.binding&&i.binding("util")}catch(d){}}();e.exports=c})(ac,Ge);var ic=oc,sc=rc,uo=Ge,fo=uo&&uo.isTypedArray,cc=fo?sc(fo):ic,po=cc;function lc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var vo=lc,dc=ct,_c=Pe,uc=Object.prototype,fc=uc.hasOwnProperty;function pc(e,t,o){var n=e[t];(!(fc.call(e,t)&&_c(n,o))||o===void 0&&!(t in e))&&dc(e,t,o)}var vc=pc,hc=vc,gc=ct;function bc(e,t,o,n){var r=!o;o||(o={});for(var a=-1,i=t.length;++a<i;){var c=t[a],l=n?n(o[c],e[c],c,o,e):void 0;l===void 0&&(l=e[c]),r?gc(o,c,l):hc(o,c,l)}return o}var mc=bc;function yc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var $c=yc,wc=9007199254740991,xc=/^(?:0|[1-9]\d*)$/;function kc(e,t){var o=typeof e;return t=t==null?wc:t,!!t&&(o=="number"||o!="symbol"&&xc.test(e))&&e>-1&&e%1==0&&e<t}var ho=kc,Oc=$c,Tc=so,Nc=co,Cc=Te,Sc=ho,Ac=po,Rc=Object.prototype,jc=Rc.hasOwnProperty;function Ec(e,t){var o=Nc(e),n=!o&&Tc(e),r=!o&&!n&&Cc(e),a=!o&&!n&&!r&&Ac(e),i=o||n||r||a,c=i?Oc(e.length,String):[],l=c.length;for(var d in e)(t||jc.call(e,d))&&!(i&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Sc(d,l)))&&c.push(d);return c}var Lc=Ec;function zc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Bc=zc,Ic=ee,Pc=ro,qc=Bc,Hc=Object.prototype,Dc=Hc.hasOwnProperty;function Mc(e){if(!Ic(e))return qc(e);var t=Pc(e),o=[];for(var n in e)n=="constructor"&&(t||!Dc.call(e,n))||o.push(n);return o}var Vc=Mc,Fc=Lc,Gc=Vc,Wc=lt;function Uc(e){return Wc(e)?Fc(e,!0):Gc(e)}var go=Uc,Kc=mc,Xc=go;function Jc(e){return Kc(e,Xc(e))}var Yc=Jc,bo=eo,Zc=Fe,Qc=ji,el=Li,tl=Ki,mo=so,yo=co,ol=ps,nl=Te,rl=at,al=ee,il=Ns,sl=po,$o=vo,cl=Yc;function ll(e,t,o,n,r,a,i){var c=$o(e,o),l=$o(t,o),d=i.get(l);if(d){bo(e,o,d);return}var u=a?a(c,l,o+"",e,t,i):void 0,f=u===void 0;if(f){var v=yo(l),b=!v&&nl(l),$=!v&&!b&&sl(l);u=l,v||b||$?yo(c)?u=c:ol(c)?u=el(c):b?(f=!1,u=Zc(l,!0)):$?(f=!1,u=Qc(l,!0)):u=[]:il(l)||mo(l)?(u=c,mo(c)?u=cl(c):(!al(c)||rl(c))&&(u=tl(l))):f=!1}f&&(i.set(l,u),r(u,l,n,a,i),i.delete(l)),bo(e,o,u)}var dl=ll,_l=ui,ul=eo,fl=xi,pl=dl,vl=ee,hl=go,gl=vo;function wo(e,t,o,n,r){e!==t&&fl(t,function(a,i){if(r||(r=new _l),vl(a))pl(e,t,i,o,wo,n,r);else{var c=n?n(gl(e,i),a,i+"",e,t,r):void 0;c===void 0&&(c=a),ul(e,i,c)}},hl)}var bl=wo;function ml(e){return e}var xo=ml;function yl(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 $l=yl,wl=$l,ko=Math.max;function xl(e,t,o){return t=ko(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=ko(n.length-t,0),i=Array(a);++r<a;)i[r]=n[t+r];r=-1;for(var c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=o(i),wl(e,this,c)}}var kl=xl;function Ol(e){return function(){return e}}var Tl=Ol,Nl=Tl,Oo=Zt,Cl=xo,Sl=Oo?function(e,t){return Oo(e,"toString",{configurable:!0,enumerable:!1,value:Nl(t),writable:!0})}:Cl,Al=Sl,Rl=800,jl=16,El=Date.now;function Ll(e){var t=0,o=0;return function(){var n=El(),r=jl-(n-o);if(o=n,r>0){if(++t>=Rl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var zl=Ll,Bl=Al,Il=zl,Pl=Il(Bl),ql=Pl,Hl=xo,Dl=kl,Ml=ql;function Vl(e,t){return Ml(Dl(e,t,Hl),e+"")}var Fl=Vl,Gl=Pe,Wl=lt,Ul=ho,Kl=ee;function Xl(e,t,o){if(!Kl(o))return!1;var n=typeof t;return(n=="number"?Wl(o)&&Ul(t,o.length):n=="string"&&t in o)?Gl(o[t],e):!1}var Jl=Xl,Yl=Fl,Zl=Jl;function Ql(e){return Yl(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,i=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,i&&Zl(o[0],o[1],i)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var c=o[n];c&&e(t,c,n,a)}return t})}var ed=Ql,td=bl,od=ed;od(function(e,t,o){td(e,t,o)});const he=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(q).join(".");return he(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const i=[o,r].filter(q).join(".");return n[r]=he(t(r,a,i),t,i),n},{}):e,nd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},To=()=>{let e={};return{on:(i,c)=>{i in e?e[i].push(c):e[i]=[c]},has:i=>i in e,get:i=>e[i],emit:(i,...c)=>i in e?e[i].map(l=>l(...c)).filter(Boolean):[],reset:()=>e={}}},rd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),No=e=>!e&&e==null,q=e=>!No(e),ge=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function Z(e,...t){const o=m({},e);return t.forEach(n=>{delete o[n]}),o}const We=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,i)=>a&&a[i],e);return r===void 0?o:r},Ue=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,i)=>(r[a]===void 0&&(r[a]={}),i===n.length-1&&(r[a]=o),r[a]),e)},ad=e=>{const t=e.slice(1);t.length===3&&(e=t.split("").map(n=>`${n}${n}`).join(""));const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},id=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),sd=e=>"id"in e&&"root"in e,cd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),ld=(e,t)=>{try{he(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},dd=(e,t)=>{const o=[];return he(e,(n,r,a)=>(t(n,r,a)&&o.push({key:n,value:r,path:a}),r)),o},Co=["desktop","laptop","tablet","mobile"],_d={mobile:320,tablet:768,laptop:1024,desktop:1920},k={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var ud=0;function s(e,t,o,n,r,a){var i,c,l={};for(c in t)c=="ref"?i=t[c]:l[c]=t[c];var d={type:e,props:l,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--ud,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(c in i)l[c]===void 0&&(l[c]=i[c]);return _.options.vnode&&_.options.vnode(d),d}const So=_.createContext(),te=({children:e,value:t})=>s(So.Provider,{value:t,children:e}),oe=e=>i=>gt(this,null,function*(){var c=i,{target:t,id:o,ref:n,state:r}=c,a=ht(c,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const l=yield Promise.resolve().then(()=>v_);window.ResizeObserver=l.ResizeObserver}return _.render(s(te,{value:r,children:_.cloneElement(e,m({ref:n,id:o},a))}),t)}),B=()=>nn(So),fd=(e={})=>typeof e=="object"&&q(e)&&Co.every(t=>t in e),pd=(e,t)=>e&&he(e,(o,n)=>{if(fd(n)){const r=n[t];return"parent"in r&&q(r.parent)?m(m({},n[r.parent]),Z(r,"parent")):r}return n}),ne=(e,t)=>pd(e,t),be=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=_d})=>{const[r,a]=we("desktop"),i=c=>{var f;const l=c.getBoundingClientRect().width||0,d=Object.entries(m({},n)).sort(([v,b],[$,C])=>b-C),u=((f=d.find(([v,b],$)=>{const[C,h]=d[$+1]||[];return l>=b&&l<h}))==null?void 0:f[0])||"desktop";a(u)};return kt(()=>{const c=t.current.closest(`[data-${o}='${e}']`)||document.body;c&&(new ResizeObserver(()=>i(c)).observe(c),i(c))},[]),r},Ke=(e,t)=>`${e}${t}`,vd=e=>e.startsWith("px_"),hd=e=>e.startsWith("percent_"),gd=(e,t)=>{let o=e,n=t;return vd(o)&&(o=o.replace("px_",""),n=Ke(t,"px")),hd(o)&&(o=o.replace("percent_",""),n=Ke(t,"%")),{key:o,value:n}},bd=["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"],md=(e,t)=>{const o=Object.keys(e);if((o.includes("innerHTML")||o.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.',t),typeof e!="object")return e;if("typography"in e&&"accentTypography"in e){const n=e.typography,r=e.accentTypography;e=L(m(m({},e),n),{"--font-family":r.fontFamily,"--accent-color":r.color,"px_--accent-size":r.fontSize})}return Object.entries(e).reduce((n,[r,a])=>{bd.includes(r)&&(a=Ke(a,"px"));const{key:i,value:c}=gd(r,a);if(n[i]=c,i==="hidden"&&c)return n.display="none",n;if(i==="innerHTML"&&(n.innerHTML=q(c)?`${c}`:""),i==="innerText"&&(n.innerText=q(c)?`${c}`:""),i==="children"&&(n.children=typeof c=="string"?q(c)?`${c}`:"":c),(i==="innerHTML"||i==="innerText"||i==="children")&&(typeof c=="string"&&c.length===0||No(c))&&(n.display="none"),i.includes("borderWidth")&&(n.borderStyle="solid"),i==="corner"&&(n.borderRadius=Ke(c,"px")),i==="backgroundFit"&&(n.backgroundSize=c),i==="backgroundImage"&&q(c)&&(n.backgroundImage=`url(${c})`,n.backgroundRepeat="no-repeat"),i==="backgroundColorOpacity"&&q(n.backgroundColorOpacity)&&q(n.backgroundColor)){const l=ad(n.backgroundColor);l&&(n.backgroundColor=cd(`rgb(${l.r}, ${l.g}, ${l.b})`,+n.backgroundColorOpacity/100))}return i==="isBold"&&(n.fontWeight=c?"bold":"initial"),i==="isItalic"&&(n.fontStyle=c?"italic":"initial"),i==="isThrough"&&(n.textDecoration=c?"line-through":"initial"),n},e)},yd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,j=e=>q(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=yd(n)?md(m({},e[o]),o):n,t),{}):e,Ne=o=>{var n=o,{children:e}=n,t=ht(n,["children"]);var a;const r=(a=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:a.replace(/{{(.*?)}}/g,"<span>$1</span>");return s("div",L(m({},t),{dangerouslySetInnerHTML:{__html:r}}))},Ao=()=>{const[e,t]=we(!1);return[e,()=>t(o=>!o)]},Ce=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",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"})}),dt=()=>s("svg",{viewBox:"0 0 16 16",children:s("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.13 8H7v7.31H3.22a1.09 1.09 0 01-1.09-1.09zM9 15.34h3.81a1.09 1.09 0 001.09-1.09V8H9zm5.8-9.94v1.19a.48.48 0 01-.48.48H1.71a.48.48 0 01-.48-.48V5.4c0-.596.484-1.08 1.08-1.08H5a2.48 2.48 0 01-1.47-1.65 1.62 1.62 0 01.26-1.4 1.57 1.57 0 011-.58c.11-.01.22-.01.33 0a2.5 2.5 0 012 1A9 9 0 018 3.22a10.38 10.38 0 01.91-1.54 2.49 2.49 0 011.93-1h.36c.369.065.702.26.94.55.31.407.414.936.28 1.43a2.48 2.48 0 01-1.45 1.64h2.77a1.08 1.08 0 011.03 1.1zM8.66 4a9.81 9.81 0 001.9-.55 1.52 1.52 0 00.88-1 .68.68 0 00-.1-.59.6.6 0 00-.34-.22.58.58 0 00-.18 0 1.52 1.52 0 00-1.17.63A9.06 9.06 0 008.66 4zm-3.32-.58A9.62 9.62 0 007.25 4a8.59 8.59 0 00-1-1.72 1.51 1.51 0 00-1.18-.63h-.13a.66.66 0 00-.39.22.66.66 0 00-.09.57c.13.443.453.804.88.98z"})}),$d=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`}),Ro=(e,t)=>{var u,f,v,b,$,C,h,O,x,S,P,D,X;const o=$d(t),n=j(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,a={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(v=n==null?void 0:n.container)==null?void 0:v.backgroundColor,borderTopWidth:(b=n==null?void 0:n.container)==null?void 0:b.borderWidth,borderTopColor:($=n==null?void 0:n.container)==null?void 0:$.borderColor,borderTopStyle:"solid",borderLeftWidth:(C=n==null?void 0:n.container)==null?void 0:C.borderWidth,borderLeftColor:(h=n==null?void 0:n.container)==null?void 0:h.borderColor,borderLeftStyle:"solid"},i={left:(O=n==null?void 0:n.container)==null?void 0:O.left},c=(((x=n==null?void 0:n.icon)==null?void 0:x.animations)||[]).map(J=>o[J]).join(", "),l=q((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((P=n==null?void 0:n.icon)!=null&&P.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(D=n.icon)==null?void 0:D.backgroundColor} 0%, ${(X=n==null?void 0:n.icon)==null?void 0:X.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=m(L(m({},(n==null?void 0:n.icon)||{}),{animation:c}),l);return{hasIcon:r,arrowRules:a,bodyRules:i,iconRules:d}},Se=e=>{const t=new Set([]);he(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Tt(()=>Array.from(t.values()).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);de(()=>{o.forEach(n=>nd(n))},[o])},Ae=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],wd=["borderWidth","borderColor","borderStyle"],jo=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],xd=e=>console.log(`Noop YaMektika reach goal: ${e}`),kd=e=>console.log(`Noop AdFox reach goal: ${e}`),Od=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=we(!1),a=V(null),i=l=>{clearTimeout(a.current),a.current=null},c=()=>{i(a.current),r(l=>!l)};return de(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>i(a.current)),[e]),de(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:c}},Eo=({ref:e,openDelay:t})=>{const o=V(To()),n=l=>o.current.on("open",l),r=l=>o.current.on("click",l),a=l=>o.current.on("autoOpen",l),{isOpen:i,toggle:c}=Od({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Ot(e,()=>({onOpen:n,onClick:r,onAutoOpen:a})),{isOpen:i,toggle:c,click:()=>o.current.emit("click")}},Td=xe(({id:e},t)=>{var O,x,S,P,D,X,J;const o=V(null),[n,r]=Ao(),a=B(),i=be({targetRef:o,id:e}),c=ne(a,i),l=j(c),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:v}=Ro(c,{fade:k.fadein,pulse:k.pulse,wiggle:k.wiggle,gradient:k.gradient}),{isOpen:b,toggle:$,click:C}=Eo({ref:t,openDelay:(O=c==null?void 0:c.container)==null?void 0:O.delay});Se(c);const h=n?ge(l.container,...wd):{};return s("div",{className:A(k.root,{[k.legalOpen]:n}),ref:o,children:[s("div",{className:k.icon,style:u,onClick:$,children:d&&s("div",{className:k.iconTarget,children:s(dt,{})})}),s("div",{className:A(k.body,{[k.bodyOpen]:b}),style:f,children:[s("div",{className:k.arrow,style:v}),s("div",{className:k.close,style:l==null?void 0:l.close,onClick:$,children:s(Ce,{})}),s("div",{className:k.container,style:l==null?void 0:l.container,children:[s("a",{href:(x=l==null?void 0:l.root)==null?void 0:x.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>C(l.id),children:[s("div",{className:k.inner,children:[s("div",{className:k.logo,style:l==null?void 0:l.logo}),s(Ne,{className:k.text,style:l==null?void 0:l.text,children:(S=l==null?void 0:l.text)==null?void 0:S.children})]}),s("div",{className:A(k.button,{[k.buttonAnimated]:l==null?void 0:l.button.isAnimated}),style:l==null?void 0:l.button,children:(P=l==null?void 0:l.button)==null?void 0:P.children})]}),s("div",{className:k.legalGap}),s("div",{className:k.legal,style:m(m({},l==null?void 0:l.legal),h),children:s("span",{className:k.legalText,children:s("span",{children:[s("span",{children:(D=l==null?void 0:l.legal)==null?void 0:D.children}),s("span",{className:k.legalButton,onClick:r,children:n?(X=l==null?void 0:l.legal)==null?void 0:X.buttonOpenText:(J=l==null?void 0:l.legal)==null?void 0:J.buttonHideText})]})})})]})]})]})}),Nd=oe(s(Td,{})),T={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},F={root:"_root_tv8qf_1",body:"_body_tv8qf_30",bodyInner:"_bodyInner_tv8qf_38",line:"_line_tv8qf_43",text:"_text_tv8qf_53",button:"_button_tv8qf_69",logo:"_logo_tv8qf_81",variant2:"_variant2_tv8qf_87",buttonText:"_buttonText_tv8qf_91",legal:"_legal_tv8qf_108"},Cd=({onClick:e})=>{var n,r,a,i,c;const t=B(),o=j(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(F.root,{[F.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:F.body,children:[s("div",{className:F.line,style:o.line}),s("div",{className:F.bodyInner,children:[s("div",{className:F.logo,style:o.logo}),s("div",{className:F.text,style:o.text,children:s(Ne,{children:(a=o.text)==null?void 0:a.children})})]}),s("div",{className:F.button,style:o.button,children:[s("div",{className:F.logo,style:o.logo}),s("div",{className:F.buttonText,children:(i=o.button)==null?void 0:i.children})]})]}),s("div",{className:F.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})},Sd=xe(({id:e},t)=>{var C,h,O,x;const o=V(null),n=B(),r=be({targetRef:o,id:e}),a=ne(n,r),i=j(a),{isOpen:c,click:l,toggle:d}=Eo({ref:t,openDelay:(C=a==null?void 0:a.container)==null?void 0:C.delay});Se(a);const{hasIcon:u,iconRules:f,bodyRules:v,arrowRules:b}=Ro(a,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),$=(h=i==null?void 0:i.title)==null?void 0:h.hasIcon;return s("div",{ref:o,className:A(T.root,{[T.desktop]:r==="desktop",[T.laptop]:r==="laptop",[T.tablet]:r==="tablet"}),children:[s("div",{className:T.icon,style:f,onClick:d,children:u&&s("div",{className:T.iconTarget,children:s(dt,{})})}),s("div",{className:A(T.body,{[T.bodyOpen]:c}),style:v,children:[s("div",{className:T.arrow,style:b}),s("div",{className:T.container,style:i.container,children:[s("div",{className:T.close,style:i.close,onClick:d,children:s(Ce,{})}),s("div",{className:T.promotion,style:i.promotion,children:(O=i.promotion)==null?void 0:O.children}),s("div",{className:T.head,children:[$&&s("div",{className:T.headIcon,style:ge(i.title,"color"),children:s(dt,{})}),s("div",{className:T.headTitle,style:i.title,children:(x=i.title)==null?void 0:x.children})]}),s("div",{className:T.inner,children:(i.children||[]).map(S=>s(te,{value:S,children:s(Cd,{onClick:l})}))})]})]})]})}),Ad=oe(s(Sd,{})),H={root:"_root_1qzwb_1",content:"_content_1qzwb_11",laptop:"_laptop_1qzwb_20",desktop:"_desktop_1qzwb_24",wrapper:"_wrapper_1qzwb_28",overlay:"_overlay_1qzwb_32",close:"_close_1qzwb_38",body:"_body_1qzwb_46",logo:"_logo_1qzwb_54",text:"_text_1qzwb_60",button:"_button_1qzwb_64",legal:"_legal_1qzwb_79"},re=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Rd={root:"_root_2ic16_1"},jd=()=>{var o;const e=B(),t=j(e);return s("div",{className:Rd.root,style:t.root,children:s(Ne,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},_t=(e,t=0)=>{const o=V(To()),[n,r]=we(!1),a=d=>o.current.on("visible",d),i=d=>o.current.on("click",d),c=()=>gt(this,null,function*(){yield rd(+t),r(!0)}),l=()=>r(!1);return de(()=>{o.current.emit("visible",n)},[n]),Ot(e,()=>({onVisible:a,onClick:i,show:c,hide:l})),{isOpen:n,show:c,hide:l,click:(...d)=>{l(),o.current.emit("click",...d)}}},Ed=xe(({id:e,className:t},o)=>{var C,h,O,x,S,P;const n=V(null),r=be({targetRef:n,id:e}),a=B(),i=ne(a,r);Se(i),Ue(i,"button.percent_width",(C=i==null?void 0:i.button)==null?void 0:C.width),Ue(i,"legal.percent_width",(h=i==null?void 0:i.legal)==null?void 0:h.width);const c=j(i),l=We(c,"root.delay",0),{isOpen:d,hide:u,click:f}=_t(o,l),v={alignItems:re((O=c.root)==null?void 0:O.align)},b=L(m({},c==null?void 0:c.button),{justifyContent:re((x=c.root)==null?void 0:x.textAlign)}),$=L(m({},c==null?void 0:c.legal),{justifyContent:re((S=c.root)==null?void 0:S.textAlign)});return s("div",{className:A(H.root,t),ref:n,style:{display:d?"flex":"none"},children:[s("div",{className:H.overlay,style:c.overlay,onClick:u}),s("div",{className:H.wrapper,children:[s("div",{className:H.close,style:Z(c.close,"backgroundColor"),onClick:u,children:s(Ce,{})}),s("a",{href:(P=c.root)==null?void 0:P.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(H.content,{[H.desktop]:r==="desktop",[H.tablet]:r==="tablet",[H.laptop]:r==="laptop"}),style:c.root,onClick:()=>f(c.id),children:s("div",{className:H.body,style:v,children:[s("div",{className:H.logo,style:c.logo}),s("div",{className:H.text,children:((c==null?void 0:c.children)||[]).map(D=>s(te,{value:D,children:s(jd,{})}))}),s("div",{className:H.button,style:b,children:b==null?void 0:b.children}),s("div",{className:H.legal,style:$,children:$==null?void 0:$.children})]})})]})]})}),Ld=oe(s(Ed,{})),Q={root:"_root_y4quu_1",content:"_content_y4quu_11",desktop:"_desktop_y4quu_23",laptop:"_laptop_y4quu_23",overlay:"_overlay_y4quu_28",close:"_close_y4quu_34",title:"_title_y4quu_42",wrapper:"_wrapper_y4quu_57"},G={root:"_root_1oxkc_1",desktop:"_desktop_1oxkc_9",laptop:"_laptop_1oxkc_9",header:"_header_1oxkc_14",logo:"_logo_1oxkc_25",container:"_container_1oxkc_32",body:"_body_1oxkc_43",text:"_text_1oxkc_60",button:"_button_1oxkc_83",legal:"_legal_1oxkc_101"},zd=({onClick:e})=>{var r,a,i,c;const t=B(),o=j(t),n=(t==null?void 0:t.device)||"desktop";return s("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(G.root,{[G.desktop]:n==="desktop",[G.laptop]:n==="laptop"}),style:Z(o.root,...jo),onClick:()=>e(o.id),children:[s("div",{className:G.header,style:o.header,children:s("div",{className:G.logo,style:o.logo})}),s("div",{className:G.container,style:ge(o.root,...jo),children:[s("div",{className:G.body,children:[s("div",{className:G.logo,style:o.logo}),s(Ne,{className:G.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),s("div",{children:[s("div",{className:G.button,style:o.button,children:(i=o.button)==null?void 0:i.children}),s("div",{className:G.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})]})]})},Bd=xe(({id:e},t)=>{var f;const o=V(null),n=be({targetRef:o,id:e}),r=B(),a=ne(r,n),i=j(a);Se(a);const c=We(i,"root.delay",0),{isOpen:l,hide:d,click:u}=_t(t,c);return s("div",{className:Q.root,style:{display:l?"flex":"none"},children:[s("div",{className:Q.overlay,style:i.overlay,onClick:d}),s("div",{ref:o,className:A(Q.content,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:i.root,children:[s("div",{className:Q.close,style:Z(i.close,"backgroundColor"),onClick:d,children:s(Ce,{})}),s("div",{className:Q.title,style:i.title,children:(f=i.title)==null?void 0:f.children}),s("div",{className:Q.wrapper,children:(i.children||[]).map(v=>s(te,{value:L(m({},v),{device:n}),children:s(zd,{onClick:u})}))})]})]})}),Id=oe(s(Bd,{})),E={root:"_root_4lmgn_1",content:"_content_4lmgn_11",close:"_close_4lmgn_19",overlay:"_overlay_4lmgn_27",body:"_body_4lmgn_33",desktop:"_desktop_4lmgn_41",laptop:"_laptop_4lmgn_41",tablet:"_tablet_4lmgn_45",head:"_head_4lmgn_50",title:"_title_4lmgn_60",logo:"_logo_4lmgn_73",wrapper:"_wrapper_4lmgn_80",text:"_text_4lmgn_87",button:"_button_4lmgn_102",buttonHead:"_buttonHead_4lmgn_117",buttonTarget:"_buttonTarget_4lmgn_134",legal:"_legal_4lmgn_148"},N={root:"_root_1qxck_1",left:"_left_1qxck_8",desktop:"_desktop_1qxck_15",laptop:"_laptop_1qxck_15",teams:"_teams_1qxck_19",logo:"_logo_1qxck_25",league:"_league_1qxck_32",name:"_name_1qxck_37",right:"_right_1qxck_43",odd:"_odd_1qxck_54",oddLabel:"_oddLabel_1qxck_67",oddValue:"_oddValue_1qxck_76",team:"_team_1qxck_19",teamLogo:"_teamLogo_1qxck_102",teamName:"_teamName_1qxck_109"},Pd=()=>{var n,r,a,i,c,l,d;const e=B(),t=j(e),o=(e==null?void 0:e.device)||"desktop";return s("div",{className:A(N.root,{[N.desktop]:o==="desktop",[N.laptop]:o==="laptop"}),children:[s("div",{className:N.left,children:[s("div",{className:N.teams,children:[s("div",{className:N.logo,style:t.teamALogo}),s("div",{className:N.logo,style:t.teamBLogo})]}),s("div",{className:N.body,children:[s("div",{className:N.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),s("div",{className:N.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),s("div",{className:N.right,children:[s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamALogo}),s("div",{className:N.teamName,style:t.teams,children:(i=t.teams)==null?void 0:i.teamA})]}),s("div",{className:N.odd,children:[s("div",{className:N.oddLabel,style:t.oddLabel,children:(c=t.oddLabel)==null?void 0:c.children}),s("div",{className:N.oddValue,style:t.oddValue,children:(l=t.oddValue)==null?void 0:l.children})]}),s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamBLogo}),s("div",{className:N.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},qd=xe(({id:e},t)=>{var h,O,x,S,P,D,X,J,se,ce,Qe,et,Ee;const o=V(null),n=be({targetRef:o,id:e}),r=B(),a=ne(r,n);Ue(a,"buttonWrapper.percent_width",(h=a==null?void 0:a.buttonWrapper)==null?void 0:h.width),Ue(a,"legal.percent_width",(O=a==null?void 0:a.legal)==null?void 0:O.width);const i=j(a);Se(a);const c=We(i,"root.delay",0),{isOpen:l,hide:d,click:u}=_t(t,c),f=L(m({},i.root),{alignItems:re((x=i.root)==null?void 0:x.align)}),v=L(m({},i.content),{alignItems:re((S=i.root)==null?void 0:S.align)}),b=L(m({},i.text),{textAlign:(P=i.root)==null?void 0:P.align}),$=L(m({},i==null?void 0:i.button),{justifyContent:re((D=i.root)==null?void 0:D.textAlign)}),C=L(m({},i==null?void 0:i.legal),{justifyContent:re((X=i.root)==null?void 0:X.textAlign)});return s("div",{className:A(E.root,{[E.desktop]:n==="desktop",[E.laptop]:n==="laptop",[E.tablet]:n==="tablet"}),ref:o,style:{display:l?"flex":"none"},children:[s("div",{className:E.overlay,style:i.overlay,onClick:d}),s("div",{className:E.content,children:[s("div",{className:E.close,style:Z(i.close,"backgroundColor"),onClick:d,children:s(Ce,{})}),s("a",{ref:o,href:(J=i.root)==null?void 0:J.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>u(i.id),children:s("div",{className:E.body,style:f,children:[s("div",{className:E.head,children:[s("div",{className:E.title,style:i.title,children:(se=i.title)==null?void 0:se.children}),s("div",{className:E.logo,style:i.logo})]}),s("div",{className:E.wrapper,style:v,children:(i.children||[]).map(h_=>s(te,{value:L(m({},h_),{device:n}),children:s(Pd,{})}))}),s(Ne,{className:E.text,style:b,children:(ce=i.text)==null?void 0:ce.children}),s("div",{className:E.button,style:i.buttonWrapper,children:[s("div",{className:E.buttonHead,style:i.buttonHead,children:(Qe=i.buttonHead)==null?void 0:Qe.children}),s("div",{className:E.buttonTarget,style:$,children:(et=i.button)==null?void 0:et.children})]}),s("div",{className:E.legal,style:C,children:(Ee=i.legal)==null?void 0:Ee.children})]})})]})]})}),Hd=oe(s(qd,{})),W={root:"_root_1slvw_1",background:"_background_1slvw_20",body:"_body_1slvw_29",bookmaker:"_bookmaker_1slvw_39",button:"_button_1slvw_46",rowFirst:"_rowFirst_1slvw_60",rowSecond:"_rowSecond_1slvw_66",legal:"_legal_1slvw_72",legalText:"_legalText_1slvw_88",legalOpen:"_legalOpen_1slvw_98",legalButton:"_legalButton_1slvw_103"},Lo=(e,t="root")=>{const o=V(),n=(e==null?void 0:e.yaReachGoal)||xd,r=(e==null?void 0:e.adfoxReachGoal)||kd,a=q(e)?ge(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return de(()=>{id(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},Dd=()=>{var a,i,c,l,d,u,f;const e=B(),t=j(e),[o,n]=Ao(),r=Lo(e);return s("div",{className:W.root,style:t.root,children:[s("div",{className:W.background,style:t.background}),s("a",{href:(a=t.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:W.body,onClick:r,children:[s("div",{children:[s("div",{className:W.rowFirst,style:t.rowFirst,children:(i=t.rowFirst)==null?void 0:i.children}),s("div",{className:W.rowSecond,style:t.rowSecond,children:(c=t.rowSecond)==null?void 0:c.children}),s("div",{className:W.bookmaker,children:"winline"})]}),s("div",{className:W.button,style:t.button,children:(l=t.button)==null?void 0:l.children})]}),s("div",{className:A(W.legal,{[W.legalOpen]:o}),style:t.legalInfo,children:s("span",{className:W.legalText,children:[s("span",{children:(d=t.legalInfo)==null?void 0:d.children}),s("span",{className:W.legalButton,style:t.legalInfoButton,onClick:n,children:o?(u=t.legalInfoButton)==null?void 0:u.openText:(f=t.legalInfoButton)==null?void 0:f.closeText})]})})]})},Md=oe(s(()=>{const e=V(null),t=B(),n=ne(t,"desktop"),r=j(n);return s("div",{ref:e,children:((r==null?void 0:r.children)||[]).map(a=>s(te,{value:a,children:s(Dd,{})}))})},{})),R={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},zo={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},Vd=()=>{var o;const e=B(),t=j(e);return s("div",{className:A(zo.root,{[zo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:Z(t.root,...Ae),children:(o=t.root)==null?void 0:o.children})},U={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},Fd=()=>{var n,r,a;const e=B(),t=j(e),o=Z(t.root,...Ae);return s("div",{className:U.root,children:[s("div",{className:U.odd,children:[s("div",{className:U.oddLogo,style:o}),s("div",{className:U.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),s("div",{className:U.coef,children:[s("div",{className:U.coefHead,style:t.coef,children:"X"}),s("div",{className:U.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),s("div",{className:A(U.odd,U.oddReverse),children:[s("div",{className:U.oddLogo,style:o}),s("div",{className:U.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},I={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},Gd=()=>{const e=B(),t=j(e);return s("div",{className:A(I.root,{[I.desktop]:(e==null?void 0:e.device)==="desktop",[I.laptop]:(e==null?void 0:e.device)==="laptop",[I.tablet]:(e==null?void 0:e.device)==="tablet"}),style:Z(t.root,...Ae),children:[s("div",{className:I.title,children:[s("div",{className:I.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),s("div",{className:I.titleValue,style:t.titleValue,children:t.titleValue.children})]}),s("div",{children:[s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team1Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value1.children})]}),s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team2Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value2.children})]})]})]})},Wd=(e=[])=>{var a;const t=e.length,[o,n]=we(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return de(()=>{const c=setTimeout(()=>{n(l=>l+1<t?l+1:0)},r);return()=>clearTimeout(c)},[n,t,r,o]),o},Ud=3700,Kd=oe(s(()=>{var f,v,b,$,C;const e=V(null),t=B(),o=be({targetRef:e}),n=ne(t,o),r=j(n),a=Lo(n),i=h=>({text:s(Vd,{}),matches:s(Fd,{}),matchesOneTwo:s(Gd,{})})[h],c=(r.children||[]).filter(Boolean).map(h=>{var O,x;return L(m({},h),{animationName:(O=h==null?void 0:h.root)==null?void 0:O.animationName,animationDuration:((x=h==null?void 0:h.root)==null?void 0:x.animationDuration)||Ud})}),l=Wd(c),d=j(c[l]||{}),u=(f=d==null?void 0:d.root)!=null&&f.hasCustomBackground?ge((d==null?void 0:d.root)||{},...Ae):ge(r.background,...Ae);return s("a",{ref:e,href:(v=r.root)==null?void 0:v.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(R.root,{[R.desktop]:o==="desktop",[R.laptop]:o==="laptop",[R.tablet]:o==="tablet",[R.variant2]:((b=r.root)==null?void 0:b.variant)==="variant2"}),style:r.root,onClick:a,children:[s("div",{className:R.background,style:u}),s("div",{className:R.promotion,style:r.promotion,children:($=r.promotion)==null?void 0:$.children}),s("div",{className:R.content,children:[s("div",{className:R.left,children:s("div",{className:R.logo,style:r.logo})}),s("div",{className:R.center,children:(r.children||[]).map((h,O)=>{var x,S;return s("div",{className:R.slide,style:{animationName:l===O?R[((x=h.root)==null?void 0:x.animationName)||"fade-in-out"]:"none",animationDuration:`${(S=h.root)==null?void 0:S.animationDuration}ms`},children:s(te,{value:L(m({},h),{device:o}),children:i(h.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:r.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:R.button,style:r.button,children:[s("div",{className:R.logo,style:r.logo}),(C=r.button)==null?void 0:C.children]})})]})]})]})},{})),Xd=(e,t,o,n,r=Co)=>{const a=m({},e);return r.forEach(i=>{a[t]=L(m({},a[t]),{[i]:L(m({},a[t][i]),{[o]:typeof n=="function"?n(We(a,`${t}.${i}.${o}`)):n})})}),a};var ae=[],Jd=function(){return ae.some(function(e){return e.activeTargets.length>0})},Yd=function(){return ae.some(function(e){return e.skippedTargets.length>0})},Bo="ResizeObserver loop completed with undelivered notifications.",Zd=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Bo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Bo),window.dispatchEvent(e)},Re;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Re||(Re={}));var ie=function(e){return Object.freeze(e)},Io=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,ie(this)}return e}(),Po=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,ie(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,i=t.bottom,c=t.left,l=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:i,left:c,width:l,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ut=function(e){return e instanceof SVGElement&&"getBBox"in e},qo=function(e){if(ut(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},Ho=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)},Qd=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},je=typeof window!="undefined"?window:{},Xe=new WeakMap,Do=/auto|scroll/,e_=/^tb|vertical/,t_=/msie|trident/i.test(je.navigator&&je.navigator.userAgent),K=function(e){return parseFloat(e||"0")},me=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Io((o?t:e)||0,(o?e:t)||0)},Mo=ie({devicePixelContentBoxSize:me(),borderBoxSize:me(),contentBoxSize:me(),contentRect:new Po(0,0,0,0)}),Vo=function(e,t){if(t===void 0&&(t=!1),Xe.has(e)&&!t)return Xe.get(e);if(qo(e))return Xe.set(e,Mo),Mo;var o=getComputedStyle(e),n=ut(e)&&e.ownerSVGElement&&e.getBBox(),r=!t_&&o.boxSizing==="border-box",a=e_.test(o.writingMode||""),i=!n&&Do.test(o.overflowY||""),c=!n&&Do.test(o.overflowX||""),l=n?0:K(o.paddingTop),d=n?0:K(o.paddingRight),u=n?0:K(o.paddingBottom),f=n?0:K(o.paddingLeft),v=n?0:K(o.borderTopWidth),b=n?0:K(o.borderRightWidth),$=n?0:K(o.borderBottomWidth),C=n?0:K(o.borderLeftWidth),h=f+d,O=l+u,x=C+b,S=v+$,P=c?e.offsetHeight-S-e.clientHeight:0,D=i?e.offsetWidth-x-e.clientWidth:0,X=r?h+x:0,J=r?O+S:0,se=n?n.width:K(o.width)-X-D,ce=n?n.height:K(o.height)-J-P,Qe=se+h+D+x,et=ce+O+P+S,Ee=ie({devicePixelContentBoxSize:me(Math.round(se*devicePixelRatio),Math.round(ce*devicePixelRatio),a),borderBoxSize:me(Qe,et,a),contentBoxSize:me(se,ce,a),contentRect:new Po(f,l,se,ce)});return Xe.set(e,Ee),Ee},Fo=function(e,t,o){var n=Vo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case Re.DEVICE_PIXEL_CONTENT_BOX:return i;case Re.BORDER_BOX:return r;default:return a}},Go=function(){function e(t){var o=Vo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=ie([o.borderBoxSize]),this.contentBoxSize=ie([o.contentBoxSize]),this.devicePixelContentBoxSize=ie([o.devicePixelContentBoxSize])}return e}(),Wo=function(e){if(qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},o_=function(){var e=1/0,t=[];ae.forEach(function(i){if(i.activeTargets.length!==0){var c=[];i.activeTargets.forEach(function(d){var u=new Go(d.target),f=Wo(d.target);c.push(u),d.lastReportedSize=Fo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){i.callback.call(i.observer,c,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},Uo=function(e){ae.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(Wo(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},n_=function(){var e=0;for(Uo(e);Jd();)e=o_(),Uo(e);return Yd()&&Zd(),e>0},ft,Ko=[],r_=function(){return Ko.splice(0).forEach(function(e){return e()})},a_=function(e){if(!ft){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return r_()}).observe(o,n),ft=function(){o.textContent="".concat(t?t--:t++)}}Ko.push(e),ft()},i_=function(e){a_(function(){requestAnimationFrame(e)})},Je=0,s_=function(){return!!Je},c_=250,l_={attributes:!0,characterData:!0,childList:!0,subtree:!0},Xo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Jo=function(e){return e===void 0&&(e=0),Date.now()+e},pt=!1,d_=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=c_),!pt){pt=!0;var n=Jo(t);i_(function(){var r=!1;try{r=n_()}finally{if(pt=!1,t=n-Jo(),!s_())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,l_)};document.body?o():je.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Xo.forEach(function(o){return je.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Xo.forEach(function(o){return je.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),vt=new d_,Yo=function(e){!Je&&e>0&&vt.start(),Je+=e,!Je&&vt.stop()},__=function(e){return!ut(e)&&!Qd(e)&&getComputedStyle(e).display==="inline"},u_=function(){function e(t,o){this.target=t,this.observedBox=o||Re.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Fo(this.target,this.observedBox,!0);return __(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),f_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Ye=new WeakMap,Zo=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ze=function(){function e(){}return e.connect=function(t,o){var n=new f_(t,o);Ye.set(t,n)},e.observe=function(t,o,n){var r=Ye.get(t),a=r.observationTargets.length===0;Zo(r.observationTargets,o)<0&&(a&&ae.push(r),r.observationTargets.push(new u_(o,n&&n.box)),Yo(1),vt.schedule())},e.unobserve=function(t,o){var n=Ye.get(t),r=Zo(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&ae.splice(ae.indexOf(n),1),n.observationTargets.splice(r,1),Yo(-1))},e.disconnect=function(t){var o=this,n=Ye.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),p_=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.");Ze.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(!Ho(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.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(!Ho(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.unobserve(this,t)},e.prototype.disconnect=function(){Ze.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const v_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:p_,ResizeObserverEntry:Go,ResizeObserverSize:Io},Symbol.toStringTag,{value:"Module"}));p.BonusCard=Md,p.ComplexGift=Ad,p.ComplexPopup=Id,p.ExpressPopup=Hd,p.SimpleGift=Nd,p.SimplePopup=Ld,p.WideCard=Kd,p.filterDeep=dd,p.findDeep=ld,p.isValidTemplate=sd,p.modifyState=Xd,Object.defineProperty(p,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.2.3",
4
+ "version": "2.2.4",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"