@everymatrix/casino-search 1.3.4 → 1.4.0
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 +222 -213
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +57 -31
package/dist/casino-search.js
CHANGED
|
@@ -12334,7 +12334,7 @@
|
|
|
12334
12334
|
return child_ctx;
|
|
12335
12335
|
}
|
|
12336
12336
|
|
|
12337
|
-
// (
|
|
12337
|
+
// (556: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: "(
|
|
12378
|
+
source: "(556:8) {#if fav}",
|
|
12379
12379
|
ctx
|
|
12380
12380
|
});
|
|
12381
12381
|
|
|
12382
12382
|
return block;
|
|
12383
12383
|
}
|
|
12384
12384
|
|
|
12385
|
-
// (
|
|
12385
|
+
// (557: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,
|
|
12400
|
+
add_location(path, file$1, 559, 112, 19956);
|
|
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,
|
|
12411
|
+
add_location(svg, file$1, 558, 14, 19686);
|
|
12412
12412
|
attr_dev(div, "class", "FavIconContainer");
|
|
12413
12413
|
attr_dev(div, "part", "FavIconContainer");
|
|
12414
|
-
add_location(div, file$1,
|
|
12414
|
+
add_location(div, file$1, 557, 12, 19571);
|
|
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: "(
|
|
12438
|
+
source: "(557:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
|
|
12439
12439
|
ctx
|
|
12440
12440
|
});
|
|
12441
12441
|
|
|
12442
12442
|
return block;
|
|
12443
12443
|
}
|
|
12444
12444
|
|
|
12445
|
-
// (
|
|
12445
|
+
// (573: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,
|
|
12459
|
+
add_location(button, file$1, 573, 8, 21201);
|
|
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: "(
|
|
12484
|
+
source: "(573:8) {#if lang}",
|
|
12485
12485
|
ctx
|
|
12486
12486
|
});
|
|
12487
12487
|
|
|
12488
12488
|
return block;
|
|
12489
12489
|
}
|
|
12490
12490
|
|
|
12491
|
-
// (
|
|
12491
|
+
// (587: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,
|
|
12504
|
+
add_location(path, file$1, 589, 10, 22618);
|
|
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,
|
|
12512
|
+
add_location(svg, file$1, 588, 8, 22401);
|
|
12513
12513
|
attr_dev(div, "class", "FavIconContainer");
|
|
12514
12514
|
attr_dev(div, "part", "FavIconContainer");
|
|
12515
|
-
add_location(div, file$1,
|
|
12515
|
+
add_location(div, file$1, 587, 6, 22338);
|
|
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: "(
|
|
12532
|
+
source: "(587:77) ",
|
|
12533
12533
|
ctx
|
|
12534
12534
|
});
|
|
12535
12535
|
|
|
12536
12536
|
return block;
|
|
12537
12537
|
}
|
|
12538
12538
|
|
|
12539
|
-
// (
|
|
12539
|
+
// (581: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,
|
|
12554
|
+
add_location(path, file$1, 583, 10, 21887);
|
|
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,
|
|
12562
|
+
add_location(svg, file$1, 582, 8, 21670);
|
|
12563
12563
|
attr_dev(div, "class", "FavIconContainer");
|
|
12564
12564
|
attr_dev(div, "part", "FavIconContainer");
|
|
12565
|
-
add_location(div, file$1,
|
|
12565
|
+
add_location(div, file$1, 581, 6, 21561);
|
|
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: "(
|
|
12589
|
+
source: "(581:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
|
|
12590
12590
|
ctx
|
|
12591
12591
|
});
|
|
12592
12592
|
|
|
12593
12593
|
return block;
|
|
12594
12594
|
}
|
|
12595
12595
|
|
|
12596
|
-
// (
|
|
12596
|
+
// (595: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,
|
|
12608
|
+
add_location(span, file$1, 595, 8, 23078);
|
|
12609
12609
|
},
|
|
12610
12610
|
m: function mount(target, anchor) {
|
|
12611
12611
|
insert_dev(target, span, anchor);
|
|
@@ -12623,14 +12623,14 @@
|
|
|
12623
12623
|
block,
|
|
12624
12624
|
id: create_if_block_9.name,
|
|
12625
12625
|
type: "if",
|
|
12626
|
-
source: "(
|
|
12626
|
+
source: "(595:6) {#if gameisnew}",
|
|
12627
12627
|
ctx
|
|
12628
12628
|
});
|
|
12629
12629
|
|
|
12630
12630
|
return block;
|
|
12631
12631
|
}
|
|
12632
12632
|
|
|
12633
|
-
// (
|
|
12633
|
+
// (598:6) {#if gametag}
|
|
12634
12634
|
function create_if_block_8(ctx) {
|
|
12635
12635
|
let span;
|
|
12636
12636
|
let t;
|
|
@@ -12641,7 +12641,7 @@
|
|
|
12641
12641
|
t = text(/*gametag*/ ctx[8]);
|
|
12642
12642
|
attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
|
|
12643
12643
|
attr_dev(span, "part", "GameExtraInfoLabel PopularGameTag");
|
|
12644
|
-
add_location(span, file$1,
|
|
12644
|
+
add_location(span, file$1, 598, 8, 23232);
|
|
12645
12645
|
},
|
|
12646
12646
|
m: function mount(target, anchor) {
|
|
12647
12647
|
insert_dev(target, span, anchor);
|
|
@@ -12659,14 +12659,14 @@
|
|
|
12659
12659
|
block,
|
|
12660
12660
|
id: create_if_block_8.name,
|
|
12661
12661
|
type: "if",
|
|
12662
|
-
source: "(
|
|
12662
|
+
source: "(598:6) {#if gametag}",
|
|
12663
12663
|
ctx
|
|
12664
12664
|
});
|
|
12665
12665
|
|
|
12666
12666
|
return block;
|
|
12667
12667
|
}
|
|
12668
12668
|
|
|
12669
|
-
// (
|
|
12669
|
+
// (601:6) {#if livegamedata}
|
|
12670
12670
|
function create_if_block_1$1(ctx) {
|
|
12671
12671
|
let t;
|
|
12672
12672
|
let if_block1_anchor;
|
|
@@ -12735,14 +12735,14 @@
|
|
|
12735
12735
|
block,
|
|
12736
12736
|
id: create_if_block_1$1.name,
|
|
12737
12737
|
type: "if",
|
|
12738
|
-
source: "(
|
|
12738
|
+
source: "(601:6) {#if livegamedata}",
|
|
12739
12739
|
ctx
|
|
12740
12740
|
});
|
|
12741
12741
|
|
|
12742
12742
|
return block;
|
|
12743
12743
|
}
|
|
12744
12744
|
|
|
12745
|
-
// (
|
|
12745
|
+
// (602:8) {#if !isopen && starttime && timeformat}
|
|
12746
12746
|
function create_if_block_7(ctx) {
|
|
12747
12747
|
let div1;
|
|
12748
12748
|
let div0;
|
|
@@ -12771,15 +12771,15 @@
|
|
|
12771
12771
|
html_tag = new HtmlTag(false);
|
|
12772
12772
|
t4 = space();
|
|
12773
12773
|
html_tag_1 = new HtmlTag(false);
|
|
12774
|
-
add_location(span, file$1,
|
|
12774
|
+
add_location(span, file$1, 605, 14, 23604);
|
|
12775
12775
|
attr_dev(div0, "class", "ClosedGame");
|
|
12776
12776
|
attr_dev(div0, "part", "ClosedGame");
|
|
12777
|
-
add_location(div0, file$1,
|
|
12777
|
+
add_location(div0, file$1, 603, 12, 23505);
|
|
12778
12778
|
html_tag.a = t4;
|
|
12779
12779
|
html_tag_1.a = null;
|
|
12780
12780
|
attr_dev(div1, "class", "GameProp LiveProps");
|
|
12781
12781
|
attr_dev(div1, "part", "GameProp LiveProps");
|
|
12782
|
-
add_location(div1, file$1,
|
|
12782
|
+
add_location(div1, file$1, 602, 10, 23434);
|
|
12783
12783
|
},
|
|
12784
12784
|
m: function mount(target, anchor) {
|
|
12785
12785
|
insert_dev(target, div1, anchor);
|
|
@@ -12808,14 +12808,14 @@
|
|
|
12808
12808
|
block,
|
|
12809
12809
|
id: create_if_block_7.name,
|
|
12810
12810
|
type: "if",
|
|
12811
|
-
source: "(
|
|
12811
|
+
source: "(602:8) {#if !isopen && starttime && timeformat}",
|
|
12812
12812
|
ctx
|
|
12813
12813
|
});
|
|
12814
12814
|
|
|
12815
12815
|
return block;
|
|
12816
12816
|
}
|
|
12817
12817
|
|
|
12818
|
-
// (
|
|
12818
|
+
// (635:68)
|
|
12819
12819
|
function create_if_block_4$1(ctx) {
|
|
12820
12820
|
let div1;
|
|
12821
12821
|
let div0;
|
|
@@ -12848,12 +12848,12 @@
|
|
|
12848
12848
|
html_tag_1 = new HtmlTag(false);
|
|
12849
12849
|
attr_dev(div0, "class", "LiveIcons");
|
|
12850
12850
|
attr_dev(div0, "part", "LiveIcons");
|
|
12851
|
-
add_location(div0, file$1,
|
|
12851
|
+
add_location(div0, file$1, 636, 12, 25564);
|
|
12852
12852
|
html_tag.a = t1;
|
|
12853
12853
|
html_tag_1.a = null;
|
|
12854
12854
|
attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[31]);
|
|
12855
12855
|
attr_dev(div1, "part", /*roulettecontainerclassname*/ ctx[31]);
|
|
12856
|
-
add_location(div1, file$1,
|
|
12856
|
+
add_location(div1, file$1, 635, 10, 25473);
|
|
12857
12857
|
},
|
|
12858
12858
|
m: function mount(target, anchor) {
|
|
12859
12859
|
insert_dev(target, div1, anchor);
|
|
@@ -12916,14 +12916,14 @@
|
|
|
12916
12916
|
block,
|
|
12917
12917
|
id: create_if_block_4$1.name,
|
|
12918
12918
|
type: "if",
|
|
12919
|
-
source: "(
|
|
12919
|
+
source: "(635:68) ",
|
|
12920
12920
|
ctx
|
|
12921
12921
|
});
|
|
12922
12922
|
|
|
12923
12923
|
return block;
|
|
12924
12924
|
}
|
|
12925
12925
|
|
|
12926
|
-
// (
|
|
12926
|
+
// (614:8) {#if isopen && displaytype && displaytype === BLACKJACK}
|
|
12927
12927
|
function create_if_block_2$1(ctx) {
|
|
12928
12928
|
let div1;
|
|
12929
12929
|
let div0;
|
|
@@ -12953,12 +12953,12 @@
|
|
|
12953
12953
|
html_tag_1 = new HtmlTag(false);
|
|
12954
12954
|
attr_dev(div0, "class", "LiveIcons");
|
|
12955
12955
|
attr_dev(div0, "part", "LiveIcons");
|
|
12956
|
-
add_location(div0, file$1,
|
|
12956
|
+
add_location(div0, file$1, 615, 12, 24041);
|
|
12957
12957
|
html_tag.a = t1;
|
|
12958
12958
|
html_tag_1.a = null;
|
|
12959
12959
|
attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
|
|
12960
12960
|
attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
|
|
12961
|
-
add_location(div1, file$1,
|
|
12961
|
+
add_location(div1, file$1, 614, 10, 23936);
|
|
12962
12962
|
},
|
|
12963
12963
|
m: function mount(target, anchor) {
|
|
12964
12964
|
insert_dev(target, div1, anchor);
|
|
@@ -12995,14 +12995,14 @@
|
|
|
12995
12995
|
block,
|
|
12996
12996
|
id: create_if_block_2$1.name,
|
|
12997
12997
|
type: "if",
|
|
12998
|
-
source: "(
|
|
12998
|
+
source: "(614:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
|
|
12999
12999
|
ctx
|
|
13000
13000
|
});
|
|
13001
13001
|
|
|
13002
13002
|
return block;
|
|
13003
13003
|
}
|
|
13004
13004
|
|
|
13005
|
-
// (
|
|
13005
|
+
// (639:16) {#if roulleteresults && roulleteresults[i]}
|
|
13006
13006
|
function create_if_block_5$1(ctx) {
|
|
13007
13007
|
let if_block_anchor;
|
|
13008
13008
|
|
|
@@ -13046,14 +13046,14 @@
|
|
|
13046
13046
|
block,
|
|
13047
13047
|
id: create_if_block_5$1.name,
|
|
13048
13048
|
type: "if",
|
|
13049
|
-
source: "(
|
|
13049
|
+
source: "(639:16) {#if roulleteresults && roulleteresults[i]}",
|
|
13050
13050
|
ctx
|
|
13051
13051
|
});
|
|
13052
13052
|
|
|
13053
13053
|
return block;
|
|
13054
13054
|
}
|
|
13055
13055
|
|
|
13056
|
-
// (
|
|
13056
|
+
// (645:18) {:else}
|
|
13057
13057
|
function create_else_block_1(ctx) {
|
|
13058
13058
|
let html_tag;
|
|
13059
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]]]) + "";
|
|
@@ -13082,14 +13082,14 @@
|
|
|
13082
13082
|
block,
|
|
13083
13083
|
id: create_else_block_1.name,
|
|
13084
13084
|
type: "else",
|
|
13085
|
-
source: "(
|
|
13085
|
+
source: "(645:18) {:else}",
|
|
13086
13086
|
ctx
|
|
13087
13087
|
});
|
|
13088
13088
|
|
|
13089
13089
|
return block;
|
|
13090
13090
|
}
|
|
13091
13091
|
|
|
13092
|
-
// (
|
|
13092
|
+
// (640:18) {#if isdouble}
|
|
13093
13093
|
function create_if_block_6(ctx) {
|
|
13094
13094
|
let div;
|
|
13095
13095
|
let html_tag;
|
|
@@ -13110,7 +13110,7 @@
|
|
|
13110
13110
|
html_tag_1.a = t1;
|
|
13111
13111
|
attr_dev(div, "class", "Double");
|
|
13112
13112
|
attr_dev(div, "part", "Double");
|
|
13113
|
-
add_location(div, file$1,
|
|
13113
|
+
add_location(div, file$1, 640, 20, 25815);
|
|
13114
13114
|
},
|
|
13115
13115
|
m: function mount(target, anchor) {
|
|
13116
13116
|
insert_dev(target, div, anchor);
|
|
@@ -13132,14 +13132,14 @@
|
|
|
13132
13132
|
block,
|
|
13133
13133
|
id: create_if_block_6.name,
|
|
13134
13134
|
type: "if",
|
|
13135
|
-
source: "(
|
|
13135
|
+
source: "(640:18) {#if isdouble}",
|
|
13136
13136
|
ctx
|
|
13137
13137
|
});
|
|
13138
13138
|
|
|
13139
13139
|
return block;
|
|
13140
13140
|
}
|
|
13141
13141
|
|
|
13142
|
-
// (
|
|
13142
|
+
// (638:14) {#each new Array(numberofdisplayedresults) as garbage, i}
|
|
13143
13143
|
function create_each_block_1(ctx) {
|
|
13144
13144
|
let if_block_anchor;
|
|
13145
13145
|
let if_block = /*roulleteresults*/ ctx[13] && /*roulleteresults*/ ctx[13][/*i*/ ctx[111]] && create_if_block_5$1(ctx);
|
|
@@ -13177,14 +13177,14 @@
|
|
|
13177
13177
|
block,
|
|
13178
13178
|
id: create_each_block_1.name,
|
|
13179
13179
|
type: "each",
|
|
13180
|
-
source: "(
|
|
13180
|
+
source: "(638:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
|
|
13181
13181
|
ctx
|
|
13182
13182
|
});
|
|
13183
13183
|
|
|
13184
13184
|
return block;
|
|
13185
13185
|
}
|
|
13186
13186
|
|
|
13187
|
-
// (
|
|
13187
|
+
// (621:14) {:else}
|
|
13188
13188
|
function create_else_block$1(ctx) {
|
|
13189
13189
|
let each_1_anchor;
|
|
13190
13190
|
let each_value = /*seats*/ ctx[25];
|
|
@@ -13245,14 +13245,14 @@
|
|
|
13245
13245
|
block,
|
|
13246
13246
|
id: create_else_block$1.name,
|
|
13247
13247
|
type: "else",
|
|
13248
|
-
source: "(
|
|
13248
|
+
source: "(621:14) {:else}",
|
|
13249
13249
|
ctx
|
|
13250
13250
|
});
|
|
13251
13251
|
|
|
13252
13252
|
return block;
|
|
13253
13253
|
}
|
|
13254
13254
|
|
|
13255
|
-
// (
|
|
13255
|
+
// (617:14) {#if istablefull}
|
|
13256
13256
|
function create_if_block_3$1(ctx) {
|
|
13257
13257
|
let span;
|
|
13258
13258
|
let t_value = /*$_*/ ctx[36]('gameThumbnail.full') + "";
|
|
@@ -13264,7 +13264,7 @@
|
|
|
13264
13264
|
t = text(t_value);
|
|
13265
13265
|
attr_dev(span, "class", "FullTable");
|
|
13266
13266
|
attr_dev(span, "part", "FullTable");
|
|
13267
|
-
add_location(span, file$1,
|
|
13267
|
+
add_location(span, file$1, 617, 16, 24130);
|
|
13268
13268
|
},
|
|
13269
13269
|
m: function mount(target, anchor) {
|
|
13270
13270
|
insert_dev(target, span, anchor);
|
|
@@ -13282,14 +13282,14 @@
|
|
|
13282
13282
|
block,
|
|
13283
13283
|
id: create_if_block_3$1.name,
|
|
13284
13284
|
type: "if",
|
|
13285
|
-
source: "(
|
|
13285
|
+
source: "(617:14) {#if istablefull}",
|
|
13286
13286
|
ctx
|
|
13287
13287
|
});
|
|
13288
13288
|
|
|
13289
13289
|
return block;
|
|
13290
13290
|
}
|
|
13291
13291
|
|
|
13292
|
-
// (
|
|
13292
|
+
// (622:16) {#each seats as seatData}
|
|
13293
13293
|
function create_each_block$1(ctx) {
|
|
13294
13294
|
let span;
|
|
13295
13295
|
let svg;
|
|
@@ -13307,14 +13307,14 @@
|
|
|
13307
13307
|
path1 = svg_element("path");
|
|
13308
13308
|
t = space();
|
|
13309
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");
|
|
13310
|
-
add_location(path0, file$1,
|
|
13310
|
+
add_location(path0, file$1, 624, 22, 24631);
|
|
13311
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");
|
|
13312
|
-
add_location(path1, file$1,
|
|
13312
|
+
add_location(path1, file$1, 625, 22, 25007);
|
|
13313
13313
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
13314
13314
|
attr_dev(svg, "width", "13");
|
|
13315
13315
|
attr_dev(svg, "height", "14");
|
|
13316
13316
|
attr_dev(svg, "viewBox", "0 0 13 14");
|
|
13317
|
-
add_location(svg, file$1,
|
|
13317
|
+
add_location(svg, file$1, 623, 20, 24525);
|
|
13318
13318
|
|
|
13319
13319
|
attr_dev(span, "class", span_class_value = /*contains*/ ctx[44](/*currentoccupiedseats*/ ctx[29], /*seatData*/ ctx[106].toString())
|
|
13320
13320
|
? 'ClosedSeat'
|
|
@@ -13324,7 +13324,7 @@
|
|
|
13324
13324
|
? 'ClosedSeat'
|
|
13325
13325
|
: 'OpenSeat');
|
|
13326
13326
|
|
|
13327
|
-
add_location(span, file$1,
|
|
13327
|
+
add_location(span, file$1, 622, 18, 24323);
|
|
13328
13328
|
},
|
|
13329
13329
|
m: function mount(target, anchor) {
|
|
13330
13330
|
insert_dev(target, span, anchor);
|
|
@@ -13355,14 +13355,14 @@
|
|
|
13355
13355
|
block,
|
|
13356
13356
|
id: create_each_block$1.name,
|
|
13357
13357
|
type: "each",
|
|
13358
|
-
source: "(
|
|
13358
|
+
source: "(622:16) {#each seats as seatData}",
|
|
13359
13359
|
ctx
|
|
13360
13360
|
});
|
|
13361
13361
|
|
|
13362
13362
|
return block;
|
|
13363
13363
|
}
|
|
13364
13364
|
|
|
13365
|
-
// (
|
|
13365
|
+
// (658:2) {#if showgamename}
|
|
13366
13366
|
function create_if_block$1(ctx) {
|
|
13367
13367
|
let p;
|
|
13368
13368
|
let t;
|
|
@@ -13374,7 +13374,7 @@
|
|
|
13374
13374
|
attr_dev(p, "class", "GameNameBelow");
|
|
13375
13375
|
attr_dev(p, "part", "GameNameBelow");
|
|
13376
13376
|
attr_dev(p, "title", /*gamename*/ ctx[4]);
|
|
13377
|
-
add_location(p, file$1,
|
|
13377
|
+
add_location(p, file$1, 658, 4, 26700);
|
|
13378
13378
|
},
|
|
13379
13379
|
m: function mount(target, anchor) {
|
|
13380
13380
|
insert_dev(target, p, anchor);
|
|
@@ -13396,7 +13396,7 @@
|
|
|
13396
13396
|
block,
|
|
13397
13397
|
id: create_if_block$1.name,
|
|
13398
13398
|
type: "if",
|
|
13399
|
-
source: "(
|
|
13399
|
+
source: "(658:2) {#if showgamename}",
|
|
13400
13400
|
ctx
|
|
13401
13401
|
});
|
|
13402
13402
|
|
|
@@ -13490,23 +13490,23 @@
|
|
|
13490
13490
|
attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[17] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[18] ? 'Loaded' : ''));
|
|
13491
13491
|
attr_dev(img, "alt", "");
|
|
13492
13492
|
attr_dev(img, "loading", "lazy");
|
|
13493
|
-
add_location(img, file$1,
|
|
13493
|
+
add_location(img, file$1, 552, 4, 19063);
|
|
13494
13494
|
attr_dev(p, "class", "GameInfoName");
|
|
13495
13495
|
attr_dev(p, "part", "GameInfoName");
|
|
13496
13496
|
attr_dev(p, "title", /*gamename*/ ctx[4]);
|
|
13497
|
-
add_location(p, file$1,
|
|
13497
|
+
add_location(p, file$1, 571, 8, 21096);
|
|
13498
13498
|
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[17] ? 'GameHovered' : ''));
|
|
13499
13499
|
attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[17] ? 'GameHovered' : ''));
|
|
13500
|
-
add_location(div0, file$1,
|
|
13500
|
+
add_location(div0, file$1, 554, 6, 19376);
|
|
13501
13501
|
attr_dev(span, "class", "GameInfoVendor");
|
|
13502
13502
|
attr_dev(span, "part", "GameInfoVendor");
|
|
13503
|
-
add_location(span, file$1,
|
|
13503
|
+
add_location(span, file$1, 576, 6, 21363);
|
|
13504
13504
|
attr_dev(div1, "class", "GameInfoWrapper");
|
|
13505
13505
|
attr_dev(div1, "part", "GameInfoWrapper");
|
|
13506
|
-
add_location(div1, file$1,
|
|
13506
|
+
add_location(div1, file$1, 553, 4, 19317);
|
|
13507
13507
|
attr_dev(div2, "class", "GameExtraInfo");
|
|
13508
13508
|
attr_dev(div2, "part", "GameExtraInfo");
|
|
13509
|
-
add_location(div2, file$1,
|
|
13509
|
+
add_location(div2, file$1, 593, 4, 22999);
|
|
13510
13510
|
|
|
13511
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]
|
|
13512
13512
|
? 'GameInnerContainerUnavailable'
|
|
@@ -13516,10 +13516,10 @@
|
|
|
13516
13516
|
? 'GameInnerContainerUnavailable'
|
|
13517
13517
|
: ''));
|
|
13518
13518
|
|
|
13519
|
-
add_location(div3, file$1,
|
|
13519
|
+
add_location(div3, file$1, 551, 2, 18675);
|
|
13520
13520
|
attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[34]}`);
|
|
13521
13521
|
attr_dev(div4, "part", div4_part_value = `GameContainer ${/*extraclassname*/ ctx[34]}`);
|
|
13522
|
-
add_location(div4, file$1,
|
|
13522
|
+
add_location(div4, file$1, 550, 0, 18549);
|
|
13523
13523
|
},
|
|
13524
13524
|
l: function claim(nodes) {
|
|
13525
13525
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -13913,26 +13913,15 @@
|
|
|
13913
13913
|
};
|
|
13914
13914
|
|
|
13915
13915
|
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
|
-
}
|
|
13916
|
+
window.postMessage({ type: 'SearchedItemClicked', gameId }, window.location.href);
|
|
13917
|
+
|
|
13918
|
+
//Analytics event -- if game was searched
|
|
13919
|
+
if (typeof gtag == 'function') {
|
|
13920
|
+
gtag('event', 'OpenGame', {
|
|
13921
|
+
'context': 'GameThumbnail--Searched',
|
|
13922
|
+
'gameId': `${gameId}`,
|
|
13923
|
+
'userId': `${playerID ? playerID : 'Not logged in'}`
|
|
13924
|
+
});
|
|
13936
13925
|
}
|
|
13937
13926
|
|
|
13938
13927
|
if (isMobile(userAgent) && integratedgameframemobile == "true") {
|
|
@@ -15181,11 +15170,11 @@
|
|
|
15181
15170
|
|
|
15182
15171
|
function get_each_context(ctx, list, i) {
|
|
15183
15172
|
const child_ctx = ctx.slice();
|
|
15184
|
-
child_ctx[
|
|
15173
|
+
child_ctx[48] = list[i];
|
|
15185
15174
|
return child_ctx;
|
|
15186
15175
|
}
|
|
15187
15176
|
|
|
15188
|
-
// (
|
|
15177
|
+
// (287:4) {:else}
|
|
15189
15178
|
function create_else_block(ctx) {
|
|
15190
15179
|
let t0;
|
|
15191
15180
|
let div;
|
|
@@ -15211,7 +15200,7 @@
|
|
|
15211
15200
|
t1 = space();
|
|
15212
15201
|
if (if_block2) if_block2.c();
|
|
15213
15202
|
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'));
|
|
15214
|
-
add_location(div, file,
|
|
15203
|
+
add_location(div, file, 297, 6, 10708);
|
|
15215
15204
|
},
|
|
15216
15205
|
m: function mount(target, anchor) {
|
|
15217
15206
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15280,14 +15269,14 @@
|
|
|
15280
15269
|
block,
|
|
15281
15270
|
id: create_else_block.name,
|
|
15282
15271
|
type: "else",
|
|
15283
|
-
source: "(
|
|
15272
|
+
source: "(287:4) {:else}",
|
|
15284
15273
|
ctx
|
|
15285
15274
|
});
|
|
15286
15275
|
|
|
15287
15276
|
return block;
|
|
15288
15277
|
}
|
|
15289
15278
|
|
|
15290
|
-
// (
|
|
15279
|
+
// (285:4) {#if isLoading}
|
|
15291
15280
|
function create_if_block(ctx) {
|
|
15292
15281
|
let p;
|
|
15293
15282
|
let t_value = /*$_*/ ctx[17]('Translations.loading') + "";
|
|
@@ -15297,7 +15286,7 @@
|
|
|
15297
15286
|
c: function create() {
|
|
15298
15287
|
p = element("p");
|
|
15299
15288
|
t = text(t_value);
|
|
15300
|
-
add_location(p, file,
|
|
15289
|
+
add_location(p, file, 285, 6, 10026);
|
|
15301
15290
|
},
|
|
15302
15291
|
m: function mount(target, anchor) {
|
|
15303
15292
|
insert_dev(target, p, anchor);
|
|
@@ -15315,14 +15304,14 @@
|
|
|
15315
15304
|
block,
|
|
15316
15305
|
id: create_if_block.name,
|
|
15317
15306
|
type: "if",
|
|
15318
|
-
source: "(
|
|
15307
|
+
source: "(285:4) {#if isLoading}",
|
|
15319
15308
|
ctx
|
|
15320
15309
|
});
|
|
15321
15310
|
|
|
15322
15311
|
return block;
|
|
15323
15312
|
}
|
|
15324
15313
|
|
|
15325
|
-
// (
|
|
15314
|
+
// (295:40)
|
|
15326
15315
|
function create_if_block_5(ctx) {
|
|
15327
15316
|
let p;
|
|
15328
15317
|
let t_value = /*$_*/ ctx[17]('Translations.searchResult') + "";
|
|
@@ -15332,8 +15321,12 @@
|
|
|
15332
15321
|
c: function create() {
|
|
15333
15322
|
p = element("p");
|
|
15334
15323
|
t = text(t_value);
|
|
15335
|
-
|
|
15336
|
-
|
|
15324
|
+
|
|
15325
|
+
attr_dev(p, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15326
|
+
? 'SearchMessage'
|
|
15327
|
+
: 'SearchMessagePc');
|
|
15328
|
+
|
|
15329
|
+
add_location(p, file, 295, 8, 10568);
|
|
15337
15330
|
},
|
|
15338
15331
|
m: function mount(target, anchor) {
|
|
15339
15332
|
insert_dev(target, p, anchor);
|
|
@@ -15351,14 +15344,14 @@
|
|
|
15351
15344
|
block,
|
|
15352
15345
|
id: create_if_block_5.name,
|
|
15353
15346
|
type: "if",
|
|
15354
|
-
source: "(
|
|
15347
|
+
source: "(295:40) ",
|
|
15355
15348
|
ctx
|
|
15356
15349
|
});
|
|
15357
15350
|
|
|
15358
15351
|
return block;
|
|
15359
15352
|
}
|
|
15360
15353
|
|
|
15361
|
-
// (
|
|
15354
|
+
// (288:6) {#if searchActive == true && searchValue.length < 2}
|
|
15362
15355
|
function create_if_block_3(ctx) {
|
|
15363
15356
|
let p;
|
|
15364
15357
|
let t0_value = /*$_*/ ctx[17]('Translations.recentSearch') + "";
|
|
@@ -15374,8 +15367,12 @@
|
|
|
15374
15367
|
t1 = space();
|
|
15375
15368
|
if (if_block) if_block.c();
|
|
15376
15369
|
if_block_anchor = empty();
|
|
15377
|
-
|
|
15378
|
-
|
|
15370
|
+
|
|
15371
|
+
attr_dev(p, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15372
|
+
? 'SearchMessage'
|
|
15373
|
+
: 'SearchMessagePc');
|
|
15374
|
+
|
|
15375
|
+
add_location(p, file, 288, 8, 10141);
|
|
15379
15376
|
},
|
|
15380
15377
|
m: function mount(target, anchor) {
|
|
15381
15378
|
insert_dev(target, p, anchor);
|
|
@@ -15412,14 +15409,14 @@
|
|
|
15412
15409
|
block,
|
|
15413
15410
|
id: create_if_block_3.name,
|
|
15414
15411
|
type: "if",
|
|
15415
|
-
source: "(
|
|
15412
|
+
source: "(288:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15416
15413
|
ctx
|
|
15417
15414
|
});
|
|
15418
15415
|
|
|
15419
15416
|
return block;
|
|
15420
15417
|
}
|
|
15421
15418
|
|
|
15422
|
-
// (
|
|
15419
|
+
// (290:10) {#if searchArray.length == 0}
|
|
15423
15420
|
function create_if_block_4(ctx) {
|
|
15424
15421
|
let div;
|
|
15425
15422
|
let p;
|
|
@@ -15431,10 +15428,14 @@
|
|
|
15431
15428
|
div = element("div");
|
|
15432
15429
|
p = element("p");
|
|
15433
15430
|
t = text(t_value);
|
|
15434
|
-
|
|
15435
|
-
|
|
15431
|
+
|
|
15432
|
+
attr_dev(p, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15433
|
+
? 'SearchMessage'
|
|
15434
|
+
: 'SearchMessagePc');
|
|
15435
|
+
|
|
15436
|
+
add_location(p, file, 291, 12, 10360);
|
|
15436
15437
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15437
|
-
add_location(div, file,
|
|
15438
|
+
add_location(div, file, 290, 10, 10312);
|
|
15438
15439
|
},
|
|
15439
15440
|
m: function mount(target, anchor) {
|
|
15440
15441
|
insert_dev(target, div, anchor);
|
|
@@ -15453,14 +15454,14 @@
|
|
|
15453
15454
|
block,
|
|
15454
15455
|
id: create_if_block_4.name,
|
|
15455
15456
|
type: "if",
|
|
15456
|
-
source: "(
|
|
15457
|
+
source: "(290:10) {#if searchArray.length == 0}",
|
|
15457
15458
|
ctx
|
|
15458
15459
|
});
|
|
15459
15460
|
|
|
15460
15461
|
return block;
|
|
15461
15462
|
}
|
|
15462
15463
|
|
|
15463
|
-
// (
|
|
15464
|
+
// (299:8) {#if searchCancelled === false}
|
|
15464
15465
|
function create_if_block_2(ctx) {
|
|
15465
15466
|
let each_1_anchor;
|
|
15466
15467
|
let each_value = /*searchArray*/ ctx[11];
|
|
@@ -15487,7 +15488,7 @@
|
|
|
15487
15488
|
insert_dev(target, each_1_anchor, anchor);
|
|
15488
15489
|
},
|
|
15489
15490
|
p: function update(ctx, dirty) {
|
|
15490
|
-
if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
15491
|
+
if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/ 1149183) {
|
|
15491
15492
|
each_value = /*searchArray*/ ctx[11];
|
|
15492
15493
|
validate_each_argument(each_value);
|
|
15493
15494
|
let i;
|
|
@@ -15521,14 +15522,14 @@
|
|
|
15521
15522
|
block,
|
|
15522
15523
|
id: create_if_block_2.name,
|
|
15523
15524
|
type: "if",
|
|
15524
|
-
source: "(
|
|
15525
|
+
source: "(299:8) {#if searchCancelled === false}",
|
|
15525
15526
|
ctx
|
|
15526
15527
|
});
|
|
15527
15528
|
|
|
15528
15529
|
return block;
|
|
15529
15530
|
}
|
|
15530
15531
|
|
|
15531
|
-
// (
|
|
15532
|
+
// (300:10) {#each searchArray as game}
|
|
15532
15533
|
function create_each_block(ctx) {
|
|
15533
15534
|
let casino_game_thumbnail;
|
|
15534
15535
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15550,18 +15551,18 @@
|
|
|
15550
15551
|
set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[16]);
|
|
15551
15552
|
set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
|
|
15552
15553
|
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[
|
|
15554
|
+
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[48].thumbnail);
|
|
15555
|
+
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[48].name);
|
|
15556
|
+
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[48].vendor.name);
|
|
15557
|
+
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[48].isNew);
|
|
15558
|
+
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));
|
|
15559
|
+
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[48].cellSize);
|
|
15560
|
+
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[48].id);
|
|
15561
|
+
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[48].hasFunMode);
|
|
15562
|
+
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[48].isFavorite);
|
|
15563
|
+
|
|
15564
|
+
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[48].details
|
|
15565
|
+
? /*game*/ ctx[48].launchUrl
|
|
15565
15566
|
: '');
|
|
15566
15567
|
|
|
15567
15568
|
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
|
|
@@ -15569,7 +15570,7 @@
|
|
|
15569
15570
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15570
15571
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15571
15572
|
set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
|
|
15572
|
-
add_location(casino_game_thumbnail, file,
|
|
15573
|
+
add_location(casino_game_thumbnail, file, 300, 12, 10877);
|
|
15573
15574
|
},
|
|
15574
15575
|
m: function mount(target, anchor) {
|
|
15575
15576
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15595,44 +15596,44 @@
|
|
|
15595
15596
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15596
15597
|
}
|
|
15597
15598
|
|
|
15598
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15599
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[48].thumbnail)) {
|
|
15599
15600
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
15600
15601
|
}
|
|
15601
15602
|
|
|
15602
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15603
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[48].name)) {
|
|
15603
15604
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
15604
15605
|
}
|
|
15605
15606
|
|
|
15606
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15607
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[48].vendor.name)) {
|
|
15607
15608
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
15608
15609
|
}
|
|
15609
15610
|
|
|
15610
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15611
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[48].isNew)) {
|
|
15611
15612
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
15612
15613
|
}
|
|
15613
15614
|
|
|
15614
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gametag_value !== (casino_game_thumbnail_gametag_value = /*game*/ ctx[
|
|
15615
|
+
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
15616
|
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value);
|
|
15616
15617
|
}
|
|
15617
15618
|
|
|
15618
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15619
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[48].cellSize)) {
|
|
15619
15620
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
15620
15621
|
}
|
|
15621
15622
|
|
|
15622
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15623
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[48].id)) {
|
|
15623
15624
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
15624
15625
|
}
|
|
15625
15626
|
|
|
15626
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15627
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[48].hasFunMode)) {
|
|
15627
15628
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
15628
15629
|
}
|
|
15629
15630
|
|
|
15630
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15631
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[48].isFavorite)) {
|
|
15631
15632
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
15632
15633
|
}
|
|
15633
15634
|
|
|
15634
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15635
|
-
? /*game*/ ctx[
|
|
15635
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[48].details
|
|
15636
|
+
? /*game*/ ctx[48].launchUrl
|
|
15636
15637
|
: '')) {
|
|
15637
15638
|
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
|
|
15638
15639
|
}
|
|
@@ -15666,14 +15667,14 @@
|
|
|
15666
15667
|
block,
|
|
15667
15668
|
id: create_each_block.name,
|
|
15668
15669
|
type: "each",
|
|
15669
|
-
source: "(
|
|
15670
|
+
source: "(300:10) {#each searchArray as game}",
|
|
15670
15671
|
ctx
|
|
15671
15672
|
});
|
|
15672
15673
|
|
|
15673
15674
|
return block;
|
|
15674
15675
|
}
|
|
15675
15676
|
|
|
15676
|
-
// (
|
|
15677
|
+
// (325:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
15677
15678
|
function create_if_block_1(ctx) {
|
|
15678
15679
|
let div;
|
|
15679
15680
|
let p0;
|
|
@@ -15692,11 +15693,15 @@
|
|
|
15692
15693
|
t1 = space();
|
|
15693
15694
|
p1 = element("p");
|
|
15694
15695
|
t2 = text(t2_value);
|
|
15695
|
-
|
|
15696
|
-
|
|
15697
|
-
|
|
15696
|
+
|
|
15697
|
+
attr_dev(p0, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15698
|
+
? 'SearchMessage'
|
|
15699
|
+
: 'SearchMessagePc');
|
|
15700
|
+
|
|
15701
|
+
add_location(p0, file, 326, 12, 11926);
|
|
15702
|
+
add_location(p1, file, 327, 12, 12055);
|
|
15698
15703
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15699
|
-
add_location(div, file,
|
|
15704
|
+
add_location(div, file, 325, 10, 11878);
|
|
15700
15705
|
},
|
|
15701
15706
|
m: function mount(target, anchor) {
|
|
15702
15707
|
insert_dev(target, div, anchor);
|
|
@@ -15719,7 +15724,7 @@
|
|
|
15719
15724
|
block,
|
|
15720
15725
|
id: create_if_block_1.name,
|
|
15721
15726
|
type: "if",
|
|
15722
|
-
source: "(
|
|
15727
|
+
source: "(325:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
15723
15728
|
ctx
|
|
15724
15729
|
});
|
|
15725
15730
|
|
|
@@ -15785,45 +15790,61 @@
|
|
|
15785
15790
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15786
15791
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15787
15792
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15788
|
-
add_location(path0, file,
|
|
15793
|
+
add_location(path0, file, 268, 10, 8937);
|
|
15789
15794
|
attr_dev(circle, "cx", "6.5");
|
|
15790
15795
|
attr_dev(circle, "cy", "6.5");
|
|
15791
15796
|
attr_dev(circle, "r", "5.75");
|
|
15792
15797
|
attr_dev(circle, "stroke", "#212121");
|
|
15793
15798
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15794
|
-
add_location(circle, file,
|
|
15799
|
+
add_location(circle, file, 269, 10, 9065);
|
|
15795
15800
|
attr_dev(svg0, "width", "14");
|
|
15796
15801
|
attr_dev(svg0, "height", "15");
|
|
15797
15802
|
attr_dev(svg0, "fill", "none");
|
|
15798
15803
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15799
|
-
add_location(svg0, file,
|
|
15800
|
-
|
|
15801
|
-
|
|
15804
|
+
add_location(svg0, file, 267, 8, 8851);
|
|
15805
|
+
|
|
15806
|
+
attr_dev(div0, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15807
|
+
? 'SearchIcon'
|
|
15808
|
+
: 'SearchIconPc');
|
|
15809
|
+
|
|
15810
|
+
add_location(div0, file, 266, 6, 8763);
|
|
15802
15811
|
attr_dev(input, "class", "SearchInput");
|
|
15803
15812
|
attr_dev(input, "type", "search");
|
|
15804
15813
|
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'));
|
|
15805
|
-
add_location(input, file,
|
|
15814
|
+
add_location(input, file, 273, 8, 9270);
|
|
15806
15815
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15807
15816
|
attr_dev(path1, "stroke", "#717171");
|
|
15808
15817
|
attr_dev(path1, "stroke-width", "2");
|
|
15809
15818
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15810
15819
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15811
|
-
add_location(path1, file,
|
|
15820
|
+
add_location(path1, file, 276, 12, 9657);
|
|
15812
15821
|
attr_dev(svg1, "width", "11");
|
|
15813
15822
|
attr_dev(svg1, "height", "11");
|
|
15814
15823
|
attr_dev(svg1, "fill", "none");
|
|
15815
15824
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15816
|
-
add_location(svg1, file,
|
|
15825
|
+
add_location(svg1, file, 275, 10, 9569);
|
|
15817
15826
|
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'));
|
|
15818
|
-
add_location(span, file,
|
|
15819
|
-
|
|
15820
|
-
|
|
15827
|
+
add_location(span, file, 274, 8, 9448);
|
|
15828
|
+
|
|
15829
|
+
attr_dev(div1, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15830
|
+
? 'SearchContainer'
|
|
15831
|
+
: 'SearchContainerPc');
|
|
15832
|
+
|
|
15833
|
+
add_location(div1, file, 272, 6, 9172);
|
|
15821
15834
|
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''));
|
|
15822
|
-
add_location(small, file,
|
|
15823
|
-
|
|
15824
|
-
|
|
15825
|
-
|
|
15826
|
-
|
|
15835
|
+
add_location(small, file, 280, 6, 9833);
|
|
15836
|
+
|
|
15837
|
+
attr_dev(div2, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15838
|
+
? 'Search'
|
|
15839
|
+
: 'SearchPc');
|
|
15840
|
+
|
|
15841
|
+
add_location(div2, file, 265, 4, 8685);
|
|
15842
|
+
|
|
15843
|
+
attr_dev(div3, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15844
|
+
? 'CasinoSearch'
|
|
15845
|
+
: 'CasinoSearchPc');
|
|
15846
|
+
|
|
15847
|
+
add_location(div3, file, 264, 2, 8562);
|
|
15827
15848
|
},
|
|
15828
15849
|
l: function claim(nodes) {
|
|
15829
15850
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -15839,7 +15860,7 @@
|
|
|
15839
15860
|
append_dev(div2, div1);
|
|
15840
15861
|
append_dev(div1, input);
|
|
15841
15862
|
set_input_value(input, /*searchValue*/ ctx[8]);
|
|
15842
|
-
/*input_binding*/ ctx[
|
|
15863
|
+
/*input_binding*/ ctx[29](input);
|
|
15843
15864
|
append_dev(div1, t1);
|
|
15844
15865
|
append_dev(div1, span);
|
|
15845
15866
|
append_dev(span, svg1);
|
|
@@ -15849,14 +15870,14 @@
|
|
|
15849
15870
|
append_dev(small, t3);
|
|
15850
15871
|
append_dev(div3, t4);
|
|
15851
15872
|
if_block.m(div3, null);
|
|
15852
|
-
/*div3_binding*/ ctx[
|
|
15873
|
+
/*div3_binding*/ ctx[32](div3);
|
|
15853
15874
|
|
|
15854
15875
|
if (!mounted) {
|
|
15855
15876
|
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[
|
|
15877
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[28]),
|
|
15878
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[19], false, false, false),
|
|
15879
|
+
listen_dev(span, "click", /*click_handler*/ ctx[30], false, false, false),
|
|
15880
|
+
listen_dev(small, "click", /*click_handler_1*/ ctx[31], false, false, false)
|
|
15860
15881
|
];
|
|
15861
15882
|
|
|
15862
15883
|
mounted = true;
|
|
@@ -15897,9 +15918,9 @@
|
|
|
15897
15918
|
o: noop$1,
|
|
15898
15919
|
d: function destroy(detaching) {
|
|
15899
15920
|
if (detaching) detach_dev(div3);
|
|
15900
|
-
/*input_binding*/ ctx[
|
|
15921
|
+
/*input_binding*/ ctx[29](null);
|
|
15901
15922
|
if_block.d();
|
|
15902
|
-
/*div3_binding*/ ctx[
|
|
15923
|
+
/*div3_binding*/ ctx[32](null);
|
|
15903
15924
|
mounted = false;
|
|
15904
15925
|
run_all(dispose);
|
|
15905
15926
|
}
|
|
@@ -15966,18 +15987,14 @@
|
|
|
15966
15987
|
});
|
|
15967
15988
|
|
|
15968
15989
|
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') {
|
|
15990
|
+
if (e.data && e.data.type == 'SearchedItemClicked') {
|
|
15974
15991
|
addSearchedItem(e.data.gameId);
|
|
15975
15992
|
}
|
|
15976
15993
|
|
|
15977
15994
|
if (e.data.type == 'UserSessionID') {
|
|
15978
15995
|
$$invalidate(15, sessionID = e.data.session);
|
|
15979
15996
|
$$invalidate(16, playerID = e.data.userid);
|
|
15980
|
-
$$invalidate(
|
|
15997
|
+
$$invalidate(27, isLoggedIn = true);
|
|
15981
15998
|
}
|
|
15982
15999
|
};
|
|
15983
16000
|
|
|
@@ -15987,7 +16004,7 @@
|
|
|
15987
16004
|
|
|
15988
16005
|
if (endpoint && datasource && lang) {
|
|
15989
16006
|
if (searchValue.length < 2) {
|
|
15990
|
-
let recentSearchedGames =
|
|
16007
|
+
let recentSearchedGames = localStorage.getItem(`searchedGamesWds_casino`);
|
|
15991
16008
|
let recentSearchedGamesArray = [];
|
|
15992
16009
|
|
|
15993
16010
|
if (recentSearchedGames) {
|
|
@@ -16077,7 +16094,7 @@
|
|
|
16077
16094
|
};
|
|
16078
16095
|
|
|
16079
16096
|
const setSession = () => {
|
|
16080
|
-
$$invalidate(
|
|
16097
|
+
$$invalidate(27, isLoggedIn = true);
|
|
16081
16098
|
$$invalidate(15, sessionID = session);
|
|
16082
16099
|
$$invalidate(16, playerID = userid);
|
|
16083
16100
|
};
|
|
@@ -16115,7 +16132,7 @@
|
|
|
16115
16132
|
};
|
|
16116
16133
|
|
|
16117
16134
|
const addSearchedItem = gameID => {
|
|
16118
|
-
searchedValues =
|
|
16135
|
+
searchedValues = localStorage.getItem('searchedGamesWds_casino');
|
|
16119
16136
|
|
|
16120
16137
|
if (searchedValues) {
|
|
16121
16138
|
searchedValues = searchedValues.split(',');
|
|
@@ -16127,15 +16144,7 @@
|
|
|
16127
16144
|
let value;
|
|
16128
16145
|
searchedValues.push(gameID);
|
|
16129
16146
|
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];
|
|
16147
|
+
localStorage.setItem(`searchedGamesWds_casino`, value);
|
|
16139
16148
|
}
|
|
16140
16149
|
};
|
|
16141
16150
|
|
|
@@ -16240,16 +16249,16 @@
|
|
|
16240
16249
|
|
|
16241
16250
|
$$self.$$set = $$props => {
|
|
16242
16251
|
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(
|
|
16252
|
+
if ('datasource' in $$props) $$invalidate(23, datasource = $$props.datasource);
|
|
16253
|
+
if ('session' in $$props) $$invalidate(24, session = $$props.session);
|
|
16254
|
+
if ('userid' in $$props) $$invalidate(25, userid = $$props.userid);
|
|
16246
16255
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16247
16256
|
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16248
16257
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16249
16258
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16250
16259
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16251
16260
|
if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
16252
|
-
if ('translationurl' in $$props) $$invalidate(
|
|
16261
|
+
if ('translationurl' in $$props) $$invalidate(26, translationurl = $$props.translationurl);
|
|
16253
16262
|
if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
|
|
16254
16263
|
};
|
|
16255
16264
|
|
|
@@ -16297,7 +16306,6 @@
|
|
|
16297
16306
|
checkFavorite,
|
|
16298
16307
|
addGameTag,
|
|
16299
16308
|
addSearchedItem,
|
|
16300
|
-
getCookieValue,
|
|
16301
16309
|
cancelSearch,
|
|
16302
16310
|
clearSearch,
|
|
16303
16311
|
sendSearchStatus,
|
|
@@ -16309,18 +16317,18 @@
|
|
|
16309
16317
|
|
|
16310
16318
|
$$self.$inject_state = $$props => {
|
|
16311
16319
|
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(
|
|
16320
|
+
if ('datasource' in $$props) $$invalidate(23, datasource = $$props.datasource);
|
|
16321
|
+
if ('session' in $$props) $$invalidate(24, session = $$props.session);
|
|
16322
|
+
if ('userid' in $$props) $$invalidate(25, userid = $$props.userid);
|
|
16315
16323
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16316
16324
|
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16317
16325
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16318
16326
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16319
16327
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16320
16328
|
if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
16321
|
-
if ('translationurl' in $$props) $$invalidate(
|
|
16329
|
+
if ('translationurl' in $$props) $$invalidate(26, translationurl = $$props.translationurl);
|
|
16322
16330
|
if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
|
|
16323
|
-
if ('userAgent' in $$props) $$invalidate(
|
|
16331
|
+
if ('userAgent' in $$props) $$invalidate(18, userAgent = $$props.userAgent);
|
|
16324
16332
|
if ('searchArray' in $$props) $$invalidate(11, searchArray = $$props.searchArray);
|
|
16325
16333
|
if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
|
|
16326
16334
|
if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
|
|
@@ -16330,7 +16338,7 @@
|
|
|
16330
16338
|
if ('searchActive' in $$props) $$invalidate(13, searchActive = $$props.searchActive);
|
|
16331
16339
|
if ('isLoading' in $$props) $$invalidate(14, isLoading = $$props.isLoading);
|
|
16332
16340
|
if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
|
|
16333
|
-
if ('isLoggedIn' in $$props) $$invalidate(
|
|
16341
|
+
if ('isLoggedIn' in $$props) $$invalidate(27, isLoggedIn = $$props.isLoggedIn);
|
|
16334
16342
|
if ('sessionID' in $$props) $$invalidate(15, sessionID = $$props.sessionID);
|
|
16335
16343
|
if ('playerID' in $$props) $$invalidate(16, playerID = $$props.playerID);
|
|
16336
16344
|
if ('favoriteGamesIds' in $$props) favoriteGamesIds = $$props.favoriteGamesIds;
|
|
@@ -16341,7 +16349,7 @@
|
|
|
16341
16349
|
}
|
|
16342
16350
|
|
|
16343
16351
|
$$self.$$.update = () => {
|
|
16344
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
16352
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 8389379) {
|
|
16345
16353
|
if (searchValue.length >= 2) {
|
|
16346
16354
|
const searchUrl = new URL(`${endpoint}/casino/games`);
|
|
16347
16355
|
searchUrl.searchParams.append("datasource", datasource);
|
|
@@ -16368,15 +16376,15 @@
|
|
|
16368
16376
|
lang && setActiveLanguage();
|
|
16369
16377
|
}
|
|
16370
16378
|
|
|
16371
|
-
if ($$self.$$.dirty[0] & /*translationurl*/
|
|
16379
|
+
if ($$self.$$.dirty[0] & /*translationurl*/ 67108864) {
|
|
16372
16380
|
translationurl && setTranslationUrl();
|
|
16373
16381
|
}
|
|
16374
16382
|
|
|
16375
|
-
if ($$self.$$.dirty[0] & /*session, userid*/
|
|
16383
|
+
if ($$self.$$.dirty[0] & /*session, userid*/ 50331648) {
|
|
16376
16384
|
session && userid && setSession();
|
|
16377
16385
|
}
|
|
16378
16386
|
|
|
16379
|
-
if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/
|
|
16387
|
+
if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/ 134217856) {
|
|
16380
16388
|
showfavorites && isLoggedIn && getFavoriteGames();
|
|
16381
16389
|
}
|
|
16382
16390
|
|
|
@@ -16408,6 +16416,7 @@
|
|
|
16408
16416
|
sessionID,
|
|
16409
16417
|
playerID,
|
|
16410
16418
|
$_,
|
|
16419
|
+
userAgent,
|
|
16411
16420
|
onFocus,
|
|
16412
16421
|
addGameTag,
|
|
16413
16422
|
cancelSearch,
|
|
@@ -16428,7 +16437,7 @@
|
|
|
16428
16437
|
class CasinoSearch extends SvelteElement {
|
|
16429
16438
|
constructor(options) {
|
|
16430
16439
|
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>`;
|
|
16440
|
+
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:16px}.CasinoSearch{margin: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}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px}.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
16441
|
|
|
16433
16442
|
init(
|
|
16434
16443
|
this,
|
|
@@ -16442,16 +16451,16 @@
|
|
|
16442
16451
|
safe_not_equal,
|
|
16443
16452
|
{
|
|
16444
16453
|
endpoint: 0,
|
|
16445
|
-
datasource:
|
|
16446
|
-
session:
|
|
16447
|
-
userid:
|
|
16454
|
+
datasource: 23,
|
|
16455
|
+
session: 24,
|
|
16456
|
+
userid: 25,
|
|
16448
16457
|
lang: 1,
|
|
16449
16458
|
clientstyling: 2,
|
|
16450
16459
|
clientstylingurl: 3,
|
|
16451
16460
|
integratedgameframedesktop: 4,
|
|
16452
16461
|
integratedgameframemobile: 5,
|
|
16453
16462
|
gamepagemodalurl: 6,
|
|
16454
|
-
translationurl:
|
|
16463
|
+
translationurl: 26,
|
|
16455
16464
|
showfavorites: 7
|
|
16456
16465
|
},
|
|
16457
16466
|
null,
|
|
@@ -16497,7 +16506,7 @@
|
|
|
16497
16506
|
}
|
|
16498
16507
|
|
|
16499
16508
|
get datasource() {
|
|
16500
|
-
return this.$$.ctx[
|
|
16509
|
+
return this.$$.ctx[23];
|
|
16501
16510
|
}
|
|
16502
16511
|
|
|
16503
16512
|
set datasource(datasource) {
|
|
@@ -16506,7 +16515,7 @@
|
|
|
16506
16515
|
}
|
|
16507
16516
|
|
|
16508
16517
|
get session() {
|
|
16509
|
-
return this.$$.ctx[
|
|
16518
|
+
return this.$$.ctx[24];
|
|
16510
16519
|
}
|
|
16511
16520
|
|
|
16512
16521
|
set session(session) {
|
|
@@ -16515,7 +16524,7 @@
|
|
|
16515
16524
|
}
|
|
16516
16525
|
|
|
16517
16526
|
get userid() {
|
|
16518
|
-
return this.$$.ctx[
|
|
16527
|
+
return this.$$.ctx[25];
|
|
16519
16528
|
}
|
|
16520
16529
|
|
|
16521
16530
|
set userid(userid) {
|
|
@@ -16578,7 +16587,7 @@
|
|
|
16578
16587
|
}
|
|
16579
16588
|
|
|
16580
16589
|
get translationurl() {
|
|
16581
|
-
return this.$$.ctx[
|
|
16590
|
+
return this.$$.ctx[26];
|
|
16582
16591
|
}
|
|
16583
16592
|
|
|
16584
16593
|
set translationurl(translationurl) {
|