@everymatrix/casino-random-game 0.0.260 → 0.0.261
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.
|
@@ -4492,7 +4492,7 @@
|
|
|
4492
4492
|
return child_ctx;
|
|
4493
4493
|
}
|
|
4494
4494
|
|
|
4495
|
-
// (
|
|
4495
|
+
// (67:4) {#if show}
|
|
4496
4496
|
function create_if_block(ctx) {
|
|
4497
4497
|
let div1;
|
|
4498
4498
|
let div0;
|
|
@@ -4523,25 +4523,25 @@
|
|
|
4523
4523
|
attr_dev(path, "stroke-linejoin", "round");
|
|
4524
4524
|
attr_dev(path, "stroke-width", "2");
|
|
4525
4525
|
attr_dev(path, "d", "M6 18L18 6M6 6l12 12");
|
|
4526
|
-
add_location(path, file,
|
|
4526
|
+
add_location(path, file, 71, 122, 2314);
|
|
4527
4527
|
attr_dev(svg, "class", "w-6 h-6");
|
|
4528
4528
|
attr_dev(svg, "fill", "none");
|
|
4529
4529
|
attr_dev(svg, "stroke", "currentColor");
|
|
4530
4530
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
4531
4531
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
4532
|
-
add_location(svg, file,
|
|
4532
|
+
add_location(svg, file, 71, 12, 2204);
|
|
4533
4533
|
attr_dev(slot, "name", "close");
|
|
4534
|
-
add_location(slot, file,
|
|
4534
|
+
add_location(slot, file, 70, 10, 2172);
|
|
4535
4535
|
attr_dev(span, "class", "ModalCloseBtn");
|
|
4536
4536
|
attr_dev(span, "part", "ModalCloseBtn");
|
|
4537
4537
|
attr_dev(span, "role", "button");
|
|
4538
|
-
add_location(span, file,
|
|
4538
|
+
add_location(span, file, 69, 8, 2076);
|
|
4539
4539
|
attr_dev(div0, "class", "ModalContainer");
|
|
4540
4540
|
attr_dev(div0, "part", "ModalContainer");
|
|
4541
|
-
add_location(div0, file,
|
|
4541
|
+
add_location(div0, file, 68, 6, 2016);
|
|
4542
4542
|
attr_dev(div1, "class", "ModalWindow");
|
|
4543
4543
|
attr_dev(div1, "part", "ModalWindow");
|
|
4544
|
-
add_location(div1, file,
|
|
4544
|
+
add_location(div1, file, 67, 4, 1965);
|
|
4545
4545
|
},
|
|
4546
4546
|
m: function mount(target, anchor) {
|
|
4547
4547
|
insert_dev(target, div1, anchor);
|
|
@@ -4600,14 +4600,14 @@
|
|
|
4600
4600
|
block,
|
|
4601
4601
|
id: create_if_block.name,
|
|
4602
4602
|
type: "if",
|
|
4603
|
-
source: "(
|
|
4603
|
+
source: "(67:4) {#if show}",
|
|
4604
4604
|
ctx
|
|
4605
4605
|
});
|
|
4606
4606
|
|
|
4607
4607
|
return block;
|
|
4608
4608
|
}
|
|
4609
4609
|
|
|
4610
|
-
// (
|
|
4610
|
+
// (76:8) {#if !slotDone}
|
|
4611
4611
|
function create_if_block_2(ctx) {
|
|
4612
4612
|
let div1;
|
|
4613
4613
|
let main;
|
|
@@ -4640,16 +4640,16 @@
|
|
|
4640
4640
|
attr_dev(div0, "class", "items");
|
|
4641
4641
|
attr_dev(div0, "part", "items");
|
|
4642
4642
|
set_style(div0, "transform", "translateY(" + /*offset*/ ctx[3] + "px)");
|
|
4643
|
-
add_location(div0, file,
|
|
4643
|
+
add_location(div0, file, 78, 14, 2647);
|
|
4644
4644
|
attr_dev(main, "class", "RandomGamesSliderWrapper");
|
|
4645
4645
|
attr_dev(main, "part", "RandomGamesSliderWrapper");
|
|
4646
|
-
add_location(main, file,
|
|
4646
|
+
add_location(main, file, 77, 12, 2561);
|
|
4647
4647
|
attr_dev(p, "class", "RandomGameLoading");
|
|
4648
4648
|
attr_dev(p, "part", "RandomGameLoading");
|
|
4649
|
-
add_location(p, file,
|
|
4649
|
+
add_location(p, file, 86, 12, 3051);
|
|
4650
4650
|
attr_dev(div1, "class", "RandomGameWrapper");
|
|
4651
4651
|
attr_dev(div1, "part", "RandomGameWrapper");
|
|
4652
|
-
add_location(div1, file,
|
|
4652
|
+
add_location(div1, file, 76, 10, 2492);
|
|
4653
4653
|
},
|
|
4654
4654
|
m: function mount(target, anchor) {
|
|
4655
4655
|
insert_dev(target, div1, anchor);
|
|
@@ -4705,14 +4705,14 @@
|
|
|
4705
4705
|
block,
|
|
4706
4706
|
id: create_if_block_2.name,
|
|
4707
4707
|
type: "if",
|
|
4708
|
-
source: "(
|
|
4708
|
+
source: "(76:8) {#if !slotDone}",
|
|
4709
4709
|
ctx
|
|
4710
4710
|
});
|
|
4711
4711
|
|
|
4712
4712
|
return block;
|
|
4713
4713
|
}
|
|
4714
4714
|
|
|
4715
|
-
// (
|
|
4715
|
+
// (80:16) {#each gamesToShow as game, i}
|
|
4716
4716
|
function create_each_block(ctx) {
|
|
4717
4717
|
let div;
|
|
4718
4718
|
let img;
|
|
@@ -4731,10 +4731,10 @@
|
|
|
4731
4731
|
if (img.src !== (img_src_value = /*game*/ ctx[21].thumbnail)) attr_dev(img, "src", img_src_value);
|
|
4732
4732
|
attr_dev(img, "alt", img_alt_value = /*game*/ ctx[21].name);
|
|
4733
4733
|
attr_dev(img, "title", img_title_value = /*game*/ ctx[21].name);
|
|
4734
|
-
add_location(img, file,
|
|
4734
|
+
add_location(img, file, 81, 20, 2840);
|
|
4735
4735
|
attr_dev(div, "class", "item");
|
|
4736
4736
|
attr_dev(div, "part", "item");
|
|
4737
|
-
add_location(div, file,
|
|
4737
|
+
add_location(div, file, 80, 18, 2789);
|
|
4738
4738
|
},
|
|
4739
4739
|
m: function mount(target, anchor) {
|
|
4740
4740
|
insert_dev(target, div, anchor);
|
|
@@ -4763,14 +4763,14 @@
|
|
|
4763
4763
|
block,
|
|
4764
4764
|
id: create_each_block.name,
|
|
4765
4765
|
type: "each",
|
|
4766
|
-
source: "(
|
|
4766
|
+
source: "(80:16) {#each gamesToShow as game, i}",
|
|
4767
4767
|
ctx
|
|
4768
4768
|
});
|
|
4769
4769
|
|
|
4770
4770
|
return block;
|
|
4771
4771
|
}
|
|
4772
4772
|
|
|
4773
|
-
// (
|
|
4773
|
+
// (91:8) {#if slotDone}
|
|
4774
4774
|
function create_if_block_1(ctx) {
|
|
4775
4775
|
let div2;
|
|
4776
4776
|
let div0;
|
|
@@ -4826,12 +4826,12 @@
|
|
|
4826
4826
|
if (img.src !== (img_src_value = /*randomGame*/ ctx[0].thumbnail)) attr_dev(img, "src", img_src_value);
|
|
4827
4827
|
attr_dev(img, "alt", img_alt_value = /*randomGame*/ ctx[0].name);
|
|
4828
4828
|
attr_dev(img, "title", img_title_value = /*randomGame*/ ctx[0].name);
|
|
4829
|
-
add_location(img, file,
|
|
4829
|
+
add_location(img, file, 93, 14, 3325);
|
|
4830
4830
|
attr_dev(style, "type", "text/css");
|
|
4831
|
-
add_location(style, file,
|
|
4831
|
+
add_location(style, file, 96, 18, 3800);
|
|
4832
4832
|
attr_dev(path, "class", "st0");
|
|
4833
4833
|
attr_dev(path, "d", "M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z");
|
|
4834
|
-
add_location(path, file,
|
|
4834
|
+
add_location(path, file, 99, 18, 3937);
|
|
4835
4835
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
4836
4836
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
4837
4837
|
attr_dev(svg, "version", "1.1");
|
|
@@ -4841,28 +4841,28 @@
|
|
|
4841
4841
|
attr_dev(svg, "viewBox", "0 0 200 200");
|
|
4842
4842
|
set_style(svg, "enable-background", "new 0 0 200 200");
|
|
4843
4843
|
attr_dev(svg, "xml:space", "preserve");
|
|
4844
|
-
add_location(svg, file,
|
|
4844
|
+
add_location(svg, file, 95, 16, 3569);
|
|
4845
4845
|
attr_dev(button0, "class", "RandomTryAgain");
|
|
4846
4846
|
attr_dev(button0, "part", "RandomTryAgain");
|
|
4847
|
-
add_location(button0, file,
|
|
4847
|
+
add_location(button0, file, 94, 14, 3466);
|
|
4848
4848
|
attr_dev(div0, "class", "item");
|
|
4849
4849
|
attr_dev(div0, "part", "item");
|
|
4850
|
-
add_location(div0, file,
|
|
4850
|
+
add_location(div0, file, 92, 12, 3280);
|
|
4851
4851
|
attr_dev(p0, "class", "RandomGameTitle");
|
|
4852
4852
|
attr_dev(p0, "part", "RandomGameTitle");
|
|
4853
|
-
add_location(p0, file,
|
|
4853
|
+
add_location(p0, file, 104, 14, 4845);
|
|
4854
4854
|
attr_dev(p1, "class", "RandomGameVendor");
|
|
4855
4855
|
attr_dev(p1, "part", "RandomGameVendor");
|
|
4856
|
-
add_location(p1, file,
|
|
4856
|
+
add_location(p1, file, 105, 14, 4931);
|
|
4857
4857
|
attr_dev(button1, "class", "RandomGamePlay");
|
|
4858
4858
|
attr_dev(button1, "part", "RandomGamePlay");
|
|
4859
|
-
add_location(button1, file,
|
|
4859
|
+
add_location(button1, file, 106, 14, 5026);
|
|
4860
4860
|
attr_dev(div1, "class", "RandomGameDetails");
|
|
4861
4861
|
attr_dev(div1, "part", "RandomGameDetails");
|
|
4862
|
-
add_location(div1, file,
|
|
4862
|
+
add_location(div1, file, 103, 12, 4774);
|
|
4863
4863
|
attr_dev(div2, "class", "RandomGameWrapper");
|
|
4864
4864
|
attr_dev(div2, "part", "RandomGameWrapper");
|
|
4865
|
-
add_location(div2, file,
|
|
4865
|
+
add_location(div2, file, 91, 10, 3211);
|
|
4866
4866
|
},
|
|
4867
4867
|
m: function mount(target, anchor) {
|
|
4868
4868
|
insert_dev(target, div2, anchor);
|
|
@@ -4922,7 +4922,7 @@
|
|
|
4922
4922
|
block,
|
|
4923
4923
|
id: create_if_block_1.name,
|
|
4924
4924
|
type: "if",
|
|
4925
|
-
source: "(
|
|
4925
|
+
source: "(91:8) {#if slotDone}",
|
|
4926
4926
|
ctx
|
|
4927
4927
|
});
|
|
4928
4928
|
|
|
@@ -4965,12 +4965,12 @@
|
|
|
4965
4965
|
t3 = text(".st0{fill-rule:evenodd;clip-rule:evenodd;fill:var(--emfe-w-color-white, #FFFFFF);;}\n ");
|
|
4966
4966
|
path = svg_element("path");
|
|
4967
4967
|
this.c = noop$1;
|
|
4968
|
-
add_location(span0, file,
|
|
4968
|
+
add_location(span0, file, 116, 8, 5400);
|
|
4969
4969
|
attr_dev(style, "type", "text/css");
|
|
4970
|
-
add_location(style, file,
|
|
4970
|
+
add_location(style, file, 119, 12, 5697);
|
|
4971
4971
|
attr_dev(path, "class", "st0");
|
|
4972
4972
|
attr_dev(path, "d", "M161,16.7c-2.7,0-5.5,0.5-8.1,1.6l-44.2,18.3C98.1,41,93,53.2,97.4,63.8l18.3,44.2 c4.4,10.6,16.6,15.7,27.2,11.3l44.2-18.3c10.6-4.4,15.7-16.6,11.3-27.2l-18.3-44.2C176.8,21.6,169.1,16.7,161,16.7L161,16.7z M161,25c4.9,0,9.4,2.9,11.4,7.8l18.3,44.2c2.7,6.5-0.3,13.7-6.8,16.3l-44.2,18.3c-6.5,2.7-13.7-0.3-16.3-6.8l-18.3-44.2 c-2.7-6.5,0.3-13.7,6.8-16.3L156.1,26C157.7,25.3,159.4,25,161,25L161,25z M127.1,54.2c-1.7,0-3.2,0.7-4.4,1.8 c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4 C130.3,54.8,128.7,54.2,127.1,54.2z M147.9,62.5c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4 c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C151.2,63.2,149.6,62.5,147.9,62.5z M168.8,70.8 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.4s0.7,3.2,1.8,4.4c1.2,1.2,2.8,1.8,4.4,1.8s3.2-0.7,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.4s-0.7-3.2-1.8-4.4C172,71.5,170.4,70.8,168.8,70.8L168.8,70.8z M39,79.2c-8.1,0.1-15.8,4.9-19.1,12.9 L1.6,136.2c-4.4,10.6,0.7,22.8,11.3,27.2l44.2,18.3c10.6,4.4,22.8-0.7,27.2-11.3l18.3-44.2c4.4-10.6-0.7-22.8-11.3-27.2L47.1,80.8 C44.5,79.7,41.7,79.1,39,79.2L39,79.2z M39,87.5c1.6,0,3.3,0.3,4.9,1l44.2,18.3c6.5,2.7,9.4,9.9,6.8,16.3l-18.3,44.2 c-2.7,6.5-9.9,9.4-16.3,6.8l-44.2-18.3c-6.5-2.7-9.4-9.9-6.8-16.3l18.3-44.2C29.6,90.4,34.1,87.5,39,87.5L39,87.5z M44.7,99.4 c-1.7,0-3.2,0.7-4.4,1.8c-1.2,1.2-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.8 c1.2-1.2,1.8-2.8,1.8-4.4c0-1.7-0.7-3.2-1.8-4.4C62.8,151.3,61.2,150.6,59.5,150.6z");
|
|
4973
|
-
add_location(path, file,
|
|
4973
|
+
add_location(path, file, 122, 12, 5852);
|
|
4974
4974
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
4975
4975
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
4976
4976
|
attr_dev(svg, "version", "1.1");
|
|
@@ -4980,17 +4980,17 @@
|
|
|
4980
4980
|
attr_dev(svg, "viewBox", "0 0 200 200");
|
|
4981
4981
|
set_style(svg, "enable-background", "new 0 0 200 200");
|
|
4982
4982
|
attr_dev(svg, "xml:space", "preserve");
|
|
4983
|
-
add_location(svg, file,
|
|
4984
|
-
add_location(span1, file,
|
|
4983
|
+
add_location(svg, file, 118, 10, 5472);
|
|
4984
|
+
add_location(span1, file, 117, 8, 5455);
|
|
4985
4985
|
attr_dev(button, "class", "RandomButton");
|
|
4986
4986
|
attr_dev(button, "part", "RandomButton");
|
|
4987
|
-
add_location(button, file,
|
|
4987
|
+
add_location(button, file, 115, 6, 5309);
|
|
4988
4988
|
attr_dev(div0, "class", "RandomButtonWrapper");
|
|
4989
4989
|
attr_dev(div0, "part", "RandomButtonWrapper");
|
|
4990
|
-
add_location(div0, file,
|
|
4991
|
-
add_location(div1, file,
|
|
4990
|
+
add_location(div0, file, 114, 4, 5242);
|
|
4991
|
+
add_location(div1, file, 65, 2, 1940);
|
|
4992
4992
|
attr_dev(div2, "part", "CustomStylingContainer");
|
|
4993
|
-
add_location(div2, file,
|
|
4993
|
+
add_location(div2, file, 64, 0, 1902);
|
|
4994
4994
|
},
|
|
4995
4995
|
l: function claim(nodes) {
|
|
4996
4996
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -5113,6 +5113,7 @@
|
|
|
5113
5113
|
url.searchParams.append("datasource", datasource);
|
|
5114
5114
|
url.searchParams.append("fields", "gId,href,thumbnail,name,vendor");
|
|
5115
5115
|
url.searchParams.append("expand", "vendor");
|
|
5116
|
+
url.searchParams.append("pagination", "offset=0,limit=1000");
|
|
5116
5117
|
|
|
5117
5118
|
fetch(url.href).then(res => res.json()).then(data => {
|
|
5118
5119
|
games = data.items;
|