@everymatrix/casino-page 0.0.157 → 0.0.161
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 +415 -393
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoPage.svelte +9 -1
package/dist/casino-page.js
CHANGED
|
@@ -9096,17 +9096,17 @@
|
|
|
9096
9096
|
|
|
9097
9097
|
function get_each_context(ctx, list, i) {
|
|
9098
9098
|
const child_ctx = ctx.slice();
|
|
9099
|
-
child_ctx[
|
|
9100
|
-
child_ctx[
|
|
9099
|
+
child_ctx[110] = list[i];
|
|
9100
|
+
child_ctx[112] = i;
|
|
9101
9101
|
return child_ctx;
|
|
9102
9102
|
}
|
|
9103
9103
|
|
|
9104
|
-
// (
|
|
9104
|
+
// (655:0) {:else}
|
|
9105
9105
|
function create_else_block(ctx) {
|
|
9106
9106
|
let section;
|
|
9107
|
-
let show_if_1 = getDevice(/*userAgent*/ ctx[
|
|
9107
|
+
let show_if_1 = getDevice(/*userAgent*/ ctx[35]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[30];
|
|
9108
9108
|
let t0;
|
|
9109
|
-
let show_if = !/*favoritesScreen*/ ctx[
|
|
9109
|
+
let show_if = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && /*numberOfFilters*/ ctx[31] && getDevice(/*userAgent*/ ctx[35]) !== "PC";
|
|
9110
9110
|
let t1;
|
|
9111
9111
|
let t2;
|
|
9112
9112
|
let t3;
|
|
@@ -9122,17 +9122,17 @@
|
|
|
9122
9122
|
let if_block2 = current_block_type(ctx);
|
|
9123
9123
|
|
|
9124
9124
|
function select_block_type_2(ctx, dirty) {
|
|
9125
|
-
if (/*isLoading*/ ctx[
|
|
9126
|
-
if (/*searched*/ ctx[
|
|
9127
|
-
if (/*lobbyScreen*/ ctx[
|
|
9128
|
-
if (/*favoritesScreen*/ ctx[
|
|
9129
|
-
if (/*mostPlayedScreen*/ ctx[
|
|
9130
|
-
if (!/*recentSearches*/ ctx[
|
|
9125
|
+
if (/*isLoading*/ ctx[12]) return create_if_block_2;
|
|
9126
|
+
if (/*searched*/ ctx[19]) return create_if_block_3;
|
|
9127
|
+
if (/*lobbyScreen*/ ctx[21]) return create_if_block_4;
|
|
9128
|
+
if (/*favoritesScreen*/ ctx[17]) return create_if_block_5;
|
|
9129
|
+
if (/*mostPlayedScreen*/ ctx[22]) return create_if_block_6;
|
|
9130
|
+
if (!/*recentSearches*/ ctx[18]) return create_if_block_8;
|
|
9131
9131
|
}
|
|
9132
9132
|
|
|
9133
9133
|
let current_block_type_1 = select_block_type_2(ctx);
|
|
9134
9134
|
let if_block3 = current_block_type_1 && current_block_type_1(ctx);
|
|
9135
|
-
let if_block4 = /*isLoggedIn*/ ctx[
|
|
9135
|
+
let if_block4 = /*isLoggedIn*/ ctx[14] && create_if_block_1(ctx);
|
|
9136
9136
|
|
|
9137
9137
|
const block = {
|
|
9138
9138
|
c: function create() {
|
|
@@ -9147,7 +9147,8 @@
|
|
|
9147
9147
|
t3 = space();
|
|
9148
9148
|
if (if_block4) if_block4.c();
|
|
9149
9149
|
attr_dev(section, "class", "CategoriesLobby");
|
|
9150
|
-
|
|
9150
|
+
set_style(section, "max-width", /*containermaxwidth*/ ctx[10] + "px");
|
|
9151
|
+
add_location(section, file, 655, 2, 22522);
|
|
9151
9152
|
},
|
|
9152
9153
|
m: function mount(target, anchor) {
|
|
9153
9154
|
insert_dev(target, section, anchor);
|
|
@@ -9160,10 +9161,10 @@
|
|
|
9160
9161
|
if (if_block3) if_block3.m(section, null);
|
|
9161
9162
|
append_dev(section, t3);
|
|
9162
9163
|
if (if_block4) if_block4.m(section, null);
|
|
9163
|
-
/*section_binding*/ ctx[
|
|
9164
|
+
/*section_binding*/ ctx[65](section);
|
|
9164
9165
|
},
|
|
9165
9166
|
p: function update(ctx, dirty) {
|
|
9166
|
-
if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/
|
|
9167
|
+
if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/ 1073742080) show_if_1 = getDevice(/*userAgent*/ ctx[35]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[30];
|
|
9167
9168
|
|
|
9168
9169
|
if (show_if_1) {
|
|
9169
9170
|
if (if_block0) ; else {
|
|
@@ -9176,7 +9177,7 @@
|
|
|
9176
9177
|
if_block0 = null;
|
|
9177
9178
|
}
|
|
9178
9179
|
|
|
9179
|
-
if (dirty[0] & /*favoritesScreen, lobbyScreen, mobileSearchViewActive
|
|
9180
|
+
if (dirty[0] & /*favoritesScreen, lobbyScreen, mobileSearchViewActive*/ 1075970048 | dirty[1] & /*numberOfFilters*/ 1) show_if = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && /*numberOfFilters*/ ctx[31] && getDevice(/*userAgent*/ ctx[35]) !== "PC";
|
|
9180
9181
|
|
|
9181
9182
|
if (show_if) {
|
|
9182
9183
|
if (if_block1) {
|
|
@@ -9215,7 +9216,7 @@
|
|
|
9215
9216
|
}
|
|
9216
9217
|
}
|
|
9217
9218
|
|
|
9218
|
-
if (/*isLoggedIn*/ ctx[
|
|
9219
|
+
if (/*isLoggedIn*/ ctx[14]) {
|
|
9219
9220
|
if (if_block4) {
|
|
9220
9221
|
if_block4.p(ctx, dirty);
|
|
9221
9222
|
} else {
|
|
@@ -9227,6 +9228,10 @@
|
|
|
9227
9228
|
if_block4.d(1);
|
|
9228
9229
|
if_block4 = null;
|
|
9229
9230
|
}
|
|
9231
|
+
|
|
9232
|
+
if (dirty[0] & /*containermaxwidth*/ 1024) {
|
|
9233
|
+
set_style(section, "max-width", /*containermaxwidth*/ ctx[10] + "px");
|
|
9234
|
+
}
|
|
9230
9235
|
},
|
|
9231
9236
|
d: function destroy(detaching) {
|
|
9232
9237
|
if (detaching) detach_dev(section);
|
|
@@ -9239,7 +9244,7 @@
|
|
|
9239
9244
|
}
|
|
9240
9245
|
|
|
9241
9246
|
if (if_block4) if_block4.d();
|
|
9242
|
-
/*section_binding*/ ctx[
|
|
9247
|
+
/*section_binding*/ ctx[65](null);
|
|
9243
9248
|
}
|
|
9244
9249
|
};
|
|
9245
9250
|
|
|
@@ -9247,14 +9252,14 @@
|
|
|
9247
9252
|
block,
|
|
9248
9253
|
id: create_else_block.name,
|
|
9249
9254
|
type: "else",
|
|
9250
|
-
source: "(
|
|
9255
|
+
source: "(655:0) {:else}",
|
|
9251
9256
|
ctx
|
|
9252
9257
|
});
|
|
9253
9258
|
|
|
9254
9259
|
return block;
|
|
9255
9260
|
}
|
|
9256
9261
|
|
|
9257
|
-
// (
|
|
9262
|
+
// (653:0) {#if hasErrors}
|
|
9258
9263
|
function create_if_block(ctx) {
|
|
9259
9264
|
let p;
|
|
9260
9265
|
|
|
@@ -9263,7 +9268,7 @@
|
|
|
9263
9268
|
p = element("p");
|
|
9264
9269
|
p.textContent = "500 Error - Internal Server Error";
|
|
9265
9270
|
attr_dev(p, "class", "SearchLoading");
|
|
9266
|
-
add_location(p, file,
|
|
9271
|
+
add_location(p, file, 653, 2, 22449);
|
|
9267
9272
|
},
|
|
9268
9273
|
m: function mount(target, anchor) {
|
|
9269
9274
|
insert_dev(target, p, anchor);
|
|
@@ -9278,14 +9283,14 @@
|
|
|
9278
9283
|
block,
|
|
9279
9284
|
id: create_if_block.name,
|
|
9280
9285
|
type: "if",
|
|
9281
|
-
source: "(
|
|
9286
|
+
source: "(653:0) {#if hasErrors}",
|
|
9282
9287
|
ctx
|
|
9283
9288
|
});
|
|
9284
9289
|
|
|
9285
9290
|
return block;
|
|
9286
9291
|
}
|
|
9287
9292
|
|
|
9288
|
-
// (
|
|
9293
|
+
// (657:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}
|
|
9289
9294
|
function create_if_block_23(ctx) {
|
|
9290
9295
|
let div;
|
|
9291
9296
|
|
|
@@ -9293,7 +9298,7 @@
|
|
|
9293
9298
|
c: function create() {
|
|
9294
9299
|
div = element("div");
|
|
9295
9300
|
attr_dev(div, "class", "SearchBarPlaceholder");
|
|
9296
|
-
add_location(div, file,
|
|
9301
|
+
add_location(div, file, 657, 6, 22742);
|
|
9297
9302
|
},
|
|
9298
9303
|
m: function mount(target, anchor) {
|
|
9299
9304
|
insert_dev(target, div, anchor);
|
|
@@ -9307,14 +9312,14 @@
|
|
|
9307
9312
|
block,
|
|
9308
9313
|
id: create_if_block_23.name,
|
|
9309
9314
|
type: "if",
|
|
9310
|
-
source: "(
|
|
9315
|
+
source: "(657:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}",
|
|
9311
9316
|
ctx
|
|
9312
9317
|
});
|
|
9313
9318
|
|
|
9314
9319
|
return block;
|
|
9315
9320
|
}
|
|
9316
9321
|
|
|
9317
|
-
// (
|
|
9322
|
+
// (660:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}
|
|
9318
9323
|
function create_if_block_22(ctx) {
|
|
9319
9324
|
let div1;
|
|
9320
9325
|
let div0;
|
|
@@ -9335,7 +9340,7 @@
|
|
|
9335
9340
|
polygon = svg_element("polygon");
|
|
9336
9341
|
set_style(polygon, "fill", "#FD2839");
|
|
9337
9342
|
attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
|
|
9338
|
-
add_location(polygon, file,
|
|
9343
|
+
add_location(polygon, file, 665, 14, 23346);
|
|
9339
9344
|
attr_dev(svg, "version", "1.1");
|
|
9340
9345
|
attr_dev(svg, "id", "Layer_1");
|
|
9341
9346
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -9345,13 +9350,13 @@
|
|
|
9345
9350
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
9346
9351
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
9347
9352
|
attr_dev(svg, "xml:space", "preserve");
|
|
9348
|
-
add_location(svg, file,
|
|
9353
|
+
add_location(svg, file, 663, 12, 23091);
|
|
9349
9354
|
attr_dev(span, "class", "ClearIcon");
|
|
9350
|
-
add_location(span, file,
|
|
9355
|
+
add_location(span, file, 662, 10, 23054);
|
|
9351
9356
|
attr_dev(div0, "class", "ClearButton");
|
|
9352
|
-
add_location(div0, file,
|
|
9357
|
+
add_location(div0, file, 661, 8, 23013);
|
|
9353
9358
|
attr_dev(div1, "class", "ClearFilterMobileButtonWrapper");
|
|
9354
|
-
add_location(div1, file,
|
|
9359
|
+
add_location(div1, file, 660, 6, 22921);
|
|
9355
9360
|
},
|
|
9356
9361
|
m: function mount(target, anchor) {
|
|
9357
9362
|
insert_dev(target, div1, anchor);
|
|
@@ -9362,7 +9367,7 @@
|
|
|
9362
9367
|
append_dev(svg, polygon);
|
|
9363
9368
|
|
|
9364
9369
|
if (!mounted) {
|
|
9365
|
-
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[
|
|
9370
|
+
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[51], false, false, false);
|
|
9366
9371
|
mounted = true;
|
|
9367
9372
|
}
|
|
9368
9373
|
},
|
|
@@ -9378,14 +9383,14 @@
|
|
|
9378
9383
|
block,
|
|
9379
9384
|
id: create_if_block_22.name,
|
|
9380
9385
|
type: "if",
|
|
9381
|
-
source: "(
|
|
9386
|
+
source: "(660:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}",
|
|
9382
9387
|
ctx
|
|
9383
9388
|
});
|
|
9384
9389
|
|
|
9385
9390
|
return block;
|
|
9386
9391
|
}
|
|
9387
9392
|
|
|
9388
|
-
// (
|
|
9393
|
+
// (731:4) {:else}
|
|
9389
9394
|
function create_else_block_2(ctx) {
|
|
9390
9395
|
let div2;
|
|
9391
9396
|
let div1;
|
|
@@ -9396,15 +9401,15 @@
|
|
|
9396
9401
|
let input;
|
|
9397
9402
|
let input_placeholder_value;
|
|
9398
9403
|
let t3;
|
|
9399
|
-
let show_if = getDevice(/*userAgent*/ ctx[
|
|
9404
|
+
let show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
|
|
9400
9405
|
let div1_class_value;
|
|
9401
9406
|
let t4;
|
|
9402
9407
|
let div2_class_value;
|
|
9403
9408
|
let mounted;
|
|
9404
9409
|
let dispose;
|
|
9405
|
-
let if_block0 = !/*mobileSearchViewActive*/ ctx[
|
|
9410
|
+
let if_block0 = !/*mobileSearchViewActive*/ ctx[30] && create_if_block_21(ctx);
|
|
9406
9411
|
let if_block1 = show_if && create_if_block_20(ctx);
|
|
9407
|
-
let if_block2 = !/*favoritesScreen*/ ctx[
|
|
9412
|
+
let if_block2 = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20] && create_if_block_16(ctx);
|
|
9408
9413
|
|
|
9409
9414
|
const block = {
|
|
9410
9415
|
c: function create() {
|
|
@@ -9423,40 +9428,40 @@
|
|
|
9423
9428
|
if (if_block2) if_block2.c();
|
|
9424
9429
|
attr_dev(label, "for", "search");
|
|
9425
9430
|
attr_dev(label, "class", "SrOnly");
|
|
9426
|
-
add_location(label, file,
|
|
9431
|
+
add_location(label, file, 735, 10, 28697);
|
|
9427
9432
|
attr_dev(input, "id", "SearchField");
|
|
9428
9433
|
attr_dev(input, "class", "SearchInput");
|
|
9429
9434
|
|
|
9430
|
-
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[
|
|
9431
|
-
? /*$_*/ ctx[
|
|
9432
|
-
: /*$_*/ ctx[
|
|
9435
|
+
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
|
|
9436
|
+
? /*$_*/ ctx[33]("casinoPage.search")
|
|
9437
|
+
: /*$_*/ ctx[33]("casinoPage.searchMobile"));
|
|
9433
9438
|
|
|
9434
9439
|
attr_dev(input, "type", "search");
|
|
9435
|
-
add_location(input, file,
|
|
9440
|
+
add_location(input, file, 744, 12, 29253);
|
|
9436
9441
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9437
|
-
add_location(div0, file,
|
|
9442
|
+
add_location(div0, file, 736, 10, 28770);
|
|
9438
9443
|
|
|
9439
|
-
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[
|
|
9444
|
+
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
|
|
9440
9445
|
? "SearchTruncated"
|
|
9441
9446
|
: ""));
|
|
9442
9447
|
|
|
9443
|
-
add_location(div1, file,
|
|
9448
|
+
add_location(div1, file, 734, 8, 28555);
|
|
9444
9449
|
|
|
9445
|
-
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[
|
|
9450
|
+
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
|
|
9446
9451
|
? "CategoriesHeaderMobileSection"
|
|
9447
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9452
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[30]
|
|
9448
9453
|
? "SearchMobileActive"
|
|
9449
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9454
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
|
|
9450
9455
|
? "CategoriesHeaderSearchActive"
|
|
9451
|
-
: "") + (/*adjustingScroll*/ ctx[
|
|
9456
|
+
: "") + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
|
|
9452
9457
|
? "SearchStickTop"
|
|
9453
9458
|
: ""));
|
|
9454
9459
|
|
|
9455
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9460
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
|
|
9456
9461
|
? scrollOffset + "px"
|
|
9457
9462
|
: "");
|
|
9458
9463
|
|
|
9459
|
-
add_location(div2, file,
|
|
9464
|
+
add_location(div2, file, 732, 6, 28036);
|
|
9460
9465
|
},
|
|
9461
9466
|
m: function mount(target, anchor) {
|
|
9462
9467
|
insert_dev(target, div2, anchor);
|
|
@@ -9467,27 +9472,27 @@
|
|
|
9467
9472
|
if (if_block0) if_block0.m(div0, null);
|
|
9468
9473
|
append_dev(div0, t2);
|
|
9469
9474
|
append_dev(div0, input);
|
|
9470
|
-
/*input_binding_1*/ ctx[
|
|
9471
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
9475
|
+
/*input_binding_1*/ ctx[58](input);
|
|
9476
|
+
set_input_value(input, /*searchValue*/ ctx[11]);
|
|
9472
9477
|
append_dev(div0, t3);
|
|
9473
9478
|
if (if_block1) if_block1.m(div0, null);
|
|
9474
9479
|
append_dev(div2, t4);
|
|
9475
9480
|
if (if_block2) if_block2.m(div2, null);
|
|
9476
|
-
/*div2_binding_1*/ ctx[
|
|
9481
|
+
/*div2_binding_1*/ ctx[63](div2);
|
|
9477
9482
|
|
|
9478
9483
|
if (!mounted) {
|
|
9479
9484
|
dispose = [
|
|
9480
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
9481
|
-
listen_dev(input, "blur", /*onBlur*/ ctx[
|
|
9482
|
-
listen_dev(input, "input", /*input_input_handler_1*/ ctx[
|
|
9483
|
-
listen_dev(input, "focus", /*searchActivated*/ ctx[
|
|
9485
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[37], false, false, false),
|
|
9486
|
+
listen_dev(input, "blur", /*onBlur*/ ctx[38], false, false, false),
|
|
9487
|
+
listen_dev(input, "input", /*input_input_handler_1*/ ctx[59]),
|
|
9488
|
+
listen_dev(input, "focus", /*searchActivated*/ ctx[39], false, false, false)
|
|
9484
9489
|
];
|
|
9485
9490
|
|
|
9486
9491
|
mounted = true;
|
|
9487
9492
|
}
|
|
9488
9493
|
},
|
|
9489
9494
|
p: function update(ctx, dirty) {
|
|
9490
|
-
if (!/*mobileSearchViewActive*/ ctx[
|
|
9495
|
+
if (!/*mobileSearchViewActive*/ ctx[30]) {
|
|
9491
9496
|
if (if_block0) ; else {
|
|
9492
9497
|
if_block0 = create_if_block_21(ctx);
|
|
9493
9498
|
if_block0.c();
|
|
@@ -9498,17 +9503,17 @@
|
|
|
9498
9503
|
if_block0 = null;
|
|
9499
9504
|
}
|
|
9500
9505
|
|
|
9501
|
-
if (dirty[1] & /*$_*/
|
|
9502
|
-
? /*$_*/ ctx[
|
|
9503
|
-
: /*$_*/ ctx[
|
|
9506
|
+
if (dirty[1] & /*$_*/ 4 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
|
|
9507
|
+
? /*$_*/ ctx[33]("casinoPage.search")
|
|
9508
|
+
: /*$_*/ ctx[33]("casinoPage.searchMobile"))) {
|
|
9504
9509
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
9505
9510
|
}
|
|
9506
9511
|
|
|
9507
|
-
if (dirty[0] & /*searchValue*/
|
|
9508
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
9512
|
+
if (dirty[0] & /*searchValue*/ 2048) {
|
|
9513
|
+
set_input_value(input, /*searchValue*/ ctx[11]);
|
|
9509
9514
|
}
|
|
9510
9515
|
|
|
9511
|
-
if (dirty[0] & /*searchValue*/
|
|
9516
|
+
if (dirty[0] & /*searchValue*/ 2048) show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
|
|
9512
9517
|
|
|
9513
9518
|
if (show_if) {
|
|
9514
9519
|
if (if_block1) {
|
|
@@ -9523,13 +9528,13 @@
|
|
|
9523
9528
|
if_block1 = null;
|
|
9524
9529
|
}
|
|
9525
9530
|
|
|
9526
|
-
if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/
|
|
9531
|
+
if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 7471104 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
|
|
9527
9532
|
? "SearchTruncated"
|
|
9528
9533
|
: ""))) {
|
|
9529
9534
|
attr_dev(div1, "class", div1_class_value);
|
|
9530
9535
|
}
|
|
9531
9536
|
|
|
9532
|
-
if (!/*favoritesScreen*/ ctx[
|
|
9537
|
+
if (!/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20]) {
|
|
9533
9538
|
if (if_block2) {
|
|
9534
9539
|
if_block2.p(ctx, dirty);
|
|
9535
9540
|
} else {
|
|
@@ -9542,20 +9547,20 @@
|
|
|
9542
9547
|
if_block2 = null;
|
|
9543
9548
|
}
|
|
9544
9549
|
|
|
9545
|
-
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/
|
|
9550
|
+
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 1091043328 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
|
|
9546
9551
|
? "CategoriesHeaderMobileSection"
|
|
9547
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9552
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[30]
|
|
9548
9553
|
? "SearchMobileActive"
|
|
9549
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9554
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
|
|
9550
9555
|
? "CategoriesHeaderSearchActive"
|
|
9551
|
-
: "") + (/*adjustingScroll*/ ctx[
|
|
9556
|
+
: "") + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
|
|
9552
9557
|
? "SearchStickTop"
|
|
9553
9558
|
: ""))) {
|
|
9554
9559
|
attr_dev(div2, "class", div2_class_value);
|
|
9555
9560
|
}
|
|
9556
9561
|
|
|
9557
|
-
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/
|
|
9558
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9562
|
+
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 1090519040) {
|
|
9563
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
|
|
9559
9564
|
? scrollOffset + "px"
|
|
9560
9565
|
: "");
|
|
9561
9566
|
}
|
|
@@ -9563,10 +9568,10 @@
|
|
|
9563
9568
|
d: function destroy(detaching) {
|
|
9564
9569
|
if (detaching) detach_dev(div2);
|
|
9565
9570
|
if (if_block0) if_block0.d();
|
|
9566
|
-
/*input_binding_1*/ ctx[
|
|
9571
|
+
/*input_binding_1*/ ctx[58](null);
|
|
9567
9572
|
if (if_block1) if_block1.d();
|
|
9568
9573
|
if (if_block2) if_block2.d();
|
|
9569
|
-
/*div2_binding_1*/ ctx[
|
|
9574
|
+
/*div2_binding_1*/ ctx[63](null);
|
|
9570
9575
|
mounted = false;
|
|
9571
9576
|
run_all(dispose);
|
|
9572
9577
|
}
|
|
@@ -9576,14 +9581,14 @@
|
|
|
9576
9581
|
block,
|
|
9577
9582
|
id: create_else_block_2.name,
|
|
9578
9583
|
type: "else",
|
|
9579
|
-
source: "(
|
|
9584
|
+
source: "(731:4) {:else}",
|
|
9580
9585
|
ctx
|
|
9581
9586
|
});
|
|
9582
9587
|
|
|
9583
9588
|
return block;
|
|
9584
9589
|
}
|
|
9585
9590
|
|
|
9586
|
-
// (
|
|
9591
|
+
// (674:4) {#if alternativesearch === 'false'}
|
|
9587
9592
|
function create_if_block_9(ctx) {
|
|
9588
9593
|
let div2;
|
|
9589
9594
|
let div1;
|
|
@@ -9594,15 +9599,15 @@
|
|
|
9594
9599
|
let input;
|
|
9595
9600
|
let input_placeholder_value;
|
|
9596
9601
|
let t3;
|
|
9597
|
-
let show_if = getDevice(/*userAgent*/ ctx[
|
|
9602
|
+
let show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
|
|
9598
9603
|
let div1_class_value;
|
|
9599
9604
|
let t4;
|
|
9600
9605
|
let div2_class_value;
|
|
9601
9606
|
let mounted;
|
|
9602
9607
|
let dispose;
|
|
9603
|
-
let if_block0 = !/*mobileSearchViewActive*/ ctx[
|
|
9608
|
+
let if_block0 = !/*mobileSearchViewActive*/ ctx[30] && create_if_block_15(ctx);
|
|
9604
9609
|
let if_block1 = show_if && create_if_block_14(ctx);
|
|
9605
|
-
let if_block2 = !/*favoritesScreen*/ ctx[
|
|
9610
|
+
let if_block2 = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20] && create_if_block_10(ctx);
|
|
9606
9611
|
|
|
9607
9612
|
const block = {
|
|
9608
9613
|
c: function create() {
|
|
@@ -9621,40 +9626,40 @@
|
|
|
9621
9626
|
if (if_block2) if_block2.c();
|
|
9622
9627
|
attr_dev(label, "for", "search");
|
|
9623
9628
|
attr_dev(label, "class", "SrOnly");
|
|
9624
|
-
add_location(label, file,
|
|
9629
|
+
add_location(label, file, 678, 10, 24354);
|
|
9625
9630
|
attr_dev(input, "id", "SearchField");
|
|
9626
9631
|
attr_dev(input, "class", "SearchInput");
|
|
9627
9632
|
|
|
9628
|
-
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[
|
|
9629
|
-
? /*$_*/ ctx[
|
|
9630
|
-
: /*$_*/ ctx[
|
|
9633
|
+
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
|
|
9634
|
+
? /*$_*/ ctx[33]("casinoPage.search")
|
|
9635
|
+
: /*$_*/ ctx[33]("casinoPage.searchMobile"));
|
|
9631
9636
|
|
|
9632
9637
|
attr_dev(input, "type", "search");
|
|
9633
|
-
add_location(input, file,
|
|
9638
|
+
add_location(input, file, 687, 12, 24910);
|
|
9634
9639
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9635
|
-
add_location(div0, file,
|
|
9640
|
+
add_location(div0, file, 679, 10, 24427);
|
|
9636
9641
|
|
|
9637
|
-
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[
|
|
9642
|
+
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
|
|
9638
9643
|
? "SearchTruncated"
|
|
9639
9644
|
: ""));
|
|
9640
9645
|
|
|
9641
|
-
add_location(div1, file,
|
|
9646
|
+
add_location(div1, file, 677, 8, 24212);
|
|
9642
9647
|
|
|
9643
|
-
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[
|
|
9648
|
+
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
|
|
9644
9649
|
? "CategoriesHeaderMobileSection"
|
|
9645
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9650
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[30]
|
|
9646
9651
|
? "SearchMobileActive"
|
|
9647
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9652
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
|
|
9648
9653
|
? "CategoriesHeaderSearchActive"
|
|
9649
|
-
: "") + " " + (/*adjustingScroll*/ ctx[
|
|
9654
|
+
: "") + " " + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
|
|
9650
9655
|
? "SearchStickTop"
|
|
9651
9656
|
: ""));
|
|
9652
9657
|
|
|
9653
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9658
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
|
|
9654
9659
|
? scrollOffset + "px"
|
|
9655
9660
|
: "");
|
|
9656
9661
|
|
|
9657
|
-
add_location(div2, file,
|
|
9662
|
+
add_location(div2, file, 675, 6, 23725);
|
|
9658
9663
|
},
|
|
9659
9664
|
m: function mount(target, anchor) {
|
|
9660
9665
|
insert_dev(target, div2, anchor);
|
|
@@ -9665,27 +9670,27 @@
|
|
|
9665
9670
|
if (if_block0) if_block0.m(div0, null);
|
|
9666
9671
|
append_dev(div0, t2);
|
|
9667
9672
|
append_dev(div0, input);
|
|
9668
|
-
/*input_binding*/ ctx[
|
|
9669
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
9673
|
+
/*input_binding*/ ctx[52](input);
|
|
9674
|
+
set_input_value(input, /*searchValue*/ ctx[11]);
|
|
9670
9675
|
append_dev(div0, t3);
|
|
9671
9676
|
if (if_block1) if_block1.m(div0, null);
|
|
9672
9677
|
append_dev(div2, t4);
|
|
9673
9678
|
if (if_block2) if_block2.m(div2, null);
|
|
9674
|
-
/*div2_binding*/ ctx[
|
|
9679
|
+
/*div2_binding*/ ctx[57](div2);
|
|
9675
9680
|
|
|
9676
9681
|
if (!mounted) {
|
|
9677
9682
|
dispose = [
|
|
9678
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
9679
|
-
listen_dev(input, "blur", /*onBlur*/ ctx[
|
|
9680
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
9681
|
-
listen_dev(input, "focus", /*searchActivated*/ ctx[
|
|
9683
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[37], false, false, false),
|
|
9684
|
+
listen_dev(input, "blur", /*onBlur*/ ctx[38], false, false, false),
|
|
9685
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[53]),
|
|
9686
|
+
listen_dev(input, "focus", /*searchActivated*/ ctx[39], false, false, false)
|
|
9682
9687
|
];
|
|
9683
9688
|
|
|
9684
9689
|
mounted = true;
|
|
9685
9690
|
}
|
|
9686
9691
|
},
|
|
9687
9692
|
p: function update(ctx, dirty) {
|
|
9688
|
-
if (!/*mobileSearchViewActive*/ ctx[
|
|
9693
|
+
if (!/*mobileSearchViewActive*/ ctx[30]) {
|
|
9689
9694
|
if (if_block0) ; else {
|
|
9690
9695
|
if_block0 = create_if_block_15(ctx);
|
|
9691
9696
|
if_block0.c();
|
|
@@ -9696,17 +9701,17 @@
|
|
|
9696
9701
|
if_block0 = null;
|
|
9697
9702
|
}
|
|
9698
9703
|
|
|
9699
|
-
if (dirty[1] & /*$_*/
|
|
9700
|
-
? /*$_*/ ctx[
|
|
9701
|
-
: /*$_*/ ctx[
|
|
9704
|
+
if (dirty[1] & /*$_*/ 4 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
|
|
9705
|
+
? /*$_*/ ctx[33]("casinoPage.search")
|
|
9706
|
+
: /*$_*/ ctx[33]("casinoPage.searchMobile"))) {
|
|
9702
9707
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
9703
9708
|
}
|
|
9704
9709
|
|
|
9705
|
-
if (dirty[0] & /*searchValue*/
|
|
9706
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
9710
|
+
if (dirty[0] & /*searchValue*/ 2048) {
|
|
9711
|
+
set_input_value(input, /*searchValue*/ ctx[11]);
|
|
9707
9712
|
}
|
|
9708
9713
|
|
|
9709
|
-
if (dirty[0] & /*searchValue*/
|
|
9714
|
+
if (dirty[0] & /*searchValue*/ 2048) show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
|
|
9710
9715
|
|
|
9711
9716
|
if (show_if) {
|
|
9712
9717
|
if (if_block1) {
|
|
@@ -9721,13 +9726,13 @@
|
|
|
9721
9726
|
if_block1 = null;
|
|
9722
9727
|
}
|
|
9723
9728
|
|
|
9724
|
-
if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/
|
|
9729
|
+
if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 7471104 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
|
|
9725
9730
|
? "SearchTruncated"
|
|
9726
9731
|
: ""))) {
|
|
9727
9732
|
attr_dev(div1, "class", div1_class_value);
|
|
9728
9733
|
}
|
|
9729
9734
|
|
|
9730
|
-
if (!/*favoritesScreen*/ ctx[
|
|
9735
|
+
if (!/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20]) {
|
|
9731
9736
|
if (if_block2) {
|
|
9732
9737
|
if_block2.p(ctx, dirty);
|
|
9733
9738
|
} else {
|
|
@@ -9740,20 +9745,20 @@
|
|
|
9740
9745
|
if_block2 = null;
|
|
9741
9746
|
}
|
|
9742
9747
|
|
|
9743
|
-
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/
|
|
9748
|
+
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 1091043328 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
|
|
9744
9749
|
? "CategoriesHeaderMobileSection"
|
|
9745
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9750
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[30]
|
|
9746
9751
|
? "SearchMobileActive"
|
|
9747
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9752
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
|
|
9748
9753
|
? "CategoriesHeaderSearchActive"
|
|
9749
|
-
: "") + " " + (/*adjustingScroll*/ ctx[
|
|
9754
|
+
: "") + " " + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
|
|
9750
9755
|
? "SearchStickTop"
|
|
9751
9756
|
: ""))) {
|
|
9752
9757
|
attr_dev(div2, "class", div2_class_value);
|
|
9753
9758
|
}
|
|
9754
9759
|
|
|
9755
|
-
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/
|
|
9756
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9760
|
+
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 1090519040) {
|
|
9761
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
|
|
9757
9762
|
? scrollOffset + "px"
|
|
9758
9763
|
: "");
|
|
9759
9764
|
}
|
|
@@ -9761,10 +9766,10 @@
|
|
|
9761
9766
|
d: function destroy(detaching) {
|
|
9762
9767
|
if (detaching) detach_dev(div2);
|
|
9763
9768
|
if (if_block0) if_block0.d();
|
|
9764
|
-
/*input_binding*/ ctx[
|
|
9769
|
+
/*input_binding*/ ctx[52](null);
|
|
9765
9770
|
if (if_block1) if_block1.d();
|
|
9766
9771
|
if (if_block2) if_block2.d();
|
|
9767
|
-
/*div2_binding*/ ctx[
|
|
9772
|
+
/*div2_binding*/ ctx[57](null);
|
|
9768
9773
|
mounted = false;
|
|
9769
9774
|
run_all(dispose);
|
|
9770
9775
|
}
|
|
@@ -9774,14 +9779,14 @@
|
|
|
9774
9779
|
block,
|
|
9775
9780
|
id: create_if_block_9.name,
|
|
9776
9781
|
type: "if",
|
|
9777
|
-
source: "(
|
|
9782
|
+
source: "(674:4) {#if alternativesearch === 'false'}",
|
|
9778
9783
|
ctx
|
|
9779
9784
|
});
|
|
9780
9785
|
|
|
9781
9786
|
return block;
|
|
9782
9787
|
}
|
|
9783
9788
|
|
|
9784
|
-
// (
|
|
9789
|
+
// (738:12) {#if !mobileSearchViewActive}
|
|
9785
9790
|
function create_if_block_21(ctx) {
|
|
9786
9791
|
let div;
|
|
9787
9792
|
let svg;
|
|
@@ -9795,14 +9800,14 @@
|
|
|
9795
9800
|
attr_dev(path, "fill-rule", "evenodd");
|
|
9796
9801
|
attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
|
|
9797
9802
|
attr_dev(path, "clip-rule", "evenodd");
|
|
9798
|
-
add_location(path, file,
|
|
9803
|
+
add_location(path, file, 740, 18, 29013);
|
|
9799
9804
|
attr_dev(svg, "role", "presentation");
|
|
9800
9805
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
9801
9806
|
attr_dev(svg, "viewBox", "0 0 20 20");
|
|
9802
9807
|
attr_dev(svg, "aria-hidden", "true");
|
|
9803
|
-
add_location(svg, file,
|
|
9808
|
+
add_location(svg, file, 739, 16, 28895);
|
|
9804
9809
|
attr_dev(div, "class", "SearchIcon");
|
|
9805
|
-
add_location(div, file,
|
|
9810
|
+
add_location(div, file, 738, 14, 28854);
|
|
9806
9811
|
},
|
|
9807
9812
|
m: function mount(target, anchor) {
|
|
9808
9813
|
insert_dev(target, div, anchor);
|
|
@@ -9818,14 +9823,14 @@
|
|
|
9818
9823
|
block,
|
|
9819
9824
|
id: create_if_block_21.name,
|
|
9820
9825
|
type: "if",
|
|
9821
|
-
source: "(
|
|
9826
|
+
source: "(738:12) {#if !mobileSearchViewActive}",
|
|
9822
9827
|
ctx
|
|
9823
9828
|
});
|
|
9824
9829
|
|
|
9825
9830
|
return block;
|
|
9826
9831
|
}
|
|
9827
9832
|
|
|
9828
|
-
// (
|
|
9833
|
+
// (746:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
9829
9834
|
function create_if_block_20(ctx) {
|
|
9830
9835
|
let span;
|
|
9831
9836
|
let div2;
|
|
@@ -9841,17 +9846,17 @@
|
|
|
9841
9846
|
div1 = element("div");
|
|
9842
9847
|
div0 = element("div");
|
|
9843
9848
|
attr_dev(div0, "class", "CloseIcon");
|
|
9844
|
-
add_location(div0, file,
|
|
9849
|
+
add_location(div0, file, 749, 20, 29913);
|
|
9845
9850
|
attr_dev(div1, "class", "CloseIconWrapper");
|
|
9846
|
-
add_location(div1, file,
|
|
9851
|
+
add_location(div1, file, 748, 18, 29862);
|
|
9847
9852
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
9848
|
-
add_location(div2, file,
|
|
9853
|
+
add_location(div2, file, 747, 16, 29811);
|
|
9849
9854
|
|
|
9850
|
-
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[
|
|
9855
|
+
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[35]) === "PC"
|
|
9851
9856
|
? "ClearSearchButton"
|
|
9852
9857
|
: "ClearSearchButtonMobile") + " "));
|
|
9853
9858
|
|
|
9854
|
-
add_location(span, file,
|
|
9859
|
+
add_location(span, file, 746, 14, 29659);
|
|
9855
9860
|
},
|
|
9856
9861
|
m: function mount(target, anchor) {
|
|
9857
9862
|
insert_dev(target, span, anchor);
|
|
@@ -9860,7 +9865,7 @@
|
|
|
9860
9865
|
append_dev(div1, div0);
|
|
9861
9866
|
|
|
9862
9867
|
if (!mounted) {
|
|
9863
|
-
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[
|
|
9868
|
+
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[60], false, false, false);
|
|
9864
9869
|
mounted = true;
|
|
9865
9870
|
}
|
|
9866
9871
|
},
|
|
@@ -9876,19 +9881,19 @@
|
|
|
9876
9881
|
block,
|
|
9877
9882
|
id: create_if_block_20.name,
|
|
9878
9883
|
type: "if",
|
|
9879
|
-
source: "(
|
|
9884
|
+
source: "(746:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
9880
9885
|
ctx
|
|
9881
9886
|
});
|
|
9882
9887
|
|
|
9883
9888
|
return block;
|
|
9884
9889
|
}
|
|
9885
9890
|
|
|
9886
|
-
// (
|
|
9891
|
+
// (757:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
9887
9892
|
function create_if_block_16(ctx) {
|
|
9888
9893
|
let div;
|
|
9889
9894
|
let t;
|
|
9890
|
-
let if_block0 = /*numberOfFilters*/ ctx[
|
|
9891
|
-
let if_block1 = (!/*searched*/ ctx[
|
|
9895
|
+
let if_block0 = /*numberOfFilters*/ ctx[31] && create_if_block_19(ctx);
|
|
9896
|
+
let if_block1 = (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) && create_if_block_17(ctx);
|
|
9892
9897
|
|
|
9893
9898
|
const block = {
|
|
9894
9899
|
c: function create() {
|
|
@@ -9897,7 +9902,7 @@
|
|
|
9897
9902
|
t = space();
|
|
9898
9903
|
if (if_block1) if_block1.c();
|
|
9899
9904
|
attr_dev(div, "class", "FiltersButtonsContainer");
|
|
9900
|
-
add_location(div, file,
|
|
9905
|
+
add_location(div, file, 757, 10, 30217);
|
|
9901
9906
|
},
|
|
9902
9907
|
m: function mount(target, anchor) {
|
|
9903
9908
|
insert_dev(target, div, anchor);
|
|
@@ -9906,7 +9911,7 @@
|
|
|
9906
9911
|
if (if_block1) if_block1.m(div, null);
|
|
9907
9912
|
},
|
|
9908
9913
|
p: function update(ctx, dirty) {
|
|
9909
|
-
if (/*numberOfFilters*/ ctx[
|
|
9914
|
+
if (/*numberOfFilters*/ ctx[31]) {
|
|
9910
9915
|
if (if_block0) {
|
|
9911
9916
|
if_block0.p(ctx, dirty);
|
|
9912
9917
|
} else {
|
|
@@ -9919,7 +9924,7 @@
|
|
|
9919
9924
|
if_block0 = null;
|
|
9920
9925
|
}
|
|
9921
9926
|
|
|
9922
|
-
if (!/*searched*/ ctx[
|
|
9927
|
+
if (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) {
|
|
9923
9928
|
if (if_block1) {
|
|
9924
9929
|
if_block1.p(ctx, dirty);
|
|
9925
9930
|
} else {
|
|
@@ -9943,14 +9948,14 @@
|
|
|
9943
9948
|
block,
|
|
9944
9949
|
id: create_if_block_16.name,
|
|
9945
9950
|
type: "if",
|
|
9946
|
-
source: "(
|
|
9951
|
+
source: "(757:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
9947
9952
|
ctx
|
|
9948
9953
|
});
|
|
9949
9954
|
|
|
9950
9955
|
return block;
|
|
9951
9956
|
}
|
|
9952
9957
|
|
|
9953
|
-
// (
|
|
9958
|
+
// (759:12) {#if numberOfFilters}
|
|
9954
9959
|
function create_if_block_19(ctx) {
|
|
9955
9960
|
let div1;
|
|
9956
9961
|
let div0;
|
|
@@ -9972,7 +9977,7 @@
|
|
|
9972
9977
|
polygon = svg_element("polygon");
|
|
9973
9978
|
set_style(polygon, "fill", "#FD2839");
|
|
9974
9979
|
attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
|
|
9975
|
-
add_location(polygon, file,
|
|
9980
|
+
add_location(polygon, file, 764, 22, 30807);
|
|
9976
9981
|
attr_dev(svg, "version", "1.1");
|
|
9977
9982
|
attr_dev(svg, "id", "Layer_1");
|
|
9978
9983
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -9982,13 +9987,13 @@
|
|
|
9982
9987
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
9983
9988
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
9984
9989
|
attr_dev(svg, "xml:space", "preserve");
|
|
9985
|
-
add_location(svg, file,
|
|
9990
|
+
add_location(svg, file, 762, 20, 30532);
|
|
9986
9991
|
attr_dev(span, "class", "ClearIcon");
|
|
9987
|
-
add_location(span, file,
|
|
9992
|
+
add_location(span, file, 761, 18, 30487);
|
|
9988
9993
|
attr_dev(div0, "class", "ClearButton");
|
|
9989
|
-
add_location(div0, file,
|
|
9990
|
-
attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[
|
|
9991
|
-
add_location(div1, file,
|
|
9994
|
+
add_location(div0, file, 760, 16, 30438);
|
|
9995
|
+
attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[31] ? "FiltersActive" : ""));
|
|
9996
|
+
add_location(div1, file, 759, 14, 30303);
|
|
9992
9997
|
},
|
|
9993
9998
|
m: function mount(target, anchor) {
|
|
9994
9999
|
insert_dev(target, div1, anchor);
|
|
@@ -9999,12 +10004,12 @@
|
|
|
9999
10004
|
append_dev(svg, polygon);
|
|
10000
10005
|
|
|
10001
10006
|
if (!mounted) {
|
|
10002
|
-
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[
|
|
10007
|
+
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[61], false, false, false);
|
|
10003
10008
|
mounted = true;
|
|
10004
10009
|
}
|
|
10005
10010
|
},
|
|
10006
10011
|
p: function update(ctx, dirty) {
|
|
10007
|
-
if (dirty[
|
|
10012
|
+
if (dirty[1] & /*numberOfFilters*/ 1 && div1_class_value !== (div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[31] ? "FiltersActive" : ""))) {
|
|
10008
10013
|
attr_dev(div1, "class", div1_class_value);
|
|
10009
10014
|
}
|
|
10010
10015
|
},
|
|
@@ -10019,17 +10024,17 @@
|
|
|
10019
10024
|
block,
|
|
10020
10025
|
id: create_if_block_19.name,
|
|
10021
10026
|
type: "if",
|
|
10022
|
-
source: "(
|
|
10027
|
+
source: "(759:12) {#if numberOfFilters}",
|
|
10023
10028
|
ctx
|
|
10024
10029
|
});
|
|
10025
10030
|
|
|
10026
10031
|
return block;
|
|
10027
10032
|
}
|
|
10028
10033
|
|
|
10029
|
-
// (
|
|
10034
|
+
// (772:12) {#if !searched || !recentSearches}
|
|
10030
10035
|
function create_if_block_17(ctx) {
|
|
10031
10036
|
let if_block_anchor;
|
|
10032
|
-
let if_block = !/*mostPlayedScreen*/ ctx[
|
|
10037
|
+
let if_block = !/*mostPlayedScreen*/ ctx[22] && !/*numberOfFilters*/ ctx[31] && create_if_block_18(ctx);
|
|
10033
10038
|
|
|
10034
10039
|
const block = {
|
|
10035
10040
|
c: function create() {
|
|
@@ -10041,7 +10046,7 @@
|
|
|
10041
10046
|
insert_dev(target, if_block_anchor, anchor);
|
|
10042
10047
|
},
|
|
10043
10048
|
p: function update(ctx, dirty) {
|
|
10044
|
-
if (!/*mostPlayedScreen*/ ctx[
|
|
10049
|
+
if (!/*mostPlayedScreen*/ ctx[22] && !/*numberOfFilters*/ ctx[31]) {
|
|
10045
10050
|
if (if_block) {
|
|
10046
10051
|
if_block.p(ctx, dirty);
|
|
10047
10052
|
} else {
|
|
@@ -10064,14 +10069,14 @@
|
|
|
10064
10069
|
block,
|
|
10065
10070
|
id: create_if_block_17.name,
|
|
10066
10071
|
type: "if",
|
|
10067
|
-
source: "(
|
|
10072
|
+
source: "(772:12) {#if !searched || !recentSearches}",
|
|
10068
10073
|
ctx
|
|
10069
10074
|
});
|
|
10070
10075
|
|
|
10071
10076
|
return block;
|
|
10072
10077
|
}
|
|
10073
10078
|
|
|
10074
|
-
// (
|
|
10079
|
+
// (773:14) {#if !mostPlayedScreen && !numberOfFilters}
|
|
10075
10080
|
function create_if_block_18(ctx) {
|
|
10076
10081
|
let div3;
|
|
10077
10082
|
let div0;
|
|
@@ -10104,28 +10109,28 @@
|
|
|
10104
10109
|
t3 = space();
|
|
10105
10110
|
div1 = element("div");
|
|
10106
10111
|
span = element("span");
|
|
10107
|
-
t4 = text(/*numberOfFilters*/ ctx[
|
|
10112
|
+
t4 = text(/*numberOfFilters*/ ctx[31]);
|
|
10108
10113
|
attr_dev(div0, "class", "FilterButton");
|
|
10109
|
-
add_location(div0, file,
|
|
10110
|
-
add_location(style, file,
|
|
10111
|
-
add_location(defs, file,
|
|
10114
|
+
add_location(div0, file, 774, 18, 31366);
|
|
10115
|
+
add_location(style, file, 776, 109, 31567);
|
|
10116
|
+
add_location(defs, file, 776, 103, 31561);
|
|
10112
10117
|
attr_dev(path, "class", "a");
|
|
10113
10118
|
attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
|
|
10114
10119
|
attr_dev(path, "transform", "translate(-5 -6.2)");
|
|
10115
|
-
add_location(path, file,
|
|
10120
|
+
add_location(path, file, 776, 145, 31603);
|
|
10116
10121
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10117
10122
|
attr_dev(svg, "width", "20");
|
|
10118
10123
|
attr_dev(svg, "height", "20");
|
|
10119
10124
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
10120
|
-
add_location(svg, file,
|
|
10125
|
+
add_location(svg, file, 776, 20, 31478);
|
|
10121
10126
|
attr_dev(span, "class", "NumberOfFilters");
|
|
10122
|
-
add_location(span, file,
|
|
10127
|
+
add_location(span, file, 778, 22, 32164);
|
|
10123
10128
|
attr_dev(div1, "class", "NumberOfFiltersContainer");
|
|
10124
|
-
add_location(div1, file,
|
|
10129
|
+
add_location(div1, file, 777, 20, 32103);
|
|
10125
10130
|
attr_dev(div2, "class", "FilterIconContainer");
|
|
10126
|
-
add_location(div2, file,
|
|
10131
|
+
add_location(div2, file, 775, 18, 31424);
|
|
10127
10132
|
attr_dev(div3, "class", "FilterButtonWrapper");
|
|
10128
|
-
add_location(div3, file,
|
|
10133
|
+
add_location(div3, file, 773, 16, 31274);
|
|
10129
10134
|
},
|
|
10130
10135
|
m: function mount(target, anchor) {
|
|
10131
10136
|
insert_dev(target, div3, anchor);
|
|
@@ -10143,12 +10148,12 @@
|
|
|
10143
10148
|
append_dev(span, t4);
|
|
10144
10149
|
|
|
10145
10150
|
if (!mounted) {
|
|
10146
|
-
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[
|
|
10151
|
+
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[62], false, false, false);
|
|
10147
10152
|
mounted = true;
|
|
10148
10153
|
}
|
|
10149
10154
|
},
|
|
10150
10155
|
p: function update(ctx, dirty) {
|
|
10151
|
-
if (dirty[
|
|
10156
|
+
if (dirty[1] & /*numberOfFilters*/ 1) set_data_dev(t4, /*numberOfFilters*/ ctx[31]);
|
|
10152
10157
|
},
|
|
10153
10158
|
d: function destroy(detaching) {
|
|
10154
10159
|
if (detaching) detach_dev(div3);
|
|
@@ -10161,14 +10166,14 @@
|
|
|
10161
10166
|
block,
|
|
10162
10167
|
id: create_if_block_18.name,
|
|
10163
10168
|
type: "if",
|
|
10164
|
-
source: "(
|
|
10169
|
+
source: "(773:14) {#if !mostPlayedScreen && !numberOfFilters}",
|
|
10165
10170
|
ctx
|
|
10166
10171
|
});
|
|
10167
10172
|
|
|
10168
10173
|
return block;
|
|
10169
10174
|
}
|
|
10170
10175
|
|
|
10171
|
-
// (
|
|
10176
|
+
// (681:12) {#if !mobileSearchViewActive}
|
|
10172
10177
|
function create_if_block_15(ctx) {
|
|
10173
10178
|
let div;
|
|
10174
10179
|
let svg;
|
|
@@ -10182,14 +10187,14 @@
|
|
|
10182
10187
|
attr_dev(path, "fill-rule", "evenodd");
|
|
10183
10188
|
attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
|
|
10184
10189
|
attr_dev(path, "clip-rule", "evenodd");
|
|
10185
|
-
add_location(path, file,
|
|
10190
|
+
add_location(path, file, 683, 18, 24670);
|
|
10186
10191
|
attr_dev(svg, "role", "presentation");
|
|
10187
10192
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10188
10193
|
attr_dev(svg, "viewBox", "0 0 20 20");
|
|
10189
10194
|
attr_dev(svg, "aria-hidden", "true");
|
|
10190
|
-
add_location(svg, file,
|
|
10195
|
+
add_location(svg, file, 682, 16, 24552);
|
|
10191
10196
|
attr_dev(div, "class", "SearchIcon");
|
|
10192
|
-
add_location(div, file,
|
|
10197
|
+
add_location(div, file, 681, 14, 24511);
|
|
10193
10198
|
},
|
|
10194
10199
|
m: function mount(target, anchor) {
|
|
10195
10200
|
insert_dev(target, div, anchor);
|
|
@@ -10205,14 +10210,14 @@
|
|
|
10205
10210
|
block,
|
|
10206
10211
|
id: create_if_block_15.name,
|
|
10207
10212
|
type: "if",
|
|
10208
|
-
source: "(
|
|
10213
|
+
source: "(681:12) {#if !mobileSearchViewActive}",
|
|
10209
10214
|
ctx
|
|
10210
10215
|
});
|
|
10211
10216
|
|
|
10212
10217
|
return block;
|
|
10213
10218
|
}
|
|
10214
10219
|
|
|
10215
|
-
// (
|
|
10220
|
+
// (689:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
10216
10221
|
function create_if_block_14(ctx) {
|
|
10217
10222
|
let span;
|
|
10218
10223
|
let div2;
|
|
@@ -10228,17 +10233,17 @@
|
|
|
10228
10233
|
div1 = element("div");
|
|
10229
10234
|
div0 = element("div");
|
|
10230
10235
|
attr_dev(div0, "class", "CloseIcon");
|
|
10231
|
-
add_location(div0, file,
|
|
10236
|
+
add_location(div0, file, 692, 20, 25570);
|
|
10232
10237
|
attr_dev(div1, "class", "CloseIconWrapper");
|
|
10233
|
-
add_location(div1, file,
|
|
10238
|
+
add_location(div1, file, 691, 18, 25519);
|
|
10234
10239
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
10235
|
-
add_location(div2, file,
|
|
10240
|
+
add_location(div2, file, 690, 16, 25468);
|
|
10236
10241
|
|
|
10237
|
-
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[
|
|
10242
|
+
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[35]) === "PC"
|
|
10238
10243
|
? "ClearSearchButton"
|
|
10239
10244
|
: "ClearSearchButtonMobile") + " "));
|
|
10240
10245
|
|
|
10241
|
-
add_location(span, file,
|
|
10246
|
+
add_location(span, file, 689, 14, 25316);
|
|
10242
10247
|
},
|
|
10243
10248
|
m: function mount(target, anchor) {
|
|
10244
10249
|
insert_dev(target, span, anchor);
|
|
@@ -10247,7 +10252,7 @@
|
|
|
10247
10252
|
append_dev(div1, div0);
|
|
10248
10253
|
|
|
10249
10254
|
if (!mounted) {
|
|
10250
|
-
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[
|
|
10255
|
+
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[54], false, false, false);
|
|
10251
10256
|
mounted = true;
|
|
10252
10257
|
}
|
|
10253
10258
|
},
|
|
@@ -10263,19 +10268,19 @@
|
|
|
10263
10268
|
block,
|
|
10264
10269
|
id: create_if_block_14.name,
|
|
10265
10270
|
type: "if",
|
|
10266
|
-
source: "(
|
|
10271
|
+
source: "(689:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
10267
10272
|
ctx
|
|
10268
10273
|
});
|
|
10269
10274
|
|
|
10270
10275
|
return block;
|
|
10271
10276
|
}
|
|
10272
10277
|
|
|
10273
|
-
// (
|
|
10278
|
+
// (700:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
10274
10279
|
function create_if_block_10(ctx) {
|
|
10275
10280
|
let div;
|
|
10276
10281
|
let t;
|
|
10277
|
-
let if_block0 = /*numberOfFilters*/ ctx[
|
|
10278
|
-
let if_block1 = (!/*searched*/ ctx[
|
|
10282
|
+
let if_block0 = /*numberOfFilters*/ ctx[31] && create_if_block_13(ctx);
|
|
10283
|
+
let if_block1 = (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) && create_if_block_11(ctx);
|
|
10279
10284
|
|
|
10280
10285
|
const block = {
|
|
10281
10286
|
c: function create() {
|
|
@@ -10284,7 +10289,7 @@
|
|
|
10284
10289
|
t = space();
|
|
10285
10290
|
if (if_block1) if_block1.c();
|
|
10286
10291
|
attr_dev(div, "class", "FiltersButtonsContainer");
|
|
10287
|
-
add_location(div, file,
|
|
10292
|
+
add_location(div, file, 700, 10, 25874);
|
|
10288
10293
|
},
|
|
10289
10294
|
m: function mount(target, anchor) {
|
|
10290
10295
|
insert_dev(target, div, anchor);
|
|
@@ -10293,7 +10298,7 @@
|
|
|
10293
10298
|
if (if_block1) if_block1.m(div, null);
|
|
10294
10299
|
},
|
|
10295
10300
|
p: function update(ctx, dirty) {
|
|
10296
|
-
if (/*numberOfFilters*/ ctx[
|
|
10301
|
+
if (/*numberOfFilters*/ ctx[31]) {
|
|
10297
10302
|
if (if_block0) {
|
|
10298
10303
|
if_block0.p(ctx, dirty);
|
|
10299
10304
|
} else {
|
|
@@ -10306,7 +10311,7 @@
|
|
|
10306
10311
|
if_block0 = null;
|
|
10307
10312
|
}
|
|
10308
10313
|
|
|
10309
|
-
if (!/*searched*/ ctx[
|
|
10314
|
+
if (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) {
|
|
10310
10315
|
if (if_block1) {
|
|
10311
10316
|
if_block1.p(ctx, dirty);
|
|
10312
10317
|
} else {
|
|
@@ -10330,14 +10335,14 @@
|
|
|
10330
10335
|
block,
|
|
10331
10336
|
id: create_if_block_10.name,
|
|
10332
10337
|
type: "if",
|
|
10333
|
-
source: "(
|
|
10338
|
+
source: "(700:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
10334
10339
|
ctx
|
|
10335
10340
|
});
|
|
10336
10341
|
|
|
10337
10342
|
return block;
|
|
10338
10343
|
}
|
|
10339
10344
|
|
|
10340
|
-
// (
|
|
10345
|
+
// (702:12) {#if numberOfFilters}
|
|
10341
10346
|
function create_if_block_13(ctx) {
|
|
10342
10347
|
let div1;
|
|
10343
10348
|
let div0;
|
|
@@ -10358,7 +10363,7 @@
|
|
|
10358
10363
|
polygon = svg_element("polygon");
|
|
10359
10364
|
set_style(polygon, "fill", "#FD2839");
|
|
10360
10365
|
attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
|
|
10361
|
-
add_location(polygon, file,
|
|
10366
|
+
add_location(polygon, file, 707, 22, 26423);
|
|
10362
10367
|
attr_dev(svg, "version", "1.1");
|
|
10363
10368
|
attr_dev(svg, "id", "Layer_1");
|
|
10364
10369
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -10368,13 +10373,13 @@
|
|
|
10368
10373
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
10369
10374
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
10370
10375
|
attr_dev(svg, "xml:space", "preserve");
|
|
10371
|
-
add_location(svg, file,
|
|
10376
|
+
add_location(svg, file, 705, 20, 26148);
|
|
10372
10377
|
attr_dev(span, "class", "ClearIcon");
|
|
10373
|
-
add_location(span, file,
|
|
10378
|
+
add_location(span, file, 704, 18, 26103);
|
|
10374
10379
|
attr_dev(div0, "class", "ClearButton");
|
|
10375
|
-
add_location(div0, file,
|
|
10380
|
+
add_location(div0, file, 703, 16, 26054);
|
|
10376
10381
|
attr_dev(div1, "class", "ClearFilterButtonWrapper");
|
|
10377
|
-
add_location(div1, file,
|
|
10382
|
+
add_location(div1, file, 702, 14, 25960);
|
|
10378
10383
|
},
|
|
10379
10384
|
m: function mount(target, anchor) {
|
|
10380
10385
|
insert_dev(target, div1, anchor);
|
|
@@ -10385,7 +10390,7 @@
|
|
|
10385
10390
|
append_dev(svg, polygon);
|
|
10386
10391
|
|
|
10387
10392
|
if (!mounted) {
|
|
10388
|
-
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[
|
|
10393
|
+
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[55], false, false, false);
|
|
10389
10394
|
mounted = true;
|
|
10390
10395
|
}
|
|
10391
10396
|
},
|
|
@@ -10401,17 +10406,17 @@
|
|
|
10401
10406
|
block,
|
|
10402
10407
|
id: create_if_block_13.name,
|
|
10403
10408
|
type: "if",
|
|
10404
|
-
source: "(
|
|
10409
|
+
source: "(702:12) {#if numberOfFilters}",
|
|
10405
10410
|
ctx
|
|
10406
10411
|
});
|
|
10407
10412
|
|
|
10408
10413
|
return block;
|
|
10409
10414
|
}
|
|
10410
10415
|
|
|
10411
|
-
// (
|
|
10416
|
+
// (715:12) {#if !searched || !recentSearches}
|
|
10412
10417
|
function create_if_block_11(ctx) {
|
|
10413
10418
|
let if_block_anchor;
|
|
10414
|
-
let if_block = !/*mostPlayedScreen*/ ctx[
|
|
10419
|
+
let if_block = !/*mostPlayedScreen*/ ctx[22] && create_if_block_12(ctx);
|
|
10415
10420
|
|
|
10416
10421
|
const block = {
|
|
10417
10422
|
c: function create() {
|
|
@@ -10423,7 +10428,7 @@
|
|
|
10423
10428
|
insert_dev(target, if_block_anchor, anchor);
|
|
10424
10429
|
},
|
|
10425
10430
|
p: function update(ctx, dirty) {
|
|
10426
|
-
if (!/*mostPlayedScreen*/ ctx[
|
|
10431
|
+
if (!/*mostPlayedScreen*/ ctx[22]) {
|
|
10427
10432
|
if (if_block) {
|
|
10428
10433
|
if_block.p(ctx, dirty);
|
|
10429
10434
|
} else {
|
|
@@ -10446,14 +10451,14 @@
|
|
|
10446
10451
|
block,
|
|
10447
10452
|
id: create_if_block_11.name,
|
|
10448
10453
|
type: "if",
|
|
10449
|
-
source: "(
|
|
10454
|
+
source: "(715:12) {#if !searched || !recentSearches}",
|
|
10450
10455
|
ctx
|
|
10451
10456
|
});
|
|
10452
10457
|
|
|
10453
10458
|
return block;
|
|
10454
10459
|
}
|
|
10455
10460
|
|
|
10456
|
-
// (
|
|
10461
|
+
// (716:14) {#if !mostPlayedScreen}
|
|
10457
10462
|
function create_if_block_12(ctx) {
|
|
10458
10463
|
let div3;
|
|
10459
10464
|
let div0;
|
|
@@ -10486,28 +10491,28 @@
|
|
|
10486
10491
|
t3 = space();
|
|
10487
10492
|
div1 = element("div");
|
|
10488
10493
|
span = element("span");
|
|
10489
|
-
t4 = text(/*numberOfFilters*/ ctx[
|
|
10494
|
+
t4 = text(/*numberOfFilters*/ ctx[31]);
|
|
10490
10495
|
attr_dev(div0, "class", "FilterButton");
|
|
10491
|
-
add_location(div0, file,
|
|
10492
|
-
add_location(style, file,
|
|
10493
|
-
add_location(defs, file,
|
|
10496
|
+
add_location(div0, file, 717, 18, 26962);
|
|
10497
|
+
add_location(style, file, 719, 109, 27163);
|
|
10498
|
+
add_location(defs, file, 719, 103, 27157);
|
|
10494
10499
|
attr_dev(path, "class", "a");
|
|
10495
10500
|
attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
|
|
10496
10501
|
attr_dev(path, "transform", "translate(-5 -6.2)");
|
|
10497
|
-
add_location(path, file,
|
|
10502
|
+
add_location(path, file, 719, 145, 27199);
|
|
10498
10503
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10499
10504
|
attr_dev(svg, "width", "20");
|
|
10500
10505
|
attr_dev(svg, "height", "20");
|
|
10501
10506
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
10502
|
-
add_location(svg, file,
|
|
10507
|
+
add_location(svg, file, 719, 20, 27074);
|
|
10503
10508
|
attr_dev(span, "class", "NumberOfFilters");
|
|
10504
|
-
add_location(span, file,
|
|
10509
|
+
add_location(span, file, 721, 22, 27760);
|
|
10505
10510
|
attr_dev(div1, "class", "NumberOfFiltersContainer");
|
|
10506
|
-
add_location(div1, file,
|
|
10511
|
+
add_location(div1, file, 720, 20, 27699);
|
|
10507
10512
|
attr_dev(div2, "class", "FilterIconContainer");
|
|
10508
|
-
add_location(div2, file,
|
|
10513
|
+
add_location(div2, file, 718, 18, 27020);
|
|
10509
10514
|
attr_dev(div3, "class", "FilterButtonWrapper");
|
|
10510
|
-
add_location(div3, file,
|
|
10515
|
+
add_location(div3, file, 716, 16, 26870);
|
|
10511
10516
|
},
|
|
10512
10517
|
m: function mount(target, anchor) {
|
|
10513
10518
|
insert_dev(target, div3, anchor);
|
|
@@ -10525,12 +10530,12 @@
|
|
|
10525
10530
|
append_dev(span, t4);
|
|
10526
10531
|
|
|
10527
10532
|
if (!mounted) {
|
|
10528
|
-
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[
|
|
10533
|
+
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[56], false, false, false);
|
|
10529
10534
|
mounted = true;
|
|
10530
10535
|
}
|
|
10531
10536
|
},
|
|
10532
10537
|
p: function update(ctx, dirty) {
|
|
10533
|
-
if (dirty[
|
|
10538
|
+
if (dirty[1] & /*numberOfFilters*/ 1) set_data_dev(t4, /*numberOfFilters*/ ctx[31]);
|
|
10534
10539
|
},
|
|
10535
10540
|
d: function destroy(detaching) {
|
|
10536
10541
|
if (detaching) detach_dev(div3);
|
|
@@ -10543,14 +10548,14 @@
|
|
|
10543
10548
|
block,
|
|
10544
10549
|
id: create_if_block_12.name,
|
|
10545
10550
|
type: "if",
|
|
10546
|
-
source: "(
|
|
10551
|
+
source: "(716:14) {#if !mostPlayedScreen}",
|
|
10547
10552
|
ctx
|
|
10548
10553
|
});
|
|
10549
10554
|
|
|
10550
10555
|
return block;
|
|
10551
10556
|
}
|
|
10552
10557
|
|
|
10553
|
-
// (
|
|
10558
|
+
// (862:10) {#if !recentSearches}
|
|
10554
10559
|
function create_if_block_8(ctx) {
|
|
10555
10560
|
let casino_games_category_section;
|
|
10556
10561
|
|
|
@@ -10563,12 +10568,12 @@
|
|
|
10563
10568
|
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
10564
10569
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10565
10570
|
set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
|
|
10566
|
-
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[
|
|
10571
|
+
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[27]);
|
|
10567
10572
|
set_custom_element_data(casino_games_category_section, "categorygames", "9");
|
|
10568
10573
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10569
10574
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10570
10575
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10571
|
-
add_location(casino_games_category_section, file,
|
|
10576
|
+
add_location(casino_games_category_section, file, 862, 12, 34811);
|
|
10572
10577
|
},
|
|
10573
10578
|
m: function mount(target, anchor) {
|
|
10574
10579
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -10598,8 +10603,8 @@
|
|
|
10598
10603
|
set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
|
|
10599
10604
|
}
|
|
10600
10605
|
|
|
10601
|
-
if (dirty[0] & /*activeCategory*/
|
|
10602
|
-
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[
|
|
10606
|
+
if (dirty[0] & /*activeCategory*/ 134217728) {
|
|
10607
|
+
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[27]);
|
|
10603
10608
|
}
|
|
10604
10609
|
|
|
10605
10610
|
if (dirty[0] & /*clientstyling*/ 32) {
|
|
@@ -10619,19 +10624,19 @@
|
|
|
10619
10624
|
block,
|
|
10620
10625
|
id: create_if_block_8.name,
|
|
10621
10626
|
type: "if",
|
|
10622
|
-
source: "(
|
|
10627
|
+
source: "(862:10) {#if !recentSearches}",
|
|
10623
10628
|
ctx
|
|
10624
10629
|
});
|
|
10625
10630
|
|
|
10626
10631
|
return block;
|
|
10627
10632
|
}
|
|
10628
10633
|
|
|
10629
|
-
// (
|
|
10634
|
+
// (842:35)
|
|
10630
10635
|
function create_if_block_6(ctx) {
|
|
10631
10636
|
let if_block_anchor;
|
|
10632
10637
|
|
|
10633
10638
|
function select_block_type_3(ctx, dirty) {
|
|
10634
|
-
if (/*mostPlayedEmpty*/ ctx[
|
|
10639
|
+
if (/*mostPlayedEmpty*/ ctx[23]) return create_if_block_7;
|
|
10635
10640
|
return create_else_block_1;
|
|
10636
10641
|
}
|
|
10637
10642
|
|
|
@@ -10670,14 +10675,14 @@
|
|
|
10670
10675
|
block,
|
|
10671
10676
|
id: create_if_block_6.name,
|
|
10672
10677
|
type: "if",
|
|
10673
|
-
source: "(
|
|
10678
|
+
source: "(842:35) ",
|
|
10674
10679
|
ctx
|
|
10675
10680
|
});
|
|
10676
10681
|
|
|
10677
10682
|
return block;
|
|
10678
10683
|
}
|
|
10679
10684
|
|
|
10680
|
-
// (
|
|
10685
|
+
// (828:34)
|
|
10681
10686
|
function create_if_block_5(ctx) {
|
|
10682
10687
|
let casino_games_category_section;
|
|
10683
10688
|
let showFavoriteGames_action;
|
|
@@ -10697,13 +10702,13 @@
|
|
|
10697
10702
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10698
10703
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10699
10704
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10700
|
-
add_location(casino_games_category_section, file,
|
|
10705
|
+
add_location(casino_games_category_section, file, 828, 10, 33684);
|
|
10701
10706
|
},
|
|
10702
10707
|
m: function mount(target, anchor) {
|
|
10703
10708
|
insert_dev(target, casino_games_category_section, anchor);
|
|
10704
10709
|
|
|
10705
10710
|
if (!mounted) {
|
|
10706
|
-
dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[
|
|
10711
|
+
dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[36].call(null, casino_games_category_section, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[15]}/favorites/`, /*sessionID*/ ctx[16], /*playerID*/ ctx[15])));
|
|
10707
10712
|
mounted = true;
|
|
10708
10713
|
}
|
|
10709
10714
|
},
|
|
@@ -10740,7 +10745,7 @@
|
|
|
10740
10745
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10741
10746
|
}
|
|
10742
10747
|
|
|
10743
|
-
if (showFavoriteGames_action && is_function(showFavoriteGames_action.update) && dirty[0] & /*endpoint, playerID, sessionID*/
|
|
10748
|
+
if (showFavoriteGames_action && is_function(showFavoriteGames_action.update) && dirty[0] & /*endpoint, playerID, sessionID*/ 98305) showFavoriteGames_action.update.call(null, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[15]}/favorites/`, /*sessionID*/ ctx[16], /*playerID*/ ctx[15]));
|
|
10744
10749
|
},
|
|
10745
10750
|
d: function destroy(detaching) {
|
|
10746
10751
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -10753,17 +10758,17 @@
|
|
|
10753
10758
|
block,
|
|
10754
10759
|
id: create_if_block_5.name,
|
|
10755
10760
|
type: "if",
|
|
10756
|
-
source: "(
|
|
10761
|
+
source: "(828:34) ",
|
|
10757
10762
|
ctx
|
|
10758
10763
|
});
|
|
10759
10764
|
|
|
10760
10765
|
return block;
|
|
10761
10766
|
}
|
|
10762
10767
|
|
|
10763
|
-
// (
|
|
10768
|
+
// (809:8) {#if lobbyScreen}
|
|
10764
10769
|
function create_if_block_4(ctx) {
|
|
10765
10770
|
let each_1_anchor;
|
|
10766
|
-
let each_value = /*shownCategories*/ ctx[
|
|
10771
|
+
let each_value = /*shownCategories*/ ctx[26];
|
|
10767
10772
|
validate_each_argument(each_value);
|
|
10768
10773
|
let each_blocks = [];
|
|
10769
10774
|
|
|
@@ -10787,8 +10792,8 @@
|
|
|
10787
10792
|
insert_dev(target, each_1_anchor, anchor);
|
|
10788
10793
|
},
|
|
10789
10794
|
p: function update(ctx, dirty) {
|
|
10790
|
-
if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/
|
|
10791
|
-
each_value = /*shownCategories*/ ctx[
|
|
10795
|
+
if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/ 67109631) {
|
|
10796
|
+
each_value = /*shownCategories*/ ctx[26];
|
|
10792
10797
|
validate_each_argument(each_value);
|
|
10793
10798
|
let i;
|
|
10794
10799
|
|
|
@@ -10821,14 +10826,14 @@
|
|
|
10821
10826
|
block,
|
|
10822
10827
|
id: create_if_block_4.name,
|
|
10823
10828
|
type: "if",
|
|
10824
|
-
source: "(
|
|
10829
|
+
source: "(809:8) {#if lobbyScreen}",
|
|
10825
10830
|
ctx
|
|
10826
10831
|
});
|
|
10827
10832
|
|
|
10828
10833
|
return block;
|
|
10829
10834
|
}
|
|
10830
10835
|
|
|
10831
|
-
// (
|
|
10836
|
+
// (794:6) {#if searched}
|
|
10832
10837
|
function create_if_block_3(ctx) {
|
|
10833
10838
|
let casino_games_category_section;
|
|
10834
10839
|
let sendSearchData_action;
|
|
@@ -10848,13 +10853,13 @@
|
|
|
10848
10853
|
set_custom_element_data(casino_games_category_section, "categoryindex", "0");
|
|
10849
10854
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10850
10855
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10851
|
-
add_location(casino_games_category_section, file,
|
|
10856
|
+
add_location(casino_games_category_section, file, 794, 8, 32554);
|
|
10852
10857
|
},
|
|
10853
10858
|
m: function mount(target, anchor) {
|
|
10854
10859
|
insert_dev(target, casino_games_category_section, anchor);
|
|
10855
10860
|
|
|
10856
10861
|
if (!mounted) {
|
|
10857
|
-
dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[
|
|
10862
|
+
dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[44].call(null, casino_games_category_section, /*searchArray*/ ctx[25]));
|
|
10858
10863
|
mounted = true;
|
|
10859
10864
|
}
|
|
10860
10865
|
},
|
|
@@ -10891,7 +10896,7 @@
|
|
|
10891
10896
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10892
10897
|
}
|
|
10893
10898
|
|
|
10894
|
-
if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/
|
|
10899
|
+
if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/ 33554432) sendSearchData_action.update.call(null, /*searchArray*/ ctx[25]);
|
|
10895
10900
|
},
|
|
10896
10901
|
d: function destroy(detaching) {
|
|
10897
10902
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -10904,17 +10909,17 @@
|
|
|
10904
10909
|
block,
|
|
10905
10910
|
id: create_if_block_3.name,
|
|
10906
10911
|
type: "if",
|
|
10907
|
-
source: "(
|
|
10912
|
+
source: "(794:6) {#if searched}",
|
|
10908
10913
|
ctx
|
|
10909
10914
|
});
|
|
10910
10915
|
|
|
10911
10916
|
return block;
|
|
10912
10917
|
}
|
|
10913
10918
|
|
|
10914
|
-
// (
|
|
10919
|
+
// (791:4) {#if isLoading}
|
|
10915
10920
|
function create_if_block_2(ctx) {
|
|
10916
10921
|
let p;
|
|
10917
|
-
let t_value = /*$_*/ ctx[
|
|
10922
|
+
let t_value = /*$_*/ ctx[33]("casinoPage.loading") + "";
|
|
10918
10923
|
let t;
|
|
10919
10924
|
|
|
10920
10925
|
const block = {
|
|
@@ -10922,14 +10927,14 @@
|
|
|
10922
10927
|
p = element("p");
|
|
10923
10928
|
t = text(t_value);
|
|
10924
10929
|
attr_dev(p, "class", "SearchLoading");
|
|
10925
|
-
add_location(p, file,
|
|
10930
|
+
add_location(p, file, 791, 6, 32457);
|
|
10926
10931
|
},
|
|
10927
10932
|
m: function mount(target, anchor) {
|
|
10928
10933
|
insert_dev(target, p, anchor);
|
|
10929
10934
|
append_dev(p, t);
|
|
10930
10935
|
},
|
|
10931
10936
|
p: function update(ctx, dirty) {
|
|
10932
|
-
if (dirty[1] & /*$_*/
|
|
10937
|
+
if (dirty[1] & /*$_*/ 4 && t_value !== (t_value = /*$_*/ ctx[33]("casinoPage.loading") + "")) set_data_dev(t, t_value);
|
|
10933
10938
|
},
|
|
10934
10939
|
d: function destroy(detaching) {
|
|
10935
10940
|
if (detaching) detach_dev(p);
|
|
@@ -10940,14 +10945,14 @@
|
|
|
10940
10945
|
block,
|
|
10941
10946
|
id: create_if_block_2.name,
|
|
10942
10947
|
type: "if",
|
|
10943
|
-
source: "(
|
|
10948
|
+
source: "(791:4) {#if isLoading}",
|
|
10944
10949
|
ctx
|
|
10945
10950
|
});
|
|
10946
10951
|
|
|
10947
10952
|
return block;
|
|
10948
10953
|
}
|
|
10949
10954
|
|
|
10950
|
-
// (
|
|
10955
|
+
// (845:10) {:else}
|
|
10951
10956
|
function create_else_block_1(ctx) {
|
|
10952
10957
|
let casino_games_category_section;
|
|
10953
10958
|
|
|
@@ -10966,7 +10971,7 @@
|
|
|
10966
10971
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10967
10972
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10968
10973
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10969
|
-
add_location(casino_games_category_section, file,
|
|
10974
|
+
add_location(casino_games_category_section, file, 845, 12, 34288);
|
|
10970
10975
|
},
|
|
10971
10976
|
m: function mount(target, anchor) {
|
|
10972
10977
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -11013,14 +11018,14 @@
|
|
|
11013
11018
|
block,
|
|
11014
11019
|
id: create_else_block_1.name,
|
|
11015
11020
|
type: "else",
|
|
11016
|
-
source: "(
|
|
11021
|
+
source: "(845:10) {:else}",
|
|
11017
11022
|
ctx
|
|
11018
11023
|
});
|
|
11019
11024
|
|
|
11020
11025
|
return block;
|
|
11021
11026
|
}
|
|
11022
11027
|
|
|
11023
|
-
// (
|
|
11028
|
+
// (843:10) {#if mostPlayedEmpty}
|
|
11024
11029
|
function create_if_block_7(ctx) {
|
|
11025
11030
|
let p;
|
|
11026
11031
|
|
|
@@ -11029,7 +11034,7 @@
|
|
|
11029
11034
|
p = element("p");
|
|
11030
11035
|
p.textContent = "You have no games played!";
|
|
11031
11036
|
attr_dev(p, "class", "SearchLoading");
|
|
11032
|
-
add_location(p, file,
|
|
11037
|
+
add_location(p, file, 843, 12, 34203);
|
|
11033
11038
|
},
|
|
11034
11039
|
m: function mount(target, anchor) {
|
|
11035
11040
|
insert_dev(target, p, anchor);
|
|
@@ -11044,14 +11049,14 @@
|
|
|
11044
11049
|
block,
|
|
11045
11050
|
id: create_if_block_7.name,
|
|
11046
11051
|
type: "if",
|
|
11047
|
-
source: "(
|
|
11052
|
+
source: "(843:10) {#if mostPlayedEmpty}",
|
|
11048
11053
|
ctx
|
|
11049
11054
|
});
|
|
11050
11055
|
|
|
11051
11056
|
return block;
|
|
11052
11057
|
}
|
|
11053
11058
|
|
|
11054
|
-
// (
|
|
11059
|
+
// (810:10) {#each shownCategories as category, index}
|
|
11055
11060
|
function create_each_block(ctx) {
|
|
11056
11061
|
let casino_games_category_section;
|
|
11057
11062
|
let casino_games_category_section_categoryid_value;
|
|
@@ -11067,25 +11072,25 @@
|
|
|
11067
11072
|
set_custom_element_data(casino_games_category_section, "endpoint", /*endpoint*/ ctx[0]);
|
|
11068
11073
|
set_custom_element_data(casino_games_category_section, "datasource", /*datasource*/ ctx[1]);
|
|
11069
11074
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
11070
|
-
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[
|
|
11071
|
-
set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[
|
|
11075
|
+
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[110]);
|
|
11076
|
+
set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[112]);
|
|
11072
11077
|
set_custom_element_data(casino_games_category_section, "categorygames", "9");
|
|
11073
11078
|
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
11074
11079
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
11075
11080
|
|
|
11076
|
-
set_style(casino_games_category_section, "background-color", /*index*/ ctx[
|
|
11081
|
+
set_style(casino_games_category_section, "background-color", /*index*/ ctx[112] % 2 !== 0
|
|
11077
11082
|
? /*categorybackground*/ ctx[7]
|
|
11078
11083
|
: "transparent");
|
|
11079
11084
|
|
|
11080
11085
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
11081
11086
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
11082
|
-
add_location(casino_games_category_section, file,
|
|
11087
|
+
add_location(casino_games_category_section, file, 810, 12, 33029);
|
|
11083
11088
|
},
|
|
11084
11089
|
m: function mount(target, anchor) {
|
|
11085
11090
|
insert_dev(target, casino_games_category_section, anchor);
|
|
11086
11091
|
|
|
11087
11092
|
if (!mounted) {
|
|
11088
|
-
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[
|
|
11093
|
+
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[43].call(null, casino_games_category_section, /*category*/ ctx[110]));
|
|
11089
11094
|
mounted = true;
|
|
11090
11095
|
}
|
|
11091
11096
|
},
|
|
@@ -11112,7 +11117,7 @@
|
|
|
11112
11117
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
11113
11118
|
}
|
|
11114
11119
|
|
|
11115
|
-
if (dirty[0] & /*shownCategories*/
|
|
11120
|
+
if (dirty[0] & /*shownCategories*/ 67108864 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[110])) {
|
|
11116
11121
|
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value);
|
|
11117
11122
|
}
|
|
11118
11123
|
|
|
@@ -11121,7 +11126,7 @@
|
|
|
11121
11126
|
}
|
|
11122
11127
|
|
|
11123
11128
|
if (dirty[0] & /*categorybackground*/ 128) {
|
|
11124
|
-
set_style(casino_games_category_section, "background-color", /*index*/ ctx[
|
|
11129
|
+
set_style(casino_games_category_section, "background-color", /*index*/ ctx[112] % 2 !== 0
|
|
11125
11130
|
? /*categorybackground*/ ctx[7]
|
|
11126
11131
|
: "transparent");
|
|
11127
11132
|
}
|
|
@@ -11134,7 +11139,7 @@
|
|
|
11134
11139
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
11135
11140
|
}
|
|
11136
11141
|
|
|
11137
|
-
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/
|
|
11142
|
+
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 67108864) sendCategoryData_action.update.call(null, /*category*/ ctx[110]);
|
|
11138
11143
|
},
|
|
11139
11144
|
d: function destroy(detaching) {
|
|
11140
11145
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -11147,14 +11152,14 @@
|
|
|
11147
11152
|
block,
|
|
11148
11153
|
id: create_each_block.name,
|
|
11149
11154
|
type: "each",
|
|
11150
|
-
source: "(
|
|
11155
|
+
source: "(810:10) {#each shownCategories as category, index}",
|
|
11151
11156
|
ctx
|
|
11152
11157
|
});
|
|
11153
11158
|
|
|
11154
11159
|
return block;
|
|
11155
11160
|
}
|
|
11156
11161
|
|
|
11157
|
-
// (
|
|
11162
|
+
// (880:4) {#if isLoggedIn}
|
|
11158
11163
|
function create_if_block_1(ctx) {
|
|
11159
11164
|
let div1;
|
|
11160
11165
|
let div0;
|
|
@@ -11162,11 +11167,11 @@
|
|
|
11162
11167
|
let path;
|
|
11163
11168
|
let t0;
|
|
11164
11169
|
let p;
|
|
11165
|
-
let t1_value = /*$_*/ ctx[
|
|
11170
|
+
let t1_value = /*$_*/ ctx[33]("casinoPage.break") + "";
|
|
11166
11171
|
let t1;
|
|
11167
11172
|
let t2;
|
|
11168
11173
|
let button;
|
|
11169
|
-
let t3_value = /*$_*/ ctx[
|
|
11174
|
+
let t3_value = /*$_*/ ctx[33]("casinoPage.breakButton") + "";
|
|
11170
11175
|
let t3;
|
|
11171
11176
|
let mounted;
|
|
11172
11177
|
let dispose;
|
|
@@ -11187,7 +11192,7 @@
|
|
|
11187
11192
|
attr_dev(path, "stroke-linejoin", "round");
|
|
11188
11193
|
attr_dev(path, "stroke-width", "2");
|
|
11189
11194
|
attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
|
|
11190
|
-
add_location(path, file,
|
|
11195
|
+
add_location(path, file, 882, 140, 35570);
|
|
11191
11196
|
attr_dev(svg, "class", "w-1 h-1");
|
|
11192
11197
|
attr_dev(svg, "fill", "none");
|
|
11193
11198
|
attr_dev(svg, "stroke", "white");
|
|
@@ -11195,18 +11200,18 @@
|
|
|
11195
11200
|
attr_dev(svg, "height", "34px");
|
|
11196
11201
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11197
11202
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11198
|
-
add_location(svg, file,
|
|
11199
|
-
add_location(p, file,
|
|
11203
|
+
add_location(svg, file, 882, 10, 35440);
|
|
11204
|
+
add_location(p, file, 883, 10, 35712);
|
|
11200
11205
|
attr_dev(div0, "class", "PanicText");
|
|
11201
|
-
add_location(div0, file,
|
|
11206
|
+
add_location(div0, file, 881, 8, 35406);
|
|
11202
11207
|
attr_dev(button, "class", "PanicButton");
|
|
11203
|
-
add_location(button, file,
|
|
11208
|
+
add_location(button, file, 885, 8, 35767);
|
|
11204
11209
|
|
|
11205
|
-
attr_dev(div1, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[
|
|
11210
|
+
attr_dev(div1, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
|
|
11206
11211
|
? "PanicSectionMobile"
|
|
11207
11212
|
: ""));
|
|
11208
11213
|
|
|
11209
|
-
add_location(div1, file,
|
|
11214
|
+
add_location(div1, file, 880, 6, 35309);
|
|
11210
11215
|
},
|
|
11211
11216
|
m: function mount(target, anchor) {
|
|
11212
11217
|
insert_dev(target, div1, anchor);
|
|
@@ -11221,13 +11226,13 @@
|
|
|
11221
11226
|
append_dev(button, t3);
|
|
11222
11227
|
|
|
11223
11228
|
if (!mounted) {
|
|
11224
|
-
dispose = listen_dev(button, "click", /*click_handler_7*/ ctx[
|
|
11229
|
+
dispose = listen_dev(button, "click", /*click_handler_7*/ ctx[64], false, false, false);
|
|
11225
11230
|
mounted = true;
|
|
11226
11231
|
}
|
|
11227
11232
|
},
|
|
11228
11233
|
p: function update(ctx, dirty) {
|
|
11229
|
-
if (dirty[1] & /*$_*/
|
|
11230
|
-
if (dirty[1] & /*$_*/
|
|
11234
|
+
if (dirty[1] & /*$_*/ 4 && t1_value !== (t1_value = /*$_*/ ctx[33]("casinoPage.break") + "")) set_data_dev(t1, t1_value);
|
|
11235
|
+
if (dirty[1] & /*$_*/ 4 && t3_value !== (t3_value = /*$_*/ ctx[33]("casinoPage.breakButton") + "")) set_data_dev(t3, t3_value);
|
|
11231
11236
|
},
|
|
11232
11237
|
d: function destroy(detaching) {
|
|
11233
11238
|
if (detaching) detach_dev(div1);
|
|
@@ -11240,7 +11245,7 @@
|
|
|
11240
11245
|
block,
|
|
11241
11246
|
id: create_if_block_1.name,
|
|
11242
11247
|
type: "if",
|
|
11243
|
-
source: "(
|
|
11248
|
+
source: "(880:4) {#if isLoggedIn}",
|
|
11244
11249
|
ctx
|
|
11245
11250
|
});
|
|
11246
11251
|
|
|
@@ -11251,7 +11256,7 @@
|
|
|
11251
11256
|
let if_block_anchor;
|
|
11252
11257
|
|
|
11253
11258
|
function select_block_type(ctx, dirty) {
|
|
11254
|
-
if (/*hasErrors*/ ctx[
|
|
11259
|
+
if (/*hasErrors*/ ctx[13]) return create_if_block;
|
|
11255
11260
|
return create_else_block;
|
|
11256
11261
|
}
|
|
11257
11262
|
|
|
@@ -11308,7 +11313,7 @@
|
|
|
11308
11313
|
function instance($$self, $$props, $$invalidate) {
|
|
11309
11314
|
let $_;
|
|
11310
11315
|
validate_store(X, "_");
|
|
11311
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
|
11316
|
+
component_subscribe($$self, X, $$value => $$invalidate(33, $_ = $$value));
|
|
11312
11317
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
11313
11318
|
validate_slots("undefined", slots, []);
|
|
11314
11319
|
|
|
@@ -11325,6 +11330,7 @@
|
|
|
11325
11330
|
let { favorites = "" } = $$props;
|
|
11326
11331
|
let { mostplayed = "" } = $$props;
|
|
11327
11332
|
let { lobbyid = "casinodefault" } = $$props; // identifier for recent searched
|
|
11333
|
+
let { containermaxwidth = "" } = $$props;
|
|
11328
11334
|
|
|
11329
11335
|
// CasinoPage loading state
|
|
11330
11336
|
let isLoading = false;
|
|
@@ -11385,33 +11391,33 @@
|
|
|
11385
11391
|
});
|
|
11386
11392
|
|
|
11387
11393
|
const CategoryChangeHandler = categoryEvent => {
|
|
11388
|
-
$$invalidate(
|
|
11389
|
-
$$invalidate(
|
|
11394
|
+
$$invalidate(19, searched = false);
|
|
11395
|
+
$$invalidate(11, searchValue = "");
|
|
11390
11396
|
|
|
11391
11397
|
switch (categoryEvent.data.itemId) {
|
|
11392
11398
|
case "LOBBY":
|
|
11393
|
-
$$invalidate(
|
|
11394
|
-
$$invalidate(
|
|
11395
|
-
$$invalidate(
|
|
11396
|
-
$$invalidate(
|
|
11399
|
+
$$invalidate(21, lobbyScreen = true);
|
|
11400
|
+
$$invalidate(17, favoritesScreen = false);
|
|
11401
|
+
$$invalidate(27, activeCategory = "");
|
|
11402
|
+
$$invalidate(22, mostPlayedScreen = false);
|
|
11397
11403
|
scrollTop = true;
|
|
11398
11404
|
break;
|
|
11399
11405
|
case "FAVORITES":
|
|
11400
|
-
$$invalidate(
|
|
11401
|
-
$$invalidate(
|
|
11402
|
-
$$invalidate(
|
|
11403
|
-
$$invalidate(
|
|
11406
|
+
$$invalidate(21, lobbyScreen = false);
|
|
11407
|
+
$$invalidate(17, favoritesScreen = true);
|
|
11408
|
+
$$invalidate(22, mostPlayedScreen = false);
|
|
11409
|
+
$$invalidate(27, activeCategory = "");
|
|
11404
11410
|
break;
|
|
11405
11411
|
case "MOSTPLAYED":
|
|
11406
11412
|
if (mostplayed == "true") {
|
|
11407
|
-
$$invalidate(
|
|
11413
|
+
$$invalidate(12, isLoading = true);
|
|
11408
11414
|
|
|
11409
11415
|
getMostPlayedGames({
|
|
11410
11416
|
limit: 100,
|
|
11411
11417
|
device: getDevice(userAgent),
|
|
11412
11418
|
rounds: 10
|
|
11413
11419
|
}).then(res => {
|
|
11414
|
-
$$invalidate(
|
|
11420
|
+
$$invalidate(12, isLoading = false);
|
|
11415
11421
|
|
|
11416
11422
|
if (res.count > 0) {
|
|
11417
11423
|
let promises = [];
|
|
@@ -11427,20 +11433,20 @@
|
|
|
11427
11433
|
window.postMessage({ type: "MostPlayedData", mostPlayedGames }, window.location.href);
|
|
11428
11434
|
});
|
|
11429
11435
|
} else {
|
|
11430
|
-
$$invalidate(
|
|
11436
|
+
$$invalidate(23, mostPlayedEmpty = true);
|
|
11431
11437
|
}
|
|
11432
11438
|
});
|
|
11433
11439
|
|
|
11434
|
-
$$invalidate(
|
|
11435
|
-
$$invalidate(
|
|
11436
|
-
$$invalidate(
|
|
11440
|
+
$$invalidate(27, activeCategory = "");
|
|
11441
|
+
$$invalidate(21, lobbyScreen = false);
|
|
11442
|
+
$$invalidate(22, mostPlayedScreen = true);
|
|
11437
11443
|
}
|
|
11438
11444
|
break;
|
|
11439
11445
|
default:
|
|
11440
|
-
$$invalidate(
|
|
11441
|
-
$$invalidate(
|
|
11442
|
-
$$invalidate(
|
|
11443
|
-
$$invalidate(
|
|
11446
|
+
$$invalidate(21, lobbyScreen = false);
|
|
11447
|
+
$$invalidate(17, favoritesScreen = false);
|
|
11448
|
+
$$invalidate(22, mostPlayedScreen = false);
|
|
11449
|
+
$$invalidate(27, activeCategory = categoryEvent.data.itemId);
|
|
11444
11450
|
setTimeout(() => {
|
|
11445
11451
|
window.postMessage(
|
|
11446
11452
|
{
|
|
@@ -11462,8 +11468,8 @@
|
|
|
11462
11468
|
CategoryChangeHandler(e);
|
|
11463
11469
|
break;
|
|
11464
11470
|
case "UserSessionID":
|
|
11465
|
-
$$invalidate(
|
|
11466
|
-
$$invalidate(
|
|
11471
|
+
$$invalidate(16, sessionID = e.data.session);
|
|
11472
|
+
$$invalidate(15, playerID = e.data.userID);
|
|
11467
11473
|
if (playerID && playerID.length && sessionID && sessionID.length > 0) {
|
|
11468
11474
|
getFavoredGames(endpoint, sessionID, playerID);
|
|
11469
11475
|
}
|
|
@@ -11709,14 +11715,14 @@
|
|
|
11709
11715
|
//
|
|
11710
11716
|
const getCategories = url => {
|
|
11711
11717
|
return new Promise((resolve, reject) => {
|
|
11712
|
-
$$invalidate(
|
|
11718
|
+
$$invalidate(12, isLoading = true);
|
|
11713
11719
|
|
|
11714
11720
|
fetch(url).then(res => res.json()).then(data => {
|
|
11715
|
-
$$invalidate(
|
|
11721
|
+
$$invalidate(12, isLoading = false);
|
|
11716
11722
|
resolve(data);
|
|
11717
11723
|
}).catch(err => {
|
|
11718
|
-
$$invalidate(
|
|
11719
|
-
$$invalidate(
|
|
11724
|
+
$$invalidate(13, hasErrors = true);
|
|
11725
|
+
$$invalidate(12, isLoading = false);
|
|
11720
11726
|
console.error(err);
|
|
11721
11727
|
reject(err);
|
|
11722
11728
|
});
|
|
@@ -11725,14 +11731,14 @@
|
|
|
11725
11731
|
|
|
11726
11732
|
const getGames = url => {
|
|
11727
11733
|
return new Promise((resolve, reject) => {
|
|
11728
|
-
$$invalidate(
|
|
11734
|
+
$$invalidate(12, isLoading = true);
|
|
11729
11735
|
|
|
11730
11736
|
fetch(url).then(res => res.json()).then(categoryData => {
|
|
11731
|
-
$$invalidate(
|
|
11737
|
+
$$invalidate(12, isLoading = false);
|
|
11732
11738
|
resolve(categoryData);
|
|
11733
11739
|
}).catch(err => {
|
|
11734
|
-
$$invalidate(
|
|
11735
|
-
$$invalidate(
|
|
11740
|
+
$$invalidate(13, hasErrors = true);
|
|
11741
|
+
$$invalidate(12, isLoading = false);
|
|
11736
11742
|
console.error(err);
|
|
11737
11743
|
reject(err);
|
|
11738
11744
|
});
|
|
@@ -11741,14 +11747,14 @@
|
|
|
11741
11747
|
|
|
11742
11748
|
const getGame = url => {
|
|
11743
11749
|
return new Promise((resolve, reject) => {
|
|
11744
|
-
$$invalidate(
|
|
11750
|
+
$$invalidate(12, isLoading = true);
|
|
11745
11751
|
|
|
11746
11752
|
fetch(url).then(res => res.json()).then(categoryData => {
|
|
11747
|
-
$$invalidate(
|
|
11753
|
+
$$invalidate(12, isLoading = false);
|
|
11748
11754
|
resolve(categoryData[0]);
|
|
11749
11755
|
}).catch(err => {
|
|
11750
|
-
$$invalidate(
|
|
11751
|
-
$$invalidate(
|
|
11756
|
+
$$invalidate(13, hasErrors = true);
|
|
11757
|
+
$$invalidate(12, isLoading = false);
|
|
11752
11758
|
console.error(err);
|
|
11753
11759
|
reject(err);
|
|
11754
11760
|
});
|
|
@@ -11776,8 +11782,8 @@
|
|
|
11776
11782
|
}
|
|
11777
11783
|
|
|
11778
11784
|
if (lobbyScreen == true && !initialLoaded) {
|
|
11779
|
-
$$invalidate(
|
|
11780
|
-
$$invalidate(
|
|
11785
|
+
$$invalidate(20, lobbyViewAux = lobbyScreen);
|
|
11786
|
+
$$invalidate(21, lobbyScreen = false);
|
|
11781
11787
|
}
|
|
11782
11788
|
|
|
11783
11789
|
let promises = [];
|
|
@@ -11794,7 +11800,7 @@
|
|
|
11794
11800
|
}
|
|
11795
11801
|
|
|
11796
11802
|
Promise.all(promises).then(res => {
|
|
11797
|
-
$$invalidate(
|
|
11803
|
+
$$invalidate(25, searchArray = res);
|
|
11798
11804
|
sendRecentSearchData({}, searchArray);
|
|
11799
11805
|
});
|
|
11800
11806
|
} else {
|
|
@@ -11808,11 +11814,11 @@
|
|
|
11808
11814
|
searchFocus = false;
|
|
11809
11815
|
|
|
11810
11816
|
if (searchValue.length < 2 && !gameFocus) {
|
|
11811
|
-
$$invalidate(
|
|
11812
|
-
$$invalidate(
|
|
11813
|
-
$$invalidate(
|
|
11814
|
-
$$invalidate(
|
|
11815
|
-
$$invalidate(
|
|
11817
|
+
$$invalidate(19, searched = false);
|
|
11818
|
+
$$invalidate(25, searchArray = []);
|
|
11819
|
+
$$invalidate(18, recentSearches = false);
|
|
11820
|
+
$$invalidate(21, lobbyScreen = lobbyViewAux);
|
|
11821
|
+
$$invalidate(20, lobbyViewAux = false);
|
|
11816
11822
|
|
|
11817
11823
|
if (lobbyScreen === false) {
|
|
11818
11824
|
window.postMessage(
|
|
@@ -11848,9 +11854,9 @@
|
|
|
11848
11854
|
// @TODO let's do some small changes around here in order to have this search functionality pretty written, 'cuz right now is kinda shitty
|
|
11849
11855
|
const searchValueChanged = () => {
|
|
11850
11856
|
if (searchValue.length >= 2) {
|
|
11851
|
-
$$invalidate(
|
|
11857
|
+
$$invalidate(50, searchBarCleared = true);
|
|
11852
11858
|
} else {
|
|
11853
|
-
$$invalidate(
|
|
11859
|
+
$$invalidate(50, searchBarCleared = false);
|
|
11854
11860
|
}
|
|
11855
11861
|
};
|
|
11856
11862
|
|
|
@@ -11860,9 +11866,9 @@
|
|
|
11860
11866
|
if (vendors) {
|
|
11861
11867
|
if (currentCategoryId) {
|
|
11862
11868
|
if (vendors[currentCategoryId]) {
|
|
11863
|
-
$$invalidate(
|
|
11869
|
+
$$invalidate(31, numberOfFilters = vendors[currentCategoryId].length);
|
|
11864
11870
|
} else {
|
|
11865
|
-
$$invalidate(
|
|
11871
|
+
$$invalidate(31, numberOfFilters = 0);
|
|
11866
11872
|
}
|
|
11867
11873
|
}
|
|
11868
11874
|
}
|
|
@@ -11873,10 +11879,10 @@
|
|
|
11873
11879
|
};
|
|
11874
11880
|
|
|
11875
11881
|
const clearSearchbar = () => {
|
|
11876
|
-
$$invalidate(
|
|
11877
|
-
$$invalidate(
|
|
11878
|
-
$$invalidate(
|
|
11879
|
-
$$invalidate(
|
|
11882
|
+
$$invalidate(50, searchBarCleared = true);
|
|
11883
|
+
$$invalidate(11, searchValue = "");
|
|
11884
|
+
$$invalidate(25, searchArray = []);
|
|
11885
|
+
$$invalidate(18, recentSearches = false);
|
|
11880
11886
|
onBlur();
|
|
11881
11887
|
};
|
|
11882
11888
|
|
|
@@ -11954,31 +11960,31 @@
|
|
|
11954
11960
|
}
|
|
11955
11961
|
|
|
11956
11962
|
if (document.documentElement.scrollTop > searchPositionTop || searchPositionTop > 130) {
|
|
11957
|
-
$$invalidate(
|
|
11963
|
+
$$invalidate(24, adjustingScroll = true);
|
|
11958
11964
|
} else {
|
|
11959
|
-
$$invalidate(
|
|
11965
|
+
$$invalidate(24, adjustingScroll = false);
|
|
11960
11966
|
}
|
|
11961
11967
|
};
|
|
11962
11968
|
|
|
11963
11969
|
const checkAttrs = () => {
|
|
11964
11970
|
if (!endpoint) {
|
|
11965
11971
|
error = "Endpoint is missing! Please provide a valid endpointURL.";
|
|
11966
|
-
$$invalidate(
|
|
11967
|
-
$$invalidate(
|
|
11972
|
+
$$invalidate(13, hasErrors = true);
|
|
11973
|
+
$$invalidate(12, isLoading = false);
|
|
11968
11974
|
console.error(error);
|
|
11969
11975
|
}
|
|
11970
11976
|
|
|
11971
11977
|
if (!datasource) {
|
|
11972
11978
|
error = "Datasource is missing! Please provide a valid datasource.";
|
|
11973
|
-
$$invalidate(
|
|
11974
|
-
$$invalidate(
|
|
11979
|
+
$$invalidate(13, hasErrors = true);
|
|
11980
|
+
$$invalidate(12, isLoading = false);
|
|
11975
11981
|
console.error(error);
|
|
11976
11982
|
}
|
|
11977
11983
|
|
|
11978
11984
|
if (!lang || lang.length != 2) {
|
|
11979
11985
|
error = "Language is missing! Please provide a valid language (alpha2code)";
|
|
11980
|
-
$$invalidate(
|
|
11981
|
-
$$invalidate(
|
|
11986
|
+
$$invalidate(13, hasErrors = true);
|
|
11987
|
+
$$invalidate(12, isLoading = false);
|
|
11982
11988
|
console.error(error);
|
|
11983
11989
|
}
|
|
11984
11990
|
|
|
@@ -11987,7 +11993,7 @@
|
|
|
11987
11993
|
|
|
11988
11994
|
const initialSetup = () => {
|
|
11989
11995
|
if (!checkAttrs()) {
|
|
11990
|
-
$$invalidate(
|
|
11996
|
+
$$invalidate(12, isLoading = true);
|
|
11991
11997
|
|
|
11992
11998
|
if (favorites == "true") {
|
|
11993
11999
|
getFavoredGames(endpoint, sessionID, playerID);
|
|
@@ -12003,21 +12009,21 @@
|
|
|
12003
12009
|
return item.games.total > 0;
|
|
12004
12010
|
});
|
|
12005
12011
|
|
|
12006
|
-
$$invalidate(
|
|
12012
|
+
$$invalidate(26, shownCategories = categories = categoriesData.map(item => {
|
|
12007
12013
|
return item.id;
|
|
12008
12014
|
}));
|
|
12009
12015
|
|
|
12010
|
-
$$invalidate(
|
|
12016
|
+
$$invalidate(12, isLoading = false);
|
|
12011
12017
|
}
|
|
12012
12018
|
});
|
|
12013
12019
|
|
|
12014
12020
|
if (getDevice(userAgent) !== "PC") {
|
|
12015
12021
|
searchElement.addEventListener("focusin", event => {
|
|
12016
|
-
$$invalidate(
|
|
12022
|
+
$$invalidate(30, mobileSearchViewActive = true);
|
|
12017
12023
|
});
|
|
12018
12024
|
|
|
12019
12025
|
searchElement.addEventListener("focusout", event => {
|
|
12020
|
-
$$invalidate(
|
|
12026
|
+
$$invalidate(30, mobileSearchViewActive = false);
|
|
12021
12027
|
});
|
|
12022
12028
|
}
|
|
12023
12029
|
|
|
@@ -12031,9 +12037,9 @@
|
|
|
12031
12037
|
};
|
|
12032
12038
|
|
|
12033
12039
|
const setSession = () => {
|
|
12034
|
-
$$invalidate(
|
|
12035
|
-
$$invalidate(
|
|
12036
|
-
$$invalidate(
|
|
12040
|
+
$$invalidate(14, isLoggedIn = true);
|
|
12041
|
+
$$invalidate(16, sessionID = session);
|
|
12042
|
+
$$invalidate(15, playerID = userid);
|
|
12037
12043
|
};
|
|
12038
12044
|
|
|
12039
12045
|
const setClientStyling = () => {
|
|
@@ -12082,7 +12088,8 @@
|
|
|
12082
12088
|
"alternativesearch",
|
|
12083
12089
|
"favorites",
|
|
12084
12090
|
"mostplayed",
|
|
12085
|
-
"lobbyid"
|
|
12091
|
+
"lobbyid",
|
|
12092
|
+
"containermaxwidth"
|
|
12086
12093
|
];
|
|
12087
12094
|
|
|
12088
12095
|
Object_1.keys($$props).forEach(key => {
|
|
@@ -12094,13 +12101,13 @@
|
|
|
12094
12101
|
function input_binding($$value) {
|
|
12095
12102
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
12096
12103
|
searchElement = $$value;
|
|
12097
|
-
$$invalidate(
|
|
12104
|
+
$$invalidate(29, searchElement);
|
|
12098
12105
|
});
|
|
12099
12106
|
}
|
|
12100
12107
|
|
|
12101
12108
|
function input_input_handler() {
|
|
12102
12109
|
searchValue = this.value;
|
|
12103
|
-
$$invalidate(
|
|
12110
|
+
$$invalidate(11, searchValue);
|
|
12104
12111
|
}
|
|
12105
12112
|
|
|
12106
12113
|
const click_handler_1 = () => clearSearchbar();
|
|
@@ -12113,20 +12120,20 @@
|
|
|
12113
12120
|
function div2_binding($$value) {
|
|
12114
12121
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
12115
12122
|
searchWrapper = $$value;
|
|
12116
|
-
$$invalidate(
|
|
12123
|
+
$$invalidate(28, searchWrapper);
|
|
12117
12124
|
});
|
|
12118
12125
|
}
|
|
12119
12126
|
|
|
12120
12127
|
function input_binding_1($$value) {
|
|
12121
12128
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
12122
12129
|
searchElement = $$value;
|
|
12123
|
-
$$invalidate(
|
|
12130
|
+
$$invalidate(29, searchElement);
|
|
12124
12131
|
});
|
|
12125
12132
|
}
|
|
12126
12133
|
|
|
12127
12134
|
function input_input_handler_1() {
|
|
12128
12135
|
searchValue = this.value;
|
|
12129
|
-
$$invalidate(
|
|
12136
|
+
$$invalidate(11, searchValue);
|
|
12130
12137
|
}
|
|
12131
12138
|
|
|
12132
12139
|
const click_handler_4 = () => clearSearchbar();
|
|
@@ -12139,7 +12146,7 @@
|
|
|
12139
12146
|
function div2_binding_1($$value) {
|
|
12140
12147
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
12141
12148
|
searchWrapper = $$value;
|
|
12142
|
-
$$invalidate(
|
|
12149
|
+
$$invalidate(28, searchWrapper);
|
|
12143
12150
|
});
|
|
12144
12151
|
}
|
|
12145
12152
|
|
|
@@ -12148,7 +12155,7 @@
|
|
|
12148
12155
|
function section_binding($$value) {
|
|
12149
12156
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
12150
12157
|
customStylingContainer = $$value;
|
|
12151
|
-
$$invalidate(
|
|
12158
|
+
$$invalidate(32, customStylingContainer);
|
|
12152
12159
|
});
|
|
12153
12160
|
}
|
|
12154
12161
|
|
|
@@ -12161,11 +12168,12 @@
|
|
|
12161
12168
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
12162
12169
|
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
12163
12170
|
if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
|
|
12164
|
-
if ("visiblegames" in $$props) $$invalidate(
|
|
12171
|
+
if ("visiblegames" in $$props) $$invalidate(46, visiblegames = $$props.visiblegames);
|
|
12165
12172
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
12166
12173
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
12167
|
-
if ("mostplayed" in $$props) $$invalidate(
|
|
12168
|
-
if ("lobbyid" in $$props) $$invalidate(
|
|
12174
|
+
if ("mostplayed" in $$props) $$invalidate(47, mostplayed = $$props.mostplayed);
|
|
12175
|
+
if ("lobbyid" in $$props) $$invalidate(48, lobbyid = $$props.lobbyid);
|
|
12176
|
+
if ("containermaxwidth" in $$props) $$invalidate(10, containermaxwidth = $$props.containermaxwidth);
|
|
12169
12177
|
};
|
|
12170
12178
|
|
|
12171
12179
|
$$self.$capture_state = () => ({
|
|
@@ -12187,6 +12195,7 @@
|
|
|
12187
12195
|
favorites,
|
|
12188
12196
|
mostplayed,
|
|
12189
12197
|
lobbyid,
|
|
12198
|
+
containermaxwidth,
|
|
12190
12199
|
isLoading,
|
|
12191
12200
|
hasErrors,
|
|
12192
12201
|
isLoggedIn,
|
|
@@ -12280,56 +12289,57 @@
|
|
|
12280
12289
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
12281
12290
|
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
12282
12291
|
if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
|
|
12283
|
-
if ("visiblegames" in $$props) $$invalidate(
|
|
12292
|
+
if ("visiblegames" in $$props) $$invalidate(46, visiblegames = $$props.visiblegames);
|
|
12284
12293
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
12285
12294
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
12286
|
-
if ("mostplayed" in $$props) $$invalidate(
|
|
12287
|
-
if ("lobbyid" in $$props) $$invalidate(
|
|
12288
|
-
if ("
|
|
12289
|
-
if ("
|
|
12290
|
-
if ("
|
|
12295
|
+
if ("mostplayed" in $$props) $$invalidate(47, mostplayed = $$props.mostplayed);
|
|
12296
|
+
if ("lobbyid" in $$props) $$invalidate(48, lobbyid = $$props.lobbyid);
|
|
12297
|
+
if ("containermaxwidth" in $$props) $$invalidate(10, containermaxwidth = $$props.containermaxwidth);
|
|
12298
|
+
if ("isLoading" in $$props) $$invalidate(12, isLoading = $$props.isLoading);
|
|
12299
|
+
if ("hasErrors" in $$props) $$invalidate(13, hasErrors = $$props.hasErrors);
|
|
12300
|
+
if ("isLoggedIn" in $$props) $$invalidate(14, isLoggedIn = $$props.isLoggedIn);
|
|
12291
12301
|
if ("error" in $$props) error = $$props.error;
|
|
12292
|
-
if ("playerID" in $$props) $$invalidate(
|
|
12293
|
-
if ("sessionID" in $$props) $$invalidate(
|
|
12294
|
-
if ("favoritesScreen" in $$props) $$invalidate(
|
|
12295
|
-
if ("recentSearches" in $$props) $$invalidate(
|
|
12296
|
-
if ("initialLoaded" in $$props) $$invalidate(
|
|
12297
|
-
if ("searched" in $$props) $$invalidate(
|
|
12302
|
+
if ("playerID" in $$props) $$invalidate(15, playerID = $$props.playerID);
|
|
12303
|
+
if ("sessionID" in $$props) $$invalidate(16, sessionID = $$props.sessionID);
|
|
12304
|
+
if ("favoritesScreen" in $$props) $$invalidate(17, favoritesScreen = $$props.favoritesScreen);
|
|
12305
|
+
if ("recentSearches" in $$props) $$invalidate(18, recentSearches = $$props.recentSearches);
|
|
12306
|
+
if ("initialLoaded" in $$props) $$invalidate(49, initialLoaded = $$props.initialLoaded);
|
|
12307
|
+
if ("searched" in $$props) $$invalidate(19, searched = $$props.searched);
|
|
12298
12308
|
if ("gameFocus" in $$props) gameFocus = $$props.gameFocus;
|
|
12299
|
-
if ("lobbyViewAux" in $$props) $$invalidate(
|
|
12300
|
-
if ("closeSearch" in $$props) $$invalidate(
|
|
12309
|
+
if ("lobbyViewAux" in $$props) $$invalidate(20, lobbyViewAux = $$props.lobbyViewAux);
|
|
12310
|
+
if ("closeSearch" in $$props) $$invalidate(34, closeSearch = $$props.closeSearch);
|
|
12301
12311
|
if ("searchFocus" in $$props) searchFocus = $$props.searchFocus;
|
|
12302
|
-
if ("lobbyScreen" in $$props) $$invalidate(
|
|
12303
|
-
if ("mostPlayedScreen" in $$props) $$invalidate(
|
|
12304
|
-
if ("mostPlayedEmpty" in $$props) $$invalidate(
|
|
12305
|
-
if ("adjustingScroll" in $$props) $$invalidate(
|
|
12306
|
-
if ("searchBarCleared" in $$props) $$invalidate(
|
|
12312
|
+
if ("lobbyScreen" in $$props) $$invalidate(21, lobbyScreen = $$props.lobbyScreen);
|
|
12313
|
+
if ("mostPlayedScreen" in $$props) $$invalidate(22, mostPlayedScreen = $$props.mostPlayedScreen);
|
|
12314
|
+
if ("mostPlayedEmpty" in $$props) $$invalidate(23, mostPlayedEmpty = $$props.mostPlayedEmpty);
|
|
12315
|
+
if ("adjustingScroll" in $$props) $$invalidate(24, adjustingScroll = $$props.adjustingScroll);
|
|
12316
|
+
if ("searchBarCleared" in $$props) $$invalidate(50, searchBarCleared = $$props.searchBarCleared);
|
|
12307
12317
|
if ("gamesArray" in $$props) gamesArray = $$props.gamesArray;
|
|
12308
|
-
if ("searchArray" in $$props) $$invalidate(
|
|
12318
|
+
if ("searchArray" in $$props) $$invalidate(25, searchArray = $$props.searchArray);
|
|
12309
12319
|
if ("categories" in $$props) categories = $$props.categories;
|
|
12310
|
-
if ("shownCategories" in $$props) $$invalidate(
|
|
12311
|
-
if ("activeCategory" in $$props) $$invalidate(
|
|
12312
|
-
if ("searchValue" in $$props) $$invalidate(
|
|
12313
|
-
if ("searchWrapper" in $$props) $$invalidate(
|
|
12320
|
+
if ("shownCategories" in $$props) $$invalidate(26, shownCategories = $$props.shownCategories);
|
|
12321
|
+
if ("activeCategory" in $$props) $$invalidate(27, activeCategory = $$props.activeCategory);
|
|
12322
|
+
if ("searchValue" in $$props) $$invalidate(11, searchValue = $$props.searchValue);
|
|
12323
|
+
if ("searchWrapper" in $$props) $$invalidate(28, searchWrapper = $$props.searchWrapper);
|
|
12314
12324
|
if ("searchElementWrapper" in $$props) searchElementWrapper = $$props.searchElementWrapper;
|
|
12315
12325
|
if ("searchPositionTop" in $$props) searchPositionTop = $$props.searchPositionTop;
|
|
12316
|
-
if ("userAgent" in $$props) $$invalidate(
|
|
12326
|
+
if ("userAgent" in $$props) $$invalidate(35, userAgent = $$props.userAgent);
|
|
12317
12327
|
if ("scrollTop" in $$props) scrollTop = $$props.scrollTop;
|
|
12318
12328
|
if ("mostPlayedGames" in $$props) mostPlayedGames = $$props.mostPlayedGames;
|
|
12319
12329
|
if ("favoredGamesCollection" in $$props) favoredGamesCollection = $$props.favoredGamesCollection;
|
|
12320
12330
|
if ("categoriesData" in $$props) categoriesData = $$props.categoriesData;
|
|
12321
12331
|
if ("receivedFavoriteResults" in $$props) receivedFavoriteResults = $$props.receivedFavoriteResults;
|
|
12322
12332
|
if ("updatedFavoriteResultsIds" in $$props) updatedFavoriteResultsIds = $$props.updatedFavoriteResultsIds;
|
|
12323
|
-
if ("searchElement" in $$props) $$invalidate(
|
|
12324
|
-
if ("mobileSearchViewActive" in $$props) $$invalidate(
|
|
12333
|
+
if ("searchElement" in $$props) $$invalidate(29, searchElement = $$props.searchElement);
|
|
12334
|
+
if ("mobileSearchViewActive" in $$props) $$invalidate(30, mobileSearchViewActive = $$props.mobileSearchViewActive);
|
|
12325
12335
|
if ("searchedValues" in $$props) searchedValues = $$props.searchedValues;
|
|
12326
12336
|
if ("mostPlayedValues" in $$props) mostPlayedValues = $$props.mostPlayedValues;
|
|
12327
12337
|
if ("filterVendorsArray" in $$props) filterVendorsArray = $$props.filterVendorsArray;
|
|
12328
|
-
if ("numberOfFilters" in $$props) $$invalidate(
|
|
12338
|
+
if ("numberOfFilters" in $$props) $$invalidate(31, numberOfFilters = $$props.numberOfFilters);
|
|
12329
12339
|
if ("filteredGamesArray" in $$props) filteredGamesArray = $$props.filteredGamesArray;
|
|
12330
12340
|
if ("currentCategoryId" in $$props) currentCategoryId = $$props.currentCategoryId;
|
|
12331
12341
|
if ("activeCategoryAux" in $$props) activeCategoryAux = $$props.activeCategoryAux;
|
|
12332
|
-
if ("customStylingContainer" in $$props) $$invalidate(
|
|
12342
|
+
if ("customStylingContainer" in $$props) $$invalidate(32, customStylingContainer = $$props.customStylingContainer);
|
|
12333
12343
|
if ("getFavoredGames" in $$props) getFavoredGames = $$props.getFavoredGames;
|
|
12334
12344
|
if ("updateFavoredList" in $$props) updateFavoredList = $$props.updateFavoredList;
|
|
12335
12345
|
if ("addFavoredGame" in $$props) addFavoredGame = $$props.addFavoredGame;
|
|
@@ -12340,13 +12350,13 @@
|
|
|
12340
12350
|
}
|
|
12341
12351
|
|
|
12342
12352
|
$$self.$$.update = () => {
|
|
12343
|
-
if ($$self.$$.dirty[0] & /*searchValue*/
|
|
12353
|
+
if ($$self.$$.dirty[0] & /*searchValue*/ 2048) {
|
|
12344
12354
|
searchValue && searchValueChanged();
|
|
12345
12355
|
}
|
|
12346
12356
|
|
|
12347
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/
|
|
12357
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 2051 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/ 786432) {
|
|
12348
12358
|
if (searchValue.length >= 2) {
|
|
12349
|
-
$$invalidate(
|
|
12359
|
+
$$invalidate(19, searched = true);
|
|
12350
12360
|
let searchUrl = new URL(`${endpoint}/casino/games`);
|
|
12351
12361
|
searchUrl.searchParams.append("datasource", datasource);
|
|
12352
12362
|
searchUrl.searchParams.append("expand", "vendor");
|
|
@@ -12357,7 +12367,7 @@
|
|
|
12357
12367
|
searchUrl.searchParams.append("filter", `name=${searchValue}`);
|
|
12358
12368
|
|
|
12359
12369
|
getGames(searchUrl).then(searchData => {
|
|
12360
|
-
$$invalidate(
|
|
12370
|
+
$$invalidate(25, searchArray = searchData);
|
|
12361
12371
|
sendSearchData({}, searchData);
|
|
12362
12372
|
});
|
|
12363
12373
|
} else {
|
|
@@ -12366,7 +12376,7 @@
|
|
|
12366
12376
|
}
|
|
12367
12377
|
|
|
12368
12378
|
if (initialLoaded) {
|
|
12369
|
-
$$invalidate(
|
|
12379
|
+
$$invalidate(49, initialLoaded = false);
|
|
12370
12380
|
}
|
|
12371
12381
|
}
|
|
12372
12382
|
}
|
|
@@ -12399,6 +12409,7 @@
|
|
|
12399
12409
|
categorybackground,
|
|
12400
12410
|
alternativesearch,
|
|
12401
12411
|
favorites,
|
|
12412
|
+
containermaxwidth,
|
|
12402
12413
|
searchValue,
|
|
12403
12414
|
isLoading,
|
|
12404
12415
|
hasErrors,
|
|
@@ -12460,7 +12471,7 @@
|
|
|
12460
12471
|
class CasinoPage extends SvelteElement {
|
|
12461
12472
|
constructor(options) {
|
|
12462
12473
|
super();
|
|
12463
|
-
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;cursor:pointer}[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>`;
|
|
12474
|
+
this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.CategoriesLobby{margin:0 auto;padding:0 10px}.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;cursor:pointer}[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;left: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>`;
|
|
12464
12475
|
|
|
12465
12476
|
init(
|
|
12466
12477
|
this,
|
|
@@ -12481,11 +12492,12 @@
|
|
|
12481
12492
|
clientstyling: 5,
|
|
12482
12493
|
clientstylingurl: 6,
|
|
12483
12494
|
categorybackground: 7,
|
|
12484
|
-
visiblegames:
|
|
12495
|
+
visiblegames: 46,
|
|
12485
12496
|
alternativesearch: 8,
|
|
12486
12497
|
favorites: 9,
|
|
12487
|
-
mostplayed:
|
|
12488
|
-
lobbyid:
|
|
12498
|
+
mostplayed: 47,
|
|
12499
|
+
lobbyid: 48,
|
|
12500
|
+
containermaxwidth: 10
|
|
12489
12501
|
},
|
|
12490
12502
|
[-1, -1, -1, -1]
|
|
12491
12503
|
);
|
|
@@ -12516,7 +12528,8 @@
|
|
|
12516
12528
|
"alternativesearch",
|
|
12517
12529
|
"favorites",
|
|
12518
12530
|
"mostplayed",
|
|
12519
|
-
"lobbyid"
|
|
12531
|
+
"lobbyid",
|
|
12532
|
+
"containermaxwidth"
|
|
12520
12533
|
];
|
|
12521
12534
|
}
|
|
12522
12535
|
|
|
@@ -12593,7 +12606,7 @@
|
|
|
12593
12606
|
}
|
|
12594
12607
|
|
|
12595
12608
|
get visiblegames() {
|
|
12596
|
-
return this.$$.ctx[
|
|
12609
|
+
return this.$$.ctx[46];
|
|
12597
12610
|
}
|
|
12598
12611
|
|
|
12599
12612
|
set visiblegames(visiblegames) {
|
|
@@ -12620,7 +12633,7 @@
|
|
|
12620
12633
|
}
|
|
12621
12634
|
|
|
12622
12635
|
get mostplayed() {
|
|
12623
|
-
return this.$$.ctx[
|
|
12636
|
+
return this.$$.ctx[47];
|
|
12624
12637
|
}
|
|
12625
12638
|
|
|
12626
12639
|
set mostplayed(mostplayed) {
|
|
@@ -12629,13 +12642,22 @@
|
|
|
12629
12642
|
}
|
|
12630
12643
|
|
|
12631
12644
|
get lobbyid() {
|
|
12632
|
-
return this.$$.ctx[
|
|
12645
|
+
return this.$$.ctx[48];
|
|
12633
12646
|
}
|
|
12634
12647
|
|
|
12635
12648
|
set lobbyid(lobbyid) {
|
|
12636
12649
|
this.$set({ lobbyid });
|
|
12637
12650
|
flush();
|
|
12638
12651
|
}
|
|
12652
|
+
|
|
12653
|
+
get containermaxwidth() {
|
|
12654
|
+
return this.$$.ctx[10];
|
|
12655
|
+
}
|
|
12656
|
+
|
|
12657
|
+
set containermaxwidth(containermaxwidth) {
|
|
12658
|
+
this.$set({ containermaxwidth });
|
|
12659
|
+
flush();
|
|
12660
|
+
}
|
|
12639
12661
|
}
|
|
12640
12662
|
|
|
12641
12663
|
!customElements.get('casino-page') && customElements.define('casino-page', CasinoPage);
|