@everymatrix/casino-page 1.61.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCalendar-BM2cfNWQ.cjs +19 -0
- package/components/{CasinoCalendar-GcgbEHRq.js → CasinoCalendar-Be-xusSS.js} +673 -645
- package/components/{CasinoCalendar-oLa-PBk3.js → CasinoCalendar-DQHS0B0K.js} +872 -844
- package/components/{CasinoCalendarDailyDetails-CXZ_e7er.js → CasinoCalendarDailyDetails-BFpQ0I4D.js} +49 -49
- package/components/{CasinoCalendarDailyDetails-BEdoO9V0.js → CasinoCalendarDailyDetails-GoqK5q9I.js} +49 -49
- package/components/{CasinoCalendarDailyDetails-C-hKLl6t.cjs → CasinoCalendarDailyDetails-TN7vze6P.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-C4zOqGfT.js → CasinoCalendarDailyItem-9ufQqGRg.js} +33 -33
- package/components/{CasinoCalendarDailyItem-B0UT8hgo.cjs → CasinoCalendarDailyItem-BH106ywM.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BYnarlby.js → CasinoCalendarDailyItem-DNZvHu6n.js} +33 -33
- package/components/{CasinoCollectionsProviders-BsCnHvy0.js → CasinoCollectionsProviders-81GFOBGT.js} +59 -59
- package/components/{CasinoCollectionsProviders-C9JSj4NQ.cjs → CasinoCollectionsProviders-DInK-hae.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-Bd9bpqwJ.js → CasinoCollectionsProviders-DTsJJjiX.js} +54 -54
- package/components/{CasinoFavoritesSection-CpfPEdvZ.js → CasinoFavoritesSection-Bh0RMTtf.js} +24 -24
- package/components/{CasinoFavoritesSection-BuCiSBck.js → CasinoFavoritesSection-CCAbE13x.js} +24 -24
- package/components/{CasinoFavoritesSection-CF66gauh.cjs → CasinoFavoritesSection-DcRklCEU.cjs} +1 -1
- package/components/CasinoFilter-B0zQfy_e.js +645 -0
- package/components/CasinoFilter-C-FeoGQV.js +646 -0
- package/components/CasinoFilter-oW7IOS3i.cjs +1 -0
- package/components/CasinoGameThumbnail-BX5LDmhZ.js +4391 -0
- package/components/CasinoGameThumbnail-CklGVHrC.cjs +47 -0
- package/components/CasinoGameThumbnail-D1Dek1YY.js +4407 -0
- package/components/CasinoGamesCategorySection-BN646E1j.js +3154 -0
- package/components/CasinoGamesCategorySection-DqiqZXG9.cjs +1 -0
- package/components/{CasinoGamesCategorySection-Cl02LfPB.js → CasinoGamesCategorySection-FqfKiefu.js} +1241 -1159
- package/components/{CasinoJackpotBanner-BxJ0cXYz.js → CasinoJackpotBanner--540Lcyx.js} +105 -105
- package/components/{CasinoJackpotBanner-CUg-WrqE.cjs → CasinoJackpotBanner-By_usFOs.cjs} +1 -1
- package/components/{CasinoJackpotBanner-DltYb9oB.js → CasinoJackpotBanner-PW8Ag0rs.js} +105 -105
- package/components/{CasinoLastPlayedSection-B9ZLZ2fh.js → CasinoLastPlayedSection-B2JVX_NB.js} +41 -41
- package/components/{CasinoLastPlayedSection-DvpriSWH.cjs → CasinoLastPlayedSection-D6RtFPdO.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BCY1n_9B.js → CasinoLastPlayedSection-DcqCMv5G.js} +41 -41
- package/components/{CasinoMostPlayedSection-Cf6tsgDE.js → CasinoMostPlayedSection-BoWni-dH.js} +42 -42
- package/components/{CasinoMostPlayedSection-Cuc6JAr3.js → CasinoMostPlayedSection-CwJyPP8-.js} +42 -42
- package/components/{CasinoMostPlayedSection-DbcxZpH3.cjs → CasinoMostPlayedSection-kYuwijo3.cjs} +1 -1
- package/components/{CasinoMyGames-CaL_anj-.cjs → CasinoMyGames-D1pQxWbR.cjs} +1 -1
- package/components/{CasinoMyGames-D8iC3rfB.js → CasinoMyGames-DJNJWDEA.js} +42 -42
- package/components/{CasinoMyGames-DJ7UmtLu.js → CasinoMyGames-lO7cO0MH.js} +43 -43
- package/components/CasinoPage-CJZVRZeZ.js +4071 -0
- package/components/CasinoPage-UxkiJvcs.cjs +1 -0
- package/components/CasinoPage-ockcqSgG.js +4052 -0
- package/components/{CasinoRandomGame-C06GQcl6.js → CasinoRandomGame-B8qayhJz.js} +61 -61
- package/components/{CasinoRandomGame-C5dTPlxd.js → CasinoRandomGame-F2rx-R6u.js} +63 -63
- package/components/{CasinoRandomGame-CqD9l308.cjs → CasinoRandomGame-uW70Dcr-.cjs} +1 -1
- package/components/{CasinoSearch-DOe-FAq6.cjs → CasinoSearch-CHjmmh6A.cjs} +1 -1
- package/components/{CasinoSearch-VAKEMXqH.js → CasinoSearch-CyEM203O.js} +77 -77
- package/components/{CasinoSearch-CP7pv_Rx.js → CasinoSearch-DonT6jmg.js} +79 -79
- package/components/{CasinoSort-CScmWM1F.js → CasinoSort-BT1JsBJA.js} +111 -110
- package/components/{CasinoSort-CFs4TBdS.js → CasinoSort-D9_L_Fuf.js} +103 -104
- package/components/{CasinoSort-DdDbgCmx.cjs → CasinoSort-DQBLicad.cjs} +1 -1
- package/components/{CasinoWinners-C5CqUsG7.cjs → CasinoWinners-B0adSSsc.cjs} +1 -1
- package/components/{CasinoWinners-yd5GvHIp.js → CasinoWinners-C3LpZCtD.js} +151 -151
- package/components/{CasinoWinners-ClL_FA-b.js → CasinoWinners-CIT6cbm3.js} +137 -137
- package/components/{GeneralAnimationLoading-CrrQFcSB.js → GeneralAnimationLoading-BJuUzBc8.js} +18 -18
- package/components/{GeneralAnimationLoading-Dhq5pG4U.js → GeneralAnimationLoading-DeW-gcPc.js} +18 -18
- package/components/{GeneralAnimationLoading-DKjMWmUN.cjs → GeneralAnimationLoading-OGACKm1O.cjs} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-BXqbLgi6.js} +2 -2
- package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-C7EJAFXg.js} +2 -2
- package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-DjzHFI4S.cjs} +2 -2
- package/stencil/index-ab3202d6-CMLJROQf.cjs +1 -0
- package/stencil/index-ab3202d6-CqQYxn8J.js +575 -0
- package/stencil/index-ab3202d6-D5caeC50.js +559 -0
- package/stencil/index-b2193545-CJX9lIo2.js +519 -0
- package/stencil/index-b2193545-CbB5TWd2.js +503 -0
- package/stencil/index-b2193545-DQd_Uk3t.cjs +1 -0
- package/stencil/index-b7bbd57e-BO976FKE.js +534 -0
- package/stencil/index-b7bbd57e-CRts68dn.cjs +1 -0
- package/stencil/index-b7bbd57e-ChiHMF5W.js +550 -0
- package/stencil/{ui-image-38c3c15f--IPbitii.js → ui-image-38c3c15f-C4x7O9FA.js} +1 -1
- package/stencil/{ui-image-38c3c15f-Dv8v2u8d.cjs → ui-image-38c3c15f-DQqFo7p2.cjs} +1 -1
- package/stencil/{ui-image-38c3c15f-CQXMTl7T.js → ui-image-38c3c15f-DY2A0QkK.js} +1 -1
- package/stencil/{ui-image-DG3xEaHN.js → ui-image-CzWACXX6.js} +2 -2
- package/stencil/{ui-image-LuWVcxjH.cjs → ui-image-c5YAxRRi.cjs} +1 -1
- package/stencil/{ui-image-CV8AJ9cY.js → ui-image-shmNN3yX.js} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-6d1c12ae-C2t65ZQ6.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-6d1c12ae-CrQ3Yom_.js} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-6d1c12ae-D9cBvSa8.js} +1 -1
- package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-BEBLuDwu.js} +2 -2
- package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-D595e_7Y.cjs} +1 -1
- package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-Z7IcB7dJ.js} +2 -2
- package/components/CasinoCalendar-3HhwEwWn.cjs +0 -19
- package/components/CasinoFilter-BDAzYLsu.cjs +0 -1
- package/components/CasinoFilter-DGSFnnFj.js +0 -633
- package/components/CasinoFilter-DlzXE2oW.js +0 -632
- package/components/CasinoGameThumbnail-8ZDDnalK.js +0 -3592
- package/components/CasinoGameThumbnail-CmqedVBx.js +0 -3608
- package/components/CasinoGameThumbnail-YSK9ny6q.cjs +0 -39
- package/components/CasinoGamesCategorySection-f_qKSuc4.js +0 -3070
- package/components/CasinoGamesCategorySection-op_Pcf3z.cjs +0 -1
- package/components/CasinoPage-Bhbhj9cp.cjs +0 -1
- package/components/CasinoPage-D-SgeItH.js +0 -3755
- package/components/CasinoPage-WV1OQ9DA.js +0 -3758
- package/stencil/index-ab3202d6-9zuW-dLG.js +0 -575
- package/stencil/index-ab3202d6-CGVciVSL.js +0 -559
- package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +0 -1
- package/stencil/index-b2193545-CGYrx6SV.js +0 -503
- package/stencil/index-b2193545-DU7jU8hT.cjs +0 -1
- package/stencil/index-b2193545-k_uiu1dU.js +0 -519
- package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
- package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
package/components/{CasinoCalendarDailyItem-B0UT8hgo.cjs → CasinoCalendarDailyItem-BH106ywM.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-3HhwEwWn.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function M(n,a){e.addMessages(n,a)}function B(n){e.$locale.set(n)}const E={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function j(n){e.append_styles(n,"svelte-g8pzdd",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,r,b,l,g,C,i,u,s,p,m,c,y=n[8](`${n[2]}`)+"",h,f,o,F,v,x,S,_,w,I,T;return{c(){a=e.element("div"),r=e.element("div"),b=e.element("div"),l=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',C=e.space(),i=e.element("div"),u=e.element("div"),s=e.element("ui-image"),m=e.space(),c=e.element("div"),h=e.text(y),f=e.space(),o=e.element("div"),F=e.space(),v=e.element("div"),x=e.element("button"),S=e.text(n[3]),e.attr(g,"class","CalendarBar"),e.src_url_equal(s.src,p=n[1])||e.set_custom_element_data(s,"src",p),e.set_custom_element_data(s,"alt",n[1]),e.attr(u,"class","CasinoCalendarDailyIcon"),e.attr(c,"class","CasinoCalendarDailyTitle"),e.attr(o,"class","CasinoCalendarDailyItemDescription"),e.attr(x,"class","MoreInfoButton"),e.attr(v,"class","CasinoCalendarDailyItemButton"),e.attr(i,"class",_="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(i,"background-image","url('"+n[0]+"')"),e.set_style(i,"background-size","cover"),e.set_style(i,"background-position","center"),e.set_style(i,"-webkit-background-size","cover"),e.set_style(i,"-moz-background-size","cover"),e.set_style(i,"-o-background-size","cover"),e.attr(l,"class","CalendarCard"),e.attr(b,"class","CasinoCalendarItems"),e.attr(r,"class",w="Container "+(n[7]?"Mobile":""))},m(d,t){e.insert(d,a,t),e.append(a,r),e.append(r,b),e.append(b,l),e.append(l,g),e.append(l,C),e.append(l,i),e.append(i,u),e.append(u,s),e.append(i,m),e.append(i,c),e.append(c,h),e.append(i,f),e.append(i,o),n[16](o),e.append(i,F),e.append(i,v),e.append(v,x),e.append(x,S),n[18](a),I||(T=e.listen(x,"click",n[17]),I=!0)},p(d,[t]){t&2&&!e.src_url_equal(s.src,p=d[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",d[1]),t&260&&y!==(y=d[8](`${d[2]}`)+"")&&e.set_data(h,y),t&8&&e.set_data(S,d[3]),t&16&&_!==(_="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",_),t&1&&e.set_style(i,"background-image","url('"+d[0]+"')"),t&128&&w!==(w="Container "+(d[7]?"Mobile":""))&&e.attr(r,"class",w)},i:e.noop,o:e.noop,d(d){d&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,r){let b;e.component_subscribe(n,e.$format,t=>r(8,b=t));let{lang:l=""}=a,{dailybackground:g=""}=a,{dailyicon:C=""}=a,{dailyday:i=""}=a,{dailydescription:u="<p></p>"}=a,{dailybuttontitle:s=""}=a,{index:p="0"}=a,{mbsource:m}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:h=""}=a,f,o,F=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{M(t,E[t])});const S=()=>{let t=h;if(t)return fetch(t).then(k=>k.json()).then(k=>{Object.keys(k).forEach(z=>{M(z,k[z])})}).catch(k=>{console.log(k)})},_=()=>{let t=document.createElement("div");t.innerHTML=u,f&&f.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&r(7,F=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{f=t,r(6,f)})}const T=()=>w();function d(t){e.binding_callbacks[t?"unshift":"push"](()=>{o=t,r(5,o)})}return n.$$set=t=>{"lang"in t&&r(10,l=t.lang),"dailybackground"in t&&r(0,g=t.dailybackground),"dailyicon"in t&&r(1,C=t.dailyicon),"dailyday"in t&&r(2,i=t.dailyday),"dailydescription"in t&&r(11,u=t.dailydescription),"dailybuttontitle"in t&&r(3,s=t.dailybuttontitle),"index"in t&&r(4,p=t.index),"mbsource"in t&&r(12,m=t.mbsource),"clientstyling"in t&&r(13,c=t.clientstyling),"clientstylingurl"in t&&r(14,y=t.clientstylingurl),"translationurl"in t&&r(15,h=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&h&&S(),n.$$.dirty&2063&&C&&i&&u&&s&&g&&_(),n.$$.dirty&8224&&c&&o&&e.setClientStyling(o,c),n.$$.dirty&16416&&y&&o&&e.setClientStylingURL(o,y),n.$$.dirty&4128&&m&&o&&e.setStreamStyling(o,`${m}.Style`)},[g,C,i,s,p,o,f,F,b,w,l,u,m,c,y,h,I,T,d]}class L extends e.SvelteComponent{constructor(a){super(),e.init(this,a,R,D,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},j)}get lang(){return this.$$.ctx[10]}set lang(a){this.$$set({lang:a}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(a){this.$$set({dailybackground:a}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(a){this.$$set({dailyicon:a}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(a){this.$$set({dailyday:a}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(a){this.$$set({dailydescription:a}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(a){this.$$set({dailybuttontitle:a}),e.flush()}get index(){return this.$$.ctx[4]}set index(a){this.$$set({index:a}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(L,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BM2cfNWQ.cjs");require("../stencil/ui-image-c5YAxRRi.cjs");function M(n,a){e.addMessages(n,a)}function B(n){e.$locale.set(n)}const E={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function j(n){e.append_styles(n,"svelte-g8pzdd",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,r,b,l,g,C,i,u,s,p,m,c,y=n[8](`${n[2]}`)+"",h,f,o,F,v,x,S,_,w,I,T;return{c(){a=e.element("div"),r=e.element("div"),b=e.element("div"),l=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',C=e.space(),i=e.element("div"),u=e.element("div"),s=e.element("ui-image"),m=e.space(),c=e.element("div"),h=e.text(y),f=e.space(),o=e.element("div"),F=e.space(),v=e.element("div"),x=e.element("button"),S=e.text(n[3]),e.attr(g,"class","CalendarBar"),e.src_url_equal(s.src,p=n[1])||e.set_custom_element_data(s,"src",p),e.set_custom_element_data(s,"alt",n[1]),e.attr(u,"class","CasinoCalendarDailyIcon"),e.attr(c,"class","CasinoCalendarDailyTitle"),e.attr(o,"class","CasinoCalendarDailyItemDescription"),e.attr(x,"class","MoreInfoButton"),e.attr(v,"class","CasinoCalendarDailyItemButton"),e.attr(i,"class",_="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(i,"background-image","url('"+n[0]+"')"),e.set_style(i,"background-size","cover"),e.set_style(i,"background-position","center"),e.set_style(i,"-webkit-background-size","cover"),e.set_style(i,"-moz-background-size","cover"),e.set_style(i,"-o-background-size","cover"),e.attr(l,"class","CalendarCard"),e.attr(b,"class","CasinoCalendarItems"),e.attr(r,"class",w="Container "+(n[7]?"Mobile":""))},m(d,t){e.insert(d,a,t),e.append(a,r),e.append(r,b),e.append(b,l),e.append(l,g),e.append(l,C),e.append(l,i),e.append(i,u),e.append(u,s),e.append(i,m),e.append(i,c),e.append(c,h),e.append(i,f),e.append(i,o),n[16](o),e.append(i,F),e.append(i,v),e.append(v,x),e.append(x,S),n[18](a),I||(T=e.listen(x,"click",n[17]),I=!0)},p(d,[t]){t&2&&!e.src_url_equal(s.src,p=d[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",d[1]),t&260&&y!==(y=d[8](`${d[2]}`)+"")&&e.set_data(h,y),t&8&&e.set_data(S,d[3]),t&16&&_!==(_="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",_),t&1&&e.set_style(i,"background-image","url('"+d[0]+"')"),t&128&&w!==(w="Container "+(d[7]?"Mobile":""))&&e.attr(r,"class",w)},i:e.noop,o:e.noop,d(d){d&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,r){let b;e.component_subscribe(n,e.$format,t=>r(8,b=t));let{lang:l=""}=a,{dailybackground:g=""}=a,{dailyicon:C=""}=a,{dailyday:i=""}=a,{dailydescription:u="<p></p>"}=a,{dailybuttontitle:s=""}=a,{index:p="0"}=a,{mbsource:m}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:h=""}=a,f,o,F=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{M(t,E[t])});const S=()=>{let t=h;if(t)return fetch(t).then(k=>k.json()).then(k=>{Object.keys(k).forEach(z=>{M(z,k[z])})}).catch(k=>{console.log(k)})},_=()=>{let t=document.createElement("div");t.innerHTML=u,f&&f.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&r(7,F=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{f=t,r(6,f)})}const T=()=>w();function d(t){e.binding_callbacks[t?"unshift":"push"](()=>{o=t,r(5,o)})}return n.$$set=t=>{"lang"in t&&r(10,l=t.lang),"dailybackground"in t&&r(0,g=t.dailybackground),"dailyicon"in t&&r(1,C=t.dailyicon),"dailyday"in t&&r(2,i=t.dailyday),"dailydescription"in t&&r(11,u=t.dailydescription),"dailybuttontitle"in t&&r(3,s=t.dailybuttontitle),"index"in t&&r(4,p=t.index),"mbsource"in t&&r(12,m=t.mbsource),"clientstyling"in t&&r(13,c=t.clientstyling),"clientstylingurl"in t&&r(14,y=t.clientstylingurl),"translationurl"in t&&r(15,h=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&h&&S(),n.$$.dirty&2063&&C&&i&&u&&s&&g&&_(),n.$$.dirty&8224&&c&&o&&e.setClientStyling(o,c),n.$$.dirty&16416&&y&&o&&e.setClientStylingURL(o,y),n.$$.dirty&4128&&m&&o&&e.setStreamStyling(o,`${m}.Style`)},[g,C,i,s,p,o,f,F,b,w,l,u,m,c,y,h,I,T,d]}class L extends e.SvelteComponent{constructor(a){super(),e.init(this,a,R,D,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},j)}get lang(){return this.$$.ctx[10]}set lang(a){this.$$set({lang:a}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(a){this.$$set({dailybackground:a}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(a){this.$$set({dailyicon:a}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(a){this.$$set({dailyday:a}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(a){this.$$set({dailydescription:a}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(a){this.$$set({dailybuttontitle:a}),e.flush()}get index(){return this.$$.ctx[4]}set index(a){this.$$set({index:a}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(L,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;
|
package/components/{CasinoCalendarDailyItem-BYnarlby.js → CasinoCalendarDailyItem-DNZvHu6n.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-image-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as N, $ as U, S as G, i as J, f as y, c as V, s as K, b as Q, e as u, w as B, x as R, y as c, I as A, H as j, M as F, d as X, z as r, A as Y, E as O, G as W, j as Z, k as $, o as ee, l as te, m as ae, p as ie, q as P, r as ne, J as re } from "./CasinoCalendar-Be-xusSS.js";
|
|
2
|
+
import "../stencil/ui-image-CzWACXX6.js";
|
|
3
|
+
function q(a, t) {
|
|
4
|
+
N(a, t);
|
|
5
5
|
}
|
|
6
6
|
function oe(a) {
|
|
7
7
|
U.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const H = {
|
|
10
10
|
en: {
|
|
11
11
|
error: "500 Error - Internal Server Error",
|
|
12
12
|
loading: "Loading ...",
|
|
@@ -75,7 +75,7 @@ const q = {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
function de(a) {
|
|
78
|
-
|
|
78
|
+
Q(a, "svelte-g8pzdd", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
79
79
|
}
|
|
80
80
|
function se(a) {
|
|
81
81
|
let t, n, w, s, f, _, i, g, l, x, C, b, h = (
|
|
@@ -85,18 +85,18 @@ function se(a) {
|
|
|
85
85
|
), p, m, o, M, S, v, T, I, k, E, L;
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
88
|
-
t =
|
|
88
|
+
t = u("div"), n = u("div"), w = u("div"), s = u("div"), f = u("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = B(), i = u("div"), g = u("div"), l = u("ui-image"), C = B(), b = u("div"), p = R(h), m = B(), o = u("div"), M = B(), S = u("div"), v = u("button"), T = R(
|
|
89
89
|
/*dailybuttontitle*/
|
|
90
90
|
a[3]
|
|
91
|
-
),
|
|
92
|
-
a[1]) ||
|
|
91
|
+
), c(f, "class", "CalendarBar"), A(l.src, x = /*dailyicon*/
|
|
92
|
+
a[1]) || j(l, "src", x), j(
|
|
93
93
|
l,
|
|
94
94
|
"alt",
|
|
95
95
|
/*dailyicon*/
|
|
96
96
|
a[1]
|
|
97
|
-
),
|
|
97
|
+
), c(g, "class", "CasinoCalendarDailyIcon"), c(b, "class", "CasinoCalendarDailyTitle"), c(o, "class", "CasinoCalendarDailyItemDescription"), c(v, "class", "MoreInfoButton"), c(S, "class", "CasinoCalendarDailyItemButton"), c(i, "class", I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
98
98
|
a[4] == "OpenCalendarModal" ? "Tear" : "")), F(i, "background-image", "url('" + /*dailybackground*/
|
|
99
|
-
a[0] + "')"), F(i, "background-size", "cover"), F(i, "background-position", "center"), F(i, "-webkit-background-size", "cover"), F(i, "-moz-background-size", "cover"), F(i, "-o-background-size", "cover"),
|
|
99
|
+
a[0] + "')"), F(i, "background-size", "cover"), F(i, "background-position", "center"), F(i, "-webkit-background-size", "cover"), F(i, "-moz-background-size", "cover"), F(i, "-o-background-size", "cover"), c(s, "class", "CalendarCard"), c(w, "class", "CasinoCalendarItems"), c(n, "class", k = "Container " + /*mobileView*/
|
|
100
100
|
(a[7] ? "Mobile" : ""));
|
|
101
101
|
},
|
|
102
102
|
m(d, e) {
|
|
@@ -110,8 +110,8 @@ function se(a) {
|
|
|
110
110
|
p(d, [e]) {
|
|
111
111
|
e & /*dailyicon*/
|
|
112
112
|
2 && !A(l.src, x = /*dailyicon*/
|
|
113
|
-
d[1]) &&
|
|
114
|
-
2 &&
|
|
113
|
+
d[1]) && j(l, "src", x), e & /*dailyicon*/
|
|
114
|
+
2 && j(
|
|
115
115
|
l,
|
|
116
116
|
"alt",
|
|
117
117
|
/*dailyicon*/
|
|
@@ -126,35 +126,35 @@ function se(a) {
|
|
|
126
126
|
d[3]
|
|
127
127
|
), e & /*index*/
|
|
128
128
|
16 && I !== (I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
129
|
-
d[4] == "OpenCalendarModal" ? "Tear" : "")) &&
|
|
129
|
+
d[4] == "OpenCalendarModal" ? "Tear" : "")) && c(i, "class", I), e & /*dailybackground*/
|
|
130
130
|
1 && F(i, "background-image", "url('" + /*dailybackground*/
|
|
131
131
|
d[0] + "')"), e & /*mobileView*/
|
|
132
132
|
128 && k !== (k = "Container " + /*mobileView*/
|
|
133
|
-
(d[7] ? "Mobile" : "")) &&
|
|
133
|
+
(d[7] ? "Mobile" : "")) && c(n, "class", k);
|
|
134
134
|
},
|
|
135
|
-
i:
|
|
136
|
-
o:
|
|
135
|
+
i: W,
|
|
136
|
+
o: W,
|
|
137
137
|
d(d) {
|
|
138
|
-
d &&
|
|
138
|
+
d && Z(t), a[16](null), a[18](null), E = !1, L();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function le(a, t, n) {
|
|
143
143
|
let w;
|
|
144
|
-
|
|
144
|
+
$(a, re, (e) => n(8, w = e));
|
|
145
145
|
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index: x = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: p = "" } = t, m, o, M = !1, S = window.navigator.userAgent;
|
|
146
146
|
const v = () => {
|
|
147
147
|
oe(s);
|
|
148
148
|
};
|
|
149
|
-
Object.keys(
|
|
150
|
-
|
|
149
|
+
Object.keys(H).forEach((e) => {
|
|
150
|
+
q(e, H[e]);
|
|
151
151
|
});
|
|
152
152
|
const T = () => {
|
|
153
153
|
let e = p;
|
|
154
154
|
if (e)
|
|
155
155
|
return fetch(e).then((z) => z.json()).then((z) => {
|
|
156
|
-
Object.keys(z).forEach((
|
|
157
|
-
|
|
156
|
+
Object.keys(z).forEach((D) => {
|
|
157
|
+
q(D, z[D]);
|
|
158
158
|
});
|
|
159
159
|
}).catch((z) => {
|
|
160
160
|
console.log(z);
|
|
@@ -165,16 +165,16 @@ function le(a, t, n) {
|
|
|
165
165
|
}, k = () => {
|
|
166
166
|
window.postMessage({ type: "OpenCalendar", index: x }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
167
167
|
};
|
|
168
|
-
|
|
168
|
+
ee(() => (ie(S) && n(7, M = !0), () => {
|
|
169
169
|
}));
|
|
170
170
|
function E(e) {
|
|
171
|
-
|
|
171
|
+
P[e ? "unshift" : "push"](() => {
|
|
172
172
|
m = e, n(6, m);
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
const L = () => k();
|
|
176
176
|
function d(e) {
|
|
177
|
-
|
|
177
|
+
P[e ? "unshift" : "push"](() => {
|
|
178
178
|
o = e, n(5, o);
|
|
179
179
|
});
|
|
180
180
|
}
|
|
@@ -185,9 +185,9 @@ function le(a, t, n) {
|
|
|
185
185
|
1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
|
|
186
186
|
33792 && s && p && T(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
187
187
|
2063 && _ && i && g && l && f && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
188
|
-
8224 && b && o &&
|
|
189
|
-
16416 && h && o &&
|
|
190
|
-
4128 && C && o &&
|
|
188
|
+
8224 && b && o && ne(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
189
|
+
16416 && h && o && te(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
190
|
+
4128 && C && o && ae(o, `${C}.Style`);
|
|
191
191
|
}, [
|
|
192
192
|
f,
|
|
193
193
|
_,
|
|
@@ -210,14 +210,14 @@ function le(a, t, n) {
|
|
|
210
210
|
d
|
|
211
211
|
];
|
|
212
212
|
}
|
|
213
|
-
class ue extends
|
|
213
|
+
class ue extends G {
|
|
214
214
|
constructor(t) {
|
|
215
|
-
super(),
|
|
215
|
+
super(), J(
|
|
216
216
|
this,
|
|
217
217
|
t,
|
|
218
218
|
le,
|
|
219
219
|
se,
|
|
220
|
-
|
|
220
|
+
K,
|
|
221
221
|
{
|
|
222
222
|
lang: 10,
|
|
223
223
|
dailybackground: 0,
|
|
@@ -301,7 +301,7 @@ class ue extends J {
|
|
|
301
301
|
this.$$set({ translationurl: t }), y();
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
V(ue, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
305
305
|
export {
|
|
306
306
|
ue as default
|
|
307
307
|
};
|
package/components/{CasinoCollectionsProviders-BsCnHvy0.js → CasinoCollectionsProviders-81GFOBGT.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as _e, $ as Ce, S as ye, i as we,
|
|
2
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { a as _e, $ as Ce, S as ye, i as we, f as M, c as Se, s as ke, b as Ge, e as _, d as x, G as O, j as F, k as Pe, o as Le, l as Me, p as je, q as Y, r as xe, m as Fe, v as H, x as R, w as T, y, z as v, E as q, F as re, A as z, O as Te, M as I, J as Oe, H as j, I as A, P as He } from "./CasinoCalendar-Be-xusSS.js";
|
|
2
|
+
import "../stencil/ui-image-CzWACXX6.js";
|
|
3
3
|
function Q(t, e) {
|
|
4
4
|
_e(t, e);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ze(t) {
|
|
7
7
|
Ce.set(t);
|
|
8
8
|
}
|
|
9
9
|
const $ = {
|
|
@@ -103,8 +103,8 @@ const $ = {
|
|
|
103
103
|
loading: "Loading, please wait ..."
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
|
-
function
|
|
107
|
-
|
|
106
|
+
function Ae(t) {
|
|
107
|
+
Ge(t, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
108
108
|
}
|
|
109
109
|
function ee(t, e, i) {
|
|
110
110
|
const n = t.slice();
|
|
@@ -114,7 +114,7 @@ function te(t, e, i) {
|
|
|
114
114
|
const n = t.slice();
|
|
115
115
|
return n[44] = e[i], n;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Be(t) {
|
|
118
118
|
let e, i, n, l = (
|
|
119
119
|
/*type*/
|
|
120
120
|
(t[0] === "vendor" ? (
|
|
@@ -128,7 +128,7 @@ function Ae(t) {
|
|
|
128
128
|
/*numberOfSlides*/
|
|
129
129
|
t[7] > /*numberOfVisibleSlides*/
|
|
130
130
|
t[8] && ie(t)
|
|
131
|
-
), m =
|
|
131
|
+
), m = H(
|
|
132
132
|
/*gameCategories*/
|
|
133
133
|
t[3]
|
|
134
134
|
), a = [];
|
|
@@ -136,7 +136,7 @@ function Ae(t) {
|
|
|
136
136
|
a[c] = ne(ee(t, m, c));
|
|
137
137
|
return {
|
|
138
138
|
c() {
|
|
139
|
-
e = _("div"), i = _("div"), n = _("p"), r =
|
|
139
|
+
e = _("div"), i = _("div"), n = _("p"), r = R(l), d = T(), s && s.c(), C = T(), b = _("div");
|
|
140
140
|
for (let c = 0; c < a.length; c += 1)
|
|
141
141
|
a[c].c();
|
|
142
142
|
y(n, "class", "Title"), y(i, "class", "CategoriesHeader"), y(b, "class", "CategoriesSlider"), y(e, "class", S = "CasinoCollectionsProviders " + /*mobile*/
|
|
@@ -144,7 +144,7 @@ function Ae(t) {
|
|
|
144
144
|
(t[0] === "vendor" ? "Providers" : "Collections"));
|
|
145
145
|
},
|
|
146
146
|
m(c, g) {
|
|
147
|
-
|
|
147
|
+
x(c, e, g), v(e, i), v(i, n), v(n, r), v(i, d), s && s.m(i, null), v(e, C), v(e, b);
|
|
148
148
|
for (let p = 0; p < a.length; p += 1)
|
|
149
149
|
a[p] && a[p].m(b, null);
|
|
150
150
|
t[25](b);
|
|
@@ -158,11 +158,11 @@ function Ae(t) {
|
|
|
158
158
|
) : (
|
|
159
159
|
/*$_*/
|
|
160
160
|
c[10]("collections")
|
|
161
|
-
)) + "") &&
|
|
161
|
+
)) + "") && q(r, l), /*numberOfSlides*/
|
|
162
162
|
c[7] > /*numberOfVisibleSlides*/
|
|
163
163
|
c[8] ? s ? s.p(c, g) : (s = ie(c), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
164
164
|
24590) {
|
|
165
|
-
m =
|
|
165
|
+
m = H(
|
|
166
166
|
/*gameCategories*/
|
|
167
167
|
c[3]
|
|
168
168
|
);
|
|
@@ -181,7 +181,7 @@ function Ae(t) {
|
|
|
181
181
|
(c[0] === "vendor" ? "Providers" : "Collections")) && y(e, "class", S);
|
|
182
182
|
},
|
|
183
183
|
d(c) {
|
|
184
|
-
c &&
|
|
184
|
+
c && F(e), s && s.d(), re(a, c), t[25](null);
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
}
|
|
@@ -192,11 +192,11 @@ function Ne(t) {
|
|
|
192
192
|
e = _("div"), y(e, "class", "LoadingSpinner");
|
|
193
193
|
},
|
|
194
194
|
m(i, n) {
|
|
195
|
-
|
|
195
|
+
x(i, e, n);
|
|
196
196
|
},
|
|
197
197
|
p: O,
|
|
198
198
|
d(i) {
|
|
199
|
-
i &&
|
|
199
|
+
i && F(e);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
}
|
|
@@ -207,14 +207,14 @@ function ie(t) {
|
|
|
207
207
|
e = _("div"), i = _("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = T(), l = _("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', y(e, "class", "ButtonsContainer");
|
|
208
208
|
},
|
|
209
209
|
m(C, b) {
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
x(C, e, b), v(e, i), v(e, n), v(e, l), r || (d = [
|
|
211
|
+
z(
|
|
212
212
|
i,
|
|
213
213
|
"click",
|
|
214
214
|
/*sliderScrollLeft*/
|
|
215
215
|
t[11]
|
|
216
216
|
),
|
|
217
|
-
|
|
217
|
+
z(
|
|
218
218
|
l,
|
|
219
219
|
"click",
|
|
220
220
|
/*sliderScrollRight*/
|
|
@@ -224,7 +224,7 @@ function ie(t) {
|
|
|
224
224
|
},
|
|
225
225
|
p: O,
|
|
226
226
|
d(C) {
|
|
227
|
-
C &&
|
|
227
|
+
C && F(e), r = !1, Te(d);
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
}
|
|
@@ -235,18 +235,18 @@ function Ee(t) {
|
|
|
235
235
|
), n;
|
|
236
236
|
return {
|
|
237
237
|
c() {
|
|
238
|
-
e = _("p"), n =
|
|
238
|
+
e = _("p"), n = R(i), y(e, "class", "CategorySlideTitle");
|
|
239
239
|
},
|
|
240
240
|
m(l, r) {
|
|
241
|
-
|
|
241
|
+
x(l, e, r), v(e, n);
|
|
242
242
|
},
|
|
243
243
|
p(l, r) {
|
|
244
244
|
r[0] & /*gameCategories*/
|
|
245
245
|
8 && i !== (i = /*category*/
|
|
246
|
-
l[41].name + "") &&
|
|
246
|
+
l[41].name + "") && q(n, i);
|
|
247
247
|
},
|
|
248
248
|
d(l) {
|
|
249
|
-
l &&
|
|
249
|
+
l && F(e);
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
}
|
|
@@ -254,22 +254,22 @@ function Ie(t) {
|
|
|
254
254
|
let e, i, n;
|
|
255
255
|
return {
|
|
256
256
|
c() {
|
|
257
|
-
e = _("ui-image"), j(e, "imgClass", "CategorySlideLogo"),
|
|
257
|
+
e = _("ui-image"), j(e, "imgClass", "CategorySlideLogo"), A(e.src, i = /*category*/
|
|
258
258
|
t[41].icon) || j(e, "src", i), j(e, "alt", n = /*category*/
|
|
259
259
|
t[41].name + " icon");
|
|
260
260
|
},
|
|
261
261
|
m(l, r) {
|
|
262
|
-
|
|
262
|
+
x(l, e, r);
|
|
263
263
|
},
|
|
264
264
|
p(l, r) {
|
|
265
265
|
r[0] & /*gameCategories*/
|
|
266
|
-
8 && !
|
|
266
|
+
8 && !A(e.src, i = /*category*/
|
|
267
267
|
l[41].icon) && j(e, "src", i), r[0] & /*gameCategories*/
|
|
268
268
|
8 && n !== (n = /*category*/
|
|
269
269
|
l[41].name + " icon") && j(e, "alt", n);
|
|
270
270
|
},
|
|
271
271
|
d(l) {
|
|
272
|
-
l &&
|
|
272
|
+
l && F(e);
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
275
|
}
|
|
@@ -280,21 +280,21 @@ function oe(t) {
|
|
|
280
280
|
), n, l;
|
|
281
281
|
return {
|
|
282
282
|
c() {
|
|
283
|
-
e = _("p"), n =
|
|
283
|
+
e = _("p"), n = R(i), y(e, "title", l = /*game*/
|
|
284
284
|
t[44].name);
|
|
285
285
|
},
|
|
286
286
|
m(r, d) {
|
|
287
|
-
|
|
287
|
+
x(r, e, d), v(e, n);
|
|
288
288
|
},
|
|
289
289
|
p(r, d) {
|
|
290
290
|
d[0] & /*gameCategories*/
|
|
291
291
|
8 && i !== (i = /*game*/
|
|
292
|
-
r[44].name + "") &&
|
|
292
|
+
r[44].name + "") && q(n, i), d[0] & /*gameCategories*/
|
|
293
293
|
8 && l !== (l = /*game*/
|
|
294
294
|
r[44].name) && y(e, "title", l);
|
|
295
295
|
},
|
|
296
296
|
d(r) {
|
|
297
|
-
r &&
|
|
297
|
+
r && F(e);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
}
|
|
@@ -315,23 +315,23 @@ function le(t) {
|
|
|
315
315
|
);
|
|
316
316
|
return {
|
|
317
317
|
c() {
|
|
318
|
-
e = _("div"), i = _("ui-image"), r = T(), s && s.c(), d = T(), j(i, "imgClass", "CategorySlideGameImage"),
|
|
318
|
+
e = _("div"), i = _("ui-image"), r = T(), s && s.c(), d = T(), j(i, "imgClass", "CategorySlideGameImage"), A(i.src, n = /*game*/
|
|
319
319
|
t[44].defaultThumbnail) || j(i, "src", n), j(i, "alt", l = /*game*/
|
|
320
320
|
t[44].name), y(e, "class", "CategorySlideGames");
|
|
321
321
|
},
|
|
322
322
|
m(m, a) {
|
|
323
|
-
|
|
323
|
+
x(m, e, a), v(e, i), v(e, r), s && s.m(e, null), v(e, d), C || (b = z(i, "click", He(S)), C = !0);
|
|
324
324
|
},
|
|
325
325
|
p(m, a) {
|
|
326
326
|
t = m, a[0] & /*gameCategories*/
|
|
327
|
-
8 && !
|
|
327
|
+
8 && !A(i.src, n = /*game*/
|
|
328
328
|
t[44].defaultThumbnail) && j(i, "src", n), a[0] & /*gameCategories*/
|
|
329
329
|
8 && l !== (l = /*game*/
|
|
330
330
|
t[44].name) && j(i, "alt", l), /*collectionprovidersgamenames*/
|
|
331
331
|
t[2] == "true" ? s ? s.p(t, a) : (s = oe(t), s.c(), s.m(e, d)) : s && (s.d(1), s = null);
|
|
332
332
|
},
|
|
333
333
|
d(m) {
|
|
334
|
-
m &&
|
|
334
|
+
m && F(e), s && s.d(), C = !1, b();
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
}
|
|
@@ -349,7 +349,7 @@ function ne(t) {
|
|
|
349
349
|
)
|
|
350
350
|
return Ee;
|
|
351
351
|
}
|
|
352
|
-
let m = s(t), a = m && m(t), c =
|
|
352
|
+
let m = s(t), a = m && m(t), c = H(
|
|
353
353
|
/*category*/
|
|
354
354
|
t[41].games
|
|
355
355
|
), g = [];
|
|
@@ -374,15 +374,15 @@ function ne(t) {
|
|
|
374
374
|
t[41]?.background + ")"), I(i, "background-size", "cover"), y(e, "class", "CategoriesSliderWrapper Animation");
|
|
375
375
|
},
|
|
376
376
|
m(u, h) {
|
|
377
|
-
|
|
377
|
+
x(u, e, h), v(e, i), v(i, n), a && a.m(n, null), v(i, l), v(i, r);
|
|
378
378
|
for (let f = 0; f < g.length; f += 1)
|
|
379
379
|
g[f] && g[f].m(r, null);
|
|
380
|
-
v(e, C), b || (S =
|
|
380
|
+
v(e, C), b || (S = z(i, "click", p), b = !0);
|
|
381
381
|
},
|
|
382
382
|
p(u, h) {
|
|
383
383
|
if (t = u, m === (m = s(t)) && a ? a.p(t, h) : (a && a.d(1), a = m && m(t), a && (a.c(), a.m(n, null))), h[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
384
384
|
8204) {
|
|
385
|
-
c =
|
|
385
|
+
c = H(
|
|
386
386
|
/*category*/
|
|
387
387
|
t[41].games
|
|
388
388
|
);
|
|
@@ -402,7 +402,7 @@ function ne(t) {
|
|
|
402
402
|
t[41]?.background + ")");
|
|
403
403
|
},
|
|
404
404
|
d(u) {
|
|
405
|
-
u &&
|
|
405
|
+
u && F(e), a && a.d(), re(g, u), b = !1, S();
|
|
406
406
|
}
|
|
407
407
|
};
|
|
408
408
|
}
|
|
@@ -411,7 +411,7 @@ function Re(t) {
|
|
|
411
411
|
function i(r, d) {
|
|
412
412
|
return (
|
|
413
413
|
/*isLoading*/
|
|
414
|
-
r[6] ? Ne :
|
|
414
|
+
r[6] ? Ne : Be
|
|
415
415
|
);
|
|
416
416
|
}
|
|
417
417
|
let n = i(t), l = n(t);
|
|
@@ -420,7 +420,7 @@ function Re(t) {
|
|
|
420
420
|
e = _("div"), l.c();
|
|
421
421
|
},
|
|
422
422
|
m(r, d) {
|
|
423
|
-
|
|
423
|
+
x(r, e, d), l.m(e, null), t[26](e);
|
|
424
424
|
},
|
|
425
425
|
p(r, d) {
|
|
426
426
|
n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
|
|
@@ -428,14 +428,14 @@ function Re(t) {
|
|
|
428
428
|
i: O,
|
|
429
429
|
o: O,
|
|
430
430
|
d(r) {
|
|
431
|
-
r &&
|
|
431
|
+
r && F(e), l.d(), t[26](null);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
435
|
function qe(t, e, i) {
|
|
436
436
|
let n;
|
|
437
|
-
|
|
438
|
-
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: b = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, h = 0, f = 0, k = 0, U,
|
|
437
|
+
Pe(t, Oe, (o) => i(10, n = o));
|
|
438
|
+
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: b = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, h = 0, f = 0, k = 0, U, B, V = 0, N = 50, E = !1, G, ae = window.navigator.userAgent, W;
|
|
439
439
|
const se = () => {
|
|
440
440
|
fetch(m).then((w) => w.json()).then((w) => {
|
|
441
441
|
Object.keys(w).forEach((P) => {
|
|
@@ -465,18 +465,18 @@ function qe(t, e, i) {
|
|
|
465
465
|
}, ce = () => {
|
|
466
466
|
const o = G.getRootNode().host;
|
|
467
467
|
o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
|
|
468
|
-
},
|
|
469
|
-
|
|
468
|
+
}, J = (o) => {
|
|
469
|
+
B = [...u.children], B.forEach((w, P) => {
|
|
470
470
|
w.style.transform = `translateX(${100 * (o ? P - o : P)}%)`;
|
|
471
|
-
}), U =
|
|
471
|
+
}), U = B[0]?.getBoundingClientRect().width, de();
|
|
472
472
|
}, de = () => {
|
|
473
473
|
i(8, k = Math.floor(u.clientWidth / U));
|
|
474
|
-
},
|
|
475
|
-
|
|
474
|
+
}, K = () => {
|
|
475
|
+
J(h);
|
|
476
476
|
}, ge = () => {
|
|
477
|
-
h === 0 ? h = f - k : h - k < -1 ? h = 0 : h--,
|
|
477
|
+
h === 0 ? h = f - k : h - k < -1 ? h = 0 : h--, K();
|
|
478
478
|
}, ue = () => {
|
|
479
|
-
h === f - k ? h = 0 : f - k < h + 1 ? h = f - k : h++,
|
|
479
|
+
h === f - k ? h = 0 : f - k < h + 1 ? h = f - k : h++, K();
|
|
480
480
|
}, Z = (o, w, P, L) => {
|
|
481
481
|
window.postMessage(
|
|
482
482
|
{
|
|
@@ -500,9 +500,9 @@ function qe(t, e, i) {
|
|
|
500
500
|
window.location.href
|
|
501
501
|
);
|
|
502
502
|
}, me = () => {
|
|
503
|
-
|
|
503
|
+
ze(d);
|
|
504
504
|
};
|
|
505
|
-
|
|
505
|
+
Le(() => (i(9, W = je(ae)), () => {
|
|
506
506
|
}));
|
|
507
507
|
const fe = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), pe = (o) => X(o.id);
|
|
508
508
|
function he(o) {
|
|
@@ -520,11 +520,11 @@ function qe(t, e, i) {
|
|
|
520
520
|
}, t.$$.update = () => {
|
|
521
521
|
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
522
522
|
229376 && l && r && d && D(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
|
523
|
-
24 && g && u &&
|
|
523
|
+
24 && g && u && J(), t.$$.dirty[0] & /*lang*/
|
|
524
524
|
131072 && d && me(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
525
525
|
262176 && S && G && xe(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
526
|
-
524320 && s && G &&
|
|
527
|
-
2097184 && G &&
|
|
526
|
+
524320 && s && G && Me(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
527
|
+
2097184 && G && Fe(G, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
528
528
|
1048576 && m && se(), t.$$.dirty[0] & /*paginationrequired*/
|
|
529
529
|
4194304 && E && D();
|
|
530
530
|
}, [
|
|
@@ -564,7 +564,7 @@ class Ue extends ye {
|
|
|
564
564
|
e,
|
|
565
565
|
qe,
|
|
566
566
|
Re,
|
|
567
|
-
|
|
567
|
+
ke,
|
|
568
568
|
{
|
|
569
569
|
endpoint: 15,
|
|
570
570
|
datasource: 16,
|
|
@@ -577,7 +577,7 @@ class Ue extends ye {
|
|
|
577
577
|
collectionprovidersgamenames: 2,
|
|
578
578
|
mbsource: 21
|
|
579
579
|
},
|
|
580
|
-
|
|
580
|
+
Ae,
|
|
581
581
|
[-1, -1]
|
|
582
582
|
);
|
|
583
583
|
}
|
|
@@ -642,7 +642,7 @@ class Ue extends ye {
|
|
|
642
642
|
this.$$set({ mbsource: e }), M();
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
|
-
|
|
645
|
+
Se(Ue, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
646
646
|
export {
|
|
647
647
|
Ue as default
|
|
648
648
|
};
|