@everymatrix/casino-tournaments-page-controller 1.43.4 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsDetails-CpUZgR90.cjs +1 -0
- package/components/CasinoTournamentsDetails-i29jA8rz.js +865 -0
- package/components/CasinoTournamentsPageController-DQ45sNO3.cjs +25 -0
- package/components/CasinoTournamentsPageController-ccenf33p.js +8538 -0
- package/components/CasinoTournamentsRank-D0dnyjxl.cjs +1 -0
- package/components/CasinoTournamentsRank-DCsenD0C.js +271 -0
- package/components/CasinoTournamentsTab-CFqMNyyL.cjs +1 -0
- package/components/CasinoTournamentsTab-DY421_qt.js +283 -0
- package/components/CasinoTournamentsTable-CMFlsTqb.cjs +1 -0
- package/components/CasinoTournamentsTable-QzFroNHV.js +1671 -0
- package/components/CasinoTournamentsThumbnail-DeSrN8lz.js +866 -0
- package/components/CasinoTournamentsThumbnail-XJuOILgc.cjs +4 -0
- package/components/CasinoTournamentsThumbnailController-DyNwJHm-.js +1406 -0
- package/components/CasinoTournamentsThumbnailController-dcrtzpP3.cjs +1 -0
- package/components/CasinoTournamentsThumbnailDuration-BVjz4efB.js +496 -0
- package/components/CasinoTournamentsThumbnailDuration-Dp9sLahL.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-BxG-LO0T.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-GmLhEgpL.js +439 -0
- package/components/CasinoTournamentsThumbnailPrizes-BADuIugn.js +311 -0
- package/components/CasinoTournamentsThumbnailPrizes-Cq3GMug5.cjs +1 -0
- package/components/CasinoTournamentsThumbnailRule-B_eRZkOt.js +1110 -0
- package/components/CasinoTournamentsThumbnailRule-BgZe_JWI.cjs +1 -0
- package/es2015/casino-tournaments-page-controller.cjs +1 -0
- package/es2015/casino-tournaments-page-controller.js +16 -0
- package/package.json +22 -32
- package/.eslintrc +0 -84
- package/CHANGELOG.md +0 -7
- package/README.md +0 -0
- package/dist/casino-tournaments-page-controller.js +0 -2
- package/dist/casino-tournaments-page-controller.js.map +0 -1
- package/documentation.md +0 -119
- package/index.html +0 -35
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoTournamentsPageController.svelte +0 -873
- package/src/i18n.js +0 -28
- package/src/images/game-casino.svg +0 -684
- package/src/images/game-sports.svg +0 -485
- package/src/index.ts +0 -4
- package/src/translations.js +0 -202
- package/stories/CasinoTournamentsPageController.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var ft=Object.defineProperty,dt=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var ht=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable;var R=(e,t,n)=>t in e?ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||(t={}))ht.call(t,n)&&R(e,n,t[n]);if(W)for(var n of W(t))$t.call(t,n)&&R(e,n,t[n]);return e},V=(e,t)=>dt(e,at(t));var h=(e,t,n)=>R(e,typeof t!="symbol"?t+"":t,n);var G=(e,t,n)=>new Promise((s,l)=>{var i=f=>{try{u(n.next(f))}catch(c){l(c)}},r=f=>{try{u(n.throw(f))}catch(c){l(c)}},u=f=>f.done?s(f.value):Promise.resolve(f.value).then(i,r);u((n=n.apply(e,t)).next())});function b(){}function Z(e){return e()}function K(){return Object.create(null)}function A(e){e.forEach(Z)}function N(e){return typeof e=="function"}function tt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let D;function _t(e,t){return e===t?!0:(D||(D=document.createElement("a")),D.href=t,e===D.href)}function pt(e){return Object.keys(e).length===0}function et(e,...t){if(e==null){for(const s of t)s(void 0);return b}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function gt(e,t,n){e.$$.on_destroy.push(et(t,n))}function mt(e){return e==null?"":e}function nt(e){return e&&N(e.destroy)?e.destroy:b}function _(e,t){e.appendChild(t)}function st(e,t,n){const s=bt(e);if(!s.getElementById(t)){const l=p("style");l.id=t,l.textContent=n,yt(s,l)}}function bt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function yt(e,t){return _(e.head||e,t),t.sheet}function y(e,t,n){e.insertBefore(t,n||null)}function g(e){e.parentNode&&e.parentNode.removeChild(e)}function wt(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function p(e){return document.createElement(e)}function C(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function H(e){return document.createTextNode(e)}function U(){return H(" ")}function kt(){return H("")}function P(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function o(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function xt(e,t,n){const s=t.toLowerCase();s in e?e[s]=typeof e[s]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:o(e,t,n)}function vt(e){return Array.from(e.childNodes)}function it(e,t){t=""+t,e.data!==t&&(e.data=t)}function Et(e,t,n,s){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,"")}let O;function Ct(){if(O===void 0){O=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){O=!0}}return O}function Tt(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const s=p("iframe");s.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),s.setAttribute("aria-hidden","true"),s.tabIndex=-1;const l=Ct();let i;return l?(s.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=P(window,"message",r=>{r.source===s.contentWindow&&t()})):(s.src="about:blank",s.onload=()=>{i=P(s.contentWindow,"resize",t),t()}),_(e,s),()=>{(l||i&&s.contentWindow)&&i(),g(s)}}function Lt(e,t,n){e.classList.toggle(t,!!n)}class At{constructor(t=!1){h(this,"is_svg",!1);h(this,"e");h(this,"n");h(this,"t");h(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,s=null){this.e||(this.is_svg?this.e=C(n.nodeName):this.e=p(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(s)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n<this.n.length;n+=1)y(this.t,this.n[n],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(g)}}function Nt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let L;function T(e){L=e}function jt(){if(!L)throw new Error("Function called outside component initialization");return L}function Mt(e){jt().$$.on_mount.push(e)}const v=[],B=[];let E=[];const Q=[],St=Promise.resolve();let I=!1;function Dt(){I||(I=!0,St.then(w))}function z(e){E.push(e)}const q=new Set;let x=0;function w(){if(x!==0)return;const e=L;do{try{for(;x<v.length;){const t=v[x];x++,T(t),Ot(t.$$)}}catch(t){throw v.length=0,x=0,t}for(T(null),v.length=0,x=0;B.length;)B.pop()();for(let t=0;t<E.length;t+=1){const n=E[t];q.has(n)||(q.add(n),n())}E.length=0}while(v.length);for(;Q.length;)Q.pop()();I=!1,q.clear(),T(e)}function Ot(e){if(e.fragment!==null){e.update(),A(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(z)}}function Ft(e){const t=[],n=[];E.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),E=t}const Pt=new Set;function Bt(e,t){e&&e.i&&(Pt.delete(e),e.i(t))}function zt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ht(e,t,n){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,n),z(()=>{const i=e.$$.on_mount.map(Z).filter(N);e.$$.on_destroy?e.$$.on_destroy.push(...i):A(i),e.$$.on_mount=[]}),l.forEach(z)}function Rt(e,t){const n=e.$$;n.fragment!==null&&(Ft(n.after_update),A(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function qt(e,t){e.$$.dirty[0]===-1&&(v.push(e),Dt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function lt(e,t,n,s,l,i,r=null,u=[-1]){const f=L;T(e);const c=e.$$={fragment:null,ctx:[],props:i,update:b,not_equal:l,bound:K(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(f?f.$$.context:[])),callbacks:K(),dirty:u,skip_bound:!1,root:t.target||f.$$.root};r&&r(c.root);let $=!1;if(c.ctx=n?n(e,t.props||{},(d,m,...j)=>{const M=j.length?j[0]:m;return c.ctx&&l(c.ctx[d],c.ctx[d]=M)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](M),$&&qt(e,d)),m}):[],c.update(),$=!0,A(c.before_update),c.fragment=s?s(c.ctx):!1,t.target){if(t.hydrate){const d=vt(t.target);c.fragment&&c.fragment.l(d),d.forEach(g)}else c.fragment&&c.fragment.c();t.intro&&Bt(e.$$.fragment),Ht(e,t.target,t.anchor),w()}T(f)}let rt;typeof HTMLElement=="function"&&(rt=class extends HTMLElement{constructor(t,n,s){super();h(this,"$$ctor");h(this,"$$s");h(this,"$$c");h(this,"$$cn",!1);h(this,"$$d",{});h(this,"$$r",!1);h(this,"$$p_d",{});h(this,"$$l",{});h(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){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,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const l=this.$$l_u.get(n);l&&(l(),this.$$l_u.delete(n))}}connectedCallback(){return G(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let r;return{c:function(){r=p("slot"),i!=="default"&&o(r,"name",i)},m:function(c,$){y(c,r,$)},d:function(c){c&&g(r)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=Nt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const r=this.$$g_p(i.name);r in this.$$d||(this.$$d[r]=F(r,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:V(J({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const l=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const r=F(i,this.$$d[i],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,r)}this.$$r=!1};this.$$c.$$.after_update.push(l),l();for(const i in this.$$l)for(const r of this.$$l[i]){const u=this.$$c.$on(i,r);this.$$l_u.set(r,u)}this.$$l={}}})}attributeChangedCallback(t,n,s){var l;this.$$r||(t=this.$$g_p(t),this.$$d[t]=F(t,s,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 F(e,t,n,s){var i;const l=(i=n[e])==null?void 0:i.type;if(t=l==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="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 ot(e,t,n,s,l,i){let r=class extends rt{constructor(){super(e,n,l),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(r.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(f){var c;f=F(u,f,t),this.$$d[u]=f,(c=this.$$c)==null||c.$set({[u]:f})}})}),s.forEach(u=>{Object.defineProperty(r.prototype,u,{get(){var f;return(f=this.$$c)==null?void 0:f[u]}})}),e.element=r,r}class ct{constructor(){h(this,"$$");h(this,"$$set")}$destroy(){Rt(this,1),this.$destroy=b}$on(t,n){if(!N(n))return b;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const l=s.indexOf(n);l!==-1&&s.splice(l,1)}}$set(t){this.$$set&&!pt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const It="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(It);function Ut(e){st(e,"svelte-1wpgdk2",".svelte-1wpgdk2,.svelte-1wpgdk2::before,.svelte-1wpgdk2::after{box-sizing:border-box}.Title.svelte-1wpgdk2{text-transform:uppercase}.DetailsCard.svelte-1wpgdk2{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle.svelte-1wpgdk2{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.DetailsContent.svelte-1wpgdk2{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc.svelte-1wpgdk2::-webkit-scrollbar{width:5px;height:5px}.sc.svelte-1wpgdk2::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc.svelte-1wpgdk2::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}")}function X(e){let t,n,s,l,i,r,u;function f(d,m){return d[3]?Wt:Jt}let c=f(e),$=c(e);return{c(){t=p("div"),n=p("p"),s=H(e[0]),l=U(),i=p("div"),$.c(),o(n,"class","Title svelte-1wpgdk2"),o(n,"part","Title"),o(i,"class","CollapseButtonDetails svelte-1wpgdk2"),o(i,"part","CollapseButtonDetails"),o(t,"class","DetailsTitle svelte-1wpgdk2"),o(t,"part","DetailsTitle")},m(d,m){y(d,t,m),_(t,n),_(n,s),_(t,l),_(t,i),$.m(i,null),r||(u=P(i,"click",e[8]),r=!0)},p(d,m){m&1&&it(s,d[0]),c!==(c=f(d))&&($.d(1),$=c(d),$&&($.c(),$.m(i,null)))},d(d){d&&g(t),$.d(),r=!1,u()}}}function Wt(e){let t,n;return{c(){t=C("svg"),n=C("path"),o(n,"d","M6 9l6 6 6-6"),o(n,"class","svelte-1wpgdk2"),o(t,"xmlns","http://www.w3.org/2000/svg"),o(t,"width","24"),o(t,"height","24"),o(t,"viewBox","0 0 24 24"),o(t,"fill","none"),o(t,"stroke","#ffffff"),o(t,"stroke-width","2"),o(t,"stroke-linecap","round"),o(t,"stroke-linejoin","round"),o(t,"class","svelte-1wpgdk2")},m(s,l){y(s,t,l),_(t,n)},d(s){s&&g(t)}}}function Jt(e){let t,n;return{c(){t=C("svg"),n=C("path"),o(n,"d","M18 15l-6-6-6 6"),o(n,"class","svelte-1wpgdk2"),o(t,"xmlns","http://www.w3.org/2000/svg"),o(t,"width","24"),o(t,"height","24"),o(t,"viewBox","0 0 24 24"),o(t,"fill","none"),o(t,"stroke","#ffffff"),o(t,"stroke-width","2"),o(t,"stroke-linecap","round"),o(t,"stroke-linejoin","round"),o(t,"class","svelte-1wpgdk2")},m(s,l){y(s,t,l),_(t,n)},d(s){s&&g(t)}}}function Y(e){let t,n,s,l;return{c(){t=p("div"),t.innerHTML="",o(t,"class","DetailsContent sc svelte-1wpgdk2"),o(t,"part","DetailsContent")},m(i,r){y(i,t,r),s||(l=nt(n=e[5].call(null,t,e[1])),s=!0)},p(i,r){n&&N(n.update)&&r&2&&n.update.call(null,i[1])},d(i){i&&g(t),s=!1,l()}}}function Vt(e){let t,n,s=e[0]&&X(e),l=e[1]&&!e[3]&&Y(e);return{c(){t=p("div"),s&&s.c(),n=U(),l&&l.c(),o(t,"class","DetailsCard svelte-1wpgdk2"),o(t,"part","DetailsCard")},m(i,r){y(i,t,r),s&&s.m(t,null),_(t,n),l&&l.m(t,null),e[9](t)},p(i,[r]){i[0]?s?s.p(i,r):(s=X(i),s.c(),s.m(t,n)):s&&(s.d(1),s=null),i[1]&&!i[3]?l?l.p(i,r):(l=Y(i),l.c(),l.m(t,null)):l&&(l.d(1),l=null)},i:b,o:b,d(i){i&&g(t),s&&s.d(),l&&l.d(),e[9](null)}}}function Gt(e,t,n){let{title:s=""}=t,{text:l=""}=t,{clientstyling:i=""}=t,{clientstylingurl:r=""}=t,u,f=!1;const c=()=>{n(3,f=!f)},$=()=>{let a=document.createElement("style");a.innerHTML=i,u.appendChild(a)},d=()=>{let a=new URL(r),S=document.createElement("style");fetch(a.href).then(k=>k.text()).then(k=>{S.innerHTML=k,setTimeout(()=>{u.appendChild(S)},1),setTimeout(()=>{},500)})},m=(a,S)=>{let k=document.createElement("div");k.innerHTML=S,a.append(k)},j=()=>c();function M(a){B[a?"unshift":"push"](()=>{u=a,n(2,u)})}return e.$$set=a=>{"title"in a&&n(0,s=a.title),"text"in a&&n(1,l=a.text),"clientstyling"in a&&n(6,i=a.clientstyling),"clientstylingurl"in a&&n(7,r=a.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&68&&u&&i&&$(),e.$$.dirty&132&&u&&r&&d()},[s,l,u,f,c,m,i,r,j,M]}class ut extends ct{constructor(t){super(),lt(this,t,Gt,Vt,tt,{title:0,text:1,clientstyling:6,clientstylingurl:7},Ut)}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),w()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),w()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),w()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),w()}}ot(ut,{title:{},text:{},clientstyling:{},clientstylingurl:{}},[],[],!0);const Kt=Object.freeze(Object.defineProperty({__proto__:null,default:ut},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsDetails_ce=Kt;exports.HtmlTag=At;exports.SvelteComponent=ct;exports.action_destroyer=nt;exports.add_iframe_resize_listener=Tt;exports.add_render_callback=z;exports.append=_;exports.append_styles=st;exports.attr=o;exports.binding_callbacks=B;exports.component_subscribe=gt;exports.create_custom_element=ot;exports.destroy_each=wt;exports.detach=g;exports.element=p;exports.empty=kt;exports.ensure_array_like=zt;exports.flush=w;exports.init=lt;exports.insert=y;exports.is_function=N;exports.listen=P;exports.noop=b;exports.null_to_empty=mt;exports.onMount=Mt;exports.run_all=A;exports.safe_not_equal=tt;exports.set_custom_element_data=xt;exports.set_data=it;exports.set_style=Et;exports.space=U;exports.src_url_equal=_t;exports.subscribe=et;exports.svg_element=C;exports.text=H;exports.toggle_class=Lt;
|