@everymatrix/casino-my-games-nd 1.87.19 → 1.87.21
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/{CasinoFavoritesSectionNd-QbHGVmxJ.cjs → CasinoFavoritesSectionNd-BeNK2H3t.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-gKLGtkHc.js → CasinoFavoritesSectionNd-CW_9L0KX.js} +1 -1
- package/components/{CasinoFavoritesSectionNd-CSAPku1d.js → CasinoFavoritesSectionNd-Df7AsFyl.js} +1 -1
- package/components/{CasinoFilter-CyB6v7om.js → CasinoFilter-B5ctcxIi.js} +1 -1
- package/components/{CasinoFilter-C4dT1ABq.cjs → CasinoFilter-BAF26Qks.cjs} +1 -1
- package/components/{CasinoFilter-DOXcrid8.js → CasinoFilter-CkDqcbsE.js} +1 -1
- package/components/CasinoGameThumbnailNd-BC4qO6Wv.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-ElS6ujWq.js → CasinoGameThumbnailNd-Cf0yYAlm.js} +3 -3
- package/components/{CasinoGameThumbnailNd-CDG_2Lc8.js → CasinoGameThumbnailNd-krS0hcHc.js} +3 -3
- package/components/{CasinoGamesCategorySectionNd-DStTR-Pr.js → CasinoGamesCategorySectionNd--26wgDSA.js} +6 -6
- package/components/{CasinoGamesCategorySectionNd-CzGLQqrN.cjs → CasinoGamesCategorySectionNd-CAPj_mei.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-nIDQ8Etn.js → CasinoGamesCategorySectionNd-CcHVOCjP.js} +6 -6
- package/components/{CasinoLastPlayedSectionNd-CDQzWuVY.js → CasinoLastPlayedSectionNd-BNqrgb0a.js} +3 -3
- package/components/{CasinoLastPlayedSectionNd-BkSuAsYO.cjs → CasinoLastPlayedSectionNd-BiN-eLjS.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-Is2mAgsc.js → CasinoLastPlayedSectionNd-BlqDt6rh.js} +3 -3
- package/components/{CasinoMostPlayedSectionNd-CWJgt72Q.js → CasinoMostPlayedSectionNd-BBa-HSUH.js} +3 -3
- package/components/{CasinoMostPlayedSectionNd-HHkQ-vg5.js → CasinoMostPlayedSectionNd-cnY_XdFa.js} +3 -3
- package/components/{CasinoMostPlayedSectionNd-Dop7g3Nr.cjs → CasinoMostPlayedSectionNd-xhyYFecB.cjs} +1 -1
- package/components/{CasinoMyGamesNd-Lwax3H_y.js → CasinoMyGamesNd-BuINvDGu.js} +6 -6
- package/components/{CasinoMyGamesNd-BSd8NF0t.js → CasinoMyGamesNd-CteUrSBV.js} +6 -6
- package/components/{CasinoMyGamesNd-C_leAMck.cjs → CasinoMyGamesNd-DOYU176c.cjs} +1 -1
- package/components/{CasinoSort-BjTVmddt.js → CasinoSort-1CGgZmtY.js} +1 -1
- package/components/{CasinoSort-Cs-Nczkq.cjs → CasinoSort-ChRHQzFr.cjs} +1 -1
- package/components/{CasinoSort-BjsoFek1.js → CasinoSort-DnexQ1Yk.js} +1 -1
- package/es2015/casino-my-games-nd.cjs +1 -1
- package/es2015/casino-my-games-nd.js +1 -1
- package/esnext/casino-my-games-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoGameThumbnailNd-DLG9VFk9.cjs +0 -30
package/components/{CasinoLastPlayedSectionNd-BkSuAsYO.cjs → CasinoLastPlayedSectionNd-BiN-eLjS.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-QbHGVmxJ.cjs"),Q=require("./CasinoFilter-C4dT1ABq.cjs"),W=require("./CasinoGameThumbnailNd-DLG9VFk9.cjs");function X(n,e){t.addMessages(n,e)}function p(n){t.$locale.set(n)}const x={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 $(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 ee(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[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),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,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),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]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),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,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function te(n){let e,a=n[21]("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]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function ae(n){let e,a;function i(u,d){return u[20]?te:ee}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 se(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:R=""}=e,{userid:y=""}=e,{mbsource:_}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:h=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:A="false"}=e,{integratedgameframedesktop:T="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:N=""}=e,{visiblegames:k=""}=e,{favorites:F=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:L=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:D="true"}=e,Y=window.navigator.userAgent,z=!1,S=[],E,g,I;const G=s=>{Object.keys(s).forEach(r=>{X(r,s[r])})},J=()=>{fetch(h).then(r=>r.json()).then(r=>{G(r)}).catch(r=>{console.log(r)})};G(x);const B=()=>new Promise((s,r)=>{let c=new URL(`${o}/v1/player/${y}/games/last-played`);c.searchParams.append("unique",q),c.searchParams.append("limit",L),c.searchParams.append("order",C),c.searchParams.append("period",P),Q.getDevice(Y)==="PC"?c.searchParams.append("device","Desktop"):c.searchParams.append("device","Mobile"),E=w?c:c.href,fetch(E).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let O=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,O=!1),O}),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),r(m)})}),H=()=>{B().then(s=>{if(s.count>0){let r=[];s.items.forEach(c=>{let f=new URL(`${o}/v1/casino/games/${c.gameId}`);f.searchParams.append("datasource",l),w?r.push(fetch(f.href).then(m=>m.json())):r.push(fetch(f.href).then(m=>m.json()))}),Promise.all(r).then(c=>{S=c.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(S=S.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:S},window.location.href)})}else a(20,z=!0)})},V=()=>{p(d)};t.onMount(()=>()=>{});function Z(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,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,R=s.session),"userid"in s&&a(5,y=s.userid),"mbsource"in s&&a(6,_=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"translationurl"in s&&a(9,h=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,A=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,T=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,N=s.showgamename),"visiblegames"in s&&a(15,k=s.visiblegames),"favorites"in s&&a(16,F=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,L=s.lastplayedlimit),"casinomygames"in s&&a(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&y&&d&&H(),n.$$.dirty[0]&512&&h&&J(),n.$$.dirty[0]&524416&&b&&g&&t.setClientStyling(g,b),n.$$.dirty[0]&524544&&v&&g&&t.setClientStylingURL(g,v),n.$$.dirty[0]&524352&&_&&g&&t.setStreamStyling(g,`${_}.Style`),n.$$.dirty[0]&576&&_&&!h&&W.getStreamTranslations(`${_}.Translation`,I,G),n.$$.dirty[0]&8&&d&&V()},[o,l,u,d,R,y,_,b,v,h,w,A,T,M,N,k,F,j,D,g,z,i,P,C,L,q,Z]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,se,ae,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},$,[-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 translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}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[17]}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[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=U;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-BeNK2H3t.cjs"),Q=require("./CasinoFilter-BAF26Qks.cjs"),W=require("./CasinoGameThumbnailNd-BC4qO6Wv.cjs");function X(n,e){t.addMessages(n,e)}function p(n){t.$locale.set(n)}const x={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 $(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 ee(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[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),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,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),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]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),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,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function te(n){let e,a=n[21]("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]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function ae(n){let e,a;function i(u,d){return u[20]?te:ee}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 se(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:R=""}=e,{userid:y=""}=e,{mbsource:_}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:h=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:A="false"}=e,{integratedgameframedesktop:T="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:N=""}=e,{visiblegames:k=""}=e,{favorites:F=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:L=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:D="true"}=e,Y=window.navigator.userAgent,z=!1,S=[],E,g,I;const G=s=>{Object.keys(s).forEach(r=>{X(r,s[r])})},J=()=>{fetch(h).then(r=>r.json()).then(r=>{G(r)}).catch(r=>{console.log(r)})};G(x);const B=()=>new Promise((s,r)=>{let c=new URL(`${o}/v1/player/${y}/games/last-played`);c.searchParams.append("unique",q),c.searchParams.append("limit",L),c.searchParams.append("order",C),c.searchParams.append("period",P),Q.getDevice(Y)==="PC"?c.searchParams.append("device","Desktop"):c.searchParams.append("device","Mobile"),E=w?c:c.href,fetch(E).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let O=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,O=!1),O}),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),r(m)})}),H=()=>{B().then(s=>{if(s.count>0){let r=[];s.items.forEach(c=>{let f=new URL(`${o}/v1/casino/games/${c.gameId}`);f.searchParams.append("datasource",l),w?r.push(fetch(f.href).then(m=>m.json())):r.push(fetch(f.href).then(m=>m.json()))}),Promise.all(r).then(c=>{S=c.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(S=S.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:S},window.location.href)})}else a(20,z=!0)})},V=()=>{p(d)};t.onMount(()=>()=>{});function Z(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,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,R=s.session),"userid"in s&&a(5,y=s.userid),"mbsource"in s&&a(6,_=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"translationurl"in s&&a(9,h=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,A=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,T=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,N=s.showgamename),"visiblegames"in s&&a(15,k=s.visiblegames),"favorites"in s&&a(16,F=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,L=s.lastplayedlimit),"casinomygames"in s&&a(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&y&&d&&H(),n.$$.dirty[0]&512&&h&&J(),n.$$.dirty[0]&524416&&b&&g&&t.setClientStyling(g,b),n.$$.dirty[0]&524544&&v&&g&&t.setClientStylingURL(g,v),n.$$.dirty[0]&524352&&_&&g&&t.setStreamStyling(g,`${_}.Style`),n.$$.dirty[0]&576&&_&&!h&&W.getStreamTranslations(`${_}.Translation`,I,G),n.$$.dirty[0]&8&&d&&V()},[o,l,u,d,R,y,_,b,v,h,w,A,T,M,N,k,F,j,D,g,z,i,P,C,L,q,Z]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,se,ae,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},$,[-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 translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}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[17]}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[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=U;
|
package/components/{CasinoLastPlayedSectionNd-Is2mAgsc.js → CasinoLastPlayedSectionNd-BlqDt6rh.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as H, d as M, e as T, q as V, g as P, k as D, h as le, o as re, j as oe, p as ue, w as me, E as i, z as ce, A as ge, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { g as ye } from "./CasinoFilter-
|
|
3
|
-
import { g as be } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as H, d as M, e as T, q as V, g as P, k as D, h as le, o as re, j as oe, p as ue, w as me, E as i, z as ce, A as ge, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-Df7AsFyl.js";
|
|
2
|
+
import { g as ye } from "./CasinoFilter-CkDqcbsE.js";
|
|
3
|
+
import { g as be } from "./CasinoGameThumbnailNd-krS0hcHc.js";
|
|
4
4
|
function ve(s, e) {
|
|
5
5
|
ee(s, e);
|
|
6
6
|
}
|
package/components/{CasinoMostPlayedSectionNd-CWJgt72Q.js → CasinoMostPlayedSectionNd-BBa-HSUH.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as $, $ as ee, S as te, i as se, s as ae, f as r, c as ne, n as Y, d as T, e as D, q as H, g as P, k as A, h as ie, o as oe, j as re, p as le, w as me, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { g as he } from "./CasinoFilter-
|
|
3
|
-
import { g as ye } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { b as $, $ as ee, S as te, i as se, s as ae, f as r, c as ne, n as Y, d as T, e as D, q as H, g as P, k as A, h as ie, o as oe, j as re, p as le, w as me, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSectionNd-Df7AsFyl.js";
|
|
2
|
+
import { g as he } from "./CasinoFilter-CkDqcbsE.js";
|
|
3
|
+
import { g as ye } from "./CasinoGameThumbnailNd-krS0hcHc.js";
|
|
4
4
|
function be(a, e) {
|
|
5
5
|
$(a, e);
|
|
6
6
|
}
|
package/components/{CasinoMostPlayedSectionNd-HHkQ-vg5.js → CasinoMostPlayedSectionNd-cnY_XdFa.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as $, $ as ee, S as te, i as se, s as ae, f as r, c as ne, n as Y, d as T, e as D, q as H, g as P, k as A, h as ie, o as oe, j as re, p as le, w as me, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { g as he } from "./CasinoFilter-
|
|
3
|
-
import { g as ye } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { b as $, $ as ee, S as te, i as se, s as ae, f as r, c as ne, n as Y, d as T, e as D, q as H, g as P, k as A, h as ie, o as oe, j as re, p as le, w as me, E as n, z as ge, A as ce, B as ue, C as de, D as fe } from "./CasinoFavoritesSectionNd-CW_9L0KX.js";
|
|
2
|
+
import { g as he } from "./CasinoFilter-B5ctcxIi.js";
|
|
3
|
+
import { g as ye } from "./CasinoGameThumbnailNd-Cf0yYAlm.js";
|
|
4
4
|
function be(a, e) {
|
|
5
5
|
$(a, e);
|
|
6
6
|
}
|
package/components/{CasinoMostPlayedSectionNd-Dop7g3Nr.cjs → CasinoMostPlayedSectionNd-xhyYFecB.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-QbHGVmxJ.cjs"),V=require("./CasinoFilter-C4dT1ABq.cjs"),W=require("./CasinoGameThumbnailNd-DLG9VFk9.cjs");function X(n,e){t.addMessages(n,e)}function Z(n){t.$locale.set(n)}const p={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 $(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[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),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,"translationurl",n[16]),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[17]),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]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),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]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),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]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function ee(n){let e,a=n[21]("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]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function te(n){let e,a;function i(r,u){return r[20]?ee:$}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,u){t.insert(r,e,u),t.append(e,a),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(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 se(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:M=""}=e,{userid:b=""}=e,{mbsource:_}=e,{clientstyling:v=""}=e,{clientstylingurl:G=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:T="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:F=""}=e,{visiblegames:k}=e,{favorites:O=""}=e,{translationurl:h=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:D="true"}=e,z=window.navigator.userAgent,I;const j=s=>{Object.keys(s).forEach(m=>{X(m,s[m])})},B=()=>{fetch(h).then(m=>m.json()).then(m=>{j(m)}).catch(m=>{console.log(m)})};j(p);let N=[],E,q=!1,c;const J=s=>{let m=new URL(`${l}/v1/player/${b}/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 f=s.device;return f?f==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),E=w?m:m.href,new Promise((d,y)=>{fetch(E).then(g=>g.json()).then(g=>{g.items=g.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(g.count--,R=!1),R}),d(g)}).catch(g=>{console.error(g),y(g)})})},Y=()=>{J({limit:100,device:V.getDevice(z),rounds:C}).then(s=>{if(s.count>0){let m=[];s.items.forEach(f=>{let d=new URL(`${l}/v1/casino/games/${f.gameId}`);d.searchParams.append("datasource",o),w?m.push(fetch(d.href).then(y=>y.json())):m.push(fetch(d.href).then(y=>y.json()))}),Promise.all(m).then(f=>{N=f.filter(d=>!("error"in d)).map(d=>d[0]),P==="true"&&(N=N.slice(0,JSON.parse(k))),window.postMessage({type:"MostPlayedData",mostPlayedGames:N},window.location.href)})}else a(20,q=!0)})},H=()=>{Z(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}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,u=s.lang),"session"in s&&a(4,M=s.session),"userid"in s&&a(5,b=s.userid),"mbsource"in s&&a(6,_=s.mbsource),"clientstyling"in s&&a(7,v=s.clientstyling),"clientstylingurl"in s&&a(8,G=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,T=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,F=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,h=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&b&&u&&Y(),n.$$.dirty[0]&524416&&v&&c&&t.setClientStyling(c,v),n.$$.dirty[0]&524544&&G&&c&&t.setClientStylingURL(c,G),n.$$.dirty[0]&524352&&_&&c&&t.setStreamStyling(c,`${_}.Style`),n.$$.dirty[0]&65600&&_&&!h&&W.getStreamTranslations(`${_}.Translation`,I,j),n.$$.dirty[0]&65536&&h&&B(),n.$$.dirty[0]&8&&u&&H()},[l,o,r,u,M,b,_,v,G,w,L,T,A,F,k,O,h,P,D,c,q,i,S,C,K]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,se,te,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:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},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[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}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[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},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("./CasinoFavoritesSectionNd-BeNK2H3t.cjs"),V=require("./CasinoFilter-BAF26Qks.cjs"),W=require("./CasinoGameThumbnailNd-BC4qO6Wv.cjs");function X(n,e){t.addMessages(n,e)}function Z(n){t.$locale.set(n)}const p={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 $(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[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),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,"translationurl",n[16]),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[17]),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]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),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]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),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]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function ee(n){let e,a=n[21]("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]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function te(n){let e,a;function i(r,u){return r[20]?ee:$}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,u){t.insert(r,e,u),t.append(e,a),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(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 se(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:M=""}=e,{userid:b=""}=e,{mbsource:_}=e,{clientstyling:v=""}=e,{clientstylingurl:G=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:T="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:F=""}=e,{visiblegames:k}=e,{favorites:O=""}=e,{translationurl:h=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:D="true"}=e,z=window.navigator.userAgent,I;const j=s=>{Object.keys(s).forEach(m=>{X(m,s[m])})},B=()=>{fetch(h).then(m=>m.json()).then(m=>{j(m)}).catch(m=>{console.log(m)})};j(p);let N=[],E,q=!1,c;const J=s=>{let m=new URL(`${l}/v1/player/${b}/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 f=s.device;return f?f==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),E=w?m:m.href,new Promise((d,y)=>{fetch(E).then(g=>g.json()).then(g=>{g.items=g.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(g.count--,R=!1),R}),d(g)}).catch(g=>{console.error(g),y(g)})})},Y=()=>{J({limit:100,device:V.getDevice(z),rounds:C}).then(s=>{if(s.count>0){let m=[];s.items.forEach(f=>{let d=new URL(`${l}/v1/casino/games/${f.gameId}`);d.searchParams.append("datasource",o),w?m.push(fetch(d.href).then(y=>y.json())):m.push(fetch(d.href).then(y=>y.json()))}),Promise.all(m).then(f=>{N=f.filter(d=>!("error"in d)).map(d=>d[0]),P==="true"&&(N=N.slice(0,JSON.parse(k))),window.postMessage({type:"MostPlayedData",mostPlayedGames:N},window.location.href)})}else a(20,q=!0)})},H=()=>{Z(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}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,u=s.lang),"session"in s&&a(4,M=s.session),"userid"in s&&a(5,b=s.userid),"mbsource"in s&&a(6,_=s.mbsource),"clientstyling"in s&&a(7,v=s.clientstyling),"clientstylingurl"in s&&a(8,G=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,T=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,F=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,h=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&b&&u&&Y(),n.$$.dirty[0]&524416&&v&&c&&t.setClientStyling(c,v),n.$$.dirty[0]&524544&&G&&c&&t.setClientStylingURL(c,G),n.$$.dirty[0]&524352&&_&&c&&t.setStreamStyling(c,`${_}.Style`),n.$$.dirty[0]&65600&&_&&!h&&W.getStreamTranslations(`${_}.Translation`,I,j),n.$$.dirty[0]&65536&&h&&B(),n.$$.dirty[0]&8&&u&&H()},[l,o,r,u,M,b,_,v,G,w,L,T,A,F,k,O,h,P,D,c,q,i,S,C,K]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,se,te,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:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},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[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}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[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=U;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as U, a as ce, b as he, S as ve, i as be, f as g, s as pe, C as Pe, c as _e, n as ee, d as F, e as G, g as _, h as Me, o as we, j as ke, l as te, m as Fe, E as t, F as E, k as w, q as b, v as C, G as Ge, p as T, t as I, w as A, D as Le, z as Ce, A as Ee, B as Ae } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { i as Be } from "./CasinoFilter-
|
|
3
|
-
import { g as Oe } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { $ as U, a as ce, b as he, S as ve, i as be, f as g, s as pe, C as Pe, c as _e, n as ee, d as F, e as G, g as _, h as Me, o as we, j as ke, l as te, m as Fe, E as t, F as E, k as w, q as b, v as C, G as Ge, p as T, t as I, w as A, D as Le, z as Ce, A as Ee, B as Ae } from "./CasinoFavoritesSectionNd-CW_9L0KX.js";
|
|
2
|
+
import { i as Be } from "./CasinoFilter-B5ctcxIi.js";
|
|
3
|
+
import { g as Oe } from "./CasinoGameThumbnailNd-Cf0yYAlm.js";
|
|
4
4
|
function Se({ withLocale: a, translations: e }) {
|
|
5
5
|
U.subscribe((n) => {
|
|
6
6
|
n == null && (ce.set(e), U.set(a));
|
|
@@ -116,7 +116,7 @@ if (typeof window != "undefined") {
|
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
-
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-
|
|
119
|
+
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-CW_9L0KX.js").then((e) => e.N).then(({ default: e }) => {
|
|
120
120
|
!customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
|
|
121
121
|
});
|
|
122
122
|
}
|
|
@@ -132,7 +132,7 @@ if (typeof window != "undefined") {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
|
-
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-
|
|
135
|
+
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-BNqrgb0a.js").then(({ default: e }) => {
|
|
136
136
|
!customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
|
|
137
137
|
});
|
|
138
138
|
}
|
|
@@ -148,7 +148,7 @@ if (typeof window != "undefined") {
|
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
|
-
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-
|
|
151
|
+
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-cnY_XdFa.js").then(({ default: e }) => {
|
|
152
152
|
!customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
|
|
153
153
|
});
|
|
154
154
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as U, a as ge, b as ce, C as he, S as ve, i as be, s as pe, f as g, c as Pe, n as $, d as F, e as G, g as _, h as _e, o as Me, j as we, l as ee, m as ke, E as t, F as E, k as M, q as b, v as L, G as Fe, p as T, t as I, w as A, D as Ge, z as Ce, A as Le, B as Ee } from "./CasinoFavoritesSectionNd-
|
|
2
|
-
import { i as Ae } from "./CasinoFilter-
|
|
3
|
-
import { g as Be } from "./CasinoGameThumbnailNd-
|
|
1
|
+
import { $ as U, a as ge, b as ce, C as he, S as ve, i as be, s as pe, f as g, c as Pe, n as $, d as F, e as G, g as _, h as _e, o as Me, j as we, l as ee, m as ke, E as t, F as E, k as M, q as b, v as L, G as Fe, p as T, t as I, w as A, D as Ge, z as Ce, A as Le, B as Ee } from "./CasinoFavoritesSectionNd-Df7AsFyl.js";
|
|
2
|
+
import { i as Ae } from "./CasinoFilter-CkDqcbsE.js";
|
|
3
|
+
import { g as Be } from "./CasinoGameThumbnailNd-krS0hcHc.js";
|
|
4
4
|
function Oe({ withLocale: a, translations: e }) {
|
|
5
5
|
U.subscribe((n) => {
|
|
6
6
|
n == null && (ge.set(e), U.set(a));
|
|
@@ -116,7 +116,7 @@ if (typeof window < "u") {
|
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
-
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-
|
|
119
|
+
customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-Df7AsFyl.js").then((e) => e.N).then(({ default: e }) => {
|
|
120
120
|
!customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
|
|
121
121
|
});
|
|
122
122
|
}
|
|
@@ -132,7 +132,7 @@ if (typeof window < "u") {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
|
-
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-
|
|
135
|
+
customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-BlqDt6rh.js").then(({ default: e }) => {
|
|
136
136
|
!customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
|
|
137
137
|
});
|
|
138
138
|
}
|
|
@@ -148,7 +148,7 @@ if (typeof window < "u") {
|
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
|
-
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-
|
|
151
|
+
customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-BBa-HSUH.js").then(({ default: e }) => {
|
|
152
152
|
!customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
|
|
153
153
|
});
|
|
154
154
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFavoritesSectionNd-QbHGVmxJ.cjs"),se=require("./CasinoFilter-C4dT1ABq.cjs"),ae=require("./CasinoGameThumbnailNd-DLG9VFk9.cjs");function le({withLocale:s,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function ne(s,t){e.addMessages(s,t)}function oe(s){e.$locale.set(s)}const ie={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-QbHGVmxJ.cjs")).then(t=>t.CasinoFavoritesSectionNd_ce).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-BkSuAsYO.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-Dop7g3Nr.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function me(s){e.append_styles(s,"svelte-kjgz4h",".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}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.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}")}function I(s,t,o){const r=s.slice();return r[45]=t[o],r}function de(s){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(s[29]),f=[];for(let a=0;a<y.length;a+=1)f[a]=Z(I(s,y,a));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let a=0;a<f.length;a+=1)f[a].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",s[1]),e.set_custom_element_data(n,"userid",s[0]),e.set_custom_element_data(n,"endpoint",s[2]),e.set_custom_element_data(n,"datasource",s[3]),e.set_custom_element_data(n,"lang",s[4]),e.set_custom_element_data(n,"currency",s[5]),e.set_custom_element_data(n,"favorites",s[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",s[12]),e.set_custom_element_data(n,"clientstyling",s[7]),e.set_custom_element_data(n,"clientstylingurl",s[8]),e.set_custom_element_data(n,"translationurl",s[15]),e.set_custom_element_data(n,"livecasino",s[9]),e.set_custom_element_data(n,"visiblegames",s[10]),e.set_custom_element_data(n,"gamepagemodalurl",s[11]),e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),e.set_custom_element_data(n,"integratedgameframemobile",s[14]),e.set_custom_element_data(n,"casinomygames",s[19]),e.set_custom_element_data(n,"mbsource",s[6]),e.toggle_class(n,"Active",s[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",s[2]),e.set_custom_element_data(l,"datasource",s[3]),e.set_custom_element_data(l,"lang",s[4]),e.set_custom_element_data(l,"currency",s[5]),e.set_custom_element_data(l,"session",s[1]),e.set_custom_element_data(l,"userid",s[0]),e.set_custom_element_data(l,"favorites",s[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",s[12]),e.set_custom_element_data(l,"clientstyling",s[7]),e.set_custom_element_data(l,"clientstylingurl",s[8]),e.set_custom_element_data(l,"translationurl",s[15]),e.set_custom_element_data(l,"livecasino",s[9]),e.set_custom_element_data(l,"visiblegames",s[10]),e.set_custom_element_data(l,"gamepagemodalurl",s[11]),e.set_custom_element_data(l,"mostplayedrounds",s[25]),e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),e.set_custom_element_data(l,"integratedgameframemobile",s[14]),e.set_custom_element_data(l,"mostplayedperiod",s[21]),e.set_custom_element_data(l,"casinomygames",s[19]),e.set_custom_element_data(l,"mbsource",s[6]),e.toggle_class(l,"Active",s[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",s[0]),e.set_custom_element_data(d,"endpoint",s[2]),e.set_custom_element_data(d,"datasource",s[3]),e.set_custom_element_data(d,"favorites",s[16]),e.set_custom_element_data(d,"lang",s[4]),e.set_custom_element_data(d,"currency",s[5]),e.set_custom_element_data(d,"session",s[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",s[12]),e.set_custom_element_data(d,"clientstyling",s[7]),e.set_custom_element_data(d,"clientstylingurl",s[8]),e.set_custom_element_data(d,"translationurl",s[15]),e.set_custom_element_data(d,"livecasino",s[9]),e.set_custom_element_data(d,"visiblegames",s[10]),e.set_custom_element_data(d,"lastplayedperiod",s[20]),e.set_custom_element_data(d,"lastplayedorder",s[22]),e.set_custom_element_data(d,"lastplayedlimit",s[23]),e.set_custom_element_data(d,"lastplayedunique",s[24]),e.set_custom_element_data(d,"gamepagemodalurl",s[11]),e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),e.set_custom_element_data(d,"integratedgameframemobile",s[14]),e.set_custom_element_data(d,"casinomygames",s[19]),e.set_custom_element_data(d,"mbsource",s[6]),e.toggle_class(d,"Active",s[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(s[28]?"Mobile":""))},m(a,i){e.insert(a,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(a,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(a[29]);let g;for(g=0;g<y.length;g+=1){const M=I(a,y,g);f[g]?f[g].p(M,i):(f[g]=Z(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",a[1]),i[0]&1&&e.set_custom_element_data(n,"userid",a[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(n,"lang",a[4]),i[0]&32&&e.set_custom_element_data(n,"currency",a[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(n,"Active",a[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(l,"lang",a[4]),i[0]&32&&e.set_custom_element_data(l,"currency",a[5]),i[0]&2&&e.set_custom_element_data(l,"session",a[1]),i[0]&1&&e.set_custom_element_data(l,"userid",a[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",a[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",a[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",a[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",a[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(l,"Active",a[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",a[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",a[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",a[16]),i[0]&16&&e.set_custom_element_data(d,"lang",a[4]),i[0]&32&&e.set_custom_element_data(d,"currency",a[5]),i[0]&2&&e.set_custom_element_data(d,"session",a[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",a[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",a[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",a[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",a[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",a[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(d,"Active",a[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(a[28]?"Mobile":""))&&e.attr(t,"class",p)},d(a){a&&e.detach(t),e.destroy_each(f,a)}}}function R(s){let t,o=s[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(s[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(s[27]=="Favorites"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",s[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function J(s){let t,o=s[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(s[27]=="MostPlayed"?"Active":"")+" "+(s[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",s[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function V(s){let t,o=s[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(s[27]=="LastPlayed"?"Active":"")+" "+(s[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",s[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Z(s){let t,o,r,_=s[45]=="Favorites"&&R(s),u=s[45]=="MostPlayed"&&J(s),n=s[45]=="LastPlayed"&&V(s);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[45]=="Favorites"?_?_.p(c,l):(_=R(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[45]=="MostPlayed"?u?u.p(c,l):(u=J(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[45]=="LastPlayed"?n?n.p(c,l):(n=V(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function re(s){let t;function o(u,n){if(u[19])return de}let r=o(s),_=r&&r(s);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),s[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),s[36](null)}}}function ue(s,t,o){let r;e.component_subscribe(s,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:a=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:w=""}=t,{favorites:k="false"}=t,{mostplayed:F="false"}=t,{lastplayed:C="false"}=t,{casinomygames:S="false"}=t,{lastplayedperiod:O="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:j=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:D=""}=t,Q=window.navigator.userAgent,b,W,G="",z=!1,P=["","",""],E="0";le({withLocale:"en",translations:{}});const A=m=>{Object.keys(m).forEach(v=>{ne(v,m[v])})},X=()=>{fetch(w).then(v=>v.json()).then(v=>{A(v)}).catch(v=>{console.log(v)})};A(ie);const L=m=>{G!==m&&o(27,G=m)},Y=()=>{o(27,G=k==="true"?"Favorites":F==="true"?"MostPlayed":C==="true"?"LastPlayed":""),o(29,P[0]=k==="true"?"Favorites":"",P),o(29,P[1]=F==="true"?"MostPlayed":"",P),o(29,P[2]=C==="true"?"LastPlayed":"",P),oe(l)},H=m=>{var v,U;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,E=m.data.favoriteGamesLength):o(30,E=(U=(v=m.data.listOfFavoritesGames)==null?void 0:v.length)!=null?U:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=se.isMobile(Q)),()=>{window.removeEventListener("message",H)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{b=m,o(26,b)})}return s.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,a=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,w=m.translationurl),"favorites"in m&&o(16,k=m.favorites),"mostplayed"in m&&o(17,F=m.mostplayed),"lastplayed"in m&&o(18,C=m.lastplayed),"casinomygames"in m&&o(19,S=m.casinomygames),"lastplayedperiod"in m&&o(20,O=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,q=m.mostplayedperiod),"lastplayedorder"in m&&o(22,j=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,T=m.lastplayedunique),"mostplayedrounds"in m&&o(25,D=m.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&458780&&n&&c&&l&&k&&F&&C&&Y(),s.$$.dirty[0]&32768&&w&&X(),s.$$.dirty[0]&67108992&&p&&b&&e.setClientStyling(b,p),s.$$.dirty[0]&67109120&&y&&b&&e.setClientStylingURL(b,y),s.$$.dirty[0]&67108928&&d&&b&&e.setStreamStyling(b,`${d}.Style`),s.$$.dirty[0]&32832&&d&&!w&&ae.getStreamTranslations(`${d}.Translation`,W,A)},[_,u,n,c,l,h,d,p,y,f,a,i,g,M,B,w,k,F,C,S,O,q,j,N,T,D,b,G,z,P,E,r,L,x,$,ee,te]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ue,re,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},me,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(K,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=K;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFavoritesSectionNd-BeNK2H3t.cjs"),se=require("./CasinoFilter-BAF26Qks.cjs"),ae=require("./CasinoGameThumbnailNd-BC4qO6Wv.cjs");function le({withLocale:s,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function ne(s,t){e.addMessages(s,t)}function oe(s){e.$locale.set(s)}const ie={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-BeNK2H3t.cjs")).then(t=>t.CasinoFavoritesSectionNd_ce).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-BiN-eLjS.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-xhyYFecB.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function me(s){e.append_styles(s,"svelte-kjgz4h",".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}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.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}")}function I(s,t,o){const r=s.slice();return r[45]=t[o],r}function de(s){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(s[29]),f=[];for(let a=0;a<y.length;a+=1)f[a]=Z(I(s,y,a));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let a=0;a<f.length;a+=1)f[a].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",s[1]),e.set_custom_element_data(n,"userid",s[0]),e.set_custom_element_data(n,"endpoint",s[2]),e.set_custom_element_data(n,"datasource",s[3]),e.set_custom_element_data(n,"lang",s[4]),e.set_custom_element_data(n,"currency",s[5]),e.set_custom_element_data(n,"favorites",s[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",s[12]),e.set_custom_element_data(n,"clientstyling",s[7]),e.set_custom_element_data(n,"clientstylingurl",s[8]),e.set_custom_element_data(n,"translationurl",s[15]),e.set_custom_element_data(n,"livecasino",s[9]),e.set_custom_element_data(n,"visiblegames",s[10]),e.set_custom_element_data(n,"gamepagemodalurl",s[11]),e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),e.set_custom_element_data(n,"integratedgameframemobile",s[14]),e.set_custom_element_data(n,"casinomygames",s[19]),e.set_custom_element_data(n,"mbsource",s[6]),e.toggle_class(n,"Active",s[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",s[2]),e.set_custom_element_data(l,"datasource",s[3]),e.set_custom_element_data(l,"lang",s[4]),e.set_custom_element_data(l,"currency",s[5]),e.set_custom_element_data(l,"session",s[1]),e.set_custom_element_data(l,"userid",s[0]),e.set_custom_element_data(l,"favorites",s[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",s[12]),e.set_custom_element_data(l,"clientstyling",s[7]),e.set_custom_element_data(l,"clientstylingurl",s[8]),e.set_custom_element_data(l,"translationurl",s[15]),e.set_custom_element_data(l,"livecasino",s[9]),e.set_custom_element_data(l,"visiblegames",s[10]),e.set_custom_element_data(l,"gamepagemodalurl",s[11]),e.set_custom_element_data(l,"mostplayedrounds",s[25]),e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),e.set_custom_element_data(l,"integratedgameframemobile",s[14]),e.set_custom_element_data(l,"mostplayedperiod",s[21]),e.set_custom_element_data(l,"casinomygames",s[19]),e.set_custom_element_data(l,"mbsource",s[6]),e.toggle_class(l,"Active",s[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",s[0]),e.set_custom_element_data(d,"endpoint",s[2]),e.set_custom_element_data(d,"datasource",s[3]),e.set_custom_element_data(d,"favorites",s[16]),e.set_custom_element_data(d,"lang",s[4]),e.set_custom_element_data(d,"currency",s[5]),e.set_custom_element_data(d,"session",s[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",s[12]),e.set_custom_element_data(d,"clientstyling",s[7]),e.set_custom_element_data(d,"clientstylingurl",s[8]),e.set_custom_element_data(d,"translationurl",s[15]),e.set_custom_element_data(d,"livecasino",s[9]),e.set_custom_element_data(d,"visiblegames",s[10]),e.set_custom_element_data(d,"lastplayedperiod",s[20]),e.set_custom_element_data(d,"lastplayedorder",s[22]),e.set_custom_element_data(d,"lastplayedlimit",s[23]),e.set_custom_element_data(d,"lastplayedunique",s[24]),e.set_custom_element_data(d,"gamepagemodalurl",s[11]),e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),e.set_custom_element_data(d,"integratedgameframemobile",s[14]),e.set_custom_element_data(d,"casinomygames",s[19]),e.set_custom_element_data(d,"mbsource",s[6]),e.toggle_class(d,"Active",s[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(s[28]?"Mobile":""))},m(a,i){e.insert(a,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(a,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(a[29]);let g;for(g=0;g<y.length;g+=1){const M=I(a,y,g);f[g]?f[g].p(M,i):(f[g]=Z(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",a[1]),i[0]&1&&e.set_custom_element_data(n,"userid",a[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(n,"lang",a[4]),i[0]&32&&e.set_custom_element_data(n,"currency",a[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(n,"Active",a[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(l,"lang",a[4]),i[0]&32&&e.set_custom_element_data(l,"currency",a[5]),i[0]&2&&e.set_custom_element_data(l,"session",a[1]),i[0]&1&&e.set_custom_element_data(l,"userid",a[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",a[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",a[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",a[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",a[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(l,"Active",a[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",a[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",a[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",a[16]),i[0]&16&&e.set_custom_element_data(d,"lang",a[4]),i[0]&32&&e.set_custom_element_data(d,"currency",a[5]),i[0]&2&&e.set_custom_element_data(d,"session",a[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",a[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",a[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",a[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",a[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",a[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(d,"Active",a[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(a[28]?"Mobile":""))&&e.attr(t,"class",p)},d(a){a&&e.detach(t),e.destroy_each(f,a)}}}function R(s){let t,o=s[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(s[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(s[27]=="Favorites"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",s[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function J(s){let t,o=s[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(s[27]=="MostPlayed"?"Active":"")+" "+(s[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",s[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function V(s){let t,o=s[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(s[27]=="LastPlayed"?"Active":"")+" "+(s[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",s[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Z(s){let t,o,r,_=s[45]=="Favorites"&&R(s),u=s[45]=="MostPlayed"&&J(s),n=s[45]=="LastPlayed"&&V(s);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[45]=="Favorites"?_?_.p(c,l):(_=R(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[45]=="MostPlayed"?u?u.p(c,l):(u=J(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[45]=="LastPlayed"?n?n.p(c,l):(n=V(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function re(s){let t;function o(u,n){if(u[19])return de}let r=o(s),_=r&&r(s);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),s[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),s[36](null)}}}function ue(s,t,o){let r;e.component_subscribe(s,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:a=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:w=""}=t,{favorites:k="false"}=t,{mostplayed:F="false"}=t,{lastplayed:C="false"}=t,{casinomygames:S="false"}=t,{lastplayedperiod:O="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:j=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:D=""}=t,Q=window.navigator.userAgent,b,W,G="",z=!1,P=["","",""],E="0";le({withLocale:"en",translations:{}});const A=m=>{Object.keys(m).forEach(v=>{ne(v,m[v])})},X=()=>{fetch(w).then(v=>v.json()).then(v=>{A(v)}).catch(v=>{console.log(v)})};A(ie);const L=m=>{G!==m&&o(27,G=m)},Y=()=>{o(27,G=k==="true"?"Favorites":F==="true"?"MostPlayed":C==="true"?"LastPlayed":""),o(29,P[0]=k==="true"?"Favorites":"",P),o(29,P[1]=F==="true"?"MostPlayed":"",P),o(29,P[2]=C==="true"?"LastPlayed":"",P),oe(l)},H=m=>{var v,U;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,E=m.data.favoriteGamesLength):o(30,E=(U=(v=m.data.listOfFavoritesGames)==null?void 0:v.length)!=null?U:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=se.isMobile(Q)),()=>{window.removeEventListener("message",H)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{b=m,o(26,b)})}return s.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,a=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,w=m.translationurl),"favorites"in m&&o(16,k=m.favorites),"mostplayed"in m&&o(17,F=m.mostplayed),"lastplayed"in m&&o(18,C=m.lastplayed),"casinomygames"in m&&o(19,S=m.casinomygames),"lastplayedperiod"in m&&o(20,O=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,q=m.mostplayedperiod),"lastplayedorder"in m&&o(22,j=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,T=m.lastplayedunique),"mostplayedrounds"in m&&o(25,D=m.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&458780&&n&&c&&l&&k&&F&&C&&Y(),s.$$.dirty[0]&32768&&w&&X(),s.$$.dirty[0]&67108992&&p&&b&&e.setClientStyling(b,p),s.$$.dirty[0]&67109120&&y&&b&&e.setClientStylingURL(b,y),s.$$.dirty[0]&67108928&&d&&b&&e.setStreamStyling(b,`${d}.Style`),s.$$.dirty[0]&32832&&d&&!w&&ae.getStreamTranslations(`${d}.Translation`,W,A)},[_,u,n,c,l,h,d,p,y,f,a,i,g,M,B,w,k,F,C,S,O,q,j,N,T,D,b,G,z,P,E,r,L,x,$,ee,te]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ue,re,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},me,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(K,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=K;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q, a as et, b as rt, S as ot, i as nt, s as at, f as L, c as lt, n as U, d as P, e as R, g as h, h as st, o as it, j as ct, l as G, m as dt, p as K, k as r, q as s, t as tt, u as N, v as Z, w as Q, z as pt, A as gt, B as ut, C as ht, D as mt } from "./CasinoFavoritesSectionNd-
|
|
1
|
+
import { $ as q, a as et, b as rt, S as ot, i as nt, s as at, f as L, c as lt, n as U, d as P, e as R, g as h, h as st, o as it, j as ct, l as G, m as dt, p as K, k as r, q as s, t as tt, u as N, v as Z, w as Q, z as pt, A as gt, B as ut, C as ht, D as mt } from "./CasinoFavoritesSectionNd-Df7AsFyl.js";
|
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
|
3
3
|
q.subscribe((o) => {
|
|
4
4
|
o == null && (et.set(e), q.set(t));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-QbHGVmxJ.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,I,k,_,C,Z,o,g,b,O,M,H,L,B=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<B.length;i+=1)y[i]=P(D(e,B,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),I=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),O=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",o="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(O,"class","SorterDropdown"),t.attr(b,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(a,S),t.append(a,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,I),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,O);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(O,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&o!==(o="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",o),x&120){B=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<B.length;u+=1){const T=D(i,B,u);y[u]?y[u].p(T,x):(y[u]=P(T),y[u].c(),y[u].m(O,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=B.length}x&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",M)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(a,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{E(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let o=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];o?n(3,w=o):n(3,w="All"),n(3,w=A[o])},N=o=>{n(3,w=o);let g=localStorage.getItem("vendorSortingBy");f=o;for(let b in A)if(A[b]===o){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},I=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=o=>{o.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>I(),C=o=>N(o);function Z(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,n(0,c)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,h=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,S=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,a,A,N,I,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-BeNK2H3t.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,I,k,_,C,Z,o,g,b,O,M,H,L,B=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<B.length;i+=1)y[i]=P(D(e,B,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),I=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),O=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",o="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(O,"class","SorterDropdown"),t.attr(b,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(a,S),t.append(a,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,I),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,O);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(O,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&o!==(o="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",o),x&120){B=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<B.length;u+=1){const T=D(i,B,u);y[u]?y[u].p(T,x):(y[u]=P(T),y[u].c(),y[u].m(O,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=B.length}x&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",M)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(a,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{E(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let o=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];o?n(3,w=o):n(3,w="All"),n(3,w=A[o])},N=o=>{n(3,w=o);let g=localStorage.getItem("vendorSortingBy");f=o;for(let b in A)if(A[b]===o){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},I=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=o=>{o.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>I(),C=o=>N(o);function Z(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,n(0,c)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,h=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,S=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,a,A,N,I,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q, a as et, b as rt, S as ot, i as nt, s as at, f as L, c as lt, n as U, d as P, e as R, g as m, h as st, o as it, j as ct, l as G, m as dt, p as K, k as r, q as s, t as tt, u as N, v as Z, w as Q, z as pt, A as gt, B as ut, C as ht, D as mt } from "./CasinoFavoritesSectionNd-
|
|
1
|
+
import { $ as q, a as et, b as rt, S as ot, i as nt, s as at, f as L, c as lt, n as U, d as P, e as R, g as m, h as st, o as it, j as ct, l as G, m as dt, p as K, k as r, q as s, t as tt, u as N, v as Z, w as Q, z as pt, A as gt, B as ut, C as ht, D as mt } from "./CasinoFavoritesSectionNd-CW_9L0KX.js";
|
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
|
3
3
|
q.subscribe((o) => {
|
|
4
4
|
o == null && (et.set(e), q.set(t));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMyGamesNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMyGamesNd-DOYU176c.cjs")).then(({default:t})=>{!customElements.get("casino-my-games-nd")&&customElements.define("casino-my-games-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoMyGamesNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoMyGamesNd-BuINvDGu.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-my-games-nd") && customElements.define("casino-my-games-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|