@everymatrix/casino-my-games 1.63.2 → 1.64.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/{CasinoFavoritesSection-BDduCIPj.cjs → CasinoFavoritesSection-2SmBqP6k.cjs} +1 -1
- package/components/{CasinoFavoritesSection-CT8VImKq.js → CasinoFavoritesSection-BSHso5Lj.js} +1 -1
- package/components/{CasinoFavoritesSection-B9s4Iyn6.js → CasinoFavoritesSection-D9EjOcgG.js} +1 -1
- package/components/{CasinoFilter-aVzRKDmr.js → CasinoFilter-D32j5559.js} +113 -113
- package/components/{CasinoFilter-DnihBXXY.cjs → CasinoFilter-DD1LQ6ke.cjs} +3 -3
- package/components/{CasinoFilter-B5EuYbbc.js → CasinoFilter-DjtSz9Ky.js} +103 -103
- package/components/{CasinoGameThumbnail-Bz2XslvE.cjs → CasinoGameThumbnail-BCSJFhcx.cjs} +2 -2
- package/components/{CasinoGameThumbnail-CDE9u8A3.js → CasinoGameThumbnail-DOdRA_PR.js} +4 -4
- package/components/{CasinoGameThumbnail-DeYdZZpC.js → CasinoGameThumbnail-M1X_YwqV.js} +4 -4
- package/components/CasinoGamesCategorySection-8mIrr_WG.cjs +1 -0
- package/components/CasinoGamesCategorySection-B_poFSPj.js +3203 -0
- package/components/CasinoGamesCategorySection-C-AFfN96.js +3171 -0
- package/components/{CasinoLastPlayedSection-D5p92958.js → CasinoLastPlayedSection-BdaMCAMG.js} +2 -2
- package/components/{CasinoLastPlayedSection-DkiQ_sUE.cjs → CasinoLastPlayedSection-CAMWs4Cg.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DhtbFIIP.js → CasinoLastPlayedSection-CzODDi-f.js} +2 -2
- package/components/{CasinoMostPlayedSection-DuB-264K.cjs → CasinoMostPlayedSection-BdkU7cvV.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-B1qGzhR2.js → CasinoMostPlayedSection-BfRWivK3.js} +2 -2
- package/components/{CasinoMostPlayedSection-CpKXKXEX.js → CasinoMostPlayedSection-efpG5uvt.js} +2 -2
- package/components/{CasinoMyGames-pbf0YqGd.js → CasinoMyGames-B9I7TYO_.js} +40 -40
- package/components/{CasinoMyGames-Biv4QXQh.js → CasinoMyGames-B9pooWsq.js} +42 -42
- package/components/CasinoMyGames-Drt9WFOk.cjs +1 -0
- package/components/{CasinoSort-BcQ94lko.cjs → CasinoSort-BPzq2x0u.cjs} +1 -1
- package/components/{CasinoSort-S0dWFjK2.js → CasinoSort-BiNAfgS-.js} +45 -45
- package/components/{CasinoSort-_opewOQT.js → CasinoSort-Bvks7_Wc.js} +45 -45
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{ui-image-Bz0nQwNJ.cjs → ui-image-CMb1eK44.cjs} +1 -1
- package/stencil/{ui-image-DX8NqsyA.js → ui-image-CQQDA5b0.js} +1 -1
- package/stencil/{ui-image-o9dMcntc.js → ui-image-CmwNU-jf.js} +1 -1
- package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CasinoGamesCategorySection-B3caA0y5.js +0 -3140
- package/components/CasinoGamesCategorySection-C1hFzBSF.cjs +0 -1
- package/components/CasinoGamesCategorySection-D2rEVNqJ.js +0 -3171
- package/components/CasinoMyGames-DgEdlvQ7.cjs +0 -1
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
package/components/{CasinoLastPlayedSection-D5p92958.js → CasinoLastPlayedSection-BdaMCAMG.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, l as Z, g as L, m as q, h as le, o as re, j as oe, k as ue, t as ce, E as i, z as me, A as ge, B as de, C as fe, D as he } from "./CasinoFavoritesSection-
|
|
2
|
-
import { g as ye } from "./CasinoFilter-
|
|
1
|
+
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, l as Z, g as L, m as q, h as le, o as re, j as oe, k as ue, t as ce, E as i, z as me, A as ge, B as de, C as fe, D as he } from "./CasinoFavoritesSection-BSHso5Lj.js";
|
|
2
|
+
import { g as ye } from "./CasinoFilter-D32j5559.js";
|
|
3
3
|
function H(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
package/components/{CasinoLastPlayedSection-DkiQ_sUE.cjs → CasinoLastPlayedSection-CAMWs4Cg.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSection-BDduCIPj.cjs"),Q=require("./CasinoFilter-DnihBXXY.cjs");function z(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function X(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function p(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function x(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function $(n){let e,a;function i(u,d){return u[19]?x:p}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function ee(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:F=""}=e,{visiblegames:k=""}=e,{favorites:D=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:C="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:E="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",S),r.searchParams.append("order",L),r.searchParams.append("period",P),Q.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),C==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{W(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,F=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,D=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(15,C=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,E=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,F,k,D,C,E,q,g,N,i,b,P,L,S,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ee,$,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSection-2SmBqP6k.cjs"),Q=require("./CasinoFilter-DD1LQ6ke.cjs");function z(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function X(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function p(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function x(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function $(n){let e,a;function i(u,d){return u[19]?x:p}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function ee(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:F=""}=e,{visiblegames:k=""}=e,{favorites:D=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:C="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:E="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",S),r.searchParams.append("order",L),r.searchParams.append("period",P),Q.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),C==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{W(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,F=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,D=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(15,C=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,E=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,F,k,D,C,E,q,g,N,i,b,P,L,S,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ee,$,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|
package/components/{CasinoLastPlayedSection-DhtbFIIP.js → CasinoLastPlayedSection-CzODDi-f.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, l as Z, g as L, m as q, h as le, o as re, j as oe, k as ue, t as ce, E as i, z as me, A as ge, B as de, C as fe, D as he } from "./CasinoFavoritesSection-
|
|
2
|
-
import { g as ye } from "./CasinoFilter-
|
|
1
|
+
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, l as Z, g as L, m as q, h as le, o as re, j as oe, k as ue, t as ce, E as i, z as me, A as ge, B as de, C as fe, D as he } from "./CasinoFavoritesSection-D9EjOcgG.js";
|
|
2
|
+
import { g as ye } from "./CasinoFilter-DjtSz9Ky.js";
|
|
3
3
|
function H(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
package/components/{CasinoMostPlayedSection-DuB-264K.cjs → CasinoMostPlayedSection-BdkU7cvV.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSection-BDduCIPj.cjs"),V=require("./CasinoFilter-DnihBXXY.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Z(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&1048576&&a!==(a=l[20]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function x(n){let e,a;function i(r,c){return r[19]?p:Z}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,c){t.insert(r,e,c),t.append(e,a),o.m(a,null),n[24](e)},p(r,c){l===(l=i(r))&&o?o.p(r,c):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:F=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,u;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:V.getDevice(I),rounds:C}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{W(c)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{u=s,a(18,u)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,c=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,F=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(17,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&c&&B(),n.$$.dirty[0]&262272&&b&&u&&t.setClientStyling(u,b),n.$$.dirty[0]&262400&&v&&u&&t.setClientStylingURL(u,v),n.$$.dirty[0]&262208&&y&&u&&t.setStreamStyling(u,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&c&&H()},[l,o,r,c,j,h,y,b,v,w,M,L,A,F,N,O,P,E,u,T,i,G,S,C,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSection-2SmBqP6k.cjs"),V=require("./CasinoFilter-DD1LQ6ke.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Z(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&1048576&&a!==(a=l[20]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function x(n){let e,a;function i(r,c){return r[19]?p:Z}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,c){t.insert(r,e,c),t.append(e,a),o.m(a,null),n[24](e)},p(r,c){l===(l=i(r))&&o?o.p(r,c):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:F=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,u;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:V.getDevice(I),rounds:C}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{W(c)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{u=s,a(18,u)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,c=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,F=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(17,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&c&&B(),n.$$.dirty[0]&262272&&b&&u&&t.setClientStyling(u,b),n.$$.dirty[0]&262400&&v&&u&&t.setClientStylingURL(u,v),n.$$.dirty[0]&262208&&y&&u&&t.setStreamStyling(u,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&c&&H()},[l,o,r,c,j,h,y,b,v,w,M,L,A,F,N,O,P,E,u,T,i,G,S,C,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
package/components/{CasinoMostPlayedSection-B1qGzhR2.js → CasinoMostPlayedSection-BfRWivK3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, n as J, d as A, e as E, l as K, g as P, m as M, h as ie, o as oe, j as le, k as me, t as re, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSection-
|
|
2
|
-
import { g as he } from "./CasinoFilter-
|
|
1
|
+
import { b as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, n as J, d as A, e as E, l as K, g as P, m as M, h as ie, o as oe, j as le, k as me, t as re, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSection-BSHso5Lj.js";
|
|
2
|
+
import { g as he } from "./CasinoFilter-D32j5559.js";
|
|
3
3
|
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
package/components/{CasinoMostPlayedSection-CpKXKXEX.js → CasinoMostPlayedSection-efpG5uvt.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, n as J, d as A, e as E, l as K, g as P, m as M, h as ie, o as oe, j as le, k as me, t as re, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSection-
|
|
2
|
-
import { g as he } from "./CasinoFilter-
|
|
1
|
+
import { b as $, $ as ee, S as te, i as se, s as ae, f as l, c as ne, n as J, d as A, e as E, l as K, g as P, m as M, h as ie, o as oe, j as le, k as me, t as re, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSection-D9EjOcgG.js";
|
|
2
|
+
import { g as he } from "./CasinoFilter-DjtSz9Ky.js";
|
|
3
3
|
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as T, a as ce, b as ge, C as he, S as be, i as ve, s as pe, f as u, c as _e, n as $, d as _, e as P, g as p, h as Pe, o as we, j as Me, p as ee, q as ke, m as w, l as v, w as A, G as Fe, k as
|
|
2
|
-
import { i as Be } from "./CasinoFilter-
|
|
1
|
+
import { $ as T, a as ce, b as ge, C as he, S as be, i as ve, s as pe, f as u, c as _e, n as $, d as _, e as P, g as p, h as Pe, o as we, j as Me, p as ee, q as ke, m as w, l as v, w as A, G as Fe, k as q, u as z, t as L, E as s, D as Le, z as Ge, A as Ce, B as Ee } from "./CasinoFavoritesSection-D9EjOcgG.js";
|
|
2
|
+
import { i as Be } from "./CasinoFilter-DjtSz9Ky.js";
|
|
3
3
|
function Ae({ withLocale: a, translations: e }) {
|
|
4
4
|
T.subscribe((t) => {
|
|
5
5
|
t == null && (ce.set(e), T.set(a));
|
|
@@ -115,7 +115,7 @@ if (typeof window < "u") {
|
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
customElements.define = a(customElements.define), import("./CasinoFavoritesSection-
|
|
118
|
+
customElements.define = a(customElements.define), import("./CasinoFavoritesSection-D9EjOcgG.js").then((e) => e.M).then(({ default: e }) => {
|
|
119
119
|
!customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
|
|
120
120
|
});
|
|
121
121
|
}
|
|
@@ -131,7 +131,7 @@ if (typeof window < "u") {
|
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
|
-
customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-
|
|
134
|
+
customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-CzODDi-f.js").then(({ default: e }) => {
|
|
135
135
|
!customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
|
|
136
136
|
});
|
|
137
137
|
}
|
|
@@ -147,18 +147,18 @@ if (typeof window < "u") {
|
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
|
-
customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-
|
|
150
|
+
customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-efpG5uvt.js").then(({ default: e }) => {
|
|
151
151
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
_e(a, "svelte-
|
|
154
|
+
function je(a) {
|
|
155
|
+
_e(a, "svelte-1d9x86", ".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}");
|
|
156
156
|
}
|
|
157
157
|
function se(a, e, t) {
|
|
158
158
|
const i = a.slice();
|
|
159
159
|
return i[43] = e[t], i;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Se(a) {
|
|
162
162
|
let e, t, i, m, n, d, o = ee(
|
|
163
163
|
/*tabsArray*/
|
|
164
164
|
a[28]
|
|
@@ -175,12 +175,12 @@ function je(a) {
|
|
|
175
175
|
/*gamesType*/
|
|
176
176
|
f[26] == "MostPlayed"
|
|
177
177
|
)
|
|
178
|
-
return
|
|
178
|
+
return De;
|
|
179
179
|
if (
|
|
180
180
|
/*gamesType*/
|
|
181
181
|
f[26] == "LastPlayed"
|
|
182
182
|
)
|
|
183
|
-
return
|
|
183
|
+
return qe;
|
|
184
184
|
}
|
|
185
185
|
let b = h(a), y = b && b(a);
|
|
186
186
|
return {
|
|
@@ -207,8 +207,8 @@ function je(a) {
|
|
|
207
207
|
);
|
|
208
208
|
let c;
|
|
209
209
|
for (c = 0; c < o.length; c += 1) {
|
|
210
|
-
const
|
|
211
|
-
r[c] ? r[c].p(
|
|
210
|
+
const G = se(f, o, c);
|
|
211
|
+
r[c] ? r[c].p(G, g) : (r[c] = oe(G), r[c].c(), r[c].m(i, null));
|
|
212
212
|
}
|
|
213
213
|
for (; c < r.length; c += 1)
|
|
214
214
|
r[c].d(1);
|
|
@@ -230,10 +230,10 @@ function ie(a) {
|
|
|
230
230
|
), i, m, n, d, o, r, h, b, y;
|
|
231
231
|
return {
|
|
232
232
|
c() {
|
|
233
|
-
e = p("button"), i =
|
|
233
|
+
e = p("button"), i = L(t), m = A(), n = p("span"), d = L("("), o = L(
|
|
234
234
|
/*favoritesCount*/
|
|
235
235
|
a[29]
|
|
236
|
-
), r =
|
|
236
|
+
), r = L(")"), w(e, "class", h = "MyGamesButton " + /*gamesType*/
|
|
237
237
|
(a[26] == "Favorites" ? "Active" : "") + " " + /*favorites*/
|
|
238
238
|
(a[14] == "false" ? "Off" : ""));
|
|
239
239
|
},
|
|
@@ -248,8 +248,8 @@ function ie(a) {
|
|
|
248
248
|
p(f, g) {
|
|
249
249
|
g[0] & /*$_*/
|
|
250
250
|
1073741824 && t !== (t = /*$_*/
|
|
251
|
-
f[30]("favorites") + "") &&
|
|
252
|
-
536870912 &&
|
|
251
|
+
f[30]("favorites") + "") && q(i, t), g[0] & /*favoritesCount*/
|
|
252
|
+
536870912 && q(
|
|
253
253
|
o,
|
|
254
254
|
/*favoritesCount*/
|
|
255
255
|
f[29]
|
|
@@ -270,7 +270,7 @@ function le(a) {
|
|
|
270
270
|
), i, m, n, d;
|
|
271
271
|
return {
|
|
272
272
|
c() {
|
|
273
|
-
e = p("button"), i =
|
|
273
|
+
e = p("button"), i = L(t), w(e, "class", m = "MyGamesButton " + /*gamesType*/
|
|
274
274
|
(a[26] == "MostPlayed" ? "Active" : "") + " " + /*mostplayed*/
|
|
275
275
|
(a[15] == "false" ? "Off" : ""));
|
|
276
276
|
},
|
|
@@ -285,7 +285,7 @@ function le(a) {
|
|
|
285
285
|
p(o, r) {
|
|
286
286
|
r[0] & /*$_*/
|
|
287
287
|
1073741824 && t !== (t = /*$_*/
|
|
288
|
-
o[30]("mostPlayed") + "") &&
|
|
288
|
+
o[30]("mostPlayed") + "") && q(i, t), r[0] & /*gamesType, mostplayed*/
|
|
289
289
|
67141632 && m !== (m = "MyGamesButton " + /*gamesType*/
|
|
290
290
|
(o[26] == "MostPlayed" ? "Active" : "") + " " + /*mostplayed*/
|
|
291
291
|
(o[15] == "false" ? "Off" : "")) && w(e, "class", m);
|
|
@@ -302,7 +302,7 @@ function ne(a) {
|
|
|
302
302
|
), i, m, n, d, o;
|
|
303
303
|
return {
|
|
304
304
|
c() {
|
|
305
|
-
e = p("button"), i =
|
|
305
|
+
e = p("button"), i = L(t), m = A(), w(e, "class", n = "MyGamesButton " + /*gamesType*/
|
|
306
306
|
(a[26] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
|
|
307
307
|
(a[16] == "false" ? "Off" : ""));
|
|
308
308
|
},
|
|
@@ -317,7 +317,7 @@ function ne(a) {
|
|
|
317
317
|
p(r, h) {
|
|
318
318
|
h[0] & /*$_*/
|
|
319
319
|
1073741824 && t !== (t = /*$_*/
|
|
320
|
-
r[30]("recentlyPlayed") + "") &&
|
|
320
|
+
r[30]("recentlyPlayed") + "") && q(i, t), h[0] & /*gamesType, lastplayed*/
|
|
321
321
|
67174400 && n !== (n = "MyGamesButton " + /*gamesType*/
|
|
322
322
|
(r[26] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
|
|
323
323
|
(r[16] == "false" ? "Off" : "")) && w(e, "class", n);
|
|
@@ -356,7 +356,7 @@ function oe(a) {
|
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function qe(a) {
|
|
360
360
|
let e;
|
|
361
361
|
return {
|
|
362
362
|
c() {
|
|
@@ -604,7 +604,7 @@ function Se(a) {
|
|
|
604
604
|
}
|
|
605
605
|
};
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function De(a) {
|
|
608
608
|
let e;
|
|
609
609
|
return {
|
|
610
610
|
c() {
|
|
@@ -1041,7 +1041,7 @@ function Te(a) {
|
|
|
1041
1041
|
/*casinomygames*/
|
|
1042
1042
|
n[17]
|
|
1043
1043
|
)
|
|
1044
|
-
return
|
|
1044
|
+
return Se;
|
|
1045
1045
|
}
|
|
1046
1046
|
let i = t(a), m = i && i(a);
|
|
1047
1047
|
return {
|
|
@@ -1063,8 +1063,8 @@ function Te(a) {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
function ze(a, e, t) {
|
|
1065
1065
|
let i;
|
|
1066
|
-
Pe(a,
|
|
1067
|
-
let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename:
|
|
1066
|
+
Pe(a, Le, (l) => t(30, i = l));
|
|
1067
|
+
let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: G = "" } = e, { integratedgameframedesktop: H = "" } = e, { integratedgameframemobile: U = "" } = e, { translationurl: O = "" } = e, { favorites: C = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: I = "false" } = e, { lastplayedperiod: R = "Last30Days" } = e, { mostplayedperiod: J = "Last30Days" } = e, { lastplayedorder: V = "" } = e, { lastplayedlimit: Z = "" } = e, { lastplayedunique: K = "true" } = e, { mostplayedrounds: Q = "" } = e, { mbsource: D } = e, re = window.navigator.userAgent, M, j = "", W = !1, k = ["", "", ""], N = "0";
|
|
1068
1068
|
Ae({ withLocale: "en", translations: {} });
|
|
1069
1069
|
const me = () => {
|
|
1070
1070
|
fetch(O).then((F) => F.json()).then((F) => {
|
|
@@ -1078,10 +1078,10 @@ function ze(a, e, t) {
|
|
|
1078
1078
|
Object.keys(ae).forEach((l) => {
|
|
1079
1079
|
te(l, ae[l]);
|
|
1080
1080
|
});
|
|
1081
|
-
const
|
|
1082
|
-
|
|
1081
|
+
const S = (l) => {
|
|
1082
|
+
j !== l && t(26, j = l);
|
|
1083
1083
|
}, X = () => {
|
|
1084
|
-
t(26,
|
|
1084
|
+
t(26, j = C === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(28, k[0] = C === "true" ? "Favorites" : "", k), t(28, k[1] = E === "true" ? "MostPlayed" : "", k), t(28, k[2] = B === "true" ? "LastPlayed" : "", k), Oe(r);
|
|
1085
1085
|
}, Y = (l) => {
|
|
1086
1086
|
if (l.data)
|
|
1087
1087
|
switch (l.data.type) {
|
|
@@ -1093,22 +1093,22 @@ function ze(a, e, t) {
|
|
|
1093
1093
|
we(() => (window.addEventListener("message", Y, !1), t(27, W = Be(re)), () => {
|
|
1094
1094
|
window.removeEventListener("message", Y);
|
|
1095
1095
|
}));
|
|
1096
|
-
const de = () =>
|
|
1096
|
+
const de = () => S("Favorites"), fe = () => S("MostPlayed"), ue = () => S("LastPlayed");
|
|
1097
1097
|
function ye(l) {
|
|
1098
1098
|
Me[l ? "unshift" : "push"](() => {
|
|
1099
1099
|
M = l, t(25, M);
|
|
1100
1100
|
});
|
|
1101
1101
|
}
|
|
1102
1102
|
return a.$$set = (l) => {
|
|
1103
|
-
"userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, b = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11,
|
|
1103
|
+
"userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, b = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, G = l.showgamename), "integratedgameframedesktop" in l && t(12, H = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, U = l.integratedgameframemobile), "translationurl" in l && t(32, O = l.translationurl), "favorites" in l && t(14, C = l.favorites), "mostplayed" in l && t(15, E = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, I = l.casinomygames), "lastplayedperiod" in l && t(18, R = l.lastplayedperiod), "mostplayedperiod" in l && t(19, J = l.mostplayedperiod), "lastplayedorder" in l && t(20, V = l.lastplayedorder), "lastplayedlimit" in l && t(21, Z = l.lastplayedlimit), "lastplayedunique" in l && t(22, K = l.lastplayedunique), "mostplayedrounds" in l && t(23, Q = l.mostplayedrounds), "mbsource" in l && t(24, D = l.mbsource);
|
|
1104
1104
|
}, a.$$.update = () => {
|
|
1105
1105
|
a.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
1106
1106
|
28 && d && o && r && X(), a.$$.dirty[0] & /*favorites, mostplayed, lastplayed*/
|
|
1107
|
-
114688 &&
|
|
1107
|
+
114688 && C && E && B && X(), a.$$.dirty[1] & /*translationurl*/
|
|
1108
1108
|
2 && O && me(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1109
|
-
33554496 && b && M &&
|
|
1110
|
-
33554560 && y && M &&
|
|
1111
|
-
50331648 && M && Ee(M, `${
|
|
1109
|
+
33554496 && b && M && Ge(M, b), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1110
|
+
33554560 && y && M && Ce(M, y), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
1111
|
+
50331648 && M && Ee(M, `${D}.Style`);
|
|
1112
1112
|
}, [
|
|
1113
1113
|
m,
|
|
1114
1114
|
n,
|
|
@@ -1121,10 +1121,10 @@ function ze(a, e, t) {
|
|
|
1121
1121
|
f,
|
|
1122
1122
|
g,
|
|
1123
1123
|
c,
|
|
1124
|
-
|
|
1124
|
+
G,
|
|
1125
1125
|
H,
|
|
1126
1126
|
U,
|
|
1127
|
-
|
|
1127
|
+
C,
|
|
1128
1128
|
E,
|
|
1129
1129
|
B,
|
|
1130
1130
|
I,
|
|
@@ -1134,14 +1134,14 @@ function ze(a, e, t) {
|
|
|
1134
1134
|
Z,
|
|
1135
1135
|
K,
|
|
1136
1136
|
Q,
|
|
1137
|
-
q,
|
|
1138
|
-
M,
|
|
1139
1137
|
D,
|
|
1138
|
+
M,
|
|
1139
|
+
j,
|
|
1140
1140
|
W,
|
|
1141
1141
|
k,
|
|
1142
1142
|
N,
|
|
1143
1143
|
i,
|
|
1144
|
-
|
|
1144
|
+
S,
|
|
1145
1145
|
O,
|
|
1146
1146
|
de,
|
|
1147
1147
|
fe,
|
|
@@ -1185,7 +1185,7 @@ class He extends be {
|
|
|
1185
1185
|
mostplayedrounds: 23,
|
|
1186
1186
|
mbsource: 24
|
|
1187
1187
|
},
|
|
1188
|
-
|
|
1188
|
+
je,
|
|
1189
1189
|
[-1, -1]
|
|
1190
1190
|
);
|
|
1191
1191
|
}
|