@everymatrix/casino-tournaments-table 0.0.116 → 0.0.120

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.
@@ -4483,11 +4483,11 @@
4483
4483
  },
4484
4484
  tr: {
4485
4485
  tournamentsTable: {
4486
- leaderboard: 'Leaderboard',
4487
- score: 'Score',
4488
- betcounts: 'Bet Counts',
4489
- qualified: 'Qualified',
4490
- nowinners: 'No winners for the time being. Be one of them!'
4486
+ leaderboard: 'Liderlik Tablosu',
4487
+ score: 'Skor',
4488
+ betcounts: 'Bahis Sayısı',
4489
+ qualified: 'Tur atlamış',
4490
+ nowinners: 'Kazanan yok. Kazananlardan birisi ol!'
4491
4491
  }
4492
4492
  },
4493
4493
  };
@@ -4505,7 +4505,7 @@
4505
4505
 
4506
4506
  function get_each_context_1(ctx, list, i) {
4507
4507
  const child_ctx = ctx.slice();
4508
- child_ctx[24] = list[i];
4508
+ child_ctx[25] = list[i];
4509
4509
  return child_ctx;
4510
4510
  }
4511
4511
 
@@ -4517,11 +4517,11 @@
4517
4517
 
4518
4518
  function get_each_context(ctx, list, i) {
4519
4519
  const child_ctx = ctx.slice();
4520
- child_ctx[24] = list[i];
4520
+ child_ctx[25] = list[i];
4521
4521
  return child_ctx;
4522
4522
  }
4523
4523
 
4524
- // (228:4) {:else}
4524
+ // (229:4) {:else}
4525
4525
  function create_else_block_5(ctx) {
4526
4526
  let div;
4527
4527
  let table;
@@ -4557,16 +4557,16 @@
4557
4557
  tr1 = element("tr");
4558
4558
  td = element("td");
4559
4559
  t1 = text(t1_value);
4560
- add_location(tr0, file, 231, 12, 7883);
4561
- add_location(thead, file, 230, 10, 7863);
4560
+ add_location(tr0, file, 232, 12, 7907);
4561
+ add_location(thead, file, 231, 10, 7887);
4562
4562
  attr_dev(td, "colspan", "3");
4563
- add_location(td, file, 247, 14, 8364);
4564
- add_location(tr1, file, 246, 12, 8345);
4565
- add_location(tbody, file, 245, 10, 8325);
4563
+ add_location(td, file, 248, 14, 8388);
4564
+ add_location(tr1, file, 247, 12, 8369);
4565
+ add_location(tbody, file, 246, 10, 8349);
4566
4566
  attr_dev(table, "class", "LeftTable");
4567
- add_location(table, file, 229, 8, 7827);
4567
+ add_location(table, file, 230, 8, 7851);
4568
4568
  attr_dev(div, "class", "TournamentsTable");
4569
- add_location(div, file, 228, 6, 7788);
4569
+ add_location(div, file, 229, 6, 7812);
4570
4570
  },
4571
4571
  m: function mount(target, anchor) {
4572
4572
  insert_dev(target, div, anchor);
@@ -4621,14 +4621,14 @@
4621
4621
  block,
4622
4622
  id: create_else_block_5.name,
4623
4623
  type: "else",
4624
- source: "(228:4) {:else}",
4624
+ source: "(229:4) {:else}",
4625
4625
  ctx
4626
4626
  });
4627
4627
 
4628
4628
  return block;
4629
4629
  }
4630
4630
 
4631
- // (205:2) {#if isMobile(userAgent) == true}
4631
+ // (206:2) {#if isMobile(userAgent) == true}
4632
4632
  function create_if_block_9(ctx) {
4633
4633
  let div3;
4634
4634
  let div0;
@@ -4664,13 +4664,13 @@
4664
4664
  if (if_block1) if_block1.c();
4665
4665
  if_block1_anchor = empty();
4666
4666
  attr_dev(div0, "class", "Leaderboard");
4667
- add_location(div0, file, 206, 6, 6803);
4667
+ add_location(div0, file, 207, 6, 6827);
4668
4668
  attr_dev(div1, "class", "CollapseButton");
4669
- add_location(div1, file, 208, 8, 6956);
4669
+ add_location(div1, file, 209, 8, 6980);
4670
4670
  attr_dev(div2, "class", "RightButton " + (isMobile(/*userAgent*/ ctx[9]) ? "MobileClass" : ""));
4671
- add_location(div2, file, 207, 6, 6877);
4671
+ add_location(div2, file, 208, 6, 6901);
4672
4672
  attr_dev(div3, "class", "LeaderboardContainer");
4673
- add_location(div3, file, 205, 4, 6762);
4673
+ add_location(div3, file, 206, 4, 6786);
4674
4674
  },
4675
4675
  m: function mount(target, anchor) {
4676
4676
  insert_dev(target, div3, anchor);
@@ -4685,7 +4685,7 @@
4685
4685
  insert_dev(target, if_block1_anchor, anchor);
4686
4686
 
4687
4687
  if (!mounted) {
4688
- dispose = listen_dev(div1, "click", /*click_handler_3*/ ctx[18], false, false, false);
4688
+ dispose = listen_dev(div1, "click", /*click_handler_3*/ ctx[19], false, false, false);
4689
4689
  mounted = true;
4690
4690
  }
4691
4691
  },
@@ -4730,14 +4730,14 @@
4730
4730
  block,
4731
4731
  id: create_if_block_9.name,
4732
4732
  type: "if",
4733
- source: "(205:2) {#if isMobile(userAgent) == true}",
4733
+ source: "(206:2) {#if isMobile(userAgent) == true}",
4734
4734
  ctx
4735
4735
  });
4736
4736
 
4737
4737
  return block;
4738
4738
  }
4739
4739
 
4740
- // (89:0) {#if data.length > 0 || firstRowData}
4740
+ // (90:0) {#if data.length > 0 || firstRowData}
4741
4741
  function create_if_block(ctx) {
4742
4742
  let if_block_anchor;
4743
4743
 
@@ -4771,14 +4771,14 @@
4771
4771
  block,
4772
4772
  id: create_if_block.name,
4773
4773
  type: "if",
4774
- source: "(89:0) {#if data.length > 0 || firstRowData}",
4774
+ source: "(90:0) {#if data.length > 0 || firstRowData}",
4775
4775
  ctx
4776
4776
  });
4777
4777
 
4778
4778
  return block;
4779
4779
  }
4780
4780
 
4781
- // (239:18) {:else}
4781
+ // (240:18) {:else}
4782
4782
  function create_else_block_6(ctx) {
4783
4783
  let p;
4784
4784
  let t_value = /*column*/ ctx[12] + "";
@@ -4789,7 +4789,7 @@
4789
4789
  p = element("p");
4790
4790
  t = text(t_value);
4791
4791
  attr_dev(p, "data-sort", /*sort*/ ctx[7]);
4792
- add_location(p, file, 239, 20, 8177);
4792
+ add_location(p, file, 240, 20, 8201);
4793
4793
  },
4794
4794
  m: function mount(target, anchor) {
4795
4795
  insert_dev(target, p, anchor);
@@ -4811,14 +4811,14 @@
4811
4811
  block,
4812
4812
  id: create_else_block_6.name,
4813
4813
  type: "else",
4814
- source: "(239:18) {:else}",
4814
+ source: "(240:18) {:else}",
4815
4815
  ctx
4816
4816
  });
4817
4817
 
4818
4818
  return block;
4819
4819
  }
4820
4820
 
4821
- // (235:18) {#if sortable == 'true'}
4821
+ // (236:18) {#if sortable == 'true'}
4822
4822
  function create_if_block_12(ctx) {
4823
4823
  let button;
4824
4824
  let t_value = /*column*/ ctx[12] + "";
@@ -4827,7 +4827,7 @@
4827
4827
  let dispose;
4828
4828
 
4829
4829
  function click_handler_4() {
4830
- return /*click_handler_4*/ ctx[19](/*column*/ ctx[12]);
4830
+ return /*click_handler_4*/ ctx[20](/*column*/ ctx[12]);
4831
4831
  }
4832
4832
 
4833
4833
  const block = {
@@ -4835,7 +4835,7 @@
4835
4835
  button = element("button");
4836
4836
  t = text(t_value);
4837
4837
  attr_dev(button, "data-sort", /*sort*/ ctx[7]);
4838
- add_location(button, file, 235, 20, 8012);
4838
+ add_location(button, file, 236, 20, 8036);
4839
4839
  },
4840
4840
  m: function mount(target, anchor) {
4841
4841
  insert_dev(target, button, anchor);
@@ -4865,14 +4865,14 @@
4865
4865
  block,
4866
4866
  id: create_if_block_12.name,
4867
4867
  type: "if",
4868
- source: "(235:18) {#if sortable == 'true'}",
4868
+ source: "(236:18) {#if sortable == 'true'}",
4869
4869
  ctx
4870
4870
  });
4871
4871
 
4872
4872
  return block;
4873
4873
  }
4874
4874
 
4875
- // (233:14) {#each columns as column}
4875
+ // (234:14) {#each columns as column}
4876
4876
  function create_each_block_3(ctx) {
4877
4877
  let th;
4878
4878
  let t;
@@ -4890,7 +4890,7 @@
4890
4890
  th = element("th");
4891
4891
  if_block.c();
4892
4892
  t = space();
4893
- add_location(th, file, 233, 16, 7944);
4893
+ add_location(th, file, 234, 16, 7968);
4894
4894
  },
4895
4895
  m: function mount(target, anchor) {
4896
4896
  insert_dev(target, th, anchor);
@@ -4920,14 +4920,14 @@
4920
4920
  block,
4921
4921
  id: create_each_block_3.name,
4922
4922
  type: "each",
4923
- source: "(233:14) {#each columns as column}",
4923
+ source: "(234:14) {#each columns as column}",
4924
4924
  ctx
4925
4925
  });
4926
4926
 
4927
4927
  return block;
4928
4928
  }
4929
4929
 
4930
- // (214:10) {:else}
4930
+ // (215:10) {:else}
4931
4931
  function create_else_block_4(ctx) {
4932
4932
  let svg;
4933
4933
  let path;
@@ -4937,7 +4937,7 @@
4937
4937
  svg = svg_element("svg");
4938
4938
  path = svg_element("path");
4939
4939
  attr_dev(path, "d", "M6 9l6 6 6-6");
4940
- add_location(path, file, 215, 14, 7515);
4940
+ add_location(path, file, 216, 14, 7539);
4941
4941
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
4942
4942
  attr_dev(svg, "width", "24");
4943
4943
  attr_dev(svg, "height", "24");
@@ -4947,7 +4947,7 @@
4947
4947
  attr_dev(svg, "stroke-width", "2");
4948
4948
  attr_dev(svg, "stroke-linecap", "round");
4949
4949
  attr_dev(svg, "stroke-linejoin", "round");
4950
- add_location(svg, file, 214, 12, 7324);
4950
+ add_location(svg, file, 215, 12, 7348);
4951
4951
  },
4952
4952
  m: function mount(target, anchor) {
4953
4953
  insert_dev(target, svg, anchor);
@@ -4962,14 +4962,14 @@
4962
4962
  block,
4963
4963
  id: create_else_block_4.name,
4964
4964
  type: "else",
4965
- source: "(214:10) {:else}",
4965
+ source: "(215:10) {:else}",
4966
4966
  ctx
4967
4967
  });
4968
4968
 
4969
4969
  return block;
4970
4970
  }
4971
4971
 
4972
- // (210:10) {#if showTable}
4972
+ // (211:10) {#if showTable}
4973
4973
  function create_if_block_11(ctx) {
4974
4974
  let svg;
4975
4975
  let path;
@@ -4979,7 +4979,7 @@
4979
4979
  svg = svg_element("svg");
4980
4980
  path = svg_element("path");
4981
4981
  attr_dev(path, "d", "M18 15l-6-6-6 6");
4982
- add_location(path, file, 211, 14, 7247);
4982
+ add_location(path, file, 212, 14, 7271);
4983
4983
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
4984
4984
  attr_dev(svg, "width", "24");
4985
4985
  attr_dev(svg, "height", "24");
@@ -4989,7 +4989,7 @@
4989
4989
  attr_dev(svg, "stroke-width", "2");
4990
4990
  attr_dev(svg, "stroke-linecap", "round");
4991
4991
  attr_dev(svg, "stroke-linejoin", "round");
4992
- add_location(svg, file, 210, 12, 7056);
4992
+ add_location(svg, file, 211, 12, 7080);
4993
4993
  },
4994
4994
  m: function mount(target, anchor) {
4995
4995
  insert_dev(target, svg, anchor);
@@ -5004,14 +5004,14 @@
5004
5004
  block,
5005
5005
  id: create_if_block_11.name,
5006
5006
  type: "if",
5007
- source: "(210:10) {#if showTable}",
5007
+ source: "(211:10) {#if showTable}",
5008
5008
  ctx
5009
5009
  });
5010
5010
 
5011
5011
  return block;
5012
5012
  }
5013
5013
 
5014
- // (223:4) {#if showTable}
5014
+ // (224:4) {#if showTable}
5015
5015
  function create_if_block_10(ctx) {
5016
5016
  let div1;
5017
5017
  let div0;
@@ -5025,11 +5025,11 @@
5025
5025
  div0 = element("div");
5026
5026
  p = element("p");
5027
5027
  t = text(t_value);
5028
- add_location(p, file, 224, 31, 7699);
5028
+ add_location(p, file, 225, 31, 7723);
5029
5029
  attr_dev(div0, "class", "TableUser");
5030
- add_location(div0, file, 224, 8, 7676);
5030
+ add_location(div0, file, 225, 8, 7700);
5031
5031
  attr_dev(div1, "class", "TableContent");
5032
- add_location(div1, file, 223, 6, 7641);
5032
+ add_location(div1, file, 224, 6, 7665);
5033
5033
  },
5034
5034
  m: function mount(target, anchor) {
5035
5035
  insert_dev(target, div1, anchor);
@@ -5049,14 +5049,14 @@
5049
5049
  block,
5050
5050
  id: create_if_block_10.name,
5051
5051
  type: "if",
5052
- source: "(223:4) {#if showTable}",
5052
+ source: "(224:4) {#if showTable}",
5053
5053
  ctx
5054
5054
  });
5055
5055
 
5056
5056
  return block;
5057
5057
  }
5058
5058
 
5059
- // (152:2) {:else}
5059
+ // (153:2) {:else}
5060
5060
  function create_else_block_1(ctx) {
5061
5061
  let div2;
5062
5062
  let table;
@@ -5109,17 +5109,17 @@
5109
5109
  div1 = element("div");
5110
5110
  div0 = element("div");
5111
5111
  if_block2.c();
5112
- add_location(tr, file, 155, 10, 4949);
5113
- add_location(thead, file, 154, 8, 4931);
5114
- add_location(tbody, file, 169, 8, 5363);
5112
+ add_location(tr, file, 156, 10, 4973);
5113
+ add_location(thead, file, 155, 8, 4955);
5114
+ add_location(tbody, file, 170, 8, 5387);
5115
5115
  attr_dev(table, "class", "LeftTable");
5116
- add_location(table, file, 153, 6, 4897);
5116
+ add_location(table, file, 154, 6, 4921);
5117
5117
  attr_dev(div0, "class", "CollapseButton");
5118
- add_location(div0, file, 189, 8, 6048);
5118
+ add_location(div0, file, 190, 8, 6072);
5119
5119
  attr_dev(div1, "class", "RightButton");
5120
- add_location(div1, file, 188, 6, 6014);
5120
+ add_location(div1, file, 189, 6, 6038);
5121
5121
  attr_dev(div2, "class", "TournamentsTable");
5122
- add_location(div2, file, 152, 4, 4860);
5122
+ add_location(div2, file, 153, 4, 4884);
5123
5123
  },
5124
5124
  m: function mount(target, anchor) {
5125
5125
  insert_dev(target, div2, anchor);
@@ -5142,7 +5142,7 @@
5142
5142
  if_block2.m(div0, null);
5143
5143
 
5144
5144
  if (!mounted) {
5145
- dispose = listen_dev(div0, "click", /*click_handler_2*/ ctx[17], false, false, false);
5145
+ dispose = listen_dev(div0, "click", /*click_handler_2*/ ctx[18], false, false, false);
5146
5146
  mounted = true;
5147
5147
  }
5148
5148
  },
@@ -5222,14 +5222,14 @@
5222
5222
  block,
5223
5223
  id: create_else_block_1.name,
5224
5224
  type: "else",
5225
- source: "(152:2) {:else}",
5225
+ source: "(153:2) {:else}",
5226
5226
  ctx
5227
5227
  });
5228
5228
 
5229
5229
  return block;
5230
5230
  }
5231
5231
 
5232
- // (90:2) {#if isMobile(userAgent) == true}
5232
+ // (91:2) {#if isMobile(userAgent) == true}
5233
5233
  function create_if_block_1(ctx) {
5234
5234
  let div3;
5235
5235
  let div0;
@@ -5269,13 +5269,13 @@
5269
5269
  if (if_block2) if_block2.c();
5270
5270
  if_block2_anchor = empty();
5271
5271
  attr_dev(div0, "class", "Leaderboard");
5272
- add_location(div0, file, 91, 6, 2699);
5272
+ add_location(div0, file, 92, 6, 2723);
5273
5273
  attr_dev(div1, "class", "CollapseButton");
5274
- add_location(div1, file, 93, 8, 2852);
5274
+ add_location(div1, file, 94, 8, 2876);
5275
5275
  attr_dev(div2, "class", "RightButton " + (isMobile(/*userAgent*/ ctx[9]) ? "MobileClass" : ""));
5276
- add_location(div2, file, 92, 6, 2773);
5276
+ add_location(div2, file, 93, 6, 2797);
5277
5277
  attr_dev(div3, "class", "LeaderboardContainer");
5278
- add_location(div3, file, 90, 4, 2658);
5278
+ add_location(div3, file, 91, 4, 2682);
5279
5279
  },
5280
5280
  m: function mount(target, anchor) {
5281
5281
  insert_dev(target, div3, anchor);
@@ -5292,7 +5292,7 @@
5292
5292
  insert_dev(target, if_block2_anchor, anchor);
5293
5293
 
5294
5294
  if (!mounted) {
5295
- dispose = listen_dev(div1, "click", /*click_handler*/ ctx[15], false, false, false);
5295
+ dispose = listen_dev(div1, "click", /*click_handler*/ ctx[16], false, false, false);
5296
5296
  mounted = true;
5297
5297
  }
5298
5298
  },
@@ -5352,14 +5352,14 @@
5352
5352
  block,
5353
5353
  id: create_if_block_1.name,
5354
5354
  type: "if",
5355
- source: "(90:2) {#if isMobile(userAgent) == true}",
5355
+ source: "(91:2) {#if isMobile(userAgent) == true}",
5356
5356
  ctx
5357
5357
  });
5358
5358
 
5359
5359
  return block;
5360
5360
  }
5361
5361
 
5362
- // (163:16) {:else}
5362
+ // (164:16) {:else}
5363
5363
  function create_else_block_3(ctx) {
5364
5364
  let p;
5365
5365
  let t_value = /*column*/ ctx[12] + "";
@@ -5370,7 +5370,7 @@
5370
5370
  p = element("p");
5371
5371
  t = text(t_value);
5372
5372
  attr_dev(p, "data-sort", /*sort*/ ctx[7]);
5373
- add_location(p, file, 163, 18, 5227);
5373
+ add_location(p, file, 164, 18, 5251);
5374
5374
  },
5375
5375
  m: function mount(target, anchor) {
5376
5376
  insert_dev(target, p, anchor);
@@ -5392,14 +5392,14 @@
5392
5392
  block,
5393
5393
  id: create_else_block_3.name,
5394
5394
  type: "else",
5395
- source: "(163:16) {:else}",
5395
+ source: "(164:16) {:else}",
5396
5396
  ctx
5397
5397
  });
5398
5398
 
5399
5399
  return block;
5400
5400
  }
5401
5401
 
5402
- // (159:16) {#if sortable == 'true'}
5402
+ // (160:16) {#if sortable == 'true'}
5403
5403
  function create_if_block_8(ctx) {
5404
5404
  let button;
5405
5405
  let t_value = /*column*/ ctx[12] + "";
@@ -5408,7 +5408,7 @@
5408
5408
  let dispose;
5409
5409
 
5410
5410
  function click_handler_1() {
5411
- return /*click_handler_1*/ ctx[16](/*column*/ ctx[12]);
5411
+ return /*click_handler_1*/ ctx[17](/*column*/ ctx[12]);
5412
5412
  }
5413
5413
 
5414
5414
  const block = {
@@ -5416,7 +5416,7 @@
5416
5416
  button = element("button");
5417
5417
  t = text(t_value);
5418
5418
  attr_dev(button, "data-sort", /*sort*/ ctx[7]);
5419
- add_location(button, file, 159, 18, 5070);
5419
+ add_location(button, file, 160, 18, 5094);
5420
5420
  },
5421
5421
  m: function mount(target, anchor) {
5422
5422
  insert_dev(target, button, anchor);
@@ -5446,14 +5446,14 @@
5446
5446
  block,
5447
5447
  id: create_if_block_8.name,
5448
5448
  type: "if",
5449
- source: "(159:16) {#if sortable == 'true'}",
5449
+ source: "(160:16) {#if sortable == 'true'}",
5450
5450
  ctx
5451
5451
  });
5452
5452
 
5453
5453
  return block;
5454
5454
  }
5455
5455
 
5456
- // (157:12) {#each columns as column}
5456
+ // (158:12) {#each columns as column}
5457
5457
  function create_each_block_2(ctx) {
5458
5458
  let th;
5459
5459
  let t;
@@ -5471,7 +5471,7 @@
5471
5471
  th = element("th");
5472
5472
  if_block.c();
5473
5473
  t = space();
5474
- add_location(th, file, 157, 14, 5006);
5474
+ add_location(th, file, 158, 14, 5030);
5475
5475
  },
5476
5476
  m: function mount(target, anchor) {
5477
5477
  insert_dev(target, th, anchor);
@@ -5501,14 +5501,14 @@
5501
5501
  block,
5502
5502
  id: create_each_block_2.name,
5503
5503
  type: "each",
5504
- source: "(157:12) {#each columns as column}",
5504
+ source: "(158:12) {#each columns as column}",
5505
5505
  ctx
5506
5506
  });
5507
5507
 
5508
5508
  return block;
5509
5509
  }
5510
5510
 
5511
- // (171:10) {#if firstrow == 'true' && firstRowData}
5511
+ // (172:10) {#if firstrow == 'true' && firstRowData}
5512
5512
  function create_if_block_7(ctx) {
5513
5513
  let tr;
5514
5514
  let td0;
@@ -5542,15 +5542,15 @@
5542
5542
  td2 = element("td");
5543
5543
  div = element("div");
5544
5544
  t5 = text(t5_value);
5545
- add_location(em, file, 172, 26, 5483);
5546
- add_location(strong, file, 172, 18, 5475);
5547
- add_location(td0, file, 172, 14, 5471);
5548
- add_location(td1, file, 173, 14, 5545);
5545
+ add_location(em, file, 173, 26, 5507);
5546
+ add_location(strong, file, 173, 18, 5499);
5547
+ add_location(td0, file, 173, 14, 5495);
5548
+ add_location(td1, file, 174, 14, 5569);
5549
5549
  attr_dev(div, "class", "Flex");
5550
- add_location(div, file, 174, 18, 5592);
5551
- add_location(td2, file, 174, 14, 5588);
5550
+ add_location(div, file, 175, 18, 5616);
5551
+ add_location(td2, file, 175, 14, 5612);
5552
5552
  attr_dev(tr, "class", "FirstRow");
5553
- add_location(tr, file, 171, 12, 5434);
5553
+ add_location(tr, file, 172, 12, 5458);
5554
5554
  },
5555
5555
  m: function mount(target, anchor) {
5556
5556
  insert_dev(target, tr, anchor);
@@ -5581,14 +5581,14 @@
5581
5581
  block,
5582
5582
  id: create_if_block_7.name,
5583
5583
  type: "if",
5584
- source: "(171:10) {#if firstrow == 'true' && firstRowData}",
5584
+ source: "(172:10) {#if firstrow == 'true' && firstRowData}",
5585
5585
  ctx
5586
5586
  });
5587
5587
 
5588
5588
  return block;
5589
5589
  }
5590
5590
 
5591
- // (178:10) {#if showTable}
5591
+ // (179:10) {#if showTable}
5592
5592
  function create_if_block_6(ctx) {
5593
5593
  let each_1_anchor;
5594
5594
  let each_value_1 = /*display*/ ctx[6];
@@ -5649,30 +5649,30 @@
5649
5649
  block,
5650
5650
  id: create_if_block_6.name,
5651
5651
  type: "if",
5652
- source: "(178:10) {#if showTable}",
5652
+ source: "(179:10) {#if showTable}",
5653
5653
  ctx
5654
5654
  });
5655
5655
 
5656
5656
  return block;
5657
5657
  }
5658
5658
 
5659
- // (179:12) {#each display as row}
5659
+ // (180:12) {#each display as row}
5660
5660
  function create_each_block_1(ctx) {
5661
5661
  let tr;
5662
5662
  let td0;
5663
5663
  let strong;
5664
5664
  let em;
5665
5665
  let t0;
5666
- let t1_value = /*row*/ ctx[24].Position + "";
5666
+ let t1_value = /*row*/ ctx[25].Position + "";
5667
5667
  let t1;
5668
5668
  let t2;
5669
5669
  let td1;
5670
- let t3_value = /*row*/ ctx[24].Name + "";
5670
+ let t3_value = /*row*/ ctx[25].Name + "";
5671
5671
  let t3;
5672
5672
  let t4;
5673
5673
  let td2;
5674
5674
  let div;
5675
- let t5_value = /*row*/ ctx[24].Score + "";
5675
+ let t5_value = /*row*/ ctx[25].Score + "";
5676
5676
  let t5;
5677
5677
  let t6;
5678
5678
 
@@ -5692,14 +5692,14 @@
5692
5692
  div = element("div");
5693
5693
  t5 = text(t5_value);
5694
5694
  t6 = space();
5695
- add_location(em, file, 180, 28, 5784);
5696
- add_location(strong, file, 180, 20, 5776);
5697
- add_location(td0, file, 180, 16, 5772);
5698
- add_location(td1, file, 181, 16, 5839);
5695
+ add_location(em, file, 181, 28, 5808);
5696
+ add_location(strong, file, 181, 20, 5800);
5697
+ add_location(td0, file, 181, 16, 5796);
5698
+ add_location(td1, file, 182, 16, 5863);
5699
5699
  attr_dev(div, "class", "Flex");
5700
- add_location(div, file, 182, 20, 5879);
5701
- add_location(td2, file, 182, 16, 5875);
5702
- add_location(tr, file, 179, 14, 5751);
5700
+ add_location(div, file, 183, 20, 5903);
5701
+ add_location(td2, file, 183, 16, 5899);
5702
+ add_location(tr, file, 180, 14, 5775);
5703
5703
  },
5704
5704
  m: function mount(target, anchor) {
5705
5705
  insert_dev(target, tr, anchor);
@@ -5718,9 +5718,9 @@
5718
5718
  append_dev(tr, t6);
5719
5719
  },
5720
5720
  p: function update(ctx, dirty) {
5721
- if (dirty[0] & /*display*/ 64 && t1_value !== (t1_value = /*row*/ ctx[24].Position + "")) set_data_dev(t1, t1_value);
5722
- if (dirty[0] & /*display*/ 64 && t3_value !== (t3_value = /*row*/ ctx[24].Name + "")) set_data_dev(t3, t3_value);
5723
- if (dirty[0] & /*display*/ 64 && t5_value !== (t5_value = /*row*/ ctx[24].Score + "")) set_data_dev(t5, t5_value);
5721
+ if (dirty[0] & /*display*/ 64 && t1_value !== (t1_value = /*row*/ ctx[25].Position + "")) set_data_dev(t1, t1_value);
5722
+ if (dirty[0] & /*display*/ 64 && t3_value !== (t3_value = /*row*/ ctx[25].Name + "")) set_data_dev(t3, t3_value);
5723
+ if (dirty[0] & /*display*/ 64 && t5_value !== (t5_value = /*row*/ ctx[25].Score + "")) set_data_dev(t5, t5_value);
5724
5724
  },
5725
5725
  d: function destroy(detaching) {
5726
5726
  if (detaching) detach_dev(tr);
@@ -5731,14 +5731,14 @@
5731
5731
  block,
5732
5732
  id: create_each_block_1.name,
5733
5733
  type: "each",
5734
- source: "(179:12) {#each display as row}",
5734
+ source: "(180:12) {#each display as row}",
5735
5735
  ctx
5736
5736
  });
5737
5737
 
5738
5738
  return block;
5739
5739
  }
5740
5740
 
5741
- // (195:10) {:else}
5741
+ // (196:10) {:else}
5742
5742
  function create_else_block_2(ctx) {
5743
5743
  let svg;
5744
5744
  let path;
@@ -5748,7 +5748,7 @@
5748
5748
  svg = svg_element("svg");
5749
5749
  path = svg_element("path");
5750
5750
  attr_dev(path, "d", "M6 9l6 6 6-6");
5751
- add_location(path, file, 196, 14, 6607);
5751
+ add_location(path, file, 197, 14, 6631);
5752
5752
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5753
5753
  attr_dev(svg, "width", "24");
5754
5754
  attr_dev(svg, "height", "24");
@@ -5758,7 +5758,7 @@
5758
5758
  attr_dev(svg, "stroke-width", "2");
5759
5759
  attr_dev(svg, "stroke-linecap", "round");
5760
5760
  attr_dev(svg, "stroke-linejoin", "round");
5761
- add_location(svg, file, 195, 12, 6416);
5761
+ add_location(svg, file, 196, 12, 6440);
5762
5762
  },
5763
5763
  m: function mount(target, anchor) {
5764
5764
  insert_dev(target, svg, anchor);
@@ -5773,14 +5773,14 @@
5773
5773
  block,
5774
5774
  id: create_else_block_2.name,
5775
5775
  type: "else",
5776
- source: "(195:10) {:else}",
5776
+ source: "(196:10) {:else}",
5777
5777
  ctx
5778
5778
  });
5779
5779
 
5780
5780
  return block;
5781
5781
  }
5782
5782
 
5783
- // (191:10) {#if showTable}
5783
+ // (192:10) {#if showTable}
5784
5784
  function create_if_block_5(ctx) {
5785
5785
  let svg;
5786
5786
  let path;
@@ -5790,7 +5790,7 @@
5790
5790
  svg = svg_element("svg");
5791
5791
  path = svg_element("path");
5792
5792
  attr_dev(path, "d", "M18 15l-6-6-6 6");
5793
- add_location(path, file, 192, 14, 6339);
5793
+ add_location(path, file, 193, 14, 6363);
5794
5794
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5795
5795
  attr_dev(svg, "width", "24");
5796
5796
  attr_dev(svg, "height", "24");
@@ -5800,7 +5800,7 @@
5800
5800
  attr_dev(svg, "stroke-width", "2");
5801
5801
  attr_dev(svg, "stroke-linecap", "round");
5802
5802
  attr_dev(svg, "stroke-linejoin", "round");
5803
- add_location(svg, file, 191, 12, 6148);
5803
+ add_location(svg, file, 192, 12, 6172);
5804
5804
  },
5805
5805
  m: function mount(target, anchor) {
5806
5806
  insert_dev(target, svg, anchor);
@@ -5815,14 +5815,14 @@
5815
5815
  block,
5816
5816
  id: create_if_block_5.name,
5817
5817
  type: "if",
5818
- source: "(191:10) {#if showTable}",
5818
+ source: "(192:10) {#if showTable}",
5819
5819
  ctx
5820
5820
  });
5821
5821
 
5822
5822
  return block;
5823
5823
  }
5824
5824
 
5825
- // (99:10) {:else}
5825
+ // (100:10) {:else}
5826
5826
  function create_else_block(ctx) {
5827
5827
  let svg;
5828
5828
  let path;
@@ -5832,7 +5832,7 @@
5832
5832
  svg = svg_element("svg");
5833
5833
  path = svg_element("path");
5834
5834
  attr_dev(path, "d", "M6 9l6 6 6-6");
5835
- add_location(path, file, 100, 14, 3411);
5835
+ add_location(path, file, 101, 14, 3435);
5836
5836
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5837
5837
  attr_dev(svg, "width", "24");
5838
5838
  attr_dev(svg, "height", "24");
@@ -5842,7 +5842,7 @@
5842
5842
  attr_dev(svg, "stroke-width", "2");
5843
5843
  attr_dev(svg, "stroke-linecap", "round");
5844
5844
  attr_dev(svg, "stroke-linejoin", "round");
5845
- add_location(svg, file, 99, 12, 3220);
5845
+ add_location(svg, file, 100, 12, 3244);
5846
5846
  },
5847
5847
  m: function mount(target, anchor) {
5848
5848
  insert_dev(target, svg, anchor);
@@ -5857,14 +5857,14 @@
5857
5857
  block,
5858
5858
  id: create_else_block.name,
5859
5859
  type: "else",
5860
- source: "(99:10) {:else}",
5860
+ source: "(100:10) {:else}",
5861
5861
  ctx
5862
5862
  });
5863
5863
 
5864
5864
  return block;
5865
5865
  }
5866
5866
 
5867
- // (95:10) {#if showTable}
5867
+ // (96:10) {#if showTable}
5868
5868
  function create_if_block_4(ctx) {
5869
5869
  let svg;
5870
5870
  let path;
@@ -5874,7 +5874,7 @@
5874
5874
  svg = svg_element("svg");
5875
5875
  path = svg_element("path");
5876
5876
  attr_dev(path, "d", "M18 15l-6-6-6 6");
5877
- add_location(path, file, 96, 14, 3143);
5877
+ add_location(path, file, 97, 14, 3167);
5878
5878
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5879
5879
  attr_dev(svg, "width", "24");
5880
5880
  attr_dev(svg, "height", "24");
@@ -5884,7 +5884,7 @@
5884
5884
  attr_dev(svg, "stroke-width", "2");
5885
5885
  attr_dev(svg, "stroke-linecap", "round");
5886
5886
  attr_dev(svg, "stroke-linejoin", "round");
5887
- add_location(svg, file, 95, 12, 2952);
5887
+ add_location(svg, file, 96, 12, 2976);
5888
5888
  },
5889
5889
  m: function mount(target, anchor) {
5890
5890
  insert_dev(target, svg, anchor);
@@ -5899,14 +5899,14 @@
5899
5899
  block,
5900
5900
  id: create_if_block_4.name,
5901
5901
  type: "if",
5902
- source: "(95:10) {#if showTable}",
5902
+ source: "(96:10) {#if showTable}",
5903
5903
  ctx
5904
5904
  });
5905
5905
 
5906
5906
  return block;
5907
5907
  }
5908
5908
 
5909
- // (108:4) {#if firstrow == 'true' && firstRowData}
5909
+ // (109:4) {#if firstrow == 'true' && firstRowData}
5910
5910
  function create_if_block_3(ctx) {
5911
5911
  let div3;
5912
5912
  let div0;
@@ -5943,17 +5943,17 @@
5943
5943
  t4 = space();
5944
5944
  p1 = element("p");
5945
5945
  t5 = text(t5_value);
5946
- add_location(span0, file, 109, 31, 3641);
5947
- add_location(span1, file, 109, 67, 3677);
5946
+ add_location(span0, file, 110, 31, 3665);
5947
+ add_location(span1, file, 110, 67, 3701);
5948
5948
  attr_dev(div0, "class", "TableUser");
5949
- add_location(div0, file, 109, 8, 3618);
5950
- add_location(p0, file, 113, 12, 3784);
5951
- add_location(p1, file, 114, 12, 3834);
5952
- add_location(div1, file, 112, 10, 3766);
5949
+ add_location(div0, file, 110, 8, 3642);
5950
+ add_location(p0, file, 114, 12, 3808);
5951
+ add_location(p1, file, 115, 12, 3858);
5952
+ add_location(div1, file, 113, 10, 3790);
5953
5953
  attr_dev(div2, "class", "TableUserDetails");
5954
- add_location(div2, file, 111, 8, 3725);
5954
+ add_location(div2, file, 112, 8, 3749);
5955
5955
  attr_dev(div3, "class", "TableContent TableContentFirstRow");
5956
- add_location(div3, file, 108, 6, 3562);
5956
+ add_location(div3, file, 109, 6, 3586);
5957
5957
  },
5958
5958
  m: function mount(target, anchor) {
5959
5959
  insert_dev(target, div3, anchor);
@@ -5986,14 +5986,14 @@
5986
5986
  block,
5987
5987
  id: create_if_block_3.name,
5988
5988
  type: "if",
5989
- source: "(108:4) {#if firstrow == 'true' && firstRowData}",
5989
+ source: "(109:4) {#if firstrow == 'true' && firstRowData}",
5990
5990
  ctx
5991
5991
  });
5992
5992
 
5993
5993
  return block;
5994
5994
  }
5995
5995
 
5996
- // (129:4) {#if showTable}
5996
+ // (130:4) {#if showTable}
5997
5997
  function create_if_block_2(ctx) {
5998
5998
  let each_1_anchor;
5999
5999
  let each_value = /*display*/ ctx[6];
@@ -6054,22 +6054,22 @@
6054
6054
  block,
6055
6055
  id: create_if_block_2.name,
6056
6056
  type: "if",
6057
- source: "(129:4) {#if showTable}",
6057
+ source: "(130:4) {#if showTable}",
6058
6058
  ctx
6059
6059
  });
6060
6060
 
6061
6061
  return block;
6062
6062
  }
6063
6063
 
6064
- // (130:6) {#each display as row}
6064
+ // (131:6) {#each display as row}
6065
6065
  function create_each_block(ctx) {
6066
6066
  let div3;
6067
6067
  let div0;
6068
6068
  let span0;
6069
- let t0_value = /*row*/ ctx[24].Position + "";
6069
+ let t0_value = /*row*/ ctx[25].Position + "";
6070
6070
  let t0;
6071
6071
  let span1;
6072
- let t1_value = /*row*/ ctx[24].Name + "";
6072
+ let t1_value = /*row*/ ctx[25].Name + "";
6073
6073
  let t1;
6074
6074
  let t2;
6075
6075
  let div2;
@@ -6079,7 +6079,7 @@
6079
6079
  let t3;
6080
6080
  let t4;
6081
6081
  let p1;
6082
- let t5_value = /*row*/ ctx[24].Score + "";
6082
+ let t5_value = /*row*/ ctx[25].Score + "";
6083
6083
  let t5;
6084
6084
  let t6;
6085
6085
 
@@ -6100,17 +6100,17 @@
6100
6100
  p1 = element("p");
6101
6101
  t5 = text(t5_value);
6102
6102
  t6 = space();
6103
- add_location(span0, file, 131, 33, 4298);
6104
- add_location(span1, file, 131, 60, 4325);
6103
+ add_location(span0, file, 132, 33, 4322);
6104
+ add_location(span1, file, 132, 60, 4349);
6105
6105
  attr_dev(div0, "class", "TableUser");
6106
- add_location(div0, file, 131, 10, 4275);
6107
- add_location(p0, file, 135, 14, 4429);
6108
- add_location(p1, file, 136, 14, 4481);
6109
- add_location(div1, file, 134, 12, 4409);
6106
+ add_location(div0, file, 132, 10, 4299);
6107
+ add_location(p0, file, 136, 14, 4453);
6108
+ add_location(p1, file, 137, 14, 4505);
6109
+ add_location(div1, file, 135, 12, 4433);
6110
6110
  attr_dev(div2, "class", "TableUserDetails");
6111
- add_location(div2, file, 133, 10, 4366);
6111
+ add_location(div2, file, 134, 10, 4390);
6112
6112
  attr_dev(div3, "class", "TableContent");
6113
- add_location(div3, file, 130, 8, 4238);
6113
+ add_location(div3, file, 131, 8, 4262);
6114
6114
  },
6115
6115
  m: function mount(target, anchor) {
6116
6116
  insert_dev(target, div3, anchor);
@@ -6130,10 +6130,10 @@
6130
6130
  append_dev(div3, t6);
6131
6131
  },
6132
6132
  p: function update(ctx, dirty) {
6133
- if (dirty[0] & /*display*/ 64 && t0_value !== (t0_value = /*row*/ ctx[24].Position + "")) set_data_dev(t0, t0_value);
6134
- if (dirty[0] & /*display*/ 64 && t1_value !== (t1_value = /*row*/ ctx[24].Name + "")) set_data_dev(t1, t1_value);
6133
+ if (dirty[0] & /*display*/ 64 && t0_value !== (t0_value = /*row*/ ctx[25].Position + "")) set_data_dev(t0, t0_value);
6134
+ if (dirty[0] & /*display*/ 64 && t1_value !== (t1_value = /*row*/ ctx[25].Name + "")) set_data_dev(t1, t1_value);
6135
6135
  if (dirty[0] & /*$_*/ 256 && t3_value !== (t3_value = /*$_*/ ctx[8]("tournamentsTable.score") + "")) set_data_dev(t3, t3_value);
6136
- if (dirty[0] & /*display*/ 64 && t5_value !== (t5_value = /*row*/ ctx[24].Score + "")) set_data_dev(t5, t5_value);
6136
+ if (dirty[0] & /*display*/ 64 && t5_value !== (t5_value = /*row*/ ctx[25].Score + "")) set_data_dev(t5, t5_value);
6137
6137
  },
6138
6138
  d: function destroy(detaching) {
6139
6139
  if (detaching) detach_dev(div3);
@@ -6144,7 +6144,7 @@
6144
6144
  block,
6145
6145
  id: create_each_block.name,
6146
6146
  type: "each",
6147
- source: "(130:6) {#each display as row}",
6147
+ source: "(131:6) {#each display as row}",
6148
6148
  ctx
6149
6149
  });
6150
6150
 
@@ -6220,6 +6220,7 @@
6220
6220
  validate_slots("undefined", slots, []);
6221
6221
  let { sortable = false } = $$props;
6222
6222
  let { firstrow = false } = $$props;
6223
+ let { lang = "en" } = $$props;
6223
6224
  let columns = [];
6224
6225
  let data = [];
6225
6226
  let sortColumn = null;
@@ -6254,9 +6255,9 @@
6254
6255
  const sameColumn = column === sortColumn;
6255
6256
  const currentlyAscending = sortDirection === "ASC";
6256
6257
  const unsetSort = sameColumn && !currentlyAscending;
6257
- $$invalidate(13, sortColumn = unsetSort ? null : column);
6258
+ $$invalidate(14, sortColumn = unsetSort ? null : column);
6258
6259
 
6259
- $$invalidate(14, sortDirection = unsetSort
6260
+ $$invalidate(15, sortDirection = unsetSort
6260
6261
  ? null
6261
6262
  : sameColumn && currentlyAscending ? "DESC" : "ASC");
6262
6263
  };
@@ -6314,7 +6315,7 @@
6314
6315
  };
6315
6316
  });
6316
6317
 
6317
- const writable_props = ["sortable", "firstrow"];
6318
+ const writable_props = ["sortable", "firstrow", "lang"];
6318
6319
 
6319
6320
  Object_1.keys($$props).forEach(key => {
6320
6321
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
@@ -6329,6 +6330,7 @@
6329
6330
  $$self.$$set = $$props => {
6330
6331
  if ("sortable" in $$props) $$invalidate(0, sortable = $$props.sortable);
6331
6332
  if ("firstrow" in $$props) $$invalidate(1, firstrow = $$props.firstrow);
6333
+ if ("lang" in $$props) $$invalidate(13, lang = $$props.lang);
6332
6334
  };
6333
6335
 
6334
6336
  $$self.$capture_state = () => ({
@@ -6340,6 +6342,7 @@
6340
6342
  TournamentsTableTranslations,
6341
6343
  sortable,
6342
6344
  firstrow,
6345
+ lang,
6343
6346
  columns,
6344
6347
  data,
6345
6348
  sortColumn,
@@ -6362,10 +6365,11 @@
6362
6365
  $$self.$inject_state = $$props => {
6363
6366
  if ("sortable" in $$props) $$invalidate(0, sortable = $$props.sortable);
6364
6367
  if ("firstrow" in $$props) $$invalidate(1, firstrow = $$props.firstrow);
6368
+ if ("lang" in $$props) $$invalidate(13, lang = $$props.lang);
6365
6369
  if ("columns" in $$props) $$invalidate(3, columns = $$props.columns);
6366
6370
  if ("data" in $$props) $$invalidate(2, data = $$props.data);
6367
- if ("sortColumn" in $$props) $$invalidate(13, sortColumn = $$props.sortColumn);
6368
- if ("sortDirection" in $$props) $$invalidate(14, sortDirection = $$props.sortDirection);
6371
+ if ("sortColumn" in $$props) $$invalidate(14, sortColumn = $$props.sortColumn);
6372
+ if ("sortDirection" in $$props) $$invalidate(15, sortDirection = $$props.sortDirection);
6369
6373
  if ("column" in $$props) $$invalidate(12, column = $$props.column);
6370
6374
  if ("firstRowData" in $$props) $$invalidate(4, firstRowData = $$props.firstRowData);
6371
6375
  if ("showTable" in $$props) $$invalidate(5, showTable = $$props.showTable);
@@ -6379,11 +6383,11 @@
6379
6383
  }
6380
6384
 
6381
6385
  $$self.$$.update = () => {
6382
- if ($$self.$$.dirty[0] & /*sortColumn, sortDirection, data*/ 24580) {
6386
+ if ($$self.$$.dirty[0] & /*sortColumn, sortDirection, data*/ 49156) {
6383
6387
  $$invalidate(6, display = sortColumn && sortDirection ? sortData() : [...data]);
6384
6388
  }
6385
6389
 
6386
- if ($$self.$$.dirty[0] & /*sortColumn, sortDirection*/ 24576) {
6390
+ if ($$self.$$.dirty[0] & /*sortColumn, sortDirection*/ 49152) {
6387
6391
  $$invalidate(7, sort = column === sortColumn ? sortDirection : null);
6388
6392
  }
6389
6393
  };
@@ -6402,6 +6406,7 @@
6402
6406
  sortBy,
6403
6407
  collapseTable,
6404
6408
  column,
6409
+ lang,
6405
6410
  sortColumn,
6406
6411
  sortDirection,
6407
6412
  click_handler,
@@ -6427,7 +6432,7 @@
6427
6432
  instance,
6428
6433
  create_fragment,
6429
6434
  safe_not_equal,
6430
- { sortable: 0, firstrow: 1 },
6435
+ { sortable: 0, firstrow: 1, lang: 13 },
6431
6436
  [-1, -1]
6432
6437
  );
6433
6438
 
@@ -6444,7 +6449,7 @@
6444
6449
  }
6445
6450
 
6446
6451
  static get observedAttributes() {
6447
- return ["sortable", "firstrow"];
6452
+ return ["sortable", "firstrow", "lang"];
6448
6453
  }
6449
6454
 
6450
6455
  get sortable() {
@@ -6464,6 +6469,15 @@
6464
6469
  this.$set({ firstrow });
6465
6470
  flush();
6466
6471
  }
6472
+
6473
+ get lang() {
6474
+ return this.$$.ctx[13];
6475
+ }
6476
+
6477
+ set lang(lang) {
6478
+ this.$set({ lang });
6479
+ flush();
6480
+ }
6467
6481
  }
6468
6482
 
6469
6483
  !customElements.get('casino-tournaments-table') && customElements.define('casino-tournaments-table', CasinoTournamentsTable);