@everymatrix/casino-tournaments-rank 1.87.26 → 1.87.27
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-BevSzb5U.cjs +1 -0
- package/components/{CasinoTournamentsRank-r6VE5uW0.js → CasinoTournamentsRank-CYLArurG.js} +319 -290
- package/components/{CasinoTournamentsRank-BAY7wV5b.js → CasinoTournamentsRank-jmqbnkHJ.js} +234 -206
- package/es2015/casino-tournaments-rank.cjs +1 -1
- package/es2015/casino-tournaments-rank.js +1 -1
- package/esnext/casino-tournaments-rank.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsRank-BjifUkH2.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsRank-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsRank-BevSzb5U.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsRank-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsRank-CYLArurG.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var dt=Object.defineProperty,gt=Object.defineProperties;var $t=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var mt=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable;var Z=(e,t,n)=>t in e?dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,et=(e,t)=>{for(var n in t||(t={}))mt.call(t,n)&&Z(e,n,t[n]);if(tt)for(var n of tt(t))wt.call(t,n)&&Z(e,n,t[n]);return e},nt=(e,t)=>gt(e,$t(t));var x=(e,t,n)=>(Z(e,typeof t!="symbol"?t+"":t,n),n);var it=(e,t,n)=>new Promise((i,r)=>{var c=s=>{try{f(n.next(s))}catch(l){r(l)}},o=s=>{try{f(n.throw(s))}catch(l){r(l)}},f=s=>s.done?i(s.value):Promise.resolve(s.value).then(c,o);f((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function j(){}function at(e){return e()}function rt(){return Object.create(null)}function J(e){e.forEach(at)}function ut(e){return typeof e=="function"}function _t(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let B;function st(e,t){return e===t?!0:(B||(B=document.createElement("a")),B.href=t,e===B.href)}function pt(e){return Object.keys(e).length===0}function w(e,t){e.appendChild(t)}function kt(e,t,n){const i=yt(e);if(!i.getElementById(t)){const r=S("style");r.id=t,r.textContent=n,bt(i,r)}}function yt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function bt(e,t){return w(e.head||e,t),t.sheet}function V(e,t,n){e.insertBefore(t,n||null)}function D(e){e.parentNode&&e.parentNode.removeChild(e)}function S(e){return document.createElement(e)}function q(e){return document.createTextNode(e)}function I(){return q(" ")}function u(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function xt(e){return Array.from(e.childNodes)}function G(e,t){t=""+t,e.data!==t&&(e.data=t)}function vt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let O;function H(e){O=e}function St(){if(!O)throw new Error("Function called outside component initialization");return O}function At(e){St().$$.on_mount.push(e)}const T=[],Q=[];let U=[];const ct=[],Ct=Promise.resolve();let W=!1;function Rt(){W||(W=!0,Ct.then(y))}function X(e){U.push(e)}const K=new Set;let M=0;function y(){if(M!==0)return;const e=O;do{try{for(;M<T.length;){const t=T[M];M++,H(t),zt(t.$$)}}catch(t){throw T.length=0,M=0,t}for(H(null),T.length=0,M=0;Q.length;)Q.pop()();for(let t=0;t<U.length;t+=1){const n=U[t];K.has(n)||(K.add(n),n())}U.length=0}while(T.length);for(;ct.length;)ct.pop()();W=!1,K.clear(),H(e)}function zt(e){if(e.fragment!==null){e.update(),J(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(X)}}function Et(e){const t=[],n=[];U.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),U=t}const Lt=new Set;function Pt(e,t){e&&e.i&&(Lt.delete(e),e.i(t))}function Mt(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),X(()=>{const c=e.$$.on_mount.map(at).filter(ut);e.$$.on_destroy?e.$$.on_destroy.push(...c):J(c),e.$$.on_mount=[]}),r.forEach(X)}function Tt(e,t){const n=e.$$;n.fragment!==null&&(Et(n.after_update),J(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ut(e,t){e.$$.dirty[0]===-1&&(T.push(e),Rt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function It(e,t,n,i,r,c,o=null,f=[-1]){const s=O;H(e);const l=e.$$={fragment:null,ctx:[],props:c,update:j,not_equal:r,bound:rt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(s?s.$$.context:[])),callbacks:rt(),dirty:f,skip_bound:!1,root:t.target||s.$$.root};o&&o(l.root);let _=!1;if(l.ctx=n?n(e,t.props||{},(p,d,...A)=>{const g=A.length?A[0]:d;return l.ctx&&r(l.ctx[p],l.ctx[p]=g)&&(!l.skip_bound&&l.bound[p]&&l.bound[p](g),_&&Ut(e,p)),d}):[],l.update(),_=!0,J(l.before_update),l.fragment=i?i(l.ctx):!1,t.target){if(t.hydrate){const p=xt(t.target);l.fragment&&l.fragment.l(p),p.forEach(D)}else l.fragment&&l.fragment.c();t.intro&&Pt(e.$$.fragment),Mt(e,t.target,t.anchor),y()}H(s)}let ft;typeof HTMLElement=="function"&&(ft=class extends HTMLElement{constructor(t,n,i){super();x(this,"$$ctor");x(this,"$$s");x(this,"$$c");x(this,"$$cn",!1);x(this,"$$d",{});x(this,"$$r",!1);x(this,"$$p_d",{});x(this,"$$l",{});x(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 r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return it(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(c){return()=>{let o;return{c:function(){o=S("slot"),c!=="default"&&u(o,"name",c)},m:function(l,_){V(l,o,_)},d:function(l){l&&D(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=vt(this);for(const c of this.$$s)c in i&&(n[c]=[t(c)]);for(const c of this.attributes){const o=this.$$g_p(c.name);o in this.$$d||(this.$$d[o]=F(o,c.value,this.$$p_d,"toProp"))}for(const c in this.$$p_d)!(c in this.$$d)&&this[c]!==void 0&&(this.$$d[c]=this[c],delete this[c]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:nt(et({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const c in this.$$p_d)if(this.$$d[c]=this.$$c.$$.ctx[this.$$c.$$.props[c]],this.$$p_d[c].reflect){const o=F(c,this.$$d[c],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[c].attribute||c):this.setAttribute(this.$$p_d[c].attribute||c,o)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const c in this.$$l)for(const o of this.$$l[c]){const f=this.$$c.$on(c,o);this.$$l_u.set(o,f)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=F(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$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 F(e,t,n,i){var c;const r=(c=n[e])==null?void 0:c.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){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(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ht(e,t,n,i,r,c){let o=class extends ft{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(f=>(t[f].attribute||f).toLowerCase())}};return Object.keys(t).forEach(f=>{Object.defineProperty(o.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(s){var l;s=F(f,s,t),this.$$d[f]=s,(l=this.$$c)==null||l.$set({[f]:s})}})}),i.forEach(f=>{Object.defineProperty(o.prototype,f,{get(){var s;return(s=this.$$c)==null?void 0:s[f]}})}),e.element=o,o}class jt{constructor(){x(this,"$$");x(this,"$$set")}$destroy(){Tt(this,1),this.$destroy=j}$on(t,n){if(!ut(n))return j;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!pt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ot="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ot);function Dt(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Nt(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(i=>i.text()).then(i=>{const r=document.createElement("style");r.innerHTML=i,e&&e.appendChild(r)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Bt(e,t,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,r=>{i.innerHTML=r,e&&e.appendChild(i)})}}const qt="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",Ft="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 Jt(e){kt(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 ot(e){let t;return{c(){t=S("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>',u(t,"class","Icon UserIcon"),u(t,"part","Icon UserIcon")},m(n,i){V(n,t,i)},d(n){n&&D(t)}}}function lt(e){let t;return{c(){t=S("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>',u(t,"class","Icon PrizeIcon"),u(t,"part","Icon PrizeIcon")},m(n,i){V(n,t,i)},d(n){n&&D(t)}}}function Vt(e){let t,n,i,r,c,o,f,s,l,_,p,d,A,g,C,k,L,R,P,z,v,E,$=e[2]=="true"&&ot(),m=e[2]=="true"&<();return{c(){t=S("div"),n=S("div"),$&&$.c(),i=I(),r=S("span"),c=q(e[1]),o=q(e[7]),f=I(),s=S("img"),p=I(),d=S("img"),C=I(),k=S("div"),m&&m.c(),L=I(),R=S("span"),P=q(e[0]),u(s,"part","Rank_Arror_UP"),u(s,"alt","Rank Up"),st(s.src,l=qt)||u(s,"src",l),u(s,"width","20"),u(s,"height","20"),u(s,"class",_="svg Arrow Up "+(e[5]&&e[6]?"Show":"Hidden")),u(d,"part","Rank_Arror_Down"),u(d,"alt","Rank Down"),st(d.src,A=Ft)||u(d,"src",A),u(d,"width","10"),u(d,"height","10"),u(d,"class",g="svg Arrow Down "+(e[5]&&!e[6]?"Show":"Hidden")),u(r,"class","RankInfo"),u(r,"part","RankText"),u(n,"class","RankSec"),u(n,"part","Rank"),u(R,"class","RankInfo UserPrize"),u(R,"part","PrizeText"),u(k,"class",z=e[3]+" PrizeSec"),u(k,"part","Prize"),u(t,"class",v=e[3]+" casino-tournaments-rank"),u(t,"part",E=e[3]+" casino-tournaments-rank")},m(h,b){V(h,t,b),w(t,n),$&&$.m(n,null),w(n,i),w(n,r),w(r,c),w(r,o),w(r,f),w(r,s),w(r,p),w(r,d),w(t,C),w(t,k),m&&m.m(k,null),w(k,L),w(k,R),w(R,P),e[15](t)},p(h,[b]){h[2]=="true"?$||($=ot(),$.c(),$.m(n,i)):$&&($.d(1),$=null),b&2&&G(c,h[1]),b&128&&G(o,h[7]),b&96&&_!==(_="svg Arrow Up "+(h[5]&&h[6]?"Show":"Hidden"))&&u(s,"class",_),b&96&&g!==(g="svg Arrow Down "+(h[5]&&!h[6]?"Show":"Hidden"))&&u(d,"class",g),h[2]=="true"?m||(m=lt(),m.c(),m.m(k,L)):m&&(m.d(1),m=null),b&1&&G(P,h[0]),b&8&&z!==(z=h[3]+" PrizeSec")&&u(k,"class",z),b&8&&v!==(v=h[3]+" casino-tournaments-rank")&&u(t,"class",v),b&8&&E!==(E=h[3]+" casino-tournaments-rank")&&u(t,"part",E)},i:j,o:j,d(h){h&&D(t),$&&$.d(),m&&m.d(),e[15](null)}}}function Zt(e,t,n){let{rankprefix:i="#"}=t,{showicon:r="true"}=t,{tournamentid:c=""}=t,{overallrank:o="0"}=t,{showoverallrank:f="true"}=t,{userrank:s="0"}=t,{prize:l="PrizeName"}=t,{mbsource:_}=t,{displayin:p="row"}=t,{clientstyling:d=""}=t,{clientstylingurl:A=""}=t,g,C,k=!1,L=!0,R,P,z,v,E="";const $=a=>{a.data&&a.data.type==`TournamentRankInfo_${c}`&&(m(a.data.rankInfo),h())},m=a=>{let Y=N=>{n(9,s=N.rank),n(8,o=N.overallRank),n(0,l=N.prize)};if(!v){v=C,Y(a);return}C&&(n(5,k=v!=a.rank),n(6,L=v>a.rank),R=new Date().getTime(),z=setTimeout(()=>{P=new Date().getTime(),(P-R)/1e3>4&&n(5,k=!1),v=C},5e3),Y(a))},h=()=>{n(7,E=f=="true"?`${+s==0?"-":s||"-"}/${+o==0?"-":o}`:s)};At(()=>(C=s==null?void 0:parseInt(s),v=C,n(9,s=s==null?"-":s),window.addEventListener("message",$,!0),h(),()=>{window.removeEventListener("message",$),clearTimeout(z)}));function b(a){Q[a?"unshift":"push"](()=>{g=a,n(4,g)})}return e.$$set=a=>{"rankprefix"in a&&n(1,i=a.rankprefix),"showicon"in a&&n(2,r=a.showicon),"tournamentid"in a&&n(10,c=a.tournamentid),"overallrank"in a&&n(8,o=a.overallrank),"showoverallrank"in a&&n(11,f=a.showoverallrank),"userrank"in a&&n(9,s=a.userrank),"prize"in a&&n(0,l=a.prize),"mbsource"in a&&n(12,_=a.mbsource),"displayin"in a&&n(3,p=a.displayin),"clientstyling"in a&&n(13,d=a.clientstyling),"clientstylingurl"in a&&n(14,A=a.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&8208&&d&&g&&Dt(g,d),e.$$.dirty&16400&&A&&g&&Nt(g,A),e.$$.dirty&4112&&_&&g&&Bt(g,`${_}.Style`),e.$$.dirty&512&&(C=parseInt(s)),e.$$.dirty&512&&s&&h(),e.$$.dirty&256&&o&&h()},[l,i,r,p,g,k,L,E,o,s,c,f,_,d,A,b]}class ht extends jt{constructor(t){super(),It(this,t,Zt,Vt,_t,{rankprefix:1,showicon:2,tournamentid:10,overallrank:8,showoverallrank:11,userrank:9,prize:0,mbsource:12,displayin:3,clientstyling:13,clientstylingurl:14},Jt)}get rankprefix(){return this.$$.ctx[1]}set rankprefix(t){this.$$set({rankprefix:t}),y()}get showicon(){return this.$$.ctx[2]}set showicon(t){this.$$set({showicon:t}),y()}get tournamentid(){return this.$$.ctx[10]}set tournamentid(t){this.$$set({tournamentid:t}),y()}get overallrank(){return this.$$.ctx[8]}set overallrank(t){this.$$set({overallrank:t}),y()}get showoverallrank(){return this.$$.ctx[11]}set showoverallrank(t){this.$$set({showoverallrank:t}),y()}get userrank(){return this.$$.ctx[9]}set userrank(t){this.$$set({userrank:t}),y()}get prize(){return this.$$.ctx[0]}set prize(t){this.$$set({prize:t}),y()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),y()}get displayin(){return this.$$.ctx[3]}set displayin(t){this.$$set({displayin:t}),y()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),y()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),y()}}Ht(ht,{rankprefix:{},showicon:{},tournamentid:{},overallrank:{},showoverallrank:{},userrank:{},prize:{},mbsource:{},displayin:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=ht;
|