@everymatrix/casino-categories 1.13.24 → 1.14.0

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.
@@ -570,7 +570,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
570
570
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
571
571
  Copyrights licensed under the New BSD License.
572
572
  See the accompanying LICENSE file for terms.
573
- */const Ct={},Bt=(e,t,r)=>r?(t in Ct||(Ct[t]={}),e in Ct[t]||(Ct[t][e]=r),r):r,At=(e,t)=>{if(null==t)return;if(t in Ct&&e in Ct[t])return Ct[t][e];const r=jt(t);for(let n=0;n<r.length;n++){const i=Nt(r[n],e);if(i)return Bt(e,t,i)}};let Lt;const St=$({});function Pt(e){return e in Lt}function Nt(e,t){if(!Pt(e))return null;const r=function(e){return Lt[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 wt(e,...t){delete Ct[e],St.update((r=>(r[e]=z.all([r[e]||{},...t]),r)))}F([St],(([e])=>Object.keys(e))),St.subscribe((e=>Lt=e));const It={};function Ot(e){return It[e]}function Mt(e){return null!=e&&jt(e).some((e=>{var t;return null===(t=Ot(e))||void 0===t?void 0:t.size}))}const Rt={};function Ut(e){if(!Mt(e))return e in Rt?Rt[e]:Promise.resolve();const t=function(e){return jt(e).map((e=>{const t=Ot(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Rt[e]=Promise.all(t.map((([e,t])=>function(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=>wt(e,...t)))}(e,t)))).then((()=>{if(Mt(e))return Ut(e);delete Rt[e]})),Rt[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 $t=$(!1);let Ft;const xt=$(null);function kt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function jt(e,t=Dt().fallbackLocale){const r=kt(e);return t?[...new Set([...r,...kt(t)])]:r}function Vt(){return null!=Ft?Ft:void 0}xt.subscribe((e=>{Ft=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Xt={...xt,set:e=>{if(e&&function(e){if(null==e)return;const t=jt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&Mt(e)){const{loadingDelay:t}=Dt();let r;return"undefined"!=typeof window&&null!=Vt()&&t?r=window.setTimeout((()=>$t.set(!0)),t):$t.set(!0),Ut(e).then((()=>{xt.set(e)})).finally((()=>{clearTimeout(r),$t.set(!1)}))}return xt.set(e)}},Kt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Yt=(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.`)},Zt=Kt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(r=Yt("number",t)),new Intl.NumberFormat(e,r)})),zt=Kt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?r=Yt("date",t):0===Object.keys(r).length&&(r=Yt("date","short")),new Intl.DateTimeFormat(e,r)})),Wt=Kt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?r=Yt("time",t):0===Object.keys(r).length&&(r=Yt("time","short")),new Intl.DateTimeFormat(e,r)})),Qt=Kt(((e,t=Vt())=>new _t(e,t,Dt().formats,{ignoreTag:Dt().ignoreTag}))),Jt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:h=Vt(),default:c}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=At(e,h);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!==(o=null!==(i=null===(n=(r=Dt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:h,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:e;if(!a)return l;let u=l;try{u=Qt(l,h).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},qt=(e,t)=>(({locale:e=Vt(),...t}={})=>Wt({locale:e,...t}))(t).format(e),er=(e,t)=>(({locale:e=Vt(),...t}={})=>zt({locale:e,...t}))(t).format(e),tr=(e,t)=>(({locale:e=Vt(),...t}={})=>Zt({locale:e,...t}))(t).format(e),rr=(e,t=Vt())=>At(e,t),nr=F([Xt,St],(()=>Jt));function ir(e,t){wt(e,t)}F([Xt],(()=>qt)),F([Xt],(()=>er)),F([Xt],(()=>tr)),F([Xt,St],(()=>rr));const or={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}};
573
+ */const Ct={},Bt=(e,t,r)=>r?(t in Ct||(Ct[t]={}),e in Ct[t]||(Ct[t][e]=r),r):r,At=(e,t)=>{if(null==t)return;if(t in Ct&&e in Ct[t])return Ct[t][e];const r=jt(t);for(let n=0;n<r.length;n++){const i=Nt(r[n],e);if(i)return Bt(e,t,i)}};let Lt;const St=$({});function Pt(e){return e in Lt}function Nt(e,t){if(!Pt(e))return null;const r=function(e){return Lt[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 wt(e,...t){delete Ct[e],St.update((r=>(r[e]=z.all([r[e]||{},...t]),r)))}F([St],(([e])=>Object.keys(e))),St.subscribe((e=>Lt=e));const It={};function Ot(e){return It[e]}function Mt(e){return null!=e&&jt(e).some((e=>{var t;return null===(t=Ot(e))||void 0===t?void 0:t.size}))}const Rt={};function Ut(e){if(!Mt(e))return e in Rt?Rt[e]:Promise.resolve();const t=function(e){return jt(e).map((e=>{const t=Ot(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Rt[e]=Promise.all(t.map((([e,t])=>function(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=>wt(e,...t)))}(e,t)))).then((()=>{if(Mt(e))return Ut(e);delete Rt[e]})),Rt[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 $t=$(!1);let Ft;const xt=$(null);function kt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function jt(e,t=Dt().fallbackLocale){const r=kt(e);return t?[...new Set([...r,...kt(t)])]:r}function Vt(){return null!=Ft?Ft:void 0}xt.subscribe((e=>{Ft=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Xt={...xt,set:e=>{if(e&&function(e){if(null==e)return;const t=jt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&Mt(e)){const{loadingDelay:t}=Dt();let r;return"undefined"!=typeof window&&null!=Vt()&&t?r=window.setTimeout((()=>$t.set(!0)),t):$t.set(!0),Ut(e).then((()=>{xt.set(e)})).finally((()=>{clearTimeout(r),$t.set(!1)}))}return xt.set(e)}},Kt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Yt=(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.`)},Zt=Kt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(r=Yt("number",t)),new Intl.NumberFormat(e,r)})),zt=Kt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?r=Yt("date",t):0===Object.keys(r).length&&(r=Yt("date","short")),new Intl.DateTimeFormat(e,r)})),Wt=Kt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?r=Yt("time",t):0===Object.keys(r).length&&(r=Yt("time","short")),new Intl.DateTimeFormat(e,r)})),Qt=Kt(((e,t=Vt())=>new _t(e,t,Dt().formats,{ignoreTag:Dt().ignoreTag}))),Jt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:h=Vt(),default:c}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=At(e,h);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!==(o=null!==(i=null===(n=(r=Dt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:h,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:e;if(!a)return l;let u=l;try{u=Qt(l,h).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},qt=(e,t)=>(({locale:e=Vt(),...t}={})=>Wt({locale:e,...t}))(t).format(e),er=(e,t)=>(({locale:e=Vt(),...t}={})=>zt({locale:e,...t}))(t).format(e),tr=(e,t)=>(({locale:e=Vt(),...t}={})=>Zt({locale:e,...t}))(t).format(e),rr=(e,t=Vt())=>At(e,t),nr=F([Xt,St],(()=>Jt));function ir(e,t){wt(e,t)}F([Xt],(()=>qt)),F([Xt],(()=>er)),F([Xt],(()=>tr)),F([Xt,St],(()=>rr));const or={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Glavne kategorije",otherCategories:"Druge kategorije",loading:"Učitavanje, molimo čekajte.",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}};
574
574
  /* src/CasinoCategories.svelte generated by Svelte v3.59.2 */function sr(e,t,r){const n=e.slice();return n[24]=t[r],n}function ar(e,t,r){const n=e.slice();return n[24]=t[r],n}
575
575
  // (80:2) {:else}
576
576
  function hr(e){let t,r,n,i,o,s,a,h,c=/*$_*/e[5]("topCategories")+"",E=/*$_*/e[5]("otherCategories")+"",v=/*topCategories*/e[3],T=[];for(let t=0;t<v.length;t+=1)T[t]=lr(ar(e,v,t));let H=/*otherCategories*/e[4],_=[];for(let t=0;t<H.length;t+=1)_[t]=ur(sr(e,H,t));return{c(){t=g("div"),r=g("h4"),n=m(c),i=d();for(let e=0;e<T.length;e+=1)T[e].c();o=d(),s=g("h4"),a=m(E),h=d();for(let e=0;e<_.length;e+=1)_[e].c();y(r,"class","CategoryTitle"),y(s,"class","CategoryTitle"),y(t,"class","CasinoCategories")},m(e,c){u(e,t,c),l(t,r),l(r,n),l(t,i);for(let e=0;e<T.length;e+=1)T[e]&&T[e].m(t,null);l(t,o),l(t,s),l(s,a),l(t,h);for(let e=0;e<_.length;e+=1)_[e]&&_[e].m(t,null)},p(e,r){if(/*$_*/32&r&&c!==(c=/*$_*/e[5]("topCategories")+"")&&b(n,c),/*activecategory, topCategories, openGameCategory, $_*/105&r){let n;for(v=/*topCategories*/e[3],n=0;n<v.length;n+=1){const i=ar(e,v,n);T[n]?T[n].p(i,r):(T[n]=lr(i),T[n].c(),T[n].m(t,o))}for(;n<T.length;n+=1)T[n].d(1);T.length=v.length}if(/*$_*/32&r&&E!==(E=/*$_*/e[5]("otherCategories")+"")&&b(a,E),/*activecategory, otherCategories, openGameCategory, $_*/113&r){let n;for(H=/*otherCategories*/e[4],n=0;n<H.length;n+=1){const i=sr(e,H,n);_[n]?_[n].p(i,r):(_[n]=ur(i),_[n].c(),_[n].m(t,null))}for(;n<_.length;n+=1)_[n].d(1);_.length=H.length}},d(e){e&&f(t),p(T,e),p(_,e)}}}