@everymatrix/casino-random-game 0.0.282 → 0.0.283

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.
@@ -562,7 +562,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
562
562
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
563
563
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
564
564
  PERFORMANCE OF THIS SOFTWARE.
565
- ***************************************************************************** */function Gr(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 Dr={fallbackLocale:null,initialLocale: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,ignoreTag:!0};function Fr(){return Dr}const kr=$t(!1);let jr;const $r=$t(null);function Br(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Vr(t,e=Fr().fallbackLocale){const r=Br(t);return e?[...new Set([...r,...Br(e)])]:r}function zr(){return jr}$r.subscribe((t=>{jr=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)}));const Xr=$r.set;$r.set=t=>{if(function(t){if(null==t)return;const e=Vr(t);for(let t=0;t<e.length;t++){const r=e[t];if(Rr(r))return r}}(t)&&Mr(t)){const{loadingDelay:e}=Fr();let r;return"undefined"!=typeof window&&null!=zr()&&e?r=window.setTimeout((()=>kr.set(!0)),e):kr.set(!0),Ur(t).then((()=>{Xr(t)})).finally((()=>{clearTimeout(r),kr.set(!1)}))}return Xr(t)},$r.update=t=>Xr(t(jr));const Wr=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Hr=(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.`)},Yr=Wr((t=>{var{locale:e,format:r}=t,n=Gr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Hr("number",r)),new Intl.NumberFormat(e,n)})),qr=Wr((t=>{var{locale:e,format:r}=t,n=Gr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Hr("date",r):0===Object.keys(n).length&&(n=Hr("date","short")),new Intl.DateTimeFormat(e,n)})),Kr=Wr((t=>{var{locale:e,format:r}=t,n=Gr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Hr("time",r):0===Object.keys(n).length&&(n=Hr("time","short")),new Intl.DateTimeFormat(e,n)})),Zr=Wr(((t,e=zr())=>new wr(t,e,Fr().formats,{ignoreTag:Fr().ignoreTag}))),Qr=(t,e={})=>{"object"==typeof t&&(t=(e=t).id);const{values:r,locale:n=zr(),default:o}=e;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Pr(t,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Fr().warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${Vr(n).join('", "')}".${Mr(zr())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||t;if(!r)return i;let s=i;try{s=Zr(i,n).format(r)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s},Jr=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Gr(t,["locale"]);return Kr(Object.assign({locale:e},r))})(e).format(t),tn=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Gr(t,["locale"]);return qr(Object.assign({locale:e},r))})(e).format(t),en=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Gr(t,["locale"]);return Yr(Object.assign({locale:e},r))})(e).format(t),rn=(t,e=zr())=>Pr(t,e),nn=Bt([$r,Lr],(()=>Qr));Bt([$r],(()=>Jr)),Bt([$r],(()=>tn)),Bt([$r],(()=>en)),Bt([$r,Lr],(()=>rn)),window.emWidgets={topic:(t,e=0)=>{if(-1==Ft.indexOf(t)){let r=new Dt(e);kt[t]=r,Ft.push(t)}return kt[t]}};const on={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}}};
565
+ ***************************************************************************** */function Gr(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 Dr={fallbackLocale:null,initialLocale: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,ignoreTag:!0};function Fr(){return Dr}const kr=$t(!1);let jr;const $r=$t(null);function Br(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Vr(t,e=Fr().fallbackLocale){const r=Br(t);return e?[...new Set([...r,...Br(e)])]:r}function zr(){return jr}$r.subscribe((t=>{jr=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)}));const Xr=$r.set;$r.set=t=>{if(function(t){if(null==t)return;const e=Vr(t);for(let t=0;t<e.length;t++){const r=e[t];if(Rr(r))return r}}(t)&&Mr(t)){const{loadingDelay:e}=Fr();let r;return"undefined"!=typeof window&&null!=zr()&&e?r=window.setTimeout((()=>kr.set(!0)),e):kr.set(!0),Ur(t).then((()=>{Xr(t)})).finally((()=>{clearTimeout(r),kr.set(!1)}))}return Xr(t)},$r.update=t=>Xr(t(jr));const Wr=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Hr=(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.`)},Yr=Wr((t=>{var{locale:e,format:r}=t,n=Gr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Hr("number",r)),new Intl.NumberFormat(e,n)})),qr=Wr((t=>{var{locale:e,format:r}=t,n=Gr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Hr("date",r):0===Object.keys(n).length&&(n=Hr("date","short")),new Intl.DateTimeFormat(e,n)})),Kr=Wr((t=>{var{locale:e,format:r}=t,n=Gr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Hr("time",r):0===Object.keys(n).length&&(n=Hr("time","short")),new Intl.DateTimeFormat(e,n)})),Zr=Wr(((t,e=zr())=>new wr(t,e,Fr().formats,{ignoreTag:Fr().ignoreTag}))),Qr=(t,e={})=>{"object"==typeof t&&(t=(e=t).id);const{values:r,locale:n=zr(),default:o}=e;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Pr(t,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Fr().warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${Vr(n).join('", "')}".${Mr(zr())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||t;if(!r)return i;let s=i;try{s=Zr(i,n).format(r)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s},Jr=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Gr(t,["locale"]);return Kr(Object.assign({locale:e},r))})(e).format(t),tn=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Gr(t,["locale"]);return qr(Object.assign({locale:e},r))})(e).format(t),en=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Gr(t,["locale"]);return Yr(Object.assign({locale:e},r))})(e).format(t),rn=(t,e=zr())=>Pr(t,e),nn=Bt([$r,Lr],(()=>Qr));Bt([$r],(()=>Jr)),Bt([$r],(()=>tn)),Bt([$r],(()=>en)),Bt([$r,Lr],(()=>rn)),window.emWidgets={topic:(t,e=0)=>{if(-1==Ft.indexOf(t)){let r=new Dt(e);kt[t]=r,Ft.push(t)}return kt[t]}};const on={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rasgele bir oyun oyna",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}}};
566
566
  /* src/CasinoRandomGame.svelte generated by Svelte v3.37.0 */function sn(t,e,r){const n=t.slice();return n[22]=e[r],n[24]=r,n}
567
567
  // (77:4) {#if show}
568
568
  function an(t){let e,r,n,o,i,s,f,m=!/*slotDone*/t[4]&&cn(t),y=/*slotDone*/t[4]&&ln(t);return{c(){e=l("div"),r=l("div"),n=l("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=p(),m&&m.c(),i=p(),y&&y.c(),d(n,"class","ModalCloseBtn"),d(n,"part","ModalCloseBtn"),d(n,"role","button"),d(r,"class","ModalContainer"),d(r,"part","ModalContainer"),d(e,"class","ModalWindow"),d(e,"part","ModalWindow")},m(u,l){c(u,e,l),a(e,r),a(r,n),a(r,o),m&&m.m(r,null),a(r,i),y&&y.m(r,null),s||(f=h(n,"click",/*closeModal*/t[8]),s=!0)},p(t,e){/*slotDone*/t[4]?m&&(m.d(1),m=null):m?m.p(t,e):(m=cn(t),m.c(),m.m(r,i)),/*slotDone*/t[4]?y?y.p(t,e):(y=ln(t),y.c(),y.m(r,null)):y&&(y.d(1),y=null)},d(t){t&&u(e),m&&m.d(),y&&y.d(),s=!1,f()}}}