@everymatrix/casino-collections-providers 1.24.7 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -578,7 +578,7 @@ this.formats=_t(e.formats,n),this.formatters=o&&o.formatters||(void 0===(i=this.
578
578
  // and Intl.DateTimeFormat instances.
579
579
  e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},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"}}},e}();const At={},St=(e,t,r)=>r?(t in At||(At[t]={}),e in At[t]||(At[t][e]=r),r):r,Bt=(e,t)=>{if(null==t)return;if(t in At&&e in At[t])return At[t][e];const r=qt(t);for(let n=0;n<r.length;n++){const o=Lt(r[n],e);if(o)return St(e,t,o)}};let Ht;const Ct=$({});function Pt(e){return e in Ht}function Lt(e,t){if(!Pt(e))return null;const r=function(e){return Ht[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(e>0){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(r,t)}function Ot(e,...t){delete At[e],Ct.update((r=>(r[e]=q.all([r[e]||{},...t]),r)))}F([Ct],(([e])=>Object.keys(e))),Ct.subscribe((e=>Ht=e));const It={};function Nt(e){return It[e]}function Rt(e){return null!=e&&qt(e).some((e=>{var t;return null==(t=Nt(e))?void 0:t.size}))}function Mt(e,t){const r=Promise.all(t.map((t=>(function(e,t){It[e].delete(t),0===It[e].size&&delete It[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>Ot(e,...t)))}const xt={};function Ut(e){if(!Rt(e))return e in xt?xt[e]:Promise.resolve();const t=function(e){return qt(e).map((e=>{const t=Nt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return xt[e]=Promise.all(t.map((([e,t])=>Mt(e,t)))).then((()=>{if(Rt(e))return Ut(e);delete xt[e]})),xt[e]}const Gt={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 Dt(){return Gt}const kt=$(!1);var $t=Object.defineProperty,Ft=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Kt=(e,t,r)=>t in e?$t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Yt;const Zt=$(null);function Wt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function qt(e,t=Dt().fallbackLocale){const r=Wt(e);return t?[...new Set([...r,...Wt(t)])]:r}function Jt(){return null!=Yt?Yt:void 0}Zt.subscribe((e=>{Yt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Qt=(er=((e,t)=>{for(var r in t||(t={}))Xt.call(t,r)&&Kt(e,r,t[r]);if(Vt)for(var r of Vt(t))zt.call(t,r)&&Kt(e,r,t[r]);return e})({},Zt),Ft(er,jt({set:e=>{if(e&&function(e){if(null==e)return;const t=qt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&Rt(e)){const{loadingDelay:t}=Dt();let r;return"undefined"!=typeof window&&null!=Jt()&&t?r=window.setTimeout((()=>kt.set(!0)),t):kt.set(!0),Ut(e).then((()=>{Zt.set(e)})).finally((()=>{clearTimeout(r),kt.set(!1)}))}return Zt.set(e)}})));var er;const tr=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var rr=Object.defineProperty,nr=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable,sr=(e,t,r)=>t in e?rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ar=(e,t)=>{for(var r in t||(t={}))or.call(t,r)&&sr(e,r,t[r]);if(nr)for(var r of nr(t))ir.call(t,r)&&sr(e,r,t[r]);return e},lr=(e,t)=>{var r={};for(var n in e)or.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&nr)for(var n of nr(e))t.indexOf(n)<0&&ir.call(e,n)&&(r[n]=e[n]);return r};const cr=(e,t)=>{const{formats:r}=Dt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ur=tr((e=>{var t=e,{locale:r,format:n}=t,o=lr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(o=cr("number",n)),new Intl.NumberFormat(r,o)})),hr=tr((e=>{var t=e,{locale:r,format:n}=t,o=lr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?o=cr("date",n):0===Object.keys(o).length&&(o=cr("date","short")),new Intl.DateTimeFormat(r,o)})),fr=tr((e=>{var t=e,{locale:r,format:n}=t,o=lr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?o=cr("time",n):0===Object.keys(o).length&&(o=cr("time","short")),new Intl.DateTimeFormat(r,o)})),pr=tr((
580
580
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
581
- (e,t=Jt())=>new Tt(e,t,Dt().formats,{ignoreTag:Dt().ignoreTag}))),dr=(e,t={})=>{var r,n,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Jt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Bt(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(i=null!=(o=null==(n=(r=Dt()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))?o:c)?i:e;if(!a)return u;let h=u;try{h=pr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},mr=(e,t)=>((e={})=>{var t=e,{locale:r=Jt()}=t,n=lr(t,["locale"]);return fr(ar({locale:r},n))})(t).format(e),yr=(e,t)=>((e={})=>{var t=e,{locale:r=Jt()}=t,n=lr(t,["locale"]);return hr(ar({locale:r},n))})(t).format(e),gr=(e,t)=>((e={})=>{var t=e,{locale:r=Jt()}=t,n=lr(t,["locale"]);return ur(ar({locale:r},n))})(t).format(e),br=(e,t=Jt())=>Bt(e,t),vr=F([Qt,Ct],(()=>dr));function Er(e,t){Ot(e,t)}F([Qt],(()=>mr)),F([Qt],(()=>yr)),F([Qt],(()=>gr)),F([Qt,Ct],(()=>br));const _r={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcija igara",providers:"Pružatelji igara",loading:"Učitavanje, molimo čekajte."},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};
581
+ (e,t=Jt())=>new Tt(e,t,Dt().formats,{ignoreTag:Dt().ignoreTag}))),dr=(e,t={})=>{var r,n,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Jt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Bt(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(i=null!=(o=null==(n=(r=Dt()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))?o:c)?i:e;if(!a)return u;let h=u;try{h=pr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},mr=(e,t)=>((e={})=>{var t=e,{locale:r=Jt()}=t,n=lr(t,["locale"]);return fr(ar({locale:r},n))})(t).format(e),yr=(e,t)=>((e={})=>{var t=e,{locale:r=Jt()}=t,n=lr(t,["locale"]);return hr(ar({locale:r},n))})(t).format(e),gr=(e,t)=>((e={})=>{var t=e,{locale:r=Jt()}=t,n=lr(t,["locale"]);return ur(ar({locale:r},n))})(t).format(e),br=(e,t=Jt())=>Bt(e,t),vr=F([Qt,Ct],(()=>dr));function Er(e,t){Ot(e,t)}F([Qt],(()=>mr)),F([Qt],(()=>yr)),F([Qt],(()=>gr)),F([Qt,Ct],(()=>br));const _r={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};
582
582
  /* eslint-disable no-prototype-builtins */var wr="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
583
583
  // eslint-disable-next-line no-undef
584
584
  "undefined"!=typeof global&&global||{},Tr="URLSearchParams"in wr,Ar="Symbol"in wr&&"iterator"in Symbol,Sr="FileReader"in wr&&"Blob"in wr&&function(){try{return new Blob,!0}catch(e){return!1}}(),Br="FormData"in wr,Hr="ArrayBuffer"in wr;if(Hr)var Cr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Pr=ArrayBuffer.isView||function(e){return e&&Cr.indexOf(Object.prototype.toString.call(e))>-1};function Lr(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Or(e){return"string"!=typeof e&&(e=String(e)),e}