@everymatrix/casino-page-nd 1.54.12 → 1.55.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/{CasinoCalendar-DqqWE3PZ.js → CasinoCalendar-C1drIkmy.js} +1049 -1005
- package/components/{CasinoCalendar-BzhZkzgP.js → CasinoCalendar-Dp2YIBXE.js} +863 -819
- package/components/CasinoCalendar-hlupOGnG.cjs +6 -0
- package/components/{CasinoCalendarDailyDetails-DazppRF9.js → CasinoCalendarDailyDetails-BVWbjQFD.js} +45 -45
- package/components/{CasinoCalendarDailyDetails-CNKPmgJW.cjs → CasinoCalendarDailyDetails-CUTyAice.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-qLuUx2VZ.js → CasinoCalendarDailyDetails-D7SMZkT6.js} +45 -45
- package/components/{CasinoCalendarDailyItem-DKZuA435.js → CasinoCalendarDailyItem-BTxF_iOC.js} +46 -46
- package/components/{CasinoCalendarDailyItem-Dm-IKJx0.cjs → CasinoCalendarDailyItem-CSD4crn_.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DcdOBbU8.js → CasinoCalendarDailyItem-Cpx3YOPg.js} +46 -46
- package/components/{CasinoCollectionsProviders-DDg-M4Ky.js → CasinoCollectionsProviders-BzqyvgJV.js} +258 -263
- package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +1 -0
- package/components/{CasinoCollectionsProviders-DPXPW7Wb.js → CasinoCollectionsProviders-CSskAm-D.js} +260 -265
- package/components/{CasinoFavoritesSectionNd-BseQ6ntB.cjs → CasinoFavoritesSectionNd-247dKDFC.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-DPO11eIl.js → CasinoFavoritesSectionNd-CuDySzEb.js} +31 -31
- package/components/{CasinoFavoritesSectionNd-BaYSblX2.js → CasinoFavoritesSectionNd-pNJTskAC.js} +31 -31
- package/components/{CasinoFilter-CQA5tRXc.js → CasinoFilter-Bm5nGmim.js} +183 -189
- package/components/{CasinoFilter-bjRSwwQj.cjs → CasinoFilter-Dca8BAHj.cjs} +1 -1
- package/components/{CasinoFilter-DarCjn7O.js → CasinoFilter-xEI9NRP7.js} +181 -187
- package/components/{CasinoGameThumbnailNd-M5MyMQqb.cjs → CasinoGameThumbnailNd-BfWisWyd.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-C8JF_kRW.js → CasinoGameThumbnailNd-D2UjvU5o.js} +62 -62
- package/components/{CasinoGameThumbnailNd-CMWvCrxU.js → CasinoGameThumbnailNd-DZ5EJquh.js} +62 -62
- package/components/{CasinoGamesCategorySectionNd-DzkueBMw.cjs → CasinoGamesCategorySectionNd-B-A_G5UN.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-D97PLCZQ.js → CasinoGamesCategorySectionNd-BgeZaX3s.js} +70 -70
- package/components/{CasinoGamesCategorySectionNd-B7bxi7wJ.js → CasinoGamesCategorySectionNd-ma7TF55B.js} +132 -132
- package/components/CasinoJackpotBanner-BIHc0ZJN.js +690 -0
- package/components/CasinoJackpotBanner-C7IpKgXw.cjs +1 -0
- package/components/CasinoJackpotBanner-rIlKc9yB.js +686 -0
- package/components/{CasinoLastPlayedSectionNd-C-VkTH2C.js → CasinoLastPlayedSectionNd-5kInnaFM.js} +28 -28
- package/components/{CasinoLastPlayedSectionNd-K-wgzihy.cjs → CasinoLastPlayedSectionNd-BvnsjzpW.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-D7cVedev.js → CasinoLastPlayedSectionNd-D5LPHn4E.js} +28 -28
- package/components/{CasinoMostPlayedSectionNd-DBY9uW22.js → CasinoMostPlayedSectionNd-6T1QffJK.js} +36 -36
- package/components/{CasinoMostPlayedSectionNd-DLd7wPNf.cjs → CasinoMostPlayedSectionNd-BTglRQ5Z.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-DT0BhU2p.js → CasinoMostPlayedSectionNd-BZLYBtpa.js} +36 -36
- package/components/{CasinoMyGamesNd-BYler1NB.js → CasinoMyGamesNd-C1mKXnRw.js} +50 -50
- package/components/{CasinoMyGamesNd-DQQ8Lo5B.cjs → CasinoMyGamesNd-Cy4rvXQw.cjs} +1 -1
- package/components/{CasinoMyGamesNd-tEImAPBs.js → CasinoMyGamesNd-ddeJWUGs.js} +52 -52
- package/components/{CasinoPageNd-CbP1X2KC.js → CasinoPageNd-C2L_-oKQ.js} +145 -145
- package/components/{CasinoPageNd-D9CuZV8a.cjs → CasinoPageNd-CRr4o1nm.cjs} +1 -1
- package/components/{CasinoPageNd-BbdpaE5v.js → CasinoPageNd-tLjlJcsj.js} +142 -142
- package/components/{CasinoRandomGame-CGpFFaoE.js → CasinoRandomGame-BB1xnS-3.js} +225 -227
- package/components/{CasinoRandomGame-CWMW9E0i.js → CasinoRandomGame-Os6RvrQW.js} +244 -246
- package/components/{CasinoRandomGame-D1NgXW5u.cjs → CasinoRandomGame-XLB_bCSb.cjs} +2 -2
- package/components/{CasinoSearchNd-BNECYNN3.cjs → CasinoSearchNd-BFH_Q8-4.cjs} +1 -1
- package/components/{CasinoSearchNd-BnS9e06D.js → CasinoSearchNd-CG9DW_9F.js} +74 -74
- package/components/{CasinoSearchNd-Dr-tu25u.js → CasinoSearchNd-DQqoQRhE.js} +76 -76
- package/components/CasinoSort-85kTtPeQ.cjs +1 -0
- package/components/CasinoSort-B6tKDPof.js +428 -0
- package/components/CasinoSort-D05yyakn.js +427 -0
- package/components/{CasinoWinners-Brfa3DHB.js → CasinoWinners-BhzxeUZ8.js} +347 -344
- package/components/CasinoWinners-CGsgZ7OE.cjs +1 -0
- package/components/{CasinoWinners-CFPyLxtr.js → CasinoWinners-DNTYhXqC.js} +338 -335
- package/components/{GeneralAnimationLoading-DqRALFbY.cjs → GeneralAnimationLoading--i35RrmV.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CM50RqcF.js → GeneralAnimationLoading-BTpSb-no.js} +8 -8
- package/components/{GeneralAnimationLoading-DVXxEF3S.js → GeneralAnimationLoading-DUpN0ANa.js} +8 -8
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
- package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
- package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
- package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
- package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
- package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
- package/components/CasinoCalendar-D2xyIjnZ.cjs +0 -6
- package/components/CasinoCollectionsProviders-BpPCl2Cs.cjs +0 -1
- package/components/CasinoJackpotBanner-BzQTQP0g.js +0 -618
- package/components/CasinoJackpotBanner-CyMIq-Hw.js +0 -614
- package/components/CasinoJackpotBanner-DrH5T9F0.cjs +0 -1
- package/components/CasinoSort-B5j-QwSa.cjs +0 -1
- package/components/CasinoSort-BKXVp_Q-.js +0 -432
- package/components/CasinoSort-mWbCQ4MJ.js +0 -431
- package/components/CasinoWinners-WPMrk6iO.cjs +0 -1
- package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
- package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
- package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
package/components/{CasinoMostPlayedSectionNd-DLd7wPNf.cjs → CasinoMostPlayedSectionNd-BTglRQ5Z.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-D2xyIjnZ.cjs");require("./CasinoFavoritesSectionNd-BseQ6ntB.cjs");function D(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const R={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 W(n){t.append_styles(n,"svelte-14zqglz","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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 X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),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","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[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]&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 Z(n){let e,a=n[19]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,m){t.insert(o,e,m),t.append(e,i)},p(o,m){m[0]&524288&&a!==(a=o[19]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(r,c){return r[18]?Z:X}let o=i(n),m=o(n);return{c(){e=t.element("div"),a=t.element("div"),m.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),m.m(a,null),n[23](e)},p(r,c){o===(o=i(r))&&m?m.p(r,c):(m.d(1),m=o(r),m&&(m.c(),m.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),m.d(),n[23](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(19,i=s));let{endpoint:o=""}=e,{datasource:m=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:j=""}=e,{userid:h=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{livecasino:b="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:S="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:A=""}=e,{visiblegames:k}=e,{favorites:E=""}=e,{translationurl:w=""}=e,{casinomygames:N="false"}=e,{mostplayedperiod:P="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:T="true"}=e,q=window.navigator.userAgent;const z=()=>{fetch(w).then(l=>l.json()).then(l=>{Object.keys(l).forEach(u=>{D(u,l[u])})}).catch(l=>{console.log(l)})};Object.keys(R).forEach(s=>{D(s,R[s])});let G=[],F,O=!1,f;const H=s=>{let l=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&l.searchParams.append("limit",s.limit),s.order&&l.searchParams.append("order",s.order),l.searchParams.append("expand","games"),l.searchParams.append("period",P);let u=s.device;return u?u==="PC"?l.searchParams.append("device","Desktop"):l.searchParams.append("device","Mobile"):l.searchParams.append("device","All"),s.rounds&&l.searchParams.append("rounds",s.rounds),F=b?l:l.href,new Promise((d,_)=>{fetch(F).then(g=>g.json()).then(g=>{g.items=g.items.filter(Q=>{let p=!0;return Q.gameCode=="OddsMatrix2"&&(g.count--,p=!1),p}),d(g)}).catch(g=>{console.error(g),_(g)})})},I=()=>{H({limit:100,device:t.getDevice(q),rounds:C}).then(s=>{if(s.count>0){let l=[];s.items.forEach(u=>{let d=new URL(`${o}/v1/casino/games/${u.gameId}`);d.searchParams.append("datasource",m),b?l.push(fetch(d.href).then(_=>_.json())):l.push(fetch(d.href).then(_=>_.json()))}),Promise.all(l).then(u=>{G=u.filter(d=>!("error"in d)).map(d=>d[0]),N==="true"&&(G=G.slice(0,JSON.parse(k))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)})}else a(18,O=!0)})},J=()=>{V(c)},Y=()=>{let s=document.createElement("style");s.innerHTML=y,f.appendChild(s)},B=()=>{let s=document.createElement("style");fetch(new URL(v)).then(l=>l.text()).then(l=>{s.innerHTML=l,setTimeout(()=>{f.appendChild(s)},1)})};function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,a(17,f)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,m=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),"clientstyling"in s&&a(6,y=s.clientstyling),"clientstylingurl"in s&&a(7,v=s.clientstylingurl),"livecasino"in s&&a(8,b=s.livecasino),"integratedgameframemobile"in s&&a(9,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,S=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,A=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"translationurl"in s&&a(20,w=s.translationurl),"casinomygames"in s&&a(15,N=s.casinomygames),"mostplayedperiod"in s&&a(21,P=s.mostplayedperiod),"mostplayedrounds"in s&&a(22,C=s.mostplayedrounds),"fetchviaevent"in s&&a(16,T=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&c&&I(),n.$$.dirty[0]&131136&&y&&f&&Y(),n.$$.dirty[0]&131200&&v&&f&&B(),n.$$.dirty[0]&1048576&&w&&z(),n.$$.dirty[0]&8&&c&&J()},[o,m,r,c,j,h,y,v,b,L,S,M,A,k,E,N,T,f,O,i,w,P,C,K]}class U 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,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},W,[-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 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 translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=U;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-hlupOGnG.cjs");require("./CasinoFavoritesSectionNd-247dKDFC.cjs");function D(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const R={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 W(n){t.append_styles(n,"svelte-14zqglz","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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 X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),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","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[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]&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 Z(n){let e,a=n[19]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,m){t.insert(o,e,m),t.append(e,i)},p(o,m){m[0]&524288&&a!==(a=o[19]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(r,c){return r[18]?Z:X}let o=i(n),m=o(n);return{c(){e=t.element("div"),a=t.element("div"),m.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),m.m(a,null),n[23](e)},p(r,c){o===(o=i(r))&&m?m.p(r,c):(m.d(1),m=o(r),m&&(m.c(),m.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),m.d(),n[23](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(19,i=s));let{endpoint:o=""}=e,{datasource:m=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:j=""}=e,{userid:h=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{livecasino:b="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:S="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:A=""}=e,{visiblegames:k}=e,{favorites:E=""}=e,{translationurl:w=""}=e,{casinomygames:N="false"}=e,{mostplayedperiod:P="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:T="true"}=e,q=window.navigator.userAgent;const z=()=>{fetch(w).then(l=>l.json()).then(l=>{Object.keys(l).forEach(u=>{D(u,l[u])})}).catch(l=>{console.log(l)})};Object.keys(R).forEach(s=>{D(s,R[s])});let G=[],F,O=!1,f;const H=s=>{let l=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&l.searchParams.append("limit",s.limit),s.order&&l.searchParams.append("order",s.order),l.searchParams.append("expand","games"),l.searchParams.append("period",P);let u=s.device;return u?u==="PC"?l.searchParams.append("device","Desktop"):l.searchParams.append("device","Mobile"):l.searchParams.append("device","All"),s.rounds&&l.searchParams.append("rounds",s.rounds),F=b?l:l.href,new Promise((d,_)=>{fetch(F).then(g=>g.json()).then(g=>{g.items=g.items.filter(Q=>{let p=!0;return Q.gameCode=="OddsMatrix2"&&(g.count--,p=!1),p}),d(g)}).catch(g=>{console.error(g),_(g)})})},I=()=>{H({limit:100,device:t.getDevice(q),rounds:C}).then(s=>{if(s.count>0){let l=[];s.items.forEach(u=>{let d=new URL(`${o}/v1/casino/games/${u.gameId}`);d.searchParams.append("datasource",m),b?l.push(fetch(d.href).then(_=>_.json())):l.push(fetch(d.href).then(_=>_.json()))}),Promise.all(l).then(u=>{G=u.filter(d=>!("error"in d)).map(d=>d[0]),N==="true"&&(G=G.slice(0,JSON.parse(k))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)})}else a(18,O=!0)})},J=()=>{V(c)},Y=()=>{let s=document.createElement("style");s.innerHTML=y,f.appendChild(s)},B=()=>{let s=document.createElement("style");fetch(new URL(v)).then(l=>l.text()).then(l=>{s.innerHTML=l,setTimeout(()=>{f.appendChild(s)},1)})};function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,a(17,f)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,m=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),"clientstyling"in s&&a(6,y=s.clientstyling),"clientstylingurl"in s&&a(7,v=s.clientstylingurl),"livecasino"in s&&a(8,b=s.livecasino),"integratedgameframemobile"in s&&a(9,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,S=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,A=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"translationurl"in s&&a(20,w=s.translationurl),"casinomygames"in s&&a(15,N=s.casinomygames),"mostplayedperiod"in s&&a(21,P=s.mostplayedperiod),"mostplayedrounds"in s&&a(22,C=s.mostplayedrounds),"fetchviaevent"in s&&a(16,T=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&c&&I(),n.$$.dirty[0]&131136&&y&&f&&Y(),n.$$.dirty[0]&131200&&v&&f&&B(),n.$$.dirty[0]&1048576&&w&&z(),n.$$.dirty[0]&8&&c&&J()},[o,m,r,c,j,h,y,v,b,L,S,M,A,k,E,N,T,f,O,i,w,P,C,K]}class U 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,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},W,[-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 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 translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=U;
|
package/components/{CasinoMostPlayedSectionNd-DT0BhU2p.js → CasinoMostPlayedSectionNd-BZLYBtpa.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as se, i as ae,
|
|
2
|
-
import "./CasinoFavoritesSectionNd-
|
|
3
|
-
function
|
|
1
|
+
import { a as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, v as S, d as M, w as J, D as H, j as A, k as le, U as me, n as re, T as n, u as ge, B as ce, F as de } from "./CasinoCalendar-Dp2YIBXE.js";
|
|
2
|
+
import "./CasinoFavoritesSectionNd-CuDySzEb.js";
|
|
3
|
+
function I(a, e) {
|
|
4
4
|
ee(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ue(a) {
|
|
7
7
|
te.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const B = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@ const J = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
function fe(a) {
|
|
66
|
-
|
|
66
|
+
oe(a, "svelte-14zqglz", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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))}");
|
|
67
67
|
}
|
|
68
68
|
function he(a) {
|
|
69
69
|
let e;
|
|
@@ -157,7 +157,7 @@ function he(a) {
|
|
|
157
157
|
);
|
|
158
158
|
},
|
|
159
159
|
m(s, i) {
|
|
160
|
-
|
|
160
|
+
M(s, e, i);
|
|
161
161
|
},
|
|
162
162
|
p(s, i) {
|
|
163
163
|
i[0] & /*session*/
|
|
@@ -265,7 +265,7 @@ function he(a) {
|
|
|
265
265
|
);
|
|
266
266
|
},
|
|
267
267
|
d(s) {
|
|
268
|
-
s &&
|
|
268
|
+
s && A(e);
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
}
|
|
@@ -279,15 +279,15 @@ function ye(a) {
|
|
|
279
279
|
e = N("p"), i = ge(s), S(e, "class", "SearchLoading");
|
|
280
280
|
},
|
|
281
281
|
m(r, m) {
|
|
282
|
-
|
|
282
|
+
M(r, e, m), J(e, i);
|
|
283
283
|
},
|
|
284
284
|
p(r, m) {
|
|
285
285
|
m[0] & /*$_*/
|
|
286
286
|
524288 && s !== (s = /*$_*/
|
|
287
|
-
r[19]("noGames") + "") &&
|
|
287
|
+
r[19]("noGames") + "") && ce(i, s);
|
|
288
288
|
},
|
|
289
289
|
d(r) {
|
|
290
|
-
r &&
|
|
290
|
+
r && A(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
@@ -305,41 +305,41 @@ function ve(a) {
|
|
|
305
305
|
e = N("div"), s = N("div"), m.c(), S(s, "class", "casino-most-played-section"), S(e, "class", "CasinoGamesCategorySectionContainer");
|
|
306
306
|
},
|
|
307
307
|
m(g, c) {
|
|
308
|
-
|
|
308
|
+
M(g, e, c), J(e, s), m.m(s, null), a[23](e);
|
|
309
309
|
},
|
|
310
310
|
p(g, c) {
|
|
311
311
|
r === (r = i(g)) && m ? m.p(g, c) : (m.d(1), m = r(g), m && (m.c(), m.m(s, null)));
|
|
312
312
|
},
|
|
313
|
-
i:
|
|
314
|
-
o:
|
|
313
|
+
i: H,
|
|
314
|
+
o: H,
|
|
315
315
|
d(g) {
|
|
316
|
-
g &&
|
|
316
|
+
g && A(e), m.d(), a[23](null);
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
320
|
function be(a, e, s) {
|
|
321
321
|
let i;
|
|
322
|
-
|
|
323
|
-
let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: T = "false" } = e, { gamepagemodalurl:
|
|
324
|
-
const
|
|
322
|
+
le(a, de, (t) => s(19, i = t));
|
|
323
|
+
let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: T = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P } = e, { favorites: U = "" } = e, { translationurl: k = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: R = "true" } = e, Y = window.navigator.userAgent;
|
|
324
|
+
const K = () => {
|
|
325
325
|
fetch(k).then((o) => o.json()).then((o) => {
|
|
326
326
|
Object.keys(o).forEach((d) => {
|
|
327
|
-
|
|
327
|
+
I(d, o[d]);
|
|
328
328
|
});
|
|
329
329
|
}).catch((o) => {
|
|
330
330
|
console.log(o);
|
|
331
331
|
});
|
|
332
332
|
};
|
|
333
|
-
Object.keys(
|
|
334
|
-
|
|
333
|
+
Object.keys(B).forEach((t) => {
|
|
334
|
+
I(t, B[t]);
|
|
335
335
|
});
|
|
336
|
-
let G = [],
|
|
337
|
-
const
|
|
336
|
+
let G = [], z, p = !1, h;
|
|
337
|
+
const Q = (t) => {
|
|
338
338
|
let o = new URL(`${r}/v1/player/${v}/games/most-played`);
|
|
339
339
|
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
|
|
340
340
|
let d = t.device;
|
|
341
|
-
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds),
|
|
342
|
-
fetch(
|
|
341
|
+
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = w ? o : o.href, new Promise((u, y) => {
|
|
342
|
+
fetch(z).then((f) => f.json()).then((f) => {
|
|
343
343
|
f.items = f.items.filter(($) => {
|
|
344
344
|
let q = !0;
|
|
345
345
|
return $.gameCode == "OddsMatrix2" && (f.count--, q = !1), q;
|
|
@@ -349,9 +349,9 @@ function be(a, e, s) {
|
|
|
349
349
|
});
|
|
350
350
|
});
|
|
351
351
|
}, V = () => {
|
|
352
|
-
|
|
352
|
+
Q({
|
|
353
353
|
limit: 100,
|
|
354
|
-
device:
|
|
354
|
+
device: me(Y),
|
|
355
355
|
rounds: L
|
|
356
356
|
}).then((t) => {
|
|
357
357
|
if (t.count > 0) {
|
|
@@ -363,7 +363,7 @@ function be(a, e, s) {
|
|
|
363
363
|
G = d.filter((u) => !("error" in u)).map((u) => u[0]), C === "true" && (G = G.slice(0, JSON.parse(P))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: G }, window.location.href);
|
|
364
364
|
});
|
|
365
365
|
} else
|
|
366
|
-
s(18,
|
|
366
|
+
s(18, p = !0);
|
|
367
367
|
});
|
|
368
368
|
}, W = () => {
|
|
369
369
|
ue(c);
|
|
@@ -382,18 +382,18 @@ function be(a, e, s) {
|
|
|
382
382
|
});
|
|
383
383
|
};
|
|
384
384
|
function x(t) {
|
|
385
|
-
|
|
385
|
+
re[t ? "unshift" : "push"](() => {
|
|
386
386
|
h = t, s(17, h);
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
return a.$$set = (t) => {
|
|
390
|
-
"endpoint" in t && s(0, r = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, T = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11,
|
|
390
|
+
"endpoint" in t && s(0, r = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, T = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, D = t.gamepagemodalurl), "showgamename" in t && s(12, O = t.showgamename), "visiblegames" in t && s(13, P = t.visiblegames), "favorites" in t && s(14, U = t.favorites), "translationurl" in t && s(20, k = t.translationurl), "casinomygames" in t && s(15, C = t.casinomygames), "mostplayedperiod" in t && s(21, j = t.mostplayedperiod), "mostplayedrounds" in t && s(22, L = t.mostplayedrounds), "fetchviaevent" in t && s(16, R = t.fetchviaevent);
|
|
391
391
|
}, a.$$.update = () => {
|
|
392
392
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
393
393
|
41 && r && v && c && V(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
394
394
|
131136 && b && h && X(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
395
395
|
131200 && _ && h && Z(), a.$$.dirty[0] & /*translationurl*/
|
|
396
|
-
1048576 && k &&
|
|
396
|
+
1048576 && k && K(), a.$$.dirty[0] & /*lang*/
|
|
397
397
|
8 && c && W();
|
|
398
398
|
}, [
|
|
399
399
|
r,
|
|
@@ -407,14 +407,14 @@ function be(a, e, s) {
|
|
|
407
407
|
w,
|
|
408
408
|
F,
|
|
409
409
|
T,
|
|
410
|
-
O,
|
|
411
410
|
D,
|
|
411
|
+
O,
|
|
412
412
|
P,
|
|
413
|
-
R,
|
|
414
|
-
C,
|
|
415
413
|
U,
|
|
414
|
+
C,
|
|
415
|
+
R,
|
|
416
416
|
h,
|
|
417
|
-
|
|
417
|
+
p,
|
|
418
418
|
i,
|
|
419
419
|
k,
|
|
420
420
|
j,
|
|
@@ -429,7 +429,7 @@ class _e extends se {
|
|
|
429
429
|
e,
|
|
430
430
|
be,
|
|
431
431
|
ve,
|
|
432
|
-
|
|
432
|
+
ie,
|
|
433
433
|
{
|
|
434
434
|
endpoint: 0,
|
|
435
435
|
datasource: 1,
|
|
@@ -577,7 +577,7 @@ class _e extends se {
|
|
|
577
577
|
this.$$set({ fetchviaevent: e }), l();
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
|
|
580
|
+
ne(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
581
581
|
export {
|
|
582
582
|
_e as default
|
|
583
583
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as T, R as ge, a as he, S as ve, i as pe, f as u, c as be, s as _e, b as Pe, e as b, d as _, D as Y, j as P, k as we, o as Me, m as ke, n as Fe, q as x, r as O, v as M, w as p, C as Le, H as Ce, F as Ge, u as L, x as N, B as q, T as i } from "./CasinoCalendar-Dp2YIBXE.js";
|
|
2
2
|
function Ee({ withLocale: a, translations: e }) {
|
|
3
|
-
|
|
4
|
-
t == null && (ge.set(e),
|
|
3
|
+
T.subscribe((t) => {
|
|
4
|
+
t == null && (ge.set(e), T.set(a));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function $(a, e) {
|
|
8
8
|
he(a, e);
|
|
9
9
|
}
|
|
10
10
|
function Be(a) {
|
|
11
|
-
|
|
11
|
+
T.set(a);
|
|
12
12
|
}
|
|
13
13
|
const ee = {
|
|
14
14
|
en: {
|
|
@@ -114,7 +114,7 @@ if (typeof window < "u") {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-
|
|
117
|
+
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-CuDySzEb.js").then(({ default: e }) => {
|
|
118
118
|
!customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
|
|
119
119
|
});
|
|
120
120
|
}
|
|
@@ -130,7 +130,7 @@ if (typeof window < "u") {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
-
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-
|
|
133
|
+
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-D5LPHn4E.js").then(({ default: e }) => {
|
|
134
134
|
!customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -146,12 +146,12 @@ if (typeof window < "u") {
|
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-
|
|
149
|
+
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-BZLYBtpa.js").then(({ default: e }) => {
|
|
150
150
|
!customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
function Oe(a) {
|
|
154
|
-
|
|
154
|
+
Pe(a, "svelte-nbkt6a", ".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, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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}");
|
|
155
155
|
}
|
|
156
156
|
function te(a, e, t) {
|
|
157
157
|
const s = a.slice();
|
|
@@ -172,11 +172,11 @@ function Ae(a) {
|
|
|
172
172
|
if (
|
|
173
173
|
/*gamesType*/
|
|
174
174
|
f[25] == "MostPlayed"
|
|
175
|
-
) return
|
|
175
|
+
) return je;
|
|
176
176
|
if (
|
|
177
177
|
/*gamesType*/
|
|
178
178
|
f[25] == "LastPlayed"
|
|
179
|
-
) return
|
|
179
|
+
) return De;
|
|
180
180
|
}
|
|
181
181
|
let v = h(a), y = v && v(a);
|
|
182
182
|
return {
|
|
@@ -188,7 +188,7 @@ function Ae(a) {
|
|
|
188
188
|
(a[26] ? "Mobile" : ""));
|
|
189
189
|
},
|
|
190
190
|
m(f, g) {
|
|
191
|
-
|
|
191
|
+
_(f, e, g), p(e, t), p(t, s);
|
|
192
192
|
for (let c = 0; c < r.length; c += 1)
|
|
193
193
|
r[c] && r[c].m(s, null);
|
|
194
194
|
p(e, m), p(e, n), y && y.m(n, null);
|
|
@@ -214,7 +214,7 @@ function Ae(a) {
|
|
|
214
214
|
(f[26] ? "Mobile" : "")) && M(e, "class", d);
|
|
215
215
|
},
|
|
216
216
|
d(f) {
|
|
217
|
-
f &&
|
|
217
|
+
f && P(e), Le(r, f), y && y.d();
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
}
|
|
@@ -233,7 +233,7 @@ function ae(a) {
|
|
|
233
233
|
(a[14] == "false" ? "Off" : ""));
|
|
234
234
|
},
|
|
235
235
|
m(f, g) {
|
|
236
|
-
|
|
236
|
+
_(f, e, g), p(e, s), p(e, m), p(e, n), p(n, d), p(n, o), p(n, r), v || (y = N(
|
|
237
237
|
e,
|
|
238
238
|
"click",
|
|
239
239
|
/*click_handler*/
|
|
@@ -254,7 +254,7 @@ function ae(a) {
|
|
|
254
254
|
(f[14] == "false" ? "Off" : "")) && M(e, "class", h);
|
|
255
255
|
},
|
|
256
256
|
d(f) {
|
|
257
|
-
f &&
|
|
257
|
+
f && P(e), v = !1, y();
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
260
|
}
|
|
@@ -270,7 +270,7 @@ function se(a) {
|
|
|
270
270
|
(a[15] == "false" ? "Off" : ""));
|
|
271
271
|
},
|
|
272
272
|
m(o, r) {
|
|
273
|
-
|
|
273
|
+
_(o, e, r), p(e, s), n || (d = N(
|
|
274
274
|
e,
|
|
275
275
|
"click",
|
|
276
276
|
/*click_handler_1*/
|
|
@@ -286,7 +286,7 @@ function se(a) {
|
|
|
286
286
|
(o[15] == "false" ? "Off" : "")) && M(e, "class", m);
|
|
287
287
|
},
|
|
288
288
|
d(o) {
|
|
289
|
-
o &&
|
|
289
|
+
o && P(e), n = !1, d();
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
@@ -302,7 +302,7 @@ function ie(a) {
|
|
|
302
302
|
(a[16] == "false" ? "Off" : ""));
|
|
303
303
|
},
|
|
304
304
|
m(r, h) {
|
|
305
|
-
|
|
305
|
+
_(r, e, h), p(e, s), p(e, m), d || (o = N(
|
|
306
306
|
e,
|
|
307
307
|
"click",
|
|
308
308
|
/*click_handler_2*/
|
|
@@ -318,7 +318,7 @@ function ie(a) {
|
|
|
318
318
|
(r[16] == "false" ? "Off" : "")) && M(e, "class", n);
|
|
319
319
|
},
|
|
320
320
|
d(r) {
|
|
321
|
-
r &&
|
|
321
|
+
r && P(e), d = !1, o();
|
|
322
322
|
}
|
|
323
323
|
};
|
|
324
324
|
}
|
|
@@ -335,10 +335,10 @@ function le(a) {
|
|
|
335
335
|
);
|
|
336
336
|
return {
|
|
337
337
|
c() {
|
|
338
|
-
m && m.c(), e = O(), n && n.c(), t = O(), d && d.c(), s =
|
|
338
|
+
m && m.c(), e = O(), n && n.c(), t = O(), d && d.c(), s = Ce();
|
|
339
339
|
},
|
|
340
340
|
m(o, r) {
|
|
341
|
-
m && m.m(o, r),
|
|
341
|
+
m && m.m(o, r), _(o, e, r), n && n.m(o, r), _(o, t, r), d && d.m(o, r), _(o, s, r);
|
|
342
342
|
},
|
|
343
343
|
p(o, r) {
|
|
344
344
|
/*tab*/
|
|
@@ -347,11 +347,11 @@ function le(a) {
|
|
|
347
347
|
o[43] == "LastPlayed" ? d ? d.p(o, r) : (d = ie(o), d.c(), d.m(s.parentNode, s)) : d && (d.d(1), d = null);
|
|
348
348
|
},
|
|
349
349
|
d(o) {
|
|
350
|
-
o && (
|
|
350
|
+
o && (P(e), P(t), P(s)), m && m.d(o), n && n.d(o), d && d.d(o);
|
|
351
351
|
}
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function De(a) {
|
|
355
355
|
let e;
|
|
356
356
|
return {
|
|
357
357
|
c() {
|
|
@@ -458,7 +458,7 @@ function je(a) {
|
|
|
458
458
|
);
|
|
459
459
|
},
|
|
460
460
|
m(t, s) {
|
|
461
|
-
|
|
461
|
+
_(t, e, s);
|
|
462
462
|
},
|
|
463
463
|
p(t, s) {
|
|
464
464
|
s[0] & /*userid*/
|
|
@@ -584,11 +584,11 @@ function je(a) {
|
|
|
584
584
|
);
|
|
585
585
|
},
|
|
586
586
|
d(t) {
|
|
587
|
-
t &&
|
|
587
|
+
t && P(e);
|
|
588
588
|
}
|
|
589
589
|
};
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function je(a) {
|
|
592
592
|
let e;
|
|
593
593
|
return {
|
|
594
594
|
c() {
|
|
@@ -685,7 +685,7 @@ function De(a) {
|
|
|
685
685
|
);
|
|
686
686
|
},
|
|
687
687
|
m(t, s) {
|
|
688
|
-
|
|
688
|
+
_(t, e, s);
|
|
689
689
|
},
|
|
690
690
|
p(t, s) {
|
|
691
691
|
s[0] & /*endpoint*/
|
|
@@ -799,7 +799,7 @@ function De(a) {
|
|
|
799
799
|
);
|
|
800
800
|
},
|
|
801
801
|
d(t) {
|
|
802
|
-
t &&
|
|
802
|
+
t && P(e);
|
|
803
803
|
}
|
|
804
804
|
};
|
|
805
805
|
}
|
|
@@ -890,7 +890,7 @@ function qe(a) {
|
|
|
890
890
|
);
|
|
891
891
|
},
|
|
892
892
|
m(t, s) {
|
|
893
|
-
|
|
893
|
+
_(t, e, s);
|
|
894
894
|
},
|
|
895
895
|
p(t, s) {
|
|
896
896
|
s[0] & /*session*/
|
|
@@ -992,7 +992,7 @@ function qe(a) {
|
|
|
992
992
|
);
|
|
993
993
|
},
|
|
994
994
|
d(t) {
|
|
995
|
-
t &&
|
|
995
|
+
t && P(e);
|
|
996
996
|
}
|
|
997
997
|
};
|
|
998
998
|
}
|
|
@@ -1010,7 +1010,7 @@ function Se(a) {
|
|
|
1010
1010
|
e = b("div"), m && m.c();
|
|
1011
1011
|
},
|
|
1012
1012
|
m(n, d) {
|
|
1013
|
-
|
|
1013
|
+
_(n, e, d), m && m.m(e, null), a[35](e);
|
|
1014
1014
|
},
|
|
1015
1015
|
p(n, d) {
|
|
1016
1016
|
s === (s = t(n)) && m ? m.p(n, d) : (m && m.d(1), m = s && s(n), m && (m.c(), m.m(e, null)));
|
|
@@ -1018,14 +1018,14 @@ function Se(a) {
|
|
|
1018
1018
|
i: Y,
|
|
1019
1019
|
o: Y,
|
|
1020
1020
|
d(n) {
|
|
1021
|
-
n &&
|
|
1021
|
+
n && P(e), m && m.d(), a[35](null);
|
|
1022
1022
|
}
|
|
1023
1023
|
};
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1025
|
+
function Te(a, e, t) {
|
|
1026
1026
|
let s;
|
|
1027
|
-
|
|
1028
|
-
let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: C = "" } = e, { integratedgameframedesktop: H = "" } = e, { integratedgameframemobile:
|
|
1027
|
+
we(a, Ge, (l) => t(29, s = l));
|
|
1028
|
+
let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: C = "" } = e, { integratedgameframedesktop: H = "" } = e, { integratedgameframemobile: R = "" } = e, { translationurl: A = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: U = "false" } = e, { lastplayedperiod: z = "Last30Days" } = e, { mostplayedperiod: I = "Last30Days" } = e, { lastplayedorder: J = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: K = "" } = e, ne = window.navigator.userAgent, k, D = "", Q = !1, F = ["", "", ""], S = "0";
|
|
1029
1029
|
Ee({ withLocale: "en", translations: {} });
|
|
1030
1030
|
const oe = () => {
|
|
1031
1031
|
fetch(A).then((w) => w.json()).then((w) => {
|
|
@@ -1039,10 +1039,10 @@ function Ne(a, e, t) {
|
|
|
1039
1039
|
Object.keys(ee).forEach((l) => {
|
|
1040
1040
|
$(l, ee[l]);
|
|
1041
1041
|
});
|
|
1042
|
-
const
|
|
1043
|
-
|
|
1042
|
+
const j = (l) => {
|
|
1043
|
+
D !== l && t(25, D = l);
|
|
1044
1044
|
}, re = () => {
|
|
1045
|
-
t(25,
|
|
1045
|
+
t(25, D = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(27, F[0] = G === "true" ? "Favorites" : "", F), t(27, F[1] = E === "true" ? "MostPlayed" : "", F), t(27, F[2] = B === "true" ? "LastPlayed" : "", F), Be(r);
|
|
1046
1046
|
}, me = () => {
|
|
1047
1047
|
let l = document.createElement("style");
|
|
1048
1048
|
l.innerHTML = v, k.appendChild(l);
|
|
@@ -1064,17 +1064,17 @@ function Ne(a, e, t) {
|
|
|
1064
1064
|
break;
|
|
1065
1065
|
}
|
|
1066
1066
|
};
|
|
1067
|
-
|
|
1067
|
+
Me(() => (window.addEventListener("message", W, !1), t(26, Q = ke(ne)), () => {
|
|
1068
1068
|
window.removeEventListener("message", W);
|
|
1069
1069
|
}));
|
|
1070
|
-
const fe = () =>
|
|
1070
|
+
const fe = () => j("Favorites"), ue = () => j("MostPlayed"), ye = () => j("LastPlayed");
|
|
1071
1071
|
function ce(l) {
|
|
1072
|
-
|
|
1072
|
+
Fe[l ? "unshift" : "push"](() => {
|
|
1073
1073
|
k = l, t(24, k);
|
|
1074
1074
|
});
|
|
1075
1075
|
}
|
|
1076
1076
|
return a.$$set = (l) => {
|
|
1077
|
-
"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, v = 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, C = l.showgamename), "integratedgameframedesktop" in l && t(12, H = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13,
|
|
1077
|
+
"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, v = 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, C = l.showgamename), "integratedgameframedesktop" in l && t(12, H = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, R = l.integratedgameframemobile), "translationurl" in l && t(31, A = l.translationurl), "favorites" in l && t(14, G = l.favorites), "mostplayed" in l && t(15, E = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, U = l.casinomygames), "lastplayedperiod" in l && t(18, z = l.lastplayedperiod), "mostplayedperiod" in l && t(19, I = l.mostplayedperiod), "lastplayedorder" in l && t(20, J = l.lastplayedorder), "lastplayedlimit" in l && t(21, V = l.lastplayedlimit), "lastplayedunique" in l && t(22, Z = l.lastplayedunique), "mostplayedrounds" in l && t(23, K = l.mostplayedrounds);
|
|
1078
1078
|
}, a.$$.update = () => {
|
|
1079
1079
|
a.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
|
|
1080
1080
|
114716 && d && o && r && G && E && B && re(), a.$$.dirty[1] & /*translationurl*/
|
|
@@ -1095,24 +1095,24 @@ function Ne(a, e, t) {
|
|
|
1095
1095
|
c,
|
|
1096
1096
|
C,
|
|
1097
1097
|
H,
|
|
1098
|
-
|
|
1098
|
+
R,
|
|
1099
1099
|
G,
|
|
1100
1100
|
E,
|
|
1101
1101
|
B,
|
|
1102
|
+
U,
|
|
1102
1103
|
z,
|
|
1103
1104
|
I,
|
|
1104
|
-
R,
|
|
1105
1105
|
J,
|
|
1106
1106
|
V,
|
|
1107
1107
|
Z,
|
|
1108
1108
|
K,
|
|
1109
1109
|
k,
|
|
1110
|
-
|
|
1110
|
+
D,
|
|
1111
1111
|
Q,
|
|
1112
1112
|
F,
|
|
1113
1113
|
S,
|
|
1114
1114
|
s,
|
|
1115
|
-
|
|
1115
|
+
j,
|
|
1116
1116
|
A,
|
|
1117
1117
|
fe,
|
|
1118
1118
|
ue,
|
|
@@ -1120,14 +1120,14 @@ function Ne(a, e, t) {
|
|
|
1120
1120
|
ce
|
|
1121
1121
|
];
|
|
1122
1122
|
}
|
|
1123
|
-
class
|
|
1123
|
+
class Ne extends ve {
|
|
1124
1124
|
constructor(e) {
|
|
1125
1125
|
super(), pe(
|
|
1126
1126
|
this,
|
|
1127
1127
|
e,
|
|
1128
|
-
|
|
1128
|
+
Te,
|
|
1129
1129
|
Se,
|
|
1130
|
-
|
|
1130
|
+
_e,
|
|
1131
1131
|
{
|
|
1132
1132
|
userid: 0,
|
|
1133
1133
|
session: 1,
|
|
@@ -1310,7 +1310,7 @@ class Te extends ve {
|
|
|
1310
1310
|
this.$$set({ mostplayedrounds: e }), u();
|
|
1311
1311
|
}
|
|
1312
1312
|
}
|
|
1313
|
-
|
|
1313
|
+
be(Ne, { userid: {}, session: {}, endpoint: {}, datasource: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, visiblegames: {}, gamepagemodalurl: {}, showgamename: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, translationurl: {}, favorites: {}, mostplayed: {}, lastplayed: {}, casinomygames: {}, lastplayedperiod: {}, mostplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, lastplayedunique: {}, mostplayedrounds: {} }, [], [], !0);
|
|
1314
1314
|
export {
|
|
1315
|
-
|
|
1315
|
+
Ne as default
|
|
1316
1316
|
};
|