@everymatrix/casino-integrated-game-page 0.0.273 → 0.0.276

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.
@@ -4441,43 +4441,6 @@
4441
4441
 
4442
4442
  window.emWidgets = { topic };
4443
4443
 
4444
- /**
4445
- * @name isMobile
4446
- * @description A method that returns if the browser used to access the app is from a mobile device or not
4447
- * @param {String} userAgent window.navigator.userAgent
4448
- * @returns {Boolean} true or false
4449
- */
4450
- const isMobile = (userAgent) => {
4451
- return !!(
4452
- userAgent.toLowerCase().match(/android/i) ||
4453
- userAgent.toLowerCase().match(/blackberry|bb/i) ||
4454
- userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
4455
- userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)
4456
- );
4457
- };
4458
-
4459
- /**
4460
- * @name getDevice
4461
- * @description A method that returns the type of the device
4462
- * @param {String} userAgent window.navigator.userAgent
4463
- * @returns {String} Android/iPhone/iPad/PC
4464
- */
4465
- const getDevice = (userAgent) => {
4466
- if (userAgent.toLowerCase().match(/android/i)) {
4467
- return 'Android';
4468
- }
4469
-
4470
- if (userAgent.toLowerCase().match(/iphone/i)) {
4471
- return 'iPhone';
4472
- }
4473
-
4474
- if (userAgent.toLowerCase().match(/ipad|ipod/i)) {
4475
- return 'iPad';
4476
- }
4477
-
4478
- return 'PC';
4479
- };
4480
-
4481
4444
  function checkSession(endpoint, session) {
4482
4445
  return new Promise((resolve, reject) => {
4483
4446
  let reqHeaders = new Headers();
@@ -10436,10 +10399,17 @@
10436
10399
  const { Object: Object_1, console: console_1 } = globals;
10437
10400
  const file = "src/CasinoIntegratedGamePage.svelte";
10438
10401
 
10439
- // (396:2) {:else}
10402
+ // (290:2) {:else}
10440
10403
  function create_else_block(ctx) {
10441
10404
  let div;
10442
- let if_block = /*detailsObtained*/ ctx[7] && create_if_block_2(ctx);
10405
+
10406
+ function select_block_type_1(ctx, dirty) {
10407
+ if (/*isLoggedIn*/ ctx[4]) return create_if_block_2;
10408
+ if (/*funMode*/ ctx[8]) return create_if_block_6;
10409
+ }
10410
+
10411
+ let current_block_type = select_block_type_1(ctx);
10412
+ let if_block = current_block_type && current_block_type(ctx);
10443
10413
 
10444
10414
  const block = {
10445
10415
  c: function create() {
@@ -10447,31 +10417,34 @@
10447
10417
  if (if_block) if_block.c();
10448
10418
  attr_dev(div, "class", "CasinoIntegratedGamePage");
10449
10419
  attr_dev(div, "part", "CasinoIntegratedGamePage");
10450
- add_location(div, file, 396, 4, 13869);
10420
+ add_location(div, file, 290, 4, 10116);
10451
10421
  },
10452
10422
  m: function mount(target, anchor) {
10453
10423
  insert_dev(target, div, anchor);
10454
10424
  if (if_block) if_block.m(div, null);
10455
- /*div_binding*/ ctx[67](div);
10425
+ /*div_binding*/ ctx[64](div);
10456
10426
  },
10457
10427
  p: function update(ctx, dirty) {
10458
- if (/*detailsObtained*/ ctx[7]) {
10428
+ if (current_block_type === (current_block_type = select_block_type_1(ctx)) && if_block) {
10429
+ if_block.p(ctx, dirty);
10430
+ } else {
10431
+ if (if_block) if_block.d(1);
10432
+ if_block = current_block_type && current_block_type(ctx);
10433
+
10459
10434
  if (if_block) {
10460
- if_block.p(ctx, dirty);
10461
- } else {
10462
- if_block = create_if_block_2(ctx);
10463
10435
  if_block.c();
10464
10436
  if_block.m(div, null);
10465
10437
  }
10466
- } else if (if_block) {
10467
- if_block.d(1);
10468
- if_block = null;
10469
10438
  }
10470
10439
  },
10471
10440
  d: function destroy(detaching) {
10472
10441
  if (detaching) detach_dev(div);
10473
- if (if_block) if_block.d();
10474
- /*div_binding*/ ctx[67](null);
10442
+
10443
+ if (if_block) {
10444
+ if_block.d();
10445
+ }
10446
+
10447
+ /*div_binding*/ ctx[64](null);
10475
10448
  }
10476
10449
  };
10477
10450
 
@@ -10479,14 +10452,14 @@
10479
10452
  block,
10480
10453
  id: create_else_block.name,
10481
10454
  type: "else",
10482
- source: "(396:2) {:else}",
10455
+ source: "(290:2) {:else}",
10483
10456
  ctx
10484
10457
  });
10485
10458
 
10486
10459
  return block;
10487
10460
  }
10488
10461
 
10489
- // (394:2) {#if hasErrors}
10462
+ // (288:2) {#if hasErrors}
10490
10463
  function create_if_block_1(ctx) {
10491
10464
  let p;
10492
10465
 
@@ -10496,7 +10469,7 @@
10496
10469
  p.textContent = "500 Error - Internal Server Error.";
10497
10470
  attr_dev(p, "class", "SearchLoading");
10498
10471
  attr_dev(p, "part", "SearchLoading");
10499
- add_location(p, file, 394, 4, 13770);
10472
+ add_location(p, file, 288, 4, 10017);
10500
10473
  },
10501
10474
  m: function mount(target, anchor) {
10502
10475
  insert_dev(target, p, anchor);
@@ -10511,14 +10484,14 @@
10511
10484
  block,
10512
10485
  id: create_if_block_1.name,
10513
10486
  type: "if",
10514
- source: "(394:2) {#if hasErrors}",
10487
+ source: "(288:2) {#if hasErrors}",
10515
10488
  ctx
10516
10489
  });
10517
10490
 
10518
10491
  return block;
10519
10492
  }
10520
10493
 
10521
- // (391:0) {#if isLoading}
10494
+ // (285:0) {#if isLoading}
10522
10495
  function create_if_block(ctx) {
10523
10496
  let p;
10524
10497
 
@@ -10528,7 +10501,7 @@
10528
10501
  p.textContent = "Loading, please wait ...";
10529
10502
  attr_dev(p, "class", "SearchLoading");
10530
10503
  attr_dev(p, "part", "SearchLoading");
10531
- add_location(p, file, 391, 2, 13665);
10504
+ add_location(p, file, 285, 2, 9912);
10532
10505
  },
10533
10506
  m: function mount(target, anchor) {
10534
10507
  insert_dev(target, p, anchor);
@@ -10543,115 +10516,16 @@
10543
10516
  block,
10544
10517
  id: create_if_block.name,
10545
10518
  type: "if",
10546
- source: "(391:0) {#if isLoading}",
10547
- ctx
10548
- });
10549
-
10550
- return block;
10551
- }
10552
-
10553
- // (398:6) {#if detailsObtained}
10554
- function create_if_block_2(ctx) {
10555
- let if_block_anchor;
10556
- let if_block = /*mobileView*/ ctx[17] && create_if_block_3(ctx);
10557
-
10558
- const block = {
10559
- c: function create() {
10560
- if (if_block) if_block.c();
10561
- if_block_anchor = empty();
10562
- },
10563
- m: function mount(target, anchor) {
10564
- if (if_block) if_block.m(target, anchor);
10565
- insert_dev(target, if_block_anchor, anchor);
10566
- },
10567
- p: function update(ctx, dirty) {
10568
- if (/*mobileView*/ ctx[17]) {
10569
- if (if_block) {
10570
- if_block.p(ctx, dirty);
10571
- } else {
10572
- if_block = create_if_block_3(ctx);
10573
- if_block.c();
10574
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
10575
- }
10576
- } else if (if_block) {
10577
- if_block.d(1);
10578
- if_block = null;
10579
- }
10580
- },
10581
- d: function destroy(detaching) {
10582
- if (if_block) if_block.d(detaching);
10583
- if (detaching) detach_dev(if_block_anchor);
10584
- }
10585
- };
10586
-
10587
- dispatch_dev("SvelteRegisterBlock", {
10588
- block,
10589
- id: create_if_block_2.name,
10590
- type: "if",
10591
- source: "(398:6) {#if detailsObtained}",
10592
- ctx
10593
- });
10594
-
10595
- return block;
10596
- }
10597
-
10598
- // (399:8) {#if mobileView}
10599
- function create_if_block_3(ctx) {
10600
- let if_block_anchor;
10601
-
10602
- function select_block_type_1(ctx, dirty) {
10603
- if (/*isLoggedIn*/ ctx[3]) return create_if_block_4;
10604
- if (/*funMode*/ ctx[8]) return create_if_block_7;
10605
- }
10606
-
10607
- let current_block_type = select_block_type_1(ctx);
10608
- let if_block = current_block_type && current_block_type(ctx);
10609
-
10610
- const block = {
10611
- c: function create() {
10612
- if (if_block) if_block.c();
10613
- if_block_anchor = empty();
10614
- },
10615
- m: function mount(target, anchor) {
10616
- if (if_block) if_block.m(target, anchor);
10617
- insert_dev(target, if_block_anchor, anchor);
10618
- },
10619
- p: function update(ctx, dirty) {
10620
- if (current_block_type === (current_block_type = select_block_type_1(ctx)) && if_block) {
10621
- if_block.p(ctx, dirty);
10622
- } else {
10623
- if (if_block) if_block.d(1);
10624
- if_block = current_block_type && current_block_type(ctx);
10625
-
10626
- if (if_block) {
10627
- if_block.c();
10628
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
10629
- }
10630
- }
10631
- },
10632
- d: function destroy(detaching) {
10633
- if (if_block) {
10634
- if_block.d(detaching);
10635
- }
10636
-
10637
- if (detaching) detach_dev(if_block_anchor);
10638
- }
10639
- };
10640
-
10641
- dispatch_dev("SvelteRegisterBlock", {
10642
- block,
10643
- id: create_if_block_3.name,
10644
- type: "if",
10645
- source: "(399:8) {#if mobileView}",
10519
+ source: "(285:0) {#if isLoading}",
10646
10520
  ctx
10647
10521
  });
10648
10522
 
10649
10523
  return block;
10650
10524
  }
10651
10525
 
10652
- // (434:12) {#if funMode}
10653
- function create_if_block_7(ctx) {
10654
- let div0;
10526
+ // (329:8) {#if funMode}
10527
+ function create_if_block_6(ctx) {
10528
+ let div1;
10655
10529
  let button0;
10656
10530
  let svg;
10657
10531
  let defs;
@@ -10663,41 +10537,39 @@
10663
10537
  let span;
10664
10538
  let t2;
10665
10539
  let t3;
10666
- let button1;
10667
- let t4_value = /*$_*/ ctx[21]("gamePage.deposit") + "";
10540
+ let div0;
10668
10541
  let t4;
10669
- let t5;
10670
10542
  let div5;
10671
10543
  let div4;
10672
10544
  let iframe_1;
10673
10545
  let iframe_1_src_value;
10674
- let t6;
10546
+ let t5;
10547
+ let div3;
10675
10548
  let div2;
10676
- let div1;
10677
- let button2;
10678
- let t7_value = /*$_*/ ctx[21]("gamePage.signIn") + "";
10549
+ let button1;
10550
+ let t6_value = /*$_*/ ctx[20]("gamePage.signIn") + "";
10551
+ let t6;
10679
10552
  let t7;
10553
+ let button2;
10554
+ let t8_value = /*$_*/ ctx[20]("gamePage.register") + "";
10680
10555
  let t8;
10681
- let button3;
10682
- let t9_value = /*$_*/ ctx[21]("gamePage.register") + "";
10683
10556
  let t9;
10684
10557
  let t10;
10685
- let t11;
10686
- let div3;
10687
10558
  let mounted;
10688
10559
  let dispose;
10689
10560
 
10690
10561
  function select_block_type_3(ctx, dirty) {
10691
- if (/*isFullscreen*/ ctx[12]) return create_if_block_8;
10562
+ if (/*isFullscreen*/ ctx[14]) return create_if_block_8;
10692
10563
  return create_else_block_2;
10693
10564
  }
10694
10565
 
10695
10566
  let current_block_type = select_block_type_3(ctx);
10696
- let if_block = current_block_type(ctx);
10567
+ let if_block0 = current_block_type(ctx);
10568
+ let if_block1 = /*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[14] && create_if_block_7(ctx);
10697
10569
 
10698
10570
  const block = {
10699
10571
  c: function create() {
10700
- div0 = element("div");
10572
+ div1 = element("div");
10701
10573
  button0 = element("button");
10702
10574
  svg = svg_element("svg");
10703
10575
  defs = svg_element("defs");
@@ -10707,221 +10579,214 @@
10707
10579
  t1 = space();
10708
10580
  p = element("p");
10709
10581
  span = element("span");
10710
- t2 = text(/*time*/ ctx[1]);
10582
+ t2 = text(/*time*/ ctx[2]);
10711
10583
  t3 = space();
10712
- button1 = element("button");
10713
- t4 = text(t4_value);
10714
- t5 = space();
10584
+ div0 = element("div");
10585
+ t4 = space();
10715
10586
  div5 = element("div");
10716
10587
  div4 = element("div");
10717
10588
  iframe_1 = element("iframe");
10718
- t6 = space();
10589
+ t5 = space();
10590
+ div3 = element("div");
10719
10591
  div2 = element("div");
10720
- div1 = element("div");
10592
+ button1 = element("button");
10593
+ t6 = text(t6_value);
10594
+ t7 = space();
10721
10595
  button2 = element("button");
10722
- t7 = text(t7_value);
10723
- t8 = space();
10724
- button3 = element("button");
10725
- t9 = text(t9_value);
10596
+ t8 = text(t8_value);
10597
+ t9 = space();
10598
+ if_block0.c();
10726
10599
  t10 = space();
10727
- if_block.c();
10728
- t11 = space();
10729
- div3 = element("div");
10730
- add_location(style, file, 436, 84, 18308);
10731
- add_location(defs, file, 436, 78, 18302);
10600
+ if (if_block1) if_block1.c();
10601
+ add_location(style, file, 331, 80, 14332);
10602
+ add_location(defs, file, 331, 74, 14326);
10732
10603
  attr_dev(path, "class", "a");
10733
10604
  attr_dev(path, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z");
10734
10605
  attr_dev(path, "transform", "translate(24 24) rotate(180)");
10735
- add_location(path, file, 436, 152, 18376);
10606
+ add_location(path, file, 331, 148, 14400);
10736
10607
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
10737
10608
  attr_dev(svg, "viewBox", "0 0 24 24");
10738
- add_location(svg, file, 436, 18, 18242);
10609
+ add_location(svg, file, 331, 14, 14266);
10739
10610
  attr_dev(button0, "class", "backButton");
10740
10611
  attr_dev(button0, "part", "backButton");
10741
- add_location(button0, file, 435, 16, 18152);
10742
- add_location(span, file, 438, 70, 18608);
10612
+ add_location(button0, file, 330, 12, 14174);
10613
+ add_location(span, file, 333, 66, 14624);
10743
10614
  attr_dev(p, "class", "Time");
10744
10615
  attr_dev(p, "part", "Time");
10745
- add_location(p, file, 438, 16, 18554);
10746
- attr_dev(button1, "class", "DepositButton");
10747
- attr_dev(button1, "part", "DepositButton");
10748
- add_location(button1, file, 439, 16, 18648);
10749
- attr_dev(div0, "class", "GamePageIntegratedTopSection");
10750
- attr_dev(div0, "part", "GamePageIntegratedTopSection");
10751
- add_location(div0, file, 434, 14, 18057);
10616
+ add_location(p, file, 333, 12, 14570);
10617
+ add_location(div0, file, 334, 12, 14660);
10618
+ attr_dev(div1, "class", "GamePageIntegratedTopSection");
10619
+ attr_dev(div1, "part", "GamePageIntegratedTopSection");
10620
+ add_location(div1, file, 329, 10, 14083);
10752
10621
  attr_dev(iframe_1, "title", "Games");
10753
10622
  attr_dev(iframe_1, "class", "GamesContainer");
10754
10623
  attr_dev(iframe_1, "part", "GamesContainer");
10755
10624
  attr_dev(iframe_1, "aria-hidden", "false");
10756
- if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[6].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
10757
- add_location(iframe_1, file, 443, 18, 19432);
10758
- attr_dev(button2, "class", "LoginButton");
10759
- attr_dev(button2, "part", "LoginButton");
10760
- add_location(button2, file, 446, 22, 19748);
10761
- attr_dev(button3, "class", "RegisterButton");
10762
- attr_dev(button3, "part", "RegisterButton");
10763
- add_location(button3, file, 447, 22, 19883);
10764
- attr_dev(div1, "class", "ButtonsContainer");
10765
- attr_dev(div1, "part", "ButtonsContainer");
10766
- add_location(div1, file, 445, 20, 19671);
10767
- attr_dev(div2, "class", "BottomGame");
10768
- attr_dev(div2, "part", "BottomGame");
10769
- add_location(div2, file, 444, 18, 19579);
10770
- attr_dev(div3, "class", "BannerSection");
10771
- attr_dev(div3, "part", "BannerSection");
10772
- add_location(div3, file, 459, 18, 21412);
10625
+ if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[7].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
10626
+ add_location(iframe_1, file, 338, 14, 15349);
10627
+ attr_dev(button1, "class", "LoginButton");
10628
+ attr_dev(button1, "part", "LoginButton");
10629
+ add_location(button1, file, 341, 18, 15701);
10630
+ attr_dev(button2, "class", "RegisterButton");
10631
+ attr_dev(button2, "part", "RegisterButton");
10632
+ add_location(button2, file, 342, 18, 15830);
10633
+ attr_dev(div2, "class", "ButtonsContainer ButtonsContainerFunMode");
10634
+ attr_dev(div2, "part", "ButtonsContainer ButtonsContainerFunMode");
10635
+ add_location(div2, file, 340, 16, 15580);
10636
+ attr_dev(div3, "class", "BottomGame");
10637
+ attr_dev(div3, "part", "BottomGame");
10638
+ add_location(div3, file, 339, 14, 15492);
10773
10639
  attr_dev(div4, "id", "IframeGame");
10774
10640
  attr_dev(div4, "part", "IframeGame");
10775
10641
 
10776
- set_style(div4, "width", /*isFullscreen*/ ctx[12]
10642
+ set_style(div4, "width", /*isFullscreen*/ ctx[14]
10777
10643
  ? "100%"
10778
10644
  : /*definitiveIframeWidth*/ ctx[15]);
10779
10645
 
10780
- set_style(div4, "height", /*isFullscreen*/ ctx[12]
10646
+ set_style(div4, "height", /*isFullscreen*/ ctx[14]
10781
10647
  ? "100%"
10782
10648
  : /*definitiveIframeHeight*/ ctx[16]);
10783
10649
 
10784
- set_style(div4, "max-width", /*isFullscreen*/ ctx[12] || !/*isModal*/ ctx[9]
10650
+ set_style(div4, "max-width", /*isFullscreen*/ ctx[14] || !/*isModal*/ ctx[9]
10785
10651
  ? "none"
10786
- : /*game*/ ctx[6].width
10787
- ? Math.floor(/*game*/ ctx[6].width) + "px"
10652
+ : /*game*/ ctx[7].width
10653
+ ? Math.floor(/*game*/ ctx[7].width) + "px"
10788
10654
  : "1280px");
10789
10655
 
10790
- set_style(div4, "max-height", /*isFullscreen*/ ctx[12] || !/*isModal*/ ctx[9]
10656
+ set_style(div4, "max-height", /*isFullscreen*/ ctx[14] || !/*isModal*/ ctx[9]
10791
10657
  ? "none"
10792
- : /*game*/ ctx[6].height
10793
- ? Math.floor(/*game*/ ctx[6].height) + 100 + "px"
10658
+ : /*game*/ ctx[7].height
10659
+ ? Math.floor(/*game*/ ctx[7].height) + 100 + "px"
10794
10660
  : "720px");
10795
10661
 
10796
- add_location(div4, file, 442, 16, 19000);
10662
+ add_location(div4, file, 337, 12, 14921);
10797
10663
  attr_dev(div5, "id", "IframeContainer");
10798
10664
  attr_dev(div5, "part", "IframeContainer");
10799
- set_style(div5, "width", /*modalFrameWidth*/ ctx[13]);
10800
- set_style(div5, "height", /*modalFrameHeight*/ ctx[14]);
10801
- toggle_class(div5, "FullsScreenLayout", /*isFullscreen*/ ctx[12]);
10802
- add_location(div5, file, 441, 14, 18803);
10665
+ toggle_class(div5, "FullsScreenLayout", /*isFullscreen*/ ctx[14]);
10666
+ add_location(div5, file, 336, 10, 14789);
10803
10667
  },
10804
10668
  m: function mount(target, anchor) {
10805
- insert_dev(target, div0, anchor);
10806
- append_dev(div0, button0);
10669
+ insert_dev(target, div1, anchor);
10670
+ append_dev(div1, button0);
10807
10671
  append_dev(button0, svg);
10808
10672
  append_dev(svg, defs);
10809
10673
  append_dev(defs, style);
10810
10674
  append_dev(style, t0);
10811
10675
  append_dev(svg, path);
10812
- append_dev(div0, t1);
10813
- append_dev(div0, p);
10676
+ append_dev(div1, t1);
10677
+ append_dev(div1, p);
10814
10678
  append_dev(p, span);
10815
10679
  append_dev(span, t2);
10816
- /*p_binding_1*/ ctx[57](p);
10817
- append_dev(div0, t3);
10818
- append_dev(div0, button1);
10819
- append_dev(button1, t4);
10820
- insert_dev(target, t5, anchor);
10680
+ /*p_binding_1*/ ctx[55](p);
10681
+ append_dev(div1, t3);
10682
+ append_dev(div1, div0);
10683
+ insert_dev(target, t4, anchor);
10821
10684
  insert_dev(target, div5, anchor);
10822
10685
  append_dev(div5, div4);
10823
10686
  append_dev(div4, iframe_1);
10824
- /*iframe_1_binding_1*/ ctx[59](iframe_1);
10825
- append_dev(div4, t6);
10826
- append_dev(div4, div2);
10827
- append_dev(div2, div1);
10828
- append_dev(div1, button2);
10829
- append_dev(button2, t7);
10830
- append_dev(div1, t8);
10831
- append_dev(div1, button3);
10832
- append_dev(button3, t9);
10833
- append_dev(div2, t10);
10834
- if_block.m(div2, null);
10835
- /*div2_binding*/ ctx[64](div2);
10836
- append_dev(div4, t11);
10687
+ /*iframe_1_binding_1*/ ctx[56](iframe_1);
10688
+ append_dev(div4, t5);
10837
10689
  append_dev(div4, div3);
10838
- /*div4_binding_1*/ ctx[65](div4);
10839
- /*div5_binding*/ ctx[66](div5);
10690
+ append_dev(div3, div2);
10691
+ append_dev(div2, button1);
10692
+ append_dev(button1, t6);
10693
+ append_dev(div2, t7);
10694
+ append_dev(div2, button2);
10695
+ append_dev(button2, t8);
10696
+ append_dev(div3, t9);
10697
+ if_block0.m(div3, null);
10698
+ /*div3_binding_1*/ ctx[61](div3);
10699
+ /*div4_binding*/ ctx[62](div4);
10700
+ append_dev(div5, t10);
10701
+ if (if_block1) if_block1.m(div5, null);
10702
+ /*div5_binding*/ ctx[63](div5);
10840
10703
 
10841
10704
  if (!mounted) {
10842
10705
  dispose = [
10843
- listen_dev(button0, "click", /*click_handler_6*/ ctx[56], false, false, false),
10844
- listen_dev(button1, "click", /*click_handler_7*/ ctx[58], false, false, false),
10845
- listen_dev(button2, "click", /*click_handler_8*/ ctx[60], false, false, false),
10846
- listen_dev(button3, "click", /*click_handler_9*/ ctx[61], false, false, false)
10706
+ listen_dev(button0, "click", /*click_handler_5*/ ctx[54], false, false, false),
10707
+ listen_dev(button1, "click", /*click_handler_6*/ ctx[57], false, false, false),
10708
+ listen_dev(button2, "click", /*click_handler_7*/ ctx[58], false, false, false)
10847
10709
  ];
10848
10710
 
10849
10711
  mounted = true;
10850
10712
  }
10851
10713
  },
10852
10714
  p: function update(ctx, dirty) {
10853
- if (dirty[0] & /*time*/ 2) set_data_dev(t2, /*time*/ ctx[1]);
10854
- if (dirty[0] & /*$_*/ 2097152 && t4_value !== (t4_value = /*$_*/ ctx[21]("gamePage.deposit") + "")) set_data_dev(t4, t4_value);
10715
+ if (dirty[0] & /*time*/ 4) set_data_dev(t2, /*time*/ ctx[2]);
10855
10716
 
10856
- if (dirty[0] & /*game*/ 64 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[6].launchUrl)) {
10717
+ if (dirty[0] & /*game*/ 128 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[7].launchUrl)) {
10857
10718
  attr_dev(iframe_1, "src", iframe_1_src_value);
10858
10719
  }
10859
10720
 
10860
- if (dirty[0] & /*$_*/ 2097152 && t7_value !== (t7_value = /*$_*/ ctx[21]("gamePage.signIn") + "")) set_data_dev(t7, t7_value);
10861
- if (dirty[0] & /*$_*/ 2097152 && t9_value !== (t9_value = /*$_*/ ctx[21]("gamePage.register") + "")) set_data_dev(t9, t9_value);
10721
+ if (dirty[0] & /*$_*/ 1048576 && t6_value !== (t6_value = /*$_*/ ctx[20]("gamePage.signIn") + "")) set_data_dev(t6, t6_value);
10722
+ if (dirty[0] & /*$_*/ 1048576 && t8_value !== (t8_value = /*$_*/ ctx[20]("gamePage.register") + "")) set_data_dev(t8, t8_value);
10862
10723
 
10863
- if (current_block_type === (current_block_type = select_block_type_3(ctx)) && if_block) {
10864
- if_block.p(ctx, dirty);
10724
+ if (current_block_type === (current_block_type = select_block_type_3(ctx)) && if_block0) {
10725
+ if_block0.p(ctx, dirty);
10865
10726
  } else {
10866
- if_block.d(1);
10867
- if_block = current_block_type(ctx);
10727
+ if_block0.d(1);
10728
+ if_block0 = current_block_type(ctx);
10868
10729
 
10869
- if (if_block) {
10870
- if_block.c();
10871
- if_block.m(div2, null);
10730
+ if (if_block0) {
10731
+ if_block0.c();
10732
+ if_block0.m(div3, null);
10872
10733
  }
10873
10734
  }
10874
10735
 
10875
- if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 36864) {
10876
- set_style(div4, "width", /*isFullscreen*/ ctx[12]
10736
+ if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 49152) {
10737
+ set_style(div4, "width", /*isFullscreen*/ ctx[14]
10877
10738
  ? "100%"
10878
10739
  : /*definitiveIframeWidth*/ ctx[15]);
10879
10740
  }
10880
10741
 
10881
- if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 69632) {
10882
- set_style(div4, "height", /*isFullscreen*/ ctx[12]
10742
+ if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 81920) {
10743
+ set_style(div4, "height", /*isFullscreen*/ ctx[14]
10883
10744
  ? "100%"
10884
10745
  : /*definitiveIframeHeight*/ ctx[16]);
10885
10746
  }
10886
10747
 
10887
- if (dirty[0] & /*isFullscreen, isModal, game*/ 4672) {
10888
- set_style(div4, "max-width", /*isFullscreen*/ ctx[12] || !/*isModal*/ ctx[9]
10748
+ if (dirty[0] & /*isFullscreen, isModal, game*/ 17024) {
10749
+ set_style(div4, "max-width", /*isFullscreen*/ ctx[14] || !/*isModal*/ ctx[9]
10889
10750
  ? "none"
10890
- : /*game*/ ctx[6].width
10891
- ? Math.floor(/*game*/ ctx[6].width) + "px"
10751
+ : /*game*/ ctx[7].width
10752
+ ? Math.floor(/*game*/ ctx[7].width) + "px"
10892
10753
  : "1280px");
10893
10754
  }
10894
10755
 
10895
- if (dirty[0] & /*isFullscreen, isModal, game*/ 4672) {
10896
- set_style(div4, "max-height", /*isFullscreen*/ ctx[12] || !/*isModal*/ ctx[9]
10756
+ if (dirty[0] & /*isFullscreen, isModal, game*/ 17024) {
10757
+ set_style(div4, "max-height", /*isFullscreen*/ ctx[14] || !/*isModal*/ ctx[9]
10897
10758
  ? "none"
10898
- : /*game*/ ctx[6].height
10899
- ? Math.floor(/*game*/ ctx[6].height) + 100 + "px"
10759
+ : /*game*/ ctx[7].height
10760
+ ? Math.floor(/*game*/ ctx[7].height) + 100 + "px"
10900
10761
  : "720px");
10901
10762
  }
10902
10763
 
10903
- if (dirty[0] & /*modalFrameWidth*/ 8192) {
10904
- set_style(div5, "width", /*modalFrameWidth*/ ctx[13]);
10905
- }
10906
-
10907
- if (dirty[0] & /*modalFrameHeight*/ 16384) {
10908
- set_style(div5, "height", /*modalFrameHeight*/ ctx[14]);
10764
+ if (/*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[14]) {
10765
+ if (if_block1) ; else {
10766
+ if_block1 = create_if_block_7(ctx);
10767
+ if_block1.c();
10768
+ if_block1.m(div5, null);
10769
+ }
10770
+ } else if (if_block1) {
10771
+ if_block1.d(1);
10772
+ if_block1 = null;
10909
10773
  }
10910
10774
 
10911
- if (dirty[0] & /*isFullscreen*/ 4096) {
10912
- toggle_class(div5, "FullsScreenLayout", /*isFullscreen*/ ctx[12]);
10775
+ if (dirty[0] & /*isFullscreen*/ 16384) {
10776
+ toggle_class(div5, "FullsScreenLayout", /*isFullscreen*/ ctx[14]);
10913
10777
  }
10914
10778
  },
10915
10779
  d: function destroy(detaching) {
10916
- if (detaching) detach_dev(div0);
10917
- /*p_binding_1*/ ctx[57](null);
10918
- if (detaching) detach_dev(t5);
10780
+ if (detaching) detach_dev(div1);
10781
+ /*p_binding_1*/ ctx[55](null);
10782
+ if (detaching) detach_dev(t4);
10919
10783
  if (detaching) detach_dev(div5);
10920
- /*iframe_1_binding_1*/ ctx[59](null);
10921
- if_block.d();
10922
- /*div2_binding*/ ctx[64](null);
10923
- /*div4_binding_1*/ ctx[65](null);
10924
- /*div5_binding*/ ctx[66](null);
10784
+ /*iframe_1_binding_1*/ ctx[56](null);
10785
+ if_block0.d();
10786
+ /*div3_binding_1*/ ctx[61](null);
10787
+ /*div4_binding*/ ctx[62](null);
10788
+ if (if_block1) if_block1.d();
10789
+ /*div5_binding*/ ctx[63](null);
10925
10790
  mounted = false;
10926
10791
  run_all(dispose);
10927
10792
  }
@@ -10929,17 +10794,17 @@
10929
10794
 
10930
10795
  dispatch_dev("SvelteRegisterBlock", {
10931
10796
  block,
10932
- id: create_if_block_7.name,
10797
+ id: create_if_block_6.name,
10933
10798
  type: "if",
10934
- source: "(434:12) {#if funMode}",
10799
+ source: "(329:8) {#if funMode}",
10935
10800
  ctx
10936
10801
  });
10937
10802
 
10938
10803
  return block;
10939
10804
  }
10940
10805
 
10941
- // (400:10) {#if isLoggedIn}
10942
- function create_if_block_4(ctx) {
10806
+ // (292:6) {#if isLoggedIn}
10807
+ function create_if_block_2(ctx) {
10943
10808
  let div0;
10944
10809
  let button0;
10945
10810
  let svg;
@@ -10953,33 +10818,31 @@
10953
10818
  let t2;
10954
10819
  let t3;
10955
10820
  let button1;
10956
- let t4_value = /*$_*/ ctx[21]("gamePage.deposit") + "";
10821
+ let t4_value = /*$_*/ ctx[20]("gamePage.deposit") + "";
10957
10822
  let t4;
10958
10823
  let t5;
10959
- let div4;
10960
10824
  let div3;
10825
+ let div2;
10961
10826
  let iframe_1;
10962
10827
  let iframe_1_src_value;
10828
+ let iframe_1_width_value;
10829
+ let iframe_1_height_value;
10963
10830
  let t6;
10964
10831
  let div1;
10965
- let button2;
10966
- let t7_value = /*$_*/ ctx[21]("gamePage.deposit") + "";
10967
10832
  let t7;
10968
10833
  let t8;
10969
- let t9;
10970
- let t10;
10971
- let div2;
10972
10834
  let mounted;
10973
10835
  let dispose;
10974
- let if_block0 = /*haspanicbutton*/ ctx[0] === "true" && create_if_block_6(ctx);
10836
+ let if_block0 = /*haspanicbutton*/ ctx[0] === "true" && create_if_block_5(ctx);
10975
10837
 
10976
10838
  function select_block_type_2(ctx, dirty) {
10977
- if (/*isFullscreen*/ ctx[12]) return create_if_block_5;
10839
+ if (/*isFullscreen*/ ctx[14]) return create_if_block_4;
10978
10840
  return create_else_block_1;
10979
10841
  }
10980
10842
 
10981
10843
  let current_block_type = select_block_type_2(ctx);
10982
10844
  let if_block1 = current_block_type(ctx);
10845
+ let if_block2 = /*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[14] && create_if_block_3(ctx);
10983
10846
 
10984
10847
  const block = {
10985
10848
  c: function create() {
@@ -10988,97 +10851,88 @@
10988
10851
  svg = svg_element("svg");
10989
10852
  defs = svg_element("defs");
10990
10853
  style = svg_element("style");
10991
- t0 = text(".a{fill:var(--emfe-w-color-primary, #D0046C);}");
10854
+ t0 = text(".a{fill:var(--emfe-w-color-primary, #FFF);}");
10992
10855
  path = svg_element("path");
10993
10856
  t1 = space();
10994
10857
  p = element("p");
10995
10858
  span = element("span");
10996
- t2 = text(/*time*/ ctx[1]);
10859
+ t2 = text(/*time*/ ctx[2]);
10997
10860
  t3 = space();
10998
10861
  button1 = element("button");
10999
10862
  t4 = text(t4_value);
11000
10863
  t5 = space();
11001
- div4 = element("div");
11002
10864
  div3 = element("div");
10865
+ div2 = element("div");
11003
10866
  iframe_1 = element("iframe");
11004
10867
  t6 = space();
11005
10868
  div1 = element("div");
11006
- button2 = element("button");
11007
- t7 = text(t7_value);
11008
- t8 = space();
11009
10869
  if (if_block0) if_block0.c();
11010
- t9 = space();
10870
+ t7 = space();
11011
10871
  if_block1.c();
11012
- t10 = space();
11013
- div2 = element("div");
11014
- add_location(style, file, 402, 84, 14320);
11015
- add_location(defs, file, 402, 78, 14314);
10872
+ t8 = space();
10873
+ if (if_block2) if_block2.c();
10874
+ add_location(style, file, 294, 78, 10498);
10875
+ add_location(defs, file, 294, 72, 10492);
11016
10876
  attr_dev(path, "class", "a");
11017
10877
  attr_dev(path, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z");
11018
10878
  attr_dev(path, "transform", "translate(24 24) rotate(180)");
11019
- add_location(path, file, 402, 152, 14388);
10879
+ add_location(path, file, 294, 143, 10563);
11020
10880
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11021
10881
  attr_dev(svg, "viewBox", "0 0 24 24");
11022
- add_location(svg, file, 402, 18, 14254);
10882
+ add_location(svg, file, 294, 12, 10432);
11023
10883
  attr_dev(button0, "class", "backButton");
11024
10884
  attr_dev(button0, "part", "backButton");
11025
- add_location(button0, file, 401, 16, 14164);
11026
- add_location(span, file, 404, 70, 14620);
10885
+ add_location(button0, file, 293, 10, 10342);
10886
+ add_location(span, file, 296, 64, 10783);
11027
10887
  attr_dev(p, "class", "Time");
11028
10888
  attr_dev(p, "part", "Time");
11029
- add_location(p, file, 404, 16, 14566);
10889
+ add_location(p, file, 296, 10, 10729);
11030
10890
  attr_dev(button1, "class", "DepositButton");
11031
10891
  attr_dev(button1, "part", "DepositButton");
11032
- add_location(button1, file, 405, 16, 14660);
10892
+ add_location(button1, file, 297, 10, 10817);
11033
10893
  attr_dev(div0, "class", "GamePageIntegratedTopSection");
11034
10894
  attr_dev(div0, "part", "GamePageIntegratedTopSection");
11035
- add_location(div0, file, 400, 14, 14069);
10895
+ add_location(div0, file, 292, 8, 10253);
11036
10896
  attr_dev(iframe_1, "title", "Games");
11037
10897
  attr_dev(iframe_1, "id", "IframeGame");
11038
10898
  attr_dev(iframe_1, "class", "GamesContainer");
11039
10899
  attr_dev(iframe_1, "part", "GamesContainer");
11040
10900
  attr_dev(iframe_1, "aria-hidden", "false");
11041
- if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[6].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
11042
- add_location(iframe_1, file, 409, 18, 15408);
11043
- attr_dev(button2, "class", "DepositButton");
11044
- attr_dev(button2, "part", "DepositButton");
11045
- add_location(button2, file, 411, 20, 15663);
11046
- attr_dev(div1, "class", "BottomGame");
11047
- attr_dev(div1, "part", "BottomGame");
11048
- add_location(div1, file, 410, 18, 15571);
11049
- attr_dev(div2, "class", "BannerSection");
11050
- attr_dev(div2, "part", "BannerSection");
11051
- add_location(div2, file, 429, 18, 17900);
11052
- attr_dev(div3, "id", "IframeGame");
11053
- attr_dev(div3, "part", "IframeGame");
11054
-
11055
- set_style(div3, "width", /*isFullscreen*/ ctx[12]
10901
+ if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[7].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
10902
+ attr_dev(iframe_1, "width", iframe_1_width_value = /*gameContainerWidth*/ ctx[11] + "px");
10903
+ attr_dev(iframe_1, "height", iframe_1_height_value = /*gameContainerHeight*/ ctx[12] + "px");
10904
+ add_location(iframe_1, file, 301, 12, 11478);
10905
+ attr_dev(div1, "class", "BottomGame BottomGameLoggedin");
10906
+ attr_dev(div1, "part", "BottomGame BottomGameLoggedin");
10907
+ add_location(div1, file, 302, 12, 11706);
10908
+ attr_dev(div2, "id", "IframeGame");
10909
+ attr_dev(div2, "part", "IframeGame");
10910
+
10911
+ set_style(div2, "width", /*isFullscreen*/ ctx[14]
11056
10912
  ? "100%"
11057
10913
  : /*definitiveIframeWidth*/ ctx[15]);
11058
10914
 
11059
- set_style(div3, "height", /*isFullscreen*/ ctx[12]
10915
+ set_style(div2, "height", /*isFullscreen*/ ctx[14]
11060
10916
  ? "100%"
11061
10917
  : /*definitiveIframeHeight*/ ctx[16]);
11062
10918
 
11063
- set_style(div3, "max-width", /*isFullscreen*/ ctx[12]
10919
+ set_style(div2, "max-width", /*isFullscreen*/ ctx[14]
11064
10920
  ? "none"
11065
- : /*game*/ ctx[6].width
11066
- ? /*game*/ ctx[6].width + "px"
10921
+ : /*game*/ ctx[7].width
10922
+ ? /*game*/ ctx[7].width + "px"
11067
10923
  : "1280px");
11068
10924
 
11069
- set_style(div3, "max-height", /*isFullscreen*/ ctx[12]
10925
+ set_style(div2, "max-height", /*isFullscreen*/ ctx[14]
11070
10926
  ? "none"
11071
- : /*game*/ ctx[6].height
11072
- ? Math.floor(/*game*/ ctx[6].height) + 100 + "px"
10927
+ : /*game*/ ctx[7].height
10928
+ ? Math.floor(/*game*/ ctx[7].height) + 100 + "px"
11073
10929
  : "720px");
11074
10930
 
11075
- add_location(div3, file, 408, 16, 15012);
11076
- attr_dev(div4, "id", "IframeContainer");
11077
- attr_dev(div4, "part", "IframeContainer");
11078
- set_style(div4, "width", /*modalFrameWidth*/ ctx[13]);
11079
- set_style(div4, "height", /*modalFrameHeight*/ ctx[14]);
11080
- toggle_class(div4, "FullsScreenLayout", /*isFullscreen*/ ctx[12]);
11081
- add_location(div4, file, 407, 14, 14815);
10931
+ add_location(div2, file, 300, 10, 11088);
10932
+ attr_dev(div3, "id", "IframeContainer");
10933
+ attr_dev(div3, "part", "IframeContainer");
10934
+ toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[14]);
10935
+ add_location(div3, file, 299, 8, 10958);
11082
10936
  },
11083
10937
  m: function mount(target, anchor) {
11084
10938
  insert_dev(target, div0, anchor);
@@ -11092,56 +10946,58 @@
11092
10946
  append_dev(div0, p);
11093
10947
  append_dev(p, span);
11094
10948
  append_dev(span, t2);
11095
- /*p_binding*/ ctx[46](p);
10949
+ /*p_binding*/ ctx[45](p);
11096
10950
  append_dev(div0, t3);
11097
10951
  append_dev(div0, button1);
11098
10952
  append_dev(button1, t4);
11099
10953
  insert_dev(target, t5, anchor);
11100
- insert_dev(target, div4, anchor);
11101
- append_dev(div4, div3);
11102
- append_dev(div3, iframe_1);
11103
- /*iframe_1_binding*/ ctx[48](iframe_1);
11104
- append_dev(div3, t6);
11105
- append_dev(div3, div1);
11106
- append_dev(div1, button2);
11107
- append_dev(button2, t7);
11108
- append_dev(div1, t8);
10954
+ insert_dev(target, div3, anchor);
10955
+ append_dev(div3, div2);
10956
+ append_dev(div2, iframe_1);
10957
+ /*iframe_1_binding*/ ctx[47](iframe_1);
10958
+ append_dev(div2, t6);
10959
+ append_dev(div2, div1);
11109
10960
  if (if_block0) if_block0.m(div1, null);
11110
- append_dev(div1, t9);
10961
+ append_dev(div1, t7);
11111
10962
  if_block1.m(div1, null);
11112
- /*div1_binding*/ ctx[53](div1);
11113
- append_dev(div3, t10);
11114
- append_dev(div3, div2);
11115
- /*div3_binding*/ ctx[54](div3);
11116
- /*div4_binding*/ ctx[55](div4);
10963
+ /*div1_binding*/ ctx[51](div1);
10964
+ /*div2_binding*/ ctx[52](div2);
10965
+ append_dev(div3, t8);
10966
+ if (if_block2) if_block2.m(div3, null);
10967
+ /*div3_binding*/ ctx[53](div3);
11117
10968
 
11118
10969
  if (!mounted) {
11119
10970
  dispose = [
11120
- listen_dev(button0, "click", /*click_handler*/ ctx[45], false, false, false),
11121
- listen_dev(button1, "click", /*click_handler_1*/ ctx[47], false, false, false),
11122
- listen_dev(button2, "click", /*click_handler_2*/ ctx[49], false, false, false)
10971
+ listen_dev(button0, "click", /*click_handler*/ ctx[44], false, false, false),
10972
+ listen_dev(button1, "click", /*click_handler_1*/ ctx[46], false, false, false)
11123
10973
  ];
11124
10974
 
11125
10975
  mounted = true;
11126
10976
  }
11127
10977
  },
11128
10978
  p: function update(ctx, dirty) {
11129
- if (dirty[0] & /*time*/ 2) set_data_dev(t2, /*time*/ ctx[1]);
11130
- if (dirty[0] & /*$_*/ 2097152 && t4_value !== (t4_value = /*$_*/ ctx[21]("gamePage.deposit") + "")) set_data_dev(t4, t4_value);
10979
+ if (dirty[0] & /*time*/ 4) set_data_dev(t2, /*time*/ ctx[2]);
10980
+ if (dirty[0] & /*$_*/ 1048576 && t4_value !== (t4_value = /*$_*/ ctx[20]("gamePage.deposit") + "")) set_data_dev(t4, t4_value);
11131
10981
 
11132
- if (dirty[0] & /*game*/ 64 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[6].launchUrl)) {
10982
+ if (dirty[0] & /*game*/ 128 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[7].launchUrl)) {
11133
10983
  attr_dev(iframe_1, "src", iframe_1_src_value);
11134
10984
  }
11135
10985
 
11136
- if (dirty[0] & /*$_*/ 2097152 && t7_value !== (t7_value = /*$_*/ ctx[21]("gamePage.deposit") + "")) set_data_dev(t7, t7_value);
10986
+ if (dirty[0] & /*gameContainerWidth*/ 2048 && iframe_1_width_value !== (iframe_1_width_value = /*gameContainerWidth*/ ctx[11] + "px")) {
10987
+ attr_dev(iframe_1, "width", iframe_1_width_value);
10988
+ }
10989
+
10990
+ if (dirty[0] & /*gameContainerHeight*/ 4096 && iframe_1_height_value !== (iframe_1_height_value = /*gameContainerHeight*/ ctx[12] + "px")) {
10991
+ attr_dev(iframe_1, "height", iframe_1_height_value);
10992
+ }
11137
10993
 
11138
10994
  if (/*haspanicbutton*/ ctx[0] === "true") {
11139
10995
  if (if_block0) {
11140
10996
  if_block0.p(ctx, dirty);
11141
10997
  } else {
11142
- if_block0 = create_if_block_6(ctx);
10998
+ if_block0 = create_if_block_5(ctx);
11143
10999
  if_block0.c();
11144
- if_block0.m(div1, t9);
11000
+ if_block0.m(div1, t7);
11145
11001
  }
11146
11002
  } else if (if_block0) {
11147
11003
  if_block0.d(1);
@@ -11160,57 +11016,61 @@
11160
11016
  }
11161
11017
  }
11162
11018
 
11163
- if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 36864) {
11164
- set_style(div3, "width", /*isFullscreen*/ ctx[12]
11019
+ if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 49152) {
11020
+ set_style(div2, "width", /*isFullscreen*/ ctx[14]
11165
11021
  ? "100%"
11166
11022
  : /*definitiveIframeWidth*/ ctx[15]);
11167
11023
  }
11168
11024
 
11169
- if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 69632) {
11170
- set_style(div3, "height", /*isFullscreen*/ ctx[12]
11025
+ if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 81920) {
11026
+ set_style(div2, "height", /*isFullscreen*/ ctx[14]
11171
11027
  ? "100%"
11172
11028
  : /*definitiveIframeHeight*/ ctx[16]);
11173
11029
  }
11174
11030
 
11175
- if (dirty[0] & /*isFullscreen, game*/ 4160) {
11176
- set_style(div3, "max-width", /*isFullscreen*/ ctx[12]
11031
+ if (dirty[0] & /*isFullscreen, game*/ 16512) {
11032
+ set_style(div2, "max-width", /*isFullscreen*/ ctx[14]
11177
11033
  ? "none"
11178
- : /*game*/ ctx[6].width
11179
- ? /*game*/ ctx[6].width + "px"
11034
+ : /*game*/ ctx[7].width
11035
+ ? /*game*/ ctx[7].width + "px"
11180
11036
  : "1280px");
11181
11037
  }
11182
11038
 
11183
- if (dirty[0] & /*isFullscreen, game*/ 4160) {
11184
- set_style(div3, "max-height", /*isFullscreen*/ ctx[12]
11039
+ if (dirty[0] & /*isFullscreen, game*/ 16512) {
11040
+ set_style(div2, "max-height", /*isFullscreen*/ ctx[14]
11185
11041
  ? "none"
11186
- : /*game*/ ctx[6].height
11187
- ? Math.floor(/*game*/ ctx[6].height) + 100 + "px"
11042
+ : /*game*/ ctx[7].height
11043
+ ? Math.floor(/*game*/ ctx[7].height) + 100 + "px"
11188
11044
  : "720px");
11189
11045
  }
11190
11046
 
11191
- if (dirty[0] & /*modalFrameWidth*/ 8192) {
11192
- set_style(div4, "width", /*modalFrameWidth*/ ctx[13]);
11193
- }
11194
-
11195
- if (dirty[0] & /*modalFrameHeight*/ 16384) {
11196
- set_style(div4, "height", /*modalFrameHeight*/ ctx[14]);
11047
+ if (/*gamebanneractive*/ ctx[1] == "true" && !/*isFullscreen*/ ctx[14]) {
11048
+ if (if_block2) ; else {
11049
+ if_block2 = create_if_block_3(ctx);
11050
+ if_block2.c();
11051
+ if_block2.m(div3, null);
11052
+ }
11053
+ } else if (if_block2) {
11054
+ if_block2.d(1);
11055
+ if_block2 = null;
11197
11056
  }
11198
11057
 
11199
- if (dirty[0] & /*isFullscreen*/ 4096) {
11200
- toggle_class(div4, "FullsScreenLayout", /*isFullscreen*/ ctx[12]);
11058
+ if (dirty[0] & /*isFullscreen*/ 16384) {
11059
+ toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[14]);
11201
11060
  }
11202
11061
  },
11203
11062
  d: function destroy(detaching) {
11204
11063
  if (detaching) detach_dev(div0);
11205
- /*p_binding*/ ctx[46](null);
11064
+ /*p_binding*/ ctx[45](null);
11206
11065
  if (detaching) detach_dev(t5);
11207
- if (detaching) detach_dev(div4);
11208
- /*iframe_1_binding*/ ctx[48](null);
11066
+ if (detaching) detach_dev(div3);
11067
+ /*iframe_1_binding*/ ctx[47](null);
11209
11068
  if (if_block0) if_block0.d();
11210
11069
  if_block1.d();
11211
- /*div1_binding*/ ctx[53](null);
11212
- /*div3_binding*/ ctx[54](null);
11213
- /*div4_binding*/ ctx[55](null);
11070
+ /*div1_binding*/ ctx[51](null);
11071
+ /*div2_binding*/ ctx[52](null);
11072
+ if (if_block2) if_block2.d();
11073
+ /*div3_binding*/ ctx[53](null);
11214
11074
  mounted = false;
11215
11075
  run_all(dispose);
11216
11076
  }
@@ -11218,16 +11078,16 @@
11218
11078
 
11219
11079
  dispatch_dev("SvelteRegisterBlock", {
11220
11080
  block,
11221
- id: create_if_block_4.name,
11081
+ id: create_if_block_2.name,
11222
11082
  type: "if",
11223
- source: "(400:10) {#if isLoggedIn}",
11083
+ source: "(292:6) {#if isLoggedIn}",
11224
11084
  ctx
11225
11085
  });
11226
11086
 
11227
11087
  return block;
11228
11088
  }
11229
11089
 
11230
- // (454:20) {:else}
11090
+ // (349:16) {:else}
11231
11091
  function create_else_block_2(ctx) {
11232
11092
  let button;
11233
11093
  let svg;
@@ -11241,15 +11101,15 @@
11241
11101
  svg = svg_element("svg");
11242
11102
  path = svg_element("path");
11243
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");
11244
- add_location(path, file, 455, 107, 20983);
11104
+ add_location(path, file, 350, 103, 16892);
11245
11105
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11246
11106
  attr_dev(svg, "width", "24");
11247
11107
  attr_dev(svg, "height", "24");
11248
11108
  attr_dev(svg, "viewBox", "0 0 24 24");
11249
- add_location(svg, file, 455, 24, 20900);
11109
+ add_location(svg, file, 350, 20, 16809);
11250
11110
  attr_dev(button, "class", "FullscreenButton");
11251
11111
  attr_dev(button, "part", "FullscreenButton");
11252
- add_location(button, file, 454, 22, 20780);
11112
+ add_location(button, file, 349, 18, 16695);
11253
11113
  },
11254
11114
  m: function mount(target, anchor) {
11255
11115
  insert_dev(target, button, anchor);
@@ -11257,7 +11117,7 @@
11257
11117
  append_dev(svg, path);
11258
11118
 
11259
11119
  if (!mounted) {
11260
- dispose = listen_dev(button, "click", /*click_handler_11*/ ctx[63], false, false, false);
11120
+ dispose = listen_dev(button, "click", /*click_handler_9*/ ctx[60], false, false, false);
11261
11121
  mounted = true;
11262
11122
  }
11263
11123
  },
@@ -11273,14 +11133,14 @@
11273
11133
  block,
11274
11134
  id: create_else_block_2.name,
11275
11135
  type: "else",
11276
- source: "(454:20) {:else}",
11136
+ source: "(349:16) {:else}",
11277
11137
  ctx
11278
11138
  });
11279
11139
 
11280
11140
  return block;
11281
11141
  }
11282
11142
 
11283
- // (450:20) {#if isFullscreen}
11143
+ // (345:16) {#if isFullscreen}
11284
11144
  function create_if_block_8(ctx) {
11285
11145
  let button;
11286
11146
  let svg;
@@ -11301,23 +11161,23 @@
11301
11161
  polygon3 = svg_element("polygon");
11302
11162
  set_style(polygon0, "fill", "#fff");
11303
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");
11304
- add_location(polygon0, file, 451, 72, 20263);
11164
+ add_location(polygon0, file, 346, 68, 16190);
11305
11165
  set_style(polygon1, "fill", "#fff");
11306
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");
11307
- add_location(polygon1, file, 451, 180, 20371);
11167
+ add_location(polygon1, file, 346, 176, 16298);
11308
11168
  set_style(polygon2, "fill", "#fff");
11309
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");
11310
- add_location(polygon2, file, 451, 286, 20477);
11170
+ add_location(polygon2, file, 346, 282, 16404);
11311
11171
  set_style(polygon3, "fill", "#fff");
11312
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");
11313
- add_location(polygon3, file, 451, 389, 20580);
11173
+ add_location(polygon3, file, 346, 385, 16507);
11314
11174
  attr_dev(svg, "width", "24");
11315
11175
  attr_dev(svg, "height", "24");
11316
11176
  attr_dev(svg, "viewBox", "0 0 31 31");
11317
- add_location(svg, file, 451, 24, 20215);
11177
+ add_location(svg, file, 346, 20, 16142);
11318
11178
  attr_dev(button, "class", "FullscreenButton");
11319
11179
  attr_dev(button, "part", "FullscreenButton");
11320
- add_location(button, file, 450, 22, 20095);
11180
+ add_location(button, file, 345, 18, 16028);
11321
11181
  },
11322
11182
  m: function mount(target, anchor) {
11323
11183
  insert_dev(target, button, anchor);
@@ -11328,7 +11188,7 @@
11328
11188
  append_dev(svg, polygon3);
11329
11189
 
11330
11190
  if (!mounted) {
11331
- dispose = listen_dev(button, "click", /*click_handler_10*/ ctx[62], false, false, false);
11191
+ dispose = listen_dev(button, "click", /*click_handler_8*/ ctx[59], false, false, false);
11332
11192
  mounted = true;
11333
11193
  }
11334
11194
  },
@@ -11344,25 +11204,60 @@
11344
11204
  block,
11345
11205
  id: create_if_block_8.name,
11346
11206
  type: "if",
11347
- source: "(450:20) {#if isFullscreen}",
11207
+ source: "(345:16) {#if isFullscreen}",
11348
11208
  ctx
11349
11209
  });
11350
11210
 
11351
11211
  return block;
11352
11212
  }
11353
11213
 
11354
- // (413:20) {#if haspanicbutton === "true"}
11355
- function create_if_block_6(ctx) {
11214
+ // (356:12) {#if gamebanneractive == 'true' && !isFullscreen}
11215
+ function create_if_block_7(ctx) {
11216
+ let div;
11217
+ let h3;
11218
+
11219
+ const block = {
11220
+ c: function create() {
11221
+ div = element("div");
11222
+ h3 = element("h3");
11223
+ h3.textContent = "Your banner here";
11224
+ add_location(h3, file, 357, 16, 17451);
11225
+ attr_dev(div, "class", "BannerSection");
11226
+ attr_dev(div, "part", "BannerSection");
11227
+ add_location(div, file, 356, 14, 17386);
11228
+ },
11229
+ m: function mount(target, anchor) {
11230
+ insert_dev(target, div, anchor);
11231
+ append_dev(div, h3);
11232
+ },
11233
+ d: function destroy(detaching) {
11234
+ if (detaching) detach_dev(div);
11235
+ }
11236
+ };
11237
+
11238
+ dispatch_dev("SvelteRegisterBlock", {
11239
+ block,
11240
+ id: create_if_block_7.name,
11241
+ type: "if",
11242
+ source: "(356:12) {#if gamebanneractive == 'true' && !isFullscreen}",
11243
+ ctx
11244
+ });
11245
+
11246
+ return block;
11247
+ }
11248
+
11249
+ // (304:14) {#if haspanicbutton === "true"}
11250
+ function create_if_block_5(ctx) {
11356
11251
  let div;
11357
11252
  let svg;
11358
11253
  let path;
11359
11254
  let t0;
11360
11255
  let p;
11361
- let t1_value = /*$_*/ ctx[21]("gamePage.break") + "";
11256
+ let t1_value = /*$_*/ ctx[20]("gamePage.break") + "";
11362
11257
  let t1;
11363
11258
  let t2;
11364
11259
  let button;
11365
- let t3_value = /*$_*/ ctx[21]("gamePage.breakButton") + "";
11260
+ let t3_value = /*$_*/ ctx[20]("gamePage.breakButton") + "";
11366
11261
  let t3;
11367
11262
  let mounted;
11368
11263
  let dispose;
@@ -11382,7 +11277,7 @@
11382
11277
  attr_dev(path, "stroke-linejoin", "round");
11383
11278
  attr_dev(path, "stroke-width", "2");
11384
11279
  attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
11385
- add_location(path, file, 414, 169, 16073);
11280
+ add_location(path, file, 305, 163, 12088);
11386
11281
  attr_dev(svg, "class", "w-1 h-1");
11387
11282
  attr_dev(svg, "part", "w-1 h-1");
11388
11283
  attr_dev(svg, "fill", "none");
@@ -11391,14 +11286,14 @@
11391
11286
  attr_dev(svg, "height", "34px");
11392
11287
  attr_dev(svg, "viewBox", "0 0 24 24");
11393
11288
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11394
- add_location(svg, file, 414, 24, 15928);
11395
- add_location(p, file, 415, 24, 16229);
11289
+ add_location(svg, file, 305, 18, 11943);
11290
+ add_location(p, file, 306, 18, 12238);
11396
11291
  attr_dev(button, "class", "Button");
11397
11292
  attr_dev(button, "part", "Button");
11398
- add_location(button, file, 416, 24, 16283);
11293
+ add_location(button, file, 307, 18, 12286);
11399
11294
  attr_dev(div, "class", "PanicSection");
11400
11295
  attr_dev(div, "part", "PanicSection");
11401
- add_location(div, file, 413, 22, 15857);
11296
+ add_location(div, file, 304, 16, 11878);
11402
11297
  },
11403
11298
  m: function mount(target, anchor) {
11404
11299
  insert_dev(target, div, anchor);
@@ -11412,13 +11307,13 @@
11412
11307
  append_dev(button, t3);
11413
11308
 
11414
11309
  if (!mounted) {
11415
- dispose = listen_dev(button, "click", /*click_handler_3*/ ctx[50], false, false, false);
11310
+ dispose = listen_dev(button, "click", /*click_handler_2*/ ctx[48], false, false, false);
11416
11311
  mounted = true;
11417
11312
  }
11418
11313
  },
11419
11314
  p: function update(ctx, dirty) {
11420
- if (dirty[0] & /*$_*/ 2097152 && t1_value !== (t1_value = /*$_*/ ctx[21]("gamePage.break") + "")) set_data_dev(t1, t1_value);
11421
- if (dirty[0] & /*$_*/ 2097152 && t3_value !== (t3_value = /*$_*/ ctx[21]("gamePage.breakButton") + "")) set_data_dev(t3, t3_value);
11315
+ if (dirty[0] & /*$_*/ 1048576 && t1_value !== (t1_value = /*$_*/ ctx[20]("gamePage.break") + "")) set_data_dev(t1, t1_value);
11316
+ if (dirty[0] & /*$_*/ 1048576 && t3_value !== (t3_value = /*$_*/ ctx[20]("gamePage.breakButton") + "")) set_data_dev(t3, t3_value);
11422
11317
  },
11423
11318
  d: function destroy(detaching) {
11424
11319
  if (detaching) detach_dev(div);
@@ -11429,16 +11324,16 @@
11429
11324
 
11430
11325
  dispatch_dev("SvelteRegisterBlock", {
11431
11326
  block,
11432
- id: create_if_block_6.name,
11327
+ id: create_if_block_5.name,
11433
11328
  type: "if",
11434
- source: "(413:20) {#if haspanicbutton === \\\"true\\\"}",
11329
+ source: "(304:14) {#if haspanicbutton === \\\"true\\\"}",
11435
11330
  ctx
11436
11331
  });
11437
11332
 
11438
11333
  return block;
11439
11334
  }
11440
11335
 
11441
- // (424:20) {:else}
11336
+ // (315:14) {:else}
11442
11337
  function create_else_block_1(ctx) {
11443
11338
  let button;
11444
11339
  let svg;
@@ -11452,15 +11347,15 @@
11452
11347
  svg = svg_element("svg");
11453
11348
  path = svg_element("path");
11454
11349
  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");
11455
- add_location(path, file, 425, 107, 17471);
11350
+ add_location(path, file, 316, 101, 13416);
11456
11351
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11457
11352
  attr_dev(svg, "width", "24");
11458
11353
  attr_dev(svg, "height", "24");
11459
11354
  attr_dev(svg, "viewBox", "0 0 24 24");
11460
- add_location(svg, file, 425, 24, 17388);
11355
+ add_location(svg, file, 316, 18, 13333);
11461
11356
  attr_dev(button, "class", "FullscreenButton");
11462
11357
  attr_dev(button, "part", "FullscreenButton");
11463
- add_location(button, file, 424, 22, 17268);
11358
+ add_location(button, file, 315, 16, 13221);
11464
11359
  },
11465
11360
  m: function mount(target, anchor) {
11466
11361
  insert_dev(target, button, anchor);
@@ -11468,7 +11363,7 @@
11468
11363
  append_dev(svg, path);
11469
11364
 
11470
11365
  if (!mounted) {
11471
- dispose = listen_dev(button, "click", /*click_handler_5*/ ctx[52], false, false, false);
11366
+ dispose = listen_dev(button, "click", /*click_handler_4*/ ctx[50], false, false, false);
11472
11367
  mounted = true;
11473
11368
  }
11474
11369
  },
@@ -11484,15 +11379,15 @@
11484
11379
  block,
11485
11380
  id: create_else_block_1.name,
11486
11381
  type: "else",
11487
- source: "(424:20) {:else}",
11382
+ source: "(315:14) {:else}",
11488
11383
  ctx
11489
11384
  });
11490
11385
 
11491
11386
  return block;
11492
11387
  }
11493
11388
 
11494
- // (420:20) {#if isFullscreen}
11495
- function create_if_block_5(ctx) {
11389
+ // (311:14) {#if isFullscreen}
11390
+ function create_if_block_4(ctx) {
11496
11391
  let button;
11497
11392
  let svg;
11498
11393
  let polygon0;
@@ -11512,25 +11407,25 @@
11512
11407
  polygon3 = svg_element("polygon");
11513
11408
  set_style(polygon0, "fill", "#fff");
11514
11409
  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");
11515
- add_location(polygon0, file, 421, 150, 16751);
11410
+ add_location(polygon0, file, 312, 144, 12722);
11516
11411
  set_style(polygon1, "fill", "#fff");
11517
11412
  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");
11518
- add_location(polygon1, file, 421, 258, 16859);
11413
+ add_location(polygon1, file, 312, 252, 12830);
11519
11414
  set_style(polygon2, "fill", "#fff");
11520
11415
  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");
11521
- add_location(polygon2, file, 421, 364, 16965);
11416
+ add_location(polygon2, file, 312, 358, 12936);
11522
11417
  set_style(polygon3, "fill", "#fff");
11523
11418
  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");
11524
- add_location(polygon3, file, 421, 467, 17068);
11419
+ add_location(polygon3, file, 312, 461, 13039);
11525
11420
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11526
11421
  attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
11527
11422
  attr_dev(svg, "width", "24");
11528
11423
  attr_dev(svg, "height", "24");
11529
11424
  attr_dev(svg, "viewBox", "0 0 31 31");
11530
- add_location(svg, file, 421, 24, 16625);
11425
+ add_location(svg, file, 312, 18, 12596);
11531
11426
  attr_dev(button, "class", "FullscreenButton");
11532
11427
  attr_dev(button, "part", "FullscreenButton");
11533
- add_location(button, file, 420, 22, 16505);
11428
+ add_location(button, file, 311, 16, 12484);
11534
11429
  },
11535
11430
  m: function mount(target, anchor) {
11536
11431
  insert_dev(target, button, anchor);
@@ -11541,7 +11436,7 @@
11541
11436
  append_dev(svg, polygon3);
11542
11437
 
11543
11438
  if (!mounted) {
11544
- dispose = listen_dev(button, "click", /*click_handler_4*/ ctx[51], false, false, false);
11439
+ dispose = listen_dev(button, "click", /*click_handler_3*/ ctx[49], false, false, false);
11545
11440
  mounted = true;
11546
11441
  }
11547
11442
  },
@@ -11555,9 +11450,44 @@
11555
11450
 
11556
11451
  dispatch_dev("SvelteRegisterBlock", {
11557
11452
  block,
11558
- id: create_if_block_5.name,
11453
+ id: create_if_block_4.name,
11559
11454
  type: "if",
11560
- source: "(420:20) {#if isFullscreen}",
11455
+ source: "(311:14) {#if isFullscreen}",
11456
+ ctx
11457
+ });
11458
+
11459
+ return block;
11460
+ }
11461
+
11462
+ // (322:10) {#if gamebanneractive == 'true' && !isFullscreen}
11463
+ function create_if_block_3(ctx) {
11464
+ let div;
11465
+ let h3;
11466
+
11467
+ const block = {
11468
+ c: function create() {
11469
+ div = element("div");
11470
+ h3 = element("h3");
11471
+ h3.textContent = "Your banner here";
11472
+ add_location(h3, file, 323, 14, 13961);
11473
+ attr_dev(div, "class", "BannerSection");
11474
+ attr_dev(div, "part", "BannerSection");
11475
+ add_location(div, file, 322, 12, 13898);
11476
+ },
11477
+ m: function mount(target, anchor) {
11478
+ insert_dev(target, div, anchor);
11479
+ append_dev(div, h3);
11480
+ },
11481
+ d: function destroy(detaching) {
11482
+ if (detaching) detach_dev(div);
11483
+ }
11484
+ };
11485
+
11486
+ dispatch_dev("SvelteRegisterBlock", {
11487
+ block,
11488
+ id: create_if_block_3.name,
11489
+ type: "if",
11490
+ source: "(322:10) {#if gamebanneractive == 'true' && !isFullscreen}",
11561
11491
  ctx
11562
11492
  });
11563
11493
 
@@ -11568,8 +11498,8 @@
11568
11498
  let if_block_anchor;
11569
11499
 
11570
11500
  function select_block_type(ctx, dirty) {
11571
- if (/*isLoading*/ ctx[5]) return create_if_block;
11572
- if (/*hasErrors*/ ctx[4]) return create_if_block_1;
11501
+ if (/*isLoading*/ ctx[6]) return create_if_block;
11502
+ if (/*hasErrors*/ ctx[5]) return create_if_block_1;
11573
11503
  return create_else_block;
11574
11504
  }
11575
11505
 
@@ -11624,7 +11554,7 @@
11624
11554
  function instance($$self, $$props, $$invalidate) {
11625
11555
  let $_;
11626
11556
  validate_store(X, "_");
11627
- component_subscribe($$self, X, $$value => $$invalidate(21, $_ = $$value));
11557
+ component_subscribe($$self, X, $$value => $$invalidate(20, $_ = $$value));
11628
11558
  let { $$slots: slots = {}, $$scope } = $$props;
11629
11559
  validate_slots("undefined", slots, []);
11630
11560
  let { endpoint = "" } = $$props;
@@ -11633,7 +11563,6 @@
11633
11563
  let { userid = "" } = $$props; // Value for UserID;
11634
11564
  let { clientstyling = "" } = $$props;
11635
11565
  let { clientstylingurl = "" } = $$props;
11636
- let { favorites = "" } = $$props;
11637
11566
  let { loginurl = "" } = $$props;
11638
11567
  let { registerurl = "" } = $$props;
11639
11568
  let { depositurl = "" } = $$props;
@@ -11644,6 +11573,8 @@
11644
11573
  let { haspanicbutton = "false" } = $$props;
11645
11574
  let { playforfun = "true" } = $$props;
11646
11575
  let { checksession = "true" } = $$props;
11576
+ let { integratedgameframe = "false" } = $$props;
11577
+ let { gamebanneractive = "false" } = $$props;
11647
11578
  let { gameid = "" } = $$props;
11648
11579
  let time;
11649
11580
  let iframe;
@@ -11658,16 +11589,16 @@
11658
11589
  let anonymousFunMode = false;
11659
11590
  let isModal = true;
11660
11591
  let gameFrameContainer;
11592
+ let gameContainerWidth;
11593
+ let gameContainerHeight;
11661
11594
  let gameInnerContainer;
11662
11595
  let isFullscreen = false;
11663
- let modalFrameWidth;
11664
11596
  let modalFrameHeight;
11665
11597
  let gameFrameWidth;
11666
11598
  let gameFrameHeight;
11667
11599
  let definitiveIframeWidth;
11668
11600
  let definitiveIframeHeight;
11669
11601
  let userAgent = window.navigator.userAgent;
11670
- let mobileView = false;
11671
11602
  let customStylingContainer;
11672
11603
  let buttonsContainer;
11673
11604
  let timeContainer;
@@ -11686,12 +11617,13 @@
11686
11617
  // @TODO wtf? session check or go home
11687
11618
  // Maybe we should check if the session is valid, somehow?
11688
11619
  if (sessionID && sessionID.length > 0) {
11689
- $$invalidate(3, isLoggedIn = true);
11620
+ $$invalidate(4, isLoggedIn = true);
11690
11621
  url.searchParams.append("_sid", sessionID);
11691
11622
  url.searchParams.append("funMode", "false");
11692
11623
  }
11693
11624
 
11694
11625
  game.launchUrl = url;
11626
+ customStylingContainer.scrollIntoView();
11695
11627
  return game;
11696
11628
  };
11697
11629
 
@@ -11703,153 +11635,30 @@
11703
11635
 
11704
11636
  fetch(url.href).then(res => res.json()).then(
11705
11637
  data => {
11706
- $$invalidate(6, game = formatGameLaunchUrl(data[0]));
11638
+ $$invalidate(7, game = formatGameLaunchUrl(data[0]));
11707
11639
 
11708
11640
  if (game.launchUrl) {
11709
- $$invalidate(7, detailsObtained = true);
11641
+ detailsObtained = true;
11710
11642
  $$invalidate(8, funMode = playforfun == "true" ? game.hasFunMode : false);
11711
11643
  anonymousFunMode = playforfun == "true" ? game.hasAnonymousFunMode : false;
11712
11644
  }
11713
11645
  },
11714
11646
  err => {
11715
11647
  console.error("There was an error", err);
11716
- $$invalidate(4, hasErrors = true);
11648
+ $$invalidate(5, hasErrors = true);
11717
11649
  }
11718
11650
  ).then(() => {
11719
11651
  if (gameFrameContainer) {
11720
- if (isModal) {
11721
- keepIframeRatio();
11722
- } else {
11723
- maximizeGameFrame();
11724
- }
11725
- }
11726
- });
11727
-
11728
- window.postMessage({ type: "RequestModalSize" }, window.location.href);
11729
- };
11730
-
11731
- const messageHandler = e => {
11732
- switch (e.data.type) {
11733
- case "GameLaunchID":
11734
- createGameURL(e.data.gameId, true);
11735
- break;
11736
- case "LaunchGameFrame":
11737
- openGameFrame(e.data.gameId, e.data.gameFunMode);
11738
- break;
11739
- case "ModalClosed":
11740
- setTimeout(
11741
- () => {
11742
- $$invalidate(7, detailsObtained = false);
11743
- },
11744
- 500
11745
- );
11746
- break;
11747
- case "UserSessionID":
11748
- if (e.data.session.length > 0) {
11749
- sessionID = e.data.session;
11750
- playerID = e.data.userID;
11751
- $$invalidate(3, isLoggedIn = true);
11752
-
11753
- let interval = setInterval(
11754
- () => {
11755
- if (game) {
11756
- let url = new URL(game.launchUrl);
11757
-
11758
- if (!url.searchParams.get("_sid")) {
11759
- url.searchParams.append("_sid", sessionID);
11760
- }
11761
-
11762
- if (!url.searchParams.get("funMode")) {
11763
- url.searchParams.append("funMode", false);
11764
- }
11765
-
11766
- if (!url.searchParams.get("_sid")) {
11767
- url.searchParams.append("language", lang);
11768
- }
11652
+ keepIframeRatio();
11769
11653
 
11770
- $$invalidate(6, game.launchUrl = url, game);
11771
- clearInterval(interval);
11772
- }
11773
- },
11774
- 250
11775
- );
11776
- }
11777
- break;
11778
- case "ModalSize":
11779
- $$invalidate(13, modalFrameWidth = e.data.modalContainerSize.modalWidth);
11780
- $$invalidate(14, modalFrameHeight = e.data.modalContainerSize.modalHeight);
11781
- break;
11782
- case "UpdateCategoryFavoriteGames":
11783
- if (e.data.receivedFavoriteResults) {
11784
- favoriteGames = e.data.receivedFavoriteResults.items;
11654
+ if (!isModal) {
11655
+ maximizeGameFrame();
11785
11656
  }
11786
- break;
11787
- }
11788
- };
11789
-
11790
- const checkFavorite = gameId => {
11791
- if (favoriteGames.findIndex(obj => obj.id == gameId) !== -1) {
11792
- return true;
11793
- } else {
11794
- return false;
11795
- }
11796
- };
11797
-
11798
- const toggleFavoriteGame = id => {
11799
- let triggerFactor = "gamepage";
11800
-
11801
- if (game.isFavored) {
11802
- window.postMessage(
11803
- {
11804
- type: "SetUnfavoredGame",
11805
- id,
11806
- triggerFactor
11807
- },
11808
- window.location.href
11809
- );
11810
-
11811
- $$invalidate(6, game.isFavored = false, game);
11812
- } else {
11813
- window.postMessage(
11814
- {
11815
- type: "SetFavoredGame",
11816
- id,
11817
- triggerFactor
11818
- },
11819
- window.location.href
11820
- );
11821
-
11822
- $$invalidate(6, game.isFavored = true, game);
11823
- }
11824
- };
11825
-
11826
- const setGameData = (game, gameFunMode) => {
11827
- anonymousFunMode = playforfun == "true" ? game.hasAnonymousFunMode : false;
11828
- $$invalidate(8, funMode = playforfun == "true" ? gameFunMode : false);
11829
- $$invalidate(7, detailsObtained = true);
11830
- return checkFavorite(game.id);
11831
- };
11832
-
11833
- const openGameFrame = (gameId, gameFunMode) => {
11834
- let url = new URL(`${endpoint}/casino/games/${gameId}`);
11835
- url.searchParams.append("language", lang);
11836
-
11837
- fetch(url.href).then(res => res.json()).then(data => {
11838
- $$invalidate(6, game = formatGameLaunchUrl(data[0]));
11839
-
11840
- if (game.launchUrl) {
11841
- $$invalidate(6, game.isFavored = setGameData(game, gameFunMode), game);
11842
11657
  }
11843
11658
  });
11844
11659
  };
11845
11660
 
11846
- const goBack = () => {
11847
- window.postMessage({ type: "GoToPreviousRoute" }, window.location.href);
11848
- };
11849
-
11850
11661
  const maximizeGameFrame = () => {
11851
- $$invalidate(13, modalFrameWidth = game.width);
11852
- $$invalidate(14, modalFrameHeight = game.height);
11853
11662
  $$invalidate(15, definitiveIframeWidth = game.width);
11854
11663
  $$invalidate(16, definitiveIframeHeight = game.height);
11855
11664
  gameFrameWidth = game.width;
@@ -11860,8 +11669,8 @@
11860
11669
  const keepIframeRatio = () => {
11861
11670
  let iframeContainer = getComputedStyle(gameFrameContainer);
11862
11671
  let gameFrame = getComputedStyle(gameInnerContainer);
11863
- let gameContainerWidth = parseInt(iframeContainer.width.slice(0, -2));
11864
- let gameContainerHeight = parseInt(iframeContainer.height.slice(0, -2));
11672
+ $$invalidate(11, gameContainerWidth = parseInt(iframeContainer.width.slice(0, -2)));
11673
+ $$invalidate(12, gameContainerHeight = parseInt(iframeContainer.height.slice(0, -2)));
11865
11674
  const iframeRatio = game.width / (game.height + 100);
11866
11675
  gameFrameWidth = parseInt(gameFrame.width);
11867
11676
  gameFrameHeight = parseInt(gameFrame.height);
@@ -11884,23 +11693,6 @@
11884
11693
  : "720px");
11885
11694
  };
11886
11695
 
11887
- const openGameWindow = game => {
11888
- if (isOnNative) {
11889
- let data = {
11890
- url: game.launchUrl,
11891
- id: game.id,
11892
- vendor: game.vendor.name
11893
- };
11894
-
11895
- jsNativeBridge.call("OPEN_GAME", data);
11896
- } else if (integratedgameframe == "false") {
11897
- window.open(game.launchUrl, "_blank");
11898
- } else if (integratedgameframe == "true") {
11899
- console.log("gameid here ", gameid);
11900
- window.postMessage({ type: "OpenIntegratedGameFrame" }, window.location.href);
11901
- }
11902
- };
11903
-
11904
11696
  const resizeHandler = () => {
11905
11697
  // sent to modal component a flag (detailsObtained) by witch to determine if a game is open
11906
11698
  window.postMessage(
@@ -11916,8 +11708,6 @@
11916
11708
  if (gameFrameContainer) {
11917
11709
  keepIframeRatio();
11918
11710
  }
11919
-
11920
- window.addEventListener("ModalSize", messageHandler, false);
11921
11711
  }
11922
11712
  };
11923
11713
 
@@ -11989,7 +11779,7 @@
11989
11779
  document.msExitFullscreen();
11990
11780
  }
11991
11781
 
11992
- $$invalidate(12, isFullscreen = false);
11782
+ $$invalidate(14, isFullscreen = false);
11993
11783
  } else {
11994
11784
  if (gameFrameContainer.requestFullscreen) {
11995
11785
  gameFrameContainer.requestFullscreen();
@@ -12001,7 +11791,7 @@
12001
11791
  gameFrameContainer.msRequestFullscreen();
12002
11792
  }
12003
11793
 
12004
- $$invalidate(12, isFullscreen = true);
11794
+ $$invalidate(14, isFullscreen = true);
12005
11795
  }
12006
11796
  }
12007
11797
  };
@@ -12012,9 +11802,9 @@
12012
11802
 
12013
11803
  const refreshTime = () => {
12014
11804
  if (clockformat) {
12015
- $$invalidate(1, time = moment().format(clockformat));
11805
+ $$invalidate(2, time = moment().format(clockformat));
12016
11806
  } else {
12017
- $$invalidate(1, time = moment().format("LTS"));
11807
+ $$invalidate(2, time = moment().format("LTS"));
12018
11808
  }
12019
11809
  };
12020
11810
 
@@ -12027,8 +11817,7 @@
12027
11817
 
12028
11818
  const setActiveLanguage = () => {
12029
11819
  setLocale(lang);
12030
- $$invalidate(5, isLoading = false);
12031
- $$invalidate(17, mobileView = isMobile(userAgent));
11820
+ $$invalidate(6, isLoading = false);
12032
11821
  };
12033
11822
 
12034
11823
  const setSession = () => {
@@ -12037,10 +11826,10 @@
12037
11826
  res => {
12038
11827
  sessionID = res.Guid;
12039
11828
  playerID = res.UserID;
12040
- $$invalidate(3, isLoggedIn = true);
11829
+ $$invalidate(4, isLoggedIn = true);
12041
11830
  },
12042
11831
  err => {
12043
- $$invalidate(3, isLoggedIn = false);
11832
+ $$invalidate(4, isLoggedIn = false);
12044
11833
  console.error("err on session", err);
12045
11834
  }
12046
11835
  );
@@ -12077,14 +11866,17 @@
12077
11866
  }
12078
11867
  };
12079
11868
 
11869
+ const previousPage = () => {
11870
+ window.postMessage({ type: "GoToPreviousRoute" }, window.location.href);
11871
+ window.postMessage({ type: "DisableIntegratedGamePage" }, window.location.href);
11872
+ };
11873
+
12080
11874
  onMount(() => {
12081
11875
  window.addEventListener("resize", resizeHandler, false);
12082
- window.addEventListener("message", messageHandler, false);
12083
11876
  isOnNative = !!jsNativeBridge.isNative(userAgent);
12084
11877
 
12085
11878
  return () => {
12086
11879
  window.removeEventListener("resize", resizeHandler);
12087
- window.removeEventListener("message", messageHandler);
12088
11880
  clearInterval(timeInterval);
12089
11881
  };
12090
11882
  });
@@ -12096,7 +11888,6 @@
12096
11888
  "userid",
12097
11889
  "clientstyling",
12098
11890
  "clientstylingurl",
12099
- "favorites",
12100
11891
  "loginurl",
12101
11892
  "registerurl",
12102
11893
  "depositurl",
@@ -12107,6 +11898,8 @@
12107
11898
  "haspanicbutton",
12108
11899
  "playforfun",
12109
11900
  "checksession",
11901
+ "integratedgameframe",
11902
+ "gamebanneractive",
12110
11903
  "gameid"
12111
11904
  ];
12112
11905
 
@@ -12114,12 +11907,12 @@
12114
11907
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console_1.warn(`<undefined> was created with unknown prop '${key}'`);
12115
11908
  });
12116
11909
 
12117
- const click_handler = () => goBack();
11910
+ const click_handler = () => previousPage();
12118
11911
 
12119
11912
  function p_binding($$value) {
12120
11913
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12121
11914
  timeContainer = $$value;
12122
- $$invalidate(20, timeContainer);
11915
+ $$invalidate(19, timeContainer);
12123
11916
  });
12124
11917
  }
12125
11918
 
@@ -12128,70 +11921,67 @@
12128
11921
  function iframe_1_binding($$value) {
12129
11922
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12130
11923
  iframe = $$value;
12131
- $$invalidate(2, iframe);
11924
+ $$invalidate(3, iframe);
12132
11925
  });
12133
11926
  }
12134
11927
 
12135
- const click_handler_2 = () => toggleDeposit();
12136
- const click_handler_3 = () => panicAction();
11928
+ const click_handler_2 = () => panicAction();
11929
+ const click_handler_3 = () => handleIframeSize();
12137
11930
  const click_handler_4 = () => handleIframeSize();
12138
- const click_handler_5 = () => handleIframeSize();
12139
11931
 
12140
11932
  function div1_binding($$value) {
12141
11933
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12142
11934
  buttonsContainer = $$value;
12143
- $$invalidate(19, buttonsContainer);
11935
+ $$invalidate(18, buttonsContainer);
12144
11936
  });
12145
11937
  }
12146
11938
 
12147
- function div3_binding($$value) {
11939
+ function div2_binding($$value) {
12148
11940
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12149
11941
  gameInnerContainer = $$value;
12150
- $$invalidate(11, gameInnerContainer);
11942
+ $$invalidate(13, gameInnerContainer);
12151
11943
  });
12152
11944
  }
12153
11945
 
12154
- function div4_binding($$value) {
11946
+ function div3_binding($$value) {
12155
11947
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12156
11948
  gameFrameContainer = $$value;
12157
11949
  $$invalidate(10, gameFrameContainer);
12158
11950
  });
12159
11951
  }
12160
11952
 
12161
- const click_handler_6 = () => goBack();
11953
+ const click_handler_5 = () => previousPage();
12162
11954
 
12163
11955
  function p_binding_1($$value) {
12164
11956
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12165
11957
  timeContainer = $$value;
12166
- $$invalidate(20, timeContainer);
11958
+ $$invalidate(19, timeContainer);
12167
11959
  });
12168
11960
  }
12169
11961
 
12170
- const click_handler_7 = () => toggleDeposit();
12171
-
12172
11962
  function iframe_1_binding_1($$value) {
12173
11963
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12174
11964
  iframe = $$value;
12175
- $$invalidate(2, iframe);
11965
+ $$invalidate(3, iframe);
12176
11966
  });
12177
11967
  }
12178
11968
 
12179
- const click_handler_8 = () => toggleLogin();
12180
- const click_handler_9 = () => toggleRegister();
12181
- const click_handler_10 = () => handleIframeSize();
12182
- const click_handler_11 = () => handleIframeSize();
11969
+ const click_handler_6 = () => toggleLogin();
11970
+ const click_handler_7 = () => toggleRegister();
11971
+ const click_handler_8 = () => handleIframeSize();
11972
+ const click_handler_9 = () => handleIframeSize();
12183
11973
 
12184
- function div2_binding($$value) {
11974
+ function div3_binding_1($$value) {
12185
11975
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12186
11976
  buttonsContainer = $$value;
12187
- $$invalidate(19, buttonsContainer);
11977
+ $$invalidate(18, buttonsContainer);
12188
11978
  });
12189
11979
  }
12190
11980
 
12191
- function div4_binding_1($$value) {
11981
+ function div4_binding($$value) {
12192
11982
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12193
11983
  gameInnerContainer = $$value;
12194
- $$invalidate(11, gameInnerContainer);
11984
+ $$invalidate(13, gameInnerContainer);
12195
11985
  });
12196
11986
  }
12197
11987
 
@@ -12205,36 +11995,35 @@
12205
11995
  function div_binding($$value) {
12206
11996
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12207
11997
  customStylingContainer = $$value;
12208
- $$invalidate(18, customStylingContainer);
11998
+ $$invalidate(17, customStylingContainer);
12209
11999
  });
12210
12000
  }
12211
12001
 
12212
12002
  $$self.$$set = $$props => {
12213
- if ("endpoint" in $$props) $$invalidate(28, endpoint = $$props.endpoint);
12214
- if ("lang" in $$props) $$invalidate(29, lang = $$props.lang);
12215
- if ("session" in $$props) $$invalidate(30, session = $$props.session);
12216
- if ("userid" in $$props) $$invalidate(31, userid = $$props.userid);
12217
- if ("clientstyling" in $$props) $$invalidate(32, clientstyling = $$props.clientstyling);
12218
- if ("clientstylingurl" in $$props) $$invalidate(33, clientstylingurl = $$props.clientstylingurl);
12219
- if ("favorites" in $$props) $$invalidate(34, favorites = $$props.favorites);
12220
- if ("loginurl" in $$props) $$invalidate(35, loginurl = $$props.loginurl);
12221
- if ("registerurl" in $$props) $$invalidate(36, registerurl = $$props.registerurl);
12222
- if ("depositurl" in $$props) $$invalidate(37, depositurl = $$props.depositurl);
12223
- if ("loginevent" in $$props) $$invalidate(38, loginevent = $$props.loginevent);
12224
- if ("registerevent" in $$props) $$invalidate(39, registerevent = $$props.registerevent);
12225
- if ("depositevent" in $$props) $$invalidate(40, depositevent = $$props.depositevent);
12226
- if ("clockformat" in $$props) $$invalidate(41, clockformat = $$props.clockformat);
12003
+ if ("endpoint" in $$props) $$invalidate(27, endpoint = $$props.endpoint);
12004
+ if ("lang" in $$props) $$invalidate(28, lang = $$props.lang);
12005
+ if ("session" in $$props) $$invalidate(29, session = $$props.session);
12006
+ if ("userid" in $$props) $$invalidate(30, userid = $$props.userid);
12007
+ if ("clientstyling" in $$props) $$invalidate(31, clientstyling = $$props.clientstyling);
12008
+ if ("clientstylingurl" in $$props) $$invalidate(32, clientstylingurl = $$props.clientstylingurl);
12009
+ if ("loginurl" in $$props) $$invalidate(33, loginurl = $$props.loginurl);
12010
+ if ("registerurl" in $$props) $$invalidate(34, registerurl = $$props.registerurl);
12011
+ if ("depositurl" in $$props) $$invalidate(35, depositurl = $$props.depositurl);
12012
+ if ("loginevent" in $$props) $$invalidate(36, loginevent = $$props.loginevent);
12013
+ if ("registerevent" in $$props) $$invalidate(37, registerevent = $$props.registerevent);
12014
+ if ("depositevent" in $$props) $$invalidate(38, depositevent = $$props.depositevent);
12015
+ if ("clockformat" in $$props) $$invalidate(39, clockformat = $$props.clockformat);
12227
12016
  if ("haspanicbutton" in $$props) $$invalidate(0, haspanicbutton = $$props.haspanicbutton);
12228
- if ("playforfun" in $$props) $$invalidate(42, playforfun = $$props.playforfun);
12229
- if ("checksession" in $$props) $$invalidate(43, checksession = $$props.checksession);
12230
- if ("gameid" in $$props) $$invalidate(44, gameid = $$props.gameid);
12017
+ if ("playforfun" in $$props) $$invalidate(40, playforfun = $$props.playforfun);
12018
+ if ("checksession" in $$props) $$invalidate(41, checksession = $$props.checksession);
12019
+ if ("integratedgameframe" in $$props) $$invalidate(42, integratedgameframe = $$props.integratedgameframe);
12020
+ if ("gamebanneractive" in $$props) $$invalidate(1, gamebanneractive = $$props.gamebanneractive);
12021
+ if ("gameid" in $$props) $$invalidate(43, gameid = $$props.gameid);
12231
12022
  };
12232
12023
 
12233
12024
  $$self.$capture_state = () => ({
12234
12025
  onMount,
12235
- isMobile,
12236
12026
  checkSession,
12237
- getDevice,
12238
12027
  _: X,
12239
12028
  addNewMessages,
12240
12029
  setLocale,
@@ -12250,7 +12039,6 @@
12250
12039
  userid,
12251
12040
  clientstyling,
12252
12041
  clientstylingurl,
12253
- favorites,
12254
12042
  loginurl,
12255
12043
  registerurl,
12256
12044
  depositurl,
@@ -12261,6 +12049,8 @@
12261
12049
  haspanicbutton,
12262
12050
  playforfun,
12263
12051
  checksession,
12052
+ integratedgameframe,
12053
+ gamebanneractive,
12264
12054
  gameid,
12265
12055
  time,
12266
12056
  iframe,
@@ -12275,31 +12065,24 @@
12275
12065
  anonymousFunMode,
12276
12066
  isModal,
12277
12067
  gameFrameContainer,
12068
+ gameContainerWidth,
12069
+ gameContainerHeight,
12278
12070
  gameInnerContainer,
12279
12071
  isFullscreen,
12280
- modalFrameWidth,
12281
12072
  modalFrameHeight,
12282
12073
  gameFrameWidth,
12283
12074
  gameFrameHeight,
12284
12075
  definitiveIframeWidth,
12285
12076
  definitiveIframeHeight,
12286
12077
  userAgent,
12287
- mobileView,
12288
12078
  customStylingContainer,
12289
12079
  buttonsContainer,
12290
12080
  timeContainer,
12291
12081
  isOnNative,
12292
12082
  formatGameLaunchUrl,
12293
12083
  createGameURL,
12294
- messageHandler,
12295
- checkFavorite,
12296
- toggleFavoriteGame,
12297
- setGameData,
12298
- openGameFrame,
12299
- goBack,
12300
12084
  maximizeGameFrame,
12301
12085
  keepIframeRatio,
12302
- openGameWindow,
12303
12086
  resizeHandler,
12304
12087
  toggleLogin,
12305
12088
  toggleRegister,
@@ -12313,54 +12096,56 @@
12313
12096
  setSession,
12314
12097
  setClientStyling,
12315
12098
  setClientStylingURL,
12099
+ previousPage,
12316
12100
  $_
12317
12101
  });
12318
12102
 
12319
12103
  $$self.$inject_state = $$props => {
12320
- if ("endpoint" in $$props) $$invalidate(28, endpoint = $$props.endpoint);
12321
- if ("lang" in $$props) $$invalidate(29, lang = $$props.lang);
12322
- if ("session" in $$props) $$invalidate(30, session = $$props.session);
12323
- if ("userid" in $$props) $$invalidate(31, userid = $$props.userid);
12324
- if ("clientstyling" in $$props) $$invalidate(32, clientstyling = $$props.clientstyling);
12325
- if ("clientstylingurl" in $$props) $$invalidate(33, clientstylingurl = $$props.clientstylingurl);
12326
- if ("favorites" in $$props) $$invalidate(34, favorites = $$props.favorites);
12327
- if ("loginurl" in $$props) $$invalidate(35, loginurl = $$props.loginurl);
12328
- if ("registerurl" in $$props) $$invalidate(36, registerurl = $$props.registerurl);
12329
- if ("depositurl" in $$props) $$invalidate(37, depositurl = $$props.depositurl);
12330
- if ("loginevent" in $$props) $$invalidate(38, loginevent = $$props.loginevent);
12331
- if ("registerevent" in $$props) $$invalidate(39, registerevent = $$props.registerevent);
12332
- if ("depositevent" in $$props) $$invalidate(40, depositevent = $$props.depositevent);
12333
- if ("clockformat" in $$props) $$invalidate(41, clockformat = $$props.clockformat);
12104
+ if ("endpoint" in $$props) $$invalidate(27, endpoint = $$props.endpoint);
12105
+ if ("lang" in $$props) $$invalidate(28, lang = $$props.lang);
12106
+ if ("session" in $$props) $$invalidate(29, session = $$props.session);
12107
+ if ("userid" in $$props) $$invalidate(30, userid = $$props.userid);
12108
+ if ("clientstyling" in $$props) $$invalidate(31, clientstyling = $$props.clientstyling);
12109
+ if ("clientstylingurl" in $$props) $$invalidate(32, clientstylingurl = $$props.clientstylingurl);
12110
+ if ("loginurl" in $$props) $$invalidate(33, loginurl = $$props.loginurl);
12111
+ if ("registerurl" in $$props) $$invalidate(34, registerurl = $$props.registerurl);
12112
+ if ("depositurl" in $$props) $$invalidate(35, depositurl = $$props.depositurl);
12113
+ if ("loginevent" in $$props) $$invalidate(36, loginevent = $$props.loginevent);
12114
+ if ("registerevent" in $$props) $$invalidate(37, registerevent = $$props.registerevent);
12115
+ if ("depositevent" in $$props) $$invalidate(38, depositevent = $$props.depositevent);
12116
+ if ("clockformat" in $$props) $$invalidate(39, clockformat = $$props.clockformat);
12334
12117
  if ("haspanicbutton" in $$props) $$invalidate(0, haspanicbutton = $$props.haspanicbutton);
12335
- if ("playforfun" in $$props) $$invalidate(42, playforfun = $$props.playforfun);
12336
- if ("checksession" in $$props) $$invalidate(43, checksession = $$props.checksession);
12337
- if ("gameid" in $$props) $$invalidate(44, gameid = $$props.gameid);
12338
- if ("time" in $$props) $$invalidate(1, time = $$props.time);
12339
- if ("iframe" in $$props) $$invalidate(2, iframe = $$props.iframe);
12340
- if ("isLoggedIn" in $$props) $$invalidate(3, isLoggedIn = $$props.isLoggedIn);
12341
- if ("hasErrors" in $$props) $$invalidate(4, hasErrors = $$props.hasErrors);
12342
- if ("isLoading" in $$props) $$invalidate(5, isLoading = $$props.isLoading);
12118
+ if ("playforfun" in $$props) $$invalidate(40, playforfun = $$props.playforfun);
12119
+ if ("checksession" in $$props) $$invalidate(41, checksession = $$props.checksession);
12120
+ if ("integratedgameframe" in $$props) $$invalidate(42, integratedgameframe = $$props.integratedgameframe);
12121
+ if ("gamebanneractive" in $$props) $$invalidate(1, gamebanneractive = $$props.gamebanneractive);
12122
+ if ("gameid" in $$props) $$invalidate(43, gameid = $$props.gameid);
12123
+ if ("time" in $$props) $$invalidate(2, time = $$props.time);
12124
+ if ("iframe" in $$props) $$invalidate(3, iframe = $$props.iframe);
12125
+ if ("isLoggedIn" in $$props) $$invalidate(4, isLoggedIn = $$props.isLoggedIn);
12126
+ if ("hasErrors" in $$props) $$invalidate(5, hasErrors = $$props.hasErrors);
12127
+ if ("isLoading" in $$props) $$invalidate(6, isLoading = $$props.isLoading);
12343
12128
  if ("playerID" in $$props) playerID = $$props.playerID;
12344
12129
  if ("sessionID" in $$props) sessionID = $$props.sessionID;
12345
- if ("game" in $$props) $$invalidate(6, game = $$props.game);
12346
- if ("detailsObtained" in $$props) $$invalidate(7, detailsObtained = $$props.detailsObtained);
12130
+ if ("game" in $$props) $$invalidate(7, game = $$props.game);
12131
+ if ("detailsObtained" in $$props) detailsObtained = $$props.detailsObtained;
12347
12132
  if ("funMode" in $$props) $$invalidate(8, funMode = $$props.funMode);
12348
12133
  if ("anonymousFunMode" in $$props) anonymousFunMode = $$props.anonymousFunMode;
12349
12134
  if ("isModal" in $$props) $$invalidate(9, isModal = $$props.isModal);
12350
12135
  if ("gameFrameContainer" in $$props) $$invalidate(10, gameFrameContainer = $$props.gameFrameContainer);
12351
- if ("gameInnerContainer" in $$props) $$invalidate(11, gameInnerContainer = $$props.gameInnerContainer);
12352
- if ("isFullscreen" in $$props) $$invalidate(12, isFullscreen = $$props.isFullscreen);
12353
- if ("modalFrameWidth" in $$props) $$invalidate(13, modalFrameWidth = $$props.modalFrameWidth);
12354
- if ("modalFrameHeight" in $$props) $$invalidate(14, modalFrameHeight = $$props.modalFrameHeight);
12136
+ if ("gameContainerWidth" in $$props) $$invalidate(11, gameContainerWidth = $$props.gameContainerWidth);
12137
+ if ("gameContainerHeight" in $$props) $$invalidate(12, gameContainerHeight = $$props.gameContainerHeight);
12138
+ if ("gameInnerContainer" in $$props) $$invalidate(13, gameInnerContainer = $$props.gameInnerContainer);
12139
+ if ("isFullscreen" in $$props) $$invalidate(14, isFullscreen = $$props.isFullscreen);
12140
+ if ("modalFrameHeight" in $$props) modalFrameHeight = $$props.modalFrameHeight;
12355
12141
  if ("gameFrameWidth" in $$props) gameFrameWidth = $$props.gameFrameWidth;
12356
12142
  if ("gameFrameHeight" in $$props) gameFrameHeight = $$props.gameFrameHeight;
12357
12143
  if ("definitiveIframeWidth" in $$props) $$invalidate(15, definitiveIframeWidth = $$props.definitiveIframeWidth);
12358
12144
  if ("definitiveIframeHeight" in $$props) $$invalidate(16, definitiveIframeHeight = $$props.definitiveIframeHeight);
12359
12145
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
12360
- if ("mobileView" in $$props) $$invalidate(17, mobileView = $$props.mobileView);
12361
- if ("customStylingContainer" in $$props) $$invalidate(18, customStylingContainer = $$props.customStylingContainer);
12362
- if ("buttonsContainer" in $$props) $$invalidate(19, buttonsContainer = $$props.buttonsContainer);
12363
- if ("timeContainer" in $$props) $$invalidate(20, timeContainer = $$props.timeContainer);
12146
+ if ("customStylingContainer" in $$props) $$invalidate(17, customStylingContainer = $$props.customStylingContainer);
12147
+ if ("buttonsContainer" in $$props) $$invalidate(18, buttonsContainer = $$props.buttonsContainer);
12148
+ if ("timeContainer" in $$props) $$invalidate(19, timeContainer = $$props.timeContainer);
12364
12149
  if ("isOnNative" in $$props) isOnNative = $$props.isOnNative;
12365
12150
  };
12366
12151
 
@@ -12369,63 +12154,61 @@
12369
12154
  }
12370
12155
 
12371
12156
  $$self.$$.update = () => {
12372
- if ($$self.$$.dirty[0] & /*lang*/ 536870912) {
12157
+ if ($$self.$$.dirty[0] & /*lang*/ 268435456) {
12373
12158
  lang && setActiveLanguage();
12374
12159
  }
12375
12160
 
12376
- if ($$self.$$.dirty[0] & /*endpoint, lang*/ 805306368 | $$self.$$.dirty[1] & /*gameid*/ 8192) {
12161
+ if ($$self.$$.dirty[0] & /*endpoint, lang*/ 402653184 | $$self.$$.dirty[1] & /*gameid*/ 4096) {
12377
12162
  endpoint && gameid && lang && createGameURL(gameid);
12378
12163
  }
12379
12164
 
12380
- if ($$self.$$.dirty[0] & /*session, endpoint*/ 1342177280 | $$self.$$.dirty[1] & /*userid*/ 1) {
12165
+ if ($$self.$$.dirty[0] & /*session, userid, endpoint*/ 1744830464) {
12381
12166
  session && userid && endpoint && setSession();
12382
12167
  }
12383
12168
 
12384
- if ($$self.$$.dirty[1] & /*clientstyling*/ 2) {
12169
+ if ($$self.$$.dirty[1] & /*clientstyling*/ 1) {
12385
12170
  clientstyling && setClientStyling();
12386
12171
  }
12387
12172
 
12388
- if ($$self.$$.dirty[1] & /*clientstylingurl*/ 4) {
12173
+ if ($$self.$$.dirty[1] & /*clientstylingurl*/ 2) {
12389
12174
  clientstylingurl && setClientStylingURL();
12390
12175
  }
12391
12176
  };
12392
12177
 
12393
12178
  return [
12394
12179
  haspanicbutton,
12180
+ gamebanneractive,
12395
12181
  time,
12396
12182
  iframe,
12397
12183
  isLoggedIn,
12398
12184
  hasErrors,
12399
12185
  isLoading,
12400
12186
  game,
12401
- detailsObtained,
12402
12187
  funMode,
12403
12188
  isModal,
12404
12189
  gameFrameContainer,
12190
+ gameContainerWidth,
12191
+ gameContainerHeight,
12405
12192
  gameInnerContainer,
12406
12193
  isFullscreen,
12407
- modalFrameWidth,
12408
- modalFrameHeight,
12409
12194
  definitiveIframeWidth,
12410
12195
  definitiveIframeHeight,
12411
- mobileView,
12412
12196
  customStylingContainer,
12413
12197
  buttonsContainer,
12414
12198
  timeContainer,
12415
12199
  $_,
12416
- goBack,
12417
12200
  toggleLogin,
12418
12201
  toggleRegister,
12419
12202
  toggleDeposit,
12420
12203
  handleIframeSize,
12421
12204
  panicAction,
12205
+ previousPage,
12422
12206
  endpoint,
12423
12207
  lang,
12424
12208
  session,
12425
12209
  userid,
12426
12210
  clientstyling,
12427
12211
  clientstylingurl,
12428
- favorites,
12429
12212
  loginurl,
12430
12213
  registerurl,
12431
12214
  depositurl,
@@ -12435,6 +12218,7 @@
12435
12218
  clockformat,
12436
12219
  playforfun,
12437
12220
  checksession,
12221
+ integratedgameframe,
12438
12222
  gameid,
12439
12223
  click_handler,
12440
12224
  p_binding,
@@ -12443,20 +12227,18 @@
12443
12227
  click_handler_2,
12444
12228
  click_handler_3,
12445
12229
  click_handler_4,
12446
- click_handler_5,
12447
12230
  div1_binding,
12231
+ div2_binding,
12448
12232
  div3_binding,
12449
- div4_binding,
12450
- click_handler_6,
12233
+ click_handler_5,
12451
12234
  p_binding_1,
12452
- click_handler_7,
12453
12235
  iframe_1_binding_1,
12236
+ click_handler_6,
12237
+ click_handler_7,
12454
12238
  click_handler_8,
12455
12239
  click_handler_9,
12456
- click_handler_10,
12457
- click_handler_11,
12458
- div2_binding,
12459
- div4_binding_1,
12240
+ div3_binding_1,
12241
+ div4_binding,
12460
12242
  div5_binding,
12461
12243
  div_binding
12462
12244
  ];
@@ -12465,7 +12247,7 @@
12465
12247
  class CasinoIntegratedGamePage extends SvelteElement {
12466
12248
  constructor(options) {
12467
12249
  super();
12468
- 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{height:100%}.BottomGame{padding-left:60px;padding-right:60px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}.DepositButton{border:none;width:130px;height:60px;background-color:var(--emfe-w-color-green, #48952a);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px;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;margin-top:20px;display:flex;flex-direction:row;justify-content:space-between}.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:calc(100% - 100px)}.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:center}#IframeGame{width:100%;height:100%}.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)}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.BannerSection{height:150px}</style>`;
12250
+ 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)}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.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>`;
12469
12251
 
12470
12252
  init(
12471
12253
  this,
@@ -12478,24 +12260,25 @@
12478
12260
  create_fragment,
12479
12261
  safe_not_equal,
12480
12262
  {
12481
- endpoint: 28,
12482
- lang: 29,
12483
- session: 30,
12484
- userid: 31,
12485
- clientstyling: 32,
12486
- clientstylingurl: 33,
12487
- favorites: 34,
12488
- loginurl: 35,
12489
- registerurl: 36,
12490
- depositurl: 37,
12491
- loginevent: 38,
12492
- registerevent: 39,
12493
- depositevent: 40,
12494
- clockformat: 41,
12263
+ endpoint: 27,
12264
+ lang: 28,
12265
+ session: 29,
12266
+ userid: 30,
12267
+ clientstyling: 31,
12268
+ clientstylingurl: 32,
12269
+ loginurl: 33,
12270
+ registerurl: 34,
12271
+ depositurl: 35,
12272
+ loginevent: 36,
12273
+ registerevent: 37,
12274
+ depositevent: 38,
12275
+ clockformat: 39,
12495
12276
  haspanicbutton: 0,
12496
- playforfun: 42,
12497
- checksession: 43,
12498
- gameid: 44
12277
+ playforfun: 40,
12278
+ checksession: 41,
12279
+ integratedgameframe: 42,
12280
+ gamebanneractive: 1,
12281
+ gameid: 43
12499
12282
  },
12500
12283
  [-1, -1, -1]
12501
12284
  );
@@ -12520,7 +12303,6 @@
12520
12303
  "userid",
12521
12304
  "clientstyling",
12522
12305
  "clientstylingurl",
12523
- "favorites",
12524
12306
  "loginurl",
12525
12307
  "registerurl",
12526
12308
  "depositurl",
@@ -12531,12 +12313,14 @@
12531
12313
  "haspanicbutton",
12532
12314
  "playforfun",
12533
12315
  "checksession",
12316
+ "integratedgameframe",
12317
+ "gamebanneractive",
12534
12318
  "gameid"
12535
12319
  ];
12536
12320
  }
12537
12321
 
12538
12322
  get endpoint() {
12539
- return this.$$.ctx[28];
12323
+ return this.$$.ctx[27];
12540
12324
  }
12541
12325
 
12542
12326
  set endpoint(endpoint) {
@@ -12545,7 +12329,7 @@
12545
12329
  }
12546
12330
 
12547
12331
  get lang() {
12548
- return this.$$.ctx[29];
12332
+ return this.$$.ctx[28];
12549
12333
  }
12550
12334
 
12551
12335
  set lang(lang) {
@@ -12554,7 +12338,7 @@
12554
12338
  }
12555
12339
 
12556
12340
  get session() {
12557
- return this.$$.ctx[30];
12341
+ return this.$$.ctx[29];
12558
12342
  }
12559
12343
 
12560
12344
  set session(session) {
@@ -12563,7 +12347,7 @@
12563
12347
  }
12564
12348
 
12565
12349
  get userid() {
12566
- return this.$$.ctx[31];
12350
+ return this.$$.ctx[30];
12567
12351
  }
12568
12352
 
12569
12353
  set userid(userid) {
@@ -12572,7 +12356,7 @@
12572
12356
  }
12573
12357
 
12574
12358
  get clientstyling() {
12575
- return this.$$.ctx[32];
12359
+ return this.$$.ctx[31];
12576
12360
  }
12577
12361
 
12578
12362
  set clientstyling(clientstyling) {
@@ -12581,7 +12365,7 @@
12581
12365
  }
12582
12366
 
12583
12367
  get clientstylingurl() {
12584
- return this.$$.ctx[33];
12368
+ return this.$$.ctx[32];
12585
12369
  }
12586
12370
 
12587
12371
  set clientstylingurl(clientstylingurl) {
@@ -12589,17 +12373,8 @@
12589
12373
  flush();
12590
12374
  }
12591
12375
 
12592
- get favorites() {
12593
- return this.$$.ctx[34];
12594
- }
12595
-
12596
- set favorites(favorites) {
12597
- this.$set({ favorites });
12598
- flush();
12599
- }
12600
-
12601
12376
  get loginurl() {
12602
- return this.$$.ctx[35];
12377
+ return this.$$.ctx[33];
12603
12378
  }
12604
12379
 
12605
12380
  set loginurl(loginurl) {
@@ -12608,7 +12383,7 @@
12608
12383
  }
12609
12384
 
12610
12385
  get registerurl() {
12611
- return this.$$.ctx[36];
12386
+ return this.$$.ctx[34];
12612
12387
  }
12613
12388
 
12614
12389
  set registerurl(registerurl) {
@@ -12617,7 +12392,7 @@
12617
12392
  }
12618
12393
 
12619
12394
  get depositurl() {
12620
- return this.$$.ctx[37];
12395
+ return this.$$.ctx[35];
12621
12396
  }
12622
12397
 
12623
12398
  set depositurl(depositurl) {
@@ -12626,7 +12401,7 @@
12626
12401
  }
12627
12402
 
12628
12403
  get loginevent() {
12629
- return this.$$.ctx[38];
12404
+ return this.$$.ctx[36];
12630
12405
  }
12631
12406
 
12632
12407
  set loginevent(loginevent) {
@@ -12635,7 +12410,7 @@
12635
12410
  }
12636
12411
 
12637
12412
  get registerevent() {
12638
- return this.$$.ctx[39];
12413
+ return this.$$.ctx[37];
12639
12414
  }
12640
12415
 
12641
12416
  set registerevent(registerevent) {
@@ -12644,7 +12419,7 @@
12644
12419
  }
12645
12420
 
12646
12421
  get depositevent() {
12647
- return this.$$.ctx[40];
12422
+ return this.$$.ctx[38];
12648
12423
  }
12649
12424
 
12650
12425
  set depositevent(depositevent) {
@@ -12653,7 +12428,7 @@
12653
12428
  }
12654
12429
 
12655
12430
  get clockformat() {
12656
- return this.$$.ctx[41];
12431
+ return this.$$.ctx[39];
12657
12432
  }
12658
12433
 
12659
12434
  set clockformat(clockformat) {
@@ -12671,7 +12446,7 @@
12671
12446
  }
12672
12447
 
12673
12448
  get playforfun() {
12674
- return this.$$.ctx[42];
12449
+ return this.$$.ctx[40];
12675
12450
  }
12676
12451
 
12677
12452
  set playforfun(playforfun) {
@@ -12680,7 +12455,7 @@
12680
12455
  }
12681
12456
 
12682
12457
  get checksession() {
12683
- return this.$$.ctx[43];
12458
+ return this.$$.ctx[41];
12684
12459
  }
12685
12460
 
12686
12461
  set checksession(checksession) {
@@ -12688,8 +12463,26 @@
12688
12463
  flush();
12689
12464
  }
12690
12465
 
12466
+ get integratedgameframe() {
12467
+ return this.$$.ctx[42];
12468
+ }
12469
+
12470
+ set integratedgameframe(integratedgameframe) {
12471
+ this.$set({ integratedgameframe });
12472
+ flush();
12473
+ }
12474
+
12475
+ get gamebanneractive() {
12476
+ return this.$$.ctx[1];
12477
+ }
12478
+
12479
+ set gamebanneractive(gamebanneractive) {
12480
+ this.$set({ gamebanneractive });
12481
+ flush();
12482
+ }
12483
+
12691
12484
  get gameid() {
12692
- return this.$$.ctx[44];
12485
+ return this.$$.ctx[43];
12693
12486
  }
12694
12487
 
12695
12488
  set gameid(gameid) {