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

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.
@@ -19,7 +19,7 @@ var M = (e, t) => {
19
19
  t.indexOf(i) < 0 && C.call(e, i) && (n[i] = e[i]);
20
20
  return n;
21
21
  };
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";
22
+ import { o as H, S as N, i as P, f as h, c as Q, s as V, a as W, e as w, b, d as X, g as k, n as D, h as F, j, k as Y, t as I, l as q, m as p, p as Z, q as O, r as $, u as tt, v as et, w as nt } from "./CasinoTournamentsLimitedController-BNlkU3et.js";
23
23
  const it = (e) => (n) => {
24
24
  Object.keys(e).map((i) => {
25
25
  if (n.data && n.data.type == i) {
@@ -34,7 +34,7 @@ const it = (e) => (n) => {
34
34
  }));
35
35
  };
36
36
  function at(e) {
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}");
37
+ W(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();
@@ -55,7 +55,7 @@ function U(e) {
55
55
  b(t, "part", "ul");
56
56
  },
57
57
  m(s, r) {
58
- F(s, t, r);
58
+ k(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
  },
@@ -77,7 +77,7 @@ function U(e) {
77
77
  }
78
78
  },
79
79
  d(s) {
80
- s && k(t), X(i, s);
80
+ s && F(t), Y(i, s);
81
81
  }
82
82
  };
83
83
  }
@@ -91,10 +91,10 @@ function A(e) {
91
91
  ), s;
92
92
  return {
93
93
  c() {
94
- t = w("sup"), n = w("span"), s = O(i), b(n, "part", "SupText"), b(t, "part", "sup");
94
+ t = w("sup"), n = w("span"), s = I(i), b(n, "part", "SupText"), b(t, "part", "sup");
95
95
  },
96
96
  m(r, a) {
97
- F(r, t, a), p(t, n), p(n, s);
97
+ k(r, t, a), p(t, n), p(n, s);
98
98
  },
99
99
  p(r, a) {
100
100
  a & /*totalReceiver, __tabs*/
@@ -102,10 +102,10 @@ function A(e) {
102
102
  r[3][
103
103
  /*_tab*/
104
104
  r[16]
105
- ] + "") && I(s, i);
105
+ ] + "") && O(s, i);
106
106
  },
107
107
  d(r) {
108
- r && k(t);
108
+ r && F(t);
109
109
  }
110
110
  };
111
111
  }
@@ -134,7 +134,7 @@ function E(e) {
134
134
  }
135
135
  return {
136
136
  c() {
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*/
137
+ t = w("li"), n = w("span"), s = I(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 E(e) {
142
142
  e[16] ? "active" : ""));
143
143
  },
144
144
  m(g, c) {
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);
145
+ k(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,7 +150,7 @@ function E(e) {
150
150
  e[4][
151
151
  /*_tab*/
152
152
  e[16]
153
- ] + "") && I(s, i), /*totalReceiver*/
153
+ ] + "") && O(s, i), /*totalReceiver*/
154
154
  e[3][
155
155
  /*_tab*/
156
156
  e[16]
@@ -164,7 +164,7 @@ function E(e) {
164
164
  e[16] ? "active" : "")) && b(t, "part", f);
165
165
  },
166
166
  d(g) {
167
- g && k(t), o && o.d(), d = !1, m();
167
+ g && F(t), o && o.d(), d = !1, m();
168
168
  }
169
169
  };
170
170
  }
@@ -175,13 +175,13 @@ function lt(e) {
175
175
  );
176
176
  return {
177
177
  c() {
178
- t = w("div"), n && n.c(), b(t, "class", "casino-tournaments-tab " + (W(
178
+ t = w("div"), n && n.c(), b(t, "class", "casino-tournaments-tab " + (X(
179
179
  /*userAgent*/
180
180
  e[7]
181
181
  ) ? "TabMobile" : "TabDesktop")), b(t, "part", "CustomStylingContainer");
182
182
  },
183
183
  m(i, s) {
184
- F(i, t, s), n && n.m(t, null), e[14](t);
184
+ k(i, t, s), n && n.m(t, null), e[14](t);
185
185
  },
186
186
  p(i, [s]) {
187
187
  /*isTitleInited*/
@@ -190,7 +190,7 @@ function lt(e) {
190
190
  i: D,
191
191
  o: D,
192
192
  d(i) {
193
- i && k(t), n && n.d(), e[14](null);
193
+ i && F(t), n && n.d(), e[14](null);
194
194
  }
195
195
  };
196
196
  }
@@ -229,7 +229,7 @@ function ot(e, t, n) {
229
229
  );
230
230
  };
231
231
  function B(l) {
232
- Y[l ? "unshift" : "push"](() => {
232
+ $[l ? "unshift" : "push"](() => {
233
233
  o = l, n(1, o);
234
234
  });
235
235
  }
@@ -237,9 +237,9 @@ function ot(e, t, n) {
237
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);
238
238
  }, e.$$.update = () => {
239
239
  e.$$.dirty & /*clientstyling, customStylingContainer*/
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
+ 1026 && u && o && tt(o, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
241
+ 2050 && f && o && et(o, f), e.$$.dirty & /*mbsource, customStylingContainer*/
242
+ 4098 && d && o && nt(o, `${d}.Style`), e.$$.dirty & /*tabs*/
243
243
  256 && n(6, i = r.split(",")), e.$$.dirty & /*tab*/
244
244
  512 && n(5, s = a);
245
245
  }, [
@@ -267,7 +267,7 @@ class rt extends N {
267
267
  t,
268
268
  ot,
269
269
  lt,
270
- Q,
270
+ V,
271
271
  {
272
272
  tabs: 8,
273
273
  tab: 9,
@@ -316,7 +316,7 @@ class rt extends N {
316
316
  this.$$set({ tid: t }), h();
317
317
  }
318
318
  }
319
- nt(rt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
319
+ Q(rt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
320
320
  export {
321
321
  rt as default
322
322
  };
@@ -1,4 +1,4 @@
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";
1
+ import { o as D, S as A, i as E, f as h, c as H, s as I, a as O, e as w, b, d as x, g as v, n as k, h as T, j as F, k as B, t as j, l as z, m as p, p as G, q, r as J, u as K, v as N, w as P } from "./CasinoTournamentsLimitedController-CpLd2xoC.js";
2
2
  const Q = (e) => (n) => {
3
3
  Object.keys(e).map((i) => {
4
4
  if (n.data && n.data.type == i) {
@@ -34,7 +34,7 @@ function L(e) {
34
34
  b(t, "part", "ul");
35
35
  },
36
36
  m(s, r) {
37
- T(s, t, r);
37
+ v(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,7 +56,7 @@ function L(e) {
56
56
  }
57
57
  },
58
58
  d(s) {
59
- s && v(t), B(i, s);
59
+ s && T(t), B(i, s);
60
60
  }
61
61
  };
62
62
  }
@@ -70,10 +70,10 @@ function C(e) {
70
70
  ), s;
71
71
  return {
72
72
  c() {
73
- t = w("sup"), n = w("span"), s = q(i), b(n, "part", "SupText"), b(t, "part", "sup");
73
+ t = w("sup"), n = w("span"), s = j(i), b(n, "part", "SupText"), b(t, "part", "sup");
74
74
  },
75
75
  m(r, a) {
76
- T(r, t, a), p(t, n), p(n, s);
76
+ v(r, t, a), p(t, n), p(n, s);
77
77
  },
78
78
  p(r, a) {
79
79
  a & /*totalReceiver, __tabs*/
@@ -81,10 +81,10 @@ function C(e) {
81
81
  r[3][
82
82
  /*_tab*/
83
83
  r[16]
84
- ] + "") && j(s, i);
84
+ ] + "") && q(s, i);
85
85
  },
86
86
  d(r) {
87
- r && v(t);
87
+ r && T(t);
88
88
  }
89
89
  };
90
90
  }
@@ -113,7 +113,7 @@ function M(e) {
113
113
  }
114
114
  return {
115
115
  c() {
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*/
116
+ t = w("li"), n = w("span"), s = j(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
- 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);
124
+ v(g, t, c), p(t, n), p(n, s), p(t, r), o && o.m(t, null), p(t, a), d || (m = G(t, "click", _), d = !0);
125
125
  },
126
126
  p(g, c) {
127
127
  e = g, c & /*textReceiver, __tabs*/
@@ -129,7 +129,7 @@ function M(e) {
129
129
  e[4][
130
130
  /*_tab*/
131
131
  e[16]
132
- ] + "") && j(s, i), /*totalReceiver*/
132
+ ] + "") && q(s, i), /*totalReceiver*/
133
133
  e[3][
134
134
  /*_tab*/
135
135
  e[16]
@@ -143,7 +143,7 @@ function M(e) {
143
143
  e[16] ? "active" : "")) && b(t, "part", f);
144
144
  },
145
145
  d(g) {
146
- g && v(t), o && o.d(), d = !1, m();
146
+ g && T(t), o && o.d(), d = !1, m();
147
147
  }
148
148
  };
149
149
  }
@@ -160,7 +160,7 @@ function X(e) {
160
160
  ) ? "TabMobile" : "TabDesktop")), b(t, "part", "CustomStylingContainer");
161
161
  },
162
162
  m(i, s) {
163
- T(i, t, s), n && n.m(t, null), e[14](t);
163
+ v(i, t, s), n && n.m(t, null), e[14](t);
164
164
  },
165
165
  p(i, [s]) {
166
166
  /*isTitleInited*/
@@ -169,7 +169,7 @@ function X(e) {
169
169
  i: k,
170
170
  o: k,
171
171
  d(i) {
172
- i && v(t), n && n.d(), e[14](null);
172
+ i && T(t), n && n.d(), e[14](null);
173
173
  }
174
174
  };
175
175
  }
@@ -212,7 +212,7 @@ function Y(e, t, n) {
212
212
  );
213
213
  };
214
214
  function U(l) {
215
- G[l ? "unshift" : "push"](() => {
215
+ J[l ? "unshift" : "push"](() => {
216
216
  o = l, n(1, o);
217
217
  });
218
218
  }
@@ -250,7 +250,7 @@ class Z extends A {
250
250
  t,
251
251
  Y,
252
252
  X,
253
- H,
253
+ I,
254
254
  {
255
255
  tabs: 8,
256
256
  tab: 9,
@@ -299,7 +299,7 @@ class Z extends A {
299
299
  this.$$set({ tid: t }), h();
300
300
  }
301
301
  }
302
- I(Z, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
302
+ H(Z, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
303
303
  export {
304
304
  Z as default
305
305
  };
@@ -1 +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
+ "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-C2UNEqN6.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-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)})}
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-C2UNEqN6.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-B0dYiMZG.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsLimitedController-BNlkU3et.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-DoFVV-ql.js";
1
+ import { C as s } from "../components/CasinoTournamentsLimitedController-CpLd2xoC.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-limited-controller",
3
- "version": "1.76.0",
3
+ "version": "1.76.3",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-limited-controller.cjs",
6
6
  "module": "esnext/casino-tournaments-limited-controller.js",