@everymatrix/casino-tournaments-limited-controller 1.75.0 → 1.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
- import { o as D, S as E, i as H, f as h, c as U, s as I, a as O, e as w, b, d as B, g as y, n as k, h as v, j as G, k as J, l as F, m as K, t as j, p as z, q as p, r as N, u as q, v as P, w as Q } from "./CasinoTournamentsLimitedController-B-EjUmEq.js";
2
- const V = (e) => (n) => {
1
+ import { o as D, S as A, i as E, f as h, s as H, c as I, a as O, n as k, d as v, b as T, e as w, g as b, h as x, j as F, k as B, l as G, m as j, p, q as J, t as q, r as z, u as K, v as N, w as P } from "./CasinoTournamentsLimitedController-DoFVV-ql.js";
2
+ const Q = (e) => (n) => {
3
3
  Object.keys(e).map((i) => {
4
4
  if (n.data && n.data.type == i) {
5
5
  const { type: s, ...r } = n.data;
6
6
  e[i](r);
7
7
  }
8
8
  });
9
- }, W = (e) => {
10
- const t = V(e);
9
+ }, V = (e) => {
10
+ const t = Q(e);
11
11
  D(() => (window.addEventListener("message", t, !1), () => {
12
12
  window.removeEventListener("message", t);
13
13
  }));
14
14
  };
15
- function X(e) {
15
+ function W(e) {
16
16
  O(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
17
17
  }
18
18
  function S(e, t, n) {
19
19
  const i = e.slice();
20
20
  return i[16] = t[n], i;
21
21
  }
22
- function C(e) {
22
+ function L(e) {
23
23
  let t, n = F(
24
24
  /*__tabs*/
25
25
  e[6]
@@ -34,7 +34,7 @@ function C(e) {
34
34
  b(t, "part", "ul");
35
35
  },
36
36
  m(s, r) {
37
- y(s, t, r);
37
+ T(s, t, r);
38
38
  for (let a = 0; a < i.length; a += 1)
39
39
  i[a] && i[a].m(t, null);
40
40
  },
@@ -56,11 +56,11 @@ function C(e) {
56
56
  }
57
57
  },
58
58
  d(s) {
59
- s && v(t), K(i, s);
59
+ s && v(t), B(i, s);
60
60
  }
61
61
  };
62
62
  }
63
- function L(e) {
63
+ function C(e) {
64
64
  let t, n, i = (
65
65
  /*totalReceiver*/
66
66
  e[3][
@@ -70,10 +70,10 @@ function L(e) {
70
70
  ), s;
71
71
  return {
72
72
  c() {
73
- t = w("sup"), n = w("span"), s = j(i), b(n, "part", "SupText"), b(t, "part", "sup");
73
+ t = w("sup"), n = w("span"), s = q(i), b(n, "part", "SupText"), b(t, "part", "sup");
74
74
  },
75
75
  m(r, a) {
76
- y(r, t, a), p(t, n), p(n, s);
76
+ T(r, t, a), p(t, n), p(n, s);
77
77
  },
78
78
  p(r, a) {
79
79
  a & /*totalReceiver, __tabs*/
@@ -81,7 +81,7 @@ function L(e) {
81
81
  r[3][
82
82
  /*_tab*/
83
83
  r[16]
84
- ] + "") && q(s, i);
84
+ ] + "") && j(s, i);
85
85
  },
86
86
  d(r) {
87
87
  r && v(t);
@@ -95,12 +95,12 @@ function M(e) {
95
95
  /*_tab*/
96
96
  e[16]
97
97
  ] + ""
98
- ), s, r, a, u, f, d, m, l = (
98
+ ), s, r, a, u, f, d, m, o = (
99
99
  /*totalReceiver*/
100
100
  e[3][
101
101
  /*_tab*/
102
102
  e[16]
103
- ] >= 0 && L(e)
103
+ ] >= 0 && C(e)
104
104
  );
105
105
  function _() {
106
106
  return (
@@ -113,7 +113,7 @@ function M(e) {
113
113
  }
114
114
  return {
115
115
  c() {
116
- t = w("li"), n = w("span"), s = j(i), r = z(), l && l.c(), a = z(), b(n, "part", "LiText"), b(t, "class", u = /*__tab*/
116
+ t = w("li"), n = w("span"), s = q(i), r = z(), o && o.c(), a = z(), b(n, "part", "LiText"), b(t, "class", u = /*__tab*/
117
117
  e[5] === /*_tab*/
118
118
  e[16] ? "active" : ""), b(t, "part", f = `${/*_tab*/
119
119
  e[16]} li ` + /*__tab*/
@@ -121,7 +121,7 @@ function M(e) {
121
121
  e[16] ? "active" : ""));
122
122
  },
123
123
  m(g, c) {
124
- y(g, t, c), p(t, n), p(n, s), p(t, r), l && l.m(t, null), p(t, a), d || (m = N(t, "click", _), d = !0);
124
+ T(g, t, c), p(t, n), p(n, s), p(t, r), o && o.m(t, null), p(t, a), d || (m = J(t, "click", _), d = !0);
125
125
  },
126
126
  p(g, c) {
127
127
  e = g, c & /*textReceiver, __tabs*/
@@ -129,11 +129,11 @@ function M(e) {
129
129
  e[4][
130
130
  /*_tab*/
131
131
  e[16]
132
- ] + "") && q(s, i), /*totalReceiver*/
132
+ ] + "") && j(s, i), /*totalReceiver*/
133
133
  e[3][
134
134
  /*_tab*/
135
135
  e[16]
136
- ] >= 0 ? l ? l.p(e, c) : (l = L(e), l.c(), l.m(t, a)) : l && (l.d(1), l = null), c & /*__tab, __tabs*/
136
+ ] >= 0 ? o ? o.p(e, c) : (o = C(e), o.c(), o.m(t, a)) : o && (o.d(1), o = null), c & /*__tab, __tabs*/
137
137
  96 && u !== (u = /*__tab*/
138
138
  e[5] === /*_tab*/
139
139
  e[16] ? "active" : "") && b(t, "class", u), c & /*__tabs, __tab*/
@@ -143,28 +143,28 @@ function M(e) {
143
143
  e[16] ? "active" : "")) && b(t, "part", f);
144
144
  },
145
145
  d(g) {
146
- g && v(t), l && l.d(), d = !1, m();
146
+ g && v(t), o && o.d(), d = !1, m();
147
147
  }
148
148
  };
149
149
  }
150
- function Y(e) {
150
+ function X(e) {
151
151
  let t, n = (
152
152
  /*isTitleInited*/
153
- e[2] && C(e)
153
+ e[2] && L(e)
154
154
  );
155
155
  return {
156
156
  c() {
157
- t = w("div"), n && n.c(), b(t, "class", "casino-tournaments-tab " + (B(
157
+ t = w("div"), n && n.c(), b(t, "class", "casino-tournaments-tab " + (x(
158
158
  /*userAgent*/
159
159
  e[7]
160
160
  ) ? "TabMobile" : "TabDesktop")), b(t, "part", "CustomStylingContainer");
161
161
  },
162
162
  m(i, s) {
163
- y(i, t, s), n && n.m(t, null), e[14](t);
163
+ T(i, t, s), n && n.m(t, null), e[14](t);
164
164
  },
165
165
  p(i, [s]) {
166
166
  /*isTitleInited*/
167
- i[2] ? n ? n.p(i, s) : (n = C(i), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
167
+ i[2] ? n ? n.p(i, s) : (n = L(i), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
168
168
  },
169
169
  i: k,
170
170
  o: k,
@@ -173,22 +173,25 @@ function Y(e) {
173
173
  }
174
174
  };
175
175
  }
176
- function Z(e, t, n) {
177
- let i, s, { tabs: r = "" } = t, { tab: a = void 0 } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: d } = t, { tid: m = "pageTab" } = t, l, _ = !1;
176
+ function Y(e, t, n) {
177
+ let i, s, { tabs: r = "" } = t, { tab: a = void 0 } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: d } = t, { tid: m = "pageTab" } = t, o, _ = !1;
178
178
  const g = window.navigator.userAgent;
179
- let c = {}, T = {};
180
- W({
181
- TournamentsTabTotalUpdate: (o) => {
179
+ let c = {}, y = {};
180
+ V({
181
+ TournamentsTabTotalUpdate: (l) => {
182
182
  n(3, c = {
183
183
  ...c,
184
- [o.state]: o.total
184
+ [l.state]: l.total
185
185
  });
186
186
  },
187
- TournamentsTabsLocalize: (o) => {
188
- n(2, _ = !0), n(4, T = {
189
- ...T,
190
- ...o.tabTitleTranslations
187
+ TournamentsTabsLocalize: (l) => {
188
+ n(2, _ = !0), n(4, y = {
189
+ ...y,
190
+ ...l.tabTitleTranslations
191
191
  });
192
+ },
193
+ TournamentsTabLocaleTextUpdate: (l) => {
194
+ n(2, _ = !0), n(4, y = { ...y, [l.state]: l.text });
192
195
  }
193
196
  }), D(() => (window.postMessage(
194
197
  {
@@ -198,36 +201,36 @@ function Z(e, t, n) {
198
201
  window.location.href
199
202
  ), () => {
200
203
  }));
201
- const R = (o) => {
202
- n(5, s = o), window.postMessage(
204
+ const R = (l) => {
205
+ n(5, s = l), window.postMessage(
203
206
  {
204
207
  type: "TournamentsTabSwitch",
205
- tab: o,
208
+ tab: l,
206
209
  tid: m
207
210
  },
208
211
  window.location.href
209
212
  );
210
213
  };
211
- function A(o) {
212
- P[o ? "unshift" : "push"](() => {
213
- l = o, n(1, l);
214
+ function U(l) {
215
+ G[l ? "unshift" : "push"](() => {
216
+ o = l, n(1, o);
214
217
  });
215
218
  }
216
- return e.$$set = (o) => {
217
- "tabs" in o && n(8, r = o.tabs), "tab" in o && n(9, a = o.tab), "clientstyling" in o && n(10, u = o.clientstyling), "clientstylingurl" in o && n(11, f = o.clientstylingurl), "mbsource" in o && n(12, d = o.mbsource), "tid" in o && n(0, m = o.tid);
219
+ return e.$$set = (l) => {
220
+ "tabs" in l && n(8, r = l.tabs), "tab" in l && n(9, a = l.tab), "clientstyling" in l && n(10, u = l.clientstyling), "clientstylingurl" in l && n(11, f = l.clientstylingurl), "mbsource" in l && n(12, d = l.mbsource), "tid" in l && n(0, m = l.tid);
218
221
  }, e.$$.update = () => {
219
222
  e.$$.dirty & /*clientstyling, customStylingContainer*/
220
- 1026 && u && l && Q(l, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
221
- 2050 && f && l && G(l, f), e.$$.dirty & /*mbsource, customStylingContainer*/
222
- 4098 && d && l && J(l, `${d}.Style`), e.$$.dirty & /*tabs*/
223
+ 1026 && u && o && K(o, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
224
+ 2050 && f && o && N(o, f), e.$$.dirty & /*mbsource, customStylingContainer*/
225
+ 4098 && d && o && P(o, `${d}.Style`), e.$$.dirty & /*tabs*/
223
226
  256 && n(6, i = r.split(",")), e.$$.dirty & /*tab*/
224
227
  512 && n(5, s = a);
225
228
  }, [
226
229
  m,
227
- l,
230
+ o,
228
231
  _,
229
232
  c,
230
- T,
233
+ y,
231
234
  s,
232
235
  i,
233
236
  g,
@@ -237,17 +240,17 @@ function Z(e, t, n) {
237
240
  f,
238
241
  d,
239
242
  R,
240
- A
243
+ U
241
244
  ];
242
245
  }
243
- class x extends E {
246
+ class Z extends A {
244
247
  constructor(t) {
245
- super(), H(
248
+ super(), E(
246
249
  this,
247
250
  t,
248
- Z,
249
251
  Y,
250
- I,
252
+ X,
253
+ H,
251
254
  {
252
255
  tabs: 8,
253
256
  tab: 9,
@@ -256,7 +259,7 @@ class x extends E {
256
259
  mbsource: 12,
257
260
  tid: 0
258
261
  },
259
- X
262
+ W
260
263
  );
261
264
  }
262
265
  get tabs() {
@@ -296,7 +299,7 @@ class x extends E {
296
299
  this.$$set({ tid: t }), h();
297
300
  }
298
301
  }
299
- U(x, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
302
+ I(Z, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
300
303
  export {
301
- x as default
304
+ Z as default
302
305
  };
@@ -1,25 +1,25 @@
1
- var J = Object.defineProperty, K = Object.defineProperties;
2
- var N = Object.getOwnPropertyDescriptors;
3
- var y = Object.getOwnPropertySymbols;
4
- var S = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
- var z = (e, t, n) => t in e ? J(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, v = (e, t) => {
1
+ var G = Object.defineProperty, J = Object.defineProperties;
2
+ var K = Object.getOwnPropertyDescriptors;
3
+ var T = Object.getOwnPropertySymbols;
4
+ var L = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
+ var S = (e, t, n) => t in e ? G(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, v = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- S.call(t, n) && z(e, n, t[n]);
8
- if (y)
9
- for (var n of y(t))
10
- C.call(t, n) && z(e, n, t[n]);
7
+ L.call(t, n) && S(e, n, t[n]);
8
+ if (T)
9
+ for (var n of T(t))
10
+ C.call(t, n) && S(e, n, t[n]);
11
11
  return e;
12
- }, L = (e, t) => K(e, N(t));
12
+ }, z = (e, t) => J(e, K(t));
13
13
  var M = (e, t) => {
14
14
  var n = {};
15
15
  for (var i in e)
16
- S.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
17
- if (e != null && y)
18
- for (var i of y(e))
16
+ L.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
17
+ if (e != null && T)
18
+ for (var i of T(e))
19
19
  t.indexOf(i) < 0 && C.call(e, i) && (n[i] = e[i]);
20
20
  return n;
21
21
  };
22
- import { o as U, S as P, i as Q, f as h, c as V, s as W, a as X, e as w, b, d as Y, g as T, n as D, h as k, j as Z, k as x, l as j, m as $, t as I, p as q, q as p, r as tt, u as O, v as et, w as nt } from "./CasinoTournamentsLimitedController-DPSp6MHt.js";
22
+ import { o as H, S as N, i as P, s as Q, f as h, a as V, n as D, d as k, b as F, e as w, c as b, g as W, h as j, j as X, k as Y, l as I, m as p, p as Z, t as O, q, r as $, u as tt, v as et, w as nt } from "./CasinoTournamentsLimitedController-B0dYiMZG.js";
23
23
  const it = (e) => (n) => {
24
24
  Object.keys(e).map((i) => {
25
25
  if (n.data && n.data.type == i) {
@@ -29,24 +29,24 @@ const it = (e) => (n) => {
29
29
  });
30
30
  }, st = (e) => {
31
31
  const t = it(e);
32
- U(() => (window.addEventListener("message", t, !1), () => {
32
+ H(() => (window.addEventListener("message", t, !1), () => {
33
33
  window.removeEventListener("message", t);
34
34
  }));
35
35
  };
36
36
  function at(e) {
37
- X(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
37
+ V(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
38
38
  }
39
39
  function R(e, t, n) {
40
40
  const i = e.slice();
41
41
  return i[16] = t[n], i;
42
42
  }
43
- function A(e) {
43
+ function U(e) {
44
44
  let t, n = j(
45
45
  /*__tabs*/
46
46
  e[6]
47
47
  ), i = [];
48
48
  for (let s = 0; s < n.length; s += 1)
49
- i[s] = H(R(e, n, s));
49
+ i[s] = E(R(e, n, s));
50
50
  return {
51
51
  c() {
52
52
  t = w("ul");
@@ -55,7 +55,7 @@ function A(e) {
55
55
  b(t, "part", "ul");
56
56
  },
57
57
  m(s, r) {
58
- T(s, t, r);
58
+ F(s, t, r);
59
59
  for (let a = 0; a < i.length; a += 1)
60
60
  i[a] && i[a].m(t, null);
61
61
  },
@@ -69,7 +69,7 @@ function A(e) {
69
69
  let a;
70
70
  for (a = 0; a < n.length; a += 1) {
71
71
  const u = R(s, n, a);
72
- i[a] ? i[a].p(u, r) : (i[a] = H(u), i[a].c(), i[a].m(t, null));
72
+ i[a] ? i[a].p(u, r) : (i[a] = E(u), i[a].c(), i[a].m(t, null));
73
73
  }
74
74
  for (; a < i.length; a += 1)
75
75
  i[a].d(1);
@@ -77,11 +77,11 @@ function A(e) {
77
77
  }
78
78
  },
79
79
  d(s) {
80
- s && k(t), $(i, s);
80
+ s && k(t), X(i, s);
81
81
  }
82
82
  };
83
83
  }
84
- function E(e) {
84
+ function A(e) {
85
85
  let t, n, i = (
86
86
  /*totalReceiver*/
87
87
  e[3][
@@ -91,10 +91,10 @@ function E(e) {
91
91
  ), s;
92
92
  return {
93
93
  c() {
94
- t = w("sup"), n = w("span"), s = I(i), b(n, "part", "SupText"), b(t, "part", "sup");
94
+ t = w("sup"), n = w("span"), s = O(i), b(n, "part", "SupText"), b(t, "part", "sup");
95
95
  },
96
96
  m(r, a) {
97
- T(r, t, a), p(t, n), p(n, s);
97
+ F(r, t, a), p(t, n), p(n, s);
98
98
  },
99
99
  p(r, a) {
100
100
  a & /*totalReceiver, __tabs*/
@@ -102,26 +102,26 @@ function E(e) {
102
102
  r[3][
103
103
  /*_tab*/
104
104
  r[16]
105
- ] + "") && O(s, i);
105
+ ] + "") && I(s, i);
106
106
  },
107
107
  d(r) {
108
108
  r && k(t);
109
109
  }
110
110
  };
111
111
  }
112
- function H(e) {
112
+ function E(e) {
113
113
  let t, n, i = (
114
114
  /*textReceiver*/
115
115
  e[4][
116
116
  /*_tab*/
117
117
  e[16]
118
118
  ] + ""
119
- ), s, r, a, u, f, d, m, l = (
119
+ ), s, r, a, u, f, d, m, o = (
120
120
  /*totalReceiver*/
121
121
  e[3][
122
122
  /*_tab*/
123
123
  e[16]
124
- ] >= 0 && E(e)
124
+ ] >= 0 && A(e)
125
125
  );
126
126
  function _() {
127
127
  return (
@@ -134,7 +134,7 @@ function H(e) {
134
134
  }
135
135
  return {
136
136
  c() {
137
- t = w("li"), n = w("span"), s = I(i), r = q(), l && l.c(), a = q(), b(n, "part", "LiText"), b(t, "class", u = /*__tab*/
137
+ t = w("li"), n = w("span"), s = O(i), r = q(), o && o.c(), a = q(), b(n, "part", "LiText"), b(t, "class", u = /*__tab*/
138
138
  e[5] === /*_tab*/
139
139
  e[16] ? "active" : ""), b(t, "part", f = `${/*_tab*/
140
140
  e[16]} li ` + /*__tab*/
@@ -142,7 +142,7 @@ function H(e) {
142
142
  e[16] ? "active" : ""));
143
143
  },
144
144
  m(g, c) {
145
- T(g, t, c), p(t, n), p(n, s), p(t, r), l && l.m(t, null), p(t, a), d || (m = tt(t, "click", _), d = !0);
145
+ F(g, t, c), p(t, n), p(n, s), p(t, r), o && o.m(t, null), p(t, a), d || (m = Z(t, "click", _), d = !0);
146
146
  },
147
147
  p(g, c) {
148
148
  e = g, c & /*textReceiver, __tabs*/
@@ -150,11 +150,11 @@ function H(e) {
150
150
  e[4][
151
151
  /*_tab*/
152
152
  e[16]
153
- ] + "") && O(s, i), /*totalReceiver*/
153
+ ] + "") && I(s, i), /*totalReceiver*/
154
154
  e[3][
155
155
  /*_tab*/
156
156
  e[16]
157
- ] >= 0 ? l ? l.p(e, c) : (l = E(e), l.c(), l.m(t, a)) : l && (l.d(1), l = null), c & /*__tab, __tabs*/
157
+ ] >= 0 ? o ? o.p(e, c) : (o = A(e), o.c(), o.m(t, a)) : o && (o.d(1), o = null), c & /*__tab, __tabs*/
158
158
  96 && u !== (u = /*__tab*/
159
159
  e[5] === /*_tab*/
160
160
  e[16] ? "active" : "") && b(t, "class", u), c & /*__tabs, __tab*/
@@ -164,28 +164,28 @@ function H(e) {
164
164
  e[16] ? "active" : "")) && b(t, "part", f);
165
165
  },
166
166
  d(g) {
167
- g && k(t), l && l.d(), d = !1, m();
167
+ g && k(t), o && o.d(), d = !1, m();
168
168
  }
169
169
  };
170
170
  }
171
171
  function lt(e) {
172
172
  let t, n = (
173
173
  /*isTitleInited*/
174
- e[2] && A(e)
174
+ e[2] && U(e)
175
175
  );
176
176
  return {
177
177
  c() {
178
- t = w("div"), n && n.c(), b(t, "class", "casino-tournaments-tab " + (Y(
178
+ t = w("div"), n && n.c(), b(t, "class", "casino-tournaments-tab " + (W(
179
179
  /*userAgent*/
180
180
  e[7]
181
181
  ) ? "TabMobile" : "TabDesktop")), b(t, "part", "CustomStylingContainer");
182
182
  },
183
183
  m(i, s) {
184
- T(i, t, s), n && n.m(t, null), e[14](t);
184
+ F(i, t, s), n && n.m(t, null), e[14](t);
185
185
  },
186
186
  p(i, [s]) {
187
187
  /*isTitleInited*/
188
- i[2] ? n ? n.p(i, s) : (n = A(i), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
188
+ i[2] ? n ? n.p(i, s) : (n = U(i), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
189
189
  },
190
190
  i: D,
191
191
  o: D,
@@ -195,19 +195,22 @@ function lt(e) {
195
195
  };
196
196
  }
197
197
  function ot(e, t, n) {
198
- let i, s, { tabs: r = "" } = t, { tab: a = void 0 } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: d } = t, { tid: m = "pageTab" } = t, l, _ = !1;
198
+ let i, s, { tabs: r = "" } = t, { tab: a = void 0 } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: d } = t, { tid: m = "pageTab" } = t, o, _ = !1;
199
199
  const g = window.navigator.userAgent;
200
- let c = {}, F = {};
200
+ let c = {}, y = {};
201
201
  st({
202
- TournamentsTabTotalUpdate: (o) => {
203
- n(3, c = L(v({}, c), {
204
- [o.state]: o.total
202
+ TournamentsTabTotalUpdate: (l) => {
203
+ n(3, c = z(v({}, c), {
204
+ [l.state]: l.total
205
205
  }));
206
206
  },
207
- TournamentsTabsLocalize: (o) => {
208
- n(2, _ = !0), n(4, F = v(v({}, F), o.tabTitleTranslations));
207
+ TournamentsTabsLocalize: (l) => {
208
+ n(2, _ = !0), n(4, y = v(v({}, y), l.tabTitleTranslations));
209
+ },
210
+ TournamentsTabLocaleTextUpdate: (l) => {
211
+ n(2, _ = !0), n(4, y = z(v({}, y), { [l.state]: l.text }));
209
212
  }
210
- }), U(() => (window.postMessage(
213
+ }), H(() => (window.postMessage(
211
214
  {
212
215
  type: "TournamentsTabListenerLoaded",
213
216
  tid: m
@@ -215,36 +218,36 @@ function ot(e, t, n) {
215
218
  window.location.href
216
219
  ), () => {
217
220
  }));
218
- const B = (o) => {
219
- n(5, s = o), window.postMessage(
221
+ const x = (l) => {
222
+ n(5, s = l), window.postMessage(
220
223
  {
221
224
  type: "TournamentsTabSwitch",
222
- tab: o,
225
+ tab: l,
223
226
  tid: m
224
227
  },
225
228
  window.location.href
226
229
  );
227
230
  };
228
- function G(o) {
229
- et[o ? "unshift" : "push"](() => {
230
- l = o, n(1, l);
231
+ function B(l) {
232
+ Y[l ? "unshift" : "push"](() => {
233
+ o = l, n(1, o);
231
234
  });
232
235
  }
233
- return e.$$set = (o) => {
234
- "tabs" in o && n(8, r = o.tabs), "tab" in o && n(9, a = o.tab), "clientstyling" in o && n(10, u = o.clientstyling), "clientstylingurl" in o && n(11, f = o.clientstylingurl), "mbsource" in o && n(12, d = o.mbsource), "tid" in o && n(0, m = o.tid);
236
+ return e.$$set = (l) => {
237
+ "tabs" in l && n(8, r = l.tabs), "tab" in l && n(9, a = l.tab), "clientstyling" in l && n(10, u = l.clientstyling), "clientstylingurl" in l && n(11, f = l.clientstylingurl), "mbsource" in l && n(12, d = l.mbsource), "tid" in l && n(0, m = l.tid);
235
238
  }, e.$$.update = () => {
236
239
  e.$$.dirty & /*clientstyling, customStylingContainer*/
237
- 1026 && u && l && nt(l, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
238
- 2050 && f && l && Z(l, f), e.$$.dirty & /*mbsource, customStylingContainer*/
239
- 4098 && d && l && x(l, `${d}.Style`), e.$$.dirty & /*tabs*/
240
+ 1026 && u && o && $(o, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
241
+ 2050 && f && o && tt(o, f), e.$$.dirty & /*mbsource, customStylingContainer*/
242
+ 4098 && d && o && et(o, `${d}.Style`), e.$$.dirty & /*tabs*/
240
243
  256 && n(6, i = r.split(",")), e.$$.dirty & /*tab*/
241
244
  512 && n(5, s = a);
242
245
  }, [
243
246
  m,
244
- l,
247
+ o,
245
248
  _,
246
249
  c,
247
- F,
250
+ y,
248
251
  s,
249
252
  i,
250
253
  g,
@@ -253,18 +256,18 @@ function ot(e, t, n) {
253
256
  u,
254
257
  f,
255
258
  d,
256
- B,
257
- G
259
+ x,
260
+ B
258
261
  ];
259
262
  }
260
- class rt extends P {
263
+ class rt extends N {
261
264
  constructor(t) {
262
- super(), Q(
265
+ super(), P(
263
266
  this,
264
267
  t,
265
268
  ot,
266
269
  lt,
267
- W,
270
+ Q,
268
271
  {
269
272
  tabs: 8,
270
273
  tab: 9,
@@ -313,7 +316,7 @@ class rt extends P {
313
316
  this.$$set({ tid: t }), h();
314
317
  }
315
318
  }
316
- V(rt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
319
+ nt(rt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
317
320
  export {
318
321
  rt as default
319
322
  };
@@ -0,0 +1 @@
1
+ "use strict";var q=Object.defineProperty,R=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var v=(e,t,n)=>t in e?q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||(t={}))T.call(t,n)&&v(e,n,t[n]);if(_)for(var n of _(t))k.call(t,n)&&v(e,n,t[n]);return e},y=(e,t)=>R(e,U(t));var F=(e,t)=>{var n={};for(var a in e)T.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&_)for(var a of _(e))t.indexOf(a)<0&&k.call(e,a)&&(n[a]=e[a]);return n};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsLimitedController-DrLe6_3O.cjs"),A=e=>n=>{Object.keys(e).map(a=>{if(n.data&&n.data.type==a){const s=n.data,{type:u}=s,l=F(s,["type"]);e[a](l)}})},E=e=>{const t=A(e);i.onMount(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function H(e){i.append_styles(e,"svelte-qazmct","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}")}function S(e,t,n){const a=e.slice();return a[16]=t[n],a}function z(e){let t,n=i.ensure_array_like(e[6]),a=[];for(let s=0;s<n.length;s+=1)a[s]=L(S(e,n,s));return{c(){t=i.element("ul");for(let s=0;s<a.length;s+=1)a[s].c();i.attr(t,"part","ul")},m(s,u){i.insert(s,t,u);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(t,null)},p(s,u){if(u&121){n=i.ensure_array_like(s[6]);let l;for(l=0;l<n.length;l+=1){const c=S(s,n,l);a[l]?a[l].p(c,u):(a[l]=L(c),a[l].c(),a[l].m(t,null))}for(;l<a.length;l+=1)a[l].d(1);a.length=n.length}},d(s){s&&i.detach(t),i.destroy_each(a,s)}}}function C(e){let t,n,a=e[3][e[16]]+"",s;return{c(){t=i.element("sup"),n=i.element("span"),s=i.text(a),i.attr(n,"part","SupText"),i.attr(t,"part","sup")},m(u,l){i.insert(u,t,l),i.append(t,n),i.append(n,s)},p(u,l){l&72&&a!==(a=u[3][u[16]]+"")&&i.set_data(s,a)},d(u){u&&i.detach(t)}}}function L(e){let t,n,a=e[4][e[16]]+"",s,u,l,c,b,f,m,r=e[3][e[16]]>=0&&C(e);function p(){return e[13](e[16])}return{c(){t=i.element("li"),n=i.element("span"),s=i.text(a),u=i.space(),r&&r.c(),l=i.space(),i.attr(n,"part","LiText"),i.attr(t,"class",c=e[5]===e[16]?"active":""),i.attr(t,"part",b=`${e[16]} li `+(e[5]===e[16]?"active":""))},m(g,d){i.insert(g,t,d),i.append(t,n),i.append(n,s),i.append(t,u),r&&r.m(t,null),i.append(t,l),f||(m=i.listen(t,"click",p),f=!0)},p(g,d){e=g,d&80&&a!==(a=e[4][e[16]]+"")&&i.set_data(s,a),e[3][e[16]]>=0?r?r.p(e,d):(r=C(e),r.c(),r.m(t,l)):r&&(r.d(1),r=null),d&96&&c!==(c=e[5]===e[16]?"active":"")&&i.attr(t,"class",c),d&96&&b!==(b=`${e[16]} li `+(e[5]===e[16]?"active":""))&&i.attr(t,"part",b)},d(g){g&&i.detach(t),r&&r.d(),f=!1,m()}}}function O(e){let t,n=e[2]&&z(e);return{c(){t=i.element("div"),n&&n.c(),i.attr(t,"class","casino-tournaments-tab "+(i.isMobile(e[7])?"TabMobile":"TabDesktop")),i.attr(t,"part","CustomStylingContainer")},m(a,s){i.insert(a,t,s),n&&n.m(t,null),e[14](t)},p(a,[s]){a[2]?n?n.p(a,s):(n=z(a),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:i.noop,o:i.noop,d(a){a&&i.detach(t),n&&n.d(),e[14](null)}}}function I(e,t,n){let a,s,{tabs:u=""}=t,{tab:l=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:b=""}=t,{mbsource:f}=t,{tid:m="pageTab"}=t,r,p=!1;const g=window.navigator.userAgent;let d={},h={};E({TournamentsTabTotalUpdate:o=>{n(3,d=y(w({},d),{[o.state]:o.total}))},TournamentsTabsLocalize:o=>{n(2,p=!0),n(4,h=w(w({},h),o.tabTitleTranslations))},TournamentsTabLocaleTextUpdate:o=>{n(2,p=!0),n(4,h=y(w({},h),{[o.state]:o.text}))}}),i.onMount(()=>(window.postMessage({type:"TournamentsTabListenerLoaded",tid:m},window.location.href),()=>{}));const D=o=>{n(5,s=o),window.postMessage({type:"TournamentsTabSwitch",tab:o,tid:m},window.location.href)};function j(o){i.binding_callbacks[o?"unshift":"push"](()=>{r=o,n(1,r)})}return e.$$set=o=>{"tabs"in o&&n(8,u=o.tabs),"tab"in o&&n(9,l=o.tab),"clientstyling"in o&&n(10,c=o.clientstyling),"clientstylingurl"in o&&n(11,b=o.clientstylingurl),"mbsource"in o&&n(12,f=o.mbsource),"tid"in o&&n(0,m=o.tid)},e.$$.update=()=>{e.$$.dirty&1026&&c&&r&&i.setClientStyling(r,c),e.$$.dirty&2050&&b&&r&&i.setClientStylingURL(r,b),e.$$.dirty&4098&&f&&r&&i.setStreamStyling(r,`${f}.Style`),e.$$.dirty&256&&n(6,a=u.split(",")),e.$$.dirty&512&&n(5,s=l)},[m,r,p,d,h,s,a,g,u,l,c,b,f,D,j]}class M extends i.SvelteComponent{constructor(t){super(),i.init(this,t,I,O,i.safe_not_equal,{tabs:8,tab:9,clientstyling:10,clientstylingurl:11,mbsource:12,tid:0},H)}get tabs(){return this.$$.ctx[8]}set tabs(t){this.$$set({tabs:t}),i.flush()}get tab(){return this.$$.ctx[9]}set tab(t){this.$$set({tab:t}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}get tid(){return this.$$.ctx[0]}set tid(t){this.$$set({tid:t}),i.flush()}}i.create_custom_element(M,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{},mbsource:{},tid:{}},[],[],!0);exports.default=M;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsLimitedController-Bx2TvUSY.cjs")).then(e=>e.CasinoTournamentsLimitedController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-limited-controller")&&customElements.define("casino-tournaments-limited-controller",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsLimitedController-DrLe6_3O.cjs")).then(e=>e.CasinoTournamentsLimitedController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-limited-controller")&&customElements.define("casino-tournaments-limited-controller",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsLimitedController-DPSp6MHt.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsLimitedController-B0dYiMZG.js").then((e) => e.C).then(({ default: e }) => {
14
14
  !customElements.get("casino-tournaments-limited-controller") && customElements.define(
15
15
  "casino-tournaments-limited-controller",
16
16
  e.element
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoTournamentsLimitedController-B-EjUmEq.js";
1
+ import { C as s } from "../components/CasinoTournamentsLimitedController-DoFVV-ql.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {