@everymatrix/casino-page 0.0.153 → 0.0.157
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-page.js +309 -288
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoPage.svelte +64 -57
package/dist/casino-page.js
CHANGED
|
@@ -6162,7 +6162,7 @@
|
|
|
6162
6162
|
return child_ctx;
|
|
6163
6163
|
}
|
|
6164
6164
|
|
|
6165
|
-
// (
|
|
6165
|
+
// (439:4) {:else}
|
|
6166
6166
|
function create_else_block_3(ctx) {
|
|
6167
6167
|
let div;
|
|
6168
6168
|
|
|
@@ -6178,7 +6178,7 @@
|
|
|
6178
6178
|
c: function create() {
|
|
6179
6179
|
div = element("div");
|
|
6180
6180
|
if (if_block) if_block.c();
|
|
6181
|
-
add_location(div, file$1,
|
|
6181
|
+
add_location(div, file$1, 439, 6, 16203);
|
|
6182
6182
|
},
|
|
6183
6183
|
m: function mount(target, anchor) {
|
|
6184
6184
|
insert_dev(target, div, anchor);
|
|
@@ -6210,14 +6210,14 @@
|
|
|
6210
6210
|
block,
|
|
6211
6211
|
id: create_else_block_3.name,
|
|
6212
6212
|
type: "else",
|
|
6213
|
-
source: "(
|
|
6213
|
+
source: "(439:4) {:else}",
|
|
6214
6214
|
ctx
|
|
6215
6215
|
});
|
|
6216
6216
|
|
|
6217
6217
|
return block;
|
|
6218
6218
|
}
|
|
6219
6219
|
|
|
6220
|
-
// (
|
|
6220
|
+
// (388:4) {#if searched}
|
|
6221
6221
|
function create_if_block_2$1(ctx) {
|
|
6222
6222
|
let div1;
|
|
6223
6223
|
let div0;
|
|
@@ -6248,9 +6248,9 @@
|
|
|
6248
6248
|
t = space();
|
|
6249
6249
|
if_block1.c();
|
|
6250
6250
|
attr_dev(div0, "class", "CasinoGamesHeader Searched");
|
|
6251
|
-
add_location(div0, file$1,
|
|
6251
|
+
add_location(div0, file$1, 389, 8, 14343);
|
|
6252
6252
|
attr_dev(div1, "class", "CasinoGamesContainer");
|
|
6253
|
-
add_location(div1, file$1,
|
|
6253
|
+
add_location(div1, file$1, 388, 6, 14300);
|
|
6254
6254
|
},
|
|
6255
6255
|
m: function mount(target, anchor) {
|
|
6256
6256
|
insert_dev(target, div1, anchor);
|
|
@@ -6295,14 +6295,14 @@
|
|
|
6295
6295
|
block,
|
|
6296
6296
|
id: create_if_block_2$1.name,
|
|
6297
6297
|
type: "if",
|
|
6298
|
-
source: "(
|
|
6298
|
+
source: "(388:4) {#if searched}",
|
|
6299
6299
|
ctx
|
|
6300
6300
|
});
|
|
6301
6301
|
|
|
6302
6302
|
return block;
|
|
6303
6303
|
}
|
|
6304
6304
|
|
|
6305
|
-
// (
|
|
6305
|
+
// (380:2) {#if hasErrors}
|
|
6306
6306
|
function create_if_block$1(ctx) {
|
|
6307
6307
|
let if_block_anchor;
|
|
6308
6308
|
|
|
@@ -6344,14 +6344,14 @@
|
|
|
6344
6344
|
block,
|
|
6345
6345
|
id: create_if_block$1.name,
|
|
6346
6346
|
type: "if",
|
|
6347
|
-
source: "(
|
|
6347
|
+
source: "(380:2) {#if hasErrors}",
|
|
6348
6348
|
ctx
|
|
6349
6349
|
});
|
|
6350
6350
|
|
|
6351
6351
|
return block;
|
|
6352
6352
|
}
|
|
6353
6353
|
|
|
6354
|
-
// (
|
|
6354
|
+
// (487:39)
|
|
6355
6355
|
function create_if_block_11$1(ctx) {
|
|
6356
6356
|
let div1;
|
|
6357
6357
|
let div0;
|
|
@@ -6380,17 +6380,17 @@
|
|
|
6380
6380
|
ul = element("ul");
|
|
6381
6381
|
if_block.c();
|
|
6382
6382
|
attr_dev(h3, "class", "CategoryName");
|
|
6383
|
-
add_location(h3, file$1,
|
|
6383
|
+
add_location(h3, file$1, 489, 16, 18492);
|
|
6384
6384
|
attr_dev(div0, "class", "CasinoGamesHeader");
|
|
6385
|
-
add_location(div0, file$1,
|
|
6385
|
+
add_location(div0, file$1, 488, 12, 18444);
|
|
6386
6386
|
|
|
6387
6387
|
attr_dev(ul, "class", ul_class_value = "" + ((/*favoriteGamesData*/ ctx[21].items.length != 0
|
|
6388
6388
|
? "CasinoGamesGrid"
|
|
6389
6389
|
: "") + " 'GamesListIncreasedGap'}"));
|
|
6390
6390
|
|
|
6391
|
-
add_location(ul, file$1,
|
|
6391
|
+
add_location(ul, file$1, 493, 12, 18641);
|
|
6392
6392
|
attr_dev(div1, "class", "CasinoGamesContainer");
|
|
6393
|
-
add_location(div1, file$1,
|
|
6393
|
+
add_location(div1, file$1, 487, 10, 18397);
|
|
6394
6394
|
},
|
|
6395
6395
|
m: function mount(target, anchor) {
|
|
6396
6396
|
insert_dev(target, div1, anchor);
|
|
@@ -6436,14 +6436,14 @@
|
|
|
6436
6436
|
block,
|
|
6437
6437
|
id: create_if_block_11$1.name,
|
|
6438
6438
|
type: "if",
|
|
6439
|
-
source: "(
|
|
6439
|
+
source: "(487:39) ",
|
|
6440
6440
|
ctx
|
|
6441
6441
|
});
|
|
6442
6442
|
|
|
6443
6443
|
return block;
|
|
6444
6444
|
}
|
|
6445
6445
|
|
|
6446
|
-
// (
|
|
6446
|
+
// (441:8) {#if categoryData}
|
|
6447
6447
|
function create_if_block_7$1(ctx) {
|
|
6448
6448
|
let div1;
|
|
6449
6449
|
let div0;
|
|
@@ -6473,11 +6473,11 @@
|
|
|
6473
6473
|
t2 = space();
|
|
6474
6474
|
if_block1.c();
|
|
6475
6475
|
attr_dev(h3, "class", "CategoryName");
|
|
6476
|
-
add_location(h3, file$1,
|
|
6476
|
+
add_location(h3, file$1, 443, 16, 16341);
|
|
6477
6477
|
attr_dev(div0, "class", "CasinoGamesHeader");
|
|
6478
|
-
add_location(div0, file$1,
|
|
6478
|
+
add_location(div0, file$1, 442, 12, 16293);
|
|
6479
6479
|
attr_dev(div1, "class", "CasinoGamesContainer");
|
|
6480
|
-
add_location(div1, file$1,
|
|
6480
|
+
add_location(div1, file$1, 441, 10, 16246);
|
|
6481
6481
|
},
|
|
6482
6482
|
m: function mount(target, anchor) {
|
|
6483
6483
|
insert_dev(target, div1, anchor);
|
|
@@ -6530,14 +6530,14 @@
|
|
|
6530
6530
|
block,
|
|
6531
6531
|
id: create_if_block_7$1.name,
|
|
6532
6532
|
type: "if",
|
|
6533
|
-
source: "(
|
|
6533
|
+
source: "(441:8) {#if categoryData}",
|
|
6534
6534
|
ctx
|
|
6535
6535
|
});
|
|
6536
6536
|
|
|
6537
6537
|
return block;
|
|
6538
6538
|
}
|
|
6539
6539
|
|
|
6540
|
-
// (
|
|
6540
|
+
// (569:14) {:else}
|
|
6541
6541
|
function create_else_block_7(ctx) {
|
|
6542
6542
|
let p;
|
|
6543
6543
|
|
|
@@ -6545,7 +6545,7 @@
|
|
|
6545
6545
|
c: function create() {
|
|
6546
6546
|
p = element("p");
|
|
6547
6547
|
p.textContent = "Waiting";
|
|
6548
|
-
add_location(p, file$1,
|
|
6548
|
+
add_location(p, file$1, 569, 16, 24182);
|
|
6549
6549
|
},
|
|
6550
6550
|
m: function mount(target, anchor) {
|
|
6551
6551
|
insert_dev(target, p, anchor);
|
|
@@ -6560,14 +6560,14 @@
|
|
|
6560
6560
|
block,
|
|
6561
6561
|
id: create_else_block_7.name,
|
|
6562
6562
|
type: "else",
|
|
6563
|
-
source: "(
|
|
6563
|
+
source: "(569:14) {:else}",
|
|
6564
6564
|
ctx
|
|
6565
6565
|
});
|
|
6566
6566
|
|
|
6567
6567
|
return block;
|
|
6568
6568
|
}
|
|
6569
6569
|
|
|
6570
|
-
// (
|
|
6570
|
+
// (495:14) {#if favoriteGamesData}
|
|
6571
6571
|
function create_if_block_12$1(ctx) {
|
|
6572
6572
|
let each_1_anchor;
|
|
6573
6573
|
let each_value_2 = /*favoriteGamesData*/ ctx[21].items;
|
|
@@ -6654,14 +6654,14 @@
|
|
|
6654
6654
|
block,
|
|
6655
6655
|
id: create_if_block_12$1.name,
|
|
6656
6656
|
type: "if",
|
|
6657
|
-
source: "(
|
|
6657
|
+
source: "(495:14) {#if favoriteGamesData}",
|
|
6658
6658
|
ctx
|
|
6659
6659
|
});
|
|
6660
6660
|
|
|
6661
6661
|
return block;
|
|
6662
6662
|
}
|
|
6663
6663
|
|
|
6664
|
-
// (
|
|
6664
|
+
// (549:16) {:else}
|
|
6665
6665
|
function create_else_block_5(ctx) {
|
|
6666
6666
|
let p;
|
|
6667
6667
|
let svg;
|
|
@@ -6692,7 +6692,7 @@
|
|
|
6692
6692
|
t3 = space();
|
|
6693
6693
|
set_style(path, "fill", "white");
|
|
6694
6694
|
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");
|
|
6695
|
-
add_location(path, file$1,
|
|
6695
|
+
add_location(path, file$1, 551, 116, 22495);
|
|
6696
6696
|
attr_dev(svg, "version", "1.1");
|
|
6697
6697
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
6698
6698
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -6702,15 +6702,15 @@
|
|
|
6702
6702
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
6703
6703
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
6704
6704
|
attr_dev(svg, "xml:space", "preserve");
|
|
6705
|
-
add_location(svg, file$1,
|
|
6705
|
+
add_location(svg, file$1, 550, 20, 22242);
|
|
6706
6706
|
attr_dev(span, "class", "NoFavoriteText NoFavoriteTextHighlight");
|
|
6707
|
-
add_location(span, file$1,
|
|
6707
|
+
add_location(span, file$1, 560, 20, 23598);
|
|
6708
6708
|
|
|
6709
6709
|
attr_dev(p, "class", "NoFavoriteGames " + (isMobile(/*userAgent*/ ctx[23])
|
|
6710
6710
|
? "NoFavoriteGamesMobile"
|
|
6711
6711
|
: ""));
|
|
6712
6712
|
|
|
6713
|
-
add_location(p, file$1,
|
|
6713
|
+
add_location(p, file$1, 549, 18, 22141);
|
|
6714
6714
|
},
|
|
6715
6715
|
m: function mount(target, anchor) {
|
|
6716
6716
|
insert_dev(target, p, anchor);
|
|
@@ -6733,14 +6733,14 @@
|
|
|
6733
6733
|
block,
|
|
6734
6734
|
id: create_else_block_5.name,
|
|
6735
6735
|
type: "else",
|
|
6736
|
-
source: "(
|
|
6736
|
+
source: "(549:16) {:else}",
|
|
6737
6737
|
ctx
|
|
6738
6738
|
});
|
|
6739
6739
|
|
|
6740
6740
|
return block;
|
|
6741
6741
|
}
|
|
6742
6742
|
|
|
6743
|
-
// (
|
|
6743
|
+
// (564:20) {:else}
|
|
6744
6744
|
function create_else_block_6(ctx) {
|
|
6745
6745
|
let span;
|
|
6746
6746
|
|
|
@@ -6749,7 +6749,7 @@
|
|
|
6749
6749
|
span = element("span");
|
|
6750
6750
|
span.textContent = "You can now add games to favorites by clicking on the star icon located on the game thumbnail.";
|
|
6751
6751
|
attr_dev(span, "class", "NoFavoriteText");
|
|
6752
|
-
add_location(span, file$1,
|
|
6752
|
+
add_location(span, file$1, 564, 22, 23940);
|
|
6753
6753
|
},
|
|
6754
6754
|
m: function mount(target, anchor) {
|
|
6755
6755
|
insert_dev(target, span, anchor);
|
|
@@ -6763,14 +6763,14 @@
|
|
|
6763
6763
|
block,
|
|
6764
6764
|
id: create_else_block_6.name,
|
|
6765
6765
|
type: "else",
|
|
6766
|
-
source: "(
|
|
6766
|
+
source: "(564:20) {:else}",
|
|
6767
6767
|
ctx
|
|
6768
6768
|
});
|
|
6769
6769
|
|
|
6770
6770
|
return block;
|
|
6771
6771
|
}
|
|
6772
6772
|
|
|
6773
|
-
// (
|
|
6773
|
+
// (562:20) {#if isMobile(userAgent)}
|
|
6774
6774
|
function create_if_block_19$1(ctx) {
|
|
6775
6775
|
let span;
|
|
6776
6776
|
|
|
@@ -6779,7 +6779,7 @@
|
|
|
6779
6779
|
span = element("span");
|
|
6780
6780
|
span.textContent = "You can now add games to favorites by tapping on the star icon located on the game page.";
|
|
6781
6781
|
attr_dev(span, "class", "NoFavoriteText");
|
|
6782
|
-
add_location(span, file$1,
|
|
6782
|
+
add_location(span, file$1, 562, 22, 23765);
|
|
6783
6783
|
},
|
|
6784
6784
|
m: function mount(target, anchor) {
|
|
6785
6785
|
insert_dev(target, span, anchor);
|
|
@@ -6793,14 +6793,14 @@
|
|
|
6793
6793
|
block,
|
|
6794
6794
|
id: create_if_block_19$1.name,
|
|
6795
6795
|
type: "if",
|
|
6796
|
-
source: "(
|
|
6796
|
+
source: "(562:20) {#if isMobile(userAgent)}",
|
|
6797
6797
|
ctx
|
|
6798
6798
|
});
|
|
6799
6799
|
|
|
6800
6800
|
return block;
|
|
6801
6801
|
}
|
|
6802
6802
|
|
|
6803
|
-
// (
|
|
6803
|
+
// (497:18) {#if gameprops.gameModel}
|
|
6804
6804
|
function create_if_block_13$1(ctx) {
|
|
6805
6805
|
let if_block_anchor;
|
|
6806
6806
|
let if_block = /*gameprops*/ ctx[69].gameModel.isFavorite && create_if_block_14$1(ctx);
|
|
@@ -6838,14 +6838,14 @@
|
|
|
6838
6838
|
block,
|
|
6839
6839
|
id: create_if_block_13$1.name,
|
|
6840
6840
|
type: "if",
|
|
6841
|
-
source: "(
|
|
6841
|
+
source: "(497:18) {#if gameprops.gameModel}",
|
|
6842
6842
|
ctx
|
|
6843
6843
|
});
|
|
6844
6844
|
|
|
6845
6845
|
return block;
|
|
6846
6846
|
}
|
|
6847
6847
|
|
|
6848
|
-
// (
|
|
6848
|
+
// (498:20) {#if gameprops.gameModel.isFavorite}
|
|
6849
6849
|
function create_if_block_14$1(ctx) {
|
|
6850
6850
|
let if_block_anchor;
|
|
6851
6851
|
let if_block = (/*intersecting*/ ctx[16] || /*nativeLoading*/ ctx[24]) && create_if_block_15$1(ctx);
|
|
@@ -6883,14 +6883,14 @@
|
|
|
6883
6883
|
block,
|
|
6884
6884
|
id: create_if_block_14$1.name,
|
|
6885
6885
|
type: "if",
|
|
6886
|
-
source: "(
|
|
6886
|
+
source: "(498:20) {#if gameprops.gameModel.isFavorite}",
|
|
6887
6887
|
ctx
|
|
6888
6888
|
});
|
|
6889
6889
|
|
|
6890
6890
|
return block;
|
|
6891
6891
|
}
|
|
6892
6892
|
|
|
6893
|
-
// (
|
|
6893
|
+
// (499:22) {#if intersecting || nativeLoading}
|
|
6894
6894
|
function create_if_block_15$1(ctx) {
|
|
6895
6895
|
let show_if;
|
|
6896
6896
|
let show_if_1;
|
|
@@ -6941,14 +6941,14 @@
|
|
|
6941
6941
|
block,
|
|
6942
6942
|
id: create_if_block_15$1.name,
|
|
6943
6943
|
type: "if",
|
|
6944
|
-
source: "(
|
|
6944
|
+
source: "(499:22) {#if intersecting || nativeLoading}",
|
|
6945
6945
|
ctx
|
|
6946
6946
|
});
|
|
6947
6947
|
|
|
6948
6948
|
return block;
|
|
6949
6949
|
}
|
|
6950
6950
|
|
|
6951
|
-
// (
|
|
6951
|
+
// (523:78)
|
|
6952
6952
|
function create_if_block_18$1(ctx) {
|
|
6953
6953
|
let casino_game_thumbnail;
|
|
6954
6954
|
let casino_game_thumbnail_class_value;
|
|
@@ -6987,7 +6987,7 @@
|
|
|
6987
6987
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
6988
6988
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
6989
6989
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
6990
|
-
add_location(casino_game_thumbnail, file$1,
|
|
6990
|
+
add_location(casino_game_thumbnail, file$1, 524, 28, 20795);
|
|
6991
6991
|
},
|
|
6992
6992
|
m: function mount(target, anchor) {
|
|
6993
6993
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -7076,14 +7076,14 @@
|
|
|
7076
7076
|
block,
|
|
7077
7077
|
id: create_if_block_18$1.name,
|
|
7078
7078
|
type: "if",
|
|
7079
|
-
source: "(
|
|
7079
|
+
source: "(523:78) ",
|
|
7080
7080
|
ctx
|
|
7081
7081
|
});
|
|
7082
7082
|
|
|
7083
7083
|
return block;
|
|
7084
7084
|
}
|
|
7085
7085
|
|
|
7086
|
-
// (
|
|
7086
|
+
// (500:24) {#if isMobile(userAgent)}
|
|
7087
7087
|
function create_if_block_16$1(ctx) {
|
|
7088
7088
|
let show_if = /*gameprops*/ ctx[69].gameModel.platform.includes("iPad") || /*gameprops*/ ctx[69].gameModel.platform.includes("iPhone") || /*gameprops*/ ctx[69].gameModel.platform.includes("Android");
|
|
7089
7089
|
let if_block_anchor;
|
|
@@ -7124,14 +7124,14 @@
|
|
|
7124
7124
|
block,
|
|
7125
7125
|
id: create_if_block_16$1.name,
|
|
7126
7126
|
type: "if",
|
|
7127
|
-
source: "(
|
|
7127
|
+
source: "(500:24) {#if isMobile(userAgent)}",
|
|
7128
7128
|
ctx
|
|
7129
7129
|
});
|
|
7130
7130
|
|
|
7131
7131
|
return block;
|
|
7132
7132
|
}
|
|
7133
7133
|
|
|
7134
|
-
// (
|
|
7134
|
+
// (501:26) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
|
|
7135
7135
|
function create_if_block_17$1(ctx) {
|
|
7136
7136
|
let casino_game_thumbnail;
|
|
7137
7137
|
let casino_game_thumbnail_class_value;
|
|
@@ -7170,7 +7170,7 @@
|
|
|
7170
7170
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7171
7171
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7172
7172
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7173
|
-
add_location(casino_game_thumbnail, file$1,
|
|
7173
|
+
add_location(casino_game_thumbnail, file$1, 501, 26, 19291);
|
|
7174
7174
|
},
|
|
7175
7175
|
m: function mount(target, anchor) {
|
|
7176
7176
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -7259,14 +7259,14 @@
|
|
|
7259
7259
|
block,
|
|
7260
7260
|
id: create_if_block_17$1.name,
|
|
7261
7261
|
type: "if",
|
|
7262
|
-
source: "(
|
|
7262
|
+
source: "(501:26) {#if (gameprops.gameModel.platform.includes(\\\"iPad\\\") || gameprops.gameModel.platform.includes(\\\"iPhone\\\") || gameprops.gameModel.platform.includes(\\\"Android\\\"))}",
|
|
7263
7263
|
ctx
|
|
7264
7264
|
});
|
|
7265
7265
|
|
|
7266
7266
|
return block;
|
|
7267
7267
|
}
|
|
7268
7268
|
|
|
7269
|
-
// (
|
|
7269
|
+
// (496:16) {#each favoriteGamesData.items as gameprops, index}
|
|
7270
7270
|
function create_each_block_2(ctx) {
|
|
7271
7271
|
let if_block_anchor;
|
|
7272
7272
|
let if_block = /*gameprops*/ ctx[69].gameModel && create_if_block_13$1(ctx);
|
|
@@ -7304,14 +7304,14 @@
|
|
|
7304
7304
|
block,
|
|
7305
7305
|
id: create_each_block_2.name,
|
|
7306
7306
|
type: "each",
|
|
7307
|
-
source: "(
|
|
7307
|
+
source: "(496:16) {#each favoriteGamesData.items as gameprops, index}",
|
|
7308
7308
|
ctx
|
|
7309
7309
|
});
|
|
7310
7310
|
|
|
7311
7311
|
return block;
|
|
7312
7312
|
}
|
|
7313
7313
|
|
|
7314
|
-
// (
|
|
7314
|
+
// (448:14) {#if showLoadCategory}
|
|
7315
7315
|
function create_if_block_10$1(ctx) {
|
|
7316
7316
|
let a;
|
|
7317
7317
|
let h3;
|
|
@@ -7333,9 +7333,9 @@
|
|
|
7333
7333
|
t2 = text(t2_value);
|
|
7334
7334
|
t3 = text(")");
|
|
7335
7335
|
attr_dev(h3, "class", "CategoryLoadMore");
|
|
7336
|
-
add_location(h3, file$1,
|
|
7336
|
+
add_location(h3, file$1, 450, 16, 16673);
|
|
7337
7337
|
attr_dev(a, "class", "CategoryNameLink");
|
|
7338
|
-
add_location(a, file$1,
|
|
7338
|
+
add_location(a, file$1, 449, 14, 16566);
|
|
7339
7339
|
},
|
|
7340
7340
|
m: function mount(target, anchor) {
|
|
7341
7341
|
insert_dev(target, a, anchor);
|
|
@@ -7365,14 +7365,14 @@
|
|
|
7365
7365
|
block,
|
|
7366
7366
|
id: create_if_block_10$1.name,
|
|
7367
7367
|
type: "if",
|
|
7368
|
-
source: "(
|
|
7368
|
+
source: "(448:14) {#if showLoadCategory}",
|
|
7369
7369
|
ctx
|
|
7370
7370
|
});
|
|
7371
7371
|
|
|
7372
7372
|
return block;
|
|
7373
7373
|
}
|
|
7374
7374
|
|
|
7375
|
-
// (
|
|
7375
|
+
// (483:12) {:else}
|
|
7376
7376
|
function create_else_block_4(ctx) {
|
|
7377
7377
|
let p;
|
|
7378
7378
|
|
|
@@ -7381,7 +7381,7 @@
|
|
|
7381
7381
|
p = element("p");
|
|
7382
7382
|
p.textContent = "You don't have any games in this category.";
|
|
7383
7383
|
attr_dev(p, "class", "NoSearchResults");
|
|
7384
|
-
add_location(p, file$1,
|
|
7384
|
+
add_location(p, file$1, 483, 14, 18238);
|
|
7385
7385
|
},
|
|
7386
7386
|
m: function mount(target, anchor) {
|
|
7387
7387
|
insert_dev(target, p, anchor);
|
|
@@ -7396,14 +7396,14 @@
|
|
|
7396
7396
|
block,
|
|
7397
7397
|
id: create_else_block_4.name,
|
|
7398
7398
|
type: "else",
|
|
7399
|
-
source: "(
|
|
7399
|
+
source: "(483:12) {:else}",
|
|
7400
7400
|
ctx
|
|
7401
7401
|
});
|
|
7402
7402
|
|
|
7403
7403
|
return block;
|
|
7404
7404
|
}
|
|
7405
7405
|
|
|
7406
|
-
// (
|
|
7406
|
+
// (457:12) {#if shownCategoryData.length !== 0}
|
|
7407
7407
|
function create_if_block_8$1(ctx) {
|
|
7408
7408
|
let ul;
|
|
7409
7409
|
let ul_class_value;
|
|
@@ -7427,7 +7427,7 @@
|
|
|
7427
7427
|
? ""
|
|
7428
7428
|
: "CasinoGamesGrid") + " GamesListIncreasedGap"));
|
|
7429
7429
|
|
|
7430
|
-
add_location(ul, file$1,
|
|
7430
|
+
add_location(ul, file$1, 457, 12, 16928);
|
|
7431
7431
|
},
|
|
7432
7432
|
m: function mount(target, anchor) {
|
|
7433
7433
|
insert_dev(target, ul, anchor);
|
|
@@ -7480,14 +7480,14 @@
|
|
|
7480
7480
|
block,
|
|
7481
7481
|
id: create_if_block_8$1.name,
|
|
7482
7482
|
type: "if",
|
|
7483
|
-
source: "(
|
|
7483
|
+
source: "(457:12) {#if shownCategoryData.length !== 0}",
|
|
7484
7484
|
ctx
|
|
7485
7485
|
});
|
|
7486
7486
|
|
|
7487
7487
|
return block;
|
|
7488
7488
|
}
|
|
7489
7489
|
|
|
7490
|
-
// (
|
|
7490
|
+
// (460:18) {#if intersecting || nativeLoading}
|
|
7491
7491
|
function create_if_block_9$1(ctx) {
|
|
7492
7492
|
let casino_game_thumbnail;
|
|
7493
7493
|
let casino_game_thumbnail_class_value;
|
|
@@ -7525,7 +7525,7 @@
|
|
|
7525
7525
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7526
7526
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7527
7527
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7528
|
-
add_location(casino_game_thumbnail, file$1,
|
|
7528
|
+
add_location(casino_game_thumbnail, file$1, 460, 20, 17211);
|
|
7529
7529
|
},
|
|
7530
7530
|
m: function mount(target, anchor) {
|
|
7531
7531
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -7610,14 +7610,14 @@
|
|
|
7610
7610
|
block,
|
|
7611
7611
|
id: create_if_block_9$1.name,
|
|
7612
7612
|
type: "if",
|
|
7613
|
-
source: "(
|
|
7613
|
+
source: "(460:18) {#if intersecting || nativeLoading}",
|
|
7614
7614
|
ctx
|
|
7615
7615
|
});
|
|
7616
7616
|
|
|
7617
7617
|
return block;
|
|
7618
7618
|
}
|
|
7619
7619
|
|
|
7620
|
-
// (
|
|
7620
|
+
// (459:16) {#each shownCategoryData as gameprops, index}
|
|
7621
7621
|
function create_each_block_1(ctx) {
|
|
7622
7622
|
let if_block_anchor;
|
|
7623
7623
|
let if_block = (/*intersecting*/ ctx[16] || /*nativeLoading*/ ctx[24]) && create_if_block_9$1(ctx);
|
|
@@ -7655,14 +7655,14 @@
|
|
|
7655
7655
|
block,
|
|
7656
7656
|
id: create_each_block_1.name,
|
|
7657
7657
|
type: "each",
|
|
7658
|
-
source: "(
|
|
7658
|
+
source: "(459:16) {#each shownCategoryData as gameprops, index}",
|
|
7659
7659
|
ctx
|
|
7660
7660
|
});
|
|
7661
7661
|
|
|
7662
7662
|
return block;
|
|
7663
7663
|
}
|
|
7664
7664
|
|
|
7665
|
-
// (
|
|
7665
|
+
// (400:12) {:else}
|
|
7666
7666
|
function create_else_block_2$1(ctx) {
|
|
7667
7667
|
let h3;
|
|
7668
7668
|
let t_value = /*$_*/ ctx[22]("gamesCategorySection.searchedItems") + "";
|
|
@@ -7673,7 +7673,7 @@
|
|
|
7673
7673
|
h3 = element("h3");
|
|
7674
7674
|
t = text(t_value);
|
|
7675
7675
|
attr_dev(h3, "class", "StatusText");
|
|
7676
|
-
add_location(h3, file$1,
|
|
7676
|
+
add_location(h3, file$1, 400, 14, 14735);
|
|
7677
7677
|
},
|
|
7678
7678
|
m: function mount(target, anchor) {
|
|
7679
7679
|
insert_dev(target, h3, anchor);
|
|
@@ -7691,14 +7691,14 @@
|
|
|
7691
7691
|
block,
|
|
7692
7692
|
id: create_else_block_2$1.name,
|
|
7693
7693
|
type: "else",
|
|
7694
|
-
source: "(
|
|
7694
|
+
source: "(400:12) {:else}",
|
|
7695
7695
|
ctx
|
|
7696
7696
|
});
|
|
7697
7697
|
|
|
7698
7698
|
return block;
|
|
7699
7699
|
}
|
|
7700
7700
|
|
|
7701
|
-
// (
|
|
7701
|
+
// (396:12) {#if !shownCategoryData.length}
|
|
7702
7702
|
function create_if_block_6$1(ctx) {
|
|
7703
7703
|
let h3;
|
|
7704
7704
|
let t_value = /*$_*/ ctx[22]("gamesCategorySection.noResults") + "";
|
|
@@ -7709,7 +7709,7 @@
|
|
|
7709
7709
|
h3 = element("h3");
|
|
7710
7710
|
t = text(t_value);
|
|
7711
7711
|
attr_dev(h3, "class", "StatusText");
|
|
7712
|
-
add_location(h3, file$1,
|
|
7712
|
+
add_location(h3, file$1, 396, 12, 14606);
|
|
7713
7713
|
},
|
|
7714
7714
|
m: function mount(target, anchor) {
|
|
7715
7715
|
insert_dev(target, h3, anchor);
|
|
@@ -7727,14 +7727,14 @@
|
|
|
7727
7727
|
block,
|
|
7728
7728
|
id: create_if_block_6$1.name,
|
|
7729
7729
|
type: "if",
|
|
7730
|
-
source: "(
|
|
7730
|
+
source: "(396:12) {#if !shownCategoryData.length}",
|
|
7731
7731
|
ctx
|
|
7732
7732
|
});
|
|
7733
7733
|
|
|
7734
7734
|
return block;
|
|
7735
7735
|
}
|
|
7736
7736
|
|
|
7737
|
-
// (
|
|
7737
|
+
// (391:10) {#if recentSearched}
|
|
7738
7738
|
function create_if_block_5$1(ctx) {
|
|
7739
7739
|
let h3;
|
|
7740
7740
|
let t_value = /*$_*/ ctx[22]("gamesCategorySection.recentSearchedItems") + "";
|
|
@@ -7745,7 +7745,7 @@
|
|
|
7745
7745
|
h3 = element("h3");
|
|
7746
7746
|
t = text(t_value);
|
|
7747
7747
|
attr_dev(h3, "class", "StatusText");
|
|
7748
|
-
add_location(h3, file$1,
|
|
7748
|
+
add_location(h3, file$1, 391, 12, 14427);
|
|
7749
7749
|
},
|
|
7750
7750
|
m: function mount(target, anchor) {
|
|
7751
7751
|
insert_dev(target, h3, anchor);
|
|
@@ -7763,14 +7763,14 @@
|
|
|
7763
7763
|
block,
|
|
7764
7764
|
id: create_if_block_5$1.name,
|
|
7765
7765
|
type: "if",
|
|
7766
|
-
source: "(
|
|
7766
|
+
source: "(391:10) {#if recentSearched}",
|
|
7767
7767
|
ctx
|
|
7768
7768
|
});
|
|
7769
7769
|
|
|
7770
7770
|
return block;
|
|
7771
7771
|
}
|
|
7772
7772
|
|
|
7773
|
-
// (
|
|
7773
|
+
// (435:8) {:else}
|
|
7774
7774
|
function create_else_block_1$1(ctx) {
|
|
7775
7775
|
let p;
|
|
7776
7776
|
|
|
@@ -7779,7 +7779,7 @@
|
|
|
7779
7779
|
p = element("p");
|
|
7780
7780
|
p.textContent = "Waiting";
|
|
7781
7781
|
attr_dev(p, "class", "SearchWaiting");
|
|
7782
|
-
add_location(p, file$1,
|
|
7782
|
+
add_location(p, file$1, 435, 10, 16121);
|
|
7783
7783
|
},
|
|
7784
7784
|
m: function mount(target, anchor) {
|
|
7785
7785
|
insert_dev(target, p, anchor);
|
|
@@ -7794,14 +7794,14 @@
|
|
|
7794
7794
|
block,
|
|
7795
7795
|
id: create_else_block_1$1.name,
|
|
7796
7796
|
type: "else",
|
|
7797
|
-
source: "(
|
|
7797
|
+
source: "(435:8) {:else}",
|
|
7798
7798
|
ctx
|
|
7799
7799
|
});
|
|
7800
7800
|
|
|
7801
7801
|
return block;
|
|
7802
7802
|
}
|
|
7803
7803
|
|
|
7804
|
-
// (
|
|
7804
|
+
// (407:8) {#if shownCategoryData}
|
|
7805
7805
|
function create_if_block_3$1(ctx) {
|
|
7806
7806
|
let t;
|
|
7807
7807
|
let ul;
|
|
@@ -7825,7 +7825,7 @@
|
|
|
7825
7825
|
}
|
|
7826
7826
|
|
|
7827
7827
|
attr_dev(ul, "class", "CasinoGamesGrid");
|
|
7828
|
-
add_location(ul, file$1,
|
|
7828
|
+
add_location(ul, file$1, 410, 10, 15099);
|
|
7829
7829
|
},
|
|
7830
7830
|
m: function mount(target, anchor) {
|
|
7831
7831
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -7886,14 +7886,14 @@
|
|
|
7886
7886
|
block,
|
|
7887
7887
|
id: create_if_block_3$1.name,
|
|
7888
7888
|
type: "if",
|
|
7889
|
-
source: "(
|
|
7889
|
+
source: "(407:8) {#if shownCategoryData}",
|
|
7890
7890
|
ctx
|
|
7891
7891
|
});
|
|
7892
7892
|
|
|
7893
7893
|
return block;
|
|
7894
7894
|
}
|
|
7895
7895
|
|
|
7896
|
-
// (
|
|
7896
|
+
// (408:10) {#if !showItems}
|
|
7897
7897
|
function create_if_block_4$1(ctx) {
|
|
7898
7898
|
let p;
|
|
7899
7899
|
let t_value = /*$_*/ ctx[22]("gamesCategorySection.noRecentSearch") + "";
|
|
@@ -7904,7 +7904,7 @@
|
|
|
7904
7904
|
p = element("p");
|
|
7905
7905
|
t = text(t_value);
|
|
7906
7906
|
attr_dev(p, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter");
|
|
7907
|
-
add_location(p, file$1,
|
|
7907
|
+
add_location(p, file$1, 408, 12, 14958);
|
|
7908
7908
|
},
|
|
7909
7909
|
m: function mount(target, anchor) {
|
|
7910
7910
|
insert_dev(target, p, anchor);
|
|
@@ -7922,14 +7922,14 @@
|
|
|
7922
7922
|
block,
|
|
7923
7923
|
id: create_if_block_4$1.name,
|
|
7924
7924
|
type: "if",
|
|
7925
|
-
source: "(
|
|
7925
|
+
source: "(408:10) {#if !showItems}",
|
|
7926
7926
|
ctx
|
|
7927
7927
|
});
|
|
7928
7928
|
|
|
7929
7929
|
return block;
|
|
7930
7930
|
}
|
|
7931
7931
|
|
|
7932
|
-
// (
|
|
7932
|
+
// (412:12) {#each shownCategoryData as gameprops, index}
|
|
7933
7933
|
function create_each_block$1(ctx) {
|
|
7934
7934
|
let casino_game_thumbnail;
|
|
7935
7935
|
let casino_game_thumbnail_class_value;
|
|
@@ -7968,7 +7968,7 @@
|
|
|
7968
7968
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7969
7969
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7970
7970
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7971
|
-
add_location(casino_game_thumbnail, file$1,
|
|
7971
|
+
add_location(casino_game_thumbnail, file$1, 412, 14, 15200);
|
|
7972
7972
|
},
|
|
7973
7973
|
m: function mount(target, anchor) {
|
|
7974
7974
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -8057,14 +8057,14 @@
|
|
|
8057
8057
|
block,
|
|
8058
8058
|
id: create_each_block$1.name,
|
|
8059
8059
|
type: "each",
|
|
8060
|
-
source: "(
|
|
8060
|
+
source: "(412:12) {#each shownCategoryData as gameprops, index}",
|
|
8061
8061
|
ctx
|
|
8062
8062
|
});
|
|
8063
8063
|
|
|
8064
8064
|
return block;
|
|
8065
8065
|
}
|
|
8066
8066
|
|
|
8067
|
-
// (
|
|
8067
|
+
// (384:4) {:else}
|
|
8068
8068
|
function create_else_block$1(ctx) {
|
|
8069
8069
|
let p;
|
|
8070
8070
|
|
|
@@ -8073,7 +8073,7 @@
|
|
|
8073
8073
|
p = element("p");
|
|
8074
8074
|
p.textContent = "500 Error - Internal Server Error.";
|
|
8075
8075
|
attr_dev(p, "class", "SearchLoading");
|
|
8076
|
-
add_location(p, file$1,
|
|
8076
|
+
add_location(p, file$1, 384, 6, 14191);
|
|
8077
8077
|
},
|
|
8078
8078
|
m: function mount(target, anchor) {
|
|
8079
8079
|
insert_dev(target, p, anchor);
|
|
@@ -8087,14 +8087,14 @@
|
|
|
8087
8087
|
block,
|
|
8088
8088
|
id: create_else_block$1.name,
|
|
8089
8089
|
type: "else",
|
|
8090
|
-
source: "(
|
|
8090
|
+
source: "(384:4) {:else}",
|
|
8091
8091
|
ctx
|
|
8092
8092
|
});
|
|
8093
8093
|
|
|
8094
8094
|
return block;
|
|
8095
8095
|
}
|
|
8096
8096
|
|
|
8097
|
-
// (
|
|
8097
|
+
// (382:4) {#if filteresPresent}
|
|
8098
8098
|
function create_if_block_1$1(ctx) {
|
|
8099
8099
|
let p;
|
|
8100
8100
|
|
|
@@ -8103,7 +8103,7 @@
|
|
|
8103
8103
|
p = element("p");
|
|
8104
8104
|
p.textContent = "404 Error - No result found.";
|
|
8105
8105
|
attr_dev(p, "class", "SearchLoading");
|
|
8106
|
-
add_location(p, file$1,
|
|
8106
|
+
add_location(p, file$1, 382, 6, 14115);
|
|
8107
8107
|
},
|
|
8108
8108
|
m: function mount(target, anchor) {
|
|
8109
8109
|
insert_dev(target, p, anchor);
|
|
@@ -8117,7 +8117,7 @@
|
|
|
8117
8117
|
block,
|
|
8118
8118
|
id: create_if_block_1$1.name,
|
|
8119
8119
|
type: "if",
|
|
8120
|
-
source: "(
|
|
8120
|
+
source: "(382:4) {#if filteresPresent}",
|
|
8121
8121
|
ctx
|
|
8122
8122
|
});
|
|
8123
8123
|
|
|
@@ -8142,7 +8142,7 @@
|
|
|
8142
8142
|
if_block.c();
|
|
8143
8143
|
this.c = noop$1;
|
|
8144
8144
|
attr_dev(div, "class", "CasinoGamesCategorySectionContainer");
|
|
8145
|
-
add_location(div, file$1,
|
|
8145
|
+
add_location(div, file$1, 378, 0, 13936);
|
|
8146
8146
|
},
|
|
8147
8147
|
l: function claim(nodes) {
|
|
8148
8148
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -8266,7 +8266,7 @@
|
|
|
8266
8266
|
};
|
|
8267
8267
|
|
|
8268
8268
|
return new Promise((resolve, reject) => {
|
|
8269
|
-
fetch(url, options
|
|
8269
|
+
fetch(url, options).then(res => res.json()).then(updatedArray => {
|
|
8270
8270
|
if (updatedArray) {
|
|
8271
8271
|
favoriteGames = updatedArray.items;
|
|
8272
8272
|
} else {
|
|
@@ -8374,6 +8374,7 @@
|
|
|
8374
8374
|
});
|
|
8375
8375
|
}
|
|
8376
8376
|
} else {
|
|
8377
|
+
$$invalidate(9, shownCategoryData = []);
|
|
8377
8378
|
$$invalidate(15, showItems = false);
|
|
8378
8379
|
}
|
|
8379
8380
|
break;
|
|
@@ -9095,12 +9096,12 @@
|
|
|
9095
9096
|
|
|
9096
9097
|
function get_each_context(ctx, list, i) {
|
|
9097
9098
|
const child_ctx = ctx.slice();
|
|
9098
|
-
child_ctx[
|
|
9099
|
-
child_ctx[
|
|
9099
|
+
child_ctx[109] = list[i];
|
|
9100
|
+
child_ctx[111] = i;
|
|
9100
9101
|
return child_ctx;
|
|
9101
9102
|
}
|
|
9102
9103
|
|
|
9103
|
-
// (
|
|
9104
|
+
// (654:0) {:else}
|
|
9104
9105
|
function create_else_block(ctx) {
|
|
9105
9106
|
let section;
|
|
9106
9107
|
let show_if_1 = getDevice(/*userAgent*/ ctx[34]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[29];
|
|
@@ -9146,7 +9147,7 @@
|
|
|
9146
9147
|
t3 = space();
|
|
9147
9148
|
if (if_block4) if_block4.c();
|
|
9148
9149
|
attr_dev(section, "class", "CategoriesLobby");
|
|
9149
|
-
add_location(section, file,
|
|
9150
|
+
add_location(section, file, 654, 2, 22487);
|
|
9150
9151
|
},
|
|
9151
9152
|
m: function mount(target, anchor) {
|
|
9152
9153
|
insert_dev(target, section, anchor);
|
|
@@ -9159,7 +9160,7 @@
|
|
|
9159
9160
|
if (if_block3) if_block3.m(section, null);
|
|
9160
9161
|
append_dev(section, t3);
|
|
9161
9162
|
if (if_block4) if_block4.m(section, null);
|
|
9162
|
-
/*section_binding*/ ctx[
|
|
9163
|
+
/*section_binding*/ ctx[64](section);
|
|
9163
9164
|
},
|
|
9164
9165
|
p: function update(ctx, dirty) {
|
|
9165
9166
|
if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/ 536871168) show_if_1 = getDevice(/*userAgent*/ ctx[34]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[29];
|
|
@@ -9238,7 +9239,7 @@
|
|
|
9238
9239
|
}
|
|
9239
9240
|
|
|
9240
9241
|
if (if_block4) if_block4.d();
|
|
9241
|
-
/*section_binding*/ ctx[
|
|
9242
|
+
/*section_binding*/ ctx[64](null);
|
|
9242
9243
|
}
|
|
9243
9244
|
};
|
|
9244
9245
|
|
|
@@ -9246,14 +9247,14 @@
|
|
|
9246
9247
|
block,
|
|
9247
9248
|
id: create_else_block.name,
|
|
9248
9249
|
type: "else",
|
|
9249
|
-
source: "(
|
|
9250
|
+
source: "(654:0) {:else}",
|
|
9250
9251
|
ctx
|
|
9251
9252
|
});
|
|
9252
9253
|
|
|
9253
9254
|
return block;
|
|
9254
9255
|
}
|
|
9255
9256
|
|
|
9256
|
-
// (
|
|
9257
|
+
// (652:0) {#if hasErrors}
|
|
9257
9258
|
function create_if_block(ctx) {
|
|
9258
9259
|
let p;
|
|
9259
9260
|
|
|
@@ -9262,7 +9263,7 @@
|
|
|
9262
9263
|
p = element("p");
|
|
9263
9264
|
p.textContent = "500 Error - Internal Server Error";
|
|
9264
9265
|
attr_dev(p, "class", "SearchLoading");
|
|
9265
|
-
add_location(p, file,
|
|
9266
|
+
add_location(p, file, 652, 2, 22414);
|
|
9266
9267
|
},
|
|
9267
9268
|
m: function mount(target, anchor) {
|
|
9268
9269
|
insert_dev(target, p, anchor);
|
|
@@ -9277,14 +9278,14 @@
|
|
|
9277
9278
|
block,
|
|
9278
9279
|
id: create_if_block.name,
|
|
9279
9280
|
type: "if",
|
|
9280
|
-
source: "(
|
|
9281
|
+
source: "(652:0) {#if hasErrors}",
|
|
9281
9282
|
ctx
|
|
9282
9283
|
});
|
|
9283
9284
|
|
|
9284
9285
|
return block;
|
|
9285
9286
|
}
|
|
9286
9287
|
|
|
9287
|
-
// (
|
|
9288
|
+
// (656:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}
|
|
9288
9289
|
function create_if_block_23(ctx) {
|
|
9289
9290
|
let div;
|
|
9290
9291
|
|
|
@@ -9292,7 +9293,7 @@
|
|
|
9292
9293
|
c: function create() {
|
|
9293
9294
|
div = element("div");
|
|
9294
9295
|
attr_dev(div, "class", "SearchBarPlaceholder");
|
|
9295
|
-
add_location(div, file,
|
|
9296
|
+
add_location(div, file, 656, 6, 22665);
|
|
9296
9297
|
},
|
|
9297
9298
|
m: function mount(target, anchor) {
|
|
9298
9299
|
insert_dev(target, div, anchor);
|
|
@@ -9306,14 +9307,14 @@
|
|
|
9306
9307
|
block,
|
|
9307
9308
|
id: create_if_block_23.name,
|
|
9308
9309
|
type: "if",
|
|
9309
|
-
source: "(
|
|
9310
|
+
source: "(656:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}",
|
|
9310
9311
|
ctx
|
|
9311
9312
|
});
|
|
9312
9313
|
|
|
9313
9314
|
return block;
|
|
9314
9315
|
}
|
|
9315
9316
|
|
|
9316
|
-
// (
|
|
9317
|
+
// (659:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}
|
|
9317
9318
|
function create_if_block_22(ctx) {
|
|
9318
9319
|
let div1;
|
|
9319
9320
|
let div0;
|
|
@@ -9334,7 +9335,7 @@
|
|
|
9334
9335
|
polygon = svg_element("polygon");
|
|
9335
9336
|
set_style(polygon, "fill", "#FD2839");
|
|
9336
9337
|
attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
|
|
9337
|
-
add_location(polygon, file,
|
|
9338
|
+
add_location(polygon, file, 664, 14, 23269);
|
|
9338
9339
|
attr_dev(svg, "version", "1.1");
|
|
9339
9340
|
attr_dev(svg, "id", "Layer_1");
|
|
9340
9341
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -9344,13 +9345,13 @@
|
|
|
9344
9345
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
9345
9346
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
9346
9347
|
attr_dev(svg, "xml:space", "preserve");
|
|
9347
|
-
add_location(svg, file,
|
|
9348
|
+
add_location(svg, file, 662, 12, 23014);
|
|
9348
9349
|
attr_dev(span, "class", "ClearIcon");
|
|
9349
|
-
add_location(span, file,
|
|
9350
|
+
add_location(span, file, 661, 10, 22977);
|
|
9350
9351
|
attr_dev(div0, "class", "ClearButton");
|
|
9351
|
-
add_location(div0, file,
|
|
9352
|
+
add_location(div0, file, 660, 8, 22936);
|
|
9352
9353
|
attr_dev(div1, "class", "ClearFilterMobileButtonWrapper");
|
|
9353
|
-
add_location(div1, file,
|
|
9354
|
+
add_location(div1, file, 659, 6, 22844);
|
|
9354
9355
|
},
|
|
9355
9356
|
m: function mount(target, anchor) {
|
|
9356
9357
|
insert_dev(target, div1, anchor);
|
|
@@ -9361,7 +9362,7 @@
|
|
|
9361
9362
|
append_dev(svg, polygon);
|
|
9362
9363
|
|
|
9363
9364
|
if (!mounted) {
|
|
9364
|
-
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[
|
|
9365
|
+
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[50], false, false, false);
|
|
9365
9366
|
mounted = true;
|
|
9366
9367
|
}
|
|
9367
9368
|
},
|
|
@@ -9377,14 +9378,14 @@
|
|
|
9377
9378
|
block,
|
|
9378
9379
|
id: create_if_block_22.name,
|
|
9379
9380
|
type: "if",
|
|
9380
|
-
source: "(
|
|
9381
|
+
source: "(659:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}",
|
|
9381
9382
|
ctx
|
|
9382
9383
|
});
|
|
9383
9384
|
|
|
9384
9385
|
return block;
|
|
9385
9386
|
}
|
|
9386
9387
|
|
|
9387
|
-
// (
|
|
9388
|
+
// (730:4) {:else}
|
|
9388
9389
|
function create_else_block_2(ctx) {
|
|
9389
9390
|
let div2;
|
|
9390
9391
|
let div1;
|
|
@@ -9422,7 +9423,7 @@
|
|
|
9422
9423
|
if (if_block2) if_block2.c();
|
|
9423
9424
|
attr_dev(label, "for", "search");
|
|
9424
9425
|
attr_dev(label, "class", "SrOnly");
|
|
9425
|
-
add_location(label, file,
|
|
9426
|
+
add_location(label, file, 734, 10, 28620);
|
|
9426
9427
|
attr_dev(input, "id", "SearchField");
|
|
9427
9428
|
attr_dev(input, "class", "SearchInput");
|
|
9428
9429
|
|
|
@@ -9431,15 +9432,15 @@
|
|
|
9431
9432
|
: /*$_*/ ctx[32]("casinoPage.searchMobile"));
|
|
9432
9433
|
|
|
9433
9434
|
attr_dev(input, "type", "search");
|
|
9434
|
-
add_location(input, file,
|
|
9435
|
+
add_location(input, file, 743, 12, 29176);
|
|
9435
9436
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9436
|
-
add_location(div0, file,
|
|
9437
|
+
add_location(div0, file, 735, 10, 28693);
|
|
9437
9438
|
|
|
9438
9439
|
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
|
|
9439
9440
|
? "SearchTruncated"
|
|
9440
9441
|
: ""));
|
|
9441
9442
|
|
|
9442
|
-
add_location(div1, file,
|
|
9443
|
+
add_location(div1, file, 733, 8, 28478);
|
|
9443
9444
|
|
|
9444
9445
|
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
|
|
9445
9446
|
? "CategoriesHeaderMobileSection"
|
|
@@ -9455,7 +9456,7 @@
|
|
|
9455
9456
|
? scrollOffset + "px"
|
|
9456
9457
|
: "");
|
|
9457
9458
|
|
|
9458
|
-
add_location(div2, file,
|
|
9459
|
+
add_location(div2, file, 731, 6, 27959);
|
|
9459
9460
|
},
|
|
9460
9461
|
m: function mount(target, anchor) {
|
|
9461
9462
|
insert_dev(target, div2, anchor);
|
|
@@ -9466,19 +9467,19 @@
|
|
|
9466
9467
|
if (if_block0) if_block0.m(div0, null);
|
|
9467
9468
|
append_dev(div0, t2);
|
|
9468
9469
|
append_dev(div0, input);
|
|
9469
|
-
/*input_binding_1*/ ctx[
|
|
9470
|
+
/*input_binding_1*/ ctx[57](input);
|
|
9470
9471
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9471
9472
|
append_dev(div0, t3);
|
|
9472
9473
|
if (if_block1) if_block1.m(div0, null);
|
|
9473
9474
|
append_dev(div2, t4);
|
|
9474
9475
|
if (if_block2) if_block2.m(div2, null);
|
|
9475
|
-
/*div2_binding_1*/ ctx[
|
|
9476
|
+
/*div2_binding_1*/ ctx[62](div2);
|
|
9476
9477
|
|
|
9477
9478
|
if (!mounted) {
|
|
9478
9479
|
dispose = [
|
|
9479
9480
|
listen_dev(input, "focus", /*onFocus*/ ctx[36], false, false, false),
|
|
9480
9481
|
listen_dev(input, "blur", /*onBlur*/ ctx[37], false, false, false),
|
|
9481
|
-
listen_dev(input, "input", /*input_input_handler_1*/ ctx[
|
|
9482
|
+
listen_dev(input, "input", /*input_input_handler_1*/ ctx[58]),
|
|
9482
9483
|
listen_dev(input, "focus", /*searchActivated*/ ctx[38], false, false, false)
|
|
9483
9484
|
];
|
|
9484
9485
|
|
|
@@ -9562,10 +9563,10 @@
|
|
|
9562
9563
|
d: function destroy(detaching) {
|
|
9563
9564
|
if (detaching) detach_dev(div2);
|
|
9564
9565
|
if (if_block0) if_block0.d();
|
|
9565
|
-
/*input_binding_1*/ ctx[
|
|
9566
|
+
/*input_binding_1*/ ctx[57](null);
|
|
9566
9567
|
if (if_block1) if_block1.d();
|
|
9567
9568
|
if (if_block2) if_block2.d();
|
|
9568
|
-
/*div2_binding_1*/ ctx[
|
|
9569
|
+
/*div2_binding_1*/ ctx[62](null);
|
|
9569
9570
|
mounted = false;
|
|
9570
9571
|
run_all(dispose);
|
|
9571
9572
|
}
|
|
@@ -9575,14 +9576,14 @@
|
|
|
9575
9576
|
block,
|
|
9576
9577
|
id: create_else_block_2.name,
|
|
9577
9578
|
type: "else",
|
|
9578
|
-
source: "(
|
|
9579
|
+
source: "(730:4) {:else}",
|
|
9579
9580
|
ctx
|
|
9580
9581
|
});
|
|
9581
9582
|
|
|
9582
9583
|
return block;
|
|
9583
9584
|
}
|
|
9584
9585
|
|
|
9585
|
-
// (
|
|
9586
|
+
// (673:4) {#if alternativesearch === 'false'}
|
|
9586
9587
|
function create_if_block_9(ctx) {
|
|
9587
9588
|
let div2;
|
|
9588
9589
|
let div1;
|
|
@@ -9620,7 +9621,7 @@
|
|
|
9620
9621
|
if (if_block2) if_block2.c();
|
|
9621
9622
|
attr_dev(label, "for", "search");
|
|
9622
9623
|
attr_dev(label, "class", "SrOnly");
|
|
9623
|
-
add_location(label, file,
|
|
9624
|
+
add_location(label, file, 677, 10, 24277);
|
|
9624
9625
|
attr_dev(input, "id", "SearchField");
|
|
9625
9626
|
attr_dev(input, "class", "SearchInput");
|
|
9626
9627
|
|
|
@@ -9629,15 +9630,15 @@
|
|
|
9629
9630
|
: /*$_*/ ctx[32]("casinoPage.searchMobile"));
|
|
9630
9631
|
|
|
9631
9632
|
attr_dev(input, "type", "search");
|
|
9632
|
-
add_location(input, file,
|
|
9633
|
+
add_location(input, file, 686, 12, 24833);
|
|
9633
9634
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9634
|
-
add_location(div0, file,
|
|
9635
|
+
add_location(div0, file, 678, 10, 24350);
|
|
9635
9636
|
|
|
9636
9637
|
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
|
|
9637
9638
|
? "SearchTruncated"
|
|
9638
9639
|
: ""));
|
|
9639
9640
|
|
|
9640
|
-
add_location(div1, file,
|
|
9641
|
+
add_location(div1, file, 676, 8, 24135);
|
|
9641
9642
|
|
|
9642
9643
|
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
|
|
9643
9644
|
? "CategoriesHeaderMobileSection"
|
|
@@ -9653,7 +9654,7 @@
|
|
|
9653
9654
|
? scrollOffset + "px"
|
|
9654
9655
|
: "");
|
|
9655
9656
|
|
|
9656
|
-
add_location(div2, file,
|
|
9657
|
+
add_location(div2, file, 674, 6, 23648);
|
|
9657
9658
|
},
|
|
9658
9659
|
m: function mount(target, anchor) {
|
|
9659
9660
|
insert_dev(target, div2, anchor);
|
|
@@ -9664,19 +9665,19 @@
|
|
|
9664
9665
|
if (if_block0) if_block0.m(div0, null);
|
|
9665
9666
|
append_dev(div0, t2);
|
|
9666
9667
|
append_dev(div0, input);
|
|
9667
|
-
/*input_binding*/ ctx[
|
|
9668
|
+
/*input_binding*/ ctx[51](input);
|
|
9668
9669
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9669
9670
|
append_dev(div0, t3);
|
|
9670
9671
|
if (if_block1) if_block1.m(div0, null);
|
|
9671
9672
|
append_dev(div2, t4);
|
|
9672
9673
|
if (if_block2) if_block2.m(div2, null);
|
|
9673
|
-
/*div2_binding*/ ctx[
|
|
9674
|
+
/*div2_binding*/ ctx[56](div2);
|
|
9674
9675
|
|
|
9675
9676
|
if (!mounted) {
|
|
9676
9677
|
dispose = [
|
|
9677
9678
|
listen_dev(input, "focus", /*onFocus*/ ctx[36], false, false, false),
|
|
9678
9679
|
listen_dev(input, "blur", /*onBlur*/ ctx[37], false, false, false),
|
|
9679
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
9680
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[52]),
|
|
9680
9681
|
listen_dev(input, "focus", /*searchActivated*/ ctx[38], false, false, false)
|
|
9681
9682
|
];
|
|
9682
9683
|
|
|
@@ -9760,10 +9761,10 @@
|
|
|
9760
9761
|
d: function destroy(detaching) {
|
|
9761
9762
|
if (detaching) detach_dev(div2);
|
|
9762
9763
|
if (if_block0) if_block0.d();
|
|
9763
|
-
/*input_binding*/ ctx[
|
|
9764
|
+
/*input_binding*/ ctx[51](null);
|
|
9764
9765
|
if (if_block1) if_block1.d();
|
|
9765
9766
|
if (if_block2) if_block2.d();
|
|
9766
|
-
/*div2_binding*/ ctx[
|
|
9767
|
+
/*div2_binding*/ ctx[56](null);
|
|
9767
9768
|
mounted = false;
|
|
9768
9769
|
run_all(dispose);
|
|
9769
9770
|
}
|
|
@@ -9773,14 +9774,14 @@
|
|
|
9773
9774
|
block,
|
|
9774
9775
|
id: create_if_block_9.name,
|
|
9775
9776
|
type: "if",
|
|
9776
|
-
source: "(
|
|
9777
|
+
source: "(673:4) {#if alternativesearch === 'false'}",
|
|
9777
9778
|
ctx
|
|
9778
9779
|
});
|
|
9779
9780
|
|
|
9780
9781
|
return block;
|
|
9781
9782
|
}
|
|
9782
9783
|
|
|
9783
|
-
// (
|
|
9784
|
+
// (737:12) {#if !mobileSearchViewActive}
|
|
9784
9785
|
function create_if_block_21(ctx) {
|
|
9785
9786
|
let div;
|
|
9786
9787
|
let svg;
|
|
@@ -9794,14 +9795,14 @@
|
|
|
9794
9795
|
attr_dev(path, "fill-rule", "evenodd");
|
|
9795
9796
|
attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
|
|
9796
9797
|
attr_dev(path, "clip-rule", "evenodd");
|
|
9797
|
-
add_location(path, file,
|
|
9798
|
+
add_location(path, file, 739, 18, 28936);
|
|
9798
9799
|
attr_dev(svg, "role", "presentation");
|
|
9799
9800
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
9800
9801
|
attr_dev(svg, "viewBox", "0 0 20 20");
|
|
9801
9802
|
attr_dev(svg, "aria-hidden", "true");
|
|
9802
|
-
add_location(svg, file,
|
|
9803
|
+
add_location(svg, file, 738, 16, 28818);
|
|
9803
9804
|
attr_dev(div, "class", "SearchIcon");
|
|
9804
|
-
add_location(div, file,
|
|
9805
|
+
add_location(div, file, 737, 14, 28777);
|
|
9805
9806
|
},
|
|
9806
9807
|
m: function mount(target, anchor) {
|
|
9807
9808
|
insert_dev(target, div, anchor);
|
|
@@ -9817,14 +9818,14 @@
|
|
|
9817
9818
|
block,
|
|
9818
9819
|
id: create_if_block_21.name,
|
|
9819
9820
|
type: "if",
|
|
9820
|
-
source: "(
|
|
9821
|
+
source: "(737:12) {#if !mobileSearchViewActive}",
|
|
9821
9822
|
ctx
|
|
9822
9823
|
});
|
|
9823
9824
|
|
|
9824
9825
|
return block;
|
|
9825
9826
|
}
|
|
9826
9827
|
|
|
9827
|
-
// (
|
|
9828
|
+
// (745:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
9828
9829
|
function create_if_block_20(ctx) {
|
|
9829
9830
|
let span;
|
|
9830
9831
|
let div2;
|
|
@@ -9840,17 +9841,17 @@
|
|
|
9840
9841
|
div1 = element("div");
|
|
9841
9842
|
div0 = element("div");
|
|
9842
9843
|
attr_dev(div0, "class", "CloseIcon");
|
|
9843
|
-
add_location(div0, file,
|
|
9844
|
+
add_location(div0, file, 748, 20, 29836);
|
|
9844
9845
|
attr_dev(div1, "class", "CloseIconWrapper");
|
|
9845
|
-
add_location(div1, file,
|
|
9846
|
+
add_location(div1, file, 747, 18, 29785);
|
|
9846
9847
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
9847
|
-
add_location(div2, file,
|
|
9848
|
+
add_location(div2, file, 746, 16, 29734);
|
|
9848
9849
|
|
|
9849
9850
|
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[34]) === "PC"
|
|
9850
9851
|
? "ClearSearchButton"
|
|
9851
9852
|
: "ClearSearchButtonMobile") + " "));
|
|
9852
9853
|
|
|
9853
|
-
add_location(span, file,
|
|
9854
|
+
add_location(span, file, 745, 14, 29582);
|
|
9854
9855
|
},
|
|
9855
9856
|
m: function mount(target, anchor) {
|
|
9856
9857
|
insert_dev(target, span, anchor);
|
|
@@ -9859,7 +9860,7 @@
|
|
|
9859
9860
|
append_dev(div1, div0);
|
|
9860
9861
|
|
|
9861
9862
|
if (!mounted) {
|
|
9862
|
-
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[
|
|
9863
|
+
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[59], false, false, false);
|
|
9863
9864
|
mounted = true;
|
|
9864
9865
|
}
|
|
9865
9866
|
},
|
|
@@ -9875,14 +9876,14 @@
|
|
|
9875
9876
|
block,
|
|
9876
9877
|
id: create_if_block_20.name,
|
|
9877
9878
|
type: "if",
|
|
9878
|
-
source: "(
|
|
9879
|
+
source: "(745:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
9879
9880
|
ctx
|
|
9880
9881
|
});
|
|
9881
9882
|
|
|
9882
9883
|
return block;
|
|
9883
9884
|
}
|
|
9884
9885
|
|
|
9885
|
-
// (
|
|
9886
|
+
// (756:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
9886
9887
|
function create_if_block_16(ctx) {
|
|
9887
9888
|
let div;
|
|
9888
9889
|
let t;
|
|
@@ -9896,7 +9897,7 @@
|
|
|
9896
9897
|
t = space();
|
|
9897
9898
|
if (if_block1) if_block1.c();
|
|
9898
9899
|
attr_dev(div, "class", "FiltersButtonsContainer");
|
|
9899
|
-
add_location(div, file,
|
|
9900
|
+
add_location(div, file, 756, 10, 30140);
|
|
9900
9901
|
},
|
|
9901
9902
|
m: function mount(target, anchor) {
|
|
9902
9903
|
insert_dev(target, div, anchor);
|
|
@@ -9942,14 +9943,14 @@
|
|
|
9942
9943
|
block,
|
|
9943
9944
|
id: create_if_block_16.name,
|
|
9944
9945
|
type: "if",
|
|
9945
|
-
source: "(
|
|
9946
|
+
source: "(756:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
9946
9947
|
ctx
|
|
9947
9948
|
});
|
|
9948
9949
|
|
|
9949
9950
|
return block;
|
|
9950
9951
|
}
|
|
9951
9952
|
|
|
9952
|
-
// (
|
|
9953
|
+
// (758:12) {#if numberOfFilters}
|
|
9953
9954
|
function create_if_block_19(ctx) {
|
|
9954
9955
|
let div1;
|
|
9955
9956
|
let div0;
|
|
@@ -9971,7 +9972,7 @@
|
|
|
9971
9972
|
polygon = svg_element("polygon");
|
|
9972
9973
|
set_style(polygon, "fill", "#FD2839");
|
|
9973
9974
|
attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
|
|
9974
|
-
add_location(polygon, file,
|
|
9975
|
+
add_location(polygon, file, 763, 22, 30730);
|
|
9975
9976
|
attr_dev(svg, "version", "1.1");
|
|
9976
9977
|
attr_dev(svg, "id", "Layer_1");
|
|
9977
9978
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -9981,13 +9982,13 @@
|
|
|
9981
9982
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
9982
9983
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
9983
9984
|
attr_dev(svg, "xml:space", "preserve");
|
|
9984
|
-
add_location(svg, file,
|
|
9985
|
+
add_location(svg, file, 761, 20, 30455);
|
|
9985
9986
|
attr_dev(span, "class", "ClearIcon");
|
|
9986
|
-
add_location(span, file,
|
|
9987
|
+
add_location(span, file, 760, 18, 30410);
|
|
9987
9988
|
attr_dev(div0, "class", "ClearButton");
|
|
9988
|
-
add_location(div0, file,
|
|
9989
|
+
add_location(div0, file, 759, 16, 30361);
|
|
9989
9990
|
attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[30] ? "FiltersActive" : ""));
|
|
9990
|
-
add_location(div1, file,
|
|
9991
|
+
add_location(div1, file, 758, 14, 30226);
|
|
9991
9992
|
},
|
|
9992
9993
|
m: function mount(target, anchor) {
|
|
9993
9994
|
insert_dev(target, div1, anchor);
|
|
@@ -9998,7 +9999,7 @@
|
|
|
9998
9999
|
append_dev(svg, polygon);
|
|
9999
10000
|
|
|
10000
10001
|
if (!mounted) {
|
|
10001
|
-
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[
|
|
10002
|
+
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[60], false, false, false);
|
|
10002
10003
|
mounted = true;
|
|
10003
10004
|
}
|
|
10004
10005
|
},
|
|
@@ -10018,14 +10019,14 @@
|
|
|
10018
10019
|
block,
|
|
10019
10020
|
id: create_if_block_19.name,
|
|
10020
10021
|
type: "if",
|
|
10021
|
-
source: "(
|
|
10022
|
+
source: "(758:12) {#if numberOfFilters}",
|
|
10022
10023
|
ctx
|
|
10023
10024
|
});
|
|
10024
10025
|
|
|
10025
10026
|
return block;
|
|
10026
10027
|
}
|
|
10027
10028
|
|
|
10028
|
-
// (
|
|
10029
|
+
// (771:12) {#if !searched || !recentSearches}
|
|
10029
10030
|
function create_if_block_17(ctx) {
|
|
10030
10031
|
let if_block_anchor;
|
|
10031
10032
|
let if_block = !/*mostPlayedScreen*/ ctx[21] && !/*numberOfFilters*/ ctx[30] && create_if_block_18(ctx);
|
|
@@ -10063,14 +10064,14 @@
|
|
|
10063
10064
|
block,
|
|
10064
10065
|
id: create_if_block_17.name,
|
|
10065
10066
|
type: "if",
|
|
10066
|
-
source: "(
|
|
10067
|
+
source: "(771:12) {#if !searched || !recentSearches}",
|
|
10067
10068
|
ctx
|
|
10068
10069
|
});
|
|
10069
10070
|
|
|
10070
10071
|
return block;
|
|
10071
10072
|
}
|
|
10072
10073
|
|
|
10073
|
-
// (
|
|
10074
|
+
// (772:14) {#if !mostPlayedScreen && !numberOfFilters}
|
|
10074
10075
|
function create_if_block_18(ctx) {
|
|
10075
10076
|
let div3;
|
|
10076
10077
|
let div0;
|
|
@@ -10105,26 +10106,26 @@
|
|
|
10105
10106
|
span = element("span");
|
|
10106
10107
|
t4 = text(/*numberOfFilters*/ ctx[30]);
|
|
10107
10108
|
attr_dev(div0, "class", "FilterButton");
|
|
10108
|
-
add_location(div0, file,
|
|
10109
|
-
add_location(style, file,
|
|
10110
|
-
add_location(defs, file,
|
|
10109
|
+
add_location(div0, file, 773, 18, 31289);
|
|
10110
|
+
add_location(style, file, 775, 109, 31490);
|
|
10111
|
+
add_location(defs, file, 775, 103, 31484);
|
|
10111
10112
|
attr_dev(path, "class", "a");
|
|
10112
10113
|
attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
|
|
10113
10114
|
attr_dev(path, "transform", "translate(-5 -6.2)");
|
|
10114
|
-
add_location(path, file,
|
|
10115
|
+
add_location(path, file, 775, 145, 31526);
|
|
10115
10116
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10116
10117
|
attr_dev(svg, "width", "20");
|
|
10117
10118
|
attr_dev(svg, "height", "20");
|
|
10118
10119
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
10119
|
-
add_location(svg, file,
|
|
10120
|
+
add_location(svg, file, 775, 20, 31401);
|
|
10120
10121
|
attr_dev(span, "class", "NumberOfFilters");
|
|
10121
|
-
add_location(span, file,
|
|
10122
|
+
add_location(span, file, 777, 22, 32087);
|
|
10122
10123
|
attr_dev(div1, "class", "NumberOfFiltersContainer");
|
|
10123
|
-
add_location(div1, file,
|
|
10124
|
+
add_location(div1, file, 776, 20, 32026);
|
|
10124
10125
|
attr_dev(div2, "class", "FilterIconContainer");
|
|
10125
|
-
add_location(div2, file,
|
|
10126
|
+
add_location(div2, file, 774, 18, 31347);
|
|
10126
10127
|
attr_dev(div3, "class", "FilterButtonWrapper");
|
|
10127
|
-
add_location(div3, file,
|
|
10128
|
+
add_location(div3, file, 772, 16, 31197);
|
|
10128
10129
|
},
|
|
10129
10130
|
m: function mount(target, anchor) {
|
|
10130
10131
|
insert_dev(target, div3, anchor);
|
|
@@ -10142,7 +10143,7 @@
|
|
|
10142
10143
|
append_dev(span, t4);
|
|
10143
10144
|
|
|
10144
10145
|
if (!mounted) {
|
|
10145
|
-
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[
|
|
10146
|
+
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[61], false, false, false);
|
|
10146
10147
|
mounted = true;
|
|
10147
10148
|
}
|
|
10148
10149
|
},
|
|
@@ -10160,14 +10161,14 @@
|
|
|
10160
10161
|
block,
|
|
10161
10162
|
id: create_if_block_18.name,
|
|
10162
10163
|
type: "if",
|
|
10163
|
-
source: "(
|
|
10164
|
+
source: "(772:14) {#if !mostPlayedScreen && !numberOfFilters}",
|
|
10164
10165
|
ctx
|
|
10165
10166
|
});
|
|
10166
10167
|
|
|
10167
10168
|
return block;
|
|
10168
10169
|
}
|
|
10169
10170
|
|
|
10170
|
-
// (
|
|
10171
|
+
// (680:12) {#if !mobileSearchViewActive}
|
|
10171
10172
|
function create_if_block_15(ctx) {
|
|
10172
10173
|
let div;
|
|
10173
10174
|
let svg;
|
|
@@ -10181,14 +10182,14 @@
|
|
|
10181
10182
|
attr_dev(path, "fill-rule", "evenodd");
|
|
10182
10183
|
attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
|
|
10183
10184
|
attr_dev(path, "clip-rule", "evenodd");
|
|
10184
|
-
add_location(path, file,
|
|
10185
|
+
add_location(path, file, 682, 18, 24593);
|
|
10185
10186
|
attr_dev(svg, "role", "presentation");
|
|
10186
10187
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10187
10188
|
attr_dev(svg, "viewBox", "0 0 20 20");
|
|
10188
10189
|
attr_dev(svg, "aria-hidden", "true");
|
|
10189
|
-
add_location(svg, file,
|
|
10190
|
+
add_location(svg, file, 681, 16, 24475);
|
|
10190
10191
|
attr_dev(div, "class", "SearchIcon");
|
|
10191
|
-
add_location(div, file,
|
|
10192
|
+
add_location(div, file, 680, 14, 24434);
|
|
10192
10193
|
},
|
|
10193
10194
|
m: function mount(target, anchor) {
|
|
10194
10195
|
insert_dev(target, div, anchor);
|
|
@@ -10204,14 +10205,14 @@
|
|
|
10204
10205
|
block,
|
|
10205
10206
|
id: create_if_block_15.name,
|
|
10206
10207
|
type: "if",
|
|
10207
|
-
source: "(
|
|
10208
|
+
source: "(680:12) {#if !mobileSearchViewActive}",
|
|
10208
10209
|
ctx
|
|
10209
10210
|
});
|
|
10210
10211
|
|
|
10211
10212
|
return block;
|
|
10212
10213
|
}
|
|
10213
10214
|
|
|
10214
|
-
// (
|
|
10215
|
+
// (688:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
10215
10216
|
function create_if_block_14(ctx) {
|
|
10216
10217
|
let span;
|
|
10217
10218
|
let div2;
|
|
@@ -10227,17 +10228,17 @@
|
|
|
10227
10228
|
div1 = element("div");
|
|
10228
10229
|
div0 = element("div");
|
|
10229
10230
|
attr_dev(div0, "class", "CloseIcon");
|
|
10230
|
-
add_location(div0, file,
|
|
10231
|
+
add_location(div0, file, 691, 20, 25493);
|
|
10231
10232
|
attr_dev(div1, "class", "CloseIconWrapper");
|
|
10232
|
-
add_location(div1, file,
|
|
10233
|
+
add_location(div1, file, 690, 18, 25442);
|
|
10233
10234
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
10234
|
-
add_location(div2, file,
|
|
10235
|
+
add_location(div2, file, 689, 16, 25391);
|
|
10235
10236
|
|
|
10236
10237
|
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[34]) === "PC"
|
|
10237
10238
|
? "ClearSearchButton"
|
|
10238
10239
|
: "ClearSearchButtonMobile") + " "));
|
|
10239
10240
|
|
|
10240
|
-
add_location(span, file,
|
|
10241
|
+
add_location(span, file, 688, 14, 25239);
|
|
10241
10242
|
},
|
|
10242
10243
|
m: function mount(target, anchor) {
|
|
10243
10244
|
insert_dev(target, span, anchor);
|
|
@@ -10246,7 +10247,7 @@
|
|
|
10246
10247
|
append_dev(div1, div0);
|
|
10247
10248
|
|
|
10248
10249
|
if (!mounted) {
|
|
10249
|
-
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[
|
|
10250
|
+
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[53], false, false, false);
|
|
10250
10251
|
mounted = true;
|
|
10251
10252
|
}
|
|
10252
10253
|
},
|
|
@@ -10262,14 +10263,14 @@
|
|
|
10262
10263
|
block,
|
|
10263
10264
|
id: create_if_block_14.name,
|
|
10264
10265
|
type: "if",
|
|
10265
|
-
source: "(
|
|
10266
|
+
source: "(688:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
10266
10267
|
ctx
|
|
10267
10268
|
});
|
|
10268
10269
|
|
|
10269
10270
|
return block;
|
|
10270
10271
|
}
|
|
10271
10272
|
|
|
10272
|
-
// (
|
|
10273
|
+
// (699:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
10273
10274
|
function create_if_block_10(ctx) {
|
|
10274
10275
|
let div;
|
|
10275
10276
|
let t;
|
|
@@ -10283,7 +10284,7 @@
|
|
|
10283
10284
|
t = space();
|
|
10284
10285
|
if (if_block1) if_block1.c();
|
|
10285
10286
|
attr_dev(div, "class", "FiltersButtonsContainer");
|
|
10286
|
-
add_location(div, file,
|
|
10287
|
+
add_location(div, file, 699, 10, 25797);
|
|
10287
10288
|
},
|
|
10288
10289
|
m: function mount(target, anchor) {
|
|
10289
10290
|
insert_dev(target, div, anchor);
|
|
@@ -10329,14 +10330,14 @@
|
|
|
10329
10330
|
block,
|
|
10330
10331
|
id: create_if_block_10.name,
|
|
10331
10332
|
type: "if",
|
|
10332
|
-
source: "(
|
|
10333
|
+
source: "(699:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
10333
10334
|
ctx
|
|
10334
10335
|
});
|
|
10335
10336
|
|
|
10336
10337
|
return block;
|
|
10337
10338
|
}
|
|
10338
10339
|
|
|
10339
|
-
// (
|
|
10340
|
+
// (701:12) {#if numberOfFilters}
|
|
10340
10341
|
function create_if_block_13(ctx) {
|
|
10341
10342
|
let div1;
|
|
10342
10343
|
let div0;
|
|
@@ -10357,7 +10358,7 @@
|
|
|
10357
10358
|
polygon = svg_element("polygon");
|
|
10358
10359
|
set_style(polygon, "fill", "#FD2839");
|
|
10359
10360
|
attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
|
|
10360
|
-
add_location(polygon, file,
|
|
10361
|
+
add_location(polygon, file, 706, 22, 26346);
|
|
10361
10362
|
attr_dev(svg, "version", "1.1");
|
|
10362
10363
|
attr_dev(svg, "id", "Layer_1");
|
|
10363
10364
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -10367,13 +10368,13 @@
|
|
|
10367
10368
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
10368
10369
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
10369
10370
|
attr_dev(svg, "xml:space", "preserve");
|
|
10370
|
-
add_location(svg, file,
|
|
10371
|
+
add_location(svg, file, 704, 20, 26071);
|
|
10371
10372
|
attr_dev(span, "class", "ClearIcon");
|
|
10372
|
-
add_location(span, file,
|
|
10373
|
+
add_location(span, file, 703, 18, 26026);
|
|
10373
10374
|
attr_dev(div0, "class", "ClearButton");
|
|
10374
|
-
add_location(div0, file,
|
|
10375
|
+
add_location(div0, file, 702, 16, 25977);
|
|
10375
10376
|
attr_dev(div1, "class", "ClearFilterButtonWrapper");
|
|
10376
|
-
add_location(div1, file,
|
|
10377
|
+
add_location(div1, file, 701, 14, 25883);
|
|
10377
10378
|
},
|
|
10378
10379
|
m: function mount(target, anchor) {
|
|
10379
10380
|
insert_dev(target, div1, anchor);
|
|
@@ -10384,7 +10385,7 @@
|
|
|
10384
10385
|
append_dev(svg, polygon);
|
|
10385
10386
|
|
|
10386
10387
|
if (!mounted) {
|
|
10387
|
-
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[
|
|
10388
|
+
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[54], false, false, false);
|
|
10388
10389
|
mounted = true;
|
|
10389
10390
|
}
|
|
10390
10391
|
},
|
|
@@ -10400,14 +10401,14 @@
|
|
|
10400
10401
|
block,
|
|
10401
10402
|
id: create_if_block_13.name,
|
|
10402
10403
|
type: "if",
|
|
10403
|
-
source: "(
|
|
10404
|
+
source: "(701:12) {#if numberOfFilters}",
|
|
10404
10405
|
ctx
|
|
10405
10406
|
});
|
|
10406
10407
|
|
|
10407
10408
|
return block;
|
|
10408
10409
|
}
|
|
10409
10410
|
|
|
10410
|
-
// (
|
|
10411
|
+
// (714:12) {#if !searched || !recentSearches}
|
|
10411
10412
|
function create_if_block_11(ctx) {
|
|
10412
10413
|
let if_block_anchor;
|
|
10413
10414
|
let if_block = !/*mostPlayedScreen*/ ctx[21] && create_if_block_12(ctx);
|
|
@@ -10445,14 +10446,14 @@
|
|
|
10445
10446
|
block,
|
|
10446
10447
|
id: create_if_block_11.name,
|
|
10447
10448
|
type: "if",
|
|
10448
|
-
source: "(
|
|
10449
|
+
source: "(714:12) {#if !searched || !recentSearches}",
|
|
10449
10450
|
ctx
|
|
10450
10451
|
});
|
|
10451
10452
|
|
|
10452
10453
|
return block;
|
|
10453
10454
|
}
|
|
10454
10455
|
|
|
10455
|
-
// (
|
|
10456
|
+
// (715:14) {#if !mostPlayedScreen}
|
|
10456
10457
|
function create_if_block_12(ctx) {
|
|
10457
10458
|
let div3;
|
|
10458
10459
|
let div0;
|
|
@@ -10487,26 +10488,26 @@
|
|
|
10487
10488
|
span = element("span");
|
|
10488
10489
|
t4 = text(/*numberOfFilters*/ ctx[30]);
|
|
10489
10490
|
attr_dev(div0, "class", "FilterButton");
|
|
10490
|
-
add_location(div0, file,
|
|
10491
|
-
add_location(style, file,
|
|
10492
|
-
add_location(defs, file,
|
|
10491
|
+
add_location(div0, file, 716, 18, 26885);
|
|
10492
|
+
add_location(style, file, 718, 109, 27086);
|
|
10493
|
+
add_location(defs, file, 718, 103, 27080);
|
|
10493
10494
|
attr_dev(path, "class", "a");
|
|
10494
10495
|
attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
|
|
10495
10496
|
attr_dev(path, "transform", "translate(-5 -6.2)");
|
|
10496
|
-
add_location(path, file,
|
|
10497
|
+
add_location(path, file, 718, 145, 27122);
|
|
10497
10498
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10498
10499
|
attr_dev(svg, "width", "20");
|
|
10499
10500
|
attr_dev(svg, "height", "20");
|
|
10500
10501
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
10501
|
-
add_location(svg, file,
|
|
10502
|
+
add_location(svg, file, 718, 20, 26997);
|
|
10502
10503
|
attr_dev(span, "class", "NumberOfFilters");
|
|
10503
|
-
add_location(span, file,
|
|
10504
|
+
add_location(span, file, 720, 22, 27683);
|
|
10504
10505
|
attr_dev(div1, "class", "NumberOfFiltersContainer");
|
|
10505
|
-
add_location(div1, file,
|
|
10506
|
+
add_location(div1, file, 719, 20, 27622);
|
|
10506
10507
|
attr_dev(div2, "class", "FilterIconContainer");
|
|
10507
|
-
add_location(div2, file,
|
|
10508
|
+
add_location(div2, file, 717, 18, 26943);
|
|
10508
10509
|
attr_dev(div3, "class", "FilterButtonWrapper");
|
|
10509
|
-
add_location(div3, file,
|
|
10510
|
+
add_location(div3, file, 715, 16, 26793);
|
|
10510
10511
|
},
|
|
10511
10512
|
m: function mount(target, anchor) {
|
|
10512
10513
|
insert_dev(target, div3, anchor);
|
|
@@ -10524,7 +10525,7 @@
|
|
|
10524
10525
|
append_dev(span, t4);
|
|
10525
10526
|
|
|
10526
10527
|
if (!mounted) {
|
|
10527
|
-
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[
|
|
10528
|
+
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[55], false, false, false);
|
|
10528
10529
|
mounted = true;
|
|
10529
10530
|
}
|
|
10530
10531
|
},
|
|
@@ -10542,14 +10543,14 @@
|
|
|
10542
10543
|
block,
|
|
10543
10544
|
id: create_if_block_12.name,
|
|
10544
10545
|
type: "if",
|
|
10545
|
-
source: "(
|
|
10546
|
+
source: "(715:14) {#if !mostPlayedScreen}",
|
|
10546
10547
|
ctx
|
|
10547
10548
|
});
|
|
10548
10549
|
|
|
10549
10550
|
return block;
|
|
10550
10551
|
}
|
|
10551
10552
|
|
|
10552
|
-
// (
|
|
10553
|
+
// (861:10) {#if !recentSearches}
|
|
10553
10554
|
function create_if_block_8(ctx) {
|
|
10554
10555
|
let casino_games_category_section;
|
|
10555
10556
|
|
|
@@ -10567,7 +10568,7 @@
|
|
|
10567
10568
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10568
10569
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10569
10570
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10570
|
-
add_location(casino_games_category_section, file,
|
|
10571
|
+
add_location(casino_games_category_section, file, 861, 12, 34734);
|
|
10571
10572
|
},
|
|
10572
10573
|
m: function mount(target, anchor) {
|
|
10573
10574
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -10618,14 +10619,14 @@
|
|
|
10618
10619
|
block,
|
|
10619
10620
|
id: create_if_block_8.name,
|
|
10620
10621
|
type: "if",
|
|
10621
|
-
source: "(
|
|
10622
|
+
source: "(861:10) {#if !recentSearches}",
|
|
10622
10623
|
ctx
|
|
10623
10624
|
});
|
|
10624
10625
|
|
|
10625
10626
|
return block;
|
|
10626
10627
|
}
|
|
10627
10628
|
|
|
10628
|
-
// (
|
|
10629
|
+
// (841:35)
|
|
10629
10630
|
function create_if_block_6(ctx) {
|
|
10630
10631
|
let if_block_anchor;
|
|
10631
10632
|
|
|
@@ -10669,14 +10670,14 @@
|
|
|
10669
10670
|
block,
|
|
10670
10671
|
id: create_if_block_6.name,
|
|
10671
10672
|
type: "if",
|
|
10672
|
-
source: "(
|
|
10673
|
+
source: "(841:35) ",
|
|
10673
10674
|
ctx
|
|
10674
10675
|
});
|
|
10675
10676
|
|
|
10676
10677
|
return block;
|
|
10677
10678
|
}
|
|
10678
10679
|
|
|
10679
|
-
// (
|
|
10680
|
+
// (827:34)
|
|
10680
10681
|
function create_if_block_5(ctx) {
|
|
10681
10682
|
let casino_games_category_section;
|
|
10682
10683
|
let showFavoriteGames_action;
|
|
@@ -10696,7 +10697,7 @@
|
|
|
10696
10697
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10697
10698
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10698
10699
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10699
|
-
add_location(casino_games_category_section, file,
|
|
10700
|
+
add_location(casino_games_category_section, file, 827, 10, 33607);
|
|
10700
10701
|
},
|
|
10701
10702
|
m: function mount(target, anchor) {
|
|
10702
10703
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -10752,14 +10753,14 @@
|
|
|
10752
10753
|
block,
|
|
10753
10754
|
id: create_if_block_5.name,
|
|
10754
10755
|
type: "if",
|
|
10755
|
-
source: "(
|
|
10756
|
+
source: "(827:34) ",
|
|
10756
10757
|
ctx
|
|
10757
10758
|
});
|
|
10758
10759
|
|
|
10759
10760
|
return block;
|
|
10760
10761
|
}
|
|
10761
10762
|
|
|
10762
|
-
// (
|
|
10763
|
+
// (808:8) {#if lobbyScreen}
|
|
10763
10764
|
function create_if_block_4(ctx) {
|
|
10764
10765
|
let each_1_anchor;
|
|
10765
10766
|
let each_value = /*shownCategories*/ ctx[25];
|
|
@@ -10820,14 +10821,14 @@
|
|
|
10820
10821
|
block,
|
|
10821
10822
|
id: create_if_block_4.name,
|
|
10822
10823
|
type: "if",
|
|
10823
|
-
source: "(
|
|
10824
|
+
source: "(808:8) {#if lobbyScreen}",
|
|
10824
10825
|
ctx
|
|
10825
10826
|
});
|
|
10826
10827
|
|
|
10827
10828
|
return block;
|
|
10828
10829
|
}
|
|
10829
10830
|
|
|
10830
|
-
// (
|
|
10831
|
+
// (793:6) {#if searched}
|
|
10831
10832
|
function create_if_block_3(ctx) {
|
|
10832
10833
|
let casino_games_category_section;
|
|
10833
10834
|
let sendSearchData_action;
|
|
@@ -10847,7 +10848,7 @@
|
|
|
10847
10848
|
set_custom_element_data(casino_games_category_section, "categoryindex", "0");
|
|
10848
10849
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10849
10850
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10850
|
-
add_location(casino_games_category_section, file,
|
|
10851
|
+
add_location(casino_games_category_section, file, 793, 8, 32477);
|
|
10851
10852
|
},
|
|
10852
10853
|
m: function mount(target, anchor) {
|
|
10853
10854
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -10903,14 +10904,14 @@
|
|
|
10903
10904
|
block,
|
|
10904
10905
|
id: create_if_block_3.name,
|
|
10905
10906
|
type: "if",
|
|
10906
|
-
source: "(
|
|
10907
|
+
source: "(793:6) {#if searched}",
|
|
10907
10908
|
ctx
|
|
10908
10909
|
});
|
|
10909
10910
|
|
|
10910
10911
|
return block;
|
|
10911
10912
|
}
|
|
10912
10913
|
|
|
10913
|
-
// (
|
|
10914
|
+
// (790:4) {#if isLoading}
|
|
10914
10915
|
function create_if_block_2(ctx) {
|
|
10915
10916
|
let p;
|
|
10916
10917
|
let t_value = /*$_*/ ctx[32]("casinoPage.loading") + "";
|
|
@@ -10921,7 +10922,7 @@
|
|
|
10921
10922
|
p = element("p");
|
|
10922
10923
|
t = text(t_value);
|
|
10923
10924
|
attr_dev(p, "class", "SearchLoading");
|
|
10924
|
-
add_location(p, file,
|
|
10925
|
+
add_location(p, file, 790, 6, 32380);
|
|
10925
10926
|
},
|
|
10926
10927
|
m: function mount(target, anchor) {
|
|
10927
10928
|
insert_dev(target, p, anchor);
|
|
@@ -10939,14 +10940,14 @@
|
|
|
10939
10940
|
block,
|
|
10940
10941
|
id: create_if_block_2.name,
|
|
10941
10942
|
type: "if",
|
|
10942
|
-
source: "(
|
|
10943
|
+
source: "(790:4) {#if isLoading}",
|
|
10943
10944
|
ctx
|
|
10944
10945
|
});
|
|
10945
10946
|
|
|
10946
10947
|
return block;
|
|
10947
10948
|
}
|
|
10948
10949
|
|
|
10949
|
-
// (
|
|
10950
|
+
// (844:10) {:else}
|
|
10950
10951
|
function create_else_block_1(ctx) {
|
|
10951
10952
|
let casino_games_category_section;
|
|
10952
10953
|
|
|
@@ -10965,7 +10966,7 @@
|
|
|
10965
10966
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10966
10967
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10967
10968
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10968
|
-
add_location(casino_games_category_section, file,
|
|
10969
|
+
add_location(casino_games_category_section, file, 844, 12, 34211);
|
|
10969
10970
|
},
|
|
10970
10971
|
m: function mount(target, anchor) {
|
|
10971
10972
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -11012,14 +11013,14 @@
|
|
|
11012
11013
|
block,
|
|
11013
11014
|
id: create_else_block_1.name,
|
|
11014
11015
|
type: "else",
|
|
11015
|
-
source: "(
|
|
11016
|
+
source: "(844:10) {:else}",
|
|
11016
11017
|
ctx
|
|
11017
11018
|
});
|
|
11018
11019
|
|
|
11019
11020
|
return block;
|
|
11020
11021
|
}
|
|
11021
11022
|
|
|
11022
|
-
// (
|
|
11023
|
+
// (842:10) {#if mostPlayedEmpty}
|
|
11023
11024
|
function create_if_block_7(ctx) {
|
|
11024
11025
|
let p;
|
|
11025
11026
|
|
|
@@ -11028,7 +11029,7 @@
|
|
|
11028
11029
|
p = element("p");
|
|
11029
11030
|
p.textContent = "You have no games played!";
|
|
11030
11031
|
attr_dev(p, "class", "SearchLoading");
|
|
11031
|
-
add_location(p, file,
|
|
11032
|
+
add_location(p, file, 842, 12, 34126);
|
|
11032
11033
|
},
|
|
11033
11034
|
m: function mount(target, anchor) {
|
|
11034
11035
|
insert_dev(target, p, anchor);
|
|
@@ -11043,14 +11044,14 @@
|
|
|
11043
11044
|
block,
|
|
11044
11045
|
id: create_if_block_7.name,
|
|
11045
11046
|
type: "if",
|
|
11046
|
-
source: "(
|
|
11047
|
+
source: "(842:10) {#if mostPlayedEmpty}",
|
|
11047
11048
|
ctx
|
|
11048
11049
|
});
|
|
11049
11050
|
|
|
11050
11051
|
return block;
|
|
11051
11052
|
}
|
|
11052
11053
|
|
|
11053
|
-
// (
|
|
11054
|
+
// (809:10) {#each shownCategories as category, index}
|
|
11054
11055
|
function create_each_block(ctx) {
|
|
11055
11056
|
let casino_games_category_section;
|
|
11056
11057
|
let casino_games_category_section_categoryid_value;
|
|
@@ -11066,25 +11067,25 @@
|
|
|
11066
11067
|
set_custom_element_data(casino_games_category_section, "endpoint", /*endpoint*/ ctx[0]);
|
|
11067
11068
|
set_custom_element_data(casino_games_category_section, "datasource", /*datasource*/ ctx[1]);
|
|
11068
11069
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
11069
|
-
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[
|
|
11070
|
-
set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[
|
|
11070
|
+
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[109]);
|
|
11071
|
+
set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[111]);
|
|
11071
11072
|
set_custom_element_data(casino_games_category_section, "categorygames", "9");
|
|
11072
11073
|
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
11073
11074
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
11074
11075
|
|
|
11075
|
-
set_style(casino_games_category_section, "background-color", /*index*/ ctx[
|
|
11076
|
+
set_style(casino_games_category_section, "background-color", /*index*/ ctx[111] % 2 !== 0
|
|
11076
11077
|
? /*categorybackground*/ ctx[7]
|
|
11077
11078
|
: "transparent");
|
|
11078
11079
|
|
|
11079
11080
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
11080
11081
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
11081
|
-
add_location(casino_games_category_section, file,
|
|
11082
|
+
add_location(casino_games_category_section, file, 809, 12, 32952);
|
|
11082
11083
|
},
|
|
11083
11084
|
m: function mount(target, anchor) {
|
|
11084
11085
|
insert_dev(target, casino_games_category_section, anchor);
|
|
11085
11086
|
|
|
11086
11087
|
if (!mounted) {
|
|
11087
|
-
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[42].call(null, casino_games_category_section, /*category*/ ctx[
|
|
11088
|
+
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[42].call(null, casino_games_category_section, /*category*/ ctx[109]));
|
|
11088
11089
|
mounted = true;
|
|
11089
11090
|
}
|
|
11090
11091
|
},
|
|
@@ -11111,7 +11112,7 @@
|
|
|
11111
11112
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
11112
11113
|
}
|
|
11113
11114
|
|
|
11114
|
-
if (dirty[0] & /*shownCategories*/ 33554432 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[
|
|
11115
|
+
if (dirty[0] & /*shownCategories*/ 33554432 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[109])) {
|
|
11115
11116
|
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value);
|
|
11116
11117
|
}
|
|
11117
11118
|
|
|
@@ -11120,7 +11121,7 @@
|
|
|
11120
11121
|
}
|
|
11121
11122
|
|
|
11122
11123
|
if (dirty[0] & /*categorybackground*/ 128) {
|
|
11123
|
-
set_style(casino_games_category_section, "background-color", /*index*/ ctx[
|
|
11124
|
+
set_style(casino_games_category_section, "background-color", /*index*/ ctx[111] % 2 !== 0
|
|
11124
11125
|
? /*categorybackground*/ ctx[7]
|
|
11125
11126
|
: "transparent");
|
|
11126
11127
|
}
|
|
@@ -11133,7 +11134,7 @@
|
|
|
11133
11134
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
11134
11135
|
}
|
|
11135
11136
|
|
|
11136
|
-
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 33554432) sendCategoryData_action.update.call(null, /*category*/ ctx[
|
|
11137
|
+
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 33554432) sendCategoryData_action.update.call(null, /*category*/ ctx[109]);
|
|
11137
11138
|
},
|
|
11138
11139
|
d: function destroy(detaching) {
|
|
11139
11140
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -11146,14 +11147,14 @@
|
|
|
11146
11147
|
block,
|
|
11147
11148
|
id: create_each_block.name,
|
|
11148
11149
|
type: "each",
|
|
11149
|
-
source: "(
|
|
11150
|
+
source: "(809:10) {#each shownCategories as category, index}",
|
|
11150
11151
|
ctx
|
|
11151
11152
|
});
|
|
11152
11153
|
|
|
11153
11154
|
return block;
|
|
11154
11155
|
}
|
|
11155
11156
|
|
|
11156
|
-
// (
|
|
11157
|
+
// (879:4) {#if isLoggedIn}
|
|
11157
11158
|
function create_if_block_1(ctx) {
|
|
11158
11159
|
let div1;
|
|
11159
11160
|
let div0;
|
|
@@ -11186,7 +11187,7 @@
|
|
|
11186
11187
|
attr_dev(path, "stroke-linejoin", "round");
|
|
11187
11188
|
attr_dev(path, "stroke-width", "2");
|
|
11188
11189
|
attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
|
|
11189
|
-
add_location(path, file,
|
|
11190
|
+
add_location(path, file, 881, 140, 35493);
|
|
11190
11191
|
attr_dev(svg, "class", "w-1 h-1");
|
|
11191
11192
|
attr_dev(svg, "fill", "none");
|
|
11192
11193
|
attr_dev(svg, "stroke", "white");
|
|
@@ -11194,18 +11195,18 @@
|
|
|
11194
11195
|
attr_dev(svg, "height", "34px");
|
|
11195
11196
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11196
11197
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11197
|
-
add_location(svg, file,
|
|
11198
|
-
add_location(p, file,
|
|
11198
|
+
add_location(svg, file, 881, 10, 35363);
|
|
11199
|
+
add_location(p, file, 882, 10, 35635);
|
|
11199
11200
|
attr_dev(div0, "class", "PanicText");
|
|
11200
|
-
add_location(div0, file,
|
|
11201
|
+
add_location(div0, file, 880, 8, 35329);
|
|
11201
11202
|
attr_dev(button, "class", "PanicButton");
|
|
11202
|
-
add_location(button, file,
|
|
11203
|
+
add_location(button, file, 884, 8, 35690);
|
|
11203
11204
|
|
|
11204
11205
|
attr_dev(div1, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
|
|
11205
11206
|
? "PanicSectionMobile"
|
|
11206
11207
|
: ""));
|
|
11207
11208
|
|
|
11208
|
-
add_location(div1, file,
|
|
11209
|
+
add_location(div1, file, 879, 6, 35232);
|
|
11209
11210
|
},
|
|
11210
11211
|
m: function mount(target, anchor) {
|
|
11211
11212
|
insert_dev(target, div1, anchor);
|
|
@@ -11220,7 +11221,7 @@
|
|
|
11220
11221
|
append_dev(button, t3);
|
|
11221
11222
|
|
|
11222
11223
|
if (!mounted) {
|
|
11223
|
-
dispose = listen_dev(button, "click", /*click_handler_7*/ ctx[
|
|
11224
|
+
dispose = listen_dev(button, "click", /*click_handler_7*/ ctx[63], false, false, false);
|
|
11224
11225
|
mounted = true;
|
|
11225
11226
|
}
|
|
11226
11227
|
},
|
|
@@ -11239,7 +11240,7 @@
|
|
|
11239
11240
|
block,
|
|
11240
11241
|
id: create_if_block_1.name,
|
|
11241
11242
|
type: "if",
|
|
11242
|
-
source: "(
|
|
11243
|
+
source: "(879:4) {#if isLoggedIn}",
|
|
11243
11244
|
ctx
|
|
11244
11245
|
});
|
|
11245
11246
|
|
|
@@ -11323,12 +11324,14 @@
|
|
|
11323
11324
|
let { alternativesearch = "false" } = $$props;
|
|
11324
11325
|
let { favorites = "" } = $$props;
|
|
11325
11326
|
let { mostplayed = "" } = $$props;
|
|
11327
|
+
let { lobbyid = "casinodefault" } = $$props; // identifier for recent searched
|
|
11326
11328
|
|
|
11327
11329
|
// CasinoPage loading state
|
|
11328
11330
|
let isLoading = false;
|
|
11329
11331
|
|
|
11330
11332
|
let hasErrors = false;
|
|
11331
11333
|
let isLoggedIn = false;
|
|
11334
|
+
let error = "";
|
|
11332
11335
|
let playerID;
|
|
11333
11336
|
let sessionID;
|
|
11334
11337
|
|
|
@@ -11392,13 +11395,6 @@
|
|
|
11392
11395
|
$$invalidate(26, activeCategory = "");
|
|
11393
11396
|
$$invalidate(21, mostPlayedScreen = false);
|
|
11394
11397
|
scrollTop = true;
|
|
11395
|
-
// needs to be executed after the lobby has been repopulated
|
|
11396
|
-
setTimeout(
|
|
11397
|
-
() => {
|
|
11398
|
-
window.postMessage({ type: "WidgetTopReference", scrollTop }, window.location.href);
|
|
11399
|
-
},
|
|
11400
|
-
1
|
|
11401
|
-
);
|
|
11402
11398
|
break;
|
|
11403
11399
|
case "FAVORITES":
|
|
11404
11400
|
$$invalidate(20, lobbyScreen = false);
|
|
@@ -11419,12 +11415,11 @@
|
|
|
11419
11415
|
|
|
11420
11416
|
if (res.count > 0) {
|
|
11421
11417
|
let promises = [];
|
|
11422
|
-
res.items = [{ gameId: "15786" }, { gameId: "15788" }];
|
|
11423
11418
|
|
|
11424
11419
|
res.items.forEach(item => {
|
|
11425
11420
|
let url = new URL(`${endpoint}/casino/games/${item.gameId}`);
|
|
11426
11421
|
url.searchParams.append("datasource", datasource);
|
|
11427
|
-
promises.push(fetch(url).then(res => res.json()));
|
|
11422
|
+
promises.push(fetch(url.href).then(res => res.json()));
|
|
11428
11423
|
});
|
|
11429
11424
|
|
|
11430
11425
|
Promise.all(promises).then(values => {
|
|
@@ -11550,7 +11545,7 @@
|
|
|
11550
11545
|
}
|
|
11551
11546
|
|
|
11552
11547
|
return new Promise((resolve, reject) => {
|
|
11553
|
-
fetch(url).then(res => res.json()).then(data => {
|
|
11548
|
+
fetch(url.href).then(res => res.json()).then(data => {
|
|
11554
11549
|
resolve(data);
|
|
11555
11550
|
|
|
11556
11551
|
window.postMessage(
|
|
@@ -11773,7 +11768,7 @@
|
|
|
11773
11768
|
searchFocus = true;
|
|
11774
11769
|
|
|
11775
11770
|
if (searchValue.length < 2) {
|
|
11776
|
-
let recentSearchedGames = getCookieValue(
|
|
11771
|
+
let recentSearchedGames = getCookieValue(`searchedGamesWds_${lobbyid}`);
|
|
11777
11772
|
let recentSearchedGamesArray = [];
|
|
11778
11773
|
|
|
11779
11774
|
if (recentSearchedGames) {
|
|
@@ -11787,16 +11782,24 @@
|
|
|
11787
11782
|
|
|
11788
11783
|
let promises = [];
|
|
11789
11784
|
let index = 0;
|
|
11785
|
+
let length = recentSearchedGamesArray.length;
|
|
11786
|
+
|
|
11787
|
+
if (length > 0) {
|
|
11788
|
+
for (index = 0; index < length; index++) {
|
|
11789
|
+
let url = new URL(`${endpoint}/casino/games/${recentSearchedGamesArray[index]}`);
|
|
11790
|
+
url.searchParams.append("language", lang);
|
|
11791
|
+
url.searchParams.append("datasource", datasource);
|
|
11792
|
+
url.searchParams.append("platform", getDevice(userAgent));
|
|
11793
|
+
promises.push(getGame(url));
|
|
11794
|
+
}
|
|
11790
11795
|
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11796
|
+
Promise.all(promises).then(res => {
|
|
11797
|
+
$$invalidate(24, searchArray = res);
|
|
11798
|
+
sendRecentSearchData({}, searchArray);
|
|
11799
|
+
});
|
|
11800
|
+
} else {
|
|
11801
|
+
sendRecentSearchData({}, {});
|
|
11794
11802
|
}
|
|
11795
|
-
|
|
11796
|
-
Promise.all(promises).then(res => {
|
|
11797
|
-
$$invalidate(24, searchArray = res);
|
|
11798
|
-
sendRecentSearchData({}, searchArray);
|
|
11799
|
-
});
|
|
11800
11803
|
}
|
|
11801
11804
|
}
|
|
11802
11805
|
};
|
|
@@ -11826,7 +11829,7 @@
|
|
|
11826
11829
|
};
|
|
11827
11830
|
|
|
11828
11831
|
const addSearchedItem = gameID => {
|
|
11829
|
-
searchedValues = getCookieValue(
|
|
11832
|
+
searchedValues = getCookieValue(`searchedGamesWds_${lobbyid}`);
|
|
11830
11833
|
|
|
11831
11834
|
if (searchedValues) {
|
|
11832
11835
|
searchedValues = searchedValues.split(",");
|
|
@@ -11838,16 +11841,16 @@
|
|
|
11838
11841
|
let value;
|
|
11839
11842
|
searchedValues.push(gameID);
|
|
11840
11843
|
value = searchedValues.join(",");
|
|
11841
|
-
document.cookie =
|
|
11844
|
+
document.cookie = `searchedGamesWds_${lobbyid}=` + value;
|
|
11842
11845
|
}
|
|
11843
11846
|
};
|
|
11844
11847
|
|
|
11845
11848
|
// @TODO let's do some small changes around here in order to have this search functionality pretty written, 'cuz right now is kinda shitty
|
|
11846
11849
|
const searchValueChanged = () => {
|
|
11847
11850
|
if (searchValue.length >= 2) {
|
|
11848
|
-
$$invalidate(
|
|
11851
|
+
$$invalidate(49, searchBarCleared = true);
|
|
11849
11852
|
} else {
|
|
11850
|
-
$$invalidate(
|
|
11853
|
+
$$invalidate(49, searchBarCleared = false);
|
|
11851
11854
|
}
|
|
11852
11855
|
};
|
|
11853
11856
|
|
|
@@ -11870,7 +11873,7 @@
|
|
|
11870
11873
|
};
|
|
11871
11874
|
|
|
11872
11875
|
const clearSearchbar = () => {
|
|
11873
|
-
$$invalidate(
|
|
11876
|
+
$$invalidate(49, searchBarCleared = true);
|
|
11874
11877
|
$$invalidate(10, searchValue = "");
|
|
11875
11878
|
$$invalidate(24, searchArray = []);
|
|
11876
11879
|
$$invalidate(17, recentSearches = false);
|
|
@@ -12078,7 +12081,8 @@
|
|
|
12078
12081
|
"visiblegames",
|
|
12079
12082
|
"alternativesearch",
|
|
12080
12083
|
"favorites",
|
|
12081
|
-
"mostplayed"
|
|
12084
|
+
"mostplayed",
|
|
12085
|
+
"lobbyid"
|
|
12082
12086
|
];
|
|
12083
12087
|
|
|
12084
12088
|
Object_1.keys($$props).forEach(key => {
|
|
@@ -12161,6 +12165,7 @@
|
|
|
12161
12165
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
12162
12166
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
12163
12167
|
if ("mostplayed" in $$props) $$invalidate(46, mostplayed = $$props.mostplayed);
|
|
12168
|
+
if ("lobbyid" in $$props) $$invalidate(47, lobbyid = $$props.lobbyid);
|
|
12164
12169
|
};
|
|
12165
12170
|
|
|
12166
12171
|
$$self.$capture_state = () => ({
|
|
@@ -12181,9 +12186,11 @@
|
|
|
12181
12186
|
alternativesearch,
|
|
12182
12187
|
favorites,
|
|
12183
12188
|
mostplayed,
|
|
12189
|
+
lobbyid,
|
|
12184
12190
|
isLoading,
|
|
12185
12191
|
hasErrors,
|
|
12186
12192
|
isLoggedIn,
|
|
12193
|
+
error,
|
|
12187
12194
|
playerID,
|
|
12188
12195
|
sessionID,
|
|
12189
12196
|
favoritesScreen,
|
|
@@ -12277,14 +12284,16 @@
|
|
|
12277
12284
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
12278
12285
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
12279
12286
|
if ("mostplayed" in $$props) $$invalidate(46, mostplayed = $$props.mostplayed);
|
|
12287
|
+
if ("lobbyid" in $$props) $$invalidate(47, lobbyid = $$props.lobbyid);
|
|
12280
12288
|
if ("isLoading" in $$props) $$invalidate(11, isLoading = $$props.isLoading);
|
|
12281
12289
|
if ("hasErrors" in $$props) $$invalidate(12, hasErrors = $$props.hasErrors);
|
|
12282
12290
|
if ("isLoggedIn" in $$props) $$invalidate(13, isLoggedIn = $$props.isLoggedIn);
|
|
12291
|
+
if ("error" in $$props) error = $$props.error;
|
|
12283
12292
|
if ("playerID" in $$props) $$invalidate(14, playerID = $$props.playerID);
|
|
12284
12293
|
if ("sessionID" in $$props) $$invalidate(15, sessionID = $$props.sessionID);
|
|
12285
12294
|
if ("favoritesScreen" in $$props) $$invalidate(16, favoritesScreen = $$props.favoritesScreen);
|
|
12286
12295
|
if ("recentSearches" in $$props) $$invalidate(17, recentSearches = $$props.recentSearches);
|
|
12287
|
-
if ("initialLoaded" in $$props) $$invalidate(
|
|
12296
|
+
if ("initialLoaded" in $$props) $$invalidate(48, initialLoaded = $$props.initialLoaded);
|
|
12288
12297
|
if ("searched" in $$props) $$invalidate(18, searched = $$props.searched);
|
|
12289
12298
|
if ("gameFocus" in $$props) gameFocus = $$props.gameFocus;
|
|
12290
12299
|
if ("lobbyViewAux" in $$props) $$invalidate(19, lobbyViewAux = $$props.lobbyViewAux);
|
|
@@ -12294,7 +12303,7 @@
|
|
|
12294
12303
|
if ("mostPlayedScreen" in $$props) $$invalidate(21, mostPlayedScreen = $$props.mostPlayedScreen);
|
|
12295
12304
|
if ("mostPlayedEmpty" in $$props) $$invalidate(22, mostPlayedEmpty = $$props.mostPlayedEmpty);
|
|
12296
12305
|
if ("adjustingScroll" in $$props) $$invalidate(23, adjustingScroll = $$props.adjustingScroll);
|
|
12297
|
-
if ("searchBarCleared" in $$props) $$invalidate(
|
|
12306
|
+
if ("searchBarCleared" in $$props) $$invalidate(49, searchBarCleared = $$props.searchBarCleared);
|
|
12298
12307
|
if ("gamesArray" in $$props) gamesArray = $$props.gamesArray;
|
|
12299
12308
|
if ("searchArray" in $$props) $$invalidate(24, searchArray = $$props.searchArray);
|
|
12300
12309
|
if ("categories" in $$props) categories = $$props.categories;
|
|
@@ -12335,7 +12344,7 @@
|
|
|
12335
12344
|
searchValue && searchValueChanged();
|
|
12336
12345
|
}
|
|
12337
12346
|
|
|
12338
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 1027 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/
|
|
12347
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 1027 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/ 393216) {
|
|
12339
12348
|
if (searchValue.length >= 2) {
|
|
12340
12349
|
$$invalidate(18, searched = true);
|
|
12341
12350
|
let searchUrl = new URL(`${endpoint}/casino/games`);
|
|
@@ -12357,7 +12366,7 @@
|
|
|
12357
12366
|
}
|
|
12358
12367
|
|
|
12359
12368
|
if (initialLoaded) {
|
|
12360
|
-
$$invalidate(
|
|
12369
|
+
$$invalidate(48, initialLoaded = false);
|
|
12361
12370
|
}
|
|
12362
12371
|
}
|
|
12363
12372
|
}
|
|
@@ -12427,6 +12436,7 @@
|
|
|
12427
12436
|
PanicAction,
|
|
12428
12437
|
visiblegames,
|
|
12429
12438
|
mostplayed,
|
|
12439
|
+
lobbyid,
|
|
12430
12440
|
initialLoaded,
|
|
12431
12441
|
searchBarCleared,
|
|
12432
12442
|
click_handler,
|
|
@@ -12474,7 +12484,8 @@
|
|
|
12474
12484
|
visiblegames: 45,
|
|
12475
12485
|
alternativesearch: 8,
|
|
12476
12486
|
favorites: 9,
|
|
12477
|
-
mostplayed: 46
|
|
12487
|
+
mostplayed: 46,
|
|
12488
|
+
lobbyid: 47
|
|
12478
12489
|
},
|
|
12479
12490
|
[-1, -1, -1, -1]
|
|
12480
12491
|
);
|
|
@@ -12504,7 +12515,8 @@
|
|
|
12504
12515
|
"visiblegames",
|
|
12505
12516
|
"alternativesearch",
|
|
12506
12517
|
"favorites",
|
|
12507
|
-
"mostplayed"
|
|
12518
|
+
"mostplayed",
|
|
12519
|
+
"lobbyid"
|
|
12508
12520
|
];
|
|
12509
12521
|
}
|
|
12510
12522
|
|
|
@@ -12615,6 +12627,15 @@
|
|
|
12615
12627
|
this.$set({ mostplayed });
|
|
12616
12628
|
flush();
|
|
12617
12629
|
}
|
|
12630
|
+
|
|
12631
|
+
get lobbyid() {
|
|
12632
|
+
return this.$$.ctx[47];
|
|
12633
|
+
}
|
|
12634
|
+
|
|
12635
|
+
set lobbyid(lobbyid) {
|
|
12636
|
+
this.$set({ lobbyid });
|
|
12637
|
+
flush();
|
|
12638
|
+
}
|
|
12618
12639
|
}
|
|
12619
12640
|
|
|
12620
12641
|
!customElements.get('casino-page') && customElements.define('casino-page', CasinoPage);
|