@everymatrix/casino-tournaments-limited-controller 1.71.1 → 1.72.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.
@@ -19,7 +19,7 @@ var z = (e, t) => {
19
19
  t.indexOf(i) < 0 && L.call(e, i) && (n[i] = e[i]);
20
20
  return n;
21
21
  };
22
- import { o as D, S as K, i as N, f as p, c as P, s as Q, a as V, e as w, b as f, d as v, n as M, g as k, h as W, j as X, k as j, l as Y, t as I, m as q, p as h, q as Z, r as O, u as x, v as $ } from "./CasinoTournamentsLimitedController-BWZrjOq_.js";
22
+ import { o as D, S as K, i as N, s as P, f as p, a as Q, n as M, d as v, b as k, e as w, c as f, g as j, h as V, j as W, k as I, l as h, m as X, t as O, p as q, q as Y, r as Z, u as x, v as $ } from "./CasinoTournamentsLimitedController-D6cASWeq.js";
23
23
  const tt = (e) => (n) => {
24
24
  Object.keys(e).map((i) => {
25
25
  if (n.data && n.data.type == i) {
@@ -34,7 +34,7 @@ const tt = (e) => (n) => {
34
34
  }));
35
35
  };
36
36
  function nt(e) {
37
- V(e, "svelte-1eq8iwl", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:#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 #424242 solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;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}");
37
+ Q(e, "svelte-1eq8iwl", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:#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 #424242 solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;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}");
38
38
  }
39
39
  function R(e, t, n) {
40
40
  const i = e.slice();
@@ -55,7 +55,7 @@ function U(e) {
55
55
  f(t, "part", "ul");
56
56
  },
57
57
  m(s, o) {
58
- v(s, t, o);
58
+ k(s, t, o);
59
59
  for (let l = 0; l < i.length; l += 1)
60
60
  i[l] && i[l].m(t, null);
61
61
  },
@@ -77,7 +77,7 @@ function U(e) {
77
77
  }
78
78
  },
79
79
  d(s) {
80
- s && k(t), Y(i, s);
80
+ s && v(t), V(i, s);
81
81
  }
82
82
  };
83
83
  }
@@ -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), f(n, "part", "SupText"), f(t, "part", "sup");
94
+ t = w("sup"), n = w("span"), s = O(i), f(n, "part", "SupText"), f(t, "part", "sup");
95
95
  },
96
96
  m(o, l) {
97
- v(o, t, l), h(t, n), h(n, s);
97
+ k(o, t, l), h(t, n), h(n, s);
98
98
  },
99
99
  p(o, l) {
100
100
  l & /*totalReceiver, __tabs*/
@@ -102,10 +102,10 @@ function E(e) {
102
102
  o[2][
103
103
  /*_tab*/
104
104
  o[14]
105
- ] + "") && O(s, i);
105
+ ] + "") && I(s, i);
106
106
  },
107
107
  d(o) {
108
- o && k(t);
108
+ o && v(t);
109
109
  }
110
110
  };
111
111
  }
@@ -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), o = q(), r && r.c(), l = q(), f(n, "part", "LiText"), f(t, "class", u = /*__tab*/
137
+ t = w("li"), n = w("span"), s = O(i), o = q(), r && r.c(), l = q(), f(n, "part", "LiText"), f(t, "class", u = /*__tab*/
138
138
  e[4] === /*_tab*/
139
139
  e[14] ? "active" : ""), f(t, "part", d = `${/*_tab*/
140
140
  e[14]} li ` + /*__tab*/
@@ -142,7 +142,7 @@ function H(e) {
142
142
  e[14] ? "active" : ""));
143
143
  },
144
144
  m(b, m) {
145
- v(b, t, m), h(t, n), h(n, s), h(t, o), r && r.m(t, null), h(t, l), g || (c = Z(t, "click", _), g = !0);
145
+ k(b, t, m), h(t, n), h(n, s), h(t, o), r && r.m(t, null), h(t, l), g || (c = X(t, "click", _), g = !0);
146
146
  },
147
147
  p(b, m) {
148
148
  e = b, m & /*textReceiver, __tabs*/
@@ -150,7 +150,7 @@ function H(e) {
150
150
  e[3][
151
151
  /*_tab*/
152
152
  e[14]
153
- ] + "") && O(s, i), /*totalReceiver*/
153
+ ] + "") && I(s, i), /*totalReceiver*/
154
154
  e[2][
155
155
  /*_tab*/
156
156
  e[14]
@@ -164,7 +164,7 @@ function H(e) {
164
164
  e[14] ? "active" : "")) && f(t, "part", d);
165
165
  },
166
166
  d(b) {
167
- b && k(t), r && r.d(), g = !1, c();
167
+ b && v(t), r && r.d(), g = !1, c();
168
168
  }
169
169
  };
170
170
  }
@@ -178,7 +178,7 @@ function it(e) {
178
178
  t = w("div"), n && n.c(), f(t, "class", "casino-tournaments-tab"), f(t, "part", "CustomStylingContainer");
179
179
  },
180
180
  m(i, s) {
181
- v(i, t, s), n && n.m(t, null), e[12](t);
181
+ k(i, t, s), n && n.m(t, null), e[12](t);
182
182
  },
183
183
  p(i, [s]) {
184
184
  /*isTitleInited*/
@@ -187,7 +187,7 @@ function it(e) {
187
187
  i: M,
188
188
  o: M,
189
189
  d(i) {
190
- i && k(t), n && n.d(), e[12](null);
190
+ i && v(t), n && n.d(), e[12](null);
191
191
  }
192
192
  };
193
193
  }
@@ -208,7 +208,7 @@ function st(e, t, n) {
208
208
  n(4, s = a), window.postMessage({ type: "TournamentsTabSwitch", tab: a }, window.location.href);
209
209
  };
210
210
  function A(a) {
211
- x[a ? "unshift" : "push"](() => {
211
+ W[a ? "unshift" : "push"](() => {
212
212
  c = a, n(0, c);
213
213
  });
214
214
  }
@@ -216,9 +216,9 @@ function st(e, t, n) {
216
216
  "tabs" in a && n(6, o = a.tabs), "tab" in a && n(7, l = a.tab), "clientstyling" in a && n(8, u = a.clientstyling), "clientstylingurl" in a && n(9, d = a.clientstylingurl), "mbsource" in a && n(10, g = a.mbsource);
217
217
  }, e.$$.update = () => {
218
218
  e.$$.dirty & /*clientstyling, customStylingContainer*/
219
- 257 && u && c && $(c, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
220
- 513 && d && c && W(c, d), e.$$.dirty & /*mbsource, customStylingContainer*/
221
- 1025 && g && c && X(c, `${g}.Style`), e.$$.dirty & /*tabs*/
219
+ 257 && u && c && Y(c, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
220
+ 513 && d && c && Z(c, d), e.$$.dirty & /*mbsource, customStylingContainer*/
221
+ 1025 && g && c && x(c, `${g}.Style`), e.$$.dirty & /*tabs*/
222
222
  64 && n(5, i = o.split(",")), e.$$.dirty & /*tab*/
223
223
  128 && n(4, s = l);
224
224
  }, [
@@ -244,7 +244,7 @@ class lt extends K {
244
244
  t,
245
245
  st,
246
246
  it,
247
- Q,
247
+ P,
248
248
  {
249
249
  tabs: 6,
250
250
  tab: 7,
@@ -286,7 +286,7 @@ class lt extends K {
286
286
  this.$$set({ mbsource: t }), p();
287
287
  }
288
288
  }
289
- P(lt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
289
+ $(lt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
290
290
  export {
291
291
  lt as default
292
292
  };
@@ -1 +1 @@
1
- "use strict";var j=Object.defineProperty,q=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var y=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&y(e,n,t[n]);if(p)for(var n of p(t))k.call(t,n)&&y(e,n,t[n]);return e},w=(e,t)=>q(e,R(t));var T=(e,t)=>{var n={};for(var l in e)v.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&p)for(var l of p(e))t.indexOf(l)<0&&k.call(e,l)&&(n[l]=e[l]);return n};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsLimitedController-qdfcH-LC.cjs"),U=e=>n=>{Object.keys(e).map(l=>{if(n.data&&n.data.type==l){const s=n.data,{type:o}=s,a=T(s,["type"]);e[l](a)}})},E=e=>{const t=U(e);i.onMount(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function H(e){i.append_styles(e,"svelte-1eq8iwl","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:#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 #424242 solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;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}")}function S(e,t,n){const l=e.slice();return l[14]=t[n],l}function C(e){let t,n=i.ensure_array_like(e[5]),l=[];for(let s=0;s<n.length;s+=1)l[s]=L(S(e,n,s));return{c(){t=i.element("ul");for(let s=0;s<l.length;s+=1)l[s].c();i.attr(t,"part","ul")},m(s,o){i.insert(s,t,o);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(t,null)},p(s,o){if(o&60){n=i.ensure_array_like(s[5]);let a;for(a=0;a<n.length;a+=1){const c=S(s,n,a);l[a]?l[a].p(c,o):(l[a]=L(c),l[a].c(),l[a].m(t,null))}for(;a<l.length;a+=1)l[a].d(1);l.length=n.length}},d(s){s&&i.detach(t),i.destroy_each(l,s)}}}function F(e){let t,n,l=e[2][e[14]]+"",s;return{c(){t=i.element("sup"),n=i.element("span"),s=i.text(l),i.attr(n,"part","SupText"),i.attr(t,"part","sup")},m(o,a){i.insert(o,t,a),i.append(t,n),i.append(n,s)},p(o,a){a&36&&l!==(l=o[2][o[14]]+"")&&i.set_data(s,l)},d(o){o&&i.detach(t)}}}function L(e){let t,n,l=e[3][e[14]]+"",s,o,a,c,d,g,f,u=e[2][e[14]]>=0&&F(e);function h(){return e[11](e[14])}return{c(){t=i.element("li"),n=i.element("span"),s=i.text(l),o=i.space(),u&&u.c(),a=i.space(),i.attr(n,"part","LiText"),i.attr(t,"class",c=e[4]===e[14]?"active":""),i.attr(t,"part",d=`${e[14]} li `+(e[4]===e[14]?"active":""))},m(b,m){i.insert(b,t,m),i.append(t,n),i.append(n,s),i.append(t,o),u&&u.m(t,null),i.append(t,a),g||(f=i.listen(t,"click",h),g=!0)},p(b,m){e=b,m&40&&l!==(l=e[3][e[14]]+"")&&i.set_data(s,l),e[2][e[14]]>=0?u?u.p(e,m):(u=F(e),u.c(),u.m(t,a)):u&&(u.d(1),u=null),m&48&&c!==(c=e[4]===e[14]?"active":"")&&i.attr(t,"class",c),m&48&&d!==(d=`${e[14]} li `+(e[4]===e[14]?"active":""))&&i.attr(t,"part",d)},d(b){b&&i.detach(t),u&&u.d(),g=!1,f()}}}function O(e){let t,n=e[1]&&C(e);return{c(){t=i.element("div"),n&&n.c(),i.attr(t,"class","casino-tournaments-tab"),i.attr(t,"part","CustomStylingContainer")},m(l,s){i.insert(l,t,s),n&&n.m(t,null),e[12](t)},p(l,[s]){l[1]?n?n.p(l,s):(n=C(l),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:i.noop,o:i.noop,d(l){l&&i.detach(t),n&&n.d(),e[12](null)}}}function D(e,t,n){let l,s,{tabs:o=""}=t,{tab:a=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:d=""}=t,{mbsource:g}=t,f,u=!1,h={},b={};E({TournamentsTabTotalUpdate:r=>{n(2,h=w(_({},h),{[r.state]:r.total}))},TournamentsTabLocaleTextUpdate:r=>{n(1,u=!0),n(3,b=w(_({},b),{[r.state]:r.text}))}}),i.onMount(()=>(window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href),()=>{}));const m=r=>{n(4,s=r),window.postMessage({type:"TournamentsTabSwitch",tab:r},window.location.href)};function z(r){i.binding_callbacks[r?"unshift":"push"](()=>{f=r,n(0,f)})}return e.$$set=r=>{"tabs"in r&&n(6,o=r.tabs),"tab"in r&&n(7,a=r.tab),"clientstyling"in r&&n(8,c=r.clientstyling),"clientstylingurl"in r&&n(9,d=r.clientstylingurl),"mbsource"in r&&n(10,g=r.mbsource)},e.$$.update=()=>{e.$$.dirty&257&&c&&f&&i.setClientStyling(f,c),e.$$.dirty&513&&d&&f&&i.setClientStylingURL(f,d),e.$$.dirty&1025&&g&&f&&i.setStreamStyling(f,`${g}.Style`),e.$$.dirty&64&&n(5,l=o.split(",")),e.$$.dirty&128&&n(4,s=a)},[f,u,h,b,s,l,o,a,c,d,g,m,z]}class M extends i.SvelteComponent{constructor(t){super(),i.init(this,t,D,O,i.safe_not_equal,{tabs:6,tab:7,clientstyling:8,clientstylingurl:9,mbsource:10},H)}get tabs(){return this.$$.ctx[6]}set tabs(t){this.$$set({tabs:t}),i.flush()}get tab(){return this.$$.ctx[7]}set tab(t){this.$$set({tab:t}),i.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(M,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=M;
1
+ "use strict";var j=Object.defineProperty,q=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var y=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&y(e,n,t[n]);if(p)for(var n of p(t))k.call(t,n)&&y(e,n,t[n]);return e},w=(e,t)=>q(e,R(t));var T=(e,t)=>{var n={};for(var l in e)v.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&p)for(var l of p(e))t.indexOf(l)<0&&k.call(e,l)&&(n[l]=e[l]);return n};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsLimitedController-BbgrqpWb.cjs"),U=e=>n=>{Object.keys(e).map(l=>{if(n.data&&n.data.type==l){const s=n.data,{type:o}=s,a=T(s,["type"]);e[l](a)}})},E=e=>{const t=U(e);i.onMount(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function H(e){i.append_styles(e,"svelte-1eq8iwl","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:#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 #424242 solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;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}")}function S(e,t,n){const l=e.slice();return l[14]=t[n],l}function C(e){let t,n=i.ensure_array_like(e[5]),l=[];for(let s=0;s<n.length;s+=1)l[s]=L(S(e,n,s));return{c(){t=i.element("ul");for(let s=0;s<l.length;s+=1)l[s].c();i.attr(t,"part","ul")},m(s,o){i.insert(s,t,o);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(t,null)},p(s,o){if(o&60){n=i.ensure_array_like(s[5]);let a;for(a=0;a<n.length;a+=1){const c=S(s,n,a);l[a]?l[a].p(c,o):(l[a]=L(c),l[a].c(),l[a].m(t,null))}for(;a<l.length;a+=1)l[a].d(1);l.length=n.length}},d(s){s&&i.detach(t),i.destroy_each(l,s)}}}function F(e){let t,n,l=e[2][e[14]]+"",s;return{c(){t=i.element("sup"),n=i.element("span"),s=i.text(l),i.attr(n,"part","SupText"),i.attr(t,"part","sup")},m(o,a){i.insert(o,t,a),i.append(t,n),i.append(n,s)},p(o,a){a&36&&l!==(l=o[2][o[14]]+"")&&i.set_data(s,l)},d(o){o&&i.detach(t)}}}function L(e){let t,n,l=e[3][e[14]]+"",s,o,a,c,d,g,f,u=e[2][e[14]]>=0&&F(e);function h(){return e[11](e[14])}return{c(){t=i.element("li"),n=i.element("span"),s=i.text(l),o=i.space(),u&&u.c(),a=i.space(),i.attr(n,"part","LiText"),i.attr(t,"class",c=e[4]===e[14]?"active":""),i.attr(t,"part",d=`${e[14]} li `+(e[4]===e[14]?"active":""))},m(b,m){i.insert(b,t,m),i.append(t,n),i.append(n,s),i.append(t,o),u&&u.m(t,null),i.append(t,a),g||(f=i.listen(t,"click",h),g=!0)},p(b,m){e=b,m&40&&l!==(l=e[3][e[14]]+"")&&i.set_data(s,l),e[2][e[14]]>=0?u?u.p(e,m):(u=F(e),u.c(),u.m(t,a)):u&&(u.d(1),u=null),m&48&&c!==(c=e[4]===e[14]?"active":"")&&i.attr(t,"class",c),m&48&&d!==(d=`${e[14]} li `+(e[4]===e[14]?"active":""))&&i.attr(t,"part",d)},d(b){b&&i.detach(t),u&&u.d(),g=!1,f()}}}function O(e){let t,n=e[1]&&C(e);return{c(){t=i.element("div"),n&&n.c(),i.attr(t,"class","casino-tournaments-tab"),i.attr(t,"part","CustomStylingContainer")},m(l,s){i.insert(l,t,s),n&&n.m(t,null),e[12](t)},p(l,[s]){l[1]?n?n.p(l,s):(n=C(l),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:i.noop,o:i.noop,d(l){l&&i.detach(t),n&&n.d(),e[12](null)}}}function D(e,t,n){let l,s,{tabs:o=""}=t,{tab:a=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:d=""}=t,{mbsource:g}=t,f,u=!1,h={},b={};E({TournamentsTabTotalUpdate:r=>{n(2,h=w(_({},h),{[r.state]:r.total}))},TournamentsTabLocaleTextUpdate:r=>{n(1,u=!0),n(3,b=w(_({},b),{[r.state]:r.text}))}}),i.onMount(()=>(window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href),()=>{}));const m=r=>{n(4,s=r),window.postMessage({type:"TournamentsTabSwitch",tab:r},window.location.href)};function z(r){i.binding_callbacks[r?"unshift":"push"](()=>{f=r,n(0,f)})}return e.$$set=r=>{"tabs"in r&&n(6,o=r.tabs),"tab"in r&&n(7,a=r.tab),"clientstyling"in r&&n(8,c=r.clientstyling),"clientstylingurl"in r&&n(9,d=r.clientstylingurl),"mbsource"in r&&n(10,g=r.mbsource)},e.$$.update=()=>{e.$$.dirty&257&&c&&f&&i.setClientStyling(f,c),e.$$.dirty&513&&d&&f&&i.setClientStylingURL(f,d),e.$$.dirty&1025&&g&&f&&i.setStreamStyling(f,`${g}.Style`),e.$$.dirty&64&&n(5,l=o.split(",")),e.$$.dirty&128&&n(4,s=a)},[f,u,h,b,s,l,o,a,c,d,g,m,z]}class M extends i.SvelteComponent{constructor(t){super(),i.init(this,t,D,O,i.safe_not_equal,{tabs:6,tab:7,clientstyling:8,clientstylingurl:9,mbsource:10},H)}get tabs(){return this.$$.ctx[6]}set tabs(t){this.$$set({tabs:t}),i.flush()}get tab(){return this.$$.ctx[7]}set tab(t){this.$$set({tab:t}),i.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(M,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=M;
@@ -1,4 +1,4 @@
1
- import { o as M, S as U, i as E, f as p, c as H, s as D, a as I, e as w, b as f, d as y, n as k, g as v, h as O, j as A, k as T, l as B, t as j, m as S, p as h, q as G, r as q, u as J, v as K } from "./CasinoTournamentsLimitedController-DZIUqUeT.js";
1
+ import { o as M, S as U, i as E, f as p, s as H, c as D, a as I, n as k, d as y, b as v, e as w, g as f, h as T, j as O, k as A, l as j, m as h, p as B, t as q, q as S, r as G, u as J, v as K } from "./CasinoTournamentsLimitedController-Cw8Q_fq9.js";
2
2
  const N = (e) => (n) => {
3
3
  Object.keys(e).map((i) => {
4
4
  if (n.data && n.data.type == i) {
@@ -34,7 +34,7 @@ function C(e) {
34
34
  f(t, "part", "ul");
35
35
  },
36
36
  m(s, o) {
37
- y(s, t, o);
37
+ v(s, t, o);
38
38
  for (let l = 0; l < i.length; l += 1)
39
39
  i[l] && i[l].m(t, null);
40
40
  },
@@ -56,7 +56,7 @@ function C(e) {
56
56
  }
57
57
  },
58
58
  d(s) {
59
- s && v(t), B(i, s);
59
+ s && y(t), O(i, s);
60
60
  }
61
61
  };
62
62
  }
@@ -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), f(n, "part", "SupText"), f(t, "part", "sup");
73
+ t = w("sup"), n = w("span"), s = q(i), f(n, "part", "SupText"), f(t, "part", "sup");
74
74
  },
75
75
  m(o, l) {
76
- y(o, t, l), h(t, n), h(n, s);
76
+ v(o, t, l), h(t, n), h(n, s);
77
77
  },
78
78
  p(o, l) {
79
79
  l & /*totalReceiver, __tabs*/
@@ -81,10 +81,10 @@ function L(e) {
81
81
  o[2][
82
82
  /*_tab*/
83
83
  o[14]
84
- ] + "") && q(s, i);
84
+ ] + "") && j(s, i);
85
85
  },
86
86
  d(o) {
87
- o && v(t);
87
+ o && y(t);
88
88
  }
89
89
  };
90
90
  }
@@ -113,7 +113,7 @@ function z(e) {
113
113
  }
114
114
  return {
115
115
  c() {
116
- t = w("li"), n = w("span"), s = j(i), o = S(), r && r.c(), l = S(), f(n, "part", "LiText"), f(t, "class", u = /*__tab*/
116
+ t = w("li"), n = w("span"), s = q(i), o = S(), r && r.c(), l = S(), f(n, "part", "LiText"), f(t, "class", u = /*__tab*/
117
117
  e[4] === /*_tab*/
118
118
  e[14] ? "active" : ""), f(t, "part", d = `${/*_tab*/
119
119
  e[14]} li ` + /*__tab*/
@@ -121,7 +121,7 @@ function z(e) {
121
121
  e[14] ? "active" : ""));
122
122
  },
123
123
  m(b, m) {
124
- y(b, t, m), h(t, n), h(n, s), h(t, o), r && r.m(t, null), h(t, l), g || (c = G(t, "click", _), g = !0);
124
+ v(b, t, m), h(t, n), h(n, s), h(t, o), r && r.m(t, null), h(t, l), g || (c = B(t, "click", _), g = !0);
125
125
  },
126
126
  p(b, m) {
127
127
  e = b, m & /*textReceiver, __tabs*/
@@ -129,7 +129,7 @@ function z(e) {
129
129
  e[3][
130
130
  /*_tab*/
131
131
  e[14]
132
- ] + "") && q(s, i), /*totalReceiver*/
132
+ ] + "") && j(s, i), /*totalReceiver*/
133
133
  e[2][
134
134
  /*_tab*/
135
135
  e[14]
@@ -143,7 +143,7 @@ function z(e) {
143
143
  e[14] ? "active" : "")) && f(t, "part", d);
144
144
  },
145
145
  d(b) {
146
- b && v(t), r && r.d(), g = !1, c();
146
+ b && y(t), r && r.d(), g = !1, c();
147
147
  }
148
148
  };
149
149
  }
@@ -157,7 +157,7 @@ function V(e) {
157
157
  t = w("div"), n && n.c(), f(t, "class", "casino-tournaments-tab"), f(t, "part", "CustomStylingContainer");
158
158
  },
159
159
  m(i, s) {
160
- y(i, t, s), n && n.m(t, null), e[12](t);
160
+ v(i, t, s), n && n.m(t, null), e[12](t);
161
161
  },
162
162
  p(i, [s]) {
163
163
  /*isTitleInited*/
@@ -166,7 +166,7 @@ function V(e) {
166
166
  i: k,
167
167
  o: k,
168
168
  d(i) {
169
- i && v(t), n && n.d(), e[12](null);
169
+ i && y(t), n && n.d(), e[12](null);
170
170
  }
171
171
  };
172
172
  }
@@ -188,7 +188,7 @@ function W(e, t, n) {
188
188
  n(4, s = a), window.postMessage({ type: "TournamentsTabSwitch", tab: a }, window.location.href);
189
189
  };
190
190
  function R(a) {
191
- J[a ? "unshift" : "push"](() => {
191
+ A[a ? "unshift" : "push"](() => {
192
192
  c = a, n(0, c);
193
193
  });
194
194
  }
@@ -196,9 +196,9 @@ function W(e, t, n) {
196
196
  "tabs" in a && n(6, o = a.tabs), "tab" in a && n(7, l = a.tab), "clientstyling" in a && n(8, u = a.clientstyling), "clientstylingurl" in a && n(9, d = a.clientstylingurl), "mbsource" in a && n(10, g = a.mbsource);
197
197
  }, e.$$.update = () => {
198
198
  e.$$.dirty & /*clientstyling, customStylingContainer*/
199
- 257 && u && c && K(c, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
200
- 513 && d && c && O(c, d), e.$$.dirty & /*mbsource, customStylingContainer*/
201
- 1025 && g && c && A(c, `${g}.Style`), e.$$.dirty & /*tabs*/
199
+ 257 && u && c && G(c, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
200
+ 513 && d && c && J(c, d), e.$$.dirty & /*mbsource, customStylingContainer*/
201
+ 1025 && g && c && K(c, `${g}.Style`), e.$$.dirty & /*tabs*/
202
202
  64 && n(5, i = o.split(",")), e.$$.dirty & /*tab*/
203
203
  128 && n(4, s = l);
204
204
  }, [
@@ -224,7 +224,7 @@ class X extends U {
224
224
  t,
225
225
  W,
226
226
  V,
227
- D,
227
+ H,
228
228
  {
229
229
  tabs: 6,
230
230
  tab: 7,
@@ -266,7 +266,7 @@ class X extends U {
266
266
  this.$$set({ mbsource: t }), p();
267
267
  }
268
268
  }
269
- H(X, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
269
+ D(X, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
270
270
  export {
271
271
  X as default
272
272
  };
@@ -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-qdfcH-LC.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-BbgrqpWb.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-BWZrjOq_.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsLimitedController-D6cASWeq.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-DZIUqUeT.js";
1
+ import { C as s } from "../components/CasinoTournamentsLimitedController-Cw8Q_fq9.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.71.1",
3
+ "version": "1.72.0",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-limited-controller.cjs",
6
6
  "module": "esnext/casino-tournaments-limited-controller.js",