@everymatrix/casino-page-nd 1.49.1 → 1.50.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-DEwT2wxN.cjs → CasinoCalendar-CAqQpf-Q.cjs} +4 -4
- package/components/{CasinoCalendar-CxDSN6iE.js → CasinoCalendar-DMab5OJz.js} +117 -117
- package/components/CasinoCalendarDailyDetails-Ct8zi4i4.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-D1_fuwa2.js → CasinoCalendarDailyDetails-CtTEpBSz.js} +61 -61
- package/components/CasinoCalendarDailyItem-DDXlMf5h.js +220 -0
- package/components/CasinoCalendarDailyItem-Di_L_2bU.cjs +1 -0
- package/components/CasinoCollectionsProviders-BHpMgnRz.cjs +1 -0
- package/components/{CasinoCollectionsProviders-CUGjAo0-.js → CasinoCollectionsProviders-CmxWr9Dt.js} +2 -2
- package/components/CasinoFavoritesSectionNd-BHh5UtBr.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-Dx76I4VC.js → CasinoFavoritesSectionNd-CSKkoKEu.js} +164 -143
- package/components/CasinoFilter-Btwn2JTB.cjs +1 -0
- package/components/{CasinoFilter-c1Tc2ewA.js → CasinoFilter-C9uJsymr.js} +39 -39
- package/components/{CasinoGameThumbnailNd-BJSaX82j.js → CasinoGameThumbnailNd-BhfKxZdB.js} +4 -4
- package/components/{CasinoGameThumbnailNd-Ddtm0W_J.cjs → CasinoGameThumbnailNd-DrQIJeaL.cjs} +2 -2
- package/components/{CasinoGamesCategorySectionNd-CrTjB4UI.cjs → CasinoGamesCategorySectionNd-DcYm28aX.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-legfImJS.js → CasinoGamesCategorySectionNd-OAgLD6Uz.js} +475 -465
- package/components/CasinoJackpotBanner-BT_YCYs6.cjs +1 -0
- package/components/{CasinoJackpotBanner-Dnpx3OoA.js → CasinoJackpotBanner-CbbVkl2h.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-CKc31HQQ.js → CasinoLastPlayedSectionNd-B6HDGZsV.js} +3 -3
- package/components/CasinoLastPlayedSectionNd-D3hUPYsf.cjs +1 -0
- package/components/{CasinoMostPlayedSectionNd-D34es3BK.js → CasinoMostPlayedSectionNd-DKa2mUmE.js} +17 -17
- package/components/CasinoMostPlayedSectionNd-DLPZQoKf.cjs +1 -0
- package/components/{CasinoMyGamesNd-CrsyDasd.js → CasinoMyGamesNd-CNmnkygJ.js} +41 -41
- package/components/CasinoMyGamesNd-NTUXluDq.cjs +1 -0
- package/components/{CasinoPageNd-CrvHemuj.js → CasinoPageNd-COkFys_k.js} +10 -10
- package/components/CasinoPageNd-zhFQm3tO.cjs +1 -0
- package/components/{CasinoRandomGame-CB4D9rh1.js → CasinoRandomGame-BcNNEVIc.js} +15 -15
- package/components/{CasinoRandomGame-ChM2hlET.cjs → CasinoRandomGame-DKdKDTzb.cjs} +2 -2
- package/components/CasinoSearchNd-B8HvHV9r.cjs +1 -0
- package/components/{CasinoSearchNd-CC4dm_Py.js → CasinoSearchNd-CozyuYYG.js} +52 -52
- package/components/{CasinoSort-kYZfWka_.js → CasinoSort-C08lCA84.js} +23 -23
- package/components/CasinoSort-Ml6nQVcN.cjs +1 -0
- package/components/CasinoWinners-CNzM2F5f.cjs +1 -0
- package/components/{CasinoWinners-BKHyEtAJ.js → CasinoWinners-DiVBK8o1.js} +49 -49
- package/components/{GeneralAnimationLoading-bPPVriHt.js → GeneralAnimationLoading-BuqppfIm.js} +1 -1
- package/components/{GeneralAnimationLoading-Bqep_PhQ.cjs → GeneralAnimationLoading-C2FgEXOt.cjs} +1 -1
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCalendarDailyDetails-CfRqqaJ7.cjs +0 -1
- package/components/CasinoCalendarDailyItem--qoA25VJ.js +0 -220
- package/components/CasinoCalendarDailyItem-DTvFCUSz.cjs +0 -1
- package/components/CasinoCollectionsProviders-BWuY4ubC.cjs +0 -1
- package/components/CasinoFavoritesSectionNd-BzS1_Xvx.cjs +0 -1
- package/components/CasinoFilter-CHdcl7fR.cjs +0 -1
- package/components/CasinoJackpotBanner-CPkvWYVf.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-B8tqRoZ2.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-C4yjCCei.cjs +0 -1
- package/components/CasinoMyGamesNd-BoO2nEpc.cjs +0 -1
- package/components/CasinoPageNd-CG7FgUUA.cjs +0 -1
- package/components/CasinoSearchNd-CcFdQk0Q.cjs +0 -1
- package/components/CasinoSort-CDhmv7B5.cjs +0 -1
- package/components/CasinoWinners-C9VUisa9.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CAqQpf-Q.cjs");function O({withLocale:a,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function W(a){e.$locale.set(a)}function G(a){e.append_styles(a,"svelte-uxbccb","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{appearance:none;padding:8px 6px;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}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emw--color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px;overflow-y:scroll;scrollbar-width:none}.CasinoCalendarDailyDay{padding:10px 0 30px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emw--color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emw--gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emw--color-white, #FFFFFF) 55%, var(--emw--color-gray-100, #E6E6E6));overflow-wrap:break-word}.HeaderDailyDetails{overflow:hidden;width:110%;border-bottom:1px solid var(--emw--casino-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;top:14px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:var(--emw--casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}")}function H(a,t,l){const n=a.slice();return n[28]=t[l],n[29]=t,n[30]=l,n}function S(a,t,l){const n=a.slice();return n[31]=t[l],n[33]=l,n}const J=a=>({}),U=a=>({});function K(a){let t,l,n,c,s,r,o,u,d,h,b;const y=a[18].close,w=e.create_slot(y,a,a[17],U),_=w||Y();let g=e.ensure_array_like(a[3]),m=[];for(let f=0;f<g.length;f+=1)m[f]=q(H(a,g,f));return{c(){t=e.element("div"),l=e.element("div"),n=e.element("span"),_&&_.c(),c=e.space(),s=e.element("div"),r=e.text(a[1]),o=e.space();for(let f=0;f<m.length;f+=1)m[f].c();e.attr(n,"class","ModalCloseBtn"),e.attr(n,"role","button"),e.attr(s,"class","CasinoCalendarDailyDay"),e.attr(l,"class","HeaderDailyDetails"),e.attr(t,"class",u="CasinoCalendarDailyDetailsBackground "+(a[5]?"Mobile":""))},m(f,C){e.insert(f,t,C),e.append(t,l),e.append(l,n),_&&_.m(n,null),e.append(l,c),e.append(l,s),e.append(s,r),e.append(t,o);for(let p=0;p<m.length;p+=1)m[p]&&m[p].m(t,null);d=!0,h||(b=e.listen(n,"click",a[6]),h=!0)},p(f,C){if(w&&w.p&&(!d||C[0]&131072)&&e.update_slot_base(w,y,f,f[17],d?e.get_slot_changes(y,f[17],C,J):e.get_all_dirty_from_scope(f[17]),U),(!d||C[0]&2)&&e.set_data(r,f[1]),C[0]&393){g=e.ensure_array_like(f[3]);let p;for(p=0;p<g.length;p+=1){const M=H(f,g,p);m[p]?m[p].p(M,C):(m[p]=q(M),m[p].c(),m[p].m(t,null))}for(;p<m.length;p+=1)m[p].d(1);m.length=g.length}(!d||C[0]&32&&u!==(u="CasinoCalendarDailyDetailsBackground "+(f[5]?"Mobile":"")))&&e.attr(t,"class",u)},i(f){d||(e.transition_in(_,f),d=!0)},o(f){e.transition_out(_,f),d=!1},d(f){f&&e.detach(t),_&&_.d(f),e.destroy_each(m,f),h=!1,b()}}}function Q(a){let t;return{c(){t=e.element("p"),t.textContent="Loading ...",e.attr(t,"class","SearchLoading"),e.attr(t,"part","SearchLoading")},m(l,n){e.insert(l,t,n)},p:e.noop,i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function X(a){let t;return{c(){t=e.element("p"),t.textContent="500 Error - Internal Server Error",e.attr(t,"class","SearchLoading"),e.attr(t,"part","SearchLoading")},m(l,n){e.insert(l,t,n)},p:e.noop,i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function Y(a){let t,l;return{c(){t=e.svg_element("svg"),l=e.svg_element("path"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(l,"stroke-width","2"),e.attr(l,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(n,c){e.insert(n,t,c),e.append(t,l)},p:e.noop,d(n){n&&e.detach(t)}}}function Z(a){let t,l;return{c(){t=e.svg_element("svg"),l=e.svg_element("path"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(l,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"fill","none"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"stroke-width","1.5"),e.attr(t,"stroke","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))"),e.attr(t,"class","IconDown")},m(n,c){e.insert(n,t,c),e.append(t,l)},d(n){n&&e.detach(t)}}}function $(a){let t,l;return{c(){t=e.svg_element("svg"),l=e.svg_element("path"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(l,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"fill","none"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"stroke-width","1.5"),e.attr(t,"stroke","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))"),e.attr(t,"class","IconUp")},m(n,c){e.insert(n,t,c),e.append(t,l)},d(n){n&&e.detach(t)}}}function j(a){let t,l,n,c=e.ensure_array_like(a[28].details),s=[];for(let o=0;o<c.length;o+=1)s[o]=z(S(a,c,o));let r=a[28].detailsExpanded&&A(a);return{c(){t=e.element("div");for(let o=0;o<s.length;o+=1)s[o].c();l=e.space(),r&&r.c(),n=e.empty(),e.attr(t,"class","DetailsTabsTitles")},m(o,u){e.insert(o,t,u);for(let d=0;d<s.length;d+=1)s[d]&&s[d].m(t,null);e.insert(o,l,u),r&&r.m(o,u),e.insert(o,n,u)},p(o,u){if(u[0]&264){c=e.ensure_array_like(o[28].details);let d;for(d=0;d<c.length;d+=1){const h=S(o,c,d);s[d]?s[d].p(h,u):(s[d]=z(h),s[d].c(),s[d].m(t,null))}for(;d<s.length;d+=1)s[d].d(1);s.length=c.length}o[28].detailsExpanded?r?r.p(o,u):(r=A(o),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(o){o&&(e.detach(t),e.detach(l),e.detach(n)),e.destroy_each(s,o),r&&r.d(o)}}}function z(a){let t,l,n,c=a[31].title+"",s,r,o,u,d;function h(){return a[20](a[28],a[33],a[30])}return{c(){t=e.element("div"),l=e.element("div"),n=e.element("button"),r=e.space(),e.attr(n,"class",s="HeaderButton "+(a[33]===a[28].selectedTab?"Active":"")),e.attr(l,"class","Header"),e.attr(t,"class",o=a[33]===a[28].selectedTab?"SelectedTab":""),e.attr(t,"id","CollapseMoreInfoButton"),e.set_style(t,"height",a[28].expandedInfo?"100%":"")},m(b,y){e.insert(b,t,y),e.append(t,l),e.append(l,n),n.innerHTML=c,e.append(t,r),u||(d=e.listen(n,"click",h),u=!0)},p(b,y){a=b,y[0]&8&&c!==(c=a[31].title+"")&&(n.innerHTML=c),y[0]&8&&s!==(s="HeaderButton "+(a[33]===a[28].selectedTab?"Active":""))&&e.attr(n,"class",s),y[0]&8&&o!==(o=a[33]===a[28].selectedTab?"SelectedTab":"")&&e.attr(t,"class",o),y[0]&8&&e.set_style(t,"height",a[28].expandedInfo?"100%":"")},d(b){b&&e.detach(t),u=!1,d()}}}function A(a){let t,l=a[28].details[a[28].selectedTab].description+"",n;return{c(){t=e.element("div"),e.attr(t,"class",n="DetailTabsDescription "+(a[28].details[a[28].selectedTab].expandedTab?"":"NotVisible"))},m(c,s){e.insert(c,t,s),t.innerHTML=l},p(c,s){s[0]&8&&l!==(l=c[28].details[c[28].selectedTab].description+"")&&(t.innerHTML=l),s[0]&8&&n!==(n="DetailTabsDescription "+(c[28].details[c[28].selectedTab].expandedTab?"":"NotVisible"))&&e.attr(t,"class",n)},d(c){c&&e.detach(t)}}}function q(a){let t,l,n=a[28].title+"",c,s,r,o,u,d,h,b=a[28].description+"",y,w,_,g,m,f,C,p,M;function I(T,D){return T[28].expandedInfo==!0?$:Z}let L=I(a),F=L(a);function B(){return a[19](a[28],a[29],a[30])}let v=a[28].expandedInfo==!0&&j(a);return{c(){t=e.element("div"),l=e.element("div"),c=e.space(),s=e.element("div"),r=e.element("img"),d=e.space(),h=e.element("div"),y=e.space(),w=e.element("div"),_=e.element("button"),g=new e.HtmlTag(!1),m=e.space(),F.c(),f=e.space(),v&&v.c(),C=e.space(),e.attr(l,"class","CasinoCalendarDailyTitle"),e.attr(r,"class","CasinoCalendarFitImage"),e.src_url_equal(r.src,o=a[28].image)||e.attr(r,"src",o),e.attr(r,"alt",u=a[28].image),e.attr(s,"class","CasinoCalendarImage"),e.attr(h,"class","CasinoCalendarDailyDescription"),g.a=m,e.attr(_,"class","MoreInfoButton"),e.attr(w,"class","CasinoCalendarTabs"),e.attr(t,"class","CasinoCalendarDailyDetailsParent")},m(T,D){e.insert(T,t,D),e.append(t,l),l.innerHTML=n,e.append(t,c),e.append(t,s),e.append(s,r),e.append(t,d),e.append(t,h),h.innerHTML=b,e.append(t,y),e.append(t,w),e.append(w,_),g.m(a[0],_),e.append(_,m),F.m(_,null),e.append(w,f),v&&v.m(w,null),e.append(t,C),p||(M=e.listen(_,"click",B),p=!0)},p(T,D){a=T,D[0]&8&&n!==(n=a[28].title+"")&&(l.innerHTML=n),D[0]&8&&!e.src_url_equal(r.src,o=a[28].image)&&e.attr(r,"src",o),D[0]&8&&u!==(u=a[28].image)&&e.attr(r,"alt",u),D[0]&8&&b!==(b=a[28].description+"")&&(h.innerHTML=b),D[0]&1&&g.p(a[0]),L!==(L=I(a))&&(F.d(1),F=L(a),F&&(F.c(),F.m(_,null))),a[28].expandedInfo==!0?v?v.p(a,D):(v=j(a),v.c(),v.m(w,null)):v&&(v.d(1),v=null)},d(T){T&&e.detach(t),F.d(),v&&v.d(),p=!1,M()}}}function ee(a){let t,l,n,c;const s=[X,Q,K],r=[];function o(u,d){return u[4]?1:2}return l=o(a),n=r[l]=s[l](a),{c(){t=e.element("div"),n.c()},m(u,d){e.insert(u,t,d),r[l].m(t,null),a[21](t),c=!0},p(u,d){let h=l;l=o(u),l===h?r[l].p(u,d):(e.group_outros(),e.transition_out(r[h],1,1,()=>{r[h]=null}),e.check_outros(),n=r[l],n?n.p(u,d):(n=r[l]=s[l](u),n.c()),e.transition_in(n,1),n.m(t,null))},i(u){c||(e.transition_in(n),c=!0)},o(u){e.transition_out(n),c=!1},d(u){u&&e.detach(t),r[l].d(),a[21](null)}}}function te(a,t,l){let{$$slots:n={},$$scope:c}=t,{dailybackground:s=""}=t,{dailybuttontitle:r=""}=t,{dailyday:o=""}=t,{dailydescription:u="<p></p>"}=t,{dailyicon:d=""}=t,{dailytitle:h=""}=t,{lang:b="en"}=t,{clientstyling:y=""}=t,{clientstylingurl:w=""}=t,{translationUrl:_=""}=t,g=[],m=!0,f=!1,C=window.navigator.userAgent,p;O({withLocale:"en",translations:{}});const M=i=>{i.data.type=="DailyEventsData"&&(l(4,m=!1),l(3,g=i.data.data),g.forEach(k=>{k.expandedInfo=!1,k.detailsExpanded=!1,k.selectedTab=0,k.details.forEach((x,E)=>{x.expandedTab=E==0})}))},I=()=>{window.postMessage({type:"ModalClosed"},window.location.href),g.forEach((i,k)=>{i.detailsExpanded=k==0,i.expandedInfo=k==0,i.selectedTab=0})},L=()=>{W(b)},F=i=>{l(3,g[i].detailsExpanded=!g[i].detailsExpanded,g),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},B=(i,k,x)=>{l(3,g[x].selectedTab=k,g),i.details.forEach((E,R)=>{g[x].selectedTab!=R?E.expandedTab=!1:E.expandedTab=!0})},v=()=>{let i=document.createElement("style");i.innerHTML=y,p.appendChild(i)},T=()=>{let i=new URL(w),k=document.createElement("style");fetch(i.href).then(x=>x.text()).then(x=>{k.innerHTML=x,setTimeout(()=>{p.appendChild(k)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.addEventListener("message",M,!1),e.isMobile(C)&&l(5,f=!0),()=>{window.removeEventListener("message",M)}));const D=(i,k,x)=>{l(3,k[x].expandedInfo=!i.expandedInfo,g),F(x)},V=(i,k,x)=>{B(i,k,x)};function P(i){e.binding_callbacks[i?"unshift":"push"](()=>{p=i,l(2,p)})}return a.$$set=i=>{"dailybackground"in i&&l(9,s=i.dailybackground),"dailybuttontitle"in i&&l(0,r=i.dailybuttontitle),"dailyday"in i&&l(1,o=i.dailyday),"dailydescription"in i&&l(10,u=i.dailydescription),"dailyicon"in i&&l(11,d=i.dailyicon),"dailytitle"in i&&l(12,h=i.dailytitle),"lang"in i&&l(13,b=i.lang),"clientstyling"in i&&l(14,y=i.clientstyling),"clientstylingurl"in i&&l(15,w=i.clientstylingurl),"translationUrl"in i&&l(16,_=i.translationUrl),"$$scope"in i&&l(17,c=i.$$scope)},a.$$.update=()=>{a.$$.dirty[0]&8192&&b&&L(),a.$$.dirty[0]&16388&&y&&p&&v(),a.$$.dirty[0]&32772&&w&&p&&T()},[r,o,p,g,m,f,I,F,B,s,u,d,h,b,y,w,_,c,n,D,V,P]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,te,ee,e.safe_not_equal,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},G,[-1,-1])}get dailybackground(){return this.$$.ctx[9]}set dailybackground(t){this.$$set({dailybackground:t}),e.flush()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),e.flush()}get dailyday(){return this.$$.ctx[1]}set dailyday(t){this.$$set({dailyday:t}),e.flush()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(t){this.$$set({dailydescription:t}),e.flush()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(t){this.$$set({dailyicon:t}),e.flush()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(t){this.$$set({dailytitle:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(t){this.$$set({translationUrl:t}),e.flush()}}e.create_custom_element(N,{dailybackground:{},dailybuttontitle:{},dailyday:{},dailydescription:{},dailyicon:{},dailytitle:{},lang:{},clientstyling:{},clientstylingurl:{},translationUrl:{}},["close"],[],!0);exports.default=N;
|
package/components/{CasinoCalendarDailyDetails-D1_fuwa2.js → CasinoCalendarDailyDetails-CtTEpBSz.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as P, a as ne, S as oe, i as se, f as I, c as re, s as de, b as ce, e as y, d as T, t as R, g as
|
|
1
|
+
import { $ as P, a as ne, S as oe, i as se, f as I, c as re, s as de, b as ce, e as y, d as T, t as R, g as ue, h as G, j as M, o as fe, k as ge, l as me, m as he, n as pe, p as q, q as E, r as be, u as a, v as m, w as W, x as _e, y as ye, z as we, A as ve, B as te, C as U, D as J, E as z, F as ke, G as K, H as Ce } from "./CasinoCalendar-DMab5OJz.js";
|
|
2
2
|
function xe({ withLocale: l, translations: e }) {
|
|
3
3
|
P.subscribe((t) => {
|
|
4
4
|
t == null && (ne.set(e), P.set(l));
|
|
@@ -8,7 +8,7 @@ function Fe(l) {
|
|
|
8
8
|
P.set(l);
|
|
9
9
|
}
|
|
10
10
|
function De(l) {
|
|
11
|
-
ce(l, "svelte-
|
|
11
|
+
ce(l, "svelte-uxbccb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{appearance:none;padding:8px 6px;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}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emw--color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px;overflow-y:scroll;scrollbar-width:none}.CasinoCalendarDailyDay{padding:10px 0 30px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emw--color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emw--gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emw--color-white, #FFFFFF) 55%, var(--emw--color-gray-100, #E6E6E6));overflow-wrap:break-word}.HeaderDailyDetails{overflow:hidden;width:110%;border-bottom:1px solid var(--emw--casino-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;top:14px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:var(--emw--casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}");
|
|
12
12
|
}
|
|
13
13
|
function O(l, e, t) {
|
|
14
14
|
const i = l.slice();
|
|
@@ -20,7 +20,7 @@ function Q(l, e, t) {
|
|
|
20
20
|
}
|
|
21
21
|
const Te = (l) => ({}), X = (l) => ({});
|
|
22
22
|
function Me(l) {
|
|
23
|
-
let e, t, i, c, r, o, s,
|
|
23
|
+
let e, t, i, c, r, o, s, u, d, b, w;
|
|
24
24
|
const v = (
|
|
25
25
|
/*#slots*/
|
|
26
26
|
l[18].close
|
|
@@ -35,21 +35,21 @@ function Me(l) {
|
|
|
35
35
|
/*dailyeventsDetails*/
|
|
36
36
|
l[3]
|
|
37
37
|
), p = [];
|
|
38
|
-
for (let
|
|
39
|
-
p[
|
|
38
|
+
for (let f = 0; f < h.length; f += 1)
|
|
39
|
+
p[f] = ee(O(l, h, f));
|
|
40
40
|
return {
|
|
41
41
|
c() {
|
|
42
42
|
e = y("div"), t = y("div"), i = y("span"), _ && _.c(), c = E(), r = y("div"), o = be(
|
|
43
43
|
/*dailyday*/
|
|
44
44
|
l[1]
|
|
45
45
|
), s = E();
|
|
46
|
-
for (let
|
|
47
|
-
p[
|
|
48
|
-
a(i, "class", "ModalCloseBtn"), a(i, "role", "button"), a(r, "class", "CasinoCalendarDailyDay"), a(t, "class", "HeaderDailyDetails"), a(e, "class",
|
|
46
|
+
for (let f = 0; f < p.length; f += 1)
|
|
47
|
+
p[f].c();
|
|
48
|
+
a(i, "class", "ModalCloseBtn"), a(i, "role", "button"), a(r, "class", "CasinoCalendarDailyDay"), a(t, "class", "HeaderDailyDetails"), a(e, "class", u = "CasinoCalendarDailyDetailsBackground " + /*mobileView*/
|
|
49
49
|
(l[5] ? "Mobile" : ""));
|
|
50
50
|
},
|
|
51
|
-
m(
|
|
52
|
-
T(
|
|
51
|
+
m(f, F) {
|
|
52
|
+
T(f, e, F), m(e, t), m(t, i), _ && _.m(i, null), m(t, c), m(t, r), m(r, o), m(e, s);
|
|
53
53
|
for (let g = 0; g < p.length; g += 1)
|
|
54
54
|
p[g] && p[g].m(e, null);
|
|
55
55
|
d = !0, b || (w = W(
|
|
@@ -59,39 +59,39 @@ function Me(l) {
|
|
|
59
59
|
l[6]
|
|
60
60
|
), b = !0);
|
|
61
61
|
},
|
|
62
|
-
p(
|
|
62
|
+
p(f, F) {
|
|
63
63
|
if (k && k.p && (!d || F[0] & /*$$scope*/
|
|
64
64
|
131072) && _e(
|
|
65
65
|
k,
|
|
66
66
|
v,
|
|
67
|
-
|
|
67
|
+
f,
|
|
68
68
|
/*$$scope*/
|
|
69
|
-
|
|
69
|
+
f[17],
|
|
70
70
|
d ? we(
|
|
71
71
|
v,
|
|
72
72
|
/*$$scope*/
|
|
73
|
-
|
|
73
|
+
f[17],
|
|
74
74
|
F,
|
|
75
75
|
Te
|
|
76
76
|
) : ye(
|
|
77
77
|
/*$$scope*/
|
|
78
|
-
|
|
78
|
+
f[17]
|
|
79
79
|
),
|
|
80
80
|
X
|
|
81
81
|
), (!d || F[0] & /*dailyday*/
|
|
82
82
|
2) && ve(
|
|
83
83
|
o,
|
|
84
84
|
/*dailyday*/
|
|
85
|
-
|
|
85
|
+
f[1]
|
|
86
86
|
), F[0] & /*dailyeventsDetails, setActiveTab, handleDetailsArea, dailybuttontitle*/
|
|
87
87
|
393) {
|
|
88
88
|
h = q(
|
|
89
89
|
/*dailyeventsDetails*/
|
|
90
|
-
|
|
90
|
+
f[3]
|
|
91
91
|
);
|
|
92
92
|
let g;
|
|
93
93
|
for (g = 0; g < h.length; g += 1) {
|
|
94
|
-
const S = O(
|
|
94
|
+
const S = O(f, h, g);
|
|
95
95
|
p[g] ? p[g].p(S, F) : (p[g] = ee(S), p[g].c(), p[g].m(e, null));
|
|
96
96
|
}
|
|
97
97
|
for (; g < p.length; g += 1)
|
|
@@ -99,17 +99,17 @@ function Me(l) {
|
|
|
99
99
|
p.length = h.length;
|
|
100
100
|
}
|
|
101
101
|
(!d || F[0] & /*mobileView*/
|
|
102
|
-
32 &&
|
|
103
|
-
(
|
|
102
|
+
32 && u !== (u = "CasinoCalendarDailyDetailsBackground " + /*mobileView*/
|
|
103
|
+
(f[5] ? "Mobile" : ""))) && a(e, "class", u);
|
|
104
104
|
},
|
|
105
|
-
i(
|
|
106
|
-
d || (G(_,
|
|
105
|
+
i(f) {
|
|
106
|
+
d || (G(_, f), d = !0);
|
|
107
107
|
},
|
|
108
|
-
o(
|
|
109
|
-
R(_,
|
|
108
|
+
o(f) {
|
|
109
|
+
R(_, f), d = !1;
|
|
110
110
|
},
|
|
111
|
-
d(
|
|
112
|
-
|
|
111
|
+
d(f) {
|
|
112
|
+
f && M(e), _ && _.d(f), te(p, f), b = !1, w();
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
}
|
|
@@ -166,7 +166,7 @@ function Ee(l) {
|
|
|
166
166
|
let e, t;
|
|
167
167
|
return {
|
|
168
168
|
c() {
|
|
169
|
-
e = z("svg"), t = z("path"), a(t, "stroke-linecap", "round"), a(t, "stroke-linejoin", "round"), a(t, "d", "M19.5 8.25l-7.5 7.5-7.5-7.5"), a(e, "xmlns", "http://www.w3.org/2000/svg"), a(e, "fill", "none"), a(e, "viewBox", "0 0 24 24"), a(e, "stroke-width", "1.5"), a(e, "stroke", "var(--
|
|
169
|
+
e = z("svg"), t = z("path"), a(t, "stroke-linecap", "round"), a(t, "stroke-linejoin", "round"), a(t, "d", "M19.5 8.25l-7.5 7.5-7.5-7.5"), a(e, "xmlns", "http://www.w3.org/2000/svg"), a(e, "fill", "none"), a(e, "viewBox", "0 0 24 24"), a(e, "stroke-width", "1.5"), a(e, "stroke", "var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))"), a(e, "class", "IconDown");
|
|
170
170
|
},
|
|
171
171
|
m(i, c) {
|
|
172
172
|
T(i, e, c), m(e, t);
|
|
@@ -180,7 +180,7 @@ function He(l) {
|
|
|
180
180
|
let e, t;
|
|
181
181
|
return {
|
|
182
182
|
c() {
|
|
183
|
-
e = z("svg"), t = z("path"), a(t, "stroke-linecap", "round"), a(t, "stroke-linejoin", "round"), a(t, "d", "M19.5 8.25l-7.5 7.5-7.5-7.5"), a(e, "xmlns", "http://www.w3.org/2000/svg"), a(e, "fill", "none"), a(e, "viewBox", "0 0 24 24"), a(e, "stroke-width", "1.5"), a(e, "stroke", "var(--
|
|
183
|
+
e = z("svg"), t = z("path"), a(t, "stroke-linecap", "round"), a(t, "stroke-linejoin", "round"), a(t, "d", "M19.5 8.25l-7.5 7.5-7.5-7.5"), a(e, "xmlns", "http://www.w3.org/2000/svg"), a(e, "fill", "none"), a(e, "viewBox", "0 0 24 24"), a(e, "stroke-width", "1.5"), a(e, "stroke", "var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))"), a(e, "class", "IconUp");
|
|
184
184
|
},
|
|
185
185
|
m(i, c) {
|
|
186
186
|
T(i, e, c), m(e, t);
|
|
@@ -208,14 +208,14 @@ function Y(l) {
|
|
|
208
208
|
r[s].c();
|
|
209
209
|
t = E(), o && o.c(), i = ke(), a(e, "class", "DetailsTabsTitles");
|
|
210
210
|
},
|
|
211
|
-
m(s,
|
|
212
|
-
T(s, e,
|
|
211
|
+
m(s, u) {
|
|
212
|
+
T(s, e, u);
|
|
213
213
|
for (let d = 0; d < r.length; d += 1)
|
|
214
214
|
r[d] && r[d].m(e, null);
|
|
215
|
-
T(s, t,
|
|
215
|
+
T(s, t, u), o && o.m(s, u), T(s, i, u);
|
|
216
216
|
},
|
|
217
|
-
p(s,
|
|
218
|
-
if (
|
|
217
|
+
p(s, u) {
|
|
218
|
+
if (u[0] & /*dailyeventsDetails, setActiveTab*/
|
|
219
219
|
264) {
|
|
220
220
|
c = q(
|
|
221
221
|
/*event*/
|
|
@@ -224,14 +224,14 @@ function Y(l) {
|
|
|
224
224
|
let d;
|
|
225
225
|
for (d = 0; d < c.length; d += 1) {
|
|
226
226
|
const b = Q(s, c, d);
|
|
227
|
-
r[d] ? r[d].p(b,
|
|
227
|
+
r[d] ? r[d].p(b, u) : (r[d] = Z(b), r[d].c(), r[d].m(e, null));
|
|
228
228
|
}
|
|
229
229
|
for (; d < r.length; d += 1)
|
|
230
230
|
r[d].d(1);
|
|
231
231
|
r.length = c.length;
|
|
232
232
|
}
|
|
233
233
|
/*event*/
|
|
234
|
-
s[28].detailsExpanded ? o ? o.p(s,
|
|
234
|
+
s[28].detailsExpanded ? o ? o.p(s, u) : (o = $(s), o.c(), o.m(i.parentNode, i)) : o && (o.d(1), o = null);
|
|
235
235
|
},
|
|
236
236
|
d(s) {
|
|
237
237
|
s && (M(e), M(t), M(i)), te(r, s), o && o.d(s);
|
|
@@ -242,7 +242,7 @@ function Z(l) {
|
|
|
242
242
|
let e, t, i, c = (
|
|
243
243
|
/*detail*/
|
|
244
244
|
l[31].title + ""
|
|
245
|
-
), r, o, s,
|
|
245
|
+
), r, o, s, u, d;
|
|
246
246
|
function b() {
|
|
247
247
|
return (
|
|
248
248
|
/*click_handler_1*/
|
|
@@ -270,7 +270,7 @@ function Z(l) {
|
|
|
270
270
|
);
|
|
271
271
|
},
|
|
272
272
|
m(w, v) {
|
|
273
|
-
T(w, e, v), m(e, t), m(t, i), i.innerHTML = c, m(e, o),
|
|
273
|
+
T(w, e, v), m(e, t), m(t, i), i.innerHTML = c, m(e, o), u || (d = W(i, "click", b), u = !0);
|
|
274
274
|
},
|
|
275
275
|
p(w, v) {
|
|
276
276
|
l = w, v[0] & /*dailyeventsDetails*/
|
|
@@ -290,7 +290,7 @@ function Z(l) {
|
|
|
290
290
|
);
|
|
291
291
|
},
|
|
292
292
|
d(w) {
|
|
293
|
-
w && M(e),
|
|
293
|
+
w && M(e), u = !1, d();
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
}
|
|
@@ -335,10 +335,10 @@ function ee(l) {
|
|
|
335
335
|
let e, t, i = (
|
|
336
336
|
/*event*/
|
|
337
337
|
l[28].title + ""
|
|
338
|
-
), c, r, o, s,
|
|
338
|
+
), c, r, o, s, u, d, b, w = (
|
|
339
339
|
/*event*/
|
|
340
340
|
l[28].description + ""
|
|
341
|
-
), v, k, _, h, p,
|
|
341
|
+
), v, k, _, h, p, f, F, g, S;
|
|
342
342
|
function A(H, B) {
|
|
343
343
|
return (
|
|
344
344
|
/*event*/
|
|
@@ -365,8 +365,8 @@ function ee(l) {
|
|
|
365
365
|
);
|
|
366
366
|
return {
|
|
367
367
|
c() {
|
|
368
|
-
e = y("div"), t = y("div"), c = E(), r = y("div"), o = y("img"), d = E(), b = y("div"), v = E(), k = y("div"), _ = y("button"), h = new Ce(!1), p = E(), L.c(),
|
|
369
|
-
l[28].image) || a(o, "src", s), a(o, "alt",
|
|
368
|
+
e = y("div"), t = y("div"), c = E(), r = y("div"), o = y("img"), d = E(), b = y("div"), v = E(), k = y("div"), _ = y("button"), h = new Ce(!1), p = E(), L.c(), f = E(), C && C.c(), F = E(), a(t, "class", "CasinoCalendarDailyTitle"), a(o, "class", "CasinoCalendarFitImage"), J(o.src, s = /*event*/
|
|
369
|
+
l[28].image) || a(o, "src", s), a(o, "alt", u = /*event*/
|
|
370
370
|
l[28].image), a(r, "class", "CasinoCalendarImage"), a(b, "class", "CasinoCalendarDailyDescription"), h.a = p, a(_, "class", "MoreInfoButton"), a(k, "class", "CasinoCalendarTabs"), a(e, "class", "CasinoCalendarDailyDetailsParent");
|
|
371
371
|
},
|
|
372
372
|
m(H, B) {
|
|
@@ -374,7 +374,7 @@ function ee(l) {
|
|
|
374
374
|
/*dailybuttontitle*/
|
|
375
375
|
l[0],
|
|
376
376
|
_
|
|
377
|
-
), m(_, p), L.m(_, null), m(k,
|
|
377
|
+
), m(_, p), L.m(_, null), m(k, f), C && C.m(k, null), m(e, F), g || (S = W(_, "click", N), g = !0);
|
|
378
378
|
},
|
|
379
379
|
p(H, B) {
|
|
380
380
|
l = H, B[0] & /*dailyeventsDetails*/
|
|
@@ -382,8 +382,8 @@ function ee(l) {
|
|
|
382
382
|
l[28].title + "") && (t.innerHTML = i), B[0] & /*dailyeventsDetails*/
|
|
383
383
|
8 && !J(o.src, s = /*event*/
|
|
384
384
|
l[28].image) && a(o, "src", s), B[0] & /*dailyeventsDetails*/
|
|
385
|
-
8 &&
|
|
386
|
-
l[28].image) && a(o, "alt",
|
|
385
|
+
8 && u !== (u = /*event*/
|
|
386
|
+
l[28].image) && a(o, "alt", u), B[0] & /*dailyeventsDetails*/
|
|
387
387
|
8 && w !== (w = /*event*/
|
|
388
388
|
l[28].description + "") && (b.innerHTML = w), B[0] & /*dailybuttontitle*/
|
|
389
389
|
1 && h.p(
|
|
@@ -400,38 +400,38 @@ function ee(l) {
|
|
|
400
400
|
function Se(l) {
|
|
401
401
|
let e, t, i, c;
|
|
402
402
|
const r = [Be, Le, Me], o = [];
|
|
403
|
-
function s(
|
|
403
|
+
function s(u, d) {
|
|
404
404
|
return (
|
|
405
405
|
/*isLoading*/
|
|
406
|
-
|
|
406
|
+
u[4] ? 1 : 2
|
|
407
407
|
);
|
|
408
408
|
}
|
|
409
409
|
return t = s(l), i = o[t] = r[t](l), {
|
|
410
410
|
c() {
|
|
411
411
|
e = y("div"), i.c();
|
|
412
412
|
},
|
|
413
|
-
m(
|
|
414
|
-
T(
|
|
413
|
+
m(u, d) {
|
|
414
|
+
T(u, e, d), o[t].m(e, null), l[21](e), c = !0;
|
|
415
415
|
},
|
|
416
|
-
p(
|
|
416
|
+
p(u, d) {
|
|
417
417
|
let b = t;
|
|
418
|
-
t = s(
|
|
418
|
+
t = s(u), t === b ? o[t].p(u, d) : (ge(), R(o[b], 1, 1, () => {
|
|
419
419
|
o[b] = null;
|
|
420
|
-
}),
|
|
420
|
+
}), ue(), i = o[t], i ? i.p(u, d) : (i = o[t] = r[t](u), i.c()), G(i, 1), i.m(e, null));
|
|
421
421
|
},
|
|
422
|
-
i(
|
|
422
|
+
i(u) {
|
|
423
423
|
c || (G(i), c = !0);
|
|
424
424
|
},
|
|
425
|
-
o(
|
|
425
|
+
o(u) {
|
|
426
426
|
R(i), c = !1;
|
|
427
427
|
},
|
|
428
|
-
d(
|
|
429
|
-
|
|
428
|
+
d(u) {
|
|
429
|
+
u && M(e), o[t].d(), l[21](null);
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
433
|
function Ue(l, e, t) {
|
|
434
|
-
let { $$slots: i = {}, $$scope: c } = e, { dailybackground: r = "" } = e, { dailybuttontitle: o = "" } = e, { dailyday: s = "" } = e, { dailydescription:
|
|
434
|
+
let { $$slots: i = {}, $$scope: c } = e, { dailybackground: r = "" } = e, { dailybuttontitle: o = "" } = e, { dailyday: s = "" } = e, { dailydescription: u = "<p></p>" } = e, { dailyicon: d = "" } = e, { dailytitle: b = "" } = e, { lang: w = "en" } = e, { clientstyling: v = "" } = e, { clientstylingurl: k = "" } = e, { translationUrl: _ = "" } = e, h = [], p = !0, f = !1, F = window.navigator.userAgent, g;
|
|
435
435
|
xe({ withLocale: "en", translations: {} });
|
|
436
436
|
const S = (n) => {
|
|
437
437
|
n.data.type == "DailyEventsData" && (t(4, p = !1), t(3, h = n.data.data), h.forEach((x) => {
|
|
@@ -469,7 +469,7 @@ function Ue(l, e, t) {
|
|
|
469
469
|
);
|
|
470
470
|
});
|
|
471
471
|
};
|
|
472
|
-
|
|
472
|
+
fe(() => (window.addEventListener("message", S, !1), me(F) && t(5, f = !0), () => {
|
|
473
473
|
window.removeEventListener("message", S);
|
|
474
474
|
}));
|
|
475
475
|
const B = (n, x, D) => {
|
|
@@ -483,7 +483,7 @@ function Ue(l, e, t) {
|
|
|
483
483
|
});
|
|
484
484
|
}
|
|
485
485
|
return l.$$set = (n) => {
|
|
486
|
-
"dailybackground" in n && t(9, r = n.dailybackground), "dailybuttontitle" in n && t(0, o = n.dailybuttontitle), "dailyday" in n && t(1, s = n.dailyday), "dailydescription" in n && t(10,
|
|
486
|
+
"dailybackground" in n && t(9, r = n.dailybackground), "dailybuttontitle" in n && t(0, o = n.dailybuttontitle), "dailyday" in n && t(1, s = n.dailyday), "dailydescription" in n && t(10, u = n.dailydescription), "dailyicon" in n && t(11, d = n.dailyicon), "dailytitle" in n && t(12, b = n.dailytitle), "lang" in n && t(13, w = n.lang), "clientstyling" in n && t(14, v = n.clientstyling), "clientstylingurl" in n && t(15, k = n.clientstylingurl), "translationUrl" in n && t(16, _ = n.translationUrl), "$$scope" in n && t(17, c = n.$$scope);
|
|
487
487
|
}, l.$$.update = () => {
|
|
488
488
|
l.$$.dirty[0] & /*lang*/
|
|
489
489
|
8192 && w && j(), l.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
@@ -495,12 +495,12 @@ function Ue(l, e, t) {
|
|
|
495
495
|
g,
|
|
496
496
|
h,
|
|
497
497
|
p,
|
|
498
|
-
|
|
498
|
+
f,
|
|
499
499
|
A,
|
|
500
500
|
L,
|
|
501
501
|
N,
|
|
502
502
|
r,
|
|
503
|
-
|
|
503
|
+
u,
|
|
504
504
|
d,
|
|
505
505
|
b,
|
|
506
506
|
w,
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { $ as R, a as P, S as q, i as A, f as b, c as O, s as U, b as G, e as c, q as L, r as T, u as l, D as E, G as v, d as V, v as o, w as W, A as j, C as S, j as J, o as K, l as N, m as H } from "./CasinoCalendar-DMab5OJz.js";
|
|
2
|
+
function Q({ withLocale: i, translations: t }) {
|
|
3
|
+
R.subscribe((a) => {
|
|
4
|
+
a == null && (P.set(t), R.set(i));
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
function X(i) {
|
|
8
|
+
G(i, "svelte-1jtwzs1", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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}');
|
|
9
|
+
}
|
|
10
|
+
function Y(i) {
|
|
11
|
+
let t, a, y, u, f, k, n, h, d, x, m, p, g, I, F, D, C, w, B, _, z, M, e;
|
|
12
|
+
return {
|
|
13
|
+
c() {
|
|
14
|
+
t = c("div"), a = c("div"), y = c("div"), u = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', k = L(), n = c("div"), h = c("div"), d = c("img"), m = L(), p = c("div"), g = T(
|
|
15
|
+
/*dailyday*/
|
|
16
|
+
i[2]
|
|
17
|
+
), I = L(), F = c("div"), D = L(), C = c("div"), w = c("button"), B = T(
|
|
18
|
+
/*dailybuttontitle*/
|
|
19
|
+
i[3]
|
|
20
|
+
), l(f, "class", "CalendarBar"), E(d.src, x = /*dailyicon*/
|
|
21
|
+
i[1]) || l(d, "src", x), l(
|
|
22
|
+
d,
|
|
23
|
+
"alt",
|
|
24
|
+
/*dailyicon*/
|
|
25
|
+
i[1]
|
|
26
|
+
), l(h, "class", "CasinoCalendarDailyIcon"), l(p, "class", "CasinoCalendarDailyTitle"), l(F, "class", "CasinoCalendarDailyItemDescription"), l(w, "class", "MoreInfoButton"), l(C, "class", "CasinoCalendarDailyItemButton"), l(n, "class", _ = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
27
|
+
i[4] == "OpenCalendarModal" ? "Tear" : "")), v(n, "background-image", "url('" + /*dailybackground*/
|
|
28
|
+
i[0] + "')"), v(n, "background-size", "cover"), v(n, "background-position", "center"), v(n, "-webkit-background-size", "cover"), v(n, "-moz-background-size", "cover"), v(n, "-o-background-size", "cover"), l(u, "class", "CalendarCard"), l(y, "class", "CasinoCalendarItems"), l(a, "class", z = "Container " + /*mobileView*/
|
|
29
|
+
(i[7] ? "Mobile" : ""));
|
|
30
|
+
},
|
|
31
|
+
m(r, s) {
|
|
32
|
+
V(r, t, s), o(t, a), o(a, y), o(y, u), o(u, f), o(u, k), o(u, n), o(n, h), o(h, d), o(n, m), o(n, p), o(p, g), o(n, I), o(n, F), i[13](F), o(n, D), o(n, C), o(C, w), o(w, B), i[15](t), M || (e = W(
|
|
33
|
+
w,
|
|
34
|
+
"click",
|
|
35
|
+
/*click_handler*/
|
|
36
|
+
i[14]
|
|
37
|
+
), M = !0);
|
|
38
|
+
},
|
|
39
|
+
p(r, [s]) {
|
|
40
|
+
s & /*dailyicon*/
|
|
41
|
+
2 && !E(d.src, x = /*dailyicon*/
|
|
42
|
+
r[1]) && l(d, "src", x), s & /*dailyicon*/
|
|
43
|
+
2 && l(
|
|
44
|
+
d,
|
|
45
|
+
"alt",
|
|
46
|
+
/*dailyicon*/
|
|
47
|
+
r[1]
|
|
48
|
+
), s & /*dailyday*/
|
|
49
|
+
4 && j(
|
|
50
|
+
g,
|
|
51
|
+
/*dailyday*/
|
|
52
|
+
r[2]
|
|
53
|
+
), s & /*dailybuttontitle*/
|
|
54
|
+
8 && j(
|
|
55
|
+
B,
|
|
56
|
+
/*dailybuttontitle*/
|
|
57
|
+
r[3]
|
|
58
|
+
), s & /*index*/
|
|
59
|
+
16 && _ !== (_ = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
60
|
+
r[4] == "OpenCalendarModal" ? "Tear" : "")) && l(n, "class", _), s & /*dailybackground*/
|
|
61
|
+
1 && v(n, "background-image", "url('" + /*dailybackground*/
|
|
62
|
+
r[0] + "')"), s & /*mobileView*/
|
|
63
|
+
128 && z !== (z = "Container " + /*mobileView*/
|
|
64
|
+
(r[7] ? "Mobile" : "")) && l(a, "class", z);
|
|
65
|
+
},
|
|
66
|
+
i: S,
|
|
67
|
+
o: S,
|
|
68
|
+
d(r) {
|
|
69
|
+
r && J(t), i[13](null), i[15](null), M = !1, e();
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function Z(i, t, a) {
|
|
74
|
+
let { lang: y = "" } = t, { dailybackground: u = "" } = t, { dailyicon: f = "" } = t, { dailyday: k = "" } = t, { dailydescription: n = "<p></p>" } = t, { dailybuttontitle: h = "" } = t, { index: d = "0" } = t, { clientstyling: x = "" } = t, { clientstylingurl: m = "" } = t;
|
|
75
|
+
Q({ withLocale: "en", translations: {} });
|
|
76
|
+
let p, g, I = !1, F = window.navigator.userAgent;
|
|
77
|
+
const D = () => {
|
|
78
|
+
let e = document.createElement("div");
|
|
79
|
+
e.innerHTML = n, p && p.append(e);
|
|
80
|
+
}, C = () => {
|
|
81
|
+
window.postMessage({ type: "OpenCalendar", index: d }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
82
|
+
}, w = () => {
|
|
83
|
+
let e = document.createElement("style");
|
|
84
|
+
e.innerHTML = x, g.appendChild(e);
|
|
85
|
+
}, B = () => {
|
|
86
|
+
let e = new URL(m), r = document.createElement("style");
|
|
87
|
+
fetch(e.href).then((s) => s.text()).then((s) => {
|
|
88
|
+
r.innerHTML = s, setTimeout(
|
|
89
|
+
() => {
|
|
90
|
+
g.appendChild(r);
|
|
91
|
+
},
|
|
92
|
+
1
|
|
93
|
+
), setTimeout(
|
|
94
|
+
() => {
|
|
95
|
+
},
|
|
96
|
+
500
|
|
97
|
+
);
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
K(() => {
|
|
101
|
+
N(F) && a(7, I = !0);
|
|
102
|
+
});
|
|
103
|
+
function _(e) {
|
|
104
|
+
H[e ? "unshift" : "push"](() => {
|
|
105
|
+
p = e, a(6, p);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
const z = () => C();
|
|
109
|
+
function M(e) {
|
|
110
|
+
H[e ? "unshift" : "push"](() => {
|
|
111
|
+
g = e, a(5, g);
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
return i.$$set = (e) => {
|
|
115
|
+
"lang" in e && a(9, y = e.lang), "dailybackground" in e && a(0, u = e.dailybackground), "dailyicon" in e && a(1, f = e.dailyicon), "dailyday" in e && a(2, k = e.dailyday), "dailydescription" in e && a(10, n = e.dailydescription), "dailybuttontitle" in e && a(3, h = e.dailybuttontitle), "index" in e && a(4, d = e.index), "clientstyling" in e && a(11, x = e.clientstyling), "clientstylingurl" in e && a(12, m = e.clientstylingurl);
|
|
116
|
+
}, i.$$.update = () => {
|
|
117
|
+
i.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
118
|
+
1039 && f && k && n && h && u && D(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
119
|
+
2080 && x && g && w(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
120
|
+
4128 && m && g && B();
|
|
121
|
+
}, [
|
|
122
|
+
u,
|
|
123
|
+
f,
|
|
124
|
+
k,
|
|
125
|
+
h,
|
|
126
|
+
d,
|
|
127
|
+
g,
|
|
128
|
+
p,
|
|
129
|
+
I,
|
|
130
|
+
C,
|
|
131
|
+
y,
|
|
132
|
+
n,
|
|
133
|
+
x,
|
|
134
|
+
m,
|
|
135
|
+
_,
|
|
136
|
+
z,
|
|
137
|
+
M
|
|
138
|
+
];
|
|
139
|
+
}
|
|
140
|
+
class $ extends q {
|
|
141
|
+
constructor(t) {
|
|
142
|
+
super(), A(
|
|
143
|
+
this,
|
|
144
|
+
t,
|
|
145
|
+
Z,
|
|
146
|
+
Y,
|
|
147
|
+
U,
|
|
148
|
+
{
|
|
149
|
+
lang: 9,
|
|
150
|
+
dailybackground: 0,
|
|
151
|
+
dailyicon: 1,
|
|
152
|
+
dailyday: 2,
|
|
153
|
+
dailydescription: 10,
|
|
154
|
+
dailybuttontitle: 3,
|
|
155
|
+
index: 4,
|
|
156
|
+
clientstyling: 11,
|
|
157
|
+
clientstylingurl: 12
|
|
158
|
+
},
|
|
159
|
+
X
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
get lang() {
|
|
163
|
+
return this.$$.ctx[9];
|
|
164
|
+
}
|
|
165
|
+
set lang(t) {
|
|
166
|
+
this.$$set({ lang: t }), b();
|
|
167
|
+
}
|
|
168
|
+
get dailybackground() {
|
|
169
|
+
return this.$$.ctx[0];
|
|
170
|
+
}
|
|
171
|
+
set dailybackground(t) {
|
|
172
|
+
this.$$set({ dailybackground: t }), b();
|
|
173
|
+
}
|
|
174
|
+
get dailyicon() {
|
|
175
|
+
return this.$$.ctx[1];
|
|
176
|
+
}
|
|
177
|
+
set dailyicon(t) {
|
|
178
|
+
this.$$set({ dailyicon: t }), b();
|
|
179
|
+
}
|
|
180
|
+
get dailyday() {
|
|
181
|
+
return this.$$.ctx[2];
|
|
182
|
+
}
|
|
183
|
+
set dailyday(t) {
|
|
184
|
+
this.$$set({ dailyday: t }), b();
|
|
185
|
+
}
|
|
186
|
+
get dailydescription() {
|
|
187
|
+
return this.$$.ctx[10];
|
|
188
|
+
}
|
|
189
|
+
set dailydescription(t) {
|
|
190
|
+
this.$$set({ dailydescription: t }), b();
|
|
191
|
+
}
|
|
192
|
+
get dailybuttontitle() {
|
|
193
|
+
return this.$$.ctx[3];
|
|
194
|
+
}
|
|
195
|
+
set dailybuttontitle(t) {
|
|
196
|
+
this.$$set({ dailybuttontitle: t }), b();
|
|
197
|
+
}
|
|
198
|
+
get index() {
|
|
199
|
+
return this.$$.ctx[4];
|
|
200
|
+
}
|
|
201
|
+
set index(t) {
|
|
202
|
+
this.$$set({ index: t }), b();
|
|
203
|
+
}
|
|
204
|
+
get clientstyling() {
|
|
205
|
+
return this.$$.ctx[11];
|
|
206
|
+
}
|
|
207
|
+
set clientstyling(t) {
|
|
208
|
+
this.$$set({ clientstyling: t }), b();
|
|
209
|
+
}
|
|
210
|
+
get clientstylingurl() {
|
|
211
|
+
return this.$$.ctx[12];
|
|
212
|
+
}
|
|
213
|
+
set clientstylingurl(t) {
|
|
214
|
+
this.$$set({ clientstylingurl: t }), b();
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
O($, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
218
|
+
export {
|
|
219
|
+
$ as default
|
|
220
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CAqQpf-Q.cjs");function B({withLocale:n,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function M(n){e.append_styles(n,"svelte-1jtwzs1",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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 t,l,h,c,g,m,a,f,d,p,b,u,s,k,C,z,x,y,F,w,v,_,i;return{c(){t=e.element("div"),l=e.element("div"),h=e.element("div"),c=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',m=e.space(),a=e.element("div"),f=e.element("div"),d=e.element("img"),b=e.space(),u=e.element("div"),s=e.text(n[2]),k=e.space(),C=e.element("div"),z=e.space(),x=e.element("div"),y=e.element("button"),F=e.text(n[3]),e.attr(g,"class","CalendarBar"),e.src_url_equal(d.src,p=n[1])||e.attr(d,"src",p),e.attr(d,"alt",n[1]),e.attr(f,"class","CasinoCalendarDailyIcon"),e.attr(u,"class","CasinoCalendarDailyTitle"),e.attr(C,"class","CasinoCalendarDailyItemDescription"),e.attr(y,"class","MoreInfoButton"),e.attr(x,"class","CasinoCalendarDailyItemButton"),e.attr(a,"class",w="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(a,"background-image","url('"+n[0]+"')"),e.set_style(a,"background-size","cover"),e.set_style(a,"background-position","center"),e.set_style(a,"-webkit-background-size","cover"),e.set_style(a,"-moz-background-size","cover"),e.set_style(a,"-o-background-size","cover"),e.attr(c,"class","CalendarCard"),e.attr(h,"class","CasinoCalendarItems"),e.attr(l,"class",v="Container "+(n[7]?"Mobile":""))},m(o,r){e.insert(o,t,r),e.append(t,l),e.append(l,h),e.append(h,c),e.append(c,g),e.append(c,m),e.append(c,a),e.append(a,f),e.append(f,d),e.append(a,b),e.append(a,u),e.append(u,s),e.append(a,k),e.append(a,C),n[13](C),e.append(a,z),e.append(a,x),e.append(x,y),e.append(y,F),n[15](t),_||(i=e.listen(y,"click",n[14]),_=!0)},p(o,[r]){r&2&&!e.src_url_equal(d.src,p=o[1])&&e.attr(d,"src",p),r&2&&e.attr(d,"alt",o[1]),r&4&&e.set_data(s,o[2]),r&8&&e.set_data(F,o[3]),r&16&&w!==(w="CasinoCalendarItemBackground CalendarPage "+(o[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(a,"class",w),r&1&&e.set_style(a,"background-image","url('"+o[0]+"')"),r&128&&v!==(v="Container "+(o[7]?"Mobile":""))&&e.attr(l,"class",v)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),n[13](null),n[15](null),_=!1,i()}}}function L(n,t,l){let{lang:h=""}=t,{dailybackground:c=""}=t,{dailyicon:g=""}=t,{dailyday:m=""}=t,{dailydescription:a="<p></p>"}=t,{dailybuttontitle:f=""}=t,{index:d="0"}=t,{clientstyling:p=""}=t,{clientstylingurl:b=""}=t;B({withLocale:"en",translations:{}});let u,s,k=!1,C=window.navigator.userAgent;const z=()=>{let i=document.createElement("div");i.innerHTML=a,u&&u.append(i)},x=()=>{window.postMessage({type:"OpenCalendar",index:d},window.location.href),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})},y=()=>{let i=document.createElement("style");i.innerHTML=p,s.appendChild(i)},F=()=>{let i=new URL(b),o=document.createElement("style");fetch(i.href).then(r=>r.text()).then(r=>{o.innerHTML=r,setTimeout(()=>{s.appendChild(o)},1),setTimeout(()=>{},500)})};e.onMount(()=>{e.isMobile(C)&&l(7,k=!0)});function w(i){e.binding_callbacks[i?"unshift":"push"](()=>{u=i,l(6,u)})}const v=()=>x();function _(i){e.binding_callbacks[i?"unshift":"push"](()=>{s=i,l(5,s)})}return n.$$set=i=>{"lang"in i&&l(9,h=i.lang),"dailybackground"in i&&l(0,c=i.dailybackground),"dailyicon"in i&&l(1,g=i.dailyicon),"dailyday"in i&&l(2,m=i.dailyday),"dailydescription"in i&&l(10,a=i.dailydescription),"dailybuttontitle"in i&&l(3,f=i.dailybuttontitle),"index"in i&&l(4,d=i.index),"clientstyling"in i&&l(11,p=i.clientstyling),"clientstylingurl"in i&&l(12,b=i.clientstylingurl)},n.$$.update=()=>{n.$$.dirty&1039&&g&&m&&a&&f&&c&&z(),n.$$.dirty&2080&&p&&s&&y(),n.$$.dirty&4128&&b&&s&&F()},[c,g,m,f,d,s,u,k,x,h,a,p,b,w,v,_]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,L,D,e.safe_not_equal,{lang:9,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:10,dailybuttontitle:3,index:4,clientstyling:11,clientstylingurl:12},M)}get lang(){return this.$$.ctx[9]}set lang(t){this.$$set({lang:t}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(t){this.$$set({dailybackground:t}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(t){this.$$set({dailyicon:t}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(t){this.$$set({dailyday:t}),e.flush()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(t){this.$$set({dailydescription:t}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),e.flush()}get index(){return this.$$.ctx[4]}set index(t){this.$$set({index:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(I,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=I;
|