@everymatrix/casino-collections-providers 0.0.410 → 0.0.412

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.
@@ -1,4 +1,4 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,(function(){"use strict";function t(){}function e(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(e)}function o(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let s,a;function l(t,e){return s||(s=document.createElement("a")),s.href=e,t===s.href}function c(e,...r){if(null==e)return t;const n=e.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function u(t,e){t.appendChild(e)}function h(t,e,r){t.insertBefore(e,r||null)}function f(t){t.parentNode.removeChild(t)}function p(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function d(t){return document.createElement(t)}function m(t){return document.createTextNode(t)}function y(){return m(" ")}function b(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function g(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function v(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function E(t,e,r,n){null===r?t.style.removeProperty(e):t.style.setProperty(e,r,n?"important":"")}function _(t){const e={};for(const r of t)e[r.name]=r.value;return e}function T(t){a=t}function w(t){(function(){if(!a)throw new Error("Function called outside component initialization");return a})().$$.on_mount.push(t)}const A=[],B=[],H=[],S=[],P=Promise.resolve();let C=!1;function L(t){H.push(t)}
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,(function(){"use strict";function t(){}function e(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(e)}function o(t){return"function"==typeof t}function i(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let s,a;function l(t,e){return s||(s=document.createElement("a")),s.href=e,t===s.href}function c(e,...r){if(null==e)return t;const n=e.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function u(t,e){t.appendChild(e)}function h(t,e,r){t.insertBefore(e,r||null)}function f(t){t.parentNode.removeChild(t)}function p(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function d(t){return document.createElement(t)}function m(t){return document.createTextNode(t)}function y(){return m(" ")}function b(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function g(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function v(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function E(t,e,r,n){null===r?t.style.removeProperty(e):t.style.setProperty(e,r,n?"important":"")}function _(t){const e={};for(const r of t)e[r.name]=r.value;return e}function T(t){a=t}function w(t){(function(){if(!a)throw new Error("Function called outside component initialization");return a})().$$.on_mount.push(t)}const A=[],B=[],S=[],H=[],P=Promise.resolve();let C=!1;function L(t){S.push(t)}
2
2
  // flush() calls callbacks in this order:
3
3
  // 1. All beforeUpdate callbacks, in order: parents before children
4
4
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -25,9 +25,9 @@ for(;I<A.length;){const t=A[I];I++,T(t),R(t.$$)}for(T(null),A.length=0,I=0;B.len
25
25
  // then, once components are updated, call
26
26
  // afterUpdate functions. This may cause
27
27
  // subsequent updates...
28
- for(let t=0;t<H.length;t+=1){const e=H[t];O.has(e)||(
28
+ for(let t=0;t<S.length;t+=1){const e=S[t];O.has(e)||(
29
29
  // ...so guard against infinite loops
30
- O.add(e),e())}H.length=0}while(A.length);for(;S.length;)S.pop()();C=!1,O.clear(),T(t)}function R(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(L)}}const M=new Set;function U(t,e){-1===t.$$.dirty[0]&&(A.push(t),C||(C=!0,P.then(N)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function x(i,s,l,c,u,h,p,d=[-1]){const m=a;T(i);const y=i.$$={fragment:null,ctx:null,
30
+ O.add(e),e())}S.length=0}while(A.length);for(;H.length;)H.pop()();C=!1,O.clear(),T(t)}function R(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(L)}}const M=new Set;function U(t,e){-1===t.$$.dirty[0]&&(A.push(t),C||(C=!0,P.then(N)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function x(i,s,l,c,u,h,p,d=[-1]){const m=a;T(i);const y=i.$$={fragment:null,ctx:null,
31
31
  // state
32
32
  props:h,update:t,not_equal:u,bound:r(),
33
33
  // lifecycle
@@ -226,10 +226,10 @@ var gt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var vt=/^\.(?:(0+)(\*)?|(#+)|(0+)
226
226
  // @@@ case
227
227
  return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===n?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),e}function At(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Bt(t){
228
228
  // Engineering
229
- var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!Tt.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ht(t){var e=At(t);return e||{}}
229
+ var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!Tt.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function St(t){var e=At(t);return e||{}}
230
230
  /**
231
231
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
232
- */function St(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=o.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=rt(rt(rt({},e),{notation:"scientific"}),o.options.reduce((function(t,e){return rt(rt({},t),Ht(e))}),{}));continue;case"engineering":e=rt(rt(rt({},e),{notation:"engineering"}),o.options.reduce((function(t,e){return rt(rt({},t),Ht(e))}),{}));continue;case"notation-simple":e.notation="standard";continue;
232
+ */function Ht(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=o.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=rt(rt(rt({},e),{notation:"scientific"}),o.options.reduce((function(t,e){return rt(rt({},t),St(e))}),{}));continue;case"engineering":e=rt(rt(rt({},e),{notation:"engineering"}),o.options.reduce((function(t,e){return rt(rt({},t),St(e))}),{}));continue;case"notation-simple":e.notation="standard";continue;
233
233
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
234
234
  case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(o.options[0]);continue;
235
235
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
@@ -410,7 +410,7 @@ t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePos
410
410
  // Find the end of the quoted literal text.
411
411
  this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Q.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Nt(r,this.clonePosition()));this.bump();break;case 123/* `{` */:t+=1,this.bump();break;case 125/* `}` */:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");
412
412
  // Parse the skeleton
413
- for(var e=t.split(gt).filter((function(t){return t.length>0})),r=[],n=0,o=e;n<o.length;n++){var i=o[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],a=i.slice(1),l=0,c=a;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");r.push({stem:s,options:a})}return r}(t)}catch(t){return this.error(Q.INVALID_NUMBER_SKELETON,e)}return{val:{type:et.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?St(r):{}},err:null}},
413
+ for(var e=t.split(gt).filter((function(t){return t.length>0})),r=[],n=0,o=e;n<o.length;n++){var i=o[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],a=i.slice(1),l=0,c=a;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");r.push({stem:s,options:a})}return r}(t)}catch(t){return this.error(Q.INVALID_NUMBER_SKELETON,e)}return{val:{type:et.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?Ht(r):{}},err:null}},
414
414
  /**
415
415
  * @param nesting_level The current nesting level of messages.
416
416
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -553,7 +553,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
553
553
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
554
554
  Copyrights licensed under the New BSD License.
555
555
  See the accompanying LICENSE file for terms.
556
- */const Be={},He=(t,e,r)=>r?(e in Be||(Be[e]={}),t in Be[e]||(Be[e][t]=r),r):r,Se=(t,e)=>{if(null==e)return;if(e in Be&&t in Be[e])return Be[e][t];const r=Xe(e);for(let n=0;n<r.length;n++){const o=Oe(r[n],t);if(o)return He(t,e,o)}};let Pe;const Ce=F({});function Le(t){return t in Pe}function Oe(t,e){if(!Le(t))return null;const r=function(t){return Pe[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 Ie(t,...e){delete Be[t],Ce.update((r=>(r[t]=W.all([r[t]||{},...e]),r)))}k([Ce],(([t])=>Object.keys(t))),Ce.subscribe((t=>Pe=t));const Ne={};function Re(t){return Ne[t]}function Me(t){return null!=t&&Xe(t).some((t=>{var e;return null===(e=Re(t))||void 0===e?void 0:e.size}))}const Ue={};function xe(t){if(!Me(t))return t in Ue?Ue[t]:Promise.resolve();const e=function(t){return Xe(t).map((t=>{const e=Re(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Ue[t]=Promise.all(e.map((([t,e])=>function(t,e){const r=Promise.all(e.map((e=>(function(t,e){Ne[t].delete(e),0===Ne[t].size&&delete Ne[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>Ie(t,...e)))}(t,e)))).then((()=>{if(Me(t))return xe(t);delete Ue[t]})),Ue[t]}
556
+ */const Be={},Se=(t,e,r)=>r?(e in Be||(Be[e]={}),t in Be[e]||(Be[e][t]=r),r):r,He=(t,e)=>{if(null==e)return;if(e in Be&&t in Be[e])return Be[e][t];const r=Xe(e);for(let n=0;n<r.length;n++){const o=Oe(r[n],t);if(o)return Se(t,e,o)}};let Pe;const Ce=F({});function Le(t){return t in Pe}function Oe(t,e){if(!Le(t))return null;const r=function(t){return Pe[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 Ie(t,...e){delete Be[t],Ce.update((r=>(r[t]=W.all([r[t]||{},...e]),r)))}k([Ce],(([t])=>Object.keys(t))),Ce.subscribe((t=>Pe=t));const Ne={};function Re(t){return Ne[t]}function Me(t){return null!=t&&Xe(t).some((t=>{var e;return null===(e=Re(t))||void 0===e?void 0:e.size}))}const Ue={};function xe(t){if(!Me(t))return t in Ue?Ue[t]:Promise.resolve();const e=function(t){return Xe(t).map((t=>{const e=Re(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Ue[t]=Promise.all(e.map((([t,e])=>function(t,e){const r=Promise.all(e.map((e=>(function(t,e){Ne[t].delete(e),0===Ne[t].size&&delete Ne[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>Ie(t,...e)))}(t,e)))).then((()=>{if(Me(t))return xe(t);delete Ue[t]})),Ue[t]}
557
557
  /*! *****************************************************************************
558
558
  Copyright (c) Microsoft Corporation.
559
559
 
@@ -567,7 +567,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
567
567
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
568
568
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
569
569
  PERFORMANCE OF THIS SOFTWARE.
570
- ***************************************************************************** */function Ge(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 De={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 Fe(){return De}const ke=F(!1);let $e;const je=F(null);function Ve(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Xe(t,e=Fe().fallbackLocale){const r=Ve(t);return e?[...new Set([...r,...Ve(e)])]:r}function ze(){return null!=$e?$e:void 0}je.subscribe((t=>{$e=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Ke=Object.assign(Object.assign({},je),{set:t=>{if(t&&function(t){if(null==t)return;const e=Xe(t);for(let t=0;t<e.length;t++){const r=e[t];if(Le(r))return r}}(t)&&Me(t)){const{loadingDelay:e}=Fe();let r;return"undefined"!=typeof window&&null!=ze()&&e?r=window.setTimeout((()=>ke.set(!0)),e):ke.set(!0),xe(t).then((()=>{je.set(t)})).finally((()=>{clearTimeout(r),ke.set(!1)}))}return je.set(t)}}),Ye=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Ze=(t,e)=>{const{formats:r}=Fe();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},We=Ye((t=>{var{locale:e,format:r}=t,n=Ge(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Ze("number",r)),new Intl.NumberFormat(e,n)})),qe=Ye((t=>{var{locale:e,format:r}=t,n=Ge(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Ze("date",r):0===Object.keys(n).length&&(n=Ze("date","short")),new Intl.DateTimeFormat(e,n)})),Je=Ye((t=>{var{locale:e,format:r}=t,n=Ge(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Ze("time",r):0===Object.keys(n).length&&(n=Ze("time","short")),new Intl.DateTimeFormat(e,n)})),Qe=Ye(((t,e=ze())=>new Ae(t,e,Fe().formats,{ignoreTag:Fe().ignoreTag}))),tr=(t,e={})=>{var r,n,o,i;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=ze(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Se(t,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${t}" 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=Fe()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:t,defaultValue:c}))&&void 0!==o?o:c)&&void 0!==i?i:t;if(!a)return u;let h=u;try{h=Qe(u,l).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},er=(t,e)=>((t={})=>{var{locale:e=ze()}=t,r=Ge(t,["locale"]);return Je(Object.assign({locale:e},r))})(e).format(t),rr=(t,e)=>((t={})=>{var{locale:e=ze()}=t,r=Ge(t,["locale"]);return qe(Object.assign({locale:e},r))})(e).format(t),nr=(t,e)=>((t={})=>{var{locale:e=ze()}=t,r=Ge(t,["locale"]);return We(Object.assign({locale:e},r))})(e).format(t),or=(t,e=ze())=>Se(t,e),ir=k([Ke,Ce],(()=>tr));k([Ke],(()=>er)),k([Ke],(()=>rr)),k([Ke],(()=>nr)),k([Ke,Ce],(()=>or));const sr={en:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},zh:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},de:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},it:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},fr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},es:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},el:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},tr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ru:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ro:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hu:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pt:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}}};var ar="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==ar&&ar,lr="URLSearchParams"in ar,cr="Symbol"in ar&&"iterator"in Symbol,ur="FileReader"in ar&&"Blob"in ar&&function(){try{return new Blob,!0}catch(t){return!1}}(),hr="FormData"in ar,fr="ArrayBuffer"in ar;if(fr)var pr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],dr=ArrayBuffer.isView||function(t){return t&&pr.indexOf(Object.prototype.toString.call(t))>-1};function mr(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function yr(t){return"string"!=typeof t&&(t=String(t)),t}
570
+ ***************************************************************************** */function Ge(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 De={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 Fe(){return De}const ke=F(!1);let $e;const je=F(null);function Ve(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Xe(t,e=Fe().fallbackLocale){const r=Ve(t);return e?[...new Set([...r,...Ve(e)])]:r}function ze(){return null!=$e?$e:void 0}je.subscribe((t=>{$e=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Ke=Object.assign(Object.assign({},je),{set:t=>{if(t&&function(t){if(null==t)return;const e=Xe(t);for(let t=0;t<e.length;t++){const r=e[t];if(Le(r))return r}}(t)&&Me(t)){const{loadingDelay:e}=Fe();let r;return"undefined"!=typeof window&&null!=ze()&&e?r=window.setTimeout((()=>ke.set(!0)),e):ke.set(!0),xe(t).then((()=>{je.set(t)})).finally((()=>{clearTimeout(r),ke.set(!1)}))}return je.set(t)}}),Ye=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Ze=(t,e)=>{const{formats:r}=Fe();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},We=Ye((t=>{var{locale:e,format:r}=t,n=Ge(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Ze("number",r)),new Intl.NumberFormat(e,n)})),qe=Ye((t=>{var{locale:e,format:r}=t,n=Ge(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Ze("date",r):0===Object.keys(n).length&&(n=Ze("date","short")),new Intl.DateTimeFormat(e,n)})),Je=Ye((t=>{var{locale:e,format:r}=t,n=Ge(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Ze("time",r):0===Object.keys(n).length&&(n=Ze("time","short")),new Intl.DateTimeFormat(e,n)})),Qe=Ye(((t,e=ze())=>new Ae(t,e,Fe().formats,{ignoreTag:Fe().ignoreTag}))),tr=(t,e={})=>{var r,n,o,i;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=ze(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=He(t,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${t}" 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=Fe()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:t,defaultValue:c}))&&void 0!==o?o:c)&&void 0!==i?i:t;if(!a)return u;let h=u;try{h=Qe(u,l).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},er=(t,e)=>((t={})=>{var{locale:e=ze()}=t,r=Ge(t,["locale"]);return Je(Object.assign({locale:e},r))})(e).format(t),rr=(t,e)=>((t={})=>{var{locale:e=ze()}=t,r=Ge(t,["locale"]);return qe(Object.assign({locale:e},r))})(e).format(t),nr=(t,e)=>((t={})=>{var{locale:e=ze()}=t,r=Ge(t,["locale"]);return We(Object.assign({locale:e},r))})(e).format(t),or=(t,e=ze())=>He(t,e),ir=k([Ke,Ce],(()=>tr));k([Ke],(()=>er)),k([Ke],(()=>rr)),k([Ke],(()=>nr)),k([Ke,Ce],(()=>or));const sr={en:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},zh:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},de:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},it:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},fr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},es:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},el:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},tr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ru:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ro:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hu:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pt:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}}};var ar="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==ar&&ar,lr="URLSearchParams"in ar,cr="Symbol"in ar&&"iterator"in Symbol,ur="FileReader"in ar&&"Blob"in ar&&function(){try{return new Blob,!0}catch(t){return!1}}(),hr="FormData"in ar,fr="ArrayBuffer"in ar;if(fr)var pr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],dr=ArrayBuffer.isView||function(t){return t&&pr.indexOf(Object.prototype.toString.call(t))>-1};function mr(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function yr(t){return"string"!=typeof t&&(t=String(t)),t}
571
571
  // Build a destructive iterator for the value list
572
572
  function br(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return cr&&(e[Symbol.iterator]=function(){return e}),e}function gr(t){this.map={},t instanceof gr?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function vr(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Er(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function _r(t){var e=new FileReader,r=Er(e);return e.readAsArrayBuffer(t),r}function Tr(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function wr(){return this.bodyUsed=!1,this._initBody=function(t){var e;
573
573
  /*
@@ -582,19 +582,19 @@ function br(t){var e={next:function(){var e=t.shift();return{done:void 0===e,val
582
582
  */
583
583
  this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:ur&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:hr&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:lr&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():fr&&ur&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=Tr(t.buffer),
584
584
  // IE 10-11 can't handle a DataView body.
585
- this._bodyInit=new Blob([this._bodyArrayBuffer])):fr&&(ArrayBuffer.prototype.isPrototypeOf(t)||dr(t))?this._bodyArrayBuffer=Tr(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):lr&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ur&&(this.blob=function(){var t=vr(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=vr(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(_r)}),this.text=function(){var t,e,r,n=vr(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=Er(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},hr&&(this.formData=function(){return this.text().then(Hr)}),this.json=function(){return this.text().then(JSON.parse)},this}
585
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):fr&&(ArrayBuffer.prototype.isPrototypeOf(t)||dr(t))?this._bodyArrayBuffer=Tr(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):lr&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ur&&(this.blob=function(){var t=vr(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=vr(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(_r)}),this.text=function(){var t,e,r,n=vr(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=Er(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},hr&&(this.formData=function(){return this.text().then(Sr)}),this.json=function(){return this.text().then(JSON.parse)},this}
586
586
  // HTTP methods whose capitalization should be normalized
587
587
  gr.prototype.append=function(t,e){t=mr(t),e=yr(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},gr.prototype.delete=function(t){delete this.map[mr(t)]},gr.prototype.get=function(t){return t=mr(t),this.has(t)?this.map[t]:null},gr.prototype.has=function(t){return this.map.hasOwnProperty(mr(t))},gr.prototype.set=function(t,e){this.map[mr(t)]=yr(e)},gr.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},gr.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),br(t)},gr.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),br(t)},gr.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),br(t)},cr&&(gr.prototype[Symbol.iterator]=gr.prototype.entries);var Ar=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Br(t,e){if(!(this instanceof Br))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,o=(e=e||{}).body;if(t instanceof Br){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new gr(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new gr(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),Ar.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){
588
588
  // Search for a '_' parameter in the query string
589
589
  var i=/([?&])_=[^&]*/;if(i.test(this.url))
590
590
  // If it already exists then set the value with the current time
591
- this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Hr(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function Sr(t,e){if(!(this instanceof Sr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new gr(e.headers),this.url=e.url||"",this._initBody(t)}Br.prototype.clone=function(){return new Br(this,{body:this._bodyInit})},wr.call(Br.prototype),wr.call(Sr.prototype),Sr.prototype.clone=function(){return new Sr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new gr(this.headers),url:this.url})},Sr.error=function(){var t=new Sr(null,{status:0,statusText:""});return t.type="error",t};var Pr=[301,302,303,307,308];Sr.redirect=function(t,e){if(-1===Pr.indexOf(e))throw new RangeError("Invalid status code");return new Sr(null,{status:e,headers:{location:t}})};var Cr=ar.DOMException;try{new Cr}catch(t){(Cr=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),Cr.prototype.constructor=Cr}function Lr(t,e){return new Promise((function(r,n){var o=new Br(t,e);if(o.signal&&o.signal.aborted)return n(new Cr("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new gr,
591
+ this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Sr(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function Hr(t,e){if(!(this instanceof Hr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new gr(e.headers),this.url=e.url||"",this._initBody(t)}Br.prototype.clone=function(){return new Br(this,{body:this._bodyInit})},wr.call(Br.prototype),wr.call(Hr.prototype),Hr.prototype.clone=function(){return new Hr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new gr(this.headers),url:this.url})},Hr.error=function(){var t=new Hr(null,{status:0,statusText:""});return t.type="error",t};var Pr=[301,302,303,307,308];Hr.redirect=function(t,e){if(-1===Pr.indexOf(e))throw new RangeError("Invalid status code");return new Hr(null,{status:e,headers:{location:t}})};var Cr=ar.DOMException;try{new Cr}catch(t){(Cr=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),Cr.prototype.constructor=Cr}function Lr(t,e){return new Promise((function(r,n){var o=new Br(t,e);if(o.signal&&o.signal.aborted)return n(new Cr("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new gr,
592
592
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
593
593
  // https://github.com/github/fetch/issues/748
594
594
  // https://github.com/zloirock/core-js/issues/751
595
- t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout((function(){r(new Sr(o,n))}),0)},i.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){n(new Cr("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&ar.location.href?ar.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(ur?i.responseType="blob":fr&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof gr?o.headers.forEach((function(t,e){i.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){i.setRequestHeader(t,yr(e.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",s),i.onreadystatechange=function(){
595
+ t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout((function(){r(new Hr(o,n))}),0)},i.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){n(new Cr("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&ar.location.href?ar.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(ur?i.responseType="blob":fr&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof gr?o.headers.forEach((function(t,e){i.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){i.setRequestHeader(t,yr(e.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",s),i.onreadystatechange=function(){
596
596
  // DONE (success or failure)
597
- 4===i.readyState&&o.signal.removeEventListener("abort",s)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}Lr.polyfill=!0,ar.fetch||(ar.fetch=Lr,ar.Headers=gr,ar.Request=Br,ar.Response=Sr),
597
+ 4===i.readyState&&o.signal.removeEventListener("abort",s)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}Lr.polyfill=!0,ar.fetch||(ar.fetch=Lr,ar.Headers=gr,ar.Request=Br,ar.Response=Hr),
598
598
  // the whatwg-fetch polyfill installs the fetch() function
599
599
  // on the global object (window or self)
600
600
  // Return that as the export for use in Webpack, Browserify etc.
@@ -617,28 +617,28 @@ self.fetch.bind(self);
617
617
  var Or=function(t,e){return Or=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Or(t,e)};function Ir(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Or(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Nr(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rr(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function Mr(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}function Ur(t){return"function"==typeof t}function xr(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Gr=xr((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Dr(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Fr=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}var e;return t.prototype.unsubscribe=function(){var t,e,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=Nr(i),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else i.remove(this);var l=this.initialTeardown;if(Ur(l))try{l()}catch(t){o=t instanceof Gr?t.errors:[t]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=Nr(c),h=u.next();!h.done;h=u.next()){var f=h.value;try{jr(f)}catch(t){o=null!=o?o:[],t instanceof Gr?o=Mr(Mr([],Rr(o)),Rr(t.errors)):o.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(o)throw new Gr(o)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)jr(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Dr(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Dr(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),kr=Fr.EMPTY;function $r(t){return t instanceof Fr||t&&"closed"in t&&Ur(t.remove)&&Ur(t.add)&&Ur(t.unsubscribe)}function jr(t){Ur(t)?t():t.unsubscribe()}var Vr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Xr={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=Xr.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,Mr([t,e],Rr(r))):setTimeout.apply(void 0,Mr([t,e],Rr(r)))},clearTimeout:function(t){var e=Xr.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function zr(){}var Kr=null;function Yr(t){if(Vr.useDeprecatedSynchronousErrorHandling){var e=!Kr;if(e&&(Kr={errorThrown:!1,error:null}),t(),e){var r=Kr,n=r.errorThrown,o=r.error;if(Kr=null,n)throw o}}else t()}var Zr=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,$r(e)&&e.add(r)):r.destination=en,r}return Ir(e,t),e.create=function(t,e,r){return new Qr(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Fr),Wr=Function.prototype.bind;function qr(t,e){return Wr.call(t,e)}var Jr=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){tn(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){tn(t)}else tn(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){tn(t)}},t}(),Qr=function(t){function e(e,r,n){var o,i,s=t.call(this)||this;Ur(e)||!e?o={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&Vr.useDeprecatedNextContext?((i=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},o={next:e.next&&qr(e.next,i),error:e.error&&qr(e.error,i),complete:e.complete&&qr(e.complete,i)}):o=e;return s.destination=new Jr(o),s}return Ir(e,t),e}(Zr);function tn(t){var e;e=t,Xr.setTimeout((function(){throw e}))}var en={closed:!0,next:zr,error:function(t){throw t},complete:zr},rn="function"==typeof Symbol&&Symbol.observable||"@@observable";function nn(t){return t}function on(t){return 0===t.length?nn:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var sn=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,o=this,i=(n=t)&&n instanceof Zr||function(t){return t&&Ur(t.next)&&Ur(t.error)&&Ur(t.complete)}(n)&&$r(n)?t:new Qr(t,e,r);return Yr((function(){var t=o,e=t.operator,r=t.source;i.add(e?e.call(i,r):r?o._subscribe(i):o._trySubscribe(i))})),i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=an(e))((function(e,n){var o=new Qr({next:function(e){try{t(e)}catch(t){n(t),o.unsubscribe()}},error:n,complete:e});r.subscribe(o)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[rn]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return on(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=an(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function an(t){var e;return null!==(e=null!=t?t:Vr.Promise)&&void 0!==e?e:Promise}var ln=xr((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),cn=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Ir(e,t),e.prototype.lift=function(t){var e=new un(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new ln},e.prototype.next=function(t){var e=this;Yr((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=Nr(e.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(t)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;Yr((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Yr((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?kr:(this.currentObservers=null,i.push(t),new Fr((function(){e.currentObservers=null,Dr(i,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,o=e.isStopped;r?t.error(n):o&&t.complete()},e.prototype.asObservable=function(){var t=new sn;return t.source=this,t},e.create=function(t,e){return new un(t,e)},e}(sn),un=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Ir(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:kr},e}(cn),hn={now:function(){return(hn.delegate||Date).now()},delegate:void 0},fn=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=hn);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}return Ir(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(o.push(e),!i&&o.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!t.closed;o+=r?1:2)t.next(n[o]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,o=t._infiniteTimeWindow,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var s=r.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},e}(cn);let pn=[],dn={};window.emWidgets={topic:(t,e=0)=>{if(-1==pn.indexOf(t)){let r=new fn(e);dn[t]=r,pn.push(t)}return dn[t]}};
618
618
  /* src/CasinoCollectionsProviders.svelte generated by Svelte v3.48.0 */
619
619
  function mn(t,e,r){const n=t.slice();return n[37]=e[r],n}function yn(t,e,r){const n=t.slice();return n[40]=e[r],n}
620
- // (137:4) {:else}
621
- function bn(t){let e,r,o,i,s,a,l,c,E,_,T,w,A,B,H,S,P=/*$_*/t[7]("Translations.game")+"",C=/*type*/("vendor"==t[0]?/*$_*/t[7]("Translations.providers"):/*$_*/t[7]("Translations.collections"))+"",L=/*gameCategories*/t[2],O=[];for(let e=0;e<L.length;e+=1)O[e]=Tn(mn(t,L,e));return{c(){e=d("div"),r=d("div"),o=d("p"),i=m(P),s=y(),a=m(C),l=y(),c=d("div"),E=d("button"),E.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',_=y(),T=d("button"),T.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',w=y(),A=d("div");for(let t=0;t<O.length;t+=1)O[t].c();g(o,"class","Title"),g(c,"class","ButtonsContainer"),g(r,"class","CategoriesHeader"),g(A,"class","CategoriesSlider"),g(e,"class",B="CasinoCollectionsProviders "+(/*mobile*/t[6]?"Mobile":""))},m(n,f){h(n,e,f),u(e,r),u(r,o),u(o,i),u(o,s),u(o,a),u(r,l),u(r,c),u(c,E),u(c,_),u(c,T),u(e,w),u(e,A);for(let t=0;t<O.length;t+=1)O[t].m(A,null);
622
- /*div2_binding*/t[21](A),H||(S=[b(E,"click",/*click_handler*/t[17]),b(T,"click",/*click_handler_1*/t[18])],H=!0)},p(t,r){if(/*$_*/128&r[0]&&P!==(P=/*$_*/t[7]("Translations.game")+"")&&v(i,P),/*type, $_*/129&r[0]&&C!==(C=/*type*/("vendor"==t[0]?/*$_*/t[7]("Translations.providers"):/*$_*/t[7]("Translations.collections"))+"")&&v(a,C),/*gameCategories, openCategory, openGame, titletype*/3078&r[0]){let e;for(L=/*gameCategories*/t[2],e=0;e<L.length;e+=1){const n=mn(t,L,e);O[e]?O[e].p(n,r):(O[e]=Tn(n),O[e].c(),O[e].m(A,null))}for(;e<O.length;e+=1)O[e].d(1);O.length=L.length}/*mobile*/64&r[0]&&B!==(B="CasinoCollectionsProviders "+(/*mobile*/t[6]?"Mobile":""))&&g(e,"class",B)},d(r){r&&f(e),p(O,r),
623
- /*div2_binding*/t[21](null),H=!1,n(S)}}}
624
- // (135:4) {#if isLoading}
620
+ // (139:4) {:else}
621
+ function bn(t){let e,r,o,i,s,a,l,c,E,_,T,w,A,B,S,H,P=/*$_*/t[7]("Translations.game")+"",C=/*type*/("vendor"==t[0]?/*$_*/t[7]("Translations.providers"):/*$_*/t[7]("Translations.collections"))+"",L=/*gameCategories*/t[2],O=[];for(let e=0;e<L.length;e+=1)O[e]=Tn(mn(t,L,e));return{c(){e=d("div"),r=d("div"),o=d("p"),i=m(P),s=y(),a=m(C),l=y(),c=d("div"),E=d("button"),E.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',_=y(),T=d("button"),T.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',w=y(),A=d("div");for(let t=0;t<O.length;t+=1)O[t].c();g(o,"class","Title"),g(c,"class","ButtonsContainer"),g(r,"class","CategoriesHeader"),g(A,"class","CategoriesSlider"),g(e,"class",B="CasinoCollectionsProviders "+(/*mobile*/t[6]?"Mobile":""))},m(n,f){h(n,e,f),u(e,r),u(r,o),u(o,i),u(o,s),u(o,a),u(r,l),u(r,c),u(c,E),u(c,_),u(c,T),u(e,w),u(e,A);for(let t=0;t<O.length;t+=1)O[t].m(A,null);
622
+ /*div2_binding*/t[21](A),S||(H=[b(E,"click",/*click_handler*/t[17]),b(T,"click",/*click_handler_1*/t[18])],S=!0)},p(t,r){if(/*$_*/128&r[0]&&P!==(P=/*$_*/t[7]("Translations.game")+"")&&v(i,P),/*type, $_*/129&r[0]&&C!==(C=/*type*/("vendor"==t[0]?/*$_*/t[7]("Translations.providers"):/*$_*/t[7]("Translations.collections"))+"")&&v(a,C),/*gameCategories, openCategory, openGame, titletype*/3078&r[0]){let e;for(L=/*gameCategories*/t[2],e=0;e<L.length;e+=1){const n=mn(t,L,e);O[e]?O[e].p(n,r):(O[e]=Tn(n),O[e].c(),O[e].m(A,null))}for(;e<O.length;e+=1)O[e].d(1);O.length=L.length}/*mobile*/64&r[0]&&B!==(B="CasinoCollectionsProviders "+(/*mobile*/t[6]?"Mobile":""))&&g(e,"class",B)},d(r){r&&f(e),p(O,r),
623
+ /*div2_binding*/t[21](null),S=!1,n(H)}}}
624
+ // (137:4) {#if isLoading}
625
625
  function gn(e){let r;return{c(){r=d("p"),r.textContent="Loading, please wait ..."},m(t,e){h(t,r,e)},p:t,d(t){t&&f(r)}}}
626
- // (162:47)
626
+ // (164:47)
627
627
  function vn(t){let e,r,n=/*category*/t[37].name+"";return{c(){e=d("p"),r=m(n),g(e,"class","CategorySlideTitle")},m(t,n){h(t,e,n),u(e,r)},p(t,e){/*gameCategories*/4&e[0]&&n!==(n=/*category*/t[37].name+"")&&v(r,n)},d(t){t&&f(e)}}}
628
- // (160:16) {#if titletype == 'logo'}
628
+ // (162:16) {#if titletype == 'logo'}
629
629
  function En(t){let e,r,n;return{c(){e=d("img"),g(e,"class","CategorySlideLogo"),l(e.src,r=/*category*/t[37].icon)||g(e,"src",r),g(e,"alt",n=/*category*/t[37].name+" icon")},m(t,r){h(t,e,r)},p(t,o){/*gameCategories*/4&o[0]&&!l(e.src,r=/*category*/t[37].icon)&&g(e,"src",r),/*gameCategories*/4&o[0]&&n!==(n=/*category*/t[37].name+" icon")&&g(e,"alt",n)},d(t){t&&f(e)}}}
630
- // (167:16) {#each category.games as game}
630
+ // (169:16) {#each category.games as game}
631
631
  function _n(t){let e,r,n,o,i;function s(){/*click_handler_2*/
632
632
  return t[19](/*game*/t[40])}return{c(){e=d("img"),g(e,"class","CategorySlideGameImage"),l(e.src,r=/*game*/t[40].defaultThumbnail)||g(e,"src",r),g(e,"alt",n=/*game*/t[40].name)},m(t,r){var n;h(t,e,r),o||(i=b(e,"click",(n=s,function(t){
633
633
  // @ts-ignore
634
634
  return t.stopPropagation(),n.call(this,t)})),o=!0)},p(o,i){t=o,/*gameCategories*/4&i[0]&&!l(e.src,r=/*game*/t[40].defaultThumbnail)&&g(e,"src",r),/*gameCategories*/4&i[0]&&n!==(n=/*game*/t[40].name)&&g(e,"alt",n)},d(t){t&&f(e),o=!1,i()}}}
635
- // (156:10) {#each gameCategories as category}
636
- function Tn(t){let e,r,n,o,i,s,a,l;function c(t,e){/*titletype*/
637
- return"logo"==t[1]?En:/*titletype*/"title"==t[1]?vn:void 0}let m=c(t),v=m&&m(t),_=/*category*/t[37].games,T=[];for(let e=0;e<_.length;e+=1)T[e]=_n(yn(t,_,e));function w(){/*click_handler_3*/
638
- return t[20](/*category*/t[37])}return{c(){e=d("div"),r=d("div"),n=d("div"),v&&v.c(),o=y(),i=d("div");for(let t=0;t<T.length;t+=1)T[t].c();s=y(),g(n,"class","CategorySlideTopContainer"),g(i,"class","CategorySlideGameContainer"),g(r,"class","CategorySlide"),E(r,"background-image",/*category*/t[37]?.background,!1),g(e,"class","CategoriesSliderWrapper Animation")},m(t,c){h(t,e,c),u(e,r),u(r,n),v&&v.m(n,null),u(r,o),u(r,i);for(let t=0;t<T.length;t+=1)T[t].m(i,null);u(e,s),a||(l=b(r,"click",w),a=!0)},p(e,o){if(m===(m=c(t=e))&&v?v.p(t,o):(v&&v.d(1),v=m&&m(t),v&&(v.c(),v.m(n,null))),/*gameCategories, openGame*/1028&o[0]){let e;for(_=/*category*/t[37].games,e=0;e<_.length;e+=1){const r=yn(t,_,e);T[e]?T[e].p(r,o):(T[e]=_n(r),T[e].c(),T[e].m(i,null))}for(;e<T.length;e+=1)T[e].d(1);T.length=_.length}/*gameCategories*/4&o[0]&&E(r,"background-image",/*category*/t[37]?.background,!1)},d(t){t&&f(e),v&&v.d(),p(T,t),a=!1,l()}}}function wn(e){let r;function n(t,e){/*isLoading*/
635
+ // (158:10) {#each gameCategories as category}
636
+ function Tn(t){let e,r,n,o,i,s,a,l,c;function m(t,e){/*titletype*/
637
+ return"logo"==t[1]?En:/*titletype*/"title"==t[1]?vn:void 0}let v=m(t),_=v&&v(t),T=/*category*/t[37].games,w=[];for(let e=0;e<T.length;e+=1)w[e]=_n(yn(t,T,e));function A(){/*click_handler_3*/
638
+ return t[20](/*category*/t[37])}return{c(){e=d("div"),r=d("div"),n=d("div"),_&&_.c(),o=y(),i=d("div");for(let t=0;t<w.length;t+=1)w[t].c();a=y(),g(n,"class","CategorySlideTopContainer"),g(i,"class","CategorySlideGameContainer"),g(r,"class",s="CategorySlide "+(/*category*/"vendor"==t[37]?.flag[0]?"CategorySlideNoHighlight":"")),E(r,"background-image","url("+/*category*/t[37]?.background+")"),g(e,"class","CategoriesSliderWrapper Animation")},m(t,s){h(t,e,s),u(e,r),u(r,n),_&&_.m(n,null),u(r,o),u(r,i);for(let t=0;t<w.length;t+=1)w[t].m(i,null);u(e,a),l||(c=b(r,"click",A),l=!0)},p(e,o){if(v===(v=m(t=e))&&_?_.p(t,o):(_&&_.d(1),_=v&&v(t),_&&(_.c(),_.m(n,null))),/*gameCategories, openGame*/1028&o[0]){let e;for(T=/*category*/t[37].games,e=0;e<T.length;e+=1){const r=yn(t,T,e);w[e]?w[e].p(r,o):(w[e]=_n(r),w[e].c(),w[e].m(i,null))}for(;e<w.length;e+=1)w[e].d(1);w.length=T.length}/*gameCategories*/4&o[0]&&s!==(s="CategorySlide "+(/*category*/"vendor"==t[37]?.flag[0]?"CategorySlideNoHighlight":""))&&g(r,"class",s),/*gameCategories*/4&o[0]&&E(r,"background-image","url("+/*category*/t[37]?.background+")")},d(t){t&&f(e),_&&_.d(),p(w,t),l=!1,c()}}}function wn(e){let r;function n(t,e){/*isLoading*/
639
639
  return t[4]?gn:bn}let o=n(e),i=o(e);return{c(){r=d("div"),i.c(),this.c=t},m(t,n){h(t,r,n),i.m(r,null),
640
640
  /*div_binding*/e[22](r)},p(t,e){o===(o=n(t))&&i?i.p(t,e):(i.d(1),i=o(t),i&&(i.c(),i.m(r,null)))},i:t,o:t,d(t){t&&f(r),i.d(),
641
- /*div_binding*/e[22](null)}}}function An(t,e,r){let n;var o,i;o=ir,i=t=>r(7,n=t),t.$$.on_destroy.push(c(o,i));let s,a,l,u,h,{endpoint:f=""}=e,{datasource:p=""}=e,{lang:d=""}=e,{type:m=""}=e,{titletype:y=""}=e,{clientstyling:b=""}=e,{clientstylingurl:g=""}=e,v=[],E=!0,_=0,T=0,A=0,H=window.navigator.userAgent;Object.keys(sr).forEach((t=>{!function(t,e){Ie(t,e)}(t,sr[t])}));const S=t=>{
641
+ /*div_binding*/e[22](null)}}}function An(t,e,r){let n;var o,i;o=ir,i=t=>r(7,n=t),t.$$.on_destroy.push(c(o,i));let s,a,l,u,h,{endpoint:f=""}=e,{datasource:p=""}=e,{lang:d=""}=e,{type:m=""}=e,{titletype:y=""}=e,{clientstyling:b=""}=e,{clientstylingurl:g=""}=e,v=[],E=!0,_=0,T=0,A=0,S=window.navigator.userAgent;Object.keys(sr).forEach((t=>{!function(t,e){Ie(t,e)}(t,sr[t])}));const H=t=>{
642
642
  //store each slide HTML element in an array
643
643
  l=[...s.children],
644
644
  //iterate the array of elements and translate each of them by 100% times the index to create the slider
@@ -646,7 +646,7 @@ l.forEach(((e,r)=>{e.style.transform=`translateX(${100*(t?r-t:r)}%)`})),l.map((t
646
646
  //needed for finding the beginning and end of the slider
647
647
  A=Math.round(s.offsetWidth/a)},C=()=>{
648
648
  //in order to go to a specific slide, position all the slides relative to one of them, one which is determined by sliderScrollLeft and sliderScrollRight
649
- S(_)},L=()=>{A>=T||(0===_?_=T-A:_-A<-1?_=0:_--,C())},O=()=>{A>=T||(_===T-A?_=0:T-A<_+1?_=T-A:_++,C())},I=(t,e,r)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:t,launchUrl:e,gameName:r},window.location.href)},N=t=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:t},window.location.href)},R=()=>{var t;t=d,Ke.set(t)};w((()=>{r(6,h=(t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(H))}));return t.$$set=t=>{"endpoint"in t&&r(12,f=t.endpoint),"datasource"in t&&r(13,p=t.datasource),"lang"in t&&r(14,d=t.lang),"type"in t&&r(0,m=t.type),"titletype"in t&&r(1,y=t.titletype),"clientstyling"in t&&r(15,b=t.clientstyling),"clientstylingurl"in t&&r(16,g=t.clientstylingurl)},t.$$.update=()=>{/*endpoint, datasource, lang*/28672&t.$$.dirty[0]&&f&&p&&d&&(()=>{const t=new URL(`${f}/v2/casino/groups/${p}`);t.searchParams.append("language",d),t.searchParams.append("expand","games"),fetch(t.href).then((t=>t.json())).then((t=>{r(4,E=!1);let e=t.items.filter((t=>t.flags==m));r(2,v=e.map((t=>({id:t.id,name:t.name,icon:t.icon,games:t.games.items.slice(0,4).map((t=>t))})))),T=v.length}))})(),/*gameCategories, categoriesSlider*/12&t.$$.dirty[0]&&
649
+ H(_)},L=()=>{A>=T||(0===_?_=T-A:_-A<-1?_=0:_--,C())},O=()=>{A>=T||(_===T-A?_=0:T-A<_+1?_=T-A:_++,C())},I=(t,e,r)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:t,launchUrl:e,gameName:r},window.location.href)},N=t=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:t},window.location.href)},R=()=>{var t;t=d,Ke.set(t)};w((()=>{r(6,h=(t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(S))}));return t.$$set=t=>{"endpoint"in t&&r(12,f=t.endpoint),"datasource"in t&&r(13,p=t.datasource),"lang"in t&&r(14,d=t.lang),"type"in t&&r(0,m=t.type),"titletype"in t&&r(1,y=t.titletype),"clientstyling"in t&&r(15,b=t.clientstyling),"clientstylingurl"in t&&r(16,g=t.clientstylingurl)},t.$$.update=()=>{/*endpoint, datasource, lang*/28672&t.$$.dirty[0]&&f&&p&&d&&(()=>{const t=new URL(`${f}/v2/casino/groups/${p}`);t.searchParams.append("language",d),t.searchParams.append("expand","games"),fetch(t.href).then((t=>t.json())).then((t=>{r(4,E=!1);let e=t.items.filter((t=>t.flags==m));r(2,v=e.map((t=>({id:t.id,name:t.name,icon:t.icon,games:t.games.items.slice(0,4).map((t=>t)),background:t.background,flag:t.flags})))),T=v.length}))})(),/*gameCategories, categoriesSlider*/12&t.$$.dirty[0]&&
650
650
  //making sure we have something to position, before trying to
651
- v&&s&&S(),/*lang*/16384&t.$$.dirty[0]&&d&&R(),/*clientstyling*/32768&t.$$.dirty[0]&&b&&(()=>{let t=document.createElement("style");t.innerHTML=b,u.appendChild(t)})(),/*clientstylingurl*/65536&t.$$.dirty[0]&&g&&(()=>{let t=new URL(g),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,u&&(setTimeout((()=>{u.appendChild(e)}),1),setTimeout((()=>{}),500))}))})()},[m,y,v,s,E,u,h,n,L,O,I,N,f,p,d,b,g,()=>L(),()=>O(),t=>I(t.gameId,t.launchUrl,t.name),t=>N(t.id),function(t){B[t?"unshift":"push"]((()=>{s=t,r(3,s)}))},function(t){B[t?"unshift":"push"]((()=>{u=t,r(5,u)}))}]}class Bn extends G{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",x(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},An,wn,i,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16},null,[-1,-1]),t&&(t.target&&h(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),N()}get datasource(){return this.$$.ctx[13]}set datasource(t){this.$$set({datasource:t}),N()}get lang(){return this.$$.ctx[14]}set lang(t){this.$$set({lang:t}),N()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),N()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),N()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}}return!customElements.get("casino-collections-providers")&&customElements.define("casino-collections-providers",Bn),Bn}));
651
+ v&&s&&H(),/*lang*/16384&t.$$.dirty[0]&&d&&R(),/*clientstyling*/32768&t.$$.dirty[0]&&b&&(()=>{let t=document.createElement("style");t.innerHTML=b,u.appendChild(t)})(),/*clientstylingurl*/65536&t.$$.dirty[0]&&g&&(()=>{let t=new URL(g),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,u&&(setTimeout((()=>{u.appendChild(e)}),1),setTimeout((()=>{}),500))}))})()},[m,y,v,s,E,u,h,n,L,O,I,N,f,p,d,b,g,()=>L(),()=>O(),t=>I(t.gameId,t.launchUrl,t.name),t=>N(t.id),function(t){B[t?"unshift":"push"]((()=>{s=t,r(3,s)}))},function(t){B[t?"unshift":"push"]((()=>{u=t,r(5,u)}))}]}class Bn extends G{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",x(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},An,wn,i,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16},null,[-1,-1]),t&&(t.target&&h(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),N()}get datasource(){return this.$$.ctx[13]}set datasource(t){this.$$set({datasource:t}),N()}get lang(){return this.$$.ctx[14]}set lang(t){this.$$set({lang:t}),N()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),N()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),N()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}}return!customElements.get("casino-collections-providers")&&customElements.define("casino-collections-providers",Bn),Bn}));
652
652
  //# sourceMappingURL=casino-collections-providers.js.map