@everymatrix/player-account-controller 0.0.129 → 0.0.133
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.
|
@@ -4902,7 +4902,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4902
4902
|
let div1;
|
|
4903
4903
|
let t6;
|
|
4904
4904
|
let if_block0 = /*isMobile*/ ctx[6] && create_if_block_4$2(ctx);
|
|
4905
|
-
let if_block1 = /*isMobile*/ ctx[6] && create_if_block_3$
|
|
4905
|
+
let if_block1 = /*isMobile*/ ctx[6] && create_if_block_3$3(ctx);
|
|
4906
4906
|
let each_value = /*availableMenuItemsArray*/ ctx[2];
|
|
4907
4907
|
validate_each_argument(each_value);
|
|
4908
4908
|
let each_blocks = [];
|
|
@@ -5082,7 +5082,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5082
5082
|
}
|
|
5083
5083
|
|
|
5084
5084
|
// (84:6) {#if isMobile}
|
|
5085
|
-
function create_if_block_3$
|
|
5085
|
+
function create_if_block_3$3(ctx) {
|
|
5086
5086
|
let div;
|
|
5087
5087
|
let general_logout;
|
|
5088
5088
|
|
|
@@ -5117,7 +5117,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5117
5117
|
|
|
5118
5118
|
dispatch_dev("SvelteRegisterBlock", {
|
|
5119
5119
|
block,
|
|
5120
|
-
id: create_if_block_3$
|
|
5120
|
+
id: create_if_block_3$3.name,
|
|
5121
5121
|
type: "if",
|
|
5122
5122
|
source: "(84:6) {#if isMobile}",
|
|
5123
5123
|
ctx
|
|
@@ -6042,11 +6042,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6042
6042
|
|
|
6043
6043
|
function get_each_context$2(ctx, list, i) {
|
|
6044
6044
|
const child_ctx = ctx.slice();
|
|
6045
|
-
child_ctx[
|
|
6045
|
+
child_ctx[64] = list[i];
|
|
6046
6046
|
return child_ctx;
|
|
6047
6047
|
}
|
|
6048
6048
|
|
|
6049
|
-
// (
|
|
6049
|
+
// (11300:0) {:else}
|
|
6050
6050
|
function create_else_block$2(ctx) {
|
|
6051
6051
|
let form;
|
|
6052
6052
|
let t0;
|
|
@@ -6168,10 +6168,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6168
6168
|
let div21;
|
|
6169
6169
|
let t60;
|
|
6170
6170
|
let div21_class_value;
|
|
6171
|
+
let t61;
|
|
6171
6172
|
let mounted;
|
|
6172
6173
|
let dispose;
|
|
6173
|
-
let
|
|
6174
|
-
let each_value = /*prefixesArray*/ ctx[
|
|
6174
|
+
let if_block0 = /*isMobile*/ ctx[24] && create_if_block_3$2(ctx);
|
|
6175
|
+
let each_value = /*prefixesArray*/ ctx[26];
|
|
6175
6176
|
validate_each_argument(each_value);
|
|
6176
6177
|
let each_blocks = [];
|
|
6177
6178
|
|
|
@@ -6179,10 +6180,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6179
6180
|
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
|
6180
6181
|
}
|
|
6181
6182
|
|
|
6183
|
+
let if_block1 = /*showConfirmSave*/ ctx[12] && create_if_block_1$2(ctx);
|
|
6184
|
+
|
|
6182
6185
|
const block = {
|
|
6183
6186
|
c: function create() {
|
|
6184
6187
|
form = element("form");
|
|
6185
|
-
if (
|
|
6188
|
+
if (if_block0) if_block0.c();
|
|
6186
6189
|
t0 = space();
|
|
6187
6190
|
div0 = element("div");
|
|
6188
6191
|
h30 = element("h3");
|
|
@@ -6315,200 +6318,202 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6315
6318
|
t59 = space();
|
|
6316
6319
|
div21 = element("div");
|
|
6317
6320
|
t60 = text("Cancel");
|
|
6318
|
-
|
|
6321
|
+
t61 = space();
|
|
6322
|
+
if (if_block1) if_block1.c();
|
|
6323
|
+
add_location(h30, file$5, 11315, 4, 328412);
|
|
6319
6324
|
attr_dev(div0, "class", "PlayerDetailsHeader");
|
|
6320
|
-
add_location(div0, file$5,
|
|
6321
|
-
add_location(label0, file$5,
|
|
6325
|
+
add_location(div0, file$5, 11314, 2, 328374);
|
|
6326
|
+
add_location(label0, file$5, 11319, 6, 328526);
|
|
6322
6327
|
attr_dev(input0, "type", "text");
|
|
6323
6328
|
attr_dev(input0, "class", "FieldDisabled");
|
|
6324
|
-
input0.value = /*username*/ ctx[
|
|
6329
|
+
input0.value = /*username*/ ctx[22];
|
|
6325
6330
|
input0.readOnly = true;
|
|
6326
|
-
add_location(input0, file$5,
|
|
6331
|
+
add_location(input0, file$5, 11320, 6, 328558);
|
|
6327
6332
|
attr_dev(div1, "class", "PlayerInfoBox");
|
|
6328
|
-
add_location(div1, file$5,
|
|
6329
|
-
add_location(label1, file$5,
|
|
6330
|
-
if (/*playerPrefix*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[
|
|
6331
|
-
add_location(select, file$5,
|
|
6333
|
+
add_location(div1, file$5, 11318, 4, 328492);
|
|
6334
|
+
add_location(label1, file$5, 11323, 6, 328677);
|
|
6335
|
+
if (/*playerPrefix*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[37].call(select));
|
|
6336
|
+
add_location(select, file$5, 11325, 8, 328745);
|
|
6332
6337
|
attr_dev(input1, "type", "text");
|
|
6333
6338
|
attr_dev(input1, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');");
|
|
6334
|
-
attr_dev(input1, "placeholder", input1_placeholder_value = /*noPlayerData*/ ctx[0] ? /*mobile*/ ctx[
|
|
6335
|
-
add_location(input1, file$5,
|
|
6339
|
+
attr_dev(input1, "placeholder", input1_placeholder_value = /*noPlayerData*/ ctx[0] ? /*mobile*/ ctx[17].number : "");
|
|
6340
|
+
add_location(input1, file$5, 11334, 6, 329115);
|
|
6336
6341
|
attr_dev(div2, "class", "PlayerPhoneNumber");
|
|
6337
|
-
add_location(div2, file$5,
|
|
6342
|
+
add_location(div2, file$5, 11324, 6, 328705);
|
|
6338
6343
|
attr_dev(div3, "class", "PlayerInfoBox");
|
|
6339
|
-
add_location(div3, file$5,
|
|
6340
|
-
add_location(label2, file$5,
|
|
6344
|
+
add_location(div3, file$5, 11322, 4, 328643);
|
|
6345
|
+
add_location(label2, file$5, 11338, 6, 329424);
|
|
6341
6346
|
attr_dev(input2, "type", "email");
|
|
6342
6347
|
attr_dev(input2, "class", "FieldDisabled");
|
|
6343
|
-
input2.value = /*email*/ ctx[
|
|
6348
|
+
input2.value = /*email*/ ctx[18];
|
|
6344
6349
|
input2.readOnly = true;
|
|
6345
|
-
add_location(input2, file$5,
|
|
6350
|
+
add_location(input2, file$5, 11339, 6, 329452);
|
|
6346
6351
|
attr_dev(div4, "class", "PlayerInfoBox");
|
|
6347
|
-
add_location(div4, file$5,
|
|
6348
|
-
add_location(label3, file$5,
|
|
6352
|
+
add_location(div4, file$5, 11337, 4, 329390);
|
|
6353
|
+
add_location(label3, file$5, 11342, 6, 329569);
|
|
6349
6354
|
attr_dev(input3, "type", "text");
|
|
6350
6355
|
|
|
6351
6356
|
attr_dev(input3, "placeholder", input3_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
6352
|
-
? /*securityQuestion*/ ctx[
|
|
6357
|
+
? /*securityQuestion*/ ctx[31]
|
|
6353
6358
|
: "");
|
|
6354
6359
|
|
|
6355
|
-
add_location(input3, file$5,
|
|
6360
|
+
add_location(input3, file$5, 11343, 6, 329609);
|
|
6356
6361
|
attr_dev(div5, "class", "PlayerInfoBox");
|
|
6357
|
-
add_location(div5, file$5,
|
|
6358
|
-
add_location(label4, file$5,
|
|
6362
|
+
add_location(div5, file$5, 11341, 4, 329535);
|
|
6363
|
+
add_location(label4, file$5, 11346, 6, 329794);
|
|
6359
6364
|
attr_dev(input4, "type", "text");
|
|
6360
6365
|
attr_dev(input4, "class", "FieldDisabled");
|
|
6361
|
-
input4.value = /*firstname*/ ctx[
|
|
6366
|
+
input4.value = /*firstname*/ ctx[19];
|
|
6362
6367
|
input4.readOnly = true;
|
|
6363
|
-
add_location(input4, file$5,
|
|
6368
|
+
add_location(input4, file$5, 11347, 6, 329827);
|
|
6364
6369
|
attr_dev(div6, "class", "PlayerInfoBox");
|
|
6365
|
-
add_location(div6, file$5,
|
|
6366
|
-
add_location(label5, file$5,
|
|
6370
|
+
add_location(div6, file$5, 11345, 4, 329760);
|
|
6371
|
+
add_location(label5, file$5, 11350, 6, 329947);
|
|
6367
6372
|
attr_dev(input5, "type", "text");
|
|
6368
6373
|
|
|
6369
6374
|
attr_dev(input5, "placeholder", input5_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
6370
|
-
? /*securityAnswer*/ ctx[
|
|
6375
|
+
? /*securityAnswer*/ ctx[30]
|
|
6371
6376
|
: "");
|
|
6372
6377
|
|
|
6373
|
-
add_location(input5, file$5,
|
|
6378
|
+
add_location(input5, file$5, 11351, 6, 329985);
|
|
6374
6379
|
attr_dev(div7, "class", "PlayerInfoBox");
|
|
6375
|
-
add_location(div7, file$5,
|
|
6376
|
-
add_location(label6, file$5,
|
|
6380
|
+
add_location(div7, file$5, 11349, 4, 329913);
|
|
6381
|
+
add_location(label6, file$5, 11354, 6, 330166);
|
|
6377
6382
|
attr_dev(input6, "type", "text");
|
|
6378
6383
|
attr_dev(input6, "class", "FieldDisabled");
|
|
6379
|
-
input6.value = /*lastname*/ ctx[
|
|
6384
|
+
input6.value = /*lastname*/ ctx[21];
|
|
6380
6385
|
input6.readOnly = true;
|
|
6381
|
-
add_location(input6, file$5,
|
|
6386
|
+
add_location(input6, file$5, 11355, 6, 330198);
|
|
6382
6387
|
attr_dev(div8, "class", "PlayerInfoBox");
|
|
6383
|
-
add_location(div8, file$5,
|
|
6384
|
-
add_location(label7, file$5,
|
|
6388
|
+
add_location(div8, file$5, 11353, 4, 330132);
|
|
6389
|
+
add_location(label7, file$5, 11358, 6, 330317);
|
|
6385
6390
|
attr_dev(input7, "type", "text");
|
|
6386
6391
|
attr_dev(input7, "class", "FieldDisabled");
|
|
6387
|
-
input7.value = /*birth*/ ctx[
|
|
6392
|
+
input7.value = /*birth*/ ctx[14];
|
|
6388
6393
|
input7.readOnly = true;
|
|
6389
|
-
add_location(input7, file$5,
|
|
6394
|
+
add_location(input7, file$5, 11359, 4, 330351);
|
|
6390
6395
|
attr_dev(div9, "class", "PlayerInfoBox");
|
|
6391
|
-
add_location(div9, file$5,
|
|
6392
|
-
add_location(label8, file$5,
|
|
6396
|
+
add_location(div9, file$5, 11357, 4, 330283);
|
|
6397
|
+
add_location(label8, file$5, 11362, 6, 330467);
|
|
6393
6398
|
attr_dev(input8, "type", "text");
|
|
6394
6399
|
attr_dev(input8, "class", "FieldDisabled");
|
|
6395
|
-
input8.value = /*currency*/ ctx[
|
|
6400
|
+
input8.value = /*currency*/ ctx[16];
|
|
6396
6401
|
input8.readOnly = true;
|
|
6397
|
-
add_location(input8, file$5,
|
|
6402
|
+
add_location(input8, file$5, 11363, 6, 330498);
|
|
6398
6403
|
attr_dev(div10, "class", "PlayerInfoBox");
|
|
6399
|
-
add_location(div10, file$5,
|
|
6400
|
-
add_location(label9, file$5,
|
|
6404
|
+
add_location(div10, file$5, 11361, 4, 330433);
|
|
6405
|
+
add_location(label9, file$5, 11366, 6, 330617);
|
|
6401
6406
|
attr_dev(input9, "type", "text");
|
|
6402
6407
|
attr_dev(input9, "class", "FieldDisabled");
|
|
6403
|
-
input9.value = /*gender*/ ctx[
|
|
6408
|
+
input9.value = /*gender*/ ctx[20];
|
|
6404
6409
|
input9.readOnly = true;
|
|
6405
|
-
add_location(input9, file$5,
|
|
6410
|
+
add_location(input9, file$5, 11367, 6, 330646);
|
|
6406
6411
|
attr_dev(div11, "class", "PlayerInfoBox");
|
|
6407
|
-
add_location(div11, file$5,
|
|
6412
|
+
add_location(div11, file$5, 11365, 4, 330583);
|
|
6408
6413
|
attr_dev(section0, "class", "PlayerDetailsContent");
|
|
6409
|
-
add_location(section0, file$5,
|
|
6410
|
-
add_location(h31, file$5,
|
|
6414
|
+
add_location(section0, file$5, 11317, 2, 328449);
|
|
6415
|
+
add_location(h31, file$5, 11372, 4, 330780);
|
|
6411
6416
|
attr_dev(div12, "class", "PlayerLocationHeader");
|
|
6412
|
-
add_location(div12, file$5,
|
|
6413
|
-
add_location(label10, file$5,
|
|
6417
|
+
add_location(div12, file$5, 11371, 2, 330741);
|
|
6418
|
+
add_location(label10, file$5, 11376, 6, 330895);
|
|
6414
6419
|
attr_dev(input10, "type", "text");
|
|
6415
6420
|
attr_dev(input10, "class", "PlayerCountry FieldDisabled");
|
|
6416
|
-
attr_dev(input10, "placeholder", /*country*/ ctx[
|
|
6421
|
+
attr_dev(input10, "placeholder", /*country*/ ctx[15]);
|
|
6417
6422
|
input10.value = input10_value_value = /*selectedCountry*/ ctx[11].name;
|
|
6418
6423
|
input10.readOnly = true;
|
|
6419
|
-
add_location(input10, file$5,
|
|
6424
|
+
add_location(input10, file$5, 11377, 6, 330925);
|
|
6420
6425
|
attr_dev(div13, "class", "PlayerInfoBox");
|
|
6421
|
-
add_location(div13, file$5,
|
|
6422
|
-
add_location(label11, file$5,
|
|
6426
|
+
add_location(div13, file$5, 11375, 4, 330861);
|
|
6427
|
+
add_location(label11, file$5, 11380, 6, 331092);
|
|
6423
6428
|
attr_dev(input11, "type", "text");
|
|
6424
|
-
attr_dev(input11, "placeholder", input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[
|
|
6429
|
+
attr_dev(input11, "placeholder", input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[28] : "");
|
|
6425
6430
|
|
|
6426
6431
|
input11.value = input11_value_value = /*noPlayerData*/ ctx[0]
|
|
6427
6432
|
? ""
|
|
6428
|
-
: /*initialValuesArray*/ ctx[
|
|
6433
|
+
: /*initialValuesArray*/ ctx[13].city;
|
|
6429
6434
|
|
|
6430
|
-
add_location(input11, file$5,
|
|
6435
|
+
add_location(input11, file$5, 11381, 4, 331117);
|
|
6431
6436
|
attr_dev(div14, "class", "PlayerInfoBox");
|
|
6432
|
-
add_location(div14, file$5,
|
|
6433
|
-
add_location(label12, file$5,
|
|
6434
|
-
attr_dev(input12, "placeholder", /*address1*/ ctx[
|
|
6437
|
+
add_location(div14, file$5, 11379, 4, 331058);
|
|
6438
|
+
add_location(label12, file$5, 11384, 6, 331337);
|
|
6439
|
+
attr_dev(input12, "placeholder", /*address1*/ ctx[27]);
|
|
6435
6440
|
attr_dev(input12, "type", "text");
|
|
6436
6441
|
|
|
6437
6442
|
input12.value = input12_value_value = /*noPlayerData*/ ctx[0]
|
|
6438
6443
|
? ""
|
|
6439
|
-
: /*initialValuesArray*/ ctx[
|
|
6444
|
+
: /*initialValuesArray*/ ctx[13].address;
|
|
6440
6445
|
|
|
6441
|
-
add_location(input12, file$5,
|
|
6446
|
+
add_location(input12, file$5, 11385, 4, 331365);
|
|
6442
6447
|
attr_dev(div15, "class", "PlayerInfoBox");
|
|
6443
|
-
add_location(div15, file$5,
|
|
6444
|
-
add_location(label13, file$5,
|
|
6448
|
+
add_location(div15, file$5, 11383, 4, 331303);
|
|
6449
|
+
add_location(label13, file$5, 11388, 6, 331575);
|
|
6445
6450
|
attr_dev(input13, "type", "number");
|
|
6446
|
-
attr_dev(input13, "placeholder", input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[
|
|
6451
|
+
attr_dev(input13, "placeholder", input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[29] : "");
|
|
6447
6452
|
|
|
6448
6453
|
input13.value = input13_value_value = /*noPlayerData*/ ctx[0]
|
|
6449
6454
|
? ""
|
|
6450
|
-
: /*initialValuesArray*/ ctx[
|
|
6455
|
+
: /*initialValuesArray*/ ctx[13].postalCode;
|
|
6451
6456
|
|
|
6452
|
-
add_location(input13, file$5,
|
|
6457
|
+
add_location(input13, file$5, 11389, 6, 331609);
|
|
6453
6458
|
attr_dev(div16, "class", "PlayerInfoBox");
|
|
6454
|
-
add_location(div16, file$5,
|
|
6459
|
+
add_location(div16, file$5, 11387, 4, 331541);
|
|
6455
6460
|
attr_dev(section1, "class", "PlayerLocationContent");
|
|
6456
|
-
add_location(section1, file$5,
|
|
6457
|
-
add_location(h32, file$5,
|
|
6461
|
+
add_location(section1, file$5, 11374, 2, 330817);
|
|
6462
|
+
add_location(h32, file$5, 11394, 4, 331871);
|
|
6458
6463
|
attr_dev(div17, "class", "PlayerNotificationsHeader");
|
|
6459
|
-
add_location(div17, file$5,
|
|
6464
|
+
add_location(div17, file$5, 11393, 2, 331827);
|
|
6460
6465
|
attr_dev(input14, "type", "checkbox");
|
|
6461
6466
|
attr_dev(input14, "id", "SMSNotification");
|
|
6462
6467
|
attr_dev(input14, "name", "Enable SMS notifications");
|
|
6463
|
-
add_location(input14, file$5,
|
|
6468
|
+
add_location(input14, file$5, 11399, 8, 332039);
|
|
6464
6469
|
attr_dev(span0, "class", "Checkmark");
|
|
6465
|
-
add_location(span0, file$5,
|
|
6466
|
-
add_location(span1, file$5,
|
|
6470
|
+
add_location(span0, file$5, 11400, 8, 332185);
|
|
6471
|
+
add_location(span1, file$5, 11401, 8, 332225);
|
|
6467
6472
|
attr_dev(label14, "for", "SMSNotification");
|
|
6468
|
-
add_location(label14, file$5,
|
|
6473
|
+
add_location(label14, file$5, 11398, 6, 332001);
|
|
6469
6474
|
attr_dev(div18, "class", "PlayerNotificationBox");
|
|
6470
|
-
add_location(div18, file$5,
|
|
6475
|
+
add_location(div18, file$5, 11397, 4, 331959);
|
|
6471
6476
|
attr_dev(input15, "type", "checkbox");
|
|
6472
6477
|
attr_dev(input15, "id", "EmailNotification");
|
|
6473
6478
|
attr_dev(input15, "name", "Enable Emails");
|
|
6474
|
-
add_location(input15, file$5,
|
|
6479
|
+
add_location(input15, file$5, 11406, 8, 332375);
|
|
6475
6480
|
attr_dev(span2, "class", "Checkmark");
|
|
6476
|
-
add_location(span2, file$5,
|
|
6477
|
-
add_location(span3, file$5,
|
|
6481
|
+
add_location(span2, file$5, 11407, 8, 332513);
|
|
6482
|
+
add_location(span3, file$5, 11408, 8, 332553);
|
|
6478
6483
|
attr_dev(label15, "for", "EmailNotification");
|
|
6479
|
-
add_location(label15, file$5,
|
|
6484
|
+
add_location(label15, file$5, 11405, 6, 332335);
|
|
6480
6485
|
attr_dev(div19, "class", "PlayerNotificationBox");
|
|
6481
|
-
add_location(div19, file$5,
|
|
6486
|
+
add_location(div19, file$5, 11404, 4, 332293);
|
|
6482
6487
|
attr_dev(section2, "class", "PlayerNotificationsCheckboxArea");
|
|
6483
|
-
add_location(section2, file$5,
|
|
6488
|
+
add_location(section2, file$5, 11396, 2, 331905);
|
|
6484
6489
|
|
|
6485
6490
|
attr_dev(div20, "class", div20_class_value = "PlayerDetailsSaveButton " + (/*differencesExist*/ ctx[10]
|
|
6486
6491
|
? ""
|
|
6487
6492
|
: "PlayerButtonDisabled"));
|
|
6488
6493
|
|
|
6489
|
-
add_location(div20, file$5,
|
|
6494
|
+
add_location(div20, file$5, 11413, 4, 332719);
|
|
6490
6495
|
|
|
6491
6496
|
attr_dev(div21, "class", div21_class_value = "PlayerDetailsCancelButton " + (/*differencesExist*/ ctx[10]
|
|
6492
6497
|
? ""
|
|
6493
6498
|
: "PlayerButtonDisabled"));
|
|
6494
6499
|
|
|
6495
|
-
add_location(div21, file$5,
|
|
6500
|
+
add_location(div21, file$5, 11414, 4, 332864);
|
|
6496
6501
|
|
|
6497
|
-
attr_dev(section3, "class", "PlayerDetailsButtonsArea " + (/*isMobile*/ ctx[
|
|
6502
|
+
attr_dev(section3, "class", "PlayerDetailsButtonsArea " + (/*isMobile*/ ctx[24]
|
|
6498
6503
|
? "PlayerDetailsButtonsAreaMobile"
|
|
6499
6504
|
: ""));
|
|
6500
6505
|
|
|
6501
|
-
add_location(section3, file$5,
|
|
6506
|
+
add_location(section3, file$5, 11412, 2, 332621);
|
|
6502
6507
|
|
|
6503
|
-
attr_dev(form, "class", "PlayerInfoWrapper " + (/*isMobile*/ ctx[
|
|
6508
|
+
attr_dev(form, "class", "PlayerInfoWrapper " + (/*isMobile*/ ctx[24] ? "PlayerInfoWrapperMobile" : "") + " " + (/*mediaQuery*/ ctx[25].matches && /*isMobile*/ ctx[24]
|
|
6504
6509
|
? "PlayerInfoWrapperTablet"
|
|
6505
6510
|
: ""));
|
|
6506
6511
|
|
|
6507
|
-
add_location(form, file$5,
|
|
6512
|
+
add_location(form, file$5, 11300, 0, 327465);
|
|
6508
6513
|
},
|
|
6509
6514
|
m: function mount(target, anchor) {
|
|
6510
6515
|
insert_dev(target, form, anchor);
|
|
6511
|
-
if (
|
|
6516
|
+
if (if_block0) if_block0.m(form, null);
|
|
6512
6517
|
append_dev(form, t0);
|
|
6513
6518
|
append_dev(form, div0);
|
|
6514
6519
|
append_dev(div0, h30);
|
|
@@ -6589,19 +6594,19 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6589
6594
|
append_dev(div14, label11);
|
|
6590
6595
|
append_dev(div14, t40);
|
|
6591
6596
|
append_dev(div14, input11);
|
|
6592
|
-
/*input11_binding*/ ctx[
|
|
6597
|
+
/*input11_binding*/ ctx[45](input11);
|
|
6593
6598
|
append_dev(section1, t41);
|
|
6594
6599
|
append_dev(section1, div15);
|
|
6595
6600
|
append_dev(div15, label12);
|
|
6596
6601
|
append_dev(div15, t43);
|
|
6597
6602
|
append_dev(div15, input12);
|
|
6598
|
-
/*input12_binding*/ ctx[
|
|
6603
|
+
/*input12_binding*/ ctx[47](input12);
|
|
6599
6604
|
append_dev(section1, t44);
|
|
6600
6605
|
append_dev(section1, div16);
|
|
6601
6606
|
append_dev(div16, label13);
|
|
6602
6607
|
append_dev(div16, t46);
|
|
6603
6608
|
append_dev(div16, input13);
|
|
6604
|
-
/*input13_binding*/ ctx[
|
|
6609
|
+
/*input13_binding*/ ctx[49](input13);
|
|
6605
6610
|
append_dev(form, t47);
|
|
6606
6611
|
append_dev(form, div17);
|
|
6607
6612
|
append_dev(div17, h32);
|
|
@@ -6631,40 +6636,42 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6631
6636
|
append_dev(section3, t59);
|
|
6632
6637
|
append_dev(section3, div21);
|
|
6633
6638
|
append_dev(div21, t60);
|
|
6639
|
+
append_dev(form, t61);
|
|
6640
|
+
if (if_block1) if_block1.m(form, null);
|
|
6634
6641
|
|
|
6635
6642
|
if (!mounted) {
|
|
6636
6643
|
dispose = [
|
|
6637
|
-
listen_dev(select, "change", /*select_change_handler*/ ctx[
|
|
6638
|
-
listen_dev(select, "change", /*change_handler*/ ctx[
|
|
6639
|
-
listen_dev(input1, "input", /*input1_input_handler*/ ctx[
|
|
6640
|
-
listen_dev(input1, "keyup", /*keyup_handler*/ ctx[
|
|
6641
|
-
listen_dev(input3, "input", /*input3_input_handler*/ ctx[
|
|
6642
|
-
listen_dev(input3, "keyup", /*keyup_handler_1*/ ctx[
|
|
6643
|
-
listen_dev(input5, "input", /*input5_input_handler*/ ctx[
|
|
6644
|
-
listen_dev(input5, "keyup", /*keyup_handler_2*/ ctx[
|
|
6645
|
-
listen_dev(input11, "keyup", /*keyup_handler_3*/ ctx[
|
|
6646
|
-
listen_dev(input12, "keyup", /*keyup_handler_4*/ ctx[
|
|
6647
|
-
listen_dev(input13, "keyup", /*keyup_handler_5*/ ctx[
|
|
6648
|
-
listen_dev(input14, "change", /*input14_change_handler*/ ctx[
|
|
6649
|
-
listen_dev(input14, "change", /*checkForChanges*/ ctx[
|
|
6650
|
-
listen_dev(input15, "change", /*input15_change_handler*/ ctx[
|
|
6651
|
-
listen_dev(input15, "change", /*checkForChanges*/ ctx[
|
|
6652
|
-
listen_dev(div20, "click", /*click_handler_1*/ ctx[
|
|
6653
|
-
listen_dev(div21, "click", /*click_handler_2*/ ctx[
|
|
6644
|
+
listen_dev(select, "change", /*select_change_handler*/ ctx[37]),
|
|
6645
|
+
listen_dev(select, "change", /*change_handler*/ ctx[38], false, false, false),
|
|
6646
|
+
listen_dev(input1, "input", /*input1_input_handler*/ ctx[39]),
|
|
6647
|
+
listen_dev(input1, "keyup", /*keyup_handler*/ ctx[40], false, false, false),
|
|
6648
|
+
listen_dev(input3, "input", /*input3_input_handler*/ ctx[41]),
|
|
6649
|
+
listen_dev(input3, "keyup", /*keyup_handler_1*/ ctx[42], false, false, false),
|
|
6650
|
+
listen_dev(input5, "input", /*input5_input_handler*/ ctx[43]),
|
|
6651
|
+
listen_dev(input5, "keyup", /*keyup_handler_2*/ ctx[44], false, false, false),
|
|
6652
|
+
listen_dev(input11, "keyup", /*keyup_handler_3*/ ctx[46], false, false, false),
|
|
6653
|
+
listen_dev(input12, "keyup", /*keyup_handler_4*/ ctx[48], false, false, false),
|
|
6654
|
+
listen_dev(input13, "keyup", /*keyup_handler_5*/ ctx[50], false, false, false),
|
|
6655
|
+
listen_dev(input14, "change", /*input14_change_handler*/ ctx[51]),
|
|
6656
|
+
listen_dev(input14, "change", /*checkForChanges*/ ctx[34], false, false, false),
|
|
6657
|
+
listen_dev(input15, "change", /*input15_change_handler*/ ctx[52]),
|
|
6658
|
+
listen_dev(input15, "change", /*checkForChanges*/ ctx[34], false, false, false),
|
|
6659
|
+
listen_dev(div20, "click", /*click_handler_1*/ ctx[53], false, false, false),
|
|
6660
|
+
listen_dev(div21, "click", /*click_handler_2*/ ctx[54], false, false, false)
|
|
6654
6661
|
];
|
|
6655
6662
|
|
|
6656
6663
|
mounted = true;
|
|
6657
6664
|
}
|
|
6658
6665
|
},
|
|
6659
6666
|
p: function update(ctx, dirty) {
|
|
6660
|
-
if (/*isMobile*/ ctx[
|
|
6667
|
+
if (/*isMobile*/ ctx[24]) if_block0.p(ctx, dirty);
|
|
6661
6668
|
|
|
6662
|
-
if (dirty[0] & /*username*/
|
|
6663
|
-
prop_dev(input0, "value", /*username*/ ctx[
|
|
6669
|
+
if (dirty[0] & /*username*/ 4194304 && input0.value !== /*username*/ ctx[22]) {
|
|
6670
|
+
prop_dev(input0, "value", /*username*/ ctx[22]);
|
|
6664
6671
|
}
|
|
6665
6672
|
|
|
6666
|
-
if (dirty[0] & /*prefixesArray, initialValuesArray*/
|
|
6667
|
-
each_value = /*prefixesArray*/ ctx[
|
|
6673
|
+
if (dirty[0] & /*prefixesArray, initialValuesArray*/ 67117056) {
|
|
6674
|
+
each_value = /*prefixesArray*/ ctx[26];
|
|
6668
6675
|
validate_each_argument(each_value);
|
|
6669
6676
|
let i;
|
|
6670
6677
|
|
|
@@ -6687,11 +6694,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6687
6694
|
each_blocks.length = each_value.length;
|
|
6688
6695
|
}
|
|
6689
6696
|
|
|
6690
|
-
if (dirty[0] & /*playerPrefix, prefixesArray*/
|
|
6697
|
+
if (dirty[0] & /*playerPrefix, prefixesArray*/ 67109120) {
|
|
6691
6698
|
select_option(select, /*playerPrefix*/ ctx[8]);
|
|
6692
6699
|
}
|
|
6693
6700
|
|
|
6694
|
-
if (dirty[0] & /*noPlayerData, mobile*/
|
|
6701
|
+
if (dirty[0] & /*noPlayerData, mobile*/ 131073 && input1_placeholder_value !== (input1_placeholder_value = /*noPlayerData*/ ctx[0] ? /*mobile*/ ctx[17].number : "")) {
|
|
6695
6702
|
attr_dev(input1, "placeholder", input1_placeholder_value);
|
|
6696
6703
|
}
|
|
6697
6704
|
|
|
@@ -6699,12 +6706,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6699
6706
|
set_input_value(input1, /*playerMobileNumber*/ ctx[9]);
|
|
6700
6707
|
}
|
|
6701
6708
|
|
|
6702
|
-
if (dirty[0] & /*email*/
|
|
6703
|
-
prop_dev(input2, "value", /*email*/ ctx[
|
|
6709
|
+
if (dirty[0] & /*email*/ 262144 && input2.value !== /*email*/ ctx[18]) {
|
|
6710
|
+
prop_dev(input2, "value", /*email*/ ctx[18]);
|
|
6704
6711
|
}
|
|
6705
6712
|
|
|
6706
6713
|
if (dirty[0] & /*noPlayerData*/ 1 && input3_placeholder_value !== (input3_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
6707
|
-
? /*securityQuestion*/ ctx[
|
|
6714
|
+
? /*securityQuestion*/ ctx[31]
|
|
6708
6715
|
: "")) {
|
|
6709
6716
|
attr_dev(input3, "placeholder", input3_placeholder_value);
|
|
6710
6717
|
}
|
|
@@ -6713,12 +6720,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6713
6720
|
set_input_value(input3, /*playerQuestion*/ ctx[6]);
|
|
6714
6721
|
}
|
|
6715
6722
|
|
|
6716
|
-
if (dirty[0] & /*firstname*/
|
|
6717
|
-
prop_dev(input4, "value", /*firstname*/ ctx[
|
|
6723
|
+
if (dirty[0] & /*firstname*/ 524288 && input4.value !== /*firstname*/ ctx[19]) {
|
|
6724
|
+
prop_dev(input4, "value", /*firstname*/ ctx[19]);
|
|
6718
6725
|
}
|
|
6719
6726
|
|
|
6720
6727
|
if (dirty[0] & /*noPlayerData*/ 1 && input5_placeholder_value !== (input5_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
6721
|
-
? /*securityAnswer*/ ctx[
|
|
6728
|
+
? /*securityAnswer*/ ctx[30]
|
|
6722
6729
|
: "")) {
|
|
6723
6730
|
attr_dev(input5, "placeholder", input5_placeholder_value);
|
|
6724
6731
|
}
|
|
@@ -6727,53 +6734,53 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6727
6734
|
set_input_value(input5, /*playerAnswer*/ ctx[7]);
|
|
6728
6735
|
}
|
|
6729
6736
|
|
|
6730
|
-
if (dirty[0] & /*lastname*/
|
|
6731
|
-
prop_dev(input6, "value", /*lastname*/ ctx[
|
|
6737
|
+
if (dirty[0] & /*lastname*/ 2097152 && input6.value !== /*lastname*/ ctx[21]) {
|
|
6738
|
+
prop_dev(input6, "value", /*lastname*/ ctx[21]);
|
|
6732
6739
|
}
|
|
6733
6740
|
|
|
6734
|
-
if (dirty[0] & /*birth*/
|
|
6735
|
-
prop_dev(input7, "value", /*birth*/ ctx[
|
|
6741
|
+
if (dirty[0] & /*birth*/ 16384 && input7.value !== /*birth*/ ctx[14]) {
|
|
6742
|
+
prop_dev(input7, "value", /*birth*/ ctx[14]);
|
|
6736
6743
|
}
|
|
6737
6744
|
|
|
6738
|
-
if (dirty[0] & /*currency*/
|
|
6739
|
-
prop_dev(input8, "value", /*currency*/ ctx[
|
|
6745
|
+
if (dirty[0] & /*currency*/ 65536 && input8.value !== /*currency*/ ctx[16]) {
|
|
6746
|
+
prop_dev(input8, "value", /*currency*/ ctx[16]);
|
|
6740
6747
|
}
|
|
6741
6748
|
|
|
6742
|
-
if (dirty[0] & /*gender*/
|
|
6743
|
-
prop_dev(input9, "value", /*gender*/ ctx[
|
|
6749
|
+
if (dirty[0] & /*gender*/ 1048576 && input9.value !== /*gender*/ ctx[20]) {
|
|
6750
|
+
prop_dev(input9, "value", /*gender*/ ctx[20]);
|
|
6744
6751
|
}
|
|
6745
6752
|
|
|
6746
|
-
if (dirty[0] & /*country*/
|
|
6747
|
-
attr_dev(input10, "placeholder", /*country*/ ctx[
|
|
6753
|
+
if (dirty[0] & /*country*/ 32768) {
|
|
6754
|
+
attr_dev(input10, "placeholder", /*country*/ ctx[15]);
|
|
6748
6755
|
}
|
|
6749
6756
|
|
|
6750
6757
|
if (dirty[0] & /*selectedCountry*/ 2048 && input10_value_value !== (input10_value_value = /*selectedCountry*/ ctx[11].name) && input10.value !== input10_value_value) {
|
|
6751
6758
|
prop_dev(input10, "value", input10_value_value);
|
|
6752
6759
|
}
|
|
6753
6760
|
|
|
6754
|
-
if (dirty[0] & /*noPlayerData*/ 1 && input11_placeholder_value !== (input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[
|
|
6761
|
+
if (dirty[0] & /*noPlayerData*/ 1 && input11_placeholder_value !== (input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[28] : "")) {
|
|
6755
6762
|
attr_dev(input11, "placeholder", input11_placeholder_value);
|
|
6756
6763
|
}
|
|
6757
6764
|
|
|
6758
|
-
if (dirty[0] & /*noPlayerData, initialValuesArray*/
|
|
6765
|
+
if (dirty[0] & /*noPlayerData, initialValuesArray*/ 8193 && input11_value_value !== (input11_value_value = /*noPlayerData*/ ctx[0]
|
|
6759
6766
|
? ""
|
|
6760
|
-
: /*initialValuesArray*/ ctx[
|
|
6767
|
+
: /*initialValuesArray*/ ctx[13].city) && input11.value !== input11_value_value) {
|
|
6761
6768
|
prop_dev(input11, "value", input11_value_value);
|
|
6762
6769
|
}
|
|
6763
6770
|
|
|
6764
|
-
if (dirty[0] & /*noPlayerData, initialValuesArray*/
|
|
6771
|
+
if (dirty[0] & /*noPlayerData, initialValuesArray*/ 8193 && input12_value_value !== (input12_value_value = /*noPlayerData*/ ctx[0]
|
|
6765
6772
|
? ""
|
|
6766
|
-
: /*initialValuesArray*/ ctx[
|
|
6773
|
+
: /*initialValuesArray*/ ctx[13].address) && input12.value !== input12_value_value) {
|
|
6767
6774
|
prop_dev(input12, "value", input12_value_value);
|
|
6768
6775
|
}
|
|
6769
6776
|
|
|
6770
|
-
if (dirty[0] & /*noPlayerData*/ 1 && input13_placeholder_value !== (input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[
|
|
6777
|
+
if (dirty[0] & /*noPlayerData*/ 1 && input13_placeholder_value !== (input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[29] : "")) {
|
|
6771
6778
|
attr_dev(input13, "placeholder", input13_placeholder_value);
|
|
6772
6779
|
}
|
|
6773
6780
|
|
|
6774
|
-
if (dirty[0] & /*noPlayerData, initialValuesArray*/
|
|
6781
|
+
if (dirty[0] & /*noPlayerData, initialValuesArray*/ 8193 && input13_value_value !== (input13_value_value = /*noPlayerData*/ ctx[0]
|
|
6775
6782
|
? ""
|
|
6776
|
-
: /*initialValuesArray*/ ctx[
|
|
6783
|
+
: /*initialValuesArray*/ ctx[13].postalCode)) {
|
|
6777
6784
|
prop_dev(input13, "value", input13_value_value);
|
|
6778
6785
|
}
|
|
6779
6786
|
|
|
@@ -6796,14 +6803,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6796
6803
|
: "PlayerButtonDisabled"))) {
|
|
6797
6804
|
attr_dev(div21, "class", div21_class_value);
|
|
6798
6805
|
}
|
|
6806
|
+
|
|
6807
|
+
if (/*showConfirmSave*/ ctx[12]) {
|
|
6808
|
+
if (if_block1) ; else {
|
|
6809
|
+
if_block1 = create_if_block_1$2(ctx);
|
|
6810
|
+
if_block1.c();
|
|
6811
|
+
if_block1.m(form, null);
|
|
6812
|
+
}
|
|
6813
|
+
} else if (if_block1) {
|
|
6814
|
+
if_block1.d(1);
|
|
6815
|
+
if_block1 = null;
|
|
6816
|
+
}
|
|
6799
6817
|
},
|
|
6800
6818
|
d: function destroy(detaching) {
|
|
6801
6819
|
if (detaching) detach_dev(form);
|
|
6802
|
-
if (
|
|
6820
|
+
if (if_block0) if_block0.d();
|
|
6803
6821
|
destroy_each(each_blocks, detaching);
|
|
6804
|
-
/*input11_binding*/ ctx[
|
|
6805
|
-
/*input12_binding*/ ctx[
|
|
6806
|
-
/*input13_binding*/ ctx[
|
|
6822
|
+
/*input11_binding*/ ctx[45](null);
|
|
6823
|
+
/*input12_binding*/ ctx[47](null);
|
|
6824
|
+
/*input13_binding*/ ctx[49](null);
|
|
6825
|
+
if (if_block1) if_block1.d();
|
|
6807
6826
|
mounted = false;
|
|
6808
6827
|
run_all(dispose);
|
|
6809
6828
|
}
|
|
@@ -6813,14 +6832,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6813
6832
|
block,
|
|
6814
6833
|
id: create_else_block$2.name,
|
|
6815
6834
|
type: "else",
|
|
6816
|
-
source: "(
|
|
6835
|
+
source: "(11300:0) {:else}",
|
|
6817
6836
|
ctx
|
|
6818
6837
|
});
|
|
6819
6838
|
|
|
6820
6839
|
return block;
|
|
6821
6840
|
}
|
|
6822
6841
|
|
|
6823
|
-
// (
|
|
6842
|
+
// (11298:0) {#if isLoading}
|
|
6824
6843
|
function create_if_block$5(ctx) {
|
|
6825
6844
|
let div;
|
|
6826
6845
|
|
|
@@ -6828,7 +6847,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6828
6847
|
c: function create() {
|
|
6829
6848
|
div = element("div");
|
|
6830
6849
|
attr_dev(div, "class", "ModalLoader");
|
|
6831
|
-
add_location(div, file$5,
|
|
6850
|
+
add_location(div, file$5, 11298, 2, 327425);
|
|
6832
6851
|
},
|
|
6833
6852
|
m: function mount(target, anchor) {
|
|
6834
6853
|
insert_dev(target, div, anchor);
|
|
@@ -6843,15 +6862,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6843
6862
|
block,
|
|
6844
6863
|
id: create_if_block$5.name,
|
|
6845
6864
|
type: "if",
|
|
6846
|
-
source: "(
|
|
6865
|
+
source: "(11298:0) {#if isLoading}",
|
|
6847
6866
|
ctx
|
|
6848
6867
|
});
|
|
6849
6868
|
|
|
6850
6869
|
return block;
|
|
6851
6870
|
}
|
|
6852
6871
|
|
|
6853
|
-
// (
|
|
6854
|
-
function
|
|
6872
|
+
// (11302:2) {#if isMobile}
|
|
6873
|
+
function create_if_block_3$2(ctx) {
|
|
6855
6874
|
let div;
|
|
6856
6875
|
let svg;
|
|
6857
6876
|
let g;
|
|
@@ -6872,8 +6891,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6872
6891
|
span.textContent = "Return to menu";
|
|
6873
6892
|
attr_dev(path, "id", "Chevron_Right");
|
|
6874
6893
|
attr_dev(path, "d", "M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z");
|
|
6875
|
-
add_location(path, file$5,
|
|
6876
|
-
add_location(g, file$5,
|
|
6894
|
+
add_location(path, file$5, 11306, 10, 327984);
|
|
6895
|
+
add_location(g, file$5, 11305, 8, 327970);
|
|
6877
6896
|
attr_dev(svg, "version", "1.1");
|
|
6878
6897
|
attr_dev(svg, "id", "Capa_1");
|
|
6879
6898
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -6885,10 +6904,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6885
6904
|
attr_dev(svg, "xml:space", "preserve");
|
|
6886
6905
|
attr_dev(svg, "width", "18px");
|
|
6887
6906
|
attr_dev(svg, "fill", "#58586B");
|
|
6888
|
-
add_location(svg, file$5,
|
|
6889
|
-
add_location(span, file$5,
|
|
6907
|
+
add_location(svg, file$5, 11303, 6, 327698);
|
|
6908
|
+
add_location(span, file$5, 11311, 6, 328325);
|
|
6890
6909
|
attr_dev(div, "class", "MenuReturnButton");
|
|
6891
|
-
add_location(div, file$5,
|
|
6910
|
+
add_location(div, file$5, 11302, 4, 327629);
|
|
6892
6911
|
},
|
|
6893
6912
|
m: function mount(target, anchor) {
|
|
6894
6913
|
insert_dev(target, div, anchor);
|
|
@@ -6899,7 +6918,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6899
6918
|
append_dev(div, span);
|
|
6900
6919
|
|
|
6901
6920
|
if (!mounted) {
|
|
6902
|
-
dispose = listen_dev(div, "click", /*click_handler*/ ctx[
|
|
6921
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[36], false, false, false);
|
|
6903
6922
|
mounted = true;
|
|
6904
6923
|
}
|
|
6905
6924
|
},
|
|
@@ -6913,28 +6932,28 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6913
6932
|
|
|
6914
6933
|
dispatch_dev("SvelteRegisterBlock", {
|
|
6915
6934
|
block,
|
|
6916
|
-
id:
|
|
6935
|
+
id: create_if_block_3$2.name,
|
|
6917
6936
|
type: "if",
|
|
6918
|
-
source: "(
|
|
6937
|
+
source: "(11302:2) {#if isMobile}",
|
|
6919
6938
|
ctx
|
|
6920
6939
|
});
|
|
6921
6940
|
|
|
6922
6941
|
return block;
|
|
6923
6942
|
}
|
|
6924
6943
|
|
|
6925
|
-
// (
|
|
6944
|
+
// (11330:12) {:else}
|
|
6926
6945
|
function create_else_block_1$2(ctx) {
|
|
6927
6946
|
let option;
|
|
6928
|
-
let t_value = /*pref*/ ctx[
|
|
6947
|
+
let t_value = /*pref*/ ctx[64].callingCode + "";
|
|
6929
6948
|
let t;
|
|
6930
6949
|
|
|
6931
6950
|
const block = {
|
|
6932
6951
|
c: function create() {
|
|
6933
6952
|
option = element("option");
|
|
6934
6953
|
t = text(t_value);
|
|
6935
|
-
option.__value = /*pref*/ ctx[
|
|
6954
|
+
option.__value = /*pref*/ ctx[64].callingCode;
|
|
6936
6955
|
option.value = option.__value;
|
|
6937
|
-
add_location(option, file$5,
|
|
6956
|
+
add_location(option, file$5, 11330, 14, 329019);
|
|
6938
6957
|
},
|
|
6939
6958
|
m: function mount(target, anchor) {
|
|
6940
6959
|
insert_dev(target, option, anchor);
|
|
@@ -6950,17 +6969,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6950
6969
|
block,
|
|
6951
6970
|
id: create_else_block_1$2.name,
|
|
6952
6971
|
type: "else",
|
|
6953
|
-
source: "(
|
|
6972
|
+
source: "(11330:12) {:else}",
|
|
6954
6973
|
ctx
|
|
6955
6974
|
});
|
|
6956
6975
|
|
|
6957
6976
|
return block;
|
|
6958
6977
|
}
|
|
6959
6978
|
|
|
6960
|
-
// (
|
|
6961
|
-
function
|
|
6979
|
+
// (11328:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}
|
|
6980
|
+
function create_if_block_2$2(ctx) {
|
|
6962
6981
|
let option;
|
|
6963
|
-
let t_value = /*pref*/ ctx[
|
|
6982
|
+
let t_value = /*pref*/ ctx[64].callingCode + "";
|
|
6964
6983
|
let t;
|
|
6965
6984
|
|
|
6966
6985
|
const block = {
|
|
@@ -6968,9 +6987,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6968
6987
|
option = element("option");
|
|
6969
6988
|
t = text(t_value);
|
|
6970
6989
|
option.selected = true;
|
|
6971
|
-
option.__value = /*pref*/ ctx[
|
|
6990
|
+
option.__value = /*pref*/ ctx[64].callingCode;
|
|
6972
6991
|
option.value = option.__value;
|
|
6973
|
-
add_location(option, file$5,
|
|
6992
|
+
add_location(option, file$5, 11328, 14, 328940);
|
|
6974
6993
|
},
|
|
6975
6994
|
m: function mount(target, anchor) {
|
|
6976
6995
|
insert_dev(target, option, anchor);
|
|
@@ -6984,21 +7003,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6984
7003
|
|
|
6985
7004
|
dispatch_dev("SvelteRegisterBlock", {
|
|
6986
7005
|
block,
|
|
6987
|
-
id:
|
|
7006
|
+
id: create_if_block_2$2.name,
|
|
6988
7007
|
type: "if",
|
|
6989
|
-
source: "(
|
|
7008
|
+
source: "(11328:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}",
|
|
6990
7009
|
ctx
|
|
6991
7010
|
});
|
|
6992
7011
|
|
|
6993
7012
|
return block;
|
|
6994
7013
|
}
|
|
6995
7014
|
|
|
6996
|
-
// (
|
|
7015
|
+
// (11327:10) {#each prefixesArray as pref}
|
|
6997
7016
|
function create_each_block$2(ctx) {
|
|
6998
7017
|
let if_block_anchor;
|
|
6999
7018
|
|
|
7000
7019
|
function select_block_type_1(ctx, dirty) {
|
|
7001
|
-
if (/*pref*/ ctx[
|
|
7020
|
+
if (/*pref*/ ctx[64].callingCode === /*initialValuesArray*/ ctx[13].mobiePrefix) return create_if_block_2$2;
|
|
7002
7021
|
return create_else_block_1$2;
|
|
7003
7022
|
}
|
|
7004
7023
|
|
|
@@ -7037,7 +7056,42 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7037
7056
|
block,
|
|
7038
7057
|
id: create_each_block$2.name,
|
|
7039
7058
|
type: "each",
|
|
7040
|
-
source: "(
|
|
7059
|
+
source: "(11327:10) {#each prefixesArray as pref}",
|
|
7060
|
+
ctx
|
|
7061
|
+
});
|
|
7062
|
+
|
|
7063
|
+
return block;
|
|
7064
|
+
}
|
|
7065
|
+
|
|
7066
|
+
// (11417:2) {#if showConfirmSave}
|
|
7067
|
+
function create_if_block_1$2(ctx) {
|
|
7068
|
+
let section;
|
|
7069
|
+
let p;
|
|
7070
|
+
|
|
7071
|
+
const block = {
|
|
7072
|
+
c: function create() {
|
|
7073
|
+
section = element("section");
|
|
7074
|
+
p = element("p");
|
|
7075
|
+
p.textContent = "Your changes have been saved!";
|
|
7076
|
+
attr_dev(p, "class", "PlayerDetailsConfirmSaveText");
|
|
7077
|
+
add_location(p, file$5, 11418, 6, 333090);
|
|
7078
|
+
attr_dev(section, "class", "PlayerDetailsConfirmSave");
|
|
7079
|
+
add_location(section, file$5, 11417, 4, 333041);
|
|
7080
|
+
},
|
|
7081
|
+
m: function mount(target, anchor) {
|
|
7082
|
+
insert_dev(target, section, anchor);
|
|
7083
|
+
append_dev(section, p);
|
|
7084
|
+
},
|
|
7085
|
+
d: function destroy(detaching) {
|
|
7086
|
+
if (detaching) detach_dev(section);
|
|
7087
|
+
}
|
|
7088
|
+
};
|
|
7089
|
+
|
|
7090
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
7091
|
+
block,
|
|
7092
|
+
id: create_if_block_1$2.name,
|
|
7093
|
+
type: "if",
|
|
7094
|
+
source: "(11417:2) {#if showConfirmSave}",
|
|
7041
7095
|
ctx
|
|
7042
7096
|
});
|
|
7043
7097
|
|
|
@@ -7048,7 +7102,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7048
7102
|
let if_block_anchor;
|
|
7049
7103
|
|
|
7050
7104
|
function select_block_type(ctx, dirty) {
|
|
7051
|
-
if (/*isLoading*/ ctx[
|
|
7105
|
+
if (/*isLoading*/ ctx[23]) return create_if_block$5;
|
|
7052
7106
|
return create_else_block$2;
|
|
7053
7107
|
}
|
|
7054
7108
|
|
|
@@ -7106,6 +7160,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7106
7160
|
let playerMobileNumber = "";
|
|
7107
7161
|
let differencesExist = false;
|
|
7108
7162
|
let selectedCountry = { name: "", code: "" };
|
|
7163
|
+
let showConfirmSave = false;
|
|
7109
7164
|
const mediaQuery = window.matchMedia("(min-width: 768px)");
|
|
7110
7165
|
|
|
7111
7166
|
// mock prefixes array
|
|
@@ -19543,17 +19598,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19543
19598
|
profileDetails = e.data.profileDetails;
|
|
19544
19599
|
|
|
19545
19600
|
// readonly field values
|
|
19546
|
-
$$invalidate(
|
|
19601
|
+
$$invalidate(22, username = profileDetails.username);
|
|
19547
19602
|
|
|
19548
|
-
$$invalidate(
|
|
19549
|
-
$$invalidate(
|
|
19550
|
-
$$invalidate(
|
|
19551
|
-
$$invalidate(
|
|
19603
|
+
$$invalidate(17, mobile = profileDetails.mobile);
|
|
19604
|
+
$$invalidate(18, email = profileDetails.email);
|
|
19605
|
+
$$invalidate(19, firstname = profileDetails.firstname);
|
|
19606
|
+
$$invalidate(21, lastname = profileDetails.lastname);
|
|
19552
19607
|
language = profileDetails.language;
|
|
19553
|
-
$$invalidate(
|
|
19554
|
-
$$invalidate(
|
|
19555
|
-
$$invalidate(
|
|
19556
|
-
$$invalidate(
|
|
19608
|
+
$$invalidate(14, birth = profileDetails.birth.day + "/" + profileDetails.birth.month + "/" + profileDetails.birth.year);
|
|
19609
|
+
$$invalidate(16, currency = profileDetails.currency);
|
|
19610
|
+
$$invalidate(20, gender = profileDetails.gender);
|
|
19611
|
+
$$invalidate(15, country = profileDetails.country);
|
|
19557
19612
|
|
|
19558
19613
|
// match country code to country name
|
|
19559
19614
|
$$invalidate(11, selectedCountry = countriesArray.find(country => country.code === profileDetails.country));
|
|
@@ -19568,7 +19623,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19568
19623
|
$$invalidate(9, playerMobileNumber = profileDetails.mobile.number);
|
|
19569
19624
|
|
|
19570
19625
|
// set values for the initial editable values object
|
|
19571
|
-
$$invalidate(
|
|
19626
|
+
$$invalidate(13, initialValuesArray = {
|
|
19572
19627
|
address: profileDetails.address1,
|
|
19573
19628
|
city: profileDetails.city,
|
|
19574
19629
|
acceptNewsEmail: profileDetails.consents.acceptNewsEmail,
|
|
@@ -19581,23 +19636,37 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19581
19636
|
});
|
|
19582
19637
|
}
|
|
19583
19638
|
break;
|
|
19584
|
-
case "
|
|
19639
|
+
case "ConfirmProfileInfoSave":
|
|
19585
19640
|
$$invalidate(10, differencesExist = false);
|
|
19641
|
+
showConfirmMessage();
|
|
19586
19642
|
break;
|
|
19587
19643
|
}
|
|
19588
19644
|
}
|
|
19589
19645
|
};
|
|
19590
19646
|
|
|
19591
|
-
const
|
|
19592
|
-
|
|
19593
|
-
|
|
19594
|
-
|
|
19595
|
-
|
|
19647
|
+
const showConfirmMessage = () => {
|
|
19648
|
+
$$invalidate(12, showConfirmSave = true);
|
|
19649
|
+
|
|
19650
|
+
setTimeout(
|
|
19651
|
+
() => {
|
|
19652
|
+
$$invalidate(12, showConfirmSave = false);
|
|
19596
19653
|
},
|
|
19597
|
-
|
|
19654
|
+
3000
|
|
19598
19655
|
);
|
|
19599
19656
|
};
|
|
19600
19657
|
|
|
19658
|
+
const updatePlayerInfo = () => {
|
|
19659
|
+
if (differencesExist == true) {
|
|
19660
|
+
window.postMessage(
|
|
19661
|
+
{
|
|
19662
|
+
type: "UpdatePlayerInfo",
|
|
19663
|
+
provisionalArray
|
|
19664
|
+
},
|
|
19665
|
+
window.location.href
|
|
19666
|
+
);
|
|
19667
|
+
}
|
|
19668
|
+
};
|
|
19669
|
+
|
|
19601
19670
|
const toggleScreen = () => {
|
|
19602
19671
|
window.postMessage({ type: "ReturnToMenu" }, window.location.href);
|
|
19603
19672
|
};
|
|
@@ -19660,7 +19729,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19660
19729
|
function select_change_handler() {
|
|
19661
19730
|
playerPrefix = select_value(this);
|
|
19662
19731
|
$$invalidate(8, playerPrefix);
|
|
19663
|
-
$$invalidate(
|
|
19732
|
+
$$invalidate(26, prefixesArray);
|
|
19664
19733
|
}
|
|
19665
19734
|
|
|
19666
19735
|
const change_handler = () => checkForChanges();
|
|
@@ -19744,6 +19813,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19744
19813
|
playerMobileNumber,
|
|
19745
19814
|
differencesExist,
|
|
19746
19815
|
selectedCountry,
|
|
19816
|
+
showConfirmSave,
|
|
19747
19817
|
mediaQuery,
|
|
19748
19818
|
prefixesArray,
|
|
19749
19819
|
countriesArray,
|
|
@@ -19767,6 +19837,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19767
19837
|
username,
|
|
19768
19838
|
consents,
|
|
19769
19839
|
messageHandler,
|
|
19840
|
+
showConfirmMessage,
|
|
19770
19841
|
updatePlayerInfo,
|
|
19771
19842
|
toggleScreen,
|
|
19772
19843
|
checkForChanges,
|
|
@@ -19775,9 +19846,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19775
19846
|
});
|
|
19776
19847
|
|
|
19777
19848
|
$$self.$inject_state = $$props => {
|
|
19778
|
-
if ("isLoading" in $$props) $$invalidate(
|
|
19849
|
+
if ("isLoading" in $$props) $$invalidate(23, isLoading = $$props.isLoading);
|
|
19779
19850
|
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
19780
|
-
if ("isMobile" in $$props) $$invalidate(
|
|
19851
|
+
if ("isMobile" in $$props) $$invalidate(24, isMobile = $$props.isMobile);
|
|
19781
19852
|
if ("noPlayerData" in $$props) $$invalidate(0, noPlayerData = $$props.noPlayerData);
|
|
19782
19853
|
if ("playerPostalCode" in $$props) $$invalidate(1, playerPostalCode = $$props.playerPostalCode);
|
|
19783
19854
|
if ("playerAddress" in $$props) $$invalidate(2, playerAddress = $$props.playerAddress);
|
|
@@ -19790,24 +19861,25 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19790
19861
|
if ("playerMobileNumber" in $$props) $$invalidate(9, playerMobileNumber = $$props.playerMobileNumber);
|
|
19791
19862
|
if ("differencesExist" in $$props) $$invalidate(10, differencesExist = $$props.differencesExist);
|
|
19792
19863
|
if ("selectedCountry" in $$props) $$invalidate(11, selectedCountry = $$props.selectedCountry);
|
|
19864
|
+
if ("showConfirmSave" in $$props) $$invalidate(12, showConfirmSave = $$props.showConfirmSave);
|
|
19793
19865
|
if ("provisionalArray" in $$props) provisionalArray = $$props.provisionalArray;
|
|
19794
|
-
if ("initialValuesArray" in $$props) $$invalidate(
|
|
19866
|
+
if ("initialValuesArray" in $$props) $$invalidate(13, initialValuesArray = $$props.initialValuesArray);
|
|
19795
19867
|
if ("profileDetails" in $$props) profileDetails = $$props.profileDetails;
|
|
19796
|
-
if ("address1" in $$props) $$invalidate(
|
|
19797
|
-
if ("birth" in $$props) $$invalidate(
|
|
19798
|
-
if ("city" in $$props) $$invalidate(
|
|
19799
|
-
if ("country" in $$props) $$invalidate(
|
|
19800
|
-
if ("currency" in $$props) $$invalidate(
|
|
19801
|
-
if ("mobile" in $$props) $$invalidate(
|
|
19802
|
-
if ("email" in $$props) $$invalidate(
|
|
19803
|
-
if ("firstname" in $$props) $$invalidate(
|
|
19804
|
-
if ("gender" in $$props) $$invalidate(
|
|
19868
|
+
if ("address1" in $$props) $$invalidate(27, address1 = $$props.address1);
|
|
19869
|
+
if ("birth" in $$props) $$invalidate(14, birth = $$props.birth);
|
|
19870
|
+
if ("city" in $$props) $$invalidate(28, city = $$props.city);
|
|
19871
|
+
if ("country" in $$props) $$invalidate(15, country = $$props.country);
|
|
19872
|
+
if ("currency" in $$props) $$invalidate(16, currency = $$props.currency);
|
|
19873
|
+
if ("mobile" in $$props) $$invalidate(17, mobile = $$props.mobile);
|
|
19874
|
+
if ("email" in $$props) $$invalidate(18, email = $$props.email);
|
|
19875
|
+
if ("firstname" in $$props) $$invalidate(19, firstname = $$props.firstname);
|
|
19876
|
+
if ("gender" in $$props) $$invalidate(20, gender = $$props.gender);
|
|
19805
19877
|
if ("language" in $$props) language = $$props.language;
|
|
19806
|
-
if ("lastname" in $$props) $$invalidate(
|
|
19807
|
-
if ("postalCode" in $$props) $$invalidate(
|
|
19808
|
-
if ("securityAnswer" in $$props) $$invalidate(
|
|
19809
|
-
if ("securityQuestion" in $$props) $$invalidate(
|
|
19810
|
-
if ("username" in $$props) $$invalidate(
|
|
19878
|
+
if ("lastname" in $$props) $$invalidate(21, lastname = $$props.lastname);
|
|
19879
|
+
if ("postalCode" in $$props) $$invalidate(29, postalCode = $$props.postalCode);
|
|
19880
|
+
if ("securityAnswer" in $$props) $$invalidate(30, securityAnswer = $$props.securityAnswer);
|
|
19881
|
+
if ("securityQuestion" in $$props) $$invalidate(31, securityQuestion = $$props.securityQuestion);
|
|
19882
|
+
if ("username" in $$props) $$invalidate(22, username = $$props.username);
|
|
19811
19883
|
if ("consents" in $$props) consents = $$props.consents;
|
|
19812
19884
|
};
|
|
19813
19885
|
|
|
@@ -19828,6 +19900,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19828
19900
|
playerMobileNumber,
|
|
19829
19901
|
differencesExist,
|
|
19830
19902
|
selectedCountry,
|
|
19903
|
+
showConfirmSave,
|
|
19831
19904
|
initialValuesArray,
|
|
19832
19905
|
birth,
|
|
19833
19906
|
country,
|
|
@@ -19876,7 +19949,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19876
19949
|
class PlayerProfileInfo extends SvelteElement {
|
|
19877
19950
|
constructor(options) {
|
|
19878
19951
|
super();
|
|
19879
|
-
this.shadowRoot.innerHTML = `<style>.PlayerInfoWrapper{color:#07072A;padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerDetailsHeader h3,.PlayerLocationHeader h3{font-size:24px;font-weight:300;text-transform:capitalize}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerInfoBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;background:transparent;border:1px solid #58586B;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox .FieldDisabled{color:#58586B}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:1fr 5fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:14px;font-weight:300;padding:10px;color:#07072A;background:transparent;border:1px solid #58586B;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:14px;font-weight:300}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:#D1D1D1;cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:#D0046C}.PlayerNotificationBox label .Checkmark{left:11px;top:7px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:2fr 1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{cursor:pointer;border-radius:5px;width:100%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#07072A;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid #58586B;cursor:not-allowed;color:#07072A;opacity:0.6}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid #58586B}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid #58586B;cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:12px}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:#fff;max-width:unset}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:#58586B}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:#07072A;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{font-size:12px;height:40px;color:#fff}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{color:#58586B}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:20px;line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsCancelButton{font-size:20px;height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:#fff}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:20px}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}</style>`;
|
|
19952
|
+
this.shadowRoot.innerHTML = `<style>.PlayerInfoWrapper{color:#07072A;padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerDetailsHeader h3,.PlayerLocationHeader h3{font-size:24px;font-weight:300;text-transform:capitalize}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerInfoBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;background:transparent;border:1px solid #58586B;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox .FieldDisabled{color:#58586B}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:1fr 5fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:14px;font-weight:300;padding:10px;color:#07072A;background:transparent;border:1px solid #58586B;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:14px;font-weight:300}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:#D1D1D1;cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:#D0046C}.PlayerNotificationBox label .Checkmark{left:11px;top:7px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:2fr 1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{cursor:pointer;border-radius:5px;width:100%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#07072A;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:#9e0352}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid #58586B;cursor:not-allowed;color:#07072A;opacity:0.6}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid #58586B}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton:active{background:#e6e6e6}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid #58586B;cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:12px}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:#fff;max-width:unset}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:#58586B}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:#07072A;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{font-size:12px;height:40px;color:#fff}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{color:#58586B}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:20px;line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsCancelButton{font-size:20px;height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:#fff}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:20px}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:#0cdc13;color:#fff;padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}</style>`;
|
|
19880
19953
|
|
|
19881
19954
|
init(
|
|
19882
19955
|
this,
|
|
@@ -22792,7 +22865,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22792
22865
|
section = element("section");
|
|
22793
22866
|
if_block.c();
|
|
22794
22867
|
attr_dev(section, "class", "PlayerAccountPage " + (/*isMobile*/ ctx[6] ? "PlayerAccountMobilePage" : ""));
|
|
22795
|
-
add_location(section, file, 236, 0,
|
|
22868
|
+
add_location(section, file, 236, 0, 8782);
|
|
22796
22869
|
},
|
|
22797
22870
|
m: function mount(target, anchor) {
|
|
22798
22871
|
insert_dev(target, section, anchor);
|
|
@@ -22826,7 +22899,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22826
22899
|
c: function create() {
|
|
22827
22900
|
div = element("div");
|
|
22828
22901
|
attr_dev(div, "class", "ModalLoader");
|
|
22829
|
-
add_location(div, file, 234, 2,
|
|
22902
|
+
add_location(div, file, 234, 2, 8742);
|
|
22830
22903
|
},
|
|
22831
22904
|
m: function mount(target, anchor) {
|
|
22832
22905
|
insert_dev(target, div, anchor);
|
|
@@ -22881,12 +22954,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22881
22954
|
player_account_notifications = element("player-account-notifications");
|
|
22882
22955
|
set_custom_element_data(player_account_menu, "endpoint", /*endpoint*/ ctx[2]);
|
|
22883
22956
|
set_custom_element_data(player_account_menu, "session", /*session*/ ctx[1]);
|
|
22884
|
-
add_location(player_account_menu, file, 258, 8,
|
|
22885
|
-
add_location(nav, file, 257, 6,
|
|
22886
|
-
add_location(main, file, 260, 6,
|
|
22957
|
+
add_location(player_account_menu, file, 258, 8, 9823);
|
|
22958
|
+
add_location(nav, file, 257, 6, 9809);
|
|
22959
|
+
add_location(main, file, 260, 6, 9907);
|
|
22887
22960
|
set_custom_element_data(player_account_notifications, "customnotif", /*customnotifications*/ ctx[0]);
|
|
22888
|
-
add_location(player_account_notifications, file, 274, 8,
|
|
22889
|
-
add_location(aside, file, 273, 6,
|
|
22961
|
+
add_location(player_account_notifications, file, 274, 8, 10569);
|
|
22962
|
+
add_location(aside, file, 273, 6, 10553);
|
|
22890
22963
|
},
|
|
22891
22964
|
m: function mount(target, anchor) {
|
|
22892
22965
|
insert_dev(target, nav, anchor);
|
|
@@ -23011,7 +23084,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23011
23084
|
const block = {
|
|
23012
23085
|
c: function create() {
|
|
23013
23086
|
player_account_closure = element("player-account-closure");
|
|
23014
|
-
add_location(player_account_closure, file, 270, 10,
|
|
23087
|
+
add_location(player_account_closure, file, 270, 10, 10469);
|
|
23015
23088
|
},
|
|
23016
23089
|
m: function mount(target, anchor) {
|
|
23017
23090
|
insert_dev(target, player_account_closure, anchor);
|
|
@@ -23039,7 +23112,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23039
23112
|
const block = {
|
|
23040
23113
|
c: function create() {
|
|
23041
23114
|
player_account_timeout = element("player-account-timeout");
|
|
23042
|
-
add_location(player_account_timeout, file, 268, 10,
|
|
23115
|
+
add_location(player_account_timeout, file, 268, 10, 10345);
|
|
23043
23116
|
},
|
|
23044
23117
|
m: function mount(target, anchor) {
|
|
23045
23118
|
insert_dev(target, player_account_timeout, anchor);
|
|
@@ -23067,7 +23140,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23067
23140
|
const block = {
|
|
23068
23141
|
c: function create() {
|
|
23069
23142
|
player_reality_check = element("player-reality-check");
|
|
23070
|
-
add_location(player_reality_check, file, 266, 10,
|
|
23143
|
+
add_location(player_reality_check, file, 266, 10, 10225);
|
|
23071
23144
|
},
|
|
23072
23145
|
m: function mount(target, anchor) {
|
|
23073
23146
|
insert_dev(target, player_reality_check, anchor);
|
|
@@ -23095,7 +23168,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23095
23168
|
const block = {
|
|
23096
23169
|
c: function create() {
|
|
23097
23170
|
player_profile_info = element("player-profile-info");
|
|
23098
|
-
add_location(player_profile_info, file, 264, 10,
|
|
23171
|
+
add_location(player_profile_info, file, 264, 10, 10107);
|
|
23099
23172
|
},
|
|
23100
23173
|
m: function mount(target, anchor) {
|
|
23101
23174
|
insert_dev(target, player_profile_info, anchor);
|
|
@@ -23123,7 +23196,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23123
23196
|
const block = {
|
|
23124
23197
|
c: function create() {
|
|
23125
23198
|
player_change_password = element("player-change-password");
|
|
23126
|
-
add_location(player_change_password, file, 262, 10,
|
|
23199
|
+
add_location(player_change_password, file, 262, 10, 9983);
|
|
23127
23200
|
},
|
|
23128
23201
|
m: function mount(target, anchor) {
|
|
23129
23202
|
insert_dev(target, player_change_password, anchor);
|
|
@@ -23151,7 +23224,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23151
23224
|
const block = {
|
|
23152
23225
|
c: function create() {
|
|
23153
23226
|
player_account_closure = element("player-account-closure");
|
|
23154
|
-
add_location(player_account_closure, file, 253, 10,
|
|
23227
|
+
add_location(player_account_closure, file, 253, 10, 9715);
|
|
23155
23228
|
},
|
|
23156
23229
|
m: function mount(target, anchor) {
|
|
23157
23230
|
insert_dev(target, player_account_closure, anchor);
|
|
@@ -23180,7 +23253,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23180
23253
|
const block = {
|
|
23181
23254
|
c: function create() {
|
|
23182
23255
|
player_account_timeout = element("player-account-timeout");
|
|
23183
|
-
add_location(player_account_timeout, file, 251, 10,
|
|
23256
|
+
add_location(player_account_timeout, file, 251, 10, 9591);
|
|
23184
23257
|
},
|
|
23185
23258
|
m: function mount(target, anchor) {
|
|
23186
23259
|
insert_dev(target, player_account_timeout, anchor);
|
|
@@ -23209,7 +23282,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23209
23282
|
const block = {
|
|
23210
23283
|
c: function create() {
|
|
23211
23284
|
player_reality_check = element("player-reality-check");
|
|
23212
|
-
add_location(player_reality_check, file, 249, 10,
|
|
23285
|
+
add_location(player_reality_check, file, 249, 10, 9471);
|
|
23213
23286
|
},
|
|
23214
23287
|
m: function mount(target, anchor) {
|
|
23215
23288
|
insert_dev(target, player_reality_check, anchor);
|
|
@@ -23238,7 +23311,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23238
23311
|
const block = {
|
|
23239
23312
|
c: function create() {
|
|
23240
23313
|
player_profile_info = element("player-profile-info");
|
|
23241
|
-
add_location(player_profile_info, file, 247, 10,
|
|
23314
|
+
add_location(player_profile_info, file, 247, 10, 9353);
|
|
23242
23315
|
},
|
|
23243
23316
|
m: function mount(target, anchor) {
|
|
23244
23317
|
insert_dev(target, player_profile_info, anchor);
|
|
@@ -23267,7 +23340,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23267
23340
|
const block = {
|
|
23268
23341
|
c: function create() {
|
|
23269
23342
|
player_change_password = element("player-change-password");
|
|
23270
|
-
add_location(player_change_password, file, 245, 10,
|
|
23343
|
+
add_location(player_change_password, file, 245, 10, 9229);
|
|
23271
23344
|
},
|
|
23272
23345
|
m: function mount(target, anchor) {
|
|
23273
23346
|
insert_dev(target, player_change_password, anchor);
|
|
@@ -23304,11 +23377,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23304
23377
|
player_account_notifications = element("player-account-notifications");
|
|
23305
23378
|
set_custom_element_data(player_account_menu, "endpoint", /*endpoint*/ ctx[2]);
|
|
23306
23379
|
set_custom_element_data(player_account_menu, "session", /*session*/ ctx[1]);
|
|
23307
|
-
add_location(player_account_menu, file, 240, 10,
|
|
23380
|
+
add_location(player_account_menu, file, 240, 10, 8960);
|
|
23308
23381
|
set_custom_element_data(player_account_notifications, "customnotif", /*customnotifications*/ ctx[0]);
|
|
23309
|
-
add_location(player_account_notifications, file, 241, 10,
|
|
23382
|
+
add_location(player_account_notifications, file, 241, 10, 9035);
|
|
23310
23383
|
attr_dev(nav, "class", "PlayerAccountMobile");
|
|
23311
|
-
add_location(nav, file, 239, 8,
|
|
23384
|
+
add_location(nav, file, 239, 8, 8916);
|
|
23312
23385
|
},
|
|
23313
23386
|
m: function mount(target, anchor) {
|
|
23314
23387
|
insert_dev(target, nav, anchor);
|
|
@@ -23465,7 +23538,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23465
23538
|
};
|
|
23466
23539
|
fetch(`${endpoint}/player/${userId}/profile`, options).then(res => {
|
|
23467
23540
|
if (res.status == 200) {
|
|
23468
|
-
window.postMessage({ type: "
|
|
23541
|
+
window.postMessage({ type: "ConfirmProfileInfoSave" }, window.location.href);
|
|
23469
23542
|
}
|
|
23470
23543
|
});
|
|
23471
23544
|
break;
|