@everymatrix/casino-collections-providers 1.0.4 → 1.0.9

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,14 @@
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)}
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&&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}
2
+ /**
3
+ * The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
4
+ * It must be called during the component's initialisation (but doesn't need to live *inside* the component;
5
+ * it can be called from an external module).
6
+ *
7
+ * `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).
8
+ *
9
+ * https://svelte.dev/docs#run-time-svelte-onmount
10
+ */
11
+ 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
12
  // flush() calls callbacks in this order:
3
13
  // 1. All beforeUpdate callbacks, in order: parents before children
4
14
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -27,7 +37,7 @@ for(;I<A.length;){const t=A[I];I++,T(t),R(t.$$)}for(T(null),A.length=0,I=0;B.len
27
37
  // subsequent updates...
28
38
  for(let t=0;t<S.length;t+=1){const e=S[t];O.has(e)||(
29
39
  // ...so guard against infinite loops
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,
40
+ 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:[],
31
41
  // state
32
42
  props:h,update:t,not_equal:u,bound:r(),
33
43
  // lifecycle
@@ -39,21 +49,25 @@ y.fragment=!!c&&c(y.ctx),s.target){if(s.hydrate){const t=function(t){return Arra
39
49
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
40
50
  y.fragment&&y.fragment.l(t),t.forEach(f)}else
41
51
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
42
- y.fragment&&y.fragment.c();s.intro&&((g=i.$$.fragment)&&g.i&&(M.delete(g),g.i(v))),function(t,r,i,s){const{fragment:a,on_mount:l,on_destroy:c,after_update:u}=t.$$;a&&a.m(r,i),s||
52
+ y.fragment&&y.fragment.c();s.intro&&((g=i.$$.fragment)&&g.i&&(M.delete(g),g.i(v))),function(t,r,i,s){const{fragment:a,after_update:l}=t.$$;a&&a.m(r,i),s||
43
53
  // onMount happens before the initial afterUpdate
44
- L((()=>{const r=l.map(e).filter(o);c?c.push(...r):
54
+ L((()=>{const r=t.$$.on_mount.map(e).filter(o);
55
+ // if the component was destroyed immediately
56
+ // it will update the `$$.on_destroy` reference to `null`.
57
+ // the destructured on_destroy may still reference to the old array
58
+ t.$$.on_destroy?t.$$.on_destroy.push(...r):
45
59
  // Edge case - component was destroyed immediately,
46
60
  // most likely as a result of a binding initialising
47
- n(r),t.$$.on_mount=[]})),u.forEach(L)}(i,s.target,s.anchor,s.customElement),N()}var g,v;T(m)}let G;"function"==typeof HTMLElement&&(G=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(o);
61
+ n(r),t.$$.on_mount=[]})),l.forEach(L)}(i,s.target,s.anchor,s.customElement),N()}var g,v;T(m)}let G;"function"==typeof HTMLElement&&(G=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(e).filter(o);
48
62
  // @ts-ignore todo: improve typings
49
63
  for(const t in this.$$.slotted)
50
64
  // @ts-ignore todo: improve typings
51
65
  this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){!function(t,e){const r=t.$$;null!==r.fragment&&(n(r.on_destroy),r.fragment&&r.fragment.d(e),
52
66
  // TODO null out other refs, including component.$$ (but need to
53
67
  // preserve final state?)
54
- r.on_destroy=r.fragment=null,r.ctx=[])}(this,1),this.$destroy=t}$on(t,e){
68
+ r.on_destroy=r.fragment=null,r.ctx=[])}(this,1),this.$destroy=t}$on(e,r){
55
69
  // TODO should this delegate to addEventListener?
56
- const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});const D=[];
70
+ if(!o(r))return t;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(r),()=>{const t=n.indexOf(r);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});const D=[];
57
71
  /**
58
72
  * Creates a `Readable` store that allows reading by subscription.
59
73
  * @param value initial value
@@ -65,12 +79,12 @@ const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{co
65
79
  * @param {StartStopNotifier=}start start and stop notifications for subscriptions
66
80
  */
67
81
  function F(e,r=t){let n;const o=new Set;function s(t){if(i(e,t)&&(e=t,n)){// store is ready
68
- const t=!D.length;for(const t of o)t[1](),D.push(t,e);if(t){for(let t=0;t<D.length;t+=2)D[t][0](D[t+1]);D.length=0}}}return{set:s,update:function(t){s(t(e))},subscribe:function(i,a=t){const l=[i,a];return o.add(l),1===o.size&&(n=r(s)||t),i(e),()=>{o.delete(l),0===o.size&&(n(),n=null)}}}}function k(e,r,i){const s=!Array.isArray(e),a=s?[e]:e,l=r.length<2;return u=e=>{let i=!1;const u=[];let h=0,f=t;const p=()=>{if(h)return;f();const n=r(s?u[0]:u,e);l?e(n):f=o(n)?n:t},d=a.map(((t,e)=>c(t,(t=>{u[e]=t,h&=~(1<<e),i&&p()}),(()=>{h|=1<<e}))));return i=!0,p(),function(){n(d),f()}},{subscribe:F(i,u).subscribe};var u}var $=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===j}(t)}
82
+ const t=!D.length;for(const t of o)t[1](),D.push(t,e);if(t){for(let t=0;t<D.length;t+=2)D[t][0](D[t+1]);D.length=0}}}return{set:s,update:function(t){s(t(e))},subscribe:function(i,a=t){const l=[i,a];return o.add(l),1===o.size&&(n=r(s)||t),i(e),()=>{o.delete(l),0===o.size&&(n(),n=null)}}}}function $(e,r,i){const s=!Array.isArray(e),a=s?[e]:e,l=r.length<2;return u=e=>{let i=!1;const u=[];let h=0,f=t;const p=()=>{if(h)return;f();const n=r(s?u[0]:u,e);l?e(n):f=o(n)?n:t},d=a.map(((t,e)=>c(t,(t=>{u[e]=t,h&=~(1<<e),i&&p()}),(()=>{h|=1<<e}))));return i=!0,p(),function(){n(d),f()}},{subscribe:F(i,u).subscribe};var u}var k=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===j}(t)}
69
83
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
70
84
  (t)};var j="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function V(t,e){return!1!==e.clone&&e.isMergeableObject(t)?Z((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function X(t,e,r){return t.concat(e).map((function(t){return V(t,r)}))}function z(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function K(t,e){try{return e in t}catch(t){return!1}}
71
85
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
72
86
  function Y(t,e,r){var n={};return r.isMergeableObject(t)&&z(t).forEach((function(e){n[e]=V(t[e],r)})),z(e).forEach((function(o){(function(t,e){return K(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e));// and also unsafe if they're nonenumerable.
73
- })(t,o)||(K(t,o)&&r.isMergeableObject(e[o])?n[o]=function(t,e){if(!e.customMerge)return Z;var r=e.customMerge(t);return"function"==typeof r?r:Z}(o,r)(t[o],e[o],r):n[o]=V(e[o],r))})),n}function Z(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||X,r.isMergeableObject=r.isMergeableObject||$,
87
+ })(t,o)||(K(t,o)&&r.isMergeableObject(e[o])?n[o]=function(t,e){if(!e.customMerge)return Z;var r=e.customMerge(t);return"function"==typeof r?r:Z}(o,r)(t[o],e[o],r):n[o]=V(e[o],r))})),n}function Z(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||X,r.isMergeableObject=r.isMergeableObject||k,
74
88
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
75
89
  // implementations can use it. The caller may not replace it.
76
90
  r.cloneUnlessOtherwiseSpecified=V;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):Y(t,e,r):V(e,r)}Z.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return Z(t,r,e)}),{})};var W=Z,q=function(t,e){return q=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])},q(t,e)};function J(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}q(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var Q,tt,et,rt=function(){return rt=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},rt.apply(this,arguments)};function nt(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))}
@@ -272,14 +286,14 @@ e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12"
272
286
  var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(Ct[r||""]||Ct[n||""]||Ct["".concat(n,"-001")]||Ct["001"])[0]}var Ot=new RegExp("^".concat(mt.source,"*")),It=new RegExp("".concat(mt.source,"*$"));function Nt(t,e){return{start:t,end:e}}
273
287
  // #region Ponyfills
274
288
  // Consolidate these variables up top for easier toggling during debugging
275
- var Rt=!!String.prototype.startsWith,Mt=!!String.fromCodePoint,Ut=!!Object.fromEntries,xt=!!String.prototype.codePointAt,Gt=!!String.prototype.trimStart,Dt=!!String.prototype.trimEnd,Ft=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},kt=!0;try{
289
+ var Rt=!!String.prototype.startsWith,Mt=!!String.fromCodePoint,Ut=!!Object.fromEntries,xt=!!String.prototype.codePointAt,Gt=!!String.prototype.trimStart,Dt=!!String.prototype.trimEnd,Ft=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},$t=!0;try{
276
290
  /**
277
291
  * legacy Edge or Xbox One browser
278
292
  * Unicode flag support: supported
279
293
  * Pattern_Syntax support: not supported
280
294
  * See https://github.com/formatjs/formatjs/issues/2822
281
295
  */
282
- kt="a"===(null===(Pt=Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Pt?void 0:Pt[0])}catch(t){kt=!1}var $t,jt=Rt?// Native
296
+ $t="a"===(null===(Pt=Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Pt?void 0:Pt[0])}catch(t){$t=!1}var kt,jt=Rt?// Native
283
297
  function(t,e,r){return t.startsWith(e,r)}:// For IE11
284
298
  function(t,e,r){return t.slice(r,r+e.length)===e},Vt=Mt?String.fromCodePoint:// IE11
285
299
  function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",o=t.length,i=0;o>i;){if((r=t[i++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Xt=
@@ -295,11 +309,11 @@ function(t){return t.replace(It,"")};
295
309
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
296
310
  function Zt(t,e){return new RegExp(t,e)}
297
311
  // #endregion
298
- if(kt){
312
+ if($t){
299
313
  // Native
300
- var Wt=Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$t=function(t,e){var r;return Wt.lastIndex=e,null!==(r=Wt.exec(t)[1])&&void 0!==r?r:""}}else
314
+ var Wt=Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");kt=function(t,e){var r;return Wt.lastIndex=e,null!==(r=Wt.exec(t)[1])&&void 0!==r?r:""}}else
301
315
  // IE11
302
- $t=function(t,e){for(var r=[];;){var n=zt(t,e);if(void 0===n||te(n)||ee(n))break;r.push(n),e+=n>=65536?2:1}return Vt.apply(void 0,r)};var qt=/** @class */function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o=this.char();if(123/* `{` */===o){if((i=this.parseArgument(t,r)).err)return i;n.push(i.val)}else{if(125/* `}` */===o&&t>0)break;if(35/* `#` */!==o||"plural"!==e&&"selectordinal"!==e){if(60/* `<` */===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(Q.UNMATCHED_CLOSING_TAG,Nt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===o&&!this.ignoreTag&&Jt(this.peek()||0)){if((i=this.parseTag(t,e)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(t,e)).err)return i;n.push(i.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:tt.pound,location:Nt(s,this.clonePosition())})}}}return{val:n,err:null}},
316
+ kt=function(t,e){for(var r=[];;){var n=zt(t,e);if(void 0===n||te(n)||ee(n))break;r.push(n),e+=n>=65536?2:1}return Vt.apply(void 0,r)};var qt=/** @class */function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o=this.char();if(123/* `{` */===o){if((i=this.parseArgument(t,r)).err)return i;n.push(i.val)}else{if(125/* `}` */===o&&t>0)break;if(35/* `#` */!==o||"plural"!==e&&"selectordinal"!==e){if(60/* `<` */===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(Q.UNMATCHED_CLOSING_TAG,Nt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===o&&!this.ignoreTag&&Jt(this.peek()||0)){if((i=this.parseTag(t,e)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(t,e)).err)return i;n.push(i.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:tt.pound,location:Nt(s,this.clonePosition())})}}}return{val:n,err:null}},
303
317
  /**
304
318
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
305
319
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -366,7 +380,7 @@ this.bumpSpace(),this.isEOF()?this.error(Q.EXPECT_ARGUMENT_CLOSING_BRACE,Nt(r,th
366
380
  * Advance the parser until the end of the identifier, if it is currently on
367
381
  * an identifier character. Return an empty string otherwise.
368
382
  */
369
- t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=$t(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:Nt(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
383
+ t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=kt(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:Nt(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
370
384
  // Parse this range:
371
385
  // {name, type, style}
372
386
  // ^---^
@@ -553,7 +567,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
553
567
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
554
568
  Copyrights licensed under the New BSD License.
555
569
  See the accompanying LICENSE file for terms.
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]}
570
+ */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)))}$([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
571
  /*! *****************************************************************************
558
572
  Copyright (c) Microsoft Corporation.
559
573
 
@@ -567,7 +581,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
567
581
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
568
582
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
569
583
  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=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}
584
+ ***************************************************************************** */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 $e=F(!1);let ke;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!=ke?ke:void 0}je.subscribe((t=>{ke=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((()=>$e.set(!0)),e):$e.set(!0),xe(t).then((()=>{je.set(t)})).finally((()=>{clearTimeout(r),$e.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=$([Ke,Ce],(()=>tr));$([Ke],(()=>er)),$([Ke],(()=>rr)),$([Ke],(()=>nr)),$([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
585
  // Build a destructive iterator for the value list
572
586
  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
587
  /*
@@ -614,8 +628,8 @@ self.fetch.bind(self);
614
628
  PERFORMANCE OF THIS SOFTWARE.
615
629
  ***************************************************************************** */
616
630
  /* global Reflect, Promise */
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
- /* src/CasinoCollectionsProviders.svelte generated by Svelte v3.48.0 */
631
+ 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}(),$r=Fr.EMPTY;function kr(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,kr(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)&&kr(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?$r:(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:$r},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]}};
632
+ /* src/CasinoCollectionsProviders.svelte generated by Svelte v3.55.0 */
619
633
  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
634
  // (146:4) {:else}
621
635
  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);