@everymatrix/casino-categories-providers 1.9.1 → 1.9.3

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.
@@ -58,7 +58,9 @@
58
58
  target.insertBefore(node, anchor || null);
59
59
  }
60
60
  function detach(node) {
61
- node.parentNode.removeChild(node);
61
+ if (node.parentNode) {
62
+ node.parentNode.removeChild(node);
63
+ }
62
64
  }
63
65
  function destroy_each(iterations, detaching) {
64
66
  for (let i = 0; i < iterations.length; i += 1) {
@@ -119,9 +121,9 @@
119
121
 
120
122
  const dirty_components = [];
121
123
  const binding_callbacks = [];
122
- const render_callbacks = [];
124
+ let render_callbacks = [];
123
125
  const flush_callbacks = [];
124
- const resolved_promise = Promise.resolve();
126
+ const resolved_promise = /* @__PURE__ */ Promise.resolve();
125
127
  let update_scheduled = false;
126
128
  function schedule_update() {
127
129
  if (!update_scheduled) {
@@ -153,15 +155,29 @@
153
155
  const seen_callbacks = new Set();
154
156
  let flushidx = 0; // Do *not* move this inside the flush() function
155
157
  function flush() {
158
+ // Do not reenter flush while dirty components are updated, as this can
159
+ // result in an infinite loop. Instead, let the inner flush handle it.
160
+ // Reentrancy is ok afterwards for bindings etc.
161
+ if (flushidx !== 0) {
162
+ return;
163
+ }
156
164
  const saved_component = current_component;
157
165
  do {
158
166
  // first, call beforeUpdate functions
159
167
  // and update components
160
- while (flushidx < dirty_components.length) {
161
- const component = dirty_components[flushidx];
162
- flushidx++;
163
- set_current_component(component);
164
- update(component.$$);
168
+ try {
169
+ while (flushidx < dirty_components.length) {
170
+ const component = dirty_components[flushidx];
171
+ flushidx++;
172
+ set_current_component(component);
173
+ update(component.$$);
174
+ }
175
+ }
176
+ catch (e) {
177
+ // reset dirty state to not end up in a deadlocked state and then rethrow
178
+ dirty_components.length = 0;
179
+ flushidx = 0;
180
+ throw e;
165
181
  }
166
182
  set_current_component(null);
167
183
  dirty_components.length = 0;
@@ -198,6 +214,16 @@
198
214
  $$.after_update.forEach(add_render_callback);
199
215
  }
200
216
  }
217
+ /**
218
+ * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
219
+ */
220
+ function flush_render_callbacks(fns) {
221
+ const filtered = [];
222
+ const targets = [];
223
+ render_callbacks.forEach((c) => fns.indexOf(c) === -1 ? filtered.push(c) : targets.push(c));
224
+ targets.forEach((c) => c());
225
+ render_callbacks = filtered;
226
+ }
201
227
  const outroing = new Set();
202
228
  function transition_in(block, local) {
203
229
  if (block && block.i) {
@@ -212,14 +238,17 @@
212
238
  ? globalThis
213
239
  : global);
214
240
  function mount_component(component, target, anchor, customElement) {
215
- const { fragment, on_mount, on_destroy, after_update } = component.$$;
241
+ const { fragment, after_update } = component.$$;
216
242
  fragment && fragment.m(target, anchor);
217
243
  if (!customElement) {
218
244
  // onMount happens before the initial afterUpdate
219
245
  add_render_callback(() => {
220
- const new_on_destroy = on_mount.map(run).filter(is_function);
221
- if (on_destroy) {
222
- on_destroy.push(...new_on_destroy);
246
+ const new_on_destroy = component.$$.on_mount.map(run).filter(is_function);
247
+ // if the component was destroyed immediately
248
+ // it will update the `$$.on_destroy` reference to `null`.
249
+ // the destructured on_destroy may still reference to the old array
250
+ if (component.$$.on_destroy) {
251
+ component.$$.on_destroy.push(...new_on_destroy);
223
252
  }
224
253
  else {
225
254
  // Edge case - component was destroyed immediately,
@@ -234,6 +263,7 @@
234
263
  function destroy_component(component, detaching) {
235
264
  const $$ = component.$$;
236
265
  if ($$.fragment !== null) {
266
+ flush_render_callbacks($$.after_update);
237
267
  run_all($$.on_destroy);
238
268
  $$.fragment && $$.fragment.d(detaching);
239
269
  // TODO null out other refs, including component.$$ (but need to
@@ -255,7 +285,7 @@
255
285
  set_current_component(component);
256
286
  const $$ = component.$$ = {
257
287
  fragment: null,
258
- ctx: null,
288
+ ctx: [],
259
289
  // state
260
290
  props,
261
291
  update: noop,
@@ -339,6 +369,9 @@
339
369
  }
340
370
  $on(type, callback) {
341
371
  // TODO should this delegate to addEventListener?
372
+ if (!is_function(callback)) {
373
+ return noop;
374
+ }
342
375
  const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));
343
376
  callbacks.push(callback);
344
377
  return () => {
@@ -358,7 +391,7 @@
358
391
  }
359
392
 
360
393
  function dispatch_dev(type, detail) {
361
- document.dispatchEvent(custom_event(type, Object.assign({ version: '3.48.0' }, detail), { bubbles: true }));
394
+ document.dispatchEvent(custom_event(type, Object.assign({ version: '3.58.0' }, detail), { bubbles: true }));
362
395
  }
363
396
  function append_dev(target, node) {
364
397
  dispatch_dev('SvelteDOMInsert', { target, node });
@@ -372,12 +405,14 @@
372
405
  dispatch_dev('SvelteDOMRemove', { node });
373
406
  detach(node);
374
407
  }
375
- function listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {
408
+ function listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation, has_stop_immediate_propagation) {
376
409
  const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];
377
410
  if (has_prevent_default)
378
411
  modifiers.push('preventDefault');
379
412
  if (has_stop_propagation)
380
413
  modifiers.push('stopPropagation');
414
+ if (has_stop_immediate_propagation)
415
+ modifiers.push('stopImmediatePropagation');
381
416
  dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });
382
417
  const dispose = listen(node, event, handler, options);
383
418
  return () => {
@@ -394,7 +429,7 @@
394
429
  }
395
430
  function set_data_dev(text, data) {
396
431
  data = '' + data;
397
- if (text.wholeText === data)
432
+ if (text.data === data)
398
433
  return;
399
434
  dispatch_dev('SvelteDOMSetData', { node: text, data });
400
435
  text.data = data;
@@ -465,7 +500,7 @@
465
500
  run(value);
466
501
  return () => {
467
502
  subscribers.delete(subscriber);
468
- if (subscribers.size === 0) {
503
+ if (subscribers.size === 0 && stop) {
469
504
  stop();
470
505
  stop = null;
471
506
  }
@@ -480,7 +515,7 @@
480
515
  : stores;
481
516
  const auto = fn.length < 2;
482
517
  return readable(initial_value, (set) => {
483
- let inited = false;
518
+ let started = false;
484
519
  const values = [];
485
520
  let pending = 0;
486
521
  let cleanup = noop;
@@ -500,17 +535,21 @@
500
535
  const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {
501
536
  values[i] = value;
502
537
  pending &= ~(1 << i);
503
- if (inited) {
538
+ if (started) {
504
539
  sync();
505
540
  }
506
541
  }, () => {
507
542
  pending |= (1 << i);
508
543
  }));
509
- inited = true;
544
+ started = true;
510
545
  sync();
511
546
  return function stop() {
512
547
  run_all(unsubscribers);
513
548
  cleanup();
549
+ // We need to set this to false because callbacks can still happen despite having unsubscribed:
550
+ // Callbacks might already be placed in the queue which doesn't know it should no longer
551
+ // invoke this derived store.
552
+ started = false;
514
553
  };
515
554
  });
516
555
  }
@@ -567,7 +606,7 @@
567
606
  function getEnumerableOwnPropertySymbols(target) {
568
607
  return Object.getOwnPropertySymbols
569
608
  ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
570
- return target.propertyIsEnumerable(symbol)
609
+ return Object.propertyIsEnumerable.call(target, symbol)
571
610
  })
572
611
  : []
573
612
  }
@@ -4533,27 +4572,14 @@
4533
4572
  */
4534
4573
  var o = IntlMessageFormat;
4535
4574
 
4536
- const r={},i=(e,n,t)=>t?(n in r||(r[n]={}),e in r[n]||(r[n][e]=t),t):t,l=(e,n)=>{if(null==n)return;if(n in r&&e in r[n])return r[n][e];const t=E(n);for(let o=0;o<t.length;o++){const r=c(t[o],e);if(r)return i(e,n,r)}};let a;const s=writable({});function u(e){return e in a}function c(e,n){if(!u(e))return null;const t=function(e){return a[e]||null}(e);return function(e,n){if(null==n)return;if(n in e)return e[n];const t=n.split(".");let o=e;for(let e=0;e<t.length;e++)if("object"==typeof o){if(e>0){const n=t.slice(e,t.length).join(".");if(n in o){o=o[n];break}}o=o[t[e]];}else o=void 0;return o}(t,n)}function m(e,...n){delete r[e],s.update((o=>(o[e]=cjs.all([o[e]||{},...n]),o)));}derived([s],(([e])=>Object.keys(e)));s.subscribe((e=>a=e));const d={};function g(e){return d[e]}function h(e){return null!=e&&E(e).some((e=>{var n;return null===(n=g(e))||void 0===n?void 0:n.size}))}function w(e,n){const t=Promise.all(n.map((n=>(function(e,n){d[e].delete(n),0===d[e].size&&delete d[e];}(e,n),n().then((e=>e.default||e))))));return t.then((n=>m(e,...n)))}const p={};function b(e){if(!h(e))return e in p?p[e]:Promise.resolve();const n=function(e){return E(e).map((e=>{const n=g(e);return [e,n?[...n]:[]]})).filter((([,e])=>e.length>0))}(e);return p[e]=Promise.all(n.map((([e,n])=>w(e,n)))).then((()=>{if(h(e))return b(e);delete p[e];})),p[e]}/*! *****************************************************************************
4537
- Copyright (c) Microsoft Corporation.
4538
-
4539
- Permission to use, copy, modify, and/or distribute this software for any
4540
- purpose with or without fee is hereby granted.
4541
-
4542
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
4543
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4544
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
4545
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4546
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4547
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4548
- PERFORMANCE OF THIS SOFTWARE.
4549
- ***************************************************************************** */function v(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);}return t}const j={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 M(){return j}const k=writable(!1);let T;const L=writable(null);function x(e){return e.split("-").map(((e,n,t)=>t.slice(0,n+1).join("-"))).reverse()}function E(e,n=M().fallbackLocale){const t=x(e);return n?[...new Set([...t,...x(n)])]:t}function P(){return null!=T?T:void 0}L.subscribe((e=>{T=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e);}));const D=Object.assign(Object.assign({},L),{set:e=>{if(e&&function(e){if(null==e)return;const n=E(e);for(let e=0;e<n.length;e++){const t=n[e];if(u(t))return t}}(e)&&h(e)){const{loadingDelay:n}=M();let t;return "undefined"!=typeof window&&null!=P()&&n?t=window.setTimeout((()=>k.set(!0)),n):k.set(!0),b(e).then((()=>{L.set(e);})).finally((()=>{clearTimeout(t),k.set(!1);}))}return L.set(e)}}),C=e=>{const n=Object.create(null);return t=>{const o=JSON.stringify(t);return o in n?n[o]:n[o]=e(t)}},G=(e,n)=>{const{formats:t}=M();if(e in t&&n in t[e])return t[e][n];throw new Error(`[svelte-i18n] Unknown "${n}" ${e} format.`)},J=C((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(o=G("number",t)),new Intl.NumberFormat(n,o)})),U=C((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?o=G("date",t):0===Object.keys(o).length&&(o=G("date","short")),new Intl.DateTimeFormat(n,o)})),V=C((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?o=G("time",t):0===Object.keys(o).length&&(o=G("time","short")),new Intl.DateTimeFormat(n,o)})),_=(e={})=>{var{locale:n=P()}=e,t=v(e,["locale"]);return J(Object.assign({locale:n},t))},q=(e={})=>{var{locale:n=P()}=e,t=v(e,["locale"]);return U(Object.assign({locale:n},t))},B=(e={})=>{var{locale:n=P()}=e,t=v(e,["locale"]);return V(Object.assign({locale:n},t))},H=C(((e,n=P())=>new o(e,n,M().formats,{ignoreTag:M().ignoreTag}))),K=(e,n={})=>{var t,o,r,i;let a=n;"object"==typeof e&&(a=e,e=a.id);const{values:s,locale:u=P(),default:c}=a;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let m=l(e,u);if(m){if("string"!=typeof m)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof m}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),m}else m=null!==(i=null!==(r=null===(o=(t=M()).handleMissingMessage)||void 0===o?void 0:o.call(t,{locale:u,id:e,defaultValue:c}))&&void 0!==r?r:c)&&void 0!==i?i:e;if(!s)return m;let f=m;try{f=H(m,u).format(s);}catch(n){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,n.message);}return f},Q=(e,n)=>B(n).format(e),R=(e,n)=>q(n).format(e),W=(e,n)=>_(n).format(e),X=(e,n=P())=>l(e,n),Y=derived([D,s],(()=>K));derived([D],(()=>Q));derived([D],(()=>R));derived([D],(()=>W));derived([D,s],(()=>X));
4575
+ const i={},r=(e,n,t)=>t?(n in i||(i[n]={}),e in i[n]||(i[n][e]=t),t):t,s=(e,n)=>{if(null==n)return;if(n in i&&e in i[n])return i[n][e];const t=E(n);for(let o=0;o<t.length;o++){const i=c(t[o],e);if(i)return r(e,n,i)}};let l;const a=writable({});function u(e){return e in l}function c(e,n){if(!u(e))return null;const t=function(e){return l[e]||null}(e);return function(e,n){if(null==n)return;if(n in e)return e[n];const t=n.split(".");let o=e;for(let e=0;e<t.length;e++)if("object"==typeof o){if(e>0){const n=t.slice(e,t.length).join(".");if(n in o){o=o[n];break}}o=o[t[e]];}else o=void 0;return o}(t,n)}function m(e,...n){delete i[e],a.update((o=>(o[e]=cjs.all([o[e]||{},...n]),o)));}derived([a],(([e])=>Object.keys(e)));a.subscribe((e=>l=e));const d={};function g(e){return d[e]}function h(e){return null!=e&&E(e).some((e=>{var n;return null===(n=g(e))||void 0===n?void 0:n.size}))}function w(e,n){const t=Promise.all(n.map((n=>(function(e,n){d[e].delete(n),0===d[e].size&&delete d[e];}(e,n),n().then((e=>e.default||e))))));return t.then((n=>m(e,...n)))}const p={};function b(e){if(!h(e))return e in p?p[e]:Promise.resolve();const n=function(e){return E(e).map((e=>{const n=g(e);return [e,n?[...n]:[]]})).filter((([,e])=>e.length>0))}(e);return p[e]=Promise.all(n.map((([e,n])=>w(e,n)))).then((()=>{if(h(e))return b(e);delete p[e];})),p[e]}const M={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 j(){return M}const $=writable(!1);let k;const T=writable(null);function L(e){return e.split("-").map(((e,n,t)=>t.slice(0,n+1).join("-"))).reverse()}function E(e,n=j().fallbackLocale){const t=L(e);return n?[...new Set([...t,...L(n)])]:t}function D(){return null!=k?k:void 0}T.subscribe((e=>{k=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e);}));const x={...T,set:e=>{if(e&&function(e){if(null==e)return;const n=E(e);for(let e=0;e<n.length;e++){const t=n[e];if(u(t))return t}}(e)&&h(e)){const{loadingDelay:n}=j();let t;return "undefined"!=typeof window&&null!=D()&&n?t=window.setTimeout((()=>$.set(!0)),n):$.set(!0),b(e).then((()=>{T.set(e);})).finally((()=>{clearTimeout(t),$.set(!1);}))}return T.set(e)}},Z=e=>{const n=Object.create(null);return t=>{const o=JSON.stringify(t);return o in n?n[o]:n[o]=e(t)}},C=(e,n)=>{const{formats:t}=j();if(e in t&&n in t[e])return t[e][n];throw new Error(`[svelte-i18n] Unknown "${n}" ${e} format.`)},G=Z((({locale:e,format:n,...t})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(t=C("number",n)),new Intl.NumberFormat(e,t)})),J=Z((({locale:e,format:n,...t})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?t=C("date",n):0===Object.keys(t).length&&(t=C("date","short")),new Intl.DateTimeFormat(e,t)})),U=Z((({locale:e,format:n,...t})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?t=C("time",n):0===Object.keys(t).length&&(t=C("time","short")),new Intl.DateTimeFormat(e,t)})),V=({locale:e=D(),...n}={})=>G({locale:e,...n}),_=({locale:e=D(),...n}={})=>J({locale:e,...n}),q=({locale:e=D(),...n}={})=>U({locale:e,...n}),B=Z(((e,n=D())=>new o(e,n,j().formats,{ignoreTag:j().ignoreTag}))),H=(e,n={})=>{var t,o,i,r;let l=n;"object"==typeof e&&(l=e,e=l.id);const{values:a,locale:u=D(),default:c}=l;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let m=s(e,u);if(m){if("string"!=typeof m)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof m}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),m}else m=null!==(r=null!==(i=null===(o=(t=j()).handleMissingMessage)||void 0===o?void 0:o.call(t,{locale:u,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==r?r:e;if(!a)return m;let f=m;try{f=B(m,u).format(a);}catch(n){n instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,n.message);}return f},K=(e,n)=>q(n).format(e),Q=(e,n)=>_(n).format(e),R=(e,n)=>V(n).format(e),W=(e,n=D())=>s(e,n),X=derived([x,a],(()=>H));derived([x],(()=>K));derived([x],(()=>Q));derived([x],(()=>R));derived([x,a],(()=>W));
4550
4576
 
4551
4577
  function addNewMessages$2(lang, dict) {
4552
4578
  m(lang, dict);
4553
4579
  }
4554
4580
 
4555
4581
  function setLocale$2(_locale) {
4556
- D.set(_locale);
4582
+ x.set(_locale);
4557
4583
  }
4558
4584
 
4559
4585
  const Translations$2 = {
@@ -4660,7 +4686,7 @@
4660
4686
  }
4661
4687
 
4662
4688
  function setLocale$1(_locale) {
4663
- D.set(_locale);
4689
+ x.set(_locale);
4664
4690
  }
4665
4691
 
4666
4692
  const Translations$1 = {
@@ -4786,7 +4812,7 @@
4786
4812
  },
4787
4813
  };
4788
4814
 
4789
- /* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.48.0 */
4815
+ /* ../casino-categories/src/CasinoCategories.svelte generated by Svelte v3.58.0 */
4790
4816
 
4791
4817
  const { Object: Object_1$2, console: console_1$2 } = globals;
4792
4818
  const file$2 = "../casino-categories/src/CasinoCategories.svelte";
@@ -4865,7 +4891,9 @@
4865
4891
  append_dev(div, t1);
4866
4892
 
4867
4893
  for (let i = 0; i < each_blocks_1.length; i += 1) {
4868
- each_blocks_1[i].m(div, null);
4894
+ if (each_blocks_1[i]) {
4895
+ each_blocks_1[i].m(div, null);
4896
+ }
4869
4897
  }
4870
4898
 
4871
4899
  append_dev(div, t2);
@@ -4874,7 +4902,9 @@
4874
4902
  append_dev(div, t4);
4875
4903
 
4876
4904
  for (let i = 0; i < each_blocks.length; i += 1) {
4877
- each_blocks[i].m(div, null);
4905
+ if (each_blocks[i]) {
4906
+ each_blocks[i].m(div, null);
4907
+ }
4878
4908
  }
4879
4909
  },
4880
4910
  p: function update(ctx, dirty) {
@@ -5047,7 +5077,7 @@
5047
5077
  append_dev(p1, t5);
5048
5078
 
5049
5079
  if (!mounted) {
5050
- dispose = listen_dev(div1, "click", click_handler, false, false, false);
5080
+ dispose = listen_dev(div1, "click", click_handler, false, false, false, false);
5051
5081
  mounted = true;
5052
5082
  }
5053
5083
  },
@@ -5161,7 +5191,7 @@
5161
5191
  append_dev(div1, t6);
5162
5192
 
5163
5193
  if (!mounted) {
5164
- dispose = listen_dev(div1, "click", click_handler_1, false, false, false);
5194
+ dispose = listen_dev(div1, "click", click_handler_1, false, false, false, false);
5165
5195
  mounted = true;
5166
5196
  }
5167
5197
  },
@@ -5265,8 +5295,8 @@
5265
5295
 
5266
5296
  function instance$2($$self, $$props, $$invalidate) {
5267
5297
  let $_;
5268
- validate_store(Y, '_');
5269
- component_subscribe($$self, Y, $$value => $$invalidate(5, $_ = $$value));
5298
+ validate_store(X, '_');
5299
+ component_subscribe($$self, X, $$value => $$invalidate(5, $_ = $$value));
5270
5300
  let { $$slots: slots = {}, $$scope } = $$props;
5271
5301
  validate_slots('undefined', slots, []);
5272
5302
  let { endpoint = '' } = $$props;
@@ -5399,7 +5429,7 @@
5399
5429
  };
5400
5430
 
5401
5431
  $$self.$capture_state = () => ({
5402
- _: Y,
5432
+ _: X,
5403
5433
  addNewMessages: addNewMessages$1,
5404
5434
  setLocale: setLocale$1,
5405
5435
  Translations: Translations$1,
@@ -5492,7 +5522,9 @@
5492
5522
  class CasinoCategories extends SvelteElement {
5493
5523
  constructor(options) {
5494
5524
  super();
5495
- 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;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px #e4e2e2}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px}.CategoryTextContainer p:first-child{font-weight:600}.CategoryTextContainer p:last-child{color:#828282;font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}</style>`;
5525
+ const style = document.createElement('style');
5526
+ style.textContent = `: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;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px #e4e2e2}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px}.CategoryTextContainer p:first-child{font-weight:600}.CategoryTextContainer p:last-child{color:#828282;font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}`;
5527
+ this.shadowRoot.appendChild(style);
5496
5528
 
5497
5529
  init(
5498
5530
  this,
@@ -5745,10 +5777,10 @@
5745
5777
  }
5746
5778
 
5747
5779
  function setLocale(_locale) {
5748
- D.set(_locale);
5780
+ x.set(_locale);
5749
5781
  }
5750
5782
 
5751
- /* ../casino-providers/src/CasinoProviders.svelte generated by Svelte v3.48.0 */
5783
+ /* ../casino-providers/src/CasinoProviders.svelte generated by Svelte v3.58.0 */
5752
5784
 
5753
5785
  const { Object: Object_1$1, console: console_1$1 } = globals;
5754
5786
  const file$1 = "../casino-providers/src/CasinoProviders.svelte";
@@ -5824,7 +5856,9 @@
5824
5856
  insert_dev(target, t1, anchor);
5825
5857
 
5826
5858
  for (let i = 0; i < each_blocks_1.length; i += 1) {
5827
- each_blocks_1[i].m(target, anchor);
5859
+ if (each_blocks_1[i]) {
5860
+ each_blocks_1[i].m(target, anchor);
5861
+ }
5828
5862
  }
5829
5863
 
5830
5864
  insert_dev(target, t2, anchor);
@@ -5833,7 +5867,9 @@
5833
5867
  insert_dev(target, t4, anchor);
5834
5868
 
5835
5869
  for (let i = 0; i < each_blocks.length; i += 1) {
5836
- each_blocks[i].m(target, anchor);
5870
+ if (each_blocks[i]) {
5871
+ each_blocks[i].m(target, anchor);
5872
+ }
5837
5873
  }
5838
5874
 
5839
5875
  insert_dev(target, each1_anchor, anchor);
@@ -6020,7 +6056,7 @@
6020
6056
  append_dev(p1, t7);
6021
6057
 
6022
6058
  if (!mounted) {
6023
- dispose = listen_dev(div1, "click", click_handler, false, false, false);
6059
+ dispose = listen_dev(div1, "click", click_handler, false, false, false, false);
6024
6060
  mounted = true;
6025
6061
  }
6026
6062
  },
@@ -6124,7 +6160,7 @@
6124
6160
  append_dev(div1, t6);
6125
6161
 
6126
6162
  if (!mounted) {
6127
- dispose = listen_dev(div1, "click", click_handler_1, false, false, false);
6163
+ dispose = listen_dev(div1, "click", click_handler_1, false, false, false, false);
6128
6164
  mounted = true;
6129
6165
  }
6130
6166
  },
@@ -6223,8 +6259,8 @@
6223
6259
 
6224
6260
  function instance$1($$self, $$props, $$invalidate) {
6225
6261
  let $_;
6226
- validate_store(Y, '_');
6227
- component_subscribe($$self, Y, $$value => $$invalidate(4, $_ = $$value));
6262
+ validate_store(X, '_');
6263
+ component_subscribe($$self, X, $$value => $$invalidate(4, $_ = $$value));
6228
6264
  let { $$slots: slots = {}, $$scope } = $$props;
6229
6265
  validate_slots('undefined', slots, []);
6230
6266
  let { endpoint = '' } = $$props;
@@ -6342,7 +6378,7 @@
6342
6378
 
6343
6379
  $$self.$capture_state = () => ({
6344
6380
  Translations,
6345
- _: Y,
6381
+ _: X,
6346
6382
  addNewMessages,
6347
6383
  setLocale,
6348
6384
  endpoint,
@@ -6427,7 +6463,9 @@
6427
6463
  class CasinoProviders extends SvelteElement {
6428
6464
  constructor(options) {
6429
6465
  super();
6430
- 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;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px}.ProviderTextContainer p:first-child{font-weight:600}.ProviderTextContainer p:last-child{color:#828282;font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:.5px solid #e4e2e2;overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}</style>`;
6466
+ const style = document.createElement('style');
6467
+ style.textContent = `: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;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px}.ProviderTextContainer p:first-child{font-weight:600}.ProviderTextContainer p:last-child{color:#828282;font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid #e4e2e2;overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}`;
6468
+ this.shadowRoot.appendChild(style);
6431
6469
 
6432
6470
  init(
6433
6471
  this,
@@ -6530,7 +6568,7 @@
6530
6568
 
6531
6569
  !customElements.get('casino-providers') && customElements.define('casino-providers', CasinoProviders);
6532
6570
 
6533
- /* src/CasinoCategoriesProviders.svelte generated by Svelte v3.48.0 */
6571
+ /* src/CasinoCategoriesProviders.svelte generated by Svelte v3.58.0 */
6534
6572
 
6535
6573
  const { Object: Object_1, console: console_1 } = globals;
6536
6574
  const file = "src/CasinoCategoriesProviders.svelte";
@@ -6634,8 +6672,8 @@
6634
6672
 
6635
6673
  if (!mounted) {
6636
6674
  dispose = [
6637
- listen_dev(button0, "click", /*click_handler*/ ctx[14], false, false, false),
6638
- listen_dev(button1, "click", /*click_handler_1*/ ctx[15], false, false, false)
6675
+ listen_dev(button0, "click", /*click_handler*/ ctx[14], false, false, false, false),
6676
+ listen_dev(button1, "click", /*click_handler_1*/ ctx[15], false, false, false, false)
6639
6677
  ];
6640
6678
 
6641
6679
  mounted = true;
@@ -6737,8 +6775,8 @@
6737
6775
 
6738
6776
  function instance($$self, $$props, $$invalidate) {
6739
6777
  let $_;
6740
- validate_store(Y, '_');
6741
- component_subscribe($$self, Y, $$value => $$invalidate(11, $_ = $$value));
6778
+ validate_store(X, '_');
6779
+ component_subscribe($$self, X, $$value => $$invalidate(11, $_ = $$value));
6742
6780
  let { $$slots: slots = {}, $$scope } = $$props;
6743
6781
  validate_slots('undefined', slots, []);
6744
6782
  let { endpointcategories = '' } = $$props;
@@ -6851,7 +6889,7 @@
6851
6889
  };
6852
6890
 
6853
6891
  $$self.$capture_state = () => ({
6854
- _: Y,
6892
+ _: X,
6855
6893
  addNewMessages: addNewMessages$2,
6856
6894
  setLocale: setLocale$2,
6857
6895
  Translations: Translations$2,
@@ -6938,7 +6976,9 @@
6938
6976
  class CasinoCategoriesProviders extends SvelteElement {
6939
6977
  constructor(options) {
6940
6978
  super();
6941
- 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;box-sizing:border-box}.NotVisible{display:none}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;background:#ffffff;color:#828282;box-shadow:1px 2px 2px rgba(130, 130, 130, 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid #c8102e;color:#c8102e}</style>`;
6979
+ const style = document.createElement('style');
6980
+ style.textContent = `: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;box-sizing:border-box}.NotVisible{display:none}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;background:#ffffff;color:#828282;box-shadow:1px 2px 2px rgba(130, 130, 130, 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid #c8102e;color:#c8102e}`;
6981
+ this.shadowRoot.appendChild(style);
6942
6982
 
6943
6983
  init(
6944
6984
  this,