@everymatrix/casino-lobby 0.0.130 → 0.0.134

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.
@@ -4960,7 +4960,7 @@
4960
4960
  return child_ctx;
4961
4961
  }
4962
4962
 
4963
- // (71:6) {#if sliderdata.length > 0}
4963
+ // (74: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();
@@ -5012,14 +5012,14 @@
5012
5012
  block,
5013
5013
  id: create_if_block$9.name,
5014
5014
  type: "if",
5015
- source: "(71:6) {#if sliderdata.length > 0}",
5015
+ source: "(74:6) {#if sliderdata.length > 0}",
5016
5016
  ctx
5017
5017
  });
5018
5018
 
5019
5019
  return block;
5020
5020
  }
5021
5021
 
5022
- // (76:12) {:else}
5022
+ // (79:12) {:else}
5023
5023
  function create_else_block$6(ctx) {
5024
5024
  let t0_value = /*item*/ ctx[20].name + "";
5025
5025
  let t0;
@@ -5060,14 +5060,14 @@
5060
5060
  block,
5061
5061
  id: create_else_block$6.name,
5062
5062
  type: "else",
5063
- source: "(76:12) {:else}",
5063
+ source: "(79:12) {:else}",
5064
5064
  ctx
5065
5065
  });
5066
5066
 
5067
5067
  return block;
5068
5068
  }
5069
5069
 
5070
- // (74:12) {#if location === 'headerMain'}
5070
+ // (77:12) {#if location === 'headerMain'}
5071
5071
  function create_if_block_1$6(ctx) {
5072
5072
  let a;
5073
5073
  let t_value = /*item*/ ctx[20].label + "";
@@ -5079,7 +5079,7 @@
5079
5079
  a = element("a");
5080
5080
  t = text(t_value);
5081
5081
  attr_dev(a, "href", a_href_value = /*item*/ ctx[20].path);
5082
- add_location(a, file$9, 74, 14, 2613);
5082
+ add_location(a, file$9, 77, 14, 2709);
5083
5083
  },
5084
5084
  m: function mount(target, anchor) {
5085
5085
  insert_dev(target, a, anchor);
@@ -5101,14 +5101,14 @@
5101
5101
  block,
5102
5102
  id: create_if_block_1$6.name,
5103
5103
  type: "if",
5104
- source: "(74:12) {#if location === 'headerMain'}",
5104
+ source: "(77:12) {#if location === 'headerMain'}",
5105
5105
  ctx
5106
5106
  });
5107
5107
 
5108
5108
  return block;
5109
5109
  }
5110
5110
 
5111
- // (72:8) {#each sliderdata as item, index (item.id)}
5111
+ // (75: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;
@@ -5136,7 +5136,7 @@
5136
5136
  t = space();
5137
5137
  attr_dev(li, "class", "CarouselItem");
5138
5138
  toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[22]);
5139
- add_location(li, file$9, 72, 10, 2454);
5139
+ add_location(li, file$9, 75, 10, 2550);
5140
5140
  this.first = li;
5141
5141
  },
5142
5142
  m: function mount(target, anchor) {
@@ -5180,7 +5180,7 @@
5180
5180
  block,
5181
5181
  id: create_each_block$3.name,
5182
5182
  type: "each",
5183
- source: "(72:8) {#each sliderdata as item, index (item.id)}",
5183
+ source: "(75:8) {#each sliderdata as item, index (item.id)}",
5184
5184
  ctx
5185
5185
  });
5186
5186
 
@@ -5223,35 +5223,35 @@
5223
5223
  attr_dev(path0, "stroke-linejoin", "round");
5224
5224
  attr_dev(path0, "stroke-width", "2");
5225
5225
  attr_dev(path0, "d", "M15 19l-7-7 7-7");
5226
- add_location(path0, file$9, 65, 8, 2183);
5226
+ add_location(path0, file$9, 68, 8, 2279);
5227
5227
  attr_dev(svg0, "fill", "none");
5228
5228
  attr_dev(svg0, "stroke", "currentColor");
5229
5229
  attr_dev(svg0, "viewBox", "0 0 24 24");
5230
5230
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
5231
- add_location(svg0, file$9, 64, 6, 2080);
5231
+ add_location(svg0, file$9, 67, 6, 2176);
5232
5232
  attr_dev(div0, "class", "CarouselLeftArrow");
5233
- add_location(div0, file$9, 63, 4, 2010);
5233
+ add_location(div0, file$9, 66, 4, 2106);
5234
5234
  attr_dev(ul, "class", "CarouselItems");
5235
- add_location(ul, file$9, 69, 4, 2310);
5235
+ add_location(ul, file$9, 72, 4, 2406);
5236
5236
  attr_dev(path1, "stroke-linecap", "round");
5237
5237
  attr_dev(path1, "stroke-linejoin", "round");
5238
5238
  attr_dev(path1, "stroke-width", "2");
5239
5239
  attr_dev(path1, "d", "M9 5l7 7-7 7");
5240
- add_location(path1, file$9, 85, 8, 3009);
5240
+ add_location(path1, file$9, 88, 8, 3105);
5241
5241
  attr_dev(svg1, "fill", "none");
5242
5242
  attr_dev(svg1, "stroke", "currentColor");
5243
5243
  attr_dev(svg1, "viewBox", "0 0 24 24");
5244
5244
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
5245
- add_location(svg1, file$9, 84, 6, 2906);
5245
+ add_location(svg1, file$9, 87, 6, 3002);
5246
5246
  attr_dev(div1, "class", "CarouselRightArrow");
5247
- add_location(div1, file$9, 83, 4, 2834);
5247
+ add_location(div1, file$9, 86, 4, 2930);
5248
5248
 
5249
5249
  attr_dev(div2, "class", div2_class_value = "CarouselContainer " + (/*location*/ ctx[2] === "headerMain"
5250
5250
  ? "CarouselContainerHeaderMain"
5251
5251
  : ""));
5252
5252
 
5253
- add_location(div2, file$9, 62, 2, 1905);
5254
- add_location(div3, file$9, 61, 0, 1862);
5253
+ add_location(div2, file$9, 65, 2, 2001);
5254
+ add_location(div3, file$9, 64, 0, 1958);
5255
5255
  },
5256
5256
  l: function claim(nodes) {
5257
5257
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5352,6 +5352,10 @@
5352
5352
  }).indexOf(e.data.categoryData.id)
5353
5353
  : 0);
5354
5354
  }
5355
+
5356
+ if (e.data && e.data.type == "SetActiveSliderIndex") {
5357
+ $$invalidate(4, active = e.data.index);
5358
+ }
5355
5359
  };
5356
5360
 
5357
5361
  let scrollLeft = () => {