@everymatrix/casino-lobby 0.0.128 → 0.0.132
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.
- package/dist/casino-lobby.js +88 -46
- package/dist/casino-lobby.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-lobby.js
CHANGED
|
@@ -4960,7 +4960,66 @@
|
|
|
4960
4960
|
return child_ctx;
|
|
4961
4961
|
}
|
|
4962
4962
|
|
|
4963
|
-
// (
|
|
4963
|
+
// (71:6) {#if sliderdata.length > 0}
|
|
4964
|
+
function create_if_block$9(ctx) {
|
|
4965
|
+
let each_blocks = [];
|
|
4966
|
+
let each_1_lookup = new Map();
|
|
4967
|
+
let each_1_anchor;
|
|
4968
|
+
let each_value = /*sliderdata*/ ctx[0];
|
|
4969
|
+
validate_each_argument(each_value);
|
|
4970
|
+
const get_key = ctx => /*item*/ ctx[20].id;
|
|
4971
|
+
validate_each_keys(ctx, each_value, get_each_context$3, get_key);
|
|
4972
|
+
|
|
4973
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
4974
|
+
let child_ctx = get_each_context$3(ctx, each_value, i);
|
|
4975
|
+
let key = get_key(child_ctx);
|
|
4976
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block$3(key, child_ctx));
|
|
4977
|
+
}
|
|
4978
|
+
|
|
4979
|
+
const block = {
|
|
4980
|
+
c: function create() {
|
|
4981
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
4982
|
+
each_blocks[i].c();
|
|
4983
|
+
}
|
|
4984
|
+
|
|
4985
|
+
each_1_anchor = empty();
|
|
4986
|
+
},
|
|
4987
|
+
m: function mount(target, anchor) {
|
|
4988
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
4989
|
+
each_blocks[i].m(target, anchor);
|
|
4990
|
+
}
|
|
4991
|
+
|
|
4992
|
+
insert_dev(target, each_1_anchor, anchor);
|
|
4993
|
+
},
|
|
4994
|
+
p: function update(ctx, dirty) {
|
|
4995
|
+
if (dirty & /*active, sliderdata, handleClick, location, favoritesnumber*/ 87) {
|
|
4996
|
+
each_value = /*sliderdata*/ ctx[0];
|
|
4997
|
+
validate_each_argument(each_value);
|
|
4998
|
+
validate_each_keys(ctx, each_value, get_each_context$3, get_key);
|
|
4999
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, each_1_anchor.parentNode, destroy_block, create_each_block$3, each_1_anchor, get_each_context$3);
|
|
5000
|
+
}
|
|
5001
|
+
},
|
|
5002
|
+
d: function destroy(detaching) {
|
|
5003
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
5004
|
+
each_blocks[i].d(detaching);
|
|
5005
|
+
}
|
|
5006
|
+
|
|
5007
|
+
if (detaching) detach_dev(each_1_anchor);
|
|
5008
|
+
}
|
|
5009
|
+
};
|
|
5010
|
+
|
|
5011
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
5012
|
+
block,
|
|
5013
|
+
id: create_if_block$9.name,
|
|
5014
|
+
type: "if",
|
|
5015
|
+
source: "(71:6) {#if sliderdata.length > 0}",
|
|
5016
|
+
ctx
|
|
5017
|
+
});
|
|
5018
|
+
|
|
5019
|
+
return block;
|
|
5020
|
+
}
|
|
5021
|
+
|
|
5022
|
+
// (76:12) {:else}
|
|
4964
5023
|
function create_else_block$6(ctx) {
|
|
4965
5024
|
let t0_value = /*item*/ ctx[20].name + "";
|
|
4966
5025
|
let t0;
|
|
@@ -5001,15 +5060,15 @@
|
|
|
5001
5060
|
block,
|
|
5002
5061
|
id: create_else_block$6.name,
|
|
5003
5062
|
type: "else",
|
|
5004
|
-
source: "(
|
|
5063
|
+
source: "(76:12) {:else}",
|
|
5005
5064
|
ctx
|
|
5006
5065
|
});
|
|
5007
5066
|
|
|
5008
5067
|
return block;
|
|
5009
5068
|
}
|
|
5010
5069
|
|
|
5011
|
-
// (
|
|
5012
|
-
function
|
|
5070
|
+
// (74:12) {#if location === 'headerMain'}
|
|
5071
|
+
function create_if_block_1$6(ctx) {
|
|
5013
5072
|
let a;
|
|
5014
5073
|
let t_value = /*item*/ ctx[20].label + "";
|
|
5015
5074
|
let t;
|
|
@@ -5020,7 +5079,7 @@
|
|
|
5020
5079
|
a = element("a");
|
|
5021
5080
|
t = text(t_value);
|
|
5022
5081
|
attr_dev(a, "href", a_href_value = /*item*/ ctx[20].path);
|
|
5023
|
-
add_location(a, file$9,
|
|
5082
|
+
add_location(a, file$9, 74, 14, 2613);
|
|
5024
5083
|
},
|
|
5025
5084
|
m: function mount(target, anchor) {
|
|
5026
5085
|
insert_dev(target, a, anchor);
|
|
@@ -5040,16 +5099,16 @@
|
|
|
5040
5099
|
|
|
5041
5100
|
dispatch_dev("SvelteRegisterBlock", {
|
|
5042
5101
|
block,
|
|
5043
|
-
id:
|
|
5102
|
+
id: create_if_block_1$6.name,
|
|
5044
5103
|
type: "if",
|
|
5045
|
-
source: "(
|
|
5104
|
+
source: "(74:12) {#if location === 'headerMain'}",
|
|
5046
5105
|
ctx
|
|
5047
5106
|
});
|
|
5048
5107
|
|
|
5049
5108
|
return block;
|
|
5050
5109
|
}
|
|
5051
5110
|
|
|
5052
|
-
// (
|
|
5111
|
+
// (72:8) {#each sliderdata as item, index (item.id)}
|
|
5053
5112
|
function create_each_block$3(key_1, ctx) {
|
|
5054
5113
|
let li;
|
|
5055
5114
|
let t;
|
|
@@ -5057,7 +5116,7 @@
|
|
|
5057
5116
|
let dispose;
|
|
5058
5117
|
|
|
5059
5118
|
function select_block_type(ctx, dirty) {
|
|
5060
|
-
if (/*location*/ ctx[2] === "headerMain") return
|
|
5119
|
+
if (/*location*/ ctx[2] === "headerMain") return create_if_block_1$6;
|
|
5061
5120
|
return create_else_block$6;
|
|
5062
5121
|
}
|
|
5063
5122
|
|
|
@@ -5077,7 +5136,7 @@
|
|
|
5077
5136
|
t = space();
|
|
5078
5137
|
attr_dev(li, "class", "CarouselItem");
|
|
5079
5138
|
toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[22]);
|
|
5080
|
-
add_location(li, file$9,
|
|
5139
|
+
add_location(li, file$9, 72, 10, 2454);
|
|
5081
5140
|
this.first = li;
|
|
5082
5141
|
},
|
|
5083
5142
|
m: function mount(target, anchor) {
|
|
@@ -5121,7 +5180,7 @@
|
|
|
5121
5180
|
block,
|
|
5122
5181
|
id: create_each_block$3.name,
|
|
5123
5182
|
type: "each",
|
|
5124
|
-
source: "(
|
|
5183
|
+
source: "(72:8) {#each sliderdata as item, index (item.id)}",
|
|
5125
5184
|
ctx
|
|
5126
5185
|
});
|
|
5127
5186
|
|
|
@@ -5136,8 +5195,6 @@
|
|
|
5136
5195
|
let path0;
|
|
5137
5196
|
let t0;
|
|
5138
5197
|
let ul;
|
|
5139
|
-
let each_blocks = [];
|
|
5140
|
-
let each_1_lookup = new Map();
|
|
5141
5198
|
let t1;
|
|
5142
5199
|
let div1;
|
|
5143
5200
|
let svg1;
|
|
@@ -5145,16 +5202,7 @@
|
|
|
5145
5202
|
let div2_class_value;
|
|
5146
5203
|
let mounted;
|
|
5147
5204
|
let dispose;
|
|
5148
|
-
let
|
|
5149
|
-
validate_each_argument(each_value);
|
|
5150
|
-
const get_key = ctx => /*item*/ ctx[20].id;
|
|
5151
|
-
validate_each_keys(ctx, each_value, get_each_context$3, get_key);
|
|
5152
|
-
|
|
5153
|
-
for (let i = 0; i < each_value.length; i += 1) {
|
|
5154
|
-
let child_ctx = get_each_context$3(ctx, each_value, i);
|
|
5155
|
-
let key = get_key(child_ctx);
|
|
5156
|
-
each_1_lookup.set(key, each_blocks[i] = create_each_block$3(key, child_ctx));
|
|
5157
|
-
}
|
|
5205
|
+
let if_block = /*sliderdata*/ ctx[0].length > 0 && create_if_block$9(ctx);
|
|
5158
5206
|
|
|
5159
5207
|
const block = {
|
|
5160
5208
|
c: function create() {
|
|
@@ -5165,11 +5213,7 @@
|
|
|
5165
5213
|
path0 = svg_element("path");
|
|
5166
5214
|
t0 = space();
|
|
5167
5215
|
ul = element("ul");
|
|
5168
|
-
|
|
5169
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
5170
|
-
each_blocks[i].c();
|
|
5171
|
-
}
|
|
5172
|
-
|
|
5216
|
+
if (if_block) if_block.c();
|
|
5173
5217
|
t1 = space();
|
|
5174
5218
|
div1 = element("div");
|
|
5175
5219
|
svg1 = svg_element("svg");
|
|
@@ -5193,14 +5237,14 @@
|
|
|
5193
5237
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
5194
5238
|
attr_dev(path1, "stroke-width", "2");
|
|
5195
5239
|
attr_dev(path1, "d", "M9 5l7 7-7 7");
|
|
5196
|
-
add_location(path1, file$9,
|
|
5240
|
+
add_location(path1, file$9, 85, 8, 3009);
|
|
5197
5241
|
attr_dev(svg1, "fill", "none");
|
|
5198
5242
|
attr_dev(svg1, "stroke", "currentColor");
|
|
5199
5243
|
attr_dev(svg1, "viewBox", "0 0 24 24");
|
|
5200
5244
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
5201
|
-
add_location(svg1, file$9,
|
|
5245
|
+
add_location(svg1, file$9, 84, 6, 2906);
|
|
5202
5246
|
attr_dev(div1, "class", "CarouselRightArrow");
|
|
5203
|
-
add_location(div1, file$9,
|
|
5247
|
+
add_location(div1, file$9, 83, 4, 2834);
|
|
5204
5248
|
|
|
5205
5249
|
attr_dev(div2, "class", div2_class_value = "CarouselContainer " + (/*location*/ ctx[2] === "headerMain"
|
|
5206
5250
|
? "CarouselContainerHeaderMain"
|
|
@@ -5220,11 +5264,7 @@
|
|
|
5220
5264
|
append_dev(svg0, path0);
|
|
5221
5265
|
append_dev(div2, t0);
|
|
5222
5266
|
append_dev(div2, ul);
|
|
5223
|
-
|
|
5224
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
5225
|
-
each_blocks[i].m(ul, null);
|
|
5226
|
-
}
|
|
5227
|
-
|
|
5267
|
+
if (if_block) if_block.m(ul, null);
|
|
5228
5268
|
/*ul_binding*/ ctx[14](ul);
|
|
5229
5269
|
append_dev(div2, t1);
|
|
5230
5270
|
append_dev(div2, div1);
|
|
@@ -5242,11 +5282,17 @@
|
|
|
5242
5282
|
}
|
|
5243
5283
|
},
|
|
5244
5284
|
p: function update(ctx, [dirty]) {
|
|
5245
|
-
if (
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5285
|
+
if (/*sliderdata*/ ctx[0].length > 0) {
|
|
5286
|
+
if (if_block) {
|
|
5287
|
+
if_block.p(ctx, dirty);
|
|
5288
|
+
} else {
|
|
5289
|
+
if_block = create_if_block$9(ctx);
|
|
5290
|
+
if_block.c();
|
|
5291
|
+
if_block.m(ul, null);
|
|
5292
|
+
}
|
|
5293
|
+
} else if (if_block) {
|
|
5294
|
+
if_block.d(1);
|
|
5295
|
+
if_block = null;
|
|
5250
5296
|
}
|
|
5251
5297
|
|
|
5252
5298
|
if (dirty & /*location*/ 4 && div2_class_value !== (div2_class_value = "CarouselContainer " + (/*location*/ ctx[2] === "headerMain"
|
|
@@ -5259,11 +5305,7 @@
|
|
|
5259
5305
|
o: noop$1,
|
|
5260
5306
|
d: function destroy(detaching) {
|
|
5261
5307
|
if (detaching) detach_dev(div3);
|
|
5262
|
-
|
|
5263
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
5264
|
-
each_blocks[i].d();
|
|
5265
|
-
}
|
|
5266
|
-
|
|
5308
|
+
if (if_block) if_block.d();
|
|
5267
5309
|
/*ul_binding*/ ctx[14](null);
|
|
5268
5310
|
/*div3_binding*/ ctx[16](null);
|
|
5269
5311
|
mounted = false;
|