@everymatrix/casino-page 0.0.150 → 0.0.152
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 +416 -283
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoPage.svelte +42 -0
- package/src/translations.js +42 -14
package/dist/casino-page.js
CHANGED
|
@@ -4535,98 +4535,126 @@
|
|
|
4535
4535
|
casinoPage: {
|
|
4536
4536
|
search: 'Search',
|
|
4537
4537
|
loading: 'Loading',
|
|
4538
|
-
searchMobile: 'Search'
|
|
4538
|
+
searchMobile: 'Search',
|
|
4539
|
+
break: 'Take 1 day break from playing',
|
|
4540
|
+
breakButton: '24-hour Cool Off',
|
|
4539
4541
|
}
|
|
4540
4542
|
},
|
|
4541
4543
|
de: {
|
|
4542
4544
|
casinoPage: {
|
|
4543
4545
|
search: 'Suche',
|
|
4544
4546
|
loading: 'Loading',
|
|
4545
|
-
searchMobile: 'Suche'
|
|
4547
|
+
searchMobile: 'Suche',
|
|
4548
|
+
break: 'Take 1 day break from playing',
|
|
4549
|
+
breakButton: '24-hour Cool Off',
|
|
4546
4550
|
}
|
|
4547
4551
|
},
|
|
4548
4552
|
it: {
|
|
4549
4553
|
casinoPage: {
|
|
4550
4554
|
search: 'Cerca',
|
|
4551
4555
|
loading: 'Loading',
|
|
4552
|
-
searchMobile: 'Cerca'
|
|
4556
|
+
searchMobile: 'Cerca',
|
|
4557
|
+
break: 'Take 1 day break from playing',
|
|
4558
|
+
breakButton: '24-hour Cool Off',
|
|
4553
4559
|
}
|
|
4554
4560
|
},
|
|
4555
4561
|
fr: {
|
|
4556
4562
|
casinoPage: {
|
|
4557
4563
|
search: 'Rechercher des jeux ...',
|
|
4558
4564
|
loading: 'Chargement ...',
|
|
4559
|
-
searchMobile: 'Rechercher'
|
|
4565
|
+
searchMobile: 'Rechercher',
|
|
4566
|
+
break: 'Take 1 day break from playing',
|
|
4567
|
+
breakButton: '24-hour Cool Off',
|
|
4560
4568
|
}
|
|
4561
4569
|
},
|
|
4562
4570
|
es: {
|
|
4563
4571
|
casinoPage: {
|
|
4564
4572
|
search: 'Buscar juegos ...',
|
|
4565
4573
|
loading: 'Cargando ...',
|
|
4566
|
-
searchMobile: 'Buscar'
|
|
4574
|
+
searchMobile: 'Buscar',
|
|
4575
|
+
break: 'Take 1 day break from playing',
|
|
4576
|
+
breakButton: '24-hour Cool Off',
|
|
4567
4577
|
}
|
|
4568
4578
|
},
|
|
4569
4579
|
tr: {
|
|
4570
4580
|
casinoPage: {
|
|
4571
4581
|
search: 'Oyun ara ...',
|
|
4572
4582
|
loading: 'Yükleniyor ...',
|
|
4573
|
-
searchMobile: 'Arama'
|
|
4583
|
+
searchMobile: 'Arama',
|
|
4584
|
+
break: 'Take 1 day break from playing',
|
|
4585
|
+
breakButton: '24-hour Cool Off',
|
|
4574
4586
|
}
|
|
4575
4587
|
},
|
|
4576
4588
|
ru: {
|
|
4577
4589
|
casinoPage: {
|
|
4578
4590
|
search: 'Искать игры ...',
|
|
4579
4591
|
loading: 'Загрузка ...',
|
|
4580
|
-
searchMobile: 'Поиск'
|
|
4592
|
+
searchMobile: 'Поиск',
|
|
4593
|
+
break: 'Take 1 day break from playing',
|
|
4594
|
+
breakButton: '24-hour Cool Off',
|
|
4581
4595
|
}
|
|
4582
4596
|
},
|
|
4583
4597
|
ro: {
|
|
4584
4598
|
casinoPage: {
|
|
4585
4599
|
search: 'Cautare jocuri...',
|
|
4586
4600
|
loading: 'Se incarca ...',
|
|
4587
|
-
searchMobile: 'Cauta'
|
|
4601
|
+
searchMobile: 'Cauta',
|
|
4602
|
+
break: 'Take 1 day break from playing',
|
|
4603
|
+
breakButton: '24-hour Cool Off',
|
|
4588
4604
|
}
|
|
4589
4605
|
},
|
|
4590
4606
|
hr: {
|
|
4591
4607
|
casinoPage: {
|
|
4592
4608
|
search: 'Pretraži',
|
|
4593
4609
|
loading: 'Učitavanje',
|
|
4594
|
-
searchMobile: 'Pretraži'
|
|
4610
|
+
searchMobile: 'Pretraži',
|
|
4611
|
+
break: 'Take 1 day break from playing',
|
|
4612
|
+
breakButton: '24-hour Cool Off',
|
|
4595
4613
|
}
|
|
4596
4614
|
},
|
|
4597
4615
|
hu: {
|
|
4598
4616
|
casinoPage: {
|
|
4599
4617
|
search: 'Keresés',
|
|
4600
4618
|
loading: 'betöltés',
|
|
4601
|
-
searchMobile: 'Keresés'
|
|
4619
|
+
searchMobile: 'Keresés',
|
|
4620
|
+
break: 'Take 1 day break from playing',
|
|
4621
|
+
breakButton: '24-hour Cool Off',
|
|
4602
4622
|
}
|
|
4603
4623
|
},
|
|
4604
4624
|
pl: {
|
|
4605
4625
|
casinoPage: {
|
|
4606
4626
|
search: 'Szukaj',
|
|
4607
4627
|
loading: 'Ładowanie',
|
|
4608
|
-
searchMobile: 'Szukaj'
|
|
4628
|
+
searchMobile: 'Szukaj',
|
|
4629
|
+
break: 'Take 1 day break from playing',
|
|
4630
|
+
breakButton: '24-hour Cool Off',
|
|
4609
4631
|
}
|
|
4610
4632
|
},
|
|
4611
4633
|
pt: {
|
|
4612
4634
|
casinoPage: {
|
|
4613
4635
|
search: 'Procurar',
|
|
4614
4636
|
loading: 'A carregar',
|
|
4615
|
-
searchMobile: 'Procurar'
|
|
4637
|
+
searchMobile: 'Procurar',
|
|
4638
|
+
break: 'Take 1 day break from playing',
|
|
4639
|
+
breakButton: '24-hour Cool Off',
|
|
4616
4640
|
}
|
|
4617
4641
|
},
|
|
4618
4642
|
sl: {
|
|
4619
4643
|
casinoPage: {
|
|
4620
4644
|
search: 'Iskanje',
|
|
4621
4645
|
loading: 'Loading',
|
|
4622
|
-
searchMobile: 'Iskanje'
|
|
4646
|
+
searchMobile: 'Iskanje',
|
|
4647
|
+
break: 'Take 1 day break from playing',
|
|
4648
|
+
breakButton: '24-hour Cool Off',
|
|
4623
4649
|
}
|
|
4624
4650
|
},
|
|
4625
4651
|
sr: {
|
|
4626
4652
|
casinoPage: {
|
|
4627
4653
|
search: 'Pretraži',
|
|
4628
4654
|
loading: 'Loading',
|
|
4629
|
-
searchMobile: 'Pretraži'
|
|
4655
|
+
searchMobile: 'Pretraži',
|
|
4656
|
+
break: 'Take 1 day break from playing',
|
|
4657
|
+
breakButton: '24-hour Cool Off',
|
|
4630
4658
|
}
|
|
4631
4659
|
}
|
|
4632
4660
|
};
|
|
@@ -9075,16 +9103,17 @@
|
|
|
9075
9103
|
// (645:0) {:else}
|
|
9076
9104
|
function create_else_block(ctx) {
|
|
9077
9105
|
let section;
|
|
9078
|
-
let show_if_1 = getDevice(/*userAgent*/ ctx[
|
|
9106
|
+
let show_if_1 = getDevice(/*userAgent*/ ctx[34]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[29];
|
|
9079
9107
|
let t0;
|
|
9080
|
-
let show_if = !/*favoritesScreen*/ ctx[
|
|
9108
|
+
let show_if = !/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && /*numberOfFilters*/ ctx[30] && getDevice(/*userAgent*/ ctx[34]) !== "PC";
|
|
9081
9109
|
let t1;
|
|
9082
9110
|
let t2;
|
|
9083
|
-
let
|
|
9084
|
-
let
|
|
9111
|
+
let t3;
|
|
9112
|
+
let if_block0 = show_if_1 && create_if_block_23(ctx);
|
|
9113
|
+
let if_block1 = show_if && create_if_block_22(ctx);
|
|
9085
9114
|
|
|
9086
9115
|
function select_block_type_1(ctx, dirty) {
|
|
9087
|
-
if (/*alternativesearch*/ ctx[8] === "false") return
|
|
9116
|
+
if (/*alternativesearch*/ ctx[8] === "false") return create_if_block_9;
|
|
9088
9117
|
return create_else_block_2;
|
|
9089
9118
|
}
|
|
9090
9119
|
|
|
@@ -9092,16 +9121,17 @@
|
|
|
9092
9121
|
let if_block2 = current_block_type(ctx);
|
|
9093
9122
|
|
|
9094
9123
|
function select_block_type_2(ctx, dirty) {
|
|
9095
|
-
if (/*isLoading*/ ctx[11]) return
|
|
9096
|
-
if (/*searched*/ ctx[
|
|
9097
|
-
if (/*lobbyScreen*/ ctx[
|
|
9098
|
-
if (/*favoritesScreen*/ ctx[
|
|
9099
|
-
if (/*mostPlayedScreen*/ ctx[
|
|
9100
|
-
if (!/*recentSearches*/ ctx[
|
|
9124
|
+
if (/*isLoading*/ ctx[11]) return create_if_block_2;
|
|
9125
|
+
if (/*searched*/ ctx[18]) return create_if_block_3;
|
|
9126
|
+
if (/*lobbyScreen*/ ctx[20]) return create_if_block_4;
|
|
9127
|
+
if (/*favoritesScreen*/ ctx[16]) return create_if_block_5;
|
|
9128
|
+
if (/*mostPlayedScreen*/ ctx[21]) return create_if_block_6;
|
|
9129
|
+
if (!/*recentSearches*/ ctx[17]) return create_if_block_8;
|
|
9101
9130
|
}
|
|
9102
9131
|
|
|
9103
9132
|
let current_block_type_1 = select_block_type_2(ctx);
|
|
9104
9133
|
let if_block3 = current_block_type_1 && current_block_type_1(ctx);
|
|
9134
|
+
let if_block4 = /*isLoggedIn*/ ctx[13] && create_if_block_1(ctx);
|
|
9105
9135
|
|
|
9106
9136
|
const block = {
|
|
9107
9137
|
c: function create() {
|
|
@@ -9113,6 +9143,8 @@
|
|
|
9113
9143
|
if_block2.c();
|
|
9114
9144
|
t2 = space();
|
|
9115
9145
|
if (if_block3) if_block3.c();
|
|
9146
|
+
t3 = space();
|
|
9147
|
+
if (if_block4) if_block4.c();
|
|
9116
9148
|
attr_dev(section, "class", "CategoriesLobby");
|
|
9117
9149
|
add_location(section, file, 645, 2, 22198);
|
|
9118
9150
|
},
|
|
@@ -9125,14 +9157,16 @@
|
|
|
9125
9157
|
if_block2.m(section, null);
|
|
9126
9158
|
append_dev(section, t2);
|
|
9127
9159
|
if (if_block3) if_block3.m(section, null);
|
|
9128
|
-
|
|
9160
|
+
append_dev(section, t3);
|
|
9161
|
+
if (if_block4) if_block4.m(section, null);
|
|
9162
|
+
/*section_binding*/ ctx[61](section);
|
|
9129
9163
|
},
|
|
9130
9164
|
p: function update(ctx, dirty) {
|
|
9131
|
-
if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/
|
|
9165
|
+
if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/ 536871168) show_if_1 = getDevice(/*userAgent*/ ctx[34]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[29];
|
|
9132
9166
|
|
|
9133
9167
|
if (show_if_1) {
|
|
9134
9168
|
if (if_block0) ; else {
|
|
9135
|
-
if_block0 =
|
|
9169
|
+
if_block0 = create_if_block_23(ctx);
|
|
9136
9170
|
if_block0.c();
|
|
9137
9171
|
if_block0.m(section, t0);
|
|
9138
9172
|
}
|
|
@@ -9141,13 +9175,13 @@
|
|
|
9141
9175
|
if_block0 = null;
|
|
9142
9176
|
}
|
|
9143
9177
|
|
|
9144
|
-
if (dirty[0] & /*favoritesScreen, lobbyScreen, mobileSearchViewActive, numberOfFilters*/
|
|
9178
|
+
if (dirty[0] & /*favoritesScreen, lobbyScreen, mobileSearchViewActive, numberOfFilters*/ 1611726848) show_if = !/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && /*numberOfFilters*/ ctx[30] && getDevice(/*userAgent*/ ctx[34]) !== "PC";
|
|
9145
9179
|
|
|
9146
9180
|
if (show_if) {
|
|
9147
9181
|
if (if_block1) {
|
|
9148
9182
|
if_block1.p(ctx, dirty);
|
|
9149
9183
|
} else {
|
|
9150
|
-
if_block1 =
|
|
9184
|
+
if_block1 = create_if_block_22(ctx);
|
|
9151
9185
|
if_block1.c();
|
|
9152
9186
|
if_block1.m(section, t1);
|
|
9153
9187
|
}
|
|
@@ -9176,8 +9210,21 @@
|
|
|
9176
9210
|
|
|
9177
9211
|
if (if_block3) {
|
|
9178
9212
|
if_block3.c();
|
|
9179
|
-
if_block3.m(section,
|
|
9213
|
+
if_block3.m(section, t3);
|
|
9214
|
+
}
|
|
9215
|
+
}
|
|
9216
|
+
|
|
9217
|
+
if (/*isLoggedIn*/ ctx[13]) {
|
|
9218
|
+
if (if_block4) {
|
|
9219
|
+
if_block4.p(ctx, dirty);
|
|
9220
|
+
} else {
|
|
9221
|
+
if_block4 = create_if_block_1(ctx);
|
|
9222
|
+
if_block4.c();
|
|
9223
|
+
if_block4.m(section, null);
|
|
9180
9224
|
}
|
|
9225
|
+
} else if (if_block4) {
|
|
9226
|
+
if_block4.d(1);
|
|
9227
|
+
if_block4 = null;
|
|
9181
9228
|
}
|
|
9182
9229
|
},
|
|
9183
9230
|
d: function destroy(detaching) {
|
|
@@ -9190,7 +9237,8 @@
|
|
|
9190
9237
|
if_block3.d();
|
|
9191
9238
|
}
|
|
9192
9239
|
|
|
9193
|
-
|
|
9240
|
+
if (if_block4) if_block4.d();
|
|
9241
|
+
/*section_binding*/ ctx[61](null);
|
|
9194
9242
|
}
|
|
9195
9243
|
};
|
|
9196
9244
|
|
|
@@ -9237,7 +9285,7 @@
|
|
|
9237
9285
|
}
|
|
9238
9286
|
|
|
9239
9287
|
// (647:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}
|
|
9240
|
-
function
|
|
9288
|
+
function create_if_block_23(ctx) {
|
|
9241
9289
|
let div;
|
|
9242
9290
|
|
|
9243
9291
|
const block = {
|
|
@@ -9256,7 +9304,7 @@
|
|
|
9256
9304
|
|
|
9257
9305
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9258
9306
|
block,
|
|
9259
|
-
id:
|
|
9307
|
+
id: create_if_block_23.name,
|
|
9260
9308
|
type: "if",
|
|
9261
9309
|
source: "(647:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}",
|
|
9262
9310
|
ctx
|
|
@@ -9266,7 +9314,7 @@
|
|
|
9266
9314
|
}
|
|
9267
9315
|
|
|
9268
9316
|
// (650:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}
|
|
9269
|
-
function
|
|
9317
|
+
function create_if_block_22(ctx) {
|
|
9270
9318
|
let div1;
|
|
9271
9319
|
let div0;
|
|
9272
9320
|
let t;
|
|
@@ -9313,7 +9361,7 @@
|
|
|
9313
9361
|
append_dev(svg, polygon);
|
|
9314
9362
|
|
|
9315
9363
|
if (!mounted) {
|
|
9316
|
-
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[
|
|
9364
|
+
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[48], false, false, false);
|
|
9317
9365
|
mounted = true;
|
|
9318
9366
|
}
|
|
9319
9367
|
},
|
|
@@ -9327,7 +9375,7 @@
|
|
|
9327
9375
|
|
|
9328
9376
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9329
9377
|
block,
|
|
9330
|
-
id:
|
|
9378
|
+
id: create_if_block_22.name,
|
|
9331
9379
|
type: "if",
|
|
9332
9380
|
source: "(650:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}",
|
|
9333
9381
|
ctx
|
|
@@ -9347,15 +9395,15 @@
|
|
|
9347
9395
|
let input;
|
|
9348
9396
|
let input_placeholder_value;
|
|
9349
9397
|
let t3;
|
|
9350
|
-
let show_if = getDevice(/*userAgent*/ ctx[
|
|
9398
|
+
let show_if = getDevice(/*userAgent*/ ctx[34]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[34]) !== "PC";
|
|
9351
9399
|
let div1_class_value;
|
|
9352
9400
|
let t4;
|
|
9353
9401
|
let div2_class_value;
|
|
9354
9402
|
let mounted;
|
|
9355
9403
|
let dispose;
|
|
9356
|
-
let if_block0 = !/*mobileSearchViewActive*/ ctx[
|
|
9357
|
-
let if_block1 = show_if &&
|
|
9358
|
-
let if_block2 = !/*favoritesScreen*/ ctx[
|
|
9404
|
+
let if_block0 = !/*mobileSearchViewActive*/ ctx[29] && create_if_block_21(ctx);
|
|
9405
|
+
let if_block1 = show_if && create_if_block_20(ctx);
|
|
9406
|
+
let if_block2 = !/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && !/*mostPlayedScreen*/ ctx[21] && !/*recentSearches*/ ctx[17] && !/*searched*/ ctx[18] && !/*lobbyViewAux*/ ctx[19] && create_if_block_16(ctx);
|
|
9359
9407
|
|
|
9360
9408
|
const block = {
|
|
9361
9409
|
c: function create() {
|
|
@@ -9378,32 +9426,32 @@
|
|
|
9378
9426
|
attr_dev(input, "id", "SearchField");
|
|
9379
9427
|
attr_dev(input, "class", "SearchInput");
|
|
9380
9428
|
|
|
9381
|
-
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[
|
|
9382
|
-
? /*$_*/ ctx[
|
|
9383
|
-
: /*$_*/ ctx[
|
|
9429
|
+
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[34]) === "PC"
|
|
9430
|
+
? /*$_*/ ctx[32]("casinoPage.search")
|
|
9431
|
+
: /*$_*/ ctx[32]("casinoPage.searchMobile"));
|
|
9384
9432
|
|
|
9385
9433
|
attr_dev(input, "type", "search");
|
|
9386
9434
|
add_location(input, file, 734, 12, 28887);
|
|
9387
9435
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9388
9436
|
add_location(div0, file, 726, 10, 28404);
|
|
9389
9437
|
|
|
9390
|
-
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[
|
|
9438
|
+
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
|
|
9391
9439
|
? "SearchTruncated"
|
|
9392
9440
|
: ""));
|
|
9393
9441
|
|
|
9394
9442
|
add_location(div1, file, 724, 8, 28189);
|
|
9395
9443
|
|
|
9396
|
-
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[
|
|
9444
|
+
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
|
|
9397
9445
|
? "CategoriesHeaderMobileSection"
|
|
9398
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9446
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[29]
|
|
9399
9447
|
? "SearchMobileActive"
|
|
9400
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9448
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[29] || /*searched*/ ctx[18] && !(getDevice(/*userAgent*/ ctx[34]) === "PC") && !/*closeSearch*/ ctx[33]
|
|
9401
9449
|
? "CategoriesHeaderSearchActive"
|
|
9402
|
-
: "") + (/*adjustingScroll*/ ctx[
|
|
9450
|
+
: "") + (/*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
|
|
9403
9451
|
? "SearchStickTop"
|
|
9404
9452
|
: ""));
|
|
9405
9453
|
|
|
9406
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9454
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
|
|
9407
9455
|
? scrollOffset + "px"
|
|
9408
9456
|
: "");
|
|
9409
9457
|
|
|
@@ -9418,29 +9466,29 @@
|
|
|
9418
9466
|
if (if_block0) if_block0.m(div0, null);
|
|
9419
9467
|
append_dev(div0, t2);
|
|
9420
9468
|
append_dev(div0, input);
|
|
9421
|
-
/*input_binding_1*/ ctx[
|
|
9469
|
+
/*input_binding_1*/ ctx[55](input);
|
|
9422
9470
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9423
9471
|
append_dev(div0, t3);
|
|
9424
9472
|
if (if_block1) if_block1.m(div0, null);
|
|
9425
9473
|
append_dev(div2, t4);
|
|
9426
9474
|
if (if_block2) if_block2.m(div2, null);
|
|
9427
|
-
/*div2_binding_1*/ ctx[
|
|
9475
|
+
/*div2_binding_1*/ ctx[60](div2);
|
|
9428
9476
|
|
|
9429
9477
|
if (!mounted) {
|
|
9430
9478
|
dispose = [
|
|
9431
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
9432
|
-
listen_dev(input, "blur", /*onBlur*/ ctx[
|
|
9433
|
-
listen_dev(input, "input", /*input_input_handler_1*/ ctx[
|
|
9434
|
-
listen_dev(input, "focus", /*searchActivated*/ ctx[
|
|
9479
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[36], false, false, false),
|
|
9480
|
+
listen_dev(input, "blur", /*onBlur*/ ctx[37], false, false, false),
|
|
9481
|
+
listen_dev(input, "input", /*input_input_handler_1*/ ctx[56]),
|
|
9482
|
+
listen_dev(input, "focus", /*searchActivated*/ ctx[38], false, false, false)
|
|
9435
9483
|
];
|
|
9436
9484
|
|
|
9437
9485
|
mounted = true;
|
|
9438
9486
|
}
|
|
9439
9487
|
},
|
|
9440
9488
|
p: function update(ctx, dirty) {
|
|
9441
|
-
if (!/*mobileSearchViewActive*/ ctx[
|
|
9489
|
+
if (!/*mobileSearchViewActive*/ ctx[29]) {
|
|
9442
9490
|
if (if_block0) ; else {
|
|
9443
|
-
if_block0 =
|
|
9491
|
+
if_block0 = create_if_block_21(ctx);
|
|
9444
9492
|
if_block0.c();
|
|
9445
9493
|
if_block0.m(div0, t2);
|
|
9446
9494
|
}
|
|
@@ -9449,9 +9497,9 @@
|
|
|
9449
9497
|
if_block0 = null;
|
|
9450
9498
|
}
|
|
9451
9499
|
|
|
9452
|
-
if (dirty[1] & /*$_*/
|
|
9453
|
-
? /*$_*/ ctx[
|
|
9454
|
-
: /*$_*/ ctx[
|
|
9500
|
+
if (dirty[1] & /*$_*/ 2 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[34]) === "PC"
|
|
9501
|
+
? /*$_*/ ctx[32]("casinoPage.search")
|
|
9502
|
+
: /*$_*/ ctx[32]("casinoPage.searchMobile"))) {
|
|
9455
9503
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
9456
9504
|
}
|
|
9457
9505
|
|
|
@@ -9459,13 +9507,13 @@
|
|
|
9459
9507
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9460
9508
|
}
|
|
9461
9509
|
|
|
9462
|
-
if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[
|
|
9510
|
+
if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[34]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[34]) !== "PC";
|
|
9463
9511
|
|
|
9464
9512
|
if (show_if) {
|
|
9465
9513
|
if (if_block1) {
|
|
9466
9514
|
if_block1.p(ctx, dirty);
|
|
9467
9515
|
} else {
|
|
9468
|
-
if_block1 =
|
|
9516
|
+
if_block1 = create_if_block_20(ctx);
|
|
9469
9517
|
if_block1.c();
|
|
9470
9518
|
if_block1.m(div0, null);
|
|
9471
9519
|
}
|
|
@@ -9474,17 +9522,17 @@
|
|
|
9474
9522
|
if_block1 = null;
|
|
9475
9523
|
}
|
|
9476
9524
|
|
|
9477
|
-
if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/
|
|
9525
|
+
if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 3735552 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
|
|
9478
9526
|
? "SearchTruncated"
|
|
9479
9527
|
: ""))) {
|
|
9480
9528
|
attr_dev(div1, "class", div1_class_value);
|
|
9481
9529
|
}
|
|
9482
9530
|
|
|
9483
|
-
if (!/*favoritesScreen*/ ctx[
|
|
9531
|
+
if (!/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && !/*mostPlayedScreen*/ ctx[21] && !/*recentSearches*/ ctx[17] && !/*searched*/ ctx[18] && !/*lobbyViewAux*/ ctx[19]) {
|
|
9484
9532
|
if (if_block2) {
|
|
9485
9533
|
if_block2.p(ctx, dirty);
|
|
9486
9534
|
} else {
|
|
9487
|
-
if_block2 =
|
|
9535
|
+
if_block2 = create_if_block_16(ctx);
|
|
9488
9536
|
if_block2.c();
|
|
9489
9537
|
if_block2.m(div2, null);
|
|
9490
9538
|
}
|
|
@@ -9493,20 +9541,20 @@
|
|
|
9493
9541
|
if_block2 = null;
|
|
9494
9542
|
}
|
|
9495
9543
|
|
|
9496
|
-
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/
|
|
9544
|
+
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 545521664 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
|
|
9497
9545
|
? "CategoriesHeaderMobileSection"
|
|
9498
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9546
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[29]
|
|
9499
9547
|
? "SearchMobileActive"
|
|
9500
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9548
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[29] || /*searched*/ ctx[18] && !(getDevice(/*userAgent*/ ctx[34]) === "PC") && !/*closeSearch*/ ctx[33]
|
|
9501
9549
|
? "CategoriesHeaderSearchActive"
|
|
9502
|
-
: "") + (/*adjustingScroll*/ ctx[
|
|
9550
|
+
: "") + (/*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
|
|
9503
9551
|
? "SearchStickTop"
|
|
9504
9552
|
: ""))) {
|
|
9505
9553
|
attr_dev(div2, "class", div2_class_value);
|
|
9506
9554
|
}
|
|
9507
9555
|
|
|
9508
|
-
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/
|
|
9509
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9556
|
+
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 545259520) {
|
|
9557
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
|
|
9510
9558
|
? scrollOffset + "px"
|
|
9511
9559
|
: "");
|
|
9512
9560
|
}
|
|
@@ -9514,10 +9562,10 @@
|
|
|
9514
9562
|
d: function destroy(detaching) {
|
|
9515
9563
|
if (detaching) detach_dev(div2);
|
|
9516
9564
|
if (if_block0) if_block0.d();
|
|
9517
|
-
/*input_binding_1*/ ctx[
|
|
9565
|
+
/*input_binding_1*/ ctx[55](null);
|
|
9518
9566
|
if (if_block1) if_block1.d();
|
|
9519
9567
|
if (if_block2) if_block2.d();
|
|
9520
|
-
/*div2_binding_1*/ ctx[
|
|
9568
|
+
/*div2_binding_1*/ ctx[60](null);
|
|
9521
9569
|
mounted = false;
|
|
9522
9570
|
run_all(dispose);
|
|
9523
9571
|
}
|
|
@@ -9535,7 +9583,7 @@
|
|
|
9535
9583
|
}
|
|
9536
9584
|
|
|
9537
9585
|
// (664:4) {#if alternativesearch === 'false'}
|
|
9538
|
-
function
|
|
9586
|
+
function create_if_block_9(ctx) {
|
|
9539
9587
|
let div2;
|
|
9540
9588
|
let div1;
|
|
9541
9589
|
let label;
|
|
@@ -9545,15 +9593,15 @@
|
|
|
9545
9593
|
let input;
|
|
9546
9594
|
let input_placeholder_value;
|
|
9547
9595
|
let t3;
|
|
9548
|
-
let show_if = getDevice(/*userAgent*/ ctx[
|
|
9596
|
+
let show_if = getDevice(/*userAgent*/ ctx[34]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[34]) !== "PC";
|
|
9549
9597
|
let div1_class_value;
|
|
9550
9598
|
let t4;
|
|
9551
9599
|
let div2_class_value;
|
|
9552
9600
|
let mounted;
|
|
9553
9601
|
let dispose;
|
|
9554
|
-
let if_block0 = !/*mobileSearchViewActive*/ ctx[
|
|
9555
|
-
let if_block1 = show_if &&
|
|
9556
|
-
let if_block2 = !/*favoritesScreen*/ ctx[
|
|
9602
|
+
let if_block0 = !/*mobileSearchViewActive*/ ctx[29] && create_if_block_15(ctx);
|
|
9603
|
+
let if_block1 = show_if && create_if_block_14(ctx);
|
|
9604
|
+
let if_block2 = !/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && !/*mostPlayedScreen*/ ctx[21] && !/*recentSearches*/ ctx[17] && !/*searched*/ ctx[18] && !/*lobbyViewAux*/ ctx[19] && create_if_block_10(ctx);
|
|
9557
9605
|
|
|
9558
9606
|
const block = {
|
|
9559
9607
|
c: function create() {
|
|
@@ -9576,32 +9624,32 @@
|
|
|
9576
9624
|
attr_dev(input, "id", "SearchField");
|
|
9577
9625
|
attr_dev(input, "class", "SearchInput");
|
|
9578
9626
|
|
|
9579
|
-
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[
|
|
9580
|
-
? /*$_*/ ctx[
|
|
9581
|
-
: /*$_*/ ctx[
|
|
9627
|
+
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[34]) === "PC"
|
|
9628
|
+
? /*$_*/ ctx[32]("casinoPage.search")
|
|
9629
|
+
: /*$_*/ ctx[32]("casinoPage.searchMobile"));
|
|
9582
9630
|
|
|
9583
9631
|
attr_dev(input, "type", "search");
|
|
9584
9632
|
add_location(input, file, 677, 12, 24544);
|
|
9585
9633
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9586
9634
|
add_location(div0, file, 669, 10, 24061);
|
|
9587
9635
|
|
|
9588
|
-
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[
|
|
9636
|
+
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
|
|
9589
9637
|
? "SearchTruncated"
|
|
9590
9638
|
: ""));
|
|
9591
9639
|
|
|
9592
9640
|
add_location(div1, file, 667, 8, 23846);
|
|
9593
9641
|
|
|
9594
|
-
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[
|
|
9642
|
+
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
|
|
9595
9643
|
? "CategoriesHeaderMobileSection"
|
|
9596
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9644
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[29]
|
|
9597
9645
|
? "SearchMobileActive"
|
|
9598
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9646
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[29] || /*searched*/ ctx[18] && !(getDevice(/*userAgent*/ ctx[34]) === "PC") && !/*closeSearch*/ ctx[33]
|
|
9599
9647
|
? "CategoriesHeaderSearchActive"
|
|
9600
|
-
: "") + " " + (/*adjustingScroll*/ ctx[
|
|
9648
|
+
: "") + " " + (/*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
|
|
9601
9649
|
? "SearchStickTop"
|
|
9602
9650
|
: ""));
|
|
9603
9651
|
|
|
9604
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9652
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
|
|
9605
9653
|
? scrollOffset + "px"
|
|
9606
9654
|
: "");
|
|
9607
9655
|
|
|
@@ -9616,29 +9664,29 @@
|
|
|
9616
9664
|
if (if_block0) if_block0.m(div0, null);
|
|
9617
9665
|
append_dev(div0, t2);
|
|
9618
9666
|
append_dev(div0, input);
|
|
9619
|
-
/*input_binding*/ ctx[
|
|
9667
|
+
/*input_binding*/ ctx[49](input);
|
|
9620
9668
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9621
9669
|
append_dev(div0, t3);
|
|
9622
9670
|
if (if_block1) if_block1.m(div0, null);
|
|
9623
9671
|
append_dev(div2, t4);
|
|
9624
9672
|
if (if_block2) if_block2.m(div2, null);
|
|
9625
|
-
/*div2_binding*/ ctx[
|
|
9673
|
+
/*div2_binding*/ ctx[54](div2);
|
|
9626
9674
|
|
|
9627
9675
|
if (!mounted) {
|
|
9628
9676
|
dispose = [
|
|
9629
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
9630
|
-
listen_dev(input, "blur", /*onBlur*/ ctx[
|
|
9631
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
9632
|
-
listen_dev(input, "focus", /*searchActivated*/ ctx[
|
|
9677
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[36], false, false, false),
|
|
9678
|
+
listen_dev(input, "blur", /*onBlur*/ ctx[37], false, false, false),
|
|
9679
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[50]),
|
|
9680
|
+
listen_dev(input, "focus", /*searchActivated*/ ctx[38], false, false, false)
|
|
9633
9681
|
];
|
|
9634
9682
|
|
|
9635
9683
|
mounted = true;
|
|
9636
9684
|
}
|
|
9637
9685
|
},
|
|
9638
9686
|
p: function update(ctx, dirty) {
|
|
9639
|
-
if (!/*mobileSearchViewActive*/ ctx[
|
|
9687
|
+
if (!/*mobileSearchViewActive*/ ctx[29]) {
|
|
9640
9688
|
if (if_block0) ; else {
|
|
9641
|
-
if_block0 =
|
|
9689
|
+
if_block0 = create_if_block_15(ctx);
|
|
9642
9690
|
if_block0.c();
|
|
9643
9691
|
if_block0.m(div0, t2);
|
|
9644
9692
|
}
|
|
@@ -9647,9 +9695,9 @@
|
|
|
9647
9695
|
if_block0 = null;
|
|
9648
9696
|
}
|
|
9649
9697
|
|
|
9650
|
-
if (dirty[1] & /*$_*/
|
|
9651
|
-
? /*$_*/ ctx[
|
|
9652
|
-
: /*$_*/ ctx[
|
|
9698
|
+
if (dirty[1] & /*$_*/ 2 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[34]) === "PC"
|
|
9699
|
+
? /*$_*/ ctx[32]("casinoPage.search")
|
|
9700
|
+
: /*$_*/ ctx[32]("casinoPage.searchMobile"))) {
|
|
9653
9701
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
9654
9702
|
}
|
|
9655
9703
|
|
|
@@ -9657,13 +9705,13 @@
|
|
|
9657
9705
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9658
9706
|
}
|
|
9659
9707
|
|
|
9660
|
-
if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[
|
|
9708
|
+
if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[34]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[34]) !== "PC";
|
|
9661
9709
|
|
|
9662
9710
|
if (show_if) {
|
|
9663
9711
|
if (if_block1) {
|
|
9664
9712
|
if_block1.p(ctx, dirty);
|
|
9665
9713
|
} else {
|
|
9666
|
-
if_block1 =
|
|
9714
|
+
if_block1 = create_if_block_14(ctx);
|
|
9667
9715
|
if_block1.c();
|
|
9668
9716
|
if_block1.m(div0, null);
|
|
9669
9717
|
}
|
|
@@ -9672,17 +9720,17 @@
|
|
|
9672
9720
|
if_block1 = null;
|
|
9673
9721
|
}
|
|
9674
9722
|
|
|
9675
|
-
if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/
|
|
9723
|
+
if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 3735552 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
|
|
9676
9724
|
? "SearchTruncated"
|
|
9677
9725
|
: ""))) {
|
|
9678
9726
|
attr_dev(div1, "class", div1_class_value);
|
|
9679
9727
|
}
|
|
9680
9728
|
|
|
9681
|
-
if (!/*favoritesScreen*/ ctx[
|
|
9729
|
+
if (!/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && !/*mostPlayedScreen*/ ctx[21] && !/*recentSearches*/ ctx[17] && !/*searched*/ ctx[18] && !/*lobbyViewAux*/ ctx[19]) {
|
|
9682
9730
|
if (if_block2) {
|
|
9683
9731
|
if_block2.p(ctx, dirty);
|
|
9684
9732
|
} else {
|
|
9685
|
-
if_block2 =
|
|
9733
|
+
if_block2 = create_if_block_10(ctx);
|
|
9686
9734
|
if_block2.c();
|
|
9687
9735
|
if_block2.m(div2, null);
|
|
9688
9736
|
}
|
|
@@ -9691,20 +9739,20 @@
|
|
|
9691
9739
|
if_block2 = null;
|
|
9692
9740
|
}
|
|
9693
9741
|
|
|
9694
|
-
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/
|
|
9742
|
+
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 545521664 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
|
|
9695
9743
|
? "CategoriesHeaderMobileSection"
|
|
9696
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9744
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[29]
|
|
9697
9745
|
? "SearchMobileActive"
|
|
9698
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9746
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[29] || /*searched*/ ctx[18] && !(getDevice(/*userAgent*/ ctx[34]) === "PC") && !/*closeSearch*/ ctx[33]
|
|
9699
9747
|
? "CategoriesHeaderSearchActive"
|
|
9700
|
-
: "") + " " + (/*adjustingScroll*/ ctx[
|
|
9748
|
+
: "") + " " + (/*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
|
|
9701
9749
|
? "SearchStickTop"
|
|
9702
9750
|
: ""))) {
|
|
9703
9751
|
attr_dev(div2, "class", div2_class_value);
|
|
9704
9752
|
}
|
|
9705
9753
|
|
|
9706
|
-
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/
|
|
9707
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9754
|
+
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 545259520) {
|
|
9755
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
|
|
9708
9756
|
? scrollOffset + "px"
|
|
9709
9757
|
: "");
|
|
9710
9758
|
}
|
|
@@ -9712,10 +9760,10 @@
|
|
|
9712
9760
|
d: function destroy(detaching) {
|
|
9713
9761
|
if (detaching) detach_dev(div2);
|
|
9714
9762
|
if (if_block0) if_block0.d();
|
|
9715
|
-
/*input_binding*/ ctx[
|
|
9763
|
+
/*input_binding*/ ctx[49](null);
|
|
9716
9764
|
if (if_block1) if_block1.d();
|
|
9717
9765
|
if (if_block2) if_block2.d();
|
|
9718
|
-
/*div2_binding*/ ctx[
|
|
9766
|
+
/*div2_binding*/ ctx[54](null);
|
|
9719
9767
|
mounted = false;
|
|
9720
9768
|
run_all(dispose);
|
|
9721
9769
|
}
|
|
@@ -9723,7 +9771,7 @@
|
|
|
9723
9771
|
|
|
9724
9772
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9725
9773
|
block,
|
|
9726
|
-
id:
|
|
9774
|
+
id: create_if_block_9.name,
|
|
9727
9775
|
type: "if",
|
|
9728
9776
|
source: "(664:4) {#if alternativesearch === 'false'}",
|
|
9729
9777
|
ctx
|
|
@@ -9733,7 +9781,7 @@
|
|
|
9733
9781
|
}
|
|
9734
9782
|
|
|
9735
9783
|
// (728:12) {#if !mobileSearchViewActive}
|
|
9736
|
-
function
|
|
9784
|
+
function create_if_block_21(ctx) {
|
|
9737
9785
|
let div;
|
|
9738
9786
|
let svg;
|
|
9739
9787
|
let path;
|
|
@@ -9767,7 +9815,7 @@
|
|
|
9767
9815
|
|
|
9768
9816
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9769
9817
|
block,
|
|
9770
|
-
id:
|
|
9818
|
+
id: create_if_block_21.name,
|
|
9771
9819
|
type: "if",
|
|
9772
9820
|
source: "(728:12) {#if !mobileSearchViewActive}",
|
|
9773
9821
|
ctx
|
|
@@ -9777,7 +9825,7 @@
|
|
|
9777
9825
|
}
|
|
9778
9826
|
|
|
9779
9827
|
// (736:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
9780
|
-
function
|
|
9828
|
+
function create_if_block_20(ctx) {
|
|
9781
9829
|
let span;
|
|
9782
9830
|
let div2;
|
|
9783
9831
|
let div1;
|
|
@@ -9798,7 +9846,7 @@
|
|
|
9798
9846
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
9799
9847
|
add_location(div2, file, 737, 16, 29445);
|
|
9800
9848
|
|
|
9801
|
-
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[
|
|
9849
|
+
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[34]) === "PC"
|
|
9802
9850
|
? "ClearSearchButton"
|
|
9803
9851
|
: "ClearSearchButtonMobile") + " "));
|
|
9804
9852
|
|
|
@@ -9811,7 +9859,7 @@
|
|
|
9811
9859
|
append_dev(div1, div0);
|
|
9812
9860
|
|
|
9813
9861
|
if (!mounted) {
|
|
9814
|
-
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[
|
|
9862
|
+
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[57], false, false, false);
|
|
9815
9863
|
mounted = true;
|
|
9816
9864
|
}
|
|
9817
9865
|
},
|
|
@@ -9825,7 +9873,7 @@
|
|
|
9825
9873
|
|
|
9826
9874
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9827
9875
|
block,
|
|
9828
|
-
id:
|
|
9876
|
+
id: create_if_block_20.name,
|
|
9829
9877
|
type: "if",
|
|
9830
9878
|
source: "(736:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
9831
9879
|
ctx
|
|
@@ -9835,11 +9883,11 @@
|
|
|
9835
9883
|
}
|
|
9836
9884
|
|
|
9837
9885
|
// (747:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
9838
|
-
function
|
|
9886
|
+
function create_if_block_16(ctx) {
|
|
9839
9887
|
let div;
|
|
9840
9888
|
let t;
|
|
9841
|
-
let if_block0 = /*numberOfFilters*/ ctx[
|
|
9842
|
-
let if_block1 = (!/*searched*/ ctx[
|
|
9889
|
+
let if_block0 = /*numberOfFilters*/ ctx[30] && create_if_block_19(ctx);
|
|
9890
|
+
let if_block1 = (!/*searched*/ ctx[18] || !/*recentSearches*/ ctx[17]) && create_if_block_17(ctx);
|
|
9843
9891
|
|
|
9844
9892
|
const block = {
|
|
9845
9893
|
c: function create() {
|
|
@@ -9857,11 +9905,11 @@
|
|
|
9857
9905
|
if (if_block1) if_block1.m(div, null);
|
|
9858
9906
|
},
|
|
9859
9907
|
p: function update(ctx, dirty) {
|
|
9860
|
-
if (/*numberOfFilters*/ ctx[
|
|
9908
|
+
if (/*numberOfFilters*/ ctx[30]) {
|
|
9861
9909
|
if (if_block0) {
|
|
9862
9910
|
if_block0.p(ctx, dirty);
|
|
9863
9911
|
} else {
|
|
9864
|
-
if_block0 =
|
|
9912
|
+
if_block0 = create_if_block_19(ctx);
|
|
9865
9913
|
if_block0.c();
|
|
9866
9914
|
if_block0.m(div, t);
|
|
9867
9915
|
}
|
|
@@ -9870,11 +9918,11 @@
|
|
|
9870
9918
|
if_block0 = null;
|
|
9871
9919
|
}
|
|
9872
9920
|
|
|
9873
|
-
if (!/*searched*/ ctx[
|
|
9921
|
+
if (!/*searched*/ ctx[18] || !/*recentSearches*/ ctx[17]) {
|
|
9874
9922
|
if (if_block1) {
|
|
9875
9923
|
if_block1.p(ctx, dirty);
|
|
9876
9924
|
} else {
|
|
9877
|
-
if_block1 =
|
|
9925
|
+
if_block1 = create_if_block_17(ctx);
|
|
9878
9926
|
if_block1.c();
|
|
9879
9927
|
if_block1.m(div, null);
|
|
9880
9928
|
}
|
|
@@ -9892,7 +9940,7 @@
|
|
|
9892
9940
|
|
|
9893
9941
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9894
9942
|
block,
|
|
9895
|
-
id:
|
|
9943
|
+
id: create_if_block_16.name,
|
|
9896
9944
|
type: "if",
|
|
9897
9945
|
source: "(747:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
9898
9946
|
ctx
|
|
@@ -9902,7 +9950,7 @@
|
|
|
9902
9950
|
}
|
|
9903
9951
|
|
|
9904
9952
|
// (749:12) {#if numberOfFilters}
|
|
9905
|
-
function
|
|
9953
|
+
function create_if_block_19(ctx) {
|
|
9906
9954
|
let div1;
|
|
9907
9955
|
let div0;
|
|
9908
9956
|
let t;
|
|
@@ -9938,7 +9986,7 @@
|
|
|
9938
9986
|
add_location(span, file, 751, 18, 30121);
|
|
9939
9987
|
attr_dev(div0, "class", "ClearButton");
|
|
9940
9988
|
add_location(div0, file, 750, 16, 30072);
|
|
9941
|
-
attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[
|
|
9989
|
+
attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[30] ? "FiltersActive" : ""));
|
|
9942
9990
|
add_location(div1, file, 749, 14, 29937);
|
|
9943
9991
|
},
|
|
9944
9992
|
m: function mount(target, anchor) {
|
|
@@ -9950,12 +9998,12 @@
|
|
|
9950
9998
|
append_dev(svg, polygon);
|
|
9951
9999
|
|
|
9952
10000
|
if (!mounted) {
|
|
9953
|
-
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[
|
|
10001
|
+
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[58], false, false, false);
|
|
9954
10002
|
mounted = true;
|
|
9955
10003
|
}
|
|
9956
10004
|
},
|
|
9957
10005
|
p: function update(ctx, dirty) {
|
|
9958
|
-
if (dirty[0] & /*numberOfFilters*/
|
|
10006
|
+
if (dirty[0] & /*numberOfFilters*/ 1073741824 && div1_class_value !== (div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[30] ? "FiltersActive" : ""))) {
|
|
9959
10007
|
attr_dev(div1, "class", div1_class_value);
|
|
9960
10008
|
}
|
|
9961
10009
|
},
|
|
@@ -9968,7 +10016,7 @@
|
|
|
9968
10016
|
|
|
9969
10017
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9970
10018
|
block,
|
|
9971
|
-
id:
|
|
10019
|
+
id: create_if_block_19.name,
|
|
9972
10020
|
type: "if",
|
|
9973
10021
|
source: "(749:12) {#if numberOfFilters}",
|
|
9974
10022
|
ctx
|
|
@@ -9978,9 +10026,9 @@
|
|
|
9978
10026
|
}
|
|
9979
10027
|
|
|
9980
10028
|
// (762:12) {#if !searched || !recentSearches}
|
|
9981
|
-
function
|
|
10029
|
+
function create_if_block_17(ctx) {
|
|
9982
10030
|
let if_block_anchor;
|
|
9983
|
-
let if_block = !/*mostPlayedScreen*/ ctx[
|
|
10031
|
+
let if_block = !/*mostPlayedScreen*/ ctx[21] && !/*numberOfFilters*/ ctx[30] && create_if_block_18(ctx);
|
|
9984
10032
|
|
|
9985
10033
|
const block = {
|
|
9986
10034
|
c: function create() {
|
|
@@ -9992,11 +10040,11 @@
|
|
|
9992
10040
|
insert_dev(target, if_block_anchor, anchor);
|
|
9993
10041
|
},
|
|
9994
10042
|
p: function update(ctx, dirty) {
|
|
9995
|
-
if (!/*mostPlayedScreen*/ ctx[
|
|
10043
|
+
if (!/*mostPlayedScreen*/ ctx[21] && !/*numberOfFilters*/ ctx[30]) {
|
|
9996
10044
|
if (if_block) {
|
|
9997
10045
|
if_block.p(ctx, dirty);
|
|
9998
10046
|
} else {
|
|
9999
|
-
if_block =
|
|
10047
|
+
if_block = create_if_block_18(ctx);
|
|
10000
10048
|
if_block.c();
|
|
10001
10049
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10002
10050
|
}
|
|
@@ -10013,7 +10061,7 @@
|
|
|
10013
10061
|
|
|
10014
10062
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10015
10063
|
block,
|
|
10016
|
-
id:
|
|
10064
|
+
id: create_if_block_17.name,
|
|
10017
10065
|
type: "if",
|
|
10018
10066
|
source: "(762:12) {#if !searched || !recentSearches}",
|
|
10019
10067
|
ctx
|
|
@@ -10023,7 +10071,7 @@
|
|
|
10023
10071
|
}
|
|
10024
10072
|
|
|
10025
10073
|
// (763:14) {#if !mostPlayedScreen && !numberOfFilters}
|
|
10026
|
-
function
|
|
10074
|
+
function create_if_block_18(ctx) {
|
|
10027
10075
|
let div3;
|
|
10028
10076
|
let div0;
|
|
10029
10077
|
let t1;
|
|
@@ -10055,7 +10103,7 @@
|
|
|
10055
10103
|
t3 = space();
|
|
10056
10104
|
div1 = element("div");
|
|
10057
10105
|
span = element("span");
|
|
10058
|
-
t4 = text(/*numberOfFilters*/ ctx[
|
|
10106
|
+
t4 = text(/*numberOfFilters*/ ctx[30]);
|
|
10059
10107
|
attr_dev(div0, "class", "FilterButton");
|
|
10060
10108
|
add_location(div0, file, 764, 18, 31000);
|
|
10061
10109
|
add_location(style, file, 766, 109, 31201);
|
|
@@ -10094,12 +10142,12 @@
|
|
|
10094
10142
|
append_dev(span, t4);
|
|
10095
10143
|
|
|
10096
10144
|
if (!mounted) {
|
|
10097
|
-
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[
|
|
10145
|
+
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[59], false, false, false);
|
|
10098
10146
|
mounted = true;
|
|
10099
10147
|
}
|
|
10100
10148
|
},
|
|
10101
10149
|
p: function update(ctx, dirty) {
|
|
10102
|
-
if (dirty[0] & /*numberOfFilters*/
|
|
10150
|
+
if (dirty[0] & /*numberOfFilters*/ 1073741824) set_data_dev(t4, /*numberOfFilters*/ ctx[30]);
|
|
10103
10151
|
},
|
|
10104
10152
|
d: function destroy(detaching) {
|
|
10105
10153
|
if (detaching) detach_dev(div3);
|
|
@@ -10110,7 +10158,7 @@
|
|
|
10110
10158
|
|
|
10111
10159
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10112
10160
|
block,
|
|
10113
|
-
id:
|
|
10161
|
+
id: create_if_block_18.name,
|
|
10114
10162
|
type: "if",
|
|
10115
10163
|
source: "(763:14) {#if !mostPlayedScreen && !numberOfFilters}",
|
|
10116
10164
|
ctx
|
|
@@ -10120,7 +10168,7 @@
|
|
|
10120
10168
|
}
|
|
10121
10169
|
|
|
10122
10170
|
// (671:12) {#if !mobileSearchViewActive}
|
|
10123
|
-
function
|
|
10171
|
+
function create_if_block_15(ctx) {
|
|
10124
10172
|
let div;
|
|
10125
10173
|
let svg;
|
|
10126
10174
|
let path;
|
|
@@ -10154,7 +10202,7 @@
|
|
|
10154
10202
|
|
|
10155
10203
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10156
10204
|
block,
|
|
10157
|
-
id:
|
|
10205
|
+
id: create_if_block_15.name,
|
|
10158
10206
|
type: "if",
|
|
10159
10207
|
source: "(671:12) {#if !mobileSearchViewActive}",
|
|
10160
10208
|
ctx
|
|
@@ -10164,7 +10212,7 @@
|
|
|
10164
10212
|
}
|
|
10165
10213
|
|
|
10166
10214
|
// (679:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
10167
|
-
function
|
|
10215
|
+
function create_if_block_14(ctx) {
|
|
10168
10216
|
let span;
|
|
10169
10217
|
let div2;
|
|
10170
10218
|
let div1;
|
|
@@ -10185,7 +10233,7 @@
|
|
|
10185
10233
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
10186
10234
|
add_location(div2, file, 680, 16, 25102);
|
|
10187
10235
|
|
|
10188
|
-
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[
|
|
10236
|
+
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[34]) === "PC"
|
|
10189
10237
|
? "ClearSearchButton"
|
|
10190
10238
|
: "ClearSearchButtonMobile") + " "));
|
|
10191
10239
|
|
|
@@ -10198,7 +10246,7 @@
|
|
|
10198
10246
|
append_dev(div1, div0);
|
|
10199
10247
|
|
|
10200
10248
|
if (!mounted) {
|
|
10201
|
-
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[
|
|
10249
|
+
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[51], false, false, false);
|
|
10202
10250
|
mounted = true;
|
|
10203
10251
|
}
|
|
10204
10252
|
},
|
|
@@ -10212,7 +10260,7 @@
|
|
|
10212
10260
|
|
|
10213
10261
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10214
10262
|
block,
|
|
10215
|
-
id:
|
|
10263
|
+
id: create_if_block_14.name,
|
|
10216
10264
|
type: "if",
|
|
10217
10265
|
source: "(679:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
10218
10266
|
ctx
|
|
@@ -10222,11 +10270,11 @@
|
|
|
10222
10270
|
}
|
|
10223
10271
|
|
|
10224
10272
|
// (690:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
10225
|
-
function
|
|
10273
|
+
function create_if_block_10(ctx) {
|
|
10226
10274
|
let div;
|
|
10227
10275
|
let t;
|
|
10228
|
-
let if_block0 = /*numberOfFilters*/ ctx[
|
|
10229
|
-
let if_block1 = (!/*searched*/ ctx[
|
|
10276
|
+
let if_block0 = /*numberOfFilters*/ ctx[30] && create_if_block_13(ctx);
|
|
10277
|
+
let if_block1 = (!/*searched*/ ctx[18] || !/*recentSearches*/ ctx[17]) && create_if_block_11(ctx);
|
|
10230
10278
|
|
|
10231
10279
|
const block = {
|
|
10232
10280
|
c: function create() {
|
|
@@ -10244,11 +10292,11 @@
|
|
|
10244
10292
|
if (if_block1) if_block1.m(div, null);
|
|
10245
10293
|
},
|
|
10246
10294
|
p: function update(ctx, dirty) {
|
|
10247
|
-
if (/*numberOfFilters*/ ctx[
|
|
10295
|
+
if (/*numberOfFilters*/ ctx[30]) {
|
|
10248
10296
|
if (if_block0) {
|
|
10249
10297
|
if_block0.p(ctx, dirty);
|
|
10250
10298
|
} else {
|
|
10251
|
-
if_block0 =
|
|
10299
|
+
if_block0 = create_if_block_13(ctx);
|
|
10252
10300
|
if_block0.c();
|
|
10253
10301
|
if_block0.m(div, t);
|
|
10254
10302
|
}
|
|
@@ -10257,11 +10305,11 @@
|
|
|
10257
10305
|
if_block0 = null;
|
|
10258
10306
|
}
|
|
10259
10307
|
|
|
10260
|
-
if (!/*searched*/ ctx[
|
|
10308
|
+
if (!/*searched*/ ctx[18] || !/*recentSearches*/ ctx[17]) {
|
|
10261
10309
|
if (if_block1) {
|
|
10262
10310
|
if_block1.p(ctx, dirty);
|
|
10263
10311
|
} else {
|
|
10264
|
-
if_block1 =
|
|
10312
|
+
if_block1 = create_if_block_11(ctx);
|
|
10265
10313
|
if_block1.c();
|
|
10266
10314
|
if_block1.m(div, null);
|
|
10267
10315
|
}
|
|
@@ -10279,7 +10327,7 @@
|
|
|
10279
10327
|
|
|
10280
10328
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10281
10329
|
block,
|
|
10282
|
-
id:
|
|
10330
|
+
id: create_if_block_10.name,
|
|
10283
10331
|
type: "if",
|
|
10284
10332
|
source: "(690:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
10285
10333
|
ctx
|
|
@@ -10289,7 +10337,7 @@
|
|
|
10289
10337
|
}
|
|
10290
10338
|
|
|
10291
10339
|
// (692:12) {#if numberOfFilters}
|
|
10292
|
-
function
|
|
10340
|
+
function create_if_block_13(ctx) {
|
|
10293
10341
|
let div1;
|
|
10294
10342
|
let div0;
|
|
10295
10343
|
let t;
|
|
@@ -10336,7 +10384,7 @@
|
|
|
10336
10384
|
append_dev(svg, polygon);
|
|
10337
10385
|
|
|
10338
10386
|
if (!mounted) {
|
|
10339
|
-
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[
|
|
10387
|
+
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[52], false, false, false);
|
|
10340
10388
|
mounted = true;
|
|
10341
10389
|
}
|
|
10342
10390
|
},
|
|
@@ -10350,7 +10398,7 @@
|
|
|
10350
10398
|
|
|
10351
10399
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10352
10400
|
block,
|
|
10353
|
-
id:
|
|
10401
|
+
id: create_if_block_13.name,
|
|
10354
10402
|
type: "if",
|
|
10355
10403
|
source: "(692:12) {#if numberOfFilters}",
|
|
10356
10404
|
ctx
|
|
@@ -10360,9 +10408,9 @@
|
|
|
10360
10408
|
}
|
|
10361
10409
|
|
|
10362
10410
|
// (705:12) {#if !searched || !recentSearches}
|
|
10363
|
-
function
|
|
10411
|
+
function create_if_block_11(ctx) {
|
|
10364
10412
|
let if_block_anchor;
|
|
10365
|
-
let if_block = !/*mostPlayedScreen*/ ctx[
|
|
10413
|
+
let if_block = !/*mostPlayedScreen*/ ctx[21] && create_if_block_12(ctx);
|
|
10366
10414
|
|
|
10367
10415
|
const block = {
|
|
10368
10416
|
c: function create() {
|
|
@@ -10374,11 +10422,11 @@
|
|
|
10374
10422
|
insert_dev(target, if_block_anchor, anchor);
|
|
10375
10423
|
},
|
|
10376
10424
|
p: function update(ctx, dirty) {
|
|
10377
|
-
if (!/*mostPlayedScreen*/ ctx[
|
|
10425
|
+
if (!/*mostPlayedScreen*/ ctx[21]) {
|
|
10378
10426
|
if (if_block) {
|
|
10379
10427
|
if_block.p(ctx, dirty);
|
|
10380
10428
|
} else {
|
|
10381
|
-
if_block =
|
|
10429
|
+
if_block = create_if_block_12(ctx);
|
|
10382
10430
|
if_block.c();
|
|
10383
10431
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10384
10432
|
}
|
|
@@ -10395,7 +10443,7 @@
|
|
|
10395
10443
|
|
|
10396
10444
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10397
10445
|
block,
|
|
10398
|
-
id:
|
|
10446
|
+
id: create_if_block_11.name,
|
|
10399
10447
|
type: "if",
|
|
10400
10448
|
source: "(705:12) {#if !searched || !recentSearches}",
|
|
10401
10449
|
ctx
|
|
@@ -10405,7 +10453,7 @@
|
|
|
10405
10453
|
}
|
|
10406
10454
|
|
|
10407
10455
|
// (706:14) {#if !mostPlayedScreen}
|
|
10408
|
-
function
|
|
10456
|
+
function create_if_block_12(ctx) {
|
|
10409
10457
|
let div3;
|
|
10410
10458
|
let div0;
|
|
10411
10459
|
let t1;
|
|
@@ -10437,7 +10485,7 @@
|
|
|
10437
10485
|
t3 = space();
|
|
10438
10486
|
div1 = element("div");
|
|
10439
10487
|
span = element("span");
|
|
10440
|
-
t4 = text(/*numberOfFilters*/ ctx[
|
|
10488
|
+
t4 = text(/*numberOfFilters*/ ctx[30]);
|
|
10441
10489
|
attr_dev(div0, "class", "FilterButton");
|
|
10442
10490
|
add_location(div0, file, 707, 18, 26596);
|
|
10443
10491
|
add_location(style, file, 709, 109, 26797);
|
|
@@ -10476,12 +10524,12 @@
|
|
|
10476
10524
|
append_dev(span, t4);
|
|
10477
10525
|
|
|
10478
10526
|
if (!mounted) {
|
|
10479
|
-
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[
|
|
10527
|
+
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[53], false, false, false);
|
|
10480
10528
|
mounted = true;
|
|
10481
10529
|
}
|
|
10482
10530
|
},
|
|
10483
10531
|
p: function update(ctx, dirty) {
|
|
10484
|
-
if (dirty[0] & /*numberOfFilters*/
|
|
10532
|
+
if (dirty[0] & /*numberOfFilters*/ 1073741824) set_data_dev(t4, /*numberOfFilters*/ ctx[30]);
|
|
10485
10533
|
},
|
|
10486
10534
|
d: function destroy(detaching) {
|
|
10487
10535
|
if (detaching) detach_dev(div3);
|
|
@@ -10492,7 +10540,7 @@
|
|
|
10492
10540
|
|
|
10493
10541
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10494
10542
|
block,
|
|
10495
|
-
id:
|
|
10543
|
+
id: create_if_block_12.name,
|
|
10496
10544
|
type: "if",
|
|
10497
10545
|
source: "(706:14) {#if !mostPlayedScreen}",
|
|
10498
10546
|
ctx
|
|
@@ -10502,7 +10550,7 @@
|
|
|
10502
10550
|
}
|
|
10503
10551
|
|
|
10504
10552
|
// (852:10) {#if !recentSearches}
|
|
10505
|
-
function
|
|
10553
|
+
function create_if_block_8(ctx) {
|
|
10506
10554
|
let casino_games_category_section;
|
|
10507
10555
|
|
|
10508
10556
|
const block = {
|
|
@@ -10514,7 +10562,7 @@
|
|
|
10514
10562
|
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
10515
10563
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10516
10564
|
set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
|
|
10517
|
-
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[
|
|
10565
|
+
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[26]);
|
|
10518
10566
|
set_custom_element_data(casino_games_category_section, "categorygames", "9");
|
|
10519
10567
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10520
10568
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
@@ -10549,8 +10597,8 @@
|
|
|
10549
10597
|
set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
|
|
10550
10598
|
}
|
|
10551
10599
|
|
|
10552
|
-
if (dirty[0] & /*activeCategory*/
|
|
10553
|
-
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[
|
|
10600
|
+
if (dirty[0] & /*activeCategory*/ 67108864) {
|
|
10601
|
+
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[26]);
|
|
10554
10602
|
}
|
|
10555
10603
|
|
|
10556
10604
|
if (dirty[0] & /*clientstyling*/ 32) {
|
|
@@ -10568,7 +10616,7 @@
|
|
|
10568
10616
|
|
|
10569
10617
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10570
10618
|
block,
|
|
10571
|
-
id:
|
|
10619
|
+
id: create_if_block_8.name,
|
|
10572
10620
|
type: "if",
|
|
10573
10621
|
source: "(852:10) {#if !recentSearches}",
|
|
10574
10622
|
ctx
|
|
@@ -10578,11 +10626,11 @@
|
|
|
10578
10626
|
}
|
|
10579
10627
|
|
|
10580
10628
|
// (832:35)
|
|
10581
|
-
function
|
|
10629
|
+
function create_if_block_6(ctx) {
|
|
10582
10630
|
let if_block_anchor;
|
|
10583
10631
|
|
|
10584
10632
|
function select_block_type_3(ctx, dirty) {
|
|
10585
|
-
if (/*mostPlayedEmpty*/ ctx[
|
|
10633
|
+
if (/*mostPlayedEmpty*/ ctx[22]) return create_if_block_7;
|
|
10586
10634
|
return create_else_block_1;
|
|
10587
10635
|
}
|
|
10588
10636
|
|
|
@@ -10619,7 +10667,7 @@
|
|
|
10619
10667
|
|
|
10620
10668
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10621
10669
|
block,
|
|
10622
|
-
id:
|
|
10670
|
+
id: create_if_block_6.name,
|
|
10623
10671
|
type: "if",
|
|
10624
10672
|
source: "(832:35) ",
|
|
10625
10673
|
ctx
|
|
@@ -10629,7 +10677,7 @@
|
|
|
10629
10677
|
}
|
|
10630
10678
|
|
|
10631
10679
|
// (818:34)
|
|
10632
|
-
function
|
|
10680
|
+
function create_if_block_5(ctx) {
|
|
10633
10681
|
let casino_games_category_section;
|
|
10634
10682
|
let showFavoriteGames_action;
|
|
10635
10683
|
let mounted;
|
|
@@ -10654,7 +10702,7 @@
|
|
|
10654
10702
|
insert_dev(target, casino_games_category_section, anchor);
|
|
10655
10703
|
|
|
10656
10704
|
if (!mounted) {
|
|
10657
|
-
dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[
|
|
10705
|
+
dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[35].call(null, casino_games_category_section, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[14]}/favorites/`, /*sessionID*/ ctx[15], /*playerID*/ ctx[14])));
|
|
10658
10706
|
mounted = true;
|
|
10659
10707
|
}
|
|
10660
10708
|
},
|
|
@@ -10691,7 +10739,7 @@
|
|
|
10691
10739
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10692
10740
|
}
|
|
10693
10741
|
|
|
10694
|
-
if (showFavoriteGames_action && is_function(showFavoriteGames_action.update) && dirty[0] & /*endpoint, playerID, sessionID*/
|
|
10742
|
+
if (showFavoriteGames_action && is_function(showFavoriteGames_action.update) && dirty[0] & /*endpoint, playerID, sessionID*/ 49153) showFavoriteGames_action.update.call(null, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[14]}/favorites/`, /*sessionID*/ ctx[15], /*playerID*/ ctx[14]));
|
|
10695
10743
|
},
|
|
10696
10744
|
d: function destroy(detaching) {
|
|
10697
10745
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -10702,7 +10750,7 @@
|
|
|
10702
10750
|
|
|
10703
10751
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10704
10752
|
block,
|
|
10705
|
-
id:
|
|
10753
|
+
id: create_if_block_5.name,
|
|
10706
10754
|
type: "if",
|
|
10707
10755
|
source: "(818:34) ",
|
|
10708
10756
|
ctx
|
|
@@ -10712,9 +10760,9 @@
|
|
|
10712
10760
|
}
|
|
10713
10761
|
|
|
10714
10762
|
// (799:8) {#if lobbyScreen}
|
|
10715
|
-
function
|
|
10763
|
+
function create_if_block_4(ctx) {
|
|
10716
10764
|
let each_1_anchor;
|
|
10717
|
-
let each_value = /*shownCategories*/ ctx[
|
|
10765
|
+
let each_value = /*shownCategories*/ ctx[25];
|
|
10718
10766
|
validate_each_argument(each_value);
|
|
10719
10767
|
let each_blocks = [];
|
|
10720
10768
|
|
|
@@ -10738,8 +10786,8 @@
|
|
|
10738
10786
|
insert_dev(target, each_1_anchor, anchor);
|
|
10739
10787
|
},
|
|
10740
10788
|
p: function update(ctx, dirty) {
|
|
10741
|
-
if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/
|
|
10742
|
-
each_value = /*shownCategories*/ ctx[
|
|
10789
|
+
if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/ 33555199) {
|
|
10790
|
+
each_value = /*shownCategories*/ ctx[25];
|
|
10743
10791
|
validate_each_argument(each_value);
|
|
10744
10792
|
let i;
|
|
10745
10793
|
|
|
@@ -10770,7 +10818,7 @@
|
|
|
10770
10818
|
|
|
10771
10819
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10772
10820
|
block,
|
|
10773
|
-
id:
|
|
10821
|
+
id: create_if_block_4.name,
|
|
10774
10822
|
type: "if",
|
|
10775
10823
|
source: "(799:8) {#if lobbyScreen}",
|
|
10776
10824
|
ctx
|
|
@@ -10780,7 +10828,7 @@
|
|
|
10780
10828
|
}
|
|
10781
10829
|
|
|
10782
10830
|
// (784:6) {#if searched}
|
|
10783
|
-
function
|
|
10831
|
+
function create_if_block_3(ctx) {
|
|
10784
10832
|
let casino_games_category_section;
|
|
10785
10833
|
let sendSearchData_action;
|
|
10786
10834
|
let mounted;
|
|
@@ -10805,7 +10853,7 @@
|
|
|
10805
10853
|
insert_dev(target, casino_games_category_section, anchor);
|
|
10806
10854
|
|
|
10807
10855
|
if (!mounted) {
|
|
10808
|
-
dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[
|
|
10856
|
+
dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[43].call(null, casino_games_category_section, /*searchArray*/ ctx[24]));
|
|
10809
10857
|
mounted = true;
|
|
10810
10858
|
}
|
|
10811
10859
|
},
|
|
@@ -10842,7 +10890,7 @@
|
|
|
10842
10890
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10843
10891
|
}
|
|
10844
10892
|
|
|
10845
|
-
if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/
|
|
10893
|
+
if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/ 16777216) sendSearchData_action.update.call(null, /*searchArray*/ ctx[24]);
|
|
10846
10894
|
},
|
|
10847
10895
|
d: function destroy(detaching) {
|
|
10848
10896
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -10853,7 +10901,7 @@
|
|
|
10853
10901
|
|
|
10854
10902
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10855
10903
|
block,
|
|
10856
|
-
id:
|
|
10904
|
+
id: create_if_block_3.name,
|
|
10857
10905
|
type: "if",
|
|
10858
10906
|
source: "(784:6) {#if searched}",
|
|
10859
10907
|
ctx
|
|
@@ -10863,9 +10911,9 @@
|
|
|
10863
10911
|
}
|
|
10864
10912
|
|
|
10865
10913
|
// (781:4) {#if isLoading}
|
|
10866
|
-
function
|
|
10914
|
+
function create_if_block_2(ctx) {
|
|
10867
10915
|
let p;
|
|
10868
|
-
let t_value = /*$_*/ ctx[
|
|
10916
|
+
let t_value = /*$_*/ ctx[32]("casinoPage.loading") + "";
|
|
10869
10917
|
let t;
|
|
10870
10918
|
|
|
10871
10919
|
const block = {
|
|
@@ -10880,7 +10928,7 @@
|
|
|
10880
10928
|
append_dev(p, t);
|
|
10881
10929
|
},
|
|
10882
10930
|
p: function update(ctx, dirty) {
|
|
10883
|
-
if (dirty[1] & /*$_*/
|
|
10931
|
+
if (dirty[1] & /*$_*/ 2 && t_value !== (t_value = /*$_*/ ctx[32]("casinoPage.loading") + "")) set_data_dev(t, t_value);
|
|
10884
10932
|
},
|
|
10885
10933
|
d: function destroy(detaching) {
|
|
10886
10934
|
if (detaching) detach_dev(p);
|
|
@@ -10889,7 +10937,7 @@
|
|
|
10889
10937
|
|
|
10890
10938
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10891
10939
|
block,
|
|
10892
|
-
id:
|
|
10940
|
+
id: create_if_block_2.name,
|
|
10893
10941
|
type: "if",
|
|
10894
10942
|
source: "(781:4) {#if isLoading}",
|
|
10895
10943
|
ctx
|
|
@@ -10972,7 +11020,7 @@
|
|
|
10972
11020
|
}
|
|
10973
11021
|
|
|
10974
11022
|
// (833:10) {#if mostPlayedEmpty}
|
|
10975
|
-
function
|
|
11023
|
+
function create_if_block_7(ctx) {
|
|
10976
11024
|
let p;
|
|
10977
11025
|
|
|
10978
11026
|
const block = {
|
|
@@ -10993,7 +11041,7 @@
|
|
|
10993
11041
|
|
|
10994
11042
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10995
11043
|
block,
|
|
10996
|
-
id:
|
|
11044
|
+
id: create_if_block_7.name,
|
|
10997
11045
|
type: "if",
|
|
10998
11046
|
source: "(833:10) {#if mostPlayedEmpty}",
|
|
10999
11047
|
ctx
|
|
@@ -11036,7 +11084,7 @@
|
|
|
11036
11084
|
insert_dev(target, casino_games_category_section, anchor);
|
|
11037
11085
|
|
|
11038
11086
|
if (!mounted) {
|
|
11039
|
-
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[
|
|
11087
|
+
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[42].call(null, casino_games_category_section, /*category*/ ctx[105]));
|
|
11040
11088
|
mounted = true;
|
|
11041
11089
|
}
|
|
11042
11090
|
},
|
|
@@ -11063,7 +11111,7 @@
|
|
|
11063
11111
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
11064
11112
|
}
|
|
11065
11113
|
|
|
11066
|
-
if (dirty[0] & /*shownCategories*/
|
|
11114
|
+
if (dirty[0] & /*shownCategories*/ 33554432 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[105])) {
|
|
11067
11115
|
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value);
|
|
11068
11116
|
}
|
|
11069
11117
|
|
|
@@ -11085,7 +11133,7 @@
|
|
|
11085
11133
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
11086
11134
|
}
|
|
11087
11135
|
|
|
11088
|
-
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/
|
|
11136
|
+
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 33554432) sendCategoryData_action.update.call(null, /*category*/ ctx[105]);
|
|
11089
11137
|
},
|
|
11090
11138
|
d: function destroy(detaching) {
|
|
11091
11139
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -11105,6 +11153,90 @@
|
|
|
11105
11153
|
return block;
|
|
11106
11154
|
}
|
|
11107
11155
|
|
|
11156
|
+
// (870:4) {#if isLoggedIn}
|
|
11157
|
+
function create_if_block_1(ctx) {
|
|
11158
|
+
let div1;
|
|
11159
|
+
let div0;
|
|
11160
|
+
let svg;
|
|
11161
|
+
let path;
|
|
11162
|
+
let t0;
|
|
11163
|
+
let p;
|
|
11164
|
+
let t1_value = /*$_*/ ctx[32]("casinoPage.break") + "";
|
|
11165
|
+
let t1;
|
|
11166
|
+
let t2;
|
|
11167
|
+
let button;
|
|
11168
|
+
let t3_value = /*$_*/ ctx[32]("casinoPage.breakButton") + "";
|
|
11169
|
+
let t3;
|
|
11170
|
+
|
|
11171
|
+
const block = {
|
|
11172
|
+
c: function create() {
|
|
11173
|
+
div1 = element("div");
|
|
11174
|
+
div0 = element("div");
|
|
11175
|
+
svg = svg_element("svg");
|
|
11176
|
+
path = svg_element("path");
|
|
11177
|
+
t0 = space();
|
|
11178
|
+
p = element("p");
|
|
11179
|
+
t1 = text(t1_value);
|
|
11180
|
+
t2 = space();
|
|
11181
|
+
button = element("button");
|
|
11182
|
+
t3 = text(t3_value);
|
|
11183
|
+
attr_dev(path, "stroke-linecap", "round");
|
|
11184
|
+
attr_dev(path, "stroke-linejoin", "round");
|
|
11185
|
+
attr_dev(path, "stroke-width", "2");
|
|
11186
|
+
attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
|
|
11187
|
+
add_location(path, file, 872, 140, 35204);
|
|
11188
|
+
attr_dev(svg, "class", "w-1 h-1");
|
|
11189
|
+
attr_dev(svg, "fill", "none");
|
|
11190
|
+
attr_dev(svg, "stroke", "white");
|
|
11191
|
+
attr_dev(svg, "width", "34px");
|
|
11192
|
+
attr_dev(svg, "height", "34px");
|
|
11193
|
+
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11194
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11195
|
+
add_location(svg, file, 872, 10, 35074);
|
|
11196
|
+
add_location(p, file, 873, 10, 35346);
|
|
11197
|
+
attr_dev(div0, "class", "PanicText");
|
|
11198
|
+
add_location(div0, file, 871, 8, 35040);
|
|
11199
|
+
attr_dev(button, "class", "PanicButton");
|
|
11200
|
+
add_location(button, file, 875, 8, 35401);
|
|
11201
|
+
|
|
11202
|
+
attr_dev(div1, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
|
|
11203
|
+
? "PanicSectionMobile"
|
|
11204
|
+
: ""));
|
|
11205
|
+
|
|
11206
|
+
add_location(div1, file, 870, 6, 34943);
|
|
11207
|
+
},
|
|
11208
|
+
m: function mount(target, anchor) {
|
|
11209
|
+
insert_dev(target, div1, anchor);
|
|
11210
|
+
append_dev(div1, div0);
|
|
11211
|
+
append_dev(div0, svg);
|
|
11212
|
+
append_dev(svg, path);
|
|
11213
|
+
append_dev(div0, t0);
|
|
11214
|
+
append_dev(div0, p);
|
|
11215
|
+
append_dev(p, t1);
|
|
11216
|
+
append_dev(div1, t2);
|
|
11217
|
+
append_dev(div1, button);
|
|
11218
|
+
append_dev(button, t3);
|
|
11219
|
+
},
|
|
11220
|
+
p: function update(ctx, dirty) {
|
|
11221
|
+
if (dirty[1] & /*$_*/ 2 && t1_value !== (t1_value = /*$_*/ ctx[32]("casinoPage.break") + "")) set_data_dev(t1, t1_value);
|
|
11222
|
+
if (dirty[1] & /*$_*/ 2 && t3_value !== (t3_value = /*$_*/ ctx[32]("casinoPage.breakButton") + "")) set_data_dev(t3, t3_value);
|
|
11223
|
+
},
|
|
11224
|
+
d: function destroy(detaching) {
|
|
11225
|
+
if (detaching) detach_dev(div1);
|
|
11226
|
+
}
|
|
11227
|
+
};
|
|
11228
|
+
|
|
11229
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
11230
|
+
block,
|
|
11231
|
+
id: create_if_block_1.name,
|
|
11232
|
+
type: "if",
|
|
11233
|
+
source: "(870:4) {#if isLoggedIn}",
|
|
11234
|
+
ctx
|
|
11235
|
+
});
|
|
11236
|
+
|
|
11237
|
+
return block;
|
|
11238
|
+
}
|
|
11239
|
+
|
|
11108
11240
|
function create_fragment(ctx) {
|
|
11109
11241
|
let if_block_anchor;
|
|
11110
11242
|
|
|
@@ -11166,7 +11298,7 @@
|
|
|
11166
11298
|
function instance($$self, $$props, $$invalidate) {
|
|
11167
11299
|
let $_;
|
|
11168
11300
|
validate_store(X, "_");
|
|
11169
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
|
11301
|
+
component_subscribe($$self, X, $$value => $$invalidate(32, $_ = $$value));
|
|
11170
11302
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
11171
11303
|
validate_slots("undefined", slots, []);
|
|
11172
11304
|
|
|
@@ -11241,15 +11373,15 @@
|
|
|
11241
11373
|
});
|
|
11242
11374
|
|
|
11243
11375
|
const CategoryChangeHandler = categoryEvent => {
|
|
11244
|
-
$$invalidate(
|
|
11376
|
+
$$invalidate(18, searched = false);
|
|
11245
11377
|
$$invalidate(10, searchValue = "");
|
|
11246
11378
|
|
|
11247
11379
|
switch (categoryEvent.data.itemId) {
|
|
11248
11380
|
case "LOBBY":
|
|
11249
|
-
$$invalidate(
|
|
11250
|
-
$$invalidate(
|
|
11251
|
-
$$invalidate(
|
|
11252
|
-
$$invalidate(
|
|
11381
|
+
$$invalidate(20, lobbyScreen = true);
|
|
11382
|
+
$$invalidate(16, favoritesScreen = false);
|
|
11383
|
+
$$invalidate(26, activeCategory = "");
|
|
11384
|
+
$$invalidate(21, mostPlayedScreen = false);
|
|
11253
11385
|
scrollTop = true;
|
|
11254
11386
|
// needs to be executed after the lobby has been repopulated
|
|
11255
11387
|
setTimeout(
|
|
@@ -11260,10 +11392,10 @@
|
|
|
11260
11392
|
);
|
|
11261
11393
|
break;
|
|
11262
11394
|
case "FAVORITES":
|
|
11263
|
-
$$invalidate(
|
|
11264
|
-
$$invalidate(
|
|
11265
|
-
$$invalidate(
|
|
11266
|
-
$$invalidate(
|
|
11395
|
+
$$invalidate(20, lobbyScreen = false);
|
|
11396
|
+
$$invalidate(16, favoritesScreen = true);
|
|
11397
|
+
$$invalidate(21, mostPlayedScreen = false);
|
|
11398
|
+
$$invalidate(26, activeCategory = "");
|
|
11267
11399
|
break;
|
|
11268
11400
|
case "MOSTPLAYED":
|
|
11269
11401
|
if (mostplayed == "true") {
|
|
@@ -11291,20 +11423,20 @@
|
|
|
11291
11423
|
window.postMessage({ type: "MostPlayedData", mostPlayedGames }, window.location.href);
|
|
11292
11424
|
});
|
|
11293
11425
|
} else {
|
|
11294
|
-
$$invalidate(
|
|
11426
|
+
$$invalidate(22, mostPlayedEmpty = true);
|
|
11295
11427
|
}
|
|
11296
11428
|
});
|
|
11297
11429
|
|
|
11298
|
-
$$invalidate(
|
|
11299
|
-
$$invalidate(
|
|
11300
|
-
$$invalidate(
|
|
11430
|
+
$$invalidate(26, activeCategory = "");
|
|
11431
|
+
$$invalidate(20, lobbyScreen = false);
|
|
11432
|
+
$$invalidate(21, mostPlayedScreen = true);
|
|
11301
11433
|
}
|
|
11302
11434
|
break;
|
|
11303
11435
|
default:
|
|
11304
|
-
$$invalidate(
|
|
11305
|
-
$$invalidate(
|
|
11306
|
-
$$invalidate(
|
|
11307
|
-
$$invalidate(
|
|
11436
|
+
$$invalidate(20, lobbyScreen = false);
|
|
11437
|
+
$$invalidate(16, favoritesScreen = false);
|
|
11438
|
+
$$invalidate(21, mostPlayedScreen = false);
|
|
11439
|
+
$$invalidate(26, activeCategory = categoryEvent.data.itemId);
|
|
11308
11440
|
setTimeout(() => {
|
|
11309
11441
|
window.postMessage(
|
|
11310
11442
|
{
|
|
@@ -11326,8 +11458,8 @@
|
|
|
11326
11458
|
CategoryChangeHandler(e);
|
|
11327
11459
|
break;
|
|
11328
11460
|
case "UserSessionID":
|
|
11329
|
-
$$invalidate(
|
|
11330
|
-
$$invalidate(
|
|
11461
|
+
$$invalidate(15, sessionID = e.data.session);
|
|
11462
|
+
$$invalidate(14, playerID = e.data.userID);
|
|
11331
11463
|
if (playerID && playerID.length && sessionID && sessionID.length > 0) {
|
|
11332
11464
|
getFavoredGames(endpoint, sessionID, playerID);
|
|
11333
11465
|
}
|
|
@@ -11640,8 +11772,8 @@
|
|
|
11640
11772
|
}
|
|
11641
11773
|
|
|
11642
11774
|
if (lobbyScreen == true && !initialLoaded) {
|
|
11643
|
-
$$invalidate(
|
|
11644
|
-
$$invalidate(
|
|
11775
|
+
$$invalidate(19, lobbyViewAux = lobbyScreen);
|
|
11776
|
+
$$invalidate(20, lobbyScreen = false);
|
|
11645
11777
|
}
|
|
11646
11778
|
|
|
11647
11779
|
let promises = [];
|
|
@@ -11653,7 +11785,7 @@
|
|
|
11653
11785
|
}
|
|
11654
11786
|
|
|
11655
11787
|
Promise.all(promises).then(res => {
|
|
11656
|
-
$$invalidate(
|
|
11788
|
+
$$invalidate(24, searchArray = res);
|
|
11657
11789
|
sendRecentSearchData({}, searchArray);
|
|
11658
11790
|
});
|
|
11659
11791
|
}
|
|
@@ -11664,11 +11796,11 @@
|
|
|
11664
11796
|
searchFocus = false;
|
|
11665
11797
|
|
|
11666
11798
|
if (searchValue.length < 2 && !gameFocus) {
|
|
11667
|
-
$$invalidate(
|
|
11668
|
-
$$invalidate(
|
|
11669
|
-
$$invalidate(
|
|
11670
|
-
$$invalidate(
|
|
11671
|
-
$$invalidate(
|
|
11799
|
+
$$invalidate(18, searched = false);
|
|
11800
|
+
$$invalidate(24, searchArray = []);
|
|
11801
|
+
$$invalidate(17, recentSearches = false);
|
|
11802
|
+
$$invalidate(20, lobbyScreen = lobbyViewAux);
|
|
11803
|
+
$$invalidate(19, lobbyViewAux = false);
|
|
11672
11804
|
|
|
11673
11805
|
if (lobbyScreen === false) {
|
|
11674
11806
|
window.postMessage(
|
|
@@ -11704,9 +11836,9 @@
|
|
|
11704
11836
|
// @TODO let's do some small changes around here in order to have this search functionality pretty written, 'cuz right now is kinda shitty
|
|
11705
11837
|
const searchValueChanged = () => {
|
|
11706
11838
|
if (searchValue.length >= 2) {
|
|
11707
|
-
$$invalidate(
|
|
11839
|
+
$$invalidate(47, searchBarCleared = true);
|
|
11708
11840
|
} else {
|
|
11709
|
-
$$invalidate(
|
|
11841
|
+
$$invalidate(47, searchBarCleared = false);
|
|
11710
11842
|
}
|
|
11711
11843
|
};
|
|
11712
11844
|
|
|
@@ -11716,9 +11848,9 @@
|
|
|
11716
11848
|
if (vendors) {
|
|
11717
11849
|
if (currentCategoryId) {
|
|
11718
11850
|
if (vendors[currentCategoryId]) {
|
|
11719
|
-
$$invalidate(
|
|
11851
|
+
$$invalidate(30, numberOfFilters = vendors[currentCategoryId].length);
|
|
11720
11852
|
} else {
|
|
11721
|
-
$$invalidate(
|
|
11853
|
+
$$invalidate(30, numberOfFilters = 0);
|
|
11722
11854
|
}
|
|
11723
11855
|
}
|
|
11724
11856
|
}
|
|
@@ -11729,10 +11861,10 @@
|
|
|
11729
11861
|
};
|
|
11730
11862
|
|
|
11731
11863
|
const clearSearchbar = () => {
|
|
11732
|
-
$$invalidate(
|
|
11864
|
+
$$invalidate(47, searchBarCleared = true);
|
|
11733
11865
|
$$invalidate(10, searchValue = "");
|
|
11734
|
-
$$invalidate(
|
|
11735
|
-
$$invalidate(
|
|
11866
|
+
$$invalidate(24, searchArray = []);
|
|
11867
|
+
$$invalidate(17, recentSearches = false);
|
|
11736
11868
|
onBlur();
|
|
11737
11869
|
};
|
|
11738
11870
|
|
|
@@ -11806,9 +11938,9 @@
|
|
|
11806
11938
|
}
|
|
11807
11939
|
|
|
11808
11940
|
if (document.documentElement.scrollTop > searchPositionTop || searchPositionTop > 130) {
|
|
11809
|
-
$$invalidate(
|
|
11941
|
+
$$invalidate(23, adjustingScroll = true);
|
|
11810
11942
|
} else {
|
|
11811
|
-
$$invalidate(
|
|
11943
|
+
$$invalidate(23, adjustingScroll = false);
|
|
11812
11944
|
}
|
|
11813
11945
|
};
|
|
11814
11946
|
|
|
@@ -11855,7 +11987,7 @@
|
|
|
11855
11987
|
return item.games.total > 0;
|
|
11856
11988
|
});
|
|
11857
11989
|
|
|
11858
|
-
$$invalidate(
|
|
11990
|
+
$$invalidate(25, shownCategories = categories = categoriesData.map(item => {
|
|
11859
11991
|
return item.id;
|
|
11860
11992
|
}));
|
|
11861
11993
|
|
|
@@ -11865,11 +11997,11 @@
|
|
|
11865
11997
|
|
|
11866
11998
|
if (getDevice(userAgent) !== "PC") {
|
|
11867
11999
|
searchElement.addEventListener("focusin", event => {
|
|
11868
|
-
$$invalidate(
|
|
12000
|
+
$$invalidate(29, mobileSearchViewActive = true);
|
|
11869
12001
|
});
|
|
11870
12002
|
|
|
11871
12003
|
searchElement.addEventListener("focusout", event => {
|
|
11872
|
-
$$invalidate(
|
|
12004
|
+
$$invalidate(29, mobileSearchViewActive = false);
|
|
11873
12005
|
});
|
|
11874
12006
|
}
|
|
11875
12007
|
|
|
@@ -11883,9 +12015,9 @@
|
|
|
11883
12015
|
};
|
|
11884
12016
|
|
|
11885
12017
|
const setSession = () => {
|
|
11886
|
-
isLoggedIn = true;
|
|
11887
|
-
$$invalidate(
|
|
11888
|
-
$$invalidate(
|
|
12018
|
+
$$invalidate(13, isLoggedIn = true);
|
|
12019
|
+
$$invalidate(15, sessionID = session);
|
|
12020
|
+
$$invalidate(14, playerID = userid);
|
|
11889
12021
|
};
|
|
11890
12022
|
|
|
11891
12023
|
const setClientStyling = () => {
|
|
@@ -11945,7 +12077,7 @@
|
|
|
11945
12077
|
function input_binding($$value) {
|
|
11946
12078
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11947
12079
|
searchElement = $$value;
|
|
11948
|
-
$$invalidate(
|
|
12080
|
+
$$invalidate(28, searchElement);
|
|
11949
12081
|
});
|
|
11950
12082
|
}
|
|
11951
12083
|
|
|
@@ -11964,14 +12096,14 @@
|
|
|
11964
12096
|
function div2_binding($$value) {
|
|
11965
12097
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11966
12098
|
searchWrapper = $$value;
|
|
11967
|
-
$$invalidate(
|
|
12099
|
+
$$invalidate(27, searchWrapper);
|
|
11968
12100
|
});
|
|
11969
12101
|
}
|
|
11970
12102
|
|
|
11971
12103
|
function input_binding_1($$value) {
|
|
11972
12104
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11973
12105
|
searchElement = $$value;
|
|
11974
|
-
$$invalidate(
|
|
12106
|
+
$$invalidate(28, searchElement);
|
|
11975
12107
|
});
|
|
11976
12108
|
}
|
|
11977
12109
|
|
|
@@ -11990,14 +12122,14 @@
|
|
|
11990
12122
|
function div2_binding_1($$value) {
|
|
11991
12123
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11992
12124
|
searchWrapper = $$value;
|
|
11993
|
-
$$invalidate(
|
|
12125
|
+
$$invalidate(27, searchWrapper);
|
|
11994
12126
|
});
|
|
11995
12127
|
}
|
|
11996
12128
|
|
|
11997
12129
|
function section_binding($$value) {
|
|
11998
12130
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11999
12131
|
customStylingContainer = $$value;
|
|
12000
|
-
$$invalidate(
|
|
12132
|
+
$$invalidate(31, customStylingContainer);
|
|
12001
12133
|
});
|
|
12002
12134
|
}
|
|
12003
12135
|
|
|
@@ -12010,10 +12142,10 @@
|
|
|
12010
12142
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
12011
12143
|
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
12012
12144
|
if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
|
|
12013
|
-
if ("visiblegames" in $$props) $$invalidate(
|
|
12145
|
+
if ("visiblegames" in $$props) $$invalidate(44, visiblegames = $$props.visiblegames);
|
|
12014
12146
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
12015
12147
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
12016
|
-
if ("mostplayed" in $$props) $$invalidate(
|
|
12148
|
+
if ("mostplayed" in $$props) $$invalidate(45, mostplayed = $$props.mostplayed);
|
|
12017
12149
|
};
|
|
12018
12150
|
|
|
12019
12151
|
$$self.$capture_state = () => ({
|
|
@@ -12125,54 +12257,54 @@
|
|
|
12125
12257
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
12126
12258
|
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
12127
12259
|
if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
|
|
12128
|
-
if ("visiblegames" in $$props) $$invalidate(
|
|
12260
|
+
if ("visiblegames" in $$props) $$invalidate(44, visiblegames = $$props.visiblegames);
|
|
12129
12261
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
12130
12262
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
12131
|
-
if ("mostplayed" in $$props) $$invalidate(
|
|
12263
|
+
if ("mostplayed" in $$props) $$invalidate(45, mostplayed = $$props.mostplayed);
|
|
12132
12264
|
if ("isLoading" in $$props) $$invalidate(11, isLoading = $$props.isLoading);
|
|
12133
12265
|
if ("hasErrors" in $$props) $$invalidate(12, hasErrors = $$props.hasErrors);
|
|
12134
|
-
if ("isLoggedIn" in $$props) isLoggedIn = $$props.isLoggedIn;
|
|
12135
|
-
if ("playerID" in $$props) $$invalidate(
|
|
12136
|
-
if ("sessionID" in $$props) $$invalidate(
|
|
12137
|
-
if ("favoritesScreen" in $$props) $$invalidate(
|
|
12138
|
-
if ("recentSearches" in $$props) $$invalidate(
|
|
12139
|
-
if ("initialLoaded" in $$props) $$invalidate(
|
|
12140
|
-
if ("searched" in $$props) $$invalidate(
|
|
12266
|
+
if ("isLoggedIn" in $$props) $$invalidate(13, isLoggedIn = $$props.isLoggedIn);
|
|
12267
|
+
if ("playerID" in $$props) $$invalidate(14, playerID = $$props.playerID);
|
|
12268
|
+
if ("sessionID" in $$props) $$invalidate(15, sessionID = $$props.sessionID);
|
|
12269
|
+
if ("favoritesScreen" in $$props) $$invalidate(16, favoritesScreen = $$props.favoritesScreen);
|
|
12270
|
+
if ("recentSearches" in $$props) $$invalidate(17, recentSearches = $$props.recentSearches);
|
|
12271
|
+
if ("initialLoaded" in $$props) $$invalidate(46, initialLoaded = $$props.initialLoaded);
|
|
12272
|
+
if ("searched" in $$props) $$invalidate(18, searched = $$props.searched);
|
|
12141
12273
|
if ("gameFocus" in $$props) gameFocus = $$props.gameFocus;
|
|
12142
|
-
if ("lobbyViewAux" in $$props) $$invalidate(
|
|
12143
|
-
if ("closeSearch" in $$props) $$invalidate(
|
|
12274
|
+
if ("lobbyViewAux" in $$props) $$invalidate(19, lobbyViewAux = $$props.lobbyViewAux);
|
|
12275
|
+
if ("closeSearch" in $$props) $$invalidate(33, closeSearch = $$props.closeSearch);
|
|
12144
12276
|
if ("searchFocus" in $$props) searchFocus = $$props.searchFocus;
|
|
12145
|
-
if ("lobbyScreen" in $$props) $$invalidate(
|
|
12146
|
-
if ("mostPlayedScreen" in $$props) $$invalidate(
|
|
12147
|
-
if ("mostPlayedEmpty" in $$props) $$invalidate(
|
|
12148
|
-
if ("adjustingScroll" in $$props) $$invalidate(
|
|
12149
|
-
if ("searchBarCleared" in $$props) $$invalidate(
|
|
12277
|
+
if ("lobbyScreen" in $$props) $$invalidate(20, lobbyScreen = $$props.lobbyScreen);
|
|
12278
|
+
if ("mostPlayedScreen" in $$props) $$invalidate(21, mostPlayedScreen = $$props.mostPlayedScreen);
|
|
12279
|
+
if ("mostPlayedEmpty" in $$props) $$invalidate(22, mostPlayedEmpty = $$props.mostPlayedEmpty);
|
|
12280
|
+
if ("adjustingScroll" in $$props) $$invalidate(23, adjustingScroll = $$props.adjustingScroll);
|
|
12281
|
+
if ("searchBarCleared" in $$props) $$invalidate(47, searchBarCleared = $$props.searchBarCleared);
|
|
12150
12282
|
if ("gamesArray" in $$props) gamesArray = $$props.gamesArray;
|
|
12151
|
-
if ("searchArray" in $$props) $$invalidate(
|
|
12283
|
+
if ("searchArray" in $$props) $$invalidate(24, searchArray = $$props.searchArray);
|
|
12152
12284
|
if ("categories" in $$props) categories = $$props.categories;
|
|
12153
|
-
if ("shownCategories" in $$props) $$invalidate(
|
|
12154
|
-
if ("activeCategory" in $$props) $$invalidate(
|
|
12285
|
+
if ("shownCategories" in $$props) $$invalidate(25, shownCategories = $$props.shownCategories);
|
|
12286
|
+
if ("activeCategory" in $$props) $$invalidate(26, activeCategory = $$props.activeCategory);
|
|
12155
12287
|
if ("searchValue" in $$props) $$invalidate(10, searchValue = $$props.searchValue);
|
|
12156
|
-
if ("searchWrapper" in $$props) $$invalidate(
|
|
12288
|
+
if ("searchWrapper" in $$props) $$invalidate(27, searchWrapper = $$props.searchWrapper);
|
|
12157
12289
|
if ("searchElementWrapper" in $$props) searchElementWrapper = $$props.searchElementWrapper;
|
|
12158
12290
|
if ("searchPositionTop" in $$props) searchPositionTop = $$props.searchPositionTop;
|
|
12159
|
-
if ("userAgent" in $$props) $$invalidate(
|
|
12291
|
+
if ("userAgent" in $$props) $$invalidate(34, userAgent = $$props.userAgent);
|
|
12160
12292
|
if ("scrollTop" in $$props) scrollTop = $$props.scrollTop;
|
|
12161
12293
|
if ("mostPlayedGames" in $$props) mostPlayedGames = $$props.mostPlayedGames;
|
|
12162
12294
|
if ("favoredGamesCollection" in $$props) favoredGamesCollection = $$props.favoredGamesCollection;
|
|
12163
12295
|
if ("categoriesData" in $$props) categoriesData = $$props.categoriesData;
|
|
12164
12296
|
if ("receivedFavoriteResults" in $$props) receivedFavoriteResults = $$props.receivedFavoriteResults;
|
|
12165
12297
|
if ("updatedFavoriteResultsIds" in $$props) updatedFavoriteResultsIds = $$props.updatedFavoriteResultsIds;
|
|
12166
|
-
if ("searchElement" in $$props) $$invalidate(
|
|
12167
|
-
if ("mobileSearchViewActive" in $$props) $$invalidate(
|
|
12298
|
+
if ("searchElement" in $$props) $$invalidate(28, searchElement = $$props.searchElement);
|
|
12299
|
+
if ("mobileSearchViewActive" in $$props) $$invalidate(29, mobileSearchViewActive = $$props.mobileSearchViewActive);
|
|
12168
12300
|
if ("searchedValues" in $$props) searchedValues = $$props.searchedValues;
|
|
12169
12301
|
if ("mostPlayedValues" in $$props) mostPlayedValues = $$props.mostPlayedValues;
|
|
12170
12302
|
if ("filterVendorsArray" in $$props) filterVendorsArray = $$props.filterVendorsArray;
|
|
12171
|
-
if ("numberOfFilters" in $$props) $$invalidate(
|
|
12303
|
+
if ("numberOfFilters" in $$props) $$invalidate(30, numberOfFilters = $$props.numberOfFilters);
|
|
12172
12304
|
if ("filteredGamesArray" in $$props) filteredGamesArray = $$props.filteredGamesArray;
|
|
12173
12305
|
if ("currentCategoryId" in $$props) currentCategoryId = $$props.currentCategoryId;
|
|
12174
12306
|
if ("activeCategoryAux" in $$props) activeCategoryAux = $$props.activeCategoryAux;
|
|
12175
|
-
if ("customStylingContainer" in $$props) $$invalidate(
|
|
12307
|
+
if ("customStylingContainer" in $$props) $$invalidate(31, customStylingContainer = $$props.customStylingContainer);
|
|
12176
12308
|
if ("getFavoredGames" in $$props) getFavoredGames = $$props.getFavoredGames;
|
|
12177
12309
|
if ("updateFavoredList" in $$props) updateFavoredList = $$props.updateFavoredList;
|
|
12178
12310
|
if ("addFavoredGame" in $$props) addFavoredGame = $$props.addFavoredGame;
|
|
@@ -12187,9 +12319,9 @@
|
|
|
12187
12319
|
searchValue && searchValueChanged();
|
|
12188
12320
|
}
|
|
12189
12321
|
|
|
12190
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 1027 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/
|
|
12322
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 1027 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/ 98304) {
|
|
12191
12323
|
if (searchValue.length >= 2) {
|
|
12192
|
-
$$invalidate(
|
|
12324
|
+
$$invalidate(18, searched = true);
|
|
12193
12325
|
let searchUrl = new URL(`${endpoint}/casino/games`);
|
|
12194
12326
|
searchUrl.searchParams.append("datasource", datasource);
|
|
12195
12327
|
searchUrl.searchParams.append("expand", "vendor");
|
|
@@ -12200,7 +12332,7 @@
|
|
|
12200
12332
|
searchUrl.searchParams.append("filter", `name=${searchValue}`);
|
|
12201
12333
|
|
|
12202
12334
|
getGames(searchUrl).then(searchData => {
|
|
12203
|
-
$$invalidate(
|
|
12335
|
+
$$invalidate(24, searchArray = searchData);
|
|
12204
12336
|
sendSearchData({}, searchData);
|
|
12205
12337
|
});
|
|
12206
12338
|
} else {
|
|
@@ -12209,7 +12341,7 @@
|
|
|
12209
12341
|
}
|
|
12210
12342
|
|
|
12211
12343
|
if (initialLoaded) {
|
|
12212
|
-
$$invalidate(
|
|
12344
|
+
$$invalidate(46, initialLoaded = false);
|
|
12213
12345
|
}
|
|
12214
12346
|
}
|
|
12215
12347
|
}
|
|
@@ -12245,6 +12377,7 @@
|
|
|
12245
12377
|
searchValue,
|
|
12246
12378
|
isLoading,
|
|
12247
12379
|
hasErrors,
|
|
12380
|
+
isLoggedIn,
|
|
12248
12381
|
playerID,
|
|
12249
12382
|
sessionID,
|
|
12250
12383
|
favoritesScreen,
|
|
@@ -12299,7 +12432,7 @@
|
|
|
12299
12432
|
class CasinoPage extends SvelteElement {
|
|
12300
12433
|
constructor(options) {
|
|
12301
12434
|
super();
|
|
12302
|
-
this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}[type="search"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}.SearchLoading{color:#fff;font-size:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 5% auto 15%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:0;padding-left:8px;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid #58586B;border-radius:5px;text-transform:uppercase;color:#fff;cursor:pointer}.ClearFilterButtonWrapper{border:1px solid #FD2839;color:#FD2839}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid #D0046C;background:#D0046C;color:#fff;font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{color:#fff}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:25px}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:#fff;text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:#fff}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid #fff;border-radius:0;background:#fff;color:#D0046C}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:#D0046C}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign{display:block;position:relative}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:#07072A}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:90%;border:1px solid #58586B;border-radius:6.4px;background-color:transparent;color:#fff;padding:12px 50px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:90%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:64px;right:5px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:6.4px;border:2px solid #fff;background:transparent;color:#fff}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:10px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:block}.CategoriesHeaderSectionAltDesign .ClearSearchButton,.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:30px;top:9px}.ClearFilterMobileButtonWrapper{position:absolute;right:5px;padding:8px 18px;display:inline-flex;border:1px solid #58586B;border-radius:5px;border:1px solid #FD2839;text-transform:uppercase;color:#fff;cursor:pointer;color:#FD2839;font-size:14px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:#000}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:#FFF;transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:#FFF;transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:#FD2839}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:#FD2839}</style>`;
|
|
12435
|
+
this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:#fff}.PanicButton{border-radius:2px;border:1px solid #D0046C;background-color:#D0046C;width:240px;height:48px;color:#fff}[type="search"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}.SearchLoading{color:#fff;font-size:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 5% auto 15%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:0;padding-left:8px;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid #58586B;border-radius:5px;text-transform:uppercase;color:#fff;cursor:pointer}.ClearFilterButtonWrapper{border:1px solid #FD2839;color:#FD2839}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid #D0046C;background:#D0046C;color:#fff;font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{color:#fff}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:25px}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:#fff;text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:#fff}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid #fff;border-radius:0;background:#fff;color:#D0046C}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:#D0046C}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign{display:block;position:relative}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:#07072A}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:90%;border:1px solid #58586B;border-radius:6.4px;background-color:transparent;color:#fff;padding:12px 50px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:90%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:64px;right:5px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:6.4px;border:2px solid #fff;background:transparent;color:#fff}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:10px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:block}.CategoriesHeaderSectionAltDesign .ClearSearchButton,.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:30px;top:9px}.ClearFilterMobileButtonWrapper{position:absolute;right:5px;padding:8px 18px;display:inline-flex;border:1px solid #58586B;border-radius:5px;border:1px solid #FD2839;text-transform:uppercase;color:#fff;cursor:pointer;color:#FD2839;font-size:14px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:#000}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:#FFF;transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:#FFF;transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:#FD2839}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:#FD2839}</style>`;
|
|
12303
12436
|
|
|
12304
12437
|
init(
|
|
12305
12438
|
this,
|
|
@@ -12320,10 +12453,10 @@
|
|
|
12320
12453
|
clientstyling: 5,
|
|
12321
12454
|
clientstylingurl: 6,
|
|
12322
12455
|
categorybackground: 7,
|
|
12323
|
-
visiblegames:
|
|
12456
|
+
visiblegames: 44,
|
|
12324
12457
|
alternativesearch: 8,
|
|
12325
12458
|
favorites: 9,
|
|
12326
|
-
mostplayed:
|
|
12459
|
+
mostplayed: 45
|
|
12327
12460
|
},
|
|
12328
12461
|
[-1, -1, -1, -1]
|
|
12329
12462
|
);
|
|
@@ -12430,7 +12563,7 @@
|
|
|
12430
12563
|
}
|
|
12431
12564
|
|
|
12432
12565
|
get visiblegames() {
|
|
12433
|
-
return this.$$.ctx[
|
|
12566
|
+
return this.$$.ctx[44];
|
|
12434
12567
|
}
|
|
12435
12568
|
|
|
12436
12569
|
set visiblegames(visiblegames) {
|
|
@@ -12457,7 +12590,7 @@
|
|
|
12457
12590
|
}
|
|
12458
12591
|
|
|
12459
12592
|
get mostplayed() {
|
|
12460
|
-
return this.$$.ctx[
|
|
12593
|
+
return this.$$.ctx[45];
|
|
12461
12594
|
}
|
|
12462
12595
|
|
|
12463
12596
|
set mostplayed(mostplayed) {
|