@everymatrix/casino-game-thumbnail 0.0.93 → 0.0.97
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.
|
@@ -4458,23 +4458,23 @@
|
|
|
4458
4458
|
const GameThumbnailTranslations = {
|
|
4459
4459
|
en: {
|
|
4460
4460
|
gameThumbnail: {
|
|
4461
|
-
playNow: '
|
|
4461
|
+
playNow: 'Start now!',
|
|
4462
4462
|
new: 'NEW',
|
|
4463
|
-
hot: '
|
|
4463
|
+
hot: 'Hot'
|
|
4464
4464
|
}
|
|
4465
4465
|
},
|
|
4466
4466
|
de: {
|
|
4467
4467
|
gameThumbnail: {
|
|
4468
|
-
playNow: 'Jetzt
|
|
4468
|
+
playNow: 'Jetzt starten!',
|
|
4469
4469
|
new: 'NEU',
|
|
4470
|
-
hot: '
|
|
4470
|
+
hot: 'Hot'
|
|
4471
4471
|
}
|
|
4472
4472
|
},
|
|
4473
4473
|
it: {
|
|
4474
4474
|
gameThumbnail: {
|
|
4475
|
-
playNow: '
|
|
4476
|
-
new: '
|
|
4477
|
-
hot: '
|
|
4475
|
+
playNow: 'Inizia ora!',
|
|
4476
|
+
new: 'NOVITÀ',
|
|
4477
|
+
hot: 'HOT'
|
|
4478
4478
|
}
|
|
4479
4479
|
},
|
|
4480
4480
|
fr: {
|
|
@@ -4511,15 +4511,57 @@
|
|
|
4511
4511
|
new: 'NOU',
|
|
4512
4512
|
hot: 'POPULAR'
|
|
4513
4513
|
}
|
|
4514
|
+
},
|
|
4515
|
+
hr: {
|
|
4516
|
+
gameThumbnail: {
|
|
4517
|
+
playNow: 'Započnite sada!',
|
|
4518
|
+
new: 'NOVO',
|
|
4519
|
+
hot: 'Vruće'
|
|
4520
|
+
}
|
|
4521
|
+
},
|
|
4522
|
+
hu: {
|
|
4523
|
+
gameThumbnail: {
|
|
4524
|
+
playNow: 'Játsszon most!',
|
|
4525
|
+
new: 'ÚJ',
|
|
4526
|
+
hot: 'Hot'
|
|
4527
|
+
}
|
|
4528
|
+
},
|
|
4529
|
+
pl: {
|
|
4530
|
+
gameThumbnail: {
|
|
4531
|
+
playNow: 'Rozpocznij teraz!',
|
|
4532
|
+
new: 'NOWOŚĆ',
|
|
4533
|
+
hot: 'Hot'
|
|
4534
|
+
}
|
|
4535
|
+
},
|
|
4536
|
+
pt: {
|
|
4537
|
+
gameThumbnail: {
|
|
4538
|
+
playNow: 'Comece agora!',
|
|
4539
|
+
new: 'NOVO',
|
|
4540
|
+
hot: 'Hot'
|
|
4541
|
+
}
|
|
4542
|
+
},
|
|
4543
|
+
sl: {
|
|
4544
|
+
gameThumbnail: {
|
|
4545
|
+
playNow: 'Začnite zdaj!',
|
|
4546
|
+
new: 'NOVO',
|
|
4547
|
+
hot: 'Vroče'
|
|
4548
|
+
}
|
|
4549
|
+
},
|
|
4550
|
+
sr: {
|
|
4551
|
+
gameThumbnail: {
|
|
4552
|
+
playNow: 'Započnite sada!',
|
|
4553
|
+
new: 'NOVO',
|
|
4554
|
+
hot: 'Vruće'
|
|
4555
|
+
}
|
|
4514
4556
|
}
|
|
4515
4557
|
};
|
|
4516
4558
|
|
|
4517
4559
|
/* src/CasinoGameThumbnail.svelte generated by Svelte v3.37.0 */
|
|
4518
4560
|
|
|
4519
|
-
const { Object: Object_1
|
|
4561
|
+
const { Object: Object_1 } = globals;
|
|
4520
4562
|
const file = "src/CasinoGameThumbnail.svelte";
|
|
4521
4563
|
|
|
4522
|
-
// (
|
|
4564
|
+
// (142:8) {#if fav}
|
|
4523
4565
|
function create_if_block_5(ctx) {
|
|
4524
4566
|
let show_if = !isMobile(/*userAgent*/ ctx[16]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[9];
|
|
4525
4567
|
let if_block_anchor;
|
|
@@ -4560,14 +4602,14 @@
|
|
|
4560
4602
|
block,
|
|
4561
4603
|
id: create_if_block_5.name,
|
|
4562
4604
|
type: "if",
|
|
4563
|
-
source: "(
|
|
4605
|
+
source: "(142:8) {#if fav}",
|
|
4564
4606
|
ctx
|
|
4565
4607
|
});
|
|
4566
4608
|
|
|
4567
4609
|
return block;
|
|
4568
4610
|
}
|
|
4569
4611
|
|
|
4570
|
-
// (
|
|
4612
|
+
// (143:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
|
4571
4613
|
function create_if_block_6(ctx) {
|
|
4572
4614
|
let div;
|
|
4573
4615
|
let svg;
|
|
@@ -4581,8 +4623,8 @@
|
|
|
4581
4623
|
svg = svg_element("svg");
|
|
4582
4624
|
path = svg_element("path");
|
|
4583
4625
|
set_style(path, "fill", "white");
|
|
4584
|
-
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
|
|
4585
|
-
add_location(path, file,
|
|
4626
|
+
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");
|
|
4627
|
+
add_location(path, file, 145, 112, 5027);
|
|
4586
4628
|
attr_dev(svg, "version", "1.1");
|
|
4587
4629
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
4588
4630
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -4592,9 +4634,9 @@
|
|
|
4592
4634
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
4593
4635
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
4594
4636
|
attr_dev(svg, "xml:space", "preserve");
|
|
4595
|
-
add_location(svg, file,
|
|
4637
|
+
add_location(svg, file, 144, 14, 4778);
|
|
4596
4638
|
attr_dev(div, "class", "FavIconContainer");
|
|
4597
|
-
add_location(div, file,
|
|
4639
|
+
add_location(div, file, 143, 12, 4687);
|
|
4598
4640
|
},
|
|
4599
4641
|
m: function mount(target, anchor) {
|
|
4600
4642
|
insert_dev(target, div, anchor);
|
|
@@ -4618,14 +4660,14 @@
|
|
|
4618
4660
|
block,
|
|
4619
4661
|
id: create_if_block_6.name,
|
|
4620
4662
|
type: "if",
|
|
4621
|
-
source: "(
|
|
4663
|
+
source: "(143:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
|
|
4622
4664
|
ctx
|
|
4623
4665
|
});
|
|
4624
4666
|
|
|
4625
4667
|
return block;
|
|
4626
4668
|
}
|
|
4627
4669
|
|
|
4628
|
-
// (
|
|
4670
|
+
// (171:77)
|
|
4629
4671
|
function create_if_block_4(ctx) {
|
|
4630
4672
|
let div;
|
|
4631
4673
|
let svg;
|
|
@@ -4638,16 +4680,16 @@
|
|
|
4638
4680
|
path = svg_element("path");
|
|
4639
4681
|
set_style(path, "fill", "white");
|
|
4640
4682
|
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");
|
|
4641
|
-
add_location(path, file,
|
|
4683
|
+
add_location(path, file, 173, 10, 7509);
|
|
4642
4684
|
attr_dev(svg, "version", "1.1");
|
|
4643
4685
|
attr_dev(svg, "class", "FavoredIcon");
|
|
4644
4686
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
4645
4687
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
4646
4688
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
4647
4689
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
4648
|
-
add_location(svg, file,
|
|
4690
|
+
add_location(svg, file, 172, 8, 7311);
|
|
4649
4691
|
attr_dev(div, "class", "FavIconContainer");
|
|
4650
|
-
add_location(div, file,
|
|
4692
|
+
add_location(div, file, 171, 6, 7272);
|
|
4651
4693
|
},
|
|
4652
4694
|
m: function mount(target, anchor) {
|
|
4653
4695
|
insert_dev(target, div, anchor);
|
|
@@ -4664,14 +4706,14 @@
|
|
|
4664
4706
|
block,
|
|
4665
4707
|
id: create_if_block_4.name,
|
|
4666
4708
|
type: "if",
|
|
4667
|
-
source: "(
|
|
4709
|
+
source: "(171:77) ",
|
|
4668
4710
|
ctx
|
|
4669
4711
|
});
|
|
4670
4712
|
|
|
4671
4713
|
return block;
|
|
4672
4714
|
}
|
|
4673
4715
|
|
|
4674
|
-
// (
|
|
4716
|
+
// (165:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
4675
4717
|
function create_if_block_3(ctx) {
|
|
4676
4718
|
let div;
|
|
4677
4719
|
let svg;
|
|
@@ -4686,16 +4728,16 @@
|
|
|
4686
4728
|
path = svg_element("path");
|
|
4687
4729
|
set_style(path, "fill", "white");
|
|
4688
4730
|
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");
|
|
4689
|
-
add_location(path, file,
|
|
4731
|
+
add_location(path, file, 167, 10, 6821);
|
|
4690
4732
|
attr_dev(svg, "version", "1.1");
|
|
4691
4733
|
attr_dev(svg, "class", "FavoredIcon");
|
|
4692
4734
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
4693
4735
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
4694
4736
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
4695
4737
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
4696
|
-
add_location(svg, file,
|
|
4738
|
+
add_location(svg, file, 166, 8, 6623);
|
|
4697
4739
|
attr_dev(div, "class", "FavIconContainer");
|
|
4698
|
-
add_location(div, file,
|
|
4740
|
+
add_location(div, file, 165, 6, 6538);
|
|
4699
4741
|
},
|
|
4700
4742
|
m: function mount(target, anchor) {
|
|
4701
4743
|
insert_dev(target, div, anchor);
|
|
@@ -4719,14 +4761,14 @@
|
|
|
4719
4761
|
block,
|
|
4720
4762
|
id: create_if_block_3.name,
|
|
4721
4763
|
type: "if",
|
|
4722
|
-
source: "(
|
|
4764
|
+
source: "(165:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
|
|
4723
4765
|
ctx
|
|
4724
4766
|
});
|
|
4725
4767
|
|
|
4726
4768
|
return block;
|
|
4727
4769
|
}
|
|
4728
4770
|
|
|
4729
|
-
// (
|
|
4771
|
+
// (179:6) {#if gameisnew}
|
|
4730
4772
|
function create_if_block_2(ctx) {
|
|
4731
4773
|
let span;
|
|
4732
4774
|
let t_value = /*$_*/ ctx[15]("gameThumbnail.new") + "";
|
|
@@ -4737,7 +4779,7 @@
|
|
|
4737
4779
|
span = element("span");
|
|
4738
4780
|
t = text(t_value);
|
|
4739
4781
|
attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
|
|
4740
|
-
add_location(span, file,
|
|
4782
|
+
add_location(span, file, 179, 8, 7948);
|
|
4741
4783
|
},
|
|
4742
4784
|
m: function mount(target, anchor) {
|
|
4743
4785
|
insert_dev(target, span, anchor);
|
|
@@ -4755,14 +4797,14 @@
|
|
|
4755
4797
|
block,
|
|
4756
4798
|
id: create_if_block_2.name,
|
|
4757
4799
|
type: "if",
|
|
4758
|
-
source: "(
|
|
4800
|
+
source: "(179:6) {#if gameisnew}",
|
|
4759
4801
|
ctx
|
|
4760
4802
|
});
|
|
4761
4803
|
|
|
4762
4804
|
return block;
|
|
4763
4805
|
}
|
|
4764
4806
|
|
|
4765
|
-
// (
|
|
4807
|
+
// (182:6) {#if (parseInt(gamepopularity) > 0)}
|
|
4766
4808
|
function create_if_block_1(ctx) {
|
|
4767
4809
|
let span;
|
|
4768
4810
|
let t_value = /*$_*/ ctx[15]("gameThumbnail.hot") + "";
|
|
@@ -4773,7 +4815,7 @@
|
|
|
4773
4815
|
span = element("span");
|
|
4774
4816
|
t = text(t_value);
|
|
4775
4817
|
attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
|
|
4776
|
-
add_location(span, file,
|
|
4818
|
+
add_location(span, file, 182, 8, 8088);
|
|
4777
4819
|
},
|
|
4778
4820
|
m: function mount(target, anchor) {
|
|
4779
4821
|
insert_dev(target, span, anchor);
|
|
@@ -4791,14 +4833,14 @@
|
|
|
4791
4833
|
block,
|
|
4792
4834
|
id: create_if_block_1.name,
|
|
4793
4835
|
type: "if",
|
|
4794
|
-
source: "(
|
|
4836
|
+
source: "(182:6) {#if (parseInt(gamepopularity) > 0)}",
|
|
4795
4837
|
ctx
|
|
4796
4838
|
});
|
|
4797
4839
|
|
|
4798
4840
|
return block;
|
|
4799
4841
|
}
|
|
4800
4842
|
|
|
4801
|
-
// (
|
|
4843
|
+
// (187:2) {#if showgamename}
|
|
4802
4844
|
function create_if_block(ctx) {
|
|
4803
4845
|
let p;
|
|
4804
4846
|
let t;
|
|
@@ -4809,7 +4851,7 @@
|
|
|
4809
4851
|
t = text(/*gamename*/ ctx[3]);
|
|
4810
4852
|
attr_dev(p, "class", "GameNameBelow");
|
|
4811
4853
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
4812
|
-
add_location(p, file,
|
|
4854
|
+
add_location(p, file, 187, 4, 8226);
|
|
4813
4855
|
},
|
|
4814
4856
|
m: function mount(target, anchor) {
|
|
4815
4857
|
insert_dev(target, p, anchor);
|
|
@@ -4831,7 +4873,7 @@
|
|
|
4831
4873
|
block,
|
|
4832
4874
|
id: create_if_block.name,
|
|
4833
4875
|
type: "if",
|
|
4834
|
-
source: "(
|
|
4876
|
+
source: "(187:2) {#if showgamename}",
|
|
4835
4877
|
ctx
|
|
4836
4878
|
});
|
|
4837
4879
|
|
|
@@ -4839,6 +4881,7 @@
|
|
|
4839
4881
|
}
|
|
4840
4882
|
|
|
4841
4883
|
function create_fragment(ctx) {
|
|
4884
|
+
let div4;
|
|
4842
4885
|
let div3;
|
|
4843
4886
|
let img;
|
|
4844
4887
|
let img_src_value;
|
|
@@ -4866,7 +4909,6 @@
|
|
|
4866
4909
|
let t9;
|
|
4867
4910
|
let show_if = parseInt(/*gamepopularity*/ ctx[7]) > 0;
|
|
4868
4911
|
let t10;
|
|
4869
|
-
let if_block4_anchor;
|
|
4870
4912
|
let mounted;
|
|
4871
4913
|
let dispose;
|
|
4872
4914
|
let if_block0 = /*fav*/ ctx[14] && create_if_block_5(ctx);
|
|
@@ -4886,6 +4928,7 @@
|
|
|
4886
4928
|
|
|
4887
4929
|
const block = {
|
|
4888
4930
|
c: function create() {
|
|
4931
|
+
div4 = element("div");
|
|
4889
4932
|
div3 = element("div");
|
|
4890
4933
|
img = element("img");
|
|
4891
4934
|
t0 = space();
|
|
@@ -4910,34 +4953,35 @@
|
|
|
4910
4953
|
if (if_block3) if_block3.c();
|
|
4911
4954
|
t10 = space();
|
|
4912
4955
|
if (if_block4) if_block4.c();
|
|
4913
|
-
if_block4_anchor = empty();
|
|
4914
4956
|
this.c = noop$1;
|
|
4915
4957
|
if (img.src !== (img_src_value = /*gamethumbnail*/ ctx[2])) attr_dev(img, "src", img_src_value);
|
|
4916
4958
|
attr_dev(img, "class", img_class_value = "GameBg " + (/*hover*/ ctx[10] ? "GameContainerHovered" : "") + " " + (/*loaded*/ ctx[11] ? "Loaded" : ""));
|
|
4917
4959
|
attr_dev(img, "alt", "game thumbnail");
|
|
4918
4960
|
attr_dev(img, "loading", "lazy");
|
|
4919
|
-
add_location(img, file,
|
|
4961
|
+
add_location(img, file, 138, 4, 4276);
|
|
4920
4962
|
attr_dev(p, "class", "GameInfoName");
|
|
4921
4963
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
4922
|
-
add_location(p, file,
|
|
4964
|
+
add_location(p, file, 157, 8, 6167);
|
|
4923
4965
|
attr_dev(button, "class", "GameInfoBtn");
|
|
4924
|
-
add_location(button, file,
|
|
4966
|
+
add_location(button, file, 158, 8, 6233);
|
|
4925
4967
|
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[10] ? "GameHovered" : ""));
|
|
4926
|
-
add_location(div0, file,
|
|
4968
|
+
add_location(div0, file, 140, 6, 4537);
|
|
4927
4969
|
attr_dev(span, "class", "GameInfoVendor");
|
|
4928
|
-
add_location(span, file,
|
|
4970
|
+
add_location(span, file, 160, 6, 6362);
|
|
4929
4971
|
attr_dev(div1, "class", "GameInfoWrapper");
|
|
4930
|
-
add_location(div1, file,
|
|
4972
|
+
add_location(div1, file, 139, 4, 4441);
|
|
4931
4973
|
attr_dev(div2, "class", "GameExtraInfo");
|
|
4932
|
-
add_location(div2, file,
|
|
4974
|
+
add_location(div2, file, 177, 4, 7890);
|
|
4933
4975
|
attr_dev(div3, "class", "GameContainer");
|
|
4934
|
-
add_location(div3, file,
|
|
4976
|
+
add_location(div3, file, 137, 2, 4136);
|
|
4977
|
+
add_location(div4, file, 136, 0, 4093);
|
|
4935
4978
|
},
|
|
4936
4979
|
l: function claim(nodes) {
|
|
4937
4980
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
4938
4981
|
},
|
|
4939
4982
|
m: function mount(target, anchor) {
|
|
4940
|
-
insert_dev(target,
|
|
4983
|
+
insert_dev(target, div4, anchor);
|
|
4984
|
+
append_dev(div4, div3);
|
|
4941
4985
|
append_dev(div3, img);
|
|
4942
4986
|
/*img_binding*/ ctx[34](img);
|
|
4943
4987
|
append_dev(div3, t0);
|
|
@@ -4960,10 +5004,9 @@
|
|
|
4960
5004
|
if (if_block2) if_block2.m(div2, null);
|
|
4961
5005
|
append_dev(div2, t9);
|
|
4962
5006
|
if (if_block3) if_block3.m(div2, null);
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
insert_dev(target, if_block4_anchor, anchor);
|
|
5007
|
+
append_dev(div4, t10);
|
|
5008
|
+
if (if_block4) if_block4.m(div4, null);
|
|
5009
|
+
/*div4_binding*/ ctx[40](div4);
|
|
4967
5010
|
|
|
4968
5011
|
if (!mounted) {
|
|
4969
5012
|
dispose = [
|
|
@@ -5061,7 +5104,7 @@
|
|
|
5061
5104
|
} else {
|
|
5062
5105
|
if_block4 = create_if_block(ctx);
|
|
5063
5106
|
if_block4.c();
|
|
5064
|
-
if_block4.m(
|
|
5107
|
+
if_block4.m(div4, null);
|
|
5065
5108
|
}
|
|
5066
5109
|
} else if (if_block4) {
|
|
5067
5110
|
if_block4.d(1);
|
|
@@ -5071,7 +5114,7 @@
|
|
|
5071
5114
|
i: noop$1,
|
|
5072
5115
|
o: noop$1,
|
|
5073
5116
|
d: function destroy(detaching) {
|
|
5074
|
-
if (detaching) detach_dev(
|
|
5117
|
+
if (detaching) detach_dev(div4);
|
|
5075
5118
|
/*img_binding*/ ctx[34](null);
|
|
5076
5119
|
if (if_block0) if_block0.d();
|
|
5077
5120
|
|
|
@@ -5081,10 +5124,8 @@
|
|
|
5081
5124
|
|
|
5082
5125
|
if (if_block2) if_block2.d();
|
|
5083
5126
|
if (if_block3) if_block3.d();
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
if (if_block4) if_block4.d(detaching);
|
|
5087
|
-
if (detaching) detach_dev(if_block4_anchor);
|
|
5127
|
+
if (if_block4) if_block4.d();
|
|
5128
|
+
/*div4_binding*/ ctx[40](null);
|
|
5088
5129
|
mounted = false;
|
|
5089
5130
|
run_all(dispose);
|
|
5090
5131
|
}
|
|
@@ -5232,20 +5273,6 @@
|
|
|
5232
5273
|
$$invalidate(9, isLoggedIn = true);
|
|
5233
5274
|
sessionID = session;
|
|
5234
5275
|
playerID = userid;
|
|
5235
|
-
|
|
5236
|
-
if (endpoint) {
|
|
5237
|
-
checkSession(endpoint, session).then(
|
|
5238
|
-
res => {
|
|
5239
|
-
sessionID = res.data.Guid;
|
|
5240
|
-
playerID = res.data.UserID;
|
|
5241
|
-
$$invalidate(9, isLoggedIn = true);
|
|
5242
|
-
},
|
|
5243
|
-
err => {
|
|
5244
|
-
$$invalidate(9, isLoggedIn = false);
|
|
5245
|
-
console.error("err on session", err);
|
|
5246
|
-
}
|
|
5247
|
-
);
|
|
5248
|
-
}
|
|
5249
5276
|
};
|
|
5250
5277
|
|
|
5251
5278
|
const setOnLoad = () => {
|
|
@@ -5279,19 +5306,14 @@
|
|
|
5279
5306
|
|
|
5280
5307
|
const setClientStylingURL = () => {
|
|
5281
5308
|
let cssFile = document.createElement("style");
|
|
5282
|
-
cssFile.innerHTML = `@import ${clientstylingurl}`;
|
|
5283
5309
|
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
cssFile.innerHTML = data;
|
|
5310
|
+
fetch(new URL(clientstylingurl)).then(res => res.text()).then(data => {
|
|
5311
|
+
cssFile.innerHTML = data;
|
|
5287
5312
|
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
customStylingContainer.appendChild(cssFile);
|
|
5291
|
-
});
|
|
5292
|
-
}
|
|
5313
|
+
setTimeout(() => {
|
|
5314
|
+
customStylingContainer.appendChild(cssFile);
|
|
5293
5315
|
});
|
|
5294
|
-
}
|
|
5316
|
+
});
|
|
5295
5317
|
};
|
|
5296
5318
|
|
|
5297
5319
|
onMount(() => {
|
|
@@ -5324,7 +5346,7 @@
|
|
|
5324
5346
|
];
|
|
5325
5347
|
|
|
5326
5348
|
Object_1.keys($$props).forEach(key => {
|
|
5327
|
-
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$")
|
|
5349
|
+
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
5328
5350
|
});
|
|
5329
5351
|
|
|
5330
5352
|
function img_binding($$value) {
|
|
@@ -5340,7 +5362,7 @@
|
|
|
5340
5362
|
const mouseleave_handler = () => leave();
|
|
5341
5363
|
const click_handler_2 = () => toggleFavoriteGame(gameid);
|
|
5342
5364
|
|
|
5343
|
-
function
|
|
5365
|
+
function div4_binding($$value) {
|
|
5344
5366
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
5345
5367
|
customStylingContainer = $$value;
|
|
5346
5368
|
$$invalidate(13, customStylingContainer);
|
|
@@ -5519,7 +5541,7 @@
|
|
|
5519
5541
|
mouseenter_handler,
|
|
5520
5542
|
mouseleave_handler,
|
|
5521
5543
|
click_handler_2,
|
|
5522
|
-
|
|
5544
|
+
div4_binding
|
|
5523
5545
|
];
|
|
5524
5546
|
}
|
|
5525
5547
|
|