@everymatrix/casino-tournaments-page-controller 0.0.110 → 0.0.114
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.
|
@@ -7135,32 +7135,32 @@
|
|
|
7135
7135
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
7136
7136
|
attr_dev(path0, "stroke-width", "2");
|
|
7137
7137
|
attr_dev(path0, "d", "M15 19l-7-7 7-7");
|
|
7138
|
-
add_location(path0, file$3, 113, 8,
|
|
7138
|
+
add_location(path0, file$3, 113, 8, 3428);
|
|
7139
7139
|
attr_dev(svg0, "fill", "none");
|
|
7140
7140
|
attr_dev(svg0, "stroke", "currentColor");
|
|
7141
7141
|
attr_dev(svg0, "viewBox", "0 0 24 24");
|
|
7142
7142
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
7143
|
-
add_location(svg0, file$3, 112, 6,
|
|
7143
|
+
add_location(svg0, file$3, 112, 6, 3325);
|
|
7144
7144
|
attr_dev(div0, "class", "SliderNavButton");
|
|
7145
7145
|
toggle_class(div0, "disabled", /*atStart*/ ctx[5]);
|
|
7146
|
-
add_location(div0, file$3, 111, 4,
|
|
7146
|
+
add_location(div0, file$3, 111, 4, 3236);
|
|
7147
7147
|
attr_dev(div1, "class", "items");
|
|
7148
7148
|
set_style(div1, "transform", "translateX(" + /*offset*/ ctx[1] + "px)");
|
|
7149
|
-
add_location(div1, file$3, 117, 6,
|
|
7150
|
-
add_location(main, file$3, 116, 4,
|
|
7149
|
+
add_location(div1, file$3, 117, 6, 3567);
|
|
7150
|
+
add_location(main, file$3, 116, 4, 3554);
|
|
7151
7151
|
attr_dev(path1, "stroke-linecap", "round");
|
|
7152
7152
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
7153
7153
|
attr_dev(path1, "stroke-width", "2");
|
|
7154
7154
|
attr_dev(path1, "d", "M9 5l7 7-7 7");
|
|
7155
|
-
add_location(path1, file$3, 128, 8,
|
|
7155
|
+
add_location(path1, file$3, 128, 8, 4245);
|
|
7156
7156
|
attr_dev(svg1, "fill", "none");
|
|
7157
7157
|
attr_dev(svg1, "stroke", "currentColor");
|
|
7158
7158
|
attr_dev(svg1, "viewBox", "0 0 24 24");
|
|
7159
7159
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
7160
|
-
add_location(svg1, file$3, 127, 6,
|
|
7160
|
+
add_location(svg1, file$3, 127, 6, 4142);
|
|
7161
7161
|
attr_dev(div2, "class", "SliderNavButton");
|
|
7162
7162
|
toggle_class(div2, "disabled", /*atEnd*/ ctx[6]);
|
|
7163
|
-
add_location(div2, file$3, 126, 4,
|
|
7163
|
+
add_location(div2, file$3, 126, 4, 4056);
|
|
7164
7164
|
},
|
|
7165
7165
|
m: function mount(target, anchor) {
|
|
7166
7166
|
insert_dev(target, div0, anchor);
|
|
@@ -7284,15 +7284,15 @@
|
|
|
7284
7284
|
? "itemHover"
|
|
7285
7285
|
: ""));
|
|
7286
7286
|
|
|
7287
|
-
add_location(span, file$3, 120, 12,
|
|
7287
|
+
add_location(span, file$3, 120, 12, 3800);
|
|
7288
7288
|
if (img.src !== (img_src_value = /*game*/ ctx[34].thumbnail)) attr_dev(img, "src", img_src_value);
|
|
7289
7289
|
attr_dev(img, "width", "132px");
|
|
7290
7290
|
attr_dev(img, "height", "100px");
|
|
7291
7291
|
attr_dev(img, "alt", img_alt_value = /*game*/ ctx[34].name);
|
|
7292
7292
|
attr_dev(img, "title", img_title_value = /*game*/ ctx[34].name);
|
|
7293
|
-
add_location(img, file$3, 121, 12,
|
|
7293
|
+
add_location(img, file$3, 121, 12, 3903);
|
|
7294
7294
|
attr_dev(div, "class", "item");
|
|
7295
|
-
add_location(div, file$3, 119, 10,
|
|
7295
|
+
add_location(div, file$3, 119, 10, 3673);
|
|
7296
7296
|
},
|
|
7297
7297
|
m: function mount(target, anchor) {
|
|
7298
7298
|
insert_dev(target, div, anchor);
|
|
@@ -7361,7 +7361,7 @@
|
|
|
7361
7361
|
if (if_block) if_block.c();
|
|
7362
7362
|
this.c = noop$1;
|
|
7363
7363
|
attr_dev(div, "class", "TournamentsGamesSlider");
|
|
7364
|
-
add_location(div, file$3, 109, 0,
|
|
7364
|
+
add_location(div, file$3, 109, 0, 3162);
|
|
7365
7365
|
},
|
|
7366
7366
|
l: function claim(nodes) {
|
|
7367
7367
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -7491,7 +7491,7 @@
|
|
|
7491
7491
|
url.searchParams.append("expand", "games");
|
|
7492
7492
|
url.searchParams.append("pagination", `games(limit=${limit},offset=${offset})`);
|
|
7493
7493
|
url.searchParams.append("fields", "games(id,name,thumbnail)");
|
|
7494
|
-
|
|
7494
|
+
url.searchParams.append("language", lang);
|
|
7495
7495
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
7496
7496
|
let requestOptions = { method: "GET", headers: reqHeaders };
|
|
7497
7497
|
|
|
@@ -7781,11 +7781,11 @@
|
|
|
7781
7781
|
set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[19]);
|
|
7782
7782
|
set_custom_element_data(casino_tournaments_thumbnail, "showenrolled", /*showenrolled*/ ctx[5]);
|
|
7783
7783
|
set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[23]);
|
|
7784
|
-
add_location(casino_tournaments_thumbnail, file$2, 194, 4,
|
|
7784
|
+
add_location(casino_tournaments_thumbnail, file$2, 194, 4, 5807);
|
|
7785
7785
|
attr_dev(div0, "class", "TournamentButtons");
|
|
7786
|
-
add_location(div0, file$2, 223, 4,
|
|
7786
|
+
add_location(div0, file$2, 223, 4, 6618);
|
|
7787
7787
|
attr_dev(div1, "class", div1_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
|
|
7788
|
-
add_location(div1, file$2, 193, 2,
|
|
7788
|
+
add_location(div1, file$2, 193, 2, 5709);
|
|
7789
7789
|
},
|
|
7790
7790
|
m: function mount(target, anchor) {
|
|
7791
7791
|
insert_dev(target, div1, anchor);
|
|
@@ -7973,29 +7973,29 @@
|
|
|
7973
7973
|
t6 = space();
|
|
7974
7974
|
div7 = element("div");
|
|
7975
7975
|
attr_dev(div0, "class", "ph-picture");
|
|
7976
|
-
add_location(div0, file$2, 179, 10,
|
|
7976
|
+
add_location(div0, file$2, 179, 10, 5271);
|
|
7977
7977
|
attr_dev(div1, "class", "ph-col-6 big");
|
|
7978
|
-
add_location(div1, file$2, 181, 12,
|
|
7978
|
+
add_location(div1, file$2, 181, 12, 5345);
|
|
7979
7979
|
attr_dev(div2, "class", "ph-col-4 empty big");
|
|
7980
|
-
add_location(div2, file$2, 182, 12,
|
|
7980
|
+
add_location(div2, file$2, 182, 12, 5390);
|
|
7981
7981
|
attr_dev(div3, "class", "ph-col-4");
|
|
7982
|
-
add_location(div3, file$2, 183, 12,
|
|
7982
|
+
add_location(div3, file$2, 183, 12, 5441);
|
|
7983
7983
|
attr_dev(div4, "class", "ph-col-8 empty");
|
|
7984
|
-
add_location(div4, file$2, 184, 12,
|
|
7984
|
+
add_location(div4, file$2, 184, 12, 5482);
|
|
7985
7985
|
attr_dev(div5, "class", "ph-col-6");
|
|
7986
|
-
add_location(div5, file$2, 185, 12,
|
|
7986
|
+
add_location(div5, file$2, 185, 12, 5529);
|
|
7987
7987
|
attr_dev(div6, "class", "ph-col-6 empty");
|
|
7988
|
-
add_location(div6, file$2, 186, 12,
|
|
7988
|
+
add_location(div6, file$2, 186, 12, 5570);
|
|
7989
7989
|
attr_dev(div7, "class", "ph-col-12");
|
|
7990
|
-
add_location(div7, file$2, 187, 12,
|
|
7990
|
+
add_location(div7, file$2, 187, 12, 5617);
|
|
7991
7991
|
attr_dev(div8, "class", "ph-row");
|
|
7992
|
-
add_location(div8, file$2, 180, 10,
|
|
7992
|
+
add_location(div8, file$2, 180, 10, 5312);
|
|
7993
7993
|
attr_dev(div9, "class", "ph-col-12");
|
|
7994
|
-
add_location(div9, file$2, 178, 8,
|
|
7994
|
+
add_location(div9, file$2, 178, 8, 5237);
|
|
7995
7995
|
attr_dev(div10, "class", "ph-item");
|
|
7996
|
-
add_location(div10, file$2, 177, 6,
|
|
7996
|
+
add_location(div10, file$2, 177, 6, 5207);
|
|
7997
7997
|
attr_dev(div11, "class", div11_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
|
|
7998
|
-
add_location(div11, file$2, 176, 2,
|
|
7998
|
+
add_location(div11, file$2, 176, 2, 5107);
|
|
7999
7999
|
},
|
|
8000
8000
|
m: function mount(target, anchor) {
|
|
8001
8001
|
insert_dev(target, div11, anchor);
|
|
@@ -8053,7 +8053,7 @@
|
|
|
8053
8053
|
set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[16]);
|
|
8054
8054
|
set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[14]);
|
|
8055
8055
|
set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[15]);
|
|
8056
|
-
add_location(casino_tournaments_thumbnail_duration, file$2, 217, 6,
|
|
8056
|
+
add_location(casino_tournaments_thumbnail_duration, file$2, 217, 6, 6437);
|
|
8057
8057
|
},
|
|
8058
8058
|
m: function mount(target, anchor) {
|
|
8059
8059
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -8115,7 +8115,7 @@
|
|
|
8115
8115
|
c: function create() {
|
|
8116
8116
|
casino_tournaments_thumbnail_prizes = element("casino-tournaments-thumbnail-prizes");
|
|
8117
8117
|
set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[17]);
|
|
8118
|
-
add_location(casino_tournaments_thumbnail_prizes, file$2, 211, 8,
|
|
8118
|
+
add_location(casino_tournaments_thumbnail_prizes, file$2, 211, 8, 6255);
|
|
8119
8119
|
},
|
|
8120
8120
|
m: function mount(target, anchor) {
|
|
8121
8121
|
insert_dev(target, casino_tournaments_thumbnail_prizes, anchor);
|
|
@@ -8161,7 +8161,7 @@
|
|
|
8161
8161
|
button = element("button");
|
|
8162
8162
|
button.textContent = "Details";
|
|
8163
8163
|
attr_dev(button, "class", "DetailsLargeButton");
|
|
8164
|
-
add_location(button, file$2, 250, 12,
|
|
8164
|
+
add_location(button, file$2, 250, 12, 8075);
|
|
8165
8165
|
},
|
|
8166
8166
|
m: function mount(target, anchor) {
|
|
8167
8167
|
insert_dev(target, button, anchor);
|
|
@@ -8278,9 +8278,9 @@
|
|
|
8278
8278
|
button1 = element("button");
|
|
8279
8279
|
button1.textContent = "Register";
|
|
8280
8280
|
attr_dev(button0, "class", "LoginButton");
|
|
8281
|
-
add_location(button0, file$2, 225, 8,
|
|
8281
|
+
add_location(button0, file$2, 225, 8, 6682);
|
|
8282
8282
|
attr_dev(button1, "class", "RegisterButton");
|
|
8283
|
-
add_location(button1, file$2, 226, 8,
|
|
8283
|
+
add_location(button1, file$2, 226, 8, 6765);
|
|
8284
8284
|
},
|
|
8285
8285
|
m: function mount(target, anchor) {
|
|
8286
8286
|
insert_dev(target, button0, anchor);
|
|
@@ -8328,7 +8328,7 @@
|
|
|
8328
8328
|
button = element("button");
|
|
8329
8329
|
button.textContent = "Details";
|
|
8330
8330
|
attr_dev(button, "class", "DetailsButton");
|
|
8331
|
-
add_location(button, file$2, 230, 12,
|
|
8331
|
+
add_location(button, file$2, 230, 12, 6968);
|
|
8332
8332
|
},
|
|
8333
8333
|
m: function mount(target, anchor) {
|
|
8334
8334
|
insert_dev(target, button, anchor);
|
|
@@ -8378,7 +8378,7 @@
|
|
|
8378
8378
|
if_block.c();
|
|
8379
8379
|
attr_dev(button, "class", button_class_value = "JoinButton " + (/*fullsize*/ ctx[7] ? "JoinButtonFullSize" : ""));
|
|
8380
8380
|
button.disabled = /*errorJoin*/ ctx[11];
|
|
8381
|
-
add_location(button, file$2, 237, 12,
|
|
8381
|
+
add_location(button, file$2, 237, 12, 7267);
|
|
8382
8382
|
},
|
|
8383
8383
|
m: function mount(target, anchor) {
|
|
8384
8384
|
insert_dev(target, button, anchor);
|
|
@@ -8492,20 +8492,20 @@
|
|
|
8492
8492
|
t2 = text(".a{fill:#fff;}");
|
|
8493
8493
|
g = svg_element("g");
|
|
8494
8494
|
path = svg_element("path");
|
|
8495
|
-
add_location(span, file$2, 243, 16,
|
|
8496
|
-
add_location(style, file$2, 244, 105,
|
|
8497
|
-
add_location(defs, file$2, 244, 99,
|
|
8495
|
+
add_location(span, file$2, 243, 16, 7603);
|
|
8496
|
+
add_location(style, file$2, 244, 105, 7726);
|
|
8497
|
+
add_location(defs, file$2, 244, 99, 7720);
|
|
8498
8498
|
attr_dev(path, "class", "a");
|
|
8499
8499
|
attr_dev(path, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z");
|
|
8500
8500
|
attr_dev(path, "transform", "translate(26 26) rotate(180)");
|
|
8501
|
-
add_location(path, file$2, 244, 185,
|
|
8501
|
+
add_location(path, file$2, 244, 185, 7806);
|
|
8502
8502
|
attr_dev(g, "transform", "translate(26 26) rotate(180)");
|
|
8503
|
-
add_location(g, file$2, 244, 141,
|
|
8503
|
+
add_location(g, file$2, 244, 141, 7762);
|
|
8504
8504
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
8505
8505
|
attr_dev(svg, "width", "26");
|
|
8506
8506
|
attr_dev(svg, "height", "26");
|
|
8507
8507
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
8508
|
-
add_location(svg, file$2, 244, 16,
|
|
8508
|
+
add_location(svg, file$2, 244, 16, 7637);
|
|
8509
8509
|
},
|
|
8510
8510
|
m: function mount(target, anchor) {
|
|
8511
8511
|
insert_dev(target, span, anchor);
|
|
@@ -8547,9 +8547,9 @@
|
|
|
8547
8547
|
attr_dev(circle, "cx", "20");
|
|
8548
8548
|
attr_dev(circle, "cy", "20");
|
|
8549
8549
|
attr_dev(circle, "r", "18");
|
|
8550
|
-
add_location(circle, file$2, 240, 18,
|
|
8550
|
+
add_location(circle, file$2, 240, 18, 7501);
|
|
8551
8551
|
attr_dev(svg, "class", "spinner");
|
|
8552
|
-
add_location(svg, file$2, 239, 16,
|
|
8552
|
+
add_location(svg, file$2, 239, 16, 7461);
|
|
8553
8553
|
},
|
|
8554
8554
|
m: function mount(target, anchor) {
|
|
8555
8555
|
insert_dev(target, svg, anchor);
|
|
@@ -8581,7 +8581,7 @@
|
|
|
8581
8581
|
button.textContent = "Enrolled";
|
|
8582
8582
|
attr_dev(button, "class", "EnrolledButton");
|
|
8583
8583
|
button.disabled = true;
|
|
8584
|
-
add_location(button, file$2, 234, 14,
|
|
8584
|
+
add_location(button, file$2, 234, 14, 7161);
|
|
8585
8585
|
},
|
|
8586
8586
|
m: function mount(target, anchor) {
|
|
8587
8587
|
insert_dev(target, button, anchor);
|
|
@@ -8614,7 +8614,7 @@
|
|
|
8614
8614
|
t0 = text("There was an error joining the tournament - ");
|
|
8615
8615
|
t1 = text(/*errorJoinText*/ ctx[12]);
|
|
8616
8616
|
attr_dev(span, "class", "ErrorText");
|
|
8617
|
-
add_location(span, file$2, 256, 6,
|
|
8617
|
+
add_location(span, file$2, 256, 6, 8245);
|
|
8618
8618
|
},
|
|
8619
8619
|
m: function mount(target, anchor) {
|
|
8620
8620
|
insert_dev(target, span, anchor);
|
|
@@ -8650,7 +8650,7 @@
|
|
|
8650
8650
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
|
|
8651
8651
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
|
|
8652
8652
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "130");
|
|
8653
|
-
add_location(casino_tournaments_thumbnail_games_slider, file$2, 259, 6,
|
|
8653
|
+
add_location(casino_tournaments_thumbnail_games_slider, file$2, 259, 6, 8383);
|
|
8654
8654
|
},
|
|
8655
8655
|
m: function mount(target, anchor) {
|
|
8656
8656
|
insert_dev(target, casino_tournaments_thumbnail_games_slider, anchor);
|
|
@@ -8828,14 +8828,14 @@
|
|
|
8828
8828
|
let joinUrl = new URL(`${endpoint}/bonus/claim`);
|
|
8829
8829
|
let reqHeaders = new Headers();
|
|
8830
8830
|
let body = {};
|
|
8831
|
-
|
|
8831
|
+
joinUrl.searchParams.append("language", lang);
|
|
8832
8832
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
8833
8833
|
reqHeaders.append("Content-Type", "application/json");
|
|
8834
8834
|
reqHeaders.append("X-SessionID", sessionID);
|
|
8835
8835
|
|
|
8836
8836
|
if (wallet && wallet.length >= 1) {
|
|
8837
8837
|
body = {
|
|
8838
|
-
language:
|
|
8838
|
+
language: lang,
|
|
8839
8839
|
bonusCode: wallet[0].code,
|
|
8840
8840
|
currency
|
|
8841
8841
|
};
|
|
@@ -8896,7 +8896,7 @@
|
|
|
8896
8896
|
$$invalidate(9, isLoading = true);
|
|
8897
8897
|
let tournamentUrl = new URL(url);
|
|
8898
8898
|
let reqHeaders = new Headers();
|
|
8899
|
-
|
|
8899
|
+
tournamentUrl.searchParams.append("language", lang);
|
|
8900
8900
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
8901
8901
|
|
|
8902
8902
|
if (isLoggedIn) {
|
|
@@ -11321,35 +11321,35 @@
|
|
|
11321
11321
|
attr_dev(path, "stroke-linejoin", "round");
|
|
11322
11322
|
attr_dev(path, "stroke-width", "2");
|
|
11323
11323
|
attr_dev(path, "d", "M15 19l-7-7 7-7");
|
|
11324
|
-
add_location(path, file, 162, 10,
|
|
11324
|
+
add_location(path, file, 162, 10, 5430);
|
|
11325
11325
|
attr_dev(svg, "fill", "none");
|
|
11326
11326
|
attr_dev(svg, "stroke", "currentColor");
|
|
11327
11327
|
attr_dev(svg, "width", "24");
|
|
11328
11328
|
attr_dev(svg, "height", "24");
|
|
11329
11329
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11330
11330
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11331
|
-
add_location(svg, file, 161, 8,
|
|
11332
|
-
add_location(p, file, 164, 8,
|
|
11331
|
+
add_location(svg, file, 161, 8, 5302);
|
|
11332
|
+
add_location(p, file, 164, 8, 5551);
|
|
11333
11333
|
attr_dev(div0, "class", "BackButton");
|
|
11334
|
-
add_location(div0, file, 160, 6,
|
|
11334
|
+
add_location(div0, file, 160, 6, 5243);
|
|
11335
11335
|
attr_dev(div1, "class", "TopButtons");
|
|
11336
|
-
add_location(div1, file, 159, 4,
|
|
11336
|
+
add_location(div1, file, 159, 4, 5212);
|
|
11337
11337
|
|
|
11338
11338
|
attr_dev(div2, "class", div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[9]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
|
|
11339
11339
|
? "TournamentCardDetails"
|
|
11340
11340
|
: "FullSize")));
|
|
11341
11341
|
|
|
11342
|
-
add_location(div2, file, 183, 6,
|
|
11342
|
+
add_location(div2, file, 183, 6, 6359);
|
|
11343
11343
|
|
|
11344
11344
|
attr_dev(div3, "class", div3_class_value = /*showleaderboard*/ ctx[0] == "true"
|
|
11345
11345
|
? "TournamentTableDetails "
|
|
11346
11346
|
: "DisplayNone");
|
|
11347
11347
|
|
|
11348
|
-
add_location(div3, file, 205, 6,
|
|
11348
|
+
add_location(div3, file, 205, 6, 7205);
|
|
11349
11349
|
attr_dev(div4, "class", "TournamentContentDetails " + (isMobile(/*userAgent*/ ctx[9]) ? "MobileClass" : ""));
|
|
11350
|
-
add_location(div4, file, 182, 4,
|
|
11350
|
+
add_location(div4, file, 182, 4, 6271);
|
|
11351
11351
|
attr_dev(div5, "class", "TournamentsPage");
|
|
11352
|
-
add_location(div5, file, 157, 2,
|
|
11352
|
+
add_location(div5, file, 157, 2, 5177);
|
|
11353
11353
|
},
|
|
11354
11354
|
m: function mount(target, anchor) {
|
|
11355
11355
|
insert_dev(target, div5, anchor);
|
|
@@ -11455,7 +11455,7 @@
|
|
|
11455
11455
|
c: function create() {
|
|
11456
11456
|
p = element("p");
|
|
11457
11457
|
p.textContent = "Loading, please wait ...";
|
|
11458
|
-
add_location(p, file, 155, 2,
|
|
11458
|
+
add_location(p, file, 155, 2, 5135);
|
|
11459
11459
|
},
|
|
11460
11460
|
m: function mount(target, anchor) {
|
|
11461
11461
|
insert_dev(target, p, anchor);
|
|
@@ -11495,7 +11495,7 @@
|
|
|
11495
11495
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "showenrolled", "true");
|
|
11496
11496
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value = !!/*showleaderboard*/ ctx[0]);
|
|
11497
11497
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "currency", /*currency*/ ctx[4]);
|
|
11498
|
-
add_location(casino_tournaments_thumbnail_controller, file, 185, 10,
|
|
11498
|
+
add_location(casino_tournaments_thumbnail_controller, file, 185, 10, 6524);
|
|
11499
11499
|
},
|
|
11500
11500
|
m: function mount(target, anchor) {
|
|
11501
11501
|
insert_dev(target, casino_tournaments_thumbnail_controller, anchor);
|
|
@@ -11620,7 +11620,7 @@
|
|
|
11620
11620
|
casino_tournaments_details = element("casino-tournaments-details");
|
|
11621
11621
|
set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value = /*desc*/ ctx[31].title);
|
|
11622
11622
|
set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value = /*desc*/ ctx[31].description);
|
|
11623
|
-
add_location(casino_tournaments_details, file, 199, 12,
|
|
11623
|
+
add_location(casino_tournaments_details, file, 199, 12, 7039);
|
|
11624
11624
|
},
|
|
11625
11625
|
m: function mount(target, anchor) {
|
|
11626
11626
|
insert_dev(target, casino_tournaments_details, anchor);
|
|
@@ -11702,7 +11702,7 @@
|
|
|
11702
11702
|
casino_tournaments_table = element("casino-tournaments-table");
|
|
11703
11703
|
set_custom_element_data(casino_tournaments_table, "firstrow", "true");
|
|
11704
11704
|
set_custom_element_data(casino_tournaments_table, "sortable", "false");
|
|
11705
|
-
add_location(casino_tournaments_table, file, 208, 12,
|
|
11705
|
+
add_location(casino_tournaments_table, file, 208, 12, 7377);
|
|
11706
11706
|
},
|
|
11707
11707
|
m: function mount(target, anchor) {
|
|
11708
11708
|
insert_dev(target, casino_tournaments_table, anchor);
|
|
@@ -11843,7 +11843,7 @@
|
|
|
11843
11843
|
let url = new URL(endpointURL + `/tournaments/${tourID}`);
|
|
11844
11844
|
let reqHeaders = new Headers();
|
|
11845
11845
|
url.searchParams.append("expand", "games");
|
|
11846
|
-
|
|
11846
|
+
url.searchParams.append("language", lang);
|
|
11847
11847
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
11848
11848
|
let requestOptions = { method: "GET", headers: reqHeaders };
|
|
11849
11849
|
|
|
@@ -11859,7 +11859,7 @@
|
|
|
11859
11859
|
const getTableData = (endpointURL, tourID) => {
|
|
11860
11860
|
let url = new URL(endpointURL + `/tournaments/${tourID}/leaderboard`);
|
|
11861
11861
|
let reqHeaders = new Headers();
|
|
11862
|
-
|
|
11862
|
+
url.searchParams.append("language", lang);
|
|
11863
11863
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
11864
11864
|
let requestOptions = { method: "GET", headers: reqHeaders };
|
|
11865
11865
|
|