@everymatrix/casino-random-game 1.12.0 → 1.12.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.
|
@@ -626,18 +626,18 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
626
626
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
627
627
|
Copyrights licensed under the New BSD License.
|
|
628
628
|
See the accompanying LICENSE file for terms.
|
|
629
|
-
*/const Hr={},Sr=(t,e,r)=>r?(e in Hr||(Hr[e]={}),t in Hr[e]||(Hr[e][t]=r),r):r,Pr=(t,e)=>{if(null==e)return;if(e in Hr&&t in Hr[e])return Hr[e][t];const r=Wr(e);for(let n=0;n<r.length;n++){const o=Cr(r[n],t);if(o)return Sr(t,e,o)}};let Rr;const Lr=$t({});function Or(t){return t in Rr}function Cr(t,e){if(!Or(t))return null;const r=function(t){return Rr[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function Ir(t,...e){delete Hr[t],Lr.update((r=>(r[t]=Jt.all([r[t]||{},...e]),r)))}kt([Lr],(([t])=>Object.keys(t))),Lr.subscribe((t=>Rr=t));const xr={};function Nr(t){return xr[t]}function Mr(t){return null!=t&&Wr(t).some((t=>{var e;return null===(e=Nr(t))||void 0===e?void 0:e.size}))}const Gr={};function Ur(t){if(!Mr(t))return t in Gr?Gr[t]:Promise.resolve();const e=function(t){return Wr(t).map((t=>{const e=Nr(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Gr[t]=Promise.all(e.map((([t,e])=>function(t,e){const r=Promise.all(e.map((e=>(function(t,e){xr[t].delete(e),0===xr[t].size&&delete xr[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>Ir(t,...e)))}(t,e)))).then((()=>{if(Mr(t))return Ur(t);delete Gr[t]})),Gr[t]}const Dr={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 Fr(){return Dr}const $r=$t(!1);let kr;const jr=$t(null);function Vr(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Wr(t,e=Fr().fallbackLocale){const r=Vr(t);return e?[...new Set([...r,...Vr(e)])]:r}function Xr(){return null!=kr?kr:void 0}jr.subscribe((t=>{kr=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const zr={...jr,set:t=>{if(t&&function(t){if(null==t)return;const e=Wr(t);for(let t=0;t<e.length;t++){const r=e[t];if(Or(r))return r}}(t)&&Mr(t)){const{loadingDelay:e}=Fr();let r;return"undefined"!=typeof window&&null!=Xr()&&e?r=window.setTimeout((()=>$r.set(!0)),e):$r.set(!0),Ur(t).then((()=>{jr.set(t)})).finally((()=>{clearTimeout(r),$r.set(!1)}))}return jr.set(t)}},Kr=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Yr=(t,e)=>{const{formats:r}=Fr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Zr=Kr((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return e&&(r=Yr("number",e)),new Intl.NumberFormat(t,r)})),Jr=Kr((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return e?r=Yr("date",e):0===Object.keys(r).length&&(r=Yr("date","short")),new Intl.DateTimeFormat(t,r)})),qr=Kr((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return e?r=Yr("time",e):0===Object.keys(r).length&&(r=Yr("time","short")),new Intl.DateTimeFormat(t,r)})),Qr=Kr(((t,e=Xr())=>new Ar(t,e,Fr().formats,{ignoreTag:Fr().ignoreTag}))),tn=(t,e={})=>{var r,n,o,i;let a=e;"object"==typeof t&&(a=t,t=a.id);const{values:s,locale:l=Xr(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Pr(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=Fr()).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=Qr(c,l).format(s)}catch(e){e instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},en=(t,e)=>(({locale:t=Xr(),...e}={})=>qr({locale:t,...e}))(e).format(t),rn=(t,e)=>(({locale:t=Xr(),...e}={})=>Jr({locale:t,...e}))(e).format(t),nn=(t,e)=>(({locale:t=Xr(),...e}={})=>Zr({locale:t,...e}))(e).format(t),on=(t,e=Xr())=>Pr(t,e),an=kt([zr,Lr],(()=>tn));kt([zr],(()=>en)),kt([zr],(()=>rn)),kt([zr],(()=>nn)),kt([zr,Lr],(()=>on)),window.emWidgets={topic:(t,e=0)=>{if(-1==Ut.indexOf(t)){let r=new Gt(e);Dt[t]=r,Ut.push(t)}return Dt[t]}};function sn(t,e){Ir(t,e)}const ln={en:{
|
|
629
|
+
*/const Hr={},Sr=(t,e,r)=>r?(e in Hr||(Hr[e]={}),t in Hr[e]||(Hr[e][t]=r),r):r,Pr=(t,e)=>{if(null==e)return;if(e in Hr&&t in Hr[e])return Hr[e][t];const r=Wr(e);for(let n=0;n<r.length;n++){const o=Cr(r[n],t);if(o)return Sr(t,e,o)}};let Rr;const Lr=$t({});function Or(t){return t in Rr}function Cr(t,e){if(!Or(t))return null;const r=function(t){return Rr[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}function Ir(t,...e){delete Hr[t],Lr.update((r=>(r[t]=Jt.all([r[t]||{},...e]),r)))}kt([Lr],(([t])=>Object.keys(t))),Lr.subscribe((t=>Rr=t));const xr={};function Nr(t){return xr[t]}function Mr(t){return null!=t&&Wr(t).some((t=>{var e;return null===(e=Nr(t))||void 0===e?void 0:e.size}))}const Gr={};function Ur(t){if(!Mr(t))return t in Gr?Gr[t]:Promise.resolve();const e=function(t){return Wr(t).map((t=>{const e=Nr(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Gr[t]=Promise.all(e.map((([t,e])=>function(t,e){const r=Promise.all(e.map((e=>(function(t,e){xr[t].delete(e),0===xr[t].size&&delete xr[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>Ir(t,...e)))}(t,e)))).then((()=>{if(Mr(t))return Ur(t);delete Gr[t]})),Gr[t]}const Dr={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 Fr(){return Dr}const $r=$t(!1);let kr;const jr=$t(null);function Vr(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Wr(t,e=Fr().fallbackLocale){const r=Vr(t);return e?[...new Set([...r,...Vr(e)])]:r}function Xr(){return null!=kr?kr:void 0}jr.subscribe((t=>{kr=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const zr={...jr,set:t=>{if(t&&function(t){if(null==t)return;const e=Wr(t);for(let t=0;t<e.length;t++){const r=e[t];if(Or(r))return r}}(t)&&Mr(t)){const{loadingDelay:e}=Fr();let r;return"undefined"!=typeof window&&null!=Xr()&&e?r=window.setTimeout((()=>$r.set(!0)),e):$r.set(!0),Ur(t).then((()=>{jr.set(t)})).finally((()=>{clearTimeout(r),$r.set(!1)}))}return jr.set(t)}},Kr=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Yr=(t,e)=>{const{formats:r}=Fr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Zr=Kr((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return e&&(r=Yr("number",e)),new Intl.NumberFormat(t,r)})),Jr=Kr((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return e?r=Yr("date",e):0===Object.keys(r).length&&(r=Yr("date","short")),new Intl.DateTimeFormat(t,r)})),qr=Kr((({locale:t,format:e,...r})=>{if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return e?r=Yr("time",e):0===Object.keys(r).length&&(r=Yr("time","short")),new Intl.DateTimeFormat(t,r)})),Qr=Kr(((t,e=Xr())=>new Ar(t,e,Fr().formats,{ignoreTag:Fr().ignoreTag}))),tn=(t,e={})=>{var r,n,o,i;let a=e;"object"==typeof t&&(a=t,t=a.id);const{values:s,locale:l=Xr(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Pr(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=Fr()).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=Qr(c,l).format(s)}catch(e){e instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},en=(t,e)=>(({locale:t=Xr(),...e}={})=>qr({locale:t,...e}))(e).format(t),rn=(t,e)=>(({locale:t=Xr(),...e}={})=>Jr({locale:t,...e}))(e).format(t),nn=(t,e)=>(({locale:t=Xr(),...e}={})=>Zr({locale:t,...e}))(e).format(t),on=(t,e=Xr())=>Pr(t,e),an=kt([zr,Lr],(()=>tn));kt([zr],(()=>en)),kt([zr],(()=>rn)),kt([zr],(()=>nn)),kt([zr,Lr],(()=>on)),window.emWidgets={topic:(t,e=0)=>{if(-1==Ut.indexOf(t)){let r=new Gt(e);Dt[t]=r,Ut.push(t)}return Dt[t]}};function sn(t,e){Ir(t,e)}const ln={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"},tr:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}};
|
|
630
630
|
/* src/CasinoRandomGame.svelte generated by Svelte v3.58.0 */function un(t,e,r){const n=t.slice();return n[35]=e[r],n[37]=r,n}
|
|
631
631
|
// (143:4) {#if show}
|
|
632
632
|
function cn(t){let e,r,n,o,i,a,s,l=!/*slotDone*/t[7]&&hn(t),u=/*slotDone*/t[7]&&pn(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=hn(t),l.c(),l.m(r,i)),/*slotDone*/t[7]?u?u.p(t,e):(u=pn(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()}}}
|
|
633
633
|
// (152:8) {#if !slotDone}
|
|
634
|
-
function hn(t){let e,r,n,o,i,a,s=/*$_*/t[8]("
|
|
634
|
+
function hn(t){let e,r,n,o,i,a,s=/*$_*/t[8]("randomGameLoading")+"",l=/*gamesToShow*/t[4],u=[];for(let e=0;e<l.length;e+=1)u[e]=fn(un(t,l,e));return{c(){e=p("div"),r=p("main"),n=p("div");for(let t=0;t<u.length;t+=1)u[t].c();o=m(),i=p("p"),a=d(s),b(n,"class","items"),b(n,"part","items"),v(n,"transform","translateY("+/*offset*/t[6]+"px)"),b(r,"class","RandomGamesSliderWrapper"),b(r,"part","RandomGamesSliderWrapper"),b(i,"class","RandomGameLoading"),b(i,"part","RandomGameLoading"),b(e,"class","RandomGameWrapper"),b(e,"part","RandomGameWrapper")},m(t,s){h(t,e,s),c(e,r),c(r,n);for(let t=0;t<u.length;t+=1)u[t]&&u[t].m(n,null);c(e,o),c(e,i),c(i,a)},p(t,e){if(/*gamesToShow*/16&e[0]){let r;for(l=/*gamesToShow*/t[4],r=0;r<l.length;r+=1){const o=un(t,l,r);u[r]?u[r].p(o,e):(u[r]=fn(o),u[r].c(),u[r].m(n,null))}for(;r<u.length;r+=1)u[r].d(1);u.length=l.length}/*offset*/64&e[0]&&v(n,"transform","translateY("+/*offset*/t[6]+"px)"),/*$_*/256&e[0]&&s!==(s=/*$_*/t[8]("randomGameLoading")+"")&&g(a,s)},d(t){t&&f(e),function(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}(u,t)}}}
|
|
635
635
|
// (156:16) {#each gamesToShow as game, i}
|
|
636
636
|
function fn(t){let e,r,n,o,i,a;return{c(){e=p("div"),r=p("img"),a=m(),b(r,"class","RandomGameImage"),b(r,"part","RandomGameImage"),l(r.src,n=/*game*/t[35].thumbnail)||b(r,"src",n),b(r,"alt",o=/*game*/t[35].name),b(r,"title",i=/*game*/t[35].name),b(e,"class","item"),b(e,"part","item")},m(t,n){h(t,e,n),c(e,r),c(e,a)},p(t,e){/*gamesToShow*/16&e[0]&&!l(r.src,n=/*game*/t[35].thumbnail)&&b(r,"src",n),/*gamesToShow*/16&e[0]&&o!==(o=/*game*/t[35].name)&&b(r,"alt",o),/*gamesToShow*/16&e[0]&&i!==(i=/*game*/t[35].name)&&b(r,"title",i)},d(t){t&&f(e)}}}
|
|
637
637
|
// (167:8) {#if slotDone}
|
|
638
|
-
function pn(t){let e,r,o,i,a,s,u,v,E,_,w,T,B,A,H,S,P,R,L,O,C=/*randomGame*/t[3].name+"",I=/*randomGame*/t[3].vendor.name+"",x=/*$_*/t[8]("
|
|
638
|
+
function pn(t){let e,r,o,i,a,s,u,v,E,_,w,T,B,A,H,S,P,R,L,O,C=/*randomGame*/t[3].name+"",I=/*randomGame*/t[3].vendor.name+"",x=/*$_*/t[8]("playNowRandomGame")+"";return{c(){e=p("div"),r=p("div"),o=p("img"),u=m(),v=p("button"),v.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',E=m(),_=p("div"),w=p("p"),T=d(C),B=m(),A=p("p"),H=d(I),S=m(),P=p("button"),R=d(x),b(o,"class","RandomGameImage"),b(o,"part","RandomGameImage"),l(o.src,i=/*randomGame*/t[3].thumbnail)||b(o,"src",i),b(o,"alt",a=/*randomGame*/t[3].name),b(o,"title",s=/*randomGame*/t[3].name),b(v,"class","RandomTryAgain"),b(v,"part","RandomTryAgain"),b(r,"class","item"),b(r,"part","item"),b(w,"class","RandomGameTitle"),b(w,"part","RandomGameTitle"),b(A,"class","RandomGameVendor"),b(A,"part","RandomGameVendor"),b(P,"class","RandomGamePlay"),b(P,"part","RandomGamePlay"),b(_,"class","RandomGameDetails"),b(_,"part","RandomGameDetails"),b(e,"class","RandomGameWrapper"),b(e,"part","RandomGameWrapper")},m(n,i){h(n,e,i),c(e,r),c(r,o),c(r,u),c(r,v),c(e,E),c(e,_),c(_,w),c(w,T),c(_,B),c(_,A),c(A,H),c(_,S),c(_,P),c(P,R),L||(O=[y(v,"click",/*click_handler*/t[20]),y(P,"click",/*click_handler_1*/t[21])],L=!0)},p(t,e){/*randomGame*/8&e[0]&&!l(o.src,i=/*randomGame*/t[3].thumbnail)&&b(o,"src",i),/*randomGame*/8&e[0]&&a!==(a=/*randomGame*/t[3].name)&&b(o,"alt",a),/*randomGame*/8&e[0]&&s!==(s=/*randomGame*/t[3].name)&&b(o,"title",s),/*randomGame*/8&e[0]&&C!==(C=/*randomGame*/t[3].name+"")&&g(T,C),/*randomGame*/8&e[0]&&I!==(I=/*randomGame*/t[3].vendor.name+"")&&g(H,I),/*$_*/256&e[0]&&x!==(x=/*$_*/t[8]("playNowRandomGame")+"")&&g(R,x)},d(t){t&&f(e),L=!1,n(O)}}}
|
|
639
639
|
// (195:30)
|
|
640
|
-
function dn(t){let e,r,n=/*$_*/t[8]("
|
|
640
|
+
function dn(t){let e,r,n=/*$_*/t[8]("playRandomGame")+"";return{c(){e=p("span"),r=d(n),b(e,"class","RandomButtonText"),b(e,"part","RandomButtonText")},m(t,n){h(t,e,n),c(e,r)},p(t,e){/*$_*/256&e[0]&&n!==(n=/*$_*/t[8]("playRandomGame")+"")&&g(r,n)},d(t){t&&f(e)}}}
|
|
641
641
|
// (193:8) {#if buttontext}
|
|
642
642
|
function mn(t){let e,r;return{c(){e=p("span"),r=d(/*buttontext*/t[1]),b(e,"class","RandomButtonText")},m(t,n){h(t,e,n),c(e,r)},p(t,e){/*buttontext*/2&e[0]&&g(r,/*buttontext*/t[1])},d(t){t&&f(e)}}}function yn(e){let r,n,o,i,a,s,l,u,d=/*show*/e[5]&&cn(e);function g(t,e){/*buttontext*/
|
|
643
643
|
return t[1]?mn:/*buttontext*/t[1]?void 0:dn}let v=g(e),E=v&&v(e);return{c(){r=p("div"),d&&d.c(),n=m(),o=p("div"),i=p("button"),E&&E.c(),a=m(),s=p("span"),this.c=t,b(s,"class","RandomButtonIcon"),b(s,"part","RandomButtonIcon"),b(i,"class","RandomButton"),b(i,"part","RandomButton"),b(o,"class","RandomButtonWrapper"),b(o,"part","RandomButtonWrapper"),b(r,"part","CustomStylingContainer")},m(t,f){h(t,r,f),d&&d.m(r,null),c(r,n),c(r,o),c(o,i),E&&E.m(i,null),c(i,a),c(i,s),s.innerHTML=/*randombuttonicon*/e[0],
|