@everymatrix/player-profile-info 0.0.166 → 0.0.170
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.
|
@@ -4456,11 +4456,11 @@
|
|
|
4456
4456
|
|
|
4457
4457
|
function get_each_context(ctx, list, i) {
|
|
4458
4458
|
const child_ctx = ctx.slice();
|
|
4459
|
-
child_ctx[
|
|
4459
|
+
child_ctx[65] = list[i];
|
|
4460
4460
|
return child_ctx;
|
|
4461
4461
|
}
|
|
4462
4462
|
|
|
4463
|
-
// (
|
|
4463
|
+
// (11308:0) {:else}
|
|
4464
4464
|
function create_else_block(ctx) {
|
|
4465
4465
|
let form;
|
|
4466
4466
|
let t0;
|
|
@@ -4582,14 +4582,10 @@
|
|
|
4582
4582
|
let t60;
|
|
4583
4583
|
let div20_class_value;
|
|
4584
4584
|
let t61;
|
|
4585
|
-
let div21;
|
|
4586
|
-
let t62;
|
|
4587
|
-
let div21_class_value;
|
|
4588
|
-
let t63;
|
|
4589
4585
|
let mounted;
|
|
4590
4586
|
let dispose;
|
|
4591
|
-
let if_block0 = /*isMobile*/ ctx[
|
|
4592
|
-
let each_value = /*prefixesArray*/ ctx[
|
|
4587
|
+
let if_block0 = /*isMobile*/ ctx[25] && create_if_block_3(ctx);
|
|
4588
|
+
let each_value = /*prefixesArray*/ ctx[27];
|
|
4593
4589
|
validate_each_argument(each_value);
|
|
4594
4590
|
let each_blocks = [];
|
|
4595
4591
|
|
|
@@ -4676,7 +4672,7 @@
|
|
|
4676
4672
|
t32 = space();
|
|
4677
4673
|
div11 = element("div");
|
|
4678
4674
|
label9 = element("label");
|
|
4679
|
-
label9.textContent = "
|
|
4675
|
+
label9.textContent = "Title:";
|
|
4680
4676
|
t34 = space();
|
|
4681
4677
|
input9 = element("input");
|
|
4682
4678
|
t35 = space();
|
|
@@ -4736,202 +4732,193 @@
|
|
|
4736
4732
|
div20 = element("div");
|
|
4737
4733
|
t60 = text("Save Changes");
|
|
4738
4734
|
t61 = space();
|
|
4739
|
-
div21 = element("div");
|
|
4740
|
-
t62 = text("Cancel");
|
|
4741
|
-
t63 = space();
|
|
4742
4735
|
if (if_block1) if_block1.c();
|
|
4743
|
-
attr_dev(h2, "class", "ProfileInfoTitle " + (/*isMobile*/ ctx[
|
|
4744
|
-
add_location(h2, file,
|
|
4745
|
-
add_location(h30, file,
|
|
4736
|
+
attr_dev(h2, "class", "ProfileInfoTitle " + (/*isMobile*/ ctx[25] ? "ProfileInfoTitleNone" : ""));
|
|
4737
|
+
add_location(h2, file, 11321, 2, 328316);
|
|
4738
|
+
add_location(h30, file, 11324, 4, 328451);
|
|
4746
4739
|
attr_dev(div0, "class", "PlayerNotificationsHeader");
|
|
4747
|
-
add_location(div0, file,
|
|
4748
|
-
add_location(label0, file,
|
|
4740
|
+
add_location(div0, file, 11323, 2, 328407);
|
|
4741
|
+
add_location(label0, file, 11328, 6, 328565);
|
|
4749
4742
|
attr_dev(input0, "type", "text");
|
|
4750
4743
|
attr_dev(input0, "class", "FieldDisabled");
|
|
4751
4744
|
input0.value = /*username*/ ctx[22];
|
|
4752
4745
|
input0.readOnly = true;
|
|
4753
|
-
add_location(input0, file,
|
|
4746
|
+
add_location(input0, file, 11329, 6, 328597);
|
|
4754
4747
|
attr_dev(div1, "class", "PlayerInfoBox");
|
|
4755
|
-
add_location(div1, file,
|
|
4756
|
-
add_location(label1, file,
|
|
4748
|
+
add_location(div1, file, 11327, 4, 328531);
|
|
4749
|
+
add_location(label1, file, 11332, 6, 328716);
|
|
4757
4750
|
if (/*playerPrefix*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[37].call(select));
|
|
4758
|
-
add_location(select, file,
|
|
4751
|
+
add_location(select, file, 11334, 8, 328784);
|
|
4759
4752
|
attr_dev(input1, "type", "text");
|
|
4760
4753
|
attr_dev(input1, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');");
|
|
4761
4754
|
attr_dev(input1, "placeholder", input1_placeholder_value = /*noPlayerData*/ ctx[0] ? /*mobile*/ ctx[17].number : "");
|
|
4762
|
-
add_location(input1, file,
|
|
4755
|
+
add_location(input1, file, 11343, 6, 329154);
|
|
4763
4756
|
attr_dev(div2, "class", "PlayerPhoneNumber");
|
|
4764
|
-
add_location(div2, file,
|
|
4757
|
+
add_location(div2, file, 11333, 6, 328744);
|
|
4765
4758
|
attr_dev(div3, "class", "PlayerInfoBox");
|
|
4766
|
-
add_location(div3, file,
|
|
4767
|
-
add_location(label2, file,
|
|
4759
|
+
add_location(div3, file, 11331, 4, 328682);
|
|
4760
|
+
add_location(label2, file, 11347, 6, 329463);
|
|
4768
4761
|
attr_dev(input2, "type", "email");
|
|
4769
4762
|
attr_dev(input2, "class", "FieldDisabled");
|
|
4770
4763
|
input2.value = /*email*/ ctx[18];
|
|
4771
4764
|
input2.readOnly = true;
|
|
4772
|
-
add_location(input2, file,
|
|
4765
|
+
add_location(input2, file, 11348, 6, 329491);
|
|
4773
4766
|
attr_dev(div4, "class", "PlayerInfoBox");
|
|
4774
|
-
add_location(div4, file,
|
|
4775
|
-
add_location(label3, file,
|
|
4767
|
+
add_location(div4, file, 11346, 4, 329429);
|
|
4768
|
+
add_location(label3, file, 11351, 6, 329608);
|
|
4776
4769
|
attr_dev(input3, "type", "text");
|
|
4777
4770
|
|
|
4778
4771
|
attr_dev(input3, "placeholder", input3_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
4779
|
-
? /*securityQuestion*/ ctx[
|
|
4772
|
+
? /*securityQuestion*/ ctx[32]
|
|
4780
4773
|
: "");
|
|
4781
4774
|
|
|
4782
|
-
add_location(input3, file,
|
|
4775
|
+
add_location(input3, file, 11352, 6, 329648);
|
|
4783
4776
|
attr_dev(div5, "class", "PlayerInfoBox");
|
|
4784
|
-
add_location(div5, file,
|
|
4785
|
-
add_location(label4, file,
|
|
4777
|
+
add_location(div5, file, 11350, 4, 329574);
|
|
4778
|
+
add_location(label4, file, 11355, 6, 329833);
|
|
4786
4779
|
attr_dev(input4, "type", "text");
|
|
4787
4780
|
attr_dev(input4, "class", "FieldDisabled");
|
|
4788
4781
|
input4.value = /*firstname*/ ctx[19];
|
|
4789
4782
|
input4.readOnly = true;
|
|
4790
|
-
add_location(input4, file,
|
|
4783
|
+
add_location(input4, file, 11356, 6, 329866);
|
|
4791
4784
|
attr_dev(div6, "class", "PlayerInfoBox");
|
|
4792
|
-
add_location(div6, file,
|
|
4793
|
-
add_location(label5, file,
|
|
4785
|
+
add_location(div6, file, 11354, 4, 329799);
|
|
4786
|
+
add_location(label5, file, 11359, 6, 329986);
|
|
4794
4787
|
attr_dev(input5, "type", "text");
|
|
4795
4788
|
|
|
4796
4789
|
attr_dev(input5, "placeholder", input5_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
4797
|
-
? /*securityAnswer*/ ctx[
|
|
4790
|
+
? /*securityAnswer*/ ctx[31]
|
|
4798
4791
|
: "");
|
|
4799
4792
|
|
|
4800
|
-
add_location(input5, file,
|
|
4793
|
+
add_location(input5, file, 11360, 6, 330024);
|
|
4801
4794
|
attr_dev(div7, "class", "PlayerInfoBox");
|
|
4802
|
-
add_location(div7, file,
|
|
4803
|
-
add_location(label6, file,
|
|
4795
|
+
add_location(div7, file, 11358, 4, 329952);
|
|
4796
|
+
add_location(label6, file, 11363, 6, 330205);
|
|
4804
4797
|
attr_dev(input6, "type", "text");
|
|
4805
4798
|
attr_dev(input6, "class", "FieldDisabled");
|
|
4806
4799
|
input6.value = /*lastname*/ ctx[21];
|
|
4807
4800
|
input6.readOnly = true;
|
|
4808
|
-
add_location(input6, file,
|
|
4801
|
+
add_location(input6, file, 11364, 6, 330237);
|
|
4809
4802
|
attr_dev(div8, "class", "PlayerInfoBox");
|
|
4810
|
-
add_location(div8, file,
|
|
4811
|
-
add_location(label7, file,
|
|
4803
|
+
add_location(div8, file, 11362, 4, 330171);
|
|
4804
|
+
add_location(label7, file, 11367, 6, 330356);
|
|
4812
4805
|
attr_dev(input7, "type", "text");
|
|
4813
4806
|
attr_dev(input7, "class", "FieldDisabled");
|
|
4814
4807
|
input7.value = /*birth*/ ctx[14];
|
|
4815
4808
|
input7.readOnly = true;
|
|
4816
|
-
add_location(input7, file,
|
|
4809
|
+
add_location(input7, file, 11368, 4, 330390);
|
|
4817
4810
|
attr_dev(div9, "class", "PlayerInfoBox");
|
|
4818
|
-
add_location(div9, file,
|
|
4819
|
-
add_location(label8, file,
|
|
4811
|
+
add_location(div9, file, 11366, 4, 330322);
|
|
4812
|
+
add_location(label8, file, 11371, 6, 330506);
|
|
4820
4813
|
attr_dev(input8, "type", "text");
|
|
4821
4814
|
attr_dev(input8, "class", "FieldDisabled");
|
|
4822
4815
|
input8.value = /*currency*/ ctx[16];
|
|
4823
4816
|
input8.readOnly = true;
|
|
4824
|
-
add_location(input8, file,
|
|
4817
|
+
add_location(input8, file, 11372, 6, 330537);
|
|
4825
4818
|
attr_dev(div10, "class", "PlayerInfoBox");
|
|
4826
|
-
add_location(div10, file,
|
|
4827
|
-
add_location(label9, file,
|
|
4819
|
+
add_location(div10, file, 11370, 4, 330472);
|
|
4820
|
+
add_location(label9, file, 11375, 6, 330656);
|
|
4828
4821
|
attr_dev(input9, "type", "text");
|
|
4829
4822
|
attr_dev(input9, "class", "FieldDisabled");
|
|
4830
4823
|
input9.value = /*gender*/ ctx[20];
|
|
4831
4824
|
input9.readOnly = true;
|
|
4832
|
-
add_location(input9, file,
|
|
4825
|
+
add_location(input9, file, 11376, 6, 330684);
|
|
4833
4826
|
attr_dev(div11, "class", "PlayerInfoBox");
|
|
4834
|
-
add_location(div11, file,
|
|
4827
|
+
add_location(div11, file, 11374, 4, 330622);
|
|
4835
4828
|
attr_dev(section0, "class", "PlayerDetailsContent");
|
|
4836
|
-
add_location(section0, file,
|
|
4837
|
-
add_location(h31, file,
|
|
4829
|
+
add_location(section0, file, 11326, 2, 328488);
|
|
4830
|
+
add_location(h31, file, 11381, 4, 330818);
|
|
4838
4831
|
attr_dev(div12, "class", "PlayerLocationHeader");
|
|
4839
|
-
add_location(div12, file,
|
|
4840
|
-
add_location(label10, file,
|
|
4832
|
+
add_location(div12, file, 11380, 2, 330779);
|
|
4833
|
+
add_location(label10, file, 11385, 6, 330933);
|
|
4841
4834
|
attr_dev(input10, "type", "text");
|
|
4842
4835
|
attr_dev(input10, "class", "PlayerCountry FieldDisabled");
|
|
4843
4836
|
attr_dev(input10, "placeholder", /*country*/ ctx[15]);
|
|
4844
4837
|
input10.value = input10_value_value = /*selectedCountry*/ ctx[11].name;
|
|
4845
4838
|
input10.readOnly = true;
|
|
4846
|
-
add_location(input10, file,
|
|
4839
|
+
add_location(input10, file, 11386, 6, 330963);
|
|
4847
4840
|
attr_dev(div13, "class", "PlayerInfoBox");
|
|
4848
|
-
add_location(div13, file,
|
|
4849
|
-
add_location(label11, file,
|
|
4841
|
+
add_location(div13, file, 11384, 4, 330899);
|
|
4842
|
+
add_location(label11, file, 11389, 6, 331130);
|
|
4850
4843
|
attr_dev(input11, "type", "text");
|
|
4851
|
-
attr_dev(input11, "placeholder", input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[
|
|
4844
|
+
attr_dev(input11, "placeholder", input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[29] : "");
|
|
4852
4845
|
|
|
4853
4846
|
input11.value = input11_value_value = /*noPlayerData*/ ctx[0]
|
|
4854
4847
|
? ""
|
|
4855
4848
|
: /*initialValuesArray*/ ctx[13].city;
|
|
4856
4849
|
|
|
4857
|
-
add_location(input11, file,
|
|
4850
|
+
add_location(input11, file, 11390, 4, 331155);
|
|
4858
4851
|
attr_dev(div14, "class", "PlayerInfoBox");
|
|
4859
|
-
add_location(div14, file,
|
|
4860
|
-
add_location(label12, file,
|
|
4861
|
-
attr_dev(input12, "placeholder", /*address1*/ ctx[
|
|
4852
|
+
add_location(div14, file, 11388, 4, 331096);
|
|
4853
|
+
add_location(label12, file, 11393, 6, 331375);
|
|
4854
|
+
attr_dev(input12, "placeholder", /*address1*/ ctx[28]);
|
|
4862
4855
|
attr_dev(input12, "type", "text");
|
|
4863
4856
|
|
|
4864
4857
|
input12.value = input12_value_value = /*noPlayerData*/ ctx[0]
|
|
4865
4858
|
? ""
|
|
4866
4859
|
: /*initialValuesArray*/ ctx[13].address;
|
|
4867
4860
|
|
|
4868
|
-
add_location(input12, file,
|
|
4861
|
+
add_location(input12, file, 11394, 4, 331403);
|
|
4869
4862
|
attr_dev(div15, "class", "PlayerInfoBox");
|
|
4870
|
-
add_location(div15, file,
|
|
4871
|
-
add_location(label13, file,
|
|
4863
|
+
add_location(div15, file, 11392, 4, 331341);
|
|
4864
|
+
add_location(label13, file, 11397, 6, 331613);
|
|
4872
4865
|
attr_dev(input13, "type", "number");
|
|
4873
|
-
attr_dev(input13, "placeholder", input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[
|
|
4866
|
+
attr_dev(input13, "placeholder", input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[30] : "");
|
|
4874
4867
|
|
|
4875
4868
|
input13.value = input13_value_value = /*noPlayerData*/ ctx[0]
|
|
4876
4869
|
? ""
|
|
4877
4870
|
: /*initialValuesArray*/ ctx[13].postalCode;
|
|
4878
4871
|
|
|
4879
|
-
add_location(input13, file,
|
|
4872
|
+
add_location(input13, file, 11398, 6, 331647);
|
|
4880
4873
|
attr_dev(div16, "class", "PlayerInfoBox");
|
|
4881
|
-
add_location(div16, file,
|
|
4874
|
+
add_location(div16, file, 11396, 4, 331579);
|
|
4882
4875
|
attr_dev(section1, "class", "PlayerLocationContent");
|
|
4883
|
-
add_location(section1, file,
|
|
4884
|
-
add_location(h32, file,
|
|
4876
|
+
add_location(section1, file, 11383, 2, 330855);
|
|
4877
|
+
add_location(h32, file, 11403, 4, 331909);
|
|
4885
4878
|
attr_dev(div17, "class", "PlayerNotificationsHeader");
|
|
4886
|
-
add_location(div17, file,
|
|
4879
|
+
add_location(div17, file, 11402, 2, 331865);
|
|
4887
4880
|
attr_dev(input14, "type", "checkbox");
|
|
4888
4881
|
attr_dev(input14, "id", "SMSNotification");
|
|
4889
4882
|
attr_dev(input14, "name", "Enable SMS notifications");
|
|
4890
|
-
add_location(input14, file,
|
|
4883
|
+
add_location(input14, file, 11408, 8, 332077);
|
|
4891
4884
|
attr_dev(span0, "class", "Checkmark");
|
|
4892
|
-
add_location(span0, file,
|
|
4893
|
-
add_location(span1, file,
|
|
4885
|
+
add_location(span0, file, 11409, 8, 332223);
|
|
4886
|
+
add_location(span1, file, 11410, 8, 332263);
|
|
4894
4887
|
attr_dev(label14, "for", "SMSNotification");
|
|
4895
|
-
add_location(label14, file,
|
|
4888
|
+
add_location(label14, file, 11407, 6, 332039);
|
|
4896
4889
|
attr_dev(div18, "class", "PlayerNotificationBox");
|
|
4897
|
-
add_location(div18, file,
|
|
4890
|
+
add_location(div18, file, 11406, 4, 331997);
|
|
4898
4891
|
attr_dev(input15, "type", "checkbox");
|
|
4899
4892
|
attr_dev(input15, "id", "EmailNotification");
|
|
4900
4893
|
attr_dev(input15, "name", "Enable Emails");
|
|
4901
|
-
add_location(input15, file,
|
|
4894
|
+
add_location(input15, file, 11415, 8, 332413);
|
|
4902
4895
|
attr_dev(span2, "class", "Checkmark");
|
|
4903
|
-
add_location(span2, file,
|
|
4904
|
-
add_location(span3, file,
|
|
4896
|
+
add_location(span2, file, 11416, 8, 332551);
|
|
4897
|
+
add_location(span3, file, 11417, 8, 332591);
|
|
4905
4898
|
attr_dev(label15, "for", "EmailNotification");
|
|
4906
|
-
add_location(label15, file,
|
|
4899
|
+
add_location(label15, file, 11414, 6, 332373);
|
|
4907
4900
|
attr_dev(div19, "class", "PlayerNotificationBox");
|
|
4908
|
-
add_location(div19, file,
|
|
4901
|
+
add_location(div19, file, 11413, 4, 332331);
|
|
4909
4902
|
attr_dev(section2, "class", "PlayerNotificationsCheckboxArea");
|
|
4910
|
-
add_location(section2, file,
|
|
4903
|
+
add_location(section2, file, 11405, 2, 331943);
|
|
4911
4904
|
|
|
4912
|
-
attr_dev(div20, "class", div20_class_value = "PlayerDetailsSaveButton " + (/*differencesExist*/ ctx[10]
|
|
4905
|
+
attr_dev(div20, "class", div20_class_value = "PlayerDetailsSaveButton " + (/*differencesExist*/ ctx[10] && /*isValid*/ ctx[23]
|
|
4913
4906
|
? ""
|
|
4914
4907
|
: "PlayerButtonDisabled"));
|
|
4915
4908
|
|
|
4916
|
-
add_location(div20, file,
|
|
4909
|
+
add_location(div20, file, 11422, 4, 332757);
|
|
4917
4910
|
|
|
4918
|
-
attr_dev(
|
|
4919
|
-
? ""
|
|
4920
|
-
: "PlayerButtonDisabled"));
|
|
4921
|
-
|
|
4922
|
-
add_location(div21, file, 11413, 4, 332567);
|
|
4923
|
-
|
|
4924
|
-
attr_dev(section3, "class", "PlayerDetailsButtonsArea " + (/*isMobile*/ ctx[24]
|
|
4911
|
+
attr_dev(section3, "class", "PlayerDetailsButtonsArea " + (/*isMobile*/ ctx[25]
|
|
4925
4912
|
? "PlayerDetailsButtonsAreaMobile"
|
|
4926
4913
|
: ""));
|
|
4927
4914
|
|
|
4928
|
-
add_location(section3, file,
|
|
4915
|
+
add_location(section3, file, 11421, 2, 332659);
|
|
4929
4916
|
|
|
4930
|
-
attr_dev(form, "class", "PlayerInfoWrapper " + (/*isMobile*/ ctx[
|
|
4917
|
+
attr_dev(form, "class", "PlayerInfoWrapper " + (/*isMobile*/ ctx[25] ? "PlayerInfoWrapperMobile" : "") + " " + (/*mediaQuery*/ ctx[26].matches && /*isMobile*/ ctx[25]
|
|
4931
4918
|
? "PlayerInfoWrapperTablet"
|
|
4932
4919
|
: ""));
|
|
4933
4920
|
|
|
4934
|
-
add_location(form, file,
|
|
4921
|
+
add_location(form, file, 11308, 0, 327617);
|
|
4935
4922
|
},
|
|
4936
4923
|
m: function mount(target, anchor) {
|
|
4937
4924
|
insert_dev(target, form, anchor);
|
|
@@ -5058,10 +5045,7 @@
|
|
|
5058
5045
|
append_dev(form, section3);
|
|
5059
5046
|
append_dev(section3, div20);
|
|
5060
5047
|
append_dev(div20, t60);
|
|
5061
|
-
append_dev(
|
|
5062
|
-
append_dev(section3, div21);
|
|
5063
|
-
append_dev(div21, t62);
|
|
5064
|
-
append_dev(form, t63);
|
|
5048
|
+
append_dev(form, t61);
|
|
5065
5049
|
if (if_block1) if_block1.m(form, null);
|
|
5066
5050
|
|
|
5067
5051
|
if (!mounted) {
|
|
@@ -5078,25 +5062,24 @@
|
|
|
5078
5062
|
listen_dev(input12, "keyup", /*keyup_handler_4*/ ctx[48], false, false, false),
|
|
5079
5063
|
listen_dev(input13, "keyup", /*keyup_handler_5*/ ctx[50], false, false, false),
|
|
5080
5064
|
listen_dev(input14, "change", /*input14_change_handler*/ ctx[51]),
|
|
5081
|
-
listen_dev(input14, "change", /*checkForChanges*/ ctx[
|
|
5065
|
+
listen_dev(input14, "change", /*checkForChanges*/ ctx[35], false, false, false),
|
|
5082
5066
|
listen_dev(input15, "change", /*input15_change_handler*/ ctx[52]),
|
|
5083
|
-
listen_dev(input15, "change", /*checkForChanges*/ ctx[
|
|
5084
|
-
listen_dev(div20, "click", /*click_handler_1*/ ctx[53], false, false, false)
|
|
5085
|
-
listen_dev(div21, "click", /*click_handler_2*/ ctx[54], false, false, false)
|
|
5067
|
+
listen_dev(input15, "change", /*checkForChanges*/ ctx[35], false, false, false),
|
|
5068
|
+
listen_dev(div20, "click", /*click_handler_1*/ ctx[53], false, false, false)
|
|
5086
5069
|
];
|
|
5087
5070
|
|
|
5088
5071
|
mounted = true;
|
|
5089
5072
|
}
|
|
5090
5073
|
},
|
|
5091
5074
|
p: function update(ctx, dirty) {
|
|
5092
|
-
if (/*isMobile*/ ctx[
|
|
5075
|
+
if (/*isMobile*/ ctx[25]) if_block0.p(ctx, dirty);
|
|
5093
5076
|
|
|
5094
5077
|
if (dirty[0] & /*username*/ 4194304 && input0.value !== /*username*/ ctx[22]) {
|
|
5095
5078
|
prop_dev(input0, "value", /*username*/ ctx[22]);
|
|
5096
5079
|
}
|
|
5097
5080
|
|
|
5098
|
-
if (dirty[0] & /*prefixesArray, initialValuesArray*/
|
|
5099
|
-
each_value = /*prefixesArray*/ ctx[
|
|
5081
|
+
if (dirty[0] & /*prefixesArray, initialValuesArray*/ 134225920) {
|
|
5082
|
+
each_value = /*prefixesArray*/ ctx[27];
|
|
5100
5083
|
validate_each_argument(each_value);
|
|
5101
5084
|
let i;
|
|
5102
5085
|
|
|
@@ -5119,7 +5102,7 @@
|
|
|
5119
5102
|
each_blocks.length = each_value.length;
|
|
5120
5103
|
}
|
|
5121
5104
|
|
|
5122
|
-
if (dirty[0] & /*playerPrefix, prefixesArray*/
|
|
5105
|
+
if (dirty[0] & /*playerPrefix, prefixesArray*/ 134217984) {
|
|
5123
5106
|
select_option(select, /*playerPrefix*/ ctx[8]);
|
|
5124
5107
|
}
|
|
5125
5108
|
|
|
@@ -5136,7 +5119,7 @@
|
|
|
5136
5119
|
}
|
|
5137
5120
|
|
|
5138
5121
|
if (dirty[0] & /*noPlayerData*/ 1 && input3_placeholder_value !== (input3_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
5139
|
-
? /*securityQuestion*/ ctx[
|
|
5122
|
+
? /*securityQuestion*/ ctx[32]
|
|
5140
5123
|
: "")) {
|
|
5141
5124
|
attr_dev(input3, "placeholder", input3_placeholder_value);
|
|
5142
5125
|
}
|
|
@@ -5150,7 +5133,7 @@
|
|
|
5150
5133
|
}
|
|
5151
5134
|
|
|
5152
5135
|
if (dirty[0] & /*noPlayerData*/ 1 && input5_placeholder_value !== (input5_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
5153
|
-
? /*securityAnswer*/ ctx[
|
|
5136
|
+
? /*securityAnswer*/ ctx[31]
|
|
5154
5137
|
: "")) {
|
|
5155
5138
|
attr_dev(input5, "placeholder", input5_placeholder_value);
|
|
5156
5139
|
}
|
|
@@ -5183,7 +5166,7 @@
|
|
|
5183
5166
|
prop_dev(input10, "value", input10_value_value);
|
|
5184
5167
|
}
|
|
5185
5168
|
|
|
5186
|
-
if (dirty[0] & /*noPlayerData*/ 1 && input11_placeholder_value !== (input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[
|
|
5169
|
+
if (dirty[0] & /*noPlayerData*/ 1 && input11_placeholder_value !== (input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[29] : "")) {
|
|
5187
5170
|
attr_dev(input11, "placeholder", input11_placeholder_value);
|
|
5188
5171
|
}
|
|
5189
5172
|
|
|
@@ -5199,7 +5182,7 @@
|
|
|
5199
5182
|
prop_dev(input12, "value", input12_value_value);
|
|
5200
5183
|
}
|
|
5201
5184
|
|
|
5202
|
-
if (dirty[0] & /*noPlayerData*/ 1 && input13_placeholder_value !== (input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[
|
|
5185
|
+
if (dirty[0] & /*noPlayerData*/ 1 && input13_placeholder_value !== (input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[30] : "")) {
|
|
5203
5186
|
attr_dev(input13, "placeholder", input13_placeholder_value);
|
|
5204
5187
|
}
|
|
5205
5188
|
|
|
@@ -5217,18 +5200,12 @@
|
|
|
5217
5200
|
input15.checked = /*giveConsentEmail*/ ctx[5];
|
|
5218
5201
|
}
|
|
5219
5202
|
|
|
5220
|
-
if (dirty[0] & /*differencesExist*/
|
|
5203
|
+
if (dirty[0] & /*differencesExist, isValid*/ 8389632 && div20_class_value !== (div20_class_value = "PlayerDetailsSaveButton " + (/*differencesExist*/ ctx[10] && /*isValid*/ ctx[23]
|
|
5221
5204
|
? ""
|
|
5222
5205
|
: "PlayerButtonDisabled"))) {
|
|
5223
5206
|
attr_dev(div20, "class", div20_class_value);
|
|
5224
5207
|
}
|
|
5225
5208
|
|
|
5226
|
-
if (dirty[0] & /*differencesExist*/ 1024 && div21_class_value !== (div21_class_value = "PlayerDetailsCancelButton " + (/*differencesExist*/ ctx[10]
|
|
5227
|
-
? ""
|
|
5228
|
-
: "PlayerButtonDisabled"))) {
|
|
5229
|
-
attr_dev(div21, "class", div21_class_value);
|
|
5230
|
-
}
|
|
5231
|
-
|
|
5232
5209
|
if (/*showConfirmSave*/ ctx[12]) {
|
|
5233
5210
|
if (if_block1) ; else {
|
|
5234
5211
|
if_block1 = create_if_block_1(ctx);
|
|
@@ -5257,14 +5234,14 @@
|
|
|
5257
5234
|
block,
|
|
5258
5235
|
id: create_else_block.name,
|
|
5259
5236
|
type: "else",
|
|
5260
|
-
source: "(
|
|
5237
|
+
source: "(11308:0) {:else}",
|
|
5261
5238
|
ctx
|
|
5262
5239
|
});
|
|
5263
5240
|
|
|
5264
5241
|
return block;
|
|
5265
5242
|
}
|
|
5266
5243
|
|
|
5267
|
-
// (
|
|
5244
|
+
// (11306:0) {#if isLoading}
|
|
5268
5245
|
function create_if_block(ctx) {
|
|
5269
5246
|
let div;
|
|
5270
5247
|
|
|
@@ -5272,7 +5249,7 @@
|
|
|
5272
5249
|
c: function create() {
|
|
5273
5250
|
div = element("div");
|
|
5274
5251
|
attr_dev(div, "class", "ModalLoader");
|
|
5275
|
-
add_location(div, file,
|
|
5252
|
+
add_location(div, file, 11306, 2, 327577);
|
|
5276
5253
|
},
|
|
5277
5254
|
m: function mount(target, anchor) {
|
|
5278
5255
|
insert_dev(target, div, anchor);
|
|
@@ -5287,14 +5264,14 @@
|
|
|
5287
5264
|
block,
|
|
5288
5265
|
id: create_if_block.name,
|
|
5289
5266
|
type: "if",
|
|
5290
|
-
source: "(
|
|
5267
|
+
source: "(11306:0) {#if isLoading}",
|
|
5291
5268
|
ctx
|
|
5292
5269
|
});
|
|
5293
5270
|
|
|
5294
5271
|
return block;
|
|
5295
5272
|
}
|
|
5296
5273
|
|
|
5297
|
-
// (
|
|
5274
|
+
// (11311:2) {#if isMobile}
|
|
5298
5275
|
function create_if_block_3(ctx) {
|
|
5299
5276
|
let div;
|
|
5300
5277
|
let svg;
|
|
@@ -5322,25 +5299,25 @@
|
|
|
5322
5299
|
t1 = space();
|
|
5323
5300
|
h2 = element("h2");
|
|
5324
5301
|
h2.textContent = "Profile Info";
|
|
5325
|
-
add_location(style, file,
|
|
5326
|
-
add_location(defs, file,
|
|
5302
|
+
add_location(style, file, 11312, 95, 327940);
|
|
5303
|
+
add_location(defs, file, 11312, 89, 327934);
|
|
5327
5304
|
attr_dev(path, "class", "aaa");
|
|
5328
5305
|
attr_dev(path, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z");
|
|
5329
5306
|
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
5330
|
-
add_location(path, file,
|
|
5307
|
+
add_location(path, file, 11314, 10, 328069);
|
|
5331
5308
|
attr_dev(g0, "transform", "translate(20 158)");
|
|
5332
|
-
add_location(g0, file,
|
|
5309
|
+
add_location(g0, file, 11313, 8, 328025);
|
|
5333
5310
|
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
5334
|
-
add_location(g1, file,
|
|
5311
|
+
add_location(g1, file, 11312, 136, 327981);
|
|
5335
5312
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
5336
5313
|
attr_dev(svg, "width", "15");
|
|
5337
5314
|
attr_dev(svg, "height", "15");
|
|
5338
5315
|
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
5339
|
-
add_location(svg, file,
|
|
5316
|
+
add_location(svg, file, 11312, 6, 327851);
|
|
5340
5317
|
attr_dev(h2, "class", "ProfileInfoTitleMobile");
|
|
5341
|
-
add_location(h2, file,
|
|
5318
|
+
add_location(h2, file, 11317, 6, 328241);
|
|
5342
5319
|
attr_dev(div, "class", "MenuReturnButton");
|
|
5343
|
-
add_location(div, file,
|
|
5320
|
+
add_location(div, file, 11311, 4, 327782);
|
|
5344
5321
|
},
|
|
5345
5322
|
m: function mount(target, anchor) {
|
|
5346
5323
|
insert_dev(target, div, anchor);
|
|
@@ -5371,26 +5348,26 @@
|
|
|
5371
5348
|
block,
|
|
5372
5349
|
id: create_if_block_3.name,
|
|
5373
5350
|
type: "if",
|
|
5374
|
-
source: "(
|
|
5351
|
+
source: "(11311:2) {#if isMobile}",
|
|
5375
5352
|
ctx
|
|
5376
5353
|
});
|
|
5377
5354
|
|
|
5378
5355
|
return block;
|
|
5379
5356
|
}
|
|
5380
5357
|
|
|
5381
|
-
// (
|
|
5358
|
+
// (11339:12) {:else}
|
|
5382
5359
|
function create_else_block_1(ctx) {
|
|
5383
5360
|
let option;
|
|
5384
|
-
let t_value = /*pref*/ ctx[
|
|
5361
|
+
let t_value = /*pref*/ ctx[65].callingCode + "";
|
|
5385
5362
|
let t;
|
|
5386
5363
|
|
|
5387
5364
|
const block = {
|
|
5388
5365
|
c: function create() {
|
|
5389
5366
|
option = element("option");
|
|
5390
5367
|
t = text(t_value);
|
|
5391
|
-
option.__value = /*pref*/ ctx[
|
|
5368
|
+
option.__value = /*pref*/ ctx[65].callingCode;
|
|
5392
5369
|
option.value = option.__value;
|
|
5393
|
-
add_location(option, file,
|
|
5370
|
+
add_location(option, file, 11339, 14, 329058);
|
|
5394
5371
|
},
|
|
5395
5372
|
m: function mount(target, anchor) {
|
|
5396
5373
|
insert_dev(target, option, anchor);
|
|
@@ -5406,17 +5383,17 @@
|
|
|
5406
5383
|
block,
|
|
5407
5384
|
id: create_else_block_1.name,
|
|
5408
5385
|
type: "else",
|
|
5409
|
-
source: "(
|
|
5386
|
+
source: "(11339:12) {:else}",
|
|
5410
5387
|
ctx
|
|
5411
5388
|
});
|
|
5412
5389
|
|
|
5413
5390
|
return block;
|
|
5414
5391
|
}
|
|
5415
5392
|
|
|
5416
|
-
// (
|
|
5393
|
+
// (11337:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}
|
|
5417
5394
|
function create_if_block_2(ctx) {
|
|
5418
5395
|
let option;
|
|
5419
|
-
let t_value = /*pref*/ ctx[
|
|
5396
|
+
let t_value = /*pref*/ ctx[65].callingCode + "";
|
|
5420
5397
|
let t;
|
|
5421
5398
|
|
|
5422
5399
|
const block = {
|
|
@@ -5424,9 +5401,9 @@
|
|
|
5424
5401
|
option = element("option");
|
|
5425
5402
|
t = text(t_value);
|
|
5426
5403
|
option.selected = true;
|
|
5427
|
-
option.__value = /*pref*/ ctx[
|
|
5404
|
+
option.__value = /*pref*/ ctx[65].callingCode;
|
|
5428
5405
|
option.value = option.__value;
|
|
5429
|
-
add_location(option, file,
|
|
5406
|
+
add_location(option, file, 11337, 14, 328979);
|
|
5430
5407
|
},
|
|
5431
5408
|
m: function mount(target, anchor) {
|
|
5432
5409
|
insert_dev(target, option, anchor);
|
|
@@ -5442,19 +5419,19 @@
|
|
|
5442
5419
|
block,
|
|
5443
5420
|
id: create_if_block_2.name,
|
|
5444
5421
|
type: "if",
|
|
5445
|
-
source: "(
|
|
5422
|
+
source: "(11337:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}",
|
|
5446
5423
|
ctx
|
|
5447
5424
|
});
|
|
5448
5425
|
|
|
5449
5426
|
return block;
|
|
5450
5427
|
}
|
|
5451
5428
|
|
|
5452
|
-
// (
|
|
5429
|
+
// (11336:10) {#each prefixesArray as pref}
|
|
5453
5430
|
function create_each_block(ctx) {
|
|
5454
5431
|
let if_block_anchor;
|
|
5455
5432
|
|
|
5456
5433
|
function select_block_type_1(ctx, dirty) {
|
|
5457
|
-
if (/*pref*/ ctx[
|
|
5434
|
+
if (/*pref*/ ctx[65].callingCode === /*initialValuesArray*/ ctx[13].mobiePrefix) return create_if_block_2;
|
|
5458
5435
|
return create_else_block_1;
|
|
5459
5436
|
}
|
|
5460
5437
|
|
|
@@ -5493,14 +5470,14 @@
|
|
|
5493
5470
|
block,
|
|
5494
5471
|
id: create_each_block.name,
|
|
5495
5472
|
type: "each",
|
|
5496
|
-
source: "(
|
|
5473
|
+
source: "(11336:10) {#each prefixesArray as pref}",
|
|
5497
5474
|
ctx
|
|
5498
5475
|
});
|
|
5499
5476
|
|
|
5500
5477
|
return block;
|
|
5501
5478
|
}
|
|
5502
5479
|
|
|
5503
|
-
// (
|
|
5480
|
+
// (11425:2) {#if showConfirmSave}
|
|
5504
5481
|
function create_if_block_1(ctx) {
|
|
5505
5482
|
let section;
|
|
5506
5483
|
let p;
|
|
@@ -5511,9 +5488,9 @@
|
|
|
5511
5488
|
p = element("p");
|
|
5512
5489
|
p.textContent = "Your changes have been saved!";
|
|
5513
5490
|
attr_dev(p, "class", "PlayerDetailsConfirmSaveText");
|
|
5514
|
-
add_location(p, file,
|
|
5491
|
+
add_location(p, file, 11426, 6, 333000);
|
|
5515
5492
|
attr_dev(section, "class", "PlayerDetailsConfirmSave");
|
|
5516
|
-
add_location(section, file,
|
|
5493
|
+
add_location(section, file, 11425, 4, 332951);
|
|
5517
5494
|
},
|
|
5518
5495
|
m: function mount(target, anchor) {
|
|
5519
5496
|
insert_dev(target, section, anchor);
|
|
@@ -5528,7 +5505,7 @@
|
|
|
5528
5505
|
block,
|
|
5529
5506
|
id: create_if_block_1.name,
|
|
5530
5507
|
type: "if",
|
|
5531
|
-
source: "(
|
|
5508
|
+
source: "(11425:2) {#if showConfirmSave}",
|
|
5532
5509
|
ctx
|
|
5533
5510
|
});
|
|
5534
5511
|
|
|
@@ -5539,7 +5516,7 @@
|
|
|
5539
5516
|
let if_block_anchor;
|
|
5540
5517
|
|
|
5541
5518
|
function select_block_type(ctx, dirty) {
|
|
5542
|
-
if (/*isLoading*/ ctx[
|
|
5519
|
+
if (/*isLoading*/ ctx[24]) return create_if_block;
|
|
5543
5520
|
return create_else_block;
|
|
5544
5521
|
}
|
|
5545
5522
|
|
|
@@ -18084,8 +18061,18 @@
|
|
|
18084
18061
|
);
|
|
18085
18062
|
};
|
|
18086
18063
|
|
|
18064
|
+
let isValid = false;
|
|
18065
|
+
|
|
18066
|
+
const checkIsValid = () => {
|
|
18067
|
+
if (playerQuestion.length <= 0 || playerAnswer.length <= 0 || !playerCity.value || !playerAddress.value || !playerPostalCode.value || playerMobileNumber.length <= 0) {
|
|
18068
|
+
$$invalidate(23, isValid = false);
|
|
18069
|
+
} else {
|
|
18070
|
+
$$invalidate(23, isValid = true);
|
|
18071
|
+
}
|
|
18072
|
+
};
|
|
18073
|
+
|
|
18087
18074
|
const updatePlayerInfo = () => {
|
|
18088
|
-
if (differencesExist == true) {
|
|
18075
|
+
if (differencesExist == true && isValid == true) {
|
|
18089
18076
|
window.postMessage(
|
|
18090
18077
|
{
|
|
18091
18078
|
type: "UpdatePlayerInfo",
|
|
@@ -18114,6 +18101,7 @@
|
|
|
18114
18101
|
};
|
|
18115
18102
|
|
|
18116
18103
|
checkEquality(provisionalArray, initialValuesArray);
|
|
18104
|
+
checkIsValid();
|
|
18117
18105
|
};
|
|
18118
18106
|
|
|
18119
18107
|
const resetPlayerInfo = () => {
|
|
@@ -18158,7 +18146,7 @@
|
|
|
18158
18146
|
function select_change_handler() {
|
|
18159
18147
|
playerPrefix = select_value(this);
|
|
18160
18148
|
$$invalidate(8, playerPrefix);
|
|
18161
|
-
$$invalidate(
|
|
18149
|
+
$$invalidate(27, prefixesArray);
|
|
18162
18150
|
}
|
|
18163
18151
|
|
|
18164
18152
|
const change_handler = () => checkForChanges();
|
|
@@ -18222,7 +18210,6 @@
|
|
|
18222
18210
|
}
|
|
18223
18211
|
|
|
18224
18212
|
const click_handler_1 = () => updatePlayerInfo();
|
|
18225
|
-
const click_handler_2 = () => resetPlayerInfo();
|
|
18226
18213
|
|
|
18227
18214
|
$$self.$capture_state = () => ({
|
|
18228
18215
|
onMount,
|
|
@@ -18267,6 +18254,8 @@
|
|
|
18267
18254
|
consents,
|
|
18268
18255
|
messageHandler,
|
|
18269
18256
|
showConfirmMessage,
|
|
18257
|
+
isValid,
|
|
18258
|
+
checkIsValid,
|
|
18270
18259
|
updatePlayerInfo,
|
|
18271
18260
|
toggleScreen,
|
|
18272
18261
|
checkForChanges,
|
|
@@ -18275,9 +18264,9 @@
|
|
|
18275
18264
|
});
|
|
18276
18265
|
|
|
18277
18266
|
$$self.$inject_state = $$props => {
|
|
18278
|
-
if ("isLoading" in $$props) $$invalidate(
|
|
18267
|
+
if ("isLoading" in $$props) $$invalidate(24, isLoading = $$props.isLoading);
|
|
18279
18268
|
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
|
18280
|
-
if ("isMobile" in $$props) $$invalidate(
|
|
18269
|
+
if ("isMobile" in $$props) $$invalidate(25, isMobile = $$props.isMobile);
|
|
18281
18270
|
if ("noPlayerData" in $$props) $$invalidate(0, noPlayerData = $$props.noPlayerData);
|
|
18282
18271
|
if ("playerPostalCode" in $$props) $$invalidate(1, playerPostalCode = $$props.playerPostalCode);
|
|
18283
18272
|
if ("playerAddress" in $$props) $$invalidate(2, playerAddress = $$props.playerAddress);
|
|
@@ -18294,9 +18283,9 @@
|
|
|
18294
18283
|
if ("provisionalArray" in $$props) provisionalArray = $$props.provisionalArray;
|
|
18295
18284
|
if ("initialValuesArray" in $$props) $$invalidate(13, initialValuesArray = $$props.initialValuesArray);
|
|
18296
18285
|
if ("profileDetails" in $$props) profileDetails = $$props.profileDetails;
|
|
18297
|
-
if ("address1" in $$props) $$invalidate(
|
|
18286
|
+
if ("address1" in $$props) $$invalidate(28, address1 = $$props.address1);
|
|
18298
18287
|
if ("birth" in $$props) $$invalidate(14, birth = $$props.birth);
|
|
18299
|
-
if ("city" in $$props) $$invalidate(
|
|
18288
|
+
if ("city" in $$props) $$invalidate(29, city = $$props.city);
|
|
18300
18289
|
if ("country" in $$props) $$invalidate(15, country = $$props.country);
|
|
18301
18290
|
if ("currency" in $$props) $$invalidate(16, currency = $$props.currency);
|
|
18302
18291
|
if ("mobile" in $$props) $$invalidate(17, mobile = $$props.mobile);
|
|
@@ -18305,11 +18294,12 @@
|
|
|
18305
18294
|
if ("gender" in $$props) $$invalidate(20, gender = $$props.gender);
|
|
18306
18295
|
if ("language" in $$props) language = $$props.language;
|
|
18307
18296
|
if ("lastname" in $$props) $$invalidate(21, lastname = $$props.lastname);
|
|
18308
|
-
if ("postalCode" in $$props) $$invalidate(
|
|
18309
|
-
if ("securityAnswer" in $$props) $$invalidate(
|
|
18310
|
-
if ("securityQuestion" in $$props) $$invalidate(
|
|
18297
|
+
if ("postalCode" in $$props) $$invalidate(30, postalCode = $$props.postalCode);
|
|
18298
|
+
if ("securityAnswer" in $$props) $$invalidate(31, securityAnswer = $$props.securityAnswer);
|
|
18299
|
+
if ("securityQuestion" in $$props) $$invalidate(32, securityQuestion = $$props.securityQuestion);
|
|
18311
18300
|
if ("username" in $$props) $$invalidate(22, username = $$props.username);
|
|
18312
18301
|
if ("consents" in $$props) consents = $$props.consents;
|
|
18302
|
+
if ("isValid" in $$props) $$invalidate(23, isValid = $$props.isValid);
|
|
18313
18303
|
};
|
|
18314
18304
|
|
|
18315
18305
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -18340,6 +18330,7 @@
|
|
|
18340
18330
|
gender,
|
|
18341
18331
|
lastname,
|
|
18342
18332
|
username,
|
|
18333
|
+
isValid,
|
|
18343
18334
|
isLoading,
|
|
18344
18335
|
isMobile,
|
|
18345
18336
|
mediaQuery,
|
|
@@ -18352,7 +18343,6 @@
|
|
|
18352
18343
|
updatePlayerInfo,
|
|
18353
18344
|
toggleScreen,
|
|
18354
18345
|
checkForChanges,
|
|
18355
|
-
resetPlayerInfo,
|
|
18356
18346
|
click_handler,
|
|
18357
18347
|
select_change_handler,
|
|
18358
18348
|
change_handler,
|
|
@@ -18370,15 +18360,14 @@
|
|
|
18370
18360
|
keyup_handler_5,
|
|
18371
18361
|
input14_change_handler,
|
|
18372
18362
|
input15_change_handler,
|
|
18373
|
-
click_handler_1
|
|
18374
|
-
click_handler_2
|
|
18363
|
+
click_handler_1
|
|
18375
18364
|
];
|
|
18376
18365
|
}
|
|
18377
18366
|
|
|
18378
18367
|
class PlayerProfileInfo extends SvelteElement {
|
|
18379
18368
|
constructor(options) {
|
|
18380
18369
|
super();
|
|
18381
|
-
this.shadowRoot.innerHTML = `<style>.ProfileInfoTitle{font-size:26px;color:#D0046C;font-weight:400}.ProfileInfoTitleMobile{font-size:16px;color:#D0046C}.ProfileInfoTitleNone{display:none}.PlayerInfoWrapper{color:#07072A;background:#F9F8F8;padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:16px;color:#D0046C;text-transform:capitalize;font-weight:400}.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}.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:#FFF;border:1px solid #D1D1D1;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{opacity:0.5}.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:#FFF;border:1px solid #D1D1D1;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:
|
|
18370
|
+
this.shadowRoot.innerHTML = `<style>.ProfileInfoTitle{font-size:26px;color:#D0046C;font-weight:400}.ProfileInfoTitleMobile{font-size:16px;color:#D0046C}.ProfileInfoTitleNone{display:none}.PlayerInfoWrapper{color:#07072A;background:#F9F8F8;padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:16px;color:#D0046C;text-transform:capitalize;font-weight:400}.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:10px}.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:#FFF;border:1px solid #D1D1D1;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{opacity:0.5}.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:#FFF;border:1px solid #D1D1D1;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:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{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.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton{height:40px;font-size:12px}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:#F9F8F8;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{font-size:12px;height:40px;color:#fff}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled{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{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>`;
|
|
18382
18371
|
|
|
18383
18372
|
init(
|
|
18384
18373
|
this,
|