@everymatrix/casino-random-game 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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()}}}
|