@everymatrix/casino-lobby 0.0.106 → 0.0.107

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.
@@ -24649,7 +24649,7 @@
24649
24649
  const { console: console_1 } = globals;
24650
24650
  const file = "src/CasinoLobby.svelte";
24651
24651
 
24652
- // (159:0) {:else}
24652
+ // (157:0) {:else}
24653
24653
  function create_else_block(ctx) {
24654
24654
  let div3;
24655
24655
  let div2;
@@ -24686,9 +24686,9 @@
24686
24686
  casino_filter_page = element("casino-filter-page");
24687
24687
  attr_dev(div0, "class", "HeaderPlaceholder");
24688
24688
  set_style(div0, "height", /*headerPlaceholderSize*/ ctx[14] + "px");
24689
- add_location(div0, file, 161, 6, 4931);
24689
+ add_location(div0, file, 159, 6, 4866);
24690
24690
  attr_dev(div1, "class", "ScrollTop");
24691
- add_location(div1, file, 162, 6, 5016);
24691
+ add_location(div1, file, 160, 6, 4951);
24692
24692
  set_custom_element_data(casino_categories_slider, "endpoint", /*endpointURL*/ ctx[9]);
24693
24693
  set_custom_element_data(casino_categories_slider, "datasource", /*DS*/ ctx[10]);
24694
24694
  set_custom_element_data(casino_categories_slider, "lang", /*language*/ ctx[11]);
@@ -24698,7 +24698,7 @@
24698
24698
  set_custom_element_data(casino_categories_slider, "favorites", /*fav*/ ctx[18]);
24699
24699
  set_custom_element_data(casino_categories_slider, "clientstyling", /*clientstyling*/ ctx[2]);
24700
24700
  set_custom_element_data(casino_categories_slider, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24701
- add_location(casino_categories_slider, file, 163, 6, 5080);
24701
+ add_location(casino_categories_slider, file, 161, 6, 5015);
24702
24702
  set_custom_element_data(casino_page, "session", /*session*/ ctx[0]);
24703
24703
  set_custom_element_data(casino_page, "userid", /*userid*/ ctx[1]);
24704
24704
  set_custom_element_data(casino_page, "endpoint", /*endpointURL*/ ctx[9]);
@@ -24710,7 +24710,7 @@
24710
24710
  set_custom_element_data(casino_page, "mostplayed", /*mostPlayed*/ ctx[17]);
24711
24711
  set_custom_element_data(casino_page, "clientstyling", /*clientstyling*/ ctx[2]);
24712
24712
  set_custom_element_data(casino_page, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24713
- add_location(casino_page, file, 174, 6, 5383);
24713
+ add_location(casino_page, file, 172, 6, 5318);
24714
24714
  set_custom_element_data(casino_game_page, "session", /*session*/ ctx[0]);
24715
24715
  set_custom_element_data(casino_game_page, "userid", /*userid*/ ctx[1]);
24716
24716
  set_custom_element_data(casino_game_page, "endpoint", /*endpointURL*/ ctx[9]);
@@ -24722,7 +24722,7 @@
24722
24722
  set_custom_element_data(casino_game_page, "clientstyling", /*clientstyling*/ ctx[2]);
24723
24723
  set_custom_element_data(casino_game_page, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24724
24724
  set_custom_element_data(casino_game_page, "clockformat", /*clockformat*/ ctx[4]);
24725
- add_location(casino_game_page, file, 195, 9, 5917);
24725
+ add_location(casino_game_page, file, 193, 9, 5852);
24726
24726
  set_custom_element_data(casino_modal, "session", /*session*/ ctx[0]);
24727
24727
  set_custom_element_data(casino_modal, "userid", /*userid*/ ctx[1]);
24728
24728
  set_custom_element_data(casino_modal, "endpoint", /*endpointURL*/ ctx[9]);
@@ -24730,7 +24730,7 @@
24730
24730
  set_custom_element_data(casino_modal, "lang", /*language*/ ctx[11]);
24731
24731
  set_custom_element_data(casino_modal, "clientstyling", /*clientstyling*/ ctx[2]);
24732
24732
  set_custom_element_data(casino_modal, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24733
- add_location(casino_modal, file, 187, 6, 5714);
24733
+ add_location(casino_modal, file, 185, 6, 5649);
24734
24734
  set_custom_element_data(casino_filter_page, "session", /*session*/ ctx[0]);
24735
24735
  set_custom_element_data(casino_filter_page, "userid", /*userid*/ ctx[1]);
24736
24736
  set_custom_element_data(casino_filter_page, "endpoint", /*endpointURL*/ ctx[9]);
@@ -24738,7 +24738,7 @@
24738
24738
  set_custom_element_data(casino_filter_page, "lang", /*language*/ ctx[11]);
24739
24739
  set_custom_element_data(casino_filter_page, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24740
24740
  set_custom_element_data(casino_filter_page, "clientstyling", /*clientstyling*/ ctx[2]);
24741
- add_location(casino_filter_page, file, 217, 8, 6514);
24741
+ add_location(casino_filter_page, file, 215, 8, 6449);
24742
24742
  set_custom_element_data(casino_filter_modal, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24743
24743
  set_custom_element_data(casino_filter_modal, "session", /*session*/ ctx[0]);
24744
24744
  set_custom_element_data(casino_filter_modal, "userid", /*userid*/ ctx[1]);
@@ -24746,12 +24746,11 @@
24746
24746
  set_custom_element_data(casino_filter_modal, "datasource", /*DS*/ ctx[10]);
24747
24747
  set_custom_element_data(casino_filter_modal, "lang", /*language*/ ctx[11]);
24748
24748
  set_custom_element_data(casino_filter_modal, "clientstyling", /*clientstyling*/ ctx[2]);
24749
- add_location(casino_filter_modal, file, 209, 6, 6304);
24749
+ add_location(casino_filter_modal, file, 207, 6, 6239);
24750
24750
  attr_dev(div2, "class", "WidgetsSection");
24751
- add_location(div2, file, 160, 4, 4896);
24751
+ add_location(div2, file, 158, 4, 4831);
24752
24752
  attr_dev(div3, "class", "CasinoLobby");
24753
- attr_dev(div3, "part", "casinolobby");
24754
- add_location(div3, file, 159, 2, 4812);
24753
+ add_location(div3, file, 157, 2, 4801);
24755
24754
  },
24756
24755
  m: function mount(target, anchor) {
24757
24756
  insert_dev(target, div3, anchor);
@@ -24770,7 +24769,6 @@
24770
24769
  append_dev(div2, t4);
24771
24770
  append_dev(div2, casino_filter_modal);
24772
24771
  append_dev(casino_filter_modal, casino_filter_page);
24773
- /*div3_binding*/ ctx[31](div3);
24774
24772
  },
24775
24773
  p: function update(ctx, dirty) {
24776
24774
  if (dirty[0] & /*headerPlaceholderSize*/ 16384) {
@@ -24984,7 +24982,6 @@
24984
24982
  d: function destroy(detaching) {
24985
24983
  if (detaching) detach_dev(div3);
24986
24984
  /*div1_binding*/ ctx[30](null);
24987
- /*div3_binding*/ ctx[31](null);
24988
24985
  }
24989
24986
  };
24990
24987
 
@@ -24992,14 +24989,14 @@
24992
24989
  block,
24993
24990
  id: create_else_block.name,
24994
24991
  type: "else",
24995
- source: "(159:0) {:else}",
24992
+ source: "(157:0) {:else}",
24996
24993
  ctx
24997
24994
  });
24998
24995
 
24999
24996
  return block;
25000
24997
  }
25001
24998
 
25002
- // (157:0) {#if hasErrors}
24999
+ // (155:0) {#if hasErrors}
25003
25000
  function create_if_block(ctx) {
25004
25001
  let p;
25005
25002
  let t;
@@ -25009,7 +25006,7 @@
25009
25006
  p = element("p");
25010
25007
  t = text(/*error*/ ctx[13]);
25011
25008
  set_style(p, "color", "#fff");
25012
- add_location(p, file, 157, 2, 4768);
25009
+ add_location(p, file, 155, 2, 4757);
25013
25010
  },
25014
25011
  m: function mount(target, anchor) {
25015
25012
  insert_dev(target, p, anchor);
@@ -25027,7 +25024,7 @@
25027
25024
  block,
25028
25025
  id: create_if_block.name,
25029
25026
  type: "if",
25030
- source: "(157:0) {#if hasErrors}",
25027
+ source: "(155:0) {#if hasErrors}",
25031
25028
  ctx
25032
25029
  });
25033
25030
 
@@ -25035,7 +25032,7 @@
25035
25032
  }
25036
25033
 
25037
25034
  function create_fragment(ctx) {
25038
- let if_block_anchor;
25035
+ let div;
25039
25036
 
25040
25037
  function select_block_type(ctx, dirty) {
25041
25038
  if (/*hasErrors*/ ctx[12]) return create_if_block;
@@ -25047,16 +25044,18 @@
25047
25044
 
25048
25045
  const block = {
25049
25046
  c: function create() {
25047
+ div = element("div");
25050
25048
  if_block.c();
25051
- if_block_anchor = empty();
25052
25049
  this.c = noop$1;
25050
+ add_location(div, file, 153, 0, 4697);
25053
25051
  },
25054
25052
  l: function claim(nodes) {
25055
25053
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
25056
25054
  },
25057
25055
  m: function mount(target, anchor) {
25058
- if_block.m(target, anchor);
25059
- insert_dev(target, if_block_anchor, anchor);
25056
+ insert_dev(target, div, anchor);
25057
+ if_block.m(div, null);
25058
+ /*div_binding*/ ctx[31](div);
25060
25059
  },
25061
25060
  p: function update(ctx, dirty) {
25062
25061
  if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
@@ -25067,15 +25066,16 @@
25067
25066
 
25068
25067
  if (if_block) {
25069
25068
  if_block.c();
25070
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
25069
+ if_block.m(div, null);
25071
25070
  }
25072
25071
  }
25073
25072
  },
25074
25073
  i: noop$1,
25075
25074
  o: noop$1,
25076
25075
  d: function destroy(detaching) {
25077
- if_block.d(detaching);
25078
- if (detaching) detach_dev(if_block_anchor);
25076
+ if (detaching) detach_dev(div);
25077
+ if_block.d();
25078
+ /*div_binding*/ ctx[31](null);
25079
25079
  }
25080
25080
  };
25081
25081
 
@@ -25218,10 +25218,7 @@
25218
25218
  $$invalidate(13, error = "Loading, please wait ...");
25219
25219
  let cssFile = document.createElement("style");
25220
25220
 
25221
- fetch(new URL(clientstylingurl)).then(res => {
25222
- $$invalidate(12, hasErrors = false);
25223
- return res.text();
25224
- }).then(data => {
25221
+ fetch(new URL(clientstylingurl)).then(res => res.text()).then(data => {
25225
25222
  cssFile.innerHTML = data;
25226
25223
  $$invalidate(12, hasErrors = false);
25227
25224
 
@@ -25230,7 +25227,7 @@
25230
25227
  () => {
25231
25228
  customStylingContainer.appendChild(cssFile);
25232
25229
  },
25233
- 500
25230
+ 5
25234
25231
  );
25235
25232
  }
25236
25233
  }).catch(err => {
@@ -25285,7 +25282,7 @@
25285
25282
  });
25286
25283
  }
25287
25284
 
25288
- function div3_binding($$value) {
25285
+ function div_binding($$value) {
25289
25286
  binding_callbacks[$$value ? "unshift" : "push"](() => {
25290
25287
  customStylingContainer = $$value;
25291
25288
  $$invalidate(16, customStylingContainer);
@@ -25463,7 +25460,7 @@
25463
25460
  desktopoffset,
25464
25461
  mobileoffset,
25465
25462
  div1_binding,
25466
- div3_binding
25463
+ div_binding
25467
25464
  ];
25468
25465
  }
25469
25466