@everymatrix/casino-tournaments-limited-controller 1.54.8 → 1.54.10

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 +1 @@
1
- "use strict";var U=Object.defineProperty,j=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var T=(e,t,n)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||(t={}))k.call(t,n)&&T(e,n,t[n]);if(p)for(var n of p(t))C.call(t,n)&&T(e,n,t[n]);return e},y=(e,t)=>j(e,q(t));var L=(e,t)=>{var n={};for(var l in e)k.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&&C.call(e,l)&&(n[l]=e[l]);return n};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsLimitedController-CNVOBk_0.cjs"),O=e=>n=>{Object.keys(e).map(l=>{if(n.data&&n.data.type==l){const s=n.data,{type:r}=s,a=L(s,["type"]);e[l](a)}})},D=e=>{const t=O(e);i.onMount(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function I(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 F(e,t,n){const l=e.slice();return l[15]=t[n],l}function M(e){let t,n=i.ensure_array_like(e[5]),l=[];for(let s=0;s<n.length;s+=1)l[s]=z(F(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,r){i.insert(s,t,r);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(t,null)},p(s,r){if(r&60){n=i.ensure_array_like(s[5]);let a;for(a=0;a<n.length;a+=1){const c=F(s,n,a);l[a]?l[a].p(c,r):(l[a]=z(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 S(e){let t,n,l=e[2][e[15]]+"",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(r,a){i.insert(r,t,a),i.append(t,n),i.append(n,s)},p(r,a){a&36&&l!==(l=r[2][r[15]]+"")&&i.set_data(s,l)},d(r){r&&i.detach(t)}}}function z(e){let t,n,l=e[3][e[15]]+"",s,r,a,c,f,d,h,u=e[2][e[15]]>=0&&S(e);function m(){return e[10](e[15])}return{c(){t=i.element("li"),n=i.element("span"),s=i.text(l),r=i.space(),u&&u.c(),a=i.space(),i.attr(n,"part","LiText"),i.attr(t,"class",c=e[4]===e[15]?"active":""),i.attr(t,"part",f=`${e[15]} li `+(e[4]===e[15]?"active":""))},m(b,g){i.insert(b,t,g),i.append(t,n),i.append(n,s),i.append(t,r),u&&u.m(t,null),i.append(t,a),d||(h=i.listen(t,"click",m),d=!0)},p(b,g){e=b,g&40&&l!==(l=e[3][e[15]]+"")&&i.set_data(s,l),e[2][e[15]]>=0?u?u.p(e,g):(u=S(e),u.c(),u.m(t,a)):u&&(u.d(1),u=null),g&48&&c!==(c=e[4]===e[15]?"active":"")&&i.attr(t,"class",c),g&48&&f!==(f=`${e[15]} li `+(e[4]===e[15]?"active":""))&&i.attr(t,"part",f)},d(b){b&&i.detach(t),u&&u.d(),d=!1,h()}}}function P(e){let t,n=e[1]&&M(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[11](t)},p(l,[s]){l[1]?n?n.p(l,s):(n=M(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[11](null)}}}function A(e,t,n){let l,s,{tabs:r=""}=t,{tab:a=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:f=""}=t,d,h=!1,u={},m={};const b=()=>{let o=document.createElement("style");o.innerHTML=c,d.appendChild(o)},g=()=>{let o=new URL(f),v=document.createElement("style");fetch(o.href).then(_=>_.text()).then(_=>{v.innerHTML=_,setTimeout(()=>{d.appendChild(v)},1),setTimeout(()=>{},500)})};D({TournamentsTabTotalUpdate:o=>{n(2,u=y(w({},u),{[o.state]:o.total}))},TournamentsTabLocaleTextUpdate:o=>{n(1,h=!0),n(3,m=y(w({},m),{[o.state]:o.text}))}}),i.onMount(()=>{window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href)});const H=o=>{n(4,s=o),window.postMessage({type:"TournamentsTabSwitch",tab:o},window.location.href)};function R(o){i.binding_callbacks[o?"unshift":"push"](()=>{d=o,n(0,d)})}return e.$$set=o=>{"tabs"in o&&n(6,r=o.tabs),"tab"in o&&n(7,a=o.tab),"clientstyling"in o&&n(8,c=o.clientstyling),"clientstylingurl"in o&&n(9,f=o.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&257&&d&&c&&b(),e.$$.dirty&513&&d&&f&&g(),e.$$.dirty&64&&n(5,l=r.split(",")),e.$$.dirty&128&&n(4,s=a)},[d,h,u,m,s,l,r,a,c,f,H,R]}class E extends i.SvelteComponent{constructor(t){super(),i.init(this,t,A,P,i.safe_not_equal,{tabs:6,tab:7,clientstyling:8,clientstylingurl:9},I)}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()}}i.create_custom_element(E,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=E;
1
+ "use strict";var U=Object.defineProperty,j=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var T=(e,t,n)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||(t={}))k.call(t,n)&&T(e,n,t[n]);if(p)for(var n of p(t))C.call(t,n)&&T(e,n,t[n]);return e},y=(e,t)=>j(e,q(t));var L=(e,t)=>{var n={};for(var l in e)k.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&&C.call(e,l)&&(n[l]=e[l]);return n};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsLimitedController-DON4OB5B.cjs"),O=e=>n=>{Object.keys(e).map(l=>{if(n.data&&n.data.type==l){const s=n.data,{type:r}=s,a=L(s,["type"]);e[l](a)}})},D=e=>{const t=O(e);i.onMount(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function I(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 F(e,t,n){const l=e.slice();return l[15]=t[n],l}function M(e){let t,n=i.ensure_array_like(e[5]),l=[];for(let s=0;s<n.length;s+=1)l[s]=z(F(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,r){i.insert(s,t,r);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(t,null)},p(s,r){if(r&60){n=i.ensure_array_like(s[5]);let a;for(a=0;a<n.length;a+=1){const c=F(s,n,a);l[a]?l[a].p(c,r):(l[a]=z(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 S(e){let t,n,l=e[2][e[15]]+"",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(r,a){i.insert(r,t,a),i.append(t,n),i.append(n,s)},p(r,a){a&36&&l!==(l=r[2][r[15]]+"")&&i.set_data(s,l)},d(r){r&&i.detach(t)}}}function z(e){let t,n,l=e[3][e[15]]+"",s,r,a,c,f,d,h,u=e[2][e[15]]>=0&&S(e);function m(){return e[10](e[15])}return{c(){t=i.element("li"),n=i.element("span"),s=i.text(l),r=i.space(),u&&u.c(),a=i.space(),i.attr(n,"part","LiText"),i.attr(t,"class",c=e[4]===e[15]?"active":""),i.attr(t,"part",f=`${e[15]} li `+(e[4]===e[15]?"active":""))},m(b,g){i.insert(b,t,g),i.append(t,n),i.append(n,s),i.append(t,r),u&&u.m(t,null),i.append(t,a),d||(h=i.listen(t,"click",m),d=!0)},p(b,g){e=b,g&40&&l!==(l=e[3][e[15]]+"")&&i.set_data(s,l),e[2][e[15]]>=0?u?u.p(e,g):(u=S(e),u.c(),u.m(t,a)):u&&(u.d(1),u=null),g&48&&c!==(c=e[4]===e[15]?"active":"")&&i.attr(t,"class",c),g&48&&f!==(f=`${e[15]} li `+(e[4]===e[15]?"active":""))&&i.attr(t,"part",f)},d(b){b&&i.detach(t),u&&u.d(),d=!1,h()}}}function P(e){let t,n=e[1]&&M(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[11](t)},p(l,[s]){l[1]?n?n.p(l,s):(n=M(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[11](null)}}}function A(e,t,n){let l,s,{tabs:r=""}=t,{tab:a=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:f=""}=t,d,h=!1,u={},m={};const b=()=>{let o=document.createElement("style");o.innerHTML=c,d.appendChild(o)},g=()=>{let o=new URL(f),v=document.createElement("style");fetch(o.href).then(_=>_.text()).then(_=>{v.innerHTML=_,setTimeout(()=>{d.appendChild(v)},1),setTimeout(()=>{},500)})};D({TournamentsTabTotalUpdate:o=>{n(2,u=y(w({},u),{[o.state]:o.total}))},TournamentsTabLocaleTextUpdate:o=>{n(1,h=!0),n(3,m=y(w({},m),{[o.state]:o.text}))}}),i.onMount(()=>{window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href)});const H=o=>{n(4,s=o),window.postMessage({type:"TournamentsTabSwitch",tab:o},window.location.href)};function R(o){i.binding_callbacks[o?"unshift":"push"](()=>{d=o,n(0,d)})}return e.$$set=o=>{"tabs"in o&&n(6,r=o.tabs),"tab"in o&&n(7,a=o.tab),"clientstyling"in o&&n(8,c=o.clientstyling),"clientstylingurl"in o&&n(9,f=o.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&257&&d&&c&&b(),e.$$.dirty&513&&d&&f&&g(),e.$$.dirty&64&&n(5,l=r.split(",")),e.$$.dirty&128&&n(4,s=a)},[d,h,u,m,s,l,r,a,c,f,H,R]}class E extends i.SvelteComponent{constructor(t){super(),i.init(this,t,A,P,i.safe_not_equal,{tabs:6,tab:7,clientstyling:8,clientstylingurl:9},I)}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()}}i.create_custom_element(E,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=E;
@@ -1,4 +1,4 @@
1
- import { o as H, S as D, i as I, f as _, s as O, c as A, a as B, n as L, d as y, b as v, e as m, g as f, h as C, j as G, k as J, l as R, m as h, p as K, t as U, q as F } from "./CasinoTournamentsLimitedController-CMmvJUqg.js";
1
+ import { o as H, S as D, i as I, f as _, s as O, c as A, a as B, n as L, d as y, b as v, e as m, g as f, h as C, j as G, k as J, l as R, m as h, p as K, t as U, q as F } from "./CasinoTournamentsLimitedController-CLPNsTog.js";
2
2
  const N = (e) => (n) => {
3
3
  Object.keys(e).map((i) => {
4
4
  if (n.data && n.data.type == i) {
@@ -19,7 +19,7 @@ var E = (e, t) => {
19
19
  t.indexOf(i) < 0 && z.call(e, i) && (n[i] = e[i]);
20
20
  return n;
21
21
  };
22
- import { o as O, S as Q, i as V, s as W, f as y, a as X, n as H, d as v, b as T, e as m, c as f, g as R, h as Y, j as Z, k as A, l as h, m as x, t as B, p as U, q as $ } from "./CasinoTournamentsLimitedController-BU7fTyFp.js";
22
+ import { o as O, S as Q, i as V, s as W, f as y, a as X, n as H, d as v, b as T, e as m, c as f, g as R, h as Y, j as Z, k as A, l as h, m as x, t as B, p as U, q as $ } from "./CasinoTournamentsLimitedController-V8UDp9L8.js";
23
23
  const tt = (e) => (n) => {
24
24
  Object.keys(e).map((i) => {
25
25
  if (n.data && n.data.type == i) {
@@ -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-CNVOBk_0.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-DON4OB5B.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-BU7fTyFp.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsLimitedController-V8UDp9L8.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-CMmvJUqg.js";
1
+ import { C as s } from "../components/CasinoTournamentsLimitedController-CLPNsTog.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.54.8",
3
+ "version": "1.54.10",
4
4
  "type": "module",
5
5
  "main": "esnext/casino-tournaments-limited-controller.js",
6
6
  "module": "esnext/casino-tournaments-limited-controller.js",
@@ -21,4 +21,4 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  }
24
- }
24
+ }