@everymatrix/casino-lobby 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/components/{CasinoCalendar-BKvw2GLN.js → CasinoCalendar-8h5qdaaJ.js} +331 -269
  2. package/components/{CasinoCalendar-CRnGs6mI.js → CasinoCalendar-D9zXfDS4.js} +416 -354
  3. package/components/{CasinoCalendar-P6bQ-mxN.cjs → CasinoCalendar-pDYRKcjG.cjs} +18 -5
  4. package/components/CasinoCalendarDailyDetails-D0Kx4qhT.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-DFwCqTfY.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-DkbuLEg5.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-C62RswBp.js +306 -0
  8. package/components/CasinoCalendarDailyItem-DTqfqF2k.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DX_5vyqn.cjs +1 -0
  10. package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-hJChLXnm.js → CasinoCategoriesSlider-BhsSLM-H.js} +51 -51
  12. package/components/{CasinoCategoriesSlider-C7hbpydX.js → CasinoCategoriesSlider-CCCss88T.js} +51 -51
  13. package/components/{CasinoCollectionsProviders-CTvTqZY1.js → CasinoCollectionsProviders-8BCzbgO7.js} +35 -33
  14. package/components/{CasinoCollectionsProviders-Cyc5HYpW.js → CasinoCollectionsProviders-B7jL1xWi.js} +36 -34
  15. package/components/CasinoCollectionsProviders-DdI8afJV.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-B4JlTRNa.js → CasinoFavoritesSection-8fm71dF4.js} +35 -34
  17. package/components/{CasinoFavoritesSection-D4v8HNn9.js → CasinoFavoritesSection-C0iLu9Sw.js} +35 -34
  18. package/components/CasinoFavoritesSection-DrmyxOK7.cjs +1 -0
  19. package/components/{CasinoFilter-ZQCeB5st.js → CasinoFilter-BTgsR3X2.js} +63 -59
  20. package/components/{CasinoFilter-EA285UxQ.cjs → CasinoFilter-D06f7IqM.cjs} +1 -1
  21. package/components/{CasinoFilter-CgPbbuBc.js → CasinoFilter-m6_88uQv.js} +65 -61
  22. package/components/CasinoGamePage-CkvljoIb.js +4249 -0
  23. package/components/CasinoGamePage-DAH5L6F5.cjs +18 -0
  24. package/components/CasinoGamePage-DAv8OZV8.js +4228 -0
  25. package/components/{CasinoGameThumbnail-Aj4sPAss.js → CasinoGameThumbnail-B4KIog_7.js} +15 -10
  26. package/components/{CasinoGameThumbnail-h69vAUbV.js → CasinoGameThumbnail-BMm5Xl4k.js} +15 -10
  27. package/components/CasinoGameThumbnail-XF-v3tEC.cjs +38 -0
  28. package/components/CasinoGamesCategorySection-BSklauO4.cjs +1 -0
  29. package/components/{CasinoGamesCategorySection-C9FCv7PW.js → CasinoGamesCategorySection-DUDDLFW2.js} +556 -585
  30. package/components/{CasinoGamesCategorySection-PiRBRWmh.js → CasinoGamesCategorySection-XWxil8vo.js} +1070 -1099
  31. package/components/CasinoJackpotBanner-6WZPbIyJ.js +692 -0
  32. package/components/CasinoJackpotBanner-Bu16yaAe.js +688 -0
  33. package/components/CasinoJackpotBanner-CRGjJl2y.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-r73sTCi9.js → CasinoLastPlayedSection-BT4kxVP1.js} +41 -41
  35. package/components/{CasinoLastPlayedSection-BXGcYUad.js → CasinoLastPlayedSection-DFUMCS3n.js} +41 -41
  36. package/components/CasinoLastPlayedSection-cjUgoZnI.cjs +1 -0
  37. package/components/CasinoLobby-CRIb8E4f.cjs +1 -0
  38. package/components/{CasinoLobby-60oTKJCK.js → CasinoLobby-Di0-vjQH.js} +327 -308
  39. package/components/{CasinoLobby-DHl1_-VE.js → CasinoLobby-DrBFK5gG.js} +323 -304
  40. package/components/CasinoModal-35QTkTq-.cjs +1 -0
  41. package/components/{CasinoModal-B7R5L0mw.js → CasinoModal-Ce9u8B9n.js} +38 -38
  42. package/components/{CasinoModal-wz-kI5U1.js → CasinoModal-DMOewty4.js} +38 -38
  43. package/components/CasinoMostPlayedSection-C1K-DGkZ.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-CpO0b2PN.js → CasinoMostPlayedSection-CXWjhKax.js} +174 -165
  45. package/components/{CasinoMostPlayedSection-CxQrM8-U.js → CasinoMostPlayedSection-DAuM-1cc.js} +174 -165
  46. package/components/{CasinoMyGames-B0AvdkLy.js → CasinoMyGames-0CUDyeW1.js} +332 -295
  47. package/components/CasinoMyGames-DQaVeSFh.cjs +1 -0
  48. package/components/{CasinoMyGames-ieyBjArx.js → CasinoMyGames-DTWGCs0t.js} +333 -296
  49. package/components/{CasinoPage-E4Nn1l0F.js → CasinoPage-BFAkKTIr.js} +562 -495
  50. package/components/{CasinoPage-CcV-qeX_.js → CasinoPage-CYfqznpn.js} +694 -627
  51. package/components/CasinoPage-Dn8IgsJW.cjs +1 -0
  52. package/components/{CasinoRandomGame-BEOONr7N.js → CasinoRandomGame-CwNUHn-I.js} +26 -24
  53. package/components/{CasinoRandomGame-D1gqYJkg.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +2 -2
  54. package/components/{CasinoRandomGame-DoSJSKrA.js → CasinoRandomGame-qSedkhdM.js} +25 -23
  55. package/components/{CasinoSearch-BOSoxjjv.js → CasinoSearch-58Bbs2ly.js} +52 -49
  56. package/components/{CasinoSearch-3nC8pR7D.cjs → CasinoSearch-DgenhLcJ.cjs} +1 -1
  57. package/components/{CasinoSearch-DqfKG5Mj.js → CasinoSearch-Itb9Lu5Z.js} +52 -49
  58. package/components/{CasinoSlider-ylo7nRmY.js → CasinoSlider-BBo1-Yix.js} +107 -107
  59. package/components/{CasinoSlider-DlBcdeDm.js → CasinoSlider-BLhtuqXM.js} +88 -88
  60. package/components/CasinoSlider-BiIS2-lS.cjs +1 -0
  61. package/components/{CasinoSort-CVwRicsk.js → CasinoSort-CBEUIj6Q.js} +7 -6
  62. package/components/CasinoSort-ClDrkZcs.cjs +1 -0
  63. package/components/{CasinoSort-D9KTb90Q.js → CasinoSort-DDFUPoRE.js} +7 -6
  64. package/components/{CasinoWinners-CSDCICsh.js → CasinoWinners-C9LcOp1b.js} +48 -46
  65. package/components/{CasinoWinners-Br_rOUdI.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
  66. package/components/{CasinoWinners-CeLmSRE4.js → CasinoWinners-wjNHmiu9.js} +51 -49
  67. package/components/GeneralAnimationLoading-D4V5ml6G.js +84 -0
  68. package/components/GeneralAnimationLoading-DXg7Sgve.js +84 -0
  69. package/components/GeneralAnimationLoading-dlh-TGCV.cjs +1 -0
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-B9yaAMOE.js} +55 -30
  75. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-BTXyM5es.js} +74 -49
  76. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
  77. package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
  78. package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
  79. package/stencil/{index-eac6b960-Dvyvd5zP.js → index-510a6ba4-CzpWs0jf.js} +185 -200
  80. package/components/CasinoCalendarDailyDetails-B-FOmYEZ.js +0 -701
  81. package/components/CasinoCalendarDailyDetails-DYTiZ7iE.js +0 -701
  82. package/components/CasinoCalendarDailyDetails-DicGOCGy.cjs +0 -1
  83. package/components/CasinoCalendarDailyItem-BsUUCx7a.js +0 -315
  84. package/components/CasinoCalendarDailyItem-DDm6oH8O.cjs +0 -1
  85. package/components/CasinoCalendarDailyItem-DIhsLlMC.js +0 -315
  86. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +0 -1
  87. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +0 -1
  88. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +0 -1
  89. package/components/CasinoGamePage-D2VGIU0X.cjs +0 -18
  90. package/components/CasinoGamePage-DnFlR6PD.js +0 -4296
  91. package/components/CasinoGamePage-lOejw_q6.js +0 -4275
  92. package/components/CasinoGameThumbnail-ClSBiG0I.cjs +0 -38
  93. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +0 -1
  94. package/components/CasinoJackpotBanner-BdzgC-lW.js +0 -690
  95. package/components/CasinoJackpotBanner-Dx_3WwEw.js +0 -686
  96. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +0 -1
  97. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +0 -1
  98. package/components/CasinoLobby-CB5KGhNa.cjs +0 -1
  99. package/components/CasinoModal-B7pt3Gcb.cjs +0 -1
  100. package/components/CasinoMostPlayedSection-CaHWOtw_.cjs +0 -1
  101. package/components/CasinoMyGames-R7NrCxgd.cjs +0 -1
  102. package/components/CasinoPage-azRHPGyF.cjs +0 -1
  103. package/components/CasinoSlider-Zgasc58K.cjs +0 -1
  104. package/components/CasinoSort-D3rxrF3Z.cjs +0 -1
  105. package/components/GeneralAnimationLoading-BRBLoSEB.js +0 -75
  106. package/components/GeneralAnimationLoading-Bu4_iets.cjs +0 -1
  107. package/components/GeneralAnimationLoading-DoN4gYz0.js +0 -75
  108. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  109. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-pDYRKcjG.cjs");function D(s,{delay:t=0,duration:i=400,easing:o=e.identity}={}){const l=+getComputedStyle(s).opacity;return{delay:t,duration:i,easing:o,css:r=>`opacity: ${r*l}`}}function R(s){e.append_styles(s,"svelte-1durwr3","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}")}const q=s=>({}),L=s=>({});function G(s){let t,i,o,l,r,h,M,c,u,b,y;const k=s[20].default,d=e.create_slot(k,s,s[19],null),p=s[20].close,m=e.create_slot(p,s,s[19],L),f=m||A();return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),f&&f.c(),e.attr(o,"class","ModalContainer"),e.attr(o,"part","ModalContainer"),e.attr(r,"class",h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")),e.attr(r,"role","button"),e.attr(i,"class","ModalWindow"),e.attr(i,"part","ModalWindow"),e.attr(i,"id","Modal"),e.add_render_callback(()=>s[22].call(i)),e.attr(t,"part","CustomStylingContainer")},m(a,g){e.insert(a,t,g),e.append(t,i),e.append(i,o),d&&d.m(o,null),e.append(i,l),e.append(i,r),f&&f.m(r,null),s[21](i),M=e.add_iframe_resize_listener(i,s[22].bind(i)),s[23](t),u=!0,b||(y=e.listen(r,"click",s[8]),b=!0)},p(a,g){s=a,d&&d.p&&(!u||g[0]&524288)&&e.update_slot_base(d,k,s,s[19],u?e.get_slot_changes(k,s[19],g,null):e.get_all_dirty_from_scope(s[19]),null),m&&m.p&&(!u||g[0]&524288)&&e.update_slot_base(m,p,s,s[19],u?e.get_slot_changes(p,s[19],g,q):e.get_all_dirty_from_scope(s[19]),L),(!u||g[0]&10&&h!==(h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")))&&e.attr(r,"class",h)},i(a){u||(e.transition_in(d,a),e.transition_in(f,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(f,a),a&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),f&&f.d(a),s[21](null),M(),a&&c&&c.end(),s[23](null),b=!1,y()}}}function A(s){let t,i;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"stroke-linecap","round"),e.attr(i,"stroke-linejoin","round"),e.attr(i,"stroke-width","2"),e.attr(i,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,l){e.insert(o,t,l),e.append(t,i)},p:e.noop,d(o){o&&e.detach(t)}}}function U(s){let t,i,o=s[7]&&G(s);return{c(){o&&o.c(),t=e.empty()},m(l,r){o&&o.m(l,r),e.insert(l,t,r),i=!0},p(l,r){l[7]?o?(o.p(l,r),r[0]&128&&e.transition_in(o,1)):(o=G(l),o.c(),e.transition_in(o,1),o.m(t.parentNode,t)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(l){i||(e.transition_in(o),i=!0)},o(l){e.transition_out(o),i=!1},d(l){l&&e.detach(t),o&&o.d(l)}}}function N(s,t,i){let{$$slots:o={},$$scope:l}=t,{duration:r=350}=t,{session:h=""}=t,{userid:M=""}=t,{clientstyling:c=""}=t,{identifier:u=""}=t,{clientstylingurl:b=""}=t,{endpoint:y=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:p="true"}=t,{integratedgameframedesktop:m="false"}=t,{mbsource:f}=t,a=window.navigator.userAgent,g=!1,B=!1,_,w,S,z,C=!1;const v=()=>{i(7,C=!1),i(3,g=e.isMobile(a)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:g,closeIntegratedGameFrameDesktop:!0},window.location.href)},F=n=>{if(n.data.type=="ShowModal"&&u==n.data.identifier&&(i(7,C=!0),window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type=="ModalClosed"&&(m==="true"||e.isMobile(a))&&i(7,C=!1),n.data.type==="ShowGameModal"&&(i(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:n.data.gameId},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="OpenGameFrameModal"&&(i(7,C=!0),window.postMessage({type:"LaunchGameFrame",gameId:n.data.gameId,gameFunMode:n.data.gamefunmode},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="RequestModalSize"){let W={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}n.data.type==="GameStateOnResize"&&(B=n.data.detailsObtained)},E=n=>{if(B){let W={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}},H=()=>{p=="true"&&e.checkSession(y,h).then(n=>{n.Guid,n.UserID},n=>{console.error("err on session",n)})};e.onMount(()=>(i(3,g=e.isMobile(a)),window.addEventListener("message",F,!1),window.addEventListener("resize",E,!1),()=>{window.removeEventListener("message",F),window.removeEventListener("resize",F)}));function j(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,i(4,_)})}function O(){S=this.clientWidth,z=this.clientHeight,i(5,S),i(6,z)}function P(n){e.binding_callbacks[n?"unshift":"push"](()=>{w=n,i(2,w)})}return s.$$set=n=>{"duration"in n&&i(0,r=n.duration),"session"in n&&i(9,h=n.session),"userid"in n&&i(10,M=n.userid),"clientstyling"in n&&i(11,c=n.clientstyling),"identifier"in n&&i(12,u=n.identifier),"clientstylingurl"in n&&i(13,b=n.clientstylingurl),"endpoint"in n&&i(14,y=n.endpoint),"haspanicbutton"in n&&i(1,k=n.haspanicbutton),"gamepagemodalurl"in n&&i(15,d=n.gamepagemodalurl),"sessioncheck"in n&&i(16,p=n.sessioncheck),"integratedgameframedesktop"in n&&i(17,m=n.integratedgameframedesktop),"mbsource"in n&&i(18,f=n.mbsource),"$$scope"in n&&i(19,l=n.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&17920&&h&&M&&y&&H(),s.$$.dirty[0]&2052&&c&&w&&e.setClientStyling(w,c),s.$$.dirty[0]&8196&&b&&w&&e.setClientStylingURL(w,b),s.$$.dirty[0]&262148&&w&&e.setStreamStyling(w,`${f}.Style`)},[r,k,w,g,_,S,z,C,v,h,M,c,u,b,y,d,p,m,f,l,o,j,O,P]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,U,e.safe_not_equal,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17,mbsource:18},R,[-1,-1])}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get identifier(){return this.$$.ctx[12]}set identifier(t){this.$$set({identifier:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(t){this.$$set({sessioncheck:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(I,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{},mbsource:{}},["default","close"],[],!0);exports.default=I;
@@ -1,4 +1,4 @@
1
- import { a4 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, H as ae, d as v, h as F, t as B, g as le, j as E, o as re, K as de, p as j, e as W, r as ue, v as r, R as O, w as z, T as ce, x as fe, y as A, z as P, A as q, a5 as x, l as ge, m as H, Z as me, n as N, N as he, O as we, G as U, D as _e } from "./CasinoCalendar-BKvw2GLN.js";
1
+ import { a4 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j as R, o as re, l as de, u as v, e as B, w as ue, y as r, R as q, z, T as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, Z as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-D9zXfDS4.js";
2
2
  function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
@@ -9,15 +9,15 @@ function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
9
9
  };
10
10
  }
11
11
  function ye(s) {
12
- oe(s, "svelte-n85m9z", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
12
+ oe(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
13
13
  }
14
- const be = (s) => ({}), T = (s) => ({});
15
- function V(s) {
14
+ const be = (s) => ({}), N = (s) => ({});
15
+ function T(s) {
16
16
  let e, t, n, o, l, w, k, c, u, b, p;
17
17
  const C = (
18
18
  /*#slots*/
19
19
  s[20].default
20
- ), d = j(
20
+ ), d = v(
21
21
  C,
22
22
  s,
23
23
  /*$$scope*/
@@ -26,24 +26,24 @@ function V(s) {
26
26
  ), M = (
27
27
  /*#slots*/
28
28
  s[20].close
29
- ), h = j(
29
+ ), h = v(
30
30
  M,
31
31
  s,
32
32
  /*$$scope*/
33
33
  s[19],
34
- T
34
+ N
35
35
  ), f = h || pe();
36
36
  return {
37
37
  c() {
38
- e = W("div"), t = W("div"), n = W("div"), d && d.c(), o = ue(), l = W("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
38
+ e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ue(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
39
39
  (s[1] == "true" && /*mobileView*/
40
- s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), O(() => (
40
+ s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), q(() => (
41
41
  /*div1_elementresize_handler*/
42
42
  s[22].call(t)
43
43
  )), r(e, "part", "CustomStylingContainer");
44
44
  },
45
45
  m(a, g) {
46
- v(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
46
+ H(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
47
47
  t,
48
48
  /*div1_elementresize_handler*/
49
49
  s[22].bind(t)
@@ -62,13 +62,13 @@ function V(s) {
62
62
  s,
63
63
  /*$$scope*/
64
64
  s[19],
65
- u ? q(
65
+ u ? P(
66
66
  C,
67
67
  /*$$scope*/
68
68
  s[19],
69
69
  g,
70
70
  null
71
- ) : P(
71
+ ) : O(
72
72
  /*$$scope*/
73
73
  s[19]
74
74
  ),
@@ -80,38 +80,38 @@ function V(s) {
80
80
  s,
81
81
  /*$$scope*/
82
82
  s[19],
83
- u ? q(
83
+ u ? P(
84
84
  M,
85
85
  /*$$scope*/
86
86
  s[19],
87
87
  g,
88
88
  be
89
- ) : P(
89
+ ) : O(
90
90
  /*$$scope*/
91
91
  s[19]
92
92
  ),
93
- T
93
+ N
94
94
  ), (!u || g[0] & /*haspanicbutton, mobileView*/
95
95
  10 && w !== (w = "ModalCloseBtn " + /*haspanicbutton*/
96
96
  (s[1] == "true" && /*mobileView*/
97
97
  s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", w);
98
98
  },
99
99
  i(a) {
100
- u || (F(d, a), F(f, a), a && O(() => {
101
- u && (c || (c = x(t, K, { transitionDuration: (
100
+ u || (F(d, a), F(f, a), a && q(() => {
101
+ u && (c || (c = U(t, K, { transitionDuration: (
102
102
  /*duration*/
103
103
  s[0]
104
104
  ) }, !0)), c.run(1));
105
105
  }), u = !0);
106
106
  },
107
107
  o(a) {
108
- B(d, a), B(f, a), a && (c || (c = x(t, K, { transitionDuration: (
108
+ W(d, a), W(f, a), a && (c || (c = U(t, K, { transitionDuration: (
109
109
  /*duration*/
110
110
  s[0]
111
111
  ) }, !1)), c.run(0)), u = !1;
112
112
  },
113
113
  d(a) {
114
- a && E(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
114
+ a && R(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
115
115
  }
116
116
  };
117
117
  }
@@ -119,33 +119,33 @@ function pe(s) {
119
119
  let e, t;
120
120
  return {
121
121
  c() {
122
- e = U("svg"), t = U("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
122
+ e = J("svg"), t = J("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
123
123
  },
124
124
  m(n, o) {
125
- v(n, e, o), z(e, t);
125
+ H(n, e, o), z(e, t);
126
126
  },
127
127
  p: _e,
128
128
  d(n) {
129
- n && E(e);
129
+ n && R(e);
130
130
  }
131
131
  };
132
132
  }
133
133
  function Me(s) {
134
134
  let e, t, n = (
135
135
  /*show*/
136
- s[7] && V(s)
136
+ s[7] && T(s)
137
137
  );
138
138
  return {
139
139
  c() {
140
140
  n && n.c(), e = ae();
141
141
  },
142
142
  m(o, l) {
143
- n && n.m(o, l), v(o, e, l), t = !0;
143
+ n && n.m(o, l), H(o, e, l), t = !0;
144
144
  },
145
145
  p(o, l) {
146
146
  /*show*/
147
147
  o[7] ? n ? (n.p(o, l), l[0] & /*show*/
148
- 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), B(n, 1, 1, () => {
148
+ 128 && F(n, 1)) : (n = T(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
149
149
  n = null;
150
150
  }), le());
151
151
  },
@@ -153,17 +153,17 @@ function Me(s) {
153
153
  t || (F(n), t = !0);
154
154
  },
155
155
  o(o) {
156
- B(n), t = !1;
156
+ W(n), t = !1;
157
157
  },
158
158
  d(o) {
159
- o && E(e), n && n.d(o);
159
+ o && R(e), n && n.d(o);
160
160
  }
161
161
  };
162
162
  }
163
163
  function ke(s, e, t) {
164
- let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, R = !1, _, y, D, G, S = !1;
165
- const Z = () => {
166
- t(7, S = !1), t(3, g = H(a)), window.postMessage(
164
+ let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, j = !1, _, y, D, G, S = !1;
165
+ const V = () => {
166
+ t(7, S = !1), t(3, g = E(a)), window.postMessage(
167
167
  {
168
168
  type: "ModalClosed",
169
169
  gamepagemodalurl: d,
@@ -173,7 +173,7 @@ function ke(s, e, t) {
173
173
  window.location.href
174
174
  );
175
175
  }, L = (i) => {
176
- if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || H(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
176
+ if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || E(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
177
177
  {
178
178
  type: "GameLaunchID",
179
179
  gameId: i.data.gameId
@@ -193,9 +193,9 @@ function ke(s, e, t) {
193
193
  };
194
194
  window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
195
195
  }
196
- i.data.type === "GameStateOnResize" && (R = i.data.detailsObtained);
197
- }, J = (i) => {
198
- if (R) {
196
+ i.data.type === "GameStateOnResize" && (j = i.data.detailsObtained);
197
+ }, Z = (i) => {
198
+ if (j) {
199
199
  let I = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
@@ -212,11 +212,11 @@ function ke(s, e, t) {
212
212
  }
213
213
  );
214
214
  };
215
- re(() => (t(3, g = H(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", J, !1), () => {
215
+ re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Z, !1), () => {
216
216
  window.removeEventListener("message", L), window.removeEventListener("resize", L);
217
217
  }));
218
218
  function X(i) {
219
- N[i ? "unshift" : "push"](() => {
219
+ x[i ? "unshift" : "push"](() => {
220
220
  _ = i, t(4, _);
221
221
  });
222
222
  }
@@ -224,7 +224,7 @@ function ke(s, e, t) {
224
224
  D = this.clientWidth, G = this.clientHeight, t(5, D), t(6, G);
225
225
  }
226
226
  function $(i) {
227
- N[i ? "unshift" : "push"](() => {
227
+ x[i ? "unshift" : "push"](() => {
228
228
  y = i, t(2, y);
229
229
  });
230
230
  }
@@ -245,7 +245,7 @@ function ke(s, e, t) {
245
245
  D,
246
246
  G,
247
247
  S,
248
- Z,
248
+ V,
249
249
  w,
250
250
  k,
251
251
  c,
@@ -1,4 +1,4 @@
1
- import { a4 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, H as ae, d as v, h as F, t as B, g as le, j as E, o as re, K as de, p as j, e as W, r as ue, v as r, R as O, w as z, T as ce, x as fe, y as A, z as P, A as q, a5 as x, l as ge, m as H, Z as me, n as N, N as he, O as we, G as U, D as _e } from "./CasinoCalendar-CRnGs6mI.js";
1
+ import { a4 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j as R, o as re, l as de, u as v, e as B, w as ue, y as r, R as q, z, T as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, Z as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-8h5qdaaJ.js";
2
2
  function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
@@ -9,15 +9,15 @@ function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
9
9
  };
10
10
  }
11
11
  function ye(s) {
12
- oe(s, "svelte-n85m9z", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
12
+ oe(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
13
13
  }
14
- const be = (s) => ({}), T = (s) => ({});
15
- function V(s) {
14
+ const be = (s) => ({}), N = (s) => ({});
15
+ function T(s) {
16
16
  let e, t, n, o, l, w, k, c, u, b, p;
17
17
  const C = (
18
18
  /*#slots*/
19
19
  s[20].default
20
- ), d = j(
20
+ ), d = v(
21
21
  C,
22
22
  s,
23
23
  /*$$scope*/
@@ -26,24 +26,24 @@ function V(s) {
26
26
  ), M = (
27
27
  /*#slots*/
28
28
  s[20].close
29
- ), h = j(
29
+ ), h = v(
30
30
  M,
31
31
  s,
32
32
  /*$$scope*/
33
33
  s[19],
34
- T
34
+ N
35
35
  ), f = h || pe();
36
36
  return {
37
37
  c() {
38
- e = W("div"), t = W("div"), n = W("div"), d && d.c(), o = ue(), l = W("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
38
+ e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ue(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
39
39
  (s[1] == "true" && /*mobileView*/
40
- s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), O(() => (
40
+ s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), q(() => (
41
41
  /*div1_elementresize_handler*/
42
42
  s[22].call(t)
43
43
  )), r(e, "part", "CustomStylingContainer");
44
44
  },
45
45
  m(a, g) {
46
- v(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
46
+ H(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
47
47
  t,
48
48
  /*div1_elementresize_handler*/
49
49
  s[22].bind(t)
@@ -62,13 +62,13 @@ function V(s) {
62
62
  s,
63
63
  /*$$scope*/
64
64
  s[19],
65
- u ? q(
65
+ u ? P(
66
66
  C,
67
67
  /*$$scope*/
68
68
  s[19],
69
69
  g,
70
70
  null
71
- ) : P(
71
+ ) : O(
72
72
  /*$$scope*/
73
73
  s[19]
74
74
  ),
@@ -80,38 +80,38 @@ function V(s) {
80
80
  s,
81
81
  /*$$scope*/
82
82
  s[19],
83
- u ? q(
83
+ u ? P(
84
84
  M,
85
85
  /*$$scope*/
86
86
  s[19],
87
87
  g,
88
88
  be
89
- ) : P(
89
+ ) : O(
90
90
  /*$$scope*/
91
91
  s[19]
92
92
  ),
93
- T
93
+ N
94
94
  ), (!u || g[0] & /*haspanicbutton, mobileView*/
95
95
  10 && w !== (w = "ModalCloseBtn " + /*haspanicbutton*/
96
96
  (s[1] == "true" && /*mobileView*/
97
97
  s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", w);
98
98
  },
99
99
  i(a) {
100
- u || (F(d, a), F(f, a), a && O(() => {
101
- u && (c || (c = x(t, K, { transitionDuration: (
100
+ u || (F(d, a), F(f, a), a && q(() => {
101
+ u && (c || (c = U(t, K, { transitionDuration: (
102
102
  /*duration*/
103
103
  s[0]
104
104
  ) }, !0)), c.run(1));
105
105
  }), u = !0);
106
106
  },
107
107
  o(a) {
108
- B(d, a), B(f, a), a && (c || (c = x(t, K, { transitionDuration: (
108
+ W(d, a), W(f, a), a && (c || (c = U(t, K, { transitionDuration: (
109
109
  /*duration*/
110
110
  s[0]
111
111
  ) }, !1)), c.run(0)), u = !1;
112
112
  },
113
113
  d(a) {
114
- a && E(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
114
+ a && R(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
115
115
  }
116
116
  };
117
117
  }
@@ -119,33 +119,33 @@ function pe(s) {
119
119
  let e, t;
120
120
  return {
121
121
  c() {
122
- e = U("svg"), t = U("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
122
+ e = J("svg"), t = J("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
123
123
  },
124
124
  m(n, o) {
125
- v(n, e, o), z(e, t);
125
+ H(n, e, o), z(e, t);
126
126
  },
127
127
  p: _e,
128
128
  d(n) {
129
- n && E(e);
129
+ n && R(e);
130
130
  }
131
131
  };
132
132
  }
133
133
  function Me(s) {
134
134
  let e, t, n = (
135
135
  /*show*/
136
- s[7] && V(s)
136
+ s[7] && T(s)
137
137
  );
138
138
  return {
139
139
  c() {
140
140
  n && n.c(), e = ae();
141
141
  },
142
142
  m(o, l) {
143
- n && n.m(o, l), v(o, e, l), t = !0;
143
+ n && n.m(o, l), H(o, e, l), t = !0;
144
144
  },
145
145
  p(o, l) {
146
146
  /*show*/
147
147
  o[7] ? n ? (n.p(o, l), l[0] & /*show*/
148
- 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), B(n, 1, 1, () => {
148
+ 128 && F(n, 1)) : (n = T(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
149
149
  n = null;
150
150
  }), le());
151
151
  },
@@ -153,17 +153,17 @@ function Me(s) {
153
153
  t || (F(n), t = !0);
154
154
  },
155
155
  o(o) {
156
- B(n), t = !1;
156
+ W(n), t = !1;
157
157
  },
158
158
  d(o) {
159
- o && E(e), n && n.d(o);
159
+ o && R(e), n && n.d(o);
160
160
  }
161
161
  };
162
162
  }
163
163
  function ke(s, e, t) {
164
- let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, R = !1, _, y, D, G, S = !1;
165
- const Z = () => {
166
- t(7, S = !1), t(3, g = H(a)), window.postMessage(
164
+ let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, j = !1, _, y, D, G, S = !1;
165
+ const V = () => {
166
+ t(7, S = !1), t(3, g = E(a)), window.postMessage(
167
167
  {
168
168
  type: "ModalClosed",
169
169
  gamepagemodalurl: d,
@@ -173,7 +173,7 @@ function ke(s, e, t) {
173
173
  window.location.href
174
174
  );
175
175
  }, L = (i) => {
176
- if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || H(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
176
+ if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || E(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
177
177
  {
178
178
  type: "GameLaunchID",
179
179
  gameId: i.data.gameId
@@ -193,9 +193,9 @@ function ke(s, e, t) {
193
193
  };
194
194
  window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
195
195
  }
196
- i.data.type === "GameStateOnResize" && (R = i.data.detailsObtained);
197
- }, J = (i) => {
198
- if (R) {
196
+ i.data.type === "GameStateOnResize" && (j = i.data.detailsObtained);
197
+ }, Z = (i) => {
198
+ if (j) {
199
199
  let I = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
@@ -212,11 +212,11 @@ function ke(s, e, t) {
212
212
  }
213
213
  );
214
214
  };
215
- re(() => (t(3, g = H(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", J, !1), () => {
215
+ re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Z, !1), () => {
216
216
  window.removeEventListener("message", L), window.removeEventListener("resize", L);
217
217
  }));
218
218
  function X(i) {
219
- N[i ? "unshift" : "push"](() => {
219
+ x[i ? "unshift" : "push"](() => {
220
220
  _ = i, t(4, _);
221
221
  });
222
222
  }
@@ -224,7 +224,7 @@ function ke(s, e, t) {
224
224
  D = this.clientWidth, G = this.clientHeight, t(5, D), t(6, G);
225
225
  }
226
226
  function $(i) {
227
- N[i ? "unshift" : "push"](() => {
227
+ x[i ? "unshift" : "push"](() => {
228
228
  y = i, t(2, y);
229
229
  });
230
230
  }
@@ -245,7 +245,7 @@ function ke(s, e, t) {
245
245
  D,
246
246
  G,
247
247
  S,
248
- Z,
248
+ V,
249
249
  w,
250
250
  k,
251
251
  c,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-pDYRKcjG.cjs");require("./CasinoFavoritesSection-DrmyxOK7.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;