@everymatrix/casino-search 0.0.377 → 0.0.379
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 +366 -253
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +4 -0
package/dist/casino-search.js
CHANGED
|
@@ -12317,18 +12317,18 @@
|
|
|
12317
12317
|
|
|
12318
12318
|
function get_each_context_1(ctx, list, i) {
|
|
12319
12319
|
const child_ctx = ctx.slice();
|
|
12320
|
-
child_ctx[
|
|
12321
|
-
child_ctx[
|
|
12320
|
+
child_ctx[107] = list[i];
|
|
12321
|
+
child_ctx[109] = i;
|
|
12322
12322
|
return child_ctx;
|
|
12323
12323
|
}
|
|
12324
12324
|
|
|
12325
12325
|
function get_each_context$1(ctx, list, i) {
|
|
12326
12326
|
const child_ctx = ctx.slice();
|
|
12327
|
-
child_ctx[
|
|
12327
|
+
child_ctx[104] = list[i];
|
|
12328
12328
|
return child_ctx;
|
|
12329
12329
|
}
|
|
12330
12330
|
|
|
12331
|
-
// (
|
|
12331
|
+
// (530:8) {#if fav}
|
|
12332
12332
|
function create_if_block_12(ctx) {
|
|
12333
12333
|
let show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13];
|
|
12334
12334
|
let if_block_anchor;
|
|
@@ -12369,14 +12369,14 @@
|
|
|
12369
12369
|
block,
|
|
12370
12370
|
id: create_if_block_12.name,
|
|
12371
12371
|
type: "if",
|
|
12372
|
-
source: "(
|
|
12372
|
+
source: "(530:8) {#if fav}",
|
|
12373
12373
|
ctx
|
|
12374
12374
|
});
|
|
12375
12375
|
|
|
12376
12376
|
return block;
|
|
12377
12377
|
}
|
|
12378
12378
|
|
|
12379
|
-
// (
|
|
12379
|
+
// (531:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
|
12380
12380
|
function create_if_block_13(ctx) {
|
|
12381
12381
|
let div;
|
|
12382
12382
|
let svg;
|
|
@@ -12391,7 +12391,7 @@
|
|
|
12391
12391
|
path = svg_element("path");
|
|
12392
12392
|
set_style(path, "fill", "white");
|
|
12393
12393
|
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");
|
|
12394
|
-
add_location(path, file$1,
|
|
12394
|
+
add_location(path, file$1, 533, 112, 18963);
|
|
12395
12395
|
attr_dev(svg, "version", "1.1");
|
|
12396
12396
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
12397
12397
|
attr_dev(svg, "part", "UnfavoredIcon");
|
|
@@ -12402,10 +12402,10 @@
|
|
|
12402
12402
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
12403
12403
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
12404
12404
|
attr_dev(svg, "xml:space", "preserve");
|
|
12405
|
-
add_location(svg, file$1,
|
|
12405
|
+
add_location(svg, file$1, 532, 14, 18693);
|
|
12406
12406
|
attr_dev(div, "class", "FavIconContainer");
|
|
12407
12407
|
attr_dev(div, "part", "FavIconContainer");
|
|
12408
|
-
add_location(div, file$1,
|
|
12408
|
+
add_location(div, file$1, 531, 12, 18578);
|
|
12409
12409
|
},
|
|
12410
12410
|
m: function mount(target, anchor) {
|
|
12411
12411
|
insert_dev(target, div, anchor);
|
|
@@ -12413,7 +12413,7 @@
|
|
|
12413
12413
|
append_dev(svg, path);
|
|
12414
12414
|
|
|
12415
12415
|
if (!mounted) {
|
|
12416
|
-
dispose = listen_dev(div, "click", /*click_handler*/ ctx[
|
|
12416
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[66], false, false, false);
|
|
12417
12417
|
mounted = true;
|
|
12418
12418
|
}
|
|
12419
12419
|
},
|
|
@@ -12429,14 +12429,14 @@
|
|
|
12429
12429
|
block,
|
|
12430
12430
|
id: create_if_block_13.name,
|
|
12431
12431
|
type: "if",
|
|
12432
|
-
source: "(
|
|
12432
|
+
source: "(531:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
|
|
12433
12433
|
ctx
|
|
12434
12434
|
});
|
|
12435
12435
|
|
|
12436
12436
|
return block;
|
|
12437
12437
|
}
|
|
12438
12438
|
|
|
12439
|
-
// (
|
|
12439
|
+
// (559:77)
|
|
12440
12440
|
function create_if_block_11(ctx) {
|
|
12441
12441
|
let div;
|
|
12442
12442
|
let svg;
|
|
@@ -12449,7 +12449,7 @@
|
|
|
12449
12449
|
path = svg_element("path");
|
|
12450
12450
|
set_style(path, "fill", "white");
|
|
12451
12451
|
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");
|
|
12452
|
-
add_location(path, file$1,
|
|
12452
|
+
add_location(path, file$1, 561, 10, 21592);
|
|
12453
12453
|
attr_dev(svg, "version", "1.1");
|
|
12454
12454
|
attr_dev(svg, "class", "FavoredIcon");
|
|
12455
12455
|
attr_dev(svg, "part", "FavoredIcon");
|
|
@@ -12457,10 +12457,10 @@
|
|
|
12457
12457
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
12458
12458
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
12459
12459
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
12460
|
-
add_location(svg, file$1,
|
|
12460
|
+
add_location(svg, file$1, 560, 8, 21375);
|
|
12461
12461
|
attr_dev(div, "class", "FavIconContainer");
|
|
12462
12462
|
attr_dev(div, "part", "FavIconContainer");
|
|
12463
|
-
add_location(div, file$1,
|
|
12463
|
+
add_location(div, file$1, 559, 6, 21312);
|
|
12464
12464
|
},
|
|
12465
12465
|
m: function mount(target, anchor) {
|
|
12466
12466
|
insert_dev(target, div, anchor);
|
|
@@ -12477,14 +12477,14 @@
|
|
|
12477
12477
|
block,
|
|
12478
12478
|
id: create_if_block_11.name,
|
|
12479
12479
|
type: "if",
|
|
12480
|
-
source: "(
|
|
12480
|
+
source: "(559:77) ",
|
|
12481
12481
|
ctx
|
|
12482
12482
|
});
|
|
12483
12483
|
|
|
12484
12484
|
return block;
|
|
12485
12485
|
}
|
|
12486
12486
|
|
|
12487
|
-
// (
|
|
12487
|
+
// (553:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
12488
12488
|
function create_if_block_10(ctx) {
|
|
12489
12489
|
let div;
|
|
12490
12490
|
let svg;
|
|
@@ -12499,7 +12499,7 @@
|
|
|
12499
12499
|
path = svg_element("path");
|
|
12500
12500
|
set_style(path, "fill", "white");
|
|
12501
12501
|
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");
|
|
12502
|
-
add_location(path, file$1,
|
|
12502
|
+
add_location(path, file$1, 555, 10, 20861);
|
|
12503
12503
|
attr_dev(svg, "version", "1.1");
|
|
12504
12504
|
attr_dev(svg, "class", "FavoredIcon");
|
|
12505
12505
|
attr_dev(svg, "part", "FavoredIcon");
|
|
@@ -12507,10 +12507,10 @@
|
|
|
12507
12507
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
12508
12508
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
12509
12509
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
12510
|
-
add_location(svg, file$1,
|
|
12510
|
+
add_location(svg, file$1, 554, 8, 20644);
|
|
12511
12511
|
attr_dev(div, "class", "FavIconContainer");
|
|
12512
12512
|
attr_dev(div, "part", "FavIconContainer");
|
|
12513
|
-
add_location(div, file$1,
|
|
12513
|
+
add_location(div, file$1, 553, 6, 20535);
|
|
12514
12514
|
},
|
|
12515
12515
|
m: function mount(target, anchor) {
|
|
12516
12516
|
insert_dev(target, div, anchor);
|
|
@@ -12518,7 +12518,7 @@
|
|
|
12518
12518
|
append_dev(svg, path);
|
|
12519
12519
|
|
|
12520
12520
|
if (!mounted) {
|
|
12521
|
-
dispose = listen_dev(div, "click", /*click_handler_2*/ ctx[
|
|
12521
|
+
dispose = listen_dev(div, "click", /*click_handler_2*/ ctx[68], false, false, false);
|
|
12522
12522
|
mounted = true;
|
|
12523
12523
|
}
|
|
12524
12524
|
},
|
|
@@ -12534,14 +12534,14 @@
|
|
|
12534
12534
|
block,
|
|
12535
12535
|
id: create_if_block_10.name,
|
|
12536
12536
|
type: "if",
|
|
12537
|
-
source: "(
|
|
12537
|
+
source: "(553:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
|
|
12538
12538
|
ctx
|
|
12539
12539
|
});
|
|
12540
12540
|
|
|
12541
12541
|
return block;
|
|
12542
12542
|
}
|
|
12543
12543
|
|
|
12544
|
-
// (
|
|
12544
|
+
// (567:6) {#if gameisnew}
|
|
12545
12545
|
function create_if_block_9(ctx) {
|
|
12546
12546
|
let span;
|
|
12547
12547
|
let t_value = /*$_*/ ctx[35]('gameThumbnail.new') + "";
|
|
@@ -12553,7 +12553,7 @@
|
|
|
12553
12553
|
t = text(t_value);
|
|
12554
12554
|
attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
|
|
12555
12555
|
attr_dev(span, "part", "GameExtraInfoLabel NewGameTag");
|
|
12556
|
-
add_location(span, file$1,
|
|
12556
|
+
add_location(span, file$1, 567, 8, 22052);
|
|
12557
12557
|
},
|
|
12558
12558
|
m: function mount(target, anchor) {
|
|
12559
12559
|
insert_dev(target, span, anchor);
|
|
@@ -12571,14 +12571,14 @@
|
|
|
12571
12571
|
block,
|
|
12572
12572
|
id: create_if_block_9.name,
|
|
12573
12573
|
type: "if",
|
|
12574
|
-
source: "(
|
|
12574
|
+
source: "(567:6) {#if gameisnew}",
|
|
12575
12575
|
ctx
|
|
12576
12576
|
});
|
|
12577
12577
|
|
|
12578
12578
|
return block;
|
|
12579
12579
|
}
|
|
12580
12580
|
|
|
12581
|
-
// (
|
|
12581
|
+
// (570:6) {#if (parseInt(gamepopularity) > 0)}
|
|
12582
12582
|
function create_if_block_8(ctx) {
|
|
12583
12583
|
let span;
|
|
12584
12584
|
let t_value = /*$_*/ ctx[35]('gameThumbnail.hot') + "";
|
|
@@ -12590,7 +12590,7 @@
|
|
|
12590
12590
|
t = text(t_value);
|
|
12591
12591
|
attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
|
|
12592
12592
|
attr_dev(span, "part", "GameExtraInfoLabel PopularGameTag");
|
|
12593
|
-
add_location(span, file$1,
|
|
12593
|
+
add_location(span, file$1, 570, 8, 22229);
|
|
12594
12594
|
},
|
|
12595
12595
|
m: function mount(target, anchor) {
|
|
12596
12596
|
insert_dev(target, span, anchor);
|
|
@@ -12608,14 +12608,14 @@
|
|
|
12608
12608
|
block,
|
|
12609
12609
|
id: create_if_block_8.name,
|
|
12610
12610
|
type: "if",
|
|
12611
|
-
source: "(
|
|
12611
|
+
source: "(570:6) {#if (parseInt(gamepopularity) > 0)}",
|
|
12612
12612
|
ctx
|
|
12613
12613
|
});
|
|
12614
12614
|
|
|
12615
12615
|
return block;
|
|
12616
12616
|
}
|
|
12617
12617
|
|
|
12618
|
-
// (
|
|
12618
|
+
// (573:6) {#if livegamedata}
|
|
12619
12619
|
function create_if_block_1$1(ctx) {
|
|
12620
12620
|
let t;
|
|
12621
12621
|
let if_block1_anchor;
|
|
@@ -12684,14 +12684,14 @@
|
|
|
12684
12684
|
block,
|
|
12685
12685
|
id: create_if_block_1$1.name,
|
|
12686
12686
|
type: "if",
|
|
12687
|
-
source: "(
|
|
12687
|
+
source: "(573:6) {#if livegamedata}",
|
|
12688
12688
|
ctx
|
|
12689
12689
|
});
|
|
12690
12690
|
|
|
12691
12691
|
return block;
|
|
12692
12692
|
}
|
|
12693
12693
|
|
|
12694
|
-
// (
|
|
12694
|
+
// (574:8) {#if !isopen && starttime && timeformat}
|
|
12695
12695
|
function create_if_block_7(ctx) {
|
|
12696
12696
|
let div1;
|
|
12697
12697
|
let div0;
|
|
@@ -12720,15 +12720,15 @@
|
|
|
12720
12720
|
html_tag = new HtmlTag(false);
|
|
12721
12721
|
t4 = space();
|
|
12722
12722
|
html_tag_1 = new HtmlTag(false);
|
|
12723
|
-
add_location(span, file$1,
|
|
12723
|
+
add_location(span, file$1, 577, 14, 22617);
|
|
12724
12724
|
attr_dev(div0, "class", "ClosedGame");
|
|
12725
12725
|
attr_dev(div0, "part", "ClosedGame");
|
|
12726
|
-
add_location(div0, file$1,
|
|
12726
|
+
add_location(div0, file$1, 575, 12, 22518);
|
|
12727
12727
|
html_tag.a = t4;
|
|
12728
12728
|
html_tag_1.a = null;
|
|
12729
12729
|
attr_dev(div1, "class", "GameProp LiveProps");
|
|
12730
12730
|
attr_dev(div1, "part", "GameProp LiveProps");
|
|
12731
|
-
add_location(div1, file$1,
|
|
12731
|
+
add_location(div1, file$1, 574, 10, 22447);
|
|
12732
12732
|
},
|
|
12733
12733
|
m: function mount(target, anchor) {
|
|
12734
12734
|
insert_dev(target, div1, anchor);
|
|
@@ -12757,14 +12757,14 @@
|
|
|
12757
12757
|
block,
|
|
12758
12758
|
id: create_if_block_7.name,
|
|
12759
12759
|
type: "if",
|
|
12760
|
-
source: "(
|
|
12760
|
+
source: "(574:8) {#if !isopen && starttime && timeformat}",
|
|
12761
12761
|
ctx
|
|
12762
12762
|
});
|
|
12763
12763
|
|
|
12764
12764
|
return block;
|
|
12765
12765
|
}
|
|
12766
12766
|
|
|
12767
|
-
// (
|
|
12767
|
+
// (607:68)
|
|
12768
12768
|
function create_if_block_4$1(ctx) {
|
|
12769
12769
|
let div1;
|
|
12770
12770
|
let div0;
|
|
@@ -12797,12 +12797,12 @@
|
|
|
12797
12797
|
html_tag_1 = new HtmlTag(false);
|
|
12798
12798
|
attr_dev(div0, "class", "LiveIcons");
|
|
12799
12799
|
attr_dev(div0, "part", "LiveIcons");
|
|
12800
|
-
add_location(div0, file$1,
|
|
12800
|
+
add_location(div0, file$1, 608, 12, 24577);
|
|
12801
12801
|
html_tag.a = t1;
|
|
12802
12802
|
html_tag_1.a = null;
|
|
12803
12803
|
attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[30]);
|
|
12804
12804
|
attr_dev(div1, "part", /*roulettecontainerclassname*/ ctx[30]);
|
|
12805
|
-
add_location(div1, file$1,
|
|
12805
|
+
add_location(div1, file$1, 607, 10, 24486);
|
|
12806
12806
|
},
|
|
12807
12807
|
m: function mount(target, anchor) {
|
|
12808
12808
|
insert_dev(target, div1, anchor);
|
|
@@ -12812,7 +12812,7 @@
|
|
|
12812
12812
|
each_blocks[i].m(div0, null);
|
|
12813
12813
|
}
|
|
12814
12814
|
|
|
12815
|
-
/*div0_binding*/ ctx[
|
|
12815
|
+
/*div0_binding*/ ctx[69](div0);
|
|
12816
12816
|
append_dev(div1, t0);
|
|
12817
12817
|
html_tag.m(raw0_value, div1);
|
|
12818
12818
|
append_dev(div1, t1);
|
|
@@ -12857,7 +12857,7 @@
|
|
|
12857
12857
|
d: function destroy(detaching) {
|
|
12858
12858
|
if (detaching) detach_dev(div1);
|
|
12859
12859
|
destroy_each(each_blocks, detaching);
|
|
12860
|
-
/*div0_binding*/ ctx[
|
|
12860
|
+
/*div0_binding*/ ctx[69](null);
|
|
12861
12861
|
}
|
|
12862
12862
|
};
|
|
12863
12863
|
|
|
@@ -12865,14 +12865,14 @@
|
|
|
12865
12865
|
block,
|
|
12866
12866
|
id: create_if_block_4$1.name,
|
|
12867
12867
|
type: "if",
|
|
12868
|
-
source: "(
|
|
12868
|
+
source: "(607:68) ",
|
|
12869
12869
|
ctx
|
|
12870
12870
|
});
|
|
12871
12871
|
|
|
12872
12872
|
return block;
|
|
12873
12873
|
}
|
|
12874
12874
|
|
|
12875
|
-
// (
|
|
12875
|
+
// (586:8) {#if isopen && displaytype && displaytype === BLACKJACK}
|
|
12876
12876
|
function create_if_block_2$1(ctx) {
|
|
12877
12877
|
let div1;
|
|
12878
12878
|
let div0;
|
|
@@ -12902,12 +12902,12 @@
|
|
|
12902
12902
|
html_tag_1 = new HtmlTag(false);
|
|
12903
12903
|
attr_dev(div0, "class", "LiveIcons");
|
|
12904
12904
|
attr_dev(div0, "part", "LiveIcons");
|
|
12905
|
-
add_location(div0, file$1,
|
|
12905
|
+
add_location(div0, file$1, 587, 12, 23054);
|
|
12906
12906
|
html_tag.a = t1;
|
|
12907
12907
|
html_tag_1.a = null;
|
|
12908
12908
|
attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
|
|
12909
12909
|
attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
|
|
12910
|
-
add_location(div1, file$1,
|
|
12910
|
+
add_location(div1, file$1, 586, 10, 22949);
|
|
12911
12911
|
},
|
|
12912
12912
|
m: function mount(target, anchor) {
|
|
12913
12913
|
insert_dev(target, div1, anchor);
|
|
@@ -12944,14 +12944,14 @@
|
|
|
12944
12944
|
block,
|
|
12945
12945
|
id: create_if_block_2$1.name,
|
|
12946
12946
|
type: "if",
|
|
12947
|
-
source: "(
|
|
12947
|
+
source: "(586:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
|
|
12948
12948
|
ctx
|
|
12949
12949
|
});
|
|
12950
12950
|
|
|
12951
12951
|
return block;
|
|
12952
12952
|
}
|
|
12953
12953
|
|
|
12954
|
-
// (
|
|
12954
|
+
// (611:16) {#if roulleteresults && roulleteresults[i]}
|
|
12955
12955
|
function create_if_block_5$1(ctx) {
|
|
12956
12956
|
let if_block_anchor;
|
|
12957
12957
|
|
|
@@ -12995,17 +12995,17 @@
|
|
|
12995
12995
|
block,
|
|
12996
12996
|
id: create_if_block_5$1.name,
|
|
12997
12997
|
type: "if",
|
|
12998
|
-
source: "(
|
|
12998
|
+
source: "(611:16) {#if roulleteresults && roulleteresults[i]}",
|
|
12999
12999
|
ctx
|
|
13000
13000
|
});
|
|
13001
13001
|
|
|
13002
13002
|
return block;
|
|
13003
13003
|
}
|
|
13004
13004
|
|
|
13005
|
-
// (
|
|
13005
|
+
// (617:18) {:else}
|
|
13006
13006
|
function create_else_block_1(ctx) {
|
|
13007
13007
|
let html_tag;
|
|
13008
|
-
let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13008
|
+
let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[11][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]]]) + "";
|
|
13009
13009
|
let html_anchor;
|
|
13010
13010
|
|
|
13011
13011
|
const block = {
|
|
@@ -13019,7 +13019,7 @@
|
|
|
13019
13019
|
insert_dev(target, html_anchor, anchor);
|
|
13020
13020
|
},
|
|
13021
13021
|
p: function update(ctx, dirty) {
|
|
13022
|
-
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13022
|
+
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[11][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]]]) + "")) html_tag.p(raw_value);
|
|
13023
13023
|
},
|
|
13024
13024
|
d: function destroy(detaching) {
|
|
13025
13025
|
if (detaching) detach_dev(html_anchor);
|
|
@@ -13031,21 +13031,21 @@
|
|
|
13031
13031
|
block,
|
|
13032
13032
|
id: create_else_block_1.name,
|
|
13033
13033
|
type: "else",
|
|
13034
|
-
source: "(
|
|
13034
|
+
source: "(617:18) {:else}",
|
|
13035
13035
|
ctx
|
|
13036
13036
|
});
|
|
13037
13037
|
|
|
13038
13038
|
return block;
|
|
13039
13039
|
}
|
|
13040
13040
|
|
|
13041
|
-
// (
|
|
13041
|
+
// (612:18) {#if isdouble}
|
|
13042
13042
|
function create_if_block_6(ctx) {
|
|
13043
13043
|
let div;
|
|
13044
13044
|
let html_tag;
|
|
13045
|
-
let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13045
|
+
let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]]) + "";
|
|
13046
13046
|
let t0;
|
|
13047
13047
|
let html_tag_1;
|
|
13048
|
-
let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13048
|
+
let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]]) + "";
|
|
13049
13049
|
let t1;
|
|
13050
13050
|
|
|
13051
13051
|
const block = {
|
|
@@ -13059,7 +13059,7 @@
|
|
|
13059
13059
|
html_tag_1.a = t1;
|
|
13060
13060
|
attr_dev(div, "class", "Double");
|
|
13061
13061
|
attr_dev(div, "part", "Double");
|
|
13062
|
-
add_location(div, file$1,
|
|
13062
|
+
add_location(div, file$1, 612, 20, 24828);
|
|
13063
13063
|
},
|
|
13064
13064
|
m: function mount(target, anchor) {
|
|
13065
13065
|
insert_dev(target, div, anchor);
|
|
@@ -13069,8 +13069,8 @@
|
|
|
13069
13069
|
append_dev(div, t1);
|
|
13070
13070
|
},
|
|
13071
13071
|
p: function update(ctx, dirty) {
|
|
13072
|
-
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13073
|
-
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13072
|
+
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]]) + "")) html_tag.p(raw0_value);
|
|
13073
|
+
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]]) + "")) html_tag_1.p(raw1_value);
|
|
13074
13074
|
},
|
|
13075
13075
|
d: function destroy(detaching) {
|
|
13076
13076
|
if (detaching) detach_dev(div);
|
|
@@ -13081,17 +13081,17 @@
|
|
|
13081
13081
|
block,
|
|
13082
13082
|
id: create_if_block_6.name,
|
|
13083
13083
|
type: "if",
|
|
13084
|
-
source: "(
|
|
13084
|
+
source: "(612:18) {#if isdouble}",
|
|
13085
13085
|
ctx
|
|
13086
13086
|
});
|
|
13087
13087
|
|
|
13088
13088
|
return block;
|
|
13089
13089
|
}
|
|
13090
13090
|
|
|
13091
|
-
// (
|
|
13091
|
+
// (610:14) {#each new Array(numberofdisplayedresults) as garbage, i}
|
|
13092
13092
|
function create_each_block_1(ctx) {
|
|
13093
13093
|
let if_block_anchor;
|
|
13094
|
-
let if_block = /*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[
|
|
13094
|
+
let if_block = /*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[109]] && create_if_block_5$1(ctx);
|
|
13095
13095
|
|
|
13096
13096
|
const block = {
|
|
13097
13097
|
c: function create() {
|
|
@@ -13103,7 +13103,7 @@
|
|
|
13103
13103
|
insert_dev(target, if_block_anchor, anchor);
|
|
13104
13104
|
},
|
|
13105
13105
|
p: function update(ctx, dirty) {
|
|
13106
|
-
if (/*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[
|
|
13106
|
+
if (/*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[109]]) {
|
|
13107
13107
|
if (if_block) {
|
|
13108
13108
|
if_block.p(ctx, dirty);
|
|
13109
13109
|
} else {
|
|
@@ -13126,14 +13126,14 @@
|
|
|
13126
13126
|
block,
|
|
13127
13127
|
id: create_each_block_1.name,
|
|
13128
13128
|
type: "each",
|
|
13129
|
-
source: "(
|
|
13129
|
+
source: "(610:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
|
|
13130
13130
|
ctx
|
|
13131
13131
|
});
|
|
13132
13132
|
|
|
13133
13133
|
return block;
|
|
13134
13134
|
}
|
|
13135
13135
|
|
|
13136
|
-
// (
|
|
13136
|
+
// (593:14) {:else}
|
|
13137
13137
|
function create_else_block$1(ctx) {
|
|
13138
13138
|
let each_1_anchor;
|
|
13139
13139
|
let each_value = /*seats*/ ctx[24];
|
|
@@ -13194,14 +13194,14 @@
|
|
|
13194
13194
|
block,
|
|
13195
13195
|
id: create_else_block$1.name,
|
|
13196
13196
|
type: "else",
|
|
13197
|
-
source: "(
|
|
13197
|
+
source: "(593:14) {:else}",
|
|
13198
13198
|
ctx
|
|
13199
13199
|
});
|
|
13200
13200
|
|
|
13201
13201
|
return block;
|
|
13202
13202
|
}
|
|
13203
13203
|
|
|
13204
|
-
// (
|
|
13204
|
+
// (589:14) {#if istablefull}
|
|
13205
13205
|
function create_if_block_3$1(ctx) {
|
|
13206
13206
|
let span;
|
|
13207
13207
|
let t_value = /*$_*/ ctx[35]('gameThumbnail.full') + "";
|
|
@@ -13213,7 +13213,7 @@
|
|
|
13213
13213
|
t = text(t_value);
|
|
13214
13214
|
attr_dev(span, "class", "FullTable");
|
|
13215
13215
|
attr_dev(span, "part", "FullTable");
|
|
13216
|
-
add_location(span, file$1,
|
|
13216
|
+
add_location(span, file$1, 589, 16, 23143);
|
|
13217
13217
|
},
|
|
13218
13218
|
m: function mount(target, anchor) {
|
|
13219
13219
|
insert_dev(target, span, anchor);
|
|
@@ -13231,14 +13231,14 @@
|
|
|
13231
13231
|
block,
|
|
13232
13232
|
id: create_if_block_3$1.name,
|
|
13233
13233
|
type: "if",
|
|
13234
|
-
source: "(
|
|
13234
|
+
source: "(589:14) {#if istablefull}",
|
|
13235
13235
|
ctx
|
|
13236
13236
|
});
|
|
13237
13237
|
|
|
13238
13238
|
return block;
|
|
13239
13239
|
}
|
|
13240
13240
|
|
|
13241
|
-
// (
|
|
13241
|
+
// (594:16) {#each seats as seatData}
|
|
13242
13242
|
function create_each_block$1(ctx) {
|
|
13243
13243
|
let span;
|
|
13244
13244
|
let svg;
|
|
@@ -13256,24 +13256,24 @@
|
|
|
13256
13256
|
path1 = svg_element("path");
|
|
13257
13257
|
t = space();
|
|
13258
13258
|
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");
|
|
13259
|
-
add_location(path0, file$1,
|
|
13259
|
+
add_location(path0, file$1, 596, 22, 23644);
|
|
13260
13260
|
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");
|
|
13261
|
-
add_location(path1, file$1,
|
|
13261
|
+
add_location(path1, file$1, 597, 22, 24020);
|
|
13262
13262
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
13263
13263
|
attr_dev(svg, "width", "13");
|
|
13264
13264
|
attr_dev(svg, "height", "14");
|
|
13265
13265
|
attr_dev(svg, "viewBox", "0 0 13 14");
|
|
13266
|
-
add_location(svg, file$1,
|
|
13266
|
+
add_location(svg, file$1, 595, 20, 23538);
|
|
13267
13267
|
|
|
13268
|
-
attr_dev(span, "class", span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13268
|
+
attr_dev(span, "class", span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[104].toString())
|
|
13269
13269
|
? 'ClosedSeat'
|
|
13270
13270
|
: 'OpenSeat');
|
|
13271
13271
|
|
|
13272
|
-
attr_dev(span, "part", span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13272
|
+
attr_dev(span, "part", span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[104].toString())
|
|
13273
13273
|
? 'ClosedSeat'
|
|
13274
13274
|
: 'OpenSeat');
|
|
13275
13275
|
|
|
13276
|
-
add_location(span, file$1,
|
|
13276
|
+
add_location(span, file$1, 594, 18, 23336);
|
|
13277
13277
|
},
|
|
13278
13278
|
m: function mount(target, anchor) {
|
|
13279
13279
|
insert_dev(target, span, anchor);
|
|
@@ -13283,13 +13283,13 @@
|
|
|
13283
13283
|
append_dev(span, t);
|
|
13284
13284
|
},
|
|
13285
13285
|
p: function update(ctx, dirty) {
|
|
13286
|
-
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_class_value !== (span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13286
|
+
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_class_value !== (span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[104].toString())
|
|
13287
13287
|
? 'ClosedSeat'
|
|
13288
13288
|
: 'OpenSeat')) {
|
|
13289
13289
|
attr_dev(span, "class", span_class_value);
|
|
13290
13290
|
}
|
|
13291
13291
|
|
|
13292
|
-
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_part_value !== (span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13292
|
+
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_part_value !== (span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[104].toString())
|
|
13293
13293
|
? 'ClosedSeat'
|
|
13294
13294
|
: 'OpenSeat')) {
|
|
13295
13295
|
attr_dev(span, "part", span_part_value);
|
|
@@ -13304,14 +13304,14 @@
|
|
|
13304
13304
|
block,
|
|
13305
13305
|
id: create_each_block$1.name,
|
|
13306
13306
|
type: "each",
|
|
13307
|
-
source: "(
|
|
13307
|
+
source: "(594:16) {#each seats as seatData}",
|
|
13308
13308
|
ctx
|
|
13309
13309
|
});
|
|
13310
13310
|
|
|
13311
13311
|
return block;
|
|
13312
13312
|
}
|
|
13313
13313
|
|
|
13314
|
-
// (
|
|
13314
|
+
// (630:2) {#if showgamename}
|
|
13315
13315
|
function create_if_block$1(ctx) {
|
|
13316
13316
|
let p;
|
|
13317
13317
|
let t;
|
|
@@ -13323,7 +13323,7 @@
|
|
|
13323
13323
|
attr_dev(p, "class", "GameNameBelow");
|
|
13324
13324
|
attr_dev(p, "part", "GameNameBelow");
|
|
13325
13325
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
13326
|
-
add_location(p, file$1,
|
|
13326
|
+
add_location(p, file$1, 630, 4, 25713);
|
|
13327
13327
|
},
|
|
13328
13328
|
m: function mount(target, anchor) {
|
|
13329
13329
|
insert_dev(target, p, anchor);
|
|
@@ -13345,7 +13345,7 @@
|
|
|
13345
13345
|
block,
|
|
13346
13346
|
id: create_if_block$1.name,
|
|
13347
13347
|
type: "if",
|
|
13348
|
-
source: "(
|
|
13348
|
+
source: "(630:2) {#if showgamename}",
|
|
13349
13349
|
ctx
|
|
13350
13350
|
});
|
|
13351
13351
|
|
|
@@ -13443,26 +13443,26 @@
|
|
|
13443
13443
|
attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[15] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[16] ? 'Loaded' : ''));
|
|
13444
13444
|
attr_dev(img, "alt", "");
|
|
13445
13445
|
attr_dev(img, "loading", "lazy");
|
|
13446
|
-
add_location(img, file$1,
|
|
13446
|
+
add_location(img, file$1, 526, 4, 18070);
|
|
13447
13447
|
attr_dev(p, "class", "GameInfoName");
|
|
13448
13448
|
attr_dev(p, "part", "GameInfoName");
|
|
13449
13449
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
13450
|
-
add_location(p, file$1,
|
|
13450
|
+
add_location(p, file$1, 545, 8, 20103);
|
|
13451
13451
|
attr_dev(button, "class", "GameInfoBtn");
|
|
13452
13452
|
attr_dev(button, "part", "GameInfoBtn");
|
|
13453
|
-
add_location(button, file$1,
|
|
13453
|
+
add_location(button, file$1, 546, 8, 20189);
|
|
13454
13454
|
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''));
|
|
13455
13455
|
attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''));
|
|
13456
|
-
add_location(div0, file$1,
|
|
13456
|
+
add_location(div0, file$1, 528, 6, 18383);
|
|
13457
13457
|
attr_dev(span, "class", "GameInfoVendor");
|
|
13458
13458
|
attr_dev(span, "part", "GameInfoVendor");
|
|
13459
|
-
add_location(span, file$1,
|
|
13459
|
+
add_location(span, file$1, 548, 6, 20337);
|
|
13460
13460
|
attr_dev(div1, "class", "GameInfoWrapper");
|
|
13461
13461
|
attr_dev(div1, "part", "GameInfoWrapper");
|
|
13462
|
-
add_location(div1, file$1,
|
|
13462
|
+
add_location(div1, file$1, 527, 4, 18324);
|
|
13463
13463
|
attr_dev(div2, "class", "GameExtraInfo");
|
|
13464
13464
|
attr_dev(div2, "part", "GameExtraInfo");
|
|
13465
|
-
add_location(div2, file$1,
|
|
13465
|
+
add_location(div2, file$1, 565, 4, 21973);
|
|
13466
13466
|
|
|
13467
13467
|
attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
|
|
13468
13468
|
? 'GameInnerContainerUnavailable'
|
|
@@ -13472,10 +13472,10 @@
|
|
|
13472
13472
|
? 'GameInnerContainerUnavailable'
|
|
13473
13473
|
: ''));
|
|
13474
13474
|
|
|
13475
|
-
add_location(div3, file$1,
|
|
13475
|
+
add_location(div3, file$1, 525, 2, 17682);
|
|
13476
13476
|
attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
|
|
13477
13477
|
attr_dev(div4, "part", div4_part_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
|
|
13478
|
-
add_location(div4, file$1,
|
|
13478
|
+
add_location(div4, file$1, 524, 0, 17556);
|
|
13479
13479
|
},
|
|
13480
13480
|
l: function claim(nodes) {
|
|
13481
13481
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -13484,7 +13484,7 @@
|
|
|
13484
13484
|
insert_dev(target, div4, anchor);
|
|
13485
13485
|
append_dev(div4, div3);
|
|
13486
13486
|
append_dev(div3, img);
|
|
13487
|
-
/*img_binding*/ ctx[
|
|
13487
|
+
/*img_binding*/ ctx[65](img);
|
|
13488
13488
|
append_dev(div3, t0);
|
|
13489
13489
|
append_dev(div3, div1);
|
|
13490
13490
|
append_dev(div1, div0);
|
|
@@ -13509,11 +13509,11 @@
|
|
|
13509
13509
|
if (if_block4) if_block4.m(div2, null);
|
|
13510
13510
|
append_dev(div4, t11);
|
|
13511
13511
|
if (if_block5) if_block5.m(div4, null);
|
|
13512
|
-
/*div4_binding*/ ctx[
|
|
13512
|
+
/*div4_binding*/ ctx[70](div4);
|
|
13513
13513
|
|
|
13514
13514
|
if (!mounted) {
|
|
13515
13515
|
dispose = [
|
|
13516
|
-
listen_dev(button, "click", /*click_handler_1*/ ctx[
|
|
13516
|
+
listen_dev(button, "click", /*click_handler_1*/ ctx[67], false, false, false),
|
|
13517
13517
|
listen_dev(div3, "mouseenter", /*gameHover*/ ctx[41], false, false, false),
|
|
13518
13518
|
listen_dev(div3, "mouseleave", /*gameBlur*/ ctx[42], false, false, false),
|
|
13519
13519
|
listen_dev(div3, "touchstart", /*gameTouch*/ ctx[39], { passive: true }, false, false),
|
|
@@ -13657,7 +13657,7 @@
|
|
|
13657
13657
|
o: noop$1,
|
|
13658
13658
|
d: function destroy(detaching) {
|
|
13659
13659
|
if (detaching) detach_dev(div4);
|
|
13660
|
-
/*img_binding*/ ctx[
|
|
13660
|
+
/*img_binding*/ ctx[65](null);
|
|
13661
13661
|
if (if_block0) if_block0.d();
|
|
13662
13662
|
|
|
13663
13663
|
if (if_block1) {
|
|
@@ -13668,7 +13668,7 @@
|
|
|
13668
13668
|
if (if_block3) if_block3.d();
|
|
13669
13669
|
if (if_block4) if_block4.d();
|
|
13670
13670
|
if (if_block5) if_block5.d();
|
|
13671
|
-
/*div4_binding*/ ctx[
|
|
13671
|
+
/*div4_binding*/ ctx[70](null);
|
|
13672
13672
|
mounted = false;
|
|
13673
13673
|
run_all(dispose);
|
|
13674
13674
|
}
|
|
@@ -13722,6 +13722,8 @@
|
|
|
13722
13722
|
let { livelobbyendpoint = '' } = $$props;
|
|
13723
13723
|
let { connectlive = '' } = $$props;
|
|
13724
13724
|
let { visibilityconnect = '' } = $$props;
|
|
13725
|
+
let { integratedgameframedesktop = 'false' } = $$props;
|
|
13726
|
+
let { integratedgameframemobile = 'false' } = $$props;
|
|
13725
13727
|
let isLoggedIn = false;
|
|
13726
13728
|
let sessionID;
|
|
13727
13729
|
let playerID;
|
|
@@ -13850,18 +13852,41 @@
|
|
|
13850
13852
|
window.postMessage({ type: 'SearchedItemClicked', gameId }, window.location.href);
|
|
13851
13853
|
}
|
|
13852
13854
|
|
|
13853
|
-
if (
|
|
13855
|
+
if (isMobile(userAgent) && integratedgameframemobile == "true") {
|
|
13854
13856
|
window.postMessage(
|
|
13855
13857
|
{
|
|
13856
13858
|
type: 'OpenGameFrame',
|
|
13857
13859
|
gameId,
|
|
13858
13860
|
gamefunmode,
|
|
13859
13861
|
gamepagemodalurl,
|
|
13862
|
+
isMobile: isMobile(userAgent),
|
|
13863
|
+
source: 'GameThumbnail'
|
|
13864
|
+
},
|
|
13865
|
+
window.location.href
|
|
13866
|
+
);
|
|
13867
|
+
} else if (isMobile(userAgent) && integratedgameframemobile == "false") {
|
|
13868
|
+
window.postMessage(
|
|
13869
|
+
{
|
|
13870
|
+
type: 'ShowGameModal',
|
|
13871
|
+
gameId,
|
|
13860
13872
|
isMobile: isMobile(userAgent)
|
|
13861
13873
|
},
|
|
13862
13874
|
window.location.href
|
|
13863
13875
|
);
|
|
13864
|
-
}
|
|
13876
|
+
}
|
|
13877
|
+
|
|
13878
|
+
if (!isMobile(userAgent) && integratedgameframedesktop == "true") {
|
|
13879
|
+
window.postMessage(
|
|
13880
|
+
{
|
|
13881
|
+
type: 'OpenGameFrame',
|
|
13882
|
+
gameId,
|
|
13883
|
+
gamefunmode,
|
|
13884
|
+
gamepagemodalurl,
|
|
13885
|
+
isMobile: isMobile(userAgent)
|
|
13886
|
+
},
|
|
13887
|
+
window.location.href
|
|
13888
|
+
);
|
|
13889
|
+
} else if (!isMobile(userAgent) && integratedgameframedesktop == "false") {
|
|
13865
13890
|
window.postMessage(
|
|
13866
13891
|
{
|
|
13867
13892
|
type: 'ShowGameModal',
|
|
@@ -14320,7 +14345,9 @@
|
|
|
14320
14345
|
'endpoint',
|
|
14321
14346
|
'livelobbyendpoint',
|
|
14322
14347
|
'connectlive',
|
|
14323
|
-
'visibilityconnect'
|
|
14348
|
+
'visibilityconnect',
|
|
14349
|
+
'integratedgameframedesktop',
|
|
14350
|
+
'integratedgameframemobile'
|
|
14324
14351
|
];
|
|
14325
14352
|
|
|
14326
14353
|
Object_1$1.keys($$props).forEach(key => {
|
|
@@ -14377,6 +14404,8 @@
|
|
|
14377
14404
|
if ('livelobbyendpoint' in $$props) $$invalidate(58, livelobbyendpoint = $$props.livelobbyendpoint);
|
|
14378
14405
|
if ('connectlive' in $$props) $$invalidate(59, connectlive = $$props.connectlive);
|
|
14379
14406
|
if ('visibilityconnect' in $$props) $$invalidate(60, visibilityconnect = $$props.visibilityconnect);
|
|
14407
|
+
if ('integratedgameframedesktop' in $$props) $$invalidate(61, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
14408
|
+
if ('integratedgameframemobile' in $$props) $$invalidate(62, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
14380
14409
|
};
|
|
14381
14410
|
|
|
14382
14411
|
$$self.$capture_state = () => ({
|
|
@@ -14413,6 +14442,8 @@
|
|
|
14413
14442
|
livelobbyendpoint,
|
|
14414
14443
|
connectlive,
|
|
14415
14444
|
visibilityconnect,
|
|
14445
|
+
integratedgameframedesktop,
|
|
14446
|
+
integratedgameframemobile,
|
|
14416
14447
|
isLoggedIn,
|
|
14417
14448
|
sessionID,
|
|
14418
14449
|
playerID,
|
|
@@ -14518,6 +14549,8 @@
|
|
|
14518
14549
|
if ('livelobbyendpoint' in $$props) $$invalidate(58, livelobbyendpoint = $$props.livelobbyendpoint);
|
|
14519
14550
|
if ('connectlive' in $$props) $$invalidate(59, connectlive = $$props.connectlive);
|
|
14520
14551
|
if ('visibilityconnect' in $$props) $$invalidate(60, visibilityconnect = $$props.visibilityconnect);
|
|
14552
|
+
if ('integratedgameframedesktop' in $$props) $$invalidate(61, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
14553
|
+
if ('integratedgameframemobile' in $$props) $$invalidate(62, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
14521
14554
|
if ('isLoggedIn' in $$props) $$invalidate(13, isLoggedIn = $$props.isLoggedIn);
|
|
14522
14555
|
if ('sessionID' in $$props) sessionID = $$props.sessionID;
|
|
14523
14556
|
if ('playerID' in $$props) playerID = $$props.playerID;
|
|
@@ -14666,6 +14699,8 @@
|
|
|
14666
14699
|
livelobbyendpoint,
|
|
14667
14700
|
connectlive,
|
|
14668
14701
|
visibilityconnect,
|
|
14702
|
+
integratedgameframedesktop,
|
|
14703
|
+
integratedgameframemobile,
|
|
14669
14704
|
MONEY_WHEEL_COLOR_MAP,
|
|
14670
14705
|
ROULETTE_COLOR_MAP,
|
|
14671
14706
|
img_binding,
|
|
@@ -14717,8 +14752,10 @@
|
|
|
14717
14752
|
livelobbyendpoint: 58,
|
|
14718
14753
|
connectlive: 59,
|
|
14719
14754
|
visibilityconnect: 60,
|
|
14720
|
-
|
|
14721
|
-
|
|
14755
|
+
integratedgameframedesktop: 61,
|
|
14756
|
+
integratedgameframemobile: 62,
|
|
14757
|
+
MONEY_WHEEL_COLOR_MAP: 63,
|
|
14758
|
+
ROULETTE_COLOR_MAP: 64
|
|
14722
14759
|
},
|
|
14723
14760
|
null,
|
|
14724
14761
|
[-1, -1, -1, -1]
|
|
@@ -14762,6 +14799,8 @@
|
|
|
14762
14799
|
"livelobbyendpoint",
|
|
14763
14800
|
"connectlive",
|
|
14764
14801
|
"visibilityconnect",
|
|
14802
|
+
"integratedgameframedesktop",
|
|
14803
|
+
"integratedgameframemobile",
|
|
14765
14804
|
"MONEY_WHEEL_COLOR_MAP",
|
|
14766
14805
|
"ROULETTE_COLOR_MAP"
|
|
14767
14806
|
];
|
|
@@ -14983,16 +15022,34 @@
|
|
|
14983
15022
|
flush();
|
|
14984
15023
|
}
|
|
14985
15024
|
|
|
14986
|
-
get
|
|
15025
|
+
get integratedgameframedesktop() {
|
|
14987
15026
|
return this.$$.ctx[61];
|
|
14988
15027
|
}
|
|
14989
15028
|
|
|
15029
|
+
set integratedgameframedesktop(integratedgameframedesktop) {
|
|
15030
|
+
this.$$set({ integratedgameframedesktop });
|
|
15031
|
+
flush();
|
|
15032
|
+
}
|
|
15033
|
+
|
|
15034
|
+
get integratedgameframemobile() {
|
|
15035
|
+
return this.$$.ctx[62];
|
|
15036
|
+
}
|
|
15037
|
+
|
|
15038
|
+
set integratedgameframemobile(integratedgameframemobile) {
|
|
15039
|
+
this.$$set({ integratedgameframemobile });
|
|
15040
|
+
flush();
|
|
15041
|
+
}
|
|
15042
|
+
|
|
15043
|
+
get MONEY_WHEEL_COLOR_MAP() {
|
|
15044
|
+
return this.$$.ctx[63];
|
|
15045
|
+
}
|
|
15046
|
+
|
|
14990
15047
|
set MONEY_WHEEL_COLOR_MAP(value) {
|
|
14991
15048
|
throw new Error("<undefined>: Cannot set read-only property 'MONEY_WHEEL_COLOR_MAP'");
|
|
14992
15049
|
}
|
|
14993
15050
|
|
|
14994
15051
|
get ROULETTE_COLOR_MAP() {
|
|
14995
|
-
return this.$$.ctx[
|
|
15052
|
+
return this.$$.ctx[64];
|
|
14996
15053
|
}
|
|
14997
15054
|
|
|
14998
15055
|
set ROULETTE_COLOR_MAP(value) {
|
|
@@ -15009,11 +15066,11 @@
|
|
|
15009
15066
|
|
|
15010
15067
|
function get_each_context(ctx, list, i) {
|
|
15011
15068
|
const child_ctx = ctx.slice();
|
|
15012
|
-
child_ctx[
|
|
15069
|
+
child_ctx[35] = list[i];
|
|
15013
15070
|
return child_ctx;
|
|
15014
15071
|
}
|
|
15015
15072
|
|
|
15016
|
-
// (
|
|
15073
|
+
// (207:4) {:else}
|
|
15017
15074
|
function create_else_block(ctx) {
|
|
15018
15075
|
let t0;
|
|
15019
15076
|
let div;
|
|
@@ -15021,14 +15078,14 @@
|
|
|
15021
15078
|
let div_class_value;
|
|
15022
15079
|
|
|
15023
15080
|
function select_block_type_1(ctx, dirty) {
|
|
15024
|
-
if (/*searchActive*/ ctx[
|
|
15025
|
-
if (/*searchArray*/ ctx[
|
|
15081
|
+
if (/*searchActive*/ ctx[8] == true && /*searchValue*/ ctx[4].length < 2) return create_if_block_3;
|
|
15082
|
+
if (/*searchArray*/ ctx[6].length != 0) return create_if_block_5;
|
|
15026
15083
|
}
|
|
15027
15084
|
|
|
15028
15085
|
let current_block_type = select_block_type_1(ctx);
|
|
15029
15086
|
let if_block0 = current_block_type && current_block_type(ctx);
|
|
15030
|
-
let if_block1 = /*searchCancelled*/ ctx[
|
|
15031
|
-
let if_block2 = /*searchValue*/ ctx[
|
|
15087
|
+
let if_block1 = /*searchCancelled*/ ctx[5] === false && create_if_block_2(ctx);
|
|
15088
|
+
let if_block2 = /*searchValue*/ ctx[4].length >= 2 && /*searchArray*/ ctx[6].length == 0 && create_if_block_1(ctx);
|
|
15032
15089
|
|
|
15033
15090
|
const block = {
|
|
15034
15091
|
c: function create() {
|
|
@@ -15038,8 +15095,8 @@
|
|
|
15038
15095
|
if (if_block1) if_block1.c();
|
|
15039
15096
|
t1 = space();
|
|
15040
15097
|
if (if_block2) if_block2.c();
|
|
15041
|
-
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[
|
|
15042
|
-
add_location(div, file,
|
|
15098
|
+
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[8] == true ? '' : 'NotVisible'));
|
|
15099
|
+
add_location(div, file, 217, 6, 7666);
|
|
15043
15100
|
},
|
|
15044
15101
|
m: function mount(target, anchor) {
|
|
15045
15102
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15062,7 +15119,7 @@
|
|
|
15062
15119
|
}
|
|
15063
15120
|
}
|
|
15064
15121
|
|
|
15065
|
-
if (/*searchCancelled*/ ctx[
|
|
15122
|
+
if (/*searchCancelled*/ ctx[5] === false) {
|
|
15066
15123
|
if (if_block1) {
|
|
15067
15124
|
if_block1.p(ctx, dirty);
|
|
15068
15125
|
} else {
|
|
@@ -15075,7 +15132,7 @@
|
|
|
15075
15132
|
if_block1 = null;
|
|
15076
15133
|
}
|
|
15077
15134
|
|
|
15078
|
-
if (/*searchValue*/ ctx[
|
|
15135
|
+
if (/*searchValue*/ ctx[4].length >= 2 && /*searchArray*/ ctx[6].length == 0) {
|
|
15079
15136
|
if (if_block2) {
|
|
15080
15137
|
if_block2.p(ctx, dirty);
|
|
15081
15138
|
} else {
|
|
@@ -15088,7 +15145,7 @@
|
|
|
15088
15145
|
if_block2 = null;
|
|
15089
15146
|
}
|
|
15090
15147
|
|
|
15091
|
-
if (dirty[0] & /*searchActive*/
|
|
15148
|
+
if (dirty[0] & /*searchActive*/ 256 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[8] == true ? '' : 'NotVisible'))) {
|
|
15092
15149
|
attr_dev(div, "class", div_class_value);
|
|
15093
15150
|
}
|
|
15094
15151
|
},
|
|
@@ -15108,31 +15165,31 @@
|
|
|
15108
15165
|
block,
|
|
15109
15166
|
id: create_else_block.name,
|
|
15110
15167
|
type: "else",
|
|
15111
|
-
source: "(
|
|
15168
|
+
source: "(207:4) {:else}",
|
|
15112
15169
|
ctx
|
|
15113
15170
|
});
|
|
15114
15171
|
|
|
15115
15172
|
return block;
|
|
15116
15173
|
}
|
|
15117
15174
|
|
|
15118
|
-
// (
|
|
15175
|
+
// (205:4) {#if isLoading}
|
|
15119
15176
|
function create_if_block(ctx) {
|
|
15120
15177
|
let p;
|
|
15121
|
-
let t_value = /*$_*/ ctx[
|
|
15178
|
+
let t_value = /*$_*/ ctx[11]('Translations.loading') + "";
|
|
15122
15179
|
let t;
|
|
15123
15180
|
|
|
15124
15181
|
const block = {
|
|
15125
15182
|
c: function create() {
|
|
15126
15183
|
p = element("p");
|
|
15127
15184
|
t = text(t_value);
|
|
15128
|
-
add_location(p, file,
|
|
15185
|
+
add_location(p, file, 205, 6, 7158);
|
|
15129
15186
|
},
|
|
15130
15187
|
m: function mount(target, anchor) {
|
|
15131
15188
|
insert_dev(target, p, anchor);
|
|
15132
15189
|
append_dev(p, t);
|
|
15133
15190
|
},
|
|
15134
15191
|
p: function update(ctx, dirty) {
|
|
15135
|
-
if (dirty[0] & /*$_*/
|
|
15192
|
+
if (dirty[0] & /*$_*/ 2048 && t_value !== (t_value = /*$_*/ ctx[11]('Translations.loading') + "")) set_data_dev(t, t_value);
|
|
15136
15193
|
},
|
|
15137
15194
|
d: function destroy(detaching) {
|
|
15138
15195
|
if (detaching) detach_dev(p);
|
|
@@ -15143,17 +15200,17 @@
|
|
|
15143
15200
|
block,
|
|
15144
15201
|
id: create_if_block.name,
|
|
15145
15202
|
type: "if",
|
|
15146
|
-
source: "(
|
|
15203
|
+
source: "(205:4) {#if isLoading}",
|
|
15147
15204
|
ctx
|
|
15148
15205
|
});
|
|
15149
15206
|
|
|
15150
15207
|
return block;
|
|
15151
15208
|
}
|
|
15152
15209
|
|
|
15153
|
-
// (
|
|
15210
|
+
// (215:40)
|
|
15154
15211
|
function create_if_block_5(ctx) {
|
|
15155
15212
|
let p;
|
|
15156
|
-
let t_value = /*$_*/ ctx[
|
|
15213
|
+
let t_value = /*$_*/ ctx[11]('Translations.searchResult') + "";
|
|
15157
15214
|
let t;
|
|
15158
15215
|
|
|
15159
15216
|
const block = {
|
|
@@ -15161,14 +15218,14 @@
|
|
|
15161
15218
|
p = element("p");
|
|
15162
15219
|
t = text(t_value);
|
|
15163
15220
|
attr_dev(p, "class", "SearchMessage");
|
|
15164
|
-
add_location(p, file,
|
|
15221
|
+
add_location(p, file, 215, 8, 7584);
|
|
15165
15222
|
},
|
|
15166
15223
|
m: function mount(target, anchor) {
|
|
15167
15224
|
insert_dev(target, p, anchor);
|
|
15168
15225
|
append_dev(p, t);
|
|
15169
15226
|
},
|
|
15170
15227
|
p: function update(ctx, dirty) {
|
|
15171
|
-
if (dirty[0] & /*$_*/
|
|
15228
|
+
if (dirty[0] & /*$_*/ 2048 && t_value !== (t_value = /*$_*/ ctx[11]('Translations.searchResult') + "")) set_data_dev(t, t_value);
|
|
15172
15229
|
},
|
|
15173
15230
|
d: function destroy(detaching) {
|
|
15174
15231
|
if (detaching) detach_dev(p);
|
|
@@ -15179,21 +15236,21 @@
|
|
|
15179
15236
|
block,
|
|
15180
15237
|
id: create_if_block_5.name,
|
|
15181
15238
|
type: "if",
|
|
15182
|
-
source: "(
|
|
15239
|
+
source: "(215:40) ",
|
|
15183
15240
|
ctx
|
|
15184
15241
|
});
|
|
15185
15242
|
|
|
15186
15243
|
return block;
|
|
15187
15244
|
}
|
|
15188
15245
|
|
|
15189
|
-
// (
|
|
15246
|
+
// (208:6) {#if searchActive == true && searchValue.length < 2}
|
|
15190
15247
|
function create_if_block_3(ctx) {
|
|
15191
15248
|
let p;
|
|
15192
|
-
let t0_value = /*$_*/ ctx[
|
|
15249
|
+
let t0_value = /*$_*/ ctx[11]('Translations.recentSearch') + "";
|
|
15193
15250
|
let t0;
|
|
15194
15251
|
let t1;
|
|
15195
15252
|
let if_block_anchor;
|
|
15196
|
-
let if_block = /*searchArray*/ ctx[
|
|
15253
|
+
let if_block = /*searchArray*/ ctx[6].length == 0 && create_if_block_4(ctx);
|
|
15197
15254
|
|
|
15198
15255
|
const block = {
|
|
15199
15256
|
c: function create() {
|
|
@@ -15203,7 +15260,7 @@
|
|
|
15203
15260
|
if (if_block) if_block.c();
|
|
15204
15261
|
if_block_anchor = empty();
|
|
15205
15262
|
attr_dev(p, "class", "SearchMessage");
|
|
15206
|
-
add_location(p, file,
|
|
15263
|
+
add_location(p, file, 208, 8, 7273);
|
|
15207
15264
|
},
|
|
15208
15265
|
m: function mount(target, anchor) {
|
|
15209
15266
|
insert_dev(target, p, anchor);
|
|
@@ -15213,9 +15270,9 @@
|
|
|
15213
15270
|
insert_dev(target, if_block_anchor, anchor);
|
|
15214
15271
|
},
|
|
15215
15272
|
p: function update(ctx, dirty) {
|
|
15216
|
-
if (dirty[0] & /*$_*/
|
|
15273
|
+
if (dirty[0] & /*$_*/ 2048 && t0_value !== (t0_value = /*$_*/ ctx[11]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
|
|
15217
15274
|
|
|
15218
|
-
if (/*searchArray*/ ctx[
|
|
15275
|
+
if (/*searchArray*/ ctx[6].length == 0) {
|
|
15219
15276
|
if (if_block) {
|
|
15220
15277
|
if_block.p(ctx, dirty);
|
|
15221
15278
|
} else {
|
|
@@ -15240,18 +15297,18 @@
|
|
|
15240
15297
|
block,
|
|
15241
15298
|
id: create_if_block_3.name,
|
|
15242
15299
|
type: "if",
|
|
15243
|
-
source: "(
|
|
15300
|
+
source: "(208:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15244
15301
|
ctx
|
|
15245
15302
|
});
|
|
15246
15303
|
|
|
15247
15304
|
return block;
|
|
15248
15305
|
}
|
|
15249
15306
|
|
|
15250
|
-
// (
|
|
15307
|
+
// (210:10) {#if searchArray.length == 0}
|
|
15251
15308
|
function create_if_block_4(ctx) {
|
|
15252
15309
|
let div;
|
|
15253
15310
|
let p;
|
|
15254
|
-
let t_value = /*$_*/ ctx[
|
|
15311
|
+
let t_value = /*$_*/ ctx[11]('Translations.noRecentSearches') + "";
|
|
15255
15312
|
let t;
|
|
15256
15313
|
|
|
15257
15314
|
const block = {
|
|
@@ -15260,9 +15317,9 @@
|
|
|
15260
15317
|
p = element("p");
|
|
15261
15318
|
t = text(t_value);
|
|
15262
15319
|
attr_dev(p, "class", "SearchMessage");
|
|
15263
|
-
add_location(p, file,
|
|
15320
|
+
add_location(p, file, 211, 12, 7434);
|
|
15264
15321
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15265
|
-
add_location(div, file,
|
|
15322
|
+
add_location(div, file, 210, 10, 7386);
|
|
15266
15323
|
},
|
|
15267
15324
|
m: function mount(target, anchor) {
|
|
15268
15325
|
insert_dev(target, div, anchor);
|
|
@@ -15270,7 +15327,7 @@
|
|
|
15270
15327
|
append_dev(p, t);
|
|
15271
15328
|
},
|
|
15272
15329
|
p: function update(ctx, dirty) {
|
|
15273
|
-
if (dirty[0] & /*$_*/
|
|
15330
|
+
if (dirty[0] & /*$_*/ 2048 && t_value !== (t_value = /*$_*/ ctx[11]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
|
|
15274
15331
|
},
|
|
15275
15332
|
d: function destroy(detaching) {
|
|
15276
15333
|
if (detaching) detach_dev(div);
|
|
@@ -15281,17 +15338,17 @@
|
|
|
15281
15338
|
block,
|
|
15282
15339
|
id: create_if_block_4.name,
|
|
15283
15340
|
type: "if",
|
|
15284
|
-
source: "(
|
|
15341
|
+
source: "(210:10) {#if searchArray.length == 0}",
|
|
15285
15342
|
ctx
|
|
15286
15343
|
});
|
|
15287
15344
|
|
|
15288
15345
|
return block;
|
|
15289
15346
|
}
|
|
15290
15347
|
|
|
15291
|
-
// (
|
|
15348
|
+
// (219:8) {#if searchCancelled === false}
|
|
15292
15349
|
function create_if_block_2(ctx) {
|
|
15293
15350
|
let each_1_anchor;
|
|
15294
|
-
let each_value = /*searchArray*/ ctx[
|
|
15351
|
+
let each_value = /*searchArray*/ ctx[6];
|
|
15295
15352
|
validate_each_argument(each_value);
|
|
15296
15353
|
let each_blocks = [];
|
|
15297
15354
|
|
|
@@ -15315,8 +15372,8 @@
|
|
|
15315
15372
|
insert_dev(target, each_1_anchor, anchor);
|
|
15316
15373
|
},
|
|
15317
15374
|
p: function update(ctx, dirty) {
|
|
15318
|
-
if (dirty[0] & /*lang, searchArray, endpoint*/
|
|
15319
|
-
each_value = /*searchArray*/ ctx[
|
|
15375
|
+
if (dirty[0] & /*lang, searchArray, endpoint, integratedgameframedesktop, integratedgameframemobile*/ 79) {
|
|
15376
|
+
each_value = /*searchArray*/ ctx[6];
|
|
15320
15377
|
validate_each_argument(each_value);
|
|
15321
15378
|
let i;
|
|
15322
15379
|
|
|
@@ -15349,14 +15406,14 @@
|
|
|
15349
15406
|
block,
|
|
15350
15407
|
id: create_if_block_2.name,
|
|
15351
15408
|
type: "if",
|
|
15352
|
-
source: "(
|
|
15409
|
+
source: "(219:8) {#if searchCancelled === false}",
|
|
15353
15410
|
ctx
|
|
15354
15411
|
});
|
|
15355
15412
|
|
|
15356
15413
|
return block;
|
|
15357
15414
|
}
|
|
15358
15415
|
|
|
15359
|
-
// (
|
|
15416
|
+
// (220:10) {#each searchArray as game}
|
|
15360
15417
|
function create_each_block(ctx) {
|
|
15361
15418
|
let casino_game_thumbnail;
|
|
15362
15419
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15374,22 +15431,24 @@
|
|
|
15374
15431
|
c: function create() {
|
|
15375
15432
|
casino_game_thumbnail = element("casino-game-thumbnail");
|
|
15376
15433
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15377
|
-
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15378
|
-
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15379
|
-
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15380
|
-
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15381
|
-
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[
|
|
15382
|
-
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15383
|
-
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15384
|
-
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15385
|
-
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15386
|
-
|
|
15387
|
-
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15388
|
-
? /*game*/ ctx[
|
|
15434
|
+
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[35].thumbnail);
|
|
15435
|
+
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[35].name);
|
|
15436
|
+
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[35].vendor.name);
|
|
15437
|
+
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[35].isNew);
|
|
15438
|
+
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[35].popularity);
|
|
15439
|
+
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[35].cellSize);
|
|
15440
|
+
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[35].id);
|
|
15441
|
+
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[35].hasFunMode);
|
|
15442
|
+
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[35].isFavorite);
|
|
15443
|
+
|
|
15444
|
+
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[35].details
|
|
15445
|
+
? /*game*/ ctx[35].launchUrl
|
|
15389
15446
|
: '');
|
|
15390
15447
|
|
|
15391
15448
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
15392
|
-
|
|
15449
|
+
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[2]);
|
|
15450
|
+
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[3]);
|
|
15451
|
+
add_location(casino_game_thumbnail, file, 220, 12, 7835);
|
|
15393
15452
|
},
|
|
15394
15453
|
m: function mount(target, anchor) {
|
|
15395
15454
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15399,44 +15458,44 @@
|
|
|
15399
15458
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15400
15459
|
}
|
|
15401
15460
|
|
|
15402
|
-
if (dirty[0] & /*searchArray*/
|
|
15461
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[35].thumbnail)) {
|
|
15403
15462
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
15404
15463
|
}
|
|
15405
15464
|
|
|
15406
|
-
if (dirty[0] & /*searchArray*/
|
|
15465
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[35].name)) {
|
|
15407
15466
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
15408
15467
|
}
|
|
15409
15468
|
|
|
15410
|
-
if (dirty[0] & /*searchArray*/
|
|
15469
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[35].vendor.name)) {
|
|
15411
15470
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
15412
15471
|
}
|
|
15413
15472
|
|
|
15414
|
-
if (dirty[0] & /*searchArray*/
|
|
15473
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[35].isNew)) {
|
|
15415
15474
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
15416
15475
|
}
|
|
15417
15476
|
|
|
15418
|
-
if (dirty[0] & /*searchArray*/
|
|
15477
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[35].popularity)) {
|
|
15419
15478
|
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
|
|
15420
15479
|
}
|
|
15421
15480
|
|
|
15422
|
-
if (dirty[0] & /*searchArray*/
|
|
15481
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[35].cellSize)) {
|
|
15423
15482
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
15424
15483
|
}
|
|
15425
15484
|
|
|
15426
|
-
if (dirty[0] & /*searchArray*/
|
|
15485
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[35].id)) {
|
|
15427
15486
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
15428
15487
|
}
|
|
15429
15488
|
|
|
15430
|
-
if (dirty[0] & /*searchArray*/
|
|
15489
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[35].hasFunMode)) {
|
|
15431
15490
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
15432
15491
|
}
|
|
15433
15492
|
|
|
15434
|
-
if (dirty[0] & /*searchArray*/
|
|
15493
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[35].isFavorite)) {
|
|
15435
15494
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
15436
15495
|
}
|
|
15437
15496
|
|
|
15438
|
-
if (dirty[0] & /*searchArray*/
|
|
15439
|
-
? /*game*/ ctx[
|
|
15497
|
+
if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[35].details
|
|
15498
|
+
? /*game*/ ctx[35].launchUrl
|
|
15440
15499
|
: '')) {
|
|
15441
15500
|
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
|
|
15442
15501
|
}
|
|
@@ -15444,6 +15503,14 @@
|
|
|
15444
15503
|
if (dirty[0] & /*endpoint*/ 1) {
|
|
15445
15504
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
15446
15505
|
}
|
|
15506
|
+
|
|
15507
|
+
if (dirty[0] & /*integratedgameframedesktop*/ 4) {
|
|
15508
|
+
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[2]);
|
|
15509
|
+
}
|
|
15510
|
+
|
|
15511
|
+
if (dirty[0] & /*integratedgameframemobile*/ 8) {
|
|
15512
|
+
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[3]);
|
|
15513
|
+
}
|
|
15447
15514
|
},
|
|
15448
15515
|
d: function destroy(detaching) {
|
|
15449
15516
|
if (detaching) detach_dev(casino_game_thumbnail);
|
|
@@ -15454,22 +15521,22 @@
|
|
|
15454
15521
|
block,
|
|
15455
15522
|
id: create_each_block.name,
|
|
15456
15523
|
type: "each",
|
|
15457
|
-
source: "(
|
|
15524
|
+
source: "(220:10) {#each searchArray as game}",
|
|
15458
15525
|
ctx
|
|
15459
15526
|
});
|
|
15460
15527
|
|
|
15461
15528
|
return block;
|
|
15462
15529
|
}
|
|
15463
15530
|
|
|
15464
|
-
// (
|
|
15531
|
+
// (239:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
15465
15532
|
function create_if_block_1(ctx) {
|
|
15466
15533
|
let div;
|
|
15467
15534
|
let p0;
|
|
15468
|
-
let t0_value = /*$_*/ ctx[
|
|
15535
|
+
let t0_value = /*$_*/ ctx[11]('Translations.notFound') + "";
|
|
15469
15536
|
let t0;
|
|
15470
15537
|
let t1;
|
|
15471
15538
|
let p1;
|
|
15472
|
-
let t2_value = /*$_*/ ctx[
|
|
15539
|
+
let t2_value = /*$_*/ ctx[11]('Translations.notFoundText') + "";
|
|
15473
15540
|
let t2;
|
|
15474
15541
|
|
|
15475
15542
|
const block = {
|
|
@@ -15481,10 +15548,10 @@
|
|
|
15481
15548
|
p1 = element("p");
|
|
15482
15549
|
t2 = text(t2_value);
|
|
15483
15550
|
attr_dev(p0, "class", "SearchMessage");
|
|
15484
|
-
add_location(p0, file,
|
|
15485
|
-
add_location(p1, file,
|
|
15551
|
+
add_location(p0, file, 240, 12, 8636);
|
|
15552
|
+
add_location(p1, file, 241, 12, 8707);
|
|
15486
15553
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15487
|
-
add_location(div, file,
|
|
15554
|
+
add_location(div, file, 239, 10, 8588);
|
|
15488
15555
|
},
|
|
15489
15556
|
m: function mount(target, anchor) {
|
|
15490
15557
|
insert_dev(target, div, anchor);
|
|
@@ -15495,8 +15562,8 @@
|
|
|
15495
15562
|
append_dev(p1, t2);
|
|
15496
15563
|
},
|
|
15497
15564
|
p: function update(ctx, dirty) {
|
|
15498
|
-
if (dirty[0] & /*$_*/
|
|
15499
|
-
if (dirty[0] & /*$_*/
|
|
15565
|
+
if (dirty[0] & /*$_*/ 2048 && t0_value !== (t0_value = /*$_*/ ctx[11]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
|
|
15566
|
+
if (dirty[0] & /*$_*/ 2048 && t2_value !== (t2_value = /*$_*/ ctx[11]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
|
|
15500
15567
|
},
|
|
15501
15568
|
d: function destroy(detaching) {
|
|
15502
15569
|
if (detaching) detach_dev(div);
|
|
@@ -15507,7 +15574,7 @@
|
|
|
15507
15574
|
block,
|
|
15508
15575
|
id: create_if_block_1.name,
|
|
15509
15576
|
type: "if",
|
|
15510
|
-
source: "(
|
|
15577
|
+
source: "(239:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
15511
15578
|
ctx
|
|
15512
15579
|
});
|
|
15513
15580
|
|
|
@@ -15532,7 +15599,7 @@
|
|
|
15532
15599
|
let span_class_value;
|
|
15533
15600
|
let t2;
|
|
15534
15601
|
let small;
|
|
15535
|
-
let t3_value = /*$_*/ ctx[
|
|
15602
|
+
let t3_value = /*$_*/ ctx[11]('Translations.cancel') + "";
|
|
15536
15603
|
let t3;
|
|
15537
15604
|
let small_class_value;
|
|
15538
15605
|
let t4;
|
|
@@ -15540,7 +15607,7 @@
|
|
|
15540
15607
|
let dispose;
|
|
15541
15608
|
|
|
15542
15609
|
function select_block_type(ctx, dirty) {
|
|
15543
|
-
if (/*isLoading*/ ctx[
|
|
15610
|
+
if (/*isLoading*/ ctx[9]) return create_if_block;
|
|
15544
15611
|
return create_else_block;
|
|
15545
15612
|
}
|
|
15546
15613
|
|
|
@@ -15574,46 +15641,46 @@
|
|
|
15574
15641
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15575
15642
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15576
15643
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15577
|
-
add_location(path0, file,
|
|
15644
|
+
add_location(path0, file, 188, 10, 6156);
|
|
15578
15645
|
attr_dev(circle, "cx", "6.5");
|
|
15579
15646
|
attr_dev(circle, "cy", "6.5");
|
|
15580
15647
|
attr_dev(circle, "r", "5.75");
|
|
15581
15648
|
attr_dev(circle, "stroke", "#212121");
|
|
15582
15649
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15583
|
-
add_location(circle, file,
|
|
15650
|
+
add_location(circle, file, 189, 10, 6284);
|
|
15584
15651
|
attr_dev(svg0, "width", "14");
|
|
15585
15652
|
attr_dev(svg0, "height", "15");
|
|
15586
15653
|
attr_dev(svg0, "fill", "none");
|
|
15587
15654
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15588
|
-
add_location(svg0, file,
|
|
15655
|
+
add_location(svg0, file, 187, 8, 6070);
|
|
15589
15656
|
attr_dev(div0, "class", "SearchIcon");
|
|
15590
|
-
add_location(div0, file,
|
|
15657
|
+
add_location(div0, file, 186, 6, 6037);
|
|
15591
15658
|
attr_dev(input, "class", "SearchInput");
|
|
15592
15659
|
attr_dev(input, "type", "search");
|
|
15593
15660
|
attr_dev(input, "placeholder", "Search for Games");
|
|
15594
|
-
add_location(input, file,
|
|
15661
|
+
add_location(input, file, 193, 8, 6429);
|
|
15595
15662
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15596
15663
|
attr_dev(path1, "stroke", "#717171");
|
|
15597
15664
|
attr_dev(path1, "stroke-width", "2");
|
|
15598
15665
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15599
15666
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15600
|
-
add_location(path1, file,
|
|
15667
|
+
add_location(path1, file, 196, 12, 6789);
|
|
15601
15668
|
attr_dev(svg1, "width", "11");
|
|
15602
15669
|
attr_dev(svg1, "height", "11");
|
|
15603
15670
|
attr_dev(svg1, "fill", "none");
|
|
15604
15671
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15605
|
-
add_location(svg1, file,
|
|
15606
|
-
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[
|
|
15607
|
-
add_location(span, file,
|
|
15672
|
+
add_location(svg1, file, 195, 10, 6701);
|
|
15673
|
+
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[4].length != 0 ? '' : 'NotVisible'));
|
|
15674
|
+
add_location(span, file, 194, 8, 6580);
|
|
15608
15675
|
attr_dev(div1, "class", "SearchContainer");
|
|
15609
|
-
add_location(div1, file,
|
|
15610
|
-
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[
|
|
15611
|
-
add_location(small, file,
|
|
15676
|
+
add_location(div1, file, 192, 6, 6391);
|
|
15677
|
+
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[5] ? 'NotVisible' : ''));
|
|
15678
|
+
add_location(small, file, 200, 6, 6965);
|
|
15612
15679
|
attr_dev(div2, "class", "Search");
|
|
15613
|
-
add_location(div2, file,
|
|
15680
|
+
add_location(div2, file, 185, 4, 6010);
|
|
15614
15681
|
attr_dev(div3, "class", "CasinoSearch");
|
|
15615
|
-
add_location(div3, file,
|
|
15616
|
-
add_location(div4, file,
|
|
15682
|
+
add_location(div3, file, 184, 2, 5979);
|
|
15683
|
+
add_location(div4, file, 183, 0, 5936);
|
|
15617
15684
|
},
|
|
15618
15685
|
l: function claim(nodes) {
|
|
15619
15686
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -15629,8 +15696,8 @@
|
|
|
15629
15696
|
append_dev(div2, t0);
|
|
15630
15697
|
append_dev(div2, div1);
|
|
15631
15698
|
append_dev(div1, input);
|
|
15632
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
15633
|
-
/*input_binding*/ ctx[
|
|
15699
|
+
set_input_value(input, /*searchValue*/ ctx[4]);
|
|
15700
|
+
/*input_binding*/ ctx[19](input);
|
|
15634
15701
|
append_dev(div1, t1);
|
|
15635
15702
|
append_dev(div1, span);
|
|
15636
15703
|
append_dev(span, svg1);
|
|
@@ -15640,31 +15707,31 @@
|
|
|
15640
15707
|
append_dev(small, t3);
|
|
15641
15708
|
append_dev(div3, t4);
|
|
15642
15709
|
if_block.m(div3, null);
|
|
15643
|
-
/*div4_binding*/ ctx[
|
|
15710
|
+
/*div4_binding*/ ctx[22](div4);
|
|
15644
15711
|
|
|
15645
15712
|
if (!mounted) {
|
|
15646
15713
|
dispose = [
|
|
15647
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
15648
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
15649
|
-
listen_dev(span, "click", /*click_handler*/ ctx[
|
|
15650
|
-
listen_dev(small, "click", /*click_handler_1*/ ctx[
|
|
15714
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[18]),
|
|
15715
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[12], false, false, false),
|
|
15716
|
+
listen_dev(span, "click", /*click_handler*/ ctx[20], false, false, false),
|
|
15717
|
+
listen_dev(small, "click", /*click_handler_1*/ ctx[21], false, false, false)
|
|
15651
15718
|
];
|
|
15652
15719
|
|
|
15653
15720
|
mounted = true;
|
|
15654
15721
|
}
|
|
15655
15722
|
},
|
|
15656
15723
|
p: function update(ctx, dirty) {
|
|
15657
|
-
if (dirty[0] & /*searchValue*/
|
|
15658
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
15724
|
+
if (dirty[0] & /*searchValue*/ 16) {
|
|
15725
|
+
set_input_value(input, /*searchValue*/ ctx[4]);
|
|
15659
15726
|
}
|
|
15660
15727
|
|
|
15661
|
-
if (dirty[0] & /*searchValue*/
|
|
15728
|
+
if (dirty[0] & /*searchValue*/ 16 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[4].length != 0 ? '' : 'NotVisible'))) {
|
|
15662
15729
|
attr_dev(span, "class", span_class_value);
|
|
15663
15730
|
}
|
|
15664
15731
|
|
|
15665
|
-
if (dirty[0] & /*$_*/
|
|
15732
|
+
if (dirty[0] & /*$_*/ 2048 && t3_value !== (t3_value = /*$_*/ ctx[11]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
|
|
15666
15733
|
|
|
15667
|
-
if (dirty[0] & /*searchCancelled*/
|
|
15734
|
+
if (dirty[0] & /*searchCancelled*/ 32 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[5] ? 'NotVisible' : ''))) {
|
|
15668
15735
|
attr_dev(small, "class", small_class_value);
|
|
15669
15736
|
}
|
|
15670
15737
|
|
|
@@ -15684,9 +15751,9 @@
|
|
|
15684
15751
|
o: noop$1,
|
|
15685
15752
|
d: function destroy(detaching) {
|
|
15686
15753
|
if (detaching) detach_dev(div4);
|
|
15687
|
-
/*input_binding*/ ctx[
|
|
15754
|
+
/*input_binding*/ ctx[19](null);
|
|
15688
15755
|
if_block.d();
|
|
15689
|
-
/*div4_binding*/ ctx[
|
|
15756
|
+
/*div4_binding*/ ctx[22](null);
|
|
15690
15757
|
mounted = false;
|
|
15691
15758
|
run_all(dispose);
|
|
15692
15759
|
}
|
|
@@ -15706,7 +15773,7 @@
|
|
|
15706
15773
|
function instance($$self, $$props, $$invalidate) {
|
|
15707
15774
|
let $_;
|
|
15708
15775
|
validate_store(Y, '_');
|
|
15709
|
-
component_subscribe($$self, Y, $$value => $$invalidate(
|
|
15776
|
+
component_subscribe($$self, Y, $$value => $$invalidate(11, $_ = $$value));
|
|
15710
15777
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
15711
15778
|
validate_slots('undefined', slots, []);
|
|
15712
15779
|
let { endpoint = '' } = $$props;
|
|
@@ -15714,6 +15781,8 @@
|
|
|
15714
15781
|
let { lang = 'en' } = $$props;
|
|
15715
15782
|
let { clientstyling = '' } = $$props;
|
|
15716
15783
|
let { clientstylingurl = '' } = $$props;
|
|
15784
|
+
let { integratedgameframedesktop = 'false' } = $$props;
|
|
15785
|
+
let { integratedgameframemobile = 'false' } = $$props;
|
|
15717
15786
|
let userAgent = window.navigator.userAgent;
|
|
15718
15787
|
let searchArray = [];
|
|
15719
15788
|
let searchedValues = [];
|
|
@@ -15736,8 +15805,8 @@
|
|
|
15736
15805
|
};
|
|
15737
15806
|
|
|
15738
15807
|
const onFocus = () => {
|
|
15739
|
-
$$invalidate(
|
|
15740
|
-
$$invalidate(
|
|
15808
|
+
$$invalidate(5, searchCancelled = false);
|
|
15809
|
+
$$invalidate(8, searchActive = true);
|
|
15741
15810
|
|
|
15742
15811
|
if (endpoint && datasource && lang) {
|
|
15743
15812
|
if (searchValue.length < 2) {
|
|
@@ -15762,7 +15831,7 @@
|
|
|
15762
15831
|
}
|
|
15763
15832
|
|
|
15764
15833
|
Promise.all(promises).then(res => {
|
|
15765
|
-
$$invalidate(
|
|
15834
|
+
$$invalidate(6, searchArray = res);
|
|
15766
15835
|
});
|
|
15767
15836
|
}
|
|
15768
15837
|
}
|
|
@@ -15773,13 +15842,13 @@
|
|
|
15773
15842
|
|
|
15774
15843
|
const getGames = url => {
|
|
15775
15844
|
return new Promise((resolve, reject) => {
|
|
15776
|
-
$$invalidate(
|
|
15845
|
+
$$invalidate(9, isLoading = true);
|
|
15777
15846
|
|
|
15778
15847
|
fetch(url.href).then(res => res.json()).then(games => {
|
|
15779
|
-
$$invalidate(
|
|
15848
|
+
$$invalidate(9, isLoading = false);
|
|
15780
15849
|
resolve(games);
|
|
15781
15850
|
}).catch(err => {
|
|
15782
|
-
$$invalidate(
|
|
15851
|
+
$$invalidate(9, isLoading = false);
|
|
15783
15852
|
console.error(err);
|
|
15784
15853
|
reject(err);
|
|
15785
15854
|
});
|
|
@@ -15788,18 +15857,18 @@
|
|
|
15788
15857
|
|
|
15789
15858
|
const getGame = (url, gameId) => {
|
|
15790
15859
|
return new Promise((resolve, reject) => {
|
|
15791
|
-
$$invalidate(
|
|
15860
|
+
$$invalidate(9, isLoading = true);
|
|
15792
15861
|
|
|
15793
15862
|
if (gameId && Object.keys(gamesCache).indexOf(gameId) >= 0) {
|
|
15794
|
-
$$invalidate(
|
|
15863
|
+
$$invalidate(9, isLoading = false);
|
|
15795
15864
|
resolve(gamesCache[gameId]);
|
|
15796
15865
|
} else {
|
|
15797
15866
|
fetch(url).then(fetchRes => fetchRes.json()).then(gameData => {
|
|
15798
|
-
$$invalidate(
|
|
15867
|
+
$$invalidate(9, isLoading = false);
|
|
15799
15868
|
gamesCache[gameData[0].gameId] = gameData[0];
|
|
15800
15869
|
resolve(gameData[0]);
|
|
15801
15870
|
}).catch(err => {
|
|
15802
|
-
$$invalidate(
|
|
15871
|
+
$$invalidate(9, isLoading = false);
|
|
15803
15872
|
console.error(err);
|
|
15804
15873
|
reject(err);
|
|
15805
15874
|
});
|
|
@@ -15833,16 +15902,16 @@
|
|
|
15833
15902
|
};
|
|
15834
15903
|
|
|
15835
15904
|
const cancelSearch = () => {
|
|
15836
|
-
$$invalidate(
|
|
15837
|
-
$$invalidate(
|
|
15838
|
-
$$invalidate(
|
|
15839
|
-
$$invalidate(
|
|
15840
|
-
$$invalidate(
|
|
15905
|
+
$$invalidate(4, searchValue = '');
|
|
15906
|
+
$$invalidate(5, searchCancelled = true);
|
|
15907
|
+
$$invalidate(9, isLoading = false);
|
|
15908
|
+
$$invalidate(6, searchArray = []);
|
|
15909
|
+
$$invalidate(8, searchActive = false);
|
|
15841
15910
|
sendSearchStatus(searchActive);
|
|
15842
15911
|
};
|
|
15843
15912
|
|
|
15844
15913
|
const clearSearch = () => {
|
|
15845
|
-
$$invalidate(
|
|
15914
|
+
$$invalidate(4, searchValue = '');
|
|
15846
15915
|
searchElement.focus();
|
|
15847
15916
|
};
|
|
15848
15917
|
|
|
@@ -15892,7 +15961,15 @@
|
|
|
15892
15961
|
};
|
|
15893
15962
|
});
|
|
15894
15963
|
|
|
15895
|
-
const writable_props = [
|
|
15964
|
+
const writable_props = [
|
|
15965
|
+
'endpoint',
|
|
15966
|
+
'datasource',
|
|
15967
|
+
'lang',
|
|
15968
|
+
'clientstyling',
|
|
15969
|
+
'clientstylingurl',
|
|
15970
|
+
'integratedgameframedesktop',
|
|
15971
|
+
'integratedgameframemobile'
|
|
15972
|
+
];
|
|
15896
15973
|
|
|
15897
15974
|
Object_1.keys($$props).forEach(key => {
|
|
15898
15975
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console_1.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
@@ -15900,13 +15977,13 @@
|
|
|
15900
15977
|
|
|
15901
15978
|
function input_input_handler() {
|
|
15902
15979
|
searchValue = this.value;
|
|
15903
|
-
$$invalidate(
|
|
15980
|
+
$$invalidate(4, searchValue);
|
|
15904
15981
|
}
|
|
15905
15982
|
|
|
15906
15983
|
function input_binding($$value) {
|
|
15907
15984
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15908
15985
|
searchElement = $$value;
|
|
15909
|
-
$$invalidate(
|
|
15986
|
+
$$invalidate(7, searchElement);
|
|
15910
15987
|
});
|
|
15911
15988
|
}
|
|
15912
15989
|
|
|
@@ -15916,16 +15993,18 @@
|
|
|
15916
15993
|
function div4_binding($$value) {
|
|
15917
15994
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15918
15995
|
customStylingContainer = $$value;
|
|
15919
|
-
$$invalidate(
|
|
15996
|
+
$$invalidate(10, customStylingContainer);
|
|
15920
15997
|
});
|
|
15921
15998
|
}
|
|
15922
15999
|
|
|
15923
16000
|
$$self.$$set = $$props => {
|
|
15924
16001
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
15925
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16002
|
+
if ('datasource' in $$props) $$invalidate(15, datasource = $$props.datasource);
|
|
15926
16003
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
15927
|
-
if ('clientstyling' in $$props) $$invalidate(
|
|
15928
|
-
if ('clientstylingurl' in $$props) $$invalidate(
|
|
16004
|
+
if ('clientstyling' in $$props) $$invalidate(16, clientstyling = $$props.clientstyling);
|
|
16005
|
+
if ('clientstylingurl' in $$props) $$invalidate(17, clientstylingurl = $$props.clientstylingurl);
|
|
16006
|
+
if ('integratedgameframedesktop' in $$props) $$invalidate(2, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16007
|
+
if ('integratedgameframemobile' in $$props) $$invalidate(3, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
15929
16008
|
};
|
|
15930
16009
|
|
|
15931
16010
|
$$self.$capture_state = () => ({
|
|
@@ -15940,6 +16019,8 @@
|
|
|
15940
16019
|
lang,
|
|
15941
16020
|
clientstyling,
|
|
15942
16021
|
clientstylingurl,
|
|
16022
|
+
integratedgameframedesktop,
|
|
16023
|
+
integratedgameframemobile,
|
|
15943
16024
|
userAgent,
|
|
15944
16025
|
searchArray,
|
|
15945
16026
|
searchedValues,
|
|
@@ -15967,20 +16048,22 @@
|
|
|
15967
16048
|
|
|
15968
16049
|
$$self.$inject_state = $$props => {
|
|
15969
16050
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
15970
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16051
|
+
if ('datasource' in $$props) $$invalidate(15, datasource = $$props.datasource);
|
|
15971
16052
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
15972
|
-
if ('clientstyling' in $$props) $$invalidate(
|
|
15973
|
-
if ('clientstylingurl' in $$props) $$invalidate(
|
|
15974
|
-
if ('
|
|
15975
|
-
if ('
|
|
16053
|
+
if ('clientstyling' in $$props) $$invalidate(16, clientstyling = $$props.clientstyling);
|
|
16054
|
+
if ('clientstylingurl' in $$props) $$invalidate(17, clientstylingurl = $$props.clientstylingurl);
|
|
16055
|
+
if ('integratedgameframedesktop' in $$props) $$invalidate(2, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16056
|
+
if ('integratedgameframemobile' in $$props) $$invalidate(3, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16057
|
+
if ('userAgent' in $$props) $$invalidate(25, userAgent = $$props.userAgent);
|
|
16058
|
+
if ('searchArray' in $$props) $$invalidate(6, searchArray = $$props.searchArray);
|
|
15976
16059
|
if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
|
|
15977
16060
|
if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
|
|
15978
|
-
if ('searchValue' in $$props) $$invalidate(
|
|
15979
|
-
if ('searchElement' in $$props) $$invalidate(
|
|
15980
|
-
if ('searchCancelled' in $$props) $$invalidate(
|
|
15981
|
-
if ('searchActive' in $$props) $$invalidate(
|
|
15982
|
-
if ('isLoading' in $$props) $$invalidate(
|
|
15983
|
-
if ('customStylingContainer' in $$props) $$invalidate(
|
|
16061
|
+
if ('searchValue' in $$props) $$invalidate(4, searchValue = $$props.searchValue);
|
|
16062
|
+
if ('searchElement' in $$props) $$invalidate(7, searchElement = $$props.searchElement);
|
|
16063
|
+
if ('searchCancelled' in $$props) $$invalidate(5, searchCancelled = $$props.searchCancelled);
|
|
16064
|
+
if ('searchActive' in $$props) $$invalidate(8, searchActive = $$props.searchActive);
|
|
16065
|
+
if ('isLoading' in $$props) $$invalidate(9, isLoading = $$props.isLoading);
|
|
16066
|
+
if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
|
|
15984
16067
|
};
|
|
15985
16068
|
|
|
15986
16069
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -15988,7 +16071,7 @@
|
|
|
15988
16071
|
}
|
|
15989
16072
|
|
|
15990
16073
|
$$self.$$.update = () => {
|
|
15991
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
16074
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 32819) {
|
|
15992
16075
|
if (searchValue.length >= 2) {
|
|
15993
16076
|
const searchUrl = new URL(`${endpoint}/casino/games`);
|
|
15994
16077
|
searchUrl.searchParams.append("datasource", datasource);
|
|
@@ -15999,7 +16082,7 @@
|
|
|
15999
16082
|
searchUrl.searchParams.append("filter", `name=${searchValue}`);
|
|
16000
16083
|
|
|
16001
16084
|
getGames(searchUrl).then(searchData => {
|
|
16002
|
-
$$invalidate(
|
|
16085
|
+
$$invalidate(6, searchArray = searchData.items.map(item => item));
|
|
16003
16086
|
});
|
|
16004
16087
|
} else {
|
|
16005
16088
|
if (!searchCancelled) {
|
|
@@ -16012,11 +16095,11 @@
|
|
|
16012
16095
|
lang && setActiveLanguage();
|
|
16013
16096
|
}
|
|
16014
16097
|
|
|
16015
|
-
if ($$self.$$.dirty[0] & /*clientstyling*/
|
|
16098
|
+
if ($$self.$$.dirty[0] & /*clientstyling*/ 65536) {
|
|
16016
16099
|
clientstyling && setClientStyling();
|
|
16017
16100
|
}
|
|
16018
16101
|
|
|
16019
|
-
if ($$self.$$.dirty[0] & /*clientstylingurl*/
|
|
16102
|
+
if ($$self.$$.dirty[0] & /*clientstylingurl*/ 131072) {
|
|
16020
16103
|
clientstylingurl && setClientStylingURL();
|
|
16021
16104
|
}
|
|
16022
16105
|
};
|
|
@@ -16024,6 +16107,8 @@
|
|
|
16024
16107
|
return [
|
|
16025
16108
|
endpoint,
|
|
16026
16109
|
lang,
|
|
16110
|
+
integratedgameframedesktop,
|
|
16111
|
+
integratedgameframemobile,
|
|
16027
16112
|
searchValue,
|
|
16028
16113
|
searchCancelled,
|
|
16029
16114
|
searchArray,
|
|
@@ -16063,10 +16148,12 @@
|
|
|
16063
16148
|
safe_not_equal,
|
|
16064
16149
|
{
|
|
16065
16150
|
endpoint: 0,
|
|
16066
|
-
datasource:
|
|
16151
|
+
datasource: 15,
|
|
16067
16152
|
lang: 1,
|
|
16068
|
-
clientstyling:
|
|
16069
|
-
clientstylingurl:
|
|
16153
|
+
clientstyling: 16,
|
|
16154
|
+
clientstylingurl: 17,
|
|
16155
|
+
integratedgameframedesktop: 2,
|
|
16156
|
+
integratedgameframemobile: 3
|
|
16070
16157
|
},
|
|
16071
16158
|
null,
|
|
16072
16159
|
[-1, -1]
|
|
@@ -16085,7 +16172,15 @@
|
|
|
16085
16172
|
}
|
|
16086
16173
|
|
|
16087
16174
|
static get observedAttributes() {
|
|
16088
|
-
return [
|
|
16175
|
+
return [
|
|
16176
|
+
"endpoint",
|
|
16177
|
+
"datasource",
|
|
16178
|
+
"lang",
|
|
16179
|
+
"clientstyling",
|
|
16180
|
+
"clientstylingurl",
|
|
16181
|
+
"integratedgameframedesktop",
|
|
16182
|
+
"integratedgameframemobile"
|
|
16183
|
+
];
|
|
16089
16184
|
}
|
|
16090
16185
|
|
|
16091
16186
|
get endpoint() {
|
|
@@ -16098,7 +16193,7 @@
|
|
|
16098
16193
|
}
|
|
16099
16194
|
|
|
16100
16195
|
get datasource() {
|
|
16101
|
-
return this.$$.ctx[
|
|
16196
|
+
return this.$$.ctx[15];
|
|
16102
16197
|
}
|
|
16103
16198
|
|
|
16104
16199
|
set datasource(datasource) {
|
|
@@ -16116,7 +16211,7 @@
|
|
|
16116
16211
|
}
|
|
16117
16212
|
|
|
16118
16213
|
get clientstyling() {
|
|
16119
|
-
return this.$$.ctx[
|
|
16214
|
+
return this.$$.ctx[16];
|
|
16120
16215
|
}
|
|
16121
16216
|
|
|
16122
16217
|
set clientstyling(clientstyling) {
|
|
@@ -16125,13 +16220,31 @@
|
|
|
16125
16220
|
}
|
|
16126
16221
|
|
|
16127
16222
|
get clientstylingurl() {
|
|
16128
|
-
return this.$$.ctx[
|
|
16223
|
+
return this.$$.ctx[17];
|
|
16129
16224
|
}
|
|
16130
16225
|
|
|
16131
16226
|
set clientstylingurl(clientstylingurl) {
|
|
16132
16227
|
this.$$set({ clientstylingurl });
|
|
16133
16228
|
flush();
|
|
16134
16229
|
}
|
|
16230
|
+
|
|
16231
|
+
get integratedgameframedesktop() {
|
|
16232
|
+
return this.$$.ctx[2];
|
|
16233
|
+
}
|
|
16234
|
+
|
|
16235
|
+
set integratedgameframedesktop(integratedgameframedesktop) {
|
|
16236
|
+
this.$$set({ integratedgameframedesktop });
|
|
16237
|
+
flush();
|
|
16238
|
+
}
|
|
16239
|
+
|
|
16240
|
+
get integratedgameframemobile() {
|
|
16241
|
+
return this.$$.ctx[3];
|
|
16242
|
+
}
|
|
16243
|
+
|
|
16244
|
+
set integratedgameframemobile(integratedgameframemobile) {
|
|
16245
|
+
this.$$set({ integratedgameframemobile });
|
|
16246
|
+
flush();
|
|
16247
|
+
}
|
|
16135
16248
|
}
|
|
16136
16249
|
|
|
16137
16250
|
!customElements.get('casino-search') && customElements.define('casino-search', CasinoSearch);
|