@everymatrix/casino-tournaments-page-controller 0.0.121 → 0.0.122
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.
|
@@ -5156,19 +5156,21 @@
|
|
|
5156
5156
|
here: 'here',
|
|
5157
5157
|
scheduled: 'Scheduled',
|
|
5158
5158
|
ongoing: 'OnGoing',
|
|
5159
|
-
finished: 'Finished'
|
|
5159
|
+
finished: 'Finished',
|
|
5160
|
+
startingAt: 'Starting at',
|
|
5160
5161
|
}
|
|
5161
5162
|
},
|
|
5162
5163
|
tr: {
|
|
5163
5164
|
tournamentsThumbnail: {
|
|
5164
5165
|
enrolled: 'Kayıtlı',
|
|
5165
5166
|
scoreCriteria: 'Skor kriteri',
|
|
5166
|
-
minbet: 'en düşük bahis
|
|
5167
|
-
seegames: '
|
|
5168
|
-
here: '
|
|
5169
|
-
scheduled: '
|
|
5170
|
-
ongoing: '
|
|
5171
|
-
finished: '
|
|
5167
|
+
minbet: 'en düşük bahis sayısı',
|
|
5168
|
+
seegames: 'Turnuvadaki oyunları görmek için',
|
|
5169
|
+
here: 'tıklayın',
|
|
5170
|
+
scheduled: 'Devam eden',
|
|
5171
|
+
ongoing: 'Planlanmış',
|
|
5172
|
+
finished: 'Sona Ermiş',
|
|
5173
|
+
startingAt: 'BAŞLAMA SAATİ:',
|
|
5172
5174
|
}
|
|
5173
5175
|
},
|
|
5174
5176
|
};
|
|
@@ -5178,7 +5180,7 @@
|
|
|
5178
5180
|
const { Object: Object_1$5 } = globals;
|
|
5179
5181
|
const file$6 = "../casino-tournaments-thumbnail/src/CasinoTournamentsThumbnail.svelte";
|
|
5180
5182
|
|
|
5181
|
-
// (
|
|
5183
|
+
// (75:2) {#if status}
|
|
5182
5184
|
function create_if_block_6$3(ctx) {
|
|
5183
5185
|
let div;
|
|
5184
5186
|
let t;
|
|
@@ -5190,7 +5192,7 @@
|
|
|
5190
5192
|
div = element("div");
|
|
5191
5193
|
t = text(/*shownStatus*/ ctx[12]);
|
|
5192
5194
|
attr_dev(div, "class", "Status");
|
|
5193
|
-
add_location(div, file$6,
|
|
5195
|
+
add_location(div, file$6, 75, 4, 2365);
|
|
5194
5196
|
},
|
|
5195
5197
|
m: function mount(target, anchor) {
|
|
5196
5198
|
insert_dev(target, div, anchor);
|
|
@@ -5215,14 +5217,14 @@
|
|
|
5215
5217
|
block,
|
|
5216
5218
|
id: create_if_block_6$3.name,
|
|
5217
5219
|
type: "if",
|
|
5218
|
-
source: "(
|
|
5220
|
+
source: "(75:2) {#if status}",
|
|
5219
5221
|
ctx
|
|
5220
5222
|
});
|
|
5221
5223
|
|
|
5222
5224
|
return block;
|
|
5223
5225
|
}
|
|
5224
5226
|
|
|
5225
|
-
// (
|
|
5227
|
+
// (79:2) {#if showenrolled == 'true'}
|
|
5226
5228
|
function create_if_block_4$4(ctx) {
|
|
5227
5229
|
let if_block_anchor;
|
|
5228
5230
|
let if_block = /*userenrolled*/ ctx[5] && create_if_block_5$3(ctx);
|
|
@@ -5260,14 +5262,14 @@
|
|
|
5260
5262
|
block,
|
|
5261
5263
|
id: create_if_block_4$4.name,
|
|
5262
5264
|
type: "if",
|
|
5263
|
-
source: "(
|
|
5265
|
+
source: "(79:2) {#if showenrolled == 'true'}",
|
|
5264
5266
|
ctx
|
|
5265
5267
|
});
|
|
5266
5268
|
|
|
5267
5269
|
return block;
|
|
5268
5270
|
}
|
|
5269
5271
|
|
|
5270
|
-
// (
|
|
5272
|
+
// (80:4) {#if userenrolled}
|
|
5271
5273
|
function create_if_block_5$3(ctx) {
|
|
5272
5274
|
let div;
|
|
5273
5275
|
let t_value = /*$_*/ ctx[13]("tournamentsThumbnail.enrolled") + "";
|
|
@@ -5278,7 +5280,7 @@
|
|
|
5278
5280
|
div = element("div");
|
|
5279
5281
|
t = text(t_value);
|
|
5280
5282
|
attr_dev(div, "class", "Enrolled");
|
|
5281
|
-
add_location(div, file$6,
|
|
5283
|
+
add_location(div, file$6, 80, 6, 2490);
|
|
5282
5284
|
},
|
|
5283
5285
|
m: function mount(target, anchor) {
|
|
5284
5286
|
insert_dev(target, div, anchor);
|
|
@@ -5296,14 +5298,14 @@
|
|
|
5296
5298
|
block,
|
|
5297
5299
|
id: create_if_block_5$3.name,
|
|
5298
5300
|
type: "if",
|
|
5299
|
-
source: "(
|
|
5301
|
+
source: "(80:4) {#if userenrolled}",
|
|
5300
5302
|
ctx
|
|
5301
5303
|
});
|
|
5302
5304
|
|
|
5303
5305
|
return block;
|
|
5304
5306
|
}
|
|
5305
5307
|
|
|
5306
|
-
// (
|
|
5308
|
+
// (86:2) {:else}
|
|
5307
5309
|
function create_else_block$5(ctx) {
|
|
5308
5310
|
let div;
|
|
5309
5311
|
let div_class_value;
|
|
@@ -5319,7 +5321,7 @@
|
|
|
5319
5321
|
: ""));
|
|
5320
5322
|
|
|
5321
5323
|
set_style(div, "background", "url('https://i.stack.imgur.com/y9DpT.jpg') center no-repeat");
|
|
5322
|
-
add_location(div, file$6,
|
|
5324
|
+
add_location(div, file$6, 86, 4, 2764);
|
|
5323
5325
|
},
|
|
5324
5326
|
m: function mount(target, anchor) {
|
|
5325
5327
|
insert_dev(target, div, anchor);
|
|
@@ -5347,14 +5349,14 @@
|
|
|
5347
5349
|
block,
|
|
5348
5350
|
id: create_else_block$5.name,
|
|
5349
5351
|
type: "else",
|
|
5350
|
-
source: "(
|
|
5352
|
+
source: "(86:2) {:else}",
|
|
5351
5353
|
ctx
|
|
5352
5354
|
});
|
|
5353
5355
|
|
|
5354
5356
|
return block;
|
|
5355
5357
|
}
|
|
5356
5358
|
|
|
5357
|
-
// (
|
|
5359
|
+
// (84:2) {#if thumbnail}
|
|
5358
5360
|
function create_if_block_3$4(ctx) {
|
|
5359
5361
|
let div;
|
|
5360
5362
|
let div_class_value;
|
|
@@ -5370,7 +5372,7 @@
|
|
|
5370
5372
|
: ""));
|
|
5371
5373
|
|
|
5372
5374
|
set_style(div, "background", "url('" + /*thumbnail*/ ctx[4] + "')");
|
|
5373
|
-
add_location(div, file$6,
|
|
5375
|
+
add_location(div, file$6, 84, 4, 2596);
|
|
5374
5376
|
},
|
|
5375
5377
|
m: function mount(target, anchor) {
|
|
5376
5378
|
insert_dev(target, div, anchor);
|
|
@@ -5402,14 +5404,14 @@
|
|
|
5402
5404
|
block,
|
|
5403
5405
|
id: create_if_block_3$4.name,
|
|
5404
5406
|
type: "if",
|
|
5405
|
-
source: "(
|
|
5407
|
+
source: "(84:2) {#if thumbnail}",
|
|
5406
5408
|
ctx
|
|
5407
5409
|
});
|
|
5408
5410
|
|
|
5409
5411
|
return block;
|
|
5410
5412
|
}
|
|
5411
5413
|
|
|
5412
|
-
// (
|
|
5414
|
+
// (92:4) {#if startdate}
|
|
5413
5415
|
function create_if_block_2$4(ctx) {
|
|
5414
5416
|
let div;
|
|
5415
5417
|
let t;
|
|
@@ -5422,7 +5424,7 @@
|
|
|
5422
5424
|
div = element("div");
|
|
5423
5425
|
t = text(/*shownDate*/ ctx[10]);
|
|
5424
5426
|
attr_dev(div, "class", "Date");
|
|
5425
|
-
add_location(div, file$6,
|
|
5427
|
+
add_location(div, file$6, 92, 6, 3055);
|
|
5426
5428
|
},
|
|
5427
5429
|
m: function mount(target, anchor) {
|
|
5428
5430
|
insert_dev(target, div, anchor);
|
|
@@ -5448,18 +5450,18 @@
|
|
|
5448
5450
|
block,
|
|
5449
5451
|
id: create_if_block_2$4.name,
|
|
5450
5452
|
type: "if",
|
|
5451
|
-
source: "(
|
|
5453
|
+
source: "(92:4) {#if startdate}",
|
|
5452
5454
|
ctx
|
|
5453
5455
|
});
|
|
5454
5456
|
|
|
5455
5457
|
return block;
|
|
5456
5458
|
}
|
|
5457
5459
|
|
|
5458
|
-
// (
|
|
5460
|
+
// (96:4) {#if isLoggedIn}
|
|
5459
5461
|
function create_if_block$6(ctx) {
|
|
5460
5462
|
let div0;
|
|
5461
5463
|
let p0;
|
|
5462
|
-
let t0_value = /*$_*/ ctx[13]("tournamentsThumbnail.
|
|
5464
|
+
let t0_value = /*$_*/ ctx[13]("tournamentsThumbnail.scoreCriteria") + "";
|
|
5463
5465
|
let t0;
|
|
5464
5466
|
let t1;
|
|
5465
5467
|
let t2;
|
|
@@ -5493,15 +5495,15 @@
|
|
|
5493
5495
|
t6 = space();
|
|
5494
5496
|
a = element("a");
|
|
5495
5497
|
t7 = text(t7_value);
|
|
5496
|
-
add_location(p0, file$6,
|
|
5498
|
+
add_location(p0, file$6, 97, 8, 3192);
|
|
5497
5499
|
attr_dev(div0, "class", "ScoreCriteria");
|
|
5498
|
-
add_location(div0, file$6,
|
|
5500
|
+
add_location(div0, file$6, 96, 6, 3156);
|
|
5499
5501
|
attr_dev(a, "href", /*gameurl*/ ctx[9]);
|
|
5500
5502
|
attr_dev(a, "target", "_blank");
|
|
5501
|
-
add_location(a, file$6,
|
|
5502
|
-
add_location(p1, file$6,
|
|
5503
|
+
add_location(a, file$6, 106, 49, 3493);
|
|
5504
|
+
add_location(p1, file$6, 106, 8, 3452);
|
|
5503
5505
|
attr_dev(div1, "class", "Games");
|
|
5504
|
-
add_location(div1, file$6,
|
|
5506
|
+
add_location(div1, file$6, 105, 6, 3424);
|
|
5505
5507
|
},
|
|
5506
5508
|
m: function mount(target, anchor) {
|
|
5507
5509
|
insert_dev(target, div0, anchor);
|
|
@@ -5520,12 +5522,12 @@
|
|
|
5520
5522
|
append_dev(a, t7);
|
|
5521
5523
|
|
|
5522
5524
|
if (!mounted) {
|
|
5523
|
-
dispose = listen_dev(a, "click", /*click_handler*/ ctx[
|
|
5525
|
+
dispose = listen_dev(a, "click", /*click_handler*/ ctx[20], false, false, false);
|
|
5524
5526
|
mounted = true;
|
|
5525
5527
|
}
|
|
5526
5528
|
},
|
|
5527
5529
|
p: function update(ctx, dirty) {
|
|
5528
|
-
if (dirty & /*$_*/ 8192 && t0_value !== (t0_value = /*$_*/ ctx[13]("tournamentsThumbnail.
|
|
5530
|
+
if (dirty & /*$_*/ 8192 && t0_value !== (t0_value = /*$_*/ ctx[13]("tournamentsThumbnail.scoreCriteria") + "")) set_data_dev(t0, t0_value);
|
|
5529
5531
|
if (dirty & /*scorecriteria*/ 64) set_data_dev(t2, /*scorecriteria*/ ctx[6]);
|
|
5530
5532
|
|
|
5531
5533
|
if (/*scorecriteria*/ ctx[6] == "BetCount") {
|
|
@@ -5562,14 +5564,14 @@
|
|
|
5562
5564
|
block,
|
|
5563
5565
|
id: create_if_block$6.name,
|
|
5564
5566
|
type: "if",
|
|
5565
|
-
source: "(
|
|
5567
|
+
source: "(96:4) {#if isLoggedIn}",
|
|
5566
5568
|
ctx
|
|
5567
5569
|
});
|
|
5568
5570
|
|
|
5569
5571
|
return block;
|
|
5570
5572
|
}
|
|
5571
5573
|
|
|
5572
|
-
// (
|
|
5574
|
+
// (100:10) {#if scorecriteria == 'BetCount'}
|
|
5573
5575
|
function create_if_block_1$4(ctx) {
|
|
5574
5576
|
let t0;
|
|
5575
5577
|
let t1_value = /*$_*/ ctx[13]("tournamentsThumbnail.minbet") + "";
|
|
@@ -5610,7 +5612,7 @@
|
|
|
5610
5612
|
block,
|
|
5611
5613
|
id: create_if_block_1$4.name,
|
|
5612
5614
|
type: "if",
|
|
5613
|
-
source: "(
|
|
5615
|
+
source: "(100:10) {#if scorecriteria == 'BetCount'}",
|
|
5614
5616
|
ctx
|
|
5615
5617
|
});
|
|
5616
5618
|
|
|
@@ -5658,11 +5660,11 @@
|
|
|
5658
5660
|
if (if_block4) if_block4.c();
|
|
5659
5661
|
this.c = noop$1;
|
|
5660
5662
|
attr_dev(div0, "class", "Title");
|
|
5661
|
-
add_location(div0, file$6,
|
|
5663
|
+
add_location(div0, file$6, 90, 4, 2996);
|
|
5662
5664
|
attr_dev(div1, "class", "Details");
|
|
5663
|
-
add_location(div1, file$6,
|
|
5665
|
+
add_location(div1, file$6, 89, 2, 2970);
|
|
5664
5666
|
attr_dev(div2, "class", "Thumbnail");
|
|
5665
|
-
add_location(div2, file$6,
|
|
5667
|
+
add_location(div2, file$6, 73, 0, 2322);
|
|
5666
5668
|
},
|
|
5667
5669
|
l: function claim(nodes) {
|
|
5668
5670
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -5791,6 +5793,7 @@
|
|
|
5791
5793
|
let { minbetcount = "" } = $$props;
|
|
5792
5794
|
let { showenrolled = "false" } = $$props;
|
|
5793
5795
|
let { gameurl = "" } = $$props;
|
|
5796
|
+
let { lang = "en" } = $$props;
|
|
5794
5797
|
|
|
5795
5798
|
// Variables of topics for communication
|
|
5796
5799
|
let sessionTopic;
|
|
@@ -5812,18 +5815,18 @@
|
|
|
5812
5815
|
};
|
|
5813
5816
|
|
|
5814
5817
|
const formatDate = () => {
|
|
5815
|
-
const dateOptions = { month: "
|
|
5818
|
+
const dateOptions = { month: "long" };
|
|
5816
5819
|
let currentDate = new Date(startdate);
|
|
5817
|
-
let currentMonth = new Intl.DateTimeFormat(
|
|
5820
|
+
let currentMonth = new Intl.DateTimeFormat(lang, dateOptions).format(currentDate);
|
|
5818
5821
|
let currentDay = currentDate.getDate();
|
|
5819
5822
|
|
|
5820
|
-
let currentHour = currentDate.toLocaleString(
|
|
5823
|
+
let currentHour = currentDate.toLocaleString(lang, {
|
|
5821
5824
|
hour: "numeric",
|
|
5822
5825
|
minute: "numeric",
|
|
5823
|
-
hour12:
|
|
5826
|
+
hour12: false
|
|
5824
5827
|
});
|
|
5825
5828
|
|
|
5826
|
-
$$invalidate(10, shownDate = `${
|
|
5829
|
+
$$invalidate(10, shownDate = `${currentDay} ${currentMonth}, ` + $_("tournamentsThumbnail.startingAt") + ` ${currentHour}`);
|
|
5827
5830
|
};
|
|
5828
5831
|
|
|
5829
5832
|
const matchStatus = () => {
|
|
@@ -5873,7 +5876,8 @@
|
|
|
5873
5876
|
"scorecriteria",
|
|
5874
5877
|
"minbetcount",
|
|
5875
5878
|
"showenrolled",
|
|
5876
|
-
"gameurl"
|
|
5879
|
+
"gameurl",
|
|
5880
|
+
"lang"
|
|
5877
5881
|
];
|
|
5878
5882
|
|
|
5879
5883
|
Object_1$5.keys($$props).forEach(key => {
|
|
@@ -5895,6 +5899,7 @@
|
|
|
5895
5899
|
if ("minbetcount" in $$props) $$invalidate(7, minbetcount = $$props.minbetcount);
|
|
5896
5900
|
if ("showenrolled" in $$props) $$invalidate(8, showenrolled = $$props.showenrolled);
|
|
5897
5901
|
if ("gameurl" in $$props) $$invalidate(9, gameurl = $$props.gameurl);
|
|
5902
|
+
if ("lang" in $$props) $$invalidate(19, lang = $$props.lang);
|
|
5898
5903
|
};
|
|
5899
5904
|
|
|
5900
5905
|
$$self.$capture_state = () => ({
|
|
@@ -5914,6 +5919,7 @@
|
|
|
5914
5919
|
minbetcount,
|
|
5915
5920
|
showenrolled,
|
|
5916
5921
|
gameurl,
|
|
5922
|
+
lang,
|
|
5917
5923
|
sessionTopic,
|
|
5918
5924
|
shownDate,
|
|
5919
5925
|
isLoggedIn,
|
|
@@ -5941,6 +5947,7 @@
|
|
|
5941
5947
|
if ("minbetcount" in $$props) $$invalidate(7, minbetcount = $$props.minbetcount);
|
|
5942
5948
|
if ("showenrolled" in $$props) $$invalidate(8, showenrolled = $$props.showenrolled);
|
|
5943
5949
|
if ("gameurl" in $$props) $$invalidate(9, gameurl = $$props.gameurl);
|
|
5950
|
+
if ("lang" in $$props) $$invalidate(19, lang = $$props.lang);
|
|
5944
5951
|
if ("sessionTopic" in $$props) sessionTopic = $$props.sessionTopic;
|
|
5945
5952
|
if ("shownDate" in $$props) $$invalidate(10, shownDate = $$props.shownDate);
|
|
5946
5953
|
if ("isLoggedIn" in $$props) $$invalidate(11, isLoggedIn = $$props.isLoggedIn);
|
|
@@ -5979,6 +5986,7 @@
|
|
|
5979
5986
|
tournamentGamesClicked,
|
|
5980
5987
|
session,
|
|
5981
5988
|
userid,
|
|
5989
|
+
lang,
|
|
5982
5990
|
click_handler
|
|
5983
5991
|
];
|
|
5984
5992
|
}
|
|
@@ -6010,7 +6018,8 @@
|
|
|
6010
6018
|
scorecriteria: 6,
|
|
6011
6019
|
minbetcount: 7,
|
|
6012
6020
|
showenrolled: 8,
|
|
6013
|
-
gameurl: 9
|
|
6021
|
+
gameurl: 9,
|
|
6022
|
+
lang: 19
|
|
6014
6023
|
}
|
|
6015
6024
|
);
|
|
6016
6025
|
|
|
@@ -6039,7 +6048,8 @@
|
|
|
6039
6048
|
"scorecriteria",
|
|
6040
6049
|
"minbetcount",
|
|
6041
6050
|
"showenrolled",
|
|
6042
|
-
"gameurl"
|
|
6051
|
+
"gameurl",
|
|
6052
|
+
"lang"
|
|
6043
6053
|
];
|
|
6044
6054
|
}
|
|
6045
6055
|
|
|
@@ -6150,6 +6160,15 @@
|
|
|
6150
6160
|
this.$set({ gameurl });
|
|
6151
6161
|
flush();
|
|
6152
6162
|
}
|
|
6163
|
+
|
|
6164
|
+
get lang() {
|
|
6165
|
+
return this.$$.ctx[19];
|
|
6166
|
+
}
|
|
6167
|
+
|
|
6168
|
+
set lang(lang) {
|
|
6169
|
+
this.$set({ lang });
|
|
6170
|
+
flush();
|
|
6171
|
+
}
|
|
6153
6172
|
}
|
|
6154
6173
|
|
|
6155
6174
|
!customElements.get('casino-tournaments-thumbnail') && customElements.define('casino-tournaments-thumbnail', CasinoTournamentsThumbnail);
|
|
@@ -8155,9 +8174,10 @@
|
|
|
8155
8174
|
set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[20]);
|
|
8156
8175
|
set_custom_element_data(casino_tournaments_thumbnail, "showenrolled", /*showenrolled*/ ctx[5]);
|
|
8157
8176
|
set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[24]);
|
|
8177
|
+
set_custom_element_data(casino_tournaments_thumbnail, "lang", /*lang*/ ctx[8]);
|
|
8158
8178
|
add_location(casino_tournaments_thumbnail, file$2, 199, 4, 6071);
|
|
8159
8179
|
attr_dev(div0, "class", "TournamentButtons");
|
|
8160
|
-
add_location(div0, file$2,
|
|
8180
|
+
add_location(div0, file$2, 230, 4, 6910);
|
|
8161
8181
|
attr_dev(div1, "class", div1_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
|
|
8162
8182
|
add_location(div1, file$2, 198, 2, 5973);
|
|
8163
8183
|
},
|
|
@@ -8223,6 +8243,10 @@
|
|
|
8223
8243
|
set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[24]);
|
|
8224
8244
|
}
|
|
8225
8245
|
|
|
8246
|
+
if (dirty[0] & /*lang*/ 256) {
|
|
8247
|
+
set_custom_element_data(casino_tournaments_thumbnail, "lang", /*lang*/ ctx[8]);
|
|
8248
|
+
}
|
|
8249
|
+
|
|
8226
8250
|
if (/*isLoggedIn*/ ctx[9]) {
|
|
8227
8251
|
if (if_block0) {
|
|
8228
8252
|
if_block0.p(ctx, dirty);
|
|
@@ -8413,7 +8437,7 @@
|
|
|
8413
8437
|
return block;
|
|
8414
8438
|
}
|
|
8415
8439
|
|
|
8416
|
-
// (
|
|
8440
|
+
// (216:4) {#if isLoggedIn}
|
|
8417
8441
|
function create_if_block_10$1(ctx) {
|
|
8418
8442
|
let t;
|
|
8419
8443
|
let casino_tournaments_thumbnail_duration;
|
|
@@ -8428,7 +8452,7 @@
|
|
|
8428
8452
|
set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[15]);
|
|
8429
8453
|
set_custom_element_data(casino_tournaments_thumbnail_duration, "lang", /*lang*/ ctx[8]);
|
|
8430
8454
|
set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[16]);
|
|
8431
|
-
add_location(casino_tournaments_thumbnail_duration, file$2,
|
|
8455
|
+
add_location(casino_tournaments_thumbnail_duration, file$2, 223, 6, 6714);
|
|
8432
8456
|
},
|
|
8433
8457
|
m: function mount(target, anchor) {
|
|
8434
8458
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -8476,14 +8500,14 @@
|
|
|
8476
8500
|
block,
|
|
8477
8501
|
id: create_if_block_10$1.name,
|
|
8478
8502
|
type: "if",
|
|
8479
|
-
source: "(
|
|
8503
|
+
source: "(216:4) {#if isLoggedIn}",
|
|
8480
8504
|
ctx
|
|
8481
8505
|
});
|
|
8482
8506
|
|
|
8483
8507
|
return block;
|
|
8484
8508
|
}
|
|
8485
8509
|
|
|
8486
|
-
// (
|
|
8510
|
+
// (217:6) {#if tourid}
|
|
8487
8511
|
function create_if_block_11$1(ctx) {
|
|
8488
8512
|
let casino_tournaments_thumbnail_prizes;
|
|
8489
8513
|
let sendTournamentPrizes_action;
|
|
@@ -8494,7 +8518,7 @@
|
|
|
8494
8518
|
c: function create() {
|
|
8495
8519
|
casino_tournaments_thumbnail_prizes = element("casino-tournaments-thumbnail-prizes");
|
|
8496
8520
|
set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[18]);
|
|
8497
|
-
add_location(casino_tournaments_thumbnail_prizes, file$2,
|
|
8521
|
+
add_location(casino_tournaments_thumbnail_prizes, file$2, 217, 8, 6532);
|
|
8498
8522
|
},
|
|
8499
8523
|
m: function mount(target, anchor) {
|
|
8500
8524
|
insert_dev(target, casino_tournaments_thumbnail_prizes, anchor);
|
|
@@ -8522,14 +8546,14 @@
|
|
|
8522
8546
|
block,
|
|
8523
8547
|
id: create_if_block_11$1.name,
|
|
8524
8548
|
type: "if",
|
|
8525
|
-
source: "(
|
|
8549
|
+
source: "(217:6) {#if tourid}",
|
|
8526
8550
|
ctx
|
|
8527
8551
|
});
|
|
8528
8552
|
|
|
8529
8553
|
return block;
|
|
8530
8554
|
}
|
|
8531
8555
|
|
|
8532
|
-
// (
|
|
8556
|
+
// (257:10) {#if showdetails == 'true'}
|
|
8533
8557
|
function create_if_block_9$1(ctx) {
|
|
8534
8558
|
let button;
|
|
8535
8559
|
let t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "";
|
|
@@ -8542,7 +8566,7 @@
|
|
|
8542
8566
|
button = element("button");
|
|
8543
8567
|
t = text(t_value);
|
|
8544
8568
|
attr_dev(button, "class", "DetailsLargeButton");
|
|
8545
|
-
add_location(button, file$2,
|
|
8569
|
+
add_location(button, file$2, 257, 12, 8526);
|
|
8546
8570
|
},
|
|
8547
8571
|
m: function mount(target, anchor) {
|
|
8548
8572
|
insert_dev(target, button, anchor);
|
|
@@ -8567,14 +8591,14 @@
|
|
|
8567
8591
|
block,
|
|
8568
8592
|
id: create_if_block_9$1.name,
|
|
8569
8593
|
type: "if",
|
|
8570
|
-
source: "(
|
|
8594
|
+
source: "(257:10) {#if showdetails == 'true'}",
|
|
8571
8595
|
ctx
|
|
8572
8596
|
});
|
|
8573
8597
|
|
|
8574
8598
|
return block;
|
|
8575
8599
|
}
|
|
8576
8600
|
|
|
8577
|
-
// (
|
|
8601
|
+
// (236:8) {#if status != 'Closed' && status != 'Closing'}
|
|
8578
8602
|
function create_if_block_4$2(ctx) {
|
|
8579
8603
|
let t;
|
|
8580
8604
|
let if_block1_anchor;
|
|
@@ -8639,14 +8663,14 @@
|
|
|
8639
8663
|
block,
|
|
8640
8664
|
id: create_if_block_4$2.name,
|
|
8641
8665
|
type: "if",
|
|
8642
|
-
source: "(
|
|
8666
|
+
source: "(236:8) {#if status != 'Closed' && status != 'Closing'}",
|
|
8643
8667
|
ctx
|
|
8644
8668
|
});
|
|
8645
8669
|
|
|
8646
8670
|
return block;
|
|
8647
8671
|
}
|
|
8648
8672
|
|
|
8649
|
-
// (
|
|
8673
|
+
// (232:6) {#if !isLoggedIn}
|
|
8650
8674
|
function create_if_block_3$2(ctx) {
|
|
8651
8675
|
let button0;
|
|
8652
8676
|
let t0_value = /*$_*/ ctx[25]("tournamentsThController.login") + "";
|
|
@@ -8666,9 +8690,9 @@
|
|
|
8666
8690
|
button1 = element("button");
|
|
8667
8691
|
t2 = text(t2_value);
|
|
8668
8692
|
attr_dev(button0, "class", "LoginButton");
|
|
8669
|
-
add_location(button0, file$2,
|
|
8693
|
+
add_location(button0, file$2, 232, 8, 6974);
|
|
8670
8694
|
attr_dev(button1, "class", "RegisterButton");
|
|
8671
|
-
add_location(button1, file$2,
|
|
8695
|
+
add_location(button1, file$2, 233, 8, 7088);
|
|
8672
8696
|
},
|
|
8673
8697
|
m: function mount(target, anchor) {
|
|
8674
8698
|
insert_dev(target, button0, anchor);
|
|
@@ -8703,14 +8727,14 @@
|
|
|
8703
8727
|
block,
|
|
8704
8728
|
id: create_if_block_3$2.name,
|
|
8705
8729
|
type: "if",
|
|
8706
|
-
source: "(
|
|
8730
|
+
source: "(232:6) {#if !isLoggedIn}",
|
|
8707
8731
|
ctx
|
|
8708
8732
|
});
|
|
8709
8733
|
|
|
8710
8734
|
return block;
|
|
8711
8735
|
}
|
|
8712
8736
|
|
|
8713
|
-
// (
|
|
8737
|
+
// (237:10) {#if showdetails == 'true'}
|
|
8714
8738
|
function create_if_block_8$1(ctx) {
|
|
8715
8739
|
let button;
|
|
8716
8740
|
let t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "";
|
|
@@ -8723,7 +8747,7 @@
|
|
|
8723
8747
|
button = element("button");
|
|
8724
8748
|
t = text(t_value);
|
|
8725
8749
|
attr_dev(button, "class", "DetailsButton");
|
|
8726
|
-
add_location(button, file$2,
|
|
8750
|
+
add_location(button, file$2, 237, 12, 7323);
|
|
8727
8751
|
},
|
|
8728
8752
|
m: function mount(target, anchor) {
|
|
8729
8753
|
insert_dev(target, button, anchor);
|
|
@@ -8748,14 +8772,14 @@
|
|
|
8748
8772
|
block,
|
|
8749
8773
|
id: create_if_block_8$1.name,
|
|
8750
8774
|
type: "if",
|
|
8751
|
-
source: "(
|
|
8775
|
+
source: "(237:10) {#if showdetails == 'true'}",
|
|
8752
8776
|
ctx
|
|
8753
8777
|
});
|
|
8754
8778
|
|
|
8755
8779
|
return block;
|
|
8756
8780
|
}
|
|
8757
8781
|
|
|
8758
|
-
// (
|
|
8782
|
+
// (244:10) {:else}
|
|
8759
8783
|
function create_else_block_1$1(ctx) {
|
|
8760
8784
|
let button;
|
|
8761
8785
|
let button_class_value;
|
|
@@ -8776,7 +8800,7 @@
|
|
|
8776
8800
|
if_block.c();
|
|
8777
8801
|
attr_dev(button, "class", button_class_value = "JoinButton " + (/*fullsize*/ ctx[7] ? "JoinButtonFullSize" : ""));
|
|
8778
8802
|
button.disabled = /*errorJoin*/ ctx[12];
|
|
8779
|
-
add_location(button, file$2,
|
|
8803
|
+
add_location(button, file$2, 244, 12, 7686);
|
|
8780
8804
|
},
|
|
8781
8805
|
m: function mount(target, anchor) {
|
|
8782
8806
|
insert_dev(target, button, anchor);
|
|
@@ -8820,14 +8844,14 @@
|
|
|
8820
8844
|
block,
|
|
8821
8845
|
id: create_else_block_1$1.name,
|
|
8822
8846
|
type: "else",
|
|
8823
|
-
source: "(
|
|
8847
|
+
source: "(244:10) {:else}",
|
|
8824
8848
|
ctx
|
|
8825
8849
|
});
|
|
8826
8850
|
|
|
8827
8851
|
return block;
|
|
8828
8852
|
}
|
|
8829
8853
|
|
|
8830
|
-
// (
|
|
8854
|
+
// (240:10) {#if userenrolled == true}
|
|
8831
8855
|
function create_if_block_5$1(ctx) {
|
|
8832
8856
|
let if_block_anchor;
|
|
8833
8857
|
let if_block = /*showdetails*/ ctx[3] == "true" && create_if_block_6$1(ctx);
|
|
@@ -8865,14 +8889,14 @@
|
|
|
8865
8889
|
block,
|
|
8866
8890
|
id: create_if_block_5$1.name,
|
|
8867
8891
|
type: "if",
|
|
8868
|
-
source: "(
|
|
8892
|
+
source: "(240:10) {#if userenrolled == true}",
|
|
8869
8893
|
ctx
|
|
8870
8894
|
});
|
|
8871
8895
|
|
|
8872
8896
|
return block;
|
|
8873
8897
|
}
|
|
8874
8898
|
|
|
8875
|
-
// (
|
|
8899
|
+
// (250:14) {:else}
|
|
8876
8900
|
function create_else_block_2$1(ctx) {
|
|
8877
8901
|
let span;
|
|
8878
8902
|
let t0_value = /*$_*/ ctx[25]("tournamentsThController.join") + "";
|
|
@@ -8896,20 +8920,20 @@
|
|
|
8896
8920
|
t2 = text(".a{fill:#fff;}");
|
|
8897
8921
|
g = svg_element("g");
|
|
8898
8922
|
path = svg_element("path");
|
|
8899
|
-
add_location(span, file$2,
|
|
8900
|
-
add_location(style, file$2,
|
|
8901
|
-
add_location(defs, file$2,
|
|
8923
|
+
add_location(span, file$2, 250, 16, 8022);
|
|
8924
|
+
add_location(style, file$2, 251, 105, 8177);
|
|
8925
|
+
add_location(defs, file$2, 251, 99, 8171);
|
|
8902
8926
|
attr_dev(path, "class", "a");
|
|
8903
8927
|
attr_dev(path, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z");
|
|
8904
8928
|
attr_dev(path, "transform", "translate(26 26) rotate(180)");
|
|
8905
|
-
add_location(path, file$2,
|
|
8929
|
+
add_location(path, file$2, 251, 185, 8257);
|
|
8906
8930
|
attr_dev(g, "transform", "translate(26 26) rotate(180)");
|
|
8907
|
-
add_location(g, file$2,
|
|
8931
|
+
add_location(g, file$2, 251, 141, 8213);
|
|
8908
8932
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
8909
8933
|
attr_dev(svg, "width", "26");
|
|
8910
8934
|
attr_dev(svg, "height", "26");
|
|
8911
8935
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
8912
|
-
add_location(svg, file$2,
|
|
8936
|
+
add_location(svg, file$2, 251, 16, 8088);
|
|
8913
8937
|
},
|
|
8914
8938
|
m: function mount(target, anchor) {
|
|
8915
8939
|
insert_dev(target, span, anchor);
|
|
@@ -8936,14 +8960,14 @@
|
|
|
8936
8960
|
block,
|
|
8937
8961
|
id: create_else_block_2$1.name,
|
|
8938
8962
|
type: "else",
|
|
8939
|
-
source: "(
|
|
8963
|
+
source: "(250:14) {:else}",
|
|
8940
8964
|
ctx
|
|
8941
8965
|
});
|
|
8942
8966
|
|
|
8943
8967
|
return block;
|
|
8944
8968
|
}
|
|
8945
8969
|
|
|
8946
|
-
// (
|
|
8970
|
+
// (246:14) {#if joinButtonLoading == true}
|
|
8947
8971
|
function create_if_block_7$1(ctx) {
|
|
8948
8972
|
let svg;
|
|
8949
8973
|
let circle;
|
|
@@ -8955,9 +8979,9 @@
|
|
|
8955
8979
|
attr_dev(circle, "cx", "20");
|
|
8956
8980
|
attr_dev(circle, "cy", "20");
|
|
8957
8981
|
attr_dev(circle, "r", "18");
|
|
8958
|
-
add_location(circle, file$2,
|
|
8982
|
+
add_location(circle, file$2, 247, 18, 7920);
|
|
8959
8983
|
attr_dev(svg, "class", "spinner");
|
|
8960
|
-
add_location(svg, file$2,
|
|
8984
|
+
add_location(svg, file$2, 246, 16, 7880);
|
|
8961
8985
|
},
|
|
8962
8986
|
m: function mount(target, anchor) {
|
|
8963
8987
|
insert_dev(target, svg, anchor);
|
|
@@ -8973,14 +8997,14 @@
|
|
|
8973
8997
|
block,
|
|
8974
8998
|
id: create_if_block_7$1.name,
|
|
8975
8999
|
type: "if",
|
|
8976
|
-
source: "(
|
|
9000
|
+
source: "(246:14) {#if joinButtonLoading == true}",
|
|
8977
9001
|
ctx
|
|
8978
9002
|
});
|
|
8979
9003
|
|
|
8980
9004
|
return block;
|
|
8981
9005
|
}
|
|
8982
9006
|
|
|
8983
|
-
// (
|
|
9007
|
+
// (241:12) {#if showdetails == 'true'}
|
|
8984
9008
|
function create_if_block_6$1(ctx) {
|
|
8985
9009
|
let button;
|
|
8986
9010
|
let t_value = /*$_*/ ctx[25]("tournamentsThController.enrolled") + "";
|
|
@@ -8992,7 +9016,7 @@
|
|
|
8992
9016
|
t = text(t_value);
|
|
8993
9017
|
attr_dev(button, "class", "EnrolledButton");
|
|
8994
9018
|
button.disabled = true;
|
|
8995
|
-
add_location(button, file$2,
|
|
9019
|
+
add_location(button, file$2, 241, 14, 7548);
|
|
8996
9020
|
},
|
|
8997
9021
|
m: function mount(target, anchor) {
|
|
8998
9022
|
insert_dev(target, button, anchor);
|
|
@@ -9010,14 +9034,14 @@
|
|
|
9010
9034
|
block,
|
|
9011
9035
|
id: create_if_block_6$1.name,
|
|
9012
9036
|
type: "if",
|
|
9013
|
-
source: "(
|
|
9037
|
+
source: "(241:12) {#if showdetails == 'true'}",
|
|
9014
9038
|
ctx
|
|
9015
9039
|
});
|
|
9016
9040
|
|
|
9017
9041
|
return block;
|
|
9018
9042
|
}
|
|
9019
9043
|
|
|
9020
|
-
// (
|
|
9044
|
+
// (263:4) {#if errorJoin}
|
|
9021
9045
|
function create_if_block_2$2(ctx) {
|
|
9022
9046
|
let span;
|
|
9023
9047
|
let t0_value = /*$_*/ ctx[25]("tournamentsThController.joinerror") + "";
|
|
@@ -9032,7 +9056,7 @@
|
|
|
9032
9056
|
t1 = space();
|
|
9033
9057
|
t2 = text(/*errorJoinText*/ ctx[13]);
|
|
9034
9058
|
attr_dev(span, "class", "ErrorText");
|
|
9035
|
-
add_location(span, file$2,
|
|
9059
|
+
add_location(span, file$2, 263, 6, 8728);
|
|
9036
9060
|
},
|
|
9037
9061
|
m: function mount(target, anchor) {
|
|
9038
9062
|
insert_dev(target, span, anchor);
|
|
@@ -9053,14 +9077,14 @@
|
|
|
9053
9077
|
block,
|
|
9054
9078
|
id: create_if_block_2$2.name,
|
|
9055
9079
|
type: "if",
|
|
9056
|
-
source: "(
|
|
9080
|
+
source: "(263:4) {#if errorJoin}",
|
|
9057
9081
|
ctx
|
|
9058
9082
|
});
|
|
9059
9083
|
|
|
9060
9084
|
return block;
|
|
9061
9085
|
}
|
|
9062
9086
|
|
|
9063
|
-
// (
|
|
9087
|
+
// (266:4) {#if showslider == "true"}
|
|
9064
9088
|
function create_if_block_1$2(ctx) {
|
|
9065
9089
|
let casino_tournaments_thumbnail_games_slider;
|
|
9066
9090
|
|
|
@@ -9071,7 +9095,7 @@
|
|
|
9071
9095
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "lang", /*lang*/ ctx[8]);
|
|
9072
9096
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
|
|
9073
9097
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "130");
|
|
9074
|
-
add_location(casino_tournaments_thumbnail_games_slider, file$2,
|
|
9098
|
+
add_location(casino_tournaments_thumbnail_games_slider, file$2, 266, 6, 8864);
|
|
9075
9099
|
},
|
|
9076
9100
|
m: function mount(target, anchor) {
|
|
9077
9101
|
insert_dev(target, casino_tournaments_thumbnail_games_slider, anchor);
|
|
@@ -9094,7 +9118,7 @@
|
|
|
9094
9118
|
block,
|
|
9095
9119
|
id: create_if_block_1$2.name,
|
|
9096
9120
|
type: "if",
|
|
9097
|
-
source: "(
|
|
9121
|
+
source: "(266:4) {#if showslider == \\\"true\\\"}",
|
|
9098
9122
|
ctx
|
|
9099
9123
|
});
|
|
9100
9124
|
|