@everymatrix/casino-search 1.3.4 → 1.4.1
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.
- package/dist/casino-search.js +237 -224
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +62 -33
- package/src/translations.js +10 -7
package/dist/casino-search.js
CHANGED
|
@@ -4683,16 +4683,19 @@
|
|
|
4683
4683
|
noRecentSearches: "Pas encore de recherches récentes. Recherchez l'un de nos jeux.",
|
|
4684
4684
|
},
|
|
4685
4685
|
},
|
|
4686
|
+
|
|
4687
|
+
|
|
4686
4688
|
es: {
|
|
4687
4689
|
Translations: {
|
|
4688
|
-
recentSearch: "
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4690
|
+
recentSearch: "Busqueda reciente",
|
|
4691
|
+
placeHolderSearchGames: 'Buscar juegos',
|
|
4692
|
+
loading: "Cargando",
|
|
4693
|
+
searchResult: "Resultado de busqueda",
|
|
4694
|
+
cancel: "Cancelar",
|
|
4695
|
+
notFound: "Juego no encontrado!",
|
|
4693
4696
|
notFoundText:
|
|
4694
|
-
"
|
|
4695
|
-
noRecentSearches: "No
|
|
4697
|
+
"Por favor escriba el nombre correcto del juego para empezar a jugar.",
|
|
4698
|
+
noRecentSearches: "No hay búsquedas recientes. Busca cualquiera de nuestros juegos",
|
|
4696
4699
|
},
|
|
4697
4700
|
},
|
|
4698
4701
|
gr: {
|
|
@@ -12042,11 +12045,11 @@
|
|
|
12042
12045
|
},
|
|
12043
12046
|
es: {
|
|
12044
12047
|
gameThumbnail: {
|
|
12045
|
-
playNow: '
|
|
12048
|
+
playNow: 'Juega ahora!',
|
|
12046
12049
|
new: 'NUEVO',
|
|
12047
|
-
hot: '
|
|
12048
|
-
opens: '
|
|
12049
|
-
full: 'Mesa
|
|
12050
|
+
hot: 'HOT',
|
|
12051
|
+
opens: 'Abiertas',
|
|
12052
|
+
full: 'Mesa llena - Apostar de pie',
|
|
12050
12053
|
dealer: 'Dealer',
|
|
12051
12054
|
}
|
|
12052
12055
|
},
|
|
@@ -12334,7 +12337,7 @@
|
|
|
12334
12337
|
return child_ctx;
|
|
12335
12338
|
}
|
|
12336
12339
|
|
|
12337
|
-
// (
|
|
12340
|
+
// (556:8) {#if fav}
|
|
12338
12341
|
function create_if_block_13(ctx) {
|
|
12339
12342
|
let show_if = !isMobile(/*userAgent*/ ctx[37]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15];
|
|
12340
12343
|
let if_block_anchor;
|
|
@@ -12375,14 +12378,14 @@
|
|
|
12375
12378
|
block,
|
|
12376
12379
|
id: create_if_block_13.name,
|
|
12377
12380
|
type: "if",
|
|
12378
|
-
source: "(
|
|
12381
|
+
source: "(556:8) {#if fav}",
|
|
12379
12382
|
ctx
|
|
12380
12383
|
});
|
|
12381
12384
|
|
|
12382
12385
|
return block;
|
|
12383
12386
|
}
|
|
12384
12387
|
|
|
12385
|
-
// (
|
|
12388
|
+
// (557:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
|
12386
12389
|
function create_if_block_14(ctx) {
|
|
12387
12390
|
let div;
|
|
12388
12391
|
let svg;
|
|
@@ -12397,7 +12400,7 @@
|
|
|
12397
12400
|
path = svg_element("path");
|
|
12398
12401
|
set_style(path, "fill", "white");
|
|
12399
12402
|
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,
|
|
12403
|
+
add_location(path, file$1, 559, 112, 19956);
|
|
12401
12404
|
attr_dev(svg, "version", "1.1");
|
|
12402
12405
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
12403
12406
|
attr_dev(svg, "part", "UnfavoredIcon");
|
|
@@ -12408,10 +12411,10 @@
|
|
|
12408
12411
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
12409
12412
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
12410
12413
|
attr_dev(svg, "xml:space", "preserve");
|
|
12411
|
-
add_location(svg, file$1,
|
|
12414
|
+
add_location(svg, file$1, 558, 14, 19686);
|
|
12412
12415
|
attr_dev(div, "class", "FavIconContainer");
|
|
12413
12416
|
attr_dev(div, "part", "FavIconContainer");
|
|
12414
|
-
add_location(div, file$1,
|
|
12417
|
+
add_location(div, file$1, 557, 12, 19571);
|
|
12415
12418
|
},
|
|
12416
12419
|
m: function mount(target, anchor) {
|
|
12417
12420
|
insert_dev(target, div, anchor);
|
|
@@ -12435,14 +12438,14 @@
|
|
|
12435
12438
|
block,
|
|
12436
12439
|
id: create_if_block_14.name,
|
|
12437
12440
|
type: "if",
|
|
12438
|
-
source: "(
|
|
12441
|
+
source: "(557:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
|
|
12439
12442
|
ctx
|
|
12440
12443
|
});
|
|
12441
12444
|
|
|
12442
12445
|
return block;
|
|
12443
12446
|
}
|
|
12444
12447
|
|
|
12445
|
-
// (
|
|
12448
|
+
// (573:8) {#if lang}
|
|
12446
12449
|
function create_if_block_12(ctx) {
|
|
12447
12450
|
let button;
|
|
12448
12451
|
let t_value = /*$_*/ ctx[36]('gameThumbnail.playNow') + "";
|
|
@@ -12456,7 +12459,7 @@
|
|
|
12456
12459
|
t = text(t_value);
|
|
12457
12460
|
attr_dev(button, "class", "GameInfoBtn");
|
|
12458
12461
|
attr_dev(button, "part", "GameInfoBtn");
|
|
12459
|
-
add_location(button, file$1,
|
|
12462
|
+
add_location(button, file$1, 573, 8, 21201);
|
|
12460
12463
|
},
|
|
12461
12464
|
m: function mount(target, anchor) {
|
|
12462
12465
|
insert_dev(target, button, anchor);
|
|
@@ -12481,14 +12484,14 @@
|
|
|
12481
12484
|
block,
|
|
12482
12485
|
id: create_if_block_12.name,
|
|
12483
12486
|
type: "if",
|
|
12484
|
-
source: "(
|
|
12487
|
+
source: "(573:8) {#if lang}",
|
|
12485
12488
|
ctx
|
|
12486
12489
|
});
|
|
12487
12490
|
|
|
12488
12491
|
return block;
|
|
12489
12492
|
}
|
|
12490
12493
|
|
|
12491
|
-
// (
|
|
12494
|
+
// (587:77)
|
|
12492
12495
|
function create_if_block_11(ctx) {
|
|
12493
12496
|
let div;
|
|
12494
12497
|
let svg;
|
|
@@ -12501,7 +12504,7 @@
|
|
|
12501
12504
|
path = svg_element("path");
|
|
12502
12505
|
set_style(path, "fill", "white");
|
|
12503
12506
|
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,
|
|
12507
|
+
add_location(path, file$1, 589, 10, 22618);
|
|
12505
12508
|
attr_dev(svg, "version", "1.1");
|
|
12506
12509
|
attr_dev(svg, "class", "FavoredIcon");
|
|
12507
12510
|
attr_dev(svg, "part", "FavoredIcon");
|
|
@@ -12509,10 +12512,10 @@
|
|
|
12509
12512
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
12510
12513
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
12511
12514
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
12512
|
-
add_location(svg, file$1,
|
|
12515
|
+
add_location(svg, file$1, 588, 8, 22401);
|
|
12513
12516
|
attr_dev(div, "class", "FavIconContainer");
|
|
12514
12517
|
attr_dev(div, "part", "FavIconContainer");
|
|
12515
|
-
add_location(div, file$1,
|
|
12518
|
+
add_location(div, file$1, 587, 6, 22338);
|
|
12516
12519
|
},
|
|
12517
12520
|
m: function mount(target, anchor) {
|
|
12518
12521
|
insert_dev(target, div, anchor);
|
|
@@ -12529,14 +12532,14 @@
|
|
|
12529
12532
|
block,
|
|
12530
12533
|
id: create_if_block_11.name,
|
|
12531
12534
|
type: "if",
|
|
12532
|
-
source: "(
|
|
12535
|
+
source: "(587:77) ",
|
|
12533
12536
|
ctx
|
|
12534
12537
|
});
|
|
12535
12538
|
|
|
12536
12539
|
return block;
|
|
12537
12540
|
}
|
|
12538
12541
|
|
|
12539
|
-
// (
|
|
12542
|
+
// (581:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
12540
12543
|
function create_if_block_10(ctx) {
|
|
12541
12544
|
let div;
|
|
12542
12545
|
let svg;
|
|
@@ -12551,7 +12554,7 @@
|
|
|
12551
12554
|
path = svg_element("path");
|
|
12552
12555
|
set_style(path, "fill", "white");
|
|
12553
12556
|
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,
|
|
12557
|
+
add_location(path, file$1, 583, 10, 21887);
|
|
12555
12558
|
attr_dev(svg, "version", "1.1");
|
|
12556
12559
|
attr_dev(svg, "class", "FavoredIcon");
|
|
12557
12560
|
attr_dev(svg, "part", "FavoredIcon");
|
|
@@ -12559,10 +12562,10 @@
|
|
|
12559
12562
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
12560
12563
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
12561
12564
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
12562
|
-
add_location(svg, file$1,
|
|
12565
|
+
add_location(svg, file$1, 582, 8, 21670);
|
|
12563
12566
|
attr_dev(div, "class", "FavIconContainer");
|
|
12564
12567
|
attr_dev(div, "part", "FavIconContainer");
|
|
12565
|
-
add_location(div, file$1,
|
|
12568
|
+
add_location(div, file$1, 581, 6, 21561);
|
|
12566
12569
|
},
|
|
12567
12570
|
m: function mount(target, anchor) {
|
|
12568
12571
|
insert_dev(target, div, anchor);
|
|
@@ -12586,14 +12589,14 @@
|
|
|
12586
12589
|
block,
|
|
12587
12590
|
id: create_if_block_10.name,
|
|
12588
12591
|
type: "if",
|
|
12589
|
-
source: "(
|
|
12592
|
+
source: "(581:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
|
|
12590
12593
|
ctx
|
|
12591
12594
|
});
|
|
12592
12595
|
|
|
12593
12596
|
return block;
|
|
12594
12597
|
}
|
|
12595
12598
|
|
|
12596
|
-
// (
|
|
12599
|
+
// (595:6) {#if gameisnew}
|
|
12597
12600
|
function create_if_block_9(ctx) {
|
|
12598
12601
|
let span;
|
|
12599
12602
|
let t_value = /*$_*/ ctx[36]('gameThumbnail.new') + "";
|
|
@@ -12605,7 +12608,7 @@
|
|
|
12605
12608
|
t = text(t_value);
|
|
12606
12609
|
attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
|
|
12607
12610
|
attr_dev(span, "part", "GameExtraInfoLabel NewGameTag");
|
|
12608
|
-
add_location(span, file$1,
|
|
12611
|
+
add_location(span, file$1, 595, 8, 23078);
|
|
12609
12612
|
},
|
|
12610
12613
|
m: function mount(target, anchor) {
|
|
12611
12614
|
insert_dev(target, span, anchor);
|
|
@@ -12623,14 +12626,14 @@
|
|
|
12623
12626
|
block,
|
|
12624
12627
|
id: create_if_block_9.name,
|
|
12625
12628
|
type: "if",
|
|
12626
|
-
source: "(
|
|
12629
|
+
source: "(595:6) {#if gameisnew}",
|
|
12627
12630
|
ctx
|
|
12628
12631
|
});
|
|
12629
12632
|
|
|
12630
12633
|
return block;
|
|
12631
12634
|
}
|
|
12632
12635
|
|
|
12633
|
-
// (
|
|
12636
|
+
// (598:6) {#if gametag}
|
|
12634
12637
|
function create_if_block_8(ctx) {
|
|
12635
12638
|
let span;
|
|
12636
12639
|
let t;
|
|
@@ -12641,7 +12644,7 @@
|
|
|
12641
12644
|
t = text(/*gametag*/ ctx[8]);
|
|
12642
12645
|
attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
|
|
12643
12646
|
attr_dev(span, "part", "GameExtraInfoLabel PopularGameTag");
|
|
12644
|
-
add_location(span, file$1,
|
|
12647
|
+
add_location(span, file$1, 598, 8, 23232);
|
|
12645
12648
|
},
|
|
12646
12649
|
m: function mount(target, anchor) {
|
|
12647
12650
|
insert_dev(target, span, anchor);
|
|
@@ -12659,14 +12662,14 @@
|
|
|
12659
12662
|
block,
|
|
12660
12663
|
id: create_if_block_8.name,
|
|
12661
12664
|
type: "if",
|
|
12662
|
-
source: "(
|
|
12665
|
+
source: "(598:6) {#if gametag}",
|
|
12663
12666
|
ctx
|
|
12664
12667
|
});
|
|
12665
12668
|
|
|
12666
12669
|
return block;
|
|
12667
12670
|
}
|
|
12668
12671
|
|
|
12669
|
-
// (
|
|
12672
|
+
// (601:6) {#if livegamedata}
|
|
12670
12673
|
function create_if_block_1$1(ctx) {
|
|
12671
12674
|
let t;
|
|
12672
12675
|
let if_block1_anchor;
|
|
@@ -12735,14 +12738,14 @@
|
|
|
12735
12738
|
block,
|
|
12736
12739
|
id: create_if_block_1$1.name,
|
|
12737
12740
|
type: "if",
|
|
12738
|
-
source: "(
|
|
12741
|
+
source: "(601:6) {#if livegamedata}",
|
|
12739
12742
|
ctx
|
|
12740
12743
|
});
|
|
12741
12744
|
|
|
12742
12745
|
return block;
|
|
12743
12746
|
}
|
|
12744
12747
|
|
|
12745
|
-
// (
|
|
12748
|
+
// (602:8) {#if !isopen && starttime && timeformat}
|
|
12746
12749
|
function create_if_block_7(ctx) {
|
|
12747
12750
|
let div1;
|
|
12748
12751
|
let div0;
|
|
@@ -12771,15 +12774,15 @@
|
|
|
12771
12774
|
html_tag = new HtmlTag(false);
|
|
12772
12775
|
t4 = space();
|
|
12773
12776
|
html_tag_1 = new HtmlTag(false);
|
|
12774
|
-
add_location(span, file$1,
|
|
12777
|
+
add_location(span, file$1, 605, 14, 23604);
|
|
12775
12778
|
attr_dev(div0, "class", "ClosedGame");
|
|
12776
12779
|
attr_dev(div0, "part", "ClosedGame");
|
|
12777
|
-
add_location(div0, file$1,
|
|
12780
|
+
add_location(div0, file$1, 603, 12, 23505);
|
|
12778
12781
|
html_tag.a = t4;
|
|
12779
12782
|
html_tag_1.a = null;
|
|
12780
12783
|
attr_dev(div1, "class", "GameProp LiveProps");
|
|
12781
12784
|
attr_dev(div1, "part", "GameProp LiveProps");
|
|
12782
|
-
add_location(div1, file$1,
|
|
12785
|
+
add_location(div1, file$1, 602, 10, 23434);
|
|
12783
12786
|
},
|
|
12784
12787
|
m: function mount(target, anchor) {
|
|
12785
12788
|
insert_dev(target, div1, anchor);
|
|
@@ -12808,14 +12811,14 @@
|
|
|
12808
12811
|
block,
|
|
12809
12812
|
id: create_if_block_7.name,
|
|
12810
12813
|
type: "if",
|
|
12811
|
-
source: "(
|
|
12814
|
+
source: "(602:8) {#if !isopen && starttime && timeformat}",
|
|
12812
12815
|
ctx
|
|
12813
12816
|
});
|
|
12814
12817
|
|
|
12815
12818
|
return block;
|
|
12816
12819
|
}
|
|
12817
12820
|
|
|
12818
|
-
// (
|
|
12821
|
+
// (635:68)
|
|
12819
12822
|
function create_if_block_4$1(ctx) {
|
|
12820
12823
|
let div1;
|
|
12821
12824
|
let div0;
|
|
@@ -12848,12 +12851,12 @@
|
|
|
12848
12851
|
html_tag_1 = new HtmlTag(false);
|
|
12849
12852
|
attr_dev(div0, "class", "LiveIcons");
|
|
12850
12853
|
attr_dev(div0, "part", "LiveIcons");
|
|
12851
|
-
add_location(div0, file$1,
|
|
12854
|
+
add_location(div0, file$1, 636, 12, 25564);
|
|
12852
12855
|
html_tag.a = t1;
|
|
12853
12856
|
html_tag_1.a = null;
|
|
12854
12857
|
attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[31]);
|
|
12855
12858
|
attr_dev(div1, "part", /*roulettecontainerclassname*/ ctx[31]);
|
|
12856
|
-
add_location(div1, file$1,
|
|
12859
|
+
add_location(div1, file$1, 635, 10, 25473);
|
|
12857
12860
|
},
|
|
12858
12861
|
m: function mount(target, anchor) {
|
|
12859
12862
|
insert_dev(target, div1, anchor);
|
|
@@ -12916,14 +12919,14 @@
|
|
|
12916
12919
|
block,
|
|
12917
12920
|
id: create_if_block_4$1.name,
|
|
12918
12921
|
type: "if",
|
|
12919
|
-
source: "(
|
|
12922
|
+
source: "(635:68) ",
|
|
12920
12923
|
ctx
|
|
12921
12924
|
});
|
|
12922
12925
|
|
|
12923
12926
|
return block;
|
|
12924
12927
|
}
|
|
12925
12928
|
|
|
12926
|
-
// (
|
|
12929
|
+
// (614:8) {#if isopen && displaytype && displaytype === BLACKJACK}
|
|
12927
12930
|
function create_if_block_2$1(ctx) {
|
|
12928
12931
|
let div1;
|
|
12929
12932
|
let div0;
|
|
@@ -12953,12 +12956,12 @@
|
|
|
12953
12956
|
html_tag_1 = new HtmlTag(false);
|
|
12954
12957
|
attr_dev(div0, "class", "LiveIcons");
|
|
12955
12958
|
attr_dev(div0, "part", "LiveIcons");
|
|
12956
|
-
add_location(div0, file$1,
|
|
12959
|
+
add_location(div0, file$1, 615, 12, 24041);
|
|
12957
12960
|
html_tag.a = t1;
|
|
12958
12961
|
html_tag_1.a = null;
|
|
12959
12962
|
attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
|
|
12960
12963
|
attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
|
|
12961
|
-
add_location(div1, file$1,
|
|
12964
|
+
add_location(div1, file$1, 614, 10, 23936);
|
|
12962
12965
|
},
|
|
12963
12966
|
m: function mount(target, anchor) {
|
|
12964
12967
|
insert_dev(target, div1, anchor);
|
|
@@ -12995,14 +12998,14 @@
|
|
|
12995
12998
|
block,
|
|
12996
12999
|
id: create_if_block_2$1.name,
|
|
12997
13000
|
type: "if",
|
|
12998
|
-
source: "(
|
|
13001
|
+
source: "(614:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
|
|
12999
13002
|
ctx
|
|
13000
13003
|
});
|
|
13001
13004
|
|
|
13002
13005
|
return block;
|
|
13003
13006
|
}
|
|
13004
13007
|
|
|
13005
|
-
// (
|
|
13008
|
+
// (639:16) {#if roulleteresults && roulleteresults[i]}
|
|
13006
13009
|
function create_if_block_5$1(ctx) {
|
|
13007
13010
|
let if_block_anchor;
|
|
13008
13011
|
|
|
@@ -13046,14 +13049,14 @@
|
|
|
13046
13049
|
block,
|
|
13047
13050
|
id: create_if_block_5$1.name,
|
|
13048
13051
|
type: "if",
|
|
13049
|
-
source: "(
|
|
13052
|
+
source: "(639:16) {#if roulleteresults && roulleteresults[i]}",
|
|
13050
13053
|
ctx
|
|
13051
13054
|
});
|
|
13052
13055
|
|
|
13053
13056
|
return block;
|
|
13054
13057
|
}
|
|
13055
13058
|
|
|
13056
|
-
// (
|
|
13059
|
+
// (645:18) {:else}
|
|
13057
13060
|
function create_else_block_1(ctx) {
|
|
13058
13061
|
let html_tag;
|
|
13059
13062
|
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]]]) + "";
|
|
@@ -13082,14 +13085,14 @@
|
|
|
13082
13085
|
block,
|
|
13083
13086
|
id: create_else_block_1.name,
|
|
13084
13087
|
type: "else",
|
|
13085
|
-
source: "(
|
|
13088
|
+
source: "(645:18) {:else}",
|
|
13086
13089
|
ctx
|
|
13087
13090
|
});
|
|
13088
13091
|
|
|
13089
13092
|
return block;
|
|
13090
13093
|
}
|
|
13091
13094
|
|
|
13092
|
-
// (
|
|
13095
|
+
// (640:18) {#if isdouble}
|
|
13093
13096
|
function create_if_block_6(ctx) {
|
|
13094
13097
|
let div;
|
|
13095
13098
|
let html_tag;
|
|
@@ -13110,7 +13113,7 @@
|
|
|
13110
13113
|
html_tag_1.a = t1;
|
|
13111
13114
|
attr_dev(div, "class", "Double");
|
|
13112
13115
|
attr_dev(div, "part", "Double");
|
|
13113
|
-
add_location(div, file$1,
|
|
13116
|
+
add_location(div, file$1, 640, 20, 25815);
|
|
13114
13117
|
},
|
|
13115
13118
|
m: function mount(target, anchor) {
|
|
13116
13119
|
insert_dev(target, div, anchor);
|
|
@@ -13132,14 +13135,14 @@
|
|
|
13132
13135
|
block,
|
|
13133
13136
|
id: create_if_block_6.name,
|
|
13134
13137
|
type: "if",
|
|
13135
|
-
source: "(
|
|
13138
|
+
source: "(640:18) {#if isdouble}",
|
|
13136
13139
|
ctx
|
|
13137
13140
|
});
|
|
13138
13141
|
|
|
13139
13142
|
return block;
|
|
13140
13143
|
}
|
|
13141
13144
|
|
|
13142
|
-
// (
|
|
13145
|
+
// (638:14) {#each new Array(numberofdisplayedresults) as garbage, i}
|
|
13143
13146
|
function create_each_block_1(ctx) {
|
|
13144
13147
|
let if_block_anchor;
|
|
13145
13148
|
let if_block = /*roulleteresults*/ ctx[13] && /*roulleteresults*/ ctx[13][/*i*/ ctx[111]] && create_if_block_5$1(ctx);
|
|
@@ -13177,14 +13180,14 @@
|
|
|
13177
13180
|
block,
|
|
13178
13181
|
id: create_each_block_1.name,
|
|
13179
13182
|
type: "each",
|
|
13180
|
-
source: "(
|
|
13183
|
+
source: "(638:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
|
|
13181
13184
|
ctx
|
|
13182
13185
|
});
|
|
13183
13186
|
|
|
13184
13187
|
return block;
|
|
13185
13188
|
}
|
|
13186
13189
|
|
|
13187
|
-
// (
|
|
13190
|
+
// (621:14) {:else}
|
|
13188
13191
|
function create_else_block$1(ctx) {
|
|
13189
13192
|
let each_1_anchor;
|
|
13190
13193
|
let each_value = /*seats*/ ctx[25];
|
|
@@ -13245,14 +13248,14 @@
|
|
|
13245
13248
|
block,
|
|
13246
13249
|
id: create_else_block$1.name,
|
|
13247
13250
|
type: "else",
|
|
13248
|
-
source: "(
|
|
13251
|
+
source: "(621:14) {:else}",
|
|
13249
13252
|
ctx
|
|
13250
13253
|
});
|
|
13251
13254
|
|
|
13252
13255
|
return block;
|
|
13253
13256
|
}
|
|
13254
13257
|
|
|
13255
|
-
// (
|
|
13258
|
+
// (617:14) {#if istablefull}
|
|
13256
13259
|
function create_if_block_3$1(ctx) {
|
|
13257
13260
|
let span;
|
|
13258
13261
|
let t_value = /*$_*/ ctx[36]('gameThumbnail.full') + "";
|
|
@@ -13264,7 +13267,7 @@
|
|
|
13264
13267
|
t = text(t_value);
|
|
13265
13268
|
attr_dev(span, "class", "FullTable");
|
|
13266
13269
|
attr_dev(span, "part", "FullTable");
|
|
13267
|
-
add_location(span, file$1,
|
|
13270
|
+
add_location(span, file$1, 617, 16, 24130);
|
|
13268
13271
|
},
|
|
13269
13272
|
m: function mount(target, anchor) {
|
|
13270
13273
|
insert_dev(target, span, anchor);
|
|
@@ -13282,14 +13285,14 @@
|
|
|
13282
13285
|
block,
|
|
13283
13286
|
id: create_if_block_3$1.name,
|
|
13284
13287
|
type: "if",
|
|
13285
|
-
source: "(
|
|
13288
|
+
source: "(617:14) {#if istablefull}",
|
|
13286
13289
|
ctx
|
|
13287
13290
|
});
|
|
13288
13291
|
|
|
13289
13292
|
return block;
|
|
13290
13293
|
}
|
|
13291
13294
|
|
|
13292
|
-
// (
|
|
13295
|
+
// (622:16) {#each seats as seatData}
|
|
13293
13296
|
function create_each_block$1(ctx) {
|
|
13294
13297
|
let span;
|
|
13295
13298
|
let svg;
|
|
@@ -13307,14 +13310,14 @@
|
|
|
13307
13310
|
path1 = svg_element("path");
|
|
13308
13311
|
t = space();
|
|
13309
13312
|
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");
|
|
13310
|
-
add_location(path0, file$1,
|
|
13313
|
+
add_location(path0, file$1, 624, 22, 24631);
|
|
13311
13314
|
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");
|
|
13312
|
-
add_location(path1, file$1,
|
|
13315
|
+
add_location(path1, file$1, 625, 22, 25007);
|
|
13313
13316
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
13314
13317
|
attr_dev(svg, "width", "13");
|
|
13315
13318
|
attr_dev(svg, "height", "14");
|
|
13316
13319
|
attr_dev(svg, "viewBox", "0 0 13 14");
|
|
13317
|
-
add_location(svg, file$1,
|
|
13320
|
+
add_location(svg, file$1, 623, 20, 24525);
|
|
13318
13321
|
|
|
13319
13322
|
attr_dev(span, "class", span_class_value = /*contains*/ ctx[44](/*currentoccupiedseats*/ ctx[29], /*seatData*/ ctx[106].toString())
|
|
13320
13323
|
? 'ClosedSeat'
|
|
@@ -13324,7 +13327,7 @@
|
|
|
13324
13327
|
? 'ClosedSeat'
|
|
13325
13328
|
: 'OpenSeat');
|
|
13326
13329
|
|
|
13327
|
-
add_location(span, file$1,
|
|
13330
|
+
add_location(span, file$1, 622, 18, 24323);
|
|
13328
13331
|
},
|
|
13329
13332
|
m: function mount(target, anchor) {
|
|
13330
13333
|
insert_dev(target, span, anchor);
|
|
@@ -13355,14 +13358,14 @@
|
|
|
13355
13358
|
block,
|
|
13356
13359
|
id: create_each_block$1.name,
|
|
13357
13360
|
type: "each",
|
|
13358
|
-
source: "(
|
|
13361
|
+
source: "(622:16) {#each seats as seatData}",
|
|
13359
13362
|
ctx
|
|
13360
13363
|
});
|
|
13361
13364
|
|
|
13362
13365
|
return block;
|
|
13363
13366
|
}
|
|
13364
13367
|
|
|
13365
|
-
// (
|
|
13368
|
+
// (658:2) {#if showgamename}
|
|
13366
13369
|
function create_if_block$1(ctx) {
|
|
13367
13370
|
let p;
|
|
13368
13371
|
let t;
|
|
@@ -13374,7 +13377,7 @@
|
|
|
13374
13377
|
attr_dev(p, "class", "GameNameBelow");
|
|
13375
13378
|
attr_dev(p, "part", "GameNameBelow");
|
|
13376
13379
|
attr_dev(p, "title", /*gamename*/ ctx[4]);
|
|
13377
|
-
add_location(p, file$1,
|
|
13380
|
+
add_location(p, file$1, 658, 4, 26700);
|
|
13378
13381
|
},
|
|
13379
13382
|
m: function mount(target, anchor) {
|
|
13380
13383
|
insert_dev(target, p, anchor);
|
|
@@ -13396,7 +13399,7 @@
|
|
|
13396
13399
|
block,
|
|
13397
13400
|
id: create_if_block$1.name,
|
|
13398
13401
|
type: "if",
|
|
13399
|
-
source: "(
|
|
13402
|
+
source: "(658:2) {#if showgamename}",
|
|
13400
13403
|
ctx
|
|
13401
13404
|
});
|
|
13402
13405
|
|
|
@@ -13490,23 +13493,23 @@
|
|
|
13490
13493
|
attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[17] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[18] ? 'Loaded' : ''));
|
|
13491
13494
|
attr_dev(img, "alt", "");
|
|
13492
13495
|
attr_dev(img, "loading", "lazy");
|
|
13493
|
-
add_location(img, file$1,
|
|
13496
|
+
add_location(img, file$1, 552, 4, 19063);
|
|
13494
13497
|
attr_dev(p, "class", "GameInfoName");
|
|
13495
13498
|
attr_dev(p, "part", "GameInfoName");
|
|
13496
13499
|
attr_dev(p, "title", /*gamename*/ ctx[4]);
|
|
13497
|
-
add_location(p, file$1,
|
|
13500
|
+
add_location(p, file$1, 571, 8, 21096);
|
|
13498
13501
|
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[17] ? 'GameHovered' : ''));
|
|
13499
13502
|
attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[17] ? 'GameHovered' : ''));
|
|
13500
|
-
add_location(div0, file$1,
|
|
13503
|
+
add_location(div0, file$1, 554, 6, 19376);
|
|
13501
13504
|
attr_dev(span, "class", "GameInfoVendor");
|
|
13502
13505
|
attr_dev(span, "part", "GameInfoVendor");
|
|
13503
|
-
add_location(span, file$1,
|
|
13506
|
+
add_location(span, file$1, 576, 6, 21363);
|
|
13504
13507
|
attr_dev(div1, "class", "GameInfoWrapper");
|
|
13505
13508
|
attr_dev(div1, "part", "GameInfoWrapper");
|
|
13506
|
-
add_location(div1, file$1,
|
|
13509
|
+
add_location(div1, file$1, 553, 4, 19317);
|
|
13507
13510
|
attr_dev(div2, "class", "GameExtraInfo");
|
|
13508
13511
|
attr_dev(div2, "part", "GameExtraInfo");
|
|
13509
|
-
add_location(div2, file$1,
|
|
13512
|
+
add_location(div2, file$1, 593, 4, 22999);
|
|
13510
13513
|
|
|
13511
13514
|
attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[12] && !/*isopen*/ ctx[23] && /*openhours*/ ctx[24].value || /*livegamedata*/ ctx[12] && /*istablefull*/ ctx[33]
|
|
13512
13515
|
? 'GameInnerContainerUnavailable'
|
|
@@ -13516,10 +13519,10 @@
|
|
|
13516
13519
|
? 'GameInnerContainerUnavailable'
|
|
13517
13520
|
: ''));
|
|
13518
13521
|
|
|
13519
|
-
add_location(div3, file$1,
|
|
13522
|
+
add_location(div3, file$1, 551, 2, 18675);
|
|
13520
13523
|
attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[34]}`);
|
|
13521
13524
|
attr_dev(div4, "part", div4_part_value = `GameContainer ${/*extraclassname*/ ctx[34]}`);
|
|
13522
|
-
add_location(div4, file$1,
|
|
13525
|
+
add_location(div4, file$1, 550, 0, 18549);
|
|
13523
13526
|
},
|
|
13524
13527
|
l: function claim(nodes) {
|
|
13525
13528
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -13913,26 +13916,15 @@
|
|
|
13913
13916
|
};
|
|
13914
13917
|
|
|
13915
13918
|
const toggleGameFrame = gameId => {
|
|
13916
|
-
|
|
13917
|
-
|
|
13918
|
-
|
|
13919
|
-
|
|
13920
|
-
|
|
13921
|
-
|
|
13922
|
-
|
|
13923
|
-
|
|
13924
|
-
|
|
13925
|
-
});
|
|
13926
|
-
}
|
|
13927
|
-
} else {
|
|
13928
|
-
//Analytics event
|
|
13929
|
-
if (typeof gtag == 'function') {
|
|
13930
|
-
gtag('event', 'OpenGame', {
|
|
13931
|
-
'context': 'GameThumbnail',
|
|
13932
|
-
'gameId': `${gameId}`,
|
|
13933
|
-
'userId': `${playerID ? playerID : 'Not logged in'}`
|
|
13934
|
-
});
|
|
13935
|
-
}
|
|
13919
|
+
window.postMessage({ type: 'SearchedItemClicked', gameId }, window.location.href);
|
|
13920
|
+
|
|
13921
|
+
//Analytics event -- if game was searched
|
|
13922
|
+
if (typeof gtag == 'function') {
|
|
13923
|
+
gtag('event', 'OpenGame', {
|
|
13924
|
+
'context': 'GameThumbnail--Searched',
|
|
13925
|
+
'gameId': `${gameId}`,
|
|
13926
|
+
'userId': `${playerID ? playerID : 'Not logged in'}`
|
|
13927
|
+
});
|
|
13936
13928
|
}
|
|
13937
13929
|
|
|
13938
13930
|
if (isMobile(userAgent) && integratedgameframemobile == "true") {
|
|
@@ -15181,11 +15173,11 @@
|
|
|
15181
15173
|
|
|
15182
15174
|
function get_each_context(ctx, list, i) {
|
|
15183
15175
|
const child_ctx = ctx.slice();
|
|
15184
|
-
child_ctx[
|
|
15176
|
+
child_ctx[48] = list[i];
|
|
15185
15177
|
return child_ctx;
|
|
15186
15178
|
}
|
|
15187
15179
|
|
|
15188
|
-
// (
|
|
15180
|
+
// (288:4) {:else}
|
|
15189
15181
|
function create_else_block(ctx) {
|
|
15190
15182
|
let t0;
|
|
15191
15183
|
let div;
|
|
@@ -15211,7 +15203,7 @@
|
|
|
15211
15203
|
t1 = space();
|
|
15212
15204
|
if (if_block2) if_block2.c();
|
|
15213
15205
|
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'));
|
|
15214
|
-
add_location(div, file,
|
|
15206
|
+
add_location(div, file, 298, 6, 10738);
|
|
15215
15207
|
},
|
|
15216
15208
|
m: function mount(target, anchor) {
|
|
15217
15209
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15280,14 +15272,14 @@
|
|
|
15280
15272
|
block,
|
|
15281
15273
|
id: create_else_block.name,
|
|
15282
15274
|
type: "else",
|
|
15283
|
-
source: "(
|
|
15275
|
+
source: "(288:4) {:else}",
|
|
15284
15276
|
ctx
|
|
15285
15277
|
});
|
|
15286
15278
|
|
|
15287
15279
|
return block;
|
|
15288
15280
|
}
|
|
15289
15281
|
|
|
15290
|
-
// (
|
|
15282
|
+
// (286:4) {#if isLoading}
|
|
15291
15283
|
function create_if_block(ctx) {
|
|
15292
15284
|
let p;
|
|
15293
15285
|
let t_value = /*$_*/ ctx[17]('Translations.loading') + "";
|
|
@@ -15297,7 +15289,7 @@
|
|
|
15297
15289
|
c: function create() {
|
|
15298
15290
|
p = element("p");
|
|
15299
15291
|
t = text(t_value);
|
|
15300
|
-
add_location(p, file,
|
|
15292
|
+
add_location(p, file, 286, 6, 10056);
|
|
15301
15293
|
},
|
|
15302
15294
|
m: function mount(target, anchor) {
|
|
15303
15295
|
insert_dev(target, p, anchor);
|
|
@@ -15315,14 +15307,14 @@
|
|
|
15315
15307
|
block,
|
|
15316
15308
|
id: create_if_block.name,
|
|
15317
15309
|
type: "if",
|
|
15318
|
-
source: "(
|
|
15310
|
+
source: "(286:4) {#if isLoading}",
|
|
15319
15311
|
ctx
|
|
15320
15312
|
});
|
|
15321
15313
|
|
|
15322
15314
|
return block;
|
|
15323
15315
|
}
|
|
15324
15316
|
|
|
15325
|
-
// (
|
|
15317
|
+
// (296:40)
|
|
15326
15318
|
function create_if_block_5(ctx) {
|
|
15327
15319
|
let p;
|
|
15328
15320
|
let t_value = /*$_*/ ctx[17]('Translations.searchResult') + "";
|
|
@@ -15332,8 +15324,12 @@
|
|
|
15332
15324
|
c: function create() {
|
|
15333
15325
|
p = element("p");
|
|
15334
15326
|
t = text(t_value);
|
|
15335
|
-
|
|
15336
|
-
|
|
15327
|
+
|
|
15328
|
+
attr_dev(p, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15329
|
+
? 'SearchMessage'
|
|
15330
|
+
: 'SearchMessagePc');
|
|
15331
|
+
|
|
15332
|
+
add_location(p, file, 296, 8, 10598);
|
|
15337
15333
|
},
|
|
15338
15334
|
m: function mount(target, anchor) {
|
|
15339
15335
|
insert_dev(target, p, anchor);
|
|
@@ -15351,14 +15347,14 @@
|
|
|
15351
15347
|
block,
|
|
15352
15348
|
id: create_if_block_5.name,
|
|
15353
15349
|
type: "if",
|
|
15354
|
-
source: "(
|
|
15350
|
+
source: "(296:40) ",
|
|
15355
15351
|
ctx
|
|
15356
15352
|
});
|
|
15357
15353
|
|
|
15358
15354
|
return block;
|
|
15359
15355
|
}
|
|
15360
15356
|
|
|
15361
|
-
// (
|
|
15357
|
+
// (289:6) {#if searchActive == true && searchValue.length < 2}
|
|
15362
15358
|
function create_if_block_3(ctx) {
|
|
15363
15359
|
let p;
|
|
15364
15360
|
let t0_value = /*$_*/ ctx[17]('Translations.recentSearch') + "";
|
|
@@ -15374,8 +15370,12 @@
|
|
|
15374
15370
|
t1 = space();
|
|
15375
15371
|
if (if_block) if_block.c();
|
|
15376
15372
|
if_block_anchor = empty();
|
|
15377
|
-
|
|
15378
|
-
|
|
15373
|
+
|
|
15374
|
+
attr_dev(p, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15375
|
+
? 'SearchMessage'
|
|
15376
|
+
: 'SearchMessagePc');
|
|
15377
|
+
|
|
15378
|
+
add_location(p, file, 289, 8, 10171);
|
|
15379
15379
|
},
|
|
15380
15380
|
m: function mount(target, anchor) {
|
|
15381
15381
|
insert_dev(target, p, anchor);
|
|
@@ -15412,14 +15412,14 @@
|
|
|
15412
15412
|
block,
|
|
15413
15413
|
id: create_if_block_3.name,
|
|
15414
15414
|
type: "if",
|
|
15415
|
-
source: "(
|
|
15415
|
+
source: "(289:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15416
15416
|
ctx
|
|
15417
15417
|
});
|
|
15418
15418
|
|
|
15419
15419
|
return block;
|
|
15420
15420
|
}
|
|
15421
15421
|
|
|
15422
|
-
// (
|
|
15422
|
+
// (291:10) {#if searchArray.length == 0}
|
|
15423
15423
|
function create_if_block_4(ctx) {
|
|
15424
15424
|
let div;
|
|
15425
15425
|
let p;
|
|
@@ -15431,10 +15431,14 @@
|
|
|
15431
15431
|
div = element("div");
|
|
15432
15432
|
p = element("p");
|
|
15433
15433
|
t = text(t_value);
|
|
15434
|
-
|
|
15435
|
-
|
|
15434
|
+
|
|
15435
|
+
attr_dev(p, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15436
|
+
? 'SearchMessage'
|
|
15437
|
+
: 'SearchMessagePc');
|
|
15438
|
+
|
|
15439
|
+
add_location(p, file, 292, 12, 10390);
|
|
15436
15440
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15437
|
-
add_location(div, file,
|
|
15441
|
+
add_location(div, file, 291, 10, 10342);
|
|
15438
15442
|
},
|
|
15439
15443
|
m: function mount(target, anchor) {
|
|
15440
15444
|
insert_dev(target, div, anchor);
|
|
@@ -15453,14 +15457,14 @@
|
|
|
15453
15457
|
block,
|
|
15454
15458
|
id: create_if_block_4.name,
|
|
15455
15459
|
type: "if",
|
|
15456
|
-
source: "(
|
|
15460
|
+
source: "(291:10) {#if searchArray.length == 0}",
|
|
15457
15461
|
ctx
|
|
15458
15462
|
});
|
|
15459
15463
|
|
|
15460
15464
|
return block;
|
|
15461
15465
|
}
|
|
15462
15466
|
|
|
15463
|
-
// (
|
|
15467
|
+
// (300:8) {#if searchCancelled === false}
|
|
15464
15468
|
function create_if_block_2(ctx) {
|
|
15465
15469
|
let each_1_anchor;
|
|
15466
15470
|
let each_value = /*searchArray*/ ctx[11];
|
|
@@ -15487,7 +15491,7 @@
|
|
|
15487
15491
|
insert_dev(target, each_1_anchor, anchor);
|
|
15488
15492
|
},
|
|
15489
15493
|
p: function update(ctx, dirty) {
|
|
15490
|
-
if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
15494
|
+
if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/ 1149183) {
|
|
15491
15495
|
each_value = /*searchArray*/ ctx[11];
|
|
15492
15496
|
validate_each_argument(each_value);
|
|
15493
15497
|
let i;
|
|
@@ -15521,14 +15525,14 @@
|
|
|
15521
15525
|
block,
|
|
15522
15526
|
id: create_if_block_2.name,
|
|
15523
15527
|
type: "if",
|
|
15524
|
-
source: "(
|
|
15528
|
+
source: "(300:8) {#if searchCancelled === false}",
|
|
15525
15529
|
ctx
|
|
15526
15530
|
});
|
|
15527
15531
|
|
|
15528
15532
|
return block;
|
|
15529
15533
|
}
|
|
15530
15534
|
|
|
15531
|
-
// (
|
|
15535
|
+
// (301:10) {#each searchArray as game}
|
|
15532
15536
|
function create_each_block(ctx) {
|
|
15533
15537
|
let casino_game_thumbnail;
|
|
15534
15538
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15550,18 +15554,18 @@
|
|
|
15550
15554
|
set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[16]);
|
|
15551
15555
|
set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
|
|
15552
15556
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15553
|
-
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15554
|
-
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15555
|
-
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15556
|
-
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15557
|
-
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value = /*game*/ ctx[
|
|
15558
|
-
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15559
|
-
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15560
|
-
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15561
|
-
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15562
|
-
|
|
15563
|
-
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15564
|
-
? /*game*/ ctx[
|
|
15557
|
+
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[48].thumbnail);
|
|
15558
|
+
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[48].name);
|
|
15559
|
+
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[48].vendor.name);
|
|
15560
|
+
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[48].isNew);
|
|
15561
|
+
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value = /*game*/ ctx[48].advancedTags?.length > 0 && /*addGameTag*/ ctx[20](/*game*/ ctx[48].advancedTags));
|
|
15562
|
+
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[48].cellSize);
|
|
15563
|
+
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[48].id);
|
|
15564
|
+
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[48].hasFunMode);
|
|
15565
|
+
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[48].isFavorite);
|
|
15566
|
+
|
|
15567
|
+
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[48].details
|
|
15568
|
+
? /*game*/ ctx[48].launchUrl
|
|
15565
15569
|
: '');
|
|
15566
15570
|
|
|
15567
15571
|
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
|
|
@@ -15569,7 +15573,7 @@
|
|
|
15569
15573
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15570
15574
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15571
15575
|
set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
|
|
15572
|
-
add_location(casino_game_thumbnail, file,
|
|
15576
|
+
add_location(casino_game_thumbnail, file, 301, 12, 10907);
|
|
15573
15577
|
},
|
|
15574
15578
|
m: function mount(target, anchor) {
|
|
15575
15579
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15595,44 +15599,44 @@
|
|
|
15595
15599
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15596
15600
|
}
|
|
15597
15601
|
|
|
15598
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15602
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[48].thumbnail)) {
|
|
15599
15603
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
15600
15604
|
}
|
|
15601
15605
|
|
|
15602
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15606
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[48].name)) {
|
|
15603
15607
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
15604
15608
|
}
|
|
15605
15609
|
|
|
15606
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15610
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[48].vendor.name)) {
|
|
15607
15611
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
15608
15612
|
}
|
|
15609
15613
|
|
|
15610
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15614
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[48].isNew)) {
|
|
15611
15615
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
15612
15616
|
}
|
|
15613
15617
|
|
|
15614
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gametag_value !== (casino_game_thumbnail_gametag_value = /*game*/ ctx[
|
|
15618
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gametag_value !== (casino_game_thumbnail_gametag_value = /*game*/ ctx[48].advancedTags?.length > 0 && /*addGameTag*/ ctx[20](/*game*/ ctx[48].advancedTags))) {
|
|
15615
15619
|
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value);
|
|
15616
15620
|
}
|
|
15617
15621
|
|
|
15618
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15622
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[48].cellSize)) {
|
|
15619
15623
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
15620
15624
|
}
|
|
15621
15625
|
|
|
15622
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15626
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[48].id)) {
|
|
15623
15627
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
15624
15628
|
}
|
|
15625
15629
|
|
|
15626
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15630
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[48].hasFunMode)) {
|
|
15627
15631
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
15628
15632
|
}
|
|
15629
15633
|
|
|
15630
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15634
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[48].isFavorite)) {
|
|
15631
15635
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
15632
15636
|
}
|
|
15633
15637
|
|
|
15634
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15635
|
-
? /*game*/ ctx[
|
|
15638
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[48].details
|
|
15639
|
+
? /*game*/ ctx[48].launchUrl
|
|
15636
15640
|
: '')) {
|
|
15637
15641
|
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
|
|
15638
15642
|
}
|
|
@@ -15666,14 +15670,14 @@
|
|
|
15666
15670
|
block,
|
|
15667
15671
|
id: create_each_block.name,
|
|
15668
15672
|
type: "each",
|
|
15669
|
-
source: "(
|
|
15673
|
+
source: "(301:10) {#each searchArray as game}",
|
|
15670
15674
|
ctx
|
|
15671
15675
|
});
|
|
15672
15676
|
|
|
15673
15677
|
return block;
|
|
15674
15678
|
}
|
|
15675
15679
|
|
|
15676
|
-
// (
|
|
15680
|
+
// (326:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
15677
15681
|
function create_if_block_1(ctx) {
|
|
15678
15682
|
let div;
|
|
15679
15683
|
let p0;
|
|
@@ -15692,11 +15696,15 @@
|
|
|
15692
15696
|
t1 = space();
|
|
15693
15697
|
p1 = element("p");
|
|
15694
15698
|
t2 = text(t2_value);
|
|
15695
|
-
|
|
15696
|
-
|
|
15697
|
-
|
|
15699
|
+
|
|
15700
|
+
attr_dev(p0, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15701
|
+
? 'SearchMessage'
|
|
15702
|
+
: 'SearchMessagePc');
|
|
15703
|
+
|
|
15704
|
+
add_location(p0, file, 327, 12, 11956);
|
|
15705
|
+
add_location(p1, file, 328, 12, 12085);
|
|
15698
15706
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15699
|
-
add_location(div, file,
|
|
15707
|
+
add_location(div, file, 326, 10, 11908);
|
|
15700
15708
|
},
|
|
15701
15709
|
m: function mount(target, anchor) {
|
|
15702
15710
|
insert_dev(target, div, anchor);
|
|
@@ -15719,7 +15727,7 @@
|
|
|
15719
15727
|
block,
|
|
15720
15728
|
id: create_if_block_1.name,
|
|
15721
15729
|
type: "if",
|
|
15722
|
-
source: "(
|
|
15730
|
+
source: "(326:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
15723
15731
|
ctx
|
|
15724
15732
|
});
|
|
15725
15733
|
|
|
@@ -15785,45 +15793,61 @@
|
|
|
15785
15793
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15786
15794
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15787
15795
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15788
|
-
add_location(path0, file,
|
|
15796
|
+
add_location(path0, file, 269, 10, 8967);
|
|
15789
15797
|
attr_dev(circle, "cx", "6.5");
|
|
15790
15798
|
attr_dev(circle, "cy", "6.5");
|
|
15791
15799
|
attr_dev(circle, "r", "5.75");
|
|
15792
15800
|
attr_dev(circle, "stroke", "#212121");
|
|
15793
15801
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15794
|
-
add_location(circle, file,
|
|
15802
|
+
add_location(circle, file, 270, 10, 9095);
|
|
15795
15803
|
attr_dev(svg0, "width", "14");
|
|
15796
15804
|
attr_dev(svg0, "height", "15");
|
|
15797
15805
|
attr_dev(svg0, "fill", "none");
|
|
15798
15806
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15799
|
-
add_location(svg0, file,
|
|
15800
|
-
|
|
15801
|
-
|
|
15807
|
+
add_location(svg0, file, 268, 8, 8881);
|
|
15808
|
+
|
|
15809
|
+
attr_dev(div0, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15810
|
+
? 'SearchIcon'
|
|
15811
|
+
: 'SearchIconPc');
|
|
15812
|
+
|
|
15813
|
+
add_location(div0, file, 267, 6, 8793);
|
|
15802
15814
|
attr_dev(input, "class", "SearchInput");
|
|
15803
15815
|
attr_dev(input, "type", "search");
|
|
15804
15816
|
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'));
|
|
15805
|
-
add_location(input, file,
|
|
15817
|
+
add_location(input, file, 274, 8, 9300);
|
|
15806
15818
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15807
15819
|
attr_dev(path1, "stroke", "#717171");
|
|
15808
15820
|
attr_dev(path1, "stroke-width", "2");
|
|
15809
15821
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15810
15822
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15811
|
-
add_location(path1, file,
|
|
15823
|
+
add_location(path1, file, 277, 12, 9687);
|
|
15812
15824
|
attr_dev(svg1, "width", "11");
|
|
15813
15825
|
attr_dev(svg1, "height", "11");
|
|
15814
15826
|
attr_dev(svg1, "fill", "none");
|
|
15815
15827
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15816
|
-
add_location(svg1, file,
|
|
15828
|
+
add_location(svg1, file, 276, 10, 9599);
|
|
15817
15829
|
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'));
|
|
15818
|
-
add_location(span, file,
|
|
15819
|
-
|
|
15820
|
-
|
|
15830
|
+
add_location(span, file, 275, 8, 9478);
|
|
15831
|
+
|
|
15832
|
+
attr_dev(div1, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15833
|
+
? 'SearchContainer'
|
|
15834
|
+
: 'SearchContainerPc');
|
|
15835
|
+
|
|
15836
|
+
add_location(div1, file, 273, 6, 9202);
|
|
15821
15837
|
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''));
|
|
15822
|
-
add_location(small, file,
|
|
15823
|
-
|
|
15824
|
-
|
|
15825
|
-
|
|
15826
|
-
|
|
15838
|
+
add_location(small, file, 281, 6, 9863);
|
|
15839
|
+
|
|
15840
|
+
attr_dev(div2, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15841
|
+
? 'Search'
|
|
15842
|
+
: 'SearchPc');
|
|
15843
|
+
|
|
15844
|
+
add_location(div2, file, 266, 4, 8715);
|
|
15845
|
+
|
|
15846
|
+
attr_dev(div3, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15847
|
+
? 'CasinoSearch'
|
|
15848
|
+
: 'CasinoSearchPc');
|
|
15849
|
+
|
|
15850
|
+
add_location(div3, file, 265, 2, 8592);
|
|
15827
15851
|
},
|
|
15828
15852
|
l: function claim(nodes) {
|
|
15829
15853
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -15839,7 +15863,7 @@
|
|
|
15839
15863
|
append_dev(div2, div1);
|
|
15840
15864
|
append_dev(div1, input);
|
|
15841
15865
|
set_input_value(input, /*searchValue*/ ctx[8]);
|
|
15842
|
-
/*input_binding*/ ctx[
|
|
15866
|
+
/*input_binding*/ ctx[29](input);
|
|
15843
15867
|
append_dev(div1, t1);
|
|
15844
15868
|
append_dev(div1, span);
|
|
15845
15869
|
append_dev(span, svg1);
|
|
@@ -15849,14 +15873,14 @@
|
|
|
15849
15873
|
append_dev(small, t3);
|
|
15850
15874
|
append_dev(div3, t4);
|
|
15851
15875
|
if_block.m(div3, null);
|
|
15852
|
-
/*div3_binding*/ ctx[
|
|
15876
|
+
/*div3_binding*/ ctx[32](div3);
|
|
15853
15877
|
|
|
15854
15878
|
if (!mounted) {
|
|
15855
15879
|
dispose = [
|
|
15856
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
15857
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
15858
|
-
listen_dev(span, "click", /*click_handler*/ ctx[
|
|
15859
|
-
listen_dev(small, "click", /*click_handler_1*/ ctx[
|
|
15880
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[28]),
|
|
15881
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[19], false, false, false),
|
|
15882
|
+
listen_dev(span, "click", /*click_handler*/ ctx[30], false, false, false),
|
|
15883
|
+
listen_dev(small, "click", /*click_handler_1*/ ctx[31], false, false, false)
|
|
15860
15884
|
];
|
|
15861
15885
|
|
|
15862
15886
|
mounted = true;
|
|
@@ -15897,9 +15921,9 @@
|
|
|
15897
15921
|
o: noop$1,
|
|
15898
15922
|
d: function destroy(detaching) {
|
|
15899
15923
|
if (detaching) detach_dev(div3);
|
|
15900
|
-
/*input_binding*/ ctx[
|
|
15924
|
+
/*input_binding*/ ctx[29](null);
|
|
15901
15925
|
if_block.d();
|
|
15902
|
-
/*div3_binding*/ ctx[
|
|
15926
|
+
/*div3_binding*/ ctx[32](null);
|
|
15903
15927
|
mounted = false;
|
|
15904
15928
|
run_all(dispose);
|
|
15905
15929
|
}
|
|
@@ -15966,18 +15990,14 @@
|
|
|
15966
15990
|
});
|
|
15967
15991
|
|
|
15968
15992
|
const messageHandler = e => {
|
|
15969
|
-
if (e.data && e.data.type == '
|
|
15970
|
-
addSearchedItem(e.data.gameId);
|
|
15971
|
-
}
|
|
15972
|
-
|
|
15973
|
-
if (e.data && e.data.type == 'ShowGameModal') {
|
|
15993
|
+
if (e.data && e.data.type == 'SearchedItemClicked') {
|
|
15974
15994
|
addSearchedItem(e.data.gameId);
|
|
15975
15995
|
}
|
|
15976
15996
|
|
|
15977
15997
|
if (e.data.type == 'UserSessionID') {
|
|
15978
15998
|
$$invalidate(15, sessionID = e.data.session);
|
|
15979
15999
|
$$invalidate(16, playerID = e.data.userid);
|
|
15980
|
-
$$invalidate(
|
|
16000
|
+
$$invalidate(27, isLoggedIn = true);
|
|
15981
16001
|
}
|
|
15982
16002
|
};
|
|
15983
16003
|
|
|
@@ -15987,7 +16007,8 @@
|
|
|
15987
16007
|
|
|
15988
16008
|
if (endpoint && datasource && lang) {
|
|
15989
16009
|
if (searchValue.length < 2) {
|
|
15990
|
-
|
|
16010
|
+
$$invalidate(11, searchArray = []);
|
|
16011
|
+
let recentSearchedGames = localStorage.getItem(`searchedGamesWds_casino`);
|
|
15991
16012
|
let recentSearchedGamesArray = [];
|
|
15992
16013
|
|
|
15993
16014
|
if (recentSearchedGames) {
|
|
@@ -16077,7 +16098,7 @@
|
|
|
16077
16098
|
};
|
|
16078
16099
|
|
|
16079
16100
|
const setSession = () => {
|
|
16080
|
-
$$invalidate(
|
|
16101
|
+
$$invalidate(27, isLoggedIn = true);
|
|
16081
16102
|
$$invalidate(15, sessionID = session);
|
|
16082
16103
|
$$invalidate(16, playerID = userid);
|
|
16083
16104
|
};
|
|
@@ -16115,7 +16136,7 @@
|
|
|
16115
16136
|
};
|
|
16116
16137
|
|
|
16117
16138
|
const addSearchedItem = gameID => {
|
|
16118
|
-
searchedValues =
|
|
16139
|
+
searchedValues = localStorage.getItem('searchedGamesWds_casino');
|
|
16119
16140
|
|
|
16120
16141
|
if (searchedValues) {
|
|
16121
16142
|
searchedValues = searchedValues.split(',');
|
|
@@ -16127,15 +16148,7 @@
|
|
|
16127
16148
|
let value;
|
|
16128
16149
|
searchedValues.push(gameID);
|
|
16129
16150
|
value = searchedValues.join(',');
|
|
16130
|
-
|
|
16131
|
-
}
|
|
16132
|
-
};
|
|
16133
|
-
|
|
16134
|
-
const getCookieValue = name => {
|
|
16135
|
-
let match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));
|
|
16136
|
-
|
|
16137
|
-
if (match) {
|
|
16138
|
-
return match[2];
|
|
16151
|
+
localStorage.setItem(`searchedGamesWds_casino`, value);
|
|
16139
16152
|
}
|
|
16140
16153
|
};
|
|
16141
16154
|
|
|
@@ -16240,16 +16253,16 @@
|
|
|
16240
16253
|
|
|
16241
16254
|
$$self.$$set = $$props => {
|
|
16242
16255
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16243
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16244
|
-
if ('session' in $$props) $$invalidate(
|
|
16245
|
-
if ('userid' in $$props) $$invalidate(
|
|
16256
|
+
if ('datasource' in $$props) $$invalidate(23, datasource = $$props.datasource);
|
|
16257
|
+
if ('session' in $$props) $$invalidate(24, session = $$props.session);
|
|
16258
|
+
if ('userid' in $$props) $$invalidate(25, userid = $$props.userid);
|
|
16246
16259
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16247
16260
|
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16248
16261
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16249
16262
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16250
16263
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16251
16264
|
if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
16252
|
-
if ('translationurl' in $$props) $$invalidate(
|
|
16265
|
+
if ('translationurl' in $$props) $$invalidate(26, translationurl = $$props.translationurl);
|
|
16253
16266
|
if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
|
|
16254
16267
|
};
|
|
16255
16268
|
|
|
@@ -16297,7 +16310,6 @@
|
|
|
16297
16310
|
checkFavorite,
|
|
16298
16311
|
addGameTag,
|
|
16299
16312
|
addSearchedItem,
|
|
16300
|
-
getCookieValue,
|
|
16301
16313
|
cancelSearch,
|
|
16302
16314
|
clearSearch,
|
|
16303
16315
|
sendSearchStatus,
|
|
@@ -16309,18 +16321,18 @@
|
|
|
16309
16321
|
|
|
16310
16322
|
$$self.$inject_state = $$props => {
|
|
16311
16323
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16312
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16313
|
-
if ('session' in $$props) $$invalidate(
|
|
16314
|
-
if ('userid' in $$props) $$invalidate(
|
|
16324
|
+
if ('datasource' in $$props) $$invalidate(23, datasource = $$props.datasource);
|
|
16325
|
+
if ('session' in $$props) $$invalidate(24, session = $$props.session);
|
|
16326
|
+
if ('userid' in $$props) $$invalidate(25, userid = $$props.userid);
|
|
16315
16327
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16316
16328
|
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16317
16329
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16318
16330
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16319
16331
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16320
16332
|
if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
16321
|
-
if ('translationurl' in $$props) $$invalidate(
|
|
16333
|
+
if ('translationurl' in $$props) $$invalidate(26, translationurl = $$props.translationurl);
|
|
16322
16334
|
if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
|
|
16323
|
-
if ('userAgent' in $$props) $$invalidate(
|
|
16335
|
+
if ('userAgent' in $$props) $$invalidate(18, userAgent = $$props.userAgent);
|
|
16324
16336
|
if ('searchArray' in $$props) $$invalidate(11, searchArray = $$props.searchArray);
|
|
16325
16337
|
if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
|
|
16326
16338
|
if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
|
|
@@ -16330,7 +16342,7 @@
|
|
|
16330
16342
|
if ('searchActive' in $$props) $$invalidate(13, searchActive = $$props.searchActive);
|
|
16331
16343
|
if ('isLoading' in $$props) $$invalidate(14, isLoading = $$props.isLoading);
|
|
16332
16344
|
if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
|
|
16333
|
-
if ('isLoggedIn' in $$props) $$invalidate(
|
|
16345
|
+
if ('isLoggedIn' in $$props) $$invalidate(27, isLoggedIn = $$props.isLoggedIn);
|
|
16334
16346
|
if ('sessionID' in $$props) $$invalidate(15, sessionID = $$props.sessionID);
|
|
16335
16347
|
if ('playerID' in $$props) $$invalidate(16, playerID = $$props.playerID);
|
|
16336
16348
|
if ('favoriteGamesIds' in $$props) favoriteGamesIds = $$props.favoriteGamesIds;
|
|
@@ -16341,7 +16353,7 @@
|
|
|
16341
16353
|
}
|
|
16342
16354
|
|
|
16343
16355
|
$$self.$$.update = () => {
|
|
16344
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
16356
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 8389379) {
|
|
16345
16357
|
if (searchValue.length >= 2) {
|
|
16346
16358
|
const searchUrl = new URL(`${endpoint}/casino/games`);
|
|
16347
16359
|
searchUrl.searchParams.append("datasource", datasource);
|
|
@@ -16368,15 +16380,15 @@
|
|
|
16368
16380
|
lang && setActiveLanguage();
|
|
16369
16381
|
}
|
|
16370
16382
|
|
|
16371
|
-
if ($$self.$$.dirty[0] & /*translationurl*/
|
|
16383
|
+
if ($$self.$$.dirty[0] & /*translationurl*/ 67108864) {
|
|
16372
16384
|
translationurl && setTranslationUrl();
|
|
16373
16385
|
}
|
|
16374
16386
|
|
|
16375
|
-
if ($$self.$$.dirty[0] & /*session, userid*/
|
|
16387
|
+
if ($$self.$$.dirty[0] & /*session, userid*/ 50331648) {
|
|
16376
16388
|
session && userid && setSession();
|
|
16377
16389
|
}
|
|
16378
16390
|
|
|
16379
|
-
if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/
|
|
16391
|
+
if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/ 134217856) {
|
|
16380
16392
|
showfavorites && isLoggedIn && getFavoriteGames();
|
|
16381
16393
|
}
|
|
16382
16394
|
|
|
@@ -16408,6 +16420,7 @@
|
|
|
16408
16420
|
sessionID,
|
|
16409
16421
|
playerID,
|
|
16410
16422
|
$_,
|
|
16423
|
+
userAgent,
|
|
16411
16424
|
onFocus,
|
|
16412
16425
|
addGameTag,
|
|
16413
16426
|
cancelSearch,
|
|
@@ -16428,7 +16441,7 @@
|
|
|
16428
16441
|
class CasinoSearch extends SvelteElement {
|
|
16429
16442
|
constructor(options) {
|
|
16430
16443
|
super();
|
|
16431
|
-
this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearch{margin:16px}.Search{display:flex;align-items:center;position:relative;justify-content:space-between;margin-bottom:20px}.SearchIcon{position:absolute;left:5%;z-index:1}.SearchIcon svg{height:14px;width:13px}.SearchContainer{width:100%;position:relative}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:15px}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(Min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}</style>`;
|
|
16444
|
+
this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearchPc{margin:30px 16px}.CasinoSearch{margin:30px 16px}.SearchPc{display:flex;align-items:center;position:relative;margin-bottom:20px;left:19%}.Search{display:flex;align-items:center;position:relative;justify-content:space-between;margin-bottom:20px}.SearchIconPc{position:absolute;left:20px;z-index:1}.SearchIconPc svg{height:14px;width:13px}.SearchIcon{position:absolute;left:5%;z-index:1}.SearchIcon svg{height:14px;width:13px}.SearchContainerPc{width:60%;position:relative}.SearchContainer{width:100%;position:relative}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:15px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessagePc{font-size:18px;font-weight:600;margin:24px 0;color:#FFFFFF;margin-top:90px}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(Min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}</style>`;
|
|
16432
16445
|
|
|
16433
16446
|
init(
|
|
16434
16447
|
this,
|
|
@@ -16442,16 +16455,16 @@
|
|
|
16442
16455
|
safe_not_equal,
|
|
16443
16456
|
{
|
|
16444
16457
|
endpoint: 0,
|
|
16445
|
-
datasource:
|
|
16446
|
-
session:
|
|
16447
|
-
userid:
|
|
16458
|
+
datasource: 23,
|
|
16459
|
+
session: 24,
|
|
16460
|
+
userid: 25,
|
|
16448
16461
|
lang: 1,
|
|
16449
16462
|
clientstyling: 2,
|
|
16450
16463
|
clientstylingurl: 3,
|
|
16451
16464
|
integratedgameframedesktop: 4,
|
|
16452
16465
|
integratedgameframemobile: 5,
|
|
16453
16466
|
gamepagemodalurl: 6,
|
|
16454
|
-
translationurl:
|
|
16467
|
+
translationurl: 26,
|
|
16455
16468
|
showfavorites: 7
|
|
16456
16469
|
},
|
|
16457
16470
|
null,
|
|
@@ -16497,7 +16510,7 @@
|
|
|
16497
16510
|
}
|
|
16498
16511
|
|
|
16499
16512
|
get datasource() {
|
|
16500
|
-
return this.$$.ctx[
|
|
16513
|
+
return this.$$.ctx[23];
|
|
16501
16514
|
}
|
|
16502
16515
|
|
|
16503
16516
|
set datasource(datasource) {
|
|
@@ -16506,7 +16519,7 @@
|
|
|
16506
16519
|
}
|
|
16507
16520
|
|
|
16508
16521
|
get session() {
|
|
16509
|
-
return this.$$.ctx[
|
|
16522
|
+
return this.$$.ctx[24];
|
|
16510
16523
|
}
|
|
16511
16524
|
|
|
16512
16525
|
set session(session) {
|
|
@@ -16515,7 +16528,7 @@
|
|
|
16515
16528
|
}
|
|
16516
16529
|
|
|
16517
16530
|
get userid() {
|
|
16518
|
-
return this.$$.ctx[
|
|
16531
|
+
return this.$$.ctx[25];
|
|
16519
16532
|
}
|
|
16520
16533
|
|
|
16521
16534
|
set userid(userid) {
|
|
@@ -16578,7 +16591,7 @@
|
|
|
16578
16591
|
}
|
|
16579
16592
|
|
|
16580
16593
|
get translationurl() {
|
|
16581
|
-
return this.$$.ctx[
|
|
16594
|
+
return this.$$.ctx[26];
|
|
16582
16595
|
}
|
|
16583
16596
|
|
|
16584
16597
|
set translationurl(translationurl) {
|