@everymatrix/casino-lobby 0.0.103 → 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.
@@ -1,5 +1,3 @@
1
-
2
- (function(l, r) { if (l.getElementById('livereloadscript')) return; r = l.createElement('script'); r.async = 1; r.src = '//' + (window.location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1'; r.id = 'livereloadscript'; l.getElementsByTagName('head')[0].appendChild(r) })(window.document);
3
1
  (function (global, factory) {
4
2
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
5
3
  typeof define === 'function' && define.amd ? define(factory) :
@@ -5574,7 +5572,7 @@
5574
5572
  const { console: console_1$7 } = globals;
5575
5573
  const file$8 = "../casino-categories-slider/src/CasinoCategoriesSlider.svelte";
5576
5574
 
5577
- // (186:4) {:else}
5575
+ // (194:4) {:else}
5578
5576
  function create_else_block$5(ctx) {
5579
5577
  let div;
5580
5578
  let casino_slider;
@@ -5588,9 +5586,9 @@
5588
5586
  set_custom_element_data(casino_slider, "clientstyling", /*clientstyling*/ ctx[0]);
5589
5587
  set_custom_element_data(casino_slider, "clientstylingurl", /*clientstylingurl*/ ctx[1]);
5590
5588
  set_custom_element_data(casino_slider, "onclickeventname", "CategoryChange");
5591
- add_location(casino_slider, file$8, 187, 8, 6014);
5589
+ add_location(casino_slider, file$8, 195, 8, 6174);
5592
5590
  attr_dev(div, "class", "CasinoCategoriesContainer");
5593
- add_location(div, file$8, 186, 6, 5966);
5591
+ add_location(div, file$8, 194, 6, 6126);
5594
5592
  },
5595
5593
  m: function mount(target, anchor) {
5596
5594
  insert_dev(target, div, anchor);
@@ -5622,14 +5620,14 @@
5622
5620
  block,
5623
5621
  id: create_else_block$5.name,
5624
5622
  type: "else",
5625
- source: "(186:4) {:else}",
5623
+ source: "(194:4) {:else}",
5626
5624
  ctx
5627
5625
  });
5628
5626
 
5629
5627
  return block;
5630
5628
  }
5631
5629
 
5632
- // (184:4) {#if hasErrors}
5630
+ // (192:4) {#if hasErrors}
5633
5631
  function create_if_block_1$5(ctx) {
5634
5632
  let p;
5635
5633
 
@@ -5638,7 +5636,7 @@
5638
5636
  p = element("p");
5639
5637
  p.textContent = "500 Error - Internal Server Error.";
5640
5638
  attr_dev(p, "class", "SearchLoading");
5641
- add_location(p, file$8, 184, 6, 5884);
5639
+ add_location(p, file$8, 192, 6, 6044);
5642
5640
  },
5643
5641
  m: function mount(target, anchor) {
5644
5642
  insert_dev(target, p, anchor);
@@ -5653,14 +5651,14 @@
5653
5651
  block,
5654
5652
  id: create_if_block_1$5.name,
5655
5653
  type: "if",
5656
- source: "(184:4) {#if hasErrors}",
5654
+ source: "(192:4) {#if hasErrors}",
5657
5655
  ctx
5658
5656
  });
5659
5657
 
5660
5658
  return block;
5661
5659
  }
5662
5660
 
5663
- // (181:2) {#if isLoading}
5661
+ // (189:2) {#if isLoading}
5664
5662
  function create_if_block$8(ctx) {
5665
5663
  let p;
5666
5664
 
@@ -5668,7 +5666,7 @@
5668
5666
  c: function create() {
5669
5667
  p = element("p");
5670
5668
  p.textContent = "Please wait ...";
5671
- add_location(p, file$8, 181, 4, 5825);
5669
+ add_location(p, file$8, 189, 4, 5985);
5672
5670
  },
5673
5671
  m: function mount(target, anchor) {
5674
5672
  insert_dev(target, p, anchor);
@@ -5683,7 +5681,7 @@
5683
5681
  block,
5684
5682
  id: create_if_block$8.name,
5685
5683
  type: "if",
5686
- source: "(181:2) {#if isLoading}",
5684
+ source: "(189:2) {#if isLoading}",
5687
5685
  ctx
5688
5686
  });
5689
5687
 
@@ -5707,7 +5705,7 @@
5707
5705
  div = element("div");
5708
5706
  if_block.c();
5709
5707
  this.c = noop$1;
5710
- add_location(div, file$8, 179, 0, 5762);
5708
+ add_location(div, file$8, 187, 0, 5922);
5711
5709
  },
5712
5710
  l: function claim(nodes) {
5713
5711
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5926,8 +5924,13 @@
5926
5924
 
5927
5925
  const setClientStylingURL = () => {
5928
5926
  let cssFile = document.createElement("style");
5927
+ $$invalidate(2, isLoading = true);
5929
5928
 
5930
- fetch(new URL(clientstylingurl)).then(res => res.text()).then(data => {
5929
+ fetch(new URL(clientstylingurl)).then(res => {
5930
+ $$invalidate(2, isLoading = false);
5931
+ return res.text();
5932
+ }).then(data => {
5933
+ $$invalidate(2, isLoading = false);
5931
5934
  cssFile.innerHTML = data;
5932
5935
 
5933
5936
  setTimeout(
@@ -5936,6 +5939,8 @@
5936
5939
  },
5937
5940
  10
5938
5941
  );
5942
+ }).catch(err => {
5943
+ $$invalidate(2, isLoading = false);
5939
5944
  });
5940
5945
  };
5941
5946
 
@@ -11025,7 +11030,7 @@
11025
11030
  return block;
11026
11031
  }
11027
11032
 
11028
- // (725:4) {:else}
11033
+ // (724:4) {:else}
11029
11034
  function create_else_block_2$1(ctx) {
11030
11035
  let div2;
11031
11036
  let div1;
@@ -11063,7 +11068,7 @@
11063
11068
  if (if_block2) if_block2.c();
11064
11069
  attr_dev(label, "for", "search");
11065
11070
  attr_dev(label, "class", "SrOnly");
11066
- add_location(label, file$5, 729, 10, 28450);
11071
+ add_location(label, file$5, 728, 10, 28449);
11067
11072
  attr_dev(input, "id", "SearchField");
11068
11073
  attr_dev(input, "class", "SearchInput");
11069
11074
 
@@ -11072,15 +11077,15 @@
11072
11077
  : /*$_*/ ctx[31]("casinoPage.searchMobile"));
11073
11078
 
11074
11079
  attr_dev(input, "type", "search");
11075
- add_location(input, file$5, 738, 12, 29006);
11080
+ add_location(input, file$5, 737, 12, 29005);
11076
11081
  attr_dev(div0, "class", "SearchWrapper");
11077
- add_location(div0, file$5, 730, 10, 28523);
11082
+ add_location(div0, file$5, 729, 10, 28522);
11078
11083
 
11079
11084
  attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[19] && !/*favoritesScreen*/ ctx[15] && !/*mostPlayedScreen*/ ctx[20] && !/*lobbyViewAux*/ ctx[18]
11080
11085
  ? "SearchTruncated"
11081
11086
  : ""));
11082
11087
 
11083
- add_location(div1, file$5, 728, 8, 28308);
11088
+ add_location(div1, file$5, 727, 8, 28307);
11084
11089
 
11085
11090
  attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[33]) !== "PC"
11086
11091
  ? "CategoriesHeaderMobileSection"
@@ -11096,7 +11101,7 @@
11096
11101
  ? scrollOffset + "px"
11097
11102
  : "");
11098
11103
 
11099
- add_location(div2, file$5, 726, 6, 27789);
11104
+ add_location(div2, file$5, 725, 6, 27788);
11100
11105
  },
11101
11106
  m: function mount(target, anchor) {
11102
11107
  insert_dev(target, div2, anchor);
@@ -11216,7 +11221,7 @@
11216
11221
  block,
11217
11222
  id: create_else_block_2$1.name,
11218
11223
  type: "else",
11219
- source: "(725:4) {:else}",
11224
+ source: "(724:4) {:else}",
11220
11225
  ctx
11221
11226
  });
11222
11227
 
@@ -11421,7 +11426,7 @@
11421
11426
  return block;
11422
11427
  }
11423
11428
 
11424
- // (732:12) {#if !mobileSearchViewActive}
11429
+ // (731:12) {#if !mobileSearchViewActive}
11425
11430
  function create_if_block_20(ctx) {
11426
11431
  let div;
11427
11432
  let svg;
@@ -11435,14 +11440,14 @@
11435
11440
  attr_dev(path, "fill-rule", "evenodd");
11436
11441
  attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
11437
11442
  attr_dev(path, "clip-rule", "evenodd");
11438
- add_location(path, file$5, 734, 18, 28766);
11443
+ add_location(path, file$5, 733, 18, 28765);
11439
11444
  attr_dev(svg, "role", "presentation");
11440
11445
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11441
11446
  attr_dev(svg, "viewBox", "0 0 20 20");
11442
11447
  attr_dev(svg, "aria-hidden", "true");
11443
- add_location(svg, file$5, 733, 16, 28648);
11448
+ add_location(svg, file$5, 732, 16, 28647);
11444
11449
  attr_dev(div, "class", "SearchIcon");
11445
- add_location(div, file$5, 732, 14, 28607);
11450
+ add_location(div, file$5, 731, 14, 28606);
11446
11451
  },
11447
11452
  m: function mount(target, anchor) {
11448
11453
  insert_dev(target, div, anchor);
@@ -11458,14 +11463,14 @@
11458
11463
  block,
11459
11464
  id: create_if_block_20.name,
11460
11465
  type: "if",
11461
- source: "(732:12) {#if !mobileSearchViewActive}",
11466
+ source: "(731:12) {#if !mobileSearchViewActive}",
11462
11467
  ctx
11463
11468
  });
11464
11469
 
11465
11470
  return block;
11466
11471
  }
11467
11472
 
11468
- // (740:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
11473
+ // (739:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
11469
11474
  function create_if_block_19(ctx) {
11470
11475
  let span;
11471
11476
  let div2;
@@ -11481,17 +11486,17 @@
11481
11486
  div1 = element("div");
11482
11487
  div0 = element("div");
11483
11488
  attr_dev(div0, "class", "CloseIcon");
11484
- add_location(div0, file$5, 743, 20, 29666);
11489
+ add_location(div0, file$5, 742, 20, 29665);
11485
11490
  attr_dev(div1, "class", "CloseIconWrapper");
11486
- add_location(div1, file$5, 742, 18, 29615);
11491
+ add_location(div1, file$5, 741, 18, 29614);
11487
11492
  attr_dev(div2, "class", "CloseIconContainer");
11488
- add_location(div2, file$5, 741, 16, 29564);
11493
+ add_location(div2, file$5, 740, 16, 29563);
11489
11494
 
11490
11495
  attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[33]) === "PC"
11491
11496
  ? "ClearSearchButton"
11492
11497
  : "ClearSearchButtonMobile") + " "));
11493
11498
 
11494
- add_location(span, file$5, 740, 14, 29412);
11499
+ add_location(span, file$5, 739, 14, 29411);
11495
11500
  },
11496
11501
  m: function mount(target, anchor) {
11497
11502
  insert_dev(target, span, anchor);
@@ -11516,14 +11521,14 @@
11516
11521
  block,
11517
11522
  id: create_if_block_19.name,
11518
11523
  type: "if",
11519
- source: "(740:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
11524
+ source: "(739:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
11520
11525
  ctx
11521
11526
  });
11522
11527
 
11523
11528
  return block;
11524
11529
  }
11525
11530
 
11526
- // (751:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
11531
+ // (750:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
11527
11532
  function create_if_block_15(ctx) {
11528
11533
  let div;
11529
11534
  let t;
@@ -11537,7 +11542,7 @@
11537
11542
  t = space();
11538
11543
  if (if_block1) if_block1.c();
11539
11544
  attr_dev(div, "class", "FiltersButtonsContainer");
11540
- add_location(div, file$5, 751, 10, 29970);
11545
+ add_location(div, file$5, 750, 10, 29969);
11541
11546
  },
11542
11547
  m: function mount(target, anchor) {
11543
11548
  insert_dev(target, div, anchor);
@@ -11583,14 +11588,14 @@
11583
11588
  block,
11584
11589
  id: create_if_block_15.name,
11585
11590
  type: "if",
11586
- source: "(751:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
11591
+ source: "(750:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
11587
11592
  ctx
11588
11593
  });
11589
11594
 
11590
11595
  return block;
11591
11596
  }
11592
11597
 
11593
- // (753:12) {#if numberOfFilters}
11598
+ // (752:12) {#if numberOfFilters}
11594
11599
  function create_if_block_18(ctx) {
11595
11600
  let div1;
11596
11601
  let div0;
@@ -11612,7 +11617,7 @@
11612
11617
  polygon = svg_element("polygon");
11613
11618
  set_style(polygon, "fill", "#FD2839");
11614
11619
  attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
11615
- add_location(polygon, file$5, 758, 22, 30560);
11620
+ add_location(polygon, file$5, 757, 22, 30559);
11616
11621
  attr_dev(svg, "version", "1.1");
11617
11622
  attr_dev(svg, "id", "Layer_1");
11618
11623
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -11622,13 +11627,13 @@
11622
11627
  attr_dev(svg, "viewBox", "0 0 378.303 378.303");
11623
11628
  set_style(svg, "enable-background", "new 0 0 378.303 378.303");
11624
11629
  attr_dev(svg, "xml:space", "preserve");
11625
- add_location(svg, file$5, 756, 20, 30285);
11630
+ add_location(svg, file$5, 755, 20, 30284);
11626
11631
  attr_dev(span, "class", "ClearIcon");
11627
- add_location(span, file$5, 755, 18, 30240);
11632
+ add_location(span, file$5, 754, 18, 30239);
11628
11633
  attr_dev(div0, "class", "ClearButton");
11629
- add_location(div0, file$5, 754, 16, 30191);
11634
+ add_location(div0, file$5, 753, 16, 30190);
11630
11635
  attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[29] ? "FiltersActive" : ""));
11631
- add_location(div1, file$5, 753, 14, 30056);
11636
+ add_location(div1, file$5, 752, 14, 30055);
11632
11637
  },
11633
11638
  m: function mount(target, anchor) {
11634
11639
  insert_dev(target, div1, anchor);
@@ -11659,14 +11664,14 @@
11659
11664
  block,
11660
11665
  id: create_if_block_18.name,
11661
11666
  type: "if",
11662
- source: "(753:12) {#if numberOfFilters}",
11667
+ source: "(752:12) {#if numberOfFilters}",
11663
11668
  ctx
11664
11669
  });
11665
11670
 
11666
11671
  return block;
11667
11672
  }
11668
11673
 
11669
- // (766:12) {#if !searched || !recentSearches}
11674
+ // (765:12) {#if !searched || !recentSearches}
11670
11675
  function create_if_block_16(ctx) {
11671
11676
  let if_block_anchor;
11672
11677
  let if_block = !/*mostPlayedScreen*/ ctx[20] && !/*numberOfFilters*/ ctx[29] && create_if_block_17(ctx);
@@ -11704,14 +11709,14 @@
11704
11709
  block,
11705
11710
  id: create_if_block_16.name,
11706
11711
  type: "if",
11707
- source: "(766:12) {#if !searched || !recentSearches}",
11712
+ source: "(765:12) {#if !searched || !recentSearches}",
11708
11713
  ctx
11709
11714
  });
11710
11715
 
11711
11716
  return block;
11712
11717
  }
11713
11718
 
11714
- // (767:14) {#if !mostPlayedScreen && !numberOfFilters}
11719
+ // (766:14) {#if !mostPlayedScreen && !numberOfFilters}
11715
11720
  function create_if_block_17(ctx) {
11716
11721
  let div3;
11717
11722
  let div0;
@@ -11739,33 +11744,33 @@
11739
11744
  svg = svg_element("svg");
11740
11745
  defs = svg_element("defs");
11741
11746
  style = svg_element("style");
11742
- t2 = text(".a{fill:#fff;}\n");
11747
+ t2 = text(".a{fill:#fff;}");
11743
11748
  path = svg_element("path");
11744
11749
  t3 = space();
11745
11750
  div1 = element("div");
11746
11751
  span = element("span");
11747
11752
  t4 = text(/*numberOfFilters*/ ctx[29]);
11748
11753
  attr_dev(div0, "class", "FilterButton");
11749
- add_location(div0, file$5, 768, 18, 31119);
11750
- add_location(style, file$5, 770, 109, 31320);
11751
- add_location(defs, file$5, 770, 103, 31314);
11754
+ add_location(div0, file$5, 767, 18, 31118);
11755
+ add_location(style, file$5, 769, 109, 31319);
11756
+ add_location(defs, file$5, 769, 103, 31313);
11752
11757
  attr_dev(path, "class", "a");
11753
11758
  attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
11754
11759
  attr_dev(path, "transform", "translate(-5 -6.2)");
11755
- add_location(path, file$5, 771, 15, 31357);
11760
+ add_location(path, file$5, 769, 145, 31355);
11756
11761
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11757
11762
  attr_dev(svg, "width", "20");
11758
11763
  attr_dev(svg, "height", "20");
11759
11764
  attr_dev(svg, "viewBox", "0 0 26 26");
11760
- add_location(svg, file$5, 770, 20, 31231);
11765
+ add_location(svg, file$5, 769, 20, 31230);
11761
11766
  attr_dev(span, "class", "NumberOfFilters");
11762
- add_location(span, file$5, 773, 22, 31918);
11767
+ add_location(span, file$5, 771, 22, 31916);
11763
11768
  attr_dev(div1, "class", "NumberOfFiltersContainer");
11764
- add_location(div1, file$5, 772, 20, 31857);
11769
+ add_location(div1, file$5, 770, 20, 31855);
11765
11770
  attr_dev(div2, "class", "FilterIconContainer");
11766
- add_location(div2, file$5, 769, 18, 31177);
11771
+ add_location(div2, file$5, 768, 18, 31176);
11767
11772
  attr_dev(div3, "class", "FilterButtonWrapper");
11768
- add_location(div3, file$5, 767, 16, 31027);
11773
+ add_location(div3, file$5, 766, 16, 31026);
11769
11774
  },
11770
11775
  m: function mount(target, anchor) {
11771
11776
  insert_dev(target, div3, anchor);
@@ -11801,7 +11806,7 @@
11801
11806
  block,
11802
11807
  id: create_if_block_17.name,
11803
11808
  type: "if",
11804
- source: "(767:14) {#if !mostPlayedScreen && !numberOfFilters}",
11809
+ source: "(766:14) {#if !mostPlayedScreen && !numberOfFilters}",
11805
11810
  ctx
11806
11811
  });
11807
11812
 
@@ -12121,7 +12126,7 @@
12121
12126
  svg = svg_element("svg");
12122
12127
  defs = svg_element("defs");
12123
12128
  style = svg_element("style");
12124
- t2 = text(".a{fill:#fff;}\n");
12129
+ t2 = text(".a{fill:#fff;}");
12125
12130
  path = svg_element("path");
12126
12131
  t3 = space();
12127
12132
  div1 = element("div");
@@ -12134,16 +12139,16 @@
12134
12139
  attr_dev(path, "class", "a");
12135
12140
  attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
12136
12141
  attr_dev(path, "transform", "translate(-5 -6.2)");
12137
- add_location(path, file$5, 713, 15, 26952);
12142
+ add_location(path, file$5, 712, 145, 26951);
12138
12143
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
12139
12144
  attr_dev(svg, "width", "20");
12140
12145
  attr_dev(svg, "height", "20");
12141
12146
  attr_dev(svg, "viewBox", "0 0 26 26");
12142
12147
  add_location(svg, file$5, 712, 20, 26826);
12143
12148
  attr_dev(span, "class", "NumberOfFilters");
12144
- add_location(span, file$5, 715, 22, 27513);
12149
+ add_location(span, file$5, 714, 22, 27512);
12145
12150
  attr_dev(div1, "class", "NumberOfFiltersContainer");
12146
- add_location(div1, file$5, 714, 20, 27452);
12151
+ add_location(div1, file$5, 713, 20, 27451);
12147
12152
  attr_dev(div2, "class", "FilterIconContainer");
12148
12153
  add_location(div2, file$5, 711, 18, 26772);
12149
12154
  attr_dev(div3, "class", "FilterButtonWrapper");
@@ -12190,7 +12195,7 @@
12190
12195
  return block;
12191
12196
  }
12192
12197
 
12193
- // (857:10) {#if !recentSearches}
12198
+ // (855:10) {#if !recentSearches}
12194
12199
  function create_if_block_7$1(ctx) {
12195
12200
  let casino_games_category_section;
12196
12201
 
@@ -12208,7 +12213,7 @@
12208
12213
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
12209
12214
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12210
12215
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12211
- add_location(casino_games_category_section, file$5, 857, 12, 34565);
12216
+ add_location(casino_games_category_section, file$5, 855, 12, 34563);
12212
12217
  },
12213
12218
  m: function mount(target, anchor) {
12214
12219
  insert_dev(target, casino_games_category_section, anchor);
@@ -12259,14 +12264,14 @@
12259
12264
  block,
12260
12265
  id: create_if_block_7$1.name,
12261
12266
  type: "if",
12262
- source: "(857:10) {#if !recentSearches}",
12267
+ source: "(855:10) {#if !recentSearches}",
12263
12268
  ctx
12264
12269
  });
12265
12270
 
12266
12271
  return block;
12267
12272
  }
12268
12273
 
12269
- // (837:35)
12274
+ // (835:35)
12270
12275
  function create_if_block_5$1(ctx) {
12271
12276
  let if_block_anchor;
12272
12277
 
@@ -12310,14 +12315,14 @@
12310
12315
  block,
12311
12316
  id: create_if_block_5$1.name,
12312
12317
  type: "if",
12313
- source: "(837:35) ",
12318
+ source: "(835:35) ",
12314
12319
  ctx
12315
12320
  });
12316
12321
 
12317
12322
  return block;
12318
12323
  }
12319
12324
 
12320
- // (823:34)
12325
+ // (821:34)
12321
12326
  function create_if_block_4$2(ctx) {
12322
12327
  let casino_games_category_section;
12323
12328
  let showFavoriteGames_action;
@@ -12337,7 +12342,7 @@
12337
12342
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
12338
12343
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12339
12344
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12340
- add_location(casino_games_category_section, file$5, 823, 10, 33438);
12345
+ add_location(casino_games_category_section, file$5, 821, 10, 33436);
12341
12346
  },
12342
12347
  m: function mount(target, anchor) {
12343
12348
  insert_dev(target, casino_games_category_section, anchor);
@@ -12393,14 +12398,14 @@
12393
12398
  block,
12394
12399
  id: create_if_block_4$2.name,
12395
12400
  type: "if",
12396
- source: "(823:34) ",
12401
+ source: "(821:34) ",
12397
12402
  ctx
12398
12403
  });
12399
12404
 
12400
12405
  return block;
12401
12406
  }
12402
12407
 
12403
- // (804:8) {#if lobbyScreen}
12408
+ // (802:8) {#if lobbyScreen}
12404
12409
  function create_if_block_3$2(ctx) {
12405
12410
  let each_1_anchor;
12406
12411
  let each_value = /*shownCategories*/ ctx[24];
@@ -12461,14 +12466,14 @@
12461
12466
  block,
12462
12467
  id: create_if_block_3$2.name,
12463
12468
  type: "if",
12464
- source: "(804:8) {#if lobbyScreen}",
12469
+ source: "(802:8) {#if lobbyScreen}",
12465
12470
  ctx
12466
12471
  });
12467
12472
 
12468
12473
  return block;
12469
12474
  }
12470
12475
 
12471
- // (789:6) {#if searched}
12476
+ // (787:6) {#if searched}
12472
12477
  function create_if_block_2$2(ctx) {
12473
12478
  let casino_games_category_section;
12474
12479
  let sendSearchData_action;
@@ -12488,7 +12493,7 @@
12488
12493
  set_custom_element_data(casino_games_category_section, "categoryindex", "0");
12489
12494
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12490
12495
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12491
- add_location(casino_games_category_section, file$5, 789, 8, 32308);
12496
+ add_location(casino_games_category_section, file$5, 787, 8, 32306);
12492
12497
  },
12493
12498
  m: function mount(target, anchor) {
12494
12499
  insert_dev(target, casino_games_category_section, anchor);
@@ -12544,14 +12549,14 @@
12544
12549
  block,
12545
12550
  id: create_if_block_2$2.name,
12546
12551
  type: "if",
12547
- source: "(789:6) {#if searched}",
12552
+ source: "(787:6) {#if searched}",
12548
12553
  ctx
12549
12554
  });
12550
12555
 
12551
12556
  return block;
12552
12557
  }
12553
12558
 
12554
- // (786:4) {#if isLoading}
12559
+ // (784:4) {#if isLoading}
12555
12560
  function create_if_block_1$2(ctx) {
12556
12561
  let p;
12557
12562
  let t_value = /*$_*/ ctx[31]("casinoPage.loading") + "";
@@ -12562,7 +12567,7 @@
12562
12567
  p = element("p");
12563
12568
  t = text(t_value);
12564
12569
  attr_dev(p, "class", "SearchLoading");
12565
- add_location(p, file$5, 786, 6, 32211);
12570
+ add_location(p, file$5, 784, 6, 32209);
12566
12571
  },
12567
12572
  m: function mount(target, anchor) {
12568
12573
  insert_dev(target, p, anchor);
@@ -12580,14 +12585,14 @@
12580
12585
  block,
12581
12586
  id: create_if_block_1$2.name,
12582
12587
  type: "if",
12583
- source: "(786:4) {#if isLoading}",
12588
+ source: "(784:4) {#if isLoading}",
12584
12589
  ctx
12585
12590
  });
12586
12591
 
12587
12592
  return block;
12588
12593
  }
12589
12594
 
12590
- // (840:10) {:else}
12595
+ // (838:10) {:else}
12591
12596
  function create_else_block_1$1(ctx) {
12592
12597
  let casino_games_category_section;
12593
12598
 
@@ -12606,7 +12611,7 @@
12606
12611
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
12607
12612
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12608
12613
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12609
- add_location(casino_games_category_section, file$5, 840, 12, 34042);
12614
+ add_location(casino_games_category_section, file$5, 838, 12, 34040);
12610
12615
  },
12611
12616
  m: function mount(target, anchor) {
12612
12617
  insert_dev(target, casino_games_category_section, anchor);
@@ -12653,14 +12658,14 @@
12653
12658
  block,
12654
12659
  id: create_else_block_1$1.name,
12655
12660
  type: "else",
12656
- source: "(840:10) {:else}",
12661
+ source: "(838:10) {:else}",
12657
12662
  ctx
12658
12663
  });
12659
12664
 
12660
12665
  return block;
12661
12666
  }
12662
12667
 
12663
- // (838:10) {#if mostPlayedEmpty}
12668
+ // (836:10) {#if mostPlayedEmpty}
12664
12669
  function create_if_block_6$1(ctx) {
12665
12670
  let p;
12666
12671
 
@@ -12669,7 +12674,7 @@
12669
12674
  p = element("p");
12670
12675
  p.textContent = "You have no games played!";
12671
12676
  attr_dev(p, "class", "SearchLoading");
12672
- add_location(p, file$5, 838, 12, 33957);
12677
+ add_location(p, file$5, 836, 12, 33955);
12673
12678
  },
12674
12679
  m: function mount(target, anchor) {
12675
12680
  insert_dev(target, p, anchor);
@@ -12684,14 +12689,14 @@
12684
12689
  block,
12685
12690
  id: create_if_block_6$1.name,
12686
12691
  type: "if",
12687
- source: "(838:10) {#if mostPlayedEmpty}",
12692
+ source: "(836:10) {#if mostPlayedEmpty}",
12688
12693
  ctx
12689
12694
  });
12690
12695
 
12691
12696
  return block;
12692
12697
  }
12693
12698
 
12694
- // (805:10) {#each shownCategories as category, index}
12699
+ // (803:10) {#each shownCategories as category, index}
12695
12700
  function create_each_block$1(ctx) {
12696
12701
  let casino_games_category_section;
12697
12702
  let casino_games_category_section_categoryid_value;
@@ -12719,7 +12724,7 @@
12719
12724
 
12720
12725
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12721
12726
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12722
- add_location(casino_games_category_section, file$5, 805, 12, 32783);
12727
+ add_location(casino_games_category_section, file$5, 803, 12, 32781);
12723
12728
  },
12724
12729
  m: function mount(target, anchor) {
12725
12730
  insert_dev(target, casino_games_category_section, anchor);
@@ -12787,7 +12792,7 @@
12787
12792
  block,
12788
12793
  id: create_each_block$1.name,
12789
12794
  type: "each",
12790
- source: "(805:10) {#each shownCategories as category, index}",
12795
+ source: "(803:10) {#each shownCategories as category, index}",
12791
12796
  ctx
12792
12797
  });
12793
12798
 
@@ -24681,9 +24686,9 @@
24681
24686
  casino_filter_page = element("casino-filter-page");
24682
24687
  attr_dev(div0, "class", "HeaderPlaceholder");
24683
24688
  set_style(div0, "height", /*headerPlaceholderSize*/ ctx[14] + "px");
24684
- add_location(div0, file, 159, 6, 4891);
24689
+ add_location(div0, file, 159, 6, 4866);
24685
24690
  attr_dev(div1, "class", "ScrollTop");
24686
- add_location(div1, file, 160, 6, 4976);
24691
+ add_location(div1, file, 160, 6, 4951);
24687
24692
  set_custom_element_data(casino_categories_slider, "endpoint", /*endpointURL*/ ctx[9]);
24688
24693
  set_custom_element_data(casino_categories_slider, "datasource", /*DS*/ ctx[10]);
24689
24694
  set_custom_element_data(casino_categories_slider, "lang", /*language*/ ctx[11]);
@@ -24693,7 +24698,7 @@
24693
24698
  set_custom_element_data(casino_categories_slider, "favorites", /*fav*/ ctx[18]);
24694
24699
  set_custom_element_data(casino_categories_slider, "clientstyling", /*clientstyling*/ ctx[2]);
24695
24700
  set_custom_element_data(casino_categories_slider, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24696
- add_location(casino_categories_slider, file, 161, 6, 5040);
24701
+ add_location(casino_categories_slider, file, 161, 6, 5015);
24697
24702
  set_custom_element_data(casino_page, "session", /*session*/ ctx[0]);
24698
24703
  set_custom_element_data(casino_page, "userid", /*userid*/ ctx[1]);
24699
24704
  set_custom_element_data(casino_page, "endpoint", /*endpointURL*/ ctx[9]);
@@ -24705,7 +24710,7 @@
24705
24710
  set_custom_element_data(casino_page, "mostplayed", /*mostPlayed*/ ctx[17]);
24706
24711
  set_custom_element_data(casino_page, "clientstyling", /*clientstyling*/ ctx[2]);
24707
24712
  set_custom_element_data(casino_page, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24708
- add_location(casino_page, file, 172, 6, 5343);
24713
+ add_location(casino_page, file, 172, 6, 5318);
24709
24714
  set_custom_element_data(casino_game_page, "session", /*session*/ ctx[0]);
24710
24715
  set_custom_element_data(casino_game_page, "userid", /*userid*/ ctx[1]);
24711
24716
  set_custom_element_data(casino_game_page, "endpoint", /*endpointURL*/ ctx[9]);
@@ -24717,7 +24722,7 @@
24717
24722
  set_custom_element_data(casino_game_page, "clientstyling", /*clientstyling*/ ctx[2]);
24718
24723
  set_custom_element_data(casino_game_page, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24719
24724
  set_custom_element_data(casino_game_page, "clockformat", /*clockformat*/ ctx[4]);
24720
- add_location(casino_game_page, file, 193, 9, 5877);
24725
+ add_location(casino_game_page, file, 193, 9, 5852);
24721
24726
  set_custom_element_data(casino_modal, "session", /*session*/ ctx[0]);
24722
24727
  set_custom_element_data(casino_modal, "userid", /*userid*/ ctx[1]);
24723
24728
  set_custom_element_data(casino_modal, "endpoint", /*endpointURL*/ ctx[9]);
@@ -24725,7 +24730,7 @@
24725
24730
  set_custom_element_data(casino_modal, "lang", /*language*/ ctx[11]);
24726
24731
  set_custom_element_data(casino_modal, "clientstyling", /*clientstyling*/ ctx[2]);
24727
24732
  set_custom_element_data(casino_modal, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24728
- add_location(casino_modal, file, 185, 6, 5674);
24733
+ add_location(casino_modal, file, 185, 6, 5649);
24729
24734
  set_custom_element_data(casino_filter_page, "session", /*session*/ ctx[0]);
24730
24735
  set_custom_element_data(casino_filter_page, "userid", /*userid*/ ctx[1]);
24731
24736
  set_custom_element_data(casino_filter_page, "endpoint", /*endpointURL*/ ctx[9]);
@@ -24733,7 +24738,7 @@
24733
24738
  set_custom_element_data(casino_filter_page, "lang", /*language*/ ctx[11]);
24734
24739
  set_custom_element_data(casino_filter_page, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24735
24740
  set_custom_element_data(casino_filter_page, "clientstyling", /*clientstyling*/ ctx[2]);
24736
- add_location(casino_filter_page, file, 215, 8, 6474);
24741
+ add_location(casino_filter_page, file, 215, 8, 6449);
24737
24742
  set_custom_element_data(casino_filter_modal, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
24738
24743
  set_custom_element_data(casino_filter_modal, "session", /*session*/ ctx[0]);
24739
24744
  set_custom_element_data(casino_filter_modal, "userid", /*userid*/ ctx[1]);
@@ -24741,12 +24746,11 @@
24741
24746
  set_custom_element_data(casino_filter_modal, "datasource", /*DS*/ ctx[10]);
24742
24747
  set_custom_element_data(casino_filter_modal, "lang", /*language*/ ctx[11]);
24743
24748
  set_custom_element_data(casino_filter_modal, "clientstyling", /*clientstyling*/ ctx[2]);
24744
- add_location(casino_filter_modal, file, 207, 6, 6264);
24749
+ add_location(casino_filter_modal, file, 207, 6, 6239);
24745
24750
  attr_dev(div2, "class", "WidgetsSection");
24746
- add_location(div2, file, 158, 4, 4856);
24751
+ add_location(div2, file, 158, 4, 4831);
24747
24752
  attr_dev(div3, "class", "CasinoLobby");
24748
- attr_dev(div3, "part", "casinolobby");
24749
- add_location(div3, file, 157, 2, 4772);
24753
+ add_location(div3, file, 157, 2, 4801);
24750
24754
  },
24751
24755
  m: function mount(target, anchor) {
24752
24756
  insert_dev(target, div3, anchor);
@@ -24765,7 +24769,6 @@
24765
24769
  append_dev(div2, t4);
24766
24770
  append_dev(div2, casino_filter_modal);
24767
24771
  append_dev(casino_filter_modal, casino_filter_page);
24768
- /*div3_binding*/ ctx[31](div3);
24769
24772
  },
24770
24773
  p: function update(ctx, dirty) {
24771
24774
  if (dirty[0] & /*headerPlaceholderSize*/ 16384) {
@@ -24979,7 +24982,6 @@
24979
24982
  d: function destroy(detaching) {
24980
24983
  if (detaching) detach_dev(div3);
24981
24984
  /*div1_binding*/ ctx[30](null);
24982
- /*div3_binding*/ ctx[31](null);
24983
24985
  }
24984
24986
  };
24985
24987
 
@@ -25004,7 +25006,7 @@
25004
25006
  p = element("p");
25005
25007
  t = text(/*error*/ ctx[13]);
25006
25008
  set_style(p, "color", "#fff");
25007
- add_location(p, file, 155, 2, 4728);
25009
+ add_location(p, file, 155, 2, 4757);
25008
25010
  },
25009
25011
  m: function mount(target, anchor) {
25010
25012
  insert_dev(target, p, anchor);
@@ -25030,7 +25032,7 @@
25030
25032
  }
25031
25033
 
25032
25034
  function create_fragment(ctx) {
25033
- let if_block_anchor;
25035
+ let div;
25034
25036
 
25035
25037
  function select_block_type(ctx, dirty) {
25036
25038
  if (/*hasErrors*/ ctx[12]) return create_if_block;
@@ -25042,16 +25044,18 @@
25042
25044
 
25043
25045
  const block = {
25044
25046
  c: function create() {
25047
+ div = element("div");
25045
25048
  if_block.c();
25046
- if_block_anchor = empty();
25047
25049
  this.c = noop$1;
25050
+ add_location(div, file, 153, 0, 4697);
25048
25051
  },
25049
25052
  l: function claim(nodes) {
25050
25053
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
25051
25054
  },
25052
25055
  m: function mount(target, anchor) {
25053
- if_block.m(target, anchor);
25054
- 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);
25055
25059
  },
25056
25060
  p: function update(ctx, dirty) {
25057
25061
  if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
@@ -25062,15 +25066,16 @@
25062
25066
 
25063
25067
  if (if_block) {
25064
25068
  if_block.c();
25065
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
25069
+ if_block.m(div, null);
25066
25070
  }
25067
25071
  }
25068
25072
  },
25069
25073
  i: noop$1,
25070
25074
  o: noop$1,
25071
25075
  d: function destroy(detaching) {
25072
- if_block.d(detaching);
25073
- if (detaching) detach_dev(if_block_anchor);
25076
+ if (detaching) detach_dev(div);
25077
+ if_block.d();
25078
+ /*div_binding*/ ctx[31](null);
25074
25079
  }
25075
25080
  };
25076
25081
 
@@ -25209,28 +25214,27 @@
25209
25214
  };
25210
25215
 
25211
25216
  const setClientStylingURL = () => {
25212
- // hasErrors = true;
25213
- // error = "Loading, please wait ...";
25217
+ $$invalidate(12, hasErrors = true);
25218
+ $$invalidate(13, error = "Loading, please wait ...");
25214
25219
  let cssFile = document.createElement("style");
25215
25220
 
25216
25221
  fetch(new URL(clientstylingurl)).then(res => res.text()).then(data => {
25217
25222
  cssFile.innerHTML = data;
25223
+ $$invalidate(12, hasErrors = false);
25218
25224
 
25219
- // hasErrors = false;
25220
25225
  if (customStylingContainer) {
25221
25226
  setTimeout(
25222
25227
  () => {
25223
25228
  customStylingContainer.appendChild(cssFile);
25224
25229
  },
25225
- 500
25230
+ 5
25226
25231
  );
25227
25232
  }
25233
+ }).catch(err => {
25234
+ console.error("Error on setting the client style - ", err);
25235
+ $$invalidate(12, hasErrors = false);
25228
25236
  });
25229
- }; /*.catch((err:any) => {
25230
- console.error('Error on setting the client style - ', err);
25231
-
25232
- hasErrors = false;
25233
- });*/
25237
+ };
25234
25238
 
25235
25239
  onMount(() => {
25236
25240
  window.addEventListener("message", messageHandler, false);
@@ -25278,7 +25282,7 @@
25278
25282
  });
25279
25283
  }
25280
25284
 
25281
- function div3_binding($$value) {
25285
+ function div_binding($$value) {
25282
25286
  binding_callbacks[$$value ? "unshift" : "push"](() => {
25283
25287
  customStylingContainer = $$value;
25284
25288
  $$invalidate(16, customStylingContainer);
@@ -25456,7 +25460,7 @@
25456
25460
  desktopoffset,
25457
25461
  mobileoffset,
25458
25462
  div1_binding,
25459
- div3_binding
25463
+ div_binding
25460
25464
  ];
25461
25465
  }
25462
25466