@everymatrix/casino-integrated-game-page 0.0.282 → 0.0.283
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.
|
@@ -10399,13 +10399,13 @@
|
|
|
10399
10399
|
const { Object: Object_1, console: console_1 } = globals;
|
|
10400
10400
|
const file = "src/CasinoIntegratedGamePage.svelte";
|
|
10401
10401
|
|
|
10402
|
-
// (
|
|
10402
|
+
// (320:2) {:else}
|
|
10403
10403
|
function create_else_block(ctx) {
|
|
10404
10404
|
let div;
|
|
10405
10405
|
|
|
10406
10406
|
function select_block_type_1(ctx, dirty) {
|
|
10407
10407
|
if (/*isLoggedIn*/ ctx[4]) return create_if_block_2;
|
|
10408
|
-
if (/*funMode*/ ctx[
|
|
10408
|
+
if (/*funMode*/ ctx[10]) return create_if_block_6;
|
|
10409
10409
|
}
|
|
10410
10410
|
|
|
10411
10411
|
let current_block_type = select_block_type_1(ctx);
|
|
@@ -10417,12 +10417,12 @@
|
|
|
10417
10417
|
if (if_block) if_block.c();
|
|
10418
10418
|
attr_dev(div, "class", "CasinoIntegratedGamePage");
|
|
10419
10419
|
attr_dev(div, "part", "CasinoIntegratedGamePage");
|
|
10420
|
-
add_location(div, file,
|
|
10420
|
+
add_location(div, file, 320, 4, 11630);
|
|
10421
10421
|
},
|
|
10422
10422
|
m: function mount(target, anchor) {
|
|
10423
10423
|
insert_dev(target, div, anchor);
|
|
10424
10424
|
if (if_block) if_block.m(div, null);
|
|
10425
|
-
/*div_binding*/ ctx[
|
|
10425
|
+
/*div_binding*/ ctx[67](div);
|
|
10426
10426
|
},
|
|
10427
10427
|
p: function update(ctx, dirty) {
|
|
10428
10428
|
if (current_block_type === (current_block_type = select_block_type_1(ctx)) && if_block) {
|
|
@@ -10444,7 +10444,7 @@
|
|
|
10444
10444
|
if_block.d();
|
|
10445
10445
|
}
|
|
10446
10446
|
|
|
10447
|
-
/*div_binding*/ ctx[
|
|
10447
|
+
/*div_binding*/ ctx[67](null);
|
|
10448
10448
|
}
|
|
10449
10449
|
};
|
|
10450
10450
|
|
|
@@ -10452,14 +10452,14 @@
|
|
|
10452
10452
|
block,
|
|
10453
10453
|
id: create_else_block.name,
|
|
10454
10454
|
type: "else",
|
|
10455
|
-
source: "(
|
|
10455
|
+
source: "(320:2) {:else}",
|
|
10456
10456
|
ctx
|
|
10457
10457
|
});
|
|
10458
10458
|
|
|
10459
10459
|
return block;
|
|
10460
10460
|
}
|
|
10461
10461
|
|
|
10462
|
-
// (
|
|
10462
|
+
// (318:2) {#if hasErrors}
|
|
10463
10463
|
function create_if_block_1(ctx) {
|
|
10464
10464
|
let p;
|
|
10465
10465
|
|
|
@@ -10469,7 +10469,7 @@
|
|
|
10469
10469
|
p.textContent = "500 Error - Internal Server Error.";
|
|
10470
10470
|
attr_dev(p, "class", "SearchLoading");
|
|
10471
10471
|
attr_dev(p, "part", "SearchLoading");
|
|
10472
|
-
add_location(p, file,
|
|
10472
|
+
add_location(p, file, 318, 4, 11531);
|
|
10473
10473
|
},
|
|
10474
10474
|
m: function mount(target, anchor) {
|
|
10475
10475
|
insert_dev(target, p, anchor);
|
|
@@ -10484,14 +10484,14 @@
|
|
|
10484
10484
|
block,
|
|
10485
10485
|
id: create_if_block_1.name,
|
|
10486
10486
|
type: "if",
|
|
10487
|
-
source: "(
|
|
10487
|
+
source: "(318:2) {#if hasErrors}",
|
|
10488
10488
|
ctx
|
|
10489
10489
|
});
|
|
10490
10490
|
|
|
10491
10491
|
return block;
|
|
10492
10492
|
}
|
|
10493
10493
|
|
|
10494
|
-
// (
|
|
10494
|
+
// (315:0) {#if isLoading}
|
|
10495
10495
|
function create_if_block(ctx) {
|
|
10496
10496
|
let p;
|
|
10497
10497
|
|
|
@@ -10501,7 +10501,7 @@
|
|
|
10501
10501
|
p.textContent = "Loading, please wait ...";
|
|
10502
10502
|
attr_dev(p, "class", "SearchLoading");
|
|
10503
10503
|
attr_dev(p, "part", "SearchLoading");
|
|
10504
|
-
add_location(p, file,
|
|
10504
|
+
add_location(p, file, 315, 2, 11426);
|
|
10505
10505
|
},
|
|
10506
10506
|
m: function mount(target, anchor) {
|
|
10507
10507
|
insert_dev(target, p, anchor);
|
|
@@ -10516,14 +10516,14 @@
|
|
|
10516
10516
|
block,
|
|
10517
10517
|
id: create_if_block.name,
|
|
10518
10518
|
type: "if",
|
|
10519
|
-
source: "(
|
|
10519
|
+
source: "(315:0) {#if isLoading}",
|
|
10520
10520
|
ctx
|
|
10521
10521
|
});
|
|
10522
10522
|
|
|
10523
10523
|
return block;
|
|
10524
10524
|
}
|
|
10525
10525
|
|
|
10526
|
-
// (
|
|
10526
|
+
// (359:8) {#if funMode}
|
|
10527
10527
|
function create_if_block_6(ctx) {
|
|
10528
10528
|
let div1;
|
|
10529
10529
|
let button0;
|
|
@@ -10547,11 +10547,11 @@
|
|
|
10547
10547
|
let div3;
|
|
10548
10548
|
let div2;
|
|
10549
10549
|
let button1;
|
|
10550
|
-
let t6_value = /*$_*/ ctx[
|
|
10550
|
+
let t6_value = /*$_*/ ctx[22]("gamePage.signIn") + "";
|
|
10551
10551
|
let t6;
|
|
10552
10552
|
let t7;
|
|
10553
10553
|
let button2;
|
|
10554
|
-
let t8_value = /*$_*/ ctx[
|
|
10554
|
+
let t8_value = /*$_*/ ctx[22]("gamePage.register") + "";
|
|
10555
10555
|
let t8;
|
|
10556
10556
|
let t9;
|
|
10557
10557
|
let t10;
|
|
@@ -10559,13 +10559,13 @@
|
|
|
10559
10559
|
let dispose;
|
|
10560
10560
|
|
|
10561
10561
|
function select_block_type_3(ctx, dirty) {
|
|
10562
|
-
if (/*isFullscreen*/ ctx[
|
|
10562
|
+
if (/*isFullscreen*/ ctx[16]) return create_if_block_8;
|
|
10563
10563
|
return create_else_block_2;
|
|
10564
10564
|
}
|
|
10565
10565
|
|
|
10566
10566
|
let current_block_type = select_block_type_3(ctx);
|
|
10567
10567
|
let if_block0 = current_block_type(ctx);
|
|
10568
|
-
let if_block1 = /*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[
|
|
10568
|
+
let if_block1 = /*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[16] && create_if_block_7(ctx);
|
|
10569
10569
|
|
|
10570
10570
|
const block = {
|
|
10571
10571
|
c: function create() {
|
|
@@ -10598,72 +10598,72 @@
|
|
|
10598
10598
|
if_block0.c();
|
|
10599
10599
|
t10 = space();
|
|
10600
10600
|
if (if_block1) if_block1.c();
|
|
10601
|
-
add_location(style, file,
|
|
10602
|
-
add_location(defs, file,
|
|
10601
|
+
add_location(style, file, 361, 80, 15925);
|
|
10602
|
+
add_location(defs, file, 361, 74, 15919);
|
|
10603
10603
|
attr_dev(path, "class", "a");
|
|
10604
10604
|
attr_dev(path, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z");
|
|
10605
10605
|
attr_dev(path, "transform", "translate(24 24) rotate(180)");
|
|
10606
|
-
add_location(path, file,
|
|
10606
|
+
add_location(path, file, 361, 148, 15993);
|
|
10607
10607
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10608
10608
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
10609
|
-
add_location(svg, file,
|
|
10609
|
+
add_location(svg, file, 361, 14, 15859);
|
|
10610
10610
|
attr_dev(button0, "class", "backButton");
|
|
10611
10611
|
attr_dev(button0, "part", "backButton");
|
|
10612
|
-
add_location(button0, file,
|
|
10613
|
-
add_location(span, file,
|
|
10612
|
+
add_location(button0, file, 360, 12, 15767);
|
|
10613
|
+
add_location(span, file, 363, 66, 16217);
|
|
10614
10614
|
attr_dev(p, "class", "Time");
|
|
10615
10615
|
attr_dev(p, "part", "Time");
|
|
10616
|
-
add_location(p, file,
|
|
10617
|
-
add_location(div0, file,
|
|
10616
|
+
add_location(p, file, 363, 12, 16163);
|
|
10617
|
+
add_location(div0, file, 364, 12, 16253);
|
|
10618
10618
|
attr_dev(div1, "class", "GamePageIntegratedTopSection");
|
|
10619
10619
|
attr_dev(div1, "part", "GamePageIntegratedTopSection");
|
|
10620
|
-
add_location(div1, file,
|
|
10620
|
+
add_location(div1, file, 359, 10, 15676);
|
|
10621
10621
|
attr_dev(iframe_1, "title", "Games");
|
|
10622
10622
|
attr_dev(iframe_1, "class", "GamesContainer");
|
|
10623
10623
|
attr_dev(iframe_1, "part", "GamesContainer");
|
|
10624
10624
|
attr_dev(iframe_1, "aria-hidden", "false");
|
|
10625
|
-
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[
|
|
10626
|
-
add_location(iframe_1, file,
|
|
10625
|
+
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[9].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
|
10626
|
+
add_location(iframe_1, file, 368, 14, 16942);
|
|
10627
10627
|
attr_dev(button1, "class", "LoginButton");
|
|
10628
10628
|
attr_dev(button1, "part", "LoginButton");
|
|
10629
|
-
add_location(button1, file,
|
|
10629
|
+
add_location(button1, file, 371, 18, 17294);
|
|
10630
10630
|
attr_dev(button2, "class", "RegisterButton");
|
|
10631
10631
|
attr_dev(button2, "part", "RegisterButton");
|
|
10632
|
-
add_location(button2, file,
|
|
10632
|
+
add_location(button2, file, 372, 18, 17423);
|
|
10633
10633
|
attr_dev(div2, "class", "ButtonsContainer ButtonsContainerFunMode");
|
|
10634
10634
|
attr_dev(div2, "part", "ButtonsContainer ButtonsContainerFunMode");
|
|
10635
|
-
add_location(div2, file,
|
|
10635
|
+
add_location(div2, file, 370, 16, 17173);
|
|
10636
10636
|
attr_dev(div3, "class", "BottomGame");
|
|
10637
10637
|
attr_dev(div3, "part", "BottomGame");
|
|
10638
|
-
add_location(div3, file,
|
|
10638
|
+
add_location(div3, file, 369, 14, 17085);
|
|
10639
10639
|
attr_dev(div4, "id", "IframeGame");
|
|
10640
10640
|
attr_dev(div4, "part", "IframeGame");
|
|
10641
10641
|
|
|
10642
|
-
set_style(div4, "width", /*isFullscreen*/ ctx[
|
|
10642
|
+
set_style(div4, "width", /*isFullscreen*/ ctx[16]
|
|
10643
10643
|
? "100%"
|
|
10644
|
-
: /*definitiveIframeWidth*/ ctx[
|
|
10644
|
+
: /*definitiveIframeWidth*/ ctx[17]);
|
|
10645
10645
|
|
|
10646
|
-
set_style(div4, "height", /*isFullscreen*/ ctx[
|
|
10646
|
+
set_style(div4, "height", /*isFullscreen*/ ctx[16]
|
|
10647
10647
|
? "100%"
|
|
10648
|
-
: /*definitiveIframeHeight*/ ctx[
|
|
10648
|
+
: /*definitiveIframeHeight*/ ctx[18]);
|
|
10649
10649
|
|
|
10650
|
-
set_style(div4, "max-width", /*isFullscreen*/ ctx[
|
|
10650
|
+
set_style(div4, "max-width", /*isFullscreen*/ ctx[16] || !/*isModal*/ ctx[11]
|
|
10651
10651
|
? "none"
|
|
10652
|
-
: /*game*/ ctx[
|
|
10653
|
-
? Math.floor(/*game*/ ctx[
|
|
10652
|
+
: /*game*/ ctx[9].width
|
|
10653
|
+
? Math.floor(/*game*/ ctx[9].width) + "px"
|
|
10654
10654
|
: "1280px");
|
|
10655
10655
|
|
|
10656
|
-
set_style(div4, "max-height", /*isFullscreen*/ ctx[
|
|
10656
|
+
set_style(div4, "max-height", /*isFullscreen*/ ctx[16] || !/*isModal*/ ctx[11]
|
|
10657
10657
|
? "none"
|
|
10658
|
-
: /*game*/ ctx[
|
|
10659
|
-
? Math.floor(/*game*/ ctx[
|
|
10658
|
+
: /*game*/ ctx[9].height
|
|
10659
|
+
? Math.floor(/*game*/ ctx[9].height) + 100 + "px"
|
|
10660
10660
|
: "720px");
|
|
10661
10661
|
|
|
10662
|
-
add_location(div4, file,
|
|
10662
|
+
add_location(div4, file, 367, 12, 16514);
|
|
10663
10663
|
attr_dev(div5, "id", "IframeContainer");
|
|
10664
10664
|
attr_dev(div5, "part", "IframeContainer");
|
|
10665
|
-
toggle_class(div5, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
|
10666
|
-
add_location(div5, file,
|
|
10665
|
+
toggle_class(div5, "FullsScreenLayout", /*isFullscreen*/ ctx[16]);
|
|
10666
|
+
add_location(div5, file, 366, 10, 16382);
|
|
10667
10667
|
},
|
|
10668
10668
|
m: function mount(target, anchor) {
|
|
10669
10669
|
insert_dev(target, div1, anchor);
|
|
@@ -10677,14 +10677,14 @@
|
|
|
10677
10677
|
append_dev(div1, p);
|
|
10678
10678
|
append_dev(p, span);
|
|
10679
10679
|
append_dev(span, t2);
|
|
10680
|
-
/*p_binding_1*/ ctx[
|
|
10680
|
+
/*p_binding_1*/ ctx[58](p);
|
|
10681
10681
|
append_dev(div1, t3);
|
|
10682
10682
|
append_dev(div1, div0);
|
|
10683
10683
|
insert_dev(target, t4, anchor);
|
|
10684
10684
|
insert_dev(target, div5, anchor);
|
|
10685
10685
|
append_dev(div5, div4);
|
|
10686
10686
|
append_dev(div4, iframe_1);
|
|
10687
|
-
/*iframe_1_binding_1*/ ctx[
|
|
10687
|
+
/*iframe_1_binding_1*/ ctx[59](iframe_1);
|
|
10688
10688
|
append_dev(div4, t5);
|
|
10689
10689
|
append_dev(div4, div3);
|
|
10690
10690
|
append_dev(div3, div2);
|
|
@@ -10695,17 +10695,17 @@
|
|
|
10695
10695
|
append_dev(button2, t8);
|
|
10696
10696
|
append_dev(div3, t9);
|
|
10697
10697
|
if_block0.m(div3, null);
|
|
10698
|
-
/*div3_binding_1*/ ctx[
|
|
10699
|
-
/*div4_binding*/ ctx[
|
|
10698
|
+
/*div3_binding_1*/ ctx[64](div3);
|
|
10699
|
+
/*div4_binding*/ ctx[65](div4);
|
|
10700
10700
|
append_dev(div5, t10);
|
|
10701
10701
|
if (if_block1) if_block1.m(div5, null);
|
|
10702
|
-
/*div5_binding*/ ctx[
|
|
10702
|
+
/*div5_binding*/ ctx[66](div5);
|
|
10703
10703
|
|
|
10704
10704
|
if (!mounted) {
|
|
10705
10705
|
dispose = [
|
|
10706
|
-
listen_dev(button0, "click", /*click_handler_5*/ ctx[
|
|
10707
|
-
listen_dev(button1, "click", /*click_handler_6*/ ctx[
|
|
10708
|
-
listen_dev(button2, "click", /*click_handler_7*/ ctx[
|
|
10706
|
+
listen_dev(button0, "click", /*click_handler_5*/ ctx[57], false, false, false),
|
|
10707
|
+
listen_dev(button1, "click", /*click_handler_6*/ ctx[60], false, false, false),
|
|
10708
|
+
listen_dev(button2, "click", /*click_handler_7*/ ctx[61], false, false, false)
|
|
10709
10709
|
];
|
|
10710
10710
|
|
|
10711
10711
|
mounted = true;
|
|
@@ -10714,12 +10714,12 @@
|
|
|
10714
10714
|
p: function update(ctx, dirty) {
|
|
10715
10715
|
if (dirty[0] & /*time*/ 4) set_data_dev(t2, /*time*/ ctx[2]);
|
|
10716
10716
|
|
|
10717
|
-
if (dirty[0] & /*game*/
|
|
10717
|
+
if (dirty[0] & /*game*/ 512 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[9].launchUrl)) {
|
|
10718
10718
|
attr_dev(iframe_1, "src", iframe_1_src_value);
|
|
10719
10719
|
}
|
|
10720
10720
|
|
|
10721
|
-
if (dirty[0] & /*$_*/
|
|
10722
|
-
if (dirty[0] & /*$_*/
|
|
10721
|
+
if (dirty[0] & /*$_*/ 4194304 && t6_value !== (t6_value = /*$_*/ ctx[22]("gamePage.signIn") + "")) set_data_dev(t6, t6_value);
|
|
10722
|
+
if (dirty[0] & /*$_*/ 4194304 && t8_value !== (t8_value = /*$_*/ ctx[22]("gamePage.register") + "")) set_data_dev(t8, t8_value);
|
|
10723
10723
|
|
|
10724
10724
|
if (current_block_type === (current_block_type = select_block_type_3(ctx)) && if_block0) {
|
|
10725
10725
|
if_block0.p(ctx, dirty);
|
|
@@ -10733,35 +10733,35 @@
|
|
|
10733
10733
|
}
|
|
10734
10734
|
}
|
|
10735
10735
|
|
|
10736
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/
|
|
10737
|
-
set_style(div4, "width", /*isFullscreen*/ ctx[
|
|
10736
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 196608) {
|
|
10737
|
+
set_style(div4, "width", /*isFullscreen*/ ctx[16]
|
|
10738
10738
|
? "100%"
|
|
10739
|
-
: /*definitiveIframeWidth*/ ctx[
|
|
10739
|
+
: /*definitiveIframeWidth*/ ctx[17]);
|
|
10740
10740
|
}
|
|
10741
10741
|
|
|
10742
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/
|
|
10743
|
-
set_style(div4, "height", /*isFullscreen*/ ctx[
|
|
10742
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 327680) {
|
|
10743
|
+
set_style(div4, "height", /*isFullscreen*/ ctx[16]
|
|
10744
10744
|
? "100%"
|
|
10745
|
-
: /*definitiveIframeHeight*/ ctx[
|
|
10745
|
+
: /*definitiveIframeHeight*/ ctx[18]);
|
|
10746
10746
|
}
|
|
10747
10747
|
|
|
10748
|
-
if (dirty[0] & /*isFullscreen, isModal, game*/
|
|
10749
|
-
set_style(div4, "max-width", /*isFullscreen*/ ctx[
|
|
10748
|
+
if (dirty[0] & /*isFullscreen, isModal, game*/ 68096) {
|
|
10749
|
+
set_style(div4, "max-width", /*isFullscreen*/ ctx[16] || !/*isModal*/ ctx[11]
|
|
10750
10750
|
? "none"
|
|
10751
|
-
: /*game*/ ctx[
|
|
10752
|
-
? Math.floor(/*game*/ ctx[
|
|
10751
|
+
: /*game*/ ctx[9].width
|
|
10752
|
+
? Math.floor(/*game*/ ctx[9].width) + "px"
|
|
10753
10753
|
: "1280px");
|
|
10754
10754
|
}
|
|
10755
10755
|
|
|
10756
|
-
if (dirty[0] & /*isFullscreen, isModal, game*/
|
|
10757
|
-
set_style(div4, "max-height", /*isFullscreen*/ ctx[
|
|
10756
|
+
if (dirty[0] & /*isFullscreen, isModal, game*/ 68096) {
|
|
10757
|
+
set_style(div4, "max-height", /*isFullscreen*/ ctx[16] || !/*isModal*/ ctx[11]
|
|
10758
10758
|
? "none"
|
|
10759
|
-
: /*game*/ ctx[
|
|
10760
|
-
? Math.floor(/*game*/ ctx[
|
|
10759
|
+
: /*game*/ ctx[9].height
|
|
10760
|
+
? Math.floor(/*game*/ ctx[9].height) + 100 + "px"
|
|
10761
10761
|
: "720px");
|
|
10762
10762
|
}
|
|
10763
10763
|
|
|
10764
|
-
if (/*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[
|
|
10764
|
+
if (/*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[16]) {
|
|
10765
10765
|
if (if_block1) ; else {
|
|
10766
10766
|
if_block1 = create_if_block_7(ctx);
|
|
10767
10767
|
if_block1.c();
|
|
@@ -10772,21 +10772,21 @@
|
|
|
10772
10772
|
if_block1 = null;
|
|
10773
10773
|
}
|
|
10774
10774
|
|
|
10775
|
-
if (dirty[0] & /*isFullscreen*/
|
|
10776
|
-
toggle_class(div5, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
|
10775
|
+
if (dirty[0] & /*isFullscreen*/ 65536) {
|
|
10776
|
+
toggle_class(div5, "FullsScreenLayout", /*isFullscreen*/ ctx[16]);
|
|
10777
10777
|
}
|
|
10778
10778
|
},
|
|
10779
10779
|
d: function destroy(detaching) {
|
|
10780
10780
|
if (detaching) detach_dev(div1);
|
|
10781
|
-
/*p_binding_1*/ ctx[
|
|
10781
|
+
/*p_binding_1*/ ctx[58](null);
|
|
10782
10782
|
if (detaching) detach_dev(t4);
|
|
10783
10783
|
if (detaching) detach_dev(div5);
|
|
10784
|
-
/*iframe_1_binding_1*/ ctx[
|
|
10784
|
+
/*iframe_1_binding_1*/ ctx[59](null);
|
|
10785
10785
|
if_block0.d();
|
|
10786
|
-
/*div3_binding_1*/ ctx[
|
|
10787
|
-
/*div4_binding*/ ctx[
|
|
10786
|
+
/*div3_binding_1*/ ctx[64](null);
|
|
10787
|
+
/*div4_binding*/ ctx[65](null);
|
|
10788
10788
|
if (if_block1) if_block1.d();
|
|
10789
|
-
/*div5_binding*/ ctx[
|
|
10789
|
+
/*div5_binding*/ ctx[66](null);
|
|
10790
10790
|
mounted = false;
|
|
10791
10791
|
run_all(dispose);
|
|
10792
10792
|
}
|
|
@@ -10796,14 +10796,14 @@
|
|
|
10796
10796
|
block,
|
|
10797
10797
|
id: create_if_block_6.name,
|
|
10798
10798
|
type: "if",
|
|
10799
|
-
source: "(
|
|
10799
|
+
source: "(359:8) {#if funMode}",
|
|
10800
10800
|
ctx
|
|
10801
10801
|
});
|
|
10802
10802
|
|
|
10803
10803
|
return block;
|
|
10804
10804
|
}
|
|
10805
10805
|
|
|
10806
|
-
// (
|
|
10806
|
+
// (322:6) {#if isLoggedIn}
|
|
10807
10807
|
function create_if_block_2(ctx) {
|
|
10808
10808
|
let div0;
|
|
10809
10809
|
let button0;
|
|
@@ -10818,7 +10818,7 @@
|
|
|
10818
10818
|
let t2;
|
|
10819
10819
|
let t3;
|
|
10820
10820
|
let button1;
|
|
10821
|
-
let t4_value = /*$_*/ ctx[
|
|
10821
|
+
let t4_value = /*$_*/ ctx[22]("gamePage.deposit") + "";
|
|
10822
10822
|
let t4;
|
|
10823
10823
|
let t5;
|
|
10824
10824
|
let div3;
|
|
@@ -10836,13 +10836,13 @@
|
|
|
10836
10836
|
let if_block0 = /*haspanicbutton*/ ctx[0] === "true" && create_if_block_5(ctx);
|
|
10837
10837
|
|
|
10838
10838
|
function select_block_type_2(ctx, dirty) {
|
|
10839
|
-
if (/*isFullscreen*/ ctx[
|
|
10839
|
+
if (/*isFullscreen*/ ctx[16]) return create_if_block_4;
|
|
10840
10840
|
return create_else_block_1;
|
|
10841
10841
|
}
|
|
10842
10842
|
|
|
10843
10843
|
let current_block_type = select_block_type_2(ctx);
|
|
10844
10844
|
let if_block1 = current_block_type(ctx);
|
|
10845
|
-
let if_block2 = /*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[
|
|
10845
|
+
let if_block2 = /*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[16] && create_if_block_3(ctx);
|
|
10846
10846
|
|
|
10847
10847
|
const block = {
|
|
10848
10848
|
c: function create() {
|
|
@@ -10871,68 +10871,68 @@
|
|
|
10871
10871
|
if_block1.c();
|
|
10872
10872
|
t8 = space();
|
|
10873
10873
|
if (if_block2) if_block2.c();
|
|
10874
|
-
add_location(style, file,
|
|
10875
|
-
add_location(defs, file,
|
|
10874
|
+
add_location(style, file, 324, 78, 12012);
|
|
10875
|
+
add_location(defs, file, 324, 72, 12006);
|
|
10876
10876
|
attr_dev(path, "class", "a");
|
|
10877
10877
|
attr_dev(path, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z");
|
|
10878
10878
|
attr_dev(path, "transform", "translate(24 24) rotate(180)");
|
|
10879
|
-
add_location(path, file,
|
|
10879
|
+
add_location(path, file, 324, 143, 12077);
|
|
10880
10880
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10881
10881
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
10882
|
-
add_location(svg, file,
|
|
10882
|
+
add_location(svg, file, 324, 12, 11946);
|
|
10883
10883
|
attr_dev(button0, "class", "backButton");
|
|
10884
10884
|
attr_dev(button0, "part", "backButton");
|
|
10885
|
-
add_location(button0, file,
|
|
10886
|
-
add_location(span, file,
|
|
10885
|
+
add_location(button0, file, 323, 10, 11856);
|
|
10886
|
+
add_location(span, file, 326, 64, 12297);
|
|
10887
10887
|
attr_dev(p, "class", "Time");
|
|
10888
10888
|
attr_dev(p, "part", "Time");
|
|
10889
|
-
add_location(p, file,
|
|
10889
|
+
add_location(p, file, 326, 10, 12243);
|
|
10890
10890
|
attr_dev(button1, "class", "DepositButton");
|
|
10891
10891
|
attr_dev(button1, "part", "DepositButton");
|
|
10892
|
-
add_location(button1, file,
|
|
10892
|
+
add_location(button1, file, 327, 10, 12331);
|
|
10893
10893
|
attr_dev(div0, "class", "GamePageIntegratedTopSection");
|
|
10894
10894
|
attr_dev(div0, "part", "GamePageIntegratedTopSection");
|
|
10895
|
-
add_location(div0, file,
|
|
10895
|
+
add_location(div0, file, 322, 8, 11767);
|
|
10896
10896
|
attr_dev(iframe_1, "title", "Games");
|
|
10897
10897
|
attr_dev(iframe_1, "id", "IframeGame");
|
|
10898
10898
|
attr_dev(iframe_1, "class", "GamesContainer");
|
|
10899
10899
|
attr_dev(iframe_1, "part", "GamesContainer");
|
|
10900
10900
|
attr_dev(iframe_1, "aria-hidden", "false");
|
|
10901
|
-
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[
|
|
10902
|
-
attr_dev(iframe_1, "width", iframe_1_width_value = /*gameContainerWidth*/ ctx[
|
|
10903
|
-
attr_dev(iframe_1, "height", iframe_1_height_value = /*gameContainerHeight*/ ctx[
|
|
10904
|
-
add_location(iframe_1, file,
|
|
10901
|
+
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[9].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
|
10902
|
+
attr_dev(iframe_1, "width", iframe_1_width_value = /*gameContainerWidth*/ ctx[13] + "px");
|
|
10903
|
+
attr_dev(iframe_1, "height", iframe_1_height_value = /*gameContainerHeight*/ ctx[14] + "px");
|
|
10904
|
+
add_location(iframe_1, file, 331, 12, 12992);
|
|
10905
10905
|
attr_dev(div1, "class", "BottomGame BottomGameLoggedin");
|
|
10906
10906
|
attr_dev(div1, "part", "BottomGame BottomGameLoggedin");
|
|
10907
|
-
add_location(div1, file,
|
|
10907
|
+
add_location(div1, file, 332, 12, 13220);
|
|
10908
10908
|
attr_dev(div2, "id", "IframeGame");
|
|
10909
10909
|
attr_dev(div2, "part", "IframeGame");
|
|
10910
10910
|
|
|
10911
|
-
set_style(div2, "width", /*isFullscreen*/ ctx[
|
|
10911
|
+
set_style(div2, "width", /*isFullscreen*/ ctx[16]
|
|
10912
10912
|
? "100%"
|
|
10913
|
-
: /*definitiveIframeWidth*/ ctx[
|
|
10913
|
+
: /*definitiveIframeWidth*/ ctx[17]);
|
|
10914
10914
|
|
|
10915
|
-
set_style(div2, "height", /*isFullscreen*/ ctx[
|
|
10915
|
+
set_style(div2, "height", /*isFullscreen*/ ctx[16]
|
|
10916
10916
|
? "100%"
|
|
10917
|
-
: /*definitiveIframeHeight*/ ctx[
|
|
10917
|
+
: /*definitiveIframeHeight*/ ctx[18]);
|
|
10918
10918
|
|
|
10919
|
-
set_style(div2, "max-width", /*isFullscreen*/ ctx[
|
|
10919
|
+
set_style(div2, "max-width", /*isFullscreen*/ ctx[16]
|
|
10920
10920
|
? "none"
|
|
10921
|
-
: /*game*/ ctx[
|
|
10922
|
-
? /*game*/ ctx[
|
|
10921
|
+
: /*game*/ ctx[9].width
|
|
10922
|
+
? /*game*/ ctx[9].width + "px"
|
|
10923
10923
|
: "1280px");
|
|
10924
10924
|
|
|
10925
|
-
set_style(div2, "max-height", /*isFullscreen*/ ctx[
|
|
10925
|
+
set_style(div2, "max-height", /*isFullscreen*/ ctx[16]
|
|
10926
10926
|
? "none"
|
|
10927
|
-
: /*game*/ ctx[
|
|
10928
|
-
? Math.floor(/*game*/ ctx[
|
|
10927
|
+
: /*game*/ ctx[9].height
|
|
10928
|
+
? Math.floor(/*game*/ ctx[9].height) + 100 + "px"
|
|
10929
10929
|
: "720px");
|
|
10930
10930
|
|
|
10931
|
-
add_location(div2, file,
|
|
10931
|
+
add_location(div2, file, 330, 10, 12602);
|
|
10932
10932
|
attr_dev(div3, "id", "IframeContainer");
|
|
10933
10933
|
attr_dev(div3, "part", "IframeContainer");
|
|
10934
|
-
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
|
10935
|
-
add_location(div3, file,
|
|
10934
|
+
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[16]);
|
|
10935
|
+
add_location(div3, file, 329, 8, 12472);
|
|
10936
10936
|
},
|
|
10937
10937
|
m: function mount(target, anchor) {
|
|
10938
10938
|
insert_dev(target, div0, anchor);
|
|
@@ -10946,7 +10946,7 @@
|
|
|
10946
10946
|
append_dev(div0, p);
|
|
10947
10947
|
append_dev(p, span);
|
|
10948
10948
|
append_dev(span, t2);
|
|
10949
|
-
/*p_binding*/ ctx[
|
|
10949
|
+
/*p_binding*/ ctx[47](p);
|
|
10950
10950
|
append_dev(div0, t3);
|
|
10951
10951
|
append_dev(div0, button1);
|
|
10952
10952
|
append_dev(button1, t4);
|
|
@@ -10954,22 +10954,22 @@
|
|
|
10954
10954
|
insert_dev(target, div3, anchor);
|
|
10955
10955
|
append_dev(div3, div2);
|
|
10956
10956
|
append_dev(div2, iframe_1);
|
|
10957
|
-
/*iframe_1_binding*/ ctx[
|
|
10957
|
+
/*iframe_1_binding*/ ctx[49](iframe_1);
|
|
10958
10958
|
append_dev(div2, t6);
|
|
10959
10959
|
append_dev(div2, div1);
|
|
10960
10960
|
if (if_block0) if_block0.m(div1, null);
|
|
10961
10961
|
append_dev(div1, t7);
|
|
10962
10962
|
if_block1.m(div1, null);
|
|
10963
|
-
/*div1_binding*/ ctx[
|
|
10964
|
-
/*div2_binding*/ ctx[
|
|
10963
|
+
/*div1_binding*/ ctx[54](div1);
|
|
10964
|
+
/*div2_binding*/ ctx[55](div2);
|
|
10965
10965
|
append_dev(div3, t8);
|
|
10966
10966
|
if (if_block2) if_block2.m(div3, null);
|
|
10967
|
-
/*div3_binding*/ ctx[
|
|
10967
|
+
/*div3_binding*/ ctx[56](div3);
|
|
10968
10968
|
|
|
10969
10969
|
if (!mounted) {
|
|
10970
10970
|
dispose = [
|
|
10971
|
-
listen_dev(button0, "click", /*click_handler*/ ctx[
|
|
10972
|
-
listen_dev(button1, "click", /*click_handler_1*/ ctx[
|
|
10971
|
+
listen_dev(button0, "click", /*click_handler*/ ctx[46], false, false, false),
|
|
10972
|
+
listen_dev(button1, "click", /*click_handler_1*/ ctx[48], false, false, false)
|
|
10973
10973
|
];
|
|
10974
10974
|
|
|
10975
10975
|
mounted = true;
|
|
@@ -10977,17 +10977,17 @@
|
|
|
10977
10977
|
},
|
|
10978
10978
|
p: function update(ctx, dirty) {
|
|
10979
10979
|
if (dirty[0] & /*time*/ 4) set_data_dev(t2, /*time*/ ctx[2]);
|
|
10980
|
-
if (dirty[0] & /*$_*/
|
|
10980
|
+
if (dirty[0] & /*$_*/ 4194304 && t4_value !== (t4_value = /*$_*/ ctx[22]("gamePage.deposit") + "")) set_data_dev(t4, t4_value);
|
|
10981
10981
|
|
|
10982
|
-
if (dirty[0] & /*game*/
|
|
10982
|
+
if (dirty[0] & /*game*/ 512 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[9].launchUrl)) {
|
|
10983
10983
|
attr_dev(iframe_1, "src", iframe_1_src_value);
|
|
10984
10984
|
}
|
|
10985
10985
|
|
|
10986
|
-
if (dirty[0] & /*gameContainerWidth*/
|
|
10986
|
+
if (dirty[0] & /*gameContainerWidth*/ 8192 && iframe_1_width_value !== (iframe_1_width_value = /*gameContainerWidth*/ ctx[13] + "px")) {
|
|
10987
10987
|
attr_dev(iframe_1, "width", iframe_1_width_value);
|
|
10988
10988
|
}
|
|
10989
10989
|
|
|
10990
|
-
if (dirty[0] & /*gameContainerHeight*/
|
|
10990
|
+
if (dirty[0] & /*gameContainerHeight*/ 16384 && iframe_1_height_value !== (iframe_1_height_value = /*gameContainerHeight*/ ctx[14] + "px")) {
|
|
10991
10991
|
attr_dev(iframe_1, "height", iframe_1_height_value);
|
|
10992
10992
|
}
|
|
10993
10993
|
|
|
@@ -11016,35 +11016,35 @@
|
|
|
11016
11016
|
}
|
|
11017
11017
|
}
|
|
11018
11018
|
|
|
11019
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/
|
|
11020
|
-
set_style(div2, "width", /*isFullscreen*/ ctx[
|
|
11019
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 196608) {
|
|
11020
|
+
set_style(div2, "width", /*isFullscreen*/ ctx[16]
|
|
11021
11021
|
? "100%"
|
|
11022
|
-
: /*definitiveIframeWidth*/ ctx[
|
|
11022
|
+
: /*definitiveIframeWidth*/ ctx[17]);
|
|
11023
11023
|
}
|
|
11024
11024
|
|
|
11025
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/
|
|
11026
|
-
set_style(div2, "height", /*isFullscreen*/ ctx[
|
|
11025
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 327680) {
|
|
11026
|
+
set_style(div2, "height", /*isFullscreen*/ ctx[16]
|
|
11027
11027
|
? "100%"
|
|
11028
|
-
: /*definitiveIframeHeight*/ ctx[
|
|
11028
|
+
: /*definitiveIframeHeight*/ ctx[18]);
|
|
11029
11029
|
}
|
|
11030
11030
|
|
|
11031
|
-
if (dirty[0] & /*isFullscreen, game*/
|
|
11032
|
-
set_style(div2, "max-width", /*isFullscreen*/ ctx[
|
|
11031
|
+
if (dirty[0] & /*isFullscreen, game*/ 66048) {
|
|
11032
|
+
set_style(div2, "max-width", /*isFullscreen*/ ctx[16]
|
|
11033
11033
|
? "none"
|
|
11034
|
-
: /*game*/ ctx[
|
|
11035
|
-
? /*game*/ ctx[
|
|
11034
|
+
: /*game*/ ctx[9].width
|
|
11035
|
+
? /*game*/ ctx[9].width + "px"
|
|
11036
11036
|
: "1280px");
|
|
11037
11037
|
}
|
|
11038
11038
|
|
|
11039
|
-
if (dirty[0] & /*isFullscreen, game*/
|
|
11040
|
-
set_style(div2, "max-height", /*isFullscreen*/ ctx[
|
|
11039
|
+
if (dirty[0] & /*isFullscreen, game*/ 66048) {
|
|
11040
|
+
set_style(div2, "max-height", /*isFullscreen*/ ctx[16]
|
|
11041
11041
|
? "none"
|
|
11042
|
-
: /*game*/ ctx[
|
|
11043
|
-
? Math.floor(/*game*/ ctx[
|
|
11042
|
+
: /*game*/ ctx[9].height
|
|
11043
|
+
? Math.floor(/*game*/ ctx[9].height) + 100 + "px"
|
|
11044
11044
|
: "720px");
|
|
11045
11045
|
}
|
|
11046
11046
|
|
|
11047
|
-
if (/*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[
|
|
11047
|
+
if (/*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[16]) {
|
|
11048
11048
|
if (if_block2) ; else {
|
|
11049
11049
|
if_block2 = create_if_block_3(ctx);
|
|
11050
11050
|
if_block2.c();
|
|
@@ -11055,22 +11055,22 @@
|
|
|
11055
11055
|
if_block2 = null;
|
|
11056
11056
|
}
|
|
11057
11057
|
|
|
11058
|
-
if (dirty[0] & /*isFullscreen*/
|
|
11059
|
-
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
|
11058
|
+
if (dirty[0] & /*isFullscreen*/ 65536) {
|
|
11059
|
+
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[16]);
|
|
11060
11060
|
}
|
|
11061
11061
|
},
|
|
11062
11062
|
d: function destroy(detaching) {
|
|
11063
11063
|
if (detaching) detach_dev(div0);
|
|
11064
|
-
/*p_binding*/ ctx[
|
|
11064
|
+
/*p_binding*/ ctx[47](null);
|
|
11065
11065
|
if (detaching) detach_dev(t5);
|
|
11066
11066
|
if (detaching) detach_dev(div3);
|
|
11067
|
-
/*iframe_1_binding*/ ctx[
|
|
11067
|
+
/*iframe_1_binding*/ ctx[49](null);
|
|
11068
11068
|
if (if_block0) if_block0.d();
|
|
11069
11069
|
if_block1.d();
|
|
11070
|
-
/*div1_binding*/ ctx[
|
|
11071
|
-
/*div2_binding*/ ctx[
|
|
11070
|
+
/*div1_binding*/ ctx[54](null);
|
|
11071
|
+
/*div2_binding*/ ctx[55](null);
|
|
11072
11072
|
if (if_block2) if_block2.d();
|
|
11073
|
-
/*div3_binding*/ ctx[
|
|
11073
|
+
/*div3_binding*/ ctx[56](null);
|
|
11074
11074
|
mounted = false;
|
|
11075
11075
|
run_all(dispose);
|
|
11076
11076
|
}
|
|
@@ -11080,14 +11080,14 @@
|
|
|
11080
11080
|
block,
|
|
11081
11081
|
id: create_if_block_2.name,
|
|
11082
11082
|
type: "if",
|
|
11083
|
-
source: "(
|
|
11083
|
+
source: "(322:6) {#if isLoggedIn}",
|
|
11084
11084
|
ctx
|
|
11085
11085
|
});
|
|
11086
11086
|
|
|
11087
11087
|
return block;
|
|
11088
11088
|
}
|
|
11089
11089
|
|
|
11090
|
-
// (
|
|
11090
|
+
// (379:16) {:else}
|
|
11091
11091
|
function create_else_block_2(ctx) {
|
|
11092
11092
|
let button;
|
|
11093
11093
|
let svg;
|
|
@@ -11101,15 +11101,15 @@
|
|
|
11101
11101
|
svg = svg_element("svg");
|
|
11102
11102
|
path = svg_element("path");
|
|
11103
11103
|
attr_dev(path, "d", "M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z");
|
|
11104
|
-
add_location(path, file,
|
|
11104
|
+
add_location(path, file, 380, 103, 18485);
|
|
11105
11105
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11106
11106
|
attr_dev(svg, "width", "24");
|
|
11107
11107
|
attr_dev(svg, "height", "24");
|
|
11108
11108
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11109
|
-
add_location(svg, file,
|
|
11109
|
+
add_location(svg, file, 380, 20, 18402);
|
|
11110
11110
|
attr_dev(button, "class", "FullscreenButton");
|
|
11111
11111
|
attr_dev(button, "part", "FullscreenButton");
|
|
11112
|
-
add_location(button, file,
|
|
11112
|
+
add_location(button, file, 379, 18, 18288);
|
|
11113
11113
|
},
|
|
11114
11114
|
m: function mount(target, anchor) {
|
|
11115
11115
|
insert_dev(target, button, anchor);
|
|
@@ -11117,7 +11117,7 @@
|
|
|
11117
11117
|
append_dev(svg, path);
|
|
11118
11118
|
|
|
11119
11119
|
if (!mounted) {
|
|
11120
|
-
dispose = listen_dev(button, "click", /*click_handler_9*/ ctx[
|
|
11120
|
+
dispose = listen_dev(button, "click", /*click_handler_9*/ ctx[63], false, false, false);
|
|
11121
11121
|
mounted = true;
|
|
11122
11122
|
}
|
|
11123
11123
|
},
|
|
@@ -11133,14 +11133,14 @@
|
|
|
11133
11133
|
block,
|
|
11134
11134
|
id: create_else_block_2.name,
|
|
11135
11135
|
type: "else",
|
|
11136
|
-
source: "(
|
|
11136
|
+
source: "(379:16) {:else}",
|
|
11137
11137
|
ctx
|
|
11138
11138
|
});
|
|
11139
11139
|
|
|
11140
11140
|
return block;
|
|
11141
11141
|
}
|
|
11142
11142
|
|
|
11143
|
-
// (
|
|
11143
|
+
// (375:16) {#if isFullscreen}
|
|
11144
11144
|
function create_if_block_8(ctx) {
|
|
11145
11145
|
let button;
|
|
11146
11146
|
let svg;
|
|
@@ -11161,23 +11161,23 @@
|
|
|
11161
11161
|
polygon3 = svg_element("polygon");
|
|
11162
11162
|
set_style(polygon0, "fill", "#fff");
|
|
11163
11163
|
attr_dev(polygon0, "points", "24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t");
|
|
11164
|
-
add_location(polygon0, file,
|
|
11164
|
+
add_location(polygon0, file, 376, 68, 17783);
|
|
11165
11165
|
set_style(polygon1, "fill", "#fff");
|
|
11166
11166
|
attr_dev(polygon1, "points", "0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t");
|
|
11167
|
-
add_location(polygon1, file,
|
|
11167
|
+
add_location(polygon1, file, 376, 176, 17891);
|
|
11168
11168
|
set_style(polygon2, "fill", "#fff");
|
|
11169
11169
|
attr_dev(polygon2, "points", "0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t");
|
|
11170
|
-
add_location(polygon2, file,
|
|
11170
|
+
add_location(polygon2, file, 376, 282, 17997);
|
|
11171
11171
|
set_style(polygon3, "fill", "#fff");
|
|
11172
11172
|
attr_dev(polygon3, "points", "20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t");
|
|
11173
|
-
add_location(polygon3, file,
|
|
11173
|
+
add_location(polygon3, file, 376, 385, 18100);
|
|
11174
11174
|
attr_dev(svg, "width", "24");
|
|
11175
11175
|
attr_dev(svg, "height", "24");
|
|
11176
11176
|
attr_dev(svg, "viewBox", "0 0 31 31");
|
|
11177
|
-
add_location(svg, file,
|
|
11177
|
+
add_location(svg, file, 376, 20, 17735);
|
|
11178
11178
|
attr_dev(button, "class", "FullscreenButton");
|
|
11179
11179
|
attr_dev(button, "part", "FullscreenButton");
|
|
11180
|
-
add_location(button, file,
|
|
11180
|
+
add_location(button, file, 375, 18, 17621);
|
|
11181
11181
|
},
|
|
11182
11182
|
m: function mount(target, anchor) {
|
|
11183
11183
|
insert_dev(target, button, anchor);
|
|
@@ -11188,7 +11188,7 @@
|
|
|
11188
11188
|
append_dev(svg, polygon3);
|
|
11189
11189
|
|
|
11190
11190
|
if (!mounted) {
|
|
11191
|
-
dispose = listen_dev(button, "click", /*click_handler_8*/ ctx[
|
|
11191
|
+
dispose = listen_dev(button, "click", /*click_handler_8*/ ctx[62], false, false, false);
|
|
11192
11192
|
mounted = true;
|
|
11193
11193
|
}
|
|
11194
11194
|
},
|
|
@@ -11204,14 +11204,14 @@
|
|
|
11204
11204
|
block,
|
|
11205
11205
|
id: create_if_block_8.name,
|
|
11206
11206
|
type: "if",
|
|
11207
|
-
source: "(
|
|
11207
|
+
source: "(375:16) {#if isFullscreen}",
|
|
11208
11208
|
ctx
|
|
11209
11209
|
});
|
|
11210
11210
|
|
|
11211
11211
|
return block;
|
|
11212
11212
|
}
|
|
11213
11213
|
|
|
11214
|
-
// (
|
|
11214
|
+
// (386:12) {#if gamebanneractive == 'true' && !isFullscreen}
|
|
11215
11215
|
function create_if_block_7(ctx) {
|
|
11216
11216
|
let div;
|
|
11217
11217
|
let h3;
|
|
@@ -11221,10 +11221,10 @@
|
|
|
11221
11221
|
div = element("div");
|
|
11222
11222
|
h3 = element("h3");
|
|
11223
11223
|
h3.textContent = "Your banner here";
|
|
11224
|
-
add_location(h3, file,
|
|
11224
|
+
add_location(h3, file, 387, 16, 19044);
|
|
11225
11225
|
attr_dev(div, "class", "BannerSection");
|
|
11226
11226
|
attr_dev(div, "part", "BannerSection");
|
|
11227
|
-
add_location(div, file,
|
|
11227
|
+
add_location(div, file, 386, 14, 18979);
|
|
11228
11228
|
},
|
|
11229
11229
|
m: function mount(target, anchor) {
|
|
11230
11230
|
insert_dev(target, div, anchor);
|
|
@@ -11239,25 +11239,25 @@
|
|
|
11239
11239
|
block,
|
|
11240
11240
|
id: create_if_block_7.name,
|
|
11241
11241
|
type: "if",
|
|
11242
|
-
source: "(
|
|
11242
|
+
source: "(386:12) {#if gamebanneractive == 'true' && !isFullscreen}",
|
|
11243
11243
|
ctx
|
|
11244
11244
|
});
|
|
11245
11245
|
|
|
11246
11246
|
return block;
|
|
11247
11247
|
}
|
|
11248
11248
|
|
|
11249
|
-
// (
|
|
11249
|
+
// (334:14) {#if haspanicbutton === "true"}
|
|
11250
11250
|
function create_if_block_5(ctx) {
|
|
11251
11251
|
let div;
|
|
11252
11252
|
let svg;
|
|
11253
11253
|
let path;
|
|
11254
11254
|
let t0;
|
|
11255
11255
|
let p;
|
|
11256
|
-
let t1_value = /*$_*/ ctx[
|
|
11256
|
+
let t1_value = /*$_*/ ctx[22]("gamePage.break") + "";
|
|
11257
11257
|
let t1;
|
|
11258
11258
|
let t2;
|
|
11259
11259
|
let button;
|
|
11260
|
-
let t3_value = /*$_*/ ctx[
|
|
11260
|
+
let t3_value = /*$_*/ ctx[22]("casinoPage.breakButton") + "";
|
|
11261
11261
|
let t3;
|
|
11262
11262
|
let mounted;
|
|
11263
11263
|
let dispose;
|
|
@@ -11277,7 +11277,7 @@
|
|
|
11277
11277
|
attr_dev(path, "stroke-linejoin", "round");
|
|
11278
11278
|
attr_dev(path, "stroke-width", "2");
|
|
11279
11279
|
attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
|
|
11280
|
-
add_location(path, file,
|
|
11280
|
+
add_location(path, file, 335, 163, 13602);
|
|
11281
11281
|
attr_dev(svg, "class", "w-1 h-1");
|
|
11282
11282
|
attr_dev(svg, "part", "w-1 h-1");
|
|
11283
11283
|
attr_dev(svg, "fill", "none");
|
|
@@ -11286,15 +11286,15 @@
|
|
|
11286
11286
|
attr_dev(svg, "height", "34px");
|
|
11287
11287
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11288
11288
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11289
|
-
add_location(svg, file,
|
|
11290
|
-
add_location(p, file,
|
|
11291
|
-
attr_dev(button, "class", "
|
|
11292
|
-
attr_dev(button, "part", "
|
|
11293
|
-
toggle_class(button, "PanicButtonAnimation", /*panicLoading*/ ctx[
|
|
11294
|
-
add_location(button, file,
|
|
11289
|
+
add_location(svg, file, 335, 18, 13457);
|
|
11290
|
+
add_location(p, file, 336, 18, 13752);
|
|
11291
|
+
attr_dev(button, "class", "PanicButton");
|
|
11292
|
+
attr_dev(button, "part", "PanicButton");
|
|
11293
|
+
toggle_class(button, "PanicButtonAnimation", /*panicLoading*/ ctx[8]);
|
|
11294
|
+
add_location(button, file, 337, 18, 13800);
|
|
11295
11295
|
attr_dev(div, "class", "PanicSection");
|
|
11296
11296
|
attr_dev(div, "part", "PanicSection");
|
|
11297
|
-
add_location(div, file,
|
|
11297
|
+
add_location(div, file, 334, 16, 13392);
|
|
11298
11298
|
},
|
|
11299
11299
|
m: function mount(target, anchor) {
|
|
11300
11300
|
insert_dev(target, div, anchor);
|
|
@@ -11306,22 +11306,24 @@
|
|
|
11306
11306
|
append_dev(div, t2);
|
|
11307
11307
|
append_dev(div, button);
|
|
11308
11308
|
append_dev(button, t3);
|
|
11309
|
+
/*button_binding*/ ctx[50](button);
|
|
11309
11310
|
|
|
11310
11311
|
if (!mounted) {
|
|
11311
|
-
dispose = listen_dev(button, "click", /*click_handler_2*/ ctx[
|
|
11312
|
+
dispose = listen_dev(button, "click", /*click_handler_2*/ ctx[51], false, false, false);
|
|
11312
11313
|
mounted = true;
|
|
11313
11314
|
}
|
|
11314
11315
|
},
|
|
11315
11316
|
p: function update(ctx, dirty) {
|
|
11316
|
-
if (dirty[0] & /*$_*/
|
|
11317
|
-
if (dirty[0] & /*$_*/
|
|
11317
|
+
if (dirty[0] & /*$_*/ 4194304 && t1_value !== (t1_value = /*$_*/ ctx[22]("gamePage.break") + "")) set_data_dev(t1, t1_value);
|
|
11318
|
+
if (dirty[0] & /*$_*/ 4194304 && t3_value !== (t3_value = /*$_*/ ctx[22]("casinoPage.breakButton") + "")) set_data_dev(t3, t3_value);
|
|
11318
11319
|
|
|
11319
|
-
if (dirty[0] & /*panicLoading*/
|
|
11320
|
-
toggle_class(button, "PanicButtonAnimation", /*panicLoading*/ ctx[
|
|
11320
|
+
if (dirty[0] & /*panicLoading*/ 256) {
|
|
11321
|
+
toggle_class(button, "PanicButtonAnimation", /*panicLoading*/ ctx[8]);
|
|
11321
11322
|
}
|
|
11322
11323
|
},
|
|
11323
11324
|
d: function destroy(detaching) {
|
|
11324
11325
|
if (detaching) detach_dev(div);
|
|
11326
|
+
/*button_binding*/ ctx[50](null);
|
|
11325
11327
|
mounted = false;
|
|
11326
11328
|
dispose();
|
|
11327
11329
|
}
|
|
@@ -11331,14 +11333,14 @@
|
|
|
11331
11333
|
block,
|
|
11332
11334
|
id: create_if_block_5.name,
|
|
11333
11335
|
type: "if",
|
|
11334
|
-
source: "(
|
|
11336
|
+
source: "(334:14) {#if haspanicbutton === \\\"true\\\"}",
|
|
11335
11337
|
ctx
|
|
11336
11338
|
});
|
|
11337
11339
|
|
|
11338
11340
|
return block;
|
|
11339
11341
|
}
|
|
11340
11342
|
|
|
11341
|
-
// (
|
|
11343
|
+
// (345:14) {:else}
|
|
11342
11344
|
function create_else_block_1(ctx) {
|
|
11343
11345
|
let button;
|
|
11344
11346
|
let svg;
|
|
@@ -11352,15 +11354,15 @@
|
|
|
11352
11354
|
svg = svg_element("svg");
|
|
11353
11355
|
path = svg_element("path");
|
|
11354
11356
|
attr_dev(path, "d", "M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z");
|
|
11355
|
-
add_location(path, file,
|
|
11357
|
+
add_location(path, file, 346, 101, 15009);
|
|
11356
11358
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11357
11359
|
attr_dev(svg, "width", "24");
|
|
11358
11360
|
attr_dev(svg, "height", "24");
|
|
11359
11361
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11360
|
-
add_location(svg, file,
|
|
11362
|
+
add_location(svg, file, 346, 18, 14926);
|
|
11361
11363
|
attr_dev(button, "class", "FullscreenButton");
|
|
11362
11364
|
attr_dev(button, "part", "FullscreenButton");
|
|
11363
|
-
add_location(button, file,
|
|
11365
|
+
add_location(button, file, 345, 16, 14814);
|
|
11364
11366
|
},
|
|
11365
11367
|
m: function mount(target, anchor) {
|
|
11366
11368
|
insert_dev(target, button, anchor);
|
|
@@ -11368,7 +11370,7 @@
|
|
|
11368
11370
|
append_dev(svg, path);
|
|
11369
11371
|
|
|
11370
11372
|
if (!mounted) {
|
|
11371
|
-
dispose = listen_dev(button, "click", /*click_handler_4*/ ctx[
|
|
11373
|
+
dispose = listen_dev(button, "click", /*click_handler_4*/ ctx[53], false, false, false);
|
|
11372
11374
|
mounted = true;
|
|
11373
11375
|
}
|
|
11374
11376
|
},
|
|
@@ -11384,14 +11386,14 @@
|
|
|
11384
11386
|
block,
|
|
11385
11387
|
id: create_else_block_1.name,
|
|
11386
11388
|
type: "else",
|
|
11387
|
-
source: "(
|
|
11389
|
+
source: "(345:14) {:else}",
|
|
11388
11390
|
ctx
|
|
11389
11391
|
});
|
|
11390
11392
|
|
|
11391
11393
|
return block;
|
|
11392
11394
|
}
|
|
11393
11395
|
|
|
11394
|
-
// (
|
|
11396
|
+
// (341:14) {#if isFullscreen}
|
|
11395
11397
|
function create_if_block_4(ctx) {
|
|
11396
11398
|
let button;
|
|
11397
11399
|
let svg;
|
|
@@ -11412,25 +11414,25 @@
|
|
|
11412
11414
|
polygon3 = svg_element("polygon");
|
|
11413
11415
|
set_style(polygon0, "fill", "#fff");
|
|
11414
11416
|
attr_dev(polygon0, "points", "24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t");
|
|
11415
|
-
add_location(polygon0, file,
|
|
11417
|
+
add_location(polygon0, file, 342, 144, 14315);
|
|
11416
11418
|
set_style(polygon1, "fill", "#fff");
|
|
11417
11419
|
attr_dev(polygon1, "points", "0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t");
|
|
11418
|
-
add_location(polygon1, file,
|
|
11420
|
+
add_location(polygon1, file, 342, 252, 14423);
|
|
11419
11421
|
set_style(polygon2, "fill", "#fff");
|
|
11420
11422
|
attr_dev(polygon2, "points", "0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t");
|
|
11421
|
-
add_location(polygon2, file,
|
|
11423
|
+
add_location(polygon2, file, 342, 358, 14529);
|
|
11422
11424
|
set_style(polygon3, "fill", "#fff");
|
|
11423
11425
|
attr_dev(polygon3, "points", "20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t");
|
|
11424
|
-
add_location(polygon3, file,
|
|
11426
|
+
add_location(polygon3, file, 342, 461, 14632);
|
|
11425
11427
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11426
11428
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
11427
11429
|
attr_dev(svg, "width", "24");
|
|
11428
11430
|
attr_dev(svg, "height", "24");
|
|
11429
11431
|
attr_dev(svg, "viewBox", "0 0 31 31");
|
|
11430
|
-
add_location(svg, file,
|
|
11432
|
+
add_location(svg, file, 342, 18, 14189);
|
|
11431
11433
|
attr_dev(button, "class", "FullscreenButton");
|
|
11432
11434
|
attr_dev(button, "part", "FullscreenButton");
|
|
11433
|
-
add_location(button, file,
|
|
11435
|
+
add_location(button, file, 341, 16, 14077);
|
|
11434
11436
|
},
|
|
11435
11437
|
m: function mount(target, anchor) {
|
|
11436
11438
|
insert_dev(target, button, anchor);
|
|
@@ -11441,7 +11443,7 @@
|
|
|
11441
11443
|
append_dev(svg, polygon3);
|
|
11442
11444
|
|
|
11443
11445
|
if (!mounted) {
|
|
11444
|
-
dispose = listen_dev(button, "click", /*click_handler_3*/ ctx[
|
|
11446
|
+
dispose = listen_dev(button, "click", /*click_handler_3*/ ctx[52], false, false, false);
|
|
11445
11447
|
mounted = true;
|
|
11446
11448
|
}
|
|
11447
11449
|
},
|
|
@@ -11457,14 +11459,14 @@
|
|
|
11457
11459
|
block,
|
|
11458
11460
|
id: create_if_block_4.name,
|
|
11459
11461
|
type: "if",
|
|
11460
|
-
source: "(
|
|
11462
|
+
source: "(341:14) {#if isFullscreen}",
|
|
11461
11463
|
ctx
|
|
11462
11464
|
});
|
|
11463
11465
|
|
|
11464
11466
|
return block;
|
|
11465
11467
|
}
|
|
11466
11468
|
|
|
11467
|
-
// (
|
|
11469
|
+
// (352:10) {#if gamebanneractive == 'true' && !isFullscreen}
|
|
11468
11470
|
function create_if_block_3(ctx) {
|
|
11469
11471
|
let div;
|
|
11470
11472
|
let h3;
|
|
@@ -11474,10 +11476,10 @@
|
|
|
11474
11476
|
div = element("div");
|
|
11475
11477
|
h3 = element("h3");
|
|
11476
11478
|
h3.textContent = "Your banner here";
|
|
11477
|
-
add_location(h3, file,
|
|
11479
|
+
add_location(h3, file, 353, 14, 15554);
|
|
11478
11480
|
attr_dev(div, "class", "BannerSection");
|
|
11479
11481
|
attr_dev(div, "part", "BannerSection");
|
|
11480
|
-
add_location(div, file,
|
|
11482
|
+
add_location(div, file, 352, 12, 15491);
|
|
11481
11483
|
},
|
|
11482
11484
|
m: function mount(target, anchor) {
|
|
11483
11485
|
insert_dev(target, div, anchor);
|
|
@@ -11492,7 +11494,7 @@
|
|
|
11492
11494
|
block,
|
|
11493
11495
|
id: create_if_block_3.name,
|
|
11494
11496
|
type: "if",
|
|
11495
|
-
source: "(
|
|
11497
|
+
source: "(352:10) {#if gamebanneractive == 'true' && !isFullscreen}",
|
|
11496
11498
|
ctx
|
|
11497
11499
|
});
|
|
11498
11500
|
|
|
@@ -11559,7 +11561,7 @@
|
|
|
11559
11561
|
function instance($$self, $$props, $$invalidate) {
|
|
11560
11562
|
let $_;
|
|
11561
11563
|
validate_store(X, "_");
|
|
11562
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
|
11564
|
+
component_subscribe($$self, X, $$value => $$invalidate(22, $_ = $$value));
|
|
11563
11565
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
11564
11566
|
validate_slots("undefined", slots, []);
|
|
11565
11567
|
let { endpoint = "" } = $$props;
|
|
@@ -11588,8 +11590,10 @@
|
|
|
11588
11590
|
let isLoading = true;
|
|
11589
11591
|
let playerID;
|
|
11590
11592
|
let sessionID;
|
|
11593
|
+
let panicButton;
|
|
11591
11594
|
let panicLoading = false;
|
|
11592
|
-
let
|
|
11595
|
+
let timer = 0;
|
|
11596
|
+
let timerInterval;
|
|
11593
11597
|
let game;
|
|
11594
11598
|
let detailsObtained = false;
|
|
11595
11599
|
let funMode = false;
|
|
@@ -11638,15 +11642,15 @@
|
|
|
11638
11642
|
let url = new URL(`${endpoint}/casino/games/${gameId}`);
|
|
11639
11643
|
url.searchParams.append("language", lang);
|
|
11640
11644
|
url.searchParams.append("expand", "vendor");
|
|
11641
|
-
$$invalidate(
|
|
11645
|
+
$$invalidate(11, isModal = modal || false);
|
|
11642
11646
|
|
|
11643
11647
|
fetch(url.href).then(res => res.json()).then(
|
|
11644
11648
|
data => {
|
|
11645
|
-
$$invalidate(
|
|
11649
|
+
$$invalidate(9, game = formatGameLaunchUrl(data[0]));
|
|
11646
11650
|
|
|
11647
11651
|
if (game.launchUrl) {
|
|
11648
11652
|
detailsObtained = true;
|
|
11649
|
-
$$invalidate(
|
|
11653
|
+
$$invalidate(10, funMode = playforfun == "true" ? game.hasFunMode : false);
|
|
11650
11654
|
anonymousFunMode = playforfun == "true" ? game.hasAnonymousFunMode : false;
|
|
11651
11655
|
}
|
|
11652
11656
|
},
|
|
@@ -11666,8 +11670,8 @@
|
|
|
11666
11670
|
};
|
|
11667
11671
|
|
|
11668
11672
|
const maximizeGameFrame = () => {
|
|
11669
|
-
$$invalidate(
|
|
11670
|
-
$$invalidate(
|
|
11673
|
+
$$invalidate(17, definitiveIframeWidth = game.width);
|
|
11674
|
+
$$invalidate(18, definitiveIframeHeight = game.height);
|
|
11671
11675
|
gameFrameWidth = game.width;
|
|
11672
11676
|
gameFrameHeight = game.height;
|
|
11673
11677
|
};
|
|
@@ -11676,8 +11680,8 @@
|
|
|
11676
11680
|
const keepIframeRatio = () => {
|
|
11677
11681
|
let iframeContainer = getComputedStyle(gameFrameContainer);
|
|
11678
11682
|
let gameFrame = getComputedStyle(gameInnerContainer);
|
|
11679
|
-
$$invalidate(
|
|
11680
|
-
$$invalidate(
|
|
11683
|
+
$$invalidate(13, gameContainerWidth = parseInt(iframeContainer.width.slice(0, -2)));
|
|
11684
|
+
$$invalidate(14, gameContainerHeight = parseInt(iframeContainer.height.slice(0, -2)));
|
|
11681
11685
|
const iframeRatio = game.width / (game.height + 100);
|
|
11682
11686
|
gameFrameWidth = parseInt(gameFrame.width);
|
|
11683
11687
|
gameFrameHeight = parseInt(gameFrame.height);
|
|
@@ -11691,11 +11695,11 @@
|
|
|
11691
11695
|
gameFrameHeight = gameContainerWidth / iframeRatio;
|
|
11692
11696
|
}
|
|
11693
11697
|
|
|
11694
|
-
$$invalidate(
|
|
11698
|
+
$$invalidate(17, definitiveIframeWidth = gameFrameWidth
|
|
11695
11699
|
? Math.floor(gameFrameWidth) + "px"
|
|
11696
11700
|
: "1280px");
|
|
11697
11701
|
|
|
11698
|
-
$$invalidate(
|
|
11702
|
+
$$invalidate(18, definitiveIframeHeight = gameFrameHeight
|
|
11699
11703
|
? Math.floor(gameFrameHeight) + "px"
|
|
11700
11704
|
: "720px");
|
|
11701
11705
|
};
|
|
@@ -11786,7 +11790,7 @@
|
|
|
11786
11790
|
document.msExitFullscreen();
|
|
11787
11791
|
}
|
|
11788
11792
|
|
|
11789
|
-
$$invalidate(
|
|
11793
|
+
$$invalidate(16, isFullscreen = false);
|
|
11790
11794
|
} else {
|
|
11791
11795
|
if (gameFrameContainer.requestFullscreen) {
|
|
11792
11796
|
gameFrameContainer.requestFullscreen();
|
|
@@ -11798,23 +11802,13 @@
|
|
|
11798
11802
|
gameFrameContainer.msRequestFullscreen();
|
|
11799
11803
|
}
|
|
11800
11804
|
|
|
11801
|
-
$$invalidate(
|
|
11805
|
+
$$invalidate(16, isFullscreen = true);
|
|
11802
11806
|
}
|
|
11803
11807
|
}
|
|
11804
11808
|
};
|
|
11805
11809
|
|
|
11806
|
-
const
|
|
11807
|
-
|
|
11808
|
-
|
|
11809
|
-
panicButtonTimeout = setTimeout(
|
|
11810
|
-
() => {
|
|
11811
|
-
$$invalidate(7, panicLoading = false);
|
|
11812
|
-
window.postMessage({ type: "PanicButtonClicked" }, window.location.href);
|
|
11813
|
-
},
|
|
11814
|
-
3000
|
|
11815
|
-
);
|
|
11816
|
-
|
|
11817
|
-
clearTimeout(panicButtonTimeout);
|
|
11810
|
+
const panicAction = () => {
|
|
11811
|
+
window.postMessage({ type: "PanicButtonClicked" }, window.location.href);
|
|
11818
11812
|
};
|
|
11819
11813
|
|
|
11820
11814
|
const refreshTime = () => {
|
|
@@ -11888,13 +11882,71 @@
|
|
|
11888
11882
|
window.postMessage({ type: "DisableIntegratedGamePage" }, window.location.href);
|
|
11889
11883
|
};
|
|
11890
11884
|
|
|
11885
|
+
const startInterval = e => {
|
|
11886
|
+
timer = 0;
|
|
11887
|
+
|
|
11888
|
+
timerInterval = setInterval(
|
|
11889
|
+
() => {
|
|
11890
|
+
timer += 1;
|
|
11891
|
+
$$invalidate(8, panicLoading = true);
|
|
11892
|
+
|
|
11893
|
+
if (timer >= 3) {
|
|
11894
|
+
clearInterval(timerInterval);
|
|
11895
|
+
}
|
|
11896
|
+
},
|
|
11897
|
+
1000
|
|
11898
|
+
);
|
|
11899
|
+
};
|
|
11900
|
+
|
|
11901
|
+
const endInterval = e => {
|
|
11902
|
+
if (timer < 3) {
|
|
11903
|
+
$$invalidate(8, panicLoading = false);
|
|
11904
|
+
}
|
|
11905
|
+
|
|
11906
|
+
clearInterval(timerInterval);
|
|
11907
|
+
};
|
|
11908
|
+
|
|
11891
11909
|
onMount(() => {
|
|
11892
11910
|
window.addEventListener("resize", resizeHandler, false);
|
|
11893
11911
|
isOnNative = !!jsNativeBridge.isNative(userAgent);
|
|
11894
11912
|
|
|
11913
|
+
panicButton === null || panicButton === void 0
|
|
11914
|
+
? void 0
|
|
11915
|
+
: panicButton.addEventListener("mousedown", startInterval, false);
|
|
11916
|
+
|
|
11917
|
+
panicButton === null || panicButton === void 0
|
|
11918
|
+
? void 0
|
|
11919
|
+
: panicButton.addEventListener("touchstart", startInterval, false);
|
|
11920
|
+
|
|
11921
|
+
// on mouseup stop interval count
|
|
11922
|
+
panicButton === null || panicButton === void 0
|
|
11923
|
+
? void 0
|
|
11924
|
+
: panicButton.addEventListener("mouseup", endInterval, false);
|
|
11925
|
+
|
|
11926
|
+
panicButton === null || panicButton === void 0
|
|
11927
|
+
? void 0
|
|
11928
|
+
: panicButton.addEventListener("touchend", endInterval, false);
|
|
11929
|
+
|
|
11895
11930
|
return () => {
|
|
11896
11931
|
window.removeEventListener("resize", resizeHandler);
|
|
11897
11932
|
clearInterval(timeInterval);
|
|
11933
|
+
|
|
11934
|
+
panicButton === null || panicButton === void 0
|
|
11935
|
+
? void 0
|
|
11936
|
+
: panicButton.removeEventListener("mousedown", startInterval);
|
|
11937
|
+
|
|
11938
|
+
panicButton === null || panicButton === void 0
|
|
11939
|
+
? void 0
|
|
11940
|
+
: panicButton.removeEventListener("touchstart", startInterval);
|
|
11941
|
+
|
|
11942
|
+
// on mouseup stop interval count
|
|
11943
|
+
panicButton === null || panicButton === void 0
|
|
11944
|
+
? void 0
|
|
11945
|
+
: panicButton.removeEventListener("mouseup", endInterval);
|
|
11946
|
+
|
|
11947
|
+
panicButton === null || panicButton === void 0
|
|
11948
|
+
? void 0
|
|
11949
|
+
: panicButton.removeEventListener("touchend", endInterval);
|
|
11898
11950
|
};
|
|
11899
11951
|
});
|
|
11900
11952
|
|
|
@@ -11929,7 +11981,7 @@
|
|
|
11929
11981
|
function p_binding($$value) {
|
|
11930
11982
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11931
11983
|
timeContainer = $$value;
|
|
11932
|
-
$$invalidate(
|
|
11984
|
+
$$invalidate(21, timeContainer);
|
|
11933
11985
|
});
|
|
11934
11986
|
}
|
|
11935
11987
|
|
|
@@ -11942,6 +11994,13 @@
|
|
|
11942
11994
|
});
|
|
11943
11995
|
}
|
|
11944
11996
|
|
|
11997
|
+
function button_binding($$value) {
|
|
11998
|
+
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11999
|
+
panicButton = $$value;
|
|
12000
|
+
$$invalidate(7, panicButton);
|
|
12001
|
+
});
|
|
12002
|
+
}
|
|
12003
|
+
|
|
11945
12004
|
const click_handler_2 = () => panicAction();
|
|
11946
12005
|
const click_handler_3 = () => handleIframeSize();
|
|
11947
12006
|
const click_handler_4 = () => handleIframeSize();
|
|
@@ -11949,21 +12008,21 @@
|
|
|
11949
12008
|
function div1_binding($$value) {
|
|
11950
12009
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11951
12010
|
buttonsContainer = $$value;
|
|
11952
|
-
$$invalidate(
|
|
12011
|
+
$$invalidate(20, buttonsContainer);
|
|
11953
12012
|
});
|
|
11954
12013
|
}
|
|
11955
12014
|
|
|
11956
12015
|
function div2_binding($$value) {
|
|
11957
12016
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11958
12017
|
gameInnerContainer = $$value;
|
|
11959
|
-
$$invalidate(
|
|
12018
|
+
$$invalidate(15, gameInnerContainer);
|
|
11960
12019
|
});
|
|
11961
12020
|
}
|
|
11962
12021
|
|
|
11963
12022
|
function div3_binding($$value) {
|
|
11964
12023
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11965
12024
|
gameFrameContainer = $$value;
|
|
11966
|
-
$$invalidate(
|
|
12025
|
+
$$invalidate(12, gameFrameContainer);
|
|
11967
12026
|
});
|
|
11968
12027
|
}
|
|
11969
12028
|
|
|
@@ -11972,7 +12031,7 @@
|
|
|
11972
12031
|
function p_binding_1($$value) {
|
|
11973
12032
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11974
12033
|
timeContainer = $$value;
|
|
11975
|
-
$$invalidate(
|
|
12034
|
+
$$invalidate(21, timeContainer);
|
|
11976
12035
|
});
|
|
11977
12036
|
}
|
|
11978
12037
|
|
|
@@ -11991,51 +12050,51 @@
|
|
|
11991
12050
|
function div3_binding_1($$value) {
|
|
11992
12051
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
11993
12052
|
buttonsContainer = $$value;
|
|
11994
|
-
$$invalidate(
|
|
12053
|
+
$$invalidate(20, buttonsContainer);
|
|
11995
12054
|
});
|
|
11996
12055
|
}
|
|
11997
12056
|
|
|
11998
12057
|
function div4_binding($$value) {
|
|
11999
12058
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
12000
12059
|
gameInnerContainer = $$value;
|
|
12001
|
-
$$invalidate(
|
|
12060
|
+
$$invalidate(15, gameInnerContainer);
|
|
12002
12061
|
});
|
|
12003
12062
|
}
|
|
12004
12063
|
|
|
12005
12064
|
function div5_binding($$value) {
|
|
12006
12065
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
12007
12066
|
gameFrameContainer = $$value;
|
|
12008
|
-
$$invalidate(
|
|
12067
|
+
$$invalidate(12, gameFrameContainer);
|
|
12009
12068
|
});
|
|
12010
12069
|
}
|
|
12011
12070
|
|
|
12012
12071
|
function div_binding($$value) {
|
|
12013
12072
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
12014
12073
|
customStylingContainer = $$value;
|
|
12015
|
-
$$invalidate(
|
|
12074
|
+
$$invalidate(19, customStylingContainer);
|
|
12016
12075
|
});
|
|
12017
12076
|
}
|
|
12018
12077
|
|
|
12019
12078
|
$$self.$$set = $$props => {
|
|
12020
|
-
if ("endpoint" in $$props) $$invalidate(
|
|
12021
|
-
if ("lang" in $$props) $$invalidate(
|
|
12022
|
-
if ("session" in $$props) $$invalidate(
|
|
12023
|
-
if ("userid" in $$props) $$invalidate(
|
|
12024
|
-
if ("clientstyling" in $$props) $$invalidate(
|
|
12025
|
-
if ("clientstylingurl" in $$props) $$invalidate(
|
|
12026
|
-
if ("loginurl" in $$props) $$invalidate(
|
|
12027
|
-
if ("registerurl" in $$props) $$invalidate(
|
|
12028
|
-
if ("depositurl" in $$props) $$invalidate(
|
|
12029
|
-
if ("loginevent" in $$props) $$invalidate(
|
|
12030
|
-
if ("registerevent" in $$props) $$invalidate(
|
|
12031
|
-
if ("depositevent" in $$props) $$invalidate(
|
|
12032
|
-
if ("clockformat" in $$props) $$invalidate(
|
|
12079
|
+
if ("endpoint" in $$props) $$invalidate(29, endpoint = $$props.endpoint);
|
|
12080
|
+
if ("lang" in $$props) $$invalidate(30, lang = $$props.lang);
|
|
12081
|
+
if ("session" in $$props) $$invalidate(31, session = $$props.session);
|
|
12082
|
+
if ("userid" in $$props) $$invalidate(32, userid = $$props.userid);
|
|
12083
|
+
if ("clientstyling" in $$props) $$invalidate(33, clientstyling = $$props.clientstyling);
|
|
12084
|
+
if ("clientstylingurl" in $$props) $$invalidate(34, clientstylingurl = $$props.clientstylingurl);
|
|
12085
|
+
if ("loginurl" in $$props) $$invalidate(35, loginurl = $$props.loginurl);
|
|
12086
|
+
if ("registerurl" in $$props) $$invalidate(36, registerurl = $$props.registerurl);
|
|
12087
|
+
if ("depositurl" in $$props) $$invalidate(37, depositurl = $$props.depositurl);
|
|
12088
|
+
if ("loginevent" in $$props) $$invalidate(38, loginevent = $$props.loginevent);
|
|
12089
|
+
if ("registerevent" in $$props) $$invalidate(39, registerevent = $$props.registerevent);
|
|
12090
|
+
if ("depositevent" in $$props) $$invalidate(40, depositevent = $$props.depositevent);
|
|
12091
|
+
if ("clockformat" in $$props) $$invalidate(41, clockformat = $$props.clockformat);
|
|
12033
12092
|
if ("haspanicbutton" in $$props) $$invalidate(0, haspanicbutton = $$props.haspanicbutton);
|
|
12034
|
-
if ("playforfun" in $$props) $$invalidate(
|
|
12035
|
-
if ("checksession" in $$props) $$invalidate(
|
|
12036
|
-
if ("integratedgameframe" in $$props) $$invalidate(
|
|
12093
|
+
if ("playforfun" in $$props) $$invalidate(42, playforfun = $$props.playforfun);
|
|
12094
|
+
if ("checksession" in $$props) $$invalidate(43, checksession = $$props.checksession);
|
|
12095
|
+
if ("integratedgameframe" in $$props) $$invalidate(44, integratedgameframe = $$props.integratedgameframe);
|
|
12037
12096
|
if ("gamebanneractive" in $$props) $$invalidate(1, gamebanneractive = $$props.gamebanneractive);
|
|
12038
|
-
if ("gameid" in $$props) $$invalidate(
|
|
12097
|
+
if ("gameid" in $$props) $$invalidate(45, gameid = $$props.gameid);
|
|
12039
12098
|
};
|
|
12040
12099
|
|
|
12041
12100
|
$$self.$capture_state = () => ({
|
|
@@ -12076,8 +12135,10 @@
|
|
|
12076
12135
|
isLoading,
|
|
12077
12136
|
playerID,
|
|
12078
12137
|
sessionID,
|
|
12138
|
+
panicButton,
|
|
12079
12139
|
panicLoading,
|
|
12080
|
-
|
|
12140
|
+
timer,
|
|
12141
|
+
timerInterval,
|
|
12081
12142
|
game,
|
|
12082
12143
|
detailsObtained,
|
|
12083
12144
|
funMode,
|
|
@@ -12108,7 +12169,7 @@
|
|
|
12108
12169
|
toggleDeposit,
|
|
12109
12170
|
exitHandler,
|
|
12110
12171
|
handleIframeSize,
|
|
12111
|
-
|
|
12172
|
+
panicAction,
|
|
12112
12173
|
refreshTime,
|
|
12113
12174
|
timeInterval,
|
|
12114
12175
|
setActiveLanguage,
|
|
@@ -12116,29 +12177,31 @@
|
|
|
12116
12177
|
setClientStyling,
|
|
12117
12178
|
setClientStylingURL,
|
|
12118
12179
|
previousPage,
|
|
12180
|
+
startInterval,
|
|
12181
|
+
endInterval,
|
|
12119
12182
|
$_
|
|
12120
12183
|
});
|
|
12121
12184
|
|
|
12122
12185
|
$$self.$inject_state = $$props => {
|
|
12123
|
-
if ("endpoint" in $$props) $$invalidate(
|
|
12124
|
-
if ("lang" in $$props) $$invalidate(
|
|
12125
|
-
if ("session" in $$props) $$invalidate(
|
|
12126
|
-
if ("userid" in $$props) $$invalidate(
|
|
12127
|
-
if ("clientstyling" in $$props) $$invalidate(
|
|
12128
|
-
if ("clientstylingurl" in $$props) $$invalidate(
|
|
12129
|
-
if ("loginurl" in $$props) $$invalidate(
|
|
12130
|
-
if ("registerurl" in $$props) $$invalidate(
|
|
12131
|
-
if ("depositurl" in $$props) $$invalidate(
|
|
12132
|
-
if ("loginevent" in $$props) $$invalidate(
|
|
12133
|
-
if ("registerevent" in $$props) $$invalidate(
|
|
12134
|
-
if ("depositevent" in $$props) $$invalidate(
|
|
12135
|
-
if ("clockformat" in $$props) $$invalidate(
|
|
12186
|
+
if ("endpoint" in $$props) $$invalidate(29, endpoint = $$props.endpoint);
|
|
12187
|
+
if ("lang" in $$props) $$invalidate(30, lang = $$props.lang);
|
|
12188
|
+
if ("session" in $$props) $$invalidate(31, session = $$props.session);
|
|
12189
|
+
if ("userid" in $$props) $$invalidate(32, userid = $$props.userid);
|
|
12190
|
+
if ("clientstyling" in $$props) $$invalidate(33, clientstyling = $$props.clientstyling);
|
|
12191
|
+
if ("clientstylingurl" in $$props) $$invalidate(34, clientstylingurl = $$props.clientstylingurl);
|
|
12192
|
+
if ("loginurl" in $$props) $$invalidate(35, loginurl = $$props.loginurl);
|
|
12193
|
+
if ("registerurl" in $$props) $$invalidate(36, registerurl = $$props.registerurl);
|
|
12194
|
+
if ("depositurl" in $$props) $$invalidate(37, depositurl = $$props.depositurl);
|
|
12195
|
+
if ("loginevent" in $$props) $$invalidate(38, loginevent = $$props.loginevent);
|
|
12196
|
+
if ("registerevent" in $$props) $$invalidate(39, registerevent = $$props.registerevent);
|
|
12197
|
+
if ("depositevent" in $$props) $$invalidate(40, depositevent = $$props.depositevent);
|
|
12198
|
+
if ("clockformat" in $$props) $$invalidate(41, clockformat = $$props.clockformat);
|
|
12136
12199
|
if ("haspanicbutton" in $$props) $$invalidate(0, haspanicbutton = $$props.haspanicbutton);
|
|
12137
|
-
if ("playforfun" in $$props) $$invalidate(
|
|
12138
|
-
if ("checksession" in $$props) $$invalidate(
|
|
12139
|
-
if ("integratedgameframe" in $$props) $$invalidate(
|
|
12200
|
+
if ("playforfun" in $$props) $$invalidate(42, playforfun = $$props.playforfun);
|
|
12201
|
+
if ("checksession" in $$props) $$invalidate(43, checksession = $$props.checksession);
|
|
12202
|
+
if ("integratedgameframe" in $$props) $$invalidate(44, integratedgameframe = $$props.integratedgameframe);
|
|
12140
12203
|
if ("gamebanneractive" in $$props) $$invalidate(1, gamebanneractive = $$props.gamebanneractive);
|
|
12141
|
-
if ("gameid" in $$props) $$invalidate(
|
|
12204
|
+
if ("gameid" in $$props) $$invalidate(45, gameid = $$props.gameid);
|
|
12142
12205
|
if ("time" in $$props) $$invalidate(2, time = $$props.time);
|
|
12143
12206
|
if ("iframe" in $$props) $$invalidate(3, iframe = $$props.iframe);
|
|
12144
12207
|
if ("isLoggedIn" in $$props) $$invalidate(4, isLoggedIn = $$props.isLoggedIn);
|
|
@@ -12146,27 +12209,29 @@
|
|
|
12146
12209
|
if ("isLoading" in $$props) $$invalidate(6, isLoading = $$props.isLoading);
|
|
12147
12210
|
if ("playerID" in $$props) playerID = $$props.playerID;
|
|
12148
12211
|
if ("sessionID" in $$props) sessionID = $$props.sessionID;
|
|
12149
|
-
if ("
|
|
12150
|
-
if ("
|
|
12151
|
-
if ("
|
|
12212
|
+
if ("panicButton" in $$props) $$invalidate(7, panicButton = $$props.panicButton);
|
|
12213
|
+
if ("panicLoading" in $$props) $$invalidate(8, panicLoading = $$props.panicLoading);
|
|
12214
|
+
if ("timer" in $$props) timer = $$props.timer;
|
|
12215
|
+
if ("timerInterval" in $$props) timerInterval = $$props.timerInterval;
|
|
12216
|
+
if ("game" in $$props) $$invalidate(9, game = $$props.game);
|
|
12152
12217
|
if ("detailsObtained" in $$props) detailsObtained = $$props.detailsObtained;
|
|
12153
|
-
if ("funMode" in $$props) $$invalidate(
|
|
12218
|
+
if ("funMode" in $$props) $$invalidate(10, funMode = $$props.funMode);
|
|
12154
12219
|
if ("anonymousFunMode" in $$props) anonymousFunMode = $$props.anonymousFunMode;
|
|
12155
|
-
if ("isModal" in $$props) $$invalidate(
|
|
12156
|
-
if ("gameFrameContainer" in $$props) $$invalidate(
|
|
12157
|
-
if ("gameContainerWidth" in $$props) $$invalidate(
|
|
12158
|
-
if ("gameContainerHeight" in $$props) $$invalidate(
|
|
12159
|
-
if ("gameInnerContainer" in $$props) $$invalidate(
|
|
12160
|
-
if ("isFullscreen" in $$props) $$invalidate(
|
|
12220
|
+
if ("isModal" in $$props) $$invalidate(11, isModal = $$props.isModal);
|
|
12221
|
+
if ("gameFrameContainer" in $$props) $$invalidate(12, gameFrameContainer = $$props.gameFrameContainer);
|
|
12222
|
+
if ("gameContainerWidth" in $$props) $$invalidate(13, gameContainerWidth = $$props.gameContainerWidth);
|
|
12223
|
+
if ("gameContainerHeight" in $$props) $$invalidate(14, gameContainerHeight = $$props.gameContainerHeight);
|
|
12224
|
+
if ("gameInnerContainer" in $$props) $$invalidate(15, gameInnerContainer = $$props.gameInnerContainer);
|
|
12225
|
+
if ("isFullscreen" in $$props) $$invalidate(16, isFullscreen = $$props.isFullscreen);
|
|
12161
12226
|
if ("modalFrameHeight" in $$props) modalFrameHeight = $$props.modalFrameHeight;
|
|
12162
12227
|
if ("gameFrameWidth" in $$props) gameFrameWidth = $$props.gameFrameWidth;
|
|
12163
12228
|
if ("gameFrameHeight" in $$props) gameFrameHeight = $$props.gameFrameHeight;
|
|
12164
|
-
if ("definitiveIframeWidth" in $$props) $$invalidate(
|
|
12165
|
-
if ("definitiveIframeHeight" in $$props) $$invalidate(
|
|
12229
|
+
if ("definitiveIframeWidth" in $$props) $$invalidate(17, definitiveIframeWidth = $$props.definitiveIframeWidth);
|
|
12230
|
+
if ("definitiveIframeHeight" in $$props) $$invalidate(18, definitiveIframeHeight = $$props.definitiveIframeHeight);
|
|
12166
12231
|
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
12167
|
-
if ("customStylingContainer" in $$props) $$invalidate(
|
|
12168
|
-
if ("buttonsContainer" in $$props) $$invalidate(
|
|
12169
|
-
if ("timeContainer" in $$props) $$invalidate(
|
|
12232
|
+
if ("customStylingContainer" in $$props) $$invalidate(19, customStylingContainer = $$props.customStylingContainer);
|
|
12233
|
+
if ("buttonsContainer" in $$props) $$invalidate(20, buttonsContainer = $$props.buttonsContainer);
|
|
12234
|
+
if ("timeContainer" in $$props) $$invalidate(21, timeContainer = $$props.timeContainer);
|
|
12170
12235
|
if ("isOnNative" in $$props) isOnNative = $$props.isOnNative;
|
|
12171
12236
|
};
|
|
12172
12237
|
|
|
@@ -12175,23 +12240,23 @@
|
|
|
12175
12240
|
}
|
|
12176
12241
|
|
|
12177
12242
|
$$self.$$.update = () => {
|
|
12178
|
-
if ($$self.$$.dirty[0] & /*lang*/
|
|
12243
|
+
if ($$self.$$.dirty[0] & /*lang*/ 1073741824) {
|
|
12179
12244
|
lang && setActiveLanguage();
|
|
12180
12245
|
}
|
|
12181
12246
|
|
|
12182
|
-
if ($$self.$$.dirty[0] & /*endpoint, lang*/
|
|
12247
|
+
if ($$self.$$.dirty[0] & /*endpoint, lang*/ 1610612736 | $$self.$$.dirty[1] & /*gameid*/ 16384) {
|
|
12183
12248
|
endpoint && gameid && lang && createGameURL(gameid);
|
|
12184
12249
|
}
|
|
12185
12250
|
|
|
12186
|
-
if ($$self.$$.dirty[0] & /*session, userid
|
|
12251
|
+
if ($$self.$$.dirty[0] & /*endpoint*/ 536870912 | $$self.$$.dirty[1] & /*session, userid*/ 3) {
|
|
12187
12252
|
session && userid && endpoint && setSession();
|
|
12188
12253
|
}
|
|
12189
12254
|
|
|
12190
|
-
if ($$self.$$.dirty[1] & /*clientstyling*/
|
|
12255
|
+
if ($$self.$$.dirty[1] & /*clientstyling*/ 4) {
|
|
12191
12256
|
clientstyling && setClientStyling();
|
|
12192
12257
|
}
|
|
12193
12258
|
|
|
12194
|
-
if ($$self.$$.dirty[1] & /*clientstylingurl*/
|
|
12259
|
+
if ($$self.$$.dirty[1] & /*clientstylingurl*/ 8) {
|
|
12195
12260
|
clientstylingurl && setClientStylingURL();
|
|
12196
12261
|
}
|
|
12197
12262
|
};
|
|
@@ -12204,6 +12269,7 @@
|
|
|
12204
12269
|
isLoggedIn,
|
|
12205
12270
|
hasErrors,
|
|
12206
12271
|
isLoading,
|
|
12272
|
+
panicButton,
|
|
12207
12273
|
panicLoading,
|
|
12208
12274
|
game,
|
|
12209
12275
|
funMode,
|
|
@@ -12223,6 +12289,7 @@
|
|
|
12223
12289
|
toggleRegister,
|
|
12224
12290
|
toggleDeposit,
|
|
12225
12291
|
handleIframeSize,
|
|
12292
|
+
panicAction,
|
|
12226
12293
|
previousPage,
|
|
12227
12294
|
endpoint,
|
|
12228
12295
|
lang,
|
|
@@ -12245,6 +12312,7 @@
|
|
|
12245
12312
|
p_binding,
|
|
12246
12313
|
click_handler_1,
|
|
12247
12314
|
iframe_1_binding,
|
|
12315
|
+
button_binding,
|
|
12248
12316
|
click_handler_2,
|
|
12249
12317
|
click_handler_3,
|
|
12250
12318
|
click_handler_4,
|
|
@@ -12268,7 +12336,7 @@
|
|
|
12268
12336
|
class CasinoIntegratedGamePage extends SvelteElement {
|
|
12269
12337
|
constructor(options) {
|
|
12270
12338
|
super();
|
|
12271
|
-
this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.BottomGame.BottomGameLoggedin{justify-content:right}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.
|
|
12339
|
+
this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.BottomGame.BottomGameLoggedin{justify-content:right}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButtonAnimation{transition:all 3000ms ease-in;background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>`;
|
|
12272
12340
|
|
|
12273
12341
|
init(
|
|
12274
12342
|
this,
|
|
@@ -12281,25 +12349,25 @@
|
|
|
12281
12349
|
create_fragment,
|
|
12282
12350
|
safe_not_equal,
|
|
12283
12351
|
{
|
|
12284
|
-
endpoint:
|
|
12285
|
-
lang:
|
|
12286
|
-
session:
|
|
12287
|
-
userid:
|
|
12288
|
-
clientstyling:
|
|
12289
|
-
clientstylingurl:
|
|
12290
|
-
loginurl:
|
|
12291
|
-
registerurl:
|
|
12292
|
-
depositurl:
|
|
12293
|
-
loginevent:
|
|
12294
|
-
registerevent:
|
|
12295
|
-
depositevent:
|
|
12296
|
-
clockformat:
|
|
12352
|
+
endpoint: 29,
|
|
12353
|
+
lang: 30,
|
|
12354
|
+
session: 31,
|
|
12355
|
+
userid: 32,
|
|
12356
|
+
clientstyling: 33,
|
|
12357
|
+
clientstylingurl: 34,
|
|
12358
|
+
loginurl: 35,
|
|
12359
|
+
registerurl: 36,
|
|
12360
|
+
depositurl: 37,
|
|
12361
|
+
loginevent: 38,
|
|
12362
|
+
registerevent: 39,
|
|
12363
|
+
depositevent: 40,
|
|
12364
|
+
clockformat: 41,
|
|
12297
12365
|
haspanicbutton: 0,
|
|
12298
|
-
playforfun:
|
|
12299
|
-
checksession:
|
|
12300
|
-
integratedgameframe:
|
|
12366
|
+
playforfun: 42,
|
|
12367
|
+
checksession: 43,
|
|
12368
|
+
integratedgameframe: 44,
|
|
12301
12369
|
gamebanneractive: 1,
|
|
12302
|
-
gameid:
|
|
12370
|
+
gameid: 45
|
|
12303
12371
|
},
|
|
12304
12372
|
[-1, -1, -1]
|
|
12305
12373
|
);
|
|
@@ -12341,7 +12409,7 @@
|
|
|
12341
12409
|
}
|
|
12342
12410
|
|
|
12343
12411
|
get endpoint() {
|
|
12344
|
-
return this.$$.ctx[
|
|
12412
|
+
return this.$$.ctx[29];
|
|
12345
12413
|
}
|
|
12346
12414
|
|
|
12347
12415
|
set endpoint(endpoint) {
|
|
@@ -12350,7 +12418,7 @@
|
|
|
12350
12418
|
}
|
|
12351
12419
|
|
|
12352
12420
|
get lang() {
|
|
12353
|
-
return this.$$.ctx[
|
|
12421
|
+
return this.$$.ctx[30];
|
|
12354
12422
|
}
|
|
12355
12423
|
|
|
12356
12424
|
set lang(lang) {
|
|
@@ -12359,7 +12427,7 @@
|
|
|
12359
12427
|
}
|
|
12360
12428
|
|
|
12361
12429
|
get session() {
|
|
12362
|
-
return this.$$.ctx[
|
|
12430
|
+
return this.$$.ctx[31];
|
|
12363
12431
|
}
|
|
12364
12432
|
|
|
12365
12433
|
set session(session) {
|
|
@@ -12368,7 +12436,7 @@
|
|
|
12368
12436
|
}
|
|
12369
12437
|
|
|
12370
12438
|
get userid() {
|
|
12371
|
-
return this.$$.ctx[
|
|
12439
|
+
return this.$$.ctx[32];
|
|
12372
12440
|
}
|
|
12373
12441
|
|
|
12374
12442
|
set userid(userid) {
|
|
@@ -12377,7 +12445,7 @@
|
|
|
12377
12445
|
}
|
|
12378
12446
|
|
|
12379
12447
|
get clientstyling() {
|
|
12380
|
-
return this.$$.ctx[
|
|
12448
|
+
return this.$$.ctx[33];
|
|
12381
12449
|
}
|
|
12382
12450
|
|
|
12383
12451
|
set clientstyling(clientstyling) {
|
|
@@ -12386,7 +12454,7 @@
|
|
|
12386
12454
|
}
|
|
12387
12455
|
|
|
12388
12456
|
get clientstylingurl() {
|
|
12389
|
-
return this.$$.ctx[
|
|
12457
|
+
return this.$$.ctx[34];
|
|
12390
12458
|
}
|
|
12391
12459
|
|
|
12392
12460
|
set clientstylingurl(clientstylingurl) {
|
|
@@ -12395,7 +12463,7 @@
|
|
|
12395
12463
|
}
|
|
12396
12464
|
|
|
12397
12465
|
get loginurl() {
|
|
12398
|
-
return this.$$.ctx[
|
|
12466
|
+
return this.$$.ctx[35];
|
|
12399
12467
|
}
|
|
12400
12468
|
|
|
12401
12469
|
set loginurl(loginurl) {
|
|
@@ -12404,7 +12472,7 @@
|
|
|
12404
12472
|
}
|
|
12405
12473
|
|
|
12406
12474
|
get registerurl() {
|
|
12407
|
-
return this.$$.ctx[
|
|
12475
|
+
return this.$$.ctx[36];
|
|
12408
12476
|
}
|
|
12409
12477
|
|
|
12410
12478
|
set registerurl(registerurl) {
|
|
@@ -12413,7 +12481,7 @@
|
|
|
12413
12481
|
}
|
|
12414
12482
|
|
|
12415
12483
|
get depositurl() {
|
|
12416
|
-
return this.$$.ctx[
|
|
12484
|
+
return this.$$.ctx[37];
|
|
12417
12485
|
}
|
|
12418
12486
|
|
|
12419
12487
|
set depositurl(depositurl) {
|
|
@@ -12422,7 +12490,7 @@
|
|
|
12422
12490
|
}
|
|
12423
12491
|
|
|
12424
12492
|
get loginevent() {
|
|
12425
|
-
return this.$$.ctx[
|
|
12493
|
+
return this.$$.ctx[38];
|
|
12426
12494
|
}
|
|
12427
12495
|
|
|
12428
12496
|
set loginevent(loginevent) {
|
|
@@ -12431,7 +12499,7 @@
|
|
|
12431
12499
|
}
|
|
12432
12500
|
|
|
12433
12501
|
get registerevent() {
|
|
12434
|
-
return this.$$.ctx[
|
|
12502
|
+
return this.$$.ctx[39];
|
|
12435
12503
|
}
|
|
12436
12504
|
|
|
12437
12505
|
set registerevent(registerevent) {
|
|
@@ -12440,7 +12508,7 @@
|
|
|
12440
12508
|
}
|
|
12441
12509
|
|
|
12442
12510
|
get depositevent() {
|
|
12443
|
-
return this.$$.ctx[
|
|
12511
|
+
return this.$$.ctx[40];
|
|
12444
12512
|
}
|
|
12445
12513
|
|
|
12446
12514
|
set depositevent(depositevent) {
|
|
@@ -12449,7 +12517,7 @@
|
|
|
12449
12517
|
}
|
|
12450
12518
|
|
|
12451
12519
|
get clockformat() {
|
|
12452
|
-
return this.$$.ctx[
|
|
12520
|
+
return this.$$.ctx[41];
|
|
12453
12521
|
}
|
|
12454
12522
|
|
|
12455
12523
|
set clockformat(clockformat) {
|
|
@@ -12467,7 +12535,7 @@
|
|
|
12467
12535
|
}
|
|
12468
12536
|
|
|
12469
12537
|
get playforfun() {
|
|
12470
|
-
return this.$$.ctx[
|
|
12538
|
+
return this.$$.ctx[42];
|
|
12471
12539
|
}
|
|
12472
12540
|
|
|
12473
12541
|
set playforfun(playforfun) {
|
|
@@ -12476,7 +12544,7 @@
|
|
|
12476
12544
|
}
|
|
12477
12545
|
|
|
12478
12546
|
get checksession() {
|
|
12479
|
-
return this.$$.ctx[
|
|
12547
|
+
return this.$$.ctx[43];
|
|
12480
12548
|
}
|
|
12481
12549
|
|
|
12482
12550
|
set checksession(checksession) {
|
|
@@ -12485,7 +12553,7 @@
|
|
|
12485
12553
|
}
|
|
12486
12554
|
|
|
12487
12555
|
get integratedgameframe() {
|
|
12488
|
-
return this.$$.ctx[
|
|
12556
|
+
return this.$$.ctx[44];
|
|
12489
12557
|
}
|
|
12490
12558
|
|
|
12491
12559
|
set integratedgameframe(integratedgameframe) {
|
|
@@ -12503,7 +12571,7 @@
|
|
|
12503
12571
|
}
|
|
12504
12572
|
|
|
12505
12573
|
get gameid() {
|
|
12506
|
-
return this.$$.ctx[
|
|
12574
|
+
return this.$$.ctx[45];
|
|
12507
12575
|
}
|
|
12508
12576
|
|
|
12509
12577
|
set gameid(gameid) {
|