@everymatrix/casino-search 1.2.0 → 1.2.2

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.
@@ -12334,7 +12334,7 @@
12334
12334
  return child_ctx;
12335
12335
  }
12336
12336
 
12337
- // (562:8) {#if fav}
12337
+ // (568:8) {#if fav}
12338
12338
  function create_if_block_13(ctx) {
12339
12339
  let show_if = !isMobile(/*userAgent*/ ctx[37]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15];
12340
12340
  let if_block_anchor;
@@ -12375,14 +12375,14 @@
12375
12375
  block,
12376
12376
  id: create_if_block_13.name,
12377
12377
  type: "if",
12378
- source: "(562:8) {#if fav}",
12378
+ source: "(568:8) {#if fav}",
12379
12379
  ctx
12380
12380
  });
12381
12381
 
12382
12382
  return block;
12383
12383
  }
12384
12384
 
12385
- // (563:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
12385
+ // (569:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
12386
12386
  function create_if_block_14(ctx) {
12387
12387
  let div;
12388
12388
  let svg;
@@ -12397,7 +12397,7 @@
12397
12397
  path = svg_element("path");
12398
12398
  set_style(path, "fill", "white");
12399
12399
  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");
12400
- add_location(path, file$1, 565, 112, 20034);
12400
+ add_location(path, file$1, 571, 112, 20322);
12401
12401
  attr_dev(svg, "version", "1.1");
12402
12402
  attr_dev(svg, "class", "UnfavoredIcon");
12403
12403
  attr_dev(svg, "part", "UnfavoredIcon");
@@ -12408,10 +12408,10 @@
12408
12408
  attr_dev(svg, "viewBox", "0 0 512.001 512.001");
12409
12409
  set_style(svg, "enable-background", "new 0 0 512.001 512.001");
12410
12410
  attr_dev(svg, "xml:space", "preserve");
12411
- add_location(svg, file$1, 564, 14, 19764);
12411
+ add_location(svg, file$1, 570, 14, 20052);
12412
12412
  attr_dev(div, "class", "FavIconContainer");
12413
12413
  attr_dev(div, "part", "FavIconContainer");
12414
- add_location(div, file$1, 563, 12, 19649);
12414
+ add_location(div, file$1, 569, 12, 19937);
12415
12415
  },
12416
12416
  m: function mount(target, anchor) {
12417
12417
  insert_dev(target, div, anchor);
@@ -12435,14 +12435,14 @@
12435
12435
  block,
12436
12436
  id: create_if_block_14.name,
12437
12437
  type: "if",
12438
- source: "(563:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
12438
+ source: "(569:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
12439
12439
  ctx
12440
12440
  });
12441
12441
 
12442
12442
  return block;
12443
12443
  }
12444
12444
 
12445
- // (579:8) {#if lang}
12445
+ // (585:8) {#if lang}
12446
12446
  function create_if_block_12(ctx) {
12447
12447
  let button;
12448
12448
  let t_value = /*$_*/ ctx[36]('gameThumbnail.playNow') + "";
@@ -12456,7 +12456,7 @@
12456
12456
  t = text(t_value);
12457
12457
  attr_dev(button, "class", "GameInfoBtn");
12458
12458
  attr_dev(button, "part", "GameInfoBtn");
12459
- add_location(button, file$1, 579, 8, 21279);
12459
+ add_location(button, file$1, 585, 8, 21567);
12460
12460
  },
12461
12461
  m: function mount(target, anchor) {
12462
12462
  insert_dev(target, button, anchor);
@@ -12481,14 +12481,14 @@
12481
12481
  block,
12482
12482
  id: create_if_block_12.name,
12483
12483
  type: "if",
12484
- source: "(579:8) {#if lang}",
12484
+ source: "(585:8) {#if lang}",
12485
12485
  ctx
12486
12486
  });
12487
12487
 
12488
12488
  return block;
12489
12489
  }
12490
12490
 
12491
- // (593:77)
12491
+ // (599:77)
12492
12492
  function create_if_block_11(ctx) {
12493
12493
  let div;
12494
12494
  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, 595, 10, 22696);
12504
+ add_location(path, file$1, 601, 10, 22984);
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, 594, 8, 22479);
12512
+ add_location(svg, file$1, 600, 8, 22767);
12513
12513
  attr_dev(div, "class", "FavIconContainer");
12514
12514
  attr_dev(div, "part", "FavIconContainer");
12515
- add_location(div, file$1, 593, 6, 22416);
12515
+ add_location(div, file$1, 599, 6, 22704);
12516
12516
  },
12517
12517
  m: function mount(target, anchor) {
12518
12518
  insert_dev(target, div, anchor);
@@ -12529,14 +12529,14 @@
12529
12529
  block,
12530
12530
  id: create_if_block_11.name,
12531
12531
  type: "if",
12532
- source: "(593:77) ",
12532
+ source: "(599:77) ",
12533
12533
  ctx
12534
12534
  });
12535
12535
 
12536
12536
  return block;
12537
12537
  }
12538
12538
 
12539
- // (587:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
12539
+ // (593:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
12540
12540
  function create_if_block_10(ctx) {
12541
12541
  let div;
12542
12542
  let svg;
@@ -12551,7 +12551,7 @@
12551
12551
  path = svg_element("path");
12552
12552
  set_style(path, "fill", "white");
12553
12553
  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");
12554
- add_location(path, file$1, 589, 10, 21965);
12554
+ add_location(path, file$1, 595, 10, 22253);
12555
12555
  attr_dev(svg, "version", "1.1");
12556
12556
  attr_dev(svg, "class", "FavoredIcon");
12557
12557
  attr_dev(svg, "part", "FavoredIcon");
@@ -12559,10 +12559,10 @@
12559
12559
  attr_dev(svg, "viewBox", "0 0 19.481 19.481");
12560
12560
  attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
12561
12561
  attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
12562
- add_location(svg, file$1, 588, 8, 21748);
12562
+ add_location(svg, file$1, 594, 8, 22036);
12563
12563
  attr_dev(div, "class", "FavIconContainer");
12564
12564
  attr_dev(div, "part", "FavIconContainer");
12565
- add_location(div, file$1, 587, 6, 21639);
12565
+ add_location(div, file$1, 593, 6, 21927);
12566
12566
  },
12567
12567
  m: function mount(target, anchor) {
12568
12568
  insert_dev(target, div, anchor);
@@ -12586,14 +12586,14 @@
12586
12586
  block,
12587
12587
  id: create_if_block_10.name,
12588
12588
  type: "if",
12589
- source: "(587:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
12589
+ source: "(593:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
12590
12590
  ctx
12591
12591
  });
12592
12592
 
12593
12593
  return block;
12594
12594
  }
12595
12595
 
12596
- // (601:6) {#if gameisnew}
12596
+ // (607:6) {#if gameisnew}
12597
12597
  function create_if_block_9(ctx) {
12598
12598
  let span;
12599
12599
  let t_value = /*$_*/ ctx[36]('gameThumbnail.new') + "";
@@ -12605,7 +12605,7 @@
12605
12605
  t = text(t_value);
12606
12606
  attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
12607
12607
  attr_dev(span, "part", "GameExtraInfoLabel NewGameTag");
12608
- add_location(span, file$1, 601, 8, 23156);
12608
+ add_location(span, file$1, 607, 8, 23444);
12609
12609
  },
12610
12610
  m: function mount(target, anchor) {
12611
12611
  insert_dev(target, span, anchor);
@@ -12623,33 +12623,32 @@
12623
12623
  block,
12624
12624
  id: create_if_block_9.name,
12625
12625
  type: "if",
12626
- source: "(601:6) {#if gameisnew}",
12626
+ source: "(607:6) {#if gameisnew}",
12627
12627
  ctx
12628
12628
  });
12629
12629
 
12630
12630
  return block;
12631
12631
  }
12632
12632
 
12633
- // (604:6) {#if (parseInt(gamepopularity) > 0)}
12633
+ // (610:6) {#if gametag}
12634
12634
  function create_if_block_8(ctx) {
12635
12635
  let span;
12636
- let t_value = /*$_*/ ctx[36]('gameThumbnail.hot') + "";
12637
12636
  let t;
12638
12637
 
12639
12638
  const block = {
12640
12639
  c: function create() {
12641
12640
  span = element("span");
12642
- t = text(t_value);
12641
+ t = text(/*gametag*/ ctx[8]);
12643
12642
  attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
12644
12643
  attr_dev(span, "part", "GameExtraInfoLabel PopularGameTag");
12645
- add_location(span, file$1, 604, 8, 23333);
12644
+ add_location(span, file$1, 610, 8, 23598);
12646
12645
  },
12647
12646
  m: function mount(target, anchor) {
12648
12647
  insert_dev(target, span, anchor);
12649
12648
  append_dev(span, t);
12650
12649
  },
12651
12650
  p: function update(ctx, dirty) {
12652
- if (dirty[1] & /*$_*/ 32 && t_value !== (t_value = /*$_*/ ctx[36]('gameThumbnail.hot') + "")) set_data_dev(t, t_value);
12651
+ if (dirty[0] & /*gametag*/ 256) set_data_dev(t, /*gametag*/ ctx[8]);
12653
12652
  },
12654
12653
  d: function destroy(detaching) {
12655
12654
  if (detaching) detach_dev(span);
@@ -12660,14 +12659,14 @@
12660
12659
  block,
12661
12660
  id: create_if_block_8.name,
12662
12661
  type: "if",
12663
- source: "(604:6) {#if (parseInt(gamepopularity) > 0)}",
12662
+ source: "(610:6) {#if gametag}",
12664
12663
  ctx
12665
12664
  });
12666
12665
 
12667
12666
  return block;
12668
12667
  }
12669
12668
 
12670
- // (607:6) {#if livegamedata}
12669
+ // (613:6) {#if livegamedata}
12671
12670
  function create_if_block_1$1(ctx) {
12672
12671
  let t;
12673
12672
  let if_block1_anchor;
@@ -12736,14 +12735,14 @@
12736
12735
  block,
12737
12736
  id: create_if_block_1$1.name,
12738
12737
  type: "if",
12739
- source: "(607:6) {#if livegamedata}",
12738
+ source: "(613:6) {#if livegamedata}",
12740
12739
  ctx
12741
12740
  });
12742
12741
 
12743
12742
  return block;
12744
12743
  }
12745
12744
 
12746
- // (608:8) {#if !isopen && starttime && timeformat}
12745
+ // (614:8) {#if !isopen && starttime && timeformat}
12747
12746
  function create_if_block_7(ctx) {
12748
12747
  let div1;
12749
12748
  let div0;
@@ -12772,15 +12771,15 @@
12772
12771
  html_tag = new HtmlTag(false);
12773
12772
  t4 = space();
12774
12773
  html_tag_1 = new HtmlTag(false);
12775
- add_location(span, file$1, 611, 14, 23721);
12774
+ add_location(span, file$1, 617, 14, 23970);
12776
12775
  attr_dev(div0, "class", "ClosedGame");
12777
12776
  attr_dev(div0, "part", "ClosedGame");
12778
- add_location(div0, file$1, 609, 12, 23622);
12777
+ add_location(div0, file$1, 615, 12, 23871);
12779
12778
  html_tag.a = t4;
12780
12779
  html_tag_1.a = null;
12781
12780
  attr_dev(div1, "class", "GameProp LiveProps");
12782
12781
  attr_dev(div1, "part", "GameProp LiveProps");
12783
- add_location(div1, file$1, 608, 10, 23551);
12782
+ add_location(div1, file$1, 614, 10, 23800);
12784
12783
  },
12785
12784
  m: function mount(target, anchor) {
12786
12785
  insert_dev(target, div1, anchor);
@@ -12809,14 +12808,14 @@
12809
12808
  block,
12810
12809
  id: create_if_block_7.name,
12811
12810
  type: "if",
12812
- source: "(608:8) {#if !isopen && starttime && timeformat}",
12811
+ source: "(614:8) {#if !isopen && starttime && timeformat}",
12813
12812
  ctx
12814
12813
  });
12815
12814
 
12816
12815
  return block;
12817
12816
  }
12818
12817
 
12819
- // (641:68)
12818
+ // (647:68)
12820
12819
  function create_if_block_4$1(ctx) {
12821
12820
  let div1;
12822
12821
  let div0;
@@ -12849,12 +12848,12 @@
12849
12848
  html_tag_1 = new HtmlTag(false);
12850
12849
  attr_dev(div0, "class", "LiveIcons");
12851
12850
  attr_dev(div0, "part", "LiveIcons");
12852
- add_location(div0, file$1, 642, 12, 25681);
12851
+ add_location(div0, file$1, 648, 12, 25930);
12853
12852
  html_tag.a = t1;
12854
12853
  html_tag_1.a = null;
12855
12854
  attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[31]);
12856
12855
  attr_dev(div1, "part", /*roulettecontainerclassname*/ ctx[31]);
12857
- add_location(div1, file$1, 641, 10, 25590);
12856
+ add_location(div1, file$1, 647, 10, 25839);
12858
12857
  },
12859
12858
  m: function mount(target, anchor) {
12860
12859
  insert_dev(target, div1, anchor);
@@ -12917,14 +12916,14 @@
12917
12916
  block,
12918
12917
  id: create_if_block_4$1.name,
12919
12918
  type: "if",
12920
- source: "(641:68) ",
12919
+ source: "(647:68) ",
12921
12920
  ctx
12922
12921
  });
12923
12922
 
12924
12923
  return block;
12925
12924
  }
12926
12925
 
12927
- // (620:8) {#if isopen && displaytype && displaytype === BLACKJACK}
12926
+ // (626:8) {#if isopen && displaytype && displaytype === BLACKJACK}
12928
12927
  function create_if_block_2$1(ctx) {
12929
12928
  let div1;
12930
12929
  let div0;
@@ -12954,12 +12953,12 @@
12954
12953
  html_tag_1 = new HtmlTag(false);
12955
12954
  attr_dev(div0, "class", "LiveIcons");
12956
12955
  attr_dev(div0, "part", "LiveIcons");
12957
- add_location(div0, file$1, 621, 12, 24158);
12956
+ add_location(div0, file$1, 627, 12, 24407);
12958
12957
  html_tag.a = t1;
12959
12958
  html_tag_1.a = null;
12960
12959
  attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
12961
12960
  attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
12962
- add_location(div1, file$1, 620, 10, 24053);
12961
+ add_location(div1, file$1, 626, 10, 24302);
12963
12962
  },
12964
12963
  m: function mount(target, anchor) {
12965
12964
  insert_dev(target, div1, anchor);
@@ -12996,14 +12995,14 @@
12996
12995
  block,
12997
12996
  id: create_if_block_2$1.name,
12998
12997
  type: "if",
12999
- source: "(620:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
12998
+ source: "(626:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
13000
12999
  ctx
13001
13000
  });
13002
13001
 
13003
13002
  return block;
13004
13003
  }
13005
13004
 
13006
- // (645:16) {#if roulleteresults && roulleteresults[i]}
13005
+ // (651:16) {#if roulleteresults && roulleteresults[i]}
13007
13006
  function create_if_block_5$1(ctx) {
13008
13007
  let if_block_anchor;
13009
13008
 
@@ -13047,14 +13046,14 @@
13047
13046
  block,
13048
13047
  id: create_if_block_5$1.name,
13049
13048
  type: "if",
13050
- source: "(645:16) {#if roulleteresults && roulleteresults[i]}",
13049
+ source: "(651:16) {#if roulleteresults && roulleteresults[i]}",
13051
13050
  ctx
13052
13051
  });
13053
13052
 
13054
13053
  return block;
13055
13054
  }
13056
13055
 
13057
- // (651:18) {:else}
13056
+ // (657:18) {:else}
13058
13057
  function create_else_block_1(ctx) {
13059
13058
  let html_tag;
13060
13059
  let raw_value = /*renderSpan*/ ctx[47](`LatestResult ${/*i*/ ctx[111] === 0 ? 'First' : ''}`, /*i*/ ctx[111], /*roulleteresults*/ ctx[13][/*i*/ ctx[111]], /*colorsourcearray*/ ctx[32][/*roulleteresults*/ ctx[13][/*i*/ ctx[111]]]) + "";
@@ -13083,14 +13082,14 @@
13083
13082
  block,
13084
13083
  id: create_else_block_1.name,
13085
13084
  type: "else",
13086
- source: "(651:18) {:else}",
13085
+ source: "(657:18) {:else}",
13087
13086
  ctx
13088
13087
  });
13089
13088
 
13090
13089
  return block;
13091
13090
  }
13092
13091
 
13093
- // (646:18) {#if isdouble}
13092
+ // (652:18) {#if isdouble}
13094
13093
  function create_if_block_6(ctx) {
13095
13094
  let div;
13096
13095
  let html_tag;
@@ -13111,7 +13110,7 @@
13111
13110
  html_tag_1.a = t1;
13112
13111
  attr_dev(div, "class", "Double");
13113
13112
  attr_dev(div, "part", "Double");
13114
- add_location(div, file$1, 646, 20, 25932);
13113
+ add_location(div, file$1, 652, 20, 26181);
13115
13114
  },
13116
13115
  m: function mount(target, anchor) {
13117
13116
  insert_dev(target, div, anchor);
@@ -13133,14 +13132,14 @@
13133
13132
  block,
13134
13133
  id: create_if_block_6.name,
13135
13134
  type: "if",
13136
- source: "(646:18) {#if isdouble}",
13135
+ source: "(652:18) {#if isdouble}",
13137
13136
  ctx
13138
13137
  });
13139
13138
 
13140
13139
  return block;
13141
13140
  }
13142
13141
 
13143
- // (644:14) {#each new Array(numberofdisplayedresults) as garbage, i}
13142
+ // (650:14) {#each new Array(numberofdisplayedresults) as garbage, i}
13144
13143
  function create_each_block_1(ctx) {
13145
13144
  let if_block_anchor;
13146
13145
  let if_block = /*roulleteresults*/ ctx[13] && /*roulleteresults*/ ctx[13][/*i*/ ctx[111]] && create_if_block_5$1(ctx);
@@ -13178,14 +13177,14 @@
13178
13177
  block,
13179
13178
  id: create_each_block_1.name,
13180
13179
  type: "each",
13181
- source: "(644:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
13180
+ source: "(650:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
13182
13181
  ctx
13183
13182
  });
13184
13183
 
13185
13184
  return block;
13186
13185
  }
13187
13186
 
13188
- // (627:14) {:else}
13187
+ // (633:14) {:else}
13189
13188
  function create_else_block$1(ctx) {
13190
13189
  let each_1_anchor;
13191
13190
  let each_value = /*seats*/ ctx[25];
@@ -13246,14 +13245,14 @@
13246
13245
  block,
13247
13246
  id: create_else_block$1.name,
13248
13247
  type: "else",
13249
- source: "(627:14) {:else}",
13248
+ source: "(633:14) {:else}",
13250
13249
  ctx
13251
13250
  });
13252
13251
 
13253
13252
  return block;
13254
13253
  }
13255
13254
 
13256
- // (623:14) {#if istablefull}
13255
+ // (629:14) {#if istablefull}
13257
13256
  function create_if_block_3$1(ctx) {
13258
13257
  let span;
13259
13258
  let t_value = /*$_*/ ctx[36]('gameThumbnail.full') + "";
@@ -13265,7 +13264,7 @@
13265
13264
  t = text(t_value);
13266
13265
  attr_dev(span, "class", "FullTable");
13267
13266
  attr_dev(span, "part", "FullTable");
13268
- add_location(span, file$1, 623, 16, 24247);
13267
+ add_location(span, file$1, 629, 16, 24496);
13269
13268
  },
13270
13269
  m: function mount(target, anchor) {
13271
13270
  insert_dev(target, span, anchor);
@@ -13283,14 +13282,14 @@
13283
13282
  block,
13284
13283
  id: create_if_block_3$1.name,
13285
13284
  type: "if",
13286
- source: "(623:14) {#if istablefull}",
13285
+ source: "(629:14) {#if istablefull}",
13287
13286
  ctx
13288
13287
  });
13289
13288
 
13290
13289
  return block;
13291
13290
  }
13292
13291
 
13293
- // (628:16) {#each seats as seatData}
13292
+ // (634:16) {#each seats as seatData}
13294
13293
  function create_each_block$1(ctx) {
13295
13294
  let span;
13296
13295
  let svg;
@@ -13308,14 +13307,14 @@
13308
13307
  path1 = svg_element("path");
13309
13308
  t = space();
13310
13309
  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");
13311
- add_location(path0, file$1, 630, 22, 24748);
13310
+ add_location(path0, file$1, 636, 22, 24997);
13312
13311
  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");
13313
- add_location(path1, file$1, 631, 22, 25124);
13312
+ add_location(path1, file$1, 637, 22, 25373);
13314
13313
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
13315
13314
  attr_dev(svg, "width", "13");
13316
13315
  attr_dev(svg, "height", "14");
13317
13316
  attr_dev(svg, "viewBox", "0 0 13 14");
13318
- add_location(svg, file$1, 629, 20, 24642);
13317
+ add_location(svg, file$1, 635, 20, 24891);
13319
13318
 
13320
13319
  attr_dev(span, "class", span_class_value = /*contains*/ ctx[44](/*currentoccupiedseats*/ ctx[29], /*seatData*/ ctx[106].toString())
13321
13320
  ? 'ClosedSeat'
@@ -13325,7 +13324,7 @@
13325
13324
  ? 'ClosedSeat'
13326
13325
  : 'OpenSeat');
13327
13326
 
13328
- add_location(span, file$1, 628, 18, 24440);
13327
+ add_location(span, file$1, 634, 18, 24689);
13329
13328
  },
13330
13329
  m: function mount(target, anchor) {
13331
13330
  insert_dev(target, span, anchor);
@@ -13356,14 +13355,14 @@
13356
13355
  block,
13357
13356
  id: create_each_block$1.name,
13358
13357
  type: "each",
13359
- source: "(628:16) {#each seats as seatData}",
13358
+ source: "(634:16) {#each seats as seatData}",
13360
13359
  ctx
13361
13360
  });
13362
13361
 
13363
13362
  return block;
13364
13363
  }
13365
13364
 
13366
- // (664:2) {#if showgamename}
13365
+ // (670:2) {#if showgamename}
13367
13366
  function create_if_block$1(ctx) {
13368
13367
  let p;
13369
13368
  let t;
@@ -13375,7 +13374,7 @@
13375
13374
  attr_dev(p, "class", "GameNameBelow");
13376
13375
  attr_dev(p, "part", "GameNameBelow");
13377
13376
  attr_dev(p, "title", /*gamename*/ ctx[4]);
13378
- add_location(p, file$1, 664, 4, 26817);
13377
+ add_location(p, file$1, 670, 4, 27066);
13379
13378
  },
13380
13379
  m: function mount(target, anchor) {
13381
13380
  insert_dev(target, p, anchor);
@@ -13397,7 +13396,7 @@
13397
13396
  block,
13398
13397
  id: create_if_block$1.name,
13399
13398
  type: "if",
13400
- source: "(664:2) {#if showgamename}",
13399
+ source: "(670:2) {#if showgamename}",
13401
13400
  ctx
13402
13401
  });
13403
13402
 
@@ -13425,12 +13424,11 @@
13425
13424
  let t5_value = (/*gamevendor*/ ctx[5] ? /*gamevendor*/ ctx[5] : '-') + "";
13426
13425
  let t5;
13427
13426
  let t6;
13427
+ let show_if;
13428
13428
  let show_if_1;
13429
- let show_if_2;
13430
13429
  let t7;
13431
13430
  let div2;
13432
13431
  let t8;
13433
- let show_if = parseInt(/*gamepopularity*/ ctx[8]) > 0;
13434
13432
  let t9;
13435
13433
  let div3_class_value;
13436
13434
  let div3_part_value;
@@ -13443,18 +13441,18 @@
13443
13441
  let if_block1 = /*lang*/ ctx[1] && create_if_block_12(ctx);
13444
13442
 
13445
13443
  function select_block_type(ctx, dirty) {
13444
+ if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 32773) show_if = null;
13446
13445
  if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 32773) show_if_1 = null;
13447
- if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 32773) show_if_2 = null;
13448
- if (show_if_1 == null) show_if_1 = !!(!isMobile(/*userAgent*/ ctx[37]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15] && /*favorites*/ ctx[2]);
13449
- if (show_if_1) return create_if_block_10;
13450
- if (show_if_2 == null) show_if_2 = !!(isMobile(/*userAgent*/ ctx[37]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15] && /*favorites*/ ctx[2]);
13451
- if (show_if_2) return create_if_block_11;
13446
+ if (show_if == null) show_if = !!(!isMobile(/*userAgent*/ ctx[37]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15] && /*favorites*/ ctx[2]);
13447
+ if (show_if) return create_if_block_10;
13448
+ if (show_if_1 == null) show_if_1 = !!(isMobile(/*userAgent*/ ctx[37]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15] && /*favorites*/ ctx[2]);
13449
+ if (show_if_1) return create_if_block_11;
13452
13450
  }
13453
13451
 
13454
13452
  let current_block_type = select_block_type(ctx, [-1, -1, -1, -1]);
13455
13453
  let if_block2 = current_block_type && current_block_type(ctx);
13456
13454
  let if_block3 = /*gameisnew*/ ctx[7] && create_if_block_9(ctx);
13457
- let if_block4 = show_if && create_if_block_8(ctx);
13455
+ let if_block4 = /*gametag*/ ctx[8] && create_if_block_8(ctx);
13458
13456
  let if_block5 = /*livegamedata*/ ctx[12] && create_if_block_1$1(ctx);
13459
13457
  let if_block6 = /*showgamename*/ ctx[10] && create_if_block$1(ctx);
13460
13458
 
@@ -13492,23 +13490,23 @@
13492
13490
  attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[17] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[18] ? 'Loaded' : ''));
13493
13491
  attr_dev(img, "alt", "");
13494
13492
  attr_dev(img, "loading", "lazy");
13495
- add_location(img, file$1, 558, 4, 19141);
13493
+ add_location(img, file$1, 564, 4, 19429);
13496
13494
  attr_dev(p, "class", "GameInfoName");
13497
13495
  attr_dev(p, "part", "GameInfoName");
13498
13496
  attr_dev(p, "title", /*gamename*/ ctx[4]);
13499
- add_location(p, file$1, 577, 8, 21174);
13497
+ add_location(p, file$1, 583, 8, 21462);
13500
13498
  attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[17] ? 'GameHovered' : ''));
13501
13499
  attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[17] ? 'GameHovered' : ''));
13502
- add_location(div0, file$1, 560, 6, 19454);
13500
+ add_location(div0, file$1, 566, 6, 19742);
13503
13501
  attr_dev(span, "class", "GameInfoVendor");
13504
13502
  attr_dev(span, "part", "GameInfoVendor");
13505
- add_location(span, file$1, 582, 6, 21441);
13503
+ add_location(span, file$1, 588, 6, 21729);
13506
13504
  attr_dev(div1, "class", "GameInfoWrapper");
13507
13505
  attr_dev(div1, "part", "GameInfoWrapper");
13508
- add_location(div1, file$1, 559, 4, 19395);
13506
+ add_location(div1, file$1, 565, 4, 19683);
13509
13507
  attr_dev(div2, "class", "GameExtraInfo");
13510
13508
  attr_dev(div2, "part", "GameExtraInfo");
13511
- add_location(div2, file$1, 599, 4, 23077);
13509
+ add_location(div2, file$1, 605, 4, 23365);
13512
13510
 
13513
13511
  attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[12] && !/*isopen*/ ctx[23] && /*openhours*/ ctx[24].value || /*livegamedata*/ ctx[12] && /*istablefull*/ ctx[33]
13514
13512
  ? 'GameInnerContainerUnavailable'
@@ -13518,10 +13516,10 @@
13518
13516
  ? 'GameInnerContainerUnavailable'
13519
13517
  : ''));
13520
13518
 
13521
- add_location(div3, file$1, 557, 2, 18753);
13519
+ add_location(div3, file$1, 563, 2, 19041);
13522
13520
  attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[34]}`);
13523
13521
  attr_dev(div4, "part", div4_part_value = `GameContainer ${/*extraclassname*/ ctx[34]}`);
13524
- add_location(div4, file$1, 556, 0, 18627);
13522
+ add_location(div4, file$1, 562, 0, 18915);
13525
13523
  },
13526
13524
  l: function claim(nodes) {
13527
13525
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -13647,9 +13645,7 @@
13647
13645
  if_block3 = null;
13648
13646
  }
13649
13647
 
13650
- if (dirty[0] & /*gamepopularity*/ 256) show_if = parseInt(/*gamepopularity*/ ctx[8]) > 0;
13651
-
13652
- if (show_if) {
13648
+ if (/*gametag*/ ctx[8]) {
13653
13649
  if (if_block4) {
13654
13650
  if_block4.p(ctx, dirty);
13655
13651
  } else {
@@ -13759,14 +13755,14 @@
13759
13755
  let { lang = 'en' } = $$props;
13760
13756
  let { clientstyling = '' } = $$props;
13761
13757
  let { clientstylingurl = '' } = $$props;
13762
- let { translationUrl = '' } = $$props;
13758
+ let { translationurl = '' } = $$props;
13763
13759
  let { favorites = '' } = $$props;
13764
13760
  let { gamethumbnail = '' } = $$props;
13765
13761
  let { gamename = '' } = $$props;
13766
13762
  let { gamevendor = '' } = $$props;
13767
13763
  let { gameid = '' } = $$props;
13768
13764
  let { gameisnew = '' } = $$props;
13769
- let { gamepopularity = '' } = $$props;
13765
+ let { gametag = '' } = $$props;
13770
13766
  let { gamefunmode = false } = $$props;
13771
13767
  let { searchitem = false } = $$props;
13772
13768
  let { gamefavorite = false } = $$props;
@@ -13873,7 +13869,7 @@
13873
13869
  };
13874
13870
 
13875
13871
  const setTranslationUrl = () => {
13876
- let url = translationUrl;
13872
+ let url = translationurl;
13877
13873
 
13878
13874
  fetch(url).then(res => res.json()).then(res => {
13879
13875
  Object.keys(res).forEach(item => {
@@ -14146,16 +14142,21 @@
14146
14142
  } // default case
14147
14143
  };
14148
14144
 
14145
+ //Revert manually, commented changes are the current ones, will undo after deploy
14149
14146
  const setLiveLobbyData = () => {
14150
14147
  let url = new URL(`${livelobbyendpoint.split('?')[0]}`);
14151
14148
  url.searchParams.append("platform", getDevice(userAgent));
14152
14149
  url.searchParams.append('language', lang);
14153
14150
 
14151
+ // let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
14154
14152
  fetch(url).then(res => res.json()).then(data => {
14155
14153
  const { details } = data[0];
14156
14154
  $$invalidate(12, livegamedata = details);
14157
14155
  });
14158
- };
14156
+ }; // .then(res => res.json())
14157
+ // .then(data => {
14158
+ // livegamedata = data.items.find(gameDetails => gameDetails.id == gameid);
14159
+ // });
14159
14160
 
14160
14161
  const numberWithSeparators = (value, sep = DEFAULT_AMOUNT_SEPARATOR) => {
14161
14162
  if (value !== undefined && value !== null) {
@@ -14413,14 +14414,14 @@
14413
14414
  'lang',
14414
14415
  'clientstyling',
14415
14416
  'clientstylingurl',
14416
- 'translationUrl',
14417
+ 'translationurl',
14417
14418
  'favorites',
14418
14419
  'gamethumbnail',
14419
14420
  'gamename',
14420
14421
  'gamevendor',
14421
14422
  'gameid',
14422
14423
  'gameisnew',
14423
- 'gamepopularity',
14424
+ 'gametag',
14424
14425
  'gamefunmode',
14425
14426
  'searchitem',
14426
14427
  'gamefavorite',
@@ -14472,14 +14473,14 @@
14472
14473
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
14473
14474
  if ('clientstyling' in $$props) $$invalidate(50, clientstyling = $$props.clientstyling);
14474
14475
  if ('clientstylingurl' in $$props) $$invalidate(51, clientstylingurl = $$props.clientstylingurl);
14475
- if ('translationUrl' in $$props) $$invalidate(52, translationUrl = $$props.translationUrl);
14476
+ if ('translationurl' in $$props) $$invalidate(52, translationurl = $$props.translationurl);
14476
14477
  if ('favorites' in $$props) $$invalidate(2, favorites = $$props.favorites);
14477
14478
  if ('gamethumbnail' in $$props) $$invalidate(3, gamethumbnail = $$props.gamethumbnail);
14478
14479
  if ('gamename' in $$props) $$invalidate(4, gamename = $$props.gamename);
14479
14480
  if ('gamevendor' in $$props) $$invalidate(5, gamevendor = $$props.gamevendor);
14480
14481
  if ('gameid' in $$props) $$invalidate(6, gameid = $$props.gameid);
14481
14482
  if ('gameisnew' in $$props) $$invalidate(7, gameisnew = $$props.gameisnew);
14482
- if ('gamepopularity' in $$props) $$invalidate(8, gamepopularity = $$props.gamepopularity);
14483
+ if ('gametag' in $$props) $$invalidate(8, gametag = $$props.gametag);
14483
14484
  if ('gamefunmode' in $$props) $$invalidate(53, gamefunmode = $$props.gamefunmode);
14484
14485
  if ('searchitem' in $$props) $$invalidate(54, searchitem = $$props.searchitem);
14485
14486
  if ('gamefavorite' in $$props) $$invalidate(0, gamefavorite = $$props.gamefavorite);
@@ -14512,14 +14513,14 @@
14512
14513
  lang,
14513
14514
  clientstyling,
14514
14515
  clientstylingurl,
14515
- translationUrl,
14516
+ translationurl,
14516
14517
  favorites,
14517
14518
  gamethumbnail,
14518
14519
  gamename,
14519
14520
  gamevendor,
14520
14521
  gameid,
14521
14522
  gameisnew,
14522
- gamepopularity,
14523
+ gametag,
14523
14524
  gamefunmode,
14524
14525
  searchitem,
14525
14526
  gamefavorite,
@@ -14621,14 +14622,14 @@
14621
14622
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
14622
14623
  if ('clientstyling' in $$props) $$invalidate(50, clientstyling = $$props.clientstyling);
14623
14624
  if ('clientstylingurl' in $$props) $$invalidate(51, clientstylingurl = $$props.clientstylingurl);
14624
- if ('translationUrl' in $$props) $$invalidate(52, translationUrl = $$props.translationUrl);
14625
+ if ('translationurl' in $$props) $$invalidate(52, translationurl = $$props.translationurl);
14625
14626
  if ('favorites' in $$props) $$invalidate(2, favorites = $$props.favorites);
14626
14627
  if ('gamethumbnail' in $$props) $$invalidate(3, gamethumbnail = $$props.gamethumbnail);
14627
14628
  if ('gamename' in $$props) $$invalidate(4, gamename = $$props.gamename);
14628
14629
  if ('gamevendor' in $$props) $$invalidate(5, gamevendor = $$props.gamevendor);
14629
14630
  if ('gameid' in $$props) $$invalidate(6, gameid = $$props.gameid);
14630
14631
  if ('gameisnew' in $$props) $$invalidate(7, gameisnew = $$props.gameisnew);
14631
- if ('gamepopularity' in $$props) $$invalidate(8, gamepopularity = $$props.gamepopularity);
14632
+ if ('gametag' in $$props) $$invalidate(8, gametag = $$props.gametag);
14632
14633
  if ('gamefunmode' in $$props) $$invalidate(53, gamefunmode = $$props.gamefunmode);
14633
14634
  if ('searchitem' in $$props) $$invalidate(54, searchitem = $$props.searchitem);
14634
14635
  if ('gamefavorite' in $$props) $$invalidate(0, gamefavorite = $$props.gamefavorite);
@@ -14718,8 +14719,8 @@
14718
14719
  favorites && setFavorites();
14719
14720
  }
14720
14721
 
14721
- if ($$self.$$.dirty[1] & /*translationUrl*/ 2097152) {
14722
- translationUrl && setTranslationUrl();
14722
+ if ($$self.$$.dirty[1] & /*translationurl*/ 2097152) {
14723
+ translationurl && setTranslationUrl();
14723
14724
  }
14724
14725
 
14725
14726
  if ($$self.$$.dirty[0] & /*gamecellsize*/ 512 | $$self.$$.dirty[1] & /*clientstylingurl*/ 1048576) {
@@ -14748,7 +14749,7 @@
14748
14749
  gamevendor,
14749
14750
  gameid,
14750
14751
  gameisnew,
14751
- gamepopularity,
14752
+ gametag,
14752
14753
  gamecellsize,
14753
14754
  showgamename,
14754
14755
  customStylingContainer,
@@ -14792,7 +14793,7 @@
14792
14793
  userid,
14793
14794
  clientstyling,
14794
14795
  clientstylingurl,
14795
- translationUrl,
14796
+ translationurl,
14796
14797
  gamefunmode,
14797
14798
  searchitem,
14798
14799
  showfavoredcategory,
@@ -14836,14 +14837,14 @@
14836
14837
  lang: 1,
14837
14838
  clientstyling: 50,
14838
14839
  clientstylingurl: 51,
14839
- translationUrl: 52,
14840
+ translationurl: 52,
14840
14841
  favorites: 2,
14841
14842
  gamethumbnail: 3,
14842
14843
  gamename: 4,
14843
14844
  gamevendor: 5,
14844
14845
  gameid: 6,
14845
14846
  gameisnew: 7,
14846
- gamepopularity: 8,
14847
+ gametag: 8,
14847
14848
  gamefunmode: 53,
14848
14849
  searchitem: 54,
14849
14850
  gamefavorite: 0,
@@ -14884,14 +14885,14 @@
14884
14885
  "lang",
14885
14886
  "clientstyling",
14886
14887
  "clientstylingurl",
14887
- "translationUrl",
14888
+ "translationurl",
14888
14889
  "favorites",
14889
14890
  "gamethumbnail",
14890
14891
  "gamename",
14891
14892
  "gamevendor",
14892
14893
  "gameid",
14893
14894
  "gameisnew",
14894
- "gamepopularity",
14895
+ "gametag",
14895
14896
  "gamefunmode",
14896
14897
  "searchitem",
14897
14898
  "gamefavorite",
@@ -14956,12 +14957,12 @@
14956
14957
  flush();
14957
14958
  }
14958
14959
 
14959
- get translationUrl() {
14960
+ get translationurl() {
14960
14961
  return this.$$.ctx[52];
14961
14962
  }
14962
14963
 
14963
- set translationUrl(translationUrl) {
14964
- this.$$set({ translationUrl });
14964
+ set translationurl(translationurl) {
14965
+ this.$$set({ translationurl });
14965
14966
  flush();
14966
14967
  }
14967
14968
 
@@ -15019,12 +15020,12 @@
15019
15020
  flush();
15020
15021
  }
15021
15022
 
15022
- get gamepopularity() {
15023
+ get gametag() {
15023
15024
  return this.$$.ctx[8];
15024
15025
  }
15025
15026
 
15026
- set gamepopularity(gamepopularity) {
15027
- this.$$set({ gamepopularity });
15027
+ set gametag(gametag) {
15028
+ this.$$set({ gametag });
15028
15029
  flush();
15029
15030
  }
15030
15031
 
@@ -15180,11 +15181,11 @@
15180
15181
 
15181
15182
  function get_each_context(ctx, list, i) {
15182
15183
  const child_ctx = ctx.slice();
15183
- child_ctx[44] = list[i];
15184
+ child_ctx[49] = list[i];
15184
15185
  return child_ctx;
15185
15186
  }
15186
15187
 
15187
- // (266:4) {:else}
15188
+ // (296:4) {:else}
15188
15189
  function create_else_block(ctx) {
15189
15190
  let t0;
15190
15191
  let div;
@@ -15192,14 +15193,14 @@
15192
15193
  let div_class_value;
15193
15194
 
15194
15195
  function select_block_type_1(ctx, dirty) {
15195
- if (/*searchActive*/ ctx[12] == true && /*searchValue*/ ctx[7].length < 2) return create_if_block_3;
15196
- if (/*searchArray*/ ctx[10].length != 0) return create_if_block_5;
15196
+ if (/*searchActive*/ ctx[13] == true && /*searchValue*/ ctx[8].length < 2) return create_if_block_3;
15197
+ if (/*searchArray*/ ctx[11].length != 0) return create_if_block_5;
15197
15198
  }
15198
15199
 
15199
15200
  let current_block_type = select_block_type_1(ctx);
15200
15201
  let if_block0 = current_block_type && current_block_type(ctx);
15201
- let if_block1 = /*searchCancelled*/ ctx[8] === false && create_if_block_2(ctx);
15202
- let if_block2 = /*searchValue*/ ctx[7].length >= 2 && /*searchArray*/ ctx[10].length == 0 && create_if_block_1(ctx);
15202
+ let if_block1 = /*searchCancelled*/ ctx[9] === false && create_if_block_2(ctx);
15203
+ let if_block2 = /*searchValue*/ ctx[8].length >= 2 && /*searchArray*/ ctx[11].length == 0 && create_if_block_1(ctx);
15203
15204
 
15204
15205
  const block = {
15205
15206
  c: function create() {
@@ -15209,8 +15210,8 @@
15209
15210
  if (if_block1) if_block1.c();
15210
15211
  t1 = space();
15211
15212
  if (if_block2) if_block2.c();
15212
- attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[12] == true ? '' : 'NotVisible'));
15213
- add_location(div, file, 276, 6, 9500);
15213
+ attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'));
15214
+ add_location(div, file, 306, 6, 10555);
15214
15215
  },
15215
15216
  m: function mount(target, anchor) {
15216
15217
  if (if_block0) if_block0.m(target, anchor);
@@ -15233,7 +15234,7 @@
15233
15234
  }
15234
15235
  }
15235
15236
 
15236
- if (/*searchCancelled*/ ctx[8] === false) {
15237
+ if (/*searchCancelled*/ ctx[9] === false) {
15237
15238
  if (if_block1) {
15238
15239
  if_block1.p(ctx, dirty);
15239
15240
  } else {
@@ -15246,7 +15247,7 @@
15246
15247
  if_block1 = null;
15247
15248
  }
15248
15249
 
15249
- if (/*searchValue*/ ctx[7].length >= 2 && /*searchArray*/ ctx[10].length == 0) {
15250
+ if (/*searchValue*/ ctx[8].length >= 2 && /*searchArray*/ ctx[11].length == 0) {
15250
15251
  if (if_block2) {
15251
15252
  if_block2.p(ctx, dirty);
15252
15253
  } else {
@@ -15259,7 +15260,7 @@
15259
15260
  if_block2 = null;
15260
15261
  }
15261
15262
 
15262
- if (dirty[0] & /*searchActive*/ 4096 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[12] == true ? '' : 'NotVisible'))) {
15263
+ if (dirty[0] & /*searchActive*/ 8192 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'))) {
15263
15264
  attr_dev(div, "class", div_class_value);
15264
15265
  }
15265
15266
  },
@@ -15279,31 +15280,31 @@
15279
15280
  block,
15280
15281
  id: create_else_block.name,
15281
15282
  type: "else",
15282
- source: "(266:4) {:else}",
15283
+ source: "(296:4) {:else}",
15283
15284
  ctx
15284
15285
  });
15285
15286
 
15286
15287
  return block;
15287
15288
  }
15288
15289
 
15289
- // (264:4) {#if isLoading}
15290
+ // (294:4) {#if isLoading}
15290
15291
  function create_if_block(ctx) {
15291
15292
  let p;
15292
- let t_value = /*$_*/ ctx[14]('Translations.loading') + "";
15293
+ let t_value = /*$_*/ ctx[17]('Translations.loading') + "";
15293
15294
  let t;
15294
15295
 
15295
15296
  const block = {
15296
15297
  c: function create() {
15297
15298
  p = element("p");
15298
15299
  t = text(t_value);
15299
- add_location(p, file, 264, 6, 8992);
15300
+ add_location(p, file, 294, 6, 10047);
15300
15301
  },
15301
15302
  m: function mount(target, anchor) {
15302
15303
  insert_dev(target, p, anchor);
15303
15304
  append_dev(p, t);
15304
15305
  },
15305
15306
  p: function update(ctx, dirty) {
15306
- if (dirty[0] & /*$_*/ 16384 && t_value !== (t_value = /*$_*/ ctx[14]('Translations.loading') + "")) set_data_dev(t, t_value);
15307
+ if (dirty[0] & /*$_*/ 131072 && t_value !== (t_value = /*$_*/ ctx[17]('Translations.loading') + "")) set_data_dev(t, t_value);
15307
15308
  },
15308
15309
  d: function destroy(detaching) {
15309
15310
  if (detaching) detach_dev(p);
@@ -15314,17 +15315,17 @@
15314
15315
  block,
15315
15316
  id: create_if_block.name,
15316
15317
  type: "if",
15317
- source: "(264:4) {#if isLoading}",
15318
+ source: "(294:4) {#if isLoading}",
15318
15319
  ctx
15319
15320
  });
15320
15321
 
15321
15322
  return block;
15322
15323
  }
15323
15324
 
15324
- // (274:40)
15325
+ // (304:40)
15325
15326
  function create_if_block_5(ctx) {
15326
15327
  let p;
15327
- let t_value = /*$_*/ ctx[14]('Translations.searchResult') + "";
15328
+ let t_value = /*$_*/ ctx[17]('Translations.searchResult') + "";
15328
15329
  let t;
15329
15330
 
15330
15331
  const block = {
@@ -15332,14 +15333,14 @@
15332
15333
  p = element("p");
15333
15334
  t = text(t_value);
15334
15335
  attr_dev(p, "class", "SearchMessage");
15335
- add_location(p, file, 274, 8, 9418);
15336
+ add_location(p, file, 304, 8, 10473);
15336
15337
  },
15337
15338
  m: function mount(target, anchor) {
15338
15339
  insert_dev(target, p, anchor);
15339
15340
  append_dev(p, t);
15340
15341
  },
15341
15342
  p: function update(ctx, dirty) {
15342
- if (dirty[0] & /*$_*/ 16384 && t_value !== (t_value = /*$_*/ ctx[14]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15343
+ if (dirty[0] & /*$_*/ 131072 && t_value !== (t_value = /*$_*/ ctx[17]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15343
15344
  },
15344
15345
  d: function destroy(detaching) {
15345
15346
  if (detaching) detach_dev(p);
@@ -15350,21 +15351,21 @@
15350
15351
  block,
15351
15352
  id: create_if_block_5.name,
15352
15353
  type: "if",
15353
- source: "(274:40) ",
15354
+ source: "(304:40) ",
15354
15355
  ctx
15355
15356
  });
15356
15357
 
15357
15358
  return block;
15358
15359
  }
15359
15360
 
15360
- // (267:6) {#if searchActive == true && searchValue.length < 2}
15361
+ // (297:6) {#if searchActive == true && searchValue.length < 2}
15361
15362
  function create_if_block_3(ctx) {
15362
15363
  let p;
15363
- let t0_value = /*$_*/ ctx[14]('Translations.recentSearch') + "";
15364
+ let t0_value = /*$_*/ ctx[17]('Translations.recentSearch') + "";
15364
15365
  let t0;
15365
15366
  let t1;
15366
15367
  let if_block_anchor;
15367
- let if_block = /*searchArray*/ ctx[10].length == 0 && create_if_block_4(ctx);
15368
+ let if_block = /*searchArray*/ ctx[11].length == 0 && create_if_block_4(ctx);
15368
15369
 
15369
15370
  const block = {
15370
15371
  c: function create() {
@@ -15374,7 +15375,7 @@
15374
15375
  if (if_block) if_block.c();
15375
15376
  if_block_anchor = empty();
15376
15377
  attr_dev(p, "class", "SearchMessage");
15377
- add_location(p, file, 267, 8, 9107);
15378
+ add_location(p, file, 297, 8, 10162);
15378
15379
  },
15379
15380
  m: function mount(target, anchor) {
15380
15381
  insert_dev(target, p, anchor);
@@ -15384,9 +15385,9 @@
15384
15385
  insert_dev(target, if_block_anchor, anchor);
15385
15386
  },
15386
15387
  p: function update(ctx, dirty) {
15387
- if (dirty[0] & /*$_*/ 16384 && t0_value !== (t0_value = /*$_*/ ctx[14]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15388
+ if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15388
15389
 
15389
- if (/*searchArray*/ ctx[10].length == 0) {
15390
+ if (/*searchArray*/ ctx[11].length == 0) {
15390
15391
  if (if_block) {
15391
15392
  if_block.p(ctx, dirty);
15392
15393
  } else {
@@ -15411,18 +15412,18 @@
15411
15412
  block,
15412
15413
  id: create_if_block_3.name,
15413
15414
  type: "if",
15414
- source: "(267:6) {#if searchActive == true && searchValue.length < 2}",
15415
+ source: "(297:6) {#if searchActive == true && searchValue.length < 2}",
15415
15416
  ctx
15416
15417
  });
15417
15418
 
15418
15419
  return block;
15419
15420
  }
15420
15421
 
15421
- // (269:10) {#if searchArray.length == 0}
15422
+ // (299:10) {#if searchArray.length == 0}
15422
15423
  function create_if_block_4(ctx) {
15423
15424
  let div;
15424
15425
  let p;
15425
- let t_value = /*$_*/ ctx[14]('Translations.noRecentSearches') + "";
15426
+ let t_value = /*$_*/ ctx[17]('Translations.noRecentSearches') + "";
15426
15427
  let t;
15427
15428
 
15428
15429
  const block = {
@@ -15431,9 +15432,9 @@
15431
15432
  p = element("p");
15432
15433
  t = text(t_value);
15433
15434
  attr_dev(p, "class", "SearchMessage");
15434
- add_location(p, file, 270, 12, 9268);
15435
+ add_location(p, file, 300, 12, 10323);
15435
15436
  attr_dev(div, "class", "ResultsContainerError");
15436
- add_location(div, file, 269, 10, 9220);
15437
+ add_location(div, file, 299, 10, 10275);
15437
15438
  },
15438
15439
  m: function mount(target, anchor) {
15439
15440
  insert_dev(target, div, anchor);
@@ -15441,7 +15442,7 @@
15441
15442
  append_dev(p, t);
15442
15443
  },
15443
15444
  p: function update(ctx, dirty) {
15444
- if (dirty[0] & /*$_*/ 16384 && t_value !== (t_value = /*$_*/ ctx[14]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15445
+ if (dirty[0] & /*$_*/ 131072 && t_value !== (t_value = /*$_*/ ctx[17]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15445
15446
  },
15446
15447
  d: function destroy(detaching) {
15447
15448
  if (detaching) detach_dev(div);
@@ -15452,17 +15453,17 @@
15452
15453
  block,
15453
15454
  id: create_if_block_4.name,
15454
15455
  type: "if",
15455
- source: "(269:10) {#if searchArray.length == 0}",
15456
+ source: "(299:10) {#if searchArray.length == 0}",
15456
15457
  ctx
15457
15458
  });
15458
15459
 
15459
15460
  return block;
15460
15461
  }
15461
15462
 
15462
- // (278:8) {#if searchCancelled === false}
15463
+ // (308:8) {#if searchCancelled === false}
15463
15464
  function create_if_block_2(ctx) {
15464
15465
  let each_1_anchor;
15465
- let each_value = /*searchArray*/ ctx[10];
15466
+ let each_value = /*searchArray*/ ctx[11];
15466
15467
  validate_each_argument(each_value);
15467
15468
  let each_blocks = [];
15468
15469
 
@@ -15486,8 +15487,8 @@
15486
15487
  insert_dev(target, each_1_anchor, anchor);
15487
15488
  },
15488
15489
  p: function update(ctx, dirty) {
15489
- if (dirty[0] & /*endpoint, showfavorites, lang, searchArray, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl*/ 1151) {
15490
- each_value = /*searchArray*/ ctx[10];
15490
+ if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/ 624895) {
15491
+ each_value = /*searchArray*/ ctx[11];
15491
15492
  validate_each_argument(each_value);
15492
15493
  let i;
15493
15494
 
@@ -15520,21 +15521,21 @@
15520
15521
  block,
15521
15522
  id: create_if_block_2.name,
15522
15523
  type: "if",
15523
- source: "(278:8) {#if searchCancelled === false}",
15524
+ source: "(308:8) {#if searchCancelled === false}",
15524
15525
  ctx
15525
15526
  });
15526
15527
 
15527
15528
  return block;
15528
15529
  }
15529
15530
 
15530
- // (279:10) {#each searchArray as game}
15531
+ // (309:10) {#each searchArray as game}
15531
15532
  function create_each_block(ctx) {
15532
15533
  let casino_game_thumbnail;
15533
15534
  let casino_game_thumbnail_gamethumbnail_value;
15534
15535
  let casino_game_thumbnail_gamename_value;
15535
15536
  let casino_game_thumbnail_gamevendor_value;
15536
15537
  let casino_game_thumbnail_gameisnew_value;
15537
- let casino_game_thumbnail_gamepopularity_value;
15538
+ let casino_game_thumbnail_gametag_value;
15538
15539
  let casino_game_thumbnail_gamecellsize_value;
15539
15540
  let casino_game_thumbnail_gameid_value;
15540
15541
  let casino_game_thumbnail_gamefunmode_value;
@@ -15545,27 +15546,30 @@
15545
15546
  c: function create() {
15546
15547
  casino_game_thumbnail = element("casino-game-thumbnail");
15547
15548
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15548
- set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[6]);
15549
+ set_custom_element_data(casino_game_thumbnail, "session", /*sessionID*/ ctx[15]);
15550
+ set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[16]);
15551
+ set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
15549
15552
  set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
15550
- set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[44].thumbnail);
15551
- set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[44].name);
15552
- set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[44].vendor.name);
15553
- set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[44].isNew);
15554
- set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[44].popularity);
15555
- set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[44].cellSize);
15556
- set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[44].id);
15557
- set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[44].hasFunMode);
15558
- set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[44].isFavorite);
15559
-
15560
- set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[44].details
15561
- ? /*game*/ ctx[44].launchUrl
15553
+ set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[49].thumbnail);
15554
+ set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[49].name);
15555
+ set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[49].vendor.name);
15556
+ set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[49].isNew);
15557
+ set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value = /*game*/ ctx[49].advancedTags?.length > 0 && /*addGameTag*/ ctx[19](/*game*/ ctx[49].advancedTags));
15558
+ set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[49].cellSize);
15559
+ set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[49].id);
15560
+ set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[49].hasFunMode);
15561
+ set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[49].isFavorite);
15562
+
15563
+ set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[49].details
15564
+ ? /*game*/ ctx[49].launchUrl
15562
15565
  : '');
15563
15566
 
15564
15567
  set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
15565
15568
  set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
15566
15569
  set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
15567
15570
  set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15568
- add_location(casino_game_thumbnail, file, 279, 12, 9669);
15571
+ set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
15572
+ add_location(casino_game_thumbnail, file, 309, 12, 10724);
15569
15573
  },
15570
15574
  m: function mount(target, anchor) {
15571
15575
  insert_dev(target, casino_game_thumbnail, anchor);
@@ -15575,52 +15579,60 @@
15575
15579
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15576
15580
  }
15577
15581
 
15578
- if (dirty[0] & /*showfavorites*/ 64) {
15579
- set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[6]);
15582
+ if (dirty[0] & /*sessionID*/ 32768) {
15583
+ set_custom_element_data(casino_game_thumbnail, "session", /*sessionID*/ ctx[15]);
15584
+ }
15585
+
15586
+ if (dirty[0] & /*playerID*/ 65536) {
15587
+ set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[16]);
15588
+ }
15589
+
15590
+ if (dirty[0] & /*showfavorites*/ 128) {
15591
+ set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
15580
15592
  }
15581
15593
 
15582
15594
  if (dirty[0] & /*lang*/ 2) {
15583
15595
  set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
15584
15596
  }
15585
15597
 
15586
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[44].thumbnail)) {
15598
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[49].thumbnail)) {
15587
15599
  set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
15588
15600
  }
15589
15601
 
15590
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[44].name)) {
15602
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[49].name)) {
15591
15603
  set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
15592
15604
  }
15593
15605
 
15594
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[44].vendor.name)) {
15606
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[49].vendor.name)) {
15595
15607
  set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
15596
15608
  }
15597
15609
 
15598
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[44].isNew)) {
15610
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[49].isNew)) {
15599
15611
  set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
15600
15612
  }
15601
15613
 
15602
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[44].popularity)) {
15603
- set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
15614
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gametag_value !== (casino_game_thumbnail_gametag_value = /*game*/ ctx[49].advancedTags?.length > 0 && /*addGameTag*/ ctx[19](/*game*/ ctx[49].advancedTags))) {
15615
+ set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value);
15604
15616
  }
15605
15617
 
15606
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[44].cellSize)) {
15618
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[49].cellSize)) {
15607
15619
  set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
15608
15620
  }
15609
15621
 
15610
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[44].id)) {
15622
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[49].id)) {
15611
15623
  set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
15612
15624
  }
15613
15625
 
15614
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[44].hasFunMode)) {
15626
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[49].hasFunMode)) {
15615
15627
  set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
15616
15628
  }
15617
15629
 
15618
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[44].isFavorite)) {
15630
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[49].isFavorite)) {
15619
15631
  set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
15620
15632
  }
15621
15633
 
15622
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[44].details
15623
- ? /*game*/ ctx[44].launchUrl
15634
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[49].details
15635
+ ? /*game*/ ctx[49].launchUrl
15624
15636
  : '')) {
15625
15637
  set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
15626
15638
  }
@@ -15640,6 +15652,10 @@
15640
15652
  if (dirty[0] & /*clientstylingurl*/ 8) {
15641
15653
  set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15642
15654
  }
15655
+
15656
+ if (dirty[0] & /*gamepagemodalurl*/ 64) {
15657
+ set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
15658
+ }
15643
15659
  },
15644
15660
  d: function destroy(detaching) {
15645
15661
  if (detaching) detach_dev(casino_game_thumbnail);
@@ -15650,22 +15666,22 @@
15650
15666
  block,
15651
15667
  id: create_each_block.name,
15652
15668
  type: "each",
15653
- source: "(279:10) {#each searchArray as game}",
15669
+ source: "(309:10) {#each searchArray as game}",
15654
15670
  ctx
15655
15671
  });
15656
15672
 
15657
15673
  return block;
15658
15674
  }
15659
15675
 
15660
- // (301:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15676
+ // (334:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15661
15677
  function create_if_block_1(ctx) {
15662
15678
  let div;
15663
15679
  let p0;
15664
- let t0_value = /*$_*/ ctx[14]('Translations.notFound') + "";
15680
+ let t0_value = /*$_*/ ctx[17]('Translations.notFound') + "";
15665
15681
  let t0;
15666
15682
  let t1;
15667
15683
  let p1;
15668
- let t2_value = /*$_*/ ctx[14]('Translations.notFoundText') + "";
15684
+ let t2_value = /*$_*/ ctx[17]('Translations.notFoundText') + "";
15669
15685
  let t2;
15670
15686
 
15671
15687
  const block = {
@@ -15677,10 +15693,10 @@
15677
15693
  p1 = element("p");
15678
15694
  t2 = text(t2_value);
15679
15695
  attr_dev(p0, "class", "SearchMessage");
15680
- add_location(p0, file, 302, 12, 10575);
15681
- add_location(p1, file, 303, 12, 10646);
15696
+ add_location(p0, file, 335, 12, 11773);
15697
+ add_location(p1, file, 336, 12, 11844);
15682
15698
  attr_dev(div, "class", "ResultsContainerError");
15683
- add_location(div, file, 301, 10, 10527);
15699
+ add_location(div, file, 334, 10, 11725);
15684
15700
  },
15685
15701
  m: function mount(target, anchor) {
15686
15702
  insert_dev(target, div, anchor);
@@ -15691,8 +15707,8 @@
15691
15707
  append_dev(p1, t2);
15692
15708
  },
15693
15709
  p: function update(ctx, dirty) {
15694
- if (dirty[0] & /*$_*/ 16384 && t0_value !== (t0_value = /*$_*/ ctx[14]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15695
- if (dirty[0] & /*$_*/ 16384 && t2_value !== (t2_value = /*$_*/ ctx[14]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15710
+ if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15711
+ if (dirty[0] & /*$_*/ 131072 && t2_value !== (t2_value = /*$_*/ ctx[17]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15696
15712
  },
15697
15713
  d: function destroy(detaching) {
15698
15714
  if (detaching) detach_dev(div);
@@ -15703,7 +15719,7 @@
15703
15719
  block,
15704
15720
  id: create_if_block_1.name,
15705
15721
  type: "if",
15706
- source: "(301:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15722
+ source: "(334:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15707
15723
  ctx
15708
15724
  });
15709
15725
 
@@ -15728,7 +15744,7 @@
15728
15744
  let span_class_value;
15729
15745
  let t2;
15730
15746
  let small;
15731
- let t3_value = /*$_*/ ctx[14]('Translations.cancel') + "";
15747
+ let t3_value = /*$_*/ ctx[17]('Translations.cancel') + "";
15732
15748
  let t3;
15733
15749
  let small_class_value;
15734
15750
  let t4;
@@ -15736,7 +15752,7 @@
15736
15752
  let dispose;
15737
15753
 
15738
15754
  function select_block_type(ctx, dirty) {
15739
- if (/*isLoading*/ ctx[13]) return create_if_block;
15755
+ if (/*isLoading*/ ctx[14]) return create_if_block;
15740
15756
  return create_else_block;
15741
15757
  }
15742
15758
 
@@ -15769,45 +15785,45 @@
15769
15785
  attr_dev(path0, "stroke-linecap", "round");
15770
15786
  attr_dev(path0, "stroke-linejoin", "round");
15771
15787
  attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
15772
- add_location(path0, file, 247, 10, 7963);
15788
+ add_location(path0, file, 277, 10, 9018);
15773
15789
  attr_dev(circle, "cx", "6.5");
15774
15790
  attr_dev(circle, "cy", "6.5");
15775
15791
  attr_dev(circle, "r", "5.75");
15776
15792
  attr_dev(circle, "stroke", "#212121");
15777
15793
  attr_dev(circle, "stroke-width", "1.5");
15778
- add_location(circle, file, 248, 10, 8091);
15794
+ add_location(circle, file, 278, 10, 9146);
15779
15795
  attr_dev(svg0, "width", "14");
15780
15796
  attr_dev(svg0, "height", "15");
15781
15797
  attr_dev(svg0, "fill", "none");
15782
15798
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
15783
- add_location(svg0, file, 246, 8, 7877);
15799
+ add_location(svg0, file, 276, 8, 8932);
15784
15800
  attr_dev(div0, "class", "SearchIcon");
15785
- add_location(div0, file, 245, 6, 7844);
15801
+ add_location(div0, file, 275, 6, 8899);
15786
15802
  attr_dev(input, "class", "SearchInput");
15787
15803
  attr_dev(input, "type", "search");
15788
- attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[14]('Translations.placeHolderSearchGames'));
15789
- add_location(input, file, 252, 8, 8236);
15804
+ attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'));
15805
+ add_location(input, file, 282, 8, 9291);
15790
15806
  attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
15791
15807
  attr_dev(path1, "stroke", "#717171");
15792
15808
  attr_dev(path1, "stroke-width", "2");
15793
15809
  attr_dev(path1, "stroke-linecap", "round");
15794
15810
  attr_dev(path1, "stroke-linejoin", "round");
15795
- add_location(path1, file, 255, 12, 8623);
15811
+ add_location(path1, file, 285, 12, 9678);
15796
15812
  attr_dev(svg1, "width", "11");
15797
15813
  attr_dev(svg1, "height", "11");
15798
15814
  attr_dev(svg1, "fill", "none");
15799
15815
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
15800
- add_location(svg1, file, 254, 10, 8535);
15801
- attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[7].length != 0 ? '' : 'NotVisible'));
15802
- add_location(span, file, 253, 8, 8414);
15816
+ add_location(svg1, file, 284, 10, 9590);
15817
+ attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'));
15818
+ add_location(span, file, 283, 8, 9469);
15803
15819
  attr_dev(div1, "class", "SearchContainer");
15804
- add_location(div1, file, 251, 6, 8198);
15805
- attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[8] ? 'NotVisible' : ''));
15806
- add_location(small, file, 259, 6, 8799);
15820
+ add_location(div1, file, 281, 6, 9253);
15821
+ attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''));
15822
+ add_location(small, file, 289, 6, 9854);
15807
15823
  attr_dev(div2, "class", "Search");
15808
- add_location(div2, file, 244, 4, 7817);
15824
+ add_location(div2, file, 274, 4, 8872);
15809
15825
  attr_dev(div3, "class", "CasinoSearch");
15810
- add_location(div3, file, 243, 2, 7751);
15826
+ add_location(div3, file, 273, 2, 8806);
15811
15827
  },
15812
15828
  l: function claim(nodes) {
15813
15829
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -15822,8 +15838,8 @@
15822
15838
  append_dev(div2, t0);
15823
15839
  append_dev(div2, div1);
15824
15840
  append_dev(div1, input);
15825
- set_input_value(input, /*searchValue*/ ctx[7]);
15826
- /*input_binding*/ ctx[22](input);
15841
+ set_input_value(input, /*searchValue*/ ctx[8]);
15842
+ /*input_binding*/ ctx[28](input);
15827
15843
  append_dev(div1, t1);
15828
15844
  append_dev(div1, span);
15829
15845
  append_dev(span, svg1);
@@ -15833,35 +15849,35 @@
15833
15849
  append_dev(small, t3);
15834
15850
  append_dev(div3, t4);
15835
15851
  if_block.m(div3, null);
15836
- /*div3_binding*/ ctx[25](div3);
15852
+ /*div3_binding*/ ctx[31](div3);
15837
15853
 
15838
15854
  if (!mounted) {
15839
15855
  dispose = [
15840
- listen_dev(input, "input", /*input_input_handler*/ ctx[21]),
15841
- listen_dev(input, "focus", /*onFocus*/ ctx[15], false, false, false),
15842
- listen_dev(span, "click", /*click_handler*/ ctx[23], false, false, false),
15843
- listen_dev(small, "click", /*click_handler_1*/ ctx[24], false, false, false)
15856
+ listen_dev(input, "input", /*input_input_handler*/ ctx[27]),
15857
+ listen_dev(input, "focus", /*onFocus*/ ctx[18], false, false, false),
15858
+ listen_dev(span, "click", /*click_handler*/ ctx[29], false, false, false),
15859
+ listen_dev(small, "click", /*click_handler_1*/ ctx[30], false, false, false)
15844
15860
  ];
15845
15861
 
15846
15862
  mounted = true;
15847
15863
  }
15848
15864
  },
15849
15865
  p: function update(ctx, dirty) {
15850
- if (dirty[0] & /*$_*/ 16384 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[14]('Translations.placeHolderSearchGames'))) {
15866
+ if (dirty[0] & /*$_*/ 131072 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'))) {
15851
15867
  attr_dev(input, "placeholder", input_placeholder_value);
15852
15868
  }
15853
15869
 
15854
- if (dirty[0] & /*searchValue*/ 128) {
15855
- set_input_value(input, /*searchValue*/ ctx[7]);
15870
+ if (dirty[0] & /*searchValue*/ 256) {
15871
+ set_input_value(input, /*searchValue*/ ctx[8]);
15856
15872
  }
15857
15873
 
15858
- if (dirty[0] & /*searchValue*/ 128 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[7].length != 0 ? '' : 'NotVisible'))) {
15874
+ if (dirty[0] & /*searchValue*/ 256 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'))) {
15859
15875
  attr_dev(span, "class", span_class_value);
15860
15876
  }
15861
15877
 
15862
- if (dirty[0] & /*$_*/ 16384 && t3_value !== (t3_value = /*$_*/ ctx[14]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15878
+ if (dirty[0] & /*$_*/ 131072 && t3_value !== (t3_value = /*$_*/ ctx[17]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15863
15879
 
15864
- if (dirty[0] & /*searchCancelled*/ 256 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[8] ? 'NotVisible' : ''))) {
15880
+ if (dirty[0] & /*searchCancelled*/ 512 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''))) {
15865
15881
  attr_dev(small, "class", small_class_value);
15866
15882
  }
15867
15883
 
@@ -15881,9 +15897,9 @@
15881
15897
  o: noop$1,
15882
15898
  d: function destroy(detaching) {
15883
15899
  if (detaching) detach_dev(div3);
15884
- /*input_binding*/ ctx[22](null);
15900
+ /*input_binding*/ ctx[28](null);
15885
15901
  if_block.d();
15886
- /*div3_binding*/ ctx[25](null);
15902
+ /*div3_binding*/ ctx[31](null);
15887
15903
  mounted = false;
15888
15904
  run_all(dispose);
15889
15905
  }
@@ -15903,17 +15919,20 @@
15903
15919
  function instance($$self, $$props, $$invalidate) {
15904
15920
  let $_;
15905
15921
  validate_store(Y, '_');
15906
- component_subscribe($$self, Y, $$value => $$invalidate(14, $_ = $$value));
15922
+ component_subscribe($$self, Y, $$value => $$invalidate(17, $_ = $$value));
15907
15923
  let { $$slots: slots = {}, $$scope } = $$props;
15908
15924
  validate_slots('undefined', slots, []);
15909
15925
  let { endpoint = '' } = $$props;
15910
15926
  let { datasource = '' } = $$props;
15927
+ let { session = '' } = $$props;
15928
+ let { userid = '' } = $$props;
15911
15929
  let { lang = 'en' } = $$props;
15912
15930
  let { clientstyling = '' } = $$props;
15913
15931
  let { clientstylingurl = '' } = $$props;
15914
15932
  let { integratedgameframedesktop = 'false' } = $$props;
15915
15933
  let { integratedgameframemobile = 'false' } = $$props;
15916
- let { translationUrl = '' } = $$props;
15934
+ let { gamepagemodalurl = 'true' } = $$props;
15935
+ let { translationurl = '' } = $$props;
15917
15936
  let { showfavorites = '' } = $$props;
15918
15937
  let userAgent = window.navigator.userAgent;
15919
15938
  let searchArray = [];
@@ -15931,7 +15950,7 @@
15931
15950
  let favoriteGamesIds = [];
15932
15951
 
15933
15952
  const setTranslationUrl = () => {
15934
- let url = translationUrl;
15953
+ let url = translationurl;
15935
15954
 
15936
15955
  fetch(url).then(res => res.json()).then(res => {
15937
15956
  Object.keys(res).forEach(item => {
@@ -15955,16 +15974,16 @@
15955
15974
  addSearchedItem(e.data.gameId);
15956
15975
  }
15957
15976
 
15958
- if (e.data.type === 'UserSessionID') {
15959
- sessionID = e.data.session;
15960
- playerID = e.data.userid;
15961
- $$invalidate(20, isLoggedIn = true);
15977
+ if (e.data.type == 'UserSessionID') {
15978
+ $$invalidate(15, sessionID = e.data.session);
15979
+ $$invalidate(16, playerID = e.data.userid);
15980
+ $$invalidate(26, isLoggedIn = true);
15962
15981
  }
15963
15982
  };
15964
15983
 
15965
15984
  const onFocus = () => {
15966
- $$invalidate(8, searchCancelled = false);
15967
- $$invalidate(12, searchActive = true);
15985
+ $$invalidate(9, searchCancelled = false);
15986
+ $$invalidate(13, searchActive = true);
15968
15987
 
15969
15988
  if (endpoint && datasource && lang) {
15970
15989
  if (searchValue.length < 2) {
@@ -15989,7 +16008,7 @@
15989
16008
  }
15990
16009
 
15991
16010
  Promise.all(promises).then(res => {
15992
- $$invalidate(10, searchArray = res.map(item => {
16011
+ $$invalidate(11, searchArray = res.map(item => {
15993
16012
  item.isFavorite = checkFavorite(item.id);
15994
16013
  return item;
15995
16014
  }));
@@ -16008,13 +16027,13 @@
16008
16027
 
16009
16028
  const getGames = url => {
16010
16029
  return new Promise((resolve, reject) => {
16011
- $$invalidate(13, isLoading = true);
16030
+ $$invalidate(14, isLoading = true);
16012
16031
 
16013
16032
  fetch(url.href).then(res => res.json()).then(games => {
16014
- $$invalidate(13, isLoading = false);
16033
+ $$invalidate(14, isLoading = false);
16015
16034
  resolve(games);
16016
16035
  }).catch(err => {
16017
- $$invalidate(13, isLoading = false);
16036
+ $$invalidate(14, isLoading = false);
16018
16037
  console.error(err);
16019
16038
  reject(err);
16020
16039
  });
@@ -16023,18 +16042,18 @@
16023
16042
 
16024
16043
  const getGame = (url, gameId) => {
16025
16044
  return new Promise((resolve, reject) => {
16026
- $$invalidate(13, isLoading = true);
16045
+ $$invalidate(14, isLoading = true);
16027
16046
 
16028
16047
  if (gameId && Object.keys(gamesCache).indexOf(gameId) >= 0) {
16029
- $$invalidate(13, isLoading = false);
16048
+ $$invalidate(14, isLoading = false);
16030
16049
  resolve(gamesCache[gameId]);
16031
16050
  } else {
16032
16051
  fetch(url).then(fetchRes => fetchRes.json()).then(gameData => {
16033
- $$invalidate(13, isLoading = false);
16052
+ $$invalidate(14, isLoading = false);
16034
16053
  gamesCache[gameData[0].gameId] = gameData[0];
16035
16054
  resolve(gameData[0]);
16036
16055
  }).catch(err => {
16037
- $$invalidate(13, isLoading = false);
16056
+ $$invalidate(14, isLoading = false);
16038
16057
  console.error(err);
16039
16058
  reject(err);
16040
16059
  });
@@ -16044,7 +16063,7 @@
16044
16063
 
16045
16064
  const getFavoriteGames = () => {
16046
16065
  const url = new URL(`${endpoint}/player/${playerID}/favorites/`);
16047
- $$invalidate(13, isLoading = true);
16066
+ $$invalidate(14, isLoading = true);
16048
16067
 
16049
16068
  let options = {
16050
16069
  method: "GET",
@@ -16052,11 +16071,17 @@
16052
16071
  };
16053
16072
 
16054
16073
  fetch(url.href, options).then(res => res.json()).then(favoriteGames => {
16055
- $$invalidate(13, isLoading = false);
16074
+ $$invalidate(14, isLoading = false);
16056
16075
  favoriteGamesIds = favoriteGames.items.map(favoriteGame => favoriteGame.id);
16057
16076
  });
16058
16077
  };
16059
16078
 
16079
+ const setSession = () => {
16080
+ $$invalidate(26, isLoggedIn = true);
16081
+ $$invalidate(15, sessionID = session);
16082
+ $$invalidate(16, playerID = userid);
16083
+ };
16084
+
16060
16085
  const checkFavorite = gameId => {
16061
16086
  if (favoriteGamesIds.findIndex(favGameId => favGameId == gameId) !== -1) {
16062
16087
  return true;
@@ -16065,6 +16090,30 @@
16065
16090
  }
16066
16091
  };
16067
16092
 
16093
+ const addGameTag = tags => {
16094
+ if ((tags === null || tags === void 0 ? void 0 : tags.length) === 0) return '';
16095
+ let tagName;
16096
+ let differenceOfTime = 99999999999;
16097
+ let firstToExpire;
16098
+ const currentDate = new Date(Date.now());
16099
+
16100
+ tags.forEach((tag, index) => {
16101
+ const startDateOfTag = new Date(tag.schedules[0].startTime);
16102
+ const endDateOfTag = new Date(tag.schedules[0].endTime);
16103
+
16104
+ if (moment(endDateOfTag).diff(currentDate) < differenceOfTime) {
16105
+ differenceOfTime = moment(endDateOfTag).diff(currentDate);
16106
+ firstToExpire = index;
16107
+ }
16108
+
16109
+ if (moment(currentDate).isAfter(startDateOfTag) && moment(currentDate).isBefore(endDateOfTag)) {
16110
+ tagName = tags[firstToExpire].name;
16111
+ }
16112
+ });
16113
+
16114
+ return tagName;
16115
+ };
16116
+
16068
16117
  const addSearchedItem = gameID => {
16069
16118
  searchedValues = getCookieValue(`searchedGamesWds_casino`);
16070
16119
 
@@ -16091,16 +16140,16 @@
16091
16140
  };
16092
16141
 
16093
16142
  const cancelSearch = () => {
16094
- $$invalidate(7, searchValue = '');
16095
- $$invalidate(8, searchCancelled = true);
16096
- $$invalidate(13, isLoading = false);
16097
- $$invalidate(10, searchArray = []);
16098
- $$invalidate(12, searchActive = false);
16143
+ $$invalidate(8, searchValue = '');
16144
+ $$invalidate(9, searchCancelled = true);
16145
+ $$invalidate(14, isLoading = false);
16146
+ $$invalidate(11, searchArray = []);
16147
+ $$invalidate(13, searchActive = false);
16099
16148
  sendSearchStatus(searchActive);
16100
16149
  };
16101
16150
 
16102
16151
  const clearSearch = () => {
16103
- $$invalidate(7, searchValue = '');
16152
+ $$invalidate(8, searchValue = '');
16104
16153
  searchElement.focus();
16105
16154
  };
16106
16155
 
@@ -16151,12 +16200,15 @@
16151
16200
  const writable_props = [
16152
16201
  'endpoint',
16153
16202
  'datasource',
16203
+ 'session',
16204
+ 'userid',
16154
16205
  'lang',
16155
16206
  'clientstyling',
16156
16207
  'clientstylingurl',
16157
16208
  'integratedgameframedesktop',
16158
16209
  'integratedgameframemobile',
16159
- 'translationUrl',
16210
+ 'gamepagemodalurl',
16211
+ 'translationurl',
16160
16212
  'showfavorites'
16161
16213
  ];
16162
16214
 
@@ -16166,13 +16218,13 @@
16166
16218
 
16167
16219
  function input_input_handler() {
16168
16220
  searchValue = this.value;
16169
- $$invalidate(7, searchValue);
16221
+ $$invalidate(8, searchValue);
16170
16222
  }
16171
16223
 
16172
16224
  function input_binding($$value) {
16173
16225
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16174
16226
  searchElement = $$value;
16175
- $$invalidate(11, searchElement);
16227
+ $$invalidate(12, searchElement);
16176
16228
  });
16177
16229
  }
16178
16230
 
@@ -16182,20 +16234,23 @@
16182
16234
  function div3_binding($$value) {
16183
16235
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16184
16236
  customStylingContainer = $$value;
16185
- $$invalidate(9, customStylingContainer);
16237
+ $$invalidate(10, customStylingContainer);
16186
16238
  });
16187
16239
  }
16188
16240
 
16189
16241
  $$self.$$set = $$props => {
16190
16242
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16191
- if ('datasource' in $$props) $$invalidate(18, datasource = $$props.datasource);
16243
+ if ('datasource' in $$props) $$invalidate(22, datasource = $$props.datasource);
16244
+ if ('session' in $$props) $$invalidate(23, session = $$props.session);
16245
+ if ('userid' in $$props) $$invalidate(24, userid = $$props.userid);
16192
16246
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16193
16247
  if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16194
16248
  if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16195
16249
  if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16196
16250
  if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16197
- if ('translationUrl' in $$props) $$invalidate(19, translationUrl = $$props.translationUrl);
16198
- if ('showfavorites' in $$props) $$invalidate(6, showfavorites = $$props.showfavorites);
16251
+ if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
16252
+ if ('translationurl' in $$props) $$invalidate(25, translationurl = $$props.translationurl);
16253
+ if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
16199
16254
  };
16200
16255
 
16201
16256
  $$self.$capture_state = () => ({
@@ -16205,14 +16260,18 @@
16205
16260
  Translations,
16206
16261
  getDevice,
16207
16262
  onMount,
16263
+ moment,
16208
16264
  endpoint,
16209
16265
  datasource,
16266
+ session,
16267
+ userid,
16210
16268
  lang,
16211
16269
  clientstyling,
16212
16270
  clientstylingurl,
16213
16271
  integratedgameframedesktop,
16214
16272
  integratedgameframemobile,
16215
- translationUrl,
16273
+ gamepagemodalurl,
16274
+ translationurl,
16216
16275
  showfavorites,
16217
16276
  userAgent,
16218
16277
  searchArray,
@@ -16234,7 +16293,9 @@
16234
16293
  getGames,
16235
16294
  getGame,
16236
16295
  getFavoriteGames,
16296
+ setSession,
16237
16297
  checkFavorite,
16298
+ addGameTag,
16238
16299
  addSearchedItem,
16239
16300
  getCookieValue,
16240
16301
  cancelSearch,
@@ -16248,27 +16309,30 @@
16248
16309
 
16249
16310
  $$self.$inject_state = $$props => {
16250
16311
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16251
- if ('datasource' in $$props) $$invalidate(18, datasource = $$props.datasource);
16312
+ if ('datasource' in $$props) $$invalidate(22, datasource = $$props.datasource);
16313
+ if ('session' in $$props) $$invalidate(23, session = $$props.session);
16314
+ if ('userid' in $$props) $$invalidate(24, userid = $$props.userid);
16252
16315
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16253
16316
  if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16254
16317
  if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16255
16318
  if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16256
16319
  if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16257
- if ('translationUrl' in $$props) $$invalidate(19, translationUrl = $$props.translationUrl);
16258
- if ('showfavorites' in $$props) $$invalidate(6, showfavorites = $$props.showfavorites);
16259
- if ('userAgent' in $$props) $$invalidate(31, userAgent = $$props.userAgent);
16260
- if ('searchArray' in $$props) $$invalidate(10, searchArray = $$props.searchArray);
16320
+ if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
16321
+ if ('translationurl' in $$props) $$invalidate(25, translationurl = $$props.translationurl);
16322
+ if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
16323
+ if ('userAgent' in $$props) $$invalidate(35, userAgent = $$props.userAgent);
16324
+ if ('searchArray' in $$props) $$invalidate(11, searchArray = $$props.searchArray);
16261
16325
  if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
16262
16326
  if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
16263
- if ('searchValue' in $$props) $$invalidate(7, searchValue = $$props.searchValue);
16264
- if ('searchElement' in $$props) $$invalidate(11, searchElement = $$props.searchElement);
16265
- if ('searchCancelled' in $$props) $$invalidate(8, searchCancelled = $$props.searchCancelled);
16266
- if ('searchActive' in $$props) $$invalidate(12, searchActive = $$props.searchActive);
16267
- if ('isLoading' in $$props) $$invalidate(13, isLoading = $$props.isLoading);
16268
- if ('customStylingContainer' in $$props) $$invalidate(9, customStylingContainer = $$props.customStylingContainer);
16269
- if ('isLoggedIn' in $$props) $$invalidate(20, isLoggedIn = $$props.isLoggedIn);
16270
- if ('sessionID' in $$props) sessionID = $$props.sessionID;
16271
- if ('playerID' in $$props) playerID = $$props.playerID;
16327
+ if ('searchValue' in $$props) $$invalidate(8, searchValue = $$props.searchValue);
16328
+ if ('searchElement' in $$props) $$invalidate(12, searchElement = $$props.searchElement);
16329
+ if ('searchCancelled' in $$props) $$invalidate(9, searchCancelled = $$props.searchCancelled);
16330
+ if ('searchActive' in $$props) $$invalidate(13, searchActive = $$props.searchActive);
16331
+ if ('isLoading' in $$props) $$invalidate(14, isLoading = $$props.isLoading);
16332
+ if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
16333
+ if ('isLoggedIn' in $$props) $$invalidate(26, isLoggedIn = $$props.isLoggedIn);
16334
+ if ('sessionID' in $$props) $$invalidate(15, sessionID = $$props.sessionID);
16335
+ if ('playerID' in $$props) $$invalidate(16, playerID = $$props.playerID);
16272
16336
  if ('favoriteGamesIds' in $$props) favoriteGamesIds = $$props.favoriteGamesIds;
16273
16337
  };
16274
16338
 
@@ -16277,7 +16341,7 @@
16277
16341
  }
16278
16342
 
16279
16343
  $$self.$$.update = () => {
16280
- if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 262531) {
16344
+ if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 4195075) {
16281
16345
  if (searchValue.length >= 2) {
16282
16346
  const searchUrl = new URL(`${endpoint}/casino/games`);
16283
16347
  searchUrl.searchParams.append("datasource", datasource);
@@ -16288,7 +16352,7 @@
16288
16352
  searchUrl.searchParams.append("filter", `name=${searchValue}`);
16289
16353
 
16290
16354
  getGames(searchUrl).then(searchData => {
16291
- $$invalidate(10, searchArray = searchData.items.map(item => {
16355
+ $$invalidate(11, searchArray = searchData.items.map(item => {
16292
16356
  item.isFavorite = checkFavorite(item.id);
16293
16357
  return item;
16294
16358
  }));
@@ -16304,19 +16368,23 @@
16304
16368
  lang && setActiveLanguage();
16305
16369
  }
16306
16370
 
16307
- if ($$self.$$.dirty[0] & /*translationUrl*/ 524288) {
16308
- translationUrl && setTranslationUrl();
16371
+ if ($$self.$$.dirty[0] & /*translationurl*/ 33554432) {
16372
+ translationurl && setTranslationUrl();
16309
16373
  }
16310
16374
 
16311
- if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/ 1048640) {
16375
+ if ($$self.$$.dirty[0] & /*session, userid*/ 25165824) {
16376
+ session && userid && setSession();
16377
+ }
16378
+
16379
+ if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/ 67108992) {
16312
16380
  showfavorites && isLoggedIn && getFavoriteGames();
16313
16381
  }
16314
16382
 
16315
- if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/ 516) {
16383
+ if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/ 1028) {
16316
16384
  clientstyling && customStylingContainer && setClientStyling();
16317
16385
  }
16318
16386
 
16319
- if ($$self.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/ 520) {
16387
+ if ($$self.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/ 1032) {
16320
16388
  clientstylingurl && customStylingContainer && setClientStylingURL();
16321
16389
  }
16322
16390
  };
@@ -16328,6 +16396,7 @@
16328
16396
  clientstylingurl,
16329
16397
  integratedgameframedesktop,
16330
16398
  integratedgameframemobile,
16399
+ gamepagemodalurl,
16331
16400
  showfavorites,
16332
16401
  searchValue,
16333
16402
  searchCancelled,
@@ -16336,12 +16405,17 @@
16336
16405
  searchElement,
16337
16406
  searchActive,
16338
16407
  isLoading,
16408
+ sessionID,
16409
+ playerID,
16339
16410
  $_,
16340
16411
  onFocus,
16412
+ addGameTag,
16341
16413
  cancelSearch,
16342
16414
  clearSearch,
16343
16415
  datasource,
16344
- translationUrl,
16416
+ session,
16417
+ userid,
16418
+ translationurl,
16345
16419
  isLoggedIn,
16346
16420
  input_input_handler,
16347
16421
  input_binding,
@@ -16368,14 +16442,17 @@
16368
16442
  safe_not_equal,
16369
16443
  {
16370
16444
  endpoint: 0,
16371
- datasource: 18,
16445
+ datasource: 22,
16446
+ session: 23,
16447
+ userid: 24,
16372
16448
  lang: 1,
16373
16449
  clientstyling: 2,
16374
16450
  clientstylingurl: 3,
16375
16451
  integratedgameframedesktop: 4,
16376
16452
  integratedgameframemobile: 5,
16377
- translationUrl: 19,
16378
- showfavorites: 6
16453
+ gamepagemodalurl: 6,
16454
+ translationurl: 25,
16455
+ showfavorites: 7
16379
16456
  },
16380
16457
  null,
16381
16458
  [-1, -1]
@@ -16397,12 +16474,15 @@
16397
16474
  return [
16398
16475
  "endpoint",
16399
16476
  "datasource",
16477
+ "session",
16478
+ "userid",
16400
16479
  "lang",
16401
16480
  "clientstyling",
16402
16481
  "clientstylingurl",
16403
16482
  "integratedgameframedesktop",
16404
16483
  "integratedgameframemobile",
16405
- "translationUrl",
16484
+ "gamepagemodalurl",
16485
+ "translationurl",
16406
16486
  "showfavorites"
16407
16487
  ];
16408
16488
  }
@@ -16417,7 +16497,7 @@
16417
16497
  }
16418
16498
 
16419
16499
  get datasource() {
16420
- return this.$$.ctx[18];
16500
+ return this.$$.ctx[22];
16421
16501
  }
16422
16502
 
16423
16503
  set datasource(datasource) {
@@ -16425,6 +16505,24 @@
16425
16505
  flush();
16426
16506
  }
16427
16507
 
16508
+ get session() {
16509
+ return this.$$.ctx[23];
16510
+ }
16511
+
16512
+ set session(session) {
16513
+ this.$$set({ session });
16514
+ flush();
16515
+ }
16516
+
16517
+ get userid() {
16518
+ return this.$$.ctx[24];
16519
+ }
16520
+
16521
+ set userid(userid) {
16522
+ this.$$set({ userid });
16523
+ flush();
16524
+ }
16525
+
16428
16526
  get lang() {
16429
16527
  return this.$$.ctx[1];
16430
16528
  }
@@ -16470,17 +16568,26 @@
16470
16568
  flush();
16471
16569
  }
16472
16570
 
16473
- get translationUrl() {
16474
- return this.$$.ctx[19];
16571
+ get gamepagemodalurl() {
16572
+ return this.$$.ctx[6];
16573
+ }
16574
+
16575
+ set gamepagemodalurl(gamepagemodalurl) {
16576
+ this.$$set({ gamepagemodalurl });
16577
+ flush();
16578
+ }
16579
+
16580
+ get translationurl() {
16581
+ return this.$$.ctx[25];
16475
16582
  }
16476
16583
 
16477
- set translationUrl(translationUrl) {
16478
- this.$$set({ translationUrl });
16584
+ set translationurl(translationurl) {
16585
+ this.$$set({ translationurl });
16479
16586
  flush();
16480
16587
  }
16481
16588
 
16482
16589
  get showfavorites() {
16483
- return this.$$.ctx[6];
16590
+ return this.$$.ctx[7];
16484
16591
  }
16485
16592
 
16486
16593
  set showfavorites(showfavorites) {