@everymatrix/casino-tournaments-page-controller 0.0.102 → 0.0.106

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.
@@ -7733,7 +7733,7 @@
7733
7733
  /* ../casino-tournaments-thumbnail-controller/src/CasinoTournamentsThumbnailController.svelte generated by Svelte v3.37.0 */
7734
7734
  const file$2 = "../casino-tournaments-thumbnail-controller/src/CasinoTournamentsThumbnailController.svelte";
7735
7735
 
7736
- // (192:0) {:else}
7736
+ // (193:0) {:else}
7737
7737
  function create_else_block$2(ctx) {
7738
7738
  let div1;
7739
7739
  let casino_tournaments_thumbnail;
@@ -7781,11 +7781,11 @@
7781
7781
  set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[19]);
7782
7782
  set_custom_element_data(casino_tournaments_thumbnail, "showenrolled", /*showenrolled*/ ctx[5]);
7783
7783
  set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[23]);
7784
- add_location(casino_tournaments_thumbnail, file$2, 193, 4, 5762);
7784
+ add_location(casino_tournaments_thumbnail, file$2, 194, 4, 5781);
7785
7785
  attr_dev(div0, "class", "TournamentButtons");
7786
- add_location(div0, file$2, 222, 4, 6573);
7786
+ add_location(div0, file$2, 223, 4, 6592);
7787
7787
  attr_dev(div1, "class", div1_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
7788
- add_location(div1, file$2, 192, 2, 5664);
7788
+ add_location(div1, file$2, 193, 2, 5683);
7789
7789
  },
7790
7790
  m: function mount(target, anchor) {
7791
7791
  insert_dev(target, div1, anchor);
@@ -7921,14 +7921,14 @@
7921
7921
  block,
7922
7922
  id: create_else_block$2.name,
7923
7923
  type: "else",
7924
- source: "(192:0) {:else}",
7924
+ source: "(193:0) {:else}",
7925
7925
  ctx
7926
7926
  });
7927
7927
 
7928
7928
  return block;
7929
7929
  }
7930
7930
 
7931
- // (175:0) {#if isLoading}
7931
+ // (176:0) {#if isLoading}
7932
7932
  function create_if_block$2(ctx) {
7933
7933
  let div11;
7934
7934
  let div10;
@@ -7973,29 +7973,29 @@
7973
7973
  t6 = space();
7974
7974
  div7 = element("div");
7975
7975
  attr_dev(div0, "class", "ph-picture");
7976
- add_location(div0, file$2, 178, 10, 5226);
7976
+ add_location(div0, file$2, 179, 10, 5245);
7977
7977
  attr_dev(div1, "class", "ph-col-6 big");
7978
- add_location(div1, file$2, 180, 12, 5300);
7978
+ add_location(div1, file$2, 181, 12, 5319);
7979
7979
  attr_dev(div2, "class", "ph-col-4 empty big");
7980
- add_location(div2, file$2, 181, 12, 5345);
7980
+ add_location(div2, file$2, 182, 12, 5364);
7981
7981
  attr_dev(div3, "class", "ph-col-4");
7982
- add_location(div3, file$2, 182, 12, 5396);
7982
+ add_location(div3, file$2, 183, 12, 5415);
7983
7983
  attr_dev(div4, "class", "ph-col-8 empty");
7984
- add_location(div4, file$2, 183, 12, 5437);
7984
+ add_location(div4, file$2, 184, 12, 5456);
7985
7985
  attr_dev(div5, "class", "ph-col-6");
7986
- add_location(div5, file$2, 184, 12, 5484);
7986
+ add_location(div5, file$2, 185, 12, 5503);
7987
7987
  attr_dev(div6, "class", "ph-col-6 empty");
7988
- add_location(div6, file$2, 185, 12, 5525);
7988
+ add_location(div6, file$2, 186, 12, 5544);
7989
7989
  attr_dev(div7, "class", "ph-col-12");
7990
- add_location(div7, file$2, 186, 12, 5572);
7990
+ add_location(div7, file$2, 187, 12, 5591);
7991
7991
  attr_dev(div8, "class", "ph-row");
7992
- add_location(div8, file$2, 179, 10, 5267);
7992
+ add_location(div8, file$2, 180, 10, 5286);
7993
7993
  attr_dev(div9, "class", "ph-col-12");
7994
- add_location(div9, file$2, 177, 8, 5192);
7994
+ add_location(div9, file$2, 178, 8, 5211);
7995
7995
  attr_dev(div10, "class", "ph-item");
7996
- add_location(div10, file$2, 176, 6, 5162);
7996
+ add_location(div10, file$2, 177, 6, 5181);
7997
7997
  attr_dev(div11, "class", div11_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
7998
- add_location(div11, file$2, 175, 2, 5062);
7998
+ add_location(div11, file$2, 176, 2, 5081);
7999
7999
  },
8000
8000
  m: function mount(target, anchor) {
8001
8001
  insert_dev(target, div11, anchor);
@@ -8032,14 +8032,14 @@
8032
8032
  block,
8033
8033
  id: create_if_block$2.name,
8034
8034
  type: "if",
8035
- source: "(175:0) {#if isLoading}",
8035
+ source: "(176:0) {#if isLoading}",
8036
8036
  ctx
8037
8037
  });
8038
8038
 
8039
8039
  return block;
8040
8040
  }
8041
8041
 
8042
- // (209:4) {#if isLoggedIn}
8042
+ // (210:4) {#if isLoggedIn}
8043
8043
  function create_if_block_10$1(ctx) {
8044
8044
  let t;
8045
8045
  let casino_tournaments_thumbnail_duration;
@@ -8053,7 +8053,7 @@
8053
8053
  set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[16]);
8054
8054
  set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[14]);
8055
8055
  set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[15]);
8056
- add_location(casino_tournaments_thumbnail_duration, file$2, 216, 6, 6392);
8056
+ add_location(casino_tournaments_thumbnail_duration, file$2, 217, 6, 6411);
8057
8057
  },
8058
8058
  m: function mount(target, anchor) {
8059
8059
  if (if_block) if_block.m(target, anchor);
@@ -8097,14 +8097,14 @@
8097
8097
  block,
8098
8098
  id: create_if_block_10$1.name,
8099
8099
  type: "if",
8100
- source: "(209:4) {#if isLoggedIn}",
8100
+ source: "(210:4) {#if isLoggedIn}",
8101
8101
  ctx
8102
8102
  });
8103
8103
 
8104
8104
  return block;
8105
8105
  }
8106
8106
 
8107
- // (210:6) {#if tourid}
8107
+ // (211:6) {#if tourid}
8108
8108
  function create_if_block_11$1(ctx) {
8109
8109
  let casino_tournaments_thumbnail_prizes;
8110
8110
  let sendTournamentPrizes_action;
@@ -8115,7 +8115,7 @@
8115
8115
  c: function create() {
8116
8116
  casino_tournaments_thumbnail_prizes = element("casino-tournaments-thumbnail-prizes");
8117
8117
  set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[17]);
8118
- add_location(casino_tournaments_thumbnail_prizes, file$2, 210, 8, 6210);
8118
+ add_location(casino_tournaments_thumbnail_prizes, file$2, 211, 8, 6229);
8119
8119
  },
8120
8120
  m: function mount(target, anchor) {
8121
8121
  insert_dev(target, casino_tournaments_thumbnail_prizes, anchor);
@@ -8143,14 +8143,14 @@
8143
8143
  block,
8144
8144
  id: create_if_block_11$1.name,
8145
8145
  type: "if",
8146
- source: "(210:6) {#if tourid}",
8146
+ source: "(211:6) {#if tourid}",
8147
8147
  ctx
8148
8148
  });
8149
8149
 
8150
8150
  return block;
8151
8151
  }
8152
8152
 
8153
- // (249:10) {#if showdetails == 'true'}
8153
+ // (250:10) {#if showdetails == 'true'}
8154
8154
  function create_if_block_9$1(ctx) {
8155
8155
  let button;
8156
8156
  let mounted;
@@ -8161,13 +8161,13 @@
8161
8161
  button = element("button");
8162
8162
  button.textContent = "Details";
8163
8163
  attr_dev(button, "class", "DetailsLargeButton");
8164
- add_location(button, file$2, 249, 12, 8030);
8164
+ add_location(button, file$2, 250, 12, 8049);
8165
8165
  },
8166
8166
  m: function mount(target, anchor) {
8167
8167
  insert_dev(target, button, anchor);
8168
8168
 
8169
8169
  if (!mounted) {
8170
- dispose = listen_dev(button, "click", /*click_handler_4*/ ctx[39], false, false, false);
8170
+ dispose = listen_dev(button, "click", /*click_handler_4*/ ctx[40], false, false, false);
8171
8171
  mounted = true;
8172
8172
  }
8173
8173
  },
@@ -8183,14 +8183,14 @@
8183
8183
  block,
8184
8184
  id: create_if_block_9$1.name,
8185
8185
  type: "if",
8186
- source: "(249:10) {#if showdetails == 'true'}",
8186
+ source: "(250:10) {#if showdetails == 'true'}",
8187
8187
  ctx
8188
8188
  });
8189
8189
 
8190
8190
  return block;
8191
8191
  }
8192
8192
 
8193
- // (228:8) {#if status != 'Closed' && status != 'Closing'}
8193
+ // (229:8) {#if status != 'Closed' && status != 'Closing'}
8194
8194
  function create_if_block_4$2(ctx) {
8195
8195
  let t;
8196
8196
  let if_block1_anchor;
@@ -8255,14 +8255,14 @@
8255
8255
  block,
8256
8256
  id: create_if_block_4$2.name,
8257
8257
  type: "if",
8258
- source: "(228:8) {#if status != 'Closed' && status != 'Closing'}",
8258
+ source: "(229:8) {#if status != 'Closed' && status != 'Closing'}",
8259
8259
  ctx
8260
8260
  });
8261
8261
 
8262
8262
  return block;
8263
8263
  }
8264
8264
 
8265
- // (224:6) {#if !isLoggedIn}
8265
+ // (225:6) {#if !isLoggedIn}
8266
8266
  function create_if_block_3$2(ctx) {
8267
8267
  let button0;
8268
8268
  let t1;
@@ -8278,9 +8278,9 @@
8278
8278
  button1 = element("button");
8279
8279
  button1.textContent = "Register";
8280
8280
  attr_dev(button0, "class", "LoginButton");
8281
- add_location(button0, file$2, 224, 8, 6637);
8281
+ add_location(button0, file$2, 225, 8, 6656);
8282
8282
  attr_dev(button1, "class", "RegisterButton");
8283
- add_location(button1, file$2, 225, 8, 6720);
8283
+ add_location(button1, file$2, 226, 8, 6739);
8284
8284
  },
8285
8285
  m: function mount(target, anchor) {
8286
8286
  insert_dev(target, button0, anchor);
@@ -8289,8 +8289,8 @@
8289
8289
 
8290
8290
  if (!mounted) {
8291
8291
  dispose = [
8292
- listen_dev(button0, "click", /*click_handler*/ ctx[35], false, false, false),
8293
- listen_dev(button1, "click", /*click_handler_1*/ ctx[36], false, false, false)
8292
+ listen_dev(button0, "click", /*click_handler*/ ctx[36], false, false, false),
8293
+ listen_dev(button1, "click", /*click_handler_1*/ ctx[37], false, false, false)
8294
8294
  ];
8295
8295
 
8296
8296
  mounted = true;
@@ -8310,14 +8310,14 @@
8310
8310
  block,
8311
8311
  id: create_if_block_3$2.name,
8312
8312
  type: "if",
8313
- source: "(224:6) {#if !isLoggedIn}",
8313
+ source: "(225:6) {#if !isLoggedIn}",
8314
8314
  ctx
8315
8315
  });
8316
8316
 
8317
8317
  return block;
8318
8318
  }
8319
8319
 
8320
- // (229:10) {#if showdetails == 'true'}
8320
+ // (230:10) {#if showdetails == 'true'}
8321
8321
  function create_if_block_8$1(ctx) {
8322
8322
  let button;
8323
8323
  let mounted;
@@ -8328,13 +8328,13 @@
8328
8328
  button = element("button");
8329
8329
  button.textContent = "Details";
8330
8330
  attr_dev(button, "class", "DetailsButton");
8331
- add_location(button, file$2, 229, 12, 6923);
8331
+ add_location(button, file$2, 230, 12, 6942);
8332
8332
  },
8333
8333
  m: function mount(target, anchor) {
8334
8334
  insert_dev(target, button, anchor);
8335
8335
 
8336
8336
  if (!mounted) {
8337
- dispose = listen_dev(button, "click", /*click_handler_2*/ ctx[37], false, false, false);
8337
+ dispose = listen_dev(button, "click", /*click_handler_2*/ ctx[38], false, false, false);
8338
8338
  mounted = true;
8339
8339
  }
8340
8340
  },
@@ -8350,14 +8350,14 @@
8350
8350
  block,
8351
8351
  id: create_if_block_8$1.name,
8352
8352
  type: "if",
8353
- source: "(229:10) {#if showdetails == 'true'}",
8353
+ source: "(230:10) {#if showdetails == 'true'}",
8354
8354
  ctx
8355
8355
  });
8356
8356
 
8357
8357
  return block;
8358
8358
  }
8359
8359
 
8360
- // (236:10) {:else}
8360
+ // (237:10) {:else}
8361
8361
  function create_else_block_1$1(ctx) {
8362
8362
  let button;
8363
8363
  let button_class_value;
@@ -8378,14 +8378,14 @@
8378
8378
  if_block.c();
8379
8379
  attr_dev(button, "class", button_class_value = "JoinButton " + (/*fullsize*/ ctx[7] ? "JoinButtonFullSize" : ""));
8380
8380
  button.disabled = /*errorJoin*/ ctx[11];
8381
- add_location(button, file$2, 236, 12, 7222);
8381
+ add_location(button, file$2, 237, 12, 7241);
8382
8382
  },
8383
8383
  m: function mount(target, anchor) {
8384
8384
  insert_dev(target, button, anchor);
8385
8385
  if_block.m(button, null);
8386
8386
 
8387
8387
  if (!mounted) {
8388
- dispose = listen_dev(button, "click", /*click_handler_3*/ ctx[38], false, false, false);
8388
+ dispose = listen_dev(button, "click", /*click_handler_3*/ ctx[39], false, false, false);
8389
8389
  mounted = true;
8390
8390
  }
8391
8391
  },
@@ -8420,14 +8420,14 @@
8420
8420
  block,
8421
8421
  id: create_else_block_1$1.name,
8422
8422
  type: "else",
8423
- source: "(236:10) {:else}",
8423
+ source: "(237:10) {:else}",
8424
8424
  ctx
8425
8425
  });
8426
8426
 
8427
8427
  return block;
8428
8428
  }
8429
8429
 
8430
- // (232:10) {#if userenrolled == true}
8430
+ // (233:10) {#if userenrolled == true}
8431
8431
  function create_if_block_5$1(ctx) {
8432
8432
  let if_block_anchor;
8433
8433
  let if_block = /*showdetails*/ ctx[3] == "true" && create_if_block_6$1(ctx);
@@ -8463,14 +8463,14 @@
8463
8463
  block,
8464
8464
  id: create_if_block_5$1.name,
8465
8465
  type: "if",
8466
- source: "(232:10) {#if userenrolled == true}",
8466
+ source: "(233:10) {#if userenrolled == true}",
8467
8467
  ctx
8468
8468
  });
8469
8469
 
8470
8470
  return block;
8471
8471
  }
8472
8472
 
8473
- // (242:14) {:else}
8473
+ // (243:14) {:else}
8474
8474
  function create_else_block_2$1(ctx) {
8475
8475
  let span;
8476
8476
  let t1;
@@ -8492,20 +8492,20 @@
8492
8492
  t2 = text(".a{fill:#fff;}");
8493
8493
  g = svg_element("g");
8494
8494
  path = svg_element("path");
8495
- add_location(span, file$2, 242, 16, 7558);
8496
- add_location(style, file$2, 243, 105, 7681);
8497
- add_location(defs, file$2, 243, 99, 7675);
8495
+ add_location(span, file$2, 243, 16, 7577);
8496
+ add_location(style, file$2, 244, 105, 7700);
8497
+ add_location(defs, file$2, 244, 99, 7694);
8498
8498
  attr_dev(path, "class", "a");
8499
8499
  attr_dev(path, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z");
8500
8500
  attr_dev(path, "transform", "translate(26 26) rotate(180)");
8501
- add_location(path, file$2, 243, 185, 7761);
8501
+ add_location(path, file$2, 244, 185, 7780);
8502
8502
  attr_dev(g, "transform", "translate(26 26) rotate(180)");
8503
- add_location(g, file$2, 243, 141, 7717);
8503
+ add_location(g, file$2, 244, 141, 7736);
8504
8504
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
8505
8505
  attr_dev(svg, "width", "26");
8506
8506
  attr_dev(svg, "height", "26");
8507
8507
  attr_dev(svg, "viewBox", "0 0 26 26");
8508
- add_location(svg, file$2, 243, 16, 7592);
8508
+ add_location(svg, file$2, 244, 16, 7611);
8509
8509
  },
8510
8510
  m: function mount(target, anchor) {
8511
8511
  insert_dev(target, span, anchor);
@@ -8528,14 +8528,14 @@
8528
8528
  block,
8529
8529
  id: create_else_block_2$1.name,
8530
8530
  type: "else",
8531
- source: "(242:14) {:else}",
8531
+ source: "(243:14) {:else}",
8532
8532
  ctx
8533
8533
  });
8534
8534
 
8535
8535
  return block;
8536
8536
  }
8537
8537
 
8538
- // (238:14) {#if joinButtonLoading == true}
8538
+ // (239:14) {#if joinButtonLoading == true}
8539
8539
  function create_if_block_7$1(ctx) {
8540
8540
  let svg;
8541
8541
  let circle;
@@ -8547,9 +8547,9 @@
8547
8547
  attr_dev(circle, "cx", "20");
8548
8548
  attr_dev(circle, "cy", "20");
8549
8549
  attr_dev(circle, "r", "18");
8550
- add_location(circle, file$2, 239, 18, 7456);
8550
+ add_location(circle, file$2, 240, 18, 7475);
8551
8551
  attr_dev(svg, "class", "spinner");
8552
- add_location(svg, file$2, 238, 16, 7416);
8552
+ add_location(svg, file$2, 239, 16, 7435);
8553
8553
  },
8554
8554
  m: function mount(target, anchor) {
8555
8555
  insert_dev(target, svg, anchor);
@@ -8564,14 +8564,14 @@
8564
8564
  block,
8565
8565
  id: create_if_block_7$1.name,
8566
8566
  type: "if",
8567
- source: "(238:14) {#if joinButtonLoading == true}",
8567
+ source: "(239:14) {#if joinButtonLoading == true}",
8568
8568
  ctx
8569
8569
  });
8570
8570
 
8571
8571
  return block;
8572
8572
  }
8573
8573
 
8574
- // (233:12) {#if showdetails == 'true'}
8574
+ // (234:12) {#if showdetails == 'true'}
8575
8575
  function create_if_block_6$1(ctx) {
8576
8576
  let button;
8577
8577
 
@@ -8581,7 +8581,7 @@
8581
8581
  button.textContent = "Enrolled";
8582
8582
  attr_dev(button, "class", "EnrolledButton");
8583
8583
  button.disabled = true;
8584
- add_location(button, file$2, 233, 14, 7116);
8584
+ add_location(button, file$2, 234, 14, 7135);
8585
8585
  },
8586
8586
  m: function mount(target, anchor) {
8587
8587
  insert_dev(target, button, anchor);
@@ -8595,14 +8595,14 @@
8595
8595
  block,
8596
8596
  id: create_if_block_6$1.name,
8597
8597
  type: "if",
8598
- source: "(233:12) {#if showdetails == 'true'}",
8598
+ source: "(234:12) {#if showdetails == 'true'}",
8599
8599
  ctx
8600
8600
  });
8601
8601
 
8602
8602
  return block;
8603
8603
  }
8604
8604
 
8605
- // (255:4) {#if errorJoin}
8605
+ // (256:4) {#if errorJoin}
8606
8606
  function create_if_block_2$2(ctx) {
8607
8607
  let span;
8608
8608
  let t0;
@@ -8614,7 +8614,7 @@
8614
8614
  t0 = text("There was an error joining the tournament - ");
8615
8615
  t1 = text(/*errorJoinText*/ ctx[12]);
8616
8616
  attr_dev(span, "class", "ErrorText");
8617
- add_location(span, file$2, 255, 6, 8200);
8617
+ add_location(span, file$2, 256, 6, 8219);
8618
8618
  },
8619
8619
  m: function mount(target, anchor) {
8620
8620
  insert_dev(target, span, anchor);
@@ -8633,14 +8633,14 @@
8633
8633
  block,
8634
8634
  id: create_if_block_2$2.name,
8635
8635
  type: "if",
8636
- source: "(255:4) {#if errorJoin}",
8636
+ source: "(256:4) {#if errorJoin}",
8637
8637
  ctx
8638
8638
  });
8639
8639
 
8640
8640
  return block;
8641
8641
  }
8642
8642
 
8643
- // (258:4) {#if showslider == "true"}
8643
+ // (259:4) {#if showslider == "true"}
8644
8644
  function create_if_block_1$2(ctx) {
8645
8645
  let casino_tournaments_thumbnail_games_slider;
8646
8646
 
@@ -8650,7 +8650,7 @@
8650
8650
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
8651
8651
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
8652
8652
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "130");
8653
- add_location(casino_tournaments_thumbnail_games_slider, file$2, 258, 6, 8338);
8653
+ add_location(casino_tournaments_thumbnail_games_slider, file$2, 259, 6, 8357);
8654
8654
  },
8655
8655
  m: function mount(target, anchor) {
8656
8656
  insert_dev(target, casino_tournaments_thumbnail_games_slider, anchor);
@@ -8669,7 +8669,7 @@
8669
8669
  block,
8670
8670
  id: create_if_block_1$2.name,
8671
8671
  type: "if",
8672
- source: "(258:4) {#if showslider == \\\"true\\\"}",
8672
+ source: "(259:4) {#if showslider == \\\"true\\\"}",
8673
8673
  ctx
8674
8674
  });
8675
8675
 
@@ -8749,6 +8749,7 @@
8749
8749
  let { registerevent = "" } = $$props;
8750
8750
  let { loginurl = "" } = $$props;
8751
8751
  let { registerurl = "" } = $$props;
8752
+ let { currency = "" } = $$props;
8752
8753
 
8753
8754
  // Variables of topics for communication
8754
8755
  let sessionTopic;
@@ -8836,7 +8837,7 @@
8836
8837
  body = {
8837
8838
  language: "en",
8838
8839
  bonusCode: wallet[0].code,
8839
- currency: "EUR"
8840
+ currency
8840
8841
  };
8841
8842
  }
8842
8843
 
@@ -8947,7 +8948,8 @@
8947
8948
  "loginevent",
8948
8949
  "registerevent",
8949
8950
  "loginurl",
8950
- "registerurl"
8951
+ "registerurl",
8952
+ "currency"
8951
8953
  ];
8952
8954
 
8953
8955
  Object.keys($$props).forEach(key => {
@@ -8975,6 +8977,7 @@
8975
8977
  if ("registerevent" in $$props) $$invalidate(32, registerevent = $$props.registerevent);
8976
8978
  if ("loginurl" in $$props) $$invalidate(33, loginurl = $$props.loginurl);
8977
8979
  if ("registerurl" in $$props) $$invalidate(34, registerurl = $$props.registerurl);
8980
+ if ("currency" in $$props) $$invalidate(35, currency = $$props.currency);
8978
8981
  };
8979
8982
 
8980
8983
  $$self.$capture_state = () => ({
@@ -8995,6 +8998,7 @@
8995
8998
  registerevent,
8996
8999
  loginurl,
8997
9000
  registerurl,
9001
+ currency,
8998
9002
  sessionTopic,
8999
9003
  isLoggedIn,
9000
9004
  sessionID,
@@ -9043,6 +9047,7 @@
9043
9047
  if ("registerevent" in $$props) $$invalidate(32, registerevent = $$props.registerevent);
9044
9048
  if ("loginurl" in $$props) $$invalidate(33, loginurl = $$props.loginurl);
9045
9049
  if ("registerurl" in $$props) $$invalidate(34, registerurl = $$props.registerurl);
9050
+ if ("currency" in $$props) $$invalidate(35, currency = $$props.currency);
9046
9051
  if ("sessionTopic" in $$props) sessionTopic = $$props.sessionTopic;
9047
9052
  if ("isLoggedIn" in $$props) $$invalidate(8, isLoggedIn = $$props.isLoggedIn);
9048
9053
  if ("sessionID" in $$props) sessionID = $$props.sessionID;
@@ -9116,6 +9121,7 @@
9116
9121
  registerevent,
9117
9122
  loginurl,
9118
9123
  registerurl,
9124
+ currency,
9119
9125
  click_handler,
9120
9126
  click_handler_1,
9121
9127
  click_handler_2,
@@ -9153,7 +9159,8 @@
9153
9159
  loginevent: 31,
9154
9160
  registerevent: 32,
9155
9161
  loginurl: 33,
9156
- registerurl: 34
9162
+ registerurl: 34,
9163
+ currency: 35
9157
9164
  },
9158
9165
  [-1, -1]
9159
9166
  );
@@ -9185,7 +9192,8 @@
9185
9192
  "loginevent",
9186
9193
  "registerevent",
9187
9194
  "loginurl",
9188
- "registerurl"
9195
+ "registerurl",
9196
+ "currency"
9189
9197
  ];
9190
9198
  }
9191
9199
 
@@ -9314,6 +9322,15 @@
9314
9322
  this.$set({ registerurl });
9315
9323
  flush();
9316
9324
  }
9325
+
9326
+ get currency() {
9327
+ return this.$$.ctx[35];
9328
+ }
9329
+
9330
+ set currency(currency) {
9331
+ this.$set({ currency });
9332
+ flush();
9333
+ }
9317
9334
  }
9318
9335
 
9319
9336
  !customElements.get('casino-tournaments-thumbnail-controller') && customElements.define('casino-tournaments-thumbnail-controller', CasinoTournamentsThumbnailController);
@@ -11254,11 +11271,11 @@
11254
11271
 
11255
11272
  function get_each_context(ctx, list, i) {
11256
11273
  const child_ctx = ctx.slice();
11257
- child_ctx[30] = list[i];
11274
+ child_ctx[31] = list[i];
11258
11275
  return child_ctx;
11259
11276
  }
11260
11277
 
11261
- // (156:0) {:else}
11278
+ // (157:0) {:else}
11262
11279
  function create_else_block(ctx) {
11263
11280
  let div5;
11264
11281
  let div1;
@@ -11277,8 +11294,8 @@
11277
11294
  let div3_class_value;
11278
11295
  let mounted;
11279
11296
  let dispose;
11280
- let if_block0 = /*tournamentDetails*/ ctx[6] && create_if_block_4(ctx);
11281
- let if_block1 = /*tournamentDescription*/ ctx[5].length > 0 && create_if_block_3(ctx);
11297
+ let if_block0 = /*tournamentDetails*/ ctx[7] && create_if_block_4(ctx);
11298
+ let if_block1 = /*tournamentDescription*/ ctx[6].length > 0 && create_if_block_3(ctx);
11282
11299
  let if_block2 = /*showleaderboard*/ ctx[0] == "true" && create_if_block_1(ctx);
11283
11300
 
11284
11301
  const block = {
@@ -11304,35 +11321,35 @@
11304
11321
  attr_dev(path, "stroke-linejoin", "round");
11305
11322
  attr_dev(path, "stroke-width", "2");
11306
11323
  attr_dev(path, "d", "M15 19l-7-7 7-7");
11307
- add_location(path, file, 161, 10, 5389);
11324
+ add_location(path, file, 162, 10, 5418);
11308
11325
  attr_dev(svg, "fill", "none");
11309
11326
  attr_dev(svg, "stroke", "currentColor");
11310
11327
  attr_dev(svg, "width", "24");
11311
11328
  attr_dev(svg, "height", "24");
11312
11329
  attr_dev(svg, "viewBox", "0 0 24 24");
11313
11330
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11314
- add_location(svg, file, 160, 8, 5261);
11315
- add_location(p, file, 163, 8, 5510);
11331
+ add_location(svg, file, 161, 8, 5290);
11332
+ add_location(p, file, 164, 8, 5539);
11316
11333
  attr_dev(div0, "class", "BackButton");
11317
- add_location(div0, file, 159, 6, 5202);
11334
+ add_location(div0, file, 160, 6, 5231);
11318
11335
  attr_dev(div1, "class", "TopButtons");
11319
- add_location(div1, file, 158, 4, 5171);
11336
+ add_location(div1, file, 159, 4, 5200);
11320
11337
 
11321
- attr_dev(div2, "class", div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
11338
+ attr_dev(div2, "class", div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[9]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
11322
11339
  ? "TournamentCardDetails"
11323
11340
  : "FullSize")));
11324
11341
 
11325
- add_location(div2, file, 182, 6, 6318);
11342
+ add_location(div2, file, 183, 6, 6347);
11326
11343
 
11327
11344
  attr_dev(div3, "class", div3_class_value = /*showleaderboard*/ ctx[0] == "true"
11328
11345
  ? "TournamentTableDetails "
11329
11346
  : "DisplayNone");
11330
11347
 
11331
- add_location(div3, file, 203, 6, 7141);
11332
- attr_dev(div4, "class", "TournamentContentDetails " + (isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : ""));
11333
- add_location(div4, file, 181, 4, 6230);
11348
+ add_location(div3, file, 205, 6, 7193);
11349
+ attr_dev(div4, "class", "TournamentContentDetails " + (isMobile(/*userAgent*/ ctx[9]) ? "MobileClass" : ""));
11350
+ add_location(div4, file, 182, 4, 6259);
11334
11351
  attr_dev(div5, "class", "TournamentsPage");
11335
- add_location(div5, file, 156, 2, 5136);
11352
+ add_location(div5, file, 157, 2, 5165);
11336
11353
  },
11337
11354
  m: function mount(target, anchor) {
11338
11355
  insert_dev(target, div5, anchor);
@@ -11353,12 +11370,12 @@
11353
11370
  if (if_block2) if_block2.m(div3, null);
11354
11371
 
11355
11372
  if (!mounted) {
11356
- dispose = listen_dev(div0, "click", /*click_handler*/ ctx[14], false, false, false);
11373
+ dispose = listen_dev(div0, "click", /*click_handler*/ ctx[15], false, false, false);
11357
11374
  mounted = true;
11358
11375
  }
11359
11376
  },
11360
11377
  p: function update(ctx, dirty) {
11361
- if (/*tournamentDetails*/ ctx[6]) {
11378
+ if (/*tournamentDetails*/ ctx[7]) {
11362
11379
  if (if_block0) {
11363
11380
  if_block0.p(ctx, dirty);
11364
11381
  } else {
@@ -11371,7 +11388,7 @@
11371
11388
  if_block0 = null;
11372
11389
  }
11373
11390
 
11374
- if (/*tournamentDescription*/ ctx[5].length > 0) {
11391
+ if (/*tournamentDescription*/ ctx[6].length > 0) {
11375
11392
  if (if_block1) {
11376
11393
  if_block1.p(ctx, dirty);
11377
11394
  } else {
@@ -11384,7 +11401,7 @@
11384
11401
  if_block1 = null;
11385
11402
  }
11386
11403
 
11387
- if (dirty[0] & /*showleaderboard*/ 1 && div2_class_value !== (div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
11404
+ if (dirty[0] & /*showleaderboard*/ 1 && div2_class_value !== (div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[9]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
11388
11405
  ? "TournamentCardDetails"
11389
11406
  : "FullSize")))) {
11390
11407
  attr_dev(div2, "class", div2_class_value);
@@ -11423,14 +11440,14 @@
11423
11440
  block,
11424
11441
  id: create_else_block.name,
11425
11442
  type: "else",
11426
- source: "(156:0) {:else}",
11443
+ source: "(157:0) {:else}",
11427
11444
  ctx
11428
11445
  });
11429
11446
 
11430
11447
  return block;
11431
11448
  }
11432
11449
 
11433
- // (154:0) {#if isLoading}
11450
+ // (155:0) {#if isLoading}
11434
11451
  function create_if_block(ctx) {
11435
11452
  let p;
11436
11453
 
@@ -11438,7 +11455,7 @@
11438
11455
  c: function create() {
11439
11456
  p = element("p");
11440
11457
  p.textContent = "Loading, please wait ...";
11441
- add_location(p, file, 154, 2, 5094);
11458
+ add_location(p, file, 155, 2, 5123);
11442
11459
  },
11443
11460
  m: function mount(target, anchor) {
11444
11461
  insert_dev(target, p, anchor);
@@ -11453,14 +11470,14 @@
11453
11470
  block,
11454
11471
  id: create_if_block.name,
11455
11472
  type: "if",
11456
- source: "(154:0) {#if isLoading}",
11473
+ source: "(155:0) {#if isLoading}",
11457
11474
  ctx
11458
11475
  });
11459
11476
 
11460
11477
  return block;
11461
11478
  }
11462
11479
 
11463
- // (184:8) {#if tournamentDetails}
11480
+ // (185:8) {#if tournamentDetails}
11464
11481
  function create_if_block_4(ctx) {
11465
11482
  let casino_tournaments_thumbnail_controller;
11466
11483
  let casino_tournaments_thumbnail_controller_tournamenturl_value;
@@ -11472,12 +11489,13 @@
11472
11489
  set_custom_element_data(casino_tournaments_thumbnail_controller, "session", /*session*/ ctx[1]);
11473
11490
  set_custom_element_data(casino_tournaments_thumbnail_controller, "userid", /*userid*/ ctx[2]);
11474
11491
  set_custom_element_data(casino_tournaments_thumbnail_controller, "endpoint", /*endpoint*/ ctx[3]);
11475
- set_custom_element_data(casino_tournaments_thumbnail_controller, "tournamenturl", casino_tournaments_thumbnail_controller_tournamenturl_value = /*tournamentDetails*/ ctx[6].href);
11492
+ set_custom_element_data(casino_tournaments_thumbnail_controller, "tournamenturl", casino_tournaments_thumbnail_controller_tournamenturl_value = /*tournamentDetails*/ ctx[7].href);
11476
11493
  set_custom_element_data(casino_tournaments_thumbnail_controller, "showdetails", "false");
11477
11494
  set_custom_element_data(casino_tournaments_thumbnail_controller, "showslider", "true");
11478
11495
  set_custom_element_data(casino_tournaments_thumbnail_controller, "showenrolled", "true");
11479
11496
  set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value = !!/*showleaderboard*/ ctx[0]);
11480
- add_location(casino_tournaments_thumbnail_controller, file, 184, 10, 6483);
11497
+ set_custom_element_data(casino_tournaments_thumbnail_controller, "currency", /*currency*/ ctx[4]);
11498
+ add_location(casino_tournaments_thumbnail_controller, file, 185, 10, 6512);
11481
11499
  },
11482
11500
  m: function mount(target, anchor) {
11483
11501
  insert_dev(target, casino_tournaments_thumbnail_controller, anchor);
@@ -11495,13 +11513,17 @@
11495
11513
  set_custom_element_data(casino_tournaments_thumbnail_controller, "endpoint", /*endpoint*/ ctx[3]);
11496
11514
  }
11497
11515
 
11498
- if (dirty[0] & /*tournamentDetails*/ 64 && casino_tournaments_thumbnail_controller_tournamenturl_value !== (casino_tournaments_thumbnail_controller_tournamenturl_value = /*tournamentDetails*/ ctx[6].href)) {
11516
+ if (dirty[0] & /*tournamentDetails*/ 128 && casino_tournaments_thumbnail_controller_tournamenturl_value !== (casino_tournaments_thumbnail_controller_tournamenturl_value = /*tournamentDetails*/ ctx[7].href)) {
11499
11517
  set_custom_element_data(casino_tournaments_thumbnail_controller, "tournamenturl", casino_tournaments_thumbnail_controller_tournamenturl_value);
11500
11518
  }
11501
11519
 
11502
11520
  if (dirty[0] & /*showleaderboard*/ 1 && casino_tournaments_thumbnail_controller_fullsize_value !== (casino_tournaments_thumbnail_controller_fullsize_value = !!/*showleaderboard*/ ctx[0])) {
11503
11521
  set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value);
11504
11522
  }
11523
+
11524
+ if (dirty[0] & /*currency*/ 16) {
11525
+ set_custom_element_data(casino_tournaments_thumbnail_controller, "currency", /*currency*/ ctx[4]);
11526
+ }
11505
11527
  },
11506
11528
  d: function destroy(detaching) {
11507
11529
  if (detaching) detach_dev(casino_tournaments_thumbnail_controller);
@@ -11512,17 +11534,17 @@
11512
11534
  block,
11513
11535
  id: create_if_block_4.name,
11514
11536
  type: "if",
11515
- source: "(184:8) {#if tournamentDetails}",
11537
+ source: "(185:8) {#if tournamentDetails}",
11516
11538
  ctx
11517
11539
  });
11518
11540
 
11519
11541
  return block;
11520
11542
  }
11521
11543
 
11522
- // (196:8) {#if tournamentDescription.length > 0}
11544
+ // (198:8) {#if tournamentDescription.length > 0}
11523
11545
  function create_if_block_3(ctx) {
11524
11546
  let each_1_anchor;
11525
- let each_value = /*tournamentDescription*/ ctx[5];
11547
+ let each_value = /*tournamentDescription*/ ctx[6];
11526
11548
  validate_each_argument(each_value);
11527
11549
  let each_blocks = [];
11528
11550
 
@@ -11546,8 +11568,8 @@
11546
11568
  insert_dev(target, each_1_anchor, anchor);
11547
11569
  },
11548
11570
  p: function update(ctx, dirty) {
11549
- if (dirty[0] & /*tournamentDescription*/ 32) {
11550
- each_value = /*tournamentDescription*/ ctx[5];
11571
+ if (dirty[0] & /*tournamentDescription*/ 64) {
11572
+ each_value = /*tournamentDescription*/ ctx[6];
11551
11573
  validate_each_argument(each_value);
11552
11574
  let i;
11553
11575
 
@@ -11580,14 +11602,14 @@
11580
11602
  block,
11581
11603
  id: create_if_block_3.name,
11582
11604
  type: "if",
11583
- source: "(196:8) {#if tournamentDescription.length > 0}",
11605
+ source: "(198:8) {#if tournamentDescription.length > 0}",
11584
11606
  ctx
11585
11607
  });
11586
11608
 
11587
11609
  return block;
11588
11610
  }
11589
11611
 
11590
- // (197:10) {#each tournamentDescription as desc}
11612
+ // (199:10) {#each tournamentDescription as desc}
11591
11613
  function create_each_block(ctx) {
11592
11614
  let casino_tournaments_details;
11593
11615
  let casino_tournaments_details_title_value;
@@ -11596,19 +11618,19 @@
11596
11618
  const block = {
11597
11619
  c: function create() {
11598
11620
  casino_tournaments_details = element("casino-tournaments-details");
11599
- set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value = /*desc*/ ctx[30].title);
11600
- set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value = /*desc*/ ctx[30].description);
11601
- add_location(casino_tournaments_details, file, 197, 12, 6975);
11621
+ set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value = /*desc*/ ctx[31].title);
11622
+ set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value = /*desc*/ ctx[31].description);
11623
+ add_location(casino_tournaments_details, file, 199, 12, 7027);
11602
11624
  },
11603
11625
  m: function mount(target, anchor) {
11604
11626
  insert_dev(target, casino_tournaments_details, anchor);
11605
11627
  },
11606
11628
  p: function update(ctx, dirty) {
11607
- if (dirty[0] & /*tournamentDescription*/ 32 && casino_tournaments_details_title_value !== (casino_tournaments_details_title_value = /*desc*/ ctx[30].title)) {
11629
+ if (dirty[0] & /*tournamentDescription*/ 64 && casino_tournaments_details_title_value !== (casino_tournaments_details_title_value = /*desc*/ ctx[31].title)) {
11608
11630
  set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value);
11609
11631
  }
11610
11632
 
11611
- if (dirty[0] & /*tournamentDescription*/ 32 && casino_tournaments_details_text_value !== (casino_tournaments_details_text_value = /*desc*/ ctx[30].description)) {
11633
+ if (dirty[0] & /*tournamentDescription*/ 64 && casino_tournaments_details_text_value !== (casino_tournaments_details_text_value = /*desc*/ ctx[31].description)) {
11612
11634
  set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value);
11613
11635
  }
11614
11636
  },
@@ -11621,17 +11643,17 @@
11621
11643
  block,
11622
11644
  id: create_each_block.name,
11623
11645
  type: "each",
11624
- source: "(197:10) {#each tournamentDescription as desc}",
11646
+ source: "(199:10) {#each tournamentDescription as desc}",
11625
11647
  ctx
11626
11648
  });
11627
11649
 
11628
11650
  return block;
11629
11651
  }
11630
11652
 
11631
- // (205:8) {#if showleaderboard == "true"}
11653
+ // (207:8) {#if showleaderboard == "true"}
11632
11654
  function create_if_block_1(ctx) {
11633
11655
  let if_block_anchor;
11634
- let if_block = /*showTable*/ ctx[7] == true && create_if_block_2(ctx);
11656
+ let if_block = /*showTable*/ ctx[8] == true && create_if_block_2(ctx);
11635
11657
 
11636
11658
  const block = {
11637
11659
  c: function create() {
@@ -11643,7 +11665,7 @@
11643
11665
  insert_dev(target, if_block_anchor, anchor);
11644
11666
  },
11645
11667
  p: function update(ctx, dirty) {
11646
- if (/*showTable*/ ctx[7] == true) {
11668
+ if (/*showTable*/ ctx[8] == true) {
11647
11669
  if (if_block) ; else {
11648
11670
  if_block = create_if_block_2(ctx);
11649
11671
  if_block.c();
@@ -11664,14 +11686,14 @@
11664
11686
  block,
11665
11687
  id: create_if_block_1.name,
11666
11688
  type: "if",
11667
- source: "(205:8) {#if showleaderboard == \\\"true\\\"}",
11689
+ source: "(207:8) {#if showleaderboard == \\\"true\\\"}",
11668
11690
  ctx
11669
11691
  });
11670
11692
 
11671
11693
  return block;
11672
11694
  }
11673
11695
 
11674
- // (206:10) {#if showTable == true}
11696
+ // (208:10) {#if showTable == true}
11675
11697
  function create_if_block_2(ctx) {
11676
11698
  let casino_tournaments_table;
11677
11699
 
@@ -11680,7 +11702,7 @@
11680
11702
  casino_tournaments_table = element("casino-tournaments-table");
11681
11703
  set_custom_element_data(casino_tournaments_table, "firstrow", "true");
11682
11704
  set_custom_element_data(casino_tournaments_table, "sortable", "false");
11683
- add_location(casino_tournaments_table, file, 206, 12, 7313);
11705
+ add_location(casino_tournaments_table, file, 208, 12, 7365);
11684
11706
  },
11685
11707
  m: function mount(target, anchor) {
11686
11708
  insert_dev(target, casino_tournaments_table, anchor);
@@ -11694,7 +11716,7 @@
11694
11716
  block,
11695
11717
  id: create_if_block_2.name,
11696
11718
  type: "if",
11697
- source: "(206:10) {#if showTable == true}",
11719
+ source: "(208:10) {#if showTable == true}",
11698
11720
  ctx
11699
11721
  });
11700
11722
 
@@ -11705,7 +11727,7 @@
11705
11727
  let if_block_anchor;
11706
11728
 
11707
11729
  function select_block_type(ctx, dirty) {
11708
- if (/*isLoading*/ ctx[4]) return create_if_block;
11730
+ if (/*isLoading*/ ctx[5]) return create_if_block;
11709
11731
  return create_else_block;
11710
11732
  }
11711
11733
 
@@ -11768,6 +11790,7 @@
11768
11790
  let { cmsendpoint = "" } = $$props;
11769
11791
  let { lang = "" } = $$props;
11770
11792
  let { navigationbackbutton = "Default" } = $$props;
11793
+ let { currency = "EUR" } = $$props;
11771
11794
 
11772
11795
  // Variables of topics for communication
11773
11796
  let sessionTopic;
@@ -11825,7 +11848,7 @@
11825
11848
  let requestOptions = { method: "GET", headers: reqHeaders };
11826
11849
 
11827
11850
  fetch(url, requestOptions).then(res => res.json()).then(res => {
11828
- $$invalidate(6, tournamentDetails = res.item);
11851
+ $$invalidate(7, tournamentDetails = res.item);
11829
11852
 
11830
11853
  if (res.item.state == "Unstarted") {
11831
11854
  $$invalidate(0, showleaderboard = false);
@@ -11842,7 +11865,7 @@
11842
11865
 
11843
11866
  fetch(url, requestOptions).then(res => res.json()).then(res => {
11844
11867
  tournamentTableData = transformTableData(res.items);
11845
- $$invalidate(7, showTable = true);
11868
+ $$invalidate(8, showTable = true);
11846
11869
 
11847
11870
  // @TODO data is not iterable error fix
11848
11871
  window.postMessage(
@@ -11898,7 +11921,7 @@
11898
11921
  isLoggedIn = false;
11899
11922
  }
11900
11923
 
11901
- $$invalidate(4, isLoading = false);
11924
+ $$invalidate(5, isLoading = false);
11902
11925
  };
11903
11926
 
11904
11927
  const initialLoad = () => {
@@ -11909,7 +11932,7 @@
11909
11932
  const getDataFromCMS = () => {
11910
11933
  fetch(`${cmsendpoint}?tournamentId=${tourid}`).then(res => res.json()).then(data => {
11911
11934
  if (data && data.details) {
11912
- $$invalidate(5, tournamentDescription = data.details);
11935
+ $$invalidate(6, tournamentDescription = data.details);
11913
11936
  }
11914
11937
  });
11915
11938
  };
@@ -11930,7 +11953,8 @@
11930
11953
  "showleaderboard",
11931
11954
  "cmsendpoint",
11932
11955
  "lang",
11933
- "navigationbackbutton"
11956
+ "navigationbackbutton",
11957
+ "currency"
11934
11958
  ];
11935
11959
 
11936
11960
  Object.keys($$props).forEach(key => {
@@ -11942,12 +11966,13 @@
11942
11966
  $$self.$$set = $$props => {
11943
11967
  if ("session" in $$props) $$invalidate(1, session = $$props.session);
11944
11968
  if ("userid" in $$props) $$invalidate(2, userid = $$props.userid);
11945
- if ("tourid" in $$props) $$invalidate(10, tourid = $$props.tourid);
11969
+ if ("tourid" in $$props) $$invalidate(11, tourid = $$props.tourid);
11946
11970
  if ("endpoint" in $$props) $$invalidate(3, endpoint = $$props.endpoint);
11947
11971
  if ("showleaderboard" in $$props) $$invalidate(0, showleaderboard = $$props.showleaderboard);
11948
- if ("cmsendpoint" in $$props) $$invalidate(11, cmsendpoint = $$props.cmsendpoint);
11949
- if ("lang" in $$props) $$invalidate(12, lang = $$props.lang);
11950
- if ("navigationbackbutton" in $$props) $$invalidate(13, navigationbackbutton = $$props.navigationbackbutton);
11972
+ if ("cmsendpoint" in $$props) $$invalidate(12, cmsendpoint = $$props.cmsendpoint);
11973
+ if ("lang" in $$props) $$invalidate(13, lang = $$props.lang);
11974
+ if ("navigationbackbutton" in $$props) $$invalidate(14, navigationbackbutton = $$props.navigationbackbutton);
11975
+ if ("currency" in $$props) $$invalidate(4, currency = $$props.currency);
11951
11976
  };
11952
11977
 
11953
11978
  $$self.$capture_state = () => ({
@@ -11963,6 +11988,7 @@
11963
11988
  cmsendpoint,
11964
11989
  lang,
11965
11990
  navigationbackbutton,
11991
+ currency,
11966
11992
  sessionTopic,
11967
11993
  isLoggedIn,
11968
11994
  sessionID,
@@ -11989,22 +12015,23 @@
11989
12015
  $$self.$inject_state = $$props => {
11990
12016
  if ("session" in $$props) $$invalidate(1, session = $$props.session);
11991
12017
  if ("userid" in $$props) $$invalidate(2, userid = $$props.userid);
11992
- if ("tourid" in $$props) $$invalidate(10, tourid = $$props.tourid);
12018
+ if ("tourid" in $$props) $$invalidate(11, tourid = $$props.tourid);
11993
12019
  if ("endpoint" in $$props) $$invalidate(3, endpoint = $$props.endpoint);
11994
12020
  if ("showleaderboard" in $$props) $$invalidate(0, showleaderboard = $$props.showleaderboard);
11995
- if ("cmsendpoint" in $$props) $$invalidate(11, cmsendpoint = $$props.cmsendpoint);
11996
- if ("lang" in $$props) $$invalidate(12, lang = $$props.lang);
11997
- if ("navigationbackbutton" in $$props) $$invalidate(13, navigationbackbutton = $$props.navigationbackbutton);
12021
+ if ("cmsendpoint" in $$props) $$invalidate(12, cmsendpoint = $$props.cmsendpoint);
12022
+ if ("lang" in $$props) $$invalidate(13, lang = $$props.lang);
12023
+ if ("navigationbackbutton" in $$props) $$invalidate(14, navigationbackbutton = $$props.navigationbackbutton);
12024
+ if ("currency" in $$props) $$invalidate(4, currency = $$props.currency);
11998
12025
  if ("sessionTopic" in $$props) sessionTopic = $$props.sessionTopic;
11999
12026
  if ("isLoggedIn" in $$props) isLoggedIn = $$props.isLoggedIn;
12000
12027
  if ("sessionID" in $$props) sessionID = $$props.sessionID;
12001
12028
  if ("playerID" in $$props) playerID = $$props.playerID;
12002
- if ("isLoading" in $$props) $$invalidate(4, isLoading = $$props.isLoading);
12003
- if ("tournamentDescription" in $$props) $$invalidate(5, tournamentDescription = $$props.tournamentDescription);
12004
- if ("tournamentDetails" in $$props) $$invalidate(6, tournamentDetails = $$props.tournamentDetails);
12029
+ if ("isLoading" in $$props) $$invalidate(5, isLoading = $$props.isLoading);
12030
+ if ("tournamentDescription" in $$props) $$invalidate(6, tournamentDescription = $$props.tournamentDescription);
12031
+ if ("tournamentDetails" in $$props) $$invalidate(7, tournamentDetails = $$props.tournamentDetails);
12005
12032
  if ("tournamentTableData" in $$props) tournamentTableData = $$props.tournamentTableData;
12006
- if ("userAgent" in $$props) $$invalidate(8, userAgent = $$props.userAgent);
12007
- if ("showTable" in $$props) $$invalidate(7, showTable = $$props.showTable);
12033
+ if ("userAgent" in $$props) $$invalidate(9, userAgent = $$props.userAgent);
12034
+ if ("showTable" in $$props) $$invalidate(8, showTable = $$props.showTable);
12008
12035
  if ("firstRowData" in $$props) firstRowData = $$props.firstRowData;
12009
12036
  if ("firstRowAvailable" in $$props) firstRowAvailable = $$props.firstRowAvailable;
12010
12037
  };
@@ -12018,11 +12045,11 @@
12018
12045
  session && userid && setSession();
12019
12046
  }
12020
12047
 
12021
- if ($$self.$$.dirty[0] & /*tourid, endpoint, session*/ 1034) {
12048
+ if ($$self.$$.dirty[0] & /*tourid, endpoint, session*/ 2058) {
12022
12049
  tourid && endpoint && session && initialLoad();
12023
12050
  }
12024
12051
 
12025
- if ($$self.$$.dirty[0] & /*tourid, cmsendpoint*/ 3072) {
12052
+ if ($$self.$$.dirty[0] & /*tourid, cmsendpoint*/ 6144) {
12026
12053
  tourid && cmsendpoint && getDataFromCMS();
12027
12054
  }
12028
12055
  };
@@ -12032,6 +12059,7 @@
12032
12059
  session,
12033
12060
  userid,
12034
12061
  endpoint,
12062
+ currency,
12035
12063
  isLoading,
12036
12064
  tournamentDescription,
12037
12065
  tournamentDetails,
@@ -12064,12 +12092,13 @@
12064
12092
  {
12065
12093
  session: 1,
12066
12094
  userid: 2,
12067
- tourid: 10,
12095
+ tourid: 11,
12068
12096
  endpoint: 3,
12069
12097
  showleaderboard: 0,
12070
- cmsendpoint: 11,
12071
- lang: 12,
12072
- navigationbackbutton: 13
12098
+ cmsendpoint: 12,
12099
+ lang: 13,
12100
+ navigationbackbutton: 14,
12101
+ currency: 4
12073
12102
  },
12074
12103
  [-1, -1]
12075
12104
  );
@@ -12095,7 +12124,8 @@
12095
12124
  "showleaderboard",
12096
12125
  "cmsendpoint",
12097
12126
  "lang",
12098
- "navigationbackbutton"
12127
+ "navigationbackbutton",
12128
+ "currency"
12099
12129
  ];
12100
12130
  }
12101
12131
 
@@ -12118,7 +12148,7 @@
12118
12148
  }
12119
12149
 
12120
12150
  get tourid() {
12121
- return this.$$.ctx[10];
12151
+ return this.$$.ctx[11];
12122
12152
  }
12123
12153
 
12124
12154
  set tourid(tourid) {
@@ -12145,7 +12175,7 @@
12145
12175
  }
12146
12176
 
12147
12177
  get cmsendpoint() {
12148
- return this.$$.ctx[11];
12178
+ return this.$$.ctx[12];
12149
12179
  }
12150
12180
 
12151
12181
  set cmsendpoint(cmsendpoint) {
@@ -12154,7 +12184,7 @@
12154
12184
  }
12155
12185
 
12156
12186
  get lang() {
12157
- return this.$$.ctx[12];
12187
+ return this.$$.ctx[13];
12158
12188
  }
12159
12189
 
12160
12190
  set lang(lang) {
@@ -12163,13 +12193,22 @@
12163
12193
  }
12164
12194
 
12165
12195
  get navigationbackbutton() {
12166
- return this.$$.ctx[13];
12196
+ return this.$$.ctx[14];
12167
12197
  }
12168
12198
 
12169
12199
  set navigationbackbutton(navigationbackbutton) {
12170
12200
  this.$set({ navigationbackbutton });
12171
12201
  flush();
12172
12202
  }
12203
+
12204
+ get currency() {
12205
+ return this.$$.ctx[4];
12206
+ }
12207
+
12208
+ set currency(currency) {
12209
+ this.$set({ currency });
12210
+ flush();
12211
+ }
12173
12212
  }
12174
12213
 
12175
12214
  !customElements.get('casino-tournaments-page-controller') && customElements.define('casino-tournaments-page-controller', CasinoTournamentsPageController);