@everymatrix/casino-lobby 1.86.1 → 1.86.3
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-Bh1m4DYa.cjs +19 -0
- package/components/{CasinoCalendar-DeuDpvc7.js → CasinoCalendar-CTTcluAF.js} +1012 -1033
- package/components/{CasinoCalendar-qxlVRlx3.js → CasinoCalendar-g3C0yL-l.js} +828 -849
- package/components/{CasinoCalendarDailyDetails-DgSA6Oos.js → CasinoCalendarDailyDetails-BReSw0PH.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-oDArpqk3.js → CasinoCalendarDailyDetails-C6NZu63m.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-0DzEjr4I.cjs → CasinoCalendarDailyDetails-MbSzyBl-.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-D1UMrOrr.js → CasinoCalendarDailyItem-DW4bwJrg.js} +34 -34
- package/components/{CasinoCalendarDailyItem--x4C1v1R.js → CasinoCalendarDailyItem-D_-hgIOG.js} +34 -34
- package/components/{CasinoCalendarDailyItem-BT_oTw81.cjs → CasinoCalendarDailyItem-vF8QUewM.cjs} +1 -1
- package/components/CasinoCategoriesSlider-CMW1BzhU.cjs +1 -0
- package/components/{CasinoCategoriesSlider-DnJiwJ-i.js → CasinoCategoriesSlider-DLioXO8u.js} +73 -73
- package/components/{CasinoCategoriesSlider-BmkD2GJJ.js → CasinoCategoriesSlider-uIpxZEDW.js} +70 -70
- package/components/{CasinoCollectionsProviders-DS-cICru.js → CasinoCollectionsProviders-BDJPyhyP.js} +64 -64
- package/components/{CasinoCollectionsProviders-KucGv4ev.cjs → CasinoCollectionsProviders-C66FXn8E.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-SF9NUz_s.js → CasinoCollectionsProviders-l8Bj7gLF.js} +77 -77
- package/components/{CasinoFavoritesSection-DBOa4rLG.js → CasinoFavoritesSection-1xjeruY9.js} +19 -19
- package/components/{CasinoFavoritesSection-Q91WkZtR.js → CasinoFavoritesSection-JbXta4ej.js} +19 -19
- package/components/{CasinoFavoritesSection-ioWl2WWa.cjs → CasinoFavoritesSection-flqQ1Txz.cjs} +1 -1
- package/components/{CasinoFilter-WlNu83Yo.js → CasinoFilter-AWMGrvg7.js} +222 -223
- package/components/CasinoFilter-CrCTTPvH.cjs +1 -0
- package/components/{CasinoFilter-Iy2ZAp7X.js → CasinoFilter-DK1IJtKj.js} +245 -244
- package/components/{CasinoGameThumbnail-yvrHp66V.js → CasinoGameThumbnail-AMyBxNdq.js} +762 -778
- package/components/{CasinoGameThumbnail-Ddpsxirj.js → CasinoGameThumbnail-DgEB-dkM.js} +1268 -1252
- package/components/CasinoGameThumbnail-Dymq8wWq.cjs +47 -0
- package/components/{CasinoGamesCategorySection-COcAuqTG.js → CasinoGamesCategorySection-UbxtEgDx.js} +301 -301
- package/components/{CasinoGamesCategorySection-DUgz8uau.cjs → CasinoGamesCategorySection-ZiaOwaIX.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-DDqd3M8L.js → CasinoGamesCategorySection-blhrWiJn.js} +302 -302
- package/components/{CasinoJackpotBanner-DEsoDJ4R.cjs → CasinoJackpotBanner-15vjCxeq.cjs} +1 -1
- package/components/{CasinoJackpotBanner-ovGVK744.js → CasinoJackpotBanner-OEQ6kTNX.js} +84 -84
- package/components/{CasinoJackpotBanner-CuHjieHv.js → CasinoJackpotBanner-sKWQEAXI.js} +89 -89
- package/components/{CasinoLastPlayedSection-C8WSFXnj.js → CasinoLastPlayedSection-DlDq9l_7.js} +33 -33
- package/components/{CasinoLastPlayedSection-cSkPcLtL.js → CasinoLastPlayedSection-Dv7S9x-o.js} +33 -33
- package/components/{CasinoLastPlayedSection-BHV-LRk1.cjs → CasinoLastPlayedSection-kM9yLvhD.cjs} +1 -1
- package/components/{CasinoLobby-Bkj4ZQu6.js → CasinoLobby-BknjaOeS.js} +59 -59
- package/components/{CasinoLobby-Bc2QHTe4.js → CasinoLobby-Dho7eG4P.js} +59 -59
- package/components/{CasinoLobby-Cs6HmQRu.cjs → CasinoLobby-odJbcWRR.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-DsX-pIXm.cjs → CasinoMostPlayedSection-BJpdcEGe.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CQdqKCZj.js → CasinoMostPlayedSection-CGxtqevB.js} +45 -45
- package/components/{CasinoMostPlayedSection-smiwW5Ol.js → CasinoMostPlayedSection-PvqfZR6v.js} +45 -45
- package/components/{CasinoMyGames-CJ7rioBh.cjs → CasinoMyGames-Baaz8xfL.cjs} +1 -1
- package/components/{CasinoMyGames-CYZ5nWjJ.js → CasinoMyGames-C22R6240.js} +29 -29
- package/components/{CasinoMyGames-CnnjGYeT.js → CasinoMyGames-Cr-QJTaa.js} +29 -29
- package/components/{CasinoPage-Dg5sPuQa.js → CasinoPage-BGrASQhH.js} +109 -109
- package/components/{CasinoPage-BzASY7Hg.cjs → CasinoPage-BZnxTJSo.cjs} +1 -1
- package/components/{CasinoPage-CUUEVdPt.js → CasinoPage-DcXwVMup.js} +123 -123
- package/components/{CasinoRandomGame-Dh5EVxCR.js → CasinoRandomGame-CLsTaSPD.js} +53 -53
- package/components/{CasinoRandomGame-DRJXaM_Z.cjs → CasinoRandomGame-Cz5w1Xkm.cjs} +1 -1
- package/components/{CasinoRandomGame-DBzLZj0J.js → CasinoRandomGame-DoBaxDNA.js} +52 -52
- package/components/{CasinoSearch--8BCnmOG.js → CasinoSearch-D4nuoT1C.js} +85 -85
- package/components/{CasinoSearch-r9ofFlZt.cjs → CasinoSearch-DHRGmpEd.cjs} +1 -1
- package/components/{CasinoSearch-BxyP0Ga2.js → CasinoSearch-M-zypI5B.js} +82 -82
- package/components/{CasinoSlider-C0mxz0hk.cjs → CasinoSlider-B_WI_7Qb.cjs} +1 -1
- package/components/{CasinoSlider-BihCQ92y.js → CasinoSlider-DvI5SCyj.js} +86 -86
- package/components/{CasinoSlider-DpYeYJhK.js → CasinoSlider-OSPrTvMo.js} +87 -87
- package/components/{CasinoSort-CbOOYzWs.js → CasinoSort-COpZLKBV.js} +102 -103
- package/components/{CasinoSort-BOsO5Bfe.js → CasinoSort-DEbYB6BH.js} +112 -111
- package/components/{CasinoSort-L9UM4M85.cjs → CasinoSort-KSHMLnqL.cjs} +1 -1
- package/components/{CasinoWinners-DAW-pGRt.js → CasinoWinners-6u19h4xG.js} +151 -151
- package/components/{CasinoWinners-CDQfWIM6.js → CasinoWinners-CtR1v_xw.js} +148 -148
- package/components/{CasinoWinners-CxuidCR1.cjs → CasinoWinners-DlPnBzX-.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CPc2UOwA.js → GeneralAnimationLoading-CEqG5qMY.js} +14 -14
- package/components/{GeneralAnimationLoading-CFokXkWs.cjs → GeneralAnimationLoading-oehLt3ob.cjs} +1 -1
- package/components/{GeneralAnimationLoading-D0quTPWA.js → GeneralAnimationLoading-rntZi33z.js} +14 -14
- 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-rBIQ75Yb.cjs → casino-play-random-game-111R1Frl.cjs} +1 -1
- package/stencil/{casino-play-random-game-bUDjgSKo.js → casino-play-random-game-D9PFB7B2.js} +1 -1
- package/stencil/{casino-play-random-game-DmsXPThq.js → casino-play-random-game-Dge6-qaF.js} +1 -1
- package/stencil/{casino-play-random-game_2-Bf4CHBc9.js → casino-play-random-game_2-CunwpDd1.js} +2 -2
- package/stencil/{casino-play-random-game_2-C30-vRGp.js → casino-play-random-game_2-auPXMZnz.js} +2 -2
- package/stencil/{casino-play-random-game_2-CCCLDakd.cjs → casino-play-random-game_2-cZvlv_fo.cjs} +2 -2
- package/stencil/index-328e660d-A_dWaOAX.cjs +1 -0
- package/stencil/index-328e660d-BiHqu78m.js +576 -0
- package/stencil/index-328e660d-DJbpQFmN.js +560 -0
- package/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/index-b2193545-BkP0Nc2C.cjs +1 -0
- package/stencil/index-b2193545-CejVSlwL.js +519 -0
- package/stencil/index-b2193545-DL1I-QYR.js +503 -0
- package/stencil/{ui-image-BmLAbwvr.cjs → ui-image-C1Fl5HOc.cjs} +1 -1
- package/stencil/{ui-image-DDulMZDF.js → ui-image-DnOuibDF.js} +1 -1
- package/stencil/{ui-image-DwWgscwP.js → ui-image-_mAQXh8W.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/stencil/{ui-skeleton-BWEKzqTN.cjs → ui-skeleton-CWdppDyF.cjs} +1 -1
- package/stencil/{ui-skeleton-DgZQnowa.js → ui-skeleton-QCtPK7l5.js} +2 -2
- package/stencil/{ui-skeleton-D_tu1FGi.js → ui-skeleton-TkMXeWrD.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-Ti6Ksz7V.cjs → ui-skeleton-ed169f8f-BT7QFq3s.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Bs1q2JQr.js → ui-skeleton-ed169f8f-CiWqRE71.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D2rWx_KU.js → ui-skeleton-ed169f8f-pTYMIneT.js} +1 -1
- package/components/CasinoCalendar-CDybCkBw.cjs +0 -19
- package/components/CasinoCategoriesSlider-CDsrUsbe.cjs +0 -1
- package/components/CasinoFilter-S-pUTxvR.cjs +0 -1
- package/components/CasinoGameThumbnail-B386-P3k.cjs +0 -47
- package/stencil/index-328e660d-B6ge05AJ.js +0 -560
- package/stencil/index-328e660d-C6OCQOhB.cjs +0 -1
- package/stencil/index-328e660d-Duk3nD23.js +0 -576
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-BZAG_Jnw.js +0 -503
- package/stencil/index-b2193545-DG7pnr-7.js +0 -519
- package/stencil/index-b2193545-DuCTLpV-.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var X=(r,t,n)=>new Promise((i,l)=>{var o=c=>{try{u(n.next(c))}catch(p){l(p)}},a=c=>{try{u(n.throw(c))}catch(p){l(p)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(o,a);u((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CDybCkBw.cjs");function Le(r,t){e.addMessages(r,t)}function Oe(r){e.$locale.set(r)}const Re={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};function Pe(r,t,n){window.emMessageBus&&window.emMessageBus.subscribe(r,n)}if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}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=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-CFokXkWs.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Ie(r){e.append_styles(r,"svelte-d1flp7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.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:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ae(r,t,n){const i=r.slice();return i[74]=t[n],i}function ce(r,t,n){const i=r.slice();return i[77]=t[n],i}function Ge(r){let t,n,i,l,o,a,u,c,p,L,M,_,b,A,x,B,F,T,v,y=e.ensure_array_like(r[16]),g=[];for(let m=0;m<y.length;m+=1)g[m]=fe(ce(r,y,m));function N(m,f){return m[17]?qe:De}let S=N(r),w=S(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let m=0;m<g.length;m+=1)g[m].c();l=e.space(),o=e.element("div"),a=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),L=e.space(),M=e.element("button"),_=e.svg_element("svg"),b=e.svg_element("path"),B=e.space(),w.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(c,"style",p=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(a,"class","SliderButton"),e.attr(b,"style",A=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(_,"id","Component_46_2"),e.attr(_,"data-name","Component 46 – 2"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","15"),e.attr(_,"height","15"),e.attr(_,"viewBox","0 0 16 24.656"),e.attr(M,"class","SliderButton"),e.attr(o,"class",x="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",F="CasinoWinners "+(r[12]?"Mobile":""))},m(m,f){e.insert(m,t,f),e.append(t,n),e.append(n,i);for(let d=0;d<g.length;d+=1)g[d]&&g[d].m(i,null);e.append(n,l),e.append(n,o),e.append(o,a),e.append(a,u),e.append(u,c),e.append(o,L),e.append(o,M),e.append(M,_),e.append(_,b),e.append(t,B),w.m(t,null),T||(v=[e.listen(a,"click",r[47]),e.listen(M,"click",r[48])],T=!0)},p(m,f){if(f[0]&852483){y=e.ensure_array_like(m[16]);let d;for(d=0;d<y.length;d+=1){const k=ce(m,y,d);g[d]?g[d].p(k,f):(g[d]=fe(k),g[d].c(),g[d].m(i,null))}for(;d<g.length;d+=1)g[d].d(1);g.length=y.length}f[0]&3072&&p!==(p=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",p),f[0]&3072&&A!==(A=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",A),f[0]&16&&x!==(x="ButtonsContainer "+(m[4]=="true"?"ButtonsContainerNone":""))&&e.attr(o,"class",x),S===(S=N(m))&&w?w.p(m,f):(w.d(1),w=S(m),w&&(w.c(),w.m(t,null))),f[0]&4096&&F!==(F="CasinoWinners "+(m[12]?"Mobile":""))&&e.attr(t,"class",F)},d(m){m&&e.detach(t),e.destroy_each(g,m),w.d(),T=!1,e.run_all(v)}}}function Ue(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},d(n){n&&e.detach(t)}}}function ue(r){let t,n=r[0]==="true"&&de(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=de(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function de(r){let t,n=r[18]("recentWinners")+"",i,l,o,a;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,i),o||(a=e.listen(t,"click",r[45]),o=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(i,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),o=!1,a()}}}function me(r){let t,n=r[18]("topWinners")+"",i,l,o,a,u;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",o="WinnersButton "+(r[9]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(c,p){e.insert(c,t,p),e.append(t,i),e.append(t,l),a||(u=e.listen(t,"click",r[46]),a=!0)},p(c,p){p[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(i,n),p[0]&514&&o!==(o="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),a=!1,u()}}}function fe(r){let t,n,i=r[77]=="recent"&&ue(r),l=r[77]=="top"&&me(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(o,a){i&&i.m(o,a),e.insert(o,t,a),l&&l.m(o,a),e.insert(o,n,a)},p(o,a){o[77]=="recent"?i?i.p(o,a):(i=ue(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),o[77]=="top"?l?l.p(o,a):(l=me(o),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(o){o&&(e.detach(t),e.detach(n)),i&&i.d(o),l&&l.d(o)}}}function De(r){let t;function n(o,a){return o[10].length!==0?Ve:He}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(o,a){e.insert(o,t,a),l.m(t,null),r[51](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},d(o){o&&e.detach(t),l.d(),r[51](null)}}}function qe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function He(r){let t,n=r[18]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,o){e.insert(l,t,o),e.append(t,i)},p(l,o){o[0]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ve(r){let t,n=e.ensure_array_like(r[10]),i=[];for(let l=0;l<n.length;l+=1)i[l]=ge(ae(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,o){for(let a=0;a<i.length;a+=1)i[a]&&i[a].m(l,o);e.insert(l,t,o)},p(l,o){if(o[0]&20219136){n=e.ensure_array_like(l[10]);let a;for(a=0;a<n.length;a+=1){const u=ae(l,n,a);i[a]?i[a].p(u,o):(i[a]=ge(u),i[a].c(),i[a].m(t.parentNode,t))}for(;a<i.length;a+=1)i[a].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function ge(r){let t,n,i,l,o,a,u,c=r[74].gameName+"",p,L,M,_=r[20](r[74].username)+"",b,A,x,B=r[18]("won")+"",F,T,v,y=r[24](r[74].specifiedCurrencyAmount)+"",g,N,S,w;function m(){return r[49](r[74])}return{c(){var f,d,k,E;t=e.element("div"),n=e.element("div"),i=e.element("img"),a=e.space(),u=e.element("p"),p=e.text(c),L=e.space(),M=e.element("p"),b=e.text(_),A=e.space(),x=e.element("p"),F=e.text(B),T=e.space(),v=e.element("p"),g=e.space(),e.src_url_equal(i.src,l=(d=(f=r[74])==null?void 0:f.gameModel)==null?void 0:d.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",o=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(x,"class","WinnerUsername"),e.attr(v,"class","WinnerAmount"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))},m(f,d){e.insert(f,t,d),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,u),e.append(u,p),e.append(n,L),e.append(n,M),e.append(M,b),e.append(n,A),e.append(n,x),e.append(x,F),e.append(n,T),e.append(n,v),v.innerHTML=y,r[50](n),e.append(t,g),S||(w=e.listen(i,"click",m),S=!0)},p(f,d){var k,E,O,z;r=f,d[0]&1024&&!e.src_url_equal(i.src,l=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail)&&e.attr(i,"src",l),d[0]&1024&&o!==(o=(z=(O=r[74])==null?void 0:O.gameModel)==null?void 0:z.thumbnail)&&e.attr(i,"alt",o),d[0]&1024&&c!==(c=r[74].gameName+"")&&e.set_data(p,c),d[0]&1024&&_!==(_=r[20](r[74].username)+"")&&e.set_data(b,_),d[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(F,B),d[0]&1024&&y!==(y=r[24](r[74].specifiedCurrencyAmount)+"")&&(v.innerHTML=y),d[0]&32768&&N!==(N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",N)},d(f){f&&e.detach(t),r[50](null),S=!1,w()}}}function Ke(r){let t;function n(o,a){return o[13]||o[14]?Ue:Ge}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(o,a){e.insert(o,t,a),l.m(t,null),r[52](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),l.d(),r[52](null)}}}function Ze(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:o=""}=t,{userid:a=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:p="20"}=t,{numberuserstop:L="20"}=t,{amountlimit:M="1"}=t,{vendorCategory:_="All"}=t,{lang:b="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:x="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:F=""}=t,{customcurrencysymbol:T}=t,{clientstyling:v=""}=t,{clientstylingurl:y=""}=t,{enableautoscroll:g=""}=t,{tabsorder:N=""}=t,{translationurl:S=""}=t,{winnersdatasources:w=""}=t,{hascustomstyling:m="false"}=t,{mbsource:f}=t,{currencylocale:d=""}=t,k,E,O,z=[],W=0,C=0,pe=window.navigator.userAgent,Y,P,U,j,D=!0,Q=!1,$=!1,ee,G,q,I,te=[],H=!1,be;const V=s=>{Object.keys(s).forEach(h=>{Le(h,s[h])})},_e=()=>{let s=new URL(S);fetch(s.href).then(h=>h.json()).then(h=>{V(h)}).catch(h=>{console.log(h)})};V(Re);const ne=()=>{te=w.split(",").map(function(h){return h.trim()});const s=new URL(`${l}/v1/casino/${O}-winners`);n(17,H=!0),s.searchParams.append("limit",O=="recent"?p:L),s.searchParams.append("specifiedCurrency",I),s.searchParams.append("period",O=="recent"?u:c),s.searchParams.append("language",b),s.searchParams.append("amountLimit",M),s.searchParams.append("vendorCategory",_),te.forEach(h=>{s.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(s.href).then(h=>h.json()).then(h=>X(this,null,function*(){n(10,z=[]),n(10,z=h.items.map(R=>R)),n(17,H=!1),yield e.tick(),ve(),ie(),g=="true"&&(clearInterval(G),We()),n(13,D=!1),ye()}))},1e3)},ye=()=>{const s=j.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},K=s=>{O!==s&&(n(10,z=[]),n(9,O=s),ne())},we=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),re=(s,h,R,J)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:h,gameName:R,subVendor:J},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${U||"Not logged in"}`})},ie=(s=0)=>{const h=[...k.children];ee=h.length,h.forEach((R,J)=>{R.style.transform=`translateX(${100*(J-s)}%)`}),setTimeout(()=>{n(15,$=!0)},10)},We=()=>{W=0,C<ee?G=setInterval(()=>{Z()},3e3):clearInterval(G)},se=()=>{ie(W)},ve=()=>X(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const s=E?E.offsetWidth:0;k.offsetWidth&&s?n(11,C=Math.round(k.offsetWidth/s)):n(11,C=0)})}),le=()=>{if(C>=z.length)return;const s=z.length;W===0?W=s-C:W-C<0?W=0:W=W-C,se()},Z=()=>{if(C>=z.length)return;const s=z.length;g=="true"&&(W===s-C?W=0:W++),g=="false"&&(W===s-C?W=0:s-C<W+C?W=s-C:W+=C),se()},ke=()=>{Oe(b)},Ce=()=>{n(43,P=!0),U=a},oe=()=>{n(44,I=P?F:B)},Me=s=>{const h=T!=null?T:P?F:B;return`${d?Intl.NumberFormat(d,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:I}).format(s).replace(/\s/g,""):s.toFixed(2)}<span class="CurrencySymbol">${h}</span>`},Fe=()=>{m==="true"&&(!v&&!y&&j&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!v&&y&&n(14,Q=!0))},Se=()=>{n(16,q=N.split(",")),n(9,O=q[0]),oe(),n(13,D=!1)};e.onMount(()=>(n(12,Y=e.isMobile(pe)),()=>{clearInterval(G)}));const xe=()=>K("recent"),Be=()=>K("top"),Te=()=>le(),Ne=()=>Z(),Ae=s=>re(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Ee(s){e.binding_callbacks[s?"unshift":"push"](()=>{E=s,n(8,E)})}function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{k=s,n(7,k)})}function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{j=s,n(6,j)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,o=s.session),"userid"in s&&n(27,a=s.userid),"periodrecent"in s&&n(28,u=s.periodrecent),"periodtop"in s&&n(29,c=s.periodtop),"numberusersrecent"in s&&n(30,p=s.numberusersrecent),"numberuserstop"in s&&n(31,L=s.numberuserstop),"amountlimit"in s&&n(32,M=s.amountlimit),"vendorCategory"in s&&n(33,_=s.vendorCategory),"lang"in s&&n(34,b=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,x=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,F=s.usercurrency),"customcurrencysymbol"in s&&n(37,T=s.customcurrencysymbol),"clientstyling"in s&&n(2,v=s.clientstyling),"clientstylingurl"in s&&n(3,y=s.clientstylingurl),"enableautoscroll"in s&&n(4,g=s.enableautoscroll),"tabsorder"in s&&n(38,N=s.tabsorder),"translationurl"in s&&n(39,S=s.translationurl),"winnersdatasources"in s&&n(40,w=s.winnersdatasources),"hascustomstyling"in s&&n(41,m=s.hascustomstyling),"mbsource"in s&&n(5,f=s.mbsource),"currencylocale"in s&&n(42,d=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&143&&A&&x&&u&&c&&p&&L&&M&&_&&b&&N&&Se(),r.$$.dirty[0]&67108864&&o&&Ce(),r.$$.dirty[1]&4144&&P&&(F||B)&&oe(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&8704&&l&&w&&I&&ne(),r.$$.dirty[1]&8&&b&&ke(),r.$$.dirty[1]&256&&S&&_e(),r.$$.dirty[0]&32|r.$$.dirty[1]&256&&f&&!S&&Pe(`${f}.Translation`,be,V),r.$$.dirty[1]&1024&&m&&Fe(),r.$$.dirty[0]&68&&v&&j&&e.setClientStyling(j,v),r.$$.dirty[0]&72&&y&&j&&e.setClientStylingURL(j,y),r.$$.dirty[0]&96&&j&&e.setStreamStyling(j,`${f}.Style`)},[A,x,v,y,g,f,j,k,E,O,z,C,Y,D,Q,$,q,H,i,K,we,re,le,Z,Me,l,o,a,u,c,p,L,M,_,b,B,F,T,N,S,w,m,d,P,I,xe,Be,Te,Ne,Ae,Ee,ze,je]}class he extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ze,Ke,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,customcurrencysymbol:37,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:38,translationurl:39,winnersdatasources:40,hascustomstyling:41,mbsource:5,currencylocale:42},Ie,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get customcurrencysymbol(){return this.$$.ctx[37]}set customcurrencysymbol(t){this.$$set({customcurrencysymbol:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[39]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[40]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[41]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[42]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(he,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},customcurrencysymbol:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);exports.default=he;
|
|
1
|
+
"use strict";var X=(r,t,n)=>new Promise((i,l)=>{var o=c=>{try{u(n.next(c))}catch(p){l(p)}},a=c=>{try{u(n.throw(c))}catch(p){l(p)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(o,a);u((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-Bh1m4DYa.cjs");function Oe(r,t){e.addMessages(r,t)}function Re(r){e.$locale.set(r)}const Pe={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};function Ie(r,t,n){window.emMessageBus&&window.emMessageBus.subscribe(r,n)}if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}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=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-oehLt3ob.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Ge(r){e.append_styles(r,"svelte-d1flp7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.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:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ce(r,t,n){const i=r.slice();return i[74]=t[n],i}function ue(r,t,n){const i=r.slice();return i[77]=t[n],i}function Ue(r){let t,n,i,l,o,a,u,c,p,L,M,_,b,A,x,B,S,T,v,y=e.ensure_array_like(r[16]),g=[];for(let m=0;m<y.length;m+=1)g[m]=ge(ue(r,y,m));function N(m,f){return m[17]?He:qe}let F=N(r),w=F(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let m=0;m<g.length;m+=1)g[m].c();l=e.space(),o=e.element("div"),a=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),L=e.space(),M=e.element("button"),_=e.svg_element("svg"),b=e.svg_element("path"),B=e.space(),w.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(c,"style",p=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(a,"class","SliderButton"),e.attr(b,"style",A=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(_,"id","Component_46_2"),e.attr(_,"data-name","Component 46 – 2"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","15"),e.attr(_,"height","15"),e.attr(_,"viewBox","0 0 16 24.656"),e.attr(M,"class","SliderButton"),e.attr(o,"class",x="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",S="CasinoWinners "+(r[12]?"Mobile":""))},m(m,f){e.insert(m,t,f),e.append(t,n),e.append(n,i);for(let d=0;d<g.length;d+=1)g[d]&&g[d].m(i,null);e.append(n,l),e.append(n,o),e.append(o,a),e.append(a,u),e.append(u,c),e.append(o,L),e.append(o,M),e.append(M,_),e.append(_,b),e.append(t,B),w.m(t,null),T||(v=[e.listen(a,"click",r[47]),e.listen(M,"click",r[48])],T=!0)},p(m,f){if(f[0]&852483){y=e.ensure_array_like(m[16]);let d;for(d=0;d<y.length;d+=1){const k=ue(m,y,d);g[d]?g[d].p(k,f):(g[d]=ge(k),g[d].c(),g[d].m(i,null))}for(;d<g.length;d+=1)g[d].d(1);g.length=y.length}f[0]&3072&&p!==(p=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",p),f[0]&3072&&A!==(A=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",A),f[0]&16&&x!==(x="ButtonsContainer "+(m[4]=="true"?"ButtonsContainerNone":""))&&e.attr(o,"class",x),F===(F=N(m))&&w?w.p(m,f):(w.d(1),w=F(m),w&&(w.c(),w.m(t,null))),f[0]&4096&&S!==(S="CasinoWinners "+(m[12]?"Mobile":""))&&e.attr(t,"class",S)},d(m){m&&e.detach(t),e.destroy_each(g,m),w.d(),T=!1,e.run_all(v)}}}function De(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},d(n){n&&e.detach(t)}}}function de(r){let t,n=r[0]==="true"&&me(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=me(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function me(r){let t,n=r[18]("recentWinners")+"",i,l,o,a;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,i),o||(a=e.listen(t,"click",r[45]),o=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(i,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),o=!1,a()}}}function fe(r){let t,n=r[18]("topWinners")+"",i,l,o,a,u;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",o="WinnersButton "+(r[9]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(c,p){e.insert(c,t,p),e.append(t,i),e.append(t,l),a||(u=e.listen(t,"click",r[46]),a=!0)},p(c,p){p[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(i,n),p[0]&514&&o!==(o="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),a=!1,u()}}}function ge(r){let t,n,i=r[77]=="recent"&&de(r),l=r[77]=="top"&&fe(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(o,a){i&&i.m(o,a),e.insert(o,t,a),l&&l.m(o,a),e.insert(o,n,a)},p(o,a){o[77]=="recent"?i?i.p(o,a):(i=de(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),o[77]=="top"?l?l.p(o,a):(l=fe(o),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(o){o&&(e.detach(t),e.detach(n)),i&&i.d(o),l&&l.d(o)}}}function qe(r){let t;function n(o,a){return o[10].length!==0?Ke:Ve}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(o,a){e.insert(o,t,a),l.m(t,null),r[51](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},d(o){o&&e.detach(t),l.d(),r[51](null)}}}function He(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function Ve(r){let t,n=r[18]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,o){e.insert(l,t,o),e.append(t,i)},p(l,o){o[0]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ke(r){let t,n=e.ensure_array_like(r[10]),i=[];for(let l=0;l<n.length;l+=1)i[l]=he(ce(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,o){for(let a=0;a<i.length;a+=1)i[a]&&i[a].m(l,o);e.insert(l,t,o)},p(l,o){if(o[0]&20219136){n=e.ensure_array_like(l[10]);let a;for(a=0;a<n.length;a+=1){const u=ce(l,n,a);i[a]?i[a].p(u,o):(i[a]=he(u),i[a].c(),i[a].m(t.parentNode,t))}for(;a<i.length;a+=1)i[a].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function he(r){let t,n,i,l,o,a,u,c=r[74].gameName+"",p,L,M,_=r[20](r[74].username)+"",b,A,x,B=r[18]("won")+"",S,T,v,y=r[24](r[74].specifiedCurrencyAmount)+"",g,N,F,w;function m(){return r[49](r[74])}return{c(){var f,d,k,E;t=e.element("div"),n=e.element("div"),i=e.element("img"),a=e.space(),u=e.element("p"),p=e.text(c),L=e.space(),M=e.element("p"),b=e.text(_),A=e.space(),x=e.element("p"),S=e.text(B),T=e.space(),v=e.element("p"),g=e.space(),e.src_url_equal(i.src,l=(d=(f=r[74])==null?void 0:f.gameModel)==null?void 0:d.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",o=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(x,"class","WinnerUsername"),e.attr(v,"class","WinnerAmount"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))},m(f,d){e.insert(f,t,d),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,u),e.append(u,p),e.append(n,L),e.append(n,M),e.append(M,b),e.append(n,A),e.append(n,x),e.append(x,S),e.append(n,T),e.append(n,v),v.innerHTML=y,r[50](n),e.append(t,g),F||(w=e.listen(i,"click",m),F=!0)},p(f,d){var k,E,O,z;r=f,d[0]&1024&&!e.src_url_equal(i.src,l=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail)&&e.attr(i,"src",l),d[0]&1024&&o!==(o=(z=(O=r[74])==null?void 0:O.gameModel)==null?void 0:z.thumbnail)&&e.attr(i,"alt",o),d[0]&1024&&c!==(c=r[74].gameName+"")&&e.set_data(p,c),d[0]&1024&&_!==(_=r[20](r[74].username)+"")&&e.set_data(b,_),d[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(S,B),d[0]&1024&&y!==(y=r[24](r[74].specifiedCurrencyAmount)+"")&&(v.innerHTML=y),d[0]&32768&&N!==(N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",N)},d(f){f&&e.detach(t),r[50](null),F=!1,w()}}}function Ze(r){let t;function n(o,a){return o[13]||o[14]?De:Ue}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(o,a){e.insert(o,t,a),l.m(t,null),r[52](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),l.d(),r[52](null)}}}function Je(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:o=""}=t,{userid:a=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:p="20"}=t,{numberuserstop:L="20"}=t,{amountlimit:M="1"}=t,{vendorCategory:_="All"}=t,{lang:b="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:x="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:S=""}=t,{customcurrencysymbol:T}=t,{clientstyling:v=""}=t,{clientstylingurl:y=""}=t,{enableautoscroll:g=""}=t,{tabsorder:N=""}=t,{translationurl:F=""}=t,{winnersdatasources:w=""}=t,{hascustomstyling:m="false"}=t,{mbsource:f}=t,{currencylocale:d=""}=t,k,E,O,z=[],W=0,C=0,be=window.navigator.userAgent,Y,P,U,j,D=!0,Q=!1,$=!1,ee,G,q,I,te=[],H=!1,ne,_e;const V=s=>{Object.keys(s).forEach(h=>{Oe(h,s[h])})},ye=()=>{let s=new URL(F);fetch(s.href).then(h=>h.json()).then(h=>{V(h)}).catch(h=>{console.log(h)})};V(Pe);const re=()=>{te=w.split(",").map(function(h){return h.trim()});const s=new URL(`${l}/v1/casino/${O}-winners`);n(17,H=!0),s.searchParams.append("limit",O=="recent"?p:L),s.searchParams.append("specifiedCurrency",I),s.searchParams.append("period",O=="recent"?u:c),s.searchParams.append("language",b),s.searchParams.append("amountLimit",M),s.searchParams.append("vendorCategory",_),te.forEach(h=>{s.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(s.href).then(h=>h.json()).then(h=>X(this,null,function*(){n(10,z=[]),n(10,z=h.items.map(R=>R)),n(17,H=!1),yield e.tick(),ke(),se(),g=="true"&&(clearInterval(G),ve()),n(13,D=!1),we()}))},1e3)},we=()=>{const s=j.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},K=s=>{O!==s&&(n(10,z=[]),n(9,O=s),re())},We=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),ie=(s,h,R,J)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:h,gameName:R,subVendor:J},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${U||"Not logged in"}`})},se=(s=0)=>{const h=[...k.children];ee=h.length,h.forEach((R,J)=>{R.style.transform=`translateX(${100*(J-s)}%)`}),setTimeout(()=>{n(15,$=!0)},10)},ve=()=>{W=0,C<ee?G=setInterval(()=>{Z()},3e3):clearInterval(G)},le=()=>{se(W)},ke=()=>X(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const s=E?E.offsetWidth:0;k.offsetWidth&&s?n(11,C=Math.round(k.offsetWidth/s)):n(11,C=0)})}),oe=()=>{if(C>=z.length)return;const s=z.length;W===0?W=s-C:W-C<0?W=0:W=W-C,le()},Z=()=>{if(C>=z.length)return;const s=z.length;g=="true"&&(W===s-C?W=0:W++),g=="false"&&(W===s-C?W=0:s-C<W+C?W=s-C:W+=C),le()},Ce=()=>{Re(b)},Me=()=>{n(43,P=!0),U=a},ae=()=>{n(44,I=P?S:B)},Se=s=>{const h=T!=null?T:P?S:B;return`${d?Intl.NumberFormat(d,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:I}).format(s).replace(/\s/g,""):s.toFixed(2)}<span class="CurrencySymbol">${h}</span>`},Fe=()=>{m==="true"&&(!v&&!y&&j&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!v&&y&&n(14,Q=!0))},xe=()=>{n(16,q=N.split(",")),n(9,O=q[0]),ae(),n(13,D=!1)};e.onMount(()=>(n(12,Y=e.isMobile(be)),()=>{window.emMessageBus&&ne&&ne.unsubscribe(),clearInterval(G)}));const Be=()=>K("recent"),Te=()=>K("top"),Ne=()=>oe(),Ae=()=>Z(),Ee=s=>ie(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{E=s,n(8,E)})}function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{k=s,n(7,k)})}function Le(s){e.binding_callbacks[s?"unshift":"push"](()=>{j=s,n(6,j)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,o=s.session),"userid"in s&&n(27,a=s.userid),"periodrecent"in s&&n(28,u=s.periodrecent),"periodtop"in s&&n(29,c=s.periodtop),"numberusersrecent"in s&&n(30,p=s.numberusersrecent),"numberuserstop"in s&&n(31,L=s.numberuserstop),"amountlimit"in s&&n(32,M=s.amountlimit),"vendorCategory"in s&&n(33,_=s.vendorCategory),"lang"in s&&n(34,b=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,x=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,S=s.usercurrency),"customcurrencysymbol"in s&&n(37,T=s.customcurrencysymbol),"clientstyling"in s&&n(2,v=s.clientstyling),"clientstylingurl"in s&&n(3,y=s.clientstylingurl),"enableautoscroll"in s&&n(4,g=s.enableautoscroll),"tabsorder"in s&&n(38,N=s.tabsorder),"translationurl"in s&&n(39,F=s.translationurl),"winnersdatasources"in s&&n(40,w=s.winnersdatasources),"hascustomstyling"in s&&n(41,m=s.hascustomstyling),"mbsource"in s&&n(5,f=s.mbsource),"currencylocale"in s&&n(42,d=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&143&&A&&x&&u&&c&&p&&L&&M&&_&&b&&N&&xe(),r.$$.dirty[0]&67108864&&o&&Me(),r.$$.dirty[1]&4144&&P&&(S||B)&&ae(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&8704&&l&&w&&I&&re(),r.$$.dirty[1]&8&&b&&Ce(),r.$$.dirty[1]&256&&F&&ye(),r.$$.dirty[0]&32|r.$$.dirty[1]&256&&f&&!F&&Ie(`${f}.Translation`,_e,V),r.$$.dirty[1]&1024&&m&&Fe(),r.$$.dirty[0]&68&&v&&j&&e.setClientStyling(j,v),r.$$.dirty[0]&72&&y&&j&&e.setClientStylingURL(j,y),r.$$.dirty[0]&96&&j&&e.setStreamStyling(j,`${f}.Style`)},[A,x,v,y,g,f,j,k,E,O,z,C,Y,D,Q,$,q,H,i,K,We,ie,oe,Z,Se,l,o,a,u,c,p,L,M,_,b,B,S,T,N,F,w,m,d,P,I,Be,Te,Ne,Ae,Ee,ze,je,Le]}class pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ze,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,customcurrencysymbol:37,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:38,translationurl:39,winnersdatasources:40,hascustomstyling:41,mbsource:5,currencylocale:42},Ge,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get customcurrencysymbol(){return this.$$.ctx[37]}set customcurrencysymbol(t){this.$$set({customcurrencysymbol:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[39]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[40]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[41]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[42]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(pe,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},customcurrencysymbol:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);exports.default=pe;
|
package/components/{GeneralAnimationLoading-CPc2UOwA.js → GeneralAnimationLoading-CEqG5qMY.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as u, i as f,
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { S as u, i as f, f as c, c as m, s as g, b as y, e as p, d as h, G as d, j as b, o as v, l as x, p as _, q as S, r as k } from "./CasinoCalendar-g3C0yL-l.js";
|
|
2
|
+
function C(t) {
|
|
3
|
+
y(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
4
4
|
}
|
|
5
5
|
function L(t) {
|
|
6
6
|
let i;
|
|
@@ -15,16 +15,16 @@ function L(t) {
|
|
|
15
15
|
i: d,
|
|
16
16
|
o: d,
|
|
17
17
|
d(n) {
|
|
18
|
-
n &&
|
|
18
|
+
n && b(i), t[4](null);
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
function j(t, i, n) {
|
|
23
23
|
let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, { mbsource: r } = i, s;
|
|
24
|
-
|
|
24
|
+
v(() => () => {
|
|
25
25
|
});
|
|
26
26
|
function o(e) {
|
|
27
|
-
|
|
27
|
+
_[e ? "unshift" : "push"](() => {
|
|
28
28
|
s = e, n(0, s);
|
|
29
29
|
});
|
|
30
30
|
}
|
|
@@ -32,9 +32,9 @@ function j(t, i, n) {
|
|
|
32
32
|
"clientstyling" in e && n(1, l = e.clientstyling), "clientstylingurl" in e && n(2, a = e.clientstylingurl), "mbsource" in e && n(3, r = e.mbsource);
|
|
33
33
|
}, t.$$.update = () => {
|
|
34
34
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
35
|
-
3 && l && s &&
|
|
36
|
-
5 && a && s &&
|
|
37
|
-
9 && r && s &&
|
|
35
|
+
3 && l && s && S(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
36
|
+
5 && a && s && k(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
37
|
+
9 && r && s && x(s, `${r}.Style`);
|
|
38
38
|
}, [
|
|
39
39
|
s,
|
|
40
40
|
l,
|
|
@@ -43,20 +43,20 @@ function j(t, i, n) {
|
|
|
43
43
|
o
|
|
44
44
|
];
|
|
45
45
|
}
|
|
46
|
-
class
|
|
46
|
+
class q extends u {
|
|
47
47
|
constructor(i) {
|
|
48
48
|
super(), f(
|
|
49
49
|
this,
|
|
50
50
|
i,
|
|
51
51
|
j,
|
|
52
52
|
L,
|
|
53
|
-
|
|
53
|
+
g,
|
|
54
54
|
{
|
|
55
55
|
clientstyling: 1,
|
|
56
56
|
clientstylingurl: 2,
|
|
57
57
|
mbsource: 3
|
|
58
58
|
},
|
|
59
|
-
|
|
59
|
+
C
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
get clientstyling() {
|
|
@@ -78,7 +78,7 @@ class w extends u {
|
|
|
78
78
|
this.$$set({ mbsource: i }), c();
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
|
|
81
|
+
m(q, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
q as default
|
|
84
84
|
};
|
package/components/{GeneralAnimationLoading-CFokXkWs.cjs → GeneralAnimationLoading-oehLt3ob.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-Bh1m4DYa.cjs");function u(e){i.append_styles(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function f(e){let t;return{c(){t=i.element("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){i.insert(l,t,r),e[4](t)},p:i.noop,i:i.noop,o:i.noop,d(l){l&&i.detach(t),e[4](null)}}}function m(e,t,l){let{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,n;i.onMount(()=>()=>{});function a(s){i.binding_callbacks[s?"unshift":"push"](()=>{n=s,l(0,n)})}return e.$$set=s=>{"clientstyling"in s&&l(1,r=s.clientstyling),"clientstylingurl"in s&&l(2,c=s.clientstylingurl),"mbsource"in s&&l(3,d=s.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&r&&n&&i.setClientStyling(n,r),e.$$.dirty&5&&c&&n&&i.setClientStylingURL(n,c),e.$$.dirty&9&&d&&n&&i.setStreamStyling(n,`${d}.Style`)},[n,r,c,d,a]}class o extends i.SvelteComponent{constructor(t){super(),i.init(this,t,m,f,i.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},u)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(o,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=o;
|
package/components/{GeneralAnimationLoading-D0quTPWA.js → GeneralAnimationLoading-rntZi33z.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as u, i as f,
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { S as u, i as f, f as c, c as m, s as g, b as y, e as p, d as h, G as d, j as b, o as v, l as x, p as _, q as S, r as k } from "./CasinoCalendar-CTTcluAF.js";
|
|
2
|
+
function C(t) {
|
|
3
|
+
y(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
4
4
|
}
|
|
5
5
|
function L(t) {
|
|
6
6
|
let i;
|
|
@@ -15,16 +15,16 @@ function L(t) {
|
|
|
15
15
|
i: d,
|
|
16
16
|
o: d,
|
|
17
17
|
d(n) {
|
|
18
|
-
n &&
|
|
18
|
+
n && b(i), t[4](null);
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
function j(t, i, n) {
|
|
23
23
|
let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, { mbsource: r } = i, s;
|
|
24
|
-
|
|
24
|
+
v(() => () => {
|
|
25
25
|
});
|
|
26
26
|
function o(e) {
|
|
27
|
-
|
|
27
|
+
_[e ? "unshift" : "push"](() => {
|
|
28
28
|
s = e, n(0, s);
|
|
29
29
|
});
|
|
30
30
|
}
|
|
@@ -32,9 +32,9 @@ function j(t, i, n) {
|
|
|
32
32
|
"clientstyling" in e && n(1, l = e.clientstyling), "clientstylingurl" in e && n(2, a = e.clientstylingurl), "mbsource" in e && n(3, r = e.mbsource);
|
|
33
33
|
}, t.$$.update = () => {
|
|
34
34
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
35
|
-
3 && l && s &&
|
|
36
|
-
5 && a && s &&
|
|
37
|
-
9 && r && s &&
|
|
35
|
+
3 && l && s && S(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
36
|
+
5 && a && s && k(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
37
|
+
9 && r && s && x(s, `${r}.Style`);
|
|
38
38
|
}, [
|
|
39
39
|
s,
|
|
40
40
|
l,
|
|
@@ -43,20 +43,20 @@ function j(t, i, n) {
|
|
|
43
43
|
o
|
|
44
44
|
];
|
|
45
45
|
}
|
|
46
|
-
class
|
|
46
|
+
class q extends u {
|
|
47
47
|
constructor(i) {
|
|
48
48
|
super(), f(
|
|
49
49
|
this,
|
|
50
50
|
i,
|
|
51
51
|
j,
|
|
52
52
|
L,
|
|
53
|
-
|
|
53
|
+
g,
|
|
54
54
|
{
|
|
55
55
|
clientstyling: 1,
|
|
56
56
|
clientstylingurl: 2,
|
|
57
57
|
mbsource: 3
|
|
58
58
|
},
|
|
59
|
-
|
|
59
|
+
C
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
get clientstyling() {
|
|
@@ -78,7 +78,7 @@ class w extends u {
|
|
|
78
78
|
this.$$set({ mbsource: i }), c();
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
|
|
81
|
+
m(q, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
q as default
|
|
84
84
|
};
|
package/es2015/casino-lobby.cjs
CHANGED
|
@@ -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/CasinoLobby-
|
|
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/CasinoLobby-odJbcWRR.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
|
package/es2015/casino-lobby.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoLobby-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoLobby-BknjaOeS.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-lobby") && customElements.define("casino-lobby", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/casino-lobby.js
CHANGED
package/package.json
CHANGED
package/stencil/{casino-play-random-game-rBIQ75Yb.cjs → casino-play-random-game-111R1Frl.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var c=(e,i,t)=>new Promise((u,l)=>{var m=n=>{try{a(t.next(n))}catch(r){l(r)}},d=n=>{try{a(t.throw(n))}catch(r){l(r)}},a=n=>n.done?u(n.value):Promise.resolve(n.value).then(m,d);a((t=t.apply(e,i)).next())});const s=require("./index-328e660d-
|
|
1
|
+
"use strict";var c=(e,i,t)=>new Promise((u,l)=>{var m=n=>{try{a(t.next(n))}catch(r){l(r)}},d=n=>{try{a(t.throw(n))}catch(r){l(r)}},a=n=>n.done?u(n.value):Promise.resolve(n.value).then(m,d);a((t=t.apply(e,i)).next())});const s=require("./index-328e660d-A_dWaOAX.cjs"),g=require("./app-globals-0f993ce5-4b17CI_n.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-111R1Frl.cjs",document.baseURI).href,i={};return e!==""&&(i.resourcesUrl=new URL(".",e).href),s.promiseResolve(i)};h().then(e=>c(exports,null,function*(){return yield g.globalScripts(),s.bootstrapLazy([["casino-play-random-game_2",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e)}));
|
|
@@ -14,7 +14,7 @@ var l = (i, a, t) => new Promise((s, o) => {
|
|
|
14
14
|
}, e = (n) => n.done ? s(n.value) : Promise.resolve(n.value).then(c, g);
|
|
15
15
|
e((t = t.apply(i, a)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as m, p as u } from "./index-328e660d-
|
|
17
|
+
import { b as m, p as u } from "./index-328e660d-BiHqu78m.js";
|
|
18
18
|
import { g as d } from "./app-globals-0f993ce5-DfNOCk8l.js";
|
|
19
19
|
var h = () => {
|
|
20
20
|
const i = import.meta.url, a = {};
|
package/stencil/{casino-play-random-game_2-Bf4CHBc9.js → casino-play-random-game_2-CunwpDd1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as u, h as n, g as p, H as w } from "./index-328e660d-
|
|
1
|
+
import { r as h, c as u, h as n, g as p, H as w } from "./index-328e660d-DJbpQFmN.js";
|
|
2
2
|
const f = () => {
|
|
3
3
|
let e = window.navigator.userAgent;
|
|
4
4
|
return e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
@@ -461,7 +461,7 @@ const b = `:host {
|
|
|
461
461
|
}
|
|
462
462
|
}`, k = b, G = class {
|
|
463
463
|
constructor(e) {
|
|
464
|
-
h(this, e), this.dataLoaded = u(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (t) => {
|
|
464
|
+
h(this, e), this.dataLoaded = u(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (t) => {
|
|
465
465
|
let i = t.length, a;
|
|
466
466
|
for (; i !== 0; )
|
|
467
467
|
a = Math.floor(Math.random() * i), i--, [t[i], t[a]] = [t[a], t[i]];
|
package/stencil/{casino-play-random-game_2-C30-vRGp.js → casino-play-random-game_2-auPXMZnz.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as u, h as n, g as p, H as w } from "./index-328e660d-
|
|
1
|
+
import { r as h, c as u, h as n, g as p, H as w } from "./index-328e660d-BiHqu78m.js";
|
|
2
2
|
const f = () => {
|
|
3
3
|
let e = window.navigator.userAgent;
|
|
4
4
|
return e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
@@ -461,7 +461,7 @@ const b = `:host {
|
|
|
461
461
|
}
|
|
462
462
|
}`, k = b, G = class {
|
|
463
463
|
constructor(e) {
|
|
464
|
-
h(this, e), this.dataLoaded = u(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (t) => {
|
|
464
|
+
h(this, e), this.dataLoaded = u(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (t) => {
|
|
465
465
|
let i = t.length, a;
|
|
466
466
|
for (; i !== 0; )
|
|
467
467
|
a = Math.floor(Math.random() * i), i--, [t[i], t[a]] = [t[a], t[i]];
|
package/stencil/{casino-play-random-game_2-CCCLDakd.cjs → casino-play-random-game_2-cZvlv_fo.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-328e660d-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-328e660d-A_dWaOAX.cjs"),p=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},w="en",r={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},l=e=>new Promise(t=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(a=>{r[a]||(r[a]={});for(let o in i[a])r[a][o]=i[a][o]}),t(!0)})}),s=(e,t)=>{const i=t;return r[i!==void 0&&i in r?i:w][e]};function m(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function d(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(a=>a.text()).then(a=>{const o=document.createElement("style");o.innerHTML=a,e&&e.appendChild(o)}).catch(a=>{console.error("There was an error while trying to load client styling from URL",a)})}function f(e,t,i){if(window.emMessageBus){const a=document.createElement("style");window.emMessageBus.subscribe(t,o=>{a.innerHTML=o,e&&e.appendChild(a)})}}const y=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
font-family: inherit;
|
|
4
4
|
-webkit-transform: translate3d(0, 0, 0);
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
width: 70px;
|
|
376
376
|
height: 85px;
|
|
377
377
|
}
|
|
378
|
-
}`,x=y,h=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let i=t.length,a;for(;i!==0;)a=Math.floor(Math.random()*i),i--,[t[i],t[a]]=[t[a],t[i]];return t},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?f(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",p()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((t,i)=>{this.isLoading=!0,fetch(e.href).then(a=>a.json()).then(a=>{this.gamesToShow=this.setUpGames(a==null?void 0:a.items),t(!0)}).catch(a=>{console.error(a),this.hasErrors=!0,i(a)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),t=parseInt(e,10),i=this.selectedGameEl.offsetWidth,a=this.gameContainer.offsetWidth,o=(i+t)*this.selectedGameIndex+i/2-a/2,g=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],u={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(g,u),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,i)=>n.h("div",{class:"RandomGameCard",key:i},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"1f326cff688b0b71ca1d6efbc6766c6b768cb846",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};h.style=x;const b=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",k=b,c=class{constructor(e){n.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
378
|
+
}`,x=y,h=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded",7),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let i=t.length,a;for(;i!==0;)a=Math.floor(Math.random()*i),i--,[t[i],t[a]]=[t[a],t[i]];return t},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?f(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",p()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((t,i)=>{this.isLoading=!0,fetch(e.href).then(a=>a.json()).then(a=>{this.gamesToShow=this.setUpGames(a==null?void 0:a.items),t(!0)}).catch(a=>{console.error(a),this.hasErrors=!0,i(a)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),t=parseInt(e,10),i=this.selectedGameEl.offsetWidth,a=this.gameContainer.offsetWidth,o=(i+t)*this.selectedGameIndex+i/2-a/2,g=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],u={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(g,u),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,i)=>n.h("div",{class:"RandomGameCard",key:i},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"1f326cff688b0b71ca1d6efbc6766c6b768cb846",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};h.style=x;const b=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",k=b,c=class{constructor(e){n.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
379
379
|
:host {
|
|
380
380
|
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
381
381
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var a=o=>{try{i(n.next(o))}catch(c){r(c)}},l=o=>{try{i(n.throw(o))}catch(c){r(c)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((n=n.apply(e,t)).next())});const ke="casino-play-random-game",ee={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1,watchCallback:!0};var we=Object.defineProperty,Te=(e,t)=>{for(var n in t)we(e,n,{get:t[n],enumerable:!0})},F=new WeakMap,E=e=>F.get(e),xe=(e,t)=>F.set(t.$lazyInstance$=e,t),Le=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],F.set(e,n)},X=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),j=new Map,Pe=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=j.get(r);if(a)return a[s];{const l=i=>(j.set(r,i),i[s]);switch(r){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("./casino-play-random-game_2-cZvlv_fo.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(j.set(r,l),l[s]),k)},_=new Map,Ae="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},m=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},se=e=>Promise.resolve(e),_e=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,G=[],ne=[],Ce=(e,t)=>n=>{e.push(n),U||(U=!0,h.$flags$&4?H(z):h.raf(z))},Q=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},z=()=>{Q(G),Q(ne),(U=G.length>0)&&h.raf(z)},H=e=>se().then(e),Ie=Ce(ne),Y={},Oe=e=>e!=null,q=e=>(e=typeof e,e==="object"||e==="function");function re(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var je={};Te(je,{err:()=>le,map:()=>Ue,ok:()=>D,unwrap:()=>ze,unwrapErr:()=>De});var D=e=>({isOk:!0,isErr:!1,value:e}),le=e=>({isOk:!1,isErr:!0,value:e});function Ue(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>D(s)):D(n)}if(e.isErr){const n=e.value;return le(n)}throw"should never get here"}var ze=e=>{if(e.isOk)return e.value;throw e.value},De=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Re=(e,t)=>()=>{},ae=(e,t,...n)=>{let s=null,r=null,a=!1,l=!1;const i=[],o=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!q(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?R(null,s):s),l=a)};if(o(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=R(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=r,c},R=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},oe={},Be=e=>e&&e.$tag$===oe,Fe=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,ie=e=>E(e).$hostElement$,He=(e,t,n)=>{const s=ie(e);return{emit:r=>ce(s,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}},ce=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},J=new WeakMap,qe=(e,t,n)=>{let s=_.get(e);_e&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,_.set(e,s)},We=(e,t,n)=>{var s;const r=$e(t),a=_.get(r);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=J.get(e),i;if(l||J.set(e,l=new Set),!l.has(r)){{i=m.createElement("style"),i.innerHTML=a;const o=(s=h.$nonce$)!=null?s:re(m);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=te),l&&l.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Me=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=S("attachStyles",t.$tagName$),a=We(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=a,n.classList.add(a+"-h")),r()},$e=(e,t)=>"sc-"+e.$tagName$,K=(e,t,n,s,r,a)=>{if(n!==s){let l=X(e,t),i=t.toLowerCase();if(t==="class"){const o=e.classList,c=Z(n),$=Z(s);o.remove(...c.filter(f=>f&&!$.includes(f))),o.add(...$.filter(f=>f&&!c.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):X(I,i)?t=i.slice(2):t=i[2]+t.slice(3),n||s){const o=t.endsWith(fe);t=t.replace(Ge,""),n&&h.rel(e,t,n,o),s&&h.ael(e,t,s,o)}}else{const o=q(s);if((l||o&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=c)&&(e[t]=c)}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||r)&&!o&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Xe=/\s/,Z=e=>e?e.split(Xe):[],fe="Capture",Ge=new RegExp(fe+"$"),de=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||Y,a=t.$attrs$||Y;for(const l of N(Object.keys(r)))l in a||K(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(a)))K(s,l,r[l],a[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var P,W,ue=!1,ve=!1,C=(e,t,n,s)=>{const r=t.$children$[n];let a=0,l,i;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(!ue&&ee.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),de(null,r,ve),Oe(P)&&l["s-si"]!==P&&l.classList.add(l["s-si"]=P),r.$children$)for(a=0;a<r.$children$.length;++a)i=C(e,r,a),i&&l.appendChild(i);return l["s-hn"]=W,l},pe=(e,t,n,s,r,a)=>{let l=e,i;for(l.shadowRoot&&l.tagName===W&&(l=l.shadowRoot);r<=a;++r)s[r]&&(i=C(null,n,r),i&&(s[r].$elm$=i,A(l,i,t)))},he=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const a=r.$elm$;ge(r),a&&a.remove()}}},Qe=(e,t,n,s,r=!1)=>{let a=0,l=0,i=0,o=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],v=s[d],p,y;for(;a<=c&&l<=d;)if($==null)$=t[++a];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(L($,u,r))w($,u,r),$=t[++a],u=s[++l];else if(L(f,v,r))w(f,v,r),f=t[--c],v=s[--d];else if(L($,v,r))w($,v,r),A(e,$.$elm$,f.$elm$.nextSibling),$=t[++a],v=s[--d];else if(L(f,u,r))w(f,u,r),A(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,o=a;o<=c;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){i=o;break}i>=0?(y=t[i],y.$tag$!==u.$tag$?p=C(t&&t[l],n,i):(w(y,u,r),t[i]=void 0,p=y.$elm$),u=s[++l]):(p=C(t&&t[l],n,l),u=s[++l]),p&&A($.$elm$.parentNode,p,$.$elm$)}a>c?pe(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&he(t,a,c)},L=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,w=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$,l=t.$text$;l===null?(de(e,t,ve),r!==null&&a!==null?Qe(s,r,t,a,n):a!==null?(e.$text$!==null&&(s.textContent=""),pe(s,null,t,a,0,a.length-1)):r!==null&&he(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},ge=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ge)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ye=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,a=e.$vnode$||R(null,null),l=Be(t)?t:ae(null,null,t);if(W=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([i,o])=>l.$attrs$[o]=s[i])),n&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,P=s["s-sc"],ue=(r.$flags$&1)!==0,w(a,l,n)},ye=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},M=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ye(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=O(r,"componentWillLoad")),s(),Ke(a,()=>Ne(e,r,t))},Ke=(e,t)=>Ze(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ne=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Me(e);const i=S("render",e.$cmpMeta$.$tagName$);Ve(e,t,r,n),l&&(l.map(o=>o()),r["s-rc"]=void 0),i(),a();{const o=(s=r["s-p"])!=null?s:[],c=()=>et(e);o.length===0?c():(Promise.all(o).then(c),e.$flags$|=4,o.length=0)}}),Ve=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},et=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,Se(n),O(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),a||me()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&H(()=>M(e,!1)),e.$flags$&=-517},me=e=>{Se(m.documentElement),H(()=>ce(I,"appload",{detail:{namespace:ke}}))},O=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},Se=e=>{var t;return e.classList.add((t=ee.hydratedSelectorName)!=null?t:"hydrated")},tt=(e,t)=>E(e).$instanceValues$.get(t),st=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=r.$hostElement$,l=r.$instanceValues$.get(t),i=r.$flags$,o=r.$lazyInstance$;n=Fe(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(i&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{o[d](n,l,t)}catch(u){k(u,a)}})}(i&18)===2&&M(r,!1)}},Ee=(e,t,n)=>{var s,r;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[o]])=>{(o&31||n&2&&o&32)&&Object.defineProperty(a,i,{get(){return tt(this,i)},set(c){st(this,i,c,t)},configurable:!0,enumerable:!0})}),n&1){const i=new Map;a.attributeChangedCallback=function(o,c,$){h.jmp(()=>{var f;const d=i.get(o);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(a.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=E(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&$!==c){const p=u.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[o];y==null||y.forEach(g=>{p[g]!=null&&p[g].call(p,$,c,o)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([o,c])=>c[0]&15).map(([o,c])=>{var $;const f=c[1]||o;return i.set(f,o),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,f])),f})]))}}return e},nt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const o=Pe(n);if(o&&"then"in o){const $=Re();r=yield o,$()}else r=o;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,Ee(r,n,2),r.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c(),B(t.$lazyInstance$)}else{r=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);const c=$e(n);if(!_.has(c)){const $=S("registerStyles",n.$tagName$);qe(c,o,!!(n.$flags$&1)),$()}}}const a=t.$ancestorComponent$,l=()=>M(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),B=e=>{O(e,"connectedCallback")},rt=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?B(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>B(t.$lazyInstance$));else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ye(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[a]])=>{if(a&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),nt(e,t,n)}s()}},V=e=>{O(e,"disconnectedCallback")},lt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),at=(e,t={})=>{var n;const s=S(),r=[],a=t.exclude||[],l=I.customElements,i=m.head,o=i.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(p=>{var y;const g={$flags$:p[0],$tagName$:p[1],$members$:p[2],$listeners$:p[3]};g.$flags$&4&&(u=!0),g.$members$=p[2],g.$attrsToReflect$=[],g.$watchers$=(y=p[4])!=null?y:{};const T=g.$tagName$,be=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,Le(b,g),g.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):h.jmp(()=>rt(this))}disconnectedCallback(){h.jmp(()=>lt(this))}componentOnReady(){return E(this).$onReadyPromise$}};g.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(r.push(T),l.define(T,Ee(be,g,1)))})}),r.length>0&&(u&&(c.textContent+=te),c.textContent+=r.sort()+Ae,c.innerHTML.length)){c.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:re(m);v!=null&&c.setAttribute("nonce",v),i.insertBefore(c,o?o.nextSibling:i.firstChild)}d=!1,$.length?$.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(me,30)),s()};exports.Host=oe;exports.bootstrapLazy=at;exports.createEvent=He;exports.getElement=ie;exports.h=ae;exports.promiseResolve=se;exports.registerInstance=xe;
|