@everymatrix/casino-lobby 1.59.3 → 1.60.1
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-CI-C6zUY.js → CasinoCalendar-6ncpIgng.js} +718 -696
- package/components/CasinoCalendar-CkNAiTx8.cjs +22 -0
- package/components/{CasinoCalendar-BYTytQgJ.js → CasinoCalendar-Km8tdNHN.js} +712 -690
- package/components/{CasinoCalendarDailyDetails-Xi-Uo8v-.js → CasinoCalendarDailyDetails-CAbwFBvZ.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DQB9Y3_Q.js → CasinoCalendarDailyDetails-CGaAU2gc.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DUQWFLJJ.cjs → CasinoCalendarDailyDetails-CsEZhtVE.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DC91__VM.js → CasinoCalendarDailyItem-5aqnKIMr.js} +41 -41
- package/components/{CasinoCalendarDailyItem-CVt2FFo1.cjs → CasinoCalendarDailyItem-DSlC0F3s.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CjRZKnnD.js → CasinoCalendarDailyItem-D_MTrKed.js} +41 -41
- package/components/{CasinoCategoriesSlider-Cvb-krxJ.js → CasinoCategoriesSlider-DRIsr69C.js} +65 -65
- package/components/{CasinoCategoriesSlider-BeqGvJrA.js → CasinoCategoriesSlider-DYab11Z3.js} +66 -66
- package/components/CasinoCategoriesSlider-_X531XfJ.cjs +1 -0
- package/components/{CasinoCollectionsProviders-FGrPURo4.cjs → CasinoCollectionsProviders-B6occ8TF.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-BMyAx20Y.js → CasinoCollectionsProviders-B7d5LuGP.js} +73 -73
- package/components/{CasinoCollectionsProviders-B_4F6cIK.js → CasinoCollectionsProviders-pk8jpLQt.js} +71 -71
- package/components/{CasinoFavoritesSection-CBb3Eo8J.cjs → CasinoFavoritesSection-51a03OgV.cjs} +1 -1
- package/components/{CasinoFavoritesSection-Dmko0_Ik.js → CasinoFavoritesSection-a8e9F8Ga.js} +26 -26
- package/components/{CasinoFavoritesSection-BZmf5I3g.js → CasinoFavoritesSection-uCNlSq84.js} +26 -26
- package/components/{CasinoFilter-Dt8GhenI.js → CasinoFilter-BTof425X.js} +247 -246
- package/components/{CasinoFilter-BHLJqOwW.js → CasinoFilter-BWjq7W1e.js} +234 -235
- package/components/CasinoFilter-C2Q93qQz.cjs +1 -0
- package/components/{CasinoGamePage-D_TzJsC-.js → CasinoGamePage-Cp2CKRka.js} +742 -742
- package/components/{CasinoGamePage-BmgERtPr.cjs → CasinoGamePage-D2huRBJX.cjs} +6 -6
- package/components/{CasinoGamePage-5moXxd0d.js → CasinoGamePage-ssKF-ZD1.js} +741 -741
- package/components/{CasinoGameThumbnail-DSjNVacg.js → CasinoGameThumbnail-CrrXNmw1.js} +542 -510
- package/components/CasinoGameThumbnail-Dq26TPSU.cjs +38 -0
- package/components/{CasinoGameThumbnail-DqBpfUwf.js → CasinoGameThumbnail-GBvTkmL8.js} +476 -476
- package/components/{CasinoGamesCategorySection-Ce43OSOZ.js → CasinoGamesCategorySection-BGemjnwH.js} +247 -247
- package/components/{CasinoGamesCategorySection-d8QOFywW.js → CasinoGamesCategorySection-CHynVnZ8.js} +247 -247
- package/components/CasinoGamesCategorySection-CYKXSIYS.cjs +1 -0
- package/components/{CasinoJackpotBanner-Dxq2Y_-S.js → CasinoJackpotBanner-CuP8WP5Q.js} +74 -74
- package/components/{CasinoJackpotBanner-UQaC63Zv.js → CasinoJackpotBanner-Dl2rX6vI.js} +69 -69
- package/components/{CasinoJackpotBanner-B_CnR3Kj.cjs → CasinoJackpotBanner-DredUN6K.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CyL83M3y.cjs → CasinoLastPlayedSection-B64b2eJF.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BVANPPTi.js → CasinoLastPlayedSection-BGk4k--h.js} +43 -43
- package/components/{CasinoLastPlayedSection-Bmr8n1pA.js → CasinoLastPlayedSection-CyKppEbZ.js} +43 -43
- package/components/{CasinoLobby-DUI1Ki3q.js → CasinoLobby-CN5AmC5K.js} +47 -47
- package/components/{CasinoLobby-os94WdnE.cjs → CasinoLobby-DddN7Gev.cjs} +1 -1
- package/components/{CasinoLobby-CWzN0imw.js → CasinoLobby-PcRgXAeR.js} +45 -45
- package/components/{CasinoModal-BaV1FE12.js → CasinoModal-B9Gmdwc0.js} +41 -41
- package/components/{CasinoModal-Bn6r73ff.js → CasinoModal-DLgyWFbs.js} +41 -41
- package/components/{CasinoModal-DWbCqr0p.cjs → CasinoModal-d1VUXUWj.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-B4SHGVp4.js → CasinoMostPlayedSection-C-D6CJKY.js} +50 -50
- package/components/{CasinoMostPlayedSection-y-GWnOes.cjs → CasinoMostPlayedSection-QIdWMIjm.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CD00UC6r.js → CasinoMostPlayedSection-qIiZdQQG.js} +50 -50
- package/components/{CasinoMyGames-BBsq56wQ.js → CasinoMyGames-DjXz5K51.js} +50 -50
- package/components/{CasinoMyGames-DKu8rYmc.cjs → CasinoMyGames-Dy1sj15h.cjs} +1 -1
- package/components/{CasinoMyGames-DRCL87dq.js → CasinoMyGames-Wpdq0oL6.js} +53 -53
- package/components/{CasinoPage-BJ2hLXJb.js → CasinoPage-D1fSPDEj.js} +93 -93
- package/components/{CasinoPage-DXP80Vgm.js → CasinoPage-DMCyJTE2.js} +85 -85
- package/components/{CasinoPage-CXAKd3oS.cjs → CasinoPage-DhSkte5y.cjs} +1 -1
- package/components/{CasinoRandomGame-BO7BqLXA.cjs → CasinoRandomGame-CBcSHzZL.cjs} +1 -1
- package/components/{CasinoRandomGame-CsA5xgwc.js → CasinoRandomGame-CfOiAKHl.js} +63 -63
- package/components/{CasinoRandomGame-DLzqJj4x.js → CasinoRandomGame-CqripZYr.js} +64 -64
- package/components/{CasinoSearch-CzUqsTgU.js → CasinoSearch-BgD0xvTa.js} +105 -104
- package/components/CasinoSearch-CRhnd9Yq.cjs +1 -0
- package/components/{CasinoSearch-atJ6AGYa.js → CasinoSearch-DOguc7Dt.js} +105 -104
- package/components/CasinoSlider---x4M_hm.js +803 -0
- package/components/CasinoSlider-BsszznrS.cjs +1 -0
- package/components/{CasinoSlider-DjqwMakd.js → CasinoSlider-PeKujgAE.js} +114 -114
- package/components/{CasinoSort-DtUIrmuZ.js → CasinoSort-BRC8Jmi_.js} +103 -104
- package/components/{CasinoSort-23PYwtO1.cjs → CasinoSort-C78a6veQ.cjs} +1 -1
- package/components/{CasinoSort-B3A_Ar_A.js → CasinoSort-xZsxfLYC.js} +111 -110
- package/components/{CasinoWinners-Gb2w2dXe.js → CasinoWinners-BEOhs5WG.js} +179 -179
- package/components/{CasinoWinners-KEY7dD3z.cjs → CasinoWinners-Cp1yMlzb.cjs} +1 -1
- package/components/{CasinoWinners-CF_PptIS.js → CasinoWinners-DD8ZyQkV.js} +162 -162
- package/components/{GeneralAnimationLoading-B-6s0l9d.cjs → GeneralAnimationLoading-Bl6_sP-d.cjs} +1 -1
- package/components/{GeneralAnimationLoading-8TvNjXay.js → GeneralAnimationLoading-CURVDkRT.js} +16 -16
- package/components/{GeneralAnimationLoading-Bbxdne1m.js → GeneralAnimationLoading-uswxvfCW.js} +16 -16
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BW66Civ1.js} +2 -2
- package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-Bk7toWLj.js} +2 -2
- package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-CKM_xKne.cjs} +2 -2
- package/stencil/index-ab3202d6-BW1TSmQg.js +575 -0
- package/stencil/index-ab3202d6-C6VFhXtX.cjs +1 -0
- package/stencil/index-ab3202d6-CkTejM5U.js +559 -0
- package/stencil/index-b2193545-BDVBrmNo.js +503 -0
- package/stencil/index-b2193545-CY979_sp.js +519 -0
- package/stencil/index-b2193545-DPplmtxO.cjs +1 -0
- package/stencil/{ui-skeleton-Bz6cw7xJ.js → ui-skeleton-BpUWeWAr.js} +6 -6
- package/stencil/ui-skeleton-D2GYc4Vd.cjs +1 -0
- package/stencil/ui-skeleton-ea659b95-CaDtZrvR.js +152 -0
- package/stencil/ui-skeleton-ea659b95-CvOjl779.cjs +73 -0
- package/stencil/ui-skeleton-ea659b95-DmKUoob8.js +152 -0
- package/stencil/{ui-skeleton-DDYD_XHU.js → ui-skeleton-sAoxznwb.js} +12 -12
- package/components/CasinoCalendar-DqS7aKva.cjs +0 -22
- package/components/CasinoCategoriesSlider-DZpvR9sw.cjs +0 -1
- package/components/CasinoFilter-Bg-VilMd.cjs +0 -1
- package/components/CasinoGameThumbnail-OrvrYv4V.cjs +0 -38
- package/components/CasinoGamesCategorySection-DEh7yuGp.cjs +0 -1
- package/components/CasinoSearch-CxFbGTdy.cjs +0 -1
- package/components/CasinoSlider-CgiDJzPs.cjs +0 -1
- package/components/CasinoSlider-zHVThApL.js +0 -803
- package/stencil/index-ab3202d6-C1hgKWrC.cjs +0 -1
- package/stencil/index-ab3202d6-OPh7hJp9.js +0 -575
- package/stencil/index-ab3202d6-hGs51skN.js +0 -559
- package/stencil/index-ae04a8b1-BhaHMrLE.js +0 -516
- package/stencil/index-ae04a8b1-Dn3cponN.js +0 -532
- package/stencil/index-ae04a8b1-jEvGbYrB.cjs +0 -1
- package/stencil/ui-skeleton-D9k-xWaS.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-Bg6oYmhk.js +0 -122
- package/stencil/ui-skeleton-a642cced-CVw8zpGJ.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-MvzXi5-c.js +0 -122
package/components/{CasinoCalendarDailyItem-CVt2FFo1.cjs → CasinoCalendarDailyItem-DSlC0F3s.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DqS7aKva.cjs");function z(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-15mlcfp",'*,*::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 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,_,v,x,S,k,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("img"),m=e.space(),c=e.element("div"),h=e.text(y),f=e.space(),o=e.element("div"),_=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.attr(s,"src",p),e.attr(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",k="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,_),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.attr(s,"src",p),t&2&&e.attr(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&&k!==(k="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",k),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,_=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{z(t,E[t])});const S=()=>{let t=h;if(t)return fetch(t).then(F=>F.json()).then(F=>{Object.keys(F).forEach(M=>{z(M,F[M])})}).catch(F=>{console.log(F)})},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,_=!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&&k(),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,_,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-CkNAiTx8.cjs");function z(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-15mlcfp",'*,*::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 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,_,v,x,S,k,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("img"),m=e.space(),c=e.element("div"),h=e.text(y),f=e.space(),o=e.element("div"),_=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.attr(s,"src",p),e.attr(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",k="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,_),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.attr(s,"src",p),t&2&&e.attr(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&&k!==(k="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",k),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,_=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{z(t,E[t])});const S=()=>{let t=h;if(t)return fetch(t).then(F=>F.json()).then(F=>{Object.keys(F).forEach(M=>{z(M,F[M])})}).catch(F=>{console.log(F)})},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,_=!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&&k(),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,_,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-CjRZKnnD.js → CasinoCalendarDailyItem-D_MTrKed.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as H, $ as N, S as U, i as G, f as y, c as V, s as J, b as K, e as u, w as B, x as D, y as o, H as R, L as F, d as Q, z as r, A as X, E as A, G as O, j as Y, k as Z, o as $, l as ee, m as te, p as ae, q as W, r as ie, I as ne } from "./CasinoCalendar-6ncpIgng.js";
|
|
2
2
|
function P(a, t) {
|
|
3
|
-
|
|
3
|
+
H(a, t);
|
|
4
4
|
}
|
|
5
5
|
function re(a) {
|
|
6
|
-
|
|
6
|
+
N.set(a);
|
|
7
7
|
}
|
|
8
8
|
const q = {
|
|
9
9
|
en: {
|
|
@@ -77,19 +77,19 @@ function oe(a) {
|
|
|
77
77
|
K(a, "svelte-15mlcfp", '*,*::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 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}');
|
|
78
78
|
}
|
|
79
79
|
function de(a) {
|
|
80
|
-
let t, n, w, s,
|
|
80
|
+
let t, n, w, s, h, S, i, g, c, x, C, b, f = (
|
|
81
81
|
/*$_*/
|
|
82
82
|
a[8](`${/*dailyday*/
|
|
83
83
|
a[2]}`) + ""
|
|
84
|
-
), p, m, d, T, I, v,
|
|
84
|
+
), p, m, d, T, I, v, E, _, k, M, L;
|
|
85
85
|
return {
|
|
86
86
|
c() {
|
|
87
|
-
t =
|
|
87
|
+
t = u("div"), n = u("div"), w = u("div"), s = u("div"), h = u("div"), h.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', S = B(), i = u("div"), g = u("div"), c = u("img"), C = B(), b = u("div"), p = D(f), m = B(), d = u("div"), T = B(), I = u("div"), v = u("button"), E = D(
|
|
88
88
|
/*dailybuttontitle*/
|
|
89
89
|
a[3]
|
|
90
|
-
), o(
|
|
91
|
-
a[1]) || o(
|
|
92
|
-
|
|
90
|
+
), o(h, "class", "CalendarBar"), R(c.src, x = /*dailyicon*/
|
|
91
|
+
a[1]) || o(c, "src", x), o(
|
|
92
|
+
c,
|
|
93
93
|
"alt",
|
|
94
94
|
/*dailyicon*/
|
|
95
95
|
a[1]
|
|
@@ -99,28 +99,28 @@ function de(a) {
|
|
|
99
99
|
(a[7] ? "Mobile" : ""));
|
|
100
100
|
},
|
|
101
101
|
m(l, e) {
|
|
102
|
-
Q(l, t, e), r(t, n), r(n, w), r(w, s), r(s,
|
|
102
|
+
Q(l, t, e), r(t, n), r(n, w), r(w, s), r(s, h), r(s, S), r(s, i), r(i, g), r(g, c), r(i, C), r(i, b), r(b, p), r(i, m), r(i, d), a[16](d), r(i, T), r(i, I), r(I, v), r(v, E), a[18](t), M || (L = X(
|
|
103
103
|
v,
|
|
104
104
|
"click",
|
|
105
105
|
/*click_handler*/
|
|
106
106
|
a[17]
|
|
107
|
-
),
|
|
107
|
+
), M = !0);
|
|
108
108
|
},
|
|
109
109
|
p(l, [e]) {
|
|
110
110
|
e & /*dailyicon*/
|
|
111
|
-
2 && !R(
|
|
112
|
-
l[1]) && o(
|
|
111
|
+
2 && !R(c.src, x = /*dailyicon*/
|
|
112
|
+
l[1]) && o(c, "src", x), e & /*dailyicon*/
|
|
113
113
|
2 && o(
|
|
114
|
-
|
|
114
|
+
c,
|
|
115
115
|
"alt",
|
|
116
116
|
/*dailyicon*/
|
|
117
117
|
l[1]
|
|
118
118
|
), e & /*$_, dailyday*/
|
|
119
|
-
260 &&
|
|
119
|
+
260 && f !== (f = /*$_*/
|
|
120
120
|
l[8](`${/*dailyday*/
|
|
121
|
-
l[2]}`) + "") && A(p,
|
|
121
|
+
l[2]}`) + "") && A(p, f), e & /*dailybuttontitle*/
|
|
122
122
|
8 && A(
|
|
123
|
-
|
|
123
|
+
E,
|
|
124
124
|
/*dailybuttontitle*/
|
|
125
125
|
l[3]
|
|
126
126
|
), e & /*index*/
|
|
@@ -131,32 +131,32 @@ function de(a) {
|
|
|
131
131
|
128 && k !== (k = "Container " + /*mobileView*/
|
|
132
132
|
(l[7] ? "Mobile" : "")) && o(n, "class", k);
|
|
133
133
|
},
|
|
134
|
-
i:
|
|
135
|
-
o:
|
|
134
|
+
i: O,
|
|
135
|
+
o: O,
|
|
136
136
|
d(l) {
|
|
137
|
-
l &&
|
|
137
|
+
l && Y(t), a[16](null), a[18](null), M = !1, L();
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
141
|
function le(a, t, n) {
|
|
142
142
|
let w;
|
|
143
|
-
|
|
144
|
-
let { lang: s = "" } = t, { dailybackground:
|
|
143
|
+
Z(a, ne, (e) => n(8, w = e));
|
|
144
|
+
let { lang: s = "" } = t, { dailybackground: h = "" } = t, { dailyicon: S = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: c = "" } = t, { index: x = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, m, d, T = !1, I = window.navigator.userAgent;
|
|
145
145
|
const v = () => {
|
|
146
146
|
re(s);
|
|
147
147
|
};
|
|
148
148
|
Object.keys(q).forEach((e) => {
|
|
149
149
|
P(e, q[e]);
|
|
150
150
|
});
|
|
151
|
-
const
|
|
151
|
+
const E = () => {
|
|
152
152
|
let e = p;
|
|
153
153
|
if (e)
|
|
154
|
-
return fetch(e).then((
|
|
155
|
-
Object.keys(
|
|
156
|
-
P(
|
|
154
|
+
return fetch(e).then((z) => z.json()).then((z) => {
|
|
155
|
+
Object.keys(z).forEach((j) => {
|
|
156
|
+
P(j, z[j]);
|
|
157
157
|
});
|
|
158
|
-
}).catch((
|
|
159
|
-
console.log(
|
|
158
|
+
}).catch((z) => {
|
|
159
|
+
console.log(z);
|
|
160
160
|
});
|
|
161
161
|
}, _ = () => {
|
|
162
162
|
let e = document.createElement("div");
|
|
@@ -164,9 +164,9 @@ function le(a, t, n) {
|
|
|
164
164
|
}, k = () => {
|
|
165
165
|
window.postMessage({ type: "OpenCalendar", index: x }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
166
166
|
};
|
|
167
|
-
|
|
167
|
+
$(() => (ae(I) && n(7, T = !0), () => {
|
|
168
168
|
}));
|
|
169
|
-
function
|
|
169
|
+
function M(e) {
|
|
170
170
|
W[e ? "unshift" : "push"](() => {
|
|
171
171
|
m = e, n(6, m);
|
|
172
172
|
});
|
|
@@ -178,20 +178,20 @@ function le(a, t, n) {
|
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
return a.$$set = (e) => {
|
|
181
|
-
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0,
|
|
181
|
+
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, h = e.dailybackground), "dailyicon" in e && n(1, S = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, c = e.dailybuttontitle), "index" in e && n(4, x = e.index), "mbsource" in e && n(12, C = e.mbsource), "clientstyling" in e && n(13, b = e.clientstyling), "clientstylingurl" in e && n(14, f = e.clientstylingurl), "translationurl" in e && n(15, p = e.translationurl);
|
|
182
182
|
}, a.$$.update = () => {
|
|
183
183
|
a.$$.dirty & /*lang*/
|
|
184
184
|
1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
|
|
185
|
-
33792 && s && p &&
|
|
186
|
-
2063 && S && i && g &&
|
|
187
|
-
8224 && b && d &&
|
|
188
|
-
16416 &&
|
|
189
|
-
4128 && C && d &&
|
|
185
|
+
33792 && s && p && E(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
186
|
+
2063 && S && i && g && c && h && _(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
187
|
+
8224 && b && d && ie(d, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
188
|
+
16416 && f && d && ee(d, f), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
189
|
+
4128 && C && d && te(d, `${C}.Style`);
|
|
190
190
|
}, [
|
|
191
|
-
|
|
191
|
+
h,
|
|
192
192
|
S,
|
|
193
193
|
i,
|
|
194
|
-
|
|
194
|
+
c,
|
|
195
195
|
x,
|
|
196
196
|
d,
|
|
197
197
|
m,
|
|
@@ -202,9 +202,9 @@ function le(a, t, n) {
|
|
|
202
202
|
g,
|
|
203
203
|
C,
|
|
204
204
|
b,
|
|
205
|
-
|
|
205
|
+
f,
|
|
206
206
|
p,
|
|
207
|
-
|
|
207
|
+
M,
|
|
208
208
|
L,
|
|
209
209
|
l
|
|
210
210
|
];
|
|
@@ -300,7 +300,7 @@ class se extends U {
|
|
|
300
300
|
this.$$set({ translationurl: t }), y();
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
|
-
|
|
303
|
+
V(se, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
304
304
|
export {
|
|
305
305
|
se as default
|
|
306
306
|
};
|
package/components/{CasinoCategoriesSlider-Cvb-krxJ.js → CasinoCategoriesSlider-DRIsr69C.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as E, G as S, j, k as fe, o as be, l as de, N as he, O as Ne, q as we, r as Le, m as Me, P as n, y as T, z as _e, Q as ve, I as Ce } from "./CasinoCalendar-Km8tdNHN.js";
|
|
2
|
+
function x(i, e) {
|
|
3
|
+
le(i, e);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const p = {
|
|
6
6
|
en: {
|
|
7
7
|
lobbyName: "Lobby",
|
|
8
8
|
myGamesName: "My games"
|
|
@@ -88,14 +88,14 @@ if (typeof window < "u") {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-PeKujgAE.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
function Ce(i) {
|
|
96
|
-
ue(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
|
97
|
-
}
|
|
98
95
|
function Ge(i) {
|
|
96
|
+
ye(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
|
97
|
+
}
|
|
98
|
+
function ke(i) {
|
|
99
99
|
let e, t, r, c;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
@@ -172,7 +172,7 @@ function Ge(i) {
|
|
|
172
172
|
), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
|
|
173
173
|
},
|
|
174
174
|
m(a, o) {
|
|
175
|
-
|
|
175
|
+
E(a, e, o), _e(e, t), r || (c = ve(
|
|
176
176
|
/*sendSliderData*/
|
|
177
177
|
i[17].call(null, t)
|
|
178
178
|
), r = !0);
|
|
@@ -265,48 +265,48 @@ function Ge(i) {
|
|
|
265
265
|
);
|
|
266
266
|
},
|
|
267
267
|
d(a) {
|
|
268
|
-
a &&
|
|
268
|
+
a && j(e), r = !1, c();
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Se(i) {
|
|
273
273
|
let e;
|
|
274
274
|
return {
|
|
275
275
|
c() {
|
|
276
276
|
e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
|
|
277
277
|
},
|
|
278
278
|
m(t, r) {
|
|
279
|
-
|
|
279
|
+
E(t, e, r);
|
|
280
280
|
},
|
|
281
281
|
p: S,
|
|
282
282
|
d(t) {
|
|
283
|
-
t &&
|
|
283
|
+
t && j(e);
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Ee(i) {
|
|
288
288
|
let e;
|
|
289
289
|
return {
|
|
290
290
|
c() {
|
|
291
291
|
e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
|
|
292
292
|
},
|
|
293
293
|
m(t, r) {
|
|
294
|
-
|
|
294
|
+
E(t, e, r);
|
|
295
295
|
},
|
|
296
296
|
p: S,
|
|
297
297
|
d(t) {
|
|
298
|
-
t &&
|
|
298
|
+
t && j(e);
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function je(i) {
|
|
303
303
|
let e;
|
|
304
304
|
function t(a, o) {
|
|
305
305
|
return (
|
|
306
306
|
/*isLoading*/
|
|
307
|
-
a[13] ||
|
|
307
|
+
a[13] || Pe || Fe ? Ee : (
|
|
308
308
|
/*hasErrors*/
|
|
309
|
-
a[15] ?
|
|
309
|
+
a[15] ? Se : ke
|
|
310
310
|
)
|
|
311
311
|
);
|
|
312
312
|
}
|
|
@@ -316,7 +316,7 @@ function Ee(i) {
|
|
|
316
316
|
e = h("div"), c.c();
|
|
317
317
|
},
|
|
318
318
|
m(a, o) {
|
|
319
|
-
|
|
319
|
+
E(a, e, o), c.m(e, null), i[27](e);
|
|
320
320
|
},
|
|
321
321
|
p(a, o) {
|
|
322
322
|
r === (r = t(a)) && c ? c.p(a, o) : (c.d(1), c = r(a), c && (c.c(), c.m(e, null)));
|
|
@@ -324,48 +324,48 @@ function Ee(i) {
|
|
|
324
324
|
i: S,
|
|
325
325
|
o: S,
|
|
326
326
|
d(a) {
|
|
327
|
-
a &&
|
|
327
|
+
a && j(e), c.d(), i[27](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
let O = "CasinoSliderData",
|
|
332
|
-
function
|
|
331
|
+
let O = "CasinoSliderData", Pe = !1, Fe = !1;
|
|
332
|
+
function Ae(i, e, t) {
|
|
333
333
|
let r;
|
|
334
|
-
|
|
335
|
-
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups:
|
|
336
|
-
const
|
|
334
|
+
fe(i, Ce, (s) => t(33, r = s));
|
|
335
|
+
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: q = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: z = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, Q, J, K, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, F = !1;
|
|
336
|
+
const ee = () => {
|
|
337
337
|
fetch(G).then((m) => m.json()).then((m) => {
|
|
338
338
|
Object.keys(m).forEach((k) => {
|
|
339
|
-
|
|
339
|
+
x(k, m[k]);
|
|
340
340
|
});
|
|
341
341
|
}).catch((m) => {
|
|
342
342
|
console.log(m);
|
|
343
343
|
});
|
|
344
344
|
};
|
|
345
|
-
Object.keys(
|
|
346
|
-
|
|
345
|
+
Object.keys(p).forEach((s) => {
|
|
346
|
+
x(s, p[s]);
|
|
347
347
|
});
|
|
348
|
-
const
|
|
349
|
-
|
|
348
|
+
const te = () => {
|
|
349
|
+
W == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
|
|
350
350
|
// @ts-ignore
|
|
351
351
|
id: "MYGAMES",
|
|
352
352
|
name: J,
|
|
353
353
|
href: "",
|
|
354
354
|
games: []
|
|
355
|
-
}),
|
|
356
|
-
},
|
|
357
|
-
if (J = r("myGamesName"), K = r("lobbyName"), !
|
|
355
|
+
}), he(), W = !0, t(26, F = !0), A();
|
|
356
|
+
}, se = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
|
|
357
|
+
if (J = r("myGamesName"), K = r("lobbyName"), !se()) {
|
|
358
358
|
let s = new URL(`${c}/v1/casino/groups/${a}`);
|
|
359
|
-
s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform",
|
|
359
|
+
s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", Ne($)), fetch(s).then((m) => m.json()).then(
|
|
360
360
|
(m) => {
|
|
361
|
-
let k = C.split(","),
|
|
361
|
+
let k = C.split(","), oe = m.items.filter((Z) => {
|
|
362
362
|
let D = !1;
|
|
363
|
-
if (
|
|
364
|
-
for (let
|
|
365
|
-
|
|
363
|
+
if (Z.games.total > 0 && (D = !0, C))
|
|
364
|
+
for (let re of k)
|
|
365
|
+
Z.flags == re && (D = !1);
|
|
366
366
|
return D;
|
|
367
367
|
});
|
|
368
|
-
d = [], d = d.concat(
|
|
368
|
+
d = [], d = d.concat(oe), d.unshift({
|
|
369
369
|
// @ts-ignore
|
|
370
370
|
id: "LOBBY",
|
|
371
371
|
name: K,
|
|
@@ -380,7 +380,7 @@ function Fe(i, e, t) {
|
|
|
380
380
|
t(15, f = !0), console.error("There was an error while fetching the categories", m);
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
},
|
|
383
|
+
}, ae = () => {
|
|
384
384
|
let s = u.split("$");
|
|
385
385
|
t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
|
|
386
386
|
}, A = () => {
|
|
@@ -392,29 +392,29 @@ function Fe(i, e, t) {
|
|
|
392
392
|
},
|
|
393
393
|
window.location.href
|
|
394
394
|
);
|
|
395
|
-
},
|
|
395
|
+
}, X = (s) => {
|
|
396
396
|
s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
|
|
397
397
|
};
|
|
398
|
-
|
|
399
|
-
window.removeEventListener("message",
|
|
398
|
+
be(() => (window.addEventListener("message", X, !1), () => {
|
|
399
|
+
window.emMessageBus && Q && Q.unsubscribe(), window.removeEventListener("message", X);
|
|
400
400
|
}));
|
|
401
|
-
function
|
|
402
|
-
|
|
401
|
+
function ne(s) {
|
|
402
|
+
we[s ? "unshift" : "push"](() => {
|
|
403
403
|
g = s, t(14, g);
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
return i.$$set = (s) => {
|
|
407
|
-
"endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8,
|
|
407
|
+
"endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, q = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, z = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
|
|
408
408
|
}, i.$$.update = () => {
|
|
409
409
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
410
|
-
14 && c && a && o &&
|
|
411
|
-
7872514 && c && N && (w || L || M) && !y &&
|
|
412
|
-
67641345 && !y && u && (!N || F) &&
|
|
413
|
-
33554432 && G &&
|
|
410
|
+
14 && c && a && o && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
411
|
+
7872514 && c && N && (w || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
412
|
+
67641345 && !y && u && (!N || F) && ae(), i.$$.dirty[0] & /*translationurl*/
|
|
413
|
+
33554432 && G && ee(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
414
414
|
16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
415
|
-
16416 && v && g &&
|
|
416
|
-
20480 && g &&
|
|
417
|
-
}, t(16,
|
|
415
|
+
16416 && v && g && de(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
416
|
+
20480 && g && Me(g, `${P}.Style`);
|
|
417
|
+
}, t(16, V = 0), [
|
|
418
418
|
u,
|
|
419
419
|
c,
|
|
420
420
|
a,
|
|
@@ -423,15 +423,15 @@ function Fe(i, e, t) {
|
|
|
423
423
|
v,
|
|
424
424
|
R,
|
|
425
425
|
B,
|
|
426
|
-
Y,
|
|
427
426
|
q,
|
|
428
427
|
z,
|
|
428
|
+
Y,
|
|
429
429
|
H,
|
|
430
430
|
P,
|
|
431
431
|
y,
|
|
432
432
|
g,
|
|
433
433
|
f,
|
|
434
|
-
|
|
434
|
+
V,
|
|
435
435
|
A,
|
|
436
436
|
I,
|
|
437
437
|
N,
|
|
@@ -442,17 +442,17 @@ function Fe(i, e, t) {
|
|
|
442
442
|
C,
|
|
443
443
|
G,
|
|
444
444
|
F,
|
|
445
|
-
|
|
445
|
+
ne
|
|
446
446
|
];
|
|
447
447
|
}
|
|
448
|
-
class
|
|
448
|
+
class De extends ce {
|
|
449
449
|
constructor(e) {
|
|
450
|
-
super(),
|
|
450
|
+
super(), me(
|
|
451
451
|
this,
|
|
452
452
|
e,
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
453
|
+
Ae,
|
|
454
|
+
je,
|
|
455
|
+
ue,
|
|
456
456
|
{
|
|
457
457
|
endpoint: 1,
|
|
458
458
|
datasource: 2,
|
|
@@ -476,7 +476,7 @@ class Ae extends le {
|
|
|
476
476
|
mygamesiconimage: 11,
|
|
477
477
|
mbsource: 12
|
|
478
478
|
},
|
|
479
|
-
|
|
479
|
+
Ge,
|
|
480
480
|
[-1, -1]
|
|
481
481
|
);
|
|
482
482
|
}
|
|
@@ -607,7 +607,7 @@ class Ae extends le {
|
|
|
607
607
|
this.$$set({ mbsource: e }), l();
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
|
-
ge(
|
|
610
|
+
ge(De, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
611
611
|
export {
|
|
612
|
-
|
|
612
|
+
De as default
|
|
613
613
|
};
|