@everymatrix/casino-tournament-leaderboard 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.
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-07b491ff.js";export{s as setNonce}from"./p-07b491ff.js";import{g as a}from"./p-e1255160.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t([["p-ca85613b",[[1,"casino-tournament-leaderboard",{endpoint:[1],tournamentId:[1,"tournament-id"],session:[1],userId:[1,"user-id"],language:[1],tableLimit:[2,"table-limit"],mobileLimit:[2,"mobile-limit"],tableColumns:[1,"table-columns"],updateLeaderboard:[4,"update-leaderboard"],userSticky:[4,"user-sticky"],userOnly:[4,"user-only"],showUnqualified:[4,"show-unqualified"],namemask:[1],minscore:[1],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],showHeader:[4,"show-header"],showTitle:[4,"show-title"],showTopIcon:[4,"show-top-icon"],translationData:[520,"translation-data"],limitStylingAppends:[32],items:[32],columns:[32],rankChanged:[32],rankUp:[32],rankDown:[32],rank:[32],arrowDuration:[32]}]]]],e))));
1
+ import{p as a,b as e}from"./p-0577da7c.js";export{s as setNonce}from"./p-0577da7c.js";import{g as t}from"./p-e1255160.js";(()=>{const e=import.meta.url,t={};return""!==e&&(t.resourcesUrl=new URL(".",e).href),a(t)})().then((async a=>(await t(),e([["p-5aabe84c",[[1,"casino-tournament-leaderboard",{endpoint:[1],tournamentId:[1,"tournament-id"],session:[1],userId:[1,"user-id"],language:[1],tableLimit:[2,"table-limit"],mobileLimit:[2,"mobile-limit"],tableColumns:[1,"table-columns"],updateLeaderboard:[4,"update-leaderboard"],userSticky:[4,"user-sticky"],userOnly:[4,"user-only"],showUnqualified:[4,"show-unqualified"],namemask:[1],minscore:[1],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],showHeader:[4,"show-header"],showTitle:[4,"show-title"],showTopIcon:[4,"show-top-icon"],translationData:[520,"translation-data"],limitStylingAppends:[32],items:[32],columns:[32],rankChanged:[32],rankUp:[32],rankDown:[32],rank:[32],arrowDuration:[32]}]]]],a))));
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,i="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u=c.document||{head:{}},a={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,p=[],d=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&a.l?v($):a.raf($))},y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},$=()=>{y(p),y(d),(m=p.length>0)&&a.raf($)},v=e=>f().then(e),b=w(d,!0),g={},S=e=>"object"==(e=typeof e)||"function"===e;function j(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>x,unwrapErr:()=>P});var O=e=>({isOk:!0,isErr:!1,value:e}),k=e=>({isOk:!1,isErr:!0,value:e});function E(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return k(e.value);throw"should never get here"}var M,C,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},R=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!S(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?T(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=T(e,null);return u.u=t,i.length>0&&(u.h=i),u.m=o,u},T=(e,t)=>({l:0,p:e,i:t,$:null,h:null,u:null,m:null}),A={},F=e=>n(e).$hostElement$,L=new WeakMap,N=e=>"sc-"+e.v,U=(e,t,n,l,o,s)=>{if(n!==l){let r=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,o=D(n),s=D(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else{const i=S(l);if((r||i&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||o)&&!i&&e.setAttribute(t,l=!0===l?"":l)}}},W=/\s/,D=e=>e?e.split(W):[],H=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||g,s=t.u||g;for(const e of q(Object.keys(o)))e in s||U(l,e,o[e],void 0,n,t.l);for(const e of q(Object.keys(s)))U(l,e,o[e],s[e],n,t.l)};function q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var G=!1,V=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.$=u.createTextNode(l.i);else{if(G||(G="svg"===l.p),o=l.$=u.createElementNS(G?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.p),G&&"foreignObject"===l.p&&(G=!1),H(null,l,G),null!=M&&o["s-si"]!==M&&o.classList.add(o["s-si"]=M),l.h)for(r=0;r<l.h.length;++r)s=V(e,l,r),s&&o.appendChild(s);"svg"===l.p?G=!1:"foreignObject"===o.tagName&&(G=!0)}return o["s-hn"]=C,o},_=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=V(null,n,o),r&&(l[o].$=r,J(i,r,t)))},z=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;e&&e.remove()}}},B=(e,t,n=!1)=>e.p===t.p&&(!!n||e.m===t.m),I=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,r=t.p,i=t.i;null===i?(H(e,t,G="svg"===r||"foreignObject"!==r&&G),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],m=t[f],p=l.length-1,d=l[0],w=l[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==m)m=t[--f];else if(null==d)d=l[++c];else if(null==w)w=l[--p];else if(B(h,d,o))I(h,d,o),h=t[++i],d=l[++c];else if(B(m,w,o))I(m,w,o),m=t[--f],w=l[--p];else if(B(h,w,o))I(h,w,o),J(e,h.$,m.$.nextSibling),h=t[++i],w=l[--p];else if(B(m,d,o))I(m,d,o),J(e,m.$,h.$),m=t[--f],d=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].m&&t[a].m===d.m){u=a;break}u>=0?(r=t[u],r.p!==d.p?s=V(t&&t[c],n,u):(I(r,d,o),t[u]=void 0,s=r.$),d=l[++c]):(s=V(t&&t[c],n,c),d=l[++c]),s&&J(h.$.parentNode,s,h.$)}i>f?_(e,null==l[p+1]?null:l[p+1].$,n,l,c,p):c>p&&z(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),_(l,null,t,s,0,s.length-1)):null!==o&&z(o,0,o.length-1),G&&"svg"===r&&(G=!1)):e.i!==i&&(l.data=i)},J=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),K=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Q=(e,t)=>{if(e.l|=16,!(4&e.l))return K(e,e.j),b((()=>X(e,t)));e.l|=512},X=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(l=oe(n,"componentWillLoad")),Y(l,(()=>ee(e,n,t)))},Y=(e,t)=>Z(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Z=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ee=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=N(t),o=r.get(l);if(e=11===e.nodeType?e:u,o)if("string"==typeof o){let s,r=L.get(e=e.head||e);if(r||L.set(e,r=new Set),!r.has(l)){{s=u.createElement("style"),s.innerHTML=o;const t=null!=(n=a.k)?n:j(u);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=i),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);te(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},te=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O,s=e.M||T(null,null),r=(e=>e&&e.p===A)(t)?t:R(null,null,t);if(C=l.tagName,o.C&&(r.u=r.u||{},o.C.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.p=null,r.l|=4,e.M=r,r.$=s.$=l.shadowRoot||l,M=l["s-sc"],I(s,r,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},ne=e=>{const t=e.$hostElement$,n=e.j;oe(e.t,"componentDidRender"),64&e.l||(e.l|=64,se(t),e.P(t),n||le()),e.S&&(e.S(),e.S=void 0),512&e.l&&v((()=>Q(e,!1))),e.l&=-517},le=()=>{se(u.documentElement),v((()=>(e=>{const t=a.ce("appload",{detail:{namespace:"casino-tournament-leaderboard"}});return e.dispatchEvent(t),t})(c)))},oe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){o(e)}},se=e=>e.classList.add("hydrated"),re=(e,t,l)=>{var o,s;const r=e.prototype;if(t.R){const i=Object.entries(null!=(o=t.R)?o:{});if(i.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).T.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.T.get(t),i=s.l,c=s.t;l=((e,t)=>null==e||S(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.R[t][0]),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(s.T.set(t,l),c&&2==(18&i)&&Q(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){a.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.A)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.A)?s:{}),...i.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.C)||o.push([e,s])),s}))]))}}return e},ie=(e,l={})=>{var f;const m=[],p=l.exclude||[],d=c.customElements,w=u.head,y=w.querySelector("meta[charset]"),$=u.createElement("style"),v=[];let b,g=!0;Object.assign(a,l),a.o=new URL(l.resourcesUrl||"./",u.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{const i={l:l[0],v:l[1],R:l[2],F:l[3]};4&i.l&&(S=!0),i.R=l[2],i.C=[];const c=i.v,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,T:new Map};l.L=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,i),1&i.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?v.push(this):a.jmp((()=>(e=>{if(!(1&a.l)){const t=n(e),l=t.O,i=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.L)&&t.L.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){K(t,t.j=n);break}}l.R&&Object.entries(l.R).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.N){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.N;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.U}" was not found`);l.isProxied||(re(l,n,2),l.isProxied=!0);const r=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,r()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=N(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);h&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const i=t.j,c=()=>Q(t,!0);i&&i["s-rc"]?i["s-rc"].push(c):c()})(e,t,l)}i()}})(this)))}disconnectedCallback(){a.jmp((()=>(async()=>{if(!(1&a.l)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.L)&&e.L.then((()=>{}))}})()))}componentOnReady(){return n(this).L}};i.N=e[0],p.includes(c)||d.get(c)||(m.push(c),d.define(c,re(u,i,1)))}))})),m.length>0&&(S&&($.textContent+=i),$.textContent+=m.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(f=a.k)?f:j(u);null!=e&&$.setAttribute("nonce",e),w.insertBefore($,y?y.nextSibling:w.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):a.jmp((()=>b=setTimeout(le,30)))},ce=e=>a.k=e;export{ie as b,F as g,R as h,f as p,l as r,ce as s}
@@ -1,4 +1,4 @@
1
- import{r as i,h as t,g as e}from"./p-07b491ff.js";const n={en:{leaderboard:"Leaderboard",score:"Score",betcounts:"Bet Count",winstakeratio:"WinstakeRatio",qualified:"Qualified",nowinners:"No winners for the time being. Be one of them!",rank:"Rank",player:"Player",points:"Points",prize:"Prize",unqualifiedTips:"The minimum number of bets has not been reached. Check tournament rules.",me:"Me",myRanking:"My Ranking"},"zh-hk":{leaderboard:"排行榜",score:"分數",betcounts:"投注次數",winstakeratio:"勝率",qualified:"合格的",nowinners:"暫時沒有贏家。 成為他們中的一員!",rank:"秩",player:"播放器",points:"積分",prize:"獎",unqualifiedTips:"未达到最低投注数。检查比赛规则。",me:"我"},fr:{leaderboard:"Tableau des leaders",score:"Score",betcounts:"Le pari compte",winstakeratio:"Indice du gain d'une mise",qualified:"Qualifié",nowinners:"Aucun gagnant pour l'instant, soyez l'un d'entre eux",rank:"Rang",player:"Joueur",points:"Points",prize:"Prix",unqualifiedTips:"Le nombre de mises minimum n'est pas terminé. Vérifiez les règles.",me:"Me"},ro:{leaderboard:"Clasament",score:"Scor",betcounts:"Număr Pariuri",winstakeratio:"Raport de câștig",qualified:"Calificat",nowinners:"Nu există câștigători pentru moment. Fii unul dintre ei!",rank:"Clasament",player:"Jucător",points:"Puncte",prize:"Premiu",unqualifiedTips:"Numărul minim de pariuri nu a fost atins. Verificați regulile.",me:"Eu"},hu:{leaderboard:"Ranglista",score:"Pontszám",betcounts:"Bet Counts",winstakeratio:"Fogadás számít",qualified:"Képzett",nowinners:"Egyelőre nincs nyertes. Legyen az egyikük!",rank:"Rang",player:"Játékos",points:"Pontok",prize:"Díj",unqualifiedTips:"A minimális fogadási értéket nem érte el. Kérjük ellenőrizze a szabályokat.",me:"Én"},tr:{leaderboard:"Liderlik Tablosu",score:"Skor",betcounts:"Bahis Sayısı",winstakeratio:"Maksimum Kazanç / Bahis Oranı",qualified:"Tur atlamış",nowinners:"Kazanan yok. Kazananlardan birisi ol!",rank:"Sıra",player:"Oyuncu",points:"Puan",prize:"Ödül",unqualifiedTips:"Minimum bahis sayısına ulaşılmadı. Turnuva kurallarını kontrol ediniz.",me:"Ben"},el:{leaderboard:"Βαθμολογία",score:"Σκορ",betcounts:"Αριθμός Πονταρισμάτων",winstakeratio:"Μέγιστος λόγος πονταρίσματος κερδών",qualified:"Προκρίθηκε",nowinners:"Δεν υπάρχουν νικητές ακόμα.",rank:"Κατάταξη",player:"Όνομα",points:"Πόντοι",prize:"Έπαθλο",unqualifiedTips:"Ο ελάχιστος αριθμός στοιχημάτων δεν έχει επιτευχθεί. Ελέγξτε τους κανόνες του τουρνουά.",me:"Εγώ"},es:{leaderboard:"Marcador",score:"Puntuación",betcounts:"Apuesta cuenta",winstakeratio:"RatioDeGanancia",qualified:"Calificado",nowinners:"No hay ganadores por el momento. ¡Sé uno de ellos!",rank:"Rango",player:"Jugador",points:"Puntos",prize:"Premio",unqualifiedTips:"No se ha completado el recuento mínimo de apuestas. Compruebe las reglas.",me:"Yo"},pt:{leaderboard:"Entre os melhores",score:"Pontuação",betcounts:"Contagens de Apostas",winstakeratio:"Rácio de Vitórias",qualified:"Qualificado",nowinners:"Sem vencedores por enquanto. Seja um deles!",rank:"Classificação",player:"Jogador",points:"Pontos",prize:"Prêmio",unqualifiedTips:"Contagem mínima de apostas não concluída. Confira Regras.",me:"Me"},hr:{leaderboard:"Leaderboard",score:"Rezultat",betcounts:"Broj betova",winstakeratio:"Omjer uloga i dobitaka",qualified:"Kvalificirani",nowinners:"Za sada nema pobjednika. Budi jedan od njih",rank:"Rang",player:"Igrač",points:"Bodovi",prize:"Nagrada",unqualifiedTips:"Minimalni broj uloga nije dosegnut. Provjerite pravila turnira",me:"Ja"}},r=(i,t)=>{var e,r;return(null===(e=n[t])||void 0===e?void 0:e[i])||(null===(r=n.en)||void 0===r?void 0:r[i])};var o,a,s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l={exports:{}};
1
+ import{r as i,h as t,g as e}from"./p-0577da7c.js";const n={en:{leaderboard:"Leaderboard",score:"Score",betcounts:"Bet Count",winstakeratio:"WinstakeRatio",qualified:"Qualified",nowinners:"No winners for the time being. Be one of them!",rank:"Rank",player:"Player",points:"Points",prize:"Prize",unqualifiedTips:"The minimum number of bets has not been reached. Check tournament rules.",me:"Me",myRanking:"My Ranking"},"zh-hk":{leaderboard:"排行榜",score:"分數",betcounts:"投注次數",winstakeratio:"勝率",qualified:"合格的",nowinners:"暫時沒有贏家。 成為他們中的一員!",rank:"秩",player:"播放器",points:"積分",prize:"獎",unqualifiedTips:"未达到最低投注数。检查比赛规则。",me:"我"},fr:{leaderboard:"Tableau des leaders",score:"Score",betcounts:"Le pari compte",winstakeratio:"Indice du gain d'une mise",qualified:"Qualifié",nowinners:"Aucun gagnant pour l'instant, soyez l'un d'entre eux",rank:"Rang",player:"Joueur",points:"Points",prize:"Prix",unqualifiedTips:"Le nombre de mises minimum n'est pas terminé. Vérifiez les règles.",me:"Me"},ro:{leaderboard:"Clasament",score:"Scor",betcounts:"Număr Pariuri",winstakeratio:"Raport de câștig",qualified:"Calificat",nowinners:"Nu există câștigători pentru moment. Fii unul dintre ei!",rank:"Clasament",player:"Jucător",points:"Puncte",prize:"Premiu",unqualifiedTips:"Numărul minim de pariuri nu a fost atins. Verificați regulile.",me:"Eu"},hu:{leaderboard:"Ranglista",score:"Pontszám",betcounts:"Bet Counts",winstakeratio:"Fogadás számít",qualified:"Képzett",nowinners:"Egyelőre nincs nyertes. Legyen az egyikük!",rank:"Rang",player:"Játékos",points:"Pontok",prize:"Díj",unqualifiedTips:"A minimális fogadási értéket nem érte el. Kérjük ellenőrizze a szabályokat.",me:"Én"},tr:{leaderboard:"Liderlik Tablosu",score:"Skor",betcounts:"Bahis Sayısı",winstakeratio:"Maksimum Kazanç / Bahis Oranı",qualified:"Tur atlamış",nowinners:"Kazanan yok. Kazananlardan birisi ol!",rank:"Sıra",player:"Oyuncu",points:"Puan",prize:"Ödül",unqualifiedTips:"Minimum bahis sayısına ulaşılmadı. Turnuva kurallarını kontrol ediniz.",me:"Ben"},el:{leaderboard:"Βαθμολογία",score:"Σκορ",betcounts:"Αριθμός Πονταρισμάτων",winstakeratio:"Μέγιστος λόγος πονταρίσματος κερδών",qualified:"Προκρίθηκε",nowinners:"Δεν υπάρχουν νικητές ακόμα.",rank:"Κατάταξη",player:"Όνομα",points:"Πόντοι",prize:"Έπαθλο",unqualifiedTips:"Ο ελάχιστος αριθμός στοιχημάτων δεν έχει επιτευχθεί. Ελέγξτε τους κανόνες του τουρνουά.",me:"Εγώ"},es:{leaderboard:"Marcador",score:"Puntuación",betcounts:"Apuesta cuenta",winstakeratio:"RatioDeGanancia",qualified:"Calificado",nowinners:"No hay ganadores por el momento. ¡Sé uno de ellos!",rank:"Rango",player:"Jugador",points:"Puntos",prize:"Premio",unqualifiedTips:"No se ha completado el recuento mínimo de apuestas. Compruebe las reglas.",me:"Yo"},pt:{leaderboard:"Entre os melhores",score:"Pontuação",betcounts:"Contagens de Apostas",winstakeratio:"Rácio de Vitórias",qualified:"Qualificado",nowinners:"Sem vencedores por enquanto. Seja um deles!",rank:"Classificação",player:"Jogador",points:"Pontos",prize:"Prêmio",unqualifiedTips:"Contagem mínima de apostas não concluída. Confira Regras.",me:"Me"},hr:{leaderboard:"Leaderboard",score:"Rezultat",betcounts:"Broj betova",winstakeratio:"Omjer uloga i dobitaka",qualified:"Kvalificirani",nowinners:"Za sada nema pobjednika. Budi jedan od njih",rank:"Rang",player:"Igrač",points:"Bodovi",prize:"Nagrada",unqualifiedTips:"Minimalni broj uloga nije dosegnut. Provjerite pravila turnira",me:"Ja"}},r=(i,t)=>{var e,r;return(null===(e=n[t])||void 0===e?void 0:e[i])||(null===(r=n.en)||void 0===r?void 0:r[i])};var o,a,s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l={exports:{}};
2
2
  /** @license
3
3
  * eventsource.js
4
4
  * Available under MIT License (MIT)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ee504961.js');
5
+ const index = require('./index-f9b49c7e.js');
6
6
 
7
7
  const DEFAULT_LANGUAGE = 'en';
8
8
  const TRANSLATIONS = {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ee504961.js');
5
+ const index = require('./index-f9b49c7e.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('casino-tournament-leaderboard.cjs.js', document.baseURI).href));
@@ -24,7 +24,7 @@ const NAMESPACE = 'casino-tournament-leaderboard';
24
24
  const BUILD = /* casino-tournament-leaderboard */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -352,31 +352,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
352
352
  if (nonce != null) {
353
353
  styleElm.setAttribute("nonce", nonce);
354
354
  }
355
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
356
- if (styleContainerNode.nodeName === "HEAD") {
357
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
358
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
359
- styleContainerNode.insertBefore(styleElm, referenceNode2);
360
- } else if ("host" in styleContainerNode) {
361
- if (supportsConstructableStylesheets) {
362
- const stylesheet = new CSSStyleSheet();
363
- stylesheet.replaceSync(style);
364
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
365
- } else {
366
- const existingStyleContainer = styleContainerNode.querySelector("style");
367
- if (existingStyleContainer) {
368
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
369
- } else {
370
- styleContainerNode.prepend(styleElm);
371
- }
372
- }
373
- } else {
374
- styleContainerNode.append(styleElm);
375
- }
376
- }
377
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
378
- styleContainerNode.insertBefore(styleElm, null);
379
- }
355
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
380
356
  }
381
357
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
382
358
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -399,7 +375,7 @@ var attachStyles = (hostRef) => {
399
375
  const scopeId2 = addStyle(
400
376
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
401
377
  cmpMeta);
402
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
378
+ if (flags & 10 /* needsScopedEncapsulation */) {
403
379
  elm["s-sc"] = scopeId2;
404
380
  elm.classList.add(scopeId2 + "-h");
405
381
  }
@@ -425,11 +401,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
425
401
  if (memberName === "list") {
426
402
  isProp = false;
427
403
  } else if (oldValue == null || elm[memberName] != n) {
428
- if (typeof elm.__lookupSetter__(memberName) === "function") {
429
- elm[memberName] = n;
430
- } else {
431
- elm.setAttribute(memberName, n);
432
- }
404
+ elm[memberName] = n;
433
405
  }
434
406
  } else {
435
407
  elm[memberName] = newValue;
@@ -507,9 +479,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
507
479
  {
508
480
  updateElement(null, newVNode2, isSvgMode);
509
481
  }
510
- const rootNode = elm.getRootNode();
511
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
512
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
482
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
513
483
  elm.classList.add(elm["s-si"] = scopeId);
514
484
  }
515
485
  if (newVNode2.$children$) {
@@ -673,10 +643,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
673
643
  elm.textContent = "";
674
644
  }
675
645
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
676
- } else if (
677
- // don't do this on initial render as it can cause non-hydrated content to be removed
678
- !isInitialRender && BUILD.updatable && oldChildren !== null
679
- ) {
646
+ } else if (oldChildren !== null) {
680
647
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
681
648
  }
682
649
  if (isSvgMode && tag === "svg") {
@@ -922,8 +889,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
922
889
  if (this.hasOwnProperty(propName)) {
923
890
  newValue = this[propName];
924
891
  delete this[propName];
925
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
926
- this[propName] == newValue) {
892
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
927
893
  return;
928
894
  } else if (propName == null) {
929
895
  const hostRef = getHostRef(this);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ee504961.js');
5
+ const index = require('./index-f9b49c7e.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.22.3",
8
- "typescriptVersion": "5.5.4"
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-ad3b42a7.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-77bda288.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const TRANSLATIONS = {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-ad3b42a7.js';
2
- export { s as setNonce } from './index-ad3b42a7.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-77bda288.js';
2
+ export { s as setNonce } from './index-77bda288.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -2,7 +2,7 @@ const NAMESPACE = 'casino-tournament-leaderboard';
2
2
  const BUILD = /* casino-tournament-leaderboard */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -330,31 +330,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
330
330
  if (nonce != null) {
331
331
  styleElm.setAttribute("nonce", nonce);
332
332
  }
333
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
334
- if (styleContainerNode.nodeName === "HEAD") {
335
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
336
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
337
- styleContainerNode.insertBefore(styleElm, referenceNode2);
338
- } else if ("host" in styleContainerNode) {
339
- if (supportsConstructableStylesheets) {
340
- const stylesheet = new CSSStyleSheet();
341
- stylesheet.replaceSync(style);
342
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
343
- } else {
344
- const existingStyleContainer = styleContainerNode.querySelector("style");
345
- if (existingStyleContainer) {
346
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
347
- } else {
348
- styleContainerNode.prepend(styleElm);
349
- }
350
- }
351
- } else {
352
- styleContainerNode.append(styleElm);
353
- }
354
- }
355
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
356
- styleContainerNode.insertBefore(styleElm, null);
357
- }
333
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
358
334
  }
359
335
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
360
336
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -377,7 +353,7 @@ var attachStyles = (hostRef) => {
377
353
  const scopeId2 = addStyle(
378
354
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
379
355
  cmpMeta);
380
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
356
+ if (flags & 10 /* needsScopedEncapsulation */) {
381
357
  elm["s-sc"] = scopeId2;
382
358
  elm.classList.add(scopeId2 + "-h");
383
359
  }
@@ -403,11 +379,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
403
379
  if (memberName === "list") {
404
380
  isProp = false;
405
381
  } else if (oldValue == null || elm[memberName] != n) {
406
- if (typeof elm.__lookupSetter__(memberName) === "function") {
407
- elm[memberName] = n;
408
- } else {
409
- elm.setAttribute(memberName, n);
410
- }
382
+ elm[memberName] = n;
411
383
  }
412
384
  } else {
413
385
  elm[memberName] = newValue;
@@ -485,9 +457,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
485
457
  {
486
458
  updateElement(null, newVNode2, isSvgMode);
487
459
  }
488
- const rootNode = elm.getRootNode();
489
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
490
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
460
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
491
461
  elm.classList.add(elm["s-si"] = scopeId);
492
462
  }
493
463
  if (newVNode2.$children$) {
@@ -651,10 +621,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
651
621
  elm.textContent = "";
652
622
  }
653
623
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
654
- } else if (
655
- // don't do this on initial render as it can cause non-hydrated content to be removed
656
- !isInitialRender && BUILD.updatable && oldChildren !== null
657
- ) {
624
+ } else if (oldChildren !== null) {
658
625
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
659
626
  }
660
627
  if (isSvgMode && tag === "svg") {
@@ -900,8 +867,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
900
867
  if (this.hasOwnProperty(propName)) {
901
868
  newValue = this[propName];
902
869
  delete this[propName];
903
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
904
- this[propName] == newValue) {
870
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
905
871
  return;
906
872
  } else if (propName == null) {
907
873
  const hostRef = getHostRef(this);
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-ad3b42a7.js';
2
- export { s as setNonce } from './index-ad3b42a7.js';
1
+ import { b as bootstrapLazy } from './index-77bda288.js';
2
+ export { s as setNonce } from './index-77bda288.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1015,8 +1015,6 @@ export declare namespace JSXBase {
1015
1015
  autoPlay?: boolean;
1016
1016
  autoplay?: boolean | string;
1017
1017
  controls?: boolean;
1018
- controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1019
- controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1020
1018
  crossOrigin?: string;
1021
1019
  crossorigin?: string;
1022
1020
  loop?: boolean;
@@ -1566,10 +1564,6 @@ export declare namespace JSXBase {
1566
1564
  onSubmitCapture?: (event: Event) => void;
1567
1565
  onInvalid?: (event: Event) => void;
1568
1566
  onInvalidCapture?: (event: Event) => void;
1569
- onBeforeToggle?: (event: Event) => void;
1570
- onBeforeToggleCapture?: (event: Event) => void;
1571
- onToggle?: (event: Event) => void;
1572
- onToggleCapture?: (event: Event) => void;
1573
1567
  onLoad?: (event: Event) => void;
1574
1568
  onLoadCapture?: (event: Event) => void;
1575
1569
  onError?: (event: Event) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournament-leaderboard",
3
- "version": "1.55.0",
3
+ "version": "1.56.2",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1,2 +0,0 @@
1
- var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,i="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u=c.document||{head:{}},a={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,d=[],m=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&a.l?v($):a.raf($))},w=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},$=()=>{w(d),w(m),(p=d.length>0)&&a.raf($)},v=e=>f().then(e),b=y(m,!0),g={},S=e=>"object"==(e=typeof e)||"function"===e;function j(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=e=>({isOk:!0,isErr:!1,value:e}),k=e=>({isOk:!1,isErr:!0,value:e});function E(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return k(e.value);throw"should never get here"}var C,M=e=>{if(e.isOk)return e.value;throw e.value},x=e=>{if(e.isErr)return e.value;throw e.value},P=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!S(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?A(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=A(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},A=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),D={},H=e=>n(e).$hostElement$,R=new WeakMap,T=e=>"sc-"+e.v,F=(e,t,n,l,o,s)=>{if(n!==l){let r=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,o=N(n),s=N(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else{const i=S(l);if((r||i&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||o)&&!i&&e.setAttribute(t,l=!0===l?"":l)}}},L=/\s/,N=e=>e?e.split(L):[],U=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||g,s=t.u||g;for(const e of W(Object.keys(o)))e in s||F(l,e,o[e],void 0,n,t.l);for(const e of W(Object.keys(s)))F(l,e,o[e],s[e],n,t.l)};function W(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var q=!1,G=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.$=u.createTextNode(l.i);else{if(q||(q="svg"===l.m),o=l.$=u.createElementNS(q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.m),q&&"foreignObject"===l.m&&(q=!1),U(null,l,q),o.getRootNode().querySelector("body"),l.h)for(r=0;r<l.h.length;++r)s=G(e,l,r),s&&o.appendChild(s);"svg"===l.m?q=!1:"foreignObject"===o.tagName&&(q=!0)}return o["s-hn"]=C,o},V=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=G(null,n,o),r&&(l[o].$=r,I(i,r,t)))},_=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;e&&e.remove()}}},z=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),B=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,r=t.m,i=t.i;null===i?(U(e,t,q="svg"===r||"foreignObject"!==r&&q),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],d=l.length-1,m=l[0],y=l[d];for(;i<=f&&c<=d;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--d];else if(z(h,m,o))B(h,m,o),h=t[++i],m=l[++c];else if(z(p,y,o))B(p,y,o),p=t[--f],y=l[--d];else if(z(h,y,o))B(h,y,o),I(e,h.$,p.$.nextSibling),h=t[++i],y=l[--d];else if(z(p,m,o))B(p,m,o),I(e,p.$,h.$),p=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.m!==m.m?s=G(t&&t[c],n,u):(B(r,m,o),t[u]=void 0,s=r.$),m=l[++c]):(s=G(t&&t[c],n,c),m=l[++c]),s&&I(h.$.parentNode,s,h.$)}i>f?V(e,null==l[d+1]?null:l[d+1].$,n,l,c,d):c>d&&_(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):!n&&null!==o&&_(o,0,o.length-1),q&&"svg"===r&&(q=!1)):e.i!==i&&(l.data=i)},I=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),J=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},K=(e,t)=>{if(e.l|=16,!(4&e.l))return J(e,e.j),b((()=>Q(e,t)));e.l|=512},Q=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(l=le(n,"componentWillLoad")),X(l,(()=>Z(e,n,t)))},X=(e,t)=>Y(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Y=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Z=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=T(t),o=r.get(l);if(e=11===e.nodeType?e:u,o)if("string"==typeof o){let s,r=R.get(e=e.head||e);if(r||R.set(e,r=new Set),!r.has(l)){{s=u.createElement("style"),s.innerHTML=o;const l=null!=(n=a.k)?n:j(u);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(h){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=i),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);ee(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>te(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},ee=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O,s=e.C||A(null,null),r=(e=>e&&e.m===D)(t)?t:P(null,null,t);if(C=l.tagName,o.M&&(r.u=r.u||{},o.M.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.C=r,r.$=s.$=l.shadowRoot||l,B(s,r,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},te=e=>{const t=e.$hostElement$,n=e.j;le(e.t,"componentDidRender"),64&e.l||(e.l|=64,oe(t),e.P(t),n||ne()),e.S&&(e.S(),e.S=void 0),512&e.l&&v((()=>K(e,!1))),e.l&=-517},ne=()=>{oe(u.documentElement),v((()=>(e=>{const t=a.ce("appload",{detail:{namespace:"casino-tournament-leaderboard"}});return e.dispatchEvent(t),t})(c)))},le=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){o(e)}},oe=e=>e.classList.add("hydrated"),se=(e,t,l)=>{var o,s;const r=e.prototype;if(t.A){const i=Object.entries(null!=(o=t.A)?o:{});if(i.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).D.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.D.get(t),i=s.l,c=s.t;l=((e,t)=>null==e||S(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.A[t][0]),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(s.D.set(t,l),c&&2==(18&i)&&K(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){a.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.H)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.H)?s:{}),...i.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.M)||o.push([e,s])),s}))]))}}return e},re=(e,l={})=>{var f;const p=[],d=l.exclude||[],m=c.customElements,y=u.head,w=y.querySelector("meta[charset]"),$=u.createElement("style"),v=[];let b,g=!0;Object.assign(a,l),a.o=new URL(l.resourcesUrl||"./",u.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{const i={l:l[0],v:l[1],A:l[2],R:l[3]};4&i.l&&(S=!0),i.A=l[2],i.M=[];const c=i.v,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,D:new Map};l.T=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,i),1&i.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?v.push(this):a.jmp((()=>(e=>{if(!(1&a.l)){const t=n(e),l=t.O,i=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(t,t.j=n);break}}l.A&&Object.entries(l.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.F){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.F;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.L}" was not found`);l.isProxied||(se(l,n,2),l.isProxied=!0);const r=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,r()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=T(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);h&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const i=t.j,c=()=>K(t,!0);i&&i["s-rc"]?i["s-rc"].push(c):c()})(e,t,l)}i()}})(this)))}disconnectedCallback(){a.jmp((()=>(async()=>{if(!(1&a.l)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.T)&&e.T.then((()=>{}))}})()))}componentOnReady(){return n(this).T}};i.F=e[0],d.includes(c)||m.get(c)||(p.push(c),m.define(c,se(u,i,1)))}))})),p.length>0&&(S&&($.textContent+=i),$.textContent+=p.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(f=a.k)?f:j(u);null!=e&&$.setAttribute("nonce",e),y.insertBefore($,w?w.nextSibling:y.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):a.jmp((()=>b=setTimeout(ne,30)))},ie=e=>a.k=e;export{re as b,H as g,P as h,f as p,l as r,ie as s}