@everymatrix/casino-tournaments-page-controller 0.0.115 → 0.0.119
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.
|
@@ -4611,10 +4611,25 @@
|
|
|
4611
4611
|
});
|
|
4612
4612
|
}
|
|
4613
4613
|
|
|
4614
|
+
function setupI18n({ withLocale: _locale, translations }) {
|
|
4615
|
+
T.subscribe((data) => {
|
|
4616
|
+
if (data == null) {
|
|
4617
|
+
s.set(translations);
|
|
4618
|
+
T.set(_locale);
|
|
4619
|
+
}
|
|
4620
|
+
}); // maybe we will need this to make sure that the i18n is set up only once
|
|
4621
|
+
/*dictionary.set(translations);
|
|
4622
|
+
locale.set(_locale);*/
|
|
4623
|
+
}
|
|
4624
|
+
|
|
4614
4625
|
function addNewMessages$5(lang, dict) {
|
|
4615
4626
|
m(lang, dict);
|
|
4616
4627
|
}
|
|
4617
4628
|
|
|
4629
|
+
function setLocale$1(_locale) {
|
|
4630
|
+
T.set(_locale);
|
|
4631
|
+
}
|
|
4632
|
+
|
|
4618
4633
|
const TournamentsPageTranslations = {
|
|
4619
4634
|
en: {
|
|
4620
4635
|
tournamentsPage: {
|
|
@@ -4626,10 +4641,10 @@
|
|
|
4626
4641
|
},
|
|
4627
4642
|
tr: {
|
|
4628
4643
|
tournamentsPage: {
|
|
4629
|
-
loading: '
|
|
4630
|
-
back: '
|
|
4631
|
-
previous: '
|
|
4632
|
-
next: '
|
|
4644
|
+
loading: 'Yükelniyor, lütfen bekleyin…',
|
|
4645
|
+
back: 'Geri',
|
|
4646
|
+
previous: 'Önceki',
|
|
4647
|
+
next: 'Sonraki',
|
|
4633
4648
|
}
|
|
4634
4649
|
},
|
|
4635
4650
|
};
|
|
@@ -5138,7 +5153,10 @@
|
|
|
5138
5153
|
scoreCriteria: 'Score Criteria',
|
|
5139
5154
|
minbet: 'min bet counts: ',
|
|
5140
5155
|
seegames: 'You can see the games',
|
|
5141
|
-
here: 'here'
|
|
5156
|
+
here: 'here',
|
|
5157
|
+
scheduled: 'Scheduled',
|
|
5158
|
+
ongoing: 'OnGoing',
|
|
5159
|
+
finished: 'Finished'
|
|
5142
5160
|
}
|
|
5143
5161
|
},
|
|
5144
5162
|
tr: {
|
|
@@ -5147,7 +5165,10 @@
|
|
|
5147
5165
|
scoreCriteria: 'Skor kriteri',
|
|
5148
5166
|
minbet: 'en düşük bahis sayısı: ',
|
|
5149
5167
|
seegames: 'Oyunları görebilirsiniz',
|
|
5150
|
-
here: 'burada'
|
|
5168
|
+
here: 'burada',
|
|
5169
|
+
scheduled: 'Scheduledddd',
|
|
5170
|
+
ongoing: 'OnGoinggggg',
|
|
5171
|
+
finished: 'Finisheddddd'
|
|
5151
5172
|
}
|
|
5152
5173
|
},
|
|
5153
5174
|
};
|
|
@@ -5169,7 +5190,7 @@
|
|
|
5169
5190
|
div = element("div");
|
|
5170
5191
|
t = text(/*shownStatus*/ ctx[12]);
|
|
5171
5192
|
attr_dev(div, "class", "Status");
|
|
5172
|
-
add_location(div, file$6, 74, 4,
|
|
5193
|
+
add_location(div, file$6, 74, 4, 2313);
|
|
5173
5194
|
},
|
|
5174
5195
|
m: function mount(target, anchor) {
|
|
5175
5196
|
insert_dev(target, div, anchor);
|
|
@@ -5257,7 +5278,7 @@
|
|
|
5257
5278
|
div = element("div");
|
|
5258
5279
|
t = text(t_value);
|
|
5259
5280
|
attr_dev(div, "class", "Enrolled");
|
|
5260
|
-
add_location(div, file$6, 79, 6,
|
|
5281
|
+
add_location(div, file$6, 79, 6, 2438);
|
|
5261
5282
|
},
|
|
5262
5283
|
m: function mount(target, anchor) {
|
|
5263
5284
|
insert_dev(target, div, anchor);
|
|
@@ -5293,12 +5314,12 @@
|
|
|
5293
5314
|
c: function create() {
|
|
5294
5315
|
div = element("div");
|
|
5295
5316
|
|
|
5296
|
-
attr_dev(div, "class", div_class_value = "CardImg " + (/*
|
|
5317
|
+
attr_dev(div, "class", div_class_value = "CardImg " + (/*status*/ ctx[2] == "Closing" || /*status*/ ctx[2] == "Closed"
|
|
5297
5318
|
? "CardImgFinished"
|
|
5298
5319
|
: ""));
|
|
5299
5320
|
|
|
5300
5321
|
set_style(div, "background", "url('https://i.stack.imgur.com/y9DpT.jpg') center no-repeat");
|
|
5301
|
-
add_location(div, file$6, 85, 4,
|
|
5322
|
+
add_location(div, file$6, 85, 4, 2712);
|
|
5302
5323
|
},
|
|
5303
5324
|
m: function mount(target, anchor) {
|
|
5304
5325
|
insert_dev(target, div, anchor);
|
|
@@ -5309,7 +5330,7 @@
|
|
|
5309
5330
|
}
|
|
5310
5331
|
},
|
|
5311
5332
|
p: function update(ctx, dirty) {
|
|
5312
|
-
if (dirty & /*
|
|
5333
|
+
if (dirty & /*status*/ 4 && div_class_value !== (div_class_value = "CardImg " + (/*status*/ ctx[2] == "Closing" || /*status*/ ctx[2] == "Closed"
|
|
5313
5334
|
? "CardImgFinished"
|
|
5314
5335
|
: ""))) {
|
|
5315
5336
|
attr_dev(div, "class", div_class_value);
|
|
@@ -5344,12 +5365,12 @@
|
|
|
5344
5365
|
c: function create() {
|
|
5345
5366
|
div = element("div");
|
|
5346
5367
|
|
|
5347
|
-
attr_dev(div, "class", div_class_value = "CardImg " + (/*
|
|
5368
|
+
attr_dev(div, "class", div_class_value = "CardImg " + (/*status*/ ctx[2] == "Closing" || /*status*/ ctx[2] == "Closed"
|
|
5348
5369
|
? "CardImgFinished"
|
|
5349
5370
|
: ""));
|
|
5350
5371
|
|
|
5351
5372
|
set_style(div, "background", "url('" + /*thumbnail*/ ctx[4] + "')");
|
|
5352
|
-
add_location(div, file$6, 83, 4,
|
|
5373
|
+
add_location(div, file$6, 83, 4, 2544);
|
|
5353
5374
|
},
|
|
5354
5375
|
m: function mount(target, anchor) {
|
|
5355
5376
|
insert_dev(target, div, anchor);
|
|
@@ -5360,7 +5381,7 @@
|
|
|
5360
5381
|
}
|
|
5361
5382
|
},
|
|
5362
5383
|
p: function update(ctx, dirty) {
|
|
5363
|
-
if (dirty & /*
|
|
5384
|
+
if (dirty & /*status*/ 4 && div_class_value !== (div_class_value = "CardImg " + (/*status*/ ctx[2] == "Closing" || /*status*/ ctx[2] == "Closed"
|
|
5364
5385
|
? "CardImgFinished"
|
|
5365
5386
|
: ""))) {
|
|
5366
5387
|
attr_dev(div, "class", div_class_value);
|
|
@@ -5401,7 +5422,7 @@
|
|
|
5401
5422
|
div = element("div");
|
|
5402
5423
|
t = text(/*shownDate*/ ctx[10]);
|
|
5403
5424
|
attr_dev(div, "class", "Date");
|
|
5404
|
-
add_location(div, file$6, 91, 6,
|
|
5425
|
+
add_location(div, file$6, 91, 6, 3003);
|
|
5405
5426
|
},
|
|
5406
5427
|
m: function mount(target, anchor) {
|
|
5407
5428
|
insert_dev(target, div, anchor);
|
|
@@ -5472,15 +5493,15 @@
|
|
|
5472
5493
|
t6 = space();
|
|
5473
5494
|
a = element("a");
|
|
5474
5495
|
t7 = text(t7_value);
|
|
5475
|
-
add_location(p0, file$6, 96, 8,
|
|
5496
|
+
add_location(p0, file$6, 96, 8, 3140);
|
|
5476
5497
|
attr_dev(div0, "class", "ScoreCriteria");
|
|
5477
|
-
add_location(div0, file$6, 95, 6,
|
|
5498
|
+
add_location(div0, file$6, 95, 6, 3104);
|
|
5478
5499
|
attr_dev(a, "href", /*gameurl*/ ctx[9]);
|
|
5479
5500
|
attr_dev(a, "target", "_blank");
|
|
5480
|
-
add_location(a, file$6, 105, 49,
|
|
5481
|
-
add_location(p1, file$6, 105, 8,
|
|
5501
|
+
add_location(a, file$6, 105, 49, 3436);
|
|
5502
|
+
add_location(p1, file$6, 105, 8, 3395);
|
|
5482
5503
|
attr_dev(div1, "class", "Games");
|
|
5483
|
-
add_location(div1, file$6, 104, 6,
|
|
5504
|
+
add_location(div1, file$6, 104, 6, 3367);
|
|
5484
5505
|
},
|
|
5485
5506
|
m: function mount(target, anchor) {
|
|
5486
5507
|
insert_dev(target, div0, anchor);
|
|
@@ -5637,11 +5658,11 @@
|
|
|
5637
5658
|
if (if_block4) if_block4.c();
|
|
5638
5659
|
this.c = noop$1;
|
|
5639
5660
|
attr_dev(div0, "class", "Title");
|
|
5640
|
-
add_location(div0, file$6, 89, 4,
|
|
5661
|
+
add_location(div0, file$6, 89, 4, 2944);
|
|
5641
5662
|
attr_dev(div1, "class", "Details");
|
|
5642
|
-
add_location(div1, file$6, 88, 2,
|
|
5663
|
+
add_location(div1, file$6, 88, 2, 2918);
|
|
5643
5664
|
attr_dev(div2, "class", "Thumbnail");
|
|
5644
|
-
add_location(div2, file$6, 72, 0,
|
|
5665
|
+
add_location(div2, file$6, 72, 0, 2270);
|
|
5645
5666
|
},
|
|
5646
5667
|
l: function claim(nodes) {
|
|
5647
5668
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -5807,15 +5828,15 @@
|
|
|
5807
5828
|
|
|
5808
5829
|
const matchStatus = () => {
|
|
5809
5830
|
if (status == "Unstarted") {
|
|
5810
|
-
$$invalidate(12, shownStatus = "
|
|
5831
|
+
$$invalidate(12, shownStatus = $_("tournamentsThumbnail.scheduled"));
|
|
5811
5832
|
}
|
|
5812
5833
|
|
|
5813
5834
|
if (status == "Running") {
|
|
5814
|
-
$$invalidate(12, shownStatus = "
|
|
5835
|
+
$$invalidate(12, shownStatus = $_("tournamentsThumbnail.ongoing"));
|
|
5815
5836
|
}
|
|
5816
5837
|
|
|
5817
5838
|
if (status == "Closed" || status == "Closing") {
|
|
5818
|
-
$$invalidate(12, shownStatus = "
|
|
5839
|
+
$$invalidate(12, shownStatus = $_("tournamentsThumbnail.finished"));
|
|
5819
5840
|
}
|
|
5820
5841
|
};
|
|
5821
5842
|
|
|
@@ -6169,7 +6190,7 @@
|
|
|
6169
6190
|
const { Object: Object_1$4 } = globals;
|
|
6170
6191
|
const file$5 = "../casino-tournaments-thumbnail-duration/src/CasinoTournmanetsThumbnailDuration.svelte";
|
|
6171
6192
|
|
|
6172
|
-
// (
|
|
6193
|
+
// (72:2) {#if startdate && enddate}
|
|
6173
6194
|
function create_if_block$5(ctx) {
|
|
6174
6195
|
let div2;
|
|
6175
6196
|
let div0;
|
|
@@ -6203,13 +6224,13 @@
|
|
|
6203
6224
|
div3 = element("div");
|
|
6204
6225
|
if_block.c();
|
|
6205
6226
|
attr_dev(div0, "class", "StartDate");
|
|
6206
|
-
add_location(div0, file$5,
|
|
6227
|
+
add_location(div0, file$5, 73, 6, 2460);
|
|
6207
6228
|
attr_dev(div1, "class", "EndDate");
|
|
6208
|
-
add_location(div1, file$5,
|
|
6229
|
+
add_location(div1, file$5, 74, 6, 2527);
|
|
6209
6230
|
attr_dev(div2, "class", "TournamentDates");
|
|
6210
|
-
add_location(div2, file$5,
|
|
6231
|
+
add_location(div2, file$5, 72, 4, 2424);
|
|
6211
6232
|
attr_dev(div3, "class", "ProgressBar");
|
|
6212
|
-
add_location(div3, file$5,
|
|
6233
|
+
add_location(div3, file$5, 76, 4, 2597);
|
|
6213
6234
|
},
|
|
6214
6235
|
m: function mount(target, anchor) {
|
|
6215
6236
|
insert_dev(target, div2, anchor);
|
|
@@ -6262,14 +6283,14 @@
|
|
|
6262
6283
|
block,
|
|
6263
6284
|
id: create_if_block$5.name,
|
|
6264
6285
|
type: "if",
|
|
6265
|
-
source: "(
|
|
6286
|
+
source: "(72:2) {#if startdate && enddate}",
|
|
6266
6287
|
ctx
|
|
6267
6288
|
});
|
|
6268
6289
|
|
|
6269
6290
|
return block;
|
|
6270
6291
|
}
|
|
6271
6292
|
|
|
6272
|
-
// (
|
|
6293
|
+
// (85:8) {:else}
|
|
6273
6294
|
function create_else_block$4(ctx) {
|
|
6274
6295
|
let div;
|
|
6275
6296
|
let t;
|
|
@@ -6284,7 +6305,7 @@
|
|
|
6284
6305
|
if_block_anchor = empty();
|
|
6285
6306
|
attr_dev(div, "class", "ProgressBarFill");
|
|
6286
6307
|
set_style(div, "width", /*progress*/ ctx[7] + "%");
|
|
6287
|
-
add_location(div, file$5,
|
|
6308
|
+
add_location(div, file$5, 85, 10, 3110);
|
|
6288
6309
|
},
|
|
6289
6310
|
m: function mount(target, anchor) {
|
|
6290
6311
|
insert_dev(target, div, anchor);
|
|
@@ -6322,14 +6343,14 @@
|
|
|
6322
6343
|
block,
|
|
6323
6344
|
id: create_else_block$4.name,
|
|
6324
6345
|
type: "else",
|
|
6325
|
-
source: "(
|
|
6346
|
+
source: "(85:8) {:else}",
|
|
6326
6347
|
ctx
|
|
6327
6348
|
});
|
|
6328
6349
|
|
|
6329
6350
|
return block;
|
|
6330
6351
|
}
|
|
6331
6352
|
|
|
6332
|
-
// (
|
|
6353
|
+
// (82:8) {#if tournamentUntilStartDays > 0}
|
|
6333
6354
|
function create_if_block_2$3(ctx) {
|
|
6334
6355
|
let div0;
|
|
6335
6356
|
let t0;
|
|
@@ -6353,9 +6374,9 @@
|
|
|
6353
6374
|
t4 = space();
|
|
6354
6375
|
t5 = text(t5_value);
|
|
6355
6376
|
attr_dev(div0, "class", "ProgressBarFillStarting");
|
|
6356
|
-
add_location(div0, file$5,
|
|
6377
|
+
add_location(div0, file$5, 82, 10, 2904);
|
|
6357
6378
|
attr_dev(div1, "class", "Remaining");
|
|
6358
|
-
add_location(div1, file$5,
|
|
6379
|
+
add_location(div1, file$5, 83, 10, 2958);
|
|
6359
6380
|
},
|
|
6360
6381
|
m: function mount(target, anchor) {
|
|
6361
6382
|
insert_dev(target, div0, anchor);
|
|
@@ -6383,14 +6404,14 @@
|
|
|
6383
6404
|
block,
|
|
6384
6405
|
id: create_if_block_2$3.name,
|
|
6385
6406
|
type: "if",
|
|
6386
|
-
source: "(
|
|
6407
|
+
source: "(82:8) {#if tournamentUntilStartDays > 0}",
|
|
6387
6408
|
ctx
|
|
6388
6409
|
});
|
|
6389
6410
|
|
|
6390
6411
|
return block;
|
|
6391
6412
|
}
|
|
6392
6413
|
|
|
6393
|
-
// (
|
|
6414
|
+
// (78:6) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}
|
|
6394
6415
|
function create_if_block_1$3(ctx) {
|
|
6395
6416
|
let div0;
|
|
6396
6417
|
let t0;
|
|
@@ -6405,9 +6426,9 @@
|
|
|
6405
6426
|
div1 = element("div");
|
|
6406
6427
|
t1 = text(t1_value);
|
|
6407
6428
|
attr_dev(div0, "class", "ProgressBarFillEnd");
|
|
6408
|
-
add_location(div0, file$5,
|
|
6429
|
+
add_location(div0, file$5, 78, 8, 2725);
|
|
6409
6430
|
attr_dev(div1, "class", "Finished");
|
|
6410
|
-
add_location(div1, file$5,
|
|
6431
|
+
add_location(div1, file$5, 79, 8, 2772);
|
|
6411
6432
|
},
|
|
6412
6433
|
m: function mount(target, anchor) {
|
|
6413
6434
|
insert_dev(target, div0, anchor);
|
|
@@ -6429,14 +6450,14 @@
|
|
|
6429
6450
|
block,
|
|
6430
6451
|
id: create_if_block_1$3.name,
|
|
6431
6452
|
type: "if",
|
|
6432
|
-
source: "(
|
|
6453
|
+
source: "(78:6) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}",
|
|
6433
6454
|
ctx
|
|
6434
6455
|
});
|
|
6435
6456
|
|
|
6436
6457
|
return block;
|
|
6437
6458
|
}
|
|
6438
6459
|
|
|
6439
|
-
// (
|
|
6460
|
+
// (87:10) {#if tournamentLeftDays > 0}
|
|
6440
6461
|
function create_if_block_3$3(ctx) {
|
|
6441
6462
|
let t0;
|
|
6442
6463
|
let t1;
|
|
@@ -6516,14 +6537,14 @@
|
|
|
6516
6537
|
block,
|
|
6517
6538
|
id: create_if_block_3$3.name,
|
|
6518
6539
|
type: "if",
|
|
6519
|
-
source: "(
|
|
6540
|
+
source: "(87:10) {#if tournamentLeftDays > 0}",
|
|
6520
6541
|
ctx
|
|
6521
6542
|
});
|
|
6522
6543
|
|
|
6523
6544
|
return block;
|
|
6524
6545
|
}
|
|
6525
6546
|
|
|
6526
|
-
// (
|
|
6547
|
+
// (88:12) {#if diffMinutes}
|
|
6527
6548
|
function create_if_block_6$2(ctx) {
|
|
6528
6549
|
let div;
|
|
6529
6550
|
let t0;
|
|
@@ -6538,7 +6559,7 @@
|
|
|
6538
6559
|
t1 = space();
|
|
6539
6560
|
t2 = text(t2_value);
|
|
6540
6561
|
attr_dev(div, "class", "Remaining");
|
|
6541
|
-
add_location(div, file$5,
|
|
6562
|
+
add_location(div, file$5, 88, 14, 3255);
|
|
6542
6563
|
},
|
|
6543
6564
|
m: function mount(target, anchor) {
|
|
6544
6565
|
insert_dev(target, div, anchor);
|
|
@@ -6559,14 +6580,14 @@
|
|
|
6559
6580
|
block,
|
|
6560
6581
|
id: create_if_block_6$2.name,
|
|
6561
6582
|
type: "if",
|
|
6562
|
-
source: "(
|
|
6583
|
+
source: "(88:12) {#if diffMinutes}",
|
|
6563
6584
|
ctx
|
|
6564
6585
|
});
|
|
6565
6586
|
|
|
6566
6587
|
return block;
|
|
6567
6588
|
}
|
|
6568
6589
|
|
|
6569
|
-
// (
|
|
6590
|
+
// (91:12) {#if diffHours}
|
|
6570
6591
|
function create_if_block_5$2(ctx) {
|
|
6571
6592
|
let div;
|
|
6572
6593
|
let t0;
|
|
@@ -6581,7 +6602,7 @@
|
|
|
6581
6602
|
t1 = space();
|
|
6582
6603
|
t2 = text(t2_value);
|
|
6583
6604
|
attr_dev(div, "class", "Remaining");
|
|
6584
|
-
add_location(div, file$5,
|
|
6605
|
+
add_location(div, file$5, 91, 14, 3405);
|
|
6585
6606
|
},
|
|
6586
6607
|
m: function mount(target, anchor) {
|
|
6587
6608
|
insert_dev(target, div, anchor);
|
|
@@ -6602,14 +6623,14 @@
|
|
|
6602
6623
|
block,
|
|
6603
6624
|
id: create_if_block_5$2.name,
|
|
6604
6625
|
type: "if",
|
|
6605
|
-
source: "(
|
|
6626
|
+
source: "(91:12) {#if diffHours}",
|
|
6606
6627
|
ctx
|
|
6607
6628
|
});
|
|
6608
6629
|
|
|
6609
6630
|
return block;
|
|
6610
6631
|
}
|
|
6611
6632
|
|
|
6612
|
-
// (
|
|
6633
|
+
// (94:12) {#if diffDays}
|
|
6613
6634
|
function create_if_block_4$3(ctx) {
|
|
6614
6635
|
let div;
|
|
6615
6636
|
let t0;
|
|
@@ -6624,7 +6645,7 @@
|
|
|
6624
6645
|
t1 = space();
|
|
6625
6646
|
t2 = text(t2_value);
|
|
6626
6647
|
attr_dev(div, "class", "Remaining");
|
|
6627
|
-
add_location(div, file$5,
|
|
6648
|
+
add_location(div, file$5, 94, 14, 3552);
|
|
6628
6649
|
},
|
|
6629
6650
|
m: function mount(target, anchor) {
|
|
6630
6651
|
insert_dev(target, div, anchor);
|
|
@@ -6645,7 +6666,7 @@
|
|
|
6645
6666
|
block,
|
|
6646
6667
|
id: create_if_block_4$3.name,
|
|
6647
6668
|
type: "if",
|
|
6648
|
-
source: "(
|
|
6669
|
+
source: "(94:12) {#if diffDays}",
|
|
6649
6670
|
ctx
|
|
6650
6671
|
});
|
|
6651
6672
|
|
|
@@ -6662,7 +6683,7 @@
|
|
|
6662
6683
|
if (if_block) if_block.c();
|
|
6663
6684
|
this.c = noop$1;
|
|
6664
6685
|
attr_dev(div, "class", "TournamentDuration");
|
|
6665
|
-
add_location(div, file$5,
|
|
6686
|
+
add_location(div, file$5, 70, 0, 2358);
|
|
6666
6687
|
},
|
|
6667
6688
|
l: function claim(nodes) {
|
|
6668
6689
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -6713,6 +6734,7 @@
|
|
|
6713
6734
|
let { startdate = "" } = $$props;
|
|
6714
6735
|
let { enddate = "" } = $$props;
|
|
6715
6736
|
let { status = "" } = $$props;
|
|
6737
|
+
let { lang = "en" } = $$props;
|
|
6716
6738
|
let startDate = "";
|
|
6717
6739
|
let endDate = "";
|
|
6718
6740
|
let tournamentDuration = "";
|
|
@@ -6731,7 +6753,7 @@
|
|
|
6731
6753
|
const formatDate = date => {
|
|
6732
6754
|
const dateOptions = { month: "long" };
|
|
6733
6755
|
let currentDate = new Date(date);
|
|
6734
|
-
let currentMonth = new Intl.DateTimeFormat(
|
|
6756
|
+
let currentMonth = new Intl.DateTimeFormat(lang, dateOptions).format(currentDate);
|
|
6735
6757
|
let currentDay = currentDate.getDate();
|
|
6736
6758
|
return `${currentDay} ${currentMonth}, ${currentDate.toLocaleString("en-GB", { hour: "numeric", minute: "numeric" })}, ${currentDate.getUTCFullYear()}`;
|
|
6737
6759
|
};
|
|
@@ -6779,7 +6801,7 @@
|
|
|
6779
6801
|
}
|
|
6780
6802
|
};
|
|
6781
6803
|
|
|
6782
|
-
const writable_props = ["startdate", "enddate", "status"];
|
|
6804
|
+
const writable_props = ["startdate", "enddate", "status", "lang"];
|
|
6783
6805
|
|
|
6784
6806
|
Object_1$4.keys($$props).forEach(key => {
|
|
6785
6807
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
@@ -6789,6 +6811,7 @@
|
|
|
6789
6811
|
if ("startdate" in $$props) $$invalidate(0, startdate = $$props.startdate);
|
|
6790
6812
|
if ("enddate" in $$props) $$invalidate(1, enddate = $$props.enddate);
|
|
6791
6813
|
if ("status" in $$props) $$invalidate(2, status = $$props.status);
|
|
6814
|
+
if ("lang" in $$props) $$invalidate(15, lang = $$props.lang);
|
|
6792
6815
|
};
|
|
6793
6816
|
|
|
6794
6817
|
$$self.$capture_state = () => ({
|
|
@@ -6799,6 +6822,7 @@
|
|
|
6799
6822
|
startdate,
|
|
6800
6823
|
enddate,
|
|
6801
6824
|
status,
|
|
6825
|
+
lang,
|
|
6802
6826
|
startDate,
|
|
6803
6827
|
endDate,
|
|
6804
6828
|
tournamentDuration,
|
|
@@ -6821,6 +6845,7 @@
|
|
|
6821
6845
|
if ("startdate" in $$props) $$invalidate(0, startdate = $$props.startdate);
|
|
6822
6846
|
if ("enddate" in $$props) $$invalidate(1, enddate = $$props.enddate);
|
|
6823
6847
|
if ("status" in $$props) $$invalidate(2, status = $$props.status);
|
|
6848
|
+
if ("lang" in $$props) $$invalidate(15, lang = $$props.lang);
|
|
6824
6849
|
if ("startDate" in $$props) $$invalidate(3, startDate = $$props.startDate);
|
|
6825
6850
|
if ("endDate" in $$props) $$invalidate(4, endDate = $$props.endDate);
|
|
6826
6851
|
if ("tournamentDuration" in $$props) tournamentDuration = $$props.tournamentDuration;
|
|
@@ -6852,7 +6877,8 @@
|
|
|
6852
6877
|
$_,
|
|
6853
6878
|
formatStartDate,
|
|
6854
6879
|
formatEndDate,
|
|
6855
|
-
getDuration
|
|
6880
|
+
getDuration,
|
|
6881
|
+
lang
|
|
6856
6882
|
];
|
|
6857
6883
|
}
|
|
6858
6884
|
|
|
@@ -6871,7 +6897,12 @@
|
|
|
6871
6897
|
instance$5,
|
|
6872
6898
|
create_fragment$5,
|
|
6873
6899
|
safe_not_equal,
|
|
6874
|
-
{
|
|
6900
|
+
{
|
|
6901
|
+
startdate: 0,
|
|
6902
|
+
enddate: 1,
|
|
6903
|
+
status: 2,
|
|
6904
|
+
lang: 15
|
|
6905
|
+
}
|
|
6875
6906
|
);
|
|
6876
6907
|
|
|
6877
6908
|
if (options) {
|
|
@@ -6887,7 +6918,7 @@
|
|
|
6887
6918
|
}
|
|
6888
6919
|
|
|
6889
6920
|
static get observedAttributes() {
|
|
6890
|
-
return ["startdate", "enddate", "status"];
|
|
6921
|
+
return ["startdate", "enddate", "status", "lang"];
|
|
6891
6922
|
}
|
|
6892
6923
|
|
|
6893
6924
|
get startdate() {
|
|
@@ -6916,6 +6947,15 @@
|
|
|
6916
6947
|
this.$set({ status });
|
|
6917
6948
|
flush();
|
|
6918
6949
|
}
|
|
6950
|
+
|
|
6951
|
+
get lang() {
|
|
6952
|
+
return this.$$.ctx[15];
|
|
6953
|
+
}
|
|
6954
|
+
|
|
6955
|
+
set lang(lang) {
|
|
6956
|
+
this.$set({ lang });
|
|
6957
|
+
flush();
|
|
6958
|
+
}
|
|
6919
6959
|
}
|
|
6920
6960
|
|
|
6921
6961
|
!customElements.get('casino-tournaments-thumbnail-duration') && customElements.define('casino-tournaments-thumbnail-duration', CasinoTournmanetsThumbnailDuration);
|
|
@@ -6933,8 +6973,8 @@
|
|
|
6933
6973
|
},
|
|
6934
6974
|
tr: {
|
|
6935
6975
|
tournamentsPrizes: {
|
|
6936
|
-
prizes: '
|
|
6937
|
-
noprizes: '
|
|
6976
|
+
prizes: 'Ödüller',
|
|
6977
|
+
noprizes: 'Geçerli ödül yok'
|
|
6938
6978
|
}
|
|
6939
6979
|
},
|
|
6940
6980
|
};
|
|
@@ -7392,32 +7432,32 @@
|
|
|
7392
7432
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
7393
7433
|
attr_dev(path0, "stroke-width", "2");
|
|
7394
7434
|
attr_dev(path0, "d", "M15 19l-7-7 7-7");
|
|
7395
|
-
add_location(path0, file$3, 113, 8,
|
|
7435
|
+
add_location(path0, file$3, 113, 8, 3423);
|
|
7396
7436
|
attr_dev(svg0, "fill", "none");
|
|
7397
7437
|
attr_dev(svg0, "stroke", "currentColor");
|
|
7398
7438
|
attr_dev(svg0, "viewBox", "0 0 24 24");
|
|
7399
7439
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
7400
|
-
add_location(svg0, file$3, 112, 6,
|
|
7440
|
+
add_location(svg0, file$3, 112, 6, 3320);
|
|
7401
7441
|
attr_dev(div0, "class", "SliderNavButton");
|
|
7402
7442
|
toggle_class(div0, "disabled", /*atStart*/ ctx[5]);
|
|
7403
|
-
add_location(div0, file$3, 111, 4,
|
|
7443
|
+
add_location(div0, file$3, 111, 4, 3231);
|
|
7404
7444
|
attr_dev(div1, "class", "items");
|
|
7405
7445
|
set_style(div1, "transform", "translateX(" + /*offset*/ ctx[1] + "px)");
|
|
7406
|
-
add_location(div1, file$3, 117, 6,
|
|
7407
|
-
add_location(main, file$3, 116, 4,
|
|
7446
|
+
add_location(div1, file$3, 117, 6, 3562);
|
|
7447
|
+
add_location(main, file$3, 116, 4, 3549);
|
|
7408
7448
|
attr_dev(path1, "stroke-linecap", "round");
|
|
7409
7449
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
7410
7450
|
attr_dev(path1, "stroke-width", "2");
|
|
7411
7451
|
attr_dev(path1, "d", "M9 5l7 7-7 7");
|
|
7412
|
-
add_location(path1, file$3, 128, 8,
|
|
7452
|
+
add_location(path1, file$3, 128, 8, 4240);
|
|
7413
7453
|
attr_dev(svg1, "fill", "none");
|
|
7414
7454
|
attr_dev(svg1, "stroke", "currentColor");
|
|
7415
7455
|
attr_dev(svg1, "viewBox", "0 0 24 24");
|
|
7416
7456
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
7417
|
-
add_location(svg1, file$3, 127, 6,
|
|
7457
|
+
add_location(svg1, file$3, 127, 6, 4137);
|
|
7418
7458
|
attr_dev(div2, "class", "SliderNavButton");
|
|
7419
7459
|
toggle_class(div2, "disabled", /*atEnd*/ ctx[6]);
|
|
7420
|
-
add_location(div2, file$3, 126, 4,
|
|
7460
|
+
add_location(div2, file$3, 126, 4, 4051);
|
|
7421
7461
|
},
|
|
7422
7462
|
m: function mount(target, anchor) {
|
|
7423
7463
|
insert_dev(target, div0, anchor);
|
|
@@ -7541,15 +7581,15 @@
|
|
|
7541
7581
|
? "itemHover"
|
|
7542
7582
|
: ""));
|
|
7543
7583
|
|
|
7544
|
-
add_location(span, file$3, 120, 12,
|
|
7584
|
+
add_location(span, file$3, 120, 12, 3795);
|
|
7545
7585
|
if (img.src !== (img_src_value = /*game*/ ctx[34].thumbnail)) attr_dev(img, "src", img_src_value);
|
|
7546
7586
|
attr_dev(img, "width", "132px");
|
|
7547
7587
|
attr_dev(img, "height", "100px");
|
|
7548
7588
|
attr_dev(img, "alt", img_alt_value = /*game*/ ctx[34].name);
|
|
7549
7589
|
attr_dev(img, "title", img_title_value = /*game*/ ctx[34].name);
|
|
7550
|
-
add_location(img, file$3, 121, 12,
|
|
7590
|
+
add_location(img, file$3, 121, 12, 3898);
|
|
7551
7591
|
attr_dev(div, "class", "item");
|
|
7552
|
-
add_location(div, file$3, 119, 10,
|
|
7592
|
+
add_location(div, file$3, 119, 10, 3668);
|
|
7553
7593
|
},
|
|
7554
7594
|
m: function mount(target, anchor) {
|
|
7555
7595
|
insert_dev(target, div, anchor);
|
|
@@ -7618,7 +7658,7 @@
|
|
|
7618
7658
|
if (if_block) if_block.c();
|
|
7619
7659
|
this.c = noop$1;
|
|
7620
7660
|
attr_dev(div, "class", "TournamentsGamesSlider");
|
|
7621
|
-
add_location(div, file$3, 109, 0,
|
|
7661
|
+
add_location(div, file$3, 109, 0, 3157);
|
|
7622
7662
|
},
|
|
7623
7663
|
l: function claim(nodes) {
|
|
7624
7664
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -7682,7 +7722,7 @@
|
|
|
7682
7722
|
let xDown = null;
|
|
7683
7723
|
let yDown = null;
|
|
7684
7724
|
let hover = false;
|
|
7685
|
-
let hoverIndex
|
|
7725
|
+
let hoverIndex;
|
|
7686
7726
|
|
|
7687
7727
|
const enter = index => {
|
|
7688
7728
|
$$invalidate(3, hover = true);
|
|
@@ -8002,17 +8042,17 @@
|
|
|
8002
8042
|
let t2;
|
|
8003
8043
|
let t3;
|
|
8004
8044
|
let div1_class_value;
|
|
8005
|
-
let if_block0 = /*isLoggedIn*/ ctx[
|
|
8045
|
+
let if_block0 = /*isLoggedIn*/ ctx[9] && create_if_block_10$1(ctx);
|
|
8006
8046
|
|
|
8007
8047
|
function select_block_type_1(ctx, dirty) {
|
|
8008
|
-
if (!/*isLoggedIn*/ ctx[
|
|
8009
|
-
if (/*status*/ ctx[
|
|
8048
|
+
if (!/*isLoggedIn*/ ctx[9]) return create_if_block_3$2;
|
|
8049
|
+
if (/*status*/ ctx[17] != "Closed" && /*status*/ ctx[17] != "Closing") return create_if_block_4$2;
|
|
8010
8050
|
if (/*showdetails*/ ctx[3] == "true") return create_if_block_9$1;
|
|
8011
8051
|
}
|
|
8012
8052
|
|
|
8013
8053
|
let current_block_type = select_block_type_1(ctx);
|
|
8014
8054
|
let if_block1 = current_block_type && current_block_type(ctx);
|
|
8015
|
-
let if_block2 = /*errorJoin*/ ctx[
|
|
8055
|
+
let if_block2 = /*errorJoin*/ ctx[12] && create_if_block_2$2(ctx);
|
|
8016
8056
|
let if_block3 = /*showslider*/ ctx[4] == "true" && create_if_block_1$2(ctx);
|
|
8017
8057
|
|
|
8018
8058
|
const block = {
|
|
@@ -8030,21 +8070,21 @@
|
|
|
8030
8070
|
if (if_block3) if_block3.c();
|
|
8031
8071
|
set_custom_element_data(casino_tournaments_thumbnail, "session", /*session*/ ctx[0]);
|
|
8032
8072
|
set_custom_element_data(casino_tournaments_thumbnail, "userid", /*userid*/ ctx[1]);
|
|
8033
|
-
set_custom_element_data(casino_tournaments_thumbnail, "title", /*title*/ ctx[
|
|
8034
|
-
set_custom_element_data(casino_tournaments_thumbnail, "status", /*status*/ ctx[
|
|
8035
|
-
set_custom_element_data(casino_tournaments_thumbnail, "startdate", /*startdate*/ ctx[
|
|
8036
|
-
set_custom_element_data(casino_tournaments_thumbnail, "tourid", /*tourid*/ ctx[
|
|
8037
|
-
set_custom_element_data(casino_tournaments_thumbnail, "scorecriteria", /*scorecriteria*/ ctx[
|
|
8038
|
-
set_custom_element_data(casino_tournaments_thumbnail, "minbetcount", /*minbetcount*/ ctx[
|
|
8039
|
-
set_custom_element_data(casino_tournaments_thumbnail, "thumbnail", /*thumbnail*/ ctx[
|
|
8040
|
-
set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[
|
|
8073
|
+
set_custom_element_data(casino_tournaments_thumbnail, "title", /*title*/ ctx[14]);
|
|
8074
|
+
set_custom_element_data(casino_tournaments_thumbnail, "status", /*status*/ ctx[17]);
|
|
8075
|
+
set_custom_element_data(casino_tournaments_thumbnail, "startdate", /*startdate*/ ctx[15]);
|
|
8076
|
+
set_custom_element_data(casino_tournaments_thumbnail, "tourid", /*tourid*/ ctx[18]);
|
|
8077
|
+
set_custom_element_data(casino_tournaments_thumbnail, "scorecriteria", /*scorecriteria*/ ctx[21]);
|
|
8078
|
+
set_custom_element_data(casino_tournaments_thumbnail, "minbetcount", /*minbetcount*/ ctx[22]);
|
|
8079
|
+
set_custom_element_data(casino_tournaments_thumbnail, "thumbnail", /*thumbnail*/ ctx[19]);
|
|
8080
|
+
set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[20]);
|
|
8041
8081
|
set_custom_element_data(casino_tournaments_thumbnail, "showenrolled", /*showenrolled*/ ctx[5]);
|
|
8042
|
-
set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[
|
|
8043
|
-
add_location(casino_tournaments_thumbnail, file$2, 199, 4,
|
|
8082
|
+
set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[24]);
|
|
8083
|
+
add_location(casino_tournaments_thumbnail, file$2, 199, 4, 6071);
|
|
8044
8084
|
attr_dev(div0, "class", "TournamentButtons");
|
|
8045
|
-
add_location(div0, file$2,
|
|
8085
|
+
add_location(div0, file$2, 229, 4, 6897);
|
|
8046
8086
|
attr_dev(div1, "class", div1_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
|
|
8047
|
-
add_location(div1, file$2, 198, 2,
|
|
8087
|
+
add_location(div1, file$2, 198, 2, 5973);
|
|
8048
8088
|
},
|
|
8049
8089
|
m: function mount(target, anchor) {
|
|
8050
8090
|
insert_dev(target, div1, anchor);
|
|
@@ -8068,47 +8108,47 @@
|
|
|
8068
8108
|
set_custom_element_data(casino_tournaments_thumbnail, "userid", /*userid*/ ctx[1]);
|
|
8069
8109
|
}
|
|
8070
8110
|
|
|
8071
|
-
if (dirty[0] & /*title*/
|
|
8072
|
-
set_custom_element_data(casino_tournaments_thumbnail, "title", /*title*/ ctx[
|
|
8111
|
+
if (dirty[0] & /*title*/ 16384) {
|
|
8112
|
+
set_custom_element_data(casino_tournaments_thumbnail, "title", /*title*/ ctx[14]);
|
|
8073
8113
|
}
|
|
8074
8114
|
|
|
8075
|
-
if (dirty[0] & /*status*/
|
|
8076
|
-
set_custom_element_data(casino_tournaments_thumbnail, "status", /*status*/ ctx[
|
|
8115
|
+
if (dirty[0] & /*status*/ 131072) {
|
|
8116
|
+
set_custom_element_data(casino_tournaments_thumbnail, "status", /*status*/ ctx[17]);
|
|
8077
8117
|
}
|
|
8078
8118
|
|
|
8079
|
-
if (dirty[0] & /*startdate*/
|
|
8080
|
-
set_custom_element_data(casino_tournaments_thumbnail, "startdate", /*startdate*/ ctx[
|
|
8119
|
+
if (dirty[0] & /*startdate*/ 32768) {
|
|
8120
|
+
set_custom_element_data(casino_tournaments_thumbnail, "startdate", /*startdate*/ ctx[15]);
|
|
8081
8121
|
}
|
|
8082
8122
|
|
|
8083
|
-
if (dirty[0] & /*tourid*/
|
|
8084
|
-
set_custom_element_data(casino_tournaments_thumbnail, "tourid", /*tourid*/ ctx[
|
|
8123
|
+
if (dirty[0] & /*tourid*/ 262144) {
|
|
8124
|
+
set_custom_element_data(casino_tournaments_thumbnail, "tourid", /*tourid*/ ctx[18]);
|
|
8085
8125
|
}
|
|
8086
8126
|
|
|
8087
|
-
if (dirty[0] & /*scorecriteria*/
|
|
8088
|
-
set_custom_element_data(casino_tournaments_thumbnail, "scorecriteria", /*scorecriteria*/ ctx[
|
|
8127
|
+
if (dirty[0] & /*scorecriteria*/ 2097152) {
|
|
8128
|
+
set_custom_element_data(casino_tournaments_thumbnail, "scorecriteria", /*scorecriteria*/ ctx[21]);
|
|
8089
8129
|
}
|
|
8090
8130
|
|
|
8091
|
-
if (dirty[0] & /*minbetcount*/
|
|
8092
|
-
set_custom_element_data(casino_tournaments_thumbnail, "minbetcount", /*minbetcount*/ ctx[
|
|
8131
|
+
if (dirty[0] & /*minbetcount*/ 4194304) {
|
|
8132
|
+
set_custom_element_data(casino_tournaments_thumbnail, "minbetcount", /*minbetcount*/ ctx[22]);
|
|
8093
8133
|
}
|
|
8094
8134
|
|
|
8095
|
-
if (dirty[0] & /*thumbnail*/
|
|
8096
|
-
set_custom_element_data(casino_tournaments_thumbnail, "thumbnail", /*thumbnail*/ ctx[
|
|
8135
|
+
if (dirty[0] & /*thumbnail*/ 524288) {
|
|
8136
|
+
set_custom_element_data(casino_tournaments_thumbnail, "thumbnail", /*thumbnail*/ ctx[19]);
|
|
8097
8137
|
}
|
|
8098
8138
|
|
|
8099
|
-
if (dirty[0] & /*userenrolled*/
|
|
8100
|
-
set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[
|
|
8139
|
+
if (dirty[0] & /*userenrolled*/ 1048576) {
|
|
8140
|
+
set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[20]);
|
|
8101
8141
|
}
|
|
8102
8142
|
|
|
8103
8143
|
if (dirty[0] & /*showenrolled*/ 32) {
|
|
8104
8144
|
set_custom_element_data(casino_tournaments_thumbnail, "showenrolled", /*showenrolled*/ ctx[5]);
|
|
8105
8145
|
}
|
|
8106
8146
|
|
|
8107
|
-
if (dirty[0] & /*gameurl*/
|
|
8108
|
-
set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[
|
|
8147
|
+
if (dirty[0] & /*gameurl*/ 16777216) {
|
|
8148
|
+
set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[24]);
|
|
8109
8149
|
}
|
|
8110
8150
|
|
|
8111
|
-
if (/*isLoggedIn*/ ctx[
|
|
8151
|
+
if (/*isLoggedIn*/ ctx[9]) {
|
|
8112
8152
|
if (if_block0) {
|
|
8113
8153
|
if_block0.p(ctx, dirty);
|
|
8114
8154
|
} else {
|
|
@@ -8133,7 +8173,7 @@
|
|
|
8133
8173
|
}
|
|
8134
8174
|
}
|
|
8135
8175
|
|
|
8136
|
-
if (/*errorJoin*/ ctx[
|
|
8176
|
+
if (/*errorJoin*/ ctx[12]) {
|
|
8137
8177
|
if (if_block2) {
|
|
8138
8178
|
if_block2.p(ctx, dirty);
|
|
8139
8179
|
} else {
|
|
@@ -8232,29 +8272,29 @@
|
|
|
8232
8272
|
t6 = space();
|
|
8233
8273
|
div7 = element("div");
|
|
8234
8274
|
attr_dev(div0, "class", "ph-picture");
|
|
8235
|
-
add_location(div0, file$2, 184, 10,
|
|
8275
|
+
add_location(div0, file$2, 184, 10, 5535);
|
|
8236
8276
|
attr_dev(div1, "class", "ph-col-6 big");
|
|
8237
|
-
add_location(div1, file$2, 186, 12,
|
|
8277
|
+
add_location(div1, file$2, 186, 12, 5609);
|
|
8238
8278
|
attr_dev(div2, "class", "ph-col-4 empty big");
|
|
8239
|
-
add_location(div2, file$2, 187, 12,
|
|
8279
|
+
add_location(div2, file$2, 187, 12, 5654);
|
|
8240
8280
|
attr_dev(div3, "class", "ph-col-4");
|
|
8241
|
-
add_location(div3, file$2, 188, 12,
|
|
8281
|
+
add_location(div3, file$2, 188, 12, 5705);
|
|
8242
8282
|
attr_dev(div4, "class", "ph-col-8 empty");
|
|
8243
|
-
add_location(div4, file$2, 189, 12,
|
|
8283
|
+
add_location(div4, file$2, 189, 12, 5746);
|
|
8244
8284
|
attr_dev(div5, "class", "ph-col-6");
|
|
8245
|
-
add_location(div5, file$2, 190, 12,
|
|
8285
|
+
add_location(div5, file$2, 190, 12, 5793);
|
|
8246
8286
|
attr_dev(div6, "class", "ph-col-6 empty");
|
|
8247
|
-
add_location(div6, file$2, 191, 12,
|
|
8287
|
+
add_location(div6, file$2, 191, 12, 5834);
|
|
8248
8288
|
attr_dev(div7, "class", "ph-col-12");
|
|
8249
|
-
add_location(div7, file$2, 192, 12,
|
|
8289
|
+
add_location(div7, file$2, 192, 12, 5881);
|
|
8250
8290
|
attr_dev(div8, "class", "ph-row");
|
|
8251
|
-
add_location(div8, file$2, 185, 10,
|
|
8291
|
+
add_location(div8, file$2, 185, 10, 5576);
|
|
8252
8292
|
attr_dev(div9, "class", "ph-col-12");
|
|
8253
|
-
add_location(div9, file$2, 183, 8,
|
|
8293
|
+
add_location(div9, file$2, 183, 8, 5501);
|
|
8254
8294
|
attr_dev(div10, "class", "ph-item");
|
|
8255
|
-
add_location(div10, file$2, 182, 6,
|
|
8295
|
+
add_location(div10, file$2, 182, 6, 5471);
|
|
8256
8296
|
attr_dev(div11, "class", div11_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
|
|
8257
|
-
add_location(div11, file$2, 181, 2,
|
|
8297
|
+
add_location(div11, file$2, 181, 2, 5371);
|
|
8258
8298
|
},
|
|
8259
8299
|
m: function mount(target, anchor) {
|
|
8260
8300
|
insert_dev(target, div11, anchor);
|
|
@@ -8302,17 +8342,18 @@
|
|
|
8302
8342
|
function create_if_block_10$1(ctx) {
|
|
8303
8343
|
let t;
|
|
8304
8344
|
let casino_tournaments_thumbnail_duration;
|
|
8305
|
-
let if_block = /*tourid*/ ctx[
|
|
8345
|
+
let if_block = /*tourid*/ ctx[18] && create_if_block_11$1(ctx);
|
|
8306
8346
|
|
|
8307
8347
|
const block = {
|
|
8308
8348
|
c: function create() {
|
|
8309
8349
|
if (if_block) if_block.c();
|
|
8310
8350
|
t = space();
|
|
8311
8351
|
casino_tournaments_thumbnail_duration = element("casino-tournaments-thumbnail-duration");
|
|
8312
|
-
set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[
|
|
8313
|
-
set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[
|
|
8314
|
-
set_custom_element_data(casino_tournaments_thumbnail_duration, "
|
|
8315
|
-
|
|
8352
|
+
set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[17]);
|
|
8353
|
+
set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[15]);
|
|
8354
|
+
set_custom_element_data(casino_tournaments_thumbnail_duration, "lang", /*lang*/ ctx[8]);
|
|
8355
|
+
set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[16]);
|
|
8356
|
+
add_location(casino_tournaments_thumbnail_duration, file$2, 222, 6, 6701);
|
|
8316
8357
|
},
|
|
8317
8358
|
m: function mount(target, anchor) {
|
|
8318
8359
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -8320,7 +8361,7 @@
|
|
|
8320
8361
|
insert_dev(target, casino_tournaments_thumbnail_duration, anchor);
|
|
8321
8362
|
},
|
|
8322
8363
|
p: function update(ctx, dirty) {
|
|
8323
|
-
if (/*tourid*/ ctx[
|
|
8364
|
+
if (/*tourid*/ ctx[18]) {
|
|
8324
8365
|
if (if_block) {
|
|
8325
8366
|
if_block.p(ctx, dirty);
|
|
8326
8367
|
} else {
|
|
@@ -8333,16 +8374,20 @@
|
|
|
8333
8374
|
if_block = null;
|
|
8334
8375
|
}
|
|
8335
8376
|
|
|
8336
|
-
if (dirty[0] & /*status*/
|
|
8337
|
-
set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[
|
|
8377
|
+
if (dirty[0] & /*status*/ 131072) {
|
|
8378
|
+
set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[17]);
|
|
8338
8379
|
}
|
|
8339
8380
|
|
|
8340
|
-
if (dirty[0] & /*startdate*/
|
|
8341
|
-
set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[
|
|
8381
|
+
if (dirty[0] & /*startdate*/ 32768) {
|
|
8382
|
+
set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[15]);
|
|
8342
8383
|
}
|
|
8343
8384
|
|
|
8344
|
-
if (dirty[0] & /*
|
|
8345
|
-
set_custom_element_data(casino_tournaments_thumbnail_duration, "
|
|
8385
|
+
if (dirty[0] & /*lang*/ 256) {
|
|
8386
|
+
set_custom_element_data(casino_tournaments_thumbnail_duration, "lang", /*lang*/ ctx[8]);
|
|
8387
|
+
}
|
|
8388
|
+
|
|
8389
|
+
if (dirty[0] & /*enddate*/ 65536) {
|
|
8390
|
+
set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[16]);
|
|
8346
8391
|
}
|
|
8347
8392
|
},
|
|
8348
8393
|
d: function destroy(detaching) {
|
|
@@ -8373,23 +8418,23 @@
|
|
|
8373
8418
|
const block = {
|
|
8374
8419
|
c: function create() {
|
|
8375
8420
|
casino_tournaments_thumbnail_prizes = element("casino-tournaments-thumbnail-prizes");
|
|
8376
|
-
set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[
|
|
8377
|
-
add_location(casino_tournaments_thumbnail_prizes, file$2, 216, 8,
|
|
8421
|
+
set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[18]);
|
|
8422
|
+
add_location(casino_tournaments_thumbnail_prizes, file$2, 216, 8, 6519);
|
|
8378
8423
|
},
|
|
8379
8424
|
m: function mount(target, anchor) {
|
|
8380
8425
|
insert_dev(target, casino_tournaments_thumbnail_prizes, anchor);
|
|
8381
8426
|
|
|
8382
8427
|
if (!mounted) {
|
|
8383
|
-
dispose = action_destroyer(sendTournamentPrizes_action = /*sendTournamentPrizes*/ ctx[
|
|
8428
|
+
dispose = action_destroyer(sendTournamentPrizes_action = /*sendTournamentPrizes*/ ctx[30].call(null, casino_tournaments_thumbnail_prizes, /*tourid*/ ctx[18]));
|
|
8384
8429
|
mounted = true;
|
|
8385
8430
|
}
|
|
8386
8431
|
},
|
|
8387
8432
|
p: function update(ctx, dirty) {
|
|
8388
|
-
if (dirty[0] & /*tourid*/
|
|
8389
|
-
set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[
|
|
8433
|
+
if (dirty[0] & /*tourid*/ 262144) {
|
|
8434
|
+
set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[18]);
|
|
8390
8435
|
}
|
|
8391
8436
|
|
|
8392
|
-
if (sendTournamentPrizes_action && is_function(sendTournamentPrizes_action.update) && dirty[0] & /*tourid*/
|
|
8437
|
+
if (sendTournamentPrizes_action && is_function(sendTournamentPrizes_action.update) && dirty[0] & /*tourid*/ 262144) sendTournamentPrizes_action.update.call(null, /*tourid*/ ctx[18]);
|
|
8393
8438
|
},
|
|
8394
8439
|
d: function destroy(detaching) {
|
|
8395
8440
|
if (detaching) detach_dev(casino_tournaments_thumbnail_prizes);
|
|
@@ -8409,28 +8454,33 @@
|
|
|
8409
8454
|
return block;
|
|
8410
8455
|
}
|
|
8411
8456
|
|
|
8412
|
-
// (
|
|
8457
|
+
// (256:10) {#if showdetails == 'true'}
|
|
8413
8458
|
function create_if_block_9$1(ctx) {
|
|
8414
8459
|
let button;
|
|
8460
|
+
let t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "";
|
|
8461
|
+
let t;
|
|
8415
8462
|
let mounted;
|
|
8416
8463
|
let dispose;
|
|
8417
8464
|
|
|
8418
8465
|
const block = {
|
|
8419
8466
|
c: function create() {
|
|
8420
8467
|
button = element("button");
|
|
8421
|
-
|
|
8468
|
+
t = text(t_value);
|
|
8422
8469
|
attr_dev(button, "class", "DetailsLargeButton");
|
|
8423
|
-
add_location(button, file$2,
|
|
8470
|
+
add_location(button, file$2, 256, 12, 8513);
|
|
8424
8471
|
},
|
|
8425
8472
|
m: function mount(target, anchor) {
|
|
8426
8473
|
insert_dev(target, button, anchor);
|
|
8474
|
+
append_dev(button, t);
|
|
8427
8475
|
|
|
8428
8476
|
if (!mounted) {
|
|
8429
8477
|
dispose = listen_dev(button, "click", /*click_handler_4*/ ctx[41], false, false, false);
|
|
8430
8478
|
mounted = true;
|
|
8431
8479
|
}
|
|
8432
8480
|
},
|
|
8433
|
-
p:
|
|
8481
|
+
p: function update(ctx, dirty) {
|
|
8482
|
+
if (dirty[0] & /*$_*/ 33554432 && t_value !== (t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "")) set_data_dev(t, t_value);
|
|
8483
|
+
},
|
|
8434
8484
|
d: function destroy(detaching) {
|
|
8435
8485
|
if (detaching) detach_dev(button);
|
|
8436
8486
|
mounted = false;
|
|
@@ -8442,21 +8492,21 @@
|
|
|
8442
8492
|
block,
|
|
8443
8493
|
id: create_if_block_9$1.name,
|
|
8444
8494
|
type: "if",
|
|
8445
|
-
source: "(
|
|
8495
|
+
source: "(256:10) {#if showdetails == 'true'}",
|
|
8446
8496
|
ctx
|
|
8447
8497
|
});
|
|
8448
8498
|
|
|
8449
8499
|
return block;
|
|
8450
8500
|
}
|
|
8451
8501
|
|
|
8452
|
-
// (
|
|
8502
|
+
// (235:8) {#if status != 'Closed' && status != 'Closing'}
|
|
8453
8503
|
function create_if_block_4$2(ctx) {
|
|
8454
8504
|
let t;
|
|
8455
8505
|
let if_block1_anchor;
|
|
8456
8506
|
let if_block0 = /*showdetails*/ ctx[3] == "true" && create_if_block_8$1(ctx);
|
|
8457
8507
|
|
|
8458
8508
|
function select_block_type_2(ctx, dirty) {
|
|
8459
|
-
if (/*userenrolled*/ ctx[
|
|
8509
|
+
if (/*userenrolled*/ ctx[20] == true) return create_if_block_5$1;
|
|
8460
8510
|
return create_else_block_1$1;
|
|
8461
8511
|
}
|
|
8462
8512
|
|
|
@@ -8514,21 +8564,21 @@
|
|
|
8514
8564
|
block,
|
|
8515
8565
|
id: create_if_block_4$2.name,
|
|
8516
8566
|
type: "if",
|
|
8517
|
-
source: "(
|
|
8567
|
+
source: "(235:8) {#if status != 'Closed' && status != 'Closing'}",
|
|
8518
8568
|
ctx
|
|
8519
8569
|
});
|
|
8520
8570
|
|
|
8521
8571
|
return block;
|
|
8522
8572
|
}
|
|
8523
8573
|
|
|
8524
|
-
// (
|
|
8574
|
+
// (231:6) {#if !isLoggedIn}
|
|
8525
8575
|
function create_if_block_3$2(ctx) {
|
|
8526
8576
|
let button0;
|
|
8527
|
-
let t0_value = /*$_*/ ctx[
|
|
8577
|
+
let t0_value = /*$_*/ ctx[25]("tournamentsThController.login") + "";
|
|
8528
8578
|
let t0;
|
|
8529
8579
|
let t1;
|
|
8530
8580
|
let button1;
|
|
8531
|
-
let t2_value = /*$_*/ ctx[
|
|
8581
|
+
let t2_value = /*$_*/ ctx[25]("tournamentsThController.register") + "";
|
|
8532
8582
|
let t2;
|
|
8533
8583
|
let mounted;
|
|
8534
8584
|
let dispose;
|
|
@@ -8541,9 +8591,9 @@
|
|
|
8541
8591
|
button1 = element("button");
|
|
8542
8592
|
t2 = text(t2_value);
|
|
8543
8593
|
attr_dev(button0, "class", "LoginButton");
|
|
8544
|
-
add_location(button0, file$2,
|
|
8594
|
+
add_location(button0, file$2, 231, 8, 6961);
|
|
8545
8595
|
attr_dev(button1, "class", "RegisterButton");
|
|
8546
|
-
add_location(button1, file$2,
|
|
8596
|
+
add_location(button1, file$2, 232, 8, 7075);
|
|
8547
8597
|
},
|
|
8548
8598
|
m: function mount(target, anchor) {
|
|
8549
8599
|
insert_dev(target, button0, anchor);
|
|
@@ -8562,8 +8612,8 @@
|
|
|
8562
8612
|
}
|
|
8563
8613
|
},
|
|
8564
8614
|
p: function update(ctx, dirty) {
|
|
8565
|
-
if (dirty[0] & /*$_*/
|
|
8566
|
-
if (dirty[0] & /*$_*/
|
|
8615
|
+
if (dirty[0] & /*$_*/ 33554432 && t0_value !== (t0_value = /*$_*/ ctx[25]("tournamentsThController.login") + "")) set_data_dev(t0, t0_value);
|
|
8616
|
+
if (dirty[0] & /*$_*/ 33554432 && t2_value !== (t2_value = /*$_*/ ctx[25]("tournamentsThController.register") + "")) set_data_dev(t2, t2_value);
|
|
8567
8617
|
},
|
|
8568
8618
|
d: function destroy(detaching) {
|
|
8569
8619
|
if (detaching) detach_dev(button0);
|
|
@@ -8578,17 +8628,17 @@
|
|
|
8578
8628
|
block,
|
|
8579
8629
|
id: create_if_block_3$2.name,
|
|
8580
8630
|
type: "if",
|
|
8581
|
-
source: "(
|
|
8631
|
+
source: "(231:6) {#if !isLoggedIn}",
|
|
8582
8632
|
ctx
|
|
8583
8633
|
});
|
|
8584
8634
|
|
|
8585
8635
|
return block;
|
|
8586
8636
|
}
|
|
8587
8637
|
|
|
8588
|
-
// (
|
|
8638
|
+
// (236:10) {#if showdetails == 'true'}
|
|
8589
8639
|
function create_if_block_8$1(ctx) {
|
|
8590
8640
|
let button;
|
|
8591
|
-
let t_value = /*$_*/ ctx[
|
|
8641
|
+
let t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "";
|
|
8592
8642
|
let t;
|
|
8593
8643
|
let mounted;
|
|
8594
8644
|
let dispose;
|
|
@@ -8598,7 +8648,7 @@
|
|
|
8598
8648
|
button = element("button");
|
|
8599
8649
|
t = text(t_value);
|
|
8600
8650
|
attr_dev(button, "class", "DetailsButton");
|
|
8601
|
-
add_location(button, file$2,
|
|
8651
|
+
add_location(button, file$2, 236, 12, 7310);
|
|
8602
8652
|
},
|
|
8603
8653
|
m: function mount(target, anchor) {
|
|
8604
8654
|
insert_dev(target, button, anchor);
|
|
@@ -8610,7 +8660,7 @@
|
|
|
8610
8660
|
}
|
|
8611
8661
|
},
|
|
8612
8662
|
p: function update(ctx, dirty) {
|
|
8613
|
-
if (dirty[0] & /*$_*/
|
|
8663
|
+
if (dirty[0] & /*$_*/ 33554432 && t_value !== (t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "")) set_data_dev(t, t_value);
|
|
8614
8664
|
},
|
|
8615
8665
|
d: function destroy(detaching) {
|
|
8616
8666
|
if (detaching) detach_dev(button);
|
|
@@ -8623,14 +8673,14 @@
|
|
|
8623
8673
|
block,
|
|
8624
8674
|
id: create_if_block_8$1.name,
|
|
8625
8675
|
type: "if",
|
|
8626
|
-
source: "(
|
|
8676
|
+
source: "(236:10) {#if showdetails == 'true'}",
|
|
8627
8677
|
ctx
|
|
8628
8678
|
});
|
|
8629
8679
|
|
|
8630
8680
|
return block;
|
|
8631
8681
|
}
|
|
8632
8682
|
|
|
8633
|
-
// (
|
|
8683
|
+
// (243:10) {:else}
|
|
8634
8684
|
function create_else_block_1$1(ctx) {
|
|
8635
8685
|
let button;
|
|
8636
8686
|
let button_class_value;
|
|
@@ -8638,7 +8688,7 @@
|
|
|
8638
8688
|
let dispose;
|
|
8639
8689
|
|
|
8640
8690
|
function select_block_type_3(ctx, dirty) {
|
|
8641
|
-
if (/*joinButtonLoading*/ ctx[
|
|
8691
|
+
if (/*joinButtonLoading*/ ctx[11] == true) return create_if_block_7$1;
|
|
8642
8692
|
return create_else_block_2$1;
|
|
8643
8693
|
}
|
|
8644
8694
|
|
|
@@ -8650,8 +8700,8 @@
|
|
|
8650
8700
|
button = element("button");
|
|
8651
8701
|
if_block.c();
|
|
8652
8702
|
attr_dev(button, "class", button_class_value = "JoinButton " + (/*fullsize*/ ctx[7] ? "JoinButtonFullSize" : ""));
|
|
8653
|
-
button.disabled = /*errorJoin*/ ctx[
|
|
8654
|
-
add_location(button, file$2,
|
|
8703
|
+
button.disabled = /*errorJoin*/ ctx[12];
|
|
8704
|
+
add_location(button, file$2, 243, 12, 7673);
|
|
8655
8705
|
},
|
|
8656
8706
|
m: function mount(target, anchor) {
|
|
8657
8707
|
insert_dev(target, button, anchor);
|
|
@@ -8679,8 +8729,8 @@
|
|
|
8679
8729
|
attr_dev(button, "class", button_class_value);
|
|
8680
8730
|
}
|
|
8681
8731
|
|
|
8682
|
-
if (dirty[0] & /*errorJoin*/
|
|
8683
|
-
prop_dev(button, "disabled", /*errorJoin*/ ctx[
|
|
8732
|
+
if (dirty[0] & /*errorJoin*/ 4096) {
|
|
8733
|
+
prop_dev(button, "disabled", /*errorJoin*/ ctx[12]);
|
|
8684
8734
|
}
|
|
8685
8735
|
},
|
|
8686
8736
|
d: function destroy(detaching) {
|
|
@@ -8695,14 +8745,14 @@
|
|
|
8695
8745
|
block,
|
|
8696
8746
|
id: create_else_block_1$1.name,
|
|
8697
8747
|
type: "else",
|
|
8698
|
-
source: "(
|
|
8748
|
+
source: "(243:10) {:else}",
|
|
8699
8749
|
ctx
|
|
8700
8750
|
});
|
|
8701
8751
|
|
|
8702
8752
|
return block;
|
|
8703
8753
|
}
|
|
8704
8754
|
|
|
8705
|
-
// (
|
|
8755
|
+
// (239:10) {#if userenrolled == true}
|
|
8706
8756
|
function create_if_block_5$1(ctx) {
|
|
8707
8757
|
let if_block_anchor;
|
|
8708
8758
|
let if_block = /*showdetails*/ ctx[3] == "true" && create_if_block_6$1(ctx);
|
|
@@ -8740,17 +8790,17 @@
|
|
|
8740
8790
|
block,
|
|
8741
8791
|
id: create_if_block_5$1.name,
|
|
8742
8792
|
type: "if",
|
|
8743
|
-
source: "(
|
|
8793
|
+
source: "(239:10) {#if userenrolled == true}",
|
|
8744
8794
|
ctx
|
|
8745
8795
|
});
|
|
8746
8796
|
|
|
8747
8797
|
return block;
|
|
8748
8798
|
}
|
|
8749
8799
|
|
|
8750
|
-
// (
|
|
8800
|
+
// (249:14) {:else}
|
|
8751
8801
|
function create_else_block_2$1(ctx) {
|
|
8752
8802
|
let span;
|
|
8753
|
-
let t0_value = /*$_*/ ctx[
|
|
8803
|
+
let t0_value = /*$_*/ ctx[25]("tournamentsThController.join") + "";
|
|
8754
8804
|
let t0;
|
|
8755
8805
|
let t1;
|
|
8756
8806
|
let svg;
|
|
@@ -8771,20 +8821,20 @@
|
|
|
8771
8821
|
t2 = text(".a{fill:#fff;}");
|
|
8772
8822
|
g = svg_element("g");
|
|
8773
8823
|
path = svg_element("path");
|
|
8774
|
-
add_location(span, file$2,
|
|
8775
|
-
add_location(style, file$2,
|
|
8776
|
-
add_location(defs, file$2,
|
|
8824
|
+
add_location(span, file$2, 249, 16, 8009);
|
|
8825
|
+
add_location(style, file$2, 250, 105, 8164);
|
|
8826
|
+
add_location(defs, file$2, 250, 99, 8158);
|
|
8777
8827
|
attr_dev(path, "class", "a");
|
|
8778
8828
|
attr_dev(path, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z");
|
|
8779
8829
|
attr_dev(path, "transform", "translate(26 26) rotate(180)");
|
|
8780
|
-
add_location(path, file$2,
|
|
8830
|
+
add_location(path, file$2, 250, 185, 8244);
|
|
8781
8831
|
attr_dev(g, "transform", "translate(26 26) rotate(180)");
|
|
8782
|
-
add_location(g, file$2,
|
|
8832
|
+
add_location(g, file$2, 250, 141, 8200);
|
|
8783
8833
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
8784
8834
|
attr_dev(svg, "width", "26");
|
|
8785
8835
|
attr_dev(svg, "height", "26");
|
|
8786
8836
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
8787
|
-
add_location(svg, file$2,
|
|
8837
|
+
add_location(svg, file$2, 250, 16, 8075);
|
|
8788
8838
|
},
|
|
8789
8839
|
m: function mount(target, anchor) {
|
|
8790
8840
|
insert_dev(target, span, anchor);
|
|
@@ -8798,7 +8848,7 @@
|
|
|
8798
8848
|
append_dev(g, path);
|
|
8799
8849
|
},
|
|
8800
8850
|
p: function update(ctx, dirty) {
|
|
8801
|
-
if (dirty[0] & /*$_*/
|
|
8851
|
+
if (dirty[0] & /*$_*/ 33554432 && t0_value !== (t0_value = /*$_*/ ctx[25]("tournamentsThController.join") + "")) set_data_dev(t0, t0_value);
|
|
8802
8852
|
},
|
|
8803
8853
|
d: function destroy(detaching) {
|
|
8804
8854
|
if (detaching) detach_dev(span);
|
|
@@ -8811,14 +8861,14 @@
|
|
|
8811
8861
|
block,
|
|
8812
8862
|
id: create_else_block_2$1.name,
|
|
8813
8863
|
type: "else",
|
|
8814
|
-
source: "(
|
|
8864
|
+
source: "(249:14) {:else}",
|
|
8815
8865
|
ctx
|
|
8816
8866
|
});
|
|
8817
8867
|
|
|
8818
8868
|
return block;
|
|
8819
8869
|
}
|
|
8820
8870
|
|
|
8821
|
-
// (
|
|
8871
|
+
// (245:14) {#if joinButtonLoading == true}
|
|
8822
8872
|
function create_if_block_7$1(ctx) {
|
|
8823
8873
|
let svg;
|
|
8824
8874
|
let circle;
|
|
@@ -8830,9 +8880,9 @@
|
|
|
8830
8880
|
attr_dev(circle, "cx", "20");
|
|
8831
8881
|
attr_dev(circle, "cy", "20");
|
|
8832
8882
|
attr_dev(circle, "r", "18");
|
|
8833
|
-
add_location(circle, file$2,
|
|
8883
|
+
add_location(circle, file$2, 246, 18, 7907);
|
|
8834
8884
|
attr_dev(svg, "class", "spinner");
|
|
8835
|
-
add_location(svg, file$2,
|
|
8885
|
+
add_location(svg, file$2, 245, 16, 7867);
|
|
8836
8886
|
},
|
|
8837
8887
|
m: function mount(target, anchor) {
|
|
8838
8888
|
insert_dev(target, svg, anchor);
|
|
@@ -8848,17 +8898,17 @@
|
|
|
8848
8898
|
block,
|
|
8849
8899
|
id: create_if_block_7$1.name,
|
|
8850
8900
|
type: "if",
|
|
8851
|
-
source: "(
|
|
8901
|
+
source: "(245:14) {#if joinButtonLoading == true}",
|
|
8852
8902
|
ctx
|
|
8853
8903
|
});
|
|
8854
8904
|
|
|
8855
8905
|
return block;
|
|
8856
8906
|
}
|
|
8857
8907
|
|
|
8858
|
-
// (
|
|
8908
|
+
// (240:12) {#if showdetails == 'true'}
|
|
8859
8909
|
function create_if_block_6$1(ctx) {
|
|
8860
8910
|
let button;
|
|
8861
|
-
let t_value = /*$_*/ ctx[
|
|
8911
|
+
let t_value = /*$_*/ ctx[25]("tournamentsThController.enrolled") + "";
|
|
8862
8912
|
let t;
|
|
8863
8913
|
|
|
8864
8914
|
const block = {
|
|
@@ -8867,14 +8917,14 @@
|
|
|
8867
8917
|
t = text(t_value);
|
|
8868
8918
|
attr_dev(button, "class", "EnrolledButton");
|
|
8869
8919
|
button.disabled = true;
|
|
8870
|
-
add_location(button, file$2,
|
|
8920
|
+
add_location(button, file$2, 240, 14, 7535);
|
|
8871
8921
|
},
|
|
8872
8922
|
m: function mount(target, anchor) {
|
|
8873
8923
|
insert_dev(target, button, anchor);
|
|
8874
8924
|
append_dev(button, t);
|
|
8875
8925
|
},
|
|
8876
8926
|
p: function update(ctx, dirty) {
|
|
8877
|
-
if (dirty[0] & /*$_*/
|
|
8927
|
+
if (dirty[0] & /*$_*/ 33554432 && t_value !== (t_value = /*$_*/ ctx[25]("tournamentsThController.enrolled") + "")) set_data_dev(t, t_value);
|
|
8878
8928
|
},
|
|
8879
8929
|
d: function destroy(detaching) {
|
|
8880
8930
|
if (detaching) detach_dev(button);
|
|
@@ -8885,17 +8935,17 @@
|
|
|
8885
8935
|
block,
|
|
8886
8936
|
id: create_if_block_6$1.name,
|
|
8887
8937
|
type: "if",
|
|
8888
|
-
source: "(
|
|
8938
|
+
source: "(240:12) {#if showdetails == 'true'}",
|
|
8889
8939
|
ctx
|
|
8890
8940
|
});
|
|
8891
8941
|
|
|
8892
8942
|
return block;
|
|
8893
8943
|
}
|
|
8894
8944
|
|
|
8895
|
-
// (
|
|
8945
|
+
// (262:4) {#if errorJoin}
|
|
8896
8946
|
function create_if_block_2$2(ctx) {
|
|
8897
8947
|
let span;
|
|
8898
|
-
let t0_value = /*$_*/ ctx[
|
|
8948
|
+
let t0_value = /*$_*/ ctx[25]("tournamentsThController.joinerror") + "";
|
|
8899
8949
|
let t0;
|
|
8900
8950
|
let t1;
|
|
8901
8951
|
let t2;
|
|
@@ -8905,9 +8955,9 @@
|
|
|
8905
8955
|
span = element("span");
|
|
8906
8956
|
t0 = text(t0_value);
|
|
8907
8957
|
t1 = space();
|
|
8908
|
-
t2 = text(/*errorJoinText*/ ctx[
|
|
8958
|
+
t2 = text(/*errorJoinText*/ ctx[13]);
|
|
8909
8959
|
attr_dev(span, "class", "ErrorText");
|
|
8910
|
-
add_location(span, file$2,
|
|
8960
|
+
add_location(span, file$2, 262, 6, 8715);
|
|
8911
8961
|
},
|
|
8912
8962
|
m: function mount(target, anchor) {
|
|
8913
8963
|
insert_dev(target, span, anchor);
|
|
@@ -8916,8 +8966,8 @@
|
|
|
8916
8966
|
append_dev(span, t2);
|
|
8917
8967
|
},
|
|
8918
8968
|
p: function update(ctx, dirty) {
|
|
8919
|
-
if (dirty[0] & /*$_*/
|
|
8920
|
-
if (dirty[0] & /*errorJoinText*/
|
|
8969
|
+
if (dirty[0] & /*$_*/ 33554432 && t0_value !== (t0_value = /*$_*/ ctx[25]("tournamentsThController.joinerror") + "")) set_data_dev(t0, t0_value);
|
|
8970
|
+
if (dirty[0] & /*errorJoinText*/ 8192) set_data_dev(t2, /*errorJoinText*/ ctx[13]);
|
|
8921
8971
|
},
|
|
8922
8972
|
d: function destroy(detaching) {
|
|
8923
8973
|
if (detaching) detach_dev(span);
|
|
@@ -8928,14 +8978,14 @@
|
|
|
8928
8978
|
block,
|
|
8929
8979
|
id: create_if_block_2$2.name,
|
|
8930
8980
|
type: "if",
|
|
8931
|
-
source: "(
|
|
8981
|
+
source: "(262:4) {#if errorJoin}",
|
|
8932
8982
|
ctx
|
|
8933
8983
|
});
|
|
8934
8984
|
|
|
8935
8985
|
return block;
|
|
8936
8986
|
}
|
|
8937
8987
|
|
|
8938
|
-
// (
|
|
8988
|
+
// (265:4) {#if showslider == "true"}
|
|
8939
8989
|
function create_if_block_1$2(ctx) {
|
|
8940
8990
|
let casino_tournaments_thumbnail_games_slider;
|
|
8941
8991
|
|
|
@@ -8943,9 +8993,10 @@
|
|
|
8943
8993
|
c: function create() {
|
|
8944
8994
|
casino_tournaments_thumbnail_games_slider = element("casino-tournaments-thumbnail-games-slider");
|
|
8945
8995
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
|
|
8996
|
+
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "lang", /*lang*/ ctx[8]);
|
|
8946
8997
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
|
|
8947
8998
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "130");
|
|
8948
|
-
add_location(casino_tournaments_thumbnail_games_slider, file$2,
|
|
8999
|
+
add_location(casino_tournaments_thumbnail_games_slider, file$2, 265, 6, 8851);
|
|
8949
9000
|
},
|
|
8950
9001
|
m: function mount(target, anchor) {
|
|
8951
9002
|
insert_dev(target, casino_tournaments_thumbnail_games_slider, anchor);
|
|
@@ -8954,6 +9005,10 @@
|
|
|
8954
9005
|
if (dirty[0] & /*tournamenturl*/ 4) {
|
|
8955
9006
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
|
|
8956
9007
|
}
|
|
9008
|
+
|
|
9009
|
+
if (dirty[0] & /*lang*/ 256) {
|
|
9010
|
+
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "lang", /*lang*/ ctx[8]);
|
|
9011
|
+
}
|
|
8957
9012
|
},
|
|
8958
9013
|
d: function destroy(detaching) {
|
|
8959
9014
|
if (detaching) detach_dev(casino_tournaments_thumbnail_games_slider);
|
|
@@ -8964,7 +9019,7 @@
|
|
|
8964
9019
|
block,
|
|
8965
9020
|
id: create_if_block_1$2.name,
|
|
8966
9021
|
type: "if",
|
|
8967
|
-
source: "(
|
|
9022
|
+
source: "(265:4) {#if showslider == \\\"true\\\"}",
|
|
8968
9023
|
ctx
|
|
8969
9024
|
});
|
|
8970
9025
|
|
|
@@ -8975,7 +9030,7 @@
|
|
|
8975
9030
|
let if_block_anchor;
|
|
8976
9031
|
|
|
8977
9032
|
function select_block_type(ctx, dirty) {
|
|
8978
|
-
if (/*isLoading*/ ctx[
|
|
9033
|
+
if (/*isLoading*/ ctx[10]) return create_if_block$2;
|
|
8979
9034
|
return create_else_block$2;
|
|
8980
9035
|
}
|
|
8981
9036
|
|
|
@@ -9030,7 +9085,7 @@
|
|
|
9030
9085
|
function instance$2($$self, $$props, $$invalidate) {
|
|
9031
9086
|
let $_;
|
|
9032
9087
|
validate_store(X, "_");
|
|
9033
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
|
9088
|
+
component_subscribe($$self, X, $$value => $$invalidate(25, $_ = $$value));
|
|
9034
9089
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
9035
9090
|
validate_slots("undefined", slots, []);
|
|
9036
9091
|
let { session = "" } = $$props;
|
|
@@ -9079,7 +9134,7 @@
|
|
|
9079
9134
|
|
|
9080
9135
|
const messageHandler = e => {
|
|
9081
9136
|
if (e.data && e.data.type == "UserSessionID") {
|
|
9082
|
-
$$invalidate(
|
|
9137
|
+
$$invalidate(9, isLoggedIn = true);
|
|
9083
9138
|
sessionID = e.data.session;
|
|
9084
9139
|
}
|
|
9085
9140
|
};
|
|
@@ -9126,7 +9181,7 @@
|
|
|
9126
9181
|
window.location.href
|
|
9127
9182
|
);
|
|
9128
9183
|
|
|
9129
|
-
$$invalidate(
|
|
9184
|
+
$$invalidate(11, joinButtonLoading = true);
|
|
9130
9185
|
let joinUrl = new URL(`${endpoint}/bonus/claim`);
|
|
9131
9186
|
let reqHeaders = new Headers();
|
|
9132
9187
|
let body = {};
|
|
@@ -9152,17 +9207,17 @@
|
|
|
9152
9207
|
fetch(joinUrl, requestOptions).then(res => res.json()).then(
|
|
9153
9208
|
data => {
|
|
9154
9209
|
if (data.success == true) {
|
|
9155
|
-
$$invalidate(
|
|
9156
|
-
$$invalidate(
|
|
9210
|
+
$$invalidate(11, joinButtonLoading = false);
|
|
9211
|
+
$$invalidate(20, userenrolled = true);
|
|
9157
9212
|
} else {
|
|
9158
|
-
$$invalidate(
|
|
9159
|
-
$$invalidate(
|
|
9160
|
-
$$invalidate(
|
|
9213
|
+
$$invalidate(11, joinButtonLoading = false);
|
|
9214
|
+
$$invalidate(13, errorJoinText = data.errorMessage);
|
|
9215
|
+
$$invalidate(12, errorJoin = true);
|
|
9161
9216
|
}
|
|
9162
9217
|
},
|
|
9163
9218
|
err => {
|
|
9164
|
-
$$invalidate(
|
|
9165
|
-
$$invalidate(
|
|
9219
|
+
$$invalidate(11, joinButtonLoading = false);
|
|
9220
|
+
$$invalidate(12, errorJoin = true);
|
|
9166
9221
|
}
|
|
9167
9222
|
);
|
|
9168
9223
|
};
|
|
@@ -9180,22 +9235,22 @@
|
|
|
9180
9235
|
|
|
9181
9236
|
// @TODO data type - tournament
|
|
9182
9237
|
const matchData = data => {
|
|
9183
|
-
$$invalidate(
|
|
9184
|
-
$$invalidate(
|
|
9185
|
-
$$invalidate(
|
|
9186
|
-
$$invalidate(
|
|
9187
|
-
$$invalidate(
|
|
9188
|
-
$$invalidate(
|
|
9189
|
-
$$invalidate(
|
|
9190
|
-
$$invalidate(
|
|
9191
|
-
$$invalidate(
|
|
9238
|
+
$$invalidate(14, title = data.nameOrTitle);
|
|
9239
|
+
$$invalidate(15, startdate = data.startTime);
|
|
9240
|
+
$$invalidate(16, enddate = data.endTime);
|
|
9241
|
+
$$invalidate(17, status = data.state);
|
|
9242
|
+
$$invalidate(18, tourid = data.id);
|
|
9243
|
+
$$invalidate(19, thumbnail = data.thumbnail);
|
|
9244
|
+
$$invalidate(20, userenrolled = data.playerEnrolled || false);
|
|
9245
|
+
$$invalidate(21, scorecriteria = data.scoreCriteria);
|
|
9246
|
+
$$invalidate(22, minbetcount = data.minBetCount);
|
|
9192
9247
|
prizes = data.prizes;
|
|
9193
|
-
$$invalidate(
|
|
9194
|
-
$$invalidate(
|
|
9248
|
+
$$invalidate(23, wallet = data.wallets || []);
|
|
9249
|
+
$$invalidate(24, gameurl = data.termsUrl || "#");
|
|
9195
9250
|
};
|
|
9196
9251
|
|
|
9197
9252
|
const getData = url => {
|
|
9198
|
-
$$invalidate(
|
|
9253
|
+
$$invalidate(10, isLoading = true);
|
|
9199
9254
|
let tournamentUrl = new URL(url);
|
|
9200
9255
|
let reqHeaders = new Headers();
|
|
9201
9256
|
tournamentUrl.searchParams.append("language", lang);
|
|
@@ -9208,7 +9263,7 @@
|
|
|
9208
9263
|
let requestOptions = { method: "GET", headers: reqHeaders };
|
|
9209
9264
|
|
|
9210
9265
|
fetch(tournamentUrl, requestOptions).then(res => res.json()).then(data => {
|
|
9211
|
-
$$invalidate(
|
|
9266
|
+
$$invalidate(10, isLoading = false);
|
|
9212
9267
|
matchData(data.item);
|
|
9213
9268
|
});
|
|
9214
9269
|
};
|
|
@@ -9216,19 +9271,19 @@
|
|
|
9216
9271
|
const setSession = () => {
|
|
9217
9272
|
if (session.length > 0 && session != "false") {
|
|
9218
9273
|
sessionID = session;
|
|
9219
|
-
$$invalidate(
|
|
9274
|
+
$$invalidate(9, isLoggedIn = true);
|
|
9220
9275
|
} else {
|
|
9221
|
-
$$invalidate(
|
|
9276
|
+
$$invalidate(9, isLoggedIn = false);
|
|
9222
9277
|
}
|
|
9223
9278
|
};
|
|
9224
9279
|
|
|
9225
9280
|
const initialLoad = () => {
|
|
9226
|
-
$$invalidate(
|
|
9281
|
+
$$invalidate(10, isLoading = true);
|
|
9227
9282
|
getData(tournamenturl);
|
|
9228
9283
|
};
|
|
9229
9284
|
|
|
9230
9285
|
onMount(() => {
|
|
9231
|
-
$$invalidate(
|
|
9286
|
+
$$invalidate(10, isLoading = false);
|
|
9232
9287
|
window.addEventListener("message", messageHandler, false);
|
|
9233
9288
|
|
|
9234
9289
|
return () => {
|
|
@@ -9268,13 +9323,13 @@
|
|
|
9268
9323
|
if ("session" in $$props) $$invalidate(0, session = $$props.session);
|
|
9269
9324
|
if ("userid" in $$props) $$invalidate(1, userid = $$props.userid);
|
|
9270
9325
|
if ("tournamenturl" in $$props) $$invalidate(2, tournamenturl = $$props.tournamenturl);
|
|
9271
|
-
if ("endpoint" in $$props) $$invalidate(
|
|
9326
|
+
if ("endpoint" in $$props) $$invalidate(31, endpoint = $$props.endpoint);
|
|
9272
9327
|
if ("showdetails" in $$props) $$invalidate(3, showdetails = $$props.showdetails);
|
|
9273
9328
|
if ("showslider" in $$props) $$invalidate(4, showslider = $$props.showslider);
|
|
9274
9329
|
if ("showenrolled" in $$props) $$invalidate(5, showenrolled = $$props.showenrolled);
|
|
9275
9330
|
if ("maxwidth" in $$props) $$invalidate(6, maxwidth = $$props.maxwidth);
|
|
9276
9331
|
if ("fullsize" in $$props) $$invalidate(7, fullsize = $$props.fullsize);
|
|
9277
|
-
if ("lang" in $$props) $$invalidate(
|
|
9332
|
+
if ("lang" in $$props) $$invalidate(8, lang = $$props.lang);
|
|
9278
9333
|
if ("loginevent" in $$props) $$invalidate(32, loginevent = $$props.loginevent);
|
|
9279
9334
|
if ("registerevent" in $$props) $$invalidate(33, registerevent = $$props.registerevent);
|
|
9280
9335
|
if ("loginurl" in $$props) $$invalidate(34, loginurl = $$props.loginurl);
|
|
@@ -9342,39 +9397,39 @@
|
|
|
9342
9397
|
if ("session" in $$props) $$invalidate(0, session = $$props.session);
|
|
9343
9398
|
if ("userid" in $$props) $$invalidate(1, userid = $$props.userid);
|
|
9344
9399
|
if ("tournamenturl" in $$props) $$invalidate(2, tournamenturl = $$props.tournamenturl);
|
|
9345
|
-
if ("endpoint" in $$props) $$invalidate(
|
|
9400
|
+
if ("endpoint" in $$props) $$invalidate(31, endpoint = $$props.endpoint);
|
|
9346
9401
|
if ("showdetails" in $$props) $$invalidate(3, showdetails = $$props.showdetails);
|
|
9347
9402
|
if ("showslider" in $$props) $$invalidate(4, showslider = $$props.showslider);
|
|
9348
9403
|
if ("showenrolled" in $$props) $$invalidate(5, showenrolled = $$props.showenrolled);
|
|
9349
9404
|
if ("maxwidth" in $$props) $$invalidate(6, maxwidth = $$props.maxwidth);
|
|
9350
9405
|
if ("fullsize" in $$props) $$invalidate(7, fullsize = $$props.fullsize);
|
|
9351
|
-
if ("lang" in $$props) $$invalidate(
|
|
9406
|
+
if ("lang" in $$props) $$invalidate(8, lang = $$props.lang);
|
|
9352
9407
|
if ("loginevent" in $$props) $$invalidate(32, loginevent = $$props.loginevent);
|
|
9353
9408
|
if ("registerevent" in $$props) $$invalidate(33, registerevent = $$props.registerevent);
|
|
9354
9409
|
if ("loginurl" in $$props) $$invalidate(34, loginurl = $$props.loginurl);
|
|
9355
9410
|
if ("registerurl" in $$props) $$invalidate(35, registerurl = $$props.registerurl);
|
|
9356
9411
|
if ("currency" in $$props) $$invalidate(36, currency = $$props.currency);
|
|
9357
9412
|
if ("sessionTopic" in $$props) sessionTopic = $$props.sessionTopic;
|
|
9358
|
-
if ("isLoggedIn" in $$props) $$invalidate(
|
|
9413
|
+
if ("isLoggedIn" in $$props) $$invalidate(9, isLoggedIn = $$props.isLoggedIn);
|
|
9359
9414
|
if ("sessionID" in $$props) sessionID = $$props.sessionID;
|
|
9360
9415
|
if ("playerID" in $$props) playerID = $$props.playerID;
|
|
9361
|
-
if ("isLoading" in $$props) $$invalidate(
|
|
9416
|
+
if ("isLoading" in $$props) $$invalidate(10, isLoading = $$props.isLoading);
|
|
9362
9417
|
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
9363
|
-
if ("joinButtonLoading" in $$props) $$invalidate(
|
|
9364
|
-
if ("errorJoin" in $$props) $$invalidate(
|
|
9365
|
-
if ("errorJoinText" in $$props) $$invalidate(
|
|
9366
|
-
if ("title" in $$props) $$invalidate(
|
|
9367
|
-
if ("startdate" in $$props) $$invalidate(
|
|
9368
|
-
if ("enddate" in $$props) $$invalidate(
|
|
9369
|
-
if ("status" in $$props) $$invalidate(
|
|
9370
|
-
if ("tourid" in $$props) $$invalidate(
|
|
9371
|
-
if ("thumbnail" in $$props) $$invalidate(
|
|
9372
|
-
if ("userenrolled" in $$props) $$invalidate(
|
|
9373
|
-
if ("scorecriteria" in $$props) $$invalidate(
|
|
9374
|
-
if ("minbetcount" in $$props) $$invalidate(
|
|
9418
|
+
if ("joinButtonLoading" in $$props) $$invalidate(11, joinButtonLoading = $$props.joinButtonLoading);
|
|
9419
|
+
if ("errorJoin" in $$props) $$invalidate(12, errorJoin = $$props.errorJoin);
|
|
9420
|
+
if ("errorJoinText" in $$props) $$invalidate(13, errorJoinText = $$props.errorJoinText);
|
|
9421
|
+
if ("title" in $$props) $$invalidate(14, title = $$props.title);
|
|
9422
|
+
if ("startdate" in $$props) $$invalidate(15, startdate = $$props.startdate);
|
|
9423
|
+
if ("enddate" in $$props) $$invalidate(16, enddate = $$props.enddate);
|
|
9424
|
+
if ("status" in $$props) $$invalidate(17, status = $$props.status);
|
|
9425
|
+
if ("tourid" in $$props) $$invalidate(18, tourid = $$props.tourid);
|
|
9426
|
+
if ("thumbnail" in $$props) $$invalidate(19, thumbnail = $$props.thumbnail);
|
|
9427
|
+
if ("userenrolled" in $$props) $$invalidate(20, userenrolled = $$props.userenrolled);
|
|
9428
|
+
if ("scorecriteria" in $$props) $$invalidate(21, scorecriteria = $$props.scorecriteria);
|
|
9429
|
+
if ("minbetcount" in $$props) $$invalidate(22, minbetcount = $$props.minbetcount);
|
|
9375
9430
|
if ("prizes" in $$props) prizes = $$props.prizes;
|
|
9376
|
-
if ("wallet" in $$props) $$invalidate(
|
|
9377
|
-
if ("gameurl" in $$props) $$invalidate(
|
|
9431
|
+
if ("wallet" in $$props) $$invalidate(23, wallet = $$props.wallet);
|
|
9432
|
+
if ("gameurl" in $$props) $$invalidate(24, gameurl = $$props.gameurl);
|
|
9378
9433
|
};
|
|
9379
9434
|
|
|
9380
9435
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -9386,8 +9441,8 @@
|
|
|
9386
9441
|
session && setSession();
|
|
9387
9442
|
}
|
|
9388
9443
|
|
|
9389
|
-
if ($$self.$$.dirty[0] & /*tournamenturl*/
|
|
9390
|
-
tournamenturl && initialLoad();
|
|
9444
|
+
if ($$self.$$.dirty[0] & /*tournamenturl, lang*/ 260) {
|
|
9445
|
+
tournamenturl && lang && initialLoad();
|
|
9391
9446
|
}
|
|
9392
9447
|
};
|
|
9393
9448
|
|
|
@@ -9400,6 +9455,7 @@
|
|
|
9400
9455
|
showenrolled,
|
|
9401
9456
|
maxwidth,
|
|
9402
9457
|
fullsize,
|
|
9458
|
+
lang,
|
|
9403
9459
|
isLoggedIn,
|
|
9404
9460
|
isLoading,
|
|
9405
9461
|
joinButtonLoading,
|
|
@@ -9423,7 +9479,6 @@
|
|
|
9423
9479
|
joinAction,
|
|
9424
9480
|
sendTournamentPrizes,
|
|
9425
9481
|
endpoint,
|
|
9426
|
-
lang,
|
|
9427
9482
|
loginevent,
|
|
9428
9483
|
registerevent,
|
|
9429
9484
|
loginurl,
|
|
@@ -9456,13 +9511,13 @@
|
|
|
9456
9511
|
session: 0,
|
|
9457
9512
|
userid: 1,
|
|
9458
9513
|
tournamenturl: 2,
|
|
9459
|
-
endpoint:
|
|
9514
|
+
endpoint: 31,
|
|
9460
9515
|
showdetails: 3,
|
|
9461
9516
|
showslider: 4,
|
|
9462
9517
|
showenrolled: 5,
|
|
9463
9518
|
maxwidth: 6,
|
|
9464
9519
|
fullsize: 7,
|
|
9465
|
-
lang:
|
|
9520
|
+
lang: 8,
|
|
9466
9521
|
loginevent: 32,
|
|
9467
9522
|
registerevent: 33,
|
|
9468
9523
|
loginurl: 34,
|
|
@@ -9532,7 +9587,7 @@
|
|
|
9532
9587
|
}
|
|
9533
9588
|
|
|
9534
9589
|
get endpoint() {
|
|
9535
|
-
return this.$$.ctx[
|
|
9590
|
+
return this.$$.ctx[31];
|
|
9536
9591
|
}
|
|
9537
9592
|
|
|
9538
9593
|
set endpoint(endpoint) {
|
|
@@ -9586,7 +9641,7 @@
|
|
|
9586
9641
|
}
|
|
9587
9642
|
|
|
9588
9643
|
get lang() {
|
|
9589
|
-
return this.$$.ctx[
|
|
9644
|
+
return this.$$.ctx[8];
|
|
9590
9645
|
}
|
|
9591
9646
|
|
|
9592
9647
|
set lang(lang) {
|
|
@@ -9658,11 +9713,11 @@
|
|
|
9658
9713
|
},
|
|
9659
9714
|
tr: {
|
|
9660
9715
|
tournamentsTable: {
|
|
9661
|
-
leaderboard: '
|
|
9662
|
-
score: '
|
|
9663
|
-
betcounts: '
|
|
9664
|
-
qualified: '
|
|
9665
|
-
nowinners: '
|
|
9716
|
+
leaderboard: 'Liderlik Tablosu',
|
|
9717
|
+
score: 'Skor',
|
|
9718
|
+
betcounts: 'Bahis Sayısı',
|
|
9719
|
+
qualified: 'Tur atlamış',
|
|
9720
|
+
nowinners: 'Kazanan yok. Kazananlardan birisi ol!'
|
|
9666
9721
|
}
|
|
9667
9722
|
},
|
|
9668
9723
|
};
|
|
@@ -9680,7 +9735,7 @@
|
|
|
9680
9735
|
|
|
9681
9736
|
function get_each_context_1(ctx, list, i) {
|
|
9682
9737
|
const child_ctx = ctx.slice();
|
|
9683
|
-
child_ctx[
|
|
9738
|
+
child_ctx[25] = list[i];
|
|
9684
9739
|
return child_ctx;
|
|
9685
9740
|
}
|
|
9686
9741
|
|
|
@@ -9692,11 +9747,11 @@
|
|
|
9692
9747
|
|
|
9693
9748
|
function get_each_context$1(ctx, list, i) {
|
|
9694
9749
|
const child_ctx = ctx.slice();
|
|
9695
|
-
child_ctx[
|
|
9750
|
+
child_ctx[25] = list[i];
|
|
9696
9751
|
return child_ctx;
|
|
9697
9752
|
}
|
|
9698
9753
|
|
|
9699
|
-
// (
|
|
9754
|
+
// (229:4) {:else}
|
|
9700
9755
|
function create_else_block_5(ctx) {
|
|
9701
9756
|
let div;
|
|
9702
9757
|
let table;
|
|
@@ -9732,16 +9787,16 @@
|
|
|
9732
9787
|
tr1 = element("tr");
|
|
9733
9788
|
td = element("td");
|
|
9734
9789
|
t1 = text(t1_value);
|
|
9735
|
-
add_location(tr0, file$1,
|
|
9736
|
-
add_location(thead, file$1,
|
|
9790
|
+
add_location(tr0, file$1, 232, 12, 7907);
|
|
9791
|
+
add_location(thead, file$1, 231, 10, 7887);
|
|
9737
9792
|
attr_dev(td, "colspan", "3");
|
|
9738
|
-
add_location(td, file$1,
|
|
9739
|
-
add_location(tr1, file$1,
|
|
9740
|
-
add_location(tbody, file$1,
|
|
9793
|
+
add_location(td, file$1, 248, 14, 8388);
|
|
9794
|
+
add_location(tr1, file$1, 247, 12, 8369);
|
|
9795
|
+
add_location(tbody, file$1, 246, 10, 8349);
|
|
9741
9796
|
attr_dev(table, "class", "LeftTable");
|
|
9742
|
-
add_location(table, file$1,
|
|
9797
|
+
add_location(table, file$1, 230, 8, 7851);
|
|
9743
9798
|
attr_dev(div, "class", "TournamentsTable");
|
|
9744
|
-
add_location(div, file$1,
|
|
9799
|
+
add_location(div, file$1, 229, 6, 7812);
|
|
9745
9800
|
},
|
|
9746
9801
|
m: function mount(target, anchor) {
|
|
9747
9802
|
insert_dev(target, div, anchor);
|
|
@@ -9796,14 +9851,14 @@
|
|
|
9796
9851
|
block,
|
|
9797
9852
|
id: create_else_block_5.name,
|
|
9798
9853
|
type: "else",
|
|
9799
|
-
source: "(
|
|
9854
|
+
source: "(229:4) {:else}",
|
|
9800
9855
|
ctx
|
|
9801
9856
|
});
|
|
9802
9857
|
|
|
9803
9858
|
return block;
|
|
9804
9859
|
}
|
|
9805
9860
|
|
|
9806
|
-
// (
|
|
9861
|
+
// (206:2) {#if isMobile(userAgent) == true}
|
|
9807
9862
|
function create_if_block_9(ctx) {
|
|
9808
9863
|
let div3;
|
|
9809
9864
|
let div0;
|
|
@@ -9839,13 +9894,13 @@
|
|
|
9839
9894
|
if (if_block1) if_block1.c();
|
|
9840
9895
|
if_block1_anchor = empty();
|
|
9841
9896
|
attr_dev(div0, "class", "Leaderboard");
|
|
9842
|
-
add_location(div0, file$1,
|
|
9897
|
+
add_location(div0, file$1, 207, 6, 6827);
|
|
9843
9898
|
attr_dev(div1, "class", "CollapseButton");
|
|
9844
|
-
add_location(div1, file$1,
|
|
9899
|
+
add_location(div1, file$1, 209, 8, 6980);
|
|
9845
9900
|
attr_dev(div2, "class", "RightButton " + (isMobile(/*userAgent*/ ctx[9]) ? "MobileClass" : ""));
|
|
9846
|
-
add_location(div2, file$1,
|
|
9901
|
+
add_location(div2, file$1, 208, 6, 6901);
|
|
9847
9902
|
attr_dev(div3, "class", "LeaderboardContainer");
|
|
9848
|
-
add_location(div3, file$1,
|
|
9903
|
+
add_location(div3, file$1, 206, 4, 6786);
|
|
9849
9904
|
},
|
|
9850
9905
|
m: function mount(target, anchor) {
|
|
9851
9906
|
insert_dev(target, div3, anchor);
|
|
@@ -9860,7 +9915,7 @@
|
|
|
9860
9915
|
insert_dev(target, if_block1_anchor, anchor);
|
|
9861
9916
|
|
|
9862
9917
|
if (!mounted) {
|
|
9863
|
-
dispose = listen_dev(div1, "click", /*click_handler_3*/ ctx[
|
|
9918
|
+
dispose = listen_dev(div1, "click", /*click_handler_3*/ ctx[19], false, false, false);
|
|
9864
9919
|
mounted = true;
|
|
9865
9920
|
}
|
|
9866
9921
|
},
|
|
@@ -9905,14 +9960,14 @@
|
|
|
9905
9960
|
block,
|
|
9906
9961
|
id: create_if_block_9.name,
|
|
9907
9962
|
type: "if",
|
|
9908
|
-
source: "(
|
|
9963
|
+
source: "(206:2) {#if isMobile(userAgent) == true}",
|
|
9909
9964
|
ctx
|
|
9910
9965
|
});
|
|
9911
9966
|
|
|
9912
9967
|
return block;
|
|
9913
9968
|
}
|
|
9914
9969
|
|
|
9915
|
-
// (
|
|
9970
|
+
// (90:0) {#if data.length > 0 || firstRowData}
|
|
9916
9971
|
function create_if_block$1(ctx) {
|
|
9917
9972
|
let if_block_anchor;
|
|
9918
9973
|
|
|
@@ -9946,14 +10001,14 @@
|
|
|
9946
10001
|
block,
|
|
9947
10002
|
id: create_if_block$1.name,
|
|
9948
10003
|
type: "if",
|
|
9949
|
-
source: "(
|
|
10004
|
+
source: "(90:0) {#if data.length > 0 || firstRowData}",
|
|
9950
10005
|
ctx
|
|
9951
10006
|
});
|
|
9952
10007
|
|
|
9953
10008
|
return block;
|
|
9954
10009
|
}
|
|
9955
10010
|
|
|
9956
|
-
// (
|
|
10011
|
+
// (240:18) {:else}
|
|
9957
10012
|
function create_else_block_6(ctx) {
|
|
9958
10013
|
let p;
|
|
9959
10014
|
let t_value = /*column*/ ctx[12] + "";
|
|
@@ -9964,7 +10019,7 @@
|
|
|
9964
10019
|
p = element("p");
|
|
9965
10020
|
t = text(t_value);
|
|
9966
10021
|
attr_dev(p, "data-sort", /*sort*/ ctx[7]);
|
|
9967
|
-
add_location(p, file$1,
|
|
10022
|
+
add_location(p, file$1, 240, 20, 8201);
|
|
9968
10023
|
},
|
|
9969
10024
|
m: function mount(target, anchor) {
|
|
9970
10025
|
insert_dev(target, p, anchor);
|
|
@@ -9986,14 +10041,14 @@
|
|
|
9986
10041
|
block,
|
|
9987
10042
|
id: create_else_block_6.name,
|
|
9988
10043
|
type: "else",
|
|
9989
|
-
source: "(
|
|
10044
|
+
source: "(240:18) {:else}",
|
|
9990
10045
|
ctx
|
|
9991
10046
|
});
|
|
9992
10047
|
|
|
9993
10048
|
return block;
|
|
9994
10049
|
}
|
|
9995
10050
|
|
|
9996
|
-
// (
|
|
10051
|
+
// (236:18) {#if sortable == 'true'}
|
|
9997
10052
|
function create_if_block_12(ctx) {
|
|
9998
10053
|
let button;
|
|
9999
10054
|
let t_value = /*column*/ ctx[12] + "";
|
|
@@ -10002,7 +10057,7 @@
|
|
|
10002
10057
|
let dispose;
|
|
10003
10058
|
|
|
10004
10059
|
function click_handler_4() {
|
|
10005
|
-
return /*click_handler_4*/ ctx[
|
|
10060
|
+
return /*click_handler_4*/ ctx[20](/*column*/ ctx[12]);
|
|
10006
10061
|
}
|
|
10007
10062
|
|
|
10008
10063
|
const block = {
|
|
@@ -10010,7 +10065,7 @@
|
|
|
10010
10065
|
button = element("button");
|
|
10011
10066
|
t = text(t_value);
|
|
10012
10067
|
attr_dev(button, "data-sort", /*sort*/ ctx[7]);
|
|
10013
|
-
add_location(button, file$1,
|
|
10068
|
+
add_location(button, file$1, 236, 20, 8036);
|
|
10014
10069
|
},
|
|
10015
10070
|
m: function mount(target, anchor) {
|
|
10016
10071
|
insert_dev(target, button, anchor);
|
|
@@ -10040,14 +10095,14 @@
|
|
|
10040
10095
|
block,
|
|
10041
10096
|
id: create_if_block_12.name,
|
|
10042
10097
|
type: "if",
|
|
10043
|
-
source: "(
|
|
10098
|
+
source: "(236:18) {#if sortable == 'true'}",
|
|
10044
10099
|
ctx
|
|
10045
10100
|
});
|
|
10046
10101
|
|
|
10047
10102
|
return block;
|
|
10048
10103
|
}
|
|
10049
10104
|
|
|
10050
|
-
// (
|
|
10105
|
+
// (234:14) {#each columns as column}
|
|
10051
10106
|
function create_each_block_3(ctx) {
|
|
10052
10107
|
let th;
|
|
10053
10108
|
let t;
|
|
@@ -10065,7 +10120,7 @@
|
|
|
10065
10120
|
th = element("th");
|
|
10066
10121
|
if_block.c();
|
|
10067
10122
|
t = space();
|
|
10068
|
-
add_location(th, file$1,
|
|
10123
|
+
add_location(th, file$1, 234, 16, 7968);
|
|
10069
10124
|
},
|
|
10070
10125
|
m: function mount(target, anchor) {
|
|
10071
10126
|
insert_dev(target, th, anchor);
|
|
@@ -10095,14 +10150,14 @@
|
|
|
10095
10150
|
block,
|
|
10096
10151
|
id: create_each_block_3.name,
|
|
10097
10152
|
type: "each",
|
|
10098
|
-
source: "(
|
|
10153
|
+
source: "(234:14) {#each columns as column}",
|
|
10099
10154
|
ctx
|
|
10100
10155
|
});
|
|
10101
10156
|
|
|
10102
10157
|
return block;
|
|
10103
10158
|
}
|
|
10104
10159
|
|
|
10105
|
-
// (
|
|
10160
|
+
// (215:10) {:else}
|
|
10106
10161
|
function create_else_block_4(ctx) {
|
|
10107
10162
|
let svg;
|
|
10108
10163
|
let path;
|
|
@@ -10112,7 +10167,7 @@
|
|
|
10112
10167
|
svg = svg_element("svg");
|
|
10113
10168
|
path = svg_element("path");
|
|
10114
10169
|
attr_dev(path, "d", "M6 9l6 6 6-6");
|
|
10115
|
-
add_location(path, file$1,
|
|
10170
|
+
add_location(path, file$1, 216, 14, 7539);
|
|
10116
10171
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10117
10172
|
attr_dev(svg, "width", "24");
|
|
10118
10173
|
attr_dev(svg, "height", "24");
|
|
@@ -10122,7 +10177,7 @@
|
|
|
10122
10177
|
attr_dev(svg, "stroke-width", "2");
|
|
10123
10178
|
attr_dev(svg, "stroke-linecap", "round");
|
|
10124
10179
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
10125
|
-
add_location(svg, file$1,
|
|
10180
|
+
add_location(svg, file$1, 215, 12, 7348);
|
|
10126
10181
|
},
|
|
10127
10182
|
m: function mount(target, anchor) {
|
|
10128
10183
|
insert_dev(target, svg, anchor);
|
|
@@ -10137,14 +10192,14 @@
|
|
|
10137
10192
|
block,
|
|
10138
10193
|
id: create_else_block_4.name,
|
|
10139
10194
|
type: "else",
|
|
10140
|
-
source: "(
|
|
10195
|
+
source: "(215:10) {:else}",
|
|
10141
10196
|
ctx
|
|
10142
10197
|
});
|
|
10143
10198
|
|
|
10144
10199
|
return block;
|
|
10145
10200
|
}
|
|
10146
10201
|
|
|
10147
|
-
// (
|
|
10202
|
+
// (211:10) {#if showTable}
|
|
10148
10203
|
function create_if_block_11(ctx) {
|
|
10149
10204
|
let svg;
|
|
10150
10205
|
let path;
|
|
@@ -10154,7 +10209,7 @@
|
|
|
10154
10209
|
svg = svg_element("svg");
|
|
10155
10210
|
path = svg_element("path");
|
|
10156
10211
|
attr_dev(path, "d", "M18 15l-6-6-6 6");
|
|
10157
|
-
add_location(path, file$1,
|
|
10212
|
+
add_location(path, file$1, 212, 14, 7271);
|
|
10158
10213
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10159
10214
|
attr_dev(svg, "width", "24");
|
|
10160
10215
|
attr_dev(svg, "height", "24");
|
|
@@ -10164,7 +10219,7 @@
|
|
|
10164
10219
|
attr_dev(svg, "stroke-width", "2");
|
|
10165
10220
|
attr_dev(svg, "stroke-linecap", "round");
|
|
10166
10221
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
10167
|
-
add_location(svg, file$1,
|
|
10222
|
+
add_location(svg, file$1, 211, 12, 7080);
|
|
10168
10223
|
},
|
|
10169
10224
|
m: function mount(target, anchor) {
|
|
10170
10225
|
insert_dev(target, svg, anchor);
|
|
@@ -10179,14 +10234,14 @@
|
|
|
10179
10234
|
block,
|
|
10180
10235
|
id: create_if_block_11.name,
|
|
10181
10236
|
type: "if",
|
|
10182
|
-
source: "(
|
|
10237
|
+
source: "(211:10) {#if showTable}",
|
|
10183
10238
|
ctx
|
|
10184
10239
|
});
|
|
10185
10240
|
|
|
10186
10241
|
return block;
|
|
10187
10242
|
}
|
|
10188
10243
|
|
|
10189
|
-
// (
|
|
10244
|
+
// (224:4) {#if showTable}
|
|
10190
10245
|
function create_if_block_10(ctx) {
|
|
10191
10246
|
let div1;
|
|
10192
10247
|
let div0;
|
|
@@ -10200,11 +10255,11 @@
|
|
|
10200
10255
|
div0 = element("div");
|
|
10201
10256
|
p = element("p");
|
|
10202
10257
|
t = text(t_value);
|
|
10203
|
-
add_location(p, file$1,
|
|
10258
|
+
add_location(p, file$1, 225, 31, 7723);
|
|
10204
10259
|
attr_dev(div0, "class", "TableUser");
|
|
10205
|
-
add_location(div0, file$1,
|
|
10260
|
+
add_location(div0, file$1, 225, 8, 7700);
|
|
10206
10261
|
attr_dev(div1, "class", "TableContent");
|
|
10207
|
-
add_location(div1, file$1,
|
|
10262
|
+
add_location(div1, file$1, 224, 6, 7665);
|
|
10208
10263
|
},
|
|
10209
10264
|
m: function mount(target, anchor) {
|
|
10210
10265
|
insert_dev(target, div1, anchor);
|
|
@@ -10224,14 +10279,14 @@
|
|
|
10224
10279
|
block,
|
|
10225
10280
|
id: create_if_block_10.name,
|
|
10226
10281
|
type: "if",
|
|
10227
|
-
source: "(
|
|
10282
|
+
source: "(224:4) {#if showTable}",
|
|
10228
10283
|
ctx
|
|
10229
10284
|
});
|
|
10230
10285
|
|
|
10231
10286
|
return block;
|
|
10232
10287
|
}
|
|
10233
10288
|
|
|
10234
|
-
// (
|
|
10289
|
+
// (153:2) {:else}
|
|
10235
10290
|
function create_else_block_1(ctx) {
|
|
10236
10291
|
let div2;
|
|
10237
10292
|
let table;
|
|
@@ -10284,17 +10339,17 @@
|
|
|
10284
10339
|
div1 = element("div");
|
|
10285
10340
|
div0 = element("div");
|
|
10286
10341
|
if_block2.c();
|
|
10287
|
-
add_location(tr, file$1,
|
|
10288
|
-
add_location(thead, file$1,
|
|
10289
|
-
add_location(tbody, file$1,
|
|
10342
|
+
add_location(tr, file$1, 156, 10, 4973);
|
|
10343
|
+
add_location(thead, file$1, 155, 8, 4955);
|
|
10344
|
+
add_location(tbody, file$1, 170, 8, 5387);
|
|
10290
10345
|
attr_dev(table, "class", "LeftTable");
|
|
10291
|
-
add_location(table, file$1,
|
|
10346
|
+
add_location(table, file$1, 154, 6, 4921);
|
|
10292
10347
|
attr_dev(div0, "class", "CollapseButton");
|
|
10293
|
-
add_location(div0, file$1,
|
|
10348
|
+
add_location(div0, file$1, 190, 8, 6072);
|
|
10294
10349
|
attr_dev(div1, "class", "RightButton");
|
|
10295
|
-
add_location(div1, file$1,
|
|
10350
|
+
add_location(div1, file$1, 189, 6, 6038);
|
|
10296
10351
|
attr_dev(div2, "class", "TournamentsTable");
|
|
10297
|
-
add_location(div2, file$1,
|
|
10352
|
+
add_location(div2, file$1, 153, 4, 4884);
|
|
10298
10353
|
},
|
|
10299
10354
|
m: function mount(target, anchor) {
|
|
10300
10355
|
insert_dev(target, div2, anchor);
|
|
@@ -10317,7 +10372,7 @@
|
|
|
10317
10372
|
if_block2.m(div0, null);
|
|
10318
10373
|
|
|
10319
10374
|
if (!mounted) {
|
|
10320
|
-
dispose = listen_dev(div0, "click", /*click_handler_2*/ ctx[
|
|
10375
|
+
dispose = listen_dev(div0, "click", /*click_handler_2*/ ctx[18], false, false, false);
|
|
10321
10376
|
mounted = true;
|
|
10322
10377
|
}
|
|
10323
10378
|
},
|
|
@@ -10397,14 +10452,14 @@
|
|
|
10397
10452
|
block,
|
|
10398
10453
|
id: create_else_block_1.name,
|
|
10399
10454
|
type: "else",
|
|
10400
|
-
source: "(
|
|
10455
|
+
source: "(153:2) {:else}",
|
|
10401
10456
|
ctx
|
|
10402
10457
|
});
|
|
10403
10458
|
|
|
10404
10459
|
return block;
|
|
10405
10460
|
}
|
|
10406
10461
|
|
|
10407
|
-
// (
|
|
10462
|
+
// (91:2) {#if isMobile(userAgent) == true}
|
|
10408
10463
|
function create_if_block_1$1(ctx) {
|
|
10409
10464
|
let div3;
|
|
10410
10465
|
let div0;
|
|
@@ -10444,13 +10499,13 @@
|
|
|
10444
10499
|
if (if_block2) if_block2.c();
|
|
10445
10500
|
if_block2_anchor = empty();
|
|
10446
10501
|
attr_dev(div0, "class", "Leaderboard");
|
|
10447
|
-
add_location(div0, file$1,
|
|
10502
|
+
add_location(div0, file$1, 92, 6, 2723);
|
|
10448
10503
|
attr_dev(div1, "class", "CollapseButton");
|
|
10449
|
-
add_location(div1, file$1,
|
|
10504
|
+
add_location(div1, file$1, 94, 8, 2876);
|
|
10450
10505
|
attr_dev(div2, "class", "RightButton " + (isMobile(/*userAgent*/ ctx[9]) ? "MobileClass" : ""));
|
|
10451
|
-
add_location(div2, file$1,
|
|
10506
|
+
add_location(div2, file$1, 93, 6, 2797);
|
|
10452
10507
|
attr_dev(div3, "class", "LeaderboardContainer");
|
|
10453
|
-
add_location(div3, file$1,
|
|
10508
|
+
add_location(div3, file$1, 91, 4, 2682);
|
|
10454
10509
|
},
|
|
10455
10510
|
m: function mount(target, anchor) {
|
|
10456
10511
|
insert_dev(target, div3, anchor);
|
|
@@ -10467,7 +10522,7 @@
|
|
|
10467
10522
|
insert_dev(target, if_block2_anchor, anchor);
|
|
10468
10523
|
|
|
10469
10524
|
if (!mounted) {
|
|
10470
|
-
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[
|
|
10525
|
+
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[16], false, false, false);
|
|
10471
10526
|
mounted = true;
|
|
10472
10527
|
}
|
|
10473
10528
|
},
|
|
@@ -10527,14 +10582,14 @@
|
|
|
10527
10582
|
block,
|
|
10528
10583
|
id: create_if_block_1$1.name,
|
|
10529
10584
|
type: "if",
|
|
10530
|
-
source: "(
|
|
10585
|
+
source: "(91:2) {#if isMobile(userAgent) == true}",
|
|
10531
10586
|
ctx
|
|
10532
10587
|
});
|
|
10533
10588
|
|
|
10534
10589
|
return block;
|
|
10535
10590
|
}
|
|
10536
10591
|
|
|
10537
|
-
// (
|
|
10592
|
+
// (164:16) {:else}
|
|
10538
10593
|
function create_else_block_3(ctx) {
|
|
10539
10594
|
let p;
|
|
10540
10595
|
let t_value = /*column*/ ctx[12] + "";
|
|
@@ -10545,7 +10600,7 @@
|
|
|
10545
10600
|
p = element("p");
|
|
10546
10601
|
t = text(t_value);
|
|
10547
10602
|
attr_dev(p, "data-sort", /*sort*/ ctx[7]);
|
|
10548
|
-
add_location(p, file$1,
|
|
10603
|
+
add_location(p, file$1, 164, 18, 5251);
|
|
10549
10604
|
},
|
|
10550
10605
|
m: function mount(target, anchor) {
|
|
10551
10606
|
insert_dev(target, p, anchor);
|
|
@@ -10567,14 +10622,14 @@
|
|
|
10567
10622
|
block,
|
|
10568
10623
|
id: create_else_block_3.name,
|
|
10569
10624
|
type: "else",
|
|
10570
|
-
source: "(
|
|
10625
|
+
source: "(164:16) {:else}",
|
|
10571
10626
|
ctx
|
|
10572
10627
|
});
|
|
10573
10628
|
|
|
10574
10629
|
return block;
|
|
10575
10630
|
}
|
|
10576
10631
|
|
|
10577
|
-
// (
|
|
10632
|
+
// (160:16) {#if sortable == 'true'}
|
|
10578
10633
|
function create_if_block_8(ctx) {
|
|
10579
10634
|
let button;
|
|
10580
10635
|
let t_value = /*column*/ ctx[12] + "";
|
|
@@ -10583,7 +10638,7 @@
|
|
|
10583
10638
|
let dispose;
|
|
10584
10639
|
|
|
10585
10640
|
function click_handler_1() {
|
|
10586
|
-
return /*click_handler_1*/ ctx[
|
|
10641
|
+
return /*click_handler_1*/ ctx[17](/*column*/ ctx[12]);
|
|
10587
10642
|
}
|
|
10588
10643
|
|
|
10589
10644
|
const block = {
|
|
@@ -10591,7 +10646,7 @@
|
|
|
10591
10646
|
button = element("button");
|
|
10592
10647
|
t = text(t_value);
|
|
10593
10648
|
attr_dev(button, "data-sort", /*sort*/ ctx[7]);
|
|
10594
|
-
add_location(button, file$1,
|
|
10649
|
+
add_location(button, file$1, 160, 18, 5094);
|
|
10595
10650
|
},
|
|
10596
10651
|
m: function mount(target, anchor) {
|
|
10597
10652
|
insert_dev(target, button, anchor);
|
|
@@ -10621,14 +10676,14 @@
|
|
|
10621
10676
|
block,
|
|
10622
10677
|
id: create_if_block_8.name,
|
|
10623
10678
|
type: "if",
|
|
10624
|
-
source: "(
|
|
10679
|
+
source: "(160:16) {#if sortable == 'true'}",
|
|
10625
10680
|
ctx
|
|
10626
10681
|
});
|
|
10627
10682
|
|
|
10628
10683
|
return block;
|
|
10629
10684
|
}
|
|
10630
10685
|
|
|
10631
|
-
// (
|
|
10686
|
+
// (158:12) {#each columns as column}
|
|
10632
10687
|
function create_each_block_2(ctx) {
|
|
10633
10688
|
let th;
|
|
10634
10689
|
let t;
|
|
@@ -10646,7 +10701,7 @@
|
|
|
10646
10701
|
th = element("th");
|
|
10647
10702
|
if_block.c();
|
|
10648
10703
|
t = space();
|
|
10649
|
-
add_location(th, file$1,
|
|
10704
|
+
add_location(th, file$1, 158, 14, 5030);
|
|
10650
10705
|
},
|
|
10651
10706
|
m: function mount(target, anchor) {
|
|
10652
10707
|
insert_dev(target, th, anchor);
|
|
@@ -10676,14 +10731,14 @@
|
|
|
10676
10731
|
block,
|
|
10677
10732
|
id: create_each_block_2.name,
|
|
10678
10733
|
type: "each",
|
|
10679
|
-
source: "(
|
|
10734
|
+
source: "(158:12) {#each columns as column}",
|
|
10680
10735
|
ctx
|
|
10681
10736
|
});
|
|
10682
10737
|
|
|
10683
10738
|
return block;
|
|
10684
10739
|
}
|
|
10685
10740
|
|
|
10686
|
-
// (
|
|
10741
|
+
// (172:10) {#if firstrow == 'true' && firstRowData}
|
|
10687
10742
|
function create_if_block_7(ctx) {
|
|
10688
10743
|
let tr;
|
|
10689
10744
|
let td0;
|
|
@@ -10717,15 +10772,15 @@
|
|
|
10717
10772
|
td2 = element("td");
|
|
10718
10773
|
div = element("div");
|
|
10719
10774
|
t5 = text(t5_value);
|
|
10720
|
-
add_location(em, file$1,
|
|
10721
|
-
add_location(strong, file$1,
|
|
10722
|
-
add_location(td0, file$1,
|
|
10723
|
-
add_location(td1, file$1,
|
|
10775
|
+
add_location(em, file$1, 173, 26, 5507);
|
|
10776
|
+
add_location(strong, file$1, 173, 18, 5499);
|
|
10777
|
+
add_location(td0, file$1, 173, 14, 5495);
|
|
10778
|
+
add_location(td1, file$1, 174, 14, 5569);
|
|
10724
10779
|
attr_dev(div, "class", "Flex");
|
|
10725
|
-
add_location(div, file$1,
|
|
10726
|
-
add_location(td2, file$1,
|
|
10780
|
+
add_location(div, file$1, 175, 18, 5616);
|
|
10781
|
+
add_location(td2, file$1, 175, 14, 5612);
|
|
10727
10782
|
attr_dev(tr, "class", "FirstRow");
|
|
10728
|
-
add_location(tr, file$1,
|
|
10783
|
+
add_location(tr, file$1, 172, 12, 5458);
|
|
10729
10784
|
},
|
|
10730
10785
|
m: function mount(target, anchor) {
|
|
10731
10786
|
insert_dev(target, tr, anchor);
|
|
@@ -10756,14 +10811,14 @@
|
|
|
10756
10811
|
block,
|
|
10757
10812
|
id: create_if_block_7.name,
|
|
10758
10813
|
type: "if",
|
|
10759
|
-
source: "(
|
|
10814
|
+
source: "(172:10) {#if firstrow == 'true' && firstRowData}",
|
|
10760
10815
|
ctx
|
|
10761
10816
|
});
|
|
10762
10817
|
|
|
10763
10818
|
return block;
|
|
10764
10819
|
}
|
|
10765
10820
|
|
|
10766
|
-
// (
|
|
10821
|
+
// (179:10) {#if showTable}
|
|
10767
10822
|
function create_if_block_6(ctx) {
|
|
10768
10823
|
let each_1_anchor;
|
|
10769
10824
|
let each_value_1 = /*display*/ ctx[6];
|
|
@@ -10824,30 +10879,30 @@
|
|
|
10824
10879
|
block,
|
|
10825
10880
|
id: create_if_block_6.name,
|
|
10826
10881
|
type: "if",
|
|
10827
|
-
source: "(
|
|
10882
|
+
source: "(179:10) {#if showTable}",
|
|
10828
10883
|
ctx
|
|
10829
10884
|
});
|
|
10830
10885
|
|
|
10831
10886
|
return block;
|
|
10832
10887
|
}
|
|
10833
10888
|
|
|
10834
|
-
// (
|
|
10889
|
+
// (180:12) {#each display as row}
|
|
10835
10890
|
function create_each_block_1(ctx) {
|
|
10836
10891
|
let tr;
|
|
10837
10892
|
let td0;
|
|
10838
10893
|
let strong;
|
|
10839
10894
|
let em;
|
|
10840
10895
|
let t0;
|
|
10841
|
-
let t1_value = /*row*/ ctx[
|
|
10896
|
+
let t1_value = /*row*/ ctx[25].Position + "";
|
|
10842
10897
|
let t1;
|
|
10843
10898
|
let t2;
|
|
10844
10899
|
let td1;
|
|
10845
|
-
let t3_value = /*row*/ ctx[
|
|
10900
|
+
let t3_value = /*row*/ ctx[25].Name + "";
|
|
10846
10901
|
let t3;
|
|
10847
10902
|
let t4;
|
|
10848
10903
|
let td2;
|
|
10849
10904
|
let div;
|
|
10850
|
-
let t5_value = /*row*/ ctx[
|
|
10905
|
+
let t5_value = /*row*/ ctx[25].Score + "";
|
|
10851
10906
|
let t5;
|
|
10852
10907
|
let t6;
|
|
10853
10908
|
|
|
@@ -10867,14 +10922,14 @@
|
|
|
10867
10922
|
div = element("div");
|
|
10868
10923
|
t5 = text(t5_value);
|
|
10869
10924
|
t6 = space();
|
|
10870
|
-
add_location(em, file$1,
|
|
10871
|
-
add_location(strong, file$1,
|
|
10872
|
-
add_location(td0, file$1,
|
|
10873
|
-
add_location(td1, file$1,
|
|
10925
|
+
add_location(em, file$1, 181, 28, 5808);
|
|
10926
|
+
add_location(strong, file$1, 181, 20, 5800);
|
|
10927
|
+
add_location(td0, file$1, 181, 16, 5796);
|
|
10928
|
+
add_location(td1, file$1, 182, 16, 5863);
|
|
10874
10929
|
attr_dev(div, "class", "Flex");
|
|
10875
|
-
add_location(div, file$1,
|
|
10876
|
-
add_location(td2, file$1,
|
|
10877
|
-
add_location(tr, file$1,
|
|
10930
|
+
add_location(div, file$1, 183, 20, 5903);
|
|
10931
|
+
add_location(td2, file$1, 183, 16, 5899);
|
|
10932
|
+
add_location(tr, file$1, 180, 14, 5775);
|
|
10878
10933
|
},
|
|
10879
10934
|
m: function mount(target, anchor) {
|
|
10880
10935
|
insert_dev(target, tr, anchor);
|
|
@@ -10893,9 +10948,9 @@
|
|
|
10893
10948
|
append_dev(tr, t6);
|
|
10894
10949
|
},
|
|
10895
10950
|
p: function update(ctx, dirty) {
|
|
10896
|
-
if (dirty[0] & /*display*/ 64 && t1_value !== (t1_value = /*row*/ ctx[
|
|
10897
|
-
if (dirty[0] & /*display*/ 64 && t3_value !== (t3_value = /*row*/ ctx[
|
|
10898
|
-
if (dirty[0] & /*display*/ 64 && t5_value !== (t5_value = /*row*/ ctx[
|
|
10951
|
+
if (dirty[0] & /*display*/ 64 && t1_value !== (t1_value = /*row*/ ctx[25].Position + "")) set_data_dev(t1, t1_value);
|
|
10952
|
+
if (dirty[0] & /*display*/ 64 && t3_value !== (t3_value = /*row*/ ctx[25].Name + "")) set_data_dev(t3, t3_value);
|
|
10953
|
+
if (dirty[0] & /*display*/ 64 && t5_value !== (t5_value = /*row*/ ctx[25].Score + "")) set_data_dev(t5, t5_value);
|
|
10899
10954
|
},
|
|
10900
10955
|
d: function destroy(detaching) {
|
|
10901
10956
|
if (detaching) detach_dev(tr);
|
|
@@ -10906,14 +10961,14 @@
|
|
|
10906
10961
|
block,
|
|
10907
10962
|
id: create_each_block_1.name,
|
|
10908
10963
|
type: "each",
|
|
10909
|
-
source: "(
|
|
10964
|
+
source: "(180:12) {#each display as row}",
|
|
10910
10965
|
ctx
|
|
10911
10966
|
});
|
|
10912
10967
|
|
|
10913
10968
|
return block;
|
|
10914
10969
|
}
|
|
10915
10970
|
|
|
10916
|
-
// (
|
|
10971
|
+
// (196:10) {:else}
|
|
10917
10972
|
function create_else_block_2(ctx) {
|
|
10918
10973
|
let svg;
|
|
10919
10974
|
let path;
|
|
@@ -10923,7 +10978,7 @@
|
|
|
10923
10978
|
svg = svg_element("svg");
|
|
10924
10979
|
path = svg_element("path");
|
|
10925
10980
|
attr_dev(path, "d", "M6 9l6 6 6-6");
|
|
10926
|
-
add_location(path, file$1,
|
|
10981
|
+
add_location(path, file$1, 197, 14, 6631);
|
|
10927
10982
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10928
10983
|
attr_dev(svg, "width", "24");
|
|
10929
10984
|
attr_dev(svg, "height", "24");
|
|
@@ -10933,7 +10988,7 @@
|
|
|
10933
10988
|
attr_dev(svg, "stroke-width", "2");
|
|
10934
10989
|
attr_dev(svg, "stroke-linecap", "round");
|
|
10935
10990
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
10936
|
-
add_location(svg, file$1,
|
|
10991
|
+
add_location(svg, file$1, 196, 12, 6440);
|
|
10937
10992
|
},
|
|
10938
10993
|
m: function mount(target, anchor) {
|
|
10939
10994
|
insert_dev(target, svg, anchor);
|
|
@@ -10948,14 +11003,14 @@
|
|
|
10948
11003
|
block,
|
|
10949
11004
|
id: create_else_block_2.name,
|
|
10950
11005
|
type: "else",
|
|
10951
|
-
source: "(
|
|
11006
|
+
source: "(196:10) {:else}",
|
|
10952
11007
|
ctx
|
|
10953
11008
|
});
|
|
10954
11009
|
|
|
10955
11010
|
return block;
|
|
10956
11011
|
}
|
|
10957
11012
|
|
|
10958
|
-
// (
|
|
11013
|
+
// (192:10) {#if showTable}
|
|
10959
11014
|
function create_if_block_5(ctx) {
|
|
10960
11015
|
let svg;
|
|
10961
11016
|
let path;
|
|
@@ -10965,7 +11020,7 @@
|
|
|
10965
11020
|
svg = svg_element("svg");
|
|
10966
11021
|
path = svg_element("path");
|
|
10967
11022
|
attr_dev(path, "d", "M18 15l-6-6-6 6");
|
|
10968
|
-
add_location(path, file$1,
|
|
11023
|
+
add_location(path, file$1, 193, 14, 6363);
|
|
10969
11024
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10970
11025
|
attr_dev(svg, "width", "24");
|
|
10971
11026
|
attr_dev(svg, "height", "24");
|
|
@@ -10975,7 +11030,7 @@
|
|
|
10975
11030
|
attr_dev(svg, "stroke-width", "2");
|
|
10976
11031
|
attr_dev(svg, "stroke-linecap", "round");
|
|
10977
11032
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
10978
|
-
add_location(svg, file$1,
|
|
11033
|
+
add_location(svg, file$1, 192, 12, 6172);
|
|
10979
11034
|
},
|
|
10980
11035
|
m: function mount(target, anchor) {
|
|
10981
11036
|
insert_dev(target, svg, anchor);
|
|
@@ -10990,14 +11045,14 @@
|
|
|
10990
11045
|
block,
|
|
10991
11046
|
id: create_if_block_5.name,
|
|
10992
11047
|
type: "if",
|
|
10993
|
-
source: "(
|
|
11048
|
+
source: "(192:10) {#if showTable}",
|
|
10994
11049
|
ctx
|
|
10995
11050
|
});
|
|
10996
11051
|
|
|
10997
11052
|
return block;
|
|
10998
11053
|
}
|
|
10999
11054
|
|
|
11000
|
-
// (
|
|
11055
|
+
// (100:10) {:else}
|
|
11001
11056
|
function create_else_block$1(ctx) {
|
|
11002
11057
|
let svg;
|
|
11003
11058
|
let path;
|
|
@@ -11007,7 +11062,7 @@
|
|
|
11007
11062
|
svg = svg_element("svg");
|
|
11008
11063
|
path = svg_element("path");
|
|
11009
11064
|
attr_dev(path, "d", "M6 9l6 6 6-6");
|
|
11010
|
-
add_location(path, file$1,
|
|
11065
|
+
add_location(path, file$1, 101, 14, 3435);
|
|
11011
11066
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11012
11067
|
attr_dev(svg, "width", "24");
|
|
11013
11068
|
attr_dev(svg, "height", "24");
|
|
@@ -11017,7 +11072,7 @@
|
|
|
11017
11072
|
attr_dev(svg, "stroke-width", "2");
|
|
11018
11073
|
attr_dev(svg, "stroke-linecap", "round");
|
|
11019
11074
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
11020
|
-
add_location(svg, file$1,
|
|
11075
|
+
add_location(svg, file$1, 100, 12, 3244);
|
|
11021
11076
|
},
|
|
11022
11077
|
m: function mount(target, anchor) {
|
|
11023
11078
|
insert_dev(target, svg, anchor);
|
|
@@ -11032,14 +11087,14 @@
|
|
|
11032
11087
|
block,
|
|
11033
11088
|
id: create_else_block$1.name,
|
|
11034
11089
|
type: "else",
|
|
11035
|
-
source: "(
|
|
11090
|
+
source: "(100:10) {:else}",
|
|
11036
11091
|
ctx
|
|
11037
11092
|
});
|
|
11038
11093
|
|
|
11039
11094
|
return block;
|
|
11040
11095
|
}
|
|
11041
11096
|
|
|
11042
|
-
// (
|
|
11097
|
+
// (96:10) {#if showTable}
|
|
11043
11098
|
function create_if_block_4$1(ctx) {
|
|
11044
11099
|
let svg;
|
|
11045
11100
|
let path;
|
|
@@ -11049,7 +11104,7 @@
|
|
|
11049
11104
|
svg = svg_element("svg");
|
|
11050
11105
|
path = svg_element("path");
|
|
11051
11106
|
attr_dev(path, "d", "M18 15l-6-6-6 6");
|
|
11052
|
-
add_location(path, file$1,
|
|
11107
|
+
add_location(path, file$1, 97, 14, 3167);
|
|
11053
11108
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11054
11109
|
attr_dev(svg, "width", "24");
|
|
11055
11110
|
attr_dev(svg, "height", "24");
|
|
@@ -11059,7 +11114,7 @@
|
|
|
11059
11114
|
attr_dev(svg, "stroke-width", "2");
|
|
11060
11115
|
attr_dev(svg, "stroke-linecap", "round");
|
|
11061
11116
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
11062
|
-
add_location(svg, file$1,
|
|
11117
|
+
add_location(svg, file$1, 96, 12, 2976);
|
|
11063
11118
|
},
|
|
11064
11119
|
m: function mount(target, anchor) {
|
|
11065
11120
|
insert_dev(target, svg, anchor);
|
|
@@ -11074,14 +11129,14 @@
|
|
|
11074
11129
|
block,
|
|
11075
11130
|
id: create_if_block_4$1.name,
|
|
11076
11131
|
type: "if",
|
|
11077
|
-
source: "(
|
|
11132
|
+
source: "(96:10) {#if showTable}",
|
|
11078
11133
|
ctx
|
|
11079
11134
|
});
|
|
11080
11135
|
|
|
11081
11136
|
return block;
|
|
11082
11137
|
}
|
|
11083
11138
|
|
|
11084
|
-
// (
|
|
11139
|
+
// (109:4) {#if firstrow == 'true' && firstRowData}
|
|
11085
11140
|
function create_if_block_3$1(ctx) {
|
|
11086
11141
|
let div3;
|
|
11087
11142
|
let div0;
|
|
@@ -11118,17 +11173,17 @@
|
|
|
11118
11173
|
t4 = space();
|
|
11119
11174
|
p1 = element("p");
|
|
11120
11175
|
t5 = text(t5_value);
|
|
11121
|
-
add_location(span0, file$1,
|
|
11122
|
-
add_location(span1, file$1,
|
|
11176
|
+
add_location(span0, file$1, 110, 31, 3665);
|
|
11177
|
+
add_location(span1, file$1, 110, 67, 3701);
|
|
11123
11178
|
attr_dev(div0, "class", "TableUser");
|
|
11124
|
-
add_location(div0, file$1,
|
|
11125
|
-
add_location(p0, file$1,
|
|
11126
|
-
add_location(p1, file$1,
|
|
11127
|
-
add_location(div1, file$1,
|
|
11179
|
+
add_location(div0, file$1, 110, 8, 3642);
|
|
11180
|
+
add_location(p0, file$1, 114, 12, 3808);
|
|
11181
|
+
add_location(p1, file$1, 115, 12, 3858);
|
|
11182
|
+
add_location(div1, file$1, 113, 10, 3790);
|
|
11128
11183
|
attr_dev(div2, "class", "TableUserDetails");
|
|
11129
|
-
add_location(div2, file$1,
|
|
11184
|
+
add_location(div2, file$1, 112, 8, 3749);
|
|
11130
11185
|
attr_dev(div3, "class", "TableContent TableContentFirstRow");
|
|
11131
|
-
add_location(div3, file$1,
|
|
11186
|
+
add_location(div3, file$1, 109, 6, 3586);
|
|
11132
11187
|
},
|
|
11133
11188
|
m: function mount(target, anchor) {
|
|
11134
11189
|
insert_dev(target, div3, anchor);
|
|
@@ -11161,14 +11216,14 @@
|
|
|
11161
11216
|
block,
|
|
11162
11217
|
id: create_if_block_3$1.name,
|
|
11163
11218
|
type: "if",
|
|
11164
|
-
source: "(
|
|
11219
|
+
source: "(109:4) {#if firstrow == 'true' && firstRowData}",
|
|
11165
11220
|
ctx
|
|
11166
11221
|
});
|
|
11167
11222
|
|
|
11168
11223
|
return block;
|
|
11169
11224
|
}
|
|
11170
11225
|
|
|
11171
|
-
// (
|
|
11226
|
+
// (130:4) {#if showTable}
|
|
11172
11227
|
function create_if_block_2$1(ctx) {
|
|
11173
11228
|
let each_1_anchor;
|
|
11174
11229
|
let each_value = /*display*/ ctx[6];
|
|
@@ -11229,22 +11284,22 @@
|
|
|
11229
11284
|
block,
|
|
11230
11285
|
id: create_if_block_2$1.name,
|
|
11231
11286
|
type: "if",
|
|
11232
|
-
source: "(
|
|
11287
|
+
source: "(130:4) {#if showTable}",
|
|
11233
11288
|
ctx
|
|
11234
11289
|
});
|
|
11235
11290
|
|
|
11236
11291
|
return block;
|
|
11237
11292
|
}
|
|
11238
11293
|
|
|
11239
|
-
// (
|
|
11294
|
+
// (131:6) {#each display as row}
|
|
11240
11295
|
function create_each_block$1(ctx) {
|
|
11241
11296
|
let div3;
|
|
11242
11297
|
let div0;
|
|
11243
11298
|
let span0;
|
|
11244
|
-
let t0_value = /*row*/ ctx[
|
|
11299
|
+
let t0_value = /*row*/ ctx[25].Position + "";
|
|
11245
11300
|
let t0;
|
|
11246
11301
|
let span1;
|
|
11247
|
-
let t1_value = /*row*/ ctx[
|
|
11302
|
+
let t1_value = /*row*/ ctx[25].Name + "";
|
|
11248
11303
|
let t1;
|
|
11249
11304
|
let t2;
|
|
11250
11305
|
let div2;
|
|
@@ -11254,7 +11309,7 @@
|
|
|
11254
11309
|
let t3;
|
|
11255
11310
|
let t4;
|
|
11256
11311
|
let p1;
|
|
11257
|
-
let t5_value = /*row*/ ctx[
|
|
11312
|
+
let t5_value = /*row*/ ctx[25].Score + "";
|
|
11258
11313
|
let t5;
|
|
11259
11314
|
let t6;
|
|
11260
11315
|
|
|
@@ -11275,17 +11330,17 @@
|
|
|
11275
11330
|
p1 = element("p");
|
|
11276
11331
|
t5 = text(t5_value);
|
|
11277
11332
|
t6 = space();
|
|
11278
|
-
add_location(span0, file$1,
|
|
11279
|
-
add_location(span1, file$1,
|
|
11333
|
+
add_location(span0, file$1, 132, 33, 4322);
|
|
11334
|
+
add_location(span1, file$1, 132, 60, 4349);
|
|
11280
11335
|
attr_dev(div0, "class", "TableUser");
|
|
11281
|
-
add_location(div0, file$1,
|
|
11282
|
-
add_location(p0, file$1,
|
|
11283
|
-
add_location(p1, file$1,
|
|
11284
|
-
add_location(div1, file$1,
|
|
11336
|
+
add_location(div0, file$1, 132, 10, 4299);
|
|
11337
|
+
add_location(p0, file$1, 136, 14, 4453);
|
|
11338
|
+
add_location(p1, file$1, 137, 14, 4505);
|
|
11339
|
+
add_location(div1, file$1, 135, 12, 4433);
|
|
11285
11340
|
attr_dev(div2, "class", "TableUserDetails");
|
|
11286
|
-
add_location(div2, file$1,
|
|
11341
|
+
add_location(div2, file$1, 134, 10, 4390);
|
|
11287
11342
|
attr_dev(div3, "class", "TableContent");
|
|
11288
|
-
add_location(div3, file$1,
|
|
11343
|
+
add_location(div3, file$1, 131, 8, 4262);
|
|
11289
11344
|
},
|
|
11290
11345
|
m: function mount(target, anchor) {
|
|
11291
11346
|
insert_dev(target, div3, anchor);
|
|
@@ -11305,10 +11360,10 @@
|
|
|
11305
11360
|
append_dev(div3, t6);
|
|
11306
11361
|
},
|
|
11307
11362
|
p: function update(ctx, dirty) {
|
|
11308
|
-
if (dirty[0] & /*display*/ 64 && t0_value !== (t0_value = /*row*/ ctx[
|
|
11309
|
-
if (dirty[0] & /*display*/ 64 && t1_value !== (t1_value = /*row*/ ctx[
|
|
11363
|
+
if (dirty[0] & /*display*/ 64 && t0_value !== (t0_value = /*row*/ ctx[25].Position + "")) set_data_dev(t0, t0_value);
|
|
11364
|
+
if (dirty[0] & /*display*/ 64 && t1_value !== (t1_value = /*row*/ ctx[25].Name + "")) set_data_dev(t1, t1_value);
|
|
11310
11365
|
if (dirty[0] & /*$_*/ 256 && t3_value !== (t3_value = /*$_*/ ctx[8]("tournamentsTable.score") + "")) set_data_dev(t3, t3_value);
|
|
11311
|
-
if (dirty[0] & /*display*/ 64 && t5_value !== (t5_value = /*row*/ ctx[
|
|
11366
|
+
if (dirty[0] & /*display*/ 64 && t5_value !== (t5_value = /*row*/ ctx[25].Score + "")) set_data_dev(t5, t5_value);
|
|
11312
11367
|
},
|
|
11313
11368
|
d: function destroy(detaching) {
|
|
11314
11369
|
if (detaching) detach_dev(div3);
|
|
@@ -11319,7 +11374,7 @@
|
|
|
11319
11374
|
block,
|
|
11320
11375
|
id: create_each_block$1.name,
|
|
11321
11376
|
type: "each",
|
|
11322
|
-
source: "(
|
|
11377
|
+
source: "(131:6) {#each display as row}",
|
|
11323
11378
|
ctx
|
|
11324
11379
|
});
|
|
11325
11380
|
|
|
@@ -11395,6 +11450,7 @@
|
|
|
11395
11450
|
validate_slots("undefined", slots, []);
|
|
11396
11451
|
let { sortable = false } = $$props;
|
|
11397
11452
|
let { firstrow = false } = $$props;
|
|
11453
|
+
let { lang = "en" } = $$props;
|
|
11398
11454
|
let columns = [];
|
|
11399
11455
|
let data = [];
|
|
11400
11456
|
let sortColumn = null;
|
|
@@ -11429,9 +11485,9 @@
|
|
|
11429
11485
|
const sameColumn = column === sortColumn;
|
|
11430
11486
|
const currentlyAscending = sortDirection === "ASC";
|
|
11431
11487
|
const unsetSort = sameColumn && !currentlyAscending;
|
|
11432
|
-
$$invalidate(
|
|
11488
|
+
$$invalidate(14, sortColumn = unsetSort ? null : column);
|
|
11433
11489
|
|
|
11434
|
-
$$invalidate(
|
|
11490
|
+
$$invalidate(15, sortDirection = unsetSort
|
|
11435
11491
|
? null
|
|
11436
11492
|
: sameColumn && currentlyAscending ? "DESC" : "ASC");
|
|
11437
11493
|
};
|
|
@@ -11489,7 +11545,7 @@
|
|
|
11489
11545
|
};
|
|
11490
11546
|
});
|
|
11491
11547
|
|
|
11492
|
-
const writable_props = ["sortable", "firstrow"];
|
|
11548
|
+
const writable_props = ["sortable", "firstrow", "lang"];
|
|
11493
11549
|
|
|
11494
11550
|
Object_1$1.keys($$props).forEach(key => {
|
|
11495
11551
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
@@ -11504,6 +11560,7 @@
|
|
|
11504
11560
|
$$self.$$set = $$props => {
|
|
11505
11561
|
if ("sortable" in $$props) $$invalidate(0, sortable = $$props.sortable);
|
|
11506
11562
|
if ("firstrow" in $$props) $$invalidate(1, firstrow = $$props.firstrow);
|
|
11563
|
+
if ("lang" in $$props) $$invalidate(13, lang = $$props.lang);
|
|
11507
11564
|
};
|
|
11508
11565
|
|
|
11509
11566
|
$$self.$capture_state = () => ({
|
|
@@ -11515,6 +11572,7 @@
|
|
|
11515
11572
|
TournamentsTableTranslations,
|
|
11516
11573
|
sortable,
|
|
11517
11574
|
firstrow,
|
|
11575
|
+
lang,
|
|
11518
11576
|
columns,
|
|
11519
11577
|
data,
|
|
11520
11578
|
sortColumn,
|
|
@@ -11537,10 +11595,11 @@
|
|
|
11537
11595
|
$$self.$inject_state = $$props => {
|
|
11538
11596
|
if ("sortable" in $$props) $$invalidate(0, sortable = $$props.sortable);
|
|
11539
11597
|
if ("firstrow" in $$props) $$invalidate(1, firstrow = $$props.firstrow);
|
|
11598
|
+
if ("lang" in $$props) $$invalidate(13, lang = $$props.lang);
|
|
11540
11599
|
if ("columns" in $$props) $$invalidate(3, columns = $$props.columns);
|
|
11541
11600
|
if ("data" in $$props) $$invalidate(2, data = $$props.data);
|
|
11542
|
-
if ("sortColumn" in $$props) $$invalidate(
|
|
11543
|
-
if ("sortDirection" in $$props) $$invalidate(
|
|
11601
|
+
if ("sortColumn" in $$props) $$invalidate(14, sortColumn = $$props.sortColumn);
|
|
11602
|
+
if ("sortDirection" in $$props) $$invalidate(15, sortDirection = $$props.sortDirection);
|
|
11544
11603
|
if ("column" in $$props) $$invalidate(12, column = $$props.column);
|
|
11545
11604
|
if ("firstRowData" in $$props) $$invalidate(4, firstRowData = $$props.firstRowData);
|
|
11546
11605
|
if ("showTable" in $$props) $$invalidate(5, showTable = $$props.showTable);
|
|
@@ -11554,11 +11613,11 @@
|
|
|
11554
11613
|
}
|
|
11555
11614
|
|
|
11556
11615
|
$$self.$$.update = () => {
|
|
11557
|
-
if ($$self.$$.dirty[0] & /*sortColumn, sortDirection, data*/
|
|
11616
|
+
if ($$self.$$.dirty[0] & /*sortColumn, sortDirection, data*/ 49156) {
|
|
11558
11617
|
$$invalidate(6, display = sortColumn && sortDirection ? sortData() : [...data]);
|
|
11559
11618
|
}
|
|
11560
11619
|
|
|
11561
|
-
if ($$self.$$.dirty[0] & /*sortColumn, sortDirection*/
|
|
11620
|
+
if ($$self.$$.dirty[0] & /*sortColumn, sortDirection*/ 49152) {
|
|
11562
11621
|
$$invalidate(7, sort = column === sortColumn ? sortDirection : null);
|
|
11563
11622
|
}
|
|
11564
11623
|
};
|
|
@@ -11577,6 +11636,7 @@
|
|
|
11577
11636
|
sortBy,
|
|
11578
11637
|
collapseTable,
|
|
11579
11638
|
column,
|
|
11639
|
+
lang,
|
|
11580
11640
|
sortColumn,
|
|
11581
11641
|
sortDirection,
|
|
11582
11642
|
click_handler,
|
|
@@ -11602,7 +11662,7 @@
|
|
|
11602
11662
|
instance$1,
|
|
11603
11663
|
create_fragment$1,
|
|
11604
11664
|
safe_not_equal,
|
|
11605
|
-
{ sortable: 0, firstrow: 1 },
|
|
11665
|
+
{ sortable: 0, firstrow: 1, lang: 13 },
|
|
11606
11666
|
[-1, -1]
|
|
11607
11667
|
);
|
|
11608
11668
|
|
|
@@ -11619,7 +11679,7 @@
|
|
|
11619
11679
|
}
|
|
11620
11680
|
|
|
11621
11681
|
static get observedAttributes() {
|
|
11622
|
-
return ["sortable", "firstrow"];
|
|
11682
|
+
return ["sortable", "firstrow", "lang"];
|
|
11623
11683
|
}
|
|
11624
11684
|
|
|
11625
11685
|
get sortable() {
|
|
@@ -11639,6 +11699,15 @@
|
|
|
11639
11699
|
this.$set({ firstrow });
|
|
11640
11700
|
flush();
|
|
11641
11701
|
}
|
|
11702
|
+
|
|
11703
|
+
get lang() {
|
|
11704
|
+
return this.$$.ctx[13];
|
|
11705
|
+
}
|
|
11706
|
+
|
|
11707
|
+
set lang(lang) {
|
|
11708
|
+
this.$set({ lang });
|
|
11709
|
+
flush();
|
|
11710
|
+
}
|
|
11642
11711
|
}
|
|
11643
11712
|
|
|
11644
11713
|
!customElements.get('casino-tournaments-table') && customElements.define('casino-tournaments-table', CasinoTournamentsTable);
|
|
@@ -11650,11 +11719,11 @@
|
|
|
11650
11719
|
|
|
11651
11720
|
function get_each_context(ctx, list, i) {
|
|
11652
11721
|
const child_ctx = ctx.slice();
|
|
11653
|
-
child_ctx[
|
|
11722
|
+
child_ctx[33] = list[i];
|
|
11654
11723
|
return child_ctx;
|
|
11655
11724
|
}
|
|
11656
11725
|
|
|
11657
|
-
// (
|
|
11726
|
+
// (165:0) {:else}
|
|
11658
11727
|
function create_else_block(ctx) {
|
|
11659
11728
|
let div5;
|
|
11660
11729
|
let div1;
|
|
@@ -11663,7 +11732,7 @@
|
|
|
11663
11732
|
let path;
|
|
11664
11733
|
let t0;
|
|
11665
11734
|
let p;
|
|
11666
|
-
let t1_value = /*$_*/ ctx[
|
|
11735
|
+
let t1_value = /*$_*/ ctx[10]("tournamentsPage.back") + "";
|
|
11667
11736
|
let t1;
|
|
11668
11737
|
let t2;
|
|
11669
11738
|
let div4;
|
|
@@ -11675,8 +11744,8 @@
|
|
|
11675
11744
|
let div3_class_value;
|
|
11676
11745
|
let mounted;
|
|
11677
11746
|
let dispose;
|
|
11678
|
-
let if_block0 = /*tournamentDetails*/ ctx[
|
|
11679
|
-
let if_block1 = /*tournamentDescription*/ ctx[
|
|
11747
|
+
let if_block0 = /*tournamentDetails*/ ctx[8] && create_if_block_4(ctx);
|
|
11748
|
+
let if_block1 = /*tournamentDescription*/ ctx[7].length > 0 && create_if_block_3(ctx);
|
|
11680
11749
|
let if_block2 = /*showleaderboard*/ ctx[0] == "true" && create_if_block_1(ctx);
|
|
11681
11750
|
|
|
11682
11751
|
const block = {
|
|
@@ -11702,35 +11771,35 @@
|
|
|
11702
11771
|
attr_dev(path, "stroke-linejoin", "round");
|
|
11703
11772
|
attr_dev(path, "stroke-width", "2");
|
|
11704
11773
|
attr_dev(path, "d", "M15 19l-7-7 7-7");
|
|
11705
|
-
add_location(path, file,
|
|
11774
|
+
add_location(path, file, 170, 10, 5827);
|
|
11706
11775
|
attr_dev(svg, "fill", "none");
|
|
11707
11776
|
attr_dev(svg, "stroke", "currentColor");
|
|
11708
11777
|
attr_dev(svg, "width", "24");
|
|
11709
11778
|
attr_dev(svg, "height", "24");
|
|
11710
11779
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11711
11780
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11712
|
-
add_location(svg, file,
|
|
11713
|
-
add_location(p, file,
|
|
11781
|
+
add_location(svg, file, 169, 8, 5699);
|
|
11782
|
+
add_location(p, file, 172, 8, 5948);
|
|
11714
11783
|
attr_dev(div0, "class", "BackButton");
|
|
11715
|
-
add_location(div0, file,
|
|
11784
|
+
add_location(div0, file, 168, 6, 5640);
|
|
11716
11785
|
attr_dev(div1, "class", "TopButtons");
|
|
11717
|
-
add_location(div1, file,
|
|
11786
|
+
add_location(div1, file, 167, 4, 5609);
|
|
11718
11787
|
|
|
11719
|
-
attr_dev(div2, "class", div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[
|
|
11788
|
+
attr_dev(div2, "class", div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[11]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
|
|
11720
11789
|
? "TournamentCardDetails"
|
|
11721
11790
|
: "FullSize")));
|
|
11722
11791
|
|
|
11723
|
-
add_location(div2, file,
|
|
11792
|
+
add_location(div2, file, 191, 6, 6828);
|
|
11724
11793
|
|
|
11725
11794
|
attr_dev(div3, "class", div3_class_value = /*showleaderboard*/ ctx[0] == "true"
|
|
11726
11795
|
? "TournamentTableDetails "
|
|
11727
11796
|
: "DisplayNone");
|
|
11728
11797
|
|
|
11729
|
-
add_location(div3, file,
|
|
11730
|
-
attr_dev(div4, "class", "TournamentContentDetails " + (isMobile(/*userAgent*/ ctx[
|
|
11731
|
-
add_location(div4, file,
|
|
11798
|
+
add_location(div3, file, 214, 6, 7693);
|
|
11799
|
+
attr_dev(div4, "class", "TournamentContentDetails " + (isMobile(/*userAgent*/ ctx[11]) ? "MobileClass" : ""));
|
|
11800
|
+
add_location(div4, file, 190, 4, 6740);
|
|
11732
11801
|
attr_dev(div5, "class", "TournamentsPage");
|
|
11733
|
-
add_location(div5, file,
|
|
11802
|
+
add_location(div5, file, 165, 2, 5574);
|
|
11734
11803
|
},
|
|
11735
11804
|
m: function mount(target, anchor) {
|
|
11736
11805
|
insert_dev(target, div5, anchor);
|
|
@@ -11752,14 +11821,14 @@
|
|
|
11752
11821
|
if (if_block2) if_block2.m(div3, null);
|
|
11753
11822
|
|
|
11754
11823
|
if (!mounted) {
|
|
11755
|
-
dispose = listen_dev(div0, "click", /*click_handler*/ ctx[
|
|
11824
|
+
dispose = listen_dev(div0, "click", /*click_handler*/ ctx[17], false, false, false);
|
|
11756
11825
|
mounted = true;
|
|
11757
11826
|
}
|
|
11758
11827
|
},
|
|
11759
11828
|
p: function update(ctx, dirty) {
|
|
11760
|
-
if (dirty[0] & /*$_*/
|
|
11829
|
+
if (dirty[0] & /*$_*/ 1024 && t1_value !== (t1_value = /*$_*/ ctx[10]("tournamentsPage.back") + "")) set_data_dev(t1, t1_value);
|
|
11761
11830
|
|
|
11762
|
-
if (/*tournamentDetails*/ ctx[
|
|
11831
|
+
if (/*tournamentDetails*/ ctx[8]) {
|
|
11763
11832
|
if (if_block0) {
|
|
11764
11833
|
if_block0.p(ctx, dirty);
|
|
11765
11834
|
} else {
|
|
@@ -11772,7 +11841,7 @@
|
|
|
11772
11841
|
if_block0 = null;
|
|
11773
11842
|
}
|
|
11774
11843
|
|
|
11775
|
-
if (/*tournamentDescription*/ ctx[
|
|
11844
|
+
if (/*tournamentDescription*/ ctx[7].length > 0) {
|
|
11776
11845
|
if (if_block1) {
|
|
11777
11846
|
if_block1.p(ctx, dirty);
|
|
11778
11847
|
} else {
|
|
@@ -11785,7 +11854,7 @@
|
|
|
11785
11854
|
if_block1 = null;
|
|
11786
11855
|
}
|
|
11787
11856
|
|
|
11788
|
-
if (dirty[0] & /*showleaderboard*/ 1 && div2_class_value !== (div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[
|
|
11857
|
+
if (dirty[0] & /*showleaderboard*/ 1 && div2_class_value !== (div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[11]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
|
|
11789
11858
|
? "TournamentCardDetails"
|
|
11790
11859
|
: "FullSize")))) {
|
|
11791
11860
|
attr_dev(div2, "class", div2_class_value);
|
|
@@ -11824,31 +11893,31 @@
|
|
|
11824
11893
|
block,
|
|
11825
11894
|
id: create_else_block.name,
|
|
11826
11895
|
type: "else",
|
|
11827
|
-
source: "(
|
|
11896
|
+
source: "(165:0) {:else}",
|
|
11828
11897
|
ctx
|
|
11829
11898
|
});
|
|
11830
11899
|
|
|
11831
11900
|
return block;
|
|
11832
11901
|
}
|
|
11833
11902
|
|
|
11834
|
-
// (
|
|
11903
|
+
// (163:0) {#if isLoading}
|
|
11835
11904
|
function create_if_block(ctx) {
|
|
11836
11905
|
let p;
|
|
11837
|
-
let t_value = /*$_*/ ctx[
|
|
11906
|
+
let t_value = /*$_*/ ctx[10]("tournamentsPage.loading") + "";
|
|
11838
11907
|
let t;
|
|
11839
11908
|
|
|
11840
11909
|
const block = {
|
|
11841
11910
|
c: function create() {
|
|
11842
11911
|
p = element("p");
|
|
11843
11912
|
t = text(t_value);
|
|
11844
|
-
add_location(p, file,
|
|
11913
|
+
add_location(p, file, 163, 2, 5525);
|
|
11845
11914
|
},
|
|
11846
11915
|
m: function mount(target, anchor) {
|
|
11847
11916
|
insert_dev(target, p, anchor);
|
|
11848
11917
|
append_dev(p, t);
|
|
11849
11918
|
},
|
|
11850
11919
|
p: function update(ctx, dirty) {
|
|
11851
|
-
if (dirty[0] & /*$_*/
|
|
11920
|
+
if (dirty[0] & /*$_*/ 1024 && t_value !== (t_value = /*$_*/ ctx[10]("tournamentsPage.loading") + "")) set_data_dev(t, t_value);
|
|
11852
11921
|
},
|
|
11853
11922
|
d: function destroy(detaching) {
|
|
11854
11923
|
if (detaching) detach_dev(p);
|
|
@@ -11859,14 +11928,14 @@
|
|
|
11859
11928
|
block,
|
|
11860
11929
|
id: create_if_block.name,
|
|
11861
11930
|
type: "if",
|
|
11862
|
-
source: "(
|
|
11931
|
+
source: "(163:0) {#if isLoading}",
|
|
11863
11932
|
ctx
|
|
11864
11933
|
});
|
|
11865
11934
|
|
|
11866
11935
|
return block;
|
|
11867
11936
|
}
|
|
11868
11937
|
|
|
11869
|
-
// (
|
|
11938
|
+
// (193:8) {#if tournamentDetails}
|
|
11870
11939
|
function create_if_block_4(ctx) {
|
|
11871
11940
|
let casino_tournaments_thumbnail_controller;
|
|
11872
11941
|
let casino_tournaments_thumbnail_controller_tournamenturl_value;
|
|
@@ -11878,13 +11947,14 @@
|
|
|
11878
11947
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "session", /*session*/ ctx[1]);
|
|
11879
11948
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "userid", /*userid*/ ctx[2]);
|
|
11880
11949
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "endpoint", /*endpoint*/ ctx[3]);
|
|
11881
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "tournamenturl", casino_tournaments_thumbnail_controller_tournamenturl_value = /*tournamentDetails*/ ctx[
|
|
11950
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "tournamenturl", casino_tournaments_thumbnail_controller_tournamenturl_value = /*tournamentDetails*/ ctx[8].href);
|
|
11882
11951
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "showdetails", "false");
|
|
11883
11952
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "showslider", "true");
|
|
11884
11953
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "showenrolled", "true");
|
|
11885
11954
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value = !!/*showleaderboard*/ ctx[0]);
|
|
11886
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "
|
|
11887
|
-
|
|
11955
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "lang", /*lang*/ ctx[4]);
|
|
11956
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "currency", /*currency*/ ctx[5]);
|
|
11957
|
+
add_location(casino_tournaments_thumbnail_controller, file, 193, 10, 6993);
|
|
11888
11958
|
},
|
|
11889
11959
|
m: function mount(target, anchor) {
|
|
11890
11960
|
insert_dev(target, casino_tournaments_thumbnail_controller, anchor);
|
|
@@ -11902,7 +11972,7 @@
|
|
|
11902
11972
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "endpoint", /*endpoint*/ ctx[3]);
|
|
11903
11973
|
}
|
|
11904
11974
|
|
|
11905
|
-
if (dirty[0] & /*tournamentDetails*/
|
|
11975
|
+
if (dirty[0] & /*tournamentDetails*/ 256 && casino_tournaments_thumbnail_controller_tournamenturl_value !== (casino_tournaments_thumbnail_controller_tournamenturl_value = /*tournamentDetails*/ ctx[8].href)) {
|
|
11906
11976
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "tournamenturl", casino_tournaments_thumbnail_controller_tournamenturl_value);
|
|
11907
11977
|
}
|
|
11908
11978
|
|
|
@@ -11910,8 +11980,12 @@
|
|
|
11910
11980
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value);
|
|
11911
11981
|
}
|
|
11912
11982
|
|
|
11913
|
-
if (dirty[0] & /*
|
|
11914
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "
|
|
11983
|
+
if (dirty[0] & /*lang*/ 16) {
|
|
11984
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "lang", /*lang*/ ctx[4]);
|
|
11985
|
+
}
|
|
11986
|
+
|
|
11987
|
+
if (dirty[0] & /*currency*/ 32) {
|
|
11988
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "currency", /*currency*/ ctx[5]);
|
|
11915
11989
|
}
|
|
11916
11990
|
},
|
|
11917
11991
|
d: function destroy(detaching) {
|
|
@@ -11923,17 +11997,17 @@
|
|
|
11923
11997
|
block,
|
|
11924
11998
|
id: create_if_block_4.name,
|
|
11925
11999
|
type: "if",
|
|
11926
|
-
source: "(
|
|
12000
|
+
source: "(193:8) {#if tournamentDetails}",
|
|
11927
12001
|
ctx
|
|
11928
12002
|
});
|
|
11929
12003
|
|
|
11930
12004
|
return block;
|
|
11931
12005
|
}
|
|
11932
12006
|
|
|
11933
|
-
// (
|
|
12007
|
+
// (207:8) {#if tournamentDescription.length > 0}
|
|
11934
12008
|
function create_if_block_3(ctx) {
|
|
11935
12009
|
let each_1_anchor;
|
|
11936
|
-
let each_value = /*tournamentDescription*/ ctx[
|
|
12010
|
+
let each_value = /*tournamentDescription*/ ctx[7];
|
|
11937
12011
|
validate_each_argument(each_value);
|
|
11938
12012
|
let each_blocks = [];
|
|
11939
12013
|
|
|
@@ -11957,8 +12031,8 @@
|
|
|
11957
12031
|
insert_dev(target, each_1_anchor, anchor);
|
|
11958
12032
|
},
|
|
11959
12033
|
p: function update(ctx, dirty) {
|
|
11960
|
-
if (dirty[0] & /*tournamentDescription*/
|
|
11961
|
-
each_value = /*tournamentDescription*/ ctx[
|
|
12034
|
+
if (dirty[0] & /*tournamentDescription*/ 128) {
|
|
12035
|
+
each_value = /*tournamentDescription*/ ctx[7];
|
|
11962
12036
|
validate_each_argument(each_value);
|
|
11963
12037
|
let i;
|
|
11964
12038
|
|
|
@@ -11991,14 +12065,14 @@
|
|
|
11991
12065
|
block,
|
|
11992
12066
|
id: create_if_block_3.name,
|
|
11993
12067
|
type: "if",
|
|
11994
|
-
source: "(
|
|
12068
|
+
source: "(207:8) {#if tournamentDescription.length > 0}",
|
|
11995
12069
|
ctx
|
|
11996
12070
|
});
|
|
11997
12071
|
|
|
11998
12072
|
return block;
|
|
11999
12073
|
}
|
|
12000
12074
|
|
|
12001
|
-
// (
|
|
12075
|
+
// (208:10) {#each tournamentDescription as desc}
|
|
12002
12076
|
function create_each_block(ctx) {
|
|
12003
12077
|
let casino_tournaments_details;
|
|
12004
12078
|
let casino_tournaments_details_title_value;
|
|
@@ -12007,19 +12081,19 @@
|
|
|
12007
12081
|
const block = {
|
|
12008
12082
|
c: function create() {
|
|
12009
12083
|
casino_tournaments_details = element("casino-tournaments-details");
|
|
12010
|
-
set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value = /*desc*/ ctx[
|
|
12011
|
-
set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value = /*desc*/ ctx[
|
|
12012
|
-
add_location(casino_tournaments_details, file,
|
|
12084
|
+
set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value = /*desc*/ ctx[33].title);
|
|
12085
|
+
set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value = /*desc*/ ctx[33].description);
|
|
12086
|
+
add_location(casino_tournaments_details, file, 208, 12, 7527);
|
|
12013
12087
|
},
|
|
12014
12088
|
m: function mount(target, anchor) {
|
|
12015
12089
|
insert_dev(target, casino_tournaments_details, anchor);
|
|
12016
12090
|
},
|
|
12017
12091
|
p: function update(ctx, dirty) {
|
|
12018
|
-
if (dirty[0] & /*tournamentDescription*/
|
|
12092
|
+
if (dirty[0] & /*tournamentDescription*/ 128 && casino_tournaments_details_title_value !== (casino_tournaments_details_title_value = /*desc*/ ctx[33].title)) {
|
|
12019
12093
|
set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value);
|
|
12020
12094
|
}
|
|
12021
12095
|
|
|
12022
|
-
if (dirty[0] & /*tournamentDescription*/
|
|
12096
|
+
if (dirty[0] & /*tournamentDescription*/ 128 && casino_tournaments_details_text_value !== (casino_tournaments_details_text_value = /*desc*/ ctx[33].description)) {
|
|
12023
12097
|
set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value);
|
|
12024
12098
|
}
|
|
12025
12099
|
},
|
|
@@ -12032,17 +12106,17 @@
|
|
|
12032
12106
|
block,
|
|
12033
12107
|
id: create_each_block.name,
|
|
12034
12108
|
type: "each",
|
|
12035
|
-
source: "(
|
|
12109
|
+
source: "(208:10) {#each tournamentDescription as desc}",
|
|
12036
12110
|
ctx
|
|
12037
12111
|
});
|
|
12038
12112
|
|
|
12039
12113
|
return block;
|
|
12040
12114
|
}
|
|
12041
12115
|
|
|
12042
|
-
// (
|
|
12116
|
+
// (216:8) {#if showleaderboard == "true"}
|
|
12043
12117
|
function create_if_block_1(ctx) {
|
|
12044
12118
|
let if_block_anchor;
|
|
12045
|
-
let if_block = /*showTable*/ ctx[
|
|
12119
|
+
let if_block = /*showTable*/ ctx[9] == true && create_if_block_2(ctx);
|
|
12046
12120
|
|
|
12047
12121
|
const block = {
|
|
12048
12122
|
c: function create() {
|
|
@@ -12054,8 +12128,10 @@
|
|
|
12054
12128
|
insert_dev(target, if_block_anchor, anchor);
|
|
12055
12129
|
},
|
|
12056
12130
|
p: function update(ctx, dirty) {
|
|
12057
|
-
if (/*showTable*/ ctx[
|
|
12058
|
-
if (if_block)
|
|
12131
|
+
if (/*showTable*/ ctx[9] == true) {
|
|
12132
|
+
if (if_block) {
|
|
12133
|
+
if_block.p(ctx, dirty);
|
|
12134
|
+
} else {
|
|
12059
12135
|
if_block = create_if_block_2(ctx);
|
|
12060
12136
|
if_block.c();
|
|
12061
12137
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -12075,14 +12151,14 @@
|
|
|
12075
12151
|
block,
|
|
12076
12152
|
id: create_if_block_1.name,
|
|
12077
12153
|
type: "if",
|
|
12078
|
-
source: "(
|
|
12154
|
+
source: "(216:8) {#if showleaderboard == \\\"true\\\"}",
|
|
12079
12155
|
ctx
|
|
12080
12156
|
});
|
|
12081
12157
|
|
|
12082
12158
|
return block;
|
|
12083
12159
|
}
|
|
12084
12160
|
|
|
12085
|
-
// (
|
|
12161
|
+
// (217:10) {#if showTable == true}
|
|
12086
12162
|
function create_if_block_2(ctx) {
|
|
12087
12163
|
let casino_tournaments_table;
|
|
12088
12164
|
|
|
@@ -12091,11 +12167,17 @@
|
|
|
12091
12167
|
casino_tournaments_table = element("casino-tournaments-table");
|
|
12092
12168
|
set_custom_element_data(casino_tournaments_table, "firstrow", "true");
|
|
12093
12169
|
set_custom_element_data(casino_tournaments_table, "sortable", "false");
|
|
12094
|
-
|
|
12170
|
+
set_custom_element_data(casino_tournaments_table, "lang", /*lang*/ ctx[4]);
|
|
12171
|
+
add_location(casino_tournaments_table, file, 217, 12, 7865);
|
|
12095
12172
|
},
|
|
12096
12173
|
m: function mount(target, anchor) {
|
|
12097
12174
|
insert_dev(target, casino_tournaments_table, anchor);
|
|
12098
12175
|
},
|
|
12176
|
+
p: function update(ctx, dirty) {
|
|
12177
|
+
if (dirty[0] & /*lang*/ 16) {
|
|
12178
|
+
set_custom_element_data(casino_tournaments_table, "lang", /*lang*/ ctx[4]);
|
|
12179
|
+
}
|
|
12180
|
+
},
|
|
12099
12181
|
d: function destroy(detaching) {
|
|
12100
12182
|
if (detaching) detach_dev(casino_tournaments_table);
|
|
12101
12183
|
}
|
|
@@ -12105,7 +12187,7 @@
|
|
|
12105
12187
|
block,
|
|
12106
12188
|
id: create_if_block_2.name,
|
|
12107
12189
|
type: "if",
|
|
12108
|
-
source: "(
|
|
12190
|
+
source: "(217:10) {#if showTable == true}",
|
|
12109
12191
|
ctx
|
|
12110
12192
|
});
|
|
12111
12193
|
|
|
@@ -12116,7 +12198,7 @@
|
|
|
12116
12198
|
let if_block_anchor;
|
|
12117
12199
|
|
|
12118
12200
|
function select_block_type(ctx, dirty) {
|
|
12119
|
-
if (/*isLoading*/ ctx[
|
|
12201
|
+
if (/*isLoading*/ ctx[6]) return create_if_block;
|
|
12120
12202
|
return create_else_block;
|
|
12121
12203
|
}
|
|
12122
12204
|
|
|
@@ -12171,7 +12253,7 @@
|
|
|
12171
12253
|
function instance($$self, $$props, $$invalidate) {
|
|
12172
12254
|
let $_;
|
|
12173
12255
|
validate_store(X, "_");
|
|
12174
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
|
12256
|
+
component_subscribe($$self, X, $$value => $$invalidate(10, $_ = $$value));
|
|
12175
12257
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
12176
12258
|
validate_slots("undefined", slots, []);
|
|
12177
12259
|
let { session = "" } = $$props;
|
|
@@ -12183,6 +12265,7 @@
|
|
|
12183
12265
|
let { lang = "" } = $$props;
|
|
12184
12266
|
let { navigationbackbutton = "Default" } = $$props;
|
|
12185
12267
|
let { currency = "EUR" } = $$props;
|
|
12268
|
+
let { tablelimit = "30" } = $$props;
|
|
12186
12269
|
|
|
12187
12270
|
// Variables of topics for communication
|
|
12188
12271
|
let sessionTopic;
|
|
@@ -12198,6 +12281,7 @@
|
|
|
12198
12281
|
let showTable = false;
|
|
12199
12282
|
let firstRowData = {};
|
|
12200
12283
|
let firstRowAvailable = false;
|
|
12284
|
+
setupI18n({ withLocale: "en", translations: {} });
|
|
12201
12285
|
|
|
12202
12286
|
Object.keys(TournamentsPageTranslations).forEach(item => {
|
|
12203
12287
|
addNewMessages$5(item, TournamentsPageTranslations[item]);
|
|
@@ -12243,8 +12327,8 @@
|
|
|
12243
12327
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
12244
12328
|
let requestOptions = { method: "GET", headers: reqHeaders };
|
|
12245
12329
|
|
|
12246
|
-
fetch(url, requestOptions).then(res => res.json()).then(res => {
|
|
12247
|
-
$$invalidate(
|
|
12330
|
+
fetch(url.href, requestOptions).then(res => res.json()).then(res => {
|
|
12331
|
+
$$invalidate(8, tournamentDetails = res.item);
|
|
12248
12332
|
|
|
12249
12333
|
if (res.item.state == "Unstarted") {
|
|
12250
12334
|
$$invalidate(0, showleaderboard = false);
|
|
@@ -12261,13 +12345,13 @@
|
|
|
12261
12345
|
|
|
12262
12346
|
fetch(url, requestOptions).then(res => res.json()).then(res => {
|
|
12263
12347
|
tournamentTableData = transformTableData(res.items);
|
|
12264
|
-
$$invalidate(
|
|
12348
|
+
$$invalidate(9, showTable = true);
|
|
12265
12349
|
|
|
12266
12350
|
// @TODO data is not iterable error fix
|
|
12267
12351
|
window.postMessage(
|
|
12268
12352
|
{
|
|
12269
12353
|
type: "CasinoTableData",
|
|
12270
|
-
tableData: tournamentTableData
|
|
12354
|
+
tableData: tournamentTableData.slice(0, tablelimit)
|
|
12271
12355
|
},
|
|
12272
12356
|
window.location.href
|
|
12273
12357
|
);
|
|
@@ -12317,10 +12401,11 @@
|
|
|
12317
12401
|
isLoggedIn = false;
|
|
12318
12402
|
}
|
|
12319
12403
|
|
|
12320
|
-
$$invalidate(
|
|
12404
|
+
$$invalidate(6, isLoading = false);
|
|
12321
12405
|
};
|
|
12322
12406
|
|
|
12323
12407
|
const initialLoad = () => {
|
|
12408
|
+
setLocale$1(lang);
|
|
12324
12409
|
getData(endpoint, tourid);
|
|
12325
12410
|
getTableData(endpoint, tourid);
|
|
12326
12411
|
};
|
|
@@ -12328,7 +12413,7 @@
|
|
|
12328
12413
|
const getDataFromCMS = () => {
|
|
12329
12414
|
fetch(`${cmsendpoint}?tournamentId=${tourid}`).then(res => res.json()).then(data => {
|
|
12330
12415
|
if (data && data.details) {
|
|
12331
|
-
$$invalidate(
|
|
12416
|
+
$$invalidate(7, tournamentDescription = data.details);
|
|
12332
12417
|
}
|
|
12333
12418
|
});
|
|
12334
12419
|
};
|
|
@@ -12350,7 +12435,8 @@
|
|
|
12350
12435
|
"cmsendpoint",
|
|
12351
12436
|
"lang",
|
|
12352
12437
|
"navigationbackbutton",
|
|
12353
|
-
"currency"
|
|
12438
|
+
"currency",
|
|
12439
|
+
"tablelimit"
|
|
12354
12440
|
];
|
|
12355
12441
|
|
|
12356
12442
|
Object_1.keys($$props).forEach(key => {
|
|
@@ -12362,13 +12448,14 @@
|
|
|
12362
12448
|
$$self.$$set = $$props => {
|
|
12363
12449
|
if ("session" in $$props) $$invalidate(1, session = $$props.session);
|
|
12364
12450
|
if ("userid" in $$props) $$invalidate(2, userid = $$props.userid);
|
|
12365
|
-
if ("tourid" in $$props) $$invalidate(
|
|
12451
|
+
if ("tourid" in $$props) $$invalidate(13, tourid = $$props.tourid);
|
|
12366
12452
|
if ("endpoint" in $$props) $$invalidate(3, endpoint = $$props.endpoint);
|
|
12367
12453
|
if ("showleaderboard" in $$props) $$invalidate(0, showleaderboard = $$props.showleaderboard);
|
|
12368
|
-
if ("cmsendpoint" in $$props) $$invalidate(
|
|
12369
|
-
if ("lang" in $$props) $$invalidate(
|
|
12454
|
+
if ("cmsendpoint" in $$props) $$invalidate(14, cmsendpoint = $$props.cmsendpoint);
|
|
12455
|
+
if ("lang" in $$props) $$invalidate(4, lang = $$props.lang);
|
|
12370
12456
|
if ("navigationbackbutton" in $$props) $$invalidate(15, navigationbackbutton = $$props.navigationbackbutton);
|
|
12371
|
-
if ("currency" in $$props) $$invalidate(
|
|
12457
|
+
if ("currency" in $$props) $$invalidate(5, currency = $$props.currency);
|
|
12458
|
+
if ("tablelimit" in $$props) $$invalidate(16, tablelimit = $$props.tablelimit);
|
|
12372
12459
|
};
|
|
12373
12460
|
|
|
12374
12461
|
$$self.$capture_state = () => ({
|
|
@@ -12378,6 +12465,8 @@
|
|
|
12378
12465
|
checkSession,
|
|
12379
12466
|
_: X,
|
|
12380
12467
|
addNewMessages: addNewMessages$5,
|
|
12468
|
+
setLocale: setLocale$1,
|
|
12469
|
+
setupI18n,
|
|
12381
12470
|
TournamentsPageTranslations,
|
|
12382
12471
|
session,
|
|
12383
12472
|
userid,
|
|
@@ -12388,6 +12477,7 @@
|
|
|
12388
12477
|
lang,
|
|
12389
12478
|
navigationbackbutton,
|
|
12390
12479
|
currency,
|
|
12480
|
+
tablelimit,
|
|
12391
12481
|
sessionTopic,
|
|
12392
12482
|
isLoggedIn,
|
|
12393
12483
|
sessionID,
|
|
@@ -12415,23 +12505,24 @@
|
|
|
12415
12505
|
$$self.$inject_state = $$props => {
|
|
12416
12506
|
if ("session" in $$props) $$invalidate(1, session = $$props.session);
|
|
12417
12507
|
if ("userid" in $$props) $$invalidate(2, userid = $$props.userid);
|
|
12418
|
-
if ("tourid" in $$props) $$invalidate(
|
|
12508
|
+
if ("tourid" in $$props) $$invalidate(13, tourid = $$props.tourid);
|
|
12419
12509
|
if ("endpoint" in $$props) $$invalidate(3, endpoint = $$props.endpoint);
|
|
12420
12510
|
if ("showleaderboard" in $$props) $$invalidate(0, showleaderboard = $$props.showleaderboard);
|
|
12421
|
-
if ("cmsendpoint" in $$props) $$invalidate(
|
|
12422
|
-
if ("lang" in $$props) $$invalidate(
|
|
12511
|
+
if ("cmsendpoint" in $$props) $$invalidate(14, cmsendpoint = $$props.cmsendpoint);
|
|
12512
|
+
if ("lang" in $$props) $$invalidate(4, lang = $$props.lang);
|
|
12423
12513
|
if ("navigationbackbutton" in $$props) $$invalidate(15, navigationbackbutton = $$props.navigationbackbutton);
|
|
12424
|
-
if ("currency" in $$props) $$invalidate(
|
|
12514
|
+
if ("currency" in $$props) $$invalidate(5, currency = $$props.currency);
|
|
12515
|
+
if ("tablelimit" in $$props) $$invalidate(16, tablelimit = $$props.tablelimit);
|
|
12425
12516
|
if ("sessionTopic" in $$props) sessionTopic = $$props.sessionTopic;
|
|
12426
12517
|
if ("isLoggedIn" in $$props) isLoggedIn = $$props.isLoggedIn;
|
|
12427
12518
|
if ("sessionID" in $$props) sessionID = $$props.sessionID;
|
|
12428
12519
|
if ("playerID" in $$props) playerID = $$props.playerID;
|
|
12429
|
-
if ("isLoading" in $$props) $$invalidate(
|
|
12430
|
-
if ("tournamentDescription" in $$props) $$invalidate(
|
|
12431
|
-
if ("tournamentDetails" in $$props) $$invalidate(
|
|
12520
|
+
if ("isLoading" in $$props) $$invalidate(6, isLoading = $$props.isLoading);
|
|
12521
|
+
if ("tournamentDescription" in $$props) $$invalidate(7, tournamentDescription = $$props.tournamentDescription);
|
|
12522
|
+
if ("tournamentDetails" in $$props) $$invalidate(8, tournamentDetails = $$props.tournamentDetails);
|
|
12432
12523
|
if ("tournamentTableData" in $$props) tournamentTableData = $$props.tournamentTableData;
|
|
12433
|
-
if ("userAgent" in $$props) $$invalidate(
|
|
12434
|
-
if ("showTable" in $$props) $$invalidate(
|
|
12524
|
+
if ("userAgent" in $$props) $$invalidate(11, userAgent = $$props.userAgent);
|
|
12525
|
+
if ("showTable" in $$props) $$invalidate(9, showTable = $$props.showTable);
|
|
12435
12526
|
if ("firstRowData" in $$props) firstRowData = $$props.firstRowData;
|
|
12436
12527
|
if ("firstRowAvailable" in $$props) firstRowAvailable = $$props.firstRowAvailable;
|
|
12437
12528
|
};
|
|
@@ -12445,11 +12536,11 @@
|
|
|
12445
12536
|
session && userid && setSession();
|
|
12446
12537
|
}
|
|
12447
12538
|
|
|
12448
|
-
if ($$self.$$.dirty[0] & /*tourid, endpoint, session*/
|
|
12449
|
-
tourid && endpoint && session && initialLoad();
|
|
12539
|
+
if ($$self.$$.dirty[0] & /*tourid, endpoint, session, lang*/ 8218) {
|
|
12540
|
+
tourid && endpoint && session && lang && initialLoad();
|
|
12450
12541
|
}
|
|
12451
12542
|
|
|
12452
|
-
if ($$self.$$.dirty[0] & /*tourid, cmsendpoint*/
|
|
12543
|
+
if ($$self.$$.dirty[0] & /*tourid, cmsendpoint*/ 24576) {
|
|
12453
12544
|
tourid && cmsendpoint && getDataFromCMS();
|
|
12454
12545
|
}
|
|
12455
12546
|
};
|
|
@@ -12459,6 +12550,7 @@
|
|
|
12459
12550
|
session,
|
|
12460
12551
|
userid,
|
|
12461
12552
|
endpoint,
|
|
12553
|
+
lang,
|
|
12462
12554
|
currency,
|
|
12463
12555
|
isLoading,
|
|
12464
12556
|
tournamentDescription,
|
|
@@ -12469,8 +12561,8 @@
|
|
|
12469
12561
|
goBack,
|
|
12470
12562
|
tourid,
|
|
12471
12563
|
cmsendpoint,
|
|
12472
|
-
lang,
|
|
12473
12564
|
navigationbackbutton,
|
|
12565
|
+
tablelimit,
|
|
12474
12566
|
click_handler
|
|
12475
12567
|
];
|
|
12476
12568
|
}
|
|
@@ -12493,13 +12585,14 @@
|
|
|
12493
12585
|
{
|
|
12494
12586
|
session: 1,
|
|
12495
12587
|
userid: 2,
|
|
12496
|
-
tourid:
|
|
12588
|
+
tourid: 13,
|
|
12497
12589
|
endpoint: 3,
|
|
12498
12590
|
showleaderboard: 0,
|
|
12499
|
-
cmsendpoint:
|
|
12500
|
-
lang:
|
|
12591
|
+
cmsendpoint: 14,
|
|
12592
|
+
lang: 4,
|
|
12501
12593
|
navigationbackbutton: 15,
|
|
12502
|
-
currency:
|
|
12594
|
+
currency: 5,
|
|
12595
|
+
tablelimit: 16
|
|
12503
12596
|
},
|
|
12504
12597
|
[-1, -1]
|
|
12505
12598
|
);
|
|
@@ -12526,7 +12619,8 @@
|
|
|
12526
12619
|
"cmsendpoint",
|
|
12527
12620
|
"lang",
|
|
12528
12621
|
"navigationbackbutton",
|
|
12529
|
-
"currency"
|
|
12622
|
+
"currency",
|
|
12623
|
+
"tablelimit"
|
|
12530
12624
|
];
|
|
12531
12625
|
}
|
|
12532
12626
|
|
|
@@ -12549,7 +12643,7 @@
|
|
|
12549
12643
|
}
|
|
12550
12644
|
|
|
12551
12645
|
get tourid() {
|
|
12552
|
-
return this.$$.ctx[
|
|
12646
|
+
return this.$$.ctx[13];
|
|
12553
12647
|
}
|
|
12554
12648
|
|
|
12555
12649
|
set tourid(tourid) {
|
|
@@ -12576,7 +12670,7 @@
|
|
|
12576
12670
|
}
|
|
12577
12671
|
|
|
12578
12672
|
get cmsendpoint() {
|
|
12579
|
-
return this.$$.ctx[
|
|
12673
|
+
return this.$$.ctx[14];
|
|
12580
12674
|
}
|
|
12581
12675
|
|
|
12582
12676
|
set cmsendpoint(cmsendpoint) {
|
|
@@ -12585,7 +12679,7 @@
|
|
|
12585
12679
|
}
|
|
12586
12680
|
|
|
12587
12681
|
get lang() {
|
|
12588
|
-
return this.$$.ctx[
|
|
12682
|
+
return this.$$.ctx[4];
|
|
12589
12683
|
}
|
|
12590
12684
|
|
|
12591
12685
|
set lang(lang) {
|
|
@@ -12603,13 +12697,22 @@
|
|
|
12603
12697
|
}
|
|
12604
12698
|
|
|
12605
12699
|
get currency() {
|
|
12606
|
-
return this.$$.ctx[
|
|
12700
|
+
return this.$$.ctx[5];
|
|
12607
12701
|
}
|
|
12608
12702
|
|
|
12609
12703
|
set currency(currency) {
|
|
12610
12704
|
this.$set({ currency });
|
|
12611
12705
|
flush();
|
|
12612
12706
|
}
|
|
12707
|
+
|
|
12708
|
+
get tablelimit() {
|
|
12709
|
+
return this.$$.ctx[16];
|
|
12710
|
+
}
|
|
12711
|
+
|
|
12712
|
+
set tablelimit(tablelimit) {
|
|
12713
|
+
this.$set({ tablelimit });
|
|
12714
|
+
flush();
|
|
12715
|
+
}
|
|
12613
12716
|
}
|
|
12614
12717
|
|
|
12615
12718
|
!customElements.get('casino-tournaments-page-controller') && customElements.define('casino-tournaments-page-controller', CasinoTournamentsPageController);
|