@everymatrix/casino-search 1.0.8 → 1.0.10

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.
@@ -12330,9 +12330,9 @@
12330
12330
  return child_ctx;
12331
12331
  }
12332
12332
 
12333
- // (548:8) {#if fav}
12333
+ // (530:8) {#if fav}
12334
12334
  function create_if_block_12(ctx) {
12335
- let show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14];
12335
+ let show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13];
12336
12336
  let if_block_anchor;
12337
12337
  let if_block = show_if && create_if_block_13(ctx);
12338
12338
 
@@ -12346,7 +12346,7 @@
12346
12346
  insert_dev(target, if_block_anchor, anchor);
12347
12347
  },
12348
12348
  p: function update(ctx, dirty) {
12349
- if (dirty[0] & /*gamefavorite, isLoggedIn*/ 16385) show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14];
12349
+ if (dirty[0] & /*gamefavorite, isLoggedIn*/ 8193) show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13];
12350
12350
 
12351
12351
  if (show_if) {
12352
12352
  if (if_block) {
@@ -12371,14 +12371,14 @@
12371
12371
  block,
12372
12372
  id: create_if_block_12.name,
12373
12373
  type: "if",
12374
- source: "(548:8) {#if fav}",
12374
+ source: "(530:8) {#if fav}",
12375
12375
  ctx
12376
12376
  });
12377
12377
 
12378
12378
  return block;
12379
12379
  }
12380
12380
 
12381
- // (549:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
12381
+ // (531:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
12382
12382
  function create_if_block_13(ctx) {
12383
12383
  let div;
12384
12384
  let svg;
@@ -12393,7 +12393,7 @@
12393
12393
  path = svg_element("path");
12394
12394
  set_style(path, "fill", "white");
12395
12395
  attr_dev(path, "d", "M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z");
12396
- add_location(path, file$1, 551, 112, 19616);
12396
+ add_location(path, file$1, 533, 112, 18963);
12397
12397
  attr_dev(svg, "version", "1.1");
12398
12398
  attr_dev(svg, "class", "UnfavoredIcon");
12399
12399
  attr_dev(svg, "part", "UnfavoredIcon");
@@ -12404,10 +12404,10 @@
12404
12404
  attr_dev(svg, "viewBox", "0 0 512.001 512.001");
12405
12405
  set_style(svg, "enable-background", "new 0 0 512.001 512.001");
12406
12406
  attr_dev(svg, "xml:space", "preserve");
12407
- add_location(svg, file$1, 550, 14, 19346);
12407
+ add_location(svg, file$1, 532, 14, 18693);
12408
12408
  attr_dev(div, "class", "FavIconContainer");
12409
12409
  attr_dev(div, "part", "FavIconContainer");
12410
- add_location(div, file$1, 549, 12, 19231);
12410
+ add_location(div, file$1, 531, 12, 18578);
12411
12411
  },
12412
12412
  m: function mount(target, anchor) {
12413
12413
  insert_dev(target, div, anchor);
@@ -12431,14 +12431,14 @@
12431
12431
  block,
12432
12432
  id: create_if_block_13.name,
12433
12433
  type: "if",
12434
- source: "(549:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
12434
+ source: "(531:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
12435
12435
  ctx
12436
12436
  });
12437
12437
 
12438
12438
  return block;
12439
12439
  }
12440
12440
 
12441
- // (577:77)
12441
+ // (559:77)
12442
12442
  function create_if_block_11(ctx) {
12443
12443
  let div;
12444
12444
  let svg;
@@ -12451,7 +12451,7 @@
12451
12451
  path = svg_element("path");
12452
12452
  set_style(path, "fill", "white");
12453
12453
  attr_dev(path, "d", "m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z");
12454
- add_location(path, file$1, 579, 10, 22245);
12454
+ add_location(path, file$1, 561, 10, 21592);
12455
12455
  attr_dev(svg, "version", "1.1");
12456
12456
  attr_dev(svg, "class", "FavoredIcon");
12457
12457
  attr_dev(svg, "part", "FavoredIcon");
@@ -12459,10 +12459,10 @@
12459
12459
  attr_dev(svg, "viewBox", "0 0 19.481 19.481");
12460
12460
  attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
12461
12461
  attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
12462
- add_location(svg, file$1, 578, 8, 22028);
12462
+ add_location(svg, file$1, 560, 8, 21375);
12463
12463
  attr_dev(div, "class", "FavIconContainer");
12464
12464
  attr_dev(div, "part", "FavIconContainer");
12465
- add_location(div, file$1, 577, 6, 21965);
12465
+ add_location(div, file$1, 559, 6, 21312);
12466
12466
  },
12467
12467
  m: function mount(target, anchor) {
12468
12468
  insert_dev(target, div, anchor);
@@ -12479,14 +12479,14 @@
12479
12479
  block,
12480
12480
  id: create_if_block_11.name,
12481
12481
  type: "if",
12482
- source: "(577:77) ",
12482
+ source: "(559:77) ",
12483
12483
  ctx
12484
12484
  });
12485
12485
 
12486
12486
  return block;
12487
12487
  }
12488
12488
 
12489
- // (571:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
12489
+ // (553:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
12490
12490
  function create_if_block_10(ctx) {
12491
12491
  let div;
12492
12492
  let svg;
@@ -12501,7 +12501,7 @@
12501
12501
  path = svg_element("path");
12502
12502
  set_style(path, "fill", "white");
12503
12503
  attr_dev(path, "d", "m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z");
12504
- add_location(path, file$1, 573, 10, 21514);
12504
+ add_location(path, file$1, 555, 10, 20861);
12505
12505
  attr_dev(svg, "version", "1.1");
12506
12506
  attr_dev(svg, "class", "FavoredIcon");
12507
12507
  attr_dev(svg, "part", "FavoredIcon");
@@ -12509,10 +12509,10 @@
12509
12509
  attr_dev(svg, "viewBox", "0 0 19.481 19.481");
12510
12510
  attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
12511
12511
  attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
12512
- add_location(svg, file$1, 572, 8, 21297);
12512
+ add_location(svg, file$1, 554, 8, 20644);
12513
12513
  attr_dev(div, "class", "FavIconContainer");
12514
12514
  attr_dev(div, "part", "FavIconContainer");
12515
- add_location(div, file$1, 571, 6, 21188);
12515
+ add_location(div, file$1, 553, 6, 20535);
12516
12516
  },
12517
12517
  m: function mount(target, anchor) {
12518
12518
  insert_dev(target, div, anchor);
@@ -12536,14 +12536,14 @@
12536
12536
  block,
12537
12537
  id: create_if_block_10.name,
12538
12538
  type: "if",
12539
- source: "(571:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
12539
+ source: "(553:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
12540
12540
  ctx
12541
12541
  });
12542
12542
 
12543
12543
  return block;
12544
12544
  }
12545
12545
 
12546
- // (585:6) {#if gameisnew}
12546
+ // (567:6) {#if gameisnew}
12547
12547
  function create_if_block_9(ctx) {
12548
12548
  let span;
12549
12549
  let t_value = /*$_*/ ctx[35]('gameThumbnail.new') + "";
@@ -12555,7 +12555,7 @@
12555
12555
  t = text(t_value);
12556
12556
  attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
12557
12557
  attr_dev(span, "part", "GameExtraInfoLabel NewGameTag");
12558
- add_location(span, file$1, 585, 8, 22705);
12558
+ add_location(span, file$1, 567, 8, 22052);
12559
12559
  },
12560
12560
  m: function mount(target, anchor) {
12561
12561
  insert_dev(target, span, anchor);
@@ -12573,14 +12573,14 @@
12573
12573
  block,
12574
12574
  id: create_if_block_9.name,
12575
12575
  type: "if",
12576
- source: "(585:6) {#if gameisnew}",
12576
+ source: "(567:6) {#if gameisnew}",
12577
12577
  ctx
12578
12578
  });
12579
12579
 
12580
12580
  return block;
12581
12581
  }
12582
12582
 
12583
- // (588:6) {#if (parseInt(gamepopularity) > 0)}
12583
+ // (570:6) {#if (parseInt(gamepopularity) > 0)}
12584
12584
  function create_if_block_8(ctx) {
12585
12585
  let span;
12586
12586
  let t_value = /*$_*/ ctx[35]('gameThumbnail.hot') + "";
@@ -12592,7 +12592,7 @@
12592
12592
  t = text(t_value);
12593
12593
  attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
12594
12594
  attr_dev(span, "part", "GameExtraInfoLabel PopularGameTag");
12595
- add_location(span, file$1, 588, 8, 22882);
12595
+ add_location(span, file$1, 570, 8, 22229);
12596
12596
  },
12597
12597
  m: function mount(target, anchor) {
12598
12598
  insert_dev(target, span, anchor);
@@ -12610,14 +12610,14 @@
12610
12610
  block,
12611
12611
  id: create_if_block_8.name,
12612
12612
  type: "if",
12613
- source: "(588:6) {#if (parseInt(gamepopularity) > 0)}",
12613
+ source: "(570:6) {#if (parseInt(gamepopularity) > 0)}",
12614
12614
  ctx
12615
12615
  });
12616
12616
 
12617
12617
  return block;
12618
12618
  }
12619
12619
 
12620
- // (591:6) {#if livegamedata}
12620
+ // (573:6) {#if livegamedata}
12621
12621
  function create_if_block_1$1(ctx) {
12622
12622
  let t;
12623
12623
  let if_block1_anchor;
@@ -12686,14 +12686,14 @@
12686
12686
  block,
12687
12687
  id: create_if_block_1$1.name,
12688
12688
  type: "if",
12689
- source: "(591:6) {#if livegamedata}",
12689
+ source: "(573:6) {#if livegamedata}",
12690
12690
  ctx
12691
12691
  });
12692
12692
 
12693
12693
  return block;
12694
12694
  }
12695
12695
 
12696
- // (592:8) {#if !isopen && starttime && timeformat}
12696
+ // (574:8) {#if !isopen && starttime && timeformat}
12697
12697
  function create_if_block_7(ctx) {
12698
12698
  let div1;
12699
12699
  let div0;
@@ -12722,15 +12722,15 @@
12722
12722
  html_tag = new HtmlTag(false);
12723
12723
  t4 = space();
12724
12724
  html_tag_1 = new HtmlTag(false);
12725
- add_location(span, file$1, 595, 14, 23270);
12725
+ add_location(span, file$1, 577, 14, 22617);
12726
12726
  attr_dev(div0, "class", "ClosedGame");
12727
12727
  attr_dev(div0, "part", "ClosedGame");
12728
- add_location(div0, file$1, 593, 12, 23171);
12728
+ add_location(div0, file$1, 575, 12, 22518);
12729
12729
  html_tag.a = t4;
12730
12730
  html_tag_1.a = null;
12731
12731
  attr_dev(div1, "class", "GameProp LiveProps");
12732
12732
  attr_dev(div1, "part", "GameProp LiveProps");
12733
- add_location(div1, file$1, 592, 10, 23100);
12733
+ add_location(div1, file$1, 574, 10, 22447);
12734
12734
  },
12735
12735
  m: function mount(target, anchor) {
12736
12736
  insert_dev(target, div1, anchor);
@@ -12759,14 +12759,14 @@
12759
12759
  block,
12760
12760
  id: create_if_block_7.name,
12761
12761
  type: "if",
12762
- source: "(592:8) {#if !isopen && starttime && timeformat}",
12762
+ source: "(574:8) {#if !isopen && starttime && timeformat}",
12763
12763
  ctx
12764
12764
  });
12765
12765
 
12766
12766
  return block;
12767
12767
  }
12768
12768
 
12769
- // (625:68)
12769
+ // (607:68)
12770
12770
  function create_if_block_4$1(ctx) {
12771
12771
  let div1;
12772
12772
  let div0;
@@ -12799,12 +12799,12 @@
12799
12799
  html_tag_1 = new HtmlTag(false);
12800
12800
  attr_dev(div0, "class", "LiveIcons");
12801
12801
  attr_dev(div0, "part", "LiveIcons");
12802
- add_location(div0, file$1, 626, 12, 25230);
12802
+ add_location(div0, file$1, 608, 12, 24577);
12803
12803
  html_tag.a = t1;
12804
12804
  html_tag_1.a = null;
12805
12805
  attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[30]);
12806
12806
  attr_dev(div1, "part", /*roulettecontainerclassname*/ ctx[30]);
12807
- add_location(div1, file$1, 625, 10, 25139);
12807
+ add_location(div1, file$1, 607, 10, 24486);
12808
12808
  },
12809
12809
  m: function mount(target, anchor) {
12810
12810
  insert_dev(target, div1, anchor);
@@ -12821,7 +12821,7 @@
12821
12821
  html_tag_1.m(raw1_value, div1);
12822
12822
  },
12823
12823
  p: function update(ctx, dirty) {
12824
- if (dirty[0] & /*roulleteresults, isdouble*/ 536875008 | dirty[1] & /*renderSpan, colorsourcearray*/ 32769) {
12824
+ if (dirty[0] & /*roulleteresults, isdouble*/ 536872960 | dirty[1] & /*renderSpan, colorsourcearray*/ 32769) {
12825
12825
  each_value_1 = new Array(numberofdisplayedresults);
12826
12826
  validate_each_argument(each_value_1);
12827
12827
  let i;
@@ -12867,14 +12867,14 @@
12867
12867
  block,
12868
12868
  id: create_if_block_4$1.name,
12869
12869
  type: "if",
12870
- source: "(625:68) ",
12870
+ source: "(607:68) ",
12871
12871
  ctx
12872
12872
  });
12873
12873
 
12874
12874
  return block;
12875
12875
  }
12876
12876
 
12877
- // (604:8) {#if isopen && displaytype && displaytype === BLACKJACK}
12877
+ // (586:8) {#if isopen && displaytype && displaytype === BLACKJACK}
12878
12878
  function create_if_block_2$1(ctx) {
12879
12879
  let div1;
12880
12880
  let div0;
@@ -12904,12 +12904,12 @@
12904
12904
  html_tag_1 = new HtmlTag(false);
12905
12905
  attr_dev(div0, "class", "LiveIcons");
12906
12906
  attr_dev(div0, "part", "LiveIcons");
12907
- add_location(div0, file$1, 605, 12, 23707);
12907
+ add_location(div0, file$1, 587, 12, 23054);
12908
12908
  html_tag.a = t1;
12909
12909
  html_tag_1.a = null;
12910
12910
  attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
12911
12911
  attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
12912
- add_location(div1, file$1, 604, 10, 23602);
12912
+ add_location(div1, file$1, 586, 10, 22949);
12913
12913
  },
12914
12914
  m: function mount(target, anchor) {
12915
12915
  insert_dev(target, div1, anchor);
@@ -12946,14 +12946,14 @@
12946
12946
  block,
12947
12947
  id: create_if_block_2$1.name,
12948
12948
  type: "if",
12949
- source: "(604:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
12949
+ source: "(586:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
12950
12950
  ctx
12951
12951
  });
12952
12952
 
12953
12953
  return block;
12954
12954
  }
12955
12955
 
12956
- // (629:16) {#if roulleteresults && roulleteresults[i]}
12956
+ // (611:16) {#if roulleteresults && roulleteresults[i]}
12957
12957
  function create_if_block_5$1(ctx) {
12958
12958
  let if_block_anchor;
12959
12959
 
@@ -12997,17 +12997,17 @@
12997
12997
  block,
12998
12998
  id: create_if_block_5$1.name,
12999
12999
  type: "if",
13000
- source: "(629:16) {#if roulleteresults && roulleteresults[i]}",
13000
+ source: "(611:16) {#if roulleteresults && roulleteresults[i]}",
13001
13001
  ctx
13002
13002
  });
13003
13003
 
13004
13004
  return block;
13005
13005
  }
13006
13006
 
13007
- // (635:18) {:else}
13007
+ // (617:18) {:else}
13008
13008
  function create_else_block_1(ctx) {
13009
13009
  let html_tag;
13010
- let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[12][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]]]) + "";
13010
+ let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[11][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]]]) + "";
13011
13011
  let html_anchor;
13012
13012
 
13013
13013
  const block = {
@@ -13021,7 +13021,7 @@
13021
13021
  insert_dev(target, html_anchor, anchor);
13022
13022
  },
13023
13023
  p: function update(ctx, dirty) {
13024
- if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[12][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]]]) + "")) html_tag.p(raw_value);
13024
+ if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[11][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]]]) + "")) html_tag.p(raw_value);
13025
13025
  },
13026
13026
  d: function destroy(detaching) {
13027
13027
  if (detaching) detach_dev(html_anchor);
@@ -13033,21 +13033,21 @@
13033
13033
  block,
13034
13034
  id: create_else_block_1.name,
13035
13035
  type: "else",
13036
- source: "(635:18) {:else}",
13036
+ source: "(617:18) {:else}",
13037
13037
  ctx
13038
13038
  });
13039
13039
 
13040
13040
  return block;
13041
13041
  }
13042
13042
 
13043
- // (630:18) {#if isdouble}
13043
+ // (612:18) {#if isdouble}
13044
13044
  function create_if_block_6(ctx) {
13045
13045
  let div;
13046
13046
  let html_tag;
13047
- let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0]]) + "";
13047
+ let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]]) + "";
13048
13048
  let t0;
13049
13049
  let html_tag_1;
13050
- let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1]]) + "";
13050
+ let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]]) + "";
13051
13051
  let t1;
13052
13052
 
13053
13053
  const block = {
@@ -13061,7 +13061,7 @@
13061
13061
  html_tag_1.a = t1;
13062
13062
  attr_dev(div, "class", "Double");
13063
13063
  attr_dev(div, "part", "Double");
13064
- add_location(div, file$1, 630, 20, 25481);
13064
+ add_location(div, file$1, 612, 20, 24828);
13065
13065
  },
13066
13066
  m: function mount(target, anchor) {
13067
13067
  insert_dev(target, div, anchor);
@@ -13071,8 +13071,8 @@
13071
13071
  append_dev(div, t1);
13072
13072
  },
13073
13073
  p: function update(ctx, dirty) {
13074
- if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0]]) + "")) html_tag.p(raw0_value);
13075
- if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1]]) + "")) html_tag_1.p(raw1_value);
13074
+ if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]]) + "")) html_tag.p(raw0_value);
13075
+ if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]]) + "")) html_tag_1.p(raw1_value);
13076
13076
  },
13077
13077
  d: function destroy(detaching) {
13078
13078
  if (detaching) detach_dev(div);
@@ -13083,17 +13083,17 @@
13083
13083
  block,
13084
13084
  id: create_if_block_6.name,
13085
13085
  type: "if",
13086
- source: "(630:18) {#if isdouble}",
13086
+ source: "(612:18) {#if isdouble}",
13087
13087
  ctx
13088
13088
  });
13089
13089
 
13090
13090
  return block;
13091
13091
  }
13092
13092
 
13093
- // (628:14) {#each new Array(numberofdisplayedresults) as garbage, i}
13093
+ // (610:14) {#each new Array(numberofdisplayedresults) as garbage, i}
13094
13094
  function create_each_block_1(ctx) {
13095
13095
  let if_block_anchor;
13096
- let if_block = /*roulleteresults*/ ctx[12] && /*roulleteresults*/ ctx[12][/*i*/ ctx[109]] && create_if_block_5$1(ctx);
13096
+ let if_block = /*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[109]] && create_if_block_5$1(ctx);
13097
13097
 
13098
13098
  const block = {
13099
13099
  c: function create() {
@@ -13105,7 +13105,7 @@
13105
13105
  insert_dev(target, if_block_anchor, anchor);
13106
13106
  },
13107
13107
  p: function update(ctx, dirty) {
13108
- if (/*roulleteresults*/ ctx[12] && /*roulleteresults*/ ctx[12][/*i*/ ctx[109]]) {
13108
+ if (/*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[109]]) {
13109
13109
  if (if_block) {
13110
13110
  if_block.p(ctx, dirty);
13111
13111
  } else {
@@ -13128,14 +13128,14 @@
13128
13128
  block,
13129
13129
  id: create_each_block_1.name,
13130
13130
  type: "each",
13131
- source: "(628:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
13131
+ source: "(610:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
13132
13132
  ctx
13133
13133
  });
13134
13134
 
13135
13135
  return block;
13136
13136
  }
13137
13137
 
13138
- // (611:14) {:else}
13138
+ // (593:14) {:else}
13139
13139
  function create_else_block$1(ctx) {
13140
13140
  let each_1_anchor;
13141
13141
  let each_value = /*seats*/ ctx[24];
@@ -13196,14 +13196,14 @@
13196
13196
  block,
13197
13197
  id: create_else_block$1.name,
13198
13198
  type: "else",
13199
- source: "(611:14) {:else}",
13199
+ source: "(593:14) {:else}",
13200
13200
  ctx
13201
13201
  });
13202
13202
 
13203
13203
  return block;
13204
13204
  }
13205
13205
 
13206
- // (607:14) {#if istablefull}
13206
+ // (589:14) {#if istablefull}
13207
13207
  function create_if_block_3$1(ctx) {
13208
13208
  let span;
13209
13209
  let t_value = /*$_*/ ctx[35]('gameThumbnail.full') + "";
@@ -13215,7 +13215,7 @@
13215
13215
  t = text(t_value);
13216
13216
  attr_dev(span, "class", "FullTable");
13217
13217
  attr_dev(span, "part", "FullTable");
13218
- add_location(span, file$1, 607, 16, 23796);
13218
+ add_location(span, file$1, 589, 16, 23143);
13219
13219
  },
13220
13220
  m: function mount(target, anchor) {
13221
13221
  insert_dev(target, span, anchor);
@@ -13233,14 +13233,14 @@
13233
13233
  block,
13234
13234
  id: create_if_block_3$1.name,
13235
13235
  type: "if",
13236
- source: "(607:14) {#if istablefull}",
13236
+ source: "(589:14) {#if istablefull}",
13237
13237
  ctx
13238
13238
  });
13239
13239
 
13240
13240
  return block;
13241
13241
  }
13242
13242
 
13243
- // (612:16) {#each seats as seatData}
13243
+ // (594:16) {#each seats as seatData}
13244
13244
  function create_each_block$1(ctx) {
13245
13245
  let span;
13246
13246
  let svg;
@@ -13258,14 +13258,14 @@
13258
13258
  path1 = svg_element("path");
13259
13259
  t = space();
13260
13260
  attr_dev(path0, "d", "M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z");
13261
- add_location(path0, file$1, 614, 22, 24297);
13261
+ add_location(path0, file$1, 596, 22, 23644);
13262
13262
  attr_dev(path1, "d", "M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z");
13263
- add_location(path1, file$1, 615, 22, 24673);
13263
+ add_location(path1, file$1, 597, 22, 24020);
13264
13264
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
13265
13265
  attr_dev(svg, "width", "13");
13266
13266
  attr_dev(svg, "height", "14");
13267
13267
  attr_dev(svg, "viewBox", "0 0 13 14");
13268
- add_location(svg, file$1, 613, 20, 24191);
13268
+ add_location(svg, file$1, 595, 20, 23538);
13269
13269
 
13270
13270
  attr_dev(span, "class", span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[104].toString())
13271
13271
  ? 'ClosedSeat'
@@ -13275,7 +13275,7 @@
13275
13275
  ? 'ClosedSeat'
13276
13276
  : 'OpenSeat');
13277
13277
 
13278
- add_location(span, file$1, 612, 18, 23989);
13278
+ add_location(span, file$1, 594, 18, 23336);
13279
13279
  },
13280
13280
  m: function mount(target, anchor) {
13281
13281
  insert_dev(target, span, anchor);
@@ -13306,14 +13306,14 @@
13306
13306
  block,
13307
13307
  id: create_each_block$1.name,
13308
13308
  type: "each",
13309
- source: "(612:16) {#each seats as seatData}",
13309
+ source: "(594:16) {#each seats as seatData}",
13310
13310
  ctx
13311
13311
  });
13312
13312
 
13313
13313
  return block;
13314
13314
  }
13315
13315
 
13316
- // (648:2) {#if showgamename}
13316
+ // (630:2) {#if showgamename}
13317
13317
  function create_if_block$1(ctx) {
13318
13318
  let p;
13319
13319
  let t;
@@ -13325,7 +13325,7 @@
13325
13325
  attr_dev(p, "class", "GameNameBelow");
13326
13326
  attr_dev(p, "part", "GameNameBelow");
13327
13327
  attr_dev(p, "title", /*gamename*/ ctx[3]);
13328
- add_location(p, file$1, 648, 4, 26366);
13328
+ add_location(p, file$1, 630, 4, 25713);
13329
13329
  },
13330
13330
  m: function mount(target, anchor) {
13331
13331
  insert_dev(target, p, anchor);
@@ -13347,7 +13347,7 @@
13347
13347
  block,
13348
13348
  id: create_if_block$1.name,
13349
13349
  type: "if",
13350
- source: "(648:2) {#if showgamename}",
13350
+ source: "(630:2) {#if showgamename}",
13351
13351
  ctx
13352
13352
  });
13353
13353
 
@@ -13392,14 +13392,14 @@
13392
13392
  let div4_part_value;
13393
13393
  let mounted;
13394
13394
  let dispose;
13395
- let if_block0 = /*fav*/ ctx[15] && create_if_block_12(ctx);
13395
+ let if_block0 = /*fav*/ ctx[14] && create_if_block_12(ctx);
13396
13396
 
13397
13397
  function select_block_type(ctx, dirty) {
13398
- if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 16387) show_if_1 = null;
13399
- if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 16387) show_if_2 = null;
13400
- if (show_if_1 == null) show_if_1 = !!(!isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14] && /*favorites*/ ctx[1]);
13398
+ if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 8195) show_if_1 = null;
13399
+ if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 8195) show_if_2 = null;
13400
+ if (show_if_1 == null) show_if_1 = !!(!isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13] && /*favorites*/ ctx[1]);
13401
13401
  if (show_if_1) return create_if_block_10;
13402
- if (show_if_2 == null) show_if_2 = !!(isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14] && /*favorites*/ ctx[1]);
13402
+ if (show_if_2 == null) show_if_2 = !!(isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13] && /*favorites*/ ctx[1]);
13403
13403
  if (show_if_2) return create_if_block_11;
13404
13404
  }
13405
13405
 
@@ -13407,7 +13407,7 @@
13407
13407
  let if_block1 = current_block_type && current_block_type(ctx);
13408
13408
  let if_block2 = /*gameisnew*/ ctx[6] && create_if_block_9(ctx);
13409
13409
  let if_block3 = show_if && create_if_block_8(ctx);
13410
- let if_block4 = /*livegamedata*/ ctx[11] && create_if_block_1$1(ctx);
13410
+ let if_block4 = /*livegamedata*/ ctx[10] && create_if_block_1$1(ctx);
13411
13411
  let if_block5 = /*showgamename*/ ctx[9] && create_if_block$1(ctx);
13412
13412
 
13413
13413
  const block = {
@@ -13441,43 +13441,43 @@
13441
13441
  if (if_block5) if_block5.c();
13442
13442
  this.c = noop$1;
13443
13443
  if (!src_url_equal(img.src, img_src_value = /*gamethumbnail*/ ctx[2])) attr_dev(img, "src", img_src_value);
13444
- attr_dev(img, "class", img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[16] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[17] ? 'Loaded' : ''}`);
13445
- attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[16] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[17] ? 'Loaded' : ''));
13444
+ attr_dev(img, "class", img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[15] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[16] ? 'Loaded' : ''}`);
13445
+ attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[15] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[16] ? 'Loaded' : ''));
13446
13446
  attr_dev(img, "alt", "");
13447
13447
  attr_dev(img, "loading", "lazy");
13448
- add_location(img, file$1, 544, 4, 18723);
13448
+ add_location(img, file$1, 526, 4, 18070);
13449
13449
  attr_dev(p, "class", "GameInfoName");
13450
13450
  attr_dev(p, "part", "GameInfoName");
13451
13451
  attr_dev(p, "title", /*gamename*/ ctx[3]);
13452
- add_location(p, file$1, 563, 8, 20756);
13452
+ add_location(p, file$1, 545, 8, 20103);
13453
13453
  attr_dev(button, "class", "GameInfoBtn");
13454
13454
  attr_dev(button, "part", "GameInfoBtn");
13455
- add_location(button, file$1, 564, 8, 20842);
13456
- attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''));
13457
- attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''));
13458
- add_location(div0, file$1, 546, 6, 19036);
13455
+ add_location(button, file$1, 546, 8, 20189);
13456
+ attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''));
13457
+ attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''));
13458
+ add_location(div0, file$1, 528, 6, 18383);
13459
13459
  attr_dev(span, "class", "GameInfoVendor");
13460
13460
  attr_dev(span, "part", "GameInfoVendor");
13461
- add_location(span, file$1, 566, 6, 20990);
13461
+ add_location(span, file$1, 548, 6, 20337);
13462
13462
  attr_dev(div1, "class", "GameInfoWrapper");
13463
13463
  attr_dev(div1, "part", "GameInfoWrapper");
13464
- add_location(div1, file$1, 545, 4, 18977);
13464
+ add_location(div1, file$1, 527, 4, 18324);
13465
13465
  attr_dev(div2, "class", "GameExtraInfo");
13466
13466
  attr_dev(div2, "part", "GameExtraInfo");
13467
- add_location(div2, file$1, 583, 4, 22626);
13467
+ add_location(div2, file$1, 565, 4, 21973);
13468
13468
 
13469
- attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
13469
+ attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
13470
13470
  ? 'GameInnerContainerUnavailable'
13471
13471
  : ''));
13472
13472
 
13473
- attr_dev(div3, "part", div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
13473
+ attr_dev(div3, "part", div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
13474
13474
  ? 'GameInnerContainerUnavailable'
13475
13475
  : ''));
13476
13476
 
13477
- add_location(div3, file$1, 543, 2, 18335);
13477
+ add_location(div3, file$1, 525, 2, 17682);
13478
13478
  attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
13479
13479
  attr_dev(div4, "part", div4_part_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
13480
- add_location(div4, file$1, 542, 0, 18209);
13480
+ add_location(div4, file$1, 524, 0, 17556);
13481
13481
  },
13482
13482
  l: function claim(nodes) {
13483
13483
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -13530,15 +13530,15 @@
13530
13530
  attr_dev(img, "src", img_src_value);
13531
13531
  }
13532
13532
 
13533
- if (dirty[0] & /*gamecellsize, hover, loaded*/ 196864 && img_class_value !== (img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[16] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[17] ? 'Loaded' : ''}`)) {
13533
+ if (dirty[0] & /*gamecellsize, hover, loaded*/ 98560 && img_class_value !== (img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[15] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[16] ? 'Loaded' : ''}`)) {
13534
13534
  attr_dev(img, "class", img_class_value);
13535
13535
  }
13536
13536
 
13537
- if (dirty[0] & /*hover, loaded*/ 196608 && img_part_value !== (img_part_value = "GameBg " + (/*hover*/ ctx[16] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[17] ? 'Loaded' : ''))) {
13537
+ if (dirty[0] & /*hover, loaded*/ 98304 && img_part_value !== (img_part_value = "GameBg " + (/*hover*/ ctx[15] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[16] ? 'Loaded' : ''))) {
13538
13538
  attr_dev(img, "part", img_part_value);
13539
13539
  }
13540
13540
 
13541
- if (/*fav*/ ctx[15]) {
13541
+ if (/*fav*/ ctx[14]) {
13542
13542
  if (if_block0) {
13543
13543
  if_block0.p(ctx, dirty);
13544
13544
  } else {
@@ -13559,11 +13559,11 @@
13559
13559
 
13560
13560
  if (dirty[1] & /*$_*/ 16 && t4_value !== (t4_value = /*$_*/ ctx[35]('gameThumbnail.playNow') + "")) set_data_dev(t4, t4_value);
13561
13561
 
13562
- if (dirty[0] & /*hover*/ 65536 && div0_class_value !== (div0_class_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''))) {
13562
+ if (dirty[0] & /*hover*/ 32768 && div0_class_value !== (div0_class_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''))) {
13563
13563
  attr_dev(div0, "class", div0_class_value);
13564
13564
  }
13565
13565
 
13566
- if (dirty[0] & /*hover*/ 65536 && div0_part_value !== (div0_part_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''))) {
13566
+ if (dirty[0] & /*hover*/ 32768 && div0_part_value !== (div0_part_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''))) {
13567
13567
  attr_dev(div0, "part", div0_part_value);
13568
13568
  }
13569
13569
 
@@ -13609,7 +13609,7 @@
13609
13609
  if_block3 = null;
13610
13610
  }
13611
13611
 
13612
- if (/*livegamedata*/ ctx[11]) {
13612
+ if (/*livegamedata*/ ctx[10]) {
13613
13613
  if (if_block4) {
13614
13614
  if_block4.p(ctx, dirty);
13615
13615
  } else {
@@ -13622,13 +13622,13 @@
13622
13622
  if_block4 = null;
13623
13623
  }
13624
13624
 
13625
- if (dirty[0] & /*livegamedata, isopen, openhours*/ 12584960 | dirty[1] & /*istablefull*/ 2 && div3_class_value !== (div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
13625
+ if (dirty[0] & /*livegamedata, isopen, openhours*/ 12583936 | dirty[1] & /*istablefull*/ 2 && div3_class_value !== (div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
13626
13626
  ? 'GameInnerContainerUnavailable'
13627
13627
  : ''))) {
13628
13628
  attr_dev(div3, "class", div3_class_value);
13629
13629
  }
13630
13630
 
13631
- if (dirty[0] & /*livegamedata, isopen*/ 4196352 | dirty[1] & /*istablefull*/ 2 && div3_part_value !== (div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
13631
+ if (dirty[0] & /*livegamedata, isopen*/ 4195328 | dirty[1] & /*istablefull*/ 2 && div3_part_value !== (div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
13632
13632
  ? 'GameInnerContainerUnavailable'
13633
13633
  : ''))) {
13634
13634
  attr_dev(div3, "part", div3_part_value);
@@ -13822,11 +13822,11 @@
13822
13822
  });
13823
13823
 
13824
13824
  const enter = () => {
13825
- $$invalidate(16, hover = true);
13825
+ $$invalidate(15, hover = true);
13826
13826
  };
13827
13827
 
13828
13828
  const leave = () => {
13829
- $$invalidate(16, hover = false);
13829
+ $$invalidate(15, hover = false);
13830
13830
  };
13831
13831
 
13832
13832
  const messageHandler = e => {
@@ -13839,37 +13839,19 @@
13839
13839
  }
13840
13840
 
13841
13841
  if (e.data.type === 'UserSessionID') {
13842
- $$invalidate(14, isLoggedIn = true);
13842
+ $$invalidate(13, isLoggedIn = true);
13843
13843
  sessionID = e.data.session;
13844
13844
  playerID = e.data.userID;
13845
13845
  }
13846
13846
 
13847
13847
  if (e.data.type === 'CategoryUpdate') {
13848
- $$invalidate(11, livegamedata = null);
13848
+ $$invalidate(10, livegamedata = null);
13849
13849
  }
13850
13850
  };
13851
13851
 
13852
13852
  const toggleGameFrame = gameId => {
13853
13853
  if (searchitem) {
13854
13854
  window.postMessage({ type: 'SearchedItemClicked', gameId }, window.location.href);
13855
-
13856
- //Analytics event -- if game was searched
13857
- if (typeof gtag == 'function') {
13858
- gtag('event', 'OpenGame', {
13859
- 'context': 'GameThumbnail--Searched',
13860
- 'gameId': `${gameId}`,
13861
- 'userId': `${playerID ? playerID : 'Not logged in'}`
13862
- });
13863
- }
13864
- } else {
13865
- //Analytics event
13866
- if (typeof gtag == 'function') {
13867
- gtag('event', 'OpenGame', {
13868
- 'context': 'GameThumbnail',
13869
- 'gameId': `${gameId}`,
13870
- 'userId': `${playerID ? playerID : 'Not logged in'}`
13871
- });
13872
- }
13873
13855
  }
13874
13856
 
13875
13857
  if (isMobile(userAgent) && integratedgameframemobile == "true") {
@@ -13943,19 +13925,19 @@
13943
13925
  };
13944
13926
 
13945
13927
  const gameTouch = () => {
13946
- window.postMessage({ type: 'GameHoveredMobile' }, window.location.href);
13928
+ window.postMessage({ type: 'GameHovered' }, window.location.href);
13947
13929
  };
13948
13930
 
13949
13931
  const gameTouchEnd = () => {
13950
- window.postMessage({ type: 'GameBlurMobile' }, window.location.href);
13932
+ window.postMessage({ type: 'GameBlur' }, window.location.href);
13951
13933
  };
13952
13934
 
13953
13935
  const gameHover = () => {
13954
- window.postMessage({ type: 'GameHoveredPc' }, window.location.href);
13936
+ window.postMessage({ type: 'GameHovered' }, window.location.href);
13955
13937
  };
13956
13938
 
13957
13939
  const gameBlur = () => {
13958
- window.postMessage({ type: 'GameBlurPc' }, window.location.href);
13940
+ window.postMessage({ type: 'GameBlur' }, window.location.href);
13959
13941
  };
13960
13942
 
13961
13943
  const setActiveLanguage = () => {
@@ -13964,7 +13946,7 @@
13964
13946
  // setLocale(lang);
13965
13947
 
13966
13948
  const setSession = () => {
13967
- $$invalidate(14, isLoggedIn = true);
13949
+ $$invalidate(13, isLoggedIn = true);
13968
13950
  sessionID = session;
13969
13951
  playerID = userid;
13970
13952
  };
@@ -13972,9 +13954,9 @@
13972
13954
  const setOnLoad = () => {
13973
13955
  if (image) {
13974
13956
  $$invalidate(
13975
- 18,
13957
+ 17,
13976
13958
  image.onload = () => {
13977
- $$invalidate(17, loaded = true);
13959
+ $$invalidate(16, loaded = true);
13978
13960
  },
13979
13961
  image
13980
13962
  );
@@ -14000,12 +13982,34 @@
14000
13982
  }
14001
13983
  };
14002
13984
 
13985
+ const setClientStyling = () => {
13986
+ let sheet = document.createElement('style');
13987
+ sheet.innerHTML = clientstyling;
13988
+
13989
+ setTimeout(() => {
13990
+ customStylingContainer.appendChild(sheet);
13991
+ });
13992
+ };
13993
+
14003
13994
  const setFavorites = () => {
14004
13995
  if (favorites == 'true') {
14005
- $$invalidate(15, fav = true);
13996
+ $$invalidate(14, fav = true);
14006
13997
  }
14007
13998
  };
14008
13999
 
14000
+ const setClientStylingURL = () => {
14001
+ let url = new URL(clientstylingurl);
14002
+ let cssFile = document.createElement('style');
14003
+
14004
+ fetch(url.href).then(res => res.text()).then(data => {
14005
+ cssFile.innerHTML = data;
14006
+
14007
+ setTimeout(() => {
14008
+ customStylingContainer.appendChild(cssFile);
14009
+ });
14010
+ });
14011
+ };
14012
+
14009
14013
  const liveLobbyMessageHandler = async event => {
14010
14014
  const { type, data: rawData } = event;
14011
14015
  let data;
@@ -14033,7 +14037,7 @@
14033
14037
  {
14034
14038
  if (Seats && Array.isArray(Seats)) {
14035
14039
  $$invalidate(28, currentoccupiedseats = Seats);
14036
- $$invalidate(11, livegamedata.currentOccupiedSeats = Seats, livegamedata);
14040
+ $$invalidate(10, livegamedata.currentOccupiedSeats = Seats, livegamedata);
14037
14041
  await tick();
14038
14042
  }
14039
14043
 
@@ -14043,7 +14047,7 @@
14043
14047
  {
14044
14048
  if (Results && Array.isArray(Results)) {
14045
14049
  currentroulettenumbers = Results;
14046
- $$invalidate(11, livegamedata.currentRouletteNumbers = Results, livegamedata);
14050
+ $$invalidate(10, livegamedata.currentRouletteNumbers = Results, livegamedata);
14047
14051
  await tick();
14048
14052
  }
14049
14053
 
@@ -14053,7 +14057,7 @@
14053
14057
  {
14054
14058
  if (Results && Array.isArray(Results)) {
14055
14059
  currentdoubleballroulettenumbers = Results;
14056
- $$invalidate(11, livegamedata.currentDoubleBallRouletteNumbers = Results, livegamedata);
14060
+ $$invalidate(10, livegamedata.currentDoubleBallRouletteNumbers = Results, livegamedata);
14057
14061
  await tick();
14058
14062
  }
14059
14063
 
@@ -14062,14 +14066,14 @@
14062
14066
  case 'TableOpened':
14063
14067
  {
14064
14068
  $$invalidate(22, isopen = Open);
14065
- $$invalidate(11, livegamedata.isOpen = Open, livegamedata);
14069
+ $$invalidate(10, livegamedata.isOpen = Open, livegamedata);
14066
14070
  await tick();
14067
14071
  break;
14068
14072
  }
14069
14073
  case 'TableClosed':
14070
14074
  {
14071
14075
  $$invalidate(22, isopen = Open);
14072
- $$invalidate(11, livegamedata.isOpen = Open, livegamedata);
14076
+ $$invalidate(10, livegamedata.isOpen = Open, livegamedata);
14073
14077
  await tick();
14074
14078
  break;
14075
14079
  }
@@ -14087,7 +14091,7 @@
14087
14091
 
14088
14092
  fetch(url).then(res => res.json()).then(data => {
14089
14093
  const { details } = data[0];
14090
- $$invalidate(11, livegamedata = details);
14094
+ $$invalidate(10, livegamedata = details);
14091
14095
  });
14092
14096
  };
14093
14097
 
@@ -14246,7 +14250,7 @@
14246
14250
  vendorcategory = livegamedata.vendorCategory;
14247
14251
  $$invalidate(29, isdouble = vendorcategory.toLowerCase() === DOUBLE_ROULETTE);
14248
14252
 
14249
- $$invalidate(12, roulleteresults = (isdouble
14253
+ $$invalidate(11, roulleteresults = (isdouble
14250
14254
  ? currentdoubleballroulettenumbers
14251
14255
  : currentroulettenumbers) || []);
14252
14256
 
@@ -14307,28 +14311,6 @@
14307
14311
  }
14308
14312
  };
14309
14313
 
14310
- const setClientStyling = () => {
14311
- let sheet = document.createElement('style');
14312
- sheet.innerHTML = clientstyling;
14313
- customStylingContainer.appendChild(sheet);
14314
- };
14315
-
14316
- const setClientStylingURL = () => {
14317
- let url = new URL(clientstylingurl);
14318
- let cssFile = document.createElement('style');
14319
-
14320
- fetch(url.href).then(res => res.text()).then(data => {
14321
- cssFile.innerHTML = data;
14322
-
14323
- setTimeout(
14324
- () => {
14325
- customStylingContainer.appendChild(cssFile);
14326
- },
14327
- 1
14328
- );
14329
- });
14330
- };
14331
-
14332
14314
  onMount(() => {
14333
14315
  window.addEventListener('message', messageHandler, false);
14334
14316
 
@@ -14377,7 +14359,7 @@
14377
14359
  function img_binding($$value) {
14378
14360
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
14379
14361
  image = $$value;
14380
- $$invalidate(18, image);
14362
+ $$invalidate(17, image);
14381
14363
  });
14382
14364
  }
14383
14365
 
@@ -14388,14 +14370,14 @@
14388
14370
  function div0_binding($$value) {
14389
14371
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
14390
14372
  roulletteref = $$value;
14391
- $$invalidate(13, roulletteref);
14373
+ $$invalidate(12, roulletteref);
14392
14374
  });
14393
14375
  }
14394
14376
 
14395
14377
  function div4_binding($$value) {
14396
14378
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
14397
14379
  customStylingContainer = $$value;
14398
- $$invalidate(10, customStylingContainer);
14380
+ $$invalidate(18, customStylingContainer);
14399
14381
  });
14400
14382
  }
14401
14383
 
@@ -14525,7 +14507,9 @@
14525
14507
  getLiveLobbyURL,
14526
14508
  connectGameToLiveLobby,
14527
14509
  disconnectGameFromLiveLobby,
14510
+ setClientStyling,
14528
14511
  setFavorites,
14512
+ setClientStylingURL,
14529
14513
  liveLobbyMessageHandler,
14530
14514
  setLiveLobbyData,
14531
14515
  numberWithSeparators,
@@ -14539,8 +14523,6 @@
14539
14523
  updateComponent,
14540
14524
  toggleConnect,
14541
14525
  toggleVisibilityConnect,
14542
- setClientStyling,
14543
- setClientStylingURL,
14544
14526
  $_
14545
14527
  });
14546
14528
 
@@ -14571,16 +14553,16 @@
14571
14553
  if ('visibilityconnect' in $$props) $$invalidate(60, visibilityconnect = $$props.visibilityconnect);
14572
14554
  if ('integratedgameframedesktop' in $$props) $$invalidate(61, integratedgameframedesktop = $$props.integratedgameframedesktop);
14573
14555
  if ('integratedgameframemobile' in $$props) $$invalidate(62, integratedgameframemobile = $$props.integratedgameframemobile);
14574
- if ('isLoggedIn' in $$props) $$invalidate(14, isLoggedIn = $$props.isLoggedIn);
14556
+ if ('isLoggedIn' in $$props) $$invalidate(13, isLoggedIn = $$props.isLoggedIn);
14575
14557
  if ('sessionID' in $$props) sessionID = $$props.sessionID;
14576
14558
  if ('playerID' in $$props) playerID = $$props.playerID;
14577
- if ('fav' in $$props) $$invalidate(15, fav = $$props.fav);
14578
- if ('hover' in $$props) $$invalidate(16, hover = $$props.hover);
14579
- if ('loaded' in $$props) $$invalidate(17, loaded = $$props.loaded);
14580
- if ('image' in $$props) $$invalidate(18, image = $$props.image);
14559
+ if ('fav' in $$props) $$invalidate(14, fav = $$props.fav);
14560
+ if ('hover' in $$props) $$invalidate(15, hover = $$props.hover);
14561
+ if ('loaded' in $$props) $$invalidate(16, loaded = $$props.loaded);
14562
+ if ('image' in $$props) $$invalidate(17, image = $$props.image);
14581
14563
  if ('userAgent' in $$props) $$invalidate(36, userAgent = $$props.userAgent);
14582
- if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
14583
- if ('livegamedata' in $$props) $$invalidate(11, livegamedata = $$props.livegamedata);
14564
+ if ('customStylingContainer' in $$props) $$invalidate(18, customStylingContainer = $$props.customStylingContainer);
14565
+ if ('livegamedata' in $$props) $$invalidate(10, livegamedata = $$props.livegamedata);
14584
14566
  if ('liveLobbyConnection' in $$props) liveLobbyConnection = $$props.liveLobbyConnection;
14585
14567
  if ('displaytype' in $$props) $$invalidate(19, displaytype = $$props.displaytype);
14586
14568
  if ('starttime' in $$props) $$invalidate(20, starttime = $$props.starttime);
@@ -14598,13 +14580,13 @@
14598
14580
  if ('currentdoubleballroulettenumbers' in $$props) currentdoubleballroulettenumbers = $$props.currentdoubleballroulettenumbers;
14599
14581
  if ('vendorcategory' in $$props) vendorcategory = $$props.vendorcategory;
14600
14582
  if ('isdouble' in $$props) $$invalidate(29, isdouble = $$props.isdouble);
14601
- if ('roulleteresults' in $$props) $$invalidate(12, roulleteresults = $$props.roulleteresults);
14583
+ if ('roulleteresults' in $$props) $$invalidate(11, roulleteresults = $$props.roulleteresults);
14602
14584
  if ('roulettecontainerclassname' in $$props) $$invalidate(30, roulettecontainerclassname = $$props.roulettecontainerclassname);
14603
14585
  if ('colorsourcearray' in $$props) $$invalidate(31, colorsourcearray = $$props.colorsourcearray);
14604
14586
  if ('istablefull' in $$props) $$invalidate(32, istablefull = $$props.istablefull);
14605
14587
  if ('oldistablefull' in $$props) oldistablefull = $$props.oldistablefull;
14606
14588
  if ('extraclassname' in $$props) $$invalidate(33, extraclassname = $$props.extraclassname);
14607
- if ('roulletteref' in $$props) $$invalidate(13, roulletteref = $$props.roulletteref);
14589
+ if ('roulletteref' in $$props) $$invalidate(12, roulletteref = $$props.roulletteref);
14608
14590
  if ('dealername' in $$props) $$invalidate(34, dealername = $$props.dealername);
14609
14591
  if ('numberofplayers' in $$props) numberofplayers = $$props.numberofplayers;
14610
14592
  };
@@ -14632,27 +14614,27 @@
14632
14614
  gamethumbnail && setOnLoad();
14633
14615
  }
14634
14616
 
14635
- if ($$self.$$.dirty[0] & /*customStylingContainer*/ 1024 | $$self.$$.dirty[1] & /*clientstyling*/ 524288) {
14636
- clientstyling && customStylingContainer && setClientStyling();
14637
- }
14638
-
14639
- if ($$self.$$.dirty[0] & /*customStylingContainer*/ 1024 | $$self.$$.dirty[1] & /*clientstylingurl*/ 1048576) {
14640
- clientstylingurl && customStylingContainer && setClientStylingURL();
14617
+ if ($$self.$$.dirty[1] & /*clientstyling*/ 524288) {
14618
+ clientstyling && setClientStyling();
14641
14619
  }
14642
14620
 
14643
14621
  if ($$self.$$.dirty[0] & /*favorites*/ 2) {
14644
14622
  favorites && setFavorites();
14645
14623
  }
14646
14624
 
14625
+ if ($$self.$$.dirty[0] & /*gamecellsize*/ 256 | $$self.$$.dirty[1] & /*clientstylingurl*/ 1048576) {
14626
+ gamecellsize && clientstylingurl && setClientStylingURL();
14627
+ }
14628
+
14647
14629
  if ($$self.$$.dirty[1] & /*endpoint, livelobbyendpoint*/ 201326592) {
14648
14630
  endpoint && livelobbyendpoint && setLiveLobbyData();
14649
14631
  }
14650
14632
 
14651
- if ($$self.$$.dirty[0] & /*livegamedata*/ 2048) {
14633
+ if ($$self.$$.dirty[0] & /*livegamedata*/ 1024) {
14652
14634
  livegamedata && updateComponent();
14653
14635
  }
14654
14636
 
14655
- if ($$self.$$.dirty[0] & /*roulletteref, roulleteresults*/ 12288) {
14637
+ if ($$self.$$.dirty[0] & /*roulletteref, roulleteresults*/ 6144) {
14656
14638
  roulletteref && roulleteresults && attachAnimations();
14657
14639
  }
14658
14640
  };
@@ -14668,7 +14650,6 @@
14668
14650
  gamepopularity,
14669
14651
  gamecellsize,
14670
14652
  showgamename,
14671
- customStylingContainer,
14672
14653
  livegamedata,
14673
14654
  roulleteresults,
14674
14655
  roulletteref,
@@ -14677,6 +14658,7 @@
14677
14658
  hover,
14678
14659
  loaded,
14679
14660
  image,
14661
+ customStylingContainer,
14680
14662
  displaytype,
14681
14663
  starttime,
14682
14664
  timeformat,
@@ -15090,7 +15072,7 @@
15090
15072
  return child_ctx;
15091
15073
  }
15092
15074
 
15093
- // (211:4) {:else}
15075
+ // (207:4) {:else}
15094
15076
  function create_else_block(ctx) {
15095
15077
  let t0;
15096
15078
  let div;
@@ -15098,14 +15080,14 @@
15098
15080
  let div_class_value;
15099
15081
 
15100
15082
  function select_block_type_1(ctx, dirty) {
15101
- if (/*searchActive*/ ctx[11] == true && /*searchValue*/ ctx[6].length < 2) return create_if_block_3;
15102
- if (/*searchArray*/ ctx[9].length != 0) return create_if_block_5;
15083
+ if (/*searchActive*/ ctx[8] == true && /*searchValue*/ ctx[4].length < 2) return create_if_block_3;
15084
+ if (/*searchArray*/ ctx[6].length != 0) return create_if_block_5;
15103
15085
  }
15104
15086
 
15105
15087
  let current_block_type = select_block_type_1(ctx);
15106
15088
  let if_block0 = current_block_type && current_block_type(ctx);
15107
- let if_block1 = /*searchCancelled*/ ctx[7] === false && create_if_block_2(ctx);
15108
- let if_block2 = /*searchValue*/ ctx[6].length >= 2 && /*searchArray*/ ctx[9].length == 0 && create_if_block_1(ctx);
15089
+ let if_block1 = /*searchCancelled*/ ctx[5] === false && create_if_block_2(ctx);
15090
+ let if_block2 = /*searchValue*/ ctx[4].length >= 2 && /*searchArray*/ ctx[6].length == 0 && create_if_block_1(ctx);
15109
15091
 
15110
15092
  const block = {
15111
15093
  c: function create() {
@@ -15115,8 +15097,8 @@
15115
15097
  if (if_block1) if_block1.c();
15116
15098
  t1 = space();
15117
15099
  if (if_block2) if_block2.c();
15118
- attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[11] == true ? '' : 'NotVisible'));
15119
- add_location(div, file, 221, 6, 7853);
15100
+ attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[8] == true ? '' : 'NotVisible'));
15101
+ add_location(div, file, 217, 6, 7693);
15120
15102
  },
15121
15103
  m: function mount(target, anchor) {
15122
15104
  if (if_block0) if_block0.m(target, anchor);
@@ -15139,7 +15121,7 @@
15139
15121
  }
15140
15122
  }
15141
15123
 
15142
- if (/*searchCancelled*/ ctx[7] === false) {
15124
+ if (/*searchCancelled*/ ctx[5] === false) {
15143
15125
  if (if_block1) {
15144
15126
  if_block1.p(ctx, dirty);
15145
15127
  } else {
@@ -15152,7 +15134,7 @@
15152
15134
  if_block1 = null;
15153
15135
  }
15154
15136
 
15155
- if (/*searchValue*/ ctx[6].length >= 2 && /*searchArray*/ ctx[9].length == 0) {
15137
+ if (/*searchValue*/ ctx[4].length >= 2 && /*searchArray*/ ctx[6].length == 0) {
15156
15138
  if (if_block2) {
15157
15139
  if_block2.p(ctx, dirty);
15158
15140
  } else {
@@ -15165,7 +15147,7 @@
15165
15147
  if_block2 = null;
15166
15148
  }
15167
15149
 
15168
- if (dirty[0] & /*searchActive*/ 2048 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[11] == true ? '' : 'NotVisible'))) {
15150
+ if (dirty[0] & /*searchActive*/ 256 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[8] == true ? '' : 'NotVisible'))) {
15169
15151
  attr_dev(div, "class", div_class_value);
15170
15152
  }
15171
15153
  },
@@ -15185,31 +15167,31 @@
15185
15167
  block,
15186
15168
  id: create_else_block.name,
15187
15169
  type: "else",
15188
- source: "(211:4) {:else}",
15170
+ source: "(207:4) {:else}",
15189
15171
  ctx
15190
15172
  });
15191
15173
 
15192
15174
  return block;
15193
15175
  }
15194
15176
 
15195
- // (209:4) {#if isLoading}
15177
+ // (205:4) {#if isLoading}
15196
15178
  function create_if_block(ctx) {
15197
15179
  let p;
15198
- let t_value = /*$_*/ ctx[13]('Translations.loading') + "";
15180
+ let t_value = /*$_*/ ctx[11]('Translations.loading') + "";
15199
15181
  let t;
15200
15182
 
15201
15183
  const block = {
15202
15184
  c: function create() {
15203
15185
  p = element("p");
15204
15186
  t = text(t_value);
15205
- add_location(p, file, 209, 6, 7345);
15187
+ add_location(p, file, 205, 6, 7185);
15206
15188
  },
15207
15189
  m: function mount(target, anchor) {
15208
15190
  insert_dev(target, p, anchor);
15209
15191
  append_dev(p, t);
15210
15192
  },
15211
15193
  p: function update(ctx, dirty) {
15212
- if (dirty[0] & /*$_*/ 8192 && t_value !== (t_value = /*$_*/ ctx[13]('Translations.loading') + "")) set_data_dev(t, t_value);
15194
+ if (dirty[0] & /*$_*/ 2048 && t_value !== (t_value = /*$_*/ ctx[11]('Translations.loading') + "")) set_data_dev(t, t_value);
15213
15195
  },
15214
15196
  d: function destroy(detaching) {
15215
15197
  if (detaching) detach_dev(p);
@@ -15220,17 +15202,17 @@
15220
15202
  block,
15221
15203
  id: create_if_block.name,
15222
15204
  type: "if",
15223
- source: "(209:4) {#if isLoading}",
15205
+ source: "(205:4) {#if isLoading}",
15224
15206
  ctx
15225
15207
  });
15226
15208
 
15227
15209
  return block;
15228
15210
  }
15229
15211
 
15230
- // (219:40)
15212
+ // (215:40)
15231
15213
  function create_if_block_5(ctx) {
15232
15214
  let p;
15233
- let t_value = /*$_*/ ctx[13]('Translations.searchResult') + "";
15215
+ let t_value = /*$_*/ ctx[11]('Translations.searchResult') + "";
15234
15216
  let t;
15235
15217
 
15236
15218
  const block = {
@@ -15238,14 +15220,14 @@
15238
15220
  p = element("p");
15239
15221
  t = text(t_value);
15240
15222
  attr_dev(p, "class", "SearchMessage");
15241
- add_location(p, file, 219, 8, 7771);
15223
+ add_location(p, file, 215, 8, 7611);
15242
15224
  },
15243
15225
  m: function mount(target, anchor) {
15244
15226
  insert_dev(target, p, anchor);
15245
15227
  append_dev(p, t);
15246
15228
  },
15247
15229
  p: function update(ctx, dirty) {
15248
- if (dirty[0] & /*$_*/ 8192 && t_value !== (t_value = /*$_*/ ctx[13]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15230
+ if (dirty[0] & /*$_*/ 2048 && t_value !== (t_value = /*$_*/ ctx[11]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15249
15231
  },
15250
15232
  d: function destroy(detaching) {
15251
15233
  if (detaching) detach_dev(p);
@@ -15256,21 +15238,21 @@
15256
15238
  block,
15257
15239
  id: create_if_block_5.name,
15258
15240
  type: "if",
15259
- source: "(219:40) ",
15241
+ source: "(215:40) ",
15260
15242
  ctx
15261
15243
  });
15262
15244
 
15263
15245
  return block;
15264
15246
  }
15265
15247
 
15266
- // (212:6) {#if searchActive == true && searchValue.length < 2}
15248
+ // (208:6) {#if searchActive == true && searchValue.length < 2}
15267
15249
  function create_if_block_3(ctx) {
15268
15250
  let p;
15269
- let t0_value = /*$_*/ ctx[13]('Translations.recentSearch') + "";
15251
+ let t0_value = /*$_*/ ctx[11]('Translations.recentSearch') + "";
15270
15252
  let t0;
15271
15253
  let t1;
15272
15254
  let if_block_anchor;
15273
- let if_block = /*searchArray*/ ctx[9].length == 0 && create_if_block_4(ctx);
15255
+ let if_block = /*searchArray*/ ctx[6].length == 0 && create_if_block_4(ctx);
15274
15256
 
15275
15257
  const block = {
15276
15258
  c: function create() {
@@ -15280,7 +15262,7 @@
15280
15262
  if (if_block) if_block.c();
15281
15263
  if_block_anchor = empty();
15282
15264
  attr_dev(p, "class", "SearchMessage");
15283
- add_location(p, file, 212, 8, 7460);
15265
+ add_location(p, file, 208, 8, 7300);
15284
15266
  },
15285
15267
  m: function mount(target, anchor) {
15286
15268
  insert_dev(target, p, anchor);
@@ -15290,9 +15272,9 @@
15290
15272
  insert_dev(target, if_block_anchor, anchor);
15291
15273
  },
15292
15274
  p: function update(ctx, dirty) {
15293
- if (dirty[0] & /*$_*/ 8192 && t0_value !== (t0_value = /*$_*/ ctx[13]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15275
+ if (dirty[0] & /*$_*/ 2048 && t0_value !== (t0_value = /*$_*/ ctx[11]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15294
15276
 
15295
- if (/*searchArray*/ ctx[9].length == 0) {
15277
+ if (/*searchArray*/ ctx[6].length == 0) {
15296
15278
  if (if_block) {
15297
15279
  if_block.p(ctx, dirty);
15298
15280
  } else {
@@ -15317,18 +15299,18 @@
15317
15299
  block,
15318
15300
  id: create_if_block_3.name,
15319
15301
  type: "if",
15320
- source: "(212:6) {#if searchActive == true && searchValue.length < 2}",
15302
+ source: "(208:6) {#if searchActive == true && searchValue.length < 2}",
15321
15303
  ctx
15322
15304
  });
15323
15305
 
15324
15306
  return block;
15325
15307
  }
15326
15308
 
15327
- // (214:10) {#if searchArray.length == 0}
15309
+ // (210:10) {#if searchArray.length == 0}
15328
15310
  function create_if_block_4(ctx) {
15329
15311
  let div;
15330
15312
  let p;
15331
- let t_value = /*$_*/ ctx[13]('Translations.noRecentSearches') + "";
15313
+ let t_value = /*$_*/ ctx[11]('Translations.noRecentSearches') + "";
15332
15314
  let t;
15333
15315
 
15334
15316
  const block = {
@@ -15337,9 +15319,9 @@
15337
15319
  p = element("p");
15338
15320
  t = text(t_value);
15339
15321
  attr_dev(p, "class", "SearchMessage");
15340
- add_location(p, file, 215, 12, 7621);
15322
+ add_location(p, file, 211, 12, 7461);
15341
15323
  attr_dev(div, "class", "ResultsContainerError");
15342
- add_location(div, file, 214, 10, 7573);
15324
+ add_location(div, file, 210, 10, 7413);
15343
15325
  },
15344
15326
  m: function mount(target, anchor) {
15345
15327
  insert_dev(target, div, anchor);
@@ -15347,7 +15329,7 @@
15347
15329
  append_dev(p, t);
15348
15330
  },
15349
15331
  p: function update(ctx, dirty) {
15350
- if (dirty[0] & /*$_*/ 8192 && t_value !== (t_value = /*$_*/ ctx[13]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15332
+ if (dirty[0] & /*$_*/ 2048 && t_value !== (t_value = /*$_*/ ctx[11]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15351
15333
  },
15352
15334
  d: function destroy(detaching) {
15353
15335
  if (detaching) detach_dev(div);
@@ -15358,17 +15340,17 @@
15358
15340
  block,
15359
15341
  id: create_if_block_4.name,
15360
15342
  type: "if",
15361
- source: "(214:10) {#if searchArray.length == 0}",
15343
+ source: "(210:10) {#if searchArray.length == 0}",
15362
15344
  ctx
15363
15345
  });
15364
15346
 
15365
15347
  return block;
15366
15348
  }
15367
15349
 
15368
- // (223:8) {#if searchCancelled === false}
15350
+ // (219:8) {#if searchCancelled === false}
15369
15351
  function create_if_block_2(ctx) {
15370
15352
  let each_1_anchor;
15371
- let each_value = /*searchArray*/ ctx[9];
15353
+ let each_value = /*searchArray*/ ctx[6];
15372
15354
  validate_each_argument(each_value);
15373
15355
  let each_blocks = [];
15374
15356
 
@@ -15392,8 +15374,8 @@
15392
15374
  insert_dev(target, each_1_anchor, anchor);
15393
15375
  },
15394
15376
  p: function update(ctx, dirty) {
15395
- if (dirty[0] & /*lang, searchArray, endpoint, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl*/ 575) {
15396
- each_value = /*searchArray*/ ctx[9];
15377
+ if (dirty[0] & /*lang, searchArray, endpoint, integratedgameframedesktop, integratedgameframemobile*/ 79) {
15378
+ each_value = /*searchArray*/ ctx[6];
15397
15379
  validate_each_argument(each_value);
15398
15380
  let i;
15399
15381
 
@@ -15426,14 +15408,14 @@
15426
15408
  block,
15427
15409
  id: create_if_block_2.name,
15428
15410
  type: "if",
15429
- source: "(223:8) {#if searchCancelled === false}",
15411
+ source: "(219:8) {#if searchCancelled === false}",
15430
15412
  ctx
15431
15413
  });
15432
15414
 
15433
15415
  return block;
15434
15416
  }
15435
15417
 
15436
- // (224:10) {#each searchArray as game}
15418
+ // (220:10) {#each searchArray as game}
15437
15419
  function create_each_block(ctx) {
15438
15420
  let casino_game_thumbnail;
15439
15421
  let casino_game_thumbnail_gamethumbnail_value;
@@ -15466,11 +15448,9 @@
15466
15448
  : '');
15467
15449
 
15468
15450
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15469
- set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
15470
- set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
15471
- set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
15472
- set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15473
- add_location(casino_game_thumbnail, file, 224, 12, 8022);
15451
+ set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[2]);
15452
+ set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[3]);
15453
+ add_location(casino_game_thumbnail, file, 220, 12, 7862);
15474
15454
  },
15475
15455
  m: function mount(target, anchor) {
15476
15456
  insert_dev(target, casino_game_thumbnail, anchor);
@@ -15480,43 +15460,43 @@
15480
15460
  set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
15481
15461
  }
15482
15462
 
15483
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[35].thumbnail)) {
15463
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[35].thumbnail)) {
15484
15464
  set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
15485
15465
  }
15486
15466
 
15487
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[35].name)) {
15467
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[35].name)) {
15488
15468
  set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
15489
15469
  }
15490
15470
 
15491
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[35].vendor.name)) {
15471
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[35].vendor.name)) {
15492
15472
  set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
15493
15473
  }
15494
15474
 
15495
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[35].isNew)) {
15475
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[35].isNew)) {
15496
15476
  set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
15497
15477
  }
15498
15478
 
15499
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[35].popularity)) {
15479
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[35].popularity)) {
15500
15480
  set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
15501
15481
  }
15502
15482
 
15503
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[35].cellSize)) {
15483
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[35].cellSize)) {
15504
15484
  set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
15505
15485
  }
15506
15486
 
15507
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[35].id)) {
15487
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[35].id)) {
15508
15488
  set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
15509
15489
  }
15510
15490
 
15511
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[35].hasFunMode)) {
15491
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[35].hasFunMode)) {
15512
15492
  set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
15513
15493
  }
15514
15494
 
15515
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[35].isFavorite)) {
15495
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[35].isFavorite)) {
15516
15496
  set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
15517
15497
  }
15518
15498
 
15519
- if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[35].details
15499
+ if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[35].details
15520
15500
  ? /*game*/ ctx[35].launchUrl
15521
15501
  : '')) {
15522
15502
  set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
@@ -15526,20 +15506,12 @@
15526
15506
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15527
15507
  }
15528
15508
 
15529
- if (dirty[0] & /*integratedgameframedesktop*/ 16) {
15530
- set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
15531
- }
15532
-
15533
- if (dirty[0] & /*integratedgameframemobile*/ 32) {
15534
- set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
15509
+ if (dirty[0] & /*integratedgameframedesktop*/ 4) {
15510
+ set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[2]);
15535
15511
  }
15536
15512
 
15537
- if (dirty[0] & /*clientstyling*/ 4) {
15538
- set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
15539
- }
15540
-
15541
- if (dirty[0] & /*clientstylingurl*/ 8) {
15542
- set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15513
+ if (dirty[0] & /*integratedgameframemobile*/ 8) {
15514
+ set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[3]);
15543
15515
  }
15544
15516
  },
15545
15517
  d: function destroy(detaching) {
@@ -15551,22 +15523,22 @@
15551
15523
  block,
15552
15524
  id: create_each_block.name,
15553
15525
  type: "each",
15554
- source: "(224:10) {#each searchArray as game}",
15526
+ source: "(220:10) {#each searchArray as game}",
15555
15527
  ctx
15556
15528
  });
15557
15529
 
15558
15530
  return block;
15559
15531
  }
15560
15532
 
15561
- // (245:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15533
+ // (239:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15562
15534
  function create_if_block_1(ctx) {
15563
15535
  let div;
15564
15536
  let p0;
15565
- let t0_value = /*$_*/ ctx[13]('Translations.notFound') + "";
15537
+ let t0_value = /*$_*/ ctx[11]('Translations.notFound') + "";
15566
15538
  let t0;
15567
15539
  let t1;
15568
15540
  let p1;
15569
- let t2_value = /*$_*/ ctx[13]('Translations.notFoundText') + "";
15541
+ let t2_value = /*$_*/ ctx[11]('Translations.notFoundText') + "";
15570
15542
  let t2;
15571
15543
 
15572
15544
  const block = {
@@ -15578,10 +15550,10 @@
15578
15550
  p1 = element("p");
15579
15551
  t2 = text(t2_value);
15580
15552
  attr_dev(p0, "class", "SearchMessage");
15581
- add_location(p0, file, 246, 12, 8886);
15582
- add_location(p1, file, 247, 12, 8957);
15553
+ add_location(p0, file, 240, 12, 8663);
15554
+ add_location(p1, file, 241, 12, 8734);
15583
15555
  attr_dev(div, "class", "ResultsContainerError");
15584
- add_location(div, file, 245, 10, 8838);
15556
+ add_location(div, file, 239, 10, 8615);
15585
15557
  },
15586
15558
  m: function mount(target, anchor) {
15587
15559
  insert_dev(target, div, anchor);
@@ -15592,8 +15564,8 @@
15592
15564
  append_dev(p1, t2);
15593
15565
  },
15594
15566
  p: function update(ctx, dirty) {
15595
- if (dirty[0] & /*$_*/ 8192 && t0_value !== (t0_value = /*$_*/ ctx[13]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15596
- if (dirty[0] & /*$_*/ 8192 && t2_value !== (t2_value = /*$_*/ ctx[13]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15567
+ if (dirty[0] & /*$_*/ 2048 && t0_value !== (t0_value = /*$_*/ ctx[11]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15568
+ if (dirty[0] & /*$_*/ 2048 && t2_value !== (t2_value = /*$_*/ ctx[11]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15597
15569
  },
15598
15570
  d: function destroy(detaching) {
15599
15571
  if (detaching) detach_dev(div);
@@ -15604,7 +15576,7 @@
15604
15576
  block,
15605
15577
  id: create_if_block_1.name,
15606
15578
  type: "if",
15607
- source: "(245:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15579
+ source: "(239:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15608
15580
  ctx
15609
15581
  });
15610
15582
 
@@ -15630,7 +15602,7 @@
15630
15602
  let span_class_value;
15631
15603
  let t2;
15632
15604
  let small;
15633
- let t3_value = /*$_*/ ctx[13]('Translations.cancel') + "";
15605
+ let t3_value = /*$_*/ ctx[11]('Translations.cancel') + "";
15634
15606
  let t3;
15635
15607
  let small_class_value;
15636
15608
  let t4;
@@ -15638,7 +15610,7 @@
15638
15610
  let dispose;
15639
15611
 
15640
15612
  function select_block_type(ctx, dirty) {
15641
- if (/*isLoading*/ ctx[12]) return create_if_block;
15613
+ if (/*isLoading*/ ctx[9]) return create_if_block;
15642
15614
  return create_else_block;
15643
15615
  }
15644
15616
 
@@ -15672,46 +15644,46 @@
15672
15644
  attr_dev(path0, "stroke-linecap", "round");
15673
15645
  attr_dev(path0, "stroke-linejoin", "round");
15674
15646
  attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
15675
- add_location(path0, file, 192, 10, 6316);
15647
+ add_location(path0, file, 188, 10, 6156);
15676
15648
  attr_dev(circle, "cx", "6.5");
15677
15649
  attr_dev(circle, "cy", "6.5");
15678
15650
  attr_dev(circle, "r", "5.75");
15679
15651
  attr_dev(circle, "stroke", "#212121");
15680
15652
  attr_dev(circle, "stroke-width", "1.5");
15681
- add_location(circle, file, 193, 10, 6444);
15653
+ add_location(circle, file, 189, 10, 6284);
15682
15654
  attr_dev(svg0, "width", "14");
15683
15655
  attr_dev(svg0, "height", "15");
15684
15656
  attr_dev(svg0, "fill", "none");
15685
15657
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
15686
- add_location(svg0, file, 191, 8, 6230);
15658
+ add_location(svg0, file, 187, 8, 6070);
15687
15659
  attr_dev(div0, "class", "SearchIcon");
15688
- add_location(div0, file, 190, 6, 6197);
15660
+ add_location(div0, file, 186, 6, 6037);
15689
15661
  attr_dev(input, "class", "SearchInput");
15690
15662
  attr_dev(input, "type", "search");
15691
- attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[13]('Translations.placeHolderSearchGames'));
15692
- add_location(input, file, 197, 8, 6589);
15663
+ attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[11]('Translations.placeHolderSearchGames'));
15664
+ add_location(input, file, 193, 8, 6429);
15693
15665
  attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
15694
15666
  attr_dev(path1, "stroke", "#717171");
15695
15667
  attr_dev(path1, "stroke-width", "2");
15696
15668
  attr_dev(path1, "stroke-linecap", "round");
15697
15669
  attr_dev(path1, "stroke-linejoin", "round");
15698
- add_location(path1, file, 200, 12, 6976);
15670
+ add_location(path1, file, 196, 12, 6816);
15699
15671
  attr_dev(svg1, "width", "11");
15700
15672
  attr_dev(svg1, "height", "11");
15701
15673
  attr_dev(svg1, "fill", "none");
15702
15674
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
15703
- add_location(svg1, file, 199, 10, 6888);
15704
- attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[6].length != 0 ? '' : 'NotVisible'));
15705
- add_location(span, file, 198, 8, 6767);
15675
+ add_location(svg1, file, 195, 10, 6728);
15676
+ attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[4].length != 0 ? '' : 'NotVisible'));
15677
+ add_location(span, file, 194, 8, 6607);
15706
15678
  attr_dev(div1, "class", "SearchContainer");
15707
- add_location(div1, file, 196, 6, 6551);
15708
- attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[7] ? 'NotVisible' : ''));
15709
- add_location(small, file, 204, 6, 7152);
15679
+ add_location(div1, file, 192, 6, 6391);
15680
+ attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[5] ? 'NotVisible' : ''));
15681
+ add_location(small, file, 200, 6, 6992);
15710
15682
  attr_dev(div2, "class", "Search");
15711
- add_location(div2, file, 189, 4, 6170);
15683
+ add_location(div2, file, 185, 4, 6010);
15712
15684
  attr_dev(div3, "class", "CasinoSearch");
15713
- add_location(div3, file, 188, 2, 6139);
15714
- add_location(div4, file, 187, 0, 6096);
15685
+ add_location(div3, file, 184, 2, 5979);
15686
+ add_location(div4, file, 183, 0, 5936);
15715
15687
  },
15716
15688
  l: function claim(nodes) {
15717
15689
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -15727,7 +15699,7 @@
15727
15699
  append_dev(div2, t0);
15728
15700
  append_dev(div2, div1);
15729
15701
  append_dev(div1, input);
15730
- set_input_value(input, /*searchValue*/ ctx[6]);
15702
+ set_input_value(input, /*searchValue*/ ctx[4]);
15731
15703
  /*input_binding*/ ctx[19](input);
15732
15704
  append_dev(div1, t1);
15733
15705
  append_dev(div1, span);
@@ -15743,7 +15715,7 @@
15743
15715
  if (!mounted) {
15744
15716
  dispose = [
15745
15717
  listen_dev(input, "input", /*input_input_handler*/ ctx[18]),
15746
- listen_dev(input, "focus", /*onFocus*/ ctx[14], false, false, false),
15718
+ listen_dev(input, "focus", /*onFocus*/ ctx[12], false, false, false),
15747
15719
  listen_dev(span, "click", /*click_handler*/ ctx[20], false, false, false),
15748
15720
  listen_dev(small, "click", /*click_handler_1*/ ctx[21], false, false, false)
15749
15721
  ];
@@ -15752,21 +15724,21 @@
15752
15724
  }
15753
15725
  },
15754
15726
  p: function update(ctx, dirty) {
15755
- if (dirty[0] & /*$_*/ 8192 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[13]('Translations.placeHolderSearchGames'))) {
15727
+ if (dirty[0] & /*$_*/ 2048 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[11]('Translations.placeHolderSearchGames'))) {
15756
15728
  attr_dev(input, "placeholder", input_placeholder_value);
15757
15729
  }
15758
15730
 
15759
- if (dirty[0] & /*searchValue*/ 64) {
15760
- set_input_value(input, /*searchValue*/ ctx[6]);
15731
+ if (dirty[0] & /*searchValue*/ 16) {
15732
+ set_input_value(input, /*searchValue*/ ctx[4]);
15761
15733
  }
15762
15734
 
15763
- if (dirty[0] & /*searchValue*/ 64 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[6].length != 0 ? '' : 'NotVisible'))) {
15735
+ if (dirty[0] & /*searchValue*/ 16 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[4].length != 0 ? '' : 'NotVisible'))) {
15764
15736
  attr_dev(span, "class", span_class_value);
15765
15737
  }
15766
15738
 
15767
- if (dirty[0] & /*$_*/ 8192 && t3_value !== (t3_value = /*$_*/ ctx[13]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15739
+ if (dirty[0] & /*$_*/ 2048 && t3_value !== (t3_value = /*$_*/ ctx[11]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15768
15740
 
15769
- if (dirty[0] & /*searchCancelled*/ 128 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[7] ? 'NotVisible' : ''))) {
15741
+ if (dirty[0] & /*searchCancelled*/ 32 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[5] ? 'NotVisible' : ''))) {
15770
15742
  attr_dev(small, "class", small_class_value);
15771
15743
  }
15772
15744
 
@@ -15808,7 +15780,7 @@
15808
15780
  function instance($$self, $$props, $$invalidate) {
15809
15781
  let $_;
15810
15782
  validate_store(Y, '_');
15811
- component_subscribe($$self, Y, $$value => $$invalidate(13, $_ = $$value));
15783
+ component_subscribe($$self, Y, $$value => $$invalidate(11, $_ = $$value));
15812
15784
  let { $$slots: slots = {}, $$scope } = $$props;
15813
15785
  validate_slots('undefined', slots, []);
15814
15786
  let { endpoint = '' } = $$props;
@@ -15840,8 +15812,8 @@
15840
15812
  };
15841
15813
 
15842
15814
  const onFocus = () => {
15843
- $$invalidate(7, searchCancelled = false);
15844
- $$invalidate(11, searchActive = true);
15815
+ $$invalidate(5, searchCancelled = false);
15816
+ $$invalidate(8, searchActive = true);
15845
15817
 
15846
15818
  if (endpoint && datasource && lang) {
15847
15819
  if (searchValue.length < 2) {
@@ -15866,29 +15838,24 @@
15866
15838
  }
15867
15839
 
15868
15840
  Promise.all(promises).then(res => {
15869
- $$invalidate(9, searchArray = res);
15841
+ $$invalidate(6, searchArray = res);
15870
15842
  });
15871
15843
  }
15872
15844
  }
15873
15845
  }
15874
15846
 
15875
15847
  sendSearchStatus(searchActive);
15876
-
15877
- //Analytics event
15878
- if (typeof gtag == 'function') {
15879
- gtag('event', 'SearchInitialized', { 'context': 'SearchWidget' });
15880
- }
15881
15848
  };
15882
15849
 
15883
15850
  const getGames = url => {
15884
15851
  return new Promise((resolve, reject) => {
15885
- $$invalidate(12, isLoading = true);
15852
+ $$invalidate(9, isLoading = true);
15886
15853
 
15887
15854
  fetch(url.href).then(res => res.json()).then(games => {
15888
- $$invalidate(12, isLoading = false);
15855
+ $$invalidate(9, isLoading = false);
15889
15856
  resolve(games);
15890
15857
  }).catch(err => {
15891
- $$invalidate(12, isLoading = false);
15858
+ $$invalidate(9, isLoading = false);
15892
15859
  console.error(err);
15893
15860
  reject(err);
15894
15861
  });
@@ -15897,18 +15864,18 @@
15897
15864
 
15898
15865
  const getGame = (url, gameId) => {
15899
15866
  return new Promise((resolve, reject) => {
15900
- $$invalidate(12, isLoading = true);
15867
+ $$invalidate(9, isLoading = true);
15901
15868
 
15902
15869
  if (gameId && Object.keys(gamesCache).indexOf(gameId) >= 0) {
15903
- $$invalidate(12, isLoading = false);
15870
+ $$invalidate(9, isLoading = false);
15904
15871
  resolve(gamesCache[gameId]);
15905
15872
  } else {
15906
15873
  fetch(url).then(fetchRes => fetchRes.json()).then(gameData => {
15907
- $$invalidate(12, isLoading = false);
15874
+ $$invalidate(9, isLoading = false);
15908
15875
  gamesCache[gameData[0].gameId] = gameData[0];
15909
15876
  resolve(gameData[0]);
15910
15877
  }).catch(err => {
15911
- $$invalidate(12, isLoading = false);
15878
+ $$invalidate(9, isLoading = false);
15912
15879
  console.error(err);
15913
15880
  reject(err);
15914
15881
  });
@@ -15942,16 +15909,16 @@
15942
15909
  };
15943
15910
 
15944
15911
  const cancelSearch = () => {
15945
- $$invalidate(6, searchValue = '');
15946
- $$invalidate(7, searchCancelled = true);
15947
- $$invalidate(12, isLoading = false);
15948
- $$invalidate(9, searchArray = []);
15949
- $$invalidate(11, searchActive = false);
15912
+ $$invalidate(4, searchValue = '');
15913
+ $$invalidate(5, searchCancelled = true);
15914
+ $$invalidate(9, isLoading = false);
15915
+ $$invalidate(6, searchArray = []);
15916
+ $$invalidate(8, searchActive = false);
15950
15917
  sendSearchStatus(searchActive);
15951
15918
  };
15952
15919
 
15953
15920
  const clearSearch = () => {
15954
- $$invalidate(6, searchValue = '');
15921
+ $$invalidate(4, searchValue = '');
15955
15922
  searchElement.focus();
15956
15923
  };
15957
15924
 
@@ -15982,12 +15949,14 @@
15982
15949
  fetch(url.href).then(res => res.text()).then(data => {
15983
15950
  cssFile.innerHTML = data;
15984
15951
 
15985
- setTimeout(
15986
- () => {
15987
- customStylingContainer.appendChild(cssFile);
15988
- },
15989
- 1
15990
- );
15952
+ if (customStylingContainer) {
15953
+ setTimeout(
15954
+ () => {
15955
+ customStylingContainer.appendChild(cssFile);
15956
+ },
15957
+ 1
15958
+ );
15959
+ }
15991
15960
  });
15992
15961
  };
15993
15962
 
@@ -16015,13 +15984,13 @@
16015
15984
 
16016
15985
  function input_input_handler() {
16017
15986
  searchValue = this.value;
16018
- $$invalidate(6, searchValue);
15987
+ $$invalidate(4, searchValue);
16019
15988
  }
16020
15989
 
16021
15990
  function input_binding($$value) {
16022
15991
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16023
15992
  searchElement = $$value;
16024
- $$invalidate(10, searchElement);
15993
+ $$invalidate(7, searchElement);
16025
15994
  });
16026
15995
  }
16027
15996
 
@@ -16031,18 +16000,18 @@
16031
16000
  function div4_binding($$value) {
16032
16001
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16033
16002
  customStylingContainer = $$value;
16034
- $$invalidate(8, customStylingContainer);
16003
+ $$invalidate(10, customStylingContainer);
16035
16004
  });
16036
16005
  }
16037
16006
 
16038
16007
  $$self.$$set = $$props => {
16039
16008
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16040
- if ('datasource' in $$props) $$invalidate(17, datasource = $$props.datasource);
16009
+ if ('datasource' in $$props) $$invalidate(15, datasource = $$props.datasource);
16041
16010
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16042
- if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16043
- if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16044
- if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16045
- if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16011
+ if ('clientstyling' in $$props) $$invalidate(16, clientstyling = $$props.clientstyling);
16012
+ if ('clientstylingurl' in $$props) $$invalidate(17, clientstylingurl = $$props.clientstylingurl);
16013
+ if ('integratedgameframedesktop' in $$props) $$invalidate(2, integratedgameframedesktop = $$props.integratedgameframedesktop);
16014
+ if ('integratedgameframemobile' in $$props) $$invalidate(3, integratedgameframemobile = $$props.integratedgameframemobile);
16046
16015
  };
16047
16016
 
16048
16017
  $$self.$capture_state = () => ({
@@ -16086,22 +16055,22 @@
16086
16055
 
16087
16056
  $$self.$inject_state = $$props => {
16088
16057
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16089
- if ('datasource' in $$props) $$invalidate(17, datasource = $$props.datasource);
16058
+ if ('datasource' in $$props) $$invalidate(15, datasource = $$props.datasource);
16090
16059
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16091
- if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16092
- if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16093
- if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16094
- if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16060
+ if ('clientstyling' in $$props) $$invalidate(16, clientstyling = $$props.clientstyling);
16061
+ if ('clientstylingurl' in $$props) $$invalidate(17, clientstylingurl = $$props.clientstylingurl);
16062
+ if ('integratedgameframedesktop' in $$props) $$invalidate(2, integratedgameframedesktop = $$props.integratedgameframedesktop);
16063
+ if ('integratedgameframemobile' in $$props) $$invalidate(3, integratedgameframemobile = $$props.integratedgameframemobile);
16095
16064
  if ('userAgent' in $$props) $$invalidate(25, userAgent = $$props.userAgent);
16096
- if ('searchArray' in $$props) $$invalidate(9, searchArray = $$props.searchArray);
16065
+ if ('searchArray' in $$props) $$invalidate(6, searchArray = $$props.searchArray);
16097
16066
  if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
16098
16067
  if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
16099
- if ('searchValue' in $$props) $$invalidate(6, searchValue = $$props.searchValue);
16100
- if ('searchElement' in $$props) $$invalidate(10, searchElement = $$props.searchElement);
16101
- if ('searchCancelled' in $$props) $$invalidate(7, searchCancelled = $$props.searchCancelled);
16102
- if ('searchActive' in $$props) $$invalidate(11, searchActive = $$props.searchActive);
16103
- if ('isLoading' in $$props) $$invalidate(12, isLoading = $$props.isLoading);
16104
- if ('customStylingContainer' in $$props) $$invalidate(8, customStylingContainer = $$props.customStylingContainer);
16068
+ if ('searchValue' in $$props) $$invalidate(4, searchValue = $$props.searchValue);
16069
+ if ('searchElement' in $$props) $$invalidate(7, searchElement = $$props.searchElement);
16070
+ if ('searchCancelled' in $$props) $$invalidate(5, searchCancelled = $$props.searchCancelled);
16071
+ if ('searchActive' in $$props) $$invalidate(8, searchActive = $$props.searchActive);
16072
+ if ('isLoading' in $$props) $$invalidate(9, isLoading = $$props.isLoading);
16073
+ if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
16105
16074
  };
16106
16075
 
16107
16076
  if ($$props && "$$inject" in $$props) {
@@ -16109,7 +16078,7 @@
16109
16078
  }
16110
16079
 
16111
16080
  $$self.$$.update = () => {
16112
- if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 131267) {
16081
+ if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 32819) {
16113
16082
  if (searchValue.length >= 2) {
16114
16083
  const searchUrl = new URL(`${endpoint}/casino/games`);
16115
16084
  searchUrl.searchParams.append("datasource", datasource);
@@ -16120,7 +16089,7 @@
16120
16089
  searchUrl.searchParams.append("filter", `name=${searchValue}`);
16121
16090
 
16122
16091
  getGames(searchUrl).then(searchData => {
16123
- $$invalidate(9, searchArray = searchData.items.map(item => item));
16092
+ $$invalidate(6, searchArray = searchData.items.map(item => item));
16124
16093
  });
16125
16094
  } else {
16126
16095
  if (!searchCancelled) {
@@ -16133,34 +16102,34 @@
16133
16102
  lang && setActiveLanguage();
16134
16103
  }
16135
16104
 
16136
- if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/ 260) {
16137
- clientstyling && customStylingContainer && setClientStyling();
16105
+ if ($$self.$$.dirty[0] & /*clientstyling*/ 65536) {
16106
+ clientstyling && setClientStyling();
16138
16107
  }
16139
16108
 
16140
- if ($$self.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/ 264) {
16141
- clientstylingurl && customStylingContainer && setClientStylingURL();
16109
+ if ($$self.$$.dirty[0] & /*clientstylingurl*/ 131072) {
16110
+ clientstylingurl && setClientStylingURL();
16142
16111
  }
16143
16112
  };
16144
16113
 
16145
16114
  return [
16146
16115
  endpoint,
16147
16116
  lang,
16148
- clientstyling,
16149
- clientstylingurl,
16150
16117
  integratedgameframedesktop,
16151
16118
  integratedgameframemobile,
16152
16119
  searchValue,
16153
16120
  searchCancelled,
16154
- customStylingContainer,
16155
16121
  searchArray,
16156
16122
  searchElement,
16157
16123
  searchActive,
16158
16124
  isLoading,
16125
+ customStylingContainer,
16159
16126
  $_,
16160
16127
  onFocus,
16161
16128
  cancelSearch,
16162
16129
  clearSearch,
16163
16130
  datasource,
16131
+ clientstyling,
16132
+ clientstylingurl,
16164
16133
  input_input_handler,
16165
16134
  input_binding,
16166
16135
  click_handler,
@@ -16186,12 +16155,12 @@
16186
16155
  safe_not_equal,
16187
16156
  {
16188
16157
  endpoint: 0,
16189
- datasource: 17,
16158
+ datasource: 15,
16190
16159
  lang: 1,
16191
- clientstyling: 2,
16192
- clientstylingurl: 3,
16193
- integratedgameframedesktop: 4,
16194
- integratedgameframemobile: 5
16160
+ clientstyling: 16,
16161
+ clientstylingurl: 17,
16162
+ integratedgameframedesktop: 2,
16163
+ integratedgameframemobile: 3
16195
16164
  },
16196
16165
  null,
16197
16166
  [-1, -1]
@@ -16231,7 +16200,7 @@
16231
16200
  }
16232
16201
 
16233
16202
  get datasource() {
16234
- return this.$$.ctx[17];
16203
+ return this.$$.ctx[15];
16235
16204
  }
16236
16205
 
16237
16206
  set datasource(datasource) {
@@ -16249,7 +16218,7 @@
16249
16218
  }
16250
16219
 
16251
16220
  get clientstyling() {
16252
- return this.$$.ctx[2];
16221
+ return this.$$.ctx[16];
16253
16222
  }
16254
16223
 
16255
16224
  set clientstyling(clientstyling) {
@@ -16258,7 +16227,7 @@
16258
16227
  }
16259
16228
 
16260
16229
  get clientstylingurl() {
16261
- return this.$$.ctx[3];
16230
+ return this.$$.ctx[17];
16262
16231
  }
16263
16232
 
16264
16233
  set clientstylingurl(clientstylingurl) {
@@ -16267,7 +16236,7 @@
16267
16236
  }
16268
16237
 
16269
16238
  get integratedgameframedesktop() {
16270
- return this.$$.ctx[4];
16239
+ return this.$$.ctx[2];
16271
16240
  }
16272
16241
 
16273
16242
  set integratedgameframedesktop(integratedgameframedesktop) {
@@ -16276,7 +16245,7 @@
16276
16245
  }
16277
16246
 
16278
16247
  get integratedgameframemobile() {
16279
- return this.$$.ctx[5];
16248
+ return this.$$.ctx[3];
16280
16249
  }
16281
16250
 
16282
16251
  set integratedgameframemobile(integratedgameframemobile) {