@everymatrix/casino-lobby 0.0.158 → 0.0.162

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.
@@ -4955,19 +4955,19 @@
4955
4955
 
4956
4956
  function get_each_context$3(ctx, list, i) {
4957
4957
  const child_ctx = ctx.slice();
4958
- child_ctx[21] = list[i];
4959
- child_ctx[23] = i;
4958
+ child_ctx[24] = list[i];
4959
+ child_ctx[26] = i;
4960
4960
  return child_ctx;
4961
4961
  }
4962
4962
 
4963
- // (75:6) {#if sliderdata.length > 0}
4963
+ // (79:6) {#if sliderdata.length > 0}
4964
4964
  function create_if_block$9(ctx) {
4965
4965
  let each_blocks = [];
4966
4966
  let each_1_lookup = new Map();
4967
4967
  let each_1_anchor;
4968
4968
  let each_value = /*sliderdata*/ ctx[0];
4969
4969
  validate_each_argument(each_value);
4970
- const get_key = ctx => /*item*/ ctx[21].id;
4970
+ const get_key = ctx => /*item*/ ctx[24].id;
4971
4971
  validate_each_keys(ctx, each_value, get_each_context$3, get_key);
4972
4972
 
4973
4973
  for (let i = 0; i < each_value.length; i += 1) {
@@ -4992,7 +4992,7 @@
4992
4992
  insert_dev(target, each_1_anchor, anchor);
4993
4993
  },
4994
4994
  p: function update(ctx, dirty) {
4995
- if (dirty & /*active, sliderdata, handleClick, location, favoritesnumber*/ 87) {
4995
+ if (dirty & /*active, sliderdata, handleClick, location, favoritesnumber*/ 295) {
4996
4996
  each_value = /*sliderdata*/ ctx[0];
4997
4997
  validate_each_argument(each_value);
4998
4998
  validate_each_keys(ctx, each_value, get_each_context$3, get_key);
@@ -5012,20 +5012,20 @@
5012
5012
  block,
5013
5013
  id: create_if_block$9.name,
5014
5014
  type: "if",
5015
- source: "(75:6) {#if sliderdata.length > 0}",
5015
+ source: "(79:6) {#if sliderdata.length > 0}",
5016
5016
  ctx
5017
5017
  });
5018
5018
 
5019
5019
  return block;
5020
5020
  }
5021
5021
 
5022
- // (80:12) {:else}
5022
+ // (84:12) {:else}
5023
5023
  function create_else_block$6(ctx) {
5024
- let t0_value = /*item*/ ctx[21].name + "";
5024
+ let t0_value = /*item*/ ctx[24].name + "";
5025
5025
  let t0;
5026
5026
  let t1;
5027
5027
 
5028
- let t2_value = (/*item*/ ctx[21].id === "FAVORITES"
5028
+ let t2_value = (/*item*/ ctx[24].id === "FAVORITES"
5029
5029
  ? "(" + /*favoritesnumber*/ ctx[1] + ")"
5030
5030
  : "") + "";
5031
5031
 
@@ -5043,9 +5043,9 @@
5043
5043
  insert_dev(target, t2, anchor);
5044
5044
  },
5045
5045
  p: function update(ctx, dirty) {
5046
- if (dirty & /*sliderdata*/ 1 && t0_value !== (t0_value = /*item*/ ctx[21].name + "")) set_data_dev(t0, t0_value);
5046
+ if (dirty & /*sliderdata*/ 1 && t0_value !== (t0_value = /*item*/ ctx[24].name + "")) set_data_dev(t0, t0_value);
5047
5047
 
5048
- if (dirty & /*sliderdata, favoritesnumber*/ 3 && t2_value !== (t2_value = (/*item*/ ctx[21].id === "FAVORITES"
5048
+ if (dirty & /*sliderdata, favoritesnumber*/ 3 && t2_value !== (t2_value = (/*item*/ ctx[24].id === "FAVORITES"
5049
5049
  ? "(" + /*favoritesnumber*/ ctx[1] + ")"
5050
5050
  : "") + "")) set_data_dev(t2, t2_value);
5051
5051
  },
@@ -5060,17 +5060,17 @@
5060
5060
  block,
5061
5061
  id: create_else_block$6.name,
5062
5062
  type: "else",
5063
- source: "(80:12) {:else}",
5063
+ source: "(84:12) {:else}",
5064
5064
  ctx
5065
5065
  });
5066
5066
 
5067
5067
  return block;
5068
5068
  }
5069
5069
 
5070
- // (78:12) {#if location === 'headerMain'}
5070
+ // (82:12) {#if location === 'headerMain'}
5071
5071
  function create_if_block_1$6(ctx) {
5072
5072
  let a;
5073
- let t_value = /*item*/ ctx[21].label + "";
5073
+ let t_value = /*item*/ ctx[24].label + "";
5074
5074
  let t;
5075
5075
  let a_href_value;
5076
5076
 
@@ -5078,17 +5078,17 @@
5078
5078
  c: function create() {
5079
5079
  a = element("a");
5080
5080
  t = text(t_value);
5081
- attr_dev(a, "href", a_href_value = /*item*/ ctx[21].path);
5082
- add_location(a, file$9, 78, 14, 2741);
5081
+ attr_dev(a, "href", a_href_value = /*item*/ ctx[24].path);
5082
+ add_location(a, file$9, 82, 14, 3154);
5083
5083
  },
5084
5084
  m: function mount(target, anchor) {
5085
5085
  insert_dev(target, a, anchor);
5086
5086
  append_dev(a, t);
5087
5087
  },
5088
5088
  p: function update(ctx, dirty) {
5089
- if (dirty & /*sliderdata*/ 1 && t_value !== (t_value = /*item*/ ctx[21].label + "")) set_data_dev(t, t_value);
5089
+ if (dirty & /*sliderdata*/ 1 && t_value !== (t_value = /*item*/ ctx[24].label + "")) set_data_dev(t, t_value);
5090
5090
 
5091
- if (dirty & /*sliderdata*/ 1 && a_href_value !== (a_href_value = /*item*/ ctx[21].path)) {
5091
+ if (dirty & /*sliderdata*/ 1 && a_href_value !== (a_href_value = /*item*/ ctx[24].path)) {
5092
5092
  attr_dev(a, "href", a_href_value);
5093
5093
  }
5094
5094
  },
@@ -5101,14 +5101,14 @@
5101
5101
  block,
5102
5102
  id: create_if_block_1$6.name,
5103
5103
  type: "if",
5104
- source: "(78:12) {#if location === 'headerMain'}",
5104
+ source: "(82:12) {#if location === 'headerMain'}",
5105
5105
  ctx
5106
5106
  });
5107
5107
 
5108
5108
  return block;
5109
5109
  }
5110
5110
 
5111
- // (76:8) {#each sliderdata as item, index (item.id)}
5111
+ // (80:8) {#each sliderdata as item, index (item.id)}
5112
5112
  function create_each_block$3(key_1, ctx) {
5113
5113
  let li;
5114
5114
  let t;
@@ -5124,7 +5124,7 @@
5124
5124
  let if_block = current_block_type(ctx);
5125
5125
 
5126
5126
  function click_handler_1(...args) {
5127
- return /*click_handler_1*/ ctx[14](/*item*/ ctx[21], /*index*/ ctx[23], ...args);
5127
+ return /*click_handler_1*/ ctx[16](/*item*/ ctx[24], /*index*/ ctx[26], ...args);
5128
5128
  }
5129
5129
 
5130
5130
  const block = {
@@ -5135,8 +5135,8 @@
5135
5135
  if_block.c();
5136
5136
  t = space();
5137
5137
  attr_dev(li, "class", "CarouselItem");
5138
- toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[23]);
5139
- add_location(li, file$9, 76, 10, 2582);
5138
+ toggle_class(li, "active", /*active*/ ctx[5] == /*index*/ ctx[26]);
5139
+ add_location(li, file$9, 80, 10, 2995);
5140
5140
  this.first = li;
5141
5141
  },
5142
5142
  m: function mount(target, anchor) {
@@ -5164,8 +5164,8 @@
5164
5164
  }
5165
5165
  }
5166
5166
 
5167
- if (dirty & /*active, sliderdata*/ 17) {
5168
- toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[23]);
5167
+ if (dirty & /*active, sliderdata*/ 33) {
5168
+ toggle_class(li, "active", /*active*/ ctx[5] == /*index*/ ctx[26]);
5169
5169
  }
5170
5170
  },
5171
5171
  d: function destroy(detaching) {
@@ -5180,7 +5180,7 @@
5180
5180
  block,
5181
5181
  id: create_each_block$3.name,
5182
5182
  type: "each",
5183
- source: "(76:8) {#each sliderdata as item, index (item.id)}",
5183
+ source: "(80:8) {#each sliderdata as item, index (item.id)}",
5184
5184
  ctx
5185
5185
  });
5186
5186
 
@@ -5200,6 +5200,8 @@
5200
5200
  let svg1;
5201
5201
  let path1;
5202
5202
  let div2_class_value;
5203
+ let div2_style_value;
5204
+ let div3_class_value;
5203
5205
  let mounted;
5204
5206
  let dispose;
5205
5207
  let if_block = /*sliderdata*/ ctx[0].length > 0 && create_if_block$9(ctx);
@@ -5223,35 +5225,44 @@
5223
5225
  attr_dev(path0, "stroke-linejoin", "round");
5224
5226
  attr_dev(path0, "stroke-width", "2");
5225
5227
  attr_dev(path0, "d", "M15 19l-7-7 7-7");
5226
- add_location(path0, file$9, 69, 8, 2311);
5228
+ add_location(path0, file$9, 73, 8, 2724);
5227
5229
  attr_dev(svg0, "fill", "none");
5228
5230
  attr_dev(svg0, "stroke", "currentColor");
5229
5231
  attr_dev(svg0, "viewBox", "0 0 24 24");
5230
5232
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
5231
- add_location(svg0, file$9, 68, 6, 2208);
5233
+ add_location(svg0, file$9, 72, 6, 2621);
5232
5234
  attr_dev(div0, "class", "CarouselLeftArrow");
5233
- add_location(div0, file$9, 67, 4, 2138);
5235
+ add_location(div0, file$9, 71, 4, 2551);
5234
5236
  attr_dev(ul, "class", "CarouselItems");
5235
- add_location(ul, file$9, 73, 4, 2438);
5237
+ add_location(ul, file$9, 77, 4, 2851);
5236
5238
  attr_dev(path1, "stroke-linecap", "round");
5237
5239
  attr_dev(path1, "stroke-linejoin", "round");
5238
5240
  attr_dev(path1, "stroke-width", "2");
5239
5241
  attr_dev(path1, "d", "M9 5l7 7-7 7");
5240
- add_location(path1, file$9, 89, 8, 3137);
5242
+ add_location(path1, file$9, 93, 8, 3550);
5241
5243
  attr_dev(svg1, "fill", "none");
5242
5244
  attr_dev(svg1, "stroke", "currentColor");
5243
5245
  attr_dev(svg1, "viewBox", "0 0 24 24");
5244
5246
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
5245
- add_location(svg1, file$9, 88, 6, 3034);
5247
+ add_location(svg1, file$9, 92, 6, 3447);
5246
5248
  attr_dev(div1, "class", "CarouselRightArrow");
5247
- add_location(div1, file$9, 87, 4, 2962);
5249
+ add_location(div1, file$9, 91, 4, 3375);
5248
5250
 
5249
- attr_dev(div2, "class", div2_class_value = "CarouselContainer " + (/*location*/ ctx[2] === "headerMain"
5251
+ attr_dev(div2, "class", div2_class_value = "CarouselContainer " + (/*isMobile*/ ctx[7] ? "CarouselContainerMobile" : "") + " " + (/*location*/ ctx[2] === "headerMain"
5250
5252
  ? "CarouselContainerHeaderMain"
5251
5253
  : ""));
5252
5254
 
5253
- add_location(div2, file$9, 66, 2, 2033);
5254
- add_location(div3, file$9, 65, 0, 1990);
5255
+ attr_dev(div2, "style", div2_style_value = /*location*/ ctx[2] === "headerMain"
5256
+ ? "max-width: auto"
5257
+ : `max-width: ${/*containermaxwidth*/ ctx[3]}px`);
5258
+
5259
+ add_location(div2, file$9, 70, 2, 2304);
5260
+
5261
+ attr_dev(div3, "class", div3_class_value = "CarouselWrapper " + (/*location*/ ctx[2] === "headerMain"
5262
+ ? "CarouselWrapperHeaderMain"
5263
+ : ""));
5264
+
5265
+ add_location(div3, file$9, 69, 0, 2170);
5255
5266
  },
5256
5267
  l: function claim(nodes) {
5257
5268
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5265,17 +5276,17 @@
5265
5276
  append_dev(div2, t0);
5266
5277
  append_dev(div2, ul);
5267
5278
  if (if_block) if_block.m(ul, null);
5268
- /*ul_binding*/ ctx[15](ul);
5279
+ /*ul_binding*/ ctx[17](ul);
5269
5280
  append_dev(div2, t1);
5270
5281
  append_dev(div2, div1);
5271
5282
  append_dev(div1, svg1);
5272
5283
  append_dev(svg1, path1);
5273
- /*div3_binding*/ ctx[17](div3);
5284
+ /*div3_binding*/ ctx[19](div3);
5274
5285
 
5275
5286
  if (!mounted) {
5276
5287
  dispose = [
5277
- listen_dev(div0, "click", /*click_handler*/ ctx[13], false, false, false),
5278
- listen_dev(div1, "click", /*click_handler_2*/ ctx[16], false, false, false)
5288
+ listen_dev(div0, "click", /*click_handler*/ ctx[15], false, false, false),
5289
+ listen_dev(div1, "click", /*click_handler_2*/ ctx[18], false, false, false)
5279
5290
  ];
5280
5291
 
5281
5292
  mounted = true;
@@ -5295,19 +5306,31 @@
5295
5306
  if_block = null;
5296
5307
  }
5297
5308
 
5298
- if (dirty & /*location*/ 4 && div2_class_value !== (div2_class_value = "CarouselContainer " + (/*location*/ ctx[2] === "headerMain"
5309
+ if (dirty & /*location*/ 4 && div2_class_value !== (div2_class_value = "CarouselContainer " + (/*isMobile*/ ctx[7] ? "CarouselContainerMobile" : "") + " " + (/*location*/ ctx[2] === "headerMain"
5299
5310
  ? "CarouselContainerHeaderMain"
5300
5311
  : ""))) {
5301
5312
  attr_dev(div2, "class", div2_class_value);
5302
5313
  }
5314
+
5315
+ if (dirty & /*location, containermaxwidth*/ 12 && div2_style_value !== (div2_style_value = /*location*/ ctx[2] === "headerMain"
5316
+ ? "max-width: auto"
5317
+ : `max-width: ${/*containermaxwidth*/ ctx[3]}px`)) {
5318
+ attr_dev(div2, "style", div2_style_value);
5319
+ }
5320
+
5321
+ if (dirty & /*location*/ 4 && div3_class_value !== (div3_class_value = "CarouselWrapper " + (/*location*/ ctx[2] === "headerMain"
5322
+ ? "CarouselWrapperHeaderMain"
5323
+ : ""))) {
5324
+ attr_dev(div3, "class", div3_class_value);
5325
+ }
5303
5326
  },
5304
5327
  i: noop$1,
5305
5328
  o: noop$1,
5306
5329
  d: function destroy(detaching) {
5307
5330
  if (detaching) detach_dev(div3);
5308
5331
  if (if_block) if_block.d();
5309
- /*ul_binding*/ ctx[15](null);
5310
- /*div3_binding*/ ctx[17](null);
5332
+ /*ul_binding*/ ctx[17](null);
5333
+ /*div3_binding*/ ctx[19](null);
5311
5334
  mounted = false;
5312
5335
  run_all(dispose);
5313
5336
  }
@@ -5334,6 +5357,9 @@
5334
5357
  let { clientstyling = "" } = $$props;
5335
5358
  let { clientstylingurl = "" } = $$props;
5336
5359
  let { identity = "" } = $$props;
5360
+ let { containermaxwidth = "" } = $$props;
5361
+ let userAgent = window.navigator.userAgent;
5362
+ let isMobile = getDevice(userAgent) === "PC" ? false : true;
5337
5363
  let carousel;
5338
5364
  let active;
5339
5365
  let customStylingContainer;
@@ -5341,13 +5367,13 @@
5341
5367
  // Clicking on the slider item will trigger this method and send a postmessage on window
5342
5368
  // @TODO itemId type fix
5343
5369
  let handleClick = (itemId, index) => {
5344
- $$invalidate(4, active = index);
5370
+ $$invalidate(5, active = index);
5345
5371
  window.postMessage({ type: onclickeventname, itemId, index }, window.location.href);
5346
5372
  };
5347
5373
 
5348
5374
  const messageHandler = e => {
5349
5375
  if (e.data && e.data.type == "SetSliderIndex") {
5350
- $$invalidate(4, active = e.data.categoryData
5376
+ $$invalidate(5, active = e.data.categoryData
5351
5377
  ? sliderdata.map(e => {
5352
5378
  return e.id;
5353
5379
  }).indexOf(e.data.categoryData.id)
@@ -5355,7 +5381,7 @@
5355
5381
  }
5356
5382
 
5357
5383
  if (e.data && e.data.type == `SetSliderIndex_${identity}`) {
5358
- $$invalidate(4, active = e.data.index);
5384
+ $$invalidate(5, active = e.data.index);
5359
5385
  }
5360
5386
  };
5361
5387
 
@@ -5408,7 +5434,8 @@
5408
5434
  "location",
5409
5435
  "clientstyling",
5410
5436
  "clientstylingurl",
5411
- "identity"
5437
+ "identity",
5438
+ "containermaxwidth"
5412
5439
  ];
5413
5440
 
5414
5441
  Object.keys($$props).forEach(key => {
@@ -5421,7 +5448,7 @@
5421
5448
  function ul_binding($$value) {
5422
5449
  binding_callbacks[$$value ? "unshift" : "push"](() => {
5423
5450
  carousel = $$value;
5424
- $$invalidate(3, carousel);
5451
+ $$invalidate(4, carousel);
5425
5452
  });
5426
5453
  }
5427
5454
 
@@ -5430,22 +5457,24 @@
5430
5457
  function div3_binding($$value) {
5431
5458
  binding_callbacks[$$value ? "unshift" : "push"](() => {
5432
5459
  customStylingContainer = $$value;
5433
- $$invalidate(5, customStylingContainer);
5460
+ $$invalidate(6, customStylingContainer);
5434
5461
  });
5435
5462
  }
5436
5463
 
5437
5464
  $$self.$$set = $$props => {
5438
5465
  if ("sliderdata" in $$props) $$invalidate(0, sliderdata = $$props.sliderdata);
5439
- if ("onclickeventname" in $$props) $$invalidate(9, onclickeventname = $$props.onclickeventname);
5466
+ if ("onclickeventname" in $$props) $$invalidate(11, onclickeventname = $$props.onclickeventname);
5440
5467
  if ("favoritesnumber" in $$props) $$invalidate(1, favoritesnumber = $$props.favoritesnumber);
5441
5468
  if ("location" in $$props) $$invalidate(2, location = $$props.location);
5442
- if ("clientstyling" in $$props) $$invalidate(10, clientstyling = $$props.clientstyling);
5443
- if ("clientstylingurl" in $$props) $$invalidate(11, clientstylingurl = $$props.clientstylingurl);
5444
- if ("identity" in $$props) $$invalidate(12, identity = $$props.identity);
5469
+ if ("clientstyling" in $$props) $$invalidate(12, clientstyling = $$props.clientstyling);
5470
+ if ("clientstylingurl" in $$props) $$invalidate(13, clientstylingurl = $$props.clientstylingurl);
5471
+ if ("identity" in $$props) $$invalidate(14, identity = $$props.identity);
5472
+ if ("containermaxwidth" in $$props) $$invalidate(3, containermaxwidth = $$props.containermaxwidth);
5445
5473
  };
5446
5474
 
5447
5475
  $$self.$capture_state = () => ({
5448
5476
  onMount,
5477
+ getDevice,
5449
5478
  sliderdata,
5450
5479
  onclickeventname,
5451
5480
  favoritesnumber,
@@ -5453,6 +5482,9 @@
5453
5482
  clientstyling,
5454
5483
  clientstylingurl,
5455
5484
  identity,
5485
+ containermaxwidth,
5486
+ userAgent,
5487
+ isMobile,
5456
5488
  carousel,
5457
5489
  active,
5458
5490
  customStylingContainer,
@@ -5466,18 +5498,21 @@
5466
5498
 
5467
5499
  $$self.$inject_state = $$props => {
5468
5500
  if ("sliderdata" in $$props) $$invalidate(0, sliderdata = $$props.sliderdata);
5469
- if ("onclickeventname" in $$props) $$invalidate(9, onclickeventname = $$props.onclickeventname);
5501
+ if ("onclickeventname" in $$props) $$invalidate(11, onclickeventname = $$props.onclickeventname);
5470
5502
  if ("favoritesnumber" in $$props) $$invalidate(1, favoritesnumber = $$props.favoritesnumber);
5471
5503
  if ("location" in $$props) $$invalidate(2, location = $$props.location);
5472
- if ("clientstyling" in $$props) $$invalidate(10, clientstyling = $$props.clientstyling);
5473
- if ("clientstylingurl" in $$props) $$invalidate(11, clientstylingurl = $$props.clientstylingurl);
5474
- if ("identity" in $$props) $$invalidate(12, identity = $$props.identity);
5475
- if ("carousel" in $$props) $$invalidate(3, carousel = $$props.carousel);
5476
- if ("active" in $$props) $$invalidate(4, active = $$props.active);
5477
- if ("customStylingContainer" in $$props) $$invalidate(5, customStylingContainer = $$props.customStylingContainer);
5478
- if ("handleClick" in $$props) $$invalidate(6, handleClick = $$props.handleClick);
5479
- if ("scrollLeft" in $$props) $$invalidate(7, scrollLeft = $$props.scrollLeft);
5480
- if ("scrollRight" in $$props) $$invalidate(8, scrollRight = $$props.scrollRight);
5504
+ if ("clientstyling" in $$props) $$invalidate(12, clientstyling = $$props.clientstyling);
5505
+ if ("clientstylingurl" in $$props) $$invalidate(13, clientstylingurl = $$props.clientstylingurl);
5506
+ if ("identity" in $$props) $$invalidate(14, identity = $$props.identity);
5507
+ if ("containermaxwidth" in $$props) $$invalidate(3, containermaxwidth = $$props.containermaxwidth);
5508
+ if ("userAgent" in $$props) userAgent = $$props.userAgent;
5509
+ if ("isMobile" in $$props) $$invalidate(7, isMobile = $$props.isMobile);
5510
+ if ("carousel" in $$props) $$invalidate(4, carousel = $$props.carousel);
5511
+ if ("active" in $$props) $$invalidate(5, active = $$props.active);
5512
+ if ("customStylingContainer" in $$props) $$invalidate(6, customStylingContainer = $$props.customStylingContainer);
5513
+ if ("handleClick" in $$props) $$invalidate(8, handleClick = $$props.handleClick);
5514
+ if ("scrollLeft" in $$props) $$invalidate(9, scrollLeft = $$props.scrollLeft);
5515
+ if ("scrollRight" in $$props) $$invalidate(10, scrollRight = $$props.scrollRight);
5481
5516
  };
5482
5517
 
5483
5518
  if ($$props && "$$inject" in $$props) {
@@ -5485,11 +5520,11 @@
5485
5520
  }
5486
5521
 
5487
5522
  $$self.$$.update = () => {
5488
- if ($$self.$$.dirty & /*clientstyling*/ 1024) {
5523
+ if ($$self.$$.dirty & /*clientstyling*/ 4096) {
5489
5524
  clientstyling && setClientStyling();
5490
5525
  }
5491
5526
 
5492
- if ($$self.$$.dirty & /*clientstylingurl*/ 2048) {
5527
+ if ($$self.$$.dirty & /*clientstylingurl*/ 8192) {
5493
5528
  clientstylingurl && setClientStylingURL();
5494
5529
  }
5495
5530
  };
@@ -5498,9 +5533,11 @@
5498
5533
  sliderdata,
5499
5534
  favoritesnumber,
5500
5535
  location,
5536
+ containermaxwidth,
5501
5537
  carousel,
5502
5538
  active,
5503
5539
  customStylingContainer,
5540
+ isMobile,
5504
5541
  handleClick,
5505
5542
  scrollLeft,
5506
5543
  scrollRight,
@@ -5519,7 +5556,7 @@
5519
5556
  class CasinoSlider extends SvelteElement {
5520
5557
  constructor(options) {
5521
5558
  super();
5522
- this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;background:#D0046C;background:-webkit-linear-gradient(to left, #FD2839, #D0046C);background:linear-gradient(to left, #FD2839, #D0046C);color:#ffffff}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:12.8px 19.2px;font-size:16px;text-align:center;line-height:25.6px;transition:all 150ms ease-in-out}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:#07072a;cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:38.4px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid #D0046C;color:#D0046C}.CarouselContainerHeaderMain{background:transparent}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:#fff;text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>`;
5559
+ this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.CarouselWrapper{background:#D0046C;background:-webkit-linear-gradient(to left, #FD2839, #D0046C);background:linear-gradient(to left, #FD2839, #D0046C)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;width:100%;color:#ffffff;margin:0 auto;padding:0 10px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:12.8px 19.2px;font-size:16px;text-align:center;line-height:25.6px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:#07072a;cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:38.4px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid #D0046C;color:#D0046C}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:#fff;text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>`;
5523
5560
 
5524
5561
  init(
5525
5562
  this,
@@ -5533,12 +5570,13 @@
5533
5570
  safe_not_equal,
5534
5571
  {
5535
5572
  sliderdata: 0,
5536
- onclickeventname: 9,
5573
+ onclickeventname: 11,
5537
5574
  favoritesnumber: 1,
5538
5575
  location: 2,
5539
- clientstyling: 10,
5540
- clientstylingurl: 11,
5541
- identity: 12
5576
+ clientstyling: 12,
5577
+ clientstylingurl: 13,
5578
+ identity: 14,
5579
+ containermaxwidth: 3
5542
5580
  }
5543
5581
  );
5544
5582
 
@@ -5562,7 +5600,8 @@
5562
5600
  "location",
5563
5601
  "clientstyling",
5564
5602
  "clientstylingurl",
5565
- "identity"
5603
+ "identity",
5604
+ "containermaxwidth"
5566
5605
  ];
5567
5606
  }
5568
5607
 
@@ -5576,7 +5615,7 @@
5576
5615
  }
5577
5616
 
5578
5617
  get onclickeventname() {
5579
- return this.$$.ctx[9];
5618
+ return this.$$.ctx[11];
5580
5619
  }
5581
5620
 
5582
5621
  set onclickeventname(onclickeventname) {
@@ -5603,7 +5642,7 @@
5603
5642
  }
5604
5643
 
5605
5644
  get clientstyling() {
5606
- return this.$$.ctx[10];
5645
+ return this.$$.ctx[12];
5607
5646
  }
5608
5647
 
5609
5648
  set clientstyling(clientstyling) {
@@ -5612,7 +5651,7 @@
5612
5651
  }
5613
5652
 
5614
5653
  get clientstylingurl() {
5615
- return this.$$.ctx[11];
5654
+ return this.$$.ctx[13];
5616
5655
  }
5617
5656
 
5618
5657
  set clientstylingurl(clientstylingurl) {
@@ -5621,13 +5660,22 @@
5621
5660
  }
5622
5661
 
5623
5662
  get identity() {
5624
- return this.$$.ctx[12];
5663
+ return this.$$.ctx[14];
5625
5664
  }
5626
5665
 
5627
5666
  set identity(identity) {
5628
5667
  this.$set({ identity });
5629
5668
  flush();
5630
5669
  }
5670
+
5671
+ get containermaxwidth() {
5672
+ return this.$$.ctx[3];
5673
+ }
5674
+
5675
+ set containermaxwidth(containermaxwidth) {
5676
+ this.$set({ containermaxwidth });
5677
+ flush();
5678
+ }
5631
5679
  }
5632
5680
 
5633
5681
  !customElements.get('casino-slider') && customElements.define('casino-slider', CasinoSlider);
@@ -5637,7 +5685,7 @@
5637
5685
  const { console: console_1$7 } = globals;
5638
5686
  const file$8 = "../casino-categories-slider/src/CasinoCategoriesSlider.svelte";
5639
5687
 
5640
- // (186:4) {:else}
5688
+ // (187:4) {:else}
5641
5689
  function create_else_block$5(ctx) {
5642
5690
  let div;
5643
5691
  let casino_slider;
@@ -5646,26 +5694,27 @@
5646
5694
  c: function create() {
5647
5695
  div = element("div");
5648
5696
  casino_slider = element("casino-slider");
5649
- set_custom_element_data(casino_slider, "favoritesnumber", /*numberOfFavoredGames*/ ctx[6]);
5650
- set_custom_element_data(casino_slider, "sliderdata", /*categories*/ ctx[3]);
5697
+ set_custom_element_data(casino_slider, "favoritesnumber", /*numberOfFavoredGames*/ ctx[7]);
5698
+ set_custom_element_data(casino_slider, "sliderdata", /*categories*/ ctx[4]);
5651
5699
  set_custom_element_data(casino_slider, "clientstyling", /*clientstyling*/ ctx[0]);
5652
5700
  set_custom_element_data(casino_slider, "clientstylingurl", /*clientstylingurl*/ ctx[1]);
5701
+ set_custom_element_data(casino_slider, "containermaxwidth", /*containermaxwidth*/ ctx[2]);
5653
5702
  set_custom_element_data(casino_slider, "onclickeventname", "CategoryChange");
5654
- add_location(casino_slider, file$8, 187, 8, 6019);
5703
+ add_location(casino_slider, file$8, 188, 8, 6054);
5655
5704
  attr_dev(div, "class", "CasinoCategoriesContainer");
5656
- add_location(div, file$8, 186, 6, 5971);
5705
+ add_location(div, file$8, 187, 6, 6006);
5657
5706
  },
5658
5707
  m: function mount(target, anchor) {
5659
5708
  insert_dev(target, div, anchor);
5660
5709
  append_dev(div, casino_slider);
5661
5710
  },
5662
5711
  p: function update(ctx, dirty) {
5663
- if (dirty & /*numberOfFavoredGames*/ 64) {
5664
- set_custom_element_data(casino_slider, "favoritesnumber", /*numberOfFavoredGames*/ ctx[6]);
5712
+ if (dirty & /*numberOfFavoredGames*/ 128) {
5713
+ set_custom_element_data(casino_slider, "favoritesnumber", /*numberOfFavoredGames*/ ctx[7]);
5665
5714
  }
5666
5715
 
5667
- if (dirty & /*categories*/ 8) {
5668
- set_custom_element_data(casino_slider, "sliderdata", /*categories*/ ctx[3]);
5716
+ if (dirty & /*categories*/ 16) {
5717
+ set_custom_element_data(casino_slider, "sliderdata", /*categories*/ ctx[4]);
5669
5718
  }
5670
5719
 
5671
5720
  if (dirty & /*clientstyling*/ 1) {
@@ -5675,6 +5724,10 @@
5675
5724
  if (dirty & /*clientstylingurl*/ 2) {
5676
5725
  set_custom_element_data(casino_slider, "clientstylingurl", /*clientstylingurl*/ ctx[1]);
5677
5726
  }
5727
+
5728
+ if (dirty & /*containermaxwidth*/ 4) {
5729
+ set_custom_element_data(casino_slider, "containermaxwidth", /*containermaxwidth*/ ctx[2]);
5730
+ }
5678
5731
  },
5679
5732
  d: function destroy(detaching) {
5680
5733
  if (detaching) detach_dev(div);
@@ -5685,14 +5738,14 @@
5685
5738
  block,
5686
5739
  id: create_else_block$5.name,
5687
5740
  type: "else",
5688
- source: "(186:4) {:else}",
5741
+ source: "(187:4) {:else}",
5689
5742
  ctx
5690
5743
  });
5691
5744
 
5692
5745
  return block;
5693
5746
  }
5694
5747
 
5695
- // (184:4) {#if hasErrors}
5748
+ // (185:4) {#if hasErrors}
5696
5749
  function create_if_block_1$5(ctx) {
5697
5750
  let p;
5698
5751
 
@@ -5701,7 +5754,7 @@
5701
5754
  p = element("p");
5702
5755
  p.textContent = "500 Error - Internal Server Error.";
5703
5756
  attr_dev(p, "class", "SearchLoading");
5704
- add_location(p, file$8, 184, 6, 5889);
5757
+ add_location(p, file$8, 185, 6, 5924);
5705
5758
  },
5706
5759
  m: function mount(target, anchor) {
5707
5760
  insert_dev(target, p, anchor);
@@ -5716,14 +5769,14 @@
5716
5769
  block,
5717
5770
  id: create_if_block_1$5.name,
5718
5771
  type: "if",
5719
- source: "(184:4) {#if hasErrors}",
5772
+ source: "(185:4) {#if hasErrors}",
5720
5773
  ctx
5721
5774
  });
5722
5775
 
5723
5776
  return block;
5724
5777
  }
5725
5778
 
5726
- // (181:2) {#if isLoading}
5779
+ // (182:2) {#if isLoading}
5727
5780
  function create_if_block$8(ctx) {
5728
5781
  let p;
5729
5782
 
@@ -5731,7 +5784,7 @@
5731
5784
  c: function create() {
5732
5785
  p = element("p");
5733
5786
  p.textContent = "Please wait ...";
5734
- add_location(p, file$8, 181, 4, 5830);
5787
+ add_location(p, file$8, 182, 4, 5865);
5735
5788
  },
5736
5789
  m: function mount(target, anchor) {
5737
5790
  insert_dev(target, p, anchor);
@@ -5746,7 +5799,7 @@
5746
5799
  block,
5747
5800
  id: create_if_block$8.name,
5748
5801
  type: "if",
5749
- source: "(181:2) {#if isLoading}",
5802
+ source: "(182:2) {#if isLoading}",
5750
5803
  ctx
5751
5804
  });
5752
5805
 
@@ -5757,8 +5810,8 @@
5757
5810
  let div;
5758
5811
 
5759
5812
  function select_block_type(ctx, dirty) {
5760
- if (/*isLoading*/ ctx[2]) return create_if_block$8;
5761
- if (/*hasErrors*/ ctx[4]) return create_if_block_1$5;
5813
+ if (/*isLoading*/ ctx[3]) return create_if_block$8;
5814
+ if (/*hasErrors*/ ctx[5]) return create_if_block_1$5;
5762
5815
  return create_else_block$5;
5763
5816
  }
5764
5817
 
@@ -5770,7 +5823,7 @@
5770
5823
  div = element("div");
5771
5824
  if_block.c();
5772
5825
  this.c = noop$1;
5773
- add_location(div, file$8, 179, 0, 5767);
5826
+ add_location(div, file$8, 180, 0, 5802);
5774
5827
  },
5775
5828
  l: function claim(nodes) {
5776
5829
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5778,7 +5831,7 @@
5778
5831
  m: function mount(target, anchor) {
5779
5832
  insert_dev(target, div, anchor);
5780
5833
  if_block.m(div, null);
5781
- /*div_binding*/ ctx[13](div);
5834
+ /*div_binding*/ ctx[14](div);
5782
5835
  },
5783
5836
  p: function update(ctx, [dirty]) {
5784
5837
  if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
@@ -5798,7 +5851,7 @@
5798
5851
  d: function destroy(detaching) {
5799
5852
  if (detaching) detach_dev(div);
5800
5853
  if_block.d();
5801
- /*div_binding*/ ctx[13](null);
5854
+ /*div_binding*/ ctx[14](null);
5802
5855
  }
5803
5856
  };
5804
5857
 
@@ -5825,6 +5878,7 @@
5825
5878
  let { favorites = "" } = $$props; // True - add Favorites category in slider
5826
5879
  let { clientstyling = "" } = $$props;
5827
5880
  let { clientstylingurl = "" } = $$props;
5881
+ let { containermaxwidth = "" } = $$props;
5828
5882
 
5829
5883
  // Player logged-in/logged-out status & session
5830
5884
  let sessionID = "";
@@ -5846,10 +5900,10 @@
5846
5900
  if (e.data) {
5847
5901
  switch (e.data.type) {
5848
5902
  case "UpdateCategoryFavoriteGames":
5849
- $$invalidate(6, numberOfFavoredGames = e.data.receivedFavoriteResults.count);
5903
+ $$invalidate(7, numberOfFavoredGames = e.data.receivedFavoriteResults.count);
5850
5904
  break;
5851
5905
  case "ShowFavoriteSection":
5852
- $$invalidate(6, numberOfFavoredGames = e.data.receivedFavoriteResults.count);
5906
+ $$invalidate(7, numberOfFavoredGames = e.data.receivedFavoriteResults.count);
5853
5907
  break;
5854
5908
  case "UserSessionID":
5855
5909
  if (e.data.session) {
@@ -5882,7 +5936,7 @@
5882
5936
  }
5883
5937
 
5884
5938
  favoritesAdded = true;
5885
- $$invalidate(2, isLoading = false);
5939
+ $$invalidate(3, isLoading = false);
5886
5940
  };
5887
5941
 
5888
5942
  const addMostPlayedCategory = () => {
@@ -5897,28 +5951,28 @@
5897
5951
  }
5898
5952
 
5899
5953
  mostPlayedAdded = true;
5900
- $$invalidate(2, isLoading = false);
5954
+ $$invalidate(3, isLoading = false);
5901
5955
  };
5902
5956
 
5903
5957
  const checkAttrs = () => {
5904
5958
  if (!endpoint) {
5905
5959
  error = "Endpoint is missing! Please provide a valid endpointURL.";
5906
- $$invalidate(4, hasErrors = true);
5907
- $$invalidate(2, isLoading = false);
5960
+ $$invalidate(5, hasErrors = true);
5961
+ $$invalidate(3, isLoading = false);
5908
5962
  console.error(error);
5909
5963
  }
5910
5964
 
5911
5965
  if (!datasource) {
5912
5966
  error = "Datasource is missing! Please provide a valid datasource.";
5913
- $$invalidate(4, hasErrors = true);
5914
- $$invalidate(2, isLoading = false);
5967
+ $$invalidate(5, hasErrors = true);
5968
+ $$invalidate(3, isLoading = false);
5915
5969
  console.error(error);
5916
5970
  }
5917
5971
 
5918
5972
  if (!lang || lang.length != 2) {
5919
5973
  error = "Language is missing! Please provide a valid language (alpha2code)";
5920
- $$invalidate(4, hasErrors = true);
5921
- $$invalidate(2, isLoading = false);
5974
+ $$invalidate(5, hasErrors = true);
5975
+ $$invalidate(3, isLoading = false);
5922
5976
  console.error(error);
5923
5977
  }
5924
5978
 
@@ -5927,7 +5981,7 @@
5927
5981
 
5928
5982
  const initialLoad = () => {
5929
5983
  if (!checkAttrs()) {
5930
- $$invalidate(2, isLoading = true);
5984
+ $$invalidate(3, isLoading = true);
5931
5985
  let url = new URL(`${endpoint}/casino/groups/${datasource}`);
5932
5986
  url.searchParams.append("datasource", datasource);
5933
5987
 
@@ -5942,7 +5996,7 @@
5942
5996
  return item.games.total > 0;
5943
5997
  });
5944
5998
 
5945
- $$invalidate(3, categories = categories.concat(arr));
5999
+ $$invalidate(4, categories = categories.concat(arr));
5946
6000
 
5947
6001
  // @TODO Translation for lobby
5948
6002
  categories.unshift({
@@ -5953,14 +6007,14 @@
5953
6007
  });
5954
6008
 
5955
6009
  window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
5956
- $$invalidate(2, isLoading = false);
6010
+ $$invalidate(3, isLoading = false);
5957
6011
  },
5958
6012
  err => {
5959
- $$invalidate(4, hasErrors = true);
6013
+ $$invalidate(5, hasErrors = true);
5960
6014
  console.error("There was an error while fetching the categories", err);
5961
6015
  }
5962
6016
  ).catch(err => {
5963
- $$invalidate(4, hasErrors = true);
6017
+ $$invalidate(5, hasErrors = true);
5964
6018
  console.error("There was an error while fetching the categories", err);
5965
6019
  });
5966
6020
  }
@@ -6017,7 +6071,8 @@
6017
6071
  "mostplayed",
6018
6072
  "favorites",
6019
6073
  "clientstyling",
6020
- "clientstylingurl"
6074
+ "clientstylingurl",
6075
+ "containermaxwidth"
6021
6076
  ];
6022
6077
 
6023
6078
  Object.keys($$props).forEach(key => {
@@ -6027,19 +6082,20 @@
6027
6082
  function div_binding($$value) {
6028
6083
  binding_callbacks[$$value ? "unshift" : "push"](() => {
6029
6084
  customStylingContainer = $$value;
6030
- $$invalidate(5, customStylingContainer);
6085
+ $$invalidate(6, customStylingContainer);
6031
6086
  });
6032
6087
  }
6033
6088
 
6034
6089
  $$self.$$set = $$props => {
6035
- if ("endpoint" in $$props) $$invalidate(7, endpoint = $$props.endpoint);
6036
- if ("datasource" in $$props) $$invalidate(8, datasource = $$props.datasource);
6037
- if ("lang" in $$props) $$invalidate(9, lang = $$props.lang);
6038
- if ("session" in $$props) $$invalidate(10, session = $$props.session);
6039
- if ("mostplayed" in $$props) $$invalidate(11, mostplayed = $$props.mostplayed);
6040
- if ("favorites" in $$props) $$invalidate(12, favorites = $$props.favorites);
6090
+ if ("endpoint" in $$props) $$invalidate(8, endpoint = $$props.endpoint);
6091
+ if ("datasource" in $$props) $$invalidate(9, datasource = $$props.datasource);
6092
+ if ("lang" in $$props) $$invalidate(10, lang = $$props.lang);
6093
+ if ("session" in $$props) $$invalidate(11, session = $$props.session);
6094
+ if ("mostplayed" in $$props) $$invalidate(12, mostplayed = $$props.mostplayed);
6095
+ if ("favorites" in $$props) $$invalidate(13, favorites = $$props.favorites);
6041
6096
  if ("clientstyling" in $$props) $$invalidate(0, clientstyling = $$props.clientstyling);
6042
6097
  if ("clientstylingurl" in $$props) $$invalidate(1, clientstylingurl = $$props.clientstylingurl);
6098
+ if ("containermaxwidth" in $$props) $$invalidate(2, containermaxwidth = $$props.containermaxwidth);
6043
6099
  };
6044
6100
 
6045
6101
  $$self.$capture_state = () => ({
@@ -6054,6 +6110,7 @@
6054
6110
  favorites,
6055
6111
  clientstyling,
6056
6112
  clientstylingurl,
6113
+ containermaxwidth,
6057
6114
  sessionID,
6058
6115
  isLoggedIn,
6059
6116
  playerID,
@@ -6078,25 +6135,26 @@
6078
6135
  });
6079
6136
 
6080
6137
  $$self.$inject_state = $$props => {
6081
- if ("endpoint" in $$props) $$invalidate(7, endpoint = $$props.endpoint);
6082
- if ("datasource" in $$props) $$invalidate(8, datasource = $$props.datasource);
6083
- if ("lang" in $$props) $$invalidate(9, lang = $$props.lang);
6084
- if ("session" in $$props) $$invalidate(10, session = $$props.session);
6085
- if ("mostplayed" in $$props) $$invalidate(11, mostplayed = $$props.mostplayed);
6086
- if ("favorites" in $$props) $$invalidate(12, favorites = $$props.favorites);
6138
+ if ("endpoint" in $$props) $$invalidate(8, endpoint = $$props.endpoint);
6139
+ if ("datasource" in $$props) $$invalidate(9, datasource = $$props.datasource);
6140
+ if ("lang" in $$props) $$invalidate(10, lang = $$props.lang);
6141
+ if ("session" in $$props) $$invalidate(11, session = $$props.session);
6142
+ if ("mostplayed" in $$props) $$invalidate(12, mostplayed = $$props.mostplayed);
6143
+ if ("favorites" in $$props) $$invalidate(13, favorites = $$props.favorites);
6087
6144
  if ("clientstyling" in $$props) $$invalidate(0, clientstyling = $$props.clientstyling);
6088
6145
  if ("clientstylingurl" in $$props) $$invalidate(1, clientstylingurl = $$props.clientstylingurl);
6146
+ if ("containermaxwidth" in $$props) $$invalidate(2, containermaxwidth = $$props.containermaxwidth);
6089
6147
  if ("sessionID" in $$props) sessionID = $$props.sessionID;
6090
6148
  if ("isLoggedIn" in $$props) isLoggedIn = $$props.isLoggedIn;
6091
6149
  if ("playerID" in $$props) playerID = $$props.playerID;
6092
- if ("isLoading" in $$props) $$invalidate(2, isLoading = $$props.isLoading);
6093
- if ("categories" in $$props) $$invalidate(3, categories = $$props.categories);
6094
- if ("hasErrors" in $$props) $$invalidate(4, hasErrors = $$props.hasErrors);
6150
+ if ("isLoading" in $$props) $$invalidate(3, isLoading = $$props.isLoading);
6151
+ if ("categories" in $$props) $$invalidate(4, categories = $$props.categories);
6152
+ if ("hasErrors" in $$props) $$invalidate(5, hasErrors = $$props.hasErrors);
6095
6153
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
6096
6154
  if ("favoritesTitle" in $$props) favoritesTitle = $$props.favoritesTitle;
6097
- if ("customStylingContainer" in $$props) $$invalidate(5, customStylingContainer = $$props.customStylingContainer);
6155
+ if ("customStylingContainer" in $$props) $$invalidate(6, customStylingContainer = $$props.customStylingContainer);
6098
6156
  if ("reworkedFavoriteGamesCollection" in $$props) reworkedFavoriteGamesCollection = $$props.reworkedFavoriteGamesCollection;
6099
- if ("numberOfFavoredGames" in $$props) $$invalidate(6, numberOfFavoredGames = $$props.numberOfFavoredGames);
6157
+ if ("numberOfFavoredGames" in $$props) $$invalidate(7, numberOfFavoredGames = $$props.numberOfFavoredGames);
6100
6158
  if ("favoritesAdded" in $$props) favoritesAdded = $$props.favoritesAdded;
6101
6159
  if ("mostPlayedAdded" in $$props) mostPlayedAdded = $$props.mostPlayedAdded;
6102
6160
  };
@@ -6106,19 +6164,19 @@
6106
6164
  }
6107
6165
 
6108
6166
  $$self.$$.update = () => {
6109
- if ($$self.$$.dirty & /*endpoint, datasource, lang*/ 896) {
6167
+ if ($$self.$$.dirty & /*endpoint, datasource, lang*/ 1792) {
6110
6168
  endpoint && datasource && lang && initialLoad();
6111
6169
  }
6112
6170
 
6113
- if ($$self.$$.dirty & /*session, endpoint*/ 1152) {
6171
+ if ($$self.$$.dirty & /*session, endpoint*/ 2304) {
6114
6172
  session && endpoint && setSession();
6115
6173
  }
6116
6174
 
6117
- if ($$self.$$.dirty & /*session, favorites*/ 5120) {
6175
+ if ($$self.$$.dirty & /*session, favorites*/ 10240) {
6118
6176
  session && favorites && addFavoritesCategory();
6119
6177
  }
6120
6178
 
6121
- if ($$self.$$.dirty & /*session, mostplayed*/ 3072) {
6179
+ if ($$self.$$.dirty & /*session, mostplayed*/ 6144) {
6122
6180
  session && mostplayed && addMostPlayedCategory();
6123
6181
  }
6124
6182
 
@@ -6131,11 +6189,12 @@
6131
6189
  }
6132
6190
  };
6133
6191
 
6134
- $$invalidate(6, numberOfFavoredGames = 0);
6192
+ $$invalidate(7, numberOfFavoredGames = 0);
6135
6193
 
6136
6194
  return [
6137
6195
  clientstyling,
6138
6196
  clientstylingurl,
6197
+ containermaxwidth,
6139
6198
  isLoading,
6140
6199
  categories,
6141
6200
  hasErrors,
@@ -6167,14 +6226,15 @@
6167
6226
  create_fragment$8,
6168
6227
  safe_not_equal,
6169
6228
  {
6170
- endpoint: 7,
6171
- datasource: 8,
6172
- lang: 9,
6173
- session: 10,
6174
- mostplayed: 11,
6175
- favorites: 12,
6229
+ endpoint: 8,
6230
+ datasource: 9,
6231
+ lang: 10,
6232
+ session: 11,
6233
+ mostplayed: 12,
6234
+ favorites: 13,
6176
6235
  clientstyling: 0,
6177
- clientstylingurl: 1
6236
+ clientstylingurl: 1,
6237
+ containermaxwidth: 2
6178
6238
  }
6179
6239
  );
6180
6240
 
@@ -6199,12 +6259,13 @@
6199
6259
  "mostplayed",
6200
6260
  "favorites",
6201
6261
  "clientstyling",
6202
- "clientstylingurl"
6262
+ "clientstylingurl",
6263
+ "containermaxwidth"
6203
6264
  ];
6204
6265
  }
6205
6266
 
6206
6267
  get endpoint() {
6207
- return this.$$.ctx[7];
6268
+ return this.$$.ctx[8];
6208
6269
  }
6209
6270
 
6210
6271
  set endpoint(endpoint) {
@@ -6213,7 +6274,7 @@
6213
6274
  }
6214
6275
 
6215
6276
  get datasource() {
6216
- return this.$$.ctx[8];
6277
+ return this.$$.ctx[9];
6217
6278
  }
6218
6279
 
6219
6280
  set datasource(datasource) {
@@ -6222,7 +6283,7 @@
6222
6283
  }
6223
6284
 
6224
6285
  get lang() {
6225
- return this.$$.ctx[9];
6286
+ return this.$$.ctx[10];
6226
6287
  }
6227
6288
 
6228
6289
  set lang(lang) {
@@ -6231,7 +6292,7 @@
6231
6292
  }
6232
6293
 
6233
6294
  get session() {
6234
- return this.$$.ctx[10];
6295
+ return this.$$.ctx[11];
6235
6296
  }
6236
6297
 
6237
6298
  set session(session) {
@@ -6240,7 +6301,7 @@
6240
6301
  }
6241
6302
 
6242
6303
  get mostplayed() {
6243
- return this.$$.ctx[11];
6304
+ return this.$$.ctx[12];
6244
6305
  }
6245
6306
 
6246
6307
  set mostplayed(mostplayed) {
@@ -6249,7 +6310,7 @@
6249
6310
  }
6250
6311
 
6251
6312
  get favorites() {
6252
- return this.$$.ctx[12];
6313
+ return this.$$.ctx[13];
6253
6314
  }
6254
6315
 
6255
6316
  set favorites(favorites) {
@@ -6274,6 +6335,15 @@
6274
6335
  this.$set({ clientstylingurl });
6275
6336
  flush();
6276
6337
  }
6338
+
6339
+ get containermaxwidth() {
6340
+ return this.$$.ctx[2];
6341
+ }
6342
+
6343
+ set containermaxwidth(containermaxwidth) {
6344
+ this.$set({ containermaxwidth });
6345
+ flush();
6346
+ }
6277
6347
  }
6278
6348
 
6279
6349
  !customElements.get('casino-categories-slider') && customElements.define('casino-categories-slider', CasinoCategoriesSlider);
@@ -10848,17 +10918,17 @@
10848
10918
 
10849
10919
  function get_each_context$1(ctx, list, i) {
10850
10920
  const child_ctx = ctx.slice();
10851
- child_ctx[109] = list[i];
10852
- child_ctx[111] = i;
10921
+ child_ctx[110] = list[i];
10922
+ child_ctx[112] = i;
10853
10923
  return child_ctx;
10854
10924
  }
10855
10925
 
10856
- // (654:0) {:else}
10926
+ // (655:0) {:else}
10857
10927
  function create_else_block$3(ctx) {
10858
10928
  let section;
10859
- let show_if_1 = getDevice(/*userAgent*/ ctx[34]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[29];
10929
+ let show_if_1 = getDevice(/*userAgent*/ ctx[35]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[30];
10860
10930
  let t0;
10861
- let show_if = !/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && /*numberOfFilters*/ ctx[30] && getDevice(/*userAgent*/ ctx[34]) !== "PC";
10931
+ let show_if = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && /*numberOfFilters*/ ctx[31] && getDevice(/*userAgent*/ ctx[35]) !== "PC";
10862
10932
  let t1;
10863
10933
  let t2;
10864
10934
  let t3;
@@ -10874,17 +10944,17 @@
10874
10944
  let if_block2 = current_block_type(ctx);
10875
10945
 
10876
10946
  function select_block_type_2(ctx, dirty) {
10877
- if (/*isLoading*/ ctx[11]) return create_if_block_2$2;
10878
- if (/*searched*/ ctx[18]) return create_if_block_3$2;
10879
- if (/*lobbyScreen*/ ctx[20]) return create_if_block_4$2;
10880
- if (/*favoritesScreen*/ ctx[16]) return create_if_block_5$1;
10881
- if (/*mostPlayedScreen*/ ctx[21]) return create_if_block_6$1;
10882
- if (!/*recentSearches*/ ctx[17]) return create_if_block_8$1;
10947
+ if (/*isLoading*/ ctx[12]) return create_if_block_2$2;
10948
+ if (/*searched*/ ctx[19]) return create_if_block_3$2;
10949
+ if (/*lobbyScreen*/ ctx[21]) return create_if_block_4$2;
10950
+ if (/*favoritesScreen*/ ctx[17]) return create_if_block_5$1;
10951
+ if (/*mostPlayedScreen*/ ctx[22]) return create_if_block_6$1;
10952
+ if (!/*recentSearches*/ ctx[18]) return create_if_block_8$1;
10883
10953
  }
10884
10954
 
10885
10955
  let current_block_type_1 = select_block_type_2(ctx);
10886
10956
  let if_block3 = current_block_type_1 && current_block_type_1(ctx);
10887
- let if_block4 = /*isLoggedIn*/ ctx[13] && create_if_block_1$2(ctx);
10957
+ let if_block4 = /*isLoggedIn*/ ctx[14] && create_if_block_1$2(ctx);
10888
10958
 
10889
10959
  const block = {
10890
10960
  c: function create() {
@@ -10899,7 +10969,8 @@
10899
10969
  t3 = space();
10900
10970
  if (if_block4) if_block4.c();
10901
10971
  attr_dev(section, "class", "CategoriesLobby");
10902
- add_location(section, file$5, 654, 2, 22487);
10972
+ set_style(section, "max-width", /*containermaxwidth*/ ctx[10] + "px");
10973
+ add_location(section, file$5, 655, 2, 22522);
10903
10974
  },
10904
10975
  m: function mount(target, anchor) {
10905
10976
  insert_dev(target, section, anchor);
@@ -10912,10 +10983,10 @@
10912
10983
  if (if_block3) if_block3.m(section, null);
10913
10984
  append_dev(section, t3);
10914
10985
  if (if_block4) if_block4.m(section, null);
10915
- /*section_binding*/ ctx[64](section);
10986
+ /*section_binding*/ ctx[65](section);
10916
10987
  },
10917
10988
  p: function update(ctx, dirty) {
10918
- if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/ 536871168) show_if_1 = getDevice(/*userAgent*/ ctx[34]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[29];
10989
+ if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/ 1073742080) show_if_1 = getDevice(/*userAgent*/ ctx[35]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[30];
10919
10990
 
10920
10991
  if (show_if_1) {
10921
10992
  if (if_block0) ; else {
@@ -10928,7 +10999,7 @@
10928
10999
  if_block0 = null;
10929
11000
  }
10930
11001
 
10931
- if (dirty[0] & /*favoritesScreen, lobbyScreen, mobileSearchViewActive, numberOfFilters*/ 1611726848) show_if = !/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && /*numberOfFilters*/ ctx[30] && getDevice(/*userAgent*/ ctx[34]) !== "PC";
11002
+ if (dirty[0] & /*favoritesScreen, lobbyScreen, mobileSearchViewActive*/ 1075970048 | dirty[1] & /*numberOfFilters*/ 1) show_if = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && /*numberOfFilters*/ ctx[31] && getDevice(/*userAgent*/ ctx[35]) !== "PC";
10932
11003
 
10933
11004
  if (show_if) {
10934
11005
  if (if_block1) {
@@ -10967,7 +11038,7 @@
10967
11038
  }
10968
11039
  }
10969
11040
 
10970
- if (/*isLoggedIn*/ ctx[13]) {
11041
+ if (/*isLoggedIn*/ ctx[14]) {
10971
11042
  if (if_block4) {
10972
11043
  if_block4.p(ctx, dirty);
10973
11044
  } else {
@@ -10979,6 +11050,10 @@
10979
11050
  if_block4.d(1);
10980
11051
  if_block4 = null;
10981
11052
  }
11053
+
11054
+ if (dirty[0] & /*containermaxwidth*/ 1024) {
11055
+ set_style(section, "max-width", /*containermaxwidth*/ ctx[10] + "px");
11056
+ }
10982
11057
  },
10983
11058
  d: function destroy(detaching) {
10984
11059
  if (detaching) detach_dev(section);
@@ -10991,7 +11066,7 @@
10991
11066
  }
10992
11067
 
10993
11068
  if (if_block4) if_block4.d();
10994
- /*section_binding*/ ctx[64](null);
11069
+ /*section_binding*/ ctx[65](null);
10995
11070
  }
10996
11071
  };
10997
11072
 
@@ -10999,14 +11074,14 @@
10999
11074
  block,
11000
11075
  id: create_else_block$3.name,
11001
11076
  type: "else",
11002
- source: "(654:0) {:else}",
11077
+ source: "(655:0) {:else}",
11003
11078
  ctx
11004
11079
  });
11005
11080
 
11006
11081
  return block;
11007
11082
  }
11008
11083
 
11009
- // (652:0) {#if hasErrors}
11084
+ // (653:0) {#if hasErrors}
11010
11085
  function create_if_block$5(ctx) {
11011
11086
  let p;
11012
11087
 
@@ -11015,7 +11090,7 @@
11015
11090
  p = element("p");
11016
11091
  p.textContent = "500 Error - Internal Server Error";
11017
11092
  attr_dev(p, "class", "SearchLoading");
11018
- add_location(p, file$5, 652, 2, 22414);
11093
+ add_location(p, file$5, 653, 2, 22449);
11019
11094
  },
11020
11095
  m: function mount(target, anchor) {
11021
11096
  insert_dev(target, p, anchor);
@@ -11030,14 +11105,14 @@
11030
11105
  block,
11031
11106
  id: create_if_block$5.name,
11032
11107
  type: "if",
11033
- source: "(652:0) {#if hasErrors}",
11108
+ source: "(653:0) {#if hasErrors}",
11034
11109
  ctx
11035
11110
  });
11036
11111
 
11037
11112
  return block;
11038
11113
  }
11039
11114
 
11040
- // (656:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}
11115
+ // (657:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}
11041
11116
  function create_if_block_23(ctx) {
11042
11117
  let div;
11043
11118
 
@@ -11045,7 +11120,7 @@
11045
11120
  c: function create() {
11046
11121
  div = element("div");
11047
11122
  attr_dev(div, "class", "SearchBarPlaceholder");
11048
- add_location(div, file$5, 656, 6, 22665);
11123
+ add_location(div, file$5, 657, 6, 22742);
11049
11124
  },
11050
11125
  m: function mount(target, anchor) {
11051
11126
  insert_dev(target, div, anchor);
@@ -11059,14 +11134,14 @@
11059
11134
  block,
11060
11135
  id: create_if_block_23.name,
11061
11136
  type: "if",
11062
- source: "(656:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}",
11137
+ source: "(657:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}",
11063
11138
  ctx
11064
11139
  });
11065
11140
 
11066
11141
  return block;
11067
11142
  }
11068
11143
 
11069
- // (659:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}
11144
+ // (660:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}
11070
11145
  function create_if_block_22(ctx) {
11071
11146
  let div1;
11072
11147
  let div0;
@@ -11087,7 +11162,7 @@
11087
11162
  polygon = svg_element("polygon");
11088
11163
  set_style(polygon, "fill", "#FD2839");
11089
11164
  attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
11090
- add_location(polygon, file$5, 664, 14, 23269);
11165
+ add_location(polygon, file$5, 665, 14, 23346);
11091
11166
  attr_dev(svg, "version", "1.1");
11092
11167
  attr_dev(svg, "id", "Layer_1");
11093
11168
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -11097,13 +11172,13 @@
11097
11172
  attr_dev(svg, "viewBox", "0 0 378.303 378.303");
11098
11173
  set_style(svg, "enable-background", "new 0 0 378.303 378.303");
11099
11174
  attr_dev(svg, "xml:space", "preserve");
11100
- add_location(svg, file$5, 662, 12, 23014);
11175
+ add_location(svg, file$5, 663, 12, 23091);
11101
11176
  attr_dev(span, "class", "ClearIcon");
11102
- add_location(span, file$5, 661, 10, 22977);
11177
+ add_location(span, file$5, 662, 10, 23054);
11103
11178
  attr_dev(div0, "class", "ClearButton");
11104
- add_location(div0, file$5, 660, 8, 22936);
11179
+ add_location(div0, file$5, 661, 8, 23013);
11105
11180
  attr_dev(div1, "class", "ClearFilterMobileButtonWrapper");
11106
- add_location(div1, file$5, 659, 6, 22844);
11181
+ add_location(div1, file$5, 660, 6, 22921);
11107
11182
  },
11108
11183
  m: function mount(target, anchor) {
11109
11184
  insert_dev(target, div1, anchor);
@@ -11114,7 +11189,7 @@
11114
11189
  append_dev(svg, polygon);
11115
11190
 
11116
11191
  if (!mounted) {
11117
- dispose = listen_dev(div1, "click", /*click_handler*/ ctx[50], false, false, false);
11192
+ dispose = listen_dev(div1, "click", /*click_handler*/ ctx[51], false, false, false);
11118
11193
  mounted = true;
11119
11194
  }
11120
11195
  },
@@ -11130,14 +11205,14 @@
11130
11205
  block,
11131
11206
  id: create_if_block_22.name,
11132
11207
  type: "if",
11133
- source: "(659:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}",
11208
+ source: "(660:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}",
11134
11209
  ctx
11135
11210
  });
11136
11211
 
11137
11212
  return block;
11138
11213
  }
11139
11214
 
11140
- // (730:4) {:else}
11215
+ // (731:4) {:else}
11141
11216
  function create_else_block_2$1(ctx) {
11142
11217
  let div2;
11143
11218
  let div1;
@@ -11148,15 +11223,15 @@
11148
11223
  let input;
11149
11224
  let input_placeholder_value;
11150
11225
  let t3;
11151
- let show_if = getDevice(/*userAgent*/ ctx[34]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[34]) !== "PC";
11226
+ let show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
11152
11227
  let div1_class_value;
11153
11228
  let t4;
11154
11229
  let div2_class_value;
11155
11230
  let mounted;
11156
11231
  let dispose;
11157
- let if_block0 = !/*mobileSearchViewActive*/ ctx[29] && create_if_block_21(ctx);
11232
+ let if_block0 = !/*mobileSearchViewActive*/ ctx[30] && create_if_block_21(ctx);
11158
11233
  let if_block1 = show_if && create_if_block_20(ctx);
11159
- let if_block2 = !/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && !/*mostPlayedScreen*/ ctx[21] && !/*recentSearches*/ ctx[17] && !/*searched*/ ctx[18] && !/*lobbyViewAux*/ ctx[19] && create_if_block_16(ctx);
11234
+ let if_block2 = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20] && create_if_block_16(ctx);
11160
11235
 
11161
11236
  const block = {
11162
11237
  c: function create() {
@@ -11175,40 +11250,40 @@
11175
11250
  if (if_block2) if_block2.c();
11176
11251
  attr_dev(label, "for", "search");
11177
11252
  attr_dev(label, "class", "SrOnly");
11178
- add_location(label, file$5, 734, 10, 28620);
11253
+ add_location(label, file$5, 735, 10, 28697);
11179
11254
  attr_dev(input, "id", "SearchField");
11180
11255
  attr_dev(input, "class", "SearchInput");
11181
11256
 
11182
- attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[34]) === "PC"
11183
- ? /*$_*/ ctx[32]("casinoPage.search")
11184
- : /*$_*/ ctx[32]("casinoPage.searchMobile"));
11257
+ attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
11258
+ ? /*$_*/ ctx[33]("casinoPage.search")
11259
+ : /*$_*/ ctx[33]("casinoPage.searchMobile"));
11185
11260
 
11186
11261
  attr_dev(input, "type", "search");
11187
- add_location(input, file$5, 743, 12, 29176);
11262
+ add_location(input, file$5, 744, 12, 29253);
11188
11263
  attr_dev(div0, "class", "SearchWrapper");
11189
- add_location(div0, file$5, 735, 10, 28693);
11264
+ add_location(div0, file$5, 736, 10, 28770);
11190
11265
 
11191
- attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
11266
+ attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
11192
11267
  ? "SearchTruncated"
11193
11268
  : ""));
11194
11269
 
11195
- add_location(div1, file$5, 733, 8, 28478);
11270
+ add_location(div1, file$5, 734, 8, 28555);
11196
11271
 
11197
- attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
11272
+ attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
11198
11273
  ? "CategoriesHeaderMobileSection"
11199
- : "") + " " + (/*mobileSearchViewActive*/ ctx[29]
11274
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[30]
11200
11275
  ? "SearchMobileActive"
11201
- : "") + " " + (/*mobileSearchViewActive*/ ctx[29] || /*searched*/ ctx[18] && !(getDevice(/*userAgent*/ ctx[34]) === "PC") && !/*closeSearch*/ ctx[33]
11276
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
11202
11277
  ? "CategoriesHeaderSearchActive"
11203
- : "") + (/*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
11278
+ : "") + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
11204
11279
  ? "SearchStickTop"
11205
11280
  : ""));
11206
11281
 
11207
- set_style(div2, "top", /*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
11282
+ set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
11208
11283
  ? scrollOffset + "px"
11209
11284
  : "");
11210
11285
 
11211
- add_location(div2, file$5, 731, 6, 27959);
11286
+ add_location(div2, file$5, 732, 6, 28036);
11212
11287
  },
11213
11288
  m: function mount(target, anchor) {
11214
11289
  insert_dev(target, div2, anchor);
@@ -11219,27 +11294,27 @@
11219
11294
  if (if_block0) if_block0.m(div0, null);
11220
11295
  append_dev(div0, t2);
11221
11296
  append_dev(div0, input);
11222
- /*input_binding_1*/ ctx[57](input);
11223
- set_input_value(input, /*searchValue*/ ctx[10]);
11297
+ /*input_binding_1*/ ctx[58](input);
11298
+ set_input_value(input, /*searchValue*/ ctx[11]);
11224
11299
  append_dev(div0, t3);
11225
11300
  if (if_block1) if_block1.m(div0, null);
11226
11301
  append_dev(div2, t4);
11227
11302
  if (if_block2) if_block2.m(div2, null);
11228
- /*div2_binding_1*/ ctx[62](div2);
11303
+ /*div2_binding_1*/ ctx[63](div2);
11229
11304
 
11230
11305
  if (!mounted) {
11231
11306
  dispose = [
11232
- listen_dev(input, "focus", /*onFocus*/ ctx[36], false, false, false),
11233
- listen_dev(input, "blur", /*onBlur*/ ctx[37], false, false, false),
11234
- listen_dev(input, "input", /*input_input_handler_1*/ ctx[58]),
11235
- listen_dev(input, "focus", /*searchActivated*/ ctx[38], false, false, false)
11307
+ listen_dev(input, "focus", /*onFocus*/ ctx[37], false, false, false),
11308
+ listen_dev(input, "blur", /*onBlur*/ ctx[38], false, false, false),
11309
+ listen_dev(input, "input", /*input_input_handler_1*/ ctx[59]),
11310
+ listen_dev(input, "focus", /*searchActivated*/ ctx[39], false, false, false)
11236
11311
  ];
11237
11312
 
11238
11313
  mounted = true;
11239
11314
  }
11240
11315
  },
11241
11316
  p: function update(ctx, dirty) {
11242
- if (!/*mobileSearchViewActive*/ ctx[29]) {
11317
+ if (!/*mobileSearchViewActive*/ ctx[30]) {
11243
11318
  if (if_block0) ; else {
11244
11319
  if_block0 = create_if_block_21(ctx);
11245
11320
  if_block0.c();
@@ -11250,17 +11325,17 @@
11250
11325
  if_block0 = null;
11251
11326
  }
11252
11327
 
11253
- if (dirty[1] & /*$_*/ 2 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[34]) === "PC"
11254
- ? /*$_*/ ctx[32]("casinoPage.search")
11255
- : /*$_*/ ctx[32]("casinoPage.searchMobile"))) {
11328
+ if (dirty[1] & /*$_*/ 4 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
11329
+ ? /*$_*/ ctx[33]("casinoPage.search")
11330
+ : /*$_*/ ctx[33]("casinoPage.searchMobile"))) {
11256
11331
  attr_dev(input, "placeholder", input_placeholder_value);
11257
11332
  }
11258
11333
 
11259
- if (dirty[0] & /*searchValue*/ 1024) {
11260
- set_input_value(input, /*searchValue*/ ctx[10]);
11334
+ if (dirty[0] & /*searchValue*/ 2048) {
11335
+ set_input_value(input, /*searchValue*/ ctx[11]);
11261
11336
  }
11262
11337
 
11263
- if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[34]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[34]) !== "PC";
11338
+ if (dirty[0] & /*searchValue*/ 2048) show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
11264
11339
 
11265
11340
  if (show_if) {
11266
11341
  if (if_block1) {
@@ -11275,13 +11350,13 @@
11275
11350
  if_block1 = null;
11276
11351
  }
11277
11352
 
11278
- if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 3735552 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
11353
+ if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 7471104 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
11279
11354
  ? "SearchTruncated"
11280
11355
  : ""))) {
11281
11356
  attr_dev(div1, "class", div1_class_value);
11282
11357
  }
11283
11358
 
11284
- if (!/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && !/*mostPlayedScreen*/ ctx[21] && !/*recentSearches*/ ctx[17] && !/*searched*/ ctx[18] && !/*lobbyViewAux*/ ctx[19]) {
11359
+ if (!/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20]) {
11285
11360
  if (if_block2) {
11286
11361
  if_block2.p(ctx, dirty);
11287
11362
  } else {
@@ -11294,20 +11369,20 @@
11294
11369
  if_block2 = null;
11295
11370
  }
11296
11371
 
11297
- if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 545521664 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
11372
+ if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 1091043328 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
11298
11373
  ? "CategoriesHeaderMobileSection"
11299
- : "") + " " + (/*mobileSearchViewActive*/ ctx[29]
11374
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[30]
11300
11375
  ? "SearchMobileActive"
11301
- : "") + " " + (/*mobileSearchViewActive*/ ctx[29] || /*searched*/ ctx[18] && !(getDevice(/*userAgent*/ ctx[34]) === "PC") && !/*closeSearch*/ ctx[33]
11376
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
11302
11377
  ? "CategoriesHeaderSearchActive"
11303
- : "") + (/*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
11378
+ : "") + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
11304
11379
  ? "SearchStickTop"
11305
11380
  : ""))) {
11306
11381
  attr_dev(div2, "class", div2_class_value);
11307
11382
  }
11308
11383
 
11309
- if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 545259520) {
11310
- set_style(div2, "top", /*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
11384
+ if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 1090519040) {
11385
+ set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
11311
11386
  ? scrollOffset + "px"
11312
11387
  : "");
11313
11388
  }
@@ -11315,10 +11390,10 @@
11315
11390
  d: function destroy(detaching) {
11316
11391
  if (detaching) detach_dev(div2);
11317
11392
  if (if_block0) if_block0.d();
11318
- /*input_binding_1*/ ctx[57](null);
11393
+ /*input_binding_1*/ ctx[58](null);
11319
11394
  if (if_block1) if_block1.d();
11320
11395
  if (if_block2) if_block2.d();
11321
- /*div2_binding_1*/ ctx[62](null);
11396
+ /*div2_binding_1*/ ctx[63](null);
11322
11397
  mounted = false;
11323
11398
  run_all(dispose);
11324
11399
  }
@@ -11328,14 +11403,14 @@
11328
11403
  block,
11329
11404
  id: create_else_block_2$1.name,
11330
11405
  type: "else",
11331
- source: "(730:4) {:else}",
11406
+ source: "(731:4) {:else}",
11332
11407
  ctx
11333
11408
  });
11334
11409
 
11335
11410
  return block;
11336
11411
  }
11337
11412
 
11338
- // (673:4) {#if alternativesearch === 'false'}
11413
+ // (674:4) {#if alternativesearch === 'false'}
11339
11414
  function create_if_block_9$1(ctx) {
11340
11415
  let div2;
11341
11416
  let div1;
@@ -11346,15 +11421,15 @@
11346
11421
  let input;
11347
11422
  let input_placeholder_value;
11348
11423
  let t3;
11349
- let show_if = getDevice(/*userAgent*/ ctx[34]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[34]) !== "PC";
11424
+ let show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
11350
11425
  let div1_class_value;
11351
11426
  let t4;
11352
11427
  let div2_class_value;
11353
11428
  let mounted;
11354
11429
  let dispose;
11355
- let if_block0 = !/*mobileSearchViewActive*/ ctx[29] && create_if_block_15(ctx);
11430
+ let if_block0 = !/*mobileSearchViewActive*/ ctx[30] && create_if_block_15(ctx);
11356
11431
  let if_block1 = show_if && create_if_block_14(ctx);
11357
- let if_block2 = !/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && !/*mostPlayedScreen*/ ctx[21] && !/*recentSearches*/ ctx[17] && !/*searched*/ ctx[18] && !/*lobbyViewAux*/ ctx[19] && create_if_block_10$1(ctx);
11432
+ let if_block2 = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20] && create_if_block_10$1(ctx);
11358
11433
 
11359
11434
  const block = {
11360
11435
  c: function create() {
@@ -11373,40 +11448,40 @@
11373
11448
  if (if_block2) if_block2.c();
11374
11449
  attr_dev(label, "for", "search");
11375
11450
  attr_dev(label, "class", "SrOnly");
11376
- add_location(label, file$5, 677, 10, 24277);
11451
+ add_location(label, file$5, 678, 10, 24354);
11377
11452
  attr_dev(input, "id", "SearchField");
11378
11453
  attr_dev(input, "class", "SearchInput");
11379
11454
 
11380
- attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[34]) === "PC"
11381
- ? /*$_*/ ctx[32]("casinoPage.search")
11382
- : /*$_*/ ctx[32]("casinoPage.searchMobile"));
11455
+ attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
11456
+ ? /*$_*/ ctx[33]("casinoPage.search")
11457
+ : /*$_*/ ctx[33]("casinoPage.searchMobile"));
11383
11458
 
11384
11459
  attr_dev(input, "type", "search");
11385
- add_location(input, file$5, 686, 12, 24833);
11460
+ add_location(input, file$5, 687, 12, 24910);
11386
11461
  attr_dev(div0, "class", "SearchWrapper");
11387
- add_location(div0, file$5, 678, 10, 24350);
11462
+ add_location(div0, file$5, 679, 10, 24427);
11388
11463
 
11389
- attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
11464
+ attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
11390
11465
  ? "SearchTruncated"
11391
11466
  : ""));
11392
11467
 
11393
- add_location(div1, file$5, 676, 8, 24135);
11468
+ add_location(div1, file$5, 677, 8, 24212);
11394
11469
 
11395
- attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
11470
+ attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
11396
11471
  ? "CategoriesHeaderMobileSection"
11397
- : "") + " " + (/*mobileSearchViewActive*/ ctx[29]
11472
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[30]
11398
11473
  ? "SearchMobileActive"
11399
- : "") + " " + (/*mobileSearchViewActive*/ ctx[29] || /*searched*/ ctx[18] && !(getDevice(/*userAgent*/ ctx[34]) === "PC") && !/*closeSearch*/ ctx[33]
11474
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
11400
11475
  ? "CategoriesHeaderSearchActive"
11401
- : "") + " " + (/*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
11476
+ : "") + " " + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
11402
11477
  ? "SearchStickTop"
11403
11478
  : ""));
11404
11479
 
11405
- set_style(div2, "top", /*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
11480
+ set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
11406
11481
  ? scrollOffset + "px"
11407
11482
  : "");
11408
11483
 
11409
- add_location(div2, file$5, 674, 6, 23648);
11484
+ add_location(div2, file$5, 675, 6, 23725);
11410
11485
  },
11411
11486
  m: function mount(target, anchor) {
11412
11487
  insert_dev(target, div2, anchor);
@@ -11417,27 +11492,27 @@
11417
11492
  if (if_block0) if_block0.m(div0, null);
11418
11493
  append_dev(div0, t2);
11419
11494
  append_dev(div0, input);
11420
- /*input_binding*/ ctx[51](input);
11421
- set_input_value(input, /*searchValue*/ ctx[10]);
11495
+ /*input_binding*/ ctx[52](input);
11496
+ set_input_value(input, /*searchValue*/ ctx[11]);
11422
11497
  append_dev(div0, t3);
11423
11498
  if (if_block1) if_block1.m(div0, null);
11424
11499
  append_dev(div2, t4);
11425
11500
  if (if_block2) if_block2.m(div2, null);
11426
- /*div2_binding*/ ctx[56](div2);
11501
+ /*div2_binding*/ ctx[57](div2);
11427
11502
 
11428
11503
  if (!mounted) {
11429
11504
  dispose = [
11430
- listen_dev(input, "focus", /*onFocus*/ ctx[36], false, false, false),
11431
- listen_dev(input, "blur", /*onBlur*/ ctx[37], false, false, false),
11432
- listen_dev(input, "input", /*input_input_handler*/ ctx[52]),
11433
- listen_dev(input, "focus", /*searchActivated*/ ctx[38], false, false, false)
11505
+ listen_dev(input, "focus", /*onFocus*/ ctx[37], false, false, false),
11506
+ listen_dev(input, "blur", /*onBlur*/ ctx[38], false, false, false),
11507
+ listen_dev(input, "input", /*input_input_handler*/ ctx[53]),
11508
+ listen_dev(input, "focus", /*searchActivated*/ ctx[39], false, false, false)
11434
11509
  ];
11435
11510
 
11436
11511
  mounted = true;
11437
11512
  }
11438
11513
  },
11439
11514
  p: function update(ctx, dirty) {
11440
- if (!/*mobileSearchViewActive*/ ctx[29]) {
11515
+ if (!/*mobileSearchViewActive*/ ctx[30]) {
11441
11516
  if (if_block0) ; else {
11442
11517
  if_block0 = create_if_block_15(ctx);
11443
11518
  if_block0.c();
@@ -11448,17 +11523,17 @@
11448
11523
  if_block0 = null;
11449
11524
  }
11450
11525
 
11451
- if (dirty[1] & /*$_*/ 2 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[34]) === "PC"
11452
- ? /*$_*/ ctx[32]("casinoPage.search")
11453
- : /*$_*/ ctx[32]("casinoPage.searchMobile"))) {
11526
+ if (dirty[1] & /*$_*/ 4 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
11527
+ ? /*$_*/ ctx[33]("casinoPage.search")
11528
+ : /*$_*/ ctx[33]("casinoPage.searchMobile"))) {
11454
11529
  attr_dev(input, "placeholder", input_placeholder_value);
11455
11530
  }
11456
11531
 
11457
- if (dirty[0] & /*searchValue*/ 1024) {
11458
- set_input_value(input, /*searchValue*/ ctx[10]);
11532
+ if (dirty[0] & /*searchValue*/ 2048) {
11533
+ set_input_value(input, /*searchValue*/ ctx[11]);
11459
11534
  }
11460
11535
 
11461
- if (dirty[0] & /*searchValue*/ 1024) show_if = getDevice(/*userAgent*/ ctx[34]) === "PC" && /*searchValue*/ ctx[10].length || getDevice(/*userAgent*/ ctx[34]) !== "PC";
11536
+ if (dirty[0] & /*searchValue*/ 2048) show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
11462
11537
 
11463
11538
  if (show_if) {
11464
11539
  if (if_block1) {
@@ -11473,13 +11548,13 @@
11473
11548
  if_block1 = null;
11474
11549
  }
11475
11550
 
11476
- if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 3735552 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[20] && !/*favoritesScreen*/ ctx[16] && !/*mostPlayedScreen*/ ctx[21] && !/*lobbyViewAux*/ ctx[19]
11551
+ if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 7471104 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
11477
11552
  ? "SearchTruncated"
11478
11553
  : ""))) {
11479
11554
  attr_dev(div1, "class", div1_class_value);
11480
11555
  }
11481
11556
 
11482
- if (!/*favoritesScreen*/ ctx[16] && !/*lobbyScreen*/ ctx[20] && !/*mobileSearchViewActive*/ ctx[29] && !/*mostPlayedScreen*/ ctx[21] && !/*recentSearches*/ ctx[17] && !/*searched*/ ctx[18] && !/*lobbyViewAux*/ ctx[19]) {
11557
+ if (!/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20]) {
11483
11558
  if (if_block2) {
11484
11559
  if_block2.p(ctx, dirty);
11485
11560
  } else {
@@ -11492,20 +11567,20 @@
11492
11567
  if_block2 = null;
11493
11568
  }
11494
11569
 
11495
- if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 545521664 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
11570
+ if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 1091043328 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
11496
11571
  ? "CategoriesHeaderMobileSection"
11497
- : "") + " " + (/*mobileSearchViewActive*/ ctx[29]
11572
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[30]
11498
11573
  ? "SearchMobileActive"
11499
- : "") + " " + (/*mobileSearchViewActive*/ ctx[29] || /*searched*/ ctx[18] && !(getDevice(/*userAgent*/ ctx[34]) === "PC") && !/*closeSearch*/ ctx[33]
11574
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
11500
11575
  ? "CategoriesHeaderSearchActive"
11501
- : "") + " " + (/*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
11576
+ : "") + " " + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
11502
11577
  ? "SearchStickTop"
11503
11578
  : ""))) {
11504
11579
  attr_dev(div2, "class", div2_class_value);
11505
11580
  }
11506
11581
 
11507
- if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 545259520) {
11508
- set_style(div2, "top", /*adjustingScroll*/ ctx[23] && /*mobileSearchViewActive*/ ctx[29]
11582
+ if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 1090519040) {
11583
+ set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
11509
11584
  ? scrollOffset + "px"
11510
11585
  : "");
11511
11586
  }
@@ -11513,10 +11588,10 @@
11513
11588
  d: function destroy(detaching) {
11514
11589
  if (detaching) detach_dev(div2);
11515
11590
  if (if_block0) if_block0.d();
11516
- /*input_binding*/ ctx[51](null);
11591
+ /*input_binding*/ ctx[52](null);
11517
11592
  if (if_block1) if_block1.d();
11518
11593
  if (if_block2) if_block2.d();
11519
- /*div2_binding*/ ctx[56](null);
11594
+ /*div2_binding*/ ctx[57](null);
11520
11595
  mounted = false;
11521
11596
  run_all(dispose);
11522
11597
  }
@@ -11526,14 +11601,14 @@
11526
11601
  block,
11527
11602
  id: create_if_block_9$1.name,
11528
11603
  type: "if",
11529
- source: "(673:4) {#if alternativesearch === 'false'}",
11604
+ source: "(674:4) {#if alternativesearch === 'false'}",
11530
11605
  ctx
11531
11606
  });
11532
11607
 
11533
11608
  return block;
11534
11609
  }
11535
11610
 
11536
- // (737:12) {#if !mobileSearchViewActive}
11611
+ // (738:12) {#if !mobileSearchViewActive}
11537
11612
  function create_if_block_21(ctx) {
11538
11613
  let div;
11539
11614
  let svg;
@@ -11547,14 +11622,14 @@
11547
11622
  attr_dev(path, "fill-rule", "evenodd");
11548
11623
  attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
11549
11624
  attr_dev(path, "clip-rule", "evenodd");
11550
- add_location(path, file$5, 739, 18, 28936);
11625
+ add_location(path, file$5, 740, 18, 29013);
11551
11626
  attr_dev(svg, "role", "presentation");
11552
11627
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11553
11628
  attr_dev(svg, "viewBox", "0 0 20 20");
11554
11629
  attr_dev(svg, "aria-hidden", "true");
11555
- add_location(svg, file$5, 738, 16, 28818);
11630
+ add_location(svg, file$5, 739, 16, 28895);
11556
11631
  attr_dev(div, "class", "SearchIcon");
11557
- add_location(div, file$5, 737, 14, 28777);
11632
+ add_location(div, file$5, 738, 14, 28854);
11558
11633
  },
11559
11634
  m: function mount(target, anchor) {
11560
11635
  insert_dev(target, div, anchor);
@@ -11570,14 +11645,14 @@
11570
11645
  block,
11571
11646
  id: create_if_block_21.name,
11572
11647
  type: "if",
11573
- source: "(737:12) {#if !mobileSearchViewActive}",
11648
+ source: "(738:12) {#if !mobileSearchViewActive}",
11574
11649
  ctx
11575
11650
  });
11576
11651
 
11577
11652
  return block;
11578
11653
  }
11579
11654
 
11580
- // (745:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
11655
+ // (746:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
11581
11656
  function create_if_block_20(ctx) {
11582
11657
  let span;
11583
11658
  let div2;
@@ -11593,17 +11668,17 @@
11593
11668
  div1 = element("div");
11594
11669
  div0 = element("div");
11595
11670
  attr_dev(div0, "class", "CloseIcon");
11596
- add_location(div0, file$5, 748, 20, 29836);
11671
+ add_location(div0, file$5, 749, 20, 29913);
11597
11672
  attr_dev(div1, "class", "CloseIconWrapper");
11598
- add_location(div1, file$5, 747, 18, 29785);
11673
+ add_location(div1, file$5, 748, 18, 29862);
11599
11674
  attr_dev(div2, "class", "CloseIconContainer");
11600
- add_location(div2, file$5, 746, 16, 29734);
11675
+ add_location(div2, file$5, 747, 16, 29811);
11601
11676
 
11602
- attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[34]) === "PC"
11677
+ attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[35]) === "PC"
11603
11678
  ? "ClearSearchButton"
11604
11679
  : "ClearSearchButtonMobile") + " "));
11605
11680
 
11606
- add_location(span, file$5, 745, 14, 29582);
11681
+ add_location(span, file$5, 746, 14, 29659);
11607
11682
  },
11608
11683
  m: function mount(target, anchor) {
11609
11684
  insert_dev(target, span, anchor);
@@ -11612,7 +11687,7 @@
11612
11687
  append_dev(div1, div0);
11613
11688
 
11614
11689
  if (!mounted) {
11615
- dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[59], false, false, false);
11690
+ dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[60], false, false, false);
11616
11691
  mounted = true;
11617
11692
  }
11618
11693
  },
@@ -11628,19 +11703,19 @@
11628
11703
  block,
11629
11704
  id: create_if_block_20.name,
11630
11705
  type: "if",
11631
- source: "(745:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
11706
+ source: "(746:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
11632
11707
  ctx
11633
11708
  });
11634
11709
 
11635
11710
  return block;
11636
11711
  }
11637
11712
 
11638
- // (756:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
11713
+ // (757:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
11639
11714
  function create_if_block_16(ctx) {
11640
11715
  let div;
11641
11716
  let t;
11642
- let if_block0 = /*numberOfFilters*/ ctx[30] && create_if_block_19(ctx);
11643
- let if_block1 = (!/*searched*/ ctx[18] || !/*recentSearches*/ ctx[17]) && create_if_block_17(ctx);
11717
+ let if_block0 = /*numberOfFilters*/ ctx[31] && create_if_block_19(ctx);
11718
+ let if_block1 = (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) && create_if_block_17(ctx);
11644
11719
 
11645
11720
  const block = {
11646
11721
  c: function create() {
@@ -11649,7 +11724,7 @@
11649
11724
  t = space();
11650
11725
  if (if_block1) if_block1.c();
11651
11726
  attr_dev(div, "class", "FiltersButtonsContainer");
11652
- add_location(div, file$5, 756, 10, 30140);
11727
+ add_location(div, file$5, 757, 10, 30217);
11653
11728
  },
11654
11729
  m: function mount(target, anchor) {
11655
11730
  insert_dev(target, div, anchor);
@@ -11658,7 +11733,7 @@
11658
11733
  if (if_block1) if_block1.m(div, null);
11659
11734
  },
11660
11735
  p: function update(ctx, dirty) {
11661
- if (/*numberOfFilters*/ ctx[30]) {
11736
+ if (/*numberOfFilters*/ ctx[31]) {
11662
11737
  if (if_block0) {
11663
11738
  if_block0.p(ctx, dirty);
11664
11739
  } else {
@@ -11671,7 +11746,7 @@
11671
11746
  if_block0 = null;
11672
11747
  }
11673
11748
 
11674
- if (!/*searched*/ ctx[18] || !/*recentSearches*/ ctx[17]) {
11749
+ if (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) {
11675
11750
  if (if_block1) {
11676
11751
  if_block1.p(ctx, dirty);
11677
11752
  } else {
@@ -11695,14 +11770,14 @@
11695
11770
  block,
11696
11771
  id: create_if_block_16.name,
11697
11772
  type: "if",
11698
- source: "(756:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
11773
+ source: "(757:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
11699
11774
  ctx
11700
11775
  });
11701
11776
 
11702
11777
  return block;
11703
11778
  }
11704
11779
 
11705
- // (758:12) {#if numberOfFilters}
11780
+ // (759:12) {#if numberOfFilters}
11706
11781
  function create_if_block_19(ctx) {
11707
11782
  let div1;
11708
11783
  let div0;
@@ -11724,7 +11799,7 @@
11724
11799
  polygon = svg_element("polygon");
11725
11800
  set_style(polygon, "fill", "#FD2839");
11726
11801
  attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
11727
- add_location(polygon, file$5, 763, 22, 30730);
11802
+ add_location(polygon, file$5, 764, 22, 30807);
11728
11803
  attr_dev(svg, "version", "1.1");
11729
11804
  attr_dev(svg, "id", "Layer_1");
11730
11805
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -11734,13 +11809,13 @@
11734
11809
  attr_dev(svg, "viewBox", "0 0 378.303 378.303");
11735
11810
  set_style(svg, "enable-background", "new 0 0 378.303 378.303");
11736
11811
  attr_dev(svg, "xml:space", "preserve");
11737
- add_location(svg, file$5, 761, 20, 30455);
11812
+ add_location(svg, file$5, 762, 20, 30532);
11738
11813
  attr_dev(span, "class", "ClearIcon");
11739
- add_location(span, file$5, 760, 18, 30410);
11814
+ add_location(span, file$5, 761, 18, 30487);
11740
11815
  attr_dev(div0, "class", "ClearButton");
11741
- add_location(div0, file$5, 759, 16, 30361);
11742
- attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[30] ? "FiltersActive" : ""));
11743
- add_location(div1, file$5, 758, 14, 30226);
11816
+ add_location(div0, file$5, 760, 16, 30438);
11817
+ attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[31] ? "FiltersActive" : ""));
11818
+ add_location(div1, file$5, 759, 14, 30303);
11744
11819
  },
11745
11820
  m: function mount(target, anchor) {
11746
11821
  insert_dev(target, div1, anchor);
@@ -11751,12 +11826,12 @@
11751
11826
  append_dev(svg, polygon);
11752
11827
 
11753
11828
  if (!mounted) {
11754
- dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[60], false, false, false);
11829
+ dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[61], false, false, false);
11755
11830
  mounted = true;
11756
11831
  }
11757
11832
  },
11758
11833
  p: function update(ctx, dirty) {
11759
- if (dirty[0] & /*numberOfFilters*/ 1073741824 && div1_class_value !== (div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[30] ? "FiltersActive" : ""))) {
11834
+ if (dirty[1] & /*numberOfFilters*/ 1 && div1_class_value !== (div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[31] ? "FiltersActive" : ""))) {
11760
11835
  attr_dev(div1, "class", div1_class_value);
11761
11836
  }
11762
11837
  },
@@ -11771,17 +11846,17 @@
11771
11846
  block,
11772
11847
  id: create_if_block_19.name,
11773
11848
  type: "if",
11774
- source: "(758:12) {#if numberOfFilters}",
11849
+ source: "(759:12) {#if numberOfFilters}",
11775
11850
  ctx
11776
11851
  });
11777
11852
 
11778
11853
  return block;
11779
11854
  }
11780
11855
 
11781
- // (771:12) {#if !searched || !recentSearches}
11856
+ // (772:12) {#if !searched || !recentSearches}
11782
11857
  function create_if_block_17(ctx) {
11783
11858
  let if_block_anchor;
11784
- let if_block = !/*mostPlayedScreen*/ ctx[21] && !/*numberOfFilters*/ ctx[30] && create_if_block_18(ctx);
11859
+ let if_block = !/*mostPlayedScreen*/ ctx[22] && !/*numberOfFilters*/ ctx[31] && create_if_block_18(ctx);
11785
11860
 
11786
11861
  const block = {
11787
11862
  c: function create() {
@@ -11793,7 +11868,7 @@
11793
11868
  insert_dev(target, if_block_anchor, anchor);
11794
11869
  },
11795
11870
  p: function update(ctx, dirty) {
11796
- if (!/*mostPlayedScreen*/ ctx[21] && !/*numberOfFilters*/ ctx[30]) {
11871
+ if (!/*mostPlayedScreen*/ ctx[22] && !/*numberOfFilters*/ ctx[31]) {
11797
11872
  if (if_block) {
11798
11873
  if_block.p(ctx, dirty);
11799
11874
  } else {
@@ -11816,14 +11891,14 @@
11816
11891
  block,
11817
11892
  id: create_if_block_17.name,
11818
11893
  type: "if",
11819
- source: "(771:12) {#if !searched || !recentSearches}",
11894
+ source: "(772:12) {#if !searched || !recentSearches}",
11820
11895
  ctx
11821
11896
  });
11822
11897
 
11823
11898
  return block;
11824
11899
  }
11825
11900
 
11826
- // (772:14) {#if !mostPlayedScreen && !numberOfFilters}
11901
+ // (773:14) {#if !mostPlayedScreen && !numberOfFilters}
11827
11902
  function create_if_block_18(ctx) {
11828
11903
  let div3;
11829
11904
  let div0;
@@ -11856,28 +11931,28 @@
11856
11931
  t3 = space();
11857
11932
  div1 = element("div");
11858
11933
  span = element("span");
11859
- t4 = text(/*numberOfFilters*/ ctx[30]);
11934
+ t4 = text(/*numberOfFilters*/ ctx[31]);
11860
11935
  attr_dev(div0, "class", "FilterButton");
11861
- add_location(div0, file$5, 773, 18, 31289);
11862
- add_location(style, file$5, 775, 109, 31490);
11863
- add_location(defs, file$5, 775, 103, 31484);
11936
+ add_location(div0, file$5, 774, 18, 31366);
11937
+ add_location(style, file$5, 776, 109, 31567);
11938
+ add_location(defs, file$5, 776, 103, 31561);
11864
11939
  attr_dev(path, "class", "a");
11865
11940
  attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
11866
11941
  attr_dev(path, "transform", "translate(-5 -6.2)");
11867
- add_location(path, file$5, 775, 145, 31526);
11942
+ add_location(path, file$5, 776, 145, 31603);
11868
11943
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11869
11944
  attr_dev(svg, "width", "20");
11870
11945
  attr_dev(svg, "height", "20");
11871
11946
  attr_dev(svg, "viewBox", "0 0 26 26");
11872
- add_location(svg, file$5, 775, 20, 31401);
11947
+ add_location(svg, file$5, 776, 20, 31478);
11873
11948
  attr_dev(span, "class", "NumberOfFilters");
11874
- add_location(span, file$5, 777, 22, 32087);
11949
+ add_location(span, file$5, 778, 22, 32164);
11875
11950
  attr_dev(div1, "class", "NumberOfFiltersContainer");
11876
- add_location(div1, file$5, 776, 20, 32026);
11951
+ add_location(div1, file$5, 777, 20, 32103);
11877
11952
  attr_dev(div2, "class", "FilterIconContainer");
11878
- add_location(div2, file$5, 774, 18, 31347);
11953
+ add_location(div2, file$5, 775, 18, 31424);
11879
11954
  attr_dev(div3, "class", "FilterButtonWrapper");
11880
- add_location(div3, file$5, 772, 16, 31197);
11955
+ add_location(div3, file$5, 773, 16, 31274);
11881
11956
  },
11882
11957
  m: function mount(target, anchor) {
11883
11958
  insert_dev(target, div3, anchor);
@@ -11895,12 +11970,12 @@
11895
11970
  append_dev(span, t4);
11896
11971
 
11897
11972
  if (!mounted) {
11898
- dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[61], false, false, false);
11973
+ dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[62], false, false, false);
11899
11974
  mounted = true;
11900
11975
  }
11901
11976
  },
11902
11977
  p: function update(ctx, dirty) {
11903
- if (dirty[0] & /*numberOfFilters*/ 1073741824) set_data_dev(t4, /*numberOfFilters*/ ctx[30]);
11978
+ if (dirty[1] & /*numberOfFilters*/ 1) set_data_dev(t4, /*numberOfFilters*/ ctx[31]);
11904
11979
  },
11905
11980
  d: function destroy(detaching) {
11906
11981
  if (detaching) detach_dev(div3);
@@ -11913,14 +11988,14 @@
11913
11988
  block,
11914
11989
  id: create_if_block_18.name,
11915
11990
  type: "if",
11916
- source: "(772:14) {#if !mostPlayedScreen && !numberOfFilters}",
11991
+ source: "(773:14) {#if !mostPlayedScreen && !numberOfFilters}",
11917
11992
  ctx
11918
11993
  });
11919
11994
 
11920
11995
  return block;
11921
11996
  }
11922
11997
 
11923
- // (680:12) {#if !mobileSearchViewActive}
11998
+ // (681:12) {#if !mobileSearchViewActive}
11924
11999
  function create_if_block_15(ctx) {
11925
12000
  let div;
11926
12001
  let svg;
@@ -11934,14 +12009,14 @@
11934
12009
  attr_dev(path, "fill-rule", "evenodd");
11935
12010
  attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
11936
12011
  attr_dev(path, "clip-rule", "evenodd");
11937
- add_location(path, file$5, 682, 18, 24593);
12012
+ add_location(path, file$5, 683, 18, 24670);
11938
12013
  attr_dev(svg, "role", "presentation");
11939
12014
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11940
12015
  attr_dev(svg, "viewBox", "0 0 20 20");
11941
12016
  attr_dev(svg, "aria-hidden", "true");
11942
- add_location(svg, file$5, 681, 16, 24475);
12017
+ add_location(svg, file$5, 682, 16, 24552);
11943
12018
  attr_dev(div, "class", "SearchIcon");
11944
- add_location(div, file$5, 680, 14, 24434);
12019
+ add_location(div, file$5, 681, 14, 24511);
11945
12020
  },
11946
12021
  m: function mount(target, anchor) {
11947
12022
  insert_dev(target, div, anchor);
@@ -11957,14 +12032,14 @@
11957
12032
  block,
11958
12033
  id: create_if_block_15.name,
11959
12034
  type: "if",
11960
- source: "(680:12) {#if !mobileSearchViewActive}",
12035
+ source: "(681:12) {#if !mobileSearchViewActive}",
11961
12036
  ctx
11962
12037
  });
11963
12038
 
11964
12039
  return block;
11965
12040
  }
11966
12041
 
11967
- // (688:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
12042
+ // (689:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
11968
12043
  function create_if_block_14(ctx) {
11969
12044
  let span;
11970
12045
  let div2;
@@ -11980,17 +12055,17 @@
11980
12055
  div1 = element("div");
11981
12056
  div0 = element("div");
11982
12057
  attr_dev(div0, "class", "CloseIcon");
11983
- add_location(div0, file$5, 691, 20, 25493);
12058
+ add_location(div0, file$5, 692, 20, 25570);
11984
12059
  attr_dev(div1, "class", "CloseIconWrapper");
11985
- add_location(div1, file$5, 690, 18, 25442);
12060
+ add_location(div1, file$5, 691, 18, 25519);
11986
12061
  attr_dev(div2, "class", "CloseIconContainer");
11987
- add_location(div2, file$5, 689, 16, 25391);
12062
+ add_location(div2, file$5, 690, 16, 25468);
11988
12063
 
11989
- attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[34]) === "PC"
12064
+ attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[35]) === "PC"
11990
12065
  ? "ClearSearchButton"
11991
12066
  : "ClearSearchButtonMobile") + " "));
11992
12067
 
11993
- add_location(span, file$5, 688, 14, 25239);
12068
+ add_location(span, file$5, 689, 14, 25316);
11994
12069
  },
11995
12070
  m: function mount(target, anchor) {
11996
12071
  insert_dev(target, span, anchor);
@@ -11999,7 +12074,7 @@
11999
12074
  append_dev(div1, div0);
12000
12075
 
12001
12076
  if (!mounted) {
12002
- dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[53], false, false, false);
12077
+ dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[54], false, false, false);
12003
12078
  mounted = true;
12004
12079
  }
12005
12080
  },
@@ -12015,19 +12090,19 @@
12015
12090
  block,
12016
12091
  id: create_if_block_14.name,
12017
12092
  type: "if",
12018
- source: "(688:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
12093
+ source: "(689:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
12019
12094
  ctx
12020
12095
  });
12021
12096
 
12022
12097
  return block;
12023
12098
  }
12024
12099
 
12025
- // (699:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
12100
+ // (700:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
12026
12101
  function create_if_block_10$1(ctx) {
12027
12102
  let div;
12028
12103
  let t;
12029
- let if_block0 = /*numberOfFilters*/ ctx[30] && create_if_block_13(ctx);
12030
- let if_block1 = (!/*searched*/ ctx[18] || !/*recentSearches*/ ctx[17]) && create_if_block_11$1(ctx);
12104
+ let if_block0 = /*numberOfFilters*/ ctx[31] && create_if_block_13(ctx);
12105
+ let if_block1 = (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) && create_if_block_11$1(ctx);
12031
12106
 
12032
12107
  const block = {
12033
12108
  c: function create() {
@@ -12036,7 +12111,7 @@
12036
12111
  t = space();
12037
12112
  if (if_block1) if_block1.c();
12038
12113
  attr_dev(div, "class", "FiltersButtonsContainer");
12039
- add_location(div, file$5, 699, 10, 25797);
12114
+ add_location(div, file$5, 700, 10, 25874);
12040
12115
  },
12041
12116
  m: function mount(target, anchor) {
12042
12117
  insert_dev(target, div, anchor);
@@ -12045,7 +12120,7 @@
12045
12120
  if (if_block1) if_block1.m(div, null);
12046
12121
  },
12047
12122
  p: function update(ctx, dirty) {
12048
- if (/*numberOfFilters*/ ctx[30]) {
12123
+ if (/*numberOfFilters*/ ctx[31]) {
12049
12124
  if (if_block0) {
12050
12125
  if_block0.p(ctx, dirty);
12051
12126
  } else {
@@ -12058,7 +12133,7 @@
12058
12133
  if_block0 = null;
12059
12134
  }
12060
12135
 
12061
- if (!/*searched*/ ctx[18] || !/*recentSearches*/ ctx[17]) {
12136
+ if (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) {
12062
12137
  if (if_block1) {
12063
12138
  if_block1.p(ctx, dirty);
12064
12139
  } else {
@@ -12082,14 +12157,14 @@
12082
12157
  block,
12083
12158
  id: create_if_block_10$1.name,
12084
12159
  type: "if",
12085
- source: "(699:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
12160
+ source: "(700:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
12086
12161
  ctx
12087
12162
  });
12088
12163
 
12089
12164
  return block;
12090
12165
  }
12091
12166
 
12092
- // (701:12) {#if numberOfFilters}
12167
+ // (702:12) {#if numberOfFilters}
12093
12168
  function create_if_block_13(ctx) {
12094
12169
  let div1;
12095
12170
  let div0;
@@ -12110,7 +12185,7 @@
12110
12185
  polygon = svg_element("polygon");
12111
12186
  set_style(polygon, "fill", "#FD2839");
12112
12187
  attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
12113
- add_location(polygon, file$5, 706, 22, 26346);
12188
+ add_location(polygon, file$5, 707, 22, 26423);
12114
12189
  attr_dev(svg, "version", "1.1");
12115
12190
  attr_dev(svg, "id", "Layer_1");
12116
12191
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -12120,13 +12195,13 @@
12120
12195
  attr_dev(svg, "viewBox", "0 0 378.303 378.303");
12121
12196
  set_style(svg, "enable-background", "new 0 0 378.303 378.303");
12122
12197
  attr_dev(svg, "xml:space", "preserve");
12123
- add_location(svg, file$5, 704, 20, 26071);
12198
+ add_location(svg, file$5, 705, 20, 26148);
12124
12199
  attr_dev(span, "class", "ClearIcon");
12125
- add_location(span, file$5, 703, 18, 26026);
12200
+ add_location(span, file$5, 704, 18, 26103);
12126
12201
  attr_dev(div0, "class", "ClearButton");
12127
- add_location(div0, file$5, 702, 16, 25977);
12202
+ add_location(div0, file$5, 703, 16, 26054);
12128
12203
  attr_dev(div1, "class", "ClearFilterButtonWrapper");
12129
- add_location(div1, file$5, 701, 14, 25883);
12204
+ add_location(div1, file$5, 702, 14, 25960);
12130
12205
  },
12131
12206
  m: function mount(target, anchor) {
12132
12207
  insert_dev(target, div1, anchor);
@@ -12137,7 +12212,7 @@
12137
12212
  append_dev(svg, polygon);
12138
12213
 
12139
12214
  if (!mounted) {
12140
- dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[54], false, false, false);
12215
+ dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[55], false, false, false);
12141
12216
  mounted = true;
12142
12217
  }
12143
12218
  },
@@ -12153,17 +12228,17 @@
12153
12228
  block,
12154
12229
  id: create_if_block_13.name,
12155
12230
  type: "if",
12156
- source: "(701:12) {#if numberOfFilters}",
12231
+ source: "(702:12) {#if numberOfFilters}",
12157
12232
  ctx
12158
12233
  });
12159
12234
 
12160
12235
  return block;
12161
12236
  }
12162
12237
 
12163
- // (714:12) {#if !searched || !recentSearches}
12238
+ // (715:12) {#if !searched || !recentSearches}
12164
12239
  function create_if_block_11$1(ctx) {
12165
12240
  let if_block_anchor;
12166
- let if_block = !/*mostPlayedScreen*/ ctx[21] && create_if_block_12(ctx);
12241
+ let if_block = !/*mostPlayedScreen*/ ctx[22] && create_if_block_12(ctx);
12167
12242
 
12168
12243
  const block = {
12169
12244
  c: function create() {
@@ -12175,7 +12250,7 @@
12175
12250
  insert_dev(target, if_block_anchor, anchor);
12176
12251
  },
12177
12252
  p: function update(ctx, dirty) {
12178
- if (!/*mostPlayedScreen*/ ctx[21]) {
12253
+ if (!/*mostPlayedScreen*/ ctx[22]) {
12179
12254
  if (if_block) {
12180
12255
  if_block.p(ctx, dirty);
12181
12256
  } else {
@@ -12198,14 +12273,14 @@
12198
12273
  block,
12199
12274
  id: create_if_block_11$1.name,
12200
12275
  type: "if",
12201
- source: "(714:12) {#if !searched || !recentSearches}",
12276
+ source: "(715:12) {#if !searched || !recentSearches}",
12202
12277
  ctx
12203
12278
  });
12204
12279
 
12205
12280
  return block;
12206
12281
  }
12207
12282
 
12208
- // (715:14) {#if !mostPlayedScreen}
12283
+ // (716:14) {#if !mostPlayedScreen}
12209
12284
  function create_if_block_12(ctx) {
12210
12285
  let div3;
12211
12286
  let div0;
@@ -12238,28 +12313,28 @@
12238
12313
  t3 = space();
12239
12314
  div1 = element("div");
12240
12315
  span = element("span");
12241
- t4 = text(/*numberOfFilters*/ ctx[30]);
12316
+ t4 = text(/*numberOfFilters*/ ctx[31]);
12242
12317
  attr_dev(div0, "class", "FilterButton");
12243
- add_location(div0, file$5, 716, 18, 26885);
12244
- add_location(style, file$5, 718, 109, 27086);
12245
- add_location(defs, file$5, 718, 103, 27080);
12318
+ add_location(div0, file$5, 717, 18, 26962);
12319
+ add_location(style, file$5, 719, 109, 27163);
12320
+ add_location(defs, file$5, 719, 103, 27157);
12246
12321
  attr_dev(path, "class", "a");
12247
12322
  attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
12248
12323
  attr_dev(path, "transform", "translate(-5 -6.2)");
12249
- add_location(path, file$5, 718, 145, 27122);
12324
+ add_location(path, file$5, 719, 145, 27199);
12250
12325
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
12251
12326
  attr_dev(svg, "width", "20");
12252
12327
  attr_dev(svg, "height", "20");
12253
12328
  attr_dev(svg, "viewBox", "0 0 26 26");
12254
- add_location(svg, file$5, 718, 20, 26997);
12329
+ add_location(svg, file$5, 719, 20, 27074);
12255
12330
  attr_dev(span, "class", "NumberOfFilters");
12256
- add_location(span, file$5, 720, 22, 27683);
12331
+ add_location(span, file$5, 721, 22, 27760);
12257
12332
  attr_dev(div1, "class", "NumberOfFiltersContainer");
12258
- add_location(div1, file$5, 719, 20, 27622);
12333
+ add_location(div1, file$5, 720, 20, 27699);
12259
12334
  attr_dev(div2, "class", "FilterIconContainer");
12260
- add_location(div2, file$5, 717, 18, 26943);
12335
+ add_location(div2, file$5, 718, 18, 27020);
12261
12336
  attr_dev(div3, "class", "FilterButtonWrapper");
12262
- add_location(div3, file$5, 715, 16, 26793);
12337
+ add_location(div3, file$5, 716, 16, 26870);
12263
12338
  },
12264
12339
  m: function mount(target, anchor) {
12265
12340
  insert_dev(target, div3, anchor);
@@ -12277,12 +12352,12 @@
12277
12352
  append_dev(span, t4);
12278
12353
 
12279
12354
  if (!mounted) {
12280
- dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[55], false, false, false);
12355
+ dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[56], false, false, false);
12281
12356
  mounted = true;
12282
12357
  }
12283
12358
  },
12284
12359
  p: function update(ctx, dirty) {
12285
- if (dirty[0] & /*numberOfFilters*/ 1073741824) set_data_dev(t4, /*numberOfFilters*/ ctx[30]);
12360
+ if (dirty[1] & /*numberOfFilters*/ 1) set_data_dev(t4, /*numberOfFilters*/ ctx[31]);
12286
12361
  },
12287
12362
  d: function destroy(detaching) {
12288
12363
  if (detaching) detach_dev(div3);
@@ -12295,14 +12370,14 @@
12295
12370
  block,
12296
12371
  id: create_if_block_12.name,
12297
12372
  type: "if",
12298
- source: "(715:14) {#if !mostPlayedScreen}",
12373
+ source: "(716:14) {#if !mostPlayedScreen}",
12299
12374
  ctx
12300
12375
  });
12301
12376
 
12302
12377
  return block;
12303
12378
  }
12304
12379
 
12305
- // (861:10) {#if !recentSearches}
12380
+ // (862:10) {#if !recentSearches}
12306
12381
  function create_if_block_8$1(ctx) {
12307
12382
  let casino_games_category_section;
12308
12383
 
@@ -12315,12 +12390,12 @@
12315
12390
  set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
12316
12391
  set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
12317
12392
  set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
12318
- set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[26]);
12393
+ set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[27]);
12319
12394
  set_custom_element_data(casino_games_category_section, "categorygames", "9");
12320
12395
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
12321
12396
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12322
12397
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12323
- add_location(casino_games_category_section, file$5, 861, 12, 34734);
12398
+ add_location(casino_games_category_section, file$5, 862, 12, 34811);
12324
12399
  },
12325
12400
  m: function mount(target, anchor) {
12326
12401
  insert_dev(target, casino_games_category_section, anchor);
@@ -12350,8 +12425,8 @@
12350
12425
  set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
12351
12426
  }
12352
12427
 
12353
- if (dirty[0] & /*activeCategory*/ 67108864) {
12354
- set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[26]);
12428
+ if (dirty[0] & /*activeCategory*/ 134217728) {
12429
+ set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[27]);
12355
12430
  }
12356
12431
 
12357
12432
  if (dirty[0] & /*clientstyling*/ 32) {
@@ -12371,19 +12446,19 @@
12371
12446
  block,
12372
12447
  id: create_if_block_8$1.name,
12373
12448
  type: "if",
12374
- source: "(861:10) {#if !recentSearches}",
12449
+ source: "(862:10) {#if !recentSearches}",
12375
12450
  ctx
12376
12451
  });
12377
12452
 
12378
12453
  return block;
12379
12454
  }
12380
12455
 
12381
- // (841:35)
12456
+ // (842:35)
12382
12457
  function create_if_block_6$1(ctx) {
12383
12458
  let if_block_anchor;
12384
12459
 
12385
12460
  function select_block_type_3(ctx, dirty) {
12386
- if (/*mostPlayedEmpty*/ ctx[22]) return create_if_block_7$1;
12461
+ if (/*mostPlayedEmpty*/ ctx[23]) return create_if_block_7$1;
12387
12462
  return create_else_block_1$1;
12388
12463
  }
12389
12464
 
@@ -12422,14 +12497,14 @@
12422
12497
  block,
12423
12498
  id: create_if_block_6$1.name,
12424
12499
  type: "if",
12425
- source: "(841:35) ",
12500
+ source: "(842:35) ",
12426
12501
  ctx
12427
12502
  });
12428
12503
 
12429
12504
  return block;
12430
12505
  }
12431
12506
 
12432
- // (827:34)
12507
+ // (828:34)
12433
12508
  function create_if_block_5$1(ctx) {
12434
12509
  let casino_games_category_section;
12435
12510
  let showFavoriteGames_action;
@@ -12449,13 +12524,13 @@
12449
12524
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
12450
12525
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12451
12526
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12452
- add_location(casino_games_category_section, file$5, 827, 10, 33607);
12527
+ add_location(casino_games_category_section, file$5, 828, 10, 33684);
12453
12528
  },
12454
12529
  m: function mount(target, anchor) {
12455
12530
  insert_dev(target, casino_games_category_section, anchor);
12456
12531
 
12457
12532
  if (!mounted) {
12458
- dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[35].call(null, casino_games_category_section, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[14]}/favorites/`, /*sessionID*/ ctx[15], /*playerID*/ ctx[14])));
12533
+ dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[36].call(null, casino_games_category_section, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[15]}/favorites/`, /*sessionID*/ ctx[16], /*playerID*/ ctx[15])));
12459
12534
  mounted = true;
12460
12535
  }
12461
12536
  },
@@ -12492,7 +12567,7 @@
12492
12567
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12493
12568
  }
12494
12569
 
12495
- if (showFavoriteGames_action && is_function(showFavoriteGames_action.update) && dirty[0] & /*endpoint, playerID, sessionID*/ 49153) showFavoriteGames_action.update.call(null, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[14]}/favorites/`, /*sessionID*/ ctx[15], /*playerID*/ ctx[14]));
12570
+ if (showFavoriteGames_action && is_function(showFavoriteGames_action.update) && dirty[0] & /*endpoint, playerID, sessionID*/ 98305) showFavoriteGames_action.update.call(null, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[15]}/favorites/`, /*sessionID*/ ctx[16], /*playerID*/ ctx[15]));
12496
12571
  },
12497
12572
  d: function destroy(detaching) {
12498
12573
  if (detaching) detach_dev(casino_games_category_section);
@@ -12505,17 +12580,17 @@
12505
12580
  block,
12506
12581
  id: create_if_block_5$1.name,
12507
12582
  type: "if",
12508
- source: "(827:34) ",
12583
+ source: "(828:34) ",
12509
12584
  ctx
12510
12585
  });
12511
12586
 
12512
12587
  return block;
12513
12588
  }
12514
12589
 
12515
- // (808:8) {#if lobbyScreen}
12590
+ // (809:8) {#if lobbyScreen}
12516
12591
  function create_if_block_4$2(ctx) {
12517
12592
  let each_1_anchor;
12518
- let each_value = /*shownCategories*/ ctx[25];
12593
+ let each_value = /*shownCategories*/ ctx[26];
12519
12594
  validate_each_argument(each_value);
12520
12595
  let each_blocks = [];
12521
12596
 
@@ -12539,8 +12614,8 @@
12539
12614
  insert_dev(target, each_1_anchor, anchor);
12540
12615
  },
12541
12616
  p: function update(ctx, dirty) {
12542
- if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/ 33555199) {
12543
- each_value = /*shownCategories*/ ctx[25];
12617
+ if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/ 67109631) {
12618
+ each_value = /*shownCategories*/ ctx[26];
12544
12619
  validate_each_argument(each_value);
12545
12620
  let i;
12546
12621
 
@@ -12573,14 +12648,14 @@
12573
12648
  block,
12574
12649
  id: create_if_block_4$2.name,
12575
12650
  type: "if",
12576
- source: "(808:8) {#if lobbyScreen}",
12651
+ source: "(809:8) {#if lobbyScreen}",
12577
12652
  ctx
12578
12653
  });
12579
12654
 
12580
12655
  return block;
12581
12656
  }
12582
12657
 
12583
- // (793:6) {#if searched}
12658
+ // (794:6) {#if searched}
12584
12659
  function create_if_block_3$2(ctx) {
12585
12660
  let casino_games_category_section;
12586
12661
  let sendSearchData_action;
@@ -12600,13 +12675,13 @@
12600
12675
  set_custom_element_data(casino_games_category_section, "categoryindex", "0");
12601
12676
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12602
12677
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12603
- add_location(casino_games_category_section, file$5, 793, 8, 32477);
12678
+ add_location(casino_games_category_section, file$5, 794, 8, 32554);
12604
12679
  },
12605
12680
  m: function mount(target, anchor) {
12606
12681
  insert_dev(target, casino_games_category_section, anchor);
12607
12682
 
12608
12683
  if (!mounted) {
12609
- dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[43].call(null, casino_games_category_section, /*searchArray*/ ctx[24]));
12684
+ dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[44].call(null, casino_games_category_section, /*searchArray*/ ctx[25]));
12610
12685
  mounted = true;
12611
12686
  }
12612
12687
  },
@@ -12643,7 +12718,7 @@
12643
12718
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12644
12719
  }
12645
12720
 
12646
- if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/ 16777216) sendSearchData_action.update.call(null, /*searchArray*/ ctx[24]);
12721
+ if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/ 33554432) sendSearchData_action.update.call(null, /*searchArray*/ ctx[25]);
12647
12722
  },
12648
12723
  d: function destroy(detaching) {
12649
12724
  if (detaching) detach_dev(casino_games_category_section);
@@ -12656,17 +12731,17 @@
12656
12731
  block,
12657
12732
  id: create_if_block_3$2.name,
12658
12733
  type: "if",
12659
- source: "(793:6) {#if searched}",
12734
+ source: "(794:6) {#if searched}",
12660
12735
  ctx
12661
12736
  });
12662
12737
 
12663
12738
  return block;
12664
12739
  }
12665
12740
 
12666
- // (790:4) {#if isLoading}
12741
+ // (791:4) {#if isLoading}
12667
12742
  function create_if_block_2$2(ctx) {
12668
12743
  let p;
12669
- let t_value = /*$_*/ ctx[32]("casinoPage.loading") + "";
12744
+ let t_value = /*$_*/ ctx[33]("casinoPage.loading") + "";
12670
12745
  let t;
12671
12746
 
12672
12747
  const block = {
@@ -12674,14 +12749,14 @@
12674
12749
  p = element("p");
12675
12750
  t = text(t_value);
12676
12751
  attr_dev(p, "class", "SearchLoading");
12677
- add_location(p, file$5, 790, 6, 32380);
12752
+ add_location(p, file$5, 791, 6, 32457);
12678
12753
  },
12679
12754
  m: function mount(target, anchor) {
12680
12755
  insert_dev(target, p, anchor);
12681
12756
  append_dev(p, t);
12682
12757
  },
12683
12758
  p: function update(ctx, dirty) {
12684
- if (dirty[1] & /*$_*/ 2 && t_value !== (t_value = /*$_*/ ctx[32]("casinoPage.loading") + "")) set_data_dev(t, t_value);
12759
+ if (dirty[1] & /*$_*/ 4 && t_value !== (t_value = /*$_*/ ctx[33]("casinoPage.loading") + "")) set_data_dev(t, t_value);
12685
12760
  },
12686
12761
  d: function destroy(detaching) {
12687
12762
  if (detaching) detach_dev(p);
@@ -12692,14 +12767,14 @@
12692
12767
  block,
12693
12768
  id: create_if_block_2$2.name,
12694
12769
  type: "if",
12695
- source: "(790:4) {#if isLoading}",
12770
+ source: "(791:4) {#if isLoading}",
12696
12771
  ctx
12697
12772
  });
12698
12773
 
12699
12774
  return block;
12700
12775
  }
12701
12776
 
12702
- // (844:10) {:else}
12777
+ // (845:10) {:else}
12703
12778
  function create_else_block_1$1(ctx) {
12704
12779
  let casino_games_category_section;
12705
12780
 
@@ -12718,7 +12793,7 @@
12718
12793
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
12719
12794
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12720
12795
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12721
- add_location(casino_games_category_section, file$5, 844, 12, 34211);
12796
+ add_location(casino_games_category_section, file$5, 845, 12, 34288);
12722
12797
  },
12723
12798
  m: function mount(target, anchor) {
12724
12799
  insert_dev(target, casino_games_category_section, anchor);
@@ -12765,14 +12840,14 @@
12765
12840
  block,
12766
12841
  id: create_else_block_1$1.name,
12767
12842
  type: "else",
12768
- source: "(844:10) {:else}",
12843
+ source: "(845:10) {:else}",
12769
12844
  ctx
12770
12845
  });
12771
12846
 
12772
12847
  return block;
12773
12848
  }
12774
12849
 
12775
- // (842:10) {#if mostPlayedEmpty}
12850
+ // (843:10) {#if mostPlayedEmpty}
12776
12851
  function create_if_block_7$1(ctx) {
12777
12852
  let p;
12778
12853
 
@@ -12781,7 +12856,7 @@
12781
12856
  p = element("p");
12782
12857
  p.textContent = "You have no games played!";
12783
12858
  attr_dev(p, "class", "SearchLoading");
12784
- add_location(p, file$5, 842, 12, 34126);
12859
+ add_location(p, file$5, 843, 12, 34203);
12785
12860
  },
12786
12861
  m: function mount(target, anchor) {
12787
12862
  insert_dev(target, p, anchor);
@@ -12796,14 +12871,14 @@
12796
12871
  block,
12797
12872
  id: create_if_block_7$1.name,
12798
12873
  type: "if",
12799
- source: "(842:10) {#if mostPlayedEmpty}",
12874
+ source: "(843:10) {#if mostPlayedEmpty}",
12800
12875
  ctx
12801
12876
  });
12802
12877
 
12803
12878
  return block;
12804
12879
  }
12805
12880
 
12806
- // (809:10) {#each shownCategories as category, index}
12881
+ // (810:10) {#each shownCategories as category, index}
12807
12882
  function create_each_block$1(ctx) {
12808
12883
  let casino_games_category_section;
12809
12884
  let casino_games_category_section_categoryid_value;
@@ -12819,25 +12894,25 @@
12819
12894
  set_custom_element_data(casino_games_category_section, "endpoint", /*endpoint*/ ctx[0]);
12820
12895
  set_custom_element_data(casino_games_category_section, "datasource", /*datasource*/ ctx[1]);
12821
12896
  set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
12822
- set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[109]);
12823
- set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[111]);
12897
+ set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[110]);
12898
+ set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[112]);
12824
12899
  set_custom_element_data(casino_games_category_section, "categorygames", "9");
12825
12900
  set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
12826
12901
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
12827
12902
 
12828
- set_style(casino_games_category_section, "background-color", /*index*/ ctx[111] % 2 !== 0
12903
+ set_style(casino_games_category_section, "background-color", /*index*/ ctx[112] % 2 !== 0
12829
12904
  ? /*categorybackground*/ ctx[7]
12830
12905
  : "transparent");
12831
12906
 
12832
12907
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
12833
12908
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12834
- add_location(casino_games_category_section, file$5, 809, 12, 32952);
12909
+ add_location(casino_games_category_section, file$5, 810, 12, 33029);
12835
12910
  },
12836
12911
  m: function mount(target, anchor) {
12837
12912
  insert_dev(target, casino_games_category_section, anchor);
12838
12913
 
12839
12914
  if (!mounted) {
12840
- dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[42].call(null, casino_games_category_section, /*category*/ ctx[109]));
12915
+ dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[43].call(null, casino_games_category_section, /*category*/ ctx[110]));
12841
12916
  mounted = true;
12842
12917
  }
12843
12918
  },
@@ -12864,7 +12939,7 @@
12864
12939
  set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
12865
12940
  }
12866
12941
 
12867
- if (dirty[0] & /*shownCategories*/ 33554432 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[109])) {
12942
+ if (dirty[0] & /*shownCategories*/ 67108864 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[110])) {
12868
12943
  set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value);
12869
12944
  }
12870
12945
 
@@ -12873,7 +12948,7 @@
12873
12948
  }
12874
12949
 
12875
12950
  if (dirty[0] & /*categorybackground*/ 128) {
12876
- set_style(casino_games_category_section, "background-color", /*index*/ ctx[111] % 2 !== 0
12951
+ set_style(casino_games_category_section, "background-color", /*index*/ ctx[112] % 2 !== 0
12877
12952
  ? /*categorybackground*/ ctx[7]
12878
12953
  : "transparent");
12879
12954
  }
@@ -12886,7 +12961,7 @@
12886
12961
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
12887
12962
  }
12888
12963
 
12889
- if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 33554432) sendCategoryData_action.update.call(null, /*category*/ ctx[109]);
12964
+ if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 67108864) sendCategoryData_action.update.call(null, /*category*/ ctx[110]);
12890
12965
  },
12891
12966
  d: function destroy(detaching) {
12892
12967
  if (detaching) detach_dev(casino_games_category_section);
@@ -12899,14 +12974,14 @@
12899
12974
  block,
12900
12975
  id: create_each_block$1.name,
12901
12976
  type: "each",
12902
- source: "(809:10) {#each shownCategories as category, index}",
12977
+ source: "(810:10) {#each shownCategories as category, index}",
12903
12978
  ctx
12904
12979
  });
12905
12980
 
12906
12981
  return block;
12907
12982
  }
12908
12983
 
12909
- // (879:4) {#if isLoggedIn}
12984
+ // (880:4) {#if isLoggedIn}
12910
12985
  function create_if_block_1$2(ctx) {
12911
12986
  let div1;
12912
12987
  let div0;
@@ -12914,11 +12989,11 @@
12914
12989
  let path;
12915
12990
  let t0;
12916
12991
  let p;
12917
- let t1_value = /*$_*/ ctx[32]("casinoPage.break") + "";
12992
+ let t1_value = /*$_*/ ctx[33]("casinoPage.break") + "";
12918
12993
  let t1;
12919
12994
  let t2;
12920
12995
  let button;
12921
- let t3_value = /*$_*/ ctx[32]("casinoPage.breakButton") + "";
12996
+ let t3_value = /*$_*/ ctx[33]("casinoPage.breakButton") + "";
12922
12997
  let t3;
12923
12998
  let mounted;
12924
12999
  let dispose;
@@ -12939,7 +13014,7 @@
12939
13014
  attr_dev(path, "stroke-linejoin", "round");
12940
13015
  attr_dev(path, "stroke-width", "2");
12941
13016
  attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
12942
- add_location(path, file$5, 881, 140, 35493);
13017
+ add_location(path, file$5, 882, 140, 35570);
12943
13018
  attr_dev(svg, "class", "w-1 h-1");
12944
13019
  attr_dev(svg, "fill", "none");
12945
13020
  attr_dev(svg, "stroke", "white");
@@ -12947,18 +13022,18 @@
12947
13022
  attr_dev(svg, "height", "34px");
12948
13023
  attr_dev(svg, "viewBox", "0 0 24 24");
12949
13024
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
12950
- add_location(svg, file$5, 881, 10, 35363);
12951
- add_location(p, file$5, 882, 10, 35635);
13025
+ add_location(svg, file$5, 882, 10, 35440);
13026
+ add_location(p, file$5, 883, 10, 35712);
12952
13027
  attr_dev(div0, "class", "PanicText");
12953
- add_location(div0, file$5, 880, 8, 35329);
13028
+ add_location(div0, file$5, 881, 8, 35406);
12954
13029
  attr_dev(button, "class", "PanicButton");
12955
- add_location(button, file$5, 884, 8, 35690);
13030
+ add_location(button, file$5, 885, 8, 35767);
12956
13031
 
12957
- attr_dev(div1, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[34]) !== "PC"
13032
+ attr_dev(div1, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
12958
13033
  ? "PanicSectionMobile"
12959
13034
  : ""));
12960
13035
 
12961
- add_location(div1, file$5, 879, 6, 35232);
13036
+ add_location(div1, file$5, 880, 6, 35309);
12962
13037
  },
12963
13038
  m: function mount(target, anchor) {
12964
13039
  insert_dev(target, div1, anchor);
@@ -12973,13 +13048,13 @@
12973
13048
  append_dev(button, t3);
12974
13049
 
12975
13050
  if (!mounted) {
12976
- dispose = listen_dev(button, "click", /*click_handler_7*/ ctx[63], false, false, false);
13051
+ dispose = listen_dev(button, "click", /*click_handler_7*/ ctx[64], false, false, false);
12977
13052
  mounted = true;
12978
13053
  }
12979
13054
  },
12980
13055
  p: function update(ctx, dirty) {
12981
- if (dirty[1] & /*$_*/ 2 && t1_value !== (t1_value = /*$_*/ ctx[32]("casinoPage.break") + "")) set_data_dev(t1, t1_value);
12982
- if (dirty[1] & /*$_*/ 2 && t3_value !== (t3_value = /*$_*/ ctx[32]("casinoPage.breakButton") + "")) set_data_dev(t3, t3_value);
13056
+ if (dirty[1] & /*$_*/ 4 && t1_value !== (t1_value = /*$_*/ ctx[33]("casinoPage.break") + "")) set_data_dev(t1, t1_value);
13057
+ if (dirty[1] & /*$_*/ 4 && t3_value !== (t3_value = /*$_*/ ctx[33]("casinoPage.breakButton") + "")) set_data_dev(t3, t3_value);
12983
13058
  },
12984
13059
  d: function destroy(detaching) {
12985
13060
  if (detaching) detach_dev(div1);
@@ -12992,7 +13067,7 @@
12992
13067
  block,
12993
13068
  id: create_if_block_1$2.name,
12994
13069
  type: "if",
12995
- source: "(879:4) {#if isLoggedIn}",
13070
+ source: "(880:4) {#if isLoggedIn}",
12996
13071
  ctx
12997
13072
  });
12998
13073
 
@@ -13003,7 +13078,7 @@
13003
13078
  let if_block_anchor;
13004
13079
 
13005
13080
  function select_block_type(ctx, dirty) {
13006
- if (/*hasErrors*/ ctx[12]) return create_if_block$5;
13081
+ if (/*hasErrors*/ ctx[13]) return create_if_block$5;
13007
13082
  return create_else_block$3;
13008
13083
  }
13009
13084
 
@@ -13060,7 +13135,7 @@
13060
13135
  function instance$5($$self, $$props, $$invalidate) {
13061
13136
  let $_;
13062
13137
  validate_store(X, "_");
13063
- component_subscribe($$self, X, $$value => $$invalidate(32, $_ = $$value));
13138
+ component_subscribe($$self, X, $$value => $$invalidate(33, $_ = $$value));
13064
13139
  let { $$slots: slots = {}, $$scope } = $$props;
13065
13140
  validate_slots("undefined", slots, []);
13066
13141
 
@@ -13077,6 +13152,7 @@
13077
13152
  let { favorites = "" } = $$props;
13078
13153
  let { mostplayed = "" } = $$props;
13079
13154
  let { lobbyid = "casinodefault" } = $$props; // identifier for recent searched
13155
+ let { containermaxwidth = "" } = $$props;
13080
13156
 
13081
13157
  // CasinoPage loading state
13082
13158
  let isLoading = false;
@@ -13137,33 +13213,33 @@
13137
13213
  });
13138
13214
 
13139
13215
  const CategoryChangeHandler = categoryEvent => {
13140
- $$invalidate(18, searched = false);
13141
- $$invalidate(10, searchValue = "");
13216
+ $$invalidate(19, searched = false);
13217
+ $$invalidate(11, searchValue = "");
13142
13218
 
13143
13219
  switch (categoryEvent.data.itemId) {
13144
13220
  case "LOBBY":
13145
- $$invalidate(20, lobbyScreen = true);
13146
- $$invalidate(16, favoritesScreen = false);
13147
- $$invalidate(26, activeCategory = "");
13148
- $$invalidate(21, mostPlayedScreen = false);
13221
+ $$invalidate(21, lobbyScreen = true);
13222
+ $$invalidate(17, favoritesScreen = false);
13223
+ $$invalidate(27, activeCategory = "");
13224
+ $$invalidate(22, mostPlayedScreen = false);
13149
13225
  scrollTop = true;
13150
13226
  break;
13151
13227
  case "FAVORITES":
13152
- $$invalidate(20, lobbyScreen = false);
13153
- $$invalidate(16, favoritesScreen = true);
13154
- $$invalidate(21, mostPlayedScreen = false);
13155
- $$invalidate(26, activeCategory = "");
13228
+ $$invalidate(21, lobbyScreen = false);
13229
+ $$invalidate(17, favoritesScreen = true);
13230
+ $$invalidate(22, mostPlayedScreen = false);
13231
+ $$invalidate(27, activeCategory = "");
13156
13232
  break;
13157
13233
  case "MOSTPLAYED":
13158
13234
  if (mostplayed == "true") {
13159
- $$invalidate(11, isLoading = true);
13235
+ $$invalidate(12, isLoading = true);
13160
13236
 
13161
13237
  getMostPlayedGames({
13162
13238
  limit: 100,
13163
13239
  device: getDevice(userAgent),
13164
13240
  rounds: 10
13165
13241
  }).then(res => {
13166
- $$invalidate(11, isLoading = false);
13242
+ $$invalidate(12, isLoading = false);
13167
13243
 
13168
13244
  if (res.count > 0) {
13169
13245
  let promises = [];
@@ -13179,20 +13255,20 @@
13179
13255
  window.postMessage({ type: "MostPlayedData", mostPlayedGames }, window.location.href);
13180
13256
  });
13181
13257
  } else {
13182
- $$invalidate(22, mostPlayedEmpty = true);
13258
+ $$invalidate(23, mostPlayedEmpty = true);
13183
13259
  }
13184
13260
  });
13185
13261
 
13186
- $$invalidate(26, activeCategory = "");
13187
- $$invalidate(20, lobbyScreen = false);
13188
- $$invalidate(21, mostPlayedScreen = true);
13262
+ $$invalidate(27, activeCategory = "");
13263
+ $$invalidate(21, lobbyScreen = false);
13264
+ $$invalidate(22, mostPlayedScreen = true);
13189
13265
  }
13190
13266
  break;
13191
13267
  default:
13192
- $$invalidate(20, lobbyScreen = false);
13193
- $$invalidate(16, favoritesScreen = false);
13194
- $$invalidate(21, mostPlayedScreen = false);
13195
- $$invalidate(26, activeCategory = categoryEvent.data.itemId);
13268
+ $$invalidate(21, lobbyScreen = false);
13269
+ $$invalidate(17, favoritesScreen = false);
13270
+ $$invalidate(22, mostPlayedScreen = false);
13271
+ $$invalidate(27, activeCategory = categoryEvent.data.itemId);
13196
13272
  setTimeout(() => {
13197
13273
  window.postMessage(
13198
13274
  {
@@ -13214,8 +13290,8 @@
13214
13290
  CategoryChangeHandler(e);
13215
13291
  break;
13216
13292
  case "UserSessionID":
13217
- $$invalidate(15, sessionID = e.data.session);
13218
- $$invalidate(14, playerID = e.data.userID);
13293
+ $$invalidate(16, sessionID = e.data.session);
13294
+ $$invalidate(15, playerID = e.data.userID);
13219
13295
  if (playerID && playerID.length && sessionID && sessionID.length > 0) {
13220
13296
  getFavoredGames(endpoint, sessionID, playerID);
13221
13297
  }
@@ -13461,14 +13537,14 @@
13461
13537
  //
13462
13538
  const getCategories = url => {
13463
13539
  return new Promise((resolve, reject) => {
13464
- $$invalidate(11, isLoading = true);
13540
+ $$invalidate(12, isLoading = true);
13465
13541
 
13466
13542
  fetch(url).then(res => res.json()).then(data => {
13467
- $$invalidate(11, isLoading = false);
13543
+ $$invalidate(12, isLoading = false);
13468
13544
  resolve(data);
13469
13545
  }).catch(err => {
13470
- $$invalidate(12, hasErrors = true);
13471
- $$invalidate(11, isLoading = false);
13546
+ $$invalidate(13, hasErrors = true);
13547
+ $$invalidate(12, isLoading = false);
13472
13548
  console.error(err);
13473
13549
  reject(err);
13474
13550
  });
@@ -13477,14 +13553,14 @@
13477
13553
 
13478
13554
  const getGames = url => {
13479
13555
  return new Promise((resolve, reject) => {
13480
- $$invalidate(11, isLoading = true);
13556
+ $$invalidate(12, isLoading = true);
13481
13557
 
13482
13558
  fetch(url).then(res => res.json()).then(categoryData => {
13483
- $$invalidate(11, isLoading = false);
13559
+ $$invalidate(12, isLoading = false);
13484
13560
  resolve(categoryData);
13485
13561
  }).catch(err => {
13486
- $$invalidate(12, hasErrors = true);
13487
- $$invalidate(11, isLoading = false);
13562
+ $$invalidate(13, hasErrors = true);
13563
+ $$invalidate(12, isLoading = false);
13488
13564
  console.error(err);
13489
13565
  reject(err);
13490
13566
  });
@@ -13493,14 +13569,14 @@
13493
13569
 
13494
13570
  const getGame = url => {
13495
13571
  return new Promise((resolve, reject) => {
13496
- $$invalidate(11, isLoading = true);
13572
+ $$invalidate(12, isLoading = true);
13497
13573
 
13498
13574
  fetch(url).then(res => res.json()).then(categoryData => {
13499
- $$invalidate(11, isLoading = false);
13575
+ $$invalidate(12, isLoading = false);
13500
13576
  resolve(categoryData[0]);
13501
13577
  }).catch(err => {
13502
- $$invalidate(12, hasErrors = true);
13503
- $$invalidate(11, isLoading = false);
13578
+ $$invalidate(13, hasErrors = true);
13579
+ $$invalidate(12, isLoading = false);
13504
13580
  console.error(err);
13505
13581
  reject(err);
13506
13582
  });
@@ -13528,8 +13604,8 @@
13528
13604
  }
13529
13605
 
13530
13606
  if (lobbyScreen == true && !initialLoaded) {
13531
- $$invalidate(19, lobbyViewAux = lobbyScreen);
13532
- $$invalidate(20, lobbyScreen = false);
13607
+ $$invalidate(20, lobbyViewAux = lobbyScreen);
13608
+ $$invalidate(21, lobbyScreen = false);
13533
13609
  }
13534
13610
 
13535
13611
  let promises = [];
@@ -13546,7 +13622,7 @@
13546
13622
  }
13547
13623
 
13548
13624
  Promise.all(promises).then(res => {
13549
- $$invalidate(24, searchArray = res);
13625
+ $$invalidate(25, searchArray = res);
13550
13626
  sendRecentSearchData({}, searchArray);
13551
13627
  });
13552
13628
  } else {
@@ -13560,11 +13636,11 @@
13560
13636
  searchFocus = false;
13561
13637
 
13562
13638
  if (searchValue.length < 2 && !gameFocus) {
13563
- $$invalidate(18, searched = false);
13564
- $$invalidate(24, searchArray = []);
13565
- $$invalidate(17, recentSearches = false);
13566
- $$invalidate(20, lobbyScreen = lobbyViewAux);
13567
- $$invalidate(19, lobbyViewAux = false);
13639
+ $$invalidate(19, searched = false);
13640
+ $$invalidate(25, searchArray = []);
13641
+ $$invalidate(18, recentSearches = false);
13642
+ $$invalidate(21, lobbyScreen = lobbyViewAux);
13643
+ $$invalidate(20, lobbyViewAux = false);
13568
13644
 
13569
13645
  if (lobbyScreen === false) {
13570
13646
  window.postMessage(
@@ -13600,9 +13676,9 @@
13600
13676
  // @TODO let's do some small changes around here in order to have this search functionality pretty written, 'cuz right now is kinda shitty
13601
13677
  const searchValueChanged = () => {
13602
13678
  if (searchValue.length >= 2) {
13603
- $$invalidate(49, searchBarCleared = true);
13679
+ $$invalidate(50, searchBarCleared = true);
13604
13680
  } else {
13605
- $$invalidate(49, searchBarCleared = false);
13681
+ $$invalidate(50, searchBarCleared = false);
13606
13682
  }
13607
13683
  };
13608
13684
 
@@ -13612,9 +13688,9 @@
13612
13688
  if (vendors) {
13613
13689
  if (currentCategoryId) {
13614
13690
  if (vendors[currentCategoryId]) {
13615
- $$invalidate(30, numberOfFilters = vendors[currentCategoryId].length);
13691
+ $$invalidate(31, numberOfFilters = vendors[currentCategoryId].length);
13616
13692
  } else {
13617
- $$invalidate(30, numberOfFilters = 0);
13693
+ $$invalidate(31, numberOfFilters = 0);
13618
13694
  }
13619
13695
  }
13620
13696
  }
@@ -13625,10 +13701,10 @@
13625
13701
  };
13626
13702
 
13627
13703
  const clearSearchbar = () => {
13628
- $$invalidate(49, searchBarCleared = true);
13629
- $$invalidate(10, searchValue = "");
13630
- $$invalidate(24, searchArray = []);
13631
- $$invalidate(17, recentSearches = false);
13704
+ $$invalidate(50, searchBarCleared = true);
13705
+ $$invalidate(11, searchValue = "");
13706
+ $$invalidate(25, searchArray = []);
13707
+ $$invalidate(18, recentSearches = false);
13632
13708
  onBlur();
13633
13709
  };
13634
13710
 
@@ -13706,31 +13782,31 @@
13706
13782
  }
13707
13783
 
13708
13784
  if (document.documentElement.scrollTop > searchPositionTop || searchPositionTop > 130) {
13709
- $$invalidate(23, adjustingScroll = true);
13785
+ $$invalidate(24, adjustingScroll = true);
13710
13786
  } else {
13711
- $$invalidate(23, adjustingScroll = false);
13787
+ $$invalidate(24, adjustingScroll = false);
13712
13788
  }
13713
13789
  };
13714
13790
 
13715
13791
  const checkAttrs = () => {
13716
13792
  if (!endpoint) {
13717
13793
  error = "Endpoint is missing! Please provide a valid endpointURL.";
13718
- $$invalidate(12, hasErrors = true);
13719
- $$invalidate(11, isLoading = false);
13794
+ $$invalidate(13, hasErrors = true);
13795
+ $$invalidate(12, isLoading = false);
13720
13796
  console.error(error);
13721
13797
  }
13722
13798
 
13723
13799
  if (!datasource) {
13724
13800
  error = "Datasource is missing! Please provide a valid datasource.";
13725
- $$invalidate(12, hasErrors = true);
13726
- $$invalidate(11, isLoading = false);
13801
+ $$invalidate(13, hasErrors = true);
13802
+ $$invalidate(12, isLoading = false);
13727
13803
  console.error(error);
13728
13804
  }
13729
13805
 
13730
13806
  if (!lang || lang.length != 2) {
13731
13807
  error = "Language is missing! Please provide a valid language (alpha2code)";
13732
- $$invalidate(12, hasErrors = true);
13733
- $$invalidate(11, isLoading = false);
13808
+ $$invalidate(13, hasErrors = true);
13809
+ $$invalidate(12, isLoading = false);
13734
13810
  console.error(error);
13735
13811
  }
13736
13812
 
@@ -13739,7 +13815,7 @@
13739
13815
 
13740
13816
  const initialSetup = () => {
13741
13817
  if (!checkAttrs()) {
13742
- $$invalidate(11, isLoading = true);
13818
+ $$invalidate(12, isLoading = true);
13743
13819
 
13744
13820
  if (favorites == "true") {
13745
13821
  getFavoredGames(endpoint, sessionID, playerID);
@@ -13755,21 +13831,21 @@
13755
13831
  return item.games.total > 0;
13756
13832
  });
13757
13833
 
13758
- $$invalidate(25, shownCategories = categories = categoriesData.map(item => {
13834
+ $$invalidate(26, shownCategories = categories = categoriesData.map(item => {
13759
13835
  return item.id;
13760
13836
  }));
13761
13837
 
13762
- $$invalidate(11, isLoading = false);
13838
+ $$invalidate(12, isLoading = false);
13763
13839
  }
13764
13840
  });
13765
13841
 
13766
13842
  if (getDevice(userAgent) !== "PC") {
13767
13843
  searchElement.addEventListener("focusin", event => {
13768
- $$invalidate(29, mobileSearchViewActive = true);
13844
+ $$invalidate(30, mobileSearchViewActive = true);
13769
13845
  });
13770
13846
 
13771
13847
  searchElement.addEventListener("focusout", event => {
13772
- $$invalidate(29, mobileSearchViewActive = false);
13848
+ $$invalidate(30, mobileSearchViewActive = false);
13773
13849
  });
13774
13850
  }
13775
13851
 
@@ -13783,9 +13859,9 @@
13783
13859
  };
13784
13860
 
13785
13861
  const setSession = () => {
13786
- $$invalidate(13, isLoggedIn = true);
13787
- $$invalidate(15, sessionID = session);
13788
- $$invalidate(14, playerID = userid);
13862
+ $$invalidate(14, isLoggedIn = true);
13863
+ $$invalidate(16, sessionID = session);
13864
+ $$invalidate(15, playerID = userid);
13789
13865
  };
13790
13866
 
13791
13867
  const setClientStyling = () => {
@@ -13834,7 +13910,8 @@
13834
13910
  "alternativesearch",
13835
13911
  "favorites",
13836
13912
  "mostplayed",
13837
- "lobbyid"
13913
+ "lobbyid",
13914
+ "containermaxwidth"
13838
13915
  ];
13839
13916
 
13840
13917
  Object_1$2.keys($$props).forEach(key => {
@@ -13846,13 +13923,13 @@
13846
13923
  function input_binding($$value) {
13847
13924
  binding_callbacks[$$value ? "unshift" : "push"](() => {
13848
13925
  searchElement = $$value;
13849
- $$invalidate(28, searchElement);
13926
+ $$invalidate(29, searchElement);
13850
13927
  });
13851
13928
  }
13852
13929
 
13853
13930
  function input_input_handler() {
13854
13931
  searchValue = this.value;
13855
- $$invalidate(10, searchValue);
13932
+ $$invalidate(11, searchValue);
13856
13933
  }
13857
13934
 
13858
13935
  const click_handler_1 = () => clearSearchbar();
@@ -13865,20 +13942,20 @@
13865
13942
  function div2_binding($$value) {
13866
13943
  binding_callbacks[$$value ? "unshift" : "push"](() => {
13867
13944
  searchWrapper = $$value;
13868
- $$invalidate(27, searchWrapper);
13945
+ $$invalidate(28, searchWrapper);
13869
13946
  });
13870
13947
  }
13871
13948
 
13872
13949
  function input_binding_1($$value) {
13873
13950
  binding_callbacks[$$value ? "unshift" : "push"](() => {
13874
13951
  searchElement = $$value;
13875
- $$invalidate(28, searchElement);
13952
+ $$invalidate(29, searchElement);
13876
13953
  });
13877
13954
  }
13878
13955
 
13879
13956
  function input_input_handler_1() {
13880
13957
  searchValue = this.value;
13881
- $$invalidate(10, searchValue);
13958
+ $$invalidate(11, searchValue);
13882
13959
  }
13883
13960
 
13884
13961
  const click_handler_4 = () => clearSearchbar();
@@ -13891,7 +13968,7 @@
13891
13968
  function div2_binding_1($$value) {
13892
13969
  binding_callbacks[$$value ? "unshift" : "push"](() => {
13893
13970
  searchWrapper = $$value;
13894
- $$invalidate(27, searchWrapper);
13971
+ $$invalidate(28, searchWrapper);
13895
13972
  });
13896
13973
  }
13897
13974
 
@@ -13900,7 +13977,7 @@
13900
13977
  function section_binding($$value) {
13901
13978
  binding_callbacks[$$value ? "unshift" : "push"](() => {
13902
13979
  customStylingContainer = $$value;
13903
- $$invalidate(31, customStylingContainer);
13980
+ $$invalidate(32, customStylingContainer);
13904
13981
  });
13905
13982
  }
13906
13983
 
@@ -13913,11 +13990,12 @@
13913
13990
  if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
13914
13991
  if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
13915
13992
  if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
13916
- if ("visiblegames" in $$props) $$invalidate(45, visiblegames = $$props.visiblegames);
13993
+ if ("visiblegames" in $$props) $$invalidate(46, visiblegames = $$props.visiblegames);
13917
13994
  if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
13918
13995
  if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
13919
- if ("mostplayed" in $$props) $$invalidate(46, mostplayed = $$props.mostplayed);
13920
- if ("lobbyid" in $$props) $$invalidate(47, lobbyid = $$props.lobbyid);
13996
+ if ("mostplayed" in $$props) $$invalidate(47, mostplayed = $$props.mostplayed);
13997
+ if ("lobbyid" in $$props) $$invalidate(48, lobbyid = $$props.lobbyid);
13998
+ if ("containermaxwidth" in $$props) $$invalidate(10, containermaxwidth = $$props.containermaxwidth);
13921
13999
  };
13922
14000
 
13923
14001
  $$self.$capture_state = () => ({
@@ -13939,6 +14017,7 @@
13939
14017
  favorites,
13940
14018
  mostplayed,
13941
14019
  lobbyid,
14020
+ containermaxwidth,
13942
14021
  isLoading,
13943
14022
  hasErrors,
13944
14023
  isLoggedIn,
@@ -14032,56 +14111,57 @@
14032
14111
  if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
14033
14112
  if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
14034
14113
  if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
14035
- if ("visiblegames" in $$props) $$invalidate(45, visiblegames = $$props.visiblegames);
14114
+ if ("visiblegames" in $$props) $$invalidate(46, visiblegames = $$props.visiblegames);
14036
14115
  if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
14037
14116
  if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
14038
- if ("mostplayed" in $$props) $$invalidate(46, mostplayed = $$props.mostplayed);
14039
- if ("lobbyid" in $$props) $$invalidate(47, lobbyid = $$props.lobbyid);
14040
- if ("isLoading" in $$props) $$invalidate(11, isLoading = $$props.isLoading);
14041
- if ("hasErrors" in $$props) $$invalidate(12, hasErrors = $$props.hasErrors);
14042
- if ("isLoggedIn" in $$props) $$invalidate(13, isLoggedIn = $$props.isLoggedIn);
14117
+ if ("mostplayed" in $$props) $$invalidate(47, mostplayed = $$props.mostplayed);
14118
+ if ("lobbyid" in $$props) $$invalidate(48, lobbyid = $$props.lobbyid);
14119
+ if ("containermaxwidth" in $$props) $$invalidate(10, containermaxwidth = $$props.containermaxwidth);
14120
+ if ("isLoading" in $$props) $$invalidate(12, isLoading = $$props.isLoading);
14121
+ if ("hasErrors" in $$props) $$invalidate(13, hasErrors = $$props.hasErrors);
14122
+ if ("isLoggedIn" in $$props) $$invalidate(14, isLoggedIn = $$props.isLoggedIn);
14043
14123
  if ("error" in $$props) error = $$props.error;
14044
- if ("playerID" in $$props) $$invalidate(14, playerID = $$props.playerID);
14045
- if ("sessionID" in $$props) $$invalidate(15, sessionID = $$props.sessionID);
14046
- if ("favoritesScreen" in $$props) $$invalidate(16, favoritesScreen = $$props.favoritesScreen);
14047
- if ("recentSearches" in $$props) $$invalidate(17, recentSearches = $$props.recentSearches);
14048
- if ("initialLoaded" in $$props) $$invalidate(48, initialLoaded = $$props.initialLoaded);
14049
- if ("searched" in $$props) $$invalidate(18, searched = $$props.searched);
14124
+ if ("playerID" in $$props) $$invalidate(15, playerID = $$props.playerID);
14125
+ if ("sessionID" in $$props) $$invalidate(16, sessionID = $$props.sessionID);
14126
+ if ("favoritesScreen" in $$props) $$invalidate(17, favoritesScreen = $$props.favoritesScreen);
14127
+ if ("recentSearches" in $$props) $$invalidate(18, recentSearches = $$props.recentSearches);
14128
+ if ("initialLoaded" in $$props) $$invalidate(49, initialLoaded = $$props.initialLoaded);
14129
+ if ("searched" in $$props) $$invalidate(19, searched = $$props.searched);
14050
14130
  if ("gameFocus" in $$props) gameFocus = $$props.gameFocus;
14051
- if ("lobbyViewAux" in $$props) $$invalidate(19, lobbyViewAux = $$props.lobbyViewAux);
14052
- if ("closeSearch" in $$props) $$invalidate(33, closeSearch = $$props.closeSearch);
14131
+ if ("lobbyViewAux" in $$props) $$invalidate(20, lobbyViewAux = $$props.lobbyViewAux);
14132
+ if ("closeSearch" in $$props) $$invalidate(34, closeSearch = $$props.closeSearch);
14053
14133
  if ("searchFocus" in $$props) searchFocus = $$props.searchFocus;
14054
- if ("lobbyScreen" in $$props) $$invalidate(20, lobbyScreen = $$props.lobbyScreen);
14055
- if ("mostPlayedScreen" in $$props) $$invalidate(21, mostPlayedScreen = $$props.mostPlayedScreen);
14056
- if ("mostPlayedEmpty" in $$props) $$invalidate(22, mostPlayedEmpty = $$props.mostPlayedEmpty);
14057
- if ("adjustingScroll" in $$props) $$invalidate(23, adjustingScroll = $$props.adjustingScroll);
14058
- if ("searchBarCleared" in $$props) $$invalidate(49, searchBarCleared = $$props.searchBarCleared);
14134
+ if ("lobbyScreen" in $$props) $$invalidate(21, lobbyScreen = $$props.lobbyScreen);
14135
+ if ("mostPlayedScreen" in $$props) $$invalidate(22, mostPlayedScreen = $$props.mostPlayedScreen);
14136
+ if ("mostPlayedEmpty" in $$props) $$invalidate(23, mostPlayedEmpty = $$props.mostPlayedEmpty);
14137
+ if ("adjustingScroll" in $$props) $$invalidate(24, adjustingScroll = $$props.adjustingScroll);
14138
+ if ("searchBarCleared" in $$props) $$invalidate(50, searchBarCleared = $$props.searchBarCleared);
14059
14139
  if ("gamesArray" in $$props) gamesArray = $$props.gamesArray;
14060
- if ("searchArray" in $$props) $$invalidate(24, searchArray = $$props.searchArray);
14140
+ if ("searchArray" in $$props) $$invalidate(25, searchArray = $$props.searchArray);
14061
14141
  if ("categories" in $$props) categories = $$props.categories;
14062
- if ("shownCategories" in $$props) $$invalidate(25, shownCategories = $$props.shownCategories);
14063
- if ("activeCategory" in $$props) $$invalidate(26, activeCategory = $$props.activeCategory);
14064
- if ("searchValue" in $$props) $$invalidate(10, searchValue = $$props.searchValue);
14065
- if ("searchWrapper" in $$props) $$invalidate(27, searchWrapper = $$props.searchWrapper);
14142
+ if ("shownCategories" in $$props) $$invalidate(26, shownCategories = $$props.shownCategories);
14143
+ if ("activeCategory" in $$props) $$invalidate(27, activeCategory = $$props.activeCategory);
14144
+ if ("searchValue" in $$props) $$invalidate(11, searchValue = $$props.searchValue);
14145
+ if ("searchWrapper" in $$props) $$invalidate(28, searchWrapper = $$props.searchWrapper);
14066
14146
  if ("searchElementWrapper" in $$props) searchElementWrapper = $$props.searchElementWrapper;
14067
14147
  if ("searchPositionTop" in $$props) searchPositionTop = $$props.searchPositionTop;
14068
- if ("userAgent" in $$props) $$invalidate(34, userAgent = $$props.userAgent);
14148
+ if ("userAgent" in $$props) $$invalidate(35, userAgent = $$props.userAgent);
14069
14149
  if ("scrollTop" in $$props) scrollTop = $$props.scrollTop;
14070
14150
  if ("mostPlayedGames" in $$props) mostPlayedGames = $$props.mostPlayedGames;
14071
14151
  if ("favoredGamesCollection" in $$props) favoredGamesCollection = $$props.favoredGamesCollection;
14072
14152
  if ("categoriesData" in $$props) categoriesData = $$props.categoriesData;
14073
14153
  if ("receivedFavoriteResults" in $$props) receivedFavoriteResults = $$props.receivedFavoriteResults;
14074
14154
  if ("updatedFavoriteResultsIds" in $$props) updatedFavoriteResultsIds = $$props.updatedFavoriteResultsIds;
14075
- if ("searchElement" in $$props) $$invalidate(28, searchElement = $$props.searchElement);
14076
- if ("mobileSearchViewActive" in $$props) $$invalidate(29, mobileSearchViewActive = $$props.mobileSearchViewActive);
14155
+ if ("searchElement" in $$props) $$invalidate(29, searchElement = $$props.searchElement);
14156
+ if ("mobileSearchViewActive" in $$props) $$invalidate(30, mobileSearchViewActive = $$props.mobileSearchViewActive);
14077
14157
  if ("searchedValues" in $$props) searchedValues = $$props.searchedValues;
14078
14158
  if ("mostPlayedValues" in $$props) mostPlayedValues = $$props.mostPlayedValues;
14079
14159
  if ("filterVendorsArray" in $$props) filterVendorsArray = $$props.filterVendorsArray;
14080
- if ("numberOfFilters" in $$props) $$invalidate(30, numberOfFilters = $$props.numberOfFilters);
14160
+ if ("numberOfFilters" in $$props) $$invalidate(31, numberOfFilters = $$props.numberOfFilters);
14081
14161
  if ("filteredGamesArray" in $$props) filteredGamesArray = $$props.filteredGamesArray;
14082
14162
  if ("currentCategoryId" in $$props) currentCategoryId = $$props.currentCategoryId;
14083
14163
  if ("activeCategoryAux" in $$props) activeCategoryAux = $$props.activeCategoryAux;
14084
- if ("customStylingContainer" in $$props) $$invalidate(31, customStylingContainer = $$props.customStylingContainer);
14164
+ if ("customStylingContainer" in $$props) $$invalidate(32, customStylingContainer = $$props.customStylingContainer);
14085
14165
  if ("getFavoredGames" in $$props) getFavoredGames = $$props.getFavoredGames;
14086
14166
  if ("updateFavoredList" in $$props) updateFavoredList = $$props.updateFavoredList;
14087
14167
  if ("addFavoredGame" in $$props) addFavoredGame = $$props.addFavoredGame;
@@ -14092,13 +14172,13 @@
14092
14172
  }
14093
14173
 
14094
14174
  $$self.$$.update = () => {
14095
- if ($$self.$$.dirty[0] & /*searchValue*/ 1024) {
14175
+ if ($$self.$$.dirty[0] & /*searchValue*/ 2048) {
14096
14176
  searchValue && searchValueChanged();
14097
14177
  }
14098
14178
 
14099
- if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 1027 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/ 393216) {
14179
+ if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 2051 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/ 786432) {
14100
14180
  if (searchValue.length >= 2) {
14101
- $$invalidate(18, searched = true);
14181
+ $$invalidate(19, searched = true);
14102
14182
  let searchUrl = new URL(`${endpoint}/casino/games`);
14103
14183
  searchUrl.searchParams.append("datasource", datasource);
14104
14184
  searchUrl.searchParams.append("expand", "vendor");
@@ -14109,7 +14189,7 @@
14109
14189
  searchUrl.searchParams.append("filter", `name=${searchValue}`);
14110
14190
 
14111
14191
  getGames(searchUrl).then(searchData => {
14112
- $$invalidate(24, searchArray = searchData);
14192
+ $$invalidate(25, searchArray = searchData);
14113
14193
  sendSearchData({}, searchData);
14114
14194
  });
14115
14195
  } else {
@@ -14118,7 +14198,7 @@
14118
14198
  }
14119
14199
 
14120
14200
  if (initialLoaded) {
14121
- $$invalidate(48, initialLoaded = false);
14201
+ $$invalidate(49, initialLoaded = false);
14122
14202
  }
14123
14203
  }
14124
14204
  }
@@ -14151,6 +14231,7 @@
14151
14231
  categorybackground,
14152
14232
  alternativesearch,
14153
14233
  favorites,
14234
+ containermaxwidth,
14154
14235
  searchValue,
14155
14236
  isLoading,
14156
14237
  hasErrors,
@@ -14212,7 +14293,7 @@
14212
14293
  class CasinoPage extends SvelteElement {
14213
14294
  constructor(options) {
14214
14295
  super();
14215
- this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:#fff}.PanicButton{border-radius:2px;border:1px solid #D0046C;background-color:#D0046C;width:240px;height:48px;color:#fff;cursor:pointer}[type="search"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}.SearchLoading{color:#fff;font-size:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 5% auto 15%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:0;padding-left:8px;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid #58586B;border-radius:5px;text-transform:uppercase;color:#fff;cursor:pointer}.ClearFilterButtonWrapper{border:1px solid #FD2839;color:#FD2839}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid #D0046C;background:#D0046C;color:#fff;font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{color:#fff}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:25px}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:#fff;text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:#fff}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid #fff;border-radius:0;background:#fff;color:#D0046C}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:#D0046C}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign{display:block;position:relative}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:#07072A}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:90%;border:1px solid #58586B;border-radius:6.4px;background-color:transparent;color:#fff;padding:12px 50px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:90%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:64px;right:5px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:6.4px;border:2px solid #fff;background:transparent;color:#fff}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:10px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:block}.CategoriesHeaderSectionAltDesign .ClearSearchButton,.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:30px;top:9px}.ClearFilterMobileButtonWrapper{position:absolute;right:5px;padding:8px 18px;display:inline-flex;border:1px solid #58586B;border-radius:5px;border:1px solid #FD2839;text-transform:uppercase;color:#fff;cursor:pointer;color:#FD2839;font-size:14px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:#000}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:#FFF;transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:#FFF;transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:#FD2839}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:#FD2839}</style>`;
14296
+ this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.CategoriesLobby{margin:0 auto;padding:0 10px}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:#fff}.PanicButton{border-radius:2px;border:1px solid #D0046C;background-color:#D0046C;width:240px;height:48px;color:#fff;cursor:pointer}[type="search"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}.SearchLoading{color:#fff;font-size:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 5% auto 15%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:0;padding-left:8px;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;border:1px solid #58586B;border-radius:5px;text-transform:uppercase;color:#fff;cursor:pointer}.ClearFilterButtonWrapper{border:1px solid #FD2839;color:#FD2839}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid #D0046C;background:#D0046C;color:#fff;font-size:12px;position:absolute;top:-5px;left:22px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{color:#fff}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:25px}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:#fff;text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:#fff}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid #fff;border-radius:0;background:#fff;color:#D0046C}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:#D0046C}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign{display:block;position:relative}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:#07072A}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:90%;border:1px solid #58586B;border-radius:6.4px;background-color:transparent;color:#fff;padding:12px 50px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:90%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:64px;right:5px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:6.4px;border:2px solid #fff;background:transparent;color:#fff}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:10px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:block}.CategoriesHeaderSectionAltDesign .ClearSearchButton,.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:30px;top:9px}.ClearFilterMobileButtonWrapper{position:absolute;right:5px;padding:8px 18px;display:inline-flex;border:1px solid #58586B;border-radius:5px;border:1px solid #FD2839;text-transform:uppercase;color:#fff;cursor:pointer;color:#FD2839;font-size:14px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:#000}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:#FFF;transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:#FFF;transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:#FD2839}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:#FD2839}</style>`;
14216
14297
 
14217
14298
  init(
14218
14299
  this,
@@ -14233,11 +14314,12 @@
14233
14314
  clientstyling: 5,
14234
14315
  clientstylingurl: 6,
14235
14316
  categorybackground: 7,
14236
- visiblegames: 45,
14317
+ visiblegames: 46,
14237
14318
  alternativesearch: 8,
14238
14319
  favorites: 9,
14239
- mostplayed: 46,
14240
- lobbyid: 47
14320
+ mostplayed: 47,
14321
+ lobbyid: 48,
14322
+ containermaxwidth: 10
14241
14323
  },
14242
14324
  [-1, -1, -1, -1]
14243
14325
  );
@@ -14268,7 +14350,8 @@
14268
14350
  "alternativesearch",
14269
14351
  "favorites",
14270
14352
  "mostplayed",
14271
- "lobbyid"
14353
+ "lobbyid",
14354
+ "containermaxwidth"
14272
14355
  ];
14273
14356
  }
14274
14357
 
@@ -14345,7 +14428,7 @@
14345
14428
  }
14346
14429
 
14347
14430
  get visiblegames() {
14348
- return this.$$.ctx[45];
14431
+ return this.$$.ctx[46];
14349
14432
  }
14350
14433
 
14351
14434
  set visiblegames(visiblegames) {
@@ -14372,7 +14455,7 @@
14372
14455
  }
14373
14456
 
14374
14457
  get mostplayed() {
14375
- return this.$$.ctx[46];
14458
+ return this.$$.ctx[47];
14376
14459
  }
14377
14460
 
14378
14461
  set mostplayed(mostplayed) {
@@ -14381,13 +14464,22 @@
14381
14464
  }
14382
14465
 
14383
14466
  get lobbyid() {
14384
- return this.$$.ctx[47];
14467
+ return this.$$.ctx[48];
14385
14468
  }
14386
14469
 
14387
14470
  set lobbyid(lobbyid) {
14388
14471
  this.$set({ lobbyid });
14389
14472
  flush();
14390
14473
  }
14474
+
14475
+ get containermaxwidth() {
14476
+ return this.$$.ctx[10];
14477
+ }
14478
+
14479
+ set containermaxwidth(containermaxwidth) {
14480
+ this.$set({ containermaxwidth });
14481
+ flush();
14482
+ }
14391
14483
  }
14392
14484
 
14393
14485
  !customElements.get('casino-page') && customElements.define('casino-page', CasinoPage);
@@ -25120,7 +25212,7 @@
25120
25212
  const { console: console_1 } = globals;
25121
25213
  const file = "src/CasinoLobby.svelte";
25122
25214
 
25123
- // (154:0) {:else}
25215
+ // (155:0) {:else}
25124
25216
  function create_else_block(ctx) {
25125
25217
  let div3;
25126
25218
  let div2;
@@ -25156,74 +25248,76 @@
25156
25248
  casino_filter_modal = element("casino-filter-modal");
25157
25249
  casino_filter_page = element("casino-filter-page");
25158
25250
  attr_dev(div0, "class", "HeaderPlaceholder");
25159
- set_style(div0, "height", /*headerPlaceholderSize*/ ctx[16] + "px");
25160
- add_location(div0, file, 156, 6, 4820);
25251
+ set_style(div0, "height", /*headerPlaceholderSize*/ ctx[17] + "px");
25252
+ add_location(div0, file, 157, 6, 4855);
25161
25253
  attr_dev(div1, "class", "ScrollTop");
25162
- add_location(div1, file, 157, 6, 4905);
25163
- set_custom_element_data(casino_categories_slider, "endpoint", /*endpointURL*/ ctx[10]);
25164
- set_custom_element_data(casino_categories_slider, "datasource", /*DS*/ ctx[11]);
25165
- set_custom_element_data(casino_categories_slider, "lang", /*language*/ ctx[12]);
25254
+ add_location(div1, file, 158, 6, 4940);
25255
+ set_custom_element_data(casino_categories_slider, "endpoint", /*endpointURL*/ ctx[11]);
25256
+ set_custom_element_data(casino_categories_slider, "datasource", /*DS*/ ctx[12]);
25257
+ set_custom_element_data(casino_categories_slider, "lang", /*language*/ ctx[13]);
25166
25258
  set_custom_element_data(casino_categories_slider, "session", /*session*/ ctx[0]);
25167
25259
  set_custom_element_data(casino_categories_slider, "userid", /*userid*/ ctx[1]);
25168
- set_custom_element_data(casino_categories_slider, "mostplayed", /*mostPlayed*/ ctx[18]);
25169
- set_custom_element_data(casino_categories_slider, "favorites", /*fav*/ ctx[19]);
25260
+ set_custom_element_data(casino_categories_slider, "mostplayed", /*mostPlayed*/ ctx[19]);
25261
+ set_custom_element_data(casino_categories_slider, "favorites", /*fav*/ ctx[20]);
25170
25262
  set_custom_element_data(casino_categories_slider, "clientstyling", /*clientstyling*/ ctx[2]);
25171
25263
  set_custom_element_data(casino_categories_slider, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
25172
- add_location(casino_categories_slider, file, 158, 6, 4941);
25264
+ set_custom_element_data(casino_categories_slider, "containermaxwidth", /*containermaxwidth*/ ctx[10]);
25265
+ add_location(casino_categories_slider, file, 159, 6, 4976);
25173
25266
  set_custom_element_data(casino_page, "session", /*session*/ ctx[0]);
25174
25267
  set_custom_element_data(casino_page, "userid", /*userid*/ ctx[1]);
25175
- set_custom_element_data(casino_page, "endpoint", /*endpointURL*/ ctx[10]);
25176
- set_custom_element_data(casino_page, "datasource", /*DS*/ ctx[11]);
25177
- set_custom_element_data(casino_page, "lang", /*language*/ ctx[12]);
25268
+ set_custom_element_data(casino_page, "endpoint", /*endpointURL*/ ctx[11]);
25269
+ set_custom_element_data(casino_page, "datasource", /*DS*/ ctx[12]);
25270
+ set_custom_element_data(casino_page, "lang", /*language*/ ctx[13]);
25178
25271
  set_custom_element_data(casino_page, "visiblegames", "10");
25179
25272
  set_custom_element_data(casino_page, "alternativesearch", /*alternativesearch*/ ctx[9]);
25180
- set_custom_element_data(casino_page, "favorites", /*fav*/ ctx[19]);
25181
- set_custom_element_data(casino_page, "mostplayed", /*mostPlayed*/ ctx[18]);
25273
+ set_custom_element_data(casino_page, "favorites", /*fav*/ ctx[20]);
25274
+ set_custom_element_data(casino_page, "mostplayed", /*mostPlayed*/ ctx[19]);
25182
25275
  set_custom_element_data(casino_page, "clientstyling", /*clientstyling*/ ctx[2]);
25183
25276
  set_custom_element_data(casino_page, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
25184
25277
  set_custom_element_data(casino_page, "lobbyid", /*lobbyid*/ ctx[5]);
25185
- add_location(casino_page, file, 169, 6, 5244);
25278
+ set_custom_element_data(casino_page, "containermaxwidth", /*containermaxwidth*/ ctx[10]);
25279
+ add_location(casino_page, file, 171, 6, 5307);
25186
25280
  set_custom_element_data(casino_game_page, "session", /*session*/ ctx[0]);
25187
25281
  set_custom_element_data(casino_game_page, "userid", /*userid*/ ctx[1]);
25188
- set_custom_element_data(casino_game_page, "endpoint", /*endpointURL*/ ctx[10]);
25189
- set_custom_element_data(casino_game_page, "datasource", /*DS*/ ctx[11]);
25190
- set_custom_element_data(casino_game_page, "lang", /*language*/ ctx[12]);
25282
+ set_custom_element_data(casino_game_page, "endpoint", /*endpointURL*/ ctx[11]);
25283
+ set_custom_element_data(casino_game_page, "datasource", /*DS*/ ctx[12]);
25284
+ set_custom_element_data(casino_game_page, "lang", /*language*/ ctx[13]);
25191
25285
  set_custom_element_data(casino_game_page, "loginevent", /*loginevent*/ ctx[6]);
25192
- set_custom_element_data(casino_game_page, "favorites", /*fav*/ ctx[19]);
25286
+ set_custom_element_data(casino_game_page, "favorites", /*fav*/ ctx[20]);
25193
25287
  set_custom_element_data(casino_game_page, "registerevent", /*registerevent*/ ctx[7]);
25194
25288
  set_custom_element_data(casino_game_page, "depositevent", /*depositevent*/ ctx[8]);
25195
25289
  set_custom_element_data(casino_game_page, "clientstyling", /*clientstyling*/ ctx[2]);
25196
25290
  set_custom_element_data(casino_game_page, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
25197
25291
  set_custom_element_data(casino_game_page, "clockformat", /*clockformat*/ ctx[4]);
25198
- add_location(casino_game_page, file, 191, 9, 5796);
25292
+ add_location(casino_game_page, file, 194, 9, 5887);
25199
25293
  set_custom_element_data(casino_modal, "session", /*session*/ ctx[0]);
25200
25294
  set_custom_element_data(casino_modal, "userid", /*userid*/ ctx[1]);
25201
- set_custom_element_data(casino_modal, "endpoint", /*endpointURL*/ ctx[10]);
25202
- set_custom_element_data(casino_modal, "datasource", /*DS*/ ctx[11]);
25203
- set_custom_element_data(casino_modal, "lang", /*language*/ ctx[12]);
25295
+ set_custom_element_data(casino_modal, "endpoint", /*endpointURL*/ ctx[11]);
25296
+ set_custom_element_data(casino_modal, "datasource", /*DS*/ ctx[12]);
25297
+ set_custom_element_data(casino_modal, "lang", /*language*/ ctx[13]);
25204
25298
  set_custom_element_data(casino_modal, "clientstyling", /*clientstyling*/ ctx[2]);
25205
25299
  set_custom_element_data(casino_modal, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
25206
- add_location(casino_modal, file, 183, 6, 5593);
25300
+ add_location(casino_modal, file, 186, 6, 5684);
25207
25301
  set_custom_element_data(casino_filter_page, "session", /*session*/ ctx[0]);
25208
25302
  set_custom_element_data(casino_filter_page, "userid", /*userid*/ ctx[1]);
25209
- set_custom_element_data(casino_filter_page, "endpoint", /*endpointURL*/ ctx[10]);
25210
- set_custom_element_data(casino_filter_page, "datasource", /*DS*/ ctx[11]);
25211
- set_custom_element_data(casino_filter_page, "lang", /*language*/ ctx[12]);
25303
+ set_custom_element_data(casino_filter_page, "endpoint", /*endpointURL*/ ctx[11]);
25304
+ set_custom_element_data(casino_filter_page, "datasource", /*DS*/ ctx[12]);
25305
+ set_custom_element_data(casino_filter_page, "lang", /*language*/ ctx[13]);
25212
25306
  set_custom_element_data(casino_filter_page, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
25213
25307
  set_custom_element_data(casino_filter_page, "clientstyling", /*clientstyling*/ ctx[2]);
25214
- add_location(casino_filter_page, file, 214, 8, 6419);
25308
+ add_location(casino_filter_page, file, 217, 8, 6510);
25215
25309
  set_custom_element_data(casino_filter_modal, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
25216
25310
  set_custom_element_data(casino_filter_modal, "session", /*session*/ ctx[0]);
25217
25311
  set_custom_element_data(casino_filter_modal, "userid", /*userid*/ ctx[1]);
25218
- set_custom_element_data(casino_filter_modal, "endpoint", /*endpointURL*/ ctx[10]);
25219
- set_custom_element_data(casino_filter_modal, "datasource", /*DS*/ ctx[11]);
25220
- set_custom_element_data(casino_filter_modal, "lang", /*language*/ ctx[12]);
25312
+ set_custom_element_data(casino_filter_modal, "endpoint", /*endpointURL*/ ctx[11]);
25313
+ set_custom_element_data(casino_filter_modal, "datasource", /*DS*/ ctx[12]);
25314
+ set_custom_element_data(casino_filter_modal, "lang", /*language*/ ctx[13]);
25221
25315
  set_custom_element_data(casino_filter_modal, "clientstyling", /*clientstyling*/ ctx[2]);
25222
- add_location(casino_filter_modal, file, 206, 6, 6209);
25316
+ add_location(casino_filter_modal, file, 209, 6, 6300);
25223
25317
  attr_dev(div2, "class", "WidgetsSection");
25224
- add_location(div2, file, 155, 4, 4785);
25318
+ add_location(div2, file, 156, 4, 4820);
25225
25319
  attr_dev(div3, "class", "CasinoLobby");
25226
- add_location(div3, file, 154, 2, 4755);
25320
+ add_location(div3, file, 155, 2, 4790);
25227
25321
  },
25228
25322
  m: function mount(target, anchor) {
25229
25323
  insert_dev(target, div3, anchor);
@@ -25243,20 +25337,20 @@
25243
25337
  append_dev(casino_filter_modal, casino_filter_page);
25244
25338
  },
25245
25339
  p: function update(ctx, dirty) {
25246
- if (dirty[0] & /*headerPlaceholderSize*/ 65536) {
25247
- set_style(div0, "height", /*headerPlaceholderSize*/ ctx[16] + "px");
25340
+ if (dirty[0] & /*headerPlaceholderSize*/ 131072) {
25341
+ set_style(div0, "height", /*headerPlaceholderSize*/ ctx[17] + "px");
25248
25342
  }
25249
25343
 
25250
- if (dirty[0] & /*endpointURL*/ 1024) {
25251
- set_custom_element_data(casino_categories_slider, "endpoint", /*endpointURL*/ ctx[10]);
25344
+ if (dirty[0] & /*endpointURL*/ 2048) {
25345
+ set_custom_element_data(casino_categories_slider, "endpoint", /*endpointURL*/ ctx[11]);
25252
25346
  }
25253
25347
 
25254
- if (dirty[0] & /*DS*/ 2048) {
25255
- set_custom_element_data(casino_categories_slider, "datasource", /*DS*/ ctx[11]);
25348
+ if (dirty[0] & /*DS*/ 4096) {
25349
+ set_custom_element_data(casino_categories_slider, "datasource", /*DS*/ ctx[12]);
25256
25350
  }
25257
25351
 
25258
- if (dirty[0] & /*language*/ 4096) {
25259
- set_custom_element_data(casino_categories_slider, "lang", /*language*/ ctx[12]);
25352
+ if (dirty[0] & /*language*/ 8192) {
25353
+ set_custom_element_data(casino_categories_slider, "lang", /*language*/ ctx[13]);
25260
25354
  }
25261
25355
 
25262
25356
  if (dirty[0] & /*session*/ 1) {
@@ -25267,12 +25361,12 @@
25267
25361
  set_custom_element_data(casino_categories_slider, "userid", /*userid*/ ctx[1]);
25268
25362
  }
25269
25363
 
25270
- if (dirty[0] & /*mostPlayed*/ 262144) {
25271
- set_custom_element_data(casino_categories_slider, "mostplayed", /*mostPlayed*/ ctx[18]);
25364
+ if (dirty[0] & /*mostPlayed*/ 524288) {
25365
+ set_custom_element_data(casino_categories_slider, "mostplayed", /*mostPlayed*/ ctx[19]);
25272
25366
  }
25273
25367
 
25274
- if (dirty[0] & /*fav*/ 524288) {
25275
- set_custom_element_data(casino_categories_slider, "favorites", /*fav*/ ctx[19]);
25368
+ if (dirty[0] & /*fav*/ 1048576) {
25369
+ set_custom_element_data(casino_categories_slider, "favorites", /*fav*/ ctx[20]);
25276
25370
  }
25277
25371
 
25278
25372
  if (dirty[0] & /*clientstyling*/ 4) {
@@ -25283,6 +25377,10 @@
25283
25377
  set_custom_element_data(casino_categories_slider, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
25284
25378
  }
25285
25379
 
25380
+ if (dirty[0] & /*containermaxwidth*/ 1024) {
25381
+ set_custom_element_data(casino_categories_slider, "containermaxwidth", /*containermaxwidth*/ ctx[10]);
25382
+ }
25383
+
25286
25384
  if (dirty[0] & /*session*/ 1) {
25287
25385
  set_custom_element_data(casino_page, "session", /*session*/ ctx[0]);
25288
25386
  }
@@ -25291,28 +25389,28 @@
25291
25389
  set_custom_element_data(casino_page, "userid", /*userid*/ ctx[1]);
25292
25390
  }
25293
25391
 
25294
- if (dirty[0] & /*endpointURL*/ 1024) {
25295
- set_custom_element_data(casino_page, "endpoint", /*endpointURL*/ ctx[10]);
25392
+ if (dirty[0] & /*endpointURL*/ 2048) {
25393
+ set_custom_element_data(casino_page, "endpoint", /*endpointURL*/ ctx[11]);
25296
25394
  }
25297
25395
 
25298
- if (dirty[0] & /*DS*/ 2048) {
25299
- set_custom_element_data(casino_page, "datasource", /*DS*/ ctx[11]);
25396
+ if (dirty[0] & /*DS*/ 4096) {
25397
+ set_custom_element_data(casino_page, "datasource", /*DS*/ ctx[12]);
25300
25398
  }
25301
25399
 
25302
- if (dirty[0] & /*language*/ 4096) {
25303
- set_custom_element_data(casino_page, "lang", /*language*/ ctx[12]);
25400
+ if (dirty[0] & /*language*/ 8192) {
25401
+ set_custom_element_data(casino_page, "lang", /*language*/ ctx[13]);
25304
25402
  }
25305
25403
 
25306
25404
  if (dirty[0] & /*alternativesearch*/ 512) {
25307
25405
  set_custom_element_data(casino_page, "alternativesearch", /*alternativesearch*/ ctx[9]);
25308
25406
  }
25309
25407
 
25310
- if (dirty[0] & /*fav*/ 524288) {
25311
- set_custom_element_data(casino_page, "favorites", /*fav*/ ctx[19]);
25408
+ if (dirty[0] & /*fav*/ 1048576) {
25409
+ set_custom_element_data(casino_page, "favorites", /*fav*/ ctx[20]);
25312
25410
  }
25313
25411
 
25314
- if (dirty[0] & /*mostPlayed*/ 262144) {
25315
- set_custom_element_data(casino_page, "mostplayed", /*mostPlayed*/ ctx[18]);
25412
+ if (dirty[0] & /*mostPlayed*/ 524288) {
25413
+ set_custom_element_data(casino_page, "mostplayed", /*mostPlayed*/ ctx[19]);
25316
25414
  }
25317
25415
 
25318
25416
  if (dirty[0] & /*clientstyling*/ 4) {
@@ -25327,6 +25425,10 @@
25327
25425
  set_custom_element_data(casino_page, "lobbyid", /*lobbyid*/ ctx[5]);
25328
25426
  }
25329
25427
 
25428
+ if (dirty[0] & /*containermaxwidth*/ 1024) {
25429
+ set_custom_element_data(casino_page, "containermaxwidth", /*containermaxwidth*/ ctx[10]);
25430
+ }
25431
+
25330
25432
  if (dirty[0] & /*session*/ 1) {
25331
25433
  set_custom_element_data(casino_game_page, "session", /*session*/ ctx[0]);
25332
25434
  }
@@ -25335,24 +25437,24 @@
25335
25437
  set_custom_element_data(casino_game_page, "userid", /*userid*/ ctx[1]);
25336
25438
  }
25337
25439
 
25338
- if (dirty[0] & /*endpointURL*/ 1024) {
25339
- set_custom_element_data(casino_game_page, "endpoint", /*endpointURL*/ ctx[10]);
25440
+ if (dirty[0] & /*endpointURL*/ 2048) {
25441
+ set_custom_element_data(casino_game_page, "endpoint", /*endpointURL*/ ctx[11]);
25340
25442
  }
25341
25443
 
25342
- if (dirty[0] & /*DS*/ 2048) {
25343
- set_custom_element_data(casino_game_page, "datasource", /*DS*/ ctx[11]);
25444
+ if (dirty[0] & /*DS*/ 4096) {
25445
+ set_custom_element_data(casino_game_page, "datasource", /*DS*/ ctx[12]);
25344
25446
  }
25345
25447
 
25346
- if (dirty[0] & /*language*/ 4096) {
25347
- set_custom_element_data(casino_game_page, "lang", /*language*/ ctx[12]);
25448
+ if (dirty[0] & /*language*/ 8192) {
25449
+ set_custom_element_data(casino_game_page, "lang", /*language*/ ctx[13]);
25348
25450
  }
25349
25451
 
25350
25452
  if (dirty[0] & /*loginevent*/ 64) {
25351
25453
  set_custom_element_data(casino_game_page, "loginevent", /*loginevent*/ ctx[6]);
25352
25454
  }
25353
25455
 
25354
- if (dirty[0] & /*fav*/ 524288) {
25355
- set_custom_element_data(casino_game_page, "favorites", /*fav*/ ctx[19]);
25456
+ if (dirty[0] & /*fav*/ 1048576) {
25457
+ set_custom_element_data(casino_game_page, "favorites", /*fav*/ ctx[20]);
25356
25458
  }
25357
25459
 
25358
25460
  if (dirty[0] & /*registerevent*/ 128) {
@@ -25383,16 +25485,16 @@
25383
25485
  set_custom_element_data(casino_modal, "userid", /*userid*/ ctx[1]);
25384
25486
  }
25385
25487
 
25386
- if (dirty[0] & /*endpointURL*/ 1024) {
25387
- set_custom_element_data(casino_modal, "endpoint", /*endpointURL*/ ctx[10]);
25488
+ if (dirty[0] & /*endpointURL*/ 2048) {
25489
+ set_custom_element_data(casino_modal, "endpoint", /*endpointURL*/ ctx[11]);
25388
25490
  }
25389
25491
 
25390
- if (dirty[0] & /*DS*/ 2048) {
25391
- set_custom_element_data(casino_modal, "datasource", /*DS*/ ctx[11]);
25492
+ if (dirty[0] & /*DS*/ 4096) {
25493
+ set_custom_element_data(casino_modal, "datasource", /*DS*/ ctx[12]);
25392
25494
  }
25393
25495
 
25394
- if (dirty[0] & /*language*/ 4096) {
25395
- set_custom_element_data(casino_modal, "lang", /*language*/ ctx[12]);
25496
+ if (dirty[0] & /*language*/ 8192) {
25497
+ set_custom_element_data(casino_modal, "lang", /*language*/ ctx[13]);
25396
25498
  }
25397
25499
 
25398
25500
  if (dirty[0] & /*clientstyling*/ 4) {
@@ -25411,16 +25513,16 @@
25411
25513
  set_custom_element_data(casino_filter_page, "userid", /*userid*/ ctx[1]);
25412
25514
  }
25413
25515
 
25414
- if (dirty[0] & /*endpointURL*/ 1024) {
25415
- set_custom_element_data(casino_filter_page, "endpoint", /*endpointURL*/ ctx[10]);
25516
+ if (dirty[0] & /*endpointURL*/ 2048) {
25517
+ set_custom_element_data(casino_filter_page, "endpoint", /*endpointURL*/ ctx[11]);
25416
25518
  }
25417
25519
 
25418
- if (dirty[0] & /*DS*/ 2048) {
25419
- set_custom_element_data(casino_filter_page, "datasource", /*DS*/ ctx[11]);
25520
+ if (dirty[0] & /*DS*/ 4096) {
25521
+ set_custom_element_data(casino_filter_page, "datasource", /*DS*/ ctx[12]);
25420
25522
  }
25421
25523
 
25422
- if (dirty[0] & /*language*/ 4096) {
25423
- set_custom_element_data(casino_filter_page, "lang", /*language*/ ctx[12]);
25524
+ if (dirty[0] & /*language*/ 8192) {
25525
+ set_custom_element_data(casino_filter_page, "lang", /*language*/ ctx[13]);
25424
25526
  }
25425
25527
 
25426
25528
  if (dirty[0] & /*clientstylingurl*/ 8) {
@@ -25443,16 +25545,16 @@
25443
25545
  set_custom_element_data(casino_filter_modal, "userid", /*userid*/ ctx[1]);
25444
25546
  }
25445
25547
 
25446
- if (dirty[0] & /*endpointURL*/ 1024) {
25447
- set_custom_element_data(casino_filter_modal, "endpoint", /*endpointURL*/ ctx[10]);
25548
+ if (dirty[0] & /*endpointURL*/ 2048) {
25549
+ set_custom_element_data(casino_filter_modal, "endpoint", /*endpointURL*/ ctx[11]);
25448
25550
  }
25449
25551
 
25450
- if (dirty[0] & /*DS*/ 2048) {
25451
- set_custom_element_data(casino_filter_modal, "datasource", /*DS*/ ctx[11]);
25552
+ if (dirty[0] & /*DS*/ 4096) {
25553
+ set_custom_element_data(casino_filter_modal, "datasource", /*DS*/ ctx[12]);
25452
25554
  }
25453
25555
 
25454
- if (dirty[0] & /*language*/ 4096) {
25455
- set_custom_element_data(casino_filter_modal, "lang", /*language*/ ctx[12]);
25556
+ if (dirty[0] & /*language*/ 8192) {
25557
+ set_custom_element_data(casino_filter_modal, "lang", /*language*/ ctx[13]);
25456
25558
  }
25457
25559
 
25458
25560
  if (dirty[0] & /*clientstyling*/ 4) {
@@ -25468,14 +25570,14 @@
25468
25570
  block,
25469
25571
  id: create_else_block.name,
25470
25572
  type: "else",
25471
- source: "(154:0) {:else}",
25573
+ source: "(155:0) {:else}",
25472
25574
  ctx
25473
25575
  });
25474
25576
 
25475
25577
  return block;
25476
25578
  }
25477
25579
 
25478
- // (152:0) {#if hasErrors}
25580
+ // (153:0) {#if hasErrors}
25479
25581
  function create_if_block(ctx) {
25480
25582
  let p;
25481
25583
  let t;
@@ -25483,16 +25585,16 @@
25483
25585
  const block = {
25484
25586
  c: function create() {
25485
25587
  p = element("p");
25486
- t = text(/*error*/ ctx[15]);
25588
+ t = text(/*error*/ ctx[16]);
25487
25589
  set_style(p, "color", "#fff");
25488
- add_location(p, file, 152, 2, 4711);
25590
+ add_location(p, file, 153, 2, 4746);
25489
25591
  },
25490
25592
  m: function mount(target, anchor) {
25491
25593
  insert_dev(target, p, anchor);
25492
25594
  append_dev(p, t);
25493
25595
  },
25494
25596
  p: function update(ctx, dirty) {
25495
- if (dirty[0] & /*error*/ 32768) set_data_dev(t, /*error*/ ctx[15]);
25597
+ if (dirty[0] & /*error*/ 65536) set_data_dev(t, /*error*/ ctx[16]);
25496
25598
  },
25497
25599
  d: function destroy(detaching) {
25498
25600
  if (detaching) detach_dev(p);
@@ -25503,7 +25605,7 @@
25503
25605
  block,
25504
25606
  id: create_if_block.name,
25505
25607
  type: "if",
25506
- source: "(152:0) {#if hasErrors}",
25608
+ source: "(153:0) {#if hasErrors}",
25507
25609
  ctx
25508
25610
  });
25509
25611
 
@@ -25515,7 +25617,7 @@
25515
25617
  let div_class_value;
25516
25618
 
25517
25619
  function select_block_type(ctx, dirty) {
25518
- if (/*hasErrors*/ ctx[14]) return create_if_block;
25620
+ if (/*hasErrors*/ ctx[15]) return create_if_block;
25519
25621
  return create_else_block;
25520
25622
  }
25521
25623
 
@@ -25527,8 +25629,8 @@
25527
25629
  div = element("div");
25528
25630
  if_block.c();
25529
25631
  this.c = noop$1;
25530
- attr_dev(div, "class", div_class_value = /*displayNone*/ ctx[13] ? "DisplayNone" : "");
25531
- add_location(div, file, 150, 0, 4610);
25632
+ attr_dev(div, "class", div_class_value = /*displayNone*/ ctx[14] ? "DisplayNone" : "");
25633
+ add_location(div, file, 151, 0, 4645);
25532
25634
  },
25533
25635
  l: function claim(nodes) {
25534
25636
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -25536,7 +25638,7 @@
25536
25638
  m: function mount(target, anchor) {
25537
25639
  insert_dev(target, div, anchor);
25538
25640
  if_block.m(div, null);
25539
- /*div_binding*/ ctx[31](div);
25641
+ /*div_binding*/ ctx[32](div);
25540
25642
  },
25541
25643
  p: function update(ctx, dirty) {
25542
25644
  if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
@@ -25551,7 +25653,7 @@
25551
25653
  }
25552
25654
  }
25553
25655
 
25554
- if (dirty[0] & /*displayNone*/ 8192 && div_class_value !== (div_class_value = /*displayNone*/ ctx[13] ? "DisplayNone" : "")) {
25656
+ if (dirty[0] & /*displayNone*/ 16384 && div_class_value !== (div_class_value = /*displayNone*/ ctx[14] ? "DisplayNone" : "")) {
25555
25657
  attr_dev(div, "class", div_class_value);
25556
25658
  }
25557
25659
  },
@@ -25560,7 +25662,7 @@
25560
25662
  d: function destroy(detaching) {
25561
25663
  if (detaching) detach_dev(div);
25562
25664
  if_block.d();
25563
- /*div_binding*/ ctx[31](null);
25665
+ /*div_binding*/ ctx[32](null);
25564
25666
  }
25565
25667
  };
25566
25668
 
@@ -25599,6 +25701,7 @@
25599
25701
  let { desktopoffset = "0" } = $$props;
25600
25702
  let { mobileoffset = "0" } = $$props;
25601
25703
  let { alternativesearch = "false" } = $$props;
25704
+ let { containermaxwidth = "" } = $$props;
25602
25705
  let endpointURL;
25603
25706
  let DS;
25604
25707
  let language;
@@ -25640,20 +25743,20 @@
25640
25743
 
25641
25744
  const checkAttrs = () => {
25642
25745
  if (!endpoint) {
25643
- $$invalidate(15, error = "Endpoint is missing! Please provide a valid endpointURL.");
25644
- $$invalidate(14, hasErrors = true);
25746
+ $$invalidate(16, error = "Endpoint is missing! Please provide a valid endpointURL.");
25747
+ $$invalidate(15, hasErrors = true);
25645
25748
  console.error(error);
25646
25749
  }
25647
25750
 
25648
25751
  if (!datasource) {
25649
- $$invalidate(15, error = "Datasource is missing! Please provide a valid datasource.");
25650
- $$invalidate(14, hasErrors = true);
25752
+ $$invalidate(16, error = "Datasource is missing! Please provide a valid datasource.");
25753
+ $$invalidate(15, hasErrors = true);
25651
25754
  console.error(error);
25652
25755
  }
25653
25756
 
25654
25757
  if (!lang || lang.length != 2) {
25655
- $$invalidate(15, error = "Language is missing! Please provide a valid language (alpha2code)");
25656
- $$invalidate(14, hasErrors = true);
25758
+ $$invalidate(16, error = "Language is missing! Please provide a valid language (alpha2code)");
25759
+ $$invalidate(15, hasErrors = true);
25657
25760
  console.error(error);
25658
25761
  }
25659
25762
 
@@ -25666,12 +25769,12 @@
25666
25769
  const initialSetup = () => {
25667
25770
  checkAttrs();
25668
25771
  setLocale(lang);
25669
- $$invalidate(10, endpointURL = endpoint);
25670
- $$invalidate(11, DS = datasource);
25671
- $$invalidate(12, language = lang);
25672
- $$invalidate(18, mostPlayed = mostplayed);
25673
- $$invalidate(19, fav = favorites);
25674
- $$invalidate(14, hasErrors = false);
25772
+ $$invalidate(11, endpointURL = endpoint);
25773
+ $$invalidate(12, DS = datasource);
25774
+ $$invalidate(13, language = lang);
25775
+ $$invalidate(19, mostPlayed = mostplayed);
25776
+ $$invalidate(20, fav = favorites);
25777
+ $$invalidate(15, hasErrors = false);
25675
25778
  isLoading = false;
25676
25779
  };
25677
25780
 
@@ -25701,7 +25804,7 @@
25701
25804
  };
25702
25805
 
25703
25806
  const setClientStylingURL = () => {
25704
- $$invalidate(13, displayNone = true);
25807
+ $$invalidate(14, displayNone = true);
25705
25808
  let cssFile = document.createElement("style");
25706
25809
 
25707
25810
  fetch(new URL(clientstylingurl)).then(res => res.text()).then(data => {
@@ -25717,7 +25820,7 @@
25717
25820
 
25718
25821
  setTimeout(
25719
25822
  () => {
25720
- $$invalidate(13, displayNone = false);
25823
+ $$invalidate(14, displayNone = false);
25721
25824
  },
25722
25825
  500
25723
25826
  );
@@ -25728,7 +25831,7 @@
25728
25831
  onMount(() => {
25729
25832
  window.addEventListener("message", messageHandler, false);
25730
25833
 
25731
- $$invalidate(16, headerPlaceholderSize = getDevice(userAgent) === "PC"
25834
+ $$invalidate(17, headerPlaceholderSize = getDevice(userAgent) === "PC"
25732
25835
  ? desktopoffset
25733
25836
  : mobileoffset);
25734
25837
 
@@ -25758,7 +25861,8 @@
25758
25861
  "favorites",
25759
25862
  "desktopoffset",
25760
25863
  "mobileoffset",
25761
- "alternativesearch"
25864
+ "alternativesearch",
25865
+ "containermaxwidth"
25762
25866
  ];
25763
25867
 
25764
25868
  Object.keys($$props).forEach(key => {
@@ -25768,32 +25872,33 @@
25768
25872
  function div_binding($$value) {
25769
25873
  binding_callbacks[$$value ? "unshift" : "push"](() => {
25770
25874
  customStylingContainer = $$value;
25771
- $$invalidate(17, customStylingContainer);
25875
+ $$invalidate(18, customStylingContainer);
25772
25876
  });
25773
25877
  }
25774
25878
 
25775
25879
  $$self.$$set = $$props => {
25776
- if ("endpoint" in $$props) $$invalidate(20, endpoint = $$props.endpoint);
25777
- if ("datasource" in $$props) $$invalidate(21, datasource = $$props.datasource);
25778
- if ("lang" in $$props) $$invalidate(22, lang = $$props.lang);
25880
+ if ("endpoint" in $$props) $$invalidate(21, endpoint = $$props.endpoint);
25881
+ if ("datasource" in $$props) $$invalidate(22, datasource = $$props.datasource);
25882
+ if ("lang" in $$props) $$invalidate(23, lang = $$props.lang);
25779
25883
  if ("session" in $$props) $$invalidate(0, session = $$props.session);
25780
25884
  if ("userid" in $$props) $$invalidate(1, userid = $$props.userid);
25781
- if ("opsession" in $$props) $$invalidate(23, opsession = $$props.opsession);
25885
+ if ("opsession" in $$props) $$invalidate(24, opsession = $$props.opsession);
25782
25886
  if ("clientstyling" in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
25783
25887
  if ("clientstylingurl" in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
25784
25888
  if ("clockformat" in $$props) $$invalidate(4, clockformat = $$props.clockformat);
25785
25889
  if ("lobbyid" in $$props) $$invalidate(5, lobbyid = $$props.lobbyid);
25786
- if ("loginurl" in $$props) $$invalidate(24, loginurl = $$props.loginurl);
25787
- if ("registerurl" in $$props) $$invalidate(25, registerurl = $$props.registerurl);
25788
- if ("depositurl" in $$props) $$invalidate(26, depositurl = $$props.depositurl);
25890
+ if ("loginurl" in $$props) $$invalidate(25, loginurl = $$props.loginurl);
25891
+ if ("registerurl" in $$props) $$invalidate(26, registerurl = $$props.registerurl);
25892
+ if ("depositurl" in $$props) $$invalidate(27, depositurl = $$props.depositurl);
25789
25893
  if ("loginevent" in $$props) $$invalidate(6, loginevent = $$props.loginevent);
25790
25894
  if ("registerevent" in $$props) $$invalidate(7, registerevent = $$props.registerevent);
25791
25895
  if ("depositevent" in $$props) $$invalidate(8, depositevent = $$props.depositevent);
25792
- if ("mostplayed" in $$props) $$invalidate(27, mostplayed = $$props.mostplayed);
25793
- if ("favorites" in $$props) $$invalidate(28, favorites = $$props.favorites);
25794
- if ("desktopoffset" in $$props) $$invalidate(29, desktopoffset = $$props.desktopoffset);
25795
- if ("mobileoffset" in $$props) $$invalidate(30, mobileoffset = $$props.mobileoffset);
25896
+ if ("mostplayed" in $$props) $$invalidate(28, mostplayed = $$props.mostplayed);
25897
+ if ("favorites" in $$props) $$invalidate(29, favorites = $$props.favorites);
25898
+ if ("desktopoffset" in $$props) $$invalidate(30, desktopoffset = $$props.desktopoffset);
25899
+ if ("mobileoffset" in $$props) $$invalidate(31, mobileoffset = $$props.mobileoffset);
25796
25900
  if ("alternativesearch" in $$props) $$invalidate(9, alternativesearch = $$props.alternativesearch);
25901
+ if ("containermaxwidth" in $$props) $$invalidate(10, containermaxwidth = $$props.containermaxwidth);
25797
25902
  };
25798
25903
 
25799
25904
  $$self.$capture_state = () => ({
@@ -25823,6 +25928,7 @@
25823
25928
  desktopoffset,
25824
25929
  mobileoffset,
25825
25930
  alternativesearch,
25931
+ containermaxwidth,
25826
25932
  endpointURL,
25827
25933
  DS,
25828
25934
  language,
@@ -25850,44 +25956,45 @@
25850
25956
  });
25851
25957
 
25852
25958
  $$self.$inject_state = $$props => {
25853
- if ("endpoint" in $$props) $$invalidate(20, endpoint = $$props.endpoint);
25854
- if ("datasource" in $$props) $$invalidate(21, datasource = $$props.datasource);
25855
- if ("lang" in $$props) $$invalidate(22, lang = $$props.lang);
25959
+ if ("endpoint" in $$props) $$invalidate(21, endpoint = $$props.endpoint);
25960
+ if ("datasource" in $$props) $$invalidate(22, datasource = $$props.datasource);
25961
+ if ("lang" in $$props) $$invalidate(23, lang = $$props.lang);
25856
25962
  if ("session" in $$props) $$invalidate(0, session = $$props.session);
25857
25963
  if ("userid" in $$props) $$invalidate(1, userid = $$props.userid);
25858
- if ("opsession" in $$props) $$invalidate(23, opsession = $$props.opsession);
25964
+ if ("opsession" in $$props) $$invalidate(24, opsession = $$props.opsession);
25859
25965
  if ("clientstyling" in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
25860
25966
  if ("clientstylingurl" in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
25861
25967
  if ("clockformat" in $$props) $$invalidate(4, clockformat = $$props.clockformat);
25862
25968
  if ("lobbyid" in $$props) $$invalidate(5, lobbyid = $$props.lobbyid);
25863
- if ("loginurl" in $$props) $$invalidate(24, loginurl = $$props.loginurl);
25864
- if ("registerurl" in $$props) $$invalidate(25, registerurl = $$props.registerurl);
25865
- if ("depositurl" in $$props) $$invalidate(26, depositurl = $$props.depositurl);
25969
+ if ("loginurl" in $$props) $$invalidate(25, loginurl = $$props.loginurl);
25970
+ if ("registerurl" in $$props) $$invalidate(26, registerurl = $$props.registerurl);
25971
+ if ("depositurl" in $$props) $$invalidate(27, depositurl = $$props.depositurl);
25866
25972
  if ("loginevent" in $$props) $$invalidate(6, loginevent = $$props.loginevent);
25867
25973
  if ("registerevent" in $$props) $$invalidate(7, registerevent = $$props.registerevent);
25868
25974
  if ("depositevent" in $$props) $$invalidate(8, depositevent = $$props.depositevent);
25869
- if ("mostplayed" in $$props) $$invalidate(27, mostplayed = $$props.mostplayed);
25870
- if ("favorites" in $$props) $$invalidate(28, favorites = $$props.favorites);
25871
- if ("desktopoffset" in $$props) $$invalidate(29, desktopoffset = $$props.desktopoffset);
25872
- if ("mobileoffset" in $$props) $$invalidate(30, mobileoffset = $$props.mobileoffset);
25975
+ if ("mostplayed" in $$props) $$invalidate(28, mostplayed = $$props.mostplayed);
25976
+ if ("favorites" in $$props) $$invalidate(29, favorites = $$props.favorites);
25977
+ if ("desktopoffset" in $$props) $$invalidate(30, desktopoffset = $$props.desktopoffset);
25978
+ if ("mobileoffset" in $$props) $$invalidate(31, mobileoffset = $$props.mobileoffset);
25873
25979
  if ("alternativesearch" in $$props) $$invalidate(9, alternativesearch = $$props.alternativesearch);
25874
- if ("endpointURL" in $$props) $$invalidate(10, endpointURL = $$props.endpointURL);
25875
- if ("DS" in $$props) $$invalidate(11, DS = $$props.DS);
25876
- if ("language" in $$props) $$invalidate(12, language = $$props.language);
25877
- if ("displayNone" in $$props) $$invalidate(13, displayNone = $$props.displayNone);
25878
- if ("hasErrors" in $$props) $$invalidate(14, hasErrors = $$props.hasErrors);
25879
- if ("error" in $$props) $$invalidate(15, error = $$props.error);
25980
+ if ("containermaxwidth" in $$props) $$invalidate(10, containermaxwidth = $$props.containermaxwidth);
25981
+ if ("endpointURL" in $$props) $$invalidate(11, endpointURL = $$props.endpointURL);
25982
+ if ("DS" in $$props) $$invalidate(12, DS = $$props.DS);
25983
+ if ("language" in $$props) $$invalidate(13, language = $$props.language);
25984
+ if ("displayNone" in $$props) $$invalidate(14, displayNone = $$props.displayNone);
25985
+ if ("hasErrors" in $$props) $$invalidate(15, hasErrors = $$props.hasErrors);
25986
+ if ("error" in $$props) $$invalidate(16, error = $$props.error);
25880
25987
  if ("isLoggedIn" in $$props) isLoggedIn = $$props.isLoggedIn;
25881
25988
  if ("sessionID" in $$props) sessionID = $$props.sessionID;
25882
25989
  if ("playerID" in $$props) playerID = $$props.playerID;
25883
25990
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
25884
25991
  if ("isLoading" in $$props) isLoading = $$props.isLoading;
25885
- if ("headerPlaceholderSize" in $$props) $$invalidate(16, headerPlaceholderSize = $$props.headerPlaceholderSize);
25992
+ if ("headerPlaceholderSize" in $$props) $$invalidate(17, headerPlaceholderSize = $$props.headerPlaceholderSize);
25886
25993
  if ("scrollReference" in $$props) scrollReference = $$props.scrollReference;
25887
25994
  if ("scrollTop" in $$props) scrollTop = $$props.scrollTop;
25888
- if ("customStylingContainer" in $$props) $$invalidate(17, customStylingContainer = $$props.customStylingContainer);
25889
- if ("mostPlayed" in $$props) $$invalidate(18, mostPlayed = $$props.mostPlayed);
25890
- if ("fav" in $$props) $$invalidate(19, fav = $$props.fav);
25995
+ if ("customStylingContainer" in $$props) $$invalidate(18, customStylingContainer = $$props.customStylingContainer);
25996
+ if ("mostPlayed" in $$props) $$invalidate(19, mostPlayed = $$props.mostPlayed);
25997
+ if ("fav" in $$props) $$invalidate(20, fav = $$props.fav);
25891
25998
  };
25892
25999
 
25893
26000
  if ($$props && "$$inject" in $$props) {
@@ -25895,15 +26002,15 @@
25895
26002
  }
25896
26003
 
25897
26004
  $$self.$$.update = () => {
25898
- if ($$self.$$.dirty[0] & /*session, userid, endpoint*/ 1048579) {
26005
+ if ($$self.$$.dirty[0] & /*session, userid, endpoint*/ 2097155) {
25899
26006
  session && userid && endpoint && setSession();
25900
26007
  }
25901
26008
 
25902
- if ($$self.$$.dirty[0] & /*endpoint, datasource, lang, mostplayed, favorites*/ 409993216) {
26009
+ if ($$self.$$.dirty[0] & /*endpoint, datasource, lang, mostplayed, favorites*/ 819986432) {
25903
26010
  endpoint && datasource && lang && mostplayed && favorites && initialSetup();
25904
26011
  }
25905
26012
 
25906
- if ($$self.$$.dirty[0] & /*opsession*/ 8388608) {
26013
+ if ($$self.$$.dirty[0] & /*opsession*/ 16777216) {
25907
26014
  opsession && setOpSession();
25908
26015
  }
25909
26016
 
@@ -25927,6 +26034,7 @@
25927
26034
  registerevent,
25928
26035
  depositevent,
25929
26036
  alternativesearch,
26037
+ containermaxwidth,
25930
26038
  endpointURL,
25931
26039
  DS,
25932
26040
  language,
@@ -25968,27 +26076,28 @@
25968
26076
  create_fragment,
25969
26077
  safe_not_equal,
25970
26078
  {
25971
- endpoint: 20,
25972
- datasource: 21,
25973
- lang: 22,
26079
+ endpoint: 21,
26080
+ datasource: 22,
26081
+ lang: 23,
25974
26082
  session: 0,
25975
26083
  userid: 1,
25976
- opsession: 23,
26084
+ opsession: 24,
25977
26085
  clientstyling: 2,
25978
26086
  clientstylingurl: 3,
25979
26087
  clockformat: 4,
25980
26088
  lobbyid: 5,
25981
- loginurl: 24,
25982
- registerurl: 25,
25983
- depositurl: 26,
26089
+ loginurl: 25,
26090
+ registerurl: 26,
26091
+ depositurl: 27,
25984
26092
  loginevent: 6,
25985
26093
  registerevent: 7,
25986
26094
  depositevent: 8,
25987
- mostplayed: 27,
25988
- favorites: 28,
25989
- desktopoffset: 29,
25990
- mobileoffset: 30,
25991
- alternativesearch: 9
26095
+ mostplayed: 28,
26096
+ favorites: 29,
26097
+ desktopoffset: 30,
26098
+ mobileoffset: 31,
26099
+ alternativesearch: 9,
26100
+ containermaxwidth: 10
25992
26101
  },
25993
26102
  [-1, -1]
25994
26103
  );
@@ -26034,12 +26143,13 @@
26034
26143
  "favorites",
26035
26144
  "desktopoffset",
26036
26145
  "mobileoffset",
26037
- "alternativesearch"
26146
+ "alternativesearch",
26147
+ "containermaxwidth"
26038
26148
  ];
26039
26149
  }
26040
26150
 
26041
26151
  get endpoint() {
26042
- return this.$$.ctx[20];
26152
+ return this.$$.ctx[21];
26043
26153
  }
26044
26154
 
26045
26155
  set endpoint(endpoint) {
@@ -26048,7 +26158,7 @@
26048
26158
  }
26049
26159
 
26050
26160
  get datasource() {
26051
- return this.$$.ctx[21];
26161
+ return this.$$.ctx[22];
26052
26162
  }
26053
26163
 
26054
26164
  set datasource(datasource) {
@@ -26057,7 +26167,7 @@
26057
26167
  }
26058
26168
 
26059
26169
  get lang() {
26060
- return this.$$.ctx[22];
26170
+ return this.$$.ctx[23];
26061
26171
  }
26062
26172
 
26063
26173
  set lang(lang) {
@@ -26084,7 +26194,7 @@
26084
26194
  }
26085
26195
 
26086
26196
  get opsession() {
26087
- return this.$$.ctx[23];
26197
+ return this.$$.ctx[24];
26088
26198
  }
26089
26199
 
26090
26200
  set opsession(opsession) {
@@ -26129,7 +26239,7 @@
26129
26239
  }
26130
26240
 
26131
26241
  get loginurl() {
26132
- return this.$$.ctx[24];
26242
+ return this.$$.ctx[25];
26133
26243
  }
26134
26244
 
26135
26245
  set loginurl(loginurl) {
@@ -26138,7 +26248,7 @@
26138
26248
  }
26139
26249
 
26140
26250
  get registerurl() {
26141
- return this.$$.ctx[25];
26251
+ return this.$$.ctx[26];
26142
26252
  }
26143
26253
 
26144
26254
  set registerurl(registerurl) {
@@ -26147,7 +26257,7 @@
26147
26257
  }
26148
26258
 
26149
26259
  get depositurl() {
26150
- return this.$$.ctx[26];
26260
+ return this.$$.ctx[27];
26151
26261
  }
26152
26262
 
26153
26263
  set depositurl(depositurl) {
@@ -26183,7 +26293,7 @@
26183
26293
  }
26184
26294
 
26185
26295
  get mostplayed() {
26186
- return this.$$.ctx[27];
26296
+ return this.$$.ctx[28];
26187
26297
  }
26188
26298
 
26189
26299
  set mostplayed(mostplayed) {
@@ -26192,7 +26302,7 @@
26192
26302
  }
26193
26303
 
26194
26304
  get favorites() {
26195
- return this.$$.ctx[28];
26305
+ return this.$$.ctx[29];
26196
26306
  }
26197
26307
 
26198
26308
  set favorites(favorites) {
@@ -26201,7 +26311,7 @@
26201
26311
  }
26202
26312
 
26203
26313
  get desktopoffset() {
26204
- return this.$$.ctx[29];
26314
+ return this.$$.ctx[30];
26205
26315
  }
26206
26316
 
26207
26317
  set desktopoffset(desktopoffset) {
@@ -26210,7 +26320,7 @@
26210
26320
  }
26211
26321
 
26212
26322
  get mobileoffset() {
26213
- return this.$$.ctx[30];
26323
+ return this.$$.ctx[31];
26214
26324
  }
26215
26325
 
26216
26326
  set mobileoffset(mobileoffset) {
@@ -26226,6 +26336,15 @@
26226
26336
  this.$set({ alternativesearch });
26227
26337
  flush();
26228
26338
  }
26339
+
26340
+ get containermaxwidth() {
26341
+ return this.$$.ctx[10];
26342
+ }
26343
+
26344
+ set containermaxwidth(containermaxwidth) {
26345
+ this.$set({ containermaxwidth });
26346
+ flush();
26347
+ }
26229
26348
  }
26230
26349
 
26231
26350
  !customElements.get('casino-lobby') && customElements.define('casino-lobby', CasinoLobby);