@everymatrix/casino-tournaments-page-controller 0.0.170 → 0.0.174

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.
@@ -5186,8 +5186,8 @@
5186
5186
  minbet: 'en düşük bahis sayısı',
5187
5187
  seegames: 'Turnuvadaki oyunları görmek için',
5188
5188
  here: 'tıklayın',
5189
- scheduled: 'Devam eden',
5190
- ongoing: 'Planlanmış',
5189
+ scheduled: 'Planlanmış',
5190
+ ongoing: 'Devam Eden',
5191
5191
  finished: 'Sona Ermiş',
5192
5192
  startingAt: 'BAŞLAMA SAATİ:',
5193
5193
  mostRounds: 'MostRounds',
@@ -7564,12 +7564,12 @@
7564
7564
 
7565
7565
  function get_each_context$2(ctx, list, i) {
7566
7566
  const child_ctx = ctx.slice();
7567
- child_ctx[34] = list[i];
7568
- child_ctx[36] = i;
7567
+ child_ctx[38] = list[i];
7568
+ child_ctx[40] = i;
7569
7569
  return child_ctx;
7570
7570
  }
7571
7571
 
7572
- // (111:2) {#if games}
7572
+ // (124:2) {#if games}
7573
7573
  function create_if_block$3(ctx) {
7574
7574
  let div0;
7575
7575
  let svg0;
@@ -7612,32 +7612,32 @@
7612
7612
  attr_dev(path0, "stroke-linejoin", "round");
7613
7613
  attr_dev(path0, "stroke-width", "2");
7614
7614
  attr_dev(path0, "d", "M15 19l-7-7 7-7");
7615
- add_location(path0, file$3, 113, 8, 3423);
7615
+ add_location(path0, file$3, 126, 8, 3982);
7616
7616
  attr_dev(svg0, "fill", "none");
7617
7617
  attr_dev(svg0, "stroke", "currentColor");
7618
7618
  attr_dev(svg0, "viewBox", "0 0 24 24");
7619
7619
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
7620
- add_location(svg0, file$3, 112, 6, 3320);
7620
+ add_location(svg0, file$3, 125, 6, 3879);
7621
7621
  attr_dev(div0, "class", "SliderNavButton");
7622
- toggle_class(div0, "disabled", /*atStart*/ ctx[5]);
7623
- add_location(div0, file$3, 111, 4, 3231);
7622
+ toggle_class(div0, "disabled", /*atStart*/ ctx[6]);
7623
+ add_location(div0, file$3, 124, 4, 3790);
7624
7624
  attr_dev(div1, "class", "items");
7625
7625
  set_style(div1, "transform", "translateX(" + /*offset*/ ctx[1] + "px)");
7626
- add_location(div1, file$3, 117, 6, 3562);
7627
- add_location(main, file$3, 116, 4, 3549);
7626
+ add_location(div1, file$3, 130, 6, 4121);
7627
+ add_location(main, file$3, 129, 4, 4108);
7628
7628
  attr_dev(path1, "stroke-linecap", "round");
7629
7629
  attr_dev(path1, "stroke-linejoin", "round");
7630
7630
  attr_dev(path1, "stroke-width", "2");
7631
7631
  attr_dev(path1, "d", "M9 5l7 7-7 7");
7632
- add_location(path1, file$3, 128, 8, 4240);
7632
+ add_location(path1, file$3, 141, 8, 4824);
7633
7633
  attr_dev(svg1, "fill", "none");
7634
7634
  attr_dev(svg1, "stroke", "currentColor");
7635
7635
  attr_dev(svg1, "viewBox", "0 0 24 24");
7636
7636
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
7637
- add_location(svg1, file$3, 127, 6, 4137);
7637
+ add_location(svg1, file$3, 140, 6, 4721);
7638
7638
  attr_dev(div2, "class", "SliderNavButton");
7639
- toggle_class(div2, "disabled", /*atEnd*/ ctx[6]);
7640
- add_location(div2, file$3, 126, 4, 4051);
7639
+ toggle_class(div2, "disabled", /*atEnd*/ ctx[7]);
7640
+ add_location(div2, file$3, 139, 4, 4635);
7641
7641
  },
7642
7642
  m: function mount(target, anchor) {
7643
7643
  insert_dev(target, div0, anchor);
@@ -7651,6 +7651,7 @@
7651
7651
  each_blocks[i].m(div1, null);
7652
7652
  }
7653
7653
 
7654
+ /*div1_binding*/ ctx[21](div1);
7654
7655
  insert_dev(target, t1, anchor);
7655
7656
  insert_dev(target, div2, anchor);
7656
7657
  append_dev(div2, svg1);
@@ -7658,19 +7659,19 @@
7658
7659
 
7659
7660
  if (!mounted) {
7660
7661
  dispose = [
7661
- listen_dev(div0, "click", /*click_handler*/ ctx[15], false, false, false),
7662
- listen_dev(div2, "click", /*click_handler_2*/ ctx[19], false, false, false)
7662
+ listen_dev(div0, "click", /*click_handler*/ ctx[17], false, false, false),
7663
+ listen_dev(div2, "click", /*click_handler_2*/ ctx[22], false, false, false)
7663
7664
  ];
7664
7665
 
7665
7666
  mounted = true;
7666
7667
  }
7667
7668
  },
7668
7669
  p: function update(ctx, dirty) {
7669
- if (dirty[0] & /*atStart*/ 32) {
7670
- toggle_class(div0, "disabled", /*atStart*/ ctx[5]);
7670
+ if (dirty[0] & /*atStart*/ 64) {
7671
+ toggle_class(div0, "disabled", /*atStart*/ ctx[6]);
7671
7672
  }
7672
7673
 
7673
- if (dirty[0] & /*gameClicked, games, enter, leave, hover, hoverIndex*/ 1433) {
7674
+ if (dirty[0] & /*gameClicked, games, enter, leave, hover, hoverIndex*/ 2841) {
7674
7675
  each_value = /*games*/ ctx[0];
7675
7676
  validate_each_argument(each_value);
7676
7677
  let i;
@@ -7698,8 +7699,8 @@
7698
7699
  set_style(div1, "transform", "translateX(" + /*offset*/ ctx[1] + "px)");
7699
7700
  }
7700
7701
 
7701
- if (dirty[0] & /*atEnd*/ 64) {
7702
- toggle_class(div2, "disabled", /*atEnd*/ ctx[6]);
7702
+ if (dirty[0] & /*atEnd*/ 128) {
7703
+ toggle_class(div2, "disabled", /*atEnd*/ ctx[7]);
7703
7704
  }
7704
7705
  },
7705
7706
  d: function destroy(detaching) {
@@ -7707,6 +7708,7 @@
7707
7708
  if (detaching) detach_dev(t0);
7708
7709
  if (detaching) detach_dev(main);
7709
7710
  destroy_each(each_blocks, detaching);
7711
+ /*div1_binding*/ ctx[21](null);
7710
7712
  if (detaching) detach_dev(t1);
7711
7713
  if (detaching) detach_dev(div2);
7712
7714
  mounted = false;
@@ -7718,14 +7720,14 @@
7718
7720
  block,
7719
7721
  id: create_if_block$3.name,
7720
7722
  type: "if",
7721
- source: "(111:2) {#if games}",
7723
+ source: "(124:2) {#if games}",
7722
7724
  ctx
7723
7725
  });
7724
7726
 
7725
7727
  return block;
7726
7728
  }
7727
7729
 
7728
- // (119:8) {#each games as game, i}
7730
+ // (132:8) {#each games as game, i}
7729
7731
  function create_each_block$2(ctx) {
7730
7732
  let div;
7731
7733
  let span;
@@ -7741,11 +7743,11 @@
7741
7743
  let dispose;
7742
7744
 
7743
7745
  function click_handler_1() {
7744
- return /*click_handler_1*/ ctx[16](/*game*/ ctx[34]);
7746
+ return /*click_handler_1*/ ctx[18](/*game*/ ctx[38]);
7745
7747
  }
7746
7748
 
7747
7749
  function mouseenter_handler() {
7748
- return /*mouseenter_handler*/ ctx[17](/*i*/ ctx[36]);
7750
+ return /*mouseenter_handler*/ ctx[19](/*i*/ ctx[40]);
7749
7751
  }
7750
7752
 
7751
7753
  const block = {
@@ -7757,19 +7759,19 @@
7757
7759
  img = element("img");
7758
7760
  t2 = space();
7759
7761
 
7760
- attr_dev(span, "class", span_class_value = "PlayNowButton " + (/*hover*/ ctx[3] && /*hoverIndex*/ ctx[4] == /*i*/ ctx[36]
7762
+ attr_dev(span, "class", span_class_value = "PlayNowButton " + (/*hover*/ ctx[3] && /*hoverIndex*/ ctx[4] == /*i*/ ctx[40]
7761
7763
  ? "itemHover"
7762
7764
  : ""));
7763
7765
 
7764
- add_location(span, file$3, 120, 12, 3795);
7765
- if (img.src !== (img_src_value = /*game*/ ctx[34].thumbnail)) attr_dev(img, "src", img_src_value);
7766
+ add_location(span, file$3, 133, 12, 4379);
7767
+ if (img.src !== (img_src_value = /*game*/ ctx[38].thumbnail)) attr_dev(img, "src", img_src_value);
7766
7768
  attr_dev(img, "width", "132px");
7767
7769
  attr_dev(img, "height", "100px");
7768
- attr_dev(img, "alt", img_alt_value = /*game*/ ctx[34].name);
7769
- attr_dev(img, "title", img_title_value = /*game*/ ctx[34].name);
7770
- add_location(img, file$3, 121, 12, 3898);
7770
+ attr_dev(img, "alt", img_alt_value = /*game*/ ctx[38].name);
7771
+ attr_dev(img, "title", img_title_value = /*game*/ ctx[38].name);
7772
+ add_location(img, file$3, 134, 12, 4482);
7771
7773
  attr_dev(div, "class", "item");
7772
- add_location(div, file$3, 119, 10, 3668);
7774
+ add_location(div, file$3, 132, 10, 4252);
7773
7775
  },
7774
7776
  m: function mount(target, anchor) {
7775
7777
  insert_dev(target, div, anchor);
@@ -7783,7 +7785,7 @@
7783
7785
  dispose = [
7784
7786
  listen_dev(div, "click", click_handler_1, false, false, false),
7785
7787
  listen_dev(div, "mouseenter", mouseenter_handler, false, false, false),
7786
- listen_dev(div, "mouseleave", /*mouseleave_handler*/ ctx[18], false, false, false)
7788
+ listen_dev(div, "mouseleave", /*mouseleave_handler*/ ctx[20], false, false, false)
7787
7789
  ];
7788
7790
 
7789
7791
  mounted = true;
@@ -7792,21 +7794,21 @@
7792
7794
  p: function update(new_ctx, dirty) {
7793
7795
  ctx = new_ctx;
7794
7796
 
7795
- if (dirty[0] & /*hover, hoverIndex*/ 24 && span_class_value !== (span_class_value = "PlayNowButton " + (/*hover*/ ctx[3] && /*hoverIndex*/ ctx[4] == /*i*/ ctx[36]
7797
+ if (dirty[0] & /*hover, hoverIndex*/ 24 && span_class_value !== (span_class_value = "PlayNowButton " + (/*hover*/ ctx[3] && /*hoverIndex*/ ctx[4] == /*i*/ ctx[40]
7796
7798
  ? "itemHover"
7797
7799
  : ""))) {
7798
7800
  attr_dev(span, "class", span_class_value);
7799
7801
  }
7800
7802
 
7801
- if (dirty[0] & /*games*/ 1 && img.src !== (img_src_value = /*game*/ ctx[34].thumbnail)) {
7803
+ if (dirty[0] & /*games*/ 1 && img.src !== (img_src_value = /*game*/ ctx[38].thumbnail)) {
7802
7804
  attr_dev(img, "src", img_src_value);
7803
7805
  }
7804
7806
 
7805
- if (dirty[0] & /*games*/ 1 && img_alt_value !== (img_alt_value = /*game*/ ctx[34].name)) {
7807
+ if (dirty[0] & /*games*/ 1 && img_alt_value !== (img_alt_value = /*game*/ ctx[38].name)) {
7806
7808
  attr_dev(img, "alt", img_alt_value);
7807
7809
  }
7808
7810
 
7809
- if (dirty[0] & /*games*/ 1 && img_title_value !== (img_title_value = /*game*/ ctx[34].name)) {
7811
+ if (dirty[0] & /*games*/ 1 && img_title_value !== (img_title_value = /*game*/ ctx[38].name)) {
7810
7812
  attr_dev(img, "title", img_title_value);
7811
7813
  }
7812
7814
  },
@@ -7821,7 +7823,7 @@
7821
7823
  block,
7822
7824
  id: create_each_block$2.name,
7823
7825
  type: "each",
7824
- source: "(119:8) {#each games as game, i}",
7826
+ source: "(132:8) {#each games as game, i}",
7825
7827
  ctx
7826
7828
  });
7827
7829
 
@@ -7838,7 +7840,7 @@
7838
7840
  if (if_block) if_block.c();
7839
7841
  this.c = noop$1;
7840
7842
  attr_dev(div, "class", "TournamentsGamesSlider");
7841
- add_location(div, file$3, 109, 0, 3157);
7843
+ add_location(div, file$3, 122, 0, 3716);
7842
7844
  },
7843
7845
  l: function claim(nodes) {
7844
7846
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -7846,7 +7848,7 @@
7846
7848
  m: function mount(target, anchor) {
7847
7849
  insert_dev(target, div, anchor);
7848
7850
  if (if_block) if_block.m(div, null);
7849
- /*div_binding*/ ctx[20](div);
7851
+ /*div_binding*/ ctx[23](div);
7850
7852
  },
7851
7853
  p: function update(ctx, dirty) {
7852
7854
  if (/*games*/ ctx[0]) {
@@ -7867,7 +7869,7 @@
7867
7869
  d: function destroy(detaching) {
7868
7870
  if (detaching) detach_dev(div);
7869
7871
  if (if_block) if_block.d();
7870
- /*div_binding*/ ctx[20](null);
7872
+ /*div_binding*/ ctx[23](null);
7871
7873
  }
7872
7874
  };
7873
7875
 
@@ -7903,6 +7905,8 @@
7903
7905
  let yDown = null;
7904
7906
  let hover = false;
7905
7907
  let hoverIndex;
7908
+ let gamesElement;
7909
+ let gamesElementWidth = 0;
7906
7910
 
7907
7911
  const enter = index => {
7908
7912
  $$invalidate(3, hover = true);
@@ -7946,8 +7950,10 @@
7946
7950
  const move = direction => {
7947
7951
  if (direction > 0 && !atEnd) {
7948
7952
  $$invalidate(1, offset -= totalPaginationPixels);
7953
+ $$invalidate(1, offset = offset < gamesElementWidth ? gamesElementWidth : offset);
7949
7954
  } else if (direction < 0 && !atStart) {
7950
7955
  $$invalidate(1, offset += totalPaginationPixels);
7956
+ $$invalidate(1, offset = offset > 0 ? 0 : offset);
7951
7957
  }
7952
7958
  };
7953
7959
 
@@ -7969,7 +7975,7 @@
7969
7975
  url.searchParams.append("pagination", `games(limit=${limit},offset=${offset})`);
7970
7976
  url.searchParams.append("fields", "games(id,name,thumbnail)");
7971
7977
  url.searchParams.append("language", lang);
7972
- reqHeaders.append("platform", getDevice(userAgent));
7978
+ url.searchParams.append("platform", getDevice(userAgent));
7973
7979
  let requestOptions = { method: "GET", headers: reqHeaders };
7974
7980
 
7975
7981
  fetch(url, requestOptions).then(res => res.json()).then(data => {
@@ -7987,6 +7993,18 @@
7987
7993
  slider.addEventListener("touchmove", handleTouchMove, { passive: true });
7988
7994
  };
7989
7995
 
7996
+ //calculate pagfactor by games length to avoid empty in the games end
7997
+ const recalculatePagfactor = () => {
7998
+ setTimeout(
7999
+ () => {
8000
+ $$invalidate(16, gamesElementWidth = (gamesElement.scrollWidth - gamesElement.clientWidth) * -1);
8001
+ $$invalidate(12, pagfactor = new String(gamesElement.scrollWidth / games.length));
8002
+ totalPaginationPixels = parseInt(scrollby, 10) * parseFloat(pagfactor, 2).toFixed(2);
8003
+ },
8004
+ 1000
8005
+ );
8006
+ };
8007
+
7990
8008
  onMount(() => {
7991
8009
  totalPaginationPixels = parseInt(scrollby, 10) * parseInt(pagfactor, 10);
7992
8010
 
@@ -8007,6 +8025,14 @@
8007
8025
  const click_handler_1 = game => gameClicked(game);
8008
8026
  const mouseenter_handler = i => enter(i);
8009
8027
  const mouseleave_handler = () => leave();
8028
+
8029
+ function div1_binding($$value) {
8030
+ binding_callbacks[$$value ? "unshift" : "push"](() => {
8031
+ gamesElement = $$value;
8032
+ $$invalidate(5, gamesElement);
8033
+ });
8034
+ }
8035
+
8010
8036
  const click_handler_2 = () => move(1);
8011
8037
 
8012
8038
  function div_binding($$value) {
@@ -8017,10 +8043,10 @@
8017
8043
  }
8018
8044
 
8019
8045
  $$self.$$set = $$props => {
8020
- if ("tournamenturl" in $$props) $$invalidate(11, tournamenturl = $$props.tournamenturl);
8021
- if ("scrollby" in $$props) $$invalidate(12, scrollby = $$props.scrollby);
8022
- if ("pagfactor" in $$props) $$invalidate(13, pagfactor = $$props.pagfactor);
8023
- if ("lang" in $$props) $$invalidate(14, lang = $$props.lang);
8046
+ if ("tournamenturl" in $$props) $$invalidate(13, tournamenturl = $$props.tournamenturl);
8047
+ if ("scrollby" in $$props) $$invalidate(14, scrollby = $$props.scrollby);
8048
+ if ("pagfactor" in $$props) $$invalidate(12, pagfactor = $$props.pagfactor);
8049
+ if ("lang" in $$props) $$invalidate(15, lang = $$props.lang);
8024
8050
  };
8025
8051
 
8026
8052
  $$self.$capture_state = () => ({
@@ -8042,6 +8068,8 @@
8042
8068
  yDown,
8043
8069
  hover,
8044
8070
  hoverIndex,
8071
+ gamesElement,
8072
+ gamesElementWidth,
8045
8073
  enter,
8046
8074
  leave,
8047
8075
  getTouches,
@@ -8052,15 +8080,16 @@
8052
8080
  fetchData,
8053
8081
  getTotalPixels,
8054
8082
  addEventListeners,
8083
+ recalculatePagfactor,
8055
8084
  atStart,
8056
8085
  atEnd
8057
8086
  });
8058
8087
 
8059
8088
  $$self.$inject_state = $$props => {
8060
- if ("tournamenturl" in $$props) $$invalidate(11, tournamenturl = $$props.tournamenturl);
8061
- if ("scrollby" in $$props) $$invalidate(12, scrollby = $$props.scrollby);
8062
- if ("pagfactor" in $$props) $$invalidate(13, pagfactor = $$props.pagfactor);
8063
- if ("lang" in $$props) $$invalidate(14, lang = $$props.lang);
8089
+ if ("tournamenturl" in $$props) $$invalidate(13, tournamenturl = $$props.tournamenturl);
8090
+ if ("scrollby" in $$props) $$invalidate(14, scrollby = $$props.scrollby);
8091
+ if ("pagfactor" in $$props) $$invalidate(12, pagfactor = $$props.pagfactor);
8092
+ if ("lang" in $$props) $$invalidate(15, lang = $$props.lang);
8064
8093
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
8065
8094
  if ("items" in $$props) items = $$props.items;
8066
8095
  if ("totalPaginationPixels" in $$props) totalPaginationPixels = $$props.totalPaginationPixels;
@@ -8073,8 +8102,10 @@
8073
8102
  if ("yDown" in $$props) yDown = $$props.yDown;
8074
8103
  if ("hover" in $$props) $$invalidate(3, hover = $$props.hover);
8075
8104
  if ("hoverIndex" in $$props) $$invalidate(4, hoverIndex = $$props.hoverIndex);
8076
- if ("atStart" in $$props) $$invalidate(5, atStart = $$props.atStart);
8077
- if ("atEnd" in $$props) $$invalidate(6, atEnd = $$props.atEnd);
8105
+ if ("gamesElement" in $$props) $$invalidate(5, gamesElement = $$props.gamesElement);
8106
+ if ("gamesElementWidth" in $$props) $$invalidate(16, gamesElementWidth = $$props.gamesElementWidth);
8107
+ if ("atStart" in $$props) $$invalidate(6, atStart = $$props.atStart);
8108
+ if ("atEnd" in $$props) $$invalidate(7, atEnd = $$props.atEnd);
8078
8109
  };
8079
8110
 
8080
8111
  if ($$props && "$$inject" in $$props) {
@@ -8083,14 +8114,14 @@
8083
8114
 
8084
8115
  $$self.$$.update = () => {
8085
8116
  if ($$self.$$.dirty[0] & /*offset*/ 2) {
8086
- $$invalidate(5, atStart = offset === 0);
8117
+ $$invalidate(6, atStart = offset === 0);
8087
8118
  }
8088
8119
 
8089
- if ($$self.$$.dirty[0] & /*offset, pagfactor, games, scrollby*/ 12291) {
8090
- $$invalidate(6, atEnd = offset <= parseInt(pagfactor, 10) * (games.length - parseInt(scrollby, 10)) * -1);
8120
+ if ($$self.$$.dirty[0] & /*offset, gamesElementWidth*/ 65538) {
8121
+ $$invalidate(7, atEnd = offset <= gamesElementWidth);
8091
8122
  }
8092
8123
 
8093
- if ($$self.$$.dirty[0] & /*tournamenturl*/ 2048) {
8124
+ if ($$self.$$.dirty[0] & /*tournamenturl*/ 8192) {
8094
8125
  tournamenturl && fetchData();
8095
8126
  }
8096
8127
 
@@ -8099,6 +8130,10 @@
8099
8130
  // $: scrollby && pagfactor && getTotalPixels();
8100
8131
  slider && addEventListeners();
8101
8132
  }
8133
+
8134
+ if ($$self.$$.dirty[0] & /*games*/ 1) {
8135
+ games.length && recalculatePagfactor();
8136
+ }
8102
8137
  };
8103
8138
 
8104
8139
  $$invalidate(1, offset = 0);
@@ -8109,20 +8144,23 @@
8109
8144
  slider,
8110
8145
  hover,
8111
8146
  hoverIndex,
8147
+ gamesElement,
8112
8148
  atStart,
8113
8149
  atEnd,
8114
8150
  enter,
8115
8151
  leave,
8116
8152
  move,
8117
8153
  gameClicked,
8154
+ pagfactor,
8118
8155
  tournamenturl,
8119
8156
  scrollby,
8120
- pagfactor,
8121
8157
  lang,
8158
+ gamesElementWidth,
8122
8159
  click_handler,
8123
8160
  click_handler_1,
8124
8161
  mouseenter_handler,
8125
8162
  mouseleave_handler,
8163
+ div1_binding,
8126
8164
  click_handler_2,
8127
8165
  div_binding
8128
8166
  ];
@@ -8131,7 +8169,7 @@
8131
8169
  class CasinoTournamentsThumbnailGamesSlider extends SvelteElement {
8132
8170
  constructor(options) {
8133
8171
  super();
8134
- this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.TournamentsGamesSlider{background:#0a0c19;color:#fff;display:flex;justify-content:center}.disabled{color:#3B3C47}.SliderNavButton{background:#0a0c19;border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:#ef4322;color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:#28a745;display:block;box-sizing:border-box;padding:0.8rem .5rem;color:#fff;text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity .4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}</style>`;
8172
+ this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.TournamentsGamesSlider{background:#0a0c19;color:#fff;display:flex;justify-content:center}.disabled{color:#3B3C47}.SliderNavButton{background:#0a0c19;border:0px;width:25px;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:#ef4322;color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:#28a745;display:block;box-sizing:border-box;padding:0.8rem .5rem;color:#fff;text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity .4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}</style>`;
8135
8173
 
8136
8174
  init(
8137
8175
  this,
@@ -8144,10 +8182,10 @@
8144
8182
  create_fragment$3,
8145
8183
  safe_not_equal,
8146
8184
  {
8147
- tournamenturl: 11,
8148
- scrollby: 12,
8149
- pagfactor: 13,
8150
- lang: 14
8185
+ tournamenturl: 13,
8186
+ scrollby: 14,
8187
+ pagfactor: 12,
8188
+ lang: 15
8151
8189
  },
8152
8190
  [-1, -1]
8153
8191
  );
@@ -8169,7 +8207,7 @@
8169
8207
  }
8170
8208
 
8171
8209
  get tournamenturl() {
8172
- return this.$$.ctx[11];
8210
+ return this.$$.ctx[13];
8173
8211
  }
8174
8212
 
8175
8213
  set tournamenturl(tournamenturl) {
@@ -8178,7 +8216,7 @@
8178
8216
  }
8179
8217
 
8180
8218
  get scrollby() {
8181
- return this.$$.ctx[12];
8219
+ return this.$$.ctx[14];
8182
8220
  }
8183
8221
 
8184
8222
  set scrollby(scrollby) {
@@ -8187,7 +8225,7 @@
8187
8225
  }
8188
8226
 
8189
8227
  get pagfactor() {
8190
- return this.$$.ctx[13];
8228
+ return this.$$.ctx[12];
8191
8229
  }
8192
8230
 
8193
8231
  set pagfactor(pagfactor) {
@@ -8196,7 +8234,7 @@
8196
8234
  }
8197
8235
 
8198
8236
  get lang() {
8199
- return this.$$.ctx[14];
8237
+ return this.$$.ctx[15];
8200
8238
  }
8201
8239
 
8202
8240
  set lang(lang) {
@@ -9180,7 +9218,6 @@
9180
9218
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
9181
9219
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "lang", /*lang*/ ctx[8]);
9182
9220
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
9183
- set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "130");
9184
9221
  add_location(casino_tournaments_thumbnail_games_slider, file$2, 266, 6, 8864);
9185
9222
  },
9186
9223
  m: function mount(target, anchor) {