@everymatrix/casino-tournaments-thumbnail-controller 0.0.83 → 0.0.87

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.
@@ -4579,7 +4579,7 @@
4579
4579
  div = element("div");
4580
4580
  t = text(/*shownStatus*/ ctx[12]);
4581
4581
  attr_dev(div, "class", "Status");
4582
- add_location(div, file$4, 69, 4, 1969);
4582
+ add_location(div, file$4, 69, 4, 1991);
4583
4583
  },
4584
4584
  m: function mount(target, anchor) {
4585
4585
  insert_dev(target, div, anchor);
@@ -4663,7 +4663,7 @@
4663
4663
  div = element("div");
4664
4664
  div.textContent = "Enrolled";
4665
4665
  attr_dev(div, "class", "Enrolled");
4666
- add_location(div, file$4, 74, 6, 2094);
4666
+ add_location(div, file$4, 74, 6, 2116);
4667
4667
  },
4668
4668
  m: function mount(target, anchor) {
4669
4669
  insert_dev(target, div, anchor);
@@ -4700,7 +4700,7 @@
4700
4700
  : ""));
4701
4701
 
4702
4702
  set_style(div, "background", "url('https://i.stack.imgur.com/y9DpT.jpg') center no-repeat");
4703
- add_location(div, file$4, 80, 4, 2321);
4703
+ add_location(div, file$4, 80, 4, 2343);
4704
4704
  },
4705
4705
  m: function mount(target, anchor) {
4706
4706
  insert_dev(target, div, anchor);
@@ -4751,7 +4751,7 @@
4751
4751
  : ""));
4752
4752
 
4753
4753
  set_style(div, "background", "url('" + /*thumbnail*/ ctx[4] + "')");
4754
- add_location(div, file$4, 78, 4, 2171);
4754
+ add_location(div, file$4, 78, 4, 2193);
4755
4755
  },
4756
4756
  m: function mount(target, anchor) {
4757
4757
  insert_dev(target, div, anchor);
@@ -4803,7 +4803,7 @@
4803
4803
  div = element("div");
4804
4804
  t = text(/*shownDate*/ ctx[10]);
4805
4805
  attr_dev(div, "class", "Date");
4806
- add_location(div, file$4, 86, 6, 2594);
4806
+ add_location(div, file$4, 86, 6, 2616);
4807
4807
  },
4808
4808
  m: function mount(target, anchor) {
4809
4809
  insert_dev(target, div, anchor);
@@ -4867,15 +4867,15 @@
4867
4867
  t4 = text("You can see the games ");
4868
4868
  a = element("a");
4869
4869
  t5 = text("here");
4870
- add_location(p0, file$4, 91, 8, 2731);
4870
+ add_location(p0, file$4, 91, 8, 2753);
4871
4871
  attr_dev(div0, "class", "ScoreCriteria");
4872
- add_location(div0, file$4, 90, 6, 2695);
4872
+ add_location(div0, file$4, 90, 6, 2717);
4873
4873
  attr_dev(a, "href", /*gameurl*/ ctx[9]);
4874
4874
  attr_dev(a, "target", "_blank");
4875
- add_location(a, file$4, 100, 33, 2967);
4876
- add_location(p1, file$4, 100, 8, 2942);
4875
+ add_location(a, file$4, 100, 33, 2989);
4876
+ add_location(p1, file$4, 100, 8, 2964);
4877
4877
  attr_dev(div1, "class", "Games");
4878
- add_location(div1, file$4, 99, 6, 2914);
4878
+ add_location(div1, file$4, 99, 6, 2936);
4879
4879
  },
4880
4880
  m: function mount(target, anchor) {
4881
4881
  insert_dev(target, div0, anchor);
@@ -5016,11 +5016,11 @@
5016
5016
  if (if_block4) if_block4.c();
5017
5017
  this.c = noop$1;
5018
5018
  attr_dev(div0, "class", "Title");
5019
- add_location(div0, file$4, 84, 4, 2535);
5019
+ add_location(div0, file$4, 84, 4, 2557);
5020
5020
  attr_dev(div1, "class", "Details");
5021
- add_location(div1, file$4, 83, 2, 2509);
5021
+ add_location(div1, file$4, 83, 2, 2531);
5022
5022
  attr_dev(div2, "class", "Thumbnail");
5023
- add_location(div2, file$4, 67, 0, 1926);
5023
+ add_location(div2, file$4, 67, 0, 1948);
5024
5024
  },
5025
5025
  l: function claim(nodes) {
5026
5026
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5196,7 +5196,7 @@
5196
5196
  };
5197
5197
 
5198
5198
  const setSession = () => {
5199
- if (session.length > 0) {
5199
+ if (session.length > 0 && session != "false") {
5200
5200
  sessionID = session;
5201
5201
  $$invalidate(11, isLoggedIn = true);
5202
5202
  } else {
@@ -7224,11 +7224,11 @@
7224
7224
  set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[19]);
7225
7225
  set_custom_element_data(casino_tournaments_thumbnail, "showenrolled", /*showenrolled*/ ctx[5]);
7226
7226
  set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[23]);
7227
- add_location(casino_tournaments_thumbnail, file, 193, 4, 5740);
7227
+ add_location(casino_tournaments_thumbnail, file, 193, 4, 5762);
7228
7228
  attr_dev(div0, "class", "TournamentButtons");
7229
- add_location(div0, file, 222, 4, 6551);
7229
+ add_location(div0, file, 222, 4, 6573);
7230
7230
  attr_dev(div1, "class", div1_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
7231
- add_location(div1, file, 192, 2, 5642);
7231
+ add_location(div1, file, 192, 2, 5664);
7232
7232
  },
7233
7233
  m: function mount(target, anchor) {
7234
7234
  insert_dev(target, div1, anchor);
@@ -7416,29 +7416,29 @@
7416
7416
  t6 = space();
7417
7417
  div7 = element("div");
7418
7418
  attr_dev(div0, "class", "ph-picture");
7419
- add_location(div0, file, 178, 10, 5204);
7419
+ add_location(div0, file, 178, 10, 5226);
7420
7420
  attr_dev(div1, "class", "ph-col-6 big");
7421
- add_location(div1, file, 180, 12, 5278);
7421
+ add_location(div1, file, 180, 12, 5300);
7422
7422
  attr_dev(div2, "class", "ph-col-4 empty big");
7423
- add_location(div2, file, 181, 12, 5323);
7423
+ add_location(div2, file, 181, 12, 5345);
7424
7424
  attr_dev(div3, "class", "ph-col-4");
7425
- add_location(div3, file, 182, 12, 5374);
7425
+ add_location(div3, file, 182, 12, 5396);
7426
7426
  attr_dev(div4, "class", "ph-col-8 empty");
7427
- add_location(div4, file, 183, 12, 5415);
7427
+ add_location(div4, file, 183, 12, 5437);
7428
7428
  attr_dev(div5, "class", "ph-col-6");
7429
- add_location(div5, file, 184, 12, 5462);
7429
+ add_location(div5, file, 184, 12, 5484);
7430
7430
  attr_dev(div6, "class", "ph-col-6 empty");
7431
- add_location(div6, file, 185, 12, 5503);
7431
+ add_location(div6, file, 185, 12, 5525);
7432
7432
  attr_dev(div7, "class", "ph-col-12");
7433
- add_location(div7, file, 186, 12, 5550);
7433
+ add_location(div7, file, 186, 12, 5572);
7434
7434
  attr_dev(div8, "class", "ph-row");
7435
- add_location(div8, file, 179, 10, 5245);
7435
+ add_location(div8, file, 179, 10, 5267);
7436
7436
  attr_dev(div9, "class", "ph-col-12");
7437
- add_location(div9, file, 177, 8, 5170);
7437
+ add_location(div9, file, 177, 8, 5192);
7438
7438
  attr_dev(div10, "class", "ph-item");
7439
- add_location(div10, file, 176, 6, 5140);
7439
+ add_location(div10, file, 176, 6, 5162);
7440
7440
  attr_dev(div11, "class", div11_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
7441
- add_location(div11, file, 175, 2, 5040);
7441
+ add_location(div11, file, 175, 2, 5062);
7442
7442
  },
7443
7443
  m: function mount(target, anchor) {
7444
7444
  insert_dev(target, div11, anchor);
@@ -7496,7 +7496,7 @@
7496
7496
  set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[16]);
7497
7497
  set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[14]);
7498
7498
  set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[15]);
7499
- add_location(casino_tournaments_thumbnail_duration, file, 216, 6, 6370);
7499
+ add_location(casino_tournaments_thumbnail_duration, file, 216, 6, 6392);
7500
7500
  },
7501
7501
  m: function mount(target, anchor) {
7502
7502
  if (if_block) if_block.m(target, anchor);
@@ -7558,7 +7558,7 @@
7558
7558
  c: function create() {
7559
7559
  casino_tournaments_thumbnail_prizes = element("casino-tournaments-thumbnail-prizes");
7560
7560
  set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[17]);
7561
- add_location(casino_tournaments_thumbnail_prizes, file, 210, 8, 6188);
7561
+ add_location(casino_tournaments_thumbnail_prizes, file, 210, 8, 6210);
7562
7562
  },
7563
7563
  m: function mount(target, anchor) {
7564
7564
  insert_dev(target, casino_tournaments_thumbnail_prizes, anchor);
@@ -7604,7 +7604,7 @@
7604
7604
  button = element("button");
7605
7605
  button.textContent = "Details";
7606
7606
  attr_dev(button, "class", "DetailsLargeButton");
7607
- add_location(button, file, 249, 12, 7969);
7607
+ add_location(button, file, 249, 12, 7991);
7608
7608
  },
7609
7609
  m: function mount(target, anchor) {
7610
7610
  insert_dev(target, button, anchor);
@@ -7721,9 +7721,9 @@
7721
7721
  button1 = element("button");
7722
7722
  button1.textContent = "Register";
7723
7723
  attr_dev(button0, "class", "LoginButton");
7724
- add_location(button0, file, 224, 8, 6615);
7724
+ add_location(button0, file, 224, 8, 6637);
7725
7725
  attr_dev(button1, "class", "RegisterButton");
7726
- add_location(button1, file, 225, 8, 6698);
7726
+ add_location(button1, file, 225, 8, 6720);
7727
7727
  },
7728
7728
  m: function mount(target, anchor) {
7729
7729
  insert_dev(target, button0, anchor);
@@ -7771,7 +7771,7 @@
7771
7771
  button = element("button");
7772
7772
  button.textContent = "Details";
7773
7773
  attr_dev(button, "class", "DetailsButton");
7774
- add_location(button, file, 229, 12, 6901);
7774
+ add_location(button, file, 229, 12, 6923);
7775
7775
  },
7776
7776
  m: function mount(target, anchor) {
7777
7777
  insert_dev(target, button, anchor);
@@ -7820,7 +7820,7 @@
7820
7820
  if_block.c();
7821
7821
  attr_dev(button, "class", "JoinButton");
7822
7822
  button.disabled = /*errorJoin*/ ctx[11];
7823
- add_location(button, file, 236, 12, 7200);
7823
+ add_location(button, file, 236, 12, 7222);
7824
7824
  },
7825
7825
  m: function mount(target, anchor) {
7826
7826
  insert_dev(target, button, anchor);
@@ -7930,20 +7930,20 @@
7930
7930
  t2 = text(".a{fill:#fff;}");
7931
7931
  g = svg_element("g");
7932
7932
  path = svg_element("path");
7933
- add_location(span, file, 242, 16, 7497);
7934
- add_location(style, file, 243, 105, 7620);
7935
- add_location(defs, file, 243, 99, 7614);
7933
+ add_location(span, file, 242, 16, 7519);
7934
+ add_location(style, file, 243, 105, 7642);
7935
+ add_location(defs, file, 243, 99, 7636);
7936
7936
  attr_dev(path, "class", "a");
7937
7937
  attr_dev(path, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z");
7938
7938
  attr_dev(path, "transform", "translate(26 26) rotate(180)");
7939
- add_location(path, file, 243, 185, 7700);
7939
+ add_location(path, file, 243, 185, 7722);
7940
7940
  attr_dev(g, "transform", "translate(26 26) rotate(180)");
7941
- add_location(g, file, 243, 141, 7656);
7941
+ add_location(g, file, 243, 141, 7678);
7942
7942
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
7943
7943
  attr_dev(svg, "width", "26");
7944
7944
  attr_dev(svg, "height", "26");
7945
7945
  attr_dev(svg, "viewBox", "0 0 26 26");
7946
- add_location(svg, file, 243, 16, 7531);
7946
+ add_location(svg, file, 243, 16, 7553);
7947
7947
  },
7948
7948
  m: function mount(target, anchor) {
7949
7949
  insert_dev(target, span, anchor);
@@ -7985,9 +7985,9 @@
7985
7985
  attr_dev(circle, "cx", "20");
7986
7986
  attr_dev(circle, "cy", "20");
7987
7987
  attr_dev(circle, "r", "18");
7988
- add_location(circle, file, 239, 18, 7395);
7988
+ add_location(circle, file, 239, 18, 7417);
7989
7989
  attr_dev(svg, "class", "spinner");
7990
- add_location(svg, file, 238, 16, 7355);
7990
+ add_location(svg, file, 238, 16, 7377);
7991
7991
  },
7992
7992
  m: function mount(target, anchor) {
7993
7993
  insert_dev(target, svg, anchor);
@@ -8019,7 +8019,7 @@
8019
8019
  button.textContent = "Enrolled";
8020
8020
  attr_dev(button, "class", "EnrolledButton");
8021
8021
  button.disabled = true;
8022
- add_location(button, file, 233, 14, 7094);
8022
+ add_location(button, file, 233, 14, 7116);
8023
8023
  },
8024
8024
  m: function mount(target, anchor) {
8025
8025
  insert_dev(target, button, anchor);
@@ -8052,7 +8052,7 @@
8052
8052
  t0 = text("There was an error joining the tournament - ");
8053
8053
  t1 = text(/*errorJoinText*/ ctx[12]);
8054
8054
  attr_dev(span, "class", "ErrorText");
8055
- add_location(span, file, 255, 6, 8139);
8055
+ add_location(span, file, 255, 6, 8161);
8056
8056
  },
8057
8057
  m: function mount(target, anchor) {
8058
8058
  insert_dev(target, span, anchor);
@@ -8088,7 +8088,7 @@
8088
8088
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
8089
8089
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
8090
8090
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "140");
8091
- add_location(casino_tournaments_thumbnail_games_slider, file, 258, 6, 8277);
8091
+ add_location(casino_tournaments_thumbnail_games_slider, file, 258, 6, 8299);
8092
8092
  },
8093
8093
  m: function mount(target, anchor) {
8094
8094
  insert_dev(target, casino_tournaments_thumbnail_games_slider, anchor);
@@ -8349,7 +8349,7 @@
8349
8349
  };
8350
8350
 
8351
8351
  const setSession = () => {
8352
- if (session.length > 0) {
8352
+ if (session.length > 0 && session != "false") {
8353
8353
  sessionID = session;
8354
8354
  $$invalidate(8, isLoggedIn = true);
8355
8355
  } else {