@everymatrix/casino-search 1.2.0 → 1.2.1

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.
@@ -15180,11 +15180,11 @@
15180
15180
 
15181
15181
  function get_each_context(ctx, list, i) {
15182
15182
  const child_ctx = ctx.slice();
15183
- child_ctx[44] = list[i];
15183
+ child_ctx[45] = list[i];
15184
15184
  return child_ctx;
15185
15185
  }
15186
15186
 
15187
- // (266:4) {:else}
15187
+ // (267:4) {:else}
15188
15188
  function create_else_block(ctx) {
15189
15189
  let t0;
15190
15190
  let div;
@@ -15192,14 +15192,14 @@
15192
15192
  let div_class_value;
15193
15193
 
15194
15194
  function select_block_type_1(ctx, dirty) {
15195
- if (/*searchActive*/ ctx[12] == true && /*searchValue*/ ctx[7].length < 2) return create_if_block_3;
15196
- if (/*searchArray*/ ctx[10].length != 0) return create_if_block_5;
15195
+ if (/*searchActive*/ ctx[13] == true && /*searchValue*/ ctx[8].length < 2) return create_if_block_3;
15196
+ if (/*searchArray*/ ctx[11].length != 0) return create_if_block_5;
15197
15197
  }
15198
15198
 
15199
15199
  let current_block_type = select_block_type_1(ctx);
15200
15200
  let if_block0 = current_block_type && current_block_type(ctx);
15201
- let if_block1 = /*searchCancelled*/ ctx[8] === false && create_if_block_2(ctx);
15202
- let if_block2 = /*searchValue*/ ctx[7].length >= 2 && /*searchArray*/ ctx[10].length == 0 && create_if_block_1(ctx);
15201
+ let if_block1 = /*searchCancelled*/ ctx[9] === false && create_if_block_2(ctx);
15202
+ let if_block2 = /*searchValue*/ ctx[8].length >= 2 && /*searchArray*/ ctx[11].length == 0 && create_if_block_1(ctx);
15203
15203
 
15204
15204
  const block = {
15205
15205
  c: function create() {
@@ -15209,8 +15209,8 @@
15209
15209
  if (if_block1) if_block1.c();
15210
15210
  t1 = space();
15211
15211
  if (if_block2) if_block2.c();
15212
- attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[12] == true ? '' : 'NotVisible'));
15213
- add_location(div, file, 276, 6, 9500);
15212
+ attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'));
15213
+ add_location(div, file, 277, 6, 9538);
15214
15214
  },
15215
15215
  m: function mount(target, anchor) {
15216
15216
  if (if_block0) if_block0.m(target, anchor);
@@ -15233,7 +15233,7 @@
15233
15233
  }
15234
15234
  }
15235
15235
 
15236
- if (/*searchCancelled*/ ctx[8] === false) {
15236
+ if (/*searchCancelled*/ ctx[9] === false) {
15237
15237
  if (if_block1) {
15238
15238
  if_block1.p(ctx, dirty);
15239
15239
  } else {
@@ -15246,7 +15246,7 @@
15246
15246
  if_block1 = null;
15247
15247
  }
15248
15248
 
15249
- if (/*searchValue*/ ctx[7].length >= 2 && /*searchArray*/ ctx[10].length == 0) {
15249
+ if (/*searchValue*/ ctx[8].length >= 2 && /*searchArray*/ ctx[11].length == 0) {
15250
15250
  if (if_block2) {
15251
15251
  if_block2.p(ctx, dirty);
15252
15252
  } else {
@@ -15259,7 +15259,7 @@
15259
15259
  if_block2 = null;
15260
15260
  }
15261
15261
 
15262
- if (dirty[0] & /*searchActive*/ 4096 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[12] == true ? '' : 'NotVisible'))) {
15262
+ if (dirty[0] & /*searchActive*/ 8192 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'))) {
15263
15263
  attr_dev(div, "class", div_class_value);
15264
15264
  }
15265
15265
  },
@@ -15279,31 +15279,31 @@
15279
15279
  block,
15280
15280
  id: create_else_block.name,
15281
15281
  type: "else",
15282
- source: "(266:4) {:else}",
15282
+ source: "(267:4) {:else}",
15283
15283
  ctx
15284
15284
  });
15285
15285
 
15286
15286
  return block;
15287
15287
  }
15288
15288
 
15289
- // (264:4) {#if isLoading}
15289
+ // (265:4) {#if isLoading}
15290
15290
  function create_if_block(ctx) {
15291
15291
  let p;
15292
- let t_value = /*$_*/ ctx[14]('Translations.loading') + "";
15292
+ let t_value = /*$_*/ ctx[15]('Translations.loading') + "";
15293
15293
  let t;
15294
15294
 
15295
15295
  const block = {
15296
15296
  c: function create() {
15297
15297
  p = element("p");
15298
15298
  t = text(t_value);
15299
- add_location(p, file, 264, 6, 8992);
15299
+ add_location(p, file, 265, 6, 9030);
15300
15300
  },
15301
15301
  m: function mount(target, anchor) {
15302
15302
  insert_dev(target, p, anchor);
15303
15303
  append_dev(p, t);
15304
15304
  },
15305
15305
  p: function update(ctx, dirty) {
15306
- if (dirty[0] & /*$_*/ 16384 && t_value !== (t_value = /*$_*/ ctx[14]('Translations.loading') + "")) set_data_dev(t, t_value);
15306
+ if (dirty[0] & /*$_*/ 32768 && t_value !== (t_value = /*$_*/ ctx[15]('Translations.loading') + "")) set_data_dev(t, t_value);
15307
15307
  },
15308
15308
  d: function destroy(detaching) {
15309
15309
  if (detaching) detach_dev(p);
@@ -15314,17 +15314,17 @@
15314
15314
  block,
15315
15315
  id: create_if_block.name,
15316
15316
  type: "if",
15317
- source: "(264:4) {#if isLoading}",
15317
+ source: "(265:4) {#if isLoading}",
15318
15318
  ctx
15319
15319
  });
15320
15320
 
15321
15321
  return block;
15322
15322
  }
15323
15323
 
15324
- // (274:40)
15324
+ // (275:40)
15325
15325
  function create_if_block_5(ctx) {
15326
15326
  let p;
15327
- let t_value = /*$_*/ ctx[14]('Translations.searchResult') + "";
15327
+ let t_value = /*$_*/ ctx[15]('Translations.searchResult') + "";
15328
15328
  let t;
15329
15329
 
15330
15330
  const block = {
@@ -15332,14 +15332,14 @@
15332
15332
  p = element("p");
15333
15333
  t = text(t_value);
15334
15334
  attr_dev(p, "class", "SearchMessage");
15335
- add_location(p, file, 274, 8, 9418);
15335
+ add_location(p, file, 275, 8, 9456);
15336
15336
  },
15337
15337
  m: function mount(target, anchor) {
15338
15338
  insert_dev(target, p, anchor);
15339
15339
  append_dev(p, t);
15340
15340
  },
15341
15341
  p: function update(ctx, dirty) {
15342
- if (dirty[0] & /*$_*/ 16384 && t_value !== (t_value = /*$_*/ ctx[14]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15342
+ if (dirty[0] & /*$_*/ 32768 && t_value !== (t_value = /*$_*/ ctx[15]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15343
15343
  },
15344
15344
  d: function destroy(detaching) {
15345
15345
  if (detaching) detach_dev(p);
@@ -15350,21 +15350,21 @@
15350
15350
  block,
15351
15351
  id: create_if_block_5.name,
15352
15352
  type: "if",
15353
- source: "(274:40) ",
15353
+ source: "(275:40) ",
15354
15354
  ctx
15355
15355
  });
15356
15356
 
15357
15357
  return block;
15358
15358
  }
15359
15359
 
15360
- // (267:6) {#if searchActive == true && searchValue.length < 2}
15360
+ // (268:6) {#if searchActive == true && searchValue.length < 2}
15361
15361
  function create_if_block_3(ctx) {
15362
15362
  let p;
15363
- let t0_value = /*$_*/ ctx[14]('Translations.recentSearch') + "";
15363
+ let t0_value = /*$_*/ ctx[15]('Translations.recentSearch') + "";
15364
15364
  let t0;
15365
15365
  let t1;
15366
15366
  let if_block_anchor;
15367
- let if_block = /*searchArray*/ ctx[10].length == 0 && create_if_block_4(ctx);
15367
+ let if_block = /*searchArray*/ ctx[11].length == 0 && create_if_block_4(ctx);
15368
15368
 
15369
15369
  const block = {
15370
15370
  c: function create() {
@@ -15374,7 +15374,7 @@
15374
15374
  if (if_block) if_block.c();
15375
15375
  if_block_anchor = empty();
15376
15376
  attr_dev(p, "class", "SearchMessage");
15377
- add_location(p, file, 267, 8, 9107);
15377
+ add_location(p, file, 268, 8, 9145);
15378
15378
  },
15379
15379
  m: function mount(target, anchor) {
15380
15380
  insert_dev(target, p, anchor);
@@ -15384,9 +15384,9 @@
15384
15384
  insert_dev(target, if_block_anchor, anchor);
15385
15385
  },
15386
15386
  p: function update(ctx, dirty) {
15387
- if (dirty[0] & /*$_*/ 16384 && t0_value !== (t0_value = /*$_*/ ctx[14]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15387
+ if (dirty[0] & /*$_*/ 32768 && t0_value !== (t0_value = /*$_*/ ctx[15]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15388
15388
 
15389
- if (/*searchArray*/ ctx[10].length == 0) {
15389
+ if (/*searchArray*/ ctx[11].length == 0) {
15390
15390
  if (if_block) {
15391
15391
  if_block.p(ctx, dirty);
15392
15392
  } else {
@@ -15411,18 +15411,18 @@
15411
15411
  block,
15412
15412
  id: create_if_block_3.name,
15413
15413
  type: "if",
15414
- source: "(267:6) {#if searchActive == true && searchValue.length < 2}",
15414
+ source: "(268:6) {#if searchActive == true && searchValue.length < 2}",
15415
15415
  ctx
15416
15416
  });
15417
15417
 
15418
15418
  return block;
15419
15419
  }
15420
15420
 
15421
- // (269:10) {#if searchArray.length == 0}
15421
+ // (270:10) {#if searchArray.length == 0}
15422
15422
  function create_if_block_4(ctx) {
15423
15423
  let div;
15424
15424
  let p;
15425
- let t_value = /*$_*/ ctx[14]('Translations.noRecentSearches') + "";
15425
+ let t_value = /*$_*/ ctx[15]('Translations.noRecentSearches') + "";
15426
15426
  let t;
15427
15427
 
15428
15428
  const block = {
@@ -15431,9 +15431,9 @@
15431
15431
  p = element("p");
15432
15432
  t = text(t_value);
15433
15433
  attr_dev(p, "class", "SearchMessage");
15434
- add_location(p, file, 270, 12, 9268);
15434
+ add_location(p, file, 271, 12, 9306);
15435
15435
  attr_dev(div, "class", "ResultsContainerError");
15436
- add_location(div, file, 269, 10, 9220);
15436
+ add_location(div, file, 270, 10, 9258);
15437
15437
  },
15438
15438
  m: function mount(target, anchor) {
15439
15439
  insert_dev(target, div, anchor);
@@ -15441,7 +15441,7 @@
15441
15441
  append_dev(p, t);
15442
15442
  },
15443
15443
  p: function update(ctx, dirty) {
15444
- if (dirty[0] & /*$_*/ 16384 && t_value !== (t_value = /*$_*/ ctx[14]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15444
+ if (dirty[0] & /*$_*/ 32768 && t_value !== (t_value = /*$_*/ ctx[15]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15445
15445
  },
15446
15446
  d: function destroy(detaching) {
15447
15447
  if (detaching) detach_dev(div);
@@ -15452,17 +15452,17 @@
15452
15452
  block,
15453
15453
  id: create_if_block_4.name,
15454
15454
  type: "if",
15455
- source: "(269:10) {#if searchArray.length == 0}",
15455
+ source: "(270:10) {#if searchArray.length == 0}",
15456
15456
  ctx
15457
15457
  });
15458
15458
 
15459
15459
  return block;
15460
15460
  }
15461
15461
 
15462
- // (278:8) {#if searchCancelled === false}
15462
+ // (279:8) {#if searchCancelled === false}
15463
15463
  function create_if_block_2(ctx) {
15464
15464
  let each_1_anchor;
15465
- let each_value = /*searchArray*/ ctx[10];
15465
+ let each_value = /*searchArray*/ ctx[11];
15466
15466
  validate_each_argument(each_value);
15467
15467
  let each_blocks = [];
15468
15468
 
@@ -15486,8 +15486,8 @@
15486
15486
  insert_dev(target, each_1_anchor, anchor);
15487
15487
  },
15488
15488
  p: function update(ctx, dirty) {
15489
- if (dirty[0] & /*endpoint, showfavorites, lang, searchArray, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl*/ 1151) {
15490
- each_value = /*searchArray*/ ctx[10];
15489
+ if (dirty[0] & /*endpoint, showfavorites, lang, searchArray, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/ 2303) {
15490
+ each_value = /*searchArray*/ ctx[11];
15491
15491
  validate_each_argument(each_value);
15492
15492
  let i;
15493
15493
 
@@ -15520,14 +15520,14 @@
15520
15520
  block,
15521
15521
  id: create_if_block_2.name,
15522
15522
  type: "if",
15523
- source: "(278:8) {#if searchCancelled === false}",
15523
+ source: "(279:8) {#if searchCancelled === false}",
15524
15524
  ctx
15525
15525
  });
15526
15526
 
15527
15527
  return block;
15528
15528
  }
15529
15529
 
15530
- // (279:10) {#each searchArray as game}
15530
+ // (280:10) {#each searchArray as game}
15531
15531
  function create_each_block(ctx) {
15532
15532
  let casino_game_thumbnail;
15533
15533
  let casino_game_thumbnail_gamethumbnail_value;
@@ -15545,27 +15545,28 @@
15545
15545
  c: function create() {
15546
15546
  casino_game_thumbnail = element("casino-game-thumbnail");
15547
15547
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15548
- set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[6]);
15548
+ set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
15549
15549
  set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
15550
- set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[44].thumbnail);
15551
- set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[44].name);
15552
- set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[44].vendor.name);
15553
- set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[44].isNew);
15554
- set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[44].popularity);
15555
- set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[44].cellSize);
15556
- set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[44].id);
15557
- set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[44].hasFunMode);
15558
- set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[44].isFavorite);
15559
-
15560
- set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[44].details
15561
- ? /*game*/ ctx[44].launchUrl
15550
+ set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[45].thumbnail);
15551
+ set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[45].name);
15552
+ set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[45].vendor.name);
15553
+ set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[45].isNew);
15554
+ set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[45].popularity);
15555
+ set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[45].cellSize);
15556
+ set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[45].id);
15557
+ set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[45].hasFunMode);
15558
+ set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[45].isFavorite);
15559
+
15560
+ set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[45].details
15561
+ ? /*game*/ ctx[45].launchUrl
15562
15562
  : '');
15563
15563
 
15564
15564
  set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
15565
15565
  set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
15566
15566
  set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
15567
15567
  set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15568
- add_location(casino_game_thumbnail, file, 279, 12, 9669);
15568
+ set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
15569
+ add_location(casino_game_thumbnail, file, 280, 12, 9707);
15569
15570
  },
15570
15571
  m: function mount(target, anchor) {
15571
15572
  insert_dev(target, casino_game_thumbnail, anchor);
@@ -15575,52 +15576,52 @@
15575
15576
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15576
15577
  }
15577
15578
 
15578
- if (dirty[0] & /*showfavorites*/ 64) {
15579
- set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[6]);
15579
+ if (dirty[0] & /*showfavorites*/ 128) {
15580
+ set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
15580
15581
  }
15581
15582
 
15582
15583
  if (dirty[0] & /*lang*/ 2) {
15583
15584
  set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
15584
15585
  }
15585
15586
 
15586
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[44].thumbnail)) {
15587
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[45].thumbnail)) {
15587
15588
  set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
15588
15589
  }
15589
15590
 
15590
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[44].name)) {
15591
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[45].name)) {
15591
15592
  set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
15592
15593
  }
15593
15594
 
15594
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[44].vendor.name)) {
15595
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[45].vendor.name)) {
15595
15596
  set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
15596
15597
  }
15597
15598
 
15598
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[44].isNew)) {
15599
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[45].isNew)) {
15599
15600
  set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
15600
15601
  }
15601
15602
 
15602
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[44].popularity)) {
15603
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[45].popularity)) {
15603
15604
  set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
15604
15605
  }
15605
15606
 
15606
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[44].cellSize)) {
15607
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[45].cellSize)) {
15607
15608
  set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
15608
15609
  }
15609
15610
 
15610
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[44].id)) {
15611
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[45].id)) {
15611
15612
  set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
15612
15613
  }
15613
15614
 
15614
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[44].hasFunMode)) {
15615
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[45].hasFunMode)) {
15615
15616
  set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
15616
15617
  }
15617
15618
 
15618
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[44].isFavorite)) {
15619
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[45].isFavorite)) {
15619
15620
  set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
15620
15621
  }
15621
15622
 
15622
- if (dirty[0] & /*searchArray*/ 1024 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[44].details
15623
- ? /*game*/ ctx[44].launchUrl
15623
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[45].details
15624
+ ? /*game*/ ctx[45].launchUrl
15624
15625
  : '')) {
15625
15626
  set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
15626
15627
  }
@@ -15640,6 +15641,10 @@
15640
15641
  if (dirty[0] & /*clientstylingurl*/ 8) {
15641
15642
  set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15642
15643
  }
15644
+
15645
+ if (dirty[0] & /*gamepagemodalurl*/ 64) {
15646
+ set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
15647
+ }
15643
15648
  },
15644
15649
  d: function destroy(detaching) {
15645
15650
  if (detaching) detach_dev(casino_game_thumbnail);
@@ -15650,22 +15655,22 @@
15650
15655
  block,
15651
15656
  id: create_each_block.name,
15652
15657
  type: "each",
15653
- source: "(279:10) {#each searchArray as game}",
15658
+ source: "(280:10) {#each searchArray as game}",
15654
15659
  ctx
15655
15660
  });
15656
15661
 
15657
15662
  return block;
15658
15663
  }
15659
15664
 
15660
- // (301:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15665
+ // (303:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15661
15666
  function create_if_block_1(ctx) {
15662
15667
  let div;
15663
15668
  let p0;
15664
- let t0_value = /*$_*/ ctx[14]('Translations.notFound') + "";
15669
+ let t0_value = /*$_*/ ctx[15]('Translations.notFound') + "";
15665
15670
  let t0;
15666
15671
  let t1;
15667
15672
  let p1;
15668
- let t2_value = /*$_*/ ctx[14]('Translations.notFoundText') + "";
15673
+ let t2_value = /*$_*/ ctx[15]('Translations.notFoundText') + "";
15669
15674
  let t2;
15670
15675
 
15671
15676
  const block = {
@@ -15677,10 +15682,10 @@
15677
15682
  p1 = element("p");
15678
15683
  t2 = text(t2_value);
15679
15684
  attr_dev(p0, "class", "SearchMessage");
15680
- add_location(p0, file, 302, 12, 10575);
15681
- add_location(p1, file, 303, 12, 10646);
15685
+ add_location(p0, file, 304, 12, 10646);
15686
+ add_location(p1, file, 305, 12, 10717);
15682
15687
  attr_dev(div, "class", "ResultsContainerError");
15683
- add_location(div, file, 301, 10, 10527);
15688
+ add_location(div, file, 303, 10, 10598);
15684
15689
  },
15685
15690
  m: function mount(target, anchor) {
15686
15691
  insert_dev(target, div, anchor);
@@ -15691,8 +15696,8 @@
15691
15696
  append_dev(p1, t2);
15692
15697
  },
15693
15698
  p: function update(ctx, dirty) {
15694
- if (dirty[0] & /*$_*/ 16384 && t0_value !== (t0_value = /*$_*/ ctx[14]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15695
- if (dirty[0] & /*$_*/ 16384 && t2_value !== (t2_value = /*$_*/ ctx[14]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15699
+ if (dirty[0] & /*$_*/ 32768 && t0_value !== (t0_value = /*$_*/ ctx[15]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15700
+ if (dirty[0] & /*$_*/ 32768 && t2_value !== (t2_value = /*$_*/ ctx[15]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15696
15701
  },
15697
15702
  d: function destroy(detaching) {
15698
15703
  if (detaching) detach_dev(div);
@@ -15703,7 +15708,7 @@
15703
15708
  block,
15704
15709
  id: create_if_block_1.name,
15705
15710
  type: "if",
15706
- source: "(301:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15711
+ source: "(303:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15707
15712
  ctx
15708
15713
  });
15709
15714
 
@@ -15728,7 +15733,7 @@
15728
15733
  let span_class_value;
15729
15734
  let t2;
15730
15735
  let small;
15731
- let t3_value = /*$_*/ ctx[14]('Translations.cancel') + "";
15736
+ let t3_value = /*$_*/ ctx[15]('Translations.cancel') + "";
15732
15737
  let t3;
15733
15738
  let small_class_value;
15734
15739
  let t4;
@@ -15736,7 +15741,7 @@
15736
15741
  let dispose;
15737
15742
 
15738
15743
  function select_block_type(ctx, dirty) {
15739
- if (/*isLoading*/ ctx[13]) return create_if_block;
15744
+ if (/*isLoading*/ ctx[14]) return create_if_block;
15740
15745
  return create_else_block;
15741
15746
  }
15742
15747
 
@@ -15769,45 +15774,45 @@
15769
15774
  attr_dev(path0, "stroke-linecap", "round");
15770
15775
  attr_dev(path0, "stroke-linejoin", "round");
15771
15776
  attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
15772
- add_location(path0, file, 247, 10, 7963);
15777
+ add_location(path0, file, 248, 10, 8001);
15773
15778
  attr_dev(circle, "cx", "6.5");
15774
15779
  attr_dev(circle, "cy", "6.5");
15775
15780
  attr_dev(circle, "r", "5.75");
15776
15781
  attr_dev(circle, "stroke", "#212121");
15777
15782
  attr_dev(circle, "stroke-width", "1.5");
15778
- add_location(circle, file, 248, 10, 8091);
15783
+ add_location(circle, file, 249, 10, 8129);
15779
15784
  attr_dev(svg0, "width", "14");
15780
15785
  attr_dev(svg0, "height", "15");
15781
15786
  attr_dev(svg0, "fill", "none");
15782
15787
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
15783
- add_location(svg0, file, 246, 8, 7877);
15788
+ add_location(svg0, file, 247, 8, 7915);
15784
15789
  attr_dev(div0, "class", "SearchIcon");
15785
- add_location(div0, file, 245, 6, 7844);
15790
+ add_location(div0, file, 246, 6, 7882);
15786
15791
  attr_dev(input, "class", "SearchInput");
15787
15792
  attr_dev(input, "type", "search");
15788
- attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[14]('Translations.placeHolderSearchGames'));
15789
- add_location(input, file, 252, 8, 8236);
15793
+ attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[15]('Translations.placeHolderSearchGames'));
15794
+ add_location(input, file, 253, 8, 8274);
15790
15795
  attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
15791
15796
  attr_dev(path1, "stroke", "#717171");
15792
15797
  attr_dev(path1, "stroke-width", "2");
15793
15798
  attr_dev(path1, "stroke-linecap", "round");
15794
15799
  attr_dev(path1, "stroke-linejoin", "round");
15795
- add_location(path1, file, 255, 12, 8623);
15800
+ add_location(path1, file, 256, 12, 8661);
15796
15801
  attr_dev(svg1, "width", "11");
15797
15802
  attr_dev(svg1, "height", "11");
15798
15803
  attr_dev(svg1, "fill", "none");
15799
15804
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
15800
- add_location(svg1, file, 254, 10, 8535);
15801
- attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[7].length != 0 ? '' : 'NotVisible'));
15802
- add_location(span, file, 253, 8, 8414);
15805
+ add_location(svg1, file, 255, 10, 8573);
15806
+ attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'));
15807
+ add_location(span, file, 254, 8, 8452);
15803
15808
  attr_dev(div1, "class", "SearchContainer");
15804
- add_location(div1, file, 251, 6, 8198);
15805
- attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[8] ? 'NotVisible' : ''));
15806
- add_location(small, file, 259, 6, 8799);
15809
+ add_location(div1, file, 252, 6, 8236);
15810
+ attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''));
15811
+ add_location(small, file, 260, 6, 8837);
15807
15812
  attr_dev(div2, "class", "Search");
15808
- add_location(div2, file, 244, 4, 7817);
15813
+ add_location(div2, file, 245, 4, 7855);
15809
15814
  attr_dev(div3, "class", "CasinoSearch");
15810
- add_location(div3, file, 243, 2, 7751);
15815
+ add_location(div3, file, 244, 2, 7789);
15811
15816
  },
15812
15817
  l: function claim(nodes) {
15813
15818
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -15822,8 +15827,8 @@
15822
15827
  append_dev(div2, t0);
15823
15828
  append_dev(div2, div1);
15824
15829
  append_dev(div1, input);
15825
- set_input_value(input, /*searchValue*/ ctx[7]);
15826
- /*input_binding*/ ctx[22](input);
15830
+ set_input_value(input, /*searchValue*/ ctx[8]);
15831
+ /*input_binding*/ ctx[23](input);
15827
15832
  append_dev(div1, t1);
15828
15833
  append_dev(div1, span);
15829
15834
  append_dev(span, svg1);
@@ -15833,35 +15838,35 @@
15833
15838
  append_dev(small, t3);
15834
15839
  append_dev(div3, t4);
15835
15840
  if_block.m(div3, null);
15836
- /*div3_binding*/ ctx[25](div3);
15841
+ /*div3_binding*/ ctx[26](div3);
15837
15842
 
15838
15843
  if (!mounted) {
15839
15844
  dispose = [
15840
- listen_dev(input, "input", /*input_input_handler*/ ctx[21]),
15841
- listen_dev(input, "focus", /*onFocus*/ ctx[15], false, false, false),
15842
- listen_dev(span, "click", /*click_handler*/ ctx[23], false, false, false),
15843
- listen_dev(small, "click", /*click_handler_1*/ ctx[24], false, false, false)
15845
+ listen_dev(input, "input", /*input_input_handler*/ ctx[22]),
15846
+ listen_dev(input, "focus", /*onFocus*/ ctx[16], false, false, false),
15847
+ listen_dev(span, "click", /*click_handler*/ ctx[24], false, false, false),
15848
+ listen_dev(small, "click", /*click_handler_1*/ ctx[25], false, false, false)
15844
15849
  ];
15845
15850
 
15846
15851
  mounted = true;
15847
15852
  }
15848
15853
  },
15849
15854
  p: function update(ctx, dirty) {
15850
- if (dirty[0] & /*$_*/ 16384 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[14]('Translations.placeHolderSearchGames'))) {
15855
+ if (dirty[0] & /*$_*/ 32768 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[15]('Translations.placeHolderSearchGames'))) {
15851
15856
  attr_dev(input, "placeholder", input_placeholder_value);
15852
15857
  }
15853
15858
 
15854
- if (dirty[0] & /*searchValue*/ 128) {
15855
- set_input_value(input, /*searchValue*/ ctx[7]);
15859
+ if (dirty[0] & /*searchValue*/ 256) {
15860
+ set_input_value(input, /*searchValue*/ ctx[8]);
15856
15861
  }
15857
15862
 
15858
- if (dirty[0] & /*searchValue*/ 128 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[7].length != 0 ? '' : 'NotVisible'))) {
15863
+ if (dirty[0] & /*searchValue*/ 256 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'))) {
15859
15864
  attr_dev(span, "class", span_class_value);
15860
15865
  }
15861
15866
 
15862
- if (dirty[0] & /*$_*/ 16384 && t3_value !== (t3_value = /*$_*/ ctx[14]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15867
+ if (dirty[0] & /*$_*/ 32768 && t3_value !== (t3_value = /*$_*/ ctx[15]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15863
15868
 
15864
- if (dirty[0] & /*searchCancelled*/ 256 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[8] ? 'NotVisible' : ''))) {
15869
+ if (dirty[0] & /*searchCancelled*/ 512 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''))) {
15865
15870
  attr_dev(small, "class", small_class_value);
15866
15871
  }
15867
15872
 
@@ -15881,9 +15886,9 @@
15881
15886
  o: noop$1,
15882
15887
  d: function destroy(detaching) {
15883
15888
  if (detaching) detach_dev(div3);
15884
- /*input_binding*/ ctx[22](null);
15889
+ /*input_binding*/ ctx[23](null);
15885
15890
  if_block.d();
15886
- /*div3_binding*/ ctx[25](null);
15891
+ /*div3_binding*/ ctx[26](null);
15887
15892
  mounted = false;
15888
15893
  run_all(dispose);
15889
15894
  }
@@ -15903,7 +15908,7 @@
15903
15908
  function instance($$self, $$props, $$invalidate) {
15904
15909
  let $_;
15905
15910
  validate_store(Y, '_');
15906
- component_subscribe($$self, Y, $$value => $$invalidate(14, $_ = $$value));
15911
+ component_subscribe($$self, Y, $$value => $$invalidate(15, $_ = $$value));
15907
15912
  let { $$slots: slots = {}, $$scope } = $$props;
15908
15913
  validate_slots('undefined', slots, []);
15909
15914
  let { endpoint = '' } = $$props;
@@ -15913,6 +15918,7 @@
15913
15918
  let { clientstylingurl = '' } = $$props;
15914
15919
  let { integratedgameframedesktop = 'false' } = $$props;
15915
15920
  let { integratedgameframemobile = 'false' } = $$props;
15921
+ let { gamepagemodalurl = 'true' } = $$props;
15916
15922
  let { translationUrl = '' } = $$props;
15917
15923
  let { showfavorites = '' } = $$props;
15918
15924
  let userAgent = window.navigator.userAgent;
@@ -15958,13 +15964,13 @@
15958
15964
  if (e.data.type === 'UserSessionID') {
15959
15965
  sessionID = e.data.session;
15960
15966
  playerID = e.data.userid;
15961
- $$invalidate(20, isLoggedIn = true);
15967
+ $$invalidate(21, isLoggedIn = true);
15962
15968
  }
15963
15969
  };
15964
15970
 
15965
15971
  const onFocus = () => {
15966
- $$invalidate(8, searchCancelled = false);
15967
- $$invalidate(12, searchActive = true);
15972
+ $$invalidate(9, searchCancelled = false);
15973
+ $$invalidate(13, searchActive = true);
15968
15974
 
15969
15975
  if (endpoint && datasource && lang) {
15970
15976
  if (searchValue.length < 2) {
@@ -15989,7 +15995,7 @@
15989
15995
  }
15990
15996
 
15991
15997
  Promise.all(promises).then(res => {
15992
- $$invalidate(10, searchArray = res.map(item => {
15998
+ $$invalidate(11, searchArray = res.map(item => {
15993
15999
  item.isFavorite = checkFavorite(item.id);
15994
16000
  return item;
15995
16001
  }));
@@ -16008,13 +16014,13 @@
16008
16014
 
16009
16015
  const getGames = url => {
16010
16016
  return new Promise((resolve, reject) => {
16011
- $$invalidate(13, isLoading = true);
16017
+ $$invalidate(14, isLoading = true);
16012
16018
 
16013
16019
  fetch(url.href).then(res => res.json()).then(games => {
16014
- $$invalidate(13, isLoading = false);
16020
+ $$invalidate(14, isLoading = false);
16015
16021
  resolve(games);
16016
16022
  }).catch(err => {
16017
- $$invalidate(13, isLoading = false);
16023
+ $$invalidate(14, isLoading = false);
16018
16024
  console.error(err);
16019
16025
  reject(err);
16020
16026
  });
@@ -16023,18 +16029,18 @@
16023
16029
 
16024
16030
  const getGame = (url, gameId) => {
16025
16031
  return new Promise((resolve, reject) => {
16026
- $$invalidate(13, isLoading = true);
16032
+ $$invalidate(14, isLoading = true);
16027
16033
 
16028
16034
  if (gameId && Object.keys(gamesCache).indexOf(gameId) >= 0) {
16029
- $$invalidate(13, isLoading = false);
16035
+ $$invalidate(14, isLoading = false);
16030
16036
  resolve(gamesCache[gameId]);
16031
16037
  } else {
16032
16038
  fetch(url).then(fetchRes => fetchRes.json()).then(gameData => {
16033
- $$invalidate(13, isLoading = false);
16039
+ $$invalidate(14, isLoading = false);
16034
16040
  gamesCache[gameData[0].gameId] = gameData[0];
16035
16041
  resolve(gameData[0]);
16036
16042
  }).catch(err => {
16037
- $$invalidate(13, isLoading = false);
16043
+ $$invalidate(14, isLoading = false);
16038
16044
  console.error(err);
16039
16045
  reject(err);
16040
16046
  });
@@ -16044,7 +16050,7 @@
16044
16050
 
16045
16051
  const getFavoriteGames = () => {
16046
16052
  const url = new URL(`${endpoint}/player/${playerID}/favorites/`);
16047
- $$invalidate(13, isLoading = true);
16053
+ $$invalidate(14, isLoading = true);
16048
16054
 
16049
16055
  let options = {
16050
16056
  method: "GET",
@@ -16052,7 +16058,7 @@
16052
16058
  };
16053
16059
 
16054
16060
  fetch(url.href, options).then(res => res.json()).then(favoriteGames => {
16055
- $$invalidate(13, isLoading = false);
16061
+ $$invalidate(14, isLoading = false);
16056
16062
  favoriteGamesIds = favoriteGames.items.map(favoriteGame => favoriteGame.id);
16057
16063
  });
16058
16064
  };
@@ -16091,16 +16097,16 @@
16091
16097
  };
16092
16098
 
16093
16099
  const cancelSearch = () => {
16094
- $$invalidate(7, searchValue = '');
16095
- $$invalidate(8, searchCancelled = true);
16096
- $$invalidate(13, isLoading = false);
16097
- $$invalidate(10, searchArray = []);
16098
- $$invalidate(12, searchActive = false);
16100
+ $$invalidate(8, searchValue = '');
16101
+ $$invalidate(9, searchCancelled = true);
16102
+ $$invalidate(14, isLoading = false);
16103
+ $$invalidate(11, searchArray = []);
16104
+ $$invalidate(13, searchActive = false);
16099
16105
  sendSearchStatus(searchActive);
16100
16106
  };
16101
16107
 
16102
16108
  const clearSearch = () => {
16103
- $$invalidate(7, searchValue = '');
16109
+ $$invalidate(8, searchValue = '');
16104
16110
  searchElement.focus();
16105
16111
  };
16106
16112
 
@@ -16156,6 +16162,7 @@
16156
16162
  'clientstylingurl',
16157
16163
  'integratedgameframedesktop',
16158
16164
  'integratedgameframemobile',
16165
+ 'gamepagemodalurl',
16159
16166
  'translationUrl',
16160
16167
  'showfavorites'
16161
16168
  ];
@@ -16166,13 +16173,13 @@
16166
16173
 
16167
16174
  function input_input_handler() {
16168
16175
  searchValue = this.value;
16169
- $$invalidate(7, searchValue);
16176
+ $$invalidate(8, searchValue);
16170
16177
  }
16171
16178
 
16172
16179
  function input_binding($$value) {
16173
16180
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16174
16181
  searchElement = $$value;
16175
- $$invalidate(11, searchElement);
16182
+ $$invalidate(12, searchElement);
16176
16183
  });
16177
16184
  }
16178
16185
 
@@ -16182,20 +16189,21 @@
16182
16189
  function div3_binding($$value) {
16183
16190
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16184
16191
  customStylingContainer = $$value;
16185
- $$invalidate(9, customStylingContainer);
16192
+ $$invalidate(10, customStylingContainer);
16186
16193
  });
16187
16194
  }
16188
16195
 
16189
16196
  $$self.$$set = $$props => {
16190
16197
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16191
- if ('datasource' in $$props) $$invalidate(18, datasource = $$props.datasource);
16198
+ if ('datasource' in $$props) $$invalidate(19, datasource = $$props.datasource);
16192
16199
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16193
16200
  if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16194
16201
  if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16195
16202
  if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16196
16203
  if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16197
- if ('translationUrl' in $$props) $$invalidate(19, translationUrl = $$props.translationUrl);
16198
- if ('showfavorites' in $$props) $$invalidate(6, showfavorites = $$props.showfavorites);
16204
+ if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
16205
+ if ('translationUrl' in $$props) $$invalidate(20, translationUrl = $$props.translationUrl);
16206
+ if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
16199
16207
  };
16200
16208
 
16201
16209
  $$self.$capture_state = () => ({
@@ -16212,6 +16220,7 @@
16212
16220
  clientstylingurl,
16213
16221
  integratedgameframedesktop,
16214
16222
  integratedgameframemobile,
16223
+ gamepagemodalurl,
16215
16224
  translationUrl,
16216
16225
  showfavorites,
16217
16226
  userAgent,
@@ -16248,25 +16257,26 @@
16248
16257
 
16249
16258
  $$self.$inject_state = $$props => {
16250
16259
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16251
- if ('datasource' in $$props) $$invalidate(18, datasource = $$props.datasource);
16260
+ if ('datasource' in $$props) $$invalidate(19, datasource = $$props.datasource);
16252
16261
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16253
16262
  if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16254
16263
  if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16255
16264
  if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16256
16265
  if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16257
- if ('translationUrl' in $$props) $$invalidate(19, translationUrl = $$props.translationUrl);
16258
- if ('showfavorites' in $$props) $$invalidate(6, showfavorites = $$props.showfavorites);
16259
- if ('userAgent' in $$props) $$invalidate(31, userAgent = $$props.userAgent);
16260
- if ('searchArray' in $$props) $$invalidate(10, searchArray = $$props.searchArray);
16266
+ if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
16267
+ if ('translationUrl' in $$props) $$invalidate(20, translationUrl = $$props.translationUrl);
16268
+ if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
16269
+ if ('userAgent' in $$props) $$invalidate(32, userAgent = $$props.userAgent);
16270
+ if ('searchArray' in $$props) $$invalidate(11, searchArray = $$props.searchArray);
16261
16271
  if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
16262
16272
  if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
16263
- if ('searchValue' in $$props) $$invalidate(7, searchValue = $$props.searchValue);
16264
- if ('searchElement' in $$props) $$invalidate(11, searchElement = $$props.searchElement);
16265
- if ('searchCancelled' in $$props) $$invalidate(8, searchCancelled = $$props.searchCancelled);
16266
- if ('searchActive' in $$props) $$invalidate(12, searchActive = $$props.searchActive);
16267
- if ('isLoading' in $$props) $$invalidate(13, isLoading = $$props.isLoading);
16268
- if ('customStylingContainer' in $$props) $$invalidate(9, customStylingContainer = $$props.customStylingContainer);
16269
- if ('isLoggedIn' in $$props) $$invalidate(20, isLoggedIn = $$props.isLoggedIn);
16273
+ if ('searchValue' in $$props) $$invalidate(8, searchValue = $$props.searchValue);
16274
+ if ('searchElement' in $$props) $$invalidate(12, searchElement = $$props.searchElement);
16275
+ if ('searchCancelled' in $$props) $$invalidate(9, searchCancelled = $$props.searchCancelled);
16276
+ if ('searchActive' in $$props) $$invalidate(13, searchActive = $$props.searchActive);
16277
+ if ('isLoading' in $$props) $$invalidate(14, isLoading = $$props.isLoading);
16278
+ if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
16279
+ if ('isLoggedIn' in $$props) $$invalidate(21, isLoggedIn = $$props.isLoggedIn);
16270
16280
  if ('sessionID' in $$props) sessionID = $$props.sessionID;
16271
16281
  if ('playerID' in $$props) playerID = $$props.playerID;
16272
16282
  if ('favoriteGamesIds' in $$props) favoriteGamesIds = $$props.favoriteGamesIds;
@@ -16277,7 +16287,7 @@
16277
16287
  }
16278
16288
 
16279
16289
  $$self.$$.update = () => {
16280
- if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 262531) {
16290
+ if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 525059) {
16281
16291
  if (searchValue.length >= 2) {
16282
16292
  const searchUrl = new URL(`${endpoint}/casino/games`);
16283
16293
  searchUrl.searchParams.append("datasource", datasource);
@@ -16288,7 +16298,7 @@
16288
16298
  searchUrl.searchParams.append("filter", `name=${searchValue}`);
16289
16299
 
16290
16300
  getGames(searchUrl).then(searchData => {
16291
- $$invalidate(10, searchArray = searchData.items.map(item => {
16301
+ $$invalidate(11, searchArray = searchData.items.map(item => {
16292
16302
  item.isFavorite = checkFavorite(item.id);
16293
16303
  return item;
16294
16304
  }));
@@ -16304,19 +16314,19 @@
16304
16314
  lang && setActiveLanguage();
16305
16315
  }
16306
16316
 
16307
- if ($$self.$$.dirty[0] & /*translationUrl*/ 524288) {
16317
+ if ($$self.$$.dirty[0] & /*translationUrl*/ 1048576) {
16308
16318
  translationUrl && setTranslationUrl();
16309
16319
  }
16310
16320
 
16311
- if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/ 1048640) {
16321
+ if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/ 2097280) {
16312
16322
  showfavorites && isLoggedIn && getFavoriteGames();
16313
16323
  }
16314
16324
 
16315
- if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/ 516) {
16325
+ if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/ 1028) {
16316
16326
  clientstyling && customStylingContainer && setClientStyling();
16317
16327
  }
16318
16328
 
16319
- if ($$self.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/ 520) {
16329
+ if ($$self.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/ 1032) {
16320
16330
  clientstylingurl && customStylingContainer && setClientStylingURL();
16321
16331
  }
16322
16332
  };
@@ -16328,6 +16338,7 @@
16328
16338
  clientstylingurl,
16329
16339
  integratedgameframedesktop,
16330
16340
  integratedgameframemobile,
16341
+ gamepagemodalurl,
16331
16342
  showfavorites,
16332
16343
  searchValue,
16333
16344
  searchCancelled,
@@ -16368,14 +16379,15 @@
16368
16379
  safe_not_equal,
16369
16380
  {
16370
16381
  endpoint: 0,
16371
- datasource: 18,
16382
+ datasource: 19,
16372
16383
  lang: 1,
16373
16384
  clientstyling: 2,
16374
16385
  clientstylingurl: 3,
16375
16386
  integratedgameframedesktop: 4,
16376
16387
  integratedgameframemobile: 5,
16377
- translationUrl: 19,
16378
- showfavorites: 6
16388
+ gamepagemodalurl: 6,
16389
+ translationUrl: 20,
16390
+ showfavorites: 7
16379
16391
  },
16380
16392
  null,
16381
16393
  [-1, -1]
@@ -16402,6 +16414,7 @@
16402
16414
  "clientstylingurl",
16403
16415
  "integratedgameframedesktop",
16404
16416
  "integratedgameframemobile",
16417
+ "gamepagemodalurl",
16405
16418
  "translationUrl",
16406
16419
  "showfavorites"
16407
16420
  ];
@@ -16417,7 +16430,7 @@
16417
16430
  }
16418
16431
 
16419
16432
  get datasource() {
16420
- return this.$$.ctx[18];
16433
+ return this.$$.ctx[19];
16421
16434
  }
16422
16435
 
16423
16436
  set datasource(datasource) {
@@ -16470,8 +16483,17 @@
16470
16483
  flush();
16471
16484
  }
16472
16485
 
16486
+ get gamepagemodalurl() {
16487
+ return this.$$.ctx[6];
16488
+ }
16489
+
16490
+ set gamepagemodalurl(gamepagemodalurl) {
16491
+ this.$$set({ gamepagemodalurl });
16492
+ flush();
16493
+ }
16494
+
16473
16495
  get translationUrl() {
16474
- return this.$$.ctx[19];
16496
+ return this.$$.ctx[20];
16475
16497
  }
16476
16498
 
16477
16499
  set translationUrl(translationUrl) {
@@ -16480,7 +16502,7 @@
16480
16502
  }
16481
16503
 
16482
16504
  get showfavorites() {
16483
- return this.$$.ctx[6];
16505
+ return this.$$.ctx[7];
16484
16506
  }
16485
16507
 
16486
16508
  set showfavorites(showfavorites) {