@everymatrix/casino-tournaments-slider-controller 1.55.0 → 1.56.2
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.
- package/components/{CasinoTournamentsRank-fGRg2Pw3.js → CasinoTournamentsRank-CHfNbZ5M.js} +13 -7
- package/components/{CasinoTournamentsRank-Ux8BsTkO.cjs → CasinoTournamentsRank-CvCbO6QM.cjs} +1 -1
- package/components/{CasinoTournamentsRank-T0J24i89.js → CasinoTournamentsRank-Uh63yR74.js} +12 -6
- package/components/{CasinoTournamentsSliderController-DBUjksuM.js → CasinoTournamentsSliderController-Bi9dPhbE.js} +619 -598
- package/components/{CasinoTournamentsSliderController-CXY1p-zw.js → CasinoTournamentsSliderController-DPXiXg71.js} +618 -597
- package/components/{CasinoTournamentsSliderController-C4IXeD8M.cjs → CasinoTournamentsSliderController-DlIkJQxl.cjs} +15 -2
- package/es2015/casino-tournaments-slider-controller.cjs +1 -1
- package/es2015/casino-tournaments-slider-controller.js +1 -1
- package/esnext/casino-tournaments-slider-controller.js +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ var et = (e, t, n) => t in e ? St(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
Pt.call(t, n) && et(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, ht = (e, t) => Et(e, Rt(t));
|
|
13
|
-
var E = (e, t, n) => et(e, typeof t != "symbol" ? t + "" : t, n);
|
|
13
|
+
var E = (e, t, n) => (et(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
14
|
var dt = (e, t, n) => new Promise((i, l) => {
|
|
15
15
|
var r = (s) => {
|
|
16
16
|
try {
|
|
@@ -94,7 +94,8 @@ function Ot(e, t, n) {
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
function at(e) {
|
|
97
|
-
if (!e)
|
|
97
|
+
if (!e)
|
|
98
|
+
return document;
|
|
98
99
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
99
100
|
return t && /** @type {ShadowRoot} */
|
|
100
101
|
t.host ? (
|
|
@@ -174,7 +175,8 @@ const W = /* @__PURE__ */ new Map();
|
|
|
174
175
|
let X = 0;
|
|
175
176
|
function qt(e) {
|
|
176
177
|
let t = 5381, n = e.length;
|
|
177
|
-
for (; n--; )
|
|
178
|
+
for (; n--; )
|
|
179
|
+
t = (t << 5) - t ^ e.charCodeAt(n);
|
|
178
180
|
return t >>> 0;
|
|
179
181
|
}
|
|
180
182
|
function Ft(e, t) {
|
|
@@ -216,7 +218,8 @@ function J(e) {
|
|
|
216
218
|
V = e;
|
|
217
219
|
}
|
|
218
220
|
function Zt() {
|
|
219
|
-
if (!V)
|
|
221
|
+
if (!V)
|
|
222
|
+
throw new Error("Function called outside component initialization");
|
|
220
223
|
return V;
|
|
221
224
|
}
|
|
222
225
|
function Gt(e) {
|
|
@@ -247,7 +250,8 @@ function R() {
|
|
|
247
250
|
} catch (t) {
|
|
248
251
|
throw j.length = 0, U = 0, t;
|
|
249
252
|
}
|
|
250
|
-
for (J(null), j.length = 0, U = 0; rt.length; )
|
|
253
|
+
for (J(null), j.length = 0, U = 0; rt.length; )
|
|
254
|
+
rt.pop()();
|
|
251
255
|
for (let t = 0; t < H.length; t += 1) {
|
|
252
256
|
const n = H[t];
|
|
253
257
|
it.has(n) || (it.add(n), n());
|
|
@@ -296,11 +300,13 @@ function te(e, t) {
|
|
|
296
300
|
}
|
|
297
301
|
function ve(e, t, n, i) {
|
|
298
302
|
if (e && e.o) {
|
|
299
|
-
if (K.has(e))
|
|
303
|
+
if (K.has(e))
|
|
304
|
+
return;
|
|
300
305
|
K.add(e), T.c.push(() => {
|
|
301
306
|
K.delete(e), i && (n && e.d(1), i());
|
|
302
307
|
}), e.o(t);
|
|
303
|
-
} else
|
|
308
|
+
} else
|
|
309
|
+
i && i();
|
|
304
310
|
}
|
|
305
311
|
const ee = { duration: 0 };
|
|
306
312
|
function Ce(e, t, n, i) {
|
package/components/{CasinoTournamentsRank-Ux8BsTkO.cjs → CasinoTournamentsRank-CvCbO6QM.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var It=Object.defineProperty,Ot=Object.defineProperties;var jt=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var Ht=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable;var st=(e,t,n)=>t in e?It(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ft=(e,t)=>{for(var n in t||(t={}))Ht.call(t,n)&&st(e,n,t[n]);if(ut)for(var n of ut(t))Nt.call(t,n)&&st(e,n,t[n]);return e},ht=(e,t)=>Ot(e,jt(t));var z=(e,t,n)=>st(e,typeof t!="symbol"?t+"":t,n);var dt=(e,t,n)=>new Promise((i,l)=>{var r=s=>{try{o(n.next(s))}catch(a){l(a)}},c=s=>{try{o(n.throw(s))}catch(a){l(a)}},o=s=>s.done?i(s.value):Promise.resolve(s.value).then(r,c);o((n=n.apply(e,t)).next())});function M(){}const yt=e=>e;function kt(e){return e()}function gt(){return Object.create(null)}function I(e){e.forEach(kt)}function it(e){return typeof e=="function"}function bt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Q;function _t(e,t){return e===t?!0:(Q||(Q=document.createElement("a")),Q.href=t,e===Q.href)}function Dt(e){return Object.keys(e).length===0}function xt(e,...t){if(e==null){for(const i of t)i(void 0);return M}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Bt(e,t,n){e.$$.on_destroy.push(xt(t,n))}const vt=typeof window!="undefined";let qt=vt?()=>window.performance.now():()=>Date.now(),ct=vt?e=>requestAnimationFrame(e):M;const D=new Set;function Ct(e){D.forEach(t=>{t.c(e)||(D.delete(t),t.f())}),D.size!==0&&ct(Ct)}function Ft(e){let t;return D.size===0&&ct(Ct),{promise:new Promise(n=>{D.add(t={c:e,f:n})}),abort(){D.delete(t)}}}function y(e,t){e.appendChild(t)}function St(e,t,n){const i=at(e);if(!i.getElementById(t)){const l=A("style");l.id=t,l.textContent=n,At(i,l)}}function at(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Jt(e){const t=A("style");return t.textContent="/* empty */",At(at(e),t),t.sheet}function At(e,t){return y(e.head||e,t),t.sheet}function K(e,t,n){e.insertBefore(t,n||null)}function O(e){e.parentNode&&e.parentNode.removeChild(e)}function Vt(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function A(e){return document.createElement(e)}function Zt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function J(e){return document.createTextNode(e)}function H(){return J(" ")}function Gt(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function h(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Kt(e,t,n){const i=t.toLowerCase();i in e?e[i]=typeof e[i]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:h(e,t,n)}function Qt(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function Wt(e){return Array.from(e.childNodes)}function W(e,t){t=""+t,e.data!==t&&(e.data=t)}function Xt(e,t,n,i){e.style.setProperty(t,n,"")}function Yt(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}function te(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const tt=new Map;let et=0;function ee(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function ne(e,t){const n={stylesheet:Jt(t),rules:{}};return tt.set(e,n),n}function mt(e,t,n,i,l,r,c,o=0){const s=16.666/i;let a=`{
|
|
1
|
+
"use strict";var It=Object.defineProperty,Ot=Object.defineProperties;var jt=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var Ht=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable;var st=(e,t,n)=>t in e?It(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ft=(e,t)=>{for(var n in t||(t={}))Ht.call(t,n)&&st(e,n,t[n]);if(ut)for(var n of ut(t))Nt.call(t,n)&&st(e,n,t[n]);return e},ht=(e,t)=>Ot(e,jt(t));var z=(e,t,n)=>(st(e,typeof t!="symbol"?t+"":t,n),n);var dt=(e,t,n)=>new Promise((i,l)=>{var r=s=>{try{o(n.next(s))}catch(a){l(a)}},c=s=>{try{o(n.throw(s))}catch(a){l(a)}},o=s=>s.done?i(s.value):Promise.resolve(s.value).then(r,c);o((n=n.apply(e,t)).next())});function M(){}const yt=e=>e;function kt(e){return e()}function gt(){return Object.create(null)}function I(e){e.forEach(kt)}function it(e){return typeof e=="function"}function bt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Q;function _t(e,t){return e===t?!0:(Q||(Q=document.createElement("a")),Q.href=t,e===Q.href)}function Dt(e){return Object.keys(e).length===0}function xt(e,...t){if(e==null){for(const i of t)i(void 0);return M}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Bt(e,t,n){e.$$.on_destroy.push(xt(t,n))}const vt=typeof window!="undefined";let qt=vt?()=>window.performance.now():()=>Date.now(),ct=vt?e=>requestAnimationFrame(e):M;const D=new Set;function Ct(e){D.forEach(t=>{t.c(e)||(D.delete(t),t.f())}),D.size!==0&&ct(Ct)}function Ft(e){let t;return D.size===0&&ct(Ct),{promise:new Promise(n=>{D.add(t={c:e,f:n})}),abort(){D.delete(t)}}}function y(e,t){e.appendChild(t)}function St(e,t,n){const i=at(e);if(!i.getElementById(t)){const l=A("style");l.id=t,l.textContent=n,At(i,l)}}function at(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Jt(e){const t=A("style");return t.textContent="/* empty */",At(at(e),t),t.sheet}function At(e,t){return y(e.head||e,t),t.sheet}function K(e,t,n){e.insertBefore(t,n||null)}function O(e){e.parentNode&&e.parentNode.removeChild(e)}function Vt(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function A(e){return document.createElement(e)}function Zt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function J(e){return document.createTextNode(e)}function H(){return J(" ")}function Gt(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function h(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Kt(e,t,n){const i=t.toLowerCase();i in e?e[i]=typeof e[i]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:h(e,t,n)}function Qt(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function Wt(e){return Array.from(e.childNodes)}function W(e,t){t=""+t,e.data!==t&&(e.data=t)}function Xt(e,t,n,i){e.style.setProperty(t,n,"")}function Yt(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}function te(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const tt=new Map;let et=0;function ee(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function ne(e,t){const n={stylesheet:Jt(t),rules:{}};return tt.set(e,n),n}function mt(e,t,n,i,l,r,c,o=0){const s=16.666/i;let a=`{
|
|
2
2
|
`;for(let _=0;_<=1;_+=s){const C=t+(n-t)*r(_);a+=_*100+`%{${c(C,1-C)}}
|
|
3
3
|
`}const m=a+`100% {${c(n,1-n)}}
|
|
4
4
|
}`,d=`__svelte_${ee(m)}_${o}`,g=at(e),{stylesheet:$,rules:f}=tt.get(g)||ne(g,e);f[d]||(f[d]=!0,$.insertRule(`@keyframes ${d} ${m}`,$.cssRules.length));const w=e.style.animation||"";return e.style.animation=`${w?`${w}, `:""}${d} ${i}ms linear ${l}ms 1 both`,et+=1,d}function ie(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?r=>r.indexOf(t)<0:r=>r.indexOf("__svelte")===-1),l=n.length-i.length;l&&(e.style.animation=i.join(", "),et-=l,et||se())}function se(){ct(()=>{et||(tt.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&O(t)}),tt.clear())})}let Z;function V(e){Z=e}function re(){if(!Z)throw new Error("Function called outside component initialization");return Z}function Rt(e){re().$$.on_mount.push(e)}const N=[],nt=[];let B=[];const $t=[],oe=Promise.resolve();let lt=!1;function le(){lt||(lt=!0,oe.then(S))}function G(e){B.push(e)}const rt=new Set;let j=0;function S(){if(j!==0)return;const e=Z;do{try{for(;j<N.length;){const t=N[j];j++,V(t),ce(t.$$)}}catch(t){throw N.length=0,j=0,t}for(V(null),N.length=0,j=0;nt.length;)nt.pop()();for(let t=0;t<B.length;t+=1){const n=B[t];rt.has(n)||(rt.add(n),n())}B.length=0}while(N.length);for(;$t.length;)$t.pop()();lt=!1,rt.clear(),V(e)}function ce(e){if(e.fragment!==null){e.update(),I(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(G)}}function ae(e){const t=[],n=[];B.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),B=t}let F;function ue(){return F||(F=Promise.resolve(),F.then(()=>{F=null})),F}function ot(e,t,n){e.dispatchEvent(Yt(`${t?"intro":"outro"}${n}`))}const X=new Set;let T;function fe(){T={r:0,c:[],p:T}}function he(){T.r||I(T.c),T=T.p}function Et(e,t){e&&e.i&&(X.delete(e),e.i(t))}function de(e,t,n,i){if(e&&e.o){if(X.has(e))return;X.add(e),T.c.push(()=>{X.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}const ge={duration:0};function _e(e,t,n,i){let r=t(e,n,{direction:"both"}),c=i?0:1,o=null,s=null,a=null,m;function d(){a&&ie(e,a)}function g(f,w){const _=f.b-c;return w*=Math.abs(_),{a:c,b:f.b,d:_,duration:w,start:f.start,end:f.start+w,group:f.group}}function $(f){const{delay:w=0,duration:_=300,easing:C=yt,tick:R=M,css:P}=r||ge,k={start:qt()+w,b:f};f||(k.group=T,T.r+=1),"inert"in e&&(f?m!==void 0&&(e.inert=m):(m=e.inert,e.inert=!0)),o||s?s=k:(P&&(d(),a=mt(e,c,f,_,w,C,P)),f&&R(0,1),o=g(k,_),G(()=>ot(e,f,"start")),Ft(E=>{if(s&&E>s.start&&(o=g(s,_),s=null,ot(e,o.b,"start"),P&&(d(),a=mt(e,c,o.b,o.duration,0,C,r.css))),o){if(E>=o.end)R(c=o.b,1-c),ot(e,o.b,"end"),s||(o.b?d():--o.group.r||I(o.group.c)),o=null;else if(E>=o.start){const L=E-o.start;c=o.a+o.d*C(L/o.duration),R(c,1-c)}}return!!(o||s)}))}return{run(f){it(r)?ue().then(()=>{r=r({direction:f?"in":"out"}),$(f)}):$(f)},end(){d(),o=s=null}}}function me(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function $e(e,t,n){const{fragment:i,after_update:l}=e.$$;i&&i.m(t,n),G(()=>{const r=e.$$.on_mount.map(kt).filter(it);e.$$.on_destroy?e.$$.on_destroy.push(...r):I(r),e.$$.on_mount=[]}),l.forEach(G)}function pe(e,t){const n=e.$$;n.fragment!==null&&(ae(n.after_update),I(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function we(e,t){e.$$.dirty[0]===-1&&(N.push(e),le(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function zt(e,t,n,i,l,r,c=null,o=[-1]){const s=Z;V(e);const a=e.$$={fragment:null,ctx:[],props:r,update:M,not_equal:l,bound:gt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(s?s.$$.context:[])),callbacks:gt(),dirty:o,skip_bound:!1,root:t.target||s.$$.root};c&&c(a.root);let m=!1;if(a.ctx=n?n(e,t.props||{},(d,g,...$)=>{const f=$.length?$[0]:g;return a.ctx&&l(a.ctx[d],a.ctx[d]=f)&&(!a.skip_bound&&a.bound[d]&&a.bound[d](f),m&&we(e,d)),g}):[],a.update(),m=!0,I(a.before_update),a.fragment=i?i(a.ctx):!1,t.target){if(t.hydrate){const d=Wt(t.target);a.fragment&&a.fragment.l(d),d.forEach(O)}else a.fragment&&a.fragment.c();t.intro&&Et(e.$$.fragment),$e(e,t.target,t.anchor),S()}V(s)}let Pt;typeof HTMLElement=="function"&&(Pt=class extends HTMLElement{constructor(t,n,i){super();z(this,"$$ctor");z(this,"$$s");z(this,"$$c");z(this,"$$cn",!1);z(this,"$$d",{});z(this,"$$r",!1);z(this,"$$p_d",{});z(this,"$$l",{});z(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const l=this.$$c.$on(t,n);this.$$l_u.set(n,l)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const l=this.$$l_u.get(n);l&&(l(),this.$$l_u.delete(n))}}connectedCallback(){return dt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(r){return()=>{let c;return{c:function(){c=A("slot"),r!=="default"&&h(c,"name",r)},m:function(a,m){K(a,c,m)},d:function(a){a&&O(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=te(this);for(const r of this.$$s)r in i&&(n[r]=[t(r)]);for(const r of this.attributes){const c=this.$$g_p(r.name);c in this.$$d||(this.$$d[c]=Y(c,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ht(ft({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const l=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const c=Y(r,this.$$d[r],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,c)}this.$$r=!1};this.$$c.$$.after_update.push(l),l();for(const r in this.$$l)for(const c of this.$$l[r]){const o=this.$$c.$on(r,c);this.$$l_u.set(c,o)}this.$$l={}}})}attributeChangedCallback(t,n,i){var l;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Y(t,i,this.$$p_d,"toProp"),(l=this.$$c)==null||l.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function Y(e,t,n,i){var r;const l=(r=n[e])==null?void 0:r.type;if(t=l==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(l){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(l){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Lt(e,t,n,i,l,r){let c=class extends Pt{constructor(){super(e,n,l),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(c.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(s){var a;s=Y(o,s,t),this.$$d[o]=s,(a=this.$$c)==null||a.$set({[o]:s})}})}),i.forEach(o=>{Object.defineProperty(c.prototype,o,{get(){var s;return(s=this.$$c)==null?void 0:s[o]}})}),e.element=c,c}class Tt{constructor(){z(this,"$$");z(this,"$$set")}$destroy(){pe(this,1),this.$destroy=M}$on(t,n){if(!it(n))return M;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const l=i.indexOf(n);l!==-1&&i.splice(l,1)}}$set(t){this.$$set&&!Dt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ye="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ye);const ke="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",be="data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function xe(e){St(e,"svelte-1njm5xr",".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}")}function pt(e){let t;return{c(){t=A("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>',h(t,"class","Icon UserIcon"),h(t,"part","Icon UserIcon")},m(n,i){K(n,t,i)},d(n){n&&O(t)}}}function wt(e){let t;return{c(){t=A("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>',h(t,"class","Icon PrizeIcon"),h(t,"part","Icon PrizeIcon")},m(n,i){K(n,t,i)},d(n){n&&O(t)}}}function ve(e){let t,n,i,l,r,c,o,s,a,m,d,g,$,f,w,_,C,R,P,k,E,L,b=e[2]=="true"&&pt(),x=e[2]=="true"&&wt();return{c(){t=A("div"),n=A("div"),b&&b.c(),i=H(),l=A("span"),r=J(e[1]),c=J(e[7]),o=H(),s=A("img"),d=H(),g=A("img"),w=H(),_=A("div"),x&&x.c(),C=H(),R=A("span"),P=J(e[0]),h(s,"part","Rank_Arror_UP"),h(s,"alt","Rank Up"),_t(s.src,a=ke)||h(s,"src",a),h(s,"width","20"),h(s,"height","20"),h(s,"class",m="svg Arrow Up "+(e[5]&&e[6]?"Show":"Hidden")),h(g,"part","Rank_Arror_Down"),h(g,"alt","Rank Down"),_t(g.src,$=be)||h(g,"src",$),h(g,"width","10"),h(g,"height","10"),h(g,"class",f="svg Arrow Down "+(e[5]&&!e[6]?"Show":"Hidden")),h(l,"class","RankInfo"),h(l,"part","RankText"),h(n,"class","RankSec"),h(n,"part","Rank"),h(R,"class","RankInfo UserPrize"),h(R,"part","PrizeText"),h(_,"class",k=e[3]+" PrizeSec"),h(_,"part","Prize"),h(t,"class",E=e[3]+" casino-tournaments-rank"),h(t,"part",L=e[3]+" casino-tournaments-rank")},m(p,v){K(p,t,v),y(t,n),b&&b.m(n,null),y(n,i),y(n,l),y(l,r),y(l,c),y(l,o),y(l,s),y(l,d),y(l,g),y(t,w),y(t,_),x&&x.m(_,null),y(_,C),y(_,R),y(R,P),e[14](t)},p(p,[v]){p[2]=="true"?b||(b=pt(),b.c(),b.m(n,i)):b&&(b.d(1),b=null),v&2&&W(r,p[1]),v&128&&W(c,p[7]),v&96&&m!==(m="svg Arrow Up "+(p[5]&&p[6]?"Show":"Hidden"))&&h(s,"class",m),v&96&&f!==(f="svg Arrow Down "+(p[5]&&!p[6]?"Show":"Hidden"))&&h(g,"class",f),p[2]=="true"?x||(x=wt(),x.c(),x.m(_,C)):x&&(x.d(1),x=null),v&1&&W(P,p[0]),v&8&&k!==(k=p[3]+" PrizeSec")&&h(_,"class",k),v&8&&E!==(E=p[3]+" casino-tournaments-rank")&&h(t,"class",E),v&8&&L!==(L=p[3]+" casino-tournaments-rank")&&h(t,"part",L)},i:M,o:M,d(p){p&&O(t),b&&b.d(),x&&x.d(),e[14](null)}}}function Ce(e,t,n){let{rankprefix:i="#"}=t,{showicon:l="true"}=t,{tournamentid:r=""}=t,{overallrank:c="0"}=t,{showoverallrank:o="true"}=t,{userrank:s="0"}=t,{prize:a="PrizeName"}=t,{displayin:m="row"}=t,{clientstyling:d=""}=t,{clientstylingurl:g=""}=t,$,f,w=!1,_=!0,C,R,P,k,E="";const L=u=>{u.data&&u.data.type==`TournamentRankInfo_${r}`&&(b(u.data.rankInfo),v())},b=u=>{let q=U=>{n(9,s=U.rank),n(8,c=U.overallRank),n(0,a=U.prize)};if(!k){k=f,q(u);return}f&&(n(5,w=k!=u.rank),n(6,_=k>u.rank),C=new Date().getTime(),P=setTimeout(()=>{R=new Date().getTime(),(R-C)/1e3>4&&n(5,w=!1),k=f},5e3),q(u))},x=()=>{let u=document.createElement("style");u.innerHTML=d,$.appendChild(u)},p=()=>{let u=new URL(g),q=document.createElement("style");fetch(u.href).then(U=>U.text()).then(U=>{q.innerHTML=U,setTimeout(()=>{$.appendChild(q)},1),setTimeout(()=>{},500)})},v=()=>{n(7,E=o=="true"?`${+s==0?"-":s||"-"}/${+c==0?"-":c}`:s)};Rt(()=>(f=s==null?void 0:parseInt(s),k=f,n(9,s=s==null?"-":s),window.addEventListener("message",L,!0),v(),()=>{window.removeEventListener("message",L),clearTimeout(P)}));function Ut(u){nt[u?"unshift":"push"](()=>{$=u,n(4,$)})}return e.$$set=u=>{"rankprefix"in u&&n(1,i=u.rankprefix),"showicon"in u&&n(2,l=u.showicon),"tournamentid"in u&&n(10,r=u.tournamentid),"overallrank"in u&&n(8,c=u.overallrank),"showoverallrank"in u&&n(11,o=u.showoverallrank),"userrank"in u&&n(9,s=u.userrank),"prize"in u&&n(0,a=u.prize),"displayin"in u&&n(3,m=u.displayin),"clientstyling"in u&&n(12,d=u.clientstyling),"clientstylingurl"in u&&n(13,g=u.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&4112&&$&&d&&x(),e.$$.dirty&8208&&$&&g&&p(),e.$$.dirty&512&&(f=parseInt(s)),e.$$.dirty&512&&s&&v(),e.$$.dirty&256&&c&&v()},[a,i,l,m,$,w,_,E,c,s,r,o,d,g,Ut]}class Mt extends Tt{constructor(t){super(),zt(this,t,Ce,ve,bt,{rankprefix:1,showicon:2,tournamentid:10,overallrank:8,showoverallrank:11,userrank:9,prize:0,displayin:3,clientstyling:12,clientstylingurl:13},xe)}get rankprefix(){return this.$$.ctx[1]}set rankprefix(t){this.$$set({rankprefix:t}),S()}get showicon(){return this.$$.ctx[2]}set showicon(t){this.$$set({showicon:t}),S()}get tournamentid(){return this.$$.ctx[10]}set tournamentid(t){this.$$set({tournamentid:t}),S()}get overallrank(){return this.$$.ctx[8]}set overallrank(t){this.$$set({overallrank:t}),S()}get showoverallrank(){return this.$$.ctx[11]}set showoverallrank(t){this.$$set({showoverallrank:t}),S()}get userrank(){return this.$$.ctx[9]}set userrank(t){this.$$set({userrank:t}),S()}get prize(){return this.$$.ctx[0]}set prize(t){this.$$set({prize:t}),S()}get displayin(){return this.$$.ctx[3]}set displayin(t){this.$$set({displayin:t}),S()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),S()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),S()}}Lt(Mt,{rankprefix:{},showicon:{},tournamentid:{},overallrank:{},showoverallrank:{},userrank:{},prize:{},displayin:{},clientstyling:{},clientstylingurl:{}},[],[],!0);const Se=Object.freeze(Object.defineProperty({__proto__:null,default:Mt},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsRank_ce=Se;exports.SvelteComponent=Tt;exports.add_render_callback=G;exports.append=y;exports.append_styles=St;exports.attr=h;exports.binding_callbacks=nt;exports.check_outros=he;exports.component_subscribe=Bt;exports.create_bidirectional_transition=_e;exports.create_custom_element=Lt;exports.destroy_each=Vt;exports.detach=O;exports.element=A;exports.ensure_array_like=me;exports.flush=S;exports.group_outros=fe;exports.identity=yt;exports.init=zt;exports.insert=K;exports.is_function=it;exports.listen=Gt;exports.noop=M;exports.onMount=Rt;exports.run_all=I;exports.safe_not_equal=bt;exports.set_custom_element_data=Kt;exports.set_data=W;exports.set_style=Xt;exports.space=H;exports.subscribe=xt;exports.svg_element=Zt;exports.text=J;exports.transition_in=Et;exports.transition_out=de;exports.xlink_attr=Qt;
|
|
@@ -65,7 +65,8 @@ function St(t, e, n) {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
function lt(t) {
|
|
68
|
-
if (!t)
|
|
68
|
+
if (!t)
|
|
69
|
+
return document;
|
|
69
70
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
70
71
|
return e && /** @type {ShadowRoot} */
|
|
71
72
|
e.host ? (
|
|
@@ -145,7 +146,8 @@ const Q = /* @__PURE__ */ new Map();
|
|
|
145
146
|
let W = 0;
|
|
146
147
|
function Lt(t) {
|
|
147
148
|
let e = 5381, n = t.length;
|
|
148
|
-
for (; n--; )
|
|
149
|
+
for (; n--; )
|
|
150
|
+
e = (e << 5) - e ^ t.charCodeAt(n);
|
|
149
151
|
return e >>> 0;
|
|
150
152
|
}
|
|
151
153
|
function Tt(t, e) {
|
|
@@ -187,7 +189,8 @@ function F(t) {
|
|
|
187
189
|
J = t;
|
|
188
190
|
}
|
|
189
191
|
function Ut() {
|
|
190
|
-
if (!J)
|
|
192
|
+
if (!J)
|
|
193
|
+
throw new Error("Function called outside component initialization");
|
|
191
194
|
return J;
|
|
192
195
|
}
|
|
193
196
|
function jt(t) {
|
|
@@ -218,7 +221,8 @@ function E() {
|
|
|
218
221
|
} catch (e) {
|
|
219
222
|
throw U.length = 0, I = 0, e;
|
|
220
223
|
}
|
|
221
|
-
for (F(null), U.length = 0, I = 0; it.length; )
|
|
224
|
+
for (F(null), U.length = 0, I = 0; it.length; )
|
|
225
|
+
it.pop()();
|
|
222
226
|
for (let e = 0; e < O.length; e += 1) {
|
|
223
227
|
const n = O[e];
|
|
224
228
|
et.has(n) || (et.add(n), n());
|
|
@@ -267,11 +271,13 @@ function qt(t, e) {
|
|
|
267
271
|
}
|
|
268
272
|
function he(t, e, n, i) {
|
|
269
273
|
if (t && t.o) {
|
|
270
|
-
if (G.has(t))
|
|
274
|
+
if (G.has(t))
|
|
275
|
+
return;
|
|
271
276
|
G.add(t), L.c.push(() => {
|
|
272
277
|
G.delete(t), i && (n && t.d(1), i());
|
|
273
278
|
}), t.o(e);
|
|
274
|
-
} else
|
|
279
|
+
} else
|
|
280
|
+
i && i();
|
|
275
281
|
}
|
|
276
282
|
const Ft = { duration: 0 };
|
|
277
283
|
function de(t, e, n, i) {
|