@everymatrix/player-profile-info 0.0.123 → 0.0.124

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.
@@ -4463,7 +4463,7 @@
4463
4463
  return child_ctx;
4464
4464
  }
4465
4465
 
4466
- // (11289:0) {:else}
4466
+ // (11292:0) {:else}
4467
4467
  function create_else_block(ctx) {
4468
4468
  let form;
4469
4469
  let t0;
@@ -4732,111 +4732,111 @@
4732
4732
  t59 = space();
4733
4733
  div21 = element("div");
4734
4734
  t60 = text("Cancel");
4735
- add_location(h30, file, 11304, 4, 328067);
4735
+ add_location(h30, file, 11307, 4, 328178);
4736
4736
  attr_dev(div0, "class", "PlayerDetailsHeader");
4737
- add_location(div0, file, 11303, 2, 328029);
4738
- add_location(label0, file, 11308, 6, 328181);
4737
+ add_location(div0, file, 11306, 2, 328140);
4738
+ add_location(label0, file, 11311, 6, 328292);
4739
4739
  attr_dev(input0, "type", "text");
4740
4740
  attr_dev(input0, "class", "FieldDisabled");
4741
4741
  input0.value = /*username*/ ctx[21];
4742
4742
  input0.readOnly = true;
4743
- add_location(input0, file, 11309, 6, 328213);
4743
+ add_location(input0, file, 11312, 6, 328324);
4744
4744
  attr_dev(div1, "class", "PlayerInfoBox");
4745
- add_location(div1, file, 11307, 4, 328147);
4746
- add_location(label1, file, 11312, 6, 328332);
4745
+ add_location(div1, file, 11310, 4, 328258);
4746
+ add_location(label1, file, 11315, 6, 328443);
4747
4747
  if (/*playerPrefix*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[36].call(select));
4748
- add_location(select, file, 11314, 8, 328400);
4748
+ add_location(select, file, 11317, 8, 328511);
4749
4749
  attr_dev(input1, "type", "text");
4750
4750
  attr_dev(input1, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');");
4751
4751
  attr_dev(input1, "placeholder", input1_placeholder_value = /*noPlayerData*/ ctx[0] ? /*mobile*/ ctx[16].number : "");
4752
- add_location(input1, file, 11323, 6, 328770);
4752
+ add_location(input1, file, 11326, 6, 328881);
4753
4753
  attr_dev(div2, "class", "PlayerPhoneNumber");
4754
- add_location(div2, file, 11313, 6, 328360);
4754
+ add_location(div2, file, 11316, 6, 328471);
4755
4755
  attr_dev(div3, "class", "PlayerInfoBox");
4756
- add_location(div3, file, 11311, 4, 328298);
4757
- add_location(label2, file, 11327, 6, 329079);
4756
+ add_location(div3, file, 11314, 4, 328409);
4757
+ add_location(label2, file, 11330, 6, 329190);
4758
4758
  attr_dev(input2, "type", "email");
4759
4759
  attr_dev(input2, "class", "FieldDisabled");
4760
4760
  input2.value = /*email*/ ctx[17];
4761
4761
  input2.readOnly = true;
4762
- add_location(input2, file, 11328, 6, 329107);
4762
+ add_location(input2, file, 11331, 6, 329218);
4763
4763
  attr_dev(div4, "class", "PlayerInfoBox");
4764
- add_location(div4, file, 11326, 4, 329045);
4765
- add_location(label3, file, 11331, 6, 329224);
4764
+ add_location(div4, file, 11329, 4, 329156);
4765
+ add_location(label3, file, 11334, 6, 329335);
4766
4766
  attr_dev(input3, "type", "text");
4767
4767
 
4768
4768
  attr_dev(input3, "placeholder", input3_placeholder_value = /*noPlayerData*/ ctx[0]
4769
4769
  ? /*securityQuestion*/ ctx[30]
4770
4770
  : "");
4771
4771
 
4772
- add_location(input3, file, 11332, 6, 329264);
4772
+ add_location(input3, file, 11335, 6, 329375);
4773
4773
  attr_dev(div5, "class", "PlayerInfoBox");
4774
- add_location(div5, file, 11330, 4, 329190);
4775
- add_location(label4, file, 11335, 6, 329449);
4774
+ add_location(div5, file, 11333, 4, 329301);
4775
+ add_location(label4, file, 11338, 6, 329560);
4776
4776
  attr_dev(input4, "type", "text");
4777
4777
  attr_dev(input4, "class", "FieldDisabled");
4778
4778
  input4.value = /*firstname*/ ctx[18];
4779
4779
  input4.readOnly = true;
4780
- add_location(input4, file, 11336, 6, 329482);
4780
+ add_location(input4, file, 11339, 6, 329593);
4781
4781
  attr_dev(div6, "class", "PlayerInfoBox");
4782
- add_location(div6, file, 11334, 4, 329415);
4783
- add_location(label5, file, 11339, 6, 329602);
4782
+ add_location(div6, file, 11337, 4, 329526);
4783
+ add_location(label5, file, 11342, 6, 329713);
4784
4784
  attr_dev(input5, "type", "text");
4785
4785
 
4786
4786
  attr_dev(input5, "placeholder", input5_placeholder_value = /*noPlayerData*/ ctx[0]
4787
4787
  ? /*securityAnswer*/ ctx[29]
4788
4788
  : "");
4789
4789
 
4790
- add_location(input5, file, 11340, 6, 329640);
4790
+ add_location(input5, file, 11343, 6, 329751);
4791
4791
  attr_dev(div7, "class", "PlayerInfoBox");
4792
- add_location(div7, file, 11338, 4, 329568);
4793
- add_location(label6, file, 11343, 6, 329821);
4792
+ add_location(div7, file, 11341, 4, 329679);
4793
+ add_location(label6, file, 11346, 6, 329932);
4794
4794
  attr_dev(input6, "type", "text");
4795
4795
  attr_dev(input6, "class", "FieldDisabled");
4796
4796
  input6.value = /*lastname*/ ctx[20];
4797
4797
  input6.readOnly = true;
4798
- add_location(input6, file, 11344, 6, 329853);
4798
+ add_location(input6, file, 11347, 6, 329964);
4799
4799
  attr_dev(div8, "class", "PlayerInfoBox");
4800
- add_location(div8, file, 11342, 4, 329787);
4801
- add_location(label7, file, 11347, 6, 329972);
4800
+ add_location(div8, file, 11345, 4, 329898);
4801
+ add_location(label7, file, 11350, 6, 330083);
4802
4802
  attr_dev(input7, "type", "text");
4803
4803
  attr_dev(input7, "class", "FieldDisabled");
4804
4804
  input7.value = /*birth*/ ctx[13];
4805
4805
  input7.readOnly = true;
4806
- add_location(input7, file, 11348, 4, 330006);
4806
+ add_location(input7, file, 11351, 4, 330117);
4807
4807
  attr_dev(div9, "class", "PlayerInfoBox");
4808
- add_location(div9, file, 11346, 4, 329938);
4809
- add_location(label8, file, 11351, 6, 330122);
4808
+ add_location(div9, file, 11349, 4, 330049);
4809
+ add_location(label8, file, 11354, 6, 330233);
4810
4810
  attr_dev(input8, "type", "text");
4811
4811
  attr_dev(input8, "class", "FieldDisabled");
4812
4812
  input8.value = /*currency*/ ctx[15];
4813
4813
  input8.readOnly = true;
4814
- add_location(input8, file, 11352, 6, 330153);
4814
+ add_location(input8, file, 11355, 6, 330264);
4815
4815
  attr_dev(div10, "class", "PlayerInfoBox");
4816
- add_location(div10, file, 11350, 4, 330088);
4817
- add_location(label9, file, 11355, 6, 330272);
4816
+ add_location(div10, file, 11353, 4, 330199);
4817
+ add_location(label9, file, 11358, 6, 330383);
4818
4818
  attr_dev(input9, "type", "text");
4819
4819
  attr_dev(input9, "class", "FieldDisabled");
4820
4820
  input9.value = /*gender*/ ctx[19];
4821
4821
  input9.readOnly = true;
4822
- add_location(input9, file, 11356, 6, 330301);
4822
+ add_location(input9, file, 11359, 6, 330412);
4823
4823
  attr_dev(div11, "class", "PlayerInfoBox");
4824
- add_location(div11, file, 11354, 4, 330238);
4824
+ add_location(div11, file, 11357, 4, 330349);
4825
4825
  attr_dev(section0, "class", "PlayerDetailsContent");
4826
- add_location(section0, file, 11306, 2, 328104);
4827
- add_location(h31, file, 11361, 4, 330435);
4826
+ add_location(section0, file, 11309, 2, 328215);
4827
+ add_location(h31, file, 11364, 4, 330546);
4828
4828
  attr_dev(div12, "class", "PlayerLocationHeader");
4829
- add_location(div12, file, 11360, 2, 330396);
4830
- add_location(label10, file, 11365, 6, 330550);
4829
+ add_location(div12, file, 11363, 2, 330507);
4830
+ add_location(label10, file, 11368, 6, 330661);
4831
4831
  attr_dev(input10, "type", "text");
4832
4832
  attr_dev(input10, "class", "PlayerCountry FieldDisabled");
4833
4833
  attr_dev(input10, "placeholder", /*country*/ ctx[14]);
4834
4834
  input10.value = input10_value_value = /*selectedCountry*/ ctx[11].name;
4835
4835
  input10.readOnly = true;
4836
- add_location(input10, file, 11366, 6, 330580);
4836
+ add_location(input10, file, 11369, 6, 330691);
4837
4837
  attr_dev(div13, "class", "PlayerInfoBox");
4838
- add_location(div13, file, 11364, 4, 330516);
4839
- add_location(label11, file, 11369, 6, 330747);
4838
+ add_location(div13, file, 11367, 4, 330627);
4839
+ add_location(label11, file, 11372, 6, 330858);
4840
4840
  attr_dev(input11, "type", "text");
4841
4841
  attr_dev(input11, "placeholder", input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[27] : "");
4842
4842
 
@@ -4844,10 +4844,10 @@
4844
4844
  ? ""
4845
4845
  : /*initialValuesArray*/ ctx[12].city;
4846
4846
 
4847
- add_location(input11, file, 11370, 4, 330772);
4847
+ add_location(input11, file, 11373, 4, 330883);
4848
4848
  attr_dev(div14, "class", "PlayerInfoBox");
4849
- add_location(div14, file, 11368, 4, 330713);
4850
- add_location(label12, file, 11373, 6, 330992);
4849
+ add_location(div14, file, 11371, 4, 330824);
4850
+ add_location(label12, file, 11376, 6, 331103);
4851
4851
  attr_dev(input12, "placeholder", /*address1*/ ctx[26]);
4852
4852
  attr_dev(input12, "type", "text");
4853
4853
 
@@ -4855,10 +4855,10 @@
4855
4855
  ? ""
4856
4856
  : /*initialValuesArray*/ ctx[12].address;
4857
4857
 
4858
- add_location(input12, file, 11374, 4, 331020);
4858
+ add_location(input12, file, 11377, 4, 331131);
4859
4859
  attr_dev(div15, "class", "PlayerInfoBox");
4860
- add_location(div15, file, 11372, 4, 330958);
4861
- add_location(label13, file, 11377, 6, 331230);
4860
+ add_location(div15, file, 11375, 4, 331069);
4861
+ add_location(label13, file, 11380, 6, 331341);
4862
4862
  attr_dev(input13, "type", "number");
4863
4863
  attr_dev(input13, "placeholder", input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[28] : "");
4864
4864
 
@@ -4866,62 +4866,62 @@
4866
4866
  ? ""
4867
4867
  : /*initialValuesArray*/ ctx[12].postalCode;
4868
4868
 
4869
- add_location(input13, file, 11378, 6, 331264);
4869
+ add_location(input13, file, 11381, 6, 331375);
4870
4870
  attr_dev(div16, "class", "PlayerInfoBox");
4871
- add_location(div16, file, 11376, 4, 331196);
4871
+ add_location(div16, file, 11379, 4, 331307);
4872
4872
  attr_dev(section1, "class", "PlayerLocationContent");
4873
- add_location(section1, file, 11363, 2, 330472);
4874
- add_location(h32, file, 11383, 4, 331526);
4873
+ add_location(section1, file, 11366, 2, 330583);
4874
+ add_location(h32, file, 11386, 4, 331637);
4875
4875
  attr_dev(div17, "class", "PlayerNotificationsHeader");
4876
- add_location(div17, file, 11382, 2, 331482);
4876
+ add_location(div17, file, 11385, 2, 331593);
4877
4877
  attr_dev(input14, "type", "checkbox");
4878
4878
  attr_dev(input14, "id", "SMSNotification");
4879
4879
  attr_dev(input14, "name", "Enable SMS notifications");
4880
- add_location(input14, file, 11388, 8, 331694);
4880
+ add_location(input14, file, 11391, 8, 331805);
4881
4881
  attr_dev(span0, "class", "Checkmark");
4882
- add_location(span0, file, 11389, 8, 331840);
4883
- add_location(span1, file, 11390, 8, 331880);
4882
+ add_location(span0, file, 11392, 8, 331951);
4883
+ add_location(span1, file, 11393, 8, 331991);
4884
4884
  attr_dev(label14, "for", "SMSNotification");
4885
- add_location(label14, file, 11387, 6, 331656);
4885
+ add_location(label14, file, 11390, 6, 331767);
4886
4886
  attr_dev(div18, "class", "PlayerNotificationBox");
4887
- add_location(div18, file, 11386, 4, 331614);
4887
+ add_location(div18, file, 11389, 4, 331725);
4888
4888
  attr_dev(input15, "type", "checkbox");
4889
4889
  attr_dev(input15, "id", "EmailNotification");
4890
4890
  attr_dev(input15, "name", "Enable Emails");
4891
- add_location(input15, file, 11395, 8, 332030);
4891
+ add_location(input15, file, 11398, 8, 332141);
4892
4892
  attr_dev(span2, "class", "Checkmark");
4893
- add_location(span2, file, 11396, 8, 332168);
4894
- add_location(span3, file, 11397, 8, 332208);
4893
+ add_location(span2, file, 11399, 8, 332279);
4894
+ add_location(span3, file, 11400, 8, 332319);
4895
4895
  attr_dev(label15, "for", "EmailNotification");
4896
- add_location(label15, file, 11394, 6, 331990);
4896
+ add_location(label15, file, 11397, 6, 332101);
4897
4897
  attr_dev(div19, "class", "PlayerNotificationBox");
4898
- add_location(div19, file, 11393, 4, 331948);
4898
+ add_location(div19, file, 11396, 4, 332059);
4899
4899
  attr_dev(section2, "class", "PlayerNotificationsCheckboxArea");
4900
- add_location(section2, file, 11385, 2, 331560);
4900
+ add_location(section2, file, 11388, 2, 331671);
4901
4901
 
4902
4902
  attr_dev(div20, "class", div20_class_value = "PlayerDetailsSaveButton " + (/*differencesExist*/ ctx[10]
4903
4903
  ? ""
4904
4904
  : "PlayerButtonDisabled"));
4905
4905
 
4906
- add_location(div20, file, 11402, 4, 332374);
4906
+ add_location(div20, file, 11405, 4, 332485);
4907
4907
 
4908
4908
  attr_dev(div21, "class", div21_class_value = "PlayerDetailsCancelButton " + (/*differencesExist*/ ctx[10]
4909
4909
  ? ""
4910
4910
  : "PlayerButtonDisabled"));
4911
4911
 
4912
- add_location(div21, file, 11403, 4, 332519);
4912
+ add_location(div21, file, 11406, 4, 332630);
4913
4913
 
4914
4914
  attr_dev(section3, "class", "PlayerDetailsButtonsArea " + (/*isMobile*/ ctx[23]
4915
4915
  ? "PlayerDetailsButtonsAreaMobile"
4916
4916
  : ""));
4917
4917
 
4918
- add_location(section3, file, 11401, 2, 332276);
4918
+ add_location(section3, file, 11404, 2, 332387);
4919
4919
 
4920
4920
  attr_dev(form, "class", "PlayerInfoWrapper " + (/*isMobile*/ ctx[23] ? "PlayerInfoWrapperMobile" : "") + " " + (/*mediaQuery*/ ctx[24].matches && /*isMobile*/ ctx[23]
4921
4921
  ? "PlayerInfoWrapperTablet"
4922
4922
  : ""));
4923
4923
 
4924
- add_location(form, file, 11289, 0, 327120);
4924
+ add_location(form, file, 11292, 0, 327231);
4925
4925
  },
4926
4926
  m: function mount(target, anchor) {
4927
4927
  insert_dev(target, form, anchor);
@@ -5230,14 +5230,14 @@
5230
5230
  block,
5231
5231
  id: create_else_block.name,
5232
5232
  type: "else",
5233
- source: "(11289:0) {:else}",
5233
+ source: "(11292:0) {:else}",
5234
5234
  ctx
5235
5235
  });
5236
5236
 
5237
5237
  return block;
5238
5238
  }
5239
5239
 
5240
- // (11287:0) {#if isLoading}
5240
+ // (11290:0) {#if isLoading}
5241
5241
  function create_if_block(ctx) {
5242
5242
  let div;
5243
5243
 
@@ -5245,7 +5245,7 @@
5245
5245
  c: function create() {
5246
5246
  div = element("div");
5247
5247
  attr_dev(div, "class", "ModalLoader");
5248
- add_location(div, file, 11287, 2, 327080);
5248
+ add_location(div, file, 11290, 2, 327191);
5249
5249
  },
5250
5250
  m: function mount(target, anchor) {
5251
5251
  insert_dev(target, div, anchor);
@@ -5260,14 +5260,14 @@
5260
5260
  block,
5261
5261
  id: create_if_block.name,
5262
5262
  type: "if",
5263
- source: "(11287:0) {#if isLoading}",
5263
+ source: "(11290:0) {#if isLoading}",
5264
5264
  ctx
5265
5265
  });
5266
5266
 
5267
5267
  return block;
5268
5268
  }
5269
5269
 
5270
- // (11291:2) {#if isMobile}
5270
+ // (11294:2) {#if isMobile}
5271
5271
  function create_if_block_2(ctx) {
5272
5272
  let div;
5273
5273
  let svg;
@@ -5289,8 +5289,8 @@
5289
5289
  span.textContent = "Return to menu";
5290
5290
  attr_dev(path, "id", "Chevron_Right");
5291
5291
  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");
5292
- add_location(path, file, 11295, 10, 327639);
5293
- add_location(g, file, 11294, 8, 327625);
5292
+ add_location(path, file, 11298, 10, 327750);
5293
+ add_location(g, file, 11297, 8, 327736);
5294
5294
  attr_dev(svg, "version", "1.1");
5295
5295
  attr_dev(svg, "id", "Capa_1");
5296
5296
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -5302,10 +5302,10 @@
5302
5302
  attr_dev(svg, "xml:space", "preserve");
5303
5303
  attr_dev(svg, "width", "18px");
5304
5304
  attr_dev(svg, "fill", "#58586B");
5305
- add_location(svg, file, 11292, 6, 327353);
5306
- add_location(span, file, 11300, 6, 327980);
5305
+ add_location(svg, file, 11295, 6, 327464);
5306
+ add_location(span, file, 11303, 6, 328091);
5307
5307
  attr_dev(div, "class", "MenuReturnButton");
5308
- add_location(div, file, 11291, 4, 327284);
5308
+ add_location(div, file, 11294, 4, 327395);
5309
5309
  },
5310
5310
  m: function mount(target, anchor) {
5311
5311
  insert_dev(target, div, anchor);
@@ -5332,14 +5332,14 @@
5332
5332
  block,
5333
5333
  id: create_if_block_2.name,
5334
5334
  type: "if",
5335
- source: "(11291:2) {#if isMobile}",
5335
+ source: "(11294:2) {#if isMobile}",
5336
5336
  ctx
5337
5337
  });
5338
5338
 
5339
5339
  return block;
5340
5340
  }
5341
5341
 
5342
- // (11319:12) {:else}
5342
+ // (11322:12) {:else}
5343
5343
  function create_else_block_1(ctx) {
5344
5344
  let option;
5345
5345
  let t_value = /*pref*/ ctx[62].callingCode + "";
@@ -5351,7 +5351,7 @@
5351
5351
  t = text(t_value);
5352
5352
  option.__value = /*pref*/ ctx[62].callingCode;
5353
5353
  option.value = option.__value;
5354
- add_location(option, file, 11319, 14, 328674);
5354
+ add_location(option, file, 11322, 14, 328785);
5355
5355
  },
5356
5356
  m: function mount(target, anchor) {
5357
5357
  insert_dev(target, option, anchor);
@@ -5367,14 +5367,14 @@
5367
5367
  block,
5368
5368
  id: create_else_block_1.name,
5369
5369
  type: "else",
5370
- source: "(11319:12) {:else}",
5370
+ source: "(11322:12) {:else}",
5371
5371
  ctx
5372
5372
  });
5373
5373
 
5374
5374
  return block;
5375
5375
  }
5376
5376
 
5377
- // (11317:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}
5377
+ // (11320:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}
5378
5378
  function create_if_block_1(ctx) {
5379
5379
  let option;
5380
5380
  let t_value = /*pref*/ ctx[62].callingCode + "";
@@ -5387,7 +5387,7 @@
5387
5387
  option.selected = true;
5388
5388
  option.__value = /*pref*/ ctx[62].callingCode;
5389
5389
  option.value = option.__value;
5390
- add_location(option, file, 11317, 14, 328595);
5390
+ add_location(option, file, 11320, 14, 328706);
5391
5391
  },
5392
5392
  m: function mount(target, anchor) {
5393
5393
  insert_dev(target, option, anchor);
@@ -5403,14 +5403,14 @@
5403
5403
  block,
5404
5404
  id: create_if_block_1.name,
5405
5405
  type: "if",
5406
- source: "(11317:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}",
5406
+ source: "(11320:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}",
5407
5407
  ctx
5408
5408
  });
5409
5409
 
5410
5410
  return block;
5411
5411
  }
5412
5412
 
5413
- // (11316:10) {#each prefixesArray as pref}
5413
+ // (11319:10) {#each prefixesArray as pref}
5414
5414
  function create_each_block(ctx) {
5415
5415
  let if_block_anchor;
5416
5416
 
@@ -5454,7 +5454,7 @@
5454
5454
  block,
5455
5455
  id: create_each_block.name,
5456
5456
  type: "each",
5457
- source: "(11316:10) {#each prefixesArray as pref}",
5457
+ source: "(11319:10) {#each prefixesArray as pref}",
5458
5458
  ctx
5459
5459
  });
5460
5460
 
@@ -17998,6 +17998,9 @@
17998
17998
  });
17999
17999
  }
18000
18000
  break;
18001
+ case "DisableProfileInfoButtons":
18002
+ $$invalidate(10, differencesExist = false);
18003
+ break;
18001
18004
  }
18002
18005
  }
18003
18006
  };