@everymatrix/casino-page 0.0.100 → 0.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-page.js +655 -595
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoPage.svelte +46 -77
package/dist/casino-page.js
CHANGED
|
@@ -4642,6 +4642,7 @@
|
|
|
4642
4642
|
viewAll: 'Show all',
|
|
4643
4643
|
searchedItems: 'Search result',
|
|
4644
4644
|
recentSearchedItems: 'Recently searched',
|
|
4645
|
+
noRecentSearch: 'No search started yet. Simply search for a game.',
|
|
4645
4646
|
noResults: 'Sorry, no results found. Please try again.'
|
|
4646
4647
|
}
|
|
4647
4648
|
},
|
|
@@ -4651,6 +4652,7 @@
|
|
|
4651
4652
|
viewAll: 'Alle anzeigen',
|
|
4652
4653
|
searchedItems: 'Suchergebnis',
|
|
4653
4654
|
recentSearchedItems: 'Zuletzt gesucht',
|
|
4655
|
+
noRecentSearch: 'Noch keine Suche gestartet. Einfach nach einem Spiel suchen.',
|
|
4654
4656
|
noResults: 'Sorry, kein Treffer. Bitte erneut versuchen.'
|
|
4655
4657
|
}
|
|
4656
4658
|
},
|
|
@@ -4660,6 +4662,7 @@
|
|
|
4660
4662
|
viewAll: 'Mostra tutto',
|
|
4661
4663
|
searchedItems: 'risultato',
|
|
4662
4664
|
recentSearchedItems: 'Ricerche recenti',
|
|
4665
|
+
noRecentSearch: 'Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.',
|
|
4663
4666
|
noResults: 'Spiacenti, nessun risultato. Si prega di riprovare.'
|
|
4664
4667
|
}
|
|
4665
4668
|
},
|
|
@@ -4669,6 +4672,7 @@
|
|
|
4669
4672
|
viewAll: 'Voir tout',
|
|
4670
4673
|
searchedItems: 'Articles recherchés',
|
|
4671
4674
|
recentSearchedItems: 'Articles recherchés récemment',
|
|
4675
|
+
noRecentSearch: 'Aucune recherche n\'a encore commencé. Recherchez simplement un jeu.',
|
|
4672
4676
|
noResults: 'Désolé, aucun résultat trouvé. Veuillez réessayer'
|
|
4673
4677
|
}
|
|
4674
4678
|
},
|
|
@@ -4678,6 +4682,7 @@
|
|
|
4678
4682
|
viewAll: 'Ver todo',
|
|
4679
4683
|
searchedItems: 'Artículos buscados',
|
|
4680
4684
|
recentSearchedItems: 'Elementos buscados recientemente',
|
|
4685
|
+
noRecentSearch: 'Aún no se inició ninguna búsqueda. Simplemente busque un juego.',
|
|
4681
4686
|
noResults: 'Lo sentimos, no se encontraron resultados. Inténtalo de nuevo'
|
|
4682
4687
|
}
|
|
4683
4688
|
},
|
|
@@ -4687,6 +4692,7 @@
|
|
|
4687
4692
|
viewAll: 'Hepsini gör',
|
|
4688
4693
|
searchedItems: 'Aranan öğeler',
|
|
4689
4694
|
recentSearchedItems: 'Son Aranan Öğeler',
|
|
4695
|
+
noRecentSearch: 'Henüz arama başlamadı. Sadece bir oyun arayın.',
|
|
4690
4696
|
noResults: 'Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin'
|
|
4691
4697
|
}
|
|
4692
4698
|
},
|
|
@@ -4696,6 +4702,7 @@
|
|
|
4696
4702
|
viewAll: 'Посмотреть все',
|
|
4697
4703
|
searchedItems: 'Искомые товары',
|
|
4698
4704
|
recentSearchedItems: 'Недавние поисковые запросы',
|
|
4705
|
+
noRecentSearch: 'Поиск еще не начался. Просто найдите игру.',
|
|
4699
4706
|
noResults: 'Извините, результатов не найдено. Пожалуйста, попробуйте еще раз'
|
|
4700
4707
|
}
|
|
4701
4708
|
},
|
|
@@ -4705,6 +4712,7 @@
|
|
|
4705
4712
|
viewAll: 'Vezi toate',
|
|
4706
4713
|
searchedItems: 'Rezultatele cautarii',
|
|
4707
4714
|
recentSearchedItems: 'Cautari recente',
|
|
4715
|
+
noRecentSearch: 'Nici o căutare nu a început încă. Pur și simplu căutați un joc.',
|
|
4708
4716
|
noResults: 'Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou'
|
|
4709
4717
|
}
|
|
4710
4718
|
},
|
|
@@ -4714,6 +4722,7 @@
|
|
|
4714
4722
|
viewAll: 'Pokaži sve',
|
|
4715
4723
|
searchedItems: 'Pretraži rezultat',
|
|
4716
4724
|
recentSearchedItems: 'Zadnje pretrage',
|
|
4725
|
+
noRecentSearch: 'Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.',
|
|
4717
4726
|
noResults: 'Žao nam je, nema rezultata. Molimo pokušajte ponovno.'
|
|
4718
4727
|
}
|
|
4719
4728
|
},
|
|
@@ -4723,6 +4732,7 @@
|
|
|
4723
4732
|
viewAll: 'Az összes megjelenítése',
|
|
4724
4733
|
searchedItems: 'Keresés eredménye',
|
|
4725
4734
|
recentSearchedItems: 'Legutóbb keresett',
|
|
4735
|
+
noRecentSearch: 'A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.',
|
|
4726
4736
|
noResults: 'Sajnos nincs találat. Kérjük próbálja újra.'
|
|
4727
4737
|
}
|
|
4728
4738
|
},
|
|
@@ -4732,6 +4742,7 @@
|
|
|
4732
4742
|
viewAll: 'Pokaż wszystkie',
|
|
4733
4743
|
searchedItems: 'Wynik wyszukiwania',
|
|
4734
4744
|
recentSearchedItems: 'Ostatnio wyszukiwane',
|
|
4745
|
+
noRecentSearch: 'Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.',
|
|
4735
4746
|
noResults: 'Przepraszamy, brak wyników. Prosimy spróbować ponownie.'
|
|
4736
4747
|
}
|
|
4737
4748
|
},
|
|
@@ -4741,6 +4752,7 @@
|
|
|
4741
4752
|
viewAll: 'Mostrar tudo',
|
|
4742
4753
|
searchedItems: 'Procurar resultado',
|
|
4743
4754
|
recentSearchedItems: 'Pesquisado recentemente',
|
|
4755
|
+
noRecentSearch: 'Nenhuma pesquisa iniciada. Pesquisar simplesmente um jogo.',
|
|
4744
4756
|
noResults: 'Desculpe, sem qualquer correspondência. Por favor, tente novamente.'
|
|
4745
4757
|
}
|
|
4746
4758
|
},
|
|
@@ -4750,6 +4762,7 @@
|
|
|
4750
4762
|
viewAll: 'Prikaži vse',
|
|
4751
4763
|
searchedItems: 'Rezultati iskanja',
|
|
4752
4764
|
recentSearchedItems: 'Nedavno iskanje',
|
|
4765
|
+
noRecentSearch: 'Niste še začeli z iskanjem. Enostavno poiščite želeno igro.',
|
|
4753
4766
|
noResults: 'Oprostite, ni rezultata. Prosimo poizkusite ponovno.'
|
|
4754
4767
|
}
|
|
4755
4768
|
},
|
|
@@ -4759,6 +4772,7 @@
|
|
|
4759
4772
|
viewAll: 'Prikaži sve',
|
|
4760
4773
|
searchedItems: 'Pretraži rezultat',
|
|
4761
4774
|
recentSearchedItems: 'Zadnja pretraga',
|
|
4775
|
+
noRecentSearch: 'Još nije pokrenuta pretraga. Jednostavno pretraži igre.',
|
|
4762
4776
|
noResults: 'Žao nam je, nema pogodaka. Pokušaj ponovo.'
|
|
4763
4777
|
}
|
|
4764
4778
|
}
|
|
@@ -4874,7 +4888,7 @@
|
|
|
4874
4888
|
const { Object: Object_1$2 } = globals;
|
|
4875
4889
|
const file$2 = "../casino-game-thumbnail/src/CasinoGameThumbnail.svelte";
|
|
4876
4890
|
|
|
4877
|
-
// (
|
|
4891
|
+
// (140:8) {#if fav}
|
|
4878
4892
|
function create_if_block_5$2(ctx) {
|
|
4879
4893
|
let show_if = !isMobile(/*userAgent*/ ctx[16]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[9];
|
|
4880
4894
|
let if_block_anchor;
|
|
@@ -4915,14 +4929,14 @@
|
|
|
4915
4929
|
block,
|
|
4916
4930
|
id: create_if_block_5$2.name,
|
|
4917
4931
|
type: "if",
|
|
4918
|
-
source: "(
|
|
4932
|
+
source: "(140:8) {#if fav}",
|
|
4919
4933
|
ctx
|
|
4920
4934
|
});
|
|
4921
4935
|
|
|
4922
4936
|
return block;
|
|
4923
4937
|
}
|
|
4924
4938
|
|
|
4925
|
-
// (
|
|
4939
|
+
// (141:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
|
4926
4940
|
function create_if_block_6$2(ctx) {
|
|
4927
4941
|
let div;
|
|
4928
4942
|
let svg;
|
|
@@ -4937,7 +4951,7 @@
|
|
|
4937
4951
|
path = svg_element("path");
|
|
4938
4952
|
set_style(path, "fill", "white");
|
|
4939
4953
|
attr_dev(path, "d", "M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z");
|
|
4940
|
-
add_location(path, file$2,
|
|
4954
|
+
add_location(path, file$2, 143, 112, 4924);
|
|
4941
4955
|
attr_dev(svg, "version", "1.1");
|
|
4942
4956
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
4943
4957
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -4947,9 +4961,9 @@
|
|
|
4947
4961
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
4948
4962
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
4949
4963
|
attr_dev(svg, "xml:space", "preserve");
|
|
4950
|
-
add_location(svg, file$2,
|
|
4964
|
+
add_location(svg, file$2, 142, 14, 4675);
|
|
4951
4965
|
attr_dev(div, "class", "FavIconContainer");
|
|
4952
|
-
add_location(div, file$2,
|
|
4966
|
+
add_location(div, file$2, 141, 12, 4584);
|
|
4953
4967
|
},
|
|
4954
4968
|
m: function mount(target, anchor) {
|
|
4955
4969
|
insert_dev(target, div, anchor);
|
|
@@ -4973,14 +4987,14 @@
|
|
|
4973
4987
|
block,
|
|
4974
4988
|
id: create_if_block_6$2.name,
|
|
4975
4989
|
type: "if",
|
|
4976
|
-
source: "(
|
|
4990
|
+
source: "(141:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
|
|
4977
4991
|
ctx
|
|
4978
4992
|
});
|
|
4979
4993
|
|
|
4980
4994
|
return block;
|
|
4981
4995
|
}
|
|
4982
4996
|
|
|
4983
|
-
// (
|
|
4997
|
+
// (169:77)
|
|
4984
4998
|
function create_if_block_4$2(ctx) {
|
|
4985
4999
|
let div;
|
|
4986
5000
|
let svg;
|
|
@@ -4993,16 +5007,16 @@
|
|
|
4993
5007
|
path = svg_element("path");
|
|
4994
5008
|
set_style(path, "fill", "white");
|
|
4995
5009
|
attr_dev(path, "d", "m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z");
|
|
4996
|
-
add_location(path, file$2,
|
|
5010
|
+
add_location(path, file$2, 171, 10, 7406);
|
|
4997
5011
|
attr_dev(svg, "version", "1.1");
|
|
4998
5012
|
attr_dev(svg, "class", "FavoredIcon");
|
|
4999
5013
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
5000
5014
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
5001
5015
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
5002
5016
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
5003
|
-
add_location(svg, file$2,
|
|
5017
|
+
add_location(svg, file$2, 170, 8, 7208);
|
|
5004
5018
|
attr_dev(div, "class", "FavIconContainer");
|
|
5005
|
-
add_location(div, file$2,
|
|
5019
|
+
add_location(div, file$2, 169, 6, 7169);
|
|
5006
5020
|
},
|
|
5007
5021
|
m: function mount(target, anchor) {
|
|
5008
5022
|
insert_dev(target, div, anchor);
|
|
@@ -5019,14 +5033,14 @@
|
|
|
5019
5033
|
block,
|
|
5020
5034
|
id: create_if_block_4$2.name,
|
|
5021
5035
|
type: "if",
|
|
5022
|
-
source: "(
|
|
5036
|
+
source: "(169:77) ",
|
|
5023
5037
|
ctx
|
|
5024
5038
|
});
|
|
5025
5039
|
|
|
5026
5040
|
return block;
|
|
5027
5041
|
}
|
|
5028
5042
|
|
|
5029
|
-
// (
|
|
5043
|
+
// (163:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
5030
5044
|
function create_if_block_3$2(ctx) {
|
|
5031
5045
|
let div;
|
|
5032
5046
|
let svg;
|
|
@@ -5041,16 +5055,16 @@
|
|
|
5041
5055
|
path = svg_element("path");
|
|
5042
5056
|
set_style(path, "fill", "white");
|
|
5043
5057
|
attr_dev(path, "d", "m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z");
|
|
5044
|
-
add_location(path, file$2,
|
|
5058
|
+
add_location(path, file$2, 165, 10, 6718);
|
|
5045
5059
|
attr_dev(svg, "version", "1.1");
|
|
5046
5060
|
attr_dev(svg, "class", "FavoredIcon");
|
|
5047
5061
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
5048
5062
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
5049
5063
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
5050
5064
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
5051
|
-
add_location(svg, file$2,
|
|
5065
|
+
add_location(svg, file$2, 164, 8, 6520);
|
|
5052
5066
|
attr_dev(div, "class", "FavIconContainer");
|
|
5053
|
-
add_location(div, file$2,
|
|
5067
|
+
add_location(div, file$2, 163, 6, 6435);
|
|
5054
5068
|
},
|
|
5055
5069
|
m: function mount(target, anchor) {
|
|
5056
5070
|
insert_dev(target, div, anchor);
|
|
@@ -5074,14 +5088,14 @@
|
|
|
5074
5088
|
block,
|
|
5075
5089
|
id: create_if_block_3$2.name,
|
|
5076
5090
|
type: "if",
|
|
5077
|
-
source: "(
|
|
5091
|
+
source: "(163:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
|
|
5078
5092
|
ctx
|
|
5079
5093
|
});
|
|
5080
5094
|
|
|
5081
5095
|
return block;
|
|
5082
5096
|
}
|
|
5083
5097
|
|
|
5084
|
-
// (
|
|
5098
|
+
// (177:6) {#if gameisnew}
|
|
5085
5099
|
function create_if_block_2$2(ctx) {
|
|
5086
5100
|
let span;
|
|
5087
5101
|
let t_value = /*$_*/ ctx[15]("gameThumbnail.new") + "";
|
|
@@ -5092,7 +5106,7 @@
|
|
|
5092
5106
|
span = element("span");
|
|
5093
5107
|
t = text(t_value);
|
|
5094
5108
|
attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
|
|
5095
|
-
add_location(span, file$2,
|
|
5109
|
+
add_location(span, file$2, 177, 8, 7845);
|
|
5096
5110
|
},
|
|
5097
5111
|
m: function mount(target, anchor) {
|
|
5098
5112
|
insert_dev(target, span, anchor);
|
|
@@ -5110,14 +5124,14 @@
|
|
|
5110
5124
|
block,
|
|
5111
5125
|
id: create_if_block_2$2.name,
|
|
5112
5126
|
type: "if",
|
|
5113
|
-
source: "(
|
|
5127
|
+
source: "(177:6) {#if gameisnew}",
|
|
5114
5128
|
ctx
|
|
5115
5129
|
});
|
|
5116
5130
|
|
|
5117
5131
|
return block;
|
|
5118
5132
|
}
|
|
5119
5133
|
|
|
5120
|
-
// (
|
|
5134
|
+
// (180:6) {#if (parseInt(gamepopularity) > 0)}
|
|
5121
5135
|
function create_if_block_1$2(ctx) {
|
|
5122
5136
|
let span;
|
|
5123
5137
|
let t_value = /*$_*/ ctx[15]("gameThumbnail.hot") + "";
|
|
@@ -5128,7 +5142,7 @@
|
|
|
5128
5142
|
span = element("span");
|
|
5129
5143
|
t = text(t_value);
|
|
5130
5144
|
attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
|
|
5131
|
-
add_location(span, file$2,
|
|
5145
|
+
add_location(span, file$2, 180, 8, 7985);
|
|
5132
5146
|
},
|
|
5133
5147
|
m: function mount(target, anchor) {
|
|
5134
5148
|
insert_dev(target, span, anchor);
|
|
@@ -5146,14 +5160,14 @@
|
|
|
5146
5160
|
block,
|
|
5147
5161
|
id: create_if_block_1$2.name,
|
|
5148
5162
|
type: "if",
|
|
5149
|
-
source: "(
|
|
5163
|
+
source: "(180:6) {#if (parseInt(gamepopularity) > 0)}",
|
|
5150
5164
|
ctx
|
|
5151
5165
|
});
|
|
5152
5166
|
|
|
5153
5167
|
return block;
|
|
5154
5168
|
}
|
|
5155
5169
|
|
|
5156
|
-
// (
|
|
5170
|
+
// (185:2) {#if showgamename}
|
|
5157
5171
|
function create_if_block$2(ctx) {
|
|
5158
5172
|
let p;
|
|
5159
5173
|
let t;
|
|
@@ -5164,7 +5178,7 @@
|
|
|
5164
5178
|
t = text(/*gamename*/ ctx[3]);
|
|
5165
5179
|
attr_dev(p, "class", "GameNameBelow");
|
|
5166
5180
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
5167
|
-
add_location(p, file$2,
|
|
5181
|
+
add_location(p, file$2, 185, 4, 8123);
|
|
5168
5182
|
},
|
|
5169
5183
|
m: function mount(target, anchor) {
|
|
5170
5184
|
insert_dev(target, p, anchor);
|
|
@@ -5186,7 +5200,7 @@
|
|
|
5186
5200
|
block,
|
|
5187
5201
|
id: create_if_block$2.name,
|
|
5188
5202
|
type: "if",
|
|
5189
|
-
source: "(
|
|
5203
|
+
source: "(185:2) {#if showgamename}",
|
|
5190
5204
|
ctx
|
|
5191
5205
|
});
|
|
5192
5206
|
|
|
@@ -5271,23 +5285,24 @@
|
|
|
5271
5285
|
attr_dev(img, "class", img_class_value = "GameBg " + (/*hover*/ ctx[10] ? "GameContainerHovered" : "") + " " + (/*loaded*/ ctx[11] ? "Loaded" : ""));
|
|
5272
5286
|
attr_dev(img, "alt", "game thumbnail");
|
|
5273
5287
|
attr_dev(img, "loading", "lazy");
|
|
5274
|
-
add_location(img, file$2,
|
|
5288
|
+
add_location(img, file$2, 136, 4, 4173);
|
|
5275
5289
|
attr_dev(p, "class", "GameInfoName");
|
|
5276
5290
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
5277
|
-
add_location(p, file$2,
|
|
5291
|
+
add_location(p, file$2, 155, 8, 6064);
|
|
5278
5292
|
attr_dev(button, "class", "GameInfoBtn");
|
|
5279
|
-
add_location(button, file$2,
|
|
5293
|
+
add_location(button, file$2, 156, 8, 6130);
|
|
5280
5294
|
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[10] ? "GameHovered" : ""));
|
|
5281
|
-
add_location(div0, file$2,
|
|
5295
|
+
add_location(div0, file$2, 138, 6, 4434);
|
|
5282
5296
|
attr_dev(span, "class", "GameInfoVendor");
|
|
5283
|
-
add_location(span, file$2,
|
|
5297
|
+
add_location(span, file$2, 158, 6, 6259);
|
|
5284
5298
|
attr_dev(div1, "class", "GameInfoWrapper");
|
|
5285
|
-
add_location(div1, file$2,
|
|
5299
|
+
add_location(div1, file$2, 137, 4, 4338);
|
|
5286
5300
|
attr_dev(div2, "class", "GameExtraInfo");
|
|
5287
|
-
add_location(div2, file$2,
|
|
5288
|
-
attr_dev(div3, "class", "
|
|
5289
|
-
add_location(div3, file$2,
|
|
5290
|
-
|
|
5301
|
+
add_location(div2, file$2, 175, 4, 7787);
|
|
5302
|
+
attr_dev(div3, "class", "GameInnerContainer");
|
|
5303
|
+
add_location(div3, file$2, 135, 2, 4028);
|
|
5304
|
+
attr_dev(div4, "class", "GameContainer");
|
|
5305
|
+
add_location(div4, file$2, 134, 0, 3963);
|
|
5291
5306
|
},
|
|
5292
5307
|
l: function claim(nodes) {
|
|
5293
5308
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -5533,9 +5548,6 @@
|
|
|
5533
5548
|
if (searchitem) {
|
|
5534
5549
|
window.postMessage({ type: "SearchedItemClicked", gameId }, window.location.href);
|
|
5535
5550
|
}
|
|
5536
|
-
|
|
5537
|
-
// @TODO Remove this for MostPlayed Mock
|
|
5538
|
-
window.postMessage({ type: "MostPlayedGameAdd", gameId }, window.location.href);
|
|
5539
5551
|
};
|
|
5540
5552
|
|
|
5541
5553
|
const toggleFavoriteGame = id => {
|
|
@@ -5861,7 +5873,7 @@
|
|
|
5861
5873
|
class CasinoGameThumbnail extends SvelteElement {
|
|
5862
5874
|
constructor(options) {
|
|
5863
5875
|
super();
|
|
5864
|
-
this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.GameContainer{
|
|
5876
|
+
this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.GameContainer{width:100%;height:100%}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65)}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;background:#DB2777;color:#FDF2F8;font-size:16px;border:2px solid #9D174D;border-radius:4.8px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid #F9A8D4}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:14.4px;font-weight:normal}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;top:8px;left:8px}.GameInnerContainer .GameExtraInfoLabel{font-size:11.2px;padding:3.2px;background-color:#DC2626;color:#FEF2F2;font-weight:bold;text-transform:uppercase;border-radius:4.8px}.GameNameBelow{color:#fff;position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer}</style>`;
|
|
5865
5877
|
|
|
5866
5878
|
init(
|
|
5867
5879
|
this,
|
|
@@ -6122,7 +6134,7 @@
|
|
|
6122
6134
|
return child_ctx;
|
|
6123
6135
|
}
|
|
6124
6136
|
|
|
6125
|
-
// (
|
|
6137
|
+
// (441:4) {:else}
|
|
6126
6138
|
function create_else_block_3(ctx) {
|
|
6127
6139
|
let div;
|
|
6128
6140
|
|
|
@@ -6138,7 +6150,7 @@
|
|
|
6138
6150
|
c: function create() {
|
|
6139
6151
|
div = element("div");
|
|
6140
6152
|
if (if_block) if_block.c();
|
|
6141
|
-
add_location(div, file$1,
|
|
6153
|
+
add_location(div, file$1, 441, 6, 16292);
|
|
6142
6154
|
},
|
|
6143
6155
|
m: function mount(target, anchor) {
|
|
6144
6156
|
insert_dev(target, div, anchor);
|
|
@@ -6170,14 +6182,14 @@
|
|
|
6170
6182
|
block,
|
|
6171
6183
|
id: create_else_block_3.name,
|
|
6172
6184
|
type: "else",
|
|
6173
|
-
source: "(
|
|
6185
|
+
source: "(441:4) {:else}",
|
|
6174
6186
|
ctx
|
|
6175
6187
|
});
|
|
6176
6188
|
|
|
6177
6189
|
return block;
|
|
6178
6190
|
}
|
|
6179
6191
|
|
|
6180
|
-
// (
|
|
6192
|
+
// (390:4) {#if searched}
|
|
6181
6193
|
function create_if_block_2$1(ctx) {
|
|
6182
6194
|
let div1;
|
|
6183
6195
|
let div0;
|
|
@@ -6186,7 +6198,7 @@
|
|
|
6186
6198
|
function select_block_type_2(ctx, dirty) {
|
|
6187
6199
|
if (/*recentSearched*/ ctx[12]) return create_if_block_5$1;
|
|
6188
6200
|
if (!/*shownCategoryData*/ ctx[9].length) return create_if_block_6$1;
|
|
6189
|
-
return create_else_block_2;
|
|
6201
|
+
return create_else_block_2$1;
|
|
6190
6202
|
}
|
|
6191
6203
|
|
|
6192
6204
|
let current_block_type = select_block_type_2(ctx);
|
|
@@ -6208,9 +6220,9 @@
|
|
|
6208
6220
|
t = space();
|
|
6209
6221
|
if_block1.c();
|
|
6210
6222
|
attr_dev(div0, "class", "CasinoGamesHeader Searched");
|
|
6211
|
-
add_location(div0, file$1,
|
|
6223
|
+
add_location(div0, file$1, 391, 8, 14432);
|
|
6212
6224
|
attr_dev(div1, "class", "CasinoGamesContainer");
|
|
6213
|
-
add_location(div1, file$1,
|
|
6225
|
+
add_location(div1, file$1, 390, 6, 14389);
|
|
6214
6226
|
},
|
|
6215
6227
|
m: function mount(target, anchor) {
|
|
6216
6228
|
insert_dev(target, div1, anchor);
|
|
@@ -6255,14 +6267,14 @@
|
|
|
6255
6267
|
block,
|
|
6256
6268
|
id: create_if_block_2$1.name,
|
|
6257
6269
|
type: "if",
|
|
6258
|
-
source: "(
|
|
6270
|
+
source: "(390:4) {#if searched}",
|
|
6259
6271
|
ctx
|
|
6260
6272
|
});
|
|
6261
6273
|
|
|
6262
6274
|
return block;
|
|
6263
6275
|
}
|
|
6264
6276
|
|
|
6265
|
-
// (
|
|
6277
|
+
// (382:2) {#if hasErrors}
|
|
6266
6278
|
function create_if_block$1(ctx) {
|
|
6267
6279
|
let if_block_anchor;
|
|
6268
6280
|
|
|
@@ -6304,14 +6316,14 @@
|
|
|
6304
6316
|
block,
|
|
6305
6317
|
id: create_if_block$1.name,
|
|
6306
6318
|
type: "if",
|
|
6307
|
-
source: "(
|
|
6319
|
+
source: "(382:2) {#if hasErrors}",
|
|
6308
6320
|
ctx
|
|
6309
6321
|
});
|
|
6310
6322
|
|
|
6311
6323
|
return block;
|
|
6312
6324
|
}
|
|
6313
6325
|
|
|
6314
|
-
// (
|
|
6326
|
+
// (489:39)
|
|
6315
6327
|
function create_if_block_11$1(ctx) {
|
|
6316
6328
|
let div1;
|
|
6317
6329
|
let div0;
|
|
@@ -6340,17 +6352,17 @@
|
|
|
6340
6352
|
ul = element("ul");
|
|
6341
6353
|
if_block.c();
|
|
6342
6354
|
attr_dev(h3, "class", "CategoryName");
|
|
6343
|
-
add_location(h3, file$1,
|
|
6355
|
+
add_location(h3, file$1, 491, 16, 18581);
|
|
6344
6356
|
attr_dev(div0, "class", "CasinoGamesHeader");
|
|
6345
|
-
add_location(div0, file$1,
|
|
6357
|
+
add_location(div0, file$1, 490, 12, 18533);
|
|
6346
6358
|
|
|
6347
6359
|
attr_dev(ul, "class", ul_class_value = "" + ((/*favoriteGamesData*/ ctx[21].items.length != 0
|
|
6348
6360
|
? "CasinoGamesGrid"
|
|
6349
6361
|
: "") + " 'GamesListIncreasedGap'}"));
|
|
6350
6362
|
|
|
6351
|
-
add_location(ul, file$1,
|
|
6363
|
+
add_location(ul, file$1, 495, 12, 18730);
|
|
6352
6364
|
attr_dev(div1, "class", "CasinoGamesContainer");
|
|
6353
|
-
add_location(div1, file$1,
|
|
6365
|
+
add_location(div1, file$1, 489, 10, 18486);
|
|
6354
6366
|
},
|
|
6355
6367
|
m: function mount(target, anchor) {
|
|
6356
6368
|
insert_dev(target, div1, anchor);
|
|
@@ -6396,14 +6408,14 @@
|
|
|
6396
6408
|
block,
|
|
6397
6409
|
id: create_if_block_11$1.name,
|
|
6398
6410
|
type: "if",
|
|
6399
|
-
source: "(
|
|
6411
|
+
source: "(489:39) ",
|
|
6400
6412
|
ctx
|
|
6401
6413
|
});
|
|
6402
6414
|
|
|
6403
6415
|
return block;
|
|
6404
6416
|
}
|
|
6405
6417
|
|
|
6406
|
-
// (
|
|
6418
|
+
// (443:8) {#if categoryData}
|
|
6407
6419
|
function create_if_block_7$1(ctx) {
|
|
6408
6420
|
let div1;
|
|
6409
6421
|
let div0;
|
|
@@ -6433,11 +6445,11 @@
|
|
|
6433
6445
|
t2 = space();
|
|
6434
6446
|
if_block1.c();
|
|
6435
6447
|
attr_dev(h3, "class", "CategoryName");
|
|
6436
|
-
add_location(h3, file$1,
|
|
6448
|
+
add_location(h3, file$1, 445, 16, 16430);
|
|
6437
6449
|
attr_dev(div0, "class", "CasinoGamesHeader");
|
|
6438
|
-
add_location(div0, file$1,
|
|
6450
|
+
add_location(div0, file$1, 444, 12, 16382);
|
|
6439
6451
|
attr_dev(div1, "class", "CasinoGamesContainer");
|
|
6440
|
-
add_location(div1, file$1,
|
|
6452
|
+
add_location(div1, file$1, 443, 10, 16335);
|
|
6441
6453
|
},
|
|
6442
6454
|
m: function mount(target, anchor) {
|
|
6443
6455
|
insert_dev(target, div1, anchor);
|
|
@@ -6490,14 +6502,14 @@
|
|
|
6490
6502
|
block,
|
|
6491
6503
|
id: create_if_block_7$1.name,
|
|
6492
6504
|
type: "if",
|
|
6493
|
-
source: "(
|
|
6505
|
+
source: "(443:8) {#if categoryData}",
|
|
6494
6506
|
ctx
|
|
6495
6507
|
});
|
|
6496
6508
|
|
|
6497
6509
|
return block;
|
|
6498
6510
|
}
|
|
6499
6511
|
|
|
6500
|
-
// (
|
|
6512
|
+
// (571:14) {:else}
|
|
6501
6513
|
function create_else_block_7(ctx) {
|
|
6502
6514
|
let p;
|
|
6503
6515
|
|
|
@@ -6505,7 +6517,7 @@
|
|
|
6505
6517
|
c: function create() {
|
|
6506
6518
|
p = element("p");
|
|
6507
6519
|
p.textContent = "Waiting";
|
|
6508
|
-
add_location(p, file$1,
|
|
6520
|
+
add_location(p, file$1, 571, 16, 24271);
|
|
6509
6521
|
},
|
|
6510
6522
|
m: function mount(target, anchor) {
|
|
6511
6523
|
insert_dev(target, p, anchor);
|
|
@@ -6520,14 +6532,14 @@
|
|
|
6520
6532
|
block,
|
|
6521
6533
|
id: create_else_block_7.name,
|
|
6522
6534
|
type: "else",
|
|
6523
|
-
source: "(
|
|
6535
|
+
source: "(571:14) {:else}",
|
|
6524
6536
|
ctx
|
|
6525
6537
|
});
|
|
6526
6538
|
|
|
6527
6539
|
return block;
|
|
6528
6540
|
}
|
|
6529
6541
|
|
|
6530
|
-
// (
|
|
6542
|
+
// (497:14) {#if favoriteGamesData}
|
|
6531
6543
|
function create_if_block_12$1(ctx) {
|
|
6532
6544
|
let each_1_anchor;
|
|
6533
6545
|
let each_value_2 = /*favoriteGamesData*/ ctx[21].items;
|
|
@@ -6614,14 +6626,14 @@
|
|
|
6614
6626
|
block,
|
|
6615
6627
|
id: create_if_block_12$1.name,
|
|
6616
6628
|
type: "if",
|
|
6617
|
-
source: "(
|
|
6629
|
+
source: "(497:14) {#if favoriteGamesData}",
|
|
6618
6630
|
ctx
|
|
6619
6631
|
});
|
|
6620
6632
|
|
|
6621
6633
|
return block;
|
|
6622
6634
|
}
|
|
6623
6635
|
|
|
6624
|
-
// (
|
|
6636
|
+
// (551:16) {:else}
|
|
6625
6637
|
function create_else_block_5(ctx) {
|
|
6626
6638
|
let p;
|
|
6627
6639
|
let svg;
|
|
@@ -6652,7 +6664,7 @@
|
|
|
6652
6664
|
t3 = space();
|
|
6653
6665
|
set_style(path, "fill", "white");
|
|
6654
6666
|
attr_dev(path, "d", "M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z");
|
|
6655
|
-
add_location(path, file$1,
|
|
6667
|
+
add_location(path, file$1, 553, 116, 22584);
|
|
6656
6668
|
attr_dev(svg, "version", "1.1");
|
|
6657
6669
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
6658
6670
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -6662,15 +6674,15 @@
|
|
|
6662
6674
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
6663
6675
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
6664
6676
|
attr_dev(svg, "xml:space", "preserve");
|
|
6665
|
-
add_location(svg, file$1,
|
|
6677
|
+
add_location(svg, file$1, 552, 20, 22331);
|
|
6666
6678
|
attr_dev(span, "class", "NoFavoriteText NoFavoriteTextHighlight");
|
|
6667
|
-
add_location(span, file$1,
|
|
6679
|
+
add_location(span, file$1, 562, 20, 23687);
|
|
6668
6680
|
|
|
6669
6681
|
attr_dev(p, "class", "NoFavoriteGames " + (isMobile(/*userAgent*/ ctx[23])
|
|
6670
6682
|
? "NoFavoriteGamesMobile"
|
|
6671
6683
|
: ""));
|
|
6672
6684
|
|
|
6673
|
-
add_location(p, file$1,
|
|
6685
|
+
add_location(p, file$1, 551, 18, 22230);
|
|
6674
6686
|
},
|
|
6675
6687
|
m: function mount(target, anchor) {
|
|
6676
6688
|
insert_dev(target, p, anchor);
|
|
@@ -6693,14 +6705,14 @@
|
|
|
6693
6705
|
block,
|
|
6694
6706
|
id: create_else_block_5.name,
|
|
6695
6707
|
type: "else",
|
|
6696
|
-
source: "(
|
|
6708
|
+
source: "(551:16) {:else}",
|
|
6697
6709
|
ctx
|
|
6698
6710
|
});
|
|
6699
6711
|
|
|
6700
6712
|
return block;
|
|
6701
6713
|
}
|
|
6702
6714
|
|
|
6703
|
-
// (
|
|
6715
|
+
// (566:20) {:else}
|
|
6704
6716
|
function create_else_block_6(ctx) {
|
|
6705
6717
|
let span;
|
|
6706
6718
|
|
|
@@ -6709,7 +6721,7 @@
|
|
|
6709
6721
|
span = element("span");
|
|
6710
6722
|
span.textContent = "You can now add games to favorites by clicking on the star icon located on the game thumbnail.";
|
|
6711
6723
|
attr_dev(span, "class", "NoFavoriteText");
|
|
6712
|
-
add_location(span, file$1,
|
|
6724
|
+
add_location(span, file$1, 566, 22, 24029);
|
|
6713
6725
|
},
|
|
6714
6726
|
m: function mount(target, anchor) {
|
|
6715
6727
|
insert_dev(target, span, anchor);
|
|
@@ -6723,14 +6735,14 @@
|
|
|
6723
6735
|
block,
|
|
6724
6736
|
id: create_else_block_6.name,
|
|
6725
6737
|
type: "else",
|
|
6726
|
-
source: "(
|
|
6738
|
+
source: "(566:20) {:else}",
|
|
6727
6739
|
ctx
|
|
6728
6740
|
});
|
|
6729
6741
|
|
|
6730
6742
|
return block;
|
|
6731
6743
|
}
|
|
6732
6744
|
|
|
6733
|
-
// (
|
|
6745
|
+
// (564:20) {#if isMobile(userAgent)}
|
|
6734
6746
|
function create_if_block_19$1(ctx) {
|
|
6735
6747
|
let span;
|
|
6736
6748
|
|
|
@@ -6739,7 +6751,7 @@
|
|
|
6739
6751
|
span = element("span");
|
|
6740
6752
|
span.textContent = "You can now add games to favorites by tapping on the star icon located on the game page.";
|
|
6741
6753
|
attr_dev(span, "class", "NoFavoriteText");
|
|
6742
|
-
add_location(span, file$1,
|
|
6754
|
+
add_location(span, file$1, 564, 22, 23854);
|
|
6743
6755
|
},
|
|
6744
6756
|
m: function mount(target, anchor) {
|
|
6745
6757
|
insert_dev(target, span, anchor);
|
|
@@ -6753,14 +6765,14 @@
|
|
|
6753
6765
|
block,
|
|
6754
6766
|
id: create_if_block_19$1.name,
|
|
6755
6767
|
type: "if",
|
|
6756
|
-
source: "(
|
|
6768
|
+
source: "(564:20) {#if isMobile(userAgent)}",
|
|
6757
6769
|
ctx
|
|
6758
6770
|
});
|
|
6759
6771
|
|
|
6760
6772
|
return block;
|
|
6761
6773
|
}
|
|
6762
6774
|
|
|
6763
|
-
// (
|
|
6775
|
+
// (499:18) {#if gameprops.gameModel}
|
|
6764
6776
|
function create_if_block_13$1(ctx) {
|
|
6765
6777
|
let if_block_anchor;
|
|
6766
6778
|
let if_block = /*gameprops*/ ctx[68].gameModel.isFavorite && create_if_block_14$1(ctx);
|
|
@@ -6798,14 +6810,14 @@
|
|
|
6798
6810
|
block,
|
|
6799
6811
|
id: create_if_block_13$1.name,
|
|
6800
6812
|
type: "if",
|
|
6801
|
-
source: "(
|
|
6813
|
+
source: "(499:18) {#if gameprops.gameModel}",
|
|
6802
6814
|
ctx
|
|
6803
6815
|
});
|
|
6804
6816
|
|
|
6805
6817
|
return block;
|
|
6806
6818
|
}
|
|
6807
6819
|
|
|
6808
|
-
// (
|
|
6820
|
+
// (500:20) {#if gameprops.gameModel.isFavorite}
|
|
6809
6821
|
function create_if_block_14$1(ctx) {
|
|
6810
6822
|
let if_block_anchor;
|
|
6811
6823
|
let if_block = (/*intersecting*/ ctx[16] || /*nativeLoading*/ ctx[24]) && create_if_block_15$1(ctx);
|
|
@@ -6843,14 +6855,14 @@
|
|
|
6843
6855
|
block,
|
|
6844
6856
|
id: create_if_block_14$1.name,
|
|
6845
6857
|
type: "if",
|
|
6846
|
-
source: "(
|
|
6858
|
+
source: "(500:20) {#if gameprops.gameModel.isFavorite}",
|
|
6847
6859
|
ctx
|
|
6848
6860
|
});
|
|
6849
6861
|
|
|
6850
6862
|
return block;
|
|
6851
6863
|
}
|
|
6852
6864
|
|
|
6853
|
-
// (
|
|
6865
|
+
// (501:22) {#if intersecting || nativeLoading}
|
|
6854
6866
|
function create_if_block_15$1(ctx) {
|
|
6855
6867
|
let show_if;
|
|
6856
6868
|
let show_if_1;
|
|
@@ -6901,14 +6913,14 @@
|
|
|
6901
6913
|
block,
|
|
6902
6914
|
id: create_if_block_15$1.name,
|
|
6903
6915
|
type: "if",
|
|
6904
|
-
source: "(
|
|
6916
|
+
source: "(501:22) {#if intersecting || nativeLoading}",
|
|
6905
6917
|
ctx
|
|
6906
6918
|
});
|
|
6907
6919
|
|
|
6908
6920
|
return block;
|
|
6909
6921
|
}
|
|
6910
6922
|
|
|
6911
|
-
// (
|
|
6923
|
+
// (525:78)
|
|
6912
6924
|
function create_if_block_18$1(ctx) {
|
|
6913
6925
|
let casino_game_thumbnail;
|
|
6914
6926
|
let casino_game_thumbnail_class_value;
|
|
@@ -6947,7 +6959,7 @@
|
|
|
6947
6959
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
6948
6960
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
6949
6961
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
6950
|
-
add_location(casino_game_thumbnail, file$1,
|
|
6962
|
+
add_location(casino_game_thumbnail, file$1, 526, 28, 20884);
|
|
6951
6963
|
},
|
|
6952
6964
|
m: function mount(target, anchor) {
|
|
6953
6965
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -7036,14 +7048,14 @@
|
|
|
7036
7048
|
block,
|
|
7037
7049
|
id: create_if_block_18$1.name,
|
|
7038
7050
|
type: "if",
|
|
7039
|
-
source: "(
|
|
7051
|
+
source: "(525:78) ",
|
|
7040
7052
|
ctx
|
|
7041
7053
|
});
|
|
7042
7054
|
|
|
7043
7055
|
return block;
|
|
7044
7056
|
}
|
|
7045
7057
|
|
|
7046
|
-
// (
|
|
7058
|
+
// (502:24) {#if isMobile(userAgent)}
|
|
7047
7059
|
function create_if_block_16$1(ctx) {
|
|
7048
7060
|
let show_if = /*gameprops*/ ctx[68].gameModel.platform.includes("iPad") || /*gameprops*/ ctx[68].gameModel.platform.includes("iPhone") || /*gameprops*/ ctx[68].gameModel.platform.includes("Android");
|
|
7049
7061
|
let if_block_anchor;
|
|
@@ -7084,14 +7096,14 @@
|
|
|
7084
7096
|
block,
|
|
7085
7097
|
id: create_if_block_16$1.name,
|
|
7086
7098
|
type: "if",
|
|
7087
|
-
source: "(
|
|
7099
|
+
source: "(502:24) {#if isMobile(userAgent)}",
|
|
7088
7100
|
ctx
|
|
7089
7101
|
});
|
|
7090
7102
|
|
|
7091
7103
|
return block;
|
|
7092
7104
|
}
|
|
7093
7105
|
|
|
7094
|
-
// (
|
|
7106
|
+
// (503:26) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
|
|
7095
7107
|
function create_if_block_17$1(ctx) {
|
|
7096
7108
|
let casino_game_thumbnail;
|
|
7097
7109
|
let casino_game_thumbnail_class_value;
|
|
@@ -7130,7 +7142,7 @@
|
|
|
7130
7142
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7131
7143
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7132
7144
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7133
|
-
add_location(casino_game_thumbnail, file$1,
|
|
7145
|
+
add_location(casino_game_thumbnail, file$1, 503, 26, 19380);
|
|
7134
7146
|
},
|
|
7135
7147
|
m: function mount(target, anchor) {
|
|
7136
7148
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -7219,14 +7231,14 @@
|
|
|
7219
7231
|
block,
|
|
7220
7232
|
id: create_if_block_17$1.name,
|
|
7221
7233
|
type: "if",
|
|
7222
|
-
source: "(
|
|
7234
|
+
source: "(503:26) {#if (gameprops.gameModel.platform.includes(\\\"iPad\\\") || gameprops.gameModel.platform.includes(\\\"iPhone\\\") || gameprops.gameModel.platform.includes(\\\"Android\\\"))}",
|
|
7223
7235
|
ctx
|
|
7224
7236
|
});
|
|
7225
7237
|
|
|
7226
7238
|
return block;
|
|
7227
7239
|
}
|
|
7228
7240
|
|
|
7229
|
-
// (
|
|
7241
|
+
// (498:16) {#each favoriteGamesData.items as gameprops, index}
|
|
7230
7242
|
function create_each_block_2(ctx) {
|
|
7231
7243
|
let if_block_anchor;
|
|
7232
7244
|
let if_block = /*gameprops*/ ctx[68].gameModel && create_if_block_13$1(ctx);
|
|
@@ -7264,14 +7276,14 @@
|
|
|
7264
7276
|
block,
|
|
7265
7277
|
id: create_each_block_2.name,
|
|
7266
7278
|
type: "each",
|
|
7267
|
-
source: "(
|
|
7279
|
+
source: "(498:16) {#each favoriteGamesData.items as gameprops, index}",
|
|
7268
7280
|
ctx
|
|
7269
7281
|
});
|
|
7270
7282
|
|
|
7271
7283
|
return block;
|
|
7272
7284
|
}
|
|
7273
7285
|
|
|
7274
|
-
// (
|
|
7286
|
+
// (450:14) {#if showLoadCategory}
|
|
7275
7287
|
function create_if_block_10$1(ctx) {
|
|
7276
7288
|
let a;
|
|
7277
7289
|
let h3;
|
|
@@ -7293,9 +7305,9 @@
|
|
|
7293
7305
|
t2 = text(t2_value);
|
|
7294
7306
|
t3 = text(")");
|
|
7295
7307
|
attr_dev(h3, "class", "CategoryLoadMore");
|
|
7296
|
-
add_location(h3, file$1,
|
|
7308
|
+
add_location(h3, file$1, 452, 16, 16762);
|
|
7297
7309
|
attr_dev(a, "class", "CategoryNameLink");
|
|
7298
|
-
add_location(a, file$1,
|
|
7310
|
+
add_location(a, file$1, 451, 14, 16655);
|
|
7299
7311
|
},
|
|
7300
7312
|
m: function mount(target, anchor) {
|
|
7301
7313
|
insert_dev(target, a, anchor);
|
|
@@ -7325,14 +7337,14 @@
|
|
|
7325
7337
|
block,
|
|
7326
7338
|
id: create_if_block_10$1.name,
|
|
7327
7339
|
type: "if",
|
|
7328
|
-
source: "(
|
|
7340
|
+
source: "(450:14) {#if showLoadCategory}",
|
|
7329
7341
|
ctx
|
|
7330
7342
|
});
|
|
7331
7343
|
|
|
7332
7344
|
return block;
|
|
7333
7345
|
}
|
|
7334
7346
|
|
|
7335
|
-
// (
|
|
7347
|
+
// (485:12) {:else}
|
|
7336
7348
|
function create_else_block_4(ctx) {
|
|
7337
7349
|
let p;
|
|
7338
7350
|
|
|
@@ -7341,7 +7353,7 @@
|
|
|
7341
7353
|
p = element("p");
|
|
7342
7354
|
p.textContent = "You don't have any games in this category.";
|
|
7343
7355
|
attr_dev(p, "class", "NoSearchResults");
|
|
7344
|
-
add_location(p, file$1,
|
|
7356
|
+
add_location(p, file$1, 485, 14, 18327);
|
|
7345
7357
|
},
|
|
7346
7358
|
m: function mount(target, anchor) {
|
|
7347
7359
|
insert_dev(target, p, anchor);
|
|
@@ -7356,14 +7368,14 @@
|
|
|
7356
7368
|
block,
|
|
7357
7369
|
id: create_else_block_4.name,
|
|
7358
7370
|
type: "else",
|
|
7359
|
-
source: "(
|
|
7371
|
+
source: "(485:12) {:else}",
|
|
7360
7372
|
ctx
|
|
7361
7373
|
});
|
|
7362
7374
|
|
|
7363
7375
|
return block;
|
|
7364
7376
|
}
|
|
7365
7377
|
|
|
7366
|
-
// (
|
|
7378
|
+
// (459:12) {#if shownCategoryData.length !== 0}
|
|
7367
7379
|
function create_if_block_8$1(ctx) {
|
|
7368
7380
|
let ul;
|
|
7369
7381
|
let ul_class_value;
|
|
@@ -7387,7 +7399,7 @@
|
|
|
7387
7399
|
? ""
|
|
7388
7400
|
: "CasinoGamesGrid") + " GamesListIncreasedGap"));
|
|
7389
7401
|
|
|
7390
|
-
add_location(ul, file$1,
|
|
7402
|
+
add_location(ul, file$1, 459, 12, 17017);
|
|
7391
7403
|
},
|
|
7392
7404
|
m: function mount(target, anchor) {
|
|
7393
7405
|
insert_dev(target, ul, anchor);
|
|
@@ -7440,14 +7452,14 @@
|
|
|
7440
7452
|
block,
|
|
7441
7453
|
id: create_if_block_8$1.name,
|
|
7442
7454
|
type: "if",
|
|
7443
|
-
source: "(
|
|
7455
|
+
source: "(459:12) {#if shownCategoryData.length !== 0}",
|
|
7444
7456
|
ctx
|
|
7445
7457
|
});
|
|
7446
7458
|
|
|
7447
7459
|
return block;
|
|
7448
7460
|
}
|
|
7449
7461
|
|
|
7450
|
-
// (
|
|
7462
|
+
// (462:18) {#if intersecting || nativeLoading}
|
|
7451
7463
|
function create_if_block_9$1(ctx) {
|
|
7452
7464
|
let casino_game_thumbnail;
|
|
7453
7465
|
let casino_game_thumbnail_class_value;
|
|
@@ -7485,7 +7497,7 @@
|
|
|
7485
7497
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7486
7498
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7487
7499
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7488
|
-
add_location(casino_game_thumbnail, file$1,
|
|
7500
|
+
add_location(casino_game_thumbnail, file$1, 462, 20, 17300);
|
|
7489
7501
|
},
|
|
7490
7502
|
m: function mount(target, anchor) {
|
|
7491
7503
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -7570,14 +7582,14 @@
|
|
|
7570
7582
|
block,
|
|
7571
7583
|
id: create_if_block_9$1.name,
|
|
7572
7584
|
type: "if",
|
|
7573
|
-
source: "(
|
|
7585
|
+
source: "(462:18) {#if intersecting || nativeLoading}",
|
|
7574
7586
|
ctx
|
|
7575
7587
|
});
|
|
7576
7588
|
|
|
7577
7589
|
return block;
|
|
7578
7590
|
}
|
|
7579
7591
|
|
|
7580
|
-
// (
|
|
7592
|
+
// (461:16) {#each shownCategoryData as gameprops, index}
|
|
7581
7593
|
function create_each_block_1(ctx) {
|
|
7582
7594
|
let if_block_anchor;
|
|
7583
7595
|
let if_block = (/*intersecting*/ ctx[16] || /*nativeLoading*/ ctx[24]) && create_if_block_9$1(ctx);
|
|
@@ -7615,15 +7627,15 @@
|
|
|
7615
7627
|
block,
|
|
7616
7628
|
id: create_each_block_1.name,
|
|
7617
7629
|
type: "each",
|
|
7618
|
-
source: "(
|
|
7630
|
+
source: "(461:16) {#each shownCategoryData as gameprops, index}",
|
|
7619
7631
|
ctx
|
|
7620
7632
|
});
|
|
7621
7633
|
|
|
7622
7634
|
return block;
|
|
7623
7635
|
}
|
|
7624
7636
|
|
|
7625
|
-
// (
|
|
7626
|
-
function create_else_block_2(ctx) {
|
|
7637
|
+
// (402:12) {:else}
|
|
7638
|
+
function create_else_block_2$1(ctx) {
|
|
7627
7639
|
let h3;
|
|
7628
7640
|
let t_value = /*$_*/ ctx[22]("gamesCategorySection.searchedItems") + "";
|
|
7629
7641
|
let t;
|
|
@@ -7633,7 +7645,7 @@
|
|
|
7633
7645
|
h3 = element("h3");
|
|
7634
7646
|
t = text(t_value);
|
|
7635
7647
|
attr_dev(h3, "class", "StatusText");
|
|
7636
|
-
add_location(h3, file$1,
|
|
7648
|
+
add_location(h3, file$1, 402, 14, 14824);
|
|
7637
7649
|
},
|
|
7638
7650
|
m: function mount(target, anchor) {
|
|
7639
7651
|
insert_dev(target, h3, anchor);
|
|
@@ -7649,16 +7661,16 @@
|
|
|
7649
7661
|
|
|
7650
7662
|
dispatch_dev("SvelteRegisterBlock", {
|
|
7651
7663
|
block,
|
|
7652
|
-
id: create_else_block_2.name,
|
|
7664
|
+
id: create_else_block_2$1.name,
|
|
7653
7665
|
type: "else",
|
|
7654
|
-
source: "(
|
|
7666
|
+
source: "(402:12) {:else}",
|
|
7655
7667
|
ctx
|
|
7656
7668
|
});
|
|
7657
7669
|
|
|
7658
7670
|
return block;
|
|
7659
7671
|
}
|
|
7660
7672
|
|
|
7661
|
-
// (
|
|
7673
|
+
// (398:12) {#if !shownCategoryData.length}
|
|
7662
7674
|
function create_if_block_6$1(ctx) {
|
|
7663
7675
|
let h3;
|
|
7664
7676
|
let t_value = /*$_*/ ctx[22]("gamesCategorySection.noResults") + "";
|
|
@@ -7669,7 +7681,7 @@
|
|
|
7669
7681
|
h3 = element("h3");
|
|
7670
7682
|
t = text(t_value);
|
|
7671
7683
|
attr_dev(h3, "class", "StatusText");
|
|
7672
|
-
add_location(h3, file$1,
|
|
7684
|
+
add_location(h3, file$1, 398, 12, 14695);
|
|
7673
7685
|
},
|
|
7674
7686
|
m: function mount(target, anchor) {
|
|
7675
7687
|
insert_dev(target, h3, anchor);
|
|
@@ -7687,14 +7699,14 @@
|
|
|
7687
7699
|
block,
|
|
7688
7700
|
id: create_if_block_6$1.name,
|
|
7689
7701
|
type: "if",
|
|
7690
|
-
source: "(
|
|
7702
|
+
source: "(398:12) {#if !shownCategoryData.length}",
|
|
7691
7703
|
ctx
|
|
7692
7704
|
});
|
|
7693
7705
|
|
|
7694
7706
|
return block;
|
|
7695
7707
|
}
|
|
7696
7708
|
|
|
7697
|
-
// (
|
|
7709
|
+
// (393:10) {#if recentSearched}
|
|
7698
7710
|
function create_if_block_5$1(ctx) {
|
|
7699
7711
|
let h3;
|
|
7700
7712
|
let t_value = /*$_*/ ctx[22]("gamesCategorySection.recentSearchedItems") + "";
|
|
@@ -7705,7 +7717,7 @@
|
|
|
7705
7717
|
h3 = element("h3");
|
|
7706
7718
|
t = text(t_value);
|
|
7707
7719
|
attr_dev(h3, "class", "StatusText");
|
|
7708
|
-
add_location(h3, file$1,
|
|
7720
|
+
add_location(h3, file$1, 393, 12, 14516);
|
|
7709
7721
|
},
|
|
7710
7722
|
m: function mount(target, anchor) {
|
|
7711
7723
|
insert_dev(target, h3, anchor);
|
|
@@ -7723,14 +7735,14 @@
|
|
|
7723
7735
|
block,
|
|
7724
7736
|
id: create_if_block_5$1.name,
|
|
7725
7737
|
type: "if",
|
|
7726
|
-
source: "(
|
|
7738
|
+
source: "(393:10) {#if recentSearched}",
|
|
7727
7739
|
ctx
|
|
7728
7740
|
});
|
|
7729
7741
|
|
|
7730
7742
|
return block;
|
|
7731
7743
|
}
|
|
7732
7744
|
|
|
7733
|
-
// (
|
|
7745
|
+
// (437:8) {:else}
|
|
7734
7746
|
function create_else_block_1$1(ctx) {
|
|
7735
7747
|
let p;
|
|
7736
7748
|
|
|
@@ -7739,7 +7751,7 @@
|
|
|
7739
7751
|
p = element("p");
|
|
7740
7752
|
p.textContent = "Waiting";
|
|
7741
7753
|
attr_dev(p, "class", "SearchWaiting");
|
|
7742
|
-
add_location(p, file$1,
|
|
7754
|
+
add_location(p, file$1, 437, 10, 16210);
|
|
7743
7755
|
},
|
|
7744
7756
|
m: function mount(target, anchor) {
|
|
7745
7757
|
insert_dev(target, p, anchor);
|
|
@@ -7754,14 +7766,14 @@
|
|
|
7754
7766
|
block,
|
|
7755
7767
|
id: create_else_block_1$1.name,
|
|
7756
7768
|
type: "else",
|
|
7757
|
-
source: "(
|
|
7769
|
+
source: "(437:8) {:else}",
|
|
7758
7770
|
ctx
|
|
7759
7771
|
});
|
|
7760
7772
|
|
|
7761
7773
|
return block;
|
|
7762
7774
|
}
|
|
7763
7775
|
|
|
7764
|
-
// (
|
|
7776
|
+
// (409:8) {#if shownCategoryData}
|
|
7765
7777
|
function create_if_block_3$1(ctx) {
|
|
7766
7778
|
let t;
|
|
7767
7779
|
let ul;
|
|
@@ -7785,7 +7797,7 @@
|
|
|
7785
7797
|
}
|
|
7786
7798
|
|
|
7787
7799
|
attr_dev(ul, "class", "CasinoGamesGrid");
|
|
7788
|
-
add_location(ul, file$1,
|
|
7800
|
+
add_location(ul, file$1, 412, 10, 15188);
|
|
7789
7801
|
},
|
|
7790
7802
|
m: function mount(target, anchor) {
|
|
7791
7803
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -7798,7 +7810,9 @@
|
|
|
7798
7810
|
},
|
|
7799
7811
|
p: function update(ctx, dirty) {
|
|
7800
7812
|
if (!/*showItems*/ ctx[15]) {
|
|
7801
|
-
if (if_block)
|
|
7813
|
+
if (if_block) {
|
|
7814
|
+
if_block.p(ctx, dirty);
|
|
7815
|
+
} else {
|
|
7802
7816
|
if_block = create_if_block_4$1(ctx);
|
|
7803
7817
|
if_block.c();
|
|
7804
7818
|
if_block.m(t.parentNode, t);
|
|
@@ -7844,33 +7858,32 @@
|
|
|
7844
7858
|
block,
|
|
7845
7859
|
id: create_if_block_3$1.name,
|
|
7846
7860
|
type: "if",
|
|
7847
|
-
source: "(
|
|
7861
|
+
source: "(409:8) {#if shownCategoryData}",
|
|
7848
7862
|
ctx
|
|
7849
7863
|
});
|
|
7850
7864
|
|
|
7851
7865
|
return block;
|
|
7852
7866
|
}
|
|
7853
7867
|
|
|
7854
|
-
// (
|
|
7868
|
+
// (410:10) {#if !showItems}
|
|
7855
7869
|
function create_if_block_4$1(ctx) {
|
|
7856
7870
|
let p;
|
|
7857
|
-
let
|
|
7858
|
-
let
|
|
7871
|
+
let t_value = /*$_*/ ctx[22]("gamesCategorySection.noRecentSearch") + "";
|
|
7872
|
+
let t;
|
|
7859
7873
|
|
|
7860
7874
|
const block = {
|
|
7861
7875
|
c: function create() {
|
|
7862
7876
|
p = element("p");
|
|
7863
|
-
|
|
7864
|
-
b.textContent = "No recent searches yet.";
|
|
7865
|
-
t1 = text(" Search for any of our games.");
|
|
7866
|
-
add_location(b, file$1, 414, 79, 15397);
|
|
7877
|
+
t = text(t_value);
|
|
7867
7878
|
attr_dev(p, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter");
|
|
7868
|
-
add_location(p, file$1,
|
|
7879
|
+
add_location(p, file$1, 410, 12, 15047);
|
|
7869
7880
|
},
|
|
7870
7881
|
m: function mount(target, anchor) {
|
|
7871
7882
|
insert_dev(target, p, anchor);
|
|
7872
|
-
append_dev(p,
|
|
7873
|
-
|
|
7883
|
+
append_dev(p, t);
|
|
7884
|
+
},
|
|
7885
|
+
p: function update(ctx, dirty) {
|
|
7886
|
+
if (dirty[0] & /*$_*/ 4194304 && t_value !== (t_value = /*$_*/ ctx[22]("gamesCategorySection.noRecentSearch") + "")) set_data_dev(t, t_value);
|
|
7874
7887
|
},
|
|
7875
7888
|
d: function destroy(detaching) {
|
|
7876
7889
|
if (detaching) detach_dev(p);
|
|
@@ -7881,14 +7894,14 @@
|
|
|
7881
7894
|
block,
|
|
7882
7895
|
id: create_if_block_4$1.name,
|
|
7883
7896
|
type: "if",
|
|
7884
|
-
source: "(
|
|
7897
|
+
source: "(410:10) {#if !showItems}",
|
|
7885
7898
|
ctx
|
|
7886
7899
|
});
|
|
7887
7900
|
|
|
7888
7901
|
return block;
|
|
7889
7902
|
}
|
|
7890
7903
|
|
|
7891
|
-
// (
|
|
7904
|
+
// (414:12) {#each shownCategoryData as gameprops, index}
|
|
7892
7905
|
function create_each_block$1(ctx) {
|
|
7893
7906
|
let casino_game_thumbnail;
|
|
7894
7907
|
let casino_game_thumbnail_class_value;
|
|
@@ -7927,7 +7940,7 @@
|
|
|
7927
7940
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7928
7941
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7929
7942
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7930
|
-
add_location(casino_game_thumbnail, file$1,
|
|
7943
|
+
add_location(casino_game_thumbnail, file$1, 414, 14, 15289);
|
|
7931
7944
|
},
|
|
7932
7945
|
m: function mount(target, anchor) {
|
|
7933
7946
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -8016,14 +8029,14 @@
|
|
|
8016
8029
|
block,
|
|
8017
8030
|
id: create_each_block$1.name,
|
|
8018
8031
|
type: "each",
|
|
8019
|
-
source: "(
|
|
8032
|
+
source: "(414:12) {#each shownCategoryData as gameprops, index}",
|
|
8020
8033
|
ctx
|
|
8021
8034
|
});
|
|
8022
8035
|
|
|
8023
8036
|
return block;
|
|
8024
8037
|
}
|
|
8025
8038
|
|
|
8026
|
-
// (
|
|
8039
|
+
// (386:4) {:else}
|
|
8027
8040
|
function create_else_block$1(ctx) {
|
|
8028
8041
|
let p;
|
|
8029
8042
|
|
|
@@ -8032,7 +8045,7 @@
|
|
|
8032
8045
|
p = element("p");
|
|
8033
8046
|
p.textContent = "500 Error - Internal Server Error.";
|
|
8034
8047
|
attr_dev(p, "class", "SearchLoading");
|
|
8035
|
-
add_location(p, file$1,
|
|
8048
|
+
add_location(p, file$1, 386, 6, 14280);
|
|
8036
8049
|
},
|
|
8037
8050
|
m: function mount(target, anchor) {
|
|
8038
8051
|
insert_dev(target, p, anchor);
|
|
@@ -8046,14 +8059,14 @@
|
|
|
8046
8059
|
block,
|
|
8047
8060
|
id: create_else_block$1.name,
|
|
8048
8061
|
type: "else",
|
|
8049
|
-
source: "(
|
|
8062
|
+
source: "(386:4) {:else}",
|
|
8050
8063
|
ctx
|
|
8051
8064
|
});
|
|
8052
8065
|
|
|
8053
8066
|
return block;
|
|
8054
8067
|
}
|
|
8055
8068
|
|
|
8056
|
-
// (
|
|
8069
|
+
// (384:4) {#if filteresPresent}
|
|
8057
8070
|
function create_if_block_1$1(ctx) {
|
|
8058
8071
|
let p;
|
|
8059
8072
|
|
|
@@ -8062,7 +8075,7 @@
|
|
|
8062
8075
|
p = element("p");
|
|
8063
8076
|
p.textContent = "404 Error - No result found.";
|
|
8064
8077
|
attr_dev(p, "class", "SearchLoading");
|
|
8065
|
-
add_location(p, file$1,
|
|
8078
|
+
add_location(p, file$1, 384, 6, 14204);
|
|
8066
8079
|
},
|
|
8067
8080
|
m: function mount(target, anchor) {
|
|
8068
8081
|
insert_dev(target, p, anchor);
|
|
@@ -8076,7 +8089,7 @@
|
|
|
8076
8089
|
block,
|
|
8077
8090
|
id: create_if_block_1$1.name,
|
|
8078
8091
|
type: "if",
|
|
8079
|
-
source: "(
|
|
8092
|
+
source: "(384:4) {#if filteresPresent}",
|
|
8080
8093
|
ctx
|
|
8081
8094
|
});
|
|
8082
8095
|
|
|
@@ -8101,7 +8114,7 @@
|
|
|
8101
8114
|
if_block.c();
|
|
8102
8115
|
this.c = noop$1;
|
|
8103
8116
|
attr_dev(div, "class", "CasinoGamesCategorySectionContainer");
|
|
8104
|
-
add_location(div, file$1,
|
|
8117
|
+
add_location(div, file$1, 380, 0, 14025);
|
|
8105
8118
|
},
|
|
8106
8119
|
l: function claim(nodes) {
|
|
8107
8120
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -8393,11 +8406,6 @@
|
|
|
8393
8406
|
|
|
8394
8407
|
$$invalidate(9, shownCategoryData = categoryData.games.items);
|
|
8395
8408
|
$$invalidate(10, showLoadCategory = false);
|
|
8396
|
-
}).then(() => {
|
|
8397
|
-
// after the category page is populated with games, scroll to the the top of the widget
|
|
8398
|
-
scrollTop = true;
|
|
8399
|
-
|
|
8400
|
-
window.postMessage({ type: "WidgetTopReference", scrollTop }, window.location.href);
|
|
8401
8409
|
});
|
|
8402
8410
|
break;
|
|
8403
8411
|
case "FavoriteUpdate":
|
|
@@ -9063,20 +9071,20 @@
|
|
|
9063
9071
|
return child_ctx;
|
|
9064
9072
|
}
|
|
9065
9073
|
|
|
9066
|
-
// (
|
|
9074
|
+
// (648:0) {:else}
|
|
9067
9075
|
function create_else_block(ctx) {
|
|
9068
9076
|
let section;
|
|
9069
|
-
let show_if_1 = getDevice(/*userAgent*/ ctx[
|
|
9077
|
+
let show_if_1 = getDevice(/*userAgent*/ ctx[33]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[28];
|
|
9070
9078
|
let t0;
|
|
9071
|
-
let show_if = !/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[
|
|
9079
|
+
let show_if = !/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[28] && /*numberOfFilters*/ ctx[29] && getDevice(/*userAgent*/ ctx[33]) !== "PC";
|
|
9072
9080
|
let t1;
|
|
9073
9081
|
let t2;
|
|
9074
|
-
let if_block0 = show_if_1 &&
|
|
9075
|
-
let if_block1 = show_if &&
|
|
9082
|
+
let if_block0 = show_if_1 && create_if_block_22(ctx);
|
|
9083
|
+
let if_block1 = show_if && create_if_block_21(ctx);
|
|
9076
9084
|
|
|
9077
9085
|
function select_block_type_1(ctx, dirty) {
|
|
9078
|
-
if (/*alternativesearch*/ ctx[8] === "false") return
|
|
9079
|
-
return
|
|
9086
|
+
if (/*alternativesearch*/ ctx[8] === "false") return create_if_block_8;
|
|
9087
|
+
return create_else_block_2;
|
|
9080
9088
|
}
|
|
9081
9089
|
|
|
9082
9090
|
let current_block_type = select_block_type_1(ctx);
|
|
@@ -9088,7 +9096,7 @@
|
|
|
9088
9096
|
if (/*lobbyScreen*/ ctx[19]) return create_if_block_3;
|
|
9089
9097
|
if (/*favoritesScreen*/ ctx[15]) return create_if_block_4;
|
|
9090
9098
|
if (/*mostPlayedScreen*/ ctx[20]) return create_if_block_5;
|
|
9091
|
-
if (!/*recentSearches*/ ctx[16]) return
|
|
9099
|
+
if (!/*recentSearches*/ ctx[16]) return create_if_block_7;
|
|
9092
9100
|
}
|
|
9093
9101
|
|
|
9094
9102
|
let current_block_type_1 = select_block_type_2(ctx);
|
|
@@ -9105,7 +9113,7 @@
|
|
|
9105
9113
|
t2 = space();
|
|
9106
9114
|
if (if_block3) if_block3.c();
|
|
9107
9115
|
attr_dev(section, "class", "CategoriesLobby");
|
|
9108
|
-
add_location(section, file,
|
|
9116
|
+
add_location(section, file, 648, 2, 22316);
|
|
9109
9117
|
},
|
|
9110
9118
|
m: function mount(target, anchor) {
|
|
9111
9119
|
insert_dev(target, section, anchor);
|
|
@@ -9116,14 +9124,14 @@
|
|
|
9116
9124
|
if_block2.m(section, null);
|
|
9117
9125
|
append_dev(section, t2);
|
|
9118
9126
|
if (if_block3) if_block3.m(section, null);
|
|
9119
|
-
/*section_binding*/ ctx[
|
|
9127
|
+
/*section_binding*/ ctx[60](section);
|
|
9120
9128
|
},
|
|
9121
9129
|
p: function update(ctx, dirty) {
|
|
9122
|
-
if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/
|
|
9130
|
+
if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/ 268435712) show_if_1 = getDevice(/*userAgent*/ ctx[33]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[28];
|
|
9123
9131
|
|
|
9124
9132
|
if (show_if_1) {
|
|
9125
9133
|
if (if_block0) ; else {
|
|
9126
|
-
if_block0 =
|
|
9134
|
+
if_block0 = create_if_block_22(ctx);
|
|
9127
9135
|
if_block0.c();
|
|
9128
9136
|
if_block0.m(section, t0);
|
|
9129
9137
|
}
|
|
@@ -9132,13 +9140,13 @@
|
|
|
9132
9140
|
if_block0 = null;
|
|
9133
9141
|
}
|
|
9134
9142
|
|
|
9135
|
-
if (dirty[0] & /*favoritesScreen, lobbyScreen, mobileSearchViewActive, numberOfFilters*/
|
|
9143
|
+
if (dirty[0] & /*favoritesScreen, lobbyScreen, mobileSearchViewActive, numberOfFilters*/ 805863424) show_if = !/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[28] && /*numberOfFilters*/ ctx[29] && getDevice(/*userAgent*/ ctx[33]) !== "PC";
|
|
9136
9144
|
|
|
9137
9145
|
if (show_if) {
|
|
9138
9146
|
if (if_block1) {
|
|
9139
9147
|
if_block1.p(ctx, dirty);
|
|
9140
9148
|
} else {
|
|
9141
|
-
if_block1 =
|
|
9149
|
+
if_block1 = create_if_block_21(ctx);
|
|
9142
9150
|
if_block1.c();
|
|
9143
9151
|
if_block1.m(section, t1);
|
|
9144
9152
|
}
|
|
@@ -9181,7 +9189,7 @@
|
|
|
9181
9189
|
if_block3.d();
|
|
9182
9190
|
}
|
|
9183
9191
|
|
|
9184
|
-
/*section_binding*/ ctx[
|
|
9192
|
+
/*section_binding*/ ctx[60](null);
|
|
9185
9193
|
}
|
|
9186
9194
|
};
|
|
9187
9195
|
|
|
@@ -9189,14 +9197,14 @@
|
|
|
9189
9197
|
block,
|
|
9190
9198
|
id: create_else_block.name,
|
|
9191
9199
|
type: "else",
|
|
9192
|
-
source: "(
|
|
9200
|
+
source: "(648:0) {:else}",
|
|
9193
9201
|
ctx
|
|
9194
9202
|
});
|
|
9195
9203
|
|
|
9196
9204
|
return block;
|
|
9197
9205
|
}
|
|
9198
9206
|
|
|
9199
|
-
// (
|
|
9207
|
+
// (646:0) {#if hasErrors}
|
|
9200
9208
|
function create_if_block(ctx) {
|
|
9201
9209
|
let p;
|
|
9202
9210
|
|
|
@@ -9205,7 +9213,7 @@
|
|
|
9205
9213
|
p = element("p");
|
|
9206
9214
|
p.textContent = "500 Error - Internal Server Error";
|
|
9207
9215
|
attr_dev(p, "class", "SearchLoading");
|
|
9208
|
-
add_location(p, file,
|
|
9216
|
+
add_location(p, file, 646, 2, 22243);
|
|
9209
9217
|
},
|
|
9210
9218
|
m: function mount(target, anchor) {
|
|
9211
9219
|
insert_dev(target, p, anchor);
|
|
@@ -9220,22 +9228,22 @@
|
|
|
9220
9228
|
block,
|
|
9221
9229
|
id: create_if_block.name,
|
|
9222
9230
|
type: "if",
|
|
9223
|
-
source: "(
|
|
9231
|
+
source: "(646:0) {#if hasErrors}",
|
|
9224
9232
|
ctx
|
|
9225
9233
|
});
|
|
9226
9234
|
|
|
9227
9235
|
return block;
|
|
9228
9236
|
}
|
|
9229
9237
|
|
|
9230
|
-
// (
|
|
9231
|
-
function
|
|
9238
|
+
// (650:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}
|
|
9239
|
+
function create_if_block_22(ctx) {
|
|
9232
9240
|
let div;
|
|
9233
9241
|
|
|
9234
9242
|
const block = {
|
|
9235
9243
|
c: function create() {
|
|
9236
9244
|
div = element("div");
|
|
9237
9245
|
attr_dev(div, "class", "SearchBarPlaceholder");
|
|
9238
|
-
add_location(div, file,
|
|
9246
|
+
add_location(div, file, 650, 6, 22494);
|
|
9239
9247
|
},
|
|
9240
9248
|
m: function mount(target, anchor) {
|
|
9241
9249
|
insert_dev(target, div, anchor);
|
|
@@ -9247,17 +9255,17 @@
|
|
|
9247
9255
|
|
|
9248
9256
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9249
9257
|
block,
|
|
9250
|
-
id:
|
|
9258
|
+
id: create_if_block_22.name,
|
|
9251
9259
|
type: "if",
|
|
9252
|
-
source: "(
|
|
9260
|
+
source: "(650:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}",
|
|
9253
9261
|
ctx
|
|
9254
9262
|
});
|
|
9255
9263
|
|
|
9256
9264
|
return block;
|
|
9257
9265
|
}
|
|
9258
9266
|
|
|
9259
|
-
// (
|
|
9260
|
-
function
|
|
9267
|
+
// (653:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}
|
|
9268
|
+
function create_if_block_21(ctx) {
|
|
9261
9269
|
let div1;
|
|
9262
9270
|
let div0;
|
|
9263
9271
|
let t;
|
|
@@ -9277,7 +9285,7 @@
|
|
|
9277
9285
|
polygon = svg_element("polygon");
|
|
9278
9286
|
set_style(polygon, "fill", "#FD2839");
|
|
9279
9287
|
attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
|
|
9280
|
-
add_location(polygon, file,
|
|
9288
|
+
add_location(polygon, file, 658, 14, 23098);
|
|
9281
9289
|
attr_dev(svg, "version", "1.1");
|
|
9282
9290
|
attr_dev(svg, "id", "Layer_1");
|
|
9283
9291
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -9287,13 +9295,13 @@
|
|
|
9287
9295
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
9288
9296
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
9289
9297
|
attr_dev(svg, "xml:space", "preserve");
|
|
9290
|
-
add_location(svg, file,
|
|
9298
|
+
add_location(svg, file, 656, 12, 22843);
|
|
9291
9299
|
attr_dev(span, "class", "ClearIcon");
|
|
9292
|
-
add_location(span, file,
|
|
9300
|
+
add_location(span, file, 655, 10, 22806);
|
|
9293
9301
|
attr_dev(div0, "class", "ClearButton");
|
|
9294
|
-
add_location(div0, file,
|
|
9302
|
+
add_location(div0, file, 654, 8, 22765);
|
|
9295
9303
|
attr_dev(div1, "class", "ClearFilterMobileButtonWrapper");
|
|
9296
|
-
add_location(div1, file,
|
|
9304
|
+
add_location(div1, file, 653, 6, 22673);
|
|
9297
9305
|
},
|
|
9298
9306
|
m: function mount(target, anchor) {
|
|
9299
9307
|
insert_dev(target, div1, anchor);
|
|
@@ -9304,7 +9312,7 @@
|
|
|
9304
9312
|
append_dev(svg, polygon);
|
|
9305
9313
|
|
|
9306
9314
|
if (!mounted) {
|
|
9307
|
-
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[
|
|
9315
|
+
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[47], false, false, false);
|
|
9308
9316
|
mounted = true;
|
|
9309
9317
|
}
|
|
9310
9318
|
},
|
|
@@ -9318,17 +9326,17 @@
|
|
|
9318
9326
|
|
|
9319
9327
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9320
9328
|
block,
|
|
9321
|
-
id:
|
|
9329
|
+
id: create_if_block_21.name,
|
|
9322
9330
|
type: "if",
|
|
9323
|
-
source: "(
|
|
9331
|
+
source: "(653:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}",
|
|
9324
9332
|
ctx
|
|
9325
9333
|
});
|
|
9326
9334
|
|
|
9327
9335
|
return block;
|
|
9328
9336
|
}
|
|
9329
9337
|
|
|
9330
|
-
// (
|
|
9331
|
-
function
|
|
9338
|
+
// (724:4) {:else}
|
|
9339
|
+
function create_else_block_2(ctx) {
|
|
9332
9340
|
let div2;
|
|
9333
9341
|
let div1;
|
|
9334
9342
|
let label;
|
|
@@ -9338,15 +9346,15 @@
|
|
|
9338
9346
|
let input;
|
|
9339
9347
|
let input_placeholder_value;
|
|
9340
9348
|
let t3;
|
|
9341
|
-
let show_if = getDevice(/*userAgent*/ ctx[
|
|
9349
|
+
let show_if = getDevice(/*userAgent*/ ctx[33]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[33]) !== "PC";
|
|
9342
9350
|
let div1_class_value;
|
|
9343
9351
|
let t4;
|
|
9344
9352
|
let div2_class_value;
|
|
9345
9353
|
let mounted;
|
|
9346
9354
|
let dispose;
|
|
9347
|
-
let if_block0 = !/*mobileSearchViewActive*/ ctx[
|
|
9348
|
-
let if_block1 = show_if &&
|
|
9349
|
-
let if_block2 = !/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[
|
|
9355
|
+
let if_block0 = !/*mobileSearchViewActive*/ ctx[28] && create_if_block_20(ctx);
|
|
9356
|
+
let if_block1 = show_if && create_if_block_19(ctx);
|
|
9357
|
+
let if_block2 = !/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[28] && !/*mostPlayedScreen*/ ctx[20] && !/*recentSearches*/ ctx[16] && !/*searched*/ ctx[17] && !/*lobbyViewAux*/ ctx[18] && create_if_block_15(ctx);
|
|
9350
9358
|
|
|
9351
9359
|
const block = {
|
|
9352
9360
|
c: function create() {
|
|
@@ -9365,40 +9373,40 @@
|
|
|
9365
9373
|
if (if_block2) if_block2.c();
|
|
9366
9374
|
attr_dev(label, "for", "search");
|
|
9367
9375
|
attr_dev(label, "class", "SrOnly");
|
|
9368
|
-
add_location(label, file,
|
|
9376
|
+
add_location(label, file, 728, 10, 28449);
|
|
9369
9377
|
attr_dev(input, "id", "SearchField");
|
|
9370
9378
|
attr_dev(input, "class", "SearchInput");
|
|
9371
9379
|
|
|
9372
|
-
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[
|
|
9373
|
-
? /*$_*/ ctx[
|
|
9374
|
-
: /*$_*/ ctx[
|
|
9380
|
+
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[33]) === "PC"
|
|
9381
|
+
? /*$_*/ ctx[31]("casinoPage.search")
|
|
9382
|
+
: /*$_*/ ctx[31]("casinoPage.searchMobile"));
|
|
9375
9383
|
|
|
9376
9384
|
attr_dev(input, "type", "search");
|
|
9377
|
-
add_location(input, file,
|
|
9385
|
+
add_location(input, file, 737, 12, 29005);
|
|
9378
9386
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9379
|
-
add_location(div0, file,
|
|
9387
|
+
add_location(div0, file, 729, 10, 28522);
|
|
9380
9388
|
|
|
9381
9389
|
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[19] && !/*favoritesScreen*/ ctx[15] && !/*mostPlayedScreen*/ ctx[20] && !/*lobbyViewAux*/ ctx[18]
|
|
9382
9390
|
? "SearchTruncated"
|
|
9383
9391
|
: ""));
|
|
9384
9392
|
|
|
9385
|
-
add_location(div1, file,
|
|
9393
|
+
add_location(div1, file, 727, 8, 28307);
|
|
9386
9394
|
|
|
9387
|
-
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[
|
|
9395
|
+
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[33]) !== "PC"
|
|
9388
9396
|
? "CategoriesHeaderMobileSection"
|
|
9389
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9397
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[28]
|
|
9390
9398
|
? "SearchMobileActive"
|
|
9391
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9399
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[28] || /*searched*/ ctx[17] && !(getDevice(/*userAgent*/ ctx[33]) === "PC") && !/*closeSearch*/ ctx[32]
|
|
9392
9400
|
? "CategoriesHeaderSearchActive"
|
|
9393
|
-
: "") + (/*adjustingScroll*/ ctx[
|
|
9401
|
+
: "") + (/*adjustingScroll*/ ctx[22] && /*mobileSearchViewActive*/ ctx[28]
|
|
9394
9402
|
? "SearchStickTop"
|
|
9395
9403
|
: ""));
|
|
9396
9404
|
|
|
9397
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9405
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[22] && /*mobileSearchViewActive*/ ctx[28]
|
|
9398
9406
|
? scrollOffset + "px"
|
|
9399
9407
|
: "");
|
|
9400
9408
|
|
|
9401
|
-
add_location(div2, file,
|
|
9409
|
+
add_location(div2, file, 725, 6, 27788);
|
|
9402
9410
|
},
|
|
9403
9411
|
m: function mount(target, anchor) {
|
|
9404
9412
|
insert_dev(target, div2, anchor);
|
|
@@ -9409,29 +9417,29 @@
|
|
|
9409
9417
|
if (if_block0) if_block0.m(div0, null);
|
|
9410
9418
|
append_dev(div0, t2);
|
|
9411
9419
|
append_dev(div0, input);
|
|
9412
|
-
/*input_binding_1*/ ctx[
|
|
9420
|
+
/*input_binding_1*/ ctx[54](input);
|
|
9413
9421
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9414
9422
|
append_dev(div0, t3);
|
|
9415
9423
|
if (if_block1) if_block1.m(div0, null);
|
|
9416
9424
|
append_dev(div2, t4);
|
|
9417
9425
|
if (if_block2) if_block2.m(div2, null);
|
|
9418
|
-
/*div2_binding_1*/ ctx[
|
|
9426
|
+
/*div2_binding_1*/ ctx[59](div2);
|
|
9419
9427
|
|
|
9420
9428
|
if (!mounted) {
|
|
9421
9429
|
dispose = [
|
|
9422
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
9423
|
-
listen_dev(input, "blur", /*onBlur*/ ctx[
|
|
9424
|
-
listen_dev(input, "input", /*input_input_handler_1*/ ctx[
|
|
9425
|
-
listen_dev(input, "focus", /*searchActivated*/ ctx[
|
|
9430
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[35], false, false, false),
|
|
9431
|
+
listen_dev(input, "blur", /*onBlur*/ ctx[36], false, false, false),
|
|
9432
|
+
listen_dev(input, "input", /*input_input_handler_1*/ ctx[55]),
|
|
9433
|
+
listen_dev(input, "focus", /*searchActivated*/ ctx[37], false, false, false)
|
|
9426
9434
|
];
|
|
9427
9435
|
|
|
9428
9436
|
mounted = true;
|
|
9429
9437
|
}
|
|
9430
9438
|
},
|
|
9431
9439
|
p: function update(ctx, dirty) {
|
|
9432
|
-
if (!/*mobileSearchViewActive*/ ctx[
|
|
9440
|
+
if (!/*mobileSearchViewActive*/ ctx[28]) {
|
|
9433
9441
|
if (if_block0) ; else {
|
|
9434
|
-
if_block0 =
|
|
9442
|
+
if_block0 = create_if_block_20(ctx);
|
|
9435
9443
|
if_block0.c();
|
|
9436
9444
|
if_block0.m(div0, t2);
|
|
9437
9445
|
}
|
|
@@ -9440,9 +9448,9 @@
|
|
|
9440
9448
|
if_block0 = null;
|
|
9441
9449
|
}
|
|
9442
9450
|
|
|
9443
|
-
if (dirty[
|
|
9444
|
-
? /*$_*/ ctx[
|
|
9445
|
-
: /*$_*/ ctx[
|
|
9451
|
+
if (dirty[1] & /*$_*/ 1 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[33]) === "PC"
|
|
9452
|
+
? /*$_*/ ctx[31]("casinoPage.search")
|
|
9453
|
+
: /*$_*/ ctx[31]("casinoPage.searchMobile"))) {
|
|
9446
9454
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
9447
9455
|
}
|
|
9448
9456
|
|
|
@@ -9450,13 +9458,13 @@
|
|
|
9450
9458
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9451
9459
|
}
|
|
9452
9460
|
|
|
9453
|
-
if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[
|
|
9461
|
+
if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[33]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[33]) !== "PC";
|
|
9454
9462
|
|
|
9455
9463
|
if (show_if) {
|
|
9456
9464
|
if (if_block1) {
|
|
9457
9465
|
if_block1.p(ctx, dirty);
|
|
9458
9466
|
} else {
|
|
9459
|
-
if_block1 =
|
|
9467
|
+
if_block1 = create_if_block_19(ctx);
|
|
9460
9468
|
if_block1.c();
|
|
9461
9469
|
if_block1.m(div0, null);
|
|
9462
9470
|
}
|
|
@@ -9471,11 +9479,11 @@
|
|
|
9471
9479
|
attr_dev(div1, "class", div1_class_value);
|
|
9472
9480
|
}
|
|
9473
9481
|
|
|
9474
|
-
if (!/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[
|
|
9482
|
+
if (!/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[28] && !/*mostPlayedScreen*/ ctx[20] && !/*recentSearches*/ ctx[16] && !/*searched*/ ctx[17] && !/*lobbyViewAux*/ ctx[18]) {
|
|
9475
9483
|
if (if_block2) {
|
|
9476
9484
|
if_block2.p(ctx, dirty);
|
|
9477
9485
|
} else {
|
|
9478
|
-
if_block2 =
|
|
9486
|
+
if_block2 = create_if_block_15(ctx);
|
|
9479
9487
|
if_block2.c();
|
|
9480
9488
|
if_block2.m(div2, null);
|
|
9481
9489
|
}
|
|
@@ -9484,20 +9492,20 @@
|
|
|
9484
9492
|
if_block2 = null;
|
|
9485
9493
|
}
|
|
9486
9494
|
|
|
9487
|
-
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/
|
|
9495
|
+
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 272760832 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[33]) !== "PC"
|
|
9488
9496
|
? "CategoriesHeaderMobileSection"
|
|
9489
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9497
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[28]
|
|
9490
9498
|
? "SearchMobileActive"
|
|
9491
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9499
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[28] || /*searched*/ ctx[17] && !(getDevice(/*userAgent*/ ctx[33]) === "PC") && !/*closeSearch*/ ctx[32]
|
|
9492
9500
|
? "CategoriesHeaderSearchActive"
|
|
9493
|
-
: "") + (/*adjustingScroll*/ ctx[
|
|
9501
|
+
: "") + (/*adjustingScroll*/ ctx[22] && /*mobileSearchViewActive*/ ctx[28]
|
|
9494
9502
|
? "SearchStickTop"
|
|
9495
9503
|
: ""))) {
|
|
9496
9504
|
attr_dev(div2, "class", div2_class_value);
|
|
9497
9505
|
}
|
|
9498
9506
|
|
|
9499
|
-
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/
|
|
9500
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9507
|
+
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 272629760) {
|
|
9508
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[22] && /*mobileSearchViewActive*/ ctx[28]
|
|
9501
9509
|
? scrollOffset + "px"
|
|
9502
9510
|
: "");
|
|
9503
9511
|
}
|
|
@@ -9505,10 +9513,10 @@
|
|
|
9505
9513
|
d: function destroy(detaching) {
|
|
9506
9514
|
if (detaching) detach_dev(div2);
|
|
9507
9515
|
if (if_block0) if_block0.d();
|
|
9508
|
-
/*input_binding_1*/ ctx[
|
|
9516
|
+
/*input_binding_1*/ ctx[54](null);
|
|
9509
9517
|
if (if_block1) if_block1.d();
|
|
9510
9518
|
if (if_block2) if_block2.d();
|
|
9511
|
-
/*div2_binding_1*/ ctx[
|
|
9519
|
+
/*div2_binding_1*/ ctx[59](null);
|
|
9512
9520
|
mounted = false;
|
|
9513
9521
|
run_all(dispose);
|
|
9514
9522
|
}
|
|
@@ -9516,17 +9524,17 @@
|
|
|
9516
9524
|
|
|
9517
9525
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9518
9526
|
block,
|
|
9519
|
-
id:
|
|
9527
|
+
id: create_else_block_2.name,
|
|
9520
9528
|
type: "else",
|
|
9521
|
-
source: "(
|
|
9529
|
+
source: "(724:4) {:else}",
|
|
9522
9530
|
ctx
|
|
9523
9531
|
});
|
|
9524
9532
|
|
|
9525
9533
|
return block;
|
|
9526
9534
|
}
|
|
9527
9535
|
|
|
9528
|
-
// (
|
|
9529
|
-
function
|
|
9536
|
+
// (667:4) {#if alternativesearch === 'false'}
|
|
9537
|
+
function create_if_block_8(ctx) {
|
|
9530
9538
|
let div2;
|
|
9531
9539
|
let div1;
|
|
9532
9540
|
let label;
|
|
@@ -9536,15 +9544,15 @@
|
|
|
9536
9544
|
let input;
|
|
9537
9545
|
let input_placeholder_value;
|
|
9538
9546
|
let t3;
|
|
9539
|
-
let show_if = getDevice(/*userAgent*/ ctx[
|
|
9547
|
+
let show_if = getDevice(/*userAgent*/ ctx[33]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[33]) !== "PC";
|
|
9540
9548
|
let div1_class_value;
|
|
9541
9549
|
let t4;
|
|
9542
9550
|
let div2_class_value;
|
|
9543
9551
|
let mounted;
|
|
9544
9552
|
let dispose;
|
|
9545
|
-
let if_block0 = !/*mobileSearchViewActive*/ ctx[
|
|
9546
|
-
let if_block1 = show_if &&
|
|
9547
|
-
let if_block2 = !/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[
|
|
9553
|
+
let if_block0 = !/*mobileSearchViewActive*/ ctx[28] && create_if_block_14(ctx);
|
|
9554
|
+
let if_block1 = show_if && create_if_block_13(ctx);
|
|
9555
|
+
let if_block2 = !/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[28] && !/*mostPlayedScreen*/ ctx[20] && !/*recentSearches*/ ctx[16] && !/*searched*/ ctx[17] && !/*lobbyViewAux*/ ctx[18] && create_if_block_9(ctx);
|
|
9548
9556
|
|
|
9549
9557
|
const block = {
|
|
9550
9558
|
c: function create() {
|
|
@@ -9563,40 +9571,40 @@
|
|
|
9563
9571
|
if (if_block2) if_block2.c();
|
|
9564
9572
|
attr_dev(label, "for", "search");
|
|
9565
9573
|
attr_dev(label, "class", "SrOnly");
|
|
9566
|
-
add_location(label, file,
|
|
9574
|
+
add_location(label, file, 671, 10, 24106);
|
|
9567
9575
|
attr_dev(input, "id", "SearchField");
|
|
9568
9576
|
attr_dev(input, "class", "SearchInput");
|
|
9569
9577
|
|
|
9570
|
-
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[
|
|
9571
|
-
? /*$_*/ ctx[
|
|
9572
|
-
: /*$_*/ ctx[
|
|
9578
|
+
attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[33]) === "PC"
|
|
9579
|
+
? /*$_*/ ctx[31]("casinoPage.search")
|
|
9580
|
+
: /*$_*/ ctx[31]("casinoPage.searchMobile"));
|
|
9573
9581
|
|
|
9574
9582
|
attr_dev(input, "type", "search");
|
|
9575
|
-
add_location(input, file,
|
|
9583
|
+
add_location(input, file, 680, 12, 24662);
|
|
9576
9584
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9577
|
-
add_location(div0, file,
|
|
9585
|
+
add_location(div0, file, 672, 10, 24179);
|
|
9578
9586
|
|
|
9579
9587
|
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[19] && !/*favoritesScreen*/ ctx[15] && !/*mostPlayedScreen*/ ctx[20] && !/*lobbyViewAux*/ ctx[18]
|
|
9580
9588
|
? "SearchTruncated"
|
|
9581
9589
|
: ""));
|
|
9582
9590
|
|
|
9583
|
-
add_location(div1, file,
|
|
9591
|
+
add_location(div1, file, 670, 8, 23964);
|
|
9584
9592
|
|
|
9585
|
-
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[
|
|
9593
|
+
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[33]) !== "PC"
|
|
9586
9594
|
? "CategoriesHeaderMobileSection"
|
|
9587
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9595
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[28]
|
|
9588
9596
|
? "SearchMobileActive"
|
|
9589
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9597
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[28] || /*searched*/ ctx[17] && !(getDevice(/*userAgent*/ ctx[33]) === "PC") && !/*closeSearch*/ ctx[32]
|
|
9590
9598
|
? "CategoriesHeaderSearchActive"
|
|
9591
|
-
: "") + " " + (/*adjustingScroll*/ ctx[
|
|
9599
|
+
: "") + " " + (/*adjustingScroll*/ ctx[22] && /*mobileSearchViewActive*/ ctx[28]
|
|
9592
9600
|
? "SearchStickTop"
|
|
9593
9601
|
: ""));
|
|
9594
9602
|
|
|
9595
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9603
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[22] && /*mobileSearchViewActive*/ ctx[28]
|
|
9596
9604
|
? scrollOffset + "px"
|
|
9597
9605
|
: "");
|
|
9598
9606
|
|
|
9599
|
-
add_location(div2, file,
|
|
9607
|
+
add_location(div2, file, 668, 6, 23477);
|
|
9600
9608
|
},
|
|
9601
9609
|
m: function mount(target, anchor) {
|
|
9602
9610
|
insert_dev(target, div2, anchor);
|
|
@@ -9607,29 +9615,29 @@
|
|
|
9607
9615
|
if (if_block0) if_block0.m(div0, null);
|
|
9608
9616
|
append_dev(div0, t2);
|
|
9609
9617
|
append_dev(div0, input);
|
|
9610
|
-
/*input_binding*/ ctx[
|
|
9618
|
+
/*input_binding*/ ctx[48](input);
|
|
9611
9619
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9612
9620
|
append_dev(div0, t3);
|
|
9613
9621
|
if (if_block1) if_block1.m(div0, null);
|
|
9614
9622
|
append_dev(div2, t4);
|
|
9615
9623
|
if (if_block2) if_block2.m(div2, null);
|
|
9616
|
-
/*div2_binding*/ ctx[
|
|
9624
|
+
/*div2_binding*/ ctx[53](div2);
|
|
9617
9625
|
|
|
9618
9626
|
if (!mounted) {
|
|
9619
9627
|
dispose = [
|
|
9620
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
9621
|
-
listen_dev(input, "blur", /*onBlur*/ ctx[
|
|
9622
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
9623
|
-
listen_dev(input, "focus", /*searchActivated*/ ctx[
|
|
9628
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[35], false, false, false),
|
|
9629
|
+
listen_dev(input, "blur", /*onBlur*/ ctx[36], false, false, false),
|
|
9630
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[49]),
|
|
9631
|
+
listen_dev(input, "focus", /*searchActivated*/ ctx[37], false, false, false)
|
|
9624
9632
|
];
|
|
9625
9633
|
|
|
9626
9634
|
mounted = true;
|
|
9627
9635
|
}
|
|
9628
9636
|
},
|
|
9629
9637
|
p: function update(ctx, dirty) {
|
|
9630
|
-
if (!/*mobileSearchViewActive*/ ctx[
|
|
9638
|
+
if (!/*mobileSearchViewActive*/ ctx[28]) {
|
|
9631
9639
|
if (if_block0) ; else {
|
|
9632
|
-
if_block0 =
|
|
9640
|
+
if_block0 = create_if_block_14(ctx);
|
|
9633
9641
|
if_block0.c();
|
|
9634
9642
|
if_block0.m(div0, t2);
|
|
9635
9643
|
}
|
|
@@ -9638,9 +9646,9 @@
|
|
|
9638
9646
|
if_block0 = null;
|
|
9639
9647
|
}
|
|
9640
9648
|
|
|
9641
|
-
if (dirty[
|
|
9642
|
-
? /*$_*/ ctx[
|
|
9643
|
-
: /*$_*/ ctx[
|
|
9649
|
+
if (dirty[1] & /*$_*/ 1 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[33]) === "PC"
|
|
9650
|
+
? /*$_*/ ctx[31]("casinoPage.search")
|
|
9651
|
+
: /*$_*/ ctx[31]("casinoPage.searchMobile"))) {
|
|
9644
9652
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
9645
9653
|
}
|
|
9646
9654
|
|
|
@@ -9648,13 +9656,13 @@
|
|
|
9648
9656
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9649
9657
|
}
|
|
9650
9658
|
|
|
9651
|
-
if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[
|
|
9659
|
+
if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[33]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[33]) !== "PC";
|
|
9652
9660
|
|
|
9653
9661
|
if (show_if) {
|
|
9654
9662
|
if (if_block1) {
|
|
9655
9663
|
if_block1.p(ctx, dirty);
|
|
9656
9664
|
} else {
|
|
9657
|
-
if_block1 =
|
|
9665
|
+
if_block1 = create_if_block_13(ctx);
|
|
9658
9666
|
if_block1.c();
|
|
9659
9667
|
if_block1.m(div0, null);
|
|
9660
9668
|
}
|
|
@@ -9669,11 +9677,11 @@
|
|
|
9669
9677
|
attr_dev(div1, "class", div1_class_value);
|
|
9670
9678
|
}
|
|
9671
9679
|
|
|
9672
|
-
if (!/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[
|
|
9680
|
+
if (!/*favoritesScreen*/ ctx[15] && !/*lobbyScreen*/ ctx[19] && !/*mobileSearchViewActive*/ ctx[28] && !/*mostPlayedScreen*/ ctx[20] && !/*recentSearches*/ ctx[16] && !/*searched*/ ctx[17] && !/*lobbyViewAux*/ ctx[18]) {
|
|
9673
9681
|
if (if_block2) {
|
|
9674
9682
|
if_block2.p(ctx, dirty);
|
|
9675
9683
|
} else {
|
|
9676
|
-
if_block2 =
|
|
9684
|
+
if_block2 = create_if_block_9(ctx);
|
|
9677
9685
|
if_block2.c();
|
|
9678
9686
|
if_block2.m(div2, null);
|
|
9679
9687
|
}
|
|
@@ -9682,20 +9690,20 @@
|
|
|
9682
9690
|
if_block2 = null;
|
|
9683
9691
|
}
|
|
9684
9692
|
|
|
9685
|
-
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/
|
|
9693
|
+
if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 272760832 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[33]) !== "PC"
|
|
9686
9694
|
? "CategoriesHeaderMobileSection"
|
|
9687
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9695
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[28]
|
|
9688
9696
|
? "SearchMobileActive"
|
|
9689
|
-
: "") + " " + (/*mobileSearchViewActive*/ ctx[
|
|
9697
|
+
: "") + " " + (/*mobileSearchViewActive*/ ctx[28] || /*searched*/ ctx[17] && !(getDevice(/*userAgent*/ ctx[33]) === "PC") && !/*closeSearch*/ ctx[32]
|
|
9690
9698
|
? "CategoriesHeaderSearchActive"
|
|
9691
|
-
: "") + " " + (/*adjustingScroll*/ ctx[
|
|
9699
|
+
: "") + " " + (/*adjustingScroll*/ ctx[22] && /*mobileSearchViewActive*/ ctx[28]
|
|
9692
9700
|
? "SearchStickTop"
|
|
9693
9701
|
: ""))) {
|
|
9694
9702
|
attr_dev(div2, "class", div2_class_value);
|
|
9695
9703
|
}
|
|
9696
9704
|
|
|
9697
|
-
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/
|
|
9698
|
-
set_style(div2, "top", /*adjustingScroll*/ ctx[
|
|
9705
|
+
if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 272629760) {
|
|
9706
|
+
set_style(div2, "top", /*adjustingScroll*/ ctx[22] && /*mobileSearchViewActive*/ ctx[28]
|
|
9699
9707
|
? scrollOffset + "px"
|
|
9700
9708
|
: "");
|
|
9701
9709
|
}
|
|
@@ -9703,10 +9711,10 @@
|
|
|
9703
9711
|
d: function destroy(detaching) {
|
|
9704
9712
|
if (detaching) detach_dev(div2);
|
|
9705
9713
|
if (if_block0) if_block0.d();
|
|
9706
|
-
/*input_binding*/ ctx[
|
|
9714
|
+
/*input_binding*/ ctx[48](null);
|
|
9707
9715
|
if (if_block1) if_block1.d();
|
|
9708
9716
|
if (if_block2) if_block2.d();
|
|
9709
|
-
/*div2_binding*/ ctx[
|
|
9717
|
+
/*div2_binding*/ ctx[53](null);
|
|
9710
9718
|
mounted = false;
|
|
9711
9719
|
run_all(dispose);
|
|
9712
9720
|
}
|
|
@@ -9714,17 +9722,17 @@
|
|
|
9714
9722
|
|
|
9715
9723
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9716
9724
|
block,
|
|
9717
|
-
id:
|
|
9725
|
+
id: create_if_block_8.name,
|
|
9718
9726
|
type: "if",
|
|
9719
|
-
source: "(
|
|
9727
|
+
source: "(667:4) {#if alternativesearch === 'false'}",
|
|
9720
9728
|
ctx
|
|
9721
9729
|
});
|
|
9722
9730
|
|
|
9723
9731
|
return block;
|
|
9724
9732
|
}
|
|
9725
9733
|
|
|
9726
|
-
// (
|
|
9727
|
-
function
|
|
9734
|
+
// (731:12) {#if !mobileSearchViewActive}
|
|
9735
|
+
function create_if_block_20(ctx) {
|
|
9728
9736
|
let div;
|
|
9729
9737
|
let svg;
|
|
9730
9738
|
let path;
|
|
@@ -9737,14 +9745,14 @@
|
|
|
9737
9745
|
attr_dev(path, "fill-rule", "evenodd");
|
|
9738
9746
|
attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
|
|
9739
9747
|
attr_dev(path, "clip-rule", "evenodd");
|
|
9740
|
-
add_location(path, file,
|
|
9748
|
+
add_location(path, file, 733, 18, 28765);
|
|
9741
9749
|
attr_dev(svg, "role", "presentation");
|
|
9742
9750
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
9743
9751
|
attr_dev(svg, "viewBox", "0 0 20 20");
|
|
9744
9752
|
attr_dev(svg, "aria-hidden", "true");
|
|
9745
|
-
add_location(svg, file,
|
|
9753
|
+
add_location(svg, file, 732, 16, 28647);
|
|
9746
9754
|
attr_dev(div, "class", "SearchIcon");
|
|
9747
|
-
add_location(div, file,
|
|
9755
|
+
add_location(div, file, 731, 14, 28606);
|
|
9748
9756
|
},
|
|
9749
9757
|
m: function mount(target, anchor) {
|
|
9750
9758
|
insert_dev(target, div, anchor);
|
|
@@ -9758,17 +9766,17 @@
|
|
|
9758
9766
|
|
|
9759
9767
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9760
9768
|
block,
|
|
9761
|
-
id:
|
|
9769
|
+
id: create_if_block_20.name,
|
|
9762
9770
|
type: "if",
|
|
9763
|
-
source: "(
|
|
9771
|
+
source: "(731:12) {#if !mobileSearchViewActive}",
|
|
9764
9772
|
ctx
|
|
9765
9773
|
});
|
|
9766
9774
|
|
|
9767
9775
|
return block;
|
|
9768
9776
|
}
|
|
9769
9777
|
|
|
9770
|
-
// (
|
|
9771
|
-
function
|
|
9778
|
+
// (739:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
9779
|
+
function create_if_block_19(ctx) {
|
|
9772
9780
|
let span;
|
|
9773
9781
|
let div2;
|
|
9774
9782
|
let div1;
|
|
@@ -9783,17 +9791,17 @@
|
|
|
9783
9791
|
div1 = element("div");
|
|
9784
9792
|
div0 = element("div");
|
|
9785
9793
|
attr_dev(div0, "class", "CloseIcon");
|
|
9786
|
-
add_location(div0, file,
|
|
9794
|
+
add_location(div0, file, 742, 20, 29665);
|
|
9787
9795
|
attr_dev(div1, "class", "CloseIconWrapper");
|
|
9788
|
-
add_location(div1, file,
|
|
9796
|
+
add_location(div1, file, 741, 18, 29614);
|
|
9789
9797
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
9790
|
-
add_location(div2, file,
|
|
9798
|
+
add_location(div2, file, 740, 16, 29563);
|
|
9791
9799
|
|
|
9792
|
-
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[
|
|
9800
|
+
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[33]) === "PC"
|
|
9793
9801
|
? "ClearSearchButton"
|
|
9794
9802
|
: "ClearSearchButtonMobile") + " "));
|
|
9795
9803
|
|
|
9796
|
-
add_location(span, file,
|
|
9804
|
+
add_location(span, file, 739, 14, 29411);
|
|
9797
9805
|
},
|
|
9798
9806
|
m: function mount(target, anchor) {
|
|
9799
9807
|
insert_dev(target, span, anchor);
|
|
@@ -9802,7 +9810,7 @@
|
|
|
9802
9810
|
append_dev(div1, div0);
|
|
9803
9811
|
|
|
9804
9812
|
if (!mounted) {
|
|
9805
|
-
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[
|
|
9813
|
+
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[56], false, false, false);
|
|
9806
9814
|
mounted = true;
|
|
9807
9815
|
}
|
|
9808
9816
|
},
|
|
@@ -9816,21 +9824,21 @@
|
|
|
9816
9824
|
|
|
9817
9825
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9818
9826
|
block,
|
|
9819
|
-
id:
|
|
9827
|
+
id: create_if_block_19.name,
|
|
9820
9828
|
type: "if",
|
|
9821
|
-
source: "(
|
|
9829
|
+
source: "(739:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
9822
9830
|
ctx
|
|
9823
9831
|
});
|
|
9824
9832
|
|
|
9825
9833
|
return block;
|
|
9826
9834
|
}
|
|
9827
9835
|
|
|
9828
|
-
// (
|
|
9829
|
-
function
|
|
9836
|
+
// (750:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
9837
|
+
function create_if_block_15(ctx) {
|
|
9830
9838
|
let div;
|
|
9831
9839
|
let t;
|
|
9832
|
-
let if_block0 = /*numberOfFilters*/ ctx[
|
|
9833
|
-
let if_block1 = (!/*searched*/ ctx[17] || !/*recentSearches*/ ctx[16]) &&
|
|
9840
|
+
let if_block0 = /*numberOfFilters*/ ctx[29] && create_if_block_18(ctx);
|
|
9841
|
+
let if_block1 = (!/*searched*/ ctx[17] || !/*recentSearches*/ ctx[16]) && create_if_block_16(ctx);
|
|
9834
9842
|
|
|
9835
9843
|
const block = {
|
|
9836
9844
|
c: function create() {
|
|
@@ -9839,7 +9847,7 @@
|
|
|
9839
9847
|
t = space();
|
|
9840
9848
|
if (if_block1) if_block1.c();
|
|
9841
9849
|
attr_dev(div, "class", "FiltersButtonsContainer");
|
|
9842
|
-
add_location(div, file,
|
|
9850
|
+
add_location(div, file, 750, 10, 29969);
|
|
9843
9851
|
},
|
|
9844
9852
|
m: function mount(target, anchor) {
|
|
9845
9853
|
insert_dev(target, div, anchor);
|
|
@@ -9848,11 +9856,11 @@
|
|
|
9848
9856
|
if (if_block1) if_block1.m(div, null);
|
|
9849
9857
|
},
|
|
9850
9858
|
p: function update(ctx, dirty) {
|
|
9851
|
-
if (/*numberOfFilters*/ ctx[
|
|
9859
|
+
if (/*numberOfFilters*/ ctx[29]) {
|
|
9852
9860
|
if (if_block0) {
|
|
9853
9861
|
if_block0.p(ctx, dirty);
|
|
9854
9862
|
} else {
|
|
9855
|
-
if_block0 =
|
|
9863
|
+
if_block0 = create_if_block_18(ctx);
|
|
9856
9864
|
if_block0.c();
|
|
9857
9865
|
if_block0.m(div, t);
|
|
9858
9866
|
}
|
|
@@ -9865,7 +9873,7 @@
|
|
|
9865
9873
|
if (if_block1) {
|
|
9866
9874
|
if_block1.p(ctx, dirty);
|
|
9867
9875
|
} else {
|
|
9868
|
-
if_block1 =
|
|
9876
|
+
if_block1 = create_if_block_16(ctx);
|
|
9869
9877
|
if_block1.c();
|
|
9870
9878
|
if_block1.m(div, null);
|
|
9871
9879
|
}
|
|
@@ -9883,17 +9891,17 @@
|
|
|
9883
9891
|
|
|
9884
9892
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9885
9893
|
block,
|
|
9886
|
-
id:
|
|
9894
|
+
id: create_if_block_15.name,
|
|
9887
9895
|
type: "if",
|
|
9888
|
-
source: "(
|
|
9896
|
+
source: "(750:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
9889
9897
|
ctx
|
|
9890
9898
|
});
|
|
9891
9899
|
|
|
9892
9900
|
return block;
|
|
9893
9901
|
}
|
|
9894
9902
|
|
|
9895
|
-
// (
|
|
9896
|
-
function
|
|
9903
|
+
// (752:12) {#if numberOfFilters}
|
|
9904
|
+
function create_if_block_18(ctx) {
|
|
9897
9905
|
let div1;
|
|
9898
9906
|
let div0;
|
|
9899
9907
|
let t;
|
|
@@ -9914,7 +9922,7 @@
|
|
|
9914
9922
|
polygon = svg_element("polygon");
|
|
9915
9923
|
set_style(polygon, "fill", "#FD2839");
|
|
9916
9924
|
attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
|
|
9917
|
-
add_location(polygon, file,
|
|
9925
|
+
add_location(polygon, file, 757, 22, 30559);
|
|
9918
9926
|
attr_dev(svg, "version", "1.1");
|
|
9919
9927
|
attr_dev(svg, "id", "Layer_1");
|
|
9920
9928
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -9924,13 +9932,13 @@
|
|
|
9924
9932
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
9925
9933
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
9926
9934
|
attr_dev(svg, "xml:space", "preserve");
|
|
9927
|
-
add_location(svg, file,
|
|
9935
|
+
add_location(svg, file, 755, 20, 30284);
|
|
9928
9936
|
attr_dev(span, "class", "ClearIcon");
|
|
9929
|
-
add_location(span, file,
|
|
9937
|
+
add_location(span, file, 754, 18, 30239);
|
|
9930
9938
|
attr_dev(div0, "class", "ClearButton");
|
|
9931
|
-
add_location(div0, file,
|
|
9932
|
-
attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[
|
|
9933
|
-
add_location(div1, file,
|
|
9939
|
+
add_location(div0, file, 753, 16, 30190);
|
|
9940
|
+
attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[29] ? "FiltersActive" : ""));
|
|
9941
|
+
add_location(div1, file, 752, 14, 30055);
|
|
9934
9942
|
},
|
|
9935
9943
|
m: function mount(target, anchor) {
|
|
9936
9944
|
insert_dev(target, div1, anchor);
|
|
@@ -9941,12 +9949,12 @@
|
|
|
9941
9949
|
append_dev(svg, polygon);
|
|
9942
9950
|
|
|
9943
9951
|
if (!mounted) {
|
|
9944
|
-
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[
|
|
9952
|
+
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[57], false, false, false);
|
|
9945
9953
|
mounted = true;
|
|
9946
9954
|
}
|
|
9947
9955
|
},
|
|
9948
9956
|
p: function update(ctx, dirty) {
|
|
9949
|
-
if (dirty[0] & /*numberOfFilters*/
|
|
9957
|
+
if (dirty[0] & /*numberOfFilters*/ 536870912 && div1_class_value !== (div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[29] ? "FiltersActive" : ""))) {
|
|
9950
9958
|
attr_dev(div1, "class", div1_class_value);
|
|
9951
9959
|
}
|
|
9952
9960
|
},
|
|
@@ -9959,19 +9967,19 @@
|
|
|
9959
9967
|
|
|
9960
9968
|
dispatch_dev("SvelteRegisterBlock", {
|
|
9961
9969
|
block,
|
|
9962
|
-
id:
|
|
9970
|
+
id: create_if_block_18.name,
|
|
9963
9971
|
type: "if",
|
|
9964
|
-
source: "(
|
|
9972
|
+
source: "(752:12) {#if numberOfFilters}",
|
|
9965
9973
|
ctx
|
|
9966
9974
|
});
|
|
9967
9975
|
|
|
9968
9976
|
return block;
|
|
9969
9977
|
}
|
|
9970
9978
|
|
|
9971
|
-
// (
|
|
9972
|
-
function
|
|
9979
|
+
// (765:12) {#if !searched || !recentSearches}
|
|
9980
|
+
function create_if_block_16(ctx) {
|
|
9973
9981
|
let if_block_anchor;
|
|
9974
|
-
let if_block = !/*mostPlayedScreen*/ ctx[20] && !/*numberOfFilters*/ ctx[
|
|
9982
|
+
let if_block = !/*mostPlayedScreen*/ ctx[20] && !/*numberOfFilters*/ ctx[29] && create_if_block_17(ctx);
|
|
9975
9983
|
|
|
9976
9984
|
const block = {
|
|
9977
9985
|
c: function create() {
|
|
@@ -9983,11 +9991,11 @@
|
|
|
9983
9991
|
insert_dev(target, if_block_anchor, anchor);
|
|
9984
9992
|
},
|
|
9985
9993
|
p: function update(ctx, dirty) {
|
|
9986
|
-
if (!/*mostPlayedScreen*/ ctx[20] && !/*numberOfFilters*/ ctx[
|
|
9994
|
+
if (!/*mostPlayedScreen*/ ctx[20] && !/*numberOfFilters*/ ctx[29]) {
|
|
9987
9995
|
if (if_block) {
|
|
9988
9996
|
if_block.p(ctx, dirty);
|
|
9989
9997
|
} else {
|
|
9990
|
-
if_block =
|
|
9998
|
+
if_block = create_if_block_17(ctx);
|
|
9991
9999
|
if_block.c();
|
|
9992
10000
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
9993
10001
|
}
|
|
@@ -10004,17 +10012,17 @@
|
|
|
10004
10012
|
|
|
10005
10013
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10006
10014
|
block,
|
|
10007
|
-
id:
|
|
10015
|
+
id: create_if_block_16.name,
|
|
10008
10016
|
type: "if",
|
|
10009
|
-
source: "(
|
|
10017
|
+
source: "(765:12) {#if !searched || !recentSearches}",
|
|
10010
10018
|
ctx
|
|
10011
10019
|
});
|
|
10012
10020
|
|
|
10013
10021
|
return block;
|
|
10014
10022
|
}
|
|
10015
10023
|
|
|
10016
|
-
// (
|
|
10017
|
-
function
|
|
10024
|
+
// (766:14) {#if !mostPlayedScreen && !numberOfFilters}
|
|
10025
|
+
function create_if_block_17(ctx) {
|
|
10018
10026
|
let div3;
|
|
10019
10027
|
let div0;
|
|
10020
10028
|
let t1;
|
|
@@ -10046,28 +10054,28 @@
|
|
|
10046
10054
|
t3 = space();
|
|
10047
10055
|
div1 = element("div");
|
|
10048
10056
|
span = element("span");
|
|
10049
|
-
t4 = text(/*numberOfFilters*/ ctx[
|
|
10057
|
+
t4 = text(/*numberOfFilters*/ ctx[29]);
|
|
10050
10058
|
attr_dev(div0, "class", "FilterButton");
|
|
10051
|
-
add_location(div0, file,
|
|
10052
|
-
add_location(style, file,
|
|
10053
|
-
add_location(defs, file,
|
|
10059
|
+
add_location(div0, file, 767, 18, 31118);
|
|
10060
|
+
add_location(style, file, 769, 109, 31319);
|
|
10061
|
+
add_location(defs, file, 769, 103, 31313);
|
|
10054
10062
|
attr_dev(path, "class", "a");
|
|
10055
10063
|
attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
|
|
10056
10064
|
attr_dev(path, "transform", "translate(-5 -6.2)");
|
|
10057
|
-
add_location(path, file,
|
|
10065
|
+
add_location(path, file, 769, 145, 31355);
|
|
10058
10066
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10059
10067
|
attr_dev(svg, "width", "20");
|
|
10060
10068
|
attr_dev(svg, "height", "20");
|
|
10061
10069
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
10062
|
-
add_location(svg, file,
|
|
10070
|
+
add_location(svg, file, 769, 20, 31230);
|
|
10063
10071
|
attr_dev(span, "class", "NumberOfFilters");
|
|
10064
|
-
add_location(span, file,
|
|
10072
|
+
add_location(span, file, 771, 22, 31916);
|
|
10065
10073
|
attr_dev(div1, "class", "NumberOfFiltersContainer");
|
|
10066
|
-
add_location(div1, file,
|
|
10074
|
+
add_location(div1, file, 770, 20, 31855);
|
|
10067
10075
|
attr_dev(div2, "class", "FilterIconContainer");
|
|
10068
|
-
add_location(div2, file,
|
|
10076
|
+
add_location(div2, file, 768, 18, 31176);
|
|
10069
10077
|
attr_dev(div3, "class", "FilterButtonWrapper");
|
|
10070
|
-
add_location(div3, file,
|
|
10078
|
+
add_location(div3, file, 766, 16, 31026);
|
|
10071
10079
|
},
|
|
10072
10080
|
m: function mount(target, anchor) {
|
|
10073
10081
|
insert_dev(target, div3, anchor);
|
|
@@ -10085,12 +10093,12 @@
|
|
|
10085
10093
|
append_dev(span, t4);
|
|
10086
10094
|
|
|
10087
10095
|
if (!mounted) {
|
|
10088
|
-
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[
|
|
10096
|
+
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[58], false, false, false);
|
|
10089
10097
|
mounted = true;
|
|
10090
10098
|
}
|
|
10091
10099
|
},
|
|
10092
10100
|
p: function update(ctx, dirty) {
|
|
10093
|
-
if (dirty[0] & /*numberOfFilters*/
|
|
10101
|
+
if (dirty[0] & /*numberOfFilters*/ 536870912) set_data_dev(t4, /*numberOfFilters*/ ctx[29]);
|
|
10094
10102
|
},
|
|
10095
10103
|
d: function destroy(detaching) {
|
|
10096
10104
|
if (detaching) detach_dev(div3);
|
|
@@ -10101,17 +10109,17 @@
|
|
|
10101
10109
|
|
|
10102
10110
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10103
10111
|
block,
|
|
10104
|
-
id:
|
|
10112
|
+
id: create_if_block_17.name,
|
|
10105
10113
|
type: "if",
|
|
10106
|
-
source: "(
|
|
10114
|
+
source: "(766:14) {#if !mostPlayedScreen && !numberOfFilters}",
|
|
10107
10115
|
ctx
|
|
10108
10116
|
});
|
|
10109
10117
|
|
|
10110
10118
|
return block;
|
|
10111
10119
|
}
|
|
10112
10120
|
|
|
10113
|
-
// (
|
|
10114
|
-
function
|
|
10121
|
+
// (674:12) {#if !mobileSearchViewActive}
|
|
10122
|
+
function create_if_block_14(ctx) {
|
|
10115
10123
|
let div;
|
|
10116
10124
|
let svg;
|
|
10117
10125
|
let path;
|
|
@@ -10124,14 +10132,14 @@
|
|
|
10124
10132
|
attr_dev(path, "fill-rule", "evenodd");
|
|
10125
10133
|
attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
|
|
10126
10134
|
attr_dev(path, "clip-rule", "evenodd");
|
|
10127
|
-
add_location(path, file,
|
|
10135
|
+
add_location(path, file, 676, 18, 24422);
|
|
10128
10136
|
attr_dev(svg, "role", "presentation");
|
|
10129
10137
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10130
10138
|
attr_dev(svg, "viewBox", "0 0 20 20");
|
|
10131
10139
|
attr_dev(svg, "aria-hidden", "true");
|
|
10132
|
-
add_location(svg, file,
|
|
10140
|
+
add_location(svg, file, 675, 16, 24304);
|
|
10133
10141
|
attr_dev(div, "class", "SearchIcon");
|
|
10134
|
-
add_location(div, file,
|
|
10142
|
+
add_location(div, file, 674, 14, 24263);
|
|
10135
10143
|
},
|
|
10136
10144
|
m: function mount(target, anchor) {
|
|
10137
10145
|
insert_dev(target, div, anchor);
|
|
@@ -10145,17 +10153,17 @@
|
|
|
10145
10153
|
|
|
10146
10154
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10147
10155
|
block,
|
|
10148
|
-
id:
|
|
10156
|
+
id: create_if_block_14.name,
|
|
10149
10157
|
type: "if",
|
|
10150
|
-
source: "(
|
|
10158
|
+
source: "(674:12) {#if !mobileSearchViewActive}",
|
|
10151
10159
|
ctx
|
|
10152
10160
|
});
|
|
10153
10161
|
|
|
10154
10162
|
return block;
|
|
10155
10163
|
}
|
|
10156
10164
|
|
|
10157
|
-
// (
|
|
10158
|
-
function
|
|
10165
|
+
// (682:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
10166
|
+
function create_if_block_13(ctx) {
|
|
10159
10167
|
let span;
|
|
10160
10168
|
let div2;
|
|
10161
10169
|
let div1;
|
|
@@ -10170,17 +10178,17 @@
|
|
|
10170
10178
|
div1 = element("div");
|
|
10171
10179
|
div0 = element("div");
|
|
10172
10180
|
attr_dev(div0, "class", "CloseIcon");
|
|
10173
|
-
add_location(div0, file,
|
|
10181
|
+
add_location(div0, file, 685, 20, 25322);
|
|
10174
10182
|
attr_dev(div1, "class", "CloseIconWrapper");
|
|
10175
|
-
add_location(div1, file,
|
|
10183
|
+
add_location(div1, file, 684, 18, 25271);
|
|
10176
10184
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
10177
|
-
add_location(div2, file,
|
|
10185
|
+
add_location(div2, file, 683, 16, 25220);
|
|
10178
10186
|
|
|
10179
|
-
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[
|
|
10187
|
+
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[33]) === "PC"
|
|
10180
10188
|
? "ClearSearchButton"
|
|
10181
10189
|
: "ClearSearchButtonMobile") + " "));
|
|
10182
10190
|
|
|
10183
|
-
add_location(span, file,
|
|
10191
|
+
add_location(span, file, 682, 14, 25068);
|
|
10184
10192
|
},
|
|
10185
10193
|
m: function mount(target, anchor) {
|
|
10186
10194
|
insert_dev(target, span, anchor);
|
|
@@ -10189,7 +10197,7 @@
|
|
|
10189
10197
|
append_dev(div1, div0);
|
|
10190
10198
|
|
|
10191
10199
|
if (!mounted) {
|
|
10192
|
-
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[
|
|
10200
|
+
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[50], false, false, false);
|
|
10193
10201
|
mounted = true;
|
|
10194
10202
|
}
|
|
10195
10203
|
},
|
|
@@ -10203,21 +10211,21 @@
|
|
|
10203
10211
|
|
|
10204
10212
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10205
10213
|
block,
|
|
10206
|
-
id:
|
|
10214
|
+
id: create_if_block_13.name,
|
|
10207
10215
|
type: "if",
|
|
10208
|
-
source: "(
|
|
10216
|
+
source: "(682:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
10209
10217
|
ctx
|
|
10210
10218
|
});
|
|
10211
10219
|
|
|
10212
10220
|
return block;
|
|
10213
10221
|
}
|
|
10214
10222
|
|
|
10215
|
-
// (
|
|
10216
|
-
function
|
|
10223
|
+
// (693:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
10224
|
+
function create_if_block_9(ctx) {
|
|
10217
10225
|
let div;
|
|
10218
10226
|
let t;
|
|
10219
|
-
let if_block0 = /*numberOfFilters*/ ctx[
|
|
10220
|
-
let if_block1 = (!/*searched*/ ctx[17] || !/*recentSearches*/ ctx[16]) &&
|
|
10227
|
+
let if_block0 = /*numberOfFilters*/ ctx[29] && create_if_block_12(ctx);
|
|
10228
|
+
let if_block1 = (!/*searched*/ ctx[17] || !/*recentSearches*/ ctx[16]) && create_if_block_10(ctx);
|
|
10221
10229
|
|
|
10222
10230
|
const block = {
|
|
10223
10231
|
c: function create() {
|
|
@@ -10226,7 +10234,7 @@
|
|
|
10226
10234
|
t = space();
|
|
10227
10235
|
if (if_block1) if_block1.c();
|
|
10228
10236
|
attr_dev(div, "class", "FiltersButtonsContainer");
|
|
10229
|
-
add_location(div, file,
|
|
10237
|
+
add_location(div, file, 693, 10, 25626);
|
|
10230
10238
|
},
|
|
10231
10239
|
m: function mount(target, anchor) {
|
|
10232
10240
|
insert_dev(target, div, anchor);
|
|
@@ -10235,11 +10243,11 @@
|
|
|
10235
10243
|
if (if_block1) if_block1.m(div, null);
|
|
10236
10244
|
},
|
|
10237
10245
|
p: function update(ctx, dirty) {
|
|
10238
|
-
if (/*numberOfFilters*/ ctx[
|
|
10246
|
+
if (/*numberOfFilters*/ ctx[29]) {
|
|
10239
10247
|
if (if_block0) {
|
|
10240
10248
|
if_block0.p(ctx, dirty);
|
|
10241
10249
|
} else {
|
|
10242
|
-
if_block0 =
|
|
10250
|
+
if_block0 = create_if_block_12(ctx);
|
|
10243
10251
|
if_block0.c();
|
|
10244
10252
|
if_block0.m(div, t);
|
|
10245
10253
|
}
|
|
@@ -10252,7 +10260,7 @@
|
|
|
10252
10260
|
if (if_block1) {
|
|
10253
10261
|
if_block1.p(ctx, dirty);
|
|
10254
10262
|
} else {
|
|
10255
|
-
if_block1 =
|
|
10263
|
+
if_block1 = create_if_block_10(ctx);
|
|
10256
10264
|
if_block1.c();
|
|
10257
10265
|
if_block1.m(div, null);
|
|
10258
10266
|
}
|
|
@@ -10270,17 +10278,17 @@
|
|
|
10270
10278
|
|
|
10271
10279
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10272
10280
|
block,
|
|
10273
|
-
id:
|
|
10281
|
+
id: create_if_block_9.name,
|
|
10274
10282
|
type: "if",
|
|
10275
|
-
source: "(
|
|
10283
|
+
source: "(693:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
10276
10284
|
ctx
|
|
10277
10285
|
});
|
|
10278
10286
|
|
|
10279
10287
|
return block;
|
|
10280
10288
|
}
|
|
10281
10289
|
|
|
10282
|
-
// (
|
|
10283
|
-
function
|
|
10290
|
+
// (695:12) {#if numberOfFilters}
|
|
10291
|
+
function create_if_block_12(ctx) {
|
|
10284
10292
|
let div1;
|
|
10285
10293
|
let div0;
|
|
10286
10294
|
let t;
|
|
@@ -10300,7 +10308,7 @@
|
|
|
10300
10308
|
polygon = svg_element("polygon");
|
|
10301
10309
|
set_style(polygon, "fill", "#FD2839");
|
|
10302
10310
|
attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
|
|
10303
|
-
add_location(polygon, file,
|
|
10311
|
+
add_location(polygon, file, 700, 22, 26175);
|
|
10304
10312
|
attr_dev(svg, "version", "1.1");
|
|
10305
10313
|
attr_dev(svg, "id", "Layer_1");
|
|
10306
10314
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -10310,13 +10318,13 @@
|
|
|
10310
10318
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
10311
10319
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
10312
10320
|
attr_dev(svg, "xml:space", "preserve");
|
|
10313
|
-
add_location(svg, file,
|
|
10321
|
+
add_location(svg, file, 698, 20, 25900);
|
|
10314
10322
|
attr_dev(span, "class", "ClearIcon");
|
|
10315
|
-
add_location(span, file,
|
|
10323
|
+
add_location(span, file, 697, 18, 25855);
|
|
10316
10324
|
attr_dev(div0, "class", "ClearButton");
|
|
10317
|
-
add_location(div0, file,
|
|
10325
|
+
add_location(div0, file, 696, 16, 25806);
|
|
10318
10326
|
attr_dev(div1, "class", "ClearFilterButtonWrapper");
|
|
10319
|
-
add_location(div1, file,
|
|
10327
|
+
add_location(div1, file, 695, 14, 25712);
|
|
10320
10328
|
},
|
|
10321
10329
|
m: function mount(target, anchor) {
|
|
10322
10330
|
insert_dev(target, div1, anchor);
|
|
@@ -10327,7 +10335,7 @@
|
|
|
10327
10335
|
append_dev(svg, polygon);
|
|
10328
10336
|
|
|
10329
10337
|
if (!mounted) {
|
|
10330
|
-
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[
|
|
10338
|
+
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[51], false, false, false);
|
|
10331
10339
|
mounted = true;
|
|
10332
10340
|
}
|
|
10333
10341
|
},
|
|
@@ -10341,19 +10349,19 @@
|
|
|
10341
10349
|
|
|
10342
10350
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10343
10351
|
block,
|
|
10344
|
-
id:
|
|
10352
|
+
id: create_if_block_12.name,
|
|
10345
10353
|
type: "if",
|
|
10346
|
-
source: "(
|
|
10354
|
+
source: "(695:12) {#if numberOfFilters}",
|
|
10347
10355
|
ctx
|
|
10348
10356
|
});
|
|
10349
10357
|
|
|
10350
10358
|
return block;
|
|
10351
10359
|
}
|
|
10352
10360
|
|
|
10353
|
-
// (
|
|
10354
|
-
function
|
|
10361
|
+
// (708:12) {#if !searched || !recentSearches}
|
|
10362
|
+
function create_if_block_10(ctx) {
|
|
10355
10363
|
let if_block_anchor;
|
|
10356
|
-
let if_block = !/*mostPlayedScreen*/ ctx[20] &&
|
|
10364
|
+
let if_block = !/*mostPlayedScreen*/ ctx[20] && create_if_block_11(ctx);
|
|
10357
10365
|
|
|
10358
10366
|
const block = {
|
|
10359
10367
|
c: function create() {
|
|
@@ -10369,7 +10377,7 @@
|
|
|
10369
10377
|
if (if_block) {
|
|
10370
10378
|
if_block.p(ctx, dirty);
|
|
10371
10379
|
} else {
|
|
10372
|
-
if_block =
|
|
10380
|
+
if_block = create_if_block_11(ctx);
|
|
10373
10381
|
if_block.c();
|
|
10374
10382
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10375
10383
|
}
|
|
@@ -10386,17 +10394,17 @@
|
|
|
10386
10394
|
|
|
10387
10395
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10388
10396
|
block,
|
|
10389
|
-
id:
|
|
10397
|
+
id: create_if_block_10.name,
|
|
10390
10398
|
type: "if",
|
|
10391
|
-
source: "(
|
|
10399
|
+
source: "(708:12) {#if !searched || !recentSearches}",
|
|
10392
10400
|
ctx
|
|
10393
10401
|
});
|
|
10394
10402
|
|
|
10395
10403
|
return block;
|
|
10396
10404
|
}
|
|
10397
10405
|
|
|
10398
|
-
// (
|
|
10399
|
-
function
|
|
10406
|
+
// (709:14) {#if !mostPlayedScreen}
|
|
10407
|
+
function create_if_block_11(ctx) {
|
|
10400
10408
|
let div3;
|
|
10401
10409
|
let div0;
|
|
10402
10410
|
let t1;
|
|
@@ -10428,28 +10436,28 @@
|
|
|
10428
10436
|
t3 = space();
|
|
10429
10437
|
div1 = element("div");
|
|
10430
10438
|
span = element("span");
|
|
10431
|
-
t4 = text(/*numberOfFilters*/ ctx[
|
|
10439
|
+
t4 = text(/*numberOfFilters*/ ctx[29]);
|
|
10432
10440
|
attr_dev(div0, "class", "FilterButton");
|
|
10433
|
-
add_location(div0, file,
|
|
10434
|
-
add_location(style, file,
|
|
10435
|
-
add_location(defs, file,
|
|
10441
|
+
add_location(div0, file, 710, 18, 26714);
|
|
10442
|
+
add_location(style, file, 712, 109, 26915);
|
|
10443
|
+
add_location(defs, file, 712, 103, 26909);
|
|
10436
10444
|
attr_dev(path, "class", "a");
|
|
10437
10445
|
attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
|
|
10438
10446
|
attr_dev(path, "transform", "translate(-5 -6.2)");
|
|
10439
|
-
add_location(path, file,
|
|
10447
|
+
add_location(path, file, 712, 145, 26951);
|
|
10440
10448
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10441
10449
|
attr_dev(svg, "width", "20");
|
|
10442
10450
|
attr_dev(svg, "height", "20");
|
|
10443
10451
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
10444
|
-
add_location(svg, file,
|
|
10452
|
+
add_location(svg, file, 712, 20, 26826);
|
|
10445
10453
|
attr_dev(span, "class", "NumberOfFilters");
|
|
10446
|
-
add_location(span, file,
|
|
10454
|
+
add_location(span, file, 714, 22, 27512);
|
|
10447
10455
|
attr_dev(div1, "class", "NumberOfFiltersContainer");
|
|
10448
|
-
add_location(div1, file,
|
|
10456
|
+
add_location(div1, file, 713, 20, 27451);
|
|
10449
10457
|
attr_dev(div2, "class", "FilterIconContainer");
|
|
10450
|
-
add_location(div2, file,
|
|
10458
|
+
add_location(div2, file, 711, 18, 26772);
|
|
10451
10459
|
attr_dev(div3, "class", "FilterButtonWrapper");
|
|
10452
|
-
add_location(div3, file,
|
|
10460
|
+
add_location(div3, file, 709, 16, 26622);
|
|
10453
10461
|
},
|
|
10454
10462
|
m: function mount(target, anchor) {
|
|
10455
10463
|
insert_dev(target, div3, anchor);
|
|
@@ -10467,12 +10475,12 @@
|
|
|
10467
10475
|
append_dev(span, t4);
|
|
10468
10476
|
|
|
10469
10477
|
if (!mounted) {
|
|
10470
|
-
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[
|
|
10478
|
+
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[52], false, false, false);
|
|
10471
10479
|
mounted = true;
|
|
10472
10480
|
}
|
|
10473
10481
|
},
|
|
10474
10482
|
p: function update(ctx, dirty) {
|
|
10475
|
-
if (dirty[0] & /*numberOfFilters*/
|
|
10483
|
+
if (dirty[0] & /*numberOfFilters*/ 536870912) set_data_dev(t4, /*numberOfFilters*/ ctx[29]);
|
|
10476
10484
|
},
|
|
10477
10485
|
d: function destroy(detaching) {
|
|
10478
10486
|
if (detaching) detach_dev(div3);
|
|
@@ -10483,17 +10491,17 @@
|
|
|
10483
10491
|
|
|
10484
10492
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10485
10493
|
block,
|
|
10486
|
-
id:
|
|
10494
|
+
id: create_if_block_11.name,
|
|
10487
10495
|
type: "if",
|
|
10488
|
-
source: "(
|
|
10496
|
+
source: "(709:14) {#if !mostPlayedScreen}",
|
|
10489
10497
|
ctx
|
|
10490
10498
|
});
|
|
10491
10499
|
|
|
10492
10500
|
return block;
|
|
10493
10501
|
}
|
|
10494
10502
|
|
|
10495
|
-
// (
|
|
10496
|
-
function
|
|
10503
|
+
// (855:10) {#if !recentSearches}
|
|
10504
|
+
function create_if_block_7(ctx) {
|
|
10497
10505
|
let casino_games_category_section;
|
|
10498
10506
|
|
|
10499
10507
|
const block = {
|
|
@@ -10505,12 +10513,12 @@
|
|
|
10505
10513
|
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
10506
10514
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10507
10515
|
set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
|
|
10508
|
-
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[
|
|
10516
|
+
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[25]);
|
|
10509
10517
|
set_custom_element_data(casino_games_category_section, "categorygames", "9");
|
|
10510
10518
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10511
10519
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10512
10520
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10513
|
-
add_location(casino_games_category_section, file,
|
|
10521
|
+
add_location(casino_games_category_section, file, 855, 12, 34563);
|
|
10514
10522
|
},
|
|
10515
10523
|
m: function mount(target, anchor) {
|
|
10516
10524
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -10540,8 +10548,8 @@
|
|
|
10540
10548
|
set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
|
|
10541
10549
|
}
|
|
10542
10550
|
|
|
10543
|
-
if (dirty[0] & /*activeCategory*/
|
|
10544
|
-
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[
|
|
10551
|
+
if (dirty[0] & /*activeCategory*/ 33554432) {
|
|
10552
|
+
set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[25]);
|
|
10545
10553
|
}
|
|
10546
10554
|
|
|
10547
10555
|
if (dirty[0] & /*clientstyling*/ 32) {
|
|
@@ -10559,74 +10567,52 @@
|
|
|
10559
10567
|
|
|
10560
10568
|
dispatch_dev("SvelteRegisterBlock", {
|
|
10561
10569
|
block,
|
|
10562
|
-
id:
|
|
10570
|
+
id: create_if_block_7.name,
|
|
10563
10571
|
type: "if",
|
|
10564
|
-
source: "(
|
|
10572
|
+
source: "(855:10) {#if !recentSearches}",
|
|
10565
10573
|
ctx
|
|
10566
10574
|
});
|
|
10567
10575
|
|
|
10568
10576
|
return block;
|
|
10569
10577
|
}
|
|
10570
10578
|
|
|
10571
|
-
// (
|
|
10579
|
+
// (835:35)
|
|
10572
10580
|
function create_if_block_5(ctx) {
|
|
10573
|
-
let
|
|
10581
|
+
let if_block_anchor;
|
|
10582
|
+
|
|
10583
|
+
function select_block_type_3(ctx, dirty) {
|
|
10584
|
+
if (/*mostPlayedEmpty*/ ctx[21]) return create_if_block_6;
|
|
10585
|
+
return create_else_block_1;
|
|
10586
|
+
}
|
|
10587
|
+
|
|
10588
|
+
let current_block_type = select_block_type_3(ctx);
|
|
10589
|
+
let if_block = current_block_type(ctx);
|
|
10574
10590
|
|
|
10575
10591
|
const block = {
|
|
10576
10592
|
c: function create() {
|
|
10577
|
-
|
|
10578
|
-
|
|
10579
|
-
set_custom_element_data(casino_games_category_section, "userid", /*userid*/ ctx[4]);
|
|
10580
|
-
set_custom_element_data(casino_games_category_section, "endpoint", /*endpoint*/ ctx[0]);
|
|
10581
|
-
set_custom_element_data(casino_games_category_section, "datasource", /*datasource*/ ctx[1]);
|
|
10582
|
-
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10583
|
-
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
10584
|
-
set_custom_element_data(casino_games_category_section, "categoryid", "MOSTPLAYED");
|
|
10585
|
-
set_custom_element_data(casino_games_category_section, "categoryindex", "1");
|
|
10586
|
-
set_custom_element_data(casino_games_category_section, "categorygames", "9");
|
|
10587
|
-
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10588
|
-
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10589
|
-
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10590
|
-
add_location(casino_games_category_section, file, 864, 10, 34905);
|
|
10593
|
+
if_block.c();
|
|
10594
|
+
if_block_anchor = empty();
|
|
10591
10595
|
},
|
|
10592
10596
|
m: function mount(target, anchor) {
|
|
10593
|
-
|
|
10597
|
+
if_block.m(target, anchor);
|
|
10598
|
+
insert_dev(target, if_block_anchor, anchor);
|
|
10594
10599
|
},
|
|
10595
10600
|
p: function update(ctx, dirty) {
|
|
10596
|
-
if (
|
|
10597
|
-
|
|
10598
|
-
}
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
set_custom_element_data(casino_games_category_section, "userid", /*userid*/ ctx[4]);
|
|
10602
|
-
}
|
|
10603
|
-
|
|
10604
|
-
if (dirty[0] & /*endpoint*/ 1) {
|
|
10605
|
-
set_custom_element_data(casino_games_category_section, "endpoint", /*endpoint*/ ctx[0]);
|
|
10606
|
-
}
|
|
10607
|
-
|
|
10608
|
-
if (dirty[0] & /*datasource*/ 2) {
|
|
10609
|
-
set_custom_element_data(casino_games_category_section, "datasource", /*datasource*/ ctx[1]);
|
|
10610
|
-
}
|
|
10611
|
-
|
|
10612
|
-
if (dirty[0] & /*lang*/ 4) {
|
|
10613
|
-
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10614
|
-
}
|
|
10615
|
-
|
|
10616
|
-
if (dirty[0] & /*favorites*/ 512) {
|
|
10617
|
-
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
10618
|
-
}
|
|
10619
|
-
|
|
10620
|
-
if (dirty[0] & /*clientstyling*/ 32) {
|
|
10621
|
-
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10622
|
-
}
|
|
10601
|
+
if (current_block_type === (current_block_type = select_block_type_3(ctx)) && if_block) {
|
|
10602
|
+
if_block.p(ctx, dirty);
|
|
10603
|
+
} else {
|
|
10604
|
+
if_block.d(1);
|
|
10605
|
+
if_block = current_block_type(ctx);
|
|
10623
10606
|
|
|
10624
|
-
|
|
10625
|
-
|
|
10607
|
+
if (if_block) {
|
|
10608
|
+
if_block.c();
|
|
10609
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10610
|
+
}
|
|
10626
10611
|
}
|
|
10627
10612
|
},
|
|
10628
10613
|
d: function destroy(detaching) {
|
|
10629
|
-
|
|
10614
|
+
if_block.d(detaching);
|
|
10615
|
+
if (detaching) detach_dev(if_block_anchor);
|
|
10630
10616
|
}
|
|
10631
10617
|
};
|
|
10632
10618
|
|
|
@@ -10634,14 +10620,14 @@
|
|
|
10634
10620
|
block,
|
|
10635
10621
|
id: create_if_block_5.name,
|
|
10636
10622
|
type: "if",
|
|
10637
|
-
source: "(
|
|
10623
|
+
source: "(835:35) ",
|
|
10638
10624
|
ctx
|
|
10639
10625
|
});
|
|
10640
10626
|
|
|
10641
10627
|
return block;
|
|
10642
10628
|
}
|
|
10643
10629
|
|
|
10644
|
-
// (
|
|
10630
|
+
// (821:34)
|
|
10645
10631
|
function create_if_block_4(ctx) {
|
|
10646
10632
|
let casino_games_category_section;
|
|
10647
10633
|
let showFavoriteGames_action;
|
|
@@ -10661,13 +10647,13 @@
|
|
|
10661
10647
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10662
10648
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10663
10649
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10664
|
-
add_location(casino_games_category_section, file,
|
|
10650
|
+
add_location(casino_games_category_section, file, 821, 10, 33436);
|
|
10665
10651
|
},
|
|
10666
10652
|
m: function mount(target, anchor) {
|
|
10667
10653
|
insert_dev(target, casino_games_category_section, anchor);
|
|
10668
10654
|
|
|
10669
10655
|
if (!mounted) {
|
|
10670
|
-
dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[
|
|
10656
|
+
dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[34].call(null, casino_games_category_section, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[13]}/favorites/`, /*sessionID*/ ctx[14], /*playerID*/ ctx[13])));
|
|
10671
10657
|
mounted = true;
|
|
10672
10658
|
}
|
|
10673
10659
|
},
|
|
@@ -10717,17 +10703,17 @@
|
|
|
10717
10703
|
block,
|
|
10718
10704
|
id: create_if_block_4.name,
|
|
10719
10705
|
type: "if",
|
|
10720
|
-
source: "(
|
|
10706
|
+
source: "(821:34) ",
|
|
10721
10707
|
ctx
|
|
10722
10708
|
});
|
|
10723
10709
|
|
|
10724
10710
|
return block;
|
|
10725
10711
|
}
|
|
10726
10712
|
|
|
10727
|
-
// (
|
|
10713
|
+
// (802:8) {#if lobbyScreen}
|
|
10728
10714
|
function create_if_block_3(ctx) {
|
|
10729
10715
|
let each_1_anchor;
|
|
10730
|
-
let each_value = /*shownCategories*/ ctx[
|
|
10716
|
+
let each_value = /*shownCategories*/ ctx[24];
|
|
10731
10717
|
validate_each_argument(each_value);
|
|
10732
10718
|
let each_blocks = [];
|
|
10733
10719
|
|
|
@@ -10751,8 +10737,8 @@
|
|
|
10751
10737
|
insert_dev(target, each_1_anchor, anchor);
|
|
10752
10738
|
},
|
|
10753
10739
|
p: function update(ctx, dirty) {
|
|
10754
|
-
if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/
|
|
10755
|
-
each_value = /*shownCategories*/ ctx[
|
|
10740
|
+
if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/ 16777983) {
|
|
10741
|
+
each_value = /*shownCategories*/ ctx[24];
|
|
10756
10742
|
validate_each_argument(each_value);
|
|
10757
10743
|
let i;
|
|
10758
10744
|
|
|
@@ -10785,14 +10771,14 @@
|
|
|
10785
10771
|
block,
|
|
10786
10772
|
id: create_if_block_3.name,
|
|
10787
10773
|
type: "if",
|
|
10788
|
-
source: "(
|
|
10774
|
+
source: "(802:8) {#if lobbyScreen}",
|
|
10789
10775
|
ctx
|
|
10790
10776
|
});
|
|
10791
10777
|
|
|
10792
10778
|
return block;
|
|
10793
10779
|
}
|
|
10794
10780
|
|
|
10795
|
-
// (
|
|
10781
|
+
// (787:6) {#if searched}
|
|
10796
10782
|
function create_if_block_2(ctx) {
|
|
10797
10783
|
let casino_games_category_section;
|
|
10798
10784
|
let sendSearchData_action;
|
|
@@ -10812,13 +10798,13 @@
|
|
|
10812
10798
|
set_custom_element_data(casino_games_category_section, "categoryindex", "0");
|
|
10813
10799
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10814
10800
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10815
|
-
add_location(casino_games_category_section, file,
|
|
10801
|
+
add_location(casino_games_category_section, file, 787, 8, 32306);
|
|
10816
10802
|
},
|
|
10817
10803
|
m: function mount(target, anchor) {
|
|
10818
10804
|
insert_dev(target, casino_games_category_section, anchor);
|
|
10819
10805
|
|
|
10820
10806
|
if (!mounted) {
|
|
10821
|
-
dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[
|
|
10807
|
+
dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[42].call(null, casino_games_category_section, /*searchArray*/ ctx[23]));
|
|
10822
10808
|
mounted = true;
|
|
10823
10809
|
}
|
|
10824
10810
|
},
|
|
@@ -10855,7 +10841,7 @@
|
|
|
10855
10841
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10856
10842
|
}
|
|
10857
10843
|
|
|
10858
|
-
if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/
|
|
10844
|
+
if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/ 8388608) sendSearchData_action.update.call(null, /*searchArray*/ ctx[23]);
|
|
10859
10845
|
},
|
|
10860
10846
|
d: function destroy(detaching) {
|
|
10861
10847
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -10868,17 +10854,17 @@
|
|
|
10868
10854
|
block,
|
|
10869
10855
|
id: create_if_block_2.name,
|
|
10870
10856
|
type: "if",
|
|
10871
|
-
source: "(
|
|
10857
|
+
source: "(787:6) {#if searched}",
|
|
10872
10858
|
ctx
|
|
10873
10859
|
});
|
|
10874
10860
|
|
|
10875
10861
|
return block;
|
|
10876
10862
|
}
|
|
10877
10863
|
|
|
10878
|
-
// (
|
|
10864
|
+
// (784:4) {#if isLoading}
|
|
10879
10865
|
function create_if_block_1(ctx) {
|
|
10880
10866
|
let p;
|
|
10881
|
-
let t_value = /*$_*/ ctx[
|
|
10867
|
+
let t_value = /*$_*/ ctx[31]("casinoPage.loading") + "";
|
|
10882
10868
|
let t;
|
|
10883
10869
|
|
|
10884
10870
|
const block = {
|
|
@@ -10886,14 +10872,14 @@
|
|
|
10886
10872
|
p = element("p");
|
|
10887
10873
|
t = text(t_value);
|
|
10888
10874
|
attr_dev(p, "class", "SearchLoading");
|
|
10889
|
-
add_location(p, file,
|
|
10875
|
+
add_location(p, file, 784, 6, 32209);
|
|
10890
10876
|
},
|
|
10891
10877
|
m: function mount(target, anchor) {
|
|
10892
10878
|
insert_dev(target, p, anchor);
|
|
10893
10879
|
append_dev(p, t);
|
|
10894
10880
|
},
|
|
10895
10881
|
p: function update(ctx, dirty) {
|
|
10896
|
-
if (dirty[
|
|
10882
|
+
if (dirty[1] & /*$_*/ 1 && t_value !== (t_value = /*$_*/ ctx[31]("casinoPage.loading") + "")) set_data_dev(t, t_value);
|
|
10897
10883
|
},
|
|
10898
10884
|
d: function destroy(detaching) {
|
|
10899
10885
|
if (detaching) detach_dev(p);
|
|
@@ -10904,14 +10890,118 @@
|
|
|
10904
10890
|
block,
|
|
10905
10891
|
id: create_if_block_1.name,
|
|
10906
10892
|
type: "if",
|
|
10907
|
-
source: "(
|
|
10893
|
+
source: "(784:4) {#if isLoading}",
|
|
10894
|
+
ctx
|
|
10895
|
+
});
|
|
10896
|
+
|
|
10897
|
+
return block;
|
|
10898
|
+
}
|
|
10899
|
+
|
|
10900
|
+
// (838:10) {:else}
|
|
10901
|
+
function create_else_block_1(ctx) {
|
|
10902
|
+
let casino_games_category_section;
|
|
10903
|
+
|
|
10904
|
+
const block = {
|
|
10905
|
+
c: function create() {
|
|
10906
|
+
casino_games_category_section = element("casino-games-category-section");
|
|
10907
|
+
set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
|
|
10908
|
+
set_custom_element_data(casino_games_category_section, "userid", /*userid*/ ctx[4]);
|
|
10909
|
+
set_custom_element_data(casino_games_category_section, "endpoint", /*endpoint*/ ctx[0]);
|
|
10910
|
+
set_custom_element_data(casino_games_category_section, "datasource", /*datasource*/ ctx[1]);
|
|
10911
|
+
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10912
|
+
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
10913
|
+
set_custom_element_data(casino_games_category_section, "categoryid", "MOSTPLAYED");
|
|
10914
|
+
set_custom_element_data(casino_games_category_section, "categoryindex", "1");
|
|
10915
|
+
set_custom_element_data(casino_games_category_section, "categorygames", "9");
|
|
10916
|
+
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10917
|
+
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10918
|
+
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10919
|
+
add_location(casino_games_category_section, file, 838, 12, 34040);
|
|
10920
|
+
},
|
|
10921
|
+
m: function mount(target, anchor) {
|
|
10922
|
+
insert_dev(target, casino_games_category_section, anchor);
|
|
10923
|
+
},
|
|
10924
|
+
p: function update(ctx, dirty) {
|
|
10925
|
+
if (dirty[0] & /*session*/ 8) {
|
|
10926
|
+
set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
|
|
10927
|
+
}
|
|
10928
|
+
|
|
10929
|
+
if (dirty[0] & /*userid*/ 16) {
|
|
10930
|
+
set_custom_element_data(casino_games_category_section, "userid", /*userid*/ ctx[4]);
|
|
10931
|
+
}
|
|
10932
|
+
|
|
10933
|
+
if (dirty[0] & /*endpoint*/ 1) {
|
|
10934
|
+
set_custom_element_data(casino_games_category_section, "endpoint", /*endpoint*/ ctx[0]);
|
|
10935
|
+
}
|
|
10936
|
+
|
|
10937
|
+
if (dirty[0] & /*datasource*/ 2) {
|
|
10938
|
+
set_custom_element_data(casino_games_category_section, "datasource", /*datasource*/ ctx[1]);
|
|
10939
|
+
}
|
|
10940
|
+
|
|
10941
|
+
if (dirty[0] & /*lang*/ 4) {
|
|
10942
|
+
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10943
|
+
}
|
|
10944
|
+
|
|
10945
|
+
if (dirty[0] & /*favorites*/ 512) {
|
|
10946
|
+
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
10947
|
+
}
|
|
10948
|
+
|
|
10949
|
+
if (dirty[0] & /*clientstyling*/ 32) {
|
|
10950
|
+
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10951
|
+
}
|
|
10952
|
+
|
|
10953
|
+
if (dirty[0] & /*clientstylingurl*/ 64) {
|
|
10954
|
+
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10955
|
+
}
|
|
10956
|
+
},
|
|
10957
|
+
d: function destroy(detaching) {
|
|
10958
|
+
if (detaching) detach_dev(casino_games_category_section);
|
|
10959
|
+
}
|
|
10960
|
+
};
|
|
10961
|
+
|
|
10962
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
10963
|
+
block,
|
|
10964
|
+
id: create_else_block_1.name,
|
|
10965
|
+
type: "else",
|
|
10966
|
+
source: "(838:10) {:else}",
|
|
10967
|
+
ctx
|
|
10968
|
+
});
|
|
10969
|
+
|
|
10970
|
+
return block;
|
|
10971
|
+
}
|
|
10972
|
+
|
|
10973
|
+
// (836:10) {#if mostPlayedEmpty}
|
|
10974
|
+
function create_if_block_6(ctx) {
|
|
10975
|
+
let p;
|
|
10976
|
+
|
|
10977
|
+
const block = {
|
|
10978
|
+
c: function create() {
|
|
10979
|
+
p = element("p");
|
|
10980
|
+
p.textContent = "You have no games played!";
|
|
10981
|
+
attr_dev(p, "class", "SearchLoading");
|
|
10982
|
+
add_location(p, file, 836, 12, 33955);
|
|
10983
|
+
},
|
|
10984
|
+
m: function mount(target, anchor) {
|
|
10985
|
+
insert_dev(target, p, anchor);
|
|
10986
|
+
},
|
|
10987
|
+
p: noop$1,
|
|
10988
|
+
d: function destroy(detaching) {
|
|
10989
|
+
if (detaching) detach_dev(p);
|
|
10990
|
+
}
|
|
10991
|
+
};
|
|
10992
|
+
|
|
10993
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
10994
|
+
block,
|
|
10995
|
+
id: create_if_block_6.name,
|
|
10996
|
+
type: "if",
|
|
10997
|
+
source: "(836:10) {#if mostPlayedEmpty}",
|
|
10908
10998
|
ctx
|
|
10909
10999
|
});
|
|
10910
11000
|
|
|
10911
11001
|
return block;
|
|
10912
11002
|
}
|
|
10913
11003
|
|
|
10914
|
-
// (
|
|
11004
|
+
// (803:10) {#each shownCategories as category, index}
|
|
10915
11005
|
function create_each_block(ctx) {
|
|
10916
11006
|
let casino_games_category_section;
|
|
10917
11007
|
let casino_games_category_section_categoryid_value;
|
|
@@ -10939,13 +11029,13 @@
|
|
|
10939
11029
|
|
|
10940
11030
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10941
11031
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10942
|
-
add_location(casino_games_category_section, file,
|
|
11032
|
+
add_location(casino_games_category_section, file, 803, 12, 32781);
|
|
10943
11033
|
},
|
|
10944
11034
|
m: function mount(target, anchor) {
|
|
10945
11035
|
insert_dev(target, casino_games_category_section, anchor);
|
|
10946
11036
|
|
|
10947
11037
|
if (!mounted) {
|
|
10948
|
-
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[
|
|
11038
|
+
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[41].call(null, casino_games_category_section, /*category*/ ctx[105]));
|
|
10949
11039
|
mounted = true;
|
|
10950
11040
|
}
|
|
10951
11041
|
},
|
|
@@ -10972,7 +11062,7 @@
|
|
|
10972
11062
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10973
11063
|
}
|
|
10974
11064
|
|
|
10975
|
-
if (dirty[0] & /*shownCategories*/
|
|
11065
|
+
if (dirty[0] & /*shownCategories*/ 16777216 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[105])) {
|
|
10976
11066
|
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value);
|
|
10977
11067
|
}
|
|
10978
11068
|
|
|
@@ -10994,7 +11084,7 @@
|
|
|
10994
11084
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10995
11085
|
}
|
|
10996
11086
|
|
|
10997
|
-
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/
|
|
11087
|
+
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 16777216) sendCategoryData_action.update.call(null, /*category*/ ctx[105]);
|
|
10998
11088
|
},
|
|
10999
11089
|
d: function destroy(detaching) {
|
|
11000
11090
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -11007,7 +11097,7 @@
|
|
|
11007
11097
|
block,
|
|
11008
11098
|
id: create_each_block.name,
|
|
11009
11099
|
type: "each",
|
|
11010
|
-
source: "(
|
|
11100
|
+
source: "(803:10) {#each shownCategories as category, index}",
|
|
11011
11101
|
ctx
|
|
11012
11102
|
});
|
|
11013
11103
|
|
|
@@ -11075,7 +11165,7 @@
|
|
|
11075
11165
|
function instance($$self, $$props, $$invalidate) {
|
|
11076
11166
|
let $_;
|
|
11077
11167
|
validate_store(X, "_");
|
|
11078
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
|
11168
|
+
component_subscribe($$self, X, $$value => $$invalidate(31, $_ = $$value));
|
|
11079
11169
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
11080
11170
|
validate_slots("undefined", slots, []);
|
|
11081
11171
|
|
|
@@ -11112,6 +11202,7 @@
|
|
|
11112
11202
|
let searchFocus = false;
|
|
11113
11203
|
let lobbyScreen = true;
|
|
11114
11204
|
let mostPlayedScreen = false;
|
|
11205
|
+
let mostPlayedEmpty = false;
|
|
11115
11206
|
let adjustingScroll = false;
|
|
11116
11207
|
let searchBarCleared = true;
|
|
11117
11208
|
|
|
@@ -11156,7 +11247,7 @@
|
|
|
11156
11247
|
case "LOBBY":
|
|
11157
11248
|
$$invalidate(19, lobbyScreen = true);
|
|
11158
11249
|
$$invalidate(15, favoritesScreen = false);
|
|
11159
|
-
$$invalidate(
|
|
11250
|
+
$$invalidate(25, activeCategory = "");
|
|
11160
11251
|
$$invalidate(20, mostPlayedScreen = false);
|
|
11161
11252
|
scrollTop = true;
|
|
11162
11253
|
// needs to be executed after the lobby has been repopulated
|
|
@@ -11171,46 +11262,39 @@
|
|
|
11171
11262
|
$$invalidate(19, lobbyScreen = false);
|
|
11172
11263
|
$$invalidate(15, favoritesScreen = true);
|
|
11173
11264
|
$$invalidate(20, mostPlayedScreen = false);
|
|
11174
|
-
$$invalidate(
|
|
11265
|
+
$$invalidate(25, activeCategory = "");
|
|
11175
11266
|
break;
|
|
11176
11267
|
case "MOSTPLAYED":
|
|
11177
11268
|
if (mostplayed == "true") {
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
});
|
|
11197
|
-
}
|
|
11198
|
-
});*/
|
|
11199
|
-
let mostPlayedGames = getMostPlayedGamesFromCookie();
|
|
11200
|
-
|
|
11201
|
-
let promises = [];
|
|
11202
|
-
|
|
11203
|
-
mostPlayedGames.forEach(item => {
|
|
11204
|
-
let url = new URL(`${endpoint}/casino/games/${item.gameId}`);
|
|
11205
|
-
promises.push(fetch(url).then(res => res.json()));
|
|
11206
|
-
});
|
|
11269
|
+
$$invalidate(11, isLoading = true);
|
|
11270
|
+
|
|
11271
|
+
getMostPlayedGames({
|
|
11272
|
+
limit: 100,
|
|
11273
|
+
device: getDevice(userAgent),
|
|
11274
|
+
rounds: 50
|
|
11275
|
+
}).then(res => {
|
|
11276
|
+
$$invalidate(11, isLoading = false);
|
|
11277
|
+
|
|
11278
|
+
if (res.count > 0) {
|
|
11279
|
+
let promises = [];
|
|
11280
|
+
res.items = [{ gameId: "15786" }, { gameId: "15788" }];
|
|
11281
|
+
|
|
11282
|
+
res.items.forEach(item => {
|
|
11283
|
+
let url = new URL(`${endpoint}/casino/games/${item.gameId}`);
|
|
11284
|
+
url.searchParams.append("datasource", datasource);
|
|
11285
|
+
promises.push(fetch(url).then(res => res.json()));
|
|
11286
|
+
});
|
|
11207
11287
|
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11288
|
+
Promise.all(promises).then(values => {
|
|
11289
|
+
mostPlayedGames = values.map(item => item[0]);
|
|
11290
|
+
window.postMessage({ type: "MostPlayedData", mostPlayedGames }, window.location.href);
|
|
11291
|
+
});
|
|
11292
|
+
} else {
|
|
11293
|
+
$$invalidate(21, mostPlayedEmpty = true);
|
|
11294
|
+
}
|
|
11211
11295
|
});
|
|
11212
11296
|
|
|
11213
|
-
$$invalidate(
|
|
11297
|
+
$$invalidate(25, activeCategory = "");
|
|
11214
11298
|
$$invalidate(19, lobbyScreen = false);
|
|
11215
11299
|
$$invalidate(20, mostPlayedScreen = true);
|
|
11216
11300
|
}
|
|
@@ -11219,7 +11303,7 @@
|
|
|
11219
11303
|
$$invalidate(19, lobbyScreen = false);
|
|
11220
11304
|
$$invalidate(15, favoritesScreen = false);
|
|
11221
11305
|
$$invalidate(20, mostPlayedScreen = false);
|
|
11222
|
-
$$invalidate(
|
|
11306
|
+
$$invalidate(25, activeCategory = categoryEvent.data.itemId);
|
|
11223
11307
|
setTimeout(() => {
|
|
11224
11308
|
window.postMessage(
|
|
11225
11309
|
{
|
|
@@ -11264,9 +11348,6 @@
|
|
|
11264
11348
|
case "SearchedItemClicked":
|
|
11265
11349
|
addSearchedItem(e.data.gameId);
|
|
11266
11350
|
break;
|
|
11267
|
-
case "MostPlayedGameAdd":
|
|
11268
|
-
addMostPlayedItem(e.data.gameId);
|
|
11269
|
-
break;
|
|
11270
11351
|
case "UpdateFilters":
|
|
11271
11352
|
updateFilters(e.data.vendorsArray);
|
|
11272
11353
|
setFilterNumberValue();
|
|
@@ -11545,24 +11626,6 @@
|
|
|
11545
11626
|
}
|
|
11546
11627
|
};
|
|
11547
11628
|
|
|
11548
|
-
// @TODO Remove this for MostPlayedMock
|
|
11549
|
-
const getMostPlayedGamesFromCookie = () => {
|
|
11550
|
-
let games = getCookieValue("mostPlayed");
|
|
11551
|
-
let gamesArray = [];
|
|
11552
|
-
|
|
11553
|
-
if (games) {
|
|
11554
|
-
gamesArray = games.split(",");
|
|
11555
|
-
}
|
|
11556
|
-
|
|
11557
|
-
let returnValue = [];
|
|
11558
|
-
|
|
11559
|
-
for (let i in gamesArray) {
|
|
11560
|
-
returnValue.push({ "gameId": gamesArray[i] });
|
|
11561
|
-
}
|
|
11562
|
-
|
|
11563
|
-
return returnValue;
|
|
11564
|
-
};
|
|
11565
|
-
|
|
11566
11629
|
const onFocus = () => {
|
|
11567
11630
|
if (endpoint && datasource && lang) {
|
|
11568
11631
|
searchFocus = true;
|
|
@@ -11589,7 +11652,7 @@
|
|
|
11589
11652
|
}
|
|
11590
11653
|
|
|
11591
11654
|
Promise.all(promises).then(res => {
|
|
11592
|
-
$$invalidate(
|
|
11655
|
+
$$invalidate(23, searchArray = res);
|
|
11593
11656
|
sendRecentSearchData({}, searchArray);
|
|
11594
11657
|
});
|
|
11595
11658
|
}
|
|
@@ -11601,7 +11664,7 @@
|
|
|
11601
11664
|
|
|
11602
11665
|
if (searchValue.length < 2 && !gameFocus) {
|
|
11603
11666
|
$$invalidate(17, searched = false);
|
|
11604
|
-
$$invalidate(
|
|
11667
|
+
$$invalidate(23, searchArray = []);
|
|
11605
11668
|
$$invalidate(16, recentSearches = false);
|
|
11606
11669
|
$$invalidate(19, lobbyScreen = lobbyViewAux);
|
|
11607
11670
|
$$invalidate(18, lobbyViewAux = false);
|
|
@@ -11620,24 +11683,6 @@
|
|
|
11620
11683
|
}
|
|
11621
11684
|
};
|
|
11622
11685
|
|
|
11623
|
-
// @TODO Remove this for MostPlayedMock
|
|
11624
|
-
const addMostPlayedItem = gameID => {
|
|
11625
|
-
mostPlayedValues = getCookieValue("mostPlayed");
|
|
11626
|
-
|
|
11627
|
-
if (mostPlayedValues) {
|
|
11628
|
-
mostPlayedValues = mostPlayedValues.split(",");
|
|
11629
|
-
} else {
|
|
11630
|
-
mostPlayedValues = [];
|
|
11631
|
-
}
|
|
11632
|
-
|
|
11633
|
-
if (mostPlayedValues.indexOf(gameID) === -1) {
|
|
11634
|
-
let value;
|
|
11635
|
-
mostPlayedValues.push(gameID);
|
|
11636
|
-
value = mostPlayedValues.join(",");
|
|
11637
|
-
document.cookie = "mostPlayed=" + value;
|
|
11638
|
-
}
|
|
11639
|
-
};
|
|
11640
|
-
|
|
11641
11686
|
const addSearchedItem = gameID => {
|
|
11642
11687
|
searchedValues = getCookieValue("searchedGamesWds");
|
|
11643
11688
|
|
|
@@ -11655,15 +11700,24 @@
|
|
|
11655
11700
|
}
|
|
11656
11701
|
};
|
|
11657
11702
|
|
|
11703
|
+
// @TODO let's do some small changes around here in order to have this search functionality pretty written, 'cuz right now is kinda shitty
|
|
11704
|
+
const searchValueChanged = () => {
|
|
11705
|
+
if (searchValue.length >= 2) {
|
|
11706
|
+
$$invalidate(46, searchBarCleared = true);
|
|
11707
|
+
} else {
|
|
11708
|
+
$$invalidate(46, searchBarCleared = false);
|
|
11709
|
+
}
|
|
11710
|
+
};
|
|
11711
|
+
|
|
11658
11712
|
const setFilterNumberValue = () => {
|
|
11659
11713
|
let vendors = JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));
|
|
11660
11714
|
|
|
11661
11715
|
if (vendors) {
|
|
11662
11716
|
if (currentCategoryId) {
|
|
11663
11717
|
if (vendors[currentCategoryId]) {
|
|
11664
|
-
$$invalidate(
|
|
11718
|
+
$$invalidate(29, numberOfFilters = vendors[currentCategoryId].length);
|
|
11665
11719
|
} else {
|
|
11666
|
-
$$invalidate(
|
|
11720
|
+
$$invalidate(29, numberOfFilters = 0);
|
|
11667
11721
|
}
|
|
11668
11722
|
}
|
|
11669
11723
|
}
|
|
@@ -11674,9 +11728,9 @@
|
|
|
11674
11728
|
};
|
|
11675
11729
|
|
|
11676
11730
|
const clearSearchbar = () => {
|
|
11677
|
-
$$invalidate(
|
|
11731
|
+
$$invalidate(46, searchBarCleared = true);
|
|
11678
11732
|
$$invalidate(10, searchValue = "");
|
|
11679
|
-
$$invalidate(
|
|
11733
|
+
$$invalidate(23, searchArray = []);
|
|
11680
11734
|
$$invalidate(16, recentSearches = false);
|
|
11681
11735
|
onBlur();
|
|
11682
11736
|
};
|
|
@@ -11751,9 +11805,9 @@
|
|
|
11751
11805
|
}
|
|
11752
11806
|
|
|
11753
11807
|
if (document.documentElement.scrollTop > searchPositionTop || searchPositionTop > 130) {
|
|
11754
|
-
$$invalidate(
|
|
11808
|
+
$$invalidate(22, adjustingScroll = true);
|
|
11755
11809
|
} else {
|
|
11756
|
-
$$invalidate(
|
|
11810
|
+
$$invalidate(22, adjustingScroll = false);
|
|
11757
11811
|
}
|
|
11758
11812
|
};
|
|
11759
11813
|
|
|
@@ -11800,7 +11854,7 @@
|
|
|
11800
11854
|
return item.games.total > 0;
|
|
11801
11855
|
});
|
|
11802
11856
|
|
|
11803
|
-
$$invalidate(
|
|
11857
|
+
$$invalidate(24, shownCategories = categories = categoriesData.map(item => {
|
|
11804
11858
|
return item.id;
|
|
11805
11859
|
}));
|
|
11806
11860
|
|
|
@@ -11810,11 +11864,11 @@
|
|
|
11810
11864
|
|
|
11811
11865
|
if (getDevice(userAgent) !== "PC") {
|
|
11812
11866
|
searchElement.addEventListener("focusin", event => {
|
|
11813
|
-
$$invalidate(
|
|
11867
|
+
$$invalidate(28, mobileSearchViewActive = true);
|
|
11814
11868
|
});
|
|
11815
11869
|
|
|
11816
11870
|
searchElement.addEventListener("focusout", event => {
|
|
11817
|
-
$$invalidate(
|
|
11871
|
+
$$invalidate(28, mobileSearchViewActive = false);
|
|
11818
11872
|
});
|
|
11819
11873
|
}
|
|
11820
11874
|
|
|
@@ -11890,7 +11944,7 @@
|
|
|
11890
11944
|
function input_binding($$value) {
|
|
11891
11945
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11892
11946
|
searchElement = $$value;
|
|
11893
|
-
$$invalidate(
|
|
11947
|
+
$$invalidate(27, searchElement);
|
|
11894
11948
|
});
|
|
11895
11949
|
}
|
|
11896
11950
|
|
|
@@ -11909,14 +11963,14 @@
|
|
|
11909
11963
|
function div2_binding($$value) {
|
|
11910
11964
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11911
11965
|
searchWrapper = $$value;
|
|
11912
|
-
$$invalidate(
|
|
11966
|
+
$$invalidate(26, searchWrapper);
|
|
11913
11967
|
});
|
|
11914
11968
|
}
|
|
11915
11969
|
|
|
11916
11970
|
function input_binding_1($$value) {
|
|
11917
11971
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11918
11972
|
searchElement = $$value;
|
|
11919
|
-
$$invalidate(
|
|
11973
|
+
$$invalidate(27, searchElement);
|
|
11920
11974
|
});
|
|
11921
11975
|
}
|
|
11922
11976
|
|
|
@@ -11935,14 +11989,14 @@
|
|
|
11935
11989
|
function div2_binding_1($$value) {
|
|
11936
11990
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11937
11991
|
searchWrapper = $$value;
|
|
11938
|
-
$$invalidate(
|
|
11992
|
+
$$invalidate(26, searchWrapper);
|
|
11939
11993
|
});
|
|
11940
11994
|
}
|
|
11941
11995
|
|
|
11942
11996
|
function section_binding($$value) {
|
|
11943
11997
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11944
11998
|
customStylingContainer = $$value;
|
|
11945
|
-
$$invalidate(
|
|
11999
|
+
$$invalidate(30, customStylingContainer);
|
|
11946
12000
|
});
|
|
11947
12001
|
}
|
|
11948
12002
|
|
|
@@ -11955,10 +12009,10 @@
|
|
|
11955
12009
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
11956
12010
|
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
11957
12011
|
if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
|
|
11958
|
-
if ("visiblegames" in $$props) $$invalidate(
|
|
12012
|
+
if ("visiblegames" in $$props) $$invalidate(43, visiblegames = $$props.visiblegames);
|
|
11959
12013
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
11960
12014
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
11961
|
-
if ("mostplayed" in $$props) $$invalidate(
|
|
12015
|
+
if ("mostplayed" in $$props) $$invalidate(44, mostplayed = $$props.mostplayed);
|
|
11962
12016
|
};
|
|
11963
12017
|
|
|
11964
12018
|
$$self.$capture_state = () => ({
|
|
@@ -11994,6 +12048,7 @@
|
|
|
11994
12048
|
searchFocus,
|
|
11995
12049
|
lobbyScreen,
|
|
11996
12050
|
mostPlayedScreen,
|
|
12051
|
+
mostPlayedEmpty,
|
|
11997
12052
|
adjustingScroll,
|
|
11998
12053
|
searchBarCleared,
|
|
11999
12054
|
gamesArray,
|
|
@@ -12036,11 +12091,10 @@
|
|
|
12036
12091
|
getGames,
|
|
12037
12092
|
getGame,
|
|
12038
12093
|
getCookieValue,
|
|
12039
|
-
getMostPlayedGamesFromCookie,
|
|
12040
12094
|
onFocus,
|
|
12041
12095
|
onBlur,
|
|
12042
|
-
addMostPlayedItem,
|
|
12043
12096
|
addSearchedItem,
|
|
12097
|
+
searchValueChanged,
|
|
12044
12098
|
setFilterNumberValue,
|
|
12045
12099
|
searchActivated,
|
|
12046
12100
|
clearSearchbar,
|
|
@@ -12070,10 +12124,10 @@
|
|
|
12070
12124
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
12071
12125
|
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
12072
12126
|
if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
|
|
12073
|
-
if ("visiblegames" in $$props) $$invalidate(
|
|
12127
|
+
if ("visiblegames" in $$props) $$invalidate(43, visiblegames = $$props.visiblegames);
|
|
12074
12128
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
12075
12129
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
12076
|
-
if ("mostplayed" in $$props) $$invalidate(
|
|
12130
|
+
if ("mostplayed" in $$props) $$invalidate(44, mostplayed = $$props.mostplayed);
|
|
12077
12131
|
if ("isLoading" in $$props) $$invalidate(11, isLoading = $$props.isLoading);
|
|
12078
12132
|
if ("hasErrors" in $$props) $$invalidate(12, hasErrors = $$props.hasErrors);
|
|
12079
12133
|
if ("isLoggedIn" in $$props) isLoggedIn = $$props.isLoggedIn;
|
|
@@ -12081,42 +12135,43 @@
|
|
|
12081
12135
|
if ("sessionID" in $$props) $$invalidate(14, sessionID = $$props.sessionID);
|
|
12082
12136
|
if ("favoritesScreen" in $$props) $$invalidate(15, favoritesScreen = $$props.favoritesScreen);
|
|
12083
12137
|
if ("recentSearches" in $$props) $$invalidate(16, recentSearches = $$props.recentSearches);
|
|
12084
|
-
if ("initialLoaded" in $$props) $$invalidate(
|
|
12138
|
+
if ("initialLoaded" in $$props) $$invalidate(45, initialLoaded = $$props.initialLoaded);
|
|
12085
12139
|
if ("searched" in $$props) $$invalidate(17, searched = $$props.searched);
|
|
12086
12140
|
if ("gameFocus" in $$props) gameFocus = $$props.gameFocus;
|
|
12087
12141
|
if ("lobbyViewAux" in $$props) $$invalidate(18, lobbyViewAux = $$props.lobbyViewAux);
|
|
12088
|
-
if ("closeSearch" in $$props) $$invalidate(
|
|
12142
|
+
if ("closeSearch" in $$props) $$invalidate(32, closeSearch = $$props.closeSearch);
|
|
12089
12143
|
if ("searchFocus" in $$props) searchFocus = $$props.searchFocus;
|
|
12090
12144
|
if ("lobbyScreen" in $$props) $$invalidate(19, lobbyScreen = $$props.lobbyScreen);
|
|
12091
12145
|
if ("mostPlayedScreen" in $$props) $$invalidate(20, mostPlayedScreen = $$props.mostPlayedScreen);
|
|
12092
|
-
if ("
|
|
12093
|
-
if ("
|
|
12146
|
+
if ("mostPlayedEmpty" in $$props) $$invalidate(21, mostPlayedEmpty = $$props.mostPlayedEmpty);
|
|
12147
|
+
if ("adjustingScroll" in $$props) $$invalidate(22, adjustingScroll = $$props.adjustingScroll);
|
|
12148
|
+
if ("searchBarCleared" in $$props) $$invalidate(46, searchBarCleared = $$props.searchBarCleared);
|
|
12094
12149
|
if ("gamesArray" in $$props) gamesArray = $$props.gamesArray;
|
|
12095
|
-
if ("searchArray" in $$props) $$invalidate(
|
|
12150
|
+
if ("searchArray" in $$props) $$invalidate(23, searchArray = $$props.searchArray);
|
|
12096
12151
|
if ("categories" in $$props) categories = $$props.categories;
|
|
12097
|
-
if ("shownCategories" in $$props) $$invalidate(
|
|
12098
|
-
if ("activeCategory" in $$props) $$invalidate(
|
|
12152
|
+
if ("shownCategories" in $$props) $$invalidate(24, shownCategories = $$props.shownCategories);
|
|
12153
|
+
if ("activeCategory" in $$props) $$invalidate(25, activeCategory = $$props.activeCategory);
|
|
12099
12154
|
if ("searchValue" in $$props) $$invalidate(10, searchValue = $$props.searchValue);
|
|
12100
|
-
if ("searchWrapper" in $$props) $$invalidate(
|
|
12155
|
+
if ("searchWrapper" in $$props) $$invalidate(26, searchWrapper = $$props.searchWrapper);
|
|
12101
12156
|
if ("searchElementWrapper" in $$props) searchElementWrapper = $$props.searchElementWrapper;
|
|
12102
12157
|
if ("searchPositionTop" in $$props) searchPositionTop = $$props.searchPositionTop;
|
|
12103
|
-
if ("userAgent" in $$props) $$invalidate(
|
|
12158
|
+
if ("userAgent" in $$props) $$invalidate(33, userAgent = $$props.userAgent);
|
|
12104
12159
|
if ("scrollTop" in $$props) scrollTop = $$props.scrollTop;
|
|
12105
12160
|
if ("mostPlayedGames" in $$props) mostPlayedGames = $$props.mostPlayedGames;
|
|
12106
12161
|
if ("favoredGamesCollection" in $$props) favoredGamesCollection = $$props.favoredGamesCollection;
|
|
12107
12162
|
if ("categoriesData" in $$props) categoriesData = $$props.categoriesData;
|
|
12108
12163
|
if ("receivedFavoriteResults" in $$props) receivedFavoriteResults = $$props.receivedFavoriteResults;
|
|
12109
12164
|
if ("updatedFavoriteResultsIds" in $$props) updatedFavoriteResultsIds = $$props.updatedFavoriteResultsIds;
|
|
12110
|
-
if ("searchElement" in $$props) $$invalidate(
|
|
12111
|
-
if ("mobileSearchViewActive" in $$props) $$invalidate(
|
|
12165
|
+
if ("searchElement" in $$props) $$invalidate(27, searchElement = $$props.searchElement);
|
|
12166
|
+
if ("mobileSearchViewActive" in $$props) $$invalidate(28, mobileSearchViewActive = $$props.mobileSearchViewActive);
|
|
12112
12167
|
if ("searchedValues" in $$props) searchedValues = $$props.searchedValues;
|
|
12113
12168
|
if ("mostPlayedValues" in $$props) mostPlayedValues = $$props.mostPlayedValues;
|
|
12114
12169
|
if ("filterVendorsArray" in $$props) filterVendorsArray = $$props.filterVendorsArray;
|
|
12115
|
-
if ("numberOfFilters" in $$props) $$invalidate(
|
|
12170
|
+
if ("numberOfFilters" in $$props) $$invalidate(29, numberOfFilters = $$props.numberOfFilters);
|
|
12116
12171
|
if ("filteredGamesArray" in $$props) filteredGamesArray = $$props.filteredGamesArray;
|
|
12117
12172
|
if ("currentCategoryId" in $$props) currentCategoryId = $$props.currentCategoryId;
|
|
12118
12173
|
if ("activeCategoryAux" in $$props) activeCategoryAux = $$props.activeCategoryAux;
|
|
12119
|
-
if ("customStylingContainer" in $$props) $$invalidate(
|
|
12174
|
+
if ("customStylingContainer" in $$props) $$invalidate(30, customStylingContainer = $$props.customStylingContainer);
|
|
12120
12175
|
if ("getFavoredGames" in $$props) getFavoredGames = $$props.getFavoredGames;
|
|
12121
12176
|
if ("updateFavoredList" in $$props) updateFavoredList = $$props.updateFavoredList;
|
|
12122
12177
|
if ("addFavoredGame" in $$props) addFavoredGame = $$props.addFavoredGame;
|
|
@@ -12127,7 +12182,11 @@
|
|
|
12127
12182
|
}
|
|
12128
12183
|
|
|
12129
12184
|
$$self.$$.update = () => {
|
|
12130
|
-
if ($$self.$$.dirty[0] & /*searchValue
|
|
12185
|
+
if ($$self.$$.dirty[0] & /*searchValue*/ 1024) {
|
|
12186
|
+
searchValue && searchValueChanged();
|
|
12187
|
+
}
|
|
12188
|
+
|
|
12189
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 1027 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/ 49152) {
|
|
12131
12190
|
if (searchValue.length >= 2) {
|
|
12132
12191
|
$$invalidate(17, searched = true);
|
|
12133
12192
|
let searchUrl = new URL(`${endpoint}/casino/games`);
|
|
@@ -12140,7 +12199,7 @@
|
|
|
12140
12199
|
searchUrl.searchParams.append("filter", `name=${searchValue}`);
|
|
12141
12200
|
|
|
12142
12201
|
getGames(searchUrl).then(searchData => {
|
|
12143
|
-
$$invalidate(
|
|
12202
|
+
$$invalidate(23, searchArray = searchData);
|
|
12144
12203
|
sendSearchData({}, searchData);
|
|
12145
12204
|
});
|
|
12146
12205
|
} else {
|
|
@@ -12149,7 +12208,7 @@
|
|
|
12149
12208
|
}
|
|
12150
12209
|
|
|
12151
12210
|
if (initialLoaded) {
|
|
12152
|
-
$$invalidate(
|
|
12211
|
+
$$invalidate(45, initialLoaded = false);
|
|
12153
12212
|
}
|
|
12154
12213
|
}
|
|
12155
12214
|
}
|
|
@@ -12193,6 +12252,7 @@
|
|
|
12193
12252
|
lobbyViewAux,
|
|
12194
12253
|
lobbyScreen,
|
|
12195
12254
|
mostPlayedScreen,
|
|
12255
|
+
mostPlayedEmpty,
|
|
12196
12256
|
adjustingScroll,
|
|
12197
12257
|
searchArray,
|
|
12198
12258
|
shownCategories,
|
|
@@ -12259,10 +12319,10 @@
|
|
|
12259
12319
|
clientstyling: 5,
|
|
12260
12320
|
clientstylingurl: 6,
|
|
12261
12321
|
categorybackground: 7,
|
|
12262
|
-
visiblegames:
|
|
12322
|
+
visiblegames: 43,
|
|
12263
12323
|
alternativesearch: 8,
|
|
12264
12324
|
favorites: 9,
|
|
12265
|
-
mostplayed:
|
|
12325
|
+
mostplayed: 44
|
|
12266
12326
|
},
|
|
12267
12327
|
[-1, -1, -1, -1]
|
|
12268
12328
|
);
|
|
@@ -12369,7 +12429,7 @@
|
|
|
12369
12429
|
}
|
|
12370
12430
|
|
|
12371
12431
|
get visiblegames() {
|
|
12372
|
-
return this.$$.ctx[
|
|
12432
|
+
return this.$$.ctx[43];
|
|
12373
12433
|
}
|
|
12374
12434
|
|
|
12375
12435
|
set visiblegames(visiblegames) {
|
|
@@ -12396,7 +12456,7 @@
|
|
|
12396
12456
|
}
|
|
12397
12457
|
|
|
12398
12458
|
get mostplayed() {
|
|
12399
|
-
return this.$$.ctx[
|
|
12459
|
+
return this.$$.ctx[44];
|
|
12400
12460
|
}
|
|
12401
12461
|
|
|
12402
12462
|
set mostplayed(mostplayed) {
|