@everymatrix/casino-header-controller 0.0.90 → 0.0.94
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(factory) :
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@everymatrix/player-account-balance-modal')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['@everymatrix/player-account-balance-modal'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.app = factory());
|
|
5
5
|
}(this, (function () { 'use strict';
|
|
6
6
|
|
|
@@ -6118,44 +6118,32 @@
|
|
|
6118
6118
|
const { console: console_1 } = globals;
|
|
6119
6119
|
const file = "src/CasinoHeaderController.svelte";
|
|
6120
6120
|
|
|
6121
|
-
function
|
|
6122
|
-
const child_ctx = ctx.slice();
|
|
6123
|
-
child_ctx[45] = list[i];
|
|
6124
|
-
return child_ctx;
|
|
6125
|
-
}
|
|
6126
|
-
|
|
6127
|
-
function get_each_context_5(ctx, list, i) {
|
|
6128
|
-
const child_ctx = ctx.slice();
|
|
6129
|
-
child_ctx[48] = list[i];
|
|
6130
|
-
return child_ctx;
|
|
6131
|
-
}
|
|
6132
|
-
|
|
6133
|
-
function get_each_context_1(ctx, list, i) {
|
|
6121
|
+
function get_each_context_2(ctx, list, i) {
|
|
6134
6122
|
const child_ctx = ctx.slice();
|
|
6135
|
-
child_ctx[
|
|
6123
|
+
child_ctx[44] = list[i];
|
|
6136
6124
|
return child_ctx;
|
|
6137
6125
|
}
|
|
6138
6126
|
|
|
6139
|
-
function
|
|
6127
|
+
function get_each_context_3(ctx, list, i) {
|
|
6140
6128
|
const child_ctx = ctx.slice();
|
|
6141
|
-
child_ctx[
|
|
6129
|
+
child_ctx[47] = list[i];
|
|
6142
6130
|
return child_ctx;
|
|
6143
6131
|
}
|
|
6144
6132
|
|
|
6145
|
-
function
|
|
6133
|
+
function get_each_context(ctx, list, i) {
|
|
6146
6134
|
const child_ctx = ctx.slice();
|
|
6147
|
-
child_ctx[
|
|
6135
|
+
child_ctx[44] = list[i];
|
|
6148
6136
|
return child_ctx;
|
|
6149
6137
|
}
|
|
6150
6138
|
|
|
6151
|
-
function
|
|
6139
|
+
function get_each_context_1(ctx, list, i) {
|
|
6152
6140
|
const child_ctx = ctx.slice();
|
|
6153
|
-
child_ctx[
|
|
6141
|
+
child_ctx[47] = list[i];
|
|
6154
6142
|
return child_ctx;
|
|
6155
6143
|
}
|
|
6156
6144
|
|
|
6157
|
-
// (
|
|
6158
|
-
function
|
|
6145
|
+
// (232:2) {:else}
|
|
6146
|
+
function create_else_block_2(ctx) {
|
|
6159
6147
|
let header;
|
|
6160
6148
|
let div5;
|
|
6161
6149
|
let div0;
|
|
@@ -6177,20 +6165,20 @@
|
|
|
6177
6165
|
let ul;
|
|
6178
6166
|
let mounted;
|
|
6179
6167
|
let dispose;
|
|
6180
|
-
let
|
|
6181
|
-
validate_each_argument(
|
|
6168
|
+
let each_value_3 = /*languagesArray*/ ctx[9];
|
|
6169
|
+
validate_each_argument(each_value_3);
|
|
6182
6170
|
let each_blocks_1 = [];
|
|
6183
6171
|
|
|
6184
|
-
for (let i = 0; i <
|
|
6185
|
-
each_blocks_1[i] =
|
|
6172
|
+
for (let i = 0; i < each_value_3.length; i += 1) {
|
|
6173
|
+
each_blocks_1[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i));
|
|
6186
6174
|
}
|
|
6187
6175
|
|
|
6188
|
-
let
|
|
6189
|
-
validate_each_argument(
|
|
6176
|
+
let each_value_2 = /*secondaryMenuArray*/ ctx[3];
|
|
6177
|
+
validate_each_argument(each_value_2);
|
|
6190
6178
|
let each_blocks = [];
|
|
6191
6179
|
|
|
6192
|
-
for (let i = 0; i <
|
|
6193
|
-
each_blocks[i] =
|
|
6180
|
+
for (let i = 0; i < each_value_2.length; i += 1) {
|
|
6181
|
+
each_blocks[i] = create_each_block_2(get_each_context_2(ctx, each_value_2, i));
|
|
6194
6182
|
}
|
|
6195
6183
|
|
|
6196
6184
|
const block = {
|
|
@@ -6227,34 +6215,34 @@
|
|
|
6227
6215
|
|
|
6228
6216
|
if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
|
|
6229
6217
|
attr_dev(img, "alt", "Everymatrix logo");
|
|
6230
|
-
add_location(img, file,
|
|
6218
|
+
add_location(img, file, 235, 10, 10663);
|
|
6231
6219
|
attr_dev(div0, "class", "HeaderBranding");
|
|
6232
|
-
add_location(div0, file,
|
|
6220
|
+
add_location(div0, file, 234, 8, 10589);
|
|
6233
6221
|
set_custom_element_data(casino_slider, "class", "HeaderItemsMenu");
|
|
6234
|
-
set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[
|
|
6222
|
+
set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[2]);
|
|
6235
6223
|
set_custom_element_data(casino_slider, "onclickeventname", "");
|
|
6236
6224
|
set_custom_element_data(casino_slider, "location", "headerMain");
|
|
6237
|
-
add_location(casino_slider, file,
|
|
6225
|
+
add_location(casino_slider, file, 239, 10, 10776);
|
|
6238
6226
|
attr_dev(nav0, "class", "HeaderMainNav");
|
|
6239
|
-
add_location(nav0, file,
|
|
6227
|
+
add_location(nav0, file, 238, 8, 10738);
|
|
6240
6228
|
attr_dev(div1, "class", "Item ItemLogin");
|
|
6241
|
-
add_location(div1, file,
|
|
6229
|
+
add_location(div1, file, 243, 12, 10992);
|
|
6242
6230
|
attr_dev(div2, "class", "Item ItemRegister");
|
|
6243
|
-
add_location(div2, file,
|
|
6231
|
+
add_location(div2, file, 244, 12, 11079);
|
|
6244
6232
|
attr_dev(select, "class", "Item ItemLanguage");
|
|
6245
|
-
add_location(select, file,
|
|
6233
|
+
add_location(select, file, 245, 12, 11175);
|
|
6246
6234
|
attr_dev(div3, "class", "HeaderItemsMenu");
|
|
6247
|
-
add_location(div3, file,
|
|
6235
|
+
add_location(div3, file, 242, 10, 10950);
|
|
6248
6236
|
attr_dev(div4, "class", "HeaderTopActions");
|
|
6249
|
-
add_location(div4, file,
|
|
6237
|
+
add_location(div4, file, 241, 8, 10909);
|
|
6250
6238
|
attr_dev(div5, "class", "HeaderContainer");
|
|
6251
|
-
add_location(div5, file,
|
|
6239
|
+
add_location(div5, file, 233, 6, 10551);
|
|
6252
6240
|
attr_dev(ul, "class", "HeaderItemsMenuSecondary");
|
|
6253
|
-
add_location(ul, file,
|
|
6241
|
+
add_location(ul, file, 258, 8, 11605);
|
|
6254
6242
|
attr_dev(nav1, "class", "HeaderSecondaryNav");
|
|
6255
|
-
add_location(nav1, file,
|
|
6243
|
+
add_location(nav1, file, 257, 6, 11564);
|
|
6256
6244
|
attr_dev(header, "class", "HeaderWrapper");
|
|
6257
|
-
add_location(header, file,
|
|
6245
|
+
add_location(header, file, 232, 4, 10514);
|
|
6258
6246
|
},
|
|
6259
6247
|
m: function mount(target, anchor) {
|
|
6260
6248
|
insert_dev(target, header, anchor);
|
|
@@ -6290,29 +6278,29 @@
|
|
|
6290
6278
|
listen_dev(div0, "click", /*click_handler_11*/ ctx[28], false, false, false),
|
|
6291
6279
|
listen_dev(div1, "click", /*click_handler_12*/ ctx[29], false, false, false),
|
|
6292
6280
|
listen_dev(div2, "click", /*click_handler_13*/ ctx[30], false, false, false),
|
|
6293
|
-
listen_dev(select, "change", /*
|
|
6281
|
+
listen_dev(select, "change", /*change_handler_1*/ ctx[31], false, false, false)
|
|
6294
6282
|
];
|
|
6295
6283
|
|
|
6296
6284
|
mounted = true;
|
|
6297
6285
|
}
|
|
6298
6286
|
},
|
|
6299
6287
|
p: function update(ctx, dirty) {
|
|
6300
|
-
if (dirty[0] & /*mainMenuArray*/
|
|
6301
|
-
set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[
|
|
6288
|
+
if (dirty[0] & /*mainMenuArray*/ 4) {
|
|
6289
|
+
set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[2]);
|
|
6302
6290
|
}
|
|
6303
6291
|
|
|
6304
|
-
if (dirty[0] & /*languagesArray*/
|
|
6305
|
-
|
|
6306
|
-
validate_each_argument(
|
|
6292
|
+
if (dirty[0] & /*languagesArray*/ 512) {
|
|
6293
|
+
each_value_3 = /*languagesArray*/ ctx[9];
|
|
6294
|
+
validate_each_argument(each_value_3);
|
|
6307
6295
|
let i;
|
|
6308
6296
|
|
|
6309
|
-
for (i = 0; i <
|
|
6310
|
-
const child_ctx =
|
|
6297
|
+
for (i = 0; i < each_value_3.length; i += 1) {
|
|
6298
|
+
const child_ctx = get_each_context_3(ctx, each_value_3, i);
|
|
6311
6299
|
|
|
6312
6300
|
if (each_blocks_1[i]) {
|
|
6313
6301
|
each_blocks_1[i].p(child_ctx, dirty);
|
|
6314
6302
|
} else {
|
|
6315
|
-
each_blocks_1[i] =
|
|
6303
|
+
each_blocks_1[i] = create_each_block_3(child_ctx);
|
|
6316
6304
|
each_blocks_1[i].c();
|
|
6317
6305
|
each_blocks_1[i].m(select, null);
|
|
6318
6306
|
}
|
|
@@ -6322,21 +6310,21 @@
|
|
|
6322
6310
|
each_blocks_1[i].d(1);
|
|
6323
6311
|
}
|
|
6324
6312
|
|
|
6325
|
-
each_blocks_1.length =
|
|
6313
|
+
each_blocks_1.length = each_value_3.length;
|
|
6326
6314
|
}
|
|
6327
6315
|
|
|
6328
|
-
if (dirty[0] & /*secondaryMenuArray*/
|
|
6329
|
-
|
|
6330
|
-
validate_each_argument(
|
|
6316
|
+
if (dirty[0] & /*secondaryMenuArray*/ 8) {
|
|
6317
|
+
each_value_2 = /*secondaryMenuArray*/ ctx[3];
|
|
6318
|
+
validate_each_argument(each_value_2);
|
|
6331
6319
|
let i;
|
|
6332
6320
|
|
|
6333
|
-
for (i = 0; i <
|
|
6334
|
-
const child_ctx =
|
|
6321
|
+
for (i = 0; i < each_value_2.length; i += 1) {
|
|
6322
|
+
const child_ctx = get_each_context_2(ctx, each_value_2, i);
|
|
6335
6323
|
|
|
6336
6324
|
if (each_blocks[i]) {
|
|
6337
6325
|
each_blocks[i].p(child_ctx, dirty);
|
|
6338
6326
|
} else {
|
|
6339
|
-
each_blocks[i] =
|
|
6327
|
+
each_blocks[i] = create_each_block_2(child_ctx);
|
|
6340
6328
|
each_blocks[i].c();
|
|
6341
6329
|
each_blocks[i].m(ul, null);
|
|
6342
6330
|
}
|
|
@@ -6346,7 +6334,7 @@
|
|
|
6346
6334
|
each_blocks[i].d(1);
|
|
6347
6335
|
}
|
|
6348
6336
|
|
|
6349
|
-
each_blocks.length =
|
|
6337
|
+
each_blocks.length = each_value_2.length;
|
|
6350
6338
|
}
|
|
6351
6339
|
},
|
|
6352
6340
|
d: function destroy(detaching) {
|
|
@@ -6360,17 +6348,17 @@
|
|
|
6360
6348
|
|
|
6361
6349
|
dispatch_dev("SvelteRegisterBlock", {
|
|
6362
6350
|
block,
|
|
6363
|
-
id:
|
|
6351
|
+
id: create_else_block_2.name,
|
|
6364
6352
|
type: "else",
|
|
6365
|
-
source: "(
|
|
6353
|
+
source: "(232:2) {:else}",
|
|
6366
6354
|
ctx
|
|
6367
6355
|
});
|
|
6368
6356
|
|
|
6369
6357
|
return block;
|
|
6370
6358
|
}
|
|
6371
6359
|
|
|
6372
|
-
// (
|
|
6373
|
-
function
|
|
6360
|
+
// (214:2) {#if mobileView}
|
|
6361
|
+
function create_if_block_5(ctx) {
|
|
6374
6362
|
let header;
|
|
6375
6363
|
let div6;
|
|
6376
6364
|
let div0;
|
|
@@ -6419,49 +6407,49 @@
|
|
|
6419
6407
|
t4 = space();
|
|
6420
6408
|
div3 = element("div");
|
|
6421
6409
|
div3.textContent = "Register";
|
|
6422
|
-
add_location(style, file,
|
|
6423
|
-
add_location(defs, file,
|
|
6410
|
+
add_location(style, file, 217, 128, 9730);
|
|
6411
|
+
add_location(defs, file, 217, 122, 9724);
|
|
6424
6412
|
attr_dev(rect0, "class", "a");
|
|
6425
6413
|
attr_dev(rect0, "width", "18");
|
|
6426
6414
|
attr_dev(rect0, "height", "2");
|
|
6427
6415
|
attr_dev(rect0, "transform", "translate(14 13)");
|
|
6428
|
-
add_location(rect0, file,
|
|
6416
|
+
add_location(rect0, file, 217, 198, 9800);
|
|
6429
6417
|
attr_dev(rect1, "class", "a");
|
|
6430
6418
|
attr_dev(rect1, "width", "22");
|
|
6431
6419
|
attr_dev(rect1, "height", "2");
|
|
6432
6420
|
attr_dev(rect1, "transform", "translate(14 20)");
|
|
6433
|
-
add_location(rect1, file,
|
|
6421
|
+
add_location(rect1, file, 217, 266, 9868);
|
|
6434
6422
|
attr_dev(rect2, "class", "a");
|
|
6435
6423
|
attr_dev(rect2, "width", "22");
|
|
6436
6424
|
attr_dev(rect2, "height", "2");
|
|
6437
6425
|
attr_dev(rect2, "transform", "translate(14 27)");
|
|
6438
|
-
add_location(rect2, file,
|
|
6426
|
+
add_location(rect2, file, 217, 334, 9936);
|
|
6439
6427
|
attr_dev(g, "transform", "translate(-14 -13)");
|
|
6440
|
-
add_location(g, file,
|
|
6428
|
+
add_location(g, file, 217, 164, 9766);
|
|
6441
6429
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
6442
6430
|
attr_dev(svg, "width", "22");
|
|
6443
6431
|
attr_dev(svg, "height", "16");
|
|
6444
6432
|
attr_dev(svg, "viewBox", "0 0 22 16");
|
|
6445
|
-
add_location(svg, file,
|
|
6433
|
+
add_location(svg, file, 217, 10, 9612);
|
|
6446
6434
|
attr_dev(div0, "class", "HeaderMobileMainNav");
|
|
6447
|
-
add_location(div0, file,
|
|
6435
|
+
add_location(div0, file, 216, 8, 9568);
|
|
6448
6436
|
if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
|
|
6449
6437
|
attr_dev(img, "alt", "Everymatrix logo");
|
|
6450
|
-
add_location(img, file,
|
|
6438
|
+
add_location(img, file, 220, 10, 10112);
|
|
6451
6439
|
attr_dev(div1, "class", "HeaderBranding");
|
|
6452
|
-
add_location(div1, file,
|
|
6440
|
+
add_location(div1, file, 219, 8, 10038);
|
|
6453
6441
|
attr_dev(div2, "class", "Item ItemLogin");
|
|
6454
|
-
add_location(div2, file,
|
|
6442
|
+
add_location(div2, file, 225, 12, 10270);
|
|
6455
6443
|
attr_dev(div3, "class", "Item ItemRegister");
|
|
6456
|
-
add_location(div3, file,
|
|
6444
|
+
add_location(div3, file, 226, 12, 10357);
|
|
6457
6445
|
attr_dev(div4, "class", "HeaderItemsMenu");
|
|
6458
|
-
add_location(div4, file,
|
|
6446
|
+
add_location(div4, file, 224, 10, 10228);
|
|
6459
6447
|
attr_dev(div5, "class", "HeaderTopActions");
|
|
6460
|
-
add_location(div5, file,
|
|
6448
|
+
add_location(div5, file, 223, 8, 10187);
|
|
6461
6449
|
attr_dev(div6, "class", "HeaderContainer");
|
|
6462
|
-
add_location(div6, file,
|
|
6450
|
+
add_location(div6, file, 215, 6, 9530);
|
|
6463
6451
|
attr_dev(header, "class", "HeaderWrapper HeaderMobileWrapper");
|
|
6464
|
-
add_location(header, file,
|
|
6452
|
+
add_location(header, file, 214, 4, 9473);
|
|
6465
6453
|
},
|
|
6466
6454
|
m: function mount(target, anchor) {
|
|
6467
6455
|
insert_dev(target, header, anchor);
|
|
@@ -6506,22 +6494,22 @@
|
|
|
6506
6494
|
|
|
6507
6495
|
dispatch_dev("SvelteRegisterBlock", {
|
|
6508
6496
|
block,
|
|
6509
|
-
id:
|
|
6497
|
+
id: create_if_block_5.name,
|
|
6510
6498
|
type: "if",
|
|
6511
|
-
source: "(
|
|
6499
|
+
source: "(214:2) {#if mobileView}",
|
|
6512
6500
|
ctx
|
|
6513
6501
|
});
|
|
6514
6502
|
|
|
6515
6503
|
return block;
|
|
6516
6504
|
}
|
|
6517
6505
|
|
|
6518
|
-
// (
|
|
6506
|
+
// (139:0) {#if isLoggedIn}
|
|
6519
6507
|
function create_if_block_1(ctx) {
|
|
6520
6508
|
let if_block_anchor;
|
|
6521
6509
|
|
|
6522
6510
|
function select_block_type_1(ctx, dirty) {
|
|
6523
|
-
if (/*mobileView*/ ctx[
|
|
6524
|
-
return
|
|
6511
|
+
if (/*mobileView*/ ctx[4]) return create_if_block_2;
|
|
6512
|
+
return create_else_block;
|
|
6525
6513
|
}
|
|
6526
6514
|
|
|
6527
6515
|
let current_block_type = select_block_type_1(ctx);
|
|
@@ -6559,26 +6547,26 @@
|
|
|
6559
6547
|
block,
|
|
6560
6548
|
id: create_if_block_1.name,
|
|
6561
6549
|
type: "if",
|
|
6562
|
-
source: "(
|
|
6550
|
+
source: "(139:0) {#if isLoggedIn}",
|
|
6563
6551
|
ctx
|
|
6564
6552
|
});
|
|
6565
6553
|
|
|
6566
6554
|
return block;
|
|
6567
6555
|
}
|
|
6568
6556
|
|
|
6569
|
-
// (
|
|
6570
|
-
function
|
|
6557
|
+
// (250:16) {:else}
|
|
6558
|
+
function create_else_block_3(ctx) {
|
|
6571
6559
|
let option;
|
|
6572
|
-
let t_value = /*lang*/ ctx[
|
|
6560
|
+
let t_value = /*lang*/ ctx[47] + "";
|
|
6573
6561
|
let t;
|
|
6574
6562
|
|
|
6575
6563
|
const block = {
|
|
6576
6564
|
c: function create() {
|
|
6577
6565
|
option = element("option");
|
|
6578
6566
|
t = text(t_value);
|
|
6579
|
-
option.__value = /*lang*/ ctx[
|
|
6567
|
+
option.__value = /*lang*/ ctx[47];
|
|
6580
6568
|
option.value = option.__value;
|
|
6581
|
-
add_location(option, file,
|
|
6569
|
+
add_location(option, file, 250, 18, 11423);
|
|
6582
6570
|
},
|
|
6583
6571
|
m: function mount(target, anchor) {
|
|
6584
6572
|
insert_dev(target, option, anchor);
|
|
@@ -6592,19 +6580,19 @@
|
|
|
6592
6580
|
|
|
6593
6581
|
dispatch_dev("SvelteRegisterBlock", {
|
|
6594
6582
|
block,
|
|
6595
|
-
id:
|
|
6583
|
+
id: create_else_block_3.name,
|
|
6596
6584
|
type: "else",
|
|
6597
|
-
source: "(
|
|
6585
|
+
source: "(250:16) {:else}",
|
|
6598
6586
|
ctx
|
|
6599
6587
|
});
|
|
6600
6588
|
|
|
6601
6589
|
return block;
|
|
6602
6590
|
}
|
|
6603
6591
|
|
|
6604
|
-
// (
|
|
6605
|
-
function
|
|
6592
|
+
// (248:16) {#if lang === 'EN'}
|
|
6593
|
+
function create_if_block_6(ctx) {
|
|
6606
6594
|
let option;
|
|
6607
|
-
let t_value = /*lang*/ ctx[
|
|
6595
|
+
let t_value = /*lang*/ ctx[47] + "";
|
|
6608
6596
|
let t;
|
|
6609
6597
|
|
|
6610
6598
|
const block = {
|
|
@@ -6612,9 +6600,9 @@
|
|
|
6612
6600
|
option = element("option");
|
|
6613
6601
|
t = text(t_value);
|
|
6614
6602
|
option.selected = true;
|
|
6615
|
-
option.__value = /*lang*/ ctx[
|
|
6603
|
+
option.__value = /*lang*/ ctx[47];
|
|
6616
6604
|
option.value = option.__value;
|
|
6617
|
-
add_location(option, file,
|
|
6605
|
+
add_location(option, file, 248, 18, 11348);
|
|
6618
6606
|
},
|
|
6619
6607
|
m: function mount(target, anchor) {
|
|
6620
6608
|
insert_dev(target, option, anchor);
|
|
@@ -6628,25 +6616,25 @@
|
|
|
6628
6616
|
|
|
6629
6617
|
dispatch_dev("SvelteRegisterBlock", {
|
|
6630
6618
|
block,
|
|
6631
|
-
id:
|
|
6619
|
+
id: create_if_block_6.name,
|
|
6632
6620
|
type: "if",
|
|
6633
|
-
source: "(
|
|
6621
|
+
source: "(248:16) {#if lang === 'EN'}",
|
|
6634
6622
|
ctx
|
|
6635
6623
|
});
|
|
6636
6624
|
|
|
6637
6625
|
return block;
|
|
6638
6626
|
}
|
|
6639
6627
|
|
|
6640
|
-
// (
|
|
6641
|
-
function
|
|
6628
|
+
// (247:14) {#each languagesArray as lang}
|
|
6629
|
+
function create_each_block_3(ctx) {
|
|
6642
6630
|
let if_block_anchor;
|
|
6643
6631
|
|
|
6644
|
-
function
|
|
6645
|
-
if (/*lang*/ ctx[
|
|
6646
|
-
return
|
|
6632
|
+
function select_block_type_3(ctx, dirty) {
|
|
6633
|
+
if (/*lang*/ ctx[47] === "EN") return create_if_block_6;
|
|
6634
|
+
return create_else_block_3;
|
|
6647
6635
|
}
|
|
6648
6636
|
|
|
6649
|
-
let current_block_type =
|
|
6637
|
+
let current_block_type = select_block_type_3(ctx);
|
|
6650
6638
|
let if_block = current_block_type(ctx);
|
|
6651
6639
|
|
|
6652
6640
|
const block = {
|
|
@@ -6669,20 +6657,20 @@
|
|
|
6669
6657
|
|
|
6670
6658
|
dispatch_dev("SvelteRegisterBlock", {
|
|
6671
6659
|
block,
|
|
6672
|
-
id:
|
|
6660
|
+
id: create_each_block_3.name,
|
|
6673
6661
|
type: "each",
|
|
6674
|
-
source: "(
|
|
6662
|
+
source: "(247:14) {#each languagesArray as lang}",
|
|
6675
6663
|
ctx
|
|
6676
6664
|
});
|
|
6677
6665
|
|
|
6678
6666
|
return block;
|
|
6679
6667
|
}
|
|
6680
6668
|
|
|
6681
|
-
// (
|
|
6682
|
-
function
|
|
6669
|
+
// (260:10) {#each secondaryMenuArray as secondaryItem}
|
|
6670
|
+
function create_each_block_2(ctx) {
|
|
6683
6671
|
let li;
|
|
6684
6672
|
let a;
|
|
6685
|
-
let t_value = /*secondaryItem*/ ctx[
|
|
6673
|
+
let t_value = /*secondaryItem*/ ctx[44].label + "";
|
|
6686
6674
|
let t;
|
|
6687
6675
|
let a_href_value;
|
|
6688
6676
|
|
|
@@ -6691,10 +6679,10 @@
|
|
|
6691
6679
|
li = element("li");
|
|
6692
6680
|
a = element("a");
|
|
6693
6681
|
t = text(t_value);
|
|
6694
|
-
attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[
|
|
6695
|
-
add_location(a, file,
|
|
6682
|
+
attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[44].path);
|
|
6683
|
+
add_location(a, file, 260, 38, 11735);
|
|
6696
6684
|
attr_dev(li, "class", "ItemSecondary");
|
|
6697
|
-
add_location(li, file,
|
|
6685
|
+
add_location(li, file, 260, 12, 11709);
|
|
6698
6686
|
},
|
|
6699
6687
|
m: function mount(target, anchor) {
|
|
6700
6688
|
insert_dev(target, li, anchor);
|
|
@@ -6702,9 +6690,9 @@
|
|
|
6702
6690
|
append_dev(a, t);
|
|
6703
6691
|
},
|
|
6704
6692
|
p: function update(ctx, dirty) {
|
|
6705
|
-
if (dirty[0] & /*secondaryMenuArray*/
|
|
6693
|
+
if (dirty[0] & /*secondaryMenuArray*/ 8 && t_value !== (t_value = /*secondaryItem*/ ctx[44].label + "")) set_data_dev(t, t_value);
|
|
6706
6694
|
|
|
6707
|
-
if (dirty[0] & /*secondaryMenuArray*/
|
|
6695
|
+
if (dirty[0] & /*secondaryMenuArray*/ 8 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[44].path)) {
|
|
6708
6696
|
attr_dev(a, "href", a_href_value);
|
|
6709
6697
|
}
|
|
6710
6698
|
},
|
|
@@ -6715,17 +6703,17 @@
|
|
|
6715
6703
|
|
|
6716
6704
|
dispatch_dev("SvelteRegisterBlock", {
|
|
6717
6705
|
block,
|
|
6718
|
-
id:
|
|
6706
|
+
id: create_each_block_2.name,
|
|
6719
6707
|
type: "each",
|
|
6720
|
-
source: "(
|
|
6708
|
+
source: "(260:10) {#each secondaryMenuArray as secondaryItem}",
|
|
6721
6709
|
ctx
|
|
6722
6710
|
});
|
|
6723
6711
|
|
|
6724
6712
|
return block;
|
|
6725
6713
|
}
|
|
6726
6714
|
|
|
6727
|
-
// (
|
|
6728
|
-
function
|
|
6715
|
+
// (163:2) {:else}
|
|
6716
|
+
function create_else_block(ctx) {
|
|
6729
6717
|
let header;
|
|
6730
6718
|
let div5;
|
|
6731
6719
|
let div0;
|
|
@@ -6737,7 +6725,7 @@
|
|
|
6737
6725
|
let t1;
|
|
6738
6726
|
let div4;
|
|
6739
6727
|
let div3;
|
|
6740
|
-
let
|
|
6728
|
+
let player_account_balance_modal;
|
|
6741
6729
|
let t2;
|
|
6742
6730
|
let div1;
|
|
6743
6731
|
let t4;
|
|
@@ -6749,34 +6737,26 @@
|
|
|
6749
6737
|
let g;
|
|
6750
6738
|
let path;
|
|
6751
6739
|
let t6;
|
|
6752
|
-
let
|
|
6740
|
+
let select;
|
|
6753
6741
|
let t7;
|
|
6754
6742
|
let nav1;
|
|
6755
6743
|
let ul;
|
|
6756
6744
|
let mounted;
|
|
6757
6745
|
let dispose;
|
|
6758
|
-
let
|
|
6759
|
-
validate_each_argument(
|
|
6760
|
-
let each_blocks_2 = [];
|
|
6761
|
-
|
|
6762
|
-
for (let i = 0; i < each_value_3.length; i += 1) {
|
|
6763
|
-
each_blocks_2[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i));
|
|
6764
|
-
}
|
|
6765
|
-
|
|
6766
|
-
let each_value_2 = /*languagesArray*/ ctx[6];
|
|
6767
|
-
validate_each_argument(each_value_2);
|
|
6746
|
+
let each_value_1 = /*languagesArray*/ ctx[9];
|
|
6747
|
+
validate_each_argument(each_value_1);
|
|
6768
6748
|
let each_blocks_1 = [];
|
|
6769
6749
|
|
|
6770
|
-
for (let i = 0; i <
|
|
6771
|
-
each_blocks_1[i] =
|
|
6750
|
+
for (let i = 0; i < each_value_1.length; i += 1) {
|
|
6751
|
+
each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
|
|
6772
6752
|
}
|
|
6773
6753
|
|
|
6774
|
-
let
|
|
6775
|
-
validate_each_argument(
|
|
6754
|
+
let each_value = /*secondaryMenuArray*/ ctx[3];
|
|
6755
|
+
validate_each_argument(each_value);
|
|
6776
6756
|
let each_blocks = [];
|
|
6777
6757
|
|
|
6778
|
-
for (let i = 0; i <
|
|
6779
|
-
each_blocks[i] =
|
|
6758
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
6759
|
+
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
6780
6760
|
}
|
|
6781
6761
|
|
|
6782
6762
|
const block = {
|
|
@@ -6791,12 +6771,7 @@
|
|
|
6791
6771
|
t1 = space();
|
|
6792
6772
|
div4 = element("div");
|
|
6793
6773
|
div3 = element("div");
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
for (let i = 0; i < each_blocks_2.length; i += 1) {
|
|
6797
|
-
each_blocks_2[i].c();
|
|
6798
|
-
}
|
|
6799
|
-
|
|
6774
|
+
player_account_balance_modal = element("player-account-balance-modal");
|
|
6800
6775
|
t2 = space();
|
|
6801
6776
|
div1 = element("div");
|
|
6802
6777
|
div1.textContent = "Deposit";
|
|
@@ -6809,7 +6784,7 @@
|
|
|
6809
6784
|
g = svg_element("g");
|
|
6810
6785
|
path = svg_element("path");
|
|
6811
6786
|
t6 = space();
|
|
6812
|
-
|
|
6787
|
+
select = element("select");
|
|
6813
6788
|
|
|
6814
6789
|
for (let i = 0; i < each_blocks_1.length; i += 1) {
|
|
6815
6790
|
each_blocks_1[i].c();
|
|
@@ -6825,49 +6800,51 @@
|
|
|
6825
6800
|
|
|
6826
6801
|
if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
|
|
6827
6802
|
attr_dev(img, "alt", "Everymatrix logo");
|
|
6828
|
-
add_location(img, file,
|
|
6803
|
+
add_location(img, file, 166, 10, 7345);
|
|
6829
6804
|
attr_dev(div0, "class", "HeaderBranding");
|
|
6830
|
-
add_location(div0, file,
|
|
6805
|
+
add_location(div0, file, 165, 8, 7271);
|
|
6831
6806
|
set_custom_element_data(casino_slider, "class", "HeaderItemsMenu");
|
|
6832
|
-
set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[
|
|
6807
|
+
set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[2]);
|
|
6833
6808
|
set_custom_element_data(casino_slider, "onclickeventname", "");
|
|
6834
6809
|
set_custom_element_data(casino_slider, "location", "headerMain");
|
|
6835
|
-
add_location(casino_slider, file,
|
|
6810
|
+
add_location(casino_slider, file, 170, 10, 7458);
|
|
6836
6811
|
attr_dev(nav0, "class", "HeaderMainNav");
|
|
6837
|
-
add_location(nav0, file,
|
|
6838
|
-
|
|
6839
|
-
|
|
6812
|
+
add_location(nav0, file, 169, 8, 7420);
|
|
6813
|
+
set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[7]);
|
|
6814
|
+
set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[6]);
|
|
6815
|
+
set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[1]);
|
|
6816
|
+
add_location(player_account_balance_modal, file, 174, 12, 7686);
|
|
6840
6817
|
attr_dev(div1, "class", "Item ItemDeposit");
|
|
6841
|
-
add_location(div1, file,
|
|
6842
|
-
add_location(style, file,
|
|
6843
|
-
add_location(defs, file,
|
|
6818
|
+
add_location(div1, file, 175, 12, 7786);
|
|
6819
|
+
add_location(style, file, 179, 18, 8096);
|
|
6820
|
+
add_location(defs, file, 178, 16, 8071);
|
|
6844
6821
|
attr_dev(path, "class", "a");
|
|
6845
6822
|
attr_dev(path, "d", "M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z");
|
|
6846
6823
|
attr_dev(path, "transform", "translate(0 0)");
|
|
6847
|
-
add_location(path, file,
|
|
6824
|
+
add_location(path, file, 185, 18, 8278);
|
|
6848
6825
|
attr_dev(g, "transform", "translate(-8 -4)");
|
|
6849
|
-
add_location(g, file,
|
|
6826
|
+
add_location(g, file, 184, 16, 8227);
|
|
6850
6827
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
6851
6828
|
attr_dev(svg, "width", "15");
|
|
6852
6829
|
attr_dev(svg, "height", "16.429");
|
|
6853
6830
|
attr_dev(svg, "viewBox", "0 0 15 16.429");
|
|
6854
|
-
add_location(svg, file,
|
|
6831
|
+
add_location(svg, file, 177, 14, 7963);
|
|
6855
6832
|
attr_dev(div2, "class", "Item ItemAccount");
|
|
6856
|
-
add_location(div2, file,
|
|
6857
|
-
attr_dev(
|
|
6858
|
-
add_location(
|
|
6833
|
+
add_location(div2, file, 176, 12, 7879);
|
|
6834
|
+
attr_dev(select, "class", "Item ItemLanguage");
|
|
6835
|
+
add_location(select, file, 191, 12, 8755);
|
|
6859
6836
|
attr_dev(div3, "class", "HeaderItemsMenu PrimaryMenu");
|
|
6860
|
-
add_location(div3, file,
|
|
6837
|
+
add_location(div3, file, 173, 10, 7632);
|
|
6861
6838
|
attr_dev(div4, "class", "HeaderTopActions");
|
|
6862
|
-
add_location(div4, file,
|
|
6839
|
+
add_location(div4, file, 172, 8, 7591);
|
|
6863
6840
|
attr_dev(div5, "class", "HeaderContainer");
|
|
6864
|
-
add_location(div5, file,
|
|
6841
|
+
add_location(div5, file, 164, 6, 7233);
|
|
6865
6842
|
attr_dev(ul, "class", "HeaderItemsMenuSecondary");
|
|
6866
|
-
add_location(ul, file,
|
|
6843
|
+
add_location(ul, file, 204, 8, 9185);
|
|
6867
6844
|
attr_dev(nav1, "class", "HeaderSecondaryNav");
|
|
6868
|
-
add_location(nav1, file,
|
|
6845
|
+
add_location(nav1, file, 203, 6, 9144);
|
|
6869
6846
|
attr_dev(header, "class", "HeaderWrapper");
|
|
6870
|
-
add_location(header, file,
|
|
6847
|
+
add_location(header, file, 163, 4, 7196);
|
|
6871
6848
|
},
|
|
6872
6849
|
m: function mount(target, anchor) {
|
|
6873
6850
|
insert_dev(target, header, anchor);
|
|
@@ -6880,12 +6857,7 @@
|
|
|
6880
6857
|
append_dev(div5, t1);
|
|
6881
6858
|
append_dev(div5, div4);
|
|
6882
6859
|
append_dev(div4, div3);
|
|
6883
|
-
append_dev(div3,
|
|
6884
|
-
|
|
6885
|
-
for (let i = 0; i < each_blocks_2.length; i += 1) {
|
|
6886
|
-
each_blocks_2[i].m(select0, null);
|
|
6887
|
-
}
|
|
6888
|
-
|
|
6860
|
+
append_dev(div3, player_account_balance_modal);
|
|
6889
6861
|
append_dev(div3, t2);
|
|
6890
6862
|
append_dev(div3, div1);
|
|
6891
6863
|
append_dev(div3, t4);
|
|
@@ -6897,10 +6869,10 @@
|
|
|
6897
6869
|
append_dev(svg, g);
|
|
6898
6870
|
append_dev(g, path);
|
|
6899
6871
|
append_dev(div3, t6);
|
|
6900
|
-
append_dev(div3,
|
|
6872
|
+
append_dev(div3, select);
|
|
6901
6873
|
|
|
6902
6874
|
for (let i = 0; i < each_blocks_1.length; i += 1) {
|
|
6903
|
-
each_blocks_1[i].m(
|
|
6875
|
+
each_blocks_1[i].m(select, null);
|
|
6904
6876
|
}
|
|
6905
6877
|
|
|
6906
6878
|
append_dev(header, t7);
|
|
@@ -6913,59 +6885,46 @@
|
|
|
6913
6885
|
|
|
6914
6886
|
if (!mounted) {
|
|
6915
6887
|
dispose = [
|
|
6916
|
-
listen_dev(div0, "click", /*click_handler_4*/ ctx[
|
|
6917
|
-
listen_dev(select0, "change", /*change_handler_1*/ ctx[20], false, false, false),
|
|
6888
|
+
listen_dev(div0, "click", /*click_handler_4*/ ctx[20], false, false, false),
|
|
6918
6889
|
listen_dev(div1, "click", /*click_handler_5*/ ctx[21], false, false, false),
|
|
6919
6890
|
listen_dev(div2, "click", /*click_handler_6*/ ctx[22], false, false, false),
|
|
6920
|
-
listen_dev(
|
|
6891
|
+
listen_dev(select, "change", /*change_handler*/ ctx[23], false, false, false)
|
|
6921
6892
|
];
|
|
6922
6893
|
|
|
6923
6894
|
mounted = true;
|
|
6924
6895
|
}
|
|
6925
6896
|
},
|
|
6926
6897
|
p: function update(ctx, dirty) {
|
|
6927
|
-
if (dirty[0] & /*mainMenuArray*/
|
|
6928
|
-
set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[
|
|
6898
|
+
if (dirty[0] & /*mainMenuArray*/ 4) {
|
|
6899
|
+
set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[2]);
|
|
6929
6900
|
}
|
|
6930
6901
|
|
|
6931
|
-
if (dirty[0] & /*
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
let i;
|
|
6935
|
-
|
|
6936
|
-
for (i = 0; i < each_value_3.length; i += 1) {
|
|
6937
|
-
const child_ctx = get_each_context_3(ctx, each_value_3, i);
|
|
6938
|
-
|
|
6939
|
-
if (each_blocks_2[i]) {
|
|
6940
|
-
each_blocks_2[i].p(child_ctx, dirty);
|
|
6941
|
-
} else {
|
|
6942
|
-
each_blocks_2[i] = create_each_block_3(child_ctx);
|
|
6943
|
-
each_blocks_2[i].c();
|
|
6944
|
-
each_blocks_2[i].m(select0, null);
|
|
6945
|
-
}
|
|
6946
|
-
}
|
|
6902
|
+
if (dirty[0] & /*sessionID*/ 128) {
|
|
6903
|
+
set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[7]);
|
|
6904
|
+
}
|
|
6947
6905
|
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6906
|
+
if (dirty[0] & /*playerID*/ 64) {
|
|
6907
|
+
set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[6]);
|
|
6908
|
+
}
|
|
6951
6909
|
|
|
6952
|
-
|
|
6910
|
+
if (dirty[0] & /*profileurl*/ 2) {
|
|
6911
|
+
set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[1]);
|
|
6953
6912
|
}
|
|
6954
6913
|
|
|
6955
|
-
if (dirty[0] & /*languagesArray*/
|
|
6956
|
-
|
|
6957
|
-
validate_each_argument(
|
|
6914
|
+
if (dirty[0] & /*languagesArray*/ 512) {
|
|
6915
|
+
each_value_1 = /*languagesArray*/ ctx[9];
|
|
6916
|
+
validate_each_argument(each_value_1);
|
|
6958
6917
|
let i;
|
|
6959
6918
|
|
|
6960
|
-
for (i = 0; i <
|
|
6961
|
-
const child_ctx =
|
|
6919
|
+
for (i = 0; i < each_value_1.length; i += 1) {
|
|
6920
|
+
const child_ctx = get_each_context_1(ctx, each_value_1, i);
|
|
6962
6921
|
|
|
6963
6922
|
if (each_blocks_1[i]) {
|
|
6964
6923
|
each_blocks_1[i].p(child_ctx, dirty);
|
|
6965
6924
|
} else {
|
|
6966
|
-
each_blocks_1[i] =
|
|
6925
|
+
each_blocks_1[i] = create_each_block_1(child_ctx);
|
|
6967
6926
|
each_blocks_1[i].c();
|
|
6968
|
-
each_blocks_1[i].m(
|
|
6927
|
+
each_blocks_1[i].m(select, null);
|
|
6969
6928
|
}
|
|
6970
6929
|
}
|
|
6971
6930
|
|
|
@@ -6973,21 +6932,21 @@
|
|
|
6973
6932
|
each_blocks_1[i].d(1);
|
|
6974
6933
|
}
|
|
6975
6934
|
|
|
6976
|
-
each_blocks_1.length =
|
|
6935
|
+
each_blocks_1.length = each_value_1.length;
|
|
6977
6936
|
}
|
|
6978
6937
|
|
|
6979
|
-
if (dirty[0] & /*secondaryMenuArray*/
|
|
6980
|
-
|
|
6981
|
-
validate_each_argument(
|
|
6938
|
+
if (dirty[0] & /*secondaryMenuArray*/ 8) {
|
|
6939
|
+
each_value = /*secondaryMenuArray*/ ctx[3];
|
|
6940
|
+
validate_each_argument(each_value);
|
|
6982
6941
|
let i;
|
|
6983
6942
|
|
|
6984
|
-
for (i = 0; i <
|
|
6985
|
-
const child_ctx =
|
|
6943
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
6944
|
+
const child_ctx = get_each_context(ctx, each_value, i);
|
|
6986
6945
|
|
|
6987
6946
|
if (each_blocks[i]) {
|
|
6988
6947
|
each_blocks[i].p(child_ctx, dirty);
|
|
6989
6948
|
} else {
|
|
6990
|
-
each_blocks[i] =
|
|
6949
|
+
each_blocks[i] = create_each_block(child_ctx);
|
|
6991
6950
|
each_blocks[i].c();
|
|
6992
6951
|
each_blocks[i].m(ul, null);
|
|
6993
6952
|
}
|
|
@@ -6997,12 +6956,11 @@
|
|
|
6997
6956
|
each_blocks[i].d(1);
|
|
6998
6957
|
}
|
|
6999
6958
|
|
|
7000
|
-
each_blocks.length =
|
|
6959
|
+
each_blocks.length = each_value.length;
|
|
7001
6960
|
}
|
|
7002
6961
|
},
|
|
7003
6962
|
d: function destroy(detaching) {
|
|
7004
6963
|
if (detaching) detach_dev(header);
|
|
7005
|
-
destroy_each(each_blocks_2, detaching);
|
|
7006
6964
|
destroy_each(each_blocks_1, detaching);
|
|
7007
6965
|
destroy_each(each_blocks, detaching);
|
|
7008
6966
|
mounted = false;
|
|
@@ -7012,16 +6970,16 @@
|
|
|
7012
6970
|
|
|
7013
6971
|
dispatch_dev("SvelteRegisterBlock", {
|
|
7014
6972
|
block,
|
|
7015
|
-
id:
|
|
6973
|
+
id: create_else_block.name,
|
|
7016
6974
|
type: "else",
|
|
7017
|
-
source: "(
|
|
6975
|
+
source: "(163:2) {:else}",
|
|
7018
6976
|
ctx
|
|
7019
6977
|
});
|
|
7020
6978
|
|
|
7021
6979
|
return block;
|
|
7022
6980
|
}
|
|
7023
6981
|
|
|
7024
|
-
// (
|
|
6982
|
+
// (140:2) {#if mobileView}
|
|
7025
6983
|
function create_if_block_2(ctx) {
|
|
7026
6984
|
let header;
|
|
7027
6985
|
let div6;
|
|
@@ -7033,7 +6991,7 @@
|
|
|
7033
6991
|
let t1;
|
|
7034
6992
|
let div5;
|
|
7035
6993
|
let div4;
|
|
7036
|
-
let
|
|
6994
|
+
let player_account_balance_modal;
|
|
7037
6995
|
let t2;
|
|
7038
6996
|
let div2;
|
|
7039
6997
|
let t4;
|
|
@@ -7046,14 +7004,7 @@
|
|
|
7046
7004
|
let path;
|
|
7047
7005
|
let mounted;
|
|
7048
7006
|
let dispose;
|
|
7049
|
-
let if_block = !/*hamburgerMenuActive*/ ctx[
|
|
7050
|
-
let each_value = /*balanceArray*/ ctx[7];
|
|
7051
|
-
validate_each_argument(each_value);
|
|
7052
|
-
let each_blocks = [];
|
|
7053
|
-
|
|
7054
|
-
for (let i = 0; i < each_value.length; i += 1) {
|
|
7055
|
-
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
7056
|
-
}
|
|
7007
|
+
let if_block = !/*hamburgerMenuActive*/ ctx[8] && create_if_block_3(ctx);
|
|
7057
7008
|
|
|
7058
7009
|
const block = {
|
|
7059
7010
|
c: function create() {
|
|
@@ -7067,12 +7018,7 @@
|
|
|
7067
7018
|
t1 = space();
|
|
7068
7019
|
div5 = element("div");
|
|
7069
7020
|
div4 = element("div");
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
7073
|
-
each_blocks[i].c();
|
|
7074
|
-
}
|
|
7075
|
-
|
|
7021
|
+
player_account_balance_modal = element("player-account-balance-modal");
|
|
7076
7022
|
t2 = space();
|
|
7077
7023
|
div2 = element("div");
|
|
7078
7024
|
div2.textContent = "Deposit";
|
|
@@ -7085,39 +7031,41 @@
|
|
|
7085
7031
|
g = svg_element("g");
|
|
7086
7032
|
path = svg_element("path");
|
|
7087
7033
|
attr_dev(div0, "class", "HeaderMobileMainNav");
|
|
7088
|
-
add_location(div0, file,
|
|
7034
|
+
add_location(div0, file, 142, 8, 5528);
|
|
7089
7035
|
if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
|
|
7090
7036
|
attr_dev(img, "alt", "Everymatrix logo");
|
|
7091
|
-
add_location(img, file,
|
|
7037
|
+
add_location(img, file, 148, 10, 6126);
|
|
7092
7038
|
attr_dev(div1, "class", "HeaderBranding");
|
|
7093
|
-
add_location(div1, file,
|
|
7094
|
-
|
|
7095
|
-
|
|
7039
|
+
add_location(div1, file, 147, 8, 6052);
|
|
7040
|
+
set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[7]);
|
|
7041
|
+
set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[6]);
|
|
7042
|
+
set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[1]);
|
|
7043
|
+
add_location(player_account_balance_modal, file, 153, 12, 6296);
|
|
7096
7044
|
attr_dev(div2, "class", "Item ItemDeposit");
|
|
7097
|
-
add_location(div2, file,
|
|
7098
|
-
add_location(style, file,
|
|
7099
|
-
add_location(defs, file,
|
|
7045
|
+
add_location(div2, file, 154, 12, 6396);
|
|
7046
|
+
add_location(style, file, 156, 111, 6670);
|
|
7047
|
+
add_location(defs, file, 156, 105, 6664);
|
|
7100
7048
|
attr_dev(path, "class", "a");
|
|
7101
7049
|
attr_dev(path, "d", "M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z");
|
|
7102
7050
|
attr_dev(path, "transform", "translate(0 0)");
|
|
7103
|
-
add_location(path, file,
|
|
7051
|
+
add_location(path, file, 156, 179, 6738);
|
|
7104
7052
|
attr_dev(g, "transform", "translate(-8 -4)");
|
|
7105
|
-
add_location(g, file,
|
|
7053
|
+
add_location(g, file, 156, 147, 6706);
|
|
7106
7054
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
7107
7055
|
attr_dev(svg, "width", "15");
|
|
7108
7056
|
attr_dev(svg, "height", "16.429");
|
|
7109
7057
|
attr_dev(svg, "viewBox", "0 0 15 16.429");
|
|
7110
|
-
add_location(svg, file,
|
|
7058
|
+
add_location(svg, file, 156, 14, 6573);
|
|
7111
7059
|
attr_dev(div3, "class", "Item ItemAccount");
|
|
7112
|
-
add_location(div3, file,
|
|
7060
|
+
add_location(div3, file, 155, 12, 6489);
|
|
7113
7061
|
attr_dev(div4, "class", "HeaderItemsMenu PrimaryMenu");
|
|
7114
|
-
add_location(div4, file,
|
|
7062
|
+
add_location(div4, file, 152, 10, 6242);
|
|
7115
7063
|
attr_dev(div5, "class", "HeaderTopActions");
|
|
7116
|
-
add_location(div5, file,
|
|
7064
|
+
add_location(div5, file, 151, 8, 6201);
|
|
7117
7065
|
attr_dev(div6, "class", "HeaderContainer");
|
|
7118
|
-
add_location(div6, file,
|
|
7066
|
+
add_location(div6, file, 141, 6, 5490);
|
|
7119
7067
|
attr_dev(header, "class", "HeaderWrapper HeaderMobileWrapper");
|
|
7120
|
-
add_location(header, file,
|
|
7068
|
+
add_location(header, file, 140, 4, 5433);
|
|
7121
7069
|
},
|
|
7122
7070
|
m: function mount(target, anchor) {
|
|
7123
7071
|
insert_dev(target, header, anchor);
|
|
@@ -7130,12 +7078,7 @@
|
|
|
7130
7078
|
append_dev(div6, t1);
|
|
7131
7079
|
append_dev(div6, div5);
|
|
7132
7080
|
append_dev(div5, div4);
|
|
7133
|
-
append_dev(div4,
|
|
7134
|
-
|
|
7135
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
7136
|
-
each_blocks[i].m(select, null);
|
|
7137
|
-
}
|
|
7138
|
-
|
|
7081
|
+
append_dev(div4, player_account_balance_modal);
|
|
7139
7082
|
append_dev(div4, t2);
|
|
7140
7083
|
append_dev(div4, div2);
|
|
7141
7084
|
append_dev(div4, t4);
|
|
@@ -7149,21 +7092,20 @@
|
|
|
7149
7092
|
|
|
7150
7093
|
if (!mounted) {
|
|
7151
7094
|
dispose = [
|
|
7152
|
-
listen_dev(div1, "click", /*click_handler_1*/ ctx[
|
|
7153
|
-
listen_dev(
|
|
7154
|
-
listen_dev(
|
|
7155
|
-
listen_dev(div3, "click", /*click_handler_3*/ ctx[18], false, false, false)
|
|
7095
|
+
listen_dev(div1, "click", /*click_handler_1*/ ctx[17], false, false, false),
|
|
7096
|
+
listen_dev(div2, "click", /*click_handler_2*/ ctx[18], false, false, false),
|
|
7097
|
+
listen_dev(div3, "click", /*click_handler_3*/ ctx[19], false, false, false)
|
|
7156
7098
|
];
|
|
7157
7099
|
|
|
7158
7100
|
mounted = true;
|
|
7159
7101
|
}
|
|
7160
7102
|
},
|
|
7161
7103
|
p: function update(ctx, dirty) {
|
|
7162
|
-
if (!/*hamburgerMenuActive*/ ctx[
|
|
7104
|
+
if (!/*hamburgerMenuActive*/ ctx[8]) {
|
|
7163
7105
|
if (if_block) {
|
|
7164
7106
|
if_block.p(ctx, dirty);
|
|
7165
7107
|
} else {
|
|
7166
|
-
if_block =
|
|
7108
|
+
if_block = create_if_block_3(ctx);
|
|
7167
7109
|
if_block.c();
|
|
7168
7110
|
if_block.m(div0, null);
|
|
7169
7111
|
}
|
|
@@ -7172,34 +7114,21 @@
|
|
|
7172
7114
|
if_block = null;
|
|
7173
7115
|
}
|
|
7174
7116
|
|
|
7175
|
-
if (dirty[0] & /*
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
let i;
|
|
7179
|
-
|
|
7180
|
-
for (i = 0; i < each_value.length; i += 1) {
|
|
7181
|
-
const child_ctx = get_each_context(ctx, each_value, i);
|
|
7182
|
-
|
|
7183
|
-
if (each_blocks[i]) {
|
|
7184
|
-
each_blocks[i].p(child_ctx, dirty);
|
|
7185
|
-
} else {
|
|
7186
|
-
each_blocks[i] = create_each_block(child_ctx);
|
|
7187
|
-
each_blocks[i].c();
|
|
7188
|
-
each_blocks[i].m(select, null);
|
|
7189
|
-
}
|
|
7190
|
-
}
|
|
7117
|
+
if (dirty[0] & /*sessionID*/ 128) {
|
|
7118
|
+
set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[7]);
|
|
7119
|
+
}
|
|
7191
7120
|
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7121
|
+
if (dirty[0] & /*playerID*/ 64) {
|
|
7122
|
+
set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[6]);
|
|
7123
|
+
}
|
|
7195
7124
|
|
|
7196
|
-
|
|
7125
|
+
if (dirty[0] & /*profileurl*/ 2) {
|
|
7126
|
+
set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[1]);
|
|
7197
7127
|
}
|
|
7198
7128
|
},
|
|
7199
7129
|
d: function destroy(detaching) {
|
|
7200
7130
|
if (detaching) detach_dev(header);
|
|
7201
7131
|
if (if_block) if_block.d();
|
|
7202
|
-
destroy_each(each_blocks, detaching);
|
|
7203
7132
|
mounted = false;
|
|
7204
7133
|
run_all(dispose);
|
|
7205
7134
|
}
|
|
@@ -7209,138 +7138,26 @@
|
|
|
7209
7138
|
block,
|
|
7210
7139
|
id: create_if_block_2.name,
|
|
7211
7140
|
type: "if",
|
|
7212
|
-
source: "(
|
|
7213
|
-
ctx
|
|
7214
|
-
});
|
|
7215
|
-
|
|
7216
|
-
return block;
|
|
7217
|
-
}
|
|
7218
|
-
|
|
7219
|
-
// (185:16) {:else}
|
|
7220
|
-
function create_else_block_3(ctx) {
|
|
7221
|
-
let option;
|
|
7222
|
-
let t_value = /*val*/ ctx[42] + "";
|
|
7223
|
-
let t;
|
|
7224
|
-
|
|
7225
|
-
const block = {
|
|
7226
|
-
c: function create() {
|
|
7227
|
-
option = element("option");
|
|
7228
|
-
t = text(t_value);
|
|
7229
|
-
option.__value = /*val*/ ctx[42];
|
|
7230
|
-
option.value = option.__value;
|
|
7231
|
-
add_location(option, file, 185, 18, 8134);
|
|
7232
|
-
},
|
|
7233
|
-
m: function mount(target, anchor) {
|
|
7234
|
-
insert_dev(target, option, anchor);
|
|
7235
|
-
append_dev(option, t);
|
|
7236
|
-
},
|
|
7237
|
-
p: noop$1,
|
|
7238
|
-
d: function destroy(detaching) {
|
|
7239
|
-
if (detaching) detach_dev(option);
|
|
7240
|
-
}
|
|
7241
|
-
};
|
|
7242
|
-
|
|
7243
|
-
dispatch_dev("SvelteRegisterBlock", {
|
|
7244
|
-
block,
|
|
7245
|
-
id: create_else_block_3.name,
|
|
7246
|
-
type: "else",
|
|
7247
|
-
source: "(185:16) {:else}",
|
|
7248
|
-
ctx
|
|
7249
|
-
});
|
|
7250
|
-
|
|
7251
|
-
return block;
|
|
7252
|
-
}
|
|
7253
|
-
|
|
7254
|
-
// (183:16) {#if val.includes('€')}
|
|
7255
|
-
function create_if_block_6(ctx) {
|
|
7256
|
-
let option;
|
|
7257
|
-
let t_value = /*val*/ ctx[42] + "";
|
|
7258
|
-
let t;
|
|
7259
|
-
|
|
7260
|
-
const block = {
|
|
7261
|
-
c: function create() {
|
|
7262
|
-
option = element("option");
|
|
7263
|
-
t = text(t_value);
|
|
7264
|
-
option.selected = true;
|
|
7265
|
-
option.__value = /*val*/ ctx[42];
|
|
7266
|
-
option.value = option.__value;
|
|
7267
|
-
add_location(option, file, 183, 18, 8060);
|
|
7268
|
-
},
|
|
7269
|
-
m: function mount(target, anchor) {
|
|
7270
|
-
insert_dev(target, option, anchor);
|
|
7271
|
-
append_dev(option, t);
|
|
7272
|
-
},
|
|
7273
|
-
p: noop$1,
|
|
7274
|
-
d: function destroy(detaching) {
|
|
7275
|
-
if (detaching) detach_dev(option);
|
|
7276
|
-
}
|
|
7277
|
-
};
|
|
7278
|
-
|
|
7279
|
-
dispatch_dev("SvelteRegisterBlock", {
|
|
7280
|
-
block,
|
|
7281
|
-
id: create_if_block_6.name,
|
|
7282
|
-
type: "if",
|
|
7283
|
-
source: "(183:16) {#if val.includes('€')}",
|
|
7284
|
-
ctx
|
|
7285
|
-
});
|
|
7286
|
-
|
|
7287
|
-
return block;
|
|
7288
|
-
}
|
|
7289
|
-
|
|
7290
|
-
// (182:14) {#each balanceArray as val}
|
|
7291
|
-
function create_each_block_3(ctx) {
|
|
7292
|
-
let if_block_anchor;
|
|
7293
|
-
|
|
7294
|
-
function select_block_type_3(ctx, dirty) {
|
|
7295
|
-
if (/*val*/ ctx[42].includes("€")) return create_if_block_6;
|
|
7296
|
-
return create_else_block_3;
|
|
7297
|
-
}
|
|
7298
|
-
|
|
7299
|
-
let current_block_type = select_block_type_3(ctx);
|
|
7300
|
-
let if_block = current_block_type(ctx);
|
|
7301
|
-
|
|
7302
|
-
const block = {
|
|
7303
|
-
c: function create() {
|
|
7304
|
-
if_block.c();
|
|
7305
|
-
if_block_anchor = empty();
|
|
7306
|
-
},
|
|
7307
|
-
m: function mount(target, anchor) {
|
|
7308
|
-
if_block.m(target, anchor);
|
|
7309
|
-
insert_dev(target, if_block_anchor, anchor);
|
|
7310
|
-
},
|
|
7311
|
-
p: function update(ctx, dirty) {
|
|
7312
|
-
if_block.p(ctx, dirty);
|
|
7313
|
-
},
|
|
7314
|
-
d: function destroy(detaching) {
|
|
7315
|
-
if_block.d(detaching);
|
|
7316
|
-
if (detaching) detach_dev(if_block_anchor);
|
|
7317
|
-
}
|
|
7318
|
-
};
|
|
7319
|
-
|
|
7320
|
-
dispatch_dev("SvelteRegisterBlock", {
|
|
7321
|
-
block,
|
|
7322
|
-
id: create_each_block_3.name,
|
|
7323
|
-
type: "each",
|
|
7324
|
-
source: "(182:14) {#each balanceArray as val}",
|
|
7141
|
+
source: "(140:2) {#if mobileView}",
|
|
7325
7142
|
ctx
|
|
7326
7143
|
});
|
|
7327
7144
|
|
|
7328
7145
|
return block;
|
|
7329
7146
|
}
|
|
7330
7147
|
|
|
7331
|
-
// (
|
|
7332
|
-
function
|
|
7148
|
+
// (196:16) {:else}
|
|
7149
|
+
function create_else_block_1(ctx) {
|
|
7333
7150
|
let option;
|
|
7334
|
-
let t_value = /*lang*/ ctx[
|
|
7151
|
+
let t_value = /*lang*/ ctx[47] + "";
|
|
7335
7152
|
let t;
|
|
7336
7153
|
|
|
7337
7154
|
const block = {
|
|
7338
7155
|
c: function create() {
|
|
7339
7156
|
option = element("option");
|
|
7340
7157
|
t = text(t_value);
|
|
7341
|
-
option.__value = /*lang*/ ctx[
|
|
7158
|
+
option.__value = /*lang*/ ctx[47];
|
|
7342
7159
|
option.value = option.__value;
|
|
7343
|
-
add_location(option, file,
|
|
7160
|
+
add_location(option, file, 196, 18, 9003);
|
|
7344
7161
|
},
|
|
7345
7162
|
m: function mount(target, anchor) {
|
|
7346
7163
|
insert_dev(target, option, anchor);
|
|
@@ -7354,19 +7171,19 @@
|
|
|
7354
7171
|
|
|
7355
7172
|
dispatch_dev("SvelteRegisterBlock", {
|
|
7356
7173
|
block,
|
|
7357
|
-
id:
|
|
7174
|
+
id: create_else_block_1.name,
|
|
7358
7175
|
type: "else",
|
|
7359
|
-
source: "(
|
|
7176
|
+
source: "(196:16) {:else}",
|
|
7360
7177
|
ctx
|
|
7361
7178
|
});
|
|
7362
7179
|
|
|
7363
7180
|
return block;
|
|
7364
7181
|
}
|
|
7365
7182
|
|
|
7366
|
-
// (
|
|
7367
|
-
function
|
|
7183
|
+
// (194:16) {#if lang === 'EN'}
|
|
7184
|
+
function create_if_block_4(ctx) {
|
|
7368
7185
|
let option;
|
|
7369
|
-
let t_value = /*lang*/ ctx[
|
|
7186
|
+
let t_value = /*lang*/ ctx[47] + "";
|
|
7370
7187
|
let t;
|
|
7371
7188
|
|
|
7372
7189
|
const block = {
|
|
@@ -7374,9 +7191,9 @@
|
|
|
7374
7191
|
option = element("option");
|
|
7375
7192
|
t = text(t_value);
|
|
7376
7193
|
option.selected = true;
|
|
7377
|
-
option.__value = /*lang*/ ctx[
|
|
7194
|
+
option.__value = /*lang*/ ctx[47];
|
|
7378
7195
|
option.value = option.__value;
|
|
7379
|
-
add_location(option, file,
|
|
7196
|
+
add_location(option, file, 194, 18, 8928);
|
|
7380
7197
|
},
|
|
7381
7198
|
m: function mount(target, anchor) {
|
|
7382
7199
|
insert_dev(target, option, anchor);
|
|
@@ -7390,25 +7207,25 @@
|
|
|
7390
7207
|
|
|
7391
7208
|
dispatch_dev("SvelteRegisterBlock", {
|
|
7392
7209
|
block,
|
|
7393
|
-
id:
|
|
7210
|
+
id: create_if_block_4.name,
|
|
7394
7211
|
type: "if",
|
|
7395
|
-
source: "(
|
|
7212
|
+
source: "(194:16) {#if lang === 'EN'}",
|
|
7396
7213
|
ctx
|
|
7397
7214
|
});
|
|
7398
7215
|
|
|
7399
7216
|
return block;
|
|
7400
7217
|
}
|
|
7401
7218
|
|
|
7402
|
-
// (
|
|
7403
|
-
function
|
|
7219
|
+
// (193:14) {#each languagesArray as lang}
|
|
7220
|
+
function create_each_block_1(ctx) {
|
|
7404
7221
|
let if_block_anchor;
|
|
7405
7222
|
|
|
7406
|
-
function
|
|
7407
|
-
if (/*lang*/ ctx[
|
|
7408
|
-
return
|
|
7223
|
+
function select_block_type_2(ctx, dirty) {
|
|
7224
|
+
if (/*lang*/ ctx[47] === "EN") return create_if_block_4;
|
|
7225
|
+
return create_else_block_1;
|
|
7409
7226
|
}
|
|
7410
7227
|
|
|
7411
|
-
let current_block_type =
|
|
7228
|
+
let current_block_type = select_block_type_2(ctx);
|
|
7412
7229
|
let if_block = current_block_type(ctx);
|
|
7413
7230
|
|
|
7414
7231
|
const block = {
|
|
@@ -7431,20 +7248,20 @@
|
|
|
7431
7248
|
|
|
7432
7249
|
dispatch_dev("SvelteRegisterBlock", {
|
|
7433
7250
|
block,
|
|
7434
|
-
id:
|
|
7251
|
+
id: create_each_block_1.name,
|
|
7435
7252
|
type: "each",
|
|
7436
|
-
source: "(
|
|
7253
|
+
source: "(193:14) {#each languagesArray as lang}",
|
|
7437
7254
|
ctx
|
|
7438
7255
|
});
|
|
7439
7256
|
|
|
7440
7257
|
return block;
|
|
7441
7258
|
}
|
|
7442
7259
|
|
|
7443
|
-
// (
|
|
7444
|
-
function
|
|
7260
|
+
// (206:10) {#each secondaryMenuArray as secondaryItem}
|
|
7261
|
+
function create_each_block(ctx) {
|
|
7445
7262
|
let li;
|
|
7446
7263
|
let a;
|
|
7447
|
-
let t_value = /*secondaryItem*/ ctx[
|
|
7264
|
+
let t_value = /*secondaryItem*/ ctx[44].label + "";
|
|
7448
7265
|
let t;
|
|
7449
7266
|
let a_href_value;
|
|
7450
7267
|
|
|
@@ -7453,10 +7270,10 @@
|
|
|
7453
7270
|
li = element("li");
|
|
7454
7271
|
a = element("a");
|
|
7455
7272
|
t = text(t_value);
|
|
7456
|
-
attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[
|
|
7457
|
-
add_location(a, file,
|
|
7273
|
+
attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[44].path);
|
|
7274
|
+
add_location(a, file, 206, 38, 9315);
|
|
7458
7275
|
attr_dev(li, "class", "ItemSecondary");
|
|
7459
|
-
add_location(li, file,
|
|
7276
|
+
add_location(li, file, 206, 12, 9289);
|
|
7460
7277
|
},
|
|
7461
7278
|
m: function mount(target, anchor) {
|
|
7462
7279
|
insert_dev(target, li, anchor);
|
|
@@ -7464,9 +7281,9 @@
|
|
|
7464
7281
|
append_dev(a, t);
|
|
7465
7282
|
},
|
|
7466
7283
|
p: function update(ctx, dirty) {
|
|
7467
|
-
if (dirty[0] & /*secondaryMenuArray*/
|
|
7284
|
+
if (dirty[0] & /*secondaryMenuArray*/ 8 && t_value !== (t_value = /*secondaryItem*/ ctx[44].label + "")) set_data_dev(t, t_value);
|
|
7468
7285
|
|
|
7469
|
-
if (dirty[0] & /*secondaryMenuArray*/
|
|
7286
|
+
if (dirty[0] & /*secondaryMenuArray*/ 8 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[44].path)) {
|
|
7470
7287
|
attr_dev(a, "href", a_href_value);
|
|
7471
7288
|
}
|
|
7472
7289
|
},
|
|
@@ -7477,17 +7294,17 @@
|
|
|
7477
7294
|
|
|
7478
7295
|
dispatch_dev("SvelteRegisterBlock", {
|
|
7479
7296
|
block,
|
|
7480
|
-
id:
|
|
7297
|
+
id: create_each_block.name,
|
|
7481
7298
|
type: "each",
|
|
7482
|
-
source: "(
|
|
7299
|
+
source: "(206:10) {#each secondaryMenuArray as secondaryItem}",
|
|
7483
7300
|
ctx
|
|
7484
7301
|
});
|
|
7485
7302
|
|
|
7486
7303
|
return block;
|
|
7487
7304
|
}
|
|
7488
7305
|
|
|
7489
|
-
// (
|
|
7490
|
-
function
|
|
7306
|
+
// (144:10) {#if !hamburgerMenuActive}
|
|
7307
|
+
function create_if_block_3(ctx) {
|
|
7491
7308
|
let svg;
|
|
7492
7309
|
let defs;
|
|
7493
7310
|
let style;
|
|
@@ -7509,30 +7326,30 @@
|
|
|
7509
7326
|
rect0 = svg_element("rect");
|
|
7510
7327
|
rect1 = svg_element("rect");
|
|
7511
7328
|
rect2 = svg_element("rect");
|
|
7512
|
-
add_location(style, file,
|
|
7513
|
-
add_location(defs, file,
|
|
7329
|
+
add_location(style, file, 144, 129, 5728);
|
|
7330
|
+
add_location(defs, file, 144, 123, 5722);
|
|
7514
7331
|
attr_dev(rect0, "class", "a");
|
|
7515
7332
|
attr_dev(rect0, "width", "18");
|
|
7516
7333
|
attr_dev(rect0, "height", "2");
|
|
7517
7334
|
attr_dev(rect0, "transform", "translate(14 13)");
|
|
7518
|
-
add_location(rect0, file,
|
|
7335
|
+
add_location(rect0, file, 144, 199, 5798);
|
|
7519
7336
|
attr_dev(rect1, "class", "a");
|
|
7520
7337
|
attr_dev(rect1, "width", "22");
|
|
7521
7338
|
attr_dev(rect1, "height", "2");
|
|
7522
7339
|
attr_dev(rect1, "transform", "translate(14 20)");
|
|
7523
|
-
add_location(rect1, file,
|
|
7340
|
+
add_location(rect1, file, 144, 267, 5866);
|
|
7524
7341
|
attr_dev(rect2, "class", "a");
|
|
7525
7342
|
attr_dev(rect2, "width", "22");
|
|
7526
7343
|
attr_dev(rect2, "height", "2");
|
|
7527
7344
|
attr_dev(rect2, "transform", "translate(14 27)");
|
|
7528
|
-
add_location(rect2, file,
|
|
7345
|
+
add_location(rect2, file, 144, 335, 5934);
|
|
7529
7346
|
attr_dev(g, "transform", "translate(-14 -13)");
|
|
7530
|
-
add_location(g, file,
|
|
7347
|
+
add_location(g, file, 144, 165, 5764);
|
|
7531
7348
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
7532
7349
|
attr_dev(svg, "width", "22");
|
|
7533
7350
|
attr_dev(svg, "height", "16");
|
|
7534
7351
|
attr_dev(svg, "viewBox", "0 0 22 16");
|
|
7535
|
-
add_location(svg, file,
|
|
7352
|
+
add_location(svg, file, 144, 12, 5611);
|
|
7536
7353
|
},
|
|
7537
7354
|
m: function mount(target, anchor) {
|
|
7538
7355
|
insert_dev(target, svg, anchor);
|
|
@@ -7545,7 +7362,7 @@
|
|
|
7545
7362
|
append_dev(g, rect2);
|
|
7546
7363
|
|
|
7547
7364
|
if (!mounted) {
|
|
7548
|
-
dispose = listen_dev(svg, "click", /*click_handler*/ ctx[
|
|
7365
|
+
dispose = listen_dev(svg, "click", /*click_handler*/ ctx[16], false, false, false);
|
|
7549
7366
|
mounted = true;
|
|
7550
7367
|
}
|
|
7551
7368
|
},
|
|
@@ -7557,130 +7374,18 @@
|
|
|
7557
7374
|
}
|
|
7558
7375
|
};
|
|
7559
7376
|
|
|
7560
|
-
dispatch_dev("SvelteRegisterBlock", {
|
|
7561
|
-
block,
|
|
7562
|
-
id: create_if_block_4.name,
|
|
7563
|
-
type: "if",
|
|
7564
|
-
source: "(142:10) {#if !hamburgerMenuActive}",
|
|
7565
|
-
ctx
|
|
7566
|
-
});
|
|
7567
|
-
|
|
7568
|
-
return block;
|
|
7569
|
-
}
|
|
7570
|
-
|
|
7571
|
-
// (156:16) {:else}
|
|
7572
|
-
function create_else_block(ctx) {
|
|
7573
|
-
let option;
|
|
7574
|
-
let t_value = /*val*/ ctx[42] + "";
|
|
7575
|
-
let t;
|
|
7576
|
-
|
|
7577
|
-
const block = {
|
|
7578
|
-
c: function create() {
|
|
7579
|
-
option = element("option");
|
|
7580
|
-
t = text(t_value);
|
|
7581
|
-
option.__value = /*val*/ ctx[42];
|
|
7582
|
-
option.value = option.__value;
|
|
7583
|
-
add_location(option, file, 156, 18, 6497);
|
|
7584
|
-
},
|
|
7585
|
-
m: function mount(target, anchor) {
|
|
7586
|
-
insert_dev(target, option, anchor);
|
|
7587
|
-
append_dev(option, t);
|
|
7588
|
-
},
|
|
7589
|
-
p: noop$1,
|
|
7590
|
-
d: function destroy(detaching) {
|
|
7591
|
-
if (detaching) detach_dev(option);
|
|
7592
|
-
}
|
|
7593
|
-
};
|
|
7594
|
-
|
|
7595
|
-
dispatch_dev("SvelteRegisterBlock", {
|
|
7596
|
-
block,
|
|
7597
|
-
id: create_else_block.name,
|
|
7598
|
-
type: "else",
|
|
7599
|
-
source: "(156:16) {:else}",
|
|
7600
|
-
ctx
|
|
7601
|
-
});
|
|
7602
|
-
|
|
7603
|
-
return block;
|
|
7604
|
-
}
|
|
7605
|
-
|
|
7606
|
-
// (154:16) {#if val.includes('€')}
|
|
7607
|
-
function create_if_block_3(ctx) {
|
|
7608
|
-
let option;
|
|
7609
|
-
let t_value = /*val*/ ctx[42] + "";
|
|
7610
|
-
let t;
|
|
7611
|
-
|
|
7612
|
-
const block = {
|
|
7613
|
-
c: function create() {
|
|
7614
|
-
option = element("option");
|
|
7615
|
-
t = text(t_value);
|
|
7616
|
-
option.selected = true;
|
|
7617
|
-
option.__value = /*val*/ ctx[42];
|
|
7618
|
-
option.value = option.__value;
|
|
7619
|
-
add_location(option, file, 154, 18, 6423);
|
|
7620
|
-
},
|
|
7621
|
-
m: function mount(target, anchor) {
|
|
7622
|
-
insert_dev(target, option, anchor);
|
|
7623
|
-
append_dev(option, t);
|
|
7624
|
-
},
|
|
7625
|
-
p: noop$1,
|
|
7626
|
-
d: function destroy(detaching) {
|
|
7627
|
-
if (detaching) detach_dev(option);
|
|
7628
|
-
}
|
|
7629
|
-
};
|
|
7630
|
-
|
|
7631
7377
|
dispatch_dev("SvelteRegisterBlock", {
|
|
7632
7378
|
block,
|
|
7633
7379
|
id: create_if_block_3.name,
|
|
7634
7380
|
type: "if",
|
|
7635
|
-
source: "(
|
|
7381
|
+
source: "(144:10) {#if !hamburgerMenuActive}",
|
|
7636
7382
|
ctx
|
|
7637
7383
|
});
|
|
7638
7384
|
|
|
7639
7385
|
return block;
|
|
7640
7386
|
}
|
|
7641
7387
|
|
|
7642
|
-
// (
|
|
7643
|
-
function create_each_block(ctx) {
|
|
7644
|
-
let if_block_anchor;
|
|
7645
|
-
|
|
7646
|
-
function select_block_type_2(ctx, dirty) {
|
|
7647
|
-
if (/*val*/ ctx[42].includes("€")) return create_if_block_3;
|
|
7648
|
-
return create_else_block;
|
|
7649
|
-
}
|
|
7650
|
-
|
|
7651
|
-
let current_block_type = select_block_type_2(ctx);
|
|
7652
|
-
let if_block = current_block_type(ctx);
|
|
7653
|
-
|
|
7654
|
-
const block = {
|
|
7655
|
-
c: function create() {
|
|
7656
|
-
if_block.c();
|
|
7657
|
-
if_block_anchor = empty();
|
|
7658
|
-
},
|
|
7659
|
-
m: function mount(target, anchor) {
|
|
7660
|
-
if_block.m(target, anchor);
|
|
7661
|
-
insert_dev(target, if_block_anchor, anchor);
|
|
7662
|
-
},
|
|
7663
|
-
p: function update(ctx, dirty) {
|
|
7664
|
-
if_block.p(ctx, dirty);
|
|
7665
|
-
},
|
|
7666
|
-
d: function destroy(detaching) {
|
|
7667
|
-
if_block.d(detaching);
|
|
7668
|
-
if (detaching) detach_dev(if_block_anchor);
|
|
7669
|
-
}
|
|
7670
|
-
};
|
|
7671
|
-
|
|
7672
|
-
dispatch_dev("SvelteRegisterBlock", {
|
|
7673
|
-
block,
|
|
7674
|
-
id: create_each_block.name,
|
|
7675
|
-
type: "each",
|
|
7676
|
-
source: "(153:14) {#each balanceArray as val}",
|
|
7677
|
-
ctx
|
|
7678
|
-
});
|
|
7679
|
-
|
|
7680
|
-
return block;
|
|
7681
|
-
}
|
|
7682
|
-
|
|
7683
|
-
// (283:0) {#if !mobileView}
|
|
7388
|
+
// (269:0) {#if !mobileView}
|
|
7684
7389
|
function create_if_block(ctx) {
|
|
7685
7390
|
let div;
|
|
7686
7391
|
let div_class_value;
|
|
@@ -7688,15 +7393,15 @@
|
|
|
7688
7393
|
const block = {
|
|
7689
7394
|
c: function create() {
|
|
7690
7395
|
div = element("div");
|
|
7691
|
-
attr_dev(div, "class", div_class_value = "HeaderSlider " + (/*mobileView*/ ctx[
|
|
7396
|
+
attr_dev(div, "class", div_class_value = "HeaderSlider " + (/*mobileView*/ ctx[4] ? "HeaderSliderMobile" : ""));
|
|
7692
7397
|
set_style(div, "background-image", "url(" + img + ")");
|
|
7693
|
-
add_location(div, file,
|
|
7398
|
+
add_location(div, file, 269, 2, 11889);
|
|
7694
7399
|
},
|
|
7695
7400
|
m: function mount(target, anchor) {
|
|
7696
7401
|
insert_dev(target, div, anchor);
|
|
7697
7402
|
},
|
|
7698
7403
|
p: function update(ctx, dirty) {
|
|
7699
|
-
if (dirty[0] & /*mobileView*/
|
|
7404
|
+
if (dirty[0] & /*mobileView*/ 16 && div_class_value !== (div_class_value = "HeaderSlider " + (/*mobileView*/ ctx[4] ? "HeaderSliderMobile" : ""))) {
|
|
7700
7405
|
attr_dev(div, "class", div_class_value);
|
|
7701
7406
|
}
|
|
7702
7407
|
},
|
|
@@ -7709,7 +7414,7 @@
|
|
|
7709
7414
|
block,
|
|
7710
7415
|
id: create_if_block.name,
|
|
7711
7416
|
type: "if",
|
|
7712
|
-
source: "(
|
|
7417
|
+
source: "(269:0) {#if !mobileView}",
|
|
7713
7418
|
ctx
|
|
7714
7419
|
});
|
|
7715
7420
|
|
|
@@ -7722,14 +7427,14 @@
|
|
|
7722
7427
|
let casino_hamburger_menu;
|
|
7723
7428
|
|
|
7724
7429
|
function select_block_type(ctx, dirty) {
|
|
7725
|
-
if (/*isLoggedIn*/ ctx[
|
|
7726
|
-
if (/*mobileView*/ ctx[
|
|
7727
|
-
return
|
|
7430
|
+
if (/*isLoggedIn*/ ctx[5]) return create_if_block_1;
|
|
7431
|
+
if (/*mobileView*/ ctx[4]) return create_if_block_5;
|
|
7432
|
+
return create_else_block_2;
|
|
7728
7433
|
}
|
|
7729
7434
|
|
|
7730
7435
|
let current_block_type = select_block_type(ctx);
|
|
7731
7436
|
let if_block0 = current_block_type(ctx);
|
|
7732
|
-
let if_block1 = !/*mobileView*/ ctx[
|
|
7437
|
+
let if_block1 = !/*mobileView*/ ctx[4] && create_if_block(ctx);
|
|
7733
7438
|
|
|
7734
7439
|
const block = {
|
|
7735
7440
|
c: function create() {
|
|
@@ -7740,8 +7445,8 @@
|
|
|
7740
7445
|
casino_hamburger_menu = element("casino-hamburger-menu");
|
|
7741
7446
|
this.c = noop$1;
|
|
7742
7447
|
set_custom_element_data(casino_hamburger_menu, "menuitemsurl", /*cmshamburgermenuurl*/ ctx[0]);
|
|
7743
|
-
set_custom_element_data(casino_hamburger_menu, "language", /*language*/ ctx[
|
|
7744
|
-
add_location(casino_hamburger_menu, file,
|
|
7448
|
+
set_custom_element_data(casino_hamburger_menu, "language", /*language*/ ctx[10]);
|
|
7449
|
+
add_location(casino_hamburger_menu, file, 272, 0, 12026);
|
|
7745
7450
|
},
|
|
7746
7451
|
l: function claim(nodes) {
|
|
7747
7452
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -7766,7 +7471,7 @@
|
|
|
7766
7471
|
}
|
|
7767
7472
|
}
|
|
7768
7473
|
|
|
7769
|
-
if (!/*mobileView*/ ctx[
|
|
7474
|
+
if (!/*mobileView*/ ctx[4]) {
|
|
7770
7475
|
if (if_block1) {
|
|
7771
7476
|
if_block1.p(ctx, dirty);
|
|
7772
7477
|
} else {
|
|
@@ -7849,6 +7554,7 @@
|
|
|
7849
7554
|
let { userid = "" } = $$props;
|
|
7850
7555
|
let { cmsmenuurl = "" } = $$props;
|
|
7851
7556
|
let { cmshamburgermenuurl = "" } = $$props;
|
|
7557
|
+
let { profileurl = "" } = $$props;
|
|
7852
7558
|
|
|
7853
7559
|
const genericIcon = `<svg version="1.1" fill="#fff" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="width: 30px; color: #fff;" x="0px" y="0px"
|
|
7854
7560
|
viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;" xml:space="preserve">
|
|
@@ -7863,7 +7569,6 @@
|
|
|
7863
7569
|
let mainMenuArray = [];
|
|
7864
7570
|
let secondaryMenuArray = [];
|
|
7865
7571
|
let languagesArray = ["EN", "DE"];
|
|
7866
|
-
let balanceArray = ["1.650.944,353 €", "6.300,453 Ron"];
|
|
7867
7572
|
let mobileView = false;
|
|
7868
7573
|
let userAgent = window.navigator.userAgent;
|
|
7869
7574
|
let isLoggedIn = false;
|
|
@@ -7876,6 +7581,11 @@
|
|
|
7876
7581
|
// const mediaQuery = window.matchMedia('(min-width: 768px)');
|
|
7877
7582
|
let hamburgerMenuActive = false;
|
|
7878
7583
|
|
|
7584
|
+
let totalBalance = "";
|
|
7585
|
+
let cashBalance = "";
|
|
7586
|
+
let bonusBalance = "";
|
|
7587
|
+
let currency = "";
|
|
7588
|
+
|
|
7879
7589
|
const menuAction = data => {
|
|
7880
7590
|
switch (data) {
|
|
7881
7591
|
case "login":
|
|
@@ -7903,9 +7613,6 @@
|
|
|
7903
7613
|
case "lobby":
|
|
7904
7614
|
console.log("lobby");
|
|
7905
7615
|
break;
|
|
7906
|
-
case "balance":
|
|
7907
|
-
console.log("balance");
|
|
7908
|
-
break;
|
|
7909
7616
|
case "myaccount":
|
|
7910
7617
|
console.log("myaccount");
|
|
7911
7618
|
window.postMessage({ type: "PlayerAccountMenuActive" }, window.location.href);
|
|
@@ -7920,7 +7627,7 @@
|
|
|
7920
7627
|
};
|
|
7921
7628
|
|
|
7922
7629
|
const toggleMenu = () => {
|
|
7923
|
-
$$invalidate(
|
|
7630
|
+
$$invalidate(8, hamburgerMenuActive = true);
|
|
7924
7631
|
window.postMessage({ type: "OpenHamburgerMenuModal" }, window.location.href);
|
|
7925
7632
|
};
|
|
7926
7633
|
|
|
@@ -7928,25 +7635,25 @@
|
|
|
7928
7635
|
if (e.data) {
|
|
7929
7636
|
switch (e.data.type) {
|
|
7930
7637
|
case "UserSessionID":
|
|
7931
|
-
playerID = e.data.userid;
|
|
7932
|
-
sessionID = e.data.session;
|
|
7933
|
-
$$invalidate(
|
|
7638
|
+
$$invalidate(6, playerID = e.data.userid);
|
|
7639
|
+
$$invalidate(7, sessionID = e.data.session);
|
|
7640
|
+
$$invalidate(5, isLoggedIn = true);
|
|
7934
7641
|
break;
|
|
7935
7642
|
case "CloseHamburgerMenu":
|
|
7936
7643
|
if (e.data.showhamburger) {
|
|
7937
|
-
$$invalidate(
|
|
7644
|
+
$$invalidate(8, hamburgerMenuActive = false);
|
|
7938
7645
|
}
|
|
7939
7646
|
break;
|
|
7940
7647
|
case "LogoutSuccessfull":
|
|
7941
|
-
$$invalidate(
|
|
7648
|
+
$$invalidate(5, isLoggedIn = false);
|
|
7942
7649
|
break;
|
|
7943
7650
|
}
|
|
7944
7651
|
}
|
|
7945
7652
|
};
|
|
7946
7653
|
|
|
7947
7654
|
const setSession = () => {
|
|
7948
|
-
$$invalidate(
|
|
7949
|
-
sessionID = session;
|
|
7655
|
+
$$invalidate(5, isLoggedIn = true);
|
|
7656
|
+
$$invalidate(7, sessionID = session);
|
|
7950
7657
|
};
|
|
7951
7658
|
|
|
7952
7659
|
const initialLoad = () => {
|
|
@@ -7959,8 +7666,8 @@
|
|
|
7959
7666
|
return res.json();
|
|
7960
7667
|
}).then(
|
|
7961
7668
|
data => {
|
|
7962
|
-
$$invalidate(
|
|
7963
|
-
$$invalidate(
|
|
7669
|
+
$$invalidate(2, mainMenuArray = data.desktop.primary);
|
|
7670
|
+
$$invalidate(3, secondaryMenuArray = data.desktop.secondary);
|
|
7964
7671
|
resolve(data);
|
|
7965
7672
|
},
|
|
7966
7673
|
err => {
|
|
@@ -7975,7 +7682,7 @@
|
|
|
7975
7682
|
window.addEventListener("message", messageHandler, false);
|
|
7976
7683
|
|
|
7977
7684
|
if (isMobile(userAgent)) {
|
|
7978
|
-
$$invalidate(
|
|
7685
|
+
$$invalidate(4, mobileView = true);
|
|
7979
7686
|
}
|
|
7980
7687
|
|
|
7981
7688
|
return () => {
|
|
@@ -7983,7 +7690,7 @@
|
|
|
7983
7690
|
};
|
|
7984
7691
|
}));
|
|
7985
7692
|
|
|
7986
|
-
const writable_props = ["session", "userid", "cmsmenuurl", "cmshamburgermenuurl"];
|
|
7693
|
+
const writable_props = ["session", "userid", "cmsmenuurl", "cmshamburgermenuurl", "profileurl"];
|
|
7987
7694
|
|
|
7988
7695
|
Object.keys($$props).forEach(key => {
|
|
7989
7696
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console_1.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
@@ -7991,14 +7698,12 @@
|
|
|
7991
7698
|
|
|
7992
7699
|
const click_handler = () => toggleMenu();
|
|
7993
7700
|
const click_handler_1 = () => menuAction("lobby");
|
|
7994
|
-
const change_handler = () => menuAction("balance");
|
|
7995
7701
|
const click_handler_2 = () => menuAction("deposit");
|
|
7996
7702
|
const click_handler_3 = () => menuAction("myaccount");
|
|
7997
7703
|
const click_handler_4 = () => menuAction("lobby");
|
|
7998
|
-
const change_handler_1 = () => menuAction("balance");
|
|
7999
7704
|
const click_handler_5 = () => menuAction("deposit");
|
|
8000
7705
|
const click_handler_6 = () => menuAction("myaccount");
|
|
8001
|
-
const
|
|
7706
|
+
const change_handler = () => menuAction("language");
|
|
8002
7707
|
const click_handler_7 = () => toggleMenu();
|
|
8003
7708
|
const click_handler_8 = () => menuAction("lobby");
|
|
8004
7709
|
const click_handler_9 = () => menuAction("login");
|
|
@@ -8006,13 +7711,14 @@
|
|
|
8006
7711
|
const click_handler_11 = () => menuAction("lobby");
|
|
8007
7712
|
const click_handler_12 = () => menuAction("login");
|
|
8008
7713
|
const click_handler_13 = () => menuAction("register");
|
|
8009
|
-
const
|
|
7714
|
+
const change_handler_1 = () => menuAction("language");
|
|
8010
7715
|
|
|
8011
7716
|
$$self.$$set = $$props => {
|
|
8012
|
-
if ("session" in $$props) $$invalidate(
|
|
8013
|
-
if ("userid" in $$props) $$invalidate(
|
|
8014
|
-
if ("cmsmenuurl" in $$props) $$invalidate(
|
|
7717
|
+
if ("session" in $$props) $$invalidate(13, session = $$props.session);
|
|
7718
|
+
if ("userid" in $$props) $$invalidate(14, userid = $$props.userid);
|
|
7719
|
+
if ("cmsmenuurl" in $$props) $$invalidate(15, cmsmenuurl = $$props.cmsmenuurl);
|
|
8015
7720
|
if ("cmshamburgermenuurl" in $$props) $$invalidate(0, cmshamburgermenuurl = $$props.cmshamburgermenuurl);
|
|
7721
|
+
if ("profileurl" in $$props) $$invalidate(1, profileurl = $$props.profileurl);
|
|
8016
7722
|
};
|
|
8017
7723
|
|
|
8018
7724
|
$$self.$capture_state = () => ({
|
|
@@ -8025,11 +7731,11 @@
|
|
|
8025
7731
|
userid,
|
|
8026
7732
|
cmsmenuurl,
|
|
8027
7733
|
cmshamburgermenuurl,
|
|
7734
|
+
profileurl,
|
|
8028
7735
|
genericIcon,
|
|
8029
7736
|
mainMenuArray,
|
|
8030
7737
|
secondaryMenuArray,
|
|
8031
7738
|
languagesArray,
|
|
8032
|
-
balanceArray,
|
|
8033
7739
|
mobileView,
|
|
8034
7740
|
userAgent,
|
|
8035
7741
|
isLoggedIn,
|
|
@@ -8038,6 +7744,10 @@
|
|
|
8038
7744
|
loginActive,
|
|
8039
7745
|
language,
|
|
8040
7746
|
hamburgerMenuActive,
|
|
7747
|
+
totalBalance,
|
|
7748
|
+
cashBalance,
|
|
7749
|
+
bonusBalance,
|
|
7750
|
+
currency,
|
|
8041
7751
|
menuAction,
|
|
8042
7752
|
toggleMenu,
|
|
8043
7753
|
messageHandler,
|
|
@@ -8048,22 +7758,26 @@
|
|
|
8048
7758
|
|
|
8049
7759
|
$$self.$inject_state = $$props => {
|
|
8050
7760
|
if ("__awaiter" in $$props) __awaiter = $$props.__awaiter;
|
|
8051
|
-
if ("session" in $$props) $$invalidate(
|
|
8052
|
-
if ("userid" in $$props) $$invalidate(
|
|
8053
|
-
if ("cmsmenuurl" in $$props) $$invalidate(
|
|
7761
|
+
if ("session" in $$props) $$invalidate(13, session = $$props.session);
|
|
7762
|
+
if ("userid" in $$props) $$invalidate(14, userid = $$props.userid);
|
|
7763
|
+
if ("cmsmenuurl" in $$props) $$invalidate(15, cmsmenuurl = $$props.cmsmenuurl);
|
|
8054
7764
|
if ("cmshamburgermenuurl" in $$props) $$invalidate(0, cmshamburgermenuurl = $$props.cmshamburgermenuurl);
|
|
8055
|
-
if ("
|
|
8056
|
-
if ("
|
|
8057
|
-
if ("
|
|
8058
|
-
if ("
|
|
8059
|
-
if ("mobileView" in $$props) $$invalidate(
|
|
7765
|
+
if ("profileurl" in $$props) $$invalidate(1, profileurl = $$props.profileurl);
|
|
7766
|
+
if ("mainMenuArray" in $$props) $$invalidate(2, mainMenuArray = $$props.mainMenuArray);
|
|
7767
|
+
if ("secondaryMenuArray" in $$props) $$invalidate(3, secondaryMenuArray = $$props.secondaryMenuArray);
|
|
7768
|
+
if ("languagesArray" in $$props) $$invalidate(9, languagesArray = $$props.languagesArray);
|
|
7769
|
+
if ("mobileView" in $$props) $$invalidate(4, mobileView = $$props.mobileView);
|
|
8060
7770
|
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
8061
|
-
if ("isLoggedIn" in $$props) $$invalidate(
|
|
8062
|
-
if ("playerID" in $$props) playerID = $$props.playerID;
|
|
8063
|
-
if ("sessionID" in $$props) sessionID = $$props.sessionID;
|
|
7771
|
+
if ("isLoggedIn" in $$props) $$invalidate(5, isLoggedIn = $$props.isLoggedIn);
|
|
7772
|
+
if ("playerID" in $$props) $$invalidate(6, playerID = $$props.playerID);
|
|
7773
|
+
if ("sessionID" in $$props) $$invalidate(7, sessionID = $$props.sessionID);
|
|
8064
7774
|
if ("loginActive" in $$props) loginActive = $$props.loginActive;
|
|
8065
|
-
if ("language" in $$props) $$invalidate(
|
|
8066
|
-
if ("hamburgerMenuActive" in $$props) $$invalidate(
|
|
7775
|
+
if ("language" in $$props) $$invalidate(10, language = $$props.language);
|
|
7776
|
+
if ("hamburgerMenuActive" in $$props) $$invalidate(8, hamburgerMenuActive = $$props.hamburgerMenuActive);
|
|
7777
|
+
if ("totalBalance" in $$props) totalBalance = $$props.totalBalance;
|
|
7778
|
+
if ("cashBalance" in $$props) cashBalance = $$props.cashBalance;
|
|
7779
|
+
if ("bonusBalance" in $$props) bonusBalance = $$props.bonusBalance;
|
|
7780
|
+
if ("currency" in $$props) currency = $$props.currency;
|
|
8067
7781
|
};
|
|
8068
7782
|
|
|
8069
7783
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -8071,24 +7785,26 @@
|
|
|
8071
7785
|
}
|
|
8072
7786
|
|
|
8073
7787
|
$$self.$$.update = () => {
|
|
8074
|
-
if ($$self.$$.dirty[0] & /*session*/
|
|
7788
|
+
if ($$self.$$.dirty[0] & /*session*/ 8192) {
|
|
8075
7789
|
session && setSession();
|
|
8076
7790
|
}
|
|
8077
7791
|
|
|
8078
|
-
if ($$self.$$.dirty[0] & /*cmsmenuurl, cmshamburgermenuurl*/
|
|
8079
|
-
cmsmenuurl && cmshamburgermenuurl && initialLoad();
|
|
7792
|
+
if ($$self.$$.dirty[0] & /*cmsmenuurl, cmshamburgermenuurl, profileurl*/ 32771) {
|
|
7793
|
+
cmsmenuurl && cmshamburgermenuurl && profileurl && initialLoad();
|
|
8080
7794
|
}
|
|
8081
7795
|
};
|
|
8082
7796
|
|
|
8083
7797
|
return [
|
|
8084
7798
|
cmshamburgermenuurl,
|
|
7799
|
+
profileurl,
|
|
8085
7800
|
mainMenuArray,
|
|
8086
7801
|
secondaryMenuArray,
|
|
8087
7802
|
mobileView,
|
|
8088
7803
|
isLoggedIn,
|
|
7804
|
+
playerID,
|
|
7805
|
+
sessionID,
|
|
8089
7806
|
hamburgerMenuActive,
|
|
8090
7807
|
languagesArray,
|
|
8091
|
-
balanceArray,
|
|
8092
7808
|
language,
|
|
8093
7809
|
menuAction,
|
|
8094
7810
|
toggleMenu,
|
|
@@ -8097,14 +7813,12 @@
|
|
|
8097
7813
|
cmsmenuurl,
|
|
8098
7814
|
click_handler,
|
|
8099
7815
|
click_handler_1,
|
|
8100
|
-
change_handler,
|
|
8101
7816
|
click_handler_2,
|
|
8102
7817
|
click_handler_3,
|
|
8103
7818
|
click_handler_4,
|
|
8104
|
-
change_handler_1,
|
|
8105
7819
|
click_handler_5,
|
|
8106
7820
|
click_handler_6,
|
|
8107
|
-
|
|
7821
|
+
change_handler,
|
|
8108
7822
|
click_handler_7,
|
|
8109
7823
|
click_handler_8,
|
|
8110
7824
|
click_handler_9,
|
|
@@ -8112,14 +7826,14 @@
|
|
|
8112
7826
|
click_handler_11,
|
|
8113
7827
|
click_handler_12,
|
|
8114
7828
|
click_handler_13,
|
|
8115
|
-
|
|
7829
|
+
change_handler_1
|
|
8116
7830
|
];
|
|
8117
7831
|
}
|
|
8118
7832
|
|
|
8119
7833
|
class CasinoHeaderController extends SvelteElement {
|
|
8120
7834
|
constructor(options) {
|
|
8121
7835
|
super();
|
|
8122
|
-
this.shadowRoot.innerHTML = `<style>.HeaderSlider{width:100%;height:400px}.HeaderWrapper{background:#050518}.HeaderContainer{max-width:1280px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderBranding{width:150px}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:#050518;border-top:1px solid #58586B}.HeaderItemsMenu{display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:#FFF;font-size:16px;align-items:center}.HeaderItemsMenu .Item{padding:0 15px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;border:solid 1px #FFF;height:44px;text-align:center;line-height:44px;margin-right:20px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:#E32D2C;font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:#D0046C}.ItemLanguage{height:44px;width:68px;text-align:center;line-height:44px;background:transparent;color:#fff;border:none;cursor:pointer}.
|
|
7836
|
+
this.shadowRoot.innerHTML = `<style>.HeaderSlider{width:100%;height:400px}.HeaderWrapper{background:#050518}.HeaderContainer{max-width:1280px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderBranding{width:150px}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:#050518;border-top:1px solid #58586B}.HeaderItemsMenu{display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:#FFF;font-size:16px;align-items:center}.HeaderItemsMenu .Item{padding:0 15px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;border:solid 1px #FFF;height:44px;text-align:center;line-height:44px;margin-right:20px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:#E32D2C;font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:#D0046C}.ItemLanguage{height:44px;width:68px;text-align:center;line-height:44px;background:transparent;color:#fff;border:none;cursor:pointer}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:#FFF;font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{padding:0 15px;cursor:pointer;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary a{color:#fff;text-decoration:none}.HeaderItemsMenuSecondary .ItemSecondary:hover a{color:#D0046C}.HeaderSliderMobile{background-position:bottom}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}.HeaderMobileWrapper .HeaderBranding{width:60px}.HeaderMobileWrapper .HeaderBranding img{width:100%}.HeaderMobileWrapper .HeaderItemsMenu .Item{display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}</style>`;
|
|
8123
7837
|
|
|
8124
7838
|
init(
|
|
8125
7839
|
this,
|
|
@@ -8132,10 +7846,11 @@
|
|
|
8132
7846
|
create_fragment,
|
|
8133
7847
|
safe_not_equal,
|
|
8134
7848
|
{
|
|
8135
|
-
session:
|
|
8136
|
-
userid:
|
|
8137
|
-
cmsmenuurl:
|
|
8138
|
-
cmshamburgermenuurl: 0
|
|
7849
|
+
session: 13,
|
|
7850
|
+
userid: 14,
|
|
7851
|
+
cmsmenuurl: 15,
|
|
7852
|
+
cmshamburgermenuurl: 0,
|
|
7853
|
+
profileurl: 1
|
|
8139
7854
|
},
|
|
8140
7855
|
[-1, -1]
|
|
8141
7856
|
);
|
|
@@ -8153,11 +7868,11 @@
|
|
|
8153
7868
|
}
|
|
8154
7869
|
|
|
8155
7870
|
static get observedAttributes() {
|
|
8156
|
-
return ["session", "userid", "cmsmenuurl", "cmshamburgermenuurl"];
|
|
7871
|
+
return ["session", "userid", "cmsmenuurl", "cmshamburgermenuurl", "profileurl"];
|
|
8157
7872
|
}
|
|
8158
7873
|
|
|
8159
7874
|
get session() {
|
|
8160
|
-
return this.$$.ctx[
|
|
7875
|
+
return this.$$.ctx[13];
|
|
8161
7876
|
}
|
|
8162
7877
|
|
|
8163
7878
|
set session(session) {
|
|
@@ -8166,7 +7881,7 @@
|
|
|
8166
7881
|
}
|
|
8167
7882
|
|
|
8168
7883
|
get userid() {
|
|
8169
|
-
return this.$$.ctx[
|
|
7884
|
+
return this.$$.ctx[14];
|
|
8170
7885
|
}
|
|
8171
7886
|
|
|
8172
7887
|
set userid(userid) {
|
|
@@ -8175,7 +7890,7 @@
|
|
|
8175
7890
|
}
|
|
8176
7891
|
|
|
8177
7892
|
get cmsmenuurl() {
|
|
8178
|
-
return this.$$.ctx[
|
|
7893
|
+
return this.$$.ctx[15];
|
|
8179
7894
|
}
|
|
8180
7895
|
|
|
8181
7896
|
set cmsmenuurl(cmsmenuurl) {
|
|
@@ -8191,6 +7906,15 @@
|
|
|
8191
7906
|
this.$set({ cmshamburgermenuurl });
|
|
8192
7907
|
flush();
|
|
8193
7908
|
}
|
|
7909
|
+
|
|
7910
|
+
get profileurl() {
|
|
7911
|
+
return this.$$.ctx[1];
|
|
7912
|
+
}
|
|
7913
|
+
|
|
7914
|
+
set profileurl(profileurl) {
|
|
7915
|
+
this.$set({ profileurl });
|
|
7916
|
+
flush();
|
|
7917
|
+
}
|
|
8194
7918
|
}
|
|
8195
7919
|
|
|
8196
7920
|
!customElements.get('casino-header-controller') && customElements.define('casino-header-controller', CasinoHeaderController);
|