@everymatrix/casino-categories-providers 1.2.0 → 1.2.2
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.
|
@@ -4880,7 +4880,7 @@
|
|
|
4880
4880
|
p: function update(ctx, dirty) {
|
|
4881
4881
|
if (dirty & /*$_*/ 32 && t0_value !== (t0_value = /*$_*/ ctx[5]('Translations.topCategories') + "")) set_data_dev(t0, t0_value);
|
|
4882
4882
|
|
|
4883
|
-
if (dirty & /*activecategory, topCategories, $_
|
|
4883
|
+
if (dirty & /*activecategory, topCategories, openGameCategory, $_*/ 105) {
|
|
4884
4884
|
each_value_1 = /*topCategories*/ ctx[3];
|
|
4885
4885
|
validate_each_argument(each_value_1);
|
|
4886
4886
|
let i;
|
|
@@ -4906,7 +4906,7 @@
|
|
|
4906
4906
|
|
|
4907
4907
|
if (dirty & /*$_*/ 32 && t3_value !== (t3_value = /*$_*/ ctx[5]('Translations.otherCategories') + "")) set_data_dev(t3, t3_value);
|
|
4908
4908
|
|
|
4909
|
-
if (dirty & /*activecategory, otherCategories, $_
|
|
4909
|
+
if (dirty & /*activecategory, otherCategories, openGameCategory, $_*/ 113) {
|
|
4910
4910
|
each_value = /*otherCategories*/ ctx[4];
|
|
4911
4911
|
validate_each_argument(each_value);
|
|
4912
4912
|
let i;
|
|
@@ -5021,7 +5021,7 @@
|
|
|
5021
5021
|
if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[24].icon)) attr_dev(img, "src", img_src_value);
|
|
5022
5022
|
attr_dev(img, "alt", img_alt_value = /*category*/ ctx[24].name);
|
|
5023
5023
|
attr_dev(img, "class", "CategoryImage");
|
|
5024
|
-
add_location(img, file$2, 84, 6,
|
|
5024
|
+
add_location(img, file$2, 84, 6, 3226);
|
|
5025
5025
|
add_location(p0, file$2, 86, 8, 3347);
|
|
5026
5026
|
add_location(p1, file$2, 87, 8, 3378);
|
|
5027
5027
|
attr_dev(div0, "class", "CategoryTextContainer");
|
|
@@ -5047,7 +5047,7 @@
|
|
|
5047
5047
|
append_dev(p1, t5);
|
|
5048
5048
|
|
|
5049
5049
|
if (!mounted) {
|
|
5050
|
-
dispose = listen_dev(
|
|
5050
|
+
dispose = listen_dev(div1, "click", click_handler, false, false, false);
|
|
5051
5051
|
mounted = true;
|
|
5052
5052
|
}
|
|
5053
5053
|
},
|
|
@@ -5134,7 +5134,7 @@
|
|
|
5134
5134
|
if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[24].icon)) attr_dev(img, "src", img_src_value);
|
|
5135
5135
|
attr_dev(img, "alt", img_alt_value = /*category*/ ctx[24].name);
|
|
5136
5136
|
attr_dev(img, "class", "CategoryImage");
|
|
5137
|
-
add_location(img, file$2, 94, 6,
|
|
5137
|
+
add_location(img, file$2, 94, 6, 3713);
|
|
5138
5138
|
add_location(p0, file$2, 96, 8, 3833);
|
|
5139
5139
|
add_location(p1, file$2, 97, 8, 3864);
|
|
5140
5140
|
attr_dev(div0, "class", "CategoryTextContainer");
|
|
@@ -5161,7 +5161,7 @@
|
|
|
5161
5161
|
append_dev(div1, t6);
|
|
5162
5162
|
|
|
5163
5163
|
if (!mounted) {
|
|
5164
|
-
dispose = listen_dev(
|
|
5164
|
+
dispose = listen_dev(div1, "click", click_handler_1, false, false, false);
|
|
5165
5165
|
mounted = true;
|
|
5166
5166
|
}
|
|
5167
5167
|
},
|
|
@@ -5276,7 +5276,7 @@
|
|
|
5276
5276
|
let { excludedflags = '' } = $$props;
|
|
5277
5277
|
let { clientstyling = '' } = $$props;
|
|
5278
5278
|
let { clientstylingurl = '' } = $$props;
|
|
5279
|
-
let {
|
|
5279
|
+
let { translationurl = '' } = $$props;
|
|
5280
5280
|
let customStylingContainer;
|
|
5281
5281
|
let displayNone = false;
|
|
5282
5282
|
let isLoading = false;
|
|
@@ -5289,7 +5289,7 @@
|
|
|
5289
5289
|
});
|
|
5290
5290
|
|
|
5291
5291
|
const setTranslationUrl = () => {
|
|
5292
|
-
let url =
|
|
5292
|
+
let url = translationurl;
|
|
5293
5293
|
|
|
5294
5294
|
fetch(url).then(res => res.json()).then(res => {
|
|
5295
5295
|
Object.keys(res).forEach(item => {
|
|
@@ -5370,7 +5370,7 @@
|
|
|
5370
5370
|
'excludedflags',
|
|
5371
5371
|
'clientstyling',
|
|
5372
5372
|
'clientstylingurl',
|
|
5373
|
-
'
|
|
5373
|
+
'translationurl'
|
|
5374
5374
|
];
|
|
5375
5375
|
|
|
5376
5376
|
Object_1$2.keys($$props).forEach(key => {
|
|
@@ -5395,7 +5395,7 @@
|
|
|
5395
5395
|
if ('excludedflags' in $$props) $$invalidate(10, excludedflags = $$props.excludedflags);
|
|
5396
5396
|
if ('clientstyling' in $$props) $$invalidate(11, clientstyling = $$props.clientstyling);
|
|
5397
5397
|
if ('clientstylingurl' in $$props) $$invalidate(12, clientstylingurl = $$props.clientstylingurl);
|
|
5398
|
-
if ('
|
|
5398
|
+
if ('translationurl' in $$props) $$invalidate(13, translationurl = $$props.translationurl);
|
|
5399
5399
|
};
|
|
5400
5400
|
|
|
5401
5401
|
$$self.$capture_state = () => ({
|
|
@@ -5410,7 +5410,7 @@
|
|
|
5410
5410
|
excludedflags,
|
|
5411
5411
|
clientstyling,
|
|
5412
5412
|
clientstylingurl,
|
|
5413
|
-
|
|
5413
|
+
translationurl,
|
|
5414
5414
|
customStylingContainer,
|
|
5415
5415
|
displayNone,
|
|
5416
5416
|
isLoading,
|
|
@@ -5434,7 +5434,7 @@
|
|
|
5434
5434
|
if ('excludedflags' in $$props) $$invalidate(10, excludedflags = $$props.excludedflags);
|
|
5435
5435
|
if ('clientstyling' in $$props) $$invalidate(11, clientstyling = $$props.clientstyling);
|
|
5436
5436
|
if ('clientstylingurl' in $$props) $$invalidate(12, clientstylingurl = $$props.clientstylingurl);
|
|
5437
|
-
if ('
|
|
5437
|
+
if ('translationurl' in $$props) $$invalidate(13, translationurl = $$props.translationurl);
|
|
5438
5438
|
if ('customStylingContainer' in $$props) $$invalidate(1, customStylingContainer = $$props.customStylingContainer);
|
|
5439
5439
|
if ('displayNone' in $$props) displayNone = $$props.displayNone;
|
|
5440
5440
|
if ('isLoading' in $$props) $$invalidate(2, isLoading = $$props.isLoading);
|
|
@@ -5451,8 +5451,8 @@
|
|
|
5451
5451
|
endpoint && datasource && getCategories();
|
|
5452
5452
|
}
|
|
5453
5453
|
|
|
5454
|
-
if ($$self.$$.dirty & /*
|
|
5455
|
-
|
|
5454
|
+
if ($$self.$$.dirty & /*translationurl*/ 8192) {
|
|
5455
|
+
translationurl && setTranslationUrl();
|
|
5456
5456
|
}
|
|
5457
5457
|
|
|
5458
5458
|
if ($$self.$$.dirty & /*lang*/ 512) {
|
|
@@ -5482,7 +5482,7 @@
|
|
|
5482
5482
|
excludedflags,
|
|
5483
5483
|
clientstyling,
|
|
5484
5484
|
clientstylingurl,
|
|
5485
|
-
|
|
5485
|
+
translationurl,
|
|
5486
5486
|
click_handler,
|
|
5487
5487
|
click_handler_1,
|
|
5488
5488
|
div_binding
|
|
@@ -5512,7 +5512,7 @@
|
|
|
5512
5512
|
excludedflags: 10,
|
|
5513
5513
|
clientstyling: 11,
|
|
5514
5514
|
clientstylingurl: 12,
|
|
5515
|
-
|
|
5515
|
+
translationurl: 13
|
|
5516
5516
|
},
|
|
5517
5517
|
null
|
|
5518
5518
|
);
|
|
@@ -5538,7 +5538,7 @@
|
|
|
5538
5538
|
"excludedflags",
|
|
5539
5539
|
"clientstyling",
|
|
5540
5540
|
"clientstylingurl",
|
|
5541
|
-
"
|
|
5541
|
+
"translationurl"
|
|
5542
5542
|
];
|
|
5543
5543
|
}
|
|
5544
5544
|
|
|
@@ -5605,12 +5605,12 @@
|
|
|
5605
5605
|
flush();
|
|
5606
5606
|
}
|
|
5607
5607
|
|
|
5608
|
-
get
|
|
5608
|
+
get translationurl() {
|
|
5609
5609
|
return this.$$.ctx[13];
|
|
5610
5610
|
}
|
|
5611
5611
|
|
|
5612
|
-
set
|
|
5613
|
-
this.$$set({
|
|
5612
|
+
set translationurl(translationurl) {
|
|
5613
|
+
this.$$set({ translationurl });
|
|
5614
5614
|
flush();
|
|
5615
5615
|
}
|
|
5616
5616
|
}
|
|
@@ -6224,7 +6224,7 @@
|
|
|
6224
6224
|
let { lang = 'en' } = $$props;
|
|
6225
6225
|
let { clientstyling = '' } = $$props;
|
|
6226
6226
|
let { clientstylingurl = '' } = $$props;
|
|
6227
|
-
let {
|
|
6227
|
+
let { translationurl = '' } = $$props;
|
|
6228
6228
|
let providers = [];
|
|
6229
6229
|
let topProviders = [];
|
|
6230
6230
|
let otherProviders = [];
|
|
@@ -6232,7 +6232,7 @@
|
|
|
6232
6232
|
let customStylingContainer;
|
|
6233
6233
|
|
|
6234
6234
|
const setTranslationUrl = () => {
|
|
6235
|
-
let url =
|
|
6235
|
+
let url = translationurl;
|
|
6236
6236
|
|
|
6237
6237
|
fetch(url).then(res => res.json()).then(res => {
|
|
6238
6238
|
Object.keys(res).forEach(item => {
|
|
@@ -6306,7 +6306,7 @@
|
|
|
6306
6306
|
'lang',
|
|
6307
6307
|
'clientstyling',
|
|
6308
6308
|
'clientstylingurl',
|
|
6309
|
-
'
|
|
6309
|
+
'translationurl'
|
|
6310
6310
|
];
|
|
6311
6311
|
|
|
6312
6312
|
Object_1$1.keys($$props).forEach(key => {
|
|
@@ -6329,7 +6329,7 @@
|
|
|
6329
6329
|
if ('lang' in $$props) $$invalidate(8, lang = $$props.lang);
|
|
6330
6330
|
if ('clientstyling' in $$props) $$invalidate(9, clientstyling = $$props.clientstyling);
|
|
6331
6331
|
if ('clientstylingurl' in $$props) $$invalidate(10, clientstylingurl = $$props.clientstylingurl);
|
|
6332
|
-
if ('
|
|
6332
|
+
if ('translationurl' in $$props) $$invalidate(11, translationurl = $$props.translationurl);
|
|
6333
6333
|
};
|
|
6334
6334
|
|
|
6335
6335
|
$$self.$capture_state = () => ({
|
|
@@ -6342,7 +6342,7 @@
|
|
|
6342
6342
|
lang,
|
|
6343
6343
|
clientstyling,
|
|
6344
6344
|
clientstylingurl,
|
|
6345
|
-
|
|
6345
|
+
translationurl,
|
|
6346
6346
|
providers,
|
|
6347
6347
|
topProviders,
|
|
6348
6348
|
otherProviders,
|
|
@@ -6363,7 +6363,7 @@
|
|
|
6363
6363
|
if ('lang' in $$props) $$invalidate(8, lang = $$props.lang);
|
|
6364
6364
|
if ('clientstyling' in $$props) $$invalidate(9, clientstyling = $$props.clientstyling);
|
|
6365
6365
|
if ('clientstylingurl' in $$props) $$invalidate(10, clientstylingurl = $$props.clientstylingurl);
|
|
6366
|
-
if ('
|
|
6366
|
+
if ('translationurl' in $$props) $$invalidate(11, translationurl = $$props.translationurl);
|
|
6367
6367
|
if ('providers' in $$props) providers = $$props.providers;
|
|
6368
6368
|
if ('topProviders' in $$props) $$invalidate(1, topProviders = $$props.topProviders);
|
|
6369
6369
|
if ('otherProviders' in $$props) $$invalidate(2, otherProviders = $$props.otherProviders);
|
|
@@ -6384,8 +6384,8 @@
|
|
|
6384
6384
|
lang && setActiveLanguage();
|
|
6385
6385
|
}
|
|
6386
6386
|
|
|
6387
|
-
if ($$self.$$.dirty & /*
|
|
6388
|
-
|
|
6387
|
+
if ($$self.$$.dirty & /*translationurl*/ 2048) {
|
|
6388
|
+
translationurl && setTranslationUrl();
|
|
6389
6389
|
}
|
|
6390
6390
|
|
|
6391
6391
|
if ($$self.$$.dirty & /*clientstyling, customStylingContainer*/ 513) {
|
|
@@ -6409,7 +6409,7 @@
|
|
|
6409
6409
|
lang,
|
|
6410
6410
|
clientstyling,
|
|
6411
6411
|
clientstylingurl,
|
|
6412
|
-
|
|
6412
|
+
translationurl,
|
|
6413
6413
|
click_handler,
|
|
6414
6414
|
click_handler_1,
|
|
6415
6415
|
div_binding
|
|
@@ -6437,7 +6437,7 @@
|
|
|
6437
6437
|
lang: 8,
|
|
6438
6438
|
clientstyling: 9,
|
|
6439
6439
|
clientstylingurl: 10,
|
|
6440
|
-
|
|
6440
|
+
translationurl: 11
|
|
6441
6441
|
},
|
|
6442
6442
|
null
|
|
6443
6443
|
);
|
|
@@ -6461,7 +6461,7 @@
|
|
|
6461
6461
|
"lang",
|
|
6462
6462
|
"clientstyling",
|
|
6463
6463
|
"clientstylingurl",
|
|
6464
|
-
"
|
|
6464
|
+
"translationurl"
|
|
6465
6465
|
];
|
|
6466
6466
|
}
|
|
6467
6467
|
|
|
@@ -6510,12 +6510,12 @@
|
|
|
6510
6510
|
flush();
|
|
6511
6511
|
}
|
|
6512
6512
|
|
|
6513
|
-
get
|
|
6513
|
+
get translationurl() {
|
|
6514
6514
|
return this.$$.ctx[11];
|
|
6515
6515
|
}
|
|
6516
6516
|
|
|
6517
|
-
set
|
|
6518
|
-
this.$$set({
|
|
6517
|
+
set translationurl(translationurl) {
|
|
6518
|
+
this.$$set({ translationurl });
|
|
6519
6519
|
flush();
|
|
6520
6520
|
}
|
|
6521
6521
|
}
|
|
@@ -6742,13 +6742,13 @@
|
|
|
6742
6742
|
let { lang = 'en' } = $$props;
|
|
6743
6743
|
let { clientstyling = '' } = $$props;
|
|
6744
6744
|
let { clientstylingurl = '' } = $$props;
|
|
6745
|
-
let {
|
|
6745
|
+
let { translationurl = '' } = $$props;
|
|
6746
6746
|
let activeTab = 'categories';
|
|
6747
6747
|
let customStylingContainer;
|
|
6748
6748
|
let displayNone = false;
|
|
6749
6749
|
|
|
6750
6750
|
const setTranslationUrl = () => {
|
|
6751
|
-
let url =
|
|
6751
|
+
let url = translationurl;
|
|
6752
6752
|
|
|
6753
6753
|
fetch(url).then(res => res.json()).then(res => {
|
|
6754
6754
|
Object.keys(res).forEach(item => {
|
|
@@ -6812,7 +6812,7 @@
|
|
|
6812
6812
|
'lang',
|
|
6813
6813
|
'clientstyling',
|
|
6814
6814
|
'clientstylingurl',
|
|
6815
|
-
'
|
|
6815
|
+
'translationurl'
|
|
6816
6816
|
];
|
|
6817
6817
|
|
|
6818
6818
|
Object_1.keys($$props).forEach(key => {
|
|
@@ -6839,7 +6839,7 @@
|
|
|
6839
6839
|
if ('lang' in $$props) $$invalidate(6, lang = $$props.lang);
|
|
6840
6840
|
if ('clientstyling' in $$props) $$invalidate(7, clientstyling = $$props.clientstyling);
|
|
6841
6841
|
if ('clientstylingurl' in $$props) $$invalidate(8, clientstylingurl = $$props.clientstylingurl);
|
|
6842
|
-
if ('
|
|
6842
|
+
if ('translationurl' in $$props) $$invalidate(13, translationurl = $$props.translationurl);
|
|
6843
6843
|
};
|
|
6844
6844
|
|
|
6845
6845
|
$$self.$capture_state = () => ({
|
|
@@ -6856,7 +6856,7 @@
|
|
|
6856
6856
|
lang,
|
|
6857
6857
|
clientstyling,
|
|
6858
6858
|
clientstylingurl,
|
|
6859
|
-
|
|
6859
|
+
translationurl,
|
|
6860
6860
|
activeTab,
|
|
6861
6861
|
customStylingContainer,
|
|
6862
6862
|
displayNone,
|
|
@@ -6878,7 +6878,7 @@
|
|
|
6878
6878
|
if ('lang' in $$props) $$invalidate(6, lang = $$props.lang);
|
|
6879
6879
|
if ('clientstyling' in $$props) $$invalidate(7, clientstyling = $$props.clientstyling);
|
|
6880
6880
|
if ('clientstylingurl' in $$props) $$invalidate(8, clientstylingurl = $$props.clientstylingurl);
|
|
6881
|
-
if ('
|
|
6881
|
+
if ('translationurl' in $$props) $$invalidate(13, translationurl = $$props.translationurl);
|
|
6882
6882
|
if ('activeTab' in $$props) $$invalidate(10, activeTab = $$props.activeTab);
|
|
6883
6883
|
if ('customStylingContainer' in $$props) $$invalidate(9, customStylingContainer = $$props.customStylingContainer);
|
|
6884
6884
|
if ('displayNone' in $$props) displayNone = $$props.displayNone;
|
|
@@ -6889,8 +6889,8 @@
|
|
|
6889
6889
|
}
|
|
6890
6890
|
|
|
6891
6891
|
$$self.$$.update = () => {
|
|
6892
|
-
if ($$self.$$.dirty & /*
|
|
6893
|
-
|
|
6892
|
+
if ($$self.$$.dirty & /*translationurl*/ 8192) {
|
|
6893
|
+
translationurl && setTranslationUrl();
|
|
6894
6894
|
}
|
|
6895
6895
|
|
|
6896
6896
|
if ($$self.$$.dirty & /*lang*/ 64) {
|
|
@@ -6920,7 +6920,7 @@
|
|
|
6920
6920
|
activeTab,
|
|
6921
6921
|
$_,
|
|
6922
6922
|
toggleTab,
|
|
6923
|
-
|
|
6923
|
+
translationurl,
|
|
6924
6924
|
click_handler,
|
|
6925
6925
|
click_handler_1,
|
|
6926
6926
|
div4_binding
|
|
@@ -6952,7 +6952,7 @@
|
|
|
6952
6952
|
lang: 6,
|
|
6953
6953
|
clientstyling: 7,
|
|
6954
6954
|
clientstylingurl: 8,
|
|
6955
|
-
|
|
6955
|
+
translationurl: 13
|
|
6956
6956
|
},
|
|
6957
6957
|
null
|
|
6958
6958
|
);
|
|
@@ -6980,7 +6980,7 @@
|
|
|
6980
6980
|
"lang",
|
|
6981
6981
|
"clientstyling",
|
|
6982
6982
|
"clientstylingurl",
|
|
6983
|
-
"
|
|
6983
|
+
"translationurl"
|
|
6984
6984
|
];
|
|
6985
6985
|
}
|
|
6986
6986
|
|
|
@@ -7065,12 +7065,12 @@
|
|
|
7065
7065
|
flush();
|
|
7066
7066
|
}
|
|
7067
7067
|
|
|
7068
|
-
get
|
|
7068
|
+
get translationurl() {
|
|
7069
7069
|
return this.$$.ctx[13];
|
|
7070
7070
|
}
|
|
7071
7071
|
|
|
7072
|
-
set
|
|
7073
|
-
this.$$set({
|
|
7072
|
+
set translationurl(translationurl) {
|
|
7073
|
+
this.$$set({ translationurl });
|
|
7074
7074
|
flush();
|
|
7075
7075
|
}
|
|
7076
7076
|
}
|