@adstore/templates 2.7.0 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2950 @@
1
+ var Go = Object.defineProperty, Uo = Object.defineProperties;
2
+ var Wo = Object.getOwnPropertyDescriptors;
3
+ var Rt = Object.getOwnPropertySymbols;
4
+ var me = Object.prototype.hasOwnProperty, ve = Object.prototype.propertyIsEnumerable;
5
+ var he = (t, e, o) => e in t ? Go(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, f = (t, e) => {
6
+ for (var o in e || (e = {}))
7
+ me.call(e, o) && he(t, o, e[o]);
8
+ if (Rt)
9
+ for (var o of Rt(e))
10
+ ve.call(e, o) && he(t, o, e[o]);
11
+ return t;
12
+ }, y = (t, e) => Uo(t, Wo(e));
13
+ var Yt = (t, e) => {
14
+ var o = {};
15
+ for (var n in t)
16
+ me.call(t, n) && e.indexOf(n) < 0 && (o[n] = t[n]);
17
+ if (t != null && Rt)
18
+ for (var n of Rt(t))
19
+ e.indexOf(n) < 0 && ve.call(t, n) && (o[n] = t[n]);
20
+ return o;
21
+ };
22
+ var Ct = (t, e, o) => new Promise((n, r) => {
23
+ var i = (_) => {
24
+ try {
25
+ l(o.next(_));
26
+ } catch (c) {
27
+ r(c);
28
+ }
29
+ }, s = (_) => {
30
+ try {
31
+ l(o.throw(_));
32
+ } catch (c) {
33
+ r(c);
34
+ }
35
+ }, l = (_) => _.done ? n(_.value) : Promise.resolve(_.value).then(i, s);
36
+ l((o = o.apply(t, e)).next());
37
+ });
38
+ import { options as h, Component as Ot, createElement as ye, Fragment as be, toChildArray as ne, createContext as Zo, render as Ko, cloneElement as Xo } from "preact";
39
+ var Mt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, re = {}, Jo = {
40
+ get exports() {
41
+ return re;
42
+ },
43
+ set exports(t) {
44
+ re = t;
45
+ }
46
+ };
47
+ /*!
48
+ Copyright (c) 2018 Jed Watson.
49
+ Licensed under the MIT License (MIT), see
50
+ http://jedwatson.github.io/classnames
51
+ */
52
+ (function(t) {
53
+ (function() {
54
+ var e = {}.hasOwnProperty;
55
+ function o() {
56
+ for (var n = [], r = 0; r < arguments.length; r++) {
57
+ var i = arguments[r];
58
+ if (i) {
59
+ var s = typeof i;
60
+ if (s === "string" || s === "number")
61
+ n.push(i);
62
+ else if (Array.isArray(i)) {
63
+ if (i.length) {
64
+ var l = o.apply(null, i);
65
+ l && n.push(l);
66
+ }
67
+ } else if (s === "object") {
68
+ if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]")) {
69
+ n.push(i.toString());
70
+ continue;
71
+ }
72
+ for (var _ in i)
73
+ e.call(i, _) && i[_] && n.push(_);
74
+ }
75
+ }
76
+ }
77
+ return n.join(" ");
78
+ }
79
+ t.exports ? (o.default = o, t.exports = o) : window.classNames = o;
80
+ })();
81
+ })(Jo);
82
+ const L = re;
83
+ var mt, x, te, $e, ht = 0, io = [], Vt = [], ke = h.__b, Ne = h.__r, xe = h.diffed, Ce = h.__c, we = h.unmount;
84
+ function At(t, e) {
85
+ h.__h && h.__h(x, t, ht || e), ht = 0;
86
+ var o = x.__H || (x.__H = { __: [], __h: [] });
87
+ return t >= o.__.length && o.__.push({ __V: Vt }), o.__[t];
88
+ }
89
+ function nt(t) {
90
+ return ht = 1, Qo(lo, t);
91
+ }
92
+ function Qo(t, e, o) {
93
+ var n = At(mt++, 2);
94
+ if (n.t = t, !n.__c && (n.__ = [o ? o(e) : lo(void 0, e), function(l) {
95
+ var _ = n.__N ? n.__N[0] : n.__[0], c = n.t(_, l);
96
+ _ !== c && (n.__N = [c, n.__[1]], n.__c.setState({}));
97
+ }], n.__c = x, !x.u)) {
98
+ var r = function(l, _, c) {
99
+ if (!n.__c.__H)
100
+ return !0;
101
+ var d = n.__c.__H.__.filter(function(u) {
102
+ return u.__c;
103
+ });
104
+ if (d.every(function(u) {
105
+ return !u.__N;
106
+ }))
107
+ return !i || i.call(this, l, _, c);
108
+ var p = !1;
109
+ return d.forEach(function(u) {
110
+ if (u.__N) {
111
+ var g = u.__[0];
112
+ u.__ = u.__N, u.__N = void 0, g !== u.__[0] && (p = !0);
113
+ }
114
+ }), !(!p && n.__c.props === l) && (!i || i.call(this, l, _, c));
115
+ };
116
+ x.u = !0;
117
+ var i = x.shouldComponentUpdate, s = x.componentWillUpdate;
118
+ x.componentWillUpdate = function(l, _, c) {
119
+ if (this.__e) {
120
+ var d = i;
121
+ i = void 0, r(l, _, c), i = d;
122
+ }
123
+ s && s.call(this, l, _, c);
124
+ }, x.shouldComponentUpdate = r;
125
+ }
126
+ return n.__N || n.__;
127
+ }
128
+ function V(t, e) {
129
+ var o = At(mt++, 3);
130
+ !h.__s && ie(o.__H, e) && (o.__ = t, o.i = e, x.__H.__h.push(o));
131
+ }
132
+ function co(t, e) {
133
+ var o = At(mt++, 4);
134
+ !h.__s && ie(o.__H, e) && (o.__ = t, o.i = e, x.__h.push(o));
135
+ }
136
+ function q(t) {
137
+ return ht = 5, It(function() {
138
+ return { current: t };
139
+ }, []);
140
+ }
141
+ function St(t, e, o) {
142
+ ht = 6, co(function() {
143
+ return typeof t == "function" ? (t(e()), function() {
144
+ return t(null);
145
+ }) : t ? (t.current = e(), function() {
146
+ return t.current = null;
147
+ }) : void 0;
148
+ }, o == null ? o : o.concat(t));
149
+ }
150
+ function It(t, e) {
151
+ var o = At(mt++, 7);
152
+ return ie(o.__H, e) ? (o.__V = t(), o.i = e, o.__h = t, o.__V) : o.__;
153
+ }
154
+ function Yo(t, e) {
155
+ return ht = 8, It(function() {
156
+ return t;
157
+ }, e);
158
+ }
159
+ function tn(t) {
160
+ var e = x.context[t.__c], o = At(mt++, 9);
161
+ return o.c = t, e ? (o.__ == null && (o.__ = !0, e.sub(x)), e.props.value) : t.__;
162
+ }
163
+ function en() {
164
+ for (var t; t = io.shift(); )
165
+ if (t.__P && t.__H)
166
+ try {
167
+ t.__H.__h.forEach(Bt), t.__H.__h.forEach(ae), t.__H.__h = [];
168
+ } catch (e) {
169
+ t.__H.__h = [], h.__e(e, t.__v);
170
+ }
171
+ }
172
+ h.__b = function(t) {
173
+ x = null, ke && ke(t);
174
+ }, h.__r = function(t) {
175
+ Ne && Ne(t), mt = 0;
176
+ var e = (x = t.__c).__H;
177
+ e && (te === x ? (e.__h = [], x.__h = [], e.__.forEach(function(o) {
178
+ o.__N && (o.__ = o.__N), o.__V = Vt, o.__N = o.i = void 0;
179
+ })) : (e.__h.forEach(Bt), e.__h.forEach(ae), e.__h = [])), te = x;
180
+ }, h.diffed = function(t) {
181
+ xe && xe(t);
182
+ var e = t.__c;
183
+ e && e.__H && (e.__H.__h.length && (io.push(e) !== 1 && $e === h.requestAnimationFrame || (($e = h.requestAnimationFrame) || on)(en)), e.__H.__.forEach(function(o) {
184
+ o.i && (o.__H = o.i), o.__V !== Vt && (o.__ = o.__V), o.i = void 0, o.__V = Vt;
185
+ })), te = x = null;
186
+ }, h.__c = function(t, e) {
187
+ e.some(function(o) {
188
+ try {
189
+ o.__h.forEach(Bt), o.__h = o.__h.filter(function(n) {
190
+ return !n.__ || ae(n);
191
+ });
192
+ } catch (n) {
193
+ e.some(function(r) {
194
+ r.__h && (r.__h = []);
195
+ }), e = [], h.__e(n, o.__v);
196
+ }
197
+ }), Ce && Ce(t, e);
198
+ }, h.unmount = function(t) {
199
+ we && we(t);
200
+ var e, o = t.__c;
201
+ o && o.__H && (o.__H.__.forEach(function(n) {
202
+ try {
203
+ Bt(n);
204
+ } catch (r) {
205
+ e = r;
206
+ }
207
+ }), o.__H = void 0, e && h.__e(e, o.__v));
208
+ };
209
+ var Te = typeof requestAnimationFrame == "function";
210
+ function on(t) {
211
+ var e, o = function() {
212
+ clearTimeout(n), Te && cancelAnimationFrame(e), setTimeout(t);
213
+ }, n = setTimeout(o, 100);
214
+ Te && (e = requestAnimationFrame(o));
215
+ }
216
+ function Bt(t) {
217
+ var e = x, o = t.__c;
218
+ typeof o == "function" && (t.__c = void 0, o()), x = e;
219
+ }
220
+ function ae(t) {
221
+ var e = x;
222
+ t.__c = t.__(), x = e;
223
+ }
224
+ function ie(t, e) {
225
+ return !t || t.length !== e.length || e.some(function(o, n) {
226
+ return o !== t[n];
227
+ });
228
+ }
229
+ function lo(t, e) {
230
+ return typeof e == "function" ? e(t) : e;
231
+ }
232
+ function _o(t, e) {
233
+ for (var o in e)
234
+ t[o] = e[o];
235
+ return t;
236
+ }
237
+ function Oe(t, e) {
238
+ for (var o in t)
239
+ if (o !== "__source" && !(o in e))
240
+ return !0;
241
+ for (var n in e)
242
+ if (n !== "__source" && t[n] !== e[n])
243
+ return !0;
244
+ return !1;
245
+ }
246
+ function je(t) {
247
+ this.props = t;
248
+ }
249
+ (je.prototype = new Ot()).isPureReactComponent = !0, je.prototype.shouldComponentUpdate = function(t, e) {
250
+ return Oe(this.props, t) || Oe(this.state, e);
251
+ };
252
+ var Le = h.__b;
253
+ h.__b = function(t) {
254
+ t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), Le && Le(t);
255
+ };
256
+ var nn = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
257
+ function st(t) {
258
+ function e(o) {
259
+ var n = _o({}, o);
260
+ return delete n.ref, t(n, o.ref || null);
261
+ }
262
+ return e.$$typeof = nn, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
263
+ }
264
+ var rn = h.__e;
265
+ h.__e = function(t, e, o, n) {
266
+ if (t.then) {
267
+ for (var r, i = e; i = i.__; )
268
+ if ((r = i.__c) && r.__c)
269
+ return e.__e == null && (e.__e = o.__e, e.__k = o.__k), r.__c(t, e);
270
+ }
271
+ rn(t, e, o, n);
272
+ };
273
+ var Ae = h.unmount;
274
+ function uo(t, e, o) {
275
+ return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(n) {
276
+ typeof n.__c == "function" && n.__c();
277
+ }), t.__c.__H = null), (t = _o({}, t)).__c != null && (t.__c.__P === o && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(n) {
278
+ return uo(n, e, o);
279
+ })), t;
280
+ }
281
+ function po(t, e, o) {
282
+ return t && (t.__v = null, t.__k = t.__k && t.__k.map(function(n) {
283
+ return po(n, e, o);
284
+ }), t.__c && t.__c.__P === e && (t.__e && o.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = o)), t;
285
+ }
286
+ function ee() {
287
+ this.__u = 0, this.t = null, this.__b = null;
288
+ }
289
+ function fo(t) {
290
+ var e = t.__.__c;
291
+ return e && e.__a && e.__a(t);
292
+ }
293
+ function Et() {
294
+ this.u = null, this.o = null;
295
+ }
296
+ h.unmount = function(t) {
297
+ var e = t.__c;
298
+ e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), Ae && Ae(t);
299
+ }, (ee.prototype = new Ot()).__c = function(t, e) {
300
+ var o = e.__c, n = this;
301
+ n.t == null && (n.t = []), n.t.push(o);
302
+ var r = fo(n.__v), i = !1, s = function() {
303
+ i || (i = !0, o.__R = null, r ? r(l) : l());
304
+ };
305
+ o.__R = s;
306
+ var l = function() {
307
+ if (!--n.__u) {
308
+ if (n.state.__a) {
309
+ var c = n.state.__a;
310
+ n.__v.__k[0] = po(c, c.__c.__P, c.__c.__O);
311
+ }
312
+ var d;
313
+ for (n.setState({ __a: n.__b = null }); d = n.t.pop(); )
314
+ d.forceUpdate();
315
+ }
316
+ }, _ = e.__h === !0;
317
+ n.__u++ || _ || n.setState({ __a: n.__b = n.__v.__k[0] }), t.then(s, s);
318
+ }, ee.prototype.componentWillUnmount = function() {
319
+ this.t = [];
320
+ }, ee.prototype.render = function(t, e) {
321
+ if (this.__b) {
322
+ if (this.__v.__k) {
323
+ var o = document.createElement("div"), n = this.__v.__k[0].__c;
324
+ this.__v.__k[0] = uo(this.__b, o, n.__O = n.__P);
325
+ }
326
+ this.__b = null;
327
+ }
328
+ var r = e.__a && ye(be, null, t.fallback);
329
+ return r && (r.__h = null), [ye(be, null, e.__a ? null : t.children), r];
330
+ };
331
+ var Se = function(t, e, o) {
332
+ if (++o[1] === o[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
333
+ for (o = t.u; o; ) {
334
+ for (; o.length > 3; )
335
+ o.pop()();
336
+ if (o[1] < o[0])
337
+ break;
338
+ t.u = o = o[2];
339
+ }
340
+ };
341
+ (Et.prototype = new Ot()).__a = function(t) {
342
+ var e = this, o = fo(e.__v), n = e.o.get(t);
343
+ return n[0]++, function(r) {
344
+ var i = function() {
345
+ e.props.revealOrder ? (n.push(r), Se(e, t, n)) : r();
346
+ };
347
+ o ? o(i) : i();
348
+ };
349
+ }, Et.prototype.render = function(t) {
350
+ this.u = null, this.o = /* @__PURE__ */ new Map();
351
+ var e = ne(t.children);
352
+ t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
353
+ for (var o = e.length; o--; )
354
+ this.o.set(e[o], this.u = [1, 0, this.u]);
355
+ return t.children;
356
+ }, Et.prototype.componentDidUpdate = Et.prototype.componentDidMount = function() {
357
+ var t = this;
358
+ this.o.forEach(function(e, o) {
359
+ Se(t, o, e);
360
+ });
361
+ };
362
+ var an = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, sn = /^(?: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]/, cn = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, ln = /[A-Z0-9]/g, _n = typeof document != "undefined", dn = function(t) {
363
+ return (typeof Symbol != "undefined" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
364
+ };
365
+ Ot.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
366
+ Object.defineProperty(Ot.prototype, t, { configurable: !0, get: function() {
367
+ return this["UNSAFE_" + t];
368
+ }, set: function(e) {
369
+ Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
370
+ } });
371
+ });
372
+ var Ie = h.event;
373
+ function un() {
374
+ }
375
+ function pn() {
376
+ return this.cancelBubble;
377
+ }
378
+ function fn() {
379
+ return this.defaultPrevented;
380
+ }
381
+ h.event = function(t) {
382
+ return Ie && (t = Ie(t)), t.persist = un, t.isPropagationStopped = pn, t.isDefaultPrevented = fn, t.nativeEvent = t;
383
+ };
384
+ var gn = { enumerable: !1, configurable: !0, get: function() {
385
+ return this.class;
386
+ } }, Pe = h.vnode;
387
+ h.vnode = function(t) {
388
+ typeof t.type == "string" && function(e) {
389
+ var o = e.props, n = e.type, r = {};
390
+ for (var i in o) {
391
+ var s = o[i];
392
+ if (!(i === "value" && "defaultValue" in o && s == null || _n && i === "children" && n === "noscript" || i === "class" || i === "className")) {
393
+ var l = i.toLowerCase();
394
+ i === "defaultValue" && "value" in o && o.value == null ? i = "value" : i === "download" && s === !0 ? s = "" : l === "ondoubleclick" ? i = "ondblclick" : l !== "onchange" || n !== "input" && n !== "textarea" || dn(o.type) ? l === "onfocus" ? i = "onfocusin" : l === "onblur" ? i = "onfocusout" : cn.test(i) ? i = l : n.indexOf("-") === -1 && sn.test(i) ? i = i.replace(ln, "-$&").toLowerCase() : s === null && (s = void 0) : l = i = "oninput", l === "oninput" && r[i = l] && (i = "oninputCapture"), r[i] = s;
395
+ }
396
+ }
397
+ n == "select" && r.multiple && Array.isArray(r.value) && (r.value = ne(o.children).forEach(function(_) {
398
+ _.props.selected = r.value.indexOf(_.props.value) != -1;
399
+ })), n == "select" && r.defaultValue != null && (r.value = ne(o.children).forEach(function(_) {
400
+ _.props.selected = r.multiple ? r.defaultValue.indexOf(_.props.value) != -1 : r.defaultValue == _.props.value;
401
+ })), o.class && !o.className ? (r.class = o.class, Object.defineProperty(r, "className", gn)) : (o.className && !o.class || o.class && o.className) && (r.class = r.className = o.className), e.props = r;
402
+ }(t), t.$$typeof = an, Pe && Pe(t);
403
+ };
404
+ var He = h.__r;
405
+ h.__r = function(t) {
406
+ He && He(t), t.__c;
407
+ };
408
+ var Re = h.diffed;
409
+ h.diffed = function(t) {
410
+ Re && Re(t);
411
+ var e = t.props, o = t.__e;
412
+ o != null && t.type === "textarea" && "value" in e && e.value !== o.value && (o.value = e.value == null ? "" : e.value);
413
+ };
414
+ function hn() {
415
+ this.__data__ = [], this.size = 0;
416
+ }
417
+ var mn = hn;
418
+ function vn(t, e) {
419
+ return t === e || t !== t && e !== e;
420
+ }
421
+ var Ut = vn, yn = Ut;
422
+ function bn(t, e) {
423
+ for (var o = t.length; o--; )
424
+ if (yn(t[o][0], e))
425
+ return o;
426
+ return -1;
427
+ }
428
+ var Wt = bn, $n = Wt, kn = Array.prototype, Nn = kn.splice;
429
+ function xn(t) {
430
+ var e = this.__data__, o = $n(e, t);
431
+ if (o < 0)
432
+ return !1;
433
+ var n = e.length - 1;
434
+ return o == n ? e.pop() : Nn.call(e, o, 1), --this.size, !0;
435
+ }
436
+ var Cn = xn, wn = Wt;
437
+ function Tn(t) {
438
+ var e = this.__data__, o = wn(e, t);
439
+ return o < 0 ? void 0 : e[o][1];
440
+ }
441
+ var On = Tn, jn = Wt;
442
+ function Ln(t) {
443
+ return jn(this.__data__, t) > -1;
444
+ }
445
+ var An = Ln, Sn = Wt;
446
+ function In(t, e) {
447
+ var o = this.__data__, n = Sn(o, t);
448
+ return n < 0 ? (++this.size, o.push([t, e])) : o[n][1] = e, this;
449
+ }
450
+ var Pn = In, Hn = mn, Rn = Cn, Mn = On, En = An, Vn = Pn;
451
+ function vt(t) {
452
+ var e = -1, o = t == null ? 0 : t.length;
453
+ for (this.clear(); ++e < o; ) {
454
+ var n = t[e];
455
+ this.set(n[0], n[1]);
456
+ }
457
+ }
458
+ vt.prototype.clear = Hn;
459
+ vt.prototype.delete = Rn;
460
+ vt.prototype.get = Mn;
461
+ vt.prototype.has = En;
462
+ vt.prototype.set = Vn;
463
+ var Zt = vt, Bn = Zt;
464
+ function qn() {
465
+ this.__data__ = new Bn(), this.size = 0;
466
+ }
467
+ var Fn = qn;
468
+ function zn(t) {
469
+ var e = this.__data__, o = e.delete(t);
470
+ return this.size = e.size, o;
471
+ }
472
+ var Dn = zn;
473
+ function Gn(t) {
474
+ return this.__data__.get(t);
475
+ }
476
+ var Un = Gn;
477
+ function Wn(t) {
478
+ return this.__data__.has(t);
479
+ }
480
+ var Zn = Wn, Kn = typeof Mt == "object" && Mt && Mt.Object === Object && Mt, go = Kn, Xn = go, Jn = typeof self == "object" && self && self.Object === Object && self, Qn = Xn || Jn || Function("return this")(), yt = Qn, Yn = yt, tr = Yn.Symbol, ho = tr, Me = ho, mo = Object.prototype, er = mo.hasOwnProperty, or = mo.toString, wt = Me ? Me.toStringTag : void 0;
481
+ function nr(t) {
482
+ var e = er.call(t, wt), o = t[wt];
483
+ try {
484
+ t[wt] = void 0;
485
+ var n = !0;
486
+ } catch (i) {
487
+ }
488
+ var r = or.call(t);
489
+ return n && (e ? t[wt] = o : delete t[wt]), r;
490
+ }
491
+ var rr = nr, ar = Object.prototype, sr = ar.toString;
492
+ function ir(t) {
493
+ return sr.call(t);
494
+ }
495
+ var cr = ir, Ee = ho, lr = rr, _r = cr, dr = "[object Null]", ur = "[object Undefined]", Ve = Ee ? Ee.toStringTag : void 0;
496
+ function pr(t) {
497
+ return t == null ? t === void 0 ? ur : dr : Ve && Ve in Object(t) ? lr(t) : _r(t);
498
+ }
499
+ var Kt = pr;
500
+ function fr(t) {
501
+ var e = typeof t;
502
+ return t != null && (e == "object" || e == "function");
503
+ }
504
+ var pt = fr, gr = Kt, hr = pt, mr = "[object AsyncFunction]", vr = "[object Function]", yr = "[object GeneratorFunction]", br = "[object Proxy]";
505
+ function $r(t) {
506
+ if (!hr(t))
507
+ return !1;
508
+ var e = gr(t);
509
+ return e == vr || e == yr || e == mr || e == br;
510
+ }
511
+ var ce = $r, kr = yt, Nr = kr["__core-js_shared__"], xr = Nr, oe = xr, Be = function() {
512
+ var t = /[^.]+$/.exec(oe && oe.keys && oe.keys.IE_PROTO || "");
513
+ return t ? "Symbol(src)_1." + t : "";
514
+ }();
515
+ function Cr(t) {
516
+ return !!Be && Be in t;
517
+ }
518
+ var wr = Cr, Tr = Function.prototype, Or = Tr.toString;
519
+ function jr(t) {
520
+ if (t != null) {
521
+ try {
522
+ return Or.call(t);
523
+ } catch (e) {
524
+ }
525
+ try {
526
+ return t + "";
527
+ } catch (e) {
528
+ }
529
+ }
530
+ return "";
531
+ }
532
+ var Lr = jr, Ar = ce, Sr = wr, Ir = pt, Pr = Lr, Hr = /[\\^$.*+?()[\]{}|]/g, Rr = /^\[object .+?Constructor\]$/, Mr = Function.prototype, Er = Object.prototype, Vr = Mr.toString, Br = Er.hasOwnProperty, qr = RegExp(
533
+ "^" + Vr.call(Br).replace(Hr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
534
+ );
535
+ function Fr(t) {
536
+ if (!Ir(t) || Sr(t))
537
+ return !1;
538
+ var e = Ar(t) ? qr : Rr;
539
+ return e.test(Pr(t));
540
+ }
541
+ var zr = Fr;
542
+ function Dr(t, e) {
543
+ return t == null ? void 0 : t[e];
544
+ }
545
+ var Gr = Dr, Ur = zr, Wr = Gr;
546
+ function Zr(t, e) {
547
+ var o = Wr(t, e);
548
+ return Ur(o) ? o : void 0;
549
+ }
550
+ var le = Zr, Kr = le, Xr = yt, Jr = Kr(Xr, "Map"), vo = Jr, Qr = le, Yr = Qr(Object, "create"), Xt = Yr, qe = Xt;
551
+ function ta() {
552
+ this.__data__ = qe ? qe(null) : {}, this.size = 0;
553
+ }
554
+ var ea = ta;
555
+ function oa(t) {
556
+ var e = this.has(t) && delete this.__data__[t];
557
+ return this.size -= e ? 1 : 0, e;
558
+ }
559
+ var na = oa, ra = Xt, aa = "__lodash_hash_undefined__", sa = Object.prototype, ia = sa.hasOwnProperty;
560
+ function ca(t) {
561
+ var e = this.__data__;
562
+ if (ra) {
563
+ var o = e[t];
564
+ return o === aa ? void 0 : o;
565
+ }
566
+ return ia.call(e, t) ? e[t] : void 0;
567
+ }
568
+ var la = ca, _a = Xt, da = Object.prototype, ua = da.hasOwnProperty;
569
+ function pa(t) {
570
+ var e = this.__data__;
571
+ return _a ? e[t] !== void 0 : ua.call(e, t);
572
+ }
573
+ var fa = pa, ga = Xt, ha = "__lodash_hash_undefined__";
574
+ function ma(t, e) {
575
+ var o = this.__data__;
576
+ return this.size += this.has(t) ? 0 : 1, o[t] = ga && e === void 0 ? ha : e, this;
577
+ }
578
+ var va = ma, ya = ea, ba = na, $a = la, ka = fa, Na = va;
579
+ function bt(t) {
580
+ var e = -1, o = t == null ? 0 : t.length;
581
+ for (this.clear(); ++e < o; ) {
582
+ var n = t[e];
583
+ this.set(n[0], n[1]);
584
+ }
585
+ }
586
+ bt.prototype.clear = ya;
587
+ bt.prototype.delete = ba;
588
+ bt.prototype.get = $a;
589
+ bt.prototype.has = ka;
590
+ bt.prototype.set = Na;
591
+ var xa = bt, Fe = xa, Ca = Zt, wa = vo;
592
+ function Ta() {
593
+ this.size = 0, this.__data__ = {
594
+ hash: new Fe(),
595
+ map: new (wa || Ca)(),
596
+ string: new Fe()
597
+ };
598
+ }
599
+ var Oa = Ta;
600
+ function ja(t) {
601
+ var e = typeof t;
602
+ return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
603
+ }
604
+ var La = ja, Aa = La;
605
+ function Sa(t, e) {
606
+ var o = t.__data__;
607
+ return Aa(e) ? o[typeof e == "string" ? "string" : "hash"] : o.map;
608
+ }
609
+ var Jt = Sa, Ia = Jt;
610
+ function Pa(t) {
611
+ var e = Ia(this, t).delete(t);
612
+ return this.size -= e ? 1 : 0, e;
613
+ }
614
+ var Ha = Pa, Ra = Jt;
615
+ function Ma(t) {
616
+ return Ra(this, t).get(t);
617
+ }
618
+ var Ea = Ma, Va = Jt;
619
+ function Ba(t) {
620
+ return Va(this, t).has(t);
621
+ }
622
+ var qa = Ba, Fa = Jt;
623
+ function za(t, e) {
624
+ var o = Fa(this, t), n = o.size;
625
+ return o.set(t, e), this.size += o.size == n ? 0 : 1, this;
626
+ }
627
+ var Da = za, Ga = Oa, Ua = Ha, Wa = Ea, Za = qa, Ka = Da;
628
+ function $t(t) {
629
+ var e = -1, o = t == null ? 0 : t.length;
630
+ for (this.clear(); ++e < o; ) {
631
+ var n = t[e];
632
+ this.set(n[0], n[1]);
633
+ }
634
+ }
635
+ $t.prototype.clear = Ga;
636
+ $t.prototype.delete = Ua;
637
+ $t.prototype.get = Wa;
638
+ $t.prototype.has = Za;
639
+ $t.prototype.set = Ka;
640
+ var Xa = $t, Ja = Zt, Qa = vo, Ya = Xa, ts = 200;
641
+ function es(t, e) {
642
+ var o = this.__data__;
643
+ if (o instanceof Ja) {
644
+ var n = o.__data__;
645
+ if (!Qa || n.length < ts - 1)
646
+ return n.push([t, e]), this.size = ++o.size, this;
647
+ o = this.__data__ = new Ya(n);
648
+ }
649
+ return o.set(t, e), this.size = o.size, this;
650
+ }
651
+ var os = es, ns = Zt, rs = Fn, as = Dn, ss = Un, is = Zn, cs = os;
652
+ function kt(t) {
653
+ var e = this.__data__ = new ns(t);
654
+ this.size = e.size;
655
+ }
656
+ kt.prototype.clear = rs;
657
+ kt.prototype.delete = as;
658
+ kt.prototype.get = ss;
659
+ kt.prototype.has = is;
660
+ kt.prototype.set = cs;
661
+ var ls = kt, _s = le, ds = function() {
662
+ try {
663
+ var t = _s(Object, "defineProperty");
664
+ return t({}, "", {}), t;
665
+ } catch (e) {
666
+ }
667
+ }(), yo = ds, ze = yo;
668
+ function us(t, e, o) {
669
+ e == "__proto__" && ze ? ze(t, e, {
670
+ configurable: !0,
671
+ enumerable: !0,
672
+ value: o,
673
+ writable: !0
674
+ }) : t[e] = o;
675
+ }
676
+ var _e = us, ps = _e, fs = Ut;
677
+ function gs(t, e, o) {
678
+ (o !== void 0 && !fs(t[e], o) || o === void 0 && !(e in t)) && ps(t, e, o);
679
+ }
680
+ var bo = gs;
681
+ function hs(t) {
682
+ return function(e, o, n) {
683
+ for (var r = -1, i = Object(e), s = n(e), l = s.length; l--; ) {
684
+ var _ = s[t ? l : ++r];
685
+ if (o(i[_], _, i) === !1)
686
+ break;
687
+ }
688
+ return e;
689
+ };
690
+ }
691
+ var ms = hs, vs = ms, ys = vs(), bs = ys, qt = {}, $s = {
692
+ get exports() {
693
+ return qt;
694
+ },
695
+ set exports(t) {
696
+ qt = t;
697
+ }
698
+ };
699
+ (function(t, e) {
700
+ var o = yt, n = e && !e.nodeType && e, r = n && !0 && t && !t.nodeType && t, i = r && r.exports === n, s = i ? o.Buffer : void 0, l = s ? s.allocUnsafe : void 0;
701
+ function _(c, d) {
702
+ if (d)
703
+ return c.slice();
704
+ var p = c.length, u = l ? l(p) : new c.constructor(p);
705
+ return c.copy(u), u;
706
+ }
707
+ t.exports = _;
708
+ })($s, qt);
709
+ var ks = yt, Ns = ks.Uint8Array, xs = Ns, De = xs;
710
+ function Cs(t) {
711
+ var e = new t.constructor(t.byteLength);
712
+ return new De(e).set(new De(t)), e;
713
+ }
714
+ var ws = Cs, Ts = ws;
715
+ function Os(t, e) {
716
+ var o = e ? Ts(t.buffer) : t.buffer;
717
+ return new t.constructor(o, t.byteOffset, t.length);
718
+ }
719
+ var js = Os;
720
+ function Ls(t, e) {
721
+ var o = -1, n = t.length;
722
+ for (e || (e = Array(n)); ++o < n; )
723
+ e[o] = t[o];
724
+ return e;
725
+ }
726
+ var As = Ls, Ss = pt, Ge = Object.create, Is = function() {
727
+ function t() {
728
+ }
729
+ return function(e) {
730
+ if (!Ss(e))
731
+ return {};
732
+ if (Ge)
733
+ return Ge(e);
734
+ t.prototype = e;
735
+ var o = new t();
736
+ return t.prototype = void 0, o;
737
+ };
738
+ }(), Ps = Is;
739
+ function Hs(t, e) {
740
+ return function(o) {
741
+ return t(e(o));
742
+ };
743
+ }
744
+ var Rs = Hs, Ms = Rs, Es = Ms(Object.getPrototypeOf, Object), $o = Es, Vs = Object.prototype;
745
+ function Bs(t) {
746
+ var e = t && t.constructor, o = typeof e == "function" && e.prototype || Vs;
747
+ return t === o;
748
+ }
749
+ var ko = Bs, qs = Ps, Fs = $o, zs = ko;
750
+ function Ds(t) {
751
+ return typeof t.constructor == "function" && !zs(t) ? qs(Fs(t)) : {};
752
+ }
753
+ var Gs = Ds;
754
+ function Us(t) {
755
+ return t != null && typeof t == "object";
756
+ }
757
+ var Pt = Us, Ws = Kt, Zs = Pt, Ks = "[object Arguments]";
758
+ function Xs(t) {
759
+ return Zs(t) && Ws(t) == Ks;
760
+ }
761
+ var Js = Xs, Ue = Js, Qs = Pt, No = Object.prototype, Ys = No.hasOwnProperty, ti = No.propertyIsEnumerable, ei = Ue(function() {
762
+ return arguments;
763
+ }()) ? Ue : function(t) {
764
+ return Qs(t) && Ys.call(t, "callee") && !ti.call(t, "callee");
765
+ }, xo = ei, oi = Array.isArray, Co = oi, ni = 9007199254740991;
766
+ function ri(t) {
767
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= ni;
768
+ }
769
+ var wo = ri, ai = ce, si = wo;
770
+ function ii(t) {
771
+ return t != null && si(t.length) && !ai(t);
772
+ }
773
+ var de = ii, ci = de, li = Pt;
774
+ function _i(t) {
775
+ return li(t) && ci(t);
776
+ }
777
+ var di = _i, jt = {}, ui = {
778
+ get exports() {
779
+ return jt;
780
+ },
781
+ set exports(t) {
782
+ jt = t;
783
+ }
784
+ };
785
+ function pi() {
786
+ return !1;
787
+ }
788
+ var fi = pi;
789
+ (function(t, e) {
790
+ var o = yt, n = fi, r = e && !e.nodeType && e, i = r && !0 && t && !t.nodeType && t, s = i && i.exports === r, l = s ? o.Buffer : void 0, _ = l ? l.isBuffer : void 0, c = _ || n;
791
+ t.exports = c;
792
+ })(ui, jt);
793
+ var gi = Kt, hi = $o, mi = Pt, vi = "[object Object]", yi = Function.prototype, bi = Object.prototype, To = yi.toString, $i = bi.hasOwnProperty, ki = To.call(Object);
794
+ function Ni(t) {
795
+ if (!mi(t) || gi(t) != vi)
796
+ return !1;
797
+ var e = hi(t);
798
+ if (e === null)
799
+ return !0;
800
+ var o = $i.call(e, "constructor") && e.constructor;
801
+ return typeof o == "function" && o instanceof o && To.call(o) == ki;
802
+ }
803
+ var xi = Ni, Ci = Kt, wi = wo, Ti = Pt, Oi = "[object Arguments]", ji = "[object Array]", Li = "[object Boolean]", Ai = "[object Date]", Si = "[object Error]", Ii = "[object Function]", Pi = "[object Map]", Hi = "[object Number]", Ri = "[object Object]", Mi = "[object RegExp]", Ei = "[object Set]", Vi = "[object String]", Bi = "[object WeakMap]", qi = "[object ArrayBuffer]", Fi = "[object DataView]", zi = "[object Float32Array]", Di = "[object Float64Array]", Gi = "[object Int8Array]", Ui = "[object Int16Array]", Wi = "[object Int32Array]", Zi = "[object Uint8Array]", Ki = "[object Uint8ClampedArray]", Xi = "[object Uint16Array]", Ji = "[object Uint32Array]", N = {};
804
+ N[zi] = N[Di] = N[Gi] = N[Ui] = N[Wi] = N[Zi] = N[Ki] = N[Xi] = N[Ji] = !0;
805
+ N[Oi] = N[ji] = N[qi] = N[Li] = N[Fi] = N[Ai] = N[Si] = N[Ii] = N[Pi] = N[Hi] = N[Ri] = N[Mi] = N[Ei] = N[Vi] = N[Bi] = !1;
806
+ function Qi(t) {
807
+ return Ti(t) && wi(t.length) && !!N[Ci(t)];
808
+ }
809
+ var Yi = Qi;
810
+ function tc(t) {
811
+ return function(e) {
812
+ return t(e);
813
+ };
814
+ }
815
+ var ec = tc, Ft = {}, oc = {
816
+ get exports() {
817
+ return Ft;
818
+ },
819
+ set exports(t) {
820
+ Ft = t;
821
+ }
822
+ };
823
+ (function(t, e) {
824
+ var o = go, n = e && !e.nodeType && e, r = n && !0 && t && !t.nodeType && t, i = r && r.exports === n, s = i && o.process, l = function() {
825
+ try {
826
+ var _ = r && r.require && r.require("util").types;
827
+ return _ || s && s.binding && s.binding("util");
828
+ } catch (c) {
829
+ }
830
+ }();
831
+ t.exports = l;
832
+ })(oc, Ft);
833
+ var nc = Yi, rc = ec, We = Ft, Ze = We && We.isTypedArray, ac = Ze ? rc(Ze) : nc, Oo = ac;
834
+ function sc(t, e) {
835
+ if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
836
+ return t[e];
837
+ }
838
+ var jo = sc, ic = _e, cc = Ut, lc = Object.prototype, _c = lc.hasOwnProperty;
839
+ function dc(t, e, o) {
840
+ var n = t[e];
841
+ (!(_c.call(t, e) && cc(n, o)) || o === void 0 && !(e in t)) && ic(t, e, o);
842
+ }
843
+ var uc = dc, pc = uc, fc = _e;
844
+ function gc(t, e, o, n) {
845
+ var r = !o;
846
+ o || (o = {});
847
+ for (var i = -1, s = e.length; ++i < s; ) {
848
+ var l = e[i], _ = n ? n(o[l], t[l], l, o, t) : void 0;
849
+ _ === void 0 && (_ = t[l]), r ? fc(o, l, _) : pc(o, l, _);
850
+ }
851
+ return o;
852
+ }
853
+ var hc = gc;
854
+ function mc(t, e) {
855
+ for (var o = -1, n = Array(t); ++o < t; )
856
+ n[o] = e(o);
857
+ return n;
858
+ }
859
+ var vc = mc, yc = 9007199254740991, bc = /^(?:0|[1-9]\d*)$/;
860
+ function $c(t, e) {
861
+ var o = typeof t;
862
+ return e = e == null ? yc : e, !!e && (o == "number" || o != "symbol" && bc.test(t)) && t > -1 && t % 1 == 0 && t < e;
863
+ }
864
+ var Lo = $c, kc = vc, Nc = xo, xc = Co, Cc = jt, wc = Lo, Tc = Oo, Oc = Object.prototype, jc = Oc.hasOwnProperty;
865
+ function Lc(t, e) {
866
+ var o = xc(t), n = !o && Nc(t), r = !o && !n && Cc(t), i = !o && !n && !r && Tc(t), s = o || n || r || i, l = s ? kc(t.length, String) : [], _ = l.length;
867
+ for (var c in t)
868
+ (e || jc.call(t, c)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
869
+ (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
870
+ r && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
871
+ i && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
872
+ wc(c, _))) && l.push(c);
873
+ return l;
874
+ }
875
+ var Ac = Lc;
876
+ function Sc(t) {
877
+ var e = [];
878
+ if (t != null)
879
+ for (var o in Object(t))
880
+ e.push(o);
881
+ return e;
882
+ }
883
+ var Ic = Sc, Pc = pt, Hc = ko, Rc = Ic, Mc = Object.prototype, Ec = Mc.hasOwnProperty;
884
+ function Vc(t) {
885
+ if (!Pc(t))
886
+ return Rc(t);
887
+ var e = Hc(t), o = [];
888
+ for (var n in t)
889
+ n == "constructor" && (e || !Ec.call(t, n)) || o.push(n);
890
+ return o;
891
+ }
892
+ var Bc = Vc, qc = Ac, Fc = Bc, zc = de;
893
+ function Dc(t) {
894
+ return zc(t) ? qc(t, !0) : Fc(t);
895
+ }
896
+ var Ao = Dc, Gc = hc, Uc = Ao;
897
+ function Wc(t) {
898
+ return Gc(t, Uc(t));
899
+ }
900
+ var Zc = Wc, Ke = bo, Kc = qt, Xc = js, Jc = As, Qc = Gs, Xe = xo, Je = Co, Yc = di, tl = jt, el = ce, ol = pt, nl = xi, rl = Oo, Qe = jo, al = Zc;
901
+ function sl(t, e, o, n, r, i, s) {
902
+ var l = Qe(t, o), _ = Qe(e, o), c = s.get(_);
903
+ if (c) {
904
+ Ke(t, o, c);
905
+ return;
906
+ }
907
+ var d = i ? i(l, _, o + "", t, e, s) : void 0, p = d === void 0;
908
+ if (p) {
909
+ var u = Je(_), g = !u && tl(_), v = !u && !g && rl(_);
910
+ d = _, u || g || v ? Je(l) ? d = l : Yc(l) ? d = Jc(l) : g ? (p = !1, d = Kc(_, !0)) : v ? (p = !1, d = Xc(_, !0)) : d = [] : nl(_) || Xe(_) ? (d = l, Xe(l) ? d = al(l) : (!ol(l) || el(l)) && (d = Qc(_))) : p = !1;
911
+ }
912
+ p && (s.set(_, d), r(d, _, n, i, s), s.delete(_)), Ke(t, o, d);
913
+ }
914
+ var il = sl, cl = ls, ll = bo, _l = bs, dl = il, ul = pt, pl = Ao, fl = jo;
915
+ function So(t, e, o, n, r) {
916
+ t !== e && _l(e, function(i, s) {
917
+ if (r || (r = new cl()), ul(i))
918
+ dl(t, e, s, o, So, n, r);
919
+ else {
920
+ var l = n ? n(fl(t, s), i, s + "", t, e, r) : void 0;
921
+ l === void 0 && (l = i), ll(t, s, l);
922
+ }
923
+ }, pl);
924
+ }
925
+ var gl = So;
926
+ function hl(t) {
927
+ return t;
928
+ }
929
+ var Io = hl;
930
+ function ml(t, e, o) {
931
+ switch (o.length) {
932
+ case 0:
933
+ return t.call(e);
934
+ case 1:
935
+ return t.call(e, o[0]);
936
+ case 2:
937
+ return t.call(e, o[0], o[1]);
938
+ case 3:
939
+ return t.call(e, o[0], o[1], o[2]);
940
+ }
941
+ return t.apply(e, o);
942
+ }
943
+ var vl = ml, yl = vl, Ye = Math.max;
944
+ function bl(t, e, o) {
945
+ return e = Ye(e === void 0 ? t.length - 1 : e, 0), function() {
946
+ for (var n = arguments, r = -1, i = Ye(n.length - e, 0), s = Array(i); ++r < i; )
947
+ s[r] = n[e + r];
948
+ r = -1;
949
+ for (var l = Array(e + 1); ++r < e; )
950
+ l[r] = n[r];
951
+ return l[e] = o(s), yl(t, this, l);
952
+ };
953
+ }
954
+ var $l = bl;
955
+ function kl(t) {
956
+ return function() {
957
+ return t;
958
+ };
959
+ }
960
+ var Nl = kl, xl = Nl, to = yo, Cl = Io, wl = to ? function(t, e) {
961
+ return to(t, "toString", {
962
+ configurable: !0,
963
+ enumerable: !1,
964
+ value: xl(e),
965
+ writable: !0
966
+ });
967
+ } : Cl, Tl = wl, Ol = 800, jl = 16, Ll = Date.now;
968
+ function Al(t) {
969
+ var e = 0, o = 0;
970
+ return function() {
971
+ var n = Ll(), r = jl - (n - o);
972
+ if (o = n, r > 0) {
973
+ if (++e >= Ol)
974
+ return arguments[0];
975
+ } else
976
+ e = 0;
977
+ return t.apply(void 0, arguments);
978
+ };
979
+ }
980
+ var Sl = Al, Il = Tl, Pl = Sl, Hl = Pl(Il), Rl = Hl, Ml = Io, El = $l, Vl = Rl;
981
+ function Bl(t, e) {
982
+ return Vl(El(t, e, Ml), t + "");
983
+ }
984
+ var ql = Bl, Fl = Ut, zl = de, Dl = Lo, Gl = pt;
985
+ function Ul(t, e, o) {
986
+ if (!Gl(o))
987
+ return !1;
988
+ var n = typeof e;
989
+ return (n == "number" ? zl(o) && Dl(e, o.length) : n == "string" && e in o) ? Fl(o[e], t) : !1;
990
+ }
991
+ var Wl = Ul, Zl = ql, Kl = Wl;
992
+ function Xl(t) {
993
+ return Zl(function(e, o) {
994
+ var n = -1, r = o.length, i = r > 1 ? o[r - 1] : void 0, s = r > 2 ? o[2] : void 0;
995
+ for (i = t.length > 3 && typeof i == "function" ? (r--, i) : void 0, s && Kl(o[0], o[1], s) && (i = r < 3 ? void 0 : i, r = 1), e = Object(e); ++n < r; ) {
996
+ var l = o[n];
997
+ l && t(e, l, n, i);
998
+ }
999
+ return e;
1000
+ });
1001
+ }
1002
+ var Jl = Xl, Ql = gl, Yl = Jl;
1003
+ Yl(function(t, e, o) {
1004
+ Ql(t, e, o);
1005
+ });
1006
+ const ut = (t, e, o) => Array.isArray(t) ? t.map((n, r) => {
1007
+ const i = [o, r].filter(I).join(".");
1008
+ return ut(e(r, n, i), e, i);
1009
+ }) : typeof t == "object" && t ? Object.entries(t).reduce((n, [r, i]) => {
1010
+ const s = [o, r].filter(I).join(".");
1011
+ return n[r] = ut(e(r, i, s), e, s), n;
1012
+ }, {}) : t, t_ = (t) => {
1013
+ const e = document.getElementsByTagName("head")[0], o = document.createElement("link");
1014
+ Object.entries(t).forEach(([n, r]) => o.setAttribute(n, r)), e.appendChild(o);
1015
+ }, Ht = () => {
1016
+ let t = {};
1017
+ return {
1018
+ on: (s, l) => {
1019
+ s in t ? t[s].push(l) : t[s] = [l];
1020
+ },
1021
+ has: (s) => s in t,
1022
+ get: (s) => t[s],
1023
+ emit: (s, ...l) => s in t ? t[s].map((_) => _(...l)).filter(Boolean) : [],
1024
+ reset: () => t = {}
1025
+ };
1026
+ }, e_ = () => ({
1027
+ name: null,
1028
+ logo: null
1029
+ }), eo = () => ({
1030
+ name: null,
1031
+ logo: null
1032
+ }), o_ = () => ({
1033
+ factor: null,
1034
+ type: null,
1035
+ outcome: null,
1036
+ value: null
1037
+ }), n_ = () => ({
1038
+ w1: null,
1039
+ x: null,
1040
+ w2: null
1041
+ }), r_ = () => ({
1042
+ w1: null,
1043
+ w2: null
1044
+ }), a_ = () => ({
1045
+ one_x_two: n_(),
1046
+ one_two: r_()
1047
+ }), Po = (t, e) => {
1048
+ var n;
1049
+ const o = {
1050
+ slug: (t == null ? void 0 : t.slug) || null,
1051
+ sportSlug: (t == null ? void 0 : t.sport_slug) || null,
1052
+ matchDate: (t == null ? void 0 : t.match_date) || null,
1053
+ teams: f({}, (t == null ? void 0 : t.teams) || {
1054
+ 0: eo(),
1055
+ 1: eo()
1056
+ }),
1057
+ league: (t == null ? void 0 : t.unique_tournament) || e_(),
1058
+ prediction: (t == null ? void 0 : t.prediction) || o_(),
1059
+ isNational: (n = t == null ? void 0 : t.is_national) != null ? n : null
1060
+ };
1061
+ if (e != null && e.markets) {
1062
+ const r = e.markets.reduce((i, s) => (i[s] = m(t || {}, `markets.${s}`, a_()[s || "one_two"]), i), {});
1063
+ Lt(o, "markets", r);
1064
+ }
1065
+ return o;
1066
+ }, s_ = (t = 300, e) => new Promise((o) => setTimeout(() => o(e), t)), i_ = (t) => !t && t == null, I = (t) => !i_(t), oo = (t) => typeof t != "object" && typeof t != "function" || t === null, c_ = (t) => typeof t == "object" && !Array.isArray(t) && I(t), l_ = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (e, o) => (o ? "-" : "") + e.toLowerCase()), ot = (t, ...e) => e.reduce((o, n) => (o[n] = t[n], o), {});
1067
+ function rt(t, ...e) {
1068
+ const o = f({}, t);
1069
+ return e.forEach((n) => {
1070
+ delete o[n];
1071
+ }), o;
1072
+ }
1073
+ const m = (t, e, o) => {
1074
+ if (!e)
1075
+ return;
1076
+ const r = (Array.isArray(e) ? e : e.match(/([^[.\]])+/g)).reduce((i, s) => i && i[s], t);
1077
+ return r === void 0 ? o : r;
1078
+ }, Lt = (t, e, o) => {
1079
+ const n = Array.isArray(e) ? e : e.match(/([^[.\]])+/g);
1080
+ return n.reduce((r, i, s) => (r[i] === void 0 && (r[i] = {}), s === n.length - 1 && (r[i] = o), r[i]), t);
1081
+ }, __ = (t) => {
1082
+ const e = t.slice(1);
1083
+ return e.length === 3 && (t = "#" + e.split("").map((o) => `${o}${o}`).join("")), t;
1084
+ }, d_ = (t) => {
1085
+ const e = __(t), o = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);
1086
+ return o ? {
1087
+ r: parseInt(o[1], 16),
1088
+ g: parseInt(o[2], 16),
1089
+ b: parseInt(o[3], 16)
1090
+ } : void 0;
1091
+ }, Ho = (...t) => t.map((e) => JSON.stringify(e)).every((e, o, n) => e === n[0]), Wf = (t) => "id" in t && "root" in t, u_ = (t, e = 1) => t.replace(")", `, ${e})`).replace("rgb", "rgba"), Ro = (t, e, o) => ut(t, (n, r, i) => oo(r) || Array.isArray(r) && r.every(oo) ? o ? o(n, [r, m(e, i)], i) ? m(e, i, r) : r : m(e, i, r) : r), Zf = (t, e) => {
1092
+ try {
1093
+ ut(t, (o, n, r) => {
1094
+ if (e(o, n, r))
1095
+ throw {
1096
+ key: o,
1097
+ value: n,
1098
+ path: r
1099
+ };
1100
+ return n;
1101
+ });
1102
+ } catch (o) {
1103
+ return o;
1104
+ }
1105
+ }, Kf = (t, e) => {
1106
+ const o = [];
1107
+ return ut(t, (n, r, i) => (e(n, r, i, o) && o.push({
1108
+ key: n,
1109
+ value: r,
1110
+ path: i
1111
+ }), r)), o;
1112
+ }, Mo = ["desktop", "laptop", "tablet", "mobile"], p_ = {
1113
+ mobile: 320,
1114
+ tablet: 768,
1115
+ laptop: 1024,
1116
+ desktop: 1920
1117
+ }, f_ = "_root_90dqc_1", g_ = "_icon_90dqc_5", h_ = "_iconTarget_90dqc_17", m_ = "_body_90dqc_23", v_ = "_bodyOpen_90dqc_31", y_ = "_simpleGift_in_90dqc_1", b_ = "_close_90dqc_44", $_ = "_arrow_90dqc_56", k_ = "_container_90dqc_67", N_ = "_inner_90dqc_73", x_ = "_logo_90dqc_80", C_ = "_text_90dqc_87", w_ = "_button_90dqc_94", T_ = "_buttonAnimated_90dqc_103", O_ = "_increase_90dqc_1", j_ = "_legalGap_90dqc_107", L_ = "_legalOpen_90dqc_111", A_ = "_legal_90dqc_107", S_ = "_legalText_90dqc_139", I_ = "_legalButton_90dqc_157", P_ = "_fadein_90dqc_1", H_ = "_pulse_90dqc_1", R_ = "_gradient_90dqc_1", M_ = "_wiggle_90dqc_1", C = {
1118
+ root: f_,
1119
+ icon: g_,
1120
+ iconTarget: h_,
1121
+ body: m_,
1122
+ bodyOpen: v_,
1123
+ simpleGift_in: y_,
1124
+ close: b_,
1125
+ arrow: $_,
1126
+ container: k_,
1127
+ inner: N_,
1128
+ logo: x_,
1129
+ text: C_,
1130
+ button: w_,
1131
+ buttonAnimated: T_,
1132
+ increase: O_,
1133
+ legalGap: j_,
1134
+ legalOpen: L_,
1135
+ legal: A_,
1136
+ legalText: S_,
1137
+ legalButton: I_,
1138
+ fadein: P_,
1139
+ pulse: H_,
1140
+ gradient: R_,
1141
+ wiggle: M_
1142
+ };
1143
+ var E_ = 0;
1144
+ function a(t, e, o, n, r, i) {
1145
+ var s, l, _ = {};
1146
+ for (l in e)
1147
+ l == "ref" ? s = e[l] : _[l] = e[l];
1148
+ var c = { type: t, props: _, key: o, ref: s, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --E_, __source: r, __self: i };
1149
+ if (typeof t == "function" && (s = t.defaultProps))
1150
+ for (l in s)
1151
+ _[l] === void 0 && (_[l] = s[l]);
1152
+ return h.vnode && h.vnode(c), c;
1153
+ }
1154
+ const Eo = Zo(), it = ({
1155
+ children: t,
1156
+ value: e
1157
+ }) => a(Eo.Provider, {
1158
+ value: e,
1159
+ children: t
1160
+ }), ct = (t) => (s) => Ct(void 0, null, function* () {
1161
+ var l = s, {
1162
+ target: e,
1163
+ id: o,
1164
+ ref: n,
1165
+ state: r
1166
+ } = l, i = Yt(l, [
1167
+ "target",
1168
+ "id",
1169
+ "ref",
1170
+ "state"
1171
+ ]);
1172
+ if (!("ResizeObserver" in window)) {
1173
+ const _ = yield import("./resize-observer-15e7a1bf.js");
1174
+ window.ResizeObserver = _.ResizeObserver;
1175
+ }
1176
+ return Ko(a(it, {
1177
+ value: r,
1178
+ children: Xo(t, f({
1179
+ ref: n,
1180
+ id: o
1181
+ }, i))
1182
+ }), e);
1183
+ }), P = () => tn(Eo), V_ = (t = {}) => typeof t == "object" && I(t) && Mo.every((e) => e in t), B_ = (t, e) => t && ut(t, (o, n) => {
1184
+ if (V_(n)) {
1185
+ const r = n[e];
1186
+ return r && "parent" in r && I(r.parent) ? f(f({}, n[r.parent]), rt(r, "parent")) : r;
1187
+ }
1188
+ return n;
1189
+ }), lt = (t, e) => B_(t, e), ft = ({
1190
+ id: t,
1191
+ targetRef: e,
1192
+ parentKey: o = "device-container",
1193
+ breakpoints: n = p_
1194
+ }) => {
1195
+ const [r, i] = nt("desktop"), s = (l) => {
1196
+ var p;
1197
+ const _ = l.getBoundingClientRect().width || 0, c = Object.entries(f({}, n)).sort(([u, g], [v, b]) => g - b), d = ((p = c.find(([u, g], v) => {
1198
+ const [b, $] = c[v + 1] || [];
1199
+ return _ >= g && _ < $;
1200
+ })) == null ? void 0 : p[0]) || "desktop";
1201
+ i(d);
1202
+ };
1203
+ return co(() => {
1204
+ const l = e.current.closest(`[data-${o}='${t}']`) || document.body;
1205
+ l && (new ResizeObserver(() => s(l)).observe(l), console.log(l, o), s(l));
1206
+ }, []), r;
1207
+ }, no = (t) => console.warn(`[Adstore-templates Deprecated]: ${t}`), zt = (t, e) => I(t) && !(typeof t == "number" ? t.toString() : t).includes(e) ? `${t}${e}` : t, q_ = (t) => t.startsWith("px_"), F_ = (t) => t.startsWith("percent_"), z_ = (t, e) => {
1208
+ let o = t, n = e;
1209
+ return q_(o) && (o = o.replace("px_", ""), n = zt(e, "px")), F_(o) && (o = o.replace("percent_", ""), n = zt(e, "%")), {
1210
+ key: o,
1211
+ value: n
1212
+ };
1213
+ }, D_ = "-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'", G_ = ["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"], Vo = (t) => {
1214
+ const e = Object.keys(t);
1215
+ return (e.includes("innerHTML") || e.includes("innerText")) && console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'), typeof t != "object" ? t : Object.entries(t).reduce((o, [n, r]) => {
1216
+ G_.includes(n) && (r = zt(r, "px"));
1217
+ const {
1218
+ key: i,
1219
+ value: s
1220
+ } = z_(n, r);
1221
+ if (c_(s) && (o[i] = Vo(s)), o[i] = s, i === "hidden" && s)
1222
+ return o.display = "none", o;
1223
+ if (i === "innerHTML" && (o.innerHTML = I(s) ? `${s}` : ""), i === "innerText" && (o.innerText = I(s) ? `${s}` : ""), i === "children" && (o.children = typeof s == "string" ? I(s) ? `${s}` : "" : s), i.includes("borderWidth") && (o.borderStyle = "solid"), i === "corner" && (o.borderRadius = zt(s, "px")), i === "backgroundFit" && (no("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."), o.backgroundSize = s, o.objectFit = s), i === "backgroundImage" && I(s) && (o.backgroundImage = `url(${s})`, o.backgroundRepeat = "no-repeat", o.imageSource = s, no("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")), i === "backgroundColorOpacity" && I(o.backgroundColorOpacity) && I(o.backgroundColor)) {
1224
+ const l = d_(o.backgroundColor);
1225
+ l && (o.backgroundColor = u_(`rgb(${l.r}, ${l.g}, ${l.b})`, +o.backgroundColorOpacity / 100));
1226
+ }
1227
+ return i === "fontFamily" && /auto/i.test(s) && (o.fontFamily = D_), i === "isBold" && (o.fontWeight = s ? "bold" : "initial"), i === "isItalic" && (o.fontStyle = s ? "italic" : "initial"), i === "isThrough" && (o.textDecoration = s ? "line-through" : "initial"), o;
1228
+ }, t);
1229
+ }, U_ = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, A = (t) => I(t) ? Object.entries(t).reduce((e, [o, n]) => (e[o] = U_(n) ? Vo(f({}, t[o])) : n, e), {}) : t, W_ = (t) => t in document.createElement("div").style || t.startsWith("--"), D = (r) => {
1230
+ var i = r, {
1231
+ children: t,
1232
+ typography: e,
1233
+ accentTypography: o
1234
+ } = i, n = Yt(i, [
1235
+ "children",
1236
+ "typography",
1237
+ "accentTypography"
1238
+ ]);
1239
+ var _;
1240
+ const s = It(() => {
1241
+ if (!o)
1242
+ return {};
1243
+ let c = "";
1244
+ return Object.entries(o).forEach(([d, p]) => {
1245
+ W_(d) && (c += `${l_(d)}: ${p}; `);
1246
+ }), c;
1247
+ }, [o]), l = (_ = t == null ? void 0 : t.replace(/script|\n/g, "")) == null ? void 0 : _.replace(/{{(.*?)}}/g, `<span style="${s}">$1</span>`);
1248
+ return a("div", y(f({}, n), {
1249
+ style: f(f({}, e), n.style || {}),
1250
+ dangerouslySetInnerHTML: {
1251
+ __html: l
1252
+ }
1253
+ }));
1254
+ }, Qt = () => {
1255
+ const [t, e] = nt(!1);
1256
+ return [t, () => e((o) => !o)];
1257
+ }, Nt = () => a("svg", {
1258
+ xmlns: "http://www.w3.org/2000/svg",
1259
+ width: "100%",
1260
+ height: "100%",
1261
+ viewBox: "0 0 24 24",
1262
+ children: a("path", {
1263
+ 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",
1264
+ fill: "currentColor"
1265
+ })
1266
+ }), se = () => a("svg", {
1267
+ width: "16",
1268
+ height: "16",
1269
+ viewBox: "0 0 16 16",
1270
+ fill: "none",
1271
+ xmlns: "http://www.w3.org/2000/svg",
1272
+ children: a("path", {
1273
+ d: "M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",
1274
+ fill: "currentColor"
1275
+ })
1276
+ }), Z_ = (t) => ({
1277
+ fade: `${t.fade} 2s linear infinite`,
1278
+ pulse: `${t.pulse} .3s linear 0s infinite alternate forwards`,
1279
+ wiggle: `${t.wiggle} 2s linear infinite`,
1280
+ gradient: `${t.gradient} 3s ease infinite`
1281
+ }), Bo = (t, e) => {
1282
+ var d, p, u, g, v, b, $, F, G, H, R, M, E;
1283
+ const o = Z_(e), n = A(t), r = (d = n == null ? void 0 : n.icon) == null ? void 0 : d.hasIcon, i = {
1284
+ left: `${+(((p = t == null ? void 0 : t.container) == null ? void 0 : p.left) || 0) * -1 + 8}px`,
1285
+ backgroundColor: (u = n == null ? void 0 : n.container) == null ? void 0 : u.backgroundColor,
1286
+ borderTopWidth: (g = n == null ? void 0 : n.container) == null ? void 0 : g.borderWidth,
1287
+ borderTopColor: (v = n == null ? void 0 : n.container) == null ? void 0 : v.borderColor,
1288
+ borderTopStyle: "solid",
1289
+ borderLeftWidth: (b = n == null ? void 0 : n.container) == null ? void 0 : b.borderWidth,
1290
+ borderLeftColor: ($ = n == null ? void 0 : n.container) == null ? void 0 : $.borderColor,
1291
+ borderLeftStyle: "solid"
1292
+ }, s = {
1293
+ left: (F = n == null ? void 0 : n.container) == null ? void 0 : F.left
1294
+ }, l = (((G = n == null ? void 0 : n.icon) == null ? void 0 : G.animations) || []).map((k) => o[k]).join(", "), _ = I((H = n == null ? void 0 : n.icon) == null ? void 0 : H.gradientColor) && ((R = n == null ? void 0 : n.icon) != null && R.animations.includes("gradient")) ? {
1295
+ background: `linear-gradient(-90deg, ${(M = n.icon) == null ? void 0 : M.backgroundColor} 0%, ${(E = n == null ? void 0 : n.icon) == null ? void 0 : E.gradientColor} 100%) 0% 0% / 400% 400%`,
1296
+ backgroundSize: "400% 400%"
1297
+ } : n == null ? void 0 : n.icon, c = f(y(f({}, (n == null ? void 0 : n.icon) || {}), {
1298
+ animation: l
1299
+ }), _);
1300
+ return {
1301
+ hasIcon: r,
1302
+ arrowRules: i,
1303
+ bodyRules: s,
1304
+ iconRules: c
1305
+ };
1306
+ }, _t = (t) => {
1307
+ const e = /* @__PURE__ */ new Set([]);
1308
+ ut(t, (n, r) => (n === "fontFamily" && e.add(r), r));
1309
+ const o = It(() => Array.from(e.values()).filter((n) => !/auto/i.test(n)).map((n) => ({
1310
+ rel: "stylesheet",
1311
+ href: `https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`
1312
+ })), [e]);
1313
+ V(() => {
1314
+ o.forEach(t_);
1315
+ }, [o]);
1316
+ }, X = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundSize", "backgroundRepeat"], K_ = ["borderWidth", "borderColor", "borderStyle"], ro = ["imageSource", "objectFit"], Dt = ["marginTop", "marginBottom", "marginLeft", "marginRight", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], X_ = ({
1317
+ delay: t,
1318
+ openEmitter: e,
1319
+ autoOpenEmitter: o,
1320
+ closeEmitter: n,
1321
+ crossCloseEmitter: r,
1322
+ disableAutoOpen: i
1323
+ }) => {
1324
+ const [s, l] = nt(!1), _ = q(null), c = (u) => {
1325
+ clearTimeout(_.current), _.current = null;
1326
+ }, d = () => {
1327
+ c(_.current), l((u) => (u && n && n(), !u));
1328
+ }, p = () => {
1329
+ d(), r && r();
1330
+ };
1331
+ return V(() => {
1332
+ if (!i)
1333
+ return _.current = setTimeout(() => {
1334
+ l(!0), o && o();
1335
+ }, t || 1e3), () => c(_.current);
1336
+ }, [t, i]), V(() => {
1337
+ s && !_.current && e && e();
1338
+ }, [s]), {
1339
+ isOpen: s,
1340
+ toggle: d,
1341
+ onCrossClick: p
1342
+ };
1343
+ }, qo = ({
1344
+ ref: t,
1345
+ openDelay: e,
1346
+ disableAutoOpen: o
1347
+ }) => {
1348
+ const n = q(Ht()), r = (u) => n.current.on("open", u), i = (u) => n.current.on("click", u), s = (u) => n.current.on("autoOpen", u), l = (u) => n.current.on("close", u), _ = (u) => n.current.on("crossClose", u), {
1349
+ isOpen: c,
1350
+ toggle: d,
1351
+ onCrossClick: p
1352
+ } = X_({
1353
+ delay: e,
1354
+ disableAutoOpen: o,
1355
+ openEmitter: () => n.current.emit("open"),
1356
+ autoOpenEmitter: () => n.current.emit("autoOpen"),
1357
+ closeEmitter: () => n.current.emit("close"),
1358
+ crossCloseEmitter: () => n.current.emit("crossClose")
1359
+ });
1360
+ return St(t, () => ({
1361
+ toggle: d,
1362
+ onCrossClose: _,
1363
+ onOpen: r,
1364
+ onClick: i,
1365
+ onClose: l,
1366
+ onAutoOpen: s,
1367
+ resetListeners: n.current.reset
1368
+ })), V(() => n.current.reset, []), {
1369
+ isOpen: c,
1370
+ toggle: d,
1371
+ onCrossClick: p,
1372
+ click: (...u) => n.current.emit("click", ...u)
1373
+ };
1374
+ }, J_ = st(({
1375
+ id: t,
1376
+ disableAutoOpen: e
1377
+ }, o) => {
1378
+ var H, R, M, E, k, W, U, J, Z;
1379
+ const n = q(null), [r, i] = Qt(), s = P(), l = ft({
1380
+ targetRef: n,
1381
+ id: t
1382
+ }), _ = lt(s, l), c = A(_), {
1383
+ hasIcon: d,
1384
+ iconRules: p,
1385
+ bodyRules: u,
1386
+ arrowRules: g
1387
+ } = Bo(_, {
1388
+ fade: C.fadein,
1389
+ pulse: C.pulse,
1390
+ wiggle: C.wiggle,
1391
+ gradient: C.gradient
1392
+ }), {
1393
+ isOpen: v,
1394
+ toggle: b,
1395
+ click: $,
1396
+ onCrossClick: F
1397
+ } = qo({
1398
+ ref: o,
1399
+ openDelay: (H = _ == null ? void 0 : _.container) == null ? void 0 : H.delay,
1400
+ disableAutoOpen: e
1401
+ });
1402
+ _t(_);
1403
+ const G = r ? ot(c.container, ...K_) : {};
1404
+ return a("div", {
1405
+ className: L(C.root, {
1406
+ [C.legalOpen]: r
1407
+ }),
1408
+ ref: n,
1409
+ children: [a("div", {
1410
+ className: C.icon,
1411
+ style: p,
1412
+ onClick: b,
1413
+ children: d && a("div", {
1414
+ className: C.iconTarget,
1415
+ children: a(se, {})
1416
+ })
1417
+ }), a("div", {
1418
+ className: L(C.body, {
1419
+ [C.bodyOpen]: v
1420
+ }),
1421
+ style: u,
1422
+ children: [a("div", {
1423
+ className: C.arrow,
1424
+ style: g
1425
+ }), a("div", {
1426
+ className: C.close,
1427
+ style: gt(c == null ? void 0 : c.close),
1428
+ onClick: F,
1429
+ children: a(Nt, {})
1430
+ }), a("div", {
1431
+ className: C.container,
1432
+ style: c == null ? void 0 : c.container,
1433
+ children: [a("a", {
1434
+ href: (R = c == null ? void 0 : c.root) == null ? void 0 : R.offer,
1435
+ target: "_blank",
1436
+ rel: "nofollow noopener noreferrer",
1437
+ onClick: () => $(c.id),
1438
+ children: [a("div", {
1439
+ className: C.inner,
1440
+ children: [a("div", {
1441
+ className: C.logo,
1442
+ style: c == null ? void 0 : c.logo
1443
+ }), a(D, {
1444
+ className: C.text,
1445
+ style: c == null ? void 0 : c.text,
1446
+ typography: (M = c.text) == null ? void 0 : M.typography,
1447
+ accentTypography: (E = c.text) == null ? void 0 : E.accentTypography,
1448
+ children: (k = c == null ? void 0 : c.text) == null ? void 0 : k.children
1449
+ })]
1450
+ }), a("div", {
1451
+ className: L(C.button, {
1452
+ [C.buttonAnimated]: c == null ? void 0 : c.button.isAnimated
1453
+ }),
1454
+ style: c == null ? void 0 : c.button,
1455
+ children: (W = c == null ? void 0 : c.button) == null ? void 0 : W.children
1456
+ })]
1457
+ }), a("div", {
1458
+ className: C.legalGap
1459
+ }), a("div", {
1460
+ className: C.legal,
1461
+ style: f(f({}, c == null ? void 0 : c.legal), G),
1462
+ children: a("span", {
1463
+ className: C.legalText,
1464
+ children: a("span", {
1465
+ children: [a("span", {
1466
+ children: (U = c == null ? void 0 : c.legal) == null ? void 0 : U.children
1467
+ }), a("span", {
1468
+ className: C.legalButton,
1469
+ onClick: i,
1470
+ children: r ? (J = c == null ? void 0 : c.legal) == null ? void 0 : J.buttonOpenText : (Z = c == null ? void 0 : c.legal) == null ? void 0 : Z.buttonHideText
1471
+ })]
1472
+ })
1473
+ })
1474
+ })]
1475
+ })]
1476
+ })]
1477
+ });
1478
+ }), Xf = ct(a(J_, {})), Q_ = "_root_9zg53_1", Y_ = "_icon_9zg53_5", td = "_iconTarget_9zg53_17", ed = "_body_9zg53_23", od = "_desktop_9zg53_30", nd = "_tablet_9zg53_30", rd = "_laptop_9zg53_30", ad = "_bodyOpen_9zg53_34", sd = "_complexGift_in_9zg53_1", id = "_arrow_9zg53_47", cd = "_container_9zg53_57", ld = "_promotion_9zg53_62", _d = "_close_9zg53_68", dd = "_head_9zg53_80", ud = "_headIcon_9zg53_86", pd = "_headTitle_9zg53_92", fd = "_inner_9zg53_99", gd = "_fadein_9zg53_1", hd = "_pulse_9zg53_1", md = "_gradient_9zg53_1", vd = "_wiggle_9zg53_1", w = {
1479
+ root: Q_,
1480
+ icon: Y_,
1481
+ iconTarget: td,
1482
+ body: ed,
1483
+ desktop: od,
1484
+ tablet: nd,
1485
+ laptop: rd,
1486
+ bodyOpen: ad,
1487
+ complexGift_in: sd,
1488
+ arrow: id,
1489
+ container: cd,
1490
+ promotion: ld,
1491
+ close: _d,
1492
+ head: dd,
1493
+ headIcon: ud,
1494
+ headTitle: pd,
1495
+ inner: fd,
1496
+ fadein: gd,
1497
+ pulse: hd,
1498
+ gradient: md,
1499
+ wiggle: vd
1500
+ }, yd = "_root_1y96a_1", bd = "_body_1y96a_30", $d = "_bodyInner_1y96a_38", kd = "_line_1y96a_43", Nd = "_text_1y96a_53", xd = "_button_1y96a_61", Cd = "_logo_1y96a_73", wd = "_variant2_1y96a_79", Td = "_buttonText_1y96a_83", Od = "_legal_1y96a_100", Q = {
1501
+ root: yd,
1502
+ body: bd,
1503
+ bodyInner: $d,
1504
+ line: kd,
1505
+ text: Nd,
1506
+ button: xd,
1507
+ logo: Cd,
1508
+ variant2: wd,
1509
+ buttonText: Td,
1510
+ legal: Od
1511
+ }, jd = ({
1512
+ onClick: t
1513
+ }) => {
1514
+ var n, r, i, s, l, _, c;
1515
+ const e = P(), o = A(e);
1516
+ return a("a", {
1517
+ href: (n = o.root) == null ? void 0 : n.offer,
1518
+ target: "_blank",
1519
+ rel: "nofollow noopener noreferrer",
1520
+ className: L(Q.root, {
1521
+ [Q.variant2]: ((r = o.root) == null ? void 0 : r.variant) === "variant2"
1522
+ }),
1523
+ style: o.root,
1524
+ onClick: () => t(o.id),
1525
+ children: [a("div", {
1526
+ className: Q.body,
1527
+ children: [a("div", {
1528
+ className: Q.line,
1529
+ style: o.line
1530
+ }), a("div", {
1531
+ className: Q.bodyInner,
1532
+ children: [a("div", {
1533
+ className: Q.logo,
1534
+ style: o.logo
1535
+ }), a("div", {
1536
+ className: Q.text,
1537
+ style: o.text,
1538
+ children: a(D, {
1539
+ typography: (i = o.text) == null ? void 0 : i.typography,
1540
+ accentTypography: (s = o.text) == null ? void 0 : s.accentTypography,
1541
+ children: (l = o.text) == null ? void 0 : l.children
1542
+ })
1543
+ })]
1544
+ }), a("div", {
1545
+ className: Q.button,
1546
+ style: o.button,
1547
+ children: [a("div", {
1548
+ className: Q.logo,
1549
+ style: o.logo
1550
+ }), a("div", {
1551
+ className: Q.buttonText,
1552
+ children: (_ = o.button) == null ? void 0 : _.children
1553
+ })]
1554
+ })]
1555
+ }), a("div", {
1556
+ className: Q.legal,
1557
+ style: o.legal,
1558
+ children: (c = o.legal) == null ? void 0 : c.children
1559
+ })]
1560
+ });
1561
+ }, Ld = st(({
1562
+ id: t,
1563
+ disableAutoOpen: e
1564
+ }, o) => {
1565
+ var H, R, M, E;
1566
+ const n = q(null), r = P(), i = ft({
1567
+ targetRef: n,
1568
+ id: t
1569
+ }), s = lt(r, i), l = A(s), {
1570
+ isOpen: _,
1571
+ click: c,
1572
+ toggle: d,
1573
+ onCrossClick: p
1574
+ } = qo({
1575
+ ref: o,
1576
+ openDelay: (H = s == null ? void 0 : s.container) == null ? void 0 : H.delay,
1577
+ disableAutoOpen: e
1578
+ });
1579
+ _t(s);
1580
+ const {
1581
+ hasIcon: u,
1582
+ iconRules: g,
1583
+ bodyRules: v,
1584
+ arrowRules: b
1585
+ } = Bo(s, {
1586
+ fade: w.fadein,
1587
+ pulse: w.pulse,
1588
+ wiggle: w.wiggle,
1589
+ gradient: w.gradient
1590
+ }), $ = (R = l == null ? void 0 : l.title) == null ? void 0 : R.hasIcon, F = ot(l == null ? void 0 : l.title, ...Dt), G = rt(l == null ? void 0 : l.title, ...Dt);
1591
+ return a("div", {
1592
+ ref: n,
1593
+ className: L(w.root, {
1594
+ [w.desktop]: i === "desktop",
1595
+ [w.laptop]: i === "laptop",
1596
+ [w.tablet]: i === "tablet"
1597
+ }),
1598
+ children: [a("div", {
1599
+ className: w.icon,
1600
+ style: g,
1601
+ onClick: d,
1602
+ children: u && a("div", {
1603
+ className: w.iconTarget,
1604
+ children: a(se, {})
1605
+ })
1606
+ }), a("div", {
1607
+ className: L(w.body, {
1608
+ [w.bodyOpen]: _
1609
+ }),
1610
+ style: v,
1611
+ children: [a("div", {
1612
+ className: w.arrow,
1613
+ style: b
1614
+ }), a("div", {
1615
+ className: w.container,
1616
+ style: l.container,
1617
+ children: [a("div", {
1618
+ className: w.close,
1619
+ style: gt(l == null ? void 0 : l.close),
1620
+ onClick: p,
1621
+ children: a(Nt, {})
1622
+ }), a("div", {
1623
+ className: w.head,
1624
+ style: F,
1625
+ children: [$ && a("div", {
1626
+ className: w.headIcon,
1627
+ style: ot(l.title, "color"),
1628
+ children: a(se, {})
1629
+ }), a("div", {
1630
+ className: w.headTitle,
1631
+ style: G,
1632
+ children: (M = l.title) == null ? void 0 : M.children
1633
+ })]
1634
+ }), a("div", {
1635
+ className: w.inner,
1636
+ children: (l.children || []).map((k) => a(it, {
1637
+ value: k,
1638
+ children: a(jd, {
1639
+ onClick: c
1640
+ })
1641
+ }))
1642
+ }), a("div", {
1643
+ className: w.promotion,
1644
+ style: l.promotion,
1645
+ children: (E = l.promotion) == null ? void 0 : E.children
1646
+ })]
1647
+ })]
1648
+ })]
1649
+ });
1650
+ }), Jf = ct(a(Ld, {})), Ad = "_root_1csot_1", Sd = "_background_1csot_11", Id = "_content_1csot_19", Pd = "_desktop_1csot_28", Hd = "_laptop_1csot_28", Rd = "_wrapper_1csot_33", Md = "_overlay_1csot_37", Ed = "_close_1csot_43", Vd = "_promotion_1csot_54", Bd = "_body_1csot_62", qd = "_logo_1csot_71", Fd = "_text_1csot_77", zd = "_button_1csot_81", Dd = "_legal_1csot_96", z = {
1651
+ root: Ad,
1652
+ background: Sd,
1653
+ content: Id,
1654
+ desktop: Pd,
1655
+ laptop: Hd,
1656
+ wrapper: Rd,
1657
+ overlay: Md,
1658
+ close: Ed,
1659
+ promotion: Vd,
1660
+ body: Bd,
1661
+ logo: qd,
1662
+ text: Fd,
1663
+ button: zd,
1664
+ legal: Dd
1665
+ }, dt = (t) => t && {
1666
+ left: "flex-start",
1667
+ center: "center",
1668
+ right: "flex-end"
1669
+ }[t], Gd = "_root_mj8hr_1", Ud = {
1670
+ root: Gd
1671
+ }, Wd = () => {
1672
+ var o, n, r;
1673
+ const t = P(), e = A(t);
1674
+ return a("div", {
1675
+ className: Ud.root,
1676
+ style: e.root,
1677
+ children: a(D, {
1678
+ typography: (o = e.root) == null ? void 0 : o.typography,
1679
+ accentTypography: (n = e.root) == null ? void 0 : n.accentTypography,
1680
+ children: (r = e == null ? void 0 : e.root) == null ? void 0 : r.children
1681
+ })
1682
+ });
1683
+ }, ue = (t, e = 0, o = !1) => {
1684
+ const n = q(Ht()), [r, i] = nt(!1), [s, l] = nt(), [_, c] = nt(o), d = ($) => n.current.on("visible", $), p = ($) => n.current.on("click", $), u = ($) => n.current.on("clickHide", $), g = () => Ct(void 0, null, function* () {
1685
+ yield s_(+e), i(!0);
1686
+ }), v = () => i(!1), b = () => {
1687
+ n.current.emit("clickHide"), v();
1688
+ };
1689
+ return V(() => {
1690
+ _ && n.current.emit("visible", r);
1691
+ }, [r, _]), St(t, () => ({
1692
+ onVisible: d,
1693
+ onClick: p,
1694
+ onClickHide: u,
1695
+ show: g,
1696
+ hide: v,
1697
+ setApiHost: l,
1698
+ resetListeners: n.current.reset
1699
+ })), V(() => n.current.reset, []), {
1700
+ isReady: _,
1701
+ isOpen: r,
1702
+ apiHost: s,
1703
+ show: g,
1704
+ hide: v,
1705
+ clickHide: b,
1706
+ setIsReady: c,
1707
+ click: (...$) => {
1708
+ v(), n.current.emit("click", ...$);
1709
+ }
1710
+ };
1711
+ };
1712
+ function Zd(t) {
1713
+ return !(!t.complete || typeof t.naturalWidth != "undefined" && t.naturalWidth === 0);
1714
+ }
1715
+ const Kd = st(({
1716
+ id: t,
1717
+ className: e
1718
+ }, o) => {
1719
+ var R, M, E, k, W, U, J;
1720
+ const n = q(null), r = q(null), i = ft({
1721
+ targetRef: n,
1722
+ id: t
1723
+ }), s = P(), l = lt(s, i);
1724
+ _t(l), Lt(l, "button.percent_width", (R = l == null ? void 0 : l.button) == null ? void 0 : R.width), Lt(l, "legal.percent_width", (M = l == null ? void 0 : l.legal) == null ? void 0 : M.width);
1725
+ const _ = A(l), c = m(_, "root.delay", 0), {
1726
+ isOpen: d,
1727
+ isReady: p,
1728
+ setIsReady: u,
1729
+ clickHide: g,
1730
+ click: v
1731
+ } = ue(o, c);
1732
+ V(() => {
1733
+ const Z = r.current;
1734
+ if (!Z)
1735
+ return;
1736
+ if (Zd(Z)) {
1737
+ u(!0);
1738
+ return;
1739
+ }
1740
+ const xt = () => u(!0);
1741
+ return Z.addEventListener("load", xt), () => {
1742
+ Z.removeEventListener("load", xt);
1743
+ };
1744
+ }, [_]);
1745
+ const b = {
1746
+ alignItems: dt((E = _.root) == null ? void 0 : E.align)
1747
+ }, $ = y(f({}, _ == null ? void 0 : _.button), {
1748
+ justifyContent: dt((k = _.root) == null ? void 0 : k.textAlign)
1749
+ }), F = y(f({}, _ == null ? void 0 : _.legal), {
1750
+ justifyContent: dt((W = _.root) == null ? void 0 : W.textAlign)
1751
+ }), G = rt(_.root, ...ro, ...X), H = ot(_.root, ...ro);
1752
+ return a("div", {
1753
+ className: L(z.root, e, {
1754
+ [z.desktop]: i === "desktop",
1755
+ [z.tablet]: i === "tablet",
1756
+ [z.laptop]: i === "laptop"
1757
+ }),
1758
+ ref: n,
1759
+ style: {
1760
+ display: d && p ? "flex" : "none"
1761
+ },
1762
+ children: [a("div", {
1763
+ className: z.overlay,
1764
+ style: _.overlay,
1765
+ onClick: g
1766
+ }), a("div", {
1767
+ className: z.wrapper,
1768
+ children: [a("div", {
1769
+ className: z.close,
1770
+ style: gt(_.close),
1771
+ onClick: g,
1772
+ children: a(Nt, {})
1773
+ }), a(D, {
1774
+ className: z.promotion,
1775
+ style: _.promotion,
1776
+ children: (U = _.promotion) == null ? void 0 : U.children
1777
+ }), a("a", {
1778
+ href: (J = _.root) == null ? void 0 : J.offer,
1779
+ target: "_blank",
1780
+ rel: "nofollow noopener noreferrer",
1781
+ className: z.content,
1782
+ style: G,
1783
+ onClick: () => v(_.id),
1784
+ children: [a("img", {
1785
+ ref: r,
1786
+ className: z.background,
1787
+ src: H.imageSource,
1788
+ alt: "",
1789
+ style: H
1790
+ }), a("div", {
1791
+ className: z.body,
1792
+ style: b,
1793
+ children: [a("div", {
1794
+ className: z.logo,
1795
+ style: _.logo
1796
+ }), a("div", {
1797
+ className: z.text,
1798
+ children: ((_ == null ? void 0 : _.children) || []).map((Z) => a(it, {
1799
+ value: Z,
1800
+ children: a(Wd, {})
1801
+ }))
1802
+ }), a("div", {
1803
+ className: z.button,
1804
+ style: $,
1805
+ children: $ == null ? void 0 : $.children
1806
+ }), a("div", {
1807
+ className: z.legal,
1808
+ style: F,
1809
+ children: F == null ? void 0 : F.children
1810
+ })]
1811
+ })]
1812
+ })]
1813
+ })]
1814
+ });
1815
+ }), Qf = ct(a(Kd, {})), Xd = "_root_yxyl1_1", Jd = "_content_yxyl1_11", Qd = "_desktop_yxyl1_22", Yd = "_laptop_yxyl1_22", tu = "_overlay_yxyl1_27", eu = "_close_yxyl1_33", ou = "_promotion_yxyl1_44", nu = "_title_yxyl1_52", ru = "_wrapper_yxyl1_67", at = {
1816
+ root: Xd,
1817
+ content: Jd,
1818
+ desktop: Qd,
1819
+ laptop: Yd,
1820
+ overlay: tu,
1821
+ close: eu,
1822
+ promotion: ou,
1823
+ title: nu,
1824
+ wrapper: ru
1825
+ }, au = "_root_1q0qc_1", su = "_desktop_1q0qc_9", iu = "_laptop_1q0qc_9", cu = "_header_1q0qc_14", lu = "_logo_1q0qc_25", _u = "_container_1q0qc_32", du = "_body_1q0qc_43", uu = "_logoWrapper_1q0qc_51", pu = "_text_1q0qc_64", fu = "_button_1q0qc_79", gu = "_legal_1q0qc_97", K = {
1826
+ root: au,
1827
+ desktop: su,
1828
+ laptop: iu,
1829
+ header: cu,
1830
+ logo: lu,
1831
+ container: _u,
1832
+ body: du,
1833
+ logoWrapper: uu,
1834
+ text: pu,
1835
+ button: fu,
1836
+ legal: gu
1837
+ }, hu = ({
1838
+ onClick: t
1839
+ }) => {
1840
+ var i, s, l, _, c, d;
1841
+ const e = P(), o = A(e), n = (e == null ? void 0 : e.device) || "desktop", r = ot(o.header, ...X);
1842
+ return a("a", {
1843
+ href: (i = o.root) == null ? void 0 : i.offer,
1844
+ target: "_blank",
1845
+ rel: "nofollow noopener noreferrer",
1846
+ className: L(K.root, {
1847
+ [K.desktop]: n === "desktop",
1848
+ [K.laptop]: n === "laptop"
1849
+ }),
1850
+ style: rt(o.root, ...Dt),
1851
+ onClick: () => t(o.id),
1852
+ children: [a("div", {
1853
+ className: K.header,
1854
+ style: o.header,
1855
+ children: a("div", {
1856
+ className: K.logo,
1857
+ style: o.logo
1858
+ })
1859
+ }), a("div", {
1860
+ className: K.container,
1861
+ style: ot(o.root, ...Dt),
1862
+ children: [a("div", {
1863
+ className: K.body,
1864
+ children: [a("div", {
1865
+ className: K.logoWrapper,
1866
+ style: r,
1867
+ children: a("div", {
1868
+ className: K.logo,
1869
+ style: o.logo
1870
+ })
1871
+ }), a(D, {
1872
+ className: K.text,
1873
+ style: o.text,
1874
+ typography: (s = o.text) == null ? void 0 : s.typography,
1875
+ accentTypography: (l = o.text) == null ? void 0 : l.accentTypography,
1876
+ children: (_ = o.text) == null ? void 0 : _.children
1877
+ })]
1878
+ }), a("div", {
1879
+ children: [a(D, {
1880
+ className: K.button,
1881
+ style: o.button,
1882
+ children: (c = o.button) == null ? void 0 : c.children
1883
+ }), a(D, {
1884
+ className: K.legal,
1885
+ style: o.legal,
1886
+ children: (d = o.legal) == null ? void 0 : d.children
1887
+ })]
1888
+ })]
1889
+ })]
1890
+ });
1891
+ }, mu = st(({
1892
+ id: t
1893
+ }, e) => {
1894
+ var p, u;
1895
+ const o = q(null), n = ft({
1896
+ targetRef: o,
1897
+ id: t
1898
+ }), r = P(), i = lt(r, n), s = A(i);
1899
+ _t(i);
1900
+ const l = m(s, "root.delay", 0), {
1901
+ isOpen: _,
1902
+ clickHide: c,
1903
+ click: d
1904
+ } = ue(e, l, !0);
1905
+ return a("div", {
1906
+ className: at.root,
1907
+ style: {
1908
+ display: _ ? "flex" : "none"
1909
+ },
1910
+ children: [a("div", {
1911
+ className: at.overlay,
1912
+ style: s.overlay,
1913
+ onClick: c
1914
+ }), a("div", {
1915
+ ref: o,
1916
+ className: L(at.content, {
1917
+ [at.desktop]: n === "desktop",
1918
+ [at.laptop]: n === "laptop"
1919
+ }),
1920
+ style: s.root,
1921
+ children: [a("div", {
1922
+ className: at.close,
1923
+ style: gt(s.close),
1924
+ onClick: c,
1925
+ children: a(Nt, {})
1926
+ }), a(D, {
1927
+ className: at.promotion,
1928
+ style: s.promotion,
1929
+ children: (p = s.promotion) == null ? void 0 : p.children
1930
+ }), a(D, {
1931
+ className: at.title,
1932
+ style: s.title,
1933
+ children: (u = s.title) == null ? void 0 : u.children
1934
+ }), a("div", {
1935
+ className: at.wrapper,
1936
+ children: (s.children || []).map((g) => a(it, {
1937
+ value: y(f({}, g), {
1938
+ device: n
1939
+ }),
1940
+ children: a(hu, {
1941
+ onClick: d
1942
+ })
1943
+ }))
1944
+ })]
1945
+ })]
1946
+ });
1947
+ }), Yf = ct(a(mu, {})), vu = "_root_1i7wv_1", yu = "_content_1i7wv_11", bu = "_close_1i7wv_18", $u = "_promotion_1i7wv_31", ku = "_overlay_1i7wv_39", Nu = "_body_1i7wv_45", xu = "_desktop_1i7wv_53", Cu = "_laptop_1i7wv_53", wu = "_tablet_1i7wv_57", Tu = "_head_1i7wv_62", Ou = "_title_1i7wv_72", ju = "_logo_1i7wv_85", Lu = "_wrapper_1i7wv_92", Au = "_text_1i7wv_99", Su = "_button_1i7wv_107", Iu = "_buttonHead_1i7wv_122", Pu = "_buttonTarget_1i7wv_139", Hu = "_legal_1i7wv_153", S = {
1948
+ root: vu,
1949
+ content: yu,
1950
+ close: bu,
1951
+ promotion: $u,
1952
+ overlay: ku,
1953
+ body: Nu,
1954
+ desktop: xu,
1955
+ laptop: Cu,
1956
+ tablet: wu,
1957
+ head: Tu,
1958
+ title: Ou,
1959
+ logo: ju,
1960
+ wrapper: Lu,
1961
+ text: Au,
1962
+ button: Su,
1963
+ buttonHead: Iu,
1964
+ buttonTarget: Pu,
1965
+ legal: Hu
1966
+ }, Ru = "_root_16jvv_1", Mu = "_left_16jvv_8", Eu = "_desktop_16jvv_15", Vu = "_laptop_16jvv_15", Bu = "_teams_16jvv_19", qu = "_logo_16jvv_25", Fu = "_league_16jvv_32", zu = "_name_16jvv_37", Du = "_right_16jvv_43", Gu = "_odd_16jvv_54", Uu = "_oddLabel_16jvv_67", Wu = "_oddValue_16jvv_76", Zu = "_team_16jvv_19", Ku = "_teamLogo_16jvv_100", Xu = "_teamName_16jvv_107", T = {
1967
+ root: Ru,
1968
+ left: Mu,
1969
+ desktop: Eu,
1970
+ laptop: Vu,
1971
+ teams: Bu,
1972
+ logo: qu,
1973
+ league: Fu,
1974
+ name: zu,
1975
+ right: Du,
1976
+ odd: Gu,
1977
+ oddLabel: Uu,
1978
+ oddValue: Wu,
1979
+ team: Zu,
1980
+ teamLogo: Ku,
1981
+ teamName: Xu
1982
+ }, Ju = () => {
1983
+ const t = P(), e = A(t), o = (t == null ? void 0 : t.device) || "desktop", n = y(f({}, e == null ? void 0 : e.teamALogo), {
1984
+ backgroundImage: m(e, "match.teams[0].logo")
1985
+ }), r = y(f({}, e == null ? void 0 : e.teamBLogo), {
1986
+ backgroundImage: m(e, "match.teams[1].logo")
1987
+ });
1988
+ return a("div", {
1989
+ className: L(T.root, {
1990
+ [T.desktop]: o === "desktop",
1991
+ [T.laptop]: o === "laptop"
1992
+ }),
1993
+ children: [a("div", {
1994
+ className: T.left,
1995
+ children: [a("div", {
1996
+ className: T.teams,
1997
+ children: [a("img", {
1998
+ className: T.logo,
1999
+ src: n.backgroundImage,
2000
+ style: n,
2001
+ alt: ""
2002
+ }), a("img", {
2003
+ className: T.logo,
2004
+ src: r.backgroundImage,
2005
+ style: r
2006
+ })]
2007
+ }), a("div", {
2008
+ className: T.body,
2009
+ children: [a("div", {
2010
+ className: T.league,
2011
+ style: e.league,
2012
+ children: m(e, "match.league.name")
2013
+ }), a("div", {
2014
+ className: T.name,
2015
+ style: e.teams,
2016
+ children: [m(e, "match.teams[0].name"), " — ", m(e, "match.teams[1].name")]
2017
+ })]
2018
+ })]
2019
+ }), a("div", {
2020
+ className: T.right,
2021
+ children: [a("div", {
2022
+ className: T.team,
2023
+ children: [a("img", {
2024
+ className: T.teamLogo,
2025
+ style: n,
2026
+ src: n.backgroundImage
2027
+ }), a("div", {
2028
+ className: T.teamName,
2029
+ style: e.teams,
2030
+ children: m(e, "match.teams[0].name")
2031
+ })]
2032
+ }), a("div", {
2033
+ className: T.odd,
2034
+ children: [a("div", {
2035
+ className: T.oddLabel,
2036
+ style: e.oddLabel,
2037
+ children: m(e, "match.prediction.value")
2038
+ }), a("div", {
2039
+ className: T.oddValue,
2040
+ style: e.oddValue,
2041
+ children: m(e, "match.prediction.factor")
2042
+ })]
2043
+ }), a("div", {
2044
+ className: T.team,
2045
+ children: [a("img", {
2046
+ className: T.teamLogo,
2047
+ style: r,
2048
+ src: r.backgroundImage
2049
+ }), a("div", {
2050
+ className: T.teamName,
2051
+ style: e.teams,
2052
+ children: m(e, "match.teams[1].name")
2053
+ })]
2054
+ })]
2055
+ })]
2056
+ });
2057
+ }, Fo = (t, {
2058
+ pause: e,
2059
+ params: o,
2060
+ method: n,
2061
+ body: r
2062
+ }) => {
2063
+ const [i, s] = nt(), l = It(() => {
2064
+ let c = t;
2065
+ if (o) {
2066
+ const d = new URLSearchParams(c);
2067
+ Object.entries(o).forEach(([p, u]) => {
2068
+ d.append(p, u);
2069
+ }), c += d;
2070
+ }
2071
+ return c;
2072
+ }, [t, o]), _ = Yo(() => Ct(void 0, null, function* () {
2073
+ if (e)
2074
+ return;
2075
+ const c = yield fetch(l, {
2076
+ method: n || "GET",
2077
+ body: r ? JSON.stringify(r) : void 0,
2078
+ headers: {
2079
+ "Content-Type": "application/json"
2080
+ }
2081
+ }).then((d) => d.json());
2082
+ s(c.data);
2083
+ }), [l, e, n, r]);
2084
+ return V(() => {
2085
+ e || _();
2086
+ }, [l, e]), {
2087
+ data: i,
2088
+ execute: _
2089
+ };
2090
+ };
2091
+ function zo(t) {
2092
+ const e = q();
2093
+ return V(() => {
2094
+ e.current = t;
2095
+ }, [t]), e.current;
2096
+ }
2097
+ const Qu = (t, e) => {
2098
+ const o = (c) => {
2099
+ var d;
2100
+ return I(c == null ? void 0 : c.matchSlug) && ((d = c == null ? void 0 : c.matchSlug) == null ? void 0 : d.length) > 0;
2101
+ }, n = t.children || [], r = n.filter((c) => o(c.root.targetMatch)).map((c) => c.root.targetMatch), i = zo(r), {
2102
+ data: s,
2103
+ execute: l
2104
+ } = Fo(`${e}/match-list`, {
2105
+ method: "POST",
2106
+ body: {
2107
+ matches: r.map((c) => ({
2108
+ slug: c.matchSlug,
2109
+ sport_slug: c.sportSlug,
2110
+ lang: c.langSlug,
2111
+ bookmaker_slug: c.bookmaker,
2112
+ offset: c.offset,
2113
+ markets: c.markets
2114
+ }))
2115
+ },
2116
+ pause: !e || r.length === 0
2117
+ });
2118
+ return V(() => {
2119
+ Ho(i, r) || l();
2120
+ }, [r]), n.map((c) => {
2121
+ const d = (s || []).find((g) => g.slug === c.root.targetMatch.matchSlug);
2122
+ if (!d)
2123
+ return;
2124
+ const p = Po(d), u = Ro(p, c.root.customMatch, (g, [v, b]) => I(b));
2125
+ return y(f({}, c), {
2126
+ match: u
2127
+ });
2128
+ }).filter(Boolean);
2129
+ }, Yu = st(({
2130
+ id: t
2131
+ }, e) => {
2132
+ var G, H, R, M, E, k, W, U, J, Z, xt, pe, fe, ge;
2133
+ const o = q(null), n = ft({
2134
+ targetRef: o,
2135
+ id: t
2136
+ }), r = P(), i = lt(r, n);
2137
+ Lt(i, "buttonWrapper.percent_width", (G = i == null ? void 0 : i.buttonWrapper) == null ? void 0 : G.width), Lt(i, "legal.percent_width", (H = i == null ? void 0 : i.legal) == null ? void 0 : H.width);
2138
+ const s = A(i);
2139
+ _t(i);
2140
+ const l = m(s, "root.delay", 0), {
2141
+ isOpen: _,
2142
+ apiHost: c,
2143
+ clickHide: d,
2144
+ click: p
2145
+ } = ue(e, l, !0), u = Qu(i, c), g = y(f({}, s.root), {
2146
+ alignItems: dt((R = s.root) == null ? void 0 : R.align)
2147
+ }), v = y(f({}, s.content), {
2148
+ alignItems: dt((M = s.root) == null ? void 0 : M.align)
2149
+ }), b = y(f({}, s.text), {
2150
+ textAlign: (E = s.root) == null ? void 0 : E.align
2151
+ }), $ = y(f({}, s == null ? void 0 : s.button), {
2152
+ justifyContent: dt((k = s.root) == null ? void 0 : k.textAlign)
2153
+ }), F = y(f({}, s == null ? void 0 : s.legal), {
2154
+ justifyContent: dt((W = s.root) == null ? void 0 : W.textAlign)
2155
+ });
2156
+ return a("div", {
2157
+ className: L(S.root, {
2158
+ [S.desktop]: n === "desktop",
2159
+ [S.laptop]: n === "laptop",
2160
+ [S.tablet]: n === "tablet"
2161
+ }),
2162
+ ref: o,
2163
+ style: {
2164
+ display: _ ? "flex" : "none"
2165
+ },
2166
+ children: [a("div", {
2167
+ className: S.overlay,
2168
+ style: s.overlay,
2169
+ onClick: d
2170
+ }), a("div", {
2171
+ className: S.content,
2172
+ children: [a("div", {
2173
+ className: S.close,
2174
+ style: gt(s.close),
2175
+ onClick: d,
2176
+ children: a(Nt, {})
2177
+ }), a(D, {
2178
+ className: S.promotion,
2179
+ style: s.promotion,
2180
+ children: (U = s.promotion) == null ? void 0 : U.children
2181
+ }), a("a", {
2182
+ ref: o,
2183
+ href: (J = s.root) == null ? void 0 : J.offer,
2184
+ target: "_blank",
2185
+ rel: "nofollow noopener noreferrer",
2186
+ onClick: () => p(s.id),
2187
+ children: a("div", {
2188
+ className: S.body,
2189
+ style: g,
2190
+ children: [a("div", {
2191
+ className: S.head,
2192
+ children: [a("div", {
2193
+ className: S.title,
2194
+ style: s.title,
2195
+ children: (Z = s.title) == null ? void 0 : Z.children
2196
+ }), a("div", {
2197
+ className: S.logo,
2198
+ style: s.logo
2199
+ })]
2200
+ }), a("div", {
2201
+ className: S.wrapper,
2202
+ style: v,
2203
+ children: (u || []).map((Do) => a(it, {
2204
+ value: y(f({}, Do), {
2205
+ device: n
2206
+ }),
2207
+ children: a(Ju, {})
2208
+ }))
2209
+ }), a(D, {
2210
+ className: S.text,
2211
+ style: b,
2212
+ typography: b.typography,
2213
+ accentTypography: b.accentTypography,
2214
+ children: (xt = s.text) == null ? void 0 : xt.children
2215
+ }), a("div", {
2216
+ className: S.button,
2217
+ style: s.buttonWrapper,
2218
+ children: [a("div", {
2219
+ className: S.buttonHead,
2220
+ style: s.buttonHead,
2221
+ children: (pe = s.buttonHead) == null ? void 0 : pe.children
2222
+ }), a("div", {
2223
+ className: S.buttonTarget,
2224
+ style: $,
2225
+ children: (fe = s.button) == null ? void 0 : fe.children
2226
+ })]
2227
+ }), a(D, {
2228
+ className: S.legal,
2229
+ style: F,
2230
+ children: (ge = s.legal) == null ? void 0 : ge.children
2231
+ })]
2232
+ })
2233
+ })]
2234
+ })]
2235
+ });
2236
+ }), tg = ct(a(Yu, {})), tp = "_root_x31x3_1", ep = "_background_x31x3_18", op = "_body_x31x3_27", np = "_bookmaker_x31x3_36", rp = "_button_x31x3_43", ap = "_rowFirst_x31x3_57", sp = "_rowSecond_x31x3_63", ip = "_legal_x31x3_69", cp = "_legalText_x31x3_86", lp = "_legalOpen_x31x3_96", _p = "_legalButton_x31x3_101", Y = {
2237
+ root: tp,
2238
+ background: ep,
2239
+ body: op,
2240
+ bookmaker: np,
2241
+ button: rp,
2242
+ rowFirst: ap,
2243
+ rowSecond: sp,
2244
+ legal: ip,
2245
+ legalText: cp,
2246
+ legalOpen: lp,
2247
+ legalButton: _p
2248
+ }, dp = ({
2249
+ onClick: t
2250
+ }) => {
2251
+ var i, s, l, _, c, d, p, u;
2252
+ const e = P(), o = A(e), [n, r] = Qt();
2253
+ return a("div", {
2254
+ className: Y.root,
2255
+ style: rt(o.root, ...X),
2256
+ children: [a("div", {
2257
+ className: Y.background,
2258
+ style: ot(o.root, ...X)
2259
+ }), a("a", {
2260
+ href: (i = o.root) == null ? void 0 : i.offer,
2261
+ target: "_blank",
2262
+ rel: "nofollow noopener noreferrer",
2263
+ className: Y.body,
2264
+ onClick: () => t(o.id),
2265
+ children: [a("div", {
2266
+ children: [a("div", {
2267
+ className: Y.rowFirst,
2268
+ style: o.rowFirst,
2269
+ children: (s = o.rowFirst) == null ? void 0 : s.children
2270
+ }), a("div", {
2271
+ className: Y.rowSecond,
2272
+ style: o.rowSecond,
2273
+ children: (l = o.rowSecond) == null ? void 0 : l.children
2274
+ }), a("div", {
2275
+ className: Y.bookmaker,
2276
+ style: o.bookmaker,
2277
+ children: (_ = o.bookmaker) == null ? void 0 : _.children
2278
+ })]
2279
+ }), a("div", {
2280
+ className: Y.button,
2281
+ style: o.button,
2282
+ children: (c = o.button) == null ? void 0 : c.children
2283
+ })]
2284
+ }), a("div", {
2285
+ className: L(Y.legal, {
2286
+ [Y.legalOpen]: n
2287
+ }),
2288
+ style: o.legalInfo,
2289
+ children: a("span", {
2290
+ className: Y.legalText,
2291
+ children: [a("span", {
2292
+ children: (d = o.legalInfo) == null ? void 0 : d.children
2293
+ }), a("span", {
2294
+ className: Y.legalButton,
2295
+ style: o.legalInfoButton,
2296
+ onClick: r,
2297
+ children: n ? (p = o.legalInfoButton) == null ? void 0 : p.openText : (u = o.legalInfoButton) == null ? void 0 : u.closeText
2298
+ })]
2299
+ })
2300
+ })]
2301
+ });
2302
+ }, up = (t) => {
2303
+ const e = q(Ht()), o = (n) => e.current.on("click", n);
2304
+ return St(t, () => ({
2305
+ promoId: "ContentCards",
2306
+ onClick: o,
2307
+ resetListeners: e.current.reset
2308
+ })), V(() => e.current.reset, []), {
2309
+ click: (...n) => e.current.emit("click", ...n),
2310
+ onClick: o
2311
+ };
2312
+ }, pp = st((t, e) => {
2313
+ const o = q(null), n = P(), i = lt(n, "mobile"), s = A(i);
2314
+ _t(i);
2315
+ const {
2316
+ click: l
2317
+ } = up(e);
2318
+ return a("div", {
2319
+ ref: o,
2320
+ children: ((s == null ? void 0 : s.children) || []).map((_) => a(it, {
2321
+ value: _,
2322
+ children: a(dp, {
2323
+ onClick: l
2324
+ })
2325
+ }))
2326
+ });
2327
+ }), eg = ct(a(pp, {})), fp = "_root_1jxp8_1", gp = "_desktop_1jxp8_13", hp = "_laptop_1jxp8_14", mp = "_promotion_1jxp8_18", vp = "_background_1jxp8_35", yp = "_close_1jxp8_44", bp = "_content_1jxp8_53", $p = "_variant2_1jxp8_66", kp = "_logo_1jxp8_70", Np = "_left_1jxp8_82", xp = "_center_1jxp8_95", Cp = "_slide_1jxp8_101", wp = "_slide_animated_default_1jxp8_115", Tp = "_right_1jxp8_125", Op = "_buttonWrapper_1jxp8_140", jp = "_button_1jxp8_140", Lp = "_button_animated_1jxp8_174", Ap = "_increase_1jxp8_1", O = {
2328
+ root: fp,
2329
+ desktop: gp,
2330
+ laptop: hp,
2331
+ promotion: mp,
2332
+ background: vp,
2333
+ close: yp,
2334
+ content: bp,
2335
+ variant2: $p,
2336
+ logo: kp,
2337
+ left: Np,
2338
+ center: xp,
2339
+ slide: Cp,
2340
+ slide_animated_default: wp,
2341
+ "fade-in-out": "_fade-in-out_1jxp8_1",
2342
+ "slide_animated_bottom-top": "_slide_animated_bottom-top_1jxp8_118",
2343
+ "fade-in-bottom-out-top": "_fade-in-bottom-out-top_1jxp8_1",
2344
+ "slide_animated_top-bottom": "_slide_animated_top-bottom_1jxp8_121",
2345
+ right: Tp,
2346
+ buttonWrapper: Op,
2347
+ button: jp,
2348
+ button_animated: Lp,
2349
+ increase: Ap,
2350
+ "fade-in-top-out-bottom": "_fade-in-top-out-bottom_1jxp8_1"
2351
+ }, Sp = "_root_1c4sr_1", Ip = "_desktop_1c4sr_11", ao = {
2352
+ root: Sp,
2353
+ desktop: Ip
2354
+ }, Pp = () => {
2355
+ var o, n, r;
2356
+ const t = P(), e = A(t);
2357
+ return a("div", {
2358
+ className: L(ao.root, {
2359
+ [ao.desktop]: (t == null ? void 0 : t.device) === "desktop"
2360
+ }),
2361
+ style: rt(e.root, ...X),
2362
+ children: a(D, {
2363
+ accentTypography: (o = e.root) == null ? void 0 : o.accentTypography,
2364
+ typography: (n = e.root) == null ? void 0 : n.typography,
2365
+ children: (r = e.root) == null ? void 0 : r.children
2366
+ })
2367
+ });
2368
+ }, Hp = "_root_gohhp_1", Rp = "_title_gohhp_8", Mp = "_desktop_gohhp_13", Ep = "_laptop_gohhp_13", Vp = "_titleLabel_gohhp_17", Bp = "_tablet_gohhp_20", qp = "_titleValue_gohhp_27", Fp = "_teamLogo_gohhp_38", zp = "_teams_gohhp_49", Dp = "_teamName_gohhp_57", Gp = "_odds_gohhp_64", Up = "_odd_gohhp_64", Wp = "_oddX_gohhp_76", Zp = "_oddValue_gohhp_84", j = {
2369
+ root: Hp,
2370
+ title: Rp,
2371
+ desktop: Mp,
2372
+ laptop: Ep,
2373
+ titleLabel: Vp,
2374
+ tablet: Bp,
2375
+ titleValue: qp,
2376
+ teamLogo: Fp,
2377
+ teams: zp,
2378
+ teamName: Dp,
2379
+ odds: Gp,
2380
+ odd: Up,
2381
+ oddX: Wp,
2382
+ oddValue: Zp
2383
+ }, Gt = (t, e, o = 1, n = !1) => {
2384
+ var l;
2385
+ const [r, i] = [e[0], e[1] || e[0]].map((_) => _ * o), s = `w${r}-h${i}${n ? "-c" : ""}`;
2386
+ return (l = t == null ? void 0 : t.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/, `$1${s}$2`)) != null ? l : t;
2387
+ }, Kp = () => {
2388
+ var i, s;
2389
+ const t = P(), e = A(t), o = rt(e.root, ...X), n = y(f({}, e.teamLogo), {
2390
+ backgroundImage: Gt(m(e, "match.teams[0].logo"), [120, 120]),
2391
+ backgroundColor: "transparent"
2392
+ }), r = y(f({}, e.teamLogo), {
2393
+ backgroundImage: Gt(m(e, "match.teams[1].logo"), [120, 120]),
2394
+ backgroundColor: "transparent"
2395
+ });
2396
+ return a("div", {
2397
+ className: L(j.root, {
2398
+ [j.desktop]: t.device === "desktop",
2399
+ [j.laptop]: t.device === "laptop",
2400
+ [j.tablet]: t.device === "tablet"
2401
+ }),
2402
+ style: o,
2403
+ children: [a("div", {
2404
+ className: j.title,
2405
+ children: [a("div", {
2406
+ className: j.titleLabel,
2407
+ style: e.titleLabel,
2408
+ children: (i = e.titleLabel) == null ? void 0 : i.children
2409
+ }), a("div", {
2410
+ className: j.titleValue,
2411
+ style: e.titleValue,
2412
+ children: (s = e.titleValue) == null ? void 0 : s.children
2413
+ })]
2414
+ }), a("div", {
2415
+ className: j.odds,
2416
+ children: [a("div", {
2417
+ className: j.odd,
2418
+ children: [a("img", {
2419
+ className: j.teamLogo,
2420
+ src: n.backgroundImage,
2421
+ style: n
2422
+ }), a("div", {
2423
+ className: j.oddValue,
2424
+ style: e.value,
2425
+ children: m(e, "match.markets.one_x_two.w1")
2426
+ })]
2427
+ }), a("div", {
2428
+ className: j.odd,
2429
+ children: [a("div", {
2430
+ className: j.oddX,
2431
+ style: e.coef,
2432
+ children: "X"
2433
+ }), a("div", {
2434
+ className: j.oddValue,
2435
+ style: e.value,
2436
+ children: m(e, "match.markets.one_x_two.x")
2437
+ })]
2438
+ }), a("div", {
2439
+ className: j.odd,
2440
+ children: [a("img", {
2441
+ className: j.teamLogo,
2442
+ src: r.backgroundImage,
2443
+ style: r
2444
+ }), a("div", {
2445
+ className: j.oddValue,
2446
+ style: e.value,
2447
+ children: m(e, "match.markets.one_x_two.w2")
2448
+ })]
2449
+ })]
2450
+ }), a("div", {
2451
+ className: j.teams,
2452
+ children: [a("div", {
2453
+ className: j.teamName,
2454
+ style: e.teamName,
2455
+ children: m(e, "match.teams[0].name")
2456
+ }), a("div", {
2457
+ className: j.teamName,
2458
+ style: e.teamName,
2459
+ children: m(e, "match.teams[1].name")
2460
+ })]
2461
+ })]
2462
+ });
2463
+ }, Xp = "_root_1bycs_1", Jp = "_title_1bycs_8", Qp = "_titleLabel_1bycs_13", Yp = "_tablet_1bycs_16", tf = "_desktop_1bycs_19", ef = "_laptop_1bycs_19", of = "_titleValue_1bycs_23", nf = "_team_1bycs_34", rf = "_teamLogo_1bycs_45", af = "_national_1bycs_56", sf = "_teamName_1bycs_77", cf = "_teamValue_1bycs_89", B = {
2464
+ root: Xp,
2465
+ title: Jp,
2466
+ titleLabel: Qp,
2467
+ tablet: Yp,
2468
+ desktop: tf,
2469
+ laptop: ef,
2470
+ titleValue: of,
2471
+ team: nf,
2472
+ teamLogo: rf,
2473
+ national: af,
2474
+ teamName: sf,
2475
+ teamValue: cf
2476
+ }, lf = () => {
2477
+ var r, i;
2478
+ const t = P(), e = A(t), o = y(f(f({}, ot(e.root, ...X)), e.teamLogo), {
2479
+ backgroundColor: "transparent",
2480
+ backgroundImage: Gt(m(e, "match.teams[0].logo"), [120, 120])
2481
+ }), n = y(f(f({}, ot(e.root, ...X)), e.teamLogo), {
2482
+ backgroundColor: "transparent",
2483
+ backgroundImage: Gt(m(e, "match.teams[1].logo"), [120, 120])
2484
+ });
2485
+ return a("div", {
2486
+ className: L(B.root, {
2487
+ [B.desktop]: (t == null ? void 0 : t.device) === "desktop",
2488
+ [B.laptop]: (t == null ? void 0 : t.device) === "laptop",
2489
+ [B.tablet]: (t == null ? void 0 : t.device) === "tablet",
2490
+ [B.national]: m(e, "match.isNational")
2491
+ }),
2492
+ style: rt(e.root, ...X),
2493
+ children: [a("div", {
2494
+ className: B.title,
2495
+ children: [a("div", {
2496
+ className: B.titleLabel,
2497
+ style: e.titleLabel,
2498
+ children: (r = e.titleLabel) == null ? void 0 : r.children
2499
+ }), a("div", {
2500
+ className: B.titleValue,
2501
+ style: e.titleValue,
2502
+ children: (i = e.titleValue) == null ? void 0 : i.children
2503
+ })]
2504
+ }), a("div", {
2505
+ children: [a("div", {
2506
+ className: B.team,
2507
+ children: [a("img", {
2508
+ className: B.teamLogo,
2509
+ src: o.backgroundImage,
2510
+ style: o
2511
+ }), a("div", {
2512
+ className: B.teamName,
2513
+ style: e.teamName,
2514
+ children: m(e, "match.teams[0].name")
2515
+ }), a("div", {
2516
+ className: B.teamValue,
2517
+ style: e.value,
2518
+ children: m(e, "match.markets.one_two.w1")
2519
+ })]
2520
+ }), a("div", {
2521
+ className: B.team,
2522
+ children: [a("img", {
2523
+ className: B.teamLogo,
2524
+ src: n.backgroundImage,
2525
+ style: n
2526
+ }), a("div", {
2527
+ className: B.teamName,
2528
+ style: e.teamName,
2529
+ children: m(e, "match.teams[1].name")
2530
+ }), a("div", {
2531
+ className: B.teamValue,
2532
+ style: e.value,
2533
+ children: m(e, "match.markets.one_two.w2")
2534
+ })]
2535
+ })]
2536
+ })]
2537
+ });
2538
+ }, _f = (t = []) => {
2539
+ var i;
2540
+ const e = t.length, [o, n] = nt(0), r = (i = t[o || 0]) == null ? void 0 : i.animationDuration;
2541
+ return V(() => {
2542
+ const l = setTimeout(() => {
2543
+ n((_) => _ + 1 < e ? _ + 1 : 0);
2544
+ }, r);
2545
+ return () => clearTimeout(l);
2546
+ }, [n, e, r, o]), o;
2547
+ }, df = {
2548
+ matches: "one_x_two",
2549
+ matchesOneTwo: "one_two"
2550
+ }, so = (t) => [df[t]], uf = (t, e) => {
2551
+ const o = (c) => {
2552
+ var d;
2553
+ return I(c == null ? void 0 : c.matchSlug) && ((d = c == null ? void 0 : c.matchSlug) == null ? void 0 : d.length) > 0;
2554
+ }, n = (t == null ? void 0 : t.children) || [], r = n.filter((c) => o(c.root.targetMatch)).map((c) => y(f({}, c.root.targetMatch), {
2555
+ markets: so(c.name)
2556
+ })), i = zo(r), {
2557
+ data: s,
2558
+ execute: l
2559
+ } = Fo(`${e}/match-list`, {
2560
+ method: "POST",
2561
+ body: {
2562
+ matches: r.map((c) => ({
2563
+ slug: c.matchSlug,
2564
+ sport_slug: c.sportSlug,
2565
+ lang: c.langSlug,
2566
+ bookmaker_slug: c.bookmaker,
2567
+ offset: c.offset,
2568
+ markets: c.markets
2569
+ }))
2570
+ },
2571
+ pause: !e || r.length === 0
2572
+ });
2573
+ return V(() => {
2574
+ Ho(i, r) || l();
2575
+ }, [r]), n.map((c) => {
2576
+ if ("targetMatch" in c.root) {
2577
+ const d = (s || []).find((v) => v.slug === c.root.targetMatch.matchSlug);
2578
+ if (!d)
2579
+ return;
2580
+ const p = so(c.name), u = Po(d, {
2581
+ markets: p
2582
+ }), g = Ro(u, c.root.customMatch, (v, [b, $]) => I($));
2583
+ return y(f({}, c), {
2584
+ match: g
2585
+ });
2586
+ }
2587
+ return c;
2588
+ }).filter(Boolean);
2589
+ }, pf = (t) => {
2590
+ const e = q(Ht()), [o, n] = nt(!1), [r, i] = nt(), s = (u) => e.current.on("visible", u), l = (u) => e.current.on("click", u), _ = (u) => e.current.on("clickHide", u), c = () => Ct(void 0, null, function* () {
2591
+ n(!0);
2592
+ }), d = () => n(!1), p = () => {
2593
+ e.current.emit("clickHide"), d();
2594
+ };
2595
+ return V(() => {
2596
+ e.current.emit("visible", o);
2597
+ }, [o]), St(t, () => ({
2598
+ onVisible: s,
2599
+ onClick: l,
2600
+ onClickHide: _,
2601
+ show: c,
2602
+ hide: d,
2603
+ setApiHost: i,
2604
+ resetListeners: e.current.reset
2605
+ })), V(() => e.current.reset, []), {
2606
+ isOpen: o,
2607
+ apiHost: r,
2608
+ show: c,
2609
+ hide: d,
2610
+ clickHide: p,
2611
+ click: (...u) => {
2612
+ e.current.emit("click", ...u);
2613
+ }
2614
+ };
2615
+ }, ff = 3700, gf = st(({
2616
+ id: t
2617
+ }, e) => {
2618
+ var G, H, R, M, E;
2619
+ const o = q(null), n = P(), r = ft({
2620
+ id: t,
2621
+ targetRef: o
2622
+ }), i = lt(n, r), s = A(i);
2623
+ _t(i);
2624
+ const {
2625
+ apiHost: l,
2626
+ isOpen: _,
2627
+ click: c,
2628
+ clickHide: d
2629
+ } = pf(e), p = uf(s, l), u = (k) => ({
2630
+ text: a(Pp, {}),
2631
+ matches: a(Kp, {}),
2632
+ matchesOneTwo: a(lf, {})
2633
+ })[k], g = p.filter(Boolean).map((k) => {
2634
+ var W, U;
2635
+ return y(f({}, k), {
2636
+ animationName: (W = k == null ? void 0 : k.root) == null ? void 0 : W.animationName,
2637
+ animationDuration: ((U = k == null ? void 0 : k.root) == null ? void 0 : U.animationDuration) || ff
2638
+ });
2639
+ }), v = _f(g), b = A(g[v] || {}), $ = rt(s.root, ...X), F = (G = b == null ? void 0 : b.root) != null && G.hasCustomBackground ? ot((b == null ? void 0 : b.root) || {}, ...X) : ot(s.root, ...X);
2640
+ return a("div", {
2641
+ ref: o,
2642
+ className: L(O.root, {
2643
+ [O.desktop]: r === "desktop",
2644
+ [O.laptop]: r === "laptop",
2645
+ [O.tablet]: r === "tablet",
2646
+ [O.variant2]: ((H = s.root) == null ? void 0 : H.variant) === "variant2"
2647
+ }),
2648
+ style: y(f({}, $), {
2649
+ display: _ ? "block" : "none"
2650
+ }),
2651
+ children: [a("div", {
2652
+ className: O.close,
2653
+ style: gt(s.close),
2654
+ onClick: d,
2655
+ children: a(Nt, {})
2656
+ }), a("div", {
2657
+ className: O.promotion,
2658
+ style: s.promotion,
2659
+ children: (R = s.promotion) == null ? void 0 : R.children
2660
+ }), a("a", {
2661
+ href: (M = s.root) == null ? void 0 : M.offer,
2662
+ target: "_blank",
2663
+ rel: "nofollow noopener noreferrer",
2664
+ onClick: c,
2665
+ children: [a("div", {
2666
+ className: O.background,
2667
+ style: F
2668
+ }), a("div", {
2669
+ className: O.content,
2670
+ children: [a("div", {
2671
+ className: O.left,
2672
+ children: a("div", {
2673
+ className: O.logo,
2674
+ style: s.logo
2675
+ })
2676
+ }), a("div", {
2677
+ className: O.center,
2678
+ children: (g || []).map((k, W) => {
2679
+ var U, J;
2680
+ return a("div", {
2681
+ className: O.slide,
2682
+ style: {
2683
+ animationName: v === W ? O[((U = k.root) == null ? void 0 : U.animationName) || "fade-in-out"] : "none",
2684
+ animationDuration: `${(J = k.root) == null ? void 0 : J.animationDuration}ms`
2685
+ },
2686
+ children: a(it, {
2687
+ value: y(f({}, k), {
2688
+ device: r
2689
+ }),
2690
+ children: u(k.name)
2691
+ })
2692
+ });
2693
+ })
2694
+ }), a("div", {
2695
+ className: O.right,
2696
+ children: [a("div", {
2697
+ className: O.logo,
2698
+ style: s.logo
2699
+ }), a("div", {
2700
+ className: O.buttonWrapper,
2701
+ children: a("div", {
2702
+ className: L(O.button, {
2703
+ [O.button_animated]: s.button.$animated
2704
+ }),
2705
+ style: s.button,
2706
+ children: [a("div", {
2707
+ className: O.logo,
2708
+ style: s.logo
2709
+ }), (E = s.button) == null ? void 0 : E.children]
2710
+ })
2711
+ })]
2712
+ })]
2713
+ })]
2714
+ })]
2715
+ });
2716
+ }), og = ct(a(gf, {})), hf = "_content_c8kee_1", mf = "_desktop_c8kee_6", vf = "_laptop_c8kee_6", yf = "_tablet_c8kee_6", Tt = {
2717
+ content: hf,
2718
+ desktop: mf,
2719
+ laptop: vf,
2720
+ tablet: yf
2721
+ }, bf = "_root_t1sch_1", $f = "_content_t1sch_8", kf = "_textContent_t1sch_15", Nf = "_backgroundLine_t1sch_20", xf = "_button_t1sch_26", Cf = "_link_t1sch_32", wf = "_legal_t1sch_38", Tf = "_legalText_t1sch_47", Of = "_open_t1sch_56", jf = "_legalMore_t1sch_61", tt = {
2722
+ root: bf,
2723
+ content: $f,
2724
+ textContent: kf,
2725
+ backgroundLine: Nf,
2726
+ button: xf,
2727
+ link: Cf,
2728
+ legal: wf,
2729
+ legalText: Tf,
2730
+ open: Of,
2731
+ legalMore: jf
2732
+ }, ng = (t, e, o, n, r = Mo) => {
2733
+ const i = f({}, t);
2734
+ return r.forEach((s) => {
2735
+ i[e] = y(f({}, i[e]), {
2736
+ [s]: y(f({}, i[e][s]), {
2737
+ [o]: typeof n == "function" ? n(m(i, `${e}.${s}.${o}`)) : n
2738
+ })
2739
+ });
2740
+ }), i;
2741
+ }, gt = (t) => {
2742
+ const e = t == null ? void 0 : t.backgroundColor;
2743
+ if (!e)
2744
+ return t;
2745
+ const o = y(f({}, t), {
2746
+ color: e
2747
+ });
2748
+ return rt(o, "backgroundColor");
2749
+ }, Lf = () => a("svg", {
2750
+ width: "81",
2751
+ height: "100%",
2752
+ viewBox: "0 0 81 76",
2753
+ fill: "none",
2754
+ xmlns: "http://www.w3.org/2000/svg",
2755
+ children: [a("path", {
2756
+ d: "M63.0344 7.99989L7.38354 67.5171L9.86897 69.8401L65.5198 10.3229L63.0344 7.99989Z",
2757
+ fill: "currentColor"
2758
+ }), a("path", {
2759
+ d: "M77.8771 -23.0001L22.2263 36.5171L24.7117 38.8401L80.3626 -20.6771L77.8771 -23.0001Z",
2760
+ fill: "#E3E3E3"
2761
+ }), a("path", {
2762
+ d: "M66.7199 20.9999L11.0691 80.5171L13.5545 82.8401L69.2053 23.3229L66.7199 20.9999Z",
2763
+ fill: "#E3E3E3"
2764
+ }), a("path", {
2765
+ d: "M55.808 20.5258L0.157227 80.043L2.64266 82.366L58.2935 22.8487L55.808 20.5258Z",
2766
+ fill: "currentColor"
2767
+ }), a("path", {
2768
+ d: "M70.6508 -10.4742L15 49.043L17.4854 51.366L73.1362 -8.15125L70.6508 -10.4742Z",
2769
+ fill: "#E3E3E3"
2770
+ }), a("path", {
2771
+ d: "M72.426 8.99995L61 21.2163L62.5379 22.6541L73.9638 10.4377L72.426 8.99995Z",
2772
+ fill: "#E3E3E3"
2773
+ })]
2774
+ }), Af = ({
2775
+ onClick: t
2776
+ }) => {
2777
+ var i, s, l, _, c, d, p, u, g;
2778
+ const e = P(), o = A(e), [n, r] = Qt();
2779
+ return a("div", {
2780
+ className: tt.root,
2781
+ style: o.root,
2782
+ children: [a("div", {
2783
+ className: tt.content,
2784
+ children: [a("div", {
2785
+ className: tt.textContent,
2786
+ children: [a(D, {
2787
+ className: tt.text,
2788
+ style: o.text,
2789
+ typography: (i = o.text) == null ? void 0 : i.typography,
2790
+ accentTypography: (s = o.text) == null ? void 0 : s.accentTypography,
2791
+ children: (l = o.text) == null ? void 0 : l.children
2792
+ }), a("div", {
2793
+ style: o.bookmaker,
2794
+ children: (_ = o.bookmaker) == null ? void 0 : _.children
2795
+ })]
2796
+ }), a("div", {
2797
+ className: tt.button,
2798
+ style: o.button,
2799
+ children: o.button.children
2800
+ }), a("div", {
2801
+ className: tt.backgroundLine,
2802
+ style: y(f({}, gt(o.line)), {
2803
+ left: `calc(50% - ${(c = o.line) == null ? void 0 : c.left})`
2804
+ }),
2805
+ children: a(Lf, {})
2806
+ }), a("a", {
2807
+ className: tt.link,
2808
+ target: "_blank",
2809
+ href: (d = o.root) == null ? void 0 : d.offer,
2810
+ onClick: () => t(o.id),
2811
+ rel: "noreferrer"
2812
+ })]
2813
+ }), a("div", {
2814
+ className: L(tt.legal, {
2815
+ [tt.open]: n
2816
+ }),
2817
+ style: o.legalInfo,
2818
+ children: a("div", {
2819
+ className: tt.legalText,
2820
+ children: [(p = o.legalInfo) == null ? void 0 : p.children, a("span", {
2821
+ className: tt.legalMore,
2822
+ style: o.legalInfoButton,
2823
+ onClick: r,
2824
+ children: n ? (u = o.legalInfoButton) == null ? void 0 : u.openText : (g = o.legalInfoButton) == null ? void 0 : g.closeText
2825
+ })]
2826
+ })
2827
+ })]
2828
+ });
2829
+ }, Sf = "_root_ka6mq_1", If = "_content_ka6mq_8", Pf = "_backgroundLine_ka6mq_14", Hf = "_link_ka6mq_20", Rf = "_button_ka6mq_26", Mf = "_logo_ka6mq_31", Ef = "_legal_ka6mq_37", Vf = "_open_ka6mq_49", Bf = "_legalText_ka6mq_53", qf = "_legalMore_ka6mq_66", et = {
2830
+ root: Sf,
2831
+ content: If,
2832
+ backgroundLine: Pf,
2833
+ link: Hf,
2834
+ button: Rf,
2835
+ logo: Mf,
2836
+ legal: Ef,
2837
+ open: Vf,
2838
+ legalText: Bf,
2839
+ legalMore: qf
2840
+ }, Ff = ({
2841
+ onClick: t
2842
+ }) => {
2843
+ var i, s, l, _, c, d, p, u;
2844
+ const e = P(), o = A(e), [n, r] = Qt();
2845
+ return a("div", {
2846
+ className: et.root,
2847
+ style: o.root,
2848
+ children: [a("div", {
2849
+ className: et.content,
2850
+ children: [a(D, {
2851
+ className: et.text,
2852
+ style: o.text,
2853
+ typography: (i = o.text) == null ? void 0 : i.typography,
2854
+ accentTypography: (s = o.text) == null ? void 0 : s.accentTypography,
2855
+ children: (l = o.text) == null ? void 0 : l.children
2856
+ }), a("div", {
2857
+ className: et.button,
2858
+ style: o.button,
2859
+ children: [a("div", {
2860
+ className: et.logo,
2861
+ style: o.logo
2862
+ }), o.button.children]
2863
+ }), a("a", {
2864
+ className: et.link,
2865
+ href: (_ = o.root) == null ? void 0 : _.offer
2866
+ })]
2867
+ }), a("a", {
2868
+ className: et.link,
2869
+ href: (c = o.root) == null ? void 0 : c.offer,
2870
+ target: "_blank",
2871
+ onClick: () => t(o.id),
2872
+ rel: "noreferrer"
2873
+ }), a("div", {
2874
+ className: L(et.legal, {
2875
+ [et.open]: n
2876
+ }),
2877
+ style: o.legalInfo,
2878
+ children: [a("div", {
2879
+ className: et.legalText,
2880
+ children: (d = o.legalInfo) == null ? void 0 : d.children
2881
+ }), a("div", {
2882
+ className: et.legalMore,
2883
+ style: o.legalInfoButton,
2884
+ onClick: r,
2885
+ children: n ? (p = o.legalInfoButton) == null ? void 0 : p.openText : (u = o.legalInfoButton) == null ? void 0 : u.closeText
2886
+ })]
2887
+ })]
2888
+ });
2889
+ }, zf = (t) => {
2890
+ const e = q(Ht()), o = (r) => e.current.on("click", r), n = (r) => e.current.on("visible", r);
2891
+ return St(t, () => ({
2892
+ promoId: "ContentCards",
2893
+ onClick: o,
2894
+ onVisible: n,
2895
+ resetListeners: e.current.reset
2896
+ })), V(() => {
2897
+ e.current.emit("visible");
2898
+ }, []), V(() => e.current.reset, []), {
2899
+ click: (...r) => e.current.emit("click", ...r),
2900
+ onClick: o
2901
+ };
2902
+ }, Df = st(({
2903
+ id: t
2904
+ }, e) => {
2905
+ const o = q(null), n = P(), r = ft({
2906
+ targetRef: o,
2907
+ id: t
2908
+ }), i = lt(n, r), s = A(i);
2909
+ _t(i);
2910
+ const {
2911
+ click: l
2912
+ } = zf(e), _ = (c) => ({
2913
+ cardVariant1: a(Af, {
2914
+ onClick: l
2915
+ }),
2916
+ cardVariant2: a(Ff, {
2917
+ onClick: l
2918
+ })
2919
+ })[c];
2920
+ return a("div", {
2921
+ ref: o,
2922
+ className: L(Tt.root, {
2923
+ [Tt.desktop]: r === "desktop",
2924
+ [Tt.laptop]: r === "laptop",
2925
+ [Tt.tablet]: r === "tablet"
2926
+ }),
2927
+ children: a("div", {
2928
+ className: Tt.content,
2929
+ children: ((s == null ? void 0 : s.children) || []).map((c) => a(it, {
2930
+ value: c,
2931
+ children: _(c.name)
2932
+ }))
2933
+ })
2934
+ });
2935
+ }), rg = ct(a(Df, {}));
2936
+ export {
2937
+ eg as BonusCard,
2938
+ Jf as ComplexGift,
2939
+ Yf as ComplexPopup,
2940
+ rg as ContentCards,
2941
+ tg as ExpressPopup,
2942
+ Xf as SimpleGift,
2943
+ Qf as SimplePopup,
2944
+ og as WideCard,
2945
+ gt as backgroundToColor,
2946
+ Kf as filterDeep,
2947
+ Zf as findDeep,
2948
+ Wf as isValidTemplate,
2949
+ ng as modifyState
2950
+ };