@everymatrix/casino-tournaments-limited-controller 1.39.0 → 1.39.1
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.
@@ -6750,7 +6750,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
6750
6750
|
}
|
6751
6751
|
};
|
6752
6752
|
|
6753
|
-
const TRANSLATIONS
|
6753
|
+
const TRANSLATIONS = {
|
6754
6754
|
"en": {
|
6755
6755
|
"tournamentsLimitedController": {
|
6756
6756
|
"500": "500 - Internal server error",
|
@@ -6932,8 +6932,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
6932
6932
|
|
6933
6933
|
setupI18n({ withLocale: 'en', translations: {}});
|
6934
6934
|
|
6935
|
-
Object.keys(TRANSLATIONS
|
6936
|
-
addNewMessages(item, TRANSLATIONS
|
6935
|
+
Object.keys(TRANSLATIONS).forEach((item) => {
|
6936
|
+
addNewMessages(item, TRANSLATIONS[item]);
|
6937
6937
|
});
|
6938
6938
|
};
|
6939
6939
|
|
@@ -8554,190 +8554,31 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8554
8554
|
|
8555
8555
|
!customElements.get('casino-tournaments-tab') && customElements.define('casino-tournaments-tab', CasinoTournamentsTab);
|
8556
8556
|
|
8557
|
-
const TRANSLATIONS = {
|
8558
|
-
"en": {
|
8559
|
-
"tournamentsLimitedController": {
|
8560
|
-
"500": "500 - Internal server error",
|
8561
|
-
"Scheduled": "Upcoming",
|
8562
|
-
"Ongoing": "Running",
|
8563
|
-
"Finished": "Closed",
|
8564
|
-
"last": "last",
|
8565
|
-
"loading": "Loading, please wait ...",
|
8566
|
-
"noTournaments": "No tournaments found",
|
8567
|
-
"nothing": "Nothing to show here.",
|
8568
|
-
"name": "Name",
|
8569
|
-
"rank": "Rank",
|
8570
|
-
"enddate": "End Date",
|
8571
|
-
"prize": "Prize",
|
8572
|
-
"myTournaments": "My Tournaments"
|
8573
|
-
}
|
8574
|
-
},
|
8575
|
-
"hr": {
|
8576
|
-
"tournamentsLimitedController": {
|
8577
|
-
"500": "500 - Interna pogreška poslužitelja",
|
8578
|
-
"Scheduled": "Planirano",
|
8579
|
-
"Ongoing": "U tijeku",
|
8580
|
-
"Finished": "Završeno",
|
8581
|
-
"last": "zadnje",
|
8582
|
-
"loading": "Učitavanje, molimo pričekajte ...",
|
8583
|
-
"noTournaments": "Nema pronađenih turnira",
|
8584
|
-
"nothing": "Nema ničega za prikazati ovdje.",
|
8585
|
-
"name": "Ime",
|
8586
|
-
"rank": "Poredak",
|
8587
|
-
"enddate": "Datum završetka",
|
8588
|
-
"prize": "Nagrada",
|
8589
|
-
"myTournaments": "Moji turniri"
|
8590
|
-
}
|
8591
|
-
},
|
8592
|
-
"zh-hk": {
|
8593
|
-
"tournamentsLimitedController": {
|
8594
|
-
"500": "500内部服务器错误",
|
8595
|
-
"Scheduled": "即将到来",
|
8596
|
-
"Ongoing": "跑步",
|
8597
|
-
"Finished": "关闭",
|
8598
|
-
"last": "最后的",
|
8599
|
-
"loading": "加载请稍候 ...",
|
8600
|
-
"noTournaments": "没有找到比赛",
|
8601
|
-
"nothing": "这里没有什么可显示的。",
|
8602
|
-
"name": "姓名",
|
8603
|
-
"rank": "秩",
|
8604
|
-
"enddate": "结束日期",
|
8605
|
-
"prize": "奖",
|
8606
|
-
"myTournaments": "我的锦标赛"
|
8607
|
-
}
|
8608
|
-
},
|
8609
|
-
"fr": {
|
8610
|
-
"tournamentsLimitedController": {
|
8611
|
-
"500": "500 - Erreur interne du serveur",
|
8612
|
-
"Scheduled": "A venir",
|
8613
|
-
"Ongoing": "Fonctionnement",
|
8614
|
-
"Finished": "Fermé",
|
8615
|
-
"last": "dernière",
|
8616
|
-
"loading": "Chargement, veuillez patienter ...",
|
8617
|
-
"noTournaments": "Aucun tournoi trouvé",
|
8618
|
-
"nothing": "Rien à montrer ici.",
|
8619
|
-
"name": "Nom",
|
8620
|
-
"rank": "Rang",
|
8621
|
-
"enddate": "Date de fin",
|
8622
|
-
"prize": "Prix",
|
8623
|
-
"myTournaments": "Mes tournois"
|
8624
|
-
}
|
8625
|
-
},
|
8626
|
-
"ro": {
|
8627
|
-
"tournamentsLimitedController": {
|
8628
|
-
"500": "500 - Eroare internă de server",
|
8629
|
-
"Scheduled": "Urmează",
|
8630
|
-
"Ongoing": "Rulează",
|
8631
|
-
"Finished": "Închis",
|
8632
|
-
"last": "ultimul",
|
8633
|
-
"loading": "Se încarcă...",
|
8634
|
-
"noTournaments": "Niciun turneu",
|
8635
|
-
"nothing": "Niciun turneu disponibil aici",
|
8636
|
-
"name": "Nume",
|
8637
|
-
"rank": "Poziție",
|
8638
|
-
"enddate": "Data finalizării",
|
8639
|
-
"prize": "Premiu",
|
8640
|
-
"myTournaments": "Turneele Mele"
|
8641
|
-
}
|
8642
|
-
},
|
8643
|
-
"tr": {
|
8644
|
-
"tournamentsLimitedController": {
|
8645
|
-
"500": "500 - Dahili sunucu hatası",
|
8646
|
-
"Scheduled": "Yaklaşan",
|
8647
|
-
"Ongoing": "Devam eden",
|
8648
|
-
"Finished": "Kapalı",
|
8649
|
-
"last": "son",
|
8650
|
-
"loading": "Yükleniyor, lütfen bekleyin ...",
|
8651
|
-
"noTournaments": "Turnuva bulunamadı",
|
8652
|
-
"nothing": "Burada gösterilecek bir şey yok.",
|
8653
|
-
"prizes": "Ödüller",
|
8654
|
-
"name": "Ad",
|
8655
|
-
"rank": "Sıra",
|
8656
|
-
"enddate": "Bitiş Tarihi",
|
8657
|
-
"prize": "Ödül",
|
8658
|
-
"myTournaments": "Turnuvalarım"
|
8659
|
-
}
|
8660
|
-
},
|
8661
|
-
"el": {
|
8662
|
-
"tournamentsLimitedController": {
|
8663
|
-
"500": "500 - Σφάλμα Διακομιστή",
|
8664
|
-
"showMore": "Περισσότερα",
|
8665
|
-
"Scheduled": "Προγραμματισμένα",
|
8666
|
-
"Ongoing": "Τρέχοντα",
|
8667
|
-
"Finished": "Ολοκληρωμένα",
|
8668
|
-
"last": "τελευταίος",
|
8669
|
-
"loading": "Φορτώνει, παρακαλούμε περιμένετε ...",
|
8670
|
-
"noTournaments": "Δεν βρέθηκαν τουρνουά",
|
8671
|
-
"nothing": "Δεν υπάρχει τίποτα εδώ.",
|
8672
|
-
"prizes": "Έπαθλα",
|
8673
|
-
"name": "Ονομα",
|
8674
|
-
"rank": "Τάξη",
|
8675
|
-
"enddate": "Ημερομηνία λήξης",
|
8676
|
-
"prize": "Βραβείο",
|
8677
|
-
"myTournaments": "Τα τουρνουά μου"
|
8678
|
-
}
|
8679
|
-
},
|
8680
|
-
"es": {
|
8681
|
-
"tournamentsLimitedController": {
|
8682
|
-
"500": "500 - Error servidor interno",
|
8683
|
-
"Scheduled": "Próximamente",
|
8684
|
-
"Ongoing": "En vivo",
|
8685
|
-
"Finished": "Cerrado",
|
8686
|
-
"last": "último",
|
8687
|
-
"loading": "Cargando…",
|
8688
|
-
"noTournaments": "No se encontraron Torneos",
|
8689
|
-
"nothing": "Nada que mostrar aquí.",
|
8690
|
-
"name": "Nombre",
|
8691
|
-
"rank": "Ranking",
|
8692
|
-
"enddate": "Fecha fin",
|
8693
|
-
"prize": "Premio",
|
8694
|
-
"myTournaments": "Mis Torneos"
|
8695
|
-
}
|
8696
|
-
},
|
8697
|
-
"hu": {
|
8698
|
-
"tournamentsLimitedController": {
|
8699
|
-
"500": "500 - Belső szerver hiba",
|
8700
|
-
"Scheduled": "Közelgő",
|
8701
|
-
"Ongoing": "Jelenleg folyó",
|
8702
|
-
"Finished": "Lezárt",
|
8703
|
-
"last": "Legutóbbi",
|
8704
|
-
"loading": "Betöltés, kérjük várjon...",
|
8705
|
-
"noTournaments": "Verseny nem található",
|
8706
|
-
"nothing": "Nincs megjelenítendő adat.",
|
8707
|
-
"name": "Név",
|
8708
|
-
"rank": "rangsor",
|
8709
|
-
"enddate": "Befejezés dátuma",
|
8710
|
-
"prize": "Díj",
|
8711
|
-
"myTournaments": "Versenyeim"
|
8712
|
-
}
|
8713
|
-
}
|
8714
|
-
};
|
8715
|
-
|
8716
8557
|
/* src/CasinoTournamentsLimitedController.svelte generated by Svelte v3.59.2 */
|
8717
8558
|
|
8718
|
-
const { Object: Object_1 } = globals;
|
8559
|
+
const { Object: Object_1, console: console_1 } = globals;
|
8719
8560
|
const file = "src/CasinoTournamentsLimitedController.svelte";
|
8720
8561
|
|
8721
8562
|
function get_each_context(ctx, list, i) {
|
8722
8563
|
const child_ctx = ctx.slice();
|
8723
|
-
child_ctx[
|
8724
|
-
child_ctx[
|
8564
|
+
child_ctx[33] = list[i];
|
8565
|
+
child_ctx[35] = i;
|
8725
8566
|
return child_ctx;
|
8726
8567
|
}
|
8727
8568
|
|
8728
8569
|
function get_each_context_1(ctx, list, i) {
|
8729
8570
|
const child_ctx = ctx.slice();
|
8730
|
-
child_ctx[
|
8571
|
+
child_ctx[36] = list[i];
|
8731
8572
|
return child_ctx;
|
8732
8573
|
}
|
8733
8574
|
|
8734
8575
|
function get_each_context_2(ctx, list, i) {
|
8735
8576
|
const child_ctx = ctx.slice();
|
8736
|
-
child_ctx[
|
8577
|
+
child_ctx[33] = list[i];
|
8737
8578
|
return child_ctx;
|
8738
8579
|
}
|
8739
8580
|
|
8740
|
-
// (
|
8581
|
+
// (163:10) {#if href}
|
8741
8582
|
function create_if_block_3(ctx) {
|
8742
8583
|
let image;
|
8743
8584
|
|
@@ -8748,7 +8589,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8748
8589
|
attr_dev(image, "width", "512");
|
8749
8590
|
attr_dev(image, "height", "512");
|
8750
8591
|
xlink_attr(image, "xlink:href", /*href*/ ctx[7]);
|
8751
|
-
add_location(image, file,
|
8592
|
+
add_location(image, file, 163, 10, 6190);
|
8752
8593
|
},
|
8753
8594
|
m: function mount(target, anchor) {
|
8754
8595
|
insert_dev(target, image, anchor);
|
@@ -8763,14 +8604,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8763
8604
|
block,
|
8764
8605
|
id: create_if_block_3.name,
|
8765
8606
|
type: "if",
|
8766
|
-
source: "(
|
8607
|
+
source: "(163:10) {#if href}",
|
8767
8608
|
ctx
|
8768
8609
|
});
|
8769
8610
|
|
8770
8611
|
return block;
|
8771
8612
|
}
|
8772
8613
|
|
8773
|
-
// (
|
8614
|
+
// (190:2) {:else}
|
8774
8615
|
function create_else_block(ctx) {
|
8775
8616
|
let section;
|
8776
8617
|
let casino_tournaments_tab;
|
@@ -8792,8 +8633,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8792
8633
|
if_block.c();
|
8793
8634
|
set_custom_element_data(casino_tournaments_tab, "tabs", /*states*/ ctx[1]);
|
8794
8635
|
set_custom_element_data(casino_tournaments_tab, "tab", /*state*/ ctx[0]);
|
8795
|
-
add_location(casino_tournaments_tab, file,
|
8796
|
-
add_location(section, file,
|
8636
|
+
add_location(casino_tournaments_tab, file, 191, 6, 6805);
|
8637
|
+
add_location(section, file, 190, 4, 6789);
|
8797
8638
|
},
|
8798
8639
|
m: function mount(target, anchor) {
|
8799
8640
|
insert_dev(target, section, anchor);
|
@@ -8832,14 +8673,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8832
8673
|
block,
|
8833
8674
|
id: create_else_block.name,
|
8834
8675
|
type: "else",
|
8835
|
-
source: "(
|
8676
|
+
source: "(190:2) {:else}",
|
8836
8677
|
ctx
|
8837
8678
|
});
|
8838
8679
|
|
8839
8680
|
return block;
|
8840
8681
|
}
|
8841
8682
|
|
8842
|
-
// (
|
8683
|
+
// (186:2) {#if isLoading}
|
8843
8684
|
function create_if_block(ctx) {
|
8844
8685
|
let div;
|
8845
8686
|
let casino_tournaments_limited_controller_loader;
|
@@ -8848,9 +8689,9 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8848
8689
|
c: function create() {
|
8849
8690
|
div = element("div");
|
8850
8691
|
casino_tournaments_limited_controller_loader = element("casino-tournaments-limited-controller-loader");
|
8851
|
-
add_location(casino_tournaments_limited_controller_loader, file,
|
8692
|
+
add_location(casino_tournaments_limited_controller_loader, file, 187, 6, 6715);
|
8852
8693
|
attr_dev(div, "class", "Loading");
|
8853
|
-
add_location(div, file,
|
8694
|
+
add_location(div, file, 186, 4, 6687);
|
8854
8695
|
},
|
8855
8696
|
m: function mount(target, anchor) {
|
8856
8697
|
insert_dev(target, div, anchor);
|
@@ -8866,14 +8707,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8866
8707
|
block,
|
8867
8708
|
id: create_if_block.name,
|
8868
8709
|
type: "if",
|
8869
|
-
source: "(
|
8710
|
+
source: "(186:2) {#if isLoading}",
|
8870
8711
|
ctx
|
8871
8712
|
});
|
8872
8713
|
|
8873
8714
|
return block;
|
8874
8715
|
}
|
8875
8716
|
|
8876
|
-
// (
|
8717
|
+
// (237:6) {:else}
|
8877
8718
|
function create_else_block_1(ctx) {
|
8878
8719
|
let div;
|
8879
8720
|
|
@@ -8881,7 +8722,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8881
8722
|
c: function create() {
|
8882
8723
|
div = element("div");
|
8883
8724
|
attr_dev(div, "class", "NoContent");
|
8884
|
-
add_location(div, file,
|
8725
|
+
add_location(div, file, 237, 8, 8183);
|
8885
8726
|
},
|
8886
8727
|
m: function mount(target, anchor) {
|
8887
8728
|
insert_dev(target, div, anchor);
|
@@ -8896,14 +8737,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8896
8737
|
block,
|
8897
8738
|
id: create_else_block_1.name,
|
8898
8739
|
type: "else",
|
8899
|
-
source: "(
|
8740
|
+
source: "(237:6) {:else}",
|
8900
8741
|
ctx
|
8901
8742
|
});
|
8902
8743
|
|
8903
8744
|
return block;
|
8904
8745
|
}
|
8905
8746
|
|
8906
|
-
// (
|
8747
|
+
// (197:6) {#if list}
|
8907
8748
|
function create_if_block_1(ctx) {
|
8908
8749
|
let table;
|
8909
8750
|
let thead;
|
@@ -8948,9 +8789,9 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8948
8789
|
each_blocks[i].c();
|
8949
8790
|
}
|
8950
8791
|
|
8951
|
-
add_location(tr, file,
|
8952
|
-
add_location(thead, file,
|
8953
|
-
add_location(table, file,
|
8792
|
+
add_location(tr, file, 199, 10, 6938);
|
8793
|
+
add_location(thead, file, 198, 8, 6920);
|
8794
|
+
add_location(table, file, 197, 6, 6904);
|
8954
8795
|
},
|
8955
8796
|
m: function mount(target, anchor) {
|
8956
8797
|
insert_dev(target, table, anchor);
|
@@ -9035,31 +8876,31 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9035
8876
|
block,
|
9036
8877
|
id: create_if_block_1.name,
|
9037
8878
|
type: "if",
|
9038
|
-
source: "(
|
8879
|
+
source: "(197:6) {#if list}",
|
9039
8880
|
ctx
|
9040
8881
|
});
|
9041
8882
|
|
9042
8883
|
return block;
|
9043
8884
|
}
|
9044
8885
|
|
9045
|
-
// (
|
8886
|
+
// (201:12) {#each [ $_('tournamentsLimitedController.name'), $_('tournamentsLimitedController.rank'), $_('tournamentsLimitedController.enddate'), $_('tournamentsLimitedController.prize') ] as item}
|
9046
8887
|
function create_each_block_2(ctx) {
|
9047
8888
|
let th;
|
9048
|
-
let t_value = /*item*/ ctx[
|
8889
|
+
let t_value = /*item*/ ctx[33] + "";
|
9049
8890
|
let t;
|
9050
8891
|
|
9051
8892
|
const block = {
|
9052
8893
|
c: function create() {
|
9053
8894
|
th = element("th");
|
9054
8895
|
t = text(t_value);
|
9055
|
-
add_location(th, file,
|
8896
|
+
add_location(th, file, 206, 14, 7227);
|
9056
8897
|
},
|
9057
8898
|
m: function mount(target, anchor) {
|
9058
8899
|
insert_dev(target, th, anchor);
|
9059
8900
|
append_dev(th, t);
|
9060
8901
|
},
|
9061
8902
|
p: function update(ctx, dirty) {
|
9062
|
-
if (dirty[0] & /*$_*/ 64 && t_value !== (t_value = /*item*/ ctx[
|
8903
|
+
if (dirty[0] & /*$_*/ 64 && t_value !== (t_value = /*item*/ ctx[33] + "")) set_data_dev(t, t_value);
|
9063
8904
|
},
|
9064
8905
|
d: function destroy(detaching) {
|
9065
8906
|
if (detaching) detach_dev(th);
|
@@ -9070,36 +8911,36 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9070
8911
|
block,
|
9071
8912
|
id: create_each_block_2.name,
|
9072
8913
|
type: "each",
|
9073
|
-
source: "(
|
8914
|
+
source: "(201:12) {#each [ $_('tournamentsLimitedController.name'), $_('tournamentsLimitedController.rank'), $_('tournamentsLimitedController.enddate'), $_('tournamentsLimitedController.prize') ] as item}",
|
9074
8915
|
ctx
|
9075
8916
|
});
|
9076
8917
|
|
9077
8918
|
return block;
|
9078
8919
|
}
|
9079
8920
|
|
9080
|
-
// (
|
8921
|
+
// (214:12) {#if item}
|
9081
8922
|
function create_if_block_2(ctx) {
|
9082
8923
|
let td0;
|
9083
|
-
let t0_value = /*item*/ ctx[
|
8924
|
+
let t0_value = /*item*/ ctx[33].title + "";
|
9084
8925
|
let t0;
|
9085
8926
|
let t1;
|
9086
8927
|
let td1;
|
9087
|
-
let t2_value = (/*item*/ ctx[
|
8928
|
+
let t2_value = (/*item*/ ctx[33].rank || ' -') + "";
|
9088
8929
|
let t2;
|
9089
8930
|
let t3;
|
9090
8931
|
let td2;
|
9091
8932
|
let t4;
|
9092
8933
|
let td3;
|
9093
|
-
let t5_value = (/*item*/ ctx[
|
8934
|
+
let t5_value = (/*item*/ ctx[33].prize || ' -') + "";
|
9094
8935
|
let t5;
|
9095
8936
|
let mounted;
|
9096
8937
|
let dispose;
|
9097
8938
|
|
9098
8939
|
function click_handler_1() {
|
9099
|
-
return /*click_handler_1*/ ctx[
|
8940
|
+
return /*click_handler_1*/ ctx[20](/*item*/ ctx[33]);
|
9100
8941
|
}
|
9101
8942
|
|
9102
|
-
let each_value_1 = formatDate$1(/*item*/ ctx[
|
8943
|
+
let each_value_1 = formatDate$1(/*item*/ ctx[33].enddate);
|
9103
8944
|
validate_each_argument(each_value_1);
|
9104
8945
|
let each_blocks = [];
|
9105
8946
|
|
@@ -9126,17 +8967,17 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9126
8967
|
t5 = text(t5_value);
|
9127
8968
|
attr_dev(td0, "class", "Title");
|
9128
8969
|
attr_dev(td0, "part", "Title");
|
9129
|
-
add_location(td0, file,
|
8970
|
+
add_location(td0, file, 215, 14, 7397);
|
9130
8971
|
attr_dev(td1, "class", "Rank");
|
9131
|
-
toggle_class(td1, "active", /*item*/ ctx[
|
9132
|
-
add_location(td1, file,
|
8972
|
+
toggle_class(td1, "active", /*item*/ ctx[33].prize);
|
8973
|
+
add_location(td1, file, 224, 14, 7743);
|
9133
8974
|
attr_dev(td2, "class", "EndDate");
|
9134
8975
|
attr_dev(td2, "part", "EndDate");
|
9135
8976
|
attr_dev(td2, "nowrap", "");
|
9136
|
-
add_location(td2, file,
|
8977
|
+
add_location(td2, file, 225, 14, 7825);
|
9137
8978
|
attr_dev(td3, "class", "Prize");
|
9138
|
-
toggle_class(td3, "active", /*item*/ ctx[
|
9139
|
-
add_location(td3, file,
|
8979
|
+
toggle_class(td3, "active", /*item*/ ctx[33].prize);
|
8980
|
+
add_location(td3, file, 230, 14, 8009);
|
9140
8981
|
},
|
9141
8982
|
m: function mount(target, anchor) {
|
9142
8983
|
insert_dev(target, td0, anchor);
|
@@ -9164,15 +9005,15 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9164
9005
|
},
|
9165
9006
|
p: function update(new_ctx, dirty) {
|
9166
9007
|
ctx = new_ctx;
|
9167
|
-
if (dirty[0] & /*list*/ 32 && t0_value !== (t0_value = /*item*/ ctx[
|
9168
|
-
if (dirty[0] & /*list*/ 32 && t2_value !== (t2_value = (/*item*/ ctx[
|
9008
|
+
if (dirty[0] & /*list*/ 32 && t0_value !== (t0_value = /*item*/ ctx[33].title + "")) set_data_dev(t0, t0_value);
|
9009
|
+
if (dirty[0] & /*list*/ 32 && t2_value !== (t2_value = (/*item*/ ctx[33].rank || ' -') + "")) set_data_dev(t2, t2_value);
|
9169
9010
|
|
9170
9011
|
if (dirty[0] & /*list*/ 32) {
|
9171
|
-
toggle_class(td1, "active", /*item*/ ctx[
|
9012
|
+
toggle_class(td1, "active", /*item*/ ctx[33].prize);
|
9172
9013
|
}
|
9173
9014
|
|
9174
9015
|
if (dirty[0] & /*list*/ 32) {
|
9175
|
-
each_value_1 = formatDate$1(/*item*/ ctx[
|
9016
|
+
each_value_1 = formatDate$1(/*item*/ ctx[33].enddate);
|
9176
9017
|
validate_each_argument(each_value_1);
|
9177
9018
|
let i;
|
9178
9019
|
|
@@ -9195,10 +9036,10 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9195
9036
|
each_blocks.length = each_value_1.length;
|
9196
9037
|
}
|
9197
9038
|
|
9198
|
-
if (dirty[0] & /*list*/ 32 && t5_value !== (t5_value = (/*item*/ ctx[
|
9039
|
+
if (dirty[0] & /*list*/ 32 && t5_value !== (t5_value = (/*item*/ ctx[33].prize || ' -') + "")) set_data_dev(t5, t5_value);
|
9199
9040
|
|
9200
9041
|
if (dirty[0] & /*list*/ 32) {
|
9201
|
-
toggle_class(td3, "active", /*item*/ ctx[
|
9042
|
+
toggle_class(td3, "active", /*item*/ ctx[33].prize);
|
9202
9043
|
}
|
9203
9044
|
},
|
9204
9045
|
d: function destroy(detaching) {
|
@@ -9219,31 +9060,31 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9219
9060
|
block,
|
9220
9061
|
id: create_if_block_2.name,
|
9221
9062
|
type: "if",
|
9222
|
-
source: "(
|
9063
|
+
source: "(214:12) {#if item}",
|
9223
9064
|
ctx
|
9224
9065
|
});
|
9225
9066
|
|
9226
9067
|
return block;
|
9227
9068
|
}
|
9228
9069
|
|
9229
|
-
// (
|
9070
|
+
// (227:16) {#each formatDate(item.enddate) as s}
|
9230
9071
|
function create_each_block_1(ctx) {
|
9231
9072
|
let p;
|
9232
|
-
let t_value = /*s*/ ctx[
|
9073
|
+
let t_value = /*s*/ ctx[36] + "";
|
9233
9074
|
let t;
|
9234
9075
|
|
9235
9076
|
const block = {
|
9236
9077
|
c: function create() {
|
9237
9078
|
p = element("p");
|
9238
9079
|
t = text(t_value);
|
9239
|
-
add_location(p, file,
|
9080
|
+
add_location(p, file, 227, 18, 7940);
|
9240
9081
|
},
|
9241
9082
|
m: function mount(target, anchor) {
|
9242
9083
|
insert_dev(target, p, anchor);
|
9243
9084
|
append_dev(p, t);
|
9244
9085
|
},
|
9245
9086
|
p: function update(ctx, dirty) {
|
9246
|
-
if (dirty[0] & /*list*/ 32 && t_value !== (t_value = /*s*/ ctx[
|
9087
|
+
if (dirty[0] & /*list*/ 32 && t_value !== (t_value = /*s*/ ctx[36] + "")) set_data_dev(t, t_value);
|
9247
9088
|
},
|
9248
9089
|
d: function destroy(detaching) {
|
9249
9090
|
if (detaching) detach_dev(p);
|
@@ -9254,19 +9095,19 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9254
9095
|
block,
|
9255
9096
|
id: create_each_block_1.name,
|
9256
9097
|
type: "each",
|
9257
|
-
source: "(
|
9098
|
+
source: "(227:16) {#each formatDate(item.enddate) as s}",
|
9258
9099
|
ctx
|
9259
9100
|
});
|
9260
9101
|
|
9261
9102
|
return block;
|
9262
9103
|
}
|
9263
9104
|
|
9264
|
-
// (
|
9105
|
+
// (211:8) {#each list as item, i}
|
9265
9106
|
function create_each_block(ctx) {
|
9266
9107
|
let tbody;
|
9267
9108
|
let tr;
|
9268
9109
|
let t;
|
9269
|
-
let if_block = /*item*/ ctx[
|
9110
|
+
let if_block = /*item*/ ctx[33] && create_if_block_2(ctx);
|
9270
9111
|
|
9271
9112
|
const block = {
|
9272
9113
|
c: function create() {
|
@@ -9274,8 +9115,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9274
9115
|
tr = element("tr");
|
9275
9116
|
if (if_block) if_block.c();
|
9276
9117
|
t = space();
|
9277
|
-
add_location(tr, file,
|
9278
|
-
add_location(tbody, file,
|
9118
|
+
add_location(tr, file, 212, 10, 7354);
|
9119
|
+
add_location(tbody, file, 211, 8, 7336);
|
9279
9120
|
},
|
9280
9121
|
m: function mount(target, anchor) {
|
9281
9122
|
insert_dev(target, tbody, anchor);
|
@@ -9284,7 +9125,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9284
9125
|
append_dev(tbody, t);
|
9285
9126
|
},
|
9286
9127
|
p: function update(ctx, dirty) {
|
9287
|
-
if (/*item*/ ctx[
|
9128
|
+
if (/*item*/ ctx[33]) {
|
9288
9129
|
if (if_block) {
|
9289
9130
|
if_block.p(ctx, dirty);
|
9290
9131
|
} else {
|
@@ -9307,7 +9148,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9307
9148
|
block,
|
9308
9149
|
id: create_each_block.name,
|
9309
9150
|
type: "each",
|
9310
|
-
source: "(
|
9151
|
+
source: "(211:8) {#each list as item, i}",
|
9311
9152
|
ctx
|
9312
9153
|
});
|
9313
9154
|
|
@@ -9367,36 +9208,36 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9367
9208
|
attr_dev(rect, "width", /*svgSize*/ ctx[3]);
|
9368
9209
|
attr_dev(rect, "height", /*svgSize*/ ctx[3]);
|
9369
9210
|
attr_dev(rect, "fill", "url(#pattern0)");
|
9370
|
-
add_location(rect, file,
|
9211
|
+
add_location(rect, file, 157, 8, 5886);
|
9371
9212
|
xlink_attr(use, "xlink:href", "#image0_2606_356");
|
9372
9213
|
attr_dev(use, "transform", "scale(0.00195312)");
|
9373
|
-
add_location(use, file,
|
9214
|
+
add_location(use, file, 160, 12, 6071);
|
9374
9215
|
attr_dev(pattern, "id", "pattern0");
|
9375
9216
|
attr_dev(pattern, "patternContentUnits", "objectBoundingBox");
|
9376
9217
|
attr_dev(pattern, "width", "1");
|
9377
9218
|
attr_dev(pattern, "height", "1");
|
9378
|
-
add_location(pattern, file,
|
9379
|
-
add_location(defs, file,
|
9219
|
+
add_location(pattern, file, 159, 10, 5974);
|
9220
|
+
add_location(defs, file, 158, 8, 5957);
|
9380
9221
|
attr_dev(svg, "width", /*svgSize*/ ctx[3]);
|
9381
9222
|
attr_dev(svg, "height", /*svgSize*/ ctx[3]);
|
9382
9223
|
attr_dev(svg, "viewBox", svg_viewBox_value = `0 0 ${/*svgSize*/ ctx[3]} ${/*svgSize*/ ctx[3]}`);
|
9383
9224
|
attr_dev(svg, "fill", "none");
|
9384
9225
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
9385
9226
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
9386
|
-
add_location(svg, file,
|
9227
|
+
add_location(svg, file, 156, 6, 5711);
|
9387
9228
|
attr_dev(div0, "class", "svg");
|
9388
|
-
add_render_callback(() => /*div0_elementresize_handler*/ ctx[
|
9389
|
-
add_location(div0, file,
|
9229
|
+
add_render_callback(() => /*div0_elementresize_handler*/ ctx[18].call(div0));
|
9230
|
+
add_location(div0, file, 155, 4, 5660);
|
9390
9231
|
attr_dev(div1, "class", "text");
|
9391
|
-
add_location(div1, file,
|
9232
|
+
add_location(div1, file, 174, 4, 6387);
|
9392
9233
|
attr_dev(div2, "class", "CloseButton");
|
9393
9234
|
attr_dev(div2, "part", "CloseButton");
|
9394
|
-
add_location(div2, file,
|
9235
|
+
add_location(div2, file, 178, 4, 6483);
|
9395
9236
|
attr_dev(div3, "class", "top-wrapper");
|
9396
|
-
add_location(div3, file,
|
9237
|
+
add_location(div3, file, 154, 2, 5630);
|
9397
9238
|
attr_dev(div4, "class", "Root");
|
9398
9239
|
attr_dev(div4, "part", "Root");
|
9399
|
-
add_location(div4, file,
|
9240
|
+
add_location(div4, file, 152, 0, 5560);
|
9400
9241
|
},
|
9401
9242
|
l: function claim(nodes) {
|
9402
9243
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
@@ -9411,7 +9252,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9411
9252
|
append_dev(defs, pattern);
|
9412
9253
|
append_dev(pattern, use);
|
9413
9254
|
if (if_block0) if_block0.m(defs, null);
|
9414
|
-
div0_resize_listener = add_iframe_resize_listener(div0, /*div0_elementresize_handler*/ ctx[
|
9255
|
+
div0_resize_listener = add_iframe_resize_listener(div0, /*div0_elementresize_handler*/ ctx[18].bind(div0));
|
9415
9256
|
append_dev(div3, t0);
|
9416
9257
|
append_dev(div3, div1);
|
9417
9258
|
append_dev(div1, t1);
|
@@ -9419,10 +9260,10 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9419
9260
|
append_dev(div3, div2);
|
9420
9261
|
append_dev(div4, t4);
|
9421
9262
|
if_block1.m(div4, null);
|
9422
|
-
/*div4_binding*/ ctx[
|
9263
|
+
/*div4_binding*/ ctx[21](div4);
|
9423
9264
|
|
9424
9265
|
if (!mounted) {
|
9425
|
-
dispose = listen_dev(div2, "click", /*click_handler*/ ctx[
|
9266
|
+
dispose = listen_dev(div2, "click", /*click_handler*/ ctx[19], false, false, false, false);
|
9426
9267
|
mounted = true;
|
9427
9268
|
}
|
9428
9269
|
},
|
@@ -9470,7 +9311,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9470
9311
|
if (if_block0) if_block0.d();
|
9471
9312
|
div0_resize_listener();
|
9472
9313
|
if_block1.d();
|
9473
|
-
/*div4_binding*/ ctx[
|
9314
|
+
/*div4_binding*/ ctx[21](null);
|
9474
9315
|
mounted = false;
|
9475
9316
|
dispose();
|
9476
9317
|
}
|
@@ -9505,6 +9346,22 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9505
9346
|
let { filter = '' } = $$props;
|
9506
9347
|
let { clientstyling = '' } = $$props;
|
9507
9348
|
let { clientstylingurl = '' } = $$props;
|
9349
|
+
let { translationurl = '' } = $$props;
|
9350
|
+
|
9351
|
+
const setTranslationUrl = () => {
|
9352
|
+
let url = translationurl;
|
9353
|
+
|
9354
|
+
fetch(url).then(res => res.json()).then(res => {
|
9355
|
+
Object.keys(res).forEach(item => {
|
9356
|
+
addNewMessages(item, res[item]);
|
9357
|
+
});
|
9358
|
+
|
9359
|
+
setTabTexts();
|
9360
|
+
}).catch(err => {
|
9361
|
+
console.log(err);
|
9362
|
+
});
|
9363
|
+
};
|
9364
|
+
|
9508
9365
|
let customStylingContainer;
|
9509
9366
|
let displayNone = false;
|
9510
9367
|
let eventSource = undefined;
|
@@ -9537,7 +9394,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9537
9394
|
_tournamentsMatrix[matchStatusFromApiToView(_item.tournament.state)].push(tournamentComposed);
|
9538
9395
|
});
|
9539
9396
|
|
9540
|
-
$$invalidate(
|
9397
|
+
$$invalidate(15, tournamentsMatrix = _tournamentsMatrix);
|
9541
9398
|
};
|
9542
9399
|
|
9543
9400
|
const eventSourceHandler = composeEventSourceMessageHandler({
|
@@ -9553,7 +9410,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9553
9410
|
const tournament = data.item;
|
9554
9411
|
let _state = matchStatusFromApiToView(tournament.state);
|
9555
9412
|
|
9556
|
-
$$invalidate(
|
9413
|
+
$$invalidate(15, tournamentsMatrix = Object.assign(Object.assign({}, tournamentsMatrix), {
|
9557
9414
|
[_state]: tournamentsMatrix[_state].map(t => {
|
9558
9415
|
if (t.id === tournament.id) {
|
9559
9416
|
return Object.assign(Object.assign({}, t), {
|
@@ -9627,10 +9484,10 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9627
9484
|
const setTabTexts = () => {
|
9628
9485
|
setTimeout(
|
9629
9486
|
() => {
|
9630
|
-
const
|
9631
|
-
postMessageTabLocaleTextUpdate('Scheduled',
|
9632
|
-
postMessageTabLocaleTextUpdate('Ongoing',
|
9633
|
-
postMessageTabLocaleTextUpdate('Finished', `${
|
9487
|
+
const getText = key => $_(`tournamentsLimitedController.${key}`);
|
9488
|
+
postMessageTabLocaleTextUpdate('Scheduled', getText('Scheduled'));
|
9489
|
+
postMessageTabLocaleTextUpdate('Ongoing', getText('Ongoing'));
|
9490
|
+
postMessageTabLocaleTextUpdate('Finished', `${getText(`Finished`)} (${getText('last')} 48h)`);
|
9634
9491
|
},
|
9635
9492
|
1
|
9636
9493
|
);
|
@@ -9645,7 +9502,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9645
9502
|
});
|
9646
9503
|
|
9647
9504
|
onMountMessageLifeCycle$1({
|
9648
|
-
TournamentsTabSwitch: async data => $$invalidate(
|
9505
|
+
TournamentsTabSwitch: async data => $$invalidate(16, __state = data.tab)
|
9649
9506
|
});
|
9650
9507
|
|
9651
9508
|
const writable_props = [
|
@@ -9656,11 +9513,12 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9656
9513
|
'states',
|
9657
9514
|
'filter',
|
9658
9515
|
'clientstyling',
|
9659
|
-
'clientstylingurl'
|
9516
|
+
'clientstylingurl',
|
9517
|
+
'translationurl'
|
9660
9518
|
];
|
9661
9519
|
|
9662
9520
|
Object_1.keys($$props).forEach(key => {
|
9663
|
-
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot')
|
9521
|
+
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console_1.warn(`<undefined> was created with unknown prop '${key}'`);
|
9664
9522
|
});
|
9665
9523
|
|
9666
9524
|
function div0_elementresize_handler() {
|
@@ -9697,6 +9555,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9697
9555
|
if ('filter' in $$props) $$invalidate(11, filter = $$props.filter);
|
9698
9556
|
if ('clientstyling' in $$props) $$invalidate(12, clientstyling = $$props.clientstyling);
|
9699
9557
|
if ('clientstylingurl' in $$props) $$invalidate(13, clientstylingurl = $$props.clientstylingurl);
|
9558
|
+
if ('translationurl' in $$props) $$invalidate(14, translationurl = $$props.translationurl);
|
9700
9559
|
};
|
9701
9560
|
|
9702
9561
|
$$self.$capture_state = () => ({
|
@@ -9707,13 +9566,13 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9707
9566
|
setLocale,
|
9708
9567
|
setLocaleWhenInit,
|
9709
9568
|
_: $format,
|
9569
|
+
addNewMessages,
|
9710
9570
|
onMountMessageLifeCycle: onMountMessageLifeCycle$1,
|
9711
9571
|
updateEventSourceLifeCycle,
|
9712
9572
|
composeEventSourceMessageHandler,
|
9713
9573
|
postMessageTabLocaleTextUpdate,
|
9714
9574
|
postMessageTabTotalUpdate,
|
9715
9575
|
createEventSource,
|
9716
|
-
TRANSLATIONS,
|
9717
9576
|
endpoint,
|
9718
9577
|
lang,
|
9719
9578
|
session,
|
@@ -9722,6 +9581,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9722
9581
|
filter,
|
9723
9582
|
clientstyling,
|
9724
9583
|
clientstylingurl,
|
9584
|
+
translationurl,
|
9585
|
+
setTranslationUrl,
|
9725
9586
|
customStylingContainer,
|
9726
9587
|
displayNone,
|
9727
9588
|
eventSource,
|
@@ -9752,16 +9613,17 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9752
9613
|
if ('filter' in $$props) $$invalidate(11, filter = $$props.filter);
|
9753
9614
|
if ('clientstyling' in $$props) $$invalidate(12, clientstyling = $$props.clientstyling);
|
9754
9615
|
if ('clientstylingurl' in $$props) $$invalidate(13, clientstylingurl = $$props.clientstylingurl);
|
9616
|
+
if ('translationurl' in $$props) $$invalidate(14, translationurl = $$props.translationurl);
|
9755
9617
|
if ('customStylingContainer' in $$props) $$invalidate(2, customStylingContainer = $$props.customStylingContainer);
|
9756
9618
|
if ('displayNone' in $$props) displayNone = $$props.displayNone;
|
9757
9619
|
if ('eventSource' in $$props) eventSource = $$props.eventSource;
|
9758
9620
|
if ('svgSize' in $$props) $$invalidate(3, svgSize = $$props.svgSize);
|
9759
9621
|
if ('href' in $$props) $$invalidate(7, href = $$props.href);
|
9760
9622
|
if ('isLoading' in $$props) $$invalidate(4, isLoading = $$props.isLoading);
|
9761
|
-
if ('tournamentsMatrix' in $$props) $$invalidate(
|
9762
|
-
if ('__state' in $$props) $$invalidate(
|
9623
|
+
if ('tournamentsMatrix' in $$props) $$invalidate(15, tournamentsMatrix = $$props.tournamentsMatrix);
|
9624
|
+
if ('__state' in $$props) $$invalidate(16, __state = $$props.__state);
|
9763
9625
|
if ('list' in $$props) $$invalidate(5, list = $$props.list);
|
9764
|
-
if ('__states' in $$props) $$invalidate(
|
9626
|
+
if ('__states' in $$props) $$invalidate(17, __states = $$props.__states);
|
9765
9627
|
if ('statesNeedSubscribe' in $$props) statesNeedSubscribe = $$props.statesNeedSubscribe;
|
9766
9628
|
};
|
9767
9629
|
|
@@ -9771,18 +9633,18 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9771
9633
|
|
9772
9634
|
$$self.$$.update = () => {
|
9773
9635
|
if ($$self.$$.dirty[0] & /*state*/ 1) {
|
9774
|
-
$$invalidate(
|
9636
|
+
$$invalidate(16, __state = state);
|
9775
9637
|
}
|
9776
9638
|
|
9777
9639
|
if ($$self.$$.dirty[0] & /*states*/ 2) {
|
9778
|
-
$$invalidate(
|
9640
|
+
$$invalidate(17, __states = states.split(','));
|
9779
9641
|
}
|
9780
9642
|
|
9781
|
-
if ($$self.$$.dirty[0] & /*__states*/
|
9643
|
+
if ($$self.$$.dirty[0] & /*__states*/ 131072) {
|
9782
9644
|
statesNeedSubscribe = __states.filter(s => s !== 'Finished');
|
9783
9645
|
}
|
9784
9646
|
|
9785
|
-
if ($$self.$$.dirty[0] & /*tournamentsMatrix, __state*/
|
9647
|
+
if ($$self.$$.dirty[0] & /*tournamentsMatrix, __state*/ 98304) {
|
9786
9648
|
$$invalidate(5, list = tournamentsMatrix[__state]);
|
9787
9649
|
}
|
9788
9650
|
|
@@ -9798,11 +9660,15 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9798
9660
|
clientstylingurl && customStylingContainer && setClientStylingURL();
|
9799
9661
|
}
|
9800
9662
|
|
9663
|
+
if ($$self.$$.dirty[0] & /*translationurl*/ 16384) {
|
9664
|
+
translationurl && setTranslationUrl();
|
9665
|
+
}
|
9666
|
+
|
9801
9667
|
if ($$self.$$.dirty[0] & /*lang*/ 512) {
|
9802
9668
|
lang && setTabTexts();
|
9803
9669
|
}
|
9804
9670
|
|
9805
|
-
if ($$self.$$.dirty[0] & /*tournamentsMatrix*/
|
9671
|
+
if ($$self.$$.dirty[0] & /*tournamentsMatrix*/ 32768) {
|
9806
9672
|
Object.keys(tournamentsMatrix).length && (() => {
|
9807
9673
|
$$invalidate(4, isLoading = false);
|
9808
9674
|
setTabTexts();
|
@@ -9825,6 +9691,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9825
9691
|
filter,
|
9826
9692
|
clientstyling,
|
9827
9693
|
clientstylingurl,
|
9694
|
+
translationurl,
|
9828
9695
|
tournamentsMatrix,
|
9829
9696
|
__state,
|
9830
9697
|
__states,
|
@@ -9860,7 +9727,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9860
9727
|
states: 1,
|
9861
9728
|
filter: 11,
|
9862
9729
|
clientstyling: 12,
|
9863
|
-
clientstylingurl: 13
|
9730
|
+
clientstylingurl: 13,
|
9731
|
+
translationurl: 14
|
9864
9732
|
},
|
9865
9733
|
null,
|
9866
9734
|
[-1, -1]
|
@@ -9887,7 +9755,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9887
9755
|
"states",
|
9888
9756
|
"filter",
|
9889
9757
|
"clientstyling",
|
9890
|
-
"clientstylingurl"
|
9758
|
+
"clientstylingurl",
|
9759
|
+
"translationurl"
|
9891
9760
|
];
|
9892
9761
|
}
|
9893
9762
|
|
@@ -9962,6 +9831,15 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9962
9831
|
this.$$set({ clientstylingurl });
|
9963
9832
|
flush$1();
|
9964
9833
|
}
|
9834
|
+
|
9835
|
+
get translationurl() {
|
9836
|
+
return this.$$.ctx[14];
|
9837
|
+
}
|
9838
|
+
|
9839
|
+
set translationurl(translationurl) {
|
9840
|
+
this.$$set({ translationurl });
|
9841
|
+
flush$1();
|
9842
|
+
}
|
9965
9843
|
}
|
9966
9844
|
|
9967
9845
|
!customElements.get('casino-tournaments-limited-controller') && customElements.define('casino-tournaments-limited-controller', CasinoTournamentsLimitedController);
|