@everymatrix/casino-random-game 1.4.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -623,7 +623,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
623
623
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
624
624
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
625
625
|
PERFORMANCE OF THIS SOFTWARE.
|
|
626
|
-
***************************************************************************** */function jr(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}const Vr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Wr(){return Vr}const Xr=Wt(!1);let zr;const Kr=Wt(null);function Yr(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Zr(t,e=Wr().fallbackLocale){const r=Yr(t);return e?[...new Set([...r,...Yr(e)])]:r}function Jr(){return null!=zr?zr:void 0}Kr.subscribe((t=>{zr=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const qr=Object.assign(Object.assign({},Kr),{set:t=>{if(t&&function(t){if(null==t)return;const e=Zr(t);for(let t=0;t<e.length;t++){const r=e[t];if(Nr(r))return r}}(t)&&Fr(t)){const{loadingDelay:e}=Wr();let r;return"undefined"!=typeof window&&null!=Jr()&&e?r=window.setTimeout((()=>Xr.set(!0)),e):Xr.set(!0),$r(t).then((()=>{Kr.set(t)})).finally((()=>{clearTimeout(r),Xr.set(!1)}))}return Kr.set(t)}}),Qr=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},tn=(t,e)=>{const{formats:r}=Wr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},en=Qr((t=>{var{locale:e,format:r}=t,n=jr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=tn("number",r)),new Intl.NumberFormat(e,n)})),rn=Qr((t=>{var{locale:e,format:r}=t,n=jr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=tn("date",r):0===Object.keys(n).length&&(n=tn("date","short")),new Intl.DateTimeFormat(e,n)})),nn=Qr((t=>{var{locale:e,format:r}=t,n=jr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=tn("time",r):0===Object.keys(n).length&&(n=tn("time","short")),new Intl.DateTimeFormat(e,n)})),on=Qr(((t,e=Jr())=>new Rr(t,e,Wr().formats,{ignoreTag:Wr().ignoreTag}))),an=(t,e={})=>{var r,n,o,i;let a=e;"object"==typeof t&&(a=t,t=a.id);const{values:s,locale:l=Jr(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Cr(t,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(i=null!==(o=null===(n=(r=Wr()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:t,defaultValue:u}))&&void 0!==o?o:u)&&void 0!==i?i:t;if(!s)return c;let h=c;try{h=on(c,l).format(s)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},sn=(t,e)=>((t={})=>{var{locale:e=Jr()}=t,r=jr(t,["locale"]);return nn(Object.assign({locale:e},r))})(e).format(t),ln=(t,e)=>((t={})=>{var{locale:e=Jr()}=t,r=jr(t,["locale"]);return rn(Object.assign({locale:e},r))})(e).format(t),un=(t,e)=>((t={})=>{var{locale:e=Jr()}=t,r=jr(t,["locale"]);return en(Object.assign({locale:e},r))})(e).format(t),cn=(t,e=Jr())=>Cr(t,e),hn=Xt([qr,xr],(()=>an));Xt([qr],(()=>sn)),Xt([qr],(()=>ln)),Xt([qr],(()=>un)),Xt([qr,xr],(()=>cn)),window.emWidgets={topic:(t,e=0)=>{if(-1==$t.indexOf(t)){let r=new kt(e);jt[t]=r,$t.push(t)}return jt[t]}};function fn(t,e){Mr(t,e)}const pn={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"
|
|
626
|
+
***************************************************************************** */function jr(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}const Vr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Wr(){return Vr}const Xr=Wt(!1);let zr;const Kr=Wt(null);function Yr(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Zr(t,e=Wr().fallbackLocale){const r=Yr(t);return e?[...new Set([...r,...Yr(e)])]:r}function Jr(){return null!=zr?zr:void 0}Kr.subscribe((t=>{zr=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const qr=Object.assign(Object.assign({},Kr),{set:t=>{if(t&&function(t){if(null==t)return;const e=Zr(t);for(let t=0;t<e.length;t++){const r=e[t];if(Nr(r))return r}}(t)&&Fr(t)){const{loadingDelay:e}=Wr();let r;return"undefined"!=typeof window&&null!=Jr()&&e?r=window.setTimeout((()=>Xr.set(!0)),e):Xr.set(!0),$r(t).then((()=>{Kr.set(t)})).finally((()=>{clearTimeout(r),Xr.set(!1)}))}return Kr.set(t)}}),Qr=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},tn=(t,e)=>{const{formats:r}=Wr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},en=Qr((t=>{var{locale:e,format:r}=t,n=jr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=tn("number",r)),new Intl.NumberFormat(e,n)})),rn=Qr((t=>{var{locale:e,format:r}=t,n=jr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=tn("date",r):0===Object.keys(n).length&&(n=tn("date","short")),new Intl.DateTimeFormat(e,n)})),nn=Qr((t=>{var{locale:e,format:r}=t,n=jr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=tn("time",r):0===Object.keys(n).length&&(n=tn("time","short")),new Intl.DateTimeFormat(e,n)})),on=Qr(((t,e=Jr())=>new Rr(t,e,Wr().formats,{ignoreTag:Wr().ignoreTag}))),an=(t,e={})=>{var r,n,o,i;let a=e;"object"==typeof t&&(a=t,t=a.id);const{values:s,locale:l=Jr(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Cr(t,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(i=null!==(o=null===(n=(r=Wr()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:t,defaultValue:u}))&&void 0!==o?o:u)&&void 0!==i?i:t;if(!s)return c;let h=c;try{h=on(c,l).format(s)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},sn=(t,e)=>((t={})=>{var{locale:e=Jr()}=t,r=jr(t,["locale"]);return nn(Object.assign({locale:e},r))})(e).format(t),ln=(t,e)=>((t={})=>{var{locale:e=Jr()}=t,r=jr(t,["locale"]);return rn(Object.assign({locale:e},r))})(e).format(t),un=(t,e)=>((t={})=>{var{locale:e=Jr()}=t,r=jr(t,["locale"]);return en(Object.assign({locale:e},r))})(e).format(t),cn=(t,e=Jr())=>Cr(t,e),hn=Xt([qr,xr],(()=>an));Xt([qr],(()=>sn)),Xt([qr],(()=>ln)),Xt([qr],(()=>un)),Xt([qr,xr],(()=>cn)),window.emWidgets={topic:(t,e=0)=>{if(-1==$t.indexOf(t)){let r=new kt(e);jt[t]=r,$t.push(t)}return jt[t]}};function fn(t,e){Mr(t,e)}const pn={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};
|
|
627
627
|
/* src/CasinoRandomGame.svelte generated by Svelte v3.48.0 */function dn(t,e,r){const n=t.slice();return n[34]=e[r],n[36]=r,n}
|
|
628
628
|
// (138:4) {#if show}
|
|
629
629
|
function mn(t){let e,r,n,o,i,a,s,l=!/*slotDone*/t[7]&&yn(t),u=/*slotDone*/t[7]&&gn(t);return{c(){e=p("div"),r=p("div"),n=p("span"),n.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=m(),l&&l.c(),i=m(),u&&u.c(),b(n,"class","ModalCloseBtn"),b(n,"part","ModalCloseBtn"),b(n,"role","button"),b(r,"class","ModalContainer"),b(r,"part","ModalContainer"),b(e,"class","ModalWindow"),b(e,"part","ModalWindow")},m(f,p){h(f,e,p),c(e,r),c(r,n),c(r,o),l&&l.m(r,null),c(r,i),u&&u.m(r,null),a||(s=y(n,"click",/*closeModal*/t[11]),a=!0)},p(t,e){/*slotDone*/t[7]?l&&(l.d(1),l=null):l?l.p(t,e):(l=yn(t),l.c(),l.m(r,i)),/*slotDone*/t[7]?u?u.p(t,e):(u=gn(t),u.c(),u.m(r,null)):u&&(u.d(1),u=null)},d(t){t&&f(e),l&&l.d(),u&&u.d(),a=!1,s()}}}
|
|
@@ -643,5 +643,5 @@ return t[1]?En:/*buttontext*/t[1]?void 0:vn}let v=g(e),E=v&&v(e);return{c(){r=p(
|
|
|
643
643
|
/*dictionary.set(translations);
|
|
644
644
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(pn).forEach((t=>{fn(t,pn[t])}));const S=()=>{r(4,a=R(a)),r(6,T=0),B=0,r(7,A=!1),r(3,E=v[Math.floor(Math.random()*v.length)]),r(5,_=!0)},P=t=>{if(g)do{S()}while(!g.includes(E.vendor.name));else S();let e=setInterval((()=>{r(6,T-=100),B++,20==B&&(r(7,A=!0),clearInterval(e))}),100);t&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:`${E.gId||E.id}`})},R=t=>{let e,r=t.length;for(;0!=r;)e=Math.floor(Math.random()*r),r--,[t[r],t[e]]=[t[e],t[r]];return t},L=()=>{window.postMessage({type:h,gameId:E.gId||E.id},window.location.href),r(5,_=!1),
|
|
645
645
|
//Analytics event
|
|
646
|
-
"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:`${E.gId||E.id}`})},O=()=>{var t;t=f,qr.set(t)};return t.$$set=t=>{"endpoint"in t&&r(12,l=t.endpoint),"datasource"in t&&r(13,c=t.datasource),"gameevent"in t&&r(14,h=t.gameevent),"lang"in t&&r(15,f=t.lang),"randombuttonicon"in t&&r(0,p=t.randombuttonicon),"buttontext"in t&&r(1,d=t.buttontext),"translationurl"in t&&r(16,m=t.translationurl),"clientstyling"in t&&r(17,y=t.clientstyling),"clientstylingurl"in t&&r(18,b=t.clientstylingurl),"filteredrandomgamecategories"in t&&r(19,g=t.filteredrandomgamecategories)},t.$$.update=()=>{/*lang*/32768&t.$$.dirty[0]&&f&&O(),/*translationurl*/65536&t.$$.dirty[0]&&m&&fetch(m).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{fn(e,t[e])}))})).catch((t=>{console.log(t)})),/*endpoint, datasource*/12288&t.$$.dirty[0]&&l&&c&&(()=>{let t=new URL(`${l}/casino/games`);t.searchParams.append("platform",(t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")(H)),t.searchParams.append("datasource",c),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),t.searchParams.append("expand","vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then((t=>t.json())).then((t=>{v=t.items,r(4,a=v.slice(0,19))}))})(),/*clientstyling, customStylingContainer*/131076&t.$$.dirty[0]&&y&&s&&(()=>{let t=document.createElement("style");t.innerHTML=y,s.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/262148&t.$$.dirty[0]&&b&&s&&(()=>{let t=new URL(b),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{s.appendChild(e)}),1)}))})()},[p,d,s,E,a,_,T,A,n,P,L,()=>{r(5,_=!1)},l,c,h,f,m,y,b,g,()=>P(!0),()=>L(),()=>P(),function(t){w[t?"unshift":"push"]((()=>{s=t,r(2,s)}))}]}class wn extends G{constructor(t){super(),this.shadowRoot.innerHTML=
|
|
646
|
+
"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:`${E.gId||E.id}`})},O=()=>{var t;t=f,qr.set(t)};return t.$$set=t=>{"endpoint"in t&&r(12,l=t.endpoint),"datasource"in t&&r(13,c=t.datasource),"gameevent"in t&&r(14,h=t.gameevent),"lang"in t&&r(15,f=t.lang),"randombuttonicon"in t&&r(0,p=t.randombuttonicon),"buttontext"in t&&r(1,d=t.buttontext),"translationurl"in t&&r(16,m=t.translationurl),"clientstyling"in t&&r(17,y=t.clientstyling),"clientstylingurl"in t&&r(18,b=t.clientstylingurl),"filteredrandomgamecategories"in t&&r(19,g=t.filteredrandomgamecategories)},t.$$.update=()=>{/*lang*/32768&t.$$.dirty[0]&&f&&O(),/*translationurl*/65536&t.$$.dirty[0]&&m&&fetch(m).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{fn(e,t[e])}))})).catch((t=>{console.log(t)})),/*endpoint, datasource*/12288&t.$$.dirty[0]&&l&&c&&(()=>{let t=new URL(`${l}/casino/games`);t.searchParams.append("platform",(t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")(H)),t.searchParams.append("datasource",c),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),t.searchParams.append("expand","vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then((t=>t.json())).then((t=>{v=t.items,r(4,a=v.slice(0,19))}))})(),/*clientstyling, customStylingContainer*/131076&t.$$.dirty[0]&&y&&s&&(()=>{let t=document.createElement("style");t.innerHTML=y,s.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/262148&t.$$.dirty[0]&&b&&s&&(()=>{let t=new URL(b),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{s.appendChild(e)}),1)}))})()},[p,d,s,E,a,_,T,A,n,P,L,()=>{r(5,_=!1)},l,c,h,f,m,y,b,g,()=>P(!0),()=>L(),()=>P(),function(t){w[t?"unshift":"push"]((()=>{s=t,r(2,s)}))}]}class wn extends G{constructor(t){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>',N(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Tn,_n,i,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),t&&(t.target&&h(t.target,this,t.anchor),t.props&&(this.$set(t.props),O()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),O()}get datasource(){return this.$$.ctx[13]}set datasource(t){this.$$set({datasource:t}),O()}get gameevent(){return this.$$.ctx[14]}set gameevent(t){this.$$set({gameevent:t}),O()}get lang(){return this.$$.ctx[15]}set lang(t){this.$$set({lang:t}),O()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),O()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),O()}get translationurl(){return this.$$.ctx[16]}set translationurl(t){this.$$set({translationurl:t}),O()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(t){this.$$set({clientstyling:t}),O()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),O()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),O()}}return!customElements.get("casino-random-game")&&customElements.define("casino-random-game",wn),wn}));
|
|
647
647
|
//# sourceMappingURL=casino-random-game.js.map
|