@everymatrix/casino-search 1.26.0 → 1.27.2

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.
@@ -13069,7 +13069,7 @@
13069
13069
  }
13070
13070
 
13071
13071
  // (581:6) {#if gameisnew}
13072
- function create_if_block_9(ctx) {
13072
+ function create_if_block_9$1(ctx) {
13073
13073
  let span;
13074
13074
  let t_value = /*$_*/ ctx[36]('new') + "";
13075
13075
  let t;
@@ -13095,7 +13095,7 @@
13095
13095
 
13096
13096
  dispatch_dev("SvelteRegisterBlock", {
13097
13097
  block,
13098
- id: create_if_block_9.name,
13098
+ id: create_if_block_9$1.name,
13099
13099
  type: "if",
13100
13100
  source: "(581:6) {#if gameisnew}",
13101
13101
  ctx
@@ -13899,7 +13899,7 @@
13899
13899
 
13900
13900
  let current_block_type = select_block_type_1(ctx, [-1, -1, -1, -1]);
13901
13901
  let if_block2 = current_block_type && current_block_type(ctx);
13902
- let if_block3 = /*gameisnew*/ ctx[7] && create_if_block_9(ctx);
13902
+ let if_block3 = /*gameisnew*/ ctx[7] && create_if_block_9$1(ctx);
13903
13903
  let if_block4 = /*gametag*/ ctx[8] && create_if_block_8$1(ctx);
13904
13904
  let if_block5 = /*livegamedata*/ ctx[13] && create_if_block_1$1(ctx);
13905
13905
  let if_block6 = /*showgamename*/ ctx[10] === 'true' && create_if_block$1(ctx);
@@ -14057,7 +14057,7 @@
14057
14057
  if (if_block3) {
14058
14058
  if_block3.p(ctx, dirty);
14059
14059
  } else {
14060
- if_block3 = create_if_block_9(ctx);
14060
+ if_block3 = create_if_block_9$1(ctx);
14061
14061
  if_block3.c();
14062
14062
  if_block3.m(div2, t8);
14063
14063
  }
@@ -15579,7 +15579,7 @@
15579
15579
  }
15580
15580
 
15581
15581
  // (312:10) {#if cancelbutton === 'true'}
15582
- function create_if_block_8(ctx) {
15582
+ function create_if_block_9(ctx) {
15583
15583
  let small;
15584
15584
  let t_value = /*$_*/ ctx[20]('cancel') + "";
15585
15585
  let t;
@@ -15619,7 +15619,7 @@
15619
15619
 
15620
15620
  dispatch_dev("SvelteRegisterBlock", {
15621
15621
  block,
15622
- id: create_if_block_8.name,
15622
+ id: create_if_block_9.name,
15623
15623
  type: "if",
15624
15624
  source: "(312:10) {#if cancelbutton === 'true'}",
15625
15625
  ctx
@@ -15637,7 +15637,7 @@
15637
15637
 
15638
15638
  function select_block_type_1(ctx, dirty) {
15639
15639
  if (/*searchActive*/ ctx[16] == true && /*searchValue*/ ctx[11].length < 2) return create_if_block_4;
15640
- if (/*searchArray*/ ctx[14].length != 0) return create_if_block_7;
15640
+ if (/*searchArray*/ ctx[14].length != 0) return create_if_block_8;
15641
15641
  }
15642
15642
 
15643
15643
  let current_block_type = select_block_type_1(ctx);
@@ -15654,7 +15654,7 @@
15654
15654
  t1 = space();
15655
15655
  if (if_block2) if_block2.c();
15656
15656
  attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[16] == true ? '' : 'NotVisible'));
15657
- add_location(div, file, 342, 6, 12846);
15657
+ add_location(div, file, 344, 6, 12905);
15658
15658
  },
15659
15659
  m: function mount(target, anchor) {
15660
15660
  if (if_block0) if_block0.m(target, anchor);
@@ -15766,8 +15766,8 @@
15766
15766
  return block;
15767
15767
  }
15768
15768
 
15769
- // (340:40)
15770
- function create_if_block_7(ctx) {
15769
+ // (342:40)
15770
+ function create_if_block_8(ctx) {
15771
15771
  let p;
15772
15772
  let t_value = /*$_*/ ctx[20]('searchResult') + "";
15773
15773
  let t;
@@ -15777,7 +15777,7 @@
15777
15777
  p = element("p");
15778
15778
  t = text(t_value);
15779
15779
  attr_dev(p, "class", "SearchMessage");
15780
- add_location(p, file, 340, 8, 12777);
15780
+ add_location(p, file, 342, 8, 12836);
15781
15781
  },
15782
15782
  m: function mount(target, anchor) {
15783
15783
  insert_dev(target, p, anchor);
@@ -15793,9 +15793,9 @@
15793
15793
 
15794
15794
  dispatch_dev("SvelteRegisterBlock", {
15795
15795
  block,
15796
- id: create_if_block_7.name,
15796
+ id: create_if_block_8.name,
15797
15797
  type: "if",
15798
- source: "(340:40) ",
15798
+ source: "(342:40) ",
15799
15799
  ctx
15800
15800
  });
15801
15801
 
@@ -15804,51 +15804,56 @@
15804
15804
 
15805
15805
  // (323:6) {#if searchActive == true && searchValue.length < 2}
15806
15806
  function create_if_block_4(ctx) {
15807
- let p;
15808
- let t0_value = /*$_*/ ctx[20]('recentSearch') + "";
15809
- let t0;
15810
- let t1;
15811
- let if_block_anchor;
15812
- let if_block = /*searchArray*/ ctx[14].length == 0 && create_if_block_5(ctx);
15807
+ let t;
15808
+ let if_block1_anchor;
15809
+ let if_block0 = /*searchArray*/ ctx[14].length !== 0 && create_if_block_7(ctx);
15810
+ let if_block1 = /*searchArray*/ ctx[14].length == 0 && create_if_block_5(ctx);
15813
15811
 
15814
15812
  const block = {
15815
15813
  c: function create() {
15816
- p = element("p");
15817
- t0 = text(t0_value);
15818
- t1 = space();
15819
- if (if_block) if_block.c();
15820
- if_block_anchor = empty();
15821
- attr_dev(p, "class", "SearchMessage");
15822
- add_location(p, file, 323, 8, 11344);
15814
+ if (if_block0) if_block0.c();
15815
+ t = space();
15816
+ if (if_block1) if_block1.c();
15817
+ if_block1_anchor = empty();
15823
15818
  },
15824
15819
  m: function mount(target, anchor) {
15825
- insert_dev(target, p, anchor);
15826
- append_dev(p, t0);
15827
- insert_dev(target, t1, anchor);
15828
- if (if_block) if_block.m(target, anchor);
15829
- insert_dev(target, if_block_anchor, anchor);
15820
+ if (if_block0) if_block0.m(target, anchor);
15821
+ insert_dev(target, t, anchor);
15822
+ if (if_block1) if_block1.m(target, anchor);
15823
+ insert_dev(target, if_block1_anchor, anchor);
15830
15824
  },
15831
15825
  p: function update(ctx, dirty) {
15832
- if (dirty[0] & /*$_*/ 1048576 && t0_value !== (t0_value = /*$_*/ ctx[20]('recentSearch') + "")) set_data_dev(t0, t0_value);
15826
+ if (/*searchArray*/ ctx[14].length !== 0) {
15827
+ if (if_block0) {
15828
+ if_block0.p(ctx, dirty);
15829
+ } else {
15830
+ if_block0 = create_if_block_7(ctx);
15831
+ if_block0.c();
15832
+ if_block0.m(t.parentNode, t);
15833
+ }
15834
+ } else if (if_block0) {
15835
+ if_block0.d(1);
15836
+ if_block0 = null;
15837
+ }
15833
15838
 
15834
15839
  if (/*searchArray*/ ctx[14].length == 0) {
15835
- if (if_block) {
15836
- if_block.p(ctx, dirty);
15840
+ if (if_block1) {
15841
+ if_block1.p(ctx, dirty);
15837
15842
  } else {
15838
- if_block = create_if_block_5(ctx);
15839
- if_block.c();
15840
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
15843
+ if_block1 = create_if_block_5(ctx);
15844
+ if_block1.c();
15845
+ if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
15841
15846
  }
15842
- } else if (if_block) {
15843
- if_block.d(1);
15844
- if_block = null;
15847
+ } else if (if_block1) {
15848
+ if_block1.d(1);
15849
+ if_block1 = null;
15845
15850
  }
15846
15851
  },
15847
15852
  d: function destroy(detaching) {
15848
- if (detaching) detach_dev(p);
15849
- if (detaching) detach_dev(t1);
15850
- if (if_block) if_block.d(detaching);
15851
- if (detaching) detach_dev(if_block_anchor);
15853
+ if (if_block0) if_block0.d(detaching);
15854
+ if (detaching) detach_dev(t);
15855
+ if (if_block1) if_block1.d(detaching);
15856
+ if (detaching) detach_dev(if_block1_anchor);
15852
15857
  }
15853
15858
  };
15854
15859
 
@@ -15863,7 +15868,43 @@
15863
15868
  return block;
15864
15869
  }
15865
15870
 
15866
- // (325:10) {#if searchArray.length == 0}
15871
+ // (324:8) {#if searchArray.length !== 0}
15872
+ function create_if_block_7(ctx) {
15873
+ let p;
15874
+ let t_value = /*$_*/ ctx[20]('recentSearch') + "";
15875
+ let t;
15876
+
15877
+ const block = {
15878
+ c: function create() {
15879
+ p = element("p");
15880
+ t = text(t_value);
15881
+ attr_dev(p, "class", "SearchMessage");
15882
+ add_location(p, file, 324, 10, 11386);
15883
+ },
15884
+ m: function mount(target, anchor) {
15885
+ insert_dev(target, p, anchor);
15886
+ append_dev(p, t);
15887
+ },
15888
+ p: function update(ctx, dirty) {
15889
+ if (dirty[0] & /*$_*/ 1048576 && t_value !== (t_value = /*$_*/ ctx[20]('recentSearch') + "")) set_data_dev(t, t_value);
15890
+ },
15891
+ d: function destroy(detaching) {
15892
+ if (detaching) detach_dev(p);
15893
+ }
15894
+ };
15895
+
15896
+ dispatch_dev("SvelteRegisterBlock", {
15897
+ block,
15898
+ id: create_if_block_7.name,
15899
+ type: "if",
15900
+ source: "(324:8) {#if searchArray.length !== 0}",
15901
+ ctx
15902
+ });
15903
+
15904
+ return block;
15905
+ }
15906
+
15907
+ // (327:10) {#if searchArray.length == 0}
15867
15908
  function create_if_block_5(ctx) {
15868
15909
  let div;
15869
15910
  let t0;
@@ -15881,9 +15922,9 @@
15881
15922
  p = element("p");
15882
15923
  t1 = text(t1_value);
15883
15924
  attr_dev(p, "class", "SearchMessage");
15884
- add_location(p, file, 336, 12, 12640);
15925
+ add_location(p, file, 338, 12, 12699);
15885
15926
  attr_dev(div, "class", div_class_value = "ResultsContainerError " + (/*notfoundicon*/ ctx[10] == 'true' ? 'WithIcon' : ''));
15886
- add_location(div, file, 325, 10, 11444);
15927
+ add_location(div, file, 327, 10, 11503);
15887
15928
  },
15888
15929
  m: function mount(target, anchor) {
15889
15930
  insert_dev(target, div, anchor);
@@ -15920,14 +15961,14 @@
15920
15961
  block,
15921
15962
  id: create_if_block_5.name,
15922
15963
  type: "if",
15923
- source: "(325:10) {#if searchArray.length == 0}",
15964
+ source: "(327:10) {#if searchArray.length == 0}",
15924
15965
  ctx
15925
15966
  });
15926
15967
 
15927
15968
  return block;
15928
15969
  }
15929
15970
 
15930
- // (327:12) {#if notfoundicon === 'true'}
15971
+ // (329:12) {#if notfoundicon === 'true'}
15931
15972
  function create_if_block_6(ctx) {
15932
15973
  let div;
15933
15974
  let svg;
@@ -15950,32 +15991,32 @@
15950
15991
  attr_dev(rect, "rx", "80");
15951
15992
  attr_dev(rect, "fill", "var(--emfe-w-color-contrast, #E6E6E6)");
15952
15993
  attr_dev(rect, "fill-opacity", "0.6");
15953
- add_location(rect, file, 329, 16, 11730);
15994
+ add_location(rect, file, 331, 16, 11789);
15954
15995
  attr_dev(path0, "d", "M152 112L136 96");
15955
15996
  attr_dev(path0, "stroke", "var(--emfe-w-color-contrast, #131313)");
15956
15997
  attr_dev(path0, "stroke-width", "3");
15957
15998
  attr_dev(path0, "stroke-linecap", "square");
15958
15999
  attr_dev(path0, "stroke-linejoin", "round");
15959
- add_location(path0, file, 330, 16, 11858);
16000
+ add_location(path0, file, 332, 16, 11917);
15960
16001
  attr_dev(path1, "d", "M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z");
15961
16002
  attr_dev(path1, "stroke", "var(--emfe-w-color-contrast, #131313)");
15962
16003
  attr_dev(path1, "stroke-width", "3");
15963
16004
  attr_dev(path1, "stroke-linecap", "round");
15964
16005
  attr_dev(path1, "stroke-linejoin", "round");
15965
- add_location(path1, file, 331, 16, 12014);
16006
+ add_location(path1, file, 333, 16, 12073);
15966
16007
  attr_dev(path2, "fill-rule", "evenodd");
15967
16008
  attr_dev(path2, "clip-rule", "evenodd");
15968
16009
  attr_dev(path2, "d", "M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z");
15969
16010
  attr_dev(path2, "fill", "var(--emfe-w-color-contrast, #131313)");
15970
- add_location(path2, file, 332, 16, 12279);
16011
+ add_location(path2, file, 334, 16, 12338);
15971
16012
  attr_dev(svg, "width", "");
15972
16013
  attr_dev(svg, "height", "");
15973
16014
  attr_dev(svg, "viewBox", "0 0 240 160");
15974
16015
  attr_dev(svg, "fill", "none");
15975
16016
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
15976
- add_location(svg, file, 328, 14, 11620);
16017
+ add_location(svg, file, 330, 14, 11679);
15977
16018
  attr_dev(div, "class", "SearchErrorIcon");
15978
- add_location(div, file, 327, 12, 11576);
16019
+ add_location(div, file, 329, 12, 11635);
15979
16020
  },
15980
16021
  m: function mount(target, anchor) {
15981
16022
  insert_dev(target, div, anchor);
@@ -15994,14 +16035,14 @@
15994
16035
  block,
15995
16036
  id: create_if_block_6.name,
15996
16037
  type: "if",
15997
- source: "(327:12) {#if notfoundicon === 'true'}",
16038
+ source: "(329:12) {#if notfoundicon === 'true'}",
15998
16039
  ctx
15999
16040
  });
16000
16041
 
16001
16042
  return block;
16002
16043
  }
16003
16044
 
16004
- // (344:8) {#if searchCancelled === false}
16045
+ // (346:8) {#if searchCancelled === false}
16005
16046
  function create_if_block_3(ctx) {
16006
16047
  let each_1_anchor;
16007
16048
  let each_value = /*searchArray*/ ctx[14];
@@ -16064,14 +16105,14 @@
16064
16105
  block,
16065
16106
  id: create_if_block_3.name,
16066
16107
  type: "if",
16067
- source: "(344:8) {#if searchCancelled === false}",
16108
+ source: "(346:8) {#if searchCancelled === false}",
16068
16109
  ctx
16069
16110
  });
16070
16111
 
16071
16112
  return block;
16072
16113
  }
16073
16114
 
16074
- // (345:10) {#each searchArray as game}
16115
+ // (347:10) {#each searchArray as game}
16075
16116
  function create_each_block(ctx) {
16076
16117
  let casino_game_thumbnail;
16077
16118
  let casino_game_thumbnail_gamethumbnail_value;
@@ -16115,7 +16156,7 @@
16115
16156
  set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
16116
16157
  set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
16117
16158
  set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[7]);
16118
- add_location(casino_game_thumbnail, file, 345, 12, 13015);
16159
+ add_location(casino_game_thumbnail, file, 347, 12, 13074);
16119
16160
  },
16120
16161
  m: function mount(target, anchor) {
16121
16162
  insert_dev(target, casino_game_thumbnail, anchor);
@@ -16220,14 +16261,14 @@
16220
16261
  block,
16221
16262
  id: create_each_block.name,
16222
16263
  type: "each",
16223
- source: "(345:10) {#each searchArray as game}",
16264
+ source: "(347:10) {#each searchArray as game}",
16224
16265
  ctx
16225
16266
  });
16226
16267
 
16227
16268
  return block;
16228
16269
  }
16229
16270
 
16230
- // (372:8) {#if searchValue.length >= 2 && searchArray.length == 0}
16271
+ // (374:8) {#if searchValue.length >= 2 && searchArray.length == 0}
16231
16272
  function create_if_block_1(ctx) {
16232
16273
  let div;
16233
16274
  let t0;
@@ -16252,10 +16293,10 @@
16252
16293
  p1 = element("p");
16253
16294
  t3 = text(t3_value);
16254
16295
  attr_dev(p0, "class", "SearchMessage");
16255
- add_location(p0, file, 383, 12, 15302);
16256
- add_location(p1, file, 384, 12, 15360);
16296
+ add_location(p0, file, 385, 12, 15361);
16297
+ add_location(p1, file, 386, 12, 15419);
16257
16298
  attr_dev(div, "class", div_class_value = "ResultsContainerError " + (/*notfoundicon*/ ctx[10] == 'true' ? 'WithIcon' : ''));
16258
- add_location(div, file, 372, 10, 14090);
16299
+ add_location(div, file, 374, 10, 14149);
16259
16300
  },
16260
16301
  m: function mount(target, anchor) {
16261
16302
  insert_dev(target, div, anchor);
@@ -16296,14 +16337,14 @@
16296
16337
  block,
16297
16338
  id: create_if_block_1.name,
16298
16339
  type: "if",
16299
- source: "(372:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
16340
+ source: "(374:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
16300
16341
  ctx
16301
16342
  });
16302
16343
 
16303
16344
  return block;
16304
16345
  }
16305
16346
 
16306
- // (374:12) {#if notfoundicon === 'true'}
16347
+ // (376:12) {#if notfoundicon === 'true'}
16307
16348
  function create_if_block_2(ctx) {
16308
16349
  let div;
16309
16350
  let svg;
@@ -16326,32 +16367,32 @@
16326
16367
  attr_dev(rect, "rx", "80");
16327
16368
  attr_dev(rect, "fill", "var(--emfe-w-color-contrast, #E6E6E6)");
16328
16369
  attr_dev(rect, "fill-opacity", "0.6");
16329
- add_location(rect, file, 376, 18, 14382);
16370
+ add_location(rect, file, 378, 18, 14441);
16330
16371
  attr_dev(path0, "d", "M152 112L136 96");
16331
16372
  attr_dev(path0, "stroke", "var(--emfe-w-color-contrast, #131313)");
16332
16373
  attr_dev(path0, "stroke-width", "3");
16333
16374
  attr_dev(path0, "stroke-linecap", "square");
16334
16375
  attr_dev(path0, "stroke-linejoin", "round");
16335
- add_location(path0, file, 377, 18, 14512);
16376
+ add_location(path0, file, 379, 18, 14571);
16336
16377
  attr_dev(path1, "d", "M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z");
16337
16378
  attr_dev(path1, "stroke", "var(--emfe-w-color-contrast, #131313)");
16338
16379
  attr_dev(path1, "stroke-width", "3");
16339
16380
  attr_dev(path1, "stroke-linecap", "round");
16340
16381
  attr_dev(path1, "stroke-linejoin", "round");
16341
- add_location(path1, file, 378, 18, 14670);
16382
+ add_location(path1, file, 380, 18, 14729);
16342
16383
  attr_dev(path2, "fill-rule", "evenodd");
16343
16384
  attr_dev(path2, "clip-rule", "evenodd");
16344
16385
  attr_dev(path2, "d", "M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z");
16345
16386
  attr_dev(path2, "fill", "var(--emfe-w-color-contrast, #131313)");
16346
- add_location(path2, file, 379, 18, 14937);
16387
+ add_location(path2, file, 381, 18, 14996);
16347
16388
  attr_dev(svg, "width", "");
16348
16389
  attr_dev(svg, "height", "");
16349
16390
  attr_dev(svg, "viewBox", "0 0 240 160");
16350
16391
  attr_dev(svg, "fill", "none");
16351
16392
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
16352
- add_location(svg, file, 375, 16, 14270);
16393
+ add_location(svg, file, 377, 16, 14329);
16353
16394
  attr_dev(div, "class", "SearchErrorIcon");
16354
- add_location(div, file, 374, 14, 14224);
16395
+ add_location(div, file, 376, 14, 14283);
16355
16396
  },
16356
16397
  m: function mount(target, anchor) {
16357
16398
  insert_dev(target, div, anchor);
@@ -16370,7 +16411,7 @@
16370
16411
  block,
16371
16412
  id: create_if_block_2.name,
16372
16413
  type: "if",
16373
- source: "(374:12) {#if notfoundicon === 'true'}",
16414
+ source: "(376:12) {#if notfoundicon === 'true'}",
16374
16415
  ctx
16375
16416
  });
16376
16417
 
@@ -16401,7 +16442,7 @@
16401
16442
  let t4;
16402
16443
  let mounted;
16403
16444
  let dispose;
16404
- let if_block0 = /*cancelbutton*/ ctx[9] === 'true' && create_if_block_8(ctx);
16445
+ let if_block0 = /*cancelbutton*/ ctx[9] === 'true' && create_if_block_9(ctx);
16405
16446
 
16406
16447
  function select_block_type(ctx, dirty) {
16407
16448
  if (/*isLoading*/ ctx[17]) return create_if_block;
@@ -16538,7 +16579,7 @@
16538
16579
  if (if_block0) {
16539
16580
  if_block0.p(ctx, dirty);
16540
16581
  } else {
16541
- if_block0 = create_if_block_8(ctx);
16582
+ if_block0 = create_if_block_9(ctx);
16542
16583
  if_block0.c();
16543
16584
  if_block0.m(div1, null);
16544
16585
  }