@everymatrix/casino-lobby 1.60.1 → 1.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-BYTytQgJ.js} +690 -712
- package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-CI-C6zUY.js} +696 -718
- package/components/CasinoCalendar-DqS7aKva.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-CGaAU2gc.js → CasinoCalendarDailyDetails-DQB9Y3_Q.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-CsEZhtVE.cjs → CasinoCalendarDailyDetails-DUQWFLJJ.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-CAbwFBvZ.js → CasinoCalendarDailyDetails-Xi-Uo8v-.js} +48 -48
- package/components/{CasinoCalendarDailyItem-DSlC0F3s.cjs → CasinoCalendarDailyItem-CVt2FFo1.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-5aqnKIMr.js → CasinoCalendarDailyItem-CjRZKnnD.js} +41 -41
- package/components/{CasinoCalendarDailyItem-D_MTrKed.js → CasinoCalendarDailyItem-DC91__VM.js} +41 -41
- package/components/{CasinoCategoriesSlider-DRIsr69C.js → CasinoCategoriesSlider-C2jbyhRF.js} +65 -65
- package/components/{CasinoCategoriesSlider-DYab11Z3.js → CasinoCategoriesSlider-DZX7fAxD.js} +66 -66
- package/components/CasinoCategoriesSlider-i9BCUm8R.cjs +1 -0
- package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-BRhnxud8.js} +114 -113
- package/components/{CasinoCollectionsProviders-B6occ8TF.cjs → CasinoCollectionsProviders-Beuct27Z.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-Fw278mB3.js} +73 -73
- package/components/{CasinoFavoritesSection-51a03OgV.cjs → CasinoFavoritesSection-D1GhXv3a.cjs} +1 -1
- package/components/{CasinoFavoritesSection-uCNlSq84.js → CasinoFavoritesSection-D32Mbv-O.js} +26 -26
- package/components/{CasinoFavoritesSection-a8e9F8Ga.js → CasinoFavoritesSection-QS8imHGS.js} +26 -26
- package/components/{CasinoFilter-BWjq7W1e.js → CasinoFilter-BHLJqOwW.js} +235 -234
- package/components/CasinoFilter-Bg-VilMd.cjs +1 -0
- package/components/{CasinoFilter-BTof425X.js → CasinoFilter-Dt8GhenI.js} +246 -247
- package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-5moXxd0d.js} +741 -741
- package/components/{CasinoGamePage-D2huRBJX.cjs → CasinoGamePage-BmgERtPr.cjs} +6 -6
- package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-D_TzJsC-.js} +742 -742
- package/components/{CasinoGameThumbnail-GBvTkmL8.js → CasinoGameThumbnail-B9OLAJDP.js} +445 -429
- package/components/{CasinoGameThumbnail-Dq26TPSU.cjs → CasinoGameThumbnail-C-_VEhfz.cjs} +15 -15
- package/components/{CasinoGameThumbnail-CrrXNmw1.js → CasinoGameThumbnail-w6gElzrs.js} +522 -538
- package/components/{CasinoGamesCategorySection-CYKXSIYS.cjs → CasinoGamesCategorySection-B_kw0cnt.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-CHynVnZ8.js → CasinoGamesCategorySection-Bw_6-a2H.js} +247 -247
- package/components/{CasinoGamesCategorySection-BGemjnwH.js → CasinoGamesCategorySection-DdJnZPgm.js} +247 -247
- package/components/{CasinoJackpotBanner-DredUN6K.cjs → CasinoJackpotBanner-B_CnR3Kj.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CuP8WP5Q.js → CasinoJackpotBanner-Dxq2Y_-S.js} +74 -74
- package/components/{CasinoJackpotBanner-Dl2rX6vI.js → CasinoJackpotBanner-UQaC63Zv.js} +69 -69
- package/components/{CasinoLastPlayedSection-B64b2eJF.cjs → CasinoLastPlayedSection-CnwiqEWd.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CyKppEbZ.js → CasinoLastPlayedSection-D8w8f1qu.js} +43 -43
- package/components/{CasinoLastPlayedSection-BGk4k--h.js → CasinoLastPlayedSection-DF1qIy7A.js} +43 -43
- package/components/{CasinoLobby-CN5AmC5K.js → CasinoLobby-Anq70pxB.js} +47 -47
- package/components/{CasinoLobby-PcRgXAeR.js → CasinoLobby-Br00KMpi.js} +45 -45
- package/components/{CasinoLobby-DddN7Gev.cjs → CasinoLobby-Da8EvOPn.cjs} +1 -1
- package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-BaV1FE12.js} +41 -41
- package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-Bn6r73ff.js} +41 -41
- package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-DWbCqr0p.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-C-D6CJKY.js → CasinoMostPlayedSection-4nc9NISY.js} +50 -50
- package/components/{CasinoMostPlayedSection-QIdWMIjm.cjs → CasinoMostPlayedSection-CleRvEGW.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-qIiZdQQG.js → CasinoMostPlayedSection-DEpCntHU.js} +50 -50
- package/components/{CasinoMyGames-Dy1sj15h.cjs → CasinoMyGames-BeNdYI48.cjs} +1 -1
- package/components/{CasinoMyGames-DjXz5K51.js → CasinoMyGames-Cqgayk3N.js} +50 -50
- package/components/{CasinoMyGames-Wpdq0oL6.js → CasinoMyGames-Ls6PjVLx.js} +53 -53
- package/components/{CasinoPage-DhSkte5y.cjs → CasinoPage-86frPbmB.cjs} +1 -1
- package/components/{CasinoPage-D1fSPDEj.js → CasinoPage-B_ulErY-.js} +93 -93
- package/components/{CasinoPage-DMCyJTE2.js → CasinoPage-vykaQto-.js} +85 -85
- package/components/{CasinoRandomGame-CBcSHzZL.cjs → CasinoRandomGame-BO7BqLXA.cjs} +1 -1
- package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-CsA5xgwc.js} +63 -63
- package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DLzqJj4x.js} +64 -64
- package/components/{CasinoSearch-DOguc7Dt.js → CasinoSearch-CyctCdxx.js} +73 -73
- package/components/{CasinoSearch-BgD0xvTa.js → CasinoSearch-DcjbpUq_.js} +73 -73
- package/components/{CasinoSearch-CRhnd9Yq.cjs → CasinoSearch-jq6HJhjW.cjs} +1 -1
- package/components/{CasinoSlider---x4M_hm.js → CasinoSlider-BmXppZ63.js} +86 -86
- package/components/{CasinoSlider-BsszznrS.cjs → CasinoSlider-Bo4dCvJT.cjs} +1 -1
- package/components/{CasinoSlider-PeKujgAE.js → CasinoSlider-DbK0-rGh.js} +96 -96
- package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-23PYwtO1.cjs} +1 -1
- package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-B3A_Ar_A.js} +110 -111
- package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DtUIrmuZ.js} +104 -103
- package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-CF_PptIS.js} +162 -162
- package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-Gb2w2dXe.js} +179 -179
- package/components/{CasinoWinners-Cp1yMlzb.cjs → CasinoWinners-KEY7dD3z.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-8TvNjXay.js} +16 -16
- package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-B-6s0l9d.cjs} +1 -1
- package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Bbxdne1m.js} +16 -16
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-CLSQBVzD.js} +2 -2
- package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
- package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-Dm8A9dTR.js} +2 -2
- package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
- package/stencil/index-ab3202d6-OPh7hJp9.js +575 -0
- package/stencil/index-ab3202d6-hGs51skN.js +559 -0
- package/stencil/index-b2193545-DCd44oUP.cjs +1 -0
- package/stencil/index-b2193545-MPc38oBt.js +503 -0
- package/stencil/index-b2193545-lFMF9wMV.js +519 -0
- package/stencil/{ui-skeleton-sAoxznwb.js → ui-skeleton-0M0DsgcH.js} +2 -2
- package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-DGBcSK-r.js} +2 -2
- package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Dt8jS6rz.cjs} +1 -1
- package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-ea659b95-Denrk3xZ.js} +1 -1
- package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-ea659b95-DoJviCLo.cjs} +1 -1
- package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-ea659b95-Doo7piTc.js} +1 -1
- package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
- package/components/CasinoCategoriesSlider-_X531XfJ.cjs +0 -1
- package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
- package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
- package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
- package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
- package/stencil/index-b2193545-BDVBrmNo.js +0 -503
- package/stencil/index-b2193545-CY979_sp.js +0 -519
- package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CkNAiTx8.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-3oqkg3",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=K(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=K(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,v){e.insert(b,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(v=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),b=!1,v()}}}function K(i){let t,l,r,o,a,g,b,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=D(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let _=0;_<u.length;_+=1)u[_].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let _=0;_<u.length;_+=1)u[_]&&u[_].m(a,null);e.append(t,b),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var _,S;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let y;for(y=0;y<c.length;y+=1){const L=U(i,c,y);u[y]?u[y].p(L,f):(u[y]=D(L),u[y].c(),u[y].m(a,null))}for(;y<u.length;y+=1)u[y].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((S=i[41])==null?void 0:S.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,_=0,S=0,y,L,x=0,M=50,j=!1,k,J=window.navigator.userAgent,T;const X=()=>{fetch(m).then(C=>C.json()).then(C=>{Object.keys(C).forEach(G=>{E(G,C[G])})}).catch(C=>{console.log(C)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${x},limit=${M}`),fetch(n.href).then(C=>C.json()).then(C=>{l(6,h=!1),C.total>M&&(x+=50,M+=50,l(22,j=!0));let G=C.items.map(P=>{var q,A,N;return{id:P.id,name:P.name,icon:P.icon?P.icon:(N=(A=(q=P.vendors)==null?void 0:q.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:P.games.items.slice(0,4).map(re=>re),background:P.background,flag:P.flags}});l(3,u=[...u,...G]),l(7,_=u.length),Y()})},Y=()=>{const n=k.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{L=[...p.children],L.forEach((C,G)=>{C.style.transform=`translateX(${100*(n?G-n:G)}%)`}),y=L[0].getBoundingClientRect().width,Q()},Q=()=>{l(8,S=Math.floor(p.clientWidth/y))},H=()=>{O(f)},$=()=>{f===0?f=_-S:f-S<-1?f=0:f--,H()},ee=()=>{f===_-S?f=0:_-S<f+1?f=_-S:f++,H()},z=(n,C,G,P)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:G,subVendor:P},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${G}`})},B=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>B(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{k=n,l(5,k)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&k&&e.setClientStyling(k,w),i.$$.dirty[0]&524320&&d&&k&&e.setClientStylingURL(k,d),i.$$.dirty[0]&2097184&&k&&e.setStreamStyling(k,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&X(),i.$$.dirty[0]&4194304&&j&&F()},[b,v,s,u,p,k,h,_,S,T,r,$,ee,z,B,o,a,g,w,d,m,c,j,ie,le,ne,oe]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DqS7aKva.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-3oqkg3",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=K(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=K(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,v){e.insert(b,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(v=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),b=!1,v()}}}function K(i){let t,l,r,o,a,g,b,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=D(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let _=0;_<u.length;_+=1)u[_].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let _=0;_<u.length;_+=1)u[_]&&u[_].m(a,null);e.append(t,b),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var _,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=D(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,_=0,k=0,C,L,x=0,M=50,j=!1,G,J=window.navigator.userAgent,T;const X=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{E(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${x},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(x+=50,M+=50,l(22,j=!0));let P=y.items.map(S=>{var q,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(q=S.vendors)==null?void 0:q.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,_=u.length),Y()})},Y=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,Q()},Q=()=>{l(8,k=Math.floor(p.clientWidth/C))},H=()=>{O(f)},$=()=>{f===0?f=_-k:f-k<-1?f=0:f--,H()},ee=()=>{f===_-k?f=0:_-k<f+1?f=_-k:f++,H()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},B=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>B(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&X(),i.$$.dirty[0]&4194304&&j&&F()},[b,v,s,u,p,G,h,_,k,T,r,$,ee,z,B,o,a,g,w,d,m,c,j,ie,le,ne,oe]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
|
package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-Fw278mB3.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as be, $ as Ce, S as ye, i as _e,
|
|
1
|
+
import { a as be, $ as Ce, S as ye, i as _e, s as we, f as M, b as Se, n as F, d as j, h as x, j as y, k as ke, o as Ge, l as Pe, C as X, r as m, v as O, w as ne, m as E, p as b, q as I, B as T, R as Le, A as B, G as R, D as H, T as Me, I as je, J as xe, K as Te, L as Fe, M as Oe } from "./CasinoCalendar-BYTytQgJ.js";
|
|
2
2
|
function Y(t, e) {
|
|
3
3
|
be(t, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function Be(t) {
|
|
6
6
|
Ce.set(t);
|
|
7
7
|
}
|
|
8
8
|
const Q = {
|
|
@@ -102,8 +102,8 @@ const Q = {
|
|
|
102
102
|
loading: "Loading, please wait ..."
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
-
function
|
|
106
|
-
|
|
105
|
+
function He(t) {
|
|
106
|
+
Se(t, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
107
107
|
}
|
|
108
108
|
function $(t, e, i) {
|
|
109
109
|
const n = t.slice();
|
|
@@ -113,7 +113,7 @@ function ee(t, e, i) {
|
|
|
113
113
|
const n = t.slice();
|
|
114
114
|
return n[44] = e[i], n;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function ze(t) {
|
|
117
117
|
let e, i, n, l = (
|
|
118
118
|
/*type*/
|
|
119
119
|
(t[0] === "vendor" ? (
|
|
@@ -127,7 +127,7 @@ function Ae(t) {
|
|
|
127
127
|
/*numberOfSlides*/
|
|
128
128
|
t[7] > /*numberOfVisibleSlides*/
|
|
129
129
|
t[8] && te(t)
|
|
130
|
-
), f =
|
|
130
|
+
), f = O(
|
|
131
131
|
/*gameCategories*/
|
|
132
132
|
t[3]
|
|
133
133
|
), a = [];
|
|
@@ -135,7 +135,7 @@ function Ae(t) {
|
|
|
135
135
|
a[c] = le($(t, f, c));
|
|
136
136
|
return {
|
|
137
137
|
c() {
|
|
138
|
-
e = y("div"), i = y("div"), n = y("p"), r =
|
|
138
|
+
e = y("div"), i = y("div"), n = y("p"), r = I(l), d = T(), s && s.c(), _ = T(), C = y("div");
|
|
139
139
|
for (let c = 0; c < a.length; c += 1)
|
|
140
140
|
a[c].c();
|
|
141
141
|
m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(C, "class", "CategoriesSlider"), m(e, "class", S = "CasinoCollectionsProviders " + /*mobile*/
|
|
@@ -143,7 +143,7 @@ function Ae(t) {
|
|
|
143
143
|
(t[0] === "vendor" ? "Providers" : "Collections"));
|
|
144
144
|
},
|
|
145
145
|
m(c, g) {
|
|
146
|
-
|
|
146
|
+
x(c, e, g), b(e, i), b(i, n), b(n, r), b(i, d), s && s.m(i, null), b(e, _), b(e, C);
|
|
147
147
|
for (let h = 0; h < a.length; h += 1)
|
|
148
148
|
a[h] && a[h].m(C, null);
|
|
149
149
|
t[25](C);
|
|
@@ -157,11 +157,11 @@ function Ae(t) {
|
|
|
157
157
|
) : (
|
|
158
158
|
/*$_*/
|
|
159
159
|
c[10]("collections")
|
|
160
|
-
)) + "") &&
|
|
160
|
+
)) + "") && E(r, l), /*numberOfSlides*/
|
|
161
161
|
c[7] > /*numberOfVisibleSlides*/
|
|
162
162
|
c[8] ? s ? s.p(c, g) : (s = te(c), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
163
163
|
24590) {
|
|
164
|
-
f =
|
|
164
|
+
f = O(
|
|
165
165
|
/*gameCategories*/
|
|
166
166
|
c[3]
|
|
167
167
|
);
|
|
@@ -180,22 +180,22 @@ function Ae(t) {
|
|
|
180
180
|
(c[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", S);
|
|
181
181
|
},
|
|
182
182
|
d(c) {
|
|
183
|
-
c &&
|
|
183
|
+
c && j(e), s && s.d(), ne(a, c), t[25](null);
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Ae(t) {
|
|
188
188
|
let e;
|
|
189
189
|
return {
|
|
190
190
|
c() {
|
|
191
191
|
e = y("div"), m(e, "class", "LoadingSpinner");
|
|
192
192
|
},
|
|
193
193
|
m(i, n) {
|
|
194
|
-
|
|
194
|
+
x(i, e, n);
|
|
195
195
|
},
|
|
196
|
-
p:
|
|
196
|
+
p: F,
|
|
197
197
|
d(i) {
|
|
198
|
-
i &&
|
|
198
|
+
i && j(e);
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
}
|
|
@@ -203,17 +203,17 @@ function te(t) {
|
|
|
203
203
|
let e, i, n, l, r, d;
|
|
204
204
|
return {
|
|
205
205
|
c() {
|
|
206
|
-
e = y("div"), i = y("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n =
|
|
206
|
+
e = y("div"), i = y("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = T(), l = y("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', m(e, "class", "ButtonsContainer");
|
|
207
207
|
},
|
|
208
208
|
m(_, C) {
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
x(_, e, C), b(e, i), b(e, n), b(e, l), r || (d = [
|
|
210
|
+
B(
|
|
211
211
|
i,
|
|
212
212
|
"click",
|
|
213
213
|
/*sliderScrollLeft*/
|
|
214
214
|
t[11]
|
|
215
215
|
),
|
|
216
|
-
|
|
216
|
+
B(
|
|
217
217
|
l,
|
|
218
218
|
"click",
|
|
219
219
|
/*sliderScrollRight*/
|
|
@@ -221,9 +221,9 @@ function te(t) {
|
|
|
221
221
|
)
|
|
222
222
|
], r = !0);
|
|
223
223
|
},
|
|
224
|
-
p:
|
|
224
|
+
p: F,
|
|
225
225
|
d(_) {
|
|
226
|
-
_ &&
|
|
226
|
+
_ && j(e), r = !1, Le(d);
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
@@ -234,41 +234,41 @@ function Ne(t) {
|
|
|
234
234
|
), n;
|
|
235
235
|
return {
|
|
236
236
|
c() {
|
|
237
|
-
e = y("p"), n =
|
|
237
|
+
e = y("p"), n = I(i), m(e, "class", "CategorySlideTitle");
|
|
238
238
|
},
|
|
239
239
|
m(l, r) {
|
|
240
|
-
|
|
240
|
+
x(l, e, r), b(e, n);
|
|
241
241
|
},
|
|
242
242
|
p(l, r) {
|
|
243
243
|
r[0] & /*gameCategories*/
|
|
244
244
|
8 && i !== (i = /*category*/
|
|
245
|
-
l[41].name + "") &&
|
|
245
|
+
l[41].name + "") && E(n, i);
|
|
246
246
|
},
|
|
247
247
|
d(l) {
|
|
248
|
-
l &&
|
|
248
|
+
l && j(e);
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function Re(t) {
|
|
253
253
|
let e, i, n;
|
|
254
254
|
return {
|
|
255
255
|
c() {
|
|
256
|
-
e = y("img"), m(e, "class", "CategorySlideLogo"),
|
|
256
|
+
e = y("img"), m(e, "class", "CategorySlideLogo"), H(e.src, i = /*category*/
|
|
257
257
|
t[41].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
|
|
258
258
|
t[41].name + " icon");
|
|
259
259
|
},
|
|
260
260
|
m(l, r) {
|
|
261
|
-
|
|
261
|
+
x(l, e, r);
|
|
262
262
|
},
|
|
263
263
|
p(l, r) {
|
|
264
264
|
r[0] & /*gameCategories*/
|
|
265
|
-
8 && !
|
|
265
|
+
8 && !H(e.src, i = /*category*/
|
|
266
266
|
l[41].icon) && m(e, "src", i), r[0] & /*gameCategories*/
|
|
267
267
|
8 && n !== (n = /*category*/
|
|
268
268
|
l[41].name + " icon") && m(e, "alt", n);
|
|
269
269
|
},
|
|
270
270
|
d(l) {
|
|
271
|
-
l &&
|
|
271
|
+
l && j(e);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -279,21 +279,21 @@ function ie(t) {
|
|
|
279
279
|
), n, l;
|
|
280
280
|
return {
|
|
281
281
|
c() {
|
|
282
|
-
e = y("p"), n =
|
|
282
|
+
e = y("p"), n = I(i), m(e, "title", l = /*game*/
|
|
283
283
|
t[44].name);
|
|
284
284
|
},
|
|
285
285
|
m(r, d) {
|
|
286
|
-
|
|
286
|
+
x(r, e, d), b(e, n);
|
|
287
287
|
},
|
|
288
288
|
p(r, d) {
|
|
289
289
|
d[0] & /*gameCategories*/
|
|
290
290
|
8 && i !== (i = /*game*/
|
|
291
|
-
r[44].name + "") &&
|
|
291
|
+
r[44].name + "") && E(n, i), d[0] & /*gameCategories*/
|
|
292
292
|
8 && l !== (l = /*game*/
|
|
293
293
|
r[44].name) && m(e, "title", l);
|
|
294
294
|
},
|
|
295
295
|
d(r) {
|
|
296
|
-
r &&
|
|
296
|
+
r && j(e);
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
299
|
}
|
|
@@ -314,23 +314,23 @@ function oe(t) {
|
|
|
314
314
|
);
|
|
315
315
|
return {
|
|
316
316
|
c() {
|
|
317
|
-
e = y("div"), i = y("img"), r =
|
|
317
|
+
e = y("div"), i = y("img"), r = T(), s && s.c(), d = T(), m(i, "class", "CategorySlideGameImage"), H(i.src, n = /*game*/
|
|
318
318
|
t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", l = /*game*/
|
|
319
319
|
t[44].name), m(e, "class", "CategorySlideGames");
|
|
320
320
|
},
|
|
321
321
|
m(f, a) {
|
|
322
|
-
|
|
322
|
+
x(f, e, a), b(e, i), b(e, r), s && s.m(e, null), b(e, d), _ || (C = B(i, "click", Me(S)), _ = !0);
|
|
323
323
|
},
|
|
324
324
|
p(f, a) {
|
|
325
325
|
t = f, a[0] & /*gameCategories*/
|
|
326
|
-
8 && !
|
|
326
|
+
8 && !H(i.src, n = /*game*/
|
|
327
327
|
t[44].defaultThumbnail) && m(i, "src", n), a[0] & /*gameCategories*/
|
|
328
328
|
8 && l !== (l = /*game*/
|
|
329
329
|
t[44].name) && m(i, "alt", l), /*collectionprovidersgamenames*/
|
|
330
330
|
t[2] == "true" ? s ? s.p(t, a) : (s = ie(t), s.c(), s.m(e, d)) : s && (s.d(1), s = null);
|
|
331
331
|
},
|
|
332
332
|
d(f) {
|
|
333
|
-
f &&
|
|
333
|
+
f && j(e), s && s.d(), _ = !1, C();
|
|
334
334
|
}
|
|
335
335
|
};
|
|
336
336
|
}
|
|
@@ -341,14 +341,14 @@ function le(t) {
|
|
|
341
341
|
/*titletype*/
|
|
342
342
|
u[1] === "logo"
|
|
343
343
|
)
|
|
344
|
-
return
|
|
344
|
+
return Re;
|
|
345
345
|
if (
|
|
346
346
|
/*titletype*/
|
|
347
347
|
u[1] === "title"
|
|
348
348
|
)
|
|
349
349
|
return Ne;
|
|
350
350
|
}
|
|
351
|
-
let f = s(t), a = f && f(t), c =
|
|
351
|
+
let f = s(t), a = f && f(t), c = O(
|
|
352
352
|
/*category*/
|
|
353
353
|
t[41].games
|
|
354
354
|
), g = [];
|
|
@@ -365,23 +365,23 @@ function le(t) {
|
|
|
365
365
|
}
|
|
366
366
|
return {
|
|
367
367
|
c() {
|
|
368
|
-
e = y("div"), i = y("div"), n = y("div"), a && a.c(), l =
|
|
368
|
+
e = y("div"), i = y("div"), n = y("div"), a && a.c(), l = T(), r = y("div");
|
|
369
369
|
for (let u = 0; u < g.length; u += 1)
|
|
370
370
|
g[u].c();
|
|
371
|
-
_ =
|
|
372
|
-
(t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")),
|
|
373
|
-
t[41]?.background + ")"),
|
|
371
|
+
_ = T(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", d = "CategorySlide " + /*category*/
|
|
372
|
+
(t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), R(i, "background-image", "url(" + /*category*/
|
|
373
|
+
t[41]?.background + ")"), R(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
|
|
374
374
|
},
|
|
375
375
|
m(u, v) {
|
|
376
|
-
|
|
376
|
+
x(u, e, v), b(e, i), b(i, n), a && a.m(n, null), b(i, l), b(i, r);
|
|
377
377
|
for (let p = 0; p < g.length; p += 1)
|
|
378
378
|
g[p] && g[p].m(r, null);
|
|
379
|
-
b(e, _), C || (S =
|
|
379
|
+
b(e, _), C || (S = B(i, "click", h), C = !0);
|
|
380
380
|
},
|
|
381
381
|
p(u, v) {
|
|
382
382
|
if (t = u, f === (f = s(t)) && a ? a.p(t, v) : (a && a.d(1), a = f && f(t), a && (a.c(), a.m(n, null))), v[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
383
383
|
8204) {
|
|
384
|
-
c =
|
|
384
|
+
c = O(
|
|
385
385
|
/*category*/
|
|
386
386
|
t[41].games
|
|
387
387
|
);
|
|
@@ -397,20 +397,20 @@ function le(t) {
|
|
|
397
397
|
v[0] & /*gameCategories*/
|
|
398
398
|
8 && d !== (d = "CategorySlide " + /*category*/
|
|
399
399
|
(t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", d), v[0] & /*gameCategories*/
|
|
400
|
-
8 &&
|
|
400
|
+
8 && R(i, "background-image", "url(" + /*category*/
|
|
401
401
|
t[41]?.background + ")");
|
|
402
402
|
},
|
|
403
403
|
d(u) {
|
|
404
|
-
u &&
|
|
404
|
+
u && j(e), a && a.d(), ne(g, u), C = !1, S();
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Ee(t) {
|
|
409
409
|
let e;
|
|
410
410
|
function i(r, d) {
|
|
411
411
|
return (
|
|
412
412
|
/*isLoading*/
|
|
413
|
-
r[6] ?
|
|
413
|
+
r[6] ? Ae : ze
|
|
414
414
|
);
|
|
415
415
|
}
|
|
416
416
|
let n = i(t), l = n(t);
|
|
@@ -419,22 +419,22 @@ function Re(t) {
|
|
|
419
419
|
e = y("div"), l.c();
|
|
420
420
|
},
|
|
421
421
|
m(r, d) {
|
|
422
|
-
|
|
422
|
+
x(r, e, d), l.m(e, null), t[26](e);
|
|
423
423
|
},
|
|
424
424
|
p(r, d) {
|
|
425
425
|
n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
|
|
426
426
|
},
|
|
427
|
-
i:
|
|
428
|
-
o:
|
|
427
|
+
i: F,
|
|
428
|
+
o: F,
|
|
429
429
|
d(r) {
|
|
430
|
-
r &&
|
|
430
|
+
r && j(e), l.d(), t[26](null);
|
|
431
431
|
}
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
434
|
function Ie(t, e, i) {
|
|
435
435
|
let n;
|
|
436
|
-
|
|
437
|
-
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, q,
|
|
436
|
+
ke(t, Oe, (o) => i(10, n = o));
|
|
437
|
+
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, q, z, U = 0, A = 50, N = !1, G, re = window.navigator.userAgent, V;
|
|
438
438
|
const ae = () => {
|
|
439
439
|
fetch(f).then((w) => w.json()).then((w) => {
|
|
440
440
|
Object.keys(w).forEach((P) => {
|
|
@@ -449,8 +449,8 @@ function Ie(t, e, i) {
|
|
|
449
449
|
});
|
|
450
450
|
const W = () => {
|
|
451
451
|
const o = new URL(`${l}/v2/casino/groups/${r}`);
|
|
452
|
-
o.searchParams.append("language", d), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${U},limit=${
|
|
453
|
-
i(6, h = !1), w.total >
|
|
452
|
+
o.searchParams.append("language", d), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${U},limit=${A}`), fetch(o.href).then((w) => w.json()).then((w) => {
|
|
453
|
+
i(6, h = !1), w.total > A && (U += 50, A += 50, i(22, N = !0));
|
|
454
454
|
let P = w.items.map((L) => ({
|
|
455
455
|
id: L.id,
|
|
456
456
|
name: L.name,
|
|
@@ -465,9 +465,9 @@ function Ie(t, e, i) {
|
|
|
465
465
|
const o = G.getRootNode().host;
|
|
466
466
|
o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
|
|
467
467
|
}, D = (o) => {
|
|
468
|
-
|
|
468
|
+
z = [...u.children], z.forEach((w, P) => {
|
|
469
469
|
w.style.transform = `translateX(${100 * (o ? P - o : P)}%)`;
|
|
470
|
-
}), q =
|
|
470
|
+
}), q = z[0]?.getBoundingClientRect().width, ce();
|
|
471
471
|
}, ce = () => {
|
|
472
472
|
i(8, k = Math.floor(u.clientWidth / q));
|
|
473
473
|
}, K = () => {
|
|
@@ -476,7 +476,7 @@ function Ie(t, e, i) {
|
|
|
476
476
|
v === 0 ? v = p - k : v - k < -1 ? v = 0 : v--, K();
|
|
477
477
|
}, ge = () => {
|
|
478
478
|
v === p - k ? v = 0 : p - k < v + 1 ? v = p - k : v++, K();
|
|
479
|
-
},
|
|
479
|
+
}, J = (o, w, P, L) => {
|
|
480
480
|
window.postMessage(
|
|
481
481
|
{
|
|
482
482
|
type: "OpenCollectionsProvidersGame",
|
|
@@ -490,7 +490,7 @@ function Ie(t, e, i) {
|
|
|
490
490
|
context: "CollectionsProviders",
|
|
491
491
|
gameName: `${P}`
|
|
492
492
|
});
|
|
493
|
-
},
|
|
493
|
+
}, Z = (o) => {
|
|
494
494
|
window.postMessage(
|
|
495
495
|
{
|
|
496
496
|
type: "OpenCollectionsProvidersCategory",
|
|
@@ -499,11 +499,11 @@ function Ie(t, e, i) {
|
|
|
499
499
|
window.location.href
|
|
500
500
|
);
|
|
501
501
|
}, ue = () => {
|
|
502
|
-
|
|
502
|
+
Be(d);
|
|
503
503
|
};
|
|
504
|
-
|
|
504
|
+
Ge(() => (i(9, V = Pe(re)), () => {
|
|
505
505
|
}));
|
|
506
|
-
const me = (o) =>
|
|
506
|
+
const me = (o) => J(o.gameId, o.launchUrl, o.name, o.subVendor), fe = (o) => Z(o.id);
|
|
507
507
|
function pe(o) {
|
|
508
508
|
X[o ? "unshift" : "push"](() => {
|
|
509
509
|
u = o, i(4, u);
|
|
@@ -522,8 +522,8 @@ function Ie(t, e, i) {
|
|
|
522
522
|
24 && g && u && D(), t.$$.dirty[0] & /*lang*/
|
|
523
523
|
131072 && d && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
524
524
|
262176 && S && G && je(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
525
|
-
524320 && s && G &&
|
|
526
|
-
2097184 && G &&
|
|
525
|
+
524320 && s && G && xe(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
526
|
+
2097184 && G && Te(G, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
527
527
|
1048576 && f && ae(), t.$$.dirty[0] & /*paginationrequired*/
|
|
528
528
|
4194304 && N && W();
|
|
529
529
|
}, [
|
|
@@ -540,8 +540,8 @@ function Ie(t, e, i) {
|
|
|
540
540
|
n,
|
|
541
541
|
de,
|
|
542
542
|
ge,
|
|
543
|
-
Z,
|
|
544
543
|
J,
|
|
544
|
+
Z,
|
|
545
545
|
l,
|
|
546
546
|
r,
|
|
547
547
|
d,
|
|
@@ -562,8 +562,8 @@ class qe extends ye {
|
|
|
562
562
|
this,
|
|
563
563
|
e,
|
|
564
564
|
Ie,
|
|
565
|
-
|
|
566
|
-
|
|
565
|
+
Ee,
|
|
566
|
+
we,
|
|
567
567
|
{
|
|
568
568
|
endpoint: 15,
|
|
569
569
|
datasource: 16,
|
|
@@ -576,7 +576,7 @@ class qe extends ye {
|
|
|
576
576
|
collectionprovidersgamenames: 2,
|
|
577
577
|
mbsource: 21
|
|
578
578
|
},
|
|
579
|
-
|
|
579
|
+
He,
|
|
580
580
|
[-1, -1]
|
|
581
581
|
);
|
|
582
582
|
}
|
|
@@ -641,7 +641,7 @@ class qe extends ye {
|
|
|
641
641
|
this.$$set({ mbsource: e }), M();
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
Fe(qe, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
645
645
|
export {
|
|
646
646
|
qe as default
|
|
647
647
|
};
|
package/components/{CasinoFavoritesSection-51a03OgV.cjs → CasinoFavoritesSection-D1GhXv3a.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DqS7aKva.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-B_kw0cnt.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function L({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function M(a){t.append_styles(a,"svelte-nazqps",".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function F(a){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",a[4]),t.set_custom_element_data(e,"userid",a[5]),t.set_custom_element_data(e,"endpoint",a[0]),t.set_custom_element_data(e,"datasource",a[1]),t.set_custom_element_data(e,"lang",a[3]),t.set_custom_element_data(e,"currency",a[2]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"fetchviaevent",a[16]),t.set_custom_element_data(e,"mbsource",a[17]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[13]),t.set_custom_element_data(e,"gamepagemodalurl",a[12]),t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),t.set_custom_element_data(e,"integratedgameframemobile",a[9]),t.set_custom_element_data(e,"casinomygames",a[15])},m(s,i){t.insert(s,e,i)},p(s,i){i&16&&t.set_custom_element_data(e,"session",s[4]),i&32&&t.set_custom_element_data(e,"userid",s[5]),i&1&&t.set_custom_element_data(e,"endpoint",s[0]),i&2&&t.set_custom_element_data(e,"datasource",s[1]),i&8&&t.set_custom_element_data(e,"lang",s[3]),i&4&&t.set_custom_element_data(e,"currency",s[2]),i&16384&&t.set_custom_element_data(e,"favorites",s[14]),i&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i&131072&&t.set_custom_element_data(e,"mbsource",s[17]),i&2048&&t.set_custom_element_data(e,"showgamename",s[11]),i&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i&256&&t.set_custom_element_data(e,"livecasino",s[8]),i&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),i&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function O(a){let e,s=a[4]&&F(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,l){t.insert(i,e,l),s&&s.m(e,null),a[19](e)},p(i,[l]){i[4]?s?s.p(i,l):(s=F(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),s&&s.d(),a[19](null)}}}function A(a,e,s){let{endpoint:i=""}=e,{datasource:l=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:b=""}=e,{gamepagemodalurl:v="false"}=e,{visiblegames:w=""}=e,{favorites:k=""}=e,{casinomygames:C="false"}=e,{fetchviaevent:S="true"}=e,{mbsource:c}=e,m;L({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(18,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,u=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,b=n.showgamename),"gamepagemodalurl"in n&&s(12,v=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,k=n.favorites),"casinomygames"in n&&s(15,C=n.casinomygames),"fetchviaevent"in n&&s(16,S=n.fetchviaevent),"mbsource"in n&&s(17,c=n.mbsource)},a.$$.update=()=>{a.$$.dirty&262208&&o&&m&&t.setClientStyling(m,o),a.$$.dirty&262272&&u&&m&&t.setClientStylingURL(m,u),a.$$.dirty&393216&&m&&t.setStreamStyling(m,`${c}.Style`)},[i,l,g,r,f,_,o,u,d,h,y,b,v,w,k,C,S,c,m,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,O,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16,mbsource:17},M)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=E;
|