@everymatrix/casino-page 0.0.95 → 0.0.96
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 +596 -591
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoPage.svelte +62 -61
package/dist/casino-page.js
CHANGED
|
@@ -4642,7 +4642,7 @@
|
|
|
4642
4642
|
viewAll: 'Show all',
|
|
4643
4643
|
searchedItems: 'Search result',
|
|
4644
4644
|
recentSearchedItems: 'Recently searched',
|
|
4645
|
-
noResults: 'Sorry, no results found. Please try again'
|
|
4645
|
+
noResults: 'Sorry, no results found. Please try again.'
|
|
4646
4646
|
}
|
|
4647
4647
|
},
|
|
4648
4648
|
de: {
|
|
@@ -4651,7 +4651,7 @@
|
|
|
4651
4651
|
viewAll: 'Alle anzeigen',
|
|
4652
4652
|
searchedItems: 'Suchergebnis',
|
|
4653
4653
|
recentSearchedItems: 'Zuletzt gesucht',
|
|
4654
|
-
noResults: 'Sorry,
|
|
4654
|
+
noResults: 'Sorry, kein Treffer. Bitte erneut versuchen.'
|
|
4655
4655
|
}
|
|
4656
4656
|
},
|
|
4657
4657
|
it: {
|
|
@@ -4660,7 +4660,7 @@
|
|
|
4660
4660
|
viewAll: 'Mostra tutto',
|
|
4661
4661
|
searchedItems: 'risultato',
|
|
4662
4662
|
recentSearchedItems: 'Ricerche recenti',
|
|
4663
|
-
noResults: '
|
|
4663
|
+
noResults: 'Spiacenti, nessun risultato. Si prega di riprovare.'
|
|
4664
4664
|
}
|
|
4665
4665
|
},
|
|
4666
4666
|
fr: {
|
|
@@ -4714,7 +4714,7 @@
|
|
|
4714
4714
|
viewAll: 'Pokaži sve',
|
|
4715
4715
|
searchedItems: 'Pretraži rezultat',
|
|
4716
4716
|
recentSearchedItems: 'Zadnje pretrage',
|
|
4717
|
-
noResults: '
|
|
4717
|
+
noResults: 'Žao nam je, nema rezultata. Molimo pokušajte ponovno.'
|
|
4718
4718
|
}
|
|
4719
4719
|
},
|
|
4720
4720
|
hu: {
|
|
@@ -4723,7 +4723,7 @@
|
|
|
4723
4723
|
viewAll: 'Az összes megjelenítése',
|
|
4724
4724
|
searchedItems: 'Keresés eredménye',
|
|
4725
4725
|
recentSearchedItems: 'Legutóbb keresett',
|
|
4726
|
-
noResults: '
|
|
4726
|
+
noResults: 'Sajnos nincs találat. Kérjük próbálja újra.'
|
|
4727
4727
|
}
|
|
4728
4728
|
},
|
|
4729
4729
|
pl: {
|
|
@@ -4732,7 +4732,7 @@
|
|
|
4732
4732
|
viewAll: 'Pokaż wszystkie',
|
|
4733
4733
|
searchedItems: 'Wynik wyszukiwania',
|
|
4734
4734
|
recentSearchedItems: 'Ostatnio wyszukiwane',
|
|
4735
|
-
noResults: '
|
|
4735
|
+
noResults: 'Przepraszamy, brak wyników. Prosimy spróbować ponownie.'
|
|
4736
4736
|
}
|
|
4737
4737
|
},
|
|
4738
4738
|
pt: {
|
|
@@ -4741,7 +4741,7 @@
|
|
|
4741
4741
|
viewAll: 'Mostrar tudo',
|
|
4742
4742
|
searchedItems: 'Procurar resultado',
|
|
4743
4743
|
recentSearchedItems: 'Pesquisado recentemente',
|
|
4744
|
-
noResults: '
|
|
4744
|
+
noResults: 'Desculpe, sem qualquer correspondência. Por favor, tente novamente.'
|
|
4745
4745
|
}
|
|
4746
4746
|
},
|
|
4747
4747
|
sl: {
|
|
@@ -4750,7 +4750,7 @@
|
|
|
4750
4750
|
viewAll: 'Prikaži vse',
|
|
4751
4751
|
searchedItems: 'Rezultati iskanja',
|
|
4752
4752
|
recentSearchedItems: 'Nedavno iskanje',
|
|
4753
|
-
noResults: '
|
|
4753
|
+
noResults: 'Oprostite, ni rezultata. Prosimo poizkusite ponovno.'
|
|
4754
4754
|
}
|
|
4755
4755
|
},
|
|
4756
4756
|
sr: {
|
|
@@ -4759,7 +4759,7 @@
|
|
|
4759
4759
|
viewAll: 'Prikaži sve',
|
|
4760
4760
|
searchedItems: 'Pretraži rezultat',
|
|
4761
4761
|
recentSearchedItems: 'Zadnja pretraga',
|
|
4762
|
-
noResults: '
|
|
4762
|
+
noResults: 'Žao nam je, nema pogodaka. Pokušaj ponovo.'
|
|
4763
4763
|
}
|
|
4764
4764
|
}
|
|
4765
4765
|
};
|
|
@@ -4871,10 +4871,10 @@
|
|
|
4871
4871
|
|
|
4872
4872
|
/* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.37.0 */
|
|
4873
4873
|
|
|
4874
|
-
const { Object: Object_1$2
|
|
4874
|
+
const { Object: Object_1$2 } = globals;
|
|
4875
4875
|
const file$2 = "../casino-game-thumbnail/src/CasinoGameThumbnail.svelte";
|
|
4876
4876
|
|
|
4877
|
-
// (
|
|
4877
|
+
// (142:8) {#if fav}
|
|
4878
4878
|
function create_if_block_5$2(ctx) {
|
|
4879
4879
|
let show_if = !isMobile(/*userAgent*/ ctx[16]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[9];
|
|
4880
4880
|
let if_block_anchor;
|
|
@@ -4915,14 +4915,14 @@
|
|
|
4915
4915
|
block,
|
|
4916
4916
|
id: create_if_block_5$2.name,
|
|
4917
4917
|
type: "if",
|
|
4918
|
-
source: "(
|
|
4918
|
+
source: "(142:8) {#if fav}",
|
|
4919
4919
|
ctx
|
|
4920
4920
|
});
|
|
4921
4921
|
|
|
4922
4922
|
return block;
|
|
4923
4923
|
}
|
|
4924
4924
|
|
|
4925
|
-
// (
|
|
4925
|
+
// (143:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
|
4926
4926
|
function create_if_block_6$2(ctx) {
|
|
4927
4927
|
let div;
|
|
4928
4928
|
let svg;
|
|
@@ -4936,8 +4936,8 @@
|
|
|
4936
4936
|
svg = svg_element("svg");
|
|
4937
4937
|
path = svg_element("path");
|
|
4938
4938
|
set_style(path, "fill", "white");
|
|
4939
|
-
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
|
|
4940
|
-
add_location(path, file$2,
|
|
4939
|
+
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, 145, 112, 5027);
|
|
4941
4941
|
attr_dev(svg, "version", "1.1");
|
|
4942
4942
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
4943
4943
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -4947,9 +4947,9 @@
|
|
|
4947
4947
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
4948
4948
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
4949
4949
|
attr_dev(svg, "xml:space", "preserve");
|
|
4950
|
-
add_location(svg, file$2,
|
|
4950
|
+
add_location(svg, file$2, 144, 14, 4778);
|
|
4951
4951
|
attr_dev(div, "class", "FavIconContainer");
|
|
4952
|
-
add_location(div, file$2,
|
|
4952
|
+
add_location(div, file$2, 143, 12, 4687);
|
|
4953
4953
|
},
|
|
4954
4954
|
m: function mount(target, anchor) {
|
|
4955
4955
|
insert_dev(target, div, anchor);
|
|
@@ -4973,14 +4973,14 @@
|
|
|
4973
4973
|
block,
|
|
4974
4974
|
id: create_if_block_6$2.name,
|
|
4975
4975
|
type: "if",
|
|
4976
|
-
source: "(
|
|
4976
|
+
source: "(143:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
|
|
4977
4977
|
ctx
|
|
4978
4978
|
});
|
|
4979
4979
|
|
|
4980
4980
|
return block;
|
|
4981
4981
|
}
|
|
4982
4982
|
|
|
4983
|
-
// (
|
|
4983
|
+
// (171:77)
|
|
4984
4984
|
function create_if_block_4$2(ctx) {
|
|
4985
4985
|
let div;
|
|
4986
4986
|
let svg;
|
|
@@ -4993,16 +4993,16 @@
|
|
|
4993
4993
|
path = svg_element("path");
|
|
4994
4994
|
set_style(path, "fill", "white");
|
|
4995
4995
|
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,
|
|
4996
|
+
add_location(path, file$2, 173, 10, 7509);
|
|
4997
4997
|
attr_dev(svg, "version", "1.1");
|
|
4998
4998
|
attr_dev(svg, "class", "FavoredIcon");
|
|
4999
4999
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
5000
5000
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
5001
5001
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
5002
5002
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
5003
|
-
add_location(svg, file$2,
|
|
5003
|
+
add_location(svg, file$2, 172, 8, 7311);
|
|
5004
5004
|
attr_dev(div, "class", "FavIconContainer");
|
|
5005
|
-
add_location(div, file$2,
|
|
5005
|
+
add_location(div, file$2, 171, 6, 7272);
|
|
5006
5006
|
},
|
|
5007
5007
|
m: function mount(target, anchor) {
|
|
5008
5008
|
insert_dev(target, div, anchor);
|
|
@@ -5019,14 +5019,14 @@
|
|
|
5019
5019
|
block,
|
|
5020
5020
|
id: create_if_block_4$2.name,
|
|
5021
5021
|
type: "if",
|
|
5022
|
-
source: "(
|
|
5022
|
+
source: "(171:77) ",
|
|
5023
5023
|
ctx
|
|
5024
5024
|
});
|
|
5025
5025
|
|
|
5026
5026
|
return block;
|
|
5027
5027
|
}
|
|
5028
5028
|
|
|
5029
|
-
// (
|
|
5029
|
+
// (165:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
5030
5030
|
function create_if_block_3$2(ctx) {
|
|
5031
5031
|
let div;
|
|
5032
5032
|
let svg;
|
|
@@ -5041,16 +5041,16 @@
|
|
|
5041
5041
|
path = svg_element("path");
|
|
5042
5042
|
set_style(path, "fill", "white");
|
|
5043
5043
|
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,
|
|
5044
|
+
add_location(path, file$2, 167, 10, 6821);
|
|
5045
5045
|
attr_dev(svg, "version", "1.1");
|
|
5046
5046
|
attr_dev(svg, "class", "FavoredIcon");
|
|
5047
5047
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
5048
5048
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
5049
5049
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
5050
5050
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
5051
|
-
add_location(svg, file$2,
|
|
5051
|
+
add_location(svg, file$2, 166, 8, 6623);
|
|
5052
5052
|
attr_dev(div, "class", "FavIconContainer");
|
|
5053
|
-
add_location(div, file$2,
|
|
5053
|
+
add_location(div, file$2, 165, 6, 6538);
|
|
5054
5054
|
},
|
|
5055
5055
|
m: function mount(target, anchor) {
|
|
5056
5056
|
insert_dev(target, div, anchor);
|
|
@@ -5074,14 +5074,14 @@
|
|
|
5074
5074
|
block,
|
|
5075
5075
|
id: create_if_block_3$2.name,
|
|
5076
5076
|
type: "if",
|
|
5077
|
-
source: "(
|
|
5077
|
+
source: "(165:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
|
|
5078
5078
|
ctx
|
|
5079
5079
|
});
|
|
5080
5080
|
|
|
5081
5081
|
return block;
|
|
5082
5082
|
}
|
|
5083
5083
|
|
|
5084
|
-
// (
|
|
5084
|
+
// (179:6) {#if gameisnew}
|
|
5085
5085
|
function create_if_block_2$2(ctx) {
|
|
5086
5086
|
let span;
|
|
5087
5087
|
let t_value = /*$_*/ ctx[15]("gameThumbnail.new") + "";
|
|
@@ -5092,7 +5092,7 @@
|
|
|
5092
5092
|
span = element("span");
|
|
5093
5093
|
t = text(t_value);
|
|
5094
5094
|
attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
|
|
5095
|
-
add_location(span, file$2,
|
|
5095
|
+
add_location(span, file$2, 179, 8, 7948);
|
|
5096
5096
|
},
|
|
5097
5097
|
m: function mount(target, anchor) {
|
|
5098
5098
|
insert_dev(target, span, anchor);
|
|
@@ -5110,14 +5110,14 @@
|
|
|
5110
5110
|
block,
|
|
5111
5111
|
id: create_if_block_2$2.name,
|
|
5112
5112
|
type: "if",
|
|
5113
|
-
source: "(
|
|
5113
|
+
source: "(179:6) {#if gameisnew}",
|
|
5114
5114
|
ctx
|
|
5115
5115
|
});
|
|
5116
5116
|
|
|
5117
5117
|
return block;
|
|
5118
5118
|
}
|
|
5119
5119
|
|
|
5120
|
-
// (
|
|
5120
|
+
// (182:6) {#if (parseInt(gamepopularity) > 0)}
|
|
5121
5121
|
function create_if_block_1$2(ctx) {
|
|
5122
5122
|
let span;
|
|
5123
5123
|
let t_value = /*$_*/ ctx[15]("gameThumbnail.hot") + "";
|
|
@@ -5128,7 +5128,7 @@
|
|
|
5128
5128
|
span = element("span");
|
|
5129
5129
|
t = text(t_value);
|
|
5130
5130
|
attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
|
|
5131
|
-
add_location(span, file$2,
|
|
5131
|
+
add_location(span, file$2, 182, 8, 8088);
|
|
5132
5132
|
},
|
|
5133
5133
|
m: function mount(target, anchor) {
|
|
5134
5134
|
insert_dev(target, span, anchor);
|
|
@@ -5146,14 +5146,14 @@
|
|
|
5146
5146
|
block,
|
|
5147
5147
|
id: create_if_block_1$2.name,
|
|
5148
5148
|
type: "if",
|
|
5149
|
-
source: "(
|
|
5149
|
+
source: "(182:6) {#if (parseInt(gamepopularity) > 0)}",
|
|
5150
5150
|
ctx
|
|
5151
5151
|
});
|
|
5152
5152
|
|
|
5153
5153
|
return block;
|
|
5154
5154
|
}
|
|
5155
5155
|
|
|
5156
|
-
// (
|
|
5156
|
+
// (187:2) {#if showgamename}
|
|
5157
5157
|
function create_if_block$2(ctx) {
|
|
5158
5158
|
let p;
|
|
5159
5159
|
let t;
|
|
@@ -5164,7 +5164,7 @@
|
|
|
5164
5164
|
t = text(/*gamename*/ ctx[3]);
|
|
5165
5165
|
attr_dev(p, "class", "GameNameBelow");
|
|
5166
5166
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
5167
|
-
add_location(p, file$2,
|
|
5167
|
+
add_location(p, file$2, 187, 4, 8226);
|
|
5168
5168
|
},
|
|
5169
5169
|
m: function mount(target, anchor) {
|
|
5170
5170
|
insert_dev(target, p, anchor);
|
|
@@ -5186,7 +5186,7 @@
|
|
|
5186
5186
|
block,
|
|
5187
5187
|
id: create_if_block$2.name,
|
|
5188
5188
|
type: "if",
|
|
5189
|
-
source: "(
|
|
5189
|
+
source: "(187:2) {#if showgamename}",
|
|
5190
5190
|
ctx
|
|
5191
5191
|
});
|
|
5192
5192
|
|
|
@@ -5194,6 +5194,7 @@
|
|
|
5194
5194
|
}
|
|
5195
5195
|
|
|
5196
5196
|
function create_fragment$2(ctx) {
|
|
5197
|
+
let div4;
|
|
5197
5198
|
let div3;
|
|
5198
5199
|
let img;
|
|
5199
5200
|
let img_src_value;
|
|
@@ -5221,7 +5222,6 @@
|
|
|
5221
5222
|
let t9;
|
|
5222
5223
|
let show_if = parseInt(/*gamepopularity*/ ctx[7]) > 0;
|
|
5223
5224
|
let t10;
|
|
5224
|
-
let if_block4_anchor;
|
|
5225
5225
|
let mounted;
|
|
5226
5226
|
let dispose;
|
|
5227
5227
|
let if_block0 = /*fav*/ ctx[14] && create_if_block_5$2(ctx);
|
|
@@ -5241,6 +5241,7 @@
|
|
|
5241
5241
|
|
|
5242
5242
|
const block = {
|
|
5243
5243
|
c: function create() {
|
|
5244
|
+
div4 = element("div");
|
|
5244
5245
|
div3 = element("div");
|
|
5245
5246
|
img = element("img");
|
|
5246
5247
|
t0 = space();
|
|
@@ -5265,34 +5266,35 @@
|
|
|
5265
5266
|
if (if_block3) if_block3.c();
|
|
5266
5267
|
t10 = space();
|
|
5267
5268
|
if (if_block4) if_block4.c();
|
|
5268
|
-
if_block4_anchor = empty();
|
|
5269
5269
|
this.c = noop$1;
|
|
5270
5270
|
if (img.src !== (img_src_value = /*gamethumbnail*/ ctx[2])) attr_dev(img, "src", img_src_value);
|
|
5271
5271
|
attr_dev(img, "class", img_class_value = "GameBg " + (/*hover*/ ctx[10] ? "GameContainerHovered" : "") + " " + (/*loaded*/ ctx[11] ? "Loaded" : ""));
|
|
5272
5272
|
attr_dev(img, "alt", "game thumbnail");
|
|
5273
5273
|
attr_dev(img, "loading", "lazy");
|
|
5274
|
-
add_location(img, file$2,
|
|
5274
|
+
add_location(img, file$2, 138, 4, 4276);
|
|
5275
5275
|
attr_dev(p, "class", "GameInfoName");
|
|
5276
5276
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
5277
|
-
add_location(p, file$2,
|
|
5277
|
+
add_location(p, file$2, 157, 8, 6167);
|
|
5278
5278
|
attr_dev(button, "class", "GameInfoBtn");
|
|
5279
|
-
add_location(button, file$2,
|
|
5279
|
+
add_location(button, file$2, 158, 8, 6233);
|
|
5280
5280
|
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[10] ? "GameHovered" : ""));
|
|
5281
|
-
add_location(div0, file$2,
|
|
5281
|
+
add_location(div0, file$2, 140, 6, 4537);
|
|
5282
5282
|
attr_dev(span, "class", "GameInfoVendor");
|
|
5283
|
-
add_location(span, file$2,
|
|
5283
|
+
add_location(span, file$2, 160, 6, 6362);
|
|
5284
5284
|
attr_dev(div1, "class", "GameInfoWrapper");
|
|
5285
|
-
add_location(div1, file$2,
|
|
5285
|
+
add_location(div1, file$2, 139, 4, 4441);
|
|
5286
5286
|
attr_dev(div2, "class", "GameExtraInfo");
|
|
5287
|
-
add_location(div2, file$2,
|
|
5287
|
+
add_location(div2, file$2, 177, 4, 7890);
|
|
5288
5288
|
attr_dev(div3, "class", "GameContainer");
|
|
5289
|
-
add_location(div3, file$2,
|
|
5289
|
+
add_location(div3, file$2, 137, 2, 4136);
|
|
5290
|
+
add_location(div4, file$2, 136, 0, 4093);
|
|
5290
5291
|
},
|
|
5291
5292
|
l: function claim(nodes) {
|
|
5292
5293
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
5293
5294
|
},
|
|
5294
5295
|
m: function mount(target, anchor) {
|
|
5295
|
-
insert_dev(target,
|
|
5296
|
+
insert_dev(target, div4, anchor);
|
|
5297
|
+
append_dev(div4, div3);
|
|
5296
5298
|
append_dev(div3, img);
|
|
5297
5299
|
/*img_binding*/ ctx[34](img);
|
|
5298
5300
|
append_dev(div3, t0);
|
|
@@ -5315,10 +5317,9 @@
|
|
|
5315
5317
|
if (if_block2) if_block2.m(div2, null);
|
|
5316
5318
|
append_dev(div2, t9);
|
|
5317
5319
|
if (if_block3) if_block3.m(div2, null);
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
insert_dev(target, if_block4_anchor, anchor);
|
|
5320
|
+
append_dev(div4, t10);
|
|
5321
|
+
if (if_block4) if_block4.m(div4, null);
|
|
5322
|
+
/*div4_binding*/ ctx[40](div4);
|
|
5322
5323
|
|
|
5323
5324
|
if (!mounted) {
|
|
5324
5325
|
dispose = [
|
|
@@ -5416,7 +5417,7 @@
|
|
|
5416
5417
|
} else {
|
|
5417
5418
|
if_block4 = create_if_block$2(ctx);
|
|
5418
5419
|
if_block4.c();
|
|
5419
|
-
if_block4.m(
|
|
5420
|
+
if_block4.m(div4, null);
|
|
5420
5421
|
}
|
|
5421
5422
|
} else if (if_block4) {
|
|
5422
5423
|
if_block4.d(1);
|
|
@@ -5426,7 +5427,7 @@
|
|
|
5426
5427
|
i: noop$1,
|
|
5427
5428
|
o: noop$1,
|
|
5428
5429
|
d: function destroy(detaching) {
|
|
5429
|
-
if (detaching) detach_dev(
|
|
5430
|
+
if (detaching) detach_dev(div4);
|
|
5430
5431
|
/*img_binding*/ ctx[34](null);
|
|
5431
5432
|
if (if_block0) if_block0.d();
|
|
5432
5433
|
|
|
@@ -5436,10 +5437,8 @@
|
|
|
5436
5437
|
|
|
5437
5438
|
if (if_block2) if_block2.d();
|
|
5438
5439
|
if (if_block3) if_block3.d();
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
if (if_block4) if_block4.d(detaching);
|
|
5442
|
-
if (detaching) detach_dev(if_block4_anchor);
|
|
5440
|
+
if (if_block4) if_block4.d();
|
|
5441
|
+
/*div4_binding*/ ctx[40](null);
|
|
5443
5442
|
mounted = false;
|
|
5444
5443
|
run_all(dispose);
|
|
5445
5444
|
}
|
|
@@ -5587,20 +5586,6 @@
|
|
|
5587
5586
|
$$invalidate(9, isLoggedIn = true);
|
|
5588
5587
|
sessionID = session;
|
|
5589
5588
|
playerID = userid;
|
|
5590
|
-
|
|
5591
|
-
if (endpoint) {
|
|
5592
|
-
checkSession(endpoint, session).then(
|
|
5593
|
-
res => {
|
|
5594
|
-
sessionID = res.data.Guid;
|
|
5595
|
-
playerID = res.data.UserID;
|
|
5596
|
-
$$invalidate(9, isLoggedIn = true);
|
|
5597
|
-
},
|
|
5598
|
-
err => {
|
|
5599
|
-
$$invalidate(9, isLoggedIn = false);
|
|
5600
|
-
console.error("err on session", err);
|
|
5601
|
-
}
|
|
5602
|
-
);
|
|
5603
|
-
}
|
|
5604
5589
|
};
|
|
5605
5590
|
|
|
5606
5591
|
const setOnLoad = () => {
|
|
@@ -5634,19 +5619,14 @@
|
|
|
5634
5619
|
|
|
5635
5620
|
const setClientStylingURL = () => {
|
|
5636
5621
|
let cssFile = document.createElement("style");
|
|
5637
|
-
cssFile.innerHTML = `@import ${clientstylingurl}`;
|
|
5638
5622
|
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
cssFile.innerHTML = data;
|
|
5623
|
+
fetch(new URL(clientstylingurl)).then(res => res.text()).then(data => {
|
|
5624
|
+
cssFile.innerHTML = data;
|
|
5642
5625
|
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
customStylingContainer.appendChild(cssFile);
|
|
5646
|
-
});
|
|
5647
|
-
}
|
|
5626
|
+
setTimeout(() => {
|
|
5627
|
+
customStylingContainer.appendChild(cssFile);
|
|
5648
5628
|
});
|
|
5649
|
-
}
|
|
5629
|
+
});
|
|
5650
5630
|
};
|
|
5651
5631
|
|
|
5652
5632
|
onMount(() => {
|
|
@@ -5679,7 +5659,7 @@
|
|
|
5679
5659
|
];
|
|
5680
5660
|
|
|
5681
5661
|
Object_1$2.keys($$props).forEach(key => {
|
|
5682
|
-
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$")
|
|
5662
|
+
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
5683
5663
|
});
|
|
5684
5664
|
|
|
5685
5665
|
function img_binding($$value) {
|
|
@@ -5695,7 +5675,7 @@
|
|
|
5695
5675
|
const mouseleave_handler = () => leave();
|
|
5696
5676
|
const click_handler_2 = () => toggleFavoriteGame(gameid);
|
|
5697
5677
|
|
|
5698
|
-
function
|
|
5678
|
+
function div4_binding($$value) {
|
|
5699
5679
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
5700
5680
|
customStylingContainer = $$value;
|
|
5701
5681
|
$$invalidate(13, customStylingContainer);
|
|
@@ -5874,7 +5854,7 @@
|
|
|
5874
5854
|
mouseenter_handler,
|
|
5875
5855
|
mouseleave_handler,
|
|
5876
5856
|
click_handler_2,
|
|
5877
|
-
|
|
5857
|
+
div4_binding
|
|
5878
5858
|
];
|
|
5879
5859
|
}
|
|
5880
5860
|
|
|
@@ -6142,13 +6122,13 @@
|
|
|
6142
6122
|
return child_ctx;
|
|
6143
6123
|
}
|
|
6144
6124
|
|
|
6145
|
-
// (
|
|
6125
|
+
// (445:4) {:else}
|
|
6146
6126
|
function create_else_block_3(ctx) {
|
|
6147
6127
|
let div;
|
|
6148
6128
|
|
|
6149
6129
|
function select_block_type_4(ctx, dirty) {
|
|
6150
|
-
if (/*categoryData*/ ctx[
|
|
6151
|
-
if (/*showFavGamesCategory*/ ctx[
|
|
6130
|
+
if (/*categoryData*/ ctx[8]) return create_if_block_7$1;
|
|
6131
|
+
if (/*showFavGamesCategory*/ ctx[19]) return create_if_block_11$1;
|
|
6152
6132
|
}
|
|
6153
6133
|
|
|
6154
6134
|
let current_block_type = select_block_type_4(ctx);
|
|
@@ -6158,7 +6138,7 @@
|
|
|
6158
6138
|
c: function create() {
|
|
6159
6139
|
div = element("div");
|
|
6160
6140
|
if (if_block) if_block.c();
|
|
6161
|
-
add_location(div, file$1,
|
|
6141
|
+
add_location(div, file$1, 445, 6, 16591);
|
|
6162
6142
|
},
|
|
6163
6143
|
m: function mount(target, anchor) {
|
|
6164
6144
|
insert_dev(target, div, anchor);
|
|
@@ -6190,22 +6170,22 @@
|
|
|
6190
6170
|
block,
|
|
6191
6171
|
id: create_else_block_3.name,
|
|
6192
6172
|
type: "else",
|
|
6193
|
-
source: "(
|
|
6173
|
+
source: "(445:4) {:else}",
|
|
6194
6174
|
ctx
|
|
6195
6175
|
});
|
|
6196
6176
|
|
|
6197
6177
|
return block;
|
|
6198
6178
|
}
|
|
6199
6179
|
|
|
6200
|
-
// (
|
|
6180
|
+
// (394:4) {#if searched}
|
|
6201
6181
|
function create_if_block_2$1(ctx) {
|
|
6202
6182
|
let div1;
|
|
6203
6183
|
let div0;
|
|
6204
6184
|
let t;
|
|
6205
6185
|
|
|
6206
6186
|
function select_block_type_2(ctx, dirty) {
|
|
6207
|
-
if (/*recentSearched*/ ctx[
|
|
6208
|
-
if (!/*shownCategoryData*/ ctx[
|
|
6187
|
+
if (/*recentSearched*/ ctx[12]) return create_if_block_5$1;
|
|
6188
|
+
if (!/*shownCategoryData*/ ctx[9].length) return create_if_block_6$1;
|
|
6209
6189
|
return create_else_block_2;
|
|
6210
6190
|
}
|
|
6211
6191
|
|
|
@@ -6213,7 +6193,7 @@
|
|
|
6213
6193
|
let if_block0 = current_block_type(ctx);
|
|
6214
6194
|
|
|
6215
6195
|
function select_block_type_3(ctx, dirty) {
|
|
6216
|
-
if (/*shownCategoryData*/ ctx[
|
|
6196
|
+
if (/*shownCategoryData*/ ctx[9]) return create_if_block_3$1;
|
|
6217
6197
|
return create_else_block_1$1;
|
|
6218
6198
|
}
|
|
6219
6199
|
|
|
@@ -6228,9 +6208,9 @@
|
|
|
6228
6208
|
t = space();
|
|
6229
6209
|
if_block1.c();
|
|
6230
6210
|
attr_dev(div0, "class", "CasinoGamesHeader Searched");
|
|
6231
|
-
add_location(div0, file$1,
|
|
6211
|
+
add_location(div0, file$1, 395, 8, 14715);
|
|
6232
6212
|
attr_dev(div1, "class", "CasinoGamesContainer");
|
|
6233
|
-
add_location(div1, file$1,
|
|
6213
|
+
add_location(div1, file$1, 394, 6, 14672);
|
|
6234
6214
|
},
|
|
6235
6215
|
m: function mount(target, anchor) {
|
|
6236
6216
|
insert_dev(target, div1, anchor);
|
|
@@ -6275,19 +6255,19 @@
|
|
|
6275
6255
|
block,
|
|
6276
6256
|
id: create_if_block_2$1.name,
|
|
6277
6257
|
type: "if",
|
|
6278
|
-
source: "(
|
|
6258
|
+
source: "(394:4) {#if searched}",
|
|
6279
6259
|
ctx
|
|
6280
6260
|
});
|
|
6281
6261
|
|
|
6282
6262
|
return block;
|
|
6283
6263
|
}
|
|
6284
6264
|
|
|
6285
|
-
// (
|
|
6265
|
+
// (386:2) {#if hasErrors}
|
|
6286
6266
|
function create_if_block$1(ctx) {
|
|
6287
6267
|
let if_block_anchor;
|
|
6288
6268
|
|
|
6289
6269
|
function select_block_type_1(ctx, dirty) {
|
|
6290
|
-
if (/*filteresPresent*/ ctx[
|
|
6270
|
+
if (/*filteresPresent*/ ctx[14]) return create_if_block_1$1;
|
|
6291
6271
|
return create_else_block$1;
|
|
6292
6272
|
}
|
|
6293
6273
|
|
|
@@ -6324,26 +6304,26 @@
|
|
|
6324
6304
|
block,
|
|
6325
6305
|
id: create_if_block$1.name,
|
|
6326
6306
|
type: "if",
|
|
6327
|
-
source: "(
|
|
6307
|
+
source: "(386:2) {#if hasErrors}",
|
|
6328
6308
|
ctx
|
|
6329
6309
|
});
|
|
6330
6310
|
|
|
6331
6311
|
return block;
|
|
6332
6312
|
}
|
|
6333
6313
|
|
|
6334
|
-
// (
|
|
6314
|
+
// (493:39)
|
|
6335
6315
|
function create_if_block_11$1(ctx) {
|
|
6336
6316
|
let div1;
|
|
6337
6317
|
let div0;
|
|
6338
6318
|
let h3;
|
|
6339
|
-
let t0_value = /*favoriteGamesData*/ ctx[
|
|
6319
|
+
let t0_value = /*favoriteGamesData*/ ctx[21].name + "";
|
|
6340
6320
|
let t0;
|
|
6341
6321
|
let t1;
|
|
6342
6322
|
let ul;
|
|
6343
6323
|
let ul_class_value;
|
|
6344
6324
|
|
|
6345
6325
|
function select_block_type_6(ctx, dirty) {
|
|
6346
|
-
if (/*favoriteGamesData*/ ctx[
|
|
6326
|
+
if (/*favoriteGamesData*/ ctx[21]) return create_if_block_12$1;
|
|
6347
6327
|
return create_else_block_7;
|
|
6348
6328
|
}
|
|
6349
6329
|
|
|
@@ -6360,17 +6340,17 @@
|
|
|
6360
6340
|
ul = element("ul");
|
|
6361
6341
|
if_block.c();
|
|
6362
6342
|
attr_dev(h3, "class", "CategoryName");
|
|
6363
|
-
add_location(h3, file$1,
|
|
6343
|
+
add_location(h3, file$1, 495, 16, 18880);
|
|
6364
6344
|
attr_dev(div0, "class", "CasinoGamesHeader");
|
|
6365
|
-
add_location(div0, file$1,
|
|
6345
|
+
add_location(div0, file$1, 494, 12, 18832);
|
|
6366
6346
|
|
|
6367
|
-
attr_dev(ul, "class", ul_class_value = "" + ((/*favoriteGamesData*/ ctx[
|
|
6347
|
+
attr_dev(ul, "class", ul_class_value = "" + ((/*favoriteGamesData*/ ctx[21].items.length != 0
|
|
6368
6348
|
? "CasinoGamesGrid"
|
|
6369
6349
|
: "") + " 'GamesListIncreasedGap'}"));
|
|
6370
6350
|
|
|
6371
|
-
add_location(ul, file$1,
|
|
6351
|
+
add_location(ul, file$1, 499, 12, 19029);
|
|
6372
6352
|
attr_dev(div1, "class", "CasinoGamesContainer");
|
|
6373
|
-
add_location(div1, file$1,
|
|
6353
|
+
add_location(div1, file$1, 493, 10, 18785);
|
|
6374
6354
|
},
|
|
6375
6355
|
m: function mount(target, anchor) {
|
|
6376
6356
|
insert_dev(target, div1, anchor);
|
|
@@ -6384,7 +6364,7 @@
|
|
|
6384
6364
|
/*ul_binding_1*/ ctx[39](ul);
|
|
6385
6365
|
},
|
|
6386
6366
|
p: function update(ctx, dirty) {
|
|
6387
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
6367
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && t0_value !== (t0_value = /*favoriteGamesData*/ ctx[21].name + "")) set_data_dev(t0, t0_value);
|
|
6388
6368
|
|
|
6389
6369
|
if (current_block_type === (current_block_type = select_block_type_6(ctx)) && if_block) {
|
|
6390
6370
|
if_block.p(ctx, dirty);
|
|
@@ -6398,7 +6378,7 @@
|
|
|
6398
6378
|
}
|
|
6399
6379
|
}
|
|
6400
6380
|
|
|
6401
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
6381
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && ul_class_value !== (ul_class_value = "" + ((/*favoriteGamesData*/ ctx[21].items.length != 0
|
|
6402
6382
|
? "CasinoGamesGrid"
|
|
6403
6383
|
: "") + " 'GamesListIncreasedGap'}"))) {
|
|
6404
6384
|
attr_dev(ul, "class", ul_class_value);
|
|
@@ -6416,26 +6396,26 @@
|
|
|
6416
6396
|
block,
|
|
6417
6397
|
id: create_if_block_11$1.name,
|
|
6418
6398
|
type: "if",
|
|
6419
|
-
source: "(
|
|
6399
|
+
source: "(493:39) ",
|
|
6420
6400
|
ctx
|
|
6421
6401
|
});
|
|
6422
6402
|
|
|
6423
6403
|
return block;
|
|
6424
6404
|
}
|
|
6425
6405
|
|
|
6426
|
-
// (
|
|
6406
|
+
// (447:8) {#if categoryData}
|
|
6427
6407
|
function create_if_block_7$1(ctx) {
|
|
6428
6408
|
let div1;
|
|
6429
6409
|
let div0;
|
|
6430
6410
|
let h3;
|
|
6431
|
-
let t0_value = /*categoryData*/ ctx[
|
|
6411
|
+
let t0_value = /*categoryData*/ ctx[8].name + "";
|
|
6432
6412
|
let t0;
|
|
6433
6413
|
let t1;
|
|
6434
6414
|
let t2;
|
|
6435
|
-
let if_block0 = /*showLoadCategory*/ ctx[
|
|
6415
|
+
let if_block0 = /*showLoadCategory*/ ctx[10] && create_if_block_10$1(ctx);
|
|
6436
6416
|
|
|
6437
6417
|
function select_block_type_5(ctx, dirty) {
|
|
6438
|
-
if (/*shownCategoryData*/ ctx[
|
|
6418
|
+
if (/*shownCategoryData*/ ctx[9].length !== 0) return create_if_block_8$1;
|
|
6439
6419
|
return create_else_block_4;
|
|
6440
6420
|
}
|
|
6441
6421
|
|
|
@@ -6453,11 +6433,11 @@
|
|
|
6453
6433
|
t2 = space();
|
|
6454
6434
|
if_block1.c();
|
|
6455
6435
|
attr_dev(h3, "class", "CategoryName");
|
|
6456
|
-
add_location(h3, file$1,
|
|
6436
|
+
add_location(h3, file$1, 449, 16, 16729);
|
|
6457
6437
|
attr_dev(div0, "class", "CasinoGamesHeader");
|
|
6458
|
-
add_location(div0, file$1,
|
|
6438
|
+
add_location(div0, file$1, 448, 12, 16681);
|
|
6459
6439
|
attr_dev(div1, "class", "CasinoGamesContainer");
|
|
6460
|
-
add_location(div1, file$1,
|
|
6440
|
+
add_location(div1, file$1, 447, 10, 16634);
|
|
6461
6441
|
},
|
|
6462
6442
|
m: function mount(target, anchor) {
|
|
6463
6443
|
insert_dev(target, div1, anchor);
|
|
@@ -6471,9 +6451,9 @@
|
|
|
6471
6451
|
if_block1.m(div1, null);
|
|
6472
6452
|
},
|
|
6473
6453
|
p: function update(ctx, dirty) {
|
|
6474
|
-
if (dirty[0] & /*categoryData*/
|
|
6454
|
+
if (dirty[0] & /*categoryData*/ 256 && t0_value !== (t0_value = /*categoryData*/ ctx[8].name + "")) set_data_dev(t0, t0_value);
|
|
6475
6455
|
|
|
6476
|
-
if (/*showLoadCategory*/ ctx[
|
|
6456
|
+
if (/*showLoadCategory*/ ctx[10]) {
|
|
6477
6457
|
if (if_block0) {
|
|
6478
6458
|
if_block0.p(ctx, dirty);
|
|
6479
6459
|
} else {
|
|
@@ -6510,14 +6490,14 @@
|
|
|
6510
6490
|
block,
|
|
6511
6491
|
id: create_if_block_7$1.name,
|
|
6512
6492
|
type: "if",
|
|
6513
|
-
source: "(
|
|
6493
|
+
source: "(447:8) {#if categoryData}",
|
|
6514
6494
|
ctx
|
|
6515
6495
|
});
|
|
6516
6496
|
|
|
6517
6497
|
return block;
|
|
6518
6498
|
}
|
|
6519
6499
|
|
|
6520
|
-
// (
|
|
6500
|
+
// (575:14) {:else}
|
|
6521
6501
|
function create_else_block_7(ctx) {
|
|
6522
6502
|
let p;
|
|
6523
6503
|
|
|
@@ -6525,7 +6505,7 @@
|
|
|
6525
6505
|
c: function create() {
|
|
6526
6506
|
p = element("p");
|
|
6527
6507
|
p.textContent = "Waiting";
|
|
6528
|
-
add_location(p, file$1,
|
|
6508
|
+
add_location(p, file$1, 575, 16, 24570);
|
|
6529
6509
|
},
|
|
6530
6510
|
m: function mount(target, anchor) {
|
|
6531
6511
|
insert_dev(target, p, anchor);
|
|
@@ -6540,17 +6520,17 @@
|
|
|
6540
6520
|
block,
|
|
6541
6521
|
id: create_else_block_7.name,
|
|
6542
6522
|
type: "else",
|
|
6543
|
-
source: "(
|
|
6523
|
+
source: "(575:14) {:else}",
|
|
6544
6524
|
ctx
|
|
6545
6525
|
});
|
|
6546
6526
|
|
|
6547
6527
|
return block;
|
|
6548
6528
|
}
|
|
6549
6529
|
|
|
6550
|
-
// (
|
|
6530
|
+
// (501:14) {#if favoriteGamesData}
|
|
6551
6531
|
function create_if_block_12$1(ctx) {
|
|
6552
6532
|
let each_1_anchor;
|
|
6553
|
-
let each_value_2 = /*favoriteGamesData*/ ctx[
|
|
6533
|
+
let each_value_2 = /*favoriteGamesData*/ ctx[21].items;
|
|
6554
6534
|
validate_each_argument(each_value_2);
|
|
6555
6535
|
let each_blocks = [];
|
|
6556
6536
|
|
|
@@ -6588,8 +6568,8 @@
|
|
|
6588
6568
|
}
|
|
6589
6569
|
},
|
|
6590
6570
|
p: function update(ctx, dirty) {
|
|
6591
|
-
if (dirty[0] & /*favoriteGamesData, session, userid, lang, favorites, showFavGamesCategory, clientstyling, endpoint, userAgent, intersecting, nativeLoading*/
|
|
6592
|
-
each_value_2 = /*favoriteGamesData*/ ctx[
|
|
6571
|
+
if (dirty[0] & /*favoriteGamesData, session, userid, lang, favorites, showFavGamesCategory, clientstyling, clientstylingurl, endpoint, userAgent, intersecting, nativeLoading*/ 27852927) {
|
|
6572
|
+
each_value_2 = /*favoriteGamesData*/ ctx[21].items;
|
|
6593
6573
|
validate_each_argument(each_value_2);
|
|
6594
6574
|
let i;
|
|
6595
6575
|
|
|
@@ -6634,14 +6614,14 @@
|
|
|
6634
6614
|
block,
|
|
6635
6615
|
id: create_if_block_12$1.name,
|
|
6636
6616
|
type: "if",
|
|
6637
|
-
source: "(
|
|
6617
|
+
source: "(501:14) {#if favoriteGamesData}",
|
|
6638
6618
|
ctx
|
|
6639
6619
|
});
|
|
6640
6620
|
|
|
6641
6621
|
return block;
|
|
6642
6622
|
}
|
|
6643
6623
|
|
|
6644
|
-
// (
|
|
6624
|
+
// (555:16) {:else}
|
|
6645
6625
|
function create_else_block_5(ctx) {
|
|
6646
6626
|
let p;
|
|
6647
6627
|
let svg;
|
|
@@ -6652,7 +6632,7 @@
|
|
|
6652
6632
|
let t3;
|
|
6653
6633
|
|
|
6654
6634
|
function select_block_type_8(ctx, dirty) {
|
|
6655
|
-
if (isMobile(/*userAgent*/ ctx[
|
|
6635
|
+
if (isMobile(/*userAgent*/ ctx[23])) return create_if_block_19$1;
|
|
6656
6636
|
return create_else_block_6;
|
|
6657
6637
|
}
|
|
6658
6638
|
|
|
@@ -6672,7 +6652,7 @@
|
|
|
6672
6652
|
t3 = space();
|
|
6673
6653
|
set_style(path, "fill", "white");
|
|
6674
6654
|
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");
|
|
6675
|
-
add_location(path, file$1,
|
|
6655
|
+
add_location(path, file$1, 557, 116, 22883);
|
|
6676
6656
|
attr_dev(svg, "version", "1.1");
|
|
6677
6657
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
6678
6658
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -6682,15 +6662,15 @@
|
|
|
6682
6662
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
6683
6663
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
6684
6664
|
attr_dev(svg, "xml:space", "preserve");
|
|
6685
|
-
add_location(svg, file$1,
|
|
6665
|
+
add_location(svg, file$1, 556, 20, 22630);
|
|
6686
6666
|
attr_dev(span, "class", "NoFavoriteText NoFavoriteTextHighlight");
|
|
6687
|
-
add_location(span, file$1,
|
|
6667
|
+
add_location(span, file$1, 566, 20, 23986);
|
|
6688
6668
|
|
|
6689
|
-
attr_dev(p, "class", "NoFavoriteGames " + (isMobile(/*userAgent*/ ctx[
|
|
6669
|
+
attr_dev(p, "class", "NoFavoriteGames " + (isMobile(/*userAgent*/ ctx[23])
|
|
6690
6670
|
? "NoFavoriteGamesMobile"
|
|
6691
6671
|
: ""));
|
|
6692
6672
|
|
|
6693
|
-
add_location(p, file$1,
|
|
6673
|
+
add_location(p, file$1, 555, 18, 22529);
|
|
6694
6674
|
},
|
|
6695
6675
|
m: function mount(target, anchor) {
|
|
6696
6676
|
insert_dev(target, p, anchor);
|
|
@@ -6713,14 +6693,14 @@
|
|
|
6713
6693
|
block,
|
|
6714
6694
|
id: create_else_block_5.name,
|
|
6715
6695
|
type: "else",
|
|
6716
|
-
source: "(
|
|
6696
|
+
source: "(555:16) {:else}",
|
|
6717
6697
|
ctx
|
|
6718
6698
|
});
|
|
6719
6699
|
|
|
6720
6700
|
return block;
|
|
6721
6701
|
}
|
|
6722
6702
|
|
|
6723
|
-
// (
|
|
6703
|
+
// (570:20) {:else}
|
|
6724
6704
|
function create_else_block_6(ctx) {
|
|
6725
6705
|
let span;
|
|
6726
6706
|
|
|
@@ -6729,7 +6709,7 @@
|
|
|
6729
6709
|
span = element("span");
|
|
6730
6710
|
span.textContent = "You can now add games to favorites by clicking on the star icon located on the game thumbnail.";
|
|
6731
6711
|
attr_dev(span, "class", "NoFavoriteText");
|
|
6732
|
-
add_location(span, file$1,
|
|
6712
|
+
add_location(span, file$1, 570, 22, 24328);
|
|
6733
6713
|
},
|
|
6734
6714
|
m: function mount(target, anchor) {
|
|
6735
6715
|
insert_dev(target, span, anchor);
|
|
@@ -6743,14 +6723,14 @@
|
|
|
6743
6723
|
block,
|
|
6744
6724
|
id: create_else_block_6.name,
|
|
6745
6725
|
type: "else",
|
|
6746
|
-
source: "(
|
|
6726
|
+
source: "(570:20) {:else}",
|
|
6747
6727
|
ctx
|
|
6748
6728
|
});
|
|
6749
6729
|
|
|
6750
6730
|
return block;
|
|
6751
6731
|
}
|
|
6752
6732
|
|
|
6753
|
-
// (
|
|
6733
|
+
// (568:20) {#if isMobile(userAgent)}
|
|
6754
6734
|
function create_if_block_19$1(ctx) {
|
|
6755
6735
|
let span;
|
|
6756
6736
|
|
|
@@ -6759,7 +6739,7 @@
|
|
|
6759
6739
|
span = element("span");
|
|
6760
6740
|
span.textContent = "You can now add games to favorites by tapping on the star icon located on the game page.";
|
|
6761
6741
|
attr_dev(span, "class", "NoFavoriteText");
|
|
6762
|
-
add_location(span, file$1,
|
|
6742
|
+
add_location(span, file$1, 568, 22, 24153);
|
|
6763
6743
|
},
|
|
6764
6744
|
m: function mount(target, anchor) {
|
|
6765
6745
|
insert_dev(target, span, anchor);
|
|
@@ -6773,14 +6753,14 @@
|
|
|
6773
6753
|
block,
|
|
6774
6754
|
id: create_if_block_19$1.name,
|
|
6775
6755
|
type: "if",
|
|
6776
|
-
source: "(
|
|
6756
|
+
source: "(568:20) {#if isMobile(userAgent)}",
|
|
6777
6757
|
ctx
|
|
6778
6758
|
});
|
|
6779
6759
|
|
|
6780
6760
|
return block;
|
|
6781
6761
|
}
|
|
6782
6762
|
|
|
6783
|
-
// (
|
|
6763
|
+
// (503:18) {#if gameprops.gameModel}
|
|
6784
6764
|
function create_if_block_13$1(ctx) {
|
|
6785
6765
|
let if_block_anchor;
|
|
6786
6766
|
let if_block = /*gameprops*/ ctx[68].gameModel.isFavorite && create_if_block_14$1(ctx);
|
|
@@ -6818,17 +6798,17 @@
|
|
|
6818
6798
|
block,
|
|
6819
6799
|
id: create_if_block_13$1.name,
|
|
6820
6800
|
type: "if",
|
|
6821
|
-
source: "(
|
|
6801
|
+
source: "(503:18) {#if gameprops.gameModel}",
|
|
6822
6802
|
ctx
|
|
6823
6803
|
});
|
|
6824
6804
|
|
|
6825
6805
|
return block;
|
|
6826
6806
|
}
|
|
6827
6807
|
|
|
6828
|
-
// (
|
|
6808
|
+
// (504:20) {#if gameprops.gameModel.isFavorite}
|
|
6829
6809
|
function create_if_block_14$1(ctx) {
|
|
6830
6810
|
let if_block_anchor;
|
|
6831
|
-
let if_block = (/*intersecting*/ ctx[
|
|
6811
|
+
let if_block = (/*intersecting*/ ctx[16] || /*nativeLoading*/ ctx[24]) && create_if_block_15$1(ctx);
|
|
6832
6812
|
|
|
6833
6813
|
const block = {
|
|
6834
6814
|
c: function create() {
|
|
@@ -6840,7 +6820,7 @@
|
|
|
6840
6820
|
insert_dev(target, if_block_anchor, anchor);
|
|
6841
6821
|
},
|
|
6842
6822
|
p: function update(ctx, dirty) {
|
|
6843
|
-
if (/*intersecting*/ ctx[
|
|
6823
|
+
if (/*intersecting*/ ctx[16] || /*nativeLoading*/ ctx[24]) {
|
|
6844
6824
|
if (if_block) {
|
|
6845
6825
|
if_block.p(ctx, dirty);
|
|
6846
6826
|
} else {
|
|
@@ -6863,23 +6843,23 @@
|
|
|
6863
6843
|
block,
|
|
6864
6844
|
id: create_if_block_14$1.name,
|
|
6865
6845
|
type: "if",
|
|
6866
|
-
source: "(
|
|
6846
|
+
source: "(504:20) {#if gameprops.gameModel.isFavorite}",
|
|
6867
6847
|
ctx
|
|
6868
6848
|
});
|
|
6869
6849
|
|
|
6870
6850
|
return block;
|
|
6871
6851
|
}
|
|
6872
6852
|
|
|
6873
|
-
// (
|
|
6853
|
+
// (505:22) {#if intersecting || nativeLoading}
|
|
6874
6854
|
function create_if_block_15$1(ctx) {
|
|
6875
6855
|
let show_if;
|
|
6876
6856
|
let show_if_1;
|
|
6877
6857
|
let if_block_anchor;
|
|
6878
6858
|
|
|
6879
6859
|
function select_block_type_7(ctx, dirty) {
|
|
6880
|
-
if (show_if == null) show_if = !!isMobile(/*userAgent*/ ctx[
|
|
6860
|
+
if (show_if == null) show_if = !!isMobile(/*userAgent*/ ctx[23]);
|
|
6881
6861
|
if (show_if) return create_if_block_16$1;
|
|
6882
|
-
if (show_if_1 == null || dirty[0] & /*favoriteGamesData*/
|
|
6862
|
+
if (show_if_1 == null || dirty[0] & /*favoriteGamesData*/ 2097152) show_if_1 = !!/*gameprops*/ ctx[68].gameModel.platform.includes("PC");
|
|
6883
6863
|
if (show_if_1) return create_if_block_18$1;
|
|
6884
6864
|
}
|
|
6885
6865
|
|
|
@@ -6921,14 +6901,14 @@
|
|
|
6921
6901
|
block,
|
|
6922
6902
|
id: create_if_block_15$1.name,
|
|
6923
6903
|
type: "if",
|
|
6924
|
-
source: "(
|
|
6904
|
+
source: "(505:22) {#if intersecting || nativeLoading}",
|
|
6925
6905
|
ctx
|
|
6926
6906
|
});
|
|
6927
6907
|
|
|
6928
6908
|
return block;
|
|
6929
6909
|
}
|
|
6930
6910
|
|
|
6931
|
-
// (
|
|
6911
|
+
// (529:78)
|
|
6932
6912
|
function create_if_block_18$1(ctx) {
|
|
6933
6913
|
let casino_game_thumbnail;
|
|
6934
6914
|
let casino_game_thumbnail_class_value;
|
|
@@ -6963,16 +6943,17 @@
|
|
|
6963
6943
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*gameprops*/ ctx[68].gameModel.id);
|
|
6964
6944
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*gameprops*/ ctx[68].gameModel.hasFunMode);
|
|
6965
6945
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*gameprops*/ ctx[68].gameModel.isFavorite);
|
|
6966
|
-
set_custom_element_data(casino_game_thumbnail, "showfavoredcategory", /*showFavGamesCategory*/ ctx[
|
|
6946
|
+
set_custom_element_data(casino_game_thumbnail, "showfavoredcategory", /*showFavGamesCategory*/ ctx[19]);
|
|
6967
6947
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
6948
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
6968
6949
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
6969
|
-
add_location(casino_game_thumbnail, file$1,
|
|
6950
|
+
add_location(casino_game_thumbnail, file$1, 530, 28, 21183);
|
|
6970
6951
|
},
|
|
6971
6952
|
m: function mount(target, anchor) {
|
|
6972
6953
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
6973
6954
|
},
|
|
6974
6955
|
p: function update(ctx, dirty) {
|
|
6975
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
6956
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_class_value !== (casino_game_thumbnail_class_value = "" + (MASONRY_CLASS_PREFIX + (/*gameprops*/ ctx[68].cellSize
|
|
6976
6957
|
? /*gameprops*/ ctx[68].cellSize
|
|
6977
6958
|
: "1x1")))) {
|
|
6978
6959
|
set_custom_element_data(casino_game_thumbnail, "class", casino_game_thumbnail_class_value);
|
|
@@ -6994,50 +6975,54 @@
|
|
|
6994
6975
|
set_custom_element_data(casino_game_thumbnail, "favorites", /*favorites*/ ctx[4]);
|
|
6995
6976
|
}
|
|
6996
6977
|
|
|
6997
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
6978
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*gameprops*/ ctx[68].gameModel.thumbnail)) {
|
|
6998
6979
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
6999
6980
|
}
|
|
7000
6981
|
|
|
7001
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
6982
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*gameprops*/ ctx[68].gameModel.name)) {
|
|
7002
6983
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
7003
6984
|
}
|
|
7004
6985
|
|
|
7005
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
6986
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*gameprops*/ ctx[68].gameModel.vendor.name)) {
|
|
7006
6987
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
7007
6988
|
}
|
|
7008
6989
|
|
|
7009
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
6990
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*gameprops*/ ctx[68].gameModel.isNew)) {
|
|
7010
6991
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
7011
6992
|
}
|
|
7012
6993
|
|
|
7013
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
6994
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*gameprops*/ ctx[68].gameModel.popularity)) {
|
|
7014
6995
|
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
|
|
7015
6996
|
}
|
|
7016
6997
|
|
|
7017
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
6998
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*gameprops*/ ctx[68].gameModel.cellSize)) {
|
|
7018
6999
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
7019
7000
|
}
|
|
7020
7001
|
|
|
7021
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7002
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*gameprops*/ ctx[68].gameModel.id)) {
|
|
7022
7003
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
7023
7004
|
}
|
|
7024
7005
|
|
|
7025
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7006
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*gameprops*/ ctx[68].gameModel.hasFunMode)) {
|
|
7026
7007
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
7027
7008
|
}
|
|
7028
7009
|
|
|
7029
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7010
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*gameprops*/ ctx[68].gameModel.isFavorite)) {
|
|
7030
7011
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
7031
7012
|
}
|
|
7032
7013
|
|
|
7033
|
-
if (dirty[0] & /*showFavGamesCategory*/
|
|
7034
|
-
set_custom_element_data(casino_game_thumbnail, "showfavoredcategory", /*showFavGamesCategory*/ ctx[
|
|
7014
|
+
if (dirty[0] & /*showFavGamesCategory*/ 524288) {
|
|
7015
|
+
set_custom_element_data(casino_game_thumbnail, "showfavoredcategory", /*showFavGamesCategory*/ ctx[19]);
|
|
7035
7016
|
}
|
|
7036
7017
|
|
|
7037
7018
|
if (dirty[0] & /*clientstyling*/ 32) {
|
|
7038
7019
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7039
7020
|
}
|
|
7040
7021
|
|
|
7022
|
+
if (dirty[0] & /*clientstylingurl*/ 64) {
|
|
7023
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7024
|
+
}
|
|
7025
|
+
|
|
7041
7026
|
if (dirty[0] & /*endpoint*/ 1) {
|
|
7042
7027
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7043
7028
|
}
|
|
@@ -7051,14 +7036,14 @@
|
|
|
7051
7036
|
block,
|
|
7052
7037
|
id: create_if_block_18$1.name,
|
|
7053
7038
|
type: "if",
|
|
7054
|
-
source: "(
|
|
7039
|
+
source: "(529:78) ",
|
|
7055
7040
|
ctx
|
|
7056
7041
|
});
|
|
7057
7042
|
|
|
7058
7043
|
return block;
|
|
7059
7044
|
}
|
|
7060
7045
|
|
|
7061
|
-
// (
|
|
7046
|
+
// (506:24) {#if isMobile(userAgent)}
|
|
7062
7047
|
function create_if_block_16$1(ctx) {
|
|
7063
7048
|
let show_if = /*gameprops*/ ctx[68].gameModel.platform.includes("iPad") || /*gameprops*/ ctx[68].gameModel.platform.includes("iPhone") || /*gameprops*/ ctx[68].gameModel.platform.includes("Android");
|
|
7064
7049
|
let if_block_anchor;
|
|
@@ -7074,7 +7059,7 @@
|
|
|
7074
7059
|
insert_dev(target, if_block_anchor, anchor);
|
|
7075
7060
|
},
|
|
7076
7061
|
p: function update(ctx, dirty) {
|
|
7077
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7062
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152) show_if = /*gameprops*/ ctx[68].gameModel.platform.includes("iPad") || /*gameprops*/ ctx[68].gameModel.platform.includes("iPhone") || /*gameprops*/ ctx[68].gameModel.platform.includes("Android");
|
|
7078
7063
|
|
|
7079
7064
|
if (show_if) {
|
|
7080
7065
|
if (if_block) {
|
|
@@ -7099,14 +7084,14 @@
|
|
|
7099
7084
|
block,
|
|
7100
7085
|
id: create_if_block_16$1.name,
|
|
7101
7086
|
type: "if",
|
|
7102
|
-
source: "(
|
|
7087
|
+
source: "(506:24) {#if isMobile(userAgent)}",
|
|
7103
7088
|
ctx
|
|
7104
7089
|
});
|
|
7105
7090
|
|
|
7106
7091
|
return block;
|
|
7107
7092
|
}
|
|
7108
7093
|
|
|
7109
|
-
// (
|
|
7094
|
+
// (507:26) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
|
|
7110
7095
|
function create_if_block_17$1(ctx) {
|
|
7111
7096
|
let casino_game_thumbnail;
|
|
7112
7097
|
let casino_game_thumbnail_class_value;
|
|
@@ -7141,16 +7126,17 @@
|
|
|
7141
7126
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*gameprops*/ ctx[68].gameModel.id);
|
|
7142
7127
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*gameprops*/ ctx[68].gameModel.hasFunMode);
|
|
7143
7128
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*gameprops*/ ctx[68].gameModel.isFavorite);
|
|
7144
|
-
set_custom_element_data(casino_game_thumbnail, "showfavoredcategory", /*showFavGamesCategory*/ ctx[
|
|
7129
|
+
set_custom_element_data(casino_game_thumbnail, "showfavoredcategory", /*showFavGamesCategory*/ ctx[19]);
|
|
7145
7130
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7131
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7146
7132
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7147
|
-
add_location(casino_game_thumbnail, file$1,
|
|
7133
|
+
add_location(casino_game_thumbnail, file$1, 507, 26, 19679);
|
|
7148
7134
|
},
|
|
7149
7135
|
m: function mount(target, anchor) {
|
|
7150
7136
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
7151
7137
|
},
|
|
7152
7138
|
p: function update(ctx, dirty) {
|
|
7153
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7139
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_class_value !== (casino_game_thumbnail_class_value = "" + (MASONRY_CLASS_PREFIX + (/*gameprops*/ ctx[68].cellSize
|
|
7154
7140
|
? /*gameprops*/ ctx[68].cellSize
|
|
7155
7141
|
: "1x1")))) {
|
|
7156
7142
|
set_custom_element_data(casino_game_thumbnail, "class", casino_game_thumbnail_class_value);
|
|
@@ -7172,50 +7158,54 @@
|
|
|
7172
7158
|
set_custom_element_data(casino_game_thumbnail, "favorites", /*favorites*/ ctx[4]);
|
|
7173
7159
|
}
|
|
7174
7160
|
|
|
7175
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7161
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*gameprops*/ ctx[68].gameModel.thumbnail)) {
|
|
7176
7162
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
7177
7163
|
}
|
|
7178
7164
|
|
|
7179
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7165
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*gameprops*/ ctx[68].gameModel.name)) {
|
|
7180
7166
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
7181
7167
|
}
|
|
7182
7168
|
|
|
7183
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7169
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*gameprops*/ ctx[68].gameModel.vendor.name)) {
|
|
7184
7170
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
7185
7171
|
}
|
|
7186
7172
|
|
|
7187
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7173
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*gameprops*/ ctx[68].gameModel.isNew)) {
|
|
7188
7174
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
7189
7175
|
}
|
|
7190
7176
|
|
|
7191
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7177
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*gameprops*/ ctx[68].gameModel.popularity)) {
|
|
7192
7178
|
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
|
|
7193
7179
|
}
|
|
7194
7180
|
|
|
7195
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7181
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*gameprops*/ ctx[68].gameModel.cellSize)) {
|
|
7196
7182
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
7197
7183
|
}
|
|
7198
7184
|
|
|
7199
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7185
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*gameprops*/ ctx[68].gameModel.id)) {
|
|
7200
7186
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
7201
7187
|
}
|
|
7202
7188
|
|
|
7203
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7189
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*gameprops*/ ctx[68].gameModel.hasFunMode)) {
|
|
7204
7190
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
7205
7191
|
}
|
|
7206
7192
|
|
|
7207
|
-
if (dirty[0] & /*favoriteGamesData*/
|
|
7193
|
+
if (dirty[0] & /*favoriteGamesData*/ 2097152 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*gameprops*/ ctx[68].gameModel.isFavorite)) {
|
|
7208
7194
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
7209
7195
|
}
|
|
7210
7196
|
|
|
7211
|
-
if (dirty[0] & /*showFavGamesCategory*/
|
|
7212
|
-
set_custom_element_data(casino_game_thumbnail, "showfavoredcategory", /*showFavGamesCategory*/ ctx[
|
|
7197
|
+
if (dirty[0] & /*showFavGamesCategory*/ 524288) {
|
|
7198
|
+
set_custom_element_data(casino_game_thumbnail, "showfavoredcategory", /*showFavGamesCategory*/ ctx[19]);
|
|
7213
7199
|
}
|
|
7214
7200
|
|
|
7215
7201
|
if (dirty[0] & /*clientstyling*/ 32) {
|
|
7216
7202
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7217
7203
|
}
|
|
7218
7204
|
|
|
7205
|
+
if (dirty[0] & /*clientstylingurl*/ 64) {
|
|
7206
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7207
|
+
}
|
|
7208
|
+
|
|
7219
7209
|
if (dirty[0] & /*endpoint*/ 1) {
|
|
7220
7210
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7221
7211
|
}
|
|
@@ -7229,14 +7219,14 @@
|
|
|
7229
7219
|
block,
|
|
7230
7220
|
id: create_if_block_17$1.name,
|
|
7231
7221
|
type: "if",
|
|
7232
|
-
source: "(
|
|
7222
|
+
source: "(507:26) {#if (gameprops.gameModel.platform.includes(\\\"iPad\\\") || gameprops.gameModel.platform.includes(\\\"iPhone\\\") || gameprops.gameModel.platform.includes(\\\"Android\\\"))}",
|
|
7233
7223
|
ctx
|
|
7234
7224
|
});
|
|
7235
7225
|
|
|
7236
7226
|
return block;
|
|
7237
7227
|
}
|
|
7238
7228
|
|
|
7239
|
-
// (
|
|
7229
|
+
// (502:16) {#each favoriteGamesData.items as gameprops, index}
|
|
7240
7230
|
function create_each_block_2(ctx) {
|
|
7241
7231
|
let if_block_anchor;
|
|
7242
7232
|
let if_block = /*gameprops*/ ctx[68].gameModel && create_if_block_13$1(ctx);
|
|
@@ -7274,21 +7264,21 @@
|
|
|
7274
7264
|
block,
|
|
7275
7265
|
id: create_each_block_2.name,
|
|
7276
7266
|
type: "each",
|
|
7277
|
-
source: "(
|
|
7267
|
+
source: "(502:16) {#each favoriteGamesData.items as gameprops, index}",
|
|
7278
7268
|
ctx
|
|
7279
7269
|
});
|
|
7280
7270
|
|
|
7281
7271
|
return block;
|
|
7282
7272
|
}
|
|
7283
7273
|
|
|
7284
|
-
// (
|
|
7274
|
+
// (454:14) {#if showLoadCategory}
|
|
7285
7275
|
function create_if_block_10$1(ctx) {
|
|
7286
7276
|
let a;
|
|
7287
7277
|
let h3;
|
|
7288
|
-
let t0_value = /*$_*/ ctx[
|
|
7278
|
+
let t0_value = /*$_*/ ctx[22]("gamesCategorySection.viewAll") + "";
|
|
7289
7279
|
let t0;
|
|
7290
7280
|
let t1;
|
|
7291
|
-
let t2_value = /*categoryData*/ ctx[
|
|
7281
|
+
let t2_value = /*categoryData*/ ctx[8].games.total + "";
|
|
7292
7282
|
let t2;
|
|
7293
7283
|
let t3;
|
|
7294
7284
|
let mounted;
|
|
@@ -7303,9 +7293,9 @@
|
|
|
7303
7293
|
t2 = text(t2_value);
|
|
7304
7294
|
t3 = text(")");
|
|
7305
7295
|
attr_dev(h3, "class", "CategoryLoadMore");
|
|
7306
|
-
add_location(h3, file$1,
|
|
7296
|
+
add_location(h3, file$1, 456, 16, 17061);
|
|
7307
7297
|
attr_dev(a, "class", "CategoryNameLink");
|
|
7308
|
-
add_location(a, file$1,
|
|
7298
|
+
add_location(a, file$1, 455, 14, 16954);
|
|
7309
7299
|
},
|
|
7310
7300
|
m: function mount(target, anchor) {
|
|
7311
7301
|
insert_dev(target, a, anchor);
|
|
@@ -7321,8 +7311,8 @@
|
|
|
7321
7311
|
}
|
|
7322
7312
|
},
|
|
7323
7313
|
p: function update(ctx, dirty) {
|
|
7324
|
-
if (dirty[0] & /*$_*/
|
|
7325
|
-
if (dirty[0] & /*categoryData*/
|
|
7314
|
+
if (dirty[0] & /*$_*/ 4194304 && t0_value !== (t0_value = /*$_*/ ctx[22]("gamesCategorySection.viewAll") + "")) set_data_dev(t0, t0_value);
|
|
7315
|
+
if (dirty[0] & /*categoryData*/ 256 && t2_value !== (t2_value = /*categoryData*/ ctx[8].games.total + "")) set_data_dev(t2, t2_value);
|
|
7326
7316
|
},
|
|
7327
7317
|
d: function destroy(detaching) {
|
|
7328
7318
|
if (detaching) detach_dev(a);
|
|
@@ -7335,14 +7325,14 @@
|
|
|
7335
7325
|
block,
|
|
7336
7326
|
id: create_if_block_10$1.name,
|
|
7337
7327
|
type: "if",
|
|
7338
|
-
source: "(
|
|
7328
|
+
source: "(454:14) {#if showLoadCategory}",
|
|
7339
7329
|
ctx
|
|
7340
7330
|
});
|
|
7341
7331
|
|
|
7342
7332
|
return block;
|
|
7343
7333
|
}
|
|
7344
7334
|
|
|
7345
|
-
// (
|
|
7335
|
+
// (489:12) {:else}
|
|
7346
7336
|
function create_else_block_4(ctx) {
|
|
7347
7337
|
let p;
|
|
7348
7338
|
|
|
@@ -7351,7 +7341,7 @@
|
|
|
7351
7341
|
p = element("p");
|
|
7352
7342
|
p.textContent = "You don't have any games in this category.";
|
|
7353
7343
|
attr_dev(p, "class", "NoSearchResults");
|
|
7354
|
-
add_location(p, file$1,
|
|
7344
|
+
add_location(p, file$1, 489, 14, 18626);
|
|
7355
7345
|
},
|
|
7356
7346
|
m: function mount(target, anchor) {
|
|
7357
7347
|
insert_dev(target, p, anchor);
|
|
@@ -7366,18 +7356,18 @@
|
|
|
7366
7356
|
block,
|
|
7367
7357
|
id: create_else_block_4.name,
|
|
7368
7358
|
type: "else",
|
|
7369
|
-
source: "(
|
|
7359
|
+
source: "(489:12) {:else}",
|
|
7370
7360
|
ctx
|
|
7371
7361
|
});
|
|
7372
7362
|
|
|
7373
7363
|
return block;
|
|
7374
7364
|
}
|
|
7375
7365
|
|
|
7376
|
-
// (
|
|
7366
|
+
// (463:12) {#if shownCategoryData.length !== 0}
|
|
7377
7367
|
function create_if_block_8$1(ctx) {
|
|
7378
7368
|
let ul;
|
|
7379
7369
|
let ul_class_value;
|
|
7380
|
-
let each_value_1 = /*shownCategoryData*/ ctx[
|
|
7370
|
+
let each_value_1 = /*shownCategoryData*/ ctx[9];
|
|
7381
7371
|
validate_each_argument(each_value_1);
|
|
7382
7372
|
let each_blocks = [];
|
|
7383
7373
|
|
|
@@ -7393,11 +7383,11 @@
|
|
|
7393
7383
|
each_blocks[i].c();
|
|
7394
7384
|
}
|
|
7395
7385
|
|
|
7396
|
-
attr_dev(ul, "class", ul_class_value = "" + ((/*favoriteGamesData*/ ctx[
|
|
7386
|
+
attr_dev(ul, "class", ul_class_value = "" + ((/*favoriteGamesData*/ ctx[21].items.length === 0 && /*showFavGamesCategory*/ ctx[19]
|
|
7397
7387
|
? ""
|
|
7398
7388
|
: "CasinoGamesGrid") + " GamesListIncreasedGap"));
|
|
7399
7389
|
|
|
7400
|
-
add_location(ul, file$1,
|
|
7390
|
+
add_location(ul, file$1, 463, 12, 17316);
|
|
7401
7391
|
},
|
|
7402
7392
|
m: function mount(target, anchor) {
|
|
7403
7393
|
insert_dev(target, ul, anchor);
|
|
@@ -7409,8 +7399,8 @@
|
|
|
7409
7399
|
/*ul_binding*/ ctx[37](ul);
|
|
7410
7400
|
},
|
|
7411
7401
|
p: function update(ctx, dirty) {
|
|
7412
|
-
if (dirty[0] & /*session, userid, lang, shownCategoryData, favorites, clientstyling, endpoint, intersecting, nativeLoading*/
|
|
7413
|
-
each_value_1 = /*shownCategoryData*/ ctx[
|
|
7402
|
+
if (dirty[0] & /*session, userid, lang, shownCategoryData, favorites, clientstyling, clientstylingurl, endpoint, intersecting, nativeLoading*/ 16843391) {
|
|
7403
|
+
each_value_1 = /*shownCategoryData*/ ctx[9];
|
|
7414
7404
|
validate_each_argument(each_value_1);
|
|
7415
7405
|
let i;
|
|
7416
7406
|
|
|
@@ -7433,7 +7423,7 @@
|
|
|
7433
7423
|
each_blocks.length = each_value_1.length;
|
|
7434
7424
|
}
|
|
7435
7425
|
|
|
7436
|
-
if (dirty[0] & /*favoriteGamesData, showFavGamesCategory*/
|
|
7426
|
+
if (dirty[0] & /*favoriteGamesData, showFavGamesCategory*/ 2621440 && ul_class_value !== (ul_class_value = "" + ((/*favoriteGamesData*/ ctx[21].items.length === 0 && /*showFavGamesCategory*/ ctx[19]
|
|
7437
7427
|
? ""
|
|
7438
7428
|
: "CasinoGamesGrid") + " GamesListIncreasedGap"))) {
|
|
7439
7429
|
attr_dev(ul, "class", ul_class_value);
|
|
@@ -7450,14 +7440,14 @@
|
|
|
7450
7440
|
block,
|
|
7451
7441
|
id: create_if_block_8$1.name,
|
|
7452
7442
|
type: "if",
|
|
7453
|
-
source: "(
|
|
7443
|
+
source: "(463:12) {#if shownCategoryData.length !== 0}",
|
|
7454
7444
|
ctx
|
|
7455
7445
|
});
|
|
7456
7446
|
|
|
7457
7447
|
return block;
|
|
7458
7448
|
}
|
|
7459
7449
|
|
|
7460
|
-
// (
|
|
7450
|
+
// (466:18) {#if intersecting || nativeLoading}
|
|
7461
7451
|
function create_if_block_9$1(ctx) {
|
|
7462
7452
|
let casino_game_thumbnail;
|
|
7463
7453
|
let casino_game_thumbnail_class_value;
|
|
@@ -7493,8 +7483,9 @@
|
|
|
7493
7483
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*gameprops*/ ctx[68].hasFunMode);
|
|
7494
7484
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*gameprops*/ ctx[68].isFavorite);
|
|
7495
7485
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7486
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7496
7487
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7497
|
-
add_location(casino_game_thumbnail, file$1,
|
|
7488
|
+
add_location(casino_game_thumbnail, file$1, 466, 20, 17599);
|
|
7498
7489
|
},
|
|
7499
7490
|
m: function mount(target, anchor) {
|
|
7500
7491
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -7512,7 +7503,7 @@
|
|
|
7512
7503
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
7513
7504
|
}
|
|
7514
7505
|
|
|
7515
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7506
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_class_value !== (casino_game_thumbnail_class_value = "" + (MASONRY_CLASS_PREFIX + (/*gameprops*/ ctx[68].cellSize
|
|
7516
7507
|
? /*gameprops*/ ctx[68].cellSize
|
|
7517
7508
|
: "1x1")))) {
|
|
7518
7509
|
set_custom_element_data(casino_game_thumbnail, "class", casino_game_thumbnail_class_value);
|
|
@@ -7522,39 +7513,39 @@
|
|
|
7522
7513
|
set_custom_element_data(casino_game_thumbnail, "favorites", /*favorites*/ ctx[4]);
|
|
7523
7514
|
}
|
|
7524
7515
|
|
|
7525
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7516
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*gameprops*/ ctx[68].thumbnail)) {
|
|
7526
7517
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
7527
7518
|
}
|
|
7528
7519
|
|
|
7529
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7520
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*gameprops*/ ctx[68].name)) {
|
|
7530
7521
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
7531
7522
|
}
|
|
7532
7523
|
|
|
7533
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7524
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*gameprops*/ ctx[68].vendor.name)) {
|
|
7534
7525
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
7535
7526
|
}
|
|
7536
7527
|
|
|
7537
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7528
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*gameprops*/ ctx[68].isNew)) {
|
|
7538
7529
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
7539
7530
|
}
|
|
7540
7531
|
|
|
7541
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7532
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*gameprops*/ ctx[68].popularity)) {
|
|
7542
7533
|
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
|
|
7543
7534
|
}
|
|
7544
7535
|
|
|
7545
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7536
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*gameprops*/ ctx[68].cellSize)) {
|
|
7546
7537
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
7547
7538
|
}
|
|
7548
7539
|
|
|
7549
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7540
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*gameprops*/ ctx[68].id)) {
|
|
7550
7541
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
7551
7542
|
}
|
|
7552
7543
|
|
|
7553
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7544
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*gameprops*/ ctx[68].hasFunMode)) {
|
|
7554
7545
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
7555
7546
|
}
|
|
7556
7547
|
|
|
7557
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7548
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*gameprops*/ ctx[68].isFavorite)) {
|
|
7558
7549
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
7559
7550
|
}
|
|
7560
7551
|
|
|
@@ -7562,6 +7553,10 @@
|
|
|
7562
7553
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7563
7554
|
}
|
|
7564
7555
|
|
|
7556
|
+
if (dirty[0] & /*clientstylingurl*/ 64) {
|
|
7557
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7558
|
+
}
|
|
7559
|
+
|
|
7565
7560
|
if (dirty[0] & /*endpoint*/ 1) {
|
|
7566
7561
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7567
7562
|
}
|
|
@@ -7575,17 +7570,17 @@
|
|
|
7575
7570
|
block,
|
|
7576
7571
|
id: create_if_block_9$1.name,
|
|
7577
7572
|
type: "if",
|
|
7578
|
-
source: "(
|
|
7573
|
+
source: "(466:18) {#if intersecting || nativeLoading}",
|
|
7579
7574
|
ctx
|
|
7580
7575
|
});
|
|
7581
7576
|
|
|
7582
7577
|
return block;
|
|
7583
7578
|
}
|
|
7584
7579
|
|
|
7585
|
-
// (
|
|
7580
|
+
// (465:16) {#each shownCategoryData as gameprops, index}
|
|
7586
7581
|
function create_each_block_1(ctx) {
|
|
7587
7582
|
let if_block_anchor;
|
|
7588
|
-
let if_block = (/*intersecting*/ ctx[
|
|
7583
|
+
let if_block = (/*intersecting*/ ctx[16] || /*nativeLoading*/ ctx[24]) && create_if_block_9$1(ctx);
|
|
7589
7584
|
|
|
7590
7585
|
const block = {
|
|
7591
7586
|
c: function create() {
|
|
@@ -7597,7 +7592,7 @@
|
|
|
7597
7592
|
insert_dev(target, if_block_anchor, anchor);
|
|
7598
7593
|
},
|
|
7599
7594
|
p: function update(ctx, dirty) {
|
|
7600
|
-
if (/*intersecting*/ ctx[
|
|
7595
|
+
if (/*intersecting*/ ctx[16] || /*nativeLoading*/ ctx[24]) {
|
|
7601
7596
|
if (if_block) {
|
|
7602
7597
|
if_block.p(ctx, dirty);
|
|
7603
7598
|
} else {
|
|
@@ -7620,17 +7615,17 @@
|
|
|
7620
7615
|
block,
|
|
7621
7616
|
id: create_each_block_1.name,
|
|
7622
7617
|
type: "each",
|
|
7623
|
-
source: "(
|
|
7618
|
+
source: "(465:16) {#each shownCategoryData as gameprops, index}",
|
|
7624
7619
|
ctx
|
|
7625
7620
|
});
|
|
7626
7621
|
|
|
7627
7622
|
return block;
|
|
7628
7623
|
}
|
|
7629
7624
|
|
|
7630
|
-
// (
|
|
7625
|
+
// (406:12) {:else}
|
|
7631
7626
|
function create_else_block_2(ctx) {
|
|
7632
7627
|
let h3;
|
|
7633
|
-
let t_value = /*$_*/ ctx[
|
|
7628
|
+
let t_value = /*$_*/ ctx[22]("gamesCategorySection.searchedItems") + "";
|
|
7634
7629
|
let t;
|
|
7635
7630
|
|
|
7636
7631
|
const block = {
|
|
@@ -7638,14 +7633,14 @@
|
|
|
7638
7633
|
h3 = element("h3");
|
|
7639
7634
|
t = text(t_value);
|
|
7640
7635
|
attr_dev(h3, "class", "StatusText");
|
|
7641
|
-
add_location(h3, file$1,
|
|
7636
|
+
add_location(h3, file$1, 406, 14, 15107);
|
|
7642
7637
|
},
|
|
7643
7638
|
m: function mount(target, anchor) {
|
|
7644
7639
|
insert_dev(target, h3, anchor);
|
|
7645
7640
|
append_dev(h3, t);
|
|
7646
7641
|
},
|
|
7647
7642
|
p: function update(ctx, dirty) {
|
|
7648
|
-
if (dirty[0] & /*$_*/
|
|
7643
|
+
if (dirty[0] & /*$_*/ 4194304 && t_value !== (t_value = /*$_*/ ctx[22]("gamesCategorySection.searchedItems") + "")) set_data_dev(t, t_value);
|
|
7649
7644
|
},
|
|
7650
7645
|
d: function destroy(detaching) {
|
|
7651
7646
|
if (detaching) detach_dev(h3);
|
|
@@ -7656,17 +7651,17 @@
|
|
|
7656
7651
|
block,
|
|
7657
7652
|
id: create_else_block_2.name,
|
|
7658
7653
|
type: "else",
|
|
7659
|
-
source: "(
|
|
7654
|
+
source: "(406:12) {:else}",
|
|
7660
7655
|
ctx
|
|
7661
7656
|
});
|
|
7662
7657
|
|
|
7663
7658
|
return block;
|
|
7664
7659
|
}
|
|
7665
7660
|
|
|
7666
|
-
// (
|
|
7661
|
+
// (402:12) {#if !shownCategoryData.length}
|
|
7667
7662
|
function create_if_block_6$1(ctx) {
|
|
7668
7663
|
let h3;
|
|
7669
|
-
let t_value = /*$_*/ ctx[
|
|
7664
|
+
let t_value = /*$_*/ ctx[22]("gamesCategorySection.noResults") + "";
|
|
7670
7665
|
let t;
|
|
7671
7666
|
|
|
7672
7667
|
const block = {
|
|
@@ -7674,14 +7669,14 @@
|
|
|
7674
7669
|
h3 = element("h3");
|
|
7675
7670
|
t = text(t_value);
|
|
7676
7671
|
attr_dev(h3, "class", "StatusText");
|
|
7677
|
-
add_location(h3, file$1,
|
|
7672
|
+
add_location(h3, file$1, 402, 12, 14978);
|
|
7678
7673
|
},
|
|
7679
7674
|
m: function mount(target, anchor) {
|
|
7680
7675
|
insert_dev(target, h3, anchor);
|
|
7681
7676
|
append_dev(h3, t);
|
|
7682
7677
|
},
|
|
7683
7678
|
p: function update(ctx, dirty) {
|
|
7684
|
-
if (dirty[0] & /*$_*/
|
|
7679
|
+
if (dirty[0] & /*$_*/ 4194304 && t_value !== (t_value = /*$_*/ ctx[22]("gamesCategorySection.noResults") + "")) set_data_dev(t, t_value);
|
|
7685
7680
|
},
|
|
7686
7681
|
d: function destroy(detaching) {
|
|
7687
7682
|
if (detaching) detach_dev(h3);
|
|
@@ -7692,17 +7687,17 @@
|
|
|
7692
7687
|
block,
|
|
7693
7688
|
id: create_if_block_6$1.name,
|
|
7694
7689
|
type: "if",
|
|
7695
|
-
source: "(
|
|
7690
|
+
source: "(402:12) {#if !shownCategoryData.length}",
|
|
7696
7691
|
ctx
|
|
7697
7692
|
});
|
|
7698
7693
|
|
|
7699
7694
|
return block;
|
|
7700
7695
|
}
|
|
7701
7696
|
|
|
7702
|
-
// (
|
|
7697
|
+
// (397:10) {#if recentSearched}
|
|
7703
7698
|
function create_if_block_5$1(ctx) {
|
|
7704
7699
|
let h3;
|
|
7705
|
-
let t_value = /*$_*/ ctx[
|
|
7700
|
+
let t_value = /*$_*/ ctx[22]("gamesCategorySection.recentSearchedItems") + "";
|
|
7706
7701
|
let t;
|
|
7707
7702
|
|
|
7708
7703
|
const block = {
|
|
@@ -7710,14 +7705,14 @@
|
|
|
7710
7705
|
h3 = element("h3");
|
|
7711
7706
|
t = text(t_value);
|
|
7712
7707
|
attr_dev(h3, "class", "StatusText");
|
|
7713
|
-
add_location(h3, file$1,
|
|
7708
|
+
add_location(h3, file$1, 397, 12, 14799);
|
|
7714
7709
|
},
|
|
7715
7710
|
m: function mount(target, anchor) {
|
|
7716
7711
|
insert_dev(target, h3, anchor);
|
|
7717
7712
|
append_dev(h3, t);
|
|
7718
7713
|
},
|
|
7719
7714
|
p: function update(ctx, dirty) {
|
|
7720
|
-
if (dirty[0] & /*$_*/
|
|
7715
|
+
if (dirty[0] & /*$_*/ 4194304 && t_value !== (t_value = /*$_*/ ctx[22]("gamesCategorySection.recentSearchedItems") + "")) set_data_dev(t, t_value);
|
|
7721
7716
|
},
|
|
7722
7717
|
d: function destroy(detaching) {
|
|
7723
7718
|
if (detaching) detach_dev(h3);
|
|
@@ -7728,14 +7723,14 @@
|
|
|
7728
7723
|
block,
|
|
7729
7724
|
id: create_if_block_5$1.name,
|
|
7730
7725
|
type: "if",
|
|
7731
|
-
source: "(
|
|
7726
|
+
source: "(397:10) {#if recentSearched}",
|
|
7732
7727
|
ctx
|
|
7733
7728
|
});
|
|
7734
7729
|
|
|
7735
7730
|
return block;
|
|
7736
7731
|
}
|
|
7737
7732
|
|
|
7738
|
-
// (
|
|
7733
|
+
// (441:8) {:else}
|
|
7739
7734
|
function create_else_block_1$1(ctx) {
|
|
7740
7735
|
let p;
|
|
7741
7736
|
|
|
@@ -7744,7 +7739,7 @@
|
|
|
7744
7739
|
p = element("p");
|
|
7745
7740
|
p.textContent = "Waiting";
|
|
7746
7741
|
attr_dev(p, "class", "SearchWaiting");
|
|
7747
|
-
add_location(p, file$1,
|
|
7742
|
+
add_location(p, file$1, 441, 10, 16509);
|
|
7748
7743
|
},
|
|
7749
7744
|
m: function mount(target, anchor) {
|
|
7750
7745
|
insert_dev(target, p, anchor);
|
|
@@ -7759,19 +7754,19 @@
|
|
|
7759
7754
|
block,
|
|
7760
7755
|
id: create_else_block_1$1.name,
|
|
7761
7756
|
type: "else",
|
|
7762
|
-
source: "(
|
|
7757
|
+
source: "(441:8) {:else}",
|
|
7763
7758
|
ctx
|
|
7764
7759
|
});
|
|
7765
7760
|
|
|
7766
7761
|
return block;
|
|
7767
7762
|
}
|
|
7768
7763
|
|
|
7769
|
-
// (
|
|
7764
|
+
// (413:8) {#if shownCategoryData}
|
|
7770
7765
|
function create_if_block_3$1(ctx) {
|
|
7771
7766
|
let t;
|
|
7772
7767
|
let ul;
|
|
7773
|
-
let if_block = !/*showItems*/ ctx[
|
|
7774
|
-
let each_value = /*shownCategoryData*/ ctx[
|
|
7768
|
+
let if_block = !/*showItems*/ ctx[15] && create_if_block_4$1(ctx);
|
|
7769
|
+
let each_value = /*shownCategoryData*/ ctx[9];
|
|
7775
7770
|
validate_each_argument(each_value);
|
|
7776
7771
|
let each_blocks = [];
|
|
7777
7772
|
|
|
@@ -7790,7 +7785,7 @@
|
|
|
7790
7785
|
}
|
|
7791
7786
|
|
|
7792
7787
|
attr_dev(ul, "class", "CasinoGamesGrid");
|
|
7793
|
-
add_location(ul, file$1,
|
|
7788
|
+
add_location(ul, file$1, 416, 10, 15487);
|
|
7794
7789
|
},
|
|
7795
7790
|
m: function mount(target, anchor) {
|
|
7796
7791
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -7802,7 +7797,7 @@
|
|
|
7802
7797
|
}
|
|
7803
7798
|
},
|
|
7804
7799
|
p: function update(ctx, dirty) {
|
|
7805
|
-
if (!/*showItems*/ ctx[
|
|
7800
|
+
if (!/*showItems*/ ctx[15]) {
|
|
7806
7801
|
if (if_block) ; else {
|
|
7807
7802
|
if_block = create_if_block_4$1(ctx);
|
|
7808
7803
|
if_block.c();
|
|
@@ -7813,8 +7808,8 @@
|
|
|
7813
7808
|
if_block = null;
|
|
7814
7809
|
}
|
|
7815
7810
|
|
|
7816
|
-
if (dirty[0] & /*shownCategoryData, session, userid, lang, searchItem, favorites, clientstyling, endpoint*/
|
|
7817
|
-
each_value = /*shownCategoryData*/ ctx[
|
|
7811
|
+
if (dirty[0] & /*shownCategoryData, session, userid, lang, searchItem, favorites, clientstyling, clientstylingurl, endpoint*/ 8831) {
|
|
7812
|
+
each_value = /*shownCategoryData*/ ctx[9];
|
|
7818
7813
|
validate_each_argument(each_value);
|
|
7819
7814
|
let i;
|
|
7820
7815
|
|
|
@@ -7849,14 +7844,14 @@
|
|
|
7849
7844
|
block,
|
|
7850
7845
|
id: create_if_block_3$1.name,
|
|
7851
7846
|
type: "if",
|
|
7852
|
-
source: "(
|
|
7847
|
+
source: "(413:8) {#if shownCategoryData}",
|
|
7853
7848
|
ctx
|
|
7854
7849
|
});
|
|
7855
7850
|
|
|
7856
7851
|
return block;
|
|
7857
7852
|
}
|
|
7858
7853
|
|
|
7859
|
-
// (
|
|
7854
|
+
// (414:10) {#if !showItems}
|
|
7860
7855
|
function create_if_block_4$1(ctx) {
|
|
7861
7856
|
let p;
|
|
7862
7857
|
let b;
|
|
@@ -7868,9 +7863,9 @@
|
|
|
7868
7863
|
b = element("b");
|
|
7869
7864
|
b.textContent = "No recent searches yet.";
|
|
7870
7865
|
t1 = text(" Search for any of our games.");
|
|
7871
|
-
add_location(b, file$1,
|
|
7866
|
+
add_location(b, file$1, 414, 79, 15397);
|
|
7872
7867
|
attr_dev(p, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter");
|
|
7873
|
-
add_location(p, file$1,
|
|
7868
|
+
add_location(p, file$1, 414, 12, 15330);
|
|
7874
7869
|
},
|
|
7875
7870
|
m: function mount(target, anchor) {
|
|
7876
7871
|
insert_dev(target, p, anchor);
|
|
@@ -7886,14 +7881,14 @@
|
|
|
7886
7881
|
block,
|
|
7887
7882
|
id: create_if_block_4$1.name,
|
|
7888
7883
|
type: "if",
|
|
7889
|
-
source: "(
|
|
7884
|
+
source: "(414:10) {#if !showItems}",
|
|
7890
7885
|
ctx
|
|
7891
7886
|
});
|
|
7892
7887
|
|
|
7893
7888
|
return block;
|
|
7894
7889
|
}
|
|
7895
7890
|
|
|
7896
|
-
// (
|
|
7891
|
+
// (418:12) {#each shownCategoryData as gameprops, index}
|
|
7897
7892
|
function create_each_block$1(ctx) {
|
|
7898
7893
|
let casino_game_thumbnail;
|
|
7899
7894
|
let casino_game_thumbnail_class_value;
|
|
@@ -7918,7 +7913,7 @@
|
|
|
7918
7913
|
set_custom_element_data(casino_game_thumbnail, "session", /*session*/ ctx[2]);
|
|
7919
7914
|
set_custom_element_data(casino_game_thumbnail, "userid", /*userid*/ ctx[3]);
|
|
7920
7915
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
7921
|
-
set_custom_element_data(casino_game_thumbnail, "searchitem", /*searchItem*/ ctx[
|
|
7916
|
+
set_custom_element_data(casino_game_thumbnail, "searchitem", /*searchItem*/ ctx[13]);
|
|
7922
7917
|
set_custom_element_data(casino_game_thumbnail, "favorites", /*favorites*/ ctx[4]);
|
|
7923
7918
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*gameprops*/ ctx[68].thumbnail);
|
|
7924
7919
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*gameprops*/ ctx[68].name);
|
|
@@ -7930,14 +7925,15 @@
|
|
|
7930
7925
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*gameprops*/ ctx[68].hasFunMode);
|
|
7931
7926
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*gameprops*/ ctx[68].isFavorite);
|
|
7932
7927
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
7928
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
7933
7929
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
7934
|
-
add_location(casino_game_thumbnail, file$1,
|
|
7930
|
+
add_location(casino_game_thumbnail, file$1, 418, 14, 15588);
|
|
7935
7931
|
},
|
|
7936
7932
|
m: function mount(target, anchor) {
|
|
7937
7933
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
7938
7934
|
},
|
|
7939
7935
|
p: function update(ctx, dirty) {
|
|
7940
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7936
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_class_value !== (casino_game_thumbnail_class_value = "" + (MASONRY_CLASS_PREFIX + (/*gameprops*/ ctx[68].cellSize
|
|
7941
7937
|
? /*gameprops*/ ctx[68].cellSize
|
|
7942
7938
|
: "1x1")))) {
|
|
7943
7939
|
set_custom_element_data(casino_game_thumbnail, "class", casino_game_thumbnail_class_value);
|
|
@@ -7955,47 +7951,47 @@
|
|
|
7955
7951
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
7956
7952
|
}
|
|
7957
7953
|
|
|
7958
|
-
if (dirty[0] & /*searchItem*/
|
|
7959
|
-
set_custom_element_data(casino_game_thumbnail, "searchitem", /*searchItem*/ ctx[
|
|
7954
|
+
if (dirty[0] & /*searchItem*/ 8192) {
|
|
7955
|
+
set_custom_element_data(casino_game_thumbnail, "searchitem", /*searchItem*/ ctx[13]);
|
|
7960
7956
|
}
|
|
7961
7957
|
|
|
7962
7958
|
if (dirty[0] & /*favorites*/ 16) {
|
|
7963
7959
|
set_custom_element_data(casino_game_thumbnail, "favorites", /*favorites*/ ctx[4]);
|
|
7964
7960
|
}
|
|
7965
7961
|
|
|
7966
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7962
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*gameprops*/ ctx[68].thumbnail)) {
|
|
7967
7963
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
7968
7964
|
}
|
|
7969
7965
|
|
|
7970
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7966
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*gameprops*/ ctx[68].name)) {
|
|
7971
7967
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
7972
7968
|
}
|
|
7973
7969
|
|
|
7974
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7970
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*gameprops*/ ctx[68].vendor.name)) {
|
|
7975
7971
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
7976
7972
|
}
|
|
7977
7973
|
|
|
7978
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7974
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*gameprops*/ ctx[68].isNew)) {
|
|
7979
7975
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
7980
7976
|
}
|
|
7981
7977
|
|
|
7982
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7978
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*gameprops*/ ctx[68].popularity)) {
|
|
7983
7979
|
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
|
|
7984
7980
|
}
|
|
7985
7981
|
|
|
7986
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7982
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*gameprops*/ ctx[68].cellSize)) {
|
|
7987
7983
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
7988
7984
|
}
|
|
7989
7985
|
|
|
7990
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7986
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*gameprops*/ ctx[68].id)) {
|
|
7991
7987
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
7992
7988
|
}
|
|
7993
7989
|
|
|
7994
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7990
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*gameprops*/ ctx[68].hasFunMode)) {
|
|
7995
7991
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
7996
7992
|
}
|
|
7997
7993
|
|
|
7998
|
-
if (dirty[0] & /*shownCategoryData*/
|
|
7994
|
+
if (dirty[0] & /*shownCategoryData*/ 512 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*gameprops*/ ctx[68].isFavorite)) {
|
|
7999
7995
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
8000
7996
|
}
|
|
8001
7997
|
|
|
@@ -8003,6 +7999,10 @@
|
|
|
8003
7999
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
8004
8000
|
}
|
|
8005
8001
|
|
|
8002
|
+
if (dirty[0] & /*clientstylingurl*/ 64) {
|
|
8003
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
8004
|
+
}
|
|
8005
|
+
|
|
8006
8006
|
if (dirty[0] & /*endpoint*/ 1) {
|
|
8007
8007
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
8008
8008
|
}
|
|
@@ -8016,14 +8016,14 @@
|
|
|
8016
8016
|
block,
|
|
8017
8017
|
id: create_each_block$1.name,
|
|
8018
8018
|
type: "each",
|
|
8019
|
-
source: "(
|
|
8019
|
+
source: "(418:12) {#each shownCategoryData as gameprops, index}",
|
|
8020
8020
|
ctx
|
|
8021
8021
|
});
|
|
8022
8022
|
|
|
8023
8023
|
return block;
|
|
8024
8024
|
}
|
|
8025
8025
|
|
|
8026
|
-
// (
|
|
8026
|
+
// (390:4) {:else}
|
|
8027
8027
|
function create_else_block$1(ctx) {
|
|
8028
8028
|
let p;
|
|
8029
8029
|
|
|
@@ -8032,7 +8032,7 @@
|
|
|
8032
8032
|
p = element("p");
|
|
8033
8033
|
p.textContent = "500 Error - Internal Server Error.";
|
|
8034
8034
|
attr_dev(p, "class", "SearchLoading");
|
|
8035
|
-
add_location(p, file$1,
|
|
8035
|
+
add_location(p, file$1, 390, 6, 14563);
|
|
8036
8036
|
},
|
|
8037
8037
|
m: function mount(target, anchor) {
|
|
8038
8038
|
insert_dev(target, p, anchor);
|
|
@@ -8046,14 +8046,14 @@
|
|
|
8046
8046
|
block,
|
|
8047
8047
|
id: create_else_block$1.name,
|
|
8048
8048
|
type: "else",
|
|
8049
|
-
source: "(
|
|
8049
|
+
source: "(390:4) {:else}",
|
|
8050
8050
|
ctx
|
|
8051
8051
|
});
|
|
8052
8052
|
|
|
8053
8053
|
return block;
|
|
8054
8054
|
}
|
|
8055
8055
|
|
|
8056
|
-
// (
|
|
8056
|
+
// (388:4) {#if filteresPresent}
|
|
8057
8057
|
function create_if_block_1$1(ctx) {
|
|
8058
8058
|
let p;
|
|
8059
8059
|
|
|
@@ -8062,7 +8062,7 @@
|
|
|
8062
8062
|
p = element("p");
|
|
8063
8063
|
p.textContent = "404 Error - No result found.";
|
|
8064
8064
|
attr_dev(p, "class", "SearchLoading");
|
|
8065
|
-
add_location(p, file$1,
|
|
8065
|
+
add_location(p, file$1, 388, 6, 14487);
|
|
8066
8066
|
},
|
|
8067
8067
|
m: function mount(target, anchor) {
|
|
8068
8068
|
insert_dev(target, p, anchor);
|
|
@@ -8076,7 +8076,7 @@
|
|
|
8076
8076
|
block,
|
|
8077
8077
|
id: create_if_block_1$1.name,
|
|
8078
8078
|
type: "if",
|
|
8079
|
-
source: "(
|
|
8079
|
+
source: "(388:4) {#if filteresPresent}",
|
|
8080
8080
|
ctx
|
|
8081
8081
|
});
|
|
8082
8082
|
|
|
@@ -8087,8 +8087,8 @@
|
|
|
8087
8087
|
let div;
|
|
8088
8088
|
|
|
8089
8089
|
function select_block_type(ctx, dirty) {
|
|
8090
|
-
if (/*hasErrors*/ ctx[
|
|
8091
|
-
if (/*searched*/ ctx[
|
|
8090
|
+
if (/*hasErrors*/ ctx[7]) return create_if_block$1;
|
|
8091
|
+
if (/*searched*/ ctx[11]) return create_if_block_2$1;
|
|
8092
8092
|
return create_else_block_3;
|
|
8093
8093
|
}
|
|
8094
8094
|
|
|
@@ -8101,7 +8101,7 @@
|
|
|
8101
8101
|
if_block.c();
|
|
8102
8102
|
this.c = noop$1;
|
|
8103
8103
|
attr_dev(div, "class", "CasinoGamesCategorySectionContainer");
|
|
8104
|
-
add_location(div, file$1,
|
|
8104
|
+
add_location(div, file$1, 384, 0, 14308);
|
|
8105
8105
|
},
|
|
8106
8106
|
l: function claim(nodes) {
|
|
8107
8107
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -8149,7 +8149,7 @@
|
|
|
8149
8149
|
function instance$1($$self, $$props, $$invalidate) {
|
|
8150
8150
|
let $_;
|
|
8151
8151
|
validate_store(X, "_");
|
|
8152
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
|
8152
|
+
component_subscribe($$self, X, $$value => $$invalidate(22, $_ = $$value));
|
|
8153
8153
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
8154
8154
|
validate_slots("undefined", slots, []);
|
|
8155
8155
|
|
|
@@ -8164,6 +8164,11 @@
|
|
|
8164
8164
|
let { categoryid = "" } = $$props;
|
|
8165
8165
|
let { categoryindex = 0 } = $$props;
|
|
8166
8166
|
let { categorygames = 0 } = $$props;
|
|
8167
|
+
let { once = true } = $$props;
|
|
8168
|
+
let { top = 0 } = $$props;
|
|
8169
|
+
let { bottom = 0 } = $$props;
|
|
8170
|
+
let { left = 0 } = $$props;
|
|
8171
|
+
let { right = 0 } = $$props;
|
|
8167
8172
|
|
|
8168
8173
|
// CasinoPage loading state
|
|
8169
8174
|
let isLoading = false;
|
|
@@ -8185,12 +8190,10 @@
|
|
|
8185
8190
|
let searchItem = false;
|
|
8186
8191
|
let filteresPresent = false;
|
|
8187
8192
|
let showItems = true;
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
let { bottom = 0 } = $$props;
|
|
8191
|
-
let { left = 0 } = $$props;
|
|
8192
|
-
let { right = 0 } = $$props;
|
|
8193
|
+
|
|
8194
|
+
/* Start Lazy Loading */
|
|
8193
8195
|
let nativeLoading = true;
|
|
8196
|
+
|
|
8194
8197
|
let intersecting = false;
|
|
8195
8198
|
let container;
|
|
8196
8199
|
let maxTotal;
|
|
@@ -8206,9 +8209,6 @@
|
|
|
8206
8209
|
let getFavoredGamesCache = undefined;
|
|
8207
8210
|
let mostPlayedScreen = false;
|
|
8208
8211
|
let customStylingContainer;
|
|
8209
|
-
|
|
8210
|
-
// const operatorCategoryVisibleGames:number = operatorDetail.categoryStyles.numberOfVisibleGames;
|
|
8211
|
-
// const operatorFavoritesURL:string = operatorConfig.favoritesUrl;
|
|
8212
8212
|
let favoriteGamesData = { items: [], count: 0, name: "" };
|
|
8213
8213
|
|
|
8214
8214
|
/* End Lazy Loading */
|
|
@@ -8236,8 +8236,8 @@
|
|
|
8236
8236
|
});
|
|
8237
8237
|
|
|
8238
8238
|
let aux = shownCategoryData;
|
|
8239
|
-
$$invalidate(
|
|
8240
|
-
$$invalidate(
|
|
8239
|
+
$$invalidate(9, shownCategoryData = undefined);
|
|
8240
|
+
$$invalidate(9, shownCategoryData = aux);
|
|
8241
8241
|
resolve(favoriteGames);
|
|
8242
8242
|
}).catch(err => {
|
|
8243
8243
|
console.error(err);
|
|
@@ -8266,7 +8266,7 @@
|
|
|
8266
8266
|
if (vendorFilters[categoryid]) {
|
|
8267
8267
|
if (vendorFilters[categoryid].length && lobbyView === false && showFavGamesCategory === false) {
|
|
8268
8268
|
let queryParamVendorId = "";
|
|
8269
|
-
$$invalidate(
|
|
8269
|
+
$$invalidate(14, filteresPresent = true);
|
|
8270
8270
|
|
|
8271
8271
|
vendorFilters[categoryid].forEach(vendorId => {
|
|
8272
8272
|
queryParamVendorId = queryParamVendorId + (queryParamVendorId
|
|
@@ -8276,19 +8276,19 @@
|
|
|
8276
8276
|
|
|
8277
8277
|
url.searchParams.append("filter", `games(vendor(${queryParamVendorId}))`);
|
|
8278
8278
|
} else {
|
|
8279
|
-
$$invalidate(
|
|
8279
|
+
$$invalidate(14, filteresPresent = false);
|
|
8280
8280
|
}
|
|
8281
8281
|
}
|
|
8282
8282
|
}
|
|
8283
8283
|
|
|
8284
8284
|
fetch(url).then(res => res.json()).then(
|
|
8285
8285
|
data => {
|
|
8286
|
-
$$invalidate(
|
|
8286
|
+
$$invalidate(7, hasErrors = false);
|
|
8287
8287
|
maxTotal = data.games.total;
|
|
8288
8288
|
resolve(data);
|
|
8289
8289
|
},
|
|
8290
8290
|
err => {
|
|
8291
|
-
$$invalidate(
|
|
8291
|
+
$$invalidate(7, hasErrors = true);
|
|
8292
8292
|
console.error(err);
|
|
8293
8293
|
reject(err);
|
|
8294
8294
|
}
|
|
@@ -8300,12 +8300,12 @@
|
|
|
8300
8300
|
if (e.data) {
|
|
8301
8301
|
switch (e.data.type) {
|
|
8302
8302
|
case "MostPlayedData":
|
|
8303
|
-
$$invalidate(
|
|
8303
|
+
$$invalidate(11, searched = false);
|
|
8304
8304
|
lobbyView = false;
|
|
8305
|
-
$$invalidate(
|
|
8305
|
+
$$invalidate(10, showLoadCategory = false);
|
|
8306
8306
|
mostPlayedScreen = true;
|
|
8307
|
-
$$invalidate(
|
|
8308
|
-
$$invalidate(
|
|
8307
|
+
$$invalidate(9, shownCategoryData = e.data.mostPlayedGames);
|
|
8308
|
+
$$invalidate(8, categoryData = {
|
|
8309
8309
|
id: "MOSTPLAYED",
|
|
8310
8310
|
name: "Most Played Games",
|
|
8311
8311
|
games: {
|
|
@@ -8319,12 +8319,12 @@
|
|
|
8319
8319
|
operatorSpecifications = e.data.operatordetail;
|
|
8320
8320
|
break;
|
|
8321
8321
|
case "RecentSearchData":
|
|
8322
|
-
$$invalidate(
|
|
8322
|
+
$$invalidate(11, searched = true);
|
|
8323
8323
|
mostPlayedScreen = false;
|
|
8324
|
-
$$invalidate(
|
|
8324
|
+
$$invalidate(12, recentSearched = true);
|
|
8325
8325
|
if (e.data.searchData.length > 0) {
|
|
8326
|
-
$$invalidate(
|
|
8327
|
-
$$invalidate(
|
|
8326
|
+
$$invalidate(9, shownCategoryData = e.data.searchData);
|
|
8327
|
+
$$invalidate(15, showItems = true);
|
|
8328
8328
|
|
|
8329
8329
|
if (shownCategoryData) {
|
|
8330
8330
|
shownCategoryData.forEach(item => {
|
|
@@ -8332,19 +8332,19 @@
|
|
|
8332
8332
|
});
|
|
8333
8333
|
}
|
|
8334
8334
|
} else {
|
|
8335
|
-
$$invalidate(
|
|
8335
|
+
$$invalidate(15, showItems = false);
|
|
8336
8336
|
}
|
|
8337
8337
|
break;
|
|
8338
8338
|
case "OutOfRecentSearches":
|
|
8339
|
-
$$invalidate(
|
|
8340
|
-
$$invalidate(
|
|
8339
|
+
$$invalidate(11, searched = false);
|
|
8340
|
+
$$invalidate(12, recentSearched = false);
|
|
8341
8341
|
break;
|
|
8342
8342
|
case "SearchData":
|
|
8343
|
-
$$invalidate(
|
|
8343
|
+
$$invalidate(11, searched = true);
|
|
8344
8344
|
mostPlayedScreen = false;
|
|
8345
|
-
$$invalidate(
|
|
8346
|
-
$$invalidate(
|
|
8347
|
-
$$invalidate(
|
|
8345
|
+
$$invalidate(12, recentSearched = false);
|
|
8346
|
+
$$invalidate(9, shownCategoryData = e.data.searchData.items || []);
|
|
8347
|
+
$$invalidate(13, searchItem = true);
|
|
8348
8348
|
if (e.data.receivedFavoriteResults) {
|
|
8349
8349
|
favoriteGames = e.data.receivedFavoriteResults.items;
|
|
8350
8350
|
}
|
|
@@ -8355,17 +8355,17 @@
|
|
|
8355
8355
|
}
|
|
8356
8356
|
break;
|
|
8357
8357
|
case `CategoryData_${categoryid}`:
|
|
8358
|
-
$$invalidate(
|
|
8358
|
+
$$invalidate(11, searched = false);
|
|
8359
8359
|
lobbyView = true;
|
|
8360
|
-
$$invalidate(
|
|
8361
|
-
$$invalidate(
|
|
8360
|
+
$$invalidate(10, showLoadCategory = true);
|
|
8361
|
+
$$invalidate(13, searchItem = false);
|
|
8362
8362
|
mostPlayedScreen = false;
|
|
8363
8363
|
if (e.data.receivedFavoriteResults) {
|
|
8364
8364
|
favoriteGames = e.data.receivedFavoriteResults.items;
|
|
8365
8365
|
}
|
|
8366
8366
|
getData(e.data.categoryId, 0, e.data.visiblegames).then(res => {
|
|
8367
|
-
$$invalidate(
|
|
8368
|
-
$$invalidate(
|
|
8367
|
+
$$invalidate(8, categoryData = res);
|
|
8368
|
+
$$invalidate(9, shownCategoryData = categoryData.games.items);
|
|
8369
8369
|
|
|
8370
8370
|
if (shownCategoryData) {
|
|
8371
8371
|
shownCategoryData.forEach(item => {
|
|
@@ -8378,21 +8378,21 @@
|
|
|
8378
8378
|
limit = 20;
|
|
8379
8379
|
break;
|
|
8380
8380
|
case "CategoryUpdate":
|
|
8381
|
-
$$invalidate(
|
|
8381
|
+
$$invalidate(11, searched = false);
|
|
8382
8382
|
lobbyView = false;
|
|
8383
|
-
$$invalidate(
|
|
8383
|
+
$$invalidate(13, searchItem = false);
|
|
8384
8384
|
mostPlayedScreen = false;
|
|
8385
|
-
$$invalidate(
|
|
8386
|
-
$$invalidate(
|
|
8385
|
+
$$invalidate(10, showLoadCategory = false);
|
|
8386
|
+
$$invalidate(26, categoryid = e.data.itemId);
|
|
8387
8387
|
getData(categoryid, 0, limit).then(res => {
|
|
8388
|
-
$$invalidate(
|
|
8388
|
+
$$invalidate(8, categoryData = res);
|
|
8389
8389
|
|
|
8390
8390
|
categoryData.games.items.forEach(item => {
|
|
8391
8391
|
item.isFavorite = checkFavorite(item.id);
|
|
8392
8392
|
});
|
|
8393
8393
|
|
|
8394
|
-
$$invalidate(
|
|
8395
|
-
$$invalidate(
|
|
8394
|
+
$$invalidate(9, shownCategoryData = categoryData.games.items);
|
|
8395
|
+
$$invalidate(10, showLoadCategory = false);
|
|
8396
8396
|
}).then(() => {
|
|
8397
8397
|
// after the category page is populated with games, scroll to the the top of the widget
|
|
8398
8398
|
scrollTop = true;
|
|
@@ -8401,14 +8401,14 @@
|
|
|
8401
8401
|
});
|
|
8402
8402
|
break;
|
|
8403
8403
|
case "FavoriteUpdate":
|
|
8404
|
-
$$invalidate(
|
|
8404
|
+
$$invalidate(11, searched = false);
|
|
8405
8405
|
mostPlayedScreen = false;
|
|
8406
8406
|
lobbyView = true;
|
|
8407
|
-
$$invalidate(
|
|
8407
|
+
$$invalidate(9, shownCategoryData = categoryData.games.items);
|
|
8408
8408
|
shownCategoryData.forEach(item => {
|
|
8409
8409
|
item.isFavorite = checkFavorite(item.id);
|
|
8410
8410
|
});
|
|
8411
|
-
$$invalidate(
|
|
8411
|
+
$$invalidate(10, showLoadCategory = true);
|
|
8412
8412
|
break;
|
|
8413
8413
|
case "UpdateCategoryFavoriteGames":
|
|
8414
8414
|
if (e.data.receivedFavoriteResults) {
|
|
@@ -8440,16 +8440,18 @@
|
|
|
8440
8440
|
});
|
|
8441
8441
|
}
|
|
8442
8442
|
|
|
8443
|
-
$$invalidate(
|
|
8444
|
-
$$invalidate(
|
|
8445
|
-
$$invalidate(
|
|
8443
|
+
$$invalidate(21, favoriteGamesData.items = platformFavorite(favGameArray, favoriteGamesData.items), favoriteGamesData);
|
|
8444
|
+
$$invalidate(21, favoriteGamesData.name = "Favorites", favoriteGamesData);
|
|
8445
|
+
$$invalidate(19, showFavGamesCategory = true);
|
|
8446
8446
|
}
|
|
8447
8447
|
break;
|
|
8448
8448
|
case "UserSessionID":
|
|
8449
8449
|
sessionID = e.data.session;
|
|
8450
8450
|
playerID = e.data.userID;
|
|
8451
|
-
if (
|
|
8452
|
-
|
|
8451
|
+
if (favorites == "true") {
|
|
8452
|
+
if (playerID && playerID.length && sessionID && sessionID.length > 0) {
|
|
8453
|
+
getFavoredGames(`${endpoint}/player/${playerID}/favorites/`, sessionID);
|
|
8454
|
+
}
|
|
8453
8455
|
}
|
|
8454
8456
|
break;
|
|
8455
8457
|
}
|
|
@@ -8462,10 +8464,10 @@
|
|
|
8462
8464
|
|
|
8463
8465
|
if (limit <= maxTotal) {
|
|
8464
8466
|
getData(categoryId, offset, limit).then(res => {
|
|
8465
|
-
$$invalidate(
|
|
8467
|
+
$$invalidate(8, categoryData = res);
|
|
8466
8468
|
|
|
8467
8469
|
// @TODO categoryData type fix
|
|
8468
|
-
$$invalidate(
|
|
8470
|
+
$$invalidate(9, shownCategoryData = categoryData.games.items);
|
|
8469
8471
|
|
|
8470
8472
|
shownCategoryData.forEach(item => {
|
|
8471
8473
|
item.isFavorite = checkFavorite(item.id);
|
|
@@ -8528,7 +8530,9 @@
|
|
|
8528
8530
|
cssFile.innerHTML = `@import ${clientstylingurl}`;
|
|
8529
8531
|
|
|
8530
8532
|
if (clientstylingurl) {
|
|
8531
|
-
|
|
8533
|
+
let url = new URL(clientstylingurl);
|
|
8534
|
+
|
|
8535
|
+
fetch(url).then(res => res.text()).then(data => {
|
|
8532
8536
|
cssFile.innerHTML = data;
|
|
8533
8537
|
|
|
8534
8538
|
if (customStylingContainer) {
|
|
@@ -8548,7 +8552,7 @@
|
|
|
8548
8552
|
const handler = () => {
|
|
8549
8553
|
if (container) {
|
|
8550
8554
|
const containerDimensions = container.getBoundingClientRect();
|
|
8551
|
-
$$invalidate(
|
|
8555
|
+
$$invalidate(16, intersecting = containerDimensions.bottom + bottom > 0 && containerDimensions.right + right > 0 && containerDimensions.top - top < window.innerHeight && containerDimensions.left - left < window.innerWidth);
|
|
8552
8556
|
|
|
8553
8557
|
if (intersecting && once && !lobbyView) {
|
|
8554
8558
|
loadMoreGames(categoryid);
|
|
@@ -8590,7 +8594,7 @@
|
|
|
8590
8594
|
function h3_binding($$value) {
|
|
8591
8595
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
8592
8596
|
categoryName = $$value;
|
|
8593
|
-
$$invalidate(
|
|
8597
|
+
$$invalidate(18, categoryName);
|
|
8594
8598
|
});
|
|
8595
8599
|
}
|
|
8596
8600
|
|
|
@@ -8599,41 +8603,41 @@
|
|
|
8599
8603
|
function ul_binding($$value) {
|
|
8600
8604
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
8601
8605
|
container = $$value;
|
|
8602
|
-
$$invalidate(
|
|
8606
|
+
$$invalidate(17, container);
|
|
8603
8607
|
});
|
|
8604
8608
|
}
|
|
8605
8609
|
|
|
8606
8610
|
function h3_binding_1($$value) {
|
|
8607
8611
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
8608
8612
|
categoryName = $$value;
|
|
8609
|
-
$$invalidate(
|
|
8613
|
+
$$invalidate(18, categoryName);
|
|
8610
8614
|
});
|
|
8611
8615
|
}
|
|
8612
8616
|
|
|
8613
8617
|
function ul_binding_1($$value) {
|
|
8614
8618
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
8615
8619
|
container = $$value;
|
|
8616
|
-
$$invalidate(
|
|
8620
|
+
$$invalidate(17, container);
|
|
8617
8621
|
});
|
|
8618
8622
|
}
|
|
8619
8623
|
|
|
8620
8624
|
function div_binding($$value) {
|
|
8621
8625
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
8622
8626
|
customStylingContainer = $$value;
|
|
8623
|
-
$$invalidate(
|
|
8627
|
+
$$invalidate(20, customStylingContainer);
|
|
8624
8628
|
});
|
|
8625
8629
|
}
|
|
8626
8630
|
|
|
8627
8631
|
$$self.$$set = $$props => {
|
|
8628
8632
|
if ("endpoint" in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
8629
|
-
if ("datasource" in $$props) $$invalidate(
|
|
8633
|
+
if ("datasource" in $$props) $$invalidate(27, datasource = $$props.datasource);
|
|
8630
8634
|
if ("lang" in $$props) $$invalidate(1, lang = $$props.lang);
|
|
8631
8635
|
if ("session" in $$props) $$invalidate(2, session = $$props.session);
|
|
8632
8636
|
if ("userid" in $$props) $$invalidate(3, userid = $$props.userid);
|
|
8633
8637
|
if ("favorites" in $$props) $$invalidate(4, favorites = $$props.favorites);
|
|
8634
8638
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
8635
|
-
if ("clientstylingurl" in $$props) $$invalidate(
|
|
8636
|
-
if ("categoryid" in $$props) $$invalidate(
|
|
8639
|
+
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
8640
|
+
if ("categoryid" in $$props) $$invalidate(26, categoryid = $$props.categoryid);
|
|
8637
8641
|
if ("categoryindex" in $$props) $$invalidate(28, categoryindex = $$props.categoryindex);
|
|
8638
8642
|
if ("categorygames" in $$props) $$invalidate(29, categorygames = $$props.categorygames);
|
|
8639
8643
|
if ("once" in $$props) $$invalidate(30, once = $$props.once);
|
|
@@ -8663,6 +8667,11 @@
|
|
|
8663
8667
|
categoryid,
|
|
8664
8668
|
categoryindex,
|
|
8665
8669
|
categorygames,
|
|
8670
|
+
once,
|
|
8671
|
+
top,
|
|
8672
|
+
bottom,
|
|
8673
|
+
left,
|
|
8674
|
+
right,
|
|
8666
8675
|
isLoading,
|
|
8667
8676
|
hasErrors,
|
|
8668
8677
|
playerID,
|
|
@@ -8681,11 +8690,6 @@
|
|
|
8681
8690
|
searchItem,
|
|
8682
8691
|
filteresPresent,
|
|
8683
8692
|
showItems,
|
|
8684
|
-
once,
|
|
8685
|
-
top,
|
|
8686
|
-
bottom,
|
|
8687
|
-
left,
|
|
8688
|
-
right,
|
|
8689
8693
|
nativeLoading,
|
|
8690
8694
|
intersecting,
|
|
8691
8695
|
container,
|
|
@@ -8718,46 +8722,46 @@
|
|
|
8718
8722
|
|
|
8719
8723
|
$$self.$inject_state = $$props => {
|
|
8720
8724
|
if ("endpoint" in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
8721
|
-
if ("datasource" in $$props) $$invalidate(
|
|
8725
|
+
if ("datasource" in $$props) $$invalidate(27, datasource = $$props.datasource);
|
|
8722
8726
|
if ("lang" in $$props) $$invalidate(1, lang = $$props.lang);
|
|
8723
8727
|
if ("session" in $$props) $$invalidate(2, session = $$props.session);
|
|
8724
8728
|
if ("userid" in $$props) $$invalidate(3, userid = $$props.userid);
|
|
8725
8729
|
if ("favorites" in $$props) $$invalidate(4, favorites = $$props.favorites);
|
|
8726
8730
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
8727
|
-
if ("clientstylingurl" in $$props) $$invalidate(
|
|
8728
|
-
if ("categoryid" in $$props) $$invalidate(
|
|
8731
|
+
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
8732
|
+
if ("categoryid" in $$props) $$invalidate(26, categoryid = $$props.categoryid);
|
|
8729
8733
|
if ("categoryindex" in $$props) $$invalidate(28, categoryindex = $$props.categoryindex);
|
|
8730
8734
|
if ("categorygames" in $$props) $$invalidate(29, categorygames = $$props.categorygames);
|
|
8735
|
+
if ("once" in $$props) $$invalidate(30, once = $$props.once);
|
|
8736
|
+
if ("top" in $$props) $$invalidate(31, top = $$props.top);
|
|
8737
|
+
if ("bottom" in $$props) $$invalidate(32, bottom = $$props.bottom);
|
|
8738
|
+
if ("left" in $$props) $$invalidate(33, left = $$props.left);
|
|
8739
|
+
if ("right" in $$props) $$invalidate(34, right = $$props.right);
|
|
8731
8740
|
if ("isLoading" in $$props) isLoading = $$props.isLoading;
|
|
8732
|
-
if ("hasErrors" in $$props) $$invalidate(
|
|
8741
|
+
if ("hasErrors" in $$props) $$invalidate(7, hasErrors = $$props.hasErrors);
|
|
8733
8742
|
if ("playerID" in $$props) playerID = $$props.playerID;
|
|
8734
8743
|
if ("lobbyView" in $$props) lobbyView = $$props.lobbyView;
|
|
8735
|
-
if ("userAgent" in $$props) $$invalidate(
|
|
8744
|
+
if ("userAgent" in $$props) $$invalidate(23, userAgent = $$props.userAgent);
|
|
8736
8745
|
if ("operatorSpecifications" in $$props) operatorSpecifications = $$props.operatorSpecifications;
|
|
8737
|
-
if ("categoryData" in $$props) $$invalidate(
|
|
8738
|
-
if ("shownCategoryData" in $$props) $$invalidate(
|
|
8746
|
+
if ("categoryData" in $$props) $$invalidate(8, categoryData = $$props.categoryData);
|
|
8747
|
+
if ("shownCategoryData" in $$props) $$invalidate(9, shownCategoryData = $$props.shownCategoryData);
|
|
8739
8748
|
if ("categoryIndex" in $$props) categoryIndex = $$props.categoryIndex;
|
|
8740
|
-
if ("showLoadCategory" in $$props) $$invalidate(
|
|
8749
|
+
if ("showLoadCategory" in $$props) $$invalidate(10, showLoadCategory = $$props.showLoadCategory);
|
|
8741
8750
|
if ("offset" in $$props) offset = $$props.offset;
|
|
8742
8751
|
if ("limit" in $$props) limit = $$props.limit;
|
|
8743
|
-
if ("searched" in $$props) $$invalidate(
|
|
8744
|
-
if ("recentSearched" in $$props) $$invalidate(
|
|
8752
|
+
if ("searched" in $$props) $$invalidate(11, searched = $$props.searched);
|
|
8753
|
+
if ("recentSearched" in $$props) $$invalidate(12, recentSearched = $$props.recentSearched);
|
|
8745
8754
|
if ("scrollTop" in $$props) scrollTop = $$props.scrollTop;
|
|
8746
|
-
if ("searchItem" in $$props) $$invalidate(
|
|
8747
|
-
if ("filteresPresent" in $$props) $$invalidate(
|
|
8748
|
-
if ("showItems" in $$props) $$invalidate(
|
|
8749
|
-
if ("
|
|
8750
|
-
if ("
|
|
8751
|
-
if ("
|
|
8752
|
-
if ("left" in $$props) $$invalidate(33, left = $$props.left);
|
|
8753
|
-
if ("right" in $$props) $$invalidate(34, right = $$props.right);
|
|
8754
|
-
if ("nativeLoading" in $$props) $$invalidate(23, nativeLoading = $$props.nativeLoading);
|
|
8755
|
-
if ("intersecting" in $$props) $$invalidate(15, intersecting = $$props.intersecting);
|
|
8756
|
-
if ("container" in $$props) $$invalidate(16, container = $$props.container);
|
|
8755
|
+
if ("searchItem" in $$props) $$invalidate(13, searchItem = $$props.searchItem);
|
|
8756
|
+
if ("filteresPresent" in $$props) $$invalidate(14, filteresPresent = $$props.filteresPresent);
|
|
8757
|
+
if ("showItems" in $$props) $$invalidate(15, showItems = $$props.showItems);
|
|
8758
|
+
if ("nativeLoading" in $$props) $$invalidate(24, nativeLoading = $$props.nativeLoading);
|
|
8759
|
+
if ("intersecting" in $$props) $$invalidate(16, intersecting = $$props.intersecting);
|
|
8760
|
+
if ("container" in $$props) $$invalidate(17, container = $$props.container);
|
|
8757
8761
|
if ("maxTotal" in $$props) maxTotal = $$props.maxTotal;
|
|
8758
|
-
if ("categoryName" in $$props) $$invalidate(
|
|
8762
|
+
if ("categoryName" in $$props) $$invalidate(18, categoryName = $$props.categoryName);
|
|
8759
8763
|
if ("favoriteGames" in $$props) favoriteGames = $$props.favoriteGames;
|
|
8760
|
-
if ("showFavGamesCategory" in $$props) $$invalidate(
|
|
8764
|
+
if ("showFavGamesCategory" in $$props) $$invalidate(19, showFavGamesCategory = $$props.showFavGamesCategory);
|
|
8761
8765
|
if ("receivedFavoriteResults" in $$props) receivedFavoriteResults = $$props.receivedFavoriteResults;
|
|
8762
8766
|
if ("activeCategory" in $$props) activeCategory = $$props.activeCategory;
|
|
8763
8767
|
if ("operatorConfig" in $$props) operatorConfig = $$props.operatorConfig;
|
|
@@ -8766,8 +8770,8 @@
|
|
|
8766
8770
|
if ("userId" in $$props) userId = $$props.userId;
|
|
8767
8771
|
if ("getFavoredGamesCache" in $$props) getFavoredGamesCache = $$props.getFavoredGamesCache;
|
|
8768
8772
|
if ("mostPlayedScreen" in $$props) mostPlayedScreen = $$props.mostPlayedScreen;
|
|
8769
|
-
if ("customStylingContainer" in $$props) $$invalidate(
|
|
8770
|
-
if ("favoriteGamesData" in $$props) $$invalidate(
|
|
8773
|
+
if ("customStylingContainer" in $$props) $$invalidate(20, customStylingContainer = $$props.customStylingContainer);
|
|
8774
|
+
if ("favoriteGamesData" in $$props) $$invalidate(21, favoriteGamesData = $$props.favoriteGamesData);
|
|
8771
8775
|
};
|
|
8772
8776
|
|
|
8773
8777
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -8781,7 +8785,7 @@
|
|
|
8781
8785
|
clientstyling && setClientStyling();
|
|
8782
8786
|
}
|
|
8783
8787
|
|
|
8784
|
-
if ($$self.$$.dirty[0] & /*clientstylingurl*/
|
|
8788
|
+
if ($$self.$$.dirty[0] & /*clientstylingurl*/ 64) {
|
|
8785
8789
|
clientstylingurl && setClientStylingURL();
|
|
8786
8790
|
}
|
|
8787
8791
|
};
|
|
@@ -8793,6 +8797,7 @@
|
|
|
8793
8797
|
userid,
|
|
8794
8798
|
favorites,
|
|
8795
8799
|
clientstyling,
|
|
8800
|
+
clientstylingurl,
|
|
8796
8801
|
hasErrors,
|
|
8797
8802
|
categoryData,
|
|
8798
8803
|
shownCategoryData,
|
|
@@ -8814,7 +8819,6 @@
|
|
|
8814
8819
|
showCategory,
|
|
8815
8820
|
categoryid,
|
|
8816
8821
|
datasource,
|
|
8817
|
-
clientstylingurl,
|
|
8818
8822
|
categoryindex,
|
|
8819
8823
|
categorygames,
|
|
8820
8824
|
once,
|
|
@@ -8848,14 +8852,14 @@
|
|
|
8848
8852
|
safe_not_equal,
|
|
8849
8853
|
{
|
|
8850
8854
|
endpoint: 0,
|
|
8851
|
-
datasource:
|
|
8855
|
+
datasource: 27,
|
|
8852
8856
|
lang: 1,
|
|
8853
8857
|
session: 2,
|
|
8854
8858
|
userid: 3,
|
|
8855
8859
|
favorites: 4,
|
|
8856
8860
|
clientstyling: 5,
|
|
8857
|
-
clientstylingurl:
|
|
8858
|
-
categoryid:
|
|
8861
|
+
clientstylingurl: 6,
|
|
8862
|
+
categoryid: 26,
|
|
8859
8863
|
categoryindex: 28,
|
|
8860
8864
|
categorygames: 29,
|
|
8861
8865
|
once: 30,
|
|
@@ -8910,7 +8914,7 @@
|
|
|
8910
8914
|
}
|
|
8911
8915
|
|
|
8912
8916
|
get datasource() {
|
|
8913
|
-
return this.$$.ctx[
|
|
8917
|
+
return this.$$.ctx[27];
|
|
8914
8918
|
}
|
|
8915
8919
|
|
|
8916
8920
|
set datasource(datasource) {
|
|
@@ -8964,7 +8968,7 @@
|
|
|
8964
8968
|
}
|
|
8965
8969
|
|
|
8966
8970
|
get clientstylingurl() {
|
|
8967
|
-
return this.$$.ctx[
|
|
8971
|
+
return this.$$.ctx[6];
|
|
8968
8972
|
}
|
|
8969
8973
|
|
|
8970
8974
|
set clientstylingurl(clientstylingurl) {
|
|
@@ -8973,7 +8977,7 @@
|
|
|
8973
8977
|
}
|
|
8974
8978
|
|
|
8975
8979
|
get categoryid() {
|
|
8976
|
-
return this.$$.ctx[
|
|
8980
|
+
return this.$$.ctx[26];
|
|
8977
8981
|
}
|
|
8978
8982
|
|
|
8979
8983
|
set categoryid(categoryid) {
|
|
@@ -9054,12 +9058,12 @@
|
|
|
9054
9058
|
|
|
9055
9059
|
function get_each_context(ctx, list, i) {
|
|
9056
9060
|
const child_ctx = ctx.slice();
|
|
9057
|
-
child_ctx[
|
|
9058
|
-
child_ctx[
|
|
9061
|
+
child_ctx[105] = list[i];
|
|
9062
|
+
child_ctx[107] = i;
|
|
9059
9063
|
return child_ctx;
|
|
9060
9064
|
}
|
|
9061
9065
|
|
|
9062
|
-
// (
|
|
9066
|
+
// (677:0) {:else}
|
|
9063
9067
|
function create_else_block(ctx) {
|
|
9064
9068
|
let section;
|
|
9065
9069
|
let show_if_1 = getDevice(/*userAgent*/ ctx[32]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[27];
|
|
@@ -9101,7 +9105,7 @@
|
|
|
9101
9105
|
t2 = space();
|
|
9102
9106
|
if (if_block3) if_block3.c();
|
|
9103
9107
|
attr_dev(section, "class", "CategoriesLobby");
|
|
9104
|
-
add_location(section, file,
|
|
9108
|
+
add_location(section, file, 677, 2, 23300);
|
|
9105
9109
|
},
|
|
9106
9110
|
m: function mount(target, anchor) {
|
|
9107
9111
|
insert_dev(target, section, anchor);
|
|
@@ -9112,7 +9116,7 @@
|
|
|
9112
9116
|
if_block2.m(section, null);
|
|
9113
9117
|
append_dev(section, t2);
|
|
9114
9118
|
if (if_block3) if_block3.m(section, null);
|
|
9115
|
-
/*section_binding*/ ctx[
|
|
9119
|
+
/*section_binding*/ ctx[59](section);
|
|
9116
9120
|
},
|
|
9117
9121
|
p: function update(ctx, dirty) {
|
|
9118
9122
|
if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/ 134217984) show_if_1 = getDevice(/*userAgent*/ ctx[32]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[27];
|
|
@@ -9177,7 +9181,7 @@
|
|
|
9177
9181
|
if_block3.d();
|
|
9178
9182
|
}
|
|
9179
9183
|
|
|
9180
|
-
/*section_binding*/ ctx[
|
|
9184
|
+
/*section_binding*/ ctx[59](null);
|
|
9181
9185
|
}
|
|
9182
9186
|
};
|
|
9183
9187
|
|
|
@@ -9185,14 +9189,14 @@
|
|
|
9185
9189
|
block,
|
|
9186
9190
|
id: create_else_block.name,
|
|
9187
9191
|
type: "else",
|
|
9188
|
-
source: "(
|
|
9192
|
+
source: "(677:0) {:else}",
|
|
9189
9193
|
ctx
|
|
9190
9194
|
});
|
|
9191
9195
|
|
|
9192
9196
|
return block;
|
|
9193
9197
|
}
|
|
9194
9198
|
|
|
9195
|
-
// (
|
|
9199
|
+
// (675:0) {#if hasErrors}
|
|
9196
9200
|
function create_if_block(ctx) {
|
|
9197
9201
|
let p;
|
|
9198
9202
|
|
|
@@ -9201,7 +9205,7 @@
|
|
|
9201
9205
|
p = element("p");
|
|
9202
9206
|
p.textContent = "500 Error - Internal Server Error";
|
|
9203
9207
|
attr_dev(p, "class", "SearchLoading");
|
|
9204
|
-
add_location(p, file,
|
|
9208
|
+
add_location(p, file, 675, 2, 23227);
|
|
9205
9209
|
},
|
|
9206
9210
|
m: function mount(target, anchor) {
|
|
9207
9211
|
insert_dev(target, p, anchor);
|
|
@@ -9216,14 +9220,14 @@
|
|
|
9216
9220
|
block,
|
|
9217
9221
|
id: create_if_block.name,
|
|
9218
9222
|
type: "if",
|
|
9219
|
-
source: "(
|
|
9223
|
+
source: "(675:0) {#if hasErrors}",
|
|
9220
9224
|
ctx
|
|
9221
9225
|
});
|
|
9222
9226
|
|
|
9223
9227
|
return block;
|
|
9224
9228
|
}
|
|
9225
9229
|
|
|
9226
|
-
// (
|
|
9230
|
+
// (679:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}
|
|
9227
9231
|
function create_if_block_21(ctx) {
|
|
9228
9232
|
let div;
|
|
9229
9233
|
|
|
@@ -9231,7 +9235,7 @@
|
|
|
9231
9235
|
c: function create() {
|
|
9232
9236
|
div = element("div");
|
|
9233
9237
|
attr_dev(div, "class", "SearchBarPlaceholder");
|
|
9234
|
-
add_location(div, file,
|
|
9238
|
+
add_location(div, file, 679, 6, 23478);
|
|
9235
9239
|
},
|
|
9236
9240
|
m: function mount(target, anchor) {
|
|
9237
9241
|
insert_dev(target, div, anchor);
|
|
@@ -9245,14 +9249,14 @@
|
|
|
9245
9249
|
block,
|
|
9246
9250
|
id: create_if_block_21.name,
|
|
9247
9251
|
type: "if",
|
|
9248
|
-
source: "(
|
|
9252
|
+
source: "(679:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}",
|
|
9249
9253
|
ctx
|
|
9250
9254
|
});
|
|
9251
9255
|
|
|
9252
9256
|
return block;
|
|
9253
9257
|
}
|
|
9254
9258
|
|
|
9255
|
-
// (
|
|
9259
|
+
// (682:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}
|
|
9256
9260
|
function create_if_block_20(ctx) {
|
|
9257
9261
|
let div1;
|
|
9258
9262
|
let div0;
|
|
@@ -9273,7 +9277,7 @@
|
|
|
9273
9277
|
polygon = svg_element("polygon");
|
|
9274
9278
|
set_style(polygon, "fill", "#FD2839");
|
|
9275
9279
|
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 ");
|
|
9276
|
-
add_location(polygon, file,
|
|
9280
|
+
add_location(polygon, file, 687, 14, 24082);
|
|
9277
9281
|
attr_dev(svg, "version", "1.1");
|
|
9278
9282
|
attr_dev(svg, "id", "Layer_1");
|
|
9279
9283
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -9283,13 +9287,13 @@
|
|
|
9283
9287
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
9284
9288
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
9285
9289
|
attr_dev(svg, "xml:space", "preserve");
|
|
9286
|
-
add_location(svg, file,
|
|
9290
|
+
add_location(svg, file, 685, 12, 23827);
|
|
9287
9291
|
attr_dev(span, "class", "ClearIcon");
|
|
9288
|
-
add_location(span, file,
|
|
9292
|
+
add_location(span, file, 684, 10, 23790);
|
|
9289
9293
|
attr_dev(div0, "class", "ClearButton");
|
|
9290
|
-
add_location(div0, file,
|
|
9294
|
+
add_location(div0, file, 683, 8, 23749);
|
|
9291
9295
|
attr_dev(div1, "class", "ClearFilterMobileButtonWrapper");
|
|
9292
|
-
add_location(div1, file,
|
|
9296
|
+
add_location(div1, file, 682, 6, 23657);
|
|
9293
9297
|
},
|
|
9294
9298
|
m: function mount(target, anchor) {
|
|
9295
9299
|
insert_dev(target, div1, anchor);
|
|
@@ -9300,7 +9304,7 @@
|
|
|
9300
9304
|
append_dev(svg, polygon);
|
|
9301
9305
|
|
|
9302
9306
|
if (!mounted) {
|
|
9303
|
-
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[
|
|
9307
|
+
dispose = listen_dev(div1, "click", /*click_handler*/ ctx[46], false, false, false);
|
|
9304
9308
|
mounted = true;
|
|
9305
9309
|
}
|
|
9306
9310
|
},
|
|
@@ -9316,14 +9320,14 @@
|
|
|
9316
9320
|
block,
|
|
9317
9321
|
id: create_if_block_20.name,
|
|
9318
9322
|
type: "if",
|
|
9319
|
-
source: "(
|
|
9323
|
+
source: "(682:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}",
|
|
9320
9324
|
ctx
|
|
9321
9325
|
});
|
|
9322
9326
|
|
|
9323
9327
|
return block;
|
|
9324
9328
|
}
|
|
9325
9329
|
|
|
9326
|
-
// (
|
|
9330
|
+
// (753:4) {:else}
|
|
9327
9331
|
function create_else_block_1(ctx) {
|
|
9328
9332
|
let div2;
|
|
9329
9333
|
let div1;
|
|
@@ -9361,7 +9365,7 @@
|
|
|
9361
9365
|
if (if_block2) if_block2.c();
|
|
9362
9366
|
attr_dev(label, "for", "search");
|
|
9363
9367
|
attr_dev(label, "class", "SrOnly");
|
|
9364
|
-
add_location(label, file,
|
|
9368
|
+
add_location(label, file, 757, 10, 29433);
|
|
9365
9369
|
attr_dev(input, "id", "SearchField");
|
|
9366
9370
|
attr_dev(input, "class", "SearchInput");
|
|
9367
9371
|
|
|
@@ -9370,15 +9374,15 @@
|
|
|
9370
9374
|
: /*$_*/ ctx[30]("casinoPage.searchMobile"));
|
|
9371
9375
|
|
|
9372
9376
|
attr_dev(input, "type", "search");
|
|
9373
|
-
add_location(input, file,
|
|
9377
|
+
add_location(input, file, 766, 12, 29989);
|
|
9374
9378
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9375
|
-
add_location(div0, file,
|
|
9379
|
+
add_location(div0, file, 758, 10, 29506);
|
|
9376
9380
|
|
|
9377
9381
|
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[19] && !/*favoritesScreen*/ ctx[15] && !/*mostPlayedScreen*/ ctx[20] && !/*lobbyViewAux*/ ctx[18]
|
|
9378
9382
|
? "SearchTruncated"
|
|
9379
9383
|
: ""));
|
|
9380
9384
|
|
|
9381
|
-
add_location(div1, file,
|
|
9385
|
+
add_location(div1, file, 756, 8, 29291);
|
|
9382
9386
|
|
|
9383
9387
|
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[32]) !== "PC"
|
|
9384
9388
|
? "CategoriesHeaderMobileSection"
|
|
@@ -9394,7 +9398,7 @@
|
|
|
9394
9398
|
? scrollOffset + "px"
|
|
9395
9399
|
: "");
|
|
9396
9400
|
|
|
9397
|
-
add_location(div2, file,
|
|
9401
|
+
add_location(div2, file, 754, 6, 28772);
|
|
9398
9402
|
},
|
|
9399
9403
|
m: function mount(target, anchor) {
|
|
9400
9404
|
insert_dev(target, div2, anchor);
|
|
@@ -9405,19 +9409,19 @@
|
|
|
9405
9409
|
if (if_block0) if_block0.m(div0, null);
|
|
9406
9410
|
append_dev(div0, t2);
|
|
9407
9411
|
append_dev(div0, input);
|
|
9408
|
-
/*input_binding_1*/ ctx[
|
|
9412
|
+
/*input_binding_1*/ ctx[53](input);
|
|
9409
9413
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9410
9414
|
append_dev(div0, t3);
|
|
9411
9415
|
if (if_block1) if_block1.m(div0, null);
|
|
9412
9416
|
append_dev(div2, t4);
|
|
9413
9417
|
if (if_block2) if_block2.m(div2, null);
|
|
9414
|
-
/*div2_binding_1*/ ctx[
|
|
9418
|
+
/*div2_binding_1*/ ctx[58](div2);
|
|
9415
9419
|
|
|
9416
9420
|
if (!mounted) {
|
|
9417
9421
|
dispose = [
|
|
9418
9422
|
listen_dev(input, "focus", /*onFocus*/ ctx[34], false, false, false),
|
|
9419
9423
|
listen_dev(input, "blur", /*onBlur*/ ctx[35], false, false, false),
|
|
9420
|
-
listen_dev(input, "input", /*input_input_handler_1*/ ctx[
|
|
9424
|
+
listen_dev(input, "input", /*input_input_handler_1*/ ctx[54]),
|
|
9421
9425
|
listen_dev(input, "focus", /*searchActivated*/ ctx[36], false, false, false)
|
|
9422
9426
|
];
|
|
9423
9427
|
|
|
@@ -9501,10 +9505,10 @@
|
|
|
9501
9505
|
d: function destroy(detaching) {
|
|
9502
9506
|
if (detaching) detach_dev(div2);
|
|
9503
9507
|
if (if_block0) if_block0.d();
|
|
9504
|
-
/*input_binding_1*/ ctx[
|
|
9508
|
+
/*input_binding_1*/ ctx[53](null);
|
|
9505
9509
|
if (if_block1) if_block1.d();
|
|
9506
9510
|
if (if_block2) if_block2.d();
|
|
9507
|
-
/*div2_binding_1*/ ctx[
|
|
9511
|
+
/*div2_binding_1*/ ctx[58](null);
|
|
9508
9512
|
mounted = false;
|
|
9509
9513
|
run_all(dispose);
|
|
9510
9514
|
}
|
|
@@ -9514,14 +9518,14 @@
|
|
|
9514
9518
|
block,
|
|
9515
9519
|
id: create_else_block_1.name,
|
|
9516
9520
|
type: "else",
|
|
9517
|
-
source: "(
|
|
9521
|
+
source: "(753:4) {:else}",
|
|
9518
9522
|
ctx
|
|
9519
9523
|
});
|
|
9520
9524
|
|
|
9521
9525
|
return block;
|
|
9522
9526
|
}
|
|
9523
9527
|
|
|
9524
|
-
// (
|
|
9528
|
+
// (696:4) {#if alternativesearch === 'false'}
|
|
9525
9529
|
function create_if_block_7(ctx) {
|
|
9526
9530
|
let div2;
|
|
9527
9531
|
let div1;
|
|
@@ -9559,7 +9563,7 @@
|
|
|
9559
9563
|
if (if_block2) if_block2.c();
|
|
9560
9564
|
attr_dev(label, "for", "search");
|
|
9561
9565
|
attr_dev(label, "class", "SrOnly");
|
|
9562
|
-
add_location(label, file,
|
|
9566
|
+
add_location(label, file, 700, 10, 25090);
|
|
9563
9567
|
attr_dev(input, "id", "SearchField");
|
|
9564
9568
|
attr_dev(input, "class", "SearchInput");
|
|
9565
9569
|
|
|
@@ -9568,15 +9572,15 @@
|
|
|
9568
9572
|
: /*$_*/ ctx[30]("casinoPage.searchMobile"));
|
|
9569
9573
|
|
|
9570
9574
|
attr_dev(input, "type", "search");
|
|
9571
|
-
add_location(input, file,
|
|
9575
|
+
add_location(input, file, 709, 12, 25646);
|
|
9572
9576
|
attr_dev(div0, "class", "SearchWrapper");
|
|
9573
|
-
add_location(div0, file,
|
|
9577
|
+
add_location(div0, file, 701, 10, 25163);
|
|
9574
9578
|
|
|
9575
9579
|
attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[19] && !/*favoritesScreen*/ ctx[15] && !/*mostPlayedScreen*/ ctx[20] && !/*lobbyViewAux*/ ctx[18]
|
|
9576
9580
|
? "SearchTruncated"
|
|
9577
9581
|
: ""));
|
|
9578
9582
|
|
|
9579
|
-
add_location(div1, file,
|
|
9583
|
+
add_location(div1, file, 699, 8, 24948);
|
|
9580
9584
|
|
|
9581
9585
|
attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[32]) !== "PC"
|
|
9582
9586
|
? "CategoriesHeaderMobileSection"
|
|
@@ -9592,7 +9596,7 @@
|
|
|
9592
9596
|
? scrollOffset + "px"
|
|
9593
9597
|
: "");
|
|
9594
9598
|
|
|
9595
|
-
add_location(div2, file,
|
|
9599
|
+
add_location(div2, file, 697, 6, 24461);
|
|
9596
9600
|
},
|
|
9597
9601
|
m: function mount(target, anchor) {
|
|
9598
9602
|
insert_dev(target, div2, anchor);
|
|
@@ -9603,21 +9607,20 @@
|
|
|
9603
9607
|
if (if_block0) if_block0.m(div0, null);
|
|
9604
9608
|
append_dev(div0, t2);
|
|
9605
9609
|
append_dev(div0, input);
|
|
9606
|
-
/*input_binding*/ ctx[
|
|
9610
|
+
/*input_binding*/ ctx[47](input);
|
|
9607
9611
|
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
9608
9612
|
append_dev(div0, t3);
|
|
9609
9613
|
if (if_block1) if_block1.m(div0, null);
|
|
9610
9614
|
append_dev(div2, t4);
|
|
9611
9615
|
if (if_block2) if_block2.m(div2, null);
|
|
9612
|
-
/*div2_binding*/ ctx[
|
|
9616
|
+
/*div2_binding*/ ctx[52](div2);
|
|
9613
9617
|
|
|
9614
9618
|
if (!mounted) {
|
|
9615
9619
|
dispose = [
|
|
9616
9620
|
listen_dev(input, "focus", /*onFocus*/ ctx[34], false, false, false),
|
|
9617
9621
|
listen_dev(input, "blur", /*onBlur*/ ctx[35], false, false, false),
|
|
9618
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
9619
|
-
listen_dev(input, "focus", /*searchActivated*/ ctx[36], false, false, false)
|
|
9620
|
-
listen_dev(input, "keypress", /*searchOngoing*/ ctx[37], false, false, false)
|
|
9622
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[48]),
|
|
9623
|
+
listen_dev(input, "focus", /*searchActivated*/ ctx[36], false, false, false)
|
|
9621
9624
|
];
|
|
9622
9625
|
|
|
9623
9626
|
mounted = true;
|
|
@@ -9700,10 +9703,10 @@
|
|
|
9700
9703
|
d: function destroy(detaching) {
|
|
9701
9704
|
if (detaching) detach_dev(div2);
|
|
9702
9705
|
if (if_block0) if_block0.d();
|
|
9703
|
-
/*input_binding*/ ctx[
|
|
9706
|
+
/*input_binding*/ ctx[47](null);
|
|
9704
9707
|
if (if_block1) if_block1.d();
|
|
9705
9708
|
if (if_block2) if_block2.d();
|
|
9706
|
-
/*div2_binding*/ ctx[
|
|
9709
|
+
/*div2_binding*/ ctx[52](null);
|
|
9707
9710
|
mounted = false;
|
|
9708
9711
|
run_all(dispose);
|
|
9709
9712
|
}
|
|
@@ -9713,14 +9716,14 @@
|
|
|
9713
9716
|
block,
|
|
9714
9717
|
id: create_if_block_7.name,
|
|
9715
9718
|
type: "if",
|
|
9716
|
-
source: "(
|
|
9719
|
+
source: "(696:4) {#if alternativesearch === 'false'}",
|
|
9717
9720
|
ctx
|
|
9718
9721
|
});
|
|
9719
9722
|
|
|
9720
9723
|
return block;
|
|
9721
9724
|
}
|
|
9722
9725
|
|
|
9723
|
-
// (
|
|
9726
|
+
// (760:12) {#if !mobileSearchViewActive}
|
|
9724
9727
|
function create_if_block_19(ctx) {
|
|
9725
9728
|
let div;
|
|
9726
9729
|
let svg;
|
|
@@ -9734,14 +9737,14 @@
|
|
|
9734
9737
|
attr_dev(path, "fill-rule", "evenodd");
|
|
9735
9738
|
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");
|
|
9736
9739
|
attr_dev(path, "clip-rule", "evenodd");
|
|
9737
|
-
add_location(path, file,
|
|
9740
|
+
add_location(path, file, 762, 18, 29749);
|
|
9738
9741
|
attr_dev(svg, "role", "presentation");
|
|
9739
9742
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
9740
9743
|
attr_dev(svg, "viewBox", "0 0 20 20");
|
|
9741
9744
|
attr_dev(svg, "aria-hidden", "true");
|
|
9742
|
-
add_location(svg, file,
|
|
9745
|
+
add_location(svg, file, 761, 16, 29631);
|
|
9743
9746
|
attr_dev(div, "class", "SearchIcon");
|
|
9744
|
-
add_location(div, file,
|
|
9747
|
+
add_location(div, file, 760, 14, 29590);
|
|
9745
9748
|
},
|
|
9746
9749
|
m: function mount(target, anchor) {
|
|
9747
9750
|
insert_dev(target, div, anchor);
|
|
@@ -9757,14 +9760,14 @@
|
|
|
9757
9760
|
block,
|
|
9758
9761
|
id: create_if_block_19.name,
|
|
9759
9762
|
type: "if",
|
|
9760
|
-
source: "(
|
|
9763
|
+
source: "(760:12) {#if !mobileSearchViewActive}",
|
|
9761
9764
|
ctx
|
|
9762
9765
|
});
|
|
9763
9766
|
|
|
9764
9767
|
return block;
|
|
9765
9768
|
}
|
|
9766
9769
|
|
|
9767
|
-
// (
|
|
9770
|
+
// (768:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
9768
9771
|
function create_if_block_18(ctx) {
|
|
9769
9772
|
let span;
|
|
9770
9773
|
let div2;
|
|
@@ -9780,17 +9783,17 @@
|
|
|
9780
9783
|
div1 = element("div");
|
|
9781
9784
|
div0 = element("div");
|
|
9782
9785
|
attr_dev(div0, "class", "CloseIcon");
|
|
9783
|
-
add_location(div0, file,
|
|
9786
|
+
add_location(div0, file, 771, 20, 30649);
|
|
9784
9787
|
attr_dev(div1, "class", "CloseIconWrapper");
|
|
9785
|
-
add_location(div1, file,
|
|
9788
|
+
add_location(div1, file, 770, 18, 30598);
|
|
9786
9789
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
9787
|
-
add_location(div2, file,
|
|
9790
|
+
add_location(div2, file, 769, 16, 30547);
|
|
9788
9791
|
|
|
9789
9792
|
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[32]) === "PC"
|
|
9790
9793
|
? "ClearSearchButton"
|
|
9791
9794
|
: "ClearSearchButtonMobile") + " "));
|
|
9792
9795
|
|
|
9793
|
-
add_location(span, file,
|
|
9796
|
+
add_location(span, file, 768, 14, 30395);
|
|
9794
9797
|
},
|
|
9795
9798
|
m: function mount(target, anchor) {
|
|
9796
9799
|
insert_dev(target, span, anchor);
|
|
@@ -9799,7 +9802,7 @@
|
|
|
9799
9802
|
append_dev(div1, div0);
|
|
9800
9803
|
|
|
9801
9804
|
if (!mounted) {
|
|
9802
|
-
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[
|
|
9805
|
+
dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[55], false, false, false);
|
|
9803
9806
|
mounted = true;
|
|
9804
9807
|
}
|
|
9805
9808
|
},
|
|
@@ -9815,14 +9818,14 @@
|
|
|
9815
9818
|
block,
|
|
9816
9819
|
id: create_if_block_18.name,
|
|
9817
9820
|
type: "if",
|
|
9818
|
-
source: "(
|
|
9821
|
+
source: "(768:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
9819
9822
|
ctx
|
|
9820
9823
|
});
|
|
9821
9824
|
|
|
9822
9825
|
return block;
|
|
9823
9826
|
}
|
|
9824
9827
|
|
|
9825
|
-
// (
|
|
9828
|
+
// (779:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
9826
9829
|
function create_if_block_14(ctx) {
|
|
9827
9830
|
let div;
|
|
9828
9831
|
let t;
|
|
@@ -9836,7 +9839,7 @@
|
|
|
9836
9839
|
t = space();
|
|
9837
9840
|
if (if_block1) if_block1.c();
|
|
9838
9841
|
attr_dev(div, "class", "FiltersButtonsContainer");
|
|
9839
|
-
add_location(div, file,
|
|
9842
|
+
add_location(div, file, 779, 10, 30953);
|
|
9840
9843
|
},
|
|
9841
9844
|
m: function mount(target, anchor) {
|
|
9842
9845
|
insert_dev(target, div, anchor);
|
|
@@ -9882,14 +9885,14 @@
|
|
|
9882
9885
|
block,
|
|
9883
9886
|
id: create_if_block_14.name,
|
|
9884
9887
|
type: "if",
|
|
9885
|
-
source: "(
|
|
9888
|
+
source: "(779:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
9886
9889
|
ctx
|
|
9887
9890
|
});
|
|
9888
9891
|
|
|
9889
9892
|
return block;
|
|
9890
9893
|
}
|
|
9891
9894
|
|
|
9892
|
-
// (
|
|
9895
|
+
// (781:12) {#if numberOfFilters}
|
|
9893
9896
|
function create_if_block_17(ctx) {
|
|
9894
9897
|
let div1;
|
|
9895
9898
|
let div0;
|
|
@@ -9911,7 +9914,7 @@
|
|
|
9911
9914
|
polygon = svg_element("polygon");
|
|
9912
9915
|
set_style(polygon, "fill", "#FD2839");
|
|
9913
9916
|
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 ");
|
|
9914
|
-
add_location(polygon, file,
|
|
9917
|
+
add_location(polygon, file, 786, 22, 31543);
|
|
9915
9918
|
attr_dev(svg, "version", "1.1");
|
|
9916
9919
|
attr_dev(svg, "id", "Layer_1");
|
|
9917
9920
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -9921,13 +9924,13 @@
|
|
|
9921
9924
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
9922
9925
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
9923
9926
|
attr_dev(svg, "xml:space", "preserve");
|
|
9924
|
-
add_location(svg, file,
|
|
9927
|
+
add_location(svg, file, 784, 20, 31268);
|
|
9925
9928
|
attr_dev(span, "class", "ClearIcon");
|
|
9926
|
-
add_location(span, file,
|
|
9929
|
+
add_location(span, file, 783, 18, 31223);
|
|
9927
9930
|
attr_dev(div0, "class", "ClearButton");
|
|
9928
|
-
add_location(div0, file,
|
|
9931
|
+
add_location(div0, file, 782, 16, 31174);
|
|
9929
9932
|
attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[28] ? "FiltersActive" : ""));
|
|
9930
|
-
add_location(div1, file,
|
|
9933
|
+
add_location(div1, file, 781, 14, 31039);
|
|
9931
9934
|
},
|
|
9932
9935
|
m: function mount(target, anchor) {
|
|
9933
9936
|
insert_dev(target, div1, anchor);
|
|
@@ -9938,7 +9941,7 @@
|
|
|
9938
9941
|
append_dev(svg, polygon);
|
|
9939
9942
|
|
|
9940
9943
|
if (!mounted) {
|
|
9941
|
-
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[
|
|
9944
|
+
dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[56], false, false, false);
|
|
9942
9945
|
mounted = true;
|
|
9943
9946
|
}
|
|
9944
9947
|
},
|
|
@@ -9958,14 +9961,14 @@
|
|
|
9958
9961
|
block,
|
|
9959
9962
|
id: create_if_block_17.name,
|
|
9960
9963
|
type: "if",
|
|
9961
|
-
source: "(
|
|
9964
|
+
source: "(781:12) {#if numberOfFilters}",
|
|
9962
9965
|
ctx
|
|
9963
9966
|
});
|
|
9964
9967
|
|
|
9965
9968
|
return block;
|
|
9966
9969
|
}
|
|
9967
9970
|
|
|
9968
|
-
// (
|
|
9971
|
+
// (794:12) {#if !searched || !recentSearches}
|
|
9969
9972
|
function create_if_block_15(ctx) {
|
|
9970
9973
|
let if_block_anchor;
|
|
9971
9974
|
let if_block = !/*mostPlayedScreen*/ ctx[20] && !/*numberOfFilters*/ ctx[28] && create_if_block_16(ctx);
|
|
@@ -10003,14 +10006,14 @@
|
|
|
10003
10006
|
block,
|
|
10004
10007
|
id: create_if_block_15.name,
|
|
10005
10008
|
type: "if",
|
|
10006
|
-
source: "(
|
|
10009
|
+
source: "(794:12) {#if !searched || !recentSearches}",
|
|
10007
10010
|
ctx
|
|
10008
10011
|
});
|
|
10009
10012
|
|
|
10010
10013
|
return block;
|
|
10011
10014
|
}
|
|
10012
10015
|
|
|
10013
|
-
// (
|
|
10016
|
+
// (795:14) {#if !mostPlayedScreen && !numberOfFilters}
|
|
10014
10017
|
function create_if_block_16(ctx) {
|
|
10015
10018
|
let div3;
|
|
10016
10019
|
let div0;
|
|
@@ -10045,26 +10048,26 @@
|
|
|
10045
10048
|
span = element("span");
|
|
10046
10049
|
t4 = text(/*numberOfFilters*/ ctx[28]);
|
|
10047
10050
|
attr_dev(div0, "class", "FilterButton");
|
|
10048
|
-
add_location(div0, file,
|
|
10049
|
-
add_location(style, file,
|
|
10050
|
-
add_location(defs, file,
|
|
10051
|
+
add_location(div0, file, 796, 18, 32102);
|
|
10052
|
+
add_location(style, file, 798, 109, 32303);
|
|
10053
|
+
add_location(defs, file, 798, 103, 32297);
|
|
10051
10054
|
attr_dev(path, "class", "a");
|
|
10052
10055
|
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");
|
|
10053
10056
|
attr_dev(path, "transform", "translate(-5 -6.2)");
|
|
10054
|
-
add_location(path, file,
|
|
10057
|
+
add_location(path, file, 798, 145, 32339);
|
|
10055
10058
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10056
10059
|
attr_dev(svg, "width", "20");
|
|
10057
10060
|
attr_dev(svg, "height", "20");
|
|
10058
10061
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
10059
|
-
add_location(svg, file,
|
|
10062
|
+
add_location(svg, file, 798, 20, 32214);
|
|
10060
10063
|
attr_dev(span, "class", "NumberOfFilters");
|
|
10061
|
-
add_location(span, file,
|
|
10064
|
+
add_location(span, file, 800, 22, 32900);
|
|
10062
10065
|
attr_dev(div1, "class", "NumberOfFiltersContainer");
|
|
10063
|
-
add_location(div1, file,
|
|
10066
|
+
add_location(div1, file, 799, 20, 32839);
|
|
10064
10067
|
attr_dev(div2, "class", "FilterIconContainer");
|
|
10065
|
-
add_location(div2, file,
|
|
10068
|
+
add_location(div2, file, 797, 18, 32160);
|
|
10066
10069
|
attr_dev(div3, "class", "FilterButtonWrapper");
|
|
10067
|
-
add_location(div3, file,
|
|
10070
|
+
add_location(div3, file, 795, 16, 32010);
|
|
10068
10071
|
},
|
|
10069
10072
|
m: function mount(target, anchor) {
|
|
10070
10073
|
insert_dev(target, div3, anchor);
|
|
@@ -10082,7 +10085,7 @@
|
|
|
10082
10085
|
append_dev(span, t4);
|
|
10083
10086
|
|
|
10084
10087
|
if (!mounted) {
|
|
10085
|
-
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[
|
|
10088
|
+
dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[57], false, false, false);
|
|
10086
10089
|
mounted = true;
|
|
10087
10090
|
}
|
|
10088
10091
|
},
|
|
@@ -10100,14 +10103,14 @@
|
|
|
10100
10103
|
block,
|
|
10101
10104
|
id: create_if_block_16.name,
|
|
10102
10105
|
type: "if",
|
|
10103
|
-
source: "(
|
|
10106
|
+
source: "(795:14) {#if !mostPlayedScreen && !numberOfFilters}",
|
|
10104
10107
|
ctx
|
|
10105
10108
|
});
|
|
10106
10109
|
|
|
10107
10110
|
return block;
|
|
10108
10111
|
}
|
|
10109
10112
|
|
|
10110
|
-
// (
|
|
10113
|
+
// (703:12) {#if !mobileSearchViewActive}
|
|
10111
10114
|
function create_if_block_13(ctx) {
|
|
10112
10115
|
let div;
|
|
10113
10116
|
let svg;
|
|
@@ -10121,14 +10124,14 @@
|
|
|
10121
10124
|
attr_dev(path, "fill-rule", "evenodd");
|
|
10122
10125
|
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");
|
|
10123
10126
|
attr_dev(path, "clip-rule", "evenodd");
|
|
10124
|
-
add_location(path, file,
|
|
10127
|
+
add_location(path, file, 705, 18, 25406);
|
|
10125
10128
|
attr_dev(svg, "role", "presentation");
|
|
10126
10129
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10127
10130
|
attr_dev(svg, "viewBox", "0 0 20 20");
|
|
10128
10131
|
attr_dev(svg, "aria-hidden", "true");
|
|
10129
|
-
add_location(svg, file,
|
|
10132
|
+
add_location(svg, file, 704, 16, 25288);
|
|
10130
10133
|
attr_dev(div, "class", "SearchIcon");
|
|
10131
|
-
add_location(div, file,
|
|
10134
|
+
add_location(div, file, 703, 14, 25247);
|
|
10132
10135
|
},
|
|
10133
10136
|
m: function mount(target, anchor) {
|
|
10134
10137
|
insert_dev(target, div, anchor);
|
|
@@ -10144,14 +10147,14 @@
|
|
|
10144
10147
|
block,
|
|
10145
10148
|
id: create_if_block_13.name,
|
|
10146
10149
|
type: "if",
|
|
10147
|
-
source: "(
|
|
10150
|
+
source: "(703:12) {#if !mobileSearchViewActive}",
|
|
10148
10151
|
ctx
|
|
10149
10152
|
});
|
|
10150
10153
|
|
|
10151
10154
|
return block;
|
|
10152
10155
|
}
|
|
10153
10156
|
|
|
10154
|
-
// (
|
|
10157
|
+
// (711:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
|
|
10155
10158
|
function create_if_block_12(ctx) {
|
|
10156
10159
|
let span;
|
|
10157
10160
|
let div2;
|
|
@@ -10167,17 +10170,17 @@
|
|
|
10167
10170
|
div1 = element("div");
|
|
10168
10171
|
div0 = element("div");
|
|
10169
10172
|
attr_dev(div0, "class", "CloseIcon");
|
|
10170
|
-
add_location(div0, file,
|
|
10173
|
+
add_location(div0, file, 714, 20, 26306);
|
|
10171
10174
|
attr_dev(div1, "class", "CloseIconWrapper");
|
|
10172
|
-
add_location(div1, file,
|
|
10175
|
+
add_location(div1, file, 713, 18, 26255);
|
|
10173
10176
|
attr_dev(div2, "class", "CloseIconContainer");
|
|
10174
|
-
add_location(div2, file,
|
|
10177
|
+
add_location(div2, file, 712, 16, 26204);
|
|
10175
10178
|
|
|
10176
10179
|
attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[32]) === "PC"
|
|
10177
10180
|
? "ClearSearchButton"
|
|
10178
10181
|
: "ClearSearchButtonMobile") + " "));
|
|
10179
10182
|
|
|
10180
|
-
add_location(span, file,
|
|
10183
|
+
add_location(span, file, 711, 14, 26052);
|
|
10181
10184
|
},
|
|
10182
10185
|
m: function mount(target, anchor) {
|
|
10183
10186
|
insert_dev(target, span, anchor);
|
|
@@ -10186,7 +10189,7 @@
|
|
|
10186
10189
|
append_dev(div1, div0);
|
|
10187
10190
|
|
|
10188
10191
|
if (!mounted) {
|
|
10189
|
-
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[
|
|
10192
|
+
dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[49], false, false, false);
|
|
10190
10193
|
mounted = true;
|
|
10191
10194
|
}
|
|
10192
10195
|
},
|
|
@@ -10202,14 +10205,14 @@
|
|
|
10202
10205
|
block,
|
|
10203
10206
|
id: create_if_block_12.name,
|
|
10204
10207
|
type: "if",
|
|
10205
|
-
source: "(
|
|
10208
|
+
source: "(711:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
|
|
10206
10209
|
ctx
|
|
10207
10210
|
});
|
|
10208
10211
|
|
|
10209
10212
|
return block;
|
|
10210
10213
|
}
|
|
10211
10214
|
|
|
10212
|
-
// (
|
|
10215
|
+
// (722:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
10213
10216
|
function create_if_block_8(ctx) {
|
|
10214
10217
|
let div;
|
|
10215
10218
|
let t;
|
|
@@ -10223,7 +10226,7 @@
|
|
|
10223
10226
|
t = space();
|
|
10224
10227
|
if (if_block1) if_block1.c();
|
|
10225
10228
|
attr_dev(div, "class", "FiltersButtonsContainer");
|
|
10226
|
-
add_location(div, file,
|
|
10229
|
+
add_location(div, file, 722, 10, 26610);
|
|
10227
10230
|
},
|
|
10228
10231
|
m: function mount(target, anchor) {
|
|
10229
10232
|
insert_dev(target, div, anchor);
|
|
@@ -10269,14 +10272,14 @@
|
|
|
10269
10272
|
block,
|
|
10270
10273
|
id: create_if_block_8.name,
|
|
10271
10274
|
type: "if",
|
|
10272
|
-
source: "(
|
|
10275
|
+
source: "(722:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
|
|
10273
10276
|
ctx
|
|
10274
10277
|
});
|
|
10275
10278
|
|
|
10276
10279
|
return block;
|
|
10277
10280
|
}
|
|
10278
10281
|
|
|
10279
|
-
// (
|
|
10282
|
+
// (724:12) {#if numberOfFilters}
|
|
10280
10283
|
function create_if_block_11(ctx) {
|
|
10281
10284
|
let div1;
|
|
10282
10285
|
let div0;
|
|
@@ -10297,7 +10300,7 @@
|
|
|
10297
10300
|
polygon = svg_element("polygon");
|
|
10298
10301
|
set_style(polygon, "fill", "#FD2839");
|
|
10299
10302
|
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 ");
|
|
10300
|
-
add_location(polygon, file,
|
|
10303
|
+
add_location(polygon, file, 729, 22, 27159);
|
|
10301
10304
|
attr_dev(svg, "version", "1.1");
|
|
10302
10305
|
attr_dev(svg, "id", "Layer_1");
|
|
10303
10306
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -10307,13 +10310,13 @@
|
|
|
10307
10310
|
attr_dev(svg, "viewBox", "0 0 378.303 378.303");
|
|
10308
10311
|
set_style(svg, "enable-background", "new 0 0 378.303 378.303");
|
|
10309
10312
|
attr_dev(svg, "xml:space", "preserve");
|
|
10310
|
-
add_location(svg, file,
|
|
10313
|
+
add_location(svg, file, 727, 20, 26884);
|
|
10311
10314
|
attr_dev(span, "class", "ClearIcon");
|
|
10312
|
-
add_location(span, file,
|
|
10315
|
+
add_location(span, file, 726, 18, 26839);
|
|
10313
10316
|
attr_dev(div0, "class", "ClearButton");
|
|
10314
|
-
add_location(div0, file,
|
|
10317
|
+
add_location(div0, file, 725, 16, 26790);
|
|
10315
10318
|
attr_dev(div1, "class", "ClearFilterButtonWrapper");
|
|
10316
|
-
add_location(div1, file,
|
|
10319
|
+
add_location(div1, file, 724, 14, 26696);
|
|
10317
10320
|
},
|
|
10318
10321
|
m: function mount(target, anchor) {
|
|
10319
10322
|
insert_dev(target, div1, anchor);
|
|
@@ -10324,7 +10327,7 @@
|
|
|
10324
10327
|
append_dev(svg, polygon);
|
|
10325
10328
|
|
|
10326
10329
|
if (!mounted) {
|
|
10327
|
-
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[
|
|
10330
|
+
dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[50], false, false, false);
|
|
10328
10331
|
mounted = true;
|
|
10329
10332
|
}
|
|
10330
10333
|
},
|
|
@@ -10340,14 +10343,14 @@
|
|
|
10340
10343
|
block,
|
|
10341
10344
|
id: create_if_block_11.name,
|
|
10342
10345
|
type: "if",
|
|
10343
|
-
source: "(
|
|
10346
|
+
source: "(724:12) {#if numberOfFilters}",
|
|
10344
10347
|
ctx
|
|
10345
10348
|
});
|
|
10346
10349
|
|
|
10347
10350
|
return block;
|
|
10348
10351
|
}
|
|
10349
10352
|
|
|
10350
|
-
// (
|
|
10353
|
+
// (737:12) {#if !searched || !recentSearches}
|
|
10351
10354
|
function create_if_block_9(ctx) {
|
|
10352
10355
|
let if_block_anchor;
|
|
10353
10356
|
let if_block = !/*mostPlayedScreen*/ ctx[20] && create_if_block_10(ctx);
|
|
@@ -10385,14 +10388,14 @@
|
|
|
10385
10388
|
block,
|
|
10386
10389
|
id: create_if_block_9.name,
|
|
10387
10390
|
type: "if",
|
|
10388
|
-
source: "(
|
|
10391
|
+
source: "(737:12) {#if !searched || !recentSearches}",
|
|
10389
10392
|
ctx
|
|
10390
10393
|
});
|
|
10391
10394
|
|
|
10392
10395
|
return block;
|
|
10393
10396
|
}
|
|
10394
10397
|
|
|
10395
|
-
// (
|
|
10398
|
+
// (738:14) {#if !mostPlayedScreen}
|
|
10396
10399
|
function create_if_block_10(ctx) {
|
|
10397
10400
|
let div3;
|
|
10398
10401
|
let div0;
|
|
@@ -10427,26 +10430,26 @@
|
|
|
10427
10430
|
span = element("span");
|
|
10428
10431
|
t4 = text(/*numberOfFilters*/ ctx[28]);
|
|
10429
10432
|
attr_dev(div0, "class", "FilterButton");
|
|
10430
|
-
add_location(div0, file,
|
|
10431
|
-
add_location(style, file,
|
|
10432
|
-
add_location(defs, file,
|
|
10433
|
+
add_location(div0, file, 739, 18, 27698);
|
|
10434
|
+
add_location(style, file, 741, 109, 27899);
|
|
10435
|
+
add_location(defs, file, 741, 103, 27893);
|
|
10433
10436
|
attr_dev(path, "class", "a");
|
|
10434
10437
|
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");
|
|
10435
10438
|
attr_dev(path, "transform", "translate(-5 -6.2)");
|
|
10436
|
-
add_location(path, file,
|
|
10439
|
+
add_location(path, file, 741, 145, 27935);
|
|
10437
10440
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10438
10441
|
attr_dev(svg, "width", "20");
|
|
10439
10442
|
attr_dev(svg, "height", "20");
|
|
10440
10443
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
10441
|
-
add_location(svg, file,
|
|
10444
|
+
add_location(svg, file, 741, 20, 27810);
|
|
10442
10445
|
attr_dev(span, "class", "NumberOfFilters");
|
|
10443
|
-
add_location(span, file,
|
|
10446
|
+
add_location(span, file, 743, 22, 28496);
|
|
10444
10447
|
attr_dev(div1, "class", "NumberOfFiltersContainer");
|
|
10445
|
-
add_location(div1, file,
|
|
10448
|
+
add_location(div1, file, 742, 20, 28435);
|
|
10446
10449
|
attr_dev(div2, "class", "FilterIconContainer");
|
|
10447
|
-
add_location(div2, file,
|
|
10450
|
+
add_location(div2, file, 740, 18, 27756);
|
|
10448
10451
|
attr_dev(div3, "class", "FilterButtonWrapper");
|
|
10449
|
-
add_location(div3, file,
|
|
10452
|
+
add_location(div3, file, 738, 16, 27606);
|
|
10450
10453
|
},
|
|
10451
10454
|
m: function mount(target, anchor) {
|
|
10452
10455
|
insert_dev(target, div3, anchor);
|
|
@@ -10464,7 +10467,7 @@
|
|
|
10464
10467
|
append_dev(span, t4);
|
|
10465
10468
|
|
|
10466
10469
|
if (!mounted) {
|
|
10467
|
-
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[
|
|
10470
|
+
dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[51], false, false, false);
|
|
10468
10471
|
mounted = true;
|
|
10469
10472
|
}
|
|
10470
10473
|
},
|
|
@@ -10482,14 +10485,14 @@
|
|
|
10482
10485
|
block,
|
|
10483
10486
|
id: create_if_block_10.name,
|
|
10484
10487
|
type: "if",
|
|
10485
|
-
source: "(
|
|
10488
|
+
source: "(738:14) {#if !mostPlayedScreen}",
|
|
10486
10489
|
ctx
|
|
10487
10490
|
});
|
|
10488
10491
|
|
|
10489
10492
|
return block;
|
|
10490
10493
|
}
|
|
10491
10494
|
|
|
10492
|
-
// (
|
|
10495
|
+
// (880:10) {#if !recentSearches}
|
|
10493
10496
|
function create_if_block_6(ctx) {
|
|
10494
10497
|
let casino_games_category_section;
|
|
10495
10498
|
|
|
@@ -10507,7 +10510,7 @@
|
|
|
10507
10510
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10508
10511
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10509
10512
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10510
|
-
add_location(casino_games_category_section, file,
|
|
10513
|
+
add_location(casino_games_category_section, file, 880, 12, 35386);
|
|
10511
10514
|
},
|
|
10512
10515
|
m: function mount(target, anchor) {
|
|
10513
10516
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -10558,14 +10561,14 @@
|
|
|
10558
10561
|
block,
|
|
10559
10562
|
id: create_if_block_6.name,
|
|
10560
10563
|
type: "if",
|
|
10561
|
-
source: "(
|
|
10564
|
+
source: "(880:10) {#if !recentSearches}",
|
|
10562
10565
|
ctx
|
|
10563
10566
|
});
|
|
10564
10567
|
|
|
10565
10568
|
return block;
|
|
10566
10569
|
}
|
|
10567
10570
|
|
|
10568
|
-
// (
|
|
10571
|
+
// (864:35)
|
|
10569
10572
|
function create_if_block_5(ctx) {
|
|
10570
10573
|
let casino_games_category_section;
|
|
10571
10574
|
|
|
@@ -10584,7 +10587,7 @@
|
|
|
10584
10587
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10585
10588
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10586
10589
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10587
|
-
add_location(casino_games_category_section, file,
|
|
10590
|
+
add_location(casino_games_category_section, file, 864, 10, 34905);
|
|
10588
10591
|
},
|
|
10589
10592
|
m: function mount(target, anchor) {
|
|
10590
10593
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -10631,14 +10634,14 @@
|
|
|
10631
10634
|
block,
|
|
10632
10635
|
id: create_if_block_5.name,
|
|
10633
10636
|
type: "if",
|
|
10634
|
-
source: "(
|
|
10637
|
+
source: "(864:35) ",
|
|
10635
10638
|
ctx
|
|
10636
10639
|
});
|
|
10637
10640
|
|
|
10638
10641
|
return block;
|
|
10639
10642
|
}
|
|
10640
10643
|
|
|
10641
|
-
// (
|
|
10644
|
+
// (850:34)
|
|
10642
10645
|
function create_if_block_4(ctx) {
|
|
10643
10646
|
let casino_games_category_section;
|
|
10644
10647
|
let showFavoriteGames_action;
|
|
@@ -10658,7 +10661,7 @@
|
|
|
10658
10661
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10659
10662
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10660
10663
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10661
|
-
add_location(casino_games_category_section, file,
|
|
10664
|
+
add_location(casino_games_category_section, file, 850, 10, 34420);
|
|
10662
10665
|
},
|
|
10663
10666
|
m: function mount(target, anchor) {
|
|
10664
10667
|
insert_dev(target, casino_games_category_section, anchor);
|
|
@@ -10714,14 +10717,14 @@
|
|
|
10714
10717
|
block,
|
|
10715
10718
|
id: create_if_block_4.name,
|
|
10716
10719
|
type: "if",
|
|
10717
|
-
source: "(
|
|
10720
|
+
source: "(850:34) ",
|
|
10718
10721
|
ctx
|
|
10719
10722
|
});
|
|
10720
10723
|
|
|
10721
10724
|
return block;
|
|
10722
10725
|
}
|
|
10723
10726
|
|
|
10724
|
-
// (
|
|
10727
|
+
// (831:8) {#if lobbyScreen}
|
|
10725
10728
|
function create_if_block_3(ctx) {
|
|
10726
10729
|
let each_1_anchor;
|
|
10727
10730
|
let each_value = /*shownCategories*/ ctx[23];
|
|
@@ -10782,14 +10785,14 @@
|
|
|
10782
10785
|
block,
|
|
10783
10786
|
id: create_if_block_3.name,
|
|
10784
10787
|
type: "if",
|
|
10785
|
-
source: "(
|
|
10788
|
+
source: "(831:8) {#if lobbyScreen}",
|
|
10786
10789
|
ctx
|
|
10787
10790
|
});
|
|
10788
10791
|
|
|
10789
10792
|
return block;
|
|
10790
10793
|
}
|
|
10791
10794
|
|
|
10792
|
-
// (
|
|
10795
|
+
// (816:6) {#if searched}
|
|
10793
10796
|
function create_if_block_2(ctx) {
|
|
10794
10797
|
let casino_games_category_section;
|
|
10795
10798
|
let sendSearchData_action;
|
|
@@ -10809,13 +10812,13 @@
|
|
|
10809
10812
|
set_custom_element_data(casino_games_category_section, "categoryindex", "0");
|
|
10810
10813
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10811
10814
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10812
|
-
add_location(casino_games_category_section, file,
|
|
10815
|
+
add_location(casino_games_category_section, file, 816, 8, 33290);
|
|
10813
10816
|
},
|
|
10814
10817
|
m: function mount(target, anchor) {
|
|
10815
10818
|
insert_dev(target, casino_games_category_section, anchor);
|
|
10816
10819
|
|
|
10817
10820
|
if (!mounted) {
|
|
10818
|
-
dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[
|
|
10821
|
+
dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[41].call(null, casino_games_category_section, /*searchArray*/ ctx[22]));
|
|
10819
10822
|
mounted = true;
|
|
10820
10823
|
}
|
|
10821
10824
|
},
|
|
@@ -10865,14 +10868,14 @@
|
|
|
10865
10868
|
block,
|
|
10866
10869
|
id: create_if_block_2.name,
|
|
10867
10870
|
type: "if",
|
|
10868
|
-
source: "(
|
|
10871
|
+
source: "(816:6) {#if searched}",
|
|
10869
10872
|
ctx
|
|
10870
10873
|
});
|
|
10871
10874
|
|
|
10872
10875
|
return block;
|
|
10873
10876
|
}
|
|
10874
10877
|
|
|
10875
|
-
// (
|
|
10878
|
+
// (813:4) {#if isLoading}
|
|
10876
10879
|
function create_if_block_1(ctx) {
|
|
10877
10880
|
let p;
|
|
10878
10881
|
let t_value = /*$_*/ ctx[30]("casinoPage.loading") + "";
|
|
@@ -10883,7 +10886,7 @@
|
|
|
10883
10886
|
p = element("p");
|
|
10884
10887
|
t = text(t_value);
|
|
10885
10888
|
attr_dev(p, "class", "SearchLoading");
|
|
10886
|
-
add_location(p, file,
|
|
10889
|
+
add_location(p, file, 813, 6, 33193);
|
|
10887
10890
|
},
|
|
10888
10891
|
m: function mount(target, anchor) {
|
|
10889
10892
|
insert_dev(target, p, anchor);
|
|
@@ -10901,14 +10904,14 @@
|
|
|
10901
10904
|
block,
|
|
10902
10905
|
id: create_if_block_1.name,
|
|
10903
10906
|
type: "if",
|
|
10904
|
-
source: "(
|
|
10907
|
+
source: "(813:4) {#if isLoading}",
|
|
10905
10908
|
ctx
|
|
10906
10909
|
});
|
|
10907
10910
|
|
|
10908
10911
|
return block;
|
|
10909
10912
|
}
|
|
10910
10913
|
|
|
10911
|
-
// (
|
|
10914
|
+
// (832:10) {#each shownCategories as category, index}
|
|
10912
10915
|
function create_each_block(ctx) {
|
|
10913
10916
|
let casino_games_category_section;
|
|
10914
10917
|
let casino_games_category_section_categoryid_value;
|
|
@@ -10924,25 +10927,25 @@
|
|
|
10924
10927
|
set_custom_element_data(casino_games_category_section, "endpoint", /*endpoint*/ ctx[0]);
|
|
10925
10928
|
set_custom_element_data(casino_games_category_section, "datasource", /*datasource*/ ctx[1]);
|
|
10926
10929
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10927
|
-
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[
|
|
10928
|
-
set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[
|
|
10930
|
+
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[105]);
|
|
10931
|
+
set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[107]);
|
|
10929
10932
|
set_custom_element_data(casino_games_category_section, "categorygames", "9");
|
|
10930
10933
|
set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
|
|
10931
10934
|
set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
|
|
10932
10935
|
|
|
10933
|
-
set_style(casino_games_category_section, "background-color", /*index*/ ctx[
|
|
10936
|
+
set_style(casino_games_category_section, "background-color", /*index*/ ctx[107] % 2 !== 0
|
|
10934
10937
|
? /*categorybackground*/ ctx[7]
|
|
10935
10938
|
: "transparent");
|
|
10936
10939
|
|
|
10937
10940
|
set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
|
|
10938
10941
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10939
|
-
add_location(casino_games_category_section, file,
|
|
10942
|
+
add_location(casino_games_category_section, file, 832, 12, 33765);
|
|
10940
10943
|
},
|
|
10941
10944
|
m: function mount(target, anchor) {
|
|
10942
10945
|
insert_dev(target, casino_games_category_section, anchor);
|
|
10943
10946
|
|
|
10944
10947
|
if (!mounted) {
|
|
10945
|
-
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[
|
|
10948
|
+
dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[40].call(null, casino_games_category_section, /*category*/ ctx[105]));
|
|
10946
10949
|
mounted = true;
|
|
10947
10950
|
}
|
|
10948
10951
|
},
|
|
@@ -10969,7 +10972,7 @@
|
|
|
10969
10972
|
set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
|
|
10970
10973
|
}
|
|
10971
10974
|
|
|
10972
|
-
if (dirty[0] & /*shownCategories*/ 8388608 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[
|
|
10975
|
+
if (dirty[0] & /*shownCategories*/ 8388608 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[105])) {
|
|
10973
10976
|
set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value);
|
|
10974
10977
|
}
|
|
10975
10978
|
|
|
@@ -10978,7 +10981,7 @@
|
|
|
10978
10981
|
}
|
|
10979
10982
|
|
|
10980
10983
|
if (dirty[0] & /*categorybackground*/ 128) {
|
|
10981
|
-
set_style(casino_games_category_section, "background-color", /*index*/ ctx[
|
|
10984
|
+
set_style(casino_games_category_section, "background-color", /*index*/ ctx[107] % 2 !== 0
|
|
10982
10985
|
? /*categorybackground*/ ctx[7]
|
|
10983
10986
|
: "transparent");
|
|
10984
10987
|
}
|
|
@@ -10991,7 +10994,7 @@
|
|
|
10991
10994
|
set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
|
|
10992
10995
|
}
|
|
10993
10996
|
|
|
10994
|
-
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 8388608) sendCategoryData_action.update.call(null, /*category*/ ctx[
|
|
10997
|
+
if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 8388608) sendCategoryData_action.update.call(null, /*category*/ ctx[105]);
|
|
10995
10998
|
},
|
|
10996
10999
|
d: function destroy(detaching) {
|
|
10997
11000
|
if (detaching) detach_dev(casino_games_category_section);
|
|
@@ -11004,7 +11007,7 @@
|
|
|
11004
11007
|
block,
|
|
11005
11008
|
id: create_each_block.name,
|
|
11006
11009
|
type: "each",
|
|
11007
|
-
source: "(
|
|
11010
|
+
source: "(832:10) {#each shownCategories as category, index}",
|
|
11008
11011
|
ctx
|
|
11009
11012
|
});
|
|
11010
11013
|
|
|
@@ -11171,7 +11174,8 @@
|
|
|
11171
11174
|
$$invalidate(24, activeCategory = "");
|
|
11172
11175
|
break;
|
|
11173
11176
|
case "MOSTPLAYED":
|
|
11174
|
-
|
|
11177
|
+
if (mostplayed == "true") {
|
|
11178
|
+
/*getMostPlayedGames({
|
|
11175
11179
|
limit: 10,
|
|
11176
11180
|
device: getDevice(userAgent),
|
|
11177
11181
|
rounds: 25 //50
|
|
@@ -11182,29 +11186,34 @@
|
|
|
11182
11186
|
res.items = [{gameId: '15786'}, {gameId: '15788'}];
|
|
11183
11187
|
res.items.forEach((item:any) => {
|
|
11184
11188
|
let url = new URL(getGameUrl + `/${item.gameId}`);
|
|
11185
|
-
|
|
11189
|
+
|
|
11186
11190
|
promises.push(xhrFetch(url));
|
|
11187
11191
|
});
|
|
11188
|
-
|
|
11192
|
+
|
|
11189
11193
|
Promise.all(promises).then((values:any) => {
|
|
11190
11194
|
mostPlayedGames = values.map((item:any) => item[0]);
|
|
11191
11195
|
window.postMessage({ type: 'MostPlayedData', mostPlayedGames }, window.location.href);
|
|
11192
11196
|
});
|
|
11193
11197
|
}
|
|
11194
11198
|
});*/
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
|
|
11202
|
-
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11207
|
-
|
|
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
|
+
});
|
|
11207
|
+
|
|
11208
|
+
Promise.all(promises).then(values => {
|
|
11209
|
+
mostPlayedGames = values.map(item => item[0]);
|
|
11210
|
+
window.postMessage({ type: "MostPlayedData", mostPlayedGames }, window.location.href);
|
|
11211
|
+
});
|
|
11212
|
+
|
|
11213
|
+
$$invalidate(24, activeCategory = "");
|
|
11214
|
+
$$invalidate(19, lobbyScreen = false);
|
|
11215
|
+
$$invalidate(20, mostPlayedScreen = true);
|
|
11216
|
+
}
|
|
11208
11217
|
break;
|
|
11209
11218
|
default:
|
|
11210
11219
|
$$invalidate(19, lobbyScreen = false);
|
|
@@ -11341,34 +11350,36 @@
|
|
|
11341
11350
|
// --- START of Favorites section
|
|
11342
11351
|
//
|
|
11343
11352
|
let getFavoredGames = (url, sessionID, playerID) => {
|
|
11344
|
-
if (
|
|
11345
|
-
|
|
11346
|
-
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11353
|
+
if (favorites == "true") {
|
|
11354
|
+
if (session && playerID) {
|
|
11355
|
+
let options = {
|
|
11356
|
+
method: "GET",
|
|
11357
|
+
headers: { "X-SessionID": sessionID }
|
|
11358
|
+
};
|
|
11359
|
+
|
|
11360
|
+
fetch(`${url}/player/${playerID}/favorites/`, options).then(res => res.json()).then(updatedArray => {
|
|
11361
|
+
receivedFavoriteResults = updatedArray;
|
|
11362
|
+
|
|
11363
|
+
if (receivedFavoriteResults) {
|
|
11364
|
+
window.postMessage(
|
|
11365
|
+
{
|
|
11366
|
+
type: "UpdateCategoryFavoriteGames",
|
|
11367
|
+
receivedFavoriteResults
|
|
11368
|
+
},
|
|
11369
|
+
window.location.href
|
|
11370
|
+
);
|
|
11371
|
+
|
|
11372
|
+
updatedFavoriteResultsIds = getGamesIds(receivedFavoriteResults.items);
|
|
11373
|
+
}
|
|
11352
11374
|
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
receivedFavoriteResults
|
|
11358
|
-
},
|
|
11359
|
-
window.location.href
|
|
11360
|
-
);
|
|
11375
|
+
return receivedFavoriteResults;
|
|
11376
|
+
}).catch(err => {
|
|
11377
|
+
console.error(err);
|
|
11378
|
+
});
|
|
11361
11379
|
|
|
11362
|
-
|
|
11380
|
+
if (favoritesScreen) {
|
|
11381
|
+
showFavoriteGames();
|
|
11363
11382
|
}
|
|
11364
|
-
|
|
11365
|
-
return receivedFavoriteResults;
|
|
11366
|
-
}).catch(err => {
|
|
11367
|
-
console.error(err);
|
|
11368
|
-
});
|
|
11369
|
-
|
|
11370
|
-
if (favoritesScreen) {
|
|
11371
|
-
showFavoriteGames();
|
|
11372
11383
|
}
|
|
11373
11384
|
}
|
|
11374
11385
|
};
|
|
@@ -11437,7 +11448,7 @@
|
|
|
11437
11448
|
window.postMessage({ type: `AddFavoriteThumbnail_${gameID}` }, window.location.href);
|
|
11438
11449
|
updateFavoredList(url, sessionID, playerID);
|
|
11439
11450
|
}).catch(err => {
|
|
11440
|
-
console.
|
|
11451
|
+
console.error("Err", err);
|
|
11441
11452
|
});
|
|
11442
11453
|
};
|
|
11443
11454
|
|
|
@@ -11662,12 +11673,8 @@
|
|
|
11662
11673
|
window.postMessage({ type: "scroll" }, window.location.href);
|
|
11663
11674
|
};
|
|
11664
11675
|
|
|
11665
|
-
const searchOngoing = () => {
|
|
11666
|
-
console.log("searchValue ", searchValue);
|
|
11667
|
-
};
|
|
11668
|
-
|
|
11669
11676
|
const clearSearchbar = () => {
|
|
11670
|
-
$$invalidate(
|
|
11677
|
+
$$invalidate(45, searchBarCleared = true);
|
|
11671
11678
|
$$invalidate(10, searchValue = "");
|
|
11672
11679
|
$$invalidate(22, searchArray = []);
|
|
11673
11680
|
$$invalidate(16, recentSearches = false);
|
|
@@ -11948,10 +11955,10 @@
|
|
|
11948
11955
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
11949
11956
|
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
11950
11957
|
if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
|
|
11951
|
-
if ("visiblegames" in $$props) $$invalidate(
|
|
11958
|
+
if ("visiblegames" in $$props) $$invalidate(42, visiblegames = $$props.visiblegames);
|
|
11952
11959
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
11953
11960
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
11954
|
-
if ("mostplayed" in $$props) $$invalidate(
|
|
11961
|
+
if ("mostplayed" in $$props) $$invalidate(43, mostplayed = $$props.mostplayed);
|
|
11955
11962
|
};
|
|
11956
11963
|
|
|
11957
11964
|
$$self.$capture_state = () => ({
|
|
@@ -12036,7 +12043,6 @@
|
|
|
12036
12043
|
addSearchedItem,
|
|
12037
12044
|
setFilterNumberValue,
|
|
12038
12045
|
searchActivated,
|
|
12039
|
-
searchOngoing,
|
|
12040
12046
|
clearSearchbar,
|
|
12041
12047
|
sendMostPlayed,
|
|
12042
12048
|
submitFilters,
|
|
@@ -12064,10 +12070,10 @@
|
|
|
12064
12070
|
if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
|
|
12065
12071
|
if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
|
|
12066
12072
|
if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
|
|
12067
|
-
if ("visiblegames" in $$props) $$invalidate(
|
|
12073
|
+
if ("visiblegames" in $$props) $$invalidate(42, visiblegames = $$props.visiblegames);
|
|
12068
12074
|
if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
|
|
12069
12075
|
if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
|
|
12070
|
-
if ("mostplayed" in $$props) $$invalidate(
|
|
12076
|
+
if ("mostplayed" in $$props) $$invalidate(43, mostplayed = $$props.mostplayed);
|
|
12071
12077
|
if ("isLoading" in $$props) $$invalidate(11, isLoading = $$props.isLoading);
|
|
12072
12078
|
if ("hasErrors" in $$props) $$invalidate(12, hasErrors = $$props.hasErrors);
|
|
12073
12079
|
if ("isLoggedIn" in $$props) isLoggedIn = $$props.isLoggedIn;
|
|
@@ -12075,7 +12081,7 @@
|
|
|
12075
12081
|
if ("sessionID" in $$props) $$invalidate(14, sessionID = $$props.sessionID);
|
|
12076
12082
|
if ("favoritesScreen" in $$props) $$invalidate(15, favoritesScreen = $$props.favoritesScreen);
|
|
12077
12083
|
if ("recentSearches" in $$props) $$invalidate(16, recentSearches = $$props.recentSearches);
|
|
12078
|
-
if ("initialLoaded" in $$props) $$invalidate(
|
|
12084
|
+
if ("initialLoaded" in $$props) $$invalidate(44, initialLoaded = $$props.initialLoaded);
|
|
12079
12085
|
if ("searched" in $$props) $$invalidate(17, searched = $$props.searched);
|
|
12080
12086
|
if ("gameFocus" in $$props) gameFocus = $$props.gameFocus;
|
|
12081
12087
|
if ("lobbyViewAux" in $$props) $$invalidate(18, lobbyViewAux = $$props.lobbyViewAux);
|
|
@@ -12084,7 +12090,7 @@
|
|
|
12084
12090
|
if ("lobbyScreen" in $$props) $$invalidate(19, lobbyScreen = $$props.lobbyScreen);
|
|
12085
12091
|
if ("mostPlayedScreen" in $$props) $$invalidate(20, mostPlayedScreen = $$props.mostPlayedScreen);
|
|
12086
12092
|
if ("adjustingScroll" in $$props) $$invalidate(21, adjustingScroll = $$props.adjustingScroll);
|
|
12087
|
-
if ("searchBarCleared" in $$props) $$invalidate(
|
|
12093
|
+
if ("searchBarCleared" in $$props) $$invalidate(45, searchBarCleared = $$props.searchBarCleared);
|
|
12088
12094
|
if ("gamesArray" in $$props) gamesArray = $$props.gamesArray;
|
|
12089
12095
|
if ("searchArray" in $$props) $$invalidate(22, searchArray = $$props.searchArray);
|
|
12090
12096
|
if ("categories" in $$props) categories = $$props.categories;
|
|
@@ -12121,7 +12127,7 @@
|
|
|
12121
12127
|
}
|
|
12122
12128
|
|
|
12123
12129
|
$$self.$$.update = () => {
|
|
12124
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 1027 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/
|
|
12130
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 1027 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/ 24576) {
|
|
12125
12131
|
if (searchValue.length >= 2) {
|
|
12126
12132
|
$$invalidate(17, searched = true);
|
|
12127
12133
|
let searchUrl = new URL(`${endpoint}/casino/games`);
|
|
@@ -12143,7 +12149,7 @@
|
|
|
12143
12149
|
}
|
|
12144
12150
|
|
|
12145
12151
|
if (initialLoaded) {
|
|
12146
|
-
$$invalidate(
|
|
12152
|
+
$$invalidate(44, initialLoaded = false);
|
|
12147
12153
|
}
|
|
12148
12154
|
}
|
|
12149
12155
|
}
|
|
@@ -12203,7 +12209,6 @@
|
|
|
12203
12209
|
onFocus,
|
|
12204
12210
|
onBlur,
|
|
12205
12211
|
searchActivated,
|
|
12206
|
-
searchOngoing,
|
|
12207
12212
|
clearSearchbar,
|
|
12208
12213
|
openFiltersModal,
|
|
12209
12214
|
clearVendorFilter,
|
|
@@ -12254,10 +12259,10 @@
|
|
|
12254
12259
|
clientstyling: 5,
|
|
12255
12260
|
clientstylingurl: 6,
|
|
12256
12261
|
categorybackground: 7,
|
|
12257
|
-
visiblegames:
|
|
12262
|
+
visiblegames: 42,
|
|
12258
12263
|
alternativesearch: 8,
|
|
12259
12264
|
favorites: 9,
|
|
12260
|
-
mostplayed:
|
|
12265
|
+
mostplayed: 43
|
|
12261
12266
|
},
|
|
12262
12267
|
[-1, -1, -1, -1]
|
|
12263
12268
|
);
|
|
@@ -12364,7 +12369,7 @@
|
|
|
12364
12369
|
}
|
|
12365
12370
|
|
|
12366
12371
|
get visiblegames() {
|
|
12367
|
-
return this.$$.ctx[
|
|
12372
|
+
return this.$$.ctx[42];
|
|
12368
12373
|
}
|
|
12369
12374
|
|
|
12370
12375
|
set visiblegames(visiblegames) {
|
|
@@ -12391,7 +12396,7 @@
|
|
|
12391
12396
|
}
|
|
12392
12397
|
|
|
12393
12398
|
get mostplayed() {
|
|
12394
|
-
return this.$$.ctx[
|
|
12399
|
+
return this.$$.ctx[43];
|
|
12395
12400
|
}
|
|
12396
12401
|
|
|
12397
12402
|
set mostplayed(mostplayed) {
|